[Mono-dev] PPM image
Hello all, - I am using Debian machine with mono 1.1.10 compiler. - I am trying to read PPM Image file. Is there any class or method avaliable by which I can do that directly?? - Currently I am trying to read the PPM file with BinaryReader class. But ReadInt32() method of this calss is not working an returning garbage, other methods such as PeekChar() or ReadChar() works fine with out problem!!! Can any one tell me whats going on here ??? - Any help extended would be highly appriciated!! Cheers Mayur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
RE: [Mono-dev] good IDE tool to work with MONO source codes in Linux?
I tried Eclipse.its a really good IDE to use if you are used to developing in Visual Studio. (Im using c++). But I havent worked out yet how to plug Mono to it unfortunately. If anyone knows, please let me know J Anna From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bu Bacoo Sent: 10 December 2005 15:19 Cc: Mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] good IDE tool to work with MONO source codes in Linux? Q1) Why not to develop on windows and only run on linux? Q2) Have you tried http://www.monodevelop.org/Main_Page Q3) Check anjuta (latest devel), btw, what do you expect from an IDE? Instead of editing/compiling/debuging - which you get from vi/gdb :-) Bu On 12/9/05, Okehee Goh [EMAIL PROTECTED] wrote: Hello, My question is quite off from this list. I'm sorry about that. When work with Mono's windows version using Visual studio in windows, the working environment was quite good. After switching to Linux version for some experiment , it becomes quite difficult because only tool i use is vi editor and gdb. Is there good IDE tool to work with MONO source codes in Linux (not for C# , but for mono codes)? When googled, i got anjuta. But, I'm a little afraid that it might be hard to make integrated working environment for huge mono project with the tool? Thanks for any tip. Regards, Okehee ___ 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] Fix for failing TreeNodeTest.FullPathTest
Jackson Harper wrote: On Mon, 2005-12-12 at 21:54 +0100, Dieter Bremes wrote: Hi, below is a fix to TreeNodeCollection.cs to prevent TreeNodeTest.FullPathTest from failing and some other problems. OTOH I wonder how such obvious bugs could make it into the trunk especially as there a test that clearly catches at least one of them. I believe it has something to do with the current make run-test locking up X on most peoples machines. Yes, that's very annoying. TreeNodeTest runs fine, though - except that NullReferenceException. I use a very simple script named try-MWF.sh - might save someone some time: #!/bin/bash cd ~/mono/trunk/mcs/class/Managed.Windows.Forms make clean sudo make install sudo make test /opt/mono/bin/nunit-console System.Windows.Forms_test_default.dll -fixture:MonoTests.System.Windows.Forms.TreeNodeTest Please file a bug report for this, attaching your patches. Done Dieter Jackson Dieter * TreeNodeCollection.cs : Fixed bugs that among http://dict.leo.org/se?lp=endep=/Mn4k.search=among other http://dict.leo.org/se?lp=endep=/Mn4k.search=other things http://dict.leo.org/se?lp=endep=/Mn4k.search=things caused TreeNodeTest.FullPathTest to fail. Index: TreeNodeCollection.cs === --- TreeNodeCollection.cs (Revision 54253) +++ TreeNodeCollection.cs (Arbeitskopie) @@ -115,18 +115,20 @@ // Remove it from any old parents node.Remove (); - TreeView tree_view = owner.TreeView; - if (owner != null tree_view != null tree_view.Sorted) + TreeView tree_view = null; + if (owner != null) + tree_view = owner.TreeView; + if (tree_view != null tree_view.Sorted) return AddSorted (node); node.parent = owner; if (count = nodes.Length) Grow (); nodes [count++] = node; - if (tree_view != null (owner.IsExpanded || owner.IsRoot)) { + if (owner != null tree_view != null (owner.IsExpanded || owner.IsRoot)) { // XXX: Need to ensure the boxes for the nodes have been created tree_view.UpdateNode (owner); - } else if (tree_view != null) { + } else if (owner != null tree_view != null) { tree_view.UpdateNodePlusMinus (owner); } @@ -152,9 +154,12 @@ Array.Clear (nodes, 0, count); count = 0; - TreeView tree_view = owner.TreeView; - if (tree_view != null) - tree_view.UpdateBelow (owner); + TreeView tree_view = null; + if (owner != null) { + tree_view = owner.TreeView; + if (tree_view != null) + tree_view.UpdateBelow (owner); + } } public bool Contains (TreeNode node) @@ -210,8 +215,10 @@ if (nodes.Length OrigSize nodes.Length (count * 2)) Shrink (); - TreeView tree_view = owner.TreeView; - if (removed == tree_view.top_node) { + TreeView tree_view = null; + if (owner != null) + tree_view = owner.TreeView; + if (tree_view != null removed == tree_view.top_node) { OpenTreeNodeEnumerator oe = new OpenTreeNodeEnumerator (removed); if (oe.MoveNext () oe.MoveNext ()) tree_view.top_node = oe.CurrentNode; ___ 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] good IDE tool to work with MONO source codes in Linux?
On 12/13/05, Anna Ellis [EMAIL PROTECTED] wrote: I tried Eclipse….its a really good IDE to use if you are used to developing in Visual Studio. (I'm using c++). But I haven't worked out yet how to plug Mono to it unfortunately. If anyone knows, please let me know J Anna Here is C# plugin: http://www.improve-technologies.com/alpha/esharp/ It can compile, but does not use the debugger as far as I know. Cheers -- -- Svetoslav Milenov (Sunny) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] good IDE tool to work with MONO source codes in Linux?
I don't understand what not for C# , but for mono codes means, but X-develop is a very nifty crossplatform IDE that supports refactoring, live code analysis, and also completely supports Mono with debugger (as fully as as VS.Net supports the native .Net framework).http://www.omnicore.com- Jérémie Lumbroso ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Release notes for Mono 1.1.11
Hello, If you have items worth of listing on the Mono 1.1.11 release notes, please send me an email. Miguel ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] PPM image
Hello, - Currently I am trying to read the PPM file with BinaryReader class. But ReadInt32() method of this calss is not working an returning garbage, other methods such as PeekChar() or ReadChar() works fine with out problem!!! Can any one tell me whats going on here ??? The major issue is that BinaryReader is not a general purpose binary-reading class, it is instead just half the implementation of a minimalistic framework to handle binary files. This means that BinaryReader.ReadInt32 has its endianess hardcoded by design. You can only read int32s from binary blobs that were produced by BinaryWriter. A general purpose binary reading/writing library would be a great addition to Mono. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Console programs doesn't finish
Hello, I don't know if this is the same problem as I have but basically my programs finish, the last line in Main runs but yet control never returns to the shell, the mono processes stay running. I have not found yet what causes that problem yet or have an small example to file a bug with. Yes, I suppose it is the same problem because the last line runs but the control never returns to shell. Have you guys tried stracing the process? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Service crashes
Hello, What should cause this? OS is SuSE 9.3 Professional. I think that the scheduler kills my process becouse of overloading the system but I am not sure... It is hard to tell without more details about what the application was doing at that time. You could try tracing the process (and limit the trace options so you do not get flooded) Please help me! Thanks! Arnhoffer Károly eCron Informatika Kft. 1119 Budapest, Hadak útja 9. tel./fax: +36 (1) 203-1535 mobil: +36 (30) 472-8855 e-mail: [EMAIL PROTECTED] ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Miguel de Icaza [EMAIL PROTECTED] ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Console programs doesn't finish
On Dec 13, 2005, at 10:23 AM, Miguel de Icaza wrote: Hello, I don't know if this is the same problem as I have but basically my programs finish, the last line in Main runs but yet control never returns to the shell, the mono processes stay running. I have not found yet what causes that problem yet or have an small example to file a bug with. Yes, I suppose it is the same problem because the last line runs but the control never returns to shell. Have you guys tried stracing the process? With the danger of sounding too ignorant, how do I do that? what will it tell me at the end? I can probably run a test briefly after I find that out. ___ 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] PPM image
F-Spot has a ppm reader that handles several formats, the source is in gnome cvs under the module F-Spot. It isn't really complete but if you have a specific issue let me know and I'm happy to help solve it. --Larry On Tue, 2005-12-13 at 09:26 +, Mayur Devendra Punekar wrote: Hello all, - I am using Debian machine with mono 1.1.10 compiler. - I am trying to read PPM Image file. Is there any class or method avaliable by which I can do that directly?? - Currently I am trying to read the PPM file with BinaryReader class. But ReadInt32() method of this calss is not working an returning garbage, other methods such as PeekChar() or ReadChar() works fine with out problem!!! Can any one tell me whats going on here ??? - Any help extended would be highly appriciated!! Cheers Mayur ___ 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
[Mono-dev] Changes to Gendarme framework
Hi, I'm almost finished rolling my rules into Gendarme, but I'm finding that I need a little more support from the rule execution framework. There are two major changes I'd like to make: 1) The null dereference analysis doesn't simply succeed or fail --- it generates a list of locations where operations may fail. Therefore, rather than having the various Check*() methods from IRule return bool, I'd like to have them either return a list of messages (my preference) or take a reporter object of some sort as a parameter. In the former case, returning null (or an empty list?) would indicate success (i.e., no errors). 2) It's nice to be able to generate debugging output with a simple command-line flag, rather than including debugging code during development and removing it later. So, I'd like to add a --debug flag to the console runner. However, in order for the rules to know about this flag (or any other), it either needs to be some sort of static global (icky) or we need to pass the runner (or some portion of it) into the rules when we execute them. I perfer the latter option, myself, as it might come in handy in a number of other ways later. I ask about these in advance because they both change the interface that all of the rules use, so they'll require modification of all existing rules (in trivial ways). Fortunately, at this point, we have very few rules, so it shouldn't be hard. If all of this sounds good, I'll send in a patch shortly. Aaron ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list