Commit Graph

5018 Commits

Author SHA1 Message Date
Ansgar Becker
bd8cc07bc8 Add presets dropdown for quick selection of grid text colors, with light, dark, black and white presets. 2018-12-30 14:46:59 +01:00
Ansgar Becker
0d626096b3 Remove no longer used constant FORMS_DPI 2018-12-30 12:50:09 +01:00
Ansgar Becker
aaa78ed708 Realign checkboxes and other controls on preferences dialog, so all tabs have the same horizontal column layout (8px + 191px). Requires to shorten some labels. 2018-12-30 12:48:30 +01:00
Ansgar Becker
7417cf003f Modify declaration of mysql_options() API method, so its second parameter is guaranteed to be a 32bit integer. Fixes failures when setting MYSQL_PLUGIN_DIR in 64bit mode. Closes #163. 2018-12-28 20:15:30 +01:00
Ansgar Becker
07a0c30560 Make detection of current editor in save-to-file action a bit more stable. Closes #353 2018-12-26 19:31:02 +01:00
Ansgar Becker
39f06c849e Pressing enter in query editor with opened proposal dropdown with an underlying identifier, containing a quote char to the left, quoted that quote again, resulting in a quote mess. Change that behavior and tell HeidiSQL to force quoting if the left char is a quote. Closes #6. 2018-12-25 12:13:24 +01:00
Ansgar Becker
d6fb9e46ac Fix crash when trying to run explain analyzer for an invalid SQL query. Closes #194 2018-12-24 15:09:05 +01:00
Ansgar Becker
b41baac3a8 Rephrase default names of "MySQL *" network types to "MariaDB or MySQL *" 2018-12-24 14:41:49 +01:00
Ansgar Becker
7093bf2322 Fix wrong width/height of trigger body editor in high-dpi mode. Closes #420 2018-12-24 14:14:35 +01:00
Ansgar Becker
eb1b46d5e9 Fix EAccessViolation in TSynCustomHighlighter.Next when logging a user-query in a just reconnected session 2018-12-23 17:21:42 +01:00
Ansgar Becker
c46d194a07 Restore functionality of home and end key in data grid, like it was before recent VirtualTree update. Closes #453. 2018-12-23 15:00:38 +01:00
Ansgar Becker
0f700d1b0c Fix growing column widths of VirtualTrees through SaveListSetup and RestoreListSetup. Related to #446, see https://github.com/HeidiSQL/HeidiSQL/issues/446#issuecomment-448837365 2018-12-22 15:54:53 +01:00
Ansgar Becker
e61c87f1cd Silence "Floating point division by zero." - see https://www.heidisql.com/forum.php?t=26218 2018-12-20 14:03:56 +01:00
Ansgar Becker
367be7c839 Unhide first two quick filter items when no node is focused. See #449. 2018-12-20 13:50:19 +01:00
Ansgar Becker
8df68dd03a Add various missing translation strings. Closes #449 2018-12-20 13:44:09 +01:00
Ansgar Becker
993fdec3df Silence potential crashes in TDBConnection.PrefetchCreateCode, when Heidis cached list of tables has a table which does not exist at the time when the proposal shows up. Closes #452. 2018-12-20 11:50:38 +01:00
Ansgar Becker
c757cf0c4b Issue #452: Rename TDBConnection.GetLastError to GetLastErrorMsg, due to a gutt feeling the name conflicts with Windows.GetLastError in some crashes. 2018-12-20 11:47:50 +01:00
Ansgar Becker
150e4a6216 Fix y-position of bottom buttons on table editor in high-dpi mode. It seems to help to bring the controls into the same order in which they shall be created. Closes #440. 2018-12-19 21:26:15 +01:00
Ansgar Becker
f24d52447f Use text color of integer data type for AUTO_INCREMENT flag in table editor. See https://www.heidisql.com/forum.php?t=25952#p26223 2018-12-18 21:59:08 +01:00
Ansgar Becker
fe9c92aee3 Restore multi line grid setup, broken in recent commit 2018-12-18 06:54:15 +01:00
Ansgar Becker
f2babc8a21 Give horizontal splitter below SQL editor on a new query tab an Y position, so it's not placed above the editor. Closes #439. 2018-12-17 21:46:25 +01:00
Ansgar Becker
07ff3e09bb Restore multi line grid mode, broken by previous commit 2018-12-16 21:03:55 +01:00
Ansgar Becker
8475f383dc High DPI code enhancement: Enable TreeOptions.AutoOptions.toAutoChangeScale flag on all VirtualTrees, and remove code which did that scaling programmatically. Probably only working with the new version of VirtualTree. 2018-12-16 20:14:19 +01:00
Ansgar Becker
6bbd7d51eb Fix height of tool buttons in table editor, above columns list, for high DPI modes. 2018-12-16 19:39:17 +01:00
Ansgar Becker
f01171f8b5 Decrease Constraints.MinWidth/MinHeight, as values too near at the actual ClientWidth/Height seem to move controls at the bottom right corner up and left. Closes #435. 2018-12-16 18:51:41 +01:00
Ansgar Becker
f3dc05de7b Code cosmetic: use IfThen() in some places for having less code 2018-12-15 18:39:55 +01:00
Ansgar Becker
0a69d02f38 Shorten server time, so it doesn't tick every second. See https://www.heidisql.com/forum.php?t=26186#p26195 2018-12-14 17:46:33 +01:00
Ansgar Becker
4f3390d223 Dim text in database tree using the system color clGray instead of a hardcoded one, so it hopefully gets theme compatible. See https://www.heidisql.com/forum.php?t=25952#p26172 2018-12-14 17:20:54 +01:00
Ansgar Becker
94ae69e766 Wrap filtering grid data in BeginUpdate/EndUpdate, so it might get a bit faster. See https://www.heidisql.com/forum.php?t=26181 2018-12-14 17:03:44 +01:00
Ansgar Becker
76825bcc20 Display server's current date time instead of useless UTC time in status bar 2018-12-13 21:59:21 +01:00
Ansgar Becker
84cb46890a Increase width of very last status bar panel, saying what Heidi currently does 2018-12-13 19:15:00 +01:00
Ansgar Becker
c1ac36561e Update label on text editor after caret was moved by mouse click 2018-12-13 19:09:38 +01:00
Ansgar Becker
5c79f6ddf9 Switch X and Y coordinates of cursor position label in text editor, like it's in the status bar. And decrease timer interval for updating label. 2018-12-13 06:53:56 +01:00
Ansgar Becker
c0dba12883 Display cursor position in grid popup text editor 2018-12-12 20:34:56 +01:00
Ansgar Becker
0fb66ac295 Display number of lines in grid popup text editor 2018-12-12 20:05:23 +01:00
Ansgar Becker
cdb10d8005 Required code updates for recent VirtualTreeview update 2018-12-11 21:50:26 +01:00
Ansgar Becker
ac63d5f613 When getting CREATE code of all database objects in completion proposal, skip triggers when SHOW CREATE TRIGGER is not yet supported. Closes #111. 2018-12-11 21:01:51 +01:00
Ansgar Becker
d0cf9306d0 Support STORED virtual columns on MySQL, as an equivalent to PERSISTENT on MariaDB. Closes #244 2018-12-11 20:39:57 +01:00
Ansgar Becker
1a032ef726 When copying a table, use a column for the INSERT..SELECT query only if it's not a virtual one. Closes #84. 2018-12-11 20:30:20 +01:00
Ansgar Becker
8675906d6f Expect a portable.lock file for running in portable mode, but gracefully also allow the portable_settings.txt to do the job. Future portable releases don't need to contain a portable_settings.txt from now on. Closes #122 2018-12-08 16:09:31 +01:00
Ansgar Becker
24d04df5ac Use a more Silk-style icon for executing SQL 2018-12-07 15:28:04 +01:00
Ansgar Becker
551961afad Fix some guaranteed crashes due to clicks with no remaining connection left 2018-12-07 14:26:11 +01:00
Ansgar Becker
1b9f543492 Issue #8: optimize readability in grid, by using a calculated color for selected cells, based on the theme window color 2018-12-07 09:46:09 +01:00
Ansgar Becker
b571bca5e2 Issue #163: update MariDB libraries and some code structures, with those from MariaDB Connector 3.0.8 (= MariaDB server 10.3.6) 2018-12-06 20:02:59 +01:00
Ansgar Becker
f5cc9efc4f Display column name in title bar of popup blob editor. Related to #395. 2018-12-05 21:22:09 +01:00
Ansgar Becker
a7c0883e9a Display size of BLOB in preview panel. Closes #429. 2018-12-05 21:11:40 +01:00
Ansgar Becker
ee3dcf1d2d Log some application details on startup - useful when analyzing session logs 2018-12-05 20:41:48 +01:00
Ansgar Becker
86684ebde3 Force a minimum of 1 second waiting time after creating the plink.exe process before trying to access the established tunnel. Could help users which have set it to "0", accidentally or intentionally, and experiencing connection problems with that. Related to #418. 2018-12-05 20:19:57 +01:00
Ansgar Becker
68c165236c Beautify title text, remove "LEFT()" wrap around field name. Closes #430. 2018-12-05 20:05:17 +01:00
Ansgar Becker
6f4eac6eeb Support dropping databases with leading space. Closes #427. 2018-12-04 20:50:26 +01:00