4bf22d785e
Mainform.SessionName is used for write operations to registry. If you
...
a) connect a session
b) open the session manager
c) rename the current session
... your registry has a nearly empty session folder, after DoDisconnect() stores the last active database with the old session name.
This change fixes the SessionName variable and window caption immediately after a session was renamed.
2009-08-18 19:35:47 +00:00
52b2092385
No need to create two instances of the session manager.
2009-08-14 19:41:24 +00:00
0eeb422004
Revert r2530 and r2531: One click editing in datagrid. Too much annoyance by accidentally editing clicks. Have to find a better solution. Fixes issue #1272
2009-08-12 18:30:56 +00:00
64baec4b45
Fix AV on app close while session manager tries to store its window dimensions and main registry object is already destroyed.
2009-08-11 20:34:10 +00:00
334465a028
Implement connection counting on session manager.
2009-08-11 20:30:32 +00:00
4ff1acf408
Refactor session manager:
...
* Replace the pulldown by a list to get a better overview
* Display last connected and created date in details
* Prompt user on form closing if modifications should be saved
* Remove moreorless useless image
* Remove options "timeout" and "sort database"
TODO: Display some help text on the right side when no session at all is existant to help new users.
2009-08-09 23:57:52 +00:00
0e341f19cb
Implement connecting via named pipe. Code contributed by gabylastar, minor modifications by me. Fixes issue #520 .
2009-08-08 19:06:41 +00:00
62dbda76ff
SQL completion proposal: Be more exact when detecting the current query and its table aliases, don't mix that up with a potential following or preceding query. See also http://www.heidisql.com/forum/viewtopic.php?p=3419
2009-08-07 16:41:40 +00:00
386187b99d
Also stop at comma and parenthesis in detection of previous token. Fixes issue #1242
2009-08-05 19:26:30 +00:00
08fcaa813b
Enable missing auto completion popup on new query tabs
2009-08-05 19:09:19 +00:00
a4f2e2aee8
Ignore a dangerous shortcut pressing when neither DBTree nor ListTables has focus. Fixes issue #1284
2009-08-05 19:01:30 +00:00
d9c317277d
Prefer an image over a text character on the tab close buttons - the character was nice but displayed differently in Bulgaria. Fixes issue #1283
2009-08-05 18:47:49 +00:00
16e84c282c
Add some safer logic to find out if a given tab is a query tab
2009-08-04 19:29:16 +00:00
a965b30441
Add a button right beside the last query tab which can open a new query tab, so it's more clear that we have multi tabs now.
2009-08-04 19:19:24 +00:00
36e9dabd15
Repair position of tab close buttons when tabs reveal or change their caption length.
2009-08-03 23:22:31 +00:00
7e9fcc6586
Implement multiple query tabs. Fixes issue #443 .
2009-08-03 23:16:16 +00:00
7a91fa36f6
Move auto refresh main menu items to a dropdown menu on main refresh button.
2009-07-27 18:53:51 +00:00
af72ec197d
Enhance r2530, immediate grid editing: Do not start editing if mouse click was outside any cell.
2009-07-25 09:20:12 +00:00
ea45014129
Experimental: Start editing by mouseclick into datagrid.
2009-07-24 06:25:08 +00:00
6c0f5c9e9e
Use preferred color in SET grid editor
2009-07-23 21:20:33 +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
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
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
4ef58c5d89
Fix issue #1233 : loop when SHOW VARIABLES fails.
2009-06-21 12:47:43 +00:00
923330d557
Fix issue #1234 : "Empty table(s)..." / Shift+Del doesn't work in the database tree
2009-06-21 12:32:49 +00:00
2d290595b5
Ask the user at application startup if statistic calls shall be activated. Otherwise that would be used by no one until a final release shows a checkbox for this feature in the installer.
2009-06-20 22:41:10 +00:00
ddbee4c536
Implement optional usage statistics call:
...
* Disabled by default, can be checked in preferences dialog
* If enabled, reports HeidiSQL revision and versions of recently used servers
2009-06-20 22:10:08 +00:00
88eb5e8b57
Minor optimization in TMainForm.LoadDatabaseProperties
2009-06-14 20:03:09 +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
e684f8be78
Solve issue #1221 and issue #1222 : unify window caption and taskbar text, and update them at the right event.
2009-06-12 18:29:59 +00:00
d757b579ac
Fix minor memory leak for suspended cached dataset holding collations.
2009-06-12 17:53:16 +00:00
1a39aad6d4
Correct typo. Fixes issue #1199 .
2009-06-12 11:53:27 +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
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
982e2850fa
Remove dead code
2009-06-09 06:09:49 +00:00
70b13675de
Fix issue #1192 : "Index out of bound" in data tab, header click
2009-06-07 18:26:40 +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
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
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
fe8ae38dd9
Doubleclicking a stored routine should bring up the editor dialog instead of the data tab.
2009-05-24 17:11:57 +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
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
61693a8fcc
Fix issue #1150 : "List index out of bounds" when autofitting any header column
2009-05-22 17:43:35 +00:00
4a607ac702
Fix status/processes lists to update their state after the filter was modified.
2009-05-21 15:48:29 +00:00