Commit Graph

825 Commits

Author SHA1 Message Date
Martin Kleusberg
c9b892879e Fix regular expressions when used on columns with NULL values
See issue #353.
2015-06-13 19:00:35 +02:00
Geoff Lawrence
700741af71 Added English (United Kingdom) translation
Not a huge change from the default US English but also added the flag.
This was done to document the process for the wiki!
2015-06-13 15:15:01 +01:00
schdub
e7cecd0e42 Merge pull request #351 from schdub/master
update Russian translation
2015-06-10 23:04:28 +03:00
schdub
621a31ea99 update Russian translation 2015-06-10 22:19:56 +03:00
schdub
e0a687992d exportsql: incorrect extra ); after create table 2015-06-10 17:16:09 +03:00
Bernardo Sulzbach
8a84ed5dca Brazilian Portuguese translation. 2015-05-30 12:52:14 -03:00
Peinthor Rene
4223d5d5da gen_version.h is no longer generated so rename it to version.h 2015-05-23 10:27:15 +02:00
schdub
8a4abcf9da plot: remove ssDot item from point shape option 2015-05-22 04:26:00 +03:00
Martin Kleusberg
8823cf837c Merge pull request #320 from mafagafogigante/typo-fix
Fixed a typo.
2015-05-21 00:02:55 +02:00
Bernardo Sulzbach
8153df8cb8 Reworded CSVProgress brief. 2015-05-20 14:03:59 -03:00
Bernardo Sulzbach
abc432fcd6 Fixed a few typos. 2015-05-20 10:17:52 -03:00
Peinthor Rene
97b88feaab Merge pull request #317 from schdub/issue316
plot: lineType and pointShape options
2015-05-20 09:21:06 +02:00
schdub
b0abd07d01 preparation to Brazilian Portuguese translation 2015-05-20 01:09:57 +03:00
schdub
220c5ba75b plot: lineType and pointShape options 2015-05-19 23:37:32 +03:00
Martin Kleusberg
4e36226c85 Fix Qt4 build
...again
2015-05-18 19:19:59 +02:00
Martin Kleusberg
75483d0136 Add a 'Copy Create statement' popup action to Database Browser tab
See issue #140.
2015-05-18 19:09:30 +02:00
Martin Kleusberg
55780562d5 EditTableDialog: Add '=' in fron of functions in default value
When editing an existing table with a function used inside a default
value of a field add a '=' character before the default expression
string to match our own input format for these kind of default values.

See issue #166.
2015-05-18 18:42:24 +02:00
Martin Kleusberg
a342194443 Simplify code for translation loading
Don't have two identical loops for loading languages from files and from
resources.
2015-05-18 15:44:57 +02:00
schdub
28f3fae7a9 Update Russian Translation 2015-05-15 14:56:28 +03:00
Justin Clift
7cfef559b4 Merge pull request #309 from schdub/issue305
enhancement: preserve field filters when switching tab
2015-05-15 04:30:49 +02:00
Peinthor Rene
dd333ce88c Merge pull request #310 from schdub/issue304
fix: translations are not being installed via make install
2015-05-12 21:52:20 +02:00
Peinthor Rene
9359b855a1 Merge branch 'pinotree-external-antlr' 2015-05-12 21:43:41 +02:00
schdub
f251d11ccb fix: translations are not being installed via make install 2015-05-12 22:15:10 +03:00
schdub
b5c1c7b0ab enhancement: preserve field filters when switching tab 2015-05-11 23:35:59 +03:00
Martin Kleusberg
b5796d5df7 Fix Qt4 build 2015-05-06 20:35:03 +02:00
Martin Kleusberg
2715d75f01 Add option for setting SQL editor font
See issue #299.
2015-05-06 19:54:02 +02:00
Peinthor Rene
48b73b1c27 Merge branch 'external-antlr' of git://github.com/pinotree/sqlitebrowser into pinotree-external-antlr 2015-05-05 21:16:24 +02:00
schdub
07af4b6862 Russian Translation 2015-05-05 21:47:12 +03:00
Martin Kleusberg
0fb1b3b307 Merge pull request #285 from schdub/master
sqlitetablemodel: return back 'cheap BLOB test' for data DisplayRole
2015-05-05 10:06:09 +02:00
Pino Toscano
ae08f772a2 cmake: use an external antlr2 if available
Look for an installed antlr v2, and if available use it instead of its
embedded copy.
2015-05-03 15:44:42 +02:00
Pino Toscano
8d07f120bf tests: remove DBBrowserDB usage from test-import
Apparently DBBrowserDB is not really used, so remove it and cleanup
test-import from the extra sources and dependencies needed by that.
2015-05-03 14:37:18 +02:00
Pino Toscano
27df9cfa4d tests: split sqlb-unittests
Instead of a single executable running different unit tests at the
same time, split the sqlobjects and import parts out of it.
While this currently duplicates the cmake boilerplate for each,
it allows to finetune each properly (like build only the sources for
it, in the future), and to call each separately.

Add the QTEST_MAIN in each test, and remove the manual QCoreApplication
handling in TestImport (handled by QTEST_MAIN).
2015-05-03 14:34:09 +02:00
Pino Toscano
57f2622e34 tests: merge build of tests within main build
Instead of a separate CMakeLists.txt for the tests, make them built
together with the rest of the main project. This behaviour is off
by default, and can be enabled using ENABLE_TESTING.

Furthermore, the testing facilities of cmake are now used, so ctest
(invoked by `make test`) knows about the sqlb-unittests. Thus, adapt
the Travis build steps, building the main sources and executing the
tests twice, one for sqlite and one for sqlcipher.
2015-05-03 14:29:00 +02:00
Martin Kleusberg
861ecec527 Add option to remember last location for file dialogs
Add an option to remember the location of the last opened or saved file
and use it as the default location for the next file dialog because
always going back to the default location set in the preferences dialog
can be a real hastle.

See issues #224, #276 and #281.
2015-05-03 13:22:13 +02:00
Martin Kleusberg
f21ff619f2 Remove superfluous whitespace from Schema column in DB Structure view
In the Database Structure tab and the DB Schema pane, replace any
sequence of whitespace characters by a single space character if the
one-line Schema view is enabled.

See issue #283.
2015-05-02 20:16:28 +02:00
Pino Toscano
584f5d66bb tests: fix encoding handling in TestImport
Make sure to write the temporary CSV file in the proper encoding
(i.e. the one specified by the test data), and to use that encoding
when reading back from it.
This way the test should behave correctly, no matter the current
system charset.

Furthermore, fix and extend unicode data: the current utf8chars is
actually UTF-16 data, so rename it and change its encoding as such.
Add a proper utf8chars data with UTF-8-only characters.
2015-05-02 16:31:09 +02:00
schdub
517ecec18b sqlitetablemodel: return back 'cheap BLOB test' for data DisplayRole 2015-05-01 15:10:46 +03:00
Martin Kleusberg
7e3d9cd0a3 sqltextedit: Enable UTF-8
See issue #282.
2015-05-01 13:38:17 +02:00
mp466
b40f88e970 fix release and development branch 2015-04-27 19:38:49 -05:00
mp466
357847207b fix release info in src/gen_version.h 2015-04-27 19:09:15 -05:00
Martin Kleusberg
e8328aa5a2 qmake: Enable version checking for Windows 2015-04-27 14:59:46 +02:00
Michel VERET
d6f9716cfd Update French translation 2015-04-27 11:30:58 +02:00
Martin Kleusberg
6d196c004a Support non-integer primary keys
Add support for non-integer primary keys, especially on table without
rowid column. The previous code often assumed that the rowid column or
its equivalent was a 64bit integer but SQLite allows any data, including
text, to be stored in there.

See issue #240.
2015-04-25 14:22:54 +02:00
Martin Kleusberg
d6533ba5f7 Fix Qt4 build broken in dd8dd4852d 2015-04-23 22:44:23 +02:00
Martin Kleusberg
9b2529bdf4 Remove DBBrowserDB::tableColumns() method
Remove the DBBrowserDB::tableColumns() method which queries the database
for the column names of a given table and which is used for the SQL
export only. This function isn't needed at all because it generates a
whole bunch of queries for data which is already hold in memory...
2015-04-23 22:39:05 +02:00
Martin Kleusberg
dd8dd4852d Add Browse Table popop action to Database Structure tab
In the Database Structure tab of the main window, add a new action to
the popup menu which open upon right clicking the tree view to allow
directly changing to the Browse Data tab with the current table being
selected automatically.

See issue #246.
2015-04-23 22:32:23 +02:00
Samir Aguiar
4c7703659b mainwindow: Add filter to the open file dialog
As with #230, we don't add the filter on OS X
due to Qt bugs not yet fixed.

See issue #266.
2015-04-23 20:15:11 +02:00
Martin Kleusberg
506804a74e Merge pull request #260 from sqlitebrowser/qscintilla
Use Qscintilla instead of implementing our own code editor
2015-04-23 20:10:01 +02:00
Martin Kleusberg
e714eee4c0 qscintilla: Add some missing keywords to auto completion word list 2015-04-23 19:52:07 +02:00
Martin Kleusberg
cf412a211d qscintilla: Reload settings properly after they have changed 2015-04-23 19:52:07 +02:00