Commit Graph

81 Commits

Author SHA1 Message Date
M. Hasbini
56c3dfb6b6 Update CMakeLists.txt 2016-07-11 03:11:18 +03:00
Geoff Lawrence
cb79aba0c2 Minor change to BUILDING.md and undid an extra wrap to CMakeLists.txt 2016-05-03 20:44:15 +01:00
Justin Clift
0d42664043 Ensure correct Debug vs Release configuration Qt5 dlls are installed 2016-05-03 02:26:22 +01:00
Justin Clift
5d98a19901 Add SQLite source & library paths for Qt Creator 3.6.1 on Windows 2016-05-01 17:14:47 +01:00
lulol
0b8c5d8c8d Added spanish translation and flag (#560)
* First spanish translation

* Added flag of Spain

* Enable build of spanish translation

* Enable build of spanish translation 2nd

* Enable build of spanish flag

* Enable build of spanish translation 3rd

* Enable build of spanish translation fix 4rd

* Enable build of spanish translation fix 5th

* Enable build of spanish translation - travis hiccup
2016-04-11 14:27:48 +01:00
Firat Eski
f33a988530 Turkish translation 2016-03-20 18:25:13 +00:00
Rene Peinthor
58c5b43ed2 lcms not needed for new nightly anymore 2016-01-04 05:46:03 +01:00
Gihun Ham
c2f78b682c Korean translation
Includes the updated CMakeList for Korean ts file
2016-01-03 14:59:13 +00:00
Peinthor Rene
7ccae1a926 prepare release 3.8.0 2015-12-23 20:05:12 +01:00
Martin Kleusberg
71b7806f03 Delay applying a changed filter value
When changing a filter value delay the application of the new value on
the table for a couple of milliseconds. This makes the filter process
much smoother for fast typing users working on large tables.

See issue #415.
2015-10-15 11:42:59 +02:00
Peter Dave Hello
9280511f84 Traditional Chinese (zh_TW) l10n 2015-10-07 18:07:58 +08:00
Martin Kleusberg
7c1d237d9b Support alternative display formats in the Browse Data tab
This is a proof-of-concept or even a basic first implementation of a new
feature I'd like to have in DB4S which at the moment I call display
formats.

The idea here is to allow the user to change the data in the Browse Data
tab on a per column basis before displaying it. This means even though
the data is stored in format X in the database it can be shown in format
Y in the browser. This should be useful in cases where the original
format X is hard to read or just not useful in a particular case.

This first implementation allows the user to right click on the header
of a column and open a new dialog for setting the display format which
offers a (limited) list of pre-defined formats. The selected format is
then integrated into the SELECT statement which is sent to SQLite.

While it works, this draft implementation lacks a number of features.
Here are the most prominent ones I'm currently aware of:
* Data not editable (or only via the Edit Dialog) because it isn't
  transformed back yet.
* More display formats needed; maybe customizable ones, too.
* No indication in the UI for which columns a format has been set.
* Could _maybe_ be integrated into the import/export etc. for optional
  use.
2015-07-06 18:28:30 +02:00
Justin Clift
7acc0c7b36 3.7.0 is built, so updating the master branch version numbers to 3.7.99 2015-06-14 18:10:29 +01:00
Peinthor Rene
3cefaf4476 prepare release 3.7.0 2015-06-14 12:13:37 +02:00
Peinthor Rene
fb9e04dfd8 win: ask for uninstall 2015-06-14 12:12:06 +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
Peinthor Rene
d99d83f269 windows installer will now also silently install the vc redist package 2015-05-23 10:31:32 +02:00
Peinthor Rene
bedb1b0fca rise package version 2015-05-23 10:31:27 +02: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
b0abd07d01 preparation to Brazilian Portuguese translation 2015-05-20 01:09:57 +03: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
274fbbbe1d cmake: simplify syntax 2015-05-12 21:41:15 +02:00
schdub
f251d11ccb fix: translations are not being installed via make install 2015-05-12 22:15:10 +03: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
Peinthor Rene
4f3855e7c8 cmake/vs2013: use winxp toolset 2015-05-05 18:47:49 +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
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
Peinthor Rene
92a8a9eec6 windows/msvc: add missing .dll to installers 2015-04-28 19:24:10 +02:00
Martin Kleusberg
cde2393539 Use QScintilla instead of own implementation of a code editor
This is a first rough implementation of QScintilla support as SQL text
editor.

It should work mostly and build fine with qmake as well as cmake. The
new code supports all the features of the old one plus adding a few
subtle improvements. The main point of this, however, is reducing the
code we have to maintain and making it easier to add new features to the
editor.
2015-04-23 19:51:54 +02:00
Justin Clift
608f56eb3c Merge pull request #251 from schdub/master
exportsql: issue #242
2015-04-12 22:48:40 +01:00
Peinthor Rene
8cbc13a106 cmake: support for msvc2013 builds and installers 2015-04-12 19:59:04 +02:00
jsbot
073cf64a9d exportsql: issue #242 2015-04-11 23:54:05 +03:00
Peinthor Rene
004d9ec4c8 cmake: remove the gen_version.h generation
to have the git hash in the dev build didn't really bring any
advantage, but make the build scripts more complicated
2015-04-10 10:25:25 +02:00
Geoff Lawrence
95416457fd Create an AppData file 2015-03-26 15:32:10 +00:00
Samir Aguiar
a5d6e6df7a preferencesdialog: Add country flag to language combo box
See issue #182.
2015-02-13 23:49:33 +01:00
Samir Aguiar
eb1a32ef24 localization: Rename Chinese translation file to match locale
This allows the file to be included in the language box
(Qt wasn't recognizing the "cn" suffix as a valid locale).
2015-01-21 23:06:02 +01:00
Peinthor Rene
7587127360 cmake: show antlr sqlite3 grammar in project 2014-11-25 22:01:14 +01:00
Martin Kleusberg
167d8cbd74 cipher: Fix build option and use a dialog for entering the password
Fix the sqlcipher build option in the qmake project to actually enable
the SQLCipher support.

Add a new dialog called CipherDialog which is used to ask the user for
the password and other encryption details instead of using standard Qt
input dialogs.
2014-11-02 13:12:31 +01:00
Martin Kleusberg
9ba36d02b2 Add initial SQLCipher support
Add some basic initial support for SQLCipher. Note that this is more of
a POC than a final implementation.

This commit adds an option called 'sqlcipher' to the cmake and qmake
projects which - when enabled - replaces the default SQLite3 include and
library files by their SQLCipher counter-parts. Especially on MacOS X
there might be some more work required in finding the correct include
paths. The SQLCipher library supports unencrypted databases, too, so
even if the option is enabled the program behaves like before. You can
see the difference, though, in the About Dialog where the SQLite version
string will say 'SQLCipher version xy'.

When the sqlcipher option is enabled and you try to open a file which is
neither a project file nor a normal SQLite3 database it is assumed now
that the file is an encypted database. There is no way to tell between
an invalid file and an encypted file, so in both cases a password dialog
pops up. When the correct password and page size are entered the file is
opened and can be edited like any other database before.

Creating encrypted databases isn't supported yet. So for testing you
need to fall back to the sqlcipher command line tool.

See issue #12.
2014-11-01 12:56:53 +01:00
Martin Kleusberg
722bf3797f i18n: Add Chinese translation to project files 2014-10-29 19:46:29 +01:00
Sandro Mani
1491a9318e Install icon to hicolor directory 2014-10-26 09:30:01 +01:00
Marius Cirsta
807c729910 install png icon and desktop file for Linux ( and other Unix ) 2014-10-03 00:13:02 +03:00
Justin Clift
05207b0b9f Renamed project to "DB Browser for SQLite" 2014-09-21 11:14:39 +01:00
Peinthor Rene
a2e704cd01 cmake: lower minimal required version a bit 2014-09-17 22:21:07 +02:00
Martin Kleusberg
847ad46424 Enable version check for MacOS X 2014-09-16 20:04:46 +02:00
Peinthor Rene
04e08cb6d1 trans: add french translation to build process 2014-09-02 18:18:34 +02:00
Peinthor Rene
b1f472fd3e Merge pull request #93 from hurzl/fbsd
Add extra path to make it compile on FreeBSD
2014-09-02 18:06:59 +02:00
Peinthor Rene
97e2025cc9 cvsparser: Newly implemented CSV Parser
Moved parser into it's own class
This parser now proper supports new lines in quoted text
and returns a QVector<QStringList> result.
2014-09-02 18:05:04 +02:00
Martin Dieringer
a385872004 Add extra path to make it compile on FreeBSD 2014-09-02 17:15:24 +02:00