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
5958d7102b
Fix broken "Auto detect" setting in language selector.
2012-11-14 21:13:56 +00:00
585b88cd8b
Add manual language selector in preferences dialog. See issue #557 .
2012-11-14 20:54:02 +00:00
509a2702f0
Remove redundant exe description from about dialog. Version is displayed in a separate label.
2012-11-14 20:16:28 +00:00
783a9d146e
Issue #557 : Override automatic language detection via registry setting "Language".
2012-11-13 22:06:07 +00:00
a6170ad769
Prefer SysUtils.IncludeTrailingPathDelimiter over home brown code
2012-11-10 14:43:35 +00:00
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
6b04fc0493
Prefer codepage 437 over TEncoding.ASCII. See PM from Markus Gnam.
2012-11-07 19:07:47 +00:00
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
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
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
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
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
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
015de362f1
Add fallback font family for HTML export. Fixes issue #2990 .
2012-10-19 14:47:38 +00:00
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
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
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
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
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
c0610ef70d
Add support for renaming tables in MS SQL. Fixes issue #2981 .
2012-10-04 19:04:05 +00:00
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
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
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
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
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
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
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
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
3d0ad5cab9
Extend error message to help debugging issue #2960
2012-09-14 04:32:49 +00:00
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
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
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
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
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
2963bff020
Turn asRecentFilter into a session setting and define its value so it can handle the FormatName parameter. See http://www.heidisql.com/forum.php?t=11096
2012-09-02 08:46:30 +00:00
39d16d283c
Focus new node in parameters list after clicking "Add". Also, add new parameters at the focused tree position. See http://www.heidisql.com/forum.php?t=11132 .
2012-09-02 08:23:36 +00:00
4eb450ce69
Fix confusion in save-as-dialog. Fixes issue #2921 .
2012-08-31 13:51:13 +00:00
694a99f13a
Tweak grid export dialog with some minor enhancements:
...
- Auto select ANSI encoding for Excel output, see http://en.wikipedia.org/wiki/Comma-separated_values#Application_support
- Auto modify file extension when selecting format
- Support "Include query" checkbox in XML format, see http://www.heidisql.com/forum.php?t=10853#p11082
- Imitate mysqldump's XML style, see http://dev.mysql.com/doc/refman/5.5/en/mysqldump.html#option_mysqldump_xml
2012-08-31 09:54:01 +00:00
17600be9c1
FHostListResults needs its own copy of a SHOW VARIABLES result, to overcome invalid pointer operations when freeing the result within TMySQLConnection.GetServerVariables. Fixes issue #2943 .
2012-08-30 21:43:52 +00:00
225dba02d7
Assume user wants default length/set for columns of an existing table, until he enters some new value. Fixes issue #2942 .
2012-08-28 17:44:55 +00:00
8d73413de8
Fix and enhance handling of multiple statements and multiple results:
...
* TMySQLConnection.Query did not process further results if the first one is a non-result. Instead, it disconnected you as the required mysql_store_result() was never called. Fixed now. Should fix the error described here: http://www.heidisql.com/forum.php?t=11049
* Cache result of SHOW VARIABLES, and introduce a MaxAllowedPacket function, which benefits from that cache
* Do not limit the number of statements in "batch in one go" mode, only limit its size. This is to minimize the number of sent packets for a huge numbers of very small queries.
2012-08-27 22:56:12 +00:00
e686ea171b
Silence conversion errors while reading query history from registry. See pm from Thomas Hauck.
2012-08-27 15:33:18 +00:00
e492421153
Use "\N" without enclosing chars for NULL values in CSV export, not an empty string. Just like MySQL does in a SELECT .. INTO OUTFILE.
2012-08-26 22:06:30 +00:00
9de0a2fc0f
Add "Include query" checkbox option onto grid export dialog. See http://www.heidisql.com/forum.php?t=10853
2012-08-26 12:47:05 +00:00
9d5c5b061f
Detect auto increment column id once after querying and use a simple variable AutoIncrementColumn, not via function ColIsAutoIncrement. Simplifies previous commit.
2012-08-26 09:49:48 +00:00
2ffedb7721
Add "Include auto increment column" checkbox option onto grid export dialog. Fixes issue #2864 .
2012-08-25 13:38:04 +00:00
491a6298d1
Introduce property LogToFile in TMainForm, which is synced with the registry setting asLogToFile. Fixes issue #2936 .
2012-08-23 23:16:36 +00:00
65a9011206
Give both dropdown and edit box the same width. See http://www.heidisql.com/forum.php?t=11039
2012-08-22 16:50:26 +00:00
675530ca74
TAppSettings.ValueExists respects SessionPath, which is not used in GetSessionNames, so prefer FRegistry.ValueExists here. See http://www.heidisql.com/forum.php?t=11020
2012-08-21 20:51:43 +00:00