]> git.armaanb.net Git - chorizo.git/log
chorizo.git
9 years agoDownload Manager
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.

9 years agoGUI tweaks
Peter Hofmann [Thu, 19 Jun 2014 04:32:57 +0000 (06:32 +0200)]
GUI tweaks

9 years agoAn indicator that shows when a download has started
Peter Hofmann [Thu, 19 Jun 2014 04:31:34 +0000 (06:31 +0200)]
An indicator that shows when a download has started

9 years agoSort "struct Client"
Peter Hofmann [Wed, 18 Jun 2014 19:38:53 +0000 (21:38 +0200)]
Sort "struct Client"

9 years agoKick the lousy status bar
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.

9 years agoBuilt-in download feature
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.

9 years agoFix and enhance creation/destruction of tabs
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.

9 years agoNitpicking: ht_uri is a gchar *
Peter Hofmann [Mon, 16 Jun 2014 04:38:31 +0000 (06:38 +0200)]
Nitpicking: ht_uri is a gchar *

9 years agoFix missing URI in ^G
Peter Hofmann [Mon, 16 Jun 2014 04:35:31 +0000 (06:35 +0200)]
Fix missing URI in ^G

9 years agoAlso log the URI that the user actually requested
Peter Hofmann [Mon, 16 Jun 2014 04:34:08 +0000 (06:34 +0200)]
Also log the URI that the user actually requested

9 years agoREADME: Fix spelling ;-)
Peter Hofmann [Sun, 15 Jun 2014 18:57:42 +0000 (20:57 +0200)]
README: Fix spelling ;-)

9 years agoCode style: Fix whitespace and a wrap
Peter Hofmann [Sun, 15 Jun 2014 18:44:18 +0000 (20:44 +0200)]
Code style: Fix whitespace and a wrap

9 years agoREADME: Fix typo
Peter Hofmann [Sun, 15 Jun 2014 18:35:19 +0000 (20:35 +0200)]
README: Fix typo

9 years agoShorten grab_environment_configuration()
Peter Hofmann [Sun, 15 Jun 2014 16:09:43 +0000 (18:09 +0200)]
Shorten grab_environment_configuration()

9 years agoREADME: Mention wget
Peter Hofmann [Sun, 15 Jun 2014 16:09:21 +0000 (18:09 +0200)]
README: Mention wget

9 years agoREADME: A word about local storage
Peter Hofmann [Sun, 15 Jun 2014 16:04:22 +0000 (18:04 +0200)]
README: A word about local storage

9 years agoFull content zoom is buggy... -_-
Peter Hofmann [Sun, 15 Jun 2014 15:45:30 +0000 (17:45 +0200)]
Full content zoom is buggy... -_-

9 years agoRevert "Catch button-release-events, feels more natural"
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.

9 years agoDon't fiddle with __NAME__ at runtime
Peter Hofmann [Sun, 15 Jun 2014 14:22:54 +0000 (16:22 +0200)]
Don't fiddle with __NAME__ at runtime

9 years agoREADME tweaks
Peter Hofmann [Sun, 15 Jun 2014 14:28:13 +0000 (16:28 +0200)]
README tweaks

9 years agoUser configuration using environment variables
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!"

9 years agoLaunch new tabbed windows relative to the current position
Peter Hofmann [Sun, 15 Jun 2014 10:50:05 +0000 (12:50 +0200)]
Launch new tabbed windows relative to the current position

9 years agoCatch button-release-events, feels more natural
Peter Hofmann [Sun, 15 Jun 2014 10:20:13 +0000 (12:20 +0200)]
Catch button-release-events, feels more natural

9 years agoBetter ensure_http_prefix() -> ensure_url_scheme()
Peter Hofmann [Sun, 15 Jun 2014 10:18:25 +0000 (12:18 +0200)]
Better ensure_http_prefix() -> ensure_url_scheme()

9 years agoensure_http_prefix knows about file://
Peter Hofmann [Sun, 15 Jun 2014 10:17:09 +0000 (12:17 +0200)]
ensure_http_prefix knows about file://

9 years agoUse ensure_http_prefix() in client_new()
Peter Hofmann [Sun, 15 Jun 2014 10:16:43 +0000 (12:16 +0200)]
Use ensure_http_prefix() in client_new()

9 years agoAuto-add "http://" when typed in location bar
Peter Hofmann [Sun, 15 Jun 2014 10:14:08 +0000 (12:14 +0200)]
Auto-add "http://" when typed in location bar

9 years agoRe-show URI in location bar on Escape
Peter Hofmann [Sun, 15 Jun 2014 09:44:48 +0000 (11:44 +0200)]
Re-show URI in location bar on Escape

9 years agoOpen new windows on middle click
Peter Hofmann [Sun, 15 Jun 2014 09:42:17 +0000 (11:42 +0200)]
Open new windows on middle click

9 years agoSimplify key_web_view()
Peter Hofmann [Sun, 15 Jun 2014 09:22:13 +0000 (11:22 +0200)]
Simplify key_web_view()

9 years agoSupport back/forward keys on mice
Peter Hofmann [Sun, 15 Jun 2014 09:19:04 +0000 (11:19 +0200)]
Support back/forward keys on mice

9 years agoRefactor: Declare variables at the beginning of functions
Peter Hofmann [Sun, 15 Jun 2014 09:08:58 +0000 (11:08 +0200)]
Refactor: Declare variables at the beginning of functions

9 years agoSet WM_CLASS
Peter Hofmann [Sun, 15 Jun 2014 09:07:57 +0000 (11:07 +0200)]
Set WM_CLASS

9 years agos/zea/lariza -- this is final
Peter Hofmann [Sun, 15 Jun 2014 08:51:48 +0000 (10:51 +0200)]
s/zea/lariza -- this is final

9 years agoRefactoring: Group and unify identifiers
Peter Hofmann [Sun, 15 Jun 2014 07:49:47 +0000 (09:49 +0200)]
Refactoring: Group and unify identifiers

9 years agoRefactoring: Make the application name a simple parameter in Makefile
Peter Hofmann [Sun, 15 Jun 2014 07:22:56 +0000 (09:22 +0200)]
Refactoring: Make the application name a simple parameter in Makefile

9 years agoRefactoring: Remove "zea" from function names
Peter Hofmann [Sun, 15 Jun 2014 07:19:28 +0000 (09:19 +0200)]
Refactoring: Remove "zea" from function names

9 years agoTry to explain the builtin tabbed launcher
Peter Hofmann [Sun, 15 Jun 2014 04:53:13 +0000 (06:53 +0200)]
Try to explain the builtin tabbed launcher

9 years agoFix minor memleak
Peter Hofmann [Sun, 15 Jun 2014 04:50:14 +0000 (06:50 +0200)]
Fix minor memleak

9 years agoDo not hardcode the path to the FIFO
Peter Hofmann [Sun, 15 Jun 2014 04:42:30 +0000 (06:42 +0200)]
Do not hardcode the path to the FIFO

9 years agoSet Accept-Language header
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!

9 years agoUsage: There can be multiple options and multiple URIs
Peter Hofmann [Sun, 15 Jun 2014 04:05:34 +0000 (06:05 +0200)]
Usage: There can be multiple options and multiple URIs

9 years agoDisable tabbed on "-e"
Peter Hofmann [Sun, 15 Jun 2014 04:02:46 +0000 (06:02 +0200)]
Disable tabbed on "-e"

9 years agoDeal with embedding failures
Peter Hofmann [Sun, 15 Jun 2014 04:01:58 +0000 (06:01 +0200)]
Deal with embedding failures

Now, that's a real issue. :-)

9 years agoRevert "Deal with race conditions while embedding"
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.

9 years agoDeal with race conditions while embedding
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.

9 years agoAbort on invalid arguments
Peter Hofmann [Sat, 14 Jun 2014 19:43:48 +0000 (21:43 +0200)]
Abort on invalid arguments

9 years agoNegating options are upper case
Peter Hofmann [Sat, 14 Jun 2014 19:38:46 +0000 (21:38 +0200)]
Negating options are upper case

9 years agoLaunch tabbed automatically
Peter Hofmann [Sat, 14 Jun 2014 19:38:13 +0000 (21:38 +0200)]
Launch tabbed automatically

9 years agoSimplify zea_load_adblock()
Peter Hofmann [Sat, 14 Jun 2014 18:07:28 +0000 (20:07 +0200)]
Simplify zea_load_adblock()

9 years agoCooperative instances
Peter Hofmann [Sat, 14 Jun 2014 17:58:20 +0000 (19:58 +0200)]
Cooperative instances

9 years agoUse g_build_filename()
Peter Hofmann [Sat, 14 Jun 2014 17:12:20 +0000 (19:12 +0200)]
Use g_build_filename()

9 years agoUI tweaks
Peter Hofmann [Sat, 14 Jun 2014 15:52:14 +0000 (17:52 +0200)]
UI tweaks

9 years agoFix lulz
Peter Hofmann [Sat, 14 Jun 2014 15:45:46 +0000 (17:45 +0200)]
Fix lulz

9 years agoComplete adblock
Peter Hofmann [Sat, 14 Jun 2014 15:45:34 +0000 (17:45 +0200)]
Complete adblock

9 years agoPrepare adblock
Peter Hofmann [Sat, 14 Jun 2014 15:02:38 +0000 (17:02 +0200)]
Prepare adblock

9 years agoLaunch all URIs specified on the command line
Peter Hofmann [Sat, 14 Jun 2014 14:45:56 +0000 (16:45 +0200)]
Launch all URIs specified on the command line

9 years ago^G jumps to page specified in command line
Peter Hofmann [Sat, 14 Jun 2014 14:44:05 +0000 (16:44 +0200)]
^G jumps to page specified in command line

9 years agoLet's be more consistent, shall we...
Peter Hofmann [Sat, 14 Jun 2014 14:42:59 +0000 (16:42 +0200)]
Let's be more consistent, shall we...

9 years agoImplement searching the current page
Peter Hofmann [Sat, 14 Jun 2014 14:41:34 +0000 (16:41 +0200)]
Implement searching the current page

9 years agoREADME: Update TODOs
Peter Hofmann [Sat, 14 Jun 2014 14:30:03 +0000 (16:30 +0200)]
README: Update TODOs

9 years agoEscape cancels loading
Peter Hofmann [Sat, 14 Jun 2014 14:28:02 +0000 (16:28 +0200)]
Escape cancels loading

9 years agoMonitor load-status
Peter Hofmann [Sat, 14 Jun 2014 14:21:22 +0000 (16:21 +0200)]
Monitor load-status

9 years agoSort functions
Peter Hofmann [Sat, 14 Jun 2014 14:12:28 +0000 (16:12 +0200)]
Sort functions

9 years agoAdd missing calls to gtk_widget_destroy()
Peter Hofmann [Sat, 14 Jun 2014 14:10:14 +0000 (16:10 +0200)]
Add missing calls to gtk_widget_destroy()

9 years agoShow link in a status bar
Peter Hofmann [Sat, 14 Jun 2014 14:09:34 +0000 (16:09 +0200)]
Show link in a status bar

9 years agog-data types
Peter Hofmann [Sat, 14 Jun 2014 14:02:10 +0000 (16:02 +0200)]
g-data types

9 years agoHotkey-scrolling
Peter Hofmann [Sat, 14 Jun 2014 14:01:53 +0000 (16:01 +0200)]
Hotkey-scrolling

9 years agoHave the location bar follow the current URI
Peter Hofmann [Sat, 14 Jun 2014 13:27:17 +0000 (15:27 +0200)]
Have the location bar follow the current URI

9 years agoRefactor: Never pass single widgets as data in CBs
Peter Hofmann [Sat, 14 Jun 2014 13:25:46 +0000 (15:25 +0200)]
Refactor: Never pass single widgets as data in CBs

9 years agoAdd an input box to change the URL
Peter Hofmann [Sat, 14 Jun 2014 13:23:22 +0000 (15:23 +0200)]
Add an input box to change the URL

9 years agoRename sn to zea
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".

9 years agoEmbed the xterm for wget as well
Peter Hofmann [Sat, 14 Jun 2014 11:20:19 +0000 (13:20 +0200)]
Embed the xterm for wget as well

9 years agoGo back to Gtk2 for flash support
Peter Hofmann [Sat, 14 Jun 2014 10:59:11 +0000 (12:59 +0200)]
Go back to Gtk2 for flash support

9 years agoSupport XEMBED
Peter Hofmann [Sat, 14 Jun 2014 10:23:57 +0000 (12:23 +0200)]
Support XEMBED

9 years agoStatic variables are static
Peter Hofmann [Sat, 14 Jun 2014 10:17:24 +0000 (12:17 +0200)]
Static variables are static

9 years agoDownload files using wget
Peter Hofmann [Sat, 14 Jun 2014 10:12:57 +0000 (12:12 +0200)]
Download files using wget

9 years agoCode style
Peter Hofmann [Sat, 14 Jun 2014 09:54:09 +0000 (11:54 +0200)]
Code style

9 years agoREADME: Remove paragraph about WebKit2
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.

9 years agoCreate new windows on WebKit's request
Peter Hofmann [Sat, 14 Jun 2014 09:46:23 +0000 (11:46 +0200)]
Create new windows on WebKit's request

9 years agoRefactor to allow for easy creation of new windows
Peter Hofmann [Sat, 14 Jun 2014 09:31:02 +0000 (11:31 +0200)]
Refactor to allow for easy creation of new windows

9 years agoInitial draft
Peter Hofmann [Sat, 14 Jun 2014 08:40:03 +0000 (10:40 +0200)]
Initial draft