Commit Graph

2530 Commits

Author SHA1 Message Date
Ansgar Becker
cb4775c328 Fix memory leak 2011-11-10 22:18:42 +00:00
Ansgar Becker
53444c700a Add "truncate table" feature to text import dialog. See http://www.heidisql.com/forum.php?t=9367 2011-11-10 22:15:42 +00:00
Ansgar Becker
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
Ansgar Becker
f9e896fede Unformat local formatted floats in WHERE clause for grid updates. Probably fixes issue #2558. 2011-11-05 07:26:32 +00:00
Ansgar Becker
968efc99f3 Export VIEWs with alternative version of SELECT code. Follow up to r3941, see issue #2546. 2011-11-05 00:10:47 +00:00
Ansgar Becker
242b128885 Populate database pulldown with dbs from current connection in export window. Fixes issue #2572. 2011-11-05 00:07:23 +00:00
Ansgar Becker
0e45ef0b12 Make regex for detection of VIEW name more stable against international characters. Fixes issue #2578. 2011-11-04 23:08:21 +00:00
Ansgar Becker
07b831c4e9 Confirm overwriting grid export output file. Fixes issue #2596. 2011-11-04 18:45:05 +00:00
Ansgar Becker
b93106a6fe Update VirtualTree component to r320 2011-11-01 09:32:34 +00:00
Ansgar Becker
26b6e06aa9 Fix non-used database in reconnect, caused by too early DoAfterConnect which triggers OnConnected event, which again triggers DBTreeFocusChanged which triggers grid updates. Fixes issue #2573 2011-10-15 08:16:35 +00:00
Ansgar Becker
76ad894e52 Merge main menu items "Import" and "Export" into "Tools" menu. 2011-10-15 06:31:16 +00:00
Ansgar Becker
c2412eed21 Take hidden primary key columns into account when tbtnDataColumns gets its ImageIndex. 2011-10-15 06:27:47 +00:00
Ansgar Becker
6a87bfed9b Place some reasonable messages on status bar while deleting (many) grid rows. Fixes issue #2576. 2011-10-15 06:09:57 +00:00
Ansgar Becker
01f3d30362 Add support for routine parameters in completion proposal of stored routine editor. Fixes issue #2555. 2011-10-08 17:10:36 +00:00
Ansgar Becker
bdc7c0c245 Sort font names alphabetically in SQL font selector. Fixes issue #2569. 2011-10-08 16:45:50 +00:00
Ansgar Becker
d7dd1886dc Include sample editor on preferences dialog in SetupSynEditors, so settings get applied when preferences dialog opens. Fixes issue #2568 2011-10-08 16:41:06 +00:00
Ansgar Becker
deb75f5c6a Revert r3938, and add backticks around identifiers again, so ParseTableStructure can detect column for "copy columns" feature. Fixes issue #2540. 2011-10-01 06:58:33 +00:00
Ansgar Becker
85457c45b4 Delete node so treeIndexes.Repaint does not expect old children in moved up node. Todo: Bind FKeys to tree nodes if that's possible with deleted keys. Fixes issue #2557. 2011-10-01 06:28:16 +00:00
Ansgar Becker
1c55121a11 Deactivate toAutoScrollOnExpand in object selector, so 1st level nodes do not get out of sight when un/checking one of them. 2011-09-20 21:33:22 +00:00
Ansgar Becker
65de4c482e TMySQLConnection.GetThreadId requires the connection to be active. Fixes issue #2561. 2011-09-20 17:23:36 +00:00
Ansgar Becker
4e0d7fdcdb Do not replace two single quotes which are not used to present one escaped single quote. Fixes issue #2560. 2011-09-19 18:16:05 +00:00
Ansgar Becker
b733fb8dc6 Primary key columns can be hidden in data grid. Pressing home key has to use first visible column instead of column 0. Fixes issue #2559. 2011-09-18 09:44:05 +00:00
Ansgar Becker
def0cbd45b Fix broken link to plink.exe, prefer a link to the download page over the .exe, as that link is obviously randomly mirrored, while there are disappearing mirrors over time. 2011-09-14 20:49:59 +00:00
Ansgar Becker
793ab83a20 Process escaped single quote in TDBConnection.UnescapeString. Mentioned in issue #2546. 2011-09-05 19:55:51 +00:00
Ansgar Becker
788e279fb8 Attempt to preserver original VIEW code, by selecting text from the server's .frm file. Fixes issue #2546. 2011-09-04 13:17:32 +00:00
Ansgar Becker
4ccb6391df Issue #1289: Add some basic code to the "analyze" button, which detects missing tables in target database. 2011-08-26 06:57:31 +00:00
Ansgar Becker
12b158ba1c Catch more types of potential exceptions in image preview box. See http://www.heidisql.com/forum.php?t=8980 2011-08-26 06:24:19 +00:00
Ansgar Becker
94c1ecc81a Remove redundant backticks in table editors CREATE and ALTER code. See http://www.heidisql.com/forum.php?t=9056 2011-08-24 05:50:51 +00:00
Ansgar Becker
284c3410dc * disable controls as long as no session is selected.
* check all option check boxes by default
2011-08-23 06:22:12 +00:00
Ansgar Becker
d3087c1172 Add checkboxes to tree nodes in sync dialog, and ensure only table nodes of the same db are clicked at one time. 2011-08-23 05:54:49 +00:00
Ansgar Becker
01ac4b40e3 Introduce new dialog "Synchronize database", see issue #1289. Complex code behind "Analyze" and "Apply" buttons is missing yet. 2011-08-22 05:57:57 +00:00
Ansgar Becker
b185459ada Add "REPLACE INTO ..." to grid export output options. Fixes issue #2528. 2011-08-21 06:21:57 +00:00
Ansgar Becker
f4b19d1351 Remove TMainForm.AllDatabasesDetails, and implement a collation property in TDBObjectList, queried from information_schema.schemata. Removes a moreorless useless queries for objects in information_schema, which probably causes crashes when badly timed, like described in issue #2537. 2011-08-21 05:45:09 +00:00
Ansgar Becker
3170702b5b Unify usage of log prefix in db connection. 2011-08-20 05:31:02 +00:00
Ansgar Becker
eaadfb3f60 Implement TDBConnection.GetServerVariables, and use that in various places. Also, indicate Percona server version using version_comment variable. See http://www.heidisql.com/forum.php?t=8035 . 2011-08-19 06:27:00 +00:00
Ansgar Becker
da96a7c412 Implicitly activate backwards search when replacement string contains \n, to overcome the multi line bug described in previous commit. Suggestion from michaelgang, see http://www.heidisql.com/forum.php?t=8977 2011-08-18 10:50:59 +00:00
Ansgar Becker
fe2d5149a5 Add support for \t and \n for replacement in search+replace dialog. Accepting a multi line bug in SynEdit, which forces the user to search backwards when using \n in replacement. See http://www.heidisql.com/forum.php?t=8977 2011-08-18 06:41:49 +00:00
Ansgar Becker
d19fc1cf0e Fix distinction of idle/busy processes on MS SQL 2011-08-17 06:29:16 +00:00
Ansgar Becker
0f881d2a13 Cache result of thread id. On MS SQL this is a real query which spams the log history. And mysql_thread_id() crashes when connection was killed. 2011-08-17 06:17:47 +00:00
Ansgar Becker
a170149801 Revert previous commit, which does not fix issue #2358 2011-08-16 06:38:18 +00:00
Ansgar Becker
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
Ansgar Becker
858aa92677 Fix wrong icons in process list, use a different "idle" icon, and indicate broken and own thread with an overlay icon. 2011-08-15 06:01:02 +00:00
Ansgar Becker
783cbdbcc0 Save and restore settings in table tools dialog. Restore server selection only in export mode. Fixes issue #2520 and non-restored previous file settings. 2011-08-14 10:15:09 +00:00
Ansgar Becker
e58d033342 Handle build download errors in update checker. Fixes issue #2512. 2011-08-13 05:38:20 +00:00
Ansgar Becker
cb8c233a10 Do not double quote filter values since esc() now expects a DoQuote parameter. Broken in r3908. Fixes issue #2510. 2011-08-01 20:27:58 +00:00
Ansgar Becker
1f75acc999 Fix non-overtaken grants when user clicks "clone user". See http://www.heidisql.com/forum.php?t=8943 2011-07-30 08:20:51 +00:00
Ansgar Becker
6dd8ff5dad Use newer logo in about box, and consolidate credits text. 2011-07-25 21:38:25 +00:00
Ansgar Becker
ede08e591e Fix wrong offset of home brown UNIX timestamp. Fixes issue #2507. 2011-07-25 21:34:32 +00:00
Ansgar Becker
807fd94fa7 ParseTableStructure does an implicit reconnect via GetCollationTable, lately, after a first column is already created. Do a manual ping at the very start so columns are correctly shown, e.g. in data tab. Fixes issue #2484. 2011-07-23 18:57:33 +00:00
Ansgar Becker
3348cc879a Support length for TEXT columns in table editor. Looks a bit undecided in MySQL, as MEDIUMTEXT e.g. has no length attribute. However, fixes issue #2505. 2011-07-23 18:11:44 +00:00