236 Commits

Author SHA1 Message Date
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
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
2a91a13b42 Issue #677:
* drop workaround for application crash on WinXP, when loading newer libmariadb (see #79)
* raise TDbLib's own exception instead of baking an own one with less details. Probably helps in debugging: https://www.heidisql.com/forum.php?t=34044
* rename EDatabaseError to EDbError, to overcome naming conflict in DB unit
* load libpq.dll always with path, which should anyway work better than without it. See http://www.heidisql.com/forum.php?t=22514
2019-07-08 20:23:05 +02:00
4f9613b05c High DPI: fix growing window dimensions on each opening. Related to #378 2019-07-07 21:22:19 +02:00
1d6a415f5f Refactor: rename mysql_structures unit neutrally to dbstructures 2019-06-22 14:26:41 +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
91c8ff13f0 Cheat when calculating percentage of done work, when exporting tables and data, so we never get more than 100%. Closes #180 2019-04-17 07:57:35 +02:00
85a8355e1d Add new log category lcScript, for queries from large scripts and import operations. By default disabled, which should speed up importing large files. 2019-04-16 07:19:47 +02:00
dace95b10d Issue #433: Additional line break after SQL export comments for skipping data 2019-03-15 07:44:32 +01:00
16afa3cafb Don't export data of FEDERATED tables, just like MRG_MyISAM. Closes #433. 2019-03-14 07:57:56 +01:00
107a933eeb Remove semicolon from last case block, so the "else" after it is not counted as a default block. Closes #543 2019-02-20 19:26:56 +01:00
cdb10d8005 Required code updates for recent VirtualTreeview update 2018-12-11 21:50:26 +01:00
201f8da8e3 Move the dedicated help button on the SQL export tab to the window title bar. See #228. 2018-11-26 16:39:37 +01:00
b0c0921d97 Cancel SQL export when target server barfs with error 1049 (unknown database). Closes #299 2018-11-25 13:31:05 +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
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
dbd0178429 Support regular expressions in find-text feature. Closes #233. 2018-04-18 19:50:14 +02:00
83d6b02d7c Display tenths of a second through FormatTimeNumber. Used by query running status, table tools dialog and some more. 2018-03-18 21:17:33 +01: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
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
19a1c3fbb4 Refactor exclusion of virtual columns in various places:
* introduce TDBQuery.ColIsVirtal() returning a boolean for a column index, and use that instead of examining a columns virtuality everywhere
* exclude virtual column when exporting SQL code in the grid export dialog - see #53
* sql export dialog must not activate edit mode on a result, as this introduces endless loops
* instead, move some code out of PrepareEditing into PrepareColumnAttributes, which we can now call separately without activating edit mode
2017-12-22 10:07:17 +01:00
ea522c8c10 Don't export data for virtual columns. Fixes #5. 2017-11-08 20:46:52 +01:00
eeda3228bf Support grouping by tree node type in "check xyz" menu items on table tools dialog. See https://www.heidisql.com/forum.php?t=23351 2017-02-28 18:56:38 +00:00
76e038c6d4 Support wildcard options in "Find text on server" dialog in a new drop down box, to provide a possibility to find exact matches. See http://www.heidisql.com/forum.php?t=21388 2016-05-25 18:53:51 +00:00
9e5d0cbd4d Do not check existence of IS.routines before querying it. See http://www.heidisql.com/forum.php?t=20456#p20487 2016-03-13 10:29:03 +00:00
d0613c00f4 Support searching in procedures and functions on MSSQL and PostgreSQL mode too. 2016-03-13 10:22:27 +00:00
d904537943 Warn if export output filename contains illegal characters, which TFileStream.Create does not catch for some reason. See http://www.heidisql.com/forum.php?t=20873 2016-03-12 13:55:08 +00:00
930c406d84 Use a better fitting icon for the browse-file button in SQL export dialog. See http://www.heidisql.com/forum.php?t=20717 2016-02-21 10:32:32 +00:00
35059404ea Support procedures and functions in "Find text on server" dialog. MySQL syntax only yet, others are to implement. See http://www.heidisql.com/forum.php?t=20456 2016-01-23 09:56:41 +00:00
03c591ade5 Add some new lines in SQL export, especially when "Add comments" is disabled 2016-01-14 20:33:45 +00:00
c7ad2b7dc1 Add new "Options" dropdown button on SQL export dialog, and two new true/false settings: "Add comments" and "Remove auto_increment clauses".
* see http://www.heidisql.com/forum.php?t=18727#p18729
* see http://www.heidisql.com/forum.php?t=20363#p20373
2016-01-13 19:22:41 +00:00
b590b5709d In SQL dumps, make "SET NAMES utf8mb4" a version conditional statement for the minimum MySQL version supporting that charset. See http://www.heidisql.com/forum.php?t=20188 2015-12-22 11:31:54 +00:00
ec843d5616 Revert translation of drop down values, which get used as SQL keywords in maintenance dialog. See http://www.heidisql.com/forum.php?t=19510 2015-10-06 18:46:46 +00:00
6d6cc78a4e Add various missing translation strings. See http://www.heidisql.com/forum.php?t=19401 2015-09-26 12:21:30 +00:00
6d34e1de35 Add a help button to the quite non-intuitive controls on the export dialog. 2015-02-23 19:59:19 +00:00
c4b44aec18 Fix memory leak in TfrmTableTools.SaveSettings 2015-01-09 10:25:15 +00:00
d569e23639 Add edit box + updown buttons for limiting the size of INSERT queries in bytes. See http://www.heidisql.com/forum.php?t=17345 2015-01-05 19:32:58 +00:00
7bdcf0c414 Remove duplicates from recent file list pulldown. See http://www.heidisql.com/forum.php?t=17331 2015-01-02 17:25:30 +00:00
3b09b79d12 Support PostgreSQL in "Find text on server" dialog 2014-04-18 18:55:23 +00:00
78b807670d Fix forced lowercase in case sensitive search on MSSQL 2014-03-28 09:18:10 +00:00
435b555581 Make search on server more compatible to MSSQL: Remove LOWER() call, which fails on TEXT fields and is not even required. And add an equivalent to MySQL's BINARY search. See http://www.heidisql.com/forum.php?t=14950 2014-03-28 06:02:06 +00:00
a9708fd03f Support "Find text on server" dialog on MSSQL. See http://www.heidisql.com/forum.php?t=14950 2014-03-27 04:41:13 +00:00
57ff806a74 Do not *store* asExportSQLOutput setting when it was a server, so the next time we have the previously selected target again. Fixes issue #3435. 2013-12-17 20:08:25 +00:00
0d3f65f68b Use the right connection when processing tree node object. Fixes issue #3447. 2013-11-28 18:57:09 +00:00
246c2f895a TStringList.Duplicates=dupIgnore does not seem to work as intended. Instead. check existence of item in list manually before adding a new one. Fixes multiple calls to GetDBObjects for the same database, after bulk editing. 2013-11-21 05:41:35 +00:00
35b0c28fb3 Avoid server preselection to avoid unwanted connects. Fixes issue #3411. 2013-11-04 05:08:52 +00:00