Chris Young
4d18947adb
Update to new warn_user API
2016-05-01 14:00:47 +01:00
Chris Young
67805f407f
Fix version number display on library open error requester
2016-05-01 13:22:53 +01:00
Chris Young
180295936b
Use guigfx.library for 8-bit image quantization
...
This achieves speed-up on OS3/68k platforms where 8-bit modes are more likely to be used, at the expense of lower quality quantization than the former picture.datatype abuse provided.
Additionally, caching of BitMaps in palette-mapped modes is now possible.
NetSurf now requires guigfx.library (and render.library) in order to start, even on OS4.
2016-04-28 19:18:06 +01:00
Chris Young
e5a05f1c0e
Fix Amiga build following recent API change
2016-04-28 19:07:06 +01:00
Vincent Sanders
bf3ee089cb
use the miscellaneous table warning entry
...
change all the frontends to provide the warning callback in the
miscelaneous table instead of using the warn_user function.
Changing all the warn_user callsites still requires completion.
2016-04-25 23:11:55 +01:00
Chris Young
638e07f026
Add missing table
2016-04-25 00:09:31 +01:00
Vincent Sanders
7677901edf
update amiga font layout handling to use table
2016-04-24 19:04:48 +01:00
Vincent Sanders
7d9c9dba36
Split utils header into string functions and everything else
...
split out the string handling API from the rest of the utils header
and fix up all the fallout.
2016-04-21 22:36:21 +01:00
Vincent Sanders
31de1c251b
Cleanup amiga include issues introduced as part of core updates
2016-04-20 15:54:18 +01:00
Vincent Sanders
759c34b324
fix missing includes caused by content_protected header cleanup
2016-04-19 23:28:54 +01:00
Vincent Sanders
46e1061ef3
fix missing struct on http parameter declaration due to header change
2016-04-18 23:17:38 +01:00
Vincent Sanders
33c7df0c40
complete the rename of the gui browser table
...
When the operations tables were created the browser table was renamed
to miscellaneous except the actual rename patch was never applied,
this fixes that situation.
2016-04-16 23:50:21 +01:00
Chris Young
86450ed8a2
Ensure the ARexx-reported version number doesn't jump around between CI and release builds
...
Update minor version for next release cycle
2016-04-16 13:40:57 +01:00
Vincent Sanders
3a5b4571b4
update version info for next development cycle
2016-04-06 12:01:07 +01:00
Chris Young
281fe7674c
Skip setting the pen in the RastPort if it is already set to that pen
...
This captures the scenario when the RGBA value has changed but graphics.library has picked the same pen.
2016-03-23 23:18:05 +00:00
Chris Young
0368935cd3
Avoid nsurl NULL access
2016-03-23 00:01:45 +00:00
Chris Young
7a7d99e004
Ensure we are only accessing pixel data using amiga_bitmap_get_buffer()
2016-03-22 22:55:31 +00:00
Chris Young
8a7d030af7
Ensure we don't access invalid pointers
2016-03-22 19:45:15 +00:00
Chris Young
215d1bec58
Document new bitmap functions
2016-03-22 19:39:33 +00:00
Chris Young
4b2ac84233
Make struct bitmap private to bitmap.c
2016-03-22 19:26:36 +00:00
Chris Young
bd663be927
Apparently setting pens is a strangely complex process, so avoid it.
2016-03-22 18:45:20 +00:00
Chris Young
876a472454
OS3 compatible language mappings
2016-03-16 23:27:33 +00:00
Chris Young
6991a42cdd
Remove excess debug
2016-03-02 23:57:44 +00:00
Chris Young
37c0dcc1c5
Tweak #ifdefs so that OS3 build mostly works on OS4, to aid debugging.
2016-03-02 23:53:25 +00:00
Chris Young
da8d9885d5
debug
2016-03-02 23:47:49 +00:00
Chris Young
cd1800187e
Set OS version to the disk-based version, as Installer by default reads the ROM version... which is v40 and indistinguishable between 3.1 and 3.5/9.
2016-03-02 23:44:00 +00:00
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
3e9fe9b8ae
Add our own NewObject() function for OS3 and enable optimisations
2016-02-29 00:11:38 +00:00
Chris Young
2108697533
Fix copying of the wrong .readme during installation.
...
Abort with a message if the archive doesn't match the OS version.
2016-02-28 11:26:19 +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
829642e8f7
Comment all of bitmap_render out for OS3 to see if it resolves a crash
...
This function doesn't work on OS3 anyway!
2016-02-25 19:48:28 +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
00a0be2698
Update some Amiga-specific version numbers for post-3.4
2016-02-17 23:19:30 +00:00
Chris Young
3b57ce1013
Free shared_pens list on tree destroy
2016-02-14 15:42:58 +00:00
Chris Young
86247eea59
Don't re-use freed shared_pens list
2016-02-14 15:08:12 +00:00
Chris Young
097da50977
Remove old #define
2016-02-14 15:02:46 +00:00
Chris Young
df7bd6e07d
Limit hotlist menu entries to 100 chars
2016-02-14 15:02: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
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