Commit Graph

3836 Commits

Author SHA1 Message Date
Ansgar Becker
92c8eb5bc8 Slightly increase height of nodes in VirtualTree's. Closes #468. 2019-01-12 20:52:57 +01:00
Ansgar Becker
806c9e51d3 Do the same selection in any grid when pressing Shift+Ctrl+End/Home, not only in datagrid. See #453 and https://www.heidisql.com/forum.php?t=26307 2019-01-12 15:29:56 +01:00
Ansgar Becker
0ca022a124 Make sure ValidateControls detects the grid as focused when its grid contextmenu pops up, which is not the case when it has 0 nodes, even with TreeOptions.SelectionOptions.RightclickSelect enabled. See https://www.heidisql.com/forum.php?t=26329 2019-01-10 19:58:30 +01:00
Ansgar Becker
6918f06680 Animate "Open" button on session manager while connecting 2019-01-09 20:49:45 +01:00
Ansgar Becker
fb081d3fa7 Do not apply selected theme from within the preferences dialog, as that crashes sporadically. Instead, rely on the info dialog telling the user he should restart the app. Related to #465, and probably solves it. 2019-01-09 07:48:12 +01:00
Ansgar Becker
a9684dbf24 Revert to legacy SQL colors in "Light" preset, which have a better contrast on white background. Closes #475 2019-01-08 11:55:00 +01:00
Ansgar Becker
ae297ee52f Show ellipsis button on inplace text edit box of table editor. See https://www.heidisql.com/forum.php?t=26293 2019-01-07 19:57:58 +01:00
Ansgar Becker
96dfef6046 Silence sporadic EAccessViolation when accessing TWinControl.Parent 2019-01-06 12:35:53 +01:00
Ansgar Becker
bf6694d401 Overtake fixed colors for Material SQL color preset, from https://github.com/HeidiSQL/HeidiSQL/issues/425#issuecomment-451337603 2019-01-05 10:36:10 +01:00
Ansgar Becker
6b3e25a319 Add "Material" vcl style, contributed by github user CharlieEtienne in issue #425 2019-01-05 10:31:13 +01:00
Ansgar Becker
0e3d36dc6f Prevent crash when resizing query helpers box in an early stage of creating a new query tab. Closes #466 2019-01-05 10:10:35 +01:00
Ansgar Becker
ab67e03265 Restore old look of tooltips in grids and trees, like it was before the recent VirtualTree update. 2019-01-03 20:38:48 +01:00
Ansgar Becker
06df04b45e Implement input box for user/password prompt from plink process. Password prompt hides characters, like advised on https://stackoverflow.com/a/21122864/4110077 . Closes #129. 2019-01-02 20:30:47 +01:00
Ansgar Becker
a4e20cc9bc Check "copy to clipboard" radio button internally, when copying selected rows per quick menu. Closes #459. 2019-01-02 19:30:09 +01:00
Ansgar Becker
5a5d55fafa Add "Material" color preset for SQL editors. See https://github.com/HeidiSQL/HeidiSQL/issues/425#issuecomment-450724251 2019-01-01 16:05:25 +01:00
Ansgar Becker
dd22108c40 Remove debug code 2019-01-01 10:41:05 +01:00
Ansgar Becker
90bccc02a0 Fix clipped text in preferences dialog. Closes #461. 2018-12-31 12:58:02 +01:00
Ansgar Becker
8493b73198 Auto-select fitting color presets for SQL and grid text when selecting a theme. Closes #425. 2018-12-30 19:05:11 +01:00
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