Commit Graph

87 Commits

Author SHA1 Message Date
John-Mark Bell
692da43855 BuildSystem: make package step depend on POSTEXES
The POSTEXE stages might add more stuff to the package contents,
so ensure they have completed before starting to package things up.
2022-11-03 21:44:57 +00:00
Michael Drake
8e56cc3b1a Bitmap: Implement test_opaque in core instead of in every frontend. 2022-03-29 15:25:33 +01:00
Michael Drake
002c3c1a7c Bitmap API: Clean up creation flags. 2022-03-24 18:09:28 +00:00
Michael Drake
eca8c260a8 BeOS: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:29:08 +00:00
Michael Drake
a65186f7a8 BeOS: Drop bitmap get bpp function. 2022-03-24 13:03:19 +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
Daniel Silverstone
33fe0faab6
beos: Add NULL so present_cookies is filled
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 21:18:47 +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
François Revol
600b2ed60a Haiku: Better map mouse cursors
Drop custom cursor bitmaps in favor of the system ones.

We only miss the wait cursor now, but the progress one should do.
2020-05-09 01:28:43 +02:00
Michael Drake
79821cd9cf Frontends: Delete maps resource links. 2020-02-24 15:02: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
3fdbef0566 remove unused render_resample option from beos, gtk and monkey frontends 2019-12-21 20:52:22 +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
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
936cb3ce0c remove shadow scale variable from beos 2019-08-05 09:36:25 +01:00
Vincent Sanders
0ebfff259f change browser_window_mouse_track to use unscaled coordinates 2019-08-03 14:29:05 +01:00
Vincent Sanders
0a8ed41a1a change browser_window_mouse_click to use unscaled coordinates
this means frontends no longer need to scale mouse click events thus
simplifying their implementation.
2019-08-03 14:29:05 +01:00
Daniel Silverstone
6bbdf08cb0 gtk, beos: Run scheduler before fetching fdset
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 17:06:45 +01:00
Vincent Sanders
552aab42e1 remove scaled parameter from get_dimensions 2019-08-02 12:26:20 +01:00
Vincent Sanders
d27027d4ba fix type used with content_get_source_data() 2019-05-06 08:13:00 +01:00
François Revol
579465df50 Haiku: use the native locale API to get the language name
We used getenv() on LC_MESSAGES but we currently set it incorrectly
anyway... We keep this as a fallback.
2018-08-21 21:17:12 +02:00
François Revol
35f28f0c9a haiku: add a package target
It seems to work, but hardcodes the dependencies versions.
2018-08-15 17:11:00 +02:00
Michael Drake
cf17ecbbc7 Haiku: Use struct nsurl in header. 2018-08-15 08:18:31 +01:00
Michael Drake
58240e4967 Haiku: Remove extraneous void. 2018-08-15 08:01:24 +01:00
Michael Drake
e41e558c5f Haiku: Update for new HTTP auth API. 2018-08-15 07:29:58 +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
Vincent Sanders
2c7d24c5bc ensure stdint is included where required 2018-04-22 14:03:18 +01:00
Daniel Silverstone
c1e30c0c3a Initial shuffle of stuff out of !NetSurf 2018-04-22 10:41:55 +01:00
Vincent Sanders
0a6e8fc0b0 fix beos throbber allocation 2017-09-11 17:42:49 +01:00
Daniel Silverstone
8123e65351 Finalise nslog layer properly in closedown 2017-09-10 14:22:05 +01:00
Daniel Silverstone
0ad2f2de6f Hopefully quash LOG compile errors in BeOS 2017-09-08 19:45:13 +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
9e81082355 Use coccinelle to change logging macro calls in c++
for F in $(git ls-files '*.cpp');do spatch --c++ --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
François Revol
aedd9b5513 Fix bug 0002555: "No GC" alert when resizing the window
We don't need to touch the GC when invalidating anyway,
so just drop those calls.
2017-08-21 02:29:58 +02:00
Vincent Sanders
66602e6327 fixup errors introduced in set_scroll API change 2017-04-26 22:48:00 +01:00
Vincent Sanders
db9b829df2 Update beos frontend for set_scroll API change 2017-04-26 22:24:03 +01:00
Vincent Sanders
5467d5e157 update beos frontend to remove reformat API 2017-04-26 10:04:43 +01:00
Vincent Sanders
6e0f5bee55 Update beos frontend to use invalidate window area API 2017-04-23 20:59:50 +01:00
Vincent Sanders
e182a4d67c fix memory leak in beos instantiate error path 2017-03-05 14:43:23 +00:00
Vincent Sanders
0f69965805 clean up some of the doxygen generation warnings 2017-02-19 11:32:17 +00:00
Vincent Sanders
7b9fa8d7eb fix plotter merge 2017-02-12 20:31:18 +00:00
Vincent Sanders
513366a7a2 update beos to new plotter API 2017-02-12 19:56:09 +00:00
Vincent Sanders
7dab7cb43d move plot style header to netsurf include directory
move plotter style header and adjust all callers to use only what they
actually require.
2017-01-13 10:03:24 +00:00
Vincent Sanders
9be0f4ccaf fixup usage of directory creation macro in Makefiles 2017-01-07 13:21:25 +00:00
Vincent Sanders
6c441fd4b1 remove unecessary include of depricated tree interface from beos 2016-12-16 15:14:26 +00:00
François Revol
811d7b7175 haiku: close parenthesis in version string
they are unmatched due to the CI ifdefery
2016-11-21 21:34:57 +01:00