Simon Hausmann
|
71a1daaf5a
|
Don't crash if we can't find the unicode replacement character
Fall back to a question mark :-)
|
2020-08-04 14:28:45 +02:00 |
|
Olivier Goffart
|
894d44e3ac
|
Correctly print syntax errors in the viewer
(instead of panicking because of invalid synstax_node invariant)
|
2020-08-04 12:59:49 +02:00 |
|
Olivier Goffart
|
2d04e47230
|
Remove stray dbg
|
2020-08-04 12:59:49 +02:00 |
|
Simon Hausmann
|
41671e3efb
|
Represent the window scale factor conversions in the IR
That means less code in the generators and easier to extend in the
future with more built-in functions.
|
2020-08-04 12:49:37 +02:00 |
|
Olivier Goffart
|
1d0eacc87f
|
Fix wasm build
|
2020-08-04 12:22:40 +02:00 |
|
Olivier Goffart
|
01a626cf49
|
Fix panic when the glyph do not exist in the font
This happen with emoji.
Show a replacement character (�) instead
|
2020-08-04 12:18:30 +02:00 |
|
Olivier Goffart
|
e4cd21efd6
|
Compile
|
2020-08-04 10:00:05 +02:00 |
|
Simon Hausmann
|
4f0bf0b982
|
Rename dpi to (window) scale_factor
|
2020-08-04 09:01:30 +02:00 |
|
Simon Hausmann
|
57154a7467
|
Oops, fix build
|
2020-08-04 08:33:50 +02:00 |
|
Simon Hausmann
|
df4e837b04
|
Move model placeholder module out of abi
|
2020-08-04 08:27:34 +02:00 |
|
Simon Hausmann
|
f79b80f1e6
|
Split corelib::abi::sharedarray into corelib::sharedarray and corelib::sharedarray::ffi
|
2020-08-04 08:26:44 +02:00 |
|
Simon Hausmann
|
3ad7a55038
|
Split corelib::abi::signals into corelib::signals and corelib::signals:ffi
|
2020-08-04 08:24:04 +02:00 |
|
Olivier Goffart
|
b9088aa178
|
Fix linking of C++ code
|
2020-08-03 18:45:25 +02:00 |
|
Olivier Goffart
|
da11b33e9b
|
Version check
Compilation error when the compiler and the runtime are not on the same version
|
2020-08-03 18:44:36 +02:00 |
|
Simon Hausmann
|
37f874a26b
|
Rename test_ellapse_time to mock_elapsed_time
|
2020-08-03 17:52:42 +02:00 |
|
Simon Hausmann
|
f2166d91a6
|
Move tests out of abi
|
2020-08-03 17:48:17 +02:00 |
|
Simon Hausmann
|
dbd6708959
|
Move string out of abi
And split the FFI-only bits into an ffi submodule.
|
2020-08-03 17:44:49 +02:00 |
|
Simon Hausmann
|
0252d2ac34
|
Move slice out of abi
|
2020-08-03 17:41:16 +02:00 |
|
Simon Hausmann
|
9b13b363c3
|
Move corelib::abi::properties to corelib::properties
And the bits that are only there for the C binding are now in an ffi sub-module.
|
2020-08-03 17:32:28 +02:00 |
|
Olivier Goffart
|
1bfd708784
|
Change the field_offsets() function to a FIELD_OFFSETS associated const
|
2020-08-03 16:04:55 +02:00 |
|
Simon Hausmann
|
785bdb62ed
|
Fix linking on Linux
|
2020-08-03 15:35:19 +02:00 |
|
Simon Hausmann
|
a662d36dc3
|
Move ItemTreeNode from datastructures into item_tree
|
2020-08-03 14:38:08 +02:00 |
|
Simon Hausmann
|
f284af27c0
|
Fix build without rtti
|
2020-08-03 14:34:34 +02:00 |
|
Simon Hausmann
|
76adda0abd
|
Move ComponentWindow and friends from datastructures into eventloop
|
2020-08-03 14:26:47 +02:00 |
|
Simon Hausmann
|
8338bd4360
|
Move CachedRenderingData from datastructures into item_rendering
|
2020-08-03 14:17:38 +02:00 |
|
Simon Hausmann
|
45b02e9a3e
|
Move the item visitor bits from datastructures into item_tree
|
2020-08-03 14:10:32 +02:00 |
|
Simon Hausmann
|
37fa04098f
|
Move MouseEvent and MouseEventType from datastructures into input
|
2020-08-03 13:55:33 +02:00 |
|
Simon Hausmann
|
97a2fb2c7b
|
Move datastructures::EasingCurve into animations
|
2020-08-03 13:49:20 +02:00 |
|
Simon Hausmann
|
30d7a0b36d
|
Move PathData and friends from datastructure to
graphics
|
2020-08-03 13:43:44 +02:00 |
|
Simon Hausmann
|
b05a11945e
|
Move datastructures::LayoutInfo into layout
|
2020-08-03 13:31:43 +02:00 |
|
Simon Hausmann
|
1b270f42d0
|
Move datastructures::Color into graphics
|
2020-08-03 13:27:35 +02:00 |
|
Simon Hausmann
|
fa87363dc5
|
Move Point, Rect and Size into graphics
And move the expanded structures for cbindgen into an ffi sub-module.
|
2020-08-03 13:24:39 +02:00 |
|
Simon Hausmann
|
a2cec9e86f
|
Clean up LyonPathIterator API
* Remove Lyon from the name and instead call it PathDataIterator.
* Remove the fit() function and just provide two factory functions.
|
2020-08-03 13:18:38 +02:00 |
|
Olivier Goffart
|
026288ae19
|
Compile fix
|
2020-08-03 13:13:44 +02:00 |
|
Simon Hausmann
|
ce7f66320b
|
Move datastructures::Resource into graphics
It's only used for graphics at the moment and used
for image resources.
|
2020-08-03 12:47:05 +02:00 |
|
Simon Hausmann
|
05f3ff10a6
|
Rename graphics::RenderingPrimitive to HighLevelRenderingPrimitive
That plays better with the existing LowlLevelRenderingPrimitive.
|
2020-08-03 12:39:57 +02:00 |
|
Simon Hausmann
|
550d0122a5
|
Move datastructures::RenderingPrimitive to graphics
|
2020-08-03 12:39:52 +02:00 |
|
Simon Hausmann
|
aa398c6277
|
Rename Resource::EmbeddedDataOwned -> EmbeddedRgbaImage
|
2020-08-03 12:20:17 +02:00 |
|
Simon Hausmann
|
97a93a3157
|
Make LyonPathIterator private in terms of docs
|
2020-08-03 12:18:06 +02:00 |
|
Olivier Goffart
|
86a85cf838
|
vtable: change #[offset] to #[field_offset]
And add a documentation for it
|
2020-08-03 11:26:48 +02:00 |
|
Olivier Goffart
|
00c32e9c6d
|
vtable: remove the convinient type alias from the macro
If one really need them, they can be implemented by the user
|
2020-08-03 11:03:24 +02:00 |
|
Simon Hausmann
|
69beab5957
|
Rename corelib::abi::primitives to corelib::items
|
2020-08-03 10:32:03 +02:00 |
|
Simon Hausmann
|
72d2a430ee
|
Add missing sixtyfps- prefix to the corelib-macros crate
|
2020-08-03 10:24:52 +02:00 |
|
Simon Hausmann
|
c29791fbaa
|
Replace a few qualified abi::primitives paths with uses
That'll make it easier to do the next rename :-)
|
2020-08-03 10:13:32 +02:00 |
|
Simon Hausmann
|
44109130f0
|
Rename corelib_macro to corelib-macros
|
2020-08-03 10:01:58 +02:00 |
|
Simon Hausmann
|
6c5d423cd4
|
Rename sixtyfps_corelib to sixtyfps-corelib
|
2020-08-03 10:01:58 +02:00 |
|
Olivier Goffart
|
2e74fa43cd
|
Use pin-weak from crates.io
|
2020-08-03 09:18:04 +02:00 |
|
Olivier Goffart
|
cb67e40c32
|
Rename WeakPin -> PinWeak
|
2020-07-31 18:19:26 +02:00 |
|
Olivier Goffart
|
75671c18e7
|
Rename weak-pin crate to pin-weak
|
2020-07-31 18:18:12 +02:00 |
|
Olivier Goffart
|
77cf1e1e83
|
Some documentation change following today review
|
2020-07-31 16:28:59 +02:00 |
|