Commit Graph

778 Commits

Author SHA1 Message Date
Chris Young
a81a7b5af2 Only extend the clipping area for plain text contents
svn path=/trunk/netsurf/; revision=12063
2011-03-15 18:43:13 +00:00
Chris Young
40896dd3d9 Fix local history redraw
svn path=/trunk/netsurf/; revision=12054
2011-03-15 00:08:06 +00:00
Chris Young
3341d97949 give up trying to create fs links as it doesn't work properly either with or
without escaping the punctuation...

svn path=/trunk/netsurf/; revision=12053
2011-03-14 23:58:08 +00:00
Chris Young
61f4645733 Add links to missing resources
svn path=/trunk/netsurf/; revision=12051
2011-03-14 20:05:07 +00:00
Chris Young
31bb5a16c5 Revert errorneous documentation update
svn path=/trunk/netsurf/; revision=12050
2011-03-14 18:56:27 +00:00
Chris Young
1cfc5b8970 More rigourous MIME type checking for CSS allows us to remove the icons from included
CSS files.

svn path=/trunk/netsurf/; revision=12049
2011-03-14 18:53:13 +00:00
Chris Young
050eba408d Avoid crash when no theme is present
svn path=/trunk/netsurf/; revision=12047
2011-03-14 18:32:05 +00:00
Chris Young
0fc9da23f6 Check for RISC OS CSS filetype in case we have got redirected (ie. we are running from
the SVN tree and using resource: addressing)

svn path=/trunk/netsurf/; revision=12041
2011-03-14 00:33:13 +00:00
Chris Young
262db10204 Avoid crashing on NULL schedule_list
svn path=/trunk/netsurf/; revision=12040
2011-03-13 23:20:03 +00:00
John Mark Bell
408f78b737 Move schedule.h to utils/
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Chris Young
8c1e6db760 Don't crash if removing events when we have no list
svn path=/trunk/netsurf/; revision=12035
2011-03-13 19:52:04 +00:00
Chris Young
6a7402b330 Empty the schedule list before freeing and closing resources
svn path=/trunk/netsurf/; revision=12034
2011-03-13 19:43:56 +00:00
Chris Young
d3b8961017 Move timer initialisation for scheduler so netsurf_init can queue scheduled events.
svn path=/trunk/netsurf/; revision=12033
2011-03-13 19:26:16 +00:00
Chris Young
9017a03330 Add missing includes; Don't mix TimeVal definitions
svn path=/trunk/netsurf/; revision=12032
2011-03-13 19:12:03 +00:00
Chris Young
10a70af7be Add Credits and Licence buttons to About requester.
svn path=/trunk/netsurf/; revision=12031
2011-03-13 18:51:25 +00:00
Chris Young
dd5b65e33b Search for resources in user's preferred languages, en, and outside the
language-specific dirs.

svn path=/trunk/netsurf/; revision=12030
2011-03-13 18:33:57 +00:00
Daniel Silverstone
93e9bfe323 Shunt the schedule function definitions to desktop/schedule.h. Shunt the hlcache/llcache to using schedule to get their cleanups run.
svn path=/trunk/netsurf/; revision=12029
2011-03-13 18:26:46 +00:00
Chris Young
c615507e15 Set version using testament.h instead of old ARexx script
svn path=/trunk/netsurf/; revision=12028
2011-03-13 17:32:00 +00:00
John Mark Bell
1edcef6141 Remove redundant parameter from content_open API
svn path=/trunk/netsurf/; revision=11964
2011-03-10 23:13:03 +00:00
Chris Young
02361309ed Remove gui_globals scale as no longer needed
svn path=/trunk/netsurf/; revision=11962
2011-03-10 20:07:14 +00:00
Chris Young
d12ce6b075 Fix crash when launching NetSurf twice
svn path=/trunk/netsurf/; revision=11961
2011-03-10 00:05:37 +00:00
John Mark Bell
60e8bb79ff Fix up pkg-config package ordering to ensure that libcares appears after libcurl in the link line
Link against libauto when cross compiling for AmigaOS4

svn path=/trunk/netsurf/; revision=11957
2011-03-09 22:39:10 +00:00
John Mark Bell
b9885e81ba Need __USE_INLINE__ and __USE_BASETYPE__ for AmigaOS4
Only link against libiconv if building for AmigaOS3

svn path=/trunk/netsurf/; revision=11955
2011-03-09 21:52:53 +00:00
John Mark Bell
3292bffcc8 Squash warning
svn path=/trunk/netsurf/; revision=11954
2011-03-09 21:51:49 +00:00
John Mark Bell
1a1c6baf9c Squash warnings
svn path=/trunk/netsurf/; revision=11953
2011-03-09 21:51:32 +00:00
John Mark Bell
ac1ecacb1b Buildsystem hackery to support cross compiling for AmigaOS4
svn path=/trunk/netsurf/; revision=11952
2011-03-09 21:32:54 +00:00
Michael Drake
55fd1d0133 Front ends don't need to call thumbnail_get_redraw_scale() now.
svn path=/trunk/netsurf/; revision=11946
2011-03-09 21:04:15 +00:00
Michael Drake
e073f1c542 Don't scale text plots in front end (Amiga).
svn path=/trunk/netsurf/; revision=11939
2011-03-08 18:49:11 +00:00
Chris Young
a88963d82e Remove -liconv, as we use newlib's implementation and
lpu handles opening of iconv itself.

svn path=/trunk/netsurf/; revision=11928
2011-03-06 22:21:38 +00:00
John Mark Bell
de688b59e1 Fix text selection
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
Chris Young
5ac45472c7 Fix broken CONTENT_PLUGIN API.
Add a default content handler for Amiga using the plugin interface, which passes
unknown files (currently images only) through DataTypes.

svn path=/trunk/netsurf/; revision=11924
2011-03-06 13:58:02 +00:00
Chris Young
f892e59d76 Direct rendering. Testing only; has problems with inline image placement, grey
background for all text, won't work with Cairo renderer, may crash with certain
gfx lib operations (AreaFill).  However, seems to be much faster in 16-bit mode than
off-screen buffered rendering.

svn path=/trunk/netsurf/; revision=11913
2011-03-05 14:36:55 +00:00
Chris Young
912b3bcde8 Enable selection of rendering engine (graphics.library, Cairo) at runtime, if we're
compiled with Cairo support.

svn path=/trunk/netsurf/; revision=11912
2011-03-05 11:42:31 +00:00
Chris Young
323d5f3ba1 Remove compat.c/h, hasn't been needed for a long time.
svn path=/trunk/netsurf/; revision=11910
2011-03-04 23:46:01 +00:00
Chris Young
6fb873c54c Add "use blank page" button for homepage url
Add close gadget to window (operates as cancel)

svn path=/trunk/netsurf/; revision=11909
2011-03-04 23:19:24 +00:00
Chris Young
84dbdbee76 Don't override download dir as it stops the last used dir being remembered
svn path=/trunk/netsurf/; revision=11908
2011-03-04 21:01:43 +00:00
Chris Young
020239fd62 Use browser_window_redraw_ready
svn path=/trunk/netsurf/; revision=11907
2011-03-04 19:13:23 +00:00
Chris Young
a1d8f565c8 Use BltBitMapTags
svn path=/trunk/netsurf/; revision=11906
2011-03-04 19:05:12 +00:00
Chris Young
ddfdf2a629 Don't trap RMB over gadgets if those gadgets are disabled
svn path=/trunk/netsurf/; revision=11879
2011-03-01 20:27:49 +00:00
Chris Young
7935d74849 Copy our updated working libpng.so; this fixes the cyan boxes on Wikipedia
svn path=/trunk/netsurf/; revision=11878
2011-03-01 20:16:33 +00:00
Chris Young
46915c6b7b Brand new windows should not be cloning an existing browser_window or they pick up old
local history.
Brand new tabs should not either but that appears to be unavoidable at present.

svn path=/trunk/netsurf/; revision=11872
2011-03-01 19:09:57 +00:00
Vincent Sanders
9660442e92 remove obsolete, unused gui_window_redraw API
svn path=/trunk/netsurf/; revision=11870
2011-03-01 14:31:54 +00:00
Chris Young
3cc3dcf1e1 Limit context menu history items to 10
svn path=/trunk/netsurf/; revision=11868
2011-02-28 23:46:49 +00:00
Chris Young
c9f25d5e4a Don't plot 0 size bitmaps
svn path=/trunk/netsurf/; revision=11867
2011-02-28 23:33:22 +00:00
Chris Young
ff60f79cb5 Add history context menu to the forward button too
svn path=/trunk/netsurf/; revision=11866
2011-02-28 23:33:03 +00:00
Chris Young
c0ab816494 Right-click back button now gives list of history items.
Probably needs tidying up - limiting number of entries etc

svn path=/trunk/netsurf/; revision=11865
2011-02-28 22:35:53 +00:00
Chris Young
b768440a58 Memory leak
svn path=/trunk/netsurf/; revision=11864
2011-02-28 22:12:34 +00:00
Chris Young
4213bd41fb Avoid multiple duplicated menus
Allow selection menu to appear over blank area of text boxes

svn path=/trunk/netsurf/; revision=11862
2011-02-28 22:03:18 +00:00
Chris Young
4a174fd670 Allow context menus in arbitrary positions outside the browsing area.
Add a Local History item to a new back button context menu, eventually this will give
a recent history list.

svn path=/trunk/netsurf/; revision=11858
2011-02-28 19:31:35 +00:00
John Mark Bell
86a2e0076d Fix bug #3194007: stop emitting duplicate READY/DONE events.
* Make content handlers responsible for setting READY/DONE state & emitting events.
	* Stop content_convert doing this when there is a registered convert function for the content type.

svn path=/trunk/netsurf/; revision=11850
2011-02-27 20:11:39 +00:00