Commit History

Author SHA1 Message Date
  Michael Ragazzon d7c4aa83d5 Remove all_dirty bool in OnPropertyChange 6 years ago
  Michael Ragazzon c2a1469cc5 Update element properties when creating scrollbars. 6 years ago
  Michael Ragazzon e74110e709 Faster query for dirty layout 6 years ago
  Michael Ragazzon d1d72de3f8 Replace PropertyNameList with PropertyIdSet (previously DirtyPropertyList) 6 years ago
  Michael Ragazzon e21b962117 Core::Lua Plugin now deletes itself on Core::Shutdown. 6 years ago
  Michael Ragazzon cb0ad4af19 Clean up element pointers in Context on detach. I think maybe we should use SharedPtr instead of UniquePtr for elements so we can extend its lifetime until the end of the next Update call. 6 years ago
  Michael Ragazzon cb347e1a38 NULL to nullptr 6 years ago
  Michael Ragazzon 130674a7b2 Refining the Core API: Now interfaces and instancers are passed as raw pointers to RmlUi, and considered non-owning. It is the user's responsibility to keep the objects alive until after Core::Shutdown and then release these objects at their discretion. 6 years ago
  Michael Ragazzon 9a5648389d Remove the last usage of ReferenceCountable, FontFaceHandle. 6 years ago
  Michael Ragazzon 3691b70f98 Remove ReferenceCountable from StyleSheet 6 years ago
  Michael Ragazzon dc1cff5a4c Make sure all element removal is signaled to context. 6 years ago
  Michael Ragazzon 39318abafa Make a Releasable class for the smart pointer deleters, to aid in correct new/delete across libraries. 6 years ago
  Michael Ragazzon 99c1873d7c Clean up. Make element instancer unique_ptr. 6 years ago
  Michael Ragazzon ab8bc1e2af Remove reference count on Element and replace by unique_ptr 6 years ago
  Michael Ragazzon f8fbdb6e77 Fix issues where animations removed using std::remove_if were used before erase. Instead, use std::partition. This could previously result in wrong properties being removed from the element when an animation/transition was completed or changed. 6 years ago
  Michael Ragazzon 27f54e5bff Move transition/animation update to before style definition update. 6 years ago
  Michael Ragazzon 391f39b038 Merge branch 'master' into performance 6 years ago
  Michael Ragazzon eff01ba43a The big rename. We are now RmlUi version 2.0! 6 years ago
  Michael Ragazzon 93dd452fbd Merge branch 'property_id' into performance 6 years ago
  Michael Ragazzon 9a04ade50b Cleanup element style and definition. 6 years ago
  Michael Ragazzon 23e356ae4c Remove pseudo class properties from element definition. This simplifies the code a whole lot, and makes fetching a new definition a lot faster. This means that we have to fetch new definitions more often (specifically, now also when we set a pseudo class), but despite this, the net performance gains are substantial. We could introduce flags to avoid this later. 6 years ago
  Michael Ragazzon 64334936cd ElementStyle cleanup. Add const where appropriate. Remove indirection to local style properties. Replace NULL with nullptr. 6 years ago
  Michael Ragazzon 05a24f63d5 Now that we have PropertyIds, we can use a bitset to represent dirty properties, increasing iteration performance. 6 years ago
  Michael Ragazzon 08bdba69b3 Changed the tiled-decorators to take 'x y width height' properties instead of two coordinates, optimize decorator instantiation, especially when using sprites. 6 years ago
  Michael Ragazzon cc0b4a459a Decorators and their instancers now use smart pointers instead of manual reference counting 6 years ago
  Michael Ragazzon fe0aa05095 Properly remove transitions when the transition property is removed from the element. 6 years ago
  Michael Ragazzon da19735515 Remove transitions that are no longer part of the transition property (partial fix) 6 years ago
  Michael Ragazzon bb949df66b Can now use a shorthand to declare decorators inside elements. 6 years ago
  Michael Ragazzon ac40b7177c WIP, decorators partially working. 6 years ago
  Michael Ragazzon dfdea4affd WIP: At-rule for decorators 6 years ago