So we have done a first rough port of
jabber.net to NETCF20.
We created a VS 2008 solution (VS 2008 supports both NETCF20 and
NETCF35 so I thought this was a good choice) and we defined the
NETCF20 directive so that we can better chunk out / chunk in Compact
Framework capabilties as we go along.
We have also defined many of the other disabling directives like
NO_COMPRESSION, NO_SSL, OLD_FRAMEWORK (I think that was it) etc.
I would say its a pretty rough port by disabling a bunch of code. But
we have it logging in as Plain Text currently and things seem to be
working although not a ton of extensive testing as of yet.
We would like to contribute this back to jabber-net so others can
benefit but we have a few questions:
1. For porting simplicity we didn't want to #if !NETCF20 a ton of
attributes all over the library as the source would get VERY ugly in a
hurry so we carried across many Mono attributes and placed them in a
folder structure like System\ComponentModel etc. Is this fine for you
guys if we include Mono sources for stubbing out these things?
2. Enabling TLS / OR Compression would be very ideal for the CF
because data plans cost money and compression of some sort is
important. TLS would be ideal because I think it includes encryption &
compression correct?
3. How can we formally introduce a patch for integration? I've never
done one before :)
I hope some people here are excited for
jabber.net on the CF I know we
are!