Chris Young
3a962a84c5
Fix OS4 build
2016-03-02 23:35:06 +00:00
Chris Young
2e958f4a4d
Fix OS3 button disabling
...
Testing reveals OS3's button.gadget doesn't support OM_GET for GA_Disabled.
In addition, we fix OS4's boolean comparisons to ensure we only check against FALSE and !FALSE
2016-02-29 23:06:10 +00:00
Chris Young
64575f2aed
Avoid some crashing by disabling the update of the hotlist menu
...
This will be fixed properly when the menu code is re-written to use menuclass, as that supports dynamic updates.
2016-02-29 18:10:45 +00:00
Chris Young
55b9a12785
Add a warning for OS3 for a non-working function
2016-02-25 19:50:53 +00:00
Chris Young
1828079518
Fix a critical bug in the Amiga frontend which causes NetSurf to never exit.
...
Avoids looping trying to close a screen for which we are not the owner.
Moves the screen close to the very end of the code so if our own screen doesn't close we can still re-launch NetSurf.
2016-02-19 18:41:04 +00:00
Chris Young
a1beeda9da
Make hotlist buttons show the URL as a HelpHint
2016-02-14 14:48:41 +00:00
Chris Young
bb4b602148
Limit hotlist buttons to 20 chars
2016-02-14 14:45:28 +00:00
Chris Young
769eb3f13b
Remove some RMBTrap remnants, the new context menus don't require manual mouse trapping
2016-02-14 14:20:47 +00:00
Chris Young
0c55edfcb9
When we unlock a public screen, don't attempt to unlock it again.
...
We lock the screen to stop it closing before we open our window, and unlock it when the window is open (the window is a sufficient lock). However we were not resetting the flag indicating the screen was still locked, so it was getting unlocked twice.
2016-02-14 14:13:24 +00:00
Chris Young
cd0bcc421a
Add an option to close inactive tabs to the tab bar context menu
2016-01-31 17:58:27 +00:00
Chris Young
e98c220813
Fix some enable/disable gadget logic
2016-01-31 17:18:49 +00:00
Chris Young
1acc32b3a9
Force always show tabs when clicktab.gadget is older than v53
2016-01-31 17:10:47 +00:00
Chris Young
7729d93696
Enable tabbed browsing on OS3
2016-01-31 17:02:24 +00:00
Chris Young
e6b827979b
Allocate bitmap structures using an itempool
2016-01-29 19:39:37 +00:00
Chris Young
b3c524cea1
Move some things around to try and prevent invalid pointer accesses on exit
2016-01-29 00:24:15 +00:00
Chris Young
c0d031bf73
Make the palette-mapped state relate to the rendering layer rather than globally.
...
This means we can still render in 32-bit mode internally when the destination isn't the screen.
NB: bitmap_render is currently freezing when the screen is in palette-mapped mode (old bug, pre-dates this change), so for now we skip this routine in that scenario.
2016-01-25 00:01:55 +00:00
Chris Young
dc89a2b2cc
Move the OS3 statusbar underneath all the scrollbars
2016-01-23 15:11:17 +00:00
Chris Young
7e7ea09000
Allocate generic list objects using itempools
...
TODO: Allocate the attached structures also using itempools
2016-01-22 18:40:40 +00:00
Chris Young
b41685208f
Revert "alloc bitmap structures using itempools"
...
This reverts commit 0cc19b10fc
.
This caused memory leakage, as the memory pool is removed before the core has destroyed all the bitmaps.
2016-01-21 20:42:49 +00:00
Chris Young
0cc19b10fc
alloc bitmap structures using itempools
2016-01-21 20:30:02 +00:00
Chris Young
7efd9a2c67
Remove unused Amiga async scheduler
2016-01-21 20:13:49 +00:00
Chris Young
6d2a787380
Allocate deferred rectangles using itempools
...
On OS3 we use a normal memory pool instead
2016-01-21 00:08:49 +00:00
Chris Young
239f999936
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2016-01-20 23:32:34 +00:00
Chris Young
1724e28350
Use a memory pool for deferred rects
2016-01-20 23:32:19 +00:00
Chris Young
9c62993efd
Don't expose the DPI-related variables
2016-01-18 00:02:52 +00:00
Chris Young
132be1eed2
OS3 build fixes
2016-01-16 19:37:39 +00:00
Chris Young
6eac0b83ea
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2016-01-15 20:50:55 +00:00
Chris Young
3ac1d78f41
Fix some incorrect type usage
2016-01-15 20:43:12 +00:00
Chris Young
673f3e6887
Fix some old and new GCC errors/warnings
2016-01-15 19:58:24 +00:00
Chris Young
6ad939b5a6
Make font engine selection bit more logical
2016-01-15 19:37:21 +00:00
Chris Young
37e5bff188
Add a status gadget inside the window for OS3
2016-01-11 19:10:59 +00:00
Chris Young
4fd1fbf68c
Revert "Set a unicode fallback to LetterGothic on OS3"
...
This reverts commit 3e71a538c3
.
This is pointless because the fallback is picked up from the font scan, so we should get text on screen from some other font.
2016-01-10 12:28:49 +00:00
Chris Young
3e71a538c3
Set a unicode fallback to LetterGothic on OS3
...
This should ensure we get text on screen even if use_diskfont is disabled and a bitmap font is set.
2016-01-10 12:22:43 +00:00
Chris Young
54feabe845
Set some memory and speed options by default for OS3
2016-01-10 12:07:46 +00:00
Chris Young
81516b33c8
Set some sensible default bitmap fonts on OS3 when using diskfont
2016-01-09 18:10:43 +00:00
Chris Young
35a97670ae
Increase minimum stack as sometimes Duktape runs out
2016-01-02 23:59:45 +00:00
Chris Young
237ec692dd
Fix OS3 build
2015-12-20 16:47:06 +00:00
Chris Young
3e852daaf4
Missing initialisation
2015-12-20 16:36:59 +00:00
Chris Young
d6c34b8039
Soak up -v so command line processing still works with logging enabled
2015-11-27 12:36:40 +00:00
Chris Young
d7907bfe4c
Allow specifying location of the users directories on the commandline
...
Arg USERSDIR/K
2015-11-25 00:11:24 +00:00
Chris Young
80e14dce52
Move ReadArgs commandline processing earlier whilst leaving core commandline processing where it was previously
2015-11-24 23:58:54 +00:00
Chris Young
e27525123b
Make an effort to free resources when a fatal error occurs during initialisation
2015-11-24 23:22:15 +00:00
Chris Young
fa87f197c2
Abort if we're on a write-protected volume
...
Partial fix for 2397
2015-11-24 20:57:40 +00:00
Chris Young
f7ebec7142
Added Amiga ToolTypes parser.
...
Initially this allows setting the location of the Users directory, and the current user's name.
2015-11-22 00:06:10 +00:00
Chris Young
6d474e74e6
Prettier hotlist toolbar
2015-11-16 21:05:01 +00:00
Chris Young
479b8acce8
Don't position the statusbar based on font height
...
The statusbar has a finite height because it is sitting in a window border which does not adjust with font size.
2015-11-16 19:01:13 +00:00
Chris Young
5ad337a7b5
Don't translate F8/F9/F10 into printable characters.
2015-11-16 00:16:52 +00:00
Chris Young
6fbe30c617
Improve the position of the status bar gadget at different font sizes
2015-11-15 17:00:01 +00:00
Chris Young
0feb291c2e
Add F8/F9/F10 as shortcuts to the scale functionality
2015-11-15 14:07:25 +00:00
Chris Young
bf6d56c7fe
Allow space bar to be used to page down
2015-11-15 13:52:55 +00:00