Commit Graph

843 Commits

Author SHA1 Message Date
Chris Young
889ee3108c Stop the favicon getting obliterated when switching tabs 2015-01-31 12:28:14 +00:00
Chris Young
9de4889a4f Revert "Attempt to fix a couple of Enforcer hits"
This reverts commit 2893e30c4e.

This commit somehow was reverting some things which shouldn't have been reverted.

Conflicts:
	amiga/gui.c
2015-01-31 11:59:31 +00:00
Chris Young
a54170eeea Tidy up debug and increase list allocation to aid debugging 2015-01-31 11:30:37 +00:00
Chris Young
8dc707d554 Attempt to fix a crash adding hotlist entries to the toolbar 2015-01-31 11:21:14 +00:00
Chris Young
2893e30c4e Attempt to fix a couple of Enforcer hits
Thanks to Matthey for the debugging
2015-01-30 18:20:07 +00:00
Chris Young
ed99a5c740 Fix all the other LM_ADD(REMOVE)CHILD calls to work on OS3 2015-01-30 00:25:54 +00:00
Chris Young
84700f1d9c Set fonts to sensible defaults on OS3
Try to avoid a crash initialising the picture datatypes handler
2015-01-30 00:05:40 +00:00
Chris Young
e5b6dac87c Fix OS3 build
Fix font cache on OS3
2015-01-29 19:31:47 +00:00
Chris Young
0e3cbbb67b Don't schedule our own redraw after a reformat, as this is performed anyway.
Attempt to get menus working on OS3 build.
2015-01-29 19:18:49 +00:00
Chris Young
fd59fa248a Replace the custom stringview class with a standard string gadget under OS3
Also remove gaugeiclass usage from OS3 as it (probably) doesn't exist
Remove some debug
2015-01-27 23:54:59 +00:00
Chris Young
c8c806a0c2 Convert the rest of gui.c to use class pointers directly
Add missing button.gadget
2015-01-25 12:45:20 +00:00
Chris Young
01050b4415 Ensure we have the class pointer 2015-01-25 01:12:45 +00:00
Chris Young
bb9d23d040 Fix build on OS3 2015-01-25 01:06:46 +00:00
Chris Young
e89072b3d0 Open BOOPSI/ReAction classes using the new-style methods.
Create some alternative NewObject macros and make some code use them.
2015-01-25 00:27:53 +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
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
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
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