Chris Young
33eb8d3324
Attempt to use splay trees for font caching.
...
This is theoretically faster, but leaks like a sieve.
2015-09-01 00:23:20 +01:00
Michael Drake
257666499d
Reorder percentage calculation.
...
Fixed point representation couldn't store 0.65 exactly, so avoid doing
the divide by 100 first.
I will look at moving this into libcss's fixed point header and doing
it in a way that avoids arithmetic overflow, but for now this fixes
el reg layout.
2015-08-24 22:47:58 +01:00
Chris Young
914ba332e2
Use the correct decoded surrogate values for calculating kerning widths
2015-08-24 20:56:01 +01:00
Chris Young
4bbf2ac58a
Avoid accessing NULL pointer
2015-08-24 18:00:24 +01:00
Chris Young
cba6bdb481
If a designed (bold, italic, etc) version of a specific font is set but not actually installed, treat this as a non-critical error, log it, and create a computed version.
2015-08-19 19:15:06 +01:00
Chris Young
fea40a0a78
Restrict all menu icon code to OS4+gadtools53.7
...
This avoids requests for TBimages: on OS3
2015-08-17 18:15:29 +01:00
Chris Young
aaf7ebf9fd
Fix some AmigaGuide errors
2015-08-17 17:59:04 +01:00
Chris Young
0c42364b67
Check version of the correct library
2015-08-17 17:52:09 +01:00
Chris Young
528fce7262
Fix OS3 build
2015-08-17 17:44:27 +01:00
Chris Young
9b222fdeb6
Check .font file is indicating this is an outline font before attempting to open the .otag
2015-08-16 23:26:21 +01:00
Chris Young
69a133969b
Make the logging when opening outline fonts on OS3 a little more obvious.
2015-08-16 23:12:20 +01:00
Chris Young
a2edd98c19
Force usage of friend BitMaps on OS3 when on high/truecolour screens.
...
AreaInfo buffer doesn't need to be in chip mem.
2015-08-16 23:03:54 +01:00
Chris Young
87ebe66880
Check menuobj before we dispose it
2015-08-16 22:51:32 +01:00
Chris Young
b429a89ed6
Only update the hotlist menu etc if it was the hotlist window which was closed.
2015-08-16 22:38:29 +01:00
Chris Young
f9bb4ba71d
Fix memory leak
2015-08-16 13:02:14 +01:00
Chris Young
9c2fbde917
Put the memory areas, rather than the structures, into chip RAM as required.
2015-08-16 12:48:06 +01:00
Chris Young
7c14bff469
TmpRas should be in chip mem for OS3/AGA
2015-08-16 12:41:21 +01:00
Chris Young
a28be12270
Fix blitting of font glyphs on OS3/AGA
2015-08-16 12:06:00 +01:00
Chris Young
527a13a841
Ensure OS3 doesn't try to obtain an 8-bit GlyphMap.
2015-08-15 17:32:28 +01:00
Chris Young
b19cd801fd
Revert "Ensure we don't accidentally use an 8-bit glyphmap under OS3."
...
This reverts commit c43d09af64
.
2015-08-15 17:27:57 +01:00
Chris Young
0c2f466786
Revert "Fix OS4 build"
...
This reverts commit c759b2a262
.
2015-08-15 17:27:19 +01:00
Chris Young
c759b2a262
Fix OS4 build
2015-08-15 17:07:59 +01:00
Chris Young
c43d09af64
Ensure we don't accidentally use an 8-bit glyphmap under OS3.
2015-08-15 16:56:02 +01:00
Chris Young
45171214ed
Add an option to toggle usage of a friend BitMap for our off-screen rendering buffer (OS3 only).
...
Defaults to OFF, which works everywhere, but can be switched on for performance benefits when using RTG.
2015-08-15 16:42:52 +01:00
Michael Drake
c2dd234626
Add LATIN SMALL LETTER O WITH MACRON for today's featured Wikipedia article.
2015-08-15 15:46:30 +01:00
Michael Drake
477506b7a1
Fix glyph order.
2015-08-15 15:41:11 +01:00
Chris Young
beb5b9a542
Remove a double free and re-arrange to stop referencing a freed pointer.
2015-08-15 14:25:50 +01:00
Chris Young
ff1de89976
Fix options clicktab creation on OS3
...
None of the rest of this GUI creates properly yet.
2015-08-15 14:11:30 +01:00
John-Mark Bell
d90ab621f8
RISC OS: use correct format specifier
2015-08-15 10:06:19 +00:00
John-Mark Bell
fd9aa16ece
JS: mark idx_func volatile to remove warning
2015-08-15 10:03:39 +00:00
John-Mark Bell
f0c14aab7d
RISC OS: explicitly handle SIGOSERROR
2015-08-15 10:00:35 +00:00
John-Mark Bell
a7fb19f3a9
JS: use deep stack, regardless of platform.
...
Without enabling this, the compiler recursion limit will be hit
when parsing most non-trivial JS libraries.
2015-08-15 10:00:35 +00:00
Michael Drake
1088c4cd38
Remove excessive logging.
2015-08-15 09:41:51 +01:00
Michael Drake
31d45274b6
Squash leak of path when path is directory.
2015-08-15 09:41:43 +01:00
Michael Drake
cad9f1f8c4
Fix ALIGN attribute on TABLE.
2015-08-14 21:26:47 +01:00
Chris Young
844e599a22
Define m68k for OS3 build so dukky (nearly) compiles.
2015-08-14 19:13:19 +01:00
Daniel Silverstone
a76de90a2e
Final (untested) bits of Node
2015-08-14 16:09:28 +02:00
Daniel Silverstone
e46a705b0f
More (untested) Node stuff
2015-08-14 15:34:00 +02:00
Vincent Sanders
dc7f0dce9f
expose Math operations to javascript code
2015-08-13 23:05:02 +01:00
Michael Drake
4c975aafa3
Fix typo in unused jsapi code.
2015-08-13 14:30:28 +01:00
Michael Drake
16fd36eb9d
Proper error handling for JS context creation.
2015-08-13 12:23:59 +01:00
Michael Drake
c7a3229494
Can't tell if failure to create a JS context is an error or not.
...
It won't create one when built jsoff.
2015-08-13 11:59:43 +01:00
Michael Drake
379d97123a
Handle failure to create new context.
2015-08-13 11:49:09 +01:00
Michael Drake
99765cf2d0
Remove TODO.
2015-08-13 09:48:09 +01:00
Michael Drake
2d53524635
Fix crash when JS context is required from a frame.
2015-08-13 09:39:04 +01:00
Michael Drake
526b0e3bb4
Add assertion that jscontext is non-NULL when making new compartment.
2015-08-13 09:26:50 +01:00
Vincent Sanders
b50ee13100
Fix checking of distcc
2015-08-12 15:05:28 +01:00
Daniel Silverstone
ecc6a12ed6
Slight tidying of error report
2015-08-12 15:56:01 +02:00
Vincent Sanders
fd21e488e0
Add support for builders with distcc installed
2015-08-12 14:50:54 +01:00
Daniel Silverstone
1ee30e7632
Log more of the JS error object
2015-08-12 15:39:34 +02:00