Steven Kirk
6f2ffb2f3d
Updated PR template.
7 years ago
Steven Kirk
2451f3b30f
Merge pull request #2218 from AvaloniaUI/fixes/2191-tabcontrol-contentcontrolmixin
Register TabControl with ContentControlMixin.
7 years ago
Steven Kirk
3b9702bfae
Merge branch 'master' into fixes/2191-tabcontrol-contentcontrolmixin
7 years ago
Steven Kirk
9bd182d8c5
Merge pull request #2250 from AvaloniaUI/refactor/window-position
Refactored Window Positioning
7 years ago
Steven Kirk
b5fac96d70
Fixed whitespace nit.
7 years ago
Steven Kirk
cf504b4e08
Fix nonsensical comment.
7 years ago
Steven Kirk
abfe467784
Use Window.Owner as owner in Show.
We probably want to change this and pass the owner to the `Show` method as we do for dialogs: having owner specified in different places for dialogs vs non-dialogs is not a good API.
7 years ago
Steven Kirk
13aafcc540
Show dialog centered on owner.
7 years ago
Steven Kirk
10522a95a6
Fix PointToClient logic.
7 years ago
Steven Kirk
db44faf4ad
Make ShowDialog respect WindowStartupLocation.
`SetWindowStartupLocation` needs to be called _after_ the window is shown as is done in `Show`. In addition, the owner window needs to be passed so we can get the correct screen.
Renamed the `parent` parameter to `ShowDialog` to `owner` as its `WindowStartupLocation.CenterOwner` not `CenterParent`.
7 years ago
Steven Kirk
9a2f828ba6
Modify DialogsPage to allow testing of startup location.
7 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
7 years ago
Steven Kirk
580a7adbe4
Added PixelPoint and PixelRect.
In addition to `PixelSize`.
7 years ago
Steven Kirk
009b9a1ae7
Make PixelSize accept a scaling factor for conversions.
For conversions between `PixelSize` and `Size` use a scaling factor by default; rename the DPI overloads to have a `WithDpi` suffix.
7 years ago
Jumar Macato
50a3877c42
Merge pull request #2248 from DmitryZhelnin/fix-numericupdown
Fix ValueChanged event of NumericUpDown
7 years ago
Dmitry Zhelnin
985a3e7f2e
fix ValueChanged event of NumericUpDown
7 years ago
danwalmsley
0b3a3e1668
Merge pull request #2011 from kekekeks/x11
X11 backend
7 years ago
Nikita Tsukanov
fb783c98db
Reformat X11Atoms.cs
7 years ago
Nikita Tsukanov
e1f4a243d7
[SKIA] Don't crash the entire renderer if one of the text lines have 0 length
7 years ago
Nikita Tsukanov
ec6973e903
[X11] Fixed default cursor (KDE wasn't happy)
7 years ago
Nikita Tsukanov
f10373a1cc
[X11] Fixed clipboard
7 years ago
Nikita Tsukanov
9a1fde5a3d
Merge branch 'x11' of github.com:kekekeks/Perspex into x11
7 years ago
Nikita Tsukanov
ad018c604c
[RENDERER] Postpone layers and render target dispose until lock can be acquired
7 years ago
Nikita Tsukanov
55577cf2b5
[SKIA] Throw if asked to render to GL target with invalid dimensions
7 years ago
Nikita Tsukanov
a1256978dc
Wrap access to GrContext in locks
7 years ago
Nikita Tsukanov
fd149b80dc
Dispose disposables
7 years ago
Dan Walmsley
b6ac24095d
Merge remote-tracking branch 'origin/master' into x11
7 years ago
Steven Kirk
5e159b95ba
Merge pull request #2231 from AvaloniaUI/uri-type-provider-mono-fix
Fixes #2228
7 years ago
Steven Kirk
ff6d890f76
Merge branch 'master' into uri-type-provider-mono-fix
7 years ago
Nikita Tsukanov
7766d71f61
Use X11 backend for Linux by default
7 years ago
Nikita Tsukanov
22acc5147e
[X11] Changed event loop to avoid handling events too late
7 years ago
Dan Walmsley
025c973435
[RENDER] Don't crash if UpdateScene produced a null scene
7 years ago
Dan Walmsley
b33d8a3a8d
[X11] Various fixes
7 years ago
Nikita Tsukanov
2e305451f0
Properly set size hints
7 years ago
Nikita Tsukanov
dc67ec44dc
[X11] Fix motif masks and enforce noresize by setting min/max size
7 years ago
danwalmsley
fdd9a68bd1
Merge branch 'master' into x11
7 years ago
Nikita Tsukanov
0275907997
[X11] Handle Expose events using dispatcher with Render priority
7 years ago
Nikita Tsukanov
2104982ef0
[X11] Use XTranslateCoordinates for configure events with override_redirect and send_event being false
7 years ago
Nikita Tsukanov
db5d3aa854
[X11] Fixed maximize behavior for transient windows
7 years ago
Jeremy Koritzinsky
e201311a99
Merge pull request #2245 from AvaloniaUI/fixes/treeview-expanders
Fix selectors with classes in addition to name/type.
7 years ago
Dan Walmsley
359f15f7a1
fix text input
7 years ago
Nikita Tsukanov
6105b64b66
Pass CurrentTime to XUngrabPointer
7 years ago
Dan Walmsley
2a8ee50be8
fix monitor initialization bug
7 years ago
Dan Walmsley
84b2ff9eb4
Merge branch 'master' into x11
7 years ago
Nikita Tsukanov
847d051dc6
Cleanup
7 years ago
Steven Kirk
de139bc600
Fix TypeNameAndClassSelector.
The selector `Control /template/ Control:class` should return `Sometimes` because it has a class selector.
Fixes a bug in `TreeViewItem` where the expander always shows as expanded.
7 years ago
Steven Kirk
6f02e832f8
Added failing test for buggy TreeViewItem expander.
A selector of type `Control /template/ Control:class` is returning `AlwaysThisInstance` instead of `Sometimes`.
7 years ago
Steven Kirk
f50ff28387
Make ncrunch run again.
7 years ago
Nikita Tsukanov
3d4fb2c54b
Merge pull request #2227 from jeffreye/system-fonts
System fonts
7 years ago
Nikita Tsukanov
5de3094425
Merge pull request #2205 from mstr2/opengl-error-messages
Added the option to include the OpenGL error code description when constructing OpenGlException
7 years ago