4934 Commits

Author SHA1 Message Date
0444ebbdb7 Issue #861: support hiding row id column through new preference checkbox 2023-10-12 07:27:00 +02:00
fa571f72da CSV scanner: fix crash when selected filename cannot be opened 2023-10-11 06:42:43 +02:00
62f27dbf0a Add code for TClipboardHelper.TryAsText, missing in previous commit 2023-10-10 17:23:46 +02:00
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
495ced5bae Issue #861: same style for row id column in grid and table editor 2023-10-10 06:42:52 +02:00
9f05f5ff8b Fix crash in various places where we just try to get the current clipboard text 2023-10-09 07:24:24 +02:00
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
4479f4f5d5 Fix crash "Cannot make a visible window modal" in actQueryFindReplaceExecute:8, found in uploaded reports. 2023-10-08 17:28:08 +02:00
11701d08aa Issue #861: fix wrong column index passed in UpdatePreviewPanel() 2023-10-08 17:20:48 +02:00
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
d014b66b62 Issue #861: fix wrong column index passed to HandleUnixTimestampColumn() 2023-10-08 12:42:01 +02:00
d4838e5198 Fix another bug after following a foreign key value, broken somewhere in issue #156 2023-10-08 12:22:56 +02:00
a3d0958ecb Issue #861: add a read-only #/rowid column as the first one in query and data grids 2023-10-08 12:05:24 +02:00
d28d03b6dd Highlight active tab of most page controls, by adding greyscale icons to image list and using these for all inactive tabs. See https://www.heidisql.com/forum.php?t=41323 2023-10-03 13:34:28 +02:00
5316e2c0da Issue #750: add Andi's reformatter on sqlformat.org as a third option to format the current SQL code 2023-10-02 18:18:01 +02:00
066ea65885 Fix rare crash in Tconnform.Modification, found in recently uploaded crash reports 2023-10-01 16:37:53 +02:00
55b08ca2e6 Suppress sporadic EAccessViolation on Wine in TMainForm.ShowStatusMsg 2023-10-01 08:23:10 +02:00
46c66a1fae Forgotten file for previous commit. See https://www.heidisql.com/forum.php?t=41310 2023-10-01 07:42:35 +02:00
1558bc597f Add context menu on data grid header with "Query exact row count" item, querying SELECT COUNT(*) on the underlying table. See https://www.heidisql.com/forum.php?t=41310 2023-09-30 12:32:46 +02:00
b440f6c34d Issue #1833: update vcl-styles-utils from current master branch on RRUZ/vcl-styles-utils 2023-09-28 20:24:09 +02:00
02d2a62daa Issue #1833: remove Vcl.Styles.UxTheme and Vcl.Styles.Utils.Menus from uses clause, keep only Vcl.Styles.Utils.Forms (required for correct themed background color on SynMemo's) 2023-09-28 20:21:52 +02:00
0be3f8a410 Issue #750:
* move code from apphelpers.ReformatSQL to reformatter.ReformatInternal
* remember last used formatter
* use ReformatInternal in texteditor (as previously ReformatSQL)
* display HTTP response content in error dialog (EIdHTTPProtocolException.ErrorMessage)
2023-09-24 18:59:21 +02:00
9e3bb2e51e Issue #750: experimental support for reformatting SQL code per online API, using the engine from https://github.com/doctrine/sql-formatter/ 2023-09-24 13:23:00 +02:00
ee6eea0d20 Fix wrong comparison of table and org_table of PMYSQL_FIELD structure, again. Reverts d512e890e024c51d61545960294fd011dbda376f. Closes #1854 2023-09-23 12:44:42 +02:00
e064570a8c TDBQuery.HasFullData: Additional test if column name contains a known LEFT or SUBSTR function. Fixes #1850, at least if the original column names are provided by the library. 2023-09-16 11:55:17 +02:00
dbd5ea9fff Code refactor: move common initialization stuff from 5 derived classes to their parent TDBConnection.Query 2023-09-11 18:37:41 +02:00
587c88e574 Translation fixes: remove various unused strings, fix some wrong spelled strings, add some missing strings 2023-09-10 14:22:52 +02:00
5bfafde5c4 Issue #872: fix crash when opening a table with columns defined as INVISIBLE, and ensure such columns are selected and visible in the data grid 2023-08-29 13:42:08 +02:00
95e9e3e7e6 Attempt to fix crash in TMainForm.SessionConnect when current session is disconnected. See https://www.heidisql.com/forum.php?t=41174 2023-08-15 07:03:01 +02:00
f4a41cd45d Unquote column names from user GRANT before displaying them. Saving the GRANT quotes it again. See https://www.heidisql.com/forum.php?t=41140 2023-07-22 12:01:23 +02:00
4a45341559 Issue #1795: remove menu items and code for explain analyzer on mariadb.org, which is no longer available 2023-07-15 14:30:39 +02:00
d512e890e0 Fix wrong comparison of table and org_table in PMYSQL_FIELD. Found while looking for the cause of issue #1818 2023-05-31 17:23:15 +02:00
7d9f59381f Support serial columns in Posgres, which is different from auto_increment on MySQL. Affects grid editing and table designer. Closes #279 2023-05-13 10:03:07 +02:00
ac9028c627 Set minimum dimensions in SQL help dialog, to prevent the user from resizing the panels up to an unusable state. Closes #1805 2023-05-10 06:47:00 +02:00
184b064f1b Sequal suggest:
* add combo box with recent prompts
* add Sequal logo with link in lower corner of dialog
* remove port number from API url
* unify user agent
* remember form dimensions and last prompt
2023-05-08 07:10:31 +02:00
d5acd1358a Basic implementation of Sequal Suggest as a dialog, under Tools. For generating SQL queries through natural language. 2023-05-01 16:08:12 +02:00
6c7f80ab62 Issue #1800: wrap column default expression in parentheses on MySQL v8.0.13+ when altering a table 2023-04-28 19:00:52 +02:00
8f2e761828 Issue #1800: attempt to distinguish text values from function expressions in a column's default value, for MySQL 8.0.13+ which seems to allow just all functions as default value. 2023-04-28 14:44:54 +02:00
2a28d39b3e Do not cut trailing zeros in scientific values like 2.0e30 => 2.0e3. Closes #1793 2023-04-07 10:32:49 +02:00
d9d1f26278 Auto detect need to create HTML clipboard header, remove CreateHTMLHeader parameter from StreamToClipboard() 2023-04-06 08:07:58 +02:00
85928522cf Refactor HTML clipboard code. See https://www.heidisql.com/forum.php?t=9893 2023-03-30 07:35:44 +02:00
a7d76c0916 Make HTML export format compatible to Google Chrome. See https://www.heidisql.com/forum.php?t=9893 2023-03-29 21:38:24 +02:00
82b1a0fe8f Support ON UPDATE SET DEFAULT and the same for ON DELETE in PostgreSQL foreign keys. See https://www.heidisql.com/forum.php?t=40413 2023-03-06 20:12:13 +01:00
0fedb314eb Issue #1771: add additional sleep time between SSH process checks, so it does not matter when WaitForSingleObject does not really wait (on Wine) 2023-03-01 09:17:28 +01:00
603e162ba7 Issue #1771: prefer a larger SSH process check interval for larger timeouts (timeout:4s => check interval:400ms), and log process exit code each interval. 2023-02-28 05:50:36 +01:00
bff590e26c Auto-set the first SSH executable from the dropdown when user activates SSH tunnel checkbox. See https://www.heidisql.com/forum.php?t=40399 2023-02-27 20:34:02 +01:00
082574d340 Support canceling SQL export before a table's data has been completed. Closes #1516 2023-02-27 19:44:59 +01:00
695a26eaf3 Ensure max INSERT setting is an Int64, so a huge value does not wrap into a negative value. See https://www.heidisql.com/forum.php?t=40393 2023-02-27 19:40:13 +01:00
ab8a4ea9b1 Turn crash into error dialog, on search and replace dialog, when regular expression is invalid 2023-02-08 20:49:30 +01:00
616c49c227 Issue #1226: switch back to TSynHotKey again, after using THotKey in shortcut customizer since b4926f3f579c9d82981dea59a0785dd31c040b01 . Fixes non assignable Enter and Del hotkeys, probably more. This time we don't touch the original TSynHotKey for custom fixes, but through the new TExtSynHotKey. 2023-02-05 15:21:49 +01:00