Justin Clift
c4c9d39570
Remove an un-needed apostrophe from the Korean translation
2016-08-19 22:14:23 +01:00
Gihun Ham
87454325b0
Updated korean translation ( #736 )
2016-08-19 22:07:46 +01:00
Martin Kleusberg
d98338ce89
Move all foreign key handling form the fields to the tables
...
Foreign keys used to be stored along with the column information even
though it's more or less a table constraint. However, as we only support
single column foreign keys it was easier to store it inside that single
column. Now with multi-column foreign keys coming, a mechanism has been
introduced to store those multi-column foreign keys in the table data.
This lead to two different storing places for foreign key information:
inside the field for one-column foreign keys and inside the table for
multi-column foreign keys. This commit deletes the foreign key storage
inside fields and changes all code to use the table storage.
2016-08-19 20:01:25 +02:00
Martin Kleusberg
57a41edbe0
Don't pretend to move columns when they aren't to be moved
...
This is purely a performance optimisation. It reduced the number of
calls to Table::setField() from three to two when the user only wants to
rename a field in EditTableDialog and not move it.
2016-08-19 19:53:10 +02:00
Justin Clift
c0fe719bd5
Remove an un-needed apostrophe from further submitted translations
2016-08-19 17:32:17 +01:00
Justin Clift
48643430a5
Add SQLCipher FAQ option in the Help menu
...
This new Help menu option only displays for SQLCipher enabled
builds. For non-SQLCipher ones, it's not shown.
Closes #734 .
2016-08-19 16:16:29 +01:00
Vladislav Tronko
fabb460abf
Remove redundant virtual keywords
2016-08-19 14:39:50 +03:00
Vladislav Tronko
345a75118a
Enable Apply button when changes are made in editor
2016-08-19 13:57:39 +03:00
Vladislav Tronko
f4590da1d8
Slight changes on editing permissions
2016-08-19 13:22:58 +03:00
Martin Kleusberg
91615f940f
Try fixing compilation with Qt4
2016-08-18 23:29:37 +02:00
Martin Kleusberg
6a4d58042c
Parse foreign keys based on multiple columns
...
See issue #558 .
2016-08-18 23:17:35 +02:00
Martin Kleusberg
beff43acfc
tests: Add test case for unique table constraints
2016-08-18 20:44:12 +02:00
Martin Kleusberg
225d3437e0
Add parsing support for UNIQUE table constraints
...
See issue #540 .
2016-08-18 20:33:39 +02:00
FriedrichFroebel
f1dbd2e8ac
Update German translation ( #733 )
2016-08-18 11:27:14 +01:00
Justin Clift
c5475de71c
Merge pull request #727 from justinclift/update_french_translation
...
Updated French translation
2016-08-18 11:12:26 +01:00
Bernardo Sulzbach
b0d6c7971c
Should have a complete Brazilian Portuguese translation ( #730 )
2016-08-17 22:30:18 +01:00
Martin Kleusberg
4d29271954
Introduce enum for main window tabs
2016-08-16 23:54:54 +02:00
Martin Kleusberg
8b0decff6e
Remove useless variable assignment
...
The variable never gets read afterwards.
2016-08-16 23:19:48 +02:00
Martin Kleusberg
bbc14d61ba
Don't set model for Browse Data view at startup
...
No nee to bother with this. It gets cleared again later during startup
anyway.
2016-08-16 22:54:16 +02:00
Martin Kleusberg
27f8b96edc
Simplify code
...
The parameter for populateTable isn't needed anymore
2016-08-16 22:51:21 +02:00
Martin Kleusberg
efd4fc4820
Bugfix
...
This fixes a bug in the foreign key handling in the Browse Data tab
which I introduced during my optimisations.
2016-08-16 22:46:28 +02:00
Martin Kleusberg
d288a41dba
Clean up code
...
Just some simplifications, nothing more.
2016-08-16 22:45:22 +02:00
Martin Kleusberg
0dab0a28a1
Don't refresh Browse Data tab if it isn't visible anyway
...
This doesn't reduce the number of populateTable calls (well, obviously)
but it reduces the cost of some of the more useless ones a lot.
2016-08-16 22:27:56 +02:00
Justin Clift
e9063235f9
Change "Execute current line" shortcut to Shift+F5.
2016-08-16 20:35:06 +01:00
Martin Kleusberg
c65c07a433
Browseable objects always are tables or views; no need to check
2016-08-15 23:22:42 +02:00
Martin Kleusberg
5d729ac4f5
No need to search views for foreign keys
...
This simplifies and optimises the foreign key check when editing a table
field a little.
2016-08-15 23:18:40 +02:00
Martin Kleusberg
014174bc26
Get rid of the resetBrowser() method
...
This hopefully helps to simplify and restructure the code. If it turns
out to make things only worse we can undo it. This *should* make no
changes for the user.
2016-08-15 23:08:32 +02:00
Martin Kleusberg
5fd3a80c0d
Remove unnecessary calls to populateTable()
...
This simplifies the code and speeds up some processes. A little bit at
least.
2016-08-15 21:59:42 +02:00
Martin Kleusberg
2799c29bbb
Don't delete and re-create the database model when closing a database
...
This simplifies the code a bit.
2016-08-15 21:27:51 +02:00
Justin Clift
c221536d4e
Add menu roles to the Menu items
...
Solves the problem with missing menu items as described here:
https://github.com/sqlitebrowser/sqlitebrowser/pull/730#issuecomment-239823489
2016-08-15 18:22:30 +01:00
Vladislav Tronko
57672f6d83
Cut off redundant expensive constructions
2016-08-15 10:32:03 +03:00
Justin Clift
8f85a94049
Removed an un-needed apostrophe from the already submitted translations.
2016-08-15 00:18:15 +01:00
Justin Clift
ff9242021a
Removed an un-needed apostrophe from a user visible string
2016-08-15 00:07:12 +01:00
Iulian Onofrei
e9084887a7
Update README.md
...
Fixed badges hyperlinks
2016-08-14 21:41:47 +03:00
Iulian Onofrei
5f080af511
Update README.md
...
Added downloads count badge
2016-08-14 21:40:36 +03:00
Martin Kleusberg
5381bff244
grammar: Fix recognising numbers in the '.x' format, i.e. omitting the 0
...
See issue #623 .
2016-08-14 17:44:55 +02:00
Martin Kleusberg
03374851f3
Fix foreign key preview for foreign keys in the first column
...
See #718 .
2016-08-14 17:11:00 +02:00
Martin Kleusberg
777088fc80
Improve code for deleting table rows
...
Actually handle the case that deleting rows might fail in the
SqliteTableModel. That's where this sort of check belongs.
This allows us to get rid of the full refresh of the table view after
deleting a row in the Browse Data tab. Thanks to @innermous for pointing
this out!
2016-08-14 16:39:37 +02:00
Justin Clift
c6121c8d64
Renamed Arabic language file for now, so flag icon shows on windows
...
(cherry picked from commit ac0b8b9a4f )
2016-08-14 15:34:47 +01:00
Michel VERET
da4f6643ef
Updated French translation
2016-08-14 08:27:16 +01:00
Justin Clift
7ddee24e80
Added "3.9.0 beta1" to the GitHub Issue Template
2016-08-14 07:24:43 +01:00
Justin Clift
47b1224bc2
Ugly workarounds :) for various small bugs in the Edit Cell
...
Fixes #726 , and also a few other small issues at the same time
2016-08-13 16:34:07 +01:00
Vladislav Tronko
dbda6871b6
Fix Travis build
2016-08-13 02:44:37 +03:00
Vladislav Tronko
ad10e8016c
Polished cell editor widget
2016-08-13 01:56:14 +03:00
Vlad
8cbd7e5f5f
Merge pull request #709 from innermous/copypaste-reimplement
...
Improved copy/pasting in ExtendedTableWidget
2016-08-12 08:45:11 +03:00
Vladislav Tronko
e607b8836a
Force contiguous selection in ExtendedTableWidget
2016-08-12 08:16:15 +03:00
Vladislav Tronko
d12fd1bf13
Implement persistent clipboard copy/paste formatting
2016-08-12 08:16:06 +03:00
Justin Clift
1b406ed64e
Added email notification settings for Travis CI
2016-08-11 19:43:23 +01:00
Justin Clift
aa29f1e4a3
Updated version number to 3.9.99
2016-08-11 19:31:39 +01:00
Justin Clift
538116c97b
Update an obsolete Qt::ItemDataRole
2016-08-11 14:02:55 +01:00