Steven Kirk
5763a914fe
Remove generics from IAvaloniaObject.
4 years ago
Steven Kirk
d7798f1bd5
Merge pull request #7967 from AvaloniaUI/fixes/touchdevice-handled-events
Ignore handled events in TouchDevice.
4 years ago
Steven Kirk
0d939b34f8
Ignore handled events in TouchDevice.
4 years ago
Steven Kirk
a613fc289d
Merge pull request #7964 from AvaloniaUI/fixes/7840-datetimepicker-touch-scroll
Fix Date/Time picker touch scrolling
4 years ago
Steven Kirk
33c589ffbe
Merge branch 'master' into fixes/7840-datetimepicker-touch-scroll
4 years ago
Jumar Macato
6afc9fdbc9
Merge pull request #7962 from Gillibald/fixes/ControlCatalogWeb
Fix ControlCatalog.Web build
4 years ago
Steven Kirk
f87d6e4121
Snap date/time picker to value on scroll end.
When a scroll gesture ends, snap the date/time picker offset to the nearest multiple of the item height.
4 years ago
Steven Kirk
4deaa51ef1
Return correct value for viewport.
The `DateTimePickerPanel`'s viewport is __not__ the height of a single item ;) Scrolling is done in pixels, so it should be the size of the bounds.
4 years ago
Steven Kirk
1a0087b521
Don't multiply logical scroll by ScrollSize.
`ScrollSize` is intended to be the amount scrolled when clicking the up/down line scroll buttons. The `logicalScrollItemSize` calculation should have already taken care of calculating this value for scroll gestures (this wasn't noticed before because the only place where it was checked was with `ItemsPresenter` which has a `ScrollSize.Height` of 1.
4 years ago
Benedikt Stebner
ff3fe479b1
Fix ControlCatalog.Web build
4 years ago
Jumar Macato
0551408203
Merge pull request #7948 from adirh3/fix/datagrid_memory_leak
Fixed memory leak when DataGrid is attached to INotifyCollectionChanged
4 years ago
Jumar Macato
8b3c912113
Merge branch 'master' into fix/datagrid_memory_leak
4 years ago
Jumar Macato
2f534072f0
Merge pull request #7951 from robloo/css-colors
Adds new HslColor struct and Support for CSS Color Formats
4 years ago
Jumar Macato
4658ecbe6d
Merge branch 'master' into css-colors
4 years ago
Jumar Macato
56a3fa9ac4
Merge pull request #7956 from amwx/ContentPresenterTextProps
Add text properties to ContentPresenter
4 years ago
robloo
d44317e545
Merge branch 'master' into css-colors
4 years ago
amwx
8997c9d9df
Update ApiCompat
4 years ago
amwx
0b845c659c
Merge branch 'master' into ContentPresenterTextProps
4 years ago
Max Katz
37d9f2cead
Merge pull request #7957 from AvaloniaUI/feature/more-benchmarks
Added additional benchmarks.
4 years ago
amwx
6aa31333af
Update FluentTheme templates
4 years ago
amwx
0e458eff2e
Add more text properties to ContentPresenter
4 years ago
amwx
3792fb4447
Make other text properties Attached
4 years ago
Steven Kirk
a0ec91ec01
Added additional benchmarks.
Testing performance of low-level mechanisms.
4 years ago
robloo
06bccb0869
Merge branch 'master' into css-colors
4 years ago
robloo
b8d863c000
Add full color parsing tests (all CSS and Avalonia formats)
4 years ago
robloo
56142263ad
Use rounding when converting to RGB color
4 years ago
robloo
23fee99008
Use HSV and HSL colors in ControlCatalog CanvasPage
4 years ago
robloo
012487c8f1
Support all CSS color formats in Color.TryParse()
4 years ago
amwx
879383b55b
Add text properties to ContentPresenter
4 years ago
robloo
a4c5944e4f
Add HslColor and HsvColor parsing tests
4 years ago
robloo
8569d527ac
Add ToString/Parse to HslColor
4 years ago
robloo
0b619db0ff
Support percentages in HsvColor parsing
4 years ago
Steven Kirk
d817ab067a
Merge pull request #7954 from AvaloniaUI/fixes/7780-nativemenuitemseparator-exception
Fix NativeMenuBar exception.
4 years ago
Steven Kirk
af7ad60716
Fix NativeMenuBar exception.
The `x:DataType="NativeMenuItem"` directive is incorrect as the items can also be `NativeMenuItemSeparator`s which don't have the bound properties.
Turn off compiled bindings here for now.
Fixes #7780
4 years ago
Benedikt Stebner
01cf7b8dec
Merge pull request #7950 from 0x0ade/fix-textbox-backspace-caretindex
Fix backspace in textbox not moving caret
4 years ago
robloo
6846e317be
Add constructor comments
4 years ago
robloo
1ea30b53ff
Add Color.ToHsl() conversions
4 years ago
robloo
1d0668a184
Move RgbToHsv conversion into Color
All color types will ONLY have .ToModel() conversion methods. .FromModel() conversion will not be provided. This unifies the API and allows easily extending with more color models in the future without breaking things. Each type is responsible to convert itself to other supported types -- direction is one way in the API.
4 years ago
robloo
1c019eb211
Add new HslColor struct
4 years ago
robloo
3527baaefa
Add back HsvColor.FromHsv()
4 years ago
robloo
b6ec588b4b
Rename 'channel' to 'component'
4 years ago
Jade Macho
0af2b1e5cf
Fix backspace in textbox not moving caret
4 years ago
Adir Hudayfi
bbf3099a8f
Fixed memory leak when DataGrid is attached to INotifyCollectionChanged
4 years ago
Max Katz
6e35970718
Merge pull request #7810 from danielmayost/feature/flowDirectionImpl
Implement FlowDirection - Bidirectional layout
4 years ago
Max Katz
7b4338a3d1
Merge branch 'master' into feature/flowDirectionImpl
4 years ago
Max Katz
0305df6e58
Merge pull request #7937 from AvaloniaUI/fixes/osx-reset-windowstate-when-dragged-in-maximised-state
[OSX] reset maximised state when window is dragged.
4 years ago
Max Katz
ebaf43bdbe
Merge branch 'master' into fixes/osx-reset-windowstate-when-dragged-in-maximised-state
4 years ago
Dan Walmsley
79fc50734a
Merge pull request #7943 from AvaloniaUI/feature/generic-virtual-analyzer
Added generic virtual methods analyzer.
4 years ago
Steven Kirk
f682f5af7c
Added generic virtual methods analyzer.
Added a new `DevAnalyzers` project with a single analyzer to detect generic virtual/interface methods.
4 years ago
Benedikt Stebner
c98571764d
Merge branch 'master' into feature/flowDirectionImpl
4 years ago