b1ab76e0ba
Display first available text column value when editing InnoDB contents. Fixes issue #1849 .
2010-04-14 22:45:12 +00:00
f451d061eb
Introduce 2 new columns in Host > Databases: "Last modification" and "Events". Plus:
...
* enhance db object lists for storing additional details like last modification and data size
* remove home brown Min() and Max() functions and use those from Math unit which are not restricted to Integers.
2010-04-11 12:03:07 +00:00
5aa9b33cbd
When pressing Tab key in grids and the next column does not allow editing, just focus it, instead of jumping to the next editable cell. Fixes most situations described in issue #1677 .
2010-02-11 13:53:06 +00:00
1f39e59940
Disable non working column default values for given data type. Fixes issue #1519 .
2010-01-17 16:12:35 +00:00
5890aad90f
Do not pass <Enter> key to parent grid, if radio button or checkbox on default editor is currently focused. Fixes issue #1605 .
2010-01-17 13:31:49 +00:00
0d8653db6a
Override VirtualTree's incremental search event, make it case insensitive, and apply that event in FixVT to various lists and grids, which have IncrementalSearch enabled. Fixes issue #1605 .
2010-01-17 10:50:47 +00:00
9080ad7607
No need to use the Wide* version of string functions any longer.
2010-01-15 20:28:48 +00:00
52ea8f410a
Use Unicode enabled TStringList instead of TWideStringList in all places. Should have no visible effect, apart from a very minor performance optimization, as String reference pointers are handled by Delphi, WideString by Windows.
2010-01-14 19:41:58 +00:00
a4652d39a4
* Fix compiler warnings due to implicit AnsiString to (Unicode)String or vice versa
...
* Remove workaround for Unicode text to and from clipboard
* Fix writing/reading wrong encoded text into/from registry - no need to use Utf8Encode() any longer
* Implement TMySQLQuery.ColAsAnsi() for cases in which we read binary data.
2010-01-07 00:00:56 +00:00
7d401ffde8
Upgrade to Delphi 2010:
...
* Removes TNT Unicode controls, which are no longer required. All VCL controls now have native Unicode support.
* Remove Delphi 11 packages, otherwise we would either need to keep TNT or break Unicode
* PngComponents update from Uwe Raabe on http://cc.embarcadero.com/Item/26127
* Adjust auto build process
* Since Delphi 2009, Strings are now UnicodeStrings, not AnsiStrings any longer. Fix a bunch of compiler errors which came along with this change.
TODO: Project should compile but give tons of compiler warnings.
2010-01-05 23:14:33 +00:00
e356cb7ed7
Sanitize all "uses" clauses from unneeded unit references.
2009-12-22 23:19:56 +00:00
6ebdea449b
Browse to previous cell when pressing Shift+Tab in editing mode. No need to post messages for this logic. Fixes issue #1407 .
2009-12-21 20:05:32 +00:00
43fe695bc1
Make SHOW KEYS FROM <selected-table> and SHOW COLUMNS FROM <selected-table> superfluous. To achieve that, move parser for SHOW CREATE TABLE string from table editor to helpers unit, where it can be called by everyone. For consistency reasons the index list in table editor is converted from a TWideStringList to a TObjectList, like both table and foreign key list. However, that results in a large diff here.
2009-12-04 21:20:06 +00:00
2a57b0e1a7
Reserve slightly more needed space for a checkbox so its label "ON UPDATE CURRENT TIMESTAMP" is fully visible. Fixes issue #1334 .
2009-08-31 19:59:00 +00:00
9e731a78e1
Allow columns to have no default value at all. Important for TEXTs and BLOBs which cannot have one. Fixes issue #1261 .
2009-08-30 18:31:31 +00:00
8cfb99e0c6
Avoid a second round trip via EndEdit() and Destroy() after the editor was unfocused. Lead to an access violation in the second Destroy() call. Fixes issue #1304 .
2009-08-23 18:23:39 +00:00
4d7a301b78
TInplaceEditorLink.EndEdit() was called twice, first time via OnKeyDown event, second time implicitly by OnExit event. So the session was renamed, then again tried to renamed which caused the error "Session already exists". Fixes issue #1303 .
2009-08-18 18:49:59 +00:00
6517a04eff
Implement creation and editing of foreign key constraints in a separate new tab on the table editor. Fixes issue #400 .
2009-08-16 20:32:37 +00:00
74b36d8524
Do not overwrite FCellFont after adjusting its color. Fixes issue #1295
2009-08-15 18:17:49 +00:00
2cd3e99596
Placing a grid editor needs to leave space for various stuff left besides the edited text, e.g. the plus/minus button, an image and level indentation. Fixes issue #1293 .
...
A similar calculation is done in TBaseVirtualTree.GetDisplayRect(), only with lots of more logic. So this change may not be the last in TBaseGridEditorLink.GetCellRect().
2009-08-15 13:39:04 +00:00
2e7022a945
Bold font for primary key columns in table editor. Icons for all key columns, similar to earlier versions of ListColumns on mainform. Feels very useful for a quick look when the index editor is mostly not active.
2009-07-29 20:50:41 +00:00
b0595a7cd7
White background for column default editor - fits better into grid editing stuff as the tree also has white background. Forms with gray background appear like a foreign object here.
2009-07-27 22:33:25 +00:00
00cbfa7a08
Apply correct background color to grideditors (inplace + datetime), for cases where columns are sorted and have a gray background.
2009-07-26 08:45:21 +00:00
6d338d515f
Avoid flicker when any grid editor starts. This time, call Repaint before sending WM_SETREDRAW to avoid graphical glitches.
2009-07-25 09:49:19 +00:00
33937818a2
Default value editor: Set focus on checked radiobox to ensure the OnExit event can be fired and close the editor
2009-07-23 21:01:58 +00:00
0c3bc34802
Fix issue #1265
2009-07-22 05:50:07 +00:00
6e979b1706
Remove no longer used variable.
2009-07-21 06:00:29 +00:00
d37c7b9dc9
Fix non responding up and down arrows in date time cell editor when cursor is positioned right besides last segment.
2009-07-21 05:59:34 +00:00
886f67cb62
Refactor grid editors unit: Implement a base class with all stuff which was implemented redundant previously and let all other editors descend from this class. Saves ~300 lines of code and makes implementing new editors easier.
...
Additionally this implements tabbing through edited fields for all grid editors. And it fixes issue #1266 , issue #1267 , issue #1253 , issue #1178 , issue #1155 , issue #825 and issue #566 .
2009-07-20 23:07:28 +00:00
21b60479f6
Allow arrow up and down in the new data type selector, and enable incremental searching. MouseClick or Enter applies the value now.
2009-07-09 21:01:20 +00:00
0cc1172ad1
Fix hint height calculation in data type selector. Should fix issue #1252 .
2009-07-08 21:23:00 +00:00
2a619ab46b
Cancel editing in data selector when editor is unfocused (fixes issue #1251 )
2009-07-08 20:52:50 +00:00
ce42e054ff
Minimize the borders of the new data type selector, they should not be too thick for an inplace editor. (Only applies for Windows XP without theming)
2009-07-08 20:48:17 +00:00
a1ab1d8a9a
Data type selector: Do not set tree width to the parent column's width, which is mostly too small. Rather do an autofit on the first column so it's as wide as the text needs space.
2009-07-08 20:11:01 +00:00
c2221ae50f
Rename 'Text' to 'Custom' to make it clear that integers are entered here too.
...
See also http://www.heidisql.com/forum/viewtopic.php?t=960
2009-07-08 13:31:04 +00:00
e2b252a906
Implement a new datatype selector for the table editor, including groups, datatype colors and help hints. Fixes issue #1214 and issue #1165 .
2009-07-07 23:31:16 +00:00
6e28b38208
Fix issue #889 : Using TAB in edit-mode fails after focus on DATETIME field
2009-06-29 06:05:10 +00:00
890fb5eed6
DateTime editor: Shorten the timer delay before auto counting gets started to a subjectively better value.
2009-06-27 09:27:06 +00:00
5979e356e0
Auto-enlarge current tree column so the text in the edit is not cut
2009-06-27 09:23:25 +00:00
fd1385c7d2
No need to hide a component when it gets destroyed anyway nanoseconds later.
2009-06-27 09:16:31 +00:00
d04d5e2c6e
Store and restore cursor position in new date/time grid editor
2009-06-27 09:15:01 +00:00
96708f385c
Implement a user friendlier grid editor for date and time columns, based on a TMaskEdit + TUpDown, rather than Windows' hopelessly limited picker control. Fixes issue #1219 : Impossible to enter 00:00:00 (midnight) in data grid
2009-06-27 00:24:16 +00:00
9db8a6c6ea
Detect all column properties from a SHOW CREATE TABLE result, instead of SHOW FULL COLUMNS, so the missing ON UPDATE CURRENT_TIMESTAMP can be taken into account. The new parsing part in is probably slightly unstable yet, although tested on 4.0, 4.1 and 5.1 servers. Fixes issue #1133 .
2009-06-18 19:02:07 +00:00
d26d93aefa
Sanitize MySQL structure unit:
...
* Remove old, unused code (TMysqlIndex, TMysqlField)
* Move relevant code from helpers to mysql_structures unit
* Rename various stuff to more compact names
* Use ordinal values instead of constants for datatypes and their categories
* Replace TGridColumn.IsXYZ boolean's by a new .DatatypeCat property
2009-06-14 19:45:48 +00:00
a9ded30c49
Remove debug output from r2467
2009-06-09 18:40:02 +00:00
6c4b998069
Fix issue #1204 : unable to delete a "0" char in Default field in the table editor
2009-06-09 18:38:50 +00:00
6deb924b13
Fix issue #1159 : Defaults editor in table editor partly hidden in bottom columns. Moves the defaults editor various calculated pixels to left and top so it fits into the client area.
2009-06-08 19:18:36 +00:00
60d300b75a
Fix non resizable columns with an activated TEnumEditor by removing a non working Vista-fix. Setting TComboBox.ItemHeight is effective only in OwnerDraw mode which we do not have here.
2009-06-06 06:17:13 +00:00
8ca38b4e48
Fix issue #1161 : Enum editor pops up in the upper left corner
2009-06-06 06:12:34 +00:00
3d0682bea5
Fix issue #1174 : Table editor, column editing: Let Esc cancel the defaults editor and Enter accept changes.
2009-06-05 17:32:47 +00:00