Commit Graph

3792 Commits

Author SHA1 Message Date
John Mark Bell 3a56b67d95 Add missing #include.
Fix guard macro -- how long has this been wrong, I wonder?

svn path=/trunk/netsurf/; revision=6069
2009-01-15 15:58:35 +00:00
Chris Young 60338f768f Allocate the file requester after reading the options which contain the values we need
to put in the allocation request

svn path=/trunk/netsurf/; revision=6068
2009-01-15 12:26:06 +00:00
Chris Young f899efce22 Add some shared objects info
svn path=/trunk/netsurf/; revision=6067
2009-01-15 12:24:53 +00:00
Chris Young bb090ee7c3 Reinstate WINDOW_Qualifier - the AutoDoc is wrong, it returns a uint32 not a uint16.
This should stop shift and ctrl keys from appearing to get stuck down.

svn path=/trunk/netsurf/; revision=6035
2009-01-10 23:10:54 +00:00
Chris Young ccbf443125 Revert WINDOW_Qualifier change which was supposed to make shift and ctrl keyboard
reading more reliable, but for some reason wasn't returning the keyboard state as it
should.

svn path=/trunk/netsurf/; revision=6034
2009-01-10 22:57:23 +00:00
Chris Young a161809cdb fix warning
svn path=/trunk/netsurf/; revision=6033
2009-01-10 22:55:51 +00:00
Chris Young af1452dfb3 Add AmigaOS test builds link
svn path=/trunk/netsurf/; revision=6032
2009-01-10 22:18:48 +00:00
Chris Young 6085820add Modify 32-bit mouse pointers to look at the ones in ENV:Sys
These are expected to become some sort of standard :)
Will leave the Default theme pointing to the archive-included mouse pointer images
until this is official (Default theme should not require 3rd party images installed,
although it still needs AISS currently for some of the buttons)

svn path=/trunk/netsurf/; revision=6031
2009-01-10 22:17:57 +00:00
Chris Young 92e8c38d6c Remove prompts for screen dimensions
svn path=/trunk/netsurf/; revision=6029
2009-01-10 21:43:46 +00:00
Chris Young c9a7e4b2b9 Update options and ARexx commands
svn path=/trunk/netsurf/; revision=6028
2009-01-10 21:43:18 +00:00
Chris Young 2cb1775973 Add SAVE command, which saves the source of the current page to the named file.
Template: SAVE FILENAME/A

Will add additional options later.

svn path=/trunk/netsurf/; revision=6027
2009-01-10 21:33:34 +00:00
Chris Young 7098d2850d Fix screen clears
svn path=/trunk/netsurf/; revision=6026
2009-01-10 21:32:12 +00:00
Chris Young 4a706860a5 If screen mode ID is not set in the options, prompt for a screenmode on startup. This
replaces the old BestModeID() guess based on the window_screen_width,
window_screen_height and screen_depth options.

use_workbench has been replaced with use_pubscreen.  If set, NetSurf will attempt to
open on the named public screen.  If this fails it will fall back to Workbench (it
will not fall back to opening an own screen).
use_pubscreen:Workbench is equivalent to use_workbench:1

Allocate ASL file requesters specially for saves, to keep a consistent load/save
interface.  May also need a seperate one for the ARexx file requester.

svn path=/trunk/netsurf/; revision=6025
2009-01-10 21:31:21 +00:00
Chris Young 9a4175c4fa Use an ASL requester allocated for saves (which defaults to option_download_dir when
first used and remembers the save location thereafter) for the save requesters.

svn path=/trunk/netsurf/; revision=6024
2009-01-10 21:26:22 +00:00
Chris Young 1b58a411bc Replace use_workbench with a more general use_pubscreen option.
svn path=/trunk/netsurf/; revision=6023
2009-01-10 21:24:43 +00:00
Chris Young d6d8cb2fe4 Handle mailto: URLs through gui_launch_url()
svn path=/trunk/netsurf/; revision=6022
2009-01-10 21:22:46 +00:00
Chris Young 742697bd2c First write-up of build instructions for AmigaOS
svn path=/trunk/netsurf/; revision=6021
2009-01-10 21:21:45 +00:00
Adrian Lees 912adb285d Updated URLs in default hotlist
svn path=/trunk/netsurf/; revision=6011
2009-01-10 00:34:56 +00:00
Adrian Lees d67a57c1e9 Assorted saving-related changes (WIP)
svn path=/trunk/netsurf/; revision=6010
2009-01-10 00:18:34 +00:00
Daniel Silverstone 4e3951660f Silence a bunch of warnings caused by cURL's typecheck-gcc stuff being strict and in one case cURL simply being daft (whoever heard of a signed HTTP response code?).
svn path=/trunk/netsurf/; revision=5991
2009-01-08 10:36:11 +00:00
John Mark Bell 2d3b9e435b Charset fallbacks. If we don't support the charset declared in the HTTP header, fall back to autodetect. If we don't support the charset declared in a meta charset, fall back to Windows-1252.
svn path=/trunk/netsurf/; revision=5974
2009-01-06 22:06:14 +00:00
John Mark Bell ec868fdcdc It's probably a good idea if we're consistent in which allocation routines we're using.
svn path=/trunk/netsurf/; revision=5972
2009-01-06 17:52:47 +00:00
Rob Kendrick 3d260f6e75 Fix warnings and formatting
svn path=/trunk/netsurf/; revision=5956
2009-01-02 15:10:33 +00:00
Daniel Silverstone cc4ff67438 Remove unnecessary storage of page number in tab add
svn path=/trunk/netsurf/; revision=5955
2009-01-02 14:48:29 +00:00
Daniel Silverstone 70e1c9c7bf Silence lack of return value check warning on fgets()
svn path=/trunk/netsurf/; revision=5954
2009-01-02 14:46:54 +00:00
Daniel Silverstone ebfb26038f Silence format-string warning
svn path=/trunk/netsurf/; revision=5953
2009-01-02 14:44:09 +00:00
Daniel Silverstone 3321a81f71 Fix unchecked result warnings for realpath
svn path=/trunk/netsurf/; revision=5952
2009-01-02 14:41:53 +00:00
Daniel Silverstone a804727385 A bit of tidying of the GTK options dialog code. Still not ideal, still not warning free.
svn path=/trunk/netsurf/; revision=5951
2009-01-02 14:36:02 +00:00
John Mark Bell 7f099d6675 More lenient refresh delay parsing
svn path=/trunk/netsurf/; revision=5948
2008-12-30 15:46:06 +00:00
Chris Young 95039df607 If a GIF has insufficient frame data, display the frames that have been decoded.
svn path=/trunk/netsurf/; revision=5947
2008-12-30 13:23:36 +00:00
Adrian Lees 77972a5056 Improve pasting into password boxes
svn path=/trunk/netsurf/; revision=5946
2008-12-30 06:27:12 +00:00
Chris Young 96c314750f More efficient layers clipping
svn path=/trunk/netsurf/; revision=5945
2008-12-29 01:18:53 +00:00
Chris Young e56aabc998 Complete set of Cairo plotters (from gtk_plotters.c).
All except the polygon plotter - as the graphics.library implementation has problems -
are disabled, but can be enabled by defining NS_AMIGA_CAIRO_ALL.

Using only the Cairo plotters is much slower than using only the graphics.library
plotters (especially clipping which is adding several seconds to rendering with Cairo)
and the default "mixed" Cairo state is the recommended configuration for now.

svn path=/trunk/netsurf/; revision=5944
2008-12-29 00:52:19 +00:00
Chris Young 605cf900b4 Some bitmap caching - not making much difference and using up a lot of gfx mem, may
need to make this a configurable option.

svn path=/trunk/netsurf/; revision=5943
2008-12-28 15:55:52 +00:00
Chris Young c059f24cfa Update for new SDK
svn path=/trunk/netsurf/; revision=5942
2008-12-28 13:49:26 +00:00
Chris Young 59f551171c Fix crash when launching NetSurf if it is already running.
svn path=/trunk/netsurf/; revision=5941
2008-12-28 12:35:55 +00:00
Chris Young 495fa6c648 Minor changes for Amiga Cairo build
svn path=/trunk/netsurf/; revision=5940
2008-12-28 12:24:18 +00:00
Chris Young fcf46a91b6 SVG support for Amiga version using libsvgtiny and libcairo
Cairo plotter for arcs

Cairo support is experimental and can be enabled with option NETSURF_AMIGA_USE_CAIRO
For some reason linking against shared objects breaks forms.

svn path=/trunk/netsurf/; revision=5939
2008-12-28 00:41:35 +00:00
Chris Young 2967b76f4a Unicode text display. Painfully slow and needs some work wrt text alignment, colours.
The nsfont_width etc functions also need adjustment.

svn path=/trunk/netsurf/; revision=5938
2008-12-27 23:25:42 +00:00
Chris Young 47e12b16f8 Missed one
svn path=/trunk/netsurf/; revision=5937
2008-12-27 18:39:16 +00:00
Chris Young 9b79c1c6a4 Handle opaqueness a bit
Appears that Composite() has the same problem as BitMapScale() in that trying to scale
to a negative co-ordinate destination doesn't work.  Still seems a bit faster after
adding the additional blit, although www.bbc.co.uk scrolls at a snail's pace since
adding alpha blits.


svn path=/trunk/netsurf/; revision=5936
2008-12-27 18:34:55 +00:00
Chris Young 78f912d5d3 Handle opaqueness a bit
svn path=/trunk/netsurf/; revision=5935
2008-12-27 18:32:20 +00:00
Michael Drake d27a1c625f Only increase the root element's redraw box to cover margin, if the redraw box isn't already bigger due to protruding descendants.
svn path=/trunk/netsurf/; revision=5934
2008-12-27 17:29:17 +00:00
Chris Young 04d7ddde4f Update to new API
svn path=/trunk/netsurf/; revision=5933
2008-12-27 17:16:35 +00:00
Michael Drake 5a3b076869 Fix crash bug.
svn path=/trunk/netsurf/; revision=5932
2008-12-27 17:09:35 +00:00
Michael Drake e5e68a3feb Handle replaced inline borders and backgrounds like blocks.
svn path=/trunk/netsurf/; revision=5930
2008-12-27 15:03:54 +00:00
Michael Drake 8dea43fc35 Do our default page margin with a margin on BODY, like other browsers and the CSS 2.1 spec example default style sheet for HTML 4.01.
svn path=/trunk/netsurf/; revision=5928
2008-12-27 00:10:57 +00:00
Michael Drake 8ecaccd8a4 Plot backgrounds on the root element over margin box, as per CSS 2.1 spec.
svn path=/trunk/netsurf/; revision=5927
2008-12-27 00:08:25 +00:00
Chris Young dbc6d8793f Reduce memory usage
svn path=/trunk/netsurf/; revision=5926
2008-12-26 19:04:57 +00:00
Chris Young b4e80b4d3a Respect alpha channel in bitmaps, and use Composite() instead of BitMapScale() under
OS4.1 (potentially a little quicker).

svn path=/trunk/netsurf/; revision=5925
2008-12-26 18:36:53 +00:00