247 Commits

Author SHA1 Message Date
010a46c48f Outsource new line replacements into new StripNewLines() function 2024-04-12 06:59:16 +02:00
6434e2f3c2 Issue #1927: display column comments in completion proposal, give that third column more space to the left and italic style 2024-03-28 17:18:18 +01:00
dc77752145 Issue #1887: restore old scroll offset in data grid, when refreshing and when paging to the next rows 2024-02-26 13:22:46 +01:00
8e3eed57cb Issue #1906: by default, use grayscale icons on inactive *query* tabs only 2024-02-10 15:43:25 +01:00
04c2d949a0 Issue #1906: add preference option for grayscale/color icons on inactive tabs 2024-02-10 15:37:21 +01:00
f3ce46af4d Update VirtualTrees component code to release v7.6.6 from Jan 12 2024 2024-01-29 15:00:26 +01:00
d9304007b6 Issue #1879: add drop down menu to "Apply filter" button, with an option to overwrite the current filter based on the different input text 2023-12-02 14:04:24 +01:00
fcb0d15413 Detect Windows 11 in about dialog, and remove functions only required for the no longer supported Windows Store version 2023-11-14 18:16:37 +01:00
e640b8db7e Remove debug stuff to force exception in f_() 2023-11-12 16:51:39 +01:00
1098d25ad3 Fix crash in f_() function with invalid format specifiers from some translation. Happened in Japanese recently. 2023-11-12 16:49:30 +01:00
38a9c157f7 Issue #1863: simplify GetExecutableBits with a simple compiler conditional, which should not even fail on Wine 2023-10-31 16:33:58 +01:00
38788e432d Add right-click option for MultiLine property of PageControlMain, for users preferring tabs in one line 2023-10-27 13:08:01 +02:00
e36a8d7201 Issue #1863: catch any exception in GetExecutableBits. PImageNtHeaders.Signature does not seem to be accessible on Wine. 2023-10-19 19:12:51 +02:00
da4a327eee Fix sporadic crashes in various calls to [TWinControl].SetFocus, with the new class helper .TrySetFocus 2023-10-16 20:50:10 +02:00
79962b03fc Remove ineffective/unused toVariableNodeHeight from TreeOptions.MiscOptions of data and query grids, as this triggers a ReinitNode in the recently updated VirtualTrees code. See SetMiscOptions(). 2023-10-15 13:05:28 +02:00
2f44c9a11c Create a separate option to enable/disable middle-click for tab closing. See https://www.heidisql.com/forum.php?t=41347 2023-10-12 19:25:07 +02:00
0444ebbdb7 Issue #861: support hiding row id column through new preference checkbox 2023-10-12 07:27:00 +02:00
62f27dbf0a Add code for TClipboardHelper.TryAsText, missing in previous commit 2023-10-10 17:23:46 +02:00
9f05f5ff8b Fix crash in various places where we just try to get the current clipboard text 2023-10-09 07:24:24 +02:00
2d648c60bb Issue #861: fix crash in data grid when row id column has focus, and ensure that column never gets focus 2023-10-09 06:51:59 +02:00
5316e2c0da Issue #750: add Andi's reformatter on sqlformat.org as a third option to format the current SQL code 2023-10-02 18:18:01 +02:00
0be3f8a410 Issue #750:
* move code from apphelpers.ReformatSQL to reformatter.ReformatInternal
* remember last used formatter
* use ReformatInternal in texteditor (as previously ReformatSQL)
* display HTTP response content in error dialog (EIdHTTPProtocolException.ErrorMessage)
2023-09-24 18:59:21 +02:00
184b064f1b Sequal suggest:
* add combo box with recent prompts
* add Sequal logo with link in lower corner of dialog
* remove port number from API url
* unify user agent
* remember form dimensions and last prompt
2023-05-08 07:10:31 +02:00
d5acd1358a Basic implementation of Sequal Suggest as a dialog, under Tools. For generating SQL queries through natural language. 2023-05-01 16:08:12 +02:00
d9d1f26278 Auto detect need to create HTML clipboard header, remove CreateHTMLHeader parameter from StreamToClipboard() 2023-04-06 08:07:58 +02:00
85928522cf Refactor HTML clipboard code. See https://www.heidisql.com/forum.php?t=9893 2023-03-30 07:35:44 +02:00
a7d76c0916 Make HTML export format compatible to Google Chrome. See https://www.heidisql.com/forum.php?t=9893 2023-03-29 21:38:24 +02:00
f2cc5124d3 Restore previous scroll position after saving routine, trigger, event or view. See https://www.heidisql.com/forum.php?t=40291 2023-01-26 09:57:42 +01:00
075aa18bc7 Refactor: Move connection reference out of TSortItems.ComposeOrderClause, so the caller must pass it as a parameter 2023-01-22 13:34:01 +01:00
0e6d814e03 Replace two versions of TSortItem.Create with an even simpler TSortItems.AddNew function 2023-01-22 13:23:51 +01:00
7ff9b2e9b7 Refactor internal structures for grid/table sorting, prefer TObjectList over Array 2023-01-22 12:49:53 +01:00
4ccf6e07f8 Do not auto-create "c:\Users\Anse\Documents\HeidiSQL\", as we only use it for snippets which can also have a custom path. Closes #1751 2023-01-19 20:31:25 +01:00
d7689d5abf Issue #1721: Let the user disable a session's SSH tunnel configuration, similar to the SSL checkbox 2023-01-02 20:40:33 +01:00
1744ae02c5 Issue #1730: add preference option for disabling incremental search through typing in grids 2022-12-31 11:41:43 +01:00
ae883a0a80 Include some System.Generics.* units without using project's unit scopes or aliases 2022-12-29 17:59:23 +01:00
0d9de512cd Remove unit scopes from project settings, prefer fully qualified unit names in uses clauses. Enhance readability and compiler performance. 2022-12-26 17:59:19 +01:00
6219e928ea Issue #418: restart via task scheduler after build update, decreasing privileges to the normal user instead of administrator 2022-12-25 13:18:37 +01:00
2c609a6c61 Issue #1725: add history menu pulldown to global filter edit box 2022-12-09 16:46:08 +01:00
7b36063ec6 Add option to turn off warning dialog for active but unused SSL settings. See https://www.heidisql.com/forum.php?t=40080 2022-12-06 19:05:00 +01:00
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
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
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
59bb389650 Add preference option for adding timestamp to log messages. Helpful for debugging performance issues. 2022-10-20 18:47:10 +02:00
18b16e29eb Issue #1669: turn off always-format setting by default 2022-09-27 16:20:41 +02:00
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
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
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
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
770e469804 Strip comments from procedure parameters before parsing. Closes #1477 2022-07-18 14:45:26 +02:00