Commit Graph

2160 Commits

Author SHA1 Message Date
Chris Young
85df94f47a more microoptimisation 2015-02-23 18:47:58 +00:00
Chris Young
6fda772b89 Avoid clobbering the PPC pipeline 2015-02-23 18:44:47 +00:00
Chris Young
5d43025adf Mostly working bitmap font support 2015-02-22 16:50:41 +00:00
Chris Young
33d16e170e Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts 2015-02-22 16:08:13 +00:00
Chris Young
8b82e926fd debug 2015-02-21 12:29:03 +00:00
Chris Young
90d88f32d1 Expand ARexx script locations on NetSurf's process.
This resolves a problem with scripts sometimes not running when they are relative to PROGDIR: and stops PROGDIR: being requested under OS3.
Fixes #2271
2015-02-21 12:21:14 +00:00
Chris Young
b89fb480db Debug logging 2015-02-15 11:29:03 +00:00
Chris Young
bc1d98046a Remove some unnecessary OS3-only code 2015-02-15 11:27:27 +00:00
Chris Young
6c7a3c3a73 Clear the window using the BackFill hook 2015-02-13 18:34:08 +00:00
Chris Young
3dc8de9be2 Check for NULL 2015-02-12 23:18:41 +00:00
Chris Young
26a9c4fa07 Avoid RectFilling a 0 size area 2015-02-11 18:24:51 +00:00
Chris Young
d8b9198211 typo 2015-02-05 19:00:13 +00:00
Chris Young
c2a79e7b50 Make the status bar a pixel taller 2015-02-05 18:57:24 +00:00
Chris Young
ed9902fcbc Use bitmap fonts on the splash screen for OS3 2015-02-05 18:54:39 +00:00
Chris Young
79a4466479 Attempt to fix graphical corruption on OS3 2015-02-05 18:51:41 +00:00
Chris Young
0e75f9909e Fix status bar tags 2015-02-04 00:48:47 +00:00
Chris Young
20630d7991 Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts 2015-02-04 00:09:34 +00:00
Chris Young
36bc32b87b Re-disable P96 on OS3 pending a fix 2015-02-03 23:58:35 +00:00
Chris Young
5bd9b45758 File missing from previous commit 2015-02-03 19:51:55 +00:00
Chris Young
5c73c61aa2 Remove extra debug list padding 2015-02-03 19:49:09 +00:00
Chris Young
f123ed101f Lazy bitmap font rendered text for slow hardware (non-working) 2015-02-03 19:48:28 +00:00
Chris Young
32cd4abfd5 Reinstate the old (non-backfill) bitmap tiler for OS3 2015-02-03 00:24:03 +00:00
Chris Young
a7b866e824 Always use a friend bitmap on OS3 2015-02-02 23:45:49 +00:00
Chris Young
86757143df Remove some unneeded ARGB<=>RGBA conversion 2015-02-02 18:54:08 +00:00
Chris Young
25a4cce542 Experimentally enable P96 on the OS3 build 2015-02-02 18:53:16 +00:00
Chris Young
852527a12f Ensure we are setting colours in the correct RastPort 2015-02-02 18:48:45 +00:00
Chris Young
2d157857e1 Revert shared pens support to previously-working state 2015-02-02 18:28:21 +00:00
Chris Young
7d41e04b61 We don't need to use P96 for RectFill 2015-02-02 18:10:43 +00:00
Chris Young
54a966f6ff Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2015-02-02 00:33:23 +00:00
Chris Young
21f142a7fa Friend the screen bitmap for <= 8-bit modes, but only on OS3 as this causes OS4 to freeze 2015-02-02 00:32:34 +00:00
Chris Young
eba9c13a53 Fix GetPred 2015-02-02 00:09:07 +00:00
Chris Young
42cda09958 Add some suggested optimisation switches 2015-02-02 00:01:43 +00:00
Chris Young
0aa3061929 fix build 2015-02-01 23:27:33 +00:00
Chris Young
c9e8aa94b0 Fix a potential memory leak when setting titles 2015-02-01 23:06:28 +00:00
Chris Young
7b0969680b Disable tab bar on OS3 for now 2015-02-01 20:01:18 +00:00
Chris Young
f661aa34e0 Ensure the window is clear before drawing new content 2015-02-01 19:54:17 +00:00
Chris Young
a4dbb87a76 Fix another instance of BltMaskBitMapRastPort potentially being called with a NULL bltmask 2015-02-01 11:08:05 +00:00
Chris Young
bfb9e1401e Handle the bltmask being NULL 2015-02-01 10:58:40 +00:00
Chris Young
2ad93ed773 NewLook menus 2015-02-01 10:58:31 +00:00
Chris Young
73b74988dc Remove BMF_DISPLAYABLE from other non-displayed BitMaps 2015-01-31 22:19:12 +00:00
Chris Young
f514595ccf Don't allocate our off-screen render area as BMF_DISPLAYABLE, as it is never displayed.
Befriend the screen BitMap but only if we're 32-bit on both.
2015-01-31 22:14:03 +00:00
Chris Young
7370e83d60 Squash a minor warning from GCC 2015-01-31 21:45:23 +00:00
Chris Young
2544f60ae0 Set the obtained pen in our node so we can release it later. 2015-01-31 21:27:04 +00:00
Chris Young
e68171a17c picture.datatype v45 does apparently support RGBA, so avoid extra conversion 2015-01-31 21:17:14 +00:00
Chris Young
6389b0f7d6 Ensure on OS3 we don't try to create a BitMap with a depth of more than 8 2015-01-31 20:14:09 +00:00
Chris Young
9ac9866521 Correct calling usage of BltMaskBitMapRastPort
Thanks to Matthey for the debugging
2015-01-31 20:01:35 +00:00
Chris Young
f7c2971be3 Replace some over-zealous deletion 2015-01-31 13:58:35 +00:00
Chris Young
70dd445d5b Remove dead code 2015-01-31 13:52:03 +00:00
Chris Young
ca6ac7c37e Fix creation of SpeedBar objects 2015-01-31 13:51:27 +00:00
Chris Young
305f1acc79 Remove unneeded #ifdefs 2015-01-31 13:47:43 +00:00
Chris Young
37db0f6f85 Open the interface for speedbar.gadget 2015-01-31 13:42:40 +00:00
Chris Young
1200fedb1c Enable alpha bitmaps in chooser.gadget on OS4.1FE 2015-01-31 12:59:49 +00:00
Chris Young
0dea8112d4 Erase favicon area before redrawing 2015-01-31 12:41:34 +00:00
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
8fb6f4d148 Fix GetSucc (credit: Buzz) 2015-01-30 23:28:35 +00:00
Chris Young
b36c1401a0 Add the Dutch files to the Amiga archive 2015-01-30 20:51:18 +00:00
Chris Young
2377e93898 fix a crash in the font scanner 2015-01-30 20:44:53 +00:00
Chris Young
7a72ff3161 Fixup font scanning some more, remove .font suffix 2015-01-30 19:37:38 +00:00
Chris Young
8373fe14cb Enable the font scanner for OS3 2015-01-30 18:57:04 +00:00
Chris Young
2066390555 Fix bullet.library usage 2015-01-30 18:32:44 +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
509053cae7 Fix template blit Y position by adjusting the pointer to the template 2015-01-29 00:17:34 +00:00
Chris Young
003344023b Blit text to screen correctly on OS3 2015-01-29 00:13:48 +00:00
Chris Young
9a6e339ab2 Fix OT_Indirect handling 2015-01-29 00:08:03 +00:00
Chris Young
4865b1603b Temporarily disable On/OffMenu as we don't have any menus attached to our window on the OS3 build
Thanks to Matthey for the debugging
2015-01-28 23:44:04 +00:00
Chris Young
a895c3eed9 Avoid giving ASL a NULL pointer for the initial drawer.
Thanks to Matthey for the debugging
2015-01-28 23:41:33 +00:00
Chris Young
ad4d1f66d3 Don't trash our buffer pointer when stepping through the taglist 2015-01-28 23:38:26 +00:00
Chris Young
bc3cb4070d Remove dead code 2015-01-28 23:36:52 +00:00
Chris Young
ecdf37c6ac Fixup font.c a bit better for OS3 2015-01-28 18:49:44 +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
4c4c7225df Don't use optimisation when building for OS3
This is causing unexpected problems.
2015-01-27 19:17:09 +00:00
Chris Young
2b9f7b6c46 We need the library interface of listbrowser.gadget 2015-01-27 18:22:30 +00:00
Chris Young
f530a73623 Demand a more sensible (ie. existant) version of locale and datatypes 2015-01-27 00:10:38 +00:00
Chris Young
e24723567a Copy'n'paste error 2015-01-26 18:49:49 +00:00
Chris Young
555029d39c Add missing include 2015-01-26 00:13:44 +00:00
Chris Young
3a5907c1c4 Move everything else over to using the class pointers.
Exception: popupmenu.class is still using old _GetClass functions.
2015-01-26 00:05:01 +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
1b1acdd3c3 Fix typo 2015-01-22 00:24:56 +00:00
Chris Young
d5680fbf92 Correct year 2015-01-22 00:23:48 +00:00
Chris Young
249e89e389 Fix a missed p96AllocBitMap 2015-01-20 20:58:37 +00:00
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