Commit Graph

880 Commits

Author SHA1 Message Date
Chris Young
f4903743ba Abstract all instances of NewMinList as it causes alert 80000006 on OS3 2015-08-05 23:42:20 +01:00
Chris Young
c38670ade8 Allow a fallback font for characters above 0xFFFF to be specified. There is no scanning of this range as most fonts don't have any characters here. Symbola is selected if it is installed. 2015-07-06 19:29:16 +01:00
Chris Young
354de433e9 Scale cached favicons before they are cached. This avoids the need to scale icons on menu creation. 2015-06-22 19:12:57 +01:00
Vincent Sanders
67ded2a02a This moves message loading out of netsurf_init into each frontend
The translated message loading is dependant on configuration of
resource location in each frontend, additionally they should have the
ability to deal with errors in this loading in a implementation
specific manner.

This also extends the message loading API to be capable of loading
from an inline memory buffer instead of from a file.
2015-06-21 23:27:22 +01:00
Vincent Sanders
0d811963c1 fixup all the remaining logging macro callsites
The semantic patch tool appears to have missed some difficult to
reason about callsites which have now been manually cleaned up
2015-05-28 17:06:18 +01:00
Vincent Sanders
c105738fa3 Change LOG() macro to be varadic
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.

The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.

A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Chris Young
5b5e621c7a Keep the size of the bitmap and layers used for rendering in the structure itself, rather than assuming it is the same as the tile size. 2015-04-25 12:02:08 +01:00
Vincent Sanders
fb0bd79944 update amiga frontend to use bitmap operation table 2015-04-16 22:36:29 +01:00
Chris Young
8871149585 Remove inclusion of my async backing store code whilst it's not being used. 2015-03-31 22:48:27 +01:00
Witold Filipczyk
befa5e6ed3 To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Chris Young
db91442304 Remove branches that can't be taken under OS3
Micro-optimise these for OS4.1
Remove dummy compositing defines from os3support.h
2015-03-01 11:50:20 +00:00
Chris Young
805c1a2dca Convert hook function definitions to macros in gui.c 2015-02-23 22:58:57 +00:00
Chris Young
5867fa4ef9 Avoid forward declarations
Specify hook function with 68k registers when building for that target
2015-02-23 20:34:24 +00:00
Chris Young
b70ab2a7a3 Make hook function static 2015-02-23 19:39:56 +00:00
Chris Young
2d09c81dd5 Off-load layouting onto NetSurf's process 2015-02-23 19:28:32 +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
bc1d98046a Remove some unnecessary OS3-only code 2015-02-15 11:27:27 +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
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
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
bfb9e1401e Handle the bltmask being NULL 2015-02-01 10:58:40 +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
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
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