4339 Commits

Author SHA1 Message Date
1ec2b439a1 Issue #444: get quick filter items in "More values" working again without crash 2020-06-14 07:58:17 +02:00
e3f8b1a5b1 Play "Error" sound when executed file(s) had errors. See https://www.heidisql.com/forum.php?t=12800
Also, cancel execution of further files when user presses the cancel button
2020-06-13 11:15:08 +02:00
9fdbfe919e Add informative message in log panel after running SQL files, and play a short "OK" sound. This should probably be an "Error" sound when the file(s) had errors. See https://www.heidisql.com/forum.php?t=12800 2020-06-13 10:42:47 +02:00
0c55993fe1 Issue #338: reuse progress animation dialog when running multiple SQL files, and fix several focus stealing issues 2020-06-11 12:42:51 +02:00
1da3075a27 Forgotten file in previous commit (automatic "ImageName" addition) 2020-06-08 16:25:10 +02:00
3182107aff Automatic form additions, done by the new IDE: "ImageName". Related to #1052 2020-06-07 20:11:24 +02:00
407db4db81 Set new property ImageNameAvailable in virtual imagelist to false, so icons can still be found after switching to a non default icon set. Fixes toolbar without icons with Silk icons. Closes #1052 2020-06-07 20:04:32 +02:00
e251a0b4f8 Report portable environment in statistics call 2020-06-07 12:35:53 +02:00
714301679d Show tree lines in database tree, which may be helpful for a better overview 2020-06-06 13:35:29 +02:00
96c16f18a6 Safety assignment for connection otherwise created by command line. See https://stackoverflow.com/questions/21168998/why-does-assigned-return-true-for-uninitialized-variables 2020-06-04 21:20:52 +02:00
43a114c2cf Try to disable styles for madExcept window. Related to #887 2020-06-04 07:51:49 +02:00
c9135bd9d0 Issue #293: make warning threshold for number of grid rows customizable, in preferences dialog, on grid formatting tab 2020-05-30 09:10:23 +02:00
0339a09699 Issue #293: prevent long sort operation on header click in large query results 2020-05-30 08:30:07 +02:00
bca5270966 Report OS mode in statistics call 2020-05-21 22:34:01 +02:00
900e0dd119 Cast relpages to bigint, preventing out-of-range SQL error in PostgreSQL. Closes #1038 2020-05-20 12:12:02 +02:00
407d5ad3ed Issue #1028: Code cosmetic in TDBObject.GetTableColumns 2020-05-14 20:57:38 +02:00
6026d364ec Issue #1028: Optimize unused code in TDBConnection.GetDbObjects away, which looked for cached object lists which specific OnlyNodeType property, which we don't cache anyway 2020-05-14 20:51:00 +02:00
b45070e8c8 Issue #1028: Fix one-time recursion in TMySQLConnection.FetchDbObjects, caused by accessing InformationSchemaObjects, which in turn calls GetDBObjects and then again FetchDbObjects. More dramatically, this caused GetTableColumns to do an endless loop with two cache entries for "information_schema". This also fixes many of the v11.0 crashes in TAppSettings.PrepareRegistry, which were just a symptom of that endless loop. Thanks to als2020 on Github for pointing me in this direction. 2020-05-14 20:45:33 +02:00
7fbf88bebc Optimize SQL query in TDBConnection.GetTableForeignKeys. See https://www.heidisql.com/forum.php?t=36212 2020-05-14 19:36:21 +02:00
67b2f8194a Extend exception message with useful folder variable, in TAppSettings.PrepareRegistry, which I saw several times now in user reports, last time here: https://github.com/HeidiSQL/HeidiSQL/issues/1028#issuecomment-628131074 2020-05-13 20:57:53 +02:00
afe3342168 Reset session variables cache on database change, so "collation_database" is refreshed for creating a new table. Closes #1030 2020-05-13 08:10:05 +02:00
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
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
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
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
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
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
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
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
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
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
b6bc01fb68 Fix crash when disconnecting with an open query result 2020-04-28 17:34:22 +02:00
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
b2ed8023f6 Forgotten file change for previous commit. See https://www.heidisql.com/forum.php?t=36100 2020-04-24 14:38:22 +02:00
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
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
2fae5dd852 Add new advanced session option, for hiding databases via regular expression. Closes #387 2020-04-22 18:28:38 +02:00
62c0b8e43a Issue #126: fix wrong tab order on SQL tab in preferences dialog 2020-04-22 16:38:29 +02:00
40c1f4c03c #444: show initial captions and hints of TAction's on shortcut page in preferences dialog 2020-04-21 18:12:27 +02:00
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
cc161270c9 Fix crash when loading portable fails, when MessageDialog() itself crashes. See #1001 2020-04-20 09:11:58 +02:00
d316ec85c0 #444: turn first bunch of quick filter menu items into TAction's, with customizable shortcuts 2020-04-19 19:17:30 +02:00
dc054cc481 Fixing #327 2020-04-15 16:42:37 +02:00
91b012a996 Catch exception when mouse points to quick filters > More > ..., with an invalid active SQL filter 2020-04-15 16:36:15 +02:00
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
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
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
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
3a29a2086e Add option to support completion proposal with matching in middle of entered text. Closes #126 2020-04-12 15:03:47 +02:00
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