]>
git.armaanb.net Git - chorizo.git/log
Peter Hofmann [Sun, 22 Jun 2014 18:29:16 +0000 (20:29 +0200)]
Fix a very important typo
Peter Hofmann [Sun, 22 Jun 2014 11:53:42 +0000 (13:53 +0200)]
Only talk about URIs
Let's stick to WebKit's and GNOME's terminology.
Peter Hofmann [Sun, 22 Jun 2014 11:44:11 +0000 (13:44 +0200)]
README: Document URLs as arguments
Peter Hofmann [Sun, 22 Jun 2014 11:41:21 +0000 (13:41 +0200)]
No URLs specified? Open about:blank!
Peter Hofmann [Sat, 21 Jun 2014 21:13:04 +0000 (23:13 +0200)]
README: Wording
Peter Hofmann [Sat, 21 Jun 2014 15:53:43 +0000 (17:53 +0200)]
Fix crash when closing a tab that's still loading
Disconnect the handler for "notify::progress" because that signal might
get fired after "c" has been free'd which resulted in a reproducible
crash.
Peter Hofmann [Sat, 21 Jun 2014 07:23:26 +0000 (09:23 +0200)]
Warn when the XID from tabbed is 0
Peter Hofmann [Sat, 21 Jun 2014 07:18:36 +0000 (09:18 +0200)]
Always close tabbed's stdout when finished reading
Peter Hofmann [Sat, 21 Jun 2014 07:18:14 +0000 (09:18 +0200)]
Fix some NULL pointers
GLib catched these errors but it's wrong nevertheless.
Peter Hofmann [Thu, 19 Jun 2014 18:08:31 +0000 (20:08 +0200)]
Keep the changed_* scheme for notify::*
Peter Hofmann [Thu, 19 Jun 2014 18:07:14 +0000 (20:07 +0200)]
Code style
Peter Hofmann [Thu, 19 Jun 2014 09:46:21 +0000 (11:46 +0200)]
Download manager: Show the real file name
Peter Hofmann [Thu, 19 Jun 2014 09:18:16 +0000 (11:18 +0200)]
The Big README Update
Peter Hofmann [Thu, 19 Jun 2014 09:05:18 +0000 (11:05 +0200)]
Use -Wno-unused-parameter instead of void casts
Peter Hofmann [Thu, 19 Jun 2014 09:02:21 +0000 (11:02 +0200)]
Add "toggle view source mode"
Peter Hofmann [Thu, 19 Jun 2014 08:38:32 +0000 (10:38 +0200)]
Move reading _FIFO_SUFFIX to the right place
Peter Hofmann [Thu, 19 Jun 2014 08:15:36 +0000 (10:15 +0200)]
adblock_load(): Fix invalid regexes, support comments
- Invalid regexes are no longer added to the list.
- Lines starting with a "#" are ignored.
Peter Hofmann [Thu, 19 Jun 2014 08:07:06 +0000 (10:07 +0200)]
Shorten some code
Peter Hofmann [Thu, 19 Jun 2014 08:05:49 +0000 (10:05 +0200)]
Small costmetic fix
Peter Hofmann [Thu, 19 Jun 2014 08:05:37 +0000 (10:05 +0200)]
Mouse wheel zoom
Peter Hofmann [Thu, 19 Jun 2014 07:49:20 +0000 (09:49 +0200)]
The FIFO filename can have a suffix
This allows for launching lariza like this:
$ LARIZA_FIFO_SUFFIX=1 lariza file:///home/void/bookmarks.xhtml
And another instance like this:
$ LARIZA_FIFO_SUFFIX=2 lariza http://www.startpage.com
Peter Hofmann [Thu, 19 Jun 2014 07:44:00 +0000 (09:44 +0200)]
Implement keyword based searching
Peter Hofmann [Thu, 19 Jun 2014 05:48:38 +0000 (07:48 +0200)]
Rework and extend hotkeys
hjkl is nice in a terminal, but it poses a problem in GUI programs: If
your program is not ENTIRELY controlled via keyboard, your right hand
has to reach from the mouse to the keyboard to the mouse to the
keyboard... That's nasty.
Now, all hotkeys can be hit using your left hand.
I also think that using Control as a modifier is uncomfortable. Your
pinkie has to do a lot of work and stays in an uncomfortable position.
Using Alt/Mod1 feels better.
Secondly, there's no need for scrolling hotkeys. This only makes sense
if your program has keyboard-only usage. I can scroll using the mouse
(plus, I have screen barriers to support this).
Furthermore, there's a hotkey now that enters search mode and hotkeys to
create or destroy windows/tabs.
I also differentiate between single-handed hotkeys and dual-handed
hotkeys. When you enter the location bar or search mode, you are going
to begin typing -- thus, your right hand MUST move from the mouse to the
keyboard. As a result, it doesn't make sense to make these hotkeys
reachable using only your left hand. Mod1+l to enter the location bar is
totally fine and so is Mod1+k for searching.
Of course, it's more comfortable if you can also close the download
manager using Mod1+q. Reloading is useful as well and I NEVER want to
have "reload WITH using the cache" (major annoyance of other browsers).
To sum it up, your left hand can stay relaxed over q, w, e, d.
Peter Hofmann [Thu, 19 Jun 2014 05:34:46 +0000 (07:34 +0200)]
Close the adblock file handle
Peter Hofmann [Thu, 19 Jun 2014 05:25:31 +0000 (07:25 +0200)]
Download Manager
Hit ^D to open it.
According to sloccount, we have reached 731 lines of code now.
Peter Hofmann [Thu, 19 Jun 2014 04:32:57 +0000 (06:32 +0200)]
GUI tweaks
Peter Hofmann [Thu, 19 Jun 2014 04:31:34 +0000 (06:31 +0200)]
An indicator that shows when a download has started
Peter Hofmann [Wed, 18 Jun 2014 19:38:53 +0000 (21:38 +0200)]
Sort "struct Client"
Peter Hofmann [Wed, 18 Jun 2014 19:37:04 +0000 (21:37 +0200)]
Kick the lousy status bar
- It didn't show the load progress.
- It destroyed the browser's usability. When there's a horizontal scroll
bar, it MUST be placed at the bottom of the screen. There MUST NOT be
any widget below it.
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