Commit graph

8 commits

Author SHA1 Message Date
Niels De Graef
6ce2373a75 Create a config.vapi for config.h
Currently, a lot of our build variables that are defined at
configuration time, are spread out across the code base, often declared
as `extern` which can break when moving around sections of the code
across files.

This commit introduces a "Config" namespace which basically maps to the
definitions in `config.h`, but allows us to properly access them too
from the Vala source code.

By doing so, it helps us to more explicitly see where we rely on a
build variable from this file (which should be obvious from the `Config'
namespace).

To make it ourselves a bit easier in Meson too, we can declare an
internal dependency, which helps ensure that we pull in the dependency
where needed.
2025-12-07 01:32:32 +01:00
Cédric Bellegarde
40a2c1aec4 client: Always load email once view is mapped
Remove CSS width workaround.

Fix #283 #1205
2023-08-20 21:41:24 +00:00
Cédric Bellegarde
98eb063398 treewide: Remove deprecated run_javascript()
#1497
2023-08-10 23:55:20 +00:00
Cédric Bellegarde
80aa742686 tests: Disable sandboxing for now
https://bugs.webkit.org/show_bug.cgi?id=213174
2023-02-23 15:28:27 +00:00
Michael James Gratton
d7af23201c Revert "Revert "Merge branch 'mjog/558-webkit-shared-process' into 'mainline'""
This reverts commit cbe6e0ba9b, which reinstates
commit e4a5b85698.

See !411 and !374
2020-10-13 00:02:02 +11:00
Michael James Gratton
cbe6e0ba9b Revert "Merge branch 'mjog/558-webkit-shared-process' into 'mainline'"
Revert merge request GNOME/geary!374 for now since the shared process
model breaks old-style WebProcess message handler IPC.

This can be un-reverted when out JS is ported to the new Messages API
that is landing in WebKitGTK 2.28.

This reverts commit e4a5b85698, reversing
changes made to 66f6525480.
2020-02-13 12:56:52 +11:00
Michael Gratton
8140135d7b Fix Components.WebViewTestCase fixture setup and tear down
Move config and web view creation into ::set_up, set them to null in
::tear_down.
2019-11-26 14:26:03 +11:00
Michael Gratton
ceb9c9764a Rename ClientWebView to Components.WebView per code style 2019-11-26 14:26:03 +11:00
Renamed from test/client/components/client-web-view-test-case.vala (Browse further)