02d29ea976
Implement a home brown find + replace dialog, supporting regular expressions, and using all stuff SynEdit gives us. Add main menu item "Search" next to "Edit". Fixes issue #1069 .
2010-02-01 23:55:44 +00:00
ec6f467a18
Don't use the calculated percentage of processed row count after exporting each table. Just display a hard coded "100%" so InnoDB tables display the right percentage (at least when table data is at eof). Fixes issue #1628 .
2010-01-30 18:00:01 +00:00
fda4aa631f
If the specified filename in SQL export dialog is empty, disable the execute button. If the file cannot be created for some reason, do not pop up a message dialog. Instead, log the error message into the result list. Fixes issue #1627 .
2010-01-30 17:50:26 +00:00
30e40ac897
Automatic dfm changes by IDE: Removed ComboBox.ItemHeight property and auto-adjusted dimensions of various buttons and other controls.
2010-01-30 08:15:31 +00:00
c5699171f9
Silence compiler warning
2010-01-30 08:05:25 +00:00
efbf7a0b98
Add a toolbar button which, when pressed, allows BLOBs to be displayed as text. Explicitly ignoring weird effects in grid updates/inserts. Fixes issue #1624 .
2010-01-30 07:57:07 +00:00
020bdd07f2
Suppress access violation caused by VCL bug. Fixes issue #1622 .
2010-01-29 20:38:04 +00:00
61a08ad653
Remove workaround from r2338 - no need to force the taskbar button active now that the "Retry connection" logic was removed. Could probably fix issue #1622 .
2010-01-27 23:59:54 +00:00
49b9d9014b
Minor code simplification, old TNT StringList workaround.
2010-01-27 23:45:55 +00:00
9f139029b7
Enhance command line processing:
...
* Rewrite parameter parser
* Remove support for "-C" option (compressed). Anyway switched on by default.
* Add support for loading multiple SQL files at once instead of only one: "fileA.sql fileB.sql ..."
* Also process connection parameters when "Allow multiple application instances" is disabled
* If a session name is specified with -dXYZ, load params from registry, but allow the user to override these by passing e.g. a different user name "-uOtherUser"
Fixes issue #1332 .
2010-01-27 23:39:34 +00:00
99a4580be0
Work around a possible timing issue, when the db tree is painted with more nodes than the database has objects. Guess that occurs on a reconnection. Fixes issue #1621 .
2010-01-26 20:00:13 +00:00
b0ccbaadbd
Minor code simplification
2010-01-24 15:15:46 +00:00
798cc36b99
Remove TMySQLConnection.Capabilities , which should have brought some light into the feature set of the server. Still doing that per version comparison which is nice enough.
2010-01-24 15:07:03 +00:00
5d7b25d7e9
Add preference option to restrict number of application instances to 1. If the executable is open and called a second time, it's brought to foreground. Plus, if a filename was passed, a new tab is opened. Should fix a part of what is described in issue #1332 .
2010-01-24 00:14:23 +00:00
f7ed772b29
Code cosmetic: Remove dead code, and bring some variables into the right order
2010-01-24 00:03:51 +00:00
97ce23ee1f
Add support for indexes using BTREE/RTREE/HASH algorithm. Make that visible in a new, 3rd column in the index tree. Fixes issue #1576 .
2010-01-22 10:21:27 +00:00
a5a1e138b8
Don't quote numeric values in grid export as SQL. See: http://www.heidisql.com/forum.php?t=4885
2010-01-22 08:54:25 +00:00
24e59b329b
SizeOf(AnsiStrings) returns 4, the size of a 32 bit pointer, not the number of bytes which one char takes. Fix that. Also, stabilize text copying to clipboard by just using Clipboard.AsText. Fixes issue #1614 .
2010-01-19 23:51:00 +00:00
1008dcf194
Convert MySQL date/time values more safely against 0-dates. Fixes issue #1613
2010-01-19 23:19:19 +00:00
b43b44ee5a
Columns of selected datagrid object can also come from a view, so ParseTableStructure is not sufficient in both data sorting and column selection forms. Instead, just use mainform's lists which are exactly what we need. Fixes issue #1611 .
2010-01-19 22:49:18 +00:00
9f3ad6640c
Wording: Users know the differences between INSERT/REPLACE/DELETE+INSERT . Say it more clearly in the selection box what gets generated.
2010-01-19 00:58:07 +00:00
4b91154d6e
Do not generate "_binary 0x" for empty blobs. Fixes issue #1610 .
2010-01-19 00:55:04 +00:00
b1a7e7780f
Add formatted HTML to clipboard for "Copy rows as HTML". Fixes issue #1249
2010-01-19 00:45:31 +00:00
a0a1ed24c2
If the first column with the number of the column has too less width, sometimes it's not clear that the user can resize it to show its whole text. This change adds an auto-resize mechanism, which is fired after any node structure was changed. Fixes issue #1609 .
2010-01-18 08:22:18 +00:00
a9e1f12096
Save a loop for finding the right tree node in topic browser, when the user already clicked the relevant item. Fixes wrong item selection when item text exists twice or more often (e.g. "SHOW PLUGINS") Fixes issue #1575 .
2010-01-17 16:52:43 +00:00
1f39e59940
Disable non working column default values for given data type. Fixes issue #1519 .
2010-01-17 16:12:35 +00:00
c85ed71ba0
If user disables "Allow NULL" for some column which has NULL as default value, silently change that default value to "No default", instead of "Custom text". Additionally, this fixes the default text "NULL" as literal in such cases.
2010-01-17 15:23:11 +00:00
5890aad90f
Do not pass <Enter> key to parent grid, if radio button or checkbox on default editor is currently focused. Fixes issue #1605 .
2010-01-17 13:31:49 +00:00
0d8653db6a
Override VirtualTree's incremental search event, make it case insensitive, and apply that event in FixVT to various lists and grids, which have IncrementalSearch enabled. Fixes issue #1605 .
2010-01-17 10:50:47 +00:00
8ba9fb7b77
Allow space bar to modify checkbox columns "Allow NULL" and "Unsigned". Fixes issue #1605
2010-01-17 10:20:08 +00:00
5c29403c7b
Auto-fix user selected, non working default value/type when data type has changed. Fixes issue #1411 .
2010-01-17 07:43:14 +00:00
ec1da49440
"Duplicate row" feature:
...
* Don't flag empty/non-NULL cells as modified.
* Ensure the right row data is referenced, some operations seems to work on a copy of records, some on the original one.
2010-01-16 21:30:30 +00:00
c2857f438a
"Duplicate row" feature:
...
* Copy NULL flag from source row, not just the text "(NULL)". Fixes issue #1607
* Do not overtake values from an auto increment column. Fixes issue #1608
2010-01-16 17:46:11 +00:00
8b9c7da6fb
Do not hide focus rectangle in trees and grids. Can be useful to see which control has focus.
2010-01-16 15:58:47 +00:00
2e00bdf37d
Add SOME keyword to keyword highlighter. Fixes issue #1606
2010-01-16 14:42:18 +00:00
a3e5682316
Ignore stored ORDER columns for removed or renamed columns. Fixes issue #1594 .
2010-01-16 08:26:42 +00:00
4847e55bf0
Enhance query tabs:
...
* Code cosmetic: use generics to avoid type casting on QueryTabs items
* Warn when trying to save a query via "Save as" to a filename which is already open in another tab. Fixes issue #1591 .
* If the above warning is ignored and file gets saved, flag all other tabs with same filename as modified and display the asterisk on the tab
* Also flag as modified in "Save" action, without the warning popup.
2010-01-16 07:46:22 +00:00
43d98ec1be
Ensure full width of key column values in base SQL of data grid. Also, do not blow SELECT query with LEFT() unless the column has a larger length than 256. Fixes issue #1602 .
2010-01-15 21:20:42 +00:00
9080ad7607
No need to use the Wide* version of string functions any longer.
2010-01-15 20:28:48 +00:00
492f7d04eb
Fix injection of database name for direct SQL export to database. Also, do not surround procedure+function creation with DELIMITERs when exporting to database or server. See http://www.heidisql.com/forum.php?t=4803
2010-01-15 19:44:44 +00:00
d70ea85786
Ask user if in-memory modifications to table, view, trigger or routine should get saved, this time including a Cancel button, which cancels either
...
* focusing a different object in database tree and/or
* closing application
TODO: Internal switching to different connection probably needs that too?
2010-01-15 17:13:24 +00:00
52ea8f410a
Use Unicode enabled TStringList instead of TWideStringList in all places. Should have no visible effect, apart from a very minor performance optimization, as String reference pointers are handled by Delphi, WideString by Windows.
2010-01-14 19:41:58 +00:00
1731e61570
Convert remaining WideString constant to String
2010-01-14 18:25:32 +00:00
307bb8ca65
Fix sporadic AV which seems to follow after a reconnect with no db selected.
2010-01-14 18:23:17 +00:00
fcb62acc07
Enhance too bright NULL colors for grids. Fixes issue #1584 .
2010-01-13 22:44:00 +00:00
24b675cb25
Tweak message in status bar "db: xyz object(s)", add count for all different object types. Fixes issue #1596 .
2010-01-13 20:43:25 +00:00
473716c8b9
Refill data grid when pressing "Clear filter". Seems reasonable not only to clear the filter editor. Fixes issue #1598 .
2010-01-13 19:50:44 +00:00
b09e8a6816
Extend list of known MySQL keywords with those in http://dev.mysql.com/doc/refman/5.5/en/reserved-words.html , but not in our own list. Fixes issue #1600 .
2010-01-13 19:45:53 +00:00
81c13edbf0
Wording: use "object" instead of "table". Related to issue #1596 .
2010-01-13 06:56:50 +00:00
9b8fb4cc1f
Fix critical character in SQL on old servers which can be converted using the local codepage. Fixes issue #1569 .
2010-01-12 22:17:54 +00:00