Commit Graph

5018 Commits

Author SHA1 Message Date
Ansgar Becker
1d1d1a4938 After restoring query tabs, warn user about tabs which were loading slow 2022-10-22 17:31:01 +02:00
Ansgar Becker
59bb389650 Add preference option for adding timestamp to log messages. Helpful for debugging performance issues. 2022-10-20 18:47:10 +02:00
Ansgar Becker
fb2668b48c Issue #1673, #1351 and #1658: use a general approach in TDBQuery.HasFullData for all server types, where we again use Delphi's Length() against a number range of 128..256. 2022-10-06 18:59:03 +02:00
Ansgar Becker
3565f8cce3 Fix text value in popup editor cut to 256 chars, for all modes other than MySQL. Closes #1673 2022-10-06 17:49:46 +02:00
Ansgar Becker
3623d691f1 Issue #1652: don't add collation clause to a modified or new JSON column 2022-10-04 18:59:55 +02:00
Ansgar Becker
b72599cd8a Issue #136: use VerySimpleXML v3-beta from https://github.com/Dennis1000/verysimplexml to reformat XML in grid cells.
Also, auto-disable slow wordwrap in editor if text is > 1M large
2022-10-03 09:05:29 +02:00
Ansgar Becker
1e52f68d95 Purge cached columns, indexes etc. and reinitialize table editor, when user presses refresh button. Closes #1628 2022-09-28 11:13:30 +02:00
Ansgar Becker
18b16e29eb Issue #1669: turn off always-format setting by default 2022-09-27 16:20:41 +02:00
Ansgar Becker
f2a50aba63 Issue #1669: turn customize-highlighter button into dropdown button with additional items "Format code once" and "Always format code". Usable for SQL and JSON. 2022-09-27 11:10:43 +02:00
Ansgar Becker
0148564047 Issue #1670: fix text field editing with more than 256 chars on MS SQL 2022-09-27 09:06:17 +02:00
Ansgar Becker
8e38e4ee99 Use empty default host/ip for new SQLite sessions, to avoid running into some out-of-memory issue. Closes #1602 2022-09-21 07:49:54 +02:00
Ansgar Becker
47f5058ae3 Fix previous approach in TDBQuery.HasFullData and StrHasNumChars, which used CharNextW() and stopped at null bytes within binary strings. Again use Length() instead, but let it be longer than GRIDMAXDATA. Closes #1658 2022-09-18 11:33:53 +02:00
Ansgar Becker
f65bb039ca Issue #1659:
* remove broken sample text box
* activate translation on dialog
2022-09-12 07:45:39 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
d82a8cc8f7 Highlight occurrences of selected text in grid text editor, same as in query editor 2022-08-19 06:47:45 +02:00
Ansgar Becker
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
Ansgar Becker
7101eb999f Leave away NULL clause for new column which allows NULLs. Closes #1642 2022-08-16 18:53:32 +02:00
Ansgar Becker
c7dc63706d Support comments on table indexes via table designer. Closes #128 2022-07-18 17:02:36 +02:00
Ansgar Becker
99ed1f16f2 Don't add a "WHERE -- foo" when the filter contains comments only. Closes #1537 2022-07-18 14:57:46 +02:00
Ansgar Becker
770e469804 Strip comments from procedure parameters before parsing. Closes #1477 2022-07-18 14:45:26 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
c992656aab Add support for MariaDB's new UUID column type. Closes #1545 2022-06-28 20:42:14 +02:00
Ansgar Becker
abaa9de070 Add basic support for listing and showing views in SQLite mode. Closes #1196 2022-06-26 20:42:15 +02:00
Ansgar Becker
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
Ansgar Becker
97b3728f13 SSH tunnel: use the shell executable filename in all dialog captions 2022-06-23 07:46:07 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
ddc634c5d2 Auto-fit result columns when compressing export file has finished. Closes #1617 2022-06-09 20:14:04 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
85cbd86367 Issue #1613: fix missing detection of spatial keys 2022-06-07 19:31:11 +02:00
Ansgar Becker
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
Ansgar Becker
c9a2d6232b Don't reapply shortcuts to base editor, but to all others. Closes #1600 2022-06-03 07:00:37 +02:00
Ansgar Becker
41a7332d65 Issue #1600: Interim workaround for broken keystrokes in query editors 2022-06-01 07:15:31 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
fc5848b889 Support mouse wheel zoom in grid text editor 2022-05-18 08:13:40 +02:00
Ansgar Becker
1ee23b1682 Issue #1351: optimize StrHasNumChars 2022-05-18 07:56:10 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
fe9bc11505 Do not auto-close search/replace dialog if no occurrences were found. Closes #896 2022-05-05 07:35:19 +02:00
Ansgar Becker
b52337d82d Enable cancel edit button after search/replace. Closes #1579 2022-05-05 07:31:53 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
60c36420ff Issue #156: merge changes from follow-foreign-key branch, except for the AnyGridDblClick event 2022-04-30 09:03:16 +02:00