| Commit message (Collapse) | Author | Age |
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* 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
|
| | |
|
| | |
|
|\ \ |
|
| | |\
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
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!
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
into experimental"
This reverts commit e1ffb7652d256efdbb7a145f39b0289ebb523d34, reversing
changes made to f7eeee9955f99d4acbfc90c7dc00b50767a15e07.
|
|\
| |
| |
| |
| |
| |
| | |
experimental
Conflicts:
examples/data/uzbl/scripts/scheme.py
|
| |
| |
| |
| | |
execution on the users pc.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Please be careful when using eval, you rarely need it.
* There might be more issues, I haven't checked any of the bigger python
scripts, plugins, or the C code.
Signed-off-by: Andy Spencer <andy753421@gmail.com>
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Moved plugin directory from './examples/data/scripts/plugins' to
'./examples/data/'.
2. Broke up the plugin manager class into two small functions.
3. Removed the handler objects ability to have non-callable handlers
given that there is a perfectly good on_event.py plugin which can
do exactly the same.
4. Gave event_manager daemon abilities similar to the cookie_daemon.
5. Using pid to track the event manager daemons running status.
6. Added the ability to load plugins from multiple locations.
7. Removed all outgoing message queues as this work-around is no longer
required after the newly added --connect-socket uzbl-core ability.
8. Removed native stdin/fifo reading ability. Use socat if required.
9. Updated uzbl-browser script to load example cookie_daemon if
cookie_daemon is not in $XDG_DATA_HOME/uzbl/scripts/
10. Added a new event_manager.py launcher uzbl-daemon.
11. Updated make test-dev-browser target to test uzbl-daemon also.
12. Added init like {start|stop|restart} to the event manager.
13. Added a fourth 'list' option to {start|stop|..} to list the plugins
and dirs of each plugin that would be loaded by the event manager.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
experimental
Conflicts:
examples/data/uzbl/scripts/plugins/keycmd.py
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|