Re: [Mono-dev] Mono profiler and exceptions
2007/6/10, Sanghyeon Seo [EMAIL PROTECTED]: Still working on my Mono profiler for IronPython project. I noticed that when the method is left by throwing an exception, mono_profiler_method_leave is not called. I wrote a patch to fix this. Attached. -- Seo Sanghyeon profiler-exception-leave Description: Binary data ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Reflection and C# compiler differences between Mono and .NET.
Another interesting point is that Mono 1.1.18.1 (as supplied by openSUSE 10.2) follows the CSC behavior for generic methods/properties. So the current Mono behavior is a somewhat recent change... It does feel like a bug, lets research this, please file a bug. - Jon ___ 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] Porting to linux - replacement for winmm.dll
Hi, I am hacking around, making EveMon (http://evemon.battleclinic.com/) a cross platform application. Mostly it involves watching Jonathan Pobst finish MWF (great work!) ;-) There are, however, some windowisms in EveMon code that need fixing. One of the non-trival issues is playing a short jingle after a task completes. Currently this involves P/Invoking into winmm.dll (http://evemon.battleclinic.com/cgi-bin/trac.cgi/browser/EVEMon/trunk/MP3Player.cs). I'd like to play the sound in a way that would work across platforms. I found the System.Media.SoundPlayer class, which can play .wav files and works on mono. However, EveMon currently ships with .mp3 files, so replacing them with .wav is not an option. An .ogg player, on the other hand, would be a nice alternative. There is a csvorbis project in the mono repository - I managed to use it to get tag information out of a music file, but I do not know how to play anything with it. The code itself is a bit cryptic. Does anyone know a portable (pure C#) way to play Ogg Vorbis files? Regards, skolima -- MS-DOS user since 5.0 Windows user since 3.11 Linux user since kernel 2.4 Novell Netware user since 2.2 WARCRAFT user since 1.0 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Porting to linux - replacement for winmm.dll
Check this out: http://www.codeproject.com/cs/media/OggPlayer.asp I should help... But if you want to play mp3 files you should consider using lame. Lame should work on Linux and Windows, check this: http://www.codeproject.com/audio/LittleAudioPlayer.asp http://www.codeproject.com/cs/media/MP3Compressor.asp This examples at codeproject should help you to get around your problem. I hope it helps Manuel On 10 Jun 2007, at 20:09, Leszek Ciesielski wrote: Hi, I am hacking around, making EveMon (http://evemon.battleclinic.com/) a cross platform application. Mostly it involves watching Jonathan Pobst finish MWF (great work!) ;-) There are, however, some windowisms in EveMon code that need fixing. One of the non-trival issues is playing a short jingle after a task completes. Currently this involves P/Invoking into winmm.dll (http://evemon.battleclinic.com/cgi-bin/trac.cgi/browser/EVEMon/ trunk/MP3Player.cs). I'd like to play the sound in a way that would work across platforms. I found the System.Media.SoundPlayer class, which can play .wav files and works on mono. However, EveMon currently ships with .mp3 files, so replacing them with .wav is not an option. An .ogg player, on the other hand, would be a nice alternative. There is a csvorbis project in the mono repository - I managed to use it to get tag information out of a music file, but I do not know how to play anything with it. The code itself is a bit cryptic. Does anyone know a portable (pure C#) way to play Ogg Vorbis files? Regards, skolima -- MS-DOS user since 5.0 Windows user since 3.11 Linux user since kernel 2.4 Novell Netware user since 2.2 WARCRAFT user since 1.0 ___ 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] Porting to linux - replacement for winmm.dll
Both depend on LAME. I do not want to force the user to install additional software (except .Net runtime). And distributing an MP3 implementation (yes, even a LGPL one like LAME) requires paying royalties to Fraunhofer Society. In your original post you pointed out that transforming the files from mp3 to wav was not an option, what changed? Miguel ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Porting to linux - replacement for winmm.dll
I though you did have to pay any royalties if you are doing the following: # Can I use LAME in my commercial program? # # Yes, you can, under the restrictions of the LGPL. The easiest # way to do this is to: # #1. Link to LAME as separate library (libmp3lame.a on unix or # lame_enc.dll on windows) # #2. Fully acknowledge that you are using LAME, and give a link # to our web site, www.mp3dev.org # #3. If you make modifications to LAME, you *must* release these # these modifications back to the LAME project, under the LGPL. # # *** IMPORTANT NOTE *** # # The decoding functions provided in LAME use the mpglib decoding engine which # is under the GPL. They may not be used by any program not released under the # GPL unless you obtain such permission from the MPG123 project (www.mpg123.de). additional software (except .Net runtime). And distributing an MP3 implementation (yes, even a LGPL one like LAME) requires paying royalties to Fraunhofer Society. I understand that you want not to add any extra software, but wouldn't adding a implementation of any kind, that also means one implemented in C# alone, make you pay anyway?? On 10 Jun 2007, at 20:41, Leszek Ciesielski wrote: I did a bit of research before posting to the list :P On 6/10/07, Manuel de la Pena [EMAIL PROTECTED] wrote: Check this out: http://www.codeproject.com/cs/media/OggPlayer.asp Uses an unmanaged C++ library for decoding files and plays them through DirectX, which is hardly portable. I should help... But if you want to play mp3 files you should consider using lame. Lame should work on Linux and Windows, check this: http://www.codeproject.com/audio/LittleAudioPlayer.asp http://www.codeproject.com/cs/media/MP3Compressor.asp This examples at codeproject should help you to get around your problem. Both depend on LAME. I do not want to force the user to install additional software (except .Net runtime). And distributing an MP3 implementation (yes, even a LGPL one like LAME) requires paying royalties to Fraunhofer Society. I hope it helps Manuel On 10 Jun 2007, at 20:09, Leszek Ciesielski wrote: Hi, I am hacking around, making EveMon (http:// evemon.battleclinic.com/) a cross platform application. Mostly it involves watching Jonathan Pobst finish MWF (great work!) ;-) There are, however, some windowisms in EveMon code that need fixing. One of the non-trival issues is playing a short jingle after a task completes. Currently this involves P/Invoking into winmm.dll (http://evemon.battleclinic.com/cgi-bin/trac.cgi/browser/EVEMon/ trunk/MP3Player.cs). I'd like to play the sound in a way that would work across platforms. I found the System.Media.SoundPlayer class, which can play .wav files and works on mono. However, EveMon currently ships with .mp3 files, so replacing them with .wav is not an option. An .ogg player, on the other hand, would be a nice alternative. There is a csvorbis project in the mono repository - I managed to use it to get tag information out of a music file, but I do not know how to play anything with it. The code itself is a bit cryptic. Does anyone know a portable (pure C#) way to play Ogg Vorbis files? Regards, skolima -- MS-DOS user since 5.0 Windows user since 3.11 Linux user since kernel 2.4 Novell Netware user since 2.2 WARCRAFT user since 1.0 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- MS-DOS user since 5.0 Windows user since 3.11 Linux user since kernel 2.4 Novell Netware user since 2.2 WARCRAFT user since 1.0 ___ 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] Porting to linux - replacement for winmm.dll
Am 10.06.2007 um 23:58 schrieb Manuel de la Pena: I though you did have to pay any royalties if you are doing the following: Short answer: MP3 is covered by German and international patents, and that fact is independent of the license of any particular implementation. http://www.iis.fraunhofer.de/EN/bf/amm/projects/mp3/index.jsp http://www.mp3licensing.com/ Andreas ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] critical problem !!!!!!!
[Could you, please, translate your code in english when you ask questions here ? More people will be glad to think about your troubles and this will make your chances of having mutiple advices higher :-) ] I agree with you What's the result in .NET with CSC? yes, it is the same thing NetBSD is very JIHBED, MONO RUN in NetBSD Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545433 ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] critical problem !!!!!!!
Nobody has actually told you what is wrong with your code! CarteDeViste is in the CarteVisite namespace. AnnuaireDAL is in the root namespace, so when you refer to CarteDeVisite in the definition of ExtraireCarte, the compiler cannot find it. Add using CarteVisite; to your second file. You must always add a using for each namespace that you use in each file, or refer to the namespace a class is in using the CarteVisite.CarteDeVisite notation. Chris Seaton On 10 Jun 2007, at 17:06, kamel derouiche wrote: [Could you, please, translate your code in english when you ask questions here ? More people will be glad to think about your troubles and this will make your chances of having mutiple advices higher :-) ] I agree with you What's the result in .NET with CSC? yes, it is the same thing NetBSD is very JIHBED, MONO RUN in NetBSD __ __ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545433 ___ 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] QT applications with Mono and Qyoto -- Pre-release package is available
Maurice Meeden wrote: Am Wed, 06 Jun 2007 19:06:47 +0200 schrieb Alexander Reiter [EMAIL PROTECTED]: Hello all, if someone is interested to write QT applications -- have a look at: http://cougarpc.net/qyoto/index.php?option=com_frontpageItemid=28 since couple of days a pre-release package is available which is already working pretty okay... I'm very interested in writing multiplatform apps with QT, so I've tested Qyoto a few weeks before. It works great with linux, but I'm struggling with the smoke library in windows. I've tested with the mingw gcc compiler 3.4.6, 4.1.2 and 4.2.0, and havent got a smoke.dll. With the msvc2005 compiler I got a smoke.dll, but the compilation of qyoto complains about a lot of missing references. Does anybody know how to compile smoke and qyoto within windows, and can write an howto? Greetings Maurice ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list Hello Maurice, have you also already tried the pre-release package - download: http://cougarpc.net/qyoto/index.php?option=com_remositoryItemid=56func=fileinfoid=4 I don't work with windows but under linux the latest package is working pretty well. So maybe it solves the problems you'll have compiling the stuff under windows. BRgds /alex ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list