Re: [Mono-list] del.icio.us library?

2007-04-26 Thread Timothy Parez
Hi,

I checked out the current SVN and tried the following
// project created on 4/27/2007 at 8:25 AM

using System;
using Deveel.Delicious;
namespace DelTest
{
class MainClass
{
public static void Main(string[] args)
{
DeliciousClient client = new
DeliciousClient("myusernamehere","myverysecretpass");
Console.ReadLine();
DeliciousPostCollection posts = client.GetAllPosts();

foreach(DeliciousPost post in posts)
{
Console.WriteLine("{0}\n
\t{1}",post.Description,post.Url.ToString());
}
Console.ReadLine();
Console.WriteLine("done");
}
}
}

I get the following:
Unhandled Exception: Deveel.Delicious.DeliciousClientException: Error
getting response stream (Trust failure): TrustFailure
  at Deveel.Delicious.DeliciousClient.GetAllPosts (System.String tag)
[0x0] 
  at Deveel.Delicious.DeliciousClient.GetAllPosts () [0x0] 
  at DelTest.MainClass.Main (System.String[] args) [0x00016]
in /home/timothy/sources/delicious/DelTest/DelTest/Main.cs:12 

but my username/password configuration is correct, unless I need to
specify it in a different way ?

Looking forward to using this library !! :)

Timothy.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mkbunde: no entry point

2007-04-26 Thread Julien Sobrier
Julien Sobrier wrote:
> Robert Jordan wrote:
>> Julien Sobrier wrote:
>>> Hello,
>>> I've tried mkbundle2 with mono 1.2.3.1 on a project composed of a couple
>>> of assemblies (1 exe + 4 dll). Everything went fine except for this
>>> error message repeated serveral time:
>>> temp.c: In function 'install_dll_config_files':
>>> temp.c:142: warning: pointer targets in passing argument 2 of
>>> 'mono_register_config_for_assembly' differ in signedness
>>>
>>> When I try to execute the resulting program,I get this error: Assembly
>>> 'data-0x8049ac0' doesn't have an entry point.
>>>
>>> Here is the complete output:
>>> [EMAIL PROTECTED] test]$ sudo mkbundle2 -o test 1.dll 2.dll 3.dll test.exe 
>>> --deps
>> You must pass test.exe (the assembly with the entry point)
>> as the first assembly on the command line.
>>
>> Robert
> 
> Thank you. Now there is a problem with generics:
> no implementation for interface method
> System.Collections.Generic.IList::get_Item(int) in class
> System.String[]
> METHOD .ctor(int)

Sorry for the noise, it was a problem with my set up.

Thank you
Julien
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] [ANN] CodePlex Client - Team Foundation for Mono Release v0.4.2

2007-04-26 Thread joel reed
Looking for a client to access CodePlex from a Mac or Linux box?

I'd like to announce version 0.4.2 of Team Foundation for Mono which 
provides a client for accessing Team Foundation Servers (like the one 
which serves CodePlex) as well as the Microsoft.TeamFoundation.* 
assemblies related to Version Control. An example of accessing CodePlex
to pull the latest version of the "Turtle" project is below.

A Google Code Project Site has been setup. The URL is: 
http://code.google.com/p/tf4mono/

Highlights of this release include:
===

1. tf.exe supports two new commands: "ls-files" and "properties".

ls-files has options to show modified, out-of-date, unknown, and locally 
deleted file listings. This functionality doesn't exist in the Microsoft 
tf.exe client, and may be a reason to run tf4mono's tf.exe on Windows.

2. the tf.exe undo command now restores deleted files

3. tf.exe now compiles/runs on MS CLR.

4. Added API support for querying ExtendedItems.

5. Debian packages via "make dist"

6. Add GettingEventHandler, PendingChangeEventHandler, 
ProcessingChangeEventHandler, and OperationStatus delegates.

7. Many bug fixes were made to APIs, and client utility while testing on 
Windows. Greatly improved handling of ~/.tf/VersionControl.config cache.

8. Start of MonoDevelop plugin based on Subversion plugin. I'm not quite 
sure I can really map the way Team Foundation works onto the MonoDevelop 
VersionControl framework, but we'll see. Fundamentally, the way TFS 
works is much different than SVN.

Please note that this software is alpha. Use it at your own risk!

CodePlex Example Usage
===
In the commands below,
   UID = your codeplex user name
   PWD = your codeplex password
   MACHINENAME = your machine name (or any other random name)

First create a workspace:

tf.exe /server:https://tfs01.codeplex.com:443 /login:snd\\UID,PWD 
workspace /new "MACHINENAME;UID"

Then map "Turtle" project to a local folder:

tf.exe /server:https://tfs01.codeplex.com:443 /login:snd\\UID,PWD 
workfold "$/Turtle" ~/Source/turtle

Then pull the files:

tf.exe /server:https://tfs01.codeplex.com:443 /login:snd\\UID,PWD get 
~/Source/turtle /recursive


Source and Packages
===
Debian packages and source tarball available here:
   http://code.google.com/p/tf4mono/downloads/list

Additionally, a git clone of the source tree can be made with:

git clone git://repo.or.cz/tfs.git

will include a signed v0.4.2 tag which points to a commit named:

a5a20e894192791df6558747bb0302559090c5bd

which can be verified with:

gpg --keyserver hkp://keyserver.veridis.com --recv-keys 0xB1850655

git verify-tag v0.4.2

and can be checked out with a command such as:

git checkout -b build v0.4.2

Enjoy,

jr




___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mkbunde: no entry point

2007-04-26 Thread Julien Sobrier
Robert Jordan wrote:
> Julien Sobrier wrote:
>> Hello,
>> I've tried mkbundle2 with mono 1.2.3.1 on a project composed of a couple
>> of assemblies (1 exe + 4 dll). Everything went fine except for this
>> error message repeated serveral time:
>> temp.c: In function 'install_dll_config_files':
>> temp.c:142: warning: pointer targets in passing argument 2 of
>> 'mono_register_config_for_assembly' differ in signedness
>>
>> When I try to execute the resulting program,I get this error: Assembly
>> 'data-0x8049ac0' doesn't have an entry point.
>>
>> Here is the complete output:
>> [EMAIL PROTECTED] test]$ sudo mkbundle2 -o test 1.dll 2.dll 3.dll test.exe 
>> --deps
> 
> You must pass test.exe (the assembly with the entry point)
> as the first assembly on the command line.
> 
> Robert

Thank you. Now there is a problem with generics:
no implementation for interface method
System.Collections.Generic.IList::get_Item(int) in class
System.String[]
METHOD .ctor(int)

** ERROR **: file class.c: line 2072 (mono_class_setup_vtable_general):
should not be reached
aborting...
Stacktrace:


Native stacktrace:

/home/julien/mono-1.2.3.1//lib/libmono.so.0 [0xb7da3721]
/home/julien/mono-1.2.3.1//lib/libmono.so.0 [0xb7d7eb09]
[0xe440]
/lib/i686/libc.so.6(abort+0x101) [0xb7b3f851]
/usr/lib/libglib-2.0.so.0(g_logv+0x3ff) [0xb7c77d4f]

Debug info from gdb:



=
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=

Aborted
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] del.icio.us library?

2007-04-26 Thread Antonello Provenzano
Jacobo,

Thank you for the compliment.

As soon as possible I will publish the binaries also (but it's not
complex to compile it by yourself, since it doesn't require any
special pre-procedure).

Cheers
Antonello



On 4/24/07, Jacobo Polavieja <[EMAIL PROTECTED]> wrote:
> Antonello Provenzano escribió:
> > Jacobo,
> >
> >> Whenever you can please post the project page. I can't wait start
> >> working with it :).
> >
> >
> > The project page is http://sourceforge.net/projects/delicious-net
> >
> > You will find the source code already in the SVN repo, although I
> > haven't produced the binaries yet, it is stable...
> >
> > Cheers.
> > Antonello
> >
> >
> > On 4/12/07, Jacobo Polavieja <[EMAIL PROTECTED]> wrote:
> >> Antonello Provenzano escribió:
> >> > Jacobo,
> >> >
> >> > The project is finished and tested, and SourceForge.net has
> >> > established the project space: as you I've been to vacation also (that
> >> > for me it means I worked on some algorithms for shortest-path
> >> > computation...).
> >> >
> >> > This evening I will checkin the latest sources and the binaries.
> >> >
> >> > Cheers.
> >> > Antonello
> >> >
> >> >
> >> > On 4/8/07, Jacobo Polavieja <[EMAIL PROTECTED]> wrote:
> >> >> > Jacobo,
> >> >> >
> >> >> > I've finished implementing the library (it took me one morning
> >> about)
> >> >> > and I'm going to test it in a while, then I will publish it.
> >> >> >
> >> >> > Cheers.
> >> >> > Antonello
> >> >> >
> >> >>
> >> >> Sorry for not responding before, I've been away on vacation.
> >> >>
> >> >> When the project is online, please let me know. I'll try to be
> >> useful in
> >> >> debugging ;-).
> >> >>
> >> >> Thanks for the hard work.
> >> >>
> >> >> Cheers!
> >> >>
> >> >
> >> Whenever you can please post the project page. I can't wait start
> >> working with it :).
> >>
> >> Those are good holidays!
> >>
> >>
> >> Thanks. Cheers!
> >>
> >
>
> I haven't had time to play around with the library, just a quick
> overview through SVN, but it seems perfect!
>
> I'll let you know if you want when I do some small program with it. I
> don't promise nothing impressive... :).
>
> Thanks! See you!
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Line numbers in exceptions

2007-04-26 Thread Rolf Bjarne Kvinge
> 
> Also, they say on the debugging page that using the --debug command
> line option will result in slower execution.  How much slower is this to
use
> that option?  Have you ever made benchmarks for this?

I've never noticed any slowdown, so there's not much difference I suppose.
Haven't done any benchmarks either though :)

Rolf


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Line numbers in exceptions

2007-04-26 Thread Jonathan Gagnon
Thanks for the information.  IMO, that would be a good tip to put in the
mono debugging page (http://www.mono-project.com/Debugging).

Little question : Using the mdb I created with pdb2mdb, I now get the line
numbers, but the offset is different and the column is 0.  Is it normal?

Also, they say on the debugging page that using the --debug command line
option will result in slower execution.  How much slower is this to use that
option?  Have you ever made benchmarks for this?

Thanks,

Jonathan

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Robert Jordan
Envoyé : Thursday, April 26, 2007 5:12 AM
À : Mono-list@lists.ximian.com
Objet : Re: [Mono-list] Line numbers in exceptions

Hi,

Rolf Bjarne Kvinge wrote:
> 
>> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan 
> Gagnon
>> Sent: miércoles, 25 de abril de 2007 19:15
>> To: mono-list@lists.ximian.com
>> Subject: [Mono-list] Line numbers in exceptions
>>
>> Hi,
>>  
>> I have a program that is compiled with Visual Studio.  When I run it 
>> in
> .NET, I get the line numbers in the string generated by 
> Exception.ToString().  But when I run it with Mono, I don't get the 
> line numbers.  I tried using the -->debug flag and it doesn't change 
> anything, I still don't have the line numbers.  I suspect that this is 
> because I compiled my application with Visual Studio and that Mono 
> can't use the .pdb files.  Am I right?  If I am right, is >there a way 
> to at least get the IL offset in the file?  It seems to always return 0 in
my case.
> Mono can't read pdb files, you have to recompile the assemblies with 
> any of the mono compilers (mcs / gmcs) in order to get the line numbers.

You may use this tool to convert pdbs to mdbs:

http://lists.ximian.com/pipermail/mono-list/2006-September/032692.html
http://lists.ximian.com/pipermail/mono-list/2006-September/032693.html

Robert

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] GTK# for .NET 2.0

2007-04-26 Thread Tom Opgenorth
Hello,

I'm just getting started with GTK#, and I was curious if there is a
Win32 installer specifically for .NET 2.0?  I found the Win32
installer for .NET 1.1 - should I just use that?

Thx.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Line numbers in exceptions

2007-04-26 Thread Robert Jordan
Hi,

Rolf Bjarne Kvinge wrote:
> 
>> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Gagnon
>> Sent: miércoles, 25 de abril de 2007 19:15
>> To: mono-list@lists.ximian.com
>> Subject: [Mono-list] Line numbers in exceptions
>>
>> Hi,
>>  
>> I have a program that is compiled with Visual Studio.  When I run it in
> .NET, I get the line numbers in the string generated by
> Exception.ToString().  But when I run it with Mono, I don't get the line
> numbers.  I tried using the -->debug flag and it doesn't change anything, I
> still don't have the line numbers.  I suspect that this is because I
> compiled my application with Visual Studio and that Mono can't use the .pdb
> files.  Am I right?  If I am right, is >there a way to at least get the IL
> offset in the file?  It seems to always return 0 in my case.
> Mono can't read pdb files, you have to recompile the assemblies with any of
> the mono compilers (mcs / gmcs) in order to get the line numbers.

You may use this tool to convert pdbs to mdbs:

http://lists.ximian.com/pipermail/mono-list/2006-September/032692.html
http://lists.ximian.com/pipermail/mono-list/2006-September/032693.html

Robert

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mkbunde: no entry point

2007-04-26 Thread Robert Jordan
Julien Sobrier wrote:
> Hello,
> I've tried mkbundle2 with mono 1.2.3.1 on a project composed of a couple
> of assemblies (1 exe + 4 dll). Everything went fine except for this
> error message repeated serveral time:
> temp.c: In function 'install_dll_config_files':
> temp.c:142: warning: pointer targets in passing argument 2 of
> 'mono_register_config_for_assembly' differ in signedness
> 
> When I try to execute the resulting program,I get this error: Assembly
> 'data-0x8049ac0' doesn't have an entry point.
> 
> Here is the complete output:
> [EMAIL PROTECTED] test]$ sudo mkbundle2 -o test 1.dll 2.dll 3.dll test.exe 
> --deps

You must pass test.exe (the assembly with the entry point)
as the first assembly on the command line.

Robert

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list