Ansgar Becker
32fad96276
The new inplace editor neutralizes the need for a preference option "Enable popup text editor". Remove it.
2008-11-25 19:35:02 +00:00
rosenfield.albert
19e7043a0a
Attempt to fix issue #845 .
2008-11-10 23:07:55 +00:00
rosenfield.albert
59bb5e45b8
Silence unhelpful 'Check what must be adapted' (?) messages from SynEdit developers to SynEdit developers.
2008-10-19 22:45:23 +00:00
Ansgar Becker
07cb5549e9
Remove a remainder of pre Delphi 11 support
2008-10-18 16:56:21 +00:00
Ansgar Becker
e7874bc4b7
Update UniSynEdit to latest version from October 3, 2008 (no repository available unfortunately)
...
* Merge with heidi related changes (basically only SingleLineMode)
* Readd missing file changelog.htm to keep that file list consistent with the downloaded one
* Merge our own compiler detection again
* Disable including a further compiler includefile jedi.inc
2008-10-18 13:09:16 +00:00
Ansgar Becker
a70a0f5bd8
Fix compiler error by accidently deleted line in previous commit.
2008-10-17 00:09:00 +00:00
Ansgar Becker
a591edebac
Fix bug #714 : Impossible to change limit^H^H^H^H^H^H sort order by implementing a fourth button with dropdown menu, enabling the user to save all query elements in one settings.
2008-10-16 23:49:17 +00:00
Ansgar Becker
4cf1864921
Enable customizing SQL colors for identifiers, delimited identifiers, conditional comments and symbols.
2008-10-08 19:12:20 +00:00
rosenfield.albert
c8991495a7
Workaround: reclaim used memory when TVirtualTree crashes in allocation of child nodes. The correct fix would be to postpone creation of child nodes until they are actually needed (dynamic allocation), but I'm not in a mood to learn how TVirtualTree internals work and Mike didn't seem too eager to produce a fix, so this is it for now. Fixes issue #761 .
2008-10-08 17:56:24 +00:00
rosenfield.albert
9b4588912c
Uniform project settings for a brighter tomorrow.
2008-10-08 17:33:39 +00:00
Ansgar Becker
c87d75efae
Implement a simple crash indicator for SELECTing a table's data. This boolean registry value is always set directly before executing the relevant GetResults(). If the query succeeds, the indicator gets just removed directly after that GetResults(). If the table loads for a longer time and the user exits HeidiSQL by killing the process, the indicator is still present and will be used to automatically disable filtering and sorting when that table is loaded again. Helps with issue #714 . See also http://www.heidisql.com/forum/viewtopic.php?p=2638 for a user report which this fix is addressing.
2008-09-28 22:29:08 +00:00
Ansgar Becker
d32d2e8661
Remove ToolbarTable completely from the main tool strip. Seemed worthless in terms of that I think all users rather use the context menu buttons instead of those on the toolbar which are far at the right top (= out of sight). Helps issue #738 a bit.
2008-09-25 22:20:11 +00:00
Ansgar Becker
fd9c44b576
Implement background colors for NULL fields, part 2 of rfe #692
2008-09-23 23:20:20 +00:00
Ansgar Becker
0ef84eb62f
Implement preference options to enable/disable the new SET editor, plus color selection for the grid font in SET fields.
2008-09-23 22:33:06 +00:00
Ansgar Becker
d2f354275b
Fix name, default value and meaning of preference option "Maximum column width". By default it's 300 now.
2008-09-11 22:44:28 +00:00
Ansgar Becker
abea900229
Make NULL fields in grids significantly brighter, they tend to be not distinguishable from the non NULL fields.
2008-09-09 21:42:24 +00:00
Ansgar Becker
d819dfe8cd
Enhancement: Make it optional to display the tables/db sizes in the tree. Rightclick -> "Display sizes"
2008-09-07 20:29:18 +00:00
Ansgar Becker
efbadf5b58
Fulfill rfe #692 "Add color-coding settings to data-appearance tab in preferences". Including new default color for ENUM fields and settings to enable/disable the grid editors.
2008-09-07 15:13:24 +00:00
Ansgar Becker
82740972fe
Rounding for copy tabe dialog:
...
- Fix cut labels using Vista font
- Fix wording in several places
- Normalize positions of controls, use default 8px margin to form edges
- Put a "Select / deselect all" checkbox below the field selection box
- Move registry related constants to const.inc and normalize their names
2008-09-06 19:19:07 +00:00
rosenfield.albert
63c7ce508c
Missing file from last commit.
2008-09-04 13:09:54 +00:00
rosenfield.albert
1defb9eaa6
* Bugfix: default enclose/separate for CSV should be " and ;. Takes care of export part of issue #709 .
...
* Indicate in CSV files which rows need to be UNHEX()ed with LOAD DATA INFILE during import. Takes care of export part of issue #709 .
* Optimization: stop copying records and arrays to stack where appropriate. See also note in helpers.pas.
* Factor out code to extract a cell in it's full width into EnsureFullWidth().
* Create method DiscardData() to release memory for a row.
* Bugfix: GridTo{Xml,Csv,Html} did not export cells in their full widths; they do now. Fixes remainder of issue #685 .
* Bugfix: remove superfluous field separator at end of each CSV record.
* Bugfix: CSV field enclose characters within field data must be escaped by printing the enclose character twice, as per de-facto (is it a standard when there are hundreds of applications supporting it, but *all* the major ones all come from the same company?..) CSV.
* Indicate in CSV files which cells are NULL by removing field enclosing (non-standard MySQL CSV extension).
* Indicate in XML files which cells are null and which cells are in hexadecimal format.
* Bugfix: always escape <, &, > in HTML and XML files.
2008-09-03 21:53:45 +00:00
Ansgar Becker
f719d4f6ee
Remove no longer used TExportSaveDialog from HeidiComponents package.
...
Todo: Probably the remaining code could also live in helpers or so to get rid of that whole package.
2008-09-02 20:11:33 +00:00
rosenfield.albert
58ae3e8d74
Fix what seems like a nasty bug (FBlobData possibly assigned with invalid pointer, later to be freed) and remove some superfluous code.
2008-09-02 20:04:26 +00:00
rosenfield.albert
d60b1b6f93
Rename 'memoeditor' to 'texteditor', in preparation for inclusion of a binary editor.
2008-09-01 19:47:05 +00:00
Ansgar Becker
007798c10a
Update VirtualTreeview component to 4.7.0, released on Aug 24, 2008.
2008-08-27 15:28:43 +00:00
Ansgar Becker
8367deb592
Fix bug #613 Target database not remembered in Export window
2008-08-26 19:38:49 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
6d27b71578
Hopefully fix bug #684 . To be tested...
...
Caused by: SELECT @found_rows fired by Zeos internally without having this variable set previously. (I wonder why this only happened in certain situations)
Solution: Remove SQL_CALC_FOUND_ROWS stuff completely as we don't need it anymore having EnsureDataLoaded().
2008-08-15 18:32:54 +00:00
Francisco Ernesto Teixeira
d0086ea2dc
Added missing reference of TNT Component on Search Path of VirtualTreeview Component.
2008-08-15 03:49:18 +00:00
rosenfield.albert
2f09520063
Get rid of annoying warnings, leaving a pointer in the source to the relevant calls.
2008-08-14 21:08:00 +00:00
rosenfield.albert
e27b9e0fab
Remove EDBImage.
2008-08-14 20:38:18 +00:00
rosenfield.albert
4538669342
Workaround: for certain mysqld versions, for all SHOW queries, decode data as "utf8" instead when the server says data is "binary". Hopefully fixes issue #671 , at least for those people that have database and table names in plain English.
2008-08-14 18:20:50 +00:00
rosenfield.albert
6e4cb43813
* Experimental: adjust row limit by dragging the data grid scrollbar instead of manually entering numbers in the toolbar.
...
* Experimental: fetch only first 256 bytes of large fields when loading rows into the data grid.
* Fixes rfe #362 , rfe #459 , rfe #475 and rfe #621 .
2008-08-12 02:06:22 +00:00
rosenfield.albert
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
rosenfield.albert
d51bf06b79
Bugfix: (regression) recognize text columns properly when connected to an old server version.
2008-08-11 14:29:50 +00:00
Ansgar Becker
01de625adc
Acticate TNT support in VirtualTree package which magically enables Unicode in the built in inplace editor of ListTables, ListColumns etc. Unicode table names can now be renamed safely.
...
(VT now needs to be build after TNT has been built (see changes in the superpackage) otherwise we would get AVs in the IDE.)
2008-08-10 22:51:25 +00:00
rosenfield.albert
2b6519baf6
Workaround: ftBytes causes breakage in Delphi Variant handling code. Could not find a bug in Zeos, so decided to just avoid using it.
2008-08-08 13:40:22 +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
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
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
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
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
0c81870436
Added the missing LIBSUFFIX for Delphi 11 packages of PNG Component.
2008-07-09 02:04:05 +00:00