Commit graph

  • f03ba40d50 Fix spurious test failures Simon Hausmann 2020-07-07 18:21:59 +02:00
  • 89a05245f9 Fix SharedArray length in bytes to be a multiple of pointer alignment Simon Hausmann 2020-07-07 16:00:00 +02:00
  • f646809ff4 Added ArcTo element for paths Simon Hausmann 2020-07-07 14:11:19 +02:00
  • a83127ace8 Prepare the path element compilation for extensibility Simon Hausmann 2020-07-07 09:51:45 +02:00
  • 1ab71b8ca3 Prepare the path element setup in the run-time for extensibility Simon Hausmann 2020-07-07 10:47:13 +02:00
  • 9d9779ecde Fix linter warning Simon Hausmann 2020-07-07 10:41:06 +02:00
  • 9a73443e14 Allow for path elements to contain bindings Simon Hausmann 2020-07-05 22:55:00 +02:00
  • 9cf2d618d2 Use Lyon's path builder Simon Hausmann 2020-07-04 13:33:20 +02:00
  • fdf7169459 Fix is_constant for Expression::PathElements Simon Hausmann 2020-07-03 18:39:02 +02:00
  • a71c67152e Revert "Prepare for additional path elements" Simon Hausmann 2020-07-03 18:34:57 +02:00
  • d0b44a125d Support for if expression in the interpreter Olivier Goffart 2020-07-03 17:54:17 +02:00
  • 90532e80d2 C++: Support of dynamic model and if expression Olivier Goffart 2020-07-03 17:37:07 +02:00
  • 20369c7fc7 Fix nested components Olivier Goffart 2020-07-03 14:04:51 +02:00
  • 1cbd522a03 Rust: make non-constant model and if expression work Olivier Goffart 2020-07-03 13:03:01 +02:00
  • 769474a478 Introduce a property listener Olivier Goffart 2020-07-03 13:02:50 +02:00
  • b529a021a2 Fix bug in the property linked list Olivier Goffart 2020-07-02 18:08:46 +02:00
  • 90ed79e39f Remove unused code in the animation driver Olivier Goffart 2020-07-02 17:36:34 +02:00
  • 055a3baf90 Remove the binding when the animation on value is finished. Olivier Goffart 2020-07-02 17:28:04 +02:00
  • 9d852f802e Property refactoring Olivier Goffart 2020-07-01 18:46:33 +02:00
  • facc18d0eb Fix formatting Simon Hausmann 2020-07-02 11:25:29 +02:00
  • d143addb07 Prepare for additional path elements Simon Hausmann 2020-07-02 10:40:31 +02:00
  • 196aef5fbe Fix C++ linkage on Linux Simon Hausmann 2020-07-02 09:10:06 +02:00
  • 9bf3533c9b Fix C++ build Simon Hausmann 2020-07-02 08:56:34 +02:00
  • e54931ea9b Remove stray debug output Simon Hausmann 2020-07-02 08:50:16 +02:00
  • 5e61ed4ad2 Implement Path and LineTo in the markup Simon Hausmann 2020-06-29 21:19:52 +02:00
  • 4e22c2839e Add the rendering primitives for rendering a path Simon Hausmann 2020-06-29 20:21:51 +02:00
  • e4ab64f858 Add a SharedArray type Simon Hausmann 2020-06-30 11:56:49 +02:00
  • 6863c3f631 Use scoped_thread_local for the CURRENT_BINDING Olivier Goffart 2020-06-30 10:11:34 +02:00
  • 009addf9b4 Logical operations and comparisons and unary operators Olivier Goffart 2020-06-29 18:34:31 +02:00
  • c4b1feeea0 Parse Equality opreration Olivier Goffart 2020-06-29 15:54:38 +02:00
  • c653f555ea Begin parsing Path elements Simon Hausmann 2020-06-29 16:48:20 +02:00
  • 38b605998c Fix build Simon Hausmann 2020-06-29 16:44:54 +02:00
  • 85ac4ad824 Generalize the handling of contextual elements Simon Hausmann 2020-06-29 15:42:16 +02:00
  • 19a8559d3f WIP: Conditional elements Olivier Goffart 2020-06-29 15:02:51 +02:00
  • 8851ad0f3d Interpreter: Don't copy the property_animations from the object_tree::Component to the ComponentDescription Olivier Goffart 2020-06-29 11:01:20 +02:00
  • 89ad110fc2 Test nodejs driver: print compile error on the console if there are some Olivier Goffart 2020-06-29 10:52:48 +02:00
  • 967a2b94eb C++: put a pointer to the parent in the component Olivier Goffart 2020-06-29 10:11:08 +02:00
  • f35c12aef1 Fix building of the nodejs frontend for the tests Olivier Goffart 2020-06-29 10:34:20 +02:00
  • ba15a768d6 Add the ability to output rust code to the compiler cli Simon Hausmann 2020-06-29 08:41:20 +02:00
  • df20072970 Fix comment Simon Hausmann 2020-06-27 17:48:35 +02:00
  • b8ca0fe3c9 Add support for animating color properties Simon Hausmann 2020-06-27 16:51:48 +02:00
  • be75cb2b21 Fix failing C++ build tests Simon Hausmann 2020-06-27 16:09:59 +02:00
  • f7517f403c Make the color a valid property type Simon Hausmann 2020-06-26 21:46:37 +02:00
  • 288ad0cba8 Add support for animations of declared properties Simon Hausmann 2020-06-26 20:30:00 +02:00
  • 4f2f27cbda Simplify property and binding setting code in the interpreter Simon Hausmann 2020-06-26 17:07:25 +02:00
  • 45de3d832e Minor cleanup in the interpreter animation handling Simon Hausmann 2020-06-26 16:27:23 +02:00
  • d267039fa8 Put a pointer to the parent component in the component Olivier Goffart 2020-06-26 19:26:55 +02:00
  • f8a63b1b76 Add a weak-pin crate that can be used to create Weak pointr from Pin<Rc> Olivier Goffart 2020-06-26 17:26:06 +02:00
  • fe64712582 Fix rectangle rendering Simon Hausmann 2020-06-26 17:19:02 +02:00
  • 2d22bac451 Use Pin<&Self> for Property::get Olivier Goffart 2020-06-26 13:18:04 +02:00
  • 0029921f1a Pin the items in the interpreter Olivier Goffart 2020-06-26 11:55:05 +02:00
  • f80addb6a3 Make the viewer's animation work Olivier Goffart 2020-06-26 10:45:30 +02:00
  • 36bd645e09 First stab at supporting animations in the interpreter. Simon Hausmann 2020-06-25 16:23:04 +02:00
  • 1b748792ad Visit the item as Pin Olivier Goffart 2020-06-25 18:50:20 +02:00
  • 40f4265071 Some improvement in ConstFieldOffset trait Olivier Goffart 2020-06-25 18:23:08 +02:00
  • 812b08b50c const_field_offset: Add compile type type for the offset Olivier Goffart 2020-06-25 17:46:29 +02:00
  • c18861125d Small typo fix :-) Simon Hausmann 2020-06-25 14:22:10 +02:00
  • bcaaa126da Beef up the hello.60 test case a litte with an animation Simon Hausmann 2020-06-25 14:18:32 +02:00
  • d5c4955500 Fix running this hello.60 copy in the viewer Simon Hausmann 2020-06-25 13:49:23 +02:00
  • e6b386ab53 Implement property animations for C++ Simon Hausmann 2020-06-25 13:32:50 +02:00
  • f50a705e00 Add the #[pin] attribute to be able to project to the pinned item Olivier Goffart 2020-06-25 12:17:32 +02:00
  • 9ed660926c Added a #[pin] attribute in the FieldOffsets macro Olivier Goffart 2020-06-25 11:53:17 +02:00
  • 23e9397578 Add a Pinned flag to FieldOffset Olivier Goffart 2020-06-25 10:32:30 +02:00
  • a19c9619fa Prepare PropertyAnimationBinding for use with C++ Simon Hausmann 2020-06-25 11:55:24 +02:00
  • c40840baf9 Property animation binding cleanups for upcoming C++ support Simon Hausmann 2020-06-25 11:38:52 +02:00
  • 9bd6fd0808 Naming cleanups in preparation for C++ support Simon Hausmann 2020-06-25 10:10:22 +02:00
  • fb74a8ddd4 Fix animations for the wasm build Simon Hausmann 2020-06-25 09:07:04 +02:00
  • ee4b78a132 Delete value animations when they are done Simon Hausmann 2020-06-25 09:01:26 +02:00
  • 8675cfb183 Fix animation driver to deal with freed animations Simon Hausmann 2020-06-25 08:58:13 +02:00
  • 459a8e3b25 Clean up property and animation associated Simon Hausmann 2020-06-25 08:42:27 +02:00
  • 8be058d563 Clean up property binding interface Simon Hausmann 2020-06-25 08:26:14 +02:00
  • e7ba02c85a Fix animation of properties by value in the Rust generator Simon Hausmann 2020-06-25 08:20:16 +02:00
  • d4e68971ef Make FieldOffset contra-variant in U Olivier Goffart 2020-06-24 18:53:53 +02:00
  • 4960cee542 const-field-offset: some documentation fixup Olivier Goffart 2020-06-24 18:07:30 +02:00
  • b6705c6c69 const_field_offset: ensure that the structure is not repr(packed) Olivier Goffart 2020-06-24 18:02:34 +02:00
  • f14eb956bf Silly tweak to example for animations Simon Hausmann 2020-06-24 16:03:09 +02:00
  • 3d85cb7f23 Add basic support for property animations to the rust generator Simon Hausmann 2020-06-24 09:01:35 +02:00
  • 3a5ebd86e0 Prepare to connect Property with PropertyAnimation Simon Hausmann 2020-06-24 14:27:06 +02:00
  • ab697ab71d Parse animation declarations into the object tree Simon Hausmann 2020-06-24 09:06:19 +02:00
  • 388c98bba5 Parse animate someProperty { ... } declarations Simon Hausmann 2020-06-23 16:28:01 +02:00
  • caca0d0ba4 Put the component in a Pin<> Olivier Goffart 2020-06-24 14:13:27 +02:00
  • de74ae4534 Fix warrning warnings in C++ code when using array models with integer literals Simon Hausmann 2020-06-24 10:47:00 +02:00
  • 197a900331 Fix drop for PropertyAnimation Simon Hausmann 2020-06-23 13:55:31 +02:00
  • 90766f0f82 Simplify PropertyAnimation Simon Hausmann 2020-06-23 13:51:09 +02:00
  • 4f761960f0 Remove stray debug output Simon Hausmann 2020-06-23 13:40:48 +02:00
  • 688f111563 Added simple linear property animation class Simon Hausmann 2020-06-23 13:27:09 +02:00
  • d99972a77a Simplify animation driver handling Simon Hausmann 2020-06-23 13:00:00 +02:00
  • 32c230e840 Property: small refactor to improve reasoning about the safety Olivier Goffart 2020-06-23 11:41:41 +02:00
  • 4ee86a9bef Add a generic T to Binding and PropertyImpl Olivier Goffart 2020-06-23 11:13:34 +02:00
  • 264dfa3148 Add support for animations to Property<T> Simon Hausmann 2020-06-17 18:49:43 +02:00
  • 5762f5b065 Small naming cleanups Simon Hausmann 2020-06-22 13:59:52 +02:00
  • 7694337181 Simplify the animation driver API Simon Hausmann 2020-06-22 19:26:12 +02:00
  • 85b06c3342 Interpreter: support for Object as Value Olivier Goffart 2020-06-22 19:03:54 +02:00
  • c682d14e0b C++: Object literal and ObjectAccess Olivier Goffart 2020-06-22 18:30:40 +02:00
  • 6133e35df8 Rust: Object literal and ObjectAccess Olivier Goffart 2020-06-22 18:10:32 +02:00
  • f744fcccab Lookup within objects properties Olivier Goffart 2020-06-22 17:35:01 +02:00
  • fa0c393dca Interpreter: Fix property access from parent component in repeater element Olivier Goffart 2020-06-22 15:22:38 +02:00
  • f8b7989c0b Access the properties in the parent component of a repeated element Olivier Goffart 2020-06-22 14:38:38 +02:00
  • 53e61629ca Fix access to property declared within the repeater. Olivier Goffart 2020-06-22 10:18:59 +02:00
  • 98ba6a66be Switch glow version to upstream master revision Simon Hausmann 2020-06-22 08:30:30 +02:00