Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CSS computed style composition: Update for new CSS units. | Michael Drake | 2018-01-05 | 1 | -6/+17 |
| | | | | | | | 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. | ||||
* | CSS: Wrappers for computed style getters that return unsupported values. | Michael Drake | 2017-10-20 | 1 | -13/+14 |
| | | | | We don't yet handle the Flexbox-related values for certain properties. | ||||
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 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/ | ||||
* | rationalise use of utils/utils.h header | Vincent Sanders | 2017-01-19 | 1 | -1/+0 |
| | |||||
* | move plot style header to netsurf include directory | Vincent Sanders | 2017-01-13 | 1 | -2/+3 |
| | | | | | 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. | ||||
* | 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 | 1 | -26/+19 |
| | |||||
* | Allow include directories to be added by sub makefiles | Vincent Sanders | 2016-06-06 | 1 | -2/+2 |
| | |||||
* | move misc header into public API | Vincent Sanders | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | move the CSS content handler | Vincent Sanders | 2016-05-26 | 1 | -4/+3 |
| | |||||
* | Split utils header into string functions and everything else | Vincent Sanders | 2016-04-21 | 1 | -6/+7 |
| | | | | | split out the string handling API from the rest of the utils header and fix up all the fallout. | ||||
* | complete the rename of the gui browser table | Vincent Sanders | 2016-04-16 | 1 | -2/+2 |
| | | | | | | 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. | ||||
* | Revert "Fix memory leak in error handling" | Vincent Sanders | 2016-03-16 | 1 | -1/+0 |
| | | | | | | This reverts commit c53be108924ed460aad35bb30c5c88a849bded20. Issue tracked in bug 2443 | ||||
* | Fix memory leak in error handling | Vincent Sanders | 2016-03-14 | 1 | -0/+1 |
| | | | | | error handling during form gadget construction could leak, this fixes the leak on error. Fixes coverity CID 1109875 | ||||
* | Layout: Don't generate :before and :after boxes for replaced elements. | Michael Drake | 2016-02-09 | 1 | -5/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Drake | 2016-02-05 | 1 | -1/+2 |
| | |||||
* | Spaces to tabs. | Michael Drake | 2016-01-29 | 1 | -1/+1 |
| | |||||
* | Ensure constant javascript_enabled for HTML contents. | Michael Drake | 2016-01-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | 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 Drake | 2016-01-21 | 1 | -11/+12 |
| | |||||
* | Fix dom document leak for framesets. | Michael Drake | 2015-10-31 | 1 | -0/+5 |
| | |||||
* | fix gadget resource leak (coverity #1109875) | Vincent Sanders | 2015-09-07 | 1 | -0/+1 |
| | |||||
* | Change LOG() macro to be varadic | Vincent Sanders | 2015-05-28 | 1 | -1/+1 |
| | | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging. | ||||
* | release gadget allocation on error path (Coverity 1109875) | Vincent Sanders | 2014-11-30 | 1 | -0/+1 |
| | |||||
* | Doxygen cleanups | Vincent Sanders | 2014-11-12 | 1 | -2/+2 |
| | |||||
* | Doxygen cleanups | Vincent Sanders | 2014-11-12 | 1 | -5/+6 |
| | |||||
* | Make most of the form API internal to the html renderer. | Vincent Sanders | 2014-11-11 | 1 | -1/+1 |
| | | | | | | Very little of the form API needed exposing outside of the renderer. This makes the form API that may be used by frontends obvious and limited. | ||||
* | Doxygen warning fixes | Vincent Sanders | 2014-11-10 | 1 | -4/+4 |
| | |||||
* | address even more potential leaks on error path in box_select (coverity 1109875) | Vincent Sanders | 2014-11-10 | 1 | -1/+3 |
| | |||||
* | fix leak of gadget on error path. (coverity 1109875) | Vincent Sanders | 2014-11-10 | 1 | -2/+6 |
| | |||||
* | Add bw function to get scrollbar type. | Michael Drake | 2014-10-25 | 1 | -7/+7 |
| | |||||
* | Update the core to use the split operations table headers | Vincent Sanders | 2014-10-16 | 1 | -1/+2 |
| | | | | Second in the series to decouple the core API usage from the frontends. | ||||
* | Remove trailing whitespace. | Michael Drake | 2014-10-15 | 1 | -93/+93 |
| | |||||
* | Stop invalid background image URL from preventing page load. | Michael Drake | 2014-09-25 | 1 | -9/+10 |
| | | | | | Stops url(http://) from causing page load to fail with warning message of "boxconvert". | ||||
* | Resolve relative URLs in inline CSS relative to document's base URL, rather ↵ | Michael Drake | 2014-09-18 | 1 | -1/+1 |
| | | | | | | | | than its content URL. This means passing the base URL as the URL param to LibCSS's css_stylesheet_create, rather than the URL of the source of the style data. | ||||
* | Restrict 'drill down' to specific box types. | Michael Drake | 2014-07-18 | 1 | -2/+10 |
| | |||||
* | Fix bug #2154: List numbering. | Michael Drake | 2014-07-18 | 1 | -4/+13 |
| | | | | | Previous list item box may not always be last child of parent. Search its previous children until a list item is found. | ||||
* | remove unecessary utils/url.h includes | Vincent Sanders | 2014-05-09 | 1 | -1/+0 |
| | |||||
* | move scheduleing into browser operation table | Vincent Sanders | 2014-03-09 | 1 | -9/+9 |
| | |||||
* | Gadgets can exisit outside forms, so now they store their own ref to the ↵ | Michael Drake | 2014-02-17 | 1 | -0/+4 |
| | | | | containing html content. | ||||
* | Use corestrings in box construction. | Michael Drake | 2014-01-24 | 1 | -162/+42 |
| | |||||
* | Ensure first option gets selected when the markup doesn't specify any ↵ | Michael Drake | 2014-01-24 | 1 | -0/+2 |
| | | | | options as selected. | ||||
* | Reflect changes to select boxes into the DOM | Daniel Silverstone | 2014-01-04 | 1 | -1/+1 |
| | |||||
* | Fix longstanding bug where floating root element caused assertion. Bug #394. | Michael Drake | 2014-01-04 | 1 | -4/+7 |
| | |||||
* | Make nscss_get_style return completed computed styles. Now matches ↵ | Michael Drake | 2013-12-19 | 1 | -51/+2 |
| | | | | nscss_get_blank_style, and no need for anything outside css/select.c to see partial computed styles. | ||||
* | Update for new libcss API. | Michael Drake | 2013-12-13 | 1 | -4/+2 |
| | |||||
* | Squash Coverity #1109879 - Resource leak. | Michael Drake | 2013-10-25 | 1 | -2/+6 |
| | |||||
* | Fix leak of frame element name. | Michael Drake | 2013-10-25 | 1 | -0/+3 |
| | |||||
* | Force root element box type to BOX_BLOCK. | Michael Drake | 2013-07-10 | 1 | -2/+7 |
| |