9be1f9bd98
Issue #3366 : Make state of "Favorites only" button persistent between sessions.
2013-10-13 17:27:58 +00:00
ddcb54a538
Introduce tree favorites:
...
* Add a button right besides db/table filter for hiding non-favorites
* Add an icon on the very left of table nodes, showing whether they are favorites
Fixes issue #3366
2013-10-13 05:48:43 +00:00
5c1a0a6e4c
Introduce compressed .sql file export. Using SynZip unit from mORMot framework. Fixes issue #3354 .
2013-10-07 04:32:20 +00:00
40ec000957
Make snippets directory customizable. Fixes issue #3276
2013-09-28 10:00:52 +00:00
e3da264b08
Fix exception in ReadTextfileChunk when file has 0 bytes.
2013-09-28 09:56:44 +00:00
ff7ead47bc
Issue #3334 :
...
* Decrease connect timeout for donation state check from 30s down to 3s, so especially on application start noone has to wait too long only because heidisql.com is down again.
* Return TThreeStateBoolean in HasDonated(), so we can display an appropriate warning when the HTTP check was unsuccessful
2013-09-17 18:11:15 +00:00
3a6531c965
Issue #3334 : Check heidisql.com for the given donator email address, provided in the about dialog.
2013-09-14 04:57:33 +00:00
d7cdd3cd91
Provide a way to enter the donators email address in the about dialog, and hide all donate buttons if a check on heidisql.com succeeded. Fixes issue #3334 .
2013-09-13 04:32:28 +00:00
82979ae28b
New attempt to fix the file reader for cases where the chunk size end is within a multibyte character. Increase chunk size per loop and retry reading the chunk. See http://www.heidisql.com/forum.php?t=13044
2013-09-10 04:43:56 +00:00
1a5d91e236
Revert r4503, except for the removed helpers.ScanNulChars() and helpers.RemoveNulChars(). Seem Delphi's encoding detection is totally broken. Also, TStreamReader has bugs and hangs on the second call to ReadTextfileChunk(). Most files should be read fine again, including those mentioned in issue #3331 . Also fixes issue #3328 .
...
TODO: fix reading specific UTF8 files, mentioned on http://www.heidisql.com/forum.php?t=13044
2013-09-08 05:34:11 +00:00
7e9c433bf0
Prefer Windows.GetCommandLine over ParamStr() when parsing command line parameters. ParamStr() removes double quotes.
2013-09-07 11:46:58 +00:00
4593fd1a4c
Introduce Win7+ jump items on task button. See http://www.heidisql.com/forum.php?t=12385 .
...
Using JumpList unit from Serhiy Perevoznyk, http://delphi32.blogspot.de/2011/05/adding-windows-7-jump-list-to-delphi.html
2013-09-05 08:33:38 +00:00
a38c70b99e
* Try a new approach in helpers.OpenTextFile(), helpers.ReadTextfile() and helpers.ReadTextfileChunk(): Based on TStreamReader instead of TFileStream now, so we can finally rely on Delphi internals for detecting a file's encoding. Also, this should fix read errors in some UTF-8 files, e.g. mentioned on http://www.heidisql.com/forum.php?t=13044
...
* Remove helpers.DetectEncoding(). Use a separate TStreamReader in the only caller to detect the encoding of a selected file
* Remove helpers.ScanNulChar()
* Remove helpers.RemoveNulChars()
2013-09-04 07:53:44 +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
110d9c585c
Fix reading chunks from SQL file with a multiplier of the encoding's maximum character length. Broken in r4470.
2013-08-27 05:10:34 +00:00
5e83eaab1b
* Move code from FillPopupQueryLoad into automatically triggered FillPopupQuery.OnPopup event.
...
* Make getting system imagelist and imageindex shared code in Helpers.GetSystemImageList and Helpers.GetSystemImageIndex
* Remove call to TranslateComponent, accidentally committed in r4490
* Draw system icons with transparency
2013-08-24 05:28:39 +00:00
e8adf2095f
Turn column selection form into a tool window, so I can apply a size-grip at the lower right edge of the form. Remember form dimensions. Fixes issue #3299 .
2013-08-21 05:01:28 +00:00
8d191ef773
Provide edit box for custom NULL value, in grid export dialog. See http://www.heidisql.com/forum.php?t=13075
2013-07-30 05:21:36 +00:00
70e79f51dc
* Ensure ReadTextfileChunk reads a multiplier of the encoding's maximum byte count per char. See http://www.heidisql.com/forum.php?t=13044
...
* Log error message when TEncoding.Convert returns an empty TByte array.
* Documentation
2013-07-27 08:06:40 +00:00
51c27f7a27
* Silence various compiler warnings about non initialized variables.
...
* Globally turn off platform warnings
2013-07-16 04:45:28 +00:00
8e02fa9fee
Move helpers:GetIndexIcon to TTableKey.GetImageIndex
2013-06-25 04:15:11 +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
8b36ccdce3
Display values in grid columns which the user explicitly sets to be a UNIX timestamp in date/time format. Fixes issue #3215 .
2013-06-08 04:27:48 +00:00
99f62c4324
Process placeholders in filename also in grid export dialog. Provide a list of valid placeholders below the recent files pulldown menu. See http://www.heidisql.com/forum.php?t=12506
2013-06-01 05:45:17 +00:00
50e257de65
Apply system font to forms, not only Segeo on Vista and above. Fixes issue #3204 .
2013-05-30 06:13:05 +00:00
3569ee8d94
Do not restore previous state of checkbox options "Drop database" and "Drop tables", leave them off when calling the export sql dialog. Fixes issue #3197 .
2013-05-25 05:45:25 +00:00
550a139dac
Support default values of BIT columns in table editor and SQL export. Fixes issue #2544 .
2013-05-19 04:30:14 +00:00
a3a42b5d87
Fix repeated column comment in table editor. See http://www.heidisql.com/forum.php?t=12540
2013-04-15 05:54:03 +00:00
7f87bc7eb2
Try a new approach in TDBConnection.ParseRoutineStructure(). Should fix stripped backslashes from routine body, issue #3107 .
...
* Use SHOW CREATE PROCEDURE/FUNCTION result again, instead of code from IS.ROUTINES
* Remove every known CREATE PROCEDURE/FUNCTION clause and use remaining text as routine body.
* Respect MS SQL function options, taken from http://msdn.microsoft.com/en-us/library/ms186755.aspx
* Introduce helpers.ExtractComment() for usage in ParseRoutineStructure() and ParseTableStructure()
2013-04-11 21:29:44 +00:00
c5ebca5e14
Revert helpers.RemoveComments(), accidentally committed in r4110
2013-04-11 19:52:28 +00:00
451e757846
Auto apply distinct accelerator chars to buttons on TTaskDialog. Fixes issue #3150 .
2013-04-03 06:03:05 +00:00
c8e47298a9
Grid export: Remove zero padding to avoid octal => integer conversion in PHP. Fixes issue #3149 .
2013-04-01 16:26:53 +00:00
ff046336ce
Check KeepAskingSetting in MessageDialog() on older Windows versions. Broken since r4302. Fixes issue #3147 .
2013-03-28 18:13:58 +00:00
6fa32dc9fc
Make usage of query history optionally. Fixes issue #3122 .
2013-02-26 20:24:33 +00:00
4a68db871c
Turn comboDatabaseFilter into a TButtonedEdit, and place a second one besides it, for filtering tables. Fixes issue #2697 .
2013-02-25 08:01:02 +00:00
342f1b37d7
Fix setting for name of selected database, which must be a session setting, not a global one. See http://www.heidisql.com/forum.php?t=12101
2013-02-13 07:51:53 +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
88b3666bf1
Support search/replace in data and result grids. Fixes issue #2979 .
2013-01-15 20:46:41 +00:00
4fd920906c
Introduce "KeepAskingSetting" parameter to MessageDialog(), which activates a verification checkbox left besides the dialog buttons. Use that when confirming to close a query tab, so the user can disable the dialog within the dialog itself, without the need to disable this setting in Preferences > SQL. Fixes issue #3065 , which was broken since r4283.
2012-12-31 11:03:16 +00:00
551864a06c
Ensure we do not send an empty query, if a single query is larger than the max_allowed_packet setting. This way, we most probably get disconnected anyway, but that clearly leaves responsibility to the user to make the query smaller.
2012-12-31 10:33:32 +00:00
65d7e2ffab
Read and write snippet files in a subdirectory of the application directory when in portable mode. Fixes issue #2980 .
2012-12-31 10:30:33 +00:00
39b69226e1
Group tree options in popup submenu, and introduce new option "Auto expand on click". Fixes issue #3061 .
2012-12-26 08:14:10 +00:00
eb1500efcf
Turn asSessionFolder into a session setting, so it gets stored in a session, not as a global setting. Likely fixes issue #2956 .
2012-12-09 10:36:29 +00:00
fcc6ffee5b
Follow up to r4266, issue #3051 : Fix selection of the right routine type, based on the itemindex, not the combo box text.
2012-12-09 09:42:19 +00:00
a77a55da18
Optimize TAppSettings.SetSessionPath to only fire PrepareRegistry if required.
2012-12-04 20:40:44 +00:00
cea47f7087
Decide to store settings value even when it's equal to the default value we hold in TAppSetting.Default[Int|String|Bool]. This is important when AppSettings.Read() gets a default value passed, e.g. SynSQLSyn1.Attribute[i].IntegerStyle. Fixes issue #3032 .
2012-12-04 20:35:51 +00:00
68b1c957f1
Translate error message footer hint
2012-12-03 18:27:59 +00:00
ce263681d9
Even if user runs Vista or above, he may have deactivated themes. Check that before assuming TTaskDialog to be available. Fixes issue #3043 .
2012-12-02 08:59:58 +00:00
cc8b0bc202
Support hyperlinks in MessageDialogs, and add a footer with a Google search link to error dialogs.
2012-11-30 13:27:57 +00:00
911402d830
Introduce translatable message/error/confirmation dialogs.
2012-11-29 22:45:51 +00:00