363 Commits

Author SHA1 Message Date
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
049e4bb526 Group network types in fewer dbms names, to have less code. Also, support other MS SQL network types: tcp/ip, spx/ipx, vines and rpc. 2011-04-04 06:12:56 +00:00
0c5206c002 Handle multiple query results in MS SQL. 2011-03-30 22:34:01 +00:00
4fbf2c23dd Introduce experimental MS SQL support 2011-03-29 23:20:21 +00:00
49a97584e6 Code preparation for non-MySQL connections: Extract abstract stuff into a new TDBConnection class, and let TMySQLConnection derive from that. Same with TDBQuery / TMySQLQuery. See issue #1008. 2011-03-17 23:03:54 +00:00
30e0a03c2d Wait for threaded user queries to finish before proceeding, in TMySQLConnection.Query(). Should fix the problem with parallel queries, described in issue #1509. 2011-03-02 07:54:42 +00:00
4d90a5901e Implement threaded execution of user queries, using a TThread descendant class. Fixes the most starred issue #1509. However, later clicks which fire some parallel query are a problem now, as the server kills the connection when you do that. In some cases there should popup the "Commands out of sync" error. 2011-03-01 22:32:55 +00:00
4bef2d7412 Raise readable connection error when SSL settings are incomplete. Were silently ignored before, so the user didn't knew if SSL is being used. See http://www.heidisql.com/forum.php?t=7739 2011-02-09 23:51:41 +00:00
446eef2a40 Improve generated passwords by including numbers at a random position. 2011-02-05 06:45:38 +00:00
1f0ff39229 Set focus in name input box of object editors at start, so users can start typing immediately. Fixes issue #2289. 2011-02-03 22:23:54 +00:00
809236e534 Fix compiler warnings, newly deprecated stuff. 2011-02-01 23:05:46 +00:00
44bcd31635 Add a "Cancel" button to the main toolbar, so users are able to stop long running query grid sort operations. See http://www.heidisql.com/forum.php?t=7674 2011-01-29 06:45:49 +00:00
58a95bc978 Allow snippet files with more than one dot. Fixes issue #2264. Also, this removes GetFilesFromDir() and makes use of TDirectory.GetFiles instead. 2011-01-19 20:47:37 +00:00
c5ae894951 Use less indentation in db tree and less height per node in all trees. Fixes issue #2262. 2010-12-29 22:44:12 +00:00
ea4f87f4d0 Skip filtered nodes in various GUI actions, e.g. "drop objects" and "export as csv". Fixes issue #2255. 2010-12-20 22:00:46 +00:00
d60d3f3ea6 Focus next or previous grid node on Shift+MouseWheel, in all trees. See http://www.heidisql.com/forum.php?t=7269 2010-12-11 07:25:19 +00:00
199d7c6e0f Make plink.exe wait timeout configurable in session manager. Fixes issue #2236. 2010-11-28 12:47:00 +00:00
6f95a796e1 Modify identifier quoting logic:
- Move QuoteIdent() and DeQuoteIdent() out of TMySQLConnection, make them classless
- Remove TMainForm.mask(), instead always use QuoteIdent()
- Introduce a third parameter to QuoteIdent(): "AlwaysQuote" - setting this to false will quote only if required
- Set AlwaysQuote to false for all stuff which drops some code into the query editor, see http://www.heidisql.com/forum.php?t=6986
2010-11-24 23:12:13 +00:00