497 Commits

Author SHA1 Message Date
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
9368f3147c Log debug message in helpers.ShellExec(), so we can check the url which Heidi sends to MariaDB's explain analyzer. See http://www.heidisql.com/forum.php?t=18677 2015-06-13 10:21:28 +00:00
e206d95c42 Raise connection error when local SSH port for plink is already in use. See http://www.heidisql.com/forum.php?t=18395 2015-05-11 17:51:12 +00:00
7ab04b5254 Periodically store portable settings file, each 60 seconds. In case of a crash, the user does not loose dialog settings and whatever was customized. See http://www.heidisql.com/forum.php?t=18144#p18243 2015-04-26 13:31:08 +00:00
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
9d3c19af49 Increase various default values for window dimensions, for reasonable look and feel for new users. 2015-01-28 19:12:09 +00:00
2c47e5f51d Use local number formatting in grids by default 2015-01-17 16:41:51 +00:00
3ecfccd8d1 Use transparent background for NULL cells by default 2015-01-17 16:41:01 +00:00
d569e23639 Add edit box + updown buttons for limiting the size of INSERT queries in bytes. See http://www.heidisql.com/forum.php?t=17345 2015-01-05 19:32:58 +00:00
f29836d1ed Support columns with a string literal as default value plus an ON UPDATE CURRENT_TIMESTAMP clause. See http://www.heidisql.com/forum.php?t=17323 2015-01-05 18:51:04 +00:00
d940f617e2 Support new command line parameter "n", or "nettype", which takes an integer, representing the protocol number (0=mysql tcpip, ...). See http://www.heidisql.com/forum.php?t=16891 2014-11-11 20:53:20 +00:00
464a1261b8 Support DEFAULT clause in PostgreSQL table structure. See http://www.heidisql.com/forum.php?t=16622 2014-10-16 18:51:48 +00:00
a966ec7267 Unify help calls in helpers.Help(), and pass sending control for "place" parameter in help url. 2014-10-16 08:02:06 +00:00
4f0355ee27 Ask user to confirm unsafe UPDATEs/DELETEs in query tab before executing. See http://www.heidisql.com/forum.php?t=16315
TODO: Add checkbox option to turn this on again once having silenced the message box.
2014-09-16 19:16:13 +00:00
9c0daf0ef3 Use prettier "Consolas" as default font for TSynMemo editors, when available, as an alternative to the old-stylish "Courier New". 2014-06-17 04:41:06 +00:00
2af4d3cc18 Support query timeout on MSSQL and PostgreSQL. Make customizable per up/down scroller in "Advanced" tab of session manager. Fixes issue #3507. 2014-05-04 05:01:25 +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
8993dc09e1 Windows.GetCommandLine provides two spaces between exename and first parameter, only on Win7, but not on WinXP. The two on Win7 were cut to one, and the one on XP was cut to 0, where the regex required a mandatory space. See http://www.heidisql.com/forum.php?t=15082 2014-03-11 04:00:48 +00:00
906b80f3a5 Move code from helpers.GetColumnDefaultClause into dbconnection.TTableColumn.SQLCode. Support microseconds part in DEFAULT CURRENT_TIMESTAMP clause. Fixes issue #3506. 2014-03-09 04:08:12 +00:00
c2de2a76aa Add textbox to store session comments. Fixes issue #3492. 2014-01-25 06:17:39 +00:00
fd63e5e840 Roll back parts of r4681 for getting the selected table into the trigger name, as this broke keeping the data tab active when switching tables. See http://www.heidisql.com/forum.php?t=14399 . Instead, introduce and make use of MainForm.FocusedTables. Fixes issue #3477. 2013-12-26 05:38:27 +00:00
2269d67fbb Prefill table combobox in trigger editor with currently selected table name. See issue #3477. 2013-12-20 05:36:37 +00:00
86cc4c822f Silence AV in 64 bit mode when preventing second application instance. Fixes issue #3475. 2013-12-19 04:42:25 +00:00
6b0bd5ff96 Make default value of asFullTableStatus effective in TConnectionParameters.FullTableStatus. See issue #2398. 2013-12-11 16:32:28 +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
e832f984f2 Turn "Drop" confirmation dialogs into custom critical types, so we can set focus to the Cancel button. See http://www.heidisql.com/forum.php?t=14042 2013-11-20 20:52:35 +00:00
cb85bcfc92 Prefer ShowMessage over ErrorDialog in AppSettings.Destroy, to work around an access violation when catching a yet unknown access violation. See http://www.heidisql.com/forum.php?t=14001 2013-11-17 05:39:22 +00:00
59dbff06a2 Introduce 64bit builds and 32/64 bit mixed installer 2013-11-13 05:38:44 +00:00
c0e57fdea6 * Fix issue #3417: Use applicable default value of 0 instead of -1 for TCoolBand.Index
* Remove debug output
2013-11-09 12:16:40 +00:00
61202be058 Convert main menu and toolbars from TControlBar to TCoolBar, to be able to place an "Update available" link right aligned on the menu.
* Also, convert the donate button to a second label on the menu, so it's less intrusive than before. See http://www.heidisql.com/forum.php?t=13446
* With the "Update available" label visible all the time, we check for updates also for builds, but only show the update check dialog if the user has activated "Check for builds also" option.
2013-11-09 06:34:09 +00:00
3dba742f2d Remove unused variable 2013-11-04 17:25:25 +00:00
48ebd1e97a Introduce my own implementation of EncodeURLParam(), as TIdUri.EncodeParams does not encode + sign, and more. 2013-11-04 17:24:43 +00:00
0f3c603c44 Prefer Delphi's Indy library over Synapse for encoding URL parameters. Remove Synapse code, which was meant to help in implementing the HTTP tunnel code which can easily be done with Indy. 2013-11-02 06:23:41 +00:00
6e608f157e Replace out-dated code which does not compile in 64bit mode in helpers.SetWindowSizeGrip. Use a TForm descendant in the new unit "extra_controls". Code parts taken from http://www.delphigroups.info/2/4/326787.html 2013-11-01 14:54:13 +00:00
821c6cb4db Fix various compiler warnings and notices 2013-11-01 06:17:52 +00:00
a19223d381 Passing filenames per command line: Remove found match from input string after having found a quoted filename, so the second call to GetFileNames does not find some incomplete filename due to whitespaces in its name. See http://www.heidisql.com/forum.php?t=13743 2013-10-17 20:08:55 +00:00
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