svn path=/trunk/mcs/; revision=104772
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms.CarbonInternal / ChangeLog
1 2008-05-10  Geoff Norton  <gnorton@novell.com>
2
3         * MouseHandler.cs: Fix the generation of msg.wParam for mouse up/down
4         events.  Fixes #368041
5
6 2008-05-10  Geoff Norton  <gnorton@novell.com>
7
8         * WindowHandler.cs: Send ENTER/EXITSIZEMOVE when doing minimize/maximize
9         events as well as resize events.  Fixes #346529
10
11 2008-05-10  Geoff Norton  <gnorton@novell.com>
12
13         * EventHandler.cs: Subscribe to Collapsed/Expanded.
14         * WindowHandler.cs: Send WINDOWPOSCHANGED with Collapsed/Expanded.  Fixes
15         #325122
16
17 2008-05-10  Geoff Norton  <gnorton@novell.com>
18
19         * MouseHandler.cs: For some reason carbon gives us kEventMouseDown
20         in the grow box, but not kEventMouseUp.  If a form has a managed resize
21         grow box under our unmanaged one, it can get confused into thinking the
22         mouse is permanantly down.  Lets just not report grow box events.
23         Fixes #381097
24
25 2008-05-10  Geoff Norton  <gnorton@novell.com>
26
27         * WindowHandler.cs: Properly raise inactiate/activate events
28         Partially fixes #386504
29
30 2008-04-11  Geoff Norton  <gnorton@novell.com>
31
32         * WindowHandler.cs: Move the caret back to the real screen position
33         after a window bounds is changed.
34
35 2008-04-11  Geoff Norton  <gnorton@novell.com>
36
37         * KeyboardHandler.cs: Fix keyboard support on little endian
38         architectures.
39
40 2008-03-21  Geoff Norton  <gnorton@novell.com>
41
42         * KeyboardHandler.cs: Fix mapping of Delete.
43
44 2008-02-26  Geoff Norton  <gnorton@novell.com>
45         
46         * WindowHandler.cs: Send WM_CLOSE instead of WM_DESTROY.  Fixes 
47         #364281
48
49 2008-02-14  Geoff Norton  <gnorton@novell.com>
50
51         * WindowHandler.cs: Ensure we send WM_ACTIVATE when we activate our
52         Form.  Fixes #360721
53
54 2008-02-04  Geoff Norton  <gnorton@novell.com>
55
56         * KeyboardHandler.cs: Filter the translate call.
57
58 2008-02-04  Geoff Norton  <gnorton@novell.com>
59
60         * KeyboardHandler.cs: Commit support for the last batch of keytypes
61         (F1-12; Fn+modifiers; etc).
62
63 2008-02-04  Geoff Norton  <gnorton@novell.com>
64
65         * KeyboardHandler.cs: lParam should be cleared in the broken menu 
66         filter case.
67
68 2008-02-04  Geoff Norton  <gnorton@novell.com>
69
70         * KeyboardHandler.cs: Control+key does not generate SYSKEY, it prevents
71         SYSKEY (ctrl+alt+foo).  Also implement broken menu keyup filtering.
72
73 2008-02-04  Geoff Norton  <gnorton@novell.com>
74
75         * KeyboardHandler.cs: Control+key generates SYSKEY/SYSCHAR as well
76         as Alt+key.
77
78 2008-02-04  Geoff Norton  <gnorton@novell.com>
79
80         * EventHandler.cs: Expose GetEventClass internally.  Subscribe to
81         the unicode text events.
82         * KeyboardHandler.cs: Commit the new keyboard handler.  We grab
83         the unicode characters provided by apple and push them thru a translation
84         table to generate windows style keyboard events.
85
86 2008-01-28  Geoff Norton  <gnorton@novell.com>
87
88         * EventHandler.cs: Subscribe ot ResizeBegin and ResizeEnd events.
89         * WindowHandler.cs: Send WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE
90
91 2008-01-23  Geoff Norton  <gnorton@novell.com>
92
93         * Cursor.cs: Expose the colors to avoid some warnings until we use them
94
95 2008-01-23  Geoff Norton  <gnorton@novell.com>
96
97         * MouseHandler.cs: Send HITTEST events.
98         * Cursor.cs: Initial support for Theme cursors.  Custom cursors not
99         quite yet.
100
101 2008-01-23  Geoff Norton  <gnorton@novell.com>
102
103         * ControlHandler.cs: Remove some dead code that was causing warnings.
104
105 2008-01-22  Geoff Norton  <gnorton@novell.com>
106         
107         * EventHandler.cs: Subscribe to the MouseWheel and MouseScroll events.
108         * MouseHandler.cs: Post MOUSEWHEEL events when scrolling with old
109         mice, and mighty mice, and two-finger scrolling.
110
111 2008-01-16  Geoff Norton  <gnorton@novell.com>
112
113         * ControlHandler.cs:  Flicker be gone!  Generate our messages in
114         AddExpose instead of trusting apples compositing manager which doesn't
115         work for our use case.
116
117 2008-01-16  Geoff Norton  <gnorton@novell.com>
118
119         * ControlHandler.cs:  Dont send another invalidate when carbon
120         already knows that the control is dirty.
121
122 2008-01-16  Geoff Norton  <gnorton@novell.com>
123
124         * KeyboardHandler.cs: Track the control key(s) as well and put them
125         into KeyboardModifiers as toggled.
126         * MouseHandler.cs: Support simulating right click on single-button
127         mouse macintoshs with the standard Control+Click usage pattern.
128
129 2008-01-15  Geoff Norton  <gnorton@novell.com>
130
131         * ControlHandler.cs:  Only mark the dirty area as dirty when we are
132         told to expose by the subsystem.
133
134 2008-01-15  Geoff Norton  <gnorton@novell.com>
135
136         * MouseHandler.cs: Avoid a NRE if we dont know the window the event 
137         came in on.
138
139 2008-01-15  Geoff Norton  <gnorton@novell.com>
140
141         * ApplicationHandler.cs:  Fix the Grab declaration.
142         * MouseHandler.cs: Fix the grab declaration and a minor optimization.
143
144 2008-01-10  Geoff Norton  <gnorton@novell.com>
145
146         * ControlHAndler.cs:  Mark all dirty areas as dirty with the Hwnd system.
147
148 2008-01-10  Geoff Norton  <gnorton@novell.com>
149
150         * ControlHandler.cs:  Ensure we send controls a WM_WINDOWPOSCHANGED
151         when their bounds are changed by the carbon system.  Fixes initial sizing
152         of PDN DocumentWorkspace bug.
153
154 2008-01-09  Geoff Norton  <gnorton@novell.com>
155
156         * WindowHandler.cs:  Hide utility windows when the window is minimizing
157         or deactivating.  Show them when the window is restored.
158         * ApplicationHandler.cs: Hide the utility windows when the app
159         deactivates.  Restore them when we get focus back.
160
161 2008-01-04  Geoff Norton  <gnorton@novell.com>
162
163         * Enums.cs: Fix a typo
164         * MouseHandler.cs:  Send NC events in global coordinates.
165
166 2007-12-21  Geoff Norton  <gnorton@novell.com>
167
168         * Dnd.cs: Flush the message queue during drag callbacks.  This allows
169         queued paints to occur when we're dragging.
170
171 2007-12-21  Geoff Norton  <gnorton@novell.com>
172
173         * Dnd.cs: Add support for D&D of objects internally and serialized
174         objects across instances.
175
176 2007-12-21  Geoff Norton  <gnorton@novell.com>
177
178         * *Handler.cs: Update the ProcessEvent method to pass the callref
179         in as well.
180         * ControlHandler.cs: Direct the kEventControlDrag events to our
181         Dnd implementation.
182         * EventHandler.cs: Register kEventControlDrag event callbacks and 
183         HIObject subclassing callbacks.
184         * KeyboardHandler.cs: Keep some key modifiers in a Keys state.
185         * MouseHandler.cs: Dont prevent non-hwnd events from going to the next
186         Event handler.
187         * Dnd.cs: Initial D&D implementation.  Supports dragging internally
188         and from finder->mwf apps.
189         * Pasteboard.cs: Initial clipboard support.
190         * HIObjectHandler.cs: Subclass HIView and run our own specialized
191         native object constructor.  This is required for dnd.
192
193 2007-12-07  Geoff Norton  <gnorton@novell.com>
194
195         * ControlHandler.cs: Properly update our invalidated information when
196         Quartz asks us to redraw.  This helps fix TabControl but introduces
197         over-zealous drawing causing our flicker.  Implement visibility tracking
198         to generate out WM_SHOWWINDOW calls.  Refactor mouse tracking to live
199         entirely in MouseHandler.
200         * EventHandler.cs: Unregister some events we no longer handle.  Register
201         the new MouseEvents that we do handle.
202         * KeyboardHandler.cs: Implement some more key translations.
203         * MouseHandler.cs:  Handle all mouse events at the application level now
204         This allows us to paint while dragging the mouse, and handle double
205         click events properly.
206         * WindowHandler.cs: Properly generate WM_SHOWWINDOW messages when
207         our application window is exposed.
208
209 2007-11-21  Geoff Norton  <gnorton@novell.com>
210
211         * ControlHandler.cs: Allow custom HIView to get keyboard focus.
212         * Enums.cs: Remove some unused Enums.
213         * EventHandler.cs: Make controls listen to kEventControlGetFocusPart
214         * KeyboardHandler.cs: Get the focus control from Carbon before returning control from the function
215
216 2007-11-15  Geoff Norton  <gnorton@novell.com>
217
218         * EventHandler.cs: The new event handler dispatcher for the Carbon port.
219         Every event is dispatched thru this class and directed to the appropriate
220         event type handler.
221         * ApplicationHandler.cs: Handles the application level events AppActivated
222         and AppDeactivated.  We hook these to remove overlay windows when the application
223         looses focus.
224         * ControlHandler.cs: Handles the control level events Click, Track, Draw and BoundsChanged.
225         Translates these events to their WndProc equivalents and routes them to the appropriate
226         Control.
227         * KeyboardHandler.cs: Handles the keyboard level events KeyDown, KeyUp, KeyRepeat, KeyModifiersChanged
228         translated them to the WndProc message and routes it to the keyboard focus control.
229         * MouseHandler.cs: Handles the global mouse events and sends the appropriate WM_MOUSEMOVE to the 
230         control affected.
231         * WindowHandler.cs: Handles the window level events BoundsChanged and Close and resizes the Hwnds
232         or destroys them accordingly.
233         * EventHandlerBase.cs: Base class for all the EventHandlers.
234         * IEventHandler.cs: Interface declaring the methods needed for all EventHandlers.
235         * Enums.cs: Contains needed enums for the Carbon port.
236         * Structs.cs: Contains all the needed structs for the Carbon port.