645a9f3c7f
Make message strings from const.inc translatable
2012-11-29 06:15:44 +00:00
9d8b4cd83a
Make more inline strings translatable.
2012-11-28 23:27:31 +00:00
f96288fce9
Translate string variables and literals in .pas files. TODO: translate constants.
2012-11-26 05:44:01 +00:00
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
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
783a9d146e
Issue #557 : Override automatic language detection via registry setting "Language".
2012-11-13 22:06:07 +00:00
6b04fc0493
Prefer codepage 437 over TEncoding.ASCII. See PM from Markus Gnam.
2012-11-07 19:07:47 +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
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
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
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
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
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
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
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
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
90ab0b6cf1
Refactor logic for reading and writing application and session settings:
...
* Introduce TAppSettings, created in dpr file
* Implement read and write methods, and replace callers of GetRegValue and MainReg.WriteInt/... with these
* Optimize read and write methods for avoiding redundant accesses to registry
* Auto-remove stored default settings from registry to avoid registry spam
* Replace synced MainForm.pref* variables with TAppSettings.Read* calls
* Move SetLocales call to dpr file
* Move MainForm.FDirname* variables to appropriate methods in helpers.pas
* Implement TQueryHistory.Create(SessionPath), reading its items within constructor
2012-08-19 10:55:08 +00:00
525b0b4edc
Code maintenance: Remove unused control tags, turn check menu items into TAction's, and refactor some code parts.
2012-08-02 22:15:35 +00:00
56e0d8b445
Implement session folders. Fixes issue #1228 .
2012-07-27 06:54:56 +00:00
3ead3f8ef6
Fix broken loop variable in batch SQL counting. Fixes issue #2860
2012-05-31 16:56:29 +00:00
548eb4003f
Catch EInvalidOp exceptions from calls to Trunc(), caused by unsigned Int64 values in string parameters of MakeInt().
2012-05-20 12:25:44 +00:00
2ef9f4e288
Implement server variable mapping table, and extend the variable editor to explicitly modify strings, numbers, booleans or enumerations, as described on http://dev.mysql.com/doc/refman/5.6/en/dynamic-system-variables.html . Fixes issue #2614 .
2012-05-20 08:34:13 +00:00
0f4ec0b3e9
Fix wrong spelled character sets in HTML files, exported from grids. Fixes issue #2825
2012-05-19 10:25:04 +00:00
30474de294
Encode more unsafe characters in urls
2012-05-01 12:10:17 +00:00
62c0396165
Separate version from app name using slash instead of space, which seems most commonly
2012-05-01 09:00:27 +00:00
e8b6de3b6f
Include operating system in user agent
2012-05-01 08:56:36 +00:00
5e8bf8306a
Remove unused unit inclusions, detected by CNPack/Uses cleaner
2012-05-01 08:34:12 +00:00
5cb54b3711
Remove helper function ToggleCheckListBox, replace the few callers with simple code alternatives
2012-05-01 06:50:57 +00:00
3e2d4371a3
Implement home brown "THttpDownload" class, making use of the Internet_* methods from WinINet unit. Replaces "TDownloadUrl2" class. Fixes single char in user agent.
2012-04-29 06:37:24 +00:00
a7af9a9a2c
No use for procedure debug() any longer.
2012-04-09 17:44:17 +00:00
6ef3d17042
Use home brown file format for exporting and importing registry settings, as used for portable_settings.txt. Registry dumps cannot be imported into a separate registry key for a portable instance, which is hereby fixed, see http://www.heidisql.com/forum.php?t=10503 .
2012-04-09 17:40:12 +00:00
108b07be50
Remove unused variable and fix a string list memory leak
2012-03-26 18:44:57 +00:00
6703f20711
Move global LoadConnectionParams() to class function TDBConnection.ReadFromRegistry()
2012-03-26 18:34:33 +00:00
bd8cc387ca
Add context menu with copy, cut, paste and select all items to all db object editors which have a TSynMemo. Fixes issue #2765 .
2012-03-24 22:20:09 +00:00
20ad253cca
Implement query history in helpers tree. See http://www.heidisql.com/forum.php?t=8927 .
2012-03-19 23:45:09 +00:00
d6209f64d7
Remove unused code, function getEnumValues().
2012-03-13 22:16:05 +00:00
9b7a1a88cd
Implement usage of mysql_warning_count(). Ask for running SHOW WARNINGS in a new query tab if there are more than the 5 warnings which already get displayed in the popup dialog. Fixes issue #2768 .
2012-03-10 09:13:31 +00:00
530c27d064
Synchronize logging within a query thread with the main thread, to prevent access violations in SynEdit. Remove CriticalSection approach. Fixes issue #2763 .
2012-03-09 20:55:31 +00:00
4de1b3012d
Move code from GetSQLSplitMarkers and SplitSQL into TSQLBatch class. Enables me to access details like string size of batch. Preparation for query history.
2012-03-06 21:52:57 +00:00
f9fe0083b0
Restore previous selection after refreshing process list (and neighbor tabs). Fixes issue #2717 .
2012-02-15 08:44:33 +00:00
a86650d10b
Introduce a checkbox for explicit activation of SSL. Any combination is passed to the server now, while SHOW STATUS LIKE 'ssl_cipher' is used to find out if the connection is indeed SSL secured. Pops up a warning when SSL settings were ignored by the server. Fixes issue #2672 .
2012-01-22 10:17:24 +00:00
71d94e9e90
Issue #2550 : Do not report unknown uptime if server was started before client machine. Broken in r4020.
2012-01-10 17:39:15 +00:00
ff6983820c
Issue #2550 : Use sys.sysprocesses instead of dbo.sysprocesses so this does not fail on old servers. Querying sys.sysprocesses may return an empty result for spid 1, so there is a default of -1 for FServerStarted now, which then reports "(unknown)" in the status bar.
2012-01-07 13:17:41 +00:00
7ccf8fde9f
Fix empty tabSettings when creating very first session. Do less what flickers in ValidateControls, move pagecontrol related stuff in ListSessions.FocusChanged. Also, call FocusChanged event explicitly in SelectNode() when focus did not effectively change.
2012-01-02 23:57:17 +00:00
7fb2db5403
Fix 3 compiler warnings
2011-12-30 13:11:47 +00:00
05fba21700
Fall back from number to string comparison in CompareAnyNode, so equal numbers with word characters in them are sorted alphabetically. Fixes issue #2659 .
2011-12-28 09:02:04 +00:00
5c32fe044b
Allow "DELIMITER xyz" not followed by some whitespace. Fixes issue #2655 .
2011-12-26 23:15:44 +00:00