[Mono-winforms-list] [Patch] Invalidate non visible areas in scrolling

2008-01-21 Thread Carlos Alberto Cortez
Hey Chris, Attached is an updated patch that basically incorporates all the things you mentioned in your last mail: * Determines the visible rectangle, and intersects it with the required area (this is, we copy only the visible area). - First by determining the visible area based on its

Re: [Mono-winforms-list] [Patch] Invalidate non visible areas in scrolling

2008-01-21 Thread Jonathan Pobst
I just added a public property called Hwnd.GraphicsContext that is a cached Graphics we keep around for measuring and such. If you don't need a specific Graphics, you can just use this one. Jon Carlos Alberto Cortez wrote: Hey Chris, Attached is an updated patch that basically

Re: [Mono-winforms-list] [Patch] Invalidate non visible areas in scrolling

2008-01-21 Thread Carlos Alberto Cortez
Ah!, perfect! We wll be using that one, instead. Carlos. El lun, 21-01-2008 a las 19:25 -0600, Jonathan Pobst escribió: I just added a public property called Hwnd.GraphicsContext that is a cached Graphics we keep around for measuring and such. If you don't need a specific Graphics, you

Re: [Mono-winforms-list] [Patch] Invalidate non visible areas in scrolling

2008-01-21 Thread Geoff Norton
Jon, You implemented this as: if (bmp_g == null) { bmp = new Bitmap (1, 1, System.Drawing.Imaging.PixelFormat.Format32bppArgb); bmp_g = Graphics.FromImage (bmp);

[Mono-winforms-list] Application.Run() and ContextStripMenu

2008-01-21 Thread AutoLyrix (NoWayX)
Hello everyone, I have an application that does not contain a form. It has a notifyicon only. So, I have to run my app using Application.Run() and not Application.Run(FORM) If my notifyIcon has a contextmenustrip I get an exception: Unhandled Exception: System.NullReferenceException: Object

Re: [Mono-winforms-list] [Patch] Invalidate non visible areas in scrolling

2008-01-21 Thread Jonathan Pobst
Sure, either will work. In the current implementation, bmp_g will never be null anyways, because it is instantiated when it is declared. However, in the future, I want to make the variable ThreadStatic so it is thread safe. Then this getter will come into play. Jon Geoff Norton wrote:

Re: [Mono-winforms-list] Application.Run() and ContextStripMenu

2008-01-21 Thread Jonathan Pobst
Hey! This has been fixed in SVN as of Dec 16th. You can build from SVN, grab an updated System.Windows.Forms.dll out of the monocharge: http://mono.ximian.com/daily/, or wait for 1.2.7. Thanks! Jonathan AutoLyrix (NoWayX) wrote: Hello everyone, I have an application that does not

Re: [Mono-dev] Mono 1.2.6 / gmcs: compilation fails on unsafe array constructor.

2008-01-21 Thread Marek Safar
Hi Stephen, The following code fails to compile: class Bug { unsafe int*[] data = new int*[16]; } Could you please fill a bug report for this issue. Thanks Marek ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] mod_mono and xsp patches

2008-01-21 Thread Marek Habersack
On Sun, 20 Jan 2008 08:29:01 -0500, Joshua Tauberer [EMAIL PROTECTED] scribbled: Hi, Hey Joshua, I have two sets of patches: for mod_mono and xsp. The mod_mono patch corrects a few minor things, like proper destruction of the new shm's and checking everything is initialized. The xsp

[Mono-dev] Failed to create shadow copy (CopyFile).

2008-01-21 Thread Anton Andreev
I have two real world projects that thow this exception with Mono. How do I find what exactly the problem is. This exception is vague! An if only there was a debugger!? /Failed to create shadow copy (CopyFile)./ *Description: *Error processing request. *Error Message: *HTTP 500.

Re: [Mono-dev] mod_mono and xsp patches

2008-01-21 Thread Joshua Tauberer
Marek Habersack wrote: They're OK to go in, thanks! Great, in that case, I'm attaching another patch for mod_mono that implements rate limiting. I had found that under relatively heavy load, mod-mono-server would deadlock. Incoming requests would hang forever, with the result that all of

Re: [Mono-dev] mod_mono and xsp patches

2008-01-21 Thread Marek Habersack
On Mon, 21 Jan 2008 13:45:54 -0500, Joshua Tauberer [EMAIL PROTECTED] scribbled: Marek Habersack wrote: They're OK to go in, thanks! Great, in that case, I'm attaching another patch for mod_mono that implements rate limiting. I had found that under relatively heavy load,

[Mono-dev] System.Web.Compilation Error On XSP2

2008-01-21 Thread Hasan Ozgan
Hi, I write a web framework(njoy) for mono. I try to running with PostgreSQL + Subsonic 1.06. I use mono-1.2.6 on winxp. But I get below error! Is it this bug? Or What is a solution? Note: Sorry my bad english!. *Argument cannot be null. Parameter name: virtualPath* *Description: *Error

Re: [Mono-dev] mod_mono and xsp patches

2008-01-21 Thread Joshua Tauberer
Marek Habersack wrote: On Mon, 21 Jan 2008 13:45:54 -0500, Joshua Tauberer [EMAIL PROTECTED] scribbled: Great, in that case, I'm attaching another patch for mod_mono that implements rate limiting. I had found that under relatively heavy load, mod-mono-server would deadlock. Incoming

Re: [Mono-list] decoding ogg vorbis

2008-01-21 Thread Alan McGovern
You could also try http://anonsvn.mono-project.com/viewcvs/trunk/csvorbis/ Thats a full vorbis decoder in pure C# (as far as i know). Alan. On Jan 21, 2008 7:18 AM, Michael Dominic K. [EMAIL PROTECTED] wrote: On Jan 19, 2008 6:44 PM, Martin Dederer [EMAIL PROTECTED] wrote: hi guys, i am

[Mono-list] How can print Report on mono?

2008-01-21 Thread seifolah Ghaderi
hi all. i'm newer on mono. how i can make and print report on mono . i program in asp.net and my project is runing on mono. but i cant use crystalreport or any report tools? is there a report tools for mono? ___ Mono-list maillist -

Re: [Mono-list] Serialization and Soap

2008-01-21 Thread Dan Smithers
OK, I've got SOAP working. I can construct the stream using SoapFormatter.Serialize, but I can't get Deserialize to reconstruct my data structure. Is there any trick to this that I haven't spotted? thanks dan Dan Smithers wrote: Robert Jordan wrote: Dan Smithers wrote: Hi, I am trying to

Re: [Mono-list] Serialization and Soap

2008-01-21 Thread Robert Jordan
Dan Smithers wrote: OK, I've got SOAP working. I can construct the stream using SoapFormatter.Serialize, but I can't get Deserialize to reconstruct my data structure. Is there any trick to this that I haven't spotted? There is no trick. One difference between Binary and SOAP is the inability

[Mono-list] Using BasicAuthenticationModule

2008-01-21 Thread Kevin Berry
I'm trying to use BasicAuthenticationModule and I haven't managed to get it to do anything. It just seems to ignore the web.config file I've created below. I created a test.html file in the root folder (where the web.config file is located) and launched xsp in that same folder. I'm expecting it

Re: [Mono-list] [Gtk-sharp-list] Check Process state in an GUI app

2008-01-21 Thread Chris Howie
On Jan 21, 2008 11:58 AM, hellboy195 [EMAIL PROTECTED] wrote: hi, I'm currently trying to write a very very simple front-end for ffmpeg with gtk#. My Code looks like this: First I check if a file already exits with File.Exits(path) MessageDialog - Overwrite YesNO. Then the I start ffmpeg

Re: [Mono-list] [Cocoa-sharp] how can i integrate cocoa# into xcode

2008-01-21 Thread Manuel de la Pena
Hi guys, Seems that we have some communication problems at cocoa-sharp... (big ones I'd say) We have two different mailing lists : [EMAIL PROTECTED] [EMAIL PROTECTED] I really don't understand the mailing list situation: As in other project we have a dev and non-dev group, but clearly cocoa

[Mono-list] about Pinvoke in mono Thread

2008-01-21 Thread Jone
Hi, I have a program need to P/Invoke a Shared Object API from a C# thread in Mono , but I am always meet the seg fault error. My code like below: class MainClass { private static void ThreadRun() {