diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | INSTALL | 52 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | extensions/formfiller | 4 |
4 files changed, 57 insertions, 2 deletions
@@ -9,6 +9,7 @@ Bastien Dejean 2012 Sean DuBois 2012 Jonas Haag 2010 Daniel Martà 2013 +Robin Martinjak 2013 Elias Norberg <xyzzy@kudzu.se> 2013 Adam Ehlers Nyholm Thomsen 2012 Nathan Owens 2011-2012 diff --git a/INSTALL b/INSTALL new file mode 100644 index 00000000..d519e547 --- /dev/null +++ b/INSTALL @@ -0,0 +1,52 @@ +REQUIREMENTS: + + Runtime libraries: + * webkitgtk2 or webkitgtk3 + * JavaScriptCore + + Buildtime dependencies, libraries including header files: + * webkitgtk2 or webkitgtk3 + * JavaScriptCore + * gtk2 or gtk3 + * gnutls + * libsoup + * glib2 + * json-c + + Build tools: + * gcc or compatible c compiler + * make + * m4 + +INSTALLATION: + + dwb can be built and installed with + + make install + + The default build process will try to link against gtk2, if gtk2 isn't + installed it will link against gtk3. To force linking against GTK3 run + + make install GTK=3 + + The default PREFIX is /usr. To choose a different installation location run + + make PREFIX=/path/to/installation install + + To install to a different rootdirectory run + + make DESTDIR=/path/to/root install + + If the variable BASHCOMPLETION is set, contrib/bash-completion will be + installed to $(BASHCOMPLETION)/dwb and a symlink to $(BASHCOMPLETION)/dwbem + will be created. + +LOCAL BUILD WITHOUT INSTALLATION: + + To have a fully functional build without installation some directories must be + copied or symlinked to $XDG_DATA_HOME/dwb (in most cases ~/.local/share/dwb), + namely + + scripts -> $XDG_DATA_HOME/dwb/scripts + html -> $XDG_DATA_HOME/dwb/html + extensions -> $XDG_DATA_HOME/dwb/extensions @@ -13,4 +13,4 @@ program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street Fifth Floor, Boston, MA 02110-1301, USA. Contact: -Stefan Bolte <sbolte@lavabit.com> +Stefan Bolte <portix@gmx.net> diff --git a/extensions/formfiller b/extensions/formfiller index 6fc67e04..4196d198 100644 --- a/extensions/formfiller +++ b/extensions/formfiller @@ -209,8 +209,8 @@ var injectFillForm = function () //{{{ input.checked=(value.toLowerCase() !== "false" && value !== "0"); else input.value = value; - } + function setValues(form) { var input, value; @@ -487,6 +487,8 @@ return { exports.config = config; exports.onRead = onRead; exports.onWrite = onWrite; + exports.getForm = getForm; + exports.fillForm = fillForm; return true; }, end : function () { |