uzbl-mobile
14 years agoMerge branch 'helmut' into helmutexp
Helmut Grohne [Wed, 29 Jul 2009 13:05:32 +0000 (15:05 +0200)]
Merge branch 'helmut' into helmutexp

Conflicts:
uzbl.c

14 years agofixed strndup -> g_strndup using free -> g_free
Helmut Grohne [Wed, 29 Jul 2009 11:53:09 +0000 (13:53 +0200)]
fixed strndup -> g_strndup using free -> g_free

14 years agomade this void **ptr; a union to remove magic
Helmut Grohne [Wed, 29 Jul 2009 11:45:31 +0000 (13:45 +0200)]
made this void **ptr; a union to remove magic

14 years agoadded a gsize -> int cast for gcc
Helmut Grohne [Wed, 29 Jul 2009 11:45:03 +0000 (13:45 +0200)]
added a gsize -> int cast for gcc

14 years agouse g_strndup instead of strndup
Helmut Grohne [Wed, 29 Jul 2009 10:28:59 +0000 (12:28 +0200)]
use g_strndup instead of strndup

14 years agoremoved useless MAX_BINDINGS macro
Helmut Grohne [Wed, 29 Jul 2009 10:28:01 +0000 (12:28 +0200)]
removed useless MAX_BINDINGS macro

14 years agoadded some splint comments
Helmut Grohne [Tue, 28 Jul 2009 12:29:07 +0000 (14:29 +0200)]
added some splint comments

14 years agoimproved expand function
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

14 years agouse EXIT_* macros instead of numerical values
Helmut Grohne [Tue, 28 Jul 2009 12:19:14 +0000 (14:19 +0200)]
use EXIT_* macros instead of numerical values

14 years agopass char* as const char * where possible
Helmut Grohne [Tue, 28 Jul 2009 12:18:36 +0000 (14:18 +0200)]
pass char* as const char * where possible

14 years agovar_name_to_ptr should have const names
Helmut Grohne [Sat, 25 Jul 2009 20:44:58 +0000 (22:44 +0200)]
var_name_to_ptr should have const names

14 years agomade type field for uzbl_cmdprop an enum
Helmut Grohne [Sat, 25 Jul 2009 20:44:38 +0000 (22:44 +0200)]
made type field for uzbl_cmdprop an enum

14 years agofix declaration for initialize()
Helmut Grohne [Sat, 25 Jul 2009 20:43:27 +0000 (22:43 +0200)]
fix declaration for initialize()

14 years agocmd_load_uri doesn't take parameters
Helmut Grohne [Sat, 25 Jul 2009 20:43:01 +0000 (22:43 +0200)]
cmd_load_uri doesn't take parameters

14 years agofixed buffer overrun
Helmut Grohne [Sat, 25 Jul 2009 20:42:32 +0000 (22:42 +0200)]
fixed buffer overrun

14 years agoextended CFLAGS to get debugging and warnings
Helmut Grohne [Sat, 25 Jul 2009 20:41:15 +0000 (22:41 +0200)]
extended CFLAGS to get debugging and warnings

14 years agogit should ignore examples/config/enchant
Helmut Grohne [Sat, 25 Jul 2009 20:40:11 +0000 (22:40 +0200)]
git should ignore examples/config/enchant

14 years agomerge in ruskies font family patch
Dieter Plaetinck [Sat, 25 Jul 2009 20:34:25 +0000 (22:34 +0200)]
merge in ruskies font family patch

14 years agoadd lwithers to authors file
Dieter Plaetinck [Sat, 25 Jul 2009 19:48:55 +0000 (21:48 +0200)]
add lwithers to authors file

14 years agodocument talk_to_socket
Dieter Plaetinck [Sat, 25 Jul 2009 19:47:29 +0000 (21:47 +0200)]
document talk_to_socket

14 years agouzbl.c, uzbl.h: added _font_family variables
ruskie [Sat, 25 Jul 2009 19:03:53 +0000 (21:03 +0200)]
uzbl.c, uzbl.h: added _font_family variables

14 years agotalk_to_socket: split arguments in packet with \0
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.

14 years agoAdd talk_to_socket handler
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.

14 years agoso kwin also has tabs. and looking pretty good actually
Dieter Plaetinck [Sun, 19 Jul 2009 21:09:04 +0000 (23:09 +0200)]
so kwin also has tabs. and looking pretty good actually

14 years agoMerge commit 'bct/headless-tests' into experimental
Dieter Plaetinck [Sun, 19 Jul 2009 17:01:26 +0000 (19:01 +0200)]
Merge commit 'bct/headless-tests' into experimental

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Sun, 19 Jul 2009 16:22:35 +0000 (00:22 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental

14 years agofix 'make test' after a commit.
Brendan Taylor [Sun, 19 Jul 2009 15:35:12 +0000 (09:35 -0600)]
fix 'make test' after a commit.

14 years agorearrange initialization so that 'make tests' doesn't require X
Brendan Taylor [Sun, 19 Jul 2009 15:33:07 +0000 (09:33 -0600)]
rearrange initialization so that 'make tests' doesn't require X

14 years agousage output fixes
Dieter Plaetinck [Sun, 19 Jul 2009 08:50:41 +0000 (10:50 +0200)]
usage output fixes

14 years agoreadme entry for geometry flag
Dieter Plaetinck [Sat, 18 Jul 2009 17:53:45 +0000 (19:53 +0200)]
readme entry for geometry flag

14 years agoMerge commit 'Dieterbe/experimental' into new_experimental
Tom Adams [Sat, 18 Jul 2009 09:04:02 +0000 (10:04 +0100)]
Merge commit 'Dieterbe/experimental' into new_experimental

14 years agoTake argv[1] as URI.
Tom Adams [Sat, 18 Jul 2009 09:02:00 +0000 (10:02 +0100)]
Take argv[1] as URI.

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into clean
Brendan Taylor [Sat, 18 Jul 2009 08:30:55 +0000 (02:30 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into clean

14 years agocall set_mode_indicator after updating the whatever_indicator setting
Brendan Taylor [Sat, 18 Jul 2009 08:04:35 +0000 (02:04 -0600)]
call set_mode_indicator after updating the whatever_indicator setting

14 years agoMerge commit 'holizz/new_experimental' into experimental
Dieter Plaetinck [Sat, 18 Jul 2009 07:33:47 +0000 (09:33 +0200)]
Merge commit 'holizz/new_experimental' into experimental

14 years agouzbl.scan RIP.
Tom Adams [Fri, 17 Jul 2009 21:35:08 +0000 (22:35 +0100)]
uzbl.scan RIP.

14 years agoi heard fluxbox supports tabs too
Dieter Plaetinck [Fri, 17 Jul 2009 21:07:47 +0000 (23:07 +0200)]
i heard fluxbox supports tabs too

14 years agodocument fixes + document all variables/constants in readme, so example config can...
Dieter Plaetinck [Fri, 17 Jul 2009 20:37:12 +0000 (22:37 +0200)]
document fixes + document all variables/constants in readme, so example config can be a bit cleaner

14 years agomerge in bct's sweet code
Dieter Plaetinck [Fri, 17 Jul 2009 19:15:21 +0000 (21:15 +0200)]
merge in bct's sweet code

14 years agocredit uranther for test framework
Dieter Plaetinck [Fri, 17 Jul 2009 16:32:09 +0000 (18:32 +0200)]
credit uranther for test framework

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Fri, 17 Jul 2009 15:14:24 +0000 (23:14 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental

14 years agoUse built-in os.makedirs instead of homemade mkdirs function.
Mason Larobina [Fri, 17 Jul 2009 15:11:24 +0000 (23:11 +0800)]
Use built-in os.makedirs instead of homemade mkdirs function.

14 years agoremove out-of-date test-1.c
Brendan Taylor [Fri, 17 Jul 2009 00:01:46 +0000 (18:01 -0600)]
remove out-of-date test-1.c

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand...
Brendan Taylor [Fri, 17 Jul 2009 00:01:24 +0000 (18:01 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand-template

Conflicts:
Makefile
tests/Makefile
uzbl.c
uzbl.h

14 years agorevert commit cdbe169f to make date for history handler back in same format
Dieter Plaetinck [Thu, 16 Jul 2009 20:51:48 +0000 (22:51 +0200)]
revert commit cdbe169f to make date for history handler back in same format

14 years agomerge uranthers stuff
Dieter Plaetinck [Thu, 16 Jul 2009 20:44:34 +0000 (22:44 +0200)]
merge uranthers stuff

14 years agoAdded back in code to check if fifo exists, in case user wants to 'set fifo_dir ...
uranther [Thu, 16 Jul 2009 20:27:18 +0000 (16:27 -0400)]
Added back in code to check if fifo exists, in case user wants to 'set fifo_dir =' while uzbl is running

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Thu, 16 Jul 2009 14:17:44 +0000 (22:17 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand...
Brendan Taylor [Thu, 16 Jul 2009 00:16:26 +0000 (18:16 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand-template

14 years agoChanged my instructions for unit tests in docs/CONTRIBUTING
uranther [Wed, 15 Jul 2009 21:27:19 +0000 (17:27 -0400)]
Changed my instructions for unit tests in docs/CONTRIBUTING

14 years agoRemove more trailing whitespace
uranther [Wed, 15 Jul 2009 21:21:12 +0000 (17:21 -0400)]
Remove more trailing whitespace

14 years agoMerge commit 'holizz/whitespace' into experimental
Dieter Plaetinck [Wed, 15 Jul 2009 20:12:10 +0000 (22:12 +0200)]
Merge commit 'holizz/whitespace' into experimental

14 years agomerge in the00z his ${!8} fix for posix sh
Dieter Plaetinck [Wed, 15 Jul 2009 19:19:53 +0000 (21:19 +0200)]
merge in the00z his ${!8} fix for posix sh

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand...
Brendan Taylor [Tue, 14 Jul 2009 23:56:02 +0000 (17:56 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand-template

Conflicts:
Makefile

14 years agoAdd note about whitespace to docs/CONTRIBUTING.
Tom Adams [Tue, 14 Jul 2009 21:45:58 +0000 (22:45 +0100)]
Add note about whitespace to docs/CONTRIBUTING.

14 years agoWhitespace fixes. And ignore whitespace in formfiller data files.
Tom Adams [Tue, 14 Jul 2009 21:35:49 +0000 (22:35 +0100)]
Whitespace fixes. And ignore whitespace in formfiller data files.

14 years agoAdded instructions in CONTRIBUTING to remind developers to write unit tests for bugfi...
uranther [Tue, 14 Jul 2009 21:09:39 +0000 (17:09 -0400)]
Added instructions in CONTRIBUTING to remind developers to write unit tests for bugfixes and new functionality

14 years agoRan :%s/ $//g to remove trailing spaces in uzbl.h and uzbl.c
uranther [Tue, 14 Jul 2009 21:05:46 +0000 (17:05 -0400)]
Ran :%s/ $//g to remove trailing spaces in uzbl.h and uzbl.c

14 years agoUpdated CFLAGS and LDFLAGS in tests/Makefile. TODO: Find a way for those variables...
uranther [Tue, 14 Jul 2009 21:03:48 +0000 (17:03 -0400)]
Updated CFLAGS and LDFLAGS in tests/Makefile. TODO: Find a way for those variables to be inherited or passed to the tests/Makefile.

14 years agoMerge commit 'Dieterbe/experimental' into experimental
uranther [Tue, 14 Jul 2009 20:48:51 +0000 (16:48 -0400)]
Merge commit 'Dieterbe/experimental' into experimental

14 years agoRemoved 'quit' command to exit from uzbl
uranther [Tue, 14 Jul 2009 20:48:29 +0000 (16:48 -0400)]
Removed 'quit' command to exit from uzbl

14 years agoRemoved commented section of Makefile that would produce XML/HTML reports of unit...
uranther [Tue, 14 Jul 2009 20:28:29 +0000 (16:28 -0400)]
Removed commented section of Makefile that would produce XML/HTML reports of unit tests

14 years agoupdate authors file
Dieter Plaetinck [Tue, 14 Jul 2009 20:14:27 +0000 (22:14 +0200)]
update authors file

14 years agomerge 1 from the00z. examples/data/uzbl/scripts/yank.sh is still bash, this should...
Dieter Plaetinck [Tue, 14 Jul 2009 20:05:48 +0000 (22:05 +0200)]
merge 1 from the00z. examples/data/uzbl/scripts/yank.sh is still bash, this should become fixed in next merge commit

14 years agoMerge commit 'Dieterbe/experimental' into experimental
uranther [Tue, 14 Jul 2009 19:45:37 +0000 (15:45 -0400)]
Merge commit 'Dieterbe/experimental' into experimental

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand...
Brendan Taylor [Mon, 13 Jul 2009 23:00:18 +0000 (17:00 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand-template

14 years agoMerge with Dieterbe/experimental
uranther [Mon, 13 Jul 2009 12:45:15 +0000 (08:45 -0400)]
Merge with Dieterbe/experimental

14 years agotidy up move to expand()
Robert Manea [Mon, 13 Jul 2009 06:55:35 +0000 (08:55 +0200)]
tidy up move to expand()

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Mon, 13 Jul 2009 03:56:24 +0000 (11:56 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental

14 years agocookies.py now fits in with the new arguments, and works better.
Tom Adams [Sun, 12 Jul 2009 21:22:49 +0000 (22:22 +0100)]
cookies.py now fits in with the new arguments, and works better.

14 years agoAdd request address scheme to cookie_handler's arguments.
Tom Adams [Sun, 12 Jul 2009 20:54:21 +0000 (21:54 +0100)]
Add request address scheme to cookie_handler's arguments.

14 years agoMerge commit 'Dieterbe/experimental' into new_experimental
Tom Adams [Sun, 12 Jul 2009 20:50:28 +0000 (21:50 +0100)]
Merge commit 'Dieterbe/experimental' into new_experimental

14 years agomore fixes
Robert Manea [Sun, 12 Jul 2009 20:37:16 +0000 (22:37 +0200)]
more fixes

14 years agofix conflicts agains bct
Robert Manea [Sun, 12 Jul 2009 20:35:03 +0000 (22:35 +0200)]
fix conflicts agains bct

14 years ago"set keycmd = x" is now equivalent to "keycmd x"
Brendan Taylor [Sun, 12 Jul 2009 19:52:34 +0000 (13:52 -0600)]
"set keycmd = x" is now equivalent to "keycmd x"

14 years agodocument bugreporting
Dieter Plaetinck [Sun, 12 Jul 2009 19:48:08 +0000 (21:48 +0200)]
document bugreporting

14 years agoupdate mode indicator when @insert_mode is set
Brendan Taylor [Sun, 12 Jul 2009 19:38:02 +0000 (13:38 -0600)]
update mode indicator when @insert_mode is set

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into the00z
Abel `00z' Camarillo [Sun, 12 Jul 2009 19:29:00 +0000 (14:29 -0500)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into the00z

14 years agoreplace that ugly ${!8} bashism
Abel `00z' Camarillo [Sun, 12 Jul 2009 19:21:50 +0000 (14:21 -0500)]
replace that ugly ${!8} bashism

14 years agoupdated readme and example config
Brendan Taylor [Sun, 12 Jul 2009 19:09:45 +0000 (13:09 -0600)]
updated readme and example config

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand...
Brendan Taylor [Sun, 12 Jul 2009 18:28:20 +0000 (12:28 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand-template

14 years agoget rid of some duplication in expand()
Brendan Taylor [Sun, 12 Jul 2009 18:27:58 +0000 (12:27 -0600)]
get rid of some duplication in expand()

14 years agomake keycmd a variable. new escape expansion syntax. delete
Brendan Taylor [Sun, 12 Jul 2009 18:23:24 +0000 (12:23 -0600)]
make keycmd a variable. new escape expansion syntax. delete
expand_template entirely.

14 years agouse $VISUAL in formfiller.sh
Tassilo Horn [Sun, 12 Jul 2009 17:19:56 +0000 (19:19 +0200)]
use $VISUAL in formfiller.sh

14 years agofix pull
Robert Manea [Sun, 12 Jul 2009 15:45:55 +0000 (17:45 +0200)]
fix pull

14 years agostyle changes, line breaks
Robert Manea [Sun, 12 Jul 2009 15:43:29 +0000 (17:43 +0200)]
style changes, line breaks

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Sun, 12 Jul 2009 03:40:49 +0000 (11:40 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental

14 years agoMerge branch 'experimental' into the00z
Abel `00z' Camarillo [Sat, 11 Jul 2009 20:51:42 +0000 (15:51 -0500)]
Merge branch 'experimental' into the00z

14 years agofixed uri_override and verbose_override positioning
Brendan Taylor [Sat, 11 Jul 2009 18:11:59 +0000 (12:11 -0600)]
fixed uri_override and verbose_override positioning

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand...
Brendan Taylor [Sat, 11 Jul 2009 16:44:18 +0000 (10:44 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand-template

Conflicts:
uzbl.c

14 years agodocument alternative way for uri setting
Dieter Plaetinck [Sat, 11 Jul 2009 14:18:29 +0000 (16:18 +0200)]
document alternative way for uri setting

14 years ago2 small doc fixes
Dieter Plaetinck [Sat, 11 Jul 2009 14:01:58 +0000 (16:01 +0200)]
2 small doc fixes

14 years agoMerge branch 'experimental' of git@github.com:Dieterbe/uzbl into experimental
Dieter Plaetinck [Sat, 11 Jul 2009 13:46:31 +0000 (15:46 +0200)]
Merge branch 'experimental' of git@github.com:Dieterbe/uzbl into experimental

14 years agoMerge commit 'Dieterbe/experimental' into new_experimental
Tom Adams [Sat, 11 Jul 2009 11:12:18 +0000 (12:12 +0100)]
Merge commit 'Dieterbe/experimental' into new_experimental

14 years agoAdded new_window handler.
Tom Adams [Sat, 11 Jul 2009 11:11:13 +0000 (12:11 +0100)]
Added new_window handler.

14 years agodocumentation fixes
Dieter Plaetinck [Sat, 11 Jul 2009 10:57:43 +0000 (12:57 +0200)]
documentation fixes

14 years agonew contribution instructions, most notably new merging workflow
Dieter Plaetinck [Sat, 11 Jul 2009 10:49:53 +0000 (12:49 +0200)]
new contribution instructions, most notably new merging workflow

14 years agoAdd -V/--version option to print the commit and exit.
Tom Adams [Wed, 8 Jul 2009 11:07:52 +0000 (12:07 +0100)]
Add -V/--version option to print the commit and exit.

14 years agoUse first argument as URI if none provided with --uri.
Tom Adams [Tue, 7 Jul 2009 10:50:45 +0000 (11:50 +0100)]
Use first argument as URI if none provided with --uri.

14 years agoDon't g_free uzbl.gui.icon twice!
Tom Adams [Sun, 5 Jul 2009 20:50:43 +0000 (21:50 +0100)]
Don't g_free uzbl.gui.icon twice!