summaryrefslogtreecommitdiff
path: root/browser.c
AgeCommit message (Collapse)Author
2021-01-03"adblock.black" has been renamed to "adblock"Peter Hofmann
2020-08-22Focus c->web_view on new tabsPeter Hofmann
2020-08-16Fix opening links in new tabs (partially)Peter Hofmann
Also, no NULL guard needed for g_free().
2020-05-02Allow webkit:// in URLsPeter Hofmann
2020-05-02Enable WebKit sandboxing (and tidy up a bit)Peter Hofmann
2020-04-30Update main window title againPeter Hofmann
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.
2020-04-29Remove external URI handlerPeter Hofmann
2020-04-29Scroll tabs using mouse wheelPeter Hofmann
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.
2020-04-28Remove keyword searchesPeter Hofmann
Unmaintained code, better alternatives exist.
2020-04-28End the static madnessPeter Hofmann
This is just one file, there's no point in doing this.
2020-04-27Stop changing window title, use tooltip insteadPeter Hofmann
2020-04-27remote_msg should focus new tabsPeter Hofmann
2020-04-27Only focus new tabs on startup and on hotkeyPeter Hofmann
2020-04-27Reset favicon if not presentPeter Hofmann
2020-04-27Add TODO itemPeter Hofmann
2020-04-27favicon: Initial size should be close to target sizePeter Hofmann
GTK_ICON_SIZE_SMALL_TOOLBAR is 16px, according to the docs.
2020-04-27Always scale faviconsPeter Hofmann
If the size already matches exactly, Gdk will do nothing.
2020-04-27More space around faviconPeter Hofmann
2020-04-27Scale faviconsPeter Hofmann
2020-04-27Display favicons (not resized)Peter Hofmann
2020-04-25Make tab width customizablePeter Hofmann
2020-04-25Make tab position customizablePeter Hofmann
2020-04-24Add hotkeys for switching tabsPeter Hofmann
2020-04-24Use GtkNotebook (basic implementation)Peter Hofmann
2020-04-24Remove support for tabbedPeter Hofmann
2020-03-14Move user scriptsPeter Hofmann
This is a more meaningful path.
2020-03-11WebGL is enabled by defaultPeter Hofmann
2020-03-04Enable WebKit's developer extrasPeter Hofmann
2020-02-22Introduce user-supplied JavaScript filesPeter Hofmann
2019-03-31No longer use WebKit's deprecated JavaScript APIPeter Hofmann
2018-07-29Fix typoPeter Hofmann
2018-07-10Get rid of those ugly global variablesPeter Hofmann
2018-07-10Simplify: Merge feed_icon() into grab_feeds_finished()Peter Hofmann
2018-07-10Workaround for graphical padding artifactPeter Hofmann
2018-07-10feed_html_header: Default to UTF-8Peter Hofmann
2018-07-10Indicate RSS/Atom feeds on web sitesPeter Hofmann
2018-02-21Connect to button release events instead of button pressPeter Hofmann
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.
2018-01-13Remove "whacky" commentPeter Hofmann
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.
2018-01-13Remove irrelevant parameter namePeter Hofmann
2018-01-13Use full signature for external_handler_runPeter Hofmann
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.
2018-01-11No longer use GtkAction when constructing the context menuPeter Hofmann
Thanks to @jun7 for helping me out! Closes #54.
2017-10-24Support WebKit "enable-write-console-messages-to-stdout" via env-variable.Frank Vennemeyer
2017-05-26Add missing call to g_uri_escape_string()Peter Hofmann
Closes #47.
2017-04-27Code style nitpickingPeter Hofmann
2017-04-26Hide progress bar once the webpage has finished loadingCamille Scholtz
2017-04-21Add option to enable WebGLPeter Hofmann
CC #36.
2017-04-08Minor nitpickingPeter Hofmann
2017-04-08Refuse to quit if there are active downloadsPeter Hofmann
CC #35.
2017-03-25Remove autoreloading of crashed windowsPeter Hofmann
CC #32.
2017-03-11Call ensure_uri_scheme() before sending message to socketPeter Hofmann
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".