12a8e2ebc5
Implement a more lightweight connection layer, consisting of 2 units in source directory. Breaks threading and window to window communication, which should be reimplemented later.
2009-10-28 00:08:49 +00:00
df309fc633
When the filter box in data tab is empty, and filter generator box has text, auto generate filter on button click. Fixes issue #987 .
2009-10-19 23:15:42 +00:00
1371d87695
Auto focus filter memo when user clicks "Filter" button. Fixes issue #986 .
2009-10-19 23:02:55 +00:00
aaa02877a2
Cosmetic in project files:
...
* Move const.inc and compilers.inc back to main source directory
* Move remaining few lines of code from heidicomp.pas to helpers.pas
* Remove components/compilerdetection and components/heidisql
* Remove remainders of EDBImage component, unused since Aug 08.
2009-10-19 22:13:04 +00:00
0495a762ba
Use light blue for focused cells and light gray for selected, unfocused cells. Fixes issue #1383 .
2009-10-19 17:57:41 +00:00
2abcd09486
Remove debug output in log memo
2009-10-17 13:14:41 +00:00
0790c125f4
Only check selected table node(s) in table tools tree, if table(s) were right clicked. Check db node if that db was right clicked. Fixes issue #1362 .
2009-10-17 11:17:59 +00:00
1a9da455dc
Rephrase the error message which pops up when grid editing is blocked because there is no sufficient key for it. The message was too long so a user and me didn't read the whole text and thought we detected a bug (see issue #1385 )
2009-10-15 20:54:24 +00:00
e812ffc209
Cosmetic: Reset query tab caption to "Query #x" on Ctrl+W ("Clear editor"), so a filename is no longer kept in that case.
2009-10-15 18:52:51 +00:00
1c35b39945
Refresh query helpers if *any* query tab is open, not only the main query tab. Fixes issue #1387
2009-10-15 17:25:05 +00:00
556db8ce3f
Fix mixed up variable
2009-09-21 23:22:14 +00:00
c6be8dd575
Implement customizing of shortcuts for all available TActions and SynEditor commands. Fixes issue #536 .
2009-09-21 23:12:21 +00:00
206287177a
Minor: optimize redundant code away.
2009-09-19 16:22:04 +00:00
c80e0f2999
Fix position of query tab close buttons in OnResize. Fixes issue #1363
2009-09-19 16:14:51 +00:00
60beacc049
Implement a second tab on the table tools dialog: "Find text on server". Scans all tables with OR'd LIKE clauses for a given text. User can restrict that search to a data type category (integer, text, etc.). Fixes issue #529 .
2009-09-17 23:00:29 +00:00
e0796b153f
Refactor maintenance dialog:
...
* Replace checklist box by a virtual tree with checkboxes
* Make "Maintenance" a single tab on a TPageControl, so there may follow other tools (e.g. issue #529 )
* Replace button layout by a combobox
* Add "CHECKSUM" operation and various options
2009-09-14 00:09:03 +00:00
2146332be6
Automatically refresh children of active database node after creating a new table or renaming one. Fixes issue #1248 and part 1 of issue #1352
2009-09-12 06:47:17 +00:00
77ec7315e8
Revert r2630, edit delay for database filter. Not needed any longer as the filter works in real-time now. Also, this delay has the chance to annoy users. Related to issue #1350 .
2009-09-11 21:12:27 +00:00
eb1e857810
Optimize database filter:
...
* Issue #1350 : Enhance performance for database filter: Only use regular expressions, avoiding to do a second exact StringList search which is slower. 10,000 databases are filtered now in <1 sec (>10secs before)
* Now a part of a db name matches - previously the match had to be exact or a regular expressions.
* Pink background if filter doesn't match any dbs or the regular expression contents syntax error(s).
2009-09-11 20:58:34 +00:00
f940c20b06
Add the same timer based delay to the db tree filter as for the filter panel in r2627, was also complained about in issue #1350 .
2009-09-11 20:01:58 +00:00
5e35c1811d
Optimize performance for populating the database tree: SynEdit's InitializeKeywordLists() is very slow when you put a large number of dbs into SynEdit's list of tables - 10 seconds for 4,000 dbs here, vs. 1 second if we don't do that. Decided to remove that "feature", databases are not tables anyway. Fixes issue #1350 .
2009-09-11 19:53:37 +00:00
8f52879369
Fix enabled instead of disabled timer
2009-09-11 18:53:09 +00:00
2e42a79138
Optimize grid filter logic:
...
* don't call filter procedure immediately in TEdit.OnChange, rather add a timer interval of 1 second after user has finished typing. On larger grids this can save you from waiting a certain period on each typed character.
* Remove regular expression support for the sake of performance. Was not documented anyway so no one will miss it.
2009-09-11 18:45:49 +00:00
20ed8ac990
No need for an explicit call to UpdateVerticalScrollbar(), seems that's already called internally by VT.IsVisible
2009-09-11 18:18:57 +00:00
38b51116ed
Fix vertical scrollbar dimensions when nodes are filtered.
...
See also http://code.google.com/p/virtual-treeview/issues/detail?id=30
2009-09-10 17:55:57 +00:00
58b97d8112
Minor code optimization
2009-09-09 20:30:44 +00:00
743c8e62cc
A doubleclick on the snippets box loads the selected item into the memo. In case there is no selection, do not access the list items. Fixes issue #1339
2009-09-09 20:04:53 +00:00
b2b7e4d66d
Make filter panel in "Host" tab usable for all tabs. Plus: support regular expressions and one filter per tab. Fixes issue #810 .
2009-09-07 23:40:28 +00:00
2ec8938074
Enable database renaming again, this time by renaming all tables and views into the target db. Fixes issue #1338 .
2009-09-07 05:52:44 +00:00
1dc45965c7
Allow, store and restore empty database filter, but avoid duplicate filters.
2009-09-05 09:40:49 +00:00
a2c327fd26
Find a more self-explanatory name for ResetVTNodes()
2009-09-03 22:26:40 +00:00
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