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
Ansgar Becker
024a1a4d5e
Straighten some more translation strings
2012-11-28 05:55:05 +00:00
Ansgar Becker
80d41dcc9e
Fix typos and optimize a bunch of translations. Technical stuff such as variable names and version numbers should not be subject of translations.
2012-11-27 21:26:59 +00:00
Ansgar Becker
15bf1b0b37
Try to fix issue #3034 again
2012-11-26 22:25:26 +00:00
Ansgar Becker
38bec1445e
Remove unused variable
2012-11-26 20:06:48 +00:00
Ansgar Becker
345adba606
Fix dumb AV in TMainForm.GetCharsetByEncoding, when Encoding is nil.
2012-11-26 09:33:13 +00:00
Ansgar Becker
4435346fc4
Fix erroneous formatted string in grid export dialog
2012-11-26 09:08:01 +00:00
Ansgar Becker
14006cc9dc
Do not use comment from selected column as a default for a new column. Fixes issue #3009 .
2012-11-26 05:52:44 +00:00
Ansgar Becker
2637a96f58
Activate "Apply" button when selecting language. Forgotten in r4231.
2012-11-26 05:49:48 +00:00
Ansgar Becker
f96288fce9
Translate string variables and literals in .pas files. TODO: translate constants.
2012-11-26 05:44:01 +00:00
Ansgar Becker
caaaaedc11
Workaround to avoid exceptions in FindNode() when an Int64 from TDBQuery.RecNo comes in and gets compared to the Cardinal typed VTree.Node.Index.
2012-11-21 05:10:25 +00:00
Ansgar Becker
b6a18114f4
Fix access violation when using ASCIIencoding, by turning it from a SingleTon into a new instance each time we call GetEncodingByName. Probably introduces a memory leak. The encoding object is freed when using in a TStringStream context which is freed after usage. See exportgrid unit.
2012-11-17 08:48:21 +00:00
Ansgar Becker
5958d7102b
Fix broken "Auto detect" setting in language selector.
2012-11-14 21:13:56 +00:00
Ansgar Becker
585b88cd8b
Add manual language selector in preferences dialog. See issue #557 .
2012-11-14 20:54:02 +00:00
Ansgar Becker
509a2702f0
Remove redundant exe description from about dialog. Version is displayed in a separate label.
2012-11-14 20:16:28 +00:00
Ansgar Becker
783a9d146e
Issue #557 : Override automatic language detection via registry setting "Language".
2012-11-13 22:06:07 +00:00
Ansgar Becker
a6170ad769
Prefer SysUtils.IncludeTrailingPathDelimiter over home brown code
2012-11-10 14:43:35 +00:00
Ansgar Becker
ca1d94c87b
Issue #557 : Include gnugettext.pas from https://dxgettext.svn.sourceforge.net/svnroot/dxgettext/trunk/dxgettext/sample/ . And add basic code to all FormCreate events to translate their components in the future.
2012-11-10 14:28:44 +00:00
Ansgar Becker
6b04fc0493
Prefer codepage 437 over TEncoding.ASCII. See PM from Markus Gnam.
2012-11-07 19:07:47 +00:00
Ansgar Becker
f54c3634a6
Update blank password warning in user manager after updating user with a modified password, or vice versa. Fixes issue #3001 .
2012-10-27 08:23:23 +00:00
Ansgar Becker
8ec290a302
Fix synapse usage:
...
* missing unit search path for synapse in auto-build script
* move unit search path from RELEASE to BASE
* make use of helpers:EncodeURLElementUnicode
2012-10-21 12:32:19 +00:00
Ansgar Becker
583a8350b8
Install Ararat Synapse library (r169 from trunk), as a preparation for HTTP tunnel implementation. See issue #1405 .
2012-10-21 12:17:43 +00:00
Ansgar Becker
e30c5c9543
Provide "All xy columns" in SQL completion proposal, expanding to the long list of all column names prefixed by the same left token. Fixes issue #2975 .
2012-10-20 06:46:33 +00:00
Ansgar Becker
9d03e25c39
Suppress clear text password in error dialog when plink.exe could not get executed, or exits with error. Fixes issue #2966 .
2012-10-19 15:16:50 +00:00
Ansgar Becker
d2fb5733e0
Enable EXPLAIN links and menu items also when relevant query does not start with SELECT.., as there may be a comment at the beginning. This leaves the responsibility for error messages to the server. Fixes issue #2986 .
2012-10-19 14:55:19 +00:00
Ansgar Becker
015de362f1
Add fallback font family for HTML export. Fixes issue #2990 .
2012-10-19 14:47:38 +00:00
Ansgar Becker
a9ce7eb5b9
Autofit first '#' column in routine editor, which has not enough width in some cases. Fixes issue #2993 .
2012-10-19 06:14:13 +00:00
Ansgar Becker
505ede02aa
Make TDBQuery.HasFullData more reliable when a field has exactly GRIDMAXDATA(256) chars. See http://www.heidisql.com/forum.php?t=11346
2012-10-19 05:57:41 +00:00
Ansgar Becker
f647271ae6
Fix AV due to assigned but empty TConnectionParameters variable in TMainForm.WMCopyData. I know there is some complaint about this AV somewhere in the forum but I can't find it right now. Anyway, hereby fixed.
2012-10-12 17:42:34 +00:00
Ansgar Becker
2f10329e62
Implement an automatic, non-configurable keep-alive ping, to prevent SSH tunnels from disconnecting. Fixes issue #2935 .
2012-10-12 15:01:34 +00:00
Ansgar Becker
1855f6b57d
Remove LIMIT 1 clause for safe grid queries. This prevents grid updates on simple tables from running into replication mode warning "Statement is not safe to log in statement format". See http://www.heidisql.com/forum.php?t=11304
2012-10-04 20:18:08 +00:00
Ansgar Becker
c0610ef70d
Add support for renaming tables in MS SQL. Fixes issue #2981 .
2012-10-04 19:04:05 +00:00
Ansgar Becker
2b0a31194d
AUTO_INCREMENT attribute requires a primary key on the same column. So, in the copy table dialog, if the user unchecks the primary key, we need to auto-remove the AUTO_INCREMENT attribute as well. Otherwise the dialog runs into an error "there can be only one auto column and it must be defined as a key". See http://www.heidisql.com/forum.php?t=11238
2012-10-03 09:22:53 +00:00
Ansgar Becker
4151f0d82a
Text import: Uncheck critical "Truncate table" checkbox, to avoid accidental data removal. See http://www.heidisql.com/forum.php?t=11260
2012-09-30 12:20:19 +00:00
Ansgar Becker
8b51f19ed0
Fix AV when displaying data of a table which has 0 rows. Mainly caused by range differences of VT.RootNodeCount (Cardinal) and TDBQuery.RecordCount (Int64).
2012-09-30 12:07:52 +00:00
Ansgar Becker
d4f5a32fe8
Fix crash on exit when connected to pre-4.1 servers. See http://www.heidisql.com/forum.php?t=11116
2012-09-29 19:32:20 +00:00
Ansgar Becker
cd3aad267a
Get away from using "2008", "2000" version numbers for MSSQL, to add compatibility to old MS SQL servers, e.g. 7.0 had no year-styled version. Instead, use 700 for 7.0, 800 for 2000, and so on. Use these more exact version numbers to fix a 7.0 issue in TAdoDBConnection.GetAllDatabases. See http://www.heidisql.com/forum.php?t=11230 .
2012-09-29 08:35:03 +00:00
Ansgar Becker
3ff4bba55c
Enhance MS SQL compatibility in table editor:
...
* Introduce specifities for ADD/CHANGE column clauses. Fixes issue #2532 .
* Remove unsupported DROP DEFAULT for MS SQL
* Remove unsupported LENGTH/SET attribute for relevant data types
2012-09-29 07:43:00 +00:00
Ansgar Becker
c728bb2631
Do not switch from "Query" to "Host" main tab when disconnecting. Hopefully does not break what I've done in r3868.
2012-09-28 18:04:30 +00:00
Ansgar Becker
fea0e8e194
Code cosmetic in initialization code:
...
* Move TMainForm.ParseCommandLineParameters to helpers:ParseCommandLine
* Modify ParseCommandLine to work without private statics FCmdlineFilenames and FCmdlineConnectionParams
* Move code from helpers:setLocales to dpr file
* Rename TMainForm.Startup to TMainForm.AfterFormCreate
* Destroy AppSettings explicitly in single instance mode
2012-09-16 16:55:53 +00:00
Ansgar Becker
3d0ad5cab9
Extend error message to help debugging issue #2960
2012-09-14 04:32:49 +00:00
Ansgar Becker
9ccfa083cb
Casting integers to TNetType does not throw any exception, so later calls to GetNetTypeGroup throws one when you have an invalid value stored in registry. See issue #2958 . Handle such broken values at the time when they are read and popup a less crashy error dialog in that case.
2012-09-11 20:52:59 +00:00
Ansgar Becker
0c42aa62f1
Read recent filters from registry following a numeric counter, instead of taking GetValueNames, which has a wrong sort order. See http://www.heidisql.com/forum.php?t=11161
2012-09-09 17:52:30 +00:00
Ansgar Becker
f96f4de2b7
Prefer displaying checkboxes in a disabled style, over displaying no checkbox at all, for not applicable table attributes
2012-09-08 06:29:10 +00:00
Ansgar Becker
04f65eea51
Do not allow NULL, and force NOT NULL, on primary key columns. See http://www.heidisql.com/forum.php?t=11156
2012-09-08 05:57:10 +00:00
Ansgar Becker
458b10dbc6
Move some code to TDBConnection.ExplainAnalyzer(), and introduce new query context menu items "Explain current query" and "Explain analyzer for current query". See http://www.heidisql.com/forum.php?t=11036
2012-09-07 15:39:23 +00:00