summaryrefslogtreecommitdiff
path: root/render
Commit message (Collapse)AuthorAgeFilesLines
* HTML handler: Normalise box type on replacment.Michael Drake2018-01-211-0/+10
| | | | We currently only do TABLE --> BLOCK normalisation.
* Layout: Reduce code duplication in handling of box side properties.Michael Drake2018-01-121-92/+56
|
* CSS utils: Handle new units in length conversion routines.Michael Drake2018-01-0517-390/+667
| | | | | This causes a ripple effect of all the callsites needing information they didn't have.
* Layout: No need to expose layout_calculate_descendant_bboxes().Michael Drake2018-01-052-60/+57
|
* Layout: No need to expose layout_inline_container().Michael Drake2018-01-052-1191/+1188
|
* Layout: No need to expose layout_minmax_table().Michael Drake2018-01-052-177/+175
|
* CSS computed style composition: Update for new CSS units.Michael Drake2018-01-053-33/+89
| | | | | | | Since the nscss_compute_font_size callback now needs to convert new units to absolute values, and some of these units require info from the root element's style, there are knock-on changes to ensure that the required info is available where its needed.
* Squash remaining GCC7 -Wimplicit-fallthrough warnings.Michael Drake2017-10-231-0/+1
|
* Squash some GCC7 -Wimplicit-fallthrough warnings.Michael Drake2017-10-222-27/+27
|
* CSS: Wrappers for computed style getters that return unsupported values.Michael Drake2017-10-202-16/+17
| | | | We don't yet handle the Flexbox-related values for certain properties.
* annotate error case fall through in switch to supress warningsVincent Sanders2017-09-112-15/+22
|
* fix size+t formatting in loggingVincent Sanders2017-09-071-5/+11
|
* update layout logging to use a catagoryVincent Sanders2017-09-071-114/+108
|
* Fixup everything the semantic patch missedVincent Sanders2017-09-071-1/+1
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-0615-187/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* HTML CSS handler: event->data.error is invalid for errorcode.Michael Drake2017-08-281-1/+1
|
* HTML object hlcache callback: Ensure final fetch completion triggers reformat.Michael Drake2017-08-281-1/+2
| | | | Even if the final fetch finished with ERRORCODE.
* HTML object hlcache callback: Errorcode without box is OK.Michael Drake2017-08-281-1/+3
|
* HTML script handling: Convert to using content_broadcast_errorcode().Michael Drake2017-08-281-8/+3
|
* HTML content handler: Ensure script fetch hlcache callback handles errorcode.Michael Drake2017-08-281-0/+3
|
* HTML content handler: Ensure object fetch hlcache callback handles errorcode.Michael Drake2017-08-281-0/+1
|
* CSS content handler: Ensure fetch hlcache callback handles errorcode.Michael Drake2017-08-281-0/+1
|
* Plain text content handler: Convert to using content_broadcast_errorcode().Michael Drake2017-08-281-6/+2
|
* Content API: Make content_broadcast take pointer to content_msg_data.Michael Drake2017-08-266-34/+36
|
* HTML handler: Avoid unnecessary dom_string_caseless_isequal call.Michael Drake2017-06-101-9/+11
|
* Layout: Prevent negative widths on absolutle positioned boxes.Michael Drake2017-06-021-6/+6
|
* clean up doccomments and formatting in texplain content handlerVincent Sanders2017-06-012-484/+536
| | | | | | There is an intention to replace the render interface and it will be helpful to reduce the size of the exposed API as much as possible. This is the first step towards that goal.
* Layout: Fix auto margins to be affected by {min|max}-width constraints.Michael Drake2017-04-281-8/+20
|
* Layout: Implement CSS3 box-sizing property.Michael Drake2017-04-271-60/+94
| | | | | Updates user agent CSS to set form element box-sizing properties, and removes some legacy pre-CSS3 hacks for handling gadget dimensions.
* HTML layout: Extend :after pseudo element handling to cover display:table.Michael Drake2017-04-261-2/+5
| | | | | | This is used in a common clearfix variant. http://nicolasgallagher.com/micro-clearfix-hack/
* Box tree dump: If box has element, include element name in dump.Michael Drake2017-04-261-1/+8
|
* HTML content handler: Don't let aborted contents get stuck in LOADING.Michael Drake2017-03-231-0/+1
| | | | | | | Previously, aborted HTML fetches left the content in LOADING state, and the hlcache clean code does not clean contents in the LOADING state. They, and their child contents ended up stuck in the cache forever.
* HTML object fetch handler: Remove bogus parent content state assertion.Michael Drake2017-03-231-2/+0
|
* Improve content logging with content IDs (pointer values).Michael Drake2017-03-231-5/+9
| | | | This makes it easier to track a content by its ID through a log.
* 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
|