193 Commits

Author SHA1 Message Date
05d02627f3 Make TConnectionParameters.IsMySQL specific to MySQL only, and rename the grouped type checks to IsAnyMySQL, IsAnyMSSQL etc. This way the status bar now shows "MySQL", not "MySQL or MariaDB" 2020-02-22 09:06:37 +01:00
e97b8ae7fe Issue #12: disable session options unsupported by SQLite 2020-02-22 08:40:33 +01:00
d57437518a Fix state of checkboxes on the session manager's Advanced tab 2020-02-22 08:23:03 +01:00
e59f6cecf6 Move some tree initialization code from session manager's OnCreate event to the later OnShow event, where the session tree has a handle. Fixes no longer working .ScrollIntoView for the last active session. Closes #897. 2020-02-15 07:50:50 +01:00
56e541a478 Introduce read-only mode for grid editors. Closes #631 2020-02-06 12:29:35 +01:00
ec31a25e96 Minor performance fix 2020-02-05 17:35:24 +01:00
0254345ff3 Prefer VirtualTree's OnNodeDblClick over OnDblClick, to detect whether the user really clicked on a session node, or somewhere else. Closes #820 2020-02-05 17:34:23 +01:00
2d7191e4c6 Add sqlite file extension to database selector 2020-01-10 22:29:19 +01:00
416252dbfd Issue #12: Simplify code in Tconnform.ValidateControls 2020-01-01 11:42:23 +01:00
c74a210586 Issue #12: Provide file pick icon in SQLite database file edit box. Database file is created by sqlite3_open() silently if it does not yet exist. Show a confirmation message in such cases. 2019-12-27 17:53:56 +01:00
021d78d135 Session manager: populate library dropdown when user selects a different net type 2019-12-27 17:19:39 +01:00
fc86cd4205 Add filter edit box on session manager, for filtering sessions using regular expressions. Closes #826 2019-12-15 22:12:15 +01:00
7e256647af Apply just modified session color to opened connection(s) after save. Closes #745 2019-12-11 22:03:02 +01:00
a40fd226c1 Trim text in TEdit's on session manager dialog, to prevent leading and trailing spaces after pasting. Closes #797 2019-12-11 21:46:45 +01:00
5a55f340c6 Let TConnectionParameters.NetTypeName and TConnectionParameters.IsCompatibleToWin10S rely on a correctly set FNetType property. So we can safely use GetNetTypeGroup on it, and need less parameter passing. Closes #812. The default FNetType should probably not be ntMySQL_TCPIP any longer, so such bugs get seen earlier. 2019-11-22 20:00:22 +01:00
3f0db16f5b Performance: Search libraries on system once per app instance and net type group. Cache these in TConnectionParameters.FLibraries. OLE DB providers take some time to collect. 2019-10-20 09:47:37 +02:00
6839c827c4 Issue #704: Add basic SSL support for PostgreSQL connections. 2019-07-29 13:40:59 +02:00
74961f4c3d Use Library setting for MS SQL as well, and provide available ADO providers in the drop down. Also show a security warning dialog when there is just the old SQLOLEDB provider. Related to #237 2019-07-28 12:18:43 +02:00
852ac61347 Activate Library drop down for PostgreSQL connections as well, so we may provide multiple versions in the future. 2019-07-28 08:24:13 +02:00
486543a0fa Remove useless DPI helper panel from session manager tabs 2019-07-24 07:38:23 +02:00
63fdc3e08c Move workaround for broken split buttons after translation into TExtForm.Create, so we have it once and the caller does not need to care about it. See https://sourceforge.net/p/dxgettext/bugs/80/ 2019-07-23 13:36:56 +02:00
fcdf323086 Let TExtForm translate all strings on a form, to reduce the code in any FormCreate event 2019-07-21 20:12:13 +02:00
88a9e53f0d Remove remainders of DPI related code, and move TExtForm.AddSizeGrip procedure to property .HasSizeGrip. Uses TSizeGripXP instead of TSizeGripThemed, as this looks quite the same. 2019-07-21 19:44:05 +02:00
fbdddaa765 Collect custom session background colors via OnGetColors event of TColorBox, do not mix it in the code for refreshing the session tree. Also refresh custom colors each time a session is focused, so it has new colors. 2019-07-20 17:29:22 +02:00
c31cae2060 Giving up on high DPI readiness - remove tweaks which mostly don't work as expected, and even differently on various computers. Instead, let Windows blur fonts. 2019-07-18 20:53:53 +02:00
92c8f62b85 High DPI:
* remove ParentFont flag from forms again (introduced in 9cdcd631454f6f9e999893ea89fcf502d994474c for #213). This just inherits from default Windows settings.
* instead, scale font size in InheritFont(), and move that to the new TExtForm class
* mark app with PerMonitorV2 support
2019-07-17 21:59:18 +02:00
2dfb11879d Make search for libraries case insensitive. Closes #716 2019-07-17 07:02:56 +02:00
df6a566ee6 Revert a part of 1c76c2ecc0ed7d87cda822228802bedf48a143fe, which disabled the port input for MS SQL / TCP connections if the host is a named instance. According to #714 you can still use the port for named instances. Closes #714. 2019-07-14 17:38:16 +02:00
36ae8f26b6 Issue #360: add unique session colors only to the background color selector, and label them "Custom color". See https://www.heidisql.com/forum.php?t=34168#p34194 2019-07-12 18:23:07 +02:00
7f214ed4ef Add custom colors from sessions to background color selector. See https://www.heidisql.com/forum.php?t=34168 2019-07-11 21:38:03 +02:00
2930df7f24 Issue #677: select first available library if default or configured one is not available. 2019-07-10 22:05:47 +02:00
4f9613b05c High DPI: fix growing window dimensions on each opening. Related to #378 2019-07-07 21:22:19 +02:00
e804db8fcc Issue #677: provide a new library combobox in MySQL mode, for selecting any of the libmysql/mariadb.dll files from the application directory 2019-07-05 06:44:10 +02:00
0facfaa5cc Add cleartext option to sessions 2019-06-12 06:36:02 +02:00
bda7b932d1 Define default values for port and username of all supported server types. Also, do not change them in the session manager, when user selects a different sub type of the same server. 2019-06-09 09:27:17 +02:00
f893a8de75 Add support for SSH tunneled PostgreSQL connections. See issue #78 2019-05-14 07:57:00 +02:00
4bf32b3cb7 Allow using SSL for SSH tunneled connections. See https://www.heidisql.com/forum.php?t=27120 2019-05-14 06:55:10 +02:00
07afefc726 Move tree background color setting from File menu to the Advanced tab of the session manager. Closes #360 2019-03-30 09:52:08 +01:00
6918f06680 Animate "Open" button on session manager while connecting 2019-01-09 20:49:45 +01:00
cdb10d8005 Required code updates for recent VirtualTreeview update 2018-12-11 21:50:26 +01:00
9983792b17 Issue #213: nest everything on broken TTabSheet's on a TPanel, to avoid overscaling in high-dpi mode 2018-11-01 19:05:00 +01:00
df9fd1a26c Modified default login data of postgresql 2018-10-27 20:58:37 +02:00
3759611c34 Issue #8: convert system colors applied by code into their theme color 2018-10-27 17:47:16 +02:00
9cdcd63145 Issue #213: Assign system or custom font once, to the application, and let all forms inherit that font, so there is no need to call InheritFont() for each form. 2018-10-25 19:24:45 +02:00
0e73a8cb92 Issue #213: activate ParentFont on remaining TLabel's, so their font scales like all others 2018-10-24 20:01:29 +02:00
f7b4d0c0b8 Try the same workaround for invisible or black dropdown buttons on Wine as previously only for dropdown toolbuttons (becd4bdd0e3845f9ad7845fe7637460914878afa and 61202be058cc135f938a131207f47f9546efff26). Probably fixes issue #94. May also not fix it, as the toolbutton issue was not only on Wine. 2018-02-03 22:47:29 +01:00
3d698f9f68 Disable SSH tunnel connections on Windows 10 S, as a requirement for publishing HeidiSQL in the Windows App store, #60. 2018-01-31 18:25:12 +01:00
a26d68d23c Move to visible area if window was on a now plugged off monitor previously. See https://www.heidisql.com/forum.php?t=24822 2018-01-25 20:10:10 +01:00
5a8a4af29a Rename helpers unit to apphelpers, to overcome a naming conflict with the FireMonkey unit FMX.Canvas.GPU.Helpers. Closes #102. 2018-01-22 19:48:17 +01:00
5aabc004d5 Change default port to 5432 when PostgreSQL is selected in new connection form. 2018-01-02 14:02:32 +01:00