Commit Graph

5259 Commits

Author SHA1 Message Date
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
1efd1c8e09 Issue #163: update libmariadb.dll and plugins to those from Connector v3.0.8 / Server 10.3.6 2018-12-28 20:17:50 +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
1a380c45b2 Try to disable Direct2D in SynEdit component, to fix crashes on Wine and older Windows versions. Probably fixes #445. 2018-12-23 15:10:32 +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
1e1ffa2059 Add missing translation string 2018-12-17 21:14:20 +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
f589ba58a8 VirtualTree update: attempt to make compiler find res files (copies) in source directory 2018-12-11 23:04:10 +01:00
Ansgar Becker
c8ae79a8aa Revert last two commits, due to runtime assertion about missing image, potentially due to missing .res files 2018-12-11 22:34:17 +01:00
Ansgar Becker
9ac102ea98 VirtualTree update: Fix another compiler complaint about a missing .res file 2018-12-11 22:04:12 +01:00
Ansgar Becker
ef6fc03707 VirtualTree update: Fix weird compiler complaint about missing .res files, which are actually there 2018-12-11 21:59:11 +01:00
Ansgar Becker
cdb10d8005 Required code updates for recent VirtualTreeview update 2018-12-11 21:50:26 +01:00
Ansgar Becker
7ad1a5bee4 Update VirtualTreeview component to current master from https://github.com/Virtual-TreeView/Virtual-TreeView 2018-12-11 21:26:53 +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
7a80ca8b9a Upgrade all package files to Delphi 10.3 2018-12-09 11:31:03 +01:00
Ansgar Becker
d71bb2ae74 Update SynEdit component to latest sources from their master branch 2018-12-09 11:28:05 +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
0a06d846ac Fix high DPI issues on installer 2018-12-07 19:08:31 +01:00