| Commit message (Collapse) | Author | Age |
|\ |
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
| | |\
| |_|/
|/| | |
|
|\ \ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Dan Hackney <dan@haxney.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Most columns (with the exception of code examples) are wrapped at column 80.
Signed-off-by: Dan Hackney <dan@haxney.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Dan Hackney <dan@haxney.org>
|
| | | |
| | | |
| | | |
| | | | |
longer needed + update paths everywhere + remove examples/config/enchant (also not needed since sandbox) + bugfix: set /home/dieter in sandbox
|
| | | |\
| |_|_|/
|/| | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* misc fixes (problems introduced in last commit)
* correct implemenation of the configuration (use uzbl events insted of config file; you can now do :set show_tablist=0)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Remove bind_* options: does not work with current uzbl revisions, and a better implementation will come soon.
* Remove reading of uzbl config file (same reason)
* Better IPC handling (to sumarize: less periodic polling):
* Better separation between network layers (communication is in SocketClient, protocol in UzblInstance, user interface in UzblTabbed)
* use io_add_watch instead of select for reading uzbl events
* does not use a generated hash to separate events, but the LF character
* get rid of all the flush()ing logic
* does not probe periodically for the title anymore; use uzbl events
* create a /tmp/uzbltabbed_socket instead of polling the /tmp/uzbl_socket_* socket
|
| | | | |
|
| | | | |
|
| | | |\ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
on possible directions and scripts
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
broken though
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
to string (more verbose)
|
|\ \ \ \ \ |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |\
| | |_|_|_|/
| |/| | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
using supplied patch
|
| |/ / / / |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Exporting is now done with the following two new functions:
1. `uzbl.export('external_name', function)`
2. `uzbl.export_dict({'name1': func1, 'name2': func2, ...})`
This system is preferable to the old `__export__` variable for several
reasons. The first being that the exporting system is now very similar
to the connect (read: `uzbl.connect(..)` and `uzbl.connect_dict({..})`)
system in the event manager.
And consider the following:
1. User wishes to write a plugin that doesn't connect to any events but
exports a function.
2. It's an arbitrary requirement that a plugin have an `init(uzbl)`
function.
3. The user would have done the following (example plugin snippet):
__export__ = 'my_function'
def my_function(uzbl, ..):
# Do something
def init(uzbl):
# Do nothing
pass
4. The user now does the following:
def my_function(uzbl, ..):
# do something
def init(uzbl):
uzbl.export('my_function', my_function)
Note that the name in `uzbl.export('external_name', function)` doesn't
need to match the function name. Example pseudo-python:
# In the plugin
>>> def hello(uzbl):
... return "Hello, World!"
>>> def init(uzbl):
... uzbl.export('say_hello', hello)
... print uzbl.say_hello()
# In the event manager
>>> plugin.init(uzbl)
Hello, World!
|
| | | |/ |
|