202 Commits

Author SHA1 Message Date
821fe9f9cb Enable "Windows authentication" checkbox for MySQL and MariaDB, and send current Windows username if checked. Closes #991 2020-05-01 11:34:57 +02:00
2fae5dd852 Add new advanced session option, for hiding databases via regular expression. Closes #387 2020-04-22 18:28:38 +02:00
221196c274 Paint session background color in session manager's tree view 2020-04-06 11:59:57 +02:00
11e45ad1f8 Trigger auto-resize of buttons also when form gets resized. See https://www.heidisql.com/forum.php?t=35862 2020-04-06 09:16:12 +02:00
4bbe7b789e Auto-resize width of bottom right buttons on session manager, to make room for longer translations. See https://www.heidisql.com/forum.php?t=35862 2020-04-05 10:49:54 +02:00
f114ff47d8 Set busy timeout for SQLite connections. Closes #947 2020-03-24 18:00:14 +01:00
843e462a8a Issue #946: integrate context menu items for attaching and detaching SQLite databases into the current session 2020-03-24 17:53:22 +01:00
20d17588d6 Issue #946: fix overtaken filename after click cancel on file-open dialog 2020-03-22 20:12:13 +01:00
83108d28c5 Issue #946: support multiple SQLite database files per session definition, in field "Database file(s)". Use the first one as main file, and attach further files. 2020-03-22 14:00:52 +01:00
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