Commit Graph

4274 Commits

Author SHA1 Message Date
Ansgar Becker
3131bf3850 Temporarily silence fatal access violation at startup, caused when applying CoolBand.Index. See issue #3417. 2013-11-09 10:54:11 +00:00
Ansgar Becker
d26f78b4fd Add "Show only favorites" to the context menu items of "Tree style options". 2013-11-09 07:19:38 +00:00
Ansgar Becker
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
Ansgar Becker
02504106f0 Avoid running into access violation when accessing any host tab result when user pressed disconnect button. Fixes issue #3416. 2013-11-09 05:22:28 +00:00
Ansgar Becker
ff09cd4be6 Remove donate button from updatecheck dialog 2013-11-05 04:58:11 +00:00
Ansgar Becker
3dba742f2d Remove unused variable 2013-11-04 17:25:25 +00:00
Ansgar Becker
48ebd1e97a Introduce my own implementation of EncodeURLParam(), as TIdUri.EncodeParams does not encode + sign, and more. 2013-11-04 17:24:43 +00:00
Ansgar Becker
bf90f6664d Quote plink.exe path and file in SSH tunnel preparation, so spaces in the path do not break the CreateProcess call. See http://www.heidisql.com/forum.php?t=13794 2013-11-04 05:22:28 +00:00
Ansgar Becker
35b0c28fb3 Avoid server preselection to avoid unwanted connects. Fixes issue #3411. 2013-11-04 05:08:52 +00:00
Ansgar Becker
892d7a306a Remove some unused variables, which did not show up as I had disabled compiler hints. 2013-11-03 14:27:53 +00:00
Ansgar Becker
09c062af93 Remove some useless code from TMainForm.AnyGridGetHint, which checked whether the celltext was shortened. In fact the OnGetHint event is fired only if the text was shortened. 2013-11-03 14:23:30 +00:00
Ansgar Becker
beb0cf85b5 Same as in r4584: Select full row in table tools tree. 2013-11-03 13:36:33 +00:00
Ansgar Becker
7d67fd4bc0 Revert r4599 and fix a glitch in Tconnform.btnNewClick. Fixes issue #3408 , this time effectively. 2013-11-03 13:21:00 +00:00
Ansgar Becker
d7f74a4dc2 Include missing unit to silence compiler hint: "H2443 Inline function 'SmallPointToPoint' has not been expanded because unit 'System.Types' is not specified in USES list" 2013-11-02 07:07:17 +00:00
Ansgar Becker
c446229b8d Fix quick filters, broken with formatted numbers 2013-11-02 07:02:28 +00:00
Ansgar Becker
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
Ansgar Becker
c330f78514 Remove obsolete code 2013-11-01 15:18:32 +00:00
Ansgar Becker
5e9d3d828f Fix usage of no longer present constant, removed in previous commit. 2013-11-01 14:57:13 +00:00
Ansgar Becker
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
Ansgar Becker
abc81925e6 Update Cromis.DirectoryWatch unit to v1.3.0 from 21/07/2012. See http://www.cromis.net/blog/downloads/directory-watch/ 2013-11-01 07:01:33 +00:00
Ansgar Becker
6829cbf59c Update gettext unit, merge changes from http://sourceforge.net/p/dxgettext/code/45/tree/trunk/dxgettext/sample/gnugettext.pas 2013-11-01 06:46:40 +00:00
Ansgar Becker
821c6cb4db Fix various compiler warnings and notices 2013-11-01 06:17:52 +00:00
Ansgar Becker
7319d1b647 Prefer Delphi's various TGraphic descendants over the out-dated GraphicEx library. PNG images even show their transparency now. Removes support for the myriad of exotic image formats listed on http://www.delphi-gems.com/index.php/libs/graphicex-library 2013-11-01 06:07:51 +00:00
Ansgar Becker
0f2590c917 Prefer Delphi's new TZipFile class over mORMot's TZipWrite for creating zipped exports (issue #3354) 2013-10-31 20:19:22 +00:00
Ansgar Becker
6f8b388d9d Fix double line breaks in query result tab hint, caused by WrapText() which is unsuitable here. See issue #2014. 2013-10-30 05:37:04 +00:00
Ansgar Becker
736091a10f Fix EAccessViolation when freeing TQueryHistory instance, due to unassigned comparer. (wtf?) 2013-10-24 03:40:03 +00:00
Ansgar Becker
f8c4e53675 Fix compiler warning 2013-10-21 17:32:40 +00:00
Ansgar Becker
de1892464d Remove include file with entirely unused compiler defines. 2013-10-21 03:48:30 +00:00
Ansgar Becker
317bf5e88e Get code running in both XE + XE5 compilers:
* Conditionally including units does not really work, because of a IDE bug: http://stackoverflow.com/questions/13776195/how-to-conditionally-include-some-units . So, we define a unit alias for System.Actions in XE, which we do not need in XE5.
* Dynamically use the fitting numeric type per compiler for a TUpDown.OnChangingEx event.
2013-10-20 08:29:28 +00:00
Ansgar Becker
8a00f226ae Select full row in sessions list. Recent virtual tree update made selected node look a bit ugly otherwise. 2013-10-19 12:15:35 +00:00
Ansgar Becker
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
Ansgar Becker
dc1bf33ad4 Since recent update to VT 5.2.1 we need to initialize root nodes by hand for some reason. Fixes issue #3389. 2013-10-17 15:01:22 +00:00
Ansgar Becker
6ebb86ad07 * Update VirtualTree component code to 5.2.1 (r567)
* Add Delphi XE5 package
2013-10-16 19:17:23 +00:00
Ansgar Becker
17e4db7829 * Automatic additions by new SynEdit properties.
* Overtake renamed SynEdit properties
2013-10-16 18:24:01 +00:00
Ansgar Becker
db7af3139b Issue #3366: Do not set object as favorite when mouse moves from db to table node between mouse-down and mouse-up event. 2013-10-14 16:54:52 +00:00
Ansgar Becker
03022d276c Issue #3366: Enhance performance for internal favorites management. Let the connection hold its favorite list instead of reading it from registry in all places where we need them. 2013-10-14 04:38:40 +00:00
Ansgar Becker
a58c7850b0 Issue #3366: Enhance phrasing in favorite button 2013-10-13 19:22:58 +00:00
Ansgar Becker
9be1f9bd98 Issue #3366: Make state of "Favorites only" button persistent between sessions. 2013-10-13 17:27:58 +00:00
Ansgar Becker
580f7b7e87 Additional checks for Assigned() and <> nil in SetupSynEditors, to fix exceptions (in debug messages only?) 2013-10-13 10:51:31 +00:00
Ansgar Becker
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
Ansgar Becker
a5abab6ec8 Enable apply button when selecting alternating row colors. Fixes issue #3380. 2013-10-13 04:46:03 +00:00
Ansgar Becker
2b83aeafcb Restore vertical and horizontal scroll offset in table list after refreshing. Fixes issue #3379. 2013-10-12 05:20:58 +00:00
Ansgar Becker
6976f5a4e6 Extend MDAC hint for Wine users. Fixes issue #3377. 2013-10-11 03:57:12 +00:00
Ansgar Becker
24493f68aa Revert a part of r4529, as that broke using the right font name+size in preferences dialog (SQL tab). Fixes issue #3378. 2013-10-10 19:22:34 +00:00
Ansgar Becker
b6acb2b874 Restrict "Quick filters" > "More values" submenu to tables with less than 1GB of data, so we're not running into an endless query. For ENUM and SET columns in such large tables, display its value list at least. Fixes issue #3373. 2013-10-10 04:27:48 +00:00
Ansgar Becker
616f40b0ec Revert r4557, as EXCEPT operator does not support ORDER BY in both left and right query, which renders it useless for pagination. Also, EXCEPT is not supported by MSSQL 2000. Instead, refresh the whole grid result when paging through results. This works perfectly on all MSSQL versions, of course including a performance slow down on large results. Fixes issue #3364. 2013-10-10 03:48:31 +00:00
Ansgar Becker
a1fa32d7fe Support backticks in column names, key names and foreign key names, for the table designer. Fixes issue #2292. 2013-10-09 17:14:55 +00:00
Ansgar Becker
5dddfd1768 ExportStream is not assigned in all types of export targets, for example "clipboard". Do not determine filename in such cases. Fixes issue #3372. 2013-10-09 04:54:34 +00:00
Ansgar Becker
88456343ba Try to use EXCEPT clause on MSSQL table results, as a replacement for the non-existing LIMIT clause. See issue #3364. 2013-10-09 04:45:32 +00:00
Ansgar Becker
93d4b45722 Fix "save snippet" action, saving only selected text in all cases. Broken in r4539. 2013-10-08 04:35:40 +00:00