Steven Kirk
372f0f266e
Add another failing test relating to #1099 .
7 years ago
Steven Kirk
fafa695257
Use recommended ContentControl pattern.
7 years ago
Steven Kirk
f54e48d9a2
Added ContentPresenter.ChildChanging.
And listen for this event in `ContentControlMixin` in order to remove the logical child before setting the `DataContext`.
Fixes #1099
7 years ago
Steven Kirk
f75f85af2b
Fix order of inherited property changed events.
Previously `PropertyChanged` was raised on the child before the parent because the inherited value change was being notified by listening to the parent `PropertyChanged` event, and this event handler was added first.
Added an `InheritablePropertyChanged` event which will be called only after all other property changed events have been raised and only for inheritable properties.
7 years ago
Steven Kirk
302bf55b8a
Added failing tests for #1099 .
7 years ago
Nikita Tsukanov
f97a699904
Switch to custom-built skia
7 years ago
Nikita Tsukanov
88fdbcf2a9
[X11] Call XCreateIC *after* creating a window, not before
7 years ago
Nikita Tsukanov
aa18bbf224
[GLX] Use glxGetProcAddress and always pass at least something to GlxMakeContextCurrent
7 years ago
Nikita Tsukanov
a7b09c05d5
[GLX] Try newer versions of OpenGL first
7 years ago
Nikita Tsukanov
abd05f0ed7
[X11] Abort GLX context creation if GL_VERSION is null
7 years ago
danwalmsley
0f94a0012d
Merge pull request #2255 from AvaloniaUI/glx2
GLX
7 years ago
danwalmsley
06ad9c0461
Merge branch 'master' into glx2
7 years ago
Nikita Tsukanov
f1e3fb8d22
[X11] Always use a separate child window for rendering if OpenGL is available
7 years ago
Nikita Tsukanov
9eef037079
[X11] Don't use XSync with discard=true from the main display connection
7 years ago
Steven Kirk
c440e4dcec
Merge pull request #2254 from Kermalis/master
Update NumericUpDown Text when losing focus
7 years ago
Steven Kirk
b66b63dc33
Merge branch 'master' into master
7 years ago
Steven Kirk
418bd43e77
Merge pull request #2253 from AvaloniaUI/fixes/1999-remove-valid-invalid-pseudoclasses
Remove :valid and :invalid pseudoclasses.
7 years ago
Nikita Tsukanov
4cdf933fe2
Merge remote-tracking branch 'origin/master' into glx2
7 years ago
Nikita Tsukanov
ed9dff6b8f
[X11] Use GLX and transparent visuals when possible
7 years ago
Steven Kirk
dafced0366
Merge branch 'master' into fixes/1999-remove-valid-invalid-pseudoclasses
7 years ago
Nikita Tsukanov
6badd34c6a
[X11] Prevent possible blocking calls to XNextEvent
7 years ago
Jumar Macato
e8f4128efd
Merge pull request #2251 from AvaloniaUI/pr-template
Updated PR template.
7 years ago
Jumar Macato
5f6b77e120
Merge branch 'master' into pr-template
7 years ago
Kermalis
c112ce30c5
Update NumericUpDown Text when losing focus
7 years ago
Steven Kirk
d75af69307
Fix tests.
7 years ago
Steven Kirk
b91df127ea
Remove :valid and :invalid pseudoclasses.
`:valid` and `:invalid` pseudoclasses are being added to all `ContentControls` simply in order to show/hide the `ContentPresenter` in `CheckBox`. Instead of this, add some `ObjectConverters` and use them to set the visibility of the `ContentPresenter.`
Also renamed the converters in `StringConverters` to add an `Is` prefix as the `ObjectConverters` didn't look right as just `Null` and `NotNull`.
7 years ago
Wiesław Šoltés
948d17113c
Merge pull request #2252 from wieslawsoltes/Badges
Added NuGet and MyGet badges
7 years ago
Steven Kirk
9add4f325f
Merge branch 'master' into Badges
7 years ago
Nikita Tsukanov
591ecc4ded
[RENDER] Don't crash on Paint call when renderer is already disposed
7 years ago
Wiesław Šoltés
9437314a6d
Update readme.md
7 years ago
Wiesław Šoltés
2f95655a24
Update readme.md
7 years ago
Wiesław Šoltés
86ed01d08c
Added NuGet and MyGet badges
7 years ago
Steven Kirk
2b6a65a199
Merge pull request #2067 from ahopper/fix-pointerleave-not-always-set
allow for control being removed from visual tree in :pointerover logic
7 years ago
Steven Kirk
6f2ffb2f3d
Updated PR template.
7 years ago
Steven Kirk
bf81aaa7c7
Merge branch 'master' into fix-pointerleave-not-always-set
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