Commit Graph

145 Commits

Author SHA1 Message Date
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
b1a65036fd Missing file changes for r2664 2009-10-17 13:24:54 +00:00
Ansgar Becker
8319acf86a Slightly decrease search event timer on filter panel to make fast typers happy. 2009-09-24 18:57:34 +00:00
Ansgar Becker
5ad57405dd Add SynEdit keystrokes for "make uppercase" and "make lowercase". Fixes issue #1256 2009-09-21 23:50:13 +00:00
Ansgar Becker
d2c716ff54 Add reasonable default shortcuts for "delete next word" and "delete from here to eof". Fixes issue #1088. 2009-09-21 23:44:46 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
542c3c309d Fix issue #1348 and issue #1196 - both caused by some VCL bug, changing the .Height property of uninvolved components when some MinHeight constraint is set on another component. Unfortunately this reopens the cosmetic issue #1147, which looks - compared to the above mentioned - acceptable to me. 2009-09-09 19:46:47 +00:00
Ansgar Becker
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
Ansgar Becker
506a187239 Enlarge the "Allow NULL" checkbox image slightly, makes it look more like a standard checkbox. 2009-08-30 06:53:10 +00:00
Ansgar Becker
fe31264f6b Connect data filter editor to the auto completion object. Fixes issue #1045. 2009-08-29 18:31:32 +00:00
Ansgar Becker
8c3d298f95 Revert border adjustments from r2598, which were meant to minimize the border between the database filter and database tree. In the end that looks just ugly and non-standard. 2009-08-29 06:25:32 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
6517a04eff Implement creation and editing of foreign key constraints in a separate new tab on the table editor. Fixes issue #400. 2009-08-16 20:32:37 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
386187b99d Also stop at comma and parenthesis in detection of previous token. Fixes issue #1242 2009-08-05 19:26:30 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
7e9fcc6586 Implement multiple query tabs. Fixes issue #443. 2009-08-03 23:16:16 +00:00
Ansgar Becker
7a91fa36f6 Move auto refresh main menu items to a dropdown menu on main refresh button. 2009-07-27 18:53:51 +00:00
Ansgar Becker
ea45014129 Experimental: Start editing by mouseclick into datagrid. 2009-07-24 06:25:08 +00:00
Ansgar Becker
df9e9150b4 Now that all grid editors use MainForm instead of DataGrid as parent control, there is no need to leave extra space at the bottom of the tree to ensure larger editors keep visible. 2009-07-24 06:23:39 +00:00
Ansgar Becker
33501d1a56 Minor graphical fix: Minimize gutter width in all TSynMemo's, tell them to auto-size themselves when more digits come. 2009-06-15 06:31:26 +00:00
Ansgar Becker
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
Ansgar Becker
fe8ae38dd9 Doubleclicking a stored routine should bring up the editor dialog instead of the data tab. 2009-05-24 17:11:57 +00:00
Ansgar Becker
9cf841526c Fix issue #1147 : Query results invisible after resizing main window 2009-05-21 08:44:22 +00:00
Ansgar Becker
cde5558bbc Remove code around "ValidateControls(*False*)" - a remainder of MDI times, where the mainform needed to know whether there is an open child window or not. Rather use a "Sender" parameter to be able to use it for various GUI events. 2009-05-19 23:30:55 +00:00
Ansgar Becker
a92c3ed489 Fix issue #1089: Pressing Ins in filter textarea inserts new data line 2009-05-19 23:02:07 +00:00
Ansgar Becker
d139ab355d * Replace all "Edit table|view|..." buttons and menuitems by one single "Edit" item.
* Move "Create table|view|..." items into a submenu and have one single "Create" item
* Remove all above mentioned buttons from the main toolbar, leaving them in the context menus where there function is more predictable
* Streamline context menu of db tree and database tab
Fixes issue #1139, issue #1124, issue #1108, issue #820, issue #738, issue #595
(The diff tends to be unreadable here, as there are many automatic GUI adjustments after having removed a toolbar)
2009-05-19 22:37:22 +00:00
Ansgar Becker
2acd0170e8 Fix one-click-editing in trees and grids, broken in recent VirtualTree update, r2416 2009-05-17 16:11:09 +00:00
Ansgar Becker
bc33729fdd Issue #436: Remove table tab from main tabs, and old field editor. Both were replaced by the new table editor. Doubleclicking a table opens the data tab now. 2009-05-17 16:02:28 +00:00
Ansgar Becker
7f32b33505 Issue #436: Implement a new table editor dialog. Nukes both create + alter table dialogs. 2009-05-12 22:24:09 +00:00
rosenfield.albert
610d0a7432 Bugfix: missing DFM<->PAS link. 2009-04-06 09:15:31 +00:00
Ansgar Becker
cafd2a8c16 Enhancement in preferences dialog, SQL styles:
* Use AttrCount and Attribute[x] in SynEditHighlighters to iterate through available attributes, instead of doing less with more code.
* Use integer registry values for highlighter colors (were strings) and also integers for bold, italic, underline, strikeout (was one boolean per attribute).
a) optimizes registry access b) normalizes registry names and c) simplifies code. Unfortunately this breaks everyone's customized highlighter style - hopefully ok to do this is in an interim build.
2009-03-31 22:24:00 +00:00
Ansgar Becker
b7cd93a079 Enhance proposal popup:
* make it slightly wider and higher by default so items are better visible
* again introduce a first column displaying the type of object it represents (table, view, function, keyword ...)
* mask database, table and column identifiers in InsertList
2009-03-26 23:03:13 +00:00
rosenfield.albert
7791176be5 Fix rfe #1061. 2009-03-17 16:56:48 +00:00
Ansgar Becker
0312eee98d Fix issue #1060: Ctrl+Y shortcut in SynMemo's for "Redo" action 2009-03-16 21:50:30 +00:00
Ansgar Becker
bcf44ff376 Revert r1870, a no longer working fix for VirtualTrees malfunctioning cell focussing. Was gladly fixed in VirtualTree itself. Fixes issue #1052. 2009-03-14 07:12:14 +00:00
Ansgar Becker
faf93622b3 Sanitize shortcuts in TSynMemo's from accidentally changes, fixes issue #1049 2009-03-12 20:50:11 +00:00
rosenfield.albert
9a7a0b64a1 Revert r2316, and move code that's supposed to be run before the main form is visible from FormShow into a new procedure, Startup(). Fixes issue #1041. 2009-03-12 20:00:18 +00:00
Ansgar Becker
814b4ee14b Ban vertical line from all TSynMemo's. Never heard of anyone using it, and fixes issue #1051. 2009-03-12 19:50:42 +00:00
Ansgar Becker
e312915fd5 Automatic property adjustments by IDE after VirtualTree update 2009-03-10 23:11:59 +00:00
Ansgar Becker
81ad0d4397 Activate Vista theming in trees and lists 2009-03-10 23:04:24 +00:00
Ansgar Becker
f0264cef56 Handle different styles of linefeeds (Windows, UNIX, Mac) in popup editor. Solves issue #905 and issue #1016
a) Detect current linefeed style
b) Convert all linefeeds to CRLF
c) Let the user chose a different one or leave it as it is
d) Convert linefeeds back to selected before saving
2009-03-08 13:07:44 +00:00
Ansgar Becker
9c3f459802 Do an extra autofitting of the size column when a db was expanded. For cases in which the db was selected but not expanded at first. 2009-03-05 20:00:07 +00:00