116 Commits

Author SHA1 Message Date
104f7c84bc Phrasing enhancement: "User fired SQL queries" => "User-generated SQL queries" 2015-04-02 17:00:05 +00:00
e9357ffc2a Phrasing enhancement: "Factory defaults" => "Restore defaults" 2015-03-31 08:43:28 +00:00
cf58319de8 Support disabling SQL hints on result tabs, in Tools > Preferences > Data appearance. Fixes issue #3528. 2014-03-21 04:59:40 +00:00
c2cdf4c754 Move EnumFixedProc from an inline function into global scope. Fixes issue #3444. 2013-12-04 19:56:20 +00:00
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
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
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
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
40ec000957 Make snippets directory customizable. Fixes issue #3276 2013-09-28 10:00:52 +00:00
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
88eb857346 Add preference option and logic for alternating grid row background colors. Fixes issue #2820. 2013-06-17 18:01:33 +00:00
9e7adec692 Distinct between traditional and simplified Chinese, add zh_TW translated by jeff.tu. 2013-03-09 07:01:33 +00:00
981b746752 Rename local variable to what it stands for. 2013-03-03 17:04:12 +00:00
6fa32dc9fc Make usage of query history optionally. Fixes issue #3122. 2013-02-26 20:24:33 +00:00
e1c4f14dbc Make foreign values drop down optionally. See http://www.heidisql.com/forum.php?t=11816 2013-02-04 18:30:35 +00:00
d630989541 Ensure row count step + maximum settings are never "0". Fixes issue #3080. 2013-01-12 18:11:14 +00:00
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
5a3b09bfd0 Display language names, not their short codes, in language selector. See issue #3016, comment #39. 2012-12-02 11:09:36 +00:00
f96288fce9 Translate string variables and literals in .pas files. TODO: translate constants. 2012-11-26 05:44:01 +00:00
5958d7102b Fix broken "Auto detect" setting in language selector. 2012-11-14 21:13:56 +00:00
585b88cd8b Add manual language selector in preferences dialog. See issue #557. 2012-11-14 20:54:02 +00:00
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
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
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
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
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
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
3370a6a4da Add menu item for launching mysql.exe command line with current parameters. Fixes issue #2728. 2012-02-28 23:34:58 +00:00
cedf5d888e Introduce new preference option "Prefill empty date/time fields". Fixes issue #2708. 2012-02-27 22:36:48 +00:00
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
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
bdc7c0c245 Sort font names alphabetically in SQL font selector. Fixes issue #2569. 2011-10-08 16:45:50 +00:00
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
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
478c0306c7 Use modern TaskMessageDlg as a replacement for MessageDlg where appropriate. 2011-05-26 06:08:19 +00:00
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
3272430c40 Code cosmetic: Merge the few lines from TrimSQLlog into LogSQL 2011-04-19 22:09:16 +00:00
4fbf2c23dd Introduce experimental MS SQL support 2011-03-29 23:20:21 +00:00
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
84c638f0de Prefer VCL function StripHotkey() over StringReplace 2010-05-30 23:19:23 +00:00
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
2cda425c39 Make SQL completion proposal optional. Fixes issue #1782. 2010-04-11 22:23:58 +00:00
3ed8c5bd91 Make session log directory configurable. Fixes issue #494. 2010-03-16 00:18:44 +00:00
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
b8fd48a6cb After setting grids to multi line mode their vertical scrollbar was not updated. Fix that. Additionally, let FixVT() do what's required instead of doing that in OnInitNode respectively the "Apply" action on the preferences dialog. 2010-03-03 23:46:01 +00:00
c426bc5e16 Enable variable node height in data and query grids. Customizable as number of lines per row. Fixes issue #1082. 2010-03-02 23:11:48 +00:00
458b4c3acf Introduce a more simple strategy in data tab grid for loading data:
* Load in OnBeforePaint, if the tree's tag is set to NOTLOADED
* Load 1,000 rows in one step, up to a maximum of 100,000 rows. Both values are customizable.
* Load next chunk when user presses PageDown on the last node, or, more explicitly, when user clicks "Next rows" button
* Should fix all AVs which seem to be a timing issue with loading data on demand.
* Fixes issue #1675, fixes issue #1580, fixes issue #1721, fixes issue #1734, fixes issue #972
2010-03-01 16:44:36 +00:00
e045cb3d76 Delphi 2010 has PNG + alpha channel support in TImageList, so we don't need PNGcomponents any longer. 2010-02-08 00:36:17 +00:00
95e12a0bd1 Introduce new log category lcUserFiredSQL, and make log level customizable via preferences. Fixes issue #1652. 2010-02-04 00:39:29 +00:00
5d7b25d7e9 Add preference option to restrict number of application instances to 1. If the executable is open and called a second time, it's brought to foreground. Plus, if a filename was passed, a new tab is opened. Should fix a part of what is described in issue #1332. 2010-01-24 00:14:23 +00:00