]> git.armaanb.net Git - chorizo.git/log
chorizo.git
3 years agoAllow webkit:// in URLs
Peter Hofmann [Sat, 2 May 2020 18:37:15 +0000 (20:37 +0200)]
Allow webkit:// in URLs

3 years agoEnable WebKit sandboxing (and tidy up a bit)
Peter Hofmann [Sat, 2 May 2020 13:47:16 +0000 (15:47 +0200)]
Enable WebKit sandboxing (and tidy up a bit)

3 years agoManpages: Refine paragraph about WebKitGTK caches
Peter Hofmann [Sat, 2 May 2020 11:23:12 +0000 (13:23 +0200)]
Manpages: Refine paragraph about WebKitGTK caches

3 years agowe_adblock: No need for static here, either
Peter Hofmann [Fri, 1 May 2020 05:44:17 +0000 (07:44 +0200)]
we_adblock: No need for static here, either

3 years agoCHANGES: Link second blog post
Peter Hofmann [Thu, 30 Apr 2020 18:54:10 +0000 (20:54 +0200)]
CHANGES: Link second blog post

3 years agoPATCHES: Link GitHub forks
Peter Hofmann [Thu, 30 Apr 2020 17:54:52 +0000 (19:54 +0200)]
PATCHES: Link GitHub forks

3 years agoUpdate main window title again
Peter Hofmann [Thu, 30 Apr 2020 13:50:21 +0000 (15:50 +0200)]
Update main window title again

This is important for password managers like keepass.

Unlike the previous version of this code, we no longer traverse widget
hierarchies. Instead, a pointer to the real tab label widget is stored
on whatever widget happens to be returned by gtk_notebook_get_tab_label().
Luckily, there is an easy way to do this via g_object.

3 years agoPATCHES: No longer on Github, there are no PRs anymore
Peter Hofmann [Wed, 29 Apr 2020 16:44:58 +0000 (18:44 +0200)]
PATCHES: No longer on Github, there are no PRs anymore

3 years agoPATCHES: Remove dead fork
Peter Hofmann [Wed, 29 Apr 2020 16:44:47 +0000 (18:44 +0200)]
PATCHES: Remove dead fork

3 years agoRemove external URI handler
Peter Hofmann [Wed, 29 Apr 2020 16:05:09 +0000 (18:05 +0200)]
Remove external URI handler

3 years agoScroll tabs using mouse wheel
Peter Hofmann [Tue, 28 Apr 2020 19:30:13 +0000 (21:30 +0200)]
Scroll tabs using mouse wheel

Not ideal, because it doesn't work when the mouse hovers over empty
areas. If we connect that signal to the notebook itself, it will also
trigger when scrolling the web page -- if the web_view doesn't handle
the scroll. The event then propagates upwards in the hierarchy and ends
up in the notebook.

Means we would have to wrap the web_view in a dummy evbox that catches
all scroll events. Nah.

3 years agoUpdate CHANGES
Peter Hofmann [Tue, 28 Apr 2020 14:17:10 +0000 (16:17 +0200)]
Update CHANGES

3 years agoUpdate README
Peter Hofmann [Tue, 28 Apr 2020 14:12:44 +0000 (16:12 +0200)]
Update README

3 years agoRemove keyword searches
Peter Hofmann [Tue, 28 Apr 2020 14:11:25 +0000 (16:11 +0200)]
Remove keyword searches

Unmaintained code, better alternatives exist.

3 years agoEnd the static madness
Peter Hofmann [Tue, 28 Apr 2020 14:00:51 +0000 (16:00 +0200)]
End the static madness

This is just one file, there's no point in doing this.

4 years agoStop changing window title, use tooltip instead
Peter Hofmann [Mon, 27 Apr 2020 18:31:36 +0000 (20:31 +0200)]
Stop changing window title, use tooltip instead

4 years agoremote_msg should focus new tabs
Peter Hofmann [Mon, 27 Apr 2020 17:30:01 +0000 (19:30 +0200)]
remote_msg should focus new tabs

4 years agoOnly focus new tabs on startup and on hotkey
Peter Hofmann [Mon, 27 Apr 2020 17:15:49 +0000 (19:15 +0200)]
Only focus new tabs on startup and on hotkey

4 years agoReset favicon if not present
Peter Hofmann [Mon, 27 Apr 2020 16:43:58 +0000 (18:43 +0200)]
Reset favicon if not present

4 years agoAdd TODO item
Peter Hofmann [Mon, 27 Apr 2020 16:41:39 +0000 (18:41 +0200)]
Add TODO item

4 years agofavicon: Initial size should be close to target size
Peter Hofmann [Mon, 27 Apr 2020 16:21:54 +0000 (18:21 +0200)]
favicon: Initial size should be close to target size

GTK_ICON_SIZE_SMALL_TOOLBAR is 16px, according to the docs.

4 years agoAlways scale favicons
Peter Hofmann [Mon, 27 Apr 2020 16:16:33 +0000 (18:16 +0200)]
Always scale favicons

If the size already matches exactly, Gdk will do nothing.

4 years agoMore space around favicon
Peter Hofmann [Mon, 27 Apr 2020 16:09:57 +0000 (18:09 +0200)]
More space around favicon

4 years agoScale favicons
Peter Hofmann [Mon, 27 Apr 2020 16:03:51 +0000 (18:03 +0200)]
Scale favicons

4 years agoDisplay favicons (not resized)
Peter Hofmann [Mon, 27 Apr 2020 15:30:18 +0000 (17:30 +0200)]
Display favicons (not resized)

4 years agoMake tab width customizable
Peter Hofmann [Sat, 25 Apr 2020 07:49:15 +0000 (09:49 +0200)]
Make tab width customizable

4 years agoMake tab position customizable
Peter Hofmann [Sat, 25 Apr 2020 07:18:37 +0000 (09:18 +0200)]
Make tab position customizable

4 years agoAdd hotkeys for switching tabs
Peter Hofmann [Fri, 24 Apr 2020 16:16:09 +0000 (18:16 +0200)]
Add hotkeys for switching tabs

4 years agoUse GtkNotebook (basic implementation)
Peter Hofmann [Wed, 11 Jul 2018 18:01:55 +0000 (20:01 +0200)]
Use GtkNotebook (basic implementation)

4 years agoRemove support for tabbed
Peter Hofmann [Wed, 11 Jul 2018 16:00:18 +0000 (18:00 +0200)]
Remove support for tabbed

4 years agoRelease v20.04
Peter Hofmann [Wed, 22 Apr 2020 13:05:15 +0000 (15:05 +0200)]
Release v20.04

4 years agolariza.usage.1: Fix erroneous dots and wrapping
Peter Hofmann [Fri, 17 Apr 2020 16:59:50 +0000 (18:59 +0200)]
lariza.usage.1: Fix erroneous dots and wrapping

4 years agoRelease v20.03
Peter Hofmann [Sat, 28 Mar 2020 06:33:50 +0000 (07:33 +0100)]
Release v20.03

4 years agoREADME: Tweak wording
Peter Hofmann [Sat, 28 Mar 2020 06:31:48 +0000 (07:31 +0100)]
README: Tweak wording

4 years agoMakefile: Do not install hints.js as executable
Peter Hofmann [Sat, 14 Mar 2020 10:40:04 +0000 (11:40 +0100)]
Makefile: Do not install hints.js as executable

4 years agoCHANGES: Be more precise
Peter Hofmann [Sat, 14 Mar 2020 10:37:25 +0000 (11:37 +0100)]
CHANGES: Be more precise

4 years agoMove user scripts
Peter Hofmann [Sat, 14 Mar 2020 10:36:34 +0000 (11:36 +0100)]
Move user scripts

This is a more meaningful path.

4 years agoUpdate CHANGES
Peter Hofmann [Sat, 14 Mar 2020 10:26:39 +0000 (11:26 +0100)]
Update CHANGES

4 years agolariza.usage: Fix wrong path to web extensions
Peter Hofmann [Sat, 14 Mar 2020 10:24:12 +0000 (11:24 +0100)]
lariza.usage: Fix wrong path to web extensions

4 years agolariza.usage: Mention hints.js
Peter Hofmann [Sat, 14 Mar 2020 10:23:31 +0000 (11:23 +0100)]
lariza.usage: Mention hints.js

4 years agolariza.usage: Mention that web extensions get installed
Peter Hofmann [Sat, 14 Mar 2020 10:23:19 +0000 (11:23 +0100)]
lariza.usage: Mention that web extensions get installed

4 years agoMakefile: Install compiled web extension and user-script
Peter Hofmann [Sat, 14 Mar 2020 10:21:47 +0000 (11:21 +0100)]
Makefile: Install compiled web extension and user-script

4 years agolariza.usage: Restructure
Peter Hofmann [Sat, 14 Mar 2020 09:42:52 +0000 (10:42 +0100)]
lariza.usage: Restructure

4 years agouser-scripts: Bundle hints.js
Peter Hofmann [Sat, 14 Mar 2020 09:38:40 +0000 (10:38 +0100)]
user-scripts: Bundle hints.js

4 years agoWebGL is enabled by default
Peter Hofmann [Wed, 11 Mar 2020 16:31:51 +0000 (17:31 +0100)]
WebGL is enabled by default

4 years agoEnable WebKit's developer extras
Peter Hofmann [Wed, 4 Mar 2020 15:17:39 +0000 (16:17 +0100)]
Enable WebKit's developer extras

4 years agoLICENSE: Year bump
Peter Hofmann [Mon, 2 Mar 2020 18:33:39 +0000 (19:33 +0100)]
LICENSE: Year bump

4 years agoREADME: Add user JS, remove paragraph about follow mode
Peter Hofmann [Mon, 2 Mar 2020 18:32:24 +0000 (19:32 +0100)]
README: Add user JS, remove paragraph about follow mode

4 years agoIntroduce user-supplied JavaScript files
Peter Hofmann [Sat, 4 Jan 2020 08:39:24 +0000 (09:39 +0100)]
Introduce user-supplied JavaScript files

4 years agoRelease v19.05
Peter Hofmann [Sun, 5 May 2019 07:55:00 +0000 (09:55 +0200)]
Release v19.05

4 years agoLICENSE: Bump year
Peter Hofmann [Sun, 5 May 2019 08:00:51 +0000 (10:00 +0200)]
LICENSE: Bump year

5 years agoNo longer use WebKit's deprecated JavaScript API
Peter Hofmann [Sun, 31 Mar 2019 07:23:25 +0000 (09:23 +0200)]
No longer use WebKit's deprecated JavaScript API

5 years agoAdd BUGS: Mention currently deprecated functions
Peter Hofmann [Sun, 17 Mar 2019 10:16:08 +0000 (11:16 +0100)]
Add BUGS: Mention currently deprecated functions

5 years agoRelease v18.07
Peter Hofmann [Sun, 29 Jul 2018 07:09:29 +0000 (09:09 +0200)]
Release v18.07

5 years agoSend bug reports if feed icon doesn't work
Peter Hofmann [Sun, 29 Jul 2018 07:09:03 +0000 (09:09 +0200)]
Send bug reports if feed icon doesn't work

5 years agoFix typo
Peter Hofmann [Sun, 29 Jul 2018 06:58:59 +0000 (08:58 +0200)]
Fix typo

5 years agoGet rid of those ugly global variables
Peter Hofmann [Tue, 10 Jul 2018 17:44:09 +0000 (19:44 +0200)]
Get rid of those ugly global variables

5 years agoSimplify: Merge feed_icon() into grab_feeds_finished()
Peter Hofmann [Tue, 10 Jul 2018 17:31:53 +0000 (19:31 +0200)]
Simplify: Merge feed_icon() into grab_feeds_finished()

5 years agoREADME: Remove the "1000 lines of code" statement
Peter Hofmann [Sun, 8 Jul 2018 16:03:02 +0000 (18:03 +0200)]
README: Remove the "1000 lines of code" statement

We've already exceeded that limit and it's not a good measurement for
code quality anyway (not implying that this code is of extraordinarily
good quality), so let's just get rid of it.

5 years agoUpdate CHANGES and README
Peter Hofmann [Sun, 8 Jul 2018 16:02:17 +0000 (18:02 +0200)]
Update CHANGES and README

5 years agoWorkaround for graphical padding artifact
Peter Hofmann [Sun, 8 Jul 2018 12:46:35 +0000 (14:46 +0200)]
Workaround for graphical padding artifact

5 years agofeed_html_header: Default to UTF-8
Peter Hofmann [Sun, 8 Jul 2018 12:38:54 +0000 (14:38 +0200)]
feed_html_header: Default to UTF-8

5 years agoIndicate RSS/Atom feeds on web sites
Peter Hofmann [Sat, 7 Jul 2018 11:24:02 +0000 (13:24 +0200)]
Indicate RSS/Atom feeds on web sites

5 years agoRelease v18.06
Peter Hofmann [Sun, 24 Jun 2018 07:26:22 +0000 (09:26 +0200)]
Release v18.06

5 years agoPATCHES: Remove GitHub link
Peter Hofmann [Fri, 8 Jun 2018 18:49:22 +0000 (20:49 +0200)]
PATCHES: Remove GitHub link

5 years agoREADME: Add new header
Peter Hofmann [Fri, 8 Jun 2018 18:16:00 +0000 (20:16 +0200)]
README: Add new header

6 years agoRelease v18.03
Peter Hofmann [Sat, 17 Mar 2018 06:14:32 +0000 (07:14 +0100)]
Release v18.03

6 years agoConnect to button release events instead of button press
Peter Hofmann [Wed, 21 Feb 2018 06:42:37 +0000 (07:42 +0100)]
Connect to button release events instead of button press

By default, WebKit only responds to release events. The old code
listened for press events. That's probably not the right way to do
things. We should properly "override" the release events.

Closes #56.

6 years agoRelease v18.01
Peter Hofmann [Sat, 27 Jan 2018 08:38:05 +0000 (09:38 +0100)]
Release v18.01

6 years agoLICENSE: Year bump
Peter Hofmann [Sat, 13 Jan 2018 09:01:47 +0000 (10:01 +0100)]
LICENSE: Year bump

6 years agoRemove "whacky" comment
Peter Hofmann [Sat, 13 Jan 2018 06:22:09 +0000 (07:22 +0100)]
Remove "whacky" comment

I was probably thinking about multibyte encodings when I left that note,
but we explicitly check whether the first two bytes are ':' and '/', so
it's fine to skip them.

6 years agoRemove irrelevant parameter name
Peter Hofmann [Sat, 13 Jan 2018 06:19:56 +0000 (07:19 +0100)]
Remove irrelevant parameter name

6 years agoUse full signature for external_handler_run
Peter Hofmann [Sat, 13 Jan 2018 06:12:24 +0000 (07:12 +0100)]
Use full signature for external_handler_run

Yes, this needs the two void casts to make the compiler not complain
about unused parameters, but I think "explicit is better than implicit"
here. And none of the other callbacks use this trick.

6 years agoNo longer use GtkAction when constructing the context menu
Peter Hofmann [Thu, 11 Jan 2018 15:59:56 +0000 (16:59 +0100)]
No longer use GtkAction when constructing the context menu

Thanks to @jun7 for helping me out!

Closes #54.

6 years agoRelease v17.11
Peter Hofmann [Thu, 16 Nov 2017 07:38:20 +0000 (08:38 +0100)]
Release v17.11

6 years agoUpdate LICENSE for fvgh
Peter Hofmann [Wed, 25 Oct 2017 16:25:30 +0000 (18:25 +0200)]
Update LICENSE for fvgh

6 years agoUpdate CHANGES for new env var
Peter Hofmann [Wed, 25 Oct 2017 16:25:15 +0000 (18:25 +0200)]
Update CHANGES for new env var

6 years agoMerge pull request #55 from fvgh/console_to_stdout
Peter Hofmann [Wed, 25 Oct 2017 16:23:10 +0000 (18:23 +0200)]
Merge pull request #55 from fvgh/console_to_stdout

Support WebKit "enable-write-console-messages-to-stdout"

6 years agoSupport WebKit "enable-write-console-messages-to-stdout" via env-variable.
Frank Vennemeyer [Tue, 24 Oct 2017 18:54:56 +0000 (20:54 +0200)]
Support WebKit "enable-write-console-messages-to-stdout" via env-variable.

6 years agoRelease v17.10
Peter Hofmann [Wed, 18 Oct 2017 14:52:55 +0000 (16:52 +0200)]
Release v17.10

6 years agoRelicense as MIT
Peter Hofmann [Sat, 7 Oct 2017 10:14:34 +0000 (12:14 +0200)]
Relicense as MIT

Closes #53.

6 years agoRelease v17.07
Peter Hofmann [Sun, 2 Jul 2017 08:44:40 +0000 (10:44 +0200)]
Release v17.07

6 years agoAdd missing call to g_uri_escape_string()
Peter Hofmann [Fri, 26 May 2017 16:05:48 +0000 (18:05 +0200)]
Add missing call to g_uri_escape_string()

Closes #47.

6 years agoRelease v17.05
Peter Hofmann [Sun, 21 May 2017 14:48:51 +0000 (16:48 +0200)]
Release v17.05

7 years agoAdd PATCHES
Peter Hofmann [Sat, 29 Apr 2017 09:12:23 +0000 (11:12 +0200)]
Add PATCHES

7 years agoCode style nitpicking
Peter Hofmann [Thu, 27 Apr 2017 16:19:44 +0000 (18:19 +0200)]
Code style nitpicking

7 years agoMerge pull request #39 from onodera-punpun/load
vain [Thu, 27 Apr 2017 16:18:49 +0000 (18:18 +0200)]
Merge pull request #39 from onodera-punpun/load

Hide progress bar once the webpage has finished loading

7 years agoHide progress bar once the webpage has finished loading
Camille Scholtz [Wed, 26 Apr 2017 20:27:56 +0000 (22:27 +0200)]
Hide progress bar once the webpage has finished loading

7 years agoCHANGES: Mention WebGL
Peter Hofmann [Fri, 21 Apr 2017 14:23:02 +0000 (16:23 +0200)]
CHANGES: Mention WebGL

CC #36.

7 years agoAdd option to enable WebGL
Peter Hofmann [Fri, 21 Apr 2017 14:15:14 +0000 (16:15 +0200)]
Add option to enable WebGL

CC #36.

7 years agoREADME: Remove note about Flash and Java
Peter Hofmann [Sat, 8 Apr 2017 10:23:52 +0000 (12:23 +0200)]
README: Remove note about Flash and Java

This was relevant some years ago. Today, Flash is dying quickly and I
don't even care about Java anymore. On top of that, support for these
two things never was a feature of lariza but of WebKit.

7 years agoMinor nitpicking
Peter Hofmann [Sat, 8 Apr 2017 09:40:47 +0000 (11:40 +0200)]
Minor nitpicking

7 years agoRefuse to quit if there are active downloads
Peter Hofmann [Sat, 8 Apr 2017 09:35:12 +0000 (11:35 +0200)]
Refuse to quit if there are active downloads

CC #35.

7 years agoRemove autoreloading of crashed windows
Peter Hofmann [Sat, 25 Mar 2017 09:16:45 +0000 (10:16 +0100)]
Remove autoreloading of crashed windows

CC #32.

7 years agoCall ensure_uri_scheme() before sending message to socket
Peter Hofmann [Sat, 11 Mar 2017 16:32:22 +0000 (17:32 +0100)]
Call ensure_uri_scheme() before sending message to socket

The main process and the process that sends the message might have
different working directories. As a result, the main process might not
be able to detect "foo.html" as a file when called as "lariza foo.html".

7 years agoRelease v17.02
Peter Hofmann [Sun, 26 Feb 2017 08:13:53 +0000 (09:13 +0100)]
Release v17.02

7 years agoOptionally write each URI to $LARIZA_HISTORY_FILE
Peter Hofmann [Sat, 4 Feb 2017 16:48:40 +0000 (17:48 +0100)]
Optionally write each URI to $LARIZA_HISTORY_FILE

7 years agoRemove GtkLevelBar, use bar included in GtkEntry
Peter Hofmann [Sun, 29 Jan 2017 12:06:47 +0000 (13:06 +0100)]
Remove GtkLevelBar, use bar included in GtkEntry

I was still seeing this warning whenever the GtkLevelBar was set to a
value of 0:

    Negative content width -2 (allocation 0, extents 1x1) while
    allocating gadget (node block, owner GtkLevelBar)

This happens even in a minimal test program:

    #include <gtk/gtk.h>

    int
    main(int argc, char **argv)
    {
        GtkWidget *win, *progress;

        gtk_init(&argc, &argv);

        win = gtk_window_new(GTK_WINDOW_TOPLEVEL);

        progress = gtk_level_bar_new();
        gtk_level_bar_set_value(GTK_LEVEL_BAR(progress), 0);

        gtk_container_add(GTK_CONTAINER(win), progress);
        gtk_widget_show_all(win);
        gtk_main();
    }

It would appear that it's illegal to call gtk_level_bar_set_value() with
a value of 0. Or, and that's just as likely, I don't understand how a
GtkLevelBar is supposed to work. You don't even have to call
gtk_level_bar_set_value() at all, since 0 is the default value of such a
bar.

All of this doesn't really matter, though, since GtkEntry has a built-in
progress bar that we can use.

CC #20.

7 years agoSwitch to multi-process model
Peter Hofmann [Sun, 29 Jan 2017 08:51:22 +0000 (09:51 +0100)]
Switch to multi-process model

I think this is a good thing to do in any case. One crashed tab/window
should no longer be able to crash all other tabs as well.

CC #28: This change also appears to be a workaround for scenario number
two (`Alt+e` can crash WebKit/lariza).

7 years agoCHANGES: Add item about "ready-to-show" signal
Peter Hofmann [Sun, 29 Jan 2017 08:50:34 +0000 (09:50 +0100)]
CHANGES: Add item about "ready-to-show" signal

CC #28.