summaryrefslogtreecommitdiff
path: root/browser.c
AgeCommit message (Collapse)Author
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".
2017-02-04Optionally write each URI to $LARIZA_HISTORY_FILEPeter Hofmann
2017-01-29Remove GtkLevelBar, use bar included in GtkEntryPeter Hofmann
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.
2017-01-29Switch to multi-process modelPeter Hofmann
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).
2017-01-29Deduplicate shared code in key handlersPeter Hofmann
2017-01-29Wait for "ready-to-show" signal after a "create" signalPeter Hofmann
CC #28.
2017-01-28s/malloc/callocPeter Hofmann
2017-01-27Automatically add "file://" prefix for local filesPeter Hofmann
Closes #27.
2017-01-27Change search prefix to ":/"Peter Hofmann
I want to change ensure_uri_scheme() so it automatically adds "file://" if we're dealing with a valid local file path. However, this clashes with "/" as a search prefix. CC #27.
2017-01-27Add launching of an external script for selected URLsPeter Hofmann
2016-12-14Clip return value of webkit_download_get_estimated_progress() to [0, 1]Peter Hofmann
Closes #23.
2016-11-16Remove call to gtk_window_set_wmclass()Peter Hofmann
2016-07-30Look for web extensions in ~/.config/lariza/web_extensionsPeter Hofmann
~/.local/share isn't really an appropriate place because it's meant to contain "data", possibly written by the application. Usually, lariza's web extensions (.so files) are not placed in your home directory anyway. Instead, they are installed somewhere in /usr. The home directory only contains symlinks. So, in a way, those symlinks can be considered "configuration items". Hence, ~/.config is where they should live.
2016-06-14Remove size request for the progress barPeter Hofmann
I'm not comfortable with having pixel values in here. The 100px were mostly personal taste. HiDPI screens might not be happy with 100px anyway.
2016-06-14Get rid of Gtk warningPeter Hofmann
Fixes this: (lariza:675): Gtk-WARNING **: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node block, owner GtkLevelBar) Funny enough, even without calling gtk_level_bar_set_value(), I get this warning. Almost feels like a Gtk bug? Closes #20.
2016-03-19Add new control binding for history browsing - Fix #16Étienne Deparis
Edited to retain Mod1+* and just add F2/F3.
2016-01-04Don't set empty string as window titlePeter Hofmann
2015-12-06"Keypad enter" now registers as "commit"Peter Hofmann
Closes #14.