| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
followed for a given item and abort if a fixed limit is reached. This fixes sites which have pages that redirect to themselves.
Redirect handling is now transparent to clients of fetchcache.
The new scheme works as follows:
1) Request content for URL (fetchcache()
2) Start fetch of content (fetchcache_go()
3) If no redirect, continue through LOADING, READY, DONE etc. states as before
If redirect, receive NEWPTR for each redirect that occurs, then continue
through LOADING, READY, DONE etc. states as before.
The upshot of this is that redirects result in extra contents being created. It also means that, until LOADING has been received, the content (and thus the URL being fetched) may change. Therefore, fetchcache clients should expect to have to deal with transient data prior to LOADING occurring.
As a necessary side-effect of this, the HTML object URLs and CSS @import URLs are no longer stored alongside the relevant contents. These URLs can be accessed by interrogating the url member of struct content anyway, so it was a rather redundant scheme before.
svn path=/trunk/netsurf/; revision=3787
|
|
|
|
|
|
| |
contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.
This is untested under self-hosted RISC OS builds. All else tested and works.
svn path=/trunk/netsurf/; revision=3307
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3073
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=2906
|
|
|
|
|
|
| |
Extend text selection, copying, saving and searching code to handle textplain contents; modified textplain code to accept other line terminators
svn path=/import/netsurf/; revision=2081
|
|
|
|
|
|
| |
Add page, index, and box to struct content_html_data. Implement html_replace_object() and html_find_target(). No longer combine box trees of frames and frameset (was causing crashes).
svn path=/import/netsurf/; revision=1874
|
|
|
|
|
|
| |
Work towards implementing link target frames: add target attribute to struct box, add frame to struct content_html_object and html_fetch_object().
svn path=/import/netsurf/; revision=1849
|
|
|
|
|
|
| |
Improve selector specificity support by adding "working stylesheets" with pre-sorted lists of rules. This also simplifies css_get_style(). The stylesheet origin is now encoded in the specificity. Improve output of css_dump_style().
svn path=/import/netsurf/; revision=1729
|
|
|
|
|
|
| |
Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c.
svn path=/import/netsurf/; revision=1608
|
|
|
|
|
|
| |
Font rewrite, part 2.
svn path=/import/netsurf/; revision=1518
|
|
|
|
|
|
| |
xcalloc/xrealloc/xstrdup-purge week, part 5. Improve and simplify encoding detection.
svn path=/import/netsurf/; revision=1416
|
|
|
|
|
|
| |
Lose hard-coded stylesheet URLs.
svn path=/import/netsurf/; revision=1323
|
|
|
|
|
|
| |
Move box tree from html.layout->children to html.layout. Work on scrollbars.
svn path=/import/netsurf/; revision=1314
|
|
|
|
|
|
|
|
|
| |
Rationalise image redraw.
Supply background colour when redrawing contents
Reenable printing of background images
Require Tinct 0.07
svn path=/import/netsurf/; revision=1234
|
|
|
|
|
|
| |
Using more stddef.h types.
svn path=/import/netsurf/; revision=1230
|
|
|
|
|
|
| |
Remove content_add_instance(), content_remove_instance(), content_reshape_instance(). Add content_open(), content_close(). Implement for CONTENT_HTML.
svn path=/import/netsurf/; revision=1213
|
|
|
|
|
|
|
|
|
|
|
| |
Make content_redraw return a bool
Printing of foreground images now uses OS_SpriteOp
Printing of background images disabled
Mega-paranoid SWI result checking in htmlredraw.c
Rearranged GIF data structure slightly - updates to reflect this.
Other stuff I've probably forgotten
svn path=/import/netsurf/; revision=1208
|
|
|
|
|
|
|
|
| |
Rework stylesheet fetching code to remove dependence on magic numbers (now uses
values defined in html.h)
Make ad blocking optional.
svn path=/import/netsurf/; revision=1168
|
|
|
|
|
|
| |
Improve form control interaction code. Replace box_under_area() with simpler box_at_point(). Detect objects for menu once on menu opening. Remove obsolete text selection code.
svn path=/import/netsurf/; revision=1096
|
|
|
|
|
|
| |
Implement content_stop() and html_stop().
svn path=/import/netsurf/; revision=982
|
|
|
|
|
|
| |
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.
svn path=/import/netsurf/; revision=951
|
|
|
|
|
|
| |
Fix double-free of background image url. Add background parameter to html_fetch_object().
svn path=/import/netsurf/; revision=944
|
|
|
|
|
|
|
|
|
| |
Implement background-image, background-repeat, background-position and background-attachment CSS properties.
background-attachment and background-position need more work.
Some redraw issues remain.
svn path=/import/netsurf/; revision=938
|
|
|
|
|
|
| |
Improved handling of objects and frames; some work on malloc() failure in box conversion.
svn path=/import/netsurf/; revision=880
|
|
|
|
|
|
| |
Type change of struct content_html.encoding from xmlCharEncoding to xmlChar; Pickup Content-Type charset in the HTML file and use this if the server didn't send it or there was no server involved (e.g. HTML loading from disk).
svn path=/import/netsurf/; revision=846
|
|
|
|
|
|
| |
Imagemap support
svn path=/import/netsurf/; revision=671
|
|
|
|
|
|
|
| |
Remove need for XML parse tree to be kept in memory.
The source document is now reparsed when saving complete.
svn path=/import/netsurf/; revision=662
|
|
|
|
|
|
|
|
|
|
|
| |
Add URL rewriting for most URLs.
Still TODO:
1) rewriting of @import rules
2) Objects used by embedded html pages
NB. This change means that the XML parse tree is kept in memory until the content is freed.
svn path=/import/netsurf/; revision=659
|
|
|
|
|
|
| |
Add source_data to content structure and remove equivalents from individual contents.
svn path=/import/netsurf/; revision=606
|
|
|
|
|
|
| |
Attempt to detect document charset encoding if the server doesn't send it.
svn path=/import/netsurf/; revision=592
|
|
|
|
|
|
| |
Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history.
svn path=/import/netsurf/; revision=566
|
|
|
|
|
|
| |
Fix html_destroy() crash, add documentation.
svn path=/import/netsurf/; revision=562
|
|
|
|
|
|
| |
Document box.h, remove struct page_elements.
svn path=/import/netsurf/; revision=547
|
|
|
|
|
|
| |
Add permitted_types to html_fetch_object().
svn path=/import/netsurf/; revision=500
|
|
|
|
|
|
| |
Use memory pool for box tree.
svn path=/import/netsurf/; revision=477
|
|
|
|
|
|
| |
Use charset from Content-Type header.
svn path=/import/netsurf/; revision=460
|
|
|
|
|
|
| |
New url_join using liburi, <base href=...>.
svn path=/import/netsurf/; revision=441
|
|
|
|
|
|
|
| |
Begin frames support. Just data structure handling for now. None of this
code is called atm.
svn path=/import/netsurf/; revision=416
|
|
|
|
|
|
| |
Set graphics window when rendering objects.
svn path=/import/netsurf/; revision=279
|
|
|
|
|
|
| |
Document cache and content, split struct content up.
svn path=/import/netsurf/; revision=270
|
|
|
|
|
|
| |
Call content_reshape_instance
svn path=/import/netsurf/; revision=265
|
|
|
|
|
|
| |
Implement html_redraw.
svn path=/import/netsurf/; revision=218
|
|
|
|
|
|
| |
Add content instances.
svn path=/import/netsurf/; revision=216
|
|
|
|
|
|
| |
New file headers.
svn path=/import/netsurf/; revision=190
|
|
|
|
|
|
| |
Change fetchcache system to store loading contents in cache.
svn path=/import/netsurf/; revision=180
|
|
|
|
|
|
| |
Inline images and related.
svn path=/import/netsurf/; revision=125
|
|
Reorganization and rewrite of fetch, cache, and content handling.
svn path=/import/netsurf/; revision=96
|