Commit Graph

613 Commits

Author SHA1 Message Date
eeeck 1d1cbc83f5 Fix issue with pathspec 'master' 2025-11-11 15:01:15 +01:00
eeeck 3f21829810 Fix master branch name 2025-11-11 14:56:44 +01:00
eeeck 63fe59c7de Regularly fetch from upstream 2025-10-19 23:53:53 +02:00
Quentin Rameau 48517e586c Fix (2) some typo for kiosk mode in the man-page
Looks like I didn't pay enough attention the first time,
that's what you get for pushing without review!

Thanks to Hiltjo for spotting this!
2025-04-19 12:02:45 +02:00
Quentin Rameau ca380ccb93 Add configuration option for PDF-JS-viewer 2025-04-18 13:56:14 +02:00
Artyom Bologov 22cc5ceee2 Support PDFs 2025-04-18 13:38:56 +02:00
Quentin Rameau c3b3b95f4a Fix some typo for kiosk mode in the man-page
Thanks to Tim Dickson <dickson.tim@googlemail.com> for spotting it!
2025-01-05 12:02:38 +01:00
Quentin Rameau 7f1156f9b0 Build against Webkit 4.1
Seems that this is needed for libsoup3.
2025-01-05 12:02:38 +01:00
Quentin Rameau b3ba9f5991 Request HTTPS by default instead of HTTP
This might be more reasonable privacy-wise in 2025.
2025-01-05 12:02:38 +01:00
Quentin Rameau 9ef79bf710 webext: Process full messages
Piped messages would not always be fully sent in a single read.
Do a bit of message reassembly.
2024-03-24 15:27:20 +01:00
Quentin Rameau d5f45bffe0 webext: Free JavaScript objects
Webkit documentation says JavaScript objects refcount is always
increased, and has to be released always.
2024-03-24 15:27:20 +01:00
Quentin Rameau b48be75179 Fix message sizes for web extension communication 2024-03-17 09:13:56 +01:00
Quentin Rameau 2ea91766bb webext: Remove unused functions
Communication from web extension to surf isn't used,
this code can always be brought back if needed.
2024-03-17 08:22:18 +01:00
Quentin Rameau 7513a622e3 Update get frame name function
webkit_navigation_policy_decision_get_frame_name has been deprecated
since 2.40.
2024-03-17 08:22:18 +01:00
Quentin Rameau 4bab57968d Remove setting processing model
The processing model we want is actually the only one supported
since 2.40.
2024-03-17 08:22:18 +01:00
Quentin Rameau 5e591b89a1 Update deprecated JavaScript eval function
Function webkit_web_view_run_javascript has been deprecated since 2.40.
2024-03-17 08:22:18 +01:00
Quentin Rameau 85bfff1083 Move TLS parameters handling to datamanager
Using web context is deprecated since 2.32.
2024-03-17 08:22:18 +01:00
Quentin Rameau 3f4292b7cc Remove Java support toggle
This has been deprecated since 2.38.
2024-03-17 08:22:18 +01:00
Quentin Rameau 175710126c Remove frame flattening toggle
This has been deprecated since 2.38.
2024-03-17 08:22:18 +01:00
Quentin Rameau f1d47112d6 Add webkit URI scheme 2024-03-17 08:22:17 +01:00
Quentin Rameau 30f5464eb1 Fix usage message: -Pp don't exist anymore
Thanks to Eric Pruitt <eric.pruitt@gmail.com> for reporting!
2023-11-18 12:48:19 +01:00
Petr Vaněk e9b7ec6722 webext: add missing gio/gunixfdlist.h includes
This resolves two set of warnings pointed by compiler
-Wimplicit-function-declaration and -Wint-conversion, where the later
one can result with segfault caused by invalid cast from int to pointer.

Fixes: 665a709b52 ("webext: Exchange fd over webkit messages")
2022-10-22 13:07:19 +02:00
Quentin Rameau 665a709b52 webext: Exchange fd over webkit messages
This is more complex, but webkit2gtk prevents passing file descriptors
to processes in 2.38.0.
2022-10-16 17:39:05 +02:00
Quentin Rameau 609ea1c8e6 Do not reload page when toggling dark mode
This change had actually been applied in previous commit d3ee652
by mistake.
2022-05-04 03:31:58 +02:00
Quentin Rameau 38cb1632bf Fix dark mode parameter application 2022-04-10 18:50:02 +02:00
Quentin Rameau d3ee652860 Only get webkit context and settings once 2022-04-10 18:49:35 +02:00
Quentin Rameau 1f5b8f3bd1 Add dark mode toggle
This sets dark gtk theme variant,
which should make webkit2gtk use dark css variant
from websites that provide it.
2022-04-10 16:35:24 +02:00
Quentin Rameau 11dca18a2d Improve non-ASCII character search handling
Before, the XA_STRING would only let use ASCII characters properly.
Now UTF-8 characters should be handled correctly.
2021-07-19 22:27:50 +02:00
Quentin Rameau 238d2273b5 Improve SETPROP xprop parsing
This handles correctly quotes, backslashes, etc.
2021-07-19 22:27:32 +02:00
Quentin Rameau 761ea9e4c6 Fix togglestats array 2021-05-21 00:16:17 +02:00
Quentin Rameau bcd7d74e61 Update LICENSE file 2021-05-10 00:44:36 +02:00
Quentin Rameau 327cca048b Fix distfile generation 2021-05-10 00:37:46 +02:00
Quentin Rameau d75c3ded0b Bump version to 2.1 2.1 2021-05-08 16:53:53 +02:00
Quentin Rameau 4540b4a97c Remove accelerated canvas parameter
This has been deprecated since release 2.32.
2021-04-30 08:48:19 +02:00
Quentin Rameau fce76429b8 Remove external plugin handling
This has been deprecated since release 2.32.
2021-04-30 08:47:20 +02:00
Quentin Rameau 7dcce9e1b9 Makefile: use explicit targets
Some make implementation have trouble with following inference rules
indirection
2020-11-07 18:43:11 +01:00
Quentin Rameau 262c3ee24a webext: Fix missing flags for gio 2020-11-07 15:32:46 +01:00
Quentin Rameau 55c65b21f6 Simplify communication with webext 2020-11-01 16:59:12 +01:00
Quentin Rameau 5f81d4a99f Set title on committed load 2020-11-01 16:59:12 +01:00
Quentin Rameau e92fd1aa5f Communicate through a Unix socket instead of a pipe pair 2020-11-01 16:59:12 +01:00
Quentin Rameau f61cfc720c Add support for ephemeral (zero disk access) 2020-11-01 16:59:12 +01:00
Quentin Rameau 6850365d7c Add support for configuring plugins directories 2020-11-01 16:59:12 +01:00
Quentin Rameau 8d5e2b3a40 Remove common 2020-11-01 16:59:11 +01:00
Quentin Rameau 21fcbc004e Makefile: rework how webextensions are handled 2019-02-10 19:50:25 +01:00
efe d068a3878b Fix vertical scroll directions in the config file 2019-02-09 00:25:39 +01:00
Leonardo Taccari bf46e40f3a Makefile: fix a typo in clean: target 2019-02-07 21:28:15 +01:00
Quentin Rameau 890b2fc396 Makefile: include common to webext 2019-02-06 10:53:05 +01:00
Quentin Rameau b9cd3bb0bc Makefile: fix a typo for the webext CFLAGS
Thanks to Justin Keogh <suckless@v6y.net> for spotting this
2019-02-06 10:22:15 +01:00
Quentin Rameau 02541c3146 Send message size inside messages through pipes 2018-10-15 13:15:54 +02:00
Leonardo Taccari 2b71a22755 Use pkg-config for X11{INC,LIB} 2018-10-09 21:50:20 +02:00