222 Commits

Author SHA1 Message Date
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
6e608f157e Replace out-dated code which does not compile in 64bit mode in helpers.SetWindowSizeGrip. Use a TForm descendant in the new unit "extra_controls". Code parts taken from http://www.delphigroups.info/2/4/326787.html 2013-11-01 14:54:13 +00:00
821c6cb4db Fix various compiler warnings and notices 2013-11-01 06:17:52 +00:00
0f2590c917 Prefer Delphi's new TZipFile class over mORMot's TZipWrite for creating zipped exports (issue #3354) 2013-10-31 20:19:22 +00:00
5dddfd1768 ExportStream is not assigned in all types of export targets, for example "clipboard". Do not determine filename in such cases. Fixes issue #3372. 2013-10-09 04:54:34 +00:00
5e4fdfe803 Issue #3354: Give the temporary .sql file a more unique filename, and delete it after compressing. 2013-10-07 17:07:40 +00:00
5c1a0a6e4c Introduce compressed .sql file export. Using SynZip unit from mORMot framework. Fixes issue #3354. 2013-10-07 04:32:20 +00:00
f3106d1dce Auto-resize 2nd/"size" column of object tree on table tools dialog early. Fixes issue #3358. 2013-10-03 15:28:16 +00:00
3d2f56fe1a Add CHECK option "FOR UPGRADE" to maintenance dialog. Fixes issue #3279. 2013-08-21 04:22:20 +00:00
58b2a66800 Get column names from VIEW per IS.COLUMNS, not per SHOW COLUMNS, to support MSSQL here. Fixes empty grid results for MSSQL VIEWs. See comment #46 of issue #3212. 2013-08-05 04:15:01 +00:00
99f62c4324 Process placeholders in filename also in grid export dialog. Provide a list of valid placeholders below the recent files pulldown menu. See http://www.heidisql.com/forum.php?t=12506 2013-06-01 05:45:17 +00:00
3569ee8d94 Do not restore previous state of checkbox options "Drop database" and "Drop tables", leave them off when calling the export sql dialog. Fixes issue #3197. 2013-05-25 05:45:25 +00:00
6333920637 SQL export dialog: Arrange controls so translated items fit. 2013-02-18 07:04:15 +00:00
cd75b0899d Quote db and table name in new function TDBObject.QuotedDbAndTableName, which also adds "dbo" for MS SQL inbetween. Plus, run SELECT in SQL export through ApplyLimitClause, to fix an SQL error on MS SQL. See http://www.heidisql.com/forum.php?t=11956 2013-01-19 12:43:41 +00:00
7ddfa83ace Fix minor memory leak 2013-01-14 20:34:43 +00:00