summaryrefslogtreecommitdiff
path: root/src/select
Commit message (Collapse)AuthorAgeFilesLines
...
* Separate node data creation and node bloom creation.Michael Drake2016-11-191-18/+37
|
* Allow more than just bloom to be stored on nodes.Michael Drake2016-11-192-45/+90
| | | | | We now have a css_node_data struct which is sored on nodes. It currently contians just the bloom filter.
* Split bloom filter get/set out into helpers.Michael Drake2016-11-191-93/+148
|
* Remove redundant API surface.Michael Drake2016-11-193-8/+14
|
* Remove trailing whitespace.Michael Drake2016-11-191-1/+1
|
* Add comment.Michael Drake2016-11-191-0/+1
|
* Intern partial styles.Michael Drake2016-11-193-9/+129
| | | | | Note this changes the public API. We can't compose directly over child style now, since it may be interned.
* Composition: Avoid extension block checks irrelevent to property group.Michael Drake2016-11-191-14/+18
|
* Change arena hash from FNV-1 to 32-bit MurmurHash2.Michael Drake2016-11-192-17/+68
|
* After composing styles, intern the result in the style sharing arena.Michael Drake2016-11-191-4/+25
| | | | | Note this changes the API. Selection tests updated.
* Add arena module for interning computed styles.Michael Drake2016-11-193-1/+423
| | | | Builds, but currently unused.
* Ensure computed content items are initialised to zero.Michael Drake2016-11-191-0/+1
| | | | This allows comparing them with memcmp.
* Move trivially compared parts of computed styles to sub-structures.Michael Drake2016-11-1918-454/+496
|
* Selection hash module: calloc instead of malloc, memset.Michael Drake2016-10-151-9/+5
|
* Access lwc caseless hash through supported API.Michael Drake2016-10-153-40/+32
|
* Fix up error path.Michael Drake2016-02-081-1/+1
|
* Change how presentational hints are handled.Michael Drake2016-02-021-33/+36
| | | | | | | | | | | | | | | Previously, we performed normal selection from CSS sources, and then iterated over all the properties in the populated computed style. If the properties were unset or their values were not from either a UA stylesheet or user stylesheet with !important set, then we asked the client program (e.g. NetSurf) if there were any presentational hints for that node, for each such property. In the worst case this triggered N_PROPERTIES * N_NODES calls back to the client program, even for properties that can't be set via HTML attributes. The new API asks the client to supply a list of all the presentational hints that apply to the given node. For most nodes on modern documents, this is 0. Any presentational hints are applied before selection from CSS sources.
* Slight simplification of set_initial group checks.Michael Drake2015-08-191-19/+18
|
* Revert "Fix use of uninitialized values in style composition."John-Mark Bell2015-03-101-4/+4
| | | | This reverts commit 9a3112f46fcfce9952134fa230b5879ac33b8e3c.
* Fix use of uninitialized values in style composition.John-Mark Bell2015-03-101-4/+4
|
* Use named initialisers for initial uncommon block.Michael Drake2015-03-071-31/+38
|
* Simplify length absolutification.Michael Drake2015-02-281-93/+19
| | | | | | Prevents harmless "Conditional jump or move depends on uninitialised value(s)" in case of properties set to "normal". Now we only absolutify EX values if the there is a value set.
* Use calloc instead of malloc/memset.Michael Drake2015-01-241-3/+1
|
* Use calloc instead of malloc/memset.Michael Drake2015-01-241-3/+1
|
* Add absolutification for column-gap.Michael Drake2015-01-101-0/+8
|
* Absolutification of column-width.Michael Drake2015-01-101-0/+8
|
* Improve comment.Michael Drake2015-01-101-2/+2
|
* Implement absolutification for column-rule-width.Michael Drake2015-01-101-2/+18
|
* Sync public getter wrapper's absolutification handling.Michael Drake2015-01-101-17/+10
|
* Need to pass normal property value though to the client.Michael Drake2015-01-101-43/+2
| | | | It has semantic meaning different from any absolute value (for justified text).
* Avoid duplicate get_column_rule_color call.Michael Drake2015-01-021-3/+1
|
* Trivial optimisation.Michael Drake2015-01-021-8/+13
|
* Ensure letter and word spacing are always absolutified.Michael Drake2015-01-021-2/+16
|
* Add absolute value conversion of currentColor for column-rule-color.Michael Drake2014-12-311-0/+8
|
* Fix handling of currentColor.Michael Drake2014-12-311-4/+2
|
* Fix break-{after,before,inside} group definition.John-Mark Bell2014-12-311-3/+3
|
* Fix.Michael Drake2014-12-311-34/+38
|
* Use appropriate enum labels.Michael Drake2014-12-291-5/+5
| | | | (They have the same values anyway.)
* Fixup break-inside.Michael Drake2014-12-291-2/+27
|
* Add break-inside property support.Michael Drake2014-12-294-30/+59
|
* Add break-before property support.Michael Drake2014-12-294-35/+59
|
* Add break-after property support.Michael Drake2014-12-295-41/+72
|
* Add helpers for selecting break-* properties.Michael Drake2014-12-292-0/+52
|
* Add comment to explain choice of defaults in the default uncommon extension ↵Michael Drake2014-12-291-0/+2
| | | | block.
* Fix many default values for "uncommon" properties.Michael Drake2014-12-291-16/+32
|
* Fix broken absolute valuification of letter and word spacing properties.Michael Drake2014-12-291-4/+6
|
* Tiny optimisation for computed style absolute valuification.Michael Drake2014-12-291-3/+1
|
* Fix use of wrong enum value.Michael Drake2014-12-081-1/+1
| | | | Coverity: 1257106 Inferred misuse of enum.
* Add public accessor for column-width property.Michael Drake2014-12-061-0/+6
|
* Add column-width property to computed styles.Michael Drake2014-12-064-41/+82
|