1148 Commits

Author SHA1 Message Date
184af6ce07 Bring order of implicit event calls into the right order to fix out of date ALTER TABLE code 2009-06-11 15:59:20 +00:00
1b8301c64e Avoid AV in StrToFloat when strings with multiple commas are passed to MakeFloat. Fixes issue #1217: Trying to change sql_mode variable gives a floating point error 2009-06-11 06:41:47 +00:00
ef14ba7cff Bugfix: Change events should not get fired as soon as the table editor has not finished loading. 2009-06-10 15:24:05 +00:00
20cfe200e9 Consistency fix: Revert previous commit - SelectedTable.NodeType should better be lntNone instead of lntDb if SelectedTable.Text is an empty string. Better detect node type via GetFocusedTreeNodeType . 2009-06-10 15:04:13 +00:00
9a49c7ea9c Fix non working "Edit" menu item for calling ALTER DATABASE dialog 2009-06-10 09:48:39 +00:00
41cf19de59 Fix issue #1191: Table editor should only touch changed columns. 2009-06-10 09:18:38 +00:00
c6743e087b Fix issue #1211: Table editor, length/set should be ignored or suppressed for datatypes which don't support that. Also, make relevant code for cell editing allowance and cell background painting more easy and less redundant. 2009-06-09 20:13:35 +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
b52791aad6 Find less confusing, more unique names for two methods around DBtree. 2009-06-09 18:28:19 +00:00
65460a351d Fix issue #1205 Moving focus from db to table by keyboard calls ALTER DATABASE dialog 2009-06-09 18:20:50 +00:00
f5de381e05 Fix issue #1209: list index out of bound when deleting a just created index 2009-06-09 12:54:11 +00:00
982e2850fa Remove dead code 2009-06-09 06:09:49 +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
3bc31db014 Split "SQL code" tab into two "ALTER code" and "CREATE code", and display both in ALTER mode for copy+paste purposes. Fixes issue #1195. 2009-06-07 19:09:40 +00:00
70b13675de Fix issue #1192: "Index out of bound" in data tab, header click 2009-06-07 18:26:40 +00:00
20faa923bd Revert accidental GUI changes from r2449 2009-06-07 05:39:19 +00:00
d5ff16f86e Table editor: Enable horizontal and vertical grid lines for readability 2009-06-07 05:35:23 +00:00
63ca742b6d Table editor: center align column captions with centered checkboxes 2009-06-07 05:31:09 +00:00
358100d6b3 Fix issue #990: SQL error if switching from table to data view, if column to sort by has been deleted. Plus: fix relevant naming convention for property + field. 2009-06-06 19:42:20 +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
4c65ccc86f Fix issue #1193: Rename button is enabled if no session is selected in session manager 2009-06-06 05:48:39 +00:00
6576461b9e Try to fix issue #1188: weird values in collation pulldown inside the text editor. Could it be that TField.AsString is broken if this heals the problem. 2009-06-05 20:44:39 +00:00
edcd544953 Fix issue #1180: AV while fetching column names for query helpers box on editing a stored routine 2009-06-05 20:33:57 +00:00
26caf19b3b Add basic support for 3.23 servers in table editor. Fixes issue #1177. 2009-06-05 19:04:37 +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
bffc1df93b Minor: Revert accidentally changed GUI stuff in recent commit. 2009-06-05 17:27:48 +00:00
11c70f62ee Fix issue #1176: Can't change table engine after creation. Seems a TCombobox.OnChange is not fired if a OnSelect coexists. 2009-06-05 17:25:35 +00:00
164d612e6d Bugfix: issue #1190. 2009-06-05 12:10:22 +00:00
ec0d6bbda2 Fix compiler error, broken in previous commit 2009-06-04 17:26:42 +00:00
f01893d08a Experimental: Reintroduce table tab, this time by placing the existing editors for tables, views and routines as TFrames onto that tab. Unfortunately a whole bunch of GUI changes involved here which makes the diff unreadable. Should solve issue #1149 . 2009-06-04 12:56:55 +00:00
0bed55de02 Fix AV in table editor for clicking right besides a node in a "no column" whitespace 2009-05-28 05:29:34 +00:00
dfc87736de Fix issue #1156: Table editor, checkbox state change although mouse clicked elsewhere in white space. Same goes for index tree. 2009-05-25 22:24:49 +00:00
ac66f01b44 Fix issue #1170: Escape in fields' DEFAULT value selector causes error and access violation 2009-05-25 22:04:24 +00:00
601a6c79f6 Fix issue issue #1169 and friends: DEL key in cell editor interferes with "Remove column" action. Caused by VirtualTree, passing certain keydown's in editors to their parent tree. Work around that by using safe shortcuts which should not interfere with editor actions. 2009-05-25 20:37:28 +00:00
b665ea93df Fix issue #1167 and friends: "Cannot focus a disabled or invisible window" in active + hidden enum editor 2009-05-25 20:16:23 +00:00
40d0aee4bb Solve issue #1166: Export suggests database as filename name. As long as the filename was not manually changed, it is set to [last used directory]\[selected database].sql 2009-05-25 19:14:40 +00:00
fe8ae38dd9 Doubleclicking a stored routine should bring up the editor dialog instead of the data tab. 2009-05-24 17:11:57 +00:00
a6716d7713 Belongs to issue #1137: Also warn about overwriting a target routine when just the type of routine was switched from proc to func or vice versa, and the name was kept. 2009-05-24 12:16:53 +00:00
4ca5d48993 Fix issue #1137: Stored routine dropped if it already exists 2009-05-24 12:06:53 +00:00
6f411f7ae4 Same as previous commit - take routine type into account. This time for an existence check. 2009-05-24 11:49:15 +00:00
b79ddd2260 A function named F can exist besides a procedure F. If such two routines exist and the editor was called for one of them, the chance was 50% that you edit the wrong routine. 2009-05-24 10:28:43 +00:00
e97f6f5955 DBO_TYPE is used in different contexts, not only as deprecated column name for engine. 2009-05-24 06:36:11 +00:00
5d42f613c6 Suppress various errors on old servers, where certain columns are spelled differently from newer versions and e.g. SHOW COLLATION is not a valid query. Works around issue #1154. 2009-05-23 17:38:48 +00:00
fcebc2697c Fix issue #1151: Items in main database view (tables/procedures/etc) think they're something else 2009-05-23 07:31:10 +00:00
e3367d53de Focus a new column's name and go into editing mode after having it added. User can start typing the name immediately after clicking the "Add" button. Suggested on http://www.heidisql.com/forum/viewtopic.php?p=3224 2009-05-22 22:38:48 +00:00
c2fc155a7b I think this change was meant in issue #1136 - makes the index tree editable by clicking the cells, just like the columns list. 2009-05-22 22:31:55 +00:00
61693a8fcc Fix issue #1150: "List index out of bounds" when autofitting any header column 2009-05-22 17:43:35 +00:00
eb6515c692 Fix issue #1152: Table editor tries to ADD keys in CREATE mode 2009-05-22 17:11:00 +00:00