Martin Kleusberg
8be2c54f51
Don't simplify table/index/... names when using them internally
...
See issue #773 .
2016-09-29 20:10:23 +02:00
Justin Clift
1180540bfa
Updated comment missed in previous commit
2016-09-29 01:17:44 +01:00
Justin Clift
90ad75071e
Add cmake and gcc-c++ CentOS build dependencies
2016-09-29 01:16:03 +01:00
Justin Clift
75e01bff0d
Added .qmake.stash to .gitignore
2016-09-28 17:02:51 +01:00
Justin Clift
f537a009a0
Add placeholder File → Remote submenu + basic Preferences options
2016-09-28 13:59:41 +01:00
Iulian Onofrei
18dccd162e
Add escape for Qt4 and leave toHtmlEscaped for Qt5
...
This would ease out Qt5 only migration by searching for `QT_VERSION < 0x050000` and removing those lines.
2016-09-27 17:42:35 +03:00
Justin Clift
482502f4f4
Replace QString::toHtmlEscaped() with Qt::escape(), for Qt4 compatibility
2016-09-27 15:25:03 +01:00
Iulian Onofrei
b005c7eef6
Add Contributors section in the README
...
- related to #787
2016-09-27 14:11:55 +03:00
Vladislav Tronko
45e17c9b49
Remove maleficent return in previous commit
2016-09-26 14:27:53 +03:00
Vladislav Tronko
11558a86b4
Implement switching tabs using Alt modifier + number
2016-09-26 14:11:59 +03:00
Vladislav Tronko
b9dd11df53
Escape HTML entities in Execute SQL output( fixes #777 )
2016-09-25 21:01:55 +03:00
Iulian Onofrei
d825af8c69
Update MainWindow.cpp
...
Fix Travis build error introduced by the last merged PR
2016-09-23 15:23:21 +03:00
Iulian Onofrei
420b98fee3
Fixed executing current SQL line not working for multiple lines SQLs ( #780 )
2016-09-23 00:17:48 +03:00
Iulian Onofrei
1257134dc6
Update sqlb_de.ts
...
Fixed SQLCipher typos
2016-09-19 12:38:18 +03:00
Bernardo Sulzbach
1a78b50026
Portuguese translation should be more consistent ( #772 )
2016-09-11 12:35:13 +01:00
Justin Clift
7deeb02889
Merge pull request #767 from justinclift/display_truncated_length_symbol
...
Indicate when display strings are being truncated
2016-09-09 10:22:00 +01:00
Iulian Onofrei
64ee665322
Made field adding easier to use
...
- the table now scroll to the bottom so the newly inserted field will be
in view
- the first column (Name) is now auto-selected for easy text update
- related to #769
2016-09-09 01:03:46 +03:00
Iulian Onofrei
55d8905b90
Fixed SQL log containing incorrect lines when executing the current line
...
- related to #768
- introduced by 649b1790
2016-09-09 00:46:29 +03:00
Iulian Onofrei
7d97688a0a
Added macOS app file to .gitignore
2016-09-08 23:12:09 +03:00
Iulian Onofrei
842aec8d5a
Fixed multiple commented out lines not being ignored
...
- fixes #766
- introduced by f37c162
2016-09-08 22:35:13 +03:00
Justin Clift
0c7605b8d8
Indicate when display strings are being truncated
...
Also reduce the minimum length to 1, just in case it's useful for
people
2016-09-08 19:03:38 +01:00
Vladislav Tronko
8783728c19
Moved inserting empty row inside model code
2016-09-06 23:01:03 +03:00
Martin Kleusberg
76402012ae
travis: Try fixing gcc build
2016-09-06 17:14:14 +02:00
Martin Kleusberg
5dddffd7a0
travis: Fix building
2016-09-06 17:07:06 +02:00
Martin Kleusberg
affacf08bd
Test adding C++11 code
2016-09-06 16:19:10 +02:00
Martin Kleusberg
c37c39a7d7
Fix Qt4 build some more
2016-09-06 15:58:59 +02:00
Martin Kleusberg
eb62528fde
Fix Qt4 build
2016-09-06 15:48:00 +02:00
Martin Kleusberg
5c17115c03
grammar: Move primary key handling over to the new system
...
This adds support for named primary keys.
It also makes it easier to store extra information in the future as
needed for ordered primary keys.
2016-09-06 15:40:16 +02:00
Martin Kleusberg
4b79f92eaa
Load the full cell data when trying to edit the cell content
...
In 11bff0ded8 a settings option was
introduced in order to limit the number of characters loaded into each
cell in the Browse Data tab.
However, when editing the cell you wouldn't see the full data, i.e.
rendering the data incomplete and/or cropping it when it's being edited
anyway. This commit fixes this behaviour: when editing a cell (either
in-line or using the edit dialog/dock) the full data for this particular
cell is loaded and shown.
2016-09-06 14:29:07 +02:00
Martin Kleusberg
ed914e0fb2
grammar: Don't drop constraint name for one-field unique constraints
2016-09-06 14:07:14 +02:00
Vladislav Tronko
2ced0ff4e9
Add Settings files to test CMakeLists.txt
2016-09-04 00:13:22 +03:00
Vladislav Tronko
997bab5dab
Fixing Travis build
...
Adding Settings to CMakeLists and missing header in Settings.cpp
2016-09-03 23:09:35 +03:00
Vladislav Tronko
3a06395f88
Divide PreferencesDialog in two classes
...
This forces PreferencesDialog to serve only for UI needs.
Plus, this opens the door for adding another class for shortcut
management without pain.
2016-09-03 22:30:55 +03:00
Vladislav Tronko
11bff0ded8
Add cell symbol limit preference
2016-09-03 21:09:26 +03:00
Justin Clift
b56a26ccf9
Updated the .app name for the OSX build steps
2016-09-02 16:43:06 +01:00
Justin Clift
2957974974
Rename main CMake project name variable back to "sqlitebrowser".
...
Builds are breaking on *nix systems otherwise. eg #755 #758
2016-08-31 11:19:17 +01:00
Martin Kleusberg
e7b12332f7
Fix bug introduced in 684958b29c
...
This would stop the db schema from being reloaded when it actually
should be.
Also simplify code.
2016-08-30 20:01:51 +02:00
Martin Kleusberg
684958b29c
Only reload DB schema when necessary
...
We used to reload the database schema whenever it might have been
changed and the latest version was required. For example: when the user
switches to the Structure tab we need the current schema; so we just
reloaded it to be safe - it might have been changed in the Execute SQL
tab or wherever.
With this commit we don't reload the database schema anymore when an
up-to-date version is needed but instead when it was changed by the
application. So in the example above it's not reloaded at all anymore.
Only if and when the user would execute some structure changing SQL it
would be reloaded.
Benefits:
- Better performance
- State of the structure tree view isn't lost as frequently
- Structure tree view gets updated when changing the structure in the
Execute SQL tab
Downsides:
- Less error proof (testing!)
- No 'automatic' updates when the db is changed by an external
application.
Any suggestions welcome!
2016-08-30 00:29:50 +02:00
Justin Clift
8a9130883b
Update installer variables on Windows, update Qt5 path
...
This should update the master branch to use "DB Browser
for SQLite" naming, and fix the problem with the
uninstaller not showing up in Add/Remove programs on
Windows (issue #742 )
2016-08-29 15:43:20 +01:00
Martin Kleusberg
e12e043f54
cipher: Fix min/max page size values in the cipher dialog
...
See issue #752 .
2016-08-29 11:11:16 +02:00
Justin Clift
c0014041d1
Use the DB4S icon for the Windows install package too
2016-08-28 18:16:48 +01:00
lulol
db07265dab
More Spanish translations for the master branch ( #751 )
2016-08-28 17:02:45 +01:00
Justin Clift
ec2d060df6
Use QFontInfo so Windows chooses a correct font
2016-08-28 15:41:18 +01:00
Vladislav Tronko
f64afff986
Check availability of font before setting up QFontComboBoxes
2016-08-28 16:17:56 +03:00
Vladislav Tronko
c7942dabb8
Specify monospace font for SQL editor correctly
...
If Monospace is not available(which happens with Monospace on Windows),
Qt's font matching algorithm tries to find another matching font
2016-08-28 14:12:20 +03:00
Vladislav Tronko
6dd2e596be
Revert "Set a default font in the SQL tab too"
...
This reverts commit 49786e1309 .
2016-08-28 14:12:20 +03:00
Justin Clift
04947c3dc4
Improve the robustness of the Preferences dialog font selection
2016-08-27 22:58:24 +01:00
Justin Clift
49786e1309
Set a default font in the SQL tab too
...
Copied from Vlad's fix yesterday
2016-08-27 20:34:10 +01:00
Justin Clift
4f70f6a7a8
Fix an old typo in a comment
2016-08-27 19:00:54 +01:00
Justin Clift
0d32d91363
Enable the /SOLID compressor option for NSIS
2016-08-27 18:57:16 +01:00