Vincent Sanders
1a7d00076d
cleanup Doxygen warnings
2014-11-12 19:31:39 +00:00
Vincent Sanders
740387be8d
Doxygen cleanups
2014-11-12 16:21:23 +00:00
Vincent Sanders
d9ce975822
Make most of the form API internal to the html renderer.
...
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.
2014-11-11 17:11:59 +00:00
Vincent Sanders
1097cc40b4
remove unecessary browser.h include from core headers
2014-10-17 12:21:52 +01:00
Vincent Sanders
17be8cf216
Put the font operations table alongside all the other core API
...
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.
2014-10-13 11:56:31 +01:00
Michael Drake
a05b5fcff4
Always treat root element as overflow:visible.
...
Fixes bug #2149 .
2014-07-18 20:09:20 +01:00
Michael Drake
43f21bc9a8
Slight simplification to how wo choose whether to clip for overflow.
2014-06-15 14:47:15 +01:00
Michael Drake
5085bfbf99
Handle overflow-x and overflow-y properties.
...
Fixes display of BBC Sport.
Requires LibCSS with support for overflow-x and overflow-y.
2014-06-01 18:36:22 +01:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
Michael Drake
977452b2ba
Fix handling of clip property to avoid clip rectangles that are entierly outside the redraw region.
2013-05-28 12:47:20 +01:00
Michael Drake
d399f565ed
Fix abort of page render on failed content_redraw of background image.
2013-04-23 18:34:46 +01:00
Michael Drake
427f13a716
Change selection colours so selection background takes text colour, and selected text becomes black or white -- whichever gives greatest contrast.
2013-02-15 16:07:56 +00:00
Michael Drake
0d831c4ab6
Scaled textarea rendering support. Ugly.
2013-02-08 23:25:40 +00:00
Michael Drake
762e1aad73
First pass at getting html forms to use textarea widget.
...
(Input element types text & password, and textarea element.)
Can edit and submit forms, but there are loads of issues.
2013-02-06 22:39:45 +00:00
Michael Drake
bda7bfa739
Make scale const.
2013-01-02 18:44:08 +00:00
Michael Drake
96841ae2ff
Remove forward declaration.
2013-01-02 18:02:15 +00:00
Michael Drake
733fd39417
Add support for CSS clip property.
2012-11-06 18:19:37 +00:00
Michael Drake
af1572be92
Height is already scaled. Make OBJ char bigger.
2012-11-05 19:08:44 +00:00
Michael Drake
5621bca772
Center broken object indicator.
2012-11-05 18:54:11 +00:00
Michael Drake
d0cb1d4e66
Don't abort redraw on bad image.
2012-11-05 18:19:14 +00:00
Michael Drake
6546098876
Fix scaled html object rendering.
2012-08-22 22:48:44 +01:00
Daniel Silverstone
24894214bc
Include dom/dom.h where it might be needed
...
svn path=/trunk/netsurf/; revision=13625
2012-03-24 20:55:22 +00:00
Vincent Sanders
1490b52a6b
NetSurf options rework (a=vince r=daniels,jmb)
...
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Vincent Sanders
df18a97143
Change GTK plotting to use cairo surfaces throughout
...
svn path=/trunk/netsurf/; revision=13354
2011-12-30 00:58:35 +00:00
Michael Drake
f7f3e33f80
Remove core print specific option from html redraw.
...
svn path=/trunk/netsurf/; revision=13339
2011-12-23 23:24:47 +00:00
Michael Drake
a85662f1ce
Make html_redraw obey background image redraw requirement.
...
svn path=/trunk/netsurf/; revision=13336
2011-12-23 22:44:30 +00:00
Michael Drake
2e012a4952
Don't try to render overflow scrollbars for the root element.
...
svn path=/trunk/netsurf/; revision=12774
2011-09-07 19:26:42 +00:00
Vincent Sanders
2348b13492
refactor bitmap out of generic content structure
...
svn path=/trunk/netsurf/; revision=12686
2011-08-31 12:12:41 +00:00
Michael Drake
cdbed58a72
Remove last use of current_redraw_browser.
...
svn path=/trunk/netsurf/; revision=12652
2011-08-24 13:23:31 +00:00
Michael Drake
63c07ee28d
Core part of search improvement:
...
+ Split up browser window and content related elements of html & text search.
+ Associate search contexts with contents, rather than browser windows.
+ Remove highlighting of search terms dependency on current_redraw_browser.
+ Fixes issues with search contexts being applied to the wrong content.
svn path=/trunk/netsurf/; revision=12646
2011-08-24 12:29:30 +00:00
Michael Drake
8faa353087
Don't need current_redraw_browser for box scrollbars any more.
...
svn path=/trunk/netsurf/; revision=12602
2011-07-13 13:51:22 +00:00
Michael Drake
9c91893028
Fix selection for non-gui browser windows (iframes).
...
Selection no longer uses current_redraw_browser.
Fix long-standing selection bugs on platforms that use action on release behaviour.
svn path=/trunk/netsurf/; revision=12598
2011-07-13 13:20:26 +00:00
Michael Drake
5560356e0e
Remove unnecessary #include.
...
svn path=/trunk/netsurf/; revision=12591
2011-07-07 19:14:31 +00:00
Michael Drake
50f52cfc51
Remove ghost caret.
...
svn path=/trunk/netsurf/; revision=12589
2011-07-07 18:38:35 +00:00
Michael Drake
bc91b72c56
Clean up text input code. Now desktop/textinput.{c|h} is concerend with browser windows only. HTML content specific stuff moved to render/textinput.{c|h} and disassociated from browser windows.
...
svn path=/trunk/netsurf/; revision=12587
2011-07-07 17:50:04 +00:00
Michael Drake
eddae6af06
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
...
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
3128ecf2a5
Unify content_redraw params in content_redraw_data struct. Core and RISC OS content handlers updated.
...
svn path=/trunk/netsurf/; revision=12529
2011-06-28 20:17:39 +00:00
Michael Drake
25e7c86fb7
Make search_term_highlighted a core function.
...
svn path=/trunk/netsurf/; revision=12524
2011-06-28 12:30:56 +00:00
Michael Drake
5c9155e606
Core form select widget now associated with HTML contents. Don't use current_redraw_browser for select widget redraw. Fixes core select widget in iframes.
...
svn path=/trunk/netsurf/; revision=12522
2011-06-28 11:15:39 +00:00
Michael Drake
f8462b3344
Pass the content object down through html_redraw. Make overflow scrollbars used content for scrollbar, rather than browser window. Fixes overflow scrollbars in iframes.
...
svn path=/trunk/netsurf/; revision=12520
2011-06-28 08:56:37 +00:00
Michael Drake
c9fe1b604e
HTML contents manage box scrollbars, rather than browser_windows.
...
svn path=/trunk/netsurf/; revision=12519
2011-06-27 22:21:15 +00:00
Michael Drake
c59b5d627f
Correct offset for scaled iframe redraw.
...
svn path=/trunk/netsurf/; revision=12498
2011-06-24 09:51:17 +00:00
Michael Drake
53f4da3420
First pass at core iframes. Currently lacking scrollbars.
...
svn path=/trunk/netsurf/; revision=12474
2011-06-14 20:00:18 +00:00
Michael Drake
297f1dfebb
Restore clipping rectangle before rendering scrollbars. Fixes broken rendering due to interaction between text selection and scroll.
...
svn path=/trunk/netsurf/; revision=12379
2011-05-11 09:21:43 +00:00
Michael Drake
ac447fc293
s/scroll/scrollbar/ and improve scrollbar widget comments.
...
svn path=/trunk/netsurf/; revision=12363
2011-05-09 22:49:17 +00:00
Vincent Sanders
8be1e85e91
consolidate content redraw
...
more cleanups ready for image content refactor
svn path=/trunk/netsurf/; revision=12317
2011-05-08 19:54:35 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Michael Drake
1304964f92
Reduce number of page reflows and viewport
...
redraws as images are fetched:
+ Flag known-sized boxes generated by images.
+ Treat them as replaced all through layout.
+ Only reflow the document for fetched images
if we don't already have the box at the
right size.
svn path=/trunk/netsurf/; revision=12243
2011-04-27 13:50:49 +00:00
Michael Drake
1c7d7f6cbe
Fix scaled text-plain contents.
...
svn path=/trunk/netsurf/; revision=12059
2011-03-15 15:29:28 +00:00
Michael Drake
06ff431df7
Handle scaling of text plots in core.
...
svn path=/trunk/netsurf/; revision=11935
2011-03-08 18:47:15 +00:00