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