Nikita Tsukanov
58de2aaac0
WIP2
8 years ago
Nikita Tsukanov
f14aac365b
WIP
8 years ago
Nikita Tsukanov
c742fa42d2
[REMOTE] Skip unknown BSON properties
8 years ago
Nikita Tsukanov
d2e930af38
[X11] Use simple DllImport-based GTK file dialog instead of GTK3 backend
8 years ago
Steven Kirk
233adc9ca5
Added `:not()` style selector.
8 years ago
Steven Kirk
6a167a6882
Use Window.Opened event for rxui activation.
8 years ago
Steven Kirk
81846e87ec
Added TopLevel.Opened event.
And raise the event when a window is opened.
8 years ago
Artyom
533284cd61
Fix AvaloniaProperty registration type
8 years ago
Nikita Tsukanov
88fdbcf2a9
[X11] Call XCreateIC *after* creating a window, not before
8 years ago
Nikita Tsukanov
aa18bbf224
[GLX] Use glxGetProcAddress and always pass at least something to GlxMakeContextCurrent
8 years ago
Nikita Tsukanov
a7b09c05d5
[GLX] Try newer versions of OpenGL first
8 years ago
Nikita Tsukanov
abd05f0ed7
[X11] Abort GLX context creation if GL_VERSION is null
8 years ago
Nikita Tsukanov
f1e3fb8d22
[X11] Always use a separate child window for rendering if OpenGL is available
8 years ago
Nikita Tsukanov
9eef037079
[X11] Don't use XSync with discard=true from the main display connection
8 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.
8 years ago
Nikita Tsukanov
ed9dff6b8f
[X11] Use GLX and transparent visuals when possible
8 years ago
Nikita Tsukanov
6badd34c6a
[X11] Prevent possible blocking calls to XNextEvent
8 years ago
Kermalis
c112ce30c5
Update NumericUpDown Text when losing focus
8 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`.
8 years ago
Nikita Tsukanov
591ecc4ded
[RENDER] Don't crash on Paint call when renderer is already disposed
8 years ago
Steven Kirk
b5fac96d70
Fixed whitespace nit.
8 years ago
Steven Kirk
cf504b4e08
Fix nonsensical comment.
8 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.
8 years ago
Steven Kirk
10522a95a6
Fix PointToClient logic.
8 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`.
8 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`
8 years ago
Steven Kirk
580a7adbe4
Added PixelPoint and PixelRect.
In addition to `PixelSize`.
8 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.
8 years ago
Dmitry Zhelnin
985a3e7f2e
fix ValueChanged event of NumericUpDown
8 years ago
Steven Kirk
65234e8e43
Allow for null renderer.
This can happen in unit tests.
8 years ago
Nikita Tsukanov
fb783c98db
Reformat X11Atoms.cs
8 years ago
Nikita Tsukanov
e1f4a243d7
[SKIA] Don't crash the entire renderer if one of the text lines have 0 length
8 years ago
Nikita Tsukanov
ec6973e903
[X11] Fixed default cursor (KDE wasn't happy)
8 years ago
Nikita Tsukanov
f10373a1cc
[X11] Fixed clipboard
8 years ago
Nikita Tsukanov
ad018c604c
[RENDERER] Postpone layers and render target dispose until lock can be acquired
8 years ago
Nikita Tsukanov
55577cf2b5
[SKIA] Throw if asked to render to GL target with invalid dimensions
8 years ago
Nikita Tsukanov
a1256978dc
Wrap access to GrContext in locks
8 years ago
Nikita Tsukanov
fd149b80dc
Dispose disposables
8 years ago
Steven Kirk
38a3db18cb
Added IRenderer.SceneInvalidated event.
And use this event to trigger an update of the mouse pointer-over state.
8 years ago
Nikita Tsukanov
7766d71f61
Use X11 backend for Linux by default
8 years ago
Nikita Tsukanov
22acc5147e
[X11] Changed event loop to avoid handling events too late
8 years ago
Dan Walmsley
025c973435
[RENDER] Don't crash if UpdateScene produced a null scene
8 years ago
Dan Walmsley
b33d8a3a8d
[X11] Various fixes
8 years ago
Nikita Tsukanov
2e305451f0
Properly set size hints
8 years ago
Nikita Tsukanov
dc67ec44dc
[X11] Fix motif masks and enforce noresize by setting min/max size
8 years ago
Nikita Tsukanov
0275907997
[X11] Handle Expose events using dispatcher with Render priority
8 years ago
mstr2
5cbe89e9d6
Switched AvaloniaPropertyRegistry._properties from Dictionary to List
8 years ago
Nikita Tsukanov
2104982ef0
[X11] Use XTranslateCoordinates for configure events with override_redirect and send_event being false
8 years ago
Nikita Tsukanov
db5d3aa854
[X11] Fixed maximize behavior for transient windows
8 years ago
Dan Walmsley
359f15f7a1
fix text input
8 years ago