Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Layout: Reduce code duplication in handling of box side properties. | Michael Drake | 2018-01-12 | 1 | -92/+56 |
| | |||||
* | CSS utils: Handle new units in length conversion routines. | Michael Drake | 2018-01-05 | 17 | -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 Drake | 2018-01-05 | 2 | -60/+57 |
| | |||||
* | Layout: No need to expose layout_inline_container(). | Michael Drake | 2018-01-05 | 2 | -1191/+1188 |
| | |||||
* | Layout: No need to expose layout_minmax_table(). | Michael Drake | 2018-01-05 | 2 | -177/+175 |
| | |||||
* | CSS computed style composition: Update for new CSS units. | Michael Drake | 2018-01-05 | 3 | -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 Drake | 2017-10-23 | 1 | -0/+1 |
| | |||||
* | Squash some GCC7 -Wimplicit-fallthrough warnings. | Michael Drake | 2017-10-22 | 2 | -27/+27 |
| | |||||
* | CSS: Wrappers for computed style getters that return unsupported values. | Michael Drake | 2017-10-20 | 2 | -16/+17 |
| | | | | We don't yet handle the Flexbox-related values for certain properties. | ||||
* | annotate error case fall through in switch to supress warnings | Vincent Sanders | 2017-09-11 | 2 | -15/+22 |
| | |||||
* | fix size+t formatting in logging | Vincent Sanders | 2017-09-07 | 1 | -5/+11 |
| | |||||
* | update layout logging to use a catagory | Vincent Sanders | 2017-09-07 | 1 | -114/+108 |
| | |||||
* | Fixup everything the semantic patch missed | Vincent Sanders | 2017-09-07 | 1 | -1/+1 |
| | |||||
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 15 | -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 Drake | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | HTML object hlcache callback: Ensure final fetch completion triggers reformat. | Michael Drake | 2017-08-28 | 1 | -1/+2 |
| | | | | Even if the final fetch finished with ERRORCODE. | ||||
* | HTML object hlcache callback: Errorcode without box is OK. | Michael Drake | 2017-08-28 | 1 | -1/+3 |
| | |||||
* | HTML script handling: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-28 | 1 | -8/+3 |
| | |||||
* | HTML content handler: Ensure script fetch hlcache callback handles errorcode. | Michael Drake | 2017-08-28 | 1 | -0/+3 |
| | |||||
* | HTML content handler: Ensure object fetch hlcache callback handles errorcode. | Michael Drake | 2017-08-28 | 1 | -0/+1 |
| | |||||
* | CSS content handler: Ensure fetch hlcache callback handles errorcode. | Michael Drake | 2017-08-28 | 1 | -0/+1 |
| | |||||
* | Plain text content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-28 | 1 | -6/+2 |
| | |||||
* | Content API: Make content_broadcast take pointer to content_msg_data. | Michael Drake | 2017-08-26 | 6 | -34/+36 |
| | |||||
* | HTML handler: Avoid unnecessary dom_string_caseless_isequal call. | Michael Drake | 2017-06-10 | 1 | -9/+11 |
| | |||||
* | Layout: Prevent negative widths on absolutle positioned boxes. | Michael Drake | 2017-06-02 | 1 | -6/+6 |
| | |||||
* | clean up doccomments and formatting in texplain content handler | Vincent Sanders | 2017-06-01 | 2 | -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 Drake | 2017-04-28 | 1 | -8/+20 |
| | |||||
* | Layout: Implement CSS3 box-sizing property. | Michael Drake | 2017-04-27 | 1 | -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 Drake | 2017-04-26 | 1 | -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 Drake | 2017-04-26 | 1 | -1/+8 |
| | |||||
* | HTML content handler: Don't let aborted contents get stuck in LOADING. | Michael Drake | 2017-03-23 | 1 | -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 Drake | 2017-03-23 | 1 | -2/+0 |
| | |||||
* | Improve content logging with content IDs (pointer values). | Michael Drake | 2017-03-23 | 1 | -5/+9 |
| | | | | This makes it easier to track a content by its ID through a log. | ||||
* | make scrollbar redraw signal errors correctly | Vincent Sanders | 2017-03-01 | 1 | -4/+6 |
| | | | | | allow scrollbar redraw to return error codes and update documentation commenst appropriately. | ||||
* | fix some doxygen errors | Vincent Sanders | 2017-02-24 | 2 | -7/+7 |
| | |||||
* | Merge branch 'vince/plotctx' | Vincent Sanders | 2017-02-12 | 6 | -1034/+1306 |
|\ | |||||
| * | split border drawing out of html redraw | Vincent Sanders | 2017-02-11 | 4 | -847/+939 |
| | | |||||
| * | simplify html redraw border plotting error handling | Vincent Sanders | 2017-02-11 | 1 | -99/+103 |
| | | |||||
| * | Update all core use of plotters to new API | Vincent Sanders | 2017-02-11 | 3 | -366/+542 |
| | | |||||
* | | Make disabled textboxes read-only. Partially fixes 2521. | Chris Young | 2017-02-11 | 1 | -1/+12 |
|/ | |||||
* | create netsurf inttypes header to have portable integer formatting macros | Vincent Sanders | 2017-01-21 | 1 | -4/+5 |
| | |||||
* | rationalise use of utils/utils.h header | Vincent Sanders | 2017-01-19 | 7 | -11/+11 |
| | |||||
* | move plot style header to netsurf include directory | Vincent Sanders | 2017-01-13 | 5 | -10/+14 |
| | | | | | move plotter style header and adjust all callers to use only what they actually require. | ||||
* | complete transition to locale independant core operation | Vincent Sanders | 2016-09-29 | 1 | -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 Drake | 2016-09-24 | 4 | -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 warnings | Vincent Sanders | 2016-09-13 | 3 | -5/+5 |
| | |||||
* | make html content line parsing use no locale dependant ascii processing | Vincent Sanders | 2016-09-12 | 1 | -7/+7 |
| | |||||
* | use ascii processing when determining form charset | Vincent Sanders | 2016-09-12 | 1 | -9/+10 |
| | |||||
* | make box construction use correct ascii processing | Vincent Sanders | 2016-09-11 | 1 | -57/+66 |
| | |||||
* | simplify box_extract_link interface and improve documentation | Vincent Sanders | 2016-09-11 | 3 | -30/+33 |
| |