Re: [webkit-gtk] Interface between embedded Javascript and the main GTK app

2024-08-18 Thread Michael Catanzaro
On Sun, Aug 18 2024 at 12:25:08 PM +01:00:00, Gavin Smith wrote: It has been a few years since I worked on this and there may be better ways of doing this. Easiest way to send a simple message: in JS, call `window.webkit.messageHandlers.foo.postMessage()` to activate a UI process callback th

Re: [webkit-gtk] [Q] How to intercept file requests?

2024-02-23 Thread Michael Catanzaro
On Fri, Feb 23 2024 at 07:57:54 AM +08:00:00, yfwz...@hotmail.com wrote: Can I use web process extention to implement this? You can use a web process extension to inject JavaScript that runs when the page loads and try to accomplish what you want that way. In Epiphany, look at ephy_web_proces

Re: [webkit-gtk] [Q] How to intercept file requests?

2024-02-22 Thread Michael Catanzaro
Hi, there's no way to do this. If you control the web content yourself, you could define your own URI scheme. Otherwise, you can probably find a way to do whatever it is you want to do by injecting JavaScript. Good luck, Michael ___ webkit-gtk m

Re: [webkit-gtk] webview in GTK4 apps?

2024-02-21 Thread Michael Catanzaro
WebKitGTK works fine with GTK 4. You have three API versions to choose from: * webkit2gtk-4.0: GTK 3, libsoup 2 * webkit2gtk-4.1: GTK 3, libsoup 3 * webkitgtk-6.0: GTK4, libsoup 3 I've never heard of the webview project before, but from a quick look it is using webkit2gtk-4.0 unfortunately.

Re: [webkit-gtk] Displaying very long HTML documents (books), etc.

2024-02-07 Thread Michael Catanzaro
On Wed, Feb 7 2024 at 03:54:40 PM +02:00:00, Sim Tov wrote: 1. What is the maximal HTML document size that still can be displayed smoothly? 2. Is there a hard limit enforced by WebkitGT There is no max size. Loading performance will get worse as the max document size increases. My suggestion

Re: [webkit-gtk] Displaying very long HTML documents (books), etc.

2024-02-07 Thread Michael Catanzaro
On Wed, Feb 7 2024 at 03:31:29 PM +02:00:00, Sim Tov wrote: 1. The target documents might be very long - books. Does WebkitGTK know how to deal with this? Can it load/unload dynamically certain portions of the HTML document in order to hold in memory only what's visible (in order not to collap

Re: [webkit-gtk] webkit-gtk for Windows

2024-02-04 Thread Michael Catanzaro
Hi, The answer is no. You want to use the Windows port instead: https://docs.webkit.org/Ports/WindowsPort.html Michael ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] WebKitGTK 2.43.4 released

2024-02-02 Thread Michael Catanzaro
One more notable change is that JPEG 2000 support and the dependency on OpenJPEG has been removed. ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] Disable pinch zoom on webview

2024-01-12 Thread Michael Catanzaro
I asked around and have been told it's not possible to disable this. We currently have webkit_settings_get/set_enable_back_forward_navigation_gestures(), so I think it would make sense to also have a webkit_settings_get/set_enable_pinch_zoom_gesture() as well Michael

Re: [webkit-gtk] WebKitGTK 2.43.2 released

2023-12-05 Thread Michael Catanzaro
Hi all, Heads-up: this release removes the dependency on libwpe and wpebackend-fdo! Michael ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] No flag for WebGPU - is it planned?

2023-10-06 Thread Michael Catanzaro
Hi, I have no clue, sorry. Maybe somebody more familiar with graphics and WebGPU could answer. ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] No flag for WebGPU - is it planned?

2023-10-06 Thread Michael Catanzaro
Hi Andrea, WebGPU is not supported and nobody is working on it, so I assume it's also not planned. Sorry. Michael ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

[webkit-gtk] GLES is now required

2023-10-03 Thread Michael Catanzaro
Hi distributors, WebKitGTK 2.42 now always uses GLES in the web process; previously, it could use either desktop GL or GLES, and would generally have been using GL in most Linux distros. (The UI process will use either GL or GLES depending on which is used by GTK itself.) Please make sure yo

Re: [webkit-gtk] Fixing CVE-2023-41993

2023-09-24 Thread Michael Catanzaro
On Sun, Sep 24 2023 at 10:49:16 AM -0500, Douglas R. Reno wrote: Looking at this, I was wondering if we should patch it locally, or if there's going to be a new release of WebKit soon to fix this problem. Building WebKit takes a long time for us, so we'd prefer to not duplicate work if there's

Re: [webkit-gtk] Fix CVE-2023-32435 for webkitgtk 2.38.6

2023-09-07 Thread Michael Catanzaro
On Thu, Sep 7 2023 at 11:29:58 AM +0800, 不会弹吉他的KK wrote: For Yocto project whick I am working on, packages(recipes) can NOT be updated with major version upgrade on Yocto released products/branches. So we still have to fix such kind of CVEs. But for master branch, webkitgtk will be upgraded as

Re: [webkit-gtk] Fix CVE-2023-32435 for webkitgtk 2.38.6

2023-09-06 Thread Michael Catanzaro
On Wed, Sep 6 2023 at 04:23:17 PM +0800, 不会弹吉他的KK wrote: My question is 1. Does webkitgtk 2.38.6 is vulnerable to CVE-2023-32435? No clue, sorry. 2. If YES, how to deal the patches with the 2 new files? If just ignore and only patch file Source/JavaScriptCore/wasm/WasmSectionParser.cpp, cou

Re: [webkit-gtk] Webkit bugzilla ID access

2023-08-30 Thread Michael Catanzaro
Hi, see: https://commits.webkit.org/260455@main ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] libwebkit2gtk and gstreamer-plugins dependencies

2023-08-12 Thread Michael Catanzaro
On Sat, Aug 12 2023 at 11:26:05 AM +0200, Fourhundred Thecat <400the...@gmx.ch> wrote: Since I don't intend to use liferea for anything more than to read RSS, I am wondering if it would be possible to reduce the number of dependent packages, and perhaps compile libwebkit2gtk without all the medi

Re: [webkit-gtk] [Q] block all network accesses – how?

2023-08-02 Thread Michael Catanzaro
Another problem is that HTTP requests are probably not the only way that network usage can happen, e.g. WebRTC or WebSockets presumably won't go through send-request. Not sure what to do about that. On Wed, Aug 2 2023 at 06:46:04 PM +, Albrecht Dreß wrote: Please excuse my imprecise des

Re: [webkit-gtk] [Q] block all network accesses – how?

2023-08-02 Thread Michael Catanzaro
On Wed, Aug 2 2023 at 04:47:47 PM +, Albrecht Dreß wrote: I use WebKitGtk in a MUA, which for privacy reasons shall block all external network accesses unless the user explicitly allows them. Using a web extension, I could redirect these accesses to “about:blank”. However, I /still/ see

Re: [webkit-gtk] Webkit bugzilla ID access

2023-06-01 Thread Michael Catanzaro
On Wed, May 31 2023 at 05:13:48 AM +, "Urade, Yogita" wrote: And there are more than 15 CVE issues for 2.36.8 till now. BTW, I just noticed this: I actually count 25 CVEs fixed since 2.36.8. Please see https://webkitgtk.org/security.html for a list of CVEs. Michael ___

Re: [webkit-gtk] Webkit bugzilla ID access

2023-05-31 Thread Michael Catanzaro
Hi, the bugs are private. I can give you the mappings between bug ID and fix commit, though: 248266 - https://commits.webkit.org/258113@main 245521 - https://commits.webkit.org/256215@main 245466 - https://commits.webkit.org/255368@main 247420 - https://commits.webkit.org/256519@main 246669 -

Re: [webkit-gtk] glib-mkenums and preprocessor conditionals

2023-05-28 Thread Michael Catanzaro
The preprocessor guards are supposed to be stripped out by unifdef. Is something going wrong with your unifdef? ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] How to fix CVEs of webkitgtk 2.36.x

2023-03-22 Thread Michael Catanzaro
On Wed, Mar 22 2023 at 11:26:56 AM +0200, Adrian Perez de Castro wrote: Recently advisories published by Apple include the Bugzilla issue numbers (e.g. [1]), so with some work you can find out which commits correspond to the fixes. It finally occurs to me that since Apple now publishes the b

Re: [webkit-gtk] WebKitGTK 2.39.91 released

2023-03-08 Thread Michael Catanzaro
Hi again, There are now actually two required patches: https://github.com/WebKit/WebKit/pull/11221 https://github.com/WebKit/WebKit/pull/11222 Sorry for the trouble! ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/

Re: [webkit-gtk] WebKitGTK 2.39.91 released

2023-03-08 Thread Michael Catanzaro
Hi all, To build for GTK 4, you'll need to use this small patch: https://github.com/WebKit/WebKit/pull/11221 ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] WebKitGTK 2.39.90 released

2023-02-20 Thread Michael Catanzaro
Hi all, to build applications that use WebKitGTK 2.39.90, you'll need to include the patch from here: https://github.com/WebKit/WebKit/pull/10362 ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/web

Re: [webkit-gtk] window.webkit undefined?

2023-01-25 Thread Michael Catanzaro
On Wed, Jan 25 2023 at 06:37:11 PM +0100, Antonio wrote: The fact is that I'm trying to receive messages from a

[webkit-gtk] WebKitGTK soname bump season

2023-01-21 Thread Michael Catanzaro
Hi, The webkitgtk-6.0 API (for GTK 4, not GTK 3) will be doing several soname bumps over the next month or so in preparation for stabilizing the GTK 4 API. The first has occurred already in 2.39.5 and there will be more in the upcoming unstable releases. Packages, please take note and prepare

Re: [webkit-gtk] Performance issue for some https urls

2023-01-19 Thread Michael Catanzaro
On Thu, Jan 19 2023 at 09:51:49 AM +0100, Antonio wrote: I think I'll create a bug report. Is there any way I can add some profiling information to the bug report with the MiniBrowser? (using environment variables or similar?). Not easily, unfortunately.

Re: [webkit-gtk] Performance issue for some https urls

2023-01-18 Thread Michael Catanzaro
On Wed, Jan 18 2023 at 09:49:34 PM +0100, Antonio wrote: 1.- Is this a bug or a feature? A 12-second delay is certainly not good, but why do you suspect the performance problems you've found have anything to do with certificate validation? That should happen more or less instantaneously. And

[webkit-gtk] Patches for WebKitGTK 2.39.4

2023-01-17 Thread Michael Catanzaro
Hi all, If you are building WebKitGTK 2.39.4 for GTK 3, you'll need to use the following two patches to avoid installing broken public headers: https://github.com/WebKit/WebKit/commit/9fe47e98a7f3b542413f3793912b291599f05860.patch https://github.com/WebKit/WebKit/commit/8f11ad0813c37f4bd8ee43e

Re: [webkit-gtk] How to enable or disable hardware acceleration ?

2023-01-07 Thread Michael Catanzaro
On Sat, Jan 7 2023 at 09:05:06 PM +0800, 406643764 <406643...@qq.com> wrote: So how to enable or disable hardware acceleration ? Hi, use webkit_settings_set_hardware_acceleration_policy(). You can also use WEBKIT_FORCE_COMPOSITING_MODE=1 or WEBKIT_DISABLE_COMPOSITING_MODE=1 for test purposes.

Re: [webkit-gtk] Nothing shown in the widget when compiling with Fedora 37

2023-01-06 Thread Michael Catanzaro
Hi Lothar, afaik the GTK 4 version of WebKitGTK (which you built here) has never supported NVIDIA. Epiphany in Fedora 37 uses the GTK 3 version of WebKitGTK, so if something's wrong there, it's a separate problem. Michael ___ webkit-gtk mailing

Re: [webkit-gtk] Understanding WebKitGTK sources

2022-12-17 Thread Michael Catanzaro
On Sat, Dec 17 2022 at 07:57:25 PM +0200, André A. Gomes wrote: Hi, I don't understand how WebKitGTK sources are generated. I see that the file structure resembles that of WebKit git sources hosted on GitHub. Is there are a repository where WebKitGTK lives? It is developed in https://

Re: [webkit-gtk] web process crashing on launch

2022-08-22 Thread Michael Catanzaro
On Mon, Aug 22 2022 at 11:08:48 AM +, "Subramani, Prasanth" wrote: processDidTerminateOrFailedToLaunch: reason=4 Unfortunately that's ProcessTerminationReason::Unresponsive, which just means the web process is not replying to the UI process, so the UI process decided to kill it. Since it

Re: [webkit-gtk] WebKitGTK 2.37.1 released!

2022-07-12 Thread Michael Catanzaro
Hi all, This release should build successfully on both x86_64 and aarch64, but for most other architectures you will need to apply this patch: https://github.com/WebKit/WebKit/commit/40e49bb53218a986b4d6569f3fc2730cc4b71472.patch Hope that helps, Michael ___

Re: [webkit-gtk] [PSA] Release branches moving to Git/GitHub

2022-07-05 Thread Michael Catanzaro
On Tue, Jul 5 2022 at 11:37:10 AM +0200, Adrian Perez de Castro wrote: We may look into creating Git tags for older releases at some point, once we have migrated the missing older branches. Tags are valuable. Thanks for handling this migration! __

Re: [webkit-gtk] Failed to compile WebKitGTK 2.36.3

2022-06-28 Thread Michael Catanzaro
You are missing wayland-protocols (dev/devel subpackage, if your distro uses devel packages). Your build should have failed at the CMake stage, at the very start, not after it gets to 93%. Feel free to report a bug to complain about this. Michael

Re: [webkit-gtk] WebkitGtk 2.26.0 WebKitWebView fails to display in a Gtk3 app.

2022-03-26 Thread Michael Catanzaro
Unrelated tip: change "--socket=x11" to "--socket=fallback-x11" to allow flatpak to block X11 access unless the host environment is actually X11. "--socket=x11" should only be needed for apps that don't support Wayland. Michael ___ webkit-gtk maili

Re: [webkit-gtk] WebkitGtk 2.26.0 WebKitWebView fails to display in a Gtk3 app.

2022-03-26 Thread Michael Catanzaro
Hi, the default hardware acceleration policy changed from WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND to WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS. I think you need to add "--device=dri" to the finish-args in your flatpak-builder manifest: https://github.com/flathub/org.gnucash.GnuCash/b

Re: [webkit-gtk] Build for GTK+2 with gcc 11.2

2022-02-23 Thread Michael Catanzaro
On Wed, Feb 23 2022 at 11:09:46 AM +, Frederick Virchanza Gotham wrote: I tried patching a file here and there in webkitgtk-2.4.11 but the list of compiler errors gets longer. Should I just use gcc version 4.9.4 (released in August 2016) to build webkitgtk-2.4.11 statically linked with the C

Re: [webkit-gtk] R: Re: R: Re: Can't find a way to implement content blocking (filtering)

2021-05-18 Thread Michael Catanzaro
On Tue, May 18 2021 at 07:08:21 AM +0200, linux...@tin.it wrote: It doesn't matter where the callbacks are, they are called synchronously and, when invoked, they run in the thread, even if they were declared in what "seems" the (or UI) thread. Hi, (Beware: none of WebKitGTK's APIs are thr

Re: [webkit-gtk] R: Re: Can't find a way to implement content blocking (filtering)

2021-05-04 Thread Michael Catanzaro
On Tue, May 4 2021 at 06:53:58 PM +0200, linux...@tin.it wrote: Ok, let's see... any idea on how to make the UI (main program) communicate with the library? A pipe perhaps? A pipe would work. You can use whatever form of IPC you want. But there are a few built-in options that will probably be

Re: [webkit-gtk] Can't find a way to implement content blocking (filtering)

2021-05-04 Thread Michael Catanzaro
On Tue, May 4 2021 at 08:07:00 AM +0200, linux...@tin.it wrote: I noticed that there is a very similar signal also in webkit, but to use it one has to use an extension which, it seems to me, has to be an external library. Even if I could try to write and compile a similar library, then the dialog

Re: [webkit-gtk] [webkit-dev] Plugin process

2020-07-20 Thread Michael Catanzaro
On Mon, Jul 20, 2020 at 9:35 am, Michael Catanzaro wrote: For now, I'll submit a patch to deprecate these settings without changing behavior yet. Meh, I did this, but realized that it's easier to write deprecation messages when we remove support for the feature at the same time

Re: [webkit-gtk] [webkit-dev] Plugin process

2020-07-20 Thread Michael Catanzaro
On Mon, Jul 20, 2020 at 11:47 am, Adrian Perez de Castro wrote: Our tentative plan for sunsetting the NPAPI support is to keep supporting the GTK3 plugin process in the next stable release series. This means that we could remove the support from trunk after creating the stable branch for the

Re: [webkit-gtk] Follow-up on Support for PKCS11/Smartcard

2019-08-01 Thread Michael Catanzaro
On Mon, Jul 22, 2019 at 9:00 AM, Michael Catanzaro wrote: Yes. :) And also in WebKit. One of our developers has been investigating it recently for a potential project. If approved, then we'll revive that code but integrate it into the main backend so that it's actually enabled

Re: [webkit-gtk] Follow-up on Support for PKCS11/Smartcard

2019-07-22 Thread Michael Catanzaro
On Mon, Jul 22, 2019 at 6:10 AM, Benjamin Greiner wrote: Are you sure you have to implement it in glib-networking? Yes. :) And also in WebKit. One of our developers has been investigating it recently for a potential project. If approved, then we'll revive that code but integrate it into the

Re: [webkit-gtk] Follow-up on Support for PKCS11/Smartcard

2019-07-21 Thread Michael Catanzaro
On Sun, Jul 21, 2019 at 1:48 PM, "Sindlinger, Randall A. (GSFC-619.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]" wrote: Can you provide any further guidance or suggestions? Hi Randall, As described in the previous thread, WebKitGTK does not currently support smartcards. Sorry. This would requir

Re: [webkit-gtk] Next browser: Random (?) blank views when switching web view in GTK container

2019-07-06 Thread Michael Catanzaro
On Sat, Jul 6, 2019 at 8:46 AM, Pierre Neidhardt wrote: Can you specify what is not being done by two many applications? The gtk_box juggling? Yeah. Then how are we supposed to switch webview? Well what you're doing looks right, it's just not something other applications do. On Sat, Jul

Re: [webkit-gtk] Next browser: Random (?) blank views when switching web view in GTK container

2019-07-06 Thread Michael Catanzaro
On Sat, Jul 6, 2019 at 7:38 AM, Pierre Neidhardt wrote: I first remove the old buffer webview from the gtk_box, then add the new one. Is this a broken way to do it? Do I need to refresh or synchronize something? Is it OK to display a web view in a gtk_box? It's supposed to be OK, but prob

Re: [webkit-gtk] TextCodec.cpp lacks include when compiling with clang-7.0

2019-06-24 Thread Michael Catanzaro
On Mon, Jun 24, 2019 at 12:49 AM, Denis Pronin wrote: Hi, Michael. Thank you. Where can I take 2.24.3? I cannot see it in releases https://webkitgtk.org/releases/ Well it hasn't been released yet. Wait a few weeks! ___ webkit-gtk mailing list webki

Re: [webkit-gtk] TextCodec.cpp lacks include when compiling with clang-7.0

2019-06-23 Thread Michael Catanzaro
On Sun, Jun 23, 2019 at 7:26 PM, Michael Catanzaro wrote: Sure, I'll make sure this makes it into 2.24.3. Of course Gentoo can just patch it in for the meantime. Well Adrian had already backported this two weeks ago, so you should be good to go with 2.24.3. Assuming there are no

Re: [webkit-gtk] TextCodec.cpp lacks include when compiling with clang-7.0

2019-06-23 Thread Michael Catanzaro
On Sun, Jun 23, 2019 at 2:33 PM, Denis Pronin wrote: Adrian, hi Do you remember my letting you know about compiler error in TextCodec.cpp when using clang + libc++ as utilities. I noticed you fix it in 2.25 versions of the 'webkit-gtk', great. But may I ask you to port it back in 2.24? I am

Re: [webkit-gtk] CI builds failing for ppc64, ppc64le and s390x

2019-06-03 Thread Michael Catanzaro
On Mon, Jun 3, 2019 at 8:01 AM, Eike Rathke wrote: Currently the CI builds for ppc64, pc64le and s390x are failing with the attached error message, taken from ppc64 but the same for all three platforms. It started on May-22 with the indicated changes. I assume there's some alignment/packing dif

Re: [webkit-gtk] TextCodec.cpp lacks include when compiling with clang-7.0

2019-05-22 Thread Michael Catanzaro
On Tue, May 21, 2019 at 6:36 PM, Adrian Perez de Castro wrote: I just completed a build here with Clang 8.0 and it went just fine. I would like to know whether you were using libc++ instead of libstdc++ before I try to install Clang 7.1.0 to see if I can reproduce the issue. Could you comment

[webkit-gtk] WebKitGTK and WPE WebKit Security Advisory WSA-2019-0003

2019-05-20 Thread Michael Catanzaro
WebKitGTK and WPE WebKit Security Advisory WSA-2019-0003 Date reported : May 20, 2019 Advisory ID : WSA-2019-0003 WebKitGTK Advisory URL : https://web

Re: [webkit-gtk] Unable to build dependencies for webkitgtk on raspbian

2019-05-09 Thread Michael Catanzaro
On Wed, May 8, 2019 at 7:41 PM, Arvind Arvind Pro wrote: The problem is not that I want to remove some features- I want to build Webkit GTK with all its features intact- but how will that happen when some packages are not there in Debian Stretch? (Only in Sid or Buster)? You'll need to buil

Re: [webkit-gtk] Unable to build dependencies for webkitgtk on raspbian

2019-05-09 Thread Michael Catanzaro
On Wed, May 8, 2019 at 8:11 PM, Arvind Arvind Pro wrote: The command cannot run in the code in the release tarball because there is no folder "Scripts" within it. Hence the code from SVN is required. Didn't you see the bold instructions on that page warning you these instructions are unsafe

Re: [webkit-gtk] Printing from Flatpak not working

2019-05-06 Thread Michael Catanzaro
On Mon, May 6, 2019 at 6:39 AM, Michael Gratton wrote: Yup, but support for that landed in both the portal and GTK ages ago. If you're using GtkPrintOperation per the docs[0] it will Just Work™, but WebKitGTK has its own WebKitPrintOperation class (presumably to support the renderer being out

[webkit-gtk] WebKitGTK and WPE WebKit Security Advisory WSA-2019-0002

2019-04-10 Thread Michael Catanzaro
WebKitGTK and WPE WebKit Security Advisory WSA-2019-0002 Date reported : April 10, 2019 Advisory ID : WSA-2019-0002 WebKitGTK Advisory URL : https://w

Re: [webkit-gtk] How to get a snapshot of an unmaped WebView ?

2019-03-18 Thread Michael Catanzaro
On Mon, Mar 18, 2019 at 10:44 AM, =?iso-8859-1?q?C=E9dric?= Bellegarde wrote: My question is: What is the correct way to get a snapshot of an unmapped webview? I think it's just broken. ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https:

Re: [webkit-gtk] Webkit2 signals/callbacks

2019-02-13 Thread Michael Catanzaro
On Wed, Feb 13, 2019 at 7:11 AM, Daniel Berek wrote: Thanks. One last question: how can I execute external javascripts ( or jquery) which are linked in a html as

Re: [webkit-gtk] Webkit2 signals/callbacks

2019-02-12 Thread Michael Catanzaro
On Tue, Feb 12, 2019 at 1:35 AM, Daniel Berek wrote: Thanks it really works. But I still have to figure out how to pass data to my core class through webview widget -> gtk:window -> gui thread -> core app. A simple function call freezes the gui, so some kind of in-build signal handling is need

Re: [webkit-gtk] WebKitGTK+ name

2019-02-11 Thread Michael Catanzaro
On Fri, Feb 8, 2019 at 2:42 PM, Lucas Forschler wrote: No problem, shall I simply remove the ‘+’ from the bugzilla component name? Or is there another change you would prefer? Lucas I see no objections, so please go ahead. Thanks! Michael ___ webk

[webkit-gtk] WebKitGTK+ and WPE WebKit Security Advisory WSA-2019-0001

2019-02-08 Thread Michael Catanzaro
WebKitGTK+ and WPE WebKit Security Advisory WSA-2019-0001 Date reported : February 08, 2019 Advisory ID : WSA-2019-0001 WebKitGTK+ Advisory URL : http

Re: [webkit-gtk] WebKitGTK+ name

2019-02-08 Thread Michael Catanzaro
On Fri, Feb 8, 2019 at 2:42 PM, Lucas Forschler wrote: No problem, shall I simply remove the ‘+’ from the bugzilla component name? Yeah, but let's please wait until Monday to see if anybody objects to the name change. It should be uncontroversial, I suppose. Or is there another change you

Re: [webkit-gtk] WebKitGTK+ name

2019-02-08 Thread Michael Catanzaro
On Fri, Feb 8, 2019 at 10:02 AM, Michael Catanzaro wrote: Hi, The GTK+ project has been renamed to GTK. i.e. they've dropped the +. Shall we rename WebKitGTK+ to WebKitGTK? I think so? Michael Here's the discussion: https://mail.gnome.org/archives/gtk-devel-list/2019-Februar

[webkit-gtk] WebKitGTK+ name

2019-02-08 Thread Michael Catanzaro
Hi, The GTK+ project has been renamed to GTK. i.e. they've dropped the +. Shall we rename WebKitGTK+ to WebKitGTK? I think so? Michael ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] Webkit2 signals/callbacks

2019-02-05 Thread Michael Catanzaro
On Tue, Feb 5, 2019 at 6:51 AM, Adrian Perez de Castro wrote: You can also use an injected JS script [1] which hooks into the “onclick” events and send user script messages [2] to the process that is embedding the Web view. Depending on your use case that might be good enough, Uh yeah, that'

Re: [webkit-gtk] Webkit2 signals/callbacks

2019-02-04 Thread Michael Catanzaro
On Mon, Feb 4, 2019 at 2:46 AM, Daniel Berek wrote: Hi, is there any signal or callback for handling an "onClick" event in c++ program (similar to mouse-target-changed)? Html sites are loaded with webkit_web_view_load_html() and my goal is to process user input, when HTML divs are clicked. (or

Re: [webkit-gtk] can't view comments on this blog

2019-01-28 Thread Michael Catanzaro
On Mon, Jan 28, 2019 at 6:56 AM, Dennis New wrote: (I'm using 2.22.5) Works for me in both 2.22.5 and 2.23.3. ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] Silently failing to load web extensions

2019-01-18 Thread Michael Catanzaro
On Thu, Jan 17, 2019 at 7:04 PM, Michael Gratton wrote: So, how about that error reporting? ;) I don't know. I think really the main way this could break is if you don't install the web extension into the web extensions directory at all. And that's easy enough to check in the application wit

Re: [webkit-gtk] Remote debugger broken after 2.23.2 upgrade

2019-01-17 Thread Michael Catanzaro
On Thu, Jan 17, 2019 at 2:17 PM, serban u wrote: Hello, It appears to me that Remote Debugger stopped working after upgrading to webkitgtk 2.23.2. I tried loading a web page inside minibrowser and I can attach to it, but I get no data at all, in any of the remote inspector tabs. Is this is

Re: [webkit-gtk] Silently failing to load web extensions

2019-01-17 Thread Michael Catanzaro
On Thu, Jan 17, 2019 at 4:44 PM, Michael Gratton wrote: pkglibexecdir = join_paths(libexecdir, 'epiphany') webextensionsdir = join_paths(pkglibdir, 'web-extensions') pkglibdir, not pkglibexecdir! The variables are sorted alphabetically. ___ webkit-g

Re: [webkit-gtk] Silently failing to load web extensions

2019-01-17 Thread Michael Catanzaro
On Wed, Jan 16, 2019 at 6:38 PM, Michael Gratton wrote: Hey all, It looks like people who install Geary from source to /usr/local (more common now that meson defaults to that as the install prefix) are finding their web extensions not being loaded under Fedora for... reasons. It would b

Re: [webkit-gtk] Make unit tests buildable from tarballs

2019-01-15 Thread Michael Catanzaro
On Fri, Jan 11, 2019 at 3:43 AM, Tomas Popela wrote: * In CMAKE files the ENABLE_API_TESTS is guarded by the DEVELOPER_MODE * The tests itself depends on the WebKit C API, that is not exported in our shared library (it's filtered out by the webkitglib-symbols.map). The list of what symbols a

Re: [webkit-gtk] Loading images from file:// URL containing non-ASCII characters

2019-01-12 Thread Michael Catanzaro
On Fri, Jan 11, 2019 at 6:42 PM, Michael Catanzaro wrote: It sounds like a bug to me, especially since it works if all is ASCII. I think it's already reported on WebKit Bugzilla somewhere, but I couldn't find it with a quick search -- good luck finding anything on there -- so unles

Re: [webkit-gtk] Loading images from file:// URL containing non-ASCII characters

2019-01-11 Thread Michael Catanzaro
On Thu, Jan 10, 2019 at 7:11 PM, Scott Talbert wrote: Is this a bug? It would seem to me that it would be - I don't know why a file:// URL shouldn't be able to load other local resources. And it works with a file:// URL with all ASCII characters. It sounds like a bug to me, especially since

Re: [webkit-gtk] WebKitGTK+ 2.23.2 released!

2019-01-08 Thread Michael Catanzaro
On Tue, Jan 8, 2019 at 3:20 AM, Carlos Garcia Campos wrote: - Add new API to convert a URI to a format for display. I'm afraid this one got reverted before the release. ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org

Re: [webkit-gtk] Support for PKCS11 / Smartcard?

2018-12-20 Thread Michael Catanzaro
On Thu, Dec 6, 2018 at 9:50 PM, mailto428496 wrote: Actually I was testing CentOS 7 in a VM with smartcard, so that will work fine. Still curious to hear the results of your testing on Fedora 29, to figure out whether the gnutls-pkcs11 backend was important! Just curious, how are priori

[webkit-gtk] WebKitGTK+ and WPE WebKit Security Advisory WSA-2018-0009

2018-12-13 Thread Michael Catanzaro
WebKitGTK+ and WPE WebKit Security AdvisoryWSA-2018-0009 Date reported : December 13, 2018 Advisory ID : WSA-2018

Re: [webkit-gtk] Support for PKCS11 / Smartcard?

2018-12-06 Thread Michael Catanzaro
On Thu, Dec 6, 2018 at 12:19 AM, mailto428496 wrote: I will have to see about setting up Fedora 29 in a VM to test. I guess also try CentOS in a VM first, to make sure the smartcard is accessible to VMs. We just need to fix https://bugs.webkit.org/show_bug.cgi?id=164509. It shouldn't b

Re: [webkit-gtk] Sockets/file descriptors and the web extension

2018-12-05 Thread Michael Catanzaro
WebKit uses several child processes. A WebKitWebExtension is just a way to run code in the WebKitWebProcess. Each WebKitWebView corresponds to one WebKitNetworkProcess and one or more WebKitWebProcess processes. These will be created regardless of whether or not you use the WebKitWebExtension c

Re: [webkit-gtk] Sockets/file descriptors and the web extension

2018-12-05 Thread Michael Catanzaro
On Wed, Dec 5, 2018 at 11:11 AM, Eric Williams wrote: Some preliminary debugging shows that the web extension still holds onto the socket/file descriptor used when opening the port in step 1 -- even though the port has been closed. This causes the error in step 4. If no web extension is create

Re: [webkit-gtk] Support for PKCS11 / Smartcard?

2018-12-04 Thread Michael Catanzaro
On Mon, Dec 3, 2018 at 8:16 PM, mailto428496 wrote: Let me know if you have any ideas on how to test the glib-networking without WebKit, I am just not sure what else smartcard auth related would use it? I hear it might have worked with a previous version of Evolution's Exchange support. My gu

Re: [webkit-gtk] Support for PKCS11 / Smartcard?

2018-12-04 Thread Michael Catanzaro
On Mon, Dec 3, 2018 at 8:16 PM, mailto428496 wrote: Michael, As you predicted it didn't work for smartcard authentication with WebKit (MiniBrowser) (perhaps I was overly optimistic that somehow it would magically work ;) and I am not sure how else to test it? But setting the GIO_USE_TLS=

Re: [webkit-gtk] Support for PKCS11 / Smartcard?

2018-12-03 Thread Michael Catanzaro
I think won't work to authenticate you to the website, because WebKit doesn't (yet) support client authentication (that's on my TODO). So try to find some way to test it without using WebKit. Admittedly, that's a sticking point, because I'm really not sure how you would do that Michael

Re: [webkit-gtk] Support for PKCS11 / Smartcard?

2018-12-02 Thread Michael Catanzaro
On Sun, Dec 2, 2018 at 1:58 PM, Michael Catanzaro wrote: In CentOS 7.6, you are in a good spot to do this, because you have glib-networking 2.56, which is the first version of glib-networking that uses GnuTLS's default trust store Oops, that's not true; looks like 2.58 was the fir

Re: [webkit-gtk] Support for PKCS11 / Smartcard?

2018-12-02 Thread Michael Catanzaro
On Sat, Dec 1, 2018 at 6:01 PM, mailto428496 wrote: I am testing this on CentOS 7 and it appears that the server cert ca verification is working (we have the CA stores installed locally), at least it doesn't complain that the site cert is invalid, but I suppose it could just not be checking a

Re: [webkit-gtk] Support for PKCS11 / Smartcard?

2018-12-01 Thread Michael Catanzaro
On Sat, Dec 1, 2018 at 11:14 AM, Michael Catanzaro wrote: It would need to be investigated by a developer with a smartcard and some interest in figuring out how it's supposed to work. You might know more than me! Did any of that make sense? BTW to be clear: * WebKit client auth is extr

Re: [webkit-gtk] Support for PKCS11 / Smartcard?

2018-12-01 Thread Michael Catanzaro
On Fri, Nov 30, 2018 at 8:41 PM, mailto428496 wrote: It does not appear that webkit-gtk has support for PKCS 11 and hence smartcard devices, unless I am missing something...? I was wondering if there were any plans to implement this for webkit-gtk browsers? Hm... p11-kit is supported in Fe

Re: [webkit-gtk] GTK4

2018-11-23 Thread Michael Catanzaro
On Fri, Nov 23, 2018 at 11:46 AM, Andrea Giammarchi wrote: Out of curiosity, does that mean GTK4 doesn't bring interesting benefits so nobody cares about having a browser there? From my perspective, we want this so that GNOME applications can be ported to GTK+ 4. But we have many more higher-

Re: [webkit-gtk] GTK4

2018-11-23 Thread Michael Catanzaro
On Thu, Nov 22, 2018 at 12:12 PM, Eric Williams wrote: I was wondering -- has work on a GTK4 port of WebKitGTK started? If not, what is the timeline for such work? Hi Eric, There is no work yet on this and it is not scheduled. I expect it would be a lot of effort to get working, and we're fu

[webkit-gtk] WebKitGTK+ and WPE WebKit Security Advisory WSA-2018-0008

2018-11-21 Thread Michael Catanzaro
WebKitGTK+ and WPE WebKit Security AdvisoryWSA-2018-0008 Date reported : November 21, 2018 Advisory ID : WSA-2018

Re: [webkit-gtk] Missing devhelp index?

2018-11-08 Thread Michael Catanzaro
On Thu, Nov 8, 2018 at 2:20 PM, Pierre Neidhardt wrote: Devhelp works natively with GTK-Doc so it should be generated automatically when building WebKitGTK. But it seems to be missing from https://webkitgtk.org/reference/webkit2gtk/stable/ and from the built package on my system (GuixSD). I

[webkit-gtk] WebKitGTK+ and WPE WebKit Security Advisory WSA-2018-0007

2018-09-28 Thread Michael Catanzaro
--- WebKitGTK+ and WPE WebKit Security AdvisoryWSA-2018-0007 Date reported : September 26, 2018 Advisory ID : WSA-2018

Re: [webkit-gtk] Keyboard nav out of a WebView

2018-09-10 Thread Michael Catanzaro
On Thu, Sep 6, 2018 at 4:35 AM, Michael Gratton wrote: I've seen https://bugs.webkit.org/show_bug.cgi?id=157793, but is there any know work-around? I can't think of any workaround. I think we just need to fix it. Michael ___ webkit-gtk mailing list

[webkit-gtk] WebKitGTK+ and WPE WebKit Security Advisory WSA-2018-0006

2018-08-07 Thread Michael Catanzaro
WebKitGTK+ and WPE WebKit Security AdvisoryWSA-2018-0006 Date reported : August 07, 2018 Advisory ID : WSA-2018-0

  1   2   3   4   >