Commit Graph

5839 Commits

Author SHA1 Message Date
DungSaga
51476b65a5 remove shortcut "shift double click" 2022-04-29 15:58:01 +07:00
DungSaga
2877cbcdbe get column name from GridResult (instead of Grid.Header) 2022-04-29 15:34:16 +07:00
DungSaga
85e86787f6 escape value of current column before following to foreign key 2022-04-29 15:34:16 +07:00
DungSaga
c6c6497b07 move "follow foreign key" to below menu item "Open URL" 2022-04-29 15:34:16 +07:00
DungSaga
e3d1156090 only enable "follow foreign key" when a foreign key is found for the current column 2022-04-29 15:34:16 +07:00
DungSaga
d6f59f1e6b change shortcut to shift double click 2022-04-29 06:28:31 +07:00
DungSaga
b7401dd1d6 Revert "add shortcut (Alt+Right)"
This reverts commit 08cafee0bb.
2022-04-29 06:22:59 +07:00
DungSaga
5f22d636f3 only enable "follow foreign key" in tab "Data" 2022-04-27 18:34:00 +07:00
DungSaga
f677de4fa4 [build] ignore compile output 2022-04-27 18:06:27 +07:00
DungSaga
71aeef837e add shortcut (double click) 2022-04-27 18:02:47 +07:00
DungSaga
08cafee0bb add shortcut (Alt+Right) 2022-04-27 17:06:45 +07:00
DungSaga
e6155c3672 code refactor 2022-04-27 17:06:41 +07:00
DungSaga
9ca9d3936c update asFilter, because SynMemoFilter will be cleared and set value of asFilter (in HandleDataGridAttributes from DataGridBeforePaint) 2022-04-27 17:06:01 +07:00
DungSaga
3c7adebe0c get raw data from grid (instead of displayed text) 2022-04-25 00:20:38 +07:00
DungSaga
6f902032d8 follow foreign key to the reference table and filter to show only rows linked from the current row 2022-04-24 19:24:29 +07:00
Ansgar Becker
a6ad041a7c Convert hardcoded MySQL error codes to named constants, taken from include/mysql/server/mysqld_error.h 2022-04-23 11:45:37 +02:00
Ansgar Becker
c4085bed4e Refactor: move structures for specific network types out of dbstructures, into their own dbstructures.xxx.pas, and include const.inc in project sources 2022-04-23 11:38:26 +02:00
Ansgar Becker
67cd7bb193 Set character set and collation of MySQL/MariaDB connections only if current one is not UTF8/16/32. Closes #287 2022-04-22 17:06:51 +02:00
Ansgar Becker
63a229e35a Issue #1256: restrict altering existing SQLite tables, apart from a few things 2022-04-22 13:08:34 +02:00
Ansgar Becker
e27d9c1b96 Refactor: create and use self explanatory TDBObjectEditor.ObjectExists method 2022-04-22 12:42:37 +02:00
Ansgar Becker
3d55507881 Table editor: force repaint of column list after click on "delete column", which otherwise still displays the deleted columns until the user hovers over it 2022-04-22 12:20:28 +02:00
Ansgar Becker
e48fcf2d0c Issue #945: give id column in table editor slightly more width to let the text fit in 2022-04-22 10:10:11 +02:00
Ansgar Becker
0c3b6f9deb Issue #1256: create spRenameColumn template and prefer that in SQLite and Postgres 2022-04-22 09:09:44 +02:00
Ansgar Becker
1e78543931 Issue #1521: get back partition clause into table editor by fixing the detection for CREATE code without a closing comment at the end 2022-04-22 09:07:09 +02:00
Ansgar Becker
66b9ab7c24 Prevent the last column from being dragged out of any VirtualTree header. Closes #1021 2022-04-21 19:35:57 +02:00
Ansgar Becker
0302093d97 Issue #993: white is now used as background for selected text, which is light blue and unreadable. Set Material/clHighlight to hex bebebe instead. 2022-04-21 19:16:06 +02:00
Ansgar Becker
53a40c073f Set system color clHighlight in Material theme to bright white (was rgb 32464a), to enhance readability of link colors in dialog footers. Closes #993. 2022-04-21 19:00:53 +02:00
Ansgar Becker
f48f8445ca Limit icons on column in table editor to show only one per key type. Closes #945 2022-04-21 17:54:02 +02:00
Ansgar Becker
f626213c3d Support custom line breaks in ConfirmTabClear 2022-04-21 13:18:31 +02:00
Ansgar Becker
2288f0ab6e Let user set line break style for saved query tab files. Closes #892 2022-04-21 12:59:42 +02:00
Ansgar Becker
2ddb8451af Issue #892: support custom line break style when saving log panel contents or CREATE code tabs to file, using the existing "LineBreakStyle" option introduced in 59159c7afd. 2022-04-21 12:37:42 +02:00
Ansgar Becker
89f034cc8e Support renaming columns in SQLite, and generate separate ALTER TABLE queries for each change. Closes #1256 2022-04-21 09:20:33 +02:00
Ansgar Becker
8b4556f292 Support COLLATE clause in SQLite when creating tables 2022-04-21 08:55:43 +02:00
Ansgar Becker
6a182db0b1 Set hint on data grid top label, staying readable when screen width is too small to show the label. Closes #836 2022-04-18 10:59:12 +02:00
Ansgar Becker
5a3873a8d3 Ask user whether modified text shall be stored when pressing cancel button. Closes #817 2022-04-18 10:48:10 +02:00
Ansgar Becker
c29e78c8af Set focus on editor when creating new query tab, closing a previously grid editor. Closes #725 2022-04-18 10:17:10 +02:00
Ansgar Becker
c35b0370a8 Auto-refreshing grid or list only if main form is active. Closes #669 2022-04-17 11:48:48 +02:00
Ansgar Becker
4eda10f726 Update cached object reference with new row count after inserting row, which may enable "Data" option in table copy dialog. Closes #666 2022-04-17 11:33:02 +02:00
Ansgar Becker
459925977d Disable save and discard buttons of routine editor temporarily while saving changes. Closes #616 2022-04-17 10:06:06 +02:00
Ansgar Becker
945883396c Display multi-line column headers in query result grid. Closes #1566 2022-04-14 05:56:59 +02:00
Ansgar Becker
c8d9bd716b Replace redundant ExtractBaseFileName() with TPath.GetFileNameWithoutExtension() 2022-04-13 07:29:10 +02:00
Ansgar Becker
3ac04a8946 Bump version for v12.0 release 12.0 2022-04-12 19:54:00 +02:00
Ansgar Becker
ab07a1b485 Update installer images 2022-04-12 19:22:50 +02:00
Ansgar Becker
8bab9bfa76 Fix wrong SQL for emptying SQLite tables. Closes #1557 2022-04-11 20:19:20 +02:00
Ansgar Becker
2101c73b4a Fix potential endless loop in TDirWatchThread.Execute, as advised here: https://stackoverflow.com/questions/5762258/how-to-monitoring-directory-for-files-in-delphi-xe#comment74167376_5764257 2022-04-10 11:01:19 +02:00
Ansgar Becker
1d1c31f085 Fix Alt+Right/Left not advancing to next query result tab on empty result grid. See https://www.heidisql.com/forum.php?t=39106 2022-04-09 07:43:36 +02:00
Ansgar Becker
9e9918fe50 Merge updates from https://github.com/andgineer/TRegExpr/blob/master/src/regexpr.pas into SynRegExpr.pas. Closes #1562 2022-04-04 20:16:18 +02:00
Ansgar Becker
bd377e3131 Silence unreproducible but still happening crash in DBtreePaintText. See #1270 and uploaded crash reports. 2022-03-30 19:43:13 +02:00
Ansgar Becker
0276390b95 Issue #670: TopLine is wrong when lines are soft-wrapped, so we use RowToLine now 2022-03-29 21:05:49 +02:00
Ansgar Becker
f2b7a31291 Try to fix crash in TDBObject.GetTableColumns and friends, by preferring TDictionary.AddOrSetValue over .Add 2022-03-28 08:08:43 +02:00