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