Releases: picoe/Eto
2.8.3
⭐ New Features
- Remove Xamarin.Mac platform #2629
- Improve ThemedMessageBox with wrapping logic and default system icons. #2627
- Unsaved indicator for DocumentControl #2626
- Wpf: protect against errors in GridView.SelectedRows #2624
- Update WinForms/Wpf/Direct2D and templates to net6.0 #2616
- Add comment about having to dispose the Graphics object #2611
- Add Control.IsMouseCaptured, CaptureMouse, and ReleaseMouseCapture APIs #2609
- Remove BinaryFormatter from DragDropLib #2608
- Improve DocumentControl styling capabilities #2605
- Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated #2603
- WinForms: Handle MainForm changes #2598
- Mac: Use InvokeOnMainThread instead of DispatchQueue #2597
- Add ability to set up native control when subclassing NativeControlHost #2590
- Add NativeControlHost #2589
- Add TextArea.Border, ScrollToTop/Bottom/Range, and TextLength #2587
- Upgrade to GtkSharp 3.24.24.95 #2584
- Remove XamMac2 platform #2583
- [GTK] Upgrade to GtkSharp 3.24.24.95 #2520
- Add a HostControl to enable hosting native controls #2167
🪲 Bug Fixes
- Mac: Fix Rich/TextArea to show text when initially shown. #2631
- Add usings back to project templates #2628
- Mac: Only fire location changed when size changes and form is loaded. #2623
- Mac: Fix firing LocationChanged event when only size changes #2622
- C# template doesn't compile #2619
- Work around bug in WPF when running in .NET Core #2618
- TextArea text is not visible when using Wrap on macOS 14 #2617
- Wpf: Only expand/collapse/go to parent on left key when not editing #2615
- Add ToolTipSection to test tooltips #2614
- Mac: Fix universal binary build #2612
- Fix reporting the location of a Hwnd form with multi-monitor DPIs #2610
- Reparent TableRow and TableCell when added from one table to another #2600
- WinForms: Show icon when set in Dialog #2599
- Mac: Window.Location should return set value before loaded #2594
- Further fixes removing controls from TableLayout #2592
- Fix removing a control from a TableLayout before it has been initialized #2591
- Wpf: Fix dispatcher error when cancelling a TextBox TextChanging event #2586
- Mac: Fix possible lockup with wrapped label when its size was very small #2585
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
2.8.2
⭐ New Features
- Document the Expander control #2578
- Revise documentation for file picker control #2579
- Add Grid.RowFormatting event and reset defaults on CellFormatting #2573
- Add capability for styling DocumentControl tabs #2574
🪲 Bug Fixes
- Fix a crash that can happen when setting SelectFolderDialog.Directory on Mac #2582
- Get rid of MSBuildTaskHelper and always use RoslynCodeTaskFactory #2581
- Mac: Fix Tree/GridView header tooltips when setting the background color #2580
- Mac: Use current event window when calling PointToScreen if needed #2572
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
2.8.1
⭐ New Features
- Add ThemedMessageBoxHandler #2568
- Mac: Use notarytool for notarization #2567
- Deprecation of altool #2502
🪲 Bug Fixes
- Wpf: only restore focus to TreeGridView after reload when window has focus #2569
- Mac: Fix setting background of cells on Sonoma #2563
- Mac: Add border size to Tree/GridView preferred height #2562
- Supplemental fix to memory leaks #2561
- Mac: Fix some memory leaks #2560
- Mac: Fix autosizing of GridView based on content #2559
- Mac: Fix regression with Drawable clipping #2558
- Mac: Fix Drawable clipping to bounds on macOS Sonoma #2557
- Fix RectangleF.Contains(pointf) #2555
- Mac: Fix reparenting a Form after hiding then setting back to visible #2554
- Wpf: Don't store RenderTargetBitmap anywhere #2553
- Wpf: Fix GDI handle issues when using resized Bitmaps #2552
2.8.0
⭐ New Features
- Wpf/WinForms: Update WebView2 to latest #2549
- Mac/WinForms/Wpf: Wire up DataObject.NativeHandle #2548
- Don't attach a dialog when launched from an NSPanel #2544
- DataObject/Clipboard enhancements #2535
- Wpf: Ensure TreeGridItem is expandable before checking if Expanded is true #2526
- Mac: Add ability to auto attach/detach a control #2523
- Mac: avoid exceptions from trying to close a form while it is already closing. #2522
- Wpf: Auto scroll Tree/GridView when cursor nears edge during drag/drop #2519
- Setting e.Cancel = true in Splitter.PositionChanging event should cancel any changes #2517
- Re-throw property binding exceptions #2515
- Add Keyboard.ModifiersChanged event #2509
- Use global usings #2508
- Wpf: Optimize layout of parent controls when size of control is set #2504
- Wpf: Allow changing ImageText/ViewCell margins via styles. #2491
- Wpf: Allow ToolItem and MenuItem to have different icon sizes #2481
- Add ability to override NSBox tinting using styles #2475
- Use multiple target frameworks for Eto.Forms #2439
- Wpf: Center text on TabPage header #2197
🪲 Bug Fixes
- Mac: Fix TreeGridView.SelectedItemChanged #2547
- Mac: Reload data when selection changes in TreeGridView the same as it does for GridView #2543
- Mac: Fix drawing issue on macOS Sonoma #2540
- Fix serializing objects with custom child types using DataObject/Clipboard #2539
- Mac: Suppress MouseUp when there is no MouseDown #2538
- Mac: Fix firing MouseDown when not in bounds of the control #2537
- Wpf/WinForms: Fallback to getting raw stream if converting the value to byte data doesn't work #2536
- Wpf: Fix performance setting TextBox.Text rapidly #2534
- Mac: Fix possible NRE when firing MouseEnter/Leave #2533
- Mac: Fix firing MouseEnter/Leave when scrolling #2532
- Mac: no need to measure when setting CheckBox.BackgroundColor #2531
- Mac/Gtk: Ensure MouseLeave is called when control is unloaded #2524
- Mac: Add more NativeHandle constructors and prevent NRE's with TextBox. #2521
- Mac: Protect against NRE's with TreeView #2514
- Mac/Gtk: Ensure control gets Got/LostFocus events when window Got/LostFocus is triggered #2512
- Gtk: Fix drag and drop #2510
- Build from CI using specific macos workload #2507
- Mac: Fix setting tracking rectangles for mouse enter/move/leave events #2506
- Mac: Fix clipping of controls #2505
- Mac: Fix setting Tree/GridView.BackgroundColor #2503
- Wpf: Fix WebView2 GotFocus/LostFocus/HasFocus #2499
- Wpf/WinForms: Release capture if MouseUp event is handled by user code #2498
- Mac: fire MouseLeave if setting a control to disabled while mouse is over #2497
- Mac: Ensure TableLayout updates when resized #2496
- Mac: Ensure controls only get mouse events when enabled #2495
- Mac: Fix inserting items at the beginning of a SegmentedButton #2494
- Mac: Fix Cursors.Default to return the correct value #2493
- Wpf: Vertically center text in tab page headers #2490
- Mac: Fix macOS template for f# #2489
- Gtk: Fix rendering a CustomCell in a TreeGridView #2488
- Wpf: Fix odd sizes of toolitems when there is no label #2483
- Wpf: Allow theme resources to override colors used for CustomCellEventArgs.CellTextColor #2480
- Wpf: Get rid of solid brush "optimization" #2478
- Mac: Clear out DataContext on CustomCells when GridView rows change #2476
- Mac: Ensure expander is centered in cell #2474
- Incorrect F# templates #2370
- Mac: Control bezel clipping #2303
- [Gtk] PropertyGrid has no text #2251
- Do not add child window to parent when the child window is in the TabbedWindows of parent #2236
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
Full Changelog: 2.7.5...2.8.0
2.7.5
⭐ New Features
- Make use of the virtual method
CreateControl
on wpfDrawableHandler
#2458
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
2.7.4
⭐ New Features
- Add styling for SearchBox on WinForms and WPF #2454
- Allow better SegmentedButton theming #2450
- Revise documentation for DropDown #2432
- Revise DateTimePicker documentation #2431
- Revise documentation for ComboBox #2430
- Change colorpicker documentation #2428
- Change CheckBoxList documentation #2427
- Bump Eto C# lang to 10, use file scoped namespaces #2426
- Update checkbox documentation #2425
- Update Calendar documentation #2424
- Update Buttons documentation. #2423
- Add Control.TriggerStyleChanged to reapply styles #2384
- Add Control.UpdateLayout() API #2382
- Android Updates #2277
- SearchBox with icon? #791
🪲 Bug Fixes
- Fix regression with SegmentedButton on different DPIs #2452
- Mac: Fix center/right text alignment on Apple Silicon #2451
- Mac: create DmgOutputPath if not already created #2442
- Mac: Add handle constructors to EtoWindow/EtoDialogWindow #2441
- Mac: Fix occasional NRE with TreeView #2440
- [Mac] Fix loading local resources on Webview #2436
- Mark some tests as manual, fix ColorParse tests with invalid point #2434
- Update CustomCellHandler to check if the cell is not null when handling mouse click #2387
- Mac: Check for null Handler when resetting cursor rects in Scrollable #2385
- Gtk: Fix crash when setting TreeGridView.DataStore to null #2383
- Return Ok on Gtk.ResponseType.Acept instead of Ignore #2381
- Text alignment is incorrect on arm64 macos #2250
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
2.7.3
⭐ New Features
- Fix grammar error in string->filefilter operator exception #2366
- Remove Gtk2 and Gtk3 platforms #2357
- Bump Eto.WinForms support down to 461 #2354
- Eto.Platform.Windows not supporting fx461 #2353
- Wpf: Remove border around resizable borderless windows #2344
- Remove Gtk2 platform #2109
- Borderless Window Inconsistency between Wpf and Gtk #1928
🪲 Bug Fixes
- Mac: Non-activating forms with an owner should not show overtop existing windows #2377
- Mac: Fix grid column auto sizing when reusing the same control #2367
- Unsubscribe from the input event handler #2362
- Mac: Fix issues autosizing columns in some cases #2359
- Wpf: Fix crash when setting the Title or Icon of a borderless window. #2358
- Wpf: Don't set window chrome when Resizable is false #2356
- Wpf: prevent window from appearing at the wrong location when Size is set #2355
- Clear lookup cache when IEnumerable changes #2351
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
2.7.2
⭐ New Features
- Wpf: Defer use of NativeHandle until the window is loaded #2337
- Add GridColumn.HeaderToolTip/CellToolTipBinding #2333
- Add DropDownToolItem #2317
- Add Control.DragEnd event #2288
- Mac: Add a warning when the specified icon file is missing #2286
🪲 Bug Fixes
- Mac: GridView.DataSource fixes #2339
- Mac: Use NSRunLoopMode.Default for mouse tracking so UITimers work #2338
- Wpf: Fix PointToScreen/PointFromScreen in system dpi aware mode #2336
- Allow newlines in unwrapped Labels #2327
- GTK and WinForms Label with WrapMode.None should not enable SingleLineMode #2326
- Mac: Fix Tree/GridView MouseUp events #2324
- Mac: Add MacWindow.FullSizeContentView and Window fixes #2323
- Mac: Fix setting SaveFileDialog.FileName with a path #2321
- Mac: Fix errors with ListBox when switching from light to dark mode #2319
- Wpf: Fix releasing mouse capture in parent when clicking on a child #2318
- Mac: Fix flipped graphics with DrawableCell #2316
- Mac: Fix child window focus when there is more than one #2315
- Mac: Fix showing MessageBox or FileDialog on secondary dialogs #2312
- Mac: Fix modifying and blending system colors #2311
- Make FileDialog.FileName consistent across platforms #2310
- Wpf: Fire MouseUp when a control loses mouse capture #2308
- Mac: Fix using DoDragDrop when command key is down #2300
- DPI API Fixes for Wpf on Windows 7 #2297
- Wpf crashes on Windows 7 #2295
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
2.7.1
⭐ New Features
- Add macOS platform templates #2276
- Add Window.Closeable to turn off the close button #2261
- Make setting DataContext non destructive to view models #2260
- Set TargetFramework only for Eto.macOS #2246
- Add ability to compile for VS Mac 2022 (17.0) #2241
- Tree/GridView column width and cell types for GetCellAt #2240
- Mac: Allow interaction with FloatingForm when it has WindowStyle.None or Default #2235
- Mac: Accept first mouse events on FloatingForm when active #2234
- Add Application.IsActive and IsActiveChanged APIs #2233
- Make using CFString optional #2222
🪲 Bug Fixes
- Fix detecting platform for macOS #2275
- Wpf: Fix PointTo/FromScreen in system dpi awareness mode #2270
- Mac: Fix crash when setting context menu without header #2259
- Wpf: Check if WebView is disposed or not before sending events asynchronously #2258
- Mac: Respect Window.Topmost even when Owner is set #2238
- Mac: FloatingForm should not hide owner when deactivated #2237
- fix VerticalAlignment xmldoc #2230
- Wpf: Fix setting TextColor/BackgroundColor of DropDown/ComboBox #2228
- Mac: Don't use mouse tracking loop in certain cases #2224
- Mac: Fix crash with IconFrame on ARM64 / XamMac2 / .NET 6.0.1xx #2221
- Mac: Allow FloatingForm to get focus by default #2217
- Wpf: Fix more cases where wrapped labels can cause endless update cycles #2216
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
2.7.0
This release brings in the new Eto.macOS platform, which mirrors the new macOS workload in the .NET 6.0.2xx SDK and a number of improvements and fixes.
Note that the extensions have been moved to https://github.com/picoe/Eto.DevExtensions, which will have a different release cadence than the core Eto.Forms libraries.
⭐ New Features
- Extract extension source #2209
- Wpf: Calculate width of DropDown when needed and cache value #2208
- Update Windows API CodePack #2193
- .NET 6.0.2xx SDK support #2184
- Add APIs to load fonts from file #2174
- Handle newlines in FormattedText #2165
- Add GridColumn.DisplayIndex and Grid.ColumnOrderChanged #2163
- Mac: Implemented TextInput event for all controls #2150
- Merge theming changes from dark mode experiment #2127
- Add support to load fonts from file #2120
- Add Window.FromPoint API #2119
- Override incorrect dotnet paths in EtoSpecialFolders #2098
- GridView/TreeGridView has no way to determine column order #1868
🪲 Bug Fixes
- Mac: Fix orientation when drawing template images #2213
- Mac: Fix building unified binary #2211
- Mac: Use event tracking loop for click and drag by default #2207
- Mac: Fix flipping when drawing template images on Graphics #2206
- Gtk: Only reload specified rows with GridView.ReloadData #2199
- Gtk: Ensure controls inside PixelLayout get resized immediately #2196
- Mac: Ensure output .app path has a trailing slash #2195
- Gtk: Ensure handler is not null in connector before using it #2194
- Wpf/WinForms Application.BadgeLabel fixes #2192
- WIP: Wpf: Fix drag/drop events for controls with intrinsic drop functionality #2191
- Wpf: RichTextArea should not auto size to width of constraints #2190
- Mac: Fix GroupBox preferred size when set explicitly #2187
- DragEnter Event not firing on TextBox or TextArea #2155
- Mac: Ensure converting NSColor to CGColor returns a non-null value #2151
- Mac: Fix occasional crash in Xamarin.Mac #2148
- Mac: Fix crash in .NET 6 using Xamarin.Mac on Apple Silicon #2141
- Wpf/WinForms: Focus parent for all dialogs #2136
- Wpf/WinForms: Fix more window active issues. #2135
- Wpf: use AsyncInvoke to call LostFocus from the Deactivated event #2134
- Wpf: Fix calling Window.LostFocus when focus changes within a window #2133
- Wpf: Fix crash when closing a Dialog #2132
- Wpf: Fix issue closing windows during the LostFocus event #2131
- Mac: Fix expander animation and sizing #2129
- Mac: Fix GroupBox layout crash #2128
- MenuItem shouldn't set Command Enabled when validating #2123
- Wpf: Fix crash with WebView when in a child window and parent closes #2121
- Mac: Fix intermittent crash resizing images #2118
- Mac: Fix crash when there are null values for TextBoxCell or ImageTextCell #2116
- Wpf: Fix clicking on items in the GridView when MouseUp occurs on blank space #2112
- Dropping files on Gtk/Linux/Wayland not working and crashing the application #1812
- gtk Platform throw Exception: Object reference not set to an instance of an object. #1757
- [GTK] Setting TableLayout.Size on resize has no immediate effect #1752
- [MAC] Expander with visual bug due to animation sizing #1710
- GridView ReloadData jumps to top on Gtk3 #1290
❤️ Contributors
We'd like to thank all the contributors who worked on this release!