387 Commits

Author SHA1 Message Date
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
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