Re: [Mono-list] Bug in String.IndexOf ?

2006-11-10 Thread Atsushi Eno
Hi,

It looks like a bug. I'll take a look later. Thanks.

Atsushi Eno

Pedro Castro wrote:
> Running String.IndexOf with the StringComparison.Ordinal option
> doesn't seem to produce correct results. However, using
> CompareInfo.IndexOf does work. Test:
> 
> #
> using System;
> using System.Globalization;
> 
> public class Test {
> 
> public static void Main () {
> string text = "testing123456";
> string text2 = "123";
> System.Console.WriteLine(text.IndexOf(text2, StringComparison.Ordinal));
> CompareInfo compare = CultureInfo.InvariantCulture.CompareInfo;
> System.Console.WriteLine(compare.IndexOf(text, text2,
> CompareOptions.Ordinal));
> 
> }
> 
> }
> #
> 
> The output:
> -1
> 7
> 

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


[Mono-list] Bug in String.IndexOf ?

2006-11-10 Thread Pedro Castro
Running String.IndexOf with the StringComparison.Ordinal option
doesn't seem to produce correct results. However, using
CompareInfo.IndexOf does work. Test:

#
using System;
using System.Globalization;

public class Test {

public static void Main () {
string text = "testing123456";
string text2 = "123";
System.Console.WriteLine(text.IndexOf(text2, StringComparison.Ordinal));
CompareInfo compare = CultureInfo.InvariantCulture.CompareInfo;
System.Console.WriteLine(compare.IndexOf(text, text2,
CompareOptions.Ordinal));

}

}
#

The output:
-1
7

-- 
Pedro Castro
http://mega.ist.utl.pt/~prmc
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono Basic

2006-11-10 Thread Paul
Hi,

Any signs of a Linux compilable version of mono basic coming in the near
future?

TTFN

Paul
-- 
Sie k�nnen mich aufreizen und wirklich hei� machen!


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


[Mono-list] How to run mono in kubuntu

2006-11-10 Thread Andrus
I installed mono 1.2RC0  in kubuntu Linux using binary installer package.

After command

./mono   anystring

nothing happens.
Pressing Enter creates empty line.
Ctrl+C terminates the application.
anystring can be any string or existing application name, no difference.

./mono -V   work OK.

How to run mono ?

Andrus.

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


Re: [Mono-list] Port to symbian?

2006-11-10 Thread ted leslie

i have a nokia 9200i and would love to run mono apps on it,
i'd be there as a tester for sure!!

-tl



On Fri, 2006-11-10 at 15:39 +0100, Andreas Färber wrote:
> Hi Thomas,
> 
> > Found the question about Symbian in the below posting - Would just
> > like to add a vote. Mobility is key - am I wrong when I say most new
> > applications has a mobility perspective?  We should have at least an
> > official opinion on this? 
> > Thomas
> 
> 
> Hearing and finding nothing new on the topic, apart from another
> commercial CLI implementation, I have begun to write a small CLI
> interpreter for Symbian OS - I recently spent about a week getting
> from an mcs-compiled assembly to it writing its Hello World string to
> the console - last part is still a hack with all calls treated as
> calls to void Console.WriteLine(System.String), a not-type-safe stack
> and no compiling mscorlib yet and as a console app with static
> variables it only runs in the simulator. Anyway, I could share the
> code if there is interest.
> 
> 
> I figured Mono was way too big for my phone and Symbian OS only
> includes a POSIX compatibility library and otherwise uses C++
> libraries along with its own conventions, so porting Mono directly
> seemed problematic at least.
> 
> 
> Helpful for any such effort would be if Mono's mcs were less tied to
> Microsofts .NET - for example it emits a non-standard version string
> and requires me to complete a number of classes before compiling
> mscorlib even if I don't use them yet...
> 
> 
> Andreas
> 
> > 
> > 
> > http://lists.ximian.com/pipermail/mono-list/2006-August/032404.html 
> > 
> > > I would like to know if somebody is working in porting mono to   
> > > symbian OS.   Is there any work in progress around it? 
> > 
> > I'd be interested to hear that, too! 
> > 
> > The only related product I know of is AppForge Crossfire (http://  
> > www.appforge.com/products/crossfire/index.html), which is
> > commercial. 
> > 
> > Mono does appear to support the ARM processor (http://www.mono- 
> > project.com/Mono:ARM); the biggest issue I see is that the memory   
> > management is considerably different on Symbian OS (cleanup stack),
> >   
> > and non-constant global variables are problematic.
> ___
> 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] Mono 1.2 Release?

2006-11-10 Thread Andrus
In http://www.mono-project.com/Downloads

1.2 stable windows installer points to the same file as 1.2RC0 :

ftp://www.go-mono.com/archive/1.2/windows-installer/rc0/mono-1.2-gtksharp-2.8.3-win32-rc0.exe


Are  1.2 stable and 1.2 release candidate packages really the same ?

If so why stable contains RC0 in its file name ?

Andrus.

- Original Message - 
From: "Alexandru Nedelcu" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, November 09, 2006 9:21 PM
Subject: Re: [Mono-list] Mono 1.2 Release?


> It was released:
> http://www.mono-project.com/news/archive/2006/Nov-09.html
> 
> Does anyone know where the "release notes" are ?
> 
> 
> Joe Audette wrote:
>> Did the PR guys get ahead of themselves?
>> http://biz.yahoo.com/prnews/061109/sfth025.html?.v=77
>>
>> It doesn't look like Mono 1.2 has been released yet.
>>
>> Joe
>> 
>>
>> ___
>> 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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mod_mono causes "[mono] " zombie processes

2006-11-10 Thread Jurek Bartuszek
Hi there,

I have a problem with mod_mono. Every time I access an .aspx web page 
hosted by mono, a new zombie process is shown in the list of processes:

apache   26531  0.1  0.0  0 0 ?Z18:26   0:00 [mono] 

apache   26551  0.2  0.0  0 0 ?Z18:26   0:01 [mono] 

apache   26554  0.2  0.0  0 0 ?Z18:26   0:01 [mono] 


After some time, apache refuses to serve asp.net applications anymore 
and I'm forced to restart it.

This behavior is independent of whether MonoRunXSP is set to True or 
False (mod-mono-server is started either manually or automatically).

Any ideas?

Best regards,
Jurek Bartuszek
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [ANNOUNCE]: litmus 0.1

2006-11-10 Thread Freyr Magnússon
Hi,On 11/10/06, Colin JN Breame <[EMAIL PROTECTED]> wrote:
Hello,For the past 6 months or so I've been working on a web framework similar toRuby on Rails.  Features includes amongst others:There already exists an opensource framework inspired by Ruby on Rails Action Pack for the .NET world called MonoRail, part of the Castle Project, which is very mature and feature rich with support for multiple view engines and a NHibernate based ActiveRecord framework along with IOC capabilites and more (ActiveRecord is a separete framework also part of Castle Project).
check out http://castleproject.org/monorail/ for more infomationbest of luck with litmus thoughregards,Freyr
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] [ANNOUNCE]: litmus 0.1

2006-11-10 Thread Colin JN Breame
Hello,

For the past 6 months or so I've been working on a web framework similar to 
Ruby on Rails.  Features includes amongst others:

 - http server
 - sodb (simple object database mapper)
 - litc - compile text with embedded C# into C#
 - template - easy to use template language that includes expression compiler 
and 30+ tags
 - dynamic dispatch and mapping of requests to (dynamically compiled) C# 
classes

Please see: http://sf.net/projects/litmus

Although this represents the first release the project has grown to 20k+ LOC.  
The first thing you may notice, however, is an almost complete lack of 
documentation.

If you have questions or comments I'd be happy to talk with you.

Colin JN Breame.
[EMAIL PROTECTED]
http://sf.net/projects/litmus
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] System.Resources.ResourceManager performance issue

2006-11-10 Thread Andrey Tkach








Hello,

 

Today I filed new issue with test example to
bugzilla.

http://bugzilla.ximian.com/show_bug.cgi?id=79892

 

Problem is seen on the web application under load with many
simultaneous connections.

Our web application reads all captions from resource file. 

When we flood of our web app with requests captions
sometimes are not 

shown since that our site looks very
broken.( Web controls loads without captions.

 

Regards,

Andrey






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


Re: [Mono-list] Port to symbian?

2006-11-10 Thread Andreas Färber
Hi Thomas,Found the question about Symbian in the below posting - Would just like to add a vote. Mobility is key - am I wrong when I say most new applications has a mobility perspective?  We should have at least an official opinion on this?  ThomasHearing and finding nothing new on the topic, apart from another commercial CLI implementation, I have begun to write a small CLI interpreter for Symbian OS - I recently spent about a week getting from an mcs-compiled assembly to it writing its Hello World string to the console - last part is still a hack with all calls treated as calls to void Console.WriteLine(System.String), a not-type-safe stack and no compiling mscorlib yet and as a console app with static variables it only runs in the simulator. Anyway, I could share the code if there is interest.I figured Mono was way too big for my phone and Symbian OS only includes a POSIX compatibility library and otherwise uses C++ libraries along with its own conventions, so porting Mono directly seemed problematic at least.Helpful for any such effort would be if Mono's mcs were less tied to Microsofts .NET - for example it emits a non-standard version string and requires me to complete a number of classes before compiling mscorlib even if I don't use them yet...Andreas   http://lists.ximian.com/pipermail/mono-list/2006-August/032404.html   > I would like to know if somebody is working in porting mono to    > symbian OS.   Is there any work in progress around it?   I'd be interested to hear that, too!   The only related product I know of is AppForge Crossfire (http://   www.appforge.com/products/crossfire/index.html), which is commercial.   Mono does appear to support the ARM processor (http://www.mono-   project.com/Mono:ARM); the biggest issue I see is that the memory    management is considerably different on Symbian OS (cleanup stack),    and non-constant global variables are problematic.___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Advice for passwrod management

2006-11-10 Thread Sebastien Pouliot
On Fri, 2006-11-10 at 08:58 +0100, [EMAIL PROTECTED] wrote:
> Hi,
> 
> My application needs to access to internet for some task. In some area (mine 
> in
> particular :-)), I need to use a proxy to access internet. This proxy needs
> login and password.
> 
> Could some one give me some advice to manage the storing of the password ? At
> the present time it is directly in a file ...

Have a look at Gnome Keyring Sharp
http://svn.myrealbox.com/viewcvs/trunk/gnome-keyring-sharp/

which Gonzalo did for Google-Sharp
http://gonzalo.name/blog/archive/Mono/2006/Jul-27.html

You may also want to look at new fx 2.0 classes, like ProtectedData, and
the associated configuration classes that can deal with secrets.
-- 
Sebastien Pouliot  <[EMAIL PROTECTED]>
Blog: http://pages.infinit.net/ctech/

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


Re: [Mono-list] Advice for passwrod management

2006-11-10 Thread Jensen Somers
For a school project I needed to do the same thing. I stored the passwords in a XML file after encrypting them. I based myself on the following tutorial: http://www.obviex.com/samples/Encryption.aspx
Of course, someone who knows the cypherkey you used can decrypt the data again for evil use, but I think you may assume that the user (if you store the password in a file in the user's home dir) knows his password.
On 11/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,My application needs to access to internet for some task. In some area (mine inparticular :-)), I need to use a proxy to access internet. This proxy needslogin and password.Could some one give me some advice to manage the storing of the password ? At
the present time it is directly in a file ...___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] Port to symbian?

2006-11-10 Thread Thomas Nielsen

  
  
  

  Found the question about Symbian in the below posting - Would just like to add a vote. Mobility is key - am I wrong when I say most new applications has a mobility perspective?  We should have at least an official opinion on this?

  Thomas
  

  http://lists.ximian.com/pipermail/mono-list/2006-August/032404.html
  

  > I would like to know if somebody is working in porting mono to  

  > symbian OS.   Is there any work in progress around it?
  

  I'd be interested to hear that, too!
  

  The only related product I know of is AppForge Crossfire (http:// 

  www.appforge.com/products/crossfire/index.html), which is commercial.
  

  Mono does appear to support the ARM processor (http://www.mono- 

  project.com/Mono:ARM); the biggest issue I see is that the memory  

  management is considerably different on Symbian OS (cleanup stack),  

  and non-constant global variables are problematic.
  

  Regards,

  

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


[Mono-list] ASP.NET 2.0 Controls

2006-11-10 Thread Donny Velazquez



Does anyone know 
where at in the development cycle these controls are?
I want to use Mono 
for a project and really want to use the GridView since that's 
what
I have on my windows 
MS version. 
 


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


Re: [Mono-list] Webservise Discovery Language

2006-11-10 Thread Ben Clewett
Kornél Pál wrote:
> Web.config is intended to do configuration. What exactly is your problem 
> with that?

Hi Kornél,

Thanks for the reply.

I have six servers to manage.  We sometimes release ten version of code 
a day, which over-write the Web.config.  Editing this file is 
potentially dangerous.  After an edit, I have to re-start the mono.

My feeling is that this file must be interoperated by some part of the 
Mono suit (stop me if this is wrong.)  It would be much better for me if 
control could be administered by some simple flag.  Or even a static 
public variable in mono.

If this is not possible, it's not so important.  I am just interested to 
know if there is an alternate method.

I can't be the only member who would like better control of this. 
Alternatively, do any members have scripts to toggle the Webservice 
Discovery which are safe and fast?

Thanks again,

Ben




> 
> Kornél
> 
> - Original Message - From: "Ben Clewett" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, November 07, 2006 5:38 PM
> Subject: [Mono-list] Webservise Discovery Language
> 
> 
>> Sorry if this has been asked many times before
>>
>> We develop ASP-Webservice code, which runs better than perfect on Mono.
>>
>> On our development system, we want the Webservice Discovery turned on.
>>
>> On our live systems, we want it optionally turned on.
>>
>> The only way I know of doing this is to edit the Web.config file.
>>
>> But this is messy, if done badly can crash the webservice, it has to be
>> done on every release and every time we want to toggle this option.
>>
>> Do any of your members know a simple and elegant method for toggling the
>> Webservice Discovery visibility?
>>
>> Thanks for your help,
>>
>> Ben.
>>
>> ___
>> 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] Launching a Mono Apps on Ms.Net

2006-11-10 Thread Sebastien Pouliot
On Tue, 2006-10-31 at 09:15 -0500, Sebastien Pouliot wrote:
> On Tue, 2006-10-31 at 15:00 +0100, Robert Jordan wrote:
> > [EMAIL PROTECTED] wrote:
> > > 
> > > Hi,
> > > 
> > > I've developed a SWF Apps under Mono and i've tryed it on windows. 
> > > Everythings
> > > looks nearly fine excepts some little stuff.
> > > 
> > > One off them is annoying ...
> > > When I launch my apps under Mono/Linux, no console windows ...
> > > When I launch my apps under .Net/Windows, lauch a console then the 
> > > windows ...
> > 
> > Use the appropriate target:
> > 
> > mcs /target:winexe ...
> 
> It's a common question and a great opportunity for someone to contribute
> a (very simple) rule for Gendarme ;-)
> 
> E.g. Any .EXE that reference System.Windows.Forms.dll should have a
> winexe target (or we issue a warning).

Too late. The rules (Gtk# and SWF) are in SVN. 
Still very simple if anyone wants to look at it ;-)
-- 
Sebastien Pouliot  <[EMAIL PROTECTED]>
Blog: http://pages.infinit.net/ctech/

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


Re: [Mono-list] Mono applications run really slow on Solaris

2006-11-10 Thread k2k2e6

I have filed the bug on bigzilla.ximian.com with source code and makefiles.
Here is the link:

http://bugzilla.ximian.com/show_bug.cgi?id=79852


-Pawan
-- 
View this message in context: 
http://www.nabble.com/Mono-applications-run-really-slow-on-Solaris-tf2580319.html#a7209976
Sent from the Mono - General mailing list archive at Nabble.com.

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


[Mono-list] Mono 1.2 has been released.

2006-11-10 Thread Miguel de Icaza
The release notes for this release are here:

http://www.go-mono.com/archive/1.2

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