fantasdic r193 - in trunk: . data/fantasdic/glade lib lib/fantasdic lib/fantasdic/sources lib/fantasdic/ui
- From: mblondel svn gnome org
- To: svn-commits-list gnome org
- Subject: fantasdic r193 - in trunk: . data/fantasdic/glade lib lib/fantasdic lib/fantasdic/sources lib/fantasdic/ui
- Date: Sun, 30 Sep 2007 21:38:32 +0100 (BST)
Author: mblondel
Date: 2007-09-30 21:38:31 +0100 (Sun, 30 Sep 2007)
New Revision: 193
ViewCVS link: http://svn.gnome.org/viewcvs/fantasdic?rev=193&view=rev
Added:
trunk/lib/fantasdic/source_base.rb
trunk/lib/fantasdic/sources/
trunk/lib/fantasdic/sources/dict_server.rb
Modified:
trunk/ChangeLog
trunk/data/fantasdic/glade/add_dictionary_dialog.glade
trunk/data/fantasdic/glade/server_infos_dialog.glade
trunk/lib/fantasdic.rb
trunk/lib/fantasdic/ui/add_dictionary_dialog.rb
Log:
* lib/fantasdic/source_base.rb: Beginning of multiple source backends
support... This works like a plugin system. Source::Base is a base class for
dictionary sources. It also keeps a list of available sources. Sources can
be system-wide (e.g. /usr/lib/ruby/1.8/fantasdic/sources/) or user-wide
($HOME/.fantasdic/sources/). All sources should extend this class.
* lib/fantasdic/sources/dict_server.rb: DICT server source. All source code
which was specific to DICT was moved here.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Multiple backend support.
main_app.rb still needs be modified!
* data/fantasdic/glade/add_dictionary_dialog.glade: Ditto.
* lib/fantasdic.rb: Include lib/fantasdic/source_base.rb.
* data/fantasdic/glade/server_infos_dialog.glade: Some minor tweaks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]