uranther [Sun, 23 Aug 2009 19:58:38 +0000 (20:58 +0100)]
Only exit insert mode if !always_insert_mode.
Fixes:
FS#78 - always_insert_mode not working
Tom Adams [Sun, 23 Aug 2009 19:52:47 +0000 (20:52 +0100)]
PREFIX is /usr/local by default, not /usr.
Fixes:
FS#80 - PREFIX should not be /usr
FS#84 - Installation path should default to /usr/local, not /usr
Tom Adams [Sun, 23 Aug 2009 19:16:25 +0000 (20:16 +0100)]
Remove redundant history_handler.
Mason Larobina [Mon, 10 Aug 2009 09:00:15 +0000 (17:00 +0800)]
General code and comment cleanups in cookie_daemon.py
Mason Larobina [Sun, 9 Aug 2009 07:42:06 +0000 (15:42 +0800)]
Fix docstring
Mason Larobina [Sun, 9 Aug 2009 07:14:21 +0000 (15:14 +0800)]
Fix wording in docstring.
Mason Larobina [Sun, 9 Aug 2009 07:08:09 +0000 (15:08 +0800)]
cookie_daemon.py now has a 9.78/10 pylint rating.
Mason Larobina [Sat, 8 Aug 2009 18:05:36 +0000 (02:05 +0800)]
Merge branch 'cookie_daemon' into experimental
Mason Larobina [Sat, 8 Aug 2009 18:05:10 +0000 (02:05 +0800)]
Minor changes to cookie_daemon.py
Mason Larobina [Sat, 8 Aug 2009 17:18:24 +0000 (01:18 +0800)]
Cleaned up trailing whitespace.
Tom Adams [Sat, 8 Aug 2009 16:57:48 +0000 (17:57 +0100)]
Add option to cookie_daemon.py to not write cookies to disk.
Mason Larobina [Sat, 8 Aug 2009 16:58:40 +0000 (00:58 +0800)]
Added link to cookie_daemon.py wiki page.
Mason Larobina [Sat, 8 Aug 2009 16:50:45 +0000 (00:50 +0800)]
Removed redundant --daemon-mode command & fixed broken socket errors
Mason Larobina [Sat, 8 Aug 2009 15:14:42 +0000 (23:14 +0800)]
Merge branch 'experimental' into cookie_daemon
Mason Larobina [Sat, 8 Aug 2009 15:13:52 +0000 (23:13 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Sat, 8 Aug 2009 12:54:31 +0000 (20:54 +0800)]
Added command line options to cookie_daemon.py
Robert Manea [Fri, 7 Aug 2009 21:18:21 +0000 (23:18 +0200)]
removed unused prototype
Robert Manea [Fri, 7 Aug 2009 21:12:35 +0000 (23:12 +0200)]
remove base_url
Robert Manea [Fri, 7 Aug 2009 21:11:54 +0000 (23:11 +0200)]
removed html_mode in favour of "data URI scheme"
Mason Larobina [Sat, 1 Aug 2009 16:11:38 +0000 (00:11 +0800)]
Removed trailing whitespace from cookie_daemon.py
Mason Larobina [Sat, 1 Aug 2009 16:00:07 +0000 (00:00 +0800)]
Merge branch 'experimental' into cookie_daemon
Mason Larobina [Sat, 1 Aug 2009 15:59:41 +0000 (23:59 +0800)]
Fix code comment.
Mason Larobina [Thu, 30 Jul 2009 22:36:29 +0000 (06:36 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Thu, 30 Jul 2009 16:51:59 +0000 (00:51 +0800)]
Removed trailing whitespace from uzbl_tabbed.py
Mason Larobina [Thu, 30 Jul 2009 16:44:09 +0000 (00:44 +0800)]
Improvements made to the uzbl_tabbed.py fifo init and fifo cleanup code.
Robert Manea [Thu, 30 Jul 2009 13:24:00 +0000 (15:24 +0200)]
fix conflicts
Mason Larobina [Thu, 30 Jul 2009 13:15:04 +0000 (21:15 +0800)]
Merge branch 'experimental' into cookie_daemon
Mason Larobina [Thu, 30 Jul 2009 13:00:06 +0000 (21:00 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Conflicts:
uzbl.c
Robert Manea [Thu, 30 Jul 2009 11:54:47 +0000 (13:54 +0200)]
alignment
Robert Manea [Wed, 29 Jul 2009 20:59:26 +0000 (22:59 +0200)]
document custom variables and the update_gui command
Robert Manea [Wed, 29 Jul 2009 20:54:13 +0000 (22:54 +0200)]
removed obsolete comment
Robert Manea [Wed, 29 Jul 2009 20:52:02 +0000 (22:52 +0200)]
Added helmut to AUTHORS
Robert Manea [Wed, 29 Jul 2009 20:44:01 +0000 (22:44 +0200)]
Merge branch 'robhelmut' of gnarfk.homelinux.org/~helmut/uzbl
Helmut Grohne [Wed, 29 Jul 2009 20:46:32 +0000 (22:46 +0200)]
Merge branch 'helmutexp' into robhelmut
Helmut Grohne [Wed, 29 Jul 2009 20:46:14 +0000 (22:46 +0200)]
Merge branch 'helmut' into helmutexp
Helmut Grohne [Wed, 29 Jul 2009 20:45:53 +0000 (22:45 +0200)]
fixed wrong n2v_p local variable conversion
Robert Manea [Wed, 29 Jul 2009 20:43:59 +0000 (22:43 +0200)]
cast fixes
Helmut Grohne [Wed, 29 Jul 2009 20:36:45 +0000 (22:36 +0200)]
converted further void**ptr usages to union
Helmut Grohne [Wed, 29 Jul 2009 20:25:15 +0000 (22:25 +0200)]
Merge branch 'helmutexp' into rob
Conflicts:
uzbl.c
uzbl.h
Helmut Grohne [Wed, 29 Jul 2009 20:14:26 +0000 (22:14 +0200)]
Merge branch 'helmut' into helmutexp
Conflicts:
uzbl.c
Helmut Grohne [Wed, 29 Jul 2009 20:11:21 +0000 (22:11 +0200)]
added more /*@null@*/ and const annotations
Helmut Grohne [Wed, 29 Jul 2009 20:10:55 +0000 (22:10 +0200)]
fixed possible memory leak in find_xdg_file
Helmut Grohne [Wed, 29 Jul 2009 19:30:41 +0000 (21:30 +0200)]
fixed possible null pointer dereference
Helmut Grohne [Wed, 29 Jul 2009 19:06:01 +0000 (21:06 +0200)]
made get_exp_type return an enum as it should
Helmut Grohne [Wed, 29 Jul 2009 19:03:25 +0000 (21:03 +0200)]
made global variable n2v_p be local
Helmut Grohne [Wed, 29 Jul 2009 13:05:32 +0000 (15:05 +0200)]
Merge branch 'helmut' into helmutexp
Conflicts:
uzbl.c
Helmut Grohne [Wed, 29 Jul 2009 11:53:09 +0000 (13:53 +0200)]
fixed strndup -> g_strndup using free -> g_free
Helmut Grohne [Wed, 29 Jul 2009 11:45:31 +0000 (13:45 +0200)]
made this void **ptr; a union to remove magic
Helmut Grohne [Wed, 29 Jul 2009 11:45:03 +0000 (13:45 +0200)]
added a gsize -> int cast for gcc
Helmut Grohne [Wed, 29 Jul 2009 10:28:59 +0000 (12:28 +0200)]
use g_strndup instead of strndup
Helmut Grohne [Wed, 29 Jul 2009 10:28:01 +0000 (12:28 +0200)]
removed useless MAX_BINDINGS macro
Robert Manea [Tue, 28 Jul 2009 18:19:28 +0000 (20:19 +0200)]
applied helmut's expand() patch
Mason Larobina [Tue, 28 Jul 2009 16:56:35 +0000 (00:56 +0800)]
Added simple command line option parsing to uzbl_tabbed.py
Mason Larobina [Tue, 28 Jul 2009 15:32:08 +0000 (23:32 +0800)]
Checks uzbl in window mode before setting/getting window geometry.
Helmut Grohne [Tue, 28 Jul 2009 12:29:07 +0000 (14:29 +0200)]
added some splint comments
Helmut Grohne [Tue, 28 Jul 2009 12:22:31 +0000 (14:22 +0200)]
improved expand function
* removed unneeded variables
* put an end to fixed length buffer ret
* fixed a bug where string[-1] could be accessed
Helmut Grohne [Tue, 28 Jul 2009 12:19:14 +0000 (14:19 +0200)]
use EXIT_* macros instead of numerical values
Helmut Grohne [Tue, 28 Jul 2009 12:18:36 +0000 (14:18 +0200)]
pass char* as const char * where possible
Mason Larobina [Mon, 27 Jul 2009 16:17:12 +0000 (00:17 +0800)]
Close socket after the handle_request function not inside handle_request
Mason Larobina [Mon, 27 Jul 2009 15:36:52 +0000 (23:36 +0800)]
cookie_daemon.py now deletes abandoned cookie daemon sockets.
Mason Larobina [Sun, 26 Jul 2009 15:15:39 +0000 (23:15 +0800)]
Also chmod(cookie_jar, 0600) in cookie_daemon.py
Robert Manea [Sun, 26 Jul 2009 15:08:49 +0000 (17:08 +0200)]
remove obsolete code
Mason Larobina [Sun, 26 Jul 2009 14:58:11 +0000 (22:58 +0800)]
Fix comment, minor update.
Mason Larobina [Sun, 26 Jul 2009 14:44:31 +0000 (22:44 +0800)]
Several bug fixes to cookie_daemon.py
Mason Larobina [Sun, 26 Jul 2009 09:45:22 +0000 (17:45 +0800)]
Verbosify cookie_daemon.py
Robert Manea [Sun, 26 Jul 2009 07:04:43 +0000 (09:04 +0200)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl
Robert Manea [Sun, 26 Jul 2009 07:03:51 +0000 (09:03 +0200)]
sanity fix
Mason Larobina [Sat, 25 Jul 2009 23:01:14 +0000 (07:01 +0800)]
Update docstring.
Mason Larobina [Sat, 25 Jul 2009 22:58:41 +0000 (06:58 +0800)]
Typo fix.
Mason Larobina [Sat, 25 Jul 2009 22:52:28 +0000 (06:52 +0800)]
Initial commit of cookie_daemon.py
Mason Larobina [Sat, 25 Jul 2009 22:51:06 +0000 (06:51 +0800)]
indentation fix
Mason Larobina [Sat, 25 Jul 2009 21:20:01 +0000 (05:20 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Helmut Grohne [Sat, 25 Jul 2009 20:44:58 +0000 (22:44 +0200)]
var_name_to_ptr should have const names
Helmut Grohne [Sat, 25 Jul 2009 20:44:38 +0000 (22:44 +0200)]
made type field for uzbl_cmdprop an enum
Helmut Grohne [Sat, 25 Jul 2009 20:43:27 +0000 (22:43 +0200)]
fix declaration for initialize()
Helmut Grohne [Sat, 25 Jul 2009 20:43:01 +0000 (22:43 +0200)]
cmd_load_uri doesn't take parameters
Helmut Grohne [Sat, 25 Jul 2009 20:42:32 +0000 (22:42 +0200)]
fixed buffer overrun
Helmut Grohne [Sat, 25 Jul 2009 20:41:15 +0000 (22:41 +0200)]
extended CFLAGS to get debugging and warnings
Helmut Grohne [Sat, 25 Jul 2009 20:40:11 +0000 (22:40 +0200)]
git should ignore examples/config/enchant
Dieter Plaetinck [Sat, 25 Jul 2009 20:34:25 +0000 (22:34 +0200)]
merge in ruskies font family patch
Dieter Plaetinck [Sat, 25 Jul 2009 19:48:55 +0000 (21:48 +0200)]
add lwithers to authors file
Dieter Plaetinck [Sat, 25 Jul 2009 19:47:29 +0000 (21:47 +0200)]
document talk_to_socket
ruskie [Sat, 25 Jul 2009 19:03:53 +0000 (21:03 +0200)]
uzbl.c, uzbl.h: added _font_family variables
Laurence Withers [Sat, 25 Jul 2009 18:11:40 +0000 (18:11 +0000)]
talk_to_socket: split arguments in packet with \0
In the packet that is written to the daemon via talk_to_socket(), we were
previously using a space to separate each argument, and asking uzbl to quote
the arguments as though for the shell. This just makes life complicated since
we have to undo this in the daemon.
This commit changes the behaviour so that arguments are delimited by ASCII
nul (\0) in the packet. The daemon can thus unambiguously determine where
each argument ends and the next begins.
Robert Manea [Sat, 25 Jul 2009 15:34:39 +0000 (17:34 +0200)]
fix overrun in expand()
Robert Manea [Sat, 25 Jul 2009 09:48:57 +0000 (11:48 +0200)]
added update_gui command
Robert Manea [Sat, 25 Jul 2009 09:33:54 +0000 (11:33 +0200)]
Merge branch 'custom-vars'
Robert Manea [Sat, 25 Jul 2009 09:32:42 +0000 (11:32 +0200)]
remove unnecessary check
Robert Manea [Fri, 24 Jul 2009 15:26:54 +0000 (17:26 +0200)]
remove unnecessary g_strdup()
Robert Manea [Fri, 24 Jul 2009 15:21:54 +0000 (17:21 +0200)]
fix malloc() bug
Mason Larobina [Fri, 24 Jul 2009 13:04:08 +0000 (21:04 +0800)]
Use #!/usr/bin/env python instead of #!/usr/bin/python
Robert Manea [Fri, 24 Jul 2009 12:41:47 +0000 (14:41 +0200)]
trying fix
Robert Manea [Fri, 24 Jul 2009 11:53:46 +0000 (13:53 +0200)]
re-fix typo
Robert Manea [Fri, 24 Jul 2009 11:37:48 +0000 (13:37 +0200)]
added custom vars, currently somewhat broken
Robert Manea [Fri, 24 Jul 2009 11:11:06 +0000 (13:11 +0200)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl
Conflicts:
uzbl.c
uzbl.h
Robert Manea [Fri, 24 Jul 2009 11:10:00 +0000 (13:10 +0200)]
statusbar fix
Laurence Withers [Wed, 22 Jul 2009 19:46:43 +0000 (19:46 +0000)]
Add talk_to_socket handler
This handler talks directly to a daemon using a Unix SOCK_SEQPACKET socket,
allowing e.g. cookie handlers to be implemented without having to fork and
and execute an external program or script interpreter.
A little explanation of the functioning of talk_to_socket():
1. We receive our argument as a string in the format of "HANDLER EXTRA_ARGS".
2. Copy "HANDLER" into our Unix socket address structure and connect to that
address (blocking). Error out if connection fails.
3. Write "EXTRA_ARGS" to the socket. Error out if writing fails.
4. Use poll() to wait for a response, timing out after 500ms of inactivity.
5. Use ioctl(FIONREAD) to find out how long the pending datagram is.
6. Allocate an appropriately sized buffer (len+1) and write a null at the
end, so our output is always null-terminated no matter what.
7. Read from socket into buffer. Error out if read fails.
8. Close socket.
Mason Larobina [Wed, 22 Jul 2009 09:35:29 +0000 (17:35 +0800)]
Bugfix: Accidentally broke non-json session loading.
Mason Larobina [Wed, 22 Jul 2009 09:03:49 +0000 (17:03 +0800)]
Added dependencies section to the top of uzbl_tabbed.py
Mason Larobina [Wed, 22 Jul 2009 08:50:14 +0000 (16:50 +0800)]
Made json_session false by default.