Commit Graph

2839 Commits

Author SHA1 Message Date
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
cf87ae63d6 Fix file open dialog file filter, so it gets translated like its similar dialogs. 2012-12-28 20:15:20 +00:00
Ansgar Becker
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
Ansgar Becker
d2255ed06e Widen "Bold" checkbox in highlighter options dialog, so translations fit into it. See issue #557. 2012-12-28 07:15:22 +00:00
Ansgar Becker
8ac1e41cba Fix named pipe usage on command line. Fixes issue #3052. 2012-12-27 18:32:34 +00:00
Ansgar Becker
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
Ansgar Becker
e25ea34794 No need to cast for TTableKey. 2012-12-26 07:34:16 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
f9af910ffe Block close button on query tab while its query thread is running. Fixes issue #3063. 2012-12-18 18:30:14 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
4662ebf31e Support filename and dirname patterns in export target combobox. Fixes issue #2622. 2012-12-13 20:37:01 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
a086afc29b Remove all ANSI quotes in TDBConnection.DeQuoteIdent(). Fixes issue #3056. 2012-12-10 18:21:50 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
6edbd326c7 Right align counter column in session manager. 2012-12-09 10:47:29 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
e9c549f3a0 Remove "Ping server" debug message from translation 2012-12-05 05:35:46 +00:00
Ansgar Becker
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
Ansgar Becker
a77a55da18 Optimize TAppSettings.SetSessionPath to only fire PrepareRegistry if required. 2012-12-04 20:40:44 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
68b1c957f1 Translate error message footer hint 2012-12-03 18:27:59 +00:00
Ansgar Becker
5a3b09bfd0 Display language names, not their short codes, in language selector. See issue #3016, comment #39. 2012-12-02 11:09:36 +00:00
Ansgar Becker
8bec8e4975 Add hint "requires restart" to the language selector in preferences dialog. See issue #3016. 2012-12-02 09:37:16 +00:00
Ansgar Becker
bd077ce413 Adjust width of various controls so they fit to the translated captions (at least in German). Related to issue #557. 2012-12-02 09:33:41 +00:00
Ansgar Becker
ce263681d9 Even if user runs Vista or above, he may have deactivated themes. Check that before assuming TTaskDialog to be available. Fixes issue #3043. 2012-12-02 08:59:58 +00:00
Ansgar Becker
cc8b0bc202 Support hyperlinks in MessageDialogs, and add a footer with a Google search link to error dialogs. 2012-11-30 13:27:57 +00:00
Ansgar Becker
f8a13fc91a Activate PreferExternal constant in gnugettext.pas, so translators may override assembled .mo files by a file in the locale subdirectory. See issue #557. 2012-11-29 22:47:52 +00:00
Ansgar Becker
911402d830 Introduce translatable message/error/confirmation dialogs. 2012-11-29 22:45:51 +00:00
Ansgar Becker
7f190f389f Fix usage of translated FLUSH commands. See issue #557. 2012-11-29 18:03:57 +00:00
Ansgar Becker
645a9f3c7f Make message strings from const.inc translatable 2012-11-29 06:15:44 +00:00
Ansgar Becker
9d8b4cd83a Make more inline strings translatable. 2012-11-28 23:27:31 +00:00