Commit Graph

122 Commits

Author SHA1 Message Date
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
Ansgar Becker
0d0fad6745 SelectNode triggers a potentially set OnFocusChanged event, benefit from that logic in some places where I used to assign Focusnode := xyz. 2012-03-13 22:21:53 +00:00
Ansgar Becker
1a13a011c2 Reintroduce option "Remember filters" on Preferences > Data, as a replacement for the delete buttons besides the recent filters dropdown. Reverts r3463 and fixes issue #2776. 2012-03-13 22:11:11 +00:00
Ansgar Becker
de0048d419 Issue #2728:
* Support Unix paths to MySQL binaries.
* Auto-add the right directory separator at the end of the path setting
2012-03-02 21:03:52 +00:00
Ansgar Becker
3370a6a4da Add menu item for launching mysql.exe command line with current parameters. Fixes issue #2728. 2012-02-28 23:34:58 +00:00
Ansgar Becker
cedf5d888e Introduce new preference option "Prefill empty date/time fields". Fixes issue #2708. 2012-02-27 22:36:48 +00:00
Ansgar Becker
af3f590723 Use one color pulldown for setting grid text colors, not one per data type. Use all TDBDatatypeCategory's here, so this introduces a separate color for floats and integers, which were "numeric" before. 2012-02-27 22:16:05 +00:00
Ansgar Becker
d07cfcb7c6 Provide option "tabs to spaces" in preferences dialog. For space reasons, move highlighter options to new tab "Highlighter". Also, unify padding on tab sheets, and move "Ask for saving files" option to "SQL" tab. 2011-11-10 23:27:02 +00:00
Ansgar Becker
bdc7c0c245 Sort font names alphabetically in SQL font selector. Fixes issue #2569. 2011-10-08 16:45:50 +00:00
Ansgar Becker
e96fa77cbd Do not cache dialog instances any longer. OnCreate code is mostly very quick, and caching them adds quite some pitfalls into the code. Not to mention 30 lines less code in main.pas now :) 2011-06-26 20:01:42 +00:00
Ansgar Becker
2d548b5ef6 Introduce some wrapper functions for message and error dialogs in order to have less code and to avoid hidden titles on Windows XP. Fixes issue #2425. 2011-05-27 04:48:21 +00:00
Ansgar Becker
478c0306c7 Use modern TaskMessageDlg as a replacement for MessageDlg where appropriate. 2011-05-26 06:08:19 +00:00
Ansgar Becker
3c11e6c5a8 Introduce a separate dialog for all "copy grid data as .." actions, including the file export. Fixes issue #1499. 2011-04-28 07:33:49 +00:00
Ansgar Becker
3272430c40 Code cosmetic: Merge the few lines from TrimSQLlog into LogSQL 2011-04-19 22:09:16 +00:00
Ansgar Becker
4fbf2c23dd Introduce experimental MS SQL support 2011-03-29 23:20:21 +00:00
Ansgar Becker
243a553d9d Make prompt to save modified SQL text customizable. See http://www.heidisql.com/forum.php?t=6373 2010-09-19 18:52:22 +00:00
Ansgar Becker
84c638f0de Prefer VCL function StripHotkey() over StringReplace 2010-05-30 23:19:23 +00:00
Ansgar Becker
9984bf0236 Issue #1135: Implement tabs for multiple batch results in a query tab. Does not yet show multi results of stored procedures. Maximum number of tabs is customizable in Preferences > Data. 2010-05-26 23:11:08 +00:00
Ansgar Becker
2cda425c39 Make SQL completion proposal optional. Fixes issue #1782. 2010-04-11 22:23:58 +00:00
Ansgar Becker
3ed8c5bd91 Make session log directory configurable. Fixes issue #494. 2010-03-16 00:18:44 +00:00
Ansgar Becker
f7ee77561b Display colored bar for table size and row count columns in ListTables, and for process time column in ListProcesses. Also, extend the preferences dialog so this color can be customized and/or disabled. 2010-03-09 23:30:44 +00:00