1 2009-09-18 Jeffrey Stedfast <fejj@novell.com>
3 * ItemsControl.cs: Removed unused loaded variable.
5 * ComboBox.cs: Mark IsSelectionActiveProperty as 'new' to silence
6 compiler warnings. Removed unused function and member variable.
10 2009-09-17 Jeffrey Stedfast <fejj@novell.com>
12 * TextBox.cs: Override ArrangeOverride() and simply chain up.
16 2009-09-14 Chris Toshok <toshok@ximian.com>
18 * Image.cs (InvokeImageFailed): we need to create the
19 exceptionroutedeventargs from the calldata.
21 2009-09-11 Larry Ewing <lewing@novell.com>
23 * TextChangedEventArgs.cs:
25 * MultiScaleSubImage.cs: add missing seal to classes.
27 2009-09-08 Mario Carrion <mcarrion@novell.com>
29 * ComboBox.cs: Method overridden OnCreateAutomationPeer.
33 2009-09-03 Jeffrey Stedfast <fejj@novell.com>
35 * PasswordBox.cs: Override Control's Initialize() method.
37 * TextBox.cs: Override Control's Initialize() method.
39 * Control.cs: Virtualize the Initialize() method.
41 2009-09-03 Alan McGovern <amcgovern@novell.com>
43 * ComboBox.cs: ItemContainerStyle should only be copied to the
44 container if it is non-null and there is no existing style.
46 2009-09-03 Alan McGovern <amcgovern@novell.com>
48 * ComboBox.cs: Remove code duplication - DisplayMemberPath
49 handling should only exist in ItemsControl. This fixes
50 DisplayMemberPath handling for ListBox too. r: sde
52 2009-09-02 Alan McGovern <amcgovern@novell.com>
54 * ItemsControl.cs: Support for DisplayMemberPath should be
55 implemented by creating a DataTemplate which instantiates a
56 TextBlock with a {Binding} on it. This requires us to clear
57 the container *before* removing it from the panel. r: toshok
59 * ComboBox.cs: Add support for DisplayMemberPath r: toshok
61 2009-09-02 Alan McGovern <amcgovern@novell.com>
63 * ContentPresenter.cs: If ContentPresenter.Content is a
64 UIElement, we clear the value of the DataContext, otherwise
65 we copy the Content to it. r: jeff
67 2009-08-27 Jeffrey Stedfast <fejj@novell.com>
69 * TextBox.cs: Implement OnMouseLeftButtonDown/Up(), OnMouseMove()
70 and update OnGot/LostFocus() to call native methods.
72 * PasswordBox.cs: Same.
76 2009-08-27 Alan McGovern <amcgovern@novell.com>
78 * ComboBox.cs: Limit the dropdown height based on the
79 available height and update the MaxHeight of the ComboBox
80 dropdown when the available height changes. r: spouliot.
82 2009-08-27 Alan McGovern <amcgovern@novell.com>
84 * ComboBox.cs: 1) Only update the displayed item when the
86 2) Clicking on the ComboBox itself should toggle the dropdown
87 3) If nothing is selected we need to display the fallback item
88 in the content presenter (default specified in
89 generic.xaml). r: jackson
91 2009-08-27 Alan McGovern <amcgovern@novell.com>
94 * ComboBox.cs: revert my last commit, it was the wrong patch.
96 2009-08-26 Alan McGovern <amcgovern@novell.com>
99 * ItemsPresenter.cs: Allow FrameworkTemplates to be expanded
100 in managed code. Using that, expand the ItemsPanelTemplate
101 in ItemsControl when it is available. r: toshok
103 2009-08-26 Alan McGovern <amcgovern@novell.com>
105 * ComboBox.cs: ComboBox and ListBox should behave the exact
106 same way when a ListBoxItem is clicked, so share the
107 implementation. r: jackson
109 2009-08-26 Alan McGovern <amcgovern@novell.com>
111 * ComboBox.cs: ComboBox.IsSelectionActiveProperty and
112 ListBox.IsSelectionActiveProperty are the same DP reference,
113 so declare it on Selector and expose it in the subclasses.
114 Cleanup usage of this property aswell. r: spouliot
116 2009-08-25 Alan McGovern <amcgovern@novell.com>
118 * ComboBox.cs: When an item is selected before the container
119 item has been created, we need to set the 'IsSelected' flag
120 on the container when it loads. Fixes the initial selection
121 for both ComboBox and ListBox. r: jackson
123 2009-08-25 Alan McGovern <amcgovern@novell.com>
125 * ComboBox.cs: Rewrite the UpdateDisplayedItem method to fix
126 rendering issues when an item is selected before the drop
127 down list has been opened. Previously the selected item
128 would not appear in the ComboBox as the currently displayed
131 2009-08-24 Alan McGovern <amcgovern@novell.com>
133 * ComboBox.cs: 1) Update the DisplayedItem when the ComboBox
134 template has been applied.
135 2) Correctly update the SelectionBoxItem and
136 SelectionBoxItemTemplate variables aswell.
137 3) Ensure that the ItemTemplate applied to the selected
138 ComboBoxItem is propagated to
139 ContentPresenter.ContentTemplate
142 2009-08-15 Larry Ewing <lewing@novell.com>
144 * StackPanel.cs: pass availableSize to the limited
147 Fixes the text layout in Memoriabilia.
151 2009-08-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
153 * TextChangedEventArgs.cs:
155 * PasswordBox.cs: Updated according to API changes in RoutedEventArgs.
159 2009-08-14 Alan McGovern <amcgovern@novell.com>
161 * ContentPresenter.cs: Go back to the old method of populating
162 TextBlock.Text in the fallback display element in
163 ContentPresenter. We can't safely use the correct method (a
164 oneway binding) yet. r: lewing
166 2009-08-13 Larry Ewing <lewing@novell.com>
168 * StackPanel.cs: rework the framework constraints based on drt
171 2009-08-12 Alan McGovern <amcgovern@novell.com>
174 * ContentPresenter.cs: A ContentControl which has no Template
175 needs to call into managed land to create a 'default
176 template'. When the Content is a UIElement, the UIElement is
177 used as the template root, otherwise a Grid + TextBlock
178 (with Binding) is used. This is the same as what
179 ContentPresenter does to its Content property. r: toshok
181 2009-08-06 Jeffrey Stedfast <fejj@novell.com>
183 * PasswordBox.cs: Sync'd with TextBox.cs for OnKeyUp/Down and
186 2009-08-04 Alan McGovern <amcgovern@novell.com>
188 * ContentPresenter.cs: ContentPresenter.Content is copied to
189 the datacontext when it is Loaded.
191 2009-08-04 Alan McGovern <amcgovern@novell.com>
193 * ContentPresenter.cs: If ContentPresenter.Content was changed
194 from one primitive value to another primitive value (i.e.
195 non-UIElement) then the DataContext was not updated
196 correctly. The DataContext is now kept in sync with the
199 2009-07-29 Alan McGovern <amcgovern@novell.com>
202 * Control.cs: An extra RaiseKeyDown method is unnecessary -
203 remove it and use InvokeKeyDown properly.
205 2009-07-29 Alan McGovern <amcgovern@novell.com>
208 * Control.cs: 1) TextBox cannot hook into Key press events in
209 unmanaged code otherwise they never propagate to managed and
210 the user cannot intercept them. Instead of hooking to the
211 event in native code, just call native TextBox::OnKeyDown in
212 the managed override.
213 2) Key press events are actually handled in two different
214 places. 'Navigation' keypresses like Left/Right/PgUp are
215 handled when the textbox OnKeyDown virtual method is
216 invoked. 'Character' keypresses like 'a', 'b', 'c' are
217 handled after the KeyDown event is emitted
218 3) If a key press does not affect the textbox state (i.e.
219 pressing 'left' when the caret is already at the very left),
220 then the keypress is not handled.
221 4) The KeyDown event is emitted even if OnKeyDown is overriden
222 and the base method is not invoked.
223 5) The tab key should be interpreted as 'Focus next control'
224 only after the KeyDown event handlers have run and the key
225 press is not handled.
227 2009-07-28 Larry Ewing <lewing@novell.com>
229 * StackPanel.cs: remove uneeded alignment logic.
231 2009-07-26 Larry Ewing <lewing@novell.com>
233 * ComboBox.cs: set MaxHeight on the real child (hate this hack).
235 2009-07-26 Larry Ewing <lewing@novell.com>
237 * ComboBox.cs: use the new popup hack to handle the popup
238 positioning. Fixes DRT #556.
240 2009-07-23 Jeffrey Stedfast <fejj@novell.com>
242 * TextBox.cs (OnCursorPositionChanged): Added some special logic
243 for the case where the CursorHeight is greater than the
244 ViewportHeight. Fixes drt #317.
246 2009-07-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
248 * MediaElement.cs: Don't treat a native ErrorEventArgs as an
249 ExceptionRoutedEventArgs.
251 2009-07-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
253 * MediaElement.cs: Always provide a *RoutedEventArgs for events.
256 2009-07-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
258 * MediaElement.cs: InvokeMarkerReached: the calldata we
259 get is a pointer to a MarkerReachedEventArgs, not a TimelineMarker.
261 Fixes bug #523513 and MS DRT #540.
263 2009-07-21 Larry Ewing <lewing@novell.com>
265 * ComboBox.cs: start dealing with the popup placement.
267 2009-07-21 Alan McGovern <amcgovern@novell.com>
269 * ItemCollection.cs: In order to make ItemsControl function
270 correctly, it has to box all value types. This appears to
271 break nothing but feels like a bit of a hack. Without this,
272 selection is broken in itemscontrol for value types.
274 2009-07-16 Sebastien Pouliot <sebastien@ximian.com>
276 * SaveFileDialog.cs: Update for SL3 final API.
278 2009-07-13 Alan McGovern <amcgovern@novell.com>
280 * Control.cs: TabNavigation should activate if the control
281 does not handle the Tab key
283 2009-07-06 Alan McGovern <amcgovern@novell.com>
285 * ItemsControl.cs: ItemsControl should be setting both the
286 Parent and LogicalParent, otherwise DO names aren't
287 registered. Fixes drt 547.
289 2009-07-03 Stephane Delcroix <sdelcroix@novell.com>
291 * MultiScaleImage.cs: the generator can do this
293 2009-07-02 Stephane Delcroix <sdelcroix@novell.com>
295 * MultiScaleImage.cs: use SetValue instead of p/invoking native
298 2009-06-26 Chris Toshok <toshok@ximian.com>
300 * ColumnDefinition.cs: remove explicit property getter.
302 * RowDefinition.cs: remove explicit property getter.
304 2009-06-26 Alan McGovern <amcgovern@novell.com>
306 * ComboBox.cs: Switch ComboBox to use the DropDownToggle
307 template item as the trigger to open/close the popup.
309 2009-06-26 Alan McGovern <amcgovern@novell.com>
311 * ComboBox.cs: Fix some ListBox focus/selection related bugs.
312 Move ComboBox.OnSelectedItemChanged and
313 ListBox.OnSelectedItemChanged to Selector as they have
314 indentical codepaths after the last refactorings.
316 2009-06-26 Alan McGovern <amcgovern@novell.com>
318 * ItemsControl.cs: The items added to the contentpresenter are
319 constrained to be UIElements (FrameworkElements?), not
320 ListBoxItems. Therefore keep a dictionary in ItemsControl to
321 map containers to items so we can correctly call
322 ClearContainerForItemOverride when the item is removed.
324 2009-06-25 Alan McGovern <amcgovern@novell.com>
326 * ItemsControl.cs: Correctly handle the Reset and Replace
327 events by using AddItemsToPresenter and
328 RemoveItemsFromPresenter.
330 2009-06-25 Alan McGovern <amcgovern@novell.com>
332 * ComboBox.cs: Propagate MaxDropDownHeight to the popup child.
334 2009-06-25 Alan McGovern <amcgovern@novell.com>
336 * ComboBox.cs: Move the handling of the ScrollViewer template
337 element and default values of ScrollbarVisibility to the
338 Selector class so it can be shared between ComboBox and
339 ListBox. Fix some default value issues too.
341 2009-06-25 Alan McGovern <amcgovern@novell.com>
343 * ComboBox.cs: Handle IsDropDownOpenChanged in a non-virtual
346 2009-06-24 Alan McGovern <amcgovern@novell.com>
348 * ComboBox.cs: Add another method to selector to allow
349 subclasses to easily set the IsSelected property when the
350 SelectedItem changes.
352 2009-06-24 Alan McGovern <amcgovern@novell.com>
354 * ComboBox.cs: The only way to get the initial focus correct
355 for the drop down list in ComboBox is if it receives
356 notification of when its ComboBoxItems are loaded.
358 2009-06-24 Alan McGovern <amcgovern@novell.com>
360 * ComboBox.cs: Start implementing the required behaviour to
363 2009-06-19 Rolf Bjarne Kvinge <RKvinge@novell.com>
365 * MultiScaleImage.cs: Use correct event handler type to prevent
368 2009-06-10 Alan McGovern <amcgovern@novell.com>
370 * ItemsControl.cs: If the ItemsControl is populating from its
371 ItemsSource, we don't set the logical parent. Fixes drt 880.
373 2009-06-09 Alan McGovern <amcgovern@novell.com>
375 * ComboBox.cs: Implement IsSelectionBoxHighlighted and prevent
376 drt 555 from timing out.
378 2009-06-04 Alan McGovern <amcgovern@novell.com>
380 * Control.cs: Calling Focus () should result in a recursive Focus.
382 2009-06-03 Andreia Gaita <avidigal@novell.com>
384 * StackPanel.cs: (MeasureOverride) Children Measure should be called
385 with Infinity on width or height depending on the orientation
387 2009-05-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
390 * Image.cs: Create a ExceptionRoutedEventArgs with default/TODO
391 values, prevents a lot of the MS tests from throwing NRE and
394 2009-05-27 Alan McGovern <amcgovern@novell.com>
396 * Control.cs: Control.Enabled needs to be created in native
397 code as it's required for hittesting. A disabled control and
398 its visual children do not receive mouse events and are not
399 visible to VisualTreeHelper.FindElementInHostCoordinates.
401 2009-05-26 Alan McGovern <amcgovern@novell.com>
403 * TextBox.cs: Add missing VisualState transitions to TextBox.
405 2009-05-22 Alan McGovern <amcgovern@novell.com>
408 * ContentPresenter.cs
412 Use DependencyProperty.RegisterCore for these DPs.
414 2009-05-21 Jackson Harper <jackson@ximian.com>
416 * ComboBox.cs: Cleanup debug spew so it doesn't cause a crash when
417 non FrameworkElement objects are added to the combo box.
419 2009-05-21 Alan McGovern <amcgovern@novell.com>
421 * ItemsControl.cs: Add the required VisualState changes to
424 2009-05-21 Alan McGovern <amcgovern@novell.com>
426 * ItemsControl.cs: InvokeItemsChanged shouldn't be virtual.
428 2009-05-18 Larry Ewing <lewing@novell.com>
430 * StackPanel.cs: take max/min into account in layout.
432 2009-05-18 Alan McGovern <amcgovern@novell.com>
434 * ContentPresenter.cs: For contentcontrols, the applied
435 template is only cleared if the old or new content is a
436 UIElement (frameworkelement?). The fallback 'template' of a
437 Grid + TextBlock is also reused every time.
439 2009-05-18 Alan McGovern <amcgovern@novell.com>
441 * ItemsControl.cs: Cosmetic - Remove some C.W.Ls
443 2009-05-15 Alan McGovern <amcgovern@novell.com>
446 * ColumnDefinition.cs: These should both be sealed.
448 2009-05-13 Alan McGovern <amcgovern@novell.com>
450 * ItemsControl.cs: When the items collection is databound, we
451 need to copy all the items from the ItemsSource into the
452 Items collection before firing the Reset event.
454 2009-05-13 Larry Ewing <lewing@novell.com>
456 * ItemsControl.cs: access the Property not the member to avoid a
459 2009-05-13 Alan McGovern <amcgovern@novell.com>
461 * ContentPresenter.cs: Measure needs to be invalidated every
462 time the Content or ContentTemplate changes, not just when
463 we alter the root visual.
465 2009-05-12 Alan McGovern <amcgovern@novell.com>
467 * ItemsControl.cs: ItemsControl has the same behaviour as
468 ContentPresenter - the DataContext property is only set if
469 the item is *not* a framework element.
471 2009-05-12 Alan McGovern <amcgovern@novell.com>
473 * ContentPresenter.cs: ContentPresenter copies Content to
474 DataContext iff the Content is not a FrameworkElement.
476 2009-05-12 Jeffrey Stedfast <fejj@novell.com>
478 * TextBox.cs (OnCursorPositionChanged): Fixed scrolling to behave
479 more normally. Might still need some work, but at least it's no
480 longer painful. I'm sure toshok will be appreciative ;-)
482 2009-05-12 Alan McGovern <amcgovern@novell.com>
485 * ItemCollection.cs: The ItemsCollection should be
486 instantiated once and reused even when the ItemsSource
487 changes. When ItemsSource is non-null, we don't propagate
488 collection changed events.
490 2009-05-11 Alan McGovern <amcgovern@novell.com>
492 * ContentPresenter.cs: Whenever the content root is changed,
493 we need to invalidate the measure so that the presenter
496 2009-05-11 Alan McGovern <amcgovern@novell.com>
498 * ContentPresenter.cs: Recommit r133738 as it's not causing
501 2009-05-11 Alan McGovern <amcgovern@novell.com>
503 * ContentPresenter.cs: Recommit r133724/5 as it isn't causing
506 2009-05-11 Alan McGovern <amcgovern@novell.com>
509 * ContentPresenter.cs: When a container is autogenerated, we
510 copy the Content to the DataContext.
512 2009-05-11 Alan McGovern <amcgovern@novell.com>
514 * ContentPresenter.cs: Back out r133724/5 in case it's what
515 has caused the random failures in the extended controls
518 2009-05-08 Alan McGovern <amcgovern@novell.com>
520 * ContentPresenter.cs: Revert the changes in r133738 until I
521 can figure out why the x86 bot doesn't like them. It's
522 causing the extended controls tests to time out.
524 2009-05-08 Alan McGovern <amcgovern@novell.com>
526 * ContentPresenter.cs: That debug spew wasn't supposed to hit
529 2009-05-07 Alan McGovern <amcgovern@novell.com>
531 * ContentPresenter.cs: If the content property changes, the
532 Template is cleared if it has already been applied.
534 2009-05-07 Alan McGovern <amcgovern@novell.com>
536 * ItemsPresenter.cs: ItemsPresenter should be hooking itself
537 in during the first MeasureOverride as opposed to when it's
538 loaded. This matches the MS behaviour.
540 2009-05-07 Alan McGovern <amcgovern@novell.com>
542 * ContentPresenter.cs: I seem to have mangled that last patch
543 before committing - fix the build.
545 2009-05-07 Alan McGovern <amcgovern@novell.com>
547 * ContentPresenter.cs: 1) The 'Content' property of the
548 ContentPresenter is not copied to DataContext.
549 2) If the expanded DataTemplate is null, fall back to
550 displaying the Content.
552 2009-05-03 Chris Toshok <toshok@ximian.com>
554 * ContentControl.cs (WalkTreeForContentPresenters): not sure why
555 we passed "this" to this method. Just use this instead of
556 templateRoot. Also, use a more verbose TemplateBindingExpression
559 2009-05-01 Alan McGovern <amcgovern@novell.com>
561 * ContentControl.cs: If the default ContentPresenter is
562 replaced in a ContentControl, we need to TemplateBind both
563 the Content and ContentTemplate.
565 2009-04-28 Alan McGovern <amcgovern@novell.com>
567 * ItemsControl.cs: Ensure that PrepareContainerForItemOverride
568 is handling both ContentControls and ContentPresenters
571 2009-04-28 Alan McGovern <amcgovern@novell.com>
573 * ComboBox.cs: Copy over the styles/templates to the items
575 Clicking the ToggleButton should open the dropdown.
576 When a ComboBoxItem is autogenerated, we need to store the
577 autogenerated box in DisplayedItem so that we can put its
578 content back later on.
580 * ItemsControl.cs: Generate the container only when it's
581 required. When the container is a ContentControl, ensure
582 that the container doesn't try to set the items logical
585 2009-04-28 Alan McGovern <amcgovern@novell.com>
587 * ComboBoxItem.cs: MouseUp should result in the popup being
588 closed but the selection is not changed.
590 2009-04-28 Alan McGovern <amcgovern@novell.com>
592 * ContentControl.cs: Add the ability to stop ContentControl
593 from automatically setting the LogicalParent when a
594 FrameworkElement is added as the Content.
596 2009-04-24 Alan McGovern <amcgovern@novell.com>
598 * ComboBox.cs: Ensure that the currently selected item is
599 displayed correctly when the popup is not open.
601 2009-04-23 Alan McGovern <amcgovern@novell.com>
603 * ComboBox.cs: Clicking on ListItems in the combobox popup
604 should close the popup.
606 2009-04-23 Alan McGovern <amcgovern@novell.com>
608 * ComboBox.cs: Allow popups to use a transparent canvas to
609 catch clicks outside of the popup area. ComboBox uses this
612 2009-04-23 Alan McGovern <amcgovern@novell.com>
614 * ComboBoxItem.cs: Removing unnecessary override
616 2009-04-23 Alan McGovern <amcgovern@novell.com>
618 * ComboBox.cs: Move the Notify* methods into Selector as both
619 Listbox and ComboBox require the same API.
621 2009-04-23 Alan McGovern <amcgovern@novell.com>
623 * ItemsControl.cs: FrameworkElements added to an
624 ItemsCollection need to have their logical parent set to the
627 2009-04-22 Alan McGovern <amcgovern@novell.com>
629 * ComboBox.cs: Add missing nullcheck around access to a
632 2009-04-22 Alan McGovern <amcgovern@novell.com>
634 * ComboBox.cs: ComboBox should return a new ComboBoxItem
635 without applying the container style.
637 2009-04-22 Alan McGovern <amcgovern@novell.com>
639 * ItemsPresenter.cs: After some extensive testing in
640 silverlight, I think this change is correct. When templating
641 ComboBox, the Popup used to display the items has no visual
642 parent but does have a logical parent. Therefore the only
643 way to connect the ItemsPresenter to the ItemsControl is to
644 fall back to the logical parent when the VisualParent is
645 null. I'm not sure if this is popup specific behaviour or if
646 this is true for all controls which have a null visual
647 parent but non-null logical parent.
649 2009-04-17 Alan McGovern <amcgovern@novell.com>
651 * ComboBox.cs: Make IsSelectionActive work. Also make showing
652 the popup work. Currently no items are being displayed in
653 the popup as the ItemsPresenter is never getting loaded.
655 2009-04-17 Sebastien Pouliot <sebastien@ximian.com>
657 * SaveFileDialog.cs: Implement DefaultExtbehavior
659 2009-04-15 Alan McGovern <amcgovern@novell.com>
661 * ItemsControl.cs: When an ItemsControl is templated, don't
662 replace the templated visual tree with the ItemsPresenters
665 * ItemsPresenter.cs: ItemsPresenter should search the visual
666 tree, not logical tree, when trying to find its ItemsControl
668 2009-04-14 Rolf Bjarne Kvinge <RKvinge@novell.com>
671 * SaveFileDialog.cs: Generate all P/Invoke methods.
673 2009-04-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
678 * ProgressBar.cs: Delete files we got from MS' controls drop,
679 and update project file to compile.
681 2009-04-09 Jeffrey Stedfast <fejj@novell.com>
683 * PasswordBox.cs, TextBlock.cs, TextBox.cs: Removed manual stub
684 for FontSource property, these are now autogenerated.
686 2009-04-09 Sebastien Pouliot <sebastien@ximian.com>
688 * OpenFileDialog.cs: Free the memory we receive from
689 open_file_dialog_show
690 * SaveFileDialog.cs: New. Silverlight 3 feature
692 2009-04-08 Stephane Delcroix <sdelcroix@novell.com>
694 * MultiScaleImage.cs: no longer throws NIE on LogicalToElementPoint
696 2009-04-07 Chris Toshok <toshok@ximian.com>
698 * ContentPresenter.cs: turns out my layout fears were unfounded.
699 Removing the grid will give us the same layout characteristics as
700 silverlight. Alan was right about the different visual tree under
701 CP. Duplicate this tree so that it matches SL in all 3 cases: 1)
702 UIElement content (directly a child of contentpresenter), 2)
703 string content (grid -> textblock), and 3) no content (no children
704 under contentpresenter.) This simplifies PrepareContentPresenter
707 2009-04-06 Chris Toshok <toshok@ximian.com>
709 * Control.cs (set_DefaultStyleKey): add a few more error
710 conditions (surrounding UserControlType) to get 2.0 ms test
711 fixture 552 closer to working.
713 2009-04-06 Stephane Delcroix <sdelcroix@novell.com>
715 * MultiScaleImage.cs: lookup the new DPs and new properties
717 2009-04-03 Alan McGovern <amcgovern@novell.com>
719 * TextBox.cs: TextBox does validation in both the getter and
720 setter of its TextProperty, so we have to manually implement
723 2009-04-02 Aaron Bockover <abockover@novell.com>
725 * ContentPresenter.cs: Nuke a BOM on which gmcs 2.0.1 explodes
727 2009-03-30 Chris Toshok <toshok@ximian.com>
729 * Control.cs: track change of MouseButton -> MouseLeftButton, and
730 add MouseRightButtonUp/Down and MouseWheel.
733 2009-03-27 Chris Toshok <toshok@ximian.com>
735 * ItemsControl.cs: only install our default ItemsPresenter if
736 there isn't a template that's going to be applied to this element.
737 In the case of a template either 1 of 2 things will happen.
738 Either there's an ItemsPresenter someplace in the template, and
739 ItemsPresenter.InvokeLoaded grovels up the tree until it finds
740 this ItemsControl, calling SetItemsPresenter on it, or the control
741 deals with all the Items changes manually (as in TabControl) and
742 we never have an ItemsPresenter.
744 2009-03-27 Stephane Delcroix <sdelcroix@novell.com>
746 * MultiScaleImage.cs: MotionFinished is a RoutedEvent
748 2009-03-26 Jeffrey Stedfast <fejj@novell.com>
750 * PasswordBox.cs: We no longer do the evil gross hackery action.
752 * TextBox.cs: Updated NativeMethods use for text_box_base
754 2009-03-25 Stephane Delcroix <sdelcroix@novell.com>
756 * MultiScaleImage.cs: ViewportChanged is a RoutedEvent
758 2009-03-23 Jeffrey Stedfast <fejj@novell.com>
760 * TextBox.cs: Connect to our CursorPositionChanged event so we can
761 update the scrollviewer offsets.
763 2009-03-18 Jeffrey Stedfast <fejj@novell.com>
765 * Control.cs: Use NativeMethods.control_focus() instead of
766 NativeMethods.surface_focus_element().
768 2009-03-17 Jb Evain <jbevain@novell.com>
770 * Grid.cs: override and seal ArrangeOverride and MeasureOverride.
772 2009-03-10 Jeffrey Stedfast <fejj@novell.com>
774 * PasswordBox.cs: Manually bind the PasswordProperty and the
775 getter/setter. Don't allow the Password getter to return null.
777 2009-03-10 Jeffrey Stedfast <fejj@novell.com>
779 * PasswordBox.cs: Connect to TextChanged instead of
780 PasswordChanged events on the unmanaged side, since the unmanaged
781 code subclasses TextBox we'll just reuse the same event. Also, map
782 SelectionBackground and SelectionForeground properties to the
783 TextBox properties manually.
785 2009-03-09 Jeffrey Stedfast <fejj@novell.com>
787 * TextBox.cs: Use ObjectFromIntPtr instead of GCHandle. Doh.
789 2009-03-06 Andreia Gaita <avidigal@novell.com>
791 * ContentControl.cs, Image.cs, MediaElement.cs,
792 MultiScaleImage.cs, PasswordBox.cs,
793 TextBox.cs: Switch to using ObjectFromIntPtr to lookup objects.
795 2009-03-04 Stephane Delcroix <sdelcroix@novell.com>
797 * MultiScaleImage.cs: use the native setters instead of the
798 SetValue for ViewportOrigin and Width
800 2009-02-26 Chris Toshok <toshok@ximian.com>
802 * ItemsControl.cs: land some longstanding local changes.
804 * ItemsPresenter.cs: same.
806 2009-02-26 Chris Toshok <toshok@ximian.com>
808 * ContentControl.cs (InvokeOnApplyTemplate): override
809 FrameworkElement's implementation so we can walk our visual
810 subtree calling OnApplyTemplate and add the default
811 TemplateBinding for ContentPresenter.ContentProperty (if there
812 isn't one already) on all ContentPresenters that are our
813 descendents (without an intervening control.)
815 2009-02-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
817 * MediaElement.cs: Initial implementation of
820 2009-02-18 Alan McGovern <amcgovern@novell.com>
822 * TextBox.cs: There are no HitTest methods on TextBox in the
825 2009-02-13 Jeffrey Stedfast <fejj@novell.com>
827 * MultiScaleImage.cs: Manually bind the DependencyProperties and
828 the property accessors.
830 2009-02-12 Alan McGovern <amcgovern@novell.com>
832 * ItemCollection.cs: Managed objects are stored in native as
833 GCHandles. Use the mono api to get the target of that
834 GCHandle so that they can be compared correctly in
835 value.cpp. Remove hack in ItemCollection.cs which worked
838 2009-02-08 Chris Toshok <toshok@ximian.com>
840 * ItemsControl.cs (PrepareContainerForItemOverride): if
841 DisplayMemberPath is set, create a binding and hook it up to the
842 content presenter's ContentProperty.
844 2009-02-08 Sebastien Pouliot <sebastien@ximian.com>
846 * TextBlock.cs: Implement OnCreateAutomationPeer
848 2009-02-06 Larry Ewing <lewing@novell.com>
850 * ContentPresenter.cs: don't compare against _elementText compare
853 2009-02-05 Chris Toshok <toshok@ximian.com>
855 * ItemsControl.cs: implement basic databinding support - no
856 templates, no DisplayMemberPath, just a databound ItemsSource with
857 INotifyCollectionChanged handling.
859 * ItemCollection.cs: add SetReadOnly so ItemsControl can mark the
860 collection as readonly (only for the user, the collection remains
861 modifiable by the control).
863 2009-02-05 Larry Ewing <lewing@novell.com>
865 * StackPanel.cs: skip collapsed children.
867 2009-02-05 Geoff Norton <gnorton@novell.com>
869 * MultiScaleImage.cs: We hide the SubImages in a internal DP for now
870 until we can automatically generated a ReadOnlyCollection from
871 a native counterpart in the generator.
873 2009-02-05 Geoff Norton <gnorton@novell.com>
875 * MultiScaleSubImageCollection.cs: Managed counterpart to the native
878 2009-02-04 Sebastien Pouliot <sebastien@ximian.com>
880 * TextBlock.cs: Change the NotImplementedException into a MonoTODO
881 to get Tetrislite go further
883 2009-02-04 Chris Toshok <toshok@ximian.com>
885 * ItemsControl.cs: flesh out some of the implementation in the
886 non-databound scenario (using the Items collection).
888 * ItemsPresenter.cs: create a stackpanel for the time being, since
889 that seems to be what the default behavior is.
891 * ComboBox.cs: flesh out the implementation and fix up the
894 * ComboBoxItem.cs: gui-compare stuff.
896 2009-02-04 Larry Ewing <lewing@novell.com>
898 * StackPanel.cs: remove the restriction on size of the visible
899 children it breaks since that uses a rendertransform to make
900 things visible again.
902 2009-02-04 Larry Ewing <lewing@novell.com>
904 * StackPanel.cs: rework the alignment logic to match some of the
907 2009-02-04 Alan McGovern <amcgovern@novell.com>
909 * HitTestCollection.cs: Hook up the managed hittesting code
910 to the native hit testing code.
912 2009-02-02 Chris Toshok <toshok@ximian.com>
914 * UserControl.cs: remove the ContentProperty attribute - we
919 2009-02-02 Chris Toshok <toshok@ximian.com>
921 * ComboBox.cs: set DefaultStyleKey in the ctor to pick up the
924 2009-01-30 Chris Toshok <toshok@ximian.com>
926 * Control.cs (Initialize): register empty delegates on all the
927 events we expose in the form of On$Event methods, so our methods
930 2009-01-30 Jeffrey Stedfast <fejj@novell.com>
932 * TextBox.cs: Fixed SelectionChanged
934 2009-01-30 Larry Ewing <lewing@novell.com>
936 * StackPanel.cs: only use the alignment logic if the dimentions
939 2009-01-29 Sebastien Pouliot <sebastien@ximian.com>
941 * ItemCollection.cs: Override IndexOfImpl so we can compare
942 objects in the managed side.
944 2009-01-26 Larry Ewing <lewing@novell.com>
946 * StackPanel.cs: improve the logic and add horizontal support.
948 2009-01-26 Jeffrey Stedfast <fejj@novell.com>
950 * ContentControl.cs (content_changed_callback): Fixed cast
951 exception for the event args.
953 * TextBox.cs (text_changed_cb): Fixed some cast exceptions and
954 also pass our EventArgs to InvokeTextChanged().
956 2009-01-26 Geoff Norton <gnorton@novell.com>
958 * Control.cs: Surface lives in Deployment now.
960 2009-01-26 Chris Toshok <toshok@ximian.com>
962 * ContentPresenter.cs (PrepareContentPresenter): call
963 uielement_set_subtree_object here to hook the _elementRoot into
966 2009-01-25 Chris Toshok <toshok@ximian.com>
968 * ContentPresenter.cs: move the 90% implementation back here.
970 * Control.cs: don't register the DefaultStyleKey property - the
971 unmanaged code already does it. Just look it up here.
973 2009-01-22 Jeffrey Stedfast <fejj@novell.com>
975 * ContentPresenter.cs: Simplified by ripping out most of the code
976 that was moved to c++.
978 * ContentControl.cs: Simplified a lot by re-using the Events class
981 * ContentPresenter.cs: New binding to unmanaged ContentPresenter
982 class. Replaces the old ContentPresenetr class from the Microsoft
983 Silverlight b1 sources.
985 2009-01-21 Geoff Norton <gnorton@novell.com>
987 * Image.cs: Clean up stuff that should (and now is) have been
990 2009-01-21 Jeffrey Stedfast <fejj@novell.com>
992 * ContentControl.cs: Connect to the internal ContentChanged event
993 so that we can call the virtual OnContentChanged() method.
995 2009-01-20 Chris Toshok <toshok@ximian.com>
997 * Control.cs: we no longer need to override InvokeLoaded - the
998 style process is driven in unmanaged code. Also clean up the
999 handling of DefaultStyleKey - we can't throw an exception in the
1000 changed handler. it has to be thrown before the value is changed.
1001 Get rid of the change handler.
1003 * TextBox.cs: get rid of the Initialize method.
1005 2009-03-15 Alan McGovern <amcgovern@novell.com>
1012 * MultiScaleImage.cs: Simplify how native events are connected to in
1013 managed code. The managed add/remove event methods just call
1014 RegisterEvent/UnregisterEvent defined in DO.cs instead of each event
1015 managing the event list itself.
1017 2009-01-19 Alan McGovern <amcgovern@novell.com>
1023 * MultiScaleImage.cs: Change all our native callbacks to use a wrapped
1024 handler which traps managed exceptions.
1026 2009-01-18 Geoff Norton <gnorton@novell.com>
1028 * MediaElement.cs: These are RoutedEventHandlers, not EventHandlers.
1029 Fixes a InvalidCastException with PDC.
1031 2009-01-16 Jeffrey Stedfast <fejj@novell.com>
1033 * TextBox.cs (ArrangeOverride): Removed.
1035 2009-01-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
1037 * MediaElement.cs: Tiny little beginning of MediaStreamSource and remove
1038 a few members which can be generated now that the native MediaElement
1039 doesn't inherit from MediaBase anymore.
1041 2009-01-15 Alan McGovern <amcgovern@novell.com>
1044 * ComboBoxItem.cs: Begin implementing ComboBox. First 3 tests now pass.
1046 2009-01-15 Sebastien Pouliot <sebastien@ximian.com>
1048 * ItemCollection.cs: Override NullCheck to throw ArgumentExpcetion
1049 for all null values (instead of the default ArgumentNullException
1050 on _some_ null values).
1052 2009-01-13 Sebastien Pouliot <sebastien@ximian.com>
1054 * StackPanel.cs: Seal overrides to please gui-compare
1056 2009-01-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
1059 * MultiScaleImage.cs: Corcompare issues.
1061 2009-01-12 Andreia Gaita <avidigal@novell.com>
1063 * StackPanel.cs: New managed implementation (only vertical
1066 2009-01-09 Sebastien Pouliot <sebastien@ximian.com>
1068 * ItemsControl.cs: Implemented a bit more
1070 2009-01-08 Sebastien Pouliot <sebastien@ximian.com>
1072 * ItemsControl.cs: Partial implementation (enough to pass some
1073 controls unit tests)
1075 2009-01-08 Sebastien Pouliot <sebastien@ximian.com>
1077 * ItemCollection.cs: Change to partial class
1079 2009-01-07 Chris Toshok <toshok@ximian.com>
1081 * Control.cs (Control.InvokeLoaded): get the default style for the
1082 control if it has a DefaultStyleKey. We don't do anything with it
1083 yet, but this process drives the parsing of generic.xaml.
1085 2009-01-06 Alan McGovern <amcgovern@novell.com>
1087 * PasswordBox.cs: Ensure correct exception is thrown when a null string
1088 is passed to PasswordBox.Password. Use correct range validation for
1091 2008-12-19 Rolf Bjarne Kvinge <RKvinge@novell.com>
1093 * PasswordBox.cs, ItemsPresenter.cs: More bits.
1094 * CalendarMode.cs: Deleted, this file goes in
1095 System.Windows.Controls.dll.
1097 2008-12-19 Sebastien Pouliot <sebastien@ximian.com>
1099 * Control.cs: Remove OnIsEnabled hack for needed by beta1 controls.
1101 2008-12-19 Rolf Bjarne Kvinge <RKvinge@novell.com>
1103 * CalendarMode.cs, ComboBox.cs, ComboBoxItem.cs: Stub out and fill in
1104 more bits to get even more bits compiling.
1106 2008-12-11 Chris Toshok <toshok@ximian.com>
1108 * Control.cs: add Initialize method to add a handler for the
1109 TemplateApplied unmanaged event. Call
1110 FrameworkElement.OnApplyTemplate from there.
1112 2008-12-11 Chris Toshok <toshok@ximian.com>
1114 * Control.cs: implement GetTemplateChild.
1116 2008-12-11 Rolf Bjarne Kvinge <RKvinge@novell.com>
1118 * PasswordBox.cs: Stub out to fix build.
1120 2008-12-10 Full Name <Email Address>
1122 * TextBox.cs: Commit the files from the generator.
1124 2008-12-10 Full Name <Email Address>
1127 * PasswordBox.cs: Partial implementation of the PasswordBox control
1129 2008-12-09 Sebastien Pouliot <sebastien@ximian.com>
1131 * UserControl.cs: Remove IsTabStop initialization (moved to
1134 2008-12-08 Sebastien Pouliot <sebastien@ximian.com>
1136 * UserControl.cs: Add Initialize and set IsTabStop to false
1138 2008-12-08 Sebastien Pouliot <sebastien@ximian.com>
1140 * Control.cs: Add null check on EventArgs for all On* methods.
1141 Check Handled (when provided) before making the calls to On*.
1142 Re-use internal 'events' for IsEnabledChanged
1144 2008-12-05 Sebastien Pouliot <sebastien@ximian.com>
1146 * ProgressBar.cs: Default is 1 (not 100) in SL2 final.
1148 2008-12-05 Sebastien Pouliot <sebastien@ximian.com>
1150 * Control.cs: Override Invoke* methods and call our On* methods
1151 before the base method (that fire the events).
1153 2008-12-05 Stephane Delcroix <sdelcroix@novell.com>
1156 * generic.xaml: managed implementation of the progressbar, and
1159 2008-12-04 Sebastien Pouliot <sebastien@ximian.com>
1161 * Control.cs: Change OnIsEnabledChanged to internal so it does not
1162 show as extra here and on other controls
1164 2008-12-04 Sebastien Pouliot <sebastien@ximian.com>
1166 * Control.cs: Add protected OnIsEnabledChanged since all controls
1167 depends on it and it's not in ContentControl anymore.
1169 2008-12-04 Sebastien Pouliot <sebastien@ximian.com>
1171 * Control.cs: Add back DefaultStyleKey and IsEnabled with managed
1172 validation and events.
1174 2008-12-02 Sebastien Pouliot <sebastien@ximian.com>
1176 * Control.cs: Remove temporary properties (they are now generated)
1178 2008-12-02 Stephane Delcroix <sdelcroix@novell.com>
1180 * ProgressBar.cs: stubbed to pass basic unit-tests
1182 2008-12-02 Andreia Gaita <shana@jitted.com>
1184 * System.Windows.Controls/StackPanel.cs: Implement ArrangeOverride
1187 2008-11-28 Sebastien Pouliot <sebastien@ximian.com>
1189 * Control.cs (GetTemplateChild): Throw only if childName is null
1190 otherwise return null (for the moment) since it's the "default"
1193 2008-11-28 Sebastien Pouliot <sebastien@ximian.com>
1195 * ItemCollection.cs: Remove public ctor.
1196 * OpenFileDialog.cs: Fix Filter and FilterIndex properties.
1197 * TextChangedEventArgs.cs: Internalize default ctor.
1199 2008-11-27 Sebastien Pouliot <sebastien@ximian.com>
1201 * OpenFileDialog.cs: Replace "old" FileDialogFileInfo with standard
1202 FileInfo. Remove title since it's not user settable anymore. Rename
1205 2008-11-25 Sebastien Pouliot <sebastien@ximian.com>
1207 * ValidationError.cs: New. Needed for FrameworkElement.
1208 * ValidationErrorEventArgs.cs: New. Needed for FrameworkElement.
1210 2008-11-25 Stephane Delcroix <sdelcroix@novell.com>
1212 * MultiScaleImage.cs: ElementToLogicalPoint impl.
1214 2008-11-19 Rolf Bjarne Kvinge <RKvinge@novell.com>
1216 * Canvas.cs, Control.cs, MediaElement.cs: Corcompare fixes.
1218 2008-11-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
1220 * ColumnDefinitionCollection.cs, MediaElement.cs, ItemCollection.cs,
1221 UIElementCollection.cs, RowDefinitionCollection.cs: Corcompare
1224 2008-09-02 Stephane Delcroix <sdelcroix@novell.com>
1226 * MultiScaleImage.cs: stub
1228 2008-09-01 Stephane Delcroix <sdelcroix@novell.com>
1230 * MultiScaleSubImage.cs: stub
1232 2008-08-24 Geoff Norton <gnorton@novell.com>
1234 * Image.cs: Support nulling out the ImageSource
1236 2008-08-24 Geoff Norton <gnorton@novell.com>
1238 * Image.cs: ImageSource now does the heavy lifting for us.
1240 2008-08-23 Geoff Norton <gnorton@novell.com>
1242 * Image.cs: If we dont have a stream of the image available from
1243 BitmapImage, get it.
1245 2008-08-22 Jeffrey Stedfast <fejj@novell.com>
1247 * TextChangedEventArgs.cs: Added.
1249 * TextChangedEventHandler.cs: Added.
1251 * TextBox.cs: Implemented events.
1253 2008-08-22 Jeffrey Stedfast <fejj@novell.com>
1255 * TextBox.cs: Implemented Select() and stubbed out the other
1258 2008-08-21 Chris Toshok <toshok@ximian.com>
1262 2008-08-21 Jeffrey Stedfast <fejj@novell.com>
1264 * TextBox.cs: Added to the build.
1266 2008-08-19 Jeffrey Stedfast <fejj@novell.com>
1268 * MediaElement.cs (SetSource): Handle null inputs, it is not an
1271 2008-08-18 Chris Toshok <toshok@ximian.com>
1273 * Control.cs: implement Focus.
1275 2008-08-18 Geoff Norton <gnorton@novell.com>
1277 * Control.cs: Add DefaultStyleKey
1279 2008-08-18 Geoff Norton <gnorton@novell.com>
1281 * Image.cs: Implement Image.Source = BitmapImage(Stream)
1283 2008-08-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
1285 * MediaElement.cs: Implement MediaElement.SetSource (stream)
1287 2008-08-14 Geoff Norton <gnorton@novell.com>
1289 * MediaElement.cs: Turn the Stream SetSource calls into warnings
1290 to prevent us crashing until we've implemented those bits.
1292 2008-08-14 Rolf Bjarne Kvinge <RKvinge@novell.com>
1294 * MediaElement.cs: Removed classes and members which are no longer in
1297 2008-08-13 Larry Ewing <lewing@novell.com>
1299 * MediaElement.cs: fix the type of MediaEnded to
1302 2008-08-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
1304 * Canvas.cs: Changed some parameter names, base types, method
1305 signatures, etc to match SL.
1307 2008-08-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
1309 * StackPanel.cs: Added a native StackPanel class and generate the
1312 2008-08-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
1314 * ContentControl.cs: Deleted, we're using MS' source for this class.
1316 2008-08-12 Chris Toshok <toshok@ximian.com>
1318 * ControlTemplate.cs: remove the TargetType CLR wrapper, it's
1321 2008-08-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
1323 * ControlTemplate.cs, Image.cs, UIElementCollection.cs: Remove more
1324 code, add more partial modifiers and fix DependencyObject.g.cs
1327 2008-08-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
1329 * Canvas.cs, ColumnDefinition.cs, ColumnDefinitionCollection.cs,
1330 Control.cs, Grid.cs, InkPresenter.cs, MediaElement.cs, Panel.cs,
1331 RowDefinition.cs, RowDefinitionCollection.cs, TextBlock.cs,
1332 UserControl.cs: Generate public ctor, internal ctor and GetKind for
1333 classes inheriting from DependencyObject.
1335 2008-08-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
1337 * Canvas.cs: Spaces->Tabs.
1339 2008-08-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
1341 * ColumnDefinitionCollection.cs, RowDefinitionCollection.cs: Make
1344 2008-08-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
1346 * Canvas.cs, UserControl.cs, Control.cs, RowDefinition.cs, Grid.cs,
1347 MediaElement.cs, TextBlock.cs, Panel.cs, ColumnDefinition.cs,
1348 InkPresenter.cs: Implement DP accessor generation.
1350 2008-08-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
1352 * Canvas.cs, ColumnDefinition.cs, Control.cs, Grid.cs, Image.cs,
1353 InkPresenter.cs, MediaElement.cs, Panel.cs, RowDefinition.cs,
1354 TextBlock.cs, UserControl.cs: Make classes partial and remove DP
1355 registration, which is now generated.
1357 2008-08-11 Fernando Herrera <fherrera@novell.com>
1359 * Control.cs: Add Style DP.
1360 * StackPanel.cs: Add StackPanel stub.
1362 2008-08-09 Chris Toshok <toshok@ximian.com>
1364 * ScrollBarVisibility.cs: nuke.
1366 2008-08-09 Chris Toshok <toshok@ximian.com>
1368 * Image.cs: change the Source property to be the right type for
1369 2.0 (doesn't work, though.. the DP is still a string).
1371 2008-08-08 Fernando Herrera <fherrera@novell.com>
1373 * Control.cs: Added some stubs methods for SL2
1374 * ContentControl.cs:
1375 * ControlTemplate.cs:
1376 * ItemCollection.cs:
1378 * ItemsPanelTemplate.cs: Added stubs for SL2 beta2
1380 2008-08-08 Sebastien Pouliot <sebastien@ximian.com>
1382 * ChangeLog: Merge history
1383 * FileDialogFileInfo.cs: Moved from System.Windows.Browser.
1384 * OpenFileDialog.cs: Moved from System.Windows.Browser. Updated
1387 2008-08-05 Rolf Bjarne Kvinge <RKvinge@novell.com>
1389 * UIElementCollection.cs: Deleted Visual (moved content into
1390 UIElement), and renamed VisualCollection to UIElementCollection.
1392 2008-08-03 Rolf Bjarne Kvinge <RKvinge@novell.com>
1394 * MediaBase.cs: Deleted. Not used anymore.
1396 2008-07-30 Jeffrey Stedfast <fejj@novell.com>
1398 * TextBlock.cs: Make InlinesProperty private and remove ability to
1399 set the Inlines property.
1401 * MediaElement.cs: Source property is a Uri, not a
1402 string. Similarly, CurrentState is a MediaElementState and not a
1403 string. Remove ability to set the CurrentState.
1405 * Canvas.cs: Updated a bit.
1407 * Panel.cs: Fixed ctor and removed ability to set the Children
1410 2008-07-29 Jeffrey Stedfast <fejj@novell.com>
1412 * TextBlock.cs: Fixed FontFamily property.
1414 * Control.cs: Added properties and accessors.
1416 2008-07-28 Jeffrey Stedfast <fejj@novell.com>
1418 * Control.cs (.ctor): Made protected.
1419 (InitializeFromXaml): Seems this method no longer exists in
1420 Silverlight 2.0 Beta 2.
1422 2008-07-28 Chris Toshok <toshok@ximian.com>
1424 * MediaElement.cs: add some SecuritySafeCritical's.
1426 * ColumnDefinitionCollection.cs: stub out
1427 PresentationFrameworkCollection<T> overrides.
1429 * RowDefinitionCollection.cs: same.
1431 2008-07-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
1433 * Panel.cs: More B2 updates.
1434 * UIElementCollection.cs: Added.
1436 2008-07-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
1438 * MediaElement.cs: Removed MediaAttribute(Collection).
1440 2008-07-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
1442 * MediaElement.cs: More B2 updates.
1444 2008-07-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
1446 * TextBlock.cs: Updated TextDecoration* according to SL2B2.
1448 2008-07-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
1450 * TextBlock.cs: Implement Font(Style|Weight|Stretch).
1452 2008-07-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
1454 * Image.cs: Fixed ImageFailed signature.
1455 * MediaElement.cs: Fixed MediaFailed signature.
1456 * TextBlock.cs: Removed SetFontSource.
1458 2008-07-22 Jeffrey Stedfast <fejj@novell.com>
1460 * ValidationErrorEventAction.cs: Added
1462 * ScrollBarVisibility.cs: Added
1464 * ClickMode.cs: Added
1466 * Orientation.cs: Added
1468 * MediaElement.cs: No longer inherits from MediaBase,
1469 AudioStreamIndex is now nullable, NaturalVideoWidth/Height are now
1470 int instead of double. Can no longer set Markers.
1472 * Image.cs: No longer inherits from MediaBase and removed
1473 DownloadProgress property.
1475 2008-07-21 Jeffrey Stedfast <fejj@novell.com>
1477 * TextBlock.cs: Use System.Windows.Documents.InlineCollection
1478 instead of System.Windows.Inlines.
1480 2008-02-20 Jeffrey Stedfast <fejj@novell.com>
1482 * TextBlock.cs (SetFontSource): It would appear that you can
1483 actually set null as a downloader (equivalent to unsetting it)
1484 according to the MS test suite.
1486 2007-11-14 Sebastien Pouliot <sebastien@ximian.com>
1488 * OpenFileDialog.cs: Changed Dispose to public. Don't reset files
1489 on Cancel. Added default "Open" title (when none is provided). Added
1490 filter validations that SL has.
1492 2007-11-09 Jeffrey Stedfast <fejj@novell.com>
1494 * MediaElement.cs (InvokeMediaOpened): Always pass null as the
1495 eventArgs parameter as defined by the msdn docs.
1496 (InvokeMediaEnded): Same.
1497 (InvokeMediaFailed): Same.
1499 2007-11-08 Jeffrey Stedfast <fejj@novell.com>
1501 * MediaElement.cs: Fixed all of the remove events to not /add/ the
1503 (InvokeMarkerReached): Pass a TimelineMarkerEventArgs arg to the
1504 handler rather than null.
1506 2007-10-04 Zoltan Varga <vargaz@gmail.com>
1508 * Control.cs (InitialzeFromXaml): Load dependencies synchronously.
1510 2007-10-02 Zoltan Varga <vargaz@gmail.com>
1512 * Control.cs: Add some error checking.
1514 2007-09-30 Jb Evain <jbevain@novell.com>
1516 * MediaElement.cs: add setter for the AudioStreamCount DP.
1518 2007-09-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
1520 * Canvas.cs, Panel.cs, TextBlock.cs, Image.cs, InkPresenter.cs,
1521 MediaElement.cs, MediaBase.cs: Don't ref ourself if we're created using
1522 a *_new function, the creation itself already gives us a ref.
1523 * Control.cs: Don't ref ourself if we're created using a *_new function, the
1524 creation itself already gives us a ref. InitializeFromXaml: use the new
1525 control_initialize_from_xaml_callbacks and specify a XamlLoader.
1527 2007-09-14 Miguel de Icaza <miguel@novell.com>
1529 * MediaBase.cs: Fixes the Uri crash from TopBanana.
1531 2007-09-10 Chris Toshok <toshok@ximian.com>
1533 * Image.cs: hookup ImageFailed, which a bunch of XXX's due to the
1534 missing marshalling of the ErrorEventArgs (which MediaElement also
1537 2007-08-20 Jb Evain <jbevain@novell.com>
1539 * MediaElement.cs: use methods in [agmono]Mono.Helper to avoid calling
1540 internal methods of mscorlib.
1542 2007-08-09 Miguel de Icaza <miguel@novell.com>
1544 * OpenFileDialog.cs: Do some bit of porting to use only what is
1545 available in the 2.1 profile.
1547 2007-08-03 Chris Toshok <toshok@ximian.com>
1549 * MediaElement.cs: switch NaturalDuration back to Duration.
1551 2007-08-02 Jeffrey Stedfast <fejj@novell.com>
1553 * MediaElement.cs: Add the new properties from the July 2007
1554 release and fixed NaturalDuration to be of type TimeSpan.
1556 2007-07-31 Chris Toshok <toshok@ximian.com>
1558 * MediaBase.cs: remove the events.
1560 * MediaElement.cs: and add them here. also, hook them up to their
1561 unmanaged counterparts.
1563 2007-07-25 Miguel de Icaza <miguel@novell.com>
1565 * OpenFileDialog.cs: Implement support for returning more than one
1568 2007-07-24 Miguel de Icaza <miguel@novell.com>
1570 * OpenFileDialog.cs: Implement.
1572 2007-07-09 Chris Toshok <toshok@ximian.com>
1574 * Control.cs: don't pass the parser callbacks to
1575 control_initialize_from_xaml.
1577 2007-07-07 Miguel de Icaza <miguel@novell.com>
1579 * Image.cs (SetSource): simplify this routine by delegating all
1580 the work to unmanaged code.
1582 2007-06-21 Rolf Bjarne Kvinge <RKvinge@novell.com>
1584 * InkPresenter.cs, MediaElement.cs: Added.
1586 2007-06-21 Rolf Bjarne Kvinge <RKvinge@novell.com>
1588 * Panel.cs: Make this class abstract.
1590 2007-06-20 Chris Toshok <toshok@ximian.com>
1592 * Control.cs: pass the XamlReader callbacks to
1593 control_initialize_from_xaml.
1595 2007-06-20 Chris Toshok <toshok@ximian.com>
1597 * MediaBase.cs: the property is named Source, not Uri.
1599 2007-06-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
1601 * TextBlock.cs: Fix FontWeight signature.
1603 2007-06-18 Atsushi Enomoto <atsushi@ximian.com>
1605 * TextBlock.cs : actually it was not in the build and needed couple
1608 2007-06-17 Atsushi Enomoto <atsushi@ximian.com>
1610 * TextBlock.cs : actually PInvokes are already in moon.
1612 2007-06-17 Atsushi Enomoto <atsushi@ximian.com>
1614 * TextBlock.cs : oops, extra field.
1616 2007-06-17 Atsushi Enomoto <atsushi@ximian.com>
1618 * TextBlock.cs : new.
1620 2007-06-16 Sebastien Pouliot <sebastien@ximian.com>
1622 * Control.cs: Use the Kind return from create to do the lookup.
1624 2007-06-16 Sebastien Pouliot <sebastien@ximian.com>
1626 * Image.cs: Try to get completed notification.
1627 * MediaBase.cs: End-helper for Image.
1629 2007-06-15 Sebastien Pouliot <sebastien@ximian.com>
1632 * MediaBase.cs: New.
1634 2007-06-15 Sebastien Pouliot <sebastien@ximian.com>
1638 2007-06-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
1640 * Canvas.cs, Panel.cs: Second pass on constructors.
1642 2007-06-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
1644 * Panel.cs: Fix constructor, don't construct anything if we're not the
1647 2007-06-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
1649 * Panel.cs: Use native constructors.
1651 2007-06-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
1653 * Canvas.cs, Panel.cs: Implement GetKind.
1655 2007-06-07 Miguel de Icaza <miguel@novell.com>
1657 * Canvas.cs, Panel.cs: Rework to use the dependency properties
1658 registered in the unmanaged side, remove dead code.
1660 2007-06-06 Atsushi Enomoto <atsushi@ximian.com>
1662 * FileDialogFileInfo.cs,
1663 OpenFileDialog.cs : some imaginary implementation using DllImports
1664 where those unmanaged functions do not exist.
1666 2007-06-04 Miguel de Icaza <miguel@novell.com>
1668 * Canvas.cs: Add native IntPtr field that points to the native
1671 Should this be part of DependencyObject?
1675 * Panel.cs: Add the early binding to the collection.
1677 2007-06-02 Atsushi Enomoto <atsushi@ximian.com>
1679 * DialogResult.cs FileDialogFileInfo.cs OpenFileDialog.cs : stubs.