1341 Commits

Author SHA1 Message Date
b378aa7af3 Fix fatal error in "Copy table" dialog. Column names are handled case sensitive now. 2009-10-29 00:52:31 +00:00
25553f12cb Fix loop variable, so the resulting array gets filled completely. Fixes issue #1416. 2009-10-29 00:46:24 +00:00
ef0cc6b5b7 Fix access violations on old servers, fixes issue #1417:
a) On a 4.0 server, mysql_real_query("SHOW TABLES FROM nonexistant_db") returns 0/OK . A 5.x server returns 1. On 4.0 servers mysql_num_rows() then causes an access violation. So, we now gracefully avoid calling it when mysql_store_result() returned nil.
b) Various hardcoded queries like SHOW ENGINES need to be quiet in any error case.
2009-10-29 00:40:31 +00:00
8354c106ca Try to fix broken characters in SHOW CREATE TABLE result by using UTF8StringToWideString(). Fixes issue #1328. 2009-10-28 01:16:29 +00:00
aa6e1702fb Add Delphi Fundamentals Unicode library (untouched) 2009-10-28 00:43:33 +00:00
e2674cadb8 Remove no longer used Zeos packages and related stuff 2009-10-28 00:34:52 +00:00
589c6a76a6 Missing file for previous commit 2009-10-28 00:11:23 +00:00
12a8e2ebc5 Implement a more lightweight connection layer, consisting of 2 units in source directory. Breaks threading and window to window communication, which should be reimplemented later. 2009-10-28 00:08:49 +00:00
82c717870d About dialog: first tab with authors should be selected by default 2009-10-21 19:54:06 +00:00
dd6759d680 Bugfix: Dragged nodes were deleted in table editor's column list and index tree. 2009-10-20 11:26:03 +00:00
df309fc633 When the filter box in data tab is empty, and filter generator box has text, auto generate filter on button click. Fixes issue #987. 2009-10-19 23:15:42 +00:00
1371d87695 Auto focus filter memo when user clicks "Filter" button. Fixes issue #986. 2009-10-19 23:02:55 +00:00
02403692ea Put both memos in about dialog into separate tabs on a page control. Fixes issue #1404 2009-10-19 22:49:16 +00:00
8b126c26a7 Revert accidentally committed file with debug changes 2009-10-19 22:15:40 +00:00
aaa02877a2 Cosmetic in project files:
* Move const.inc and compilers.inc back to main source directory
* Move remaining few lines of code from heidicomp.pas to helpers.pas
* Remove components/compilerdetection and components/heidisql
* Remove remainders of EDBImage component, unused since Aug 08.
2009-10-19 22:13:04 +00:00
a9dd16766b Extract params clause without a regexp to make inner regexp more stable against spaces and parentheses in data types. Fixes issue #1400. 2009-10-19 18:07:03 +00:00
0495a762ba Use light blue for focused cells and light gray for selected, unfocused cells. Fixes issue #1383. 2009-10-19 17:57:41 +00:00
b1a65036fd Missing file changes for r2664 2009-10-17 13:24:54 +00:00
2abcd09486 Remove debug output in log memo 2009-10-17 13:14:41 +00:00
0790c125f4 Only check selected table node(s) in table tools tree, if table(s) were right clicked. Check db node if that db was right clicked. Fixes issue #1362. 2009-10-17 11:17:59 +00:00
1a9da455dc Rephrase the error message which pops up when grid editing is blocked because there is no sufficient key for it. The message was too long so a user and me didn't read the whole text and thought we detected a bug (see issue #1385) 2009-10-15 20:54:24 +00:00
37cae6cdb4 Discard cashed stuff for data tab when the table was altered. Fixes issue #1376. 2009-10-15 20:35:33 +00:00
e812ffc209 Cosmetic: Reset query tab caption to "Query #x" on Ctrl+W ("Clear editor"), so a filename is no longer kept in that case. 2009-10-15 18:52:51 +00:00
1c35b39945 Refresh query helpers if *any* query tab is open, not only the main query tab. Fixes issue #1387 2009-10-15 17:25:05 +00:00
8319acf86a Slightly decrease search event timer on filter panel to make fast typers happy. 2009-09-24 18:57:34 +00:00
445c1adefd A THotKey is not able to hold "Tab" or "Shift+Tab" as shortcuts. Use TSynHotKey's instead in preferences dialog which doesn't have this limitation. 2009-09-24 18:52:35 +00:00
5ad57405dd Add SynEdit keystrokes for "make uppercase" and "make lowercase". Fixes issue #1256 2009-09-21 23:50:13 +00:00
d2c716ff54 Add reasonable default shortcuts for "delete next word" and "delete from here to eof". Fixes issue #1088. 2009-09-21 23:44:46 +00:00
ddbb3a8880 TAction shortcuts have to be set manually for the current session. 2009-09-21 23:23:12 +00:00
556db8ce3f Fix mixed up variable 2009-09-21 23:22:14 +00:00
4799f84bc6 Fix unsaved change for previous commit. 2009-09-21 23:15:56 +00:00
c6be8dd575 Implement customizing of shortcuts for all available TActions and SynEditor commands. Fixes issue #536. 2009-09-21 23:12:21 +00:00
206287177a Minor: optimize redundant code away. 2009-09-19 16:22:04 +00:00
c80e0f2999 Fix position of query tab close buttons in OnResize. Fixes issue #1363 2009-09-19 16:14:51 +00:00
3209cd9d8b Minor: missing changes for previous commit. In-memory changes were not saved yet. 2009-09-17 23:05:41 +00:00
60beacc049 Implement a second tab on the table tools dialog: "Find text on server". Scans all tables with OR'd LIKE clauses for a given text. User can restrict that search to a data type category (integer, text, etc.). Fixes issue #529. 2009-09-17 23:00:29 +00:00
a5da6f7255 Implement forgotten checksum option for existing tables. Fixes issue #1358. 2009-09-16 18:40:46 +00:00
e764c41867 Fix disabled "CHANGED" option for CHECK TABLE operation 2009-09-15 18:50:02 +00:00
86031234ac When a db node gets checked, its not yet initialized children are unchecked - fix that. 2009-09-15 18:47:27 +00:00
ab3cf3c586 Bugfix: When both QUICK and EXTENDED options were checked in CHECK mode, a switch to CHECKSUM mode didn't uncheck one of the options like it's needed, as they're mutually exclusive for CHECKSUM. 2009-09-15 18:28:44 +00:00
31e52f4df1 When a db node in the table tools tree has "mixed" state and it contains unaddressable stored routines, it is impossible to change the db node's check state. Fix that by removing checkboxes for stored routines. 2009-09-15 18:20:55 +00:00
6e66726e79 Fix "List index out of bounds", when the table tools dialog is called the second time, and some databases were deleted or filtered. 2009-09-15 17:57:04 +00:00
658aab45c6 Temporary workaround to make the maintenance results work on servers with the notorious binary collation bug. How to add a workaround without breaking Unicode results here?? 2009-09-14 20:39:36 +00:00
e0796b153f Refactor maintenance dialog:
* Replace checklist box by a virtual tree with checkboxes
* Make "Maintenance" a single tab on a TPageControl, so there may follow other tools (e.g. issue #529)
* Replace button layout by a combobox
* Add "CHECKSUM" operation and various options
2009-09-14 00:09:03 +00:00
2146332be6 Automatically refresh children of active database node after creating a new table or renaming one. Fixes issue #1248 and part 1 of issue #1352 2009-09-12 06:47:17 +00:00
77ec7315e8 Revert r2630, edit delay for database filter. Not needed any longer as the filter works in real-time now. Also, this delay has the chance to annoy users. Related to issue #1350. 2009-09-11 21:12:27 +00:00
eb1e857810 Optimize database filter:
* Issue #1350: Enhance performance for database filter: Only use regular expressions, avoiding to do a second exact StringList search which is slower. 10,000 databases are filtered now in <1 sec (>10secs before)
* Now a part of a db name matches - previously the match had to be exact or a regular expressions.
* Pink background if filter doesn't match any dbs or the regular expression contents syntax error(s).
2009-09-11 20:58:34 +00:00
f940c20b06 Add the same timer based delay to the db tree filter as for the filter panel in r2627, was also complained about in issue #1350. 2009-09-11 20:01:58 +00:00
5e35c1811d Optimize performance for populating the database tree: SynEdit's InitializeKeywordLists() is very slow when you put a large number of dbs into SynEdit's list of tables - 10 seconds for 4,000 dbs here, vs. 1 second if we don't do that. Decided to remove that "feature", databases are not tables anyway. Fixes issue #1350. 2009-09-11 19:53:37 +00:00
8f52879369 Fix enabled instead of disabled timer 2009-09-11 18:53:09 +00:00