Commit Graph

6139 Commits

Author SHA1 Message Date
Ansgar Becker
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
Ansgar Becker
fad0b5de50 Move non-visual components so they do not hide controls in the form designer 2013-10-07 17:20:59 +00:00
Ansgar Becker
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
Ansgar Becker
6dd9e896f9 Revert r4538 (ctrl backspace bug), as this broke tabbing through grid cells. See issue #3168. 2013-10-07 16:56:04 +00:00
Ansgar Becker
5c1a0a6e4c Introduce compressed .sql file export. Using SynZip unit from mORMot framework. Fixes issue #3354. 2013-10-07 04:32:20 +00:00
Ansgar Becker
4fd427943c Fix uninitialized variable, causing compiler warning 2013-10-06 12:13:14 +00:00
Ansgar Becker
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
Ansgar Becker
126a1e1c36 Do not LEFT(CAST(.. data type "image" in MSSQL. Fixes issue #3355. 2013-10-04 04:21:21 +00:00
Ansgar Becker
dbcbb09186 Add missing Russion translator 2013-10-03 18:53:04 +00:00
Ansgar Becker
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
Ansgar Becker
7802e2f0ec Prepare 8.1 release 8.1 2013-10-03 05:08:40 +00:00
Ansgar Becker
76aa605d33 Shorten long SELECT query in data grid, using '*' when all columns are involved. 2013-10-03 04:16:39 +00:00
Ansgar Becker
54a297f39b Fix back door introduced in r4523 2013-10-03 04:01:26 +00:00
Ansgar Becker
087cf72a9c Apply database and table filter on a new connection. Fixes issue #3353. 2013-10-02 17:50:47 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
b74f2c6fbb Trim clipboard contents for quick filter menu items. 2013-09-28 15:48:02 +00:00
Ansgar Becker
c1cb73e36a Add missing event listeners to previously introduced edit box for snippets directory. 2013-09-28 10:05:31 +00:00
Ansgar Becker
40ec000957 Make snippets directory customizable. Fixes issue #3276 2013-09-28 10:00:52 +00:00
Ansgar Becker
e3da264b08 Fix exception in ReadTextfileChunk when file has 0 bytes. 2013-09-28 09:56:44 +00:00
Ansgar Becker
dd20574b3c Handle click events on donate button in a single procedure 2013-09-28 05:51:29 +00:00
Ansgar Becker
3b1727f5f2 Downgrade libmysql.dll to a MariaDB-5.3.12 version. Fixes issue #3343 ("malformed packet" on LOAD DATA). All 5.5 versions seem to be affected, not so 5.3.x.
Required tests for the next time I'm updating libmysql.dll:
* Ensure LOAD DATA LOCAL INFILE works, and does not throw SQL error 2027/malformed packet
* Ensure it's a .dll from the 32bit server version
* Ensure it's a MariaDB version, so pluggable authentication still works
* This report is most probably obsolete: http://www.heidisql.com/forum.php?t=8568
2013-09-26 17:39:59 +00:00
Ansgar Becker
0e02e6c93a Update libmysql again with a version from MariaDB 5.5.33a. Fix SQL error 2027 "malformed packet", when firing LOAD DATA command. See http://www.heidisql.com/forum.php?t=13454 and issue #3262. 2013-09-26 08:12:40 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
5573d868f3 Update libmysql to a 5.5.32 version from the current stable MariaDB release. Fixes issue #3262. 2013-09-14 11:39:26 +00:00
Ansgar Becker
fdca39e00d Route donate link in installer to the right url. 2013-09-14 08:23:08 +00:00
Ansgar Becker
7ddd451347 Issue #3334: Revert previous commit. Assume false (not unset) if no donator email given. This way, we can gracefully disable donate buttons if webpage check was unsuccessful. 2013-09-14 05:31:06 +00:00
Ansgar Becker
3bee836933 Issue #3334: FHasDonatedDatabaseCheck flag must be true, otherwise all empty email addresses would return true. 2013-09-14 05:16:07 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
37487e821a Remove unused uses clause. 2013-09-11 20:14:09 +00:00
Ansgar Becker
74ca351be6 Add donate button to 3 places:
* main toolbar
* about dialog
* updatecheck dialog
2013-09-11 20:11:25 +00:00
Ansgar Becker
fc68ab5cae Revert r4357 (add database name in GetCreateViewCode), to fix issue #3329 (view export includes superfluous database name). Issue #3098 is still fixed, by the later r4479 (get view columns from IS.COLUMNS). 2013-09-11 04:26:35 +00:00
Ansgar Becker
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
Ansgar Becker
78a47a9327 Be more verbose in RunQueryFile(), on the progress dialog. 2013-09-08 05:40:14 +00:00
Ansgar Becker
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
Ansgar Becker
7e9c433bf0 Prefer Windows.GetCommandLine over ParamStr() when parsing command line parameters. ParamStr() removes double quotes. 2013-09-07 11:46:58 +00:00
Ansgar Becker
1006dbda2c TJumpList.Apply seems to trigger "Access denied" exceptions in some cases. Log these in the log panel, but do nothing when that happens. See http://www.heidisql.com/forum.php?t=13339 2013-09-06 06:53:21 +00:00
Ansgar Becker
d9634ca762 Commit new file, forgotten in previous commit. 2013-09-05 08:38:01 +00:00
Ansgar Becker
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