3094 Commits

Author SHA1 Message Date
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
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
6ebb86ad07 * Update VirtualTree component code to 5.2.1 (r567)
* Add Delphi XE5 package
2013-10-16 19:17:23 +00:00
17e4db7829 * Automatic additions by new SynEdit properties.
* Overtake renamed SynEdit properties
2013-10-16 18:24:01 +00:00
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
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
a58c7850b0 Issue #3366: Enhance phrasing in favorite button 2013-10-13 19:22:58 +00:00
9be1f9bd98 Issue #3366: Make state of "Favorites only" button persistent between sessions. 2013-10-13 17:27:58 +00:00
580f7b7e87 Additional checks for Assigned() and <> nil in SetupSynEditors, to fix exceptions (in debug messages only?) 2013-10-13 10:51:31 +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
a5abab6ec8 Enable apply button when selecting alternating row colors. Fixes issue #3380. 2013-10-13 04:46:03 +00:00
2b83aeafcb Restore vertical and horizontal scroll offset in table list after refreshing. Fixes issue #3379. 2013-10-12 05:20:58 +00:00
6976f5a4e6 Extend MDAC hint for Wine users. Fixes issue #3377. 2013-10-11 03:57:12 +00:00
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
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
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
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
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
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
93d4b45722 Fix "save snippet" action, saving only selected text in all cases. Broken in r4539. 2013-10-08 04:35:40 +00:00
fcf6a24f37 Make completion proposal usable for mouse users again, after mainform has focus again. Broken in r4530. See issue #2640. 2013-10-08 04:27:56 +00:00
fad0b5de50 Move non-visual components so they do not hide controls in the form designer 2013-10-07 17:20:59 +00:00
5e4fdfe803 Issue #3354: Give the temporary .sql file a more unique filename, and delete it after compressing. 2013-10-07 17:07:40 +00:00
6dd9e896f9 Revert r4538 (ctrl backspace bug), as this broke tabbing through grid cells. See issue #3168. 2013-10-07 16:56:04 +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
4fd427943c Fix uninitialized variable, causing compiler warning 2013-10-06 12:13:14 +00:00
8ccf465a7d Gracefully assume empty CellText when structures for ListVariables are not given. See http://www.heidisql.com/forum.php?t=13532 2013-10-04 16:46:54 +00:00
126a1e1c36 Do not LEFT(CAST(.. data type "image" in MSSQL. Fixes issue #3355. 2013-10-04 04:21:21 +00:00
f3106d1dce Auto-resize 2nd/"size" column of object tree on table tools dialog early. Fixes issue #3358. 2013-10-03 15:28:16 +00:00
76aa605d33 Shorten long SELECT query in data grid, using '*' when all columns are involved. 2013-10-03 04:16:39 +00:00
54a297f39b Fix back door introduced in r4523 2013-10-03 04:01:26 +00:00
087cf72a9c Apply database and table filter on a new connection. Fixes issue #3353. 2013-10-02 17:50:47 +00:00
6fa785c65c Sort snippet filenames manually before displaying in helper box. Seems file ordering is inconsistent between Windows version. Fixes issue #3351. 2013-10-02 16:01:14 +00:00
5832bf45b9 Using TDBQuery.ColAttributes() and TTableColumn.LengthSet in a query result does not work, as this relies on a previous SHOW CREATE TABLE parsing. Check PMYSQL_FIELD.length instead to return the correct zero-padded string bitmask for a BIT column. Fixes issue #2544. 2013-10-02 04:56:48 +00:00
47f555810a Use a standard TSaveDialog when storing a snippet file. Fixes issue #3346.
Also fixes "selection only" version of "Save snippet". Reuse code from actSaveSQLAs action.
2013-10-01 04:22:40 +00:00
ddaaa7b34e Get Ctrl+Backspace hotkey to work in grid inplace editor, by enabling autocompletion + autosuggestion. Fixes issue #3168. 2013-09-29 08:09:04 +00:00
b74f2c6fbb Trim clipboard contents for quick filter menu items. 2013-09-28 15:48:02 +00:00
c1cb73e36a Add missing event listeners to previously introduced edit box for snippets directory. 2013-09-28 10:05:31 +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
dd20574b3c Handle click events on donate button in a single procedure 2013-09-28 05:51:29 +00:00
2ea8a821e5 Attempt to fix issue #2640 again (AV on alt-tab when in popup editor), by disabling the completion form in ApplicationDeActivate event. Activate MainFormOnTaskBar again, which fixes issue #2351 (Windows Flip3D feature) and probably also issue #3342 (Alt-tab in Wine) 2013-09-25 04:21:46 +00:00
6c45158f31 Revert r4003, as issue #2651 could easily be caused by an assigned-check of FPreferencesDialog, which is freed in Toptionsform.FormClose in any case, but leaves the FPreferencesDialog assigned. 2013-09-24 22:07:17 +00:00
6091da3ed8 Ensure editDatabaseTableFilterChange is triggered when a db was expanded, which seems the missing event to get the table filter working again. Probably fixes issue #3313. 2013-09-24 18:52:52 +00:00
c53af6144e Always show the "Copy" tooltip when dragging sessions elsewhere, as we always copy by drag'n drop, never move. See http://www.heidisql.com/forum.php?t=13419 2013-09-22 12:00:36 +00:00
627f246f69 Load full row content before replacing text using the search+replace dialog on the data grid. Fixes issue #3252. 2013-09-22 05:27:57 +00:00
be10a6e9ed Disable grid in AnyGridBeforeCellPaint after TAdoDBQuery.SetRecNo detected a broken MSSQL connection. Hopefully fixes issue #3336. 2013-09-20 04:51:01 +00:00
49690324ba List recently active translators in about dialog. Also, read out credits from readme.txt, so I don't have to maintain that list in the TMemo, getting unwanted linefeeds whenever I'm saving it. 2013-09-19 04:26:02 +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
c1b1a5f52e Unescape default text value for a column when inserting a new grid row, so \r and \n and whatever does not get into a cell as a literal. Fixes issue #3283. 2013-09-14 15:27:44 +00:00