Commit Graph

1368 Commits

Author SHA1 Message Date
Oleg Polivets da6b8734ab Merge pull request #368 from schdub/issue366
fix: PRAGMA user_version is not displayed correctly
2015-06-23 18:43:09 +03:00
schdub 7527df22ff fix: PRAGMA user_version is not displayed correctly if it is higher than 10000 2015-06-23 18:10:28 +03:00
m 3b5053c0a0 set default color to black 2015-06-23 03:09:03 +08:00
m 9af70c042e fix line numbers position recalculation 2015-06-23 02:57:26 +08:00
m 84ba7d8a17 fix: UTF-8 characters (when out of comments or quotes) are drawn with different font 2015-06-23 02:46:09 +08:00
Martin Kleusberg 5e0d1ba34e Add option for disabling the SQL error indicators
See issue #302.
2015-06-22 12:38:50 +02:00
Martin Kleusberg 1870f85e99 Trim SQL string before logging them
See issue #337
2015-06-22 11:56:27 +02:00
Martin Kleusberg d5164a0c64 Fix Qt4 build 2015-06-22 00:09:15 +02:00
Martin Kleusberg 39a49e33c2 Allow clicking cells with foreign key in order to jump to referenced cell
Add a tooltip to the database browser when you hover a cell with a
foreign key set in order to show the referenced table and column.

When clicking on such a cell while holding the Ctrl and Shift key (only
one of them won't work because they are for multiselection and Alt
doesn't do the trick on my system because it's just for grabbing and
moving the window) try to jump to the table and row which is referenced
in the clicked cell.

See issue #192.
2015-06-21 23:59:45 +02:00
Martin Kleusberg 9dc59086a6 Allow changing columns when foreign keys are enabled and used
When foreign keys are enabled it used to be impossible to change a
column of a table which is referenced in a foreign key. This is because
the table gets dropped in the process of renaming the column and only
then replaced by a new version.
With this commit the foreign keys are disabled for this short period of
time where the table doesn't exist and the old settings value is
restored as soon as the renaming is done.

See issue #362.
2015-06-21 22:30:53 +02:00
Martin Kleusberg 212116ae18 Also set foreign key preferences when creating a new database
When opening a database we set the foreign key constraint checking
according to the preferences set in the Preferences Dialog. But when
creating a new database this wasn't done accordingly which means the
behaviour of the application is different depending on wether a database
was opened or newly created. This is changed by this commit.
2015-06-21 22:23:54 +02:00
Martin Kleusberg 0387999403 EditTableDialog: Print error when trying to edit a column referenced in a FK
In the EditTableDialog, when trying to edit a column which is referenced
in a foreign key of some other column (and thus cannot be changed
without errors ocurring during the rename process) print an error
message instead of just going on.

See issue #362.
2015-06-21 22:18:48 +02:00
Martin Kleusberg 0e18e36aa9 Parse foreign key clauses instead of just treating them as a big string
This changes the SQL grammar parser so that it parses foreign key
clauses instead of just reading to the end of the clause when
encoutering one. This allows using the information inside the clause
later in a more effective way. However, as of now this isn't used yet.
This commit only attempts to imitate the old behaviour using the new
approach (and might fail doing so, causing new errors...).
2015-06-21 22:09:36 +02:00
Oleg Polivets 3f29599ce8 Merge pull request #363 from schdub/issue362
fix: renameColumn 'no error' after errors
2015-06-20 23:39:09 +03:00
schdub d4ce11b8ce fix: renameColumn 'no error' after errors 2015-06-20 23:14:35 +03:00
Martin Kleusberg 6b8f57d484 Make sure there are file extension filters set for all file dialogs 2015-06-16 23:58:02 +02:00
Geoff Lawrence 3bab74cd5e Merge pull request #356 from schdub/issue337
fix: query is missing in log when it contains \r or \t
2015-06-16 22:41:19 +01:00
schdub 90639d8c3c fix: query is missing in log when it contains \r or \t 2015-06-16 21:21:34 +03:00
Justin Clift 5990dae800 Updated currentrelease to 3.7.0 2015-06-14 18:55:49 +01:00
Justin Clift 4279ad9995 Added 3.7.0 release date 2015-06-14 18:24:02 +01: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 v3.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
Martin Kleusberg c9b892879e Fix regular expressions when used on columns with NULL values
See issue #353.
2015-06-13 19:00:35 +02:00
Geoff Lawrence 0f68c85d4c Merge pull request #355 from glawrence/master
Added English (United Kingdom) translation
2015-06-13 15:27:49 +01: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
schdub e7cecd0e42 Merge pull request #351 from schdub/master
update Russian translation
2015-06-10 23:04:28 +03:00
schdub 621a31ea99 update Russian translation 2015-06-10 22:19:56 +03:00
schdub 6d803d9733 Merge pull request #350 from schdub/issue349
exportsql: incorrect extra ); after create table
2015-06-10 17:33:24 +03:00
schdub e0a687992d exportsql: incorrect extra ); after create table 2015-06-10 17:16:09 +03:00
schdub ad06406c70 Merge pull request #328 from mafagafogigante/pretty
Brazilian Portuguese translation.
2015-05-31 14:46:57 +03:00
Bernardo Sulzbach 8a84ed5dca Brazilian Portuguese translation. 2015-05-30 12:52:14 -03: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
Peinthor Rene 5761d6bc25 Merge pull request #324 from schdub/master
plot: remove ssDot item from point shape option
2015-05-22 08:30:50 +02:00
Peinthor Rene 04ee11e5a6 Merge pull request #323 from schdub/qcp-version-1.3.1
QCustomPlot: version 1.3.1
2015-05-22 08:25:51 +02:00
schdub 8a4abcf9da plot: remove ssDot item from point shape option 2015-05-22 04:26:00 +03:00
schdub 3137f21972 QCustomPlot: version 1.3.1 2015-05-22 04:13:00 +03:00
Martin Kleusberg bd0df70329 Merge pull request #322 from schdub/master
qscintilla: get rid 'Not relevant classes found' messages from build log
2015-05-21 00:07:16 +02:00
Martin Kleusberg 8823cf837c Merge pull request #320 from mafagafogigante/typo-fix
Fixed a typo.
2015-05-21 00:02:55 +02:00
schdub 7070aa4866 qscintilla: rid 'not relevant classes found' in build log 2015-05-20 23:56:12 +03:00
Bernardo Sulzbach 8153df8cb8 Reworded CSVProgress brief. 2015-05-20 14:03:59 -03:00
Bernardo Sulzbach abc432fcd6 Fixed a few typos. 2015-05-20 10:17:52 -03:00
Peinthor Rene 97b88feaab Merge pull request #317 from schdub/issue316
plot: lineType and pointShape options
2015-05-20 09:21:06 +02:00
schdub 641e18235c Merge pull request #318 from schdub/tr-portuguese
preparation to Brazilian Portuguese translation
2015-05-20 01:53:42 +03:00
schdub b0abd07d01 preparation to Brazilian Portuguese translation 2015-05-20 01:09:57 +03:00
schdub 220c5ba75b plot: lineType and pointShape options 2015-05-19 23:37:32 +03:00
Martin Kleusberg 4e36226c85 Fix Qt4 build
...again
2015-05-18 19:19:59 +02:00
Martin Kleusberg 75483d0136 Add a 'Copy Create statement' popup action to Database Browser tab
See issue #140.
2015-05-18 19:09:30 +02:00