Commit Graph

859 Commits

Author SHA1 Message Date
Peinthor Rene
a2e704cd01 cmake: lower minimal required version a bit 2014-09-17 22:21:07 +02:00
Peinthor Rene
122f5372fb travis-ci: add first travis-ci.org config file 2014-09-17 22:16:27 +02:00
Martin Kleusberg
847ad46424 Enable version check for MacOS X 2014-09-16 20:04:46 +02:00
Martin Kleusberg
b2532686a9 Fix build on Qt 4 (hopefully) after 6c52ac736 2014-09-16 19:41:07 +02:00
Martin Kleusberg
75487111ba Silence some warning
Closes #102.
2014-09-16 19:20:43 +02:00
Martin Kleusberg
6c52ac7368 Add menu item to allow attaching other databases
Add a new menu option which allows attaching other databases. Doing so
by running the SQL code by yourself using the Execute SQL tab won't work
because the SQL tab creates a restorepoint and attaching databases while
being in a transaction is not allowed.

Note that this commit misses quite a few features: In case of name
conflicts the UI may break, there is no way to tell which databases have
been attached and the attached databases are not stored in the project
files.

See issue #100.
2014-09-16 19:19:00 +02:00
Justin Clift
48ea79b163 Added OSX 10.6 to supported versions 2014-09-16 06:56:01 +01:00
Justin Clift
ab3b3ff6d7 Typo fix 2014-09-15 12:17:46 +01:00
Justin Clift
81239bd265 Added link to OSX nightlies, and did some manual wrapping to 80 chars 2014-09-15 02:50:34 +01:00
Peinthor Rene
cf33f3054e sqlite: Allow opening of databases with custom collations 2014-09-13 20:43:32 +02:00
Martin Kleusberg
c7c7774031 CreateIndexDialog: Don't allow creating indices on views
Don't suggest views in the table field of the create index dialog but
only show actual tables. There is no such thing as indices for views.
2014-09-08 14:22:54 +02:00
Martin Kleusberg
c0d48604f8 Small optimisation when inserting rows 2014-09-07 12:32:16 +02:00
Peinthor Rene
be01724da8 importcsv: fix compile on clang 2014-09-05 19:59:14 +02:00
Martin Kleusberg
942b73aab0 csv: Make import a little faster
No need to update the progress window after each row. It's only really
visible for large files anyway where a single row doesn't matter that
much in terms of progress.

Also fix a compiler warning.
2014-09-05 15:00:52 +02:00
Peinthor Rene
12a85f42e1 importcsv: auto add null fields if they don't have the correct column count
Also improve the error message on import errors
2014-09-05 13:50:43 +02:00
Peinthor Rene
90b40568b6 importcsv: update preview if trim fields was toggled 2014-09-05 13:04:15 +02:00
Martin Kleusberg
572630197c Fix Table::emptyInsertStmt for NOT NULL fields with default value
See issue #97.
2014-09-04 20:50:15 +02:00
Peinthor Rene
9682d34ca7 execsql: use the correct statement length 2014-09-04 20:33:48 +02:00
Peinthor Rene
1f6fe11560 sqlitemodel: fix select statements with limit/offset using expressions 2014-09-04 19:46:11 +02:00
Peinthor Rene
dc3ca09e12 fix clang warnings 2014-09-04 19:07:12 +02:00
Peinthor Rene
9bef8a8f58 importcsv: Save last used settings and add a trim fields option 2014-09-03 08:28:30 +02:00
Peinthor Rene
04e08cb6d1 trans: add french translation to build process 2014-09-02 18:18:34 +02:00
Peinthor Rene
db74913d91 Merge pull request #92 from justinclift/french
Initial French translation from Michel VERET
2014-09-02 18:11:14 +02:00
Peinthor Rene
b2533f70bb qmake: add csvparser 2014-09-02 18:10:26 +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
Michel VERET
16caa9a42f Initial French translation 2014-09-02 13:57:23 +01:00
Justin Clift
1430033767 Updated currentrelease file to 3.3.1 2014-08-31 17:09:13 +01:00
Justin Clift
c8a73316cc Fixed incorrect date for 3.3.1 release.
Braino. :/
2014-08-31 16:43:07 +01:00
Justin Clift
9dc8e96e3c Updated README with v3.3.1 release date 2014-08-31 16:28:42 +01:00
Peinthor Rene
34e274ee3c cmake/nsis: small improvements to the windows installer 2014-08-31 16:23:17 +02:00
Martin Kleusberg
b87992c8fb Clean up the DBBrowserDB class a bit 2014-08-31 16:10:01 +02:00
Martin Kleusberg
03879d93f0 ImportCsvDialog: Allow other file encoding than UTF-8
Add a combobox and a text field for choosing a different encoding of the
input file than the default UTF-8.
2014-08-31 13:10:25 +02:00
Martin Kleusberg
cf62b78a1e Grammar: 'NOT' is not a valid column name 2014-08-31 12:30:37 +02:00
Martin Kleusberg
9b8a2e09ae Merge pull request #82 from manisandro/test_fixes
Test fixes
2014-08-31 12:19:42 +02:00
Martin Kleusberg
e27d1b9956 Merge pull request #83 from justinclift/project_rename
Renamed application to Database Browser for SQLite
2014-08-28 16:08:21 +02:00
Justin Clift
d39ba2947b Renamed application to Database Browser for SQLite
Hopefully this will reduce the misdirected support calls to Hwaci :)
2014-08-27 23:14:16 +01:00
Sandro Mani
27b6bef37d Fix bad test 2014-08-27 19:04:38 +02:00
Sandro Mani
6b4d079e6a Fix syntax issues 2014-08-27 19:04:35 +02:00
Martin Kleusberg
ba9931ac7f EditTableDialog: Add without rowid checkbox
Add a checkbox for setting the 'WITHOUT rowid' flag in the
EditTableDialog. All functionality concerning the checkbox is
implemented by this commit with one exception: Setting/unsetting the
flag on an existing table won't perform any changes yet.

See issue #51.
2014-08-27 18:50:55 +02:00
Martin Kleusberg
c7de94cb77 Make it possible to add rows to a WITHOUT rowid table
This commit allows you to add new rows to a table without rowid column.
The main problem here is that SQLite won't create the next value for the
primary key column itself, so we have to do that instead.

See issue #51.
2014-08-26 18:38:04 +02:00
Martin Kleusberg
e37df8658c Improve support for 'WITHOUT rowid' tables
This adds support for editing and deleting rows from tables without
rowid. It also fixes a check in the EditTableDialog when activating the
not null constraint as well as making some progress when it comes to
adding new rows.

Also see issue #51.
2014-08-26 17:58:33 +02:00
Martin Kleusberg
7d4248ecb4 Keep field information in sqlb::Table object rather than DBBrowserObject
Keep all the table and field information in a sqlb::Table object (which
itself is stored in DBBrowserObject) rather than storing field
information in DBBrowserObject and sqlb::Table objects at the same time.
2014-08-26 17:52:15 +02:00
Peinthor Rene
d076134513 refer to release 3.3.0 2014-08-25 08:40:32 +02:00
Justin Clift
53b39f0273 Added v3.3.0 release info to README.md 2014-08-25 01:58:24 +01:00
Justin Clift
a4c8209808 Update the internal OSX .app package number to 3.3.99 2014-08-24 18:38:00 +01:00
Peinthor Rene
63c338c359 plot: add another shortcut to plot CTRL+D
if we maybe have print support in the future,
we can assign CTRL+P to print than
2014-08-24 16:58:13 +02:00
Peinthor Rene
681b143649 dbschema: shortcut for schema pane 2014-08-24 16:50:41 +02:00
Martin Kleusberg
44ce30dacc Fix last commit
Fix missing rowid->_rowid_ in commit55678bb9450a0546835b2d86f5124e7efb0a1109
2014-08-23 12:11:48 +02:00