Commit Graph

6084 Commits

Author SHA1 Message Date
Ansgar Becker
efb46314fc Fix EAccessViolation in TMainForm.DBtreeFocusChanged:124 2023-10-31 17:29:38 +01:00
Ansgar Becker
a3f99e4f0f SQL export: do DROP VIEW/TABLE/... only in first export pass, not even in the second one where we convert tables to views. In the second pass the original view is definitely dropped and DROP VIEW on the temp table generates an "xyz is not view" error on MySQL 8. Closes #752 . 2023-10-31 17:10:16 +01:00
Ansgar Becker
38a9c157f7 Issue #1863: simplify GetExecutableBits with a simple compiler conditional, which should not even fail on Wine 2023-10-31 16:33:58 +01:00
Ansgar Becker
7c406c1f2b Fix sporadic crash with focused Host tab while connecting to another session 2023-10-30 12:23:11 +01:00
Ansgar Becker
38788e432d Add right-click option for MultiLine property of PageControlMain, for users preferring tabs in one line 2023-10-27 13:08:01 +02:00
Ansgar Becker
6f909b52b7 Provide custom background color in very first "Custom" item of background selector 2023-10-25 07:45:50 +02:00
Ansgar Becker
8d4dbfe165 Fix crash in TMainForm.DBtreeGetText happening while connecting through SSH tunnel 2023-10-25 07:44:12 +02:00
Ansgar Becker
70897e6d98 Catch OLE exception when provider names cannot be listed 2023-10-25 07:36:05 +02:00
Ansgar Becker
3cdb86eefa Fix crash after reconnect, when query helpers' functions are collapsed 2023-10-25 07:09:52 +02:00
Ansgar Becker
89b3fcbbdb Fix crash in printer dialog, when printer is somehow not available 2023-10-25 06:57:38 +02:00
Ansgar Becker
b276609e5c Fix compiler warnings, broken in 2ef4662b48 2023-10-24 06:54:26 +02:00
Ansgar Becker
acbfaee004 Issue #861: Fix crash when leaving application, broken in previous commit. 2023-10-24 06:29:57 +02:00
Ansgar Becker
bef9488b71 Issue #861: use session background color for row id column 2023-10-24 06:22:45 +02:00
Ansgar Becker
2ef4662b48 Catch additional EReadError crash in RunQueryFile 2023-10-23 21:08:09 +02:00
Ansgar Becker
904274d521 Issue #1640: Attempt to fix crash in MouseUp event of query tab close button, through closing/freeing the tab and button through a timer event 2023-10-23 20:33:40 +02:00
Ansgar Becker
084faa3d6a Leave SQL help buttons always enabled and let the error dialog tell the user when the server does not support the HELP command 2023-10-22 17:11:46 +02:00
Ansgar Becker
39817f2cce Fix crash when user clicks Help button on maintenance dialog, in a non-MySQL session 2023-10-22 12:23:35 +02:00
Ansgar Becker
3651da00bf Fix EAccessViolation in TMainForm.AnyGridGetText:5 2023-10-22 11:46:29 +02:00
Ansgar Becker
82567b0c09 Catch different EInOutError exception happening in rare cases of ForceDirectories() 2023-10-22 11:39:45 +02:00
Ansgar Becker
63d0e7b942 Fix EAccessViolation in TMainForm.DBtreeGetText:12 2023-10-22 11:28:22 +02:00
Ansgar Becker
ad0305c574 Fix EAccessViolation in TDBObject.GetImageIndex:6 2023-10-22 11:13:46 +02:00
Ansgar Becker
dead25d63c Silence sporadic EAccessViolation in DBtreeBeforeCellPaint, when reading DbObj.Connection.Parameters, found in uploaded reports 2023-10-22 10:57:27 +02:00
Ansgar Becker
99fdbe8b4b Issue #1863: prevent remaining 4 SendMessage calls in Wine 2023-10-22 10:16:43 +02:00
Ansgar Becker
f274022f1b Issue #1863: prevent from SendMessage in StatusBarMouseMove within Wine 2023-10-20 15:24:47 +02:00
Ansgar Becker
5f58608e90 Issue #1863: add missing PMYSQL_LENGTHS type, and use this for the result of mysql_fetch_lengths(). Replacing and fixing an issue broken since 2009 in c0a9b63f98 2023-10-20 12:59:47 +02:00
Ansgar Becker
ab33f73d07 Fix crash when trying to stop current query and the helper connection cannot connect for some reason. 2023-10-20 07:14:35 +02:00
Ansgar Becker
0c94e93198 Issue #1863: attempt to fix a Wine crash in TMySQLQuery.SetRecNo 2023-10-20 06:55:55 +02:00
Ansgar Becker
66d4e2051e Try to fix another crash in DBtreeFocusChanged (FActiveObjectGroup := ParentDBObj.GroupType) 2023-10-19 19:43:46 +02:00
Ansgar Becker
f4adbc7faa Silence a popular crash in DBtreeFocusChanged, when trying to detect whether the user clicked into a different session 2023-10-19 19:29:31 +02:00
Ansgar Becker
e36a8d7201 Issue #1863: catch any exception in GetExecutableBits. PImageNtHeaders.Signature does not seem to be accessible on Wine. 2023-10-19 19:12:51 +02:00
Ansgar Becker
aea26ae5f0 Another attempt to fix a crash on Wine in TMainForm.ShowStatusMsg, now by preventing immediate repaint. SendMessage does not raise exceptions. 2023-10-16 21:56:00 +02:00
Ansgar Becker
19fa0c13b9 Fix crash in highlighter customizer, as long as no attribute is selected 2023-10-16 21:36:45 +02:00
Ansgar Becker
afa387ab87 Fix crash on user manager, with recently updated VirtualTrees code, in .ReinitNode() while tree is yet invisible 2023-10-16 20:59:06 +02:00
Ansgar Becker
da4a327eee Fix sporadic crashes in various calls to [TWinControl].SetFocus, with the new class helper .TrySetFocus 2023-10-16 20:50:10 +02:00
Ansgar Becker
79962b03fc Remove ineffective/unused toVariableNodeHeight from TreeOptions.MiscOptions of data and query grids, as this triggers a ReinitNode in the recently updated VirtualTrees code. See SetMiscOptions(). 2023-10-15 13:05:28 +02:00
Ansgar Becker
05a3e5df9a Update VirtualTrees component code to release v7.6.5a 2023-10-15 11:19:09 +02:00
Ansgar Becker
de51a4bace Fix non-grayscale icon on table editor tab while query tab is active. Related to https://www.heidisql.com/forum.php?t=41323 2023-10-13 08:22:55 +02:00
Ansgar Becker
26df75b01e Fix wrong column index passed in actDataInsertExecute(). Closes #1861 2023-10-13 06:37:57 +02:00
Ansgar Becker
2f44c9a11c Create a separate option to enable/disable middle-click for tab closing. See https://www.heidisql.com/forum.php?t=41347 2023-10-12 19:25:07 +02:00
Ansgar Becker
0444ebbdb7 Issue #861: support hiding row id column through new preference checkbox 2023-10-12 07:27:00 +02:00
Ansgar Becker
fa571f72da CSV scanner: fix crash when selected filename cannot be opened 2023-10-11 06:42:43 +02:00
Ansgar Becker
62f27dbf0a Add code for TClipboardHelper.TryAsText, missing in previous commit 2023-10-10 17:23:46 +02:00
Ansgar Becker
86a8840cc0 Introduce TClipboardHelper.TryAsText, suppressing crashes when the OS blocks access to the clipboard. Replaces my previous GetClipboardAsText implementation. 2023-10-10 07:12:15 +02:00
Ansgar Becker
495ced5bae Issue #861: same style for row id column in grid and table editor 2023-10-10 06:42:52 +02:00
Ansgar Becker
9f05f5ff8b Fix crash in various places where we just try to get the current clipboard text 2023-10-09 07:24:24 +02:00
Ansgar Becker
2d648c60bb Issue #861: fix crash in data grid when row id column has focus, and ensure that column never gets focus 2023-10-09 06:51:59 +02:00
Ansgar Becker
4479f4f5d5 Fix crash "Cannot make a visible window modal" in actQueryFindReplaceExecute:8, found in uploaded reports. 2023-10-08 17:28:08 +02:00
Ansgar Becker
11701d08aa Issue #861: fix wrong column index passed in UpdatePreviewPanel() 2023-10-08 17:20:48 +02:00
Ansgar Becker
b631bf1a93 Try to fix a crash in TMainForm.DBtreeFocusChanged:90, reported several times per upload, happening directly after connecting to a second session. 2023-10-08 16:07:25 +02:00
Ansgar Becker
d014b66b62 Issue #861: fix wrong column index passed to HandleUnixTimestampColumn() 2023-10-08 12:42:01 +02:00