c1e48c3bf5
Bugfix: buffer length is the input buffer, not the output buffer.
...
Bugfix: HexToBin() will simply stop when hitting invalid characters, make sure the buffers are valid in that case (should add code to raise an exception).
2008-09-02 20:09:55 +00:00
18a9b29af6
Fix bug #710 : No CSV options on Vista by switching to a standard TSaveDialog.
2008-09-02 19:38:24 +00:00
2efb248325
Virtual Tree needs a further fix for usage with custom DPI settings: its default node height is hardcoded and only works for 96 DPI. Make that dynamically by checking the grid's font height. Fixes issue #705 : Unreadable text on Vista
2008-09-02 18:34:39 +00:00
c15f1ce7a5
Vista, Field editor: Work around for higher DPI settings no longer needed using the Segeo font. Instead, fix the pulldown's ItemHeight in that case which per default only fits for 96 DPI.
2008-09-02 18:22:18 +00:00
ff5480682a
Fix bug #706 Unintuitive connection buttons. At least the buttons are completely visible now in all DPI modes.
2008-09-02 17:44:34 +00:00
5c9a096179
Use WideFormat() instead of Format().
2008-09-02 15:07:25 +00:00
881da41fa0
* Export binary data to SQL without corruption.
...
* Add todo notes in GridTo[Xml,Csv,Html}.
* Whitespace adjustments.
Partly fixes issue #659 .
2008-09-02 15:05:02 +00:00
807484ab6e
Use Format() where appropriate.
2008-09-02 14:19:58 +00:00
952cdd5a18
Fix a wrong comment.
2008-09-02 09:32:36 +00:00
5d877d7f18
Avoid overflowing the target compatibility box.
2008-09-02 07:21:23 +00:00
883cd1e7d8
Avoid mucking with other client applications character_set_connection: do not emit a SET CHARACTER SET into exported SQL files. Instead rely on the receiving application to correctly interpret files in Unicode format.
2008-09-02 07:14:33 +00:00
3ab4029776
MEDIUMTEXT is wider than TEXT so list it last.
2008-09-01 22:01:22 +00:00
5e072c39a3
Bugfix: MySQL Server does not accept 0x as an empty string of bytes, give it '' instead when composing SQL.
...
Todo: Perhaps looks a little silly with 0x in the grid for empty binary fields, too.
2008-09-01 21:59:04 +00:00
cc2f93b24e
* Add a binary editor to allow editing (var)binary and (tiny|medium|long)blob fields without messing up NULs etc.
...
* Add a few notes about where AVs seem to randomly occur when GridPost{Insert,Update,Delete} and EnsureDataLoaded invokes the query logic from outside the main thread.
Fixes issue #659 as far as the grids go, but not for export functions.
2008-09-01 21:46:28 +00:00
6a4c1e7637
Change problematic/interfering shortcut "Enter" to "Ctr+Enter" for switching between database and table tab, having a table focused. "Enter" is needed for the "end editing" event when a table gets renamed which didn't work before. Fixed now.
2008-09-01 20:31:56 +00:00
d60b1b6f93
Rename 'memoeditor' to 'texteditor', in preparation for inclusion of a binary editor.
2008-09-01 19:47:05 +00:00
92f4ebc762
Bugfix: (regression) avoid using 4.x functions UUID() and IS_FREE_LOCK() during export.
2008-09-01 18:23:22 +00:00
020b620c47
Avoid destructive actions (DROP before CREATE) when user tried to do a 'recreate' action on two sessions connected to the same database. Fixes issue #703 .
2008-09-01 17:51:25 +00:00
85075d5be7
* Fix inconsistent enable/disable of the other host database dropdown.
...
* Fix generating wrong SQL when non-enabled cbxDatabase was checked.
* Correct wording a few places.
2008-09-01 16:21:24 +00:00
4c47dc04e1
Clean up connection dialog by making it a bit more compact, gathering all top buttons on a toolbar. Removes a workaround for loading images on a TPNGSpeedbutton and fixes some too wide labels using the Vista font.
2008-08-31 20:46:31 +00:00
9a52593dc2
Use Vista's Segeo font for all forms by using the SetVistaFonts() in mainform plus the new routine InheritFont() which simply overtakes fontname and size from the mainform to all other forms.
2008-08-29 18:20:14 +00:00
084914b077
Sanitize GridToCSV/HTML/XML routines from redundant stream writing code. Introduce new StreamWrite() method, also used by wfs() which does slightly more than StreamWrite().
2008-08-29 17:49:52 +00:00
e5c43fe823
Add helper library for Vista related GUI fixes. With permission of the author Nathanial Woolls via pm.
...
See http://www.installationexcellence.com/articles/VistaWithDelphi/ for technical details. No license details out there unfortunately.
2008-08-28 21:46:03 +00:00
76f2952a84
Try to fix issue #693 : Import CSV file: LOAD DATA fails with UTF-16 encoded file.
...
Pros:
- CSV/HTML/XML exports are now encoded as UTF-8, not UTF-16. Importing such CSV files should now work magically when using the Import CSV dialog.
- Exported files should now be significanty smaller when most content is latin1 encoded.
2008-08-28 16:05:56 +00:00
776fa891a8
Use WideDequotedStr as a replacement for the helpers:TrimC . Fixes Unicode in autocompletion logic.
2008-08-27 18:09:53 +00:00
07d4f1c9d4
Fix (re)storing Unicode table and column names for the ORDER BY clause
2008-08-27 18:01:15 +00:00
70969b2fc1
Avoid a full table load on column auto resizing by using the new Column.coSmartResize option in VirtualTree 4.7.0 . "Smart resizing" only takes the cells in view to check the needed width, instead of all cells.
2008-08-27 15:40:15 +00:00
007798c10a
Update VirtualTreeview component to 4.7.0, released on Aug 24, 2008.
2008-08-27 15:28:43 +00:00
baa8ceb024
Memo editor enhancement: Disable/enable the "Apply" button according to if the text was modified or not.
2008-08-27 14:32:41 +00:00
369450d14f
Memo editor fix: Changing the scrollbars invoke the OnChange event. Avoid thinking the text was really modified in that case.
2008-08-27 14:20:58 +00:00
06a7242891
Fix crappy positioning of memo editor: MemoEditor.Parent was set to DataGrid which was the reason for why it couldn't exceed the borders of DataGrid. Now, Parent is left to default (mainform) and it's centered on the main form, which seems to also fix some cosmetic stuff on Vista.
2008-08-27 14:11:49 +00:00
8367deb592
Fix bug #613 Target database not remembered in Export window
2008-08-26 19:38:49 +00:00
cd6e4024a6
Fix bug #689 insert row into table BUTTON is enabled when I'm not connected
2008-08-26 10:10:28 +00:00
43b86901d7
Fix displaying the original text in the memoeditor when editing a field for the second time.
2008-08-26 10:05:28 +00:00
55aad43115
The memoeditor has a window heading since 1700 which surely includes a "Close" system button. If this button was pressed, editing was neither cancelled nor applied. Fix that by implementing a confirmatin dialog in case the text was modified.
2008-08-26 09:52:58 +00:00
2cff5732fc
Remove no longer needed routine for autocalculating row limit: GetCalculatedLimit. The Export SQL dialog now uses a constant number of 5000 rows fetched per step. Also removes the option in the preferences screen for limiting the data amount, which was misleading the user before and only used to limit the export stuff.
2008-08-26 09:09:41 +00:00
e2b67b5831
Cosmetic: Replace old style SQL wait mouse cursor with system default wait cursor. Especially prettier when running Vista.
2008-08-26 08:36:06 +00:00
c197a86751
Fix rfe #695 Disable "Drop database" in tree popup if a table is selected
2008-08-26 08:28:07 +00:00
2ff02a7eb1
Don't hide the window caption of the memo editor, display the form as toolwindow. Looks better since the form is centered.
2008-08-26 06:14:48 +00:00
7e2897ebcf
Fix bug #696 Problem with popup editor editing the last record.
...
Solution: Always center the memo editor within the grid.
2008-08-26 05:56:43 +00:00
d8f5674b3d
Implement ENUM grid field editor, basically a combobox
2008-08-26 05:14:05 +00:00
223b9713c3
Fix bug #688 "add field -> AutoIncrement checked and disabled"
2008-08-26 04:40:54 +00:00
b333c83c6e
Fix unquoted primary key columns in copy table dialog
2008-08-25 20:26:34 +00:00
6daf4b3f76
Fix most remaining Unicode unsafe GUI controls.
2008-08-25 20:24:00 +00:00
d23492588f
Treat BIT columns like BLOBs on the datagrid. Fixes an AV, similar to issue #686 .
2008-08-21 06:09:15 +00:00
b10b464771
Fix issue #694 : Column comment silently deleted after renaming
2008-08-20 19:43:42 +00:00
7799e30c7b
Keep the Copy CSV/HTML/XML actions enabled if a result has 0 rows. Enables users to copy the column names.
2008-08-20 18:49:25 +00:00
3517253af7
Fix unicode table names and comments in alter table dialog
2008-08-19 23:01:31 +00:00
dedc3d92b1
Fix fieldeditor and neighbours for Unicode table- and columnnames
2008-08-19 22:48:05 +00:00
03550f32a0
Fix redundant "USE xyz" queries firing before each query while working in a database with weird characters in its name.
2008-08-19 22:02:26 +00:00