]>
git.armaanb.net Git - chorizo.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Peter Hofmann [Tue, 17 Jun 2014 17:23:27 +0000 (19:23 +0200)]
Built-in download feature
Downloading via an external tool poses a problem: You have to pass the
current "web context" from the browser to your tool. This context
comprises cookies, the referrer, the user agent and information about
HTTP basic auth. With some effort, you can pass most of this to your
tool -- except for HTTP basic auth.
tl;dr: Downloading via wget is pretty complicated.
With this commit, WebKit handles the downloads. What's missing, are some
GUI elements to monitor and cancel downloads.
Peter Hofmann [Tue, 17 Jun 2014 15:14:34 +0000 (17:14 +0200)]
Fix and enhance creation/destruction of tabs
Websites can now open or close tabs/windows if requested by the user.
- We must not destroy the window in its destroy handler.
- WebKit's "new-window-policy-decision-requested" is totally irrelevant.
- Handle WebKit's "create-web-view" by allocating a new window and an
"empty" WebView.
- Handle WebKit's "close-web-view" by destroying the window, which will
call client_destroy(), which will do exactly the same as closing the
window manually.
Peter Hofmann [Mon, 16 Jun 2014 04:38:31 +0000 (06:38 +0200)]
Nitpicking: ht_uri is a gchar *
Peter Hofmann [Mon, 16 Jun 2014 04:35:31 +0000 (06:35 +0200)]
Fix missing URI in ^G
Peter Hofmann [Mon, 16 Jun 2014 04:34:08 +0000 (06:34 +0200)]
Also log the URI that the user actually requested
Peter Hofmann [Sun, 15 Jun 2014 18:57:42 +0000 (20:57 +0200)]
README: Fix spelling ;-)
Peter Hofmann [Sun, 15 Jun 2014 18:44:18 +0000 (20:44 +0200)]
Code style: Fix whitespace and a wrap
Peter Hofmann [Sun, 15 Jun 2014 18:35:19 +0000 (20:35 +0200)]
README: Fix typo
Peter Hofmann [Sun, 15 Jun 2014 16:09:43 +0000 (18:09 +0200)]
Shorten grab_environment_configuration()
Peter Hofmann [Sun, 15 Jun 2014 16:09:21 +0000 (18:09 +0200)]
README: Mention wget
Peter Hofmann [Sun, 15 Jun 2014 16:04:22 +0000 (18:04 +0200)]
README: A word about local storage
Peter Hofmann [Sun, 15 Jun 2014 15:45:30 +0000 (17:45 +0200)]
Full content zoom is buggy... -_-
Peter Hofmann [Sun, 15 Jun 2014 14:37:06 +0000 (16:37 +0200)]
Revert "Catch button-release-events, feels more natural"
This reverts commit
26713eb349b4c8b7d2fb22a5973e898ea43e1b7f .
It's a break between lariza and tabbed -- the latter responds to
button-press-events.
Peter Hofmann [Sun, 15 Jun 2014 14:22:54 +0000 (16:22 +0200)]
Don't fiddle with __NAME__ at runtime
Peter Hofmann [Sun, 15 Jun 2014 14:28:13 +0000 (16:28 +0200)]
README tweaks
Peter Hofmann [Sun, 15 Jun 2014 13:36:21 +0000 (15:36 +0200)]
User configuration using environment variables
I think of these options (language, download dir, zoom) as user
settings. The user does not change them all the time. He sets them once
and for all in his shell rc.
"-e" and friends, however, are considered runtime settings. "THIS TIME,
I want my browser to debug all requests!"
Peter Hofmann [Sun, 15 Jun 2014 10:50:05 +0000 (12:50 +0200)]
Launch new tabbed windows relative to the current position
Peter Hofmann [Sun, 15 Jun 2014 10:20:13 +0000 (12:20 +0200)]
Catch button-release-events, feels more natural
Peter Hofmann [Sun, 15 Jun 2014 10:18:25 +0000 (12:18 +0200)]
Better ensure_http_prefix() -> ensure_url_scheme()
Peter Hofmann [Sun, 15 Jun 2014 10:17:09 +0000 (12:17 +0200)]
ensure_http_prefix knows about file://
Peter Hofmann [Sun, 15 Jun 2014 10:16:43 +0000 (12:16 +0200)]
Use ensure_http_prefix() in client_new()
Peter Hofmann [Sun, 15 Jun 2014 10:14:08 +0000 (12:14 +0200)]
Auto-add "http://" when typed in location bar
Peter Hofmann [Sun, 15 Jun 2014 09:44:48 +0000 (11:44 +0200)]
Re-show URI in location bar on Escape
Peter Hofmann [Sun, 15 Jun 2014 09:42:17 +0000 (11:42 +0200)]
Open new windows on middle click
Peter Hofmann [Sun, 15 Jun 2014 09:22:13 +0000 (11:22 +0200)]
Simplify key_web_view()
Peter Hofmann [Sun, 15 Jun 2014 09:19:04 +0000 (11:19 +0200)]
Support back/forward keys on mice
Peter Hofmann [Sun, 15 Jun 2014 09:08:58 +0000 (11:08 +0200)]
Refactor: Declare variables at the beginning of functions
Peter Hofmann [Sun, 15 Jun 2014 09:07:57 +0000 (11:07 +0200)]
Set WM_CLASS
Peter Hofmann [Sun, 15 Jun 2014 08:51:48 +0000 (10:51 +0200)]
s/zea/lariza -- this is final
Peter Hofmann [Sun, 15 Jun 2014 07:49:47 +0000 (09:49 +0200)]
Refactoring: Group and unify identifiers
Peter Hofmann [Sun, 15 Jun 2014 07:22:56 +0000 (09:22 +0200)]
Refactoring: Make the application name a simple parameter in Makefile
Peter Hofmann [Sun, 15 Jun 2014 07:19:28 +0000 (09:19 +0200)]
Refactoring: Remove "zea" from function names
Peter Hofmann [Sun, 15 Jun 2014 04:53:13 +0000 (06:53 +0200)]
Try to explain the builtin tabbed launcher
Peter Hofmann [Sun, 15 Jun 2014 04:50:14 +0000 (06:50 +0200)]
Fix minor memleak
Peter Hofmann [Sun, 15 Jun 2014 04:42:30 +0000 (06:42 +0200)]
Do not hardcode the path to the FIFO
Peter Hofmann [Sun, 15 Jun 2014 04:24:27 +0000 (06:24 +0200)]
Set Accept-Language header
Deep down inside... Had to look into dwb's code to find out how to do
this. Kudos, dear portix!
Peter Hofmann [Sun, 15 Jun 2014 04:05:34 +0000 (06:05 +0200)]
Usage: There can be multiple options and multiple URIs
Peter Hofmann [Sun, 15 Jun 2014 04:02:46 +0000 (06:02 +0200)]
Disable tabbed on "-e"
Peter Hofmann [Sun, 15 Jun 2014 04:01:58 +0000 (06:01 +0200)]
Deal with embedding failures
Now, that's a real issue. :-)
Peter Hofmann [Sun, 15 Jun 2014 03:57:53 +0000 (05:57 +0200)]
Revert "Deal with race conditions while embedding"
This reverts commit
c32e64b89186c09c5d2c9f82a18e0a541dd414b4 .
Nonsense.
We read the XID from tabbed, which means tabbed must know its XID, which
means there must be a window to plug-in to.
Peter Hofmann [Sat, 14 Jun 2014 19:57:04 +0000 (21:57 +0200)]
Deal with race conditions while embedding
I have not encountered any race conditions. In theory, they could
happen, though.
Peter Hofmann [Sat, 14 Jun 2014 19:43:48 +0000 (21:43 +0200)]
Abort on invalid arguments
Peter Hofmann [Sat, 14 Jun 2014 19:38:46 +0000 (21:38 +0200)]
Negating options are upper case
Peter Hofmann [Sat, 14 Jun 2014 19:38:13 +0000 (21:38 +0200)]
Launch tabbed automatically
Peter Hofmann [Sat, 14 Jun 2014 18:07:28 +0000 (20:07 +0200)]
Simplify zea_load_adblock()
Peter Hofmann [Sat, 14 Jun 2014 17:58:20 +0000 (19:58 +0200)]
Cooperative instances
Peter Hofmann [Sat, 14 Jun 2014 17:12:20 +0000 (19:12 +0200)]
Use g_build_filename()
Peter Hofmann [Sat, 14 Jun 2014 15:52:14 +0000 (17:52 +0200)]
UI tweaks
Peter Hofmann [Sat, 14 Jun 2014 15:45:46 +0000 (17:45 +0200)]
Fix lulz
Peter Hofmann [Sat, 14 Jun 2014 15:45:34 +0000 (17:45 +0200)]
Complete adblock
Peter Hofmann [Sat, 14 Jun 2014 15:02:38 +0000 (17:02 +0200)]
Prepare adblock
Peter Hofmann [Sat, 14 Jun 2014 14:45:56 +0000 (16:45 +0200)]
Launch all URIs specified on the command line
Peter Hofmann [Sat, 14 Jun 2014 14:44:05 +0000 (16:44 +0200)]
^G jumps to page specified in command line
Peter Hofmann [Sat, 14 Jun 2014 14:42:59 +0000 (16:42 +0200)]
Let's be more consistent, shall we...
Peter Hofmann [Sat, 14 Jun 2014 14:41:34 +0000 (16:41 +0200)]
Implement searching the current page
Peter Hofmann [Sat, 14 Jun 2014 14:30:03 +0000 (16:30 +0200)]
README: Update TODOs
Peter Hofmann [Sat, 14 Jun 2014 14:28:02 +0000 (16:28 +0200)]
Escape cancels loading
Peter Hofmann [Sat, 14 Jun 2014 14:21:22 +0000 (16:21 +0200)]
Monitor load-status
Peter Hofmann [Sat, 14 Jun 2014 14:12:28 +0000 (16:12 +0200)]
Sort functions
Peter Hofmann [Sat, 14 Jun 2014 14:10:14 +0000 (16:10 +0200)]
Add missing calls to gtk_widget_destroy()
Peter Hofmann [Sat, 14 Jun 2014 14:09:34 +0000 (16:09 +0200)]
Show link in a status bar
Peter Hofmann [Sat, 14 Jun 2014 14:02:10 +0000 (16:02 +0200)]
g-data types
Peter Hofmann [Sat, 14 Jun 2014 14:01:53 +0000 (16:01 +0200)]
Hotkey-scrolling
Peter Hofmann [Sat, 14 Jun 2014 13:27:17 +0000 (15:27 +0200)]
Have the location bar follow the current URI
Peter Hofmann [Sat, 14 Jun 2014 13:25:46 +0000 (15:25 +0200)]
Refactor: Never pass single widgets as data in CBs
Peter Hofmann [Sat, 14 Jun 2014 13:23:22 +0000 (15:23 +0200)]
Add an input box to change the URL
Peter Hofmann [Sat, 14 Jun 2014 12:43:31 +0000 (14:43 +0200)]
Rename sn to zea
Meh, I discoverend another, totally unrelated project called "sn".
Peter Hofmann [Sat, 14 Jun 2014 11:20:19 +0000 (13:20 +0200)]
Embed the xterm for wget as well
Peter Hofmann [Sat, 14 Jun 2014 10:59:11 +0000 (12:59 +0200)]
Go back to Gtk2 for flash support
Peter Hofmann [Sat, 14 Jun 2014 10:23:57 +0000 (12:23 +0200)]
Support XEMBED
Peter Hofmann [Sat, 14 Jun 2014 10:17:24 +0000 (12:17 +0200)]
Static variables are static
Peter Hofmann [Sat, 14 Jun 2014 10:12:57 +0000 (12:12 +0200)]
Download files using wget
Peter Hofmann [Sat, 14 Jun 2014 09:54:09 +0000 (11:54 +0200)]
Code style
Peter Hofmann [Sat, 14 Jun 2014 09:47:26 +0000 (11:47 +0200)]
README: Remove paragraph about WebKit2
I'm not so sure about that anymore. It's still slow, yes... But we do
have multiple webviews.
Peter Hofmann [Sat, 14 Jun 2014 09:46:23 +0000 (11:46 +0200)]
Create new windows on WebKit's request
Peter Hofmann [Sat, 14 Jun 2014 09:31:02 +0000 (11:31 +0200)]
Refactor to allow for easy creation of new windows
Peter Hofmann [Sat, 14 Jun 2014 08:40:03 +0000 (10:40 +0200)]
Initial draft