summaryrefslogtreecommitdiff
path: root/render
Commit message (Collapse)AuthorAgeFilesLines
...
* move misc header into public APIVincent Sanders2016-05-308-8/+8
|
* move utf8 header into public APIVincent Sanders2016-05-301-1/+1
|
* move search header into public APIVincent Sanders2016-05-301-1/+1
|
* move bitmap API header to core include directoryVincent Sanders2016-05-262-2/+2
|
* move the CSS content handlerVincent Sanders2016-05-2614-31/+27
|
* move image content handlers to accomodate core build changesVincent Sanders2016-05-232-2/+2
|
* fix plain text render regression introduced in layout table changesVincent Sanders2016-04-281-3/+5
|
* remove all core usage of warn_user APIVincent Sanders2016-04-264-17/+25
|
* update scrollbar_create error handling to return nserrorVincent Sanders2016-04-262-6/+8
|
* split out the layout glyph sizing and splitting APIVincent Sanders2016-04-237-3156/+3183
| | | | | This refactors the core "font" sizing API to be handled through gui function tables similar to every other core/frontend calling API.
* Split utils header into string functions and everything elseVincent Sanders2016-04-212-6/+8
| | | | | split out the string handling API from the rest of the utils header and fix up all the fallout.
* implement tsla code review points in render monotonic time changeVincent Sanders2016-04-201-15/+16
|
* use monotonic clock call for html reflow timingVincent Sanders2016-04-202-29/+44
|
* stop content header dragging in so many other headersVincent Sanders2016-04-191-0/+1
|
* complete the rename of the gui browser tableVincent Sanders2016-04-163-8/+8
| | | | | | When the operations tables were created the browser table was renamed to miscellaneous except the actual rename patch was never applied, this fixes that situation.
* Fix size_t printf formattingVincent Sanders2016-03-171-1/+1
| | | | | | | The printf formatting for size_t is set in c99 as %zu but in windows it is %Iu this is solved by adding and inttypes style PRI macro for size_t This also uses this macro everywhere size_t is formatted.
* Revert "Fix memory leak in error handling"Vincent Sanders2016-03-161-1/+0
| | | | | | This reverts commit c53be108924ed460aad35bb30c5c88a849bded20. Issue tracked in bug 2443
* Fix memory leak in error handlingVincent Sanders2016-03-141-0/+1
| | | | | error handling during form gadget construction could leak, this fixes the leak on error. Fixes coverity CID 1109875
* Fix possible dereference of NULLVincent Sanders2016-03-141-14/+30
| | | | | | | The return of calloc was not being checked and could have lead to a NULL pointer dereference. This fixes coverity CID 1316337 Additionally the functions documentation comments were cleaned up.
* Fix object accounting for aborted HTML contents.Michael Drake2016-02-111-3/+4
|
* HTML: Remove some status bar updating code.Michael Drake2016-02-104-43/+0
|
* Layout: Don't generate :before and :after boxes for replaced elements.Michael Drake2016-02-092-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | In CSS 2.1 this was undefined. CSS 2.1 -- 12.1 The :before and :after pseudo-elements Note. This specification does not fully define the interaction of :before and :after with replaced elements (such as IMG in HTML). This will be defined in more detail in a future specification. -- https://www.w3.org/TR/CSS21/generate.html#before-after-content In CSS 3 the :before and :after generated content boxes are not allowed on replaced elements. CSS 3 Generated and Replaced Content Module 12. Replaced content The box model defines different rules for the layout of replaced elements than normal elements. Replaced elements do not have '::before' and '::after' pseudo-elements; the 'content' property in the case of replaced content replaces the entire contents of the element's box. -- https://www.w3.org/TR/css3-content/#replacedContent
* Split out presentational hints handling.Michael Drake2016-02-051-1/+2
|
* Simplify special element handling in node inserted callback.Michael Drake2016-01-291-31/+31
|
* Spaces to tabs.Michael Drake2016-01-291-1/+1
|
* Add comment on on-demand JS context creation safetyMichael Drake2016-01-211-0/+3
| | | | Checking for enable_scripting isn't needed here.
* Ensure we do on-demand JS context creation only when JS is enabled.Michael Drake2016-01-211-13/+16
| | | | | | | | | | | An alternative approach which may be better would be to create the JavaScript context when the html_content is created, rather than on demand. This code checks for the JS context and creates one every time we add a node to the DOM. So when JS is on, every doc with a single node in it has a JS context. This seems to make on-demand creation a redundant overhead.
* Fix place where we're calling a js_* fn without checking for context.Michael Drake2016-01-211-1/+3
|
* Ensure constant javascript_enabled for HTML contents.Michael Drake2016-01-213-4/+8
| | | | | | | | | | | | | | | | Now we take the value of the javascript_enabled option when the content is created. We then use the content's script_enabled boolean everywhere else. This prevents us getting inconsistent values for javascript_enabled if a user toggles the setting while a page is loading. It was read frequently during box construction, and also the parser's script enabled setting could change where we handled a change of encoding. Now we only care about the setting of the javascript_enabled option at time of html_content creation.
* Pass html_content to box_extract_link.Michael Drake2016-01-213-15/+18
|
* Simplify place_float_below loop condition.Michael Drake2016-01-211-1/+1
|
* Make use of cached place float below value earlier.Michael Drake2016-01-201-1/+5
|
* Cache place below level, to avoid pointless calls to find_sides.Michael Drake2016-01-203-1/+12
|
* Optimise white hot find_sides to take advantage of sorted float_children.Michael Drake2016-01-201-1/+7
| | | | | Now we have an early exit when we get to the floats above the area we're interested in.
* Sort float_children of containers by their bottom edge.Michael Drake2016-01-201-2/+27
|
* Split adding float to a container out into separate function.Michael Drake2016-01-201-10/+14
|
* Remove redundant condition in white hot path.Michael Drake2016-01-201-1/+1
|
* Remove erroneous redeclaration of variable in new scope.Michael Drake2015-12-201-1/+0
|
* Make it clearer why we're asserting.Michael Drake2015-11-111-1/+2
|
* Only fire click event on button 1 press.Michael Drake2015-11-061-2/+1
|
* Assert that we have a node.Michael Drake2015-11-061-0/+1
|
* Always consider the root element's box.Michael Drake2015-11-061-5/+2
| | | | Previously we didn't consider it at all.
* Fix overflow-{x|y} handling.Michael Drake2015-11-011-3/+4
|
* Fix descendant bounding box calcs to work with overflow-{x|y}.Michael Drake2015-10-311-16/+16
|
* Don't call up if the parent's jscontext has gone NULL in the meantimeDaniel Silverstone2015-10-311-1/+1
|
* Change click handling to fire_dom_eventDaniel Silverstone2015-10-311-1/+1
|
* Add fire_dom_event, it's in a bad place but we can move it laterDaniel Silverstone2015-10-312-0/+42
|
* Shunt the handling of new elementsDaniel Silverstone2015-10-311-3/+4
|
* Initial work toward JS event supportDaniel Silverstone2015-10-311-0/+14
|
* Fix dom document leak for framesets.Michael Drake2015-10-311-0/+5
|