Commit Graph

3060 Commits

Author SHA1 Message Date
Ansgar Becker
2a3466598b Remove duplicated database names from user passed list. Fixes issue #2322. 2011-03-13 22:35:18 +00:00
Ansgar Becker
56595d6df6 Let the session manager benefit from the additional fall back in TMySQLConnection.GetAllDatabases(), if SHOW DATABASES fails when db pulldown is triggered. 2011-03-13 22:24:19 +00:00
Ansgar Becker
3c0da9de03 Make search input find matching items case sensitively. Fixes issue #2343. 2011-03-13 19:04:38 +00:00
Ansgar Becker
a44e2308db Enhance quick filter menu items: Support cell values from multiple selected rows. Fixes issue #2341. 2011-03-12 14:11:20 +00:00
Ansgar Becker
d84e75ace0 Allow passing only CA certificate for SSL connections. Fixes issue #2336. 2011-03-12 08:59:53 +00:00
Ansgar Becker
ba8a93bbd9 Set toGhostedIfUnfocused property in table tools' object tree - feels annoying to switch between ghosted and normal when tree is focused and unfocused. 2011-03-10 20:16:41 +00:00
Ansgar Becker
6572de2f3b Display sum of all checked objects in lower left label of table tools dialog. 2011-03-10 20:13:58 +00:00
Ansgar Becker
3e0bd65315 Fall back to select database name from information_schema.schemata table, if SHOW DATABASES fails. Fixes issue #1485. 2011-03-10 18:42:53 +00:00
Ansgar Becker
712369bb89 Remove unused function mappings. 2011-03-09 21:20:08 +00:00
Ansgar Becker
9451680e2e Silence privilege error when user is not allowed to fire SHOW DATABASES. See issue #1485. 2011-03-09 20:20:33 +00:00
Ansgar Becker
94f31b30b1 Fix detection of table name for editing joined tables, causing UPDATEs on the wrong table. This still leaves that problem for situations where tables are joined with a view. Fixes issue #2335. 2011-03-08 23:08:23 +00:00
Ansgar Becker
29c4851991 Final logo? Maybe. 2011-03-06 12:14:36 +00:00
Ansgar Becker
31e3729cc8 Again, try out another logo style: green, white and transparent. 2011-03-04 07:20:04 +00:00
Ansgar Becker
a5fe0f74d5 Undo previous commit - caused ping for each parsed column, which was a performance issue. Do a manual .First instead. 2011-03-03 21:42:33 +00:00
Ansgar Becker
e088db535f Fix undetected column collation, caused by non rewound collations list. See http://www.heidisql.com/forum.php?t=7893. 2011-03-03 21:35:57 +00:00
Ansgar Becker
45d4bcc5f7 Try to fix AV on tab closing, this time by avoiding calls to TControl.ClientToScreen respectively ScreenToClient, which I both suspect to be buggy. Fixes issue #1935. 2011-03-03 20:25:16 +00:00
Ansgar Becker
34c1969f5f Fix wrong "0 %" display when table has 0 rows. 2011-03-03 19:44:28 +00:00
Ansgar Becker
afc9f490c1 Display nothing instead of "-1" for processed rows in case of non-tables. See http://www.heidisql.com/forum.php?t=7895 2011-03-03 19:40:31 +00:00
Ansgar Becker
972aa9e4d2 Display the real row count at the end of exporting table data, using an internal counter, to enhance accuracy. See http://www.heidisql.com/forum.php?t=7895 2011-03-03 19:21:35 +00:00
Ansgar Becker
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
Ansgar Becker
6cd32759e3 Query threads are set to FreeOnTerminate, so there is no need to free them manually. Fixes an access violation. 2011-03-01 23:10:54 +00:00
Ansgar Becker
922eca3080 Code cosmetic - avoid calling Exit when we have the chance to jump to Except instead. 2011-03-01 22:39:09 +00:00
Ansgar Becker
294061030e Now that user queries do not block the GUI, you can switch to another main tab. Add some safety code when detecting the right tab for a thread. 2011-03-01 22:35:46 +00:00
Ansgar Becker
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
Ansgar Becker
ff3fd3696f Go back to a more known style for the logo - old colors again, with a plane 3d effect. 2011-02-28 22:35:25 +00:00
Ansgar Becker
51259dce10 Introduce a different logo style: green, black and purple. 2011-02-27 21:21:57 +00:00
Ansgar Becker
06d7a97798 Handle multiple queries in table editor's apply action. This way, special queries for edited foreign keys and dropping defaults are revealed in the "ALTER code" tab. Moved from ApplyModifications. 2011-02-19 08:22:17 +00:00
Ansgar Becker
7225c031e4 Delete unsupported packages 2011-02-17 00:36:17 +00:00
Ansgar Becker
b50659135c Again, move code for loading libmysql.dll - the right place is now the connection object itself, which loads the library on demand, in SetActive(). This enables the application to start independently of an existent library, raising an error when pressing the connect button. Also, this is a first step towards multi-dbms. 2011-02-17 00:26:53 +00:00
Ansgar Becker
de7ba86e23 Revert r3695 and raise a usable error message much earlier, short after mysql_api.pas has assigned procedures from libmysql.dll . Also, remove procedure names which are no longer present in the current lib. 2011-02-16 21:40:20 +00:00
Ansgar Becker
06ae6b9c8c Drop default column value if user selects "No default". Fixes issue #2311. 2011-02-16 19:46:03 +00:00
Ansgar Becker
72f71bd845 Add a usable error message to the EAccessViolation which pops up when no libmysql.dll is found in the current directory. 2011-02-15 23:37:34 +00:00
Ansgar Becker
669bab9095 Find a nicer "problem" overlay icon for users with an empty password. 2011-02-15 23:25:52 +00:00
Ansgar Becker
d5f47f4103 Downgrade priority of charset information in log panel, which is now a debug message. 2011-02-15 23:15:29 +00:00
Ansgar Becker
2911e9802c Be more exact in regexp from within ParseTableStructure(), to avoid stack overflow in TRegExpr object. Fixes issue #2309. 2011-02-15 23:11:27 +00:00
Ansgar Becker
de2767711d Flush privileges after user has been dropped. 2011-02-14 09:30:47 +00:00
Ansgar Becker
2a7a4ec99c Remove redundant application name from description 2011-02-10 21:05:48 +00:00
Ansgar Becker
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
Ansgar Becker
216f097d9c Servers up to 5.0.6 do not support the object type in a GRANT or REVOKE query. See http://www.heidisql.com/forum.php?t=7753 2011-02-09 23:22:48 +00:00
Ansgar Becker
d539284477 Fix crash when there is no ActiveConnection. See http://www.heidisql.com/forum.php?t=7749 2011-02-09 09:27:38 +00:00
Ansgar Becker
8d9539e10f Indicate SSL enabled connection, via lock icon in status bar, logging line at connection time, and line in connection info popup. See http://www.heidisql.com/forum.php?t=7739 2011-02-09 07:07:44 +00:00
Ansgar Becker
2f12b65fe9 Use image on close button, like the other buttons already do. 2011-02-09 06:54:28 +00:00
Ansgar Becker
0f2db295a6 Fix top aligned, 2-line label, should be centered vertically. 2011-02-09 06:51:14 +00:00
Ansgar Becker
adab28c336 Avoid exception when starting cell editor for a cell which is partly out of sight horizontally. VT calls ScrollIntoView in .DoEdit, and fires the OnScroll event, which tells MainForm to end editing. Ends up in the OnNewText procedure which has no node to handle in that case. So, only end editing for vertical scrolling for now. 2011-02-08 22:52:27 +00:00
Ansgar Becker
deb0c1afbf User manager: Turn custom object editors into one single editor for a wildcard database. Enhances what r3681 did for issue #2299. 2011-02-08 22:11:43 +00:00
Ansgar Becker
9e8ddad470 User manager: Allow applying dbs with wildcards via custom input text, while escaping mouse-selected objects from tree. Fixes issue #2299. 2011-02-08 00:11:33 +00:00
Ansgar Becker
17baa6bf03 Let QueryLoad() create a new query tab if required, so the caller is not responsible to close it in cases where the file is directly executed, not loaded. Also, check if some existing query tab is empty and can be used for the file. Fixes a part of issue #2265. 2011-02-06 14:16:09 +00:00
Ansgar Becker
08513f1d88 Improve user manager: Include inactive users in users list and disable these nodes. Just to make clear they exist, and the user should fix them manually. 2011-02-05 07:23:43 +00:00
Ansgar Becker
446eef2a40 Improve generated passwords by including numbers at a random position. 2011-02-05 06:45:38 +00:00
Ansgar Becker
ca58d88410 Improve password generator on user manager dialog: Create a drop down menu containing groups of passwords in several lengths. Do not automatically copy to clipboard, and leave the password visible as long as the user did not type manually. 2011-02-05 06:37:43 +00:00