Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reorder percentage calculation. | Michael Drake | 2015-08-24 | 1 | -2/+2 |
| | | | | | | | | | Fixed point representation couldn't store 0.65 exactly, so avoid doing the divide by 100 first. I will look at moving this into libcss's fixed point header and doing it in a way that avoids arithmetic overflow, but for now this fixes el reg layout. | ||||
* | Change LOG() macro to be varadic | Vincent Sanders | 2015-05-28 | 1 | -72/+41 |
| | | | | | | | | | | | | 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. | ||||
* | Remove duplicate branch in relative position handling. | Michael Drake | 2015-04-23 | 1 | -5/+5 |
| | |||||
* | make the form select menu API smaller. | Vincent Sanders | 2014-11-13 | 1 | -1/+1 |
| | | | | | | By hiding all but the form selection menu option structure from code outside of render this reduces the API to the absolute minimum to support this feature. | ||||
* | doxgen warning fixes in riscos frontend. | Vincent Sanders | 2014-11-12 | 1 | -25/+30 |
| | |||||
* | remove unecessary browser.h include from core headers | Vincent Sanders | 2014-10-17 | 1 | -0/+1 |
| | |||||
* | Put the font operations table alongside all the other core API | Vincent Sanders | 2014-10-13 | 1 | -3/+6 |
| | | | | | | | | | | | | The netsurf core is driven from numerous operation tables most of which are now set through a common netsurf_register() interface. The font and plotting interfaces are currently separate and unlike all the other operation tables are modified for differing contexts. This change moves the font operations alongside all the other operations table and remove unnecessary interaction with the renderers font internals. Further this also removes the need for css internals to be visible in frontends. | ||||
* | Fix text selection. | Michael Drake | 2014-08-20 | 1 | -0/+1 |
| | | | | | | | | Values returned by nscss_len2px are actually libcss fixed-points, so convert the result to pixels. Also reduce the amount by which the top of descendant bboxes are extended to 3/4 of the text height, which is the maximum possible amount that the text can protrude above the box when line-height is reduced. | ||||
* | Remove unwanted debug. | Michael Drake | 2014-08-04 | 1 | -1/+0 |
| | |||||
* | mailto urls don't have passwords or ports, so we don't need to look for ':'. | Michael Drake | 2014-08-04 | 1 | -1/+1 |
| | |||||
* | Fix overflow handling issue. | Michael Drake | 2014-07-13 | 1 | -19/+4 |
| | |||||
* | Allow suppression of style dump in box tree dumps. | Michael Drake | 2014-07-13 | 1 | -3/+3 |
| | |||||
* | Handle overflow-x and overflow-y properties. | Michael Drake | 2014-06-01 | 1 | -35/+97 |
| | | | | | Fixes display of BBC Sport. Requires LibCSS with support for overflow-x and overflow-y. | ||||
* | Improve min/max-height handling on replaced elements. | Michael Drake | 2014-01-04 | 1 | -23/+96 |
| | |||||
* | ensure no division by zero in scaled object dimensioning (coverity 1109864 ) | Vincent Sanders | 2013-11-03 | 1 | -1/+2 |
| | |||||
* | Layout doesn't need to handle the old insane textarea box splitting now. ↵ | Michael Drake | 2013-10-23 | 1 | -12/+1 |
| | | | | Fixes Coverity:1109882. | ||||
* | Don't attempt to vertical-align objects for now, as our current bodged ↵ | Michael Drake | 2013-07-12 | 1 | -2/+1 |
| | | | | vertical-align implementation can do more harm than good. | ||||
* | Apply vertical alignment to objects on line. | Michael Drake | 2013-06-08 | 1 | -1/+2 |
| | |||||
* | move options include | Vincent Sanders | 2013-05-28 | 1 | -1/+1 |
| | |||||
* | Hacky fix for clipping of top of text. | Michael Drake | 2013-04-17 | 1 | -0/+16 |
| | |||||
* | Fix min line width calc when an inline isn't to be wrapped in a block that ↵ | Michael Drake | 2013-03-06 | 1 | -3/+18 |
| | | | | allows wrap. | ||||
* | Fix min width to take account of white-space property. | Michael Drake | 2013-02-22 | 1 | -2/+12 |
| | |||||
* | Don't reduce width of textarea box for CSS overflow scrollbar; it won't get one. | Michael Drake | 2013-02-11 | 1 | -2/+0 |
| | |||||
* | Merge branch 'master' of git://git.netsurf-browser.org/netsurf | Michael Drake | 2013-02-10 | 1 | -55/+44 |
|\ | | | | | | | | | | | | | Conflicts: gtk/font_pango.c Conflict resolved. | ||||
| * | Update HTML layout not to demand that nsfont_split only splits on a space. | Michael Drake | 2013-02-10 | 1 | -56/+43 |
| | | | | | | | | | | | | | | This allows the HTML layout code to wrap unicode text correctly. For example on our Japanese Welcome page, the characters will be wrapped if the platform's nsfont_split implementation implements the Unicode line breaking algorithm. | ||||
| * | Make nowrap code path a bit plainer. | Michael Drake | 2013-02-10 | 1 | -4/+4 |
| | | |||||
| * | Comment current html wrap/text-splitting behaviour. | Michael Drake | 2013-02-10 | 1 | -3/+5 |
| | | |||||
* | | Don't add box scrollbar padding to gadgets. | Michael Drake | 2013-02-09 | 1 | -2/+4 |
| | | |||||
* | | First pass at getting html forms to use textarea widget. | Michael Drake | 2013-02-06 | 1 | -0/+15 |
|/ | | | | | (Input element types text & password, and textarea element.) Can edit and submit forms, but there are loads of issues. | ||||
* | Fix min_max line width calc to include box spaces. | Michael Drake | 2013-01-02 | 1 | -6/+12 |
| | |||||
* | Fix placement of first inline on line below a float, when float has been ↵ | Michael Drake | 2012-11-04 | 1 | -1/+4 |
| | | | | shifted up by >= its own height with a negative margin. | ||||
* | reduce talloc usage to box tree layout only | Vincent Sanders | 2012-10-03 | 1 | -2/+2 |
| | |||||
* | Don't convert spaces to non-breaking spaces inside white-space:pre. ↵ | Michael Drake | 2012-10-03 | 1 | -1/+3 |
| | | | | Instead, handle not wrapping in layout. | ||||
* | More white-space:nowrap. | Michael Drake | 2012-10-03 | 1 | -4/+4 |
| | |||||
* | Support white-space:nowrap. | Michael Drake | 2012-10-03 | 1 | -2/+5 |
| | |||||
* | Include dom/dom.h where it might be needed | Daniel Silverstone | 2012-03-24 | 1 | -0/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13625 | ||||
* | Delete some trailing whitespace. | Michael Drake | 2012-03-23 | 1 | -2/+2 |
| | | | | svn path=/trunk/netsurf/; revision=13555 | ||||
* | NetSurf options rework (a=vince r=daniels,jmb) | Vincent Sanders | 2012-03-22 | 1 | -2/+2 |
| | | | | svn path=/trunk/netsurf/; revision=13548 | ||||
* | content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url | John Mark Bell | 2011-12-04 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13236 | ||||
* | Only make space for vertical box scrollbar if box has height set. | Michael Drake | 2011-11-24 | 1 | -0/+6 |
| | | | | svn path=/trunk/netsurf/; revision=13179 | ||||
* | Fix bug #3433954: make containing_block available to layout_table so it can ↵ | John Mark Bell | 2011-11-06 | 1 | -0/+4 |
| | | | | | | resolve percentage height specified on an absolutely-positioned table. svn path=/trunk/netsurf/; revision=13130 | ||||
* | Fix bug #3433840: <img style="display: table" src="..."> will crash if the ↵ | John Mark Bell | 2011-11-05 | 1 | -2/+1 |
| | | | | | | | | | | | image fetch completes before initial layout. A number of things wrong here: 1) The BOX_TABLE generated for the img shouldn't ever have been associated with the object (it should have been associated with the implied BOX_TABLE_CELL) 2) The layout engine's decision to treat BOX_TABLE/BOX_INLINE_CONTAINER with associated objects differently from non-replaced TABLE/INLINE_CONTAINERs seems wrong (looking though SVN history, it appears that this was introduced as part of the very first frames implementation, since replaced (twice!)) 3) Now we fetch objects in parallel with building the box tree, we're open to this kind of race condition. svn path=/trunk/netsurf/; revision=13128 | ||||
* | Add layout_get_object_dimensions param documentation missing from last commit. | Michael Drake | 2011-09-23 | 1 | -0/+2 |
| | | | | svn path=/trunk/netsurf/; revision=12871 | ||||
* | Handle min/max-width on replaced elements. | Michael Drake | 2011-09-23 | 1 | -11/+41 |
| | | | | svn path=/trunk/netsurf/; revision=12870 | ||||
* | Use fixed insted of floating point to get percentage of available_width, for ↵ | Michael Drake | 2011-09-23 | 1 | -2/+2 |
| | | | | | | width calc. svn path=/trunk/netsurf/; revision=12869 | ||||
* | Move css_fixed and css_unit variables to where they're used. | Michael Drake | 2011-09-23 | 1 | -2/+2 |
| | | | | svn path=/trunk/netsurf/; revision=12868 | ||||
* | Simplify layout_get_object_dimensions. | Michael Drake | 2011-09-23 | 1 | -22/+15 |
| | | | | svn path=/trunk/netsurf/; revision=12867 | ||||
* | Use layout_find_dimensions to get inline object width/height. | Michael Drake | 2011-09-23 | 1 | -24/+5 |
| | | | | svn path=/trunk/netsurf/; revision=12866 | ||||
* | Remove gui_multitask | John Mark Bell | 2011-09-21 | 1 | -40/+0 |
| | | | | svn path=/trunk/netsurf/; revision=12828 | ||||
* | Replaced elements' children are not laid out, so don't look at their ↵ | Michael Drake | 2011-08-23 | 1 | -0/+4 |
| | | | | | | descendants. Fixes #3380281. svn path=/trunk/netsurf/; revision=12642 |