85a00cca2d
Fix bug #778 you will be asked twice if you want to apply the modifications in the editor window after ESC pressed. The editor dialogs are modal now which fixes a certain part of this issue and makes the code paths less complex.
2008-10-03 09:08:26 +00:00
798356e065
Fix bug #774 : Problems after not saving or cancelling a textfield (or binary field). Solution: Detect any focus steeling and automatically invoke the cancel action.
2008-10-01 20:24:55 +00:00
b2f2fd20b8
Follow up to r1830: Use FillAvailColumns in all places where that's applicable.
2008-10-01 05:51:04 +00:00
7007094204
Fix bug #771 : Index editor - available columns in bad order after dropping one or more of the used columns
2008-09-30 18:27:06 +00:00
d61070ef23
Fix bug #773 : Renamed column + column selection breaks grid editing
2008-09-30 17:18:20 +00:00
31ab8481aa
Fix bug #772 : cannot change value after set NULL
2008-09-30 16:56:12 +00:00
af6948f706
Fix annoyances in the filter memo:
...
* Do not steel focus if a filter is actice and F5 was pressed to refresh the grid
* Do not update memoFilter if a filter was not changed. Avoids the cursor to be moved to the left top.
* Add undo break before each automatic change, so these changes can be undone via Ctrl+Z
2008-09-30 16:52:54 +00:00
8abfbe5d47
Remove the margin indicator in the SQL log.
2008-09-29 16:34:56 +00:00
9f4a88e521
Fix bug #770 Data table don't is updated on edit, only on refresh
2008-09-28 23:16:41 +00:00
bd3143baa3
Fix bug #769 : Query columns don't clear on update
2008-09-28 22:41:08 +00:00
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
47e5888547
Fix bug #759 : wrong context-sensitive help
2008-09-26 17:01:32 +00:00
ff2a5522e7
Fix bug #160 : interface allows selecting autoinc without index or key. Not the neatest solution as the PK checkbox could be unchecked again if AI is unchecked but that didn't seem worth the hacks that would need. The table creation dialog should be reinvented some day.
2008-09-25 23:06:34 +00:00
609fcedcb2
Fix double masked tablenames in completion proposal, when finding column names after having typed "sometable
." All we can do to fulfill rfe #639 "Back quote adding to tooltips fields that have spaces in them". The second suggestion was to display tables in the proposal after having typed "somet" [Ctrl+Space] . That *could* be done by adding the backtick to SynCompletionProposal1.EndOfTokenChr list of chars. But then again this would stop the first mentioned example from working (listing all column names after "
sometable`.") which has - I'd say - more weight.
2008-09-25 22:46:21 +00:00
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
61c7d3246d
Fix bug #757 error message when removing not-yet inserted row
2008-09-25 21:51:28 +00:00
1a71133625
Fix bug #758 Incorrect tab order in the "Update Field" dialog box
2008-09-25 21:26:25 +00:00
b15e0bf230
Fix reproducable part of issue #715 : After dropping a db and recreating one with the same name the old tables were listed.
2008-09-25 21:19:39 +00:00
fd9c44b576
Implement background colors for NULL fields, part 2 of rfe #692
2008-09-23 23:20:20 +00:00
fe3e8d7a25
Avoid full table loading via incremental search in datagrid, restrict that to already initialized (=loaded) rows.
2008-09-23 22:37:25 +00:00
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
df880e0a27
Implement SET editor, rfe #764
2008-09-23 22:04:35 +00:00
a13b26cca0
Fix bug #760 : Cannot drag column into query
2008-09-23 16:57:03 +00:00
6f8c67aff7
Make the memo for build infos slightly larger in updatecheck dialog. Put notes from more than only the last revision into it. By passing the revision with "?r=123" to the PHP file, it returns all notes from the current up to the used revision (but never more than 10, as TIniFile seems to have a small maximum line size of 2048 chars.
2008-09-21 22:59:09 +00:00
3694fcfe01
Fix bug #754 grid not refreshed correctly after modifiying a record value when filter condition set
2008-09-21 22:18:14 +00:00
b9724a5aaf
Fulfill rfe #750 : Field editor - allow non quoted literals for default value
2008-09-17 20:25:00 +00:00
159c175375
Add 5 pixels more margin to all 4 edges of the connection screen, hopefully makes it a bit more looking like the pretty startup screen and less like a normal dialog.
2008-09-17 19:21:16 +00:00
c880527ed8
Fix regression in previous revision: various code used an external variable that was moved to a place where setting it avoids race conditions.
2008-09-17 09:23:39 +00:00
9d2bb7697b
Follow-up to r1791: a few more markers.
2008-09-17 09:14:26 +00:00
6167bbfc5d
Follow-up to previous change: setting RootNodeCount on a TVirtualTree consumes a fair amount of memory, so include that in the relevant debug scope too.
2008-09-17 09:10:17 +00:00
88514afa0f
Add markers to help debug issue #691 .
...
To see them, run Sysinternals' DebugView (dbgview.exe) and filter by "mem: ".
2008-09-17 08:58:05 +00:00
cd7401d5af
Previous change done right. Or so I hope.
2008-09-17 08:32:47 +00:00
cf07b2f397
Bugfix: typo causes memory leak on form close.
2008-09-17 08:30:04 +00:00
02ae49f203
Fix bug #749 : size of tables truncated to unreadable in the tree
2008-09-16 20:29:15 +00:00
b6e243545d
Updatecheck: Fix displaying the correct filesize of a nightly build while downloading. Read it from the checkfile. The server doesn't include the filesize in the header any longer.
2008-09-13 19:02:19 +00:00
87619ed69e
Column width tweaking: Only memorize manually resized column sizes for the second refresh of a table, always do the auto calculation for non resized columns. Especially helpful when clicking a column for sorting, which then needs some extra space for the sort glyph.
2008-09-13 16:12:53 +00:00
fda3e0eb36
Enable printing grid content by using VirtualTree's Print method instead of a homebrown one. Optimizes various controls and code away from the printer dialog.
2008-09-13 10:30:00 +00:00
9b53c06018
Fix part 1 of bug #307 export to directory did not create files for each table if "Table structure" was unchecked. Instead the data was found in the header file afterwards.
2008-09-13 09:54:27 +00:00
7e6b2b407f
Fix bug #741 : Switching from host node to table node in tree should activate table tab, not database tab
2008-09-12 23:26:02 +00:00
1476547afc
Fix bug #735 invalid pointer operation, broken in r1766
2008-09-12 23:12:44 +00:00
09a42889b0
Fix bug #736 cannot drop a table when cursor is on top of the tree
2008-09-12 22:51:28 +00:00
1f194b4ba4
Tweaks for column width detection:
...
- Try to fix width for primary key columns which use bold font and need some more space then Canvas.TextWidth tells.
- Sort glyphs only belong to the header so add it early enough
- Minimize needed extra space, difference caused by using Tree.GetDisplayRect now
2008-09-12 22:36:23 +00:00
3805830818
Minor fixes for query grid filling:
...
- Optimize it using Begin/EndUpdate
- Unselect any nodes from previous result
- Reset view area to top left
2008-09-12 21:38:02 +00:00
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
ee2dc0b4b3
Adjust extra pixel addings to auto column width calculation. Seems necessairy on some machines (tested on w2k).
2008-09-11 22:33:46 +00:00
e5f42100ca
Do auto calculation of column widths also in the query results
2008-09-11 22:19:07 +00:00
d9ea3f3c9e
Implement auto calculation of optimal column width for DataGrid. Nothing stored in registry yet which is probably not really needed, if this automatism works fine enough. Fixes issue #732 .
2008-09-11 22:01:03 +00:00
1526f793ed
Don't ORDER BY xyz in SELECT COUNT(*) for datagrid preparation. Could possibly enhance performance on huge tables.
2008-09-09 23:27:51 +00:00
d93f3754f6
Fix bug #565 : Post pending UPDATE when switching tables in data tab . To be exact, there are two events which call actDataPostChanges now: 1. Switching to another table or refreshing the current one and 2. closing the whole form .
2008-09-09 22:59:25 +00:00
f1ff6e3eb6
Block the grid fields from getting NULLs via menuitem "Set NULL" or the mapped shortcut (Shift+Ctrl+N) if the table is also blocked for normal editing because of insufficient keys.
2008-09-09 21:54:29 +00:00