uzbl-mobile
14 years agoexpand: append "" for a NULL string var
Brendan Taylor [Thu, 9 Jul 2009 03:45:07 +0000 (21:45 -0600)]
expand: append "" for a NULL string var

14 years agotest-expand: rely on default *_indicator and progress_*
Brendan Taylor [Thu, 9 Jul 2009 03:31:49 +0000 (21:31 -0600)]
test-expand: rely on default *_indicator and progress_*

14 years agostrip trailing newline from @()@ expansions
Brendan Taylor [Thu, 9 Jul 2009 01:23:33 +0000 (19:23 -0600)]
strip trailing newline from @()@ expansions

14 years agolots of stuff, see below.
Brendan Taylor [Thu, 9 Jul 2009 01:15:56 +0000 (19:15 -0600)]
lots of stuff, see below.

add uzbl.info, move wk_*_version, COMMIT, and ARCH_UZBL into
var_name_to_const, get rid of unameinfo, split off initialize() from main()

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand...
Brendan Taylor [Wed, 8 Jul 2009 03:13:52 +0000 (21:13 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand-template

14 years agomerge doc fix from temoto
Dieter Plaetinck [Tue, 7 Jul 2009 20:30:43 +0000 (22:30 +0200)]
merge doc fix from temoto

14 years agooptional markup escaping in expand()
Brendan Taylor [Tue, 7 Jul 2009 12:42:48 +0000 (06:42 -0600)]
optional markup escaping in expand()

14 years agouse expand instead of expand_template for useragent.
Brendan Taylor [Tue, 7 Jul 2009 10:50:15 +0000 (04:50 -0600)]
use expand instead of expand_template for useragent.

14 years agofixed external links (to be links instead of text) in docs/community
Sergey Shepelev [Tue, 7 Jul 2009 04:04:33 +0000 (08:04 +0400)]
fixed external links (to be links instead of text) in docs/community

14 years agotest for full useragent expansion
Brendan Taylor [Tue, 7 Jul 2009 02:32:09 +0000 (20:32 -0600)]
test for full useragent expansion

14 years agotest simple cmd_useragent
Brendan Taylor [Tue, 7 Jul 2009 01:44:44 +0000 (19:44 -0600)]
test simple cmd_useragent

14 years agosimple tests for all expansions except DOMAIN
Brendan Taylor [Tue, 7 Jul 2009 01:22:00 +0000 (19:22 -0600)]
simple tests for all expansions except DOMAIN

14 years agosimple expansion test passes.
Brendan Taylor [Tue, 7 Jul 2009 00:41:18 +0000 (18:41 -0600)]
simple expansion test passes.

14 years agomerge mason-larobina
Dieter Plaetinck [Sat, 4 Jul 2009 20:00:49 +0000 (22:00 +0200)]
merge mason-larobina

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Sat, 4 Jul 2009 13:05:19 +0000 (21:05 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental

14 years agoUpdate configuration section at the head of uzbl_tabbed.py
Mason Larobina [Sat, 4 Jul 2009 11:55:08 +0000 (19:55 +0800)]
Update configuration section at the head of uzbl_tabbed.py

14 years agosmall nits wrt git usage
Moritz Lenz [Sat, 4 Jul 2009 10:29:21 +0000 (12:29 +0200)]
small nits wrt git usage

14 years agotodo updates
Dieter Plaetinck [Sat, 4 Jul 2009 08:01:50 +0000 (10:01 +0200)]
todo updates

14 years agouzbl_tabbed is now included with sample scripts
Dieter Plaetinck [Fri, 3 Jul 2009 19:19:41 +0000 (21:19 +0200)]
uzbl_tabbed is now included with sample scripts

14 years agomerge much better uzbl_tabbed.py + fix for cookies.py
Dieter Plaetinck [Fri, 3 Jul 2009 18:40:48 +0000 (20:40 +0200)]
merge much better uzbl_tabbed.py + fix for cookies.py

14 years agoBug fixes, added "open-tab-from-clipboard" binding
Mason Larobina [Fri, 3 Jul 2009 15:16:31 +0000 (23:16 +0800)]
Bug fixes, added "open-tab-from-clipboard" binding

14 years agoFix cookies.py for XDG_DATA_HOME users.
Mason Larobina [Thu, 2 Jul 2009 15:01:21 +0000 (23:01 +0800)]
Fix cookies.py for XDG_DATA_HOME users.

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Thu, 2 Jul 2009 10:25:29 +0000 (18:25 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental

14 years agoMissing os.path.expandvars functions & use markers for message termination
Mason Larobina [Wed, 1 Jul 2009 13:22:18 +0000 (21:22 +0800)]
Missing os.path.expandvars functions & use markers for message termination

14 years agodo not look for xdg config if we want to use stdin as config
Dieter Plaetinck [Tue, 30 Jun 2009 20:11:01 +0000 (22:11 +0200)]
do not look for xdg config if we want to use stdin as config

14 years agoMerge commit 'dequis/stdin' into experimental
Dieter Plaetinck [Tue, 30 Jun 2009 20:04:00 +0000 (22:04 +0200)]
Merge commit 'dequis/stdin' into experimental

14 years agoadd bct to authors file
Dieter Plaetinck [Tue, 30 Jun 2009 19:38:09 +0000 (21:38 +0200)]
add bct to authors file

14 years agoMerge commit 'bct/clean' into experimental
Dieter Plaetinck [Tue, 30 Jun 2009 19:33:59 +0000 (21:33 +0200)]
Merge commit 'bct/clean' into experimental

14 years agotypos
Sylvester Johansson [Tue, 30 Jun 2009 18:57:23 +0000 (20:57 +0200)]
typos

14 years agoFeature requests, gtk_title_pos tab_titles max_title_len
Mason Larobina [Tue, 30 Jun 2009 16:32:02 +0000 (00:32 +0800)]
Feature requests, gtk_title_pos tab_titles max_title_len

14 years agoAdded tablist style policy handler, updated author info & bug fixes.
Mason Larobina [Tue, 30 Jun 2009 14:19:19 +0000 (22:19 +0800)]
Added tablist style policy handler, updated author info & bug fixes.

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Tue, 30 Jun 2009 11:15:37 +0000 (19:15 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into clean
Brendan Taylor [Tue, 30 Jun 2009 03:48:39 +0000 (21:48 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into clean

14 years agopoint users to existing uzbl_tabbed.py
Dieter Plaetinck [Mon, 29 Jun 2009 20:03:42 +0000 (22:03 +0200)]
point users to existing uzbl_tabbed.py

14 years agoUpdate todo list.
Mason Larobina [Mon, 29 Jun 2009 16:58:32 +0000 (00:58 +0800)]
Update todo list.

14 years agouzbl_tabbed refactor, huge internal changes.
Mason Larobina [Mon, 29 Jun 2009 16:52:21 +0000 (00:52 +0800)]
uzbl_tabbed refactor, huge internal changes.

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Mason Larobina [Mon, 29 Jun 2009 12:53:49 +0000 (20:53 +0800)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental

14 years agoResolved status bar styling issue and added help text in file.
Mason Larobina [Mon, 29 Jun 2009 12:42:10 +0000 (20:42 +0800)]
Resolved status bar styling issue and added help text in file.

14 years agoSpelleng fix.
Mason Larobina [Mon, 29 Jun 2009 11:32:35 +0000 (19:32 +0800)]
Spelleng fix.

14 years agoAdded mxey to uzbl_tabbed contributors section.
Mason Larobina [Mon, 29 Jun 2009 11:26:56 +0000 (19:26 +0800)]
Added mxey to uzbl_tabbed contributors section.

14 years agouzbl_config path now respects XDG_CONFIG_HOME
Mason Larobina [Mon, 29 Jun 2009 11:20:17 +0000 (19:20 +0800)]
uzbl_config path now respects XDG_CONFIG_HOME

14 years agoManually added commit 51a38.. from holizz
Mason Larobina [Mon, 29 Jun 2009 11:12:29 +0000 (19:12 +0800)]
Manually added commit 51a38.. from holizz

14 years agoMerge branch 'experimental' of git@github.com:mason-larobina/uzbl into experimental
Mason Larobina [Mon, 29 Jun 2009 10:45:52 +0000 (18:45 +0800)]
Merge branch 'experimental' of git@github.com:mason-larobina/uzbl into experimental

14 years agoAdded static probe cmds to uzbl instance class
Mason Larobina [Mon, 29 Jun 2009 10:40:39 +0000 (18:40 +0800)]
Added static probe cmds to uzbl instance class

14 years agoSet the background on the vbox, not the main_window.
Tom Adams [Mon, 29 Jun 2009 09:48:56 +0000 (10:48 +0100)]
Set the background on the vbox, not the main_window.

14 years agoFix spelling.
Mason Larobina [Mon, 29 Jun 2009 07:44:37 +0000 (15:44 +0800)]
Fix spelling.

14 years agoStyle tablist text & update window title.
Mason Larobina [Mon, 29 Jun 2009 07:14:30 +0000 (15:14 +0800)]
Style tablist text & update window title.

14 years agoDelete session file when empty.
Mason Larobina [Mon, 29 Jun 2009 06:15:34 +0000 (14:15 +0800)]
Delete session file when empty.

14 years agoReduced tablist update delay.
Mason Larobina [Mon, 29 Jun 2009 06:04:27 +0000 (14:04 +0800)]
Reduced tablist update delay.

By calling self.update_tablist() manually after any notebook tab
manipulation.

14 years agobring contributing info back up to date
Dieter Plaetinck [Sun, 28 Jun 2009 20:13:14 +0000 (22:13 +0200)]
bring contributing info back up to date

14 years agofaq entry about XDG
Dieter Plaetinck [Sun, 28 Jun 2009 20:00:25 +0000 (22:00 +0200)]
faq entry about XDG

14 years agoRemoved redundant timeout variable (minor edit)
Mason Larobina [Sun, 28 Jun 2009 19:51:58 +0000 (03:51 +0800)]
Removed redundant timeout variable (minor edit)

14 years agouzbl_tabbed.py re-write.
Mason Larobina [Sun, 28 Jun 2009 19:40:28 +0000 (03:40 +0800)]
uzbl_tabbed.py re-write.

Re-written the uzbl_tabbed.py script to use a fifo control
interface and inherit configuration options from the users
uzbl configuration file (if it exists).

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into clean
Brendan Taylor [Sun, 28 Jun 2009 15:43:56 +0000 (09:43 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into clean

14 years agotodo updates
Dieter Plaetinck [Sun, 28 Jun 2009 11:29:42 +0000 (13:29 +0200)]
todo updates

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into clean
Brendan Taylor [Sat, 27 Jun 2009 01:42:03 +0000 (19:42 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into clean

14 years agoadd dxdx (dequis) to AUTHORS
Dieter Plaetinck [Wed, 24 Jun 2009 20:29:06 +0000 (22:29 +0200)]
add dxdx (dequis) to AUTHORS

14 years agoMerge commit 'dequis/experimental' into experimental
Dieter Plaetinck [Wed, 24 Jun 2009 20:16:29 +0000 (22:16 +0200)]
Merge commit 'dequis/experimental' into experimental

14 years agoTwo little fixes in README
Dequis [Wed, 24 Jun 2009 20:03:19 +0000 (17:03 -0300)]
Two little fixes in README

Clarification about race conditions and Uzbl object
Change get <key> to print @<key> and remove TODO

14 years agoAdded documentation for javascript features
Dequis [Wed, 24 Jun 2009 19:36:03 +0000 (16:36 -0300)]
Added documentation for javascript features

14 years agoDocument stdin branch changes in README
Dequis [Wed, 24 Jun 2009 17:35:57 +0000 (14:35 -0300)]
Document stdin branch changes in README

14 years agoMerge commit 'robm/master' into experimental
Dequis [Wed, 24 Jun 2009 17:14:39 +0000 (14:14 -0300)]
Merge commit 'robm/master' into experimental

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl into clean
Brendan Taylor [Wed, 24 Jun 2009 03:24:11 +0000 (21:24 -0600)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into clean

14 years agouse notify::title instead of title-changed signal
Brendan Taylor [Wed, 24 Jun 2009 03:21:57 +0000 (21:21 -0600)]
use notify::title instead of title-changed signal

fixes FS#35

14 years agodon't segfault on 'set' without arguments.
Brendan Taylor [Wed, 24 Jun 2009 02:30:40 +0000 (20:30 -0600)]
don't segfault on 'set' without arguments.

fixes FS#44

14 years agoChecks if XDA_DATA_HOME in os.environ before use
Mason Larobina [Tue, 23 Jun 2009 19:56:14 +0000 (21:56 +0200)]
Checks if XDA_DATA_HOME in os.environ before use

Additionally when XDA_DATA_HOME doesn't exist the cookie jar location
defaults to os.environ["HOME"] + '.local/share/uzbl/cookies.txt'
however when these strings are concatenated they are missing the path
seperator '/'. Problem solved by using the builtin os.path.join to join
the environ path and jar location.

14 years agoChecks if XDA_DATA_HOME in os.environ before use
Mason Larobina [Tue, 23 Jun 2009 08:06:30 +0000 (16:06 +0800)]
Checks if XDA_DATA_HOME in os.environ before use

Additionally when XDA_DATA_HOME doesn't exist the cookie jar location
defaults to os.environ["HOME"] + '.local/share/uzbl/cookies.txt'
however when these strings are concatenated they are missing the path
seperator '/'. Problem solved by using the builtin os.path.join to join the
environ path and jar location.

On branch experimental:
Changes to be committed:

        modified:   examples/data/uzbl/scripts/cookies.py

14 years agoRead stdin only if --config is "-"
Dequis [Mon, 22 Jun 2009 20:23:55 +0000 (17:23 -0300)]
Read stdin only if --config is "-"

uzbl -c - works, uzbl -c- doesn't, blame the glib option parser

14 years agoCleanup diff on uzbl.h
Dequis [Mon, 22 Jun 2009 20:16:52 +0000 (17:16 -0300)]
Cleanup diff on uzbl.h

14 years agoMerge commit 'dieterbe/experimental' into experimental
Dequis [Mon, 22 Jun 2009 19:51:11 +0000 (16:51 -0300)]
Merge commit 'dieterbe/experimental' into experimental

14 years agoRevert "Rename fixed Makefile-new-test to Makefile"
Dequis [Mon, 22 Jun 2009 19:50:16 +0000 (16:50 -0300)]
Revert "Rename fixed Makefile-new-test to Makefile"

This reverts commit dca2cb9ef9566618cf7c0ee16cdbe97b9034039f.

14 years agofix typos
Robert Manea [Mon, 22 Jun 2009 14:10:54 +0000 (16:10 +0200)]
fix typos

14 years agodocument variable expansion and command/js substitution
Robert Manea [Mon, 22 Jun 2009 14:05:28 +0000 (16:05 +0200)]
document variable expansion and command/js substitution

14 years agodon't scroll past the end of the page.
Brendan Taylor [Sat, 20 Jun 2009 18:09:37 +0000 (12:09 -0600)]
don't scroll past the end of the page.

14 years agoAaron Griffin [PATCH 1/4] Add libgthread-2.0 to pkg-config, for OSX
Aaron Griffin [Sat, 20 Jun 2009 10:27:50 +0000 (12:27 +0200)]
Aaron Griffin [PATCH 1/4] Add libgthread-2.0 to pkg-config, for OSX

14 years agoAaron Griffin [PATCH 3/4] Replace cp -ax with -p, for OSX compat
Aaron Griffin [Sat, 20 Jun 2009 10:15:46 +0000 (12:15 +0200)]
Aaron Griffin [PATCH 3/4] Replace cp -ax with -p, for OSX compat

14 years agoAaron Griffin [PATCH 2/4] Remove install -D arg, OSX compatibility
Dieter Plaetinck [Sat, 20 Jun 2009 10:09:48 +0000 (12:09 +0200)]
Aaron Griffin [PATCH 2/4] Remove install -D arg, OSX compatibility

14 years agoRevert "Add disable_stdin config option"
Dequis [Sat, 20 Jun 2009 04:21:27 +0000 (01:21 -0300)]
Revert "Add disable_stdin config option"

This reverts commit 97526404f52875d82d584f18420be72fdc300d93.

14 years agoRevert "Replaced disable_stdin with uzbl -c -"
Dequis [Sat, 20 Jun 2009 04:20:49 +0000 (01:20 -0300)]
Revert "Replaced disable_stdin with uzbl -c -"

This reverts commit ed39cbe56f8923407604a1306a179529521ecd26.

14 years agoMerge commit 'dieterbe/experimental' into experimental
Dequis [Sat, 20 Jun 2009 04:17:43 +0000 (01:17 -0300)]
Merge commit 'dieterbe/experimental' into experimental

Conflicts solved:
uzbl.c

14 years agofix possible double free in expand()
Robert Manea [Fri, 19 Jun 2009 05:12:30 +0000 (07:12 +0200)]
fix possible double free in expand()

14 years agoallow @<...>@ inside of @(...)@ and vice versa
Robert Manea [Thu, 18 Jun 2009 21:31:38 +0000 (23:31 +0200)]
allow @<...>@ inside of @(...)@ and vice versa

14 years agomake detection of simple vars more shell like
Robert Manea [Thu, 18 Jun 2009 18:36:14 +0000 (20:36 +0200)]
make detection of simple vars more shell like

14 years agocommand expansion uses @(command)@ / js expansion @<java script>@
Robert Manea [Wed, 17 Jun 2009 10:13:03 +0000 (12:13 +0200)]
command expansion uses @(command)@ / js expansion @<java script>@

14 years agoexpand() fix
Robert Manea [Tue, 16 Jun 2009 08:51:28 +0000 (10:51 +0200)]
expand() fix

14 years agoadded JS expansion command @<java script>
Robert Manea [Tue, 16 Jun 2009 08:38:54 +0000 (10:38 +0200)]
added JS expansion command @<java script>

14 years agoclean up after merge
Robert Manea [Tue, 16 Jun 2009 08:13:50 +0000 (10:13 +0200)]
clean up after merge

14 years agofix conflicts
Robert Manea [Tue, 16 Jun 2009 07:59:59 +0000 (09:59 +0200)]
fix conflicts

14 years agoreset
Robert Manea [Tue, 16 Jun 2009 07:55:43 +0000 (09:55 +0200)]
reset

14 years agominor style fixes in expand()
Robert Manea [Tue, 16 Jun 2009 07:46:06 +0000 (09:46 +0200)]
minor style fixes in expand()

14 years agoUse JavaScriptCore for evaluation, with Uzbl.run()
Dequis [Mon, 15 Jun 2009 23:37:55 +0000 (20:37 -0300)]
Use JavaScriptCore for evaluation, with Uzbl.run()

Both "js" and "script" commands use eval_js(), which creates an instance
of the Uzbl object class (created by js_init()) which right now provides
only a run() method (handled by js_run_command()). After evaluating the
code, eval_js() removes the object so the scripts from the loaded page
can't access it.

eval_js() supports returning a string result, and you can use it with
uzblctrl to query the DOM. Uzbl.run() also returns a string, but the
only useful thing you can do right now with that is to print @uri or
other variables.

14 years agorenamed expand_vars() to expand() + minor fixes
Robert Manea [Mon, 15 Jun 2009 20:17:53 +0000 (22:17 +0200)]
renamed expand_vars() to expand() + minor fixes

14 years agoadded @() expressions to expand_vars - first draft, expect bugs
Robert Manea [Mon, 15 Jun 2009 12:07:13 +0000 (14:07 +0200)]
added @() expressions to expand_vars - first draft, expect bugs

14 years agoMerge branch 'experimental' of git://github.com/Dieterbe/uzbl
Robert Manea [Mon, 15 Jun 2009 10:04:31 +0000 (12:04 +0200)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl

14 years agoReplaced disable_stdin with uzbl -c -
Dequis [Mon, 15 Jun 2009 06:53:55 +0000 (03:53 -0300)]
Replaced disable_stdin with uzbl -c -

That means, read config from stdin. So stdin is always disabled, except
when you tell uzbl to read from there. The default one in the xdg config
path is still loaded.

Fixes problems when sending uzbl to background.

14 years agoWorking print command with uzblctrl
Dequis [Mon, 15 Jun 2009 06:31:58 +0000 (03:31 -0300)]
Working print command with uzblctrl

Also: Changed a few g_error to g_warning to avoid crashes on broken
socket. Flush the channel after sending, shutdown before closing.
Removed unused headers from uzblctrl.c.

The socket protocol is straightforward: you send a command terminated
with a newline, you receive a reply terminated with a newline.
If you ever need newlines inside a reply, you'll have to change this.

uzblctrl closes the connection after getting the reply, but any other
client can stay connected and send/receive other commands.

14 years agoFix control_socket to use GIOChannel
Dequis [Mon, 15 Jun 2009 04:09:40 +0000 (01:09 -0300)]
Fix control_socket to use GIOChannel

14 years agoAdded *result to get data back from commands
Dequis [Mon, 15 Jun 2009 02:21:27 +0000 (23:21 -0300)]
Added *result to get data back from commands

This allows socket (and stdio) to have a way to reply back.
Had to change all their function definitions, unfortunately.

Currently, no functions write a result. print will, at least, probably
run_js too, and some others.

When a function calling parse_command (or parse_cmd_line) is not
interested in the result, it is safe to pass NULL. Before calling the
function, parse_command creates a GString and prints the result to
stdout if verbose is enabled. You could do the same when calling most
command functions directly, but not with those that expect a GString.

Oh, additionally, I killed NOSPLIT, moved the typedef Command to uzbl.h,
and created the struct CommandInfo which replaces a Command[2] array.
That fixes FS#22, which is a warning with -pedantic. Heh.

14 years agotiny patch
evocallaghan [Sat, 13 Jun 2009 13:42:32 +0000 (15:42 +0200)]
tiny patch

14 years agotiny patch
evocallaghan [Sat, 13 Jun 2009 12:44:03 +0000 (14:44 +0200)]
tiny patch