Commit Graph

4839 Commits

Author SHA1 Message Date
Ansgar Becker
78dd4c2bd2 Fix too narrow column widths restored with high DPI setting, due to Delphi's Round() function using the nearest *even* number. Use the better suited "kaufmännisch runden" approach. 2022-11-30 21:12:00 +01:00
Ansgar Becker
7bea342b9f Make clicks on grid column headers configurable, so the user may disable it, preventing him from accidental sortings on large tables. See https://www.heidisql.com/forum.php?t=40026 2022-11-28 20:55:39 +01:00
Ansgar Becker
954850d36b Forgotten dfm modification for previous commit 70d64a276e 2022-11-27 13:33:31 +01:00
Ansgar Becker
70d64a276e Query helpers tree: sync logic behind "Insert at cursor" with what doubleclick does. Enables that menu item for table columns, keywords, functions and snippets. See https://www.heidisql.com/forum.php?t=40022 2022-11-27 11:31:38 +01:00
Ansgar Becker
d42766c373 Quote BIT values again, in EscapeString version with data type. Closes #1709 2022-11-24 18:34:45 +01:00
Ansgar Becker
b20635258c Use rds_kill_query procedure on RDS to kill a running query. Closes #1705 2022-11-24 18:03:59 +01:00
Ansgar Becker
09e6d1709c Issue #1616: force update check to overwrite old HeidiSQL_update.exe in temp directory, once through different file size, and by logic when old one is older than 30 days. Fixes still used old updater with bugs. 2022-11-24 07:54:40 +01:00
Ansgar Becker
7c6cc45437 Issue #1705: Add new network type "MySQL on RDS", to support its different query for killing a process. New icon provided by @Bens-ct. 2022-11-23 20:04:43 +01:00
Ansgar Becker
f47609ab0e Include application version and path of selected session in the session manager's window caption 2022-11-21 20:15:39 +01:00
Ansgar Becker
9265598d41 CSV scanner: lowercase name of table and columns, and unify non-word characters to underscore 2022-11-14 20:22:25 +01:00
Ansgar Becker
28e34b9942 Fix crash when scanning CSV file with more values in data than in header line. Closes #1698 2022-11-14 20:07:37 +01:00
Ansgar Becker
9339304356 Fix trailing linebreak counted to last column name in first CSV line 2022-11-14 19:56:34 +01:00
Ansgar Becker
f33ccc708f Fix wrong finish message in log result, when doing something different than an export. See https://www.heidisql.com/forum.php?t=39913 2022-11-14 19:45:01 +01:00
Ansgar Becker
dc408630fc Issue #1700: exactify positions of line breaks in auto-filter on data grid, to prevent sporadically too long lines 2022-11-13 18:15:18 +01:00
Ansgar Becker
b55eb2b2fa Issue #1536: auto-resize height of data grid filter while user types text in it 2022-11-13 13:44:36 +01:00
Ansgar Becker
39377cc979 Issue #1695: attempt to fix a check for a named session before storing the currently used database name 2022-11-04 18:43:48 +01:00
Ansgar Becker
56a7218705 Add log message after finished export, to make it more noticeable the user has control again. See https://www.heidisql.com/forum.php?t=39913 2022-10-31 17:26:14 +01:00
Ansgar Becker
9b68360b54 SSH tunnel: process error pipe contents only if std pipe is empty. See https://www.heidisql.com/forum.php?t=39851 2022-10-27 17:27:34 +02:00
Ansgar Becker
1756d46d8b Allow hex values to have an odd number of digits. See https://www.heidisql.com/forum.php?t=39864 2022-10-26 19:22:07 +02:00
Ansgar Becker
def6ec67b1 Issue #1691: make timer interval for auto completion proposal configurable, while keeping 500ms as a default value. 2022-10-26 19:18:35 +02:00
Ansgar Becker
ea1149ff7d Allow integers and floats to be entered in hexadecimal format in grids. Basically means they're not wrapped in quotes now. See https://www.heidisql.com/forum.php?t=39864 2022-10-23 12:02:55 +02:00
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