[Mono-list] RE: Mono-list digest, Vol 1 #1771 - 16 msgs
jeremy@jeremyvaught.com
jeremy@jeremyvaught.com
Mon, 7 Jun 2004 18:04:49 -0700
-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]On Behalf Of
mono-list-request@lists.ximian.com
Sent: Monday, June 07, 2004 7:49 AM
To: mono-list@lists.ximian.com
Subject: Mono-list digest, Vol 1 #1771 - 16 msgs
Send Mono-list mailing list submissions to
mono-list@lists.ximian.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ximian.com/mailman/listinfo/mono-list
or, via email, send a message with subject or body 'help' to
mono-list-request@lists.ximian.com
You can reach the person managing the list at
mono-list-admin@lists.ximian.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mono-list digest..."
Today's Topics:
1. Re: Assembly.CodeBase (Jonathan Pryor)
2. Re: Assembly.CodeBase (Black Fox)
3. Re: webservices / error401 / credentials / modmono (Black Fox)
4. Red Carpet and Fedora Core2 (beniniva@csr.unibo.it)
5. Re: webservices / error401 / credentials / modmono (KiOrKY)
6. Re: Difference between mono and mint ? (HannibAl Bundie)
7. Re: webservices / error401 / credentials / modmono (Jonathan Stowe)
8. MonoDevelop crashes on startup (Willem.Smit@sanlam.co.za)
9. Re: Monodevelop crashes on startup (Willem.Smit@sanlam.co.za)
10. wine / segmentation fault / bug? (KiOrKY)
11. Re: Difference between mono and mint ? (A Rafael D Teixeira)
12. xsp et mono (KiOrKY)
13. Re: AW: [Mono-list] System.IO.Directory.GetFiles does not return
allfiles (Dick Porter)
14. Re: AW: [Mono-list] System.IO.Directory.GetFiles does not return
allfiles (Jeffrey Stedfast)
--__--__--
Message: 1
Subject: Re: [Mono-list] Assembly.CodeBase
From: Jonathan Pryor <jonpryor@vt.edu>
To: Pedro Santos <psantos@oninetspeed.pt>
Cc: mono-list@lists.ximian.com
Date: Mon, 07 Jun 2004 06:36:58 -0400
On Sun, 2004-06-06 at 03:24, Pedro Santos wrote:
> Hello. If I call CodeBase in Mono/Linux, I get:
> file:///path/to/assembly/assemly.dll
>
> In Microsoft .NET/Windows I get:
> file:///c:/path/to/assembly/assembly.dll
>
> Doens't MS.NET code have an extra '/' afer 'file:' ?
No. See RFC 2396: http://www.ietf.org/rfc/rfc2396.txt
A hierarchical URI is (Section 3): <scheme>://<authority><path>?<query>
As for Authority (Section 3.2):
The authority component is preceded by a double slash "//" and is
terminated by the next slash "/", question-mark "?", or by the end of
the URI.
Basically, that "extra" slash is needed to terminate the "authority"
section of the URI. The "c:/..." isn't the authority (host), it's the
path.
> I need to isolate
> the URL from the CodeBase, and this way I can't have a way that works
> everywhere. Because Linux I have to remove `file://`, and in win
> `file:///`.
Have you considered just skipping the whole issue and using
Assembly.Location, which is just the local path? That way, you don't
have to worry about URIs for local paths, un-escaping escaped (hex)
characters, and other issues.
- Jon
--__--__--
Message: 2
Date: Mon, 07 Jun 2004 13:21:16 +0200
From: Black Fox <black-fox@virtualblackfox.net>
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Assembly.CodeBase
> Doens't MS.NET code have an extra '/' afer 'file:' ? I need to isolate
> the URL from the CodeBase, and this way I can't have a way that works
> everywhere. Because Linux I have to remove `file://`, and in win
> `file:///`.
For windows the file:/// is normal, protocol://server/path there is no
server so the adress begin with file:///.
For linux i don't know.
--__--__--
Message: 3
Date: Mon, 07 Jun 2004 13:25:23 +0200
From: Black Fox <black-fox@virtualblackfox.net>
To: KiOrKY <kiorky@goddess-gate.com>
Cc: Mono-List <mono-list@lists.ximian.com>
Subject: Re: [Mono-list] webservices / error401 / credentials / modmono
KiOrKY said the following:
>>Is the IIS configured to use Basic Authentication or the windows
>>integrated authentication? If the latter I think you will find it wil=
l
>>work if you use the former.
> i had tried both. Whats Former?
> Jonathan Stowe <jns@gellyfish.com> a =E9crit :
http://dictionary.cambridge.org/define.asp?key=3Dformer*2+0
Sa phrase se traduit ainsi : Si tu utilise la seconde m=E9thode je pense =
que tu t'appercevras que =E7a fonctionne avec le premi=E8re.
--__--__--
Message: 4
Date: Mon, 7 Jun 2004 13:26:39 +0200
From: beniniva@csr.unibo.it
To: mono-list@lists.ximian.com
Subject: [Mono-list] Red Carpet and Fedora Core2
I've replace RedHat Fedora Core 1 with Fedora Core 2.
I would install Red Carpet but there isn't any packages for FC2 and the FC1
packages give me this error:
"/usr/lib/red-carpet/red_extra/__init__.py:2:RuntimeWarning: Python C API
version mistmatch for module xxx_red_extra:This Python has API version 1012,
module xxx_red_extra version 1011.
from xxx_red_extra import*"
What can I do to get Red Carpet for FC2?
Thanks in advance.
Valentina.
--__--__--
Message: 5
To: Cory Nelson <phrosty@gmail.com>,
Jonathan Stowe <jns@gellyfish.com>,
Mono-List <mono-list@lists.ximian.com>
Subject: Re: [Mono-list] webservices / error401 / credentials / modmono
From: KiOrKY <kiorky@goddess-gate.com>
Date: Mon, 7 Jun 2004 13:34:16 +0200
Reply-To: KiOrKY <kiorky@goddess-gate.com>
thanks, it works. Is there a mean to make it work witjh windows integrated
authentification System?
regards
Cory Nelson <phrosty@gmail.com> a écrit :
> Former == first of two things, Latter == second. In this case Basic
> Authentication and Windows Authentication.
>
> On Mon, 7 Jun 2004 11:38:16 +0200, KiOrKY <kiorky@goddess-gate.com>
> wrote:
> >
> > i had tried both. Whats Former?
> > Jonathan Stowe <jns@gellyfish.com>
> a écrit :
> >
> > > On Mon, 2004-06-07 at 08:38, KiOrKY wrote:
> > > &gt; but for:
> > > &gt;
> > > &gt; does mono implement credentials because when i want to
use a
> distant
> > > webservice on an IIS server i get ann 401 (access refused)
error.
> > > &gt; But when i accept anonymous request this 401 error
> disappear!
> > > &gt; the code of the webservice:
> > >
> > > Is the IIS configured to use Basic Authentication or the windows
> > > integrated authentication? If the latter I think you will find
it
> will
> > > work if you use the former.
> > >
> > > /J\
> >
> >
> >
> > --
> > ----------------------------
> > - Gloire au monde libre -
> > ----------------------------
> > I{ i () r |{ Y
> > Debian User
> > ---------------------------------------------
> > -- Mathieu PASQUET
> > -- Testeur Debian SID
> > -- irc: #debian-fr / irc.freenode.net port: 6667
> > -- Site: www.fr.debian.org
> > ---------------------------------------------
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
--
----------------------------
- Gloire au monde libre -
----------------------------
I{ i () r |{ Y
Debian User
---------------------------------------------
-- Mathieu PASQUET
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667
-- Site: www.fr.debian.org
---------------------------------------------
--__--__--
Message: 6
From: "HannibAl Bundie" <hannibalbundie@hotmail.com>
To: iain@mccoy.id.au
Cc: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Difference between mono and mint ?
Date: Mon, 07 Jun 2004 14:01:13 +0200
Thanks.
Finally, I've found a little bit more explanation here :
http://www.go-mono.com/mono-beginning/x145.html
Regards
>From: Iain McCoy <iain@mccoy.id.au>
>To: HannibAl Bundie <hannibalbundie@hotmail.com>
>CC: mono-list@lists.ximian.com
>Subject: Re: [Mono-list] Difference between mono and mint ?
>Date: Mon, 07 Jun 2004 19:45:32 +1000
>
>On Mon, 2004-06-07 at 19:12, HannibAl Bundie wrote:
> > Hi,
> >
> > I'm sorry, but I don't understand the difference between the runtimes
>mono
> > and mint. The web page about the Mono runtime on www.go-mono.com doesn't
> > satisfy me.
> >
> > Could anyone explain this point or give a link about this subject please
>?
> >
> > Thanks in advance
>The mono binary is a JIT, while mint is an interpreter. As I understand
>it, the JIT is faster but mint is easier to get running on a new
>platform.
>--
>Iain McCoy <iain@mccoy.id.au>
>
>_______________________________________________
>Mono-list maillist - Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
_________________________________________________________________
Bloquez les fenêtres pop-up, c'est gratuit ! http://toolbar.msn.fr
--__--__--
Message: 7
Subject: Re: [Mono-list] webservices / error401 / credentials / modmono
From: Jonathan Stowe <jns@gellyfish.com>
To: Mono-List <mono-list@lists.ximian.com>
Date: Mon, 07 Jun 2004 13:39:18 +0100
On Mon, 2004-06-07 at 12:34, KiOrKY wrote:
> thanks, it works. Is there a mean to make it work witjh windows integrated
authentification System?
At a guess I would say supplying a patch that implemented NTLM Challenge
Response authentication would do it :-)
/J\
> regards
> Cory Nelson <phrosty@gmail.com> a écrit :
>
> > Former == first of two things, Latter == second. In this case Basic
> > Authentication and Windows Authentication.
> >
> > On Mon, 7 Jun 2004 11:38:16 +0200, KiOrKY
<kiorky@goddess-gate.com>
> > wrote:
> > >
> > > i had tried both. Whats Former?
> > > Jonathan Stowe <jns@gellyfish.com>
> > a écrit :
> > >
> > > > On Mon, 2004-06-07 at 08:38, KiOrKY wrote:
> > > > &gt; but for:
> > > > &gt;
> > > > &gt; does mono implement credentials because when i want
to use a
> > distant
> > > > webservice on an IIS server i get ann 401 (access refused)
error.
> > > > &gt; But when i accept anonymous request this 401 error
> > disappear!
> > > > &gt; the code of the webservice:
> > > >
> > > > Is the IIS configured to use Basic Authentication or the
windows
> > > > integrated authentication? If the latter I think you will
find it
> > will
> > > > work if you use the former.
> > > >
> > > > /J\
> > >
> > >
> > >
> > > --
> > > ----------------------------
> > > - Gloire au monde libre -
> > > ----------------------------
> > > I{ i () r |{ Y
> > > Debian User
> > > ---------------------------------------------
> > > -- Mathieu PASQUET
> > > -- Testeur Debian SID
> > > -- irc: #debian-fr / irc.freenode.net port: 6667
> > > -- Site: www.fr.debian.org
> > > ---------------------------------------------
> > >
> > > _______________________________________________
> > > Mono-list maillist - Mono-list@lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >
--__--__--
Message: 8
To: mono-list@lists.ximian.com
From: Willem.Smit@sanlam.co.za
Date: Mon, 7 Jun 2004 14:41:05 +0200
Subject: [Mono-list] MonoDevelop crashes on startup
Hey guys
MonoDevelop was running fine, and is still running fine on my home desk=
top,
but after doing a emerge world on my gentoo box at work MD bungs out on=
startup. This morning when I got here MD 0.3 crashed, so I thought I ha=
ve
to upgrade to beta 2 and MD 0.4 anywayz so I didn't worry about it, but=
after the upgrade MD 0.4 crashes with the same error.
Here's the stacktrace:
Loading error, please reinstall :
System.TypeInitializationException: An exception was thrown by the type=
initializer for MonoDevelop.Core.Services.ServiceManager --->
System.ArgumentNullException: null key
Parameter name: key
in [0x00015] (at /cvs/mcs/class/corlib/System.Collections/Hashtable.cs:=
609)
System.Collections.Hashtable:PutImpl (object,object,bool)
in [0x00004] (at /cvs/mcs/class/corlib/System.Collections/Hashtable.cs:=
291)
System.Collections.Hashtable:set_Item (object,object)
in [0x0001f] (at /cvs/mcs/class/corlib/System/Environment.cs:341)
System.Environment:GetEnvironmentVariables ()
in [0x0001c] (at
/var/tmp/portage/monodevelop-0.4/work/monodevelop-0.4/src/Libraries/Mon=
oDevelop.Core/Services/StringParserService.cs:36)
MonoDevelop.Core.Services.StringParserService:.ctor ()
in [0x00028] (at
/var/tmp/portage/monodevelop-0.4/work/monodevelop-0.4/src/Libraries/Mon=
oDevelop.Core/Services/ServiceManager.cs:50)
MonoDevelop.Core.Services.ServiceManager:.ctor ()
in <0x0001e> MonoDevelop.Core.Services.ServiceManager:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) MonoDevelop.Core.Services.ServiceManager:get_Services ()=
in [0x00184] (at
/var/tmp/portage/monodevelop-0.4/work/monodevelop-0.4/src/Main/StartUp/=
MonoDevelopMain.cs:131)
MonoDevelop.SharpDevelopMain:Main (string[])
The above is with mono beta 2, but like I said it happened on beta 1 a=
s
well after my emerge world. It obviously installed some punkass package=
that stuffs everything up.
I couldn't find any bugs or posts about this problem, so I posted a bug=
in
bugzilla.
Please let me know if any of you has had the same problem and if you co=
uld
fix it somehow ?
Thanx
Willem Smit
***************
Any views expressed in this message are those of the individual sender,=
and
Sanlam accepts no liability therefore, except where the sender specific=
ally
states them to be those of Sanlam.
Enige sienswyses of stellings wat in hierdie boodskap uitgedruk word is=
di=E9
van die individuele afsender, en Sanlam aanvaar geen aanspreeklikheid
daarvoor nie, behalwe waar die afsender uitdruklik vermeld dat dit di=E9=
van
Sanlam is.
=
--__--__--
Message: 9
To: mono-list@lists.ximian.com
From: Willem.Smit@sanlam.co.za
Date: Mon, 7 Jun 2004 15:40:10 +0200
Subject: [Mono-list] Re: Monodevelop crashes on startup
After installing the latest gnome and rebooting monodevelop works fine
again.
My bad, I'm closing the bug...
ciao
Willem Smit
***************
Any views expressed in this message are those of the individual sender,=
and
Sanlam accepts no liability therefore, except where the sender specific=
ally
states them to be those of Sanlam.
Enige sienswyses of stellings wat in hierdie boodskap uitgedruk word is=
di=E9
van die individuele afsender, en Sanlam aanvaar geen aanspreeklikheid
daarvoor nie, behalwe waar die afsender uitdruklik vermeld dat dit di=E9=
van
Sanlam is.
=
--__--__--
Message: 10
To: <mono-list@lists.ximian.com>
From: KiOrKY <kiorky@goddess-gate.com>
Date: Mon, 7 Jun 2004 15:49:59 +0200
Reply-To: KiOrKY <kiorky@goddess-gate.com>
Subject: [Mono-list] wine / segmentation fault / bug?
can someone help me please? its my final test on mono but i have lot of
difficults, i have nerver had winforms work !!!
why have i a segmentation fault?
debian sid
kernel 2.4.26
mcs 095
mono 20040607
gecko-sharp-0.4 gtksourceview-sharp-0.3 winelib-0.3
gtk-sharp-0.93 libgdiplus-0.8 wine20040505
installed all in /usr for compatibility problems
no compilation problems
the code: the program is either compiled under windows or linux
class HelloWindowsForms
{
static void Main()
{
System.Windows.Forms.MessageBox.Show("Welcome to the bill
free zone.");
}
}
doldit100:/home/kiorky/test_mono# mono --debug apli.exe
** (apli.exe:24587): WARNING **: Symbol file
/usr//lib/mono/gac/Accessibility/1.0.5000.0__b03f5f7f11d50a3a/Accessibility.
dll has incorrect version (expected 37, got 36)
** (apli.exe:24587): WARNING **: Symbol file
/usr//lib/mono/gac/System.Windows.Forms/1.0.5000.0__b77a5c561934e089/System.
Windows.Forms.dll has incorrect version (expected 37, got 36)
doldit100:/home/kiorky/test_mono# mono --trace apli.exe
ENTER: (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr)((nil), 0xbf5ff9bc, (nil), 0x41233468, )
ENTER: HelloWindowsForms:Main ()()
i must stop the program with a ctrl +c and i have an segmentation error.
report on http://bugzilla.ximian.com/show_bug.cgi?id=59681
--
----------------------------
- Gloire au monde libre -
----------------------------
I{ i () r |{ Y
Debian User
---------------------------------------------
-- Mathieu PASQUET
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667
-- Site: www.fr.debian.org
---------------------------------------------
--__--__--
Message: 11
Subject: Re: [Mono-list] Difference between mono and mint ?
From: A Rafael D Teixeira <rafael.teixeirabr@terra.com.br>
To: HannibAl Bundie <hannibalbundie@hotmail.com>
Cc: MonoList <mono-list@lists.ximian.com>
Organization: WEBforAll =?ISO-8859-1?Q?Teleinform=E1tica?= S/C Ltda.
Date: Mon, 07 Jun 2004 11:03:54 -0300
On Mon, 2004-06-07 at 06:12, HannibAl Bundie wrote:
> Hi,
>
> I'm sorry, but I don't understand the difference between the runtimes mono
> and mint. The web page about the Mono runtime on www.go-mono.com doesn't
> satisfy me.
Mono is a JIT runtime, what means that as needed it gets the bytecode
for a method and compiles on first use to machine language for the
processor the runtime was compiled and must be running on.
Mint is a interpreter, what means that it just gets the bytecode and
iterates over it executing routines for the appropriate opcode found.
Mono gives you the best performance, but must support your hardware
architecture. Mint is more portable as it is expressed in C and does
things in the most architecture-independent way possible, but as
performance is normally very important it is just used as porting helper
while the archicteture isn't mapped inside Mono (the runtime).
Hope it helps,
--
Rafael "Monoman" Teixeira
Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
Mono Brasil Founding Member - http://monobrasil.redesolbrasil.org/
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/
--__--__--
Message: 12
To: <eric.lemoine@40esial.uhp-nancy.fr>, <mono-list@lists.ximian.com>
From: KiOrKY <kiorky@goddess-gate.com>
Date: Mon, 7 Jun 2004 16:38:19 +0200
Reply-To: KiOrKY <kiorky@goddess-gate.com>
Subject: [Mono-list] xsp et mono
di pti gars, test sur linux ;)
en tout cas on dirait une erreur de droits dacces au fichier !
--
----------------------------
- Gloire au monde libre -
----------------------------
I{ i () r |{ Y
Debian User
---------------------------------------------
-- Mathieu PASQUET
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667
-- Site: www.fr.debian.org
---------------------------------------------
--__--__--
Message: 13
Subject: Re: AW: [Mono-list] System.IO.Directory.GetFiles does not return
allfiles
From: Dick Porter <dick@ximian.com>
To: mono-list@lists.ximian.com
Organization:
Date: 07 Jun 2004 15:38:38 +0100
On Mon, 2004-06-07 at 08:26, Jochen Wezel wrote:
> I hope, this will change in the near future? Or isn't it seen as a bug?
If someone can implement for us a 100% reliable method of turning any
unknown encoding into UTF-16 then we'd be very happy.
- Dick
--__--__--
Message: 14
Subject: Re: AW: [Mono-list] System.IO.Directory.GetFiles does not return
allfiles
From: Jeffrey Stedfast <fejj@ximian.com>
To: Dick Porter <dick@ximian.com>
Cc: mono-list@lists.ximian.com
Date: Mon, 07 Jun 2004 10:48:35 -0400
for what it's worth (not much, likely), I had started working on a
charset sniffer a while back that seems to kinda work for the subset of
charsets that I picked for it to know about.
You can find it at
http://primates.ximian.com/~fejj/src/charset-foo.tar.gz
Not what I would call 100% reliable tho... that and it's a huge bloody
table.
Jeff
.. proving once again to snorp and tberman that I've had my hands in
just about everything... :-)
On Mon, 2004-06-07 at 10:38, Dick Porter wrote:
> On Mon, 2004-06-07 at 08:26, Jochen Wezel wrote:
> > I hope, this will change in the near future? Or isn't it seen as a bug?
>
> If someone can implement for us a 100% reliable method of turning any
> unknown encoding into UTF-16 then we'd be very happy.
>
> - Dick
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj@ximian.com - www.ximian.com
--__--__--
_______________________________________________
Mono-list mailing list
Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
End of Mono-list Digest