Commit Graph

418 Commits

Author SHA1 Message Date
Chris Young a6e825833d Amiga: BitMap always alloced with the ami_rtg_ function, so should be freed with it too. 2021-05-17 16:45:49 +01:00
Chris Young 81c40ab7c2 Amiga: Fix codesets.library conversion when string specified as zero length 2021-04-12 23:26:17 +01:00
Chris Young 99a3d04d55 Amiga: The return value of Codesetsfind was not being assigned to a variable 2021-04-11 23:17:32 +01:00
Chris Young 598629c736 correct size 2021-02-18 17:23:59 +00:00
Chris Young b765d8b461 AMIGA: minor IFF DR2D export changes
NULL-terminate name
Use more sensible font
2021-02-18 16:30:32 +00:00
Vincent Sanders 5db541a6d7 Improve target setup in makefiles
split out HOST TARGET and SUBTARGET generation into separate file.
split out target(frontend) specific tool settings into separate files.
2021-01-17 20:06:24 +00:00
Chris Young 511f4cc800 Add missing include 2020-10-09 13:05:51 +01:00
Chris Young 12fba46d3e Cache codesets structure ourselves
attempt to speed up conversion as apparently codesets is being very slow
2020-10-09 13:01:48 +01:00
Chris Young ed84f7a018 Amiga: avoid read from NULL pointer 2020-05-26 18:05:14 +01:00
Chris Young 68f1b41bf0 Amiga: Use IANA codeset number to identify local charset 2020-05-26 15:08:51 +01:00
Chris Young 22ea4cbe65 Amiga: Use codesets.library for UTF8 conversion if available 2020-05-26 14:15:04 +01:00
Chris Young 6d62a06899 Amiga: correct schedule parameter 2020-05-25 14:07:38 +01:00
Chris Young 44e5aea7b5 Amiga: avoid use after free
Use the scheduler to trigger page info close as that does not allow the same event to be in the queue multiple times
2020-05-25 13:50:20 +01:00
Vincent Sanders 8924f0c7f9 fix warnings in amiga stringview 2020-05-25 13:45:54 +01:00
Vincent Sanders 2b8501b342 fix incorrect content handler function table operations return types 2020-05-25 13:45:54 +01:00
Vincent Sanders 860fbc2f8c make browser_window_update internal to browser window as intended 2020-05-25 13:45:54 +01:00
Chris Young 53d07a8e46 Amiga: try to guard against page info window being destroyed twice 2020-05-25 13:04:29 +01:00
Vincent Sanders 9993c37d5b Update version for next development cycle 2020-05-24 21:58:37 +01:00
Daniel Silverstone adafe3c750
amiga: Probably support present_cookies
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 21:18:47 +01:00
Vincent Sanders 714a90e2a5 update resources copyright years and readme version numbers 2020-05-23 11:14:06 +01:00
Chris Young 3f84dba779 Amiga: fix an issue where the page info icon was not updating correctly 2020-05-23 01:02:09 +01:00
Chris Young dc5cae7306 Amiga: make page info borderless 2020-05-23 00:46:35 +01:00
Chris Young 3efeb41d1d Amiga: make page info close when window goes inactive 2020-05-23 00:13:52 +01:00
Chris Young aa86da5f02 Amiga: position page info window under page info button 2020-05-22 23:58:16 +01:00
Chris Young 413c3803c5 Amiga: simplify page info GUI, add close gadget 2020-05-22 23:10:23 +01:00
Chris Young 244c49df26 Amiga: Add page info window
Currently untested but builds OK
2020-05-22 18:52:29 +01:00
Daniel Silverstone e6c666d4f4
chore: Perform sslcert_viewer-ectomy
This removes the sslcert_viewer entirely from the code. Where
possible I've also trimmed out of frontends any code I think
should not be present.

Frontends should check and remove any further references that I
have failed to catch.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:01:39 +01:00
Vincent Sanders 3a7fc30a5f implement content opacity check through the function table 2020-05-13 19:03:14 +01:00
Vincent Sanders ab952e0634 improve content header usage 2020-05-07 20:55:44 +01:00
Chris Young b371454344 AmiSSL implies OpenSSL 2020-03-06 20:42:34 +00:00
Chris Young 9664a8ac76 Mod os3support files so file.c builds 2020-03-06 20:29:45 +00:00
Vincent Sanders 8a834918e3 missed a certificate change on amiga frontend 2020-02-23 17:37:33 +00:00
Vincent Sanders 338dd004f2 fix windows and amiga frontends to cope with certificate chain changes 2020-02-23 17:25:19 +00:00
Vincent Sanders 7039973a1f fix frontends to cope with certificate chain update 2020-02-23 17:19:45 +00:00
Michael Drake 194dfad4a5 Core window: Constify the core_window handle through the getters. 2020-02-22 16:37:37 +00:00
Michael Drake d1e8c84ea6 Amiga: Try removing unused minimum GIF delay option. 2020-02-21 11:45:20 +00:00
Chris Young 0154bed8d7 Add page info icon to Amiga frontend 2019-12-08 17:23:36 +00:00
Vincent Sanders dae0ff3d26 remove warning callback from miscelaneous function table 2019-11-11 16:59:28 +00:00
Vincent Sanders 4dc4d8b318 add miscellaneous event to browser window callback table
extend the browser window callback table with a miscallaneous event
 entry. This is used to replace all browser window callbacks which
 take no parameters.

This reduces the API surface from seven separate calls to a single
 call with an enumeration which may be readily extended.

The initial implementation in the frontends simply calls the original
 implementations to reduce scope for errors.
2019-08-20 00:16:52 +01:00
Vincent Sanders 1e9bfcda7e
remove login window from amiga frontend 2019-08-14 12:23:04 +01:00
Chris Young ef75d670d6 Amiga: DebugPrintF is OS4-only 2019-08-10 14:51:15 +01:00
Chris Young 765c9c6654 Amiga: OS3 doesn't know FOREGROUNDPEN, so use TEXTPEN instead 2019-08-10 14:49:25 +01:00
Chris Young bf9ccc57c8 Amiga: Implement a simple listbrowser log in the GUI
Can be revealed/hidden with F12 and is currently undocumented.
2019-08-10 14:29:58 +01:00
Chris Young 78199c0177 Amiga: Allow running JS from ARexx
Option arexx_allow_exec enables the EXEC command.
It is disabled by default and currently undocumented.
Theoretically this could be used by a form filler application.
2019-08-10 14:22:52 +01:00
Chris Young faec17a903 Remove scale from Amiga frontend
Remove shadow scale variable
Redraw when scale is changed
This also fixes a long-standing bug where the window would not redraw correctly when scrolling if not at 100% scale
2019-08-10 13:22:12 +01:00
Daniel Silverstone 1cf1ec55bc Support SSL verification through new about: handler
In doing this, also propagate why the certificates were bad
so that the page can display a reason.  We will need FatMessages
for all these.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-06 13:15:23 +01:00
Daniel Silverstone 8469f4cc8e Reimplement handling of BAD_AUTH inside browser_window
We now handle authentication requests via an `about:` page
which presents a nice form built into the browser window.
In order to do this, we add internal navigation as a concept
to the browser window and we strip the 401login support from all
frontends except monkey.

The 401login callback is now intended for password safe type support
rather than an immediately interactive prompt.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-06 11:26:47 +01:00
Daniel Silverstone 5775e39411 amiga: Fix more content error snafus.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 22:19:58 +01:00
Daniel Silverstone 040d558d39 amiga: Try and catch the last content rework for amiga
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 22:16:00 +01:00
Michael Drake 11ecf0b671 Amiga: Fix the corewindow get scroll call. 2019-08-03 16:18:50 +01:00