33936541c1
Create one new query tab for each dropped file coming from Explorer or elsewhere. Fixes issue #1329 .
2009-08-30 06:36:04 +00:00
1d6ff80121
Code cosmetic:
...
* Move "const" + "type" fragments to a unified place.
* Use mixed case instead of all upper in a variable
* No need to format the "uses" list vertically
* Move helper InheritFont() to helpers.pas
2009-08-30 06:27:53 +00:00
fe31264f6b
Connect data filter editor to the auto completion object. Fixes issue #1045 .
2009-08-29 18:31:32 +00:00
a554f209bd
Fix unusable database tree after entering a regular expression with syntax errors into the filter combo.
2009-08-29 06:53:53 +00:00
4dc6ec2423
Minor: fix code indentation
2009-08-29 06:21:27 +00:00
a2ef629b81
Move "Databases" filter from session manager to an editable combobox below the database tree. Keeps session manager free from connection unrelated stuff, provides more comfort, adds a "recently used list" of old filters which is kept over session connects, and supports regular expressions now. Fixes issue #776
2009-08-27 22:18:50 +00:00
38b157830a
Fix mixed up session folder in registry while storing LastUsedDB setting
2009-08-27 20:07:28 +00:00
a37a2af966
Catch (TNT-)comboboxes in copy + paste actions. Fixes issue #1321
2009-08-27 13:27:39 +00:00
6df4b7a706
It's legal for ActiveGrid() to return nil, as there are tabs without a data- or querygrid. Fix relevant functions so they don't barf with a "List index out of bounds" violation. Fixes issue #1320
2009-08-25 21:37:34 +00:00
4ee136dae0
Be sure DBTree.OnFocusChanged is called when doubleclicking a table in the Database tab or "Edit ..." menu item was explicitly clicked. Fixes issue #1225 with annoyance factor.
2009-08-23 18:33:37 +00:00
a11b60cbd4
While the data grid is refreshed, certain objects are kept in memory instead of refetching them. This change fixes the "refresh detection" which only compared the table name, not the database name. Fixes issue #1300 .
2009-08-23 10:25:50 +00:00
c058039c40
Allow reference table in foreign key tab to be from a different database. See comment #17 in issue #400 : http://code.google.com/p/heidisql/issues/detail?id=400#c17
2009-08-22 16:07:03 +00:00
0d3aaacaab
Create missing gridresult on a new query tab. Fixes an access violation.
2009-08-20 06:00:02 +00:00
d09f1380a1
Refactor query tabs code:
...
* Collect all relevant controls of one query tab and its variables in a new object
* Collect these tab objects into a TObjectList
* Fixes mixed up QueryMemoLineBreakStyle variable - was used for all tabs, now part of the above mentioned object
* Same goes for minor remembering of selected tab on queryhelpers list
* Use filenames on tabs if saved or loaded.
* On tab close ask if content should be saved.
2009-08-19 23:47:59 +00:00
b264ab16f3
Do not flag clicks on system menu items other than our own "Check for updates" and "About" items as *handled* . Broken in r2580. Fixes issue #1309
2009-08-19 18:07:58 +00:00
d8944ad3eb
Add items "Check for updates" and "About" to window menu of session manager. Fixes issue #1296
2009-08-18 20:33:14 +00:00
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