Vincent Sanders
76a68d7dd0
Update content to split public and internal API
2016-06-06 09:01:38 +01:00
Vincent Sanders
7fc0a4c481
move desktop window header into public API
2016-05-30 17:32:57 +01:00
Vincent Sanders
8711fbe47d
move mouse and pointer state header into public API
2016-05-30 12:10:08 +01:00
Vincent Sanders
6722943b81
move the CSS content handler
2016-05-26 11:18:41 +01:00
Vincent Sanders
3405803280
Improve content encoding information API
...
Extend the content_get_encoding() API to retrieve the source of
the encoding as well as the actual encoding.
2014-11-07 12:33:34 +00:00
Vincent Sanders
8c2cfecfb5
Allow content handlers to have debug values set through API
...
Previously content handler debugging features were accessed by global
variables. This allows the setting of debugging parameters via a
content API giving per content control over debugging features.
Currently only used by the html content handler to toggle global
redraw debugging.
2014-11-06 22:51:46 +00:00
Vincent Sanders
8ec7ad053a
Make the fetching of a contents encoding generic.
...
The frontends previously had to use an html renderer API to get the
encoding of a content. This also required the explicit checking of the
contents type rather than using the existing content API to abstract
this knowledge.
2014-11-05 23:44:31 +00:00
Michael Drake
eed2a97eca
Add bw function to get scrollbar type.
2014-10-25 12:04:11 +01:00
Vincent Sanders
3a9fa29ee5
try and improve usage of browser window internals
2014-07-06 18:34:34 +01:00
Rob Kendrick
0d7f1cfc93
Add infrastructure for calling front ends to set file gadget filenames via clicking in addition to drag-and-drop
2014-01-05 16:04:35 +00:00
John-Mark Bell
3801886aec
Debounce style updates
2013-03-16 10:50:17 +00:00
John-Mark Bell
97978e858b
Use custom fetcher for inline CSS
2013-02-27 03:11:10 +00:00
John-Mark Bell
405fa12f8d
Fix handling of inline stylesheets with @import
2013-02-26 09:14:32 +00:00
Vincent Sanders
cc7f45898b
refactor stylesheet handling to separate object from within html rendering
2013-02-24 16:08:37 +00:00
Michael Drake
7088908cc2
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
...
Conflicts of doom:
render/html.c
2013-02-22 13:24:36 +00:00
Michael Drake
c2a718075a
A load of refactoring of how content selection and input work.
...
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +00:00
Vincent Sanders
066df9802a
deal with inline styles on updates instead of insert
2013-02-20 17:13:23 +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
b51816c222
Clean up search gui callbacks.
2012-08-14 13:41:30 +01:00
Vincent Sanders
06608c1bf0
extend script enumeration to include asyncronous and deferred scripts
2012-07-30 22:54:14 +01:00
Vincent Sanders
394357b7c9
fix quirks mode setting with libdom hubbub parser
2012-07-14 09:13:21 -06:00
Vincent Sanders
d7289f6701
remove parser binding layer
2012-07-13 17:37:22 -06:00
Vincent Sanders
d5c900b5f1
fix mimetype handling of script elements
...
svn path=/trunk/netsurf/; revision=13993
2012-06-28 14:38:28 +00:00
Vincent Sanders
49effe103a
restructure javascript binding layout to be more explicit
...
fix html content so it correctly loads all the script tags
svn path=/trunk/netsurf/; revision=13968
2012-06-19 09:35:51 +00:00
Daniel Silverstone
d1194be49f
Migrate frame types so that desktop/browser.h does not include render/html.h
...
svn path=/trunk/netsurf/; revision=13605
2012-03-24 17:09:21 +00:00
Vincent Sanders
b21f85a072
initial move to libdom
...
svn path=/trunk/netsurf/; revision=13573
2012-03-23 23:18:04 +00:00
Michael Drake
20583d7288
Enable User CSS file.
...
svn path=/trunk/netsurf/; revision=13507
2012-03-06 17:44:24 +00:00
Michael Drake
ab45ecd228
Use lwc_string for box->id.
...
svn path=/trunk/netsurf/; revision=13093
2011-10-29 11:37:05 +00:00
Vincent Sanders
52ad2c1e25
initial favicon support
...
svn path=/trunk/netsurf/; revision=12975
2011-10-06 23:31:55 +00:00
John Mark Bell
d5bb9d98e7
Build resource: map at start time
...
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate
svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
John Mark Bell
3049f37e24
Parallelise object fetches
...
svn path=/trunk/netsurf/; revision=12934
2011-10-03 20:38:23 +00:00
Michael Drake
898b01e721
More conversion to nsurl. (box->href, object params, imagemaps, (i)frames)
...
svn path=/trunk/netsurf/; revision=12933
2011-10-03 20:28:29 +00:00
Michael Drake
36eff6da2b
Port more internals to nsurl. Front ends may need updating.
...
svn path=/trunk/netsurf/; revision=12926
2011-10-03 15:56:47 +00:00
John Mark Bell
74395ac888
Restartable box tree constructor. Yield between elements.
...
svn path=/trunk/netsurf/; revision=12912
2011-09-29 19:15:54 +00:00
John Mark Bell
339bed7272
Virtualise content handler finalisation calls. Remove pointless implementations.
...
svn path=/trunk/netsurf/; revision=12797
2011-09-15 22:47:50 +00:00
Michael Drake
6e3e168d08
Avoid instance of using bw->current_content outside desktop/.
...
svn path=/trunk/netsurf/; revision=12690
2011-08-31 17:53:40 +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
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
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
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
ac447fc293
s/scroll/scrollbar/ and improve scrollbar widget comments.
...
svn path=/trunk/netsurf/; revision=12363
2011-05-09 22:49:17 +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
John Mark Bell
1edcef6141
Remove redundant parameter from content_open API
...
svn path=/trunk/netsurf/; revision=11964
2011-03-10 23:13:03 +00:00
John Mark Bell
8f3ed71cba
Keep child objects of a HTML content in a list, instead of an array
...
svn path=/trunk/netsurf/; revision=11963
2011-03-10 23:08:34 +00:00
Michael Drake
e3f00b8546
Cache space widths.
...
svn path=/trunk/netsurf/; revision=11877
2011-03-01 20:00:41 +00:00
John Mark Bell
f42ed976e5
Constify
...
svn path=/trunk/netsurf/; revision=11680
2011-02-14 19:17:08 +00:00
Michael Drake
fe7921a387
Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
...
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
John Mark Bell
d4d866c43f
Fix crash when top-level content is not HTML and there is a fragment identifier in the URL.
...
Constify.
svn path=/trunk/netsurf/; revision=10881
2010-10-11 06:54:37 +00:00
Michael Drake
b010a25771
+ Refactor input handling from browser window code into content
...
handlers.
+ Disentangle all box tree manipulation from browser window
code and put it where it belongs.
+ Move other content specific and other irrelevant code from
browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
used by browser window code, and it is used by treeview
windows on the treeview branch.
svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
Michael Drake
9e52f10529
Add encoding source getter.
...
svn path=/trunk/netsurf/; revision=10269
2010-04-07 13:12:27 +00:00