Robert Manea [Thu, 18 Jun 2009 18:36:14 +0000 (20:36 +0200)]
make detection of simple vars more shell like
Robert Manea [Wed, 17 Jun 2009 10:13:03 +0000 (12:13 +0200)]
command expansion uses @(command)@ / js expansion @<java script>@
Robert Manea [Tue, 16 Jun 2009 08:51:28 +0000 (10:51 +0200)]
expand() fix
Robert Manea [Tue, 16 Jun 2009 08:38:54 +0000 (10:38 +0200)]
added JS expansion command @<java script>
Robert Manea [Tue, 16 Jun 2009 08:13:50 +0000 (10:13 +0200)]
clean up after merge
Robert Manea [Tue, 16 Jun 2009 07:59:59 +0000 (09:59 +0200)]
fix conflicts
Robert Manea [Tue, 16 Jun 2009 07:55:43 +0000 (09:55 +0200)]
reset
Robert Manea [Tue, 16 Jun 2009 07:46:06 +0000 (09:46 +0200)]
minor style fixes in expand()
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.
Robert Manea [Mon, 15 Jun 2009 20:17:53 +0000 (22:17 +0200)]
renamed expand_vars() to expand() + minor fixes
Robert Manea [Mon, 15 Jun 2009 12:07:13 +0000 (14:07 +0200)]
added @() expressions to expand_vars - first draft, expect bugs
Robert Manea [Mon, 15 Jun 2009 10:04:31 +0000 (12:04 +0200)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl
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.
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.
Dequis [Mon, 15 Jun 2009 04:09:40 +0000 (01:09 -0300)]
Fix control_socket to use GIOChannel
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.
evocallaghan [Sat, 13 Jun 2009 13:42:32 +0000 (15:42 +0200)]
tiny patch
evocallaghan [Sat, 13 Jun 2009 12:44:03 +0000 (14:44 +0200)]
tiny patch
Dequis [Fri, 12 Jun 2009 15:48:44 +0000 (12:48 -0300)]
Rename fixed Makefile-new-test to Makefile
Dieter Plaetinck [Thu, 11 Jun 2009 17:55:05 +0000 (19:55 +0200)]
add kmeaw to authors
kmeaw [Thu, 11 Jun 2009 09:11:57 +0000 (13:11 +0400)]
keycmd_bs: fix invalid utf-8 char chopping code
This code failed on strings that end on a multibyte character.
Flib Development Team [Thu, 11 Jun 2009 09:09:17 +0000 (13:09 +0400)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl
Dequis [Wed, 10 Jun 2009 21:29:13 +0000 (18:29 -0300)]
Add disable_stdin config option
Jacob Todd [Wed, 10 Jun 2009 18:03:47 +0000 (20:03 +0200)]
add '-lgthread-2.0' to CFLAGS because compilation fails for some people
Robert Manea [Wed, 10 Jun 2009 13:32:06 +0000 (15:32 +0200)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl
Dieter Plaetinck [Tue, 9 Jun 2009 20:11:00 +0000 (22:11 +0200)]
merge in holizz uzbl_tabbed
Tom Adams [Tue, 9 Jun 2009 19:26:46 +0000 (20:26 +0100)]
Add main_window check for new code.
Tom Adams [Tue, 9 Jun 2009 11:19:17 +0000 (12:19 +0100)]
Merge commit 'Dieterbe/experimental' into experimental
Dieter Plaetinck [Mon, 8 Jun 2009 20:51:57 +0000 (22:51 +0200)]
indentation fix
Dieter Plaetinck [Mon, 8 Jun 2009 20:50:43 +0000 (22:50 +0200)]
keybind to start a new uzbl instance from the page in primary selection
Dieter Plaetinck [Mon, 8 Jun 2009 20:48:12 +0000 (22:48 +0200)]
slightly better example config with a few new cool examples
Dieter Plaetinck [Mon, 8 Jun 2009 20:18:25 +0000 (22:18 +0200)]
fix quotes regression
Dieter Plaetinck [Mon, 8 Jun 2009 20:08:05 +0000 (22:08 +0200)]
israellevins zoom_type toggling
Dieter Plaetinck [Mon, 8 Jun 2009 19:16:25 +0000 (21:16 +0200)]
be more friendly to people who have no XDG variables set + bitter checking and such
Dieter Plaetinck [Mon, 8 Jun 2009 17:59:18 +0000 (19:59 +0200)]
new way to try out the sample stuff. makes it even easier for new users
Tom Adams [Mon, 8 Jun 2009 08:34:17 +0000 (09:34 +0100)]
Merge commit 'Dieterbe/experimental' into experimental
root [Sun, 7 Jun 2009 22:10:33 +0000 (01:10 +0300)]
Added support for full content zoom (AKA full page zoom)
Dieter Plaetinck [Sun, 7 Jun 2009 20:58:02 +0000 (22:58 +0200)]
more suited make target names
Dieter Plaetinck [Sun, 7 Jun 2009 20:50:57 +0000 (22:50 +0200)]
fixes to make the dir refactoring work
Dieter Plaetinck [Sun, 7 Jun 2009 20:37:44 +0000 (22:37 +0200)]
make the whole xdg/dev directories /configs etc more sense making. now theres just one config you can directly copy into your home and use without editing. the same config can be used while developing, the Makefile just overrides 2 xdg variables. also the scripts can be a bit simpler now
Tom Adams [Sun, 7 Jun 2009 18:54:23 +0000 (19:54 +0100)]
Merge commit 'Dieterbe/experimental' into experimental
Conflicts:
uzbl.c
Dieter Plaetinck [Sun, 7 Jun 2009 18:28:35 +0000 (20:28 +0200)]
make icon setting configurable
Tom Adams [Sun, 7 Jun 2009 18:17:41 +0000 (19:17 +0100)]
Added a GtkPlug which plugs into a socket ID specified by -s.
Dieter Plaetinck [Sun, 7 Jun 2009 18:05:21 +0000 (20:05 +0200)]
merge in some fixes + basic uzbl icon from uranther
Tom Adams [Sun, 7 Jun 2009 15:55:44 +0000 (16:55 +0100)]
Merge commit 'Dieterbe/experimental' into experimental
uranther [Sun, 7 Jun 2009 14:13:55 +0000 (10:13 -0400)]
got rid of my fifo fix for now - it needs more TLC
Dieter Plaetinck [Sun, 7 Jun 2009 14:11:03 +0000 (16:11 +0200)]
when devving, --verbose is useful + without --config theres a change that $HOME/.. gets loaded
Dieter Plaetinck [Sun, 7 Jun 2009 14:06:26 +0000 (16:06 +0200)]
Merge branch 'experimental'
Dieter Plaetinck [Sun, 7 Jun 2009 14:03:46 +0000 (16:03 +0200)]
faq entry about tabs + clarify url changing
Dieter Plaetinck [Sun, 7 Jun 2009 11:22:52 +0000 (13:22 +0200)]
document dump_config
Dieter Plaetinck [Sun, 7 Jun 2009 11:17:01 +0000 (13:17 +0200)]
chmod cookies.py +x
Dieter Plaetinck [Sun, 7 Jun 2009 10:16:06 +0000 (12:16 +0200)]
Merge branch 'experimental'
Dieter Plaetinck [Sun, 7 Jun 2009 10:14:11 +0000 (12:14 +0200)]
make cookies.py default sample cookie script
Tom Adams [Sun, 7 Jun 2009 10:07:58 +0000 (12:07 +0200)]
pick datafile location for cookies more smartly
Dieter Plaetinck [Sun, 7 Jun 2009 09:49:48 +0000 (11:49 +0200)]
add holizz' cookies.py
Robert Manea [Sun, 7 Jun 2009 01:17:09 +0000 (03:17 +0200)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl
Tom Adams [Sat, 6 Jun 2009 23:18:29 +0000 (00:18 +0100)]
Merge commit 'Dieterbe/experimental' into experimental
Conflicts:
examples/scripts/cookies.sh
uranther [Sat, 6 Jun 2009 22:28:04 +0000 (18:28 -0400)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Dieter Plaetinck [Sat, 6 Jun 2009 22:09:37 +0000 (00:09 +0200)]
Merge branch 'experimental'
Dieter Plaetinck [Sat, 6 Jun 2009 22:08:39 +0000 (00:08 +0200)]
todo updates
Dieter Plaetinck [Sat, 6 Jun 2009 22:00:53 +0000 (00:00 +0200)]
do not do cookie debugging (with notifier) by default
Dieter Plaetinck [Sat, 6 Jun 2009 21:56:38 +0000 (23:56 +0200)]
unbreak markdown layout
Dieter Plaetinck [Sat, 6 Jun 2009 21:30:43 +0000 (23:30 +0200)]
pull in latest stuff from experimental
uranther [Sat, 6 Jun 2009 21:13:29 +0000 (17:13 -0400)]
ok added the zoom back in. fml
uranther [Sat, 6 Jun 2009 21:02:56 +0000 (17:02 -0400)]
merged with Dieterbe/experimental, finally
uranther [Sat, 6 Jun 2009 21:01:45 +0000 (17:01 -0400)]
WTF
uranther [Sat, 6 Jun 2009 20:46:05 +0000 (16:46 -0400)]
Revert "fixed sampleconfig so zoom level works again (changed = to 0)"
This reverts commit
f3ee2bb1790e96041bfc920e14d32518bf096e59.
uranther [Sat, 6 Jun 2009 20:41:22 +0000 (16:41 -0400)]
Revert "Added -std=gnu99 to Makefile. strtof() came with c99, which is why GCC was throwing a warning on compilation. Zoom works now"
This reverts commit
59399c365a8f9dbfaa1486bca2bc2f01ee7c434e.
Abel `00z' Camarillo [Sat, 6 Jun 2009 20:39:19 +0000 (22:39 +0200)]
uzbl now builds on OpenBSD
uranther [Sat, 6 Jun 2009 20:37:12 +0000 (16:37 -0400)]
Revert "Added a question about installing on Ubuntu in FAQ"
This reverts commit
37de203f15cc2dbea7abab3d14d6bfe5355e609c.
uranther [Sat, 6 Jun 2009 20:36:38 +0000 (16:36 -0400)]
Revert "just noticed there was a blog entry about installing on Ubuntu"
This reverts commit
c2e6dffa4792dd36093c814a69cef2f6a9919f13.
Dieter Plaetinck [Sat, 6 Jun 2009 20:16:57 +0000 (22:16 +0200)]
add mxey
Dieter Plaetinck [Sat, 6 Jun 2009 20:15:30 +0000 (22:15 +0200)]
Merge commit 'mxey/experimental' into experimental
salinasv [Wed, 27 May 2009 03:14:33 +0000 (22:14 -0500)]
Let keybinds work when status bar have focus.
Dieter Plaetinck [Sat, 6 Jun 2009 20:04:09 +0000 (22:04 +0200)]
Merge commit 'scj/master' into experimental
Maximilian Gaß [Sat, 6 Jun 2009 18:35:09 +0000 (20:35 +0200)]
Build in C99 mode
Maximilian Gaß [Sat, 6 Jun 2009 18:34:42 +0000 (20:34 +0200)]
Makefile: Renamed CPPFLAGS -> CFLAGS
Maximilian Gaß [Wed, 3 Jun 2009 19:13:50 +0000 (21:13 +0200)]
examples/scripts/download.sh: pushd/popd are unnecessary
there is nothing affected by the directory of that shell
Dieter Plaetinck [Sat, 6 Jun 2009 18:19:43 +0000 (20:19 +0200)]
strtod > atof. Thanks Zaba
Robert Manea [Sat, 6 Jun 2009 18:13:57 +0000 (20:13 +0200)]
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl
Robert Manea [Sat, 6 Jun 2009 18:13:53 +0000 (20:13 +0200)]
fix indent
Dieter Plaetinck [Sat, 6 Jun 2009 18:09:12 +0000 (20:09 +0200)]
use stdlib atof() instead of gnu99 strtof() + more sense making example binds for zoomlevels
Dieter Plaetinck [Sat, 6 Jun 2009 18:00:35 +0000 (20:00 +0200)]
authors file fixes
Jeremy O'Brien [Fri, 5 Jun 2009 03:51:34 +0000 (23:51 -0400)]
Make progress bar show empty on start of page load
Previously, when clicking on a link or opening a new URL, the user would
not get any feedback showing that the command was taken until after a
progress change, which could sometimes take a prolonged period of time.
Now, the user is immediately alerted via the statusbar going to zero.
Dieter Plaetinck [Sat, 6 Jun 2009 17:48:45 +0000 (19:48 +0200)]
add holizz to contributors
Tom Adams [Fri, 5 Jun 2009 21:44:49 +0000 (22:44 +0100)]
data: URIs work.
Tom Adams [Sat, 6 Jun 2009 08:27:07 +0000 (09:27 +0100)]
Cookies work.
Tom Adams [Fri, 5 Jun 2009 21:36:41 +0000 (22:36 +0100)]
javascript: URIs work.
Dieter Plaetinck [Sat, 6 Jun 2009 16:57:58 +0000 (18:57 +0200)]
bit more clear variable names and such
Dieter Plaetinck [Sat, 6 Jun 2009 16:40:46 +0000 (18:40 +0200)]
add bobpaul to contributors
Tom Adams [Sat, 6 Jun 2009 08:27:07 +0000 (09:27 +0100)]
Cookies work.
Tom Adams [Fri, 5 Jun 2009 21:44:49 +0000 (22:44 +0100)]
data: URIs work.
Tom Adams [Fri, 5 Jun 2009 21:36:41 +0000 (22:36 +0100)]
javascript: URIs work.
uranther [Fri, 5 Jun 2009 01:21:57 +0000 (21:21 -0400)]
disregard that i suck cocks
uranther [Fri, 5 Jun 2009 01:20:41 +0000 (21:20 -0400)]
Merge branch 'experimental'; commit 'origin/experimental' into experimental
uranther [Fri, 5 Jun 2009 00:59:09 +0000 (20:59 -0400)]
disregard that i suck cocks
uranther [Fri, 5 Jun 2009 00:59:09 +0000 (20:59 -0400)]
These changes were necessary to build a debian package
Tom Adams [Thu, 4 Jun 2009 11:58:59 +0000 (12:58 +0100)]
Update directory checks.
Tom Adams [Thu, 4 Jun 2009 11:39:30 +0000 (12:39 +0100)]
s/cookie_file/cookie_dir/g
Tom Adams [Thu, 4 Jun 2009 11:26:06 +0000 (12:26 +0100)]
cookies_file is now definately a directory and called cookies.d.