Commit Graph

5018 Commits

Author SHA1 Message Date
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
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
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
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
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
f5c1839acd Fix target table lacking CURRENT_TIMESTAMP defaults in copy table dialog. (Issue #996) 2009-03-17 19:37:09 +00:00
rosenfield.albert
7791176be5 Fix rfe #1061. 2009-03-17 16:56:48 +00:00
Ansgar Becker
2c75d385d3 Fix issue #1033: wrong bit field default syntax 2009-03-16 23:02:49 +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
85a579943f Fix non clickable message "Please use stored routine editor ...", see issue #1048 2009-03-16 21:20:43 +00:00
Ansgar Becker
33894c807f Always quote routine parameters like identifiers, and dequote them if necessairy. Fixes double quoted params. 2009-03-16 19:44:11 +00:00
Ansgar Becker
f5bdc0e79b Fix issue #1059 2009-03-16 18:16:21 +00:00
Ansgar Becker
4babc8c103 Include collation and engine in tables created by "Copy table" dialog. Fixes one part of issue #996. 2009-03-15 19:47:32 +00:00
Ansgar Becker
8c578ae551 Fix issue #1048: "Bad Tab UI - Procedure routines". Seems that ControlX.Visible is broken if ControlX is placed on an inactive tabsheet. So, we don't hide DataGrid and ListColumns any longer - instead it gets disabled if the user selected a stored routine. 2009-03-15 16:43:32 +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
rosenfield.albert
1980f92cb1 Bugfix: fix issue #1055. 2009-03-12 21:32:28 +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
8f74735c52 Avoid main window blinking into view when Cancel is pressed in the session manager. Happens because Application.Run() sets the main form to Visible before the message pump starts and gets to processing WM_QUIT (or whatever). 2009-03-12 20:23:41 +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
1c1c1e8e36 Fix more candidates for issue #858 ("Cannot perform this operation on a closed dataset") 2009-03-12 19:36:44 +00:00
Ansgar Becker
03748ec6eb Free cached session based datasets (and forms which make use of those) on session disconnect, not on FormClose. Fixes various closed-datasets-AVs after session switching. 2009-03-11 22:07:50 +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
05bd9eff61 Remove useless coFixed option from first column of routine parameter list. Works around an AV in the new VirtualTree version. 2009-03-10 22:46:27 +00:00
Ansgar Becker
d2f67ac673 Fix Issue #1042: Auto-show of Filter on "Data" tab 2009-03-09 22:46:53 +00:00