Commit Graph

260 Commits

Author SHA1 Message Date
Ansgar Becker
e2674cadb8 Remove no longer used Zeos packages and related stuff 2009-10-28 00:34:52 +00:00
Ansgar Becker
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
Ansgar Becker
08d32fea64 Merge updated VirtualTreeView component source to r229 2009-10-19 09:48:48 +00:00
Ansgar Becker
2fd976620e Enhance SynEdit's TSynHotKey:
* Add events OnChange, OnEnter and OnExit
* Use gray text when disabled
2009-09-24 18:45:18 +00:00
Ansgar Becker
ca8fd5b118 Reveal a nice component in the SynEdit package which could work as an alternative to the VCL's broken THotKey. 2009-09-22 20:34:37 +00:00
Ansgar Becker
c6be8dd575 Implement customizing of shortcuts for all available TActions and SynEditor commands. Fixes issue #536. 2009-09-21 23:12:21 +00:00
Ansgar Becker
3209cd9d8b Minor: missing changes for previous commit. In-memory changes were not saved yet. 2009-09-17 23:05:41 +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
ad0af37cea Merge VirtualTree component to r221. Minor changes in it, e.g. removed Delphi 7 support, and nicer sort glyphs on Aero theming. 2009-09-15 22:49:40 +00:00
Ansgar Becker
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
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
bd32237430 Minor: remove unused constants 2009-08-27 20:12:20 +00:00
Ansgar Becker
334465a028 Implement connection counting on session manager. 2009-08-11 20:30:32 +00:00
Ansgar Becker
57d9d76bd5 Remember window dimensions of session manager for the next call. 2009-08-10 20:53:55 +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
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
Ansgar Becker
d04d5e2c6e Store and restore cursor position in new date/time grid editor 2009-06-27 09:15:01 +00:00
Ansgar Becker
07c75d245f Merge VirtualTree component source to v5.0.0 / r198 from their new repository at Google Code. Looks like various recent commits have been reverted here. 2009-06-21 20:30:22 +00:00
Ansgar Becker
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
Ansgar Becker
982e2850fa Remove dead code 2009-06-09 06:09:49 +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
53da54e235 Merge VirtualTree component to unofficial v4.8.7. Fixes issue #1157: Database tab select all disabled 2009-05-26 21:29:42 +00:00
Ansgar Becker
e97f6f5955 DBO_TYPE is used in different contexts, not only as deprecated column name for engine. 2009-05-24 06:36:11 +00:00
Ansgar Becker
7cf4a22a71 Accidently introduced a new constant in the previous commit which was already existing. Decided to keep the new one which has a clearer name. 2009-05-23 17:45:17 +00:00
Ansgar Becker
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
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
072a7d18e2 Merge VirtualTree component to v4.8.6 (r181) 2009-05-17 05:50:06 +00:00
Ansgar Becker
8f2e052c30 Missing file in r2414 2009-05-16 18:26:01 +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
Ansgar Becker
eadeed1ae2 Use helper methods where possible, and leave GUI stuff in form units. 2009-04-28 22:35:00 +00:00
Ansgar Becker
5687b8d7bf Extend detection of irregular linebreaks into a more informative method, now detecting various (non)consistent linebreaks. Related: issue #1095 and issue #1094 2009-04-21 17:06:42 +00:00
Ansgar Becker
2b8e3ac271 Issue #1074: Make maximum number of total rows displayed in datagrid configurable 2009-04-08 20:16:33 +00:00
Ansgar Becker
d3c505f032 Remove unused constants and code. 2009-04-05 11:54:02 +00:00
Ansgar Becker
fc433bf38f Add background color feature to SQL highlighting via preferences 2009-03-31 22:57:08 +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
6566f160ed Fix international characters in grid column headers (issue #994) 2009-03-31 17:23:03 +00:00
rosenfield.albert
f2ecca5dcd The mysql protocol is broken design-wise a couple of places, this is one of them. The server sends us a string, but doesn't tell which encoding it's in.
Rewrite the old code a bit to make the automatic PChar->WideString conversion explicit, also add a block of code that tries to guess if the server is sending UTF-8 and react properly to that.

A step on the way to fixing issue #994.
2009-03-31 04:39:43 +00:00
Ansgar Becker
992e2a4236 Fix issue #953: Add checkbox to toggle bold font in SQL font preferences. Also adds italic option for all attributes. 2009-03-18 21:51:06 +00:00
Ansgar Becker
3b376821bf Use descriptive database object icons in completion proposal pulldown, instead of colored labels ("table", "function", "keyword", ...). Saves some horizontal space also. 2009-03-18 20:12:58 +00:00
Ansgar Becker
385d650d6a Fix issue #1050: Stored Routines become a one-liner. (Why the heck does Zeos prepared statements / parameter stuff, even after we switched TZQuery.ParamCheck off?) 2009-03-17 22:50:37 +00:00
Ansgar Becker
47662cac51 Work around malfunctioning escape key in various forms with TSynMemo's (view/routine editors, alter table ...).
See also closed (as invalid) bug report in SynEdit's tracker: http://sourceforge.net/tracker2/index.php?func=detail&aid=1096749&group_id=3221&atid=103221
2009-03-16 22:44:07 +00:00
Ansgar Becker
c1e24cdcc9 My change in r2327 found its way to VirtualTree's official branch. My nice comment not... 2009-03-14 07:22:00 +00:00
rosenfield.albert
4ae5b43c05 Bug workaround: not sure why, but seen this assertion fire. 2009-03-12 20:21:42 +00:00
rosenfield.albert
4ba459b0f8 Bug workaround: avoid dereferencing DriverManager if ZdbcIntfs has already been finalized. 2009-03-12 20:19:52 +00:00
rosenfield.albert
62915ceb60 Bugfix: don't dereference the MethodPatches object on finalization, it may never have been initialized, or it may have already been nil'd in RevertPatchedMethods(). 2009-03-12 20:16:45 +00:00
Ansgar Becker
71d52e52c6 Fix VirtualTree to fire the "normal" OnHeaderClick event if a column with an icon was clicked. This error shows up in datagrid if you click a column for sorting twice - the second click is ignored.
Plus: OnHeaderImageClick was called when you click exactly on the column header glyph. But if no procedure was assigned here, even OnHeaderClick was not fired which is silly from a users point of view.
2009-03-11 00:22:12 +00:00
Ansgar Becker
0bcc662c37 Merge updated VirtualTree component to 4.8.4 (r179) from svn://www.soft-gems.net/library/VirtualTreeview 2009-03-10 22:21:13 +00:00
Ansgar Becker
8b65a83953 Fix previous commit: Same float format in Query grid as in Data grid 2009-03-09 22:38:38 +00:00
rosenfield.albert
af6d15e0e9 * Clear the database hint after reconnection.
* Make the connected hint public, so an outside caller can check whether a Reconnect() is useful or not.
2009-03-04 14:14:34 +00:00
rosenfield.albert
1f112b6556 someone at MySQL...
... would have my balls for breakfast if he/she saw this ;-)

Fulfills rfe #383.
2009-03-04 12:15:11 +00:00