Commit Graph

11725 Commits

Author SHA1 Message Date
Chris Young 41f219192c Create back/forward context menu using menuclass
Reconstructs itself periodically as it cannot be created on demand
2015-09-04 00:26:52 +01:00
Chris Young cdaae7b30e Add a couple of context menu items for links for testing. 2015-09-03 19:57:04 +01:00
Chris Young 944248ce32 Rough outline for Intuition-based context menu 2015-09-03 00:24:04 +01:00
Chris Young 52d182e71e Disable the popupmenu-based context menu and the emulated menu keyboard shortcuts in preparation for test implementing an Intuition-based context menu. 2015-09-02 17:34:24 +01:00
Chris Young 2e4bfc5dc3 Fix version check 2015-09-02 17:26:33 +01:00
Chris Young 61342f4dee Use the correct format define for WPA() 2015-09-01 20:56:18 +01:00
Chris Young fdb9a42eff Don't use P96 on gfx.lib v54+ systems 2015-09-01 19:31:58 +01:00
Chris Young e0198789ae Use a skip list instead of a splay tree for now to fix memory leakage 2015-09-01 19:14:11 +01:00
Chris Young 06221c2340 Fix usage of ExAll with new SDK
Some of the defines it needs have moved to dos/obsolete.h
2015-09-01 18:06:45 +01:00
Chris Young a73d53845c Fix MinTerm defines for SDK 53.29 2015-09-01 18:02:32 +01:00
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