Commit Graph

96 Commits

Author SHA1 Message Date
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
Vincent Sanders 38bfbe9cf6 remove perl split-messages tool usage 2020-06-22 00:04:42 +01:00
Daniel Silverstone de56170cb9
frontends/atari: Include the *right* options header
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:34:10 +01:00
Daniel Silverstone 0797375380
frontends/atari: Add missing include of options.h
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:32:03 +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 34508fc3cd For some reason atari mkdir_all operation was using the wrong path separator 2020-03-25 21:54:12 +00:00
Michael Drake a47270c93e About fetches resources: Drop maps resource.
It had bitrotted.
2020-02-24 14:21:27 +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 62a32a2a8a Atari: Attempt to remove unused minimum GIF delay option. 2020-02-21 11:45:20 +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 22ae220bf6 fix atari removal of login window 2019-08-14 12:43:15 +01:00
Vincent Sanders 4094232e3d
remove login window from atari frontend 2019-08-14 12:31:59 +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
Vincent Sanders 243659763b remove shadow scale variable from atari 2019-08-05 09:36:17 +01:00
Michael Drake 3938d5340b Corewindow: Sanitise scrolling API.
Now the core has a helper so that all the front ends don't need
to implement the scroll to show area API.

Now they simply have get and set scroll APIs.
2019-08-03 15:57:23 +01:00
Vincent Sanders 641f5fb072 make use of improved browser_window_set_scale API in frontends 2019-08-03 15:53:07 +01:00
Vincent Sanders 552aab42e1 remove scaled parameter from get_dimensions 2019-08-02 12:26:20 +01:00
Michael Forney 6a53b447e5 Declare global variables as extern in headers
Otherwise, each source file that includes the header will create a
new definition, which are usually merged together by the linker.

Multiple definitions of an object is not allowed in ISO C.
2019-06-30 09:52:06 +01:00
Vincent Sanders ca2cbac232 fix freetype pkg-config usage in atari frontend 2019-06-29 18:01:22 +01:00
Vincent Sanders a57940a468 fix atari STRIP makefile target to not have a spurious close bracket 2019-06-25 16:59:22 +01:00
Vincent Sanders 8b31e18ad6 stop the atari toolchain from matching the cstrip binary for the strip one 2019-06-25 16:56:06 +01:00
Michael Drake 097f8dcde5 Atari: Delete commented out code. 2018-08-15 09:56:47 +01:00
Michael Drake 423b04d406 Atari: gui_401login_open returns nserror now. 2018-08-15 08:41:03 +01:00
Michael Drake 1cdacf8ae5 Atari: Fix http auth logging. 2018-08-15 08:18:12 +01:00
Michael Drake d9dacf9bb2 Atari: Add missing commas. 2018-08-15 07:59:21 +01:00
Michael Drake 66a97b863c Atari: Move to new HTTP auth API. 2018-08-15 07:29:58 +01:00
Michael Drake 09b015bf11 Browser: Rename function to access bw URL. 2018-07-23 10:47:26 +01:00
Michael Drake 8332bf6b2a Plotters: Remove width param from path plotter.
We now use the stroke_width in the plot_style.
2018-05-23 13:48:17 +01:00
Michael Drake 66493421e6 Plotters: Change stroke width in the plot_style_t to fixed point. 2018-05-23 13:04:19 +01:00
Michael Drake a58d97a41a Plotters: Add plot_style_fixed type, and use for font size. 2018-05-23 11:48:35 +01:00
Daniel Silverstone e864997842 Fix last uses of !NetSurf outside of riscos build 2018-04-22 10:55:22 +01:00
Daniel Silverstone 5094a3fd04 Rework use of split-messages to clean up and use -z 2018-04-22 10:11:11 +01:00
Vincent Sanders ff312f214e fix format specifiers signedness in atari settings 2017-09-11 17:33:35 +01:00
Daniel Silverstone 8123e65351 Finalise nslog layer properly in closedown 2017-09-10 14:22:05 +01:00
Vincent Sanders 053fd7b583 Fix atari INFO macro name collision 2017-09-08 21:57:15 +01:00
Vincent Sanders c1c8ed794d Revert "Hopefully quash INFO confusion on Atari MINT platform"
This reverts commit 9c93ed1bca.
2017-09-08 21:49:59 +01:00
Daniel Silverstone 9c93ed1bca Hopefully quash INFO confusion on Atari MINT platform 2017-09-08 19:56:23 +01:00
Vincent Sanders 5d6f189d8b Fixup everything the semantic patch missed 2017-09-07 18:12:09 +01:00
Vincent Sanders b9bdc279f2 Update scheduler logging to use catagory 2017-09-07 15:30:08 +01:00
Vincent Sanders 75018632a9 Use coccinelle to change logging macro calls in c files
for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done

@@ expression E; @@
-LOG(E);
+NSLOG(netsurf, INFO, E);
@@ expression E, E1; @@
-LOG(E, E1);
+NSLOG(netsurf, INFO, E, E1);
@@ expression E, E1, E2; @@
-LOG(E, E1, E2);
+NSLOG(netsurf, INFO, E, E1, E2);
@@ expression E, E1, E2, E3; @@
-LOG(E, E1, E2, E3);
+NSLOG(netsurf, INFO, E, E1, E2, E3);
@@ expression E, E1, E2, E3, E4; @@
-LOG(E, E1, E2, E3, E4);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4);
@@ expression E, E1, E2, E3, E4, E5; @@
-LOG(E, E1, E2, E3, E4, E5);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5);
@@ expression E, E1, E2, E3, E4, E5, E6; @@
-LOG(E, E1, E2, E3, E4, E5, E6);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6);
@@ expression E, E1, E2, E3, E4, E5, E6, E7; @@
-LOG(E, E1, E2, E3, E4, E5, E6, E7);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
2017-09-06 18:45:27 +01:00
Vincent Sanders 8c29c675c4 clean up atari treeview code, stop it including headers it does not need 2017-08-10 18:34:09 +01:00
Vincent Sanders ab676ec917 update atari frontend for corewindow API change 2017-05-23 09:45:24 +01:00
Vincent Sanders db549331f7 Update atari frontend for set_scroll API change 2017-04-26 22:23:27 +01:00
Vincent Sanders 3c264d63e6 update atari frontend to remove reformat API 2017-04-26 10:03:29 +01:00
Michael Drake 229f6b5f23 Atari: Update for core hotlist API change. 2017-04-25 12:03:29 +01:00
Vincent Sanders b102950650 update atari frontend for invalidate window API change 2017-04-23 12:05:30 +01:00
Vincent Sanders e190cdf926 fix uninitialised variable usage in atari ssl viewer
cppcheck identified uninitialised variable usage error
2017-03-05 14:40:49 +00:00