Commit Graph

1057 Commits

Author SHA1 Message Date
Martin Kleusberg 6484206b60 Don't do a COMMIT while saving when not in a transaction
See issue #583.
2016-05-06 01:23:15 +02:00
Martin Kleusberg b00c4f791f plot: Add button to load all data
See issue #499.

This also fixes a bug introduced in 6784a6a854
which effectively disabled the partial prefetch mechanism on large
tables.
2016-05-05 22:57:57 +02:00
Justin Clift 159cc27e56 Move the new Win32 SQLite variable paths to the existing Win32 scope 2016-05-02 14:10:18 +01:00
Justin Clift 46536d2893 Added comment for the new SQLite paths in src.pro 2016-05-02 12:54:00 +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
Lars Immisch 1192f450fd Allow viewing via the EditDialog for executed sql statements (#570)
* Allow viewing via the EditDialog for executed sql statements

Editing is disallowed, becuase we do not know which table the freeform
query operates on

* Fix whitespace

* Don't crash when changing to 'Execute SQL' tab when no database selected

* Add double click action

* A small usability improvement and indentation changes suggested by @MKleusberg
2016-04-26 00:16:30 +02:00
FriedrichFroebel 81c62f9585 Update German translation (#567)
* Update sqlb_de.ts

* Update sqlb_de.ts

* Update sqlb_de.ts

* Update sqlb_de.ts

* Update sqlb_de.ts
2016-04-25 12:09:39 +02:00
Martin Kleusberg 63e8540de4 Add option to disable auto completion in the SQL editor
See issue #537.
2016-04-23 21:13:48 +02:00
Martin Kleusberg 730a272454 sqlitetablemodel: Don't insert new rows when there is no new data
When not getting any data from query we'd tell Qt that we're about to
insert data anyway and cause confusion this way. At least this might
cause some trouble on some systems.

This issue tries to deal with issue #565.
2016-04-23 20:55:08 +02:00
Martin Kleusberg c8f020331a export: Allow exporting only the data in an SQL export
In the SQL Export dialog and process, allow the user to export the data
only, i.e. not the schema.

See issue #556.
2016-04-23 20:32:08 +02:00
Martin Kleusberg f46b800fa4 export: Rename checkbox for outputting multiple rows per INSERT
In the Export SQL dialog, rename the checkbox for outputting multiple
rows (or VALUES) per INSERT INTO statement to make it clearer what it
does. "New syntax" probably isn't a big help to most users.
2016-04-23 20:20:16 +02:00
jungle-boogie c5c8106c1c attempt at adding decimal (#569)
* attempt at adding decimal

hopefully a passable attempt to add decimal support per
https://github.com/sqlitebrowser/sqlitebrowser/issues/373#issuecomment-211025161

I re-organized the conversion list, too.

* remove stray line

* correct decimal 

%d is decimal! I won't forget this now.
2016-04-21 17:51:12 +01:00
Carsten Mikkelsen 21c708ab95 Added hex blob format 2016-04-15 18:21:45 +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
Justin Clift 77c66dfacc Merge pull request #549 from wierzba3/master
- Add Select-All and Deselect-All options to ExportSQL dialog menu
2016-03-30 18:20:28 +01:00
James Wierzba b095fd4f70 - Add Select-All and Deselect-All options to ExportSQL dialog menu 2016-03-30 09:56:57 -06:00
Firat Eski 2e8fbea9ab update Turkish translation 2016-03-25 13:46:20 +02:00
Firat Eski f33a988530 Turkish translation 2016-03-20 18:25:13 +00:00
Martin Kleusberg 272671d7f0 Add command line option for setting table to browse after opening
Add a new command line option -t/--table for directly jumping to a table
after opening the database.

See issue #509.
2016-02-04 19:37:17 +01:00
Martin Kleusberg 5387896f52 Edit: Fix bug introduced in 2242ce8ee6
Fix a bug introduced by commit 2242ce8ee6
which didn't change the code only for the edit dialog, not for the edit dock.

See issue #508.
2016-01-29 23:11:19 +01:00
Martin Kleusberg 1efec0cc5a grammar: Fix tablename.columnname notation in subexpressions
When specifying a table name along with a column name you have to put a
dot between them. This wasn't taken into account by our grammar parser,
an error which could lead up to misinterpretations in other places as
well.

See issue #505.
2016-01-28 21:38:37 +01:00
Martin Kleusberg 8ad570d13c Fix last commit for SQLCipher 2016-01-27 23:26:03 +01:00
Martin Kleusberg 1a7aad0ff0 Make current filename a private class member 2016-01-27 23:08:48 +01:00
Martin Kleusberg 910c15ae25 Try suggesting file names when saving some files
When exporting tables, saving project files, etc. suggest default file
names where appropriate.

See issue #484.
2016-01-27 23:02:30 +01:00
Martin Kleusberg 0bfdc28f7a Don't show context menu in Browse tab when not clicking on column header
When not clicking on an actual column header in the Browse Data tab
don't show the context menu. It's not working correctly anyway.

See issue #485.
2016-01-27 22:37:17 +01:00
Martin Kleusberg 93cdbd0f80 Filters: Add settings option for the delay time
Introduce a new option in the Preferences dialog for setting the delay
time which the filter widgets are waiting for before applying the newly
set value.

Also reduce the default delay time from 300 to 200 ms.

See issue #490.
2016-01-27 22:24:16 +01:00
Martin Kleusberg d9d2f96c40 Windows: Try to remove the keyboard shortcuts for dock widgets
See issue #494.
2016-01-27 22:08:45 +01:00
Martin Kleusberg 23f9c59478 Reload schema when refreshing the browse data view
When hittin the refresh button in the Browse Data tab reload the table
schema, too, before reloading the table data. It might have changed from
outside the application as well.

See issue #496.
2016-01-27 21:56:39 +01:00
Martin Kleusberg 3ff20044e0 Plot: Minor code improvement
Use the actual data for type guessing, i.e. nothing for NULL values
instead of 'NULL'. This should be a bit simpler and faster and overall
more correct (even though it doesn't change the behaviour at all).
2016-01-27 21:19:53 +01:00
Martin Kleusberg 6784a6a854 Plot: Load all data before drawing a plot
Load all table data first, before drawing a plot. Otherwise the plot
might be incomplete because not all data is loaded yet due to partial
table loading.

See issue #499.
2016-01-27 20:50:39 +01:00
Martin Kleusberg ef8fbd83c8 Don't disable the Browse Table option when browsing a read only database 2016-01-27 20:28:06 +01:00
Martin Kleusberg 6f17c3d1ea Reduce number of unneededly executed SQL commands
See issue #503.
2016-01-27 20:23:36 +01:00
gimKondo 54cea17f3a set selected data type on imported by Edit database cell
Data type isn't decided by column type, but cell's type.
And, 2 bugs is fixed.
1. prevention in-place editing data
2. the lack of tr() on text literal
2016-01-18 15:56:57 +00:00
Martin Kleusberg a7b5c3f182 Fix opening of edit dialog when pressing the return key
Pressing the return key opens the edit dialog or moves focus to the edit
dock (whichever is used). However, when using the edit *dialog* doing
inline editing and then hitting the return key opens the edit dialog
instead of just saving the changes. This is changed by this commit.

See issue #480.
2016-01-06 20:31:47 +01:00
Martin Kleusberg 91745ee558 Merge pull request #471 from MyRoGeertGit/winDate
Windows DATE to Date added as display format for Browser Data added.
2016-01-04 00:45:03 +01:00
Gihun Ham c2f78b682c Korean translation
Includes the updated CMakeList for Korean ts file
2016-01-03 14:59:13 +00:00
Martin Kleusberg f6b9cd11a3 EditDialog: Clear after closing database
When closing the current database file clear the contents of the edit
window or the edit dock (whichever is used at the moment).

See issue #469.
2016-01-02 22:36:32 +01:00
MyRoGeertGit 76524a4d24 Windows DATE to Date added as display format for Browser Data added. 2016-01-01 16:54:23 +01:00
Justin Clift 67901cd9cf Update version number to 3.8.99 for nightly builds 2015-12-26 12:44:43 +00:00
Justin Clift edb41140c2 Update internal version number for OSX to 3.8.0 as well 2015-12-26 12:10:05 +00:00
Peinthor Rene 6f033d74b8 stay on 3.8.0 until released 2015-12-26 08:57:22 +01:00
Peinthor Rene 1c233de3b5 sqlitetablemodel: fix crash on windows with sort order
if no sort column is set, new qt delivers random values
so this might be out of m_headers.size() and crashes
2015-12-26 08:57:07 +01:00
Peinthor Rene 4003dc6fec sqlitetablemodel: fix assert on windows 2015-12-26 08:47:59 +01:00
Justin Clift 4bb7eb1262 Update version string to 3.8.99 for the nightly builds 2015-12-25 22:51:10 +00:00
Justin Clift a4f68423f8 Update version string to 3.8.0 for OSX. 2015-12-25 21:43:44 +00:00
Martin Kleusberg 69e1c87f7a EditDialog: Update dock after inline editing of cell
When having set the edit dialog to work in dock mode but changing the
content of a cell using the inline editor of the grid view, update the
text in the editor of the docked dialog, too.

See issue #441.
2015-12-24 14:27:39 +01:00
Martin Kleusberg e67e2ed1a6 Merge pull request #461 from MilosSubotic/master
Unquoting text pasted from clipboard in Browse Data table.
2015-12-24 13:55:17 +01:00
Martin Kleusberg b04d52b99c EditTableDialog: Don't allow two columns with the same name
Don't allow the user to type in a field name that is already used in
the edited table. Show a warning and reset the name if he tries do so
anyway.

Also fix the warning for the foreign key check. Here a warning was shown
and the renaming cancelled but the field name wasn't reset to the old
value.
2015-12-24 13:48:35 +01:00
Martin Kleusberg 5af384f0a2 EditTableDialog: Don't suggest field name that already exists
See issue #460.
2015-12-24 13:42:18 +01:00
Martin Kleusberg d7c035874a Fix bug when cancelling the database closing
See issue #432.
2015-12-24 13:30:12 +01:00