summaryrefslogtreecommitdiff
path: root/render
Commit message (Collapse)AuthorAgeFilesLines
* make scrollbar redraw signal errors correctlyVincent Sanders2017-03-011-4/+6
| | | | | allow scrollbar redraw to return error codes and update documentation commenst appropriately.
* fix some doxygen errorsVincent Sanders2017-02-242-7/+7
|
* Merge branch 'vince/plotctx'Vincent Sanders2017-02-126-1034/+1306
|\
| * split border drawing out of html redrawVincent Sanders2017-02-114-847/+939
| |
| * simplify html redraw border plotting error handlingVincent Sanders2017-02-111-99/+103
| |
| * Update all core use of plotters to new APIVincent Sanders2017-02-113-366/+542
| |
* | Make disabled textboxes read-only. Partially fixes 2521.Chris Young2017-02-111-1/+12
|/
* create netsurf inttypes header to have portable integer formatting macrosVincent Sanders2017-01-211-4/+5
|
* rationalise use of utils/utils.h headerVincent Sanders2017-01-197-11/+11
|
* move plot style header to netsurf include directoryVincent Sanders2017-01-135-10/+14
| | | | | move plotter style header and adjust all callers to use only what they actually require.
* complete transition to locale independant core operationVincent Sanders2016-09-291-6/+5
| | | | | | | | | | | | The netsurf core no longer uses any locale dependant operations excepting the mall number or cases where such operations are explicitly wanted. the netsurf_init now calls setlocale with the empty string and lets the c library setup as per its specific implementation. any core functionality that specificaly processes ascii text must use the utils/ascii.h header to do so.
* Style: Fix ignoring of STYLE elements with non-screen media.Michael Drake2016-09-244-0/+43
| | | | | | | | | | | | | | | | | | We were handling the STYLE tag getting added in the dom_default_action_DOMSubtreeModified_cb callback, however, the media attribute dadn't been added by that point. We now check it in the dom_default_action_DOMNodeInserted_cb callback, at which time the media attribute is available for checking. Note, we should probably store the media type in the html_stylesheet structure, but for now we just have an `unused` boolean. Also, it may be possible to optimise to avoid parsing non- screen media STYLE element data if we could detect the media earlier.
* cleanup seevral doxygen warningsVincent Sanders2016-09-133-5/+5
|
* make html content line parsing use no locale dependant ascii processingVincent Sanders2016-09-121-7/+7
|
* use ascii processing when determining form charsetVincent Sanders2016-09-121-9/+10
|
* make box construction use correct ascii processingVincent Sanders2016-09-111-57/+66
|
* simplify box_extract_link interface and improve documentationVincent Sanders2016-09-113-30/+33
|
* URL escape: Simplify to avoid unnecessary allocation.Michael Drake2016-07-251-2/+2
| | | | | | | | This removes the toskip parameter, which was only used by the RISC OS front end. The toskip param was used to skip 8 characters which did not need to be escaped from the start of the URL. The RISC OS front end now orders the steps of its URL construction to avoid the need for this.
* move key press enums and operations to their own headerVincent Sanders2016-07-013-6/+6
|
* move the public form APIVincent Sanders2016-06-143-82/+6
|
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-0611-13/+13
|
* Update content to split public and internal APIVincent Sanders2016-06-0612-26/+34
|
* move plotters header into public APIVincent Sanders2016-05-303-3/+3
|
* move desktop window header into public APIVincent Sanders2016-05-309-10/+7
|
* move mouse and pointer state header into public APIVincent Sanders2016-05-304-4/+4
|
* move layout header into public APIVincent Sanders2016-05-305-5/+5
|
* 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
|