Commit Graph

2070 Commits

Author SHA1 Message Date
Chris Young
deb7e55063 Add missing files 2015-01-20 20:52:09 +00:00
Chris Young
4f98fd5925 Add missing headers 2015-01-20 20:51:52 +00:00
Chris Young
b3f49f9364 Abstract p96WPA, although it still needs P96 currently 2015-01-20 20:46:36 +00:00
Chris Young
e3af7f3343 Abstract P96 functions away so we can decide what to use at run-time.
This allows us to avoid opening P96 on OS4.1FE in future, and not require it to be installed on OS3.
2015-01-20 20:36:14 +00:00
Chris Young
d0f7247ea6 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2015-01-20 20:03:55 +00:00
Chris Young
2b9df1b2cd Remove some p96 usage 2015-01-20 00:39:32 +00:00
Chris Young
4cf9d888ff Fix classes paths 2015-01-20 00:11:51 +00:00
Chris Young
f3cf042184 RefreshSetGadgetAttrs replacement for OS3 2015-01-20 00:06:08 +00:00
Chris Young
0c526662b3 Minor OS3 fixes 2015-01-19 20:50:06 +00:00
Chris Young
e07bbbaaff Take out some more code which won't work on OS3 2015-01-19 20:08:45 +00:00
Chris Young
15537aa2af The OS3 build doesn't appear to like non-specific layout groups 2015-01-19 00:22:22 +00:00
Chris Young
73b158d27d Fix remaining linker errors 2015-01-18 23:54:21 +00:00
Chris Young
392fa2ea4c Fix some easy OS3 linker errors 2015-01-18 23:29:49 +00:00
Chris Young
201bc569a4 More OS3 compilation fixes 2015-01-18 23:13:32 +00:00
Chris Young
2eb41ed77b More OS3 fixes 2015-01-18 21:11:00 +00:00
Chris Young
d6052d3955 Fixup icon.c for OS3 2015-01-18 20:11:33 +00:00
Chris Young
cc634dd706 Lower requested library versions 2015-01-18 20:07:15 +00:00
Chris Young
0673ac5096 Fixup history_local.c for OS3 2015-01-18 18:55:23 +00:00
Chris Young
69075f1c57 Fixup gui_options.c for OS3 2015-01-18 18:53:41 +00:00
Chris Young
6f9d96aedf Fixup gui.c enough to make it compile for OS3 2015-01-18 18:50:01 +00:00
Chris Young
0c4f942c2d Attempt to fix some OS3 build errors in gui.c 2015-01-17 17:06:48 +00:00
Chris Young
65ab38fc1c Clear a selection after it has been copied, as per the AmigaOS Style Guide 2015-01-17 15:33:32 +00:00
Chris Young
bf14b2ddb1 Make adding NetSurf to launch-handler more robust:
Now handles when the user hasn't ever saved their config
Doesn't attempt to add when auto-installing
Removes need for fitr
2015-01-17 12:52:09 +00:00
Chris Young
d65c1f1cfd Remove unused variable 2015-01-15 23:50:35 +00:00
Chris Young
1391057332 Change another instance of the tab number being used as identification. Now we set the tab numbers as they must be unique, but don't use them internally. 2015-01-15 23:48:56 +00:00
Chris Young
6255e8b1dc Use clicktab node addresses rather than clicktab numbers. This fixes #2254. 2015-01-15 23:44:29 +00:00
Chris Young
0415edc9c4 avoid a crash when switching tabs 2015-01-13 19:09:48 +00:00
Chris Young
f0633090f2 Avoid confusing double-negatives 2015-01-13 00:01:45 +00:00
Chris Young
d514cf30ee fix os4 build 2015-01-12 23:43:00 +00:00
Chris Young
ef6443b132 Don't create processes under OS3, or OS4 for now for testing 2015-01-12 23:29:36 +00:00
Chris Young
1bee34e164 Stub out font.c and font_scan.c for OS3 for now
A more involved fix required for later.
2015-01-12 22:40:46 +00:00
Chris Young
f8264189eb select a colour which isn't wholly transparent 2015-01-11 20:30:35 +00:00
Chris Young
87f85c2034 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2015-01-11 00:14:54 +00:00
Chris Young
5416059602 fix os4 build 2015-01-11 00:14:32 +00:00
Chris Young
ae012398b0 more easy os3 fixes 2015-01-11 00:07:11 +00:00
Chris Young
81d024e3d8 Fix file.c and remove some rogue semicolons 2015-01-10 23:49:55 +00:00
Chris Young
18fe60baf1 fix-up the datatypes handlers for os3 2015-01-10 23:46:17 +00:00
Chris Young
5a541e581b stub out drag stuff for os3 2015-01-10 23:39:21 +00:00
Chris Young
427a67e932 allocvec clear 2015-01-10 23:16:11 +00:00
Chris Young
793b53a27a make context_menu.c build for os3 2015-01-10 23:15:06 +00:00
Chris Young
80558b3116 Use a function to create ready-cleared memory 2015-01-10 23:10:05 +00:00
Chris Young
3630d7348d Use inlines and OS3ify amigaguide.class 2015-01-10 22:47:20 +00:00
Chris Young
2140f056dd More simple OS3 fixes 2015-01-09 00:24:58 +00:00
Chris Young
88726e1d89 OS3 GetSucc() 2015-01-09 00:15:27 +00:00
Chris Young
5a1aaa4e61 Some easy OS3 compatibility
Credit for most of this: Bernd Gollesch
2015-01-09 00:10:02 +00:00
Chris Young
fa3587f122 Tidy up 2015-01-08 23:45:41 +00:00
Chris Young
b91d5f3ac7 Fix the passing of NetSurf internally-handled args to the core 2015-01-05 19:58:31 +00:00
Chris Young
f9ccd65545 Translate common RAmiga-shortcuts directly to their NetSurf keycodes 2015-01-03 14:20:47 +00:00
Chris Young
a10aaea989 Greatly simplify finding out if our gui_window is the one being displayed. 2015-01-02 23:14:49 +00:00
Chris Young
facaa0a829 Some OS3 compatibility for testing 2014-12-20 12:42:55 +00:00
Chris Young
ef43be9989 Fix crash on startup when "always show tabs" is enabled. 2014-12-19 11:57:32 +00:00
Chris Young
7beb6b0bd5 Helper script to open YouTube videos with SMTube 2014-12-15 19:00:17 +00:00
Chris Young
dec0ec6ade Remove GetVideo support
It appears to be a dead project and no longer available for download.
2014-12-14 12:10:52 +00:00
Chris Young
d46e6a6894 Encourage requesters onto the correct screen and remove some unneeded includes 2014-12-13 15:53:55 +00:00
Chris Young
17ec567266 Remove redundant check 2014-12-10 17:44:38 +00:00
Chris Young
0166083584 Get scale after memory allocated 2014-12-04 19:02:59 +00:00
Michael Drake
19fed3976f Don't need browser window private header now. 2014-12-04 12:23:24 +00:00
Michael Drake
f0b38f27d4 Use API to get at a browser window's content. 2014-12-04 12:22:56 +00:00
Michael Drake
60877b6ff5 Fix missmatched bracket. 2014-12-04 12:18:36 +00:00
Michael Drake
4af70cd1ac Use browser_window_get_extents to simplify window content size handling. 2014-12-04 12:14:16 +00:00
Michael Drake
fad6318d59 Use browser_window_get_url() 2014-12-04 12:04:36 +00:00
Michael Drake
b7b1bfe548 Don't include browser_private.h 2014-12-04 12:02:13 +00:00
Michael Drake
c5a8620ef9 Remove what seems a redundant check for bw->download. 2014-12-04 12:01:22 +00:00
Michael Drake
84261a8199 Use browser_window_get_url instead of poking inside bw at contents. 2014-12-04 11:59:59 +00:00
Michael Drake
c4e37fb03d Use API to get content from browser_window. 2014-12-04 11:58:49 +00:00
Michael Drake
e4437ad76b Store scale in gui_window. Remove a lot of bw dereferencing for scale. 2014-12-04 11:42:12 +00:00
Chris Young
dd9a4af311 Remove unused variable 2014-12-01 23:38:13 +00:00
Chris Young
5f9c8b02b2 Clear message port variable so we don't errorneously send messages to it. 2014-12-01 21:48:37 +00:00
Chris Young
020e1f8272 Run backing store jobs synchronously in the background. 2014-12-01 21:42:07 +00:00
Chris Young
2f41c1ad11 Fix leak 2014-12-01 18:44:04 +00:00
Chris Young
6a2461da8d Enable the async write process to be disabled for testing purposes 2014-11-30 01:25:20 +00:00
Chris Young
70e777c30d Add some comments about timer.device. 2014-11-29 19:56:54 +00:00
Chris Young
335ba082fd Ensure we're not running events ahead of time. 2014-11-22 17:15:52 +00:00
Chris Young
4a395ad025 Process scheduled event changes before incoming timer events.
This stops things being run that have just been deleted.  However, may cause the next event to run early because we don't check the time.
2014-11-22 17:10:07 +00:00
Chris Young
bcd7413f8e Fix llcache ops table 2014-11-22 16:51:00 +00:00
Chris Young
0cd682644b Revert "Revert "Write out to the backing store asynchronously.""
This reverts commit 75623179aa.
2014-11-22 16:41:29 +00:00
Chris Young
277ceb9fc2 Reduce stack to 2K 2014-11-22 16:38:26 +00:00
Chris Young
9e98d77531 Reply to the timer before running the scheduled task. 2014-11-22 16:37:49 +00:00
Chris Young
2de1553a00 New scheduler 2014-11-22 16:27:39 +00:00
Chris Young
f8d8d218d8 Initial steps for a scheduler process 2014-11-22 16:27:39 +00:00
Chris Young
fe56795205 Revert "Should be a while loop in case of multiple simultaneous event triggers."
This reverts commit 9dcf001a0b.

For ehatever reason this is entirely broken, but I'm in the process of rewriting so just revert for now to get the working builds again.
2014-11-22 14:18:00 +00:00
Michael Drake
d9a63bb9e0 Fix brackets. 2014-11-22 00:06:01 +00:00
Michael Drake
1a1b6f8984 Shouldn't need browser_private.h now. 2014-11-22 00:02:28 +00:00
Michael Drake
0756b544c6 Use API to find if content is selectable, instead of guessing. 2014-11-22 00:02:28 +00:00
Michael Drake
ba9a049d7b Simplify ami_history_open API and use correct call to get history object. 2014-11-22 00:02:28 +00:00
Michael Drake
0c7dc95dda Use API to get URL. 2014-11-22 00:02:28 +00:00
Michael Drake
c9683119c3 Use browser_window_get_content where we need to. 2014-11-22 00:02:27 +00:00
Chris Young
9dcf001a0b Should be a while loop in case of multiple simultaneous event triggers. 2014-11-21 23:47:26 +00:00
Michael Drake
60c33e0410 Should be free of reliance on browser window internals here now. 2014-11-21 14:39:12 +00:00
Michael Drake
781fe8f330 Use browser_window_get_content() to get the current content.
Although I dislike this API, and it may go at some point.
2014-11-21 14:38:17 +00:00
Michael Drake
90f89f98e3 Use API for getting browser window history. 2014-11-21 14:37:17 +00:00
Michael Drake
b4e044f6c9 Use browser_window_get_url() instead of getting URL from current content. 2014-11-21 14:30:09 +00:00
Michael Drake
3b686eaccc Use browser_window_can_select(), instead of assuming based on content type. 2014-11-21 14:26:29 +00:00
Michael Drake
0f0c3b02d7 Use public bw header. 2014-11-21 09:28:37 +00:00
Michael Drake
c3ae0c0699 Should be able to switch to public bw header now. 2014-11-21 09:28:37 +00:00
Michael Drake
8fc7da72c6 Use browser_window_get_url, instead of fishing content out of bw and getting URL from that. 2014-11-21 09:28:37 +00:00
Michael Drake
8a6be34a62 Use public bw header. 2014-11-21 09:28:37 +00:00
Michael Drake
6832f80be3 Don't appear to need browser_private.h here. 2014-11-21 09:28:37 +00:00
Chris Young
75623179aa Revert "Write out to the backing store asynchronously."
This reverts commit 1ddf8215cf.

Appears to be unsafe to run this in a new process.
2014-11-19 23:34:53 +00:00
Chris Young
1ddf8215cf Write out to the backing store asynchronously.
Despite the fact AmigaOS filesystems run as separate processes,
DOS filesystem writes occur synchronously waiting for the disk
write to finish before returning.  Here we have effectively taken
the core's fs backing store and extended it slightly so the store
operation is spun off into a new process, running at a lower task
priority than NetSurf itself.  This stops the UI pauses that occur
shortly after loading pages as NetSurf commits the cache to disk.

Somewhat experimental, pending more extensive user testing.
2014-11-18 19:31:11 +00:00