Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Interface: Add public API for getting box-sizing from computed style. | Michael Drake | 2017-04-27 | 2 | -0/+8 |
| | |||||
* | Selection: Add support for the CSS3 box-sizing property. | Michael Drake | 2017-04-27 | 4 | -15/+52 |
| | |||||
* | Tests: Add parser tests for box-sizing. | Michael Drake | 2017-04-27 | 1 | -0/+33 |
| | |||||
* | Tests: Add support for dumping the box-sizing property. | Michael Drake | 2017-04-27 | 1 | -0/+11 |
| | |||||
* | Tests: Add box-sizing bytecode unit tests. | Michael Drake | 2017-04-27 | 1 | -0/+58 |
| | |||||
* | Parsing: Add support for parsing the CSS3 box-sizing property. | Michael Drake | 2017-04-27 | 12 | -5/+106 |
| | |||||
* | Select: Squash error-path leak. | Michael Drake | 2017-02-03 | 1 | -1/+0 |
| | | | | | If we allocated a font-face array previously, and failed to extend it, then we failed to free it on the error path. | ||||
* | Selection: Inline styles prevent computed style sharing. | Michael Drake | 2016-11-29 | 2 | -12/+27 |
| | |||||
* | Selection: Try all previous sibling nodes for sharable styles. | Michael Drake | 2016-11-20 | 1 | -7/+8 |
| | | | | Previously we would only consider the first candidate. | ||||
* | Merge branch 'tlsa/shared-styles' | Michael Drake | 2016-11-19 | 30 | -702/+1948 |
|\ | |||||
| * | Selection: Turn off style sharing debug output. | Michael Drake | 2016-11-19 | 1 | -1/+0 |
| | | |||||
| * | Enable sharing where pseudo common pseudo classes are the same. | Michael Drake | 2016-11-19 | 2 | -8/+79 |
| | | |||||
| * | Selection: Abstract common node flags setting code into helper. | Michael Drake | 2016-11-19 | 1 | -44/+22 |
| | | |||||
| * | Debug for recording which nodes fail to share style and why. | Michael Drake | 2016-11-19 | 1 | -0/+50 |
| | | |||||
| * | Documentation: Function param comment fix. | Michael Drake | 2016-11-19 | 1 | -1/+0 |
| | | |||||
| * | Optimisation: Bypass selection by sharing previous sibling's style. | Michael Drake | 2016-11-19 | 2 | -15/+310 |
| | | |||||
| * | Selection: Split out selection state {initi|fin}alisation. | Michael Drake | 2016-11-19 | 1 | -95/+149 |
| | | |||||
| * | Make node data contain list of partial node styles. | Michael Drake | 2016-11-19 | 3 | -2/+29 |
| | | |||||
| * | Remove option to support not storing data on DOM nodes. | Michael Drake | 2016-11-19 | 5 | -31/+14 |
| | | | | | | | | It was complicating lifetimes and ownership. | ||||
| * | Separate node data creation and node bloom creation. | Michael Drake | 2016-11-19 | 1 | -18/+37 |
| | | |||||
| * | Allow more than just bloom to be stored on nodes. | Michael Drake | 2016-11-19 | 2 | -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 Drake | 2016-11-19 | 1 | -93/+148 |
| | | |||||
| * | Remove redundant API surface. | Michael Drake | 2016-11-19 | 4 | -12/+14 |
| | | |||||
| * | Remove trailing whitespace. | Michael Drake | 2016-11-19 | 1 | -1/+1 |
| | | |||||
| * | Add comment. | Michael Drake | 2016-11-19 | 1 | -0/+1 |
| | | |||||
| * | Intern partial styles. | Michael Drake | 2016-11-19 | 6 | -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 Drake | 2016-11-19 | 1 | -1/+1 |
| | | |||||
| * | Composition: Avoid extension block checks irrelevent to property group. | Michael Drake | 2016-11-19 | 1 | -14/+18 |
| | | |||||
| * | Change arena hash from FNV-1 to 32-bit MurmurHash2. | Michael Drake | 2016-11-19 | 2 | -17/+68 |
| | | |||||
| * | After composing styles, intern the result in the style sharing arena. | Michael Drake | 2016-11-19 | 3 | -7/+28 |
| | | | | | | | | | | Note this changes the API. Selection tests updated. | ||||
| * | Add arena module for interning computed styles. | Michael Drake | 2016-11-19 | 3 | -1/+423 |
| | | | | | | | | Builds, but currently unused. | ||||
| * | Ensure computed content items are initialised to zero. | Michael Drake | 2016-11-19 | 1 | -0/+1 |
| | | | | | | | | This allows comparing them with memcmp. | ||||
| * | Move trivially compared parts of computed styles to sub-structures. | Michael Drake | 2016-11-19 | 18 | -454/+496 |
|/ | |||||
* | Prepare for release of 0.6.1release/0.6.1 | Daniel Silverstone | 2016-11-19 | 1 | -1/+1 |
| | |||||
* | Selection hash module: calloc instead of malloc, memset. | Michael Drake | 2016-10-15 | 1 | -9/+5 |
| | |||||
* | Access lwc caseless hash through supported API. | Michael Drake | 2016-10-15 | 3 | -40/+32 |
| | |||||
* | Perser generator: Squash coverity #1361551 Unused value | Michael Drake | 2016-08-13 | 1 | -1/+0 |
| | |||||
* | Parse: Squash coverity #1361552: Unused value | Michael Drake | 2016-08-13 | 1 | -2/+3 |
| | |||||
* | Update component version for releaserelease/0.6.0 | Vincent Sanders | 2016-02-16 | 1 | -1/+1 |
| | |||||
* | Update component version for releaserelease/0.5.2 | Vincent Sanders | 2016-02-16 | 1 | -1/+1 |
| | |||||
* | Documentation: Fix typos. | Michael Drake | 2016-02-10 | 1 | -3/+3 |
| | |||||
* | Documentation: Presentational hint API change. | Michael Drake | 2016-02-10 | 1 | -0/+19 |
| | |||||
* | Fix up error path. | Michael Drake | 2016-02-08 | 1 | -1/+1 |
| | |||||
* | make unused variable macro more portable | Vincent Sanders | 2016-02-06 | 2 | -2/+2 |
| | |||||
* | Merge branch 'tlsa/upfront-hints' | Michael Drake | 2016-02-05 | 4 | -42/+47 |
|\ | |||||
| * | Change how presentational hints are handled. | Michael Drake | 2016-02-02 | 4 | -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.1 | Vincent Sanders | 2015-12-18 | 1 | -2/+2 |
| | |||||
* | Remove trailing whitespace. | Michael Drake | 2015-11-01 | 1 | -1/+1 |
| | |||||
* | Slight simplification of set_initial group checks. | Michael Drake | 2015-08-19 | 1 | -19/+18 |
| | |||||
* | Add "96" to useful DPI values. (CSS pixels are 1/96 inch.) | Michael Drake | 2015-08-05 | 1 | -0/+1 |
| |