Commit Graph

5024 Commits

Author SHA1 Message Date
François Revel 33034bf6f3 Handle new parameter to fetch_send_callback().
svn path=/trunk/netsurf/; revision=9774
2010-01-02 02:24:45 +00:00
François Revel ba2396e554 s/TRANSPARENT/NS_TRANSPARENT/
svn path=/trunk/netsurf/; revision=9773
2010-01-02 02:14:21 +00:00
Michael Drake 310279b2d5 Center scrollbars and make colours paler.
svn path=/trunk/netsurf/; revision=9765
2009-12-29 11:07:16 +00:00
Michael Drake 7ba4f766b6 Change scrollbar rendering colours and offsets a bit. Could use some more attention.
svn path=/trunk/netsurf/; revision=9764
2009-12-28 23:53:02 +00:00
Michael Drake da47d50cc2 Remove loads of magic numbers from gui_create_browser_window. Place toolbar icons according to their widths, rather than at fixed positions. Keep track of used width, and use that to get remaining width for URL bar. Use option_toolbar_status_width to determine scrollbar/statusbar proportion. Reduce and make consistent the spacing between toolbar icons.
svn path=/trunk/netsurf/; revision=9763
2009-12-28 23:13:02 +00:00
Michael Drake 73199560c3 Change scrollbar arrow pngs.
svn path=/trunk/netsurf/; revision=9762
2009-12-28 23:08:06 +00:00
Chris Young 5c277a3f9a Updated Italian translation from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=9761
2009-12-28 15:28:32 +00:00
John Mark Bell 9c160fe32d Only attempt to fall back to /favicon.ico if the document's base URI points to
an http(s) location.

svn path=/trunk/netsurf/; revision=9760
2009-12-26 16:47:30 +00:00
James Bursa 914eedc11d Don't set proxy option for file: URLs to workaround some versions of libcurl attempting to use it (fixed in latest libcurl). Also unset curl proxy option if it's disabled so the previous xfer's setting isn't retained.
svn path=/trunk/netsurf/; revision=9759
2009-12-25 19:27:22 +00:00
Chris Young f23a285103 It helps to allocate enough memory for 40 LONGs, and that memory needs to be returned
regardless as passing a NULL to chooser.gadget crashes it.

svn path=/trunk/netsurf/; revision=9757
2009-12-23 13:47:50 +00:00
Chris Young a3d82a3634 Search and a couple of other new options
svn path=/trunk/netsurf/; revision=9756
2009-12-23 13:29:10 +00:00
Chris Young b11df61394 Functional search bar; search icon doesn't refresh if the search area is resized
however.

svn path=/trunk/netsurf/; revision=9755
2009-12-22 23:04:59 +00:00
Chris Young df64fb7903 Non-functional search bar
svn path=/trunk/netsurf/; revision=9754
2009-12-21 23:25:35 +00:00
Chris Young d2b2000367 Vertically centre the main row of toolbar gadgets as it looks much neater.
svn path=/trunk/netsurf/; revision=9752
2009-12-20 21:39:43 +00:00
John Mark Bell 11582027d1 Make nsgtk_throbber_initialise_from_png() actually check for allocation failure.
Make nsgtk_throbber_initialise_from_gif() actually stand a chance of working.

svn path=/trunk/netsurf/; revision=9747
2009-12-20 12:05:12 +00:00
Chris Young be51c4accb Files required for web search
svn path=/trunk/netsurf/; revision=9746
2009-12-19 17:07:14 +00:00
Chris Young ee7e9b52ba Copy and update SearchEngines file
svn path=/trunk/netsurf/; revision=9745
2009-12-19 16:51:03 +00:00
Chris Young 8a77de8377 Save favicon as part of icon for save_complete drawers and PDFs
svn path=/trunk/netsurf/; revision=9744
2009-12-19 15:57:53 +00:00
Chris Young d9b17c8077 Don't fail on non-HTML/CSS types - we just don't want an icon saving so is non-fatal.
svn path=/trunk/netsurf/; revision=9743
2009-12-19 14:41:48 +00:00
Chris Young f723272cf2 Make favicons work properly with tabs
svn path=/trunk/netsurf/; revision=9742
2009-12-19 13:42:48 +00:00
Chris Young b53a3273c1 Preliminary favicon support - doesn't display properly due to endian issue in
libnsbmp

svn path=/trunk/netsurf/; revision=9740
2009-12-19 00:39:52 +00:00
John Mark Bell d64f5102eb themesfolder is on stack. Do not free().
svn path=/trunk/netsurf/; revision=9739
2009-12-18 20:25:11 +00:00
John Mark Bell fcffcf4b18 Ensure scaffolding object exists before using it
svn path=/trunk/netsurf/; revision=9738
2009-12-18 20:21:13 +00:00
John Mark Bell b75b2ae8bb Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9737
2009-12-18 20:15:50 +00:00
Chris Young 46eaa6a058 Simple web search implementation
svn path=/trunk/netsurf/; revision=9735
2009-12-18 17:52:31 +00:00
Chris Young c5dbbe89a9 Fix compilation
svn path=/trunk/netsurf/; revision=9734
2009-12-18 16:42:41 +00:00
John Mark Bell 1f4bb41301 I've decided that the user probably doesn't care if setting the filetype of saved HTML documents to HTML fails or not.
More importantly, this also squashes a memory leak, and stops returning false from a function which is defined as returning -1 on error.

svn path=/trunk/netsurf/; revision=9731
2009-12-18 00:11:37 +00:00
John Mark Bell d7ddeebe76 Fix framebuffer build
svn path=/trunk/netsurf/; revision=9730
2009-12-18 00:06:57 +00:00
John Mark Bell 355799ce0b Merge branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
Chris Young 4346b2b62b Allow hiding of Docky icon by setting hide_docky_icon:1
(bit of a workaround involved as REGAPP_NoIcon doesn't
appear to check the tag value)

svn path=/trunk/netsurf/; revision=9725
2009-12-13 12:14:43 +00:00
Chris Young 4bcd8ee1ba Added keyboard navigation of tabs, using Alt+Left/Right
svn path=/trunk/netsurf/; revision=9724
2009-12-13 11:52:58 +00:00
Vincent Sanders ac50b0b3e4 ensure source rectangle on copy operations has its upper co-ordinates set
svn path=/trunk/netsurf/; revision=9721
2009-12-07 17:35:11 +00:00
Vincent Sanders 647f6e17e6 optimise 1x1 bitmap plotting
svn path=/trunk/netsurf/; revision=9717
2009-12-05 13:08:16 +00:00
Vincent Sanders 6c271f148b Make pan routines use new screen copy API
svn path=/trunk/netsurf/; revision=9715
2009-12-04 11:13:33 +00:00
John Mark Bell c3f2972d03 Another blatent use-after-free
svn path=/trunk/netsurf/; revision=9713
2009-12-03 22:12:43 +00:00
John Mark Bell f6fbe6ef96 Fix blatent use-after-free bug.
svn path=/trunk/netsurf/; revision=9712
2009-12-03 22:10:56 +00:00
John Mark Bell d88945bc0b Squash leak.
svn path=/trunk/netsurf/; revision=9711
2009-12-02 16:54:17 +00:00
John Mark Bell dea67b984a Modern OSLib (as of 3 months ago) no longer has colourtrans_CURRENT_MODE.
Use os_CURRENT_MODE, instead.

svn path=/trunk/netsurf/; revision=9710
2009-12-02 16:30:44 +00:00
Michael Drake e30c2b1e20 Remove extraneous comma.
svn path=/trunk/netsurf/; revision=9709
2009-11-30 10:01:36 +00:00
Michael Drake a5476c02ac Purge unnecessary libs from requirements.
svn path=/trunk/netsurf/; revision=9708
2009-11-30 09:17:06 +00:00
John Mark Bell 0b4d623205 Make the gui click handlers responsible for deciding whether to act on DOWN or UP (or both), rather than having the fbtk forcibly prevent UP events being generated.
This fixes the inability to have clicks in the viewport acted upon, and also allows for useful future extensions such as drag scrolling and text selection.

svn path=/trunk/netsurf/; revision=9704
2009-11-23 22:56:29 +00:00
John Mark Bell d591d8df94 Treat decomposed URLs with no path component as being for the path "/".
svn path=/trunk/netsurf/; revision=9703
2009-11-22 23:25:18 +00:00
John Mark Bell ea288ade79 Insert missing breaks. If these cases really should fall through, they need commenting, instead.
svn path=/trunk/netsurf/; revision=9699
2009-11-22 14:44:58 +00:00
John Mark Bell e88a276d91 Actually check for realloc failing
svn path=/trunk/netsurf/; revision=9698
2009-11-22 14:32:36 +00:00
John Mark Bell 2427ebea77 Fix array bounds check
svn path=/trunk/netsurf/; revision=9697
2009-11-22 14:27:56 +00:00
John Mark Bell 3f4d79e576 This optimisation was so simple that it was broken.
svn path=/trunk/netsurf/; revision=9696
2009-11-22 14:24:53 +00:00
John Mark Bell 8685cfb3b7 Fix the other half of this NULL dereference issue
svn path=/trunk/netsurf/; revision=9695
2009-11-22 14:21:47 +00:00
John Mark Bell aaa14e7672 Fix erroneous switch fallthrough
svn path=/trunk/netsurf/; revision=9694
2009-11-22 14:12:49 +00:00
John Mark Bell 63848419e2 Ensure urldb file handle is closed on error.
svn path=/trunk/netsurf/; revision=9693
2009-11-22 14:12:03 +00:00
John Mark Bell a042e38548 Squash leaks
svn path=/trunk/netsurf/; revision=9692
2009-11-22 14:10:39 +00:00