Commit Graph

126 Commits

Author SHA1 Message Date
Justin Clift 12ee94cee9 Adding our license files to the Win install list 2017-11-19 21:29:41 +00:00
mgrojo ae55de4aee Merge branch 'json_cell_edit' 2017-11-18 15:00:15 +01:00
mgrojo c832d8a58c JSON mode for cell editor
Support for JSON in the Database Cell editor using the QScintilla library.

The lexJSON has been added to the compilation.

See issue #1173
2017-11-18 14:57:36 +01:00
Justin Clift b7057bfa1f Include TIFF and WebP image formats with our Windows builds 2017-11-17 22:24:45 +00:00
Justin Clift 9016bf6dc7 Include Qt image format plugins with the Windows installers 2017-11-03 17:53:49 +00:00
Martin Kleusberg bfa2fda1ad Attempt to implement multi-threaded loading of data
This is mostly done by trial & error. Don't expect any miracles from
it.
2017-10-11 09:21:41 +02:00
Martin Kleusberg 34df190729 Silence some cmake warnings
See issues #635 and #1143.
2017-09-30 12:19:55 +02:00
Robert Nix fea164a5e1 Pass /norestart to vcredist installer
This prevents it from automatically trying to restart
the user's computer without any prompt.
2017-08-31 13:02:19 -05:00
Justin Clift cf15fbf3c5 Update version number to 3.10.99, which indicates a development version of 3.11.0 2017-08-25 10:08:25 +01:00
Justin Clift 04e64f4844 Update version numbers to 3.10.0 2017-08-18 18:35:59 +01:00
Justin Clift 95f9e740ef Update version number to 3.9.200, which we're using for 3.10.0-beta2 2017-08-13 21:00:20 +01:00
Martin Kleusberg 1c7cc24b15 dbhub: Improve push database UI
This adds a new Push Database dialog which lets you specify the database
name, the licence, a commit message, and the visibility of the database.
2017-08-12 14:58:30 +02:00
Justin Clift 0a5eef8241 Use the new Czech language, add the Czech flag 2017-07-21 17:40:22 +01:00
Justin Clift e990875bc3 Update version number to 3.9.100, which we're using for 3.10.0-beta1 2017-07-21 17:03:46 +01:00
Justin Clift a3709576f7 Move back to Qt 5.7 for now 2017-05-14 10:53:03 +01:00
Karim ElDeeb 51f3d6f5e4 Add Windows XP support 2017-05-12 16:43:52 +02:00
Martin Kleusberg 0c8cb4ec1d Revert "Move fetching data for data browsing to a separate thread"
This reverts commit 6da71b6788.

This was causing just too many problems for one. The ones I noticed
were:
- Messing up the table view when scrolling down very large table where
the prefetching code is triggered.
- Crashing when setting an auto increment PK in the Edit Table dialog
because the sqlitetablemodel is used for a check in there.
- Probably more crashed in other places but for the same reason.
- Easy to fix but an issue nonetheless: when doing plotting a number of
empty rows would be inserted into the data browser.
- It just feels a little laggy.
2017-05-05 15:08:51 +02:00
Martin Kleusberg 6da71b6788 Move fetching data for data browsing to a separate thread
This moves the data fetching code into a separate thread for
asynchronous execution. The Browse Data and the Execute SQL tabs are
affected by this.

Note that this is a somewhat naive implementation that is meant for some
first testing.
2017-05-04 18:58:38 +02:00
Justin Clift 46555bc819 Launch DB4S as user not Admin for Win installer
See #338 for details
2017-05-03 00:53:41 +01:00
Justin Clift becd385c86 Update Windows build path for Qt 5.8 2017-05-02 22:59:00 +01:00
Андрій Кондратьєв dd685afef1 Ukrainian translation 2017-04-06 19:19:44 +01:00
Martin Kleusberg 3e4f3fc3d2 dbhub: Add remote dock with directory browsing support
This adds a new dock to the main window that contains all the remote
functionality (or is supposed to contain it all in the future).

It also adds a directory browsing feature which allows you to browse
through the folders and files on the dbhub server.

By double clicking a database you can download and open it. The Open
Remote menu action isn't needed anymore and has been removed.

This also fixes an issue with pushing databases where, after sending the
file is completed, the save dialog was opened.

Note that this is still WIP and is far from polished.
2017-03-18 20:40:59 +01:00
Martin Kleusberg 85334330a5 cmake: Add options to disable usage of distribution's libraries
This adds two new options to the cmake script which, when set, force
cmake to use the version of the Antlr or QScintilla library in our
repository and not search for a system-wide version of the library.

See issue #961.
2017-02-15 22:13:35 +01:00
Martin Kleusberg c0d2e9131e Try using the system version of libscintilla2
See issue #832.
2017-01-20 18:57:20 +01:00
Martin Kleusberg 2c7f32c699 Rename Create Index dialog to Edit Index dialog
Just like the Edit Table dialog, this dialog handles both creating and
editing. For consistency's sake this dialog is therefore renamed to Edit
Index dialog.
2017-01-20 12:35:07 +01:00
Martin Kleusberg 45580865d3 Merge branch 'plotrefactoring' 2017-01-16 12:46:52 +01:00
Martin Kleusberg a6f2a7d9a0 Move plot code into a separate set of files
This cleans up the main window class a bit which was getting quite large
and a bit harder to maintain than necessary.

This commit also includes two minor fixes to the plot system:
- The plot widgets are now disabled when no database file is opened.
- The progress bar shown when fetching all data is now initialised with
the correct row numbers.

Other than that this commit should in theory not change any
functionality.
2017-01-13 18:00:39 +01:00
Vladislav Tronko 4f7473fbed Enhanced UI for creating and editing foreign keys 2017-01-13 12:59:31 +02:00
Martin Kleusberg 02019e391b Fix cmake build
Also simplify the cmake file for the unit tests.
2016-11-01 20:31:43 +01:00
Martin Kleusberg c2a9608c80 dbhub: Add basic HTTPS support
This adds basic support for fetching databases via HTTPS using client
certificates. You can include CA certificates to verify any responses
from a server. For now, one test CA certificate is included but it's
easy to add more.

It's also possible to authentify the client using a client certificate,
a client key and a password. As of this commit all three items are
hardcoded.

It's still possible to access any remote database via HTTP but if a
request URL starts with 'https' this new mechanism will be used.

All certificates, keys, and password included in here are taken from my
node.js test server repository. They will be replaced soon-ish.
2016-10-25 20:42:31 +02:00
Martin Kleusberg 4d26624bda dbhub: Add very basic support for opening remote files
This adds some initial support for opening remote files. You can enter a
URL and DB4S will try to download the file. When successful you'll be
able to specify a place and name to save the file under, and after
saving it locally to disk it'll be opened just like any local database
file.

See the included TODO comments for missing features. Most notably
missing is the HTTPS and certificate handling code. Also any support
for storing the remote source of a database is lacking.
2016-10-24 22:49:32 +02:00
Martin Kleusberg b9e4433318 Drop Qt4 support
This commit removes all code and configuration that was required for
building with Qt4. Hopefully noone really needs it anymore.

See issue #603.
2016-10-18 18:07:38 +02:00
Justin Clift b1b9f61d30 Updated project name for Windows nightly builds 2016-10-17 00:52:48 +01:00
Martin Kleusberg 2563d67868 Fix cmake file 2016-10-12 23:26:56 +02:00
Martin Kleusberg 5dddffd7a0 travis: Fix building 2016-09-06 17:07:06 +02: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
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
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
Justin Clift c0014041d1 Use the DB4S icon for the Windows install package too 2016-08-28 18:16:48 +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
Martin Kleusberg a1e08b37c9 Rename ExportCsvDialog to ExportData dialog
Sorry for the big change but I think it's preferable to not call it CSV
dialog when it's not just doing CSV.
2016-08-25 23:12:36 +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 aa29f1e4a3 Updated version number to 3.9.99 2016-08-11 19:31:39 +01:00
DelphiGit 41e172df72 Fix for unquoted path vulnerability
See issue #621 for details.

I built a new installation package and during installation on Windows 7
I could  see that the previously unquoted path is now quoted.
2016-07-13 20:29:12 +02:00
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