summaryrefslogtreecommitdiff
path: root/content/content.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add CONTENT_SVG to content handling.James Bursa2007-07-131-0/+5
| | | | svn path=/trunk/netsurf/; revision=3406
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-23/+23
| | | | | | | | | | | | | | 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
* Fix abort on attempted destruction of CONTENT_DIRECTORY (1690222)John Mark Bell2007-03-281-3/+1
| | | | svn path=/trunk/netsurf/; revision=3228
* Lose noisy loggingJohn Mark Bell2007-03-181-3/+3
| | | | svn path=/trunk/netsurf/; revision=3213
* Ensure content structures are zero initialised.John Mark Bell2007-03-181-1/+1
| | | | | | | | | Make css_destroy check that the stylesheet pointer exists (content destructors may be called whilst the content is still loading - e.g. if the content type isn't permissable in the context it was loaded from). Fixes 1627413, 1580980. svn path=/trunk/netsurf/; revision=3212
* Improve debug output so that content usage may be tracedJohn Mark Bell2007-03-181-9/+17
| | | | svn path=/trunk/netsurf/; revision=3210
* Content handlers should not call warn_user - they should broadcast the John Mark Bell2007-03-111-4/+0
| | | | | | | | | | error using content_broadcast and leave it to the content owner(s) to decide what to do about it. Only use warn_user for top-level contents. svn path=/trunk/netsurf/; revision=3204
* Dynamically update scale view (implement 1556975) and prevent double redraws.Richard Wilson2007-03-031-0/+11
| | | | svn path=/trunk/netsurf/; revision=3191
* Fix handling of cookies in unverifiable transactions caused by a redirect ↵John Mark Bell2007-02-021-2/+5
| | | | | | from a fetch into a browser window which was varifiable. svn path=/trunk/netsurf/; revision=3165
* Make time taken that is displayed in status bar use gettimeofday()-based ↵Rob Kendrick2007-01-301-5/+5
| | | | | | time rather than clock()-based time svn path=/trunk/netsurf/; revision=3157
* Make GTK build compile on FreeBSD.James Bursa2007-01-291-0/+1
| | | | svn path=/trunk/netsurf/; revision=3154
* Handle cookies in unverifiable transactionsJohn Mark Bell2007-01-271-1/+2
| | | | svn path=/trunk/netsurf/; revision=3151
* Fix parsing error when an empty HTML data is returned. Add HTTP status and ↵James Bursa2007-01-131-6/+54
| | | | | | other information to status bar. svn path=/trunk/netsurf/; revision=3140
* Improved tracking of memory usage. c->size is now exclusive of talloc size, ↵James Bursa2006-12-031-7/+4
| | | | | | and the two are added to find the full size. svn path=/trunk/netsurf/; revision=3103
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Experimental new frames code.Richard Wilson2006-09-021-1/+1
| | | | svn path=/trunk/netsurf/; revision=2906
* Generate directory listings (fix 1397934)Richard Wilson2006-07-061-0/+7
| | | | svn path=/trunk/netsurf/; revision=2719
* [project @ 2006-02-26 02:25:19 by rjw]Richard Wilson2006-02-261-0/+14
| | | | | | Add support for ICO files. svn path=/import/netsurf/; revision=2096
* [project @ 2006-02-25 18:50:34 by rjw]Richard Wilson2006-02-251-0/+40
| | | | | | Support for BMP files svn path=/import/netsurf/; revision=2095
* [project @ 2006-02-21 20:49:11 by rjw]Richard Wilson2006-02-211-28/+99
| | | | | | Allow any content to be used as a background. Simplify bitmap code. svn path=/import/netsurf/; revision=2087
* [project @ 2006-02-12 23:07:28 by bursa]James Bursa2006-02-121-1/+2
| | | | | | Rewrite handling of text/plain contents. Now rendered directly instead of converting to HTML. svn path=/import/netsurf/; revision=2078
* [project @ 2006-02-08 00:35:05 by jmb]John Mark Bell2006-02-081-0/+1
| | | | | | Handle case where no cache expiry headers are sent; use (now - last_modified) / 10. This should reduce the frequency of cache entry validation. svn path=/import/netsurf/; revision=2064
* [project @ 2006-02-06 00:10:09 by jmb]John Mark Bell2006-02-061-0/+49
| | | | | | Implement HTTP caching algorithm; this should avoid stale cache entries being used. svn path=/import/netsurf/; revision=2059
* [project @ 2006-01-25 06:52:38 by jmb]John Mark Bell2006-01-251-0/+1
| | | | | | Meta refresh support svn path=/import/netsurf/; revision=2039
* [project @ 2005-12-11 21:54:30 by bursa]James Bursa2005-12-111-1/+0
| | | | | | Disable some log messages. svn path=/import/netsurf/; revision=1896
* [project @ 2005-12-10 14:31:32 by adrianl]Adrian Lees2005-12-101-0/+16
| | | | | | ArtWorks support svn path=/import/netsurf/; revision=1891
* [project @ 2005-10-30 21:22:19 by bursa]James Bursa2005-10-301-3/+12
| | | | | | Add index parameter to content_open(). svn path=/import/netsurf/; revision=1872
* [project @ 2005-08-21 12:04:17 by bursa]James Bursa2005-08-211-19/+23
| | | | | | Change void * parameters to intptr_t to make them correct for storing integers or pointers. svn path=/import/netsurf/; revision=1852
* [project @ 2005-07-05 22:43:38 by bursa]James Bursa2005-07-051-3/+22
| | | | | | Add locked attribute to content structure and use it to ignore content_redraw() during _convert() or _reformat(). svn path=/import/netsurf/; revision=1787
* [project @ 2005-04-05 17:19:58 by rjw]Richard Wilson2005-04-051-1/+1
| | | | | | Add sanity checks to Sprite file handling and simplify code. svn path=/import/netsurf/; revision=1600
* [project @ 2005-04-05 02:36:33 by rjw]Richard Wilson2005-04-051-11/+29
| | | | | | Reduce re-allocation of memory when receiving files (drastically increases the speed of loading large files locally). Sprite files no longer require two copies of their data. svn path=/import/netsurf/; revision=1598
* [project @ 2005-04-03 10:58:24 by bursa]James Bursa2005-04-031-20/+15
| | | | | | Use talloc for content structures. svn path=/import/netsurf/; revision=1592
* [project @ 2005-04-01 02:25:11 by jmb]John Mark Bell2005-04-011-0/+3
| | | | | | | application/xhtml+xml -> CONTENT_HTML Fix minor issue with mimetype matching regexp. svn path=/import/netsurf/; revision=1587
* [project @ 2005-01-24 23:02:37 by bursa]James Bursa2005-01-241-1/+3
| | | | | | Reformat pages loaded from memory cache to window width. svn path=/import/netsurf/; revision=1467
* [project @ 2005-01-13 22:42:38 by bursa]James Bursa2005-01-131-13/+17
| | | | | | Start on theme auto-install. Fix content_add_user() not to broadcast error on memory exhaustion. svn path=/import/netsurf/; revision=1448
* [project @ 2005-01-13 20:26:16 by bursa]James Bursa2005-01-131-0/+1
| | | | | | Strengthen entry conditions of content_broadcast() to help detect bugs. svn path=/import/netsurf/; revision=1446
* [project @ 2005-01-03 02:09:20 by jmb]John Mark Bell2005-01-031-0/+1
| | | | | | Shift + Click == download svn path=/import/netsurf/; revision=1429
* [project @ 2005-01-02 03:58:20 by jmb]John Mark Bell2005-01-021-3/+27
| | | | | | xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c) svn path=/import/netsurf/; revision=1419
* [project @ 2004-11-22 00:33:04 by jmb]John Mark Bell2004-11-221-1/+1
| | | | | | Improve plain text rendering (converts occurrences of '<' with '&lt;') svn path=/import/netsurf/; revision=1369
* [project @ 2004-10-17 21:12:32 by bursa]James Bursa2004-10-171-1/+1
| | | | | | Replace bitmap_redraw() with plot.bitmap(). svn path=/import/netsurf/; revision=1316
* [project @ 2004-10-04 23:54:42 by rjw]Richard Wilson2004-10-041-1/+1
| | | | | | Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too. svn path=/import/netsurf/; revision=1301
* [project @ 2004-09-03 22:44:47 by bursa]James Bursa2004-09-031-14/+9
| | | | | | Add generic bitmap functions. Move jpeg and mng code from riscos/ to image/ and update to use bitmap. Note: background tiling and drawfile export for jpeg and mng/png are broken. svn path=/import/netsurf/; revision=1265
* [project @ 2004-08-15 19:06:23 by jmb]John Mark Bell2004-08-151-3/+4
| | | | | | | | | Rationalise image redraw. Supply background colour when redrawing contents Reenable printing of background images Require Tinct 0.07 svn path=/import/netsurf/; revision=1234
* [project @ 2004-08-13 00:55:59 by jmb]John Mark Bell2004-08-131-1/+1
| | | | | | | | Rewrite of plugin handling. This is now much nicer than before although it has about the same amount of functionality. Note: This is now configurable via an option (defaults to OFF) This has only really been tested with the Flash plugin and seems to work reasonably. svn path=/import/netsurf/; revision=1216
* [project @ 2004-08-11 22:08:25 by bursa]James Bursa2004-08-111-56/+27
| | | | | | 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
* [project @ 2004-08-11 19:02:32 by bursa]James Bursa2004-08-111-16/+68
| | | | | | Start work on removing instances and making content types non-shareable. Clean up some #includes. svn path=/import/netsurf/; revision=1211
* [project @ 2004-08-11 16:26:13 by jmb]John Mark Bell2004-08-111-5/+6
| | | | | | | | | | | 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
* [project @ 2004-07-30 16:16:07 by bursa]James Bursa2004-07-301-1/+32
| | | | | | Implement content_quit() and ro_gui_window_quit() to free resources on quit. svn path=/import/netsurf/; revision=1164
* [project @ 2004-07-25 20:45:15 by rjw]Richard Wilson2004-07-251-3/+7
| | | | | | Support for MNGs and JNGs. Bug fix for help token regression. Minor GUI fixes. svn path=/import/netsurf/; revision=1144
* [project @ 2004-07-16 20:57:14 by jmb]John Mark Bell2004-07-161-7/+11
| | | | | | Fix silly rjwness svn path=/import/netsurf/; revision=1090