1 2009-10-05 Alan McGovern <amcgovern@novell.com>
3 * Popup.cs: Store the starting_generation and only_unemitted
4 flags on the EmitContext so that the values are used when we
5 call DoEmitCurrentContext from managed code. r: toshok
7 2009-09-28 Alan McGovern <amcgovern@novell.com>
9 * Selector.cs: ComboBox.ItemContainerStyle and
10 ListBox.ItemContainerStyle both should update the container
11 item Style value when they change. r: spouliot
13 2009-09-23 Chris Toshok <toshok@ximian.com>
15 * Popup.cs: simplify this a bunch. remove autogenerated events,
16 and use a similar pattern as Events.cs for the OnOpened handler,
17 which we register with the new Events.AddOnEventHandler method.
19 NativeMethods.event_object_do_emit_current_context from that
24 2009-09-17 Jeffrey Stedfast <fejj@novell.com>
26 * Popup.cs: Removed unused variable.
30 2009-09-10 Jackson Harper <jackson@ximian.com>
32 * Selector.cs: Add the SetAttributeDelayed attribute to the
33 selected index property. This allows you to add children to a
34 selector and set its initial selected index in xaml.
38 2009-09-04 Alan McGovern <amcgovern@novell.com>
40 * Selector.cs: If a ListBoxItem with IsSelected = true is
41 added to a Selector, that value is respected and
42 SelectedItem/Index is updated. r: sde
44 2009-09-03 Alan McGovern <amcgovern@novell.com>
46 * Selector.cs: Remove code duplication - DisplayMemberPath
47 handling should only exist in ItemsControl. This fixes
48 DisplayMemberPath handling for ListBox too. r: sde
50 2009-09-02 Alan McGovern <amcgovern@novell.com>
52 * Selector.cs: Only clear the selected item if its visual
53 container exists. If the visual container does *not* exist
54 then the container is just being created as part of
55 PrepareContainerForItemOverride in ComboBox so we can get
56 the correct ItemTemplate. r: toshok
58 2009-08-28 Alan McGovern <amcgovern@novell.com>
60 * Popup.cs: Need to null check the catcher when trying to
61 update it. r: spouliot.
63 2009-08-28 Alan McGovern <amcgovern@novell.com>
65 * Popup.cs: Updating the catcher from the LayoutUpdated event
66 leads to an infinite loop. Just update it when it's opened.
69 2009-08-26 Alan McGovern <amcgovern@novell.com>
71 * Selector.cs: ComboBox and ListBox should behave the exact
72 same way when a ListBoxItem is clicked, so share the
73 implementation. r: jackson
75 2009-08-26 Alan McGovern <amcgovern@novell.com>
77 * Selector.cs: ComboBox.IsSelectionActiveProperty and
78 ListBox.IsSelectionActiveProperty are the same DP reference,
79 so declare it on Selector and expose it in the subclasses.
80 Cleanup usage of this property aswell. r: spouliot
82 2009-08-25 Alan McGovern <amcgovern@novell.com>
84 * Selector.cs: When an item is selected before the container
85 item has been created, we need to set the 'IsSelected' flag
86 on the container when it loads. Fixes the initial selection
87 for both ComboBox and ListBox. r: jackson
89 2009-07-27 Larry Ewing <lewing@novell.com>
91 * Popup.cs: handle a possible source of errors.
93 2009-07-26 Larry Ewing <lewing@novell.com>
95 * Popup.cs: Add some logic to update the catcher position on
98 2009-07-26 Larry Ewing <lewing@novell.com>
100 * Popup.cs: add another hack on top of the click catcher hack. Is
101 this really how it is supposed to work.
103 2009-06-26 Alan McGovern <amcgovern@novell.com>
105 * Selector.cs: Fix some ListBox focus/selection related bugs.
106 Move ComboBox.OnSelectedItemChanged and
107 ListBox.OnSelectedItemChanged to Selector as they have
108 indentical codepaths after the last refactorings.
110 2009-06-25 Alan McGovern <amcgovern@novell.com>
112 * Selector.cs: When clearing the container, set the selected
113 item to null if that item used to be selected.
115 2009-06-25 Alan McGovern <amcgovern@novell.com>
117 * Selector.cs: Move the handling of the ScrollViewer template
118 element and default values of ScrollbarVisibility to the
119 Selector class so it can be shared between ComboBox and
120 ListBox. Fix some default value issues too.
122 2009-06-25 Alan McGovern <amcgovern@novell.com>
124 * Selector.cs: cleanup - make 'changing' a property.
126 2009-06-24 Alan McGovern <amcgovern@novell.com>
128 * Selector.cs: Add another method to selector to allow
129 subclasses to easily set the IsSelected property when the
130 SelectedItem changes.
132 2009-06-24 Alan McGovern <amcgovern@novell.com>
134 * Selector.cs: The only way to get the initial focus correct
135 for the drop down list in ComboBox is if it receives
136 notification of when its ComboBoxItems are loaded.
138 2009-06-11 Alan McGovern <amcgovern@novell.com>
140 * Popup.cs: Make Popup.[Opened|Closed] asynchronous.
142 2009-06-02 Chris Toshok <toshok@ximian.com>
144 * LayoutInformation.cs (GetRawLayoutData): the MS test harness
145 actually calls this undocumented private method... stub it out so
146 that the test doesn't time out.
148 2009-05-25 Alan McGovern <amcgovern@novell.com>
150 * Selector.cs: SelectedItem is non-parenting, so it's
153 2009-05-22 Alan McGovern <amcgovern@novell.com>
155 * Selector.cs: Use DependencyProperty.RegisterCore for
158 2009-05-21 Alan McGovern <amcgovern@novell.com>
160 * Selector.cs: SelectedIndex is actually updated on the
161 virtual OnItemsChanged method, not in InvokeItemsChanged.
163 2009-05-21 Alan McGovern <amcgovern@novell.com>
165 * Selector.cs: SelectedItemProperty is non-parenting.
167 2009-05-20 Alan McGovern <amcgovern@novell.com>
169 * Selector.cs: Ensure that SelectedIndex and SelectedItem
170 are kept in sync. It is possible for Selected* to become
171 out of sync with the actual value they should have, but
172 this matches MS behaviour.
174 2009-05-20 Alan McGovern <amcgovern@novell.com>
176 * Selector.cs: OnItemsChanged is raised in ItemsControl,
179 2009-05-01 Alan McGovern <amcgovern@novell.com>
181 * Selector.cs: When raising the SelectionChanged event, we
182 need to always pass the old/new selected *item*, not the
185 2009-04-23 Alan McGovern <amcgovern@novell.com>
187 * Popup.cs: Allow popups to use a transparent canvas to catch
188 clicks outside of the popup area. ComboBox uses this to
191 2009-04-23 Alan McGovern <amcgovern@novell.com>
193 * Selector.cs: Move the Notify* methods into Selector as both
194 Listbox and ComboBox require the same API.
196 2009-04-17 Alan McGovern <amcgovern@novell.com>
198 * Selector.cs: Make IsSelectionActive work. Also make showing
199 the popup work. Currently no items are being displayed in
200 the popup as the ItemsPresenter is never getting loaded.
202 2009-04-17 Alan McGovern <amcgovern@novell.com>
204 * Popup.cs: Correctly mark Popup.Child as its Content
207 2009-04-16 Alan McGovern <amcgovern@novell.com>
209 * Selector.cs: Implement ClearContainerForItemOverride and fix
210 some more virtual -> override issues.
212 2009-04-16 Alan McGovern <amcgovern@novell.com>
214 * Selector.cs: Nothing appears to make
215 Selector.GetIsSelectionActive return true. The documentation
216 offers no hints either.
218 2009-04-16 Alan McGovern <amcgovern@novell.com>
220 * Selector.cs: Route the collection changed event through the
221 Selector, fixes three tests.
223 2009-04-15 Alan McGovern <amcgovern@novell.com>
225 * Selector.cs: If the new value is null, Selector should not
226 revert to the old value.
228 2009-04-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
230 * ScrollEventHandler.cs: Delete files we got from MS' controls
231 drop, and update project file to compile.
233 2009-04-02 Alan McGovern <amcgovern@novell.com>
235 * Popup.cs: Popups are treated as top level elements which are
236 rendered on top of all other elements. To handle this a list
237 of all toplevel elements (layers) is kept in the surface.
238 Mouse events are captured within a toplevel element and not
239 visible to other toplevel elements.
241 2009-03-06 Andreia Gaita <avidigal@novell.com>
243 * Popup.cs: Switch to using ObjectFromIntPtr to lookup objects.
245 2009-02-26 Chris Toshok <toshok@ximian.com>
247 * Selector.cs (SelectedIndexProperty): the default of this is -1.
249 2009-02-04 Chris Toshok <toshok@ximian.com>
251 * Selector.cs: add a couple of missing methods, and stop with the
252 local caching of DP values.
254 2009-01-21 Alan McGovern <amcgovern@novell.com>
256 * Popup.cs: Should be sending the native handle, the surface is
257 automagically taken care of.
259 2009-01-20 Sebastien Pouliot <sebastien@ximian.com>
261 * Popup.cs: Fix build
263 2009-01-20 Alan McGovern <amcgovern@novell.com>
265 * Popup.cs: When IsOpen is changed, we need to fire either Opened or
268 2009-01-19 Alan McGovern <amcgovern@novell.com>
270 * Popup.cs: Create an unmanaged peer for the Popup class
272 2009-01-16 Alan McGovern <amcgovern@novell.com>
274 * Selector.cs: Simplified the caching implementation.
276 2009-01-16 Alan McGovern <amcgovern@novell.com>
278 * Selector.cs: Attempt to match the MS caching mechanism for
279 SelectedItem and SelectedValue
281 2009-01-16 Alan McGovern <amcgovern@novell.com>
283 * Selector.cs: When changing the SelectedItem, the SelectedIndex changes
284 automatically. Only one SelectionChanged event is fired. Similarly
285 for when SelectedIndex changes.
287 2009-01-15 Alan McGovern <amcgovern@novell.com>
289 * Selector.cs: SelectionChanged is now fired when either the Index or
290 SelectedObject is changed
292 2009-01-15 Alan McGovern <amcgovern@novell.com>
294 * Selector.cs: Begin implementing ComboBox. First 3 tests now pass.
296 2009-01-13 Sebastien Pouliot <sebastien@ximian.com>
298 * IScrollInfo.cs: Internal interface to mimic WPF. This is needed
299 for API compatibility with ScrollContentPresenter (gui-compare)
301 2009-01-09 Sebastien Pouliot <sebastien@ximian.com>
303 * Selector.cs: Add internal ctor and GetIsSelectionActive
305 2008-12-19 Rolf Bjarne Kvinge <RKvinge@novell.com>
307 * Selector.cs: More bits.
309 2008-08-10 Chris Toshok <toshok@ximian.com>
311 * System.Windows.Controls.Primitives/Popup.cs: stub this class