Steven Kirk
695c48382b
Fix AllowUnsafeBlocks.
Was only enabled in debug build.
9 years ago
Steven Kirk
b725bc777b
Merge branch 'master' into single-win32-assembly
Conflicts:
src/Windows/Avalonia.Win32/Avalonia.Win32.Shared.projitems
src/Windows/Avalonia.Win32/Embedding/EmbeddedWindowImpl.cs
9 years ago
Steven Kirk
aa09db0f58
Merge pull request #1373 from AvaloniaUI/fixes/1372-textbox-pointer-capture
Handle pointer down/up events in Thumb.
9 years ago
Steven Kirk
92094473e3
Handle pointer down/up events in Thumb.
Fixes #1372 .
9 years ago
Steven Kirk
6656b10376
Merge pull request #1371 from jkoritzinsky/refcount-scene
Don't dispose visual nodes replaced with themselves.
9 years ago
Steven Kirk
c8ed20d66c
Merge branch 'master' into refcount-scene
9 years ago
Jeremy Koritzinsky
c88f7a9844
Merge branch 'refcount-scene' of https://github.com/jkoritzinsky/Avalonia into refcount-scene
9 years ago
Jeremy Koritzinsky
458d8bf760
Don't dispose replaced visual nodes if they're replaced with themselves.
9 years ago
Steven Kirk
597da9d1ec
Merge pull request #1370 from AvaloniaUI/fixes/1354-textbox-truncated
Fix TextBox text truncation.
9 years ago
danwalmsley
a747f0ddca
Merge branch 'master' into fixes/1354-textbox-truncated
9 years ago
Nikita Tsukanov
d5819db175
Merge pull request #1369 from AvaloniaUI/fixes/1074-unify-initial-directory-file-dialogs
system dialog combines the initialDirectory and InitialFileName on Gtk.
9 years ago
Steven Kirk
11903bfe08
Merge pull request #1365 from jkoritzinsky/refcount-scene
Add ref-counting for the scene instance in DeferredRenderer
9 years ago
Steven Kirk
e5800c17f1
Fix TextBlock click positioning.
When the click was outside the `TextPresenter`, it was not registering with the `TextBox` so the caret was being moved to the beginning.
9 years ago
Steven Kirk
b7de65f1aa
Fix TextBox text truncation.
Correctly set the value of the `TextBox`'s `HorizontalScrollBarVisibility` so that the text is not truncated.
Fixes #1354
9 years ago
Steven Kirk
433939726e
Merge branch 'master' into refcount-scene
9 years ago
Dan Walmsley
fafcecf0f3
system dialog combines the initialDirectory and InitialFileName on Gtk.
9 years ago
Nikita Tsukanov
3a42ef3463
Fixed designer focus issue
9 years ago
Jeremy Koritzinsky
53bf2431ed
Clean up OnRenderLoopTick code.
9 years ago
Jeremy Koritzinsky
fd45ff050f
Merge pull request #1364 from AvaloniaUI/fixes/window-autosize
Fix Window auto-sizing.
9 years ago
Steven Kirk
2af1f20108
Mark SizeToContent with [Flags].
And explicitly assign values.
9 years ago
Jeremy Koritzinsky
8817910549
Add ref-counting for the scene instance in DeferredRenderer to ensure that we don't dispose a scene while it is being rendered.
Also rename Scene.Clone to Scene.CloneScene to prevent confusion between IRef<Scene>.Clone and Scene.Clone.
9 years ago
Steven Kirk
70d75c0eb5
Fix Window auto-sizing.
`Window` was acting like `SizeToContent="WidthAndHeight"` was set even when it wasn't. This fixes that.
9 years ago
Steven Kirk
dd2c92cfe7
Merge pull request #1363 from kekekeks/netcore-win32-previewer
.NET Core win32 previewer support
9 years ago
Nikita Tsukanov
13171c4be3
Implemented `--session-id` and `--method win32` for previewer
9 years ago
Nikita Tsukanov
75d7341fa1
"Cherry-picked" EmbeddedWindowImpl.cs from single win32 assembly PR
9 years ago
Steven Kirk
316da842bd
Merge pull request #1358 from sdoroff/data-validation-error
Created a shared DataValidationErrors framework
9 years ago
Steven Kirk
85059a36e9
Merge branch 'master' into data-validation-error
9 years ago
Steven Kirk
fe317ea61e
Merge pull request #1277 from AvaloniaUI/ref-bitmaps
Ref-counting infrastructure for bitmaps
9 years ago
Steven Kirk
4cace359b5
Merge branch 'master' into ref-bitmaps
9 years ago
Jeremy Koritzinsky
74f8930277
Fixed bug in TrimDrawOperations that wasn't disposing draw operations correctly.
9 years ago
sdoroff
5dce65f7b6
Created a shared DataValidationErrors framework
Moved Validation Error tracking to attached an attached property
Created an shared error indicator that can be simply added to control
templates and re-styled across all controls
This should reduce the need for code and markup duplication while
allowing for a consistent visual interface
9 years ago
Jeremy Koritzinsky
6b3946abec
Merge pull request #1357 from sdoroff/text-box-key-down-change
Altered OnKeyDown to accurately set handled
9 years ago
sdoroff
883c39ed6d
Merge branch 'text-box-key-down-change' of https://github.com/sdoroff/Avalonia into text-box-key-down-change
9 years ago
sdoroff
267aab12ef
Altered OnKeyDown to accurately set handled
9 years ago
sdoroff
0a6da2cbfa
Altered OnKeyDown to accurately set handled
9 years ago
Jeremy Koritzinsky
85966d3ecf
Ref-count the draw operations collection in VisualNode so it correctly keeps the elements alive when only the collection is cloned (aka no changes are made by a cloned VisualNode) and the original VisualNode is disposed.
9 years ago
Jeremy Koritzinsky
ae7e7829d4
Fixed incorrect cast in DeferredRenderer's IVisualBrushRenderer implementation.
9 years ago
Jeremy Koritzinsky
d905721c46
Add more null short-circuiting checks in DeferredRenderer related to scene disposal.
9 years ago
Jeremy Koritzinsky
ebfa79ef64
Add null check for scene in DeferredRenderer disposal.
9 years ago
Jeremy Koritzinsky
7e174a79e0
Refactored refcounting and added tests for refcount tracking in the DeferredRenderer and friends.
9 years ago
Steven Kirk
a6cfbdac93
Remove Avalonia.Win32.NetStandard dir.
9 years ago
Steven Kirk
48b3434094
Merge branch 'master' into single-win32-assembly
9 years ago
Jeremy Koritzinsky
8b97174735
Fix tests to correctly access the item of the ref-counted instance.
9 years ago
Jeremy Koritzinsky
952f89883d
Fix build errors in SceneGraph and DeferredRenderer tests.
9 years ago
Steven Kirk
79f35161be
Use correct CharSet for WNDCLASSEX
And prepend `Avalonia-` to window class. Looking in Spy++ I noticed that our window class name was garbage because the `CharSet` on `WNDCLASSEX` was wrong. Fix that and include "Avalonia" in our window classes.
9 years ago
Steven Kirk
0e126d2b06
Reimplement EmbeddedWindowImpl.
Without System.Windows.Forms.
9 years ago
Jeremy Koritzinsky
be1fab69de
Merge pull request #1350 from AvaloniaUI/fixes/337-focus-adorner-clipping
Clip Focus Adorners
9 years ago
Jeremy Koritzinsky
c1b93d4da2
Merge pull request #1338 from AvaloniaUI/fixes/1065-canscrollhorizontally
Fix ScrollContentPresenter arrange when ScrollViewer.HorizontalScrollBarVisibility is Disabled.
9 years ago
Steven Kirk
728c19eb86
Removed unused files.
9 years ago
Steven Kirk
2c2c099ad1
Merge branch 'master' into fixes/337-focus-adorner-clipping
9 years ago