Added "search" architecture
authorChip Black <bytex64@bytex64.net>
Sun, 14 Jun 2009 23:41:51 +0000 (18:41 -0500)
committerChip Black <bytex64@bytex64.net>
Sun, 14 Jun 2009 23:41:51 +0000 (18:41 -0500)
commit11835c28c3407f9bbd4aa68b875a528d13ff0d73
treee9b69f6216ba485eb57b4223ba02f21f252dc305
parentb244412c1fbb99111bf820bb72f5b6146174405f
Added "search" architecture

A new "search" architecture was added, managed by SearchHandler.  In
WebThing, OpenUri*() was changed to simply Open*(), and changed to
handle invalid URIs by sending them through SearchHandler.  Search
handlers are configured with a new SearchHandler config directive.
As a proof-of-concept, a GoogleSearch plugin was created that searches
google.

Plugins were modified to suit the new Open*() calls, and Vimish's
command-line handling was changed to be more flexible.
12 files changed:
Config.cs
Makefile
PluginManager.cs
SearchHandler.cs [new file with mode: 0644]
WebThing.cs
WebThingPlugin.cs
plugins/DefaultPage.cs
plugins/GoogleSearch.cs [new file with mode: 0644]
plugins/Makefile
plugins/MiddleClickOpen.cs
plugins/Session.cs
plugins/Vimish.cs