Steven Kirk
8caa0d2924
Strong name sign Avalonia.Remote.Protocol.
It needs to be signed to be used in VS.
7 years ago
Steven Kirk
c8363ddeb7
Supply more detailed exception details.
So we can display better errors in a designer.
7 years ago
mstr2
9d3fd84a7a
Fixes a bug where properties would be added multiple times to the global AvaloniaPropertyRegistry._properties list.
7 years ago
Nikita Tsukanov
c742fa42d2
[REMOTE] Skip unknown BSON properties
7 years ago
Nikita Tsukanov
d2e930af38
[X11] Use simple DllImport-based GTK file dialog instead of GTK3 backend
7 years ago
Steven Kirk
233adc9ca5
Added `:not()` style selector.
7 years ago
Steven Kirk
6a167a6882
Use Window.Opened event for rxui activation.
7 years ago
Steven Kirk
81846e87ec
Added TopLevel.Opened event.
And raise the event when a window is opened.
7 years ago
Artyom
533284cd61
Fix AvaloniaProperty registration type
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
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
d3e8752f15
Make ObservableStreamPlugin work with value types.
Use reflection to call `Observable.Select` on the source observable to box the value.
7 years ago
Nikita Tsukanov
ed9dff6b8f
[X11] Use GLX and transparent visuals when possible
7 years ago
Nikita Tsukanov
6badd34c6a
[X11] Prevent possible blocking calls to XNextEvent
7 years ago
Kermalis
c112ce30c5
Update NumericUpDown Text when losing focus
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
Nikita Tsukanov
591ecc4ded
[RENDER] Don't crash on Paint call when renderer is already disposed
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
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
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
Dmitry Zhelnin
985a3e7f2e
fix ValueChanged event of NumericUpDown
7 years ago
Steven Kirk
65234e8e43
Allow for null renderer.
This can happen in unit tests.
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
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
Steven Kirk
38a3db18cb
Added IRenderer.SceneInvalidated event.
And use this event to trigger an update of the mouse pointer-over state.
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
Nikita Tsukanov
0275907997
[X11] Handle Expose events using dispatcher with Render priority
7 years ago
mstr2
5cbe89e9d6
Switched AvaloniaPropertyRegistry._properties from Dictionary to List
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