Commit Graph

1288 Commits

Author SHA1 Message Date
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
Justin Clift
2242ce8ee6 Merge pull request #286 from gimKondo/typeof-edit-data
set selected data type on Edit database cell dialog
2016-01-19 00:24:11 +00: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
Justin Clift
6d73633608 Tweak the Fedora entry 2016-01-04 18:52:45 +00:00
Justin Clift
5d19642a61 Adjust dollar signs on the command line for Ubuntu newbies ;) 2016-01-04 18:51:54 +00:00
Rene Peinthor
58c5b43ed2 lcms not needed for new nightly anymore 2016-01-04 05:46:03 +01:00
Justin Clift
3de90471a8 Remove precompiled package install instructions for Fedora
The install steps for precompiled package for Fedora are in the main
README.md.  BUILDING.md is for instructions on how to compile
from source. :)
2016-01-04 00:30:37 +00: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
Justin Clift
38ff55900f Updated download location for OSX nightlies 2016-01-03 23:19:06 +00:00
Justin Clift
9f5c522f79 Added Ubuntu nightly build info to README 2016-01-03 22:48:19 +00: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
73536df2e1 Merge pull request #470 from subdriven/patch-1
Updating readme to reflect RPMs for Fedora
2016-01-01 00:09:09 +00:00
subdriven
665f173eae Updating readme to reflect RPMs for Fedora 2015-12-31 17:50:56 -05:00
Justin Clift
b942537711 Merge pull request #467 from subdriven/patch-1
Adding Fedora 22/23 instructions
2015-12-31 17:48:08 +00:00
subdriven
a6912c64e6 Adding Fedora 22/23 instructions 2015-12-31 11:03:31 -05:00
Justin Clift
67901cd9cf Update version number to 3.8.99 for nightly builds 2015-12-26 12:44:43 +00:00
Justin Clift
3a22a9b6f4 Update currentrelease to 3.8.0 2015-12-26 12:43:52 +00:00
Justin Clift
edb41140c2 Update internal version number for OSX to 3.8.0 as well v3.8.0 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
e8b72e8a5e Revert currentrelease version to 3.7.0 for now
Looks like there's real problem in the new 3.8.0 release, so
pulling that for now until we figure out what's wrong.
2015-12-26 02:16:58 +00: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
c9d9a73975 Update currentrelease to 3.8.0 2015-12-25 22:49:22 +00:00
Justin Clift
bb5fc0cb6e Update README.md for 3.8.0 release 2015-12-25 22:48:24 +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
Milos Subotic
fb8814729a Unquoting text pasted from clipboard in Browse Data table. 2015-12-24 12:11:01 +01:00
Peinthor Rene
7ccae1a926 prepare release 3.8.0 2015-12-23 20:05:12 +01:00
Martin Kleusberg
300142a421 Merge pull request #453 from MilosSubotic/master
Paste and erase in Browse Data table
2015-12-23 14:04:16 +01:00
Milos Subotic
fe4302cb22 Paste in Browse Data table 2015-12-23 12:32:46 +01:00
Martin Kleusberg
4727b0bb92 Minor text fix 2015-12-22 22:56:19 +01:00