Commit Graph

822 Commits

Author SHA1 Message Date
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
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
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
f8264189eb select a colour which isn't wholly transparent 2015-01-11 20:30:35 +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
ef43be9989 Fix crash on startup when "always show tabs" is enabled. 2014-12-19 11:57:32 +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
e4437ad76b Store scale in gui_window. Remove a lot of bw dereferencing for scale. 2014-12-04 11:42:12 +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
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
Chris Young
9dcf001a0b Should be a while loop in case of multiple simultaneous event triggers. 2014-11-21 23:47:26 +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
Chris Young
cfc9971d0e Remove no longer used poll option from schedule runner 2014-11-17 23:47:28 +00:00
Chris Young
230e348315 update comments 2014-11-16 16:44:19 +00:00
Chris Young
0966b8097c Allocate screen title when first needed and keep it private to amiga/gui.c 2014-11-16 16:40:41 +00:00
Chris Young
20705189b9 Make win_destroyed variable private to amiga/gui.c 2014-11-16 16:31:35 +00:00
Chris Young
6ce6b9ae97 Replace curbw (current browser_window, used mostly for ARexx support) with cur_gw (current gui_window) 2014-11-16 16:01:59 +00:00
Chris Young
d626487fe1 Remove any pending favicon refresh to avoid a crash on exit/window close 2014-11-16 15:06:32 +00:00
Chris Young
497994b0f4 Fix amiga/gui.c to not ref gui_window via browser_window 2014-11-16 14:44:40 +00:00
Chris Young
7cb7879427 Remove a loop which appears to do nothing 2014-11-16 14:25:31 +00:00
Chris Young
e3620ac675 Change clicktab userdata to hold gui_window instead of browser_window 2014-11-16 14:24:18 +00:00
Chris Young
e75cdeeefd Don't make the app id a global var 2014-11-16 14:06:12 +00:00
Chris Young
b2fd904eef Make the SPACE_RenderBox compatibility functions public 2014-11-15 13:52:06 +00:00
Chris Young
e909c93804 Use SPACE_RenderBox if available, as SPACE_AreaBox is "dangerous". 2014-11-15 13:46:23 +00:00
Vincent Sanders
3e4f5737aa Doxygen cleanups in frontends 2014-11-11 15:46:04 +00:00
Chris Young
fb0af6f269 Call open/close timer from schedule init/free functions 2014-11-10 23:50:28 +00:00
Chris Young
e9696b2fa9 New function for an error requester with the correct imagery which doesn't attempt to do Messages lookup. 2014-11-10 21:59:51 +00:00
Chris Young
098fbb628b Move some init functions together for the sake of clarity 2014-11-10 19:01:30 +00:00
Chris Young
225161b05e Move MIME cleanup before NetSurf's internal exit. 2014-11-10 18:58:58 +00:00
Chris Young
16e80452c2 Remove gui_init and merge the contents into main() 2014-11-10 18:57:38 +00:00
Chris Young
7bf92f6a04 Remove die()
Terminating execution abruptly on AmigaOS is dangerous.
2014-11-10 18:56:09 +00:00
Chris Young
e0833a7f2e Fix warnings 2014-11-09 01:10:52 +00:00
Chris Young
4329c7a328 Terminate execution if an essential library fails to open 2014-11-09 00:06:56 +00:00
Chris Young
c2eb205685 Open libraries *before* we need them... 2014-11-09 00:06:56 +00:00
Chris Young
3c1aeebb1e Fix headers 2014-11-09 00:06:55 +00:00