4806 Commits

Author SHA1 Message Date
f65bb039ca Issue #1659:
* remove broken sample text box
* activate translation on dialog
2022-09-12 07:45:39 +02:00
2ca233afbf Issue #1659:
* fix exception on closing customize dialog
* use empty string when converting clNone to and from web color, instead of #ffffff
2022-09-12 07:32:26 +02:00
ddca97c07a Issue #1659: create dialog for customizing highlighter colors and style, for use on grid text editor 2022-09-11 13:52:59 +02:00
c68dd226aa Issue #1656: attempt to give Wine a hint for the right font size, when highlighting selection occurrences 2022-09-03 12:55:16 +02:00
d82a8cc8f7 Highlight occurrences of selected text in grid text editor, same as in query editor 2022-08-19 06:47:45 +02:00
9e16c78d37 Use NULL in new row for column with timestamp expression, to fix a following UPDATE query using an empty string in its WHERE clause. Closes #1645 2022-08-18 06:53:33 +02:00
7101eb999f Leave away NULL clause for new column which allows NULLs. Closes #1642 2022-08-16 18:53:32 +02:00
c7dc63706d Support comments on table indexes via table designer. Closes #128 2022-07-18 17:02:36 +02:00
99ed1f16f2 Don't add a "WHERE -- foo" when the filter contains comments only. Closes #1537 2022-07-18 14:57:46 +02:00
770e469804 Strip comments from procedure parameters before parsing. Closes #1477 2022-07-18 14:45:26 +02:00
226fea2181 Restore maximized state of text editor in OnCreate, not OnShow. See https://www.heidisql.com/forum.php?t=39476 2022-07-17 09:55:49 +02:00
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