Chris Young
bb4b602148
Limit hotlist buttons to 20 chars
2016-02-14 14:45:28 +00:00
Chris Young
e19d30027a
Remove RMB trapping from the treeviews, previously used for context menus
...
The context menus for treeviews were removed ages ago, and any replacement won't need RMB trapping
2016-02-14 14:21:52 +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
71cdc461a6
Pens need releasing before freeing layers to avoid invalid pointer access
2016-02-14 14:01:53 +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
cc0abb66b0
Implement warn_multi for OS3 (needed for the multiple tab close warning)
2016-01-31 17:21:51 +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
f5ab570320
Disable "native scaled bitmaps" option if we're in palette mapped mode
2016-01-30 16:35:10 +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
0ce170c18e
Disable the DPI gadget if in bitmap/diskfont fonts mode
...
Diskfont renders all font sizes at 72dpi.
2016-01-28 00:11:09 +00:00
Chris Young
ee640b80bc
Add a GUI prefs option on OS3 only, to toggle between bitmap and outline fonts
...
"Allow bitmap fonts" causes NetSurf to use diskfont and graphics library routines for opening and displaying fonts. This allows bitmap fonts to be used which are much faster on 68k hardware than outline fonts, but loses the ability to render pages in UTF-8.
Conversely, toggling this option off makes NetSurf use bullet.library directly and render glyphs itself, which precludes the usage of bitmap fonts but allows the full range of UTF-8 characters to be displayed.
This option is ON by default on OS3 for speed reasons, and OFF by default on OS4. Additionally, this option is not shown on the prefs GUI on OS4 as the speed difference between bitmap and outline fonts is negligible on that hardware and I don't want to encourage the use of an option which provides inferior rendering.
2016-01-27 23:53:27 +00:00
Chris Young
5afd42aa5a
Add the remaining missing OS3 prefs GUI elements
...
Might need to add/remove some things for the OS3 build
2016-01-27 00:33:37 +00:00
Chris Young
414e94452b
Add dither and nativebitmap options to OS3 prefs gui
2016-01-27 00:11:49 +00:00
Chris Young
ca376741c6
Enable proxy options in prefs GUI for OS3
2016-01-27 00:07:14 +00:00
Chris Young
2c380f818f
Fix some memory leakage
2016-01-27 00:01:42 +00:00
Chris Young
780752d276
fix the incorrect copy'n'pasted parameters
2016-01-26 23:55:14 +00:00
Chris Young
49bd536c6e
Move OS3 array to list into separate function
2016-01-26 23:49:24 +00:00
Chris Young
f3332a20d7
Don't read the values of gadgets which were not created.
2016-01-26 19:52:39 +00:00
Chris Young
04cbc08c57
Don't use ami_NewMinList as it potentially writes past the MinList structure on OS3.
...
Instead we use ami_AllocMinList and pointers.
2016-01-26 19:40:59 +00:00
Chris Young
520e81f98d
Alloc specifying local charset on OS3 as we can't get this from Locale
2016-01-26 19:37:18 +00:00
Chris Young
9505b8e514
Make most of the prefs GUI display (and hopefully work) under OS3
...
page.gadget is not a public class in OS3
Some gadgets which will not work have been temporarily #ifdef'd for OS4 only
Some gadgets which are not relevant have been disabled to avoid random values being set
2016-01-26 19:28:07 +00:00
Chris Young
78dec4d515
Show warnings on OS3 with an EasyRequest
2016-01-26 00:10:11 +00:00
Chris Young
2c2dc0f2bc
Bring OS3 about requester up on the correct screen
2016-01-25 19:14:04 +00:00
Chris Young
a7ab6c7484
Simple "about" requester for OS3
2016-01-25 19:12:54 +00:00
Chris Young
893df2ccf1
Revert "Plot local history background white instead of wholly transparent"
...
On second thoughts this was correct initially.
This reverts commit 1ea29c6aec
.
2016-01-25 18:53:21 +00:00
Chris Young
6eb0bd4579
Remove unneeded pen list
2016-01-25 18:48:49 +00:00
Chris Young
1ea29c6aec
Plot local history background white instead of wholly transparent
2016-01-25 18:43:43 +00:00
Chris Young
5c8dccd5f6
When forcing 32-bit render mode, don't create the BitMaps as friends of the screen BitMap.
...
This fixes a system freeze on OS4
2016-01-25 18:41:50 +00:00
Chris Young
beb6cebf1e
conflict
2016-01-25 18:26:22 +00:00
Chris Young
09ac17955b
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/fix-palmap-crash
...
Conflicts:
amiga/bitmap.c
2016-01-25 18:25:26 +00:00
Chris Young
8d71c0ae9e
track type of native bitmap
2016-01-25 00:29:08 +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
452d8ce512
Use itempools for storing our pen locks
2016-01-24 00:00:27 +00:00
Chris Young
e38a1f17f2
friend_bitmap should default to false as it causes problems
2016-01-23 15:15:35 +00:00
Chris Young
dc89a2b2cc
Move the OS3 statusbar underneath all the scrollbars
2016-01-23 15:11:17 +00:00
Chris Young
97e9086c80
remove missing os3 include
2016-01-23 15:04:45 +00:00
Chris Young
8df392d11d
Remove nulling of a function which does actually exist in OS3 gfx.lib
2016-01-23 14:59:22 +00:00
Chris Young
dacdea768c
fix argb_to_rgba definition weirdness
2016-01-23 14:58:47 +00:00
Chris Young
a68be9d11a
Clear remaining bitmap fields
2016-01-23 14:49:29 +00:00
Chris Young
da9bee4286
Add more appropriate readme for OS3 build
2016-01-23 12:48:24 +00:00
Chris Young
9e5bf6fb68
Don't free the deferred rects using FreeVec on exit as they're itempools
2016-01-23 12:11:33 +00:00
Chris Young
5b422a3ec9
Fix opening of SSL cert window
2016-01-23 00:17:16 +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
f51b7780e3
Don't clear memory twice under OS3
2016-01-21 22:39:21 +00:00
Chris Young
5a58e844e4
Don't clear bitmap structure on allocation
2016-01-21 22:02:39 +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