f3f8e540c9
Various AVs (e.g. after SessionConnect) caused by ListTables nodes, still bound to old TDBObject items. Fixes issue #1747 .
2010-03-08 21:13:47 +00:00
9f02608e62
Strip "CHARSET xyz" from routine body. Fixes issue #1744 .
2010-03-08 21:05:21 +00:00
987154e5ae
Slightly increase minimum dimensions of user manager dialog. Fixes issue #1746
2010-03-08 19:07:06 +00:00
e6b70f0647
Accidentally deleted event for previous commit
2010-03-08 07:15:06 +00:00
31db8b4b61
Display focused row and column number of active grid in status bar
2010-03-08 07:10:49 +00:00
65d0b59eba
Minor: Reset highlighter's list of table names when selecting a new db and not having fetched its objects.
2010-03-07 17:37:27 +00:00
cc0b931551
Internal refactoring: Directly bind TDBObject's to nodes in ListTables, instead of copying everything to an internal array structure first. Most events on ListTables have their own procedures now. Also, when selecting a database in the tree without expanding it and a query tab is selected, do not fetch objects. Could annoy some SQL writers which won't see the objects in selected db highlighted in that case. On the other hand this avoids loading objects in situations where you don't need them. For larger databases this should be really helpful, e.g. for the reporter of issue #1742 .
2010-03-07 09:46:49 +00:00
c1db0a2b7a
Restore focused cell in data grid for tables which were selected before. Fixes issue #1586 .
2010-03-06 11:54:36 +00:00
553bcc54c7
Include HTML portion when copying SQL to clipboard, so rich text applications like MS Word get highlighted SQL. Fixes issue #1740 . Todo: Find out why OpenOffice Writer does not accept these HTML fragments.
2010-03-06 08:46:37 +00:00
527fcb0ba5
Session manager bugs: When clicking "New" and the selected session has modifications, RefreshSessionList caused the new session name to disappear which then again caused AVs. Different click situations fixed here. Fixes issue #1741 .
2010-03-05 00:24:26 +00:00
9d29e1876c
Turn filter input box into a TButtonedEdit, and add a "X" button to the right edge which clears its content.
2010-03-04 20:18:26 +00:00
5e4238fa7f
Minor: Just process initialized nodes in DeInitializeVTNodes(). Can produce AVs otherwise on startup, and makes superfluous loops on non initialized ones.
2010-03-03 23:49:23 +00:00
b8fd48a6cb
After setting grids to multi line mode their vertical scrollbar was not updated. Fix that. Additionally, let FixVT() do what's required instead of doing that in OnInitNode respectively the "Apply" action on the preferences dialog.
2010-03-03 23:46:01 +00:00
bc487d089c
Avoid AVs when index lists are in editing mode and user clicks "Remove" or "Clear" button. Fixes issue #1733 .
2010-03-02 23:23:02 +00:00
c426bc5e16
Enable variable node height in data and query grids. Customizable as number of lines per row. Fixes issue #1082 .
2010-03-02 23:11:48 +00:00
8f92ee7f3f
Use folder/magnifier icon instead of blue folder from Crystal icon set.
2010-03-01 22:30:42 +00:00
0ad436e7dc
Fix wrong maximum length restriction in popup text cell editor. Seems PMYSQL_FIELD._type returns wrong FIELD_TYPE_BLOB on a MEDIUMTEXT field - should be FIELD_TYPE_MEDIUM_BLOB. Also, other properties such as PMYSQL_FIELD.length and PMYSQL_FIELD.max_length return nonsense values here.
2010-03-01 22:05:43 +00:00
8c1fafc491
Organize controls on session manager into 3 tabs "Settings", "SSL options" and "Statistics", so less important stuff does not spam the initial screen.
2010-03-01 21:41:24 +00:00
458b4c3acf
Introduce a more simple strategy in data tab grid for loading data:
...
* Load in OnBeforePaint, if the tree's tag is set to NOTLOADED
* Load 1,000 rows in one step, up to a maximum of 100,000 rows. Both values are customizable.
* Load next chunk when user presses PageDown on the last node, or, more explicitly, when user clicks "Next rows" button
* Should fix all AVs which seem to be a timing issue with loading data on demand.
* Fixes issue #1675 , fixes issue #1580 , fixes issue #1721 , fixes issue #1734 , fixes issue #972
2010-03-01 16:44:36 +00:00
5c37b3024d
Old servers need TYPE instead of ENGINE in CREATE TABLE statement. Fixes issue #1732 .
2010-03-01 07:52:23 +00:00
15d698dfdb
Do not truncate contents of column contents if it contains NUL chars. Fixes issue #1731 .
2010-02-27 15:10:43 +00:00
243b9bbe17
Item caption for "Add to index" > [Primary Key] should always be "PRIMARY", not a custom name. Fixes issue #1726 .
2010-02-26 22:58:10 +00:00
f37811e46b
Remove database name from UPDATE and INSERT queries, triggered by data tab grid, making it consistent with DELETE queries. Seems that queries including the database name get ignored on replicated servers. Should have no effect in Heidi when we remove it. Fixes issue #1727 .
2010-02-26 17:03:26 +00:00
8a00d312fa
Routine comments can have single quotes escaped by single quotes. Fixes issue #1728 .
2010-02-26 16:53:51 +00:00
4e84c99a72
Introduce SSL support on session manager. Code parts from SuperNiFF. Fixes issue #518 .
2010-02-26 00:13:17 +00:00
f9ea5dc1ec
Add support for startup SQL script on session manager. Fixes issue #1716 .
2010-02-25 20:45:16 +00:00
3e4d47d1c9
Don't prompt more than one time if a table, trigger etc. should be saved, after user clicked "No" and focused a different db tree node. Fixes issue #1715 .
2010-02-24 23:07:17 +00:00
601edef305
Realign most controls on SQL help dialog, sanitize them from weird paddings and margins. Remove statusbar which was just there to display the size grip in the lower right corner.
2010-02-24 22:53:45 +00:00
19fa02b4c6
Add filter input above SQL help tree. Fixes issue #1718 . New code mostly from SuperNiFF.
2010-02-24 22:22:22 +00:00
b730230b09
Add "EXPLAIN query" to context menu of process list. Fixes issue #1717 .
2010-02-24 18:56:29 +00:00
c9950e1c51
Keep EXPLAIN link disabled if selected process is a SHOW command or even has an empty SQL. Fixes issue #1717 .
2010-02-24 18:46:37 +00:00
06333f36bf
Only replace updater tool in temp directory if it has become outdated. Avoids annoyance for users which have whitelisted this .exe in their antivirus or whatever software.
2010-02-23 23:32:49 +00:00
524faddf7e
Fix enabled EXPLAIN link on startup and avoid AVs on click, as long as no FocusChanged event has fired.
2010-02-23 23:15:08 +00:00
25be03a4b0
Parse result of SHOW CREATE PROCEDURE, instead of querying information_schema.ROUTINES, which seems broken as escaped quotes appear non-escaped here, on a 5.1.22 server. Fixes issue #1713 .
2010-02-23 21:25:48 +00:00
e3be57c4ee
The new EXPLAIN feature needs to prepend a "USE dbxyz" to the EXPLAIN, or that will only run without error if the user has selected the relevant database.
2010-02-23 18:25:48 +00:00
06dd22af9d
Again, increase length of fetched SQL column from 10kb to 50kb, so it's less likely that we cut important queries. Fixes issue #1714 .
2010-02-23 18:21:43 +00:00
64cfe945da
Tweak help menu items:
...
* Link issue tracker instead of separating them for bugs + features
* Rename "user to user forum" into "Support forum"
* Add "Changelog" item
2010-02-22 09:29:40 +00:00
484fcdbd46
Place a "EXPLAIN" link label to the process viewer, which creates a new query tab and executes "EXPLAIN [selected process query]".
2010-02-22 08:56:13 +00:00
962c0b3b44
Fix non working right anchors of aligned controls (mainly TEdit) on user manager dialog.
2010-02-21 10:59:19 +00:00
0e271ee7de
Replace remaining loadXYZwindow() functions for dialogs by a more native way.
2010-02-21 10:44:55 +00:00
bf4639360b
Remove unused unit
2010-02-21 07:34:24 +00:00
1376a4e5f0
Privilege tree doesn't repaint automatically when calling ReInitNode
2010-02-21 07:14:32 +00:00
a9cf0fd3b2
Organize controls on routine editor into 3 tabs (options, parameters, create code). Fixes issue #1708 .
2010-02-20 18:44:36 +00:00
812cbc82b6
Apply a new style to the user manager dialog:
...
* Use 2 VirtualTree's instead of broken TComboBoxEx pulldown's
* Enlarge the user list so all items are visible at once
* Privilege objects now use a tree style, 1st level is the objects name, 2nd level is the privilege name ("select", "update" ...)
Fixes issue #1707
2010-02-20 17:12:54 +00:00
29bd958a9f
Work around too few items in TComboBoxEx in higher DPI modes. Fixes issue #1707 .
2010-02-19 07:10:01 +00:00
a319770882
No more casting to TTableColumn required since we have these nice Generics
2010-02-17 23:25:46 +00:00
21ce2fbc80
Forgot that views are so similar to tables in previous commit.
2010-02-17 23:23:58 +00:00
5de3fc1d57
Display parameters of stored routines in "Cols" tab of query helpers when a procedure or function is selected. Fixes issue #1702 .
2010-02-17 23:16:26 +00:00
4ef7238ab9
Load full cell content before applying quick filters on larger text columns. Fixes issue #1703 .
2010-02-17 19:41:36 +00:00
2159472f93
Avoid AV when registry value for connection port is fucked up. Fixes issue #1700 .
2010-02-17 18:25:31 +00:00