Commit Graph

5018 Commits

Author SHA1 Message Date
Ansgar Becker
883c5287e6 Issue #1028: Compatibility to old MySQL 4.x servers where SHOW FULL COLUMNS did not yet have "Collation" and "Comment" columns. 2020-05-13 08:08:31 +02:00
Ansgar Becker
3eb3480e1c Get rid of global esc() function (which always refers to MainForm.ActiveConnection) and prefer the method's or unit's connection object instead 2020-05-10 13:41:15 +02:00
Ansgar Becker
9c810ccbc5 Do not create date/time cell editor without a column object (on joins), prefer ordinary text editor in such cases. Fixes a crash when determining the exact format of the underlying column. Closes #1024 2020-05-08 08:06:02 +02:00
Ansgar Becker
fb41077613 Stop showing a length for MySQL/MariaDB data types which don't support it. Even leave the length away for TEXT + BLOB types if it's the maximum (default) value. Closes #1023 2020-05-07 18:32:15 +02:00
Ansgar Becker
ee90332a8a Issue #1017: Not sure if this Handled variable is False anyway, but probably not, in which case this should help to not eat more shortcuts than required. 2020-05-05 19:16:39 +02:00
Ansgar Becker
fdbac13a67 Include invisible mother query grid when applying custom font name + size, so TResultTab.Create copies the updated values. See https://www.heidisql.com/forum.php?t=36177 2020-05-04 20:53:03 +02:00
Ansgar Becker
53d0316144 Fix detection of UNSIGNED flag on *INT columns without length (MySQL 8 only?). See https://www.heidisql.com/forum.php?t=36170 2020-05-04 16:56:24 +02:00
Ansgar Becker
579d6f34dc Do not override custom keep alive value of "0" with the default "20". See https://www.heidisql.com/forum.php?t=36139 2020-05-03 11:38:03 +02:00
Ansgar Becker
821fe9f9cb Enable "Windows authentication" checkbox for MySQL and MariaDB, and send current Windows username if checked. Closes #991 2020-05-01 11:34:57 +02:00
Ansgar Becker
4ef0ac952c Silence SQL errors in TPgConnection.GetTableForeignKeys on pre-v9 servers, which do not support STRING_AGG(). See https://www.heidisql.com/forum.php?t=36149 2020-05-01 11:17:44 +02:00
Ansgar Becker
b6bc01fb68 Fix crash when disconnecting with an open query result 2020-04-28 17:34:22 +02:00
Ansgar Becker
97fc069578 Set callback for SQLite's callback_needed event, and implement both required callback procedures. Fixes "No such collation sequence: xyz" when inserting or deleting rows in tables using some unknown collation. Closes #1000. 2020-04-25 22:05:28 +02:00
Ansgar Becker
b2ed8023f6 Forgotten file change for previous commit. See https://www.heidisql.com/forum.php?t=36100 2020-04-24 14:38:22 +02:00
Ansgar Becker
849a50c4f3 Make regular expressions for detecting attributes in EXTRA column of IS.COLUMNS slightly more lose, so a "default_generated" does not break detection of "on update ...". Also allow case insensitive searching. See https://www.heidisql.com/forum.php?t=36100 2020-04-23 20:37:24 +02:00
Ansgar Becker
5e2d6b3c93 Apply Modified event handler to some checkboxes on the preferences where this was missing. Closes #1005 2020-04-23 18:08:02 +02:00
Ansgar Becker
2fae5dd852 Add new advanced session option, for hiding databases via regular expression. Closes #387 2020-04-22 18:28:38 +02:00
Ansgar Becker
62c0b8e43a Issue #126: fix wrong tab order on SQL tab in preferences dialog 2020-04-22 16:38:29 +02:00
Ansgar Becker
40c1f4c03c #444: show initial captions and hints of TAction's on shortcut page in preferences dialog 2020-04-21 18:12:27 +02:00
Ansgar Becker
114b92d27a #444: turn remaining quick filter menu items into TAction's, with customizable shortcuts only for the most important ones 2020-04-21 18:03:22 +02:00
Ansgar Becker
cc161270c9 Fix crash when loading portable fails, when MessageDialog() itself crashes. See #1001 2020-04-20 09:11:58 +02:00
Ansgar Becker
d316ec85c0 #444: turn first bunch of quick filter menu items into TAction's, with customizable shortcuts 2020-04-19 19:17:30 +02:00
nummacway
dc054cc481 Fixing #327 2020-04-15 16:42:37 +02:00
Ansgar Becker
91b012a996 Catch exception when mouse points to quick filters > More > ..., with an invalid active SQL filter 2020-04-15 16:36:15 +02:00
Ansgar Becker
faaf1e29f9 Issue #819: add examples to some of the regular expression shorthands, and add \x for hex codes 2020-04-14 18:08:01 +02:00
Ansgar Becker
df0ab05be4 Issue #819: add two buttons right besides search and replace combo boxes, with a dropdown menu containing clickable hints on regular expression qualifiers 2020-04-14 17:48:27 +02:00
Ansgar Becker
ef4bdd9c55 Issue #819: extend hint for regular expression search/replace mode with \l \L \u and \U modifiers 2020-04-13 20:10:26 +02:00
Ansgar Becker
cedf8359ad Issue #819: extend hint for regular expression search/replace mode, as we now support uppercase replacements 2020-04-13 13:20:54 +02:00
Ansgar Becker
3a29a2086e Add option to support completion proposal with matching in middle of entered text. Closes #126 2020-04-12 15:03:47 +02:00
Ansgar Becker
099d553a05 #982: Add "Reformat SQL" menu item to view editor, and all other editors with a code editor. 2020-04-11 13:41:38 +02:00
Ansgar Becker
12606e7de3 Store last used database directly, not only when closing a session. Closes #983 2020-04-11 13:34:17 +02:00
Ansgar Becker
ac4dfacd74 Catch sporadic exceptions thrown in mysql_close() with libmysql-6.1.dll, see #980 2020-04-10 12:58:57 +02:00
Ansgar Becker
f2c6bb713a Add support for -db/--databases command line parameter. Closes #977 2020-04-09 19:49:35 +02:00
Ansgar Becker
2b07c279eb Add context menu on foreign key list header. See https://www.heidisql.com/forum.php?t=36014 2020-04-09 19:38:22 +02:00
Ansgar Becker
4470ca6c05 Issue #977: pass value of -p command line argument to the connection even when it's "0", to override TConnectionParameters.DefaultPort 2020-04-09 18:13:53 +02:00
Ansgar Becker
f11a81e3b5 Issue #977: Support -l/--library command line parameter, and provide short parameters for sslprivatekey, sslcacertificate, sslcertificate, sslcipher and cleartextenabled 2020-04-09 14:55:01 +02:00
Ansgar Becker
221196c274 Paint session background color in session manager's tree view 2020-04-06 11:59:57 +02:00
Ansgar Becker
11e45ad1f8 Trigger auto-resize of buttons also when form gets resized. See https://www.heidisql.com/forum.php?t=35862 2020-04-06 09:16:12 +02:00
Ansgar Becker
45847ec7b9 Add "Show SQL completion proposal" action and menu item, to support customizing its shortcut through the preferences dialog. Closes #972 2020-04-05 13:06:34 +02:00
Ansgar Becker
4bbe7b789e Auto-resize width of bottom right buttons on session manager, to make room for longer translations. See https://www.heidisql.com/forum.php?t=35862 2020-04-05 10:49:54 +02:00
Ansgar Becker
24ebc91b84 Fix unquoted column default text values for MariaDB servers prior to 10.2.1. Closes #971 2020-04-01 15:42:24 +02:00
Ansgar Becker
ee4ef09336 Catch SQL errors happening in PlaceObjectEditor in click on table. Closes #969 2020-04-01 09:43:33 +02:00
Ansgar Becker
c67ba1afd3 Issue #692: support urls in grid cells starting with "www.", which are accepted by web browsers 2020-04-01 09:22:50 +02:00
Ansgar Becker
5c50d9be43 Limit incremental search using keyboard to expanded/visible nodes in query helpers only. Closes #961 2020-03-28 11:03:33 +01:00
Ansgar Becker
a343c1359f Reset query tab's internal uid when clearing it, so a unloaded first tab does not get reloaded on next application start. See https://www.heidisql.com/forum.php?t=35851 2020-03-26 17:53:17 +01:00
Ansgar Becker
f241e4b69e Override "main" database name with custom one. Closes #948 2020-03-26 12:20:32 +01:00
Ansgar Becker
08597e18a8 Issue #935: cancel editing in grids other than query result grids, when main page control tab changes. Fixes crash when changing tab while editing a column via table editor. 2020-03-26 11:33:06 +01:00
Ansgar Becker
9584479598 Fix crash after disconnecting from last session while query helpers "Columns in x" node is expanded 2020-03-26 07:00:59 +01:00
Ansgar Becker
f114ff47d8 Set busy timeout for SQLite connections. Closes #947 2020-03-24 18:00:14 +01:00
Ansgar Becker
843e462a8a Issue #946: integrate context menu items for attaching and detaching SQLite databases into the current session 2020-03-24 17:53:22 +01:00
Ansgar Becker
a69b600e68 Issue #947: throw errors when SQLite query returned an error code, and format SQL errors 2020-03-24 17:09:30 +01:00