rosenfield.albert
09cfeb65be
Bugfix: Show queries with international characters correctly in process list.
2008-08-08 13:39:04 +00:00
rosenfield.albert
4c4387c155
* Close() yields mrCancel, remove the Close() call. The dialog closes anyway when a button is clicked, now with the correct modal result.
...
* Return an integer from ConnectionWindow() rather than Booolean, makes the code in caller easier to read.
* Close HeidiSQL if the user chooses not to connect to a server.
2008-08-08 10:17:50 +00:00
rosenfield.albert
66d5351f0e
Bugfix: avoid infinite recursion when table data fails to load. Fixes issue #329 and issue #563 .
2008-08-08 08:33:57 +00:00
rosenfield.albert
df37fb8be0
Terminology and similar updates (followup).
2008-08-08 08:22:42 +00:00
rosenfield.albert
ae87769f9c
Bugfix: switch back to normal cursor after failed database operation.
...
Issue #180 doesn't seem to reproduce anymore, not here anyway.
2008-08-08 00:08:45 +00:00
rosenfield.albert
071e68c598
* Bugfix: column type dropdown was rendered incorrectly with non-default font dpi configurations. Fixes issue #615 .
...
* Commented code that shows how to get current DPI. Feel free to delete.
2008-08-07 23:55:13 +00:00
rosenfield.albert
bf24403596
* Crashed tables were mistaken for views. Fixes issue #650 .
...
* Add separate node type for crashed tables, so that some sort of a graphic can be associated with those.
2008-08-07 23:17:28 +00:00
Ansgar Becker
ad9ebc4161
Treat varchars in grids like text fields are treated: green color + memo editor
2008-08-07 23:07:03 +00:00
Ansgar Becker
7d168f5526
Now the memo editor has its own unit to live in the editor link should also live there. Moves relevant code from main and rename the object to TMemoEditorLink to be more clear.
2008-08-07 22:39:22 +00:00
Ansgar Becker
b0466f3de8
Revert r1606 - discussed on the list
2008-08-07 21:42:01 +00:00
rosenfield.albert
a3ab287273
Bugfix: the BINARY (0x80) flag has been broken in recent libmysql.dll versions, for some reason. Workaround. Sort of fixes issue #660 .
2008-08-07 21:13:38 +00:00
rosenfield.albert
a0cd049f78
Bugfix: regression from previous commit (embarrassing typo).
2008-08-07 21:05:45 +00:00
rosenfield.albert
55e4f6960b
Add more steps for easier debugging.
2008-08-07 20:36:19 +00:00
Ansgar Becker
6b17b239ba
Give the memo editor its own unit + dfm file. Enables us to use the IDE for designing it.
2008-08-07 20:32:01 +00:00
rosenfield.albert
70370dca8c
Always export files in UTF-8.
2008-08-07 19:44:40 +00:00
rosenfield.albert
1ce34e9f10
Compose a query as a widestring to accommodate table names containing weird characters.
2008-08-07 19:43:33 +00:00
rosenfield.albert
bfbf1ee2f1
Terminology update: a table consists of columns vs rows, and the intersection of a row and a column is called a field.
...
(Except for Delphi's TField and MySql's FIELD, obviously, which are harder to fix.)
2008-08-07 18:56:06 +00:00
rosenfield.albert
614a6a813c
"Fix" regression from one of the previous revisions. Rather a null reference than a random pointer.
2008-08-07 18:33:46 +00:00
rosenfield.albert
e01567dcb6
Revert r1609.
2008-08-07 18:19:24 +00:00
rosenfield.albert
71860be67c
Revert r1611.
2008-08-07 18:17:07 +00:00
Ansgar Becker
b9d4b88b50
Implement a simple memo editor, embedded in the grid and activated when a grid cell goes into edit mode.
2008-08-06 23:48:25 +00:00
Ansgar Becker
0751e46b80
Fix refetching utf8 contents of UPDATEd or INSERTed cells, similar to r1609
2008-08-06 22:32:45 +00:00
Ansgar Becker
b98c532c9e
Fix bug #655 : Export function failure with datatype double. Also applies for floats in WHERE clauses in grid editing.
2008-08-05 21:22:55 +00:00
Ansgar Becker
1680561311
Fix Utf8 field contents displayed in datagrids and exported to SQL.
2008-08-04 20:48:44 +00:00
Ansgar Becker
732fadd17a
Try to fix bug #620 "Export utf-8 table content broken" by using WideStrings in all relevant places. Couldn't find a way to fix TZConnection.GetEscapeString, so this replaces that call by WideStringReplace which should do the job as well (although I remember that was a performance problem on large memos).
...
Todo: TField.AsWideString seems to be broken for ftMemo fields with utf8 collation.
2008-08-04 20:39:33 +00:00
Ansgar Becker
fcf70e8666
Fix bug #651 : Missing keyboard navigation with new virtualtreeview data editor
2008-08-04 19:02:03 +00:00
Ansgar Becker
3c6dee0ec4
Disable horizontal scrollbar on SQL log for the benefit of having one more free line there. Seems more important than being able to scroll to the right to see the end of large sql queries.
2008-08-03 19:38:03 +00:00
Ansgar Becker
cf70d2e4c7
Fix compiler error from r1604
2008-08-03 19:33:07 +00:00
Ansgar Becker
aa0bd953c6
Replace TNTDBGrids with VirtualTrees to enhance grid viewing and editing.
...
Affected issues: rfe #618 , rfe #464 , bug #324 , bug #635 (maybe more)
Breaks: Unicode grid editing (due to yet unsolved bug #620 ), enum pulldowns, MEMO editing
Major changes:
- editor tab at bottom completely removed, SQL log is always visible now.
- memo, blob and enum editors don't have a replacement yet. This is left for later commits.
- grid cells are colorized to signalize their datatypes
- UPDATEs, DELETEs and INSERTs are composed by own code, no longer by Zeos internal mechanisms. Should make debugging easier.
- UPDATEs + DELETEs on tables without unique key are blocked now.
- editing in the query grid is always blocked. Would need some extensive parser to allow that.
2008-08-03 19:30:07 +00:00
rosenfield.albert
68b4619b4c
Code page 950 is Microsoft's implementation of the Big5 character set. Fixes issue #647 .
2008-07-30 07:36:01 +00:00
Ansgar Becker
524f50c02e
Revert accidently included irrelevant change from r1601
2008-07-21 18:17:46 +00:00
Ansgar Becker
ef18f802f4
Get rid of superflous panel + nesting of PageControlMain in that (TableShow panel). Looked like some legacy from the old MySQL-Front days.
2008-07-20 16:44:08 +00:00
Ansgar Becker
dbea69431b
Enhance filter controls in data tab:
...
- Drop "Remove filter" action which seems useless when having a "Clear filter" action
- Let the Apply button be triggered with Enter when table wide filter edit is focused
2008-07-17 20:07:13 +00:00
Ansgar Becker
dd786c14b4
Find better icons for up/down/left/right buttons and fix bug #626
2008-07-17 19:52:44 +00:00
Ansgar Becker
b3b8391a9d
Fix bug #629 : Import textfile button (and neighbours) doesn't show hint
2008-07-17 19:28:00 +00:00
Ansgar Becker
04d314d5ea
Autolimit optimizations:
...
- Do not uncheck the LIMIT checkbox if the value in EditLimitEnd is larger than the total row count. In such (very common) cases it doesn't matter if a LIMIT is applied or not, so we don't annoy the user now by not auto-unchecking it.
- EditLimitEnd's value was never increased, only decreased, as of r1521. This seems more annoying than it helps prioritizing what the user wants.
2008-07-16 23:07:09 +00:00
Ansgar Becker
e45c7c3325
Make datasize in LIMIT calculation configurable via preferences (defaults to 5M). Remove rounding to next 1000 in GetCalculatedLimit to avoid overriding low datasize preference.
2008-07-16 22:22:16 +00:00
Ansgar Becker
2d12725550
Minor comfort enhancement as described in rfe #619 : Recall last manually set LIMIT values in top menu on startup.
2008-07-16 21:26:06 +00:00
Ansgar Becker
19533a23f9
Fix bug #614 window title shows session name, but not session number
2008-07-14 22:43:09 +00:00
Ansgar Becker
118cd13473
Fix bug #616 Pressing shift-del in query editor
2008-07-14 22:05:16 +00:00
Ansgar Becker
764f444ebf
Clean registry from unwanted WHERE clauses if "Remember WHERE filters" was unchecked. Avoids confusion with unwanted filters when that option was switched OFF and then ON again.
2008-07-14 21:46:38 +00:00
Ansgar Becker
fe5479d56f
Move filter editor and relevant components to above the datagrid. The filter panel can be manually activated by a third button besides "Columns" and "Sorting": "Filter". Or, if the preference option "Remember filters" is switched on, it is activated each time a filter is loaded from registry, just like before, but without stealing focus from the sql log or editor tab. If RememberFilters is ON, the filter panel is auto shown/hidden as long as it's not manually activated by the above button - in the latter case it stays until it gets manually hidden.
...
Plus: Removes the load/save filter file buttons as proposed on the mailing list. Seemed totally unneeded and confusing.
I tried to add a new form for this filter stuff, just like the two other buttons do it (Columns, Sorting) but that was of horrible usability as it would have been auto closed as soon as you unfocus it.
TODO:
+ Move LIMIT stuff to a popup, activated by a 4th button above the datagrid.
+ Remove memo/blob editors from the bottom page control, show them inline in the grid or as a new form. The log tab should never get automatically hidden any more then.
2008-07-14 21:18:03 +00:00
rosenfield.albert
c520fdfb1a
Bugfix: compare Unicode streams when scanning for updated data to post. Fixes issue #569 (hopefully).
2008-07-11 19:48:44 +00:00
rosenfield.albert
6eea8311e3
Avoid database metadata calls if the appropriate column information is already available. Fixes issue #315 .
2008-07-11 19:47:16 +00:00
rosenfield.albert
ec3fe33f8a
* Set Zeos 'Writable' and 'ColumnName' properties to make the result set metadata usable for creating update statements.
2008-07-11 19:45:49 +00:00
Francisco Ernesto Teixeira
549390ab28
Accidently forgotten file in r1585
2008-07-09 02:39:26 +00:00
Francisco Ernesto Teixeira
0c81870436
Added the missing LIBSUFFIX for Delphi 11 packages of PNG Component.
2008-07-09 02:04:05 +00:00
Ansgar Becker
62f60653bf
Fix bug #611 AV after renaming table + click another table
2008-07-08 22:58:18 +00:00
Ansgar Becker
f122cb82f7
Find colors for drop down arrows which do their job better to signalize a currently active SELECT or ORDER clause
2008-07-08 22:27:49 +00:00
Ansgar Becker
db1dae81de
Merge old code from IsValidDelimiter into Mainform.SetDelimiter so it creates the same validation error messages as before, also in parsesql() now. Formal adjustment: SetDelimiter raises an exception now for invalid values which has to be caught by parsesql() instead of just displaying a returned message string.
2008-07-08 22:16:04 +00:00