4795 Commits

Author SHA1 Message Date
ce8a401cac Create context menu item "Empty recent filters" on database and table filter above tree view. See https://www.heidisql.com/forum.php?t=39447 2022-07-05 07:27:28 +02:00
c992656aab Add support for MariaDB's new UUID column type. Closes #1545 2022-06-28 20:42:14 +02:00
abaa9de070 Add basic support for listing and showing views in SQLite mode. Closes #1196 2022-06-26 20:42:15 +02:00
29a4ee8999 Don't reset a main control's window procedure if there is no main control. Closes #1349 2022-06-26 09:27:07 +02:00
97b3728f13 SSH tunnel: use the shell executable filename in all dialog captions 2022-06-23 07:46:07 +02:00
965e88b579 Delphi 11.1: fix VirtualTree package files, fix missing uses clauses, and some newly required type casts 2022-06-18 18:08:00 +02:00
66b07c0c5e Issue #287: v5.1 servers report utf8mb4 from mysql_character_set_name, although it's latin1. Trust the returned charset only on v5.5+ servers, and reset it on older servers. 2022-06-17 14:46:45 +02:00
ddc634c5d2 Auto-fit result columns when compressing export file has finished. Closes #1617 2022-06-09 20:14:04 +02:00
9c1249bf7c TSHFileOpStruct.pFrom needs a trailing nul char, see https://stackoverflow.com/a/1594859/4110077 and/or https://docs.microsoft.com/de-de/windows/win32/api/shellapi/ns-shellapi-shfileopstructa?redirectedfrom=MSDN#members 2022-06-08 19:50:00 +02:00
9ec40f0703 When deleting tab backup file, delete it to recycle bin, for cases where the user did that by accident. Same for snippet file and overwritten export/zip file. See https://www.heidisql.com/forum.php?t=39355 2022-06-08 19:25:33 +02:00
7a20e6eb16 Set title on completion proposal form, to keep the form resizable with only 1 NbLinesInWindow. See https://www.heidisql.com/forum.php?t=39366 2022-06-08 18:50:41 +02:00
85cbd86367 Issue #1613: fix missing detection of spatial keys 2022-06-07 19:31:11 +02:00
885bf8d823 mysql_character_set_name() from libmysql.dll reports utf8* if in fact it's a latin* charset. Force utf8* charset in that case. See https://www.heidisql.com/forum.php?t=39278 2022-06-03 07:46:15 +02:00
c9a2d6232b Don't reapply shortcuts to base editor, but to all others. Closes #1600 2022-06-03 07:00:37 +02:00
41a7332d65 Issue #1600: Interim workaround for broken keystrokes in query editors 2022-06-01 07:15:31 +02:00
d5f50d710c Fix crash after copying table to other database, when target database is expanded in DBtree and current session has a background color. Closes #1597 2022-05-30 21:43:47 +02:00
25d15d8b41 Optimization: set up a single TSynMemo instance instead of all, e.g. when creating a new query tab 2022-05-25 13:16:27 +02:00
fc5848b889 Support mouse wheel zoom in grid text editor 2022-05-18 08:13:40 +02:00
1ee23b1682 Issue #1351: optimize StrHasNumChars 2022-05-18 07:56:10 +02:00
bb608ff52c Make counting characters in TDBQuery.HasFullData more precise for diacritical characters. Fixes EnsureFullRow not doing its work when a cell contains some emoji. Reported in the forum: https://www.heidisql.com/forum.php?t=39239 2022-05-17 19:50:48 +02:00
354e984b37 Leave away delimiter at the end of a query batch, in one-go mode. Closes #1583 2022-05-10 07:30:39 +02:00
56262e50a4 Issue #1577: make apphelpers.SelectNode more intelligent, returning true/false to indicate whether it successful went through OnFocusChanging event 2022-05-05 19:13:42 +02:00
fe9bc11505 Do not auto-close search/replace dialog if no occurrences were found. Closes #896 2022-05-05 07:35:19 +02:00
b52337d82d Enable cancel edit button after search/replace. Closes #1579 2022-05-05 07:31:53 +02:00
8955dc8d98 Issue #1577: break loop in search/replace on grid if advancing focus on next node is not allowed through OnFocusChanging event 2022-05-04 07:34:02 +02:00
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