3970 Commits

Author SHA1 Message Date
a6ea858880 Use the same new dll loading mechanism also for PostgreSQL's libpq.dll 2019-06-22 17:57:46 +02:00
1d6a415f5f Refactor: rename mysql_structures unit neutrally to dbstructures 2019-06-22 14:26:41 +02:00
c91ab241e3 Fix wrong data shown in data tab, when switching between a table/database with the same name on different servers 2019-06-22 14:16:07 +02:00
c844032197 Use mysql_optionsv to tell newer MySQL servers HeidiSQL's program_name, visible then in performance_schema.session_connect_attrs 2019-06-19 22:47:34 +02:00
59e3ba4b34 Fix duplicated application directory prepended on library path 2019-06-19 22:45:14 +02:00
a77eedde58 Experimental: introduce TDbLib and descendant TMySQLLib, and outsource dll loading mechanism there, out of DoBeforeConnect 2019-06-19 21:15:22 +02:00
e704ecd371 Quick filter: only unique cell values in "IN (...)" generation 2019-06-19 17:51:04 +02:00
e4a9016348 Issue #296: enhance checkbox phrasing, and move it above to the other checkboxes 2019-06-12 20:34:03 +02:00
51e55433d3 Fix compiler warnings, and add documentation 2019-06-12 20:15:50 +02:00
fb2e3ef029 Cleartext syntax changes 2019-06-12 06:36:02 +02:00
0facfaa5cc Add cleartext option to sessions 2019-06-12 06:36:02 +02:00
6641b82a43 Issue #578: prefer Invalidate over Repaint, as the lists may not be displayed at all and may crash when forcing a repaint 2019-06-11 07:16:45 +02:00
f349ed9583 Table editor: root nodes in indexes and foreign key list are defined in BeforePaint event, so repaint these explicitly when table properties have been read. Closes #578. 2019-06-11 07:11:11 +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
5995a4009e Issue #140: restore width and height of query tab editors along with their filename 2019-06-09 08:39:12 +02:00
ba24c39987 Report active theme name, so we are once probably able to remove some of them which are mostly unused, to speed up application start 2019-06-08 09:19:35 +02:00
0cd6ab7a0d Remove unused variable 2019-06-08 08:49:08 +02:00
ad0975eab8 Fix wrong position of dropped column on index tab. Closes #385. 2019-06-08 08:48:14 +02:00
694bacaf64 Replace ugly donate menu item with a normal TImage, living on the right edge of the toolbar 2019-06-06 21:24:03 +02:00
fc02134ef8 Get back a small right-aligned "Donate" button on the very right edge of the main menu 2019-06-03 21:18:46 +02:00
19775ef941 Issue #140: Erase ini section of a closed tab, in which the user loaded some physical file. Fixes wrongly restored tabs which were closed in previous session. 2019-06-03 20:33:11 +02:00
6e2bca2ffa Fix compiler warning: "For loop control variable must be simple local variable" 2019-06-03 20:10:31 +02:00
0500f12941 Introduce MainFormCreated flag, activate it when FormCreate has finished, and use that to avoid too early calls to Application.ProcessMessages. Closes #665, hopefully. 2019-06-03 20:02:08 +02:00
3a891b8883 Use full path when loading libmariadb.dll or libmysql.dll, so we don't accidentally prefer a libmariadb.dll somewhere on the users harddisk over the local libmysql.dll. Only if that also fails, fall back to load it from somewhere else. This hopefully helps for debugging SSL connection problems. See https://www.heidisql.com/forum.php?t=27158#p27219 2019-06-01 13:36:09 +02:00
3d76db0f07 Fix wrong writing of TLS protocol version. See https://www.heidisql.com/forum.php?t=27158#p27211 2019-05-30 21:07:14 +02:00
f26f2f7b15 Activate toEditOnDblClick in data and query grids so grids go into edit mode on double-click (which magically disabled toToggleOnDblClick at the same time). Closes #486. 2019-05-30 07:58:37 +02:00
59ea094c25 Remove incomplete detection of foreign key support in table engine. Closes #375 2019-05-28 21:13:04 +02:00
8f9abb2d3c Fix unwanted enabling FModified flag in user manager dialog, when just switching the main tab to "Limitations", followed by a crash due to no focused user. Closes #493. 2019-05-26 19:24:46 +02:00
493138de1c Fix wrong check for valid length of hashed password in MySQL 8 and MariaDB. Predefined length of 0, 16 and 41 characters is only valid with mysql_native_password plugin enabled users.
See https://www.heidisql.com/forum.php?t=26945#p27188
2019-05-26 19:00:52 +02:00
dc0d2fdd75 Move red warning label in user manager up a bit. Fixes invisible warnings. 2019-05-26 08:37:39 +02:00
51da7c8efc Set MARIADB_OPT_TLS_VERSION to define which TLS protocol versions are allowed. See https://www.heidisql.com/forum.php?t=27158 2019-05-22 21:36:53 +02:00
8073fc6114 Fix broken drop target index for a dragged column in the index tree. Now taking into account whether the dropped column comes from above or from below. Closes #385 2019-05-20 10:14:26 +02:00
ce29d1b39b Fix crash when drag'n dropping indexed column in table designer. Closes #385 2019-05-19 12:26:01 +02:00
99e095fc39 Fix wrong sorting in database tab and various other lists. Closes #570 2019-05-18 09:58:35 +02:00
178d92e273 Cache the myriad of SELECT 123::regclass queries in a hash table on the PostgreSQL connection object. Closes #249, closes #538 2019-05-18 08:27:50 +02:00
2854c74d13 Remove -batch parameter from plink command line, so we have a prompt when a host key is not yet cached. Closes #639 2019-05-15 20:21:01 +02:00
f893a8de75 Add support for SSH tunneled PostgreSQL connections. See issue #78 2019-05-14 07:57:00 +02:00
927e144cce Set up SSL parameters not only in TCP/IP mode 2019-05-14 06:59:59 +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
9624a9b1bd As suggested by #634
User: @cookieguru
2019-05-13 07:36:24 +02:00
1fe201a172 Restore data grid's horizontal scroll offset after refresh, so the just clicked column header stays at the same position. Closes #451 2019-05-12 20:21:44 +02:00
4119d69fca When creating a query result tab, let the grid be visible until it's aligned correctly. Potentially fixes artefacts at the top left of the query memo. Closes #410. 2019-05-07 20:17:30 +02:00
8ac1c745b1 Issue #640: prevent crashes when future versions of the server return key clauses unsupported by HeidiSQL 2019-05-06 20:33:07 +02:00
3a4578e67b Issue #640: fix crash in table editor with DESC/ASC in a key 2019-05-06 20:24:00 +02:00
97043d368b Issue #74: remove no longer used hackish helper function GetColumnDefaultType() 2019-05-06 06:36:12 +02:00
2f77c9ea8c Issue #637: No need to upper-case when calling StartsWith() with ignore case flag. Also, prefer StartsWith() over various ugly calls to UpperCase(Copy()). 2019-05-06 06:32:09 +02:00
54c6d9123f Detect ON UPDATE clause's content with a two-step approach, so it does not eat a potentially existing COMMENT clause after it. Closes #637. Broken in 9fc7150a9fc15d400a836df8b20765a1864a9c80 for #74. 2019-05-05 20:01:46 +02:00
fb02867059 Search on server: Lower-case columns after casting to text, to prevent data type error: "function lower(integer) does not exist". Closes #235 2019-05-03 07:59:47 +02:00
32b0dfceb2 Fix emergency exception when trying to call DeleteCurrentKey without session path, which is reset by MessageDialog() in some cases. Closes #168. 2019-05-03 07:45:59 +02:00
0c35a27fec Issue #411: append search engine's hostname to "Find help" link in error dialogs, now that it's customizable 2019-04-30 12:32:35 +02:00