Commit Graph

5333 Commits

Author SHA1 Message Date
Chris Young 49b70147d1 Make properly endian-safe
Fix warnings

svn path=/trunk/netsurf/; revision=10888
2010-10-16 14:37:37 +00:00
Chris Young 20c9a28710 Errorneous modification
svn path=/trunk/netsurf/; revision=10887
2010-10-16 13:53:11 +00:00
Chris Young b0da0e5067 Fix WebP images for little-endian processors, and enable for gtk build.
Direct links work, images embedded in web pages are not showing up -
test page at http://www.unsatisfactorysoftware.co.uk/netsurf/webptest/

svn path=/trunk/netsurf/; revision=10886
2010-10-16 13:50:35 +00:00
Vincent Sanders 43029944ae fix thumbnailing and localhistory
svn path=/trunk/netsurf/; revision=10885
2010-10-14 19:33:00 +00:00
Vincent Sanders 1dbbbaf64a ensure iframe stuff does not de-reference null pointers
svn path=/trunk/netsurf/; revision=10884
2010-10-14 00:59:39 +00:00
Vincent Sanders 7e0e61992a ensure transparency is unset
svn path=/trunk/netsurf/; revision=10883
2010-10-14 00:59:01 +00:00
Vincent Sanders 83e6c1ba57 fix bitmap plotting
svn path=/trunk/netsurf/; revision=10882
2010-10-13 20:29:30 +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
Vincent Sanders 01c8552489 make windows frontend build and run again
Fix redraw bugs
Still major issue with frames

svn path=/trunk/netsurf/; revision=10880
2010-10-10 22:42:24 +00:00
Chris Young 5738a8f342 Use function instead of directly calling DTM_WRITE
svn path=/trunk/netsurf/; revision=10879
2010-10-10 09:30:22 +00:00
Chris Young d16e3161ad Fix full Cairo build
svn path=/trunk/netsurf/; revision=10878
2010-10-10 09:24:19 +00:00
Steve Fryatt ed8f37dbef Assert is more appropriate; tidy up.
svn path=/trunk/netsurf/; revision=10877
2010-10-10 09:13:18 +00:00
Steve Fryatt 73cf86e437 - Request correct redraw area when changing a node's size in tree_handle_node_changed().
- Update parameter documentation to match function definitions.

svn path=/trunk/netsurf/; revision=10876
2010-10-10 09:10:44 +00:00
Vincent Sanders 095154fa76 extend debug
clean up sub window creation

svn path=/trunk/netsurf/; revision=10875
2010-10-09 18:02:29 +00:00
Vincent Sanders aa2587254a Update build instructions
Remove warnings from treeview branch merge

svn path=/trunk/netsurf/; revision=10874
2010-10-09 18:00:32 +00:00
Vincent Sanders 4d6534622e add realpath compatability for windows
svn path=/trunk/netsurf/; revision=10873
2010-10-09 17:11:28 +00:00
John Mark Bell 66d6bbc06b Squash warning
svn path=/trunk/netsurf/; revision=10872
2010-10-08 23:36:28 +00:00
Vincent Sanders 84a0a62988 Clean up framebuffer compile time font selection
Make framebuffer font documentation match reality
Expose glyph cache size as a configuration option

svn path=/trunk/netsurf/; revision=10871
2010-10-07 23:56:36 +00:00
Chris Young 409b3ef879 Fix menu shortcuts
svn path=/trunk/netsurf/; revision=10870
2010-10-07 22:38:27 +00:00
Chris Young 229b853ba4 Less ambiguous wording; update bug reporting options
svn path=/trunk/netsurf/; revision=10869
2010-10-07 19:28:00 +00:00
Vincent Sanders 45b2ab2d88 If the cookies tree has not been initialised do not allow operations to be scheduled upon it.
svn path=/trunk/netsurf/; revision=10868
2010-10-06 21:46:06 +00:00
Chris Young e4fa546c1a Copy icons to theme dir
svn path=/trunk/netsurf/; revision=10867
2010-10-06 17:55:46 +00:00
John Mark Bell 864f682465 Squash warnings
svn path=/trunk/netsurf/; revision=10866
2010-10-05 19:24:54 +00:00
John Mark Bell 6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Rob Kendrick 195c1ea319 Add seconds/microseconds wallclock time to log output, move header includes to inside guard.
svn path=/trunk/netsurf/; revision=10864
2010-10-04 19:58:10 +00:00
Vincent Sanders 02ab2db00f Add flexible toolbar support and docuemnt it
svn path=/trunk/netsurf/; revision=10862
2010-10-04 15:50:39 +00:00
Chris Young fb75227b77 Simplify detection of valid filetypes for ASL
svn path=/trunk/netsurf/; revision=10861
2010-10-03 22:34:29 +00:00
Chris Young c0b63c111b WebP image support, needs libwebp (from trunk/libwebp) and libvpx.
Only enabled for Amiga build currently, may have colour issues on little-endian CPUs

svn path=/trunk/netsurf/; revision=10860
2010-10-03 20:41:31 +00:00
Chris Young c46e0e6015 Ensure kiosk_mode and frame windows are (a) handled the same wrt menus and (b) not
trying to manipulate non-existant menus

svn path=/trunk/netsurf/; revision=10855
2010-09-28 18:03:03 +00:00
Chris Young 6e1639a032 Change "cache native bitmaps" default back to 0. The userbase's graphics cards are
worse than anticipated.

svn path=/trunk/netsurf/; revision=10853
2010-09-28 16:54:39 +00:00
Chris Young 40a530e99e Fix OS4 static (non-Cairo) build
svn path=/trunk/netsurf/; revision=10808
2010-09-21 17:58:30 +00:00
Chris Young 6124966ab9 Revert previous change
svn path=/trunk/netsurf/; revision=10800
2010-09-19 12:58:25 +00:00
Chris Young f3bf62bdbb Try to avoid corruption when moving cursor around in text boxes
svn path=/trunk/netsurf/; revision=10799
2010-09-19 12:38:23 +00:00
John Mark Bell 6e161d822c Restrict permissible content types for list marker images
svn path=/trunk/netsurf/; revision=10798
2010-09-19 11:27:43 +00:00
Vincent Sanders 8747703583 move tabs menu somewhere less annoying
svn path=/trunk/netsurf/; revision=10797
2010-09-18 20:53:43 +00:00
Vincent Sanders ae4339a970 Make the gtk menus fully translatable
clean up the macro madness a bit in gtk_menu.c

svn path=/trunk/netsurf/; revision=10796
2010-09-18 18:14:09 +00:00
Chris Young 300d094f2f Remove unused #include
svn path=/trunk/netsurf/; revision=10795
2010-09-17 23:31:15 +00:00
Vincent Sanders dd43ea0830 move the gtk menu creation into gtk_menu.c from gtk_scaffolding.c
This causes the menu creation to be concentrated in one place removing the need for numerous external linkages

svn path=/trunk/netsurf/; revision=10794
2010-09-17 23:18:01 +00:00
John Mark Bell 9ad74ad786 Remove bogus assertion
svn path=/trunk/netsurf/; revision=10793
2010-09-17 19:11:53 +00:00
John Mark Bell a10c4d3a7b Fix crash on receipt of a 304 response: it turns out that FETCH_HEADER may be called before any decision about how to process the response is made.
Move FETCH_HEADER handler to start of switch statement to reflect this.

svn path=/trunk/netsurf/; revision=10792
2010-09-16 22:46:40 +00:00
John Mark Bell a7dd752046 Ensure that candidate count is reduced if a conditional request results in a non-304 response
svn path=/trunk/netsurf/; revision=10791
2010-09-16 22:04:06 +00:00
James Bursa b6418a9048 Change back to using tree directly because element navigation functions require libxml2 2.7.3 which is not available everywhere.
svn path=/trunk/netsurf/; revision=10790
2010-09-16 21:03:16 +00:00
Chris Young 86b6535b85 Prevent assert on non-HTML contents
svn path=/trunk/netsurf/; revision=10789
2010-09-16 20:55:25 +00:00
James Bursa bce1f4c231 Use libxml functions to loop through elements in html_head() instead of checking all nodes. Remove logging.
svn path=/trunk/netsurf/; revision=10788
2010-09-16 20:46:29 +00:00
Vincent Sanders 1391ebe5cc perpetrate a neatness to centralise all the low level cache cache control data invalidation
svn path=/trunk/netsurf/; revision=10787
2010-09-16 19:47:15 +00:00
John Mark Bell db736f8378 Fix heap corruption
svn path=/trunk/netsurf/; revision=10786
2010-09-16 19:33:18 +00:00
John Mark Bell dafccf21d5 Fix validation of invalidated cache entries.
svn path=/trunk/netsurf/; revision=10785
2010-09-16 18:58:32 +00:00
Daniel Silverstone be59d5870b Ensure we free etags before invalidating cache control data
svn path=/trunk/netsurf/; revision=10784
2010-09-16 16:21:58 +00:00
John Mark Bell cf30b8b074 Use ETag to validate file: URLs, returning 304 if there's no change.
Force directories to be uncacheable.
Don't emit a Last-Modified header for files, as it may result in a cached object being considered fresh (c.f. RFC2616 $13.2.3/4)
Fix leak of file descriptor on failure to allocate buffer.

svn path=/trunk/netsurf/; revision=10782
2010-09-15 20:32:14 +00:00
John Mark Bell 051dc72a56 Purge last vestiges of file: cruft from curl binding
svn path=/trunk/netsurf/; revision=10781
2010-09-15 19:40:17 +00:00