summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Media Queries: remainder of parserjmb/mqJohn-Mark Bell2017-02-052-80/+351
|
* Propstrings: add AND, ONLY, ORJohn-Mark Bell2017-02-052-0/+4
|
* Media Queries: parse featuresJohn-Mark Bell2017-02-042-4/+452
|
* Units: parse new unit namesJohn-Mark Bell2017-02-042-1/+51
|
* Media Queries: sort out object lifetimesJohn-Mark Bell2017-02-043-19/+19
|
* Media Queries: datastructures and plumbing.John-Mark Bell2016-11-207-109/+233
| | | | | | | | | | | | | No parse implementation as yet. Selection hasn't been updated, either. One item of note in that area is that a client currently provides the media for top-level sheets being added to a selection context. This probably needs to change to providing a lwc_string containing the verbatim media query from the containing document's import mechanism. That way, the internal representation of media queries can remain opaque to clients.
* Merge branch 'tlsa/shared-styles'Michael Drake2016-11-1930-702/+1948
|\
| * Selection: Turn off style sharing debug output.Michael Drake2016-11-191-1/+0
| |
| * Enable sharing where pseudo common pseudo classes are the same.Michael Drake2016-11-192-8/+79
| |
| * Selection: Abstract common node flags setting code into helper.Michael Drake2016-11-191-44/+22
| |
| * Debug for recording which nodes fail to share style and why.Michael Drake2016-11-191-0/+50
| |
| * Documentation: Function param comment fix.Michael Drake2016-11-191-1/+0
| |
| * Optimisation: Bypass selection by sharing previous sibling's style.Michael Drake2016-11-192-15/+310
| |
| * Selection: Split out selection state {initi|fin}alisation.Michael Drake2016-11-191-95/+149
| |
| * Make node data contain list of partial node styles.Michael Drake2016-11-193-2/+29
| |
| * Remove option to support not storing data on DOM nodes.Michael Drake2016-11-195-31/+14
| | | | | | | | It was complicating lifetimes and ownership.
| * 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-194-12/+14
| |
| * Remove trailing whitespace.Michael Drake2016-11-191-1/+1
| |
| * Add comment.Michael Drake2016-11-191-0/+1
| |
| * Intern partial styles.Michael Drake2016-11-196-13/+140
| | | | | | | | | | Note this changes the public API. We can't compose directly over child style now, since it may be interned.
| * Remove trailing tab.Michael Drake2016-11-191-1/+1
| |
| * 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-193-7/+28
| | | | | | | | | | 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
|/
* Prepare for release of 0.6.1release/0.6.1Daniel Silverstone2016-11-191-1/+1
|
* 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
|
* Perser generator: Squash coverity #1361551 Unused valueMichael Drake2016-08-131-1/+0
|
* Parse: Squash coverity #1361552: Unused valueMichael Drake2016-08-131-2/+3
|
* Update component version for releaserelease/0.6.0Vincent Sanders2016-02-161-1/+1
|
* Update component version for releaserelease/0.5.2Vincent Sanders2016-02-161-1/+1
|
* Documentation: Fix typos.Michael Drake2016-02-101-3/+3
|
* Documentation: Presentational hint API change.Michael Drake2016-02-101-0/+19
|
* Fix up error path.Michael Drake2016-02-081-1/+1
|
* make unused variable macro more portableVincent Sanders2016-02-062-2/+2
|
* Merge branch 'tlsa/upfront-hints'Michael Drake2016-02-054-42/+47
|\
| * Change how presentational hints are handled.Michael Drake2016-02-024-42/+47
|/ | | | | | | | | | | | | | | 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.
* Update Component version for releaserelease/0.5.1Vincent Sanders2015-12-181-2/+2
|
* Remove trailing whitespace.Michael Drake2015-11-011-1/+1
|
* Slight simplification of set_initial group checks.Michael Drake2015-08-191-19/+18
|
* Add "96" to useful DPI values. (CSS pixels are 1/96 inch.)Michael Drake2015-08-051-0/+1
|
* Testutils: undef assert before useJohn-Mark Bell2015-07-181-0/+1
|
* Add doxygen automatic document generationVincent Sanders2015-06-242-0/+1793
|
* Update CFLAGS to avoid deprication warning for glibc 2.21 and later.Vincent Sanders2015-03-211-2/+10
|