Re: [Mono-dev] Class status pages are empty

2008-09-17 Thread Andy Hume

Probably due to the (multiple) 

Unhandled Exception: System.IO.FileNotFoundException: Could not find file
/tmp/monobuild/build/BUILD/mono-113254/status/mono-api.xsl.

as seen at e.g.
http://mono.ximian.com/monobuild/builds/HEAD/sles-9-i586/mono/113254/logs/api-diff.log


The failure isn't reported through to the top-level status BTW.

Andy



Leszek Ciesielski wrote:
 
 Hi,
 
 class status pages linked from
 http://www.mono-project.com/Class_Status are all empty, did something
 break?
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list
 
 

-- 
View this message in context: 
http://www.nabble.com/Class-status-pages-are-empty-tp19515068p19528998.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

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


[Mono-dev] Possible problem with 2.0RC1

2008-09-17 Thread Paul
Hi,

I have some very simple code which has become unpredictable.

public struct conversion
{
public bool isverb, isplural;
public string ddd, ingerman, inenglish, examples, sex;

public conversion(bool verb, bool plural, string form, string
german, string english, string eg, string gender)
{
isplural = plural;
isverb = verb;
ddd = form;
ingerman = german;
inenglish = english;
examples = eg;
sex = gender;
 }
}

Listconversion words = new Listconversion();
public int counter;

private void loadfile(string filename)
{
 StreamReader sreader = new
StreamReader(filename,System.Text.Encoding.GetEncoding(iso-8859-15));
 string line = sreader.ReadLine();
 while (line != null)
 {
 splitline(line);
 counter++;
 line = sreader.ReadLine();
 }
sreader.Close();
}

private string remquotes(string line)
{
 string[] rq = line.Split(new char[] {''});
 return rq[1];
}

private void splitline(string line)
{
 string[] stringy = line.Split(new char[] {','});   

 for (int m = 2; m  6; ++m)
 {
if (stringy[m] != )
stringy[m] = remquotes(stringy[m]);
 }

// 1st column = plural (1 = yes) set as true if correct
// 2nd column = verb   (1 = yes) set as true if correct

words.Add(new conversion((stringy[0] == 1 ? true : false),
 (stringy[1] == 1 ? true : false),
 stringy[2], stringy[3], stringy[4],
 stringy[5], stringy[6]));

if (stringy[1] == 1)
{
Console.WriteLine(word {0}, is a verb, stringy[3]);
}
} 

The file read in is a CSV file with the following format

A   B   C   D   E   F   G
0/1 0/1 der german  english example gender

If A = 1, it's a plural
If B = 1, it's a verb.

The problem seems to come from the words.Add method in that the
stringy[0] == 1 ? true : false test does not always yield the correct
answer - I've had plurals come out as singles and nouns come out as
verbs.

Can someone tell me if this is me being a twit or if mono is being
silly? I'm using RC1 on Fedora. Source and test file available if you
want to test them.

TTFN

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


signature.asc
Description: This is a digitally signed message part
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Possible problem with 2.0RC1

2008-09-17 Thread Paul
Hi,

 I have some very simple code which has become unpredictable.

I've done some more tests and it looks like there may be a problem with
when adding code to a list

Changes to the previous code - if it was a bool, it's now a string (with
alterations in other methods to reflect this)

 private void splitline(string line)
 {
  string[] stringy = line.Split(new char[] {','}); 
 
  for (int m = 2; m  6; ++m)
  {
   if (stringy[m] != )
   stringy[m] = remquotes(stringy[m]);
  }
   
   // 1st column = plural (1 = yes) set as true if correct
   // 2nd column = verb   (1 = yes) set as true if correct
   if (stringy[0].Length  1)
   Console.WriteLine(position {0}. Plural is  1 character,
counter);
   if (stringy[1].Length  1)
   Console.WriteLine(position {1}. Verb is  1 character,
counter);

 words.Add(new conversion((stringy[0] == 1 ? true : false),
(stringy[1] == 1 ? true : false),

The test has gone and these become just stringy[0], stringy[1]

stringy[2], stringy[3], stringy[4],
stringy[5], stringy[6]));
   
   if (stringy[1] == 1)
   {
   Console.WriteLine(word {0}, is a verb, stringy[3]);
   }
 } 

The potential problem of an incorrect assignment being made to isplural
or isverb has now gone. When I run the application, it's fine but still
comes up with the same problem of a noun suddenly becoming a verb. The
only way this can happen is if there is something up with the list.Add
method.

Full source (with binaries and test file)

http://www.all-the-johnsons.co.uk/csharp/proto.tar.bz2

If anyone can have a look to see if I've messed up or if it is
list.Add at fault, I'd appreciate it.

TTFN

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


signature.asc
Description: This is a digitally signed message part
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Possible problem with 2.0RC1

2008-09-17 Thread Zoltan Varga
Hi,

 Its not List.Add's fault. The ctor has the arguments in the wrong order:

public conversion(bool verb, bool plural, string form,
string german,

   Zoltan

2008/9/18 Paul [EMAIL PROTECTED]:
 Hi,

 I have some very simple code which has become unpredictable.

 I've done some more tests and it looks like there may be a problem with
 when adding code to a list

 Changes to the previous code - if it was a bool, it's now a string (with
 alterations in other methods to reflect this)

 private void splitline(string line)
 {
  string[] stringy = line.Split(new char[] {','});

  for (int m = 2; m  6; ++m)
  {
   if (stringy[m] != )
   stringy[m] = remquotes(stringy[m]);
  }

   // 1st column = plural (1 = yes) set as true if correct
   // 2nd column = verb   (1 = yes) set as true if correct
   if (stringy[0].Length  1)
   Console.WriteLine(position {0}. Plural is  1 character,
 counter);
   if (stringy[1].Length  1)
   Console.WriteLine(position {1}. Verb is  1 character,
 counter);

 words.Add(new conversion((stringy[0] == 1 ? true : false),
(stringy[1] == 1 ? true : false),

 The test has gone and these become just stringy[0], stringy[1]

stringy[2], stringy[3], stringy[4],
stringy[5], stringy[6]));

   if (stringy[1] == 1)
   {
   Console.WriteLine(word {0}, is a verb, stringy[3]);
   }
 }

 The potential problem of an incorrect assignment being made to isplural
 or isverb has now gone. When I run the application, it's fine but still
 comes up with the same problem of a noun suddenly becoming a verb. The
 only way this can happen is if there is something up with the list.Add
 method.

 Full source (with binaries and test file)

 http://www.all-the-johnsons.co.uk/csharp/proto.tar.bz2

 If anyone can have a look to see if I've messed up or if it is
 list.Add at fault, I'd appreciate it.

 TTFN

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

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


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


Re: [Mono-dev] Possible problem with 2.0RC1

2008-09-17 Thread Paul
Hi,

  Its not List.Add's fault. The ctor has the arguments in the wrong order:
 
 public conversion(bool verb, bool plural, string form,
 string german,

D'oh!

Thanks :-)

TTFN

Paul
(proving that anyone can make mistakes!)
-- 
Sie können mich aufreizen und wirklich heiß machen!


signature.asc
Description: This is a digitally signed message part
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] Xml reading writing.

2008-09-17 Thread Petit Eric
2008/9/17 Jonathan Pryor [EMAIL PROTECTED]:
 On Wed, 2008-09-17 at 02:43 +0100, Neil Munro wrote:
 I have an xml file that is my applications preferences, it's an update
 tool, now this update tool can update from multiple sources. If no
 preferences file is found on first run, a default set are saved. Now
 if the user wishes to add a new update source to the xml file I need
 to place the UpdateSourceblah/UpdateSource in the correct part of
 the file, since the file holds ALL application preferences, I can't
 just dump a new source at the end of the text file.

 I guess my question is, what's the best way to solve this problem?

 As with many things, there are *several* ways to do this:

  * System.Xml.XmlDocument:
http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.aspx
Provides a DOM oriented XML manipulation API.
Pro: Somewhat easy to use.
Con: Loads the entire document into memory, so not very useful for
 large documents.

  * System.Xml.XmlReader  System.Xml.XmlWriter:
http://msdn.microsoft.com/en-us/library/system.xml.xmlreader.aspx
http://msdn.microsoft.com/en-us/library/system.xml.xmlwriter.aspx
Pro: Provides a pull-model API so that the entire document need
 not be loaded at once.
Con: Not as easy to use as XmlDocument.

  * System.Xml.XPath.IXPathNavigable

 http://msdn.microsoft.com/en-us/library/system.xml.xpath.ixpathnavigable.aspx
Allows reading/writing of XML-like data w/o requiring XML, but
needs an actual implementation that supports reading/writing,
which XmlNode (and thus XmlDocument) do.

 And I'm probably missing a few...

 Unless you're working with a large document (read: several MB and
 larger), I'd suggest either XmlDocument or IXPathNavigable for starters.

  - Jon
Ms provide a build in class to use app xml files
using System.Configuration;

string aExcelFile;
aExcelFile = ConfigurationSettings.AppSettings.Get(MyExcelFileName);

But i find it not enought flexible so i use my custom one :
http://monoosc.svn.sourceforge.net/viewvc/monoosc/MonoOSC/MonoOSC/Class/ConfigReaderWriter.cs?revision=30view=markup


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




-- 

Cordially.

Small Eric Quotations of the days:
---
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---

Few people are done for independence, it is the privilege of the powerful ones.
---

No key was wounded during the drafting of this message.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem compiling libgdiplus without X server

2008-09-17 Thread Pedro Pires
Is the mono 2.0 RC1 enough? Or do you think I really need svn version?

I can't install rpm versions, because of dependencies (it's a production
server). I've installed mono and dependencies on a separate user.

Thanks

-Original Message-
From: Petit Eric [mailto:[EMAIL PROTECTED] 
Sent: 2008-09-16 20:35
To: Pedro Pires
Cc: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Problem compiling libgdiplus without X server

2008/9/16 Pedro Pires [EMAIL PROTECTED]:
 Hello,



 I'm having some problems compiling libgdiplus on a RHEL4 x64.

 The problem is I don't have any X11 installed, font library (I'm not sure
of
 this).
hum yu absoluty need SVN version, or if you find a rpm is it good ?
see : http://download.opensuse.org/repositories/Mono/RHEL_5/x86_64/
or : http://download.opensuse.org/repositories/Mono/RHEL_5/



 I've checked on net ant seems to me the problem is cairo.

 I just need libgdiplus because of a web application.



 Can anyone help me compile libgdiplus without cairo (if it is possible) or
a
 workaround to compile without X and fonts library



 Thanks in advance



 Pedro Jorge Pires



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





-- 

Cordially.

Small Eric Quotations of the days:
---
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---

Few people are done for independence, it is the privilege of the powerful
ones.
---

No key was wounded during the drafting of this message.

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


Re: [Mono-list] Problem compiling libgdiplus without X server

2008-09-17 Thread Petit Eric
2008/9/17 Pedro Pires [EMAIL PROTECTED]:
 Is the mono 2.0 RC1 enough? Or do you think I really need svn version?

 I can't install rpm versions, because of dependencies (it's a production
 server). I've installed mono and dependencies on a separate user.
Well, just extract file from the rpm (yu will not have script
execution ldconfig ) or use another machine who have X to compil
it ?

 Thanks

 -Original Message-
 From: Petit Eric [mailto:[EMAIL PROTECTED]
 Sent: 2008-09-16 20:35
 To: Pedro Pires
 Cc: mono-list@lists.ximian.com
 Subject: Re: [Mono-list] Problem compiling libgdiplus without X server

 2008/9/16 Pedro Pires [EMAIL PROTECTED]:
 Hello,



 I'm having some problems compiling libgdiplus on a RHEL4 x64.

 The problem is I don't have any X11 installed, font library (I'm not sure
 of
 this).
 hum yu absoluty need SVN version, or if you find a rpm is it good ?
 see : http://download.opensuse.org/repositories/Mono/RHEL_5/x86_64/
 or : http://download.opensuse.org/repositories/Mono/RHEL_5/



 I've checked on net ant seems to me the problem is cairo.

 I just need libgdiplus because of a web application.



 Can anyone help me compile libgdiplus without cairo (if it is possible) or
 a
 workaround to compile without X and fonts library



 Thanks in advance



 Pedro Jorge Pires



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





 --

 Cordially.

 Small Eric Quotations of the days:
 ---
 If one day one reproaches you that your work is not a work of
 professional, say you that:
 Amateurs built the arch of Noah, and professionals the Titanic.
 ---

 Few people are done for independence, it is the privilege of the powerful
 ones.
 ---

 No key was wounded during the drafting of this message.





-- 

Cordially.

Small Eric Quotations of the days:
---
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---

Few people are done for independence, it is the privilege of the powerful ones.
---

No key was wounded during the drafting of this message.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Error converting project from Windows to Linux

2008-09-17 Thread Andy Hume

A workaround would be to remove the other segment of the strong-name stuff
and just leave the assembly name, e.g. change

Reference Include=EiffelSoftware.Runtime, Version=5.6.1127.0,
Culture=neutral, PublicKeyToken=def26f296efef469

to
Reference Include=EiffelSoftware.Runtime


If you ask on the monodevelop list you might get more help.

Andy



BertV wrote:
 
 Hi,
 
 I am trying to convert a Windows-project to monodevelop. The project
 consists in a lot of vb-files and resource-files.
 The compile all without errors.
 
 There are also a few dll's, the give me an headache. Can some one please
 help me?
 
 The dll's, three, are in the bin-directory of the project. The errors are:
 Error : VBNC2001: file not found: Version=5.6.1127.0,
 Error : VBNC2001: file not found: Culture=neutral,
 Error : VBNC2001: file not found: PublicKeyToken=def26f296efef469
 Error : VBNC2001: file not found: Version=1.7.0.0,
 Error : VBNC2001: file not found: Culture=neutral,
 Error : VBNC2001: file not found: PublicKeyToken=3a6eb82f876a49bc
 Error : VBNC2001: file not found: Version=1.0.0.0,
 Error : VBNC2001: file not found: Culture=neutral,
 Error : VBNC2001: file not found: processorArchitecture=X86
 Compilation took 00:00:00.6171810
 
 The (I think) relevant part of the vbproj file is:
 ItemGroup
 Reference Include=adl_dotnet_lib, Version=0.0.0.0, Culture=neutral
   SpecificVersionFalse/SpecificVersion
   HintPathbin\adl_dotnet_lib.dll/HintPath
 /Reference
 Reference Include=EiffelSoftware.Runtime, Version=5.6.1127.0,
 Culture=neutral, PublicKeyToken=def26f296efef469
   SpecificVersionFalse/SpecificVersion
 /Reference
 Reference Include=MagicLibrary, Version=1.7.0.0, Culture=neutral,
 PublicKeyToken=3a6eb82f876a49bc /
 Reference Include=OTSControls, Version=1.0.2786.20790,
 Culture=neutral, PublicKeyToken=null
   SpecificVersionFalse/SpecificVersion
   HintPathOTS\OTSControls.dll/HintPath
 /Reference
 Reference Include=System
   NameSystem/Name
 /Reference
 Reference Include=System.Data
   NameSystem.Data/Name
 /Reference
 Reference Include=System.Design
   NameSystem.Design/Name
 /Reference
 Reference Include=System.Drawing
   NameSystem.Drawing/Name
 /Reference
 Reference Include=System.EnterpriseServices /
 Reference Include=System.Web.Services /
 Reference Include=System.Windows.Forms
   NameSystem.Windows.Forms/Name
 /Reference
 Reference Include=System.Xml
   NameSystem.XML/Name
 /Reference
 Reference Include=XMLParser, Version=1.0.0.0, Culture=neutral,
 processorArchitecture=X86 /
   /ItemGroup
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Error-converting-project-from-Windows-to-Linux-tp19509551p19529001.html
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


Re: [Mono-list] Error converting project from Windows to Linux

2008-09-17 Thread Andrés G. Aragoneses
This seems to be a bug in the VBNetBinding of MonoDevelop, can you file it?

Andrés


BertV wrote:
 Hi,
 
 I am trying to convert a Windows-project to monodevelop. The project
 consists in a lot of vb-files and resource-files.
 The compile all without errors.
 
 There are also a few dll's, the give me an headache. Can some one please
 help me?
 
 The dll's, three, are in the bin-directory of the project. The errors are:
 Error : VBNC2001: file not found: Version=5.6.1127.0,
 Error : VBNC2001: file not found: Culture=neutral,
 Error : VBNC2001: file not found: PublicKeyToken=def26f296efef469
 Error : VBNC2001: file not found: Version=1.7.0.0,
 Error : VBNC2001: file not found: Culture=neutral,
 Error : VBNC2001: file not found: PublicKeyToken=3a6eb82f876a49bc
 Error : VBNC2001: file not found: Version=1.0.0.0,
 Error : VBNC2001: file not found: Culture=neutral,
 Error : VBNC2001: file not found: processorArchitecture=X86
 Compilation took 00:00:00.6171810
 
 The (I think) relevant part of the vbproj file is:
 ItemGroup
 Reference Include=adl_dotnet_lib, Version=0.0.0.0, Culture=neutral
   SpecificVersionFalse/SpecificVersion
   HintPathbin\adl_dotnet_lib.dll/HintPath
 /Reference
 Reference Include=EiffelSoftware.Runtime, Version=5.6.1127.0,
 Culture=neutral, PublicKeyToken=def26f296efef469
   SpecificVersionFalse/SpecificVersion
 /Reference
 Reference Include=MagicLibrary, Version=1.7.0.0, Culture=neutral,
 PublicKeyToken=3a6eb82f876a49bc /
 Reference Include=OTSControls, Version=1.0.2786.20790,
 Culture=neutral, PublicKeyToken=null
   SpecificVersionFalse/SpecificVersion
   HintPathOTS\OTSControls.dll/HintPath
 /Reference
 Reference Include=System
   NameSystem/Name
 /Reference
 Reference Include=System.Data
   NameSystem.Data/Name
 /Reference
 Reference Include=System.Design
   NameSystem.Design/Name
 /Reference
 Reference Include=System.Drawing
   NameSystem.Drawing/Name
 /Reference
 Reference Include=System.EnterpriseServices /
 Reference Include=System.Web.Services /
 Reference Include=System.Windows.Forms
   NameSystem.Windows.Forms/Name
 /Reference
 Reference Include=System.Xml
   NameSystem.XML/Name
 /Reference
 Reference Include=XMLParser, Version=1.0.0.0, Culture=neutral,
 processorArchitecture=X86 /
   /ItemGroup
 
 

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


[Mono-list] Exception only with mono

2008-09-17 Thread misterJane

Hi,

I have a piece of code that executes a stored procedure.
When I run it with .net it executes fine.
When I run it with mono (1.9.1) i get the following exception :

The Connection object does not have the same transaction as the command
object.

Does anyone know what this exception means, and why it works fine directly
on .net, but on mono it throws this exception ?

Thanks !

The code looks something like  :

SqlTransaction tr = cn.BeginTransaction()
SqlCommand cmd = PrepareSPCommand(someCommand, tr);
cmd.Parameters.AddWithValue(@par1, 1234);
cmd.Parameters.AddWithValue(@par2, _exampleString);

byte[] fileContent = File.ReadAllBytes(_file);
cmd.Parameters.AddWithValue(@FileContent, fileContent);

try
{
cmd.ExecuteNonQuery();
}
catch (SqlException e)
{
// do some stuff   
tr.Rollback();
throw new Exception(e.Message, e);
}

tr.Commit();



-- 
View this message in context: 
http://www.nabble.com/Exception-only-with-mono-tp19507938p19507938.html
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


Re: [Mono-list] [Gtk-sharp-list] pinvoke and benchmarks

2008-09-17 Thread Martin (OPENGeoMap)
Hi:
 On Fri, Sep 12, 2008 at 11:22 AM, Martin (OpenGeoMap)
 [EMAIL PROTECTED] wrote:
   
 is it better used a library only created with C or the pinvoke is fast???
 In my imagination i see the pinvoke system trying to find a funtion
 every time and if i have 10 million of lidar data perhaps this is really
 slowly
 

 I doubt that Mono is so dumb that it doesn't remember function entry
 points.  More likely, it's taking some time to marshal data over the
 managed boundary.
   
I would like know like MONO and .NET do this job.
 Without seeing any code it's going to be difficult to diagnose
 anything.  Note that things like Gtk# make heavy use of p/invoke and
 seem fairly fast, so I don't think the use of p/invoke alone is the
 problem.
   
Here is the CAPI in csharp:
http://liblas.org/browser/trunk/csharp/dotnetLibLAS/LibLASCAPI.cs

Here a module in c# creating the classes:
http://liblas.org/browser/trunk/csharp/dotnetLibLAS/LASPoint.cs

Here the C API:

http://liblas.org/browser/trunk/src/las_c_api.cpp

This library was created in C++ with exceptions, namespaces, overloads, 
etc, etc...
The C API broke this C++ API in a C API.
 (Also, this question would be better directed to the main Mono mailing
 list, as it has nothing to do with Gtk#.)

   
Yes. thank you for redirect the mono list.


Regards.


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


Re: [Mono-list] [Mono-dev] Mono support on Fedora, Ubuntu, Solaris, etc.

2008-09-17 Thread [EMAIL PROTECTED]
Hi there,

I think we can commit to keep builds for

- Solaris x86
- Solaris SPARC
- Mac PPC

(And hopefully soon HP-UX, but not yet).

But, we'd need some help starting up since I expect some problems 
building in Solaris.


pablo


www.plasticscm.com


Andrew Jorgensen escribió:
 The Mono Team is looking for volunteers to maintain packages for several 
 platforms.  We receive many bug reports and request for help which ultimately 
 turn out to be incompatibilities between the packages we build and platforms 
 we do not test them on.  The Generic Linux installer has been especially 
 problematic in this regard.

 Historically it was important for us to provide packages for distributions 
 that did not carry Mono.  With all major distributions already including some 
 version of Mono it's time to focus on ensuring that they include the best 
 version and that it's packaged in the best way.

 For these reasons we have decided that the Mono team will only release 
 binaries for platforms we test.  This includes the latest openSUSE (11.0), 
 the latest SuSE Linux Enterprise (SLE 10), Windows, and MacOSX.  The Generic 
 Linux installer has already been dropped.  This new policy will take effect 
 immediately and will impact the 2.0 release.

 This does not mean that we don't want Mono to run well on other 
 distributions. On the contrary we want to give our users and developers the 
 best experience possible.  The best way to do this is to have better 
 cooperation with members of the major distribution projects.

 Ideally we'd like to have each distribution provide packages for their own 
 releases.  For instance we would love to have an Ubuntu PPA with the latest 
 mono.  I don't know if Fedora has something similar but we can use the 
 openSUSE Build Service to build packages for RedHat derivatives if they 
 don't.  Our hope is that this will lead to better mono support on all the 
 major distributions.

 We are also looking for a volunteer who is passionate about Mono on Solaris 
 to maintain packages on Blastwave.

 If you are a packager for one of these projects and / or have the skills to 
 help in this way please contact me.  If possible we would like to have 
 packages for all these platforms available when 2.0 is released in late 
 September (more likely early October).

 Andrew Jorgensen
 Mono / Moonlight Package Maintainer

 ___
 Mono-devel-list mailing list
 [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

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


Re: [Mono-list] [MonoDevelop] Accessing an MS access db from linux

2008-09-17 Thread Chris Howie
On Wed, Sep 17, 2008 at 12:59 PM, lsuitger [EMAIL PROTECTED] wrote:
 Well, is there a way to access an mdb from linux using c# and mono?

I'd put this in the very unlikely category.  Maybe you can convert
your database to SQLite on Windows?  Then it should work everywhere
Mono and SQLite are available.

P.S. This is off-topic on the MonoDevelop list.  I'm sending this to
the Mono list too, where it's more appropriate.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Xml reading writing.

2008-09-17 Thread Neil Munro
2008/9/17 Jonathan Pryor [EMAIL PROTECTED]

 On Wed, 2008-09-17 at 02:43 +0100, Neil Munro wrote:
  I have an xml file that is my applications preferences, it's an update
  tool, now this update tool can update from multiple sources. If no
  preferences file is found on first run, a default set are saved. Now
  if the user wishes to add a new update source to the xml file I need
  to place the UpdateSourceblah/UpdateSource in the correct part of
  the file, since the file holds ALL application preferences, I can't
  just dump a new source at the end of the text file.
 
  I guess my question is, what's the best way to solve this problem?

 As with many things, there are *several* ways to do this:

  * System.Xml.XmlDocument:
http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.aspx
Provides a DOM oriented XML manipulation API.
Pro: Somewhat easy to use.
Con: Loads the entire document into memory, so not very useful for
 large documents.


This looks like the solution I am going to go for.




  * System.Xml.XmlReader  System.Xml.XmlWriter:
http://msdn.microsoft.com/en-us/library/system.xml.xmlreader.aspx
http://msdn.microsoft.com/en-us/library/system.xml.xmlwriter.aspx
Pro: Provides a pull-model API so that the entire document need
 not be loaded at once.
Con: Not as easy to use as XmlDocument.

  * System.Xml.XPath.IXPathNavigable

 http://msdn.microsoft.com/en-us/library/system.xml.xpath.ixpathnavigable.aspx
Allows reading/writing of XML-like data w/o requiring XML, but
needs an actual implementation that supports reading/writing,
which XmlNode (and thus XmlDocument) do.

 And I'm probably missing a few...

 Unless you're working with a large document (read: several MB and
 larger), I'd suggest either XmlDocument or IXPathNavigable for starters.

  - Jon


So I have this:

// Save it in the prefs.xml file.
XmlDocument xmlDoc = new XmlDocument( );

xmlDoc.Load( sPath_To_Prefs_File );

Now I know that the whole document is loaded into memory at this point, how
would i traverse the document in memory to get to the UpdateSource
section, read until there are no more of that tag and add a new update
source after the last one and before the next line?
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [MonoDevelop] Accessing an MS access db from linux

2008-09-17 Thread Abe Gillespie
Have you ever gotten this to work?  I've tried this myself but never  
found success.


-Abe

On Sep 17, 2008, at 10:48 PM, Jason Taylor wrote:


http://www.mono-project.com/ODBC

ODBC can connect to various databases which has an ODBC driver  
installed:

...
MS Access (http://www.microsoft.com/office/access) (via MDB Tools (http://mdbtools.sourceforge.net/ 
) on UNIX)





2008/9/18 Abe Gillespie [EMAIL PROTECTED]
sqllite is probably closer in philosophy to MS Access than MySQL is.

-Abe

On Sep 17, 2008, at 2:25 PM, lsuitger wrote:


 Thanx! Will convert to mysql as I already have that setup on this
 machine.



 Chris Howie-3 wrote:

 On Wed, Sep 17, 2008 at 12:59 PM, lsuitger [EMAIL PROTECTED] 


 wrote:
 Well, is there a way to access an mdb from linux using c# and  
mono?


 I'd put this in the very unlikely category.  Maybe you can  
convert

 your database to SQLite on Windows?  Then it should work everywhere
 Mono and SQLite are available.

 P.S. This is off-topic on the MonoDevelop list.  I'm sending this  
to

 the Mono list too, where it's more appropriate.

 --
 Chris Howie
 http://www.chrishowie.com
 http://en.wikipedia.org/wiki/User:Crazycomputers
 ___
 Monodevelop-list mailing list
 [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/monodevelop-list



 --
 View this message in context: 
http://www.nabble.com/Accessing-an-MS-access-db-from-linux-tp19499421p19538295.html
 Sent from the Mono - MonoDevelop IDE mailing list archive at
 Nabble.com.

 ___
 Monodevelop-list mailing list
 [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/monodevelop-list

___
Monodevelop-list mailing list
[EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/monodevelop-list



--
A little rudeness and disrespect can elevate a meaningless  
interaction to a battle of wills and add drama to an otherwise dull  
day. - Calven


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