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