Commit Graph

1481 Commits

Author SHA1 Message Date
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
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
lulol
aa2fe17fda Updated spanish translation (#723) 2016-08-10 21:35:28 +01:00
Justin Clift
b7be1344cd Merge pull request #719 from schdub/master
Updated Russian translation
2016-08-10 16:24:50 +01:00
schdub
34d7927b5d Updated Russian translation 2016-08-10 17:28:32 +03:00
Iulian Onofrei
9b8e5d32f0 Update ISSUE_TEMPLATE.md 2016-08-10 12:59:00 +03:00
Iulian Onofrei
873e203dce Update ISSUE_TEMPLATE.md
Made instructions as comments to not appear in the actual issue
2016-08-10 12:56:23 +03:00
Justin Clift
c336e8e980 Merge pull request #716 from SafaAlfulaij/arabic_translation2
Update Arabic Translation
2016-08-09 18:15:28 +01:00
safaalfulaij
35d20c6922 Update Arabic Translation 2016-08-09 20:07:09 +03:00
Justin Clift
f4b6b938ff Updated translation strings for translators to work from 2016-08-09 18:00:52 +01:00
Justin Clift
a63da56a0d Merge pull request #713 from justinclift/edit_cell_perfv1
Reimplement data handling in the Edit Cell widget
2016-08-09 15:41:10 +01:00
Justin Clift
b835ae800b Reimplement data loading and handling for the Edit Cell
This uses a somewhat different approach to the previous
one.  It now selectively stores the data into either
the text *or* hex widget buffer, and only copies the
data between them when the edit mode is changed.

Additionally, unneeded copy operations are minimised
where possible to reduce overall slowdown.:
2016-08-09 13:04:32 +01:00
Vladislav Tronko
043dee0126 Implement copy/pasting single image via clipboard 2016-08-07 18:22:32 +03:00
Vladislav Tronko
5cd65e8ef6 Implemented multiple BLOB cells copy/paste 2016-08-07 06:01:07 +03:00
Vladislav Tronko
83e9e60447 Improved copy/pasting in ExtendedTableWidget 2016-08-07 06:01:04 +03:00
Justin Clift
ced6b57bd8 Remove unnecessary blank newline in last commit. 2016-08-06 23:38:34 +01:00
Justin Clift
34a248aea8 Merge pull request #712 from justinclift/edit_mode_minor_perf_improvement
Only load cell data into the text editor when needed
2016-08-06 21:52:10 +01:00
Justin Clift
fe23d56e25 Only load cell data into the text editor when needed
This seems to speed things up dramatically when in the hex editor
mode
2016-08-06 21:36:44 +01:00
Justin Clift
e66ac3e666 Only update contents of the Edit Cell dock when its visible
This significantly speeds up keyboard navigation with large
cell data (eg images), then the Edit Cell dock is turned off
2016-08-06 15:22:27 +01:00
Justin Clift
54a17e2727 Enhance the user friendliness of the issue template 2016-08-06 13:32:28 +01:00
Vladislav Tronko
6b42af7fc6 Optimized choosing displayed text for cell 2016-08-06 05:18:01 +03:00