| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height.
svn path=/import/netsurf/; revision=1777
|
|
|
|
|
|
| |
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 1 of 2.
svn path=/import/netsurf/; revision=1761
|
|
|
|
|
|
| |
Fix crash due to uninitialised variable.
svn path=/import/netsurf/; revision=1731
|
|
|
|
|
|
| |
Fix crash when stylesheets fail to load.
svn path=/import/netsurf/; revision=1730
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix read from NULL pointer
svn path=/import/netsurf/; revision=1723
|
|
|
|
|
|
| |
Add fallback field to struct box for object fallback content. Add some checks for tree consistency to box_dump(). Rename struct plugin_params to object_param. Clean up box_object(), box_embed(), box_iframe(), and box_image(). Implement object fallback to contents if the fetch or conversion fails.
svn path=/import/netsurf/; revision=1627
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Don't add fetches that failed to initialise to the object list.
svn path=/import/netsurf/; revision=1580
|
|
|
|
|
|
| |
Font rewrite, part 2.
svn path=/import/netsurf/; revision=1518
|
|
|
|
|
|
| |
Reformat pages loaded from memory cache to window width.
svn path=/import/netsurf/; revision=1467
|
|
|
|
|
|
| |
Ensure style exists before freeing it
svn path=/import/netsurf/; revision=1455
|
|
|
|
|
|
| |
Create interface for duplication and destruction of css_style structs.
svn path=/import/netsurf/; revision=1450
|
|
|
|
|
|
| |
Shift + Click == download
svn path=/import/netsurf/; revision=1429
|
|
|
|
|
|
| |
xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c)
svn path=/import/netsurf/; revision=1419
|
|
|
|
|
|
| |
xcalloc/xrealloc/xstrdup-purge week, part 5. Improve and simplify encoding detection.
svn path=/import/netsurf/; revision=1416
|
|
|
|
|
|
| |
xcalloc/xrealloc/xstrdup-purge week, part 3.
svn path=/import/netsurf/; revision=1403
|
|
|
|
|
|
| |
Update to work with new imagemap interface
svn path=/import/netsurf/; revision=1391
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Removed a chunk of Norcroft compiler warnings. Re-ident some pieces.
svn path=/import/netsurf/; revision=1231
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Start work on removing instances and making content types non-shareable. Clean up some #includes.
svn path=/import/netsurf/; revision=1211
|
|
|
|
|
|
|
| |
Rework the interface of the URL handing module to allow for multiple error types.
Modify save_complete URL rewriting appropriately.
svn path=/import/netsurf/; revision=1206
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Preliminary overflow support. This also goes some way to making the horizontal scrollbar work.
svn path=/import/netsurf/; revision=1088
|
|
|
|
|
|
| |
Using UTF-8 instead of Latin1 encoding.
svn path=/import/netsurf/; revision=1049
|
|
|
|
|
|
| |
Simplify and improve parse_background_position(). Implement css_parse_rgb(). Fix truncation of paragraphs with background images.
svn path=/import/netsurf/; revision=1003
|
|
|
|
|
|
| |
Merge memory cache into content module.
svn path=/import/netsurf/; revision=986
|
|
|
|
|
|
| |
Implement content_stop() and html_stop().
svn path=/import/netsurf/; revision=982
|
|
|
|
|
|
| |
html_find_stylesheets() : returns void, not bool.
svn path=/import/netsurf/; revision=968
|
|
|
|
|
|
| |
Split fetchcache() into fetchcache() and fetchcache_go() to solve problems of callbacks being called before fetchcache() returns. Fix <style> breakage. Error handling fixes & improvements.
svn path=/import/netsurf/; revision=957
|
|
|
|
|
|
| |
Compiler warning purge
svn path=/import/netsurf/; revision=954
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Created content_set_status() : one centralised place where status_message
in the content struct is updated in a fail safe way.
svn path=/import/netsurf/; revision=928
|
|
|
|
|
|
| |
Update calls to layout_document() for error handling.
svn path=/import/netsurf/; revision=915
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix scaled GIF animations.
svn path=/import/netsurf/; revision=805
|
|
|
|
|
|
| |
Replace void pointer in content callbacks with union content_msg_data. Fix animated gif flickering (except for scaled or masked gifs). Add gif to the debug builds.
svn path=/import/netsurf/; revision=801
|
|
|
|
|
|
| |
Supply XML_CHAR_ENCODING_NONE to libxml2 when no encoding is specified so that meta charsets are used.
svn path=/import/netsurf/; revision=788
|
|
|
|
|
|
|
|
| |
Retain aspect ratio of boxes if only one of width/height are specified (eg <img src="blah" width="123"> would scale height to be 123/image_width * image_height)
NB: This does /not/ work for %age widths as %age heights do nothing as yet
svn path=/import/netsurf/; revision=750
|
|
|
|
|
|
| |
Disable some excess logging.
svn path=/import/netsurf/; revision=688
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Implement gui_window_update_box() and use in response to CONTENT_MSG_REDRAW.
svn path=/import/netsurf/; revision=644
|