Merge lp:~nmarshall23/do-plugins/spellcheck-plugin into lp:do-plugins

Proposed by Nicholas Marshall
Status: Superseded
Proposed branch: lp:~nmarshall23/do-plugins/spellcheck-plugin
Merge into: lp:do-plugins
Diff against target: None lines
To merge this branch: bzr merge lp:~nmarshall23/do-plugins/spellcheck-plugin
Reviewer Review Type Date Requested Status
Chris S. Needs Fixing
Review via email: mp+10048@code.launchpad.net

This proposal has been superseded by a proposal from 2009-08-17.

To post a comment you must log in.
Revision history for this message
Nicholas Marshall (nmarshall23) wrote :

The Spellcheck plugin requires libenchant-cil

I have made a project for that here is the bzr branch,
https://launchpad.net/libenchantnet/trunk

and here is the PPA with Ubuntu debs
https://launchpad.net/~enchant-net-maintainers/+archive/ppa

Revision history for this message
Chris S. (cszikszoy) wrote :

I haven't had a chance to see if this builds / works, so I'm just going by the merge diff right now.

You seem to have done a very good job integrating this with our build system, thanks!

First and foremost: We require that all new plugin submissions follow Mono's coding style guidelines (here: http://www.mono-project.com/Coding_Guidelines).

It seems unnecessary to create a new instance of Broker every time you run the perform action, why don't you make Broker a property, (private Broker EnchantBroker { get; set; }) and then use the action's constructor to create a new instance of the broker when the action is initialized (ie, when M.A. loads your plugin).

You could greatly simlify the way you return suggested items. For example, using Linq and lamdas you could do:

List<Item> suggestions = new List<Item> ();
dictionary.Suggest (sub).ForEach ( sug => { suggestions.Add (new TextItem (sug) as Item); });
yield return suggestions;

When working with Enumerables, use yield, not plain-old return. So at the end of the perform action, use yield break;

I'm not familiar with Enchant, does it support multiple languages? I see you hardcoded en-US, if it does support multiple languages it would be nice to make a small config widget so that the user could change the language of the dictionary.

Those are a few initial comments, fix those and I'll take another look. When you're done, come back to this merge request, and look near the top. There should be a yellow "edit" icon near the "Status" description. Click that, then on the next page click on "Resubmit". It will ask you to confirm the new revisions to the branch, just click OK. This will make reviewing much easier because it will generate a new and updated merge diff.

Thanks!

review: Needs Fixing
645. By Nicholas Marshall

made changes as suggested. Dictionary and Broker now properties. cleaned up suggested Items

Revision history for this message
Alex Launi (alexlauni) wrote :

On Wed, Aug 12, 2009 at 3:07 PM, Chris S. <email address hidden> wrote:

> I see you hardcoded en-US, if it does support multiple languages it would
> be nice to make a small config widget so that the user could change the
> language of the dictionary.
>

it would be better to check the user's locale, and use that.

--
--Alex Launi

Revision history for this message
Chris S. (cszikszoy) wrote :

>>  I see you hardcoded en-US, if it does support multiple languages it would
>> be nice to make a small config widget so that the user could change the
>> language of the dictionary.
>>
>
> it would be better to check the user's locale, and use that.
>

As a default yes, that would be nice. But my locale is en-us, what if
I wanted to use the dictionary for German words?

Revision history for this message
Alex Launi (alexlauni) wrote :

I just think it's silly to create a config widget for one option in a corner
case which is probably never going to pop up. The BEST solution would be to
parse the word, create a list of possible languages based on some heuristic
(there is research in this area), and check each dictionary to see if it's
spelled correctly!

But that might be more work than our friendly new contributer wants to do..
:P

--
-- Alex Launi

Revision history for this message
Chris S. (cszikszoy) wrote :

How many dictionaries are supported? Instead of a config widget, what
about making an Item out of each dictinoary, and using those as
dynamic modifier items?

Revision history for this message
Nicholas Marshall (nmarshall23) wrote :

> it would be better to check the user's locale, and use that.
Chris this sound resonable, I will start working on that.
Every app I have looked at seems to do just that.

Now as an aditional action after CheckSpelling has been selected, if you
could change Dictionaries sure, that seems to fit in the use case.

I have mixed feeling on a config widget, sure it maybe useful.. but I can't
see it being used all that much. We will just have to think about it, and
get feedback from users.

Nicholas Marshall

On 8/13/09, Alex Launi <email address hidden> wrote:
>
> I just think it's silly to create a config widget for one option in a
> corner
> case which is probably never going to pop up. The BEST solution would be to
> parse the word, create a list of possible languages based on some heuristic
> (there is research in this area), and check each dictionary to see if it's
> spelled correctly!
>
> But that might be more work than our friendly new contributer wants to do..
> :P
>
> --
> -- Alex Launi
>
>
> https://code.launchpad.net/~nmarshall23/do-plugins/spellcheck-plugin/+merge/10048
> You are the owner of lp:~nmarshall23/do-plugins/spellcheck-plugin.
>

--
И

Revision history for this message
Nicholas Marshall (nmarshall23) wrote :

>How many dictionaries are supported?
I don't know, you can install support for individual Dictionaries, I will
check.

>Making an Item out of each dictionary, and using those as dynamic modifier
items?
I like this idea and will start working on it.. However if there are a lot
of Dictionaries installed by default, then I see no other option but to
write a config widget.

About libenchantnet, I didn't write these bindings. They were originally
intended for use on MS windows. I found them while completing writing my
own, it seemed strange that there wasn't mono bindings for some kind of
spell check.. So I am sure they are quirky. All I did was change one line so
that it loaded the right shared library. And then run the nunit tests to see
if that was all that was required.

>You seem to have done a very good job integrating this with our build
system, thanks!
I spend a week, learning Ubuntu Packaging and autoconfig. I figured it was
my job to package libenchantnet if I really wanted to see it used.

I still have plenty of questions on how is the best way of packaging mono
applications.

Nicholas Marshall

PS: gee, that was funny, guy writes spell checking code then forgets to
check spelling..

On 8/13/09, Chris S. <email address hidden> wrote:
>
> How many dictionaries are supported? Instead of a config widget, what
> about making an Item out of each dictinoary, and using those as
> dynamic modifier items?
> --
>
> https://code.launchpad.net/~nmarshall23/do-plugins/spellcheck-plugin/+merge/10048
> You are the owner of lp:~nmarshall23/do-plugins/spellcheck-plugin.
>

--
И

646. By Nicholas Marshall

en-US locate no longer hard coded in, now getting locate from system

647. By Nicholas Marshall

added debian/ so that I can build my own

648. By Nicholas Marshall

about to remove more gui code

649. By Nicholas Marshall

removed GUI code, no config widget needed

650. By Nicholas Marshall

Building debs in a separate branch

651. By Nicholas Marshall

Reformated code to follow Mono's coding style guidelines

652. By Nicholas Marshall

removed last of GUI config boilerplate

653. By Nicholas Marshall

code cleanup using Linq

654. By Nicholas Marshall

Working on dictionary switching

655. By Nicholas Marshall

using CultureInfo to get Display name of locates

656. By Nicholas Marshall

fixed DictionaryItemSource need to s/_/-/ for CultureInfo on DictionaryItem Language items

657. By Nicholas Marshall

CheckSpellingAction can now use a mod DictionaryItem to switch the locate dictionary

658. By Nicholas Marshall

/CheckSpellingAction.cs DictionaryItemSource.cs added Finalizers to free our Dictionaries, this only comes up when you switch dictionaries..

Revision history for this message
Nicholas Marshall (nmarshall23) wrote :

> all new plugin submissions follow Mono's coding style guidelines Done! >I
see you hardcoded en-US I over sight on my part, Now it gets the current
locate's dictionary. > Instead of a config widget, what about making an Item
out of each dictionary, > and using those as dynamic modifier items? This is
done! It could use more testing, however it does seems to work for me.
When LP finishes processing my last push, I will Resubmit.

Nicholas Marshall

On Thu, Aug 13, 2009 at 1:06 PM, Chris S. <email address hidden> wrote:

> How many dictionaries are supported? Instead of a config widget, what
> about making an Item out of each dictinoary, and using those as
> dynamic modifier items?
> --
>
> https://code.launchpad.net/~nmarshall23/do-plugins/spellcheck-plugin/+merge/10048
> You are the owner of lp:~nmarshall23/do-plugins/spellcheck-plugin.
>

659. By Nicholas Marshall

rm CheckSpelling/Makefile.in and added a icon to DItemSource

Unmerged revisions

659. By Nicholas Marshall

rm CheckSpelling/Makefile.in and added a icon to DItemSource

658. By Nicholas Marshall

/CheckSpellingAction.cs DictionaryItemSource.cs added Finalizers to free our Dictionaries, this only comes up when you switch dictionaries..

657. By Nicholas Marshall

CheckSpellingAction can now use a mod DictionaryItem to switch the locate dictionary

656. By Nicholas Marshall

fixed DictionaryItemSource need to s/_/-/ for CultureInfo on DictionaryItem Language items

655. By Nicholas Marshall

using CultureInfo to get Display name of locates

654. By Nicholas Marshall

Working on dictionary switching

653. By Nicholas Marshall

code cleanup using Linq

652. By Nicholas Marshall

removed last of GUI config boilerplate

651. By Nicholas Marshall

Reformated code to follow Mono's coding style guidelines

650. By Nicholas Marshall

Building debs in a separate branch

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file '.bzrignore'
--- .bzrignore 1970-01-01 00:00:00 +0000
+++ .bzrignore 2009-08-12 15:07:14 +0000
@@ -0,0 +1,3 @@
1*.pidb
2DoPlugins.userprefs
3DoPlugins.usertasks
04
=== added directory 'CheckSpelling'
=== added file 'CheckSpelling/AssemblyInfo.cs'
--- CheckSpelling/AssemblyInfo.cs 1970-01-01 00:00:00 +0000
+++ CheckSpelling/AssemblyInfo.cs 2009-08-12 15:00:47 +0000
@@ -0,0 +1,42 @@
1//
2// Copyright (C) 2009 Nicholas Marshall
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
16//
17using System.Reflection;
18using System.Runtime.CompilerServices;
19
20// Information about this assembly is defined by the following attributes.
21// Change them to the values specific to your project.
22
23[assembly: AssemblyTitle("CheckSpelling")]
24[assembly: AssemblyDescription("")]
25[assembly: AssemblyConfiguration("")]
26[assembly: AssemblyCompany("")]
27[assembly: AssemblyProduct("")]
28[assembly: AssemblyCopyright("")]
29[assembly: AssemblyTrademark("")]
30[assembly: AssemblyCulture("")]
31
32// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
33// The form "{Major}.{Minor}.*" will automatically update the build and revision,
34// and "{Major}.{Minor}.{Build}.*" will update just the revision.
35
36[assembly: AssemblyVersion("1.0.*")]
37
38// The following attributes are used to specify the signing key for the assembly,
39// if desired. See the Mono documentation for more information about signing.
40
41[assembly: AssemblyDelaySign(false)]
42[assembly: AssemblyKeyFile("")]
043
=== added file 'CheckSpelling/CheckSpelling.mdp'
--- CheckSpelling/CheckSpelling.mdp 1970-01-01 00:00:00 +0000
+++ CheckSpelling/CheckSpelling.mdp 2009-08-12 15:07:14 +0000
@@ -0,0 +1,24 @@
1<Project name="CheckSpelling" fileversion="2.0" language="C#" targetFramework="2.0" ctype="DotNetProject">
2 <Configurations active="Debug">
3 <Configuration name="Debug" ctype="DotNetProjectConfiguration">
4 <Output directory="bin/Debug" assembly="CheckSpelling" />
5 <Build debugmode="True" target="Library" />
6 <Execution runwithwarnings="True" consolepause="False" runtime="MsNet" />
7 <CodeGeneration compiler="Mcs" warninglevel="4" optimize="False" unsafecodeallowed="False" generateoverflowchecks="False" definesymbols="DEBUG" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
8 </Configuration>
9 <Configuration name="Release" ctype="DotNetProjectConfiguration">
10 <Output directory="bin/Release" assembly="CheckSpelling" />
11 <Build debugmode="False" target="Library" />
12 <Execution runwithwarnings="True" consolepause="False" runtime="MsNet" />
13 <CodeGeneration compiler="Mcs" warninglevel="4" optimize="False" unsafecodeallowed="False" generateoverflowchecks="False" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
14 </Configuration>
15 </Configurations>
16 <Contents>
17 <File name="AssemblyInfo.cs" subtype="Code" buildaction="Compile" />
18 <File name="Resources/CheckSpelling.addin.xml.in" subtype="Code" buildaction="Nothing" />
19 <File name="src/CheckSpellingAction.cs" subtype="Code" buildaction="Compile" />
20 </Contents>
21 <References>
22 <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
23 </References>
24</Project>
0\ No newline at end of file25\ No newline at end of file
126
=== added file 'CheckSpelling/Makefile.am'
--- CheckSpelling/Makefile.am 1970-01-01 00:00:00 +0000
+++ CheckSpelling/Makefile.am 2009-08-12 15:00:47 +0000
@@ -0,0 +1,18 @@
1include $(top_srcdir)/build.rules.mk
2
3ASSEMBLY=CheckSpelling
4
5FILES = \
6 src/CheckSpellingAction.cs
7
8RESOURCES = \
9 Resources/CheckSpelling.addin.xml
10
11REFERENCES = \
12 System \
13 System.Core \
14 $(ENCHANTNET_LIBS) \
15 $(GTK_SHARP_20_LIBS) \
16 $(DO_PLATFORM_LIBS) \
17 $(DO_PLATFORM_LINUX_LIBS) \
18 $(DO_UNIVERSE_LIBS)
019
=== added file 'CheckSpelling/Makefile.in'
--- CheckSpelling/Makefile.in 1970-01-01 00:00:00 +0000
+++ CheckSpelling/Makefile.in 2009-08-12 15:00:47 +0000
@@ -0,0 +1,511 @@
1# Makefile.in generated by automake 1.10.2 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# Rules to more easily specify a C# build for automake.
18#
19# Inspired and adapted from Banshee's build system
20
21VPATH = @srcdir@
22pkgdatadir = $(datadir)/@PACKAGE@
23pkglibdir = $(libdir)/@PACKAGE@
24pkgincludedir = $(includedir)/@PACKAGE@
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26install_sh_DATA = $(install_sh) -c -m 644
27install_sh_PROGRAM = $(install_sh) -c
28install_sh_SCRIPT = $(install_sh) -c
29INSTALL_HEADER = $(INSTALL_DATA)
30transform = $(program_transform_name)
31NORMAL_INSTALL = :
32PRE_INSTALL = :
33POST_INSTALL = :
34NORMAL_UNINSTALL = :
35PRE_UNINSTALL = :
36POST_UNINSTALL = :
37DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
38 $(top_srcdir)/build.rules.mk
39@ENABLE_DEBUG_TRUE@am__append_1 = -debug -d:DEBUG
40subdir = CheckSpelling
41ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42am__aclocal_m4_deps = $(top_srcdir)/m4/shamrock/expansions.m4 \
43 $(top_srcdir)/m4/shamrock/i18n.m4 \
44 $(top_srcdir)/m4/shamrock/mono.m4 \
45 $(top_srcdir)/m4/shamrock/programs.m4 \
46 $(top_srcdir)/configure.ac
47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48 $(ACLOCAL_M4)
49mkinstalldirs = $(install_sh) -d
50CONFIG_CLEAN_FILES =
51SOURCES =
52DIST_SOURCES =
53am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
54am__vpath_adj = case $$p in \
55 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
56 *) f=$$p;; \
57 esac;
58am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
59am__installdirs = "$(DESTDIR)$(plugindir)"
60pluginDATA_INSTALL = $(INSTALL_DATA)
61DATA = $(plugin_DATA)
62DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
63ACLOCAL = @ACLOCAL@
64ALL_LINGUAS = @ALL_LINGUAS@
65AMTAR = @AMTAR@
66ASM_VERSION = @ASM_VERSION@
67AUTOCONF = @AUTOCONF@
68AUTOHEADER = @AUTOHEADER@
69AUTOMAKE = @AUTOMAKE@
70AWK = @AWK@
71BANSHEE_INDEXER_CFLAGS = @BANSHEE_INDEXER_CFLAGS@
72BANSHEE_INDEXER_DLL = @BANSHEE_INDEXER_DLL@
73BANSHEE_INDEXER_LIBS = @BANSHEE_INDEXER_LIBS@
74CATALOGS = @CATALOGS@
75CATOBJEXT = @CATOBJEXT@
76CC = @CC@
77CCDEPMODE = @CCDEPMODE@
78CFLAGS = @CFLAGS@
79CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@
80CPP = @CPP@
81CPPFLAGS = @CPPFLAGS@
82CYGPATH_W = @CYGPATH_W@
83DATADIRNAME = @DATADIRNAME@
84DEFS = @DEFS@
85DEPDIR = @DEPDIR@
86DO_INTERFACE_WINK_CFLAGS = @DO_INTERFACE_WINK_CFLAGS@
87DO_INTERFACE_WINK_LIBS = @DO_INTERFACE_WINK_LIBS@
88DO_PLATFORM_CFLAGS = @DO_PLATFORM_CFLAGS@
89DO_PLATFORM_LIBS = @DO_PLATFORM_LIBS@
90DO_PLATFORM_LINUX_CFLAGS = @DO_PLATFORM_LINUX_CFLAGS@
91DO_PLATFORM_LINUX_LIBS = @DO_PLATFORM_LINUX_LIBS@
92DO_UNIVERSE_CFLAGS = @DO_UNIVERSE_CFLAGS@
93DO_UNIVERSE_LIBS = @DO_UNIVERSE_LIBS@
94ECHO_C = @ECHO_C@
95ECHO_N = @ECHO_N@
96ECHO_T = @ECHO_T@
97EGREP = @EGREP@
98ENCHANTNET_CFLAGS = @ENCHANTNET_CFLAGS@
99ENCHANTNET_LIBS = @ENCHANTNET_LIBS@
100EVOLUTION_SHARP_CFLAGS = @EVOLUTION_SHARP_CFLAGS@
101EVOLUTION_SHARP_LIBS = @EVOLUTION_SHARP_LIBS@
102EXEEXT = @EXEEXT@
103FLICKRNET_CFLAGS = @FLICKRNET_CFLAGS@
104FLICKRNET_LIBS = @FLICKRNET_LIBS@
105GCONF_SHARP_20_CFLAGS = @GCONF_SHARP_20_CFLAGS@
106GCONF_SHARP_20_LIBS = @GCONF_SHARP_20_LIBS@
107GDATA_SHARP_CALENDAR_CFLAGS = @GDATA_SHARP_CALENDAR_CFLAGS@
108GDATA_SHARP_CALENDAR_LIBS = @GDATA_SHARP_CALENDAR_LIBS@
109GDATA_SHARP_CONTACTS_CFLAGS = @GDATA_SHARP_CONTACTS_CFLAGS@
110GDATA_SHARP_CONTACTS_LIBS = @GDATA_SHARP_CONTACTS_LIBS@
111GDATA_SHARP_DOCUMENTS_CFLAGS = @GDATA_SHARP_DOCUMENTS_CFLAGS@
112GDATA_SHARP_DOCUMENTS_LIBS = @GDATA_SHARP_DOCUMENTS_LIBS@
113GDATA_SHARP_YOUTUBE_CFLAGS = @GDATA_SHARP_YOUTUBE_CFLAGS@
114GDATA_SHARP_YOUTUBE_LIBS = @GDATA_SHARP_YOUTUBE_LIBS@
115GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
116GLADE_SHARP_20_CFLAGS = @GLADE_SHARP_20_CFLAGS@
117GLADE_SHARP_20_LIBS = @GLADE_SHARP_20_LIBS@
118GLIB_SHARP_20_CFLAGS = @GLIB_SHARP_20_CFLAGS@
119GLIB_SHARP_20_LIBS = @GLIB_SHARP_20_LIBS@
120GMOFILES = @GMOFILES@
121GMSGFMT = @GMSGFMT@
122GNOME_DESKTOP_SHARP_20_CFLAGS = @GNOME_DESKTOP_SHARP_20_CFLAGS@
123GNOME_DESKTOP_SHARP_20_LIBS = @GNOME_DESKTOP_SHARP_20_LIBS@
124GNOME_KEYRING_SHARP_CFLAGS = @GNOME_KEYRING_SHARP_CFLAGS@
125GNOME_KEYRING_SHARP_LIBS = @GNOME_KEYRING_SHARP_LIBS@
126GNOME_SHARP_20_CFLAGS = @GNOME_SHARP_20_CFLAGS@
127GNOME_SHARP_20_LIBS = @GNOME_SHARP_20_LIBS@
128GNOME_VFS_SHARP_20_CFLAGS = @GNOME_VFS_SHARP_20_CFLAGS@
129GNOME_VFS_SHARP_20_LIBS = @GNOME_VFS_SHARP_20_LIBS@
130GREP = @GREP@
131GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@
132GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@
133INSTALL = @INSTALL@
134INSTALL_DATA = @INSTALL_DATA@
135INSTALL_PROGRAM = @INSTALL_PROGRAM@
136INSTALL_SCRIPT = @INSTALL_SCRIPT@
137INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
138INSTOBJEXT = @INSTOBJEXT@
139INTLLIBS = @INTLLIBS@
140INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
141INTLTOOL_MERGE = @INTLTOOL_MERGE@
142INTLTOOL_PERL = @INTLTOOL_PERL@
143INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
144LDFLAGS = @LDFLAGS@
145LIBOBJS = @LIBOBJS@
146LIBS = @LIBS@
147LTLIBOBJS = @LTLIBOBJS@
148MAKEINFO = @MAKEINFO@
149MAUTIL = @MAUTIL@
150MCS = @MCS@
151MKDIR_P = @MKDIR_P@
152MKINSTALLDIRS = @MKINSTALLDIRS@
153MONO = @MONO@
154MONO_ADDINS_CFLAGS = @MONO_ADDINS_CFLAGS@
155MONO_ADDINS_GUI_CFLAGS = @MONO_ADDINS_GUI_CFLAGS@
156MONO_ADDINS_GUI_LIBS = @MONO_ADDINS_GUI_LIBS@
157MONO_ADDINS_LIBS = @MONO_ADDINS_LIBS@
158MONO_ADDINS_SETUP_CFLAGS = @MONO_ADDINS_SETUP_CFLAGS@
159MONO_ADDINS_SETUP_LIBS = @MONO_ADDINS_SETUP_LIBS@
160MSGFMT = @MSGFMT@
161MSGFMT_OPTS = @MSGFMT_OPTS@
162MSGMERGE = @MSGMERGE@
163NDESK_DBUS_10_CFLAGS = @NDESK_DBUS_10_CFLAGS@
164NDESK_DBUS_10_LIBS = @NDESK_DBUS_10_LIBS@
165NDESK_DBUS_GLIB_10_CFLAGS = @NDESK_DBUS_GLIB_10_CFLAGS@
166NDESK_DBUS_GLIB_10_LIBS = @NDESK_DBUS_GLIB_10_LIBS@
167NOTIFY_SHARP_CFLAGS = @NOTIFY_SHARP_CFLAGS@
168NOTIFY_SHARP_LIBS = @NOTIFY_SHARP_LIBS@
169OBJEXT = @OBJEXT@
170PACKAGE = @PACKAGE@
171PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
172PACKAGE_NAME = @PACKAGE_NAME@
173PACKAGE_STRING = @PACKAGE_STRING@
174PACKAGE_TARNAME = @PACKAGE_TARNAME@
175PACKAGE_VERSION = @PACKAGE_VERSION@
176PATH_SEPARATOR = @PATH_SEPARATOR@
177PKG_CONFIG = @PKG_CONFIG@
178POFILES = @POFILES@
179POSUB = @POSUB@
180PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
181PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
182SET_MAKE = @SET_MAKE@
183SHELL = @SHELL@
184STRIP = @STRIP@
185USE_NLS = @USE_NLS@
186VERSION = @VERSION@
187WNCK_SHARP_10_CFLAGS = @WNCK_SHARP_10_CFLAGS@
188WNCK_SHARP_10_LIBS = @WNCK_SHARP_10_LIBS@
189XGETTEXT = @XGETTEXT@
190abs_builddir = @abs_builddir@
191abs_srcdir = @abs_srcdir@
192abs_top_builddir = @abs_top_builddir@
193abs_top_srcdir = @abs_top_srcdir@
194ac_ct_CC = @ac_ct_CC@
195am__include = @am__include@
196am__leading_dot = @am__leading_dot@
197am__quote = @am__quote@
198am__tar = @am__tar@
199am__untar = @am__untar@
200bindir = @bindir@
201build_alias = @build_alias@
202builddir = @builddir@
203datadir = @datadir@
204datarootdir = @datarootdir@
205docdir = @docdir@
206dvidir = @dvidir@
207exec_prefix = @exec_prefix@
208expanded_bindir = @expanded_bindir@
209expanded_datadir = @expanded_datadir@
210expanded_libdir = @expanded_libdir@
211host_alias = @host_alias@
212htmldir = @htmldir@
213includedir = @includedir@
214infodir = @infodir@
215install_sh = @install_sh@
216libdir = @libdir@
217libexecdir = @libexecdir@
218localedir = @localedir@
219localstatedir = @localstatedir@
220mandir = @mandir@
221mkdir_p = @mkdir_p@
222oldincludedir = @oldincludedir@
223pdfdir = @pdfdir@
224prefix = @prefix@
225program_transform_name = @program_transform_name@
226psdir = @psdir@
227sbindir = @sbindir@
228sharedstatedir = @sharedstatedir@
229srcdir = @srcdir@
230sysconfdir = @sysconfdir@
231target_alias = @target_alias@
232top_build_prefix = @top_build_prefix@
233top_builddir = @top_builddir@
234top_srcdir = @top_srcdir@
235TARGET = library
236SOURCES_BUILD = $(addprefix $(srcdir)/, $(FILES))
237RESOURCES_EXPANDED = $(addprefix $(srcdir)/, $(RESOURCES))
238RESOURCES_BUILD = $(foreach resource, $(RESOURCES_EXPANDED), \
239 -resource:$(resource),$(notdir $(resource)))
240
241BUILD_DIR = $(top_builddir)/build
242ASSEMBLY_EXTENSION = $(strip $(patsubst library, dll, $(TARGET)))
243ASSEMBLY_FILE = $(BUILD_DIR)/$(ASSEMBLY).$(ASSEMBLY_EXTENSION)
244STD_REFERENCES = $(foreach ref,$(filter-out -r:%,$(REFERENCES)),-r:$(ref))
245BUILD_REFERENCES = $(filter -r:%,$(REFERENCES) $(STD_REFERENCES))
246MA_MANIFEST_FILE = $(filter %.addin.xml, $(RESOURCES_EXPANDED))
247MA_ADDIN_NAME = $(shell egrep -o -m 1 'id=".*"' $(MA_MANIFEST_FILE) \
248 | sed 's/id="//g' | sed 's/"//g')
249
250MA_ADDIN_VER = $(shell egrep -o -m 1 'version=".*"' $(MA_MANIFEST_FILE) \
251 | sed 's/version="//g' | sed 's/"//g')
252
253MA_ADDIN_NAMESPACE = Do
254MA_PACKFILE = $(MA_ADDIN_NAMESPACE).$(MA_ADDIN_NAME)_$(MA_ADDIN_VER).mpack
255OUTPUT_FILES = \
256 $(ASSEMBLY_FILE) \
257 $(ASSEMBLY_FILE).mdb
258
259
260# Install plugins as data; there's no need for them to be excutable
261plugindir = ${libdir}/gnome-do/plugins
262plugin_DATA = $(OUTPUT_FILES)
263
264# All plugins should be translatable; every plugin will need to link to
265# Mono.Addins for this.
266COMPONENT_REFERENCES = $(MONO_ADDINS_LIBS)
267MCS_FLAGS = $(MCS_LINQ_FLAG) -noconfig -codepage:utf8 -warn:4 \
268 $(am__append_1)
269
270#
271# Clean and dist targets
272#
273EXTRA_DIST = $(SOURCES_BUILD) $(RESOURCES_EXPANDED) $(THEME_ICONS_SOURCE) \
274 $(foreach pkgcfg_file, $(PKG_CONFIG_FILES), $(pkgcfg_file).in)
275
276CLEANFILES = $(OUTPUT_FILES) $(pkgconfig_DATA)
277DISTCLEANFILES = *.pidb
278MAINTAINERCLEANFILES = Makefile.in
279ASSEMBLY = CheckSpelling
280FILES = \
281 src/CheckSpellingAction.cs
282
283RESOURCES = \
284 Resources/CheckSpelling.addin.xml
285
286REFERENCES = \
287 System \
288 System.Core \
289 $(ENCHANTNET_LIBS) \
290 $(GTK_SHARP_20_LIBS) \
291 $(DO_PLATFORM_LIBS) \
292 $(DO_PLATFORM_LINUX_LIBS) \
293 $(DO_UNIVERSE_LIBS)
294
295all: all-am
296
297.SUFFIXES:
298$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/build.rules.mk $(am__configure_deps)
299 @for dep in $?; do \
300 case '$(am__configure_deps)' in \
301 *$$dep*) \
302 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
303 && { if test -f $@; then exit 0; else break; fi; }; \
304 exit 1;; \
305 esac; \
306 done; \
307 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign CheckSpelling/Makefile'; \
308 cd $(top_srcdir) && \
309 $(AUTOMAKE) --foreign CheckSpelling/Makefile
310.PRECIOUS: Makefile
311Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
312 @case '$?' in \
313 *config.status*) \
314 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
315 *) \
316 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
317 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
318 esac;
319
320$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
321 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
322
323$(top_srcdir)/configure: $(am__configure_deps)
324 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
325$(ACLOCAL_M4): $(am__aclocal_m4_deps)
326 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
327install-pluginDATA: $(plugin_DATA)
328 @$(NORMAL_INSTALL)
329 test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)"
330 @list='$(plugin_DATA)'; for p in $$list; do \
331 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
332 f=$(am__strip_dir) \
333 echo " $(pluginDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(plugindir)/$$f'"; \
334 $(pluginDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(plugindir)/$$f"; \
335 done
336
337uninstall-pluginDATA:
338 @$(NORMAL_UNINSTALL)
339 @list='$(plugin_DATA)'; for p in $$list; do \
340 f=$(am__strip_dir) \
341 echo " rm -f '$(DESTDIR)$(plugindir)/$$f'"; \
342 rm -f "$(DESTDIR)$(plugindir)/$$f"; \
343 done
344tags: TAGS
345TAGS:
346
347ctags: CTAGS
348CTAGS:
349
350
351distdir: $(DISTFILES)
352 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
353 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
354 list='$(DISTFILES)'; \
355 dist_files=`for file in $$list; do echo $$file; done | \
356 sed -e "s|^$$srcdirstrip/||;t" \
357 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
358 case $$dist_files in \
359 */*) $(MKDIR_P) `echo "$$dist_files" | \
360 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
361 sort -u` ;; \
362 esac; \
363 for file in $$dist_files; do \
364 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
365 if test -d $$d/$$file; then \
366 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
367 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
368 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
369 fi; \
370 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
371 else \
372 test -f $(distdir)/$$file \
373 || cp -p $$d/$$file $(distdir)/$$file \
374 || exit 1; \
375 fi; \
376 done
377check-am: all-am
378check: check-am
379all-am: Makefile $(DATA)
380installdirs:
381 for dir in "$(DESTDIR)$(plugindir)"; do \
382 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
383 done
384install: install-am
385install-exec: install-exec-am
386install-data: install-data-am
387uninstall: uninstall-am
388
389install-am: all-am
390 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
391
392installcheck: installcheck-am
393install-strip:
394 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
395 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
396 `test -z '$(STRIP)' || \
397 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
398mostlyclean-generic:
399
400clean-generic:
401 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
402
403distclean-generic:
404 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
405 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
406
407maintainer-clean-generic:
408 @echo "This command is intended for maintainers to use"
409 @echo "it deletes files that may require special tools to rebuild."
410 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
411clean: clean-am
412
413clean-am: clean-generic mostlyclean-am
414
415distclean: distclean-am
416 -rm -f Makefile
417distclean-am: clean-am distclean-generic
418
419dvi: dvi-am
420
421dvi-am:
422
423html: html-am
424
425info: info-am
426
427info-am:
428
429install-data-am: install-pluginDATA
430
431install-dvi: install-dvi-am
432
433install-exec-am:
434
435install-html: install-html-am
436
437install-info: install-info-am
438
439install-man:
440
441install-pdf: install-pdf-am
442
443install-ps: install-ps-am
444
445installcheck-am:
446
447maintainer-clean: maintainer-clean-am
448 -rm -f Makefile
449maintainer-clean-am: distclean-am maintainer-clean-generic
450
451mostlyclean: mostlyclean-am
452
453mostlyclean-am: mostlyclean-generic
454
455pdf: pdf-am
456
457pdf-am:
458
459ps: ps-am
460
461ps-am:
462
463uninstall-am: uninstall-pluginDATA
464
465.MAKE: install-am install-strip
466
467.PHONY: all all-am check check-am clean clean-generic distclean \
468 distclean-generic distdir dvi dvi-am html html-am info info-am \
469 install install-am install-data install-data-am install-dvi \
470 install-dvi-am install-exec install-exec-am install-html \
471 install-html-am install-info install-info-am install-man \
472 install-pdf install-pdf-am install-pluginDATA install-ps \
473 install-ps-am install-strip installcheck installcheck-am \
474 installdirs maintainer-clean maintainer-clean-generic \
475 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
476 uninstall-am uninstall-pluginDATA
477
478
479all: $(OUTPUT_FILES)
480
481reference-debug:
482 @echo $(BUILD_REFERENCES) $(COMPONENT_REFERENCES)
483 @echo $(RESOURCES_EXPANDED)
484 @echo $(MA_MANIFEST_FILE)
485
486$(ASSEMBLY_FILE).mdb: $(ASSEMBLY_FILE)
487
488$(ASSEMBLY_FILE): $(SOURCES_BUILD) $(RESOURCES_EXPANDED) $(COMPONENT_DEPS)
489 @mkdir -p $(BUILD_DIR)
490 @colors=no; \
491 case $$TERM in \
492 "xterm" | "rxvt" | "rxvt-unicode") \
493 test "x$$COLORTERM" != "x" && colors=yes ;; \
494 "xterm-color") colors=yes ;; \
495 esac; \
496 if [ "x$$colors" = "xyes" ]; then \
497 tty -s && true || { colors=no; true; } \
498 fi; \
499 test "x$$colors" = "xyes" && \
500 echo -e "\033[1mCompiling $(notdir $@)...\033[0m" || \
501 echo "Compiling $(notdir $@)...";
502 @$(MCS) $(MCS_FLAGS) -target:$(TARGET) -out:$@ $(BUILD_DEFINES) $(BUILD_REFERENCES) $(COMPONENT_REFERENCES) $(RESOURCES_BUILD) $(SOURCES_BUILD)
503 @if [ -e $(srcdir)/$(notdir $@.config) ]; then \
504 cp $(srcdir)/$(notdir $@.config) $(BUILD_DIR) ; \
505 fi;
506
507$(BUILD_DIR)/$(MA_PACKFILE): $(ASSEMBLY_FILE)
508 cd $(BUILD_DIR) && $(MAUTIL) pack $(ASSEMBLY_FILE)
509# Tell versions [3.59,3.63) of GNU make to not export all variables.
510# Otherwise a system limit (for SysV at least) may be exceeded.
511.NOEXPORT:
0512
=== added directory 'CheckSpelling/Resources'
=== added file 'CheckSpelling/Resources/CheckSpelling.addin.xml.in'
--- CheckSpelling/Resources/CheckSpelling.addin.xml.in 1970-01-01 00:00:00 +0000
+++ CheckSpelling/Resources/CheckSpelling.addin.xml.in 2009-08-12 15:00:47 +0000
@@ -0,0 +1,26 @@
1<Addin
2 id="CheckSpelling"
3 namespace="Do"
4 version="1.0"
5 name="CheckSpelling"
6 description="Fix your spelling"
7 author="Nicholas Marshall"
8 category="Community"
9 defaultEnabled="false"
10 >
11
12 <Runtime>
13 <Import assembly="CheckSpelling.dll"/>
14 </Runtime>
15
16 <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" />
17
18 <Dependencies>
19 <Addin id="Universe" version="1.0" />
20 </Dependencies>
21
22 <!-- Extensions included in this assembly -->
23 <Extension path= "/Do/Action">
24 <Action type="CheckSpelling.CheckSpellingAction" />
25 </Extension>
26</Addin>
027
=== added directory 'CheckSpelling/src'
=== added file 'CheckSpelling/src/CheckSpellingAction.cs'
--- CheckSpelling/src/CheckSpellingAction.cs 1970-01-01 00:00:00 +0000
+++ CheckSpelling/src/CheckSpellingAction.cs 2009-08-12 15:00:47 +0000
@@ -0,0 +1,78 @@
1//
2// Copyright (C) 2009 Nicholas Marshall
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
16//
17
18using System;
19using System.Collections.Generic;
20using System.Linq;
21using System.Text.RegularExpressions;
22
23using Enchant;
24using Mono.Addins;
25
26using Do.Universe;
27using Do.Universe.Common;
28
29
30namespace CheckSpelling
31{
32
33
34 public class CheckSpellingAction: Act
35 {
36 public override string Name { get { return AddinManager.CurrentLocalizer.GetString ("Check Spelling"); } }
37 public override string Description { get { return AddinManager.CurrentLocalizer.GetString ("Checks Spelling"); } }
38 public override string Icon { get { return "text-editor"; } }
39
40 private Broker broker;
41 private Enchant.Dictionary dictionary;
42
43 public override IEnumerable<Type> SupportedItemTypes {
44 get {
45 yield return typeof (ITextItem);
46 }
47 }
48
49 public override IEnumerable<Item> Perform (IEnumerable<Item> items, IEnumerable<Item> modItems)
50 {
51 broker = new Broker();
52 dictionary = broker.RequestDictionary("en_US");
53
54 //enumerate each Item stoping on the first one that is misspelled
55 //then showing the suggested replacements
56
57 //string allText = from p in items as ITextItem.Text
58 //// select p ;
59 string text = (items.First () as ITextItem).Text;
60
61
62 Regex regex = new Regex(@"\W");
63 foreach (string sub in regex.Split(text))
64 {
65
66 if(!dictionary.Check(sub))
67 {
68 IEnumerable<Item> suggestedItems = from t in dictionary.Suggest(sub)
69 select new TextItem(t) as Item;
70
71 return suggestedItems;
72 }
73 }
74
75 return items;
76 }
77 }
78}
079
=== modified file 'DoPlugins.mds'
--- DoPlugins.mds 2009-06-11 07:36:57 +0000
+++ DoPlugins.mds 2009-08-12 15:07:14 +0000
@@ -73,6 +73,7 @@
73 <Entry build="True" name="Emesene" configuration="Debug" />73 <Entry build="True" name="Emesene" configuration="Debug" />
74 <Entry build="True" name="Dropbox" configuration="Debug" />74 <Entry build="True" name="Dropbox" configuration="Debug" />
75 <Entry build="True" name="RemindMe" configuration="Debug" />75 <Entry build="True" name="RemindMe" configuration="Debug" />
76 <Entry build="True" name="CheckSpelling" configuration="Debug" />
76 </Configuration>77 </Configuration>
77 <Configuration name="Release" ctype="CombineConfiguration">78 <Configuration name="Release" ctype="CombineConfiguration">
78 <Entry build="True" name="Rhythmbox" configuration="Release" />79 <Entry build="True" name="Rhythmbox" configuration="Release" />
@@ -147,6 +148,7 @@
147 <Entry build="True" name="Emesene" configuration="Release" />148 <Entry build="True" name="Emesene" configuration="Release" />
148 <Entry build="True" name="Dropbox" configuration="Release" />149 <Entry build="True" name="Dropbox" configuration="Release" />
149 <Entry build="True" name="RemindMe" configuration="Release" />150 <Entry build="True" name="RemindMe" configuration="Release" />
151 <Entry build="True" name="CheckSpelling" configuration="Release" />
150 </Configuration>152 </Configuration>
151 </Configurations>153 </Configurations>
152 <StartMode startupentry="Rhythmbox" single="True">154 <StartMode startupentry="Rhythmbox" single="True">
@@ -222,6 +224,7 @@
222 <Execute type="None" entry="Emesene" />224 <Execute type="None" entry="Emesene" />
223 <Execute type="None" entry="Dropbox" />225 <Execute type="None" entry="Dropbox" />
224 <Execute type="None" entry="RemindMe" />226 <Execute type="None" entry="RemindMe" />
227 <Execute type="None" entry="CheckSpelling" />
225 </StartMode>228 </StartMode>
226 <MonoDevelop.ChangeLogAddIn.ChangeLogInfo policy="UpdateNearestChangeLog" />229 <MonoDevelop.ChangeLogAddIn.ChangeLogInfo policy="UpdateNearestChangeLog" />
227 <Entries>230 <Entries>
@@ -297,5 +300,6 @@
297 <Entry filename="Emesene/Emesene.mdp" />300 <Entry filename="Emesene/Emesene.mdp" />
298 <Entry filename="Dropbox/Dropbox.mdp" />301 <Entry filename="Dropbox/Dropbox.mdp" />
299 <Entry filename="RemindMe/RemindMe.mdp" />302 <Entry filename="RemindMe/RemindMe.mdp" />
303 <Entry filename="CheckSpelling/CheckSpelling.mdp" />
300 </Entries>304 </Entries>
301</Combine>305</Combine>
302\ No newline at end of file306\ No newline at end of file
303307
=== modified file 'Makefile.am'
--- Makefile.am 2009-05-22 18:34:39 +0000
+++ Makefile.am 2009-08-12 15:00:47 +0000
@@ -9,6 +9,7 @@
9 Archive \9 Archive \
10 Banshee \10 Banshee \
11 Bibtex \11 Bibtex \
12 CheckSpelling \
12 Cl.ickable \13 Cl.ickable \
13 ClawsMail \14 ClawsMail \
14 Confluence \15 Confluence \
1516
=== modified file 'RememberTheMilk/RTM.mdp'
--- RememberTheMilk/RTM.mdp 2009-06-23 11:37:19 +0000
+++ RememberTheMilk/RTM.mdp 2009-08-12 15:07:14 +0000
@@ -124,4 +124,4 @@
124 <ProjectReference type="Gac" localcopy="True" refto="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />124 <ProjectReference type="Gac" localcopy="True" refto="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
125 </References>125 </References>
126 <GtkDesignInfo gettextClass="Mono.Addins.AddinManager.CurrentLocalizer" />126 <GtkDesignInfo gettextClass="Mono.Addins.AddinManager.CurrentLocalizer" />
127</Project>127</Project>
128\ No newline at end of file128\ No newline at end of file
129129
=== modified file 'WindowManager/WindowManager.mdp'
--- WindowManager/WindowManager.mdp 2009-06-23 00:52:54 +0000
+++ WindowManager/WindowManager.mdp 2009-08-12 15:07:14 +0000
@@ -50,8 +50,8 @@
50 <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" />50 <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" />
51 <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" />51 <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" />
52 <ProjectReference type="Gac" localcopy="True" refto="Do.Interface.Wink, Version=0.9.0.0, Culture=neutral" />52 <ProjectReference type="Gac" localcopy="True" refto="Do.Interface.Wink, Version=0.9.0.0, Culture=neutral" />
53 <ProjectReference type="Gac" localcopy="True" refto="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
53 <ProjectReference type="Gac" localcopy="True" refto="Do.Interface.Wink, Version=1.0.3375.29611, Culture=neutral" />54 <ProjectReference type="Gac" localcopy="True" refto="Do.Interface.Wink, Version=1.0.3375.29611, Culture=neutral" />
54 <ProjectReference type="Gac" localcopy="True" refto="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
55 </References>55 </References>
56 <LanguageParameters ApplicationIcon="." ctype="CSharpProjectParameters" />56 <LanguageParameters ApplicationIcon="." ctype="CSharpProjectParameters" />
57</Project>57</Project>
58\ No newline at end of file58\ No newline at end of file
5959
=== modified file 'configure.ac'
--- configure.ac 2009-06-26 05:58:03 +0000
+++ configure.ac 2009-08-12 15:00:47 +0000
@@ -80,6 +80,25 @@
80AC_SUBST([EVOLUTION_SHARP_LIBS])80AC_SUBST([EVOLUTION_SHARP_LIBS])
81dnl }}}81dnl }}}
8282
83dnl {{{ check for Enchant
84AC_ARG_ENABLE(enchant,
85 AC_HELP_STRING([--enable-enchant], [Build plugin to check spelling using enchant (default: auto)]),
86 enable_enchant=$enableval,
87 enable_enchant=auto)
88
89if test "x$enable_enchant" != "xno"; then
90 PKG_CHECK_MODULES([ENCHANTNET], [enchant-net], HAVE_ENCHANT=yes, HAVE_ENCHANT=no)
91
92 if test "x$enable_enchant" = "xyes" -a "x$HAVE_ENCHANT" = "xno"; then
93 AC_MSG_ERROR([Enchant support explicitly requested but dependencies not found])
94 fi
95fi
96
97AM_CONDITIONAL(HAVE_ENCHANT, test "x$HAVE_ENCHANT" = "xyes")
98
99AC_SUBST([ENCHANTNET_LIBS])
100dnl }}}
101
83dnl {{{ check for Flickr102dnl {{{ check for Flickr
84AC_ARG_ENABLE(flickr,103AC_ARG_ENABLE(flickr,
85 AC_HELP_STRING([--enable-flickr], [Build plugin to interact with flickr using flickrnet (default: auto)]),104 AC_HELP_STRING([--enable-flickr], [Build plugin to interact with flickr using flickrnet (default: auto)]),
@@ -250,6 +269,8 @@
250Banshee/Resources/Banshee.addin.xml269Banshee/Resources/Banshee.addin.xml
251Bibtex/Makefile270Bibtex/Makefile
252Bibtex/Resources/Bibtex.addin.xml271Bibtex/Resources/Bibtex.addin.xml
272CheckSpelling/Makefile
273CheckSpelling/Resources/CheckSpelling.addin.xml
253Cl.ickable/Makefile274Cl.ickable/Makefile
254Cl.ickable/Resources/Cl.ickable.addin.xml275Cl.ickable/Resources/Cl.ickable.addin.xml
255ClawsMail/Makefile276ClawsMail/Makefile

Subscribers

People subscribed via source and target branches