Commit Graph

6052 Commits

Author SHA1 Message Date
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
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