265 Commits

Author SHA1 Message Date
2ebbdc6ba3 Issue #718: Fonts may still be too large because the monitor on which a form is created has DPI > 100%. Calculate DpiScaleFactor based on that first monitor. See https://www.heidisql.com/forum.php?t=34230 2019-07-18 19:08:32 +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
1d6a415f5f Refactor: rename mysql_structures unit neutrally to dbstructures 2019-06-22 14:26:41 +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
ad0975eab8 Fix wrong position of dropped column on index tab. Closes #385. 2019-06-08 08:48:14 +02:00
59ea094c25 Remove incomplete detection of foreign key support in table engine. Closes #375 2019-05-28 21:13:04 +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
9fc7150a9f Issue #74: attempt to support all kinds of expressions in column DEFAULT + ON UPDATE clauses 2019-04-21 15:40:18 +02:00
6107bc973c Fix still disabled union text input on table designer, when engine MRG_MyISAM is selected 2019-03-14 07:50:32 +01:00
7ae15992f9 Issue #196: Prefer to take comment from SHOW TABLE STATUS result, to support single quotes without including some "compression" option on TokuDB 2019-03-10 08:08:51 +01:00
768bc001cb Table editor: Make it impossible to (accidentally) click the save button twice. Closes #527 2019-02-10 13:02:33 +01:00
ae297ee52f Show ellipsis button on inplace text edit box of table editor. See https://www.heidisql.com/forum.php?t=26293 2019-01-07 19:57:58 +01:00
150e4a6216 Fix y-position of bottom buttons on table editor in high-dpi mode. It seems to help to bring the controls into the same order in which they shall be created. Closes #440. 2018-12-19 21:26:15 +01:00
f24d52447f Use text color of integer data type for AUTO_INCREMENT flag in table editor. See https://www.heidisql.com/forum.php?t=25952#p26223 2018-12-18 21:59:08 +01:00
cdb10d8005 Required code updates for recent VirtualTreeview update 2018-12-11 21:50:26 +01:00
d0cf9306d0 Support STORED virtual columns on MySQL, as an equivalent to PERSISTENT on MariaDB. Closes #244 2018-12-11 20:39:57 +01:00
aeba457257 Fix increasing height of upper table editor area on each table click. Closes #405. Also fix double-scaled controls on routine editor. 2018-11-25 14:46:04 +01:00
f995110ad1 Issue #213 and issue #380: auto-fix high DPI glitch in table designer 2018-11-03 15:11:19 +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
8202e76b92 Distinguish between multiple stored procedures with different argument list, on PostgreSQL. Closes #58. 2018-04-09 22:17:04 +02: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
68b46b2b3f fix exception in early stage of table editor initialization 2017-05-18 13:17:16 +00:00
a50c21a383 * unify context menu of various sql editors, by supporting all contained editors instead of searching for one with the name "SynMemoBody"
* disable actions which need to modify the contents on readonly editors
* add "save to textfile" and "un/comment" actions to the unified context menu
2017-05-18 13:10:59 +00:00
b4806065c2 Add "<server default>" to the engine drop down on the table editor, and make that the new default, so we leave the ENGINE=.. clause away. See https://www.heidisql.com/forum.php?t=23363 2017-02-23 17:16:00 +00:00
3729f290f1 Table designer: Do not allow an empty length/set for data types which require one. See http://stackoverflow.com/questions/34315162/how-to-create-table-in-mariadb 2015-12-20 11:03:15 +00:00
19df80eaac MSSQL: Fix broken query for altering column comment via table editor. See
* here: http://www.heidisql.com/forum.php?t=16947
* and here: http://www.heidisql.com/forum.php?t=18119
2015-10-13 18:07:37 +00:00
89988119d4 PostgreSQL: Fix wrong ALTER TABLE query for modifying table comment. See http://www.heidisql.com/forum.php?t=18937 2015-08-08 14:25:27 +00:00
098827aea5 Remove defined but unused variable 2015-03-15 15:53:44 +00:00
aa6ed7d9dd Fix non working addition of new columns in MySQL. See http://www.heidisql.com/forum.php?t=16948
PostgreSQL: Detect all array style types as unknown type, e.g. TEXT[].
2014-11-14 17:09:08 +00:00
3d29d13b42 PostgreSQL, table editor: Retrieve columns from pg_attribute, to get the column comments. Also support applying a comment on new and existing columns. 2014-10-27 19:42:56 +00:00
d2f3662626 Restrict column reordering to MySQL only. Not supported by MSSQL and PostgreSQL. See http://www.heidisql.com/forum.php?t=16328 2014-10-16 18:09:03 +00:00
6ac52567af Call more useful online help by "Help" button on table editor 2014-10-16 12:27:50 +00:00
d1b0c27d51 Fix unsupported AFTER/FIRST clause in ALTER TABLE ADD COLUMN... query on PostgreSQL 2014-08-30 14:30:44 +00:00
3a169b8a27 Support data types with spaces in them, for example "DOUBLE PRECISION" on PostgreSQL. See http://www.heidisql.com/forum.php?t=16072#p16169 2014-08-21 18:14:37 +00:00
7e986208eb Enable foreign keys editor on NDB cluster >= 7.3.x. See http://www.heidisql.com/forum.php?t=16059 2014-07-26 14:29:55 +00:00
8c3775fe0f Add "Save as textfile" action, and include that in routine editor > "CREATE code" tab > context menu. Fixes issue #3486. 2014-05-08 04:50:59 +00:00
ac3f8e2438 Disable UNSIGNED and ZEROFILL checkboxes for BIT type columns. See http://www.heidisql.com/forum.php?t=15354 2014-04-02 04:42:17 +00:00
6c7a158ab7 Clear partitions tab when creating new table. 2014-03-13 18:35:48 +00:00
1366ace11c Add a read-only tab for a potentially existing PARTITION clause of the table. Fixes issue #1692. 2014-03-13 04:58:45 +00:00
906b80f3a5 Move code from helpers.GetColumnDefaultClause into dbconnection.TTableColumn.SQLCode. Support microseconds part in DEFAULT CURRENT_TIMESTAMP clause. Fixes issue #3506. 2014-03-09 04:08:12 +00:00
e3c288f8a7 Check if all indexes have at least one column when creating or altering table to prevent creation of empty index. Fixes issue #3516. 2014-02-20 14:36:55 +00:00
5590754341 MSSQL wants one ALTER TABLE query also per DROP COLUMN. See http://www.heidisql.com/forum.php?t=14421 2013-12-25 07:07:56 +00:00
a3e9725b69 MSSQL wants one ALTER TABLE query per ADD/CHANGE COLUMN. See http://www.heidisql.com/forum.php?t=14421 2013-12-24 09:03:36 +00:00
63468b0c01 Make grid UPDATEs and INSERTs more compatible with DATE/TIME columns in MSSQL. Fixes issue #3469. 2013-12-16 18:44:12 +00:00
07a401cd64 Show up Data tab after successfully creating a new table. Fixes issue #2480. 2013-12-07 06:09:20 +00:00
821c6cb4db Fix various compiler warnings and notices 2013-11-01 06:17:52 +00:00
5b3c8b92c7 Include schema name in ALTER TABLE query on table editor. 2013-07-24 04:18:49 +00:00