Commit Graph

6139 Commits

Author SHA1 Message Date
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
Ansgar Becker
d4838e5198 Fix another bug after following a foreign key value, broken somewhere in issue #156 2023-10-08 12:22:56 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
066ea65885 Fix rare crash in Tconnform.Modification, found in recently uploaded crash reports 2023-10-01 16:37:53 +02:00
Ansgar Becker
55b08ca2e6 Suppress sporadic EAccessViolation on Wine in TMainForm.ShowStatusMsg 2023-10-01 08:23:10 +02:00
Ansgar Becker
46c66a1fae Forgotten file for previous commit. See https://www.heidisql.com/forum.php?t=41310 2023-10-01 07:42:35 +02:00
Ansgar Becker
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
Ansgar Becker
b440f6c34d Issue #1833: update vcl-styles-utils from current master branch on RRUZ/vcl-styles-utils 2023-09-28 20:24:09 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
ee6eea0d20 Fix wrong comparison of table and org_table of PMYSQL_FIELD structure, again. Reverts d512e890e0. Closes #1854 2023-09-23 12:44:42 +02:00
Ansgar Becker
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
Ansgar Becker
dbd5ea9fff Code refactor: move common initialization stuff from 5 derived classes to their parent TDBConnection.Query 2023-09-11 18:37:41 +02:00
Ansgar Becker
587c88e574 Translation fixes: remove various unused strings, fix some wrong spelled strings, add some missing strings 2023-09-10 14:22:52 +02:00
Ansgar Becker
122663d88b Find unused translation strings in po file 2023-09-09 12:05:07 +02:00
Ansgar Becker
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
Ansgar Becker
bab877d264 Update SQLite libraries to v3.43.0 2023-08-25 09:09:47 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
e2f681e80e update OpenSSL libraries used by libpq-15.dll to v3.1.1, taken from http://wiki.overbyte.eu/wiki/index.php/ICS_Download#Download_OpenSSL_Binaries_.28required_for_SSL-enabled_components.29 . Closes #1829 2023-07-15 14:03:39 +02:00
Ansgar Becker
b0e2ef2783 Upgrading to new compiler/Delphi version 11.3.
Remove workaround for a VCL bug in TVirtualImageList.DoDraw, as https://quality.embarcadero.com/browse/RSP-29438 was fixed for Delphi 11.3
2023-07-15 12:16:51 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
9a1643520d Bump version for v12.5 release 12.5 2023-05-08 18:09:19 +02:00
Ansgar Becker
e42a4f3289 Sequal suggest: fix wrong library file names in installer script 2023-05-08 07:16:36 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
8e256f20b8 Issue #1800: add missing CURDATE function definition to functions-mysql.ini 2023-04-28 07:44:29 +02:00
Ansgar Becker
cb663d3de9 Issue #1784: update OpenSSL libraries used by libpq-15.dll to v3.1.0, taken from http://wiki.overbyte.eu/wiki/index.php/ICS_Download#Download_OpenSSL_Binaries_.28required_for_SSL-enabled_components.29 2023-04-10 09:50:59 +02:00
Ansgar Becker
2a28d39b3e Do not cut trailing zeros in scientific values like 2.0e30 => 2.0e3. Closes #1793 2023-04-07 10:32:49 +02:00
Ansgar Becker
d9d1f26278 Auto detect need to create HTML clipboard header, remove CreateHTMLHeader parameter from StreamToClipboard() 2023-04-06 08:07:58 +02:00
Ansgar Becker
85928522cf Refactor HTML clipboard code. See https://www.heidisql.com/forum.php?t=9893 2023-03-30 07:35:44 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
082574d340 Support canceling SQL export before a table's data has been completed. Closes #1516 2023-02-27 19:44:59 +01:00
Ansgar Becker
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