63 Commits

Author SHA1 Message Date
9fc7150a9f Issue #74: attempt to support all kinds of expressions in column DEFAULT + ON UPDATE clauses 2019-04-21 15:40:18 +02:00
4608390b96 Add preference option for custom web search url, used in error dialogs. Closes #411 2019-04-17 21:29:34 +02:00
85a8355e1d Add new log category lcScript, for queries from large scripts and import operations. By default disabled, which should speed up importing large files. 2019-04-16 07:19:47 +02:00
63212600ed Issue #515: Handle encoding errors in apphelpers.ReadTextfileChunk according to how Delphi 10.3 raises exceptions. And probably fix the issue by increasing the new chunk size by 1M instead of only 4B. 2019-04-14 19:44:59 +02:00
406ab56060 Attempt to fully support UTF8 encoding without BOM, as TEncoding.UTF8 has a non-empty preamble/bom. See https://forums.embarcadero.com/thread.jspa?threadID=112112 . Probably related to encoding issue #515 2019-04-13 10:52:41 +02:00
a2ef1aeccd Issue #140: Store application process id in each tabs.ini section, and don't restore tabs from other running processes. If the process no longer runs, restore such tab sections again, so nothing gets lost with multiple running application instances. 2019-04-13 10:43:52 +02:00
e9cc528632 Issue #140:
* store tab setup when application exits, as the TimerStoreTabs interval may not yet be reached
* remember startup value of asRestoreTabs option, which may change while the application runs, which in turn may cause problems when RestoreTabs wasn't called
2019-04-13 09:32:58 +02:00
e40210b1b5 Issue #140: Move code for all remaining common directory paths settings to TAppSettings (UserAppData, UserDocuments, Snippets) 2019-04-11 21:47:54 +02:00
32845094d9 Issue #140: Use local tabs.ini and Backups directory in portable mode 2019-04-11 21:21:47 +02:00
430ea3bde6 Issue #140: make auto-backup/restore feature stable against running multiple application instances:
* use unique date/time with milliseconds as ini sections
* open ini file for each read + write, separately, don't keep it open all the time
2019-04-10 12:19:40 +02:00
30694567e5 Issue #140: Auto-backup unsaved query tab contents to C:\Users\<username>\AppData\Roaming\HeidiSQL\Backups\*.sql, and tab setup in C:\Users\<username>\AppData\Roaming\HeidiSQL\tabs.ini 2019-04-07 13:14:33 +02:00
0fb341bb88 Issue #140: add "Files" tab to preferences dialog, move "Prompt for file save" checkbox there, and introduce two new checkboxes for restoring opened and unsaved query tab contents (both new yet without functionality in their back) 2019-03-17 11:57:09 +01:00
c0dcc87666 Reveal yet hidden languages in language selector on preferences dialog. Reveals hr_HR Croatian, which was present on Transifex but missing in hardcoded language list from dxgettext/languagecodes.pas 2019-03-17 08:45:17 +01:00
0ef9b64947 Make preferences dialog resizable, and store/restore its dimensions for the next time it opens 2019-03-10 14:18:22 +01:00
187fd51126 Issue #553: Add registry hack for enabling (yet ugly) toolbar captions 2019-03-02 20:19:59 +01:00
bfcb7c2c74 Increase height of nodes in VirtualTree's even more, after having done that for #468. Closes #557. 2019-03-02 19:47:01 +01:00
07de1dc7b8 Issue #448: Get old Silk icons back into a second TImageCollection, and let the user chose his preferred icon pack in Preferences > General 2019-01-27 14:57:48 +01:00
aa0540921c Issue #448: Apply 192 new icons mainly from Icons8 gallery, with an OpenSource permission (talked to Eugenie from Icons8) 2019-01-26 19:15:25 +01:00
92c8eb5bc8 Slightly increase height of nodes in VirtualTree's. Closes #468. 2019-01-12 20:52:57 +01:00
96dfef6046 Silence sporadic EAccessViolation when accessing TWinControl.Parent 2019-01-06 12:35:53 +01:00
6b3e25a319 Add "Material" vcl style, contributed by github user CharlieEtienne in issue #425 2019-01-05 10:31:13 +01:00
ab67e03265 Restore old look of tooltips in grids and trees, like it was before the recent VirtualTree update. 2019-01-03 20:38:48 +01:00
dd22108c40 Remove debug code 2019-01-01 10:41:05 +01:00
8493b73198 Auto-select fitting color presets for SQL and grid text when selecting a theme. Closes #425. 2018-12-30 19:05:11 +01:00
fe9c92aee3 Restore multi line grid setup, broken in recent commit 2018-12-18 06:54:15 +01:00
07ff3e09bb Restore multi line grid mode, broken by previous commit 2018-12-16 21:03:55 +01:00
8475f383dc High DPI code enhancement: Enable TreeOptions.AutoOptions.toAutoChangeScale flag on all VirtualTrees, and remove code which did that scaling programmatically. Probably only working with the new version of VirtualTree. 2018-12-16 20:14:19 +01:00
0fb66ac295 Display number of lines in grid popup text editor 2018-12-12 20:05:23 +01:00
8675906d6f Expect a portable.lock file for running in portable mode, but gracefully also allow the portable_settings.txt to do the job. Future portable releases don't need to contain a portable_settings.txt from now on. Closes #122 2018-12-08 16:09:31 +01:00
7f555885d0 Support high-dpi setting with programmatically created controls on data sorting dialog. Closes #416. 2018-12-01 18:11:46 +01:00
c1f9c186fb Issue #8: Remove color selection for inline progress bars in grid cells, and make that color theme compatible. See https://www.heidisql.com/forum.php?t=25952#p26136 2018-11-30 23:31:53 +01:00
3298238491 Fix randomly wrong state of filter panel menu item. Closes #394. 2018-11-28 20:25:25 +01:00
aeba457257 Fix increasing height of upper table editor area on each table click. Closes #405. Also fix double-scaled controls on routine editor. 2018-11-25 14:46:04 +01:00
55ed9ae738 Make grid export dialog resizable, store/restore its width and height, and resize contained group boxes proportional to the window. See #19. 2018-11-13 19:45:30 +01:00
fbdfe4b244 Issue #8: using vcl-style-utils, there is no need to convert system colors through the active theme 2018-11-09 18:00:41 +01:00
953cce3b58 Issue #213: fix crash in ResizePngImage(), due to small scaling factor 2018-11-05 07:47:24 +01:00
a4e041a6bb Issue #213: smoothly scale main image list for high-dpi mode, using a method from an old snippet, written for the old PNGDelphi component 2018-11-03 12:18:22 +01:00
3759611c34 Issue #8: convert system colors applied by code into their theme color 2018-10-27 17:47:16 +02:00
93fe336841 Issue #8: Add 39 themes from Redist\Styles\vcl\ directory, and support themes with a new setting in the "General" options tab 2018-10-26 16:52:53 +02:00
769ebc2ad5 Issue #213: use default scaling for db object editors 2018-10-25 22:05:13 +02:00
0d7e459979 Issue #213: do not scale font two times, as this is done already somewhere in the VCL 2018-10-25 18:06:38 +02:00
198b89662a Issue #213: scale main image list, by stretching icons and breaking their alpha transparency 2018-10-24 21:22:54 +02:00
e2aea33588 Issue #213: auto-scale font size within InheritFont() for high dpi settings 2018-10-23 21:33:20 +02:00
66674ba402 Implement auto-uppercase feature for reserved words, functions and data types in SQL editors. Closes #337. 2018-09-02 13:04:40 +02:00
b2e3a3079b Enhance remembering of current grid selection by also remembering the focused node. Fires OnFocusChanged in case there was one and it's still there. 2018-08-29 11:37:45 +02:00
d7d0ac1714 Turn default value on for asDisplayBLOBsAsText option, as many people seem to think binary hex data is a display bug 2018-08-23 19:43:50 +02:00
774830cad0 Add "Keep showing" checkbox to dialog showing MySQL warnings, so the user can disable that. Also adding an option in preferences dialog to reactivate it again. Closes #234 2018-04-19 07:37:44 +02:00
6422552a2e Issue #224: use a better default color for the new same-text-background feature. 2018-04-18 19:23:36 +02:00
d69b5711cc Add a checkbox option for disabling zoom per mousewheel. Closes #229. 2018-04-15 14:48:02 +02:00
3e46092b73 Support custom colors for new same-text-background feature. Closes #224. 2018-04-12 19:34:28 +02:00