c25f3ff8c7
Terminology: a column can be part of a primary key.
2008-08-11 21:24:47 +00:00
88fc0316a5
Saving the childwin pos/dim is error prone; avoid this by just maximizing it at all times (which is it's only useful state anyway).
2008-08-11 20:54:56 +00:00
2bf9736522
Correct a comment.
2008-08-11 20:07:25 +00:00
95b4b2a642
* Make virtual desktop name on application load, resolution change, monitor count change and monitor placement change.
...
* Store main window placement using above name.
* Load main window placement using above name.
* Fixes issue #568 .
2008-08-11 19:54:20 +00:00
ed99c16c70
Fix bug #669 Memo editor increases height each time called
2008-08-11 18:30:54 +00:00
bcf26b1c98
Bugfix: get rid of another Close() call which lead to a spurious mrCancel. Fixes issue #665 .
2008-08-11 15:23:52 +00:00
1a75a3f312
Implement a date/datetime/time editor for the datagrid. Basically a TDateTimePicker.
2008-08-10 22:02:21 +00:00
9a938d960b
Treat char datatype exactly like varchar for grid editing. Read: activate the memo editor for char's.
2008-08-10 15:38:42 +00:00
3b0f5be4bb
Implement handling of maximum input length for the memo editor
2008-08-10 15:34:47 +00:00
5852993d02
Fix issue #664 delete record shows wrong record after delete
2008-08-10 10:46:44 +00:00
fe73090f51
Refocus grid when the memo editor is closed.
2008-08-09 19:48:46 +00:00
81609c83cb
Enable shortcuts in memo editor:
...
- Escape for cancel editing
- Ctrl + Enter for apply text and end editing
2008-08-09 19:47:13 +00:00
8c83507561
Code structure: Seperate editor link from memo editor form, into own unit grideditlinks.pas . All edit links can live here while the used forms will need their own unit + dfm.
2008-08-09 17:52:01 +00:00
1c3780036b
Fix bug #306 process list autorefresh causes exception
2008-08-09 09:08:28 +00:00
026ffd58a2
Fix bug #641 table names not colored in sql query editor
2008-08-09 08:55:30 +00:00
7198f0b5ab
Fix bug #657 "Renaming a view generates ALTER TABLE"
2008-08-09 08:46:20 +00:00
c0bed49a2f
Fix bug #654 "Edit -> Add primary index -> Crash" by preventing the cell from going into edit mode if there is no unique key available.
2008-08-09 08:31:04 +00:00
aabd4bbf57
Add some more support for databases and tables with unicode characters.
2008-08-08 19:32:24 +00:00
76aa8aaba1
Apply word wrapping to process list sql viewer.
2008-08-08 13:59:18 +00:00
09cfeb65be
Bugfix: Show queries with international characters correctly in process list.
2008-08-08 13:39:04 +00:00
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
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
df37fb8be0
Terminology and similar updates (followup).
2008-08-08 08:22:42 +00:00
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
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
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
ad9ebc4161
Treat varchars in grids like text fields are treated: green color + memo editor
2008-08-07 23:07:03 +00:00
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
b0466f3de8
Revert r1606 - discussed on the list
2008-08-07 21:42:01 +00:00
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
70370dca8c
Always export files in UTF-8.
2008-08-07 19:44:40 +00:00
1ce34e9f10
Compose a query as a widestring to accommodate table names containing weird characters.
2008-08-07 19:43:33 +00:00
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
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
e01567dcb6
Revert r1609.
2008-08-07 18:19:24 +00:00
71860be67c
Revert r1611.
2008-08-07 18:17:07 +00:00
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
0751e46b80
Fix refetching utf8 contents of UPDATEd or INSERTed cells, similar to r1609
2008-08-06 22:32:45 +00:00
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
1680561311
Fix Utf8 field contents displayed in datagrids and exported to SQL.
2008-08-04 20:48:44 +00:00
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
fcf70e8666
Fix bug #651 : Missing keyboard navigation with new virtualtreeview data editor
2008-08-04 19:02:03 +00:00
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
cf70d2e4c7
Fix compiler error from r1604
2008-08-03 19:33:07 +00:00
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
68b4619b4c
Code page 950 is Microsoft's implementation of the Big5 character set. Fixes issue #647 .
2008-07-30 07:36:01 +00:00
524f50c02e
Revert accidently included irrelevant change from r1601
2008-07-21 18:17:46 +00:00
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
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
dd786c14b4
Find better icons for up/down/left/right buttons and fix bug #626
2008-07-17 19:52:44 +00:00