Commit Graph

142 Commits

Author SHA1 Message Date
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
Ansgar Becker
269ee242d9 Introduce GUI font preferences setting, so the user can customize the font of all dialogs and forms. Does not work with menus, however. See http://www.heidisql.com/forum.php?t=19666 2015-11-03 06:28:37 +00:00
Ansgar Becker
59159c7afd Introduce option for setting the line break style in text cells without breaks. See http://www.heidisql.com/forum.php?t=18682 2015-06-13 11:09:59 +00:00
Ansgar Becker
37fdb3b224 Phrasing enhancement:
* "Data editing" => "Editor configuration"
* "Remember filters, sorting and column selection across sessions" => "Reuse previous configuration settings on restart"
* "Drop down values from foreign table in InnoDB rows" => "Show values in foreign key columns"
2015-04-02 17:24:34 +00:00
Ansgar Becker
819c8bdd7e Phrasing enhancement:
* "Data appearance" => "Text formatting"
* "Maximum column-width..." => "Maximum column width..."
2015-04-02 17:09:09 +00:00
Ansgar Becker
104f7c84bc Phrasing enhancement: "User fired SQL queries" => "User-generated SQL queries" 2015-04-02 17:00:05 +00:00
Ansgar Becker
e9357ffc2a Phrasing enhancement: "Factory defaults" => "Restore defaults" 2015-03-31 08:43:28 +00:00
Ansgar Becker
cf58319de8 Support disabling SQL hints on result tabs, in Tools > Preferences > Data appearance. Fixes issue #3528. 2014-03-21 04:59:40 +00:00
Ansgar Becker
c2cdf4c754 Move EnumFixedProc from an inline function into global scope. Fixes issue #3444. 2013-12-04 19:56:20 +00:00
Ansgar Becker
1782b43944 Try to fix empty font pulldown in preferences dialog on 64 bit systems. See issue #3444. 2013-12-04 05:27:24 +00:00
Ansgar Becker
fe6b38c7c1 Issue #2398: Make "Get full table status" a session setting (was global before), so users can switch that off in specific sessions only. 2013-12-02 05:45:47 +00:00
Ansgar Becker
6aaf971802 Add preference option "Get full table status". When disabled, HeidiSQL now fetches tables per information_schema.TABLES instead of SHOW TABLE STAUS. Without rows, data length and all other properties which take longer to load. Fixes issue #2398. 2013-11-27 05:58:16 +00:00
Ansgar Becker
af7ea3708e Use FreeAndNil() to reset global variables for dialogs we need in TMainform.SetupSynEditors(). Finally fixes a bunch of access violations in SetupSynEditors, due to referencing already free'd variables. Fixes issue #3414. 2013-11-10 10:03:17 +00:00
Ansgar Becker
40ec000957 Make snippets directory customizable. Fixes issue #3276 2013-09-28 10:00:52 +00:00
Ansgar Becker
22cd9dd920 Issue #3324:
* Merge "Highlighter" tab into "SQL" tab again, to keep a low number of tabs
* Divide "Data" options tab into "Data appearance" and "Data editing" tabs, to make room for the new checkbox option "Local number format"
* Introduce the new data option "Local number format"
2013-09-03 17:54:03 +00:00
Ansgar Becker
88eb857346 Add preference option and logic for alternating grid row background colors. Fixes issue #2820. 2013-06-17 18:01:33 +00:00
Ansgar Becker
9e7adec692 Distinct between traditional and simplified Chinese, add zh_TW translated by jeff.tu. 2013-03-09 07:01:33 +00:00
Ansgar Becker
981b746752 Rename local variable to what it stands for. 2013-03-03 17:04:12 +00:00
Ansgar Becker
6fa32dc9fc Make usage of query history optionally. Fixes issue #3122. 2013-02-26 20:24:33 +00:00
Ansgar Becker
e1c4f14dbc Make foreign values drop down optionally. See http://www.heidisql.com/forum.php?t=11816 2013-02-04 18:30:35 +00:00
Ansgar Becker
d630989541 Ensure row count step + maximum settings are never "0". Fixes issue #3080. 2013-01-12 18:11:14 +00:00
Ansgar Becker
9629739901 TSynHighlighterAttributes.FriendlyName is used in registry value names, but .FriendlyName seems to get translated by gnugettext, so we have one registry value per language in registry! Fix that by using .Name instead of .FriendlyName, which unfortunately breaks customized styles from users now. 2012-12-04 20:46:21 +00:00
Ansgar Becker
5a3b09bfd0 Display language names, not their short codes, in language selector. See issue #3016, comment #39. 2012-12-02 11:09:36 +00:00
Ansgar Becker
f96288fce9 Translate string variables and literals in .pas files. TODO: translate constants. 2012-11-26 05:44:01 +00:00
Ansgar Becker
5958d7102b Fix broken "Auto detect" setting in language selector. 2012-11-14 21:13:56 +00:00
Ansgar Becker
585b88cd8b Add manual language selector in preferences dialog. See issue #557. 2012-11-14 20:54:02 +00:00
Ansgar Becker
ca1d94c87b Issue #557: Include gnugettext.pas from https://dxgettext.svn.sourceforge.net/svnroot/dxgettext/trunk/dxgettext/sample/ . And add basic code to all FormCreate events to translate their components in the future. 2012-11-10 14:28:44 +00:00
Ansgar Becker
491a6298d1 Introduce property LogToFile in TMainForm, which is synced with the registry setting asLogToFile. Fixes issue #2936. 2012-08-23 23:16:36 +00:00
Ansgar Becker
90ab0b6cf1 Refactor logic for reading and writing application and session settings:
* Introduce TAppSettings, created in dpr file
* Implement read and write methods, and replace callers of GetRegValue and MainReg.WriteInt/... with these
* Optimize read and write methods for avoiding redundant accesses to registry
* Auto-remove stored default settings from registry to avoid registry spam
* Replace synced MainForm.pref* variables with TAppSettings.Read* calls
* Move SetLocales call to dpr file
* Move MainForm.FDirname* variables to appropriate methods in helpers.pas
* Implement TQueryHistory.Create(SessionPath), reading its items within constructor
2012-08-19 10:55:08 +00:00