Commit History

Author SHA1 Message Date
  Michael Ragazzon 6c53cbf85b Remove #include "precompiled.h" from source files, CMake handles it instead. Include what we actually use in header and source files. For non-precompiled headers measurements indicate ~30% reduction in compile time. See #81. 5 years ago
  Michael Ragazzon b4c4c48297 ResolveLength to ResolveNumericProperty, see #55. Angles now require units of deg or rad. 6 years ago
  Michael Ragazzon 039841c537 Make the resolve length functions safer, returns zero if unsuccessful. Rename to ResolveLength (emphasizes returned unit). Add Element::ResolveLength(property_name). See #55. 6 years ago
  Michael Ragazzon 4b539c167d Don't dirty every property during ElementStyle initialization. Only dirty as necessary. Make sure we dirty inherited properties when inserted into a new parent. 6 years ago
  Michael Ragazzon 836026788b Clean up element style 6 years ago
  Michael Ragazzon d1d72de3f8 Replace PropertyNameList with PropertyIdSet (previously DirtyPropertyList) 6 years ago
  Michael Ragazzon cb347e1a38 NULL to nullptr 6 years ago
  Michael Ragazzon 68f53dce67 Clean up types and aliases, trying to be more consistent. 6 years ago
  Michael Ragazzon 3691b70f98 Remove ReferenceCountable from StyleSheet 6 years ago
  Michael Ragazzon 6833c4d5bc Remove reference countable from element definition 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 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 3f17844b7e No need to dirty decorators in update definition anymore. Postpone dirty child definitions to update. 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 89821a3e90 WIP PropertyId 6 years ago
  Michael Ragazzon 85a633693c Remove the old IterateProperties, replace with new iterators 6 years ago
  Michael Ragazzon 68eefcaeb0 Move iterators to separate file 6 years ago
  Michael Ragazzon d88d67ddc6 Drop the iterator wrapper in element definition 6 years ago
  Michael Ragazzon 041515844a Implement iterators for element style 6 years ago
  Michael Ragazzon 020357fefc Clean up dirty properties in element style 6 years ago
  Michael Ragazzon 240b84cb19 Implement iterator for element definition 6 years ago
  Michael Ragazzon 0bba316576 Moving dirty properties to ElementStyle 6 years ago
  Michael Ragazzon 48fa0e46a3 ElementText, wait for OnRender to generate geometry, reserve vector size 6 years ago
  Michael Ragazzon 0242f6366b Top and bottom z-index values not supported 6 years ago
  Michael Ragazzon b7f84b1e1a Minor cleanup 6 years ago
  Michael Ragazzon d4422169bf Some more cleanup, remove pixels per inch interface, set to a constant 96 ppi as per CSS specs. 6 years ago
  Michael Ragazzon 6078956945 Clean up 6 years ago