1585e0dfa3
Allow free typing in collation drop-down for collations in a column. Set to empty string if user typed a non existent item. See https://www.heidisql.com/forum.php?t=37117
2020-10-29 21:12:25 +01:00
d970b2e809
Sort collations alphabetically, in drop-down of column editor in table designer. Closes #828
2020-10-22 12:06:48 +02:00
c113ff6ec7
Use ValidateNode to initialize all column nodes early, so they keep their FColumn data after click on Remove button. Closes #245
2020-06-25 23:22:35 +02:00
3eb3480e1c
Get rid of global esc() function (which always refers to MainForm.ActiveConnection) and prefer the method's or unit's connection object instead
2020-05-10 13:41:15 +02:00
7c15ede023
Fix crash by click on "Add column" in table editor, when columns list has a minimum height. See https://www.heidisql.com/forum.php?t=35766
2020-03-09 21:05:40 +01:00
f6c7c0a6af
Support dropping schema on PostgreSQL. Closes #76
2020-03-03 17:36:55 +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
40908f1bef
Issue #885 : Move types of table keys from global scope constants to class constants in TTableKey definition, to make them stable against mix-ups
2020-02-15 12:51:08 +01:00
ad024cb74b
Reference table of a foreign key is prefixed with its database, which causes the table editor to display no columns in the dropdown editor. Fix that by outsourcing some logic from main unit into TForeignKey.ReferenceTableObj. Closes #158
2020-02-11 16:56:41 +01:00
56e541a478
Introduce read-only mode for grid editors. Closes #631
2020-02-06 12:29:35 +01:00
7ab47a3143
Detect foreign keys in MS SQL, and provide foreign values drop down in data grid. Closes #150
2020-01-26 22:23:12 +01:00
3697a5b655
Issue #12 : fix empty "ALTER code" tab on table editor for SQLite
2020-01-22 15:20:21 +01:00
8517ff2ec7
Finally, remove ParseTableStructure method, and use a text format of TTableColumn in the remaining caller "Paste columns"
2020-01-19 13:25:49 +01:00
1c39075d7c
Issue #852 : Implement Assign method on TTableColumnList and friends, TDBObject.LoadDetails and .UnloadDetails, and cross fingers that assigning details to Mainform.FActiveDbObj reduces the number of internal queries
2020-01-16 07:40:30 +01:00
058143e6af
Issue #852 : Return copy of once queried columns, keys and foreign keys object lists in TDBObject, instead of re-querying from database each time.
2020-01-15 21:17:51 +01:00
b45a0d57c7
Issue #12 : Implement TDBConnection.GetTableColumns and .GetTableKeys (todo: .GetTableForeignKeys), as a replacement for the error prone ParseTableStructure. SQLite columns and keys should be parsed correctly now, MS SQL and PostgreSQL may now have some glitches to fix.
2020-01-08 15:28:36 +01:00
ef50035e33
Table editor: support moving down or up more than one column. See https://www.heidisql.com/forum.php?t=17765
2019-12-10 21:08:18 +01:00
f37cfbddce
Support modifying columns per table designer in PostgreSQL mode, including rename. Closes #595
2019-11-24 15:47:53 +01:00
219b417910
After pressing save button on table editor, use the fresh DBObject from SHOW TABLE STATUS row, not the old one. This fresh one also has the new table comment. Closes #683
2019-10-27 11:46:51 +01:00
b2a3551704
Replace remaining SHOW VARIABLES queries with GetSessionVariable
2019-07-29 12:41:55 +02:00
53b8f544c2
Remove useless DPI helper panel from tabs in routine editor, table editor and table tools dialog
2019-07-25 07:44:04 +02:00
71d9ef9011
Same as for TExtForm: translate in TDBObjectEditor.OnCreate, not in all derived editor classed
2019-07-22 07:28:07 +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
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