2421c615c5
Remove crap, accidentally included in previous commit.
2009-08-10 20:23:37 +00:00
9f0c70a866
Don't try to, just do it.
2009-08-10 20:21:20 +00:00
da1e2e5892
Avoid implicit firing component state updates when loading session parameters
2009-08-10 17:37:59 +00:00
2216c630ce
Try to fix a sporadic DateTime conversion error, showing up after locale settings have been touched.
2009-08-10 16:59:58 +00:00
4ff1acf408
Refactor session manager:
...
* Replace the pulldown by a list to get a better overview
* Display last connected and created date in details
* Prompt user on form closing if modifications should be saved
* Remove moreorless useless image
* Remove options "timeout" and "sort database"
TODO: Display some help text on the right side when no session at all is existant to help new users.
2009-08-09 23:57:52 +00:00
0e341f19cb
Implement connecting via named pipe. Code contributed by gabylastar, minor modifications by me. Fixes issue #520 .
2009-08-08 19:06:41 +00:00
62dbda76ff
SQL completion proposal: Be more exact when detecting the current query and its table aliases, don't mix that up with a potential following or preceding query. See also http://www.heidisql.com/forum/viewtopic.php?p=3419
2009-08-07 16:41:40 +00:00
386187b99d
Also stop at comma and parenthesis in detection of previous token. Fixes issue #1242
2009-08-05 19:26:30 +00:00
08fcaa813b
Enable missing auto completion popup on new query tabs
2009-08-05 19:09:19 +00:00
a4f2e2aee8
Ignore a dangerous shortcut pressing when neither DBTree nor ListTables has focus. Fixes issue #1284
2009-08-05 19:01:30 +00:00
d9c317277d
Prefer an image over a text character on the tab close buttons - the character was nice but displayed differently in Bulgaria. Fixes issue #1283
2009-08-05 18:47:49 +00:00
f21a81e057
Fix fallback to default collation when that is missing in a SHOW CREATE DATABASE result. Fixes issue #1246
2009-08-05 17:51:30 +00:00
16e84c282c
Add some safer logic to find out if a given tab is a query tab
2009-08-04 19:29:16 +00:00
a965b30441
Add a button right beside the last query tab which can open a new query tab, so it's more clear that we have multi tabs now.
2009-08-04 19:19:24 +00:00
36e9dabd15
Repair position of tab close buttons when tabs reveal or change their caption length.
2009-08-03 23:22:31 +00:00
7e9fcc6586
Implement multiple query tabs. Fixes issue #443 .
2009-08-03 23:16:16 +00:00
2e7022a945
Bold font for primary key columns in table editor. Icons for all key columns, similar to earlier versions of ListColumns on mainform. Feels very useful for a quick look when the index editor is mostly not active.
2009-07-29 20:50:41 +00:00
0e15201c71
Again, found a table with ON UPDATE CURRENT_TIMESTAMP clause which was not correctly detected. Fix case sensitiveness.
2009-07-27 22:38:07 +00:00
b0595a7cd7
White background for column default editor - fits better into grid editing stuff as the tree also has white background. Forms with gray background appear like a foreign object here.
2009-07-27 22:33:25 +00:00
be834ab34a
Fix detection logic in table editor for columns which allow NULL. Fixes issue #1270 .
2009-07-27 22:15:57 +00:00
c15654aacb
Do not eat last char of data type, using .+ in regular expression. Fixes issue #1260 .
2009-07-27 20:10:05 +00:00
7a91fa36f6
Move auto refresh main menu items to a dropdown menu on main refresh button.
2009-07-27 18:53:51 +00:00
4d9d5a1ff7
Enable multi row selection in table editor's column list. Relevant functions adjusted:
...
* Add to index
* Create index
* Remove Column(s) (=> makes the "Clear columns" button superfluous)
2009-07-26 19:45:02 +00:00
00cbfa7a08
Apply correct background color to grideditors (inplace + datetime), for cases where columns are sorted and have a gray background.
2009-07-26 08:45:21 +00:00
d3b1cf80c9
End possible opened grid editor when tab focus changes, which unfortunately doesn't fire the OnExit event into the editor. Fixes issue #1273
2009-07-25 21:28:39 +00:00
e0761cedd9
Extend context menu of columns list in table editor with auto index creation/addition. Fixes issue #1269 .
2009-07-25 19:35:09 +00:00
3ffeb708c1
Disable hottracking in non-Vista mode, looks ugly in XP but nice in Vista. Fixes issue #1263 .
2009-07-25 12:40:25 +00:00
6d338d515f
Avoid flicker when any grid editor starts. This time, call Repaint before sending WM_SETREDRAW to avoid graphical glitches.
2009-07-25 09:49:19 +00:00
af72ec197d
Enhance r2530, immediate grid editing: Do not start editing if mouse click was outside any cell.
2009-07-25 09:20:12 +00:00
ea45014129
Experimental: Start editing by mouseclick into datagrid.
2009-07-24 06:25:08 +00:00
df9e9150b4
Now that all grid editors use MainForm instead of DataGrid as parent control, there is no need to leave extra space at the bottom of the tree to ensure larger editors keep visible.
2009-07-24 06:23:39 +00:00
6c0f5c9e9e
Use preferred color in SET grid editor
2009-07-23 21:20:33 +00:00
c7da465f11
Do not use blended datatype colors for displaying a NULL default value in the table editor, instead use clGray. Seems to steel attention when everything's too much colored.
2009-07-23 21:08:04 +00:00
33937818a2
Default value editor: Set focus on checked radiobox to ensure the OnExit event can be fired and close the editor
2009-07-23 21:01:58 +00:00
97839a0409
Prefer our own inplace editor for editing column names, length and other properties in the table editor. Fixes issue #1253
2009-07-22 20:23:31 +00:00
a6e0bb6dc8
Fix issue #1270 , Table editor detects DEFAULT 'xyz' as DEFAULT NULL if table has collation
2009-07-22 20:18:41 +00:00
0c3bc34802
Fix issue #1265
2009-07-22 05:50:07 +00:00
c0f445185d
Fix issue #1239 : table copy from context menu copies wrong table
2009-07-21 06:10:18 +00:00
cd1000c601
The popup text editor is only called within the InplaceEditor. So it doesn't seem to have some advantage any longer to have an abstract base class for the memo and binary editor.
2009-07-21 06:03:30 +00:00
6e979b1706
Remove no longer used variable.
2009-07-21 06:00:29 +00:00
d37c7b9dc9
Fix non responding up and down arrows in date time cell editor when cursor is positioned right besides last segment.
2009-07-21 05:59:34 +00:00
886f67cb62
Refactor grid editors unit: Implement a base class with all stuff which was implemented redundant previously and let all other editors descend from this class. Saves ~300 lines of code and makes implementing new editors easier.
...
Additionally this implements tabbing through edited fields for all grid editors. And it fixes issue #1266 , issue #1267 , issue #1253 , issue #1178 , issue #1155 , issue #825 and issue #566 .
2009-07-20 23:07:28 +00:00
21b60479f6
Allow arrow up and down in the new data type selector, and enable incremental searching. MouseClick or Enter applies the value now.
2009-07-09 21:01:20 +00:00
0cc1172ad1
Fix hint height calculation in data type selector. Should fix issue #1252 .
2009-07-08 21:23:00 +00:00
2a619ab46b
Cancel editing in data selector when editor is unfocused (fixes issue #1251 )
2009-07-08 20:52:50 +00:00
ce42e054ff
Minimize the borders of the new data type selector, they should not be too thick for an inplace editor. (Only applies for Windows XP without theming)
2009-07-08 20:48:17 +00:00
a1ab1d8a9a
Data type selector: Do not set tree width to the parent column's width, which is mostly too small. Rather do an autofit on the first column so it's as wide as the text needs space.
2009-07-08 20:11:01 +00:00
c2221ae50f
Rename 'Text' to 'Custom' to make it clear that integers are entered here too.
...
See also http://www.heidisql.com/forum/viewtopic.php?t=960
2009-07-08 13:31:04 +00:00
e2b252a906
Implement a new datatype selector for the table editor, including groups, datatype colors and help hints. Fixes issue #1214 and issue #1165 .
2009-07-07 23:31:16 +00:00
6e28b38208
Fix issue #889 : Using TAB in edit-mode fails after focus on DATETIME field
2009-06-29 06:05:10 +00:00