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
0d7cee7e51
Remove unused unit includes
2011-12-24 12:21:30 +00:00
16bfc42f88
Do not access char at non existent position in a string. Introduces CharAtPos function. Fixes issue #2649 .
2011-12-20 18:01:16 +00:00
3ecf79ee08
Fix broken sorting logic for positive small numbers, broken in r3987.
2011-12-18 09:51:49 +00:00
e8759d88fc
Use numeric sorting approach instead of string comparison for negative numbers. Fixes issue #2519 .
2011-12-17 14:16:04 +00:00
c980a17b00
Fix non logged errors, caused by late non executed code in a try block. Fixes issue #2646 .
2011-12-13 20:50:48 +00:00
f6588fb1fc
Add support for integrated Windows authentication on SQL Server. See http://www.heidisql.com/forum.php?t=8856
2011-11-19 08:43:10 +00:00
0ea3a2cdbb
Try again a fix for SynEdit exceptions, similar to what I've already tried in r3922. The approach was right, only there was Mainform.SetupSyneditors accessing all TSynMemos in a thread when reconnecting.
...
* fixes issue #2605
* should also fix issue #2545
* should also fix issue #2358 (again)
* reverts r3924 and r3925, SynEdit modifications which should not be required any longer now that logging is postponed for the mainthread
2011-11-14 23:14:41 +00:00
a69041d17d
Add support for Windows 7 task button progress. Unify all callers of ProgressBarStatus in a set of 5 functions in main unit instead of helpers, as this is where the progress bar is placed and also we need the handle of the main window.
2011-11-08 22:27:52 +00:00
a170149801
Revert previous commit, which does not fix issue #2358
2011-08-16 06:38:18 +00:00
22b3f8a980
Try to fix crashes in SynEdit repaints after reconnects, by catching threaded log items and postpone them for later, in AfterQueryExecution which is synchronized with the main thread. I could swear yesterday I got the same exception here but today it's working like a charm. Probably fixes issue #2358 .
2011-08-16 06:16:46 +00:00
3824e552fe
Rewrite import file dialog: Use a grid for column values, distinct between binary and text files
2011-07-11 06:13:50 +00:00
133b2a265c
Refactor code for Host subtabs: Remove TVTreeData structure, use TDBQueryList instead. Use same code for most grid events.
2011-07-03 08:44:20 +00:00
16384ccd01
Allow custom portable settings filename as a command line switch. Fixes issue #2469 .
2011-06-20 22:05:32 +00:00
83b59a9bde
Left trim query split marker to avoid whitespaces in log window. Fixes issue #2460 .
2011-06-18 15:24:44 +00:00
814582aee0
Make _GetFileSize more stable against file-not-found errors, and probably a bit faster. Fixes issue #2459 .
2011-06-14 22:17:38 +00:00
ed577e4482
Detect MariaDB, and use MariaDB icon in session manager, status bar and database tree.
2011-06-10 22:26:13 +00:00
ad9aba3549
Remove SetVistaFont(), move code to the only caller of it in TMainForm.FormCreate.
2011-05-27 05:10:40 +00:00
c4565ec764
Move SetVistaFont() to helpers unit and remove uVistaFuncs unit
2011-05-27 04:59:37 +00:00
2d548b5ef6
Introduce some wrapper functions for message and error dialogs in order to have less code and to avoid hidden titles on Windows XP. Fixes issue #2425 .
2011-05-27 04:48:21 +00:00
3c11e6c5a8
Introduce a separate dialog for all "copy grid data as .." actions, including the file export. Fixes issue #1499 .
2011-04-28 07:33:49 +00:00
cb0e54068c
Remove redundant functions IsMSSQL and IsMySQL.
2011-04-19 23:07:52 +00:00
8e253e40fb
Fix ignored preference option for restricted number of query results. Also, remove unused, redundant list of results from query thread.
2011-04-19 23:02:51 +00:00
f858b2b7a5
Remove effectively unused lock thread
2011-04-18 23:07:31 +00:00
1bc016b3a0
Wrap only queries in LockedByThread state, so all synchronized calls to BeforeQuery, AfterQuery and BatchFinished are free to fire queries. Fixes issue #2329 .
2011-04-18 22:50:36 +00:00
c31c809387
Release connection before doing stuff in BatchFinished, to fix non working query profile. See http://www.heidisql.com/forum.php?t=8285
2011-04-18 16:51:06 +00:00
c8b25c75fa
Bind session parameter object to session manager list nodes, to be able to show the right vendor icon in that list.
2011-04-17 23:21:05 +00:00
06e78d9d95
Code cosmetic: make handling of MySQL client flags more compact, remove unused options from published property.
2011-04-13 20:22:46 +00:00
41bff877ce
Do not steal focus from tree when clicking a table, only when creating a new table or whatever. Fixes issue #2289 .
2011-04-09 09:48:18 +00:00
56ca6c75d9
Fix disabled run query button in certain cases. See http://www.heidisql.com/forum.php?t=7886
2011-04-07 21:46:24 +00:00
2e44387eb2
Remove seconds from uptime and connected time in status bar. Should fix flickering finally. See http://www.heidisql.com/forum.php?t=7977
2011-04-06 19:59:36 +00:00