Commit Graph

1745 Commits

Author SHA1 Message Date
rosenfield.albert
5f4a9c463d The release documentation was incomplete; these are some further modifications that are necessary when tagging a release.
The XML was unfolded in heidisql.dproj to make it readable, this is a merge of r2403.
4.0
2009-04-29 15:47:00 +00:00
rosenfield.albert
109d5bbdbe Tag for release of version 4.0. 2009-04-29 14:47:23 +00:00
rosenfield.albert
3c48505494 Display a message regarding stored routines only when such an item is selected in the tree. 2009-04-29 13:21:15 +00:00
rosenfield.albert
6c984b7be5 * Bugfix: wrap Tree.{Begin,End}Update in try..finally.
* Bugfix: avoid calling AutoCalcColWidths() from finally, since it can easily throw an exception.

Fixes issue #1111.
2009-04-29 13:06:20 +00:00
rosenfield.albert
57b6530789 Bugfix: Seems that I broke the row counter statistics while doing InnoDB fixes. 2009-04-28 23:22:33 +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
rosenfield.albert
8610147eaa The CSV files currently supported are not standard CSV files but MySQL-specific ones in a format compliant with LOAD DATA INFILE.
Importing normal CSV files will give odd effects, such as the text "\12" in a field being converted to a character value etc.

Change the text in the open dialog to read "MySQL CSV file"...
2009-04-28 21:35:33 +00:00
rosenfield.albert
d25e271591 Detect and process NUL characters before giving loaded SQL to SynEdit. Works around issue #1093. 2009-04-28 21:16:18 +00:00
rosenfield.albert
1d0b3d2b85 Bugfix: avoid mangling newlines when sending SQL to Zeos. Fixes remaining part of issue #1094. 2009-04-28 20:06:35 +00:00
servertood
0229c6df58 fix rename and delete profile buttons 2009-04-28 03:52:42 +00:00
servertood
3dde5a5c8f so much for supporting tiger 2009-04-27 02:54:02 +00:00
servertood
ca9fd81ce4 fix broken type map 2009-04-27 01:46:01 +00:00
servertood
f4f9c6ebd0 fix broken path 2009-04-27 01:16:53 +00:00
servertood
21fe10c475 add drizzle profile 2009-04-27 01:13:48 +00:00
servertood
6495372a3d add drizzle support 2009-04-27 00:48:42 +00:00
Ansgar Becker
f6a6379e20 * Fix text editor getting original celltext instead of already modified text from inplace editor.
* Set modification flag on popup editor in that case.
* Nukes duplicated error message from r2387 (see issue #1097).
2009-04-26 16:29:09 +00:00
Ansgar Becker
a827f68509 Work around for issue #1097: Text editor mangles text containing NUL. Pops up a warning if text contains one or more #0 chars and removes all of them for editing. 2009-04-25 18:08:31 +00:00
Ansgar Becker
cbcdf27bbd Work around issue #1094: SQL editor silently converts newlines. By showing a popup info, saying that file contains mixed line breaks and they were converted to Windows breaks. 2009-04-21 22:26:43 +00:00
Ansgar Becker
40ada7b69c Related to issue #1094: Try to handle consistent, non-Windows line breaks in query editor, so e.g. a loaded Unix text later gets saved using Unix breaks rather than Windows breaks.
This should also heal query execution for e.g. a loaded Unix text but it doesn't - queries always have Windows breaks when they arrive at the server. Seems that Zeos does a further replacement for non-windows breaks somewhere.
2009-04-21 22:15:00 +00:00
Ansgar Becker
6d96f6d7cf Remove no longer used constants since r2383 2009-04-21 21:37:59 +00:00
Ansgar Becker
20f8848faa Fix issue #1095: Text editor breaks text containing mixed newlines. Extends linebreak pulldown menu with "Unicode" and "Mixed" items. No auto replacement done now if mixed style was detected. 2009-04-21 21:34:56 +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
1d56021ee5 By default, set more reasonable SQL output file to <user name>\Application Data\<database>.sql, instead of <progam files>\HeidiSQL\export.sql . See also http://www.heidisql.com/forum/viewtopic.php?p=3156 2009-04-19 06:15:43 +00:00
rosenfield.albert
34520be50c * Update to WideString.
* Update to SynEdit (rather than MEMO) bugs.
2009-04-17 11:56:08 +00:00
rosenfield.albert
51f8c54e91 Partial revert of r2369 to restore potentially useful functions. 2009-04-17 11:20:31 +00:00
rosenfield.albert
c92994aa99 * Redo r2106 and r2283, fixing issue #916 and #1000.
Did not bother adding char5, char6 and char7, opted instead to run escChars() twice.  Haven't tested performance but adding the extra chars could be faster.

* Add comment explaining why these characters are escaped.
2009-04-17 01:03:53 +00:00
rosenfield.albert
6ee468fb26 Revert r2106 and a similar change. Fixes issue #1092. 2009-04-16 14:33:06 +00:00
rosenfield.albert
26a884164e Bugfix: fix issue #1047, #1080 and #1084. 2009-04-15 22:10:12 +00:00
Ansgar Becker
91716960bb Fix AV on opening one of the CREATE or ALTER TABLE dialogs for the second time, after an automatic reconnect. Related: r2312, r2328 and issue #858 2009-04-15 19:32:20 +00:00
Ansgar Becker
92d6a938db Fix handling of session name in command line (-dMySession): Use it to *read out* session properties from registry instead of *saving* (potentially empty) values. 2009-04-09 23:35:37 +00:00
Ansgar Becker
c601ece40c Work around wrongly calculated scrollbar range in host lists. Ignores hidden (= filtered) nodes now. 2009-04-09 22:22:38 +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
2f604311bf Fix issue #838 (superflous "0x" prefix on empty blobs) 2009-04-06 20:06:34 +00:00
rosenfield.albert
610d0a7432 Bugfix: missing DFM<->PAS link. 2009-04-06 09:15:31 +00:00
Ansgar Becker
d3c505f032 Remove unused constants and code. 2009-04-05 11:54:02 +00:00
Ansgar Becker
2cbf85918f Add "Factory defaults" button to preferences dialog. Erases all registry values in HKCU\Software\HeidiSQL\* . Not recursive, as that would also delete sessions and their specific, automatic settings. 2009-04-05 09:19:25 +00:00
Ansgar Becker
616400b37f Fix issue #1077, access violation when a filter returns 0 rows in datagrid. 2009-04-04 05:53:59 +00:00
Francisco Ernesto Teixeira
025375e20e Updated the portable launcher application and included a installer script based on official HeidiSQL installer script. 2009-04-02 14:27:38 +00:00
Ansgar Becker
fc433bf38f Add background color feature to SQL highlighting via preferences 2009-03-31 22:57:08 +00:00
Ansgar Becker
ab8171ee53 Fix AV if user clicks on sample SynMemo but doesn't hit any attribute representer. 2009-03-31 22:38:50 +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
bacb810ebd Fix issue #1070: autocomplete pops up in string 2009-03-31 17:56:28 +00:00
Ansgar Becker
6566f160ed Fix international characters in grid column headers (issue #994) 2009-03-31 17:23:03 +00:00
rosenfield.albert
16ef4b8ac2 Remove accurate row counting, as requested by InnoDB users. Also removed for MyISAM, for ease of maintenance. 10.000 rows is guessed at, and the scrollbar is adjusted to a constant +20% of seen/guessed rows. Fixes issue #940. 2009-03-31 09:22:09 +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
eecd5423b4 Allow proposal popup to show on Ctrl+Space without any typed token. 2009-03-27 18:45:30 +00:00
Ansgar Becker
20e865cbf2 Revert a part of r2355: mask database, table and column identifiers in InsertList. Breaks proposal functionality when user types the first letters of a table fx. 2009-03-27 18:41:55 +00:00
Ansgar Becker
dc9d55fbe8 Recycle preferences form so certain things can be initialized once in FormCreate instead of each time the dialog is called. The selected tab is remembered after the dialog is closed now. FormShow keeps fetching registry values each time the dialog is opened, so, if the user cancels, the next time the dialog is shown, all modified options are reset (which is the correct meaning of "cancel"). 2009-03-26 23:33:07 +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
Ansgar Becker
21114256a7 Fix issue #1065: problem with autocomplete and two schemas 2009-03-26 22:20:30 +00:00