270 Commits

Author SHA1 Message Date
7196c7859d Fix missing and partly wrong search paths in project files for "release" configuration 2010-01-30 08:28:40 +00:00
7d98420602 Update VirtualTreeView sources to revision 250. 2010-01-29 20:43:26 +00:00
2e00bdf37d Add SOME keyword to keyword highlighter. Fixes issue #1606 2010-01-16 14:42:18 +00:00
082a3a7590 SynEdit fix: Word-wrapping in SynEdit is limited to a maximum of 255 chars per line. Work around AV when editor is wider than that. Fixes issue #1579. 2010-01-16 08:11:40 +00:00
b09e8a6816 Extend list of known MySQL keywords with those in http://dev.mysql.com/doc/refman/5.5/en/reserved-words.html, but not in our own list. Fixes issue #1600. 2010-01-13 19:45:53 +00:00
7d401ffde8 Upgrade to Delphi 2010:
* Removes TNT Unicode controls, which are no longer required. All VCL controls now have native Unicode support.
* Remove Delphi 11 packages, otherwise we would either need to keep TNT or break Unicode
* PngComponents update from Uwe Raabe on http://cc.embarcadero.com/Item/26127
* Adjust auto build process
* Since Delphi 2009, Strings are now UnicodeStrings, not AnsiStrings any longer. Fix a bunch of compiler errors which came along with this change.
TODO: Project should compile but give tons of compiler warnings.
2010-01-05 23:14:33 +00:00
bf22139798 Update VirtualTree component to r241 2010-01-03 21:44:17 +00:00
dfe7515c93 Additional, official changes from the new SynEdit repository at SF: https://synedit.svn.sourceforge.net/svnroot/synedit 2009-12-31 15:48:38 +00:00
6b11615e83 Update SynEdit component to latest version from mh-nexus.de (September 28). Fixes issue #1122. 2009-12-31 15:39:08 +00:00
5c180cc141 Detect multiple successive backslashes as escape char, so '\\' does not display text right besides that as string. Fixes issue #1308. 2009-11-24 20:13:51 +00:00
e2674cadb8 Remove no longer used Zeos packages and related stuff 2009-10-28 00:34:52 +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
08d32fea64 Merge updated VirtualTreeView component source to r229 2009-10-19 09:48:48 +00:00
2fd976620e Enhance SynEdit's TSynHotKey:
* Add events OnChange, OnEnter and OnExit
* Use gray text when disabled
2009-09-24 18:45:18 +00:00
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
c6be8dd575 Implement customizing of shortcuts for all available TActions and SynEditor commands. Fixes issue #536. 2009-09-21 23:12:21 +00:00
3209cd9d8b Minor: missing changes for previous commit. In-memory changes were not saved yet. 2009-09-17 23:05:41 +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
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
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
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
bd32237430 Minor: remove unused constants 2009-08-27 20:12:20 +00:00
334465a028 Implement connection counting on session manager. 2009-08-11 20:30:32 +00:00
57d9d76bd5 Remember window dimensions of session manager for the next call. 2009-08-10 20:53:55 +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
d04d5e2c6e Store and restore cursor position in new date/time grid editor 2009-06-27 09:15:01 +00:00
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
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
982e2850fa Remove dead code 2009-06-09 06:09:49 +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
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
e97f6f5955 DBO_TYPE is used in different contexts, not only as deprecated column name for engine. 2009-05-24 06:36:11 +00:00
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
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
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
072a7d18e2 Merge VirtualTree component to v4.8.6 (r181) 2009-05-17 05:50:06 +00:00
8f2e052c30 Missing file in r2414 2009-05-16 18:26:01 +00:00
7f32b33505 Issue #436: Implement a new table editor dialog. Nukes both create + alter table dialogs. 2009-05-12 22:24:09 +00:00
eadeed1ae2 Use helper methods where possible, and leave GUI stuff in form units. 2009-04-28 22:35:00 +00:00
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
2b8e3ac271 Issue #1074: Make maximum number of total rows displayed in datagrid configurable 2009-04-08 20:16:33 +00:00
d3c505f032 Remove unused constants and code. 2009-04-05 11:54:02 +00:00
fc433bf38f Add background color feature to SQL highlighting via preferences 2009-03-31 22:57:08 +00:00
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
6566f160ed Fix international characters in grid column headers (issue #994) 2009-03-31 17:23:03 +00:00
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
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
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
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