Commit Graph

170 Commits

Author SHA1 Message Date
Ansgar Becker
0d61ece795 Remove useless DPI helper panel from preferences dialog tabs 2019-07-25 07:28:53 +02:00
Ansgar Becker
fcdf323086 Let TExtForm translate all strings on a form, to reduce the code in any FormCreate event 2019-07-21 20:12:13 +02:00
Ansgar Becker
88a9e53f0d Remove remainders of DPI related code, and move TExtForm.AddSizeGrip procedure to property .HasSizeGrip. Uses TSizeGripXP instead of TSizeGripThemed, as this looks quite the same. 2019-07-21 19:44:05 +02:00
Ansgar Becker
c31cae2060 Giving up on high DPI readiness - remove tweaks which mostly don't work as expected, and even differently on various computers. Instead, let Windows blur fonts. 2019-07-18 20:53:53 +02:00
Ansgar Becker
92c8f62b85 High DPI:
* remove ParentFont flag from forms again (introduced in 9cdcd63145 for #213). This just inherits from default Windows settings.
* instead, scale font size in InheritFont(), and move that to the new TExtForm class
* mark app with PerMonitorV2 support
2019-07-17 21:59:18 +02:00
Ansgar Becker
e4423c76a3 Issue #513: add a theme preview dialog, which loads the selected theme png file from heidisql.com 2019-07-13 15:59:43 +02:00
Ansgar Becker
4f9613b05c High DPI: fix growing window dimensions on each opening. Related to #378 2019-07-07 21:22:19 +02:00
Ansgar Becker
1d6a415f5f Refactor: rename mysql_structures unit neutrally to dbstructures 2019-06-22 14:26:41 +02:00
Ansgar Becker
0cd6ab7a0d Remove unused variable 2019-06-08 08:49:08 +02:00
Ansgar Becker
4608390b96 Add preference option for custom web search url, used in error dialogs. Closes #411 2019-04-17 21:29:34 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
3975db0a1c Simplify language selector populating: extract potentially existing lang name from long string, rather than holding a complex list 2019-03-17 09:06:48 +01:00
Ansgar Becker
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
Ansgar Becker
d5fe0ebd0d Add missing zh_CN "Chinese (China)" to language selector. Closes #498. 2019-03-15 19:48:00 +01:00
Ansgar Becker
7780904fbd Issue #498: Display current locale abbreviation in "Auto detect" item of language selector 2019-03-14 21:11:24 +01:00
Ansgar Becker
0ef9b64947 Make preferences dialog resizable, and store/restore its dimensions for the next time it opens 2019-03-10 14:18:22 +01:00
Ansgar Becker
8a05bcb144 Fix selection of SQL color presets, when preset names were translated. See https://www.heidisql.com/forum.php?t=26504 2019-02-02 14:04:30 +01:00
Ansgar Becker
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
Ansgar Becker
a6f688f806 Clean up again dimensions and position of various controls preferences dialog, and use (and extend) my old SQL source for the preview. 2019-01-13 14:26:35 +01:00
Ansgar Becker
fb081d3fa7 Do not apply selected theme from within the preferences dialog, as that crashes sporadically. Instead, rely on the info dialog telling the user he should restart the app. Related to #465, and probably solves it. 2019-01-09 07:48:12 +01:00
Ansgar Becker
5a5d55fafa Add "Material" color preset for SQL editors. See https://github.com/HeidiSQL/HeidiSQL/issues/425#issuecomment-450724251 2019-01-01 16:05:25 +01:00
Ansgar Becker
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
Ansgar Becker
bd8cc07bc8 Add presets dropdown for quick selection of grid text colors, with light, dark, black and white presets. 2018-12-30 14:46:59 +01:00
Ansgar Becker
cdb10d8005 Required code updates for recent VirtualTreeview update 2018-12-11 21:50:26 +01:00
Ansgar Becker
573055e662 Inform the user via dialog after changing critical settings, or settings which just need a restart to apply. A restart could have a healing effect on #410. 2018-12-04 20:09:24 +01:00
Ansgar Becker
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
Ansgar Becker
665dacdc59 Issue #8: add "Black" and "White" SQL color presets 2018-11-25 14:12:36 +01:00
Ansgar Becker
2947bfa09b Issue #8: show current highlighter colors as "Current custom settings" preset, in preferences dialog 2018-11-09 18:41:12 +01:00
Ansgar Becker
3752fd79a4 Issue #8: apply 3 hardcoded default values for colors which are not part of the highlighter's attributes (active line bg, matching brace fg + bg) 2018-11-08 19:54:45 +01:00
Ansgar Becker
2a10422373 Issue #8: provide two color presets for SQL editors in preferences dialog per dropdown, one for dark themes and one for light ones 2018-11-05 20:53:43 +01:00
Ansgar Becker
9983792b17 Issue #213: nest everything on broken TTabSheet's on a TPanel, to avoid overscaling in high-dpi mode 2018-11-01 19:05:00 +01:00
Ansgar Becker
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
Ansgar Becker
9cdcd63145 Issue #213: Assign system or custom font once, to the application, and let all forms inherit that font, so there is no need to call InheritFont() for each form. 2018-10-25 19:24:45 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
d69b5711cc Add a checkbox option for disabling zoom per mousewheel. Closes #229. 2018-04-15 14:48:02 +02:00
Ansgar Becker
3e46092b73 Support custom colors for new same-text-background feature. Closes #224. 2018-04-12 19:34:28 +02:00
Ansgar Becker
7e28c51e3b Apply a light gray background to fields in a grid which show the same text as the focused field, in the same column. And add a checkbox in preference dialog to disable this new feature. Closes #71. 2018-04-07 18:05:00 +02:00
Ansgar Becker
3c16564271 Issue #60: Disable relevant controls in preferences dialog for application update checks, if running as UWP 2018-02-06 19:46:34 +01:00
Ansgar Becker
5a8a4af29a Rename helpers unit to apphelpers, to overcome a naming conflict with the FireMonkey unit FMX.Canvas.GPU.Helpers. Closes #102. 2018-01-22 19:48:17 +01:00
Ansgar Becker
09e6942f7b SynEdit's SQL highlighter provides a sample source text. Display that text in the preferences editor panel for SQL colors. 2017-11-26 10:32:03 +01:00
Ansgar Becker
444a5bd97f Add custom setting for number of days to keep queries in the query history. See https://www.heidisql.com/forum.php?t=23530 2017-03-13 20:19:28 +00:00
Ansgar Becker
34a34ef7fe Fix some labels which I modified wrongly some time ago 2017-01-30 18:53:29 +00:00
Ansgar Becker
05ca87f3cd Preferences: Add checkbox for "Horizontal scrollbar" in Logging tab. 2016-06-02 18:39:22 +00:00
Ansgar Becker
ae206eec29 Remove unused variables 2015-12-16 18:35:24 +00:00
Ansgar Becker
263904382a Set font size per Ctrl + mousewheel in any grid view. 2015-12-13 21:18:02 +00:00
Ansgar Becker
3fa8563ed3 Translate SynEdit shortcut captions. See http://www.heidisql.com/forum.php?t=19401 2015-12-01 13:39:51 +00:00
Ansgar Becker
3963c5913c Make brace matching color customizable, via Tools > Preferences > SQL. See http://www.heidisql.com/forum.php?t=19934 2015-11-26 20:28:52 +00:00