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
Chris Young
31bd1df6f9
Stop mix'n'match p96/gfx.lib drawing, remove ami_clg
...
svn path=/trunk/netsurf/; revision=11832
2011-02-26 22:24:41 +00:00
Chris Young
f8d46be1af
Fix copying of icon
...
svn path=/trunk/netsurf/; revision=11831
2011-02-26 20:51:10 +00:00
Chris Young
b0635ea5dd
Rename confusingly-named file; Remove about from unsupported protocols, as will never
...
reach this code now.
svn path=/trunk/netsurf/; revision=11829
2011-02-26 17:38:43 +00:00
Chris Young
6eb8783632
Less ridiculous time calculation
...
svn path=/trunk/netsurf/; revision=11826
2011-02-26 12:54:56 +00:00
Chris Young
8bda9725b8
Very basic resource selection (resource: simply points to PROGDIR:Resources)
...
svn path=/trunk/netsurf/; revision=11781
2011-02-23 23:29:24 +00:00
Chris Young
eb338c3c89
Updates required to build with previous commit
...
svn path=/trunk/netsurf/; revision=11780
2011-02-23 23:15:12 +00:00
Chris Young
124de0c84a
Disable fast scrolling for scaled contents for now
...
svn path=/trunk/netsurf/; revision=11779
2011-02-23 23:11:26 +00:00
Vincent Sanders
0231675abf
add resource handling
...
move gtk and framebuffer to use generic resource handling
svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
Chris Young
b49669d17e
Get filename from core
...
svn path=/trunk/netsurf/; revision=11771
2011-02-23 18:45:08 +00:00
Chris Young
2668db2024
Fix compilation
...
svn path=/trunk/netsurf/; revision=11730
2011-02-20 18:06:56 +00:00
Michael Drake
9e8476f27f
Port Amiga front end to thumbnail_redraw().
...
Set maximum plot size for thumbnail.
Don't redraw any more of the content than we need to.
Set plot scale to thumbnail scale.
Note: untested.
svn path=/trunk/netsurf/; revision=11728
2011-02-20 17:11:07 +00:00
Michael Drake
a66575dfeb
Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
...
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +00:00
Chris Young
0ca3e6e00e
Get one timer message per signal to allow other non-scheduled events to be actioned.
...
This fixes a curious pause upon starting NetSurf.
svn path=/trunk/netsurf/; revision=11713
2011-02-19 20:01:11 +00:00
Chris Young
3123192dfc
Move timer.device stuff to schedule.c
...
svn path=/trunk/netsurf/; revision=11712
2011-02-19 17:19:38 +00:00
Chris Young
6bced73998
Modify scheduler to use a binary heap (using libpbl).
...
Scheduled events are now in event time order, so schedule_run simply takes the top
event off the heap and runs it (if we're polling, rather than having received a signal
that the next event is due to be run, we check first that we have passed the scheduled
time).
This should provide performance benefits as we are no longer trawling the entire list
of scheduled events (potentially hundreds) every time an event is signalled or the
schedule list is polled.
svn path=/trunk/netsurf/; revision=11703
2011-02-16 21:29:39 +00:00
Chris Young
7d03e1f969
New tabs should show the homepage
...
svn path=/trunk/netsurf/; revision=11701
2011-02-16 19:14:48 +00:00
Michael Drake
94e7b44ebc
Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
...
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
John Mark Bell
f42ed976e5
Constify
...
svn path=/trunk/netsurf/; revision=11680
2011-02-14 19:17:08 +00:00
Michael Drake
5cefc9584a
Pass clip rect to browser_window_redraw as pointer.
...
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +00:00
Michael Drake
fe7921a387
Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
...
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
Chris Young
db2f823e99
Don't clear window before redraw or blit if the redraw didn't complete
...
svn path=/trunk/netsurf/; revision=11669
2011-02-13 19:59:32 +00:00
Chris Young
5487b42cb7
Fix clip parameters, plain text scrolling now works
...
svn path=/trunk/netsurf/; revision=11650
2011-02-12 10:54:41 +00:00
Chris Young
da130ad67d
port to new api
...
svn path=/trunk/netsurf/; revision=11649
2011-02-12 10:39:21 +00:00
Chris Young
c247d54fb5
Port to browser_window_redraw()
...
- Scrolling text contents only shows the initial screenful
- Fast-scrolling HTML while scaled does not work properly (this is an old issue)
svn path=/trunk/netsurf/; revision=11646
2011-02-11 19:03:01 +00:00
Chris Young
bc2bce8d35
Web search text selection
...
svn path=/trunk/netsurf/; revision=11638
2011-02-09 22:16:11 +00:00
Chris Young
4703d643f5
Fix some long-standing issues with events not getting captured, make sure the
...
timer.device version of the scheduler is working and make it the default.
svn path=/trunk/netsurf/; revision=11637
2011-02-09 21:52:28 +00:00
John Mark Bell
86c2948eb4
Fix copying text/plain to clipboard
...
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Chris Young
b1662d0b09
Fix colour setting. GetRGB32 seems to have been designed for some futuristic 96bpp
...
display device.
svn path=/trunk/netsurf/; revision=11554
2011-01-30 22:57:56 +00:00
Chris Young
8895e0a0bc
Kiosk mode now fills screen every time
...
svn path=/trunk/netsurf/; revision=11544
2011-01-30 22:15:16 +00:00
Chris Young
2cc738f2f0
Pick the CSS system colours from the pens in the screen DrawInfo table, and force
...
repicking them if the screen changes.
Think these are right - some of the CSS descriptions are a bit ambiguous.
svn path=/trunk/netsurf/; revision=11532
2011-01-30 17:30:32 +00:00
Vincent Sanders
fbb1139214
add default system colour handlers to each frontend
...
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
Chris Young
037e208299
Create a new FTP launch-handler as well.
...
svn path=/trunk/netsurf/; revision=11466
2011-01-23 17:59:57 +00:00
Daniel Silverstone
699f0cb344
Make the tree icon dir a non-option
...
svn path=/trunk/netsurf/; revision=11422
2011-01-20 14:05:13 +00:00
Chris Young
4f75b67cdd
Copy correct libxml
...
svn path=/trunk/netsurf/; revision=11269
2011-01-09 16:41:17 +00:00
John Mark Bell
6b544e94b9
Include OS3 support header
...
svn path=/trunk/netsurf/; revision=11259
2011-01-08 23:00:33 +00:00
Chris Young
7cde13feee
Partially support 8-bit icons for superimpose
...
Fix memory leak
svn path=/trunk/netsurf/; revision=11255
2011-01-08 00:08:47 +00:00
Chris Young
360f20b287
ami_superimpose_favicon isn't dependent on Amiga icon loader
...
svn path=/trunk/netsurf/; revision=11253
2011-01-07 23:47:21 +00:00
Chris Young
8aaa55a5ac
#defines for icon.library v51
...
svn path=/trunk/netsurf/; revision=11252
2011-01-07 23:45:17 +00:00
Chris Young
90fb7362c5
Use base type for gfxbase
...
svn path=/trunk/netsurf/; revision=11249
2011-01-07 18:21:01 +00:00
John Mark Bell
68f8fa1059
Include OS3 support header
...
Squash warning about implicit declaration of free()
svn path=/trunk/netsurf/; revision=11238
2011-01-07 00:14:37 +00:00
John Mark Bell
7f62710772
Include os3support header
...
svn path=/trunk/netsurf/; revision=11236
2011-01-06 23:56:03 +00:00
John Mark Bell
64b26c85a3
More #ifdef __amigaos4__. This is getting a little messy.
...
svn path=/trunk/netsurf/; revision=11235
2011-01-06 23:50:50 +00:00
Chris Young
8cd854cfd5
Define __USE_BASETYPE__, makes thumbnail.c compile again on OS4. GfxBase changes will
...
need to be made to other files in the same manner.
svn path=/trunk/netsurf/; revision=11234
2011-01-06 23:46:50 +00:00
Chris Young
4f8a44af35
Copy correct files
...
svn path=/trunk/netsurf/; revision=11233
2011-01-06 23:45:53 +00:00
John Mark Bell
b27b9fbf58
Fix compilation when WITH_AMIGA_ICON is not defined
...
svn path=/trunk/netsurf/; revision=11232
2011-01-06 23:43:06 +00:00
John Mark Bell
bcc0c0fde9
Make thumbnail.c compile for AmigaOS3
...
svn path=/trunk/netsurf/; revision=11231
2011-01-06 23:34:56 +00:00
John Mark Bell
d83f683e96
Sprinkle some #ifdef __amigaos4__ around
...
svn path=/trunk/netsurf/; revision=11230
2011-01-06 23:17:17 +00:00
John Mark Bell
b5e989487c
AmigaOS 3 support
...
svn path=/trunk/netsurf/; revision=11229
2011-01-06 23:05:00 +00:00
John Mark Bell
d235d53dfc
Fix include directive -- case matters now
...
svn path=/trunk/netsurf/; revision=11225
2011-01-06 01:16:11 +00:00
Chris Young
426afc91e1
Disable IFrames by default as they are a pop-up nightmare
...
svn path=/trunk/netsurf/; revision=11207
2011-01-04 22:34:04 +00:00
John Mark Bell
2a29877374
Add iconv to the link flags
...
svn path=/trunk/netsurf/; revision=11161
2010-12-30 01:50:02 +00:00
John Mark Bell
625b59f61a
First pass of AmigaOS 3 compatibility
...
svn path=/trunk/netsurf/; revision=11155
2010-12-30 00:53:11 +00:00
John Mark Bell
8a2247b3b3
Squash some warnings, don't attempt to free data we don't own
...
svn path=/trunk/netsurf/; revision=11154
2010-12-30 00:48:09 +00:00
John Mark Bell
27b00696a3
Back out r11152 -- we're going to do this differently
...
svn path=/trunk/netsurf/; revision=11153
2010-12-30 00:33:18 +00:00
John Mark Bell
71fb6f282b
Sprinkle some _t suffixes around
...
svn path=/trunk/netsurf/; revision=11152
2010-12-29 23:20:04 +00:00
John Mark Bell
e08872d7b3
Squash warning
...
svn path=/trunk/netsurf/; revision=11151
2010-12-29 23:10:25 +00:00
John Mark Bell
2d7144103c
First cut at cross compilation support for the Amiga frontend
...
svn path=/trunk/netsurf/; revision=11149
2010-12-29 21:26:45 +00:00
James Bursa
841b458f7a
Add LOG() to warn_user().
...
svn path=/trunk/netsurf/; revision=11122
2010-12-26 18:51:24 +00:00
Chris Young
2d54d7f798
Pass space down to ami_add_to_clipboard
...
svn path=/trunk/netsurf/; revision=11116
2010-12-20 19:06:57 +00:00
Chris Young
699cf4ed10
Don't show a drag icon for text selection
...
svn path=/trunk/netsurf/; revision=11105
2010-12-20 00:21:47 +00:00
Chris Young
ec1e826e3b
Squash warning
...
svn path=/trunk/netsurf/; revision=11101
2010-12-19 17:33:16 +00:00
Chris Young
87592394cf
Prefill incorrect login details
...
svn path=/trunk/netsurf/; revision=11100
2010-12-19 17:18:17 +00:00
Chris Young
60e8d57209
Dynamically enable/disable buttons and menus
...
svn path=/trunk/netsurf/; revision=11098
2010-12-19 12:49:41 +00:00
Chris Young
3d62709e60
Allow snapshotting of treeview windows
...
svn path=/trunk/netsurf/; revision=11096
2010-12-19 12:04:35 +00:00