2849 Commits

Author SHA1 Message Date
cd75b0899d Quote db and table name in new function TDBObject.QuotedDbAndTableName, which also adds "dbo" for MS SQL inbetween. Plus, run SELECT in SQL export through ApplyLimitClause, to fix an SQL error on MS SQL. See http://www.heidisql.com/forum.php?t=11956 2013-01-19 12:43:41 +00:00
88b3666bf1 Support search/replace in data and result grids. Fixes issue #2979. 2013-01-15 20:46:41 +00:00
252e343c22 Ignore error at connection time on MS Azure servers without sysprocesses table. Fixes issue #3087. 2013-01-15 09:38:54 +00:00
d16f19da91 Disallow to drag a session folder somewhere below itself, which would end up in an infinite folder structure, theoretically. Fixes issue #3086. 2013-01-15 09:09:44 +00:00
7ddfa83ace Fix minor memory leak 2013-01-14 20:34:43 +00:00
0d6945ebcc Remove "Created" date/time from SQL export header. Fixes issue #3083. 2013-01-14 20:33:31 +00:00
d630989541 Ensure row count step + maximum settings are never "0". Fixes issue #3080. 2013-01-12 18:11:14 +00:00
becd4bdd0e Work around broken ToolButton with Style=tbsDropDown after translation: https://sourceforge.net/tracker/index.php?func=detail&aid=902470&group_id=74086&atid=539908
Fixes issue #3066.
2013-01-02 19:12:13 +00:00
4fd920906c Introduce "KeepAskingSetting" parameter to MessageDialog(), which activates a verification checkbox left besides the dialog buttons. Use that when confirming to close a query tab, so the user can disable the dialog within the dialog itself, without the need to disable this setting in Preferences > SQL. Fixes issue #3065, which was broken since r4283. 2012-12-31 11:03:16 +00:00
551864a06c Ensure we do not send an empty query, if a single query is larger than the max_allowed_packet setting. This way, we most probably get disconnected anyway, but that clearly leaves responsibility to the user to make the query smaller. 2012-12-31 10:33:32 +00:00
65d7e2ffab Read and write snippet files in a subdirectory of the application directory when in portable mode. Fixes issue #2980. 2012-12-31 10:30:33 +00:00
c02f4896d8 Ignore TFont when translating main form, so "Default" does not get broken, for XP users. Fixes issue #3064. 2012-12-30 09:20:58 +00:00
cf87ae63d6 Fix file open dialog file filter, so it gets translated like its similar dialogs. 2012-12-28 20:15:20 +00:00
2b5b69cc4d Preparation for issue #3002: Move startup script and local time zone options together with SSL settings to a new "Advanced" tab. 2012-12-28 20:09:28 +00:00
d2255ed06e Widen "Bold" checkbox in highlighter options dialog, so translations fit into it. See issue #557. 2012-12-28 07:15:22 +00:00
8ac1e41cba Fix named pipe usage on command line. Fixes issue #3052. 2012-12-27 18:32:34 +00:00
39b69226e1 Group tree options in popup submenu, and introduce new option "Auto expand on click". Fixes issue #3061. 2012-12-26 08:14:10 +00:00
e25ea34794 No need to cast for TTableKey. 2012-12-26 07:34:16 +00:00
13cff8c63c Silently auto-rename index to "PRIMARY" when index type gets set to "PRIMARY". Fixes issue #3031. 2012-12-26 07:33:21 +00:00
39926ac729 Remove properties FFullDatatype, Connection and Datatype from TBaseGridEditorLink, for the benefit of a new property "TableColumn", which has everything we need. Using this TableColumn property, the data grid editors can now read the LengthSet attribute of the source column, which we need to read + write the microseconds part of DateTime values. Add some additional code to make editing microseconds peachy. Fixes the second part of issue #3003. 2012-12-24 13:12:25 +00:00
1dff9d9814 Degrade (silence) error message in log panel to lcDebug which is mostly not displayed. Works around issue #2960, which I am not able to track down to some code path. Only I have a gutt feeling that threading causes this registry read error. 2012-12-22 14:00:35 +00:00
51307686a5 New attempt to remove left space after r4277 broke translations. Our main ImageList on the TMainMenu seems to cause its top TMenuItems to reserve left sided space for some icon during TranslateComponent(). Get rid of this space by applying the imagelist *after* the call to TranslateComponent(). See issue #557. 2012-12-19 20:04:00 +00:00
1ad11ad92c Revert r4277, add code block again, see http://code.google.com/p/heidisql/issues/detail?id=557#c66 . Seems like PropInfo.PropType.Kind=tkClass is handling TStringList's on forms. 2012-12-18 18:41:19 +00:00
f9af910ffe Block close button on query tab while its query thread is running. Fixes issue #3063. 2012-12-18 18:30:14 +00:00
e12b4e652f Allow modification of index column name per grid pulldown editor, in table editor. Fixes issue #3059. 2012-12-17 16:25:43 +00:00
dffae1b4af Issue #3003: Add support for microseconds in some temporal datatypes of MariaDB 5.3+ and MySQL 5.6, at least in the table editor. TODO: Support that in data grid editor too. 2012-12-15 06:56:44 +00:00
4662ebf31e Support filename and dirname patterns in export target combobox. Fixes issue #2622. 2012-12-13 20:37:01 +00:00
5a4d7faa22 Leave out TTimer based keep alive ping during long running queries. Fixes disconnects and AVs mentioned by a couple of users:
* http://www.heidisql.com/forum.php?t=11751
* http://www.heidisql.com/forum.php?t=8568
2012-12-11 18:18:00 +00:00
ff1d7fa001 Fix typo in variable editor, and make "on"/"off" buttons slightly wider, so different translation fit. 2012-12-10 22:27:45 +00:00
7c1c03fc17 Remove some code from gnugettext unit, so TMainMenu captions are not widened to the left. Related to issue #557. No clue if that part of gnugettext is really important, but it feels as if it does nothing :) 2012-12-10 22:16:54 +00:00
ba3829d3c6 Revert parts of r4214. "All columns" proposal item seems to annoy more users than it helps for anything. Fixes issue #3011. 2012-12-10 19:39:56 +00:00
a08a907b41 Use default string setting, not integer, as port value for a new session. Fixes issue #3036. 2012-12-10 18:26:04 +00:00
a086afc29b Remove all ANSI quotes in TDBConnection.DeQuoteIdent(). Fixes issue #3056. 2012-12-10 18:21:50 +00:00
0dd802d13f Do not use translated words for CREATE/DROP code in routine editor:ApplyModifications. Fixes issue #3053. 2012-12-09 12:45:48 +00:00
ff7cddbd99 Display small overlay icons for lntTable items with some special table engines like federated, csv, aria and performance_schema. Fixes issue #3014. 2012-12-09 12:00:17 +00:00
6edbd326c7 Right align counter column in session manager. 2012-12-09 10:47:29 +00:00
f5f6910ae6 Support creation of root sessions + folders when tree has 0 root sessions, by providing explicit menu items for that purpose. Fixes issue #3050. 2012-12-09 10:43:11 +00:00
eb1500efcf Turn asSessionFolder into a session setting, so it gets stored in a session, not as a global setting. Likely fixes issue #2956. 2012-12-09 10:36:29 +00:00
fcc6ffee5b Follow up to r4266, issue #3051: Fix selection of the right routine type, based on the itemindex, not the combo box text. 2012-12-09 09:42:19 +00:00
b29e24b5d4 Do not complain about an empty password when having modified anything but the password of an existing user. 2012-12-08 21:36:33 +00:00
3ef3092b42 Do not use translated combo box text for CREATE code, in routine editor. Fixes issue #3051. 2012-12-08 21:17:05 +00:00
d52d304361 Adjust width of even some more controls so they fit to the translated captions (at least in German). See https://www.transifex.com/messages/view/22056/ 2012-12-08 10:56:58 +00:00
bf3ff4eecb Adjust width of more controls so they fit to the translated captions (at least in German). Related to issue #557. 2012-12-08 07:38:50 +00:00
e9c549f3a0 Remove "Ping server" debug message from translation 2012-12-05 05:35:46 +00:00
9629739901 TSynHighlighterAttributes.FriendlyName is used in registry value names, but .FriendlyName seems to get translated by gnugettext, so we have one registry value per language in registry! Fix that by using .Name instead of .FriendlyName, which unfortunately breaks customized styles from users now. 2012-12-04 20:46:21 +00:00
a77a55da18 Optimize TAppSettings.SetSessionPath to only fire PrepareRegistry if required. 2012-12-04 20:40:44 +00:00
cea47f7087 Decide to store settings value even when it's equal to the default value we hold in TAppSetting.Default[Int|String|Bool]. This is important when AppSettings.Read() gets a default value passed, e.g. SynSQLSyn1.Attribute[i].IntegerStyle. Fixes issue #3032. 2012-12-04 20:35:51 +00:00
d97b033731 Automatically restore previous value of AppSettings.SessionPath in a call of TMainForm.LogSQL(). Seems could easily fix a few AppSettings bugs - possible candidates (untested):
* issue #2958
* issue #2960
* issue #2956
2012-12-03 20:52:06 +00:00
51389f9e43 Fix server version detection for major versions > 9, taking more than one digit into account. Fixes issue #3041. 2012-12-03 20:44:14 +00:00
68b1c957f1 Translate error message footer hint 2012-12-03 18:27:59 +00:00