4770 Commits

Author SHA1 Message Date
e6f0fab737 Issue #156: code cleanup
* support binary/hex values
* use foreign key icon for menu
* put message string in translation file
2022-04-30 09:41:00 +02:00
60c36420ff Issue #156: merge changes from follow-foreign-key branch, except for the AnyGridDblClick event 2022-04-30 09:03:16 +02:00
a014d395d9 Issue #156: revert changes, needs more testing and some fixes 2022-04-28 19:33:37 +02:00
511e2bf19d Issue #156: merge code from follow-foreign-key branch 2022-04-28 19:23:46 +02:00
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
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
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
63a229e35a Issue #1256: restrict altering existing SQLite tables, apart from a few things 2022-04-22 13:08:34 +02:00
e27d9c1b96 Refactor: create and use self explanatory TDBObjectEditor.ObjectExists method 2022-04-22 12:42:37 +02:00
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
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
0c3b6f9deb Issue #1256: create spRenameColumn template and prefer that in SQLite and Postgres 2022-04-22 09:09:44 +02:00
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
66b9ab7c24 Prevent the last column from being dragged out of any VirtualTree header. Closes #1021 2022-04-21 19:35:57 +02:00
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
f626213c3d Support custom line breaks in ConfirmTabClear 2022-04-21 13:18:31 +02:00
2288f0ab6e Let user set line break style for saved query tab files. Closes #892 2022-04-21 12:59:42 +02:00
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 59159c7afd8ea875b604d639bded105984b5e2c8. 2022-04-21 12:37:42 +02:00
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
8b4556f292 Support COLLATE clause in SQLite when creating tables 2022-04-21 08:55:43 +02:00
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
5a3873a8d3 Ask user whether modified text shall be stored when pressing cancel button. Closes #817 2022-04-18 10:48:10 +02:00
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
c35b0370a8 Auto-refreshing grid or list only if main form is active. Closes #669 2022-04-17 11:48:48 +02:00
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
459925977d Disable save and discard buttons of routine editor temporarily while saving changes. Closes #616 2022-04-17 10:06:06 +02:00
945883396c Display multi-line column headers in query result grid. Closes #1566 2022-04-14 05:56:59 +02:00
c8d9bd716b Replace redundant ExtractBaseFileName() with TPath.GetFileNameWithoutExtension() 2022-04-13 07:29:10 +02:00
8bab9bfa76 Fix wrong SQL for emptying SQLite tables. Closes #1557 2022-04-11 20:19:20 +02:00
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
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
bd377e3131 Silence unreproducible but still happening crash in DBtreePaintText. See #1270 and uploaded crash reports. 2022-03-30 19:43:13 +02:00
0276390b95 Issue #670: TopLine is wrong when lines are soft-wrapped, so we use RowToLine now 2022-03-29 21:05:49 +02:00
f2b7a31291 Try to fix crash in TDBObject.GetTableColumns and friends, by preferring TDictionary.AddOrSetValue over .Add 2022-03-28 08:08:43 +02:00
8a5f947cff Fix crash in session manager, when save button was clicked without a focused session 2022-03-28 06:58:32 +02:00
40d0b669ab Fix crash in session manager, when open button was clicked without a focused session 2022-03-28 06:49:13 +02:00
3d90ce24d1 Silence two crashes in QuotedDatabase and IsSameAs. See https://www.heidisql.com/forum.php?t=39040 2022-03-27 14:40:07 +02:00
9a9b111c41 Try to fix crash happening in TDBObject.GetImageIndex after server sided disconnect, trying to set the current database 2022-03-27 09:30:15 +02:00
be7a697733 Fix crash when SQL export fails to create output directory, cancel operation in that case 2022-03-27 09:04:39 +02:00
8927ae1f43 Fix harmless crashes when process list result does not provide certain columns 2022-03-27 08:53:02 +02:00
76784f820d Fix a rare crash in SynMemoQueryPaintTransient 2022-03-26 19:32:52 +01:00
53bdda8702 Issue #1503: scale width of completion proposal columns 2022-03-21 18:20:57 +01:00
46cf71f540 Fix crash in search/replace dialog, when pressing F3 in some edge case 2022-03-21 18:11:59 +01:00
76f9a77637 Use default snippets directory if custom one is an empty string 2022-03-20 22:00:47 +01:00
38f0ef9b1b Fix disabled save button after Alt-Up or Alt-Down in SynMemo's of routine editor and friends. Closes #1554 2022-03-17 21:34:02 +01:00
3f7edb4904 Issue #1552: fix hanging due to querying TSynMemo.GetTextLen in OnPaintTransient 2022-03-16 19:44:02 +01:00
a5544ba0c8 Issue #1169: fix TInterbaseConnection.GetCharsetTable with wrong identifier quotes 2022-03-13 20:28:21 +01:00
3ca092f59e Extend PaintTransient handler for SQL editors, to highlight all occurrences of the selected word. Closes #670 2022-03-13 09:39:16 +01:00
f106dfcd48 Issue #1169: fix usage of first created driver link for all later Interbase/Firebird connections, as we support different libraries 2022-03-10 06:58:46 +01:00
0e8d77bbba Issue #1169: separate Firebird network types from those for Interbase, and provide fitting dll files in library pulldown 2022-03-09 20:54:49 +01:00