Re: [Mono-list] Understanding a bit how things work

2012-03-03 Thread Carlos Alberto Cortez
Probably the Deployment page is a good starting point: http://www.mono-project.com/Guidelines:Application_Deployment 2012/3/3 Charles Krinke charles.kri...@gmail.com I have worked with mono before but it has been a little while and I now have a Windows project including a solution file and I

Re: [Mono-list] Understanding a bit how things work

2012-03-03 Thread Carlos Alberto Cortez
happening there. On Sat, Mar 3, 2012 at 9:54 AM, Carlos Alberto Cortez calberto.cor...@gmail.com wrote: Probably the Deployment page is a good starting point: http://www.mono-project.com/Guidelines:Application_Deployment 2012/3/3 Charles Krinke charles.kri...@gmail.com I have worked

Re: [Mono-dev] Mono Winforms on Mac

2010-10-30 Thread Carlos Alberto Cortez
Hello, I will step up, since I have more experience on the code, but based on its size, I may be giving feedback piece by piece. Carlos. 2010/10/30 Miguel de Icaza mig...@novell.com Hello Ralph, Does the Mono Project have it's own format utility? It would be nice to make all the code

Re: [Mono-dev] SerialPort and OnDataReceived event

2010-07-30 Thread Carlos Alberto Cortez
Hey, This event is indeed not implemented. I began to implement it some time ago, but due to some technical reasons I don't remember now -it was something related to poll/select functions, likely), I didn't commit it (and now I can't seem to find that patch). And yes, we would accept patches in

Re: [Mono-winforms-list] Odd StatusStrip.PreferredSize behavior

2010-05-17 Thread Carlos Alberto Cortez
Hello, This seems to be a bug in our implementation. If you provide a test case (a small one ideally) we can try to figure out what's happening. Carlos. 2010/5/17 Mike Fried michaelbfr...@gmail.com I'm writing a program under Windows in Visual Studio (2008, switching to 2010 soon) that will

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-04-17 Thread Carlos Alberto Cortez
Sort(). Nodes are sorted as they are inserted. Latif On Tue, Mar 23, 2010 at 7:03 PM, Carlos Alberto Cortez calberto.cor...@gmail.com wrote: Hey! I tested this on those same versions, and I cannot get the error. Could you cook a small test case? Carlos. 2010/3/23 Latif Khalifa lati

Re: [Mono-dev] [PATCH] Bug 494234: XplatUIX11.WorkingArea can segfault if the WM does not support _NET_WORKAREA

2010-04-08 Thread Carlos Alberto Cortez
Hey, The change seems fine, but we need to test it. Will do that this weekend. Thanks, Carlos. 2010/4/3 Brian Pellin bpel...@gmail.com Is there anything I can do to encourage applying the patch in Bug 494234? [1] I get a segfault every time I run KeePass[2] in the xmonad[3] window manager,

Re: [Mono-winforms-list] Transparency Problem

2010-04-06 Thread Carlos Alberto Cortez
Hey, On my machine (openSuse 11.1) using 2.4/2.6 series it works fine. Basically our code tries to detect a property in the window manager to detect whether there's transparency support or not. So it should work *at least* in Linux. Could you elaborate more so we can try to figure out what's

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-03-23 Thread Carlos Alberto Cortez
Hey, This should be working. Maybe you hit a bug, but it seems, based on the other information, that you are using an old version. Take a look at that and let us know. Carlos. 2010/3/23 Latif Khalifa lati...@radegastclient.org Hi, I'm trying to cure a few last quirks an an application I'm

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-03-23 Thread Carlos Alberto Cortez
is always alphabetic and my Compare() never gets called. Latif On Tue, Mar 23, 2010 at 4:00 PM, Carlos Alberto Cortez calberto.cor...@gmail.com wrote: Hey, This should be working. Maybe you hit a bug, but it seems, based on the other information, that you are using an old version. Take

Re: [Mono-winforms-list] Wrong icons on OpenSuse, right on Ubuntu

2010-03-01 Thread Carlos Alberto Cortez
Hey Pablo, What version of OpenSuse are you using? I'm trying 11.1 and it's working fine. Also, any chance to attach a screenshot? Carlos. 2010/3/1 pablosantosl...@terra.es pablosantosl...@terra.es Hi there, We're experiencing some graphical issues with Plastic on OpenSuse (latest) while

Re: [Mono-winforms-list] TextBox bugs

2010-02-26 Thread Carlos Alberto Cortez
Hey Dick! I will take a look at them this weekend. Carlos. 2010/2/26 Dick Porter dpor...@codicesoftware.com Hi all I recently submitted a couple of bugs to do with keyboard handling in TextBox: https://bugzilla.novell.com/show_bug.cgi?id=582691 - Return key works intermittently in

Re: [Mono-dev] [Bug 575813] FileStream doesn't handle errors on Close (disk full, generic error, etc.)

2010-02-08 Thread Carlos Alberto Cortez
Hey! I was taking a look and the issue is not reproducible in trunk, since r145271 seems to fix it indirectly, by calling MonoIO.Write until *all* the bytes have been written. At least it fixes the very specific scenario described in the bug report, and since that revision is expected to be

Re: [Mono-dev] [Bug 575813] FileStream doesn't handle errors on Close (disk full, generic error, etc.)

2010-02-05 Thread Carlos Alberto Cortez
I will take a look at it in the next days. Carlos. 2010/2/5 Alex Shulgin alexander.shul...@yessoftware.com Alex Shulgin wrote: Hi, I've filed a somewhat nasty bug a few days back (you may lose your data if you trigger it): https://bugzilla.novell.com/show_bug.cgi?id=575813 I'd

Re: [Mono-dev] Mono 2.6.x

2010-02-02 Thread Carlos Alberto Cortez
#569535 has been already backported, so it should appear in the next release. Carlos. 2010/2/2 Kris Ray k...@landmarkdigital.com I would like to vote for backports of the following bugs, which are already fixed in trunk: https://bugzilla.novell.com/show_bug.cgi?id=565149

Re: [Mono-winforms-list] Runtime error accessing Icons in Resources

2010-01-26 Thread Carlos Alberto Cortez
This seems to be a resources issue. Would it be possible to get the code producing this error, so we could test what's happening? Carlos. 2010/1/18 georgec giorgos.constanti...@gmail.com The following code is running fine on .NET but produces a runtime error with Mono: 1:

Re: [Mono-dev] Fwd: Could you please review/comment or approve?

2010-01-22 Thread Carlos Alberto Cortez
de Icaza mig...@novell.com Date: Sun, Nov 22, 2009 at 10:46 PM Subject: Could you please review/comment or approve? To: Carlos Alberto Cortez calberto.cor...@gmail.com Cc: skol...@gmail.com Hello Carlos, Could you please review this patch that has been sitting on mono-devel

Re: [Mono-winforms-list] Native Menu Bars in Winforms on OSX

2010-01-21 Thread Carlos Alberto Cortez
The support for this hasn't been implemented in winforms, and we don't have plans to implement it in a near future. Patches are accepted, however ;-) Carlos. 2010/1/20 Daniel Rosenstark dr.public.dev...@confusionists.com I think I may have asked this before: it is totally absurd that Winforms

Re: [Mono-winforms-list] gnome white font color and mono WinForm issue..

2010-01-07 Thread Carlos Alberto Cortez
We had an issue but it was only happening for ToolStrip menus. Is that the case, or is it happening with other controls as well? I remember testing extensively with dark themes and the only issue was related to ToolStrip (which has been fixed in 2.4/2.6/trunk, but didn't make it in the version you

Re: [Mono-winforms-list] gnome white font color and mono WinForm issue..

2010-01-07 Thread Carlos Alberto Cortez
buhochile...@gmail.com buhochil...@gmail.com On 01/07/2010 11:05 AM, Carlos Alberto Cortez wrote: We had an issue but it was only happening for ToolStrip menus. Is that the case, or is it happening with other controls as well? yeap, all kind of winform controls like texboxes, menus, labels, etc

Re: [Mono-winforms-list] gnome white font color and mono WinForm issue..

2010-01-07 Thread Carlos Alberto Cortez
work 'fine' (remember to set this env var only in the terminal where you execute your winforms app ;-) ) Try something like: env DESKTOP_SESSION=KDE mono MyApp.exe Carlos. 2010/1/7 buhochile...@gmail.com buhochil...@gmail.com On 01/07/2010 11:05 AM, Carlos Alberto Cortez wrote

[Mono-dev] [Patch] Support for exponents in Int32.Parse

2009-12-21 Thread Carlos Alberto Cortez
Hey! I was going to commit the attached patch, in order to support exponent notation in our Int32.Parse method (as declared in NumberStyles.AllowExponent). But then I thought it would be a good idea to throw the patch to the public, in case somebody is interested - specially in the overflow

Re: [Mono-winforms-list] menustrip

2009-12-14 Thread Carlos Alberto Cortez
With Mono 2.4/2.6/trunk it's working fine. Please update. Carlos. 2009/12/14 andi ari twentyfirsta...@gmail.com Hi All, My name is Andi. Im a newbie it tried to run some lines of c# code using monodevelp on Ubuntu 8.10. Here are the codes using System; using System.Drawing; using

Re: [Mono-dev] Announcing the release of Mono 2.4.3

2009-12-09 Thread Carlos Alberto Cortez
It was indeed fixed. Sorry, I forgot to close that one. Carlos. 2009/12/9 Oskar Berggren oskar.bergg...@gmail.com The release notes lists the following issue as fixed: 467418 (https://bugzilla.novell.com/show_bug.cgi?id=467418) - ListView in VirtualMode uses too much memory and is slow

Re: [Mono-list] DataGridView databind

2009-11-30 Thread Carlos Alberto Cortez
Do you have a test case for this issue? This seems to be a bug, so we need a test case to know what's happening there. Carlos. 2009/11/30 Rıdvan Tülünay ridvantulu...@gmail.com I cannot bind DataGridView in MONO, throw this exceptions. System.ArgumentOutOfRangeException: Argument is out of

Re: [Mono-dev] [Patch] Report an error if src and dest are the same in Copy

2009-11-27 Thread Carlos Alberto Cortez
Yes - sorry, I forgot to send it with the previous patch ;-) Carlos. 2009/11/27 Rodrigo Kumpera kump...@gmail.com Do you have a test case for that? On Fri, Nov 27, 2009 at 12:09 AM, Carlos Alberto Cortez calberto.cor...@gmail.com wrote: Hey, The attached patch on CopyFile on our io

[Mono-dev] [Patch] Report an error if src and dest are the same in Copy

2009-11-26 Thread Carlos Alberto Cortez
Hey, The attached patch on CopyFile on our io-layer -which is used by System.IO.File.Copy- check if the source and the destination are the same, and in that case, report that the file is currently in use, and proceed to throw an exception. I tried to add this check directly in our C# side, but

Re: [Mono-winforms-list] Some Winforms Questions

2009-11-24 Thread Carlos Alberto Cortez
Hey! I'm not our OSX expert, so I will leave those questions unanswered. 3) The RichTextEditor in Winforms on Mono is mostly useless. Does GTK# provide something better? Or can anyone recommend any libraries for Winforms? I actually don't need richtext, but I do need undo, hyperlinks,

Re: [Mono-winforms-list] Using Windows Forms over Linux

2009-11-18 Thread Carlos Alberto Cortez
Hey, There are some limitations on our implementation of Windows.Forms, just as any other re-implementation can have. We provide it however, to let developers to bring their applications from .net to linux with Mono. Now: if you are going to create a new app, then you can go with Gtk#, and

Re: [Mono-winforms-list] [PATCH] For MouseClick Event in SWF

2009-10-27 Thread Carlos Alberto Cortez
Hey, I will review the patch later, but there's no need to send the patch to the mono develop list, since the change is related to windows.forms. Also, the mono-patches list is used to receive/catch the changes in svn. Next time send the patch to the winforms list, please. Carlos. 2009/10/27

Re: [Mono-dev] Gtk depends on Winforms ¿?

2009-09-07 Thread Carlos Alberto Cortez
Hey, But since Mono's System.Windows.Forms is Open Source [1], why was it again that no one has found out what DoEvents does? ;-) Andreas [1] http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs?view=markup We do know what

Re: [Mono-dev] WinForms Control.Invoke Issue

2009-08-07 Thread Carlos Alberto Cortez
Hey! I had been reviewing some patches we have in bugzilla - but I missed this one. It's now reviewed - see bugzilla ;-) Thanks! Carlos. 2009/8/7 Tom Spink tsp...@gmail.com Hi Guys, I filed a bug a while ago about an issue with Control.Invoke in WinForms. A guy said he'd take a look at a

Re: [Mono-list] Keyboard bug in Mono

2009-07-28 Thread Carlos Alberto Cortez
Hey, This is working with 2.4 Carlos. 2009/7/28 LKeene lionel.ke...@gmail.com Hello all. I'm testing on Mono 2.0 because our local Linux guy won't install 2.4. The following works fine on XP + Microsoft .NET, but generates no response on Red Hat + Mono 2.0. Has anyone else seen this bug?

Re: [Mono-dev] current serialport status..

2009-07-13 Thread Carlos Alberto Cortez
As Atsushi said, nobody is working in the serial ports these days, but you can still fill a bug report, and at some point we will try to fix it. Carlos. 2009/7/13 Atsushi Eno atsushi...@veritas-vos-liberabit.com My understanding is that no one is working on serial port stack now. I haven't

Re: [Mono-winforms-list] PrintPreviewControl

2009-06-08 Thread Carlos Alberto Cortez
As I said before, you need to print here the entire message error you are getting, so we can get an idea ;-) 2009/6/9 Jyoti Seth jyotiseth2...@gmail.com Hi All, I am trying to use PrintPreviewControl on Mono 2.4 on Suse linux. It is throwing GDI32.dll error. Libgdiplus package is already

Re: [Mono-list] PrintPreviewControl

2009-06-08 Thread Carlos Alberto Cortez
You are missing the libgdiplus package. You need to install it in your system. Carlos. 2009/6/8 Jyoti Seth jyotiseth2...@gmail.com Hi, I tried using the PrintPreviewControl on mono but it gives gdi32.dll error. Thanks, Jyoti *From:* Doug Blank [mailto:doug.bl...@gmail.com]

Re: [Mono-winforms-list] C# 2008 - Buttons not showing up on RHEL 5

2009-06-05 Thread Carlos Alberto Cortez
Hey! Well, it sounds like a bug, but it sounds like an old version, too. Would you mind running mono --version? Carlos. 2009/6/4 Aatif_Chaudhry gaa...@gmail.com I have a simple form application made in C# (MS VS 2008), it has two buttons, but when I run it on RH Linux 5 through mono, the

Re: [Mono-winforms-list] MessageDialog.Show() Wont close

2009-06-05 Thread Carlos Alberto Cortez
I extracted this from your file: using System; using System.Windows.Forms; public class Test { static void Main () { string outputText = Succesfully STARTED MySQL CHECKER; MessageBox.Show(outputText, SUCCES, MessageBoxButtons.OK,

Re: [Mono-winforms-list] Clipboard.SetDataObject() doing nothing

2009-05-24 Thread Carlos Alberto Cortez
This issue has nothing to see with that Changelog entry. Basically we have never supported copying/pasting other than text/rtf text. So feel free to open a bug report for it :-) Thanks! Carlos. 2009/5/24 Christoph Teuber christoph.teu...@gmx.li Hello, thanks for your fast answer. You

Re: [Mono-winforms-list] Clipboard.SetDataObject() doing nothing

2009-05-24 Thread Carlos Alberto Cortez
some notes if someone is interested. On Sun, May 24, 2009 at 4:33 PM, Carlos Alberto Cortez calberto.cor...@gmail.com wrote: This issue has nothing to see with that Changelog entry. Basically we have never supported copying/pasting other than text/rtf text. So feel free to open a bug

Re: [Mono-winforms-list] [PATCH] System.Windows.Forms.Form ControlBox bug

2009-05-22 Thread Carlos Alberto Cortez
Hey! Would it be possible to fill a bug report with the attached patch, so we don't forget about it? Thanks! Carlos. 2009/5/22 Lachlan Keown lachlanke...@gmail.com Hi, I've been working on getting my Windows Forms app to work under Mono and finding a few bugs along the way... This one

Re: [Mono-winforms-list] Problems WinForms in Linux

2009-04-28 Thread Carlos Alberto Cortez
I filled a new bug report regarding your application's issue: https://bugzilla.novell.com/show_bug.cgi?id=498963 Thanks! Carlos. 2009/4/27 v567 viv...@yandex.ru MSI MegaBook M510A (CPU Intel Pentium-M 1.7 Gb, Memory 2 Ggb, ATI Mobility Radeon 9700 64 Mb) test.exe: 1. XP SP2 .NET FrameWork

Re: [Mono-winforms-list] Strange exception related to TableLayoutPanel?

2009-04-22 Thread Carlos Alberto Cortez
It seems like a bug. Would you mind filling a bug with an attached test case? Thanks! 2009/4/22 noda www@free.fr Hello, I have the strange exception below that is raised when I try to create a new instance of my MainForm class (a classic windows Form):

Re: [Mono-winforms-list] Very slow performance in WinForms ListView

2009-04-21 Thread Carlos Alberto Cortez
I commited some changes some weeks ago (not available in 2.4, but they will be ready for 2.6) that improve the rendering, with less flicker changing columns width/position. But anyway, would you mind filling a bug report with a test case? There are different things that can affect the performance

Re: [Mono-winforms-list] [Patch] CausesValidation handling

2009-03-25 Thread Carlos Alberto Cortez
does). Comments? Carlos. 2009/2/16 Carlos Alberto Cortez calberto.cor...@gmail.com Hey, The attached patch basically adds support for Control.CausesValidation, which means that in some scenarios the validation is postponed (when CausesValidation if false, basically). I'm concerned

[Mono-winforms-list] [Patch] CausesValidation handling

2009-02-16 Thread Carlos Alberto Cortez
Hey, The attached patch basically adds support for Control.CausesValidation, which means that in some scenarios the validation is postponed (when CausesValidation if false, basically). I'm concerned -specially- about the code readibility (it also includes the description of the algorithm in the

Re: [Mono-winforms-list] Question about Linux compatibality

2009-02-08 Thread Carlos Alberto Cortez
Yeah, VB.Net is cross platform and the .exe you get should work in Mono without problems. The difference between using VB.Net and C# is mostly the fact, as far as I know, that the first uses some additional libraries (that btw have been implemented in Mono already). If your application doesn't

Re: [Mono-winforms-list] Can I execute the exe file of visual studio project on linux+MONO ?

2009-02-03 Thread Carlos Alberto Cortez
Yes, you can run winforms apps in linux. Basically you take the .exe produced by Visual Studio (usually under MyProjectName/MyProjectName/bin/Release) and then you have to run it (from the console): mono MyProjectName.exe Carlos. 2009/2/3 mohammed_aid mohammed_...@yahoo.com hello everybody,

Re: [Mono-winforms-list] Treeview select bug

2009-02-01 Thread Carlos Alberto Cortez
This sounds like a bug. Please fill a bug report. Thanks! Carlos. 2009/2/2 qed naoti...@gmail.com The Treeview control wants to select its first item when it gains focus for the first time (after the application starts running) via a mouse-click whether the user clicked on the first item or

Re: [Mono-winforms-list] works!

2008-12-09 Thread Carlos Alberto Cortez
You should always include the error message ;-) I suspect you are not telling the compiler to reference System.Windows.Forms: gmcs hello-winforms.cs -r:System.Windows.Forms Carlos. 2008/12/9 pepe_eloy [EMAIL PROTECTED] Thanks Andy for your help. I ran the program as you tell me and

Re: [Mono-winforms-list] Usercontrol inheritance not working with mono 1.2.6

2008-11-27 Thread Carlos Alberto Cortez
Besides what Rafael mentioned, it's important to send the code, so we can test it. Carlos. 2008/11/27 Rafael Teixeira [EMAIL PROTECTED] 1.2.6 is too old, specially for WinForms. Please upgrade to 2.x. On Wed, Nov 26, 2008 at 1:14 PM, RobWeatherford [EMAIL PROTECTED] wrote: Hi, I was

Re: [Mono-dev] Bug In Mono FTP System.Net.FtpWebRequest

2008-09-04 Thread Carlos Alberto Cortez
This is mostly an eror. Please fill a bug for it. See http://mono-project.com/Bugs Carlos. El mié, 03-09-2008 a las 05:23 -0700, Dieuzorro escribió: With my code I was able to download a file on the server ftp://ftp-developpez.com/konflor/Latex/formation/FormationLatex.pdf; anonymously. But

Re: [Mono-dev] Mono 2.0 Preview 1 is out!!

2008-08-20 Thread Carlos Alberto Cortez
Hello, 3) You asked post bug reports. OK. I looked in tracker - there are 171 bugs only in SWF (some of them are mine). Some bugs assigned to developers. But most of them not assigned. What do you plan to do with such bugs? Will you ignore them and make 2.0 release? Developing the

Re: [Mono-winforms-list] Scrolling performance isues

2008-08-11 Thread Carlos Alberto Cortez
El dom, 10-08-2008 a las 18:55 -0700, Chris Toshok escribió: Nice. That look pretty good, with the only issue being performance over an X connection with high latency - it'll block all UI until the redraws complete. I thought that was exactly we wanted to do ;-) That said, it's

Re: [Mono-winforms-list] DataGrid

2008-08-11 Thread Carlos Alberto Cortez
Probably it's a regression. Would you mind filling a bug report? This way we can track the error with the details. Carlos. El lun, 11-08-2008 a las 03:41 -0700, mbertoli escribió: Do anyone of you use a DataGrid in your applications? Does it work? I tried various applications on various

[Mono-winforms-list] [PATCH] Avoid sending MouseEnter messages when clicking

2008-08-11 Thread Carlos Alberto Cortez
Hey Ivanz, The attached patch reverts a check in XplatUIX11.GetMessage method, specifically handling the X11 EnterNotify message generated when clicking a control (rev 101225). Basically when a control is clicked, EnterNotify events are generated for the container form and the control being

Re: [Mono-winforms-list] [DataGrid] System.IndexOutOfRangeException: list position

2008-08-10 Thread Carlos Alberto Cortez
Hey, If it works on .net, and not in mono, please fill a bug report at http://mono-project.com/Bugs in the System.Windows.Forms section, so we can fix it. Thanks, Carlos. El dom, 10-08-2008 a las 00:08 -0700, mbertoli escribió: Hi, I have a simple DataGrid in which I load data from a

Re: [Mono-winforms-list] Scrolling performance isues

2008-08-07 Thread Carlos Alberto Cortez
Hey Chris Comments below. I'm also not sure flushing the paint queue before doing the XCopyArea (suggestion 1 above) will be enough either. It's very easy to imagine a scenario where you're scrolling and we do another ScrollWindow before all the GraphicsExpose events have been received.

[Mono-winforms-list] Scrolling performance isues

2008-07-25 Thread Carlos Alberto Cortez
Hey, The new code that detects not visibles areas of the window to scroll (obscured by other mwf windows or x11 top level ones), although working fine, is somewhat slow, as some people have noticed. After some research, I found that getting all the child windows for the root window (using

[Mono-dev] [Patch] DateTimePicker changes

2008-07-20 Thread Carlos Alberto Cortez
Hey, While working on #, I found some small bits not matching .net. So basically the attached patch: * Doesn't change the DateTimePicker.Value property immediately when editing -this means, when a user types a single digit-, but when the max number of digits is reached *or* the selection moves

[Mono-winforms-list] [Patch] Navigation for auto complete in TextBox

2008-07-13 Thread Carlos Alberto Cortez
Hey, The attached patch adds support for navigation in TextBox. It also tries to show the auto complete window when a new char has been typed, instead of trying to do so when the Text changes. The reason is that the auto complete window should only appear when the user types, but not when Text

[Mono-dev] [Patch] Implement basic AutoComplete support for ComboBox

2008-07-01 Thread Carlos Alberto Cortez
Hey! Attached is a patch that implements support for ComboBox. The idea is to use the available support in TextBox, so the TextBox has direct access to our items. Since this is not the clearest approach, it's the better in terms of performance, since otherwise we should create a IList of item's

Re: [Mono-winforms-list] X11 Scrolling Regressions

2008-06-04 Thread Carlos Alberto Cortez
This is likely caused by my last scrolling patch. I'm taking a look now, Carlos. 2008/6/4 Ivan N. Zlatev [EMAIL PROTECTED]: On Wed, Jun 4, 2008 at 7:04 PM, Ernesto [EMAIL PROTECTED] wrote: Ivan N. Zlatev escribió: On Wed, Jun 4, 2008 at 6:01 PM, Ernesto [EMAIL PROTECTED] wrote: Ivan N.

Re: [Mono-dev] Mono C# Serial Port problem

2008-05-30 Thread Carlos Alberto Cortez
Would you mind filling a bug with the precise information? Thanks, Carlos. El jue, 29-05-2008 a las 02:24 -0700, Bs360 escribió: Alan_Chun wrote: HI, currently I am porting a windows app to linux using Mono. I have some difficulties to get the serial port work. here is the

Re: [Mono-dev] ListBox.cs ownder draw variable size

2008-05-30 Thread Carlos Alberto Cortez
Hey, Two things for your next patch: * Use the coding guidelines: http://www.mono-project.com/Coding_Guidelines * Send your patch as an attached file, not in the body of the message. Committed your patch, thanks for the correction! Carlos. El mié, 28-05-2008 a las 06:42 +0200, jkeymer

Re: [Mono-dev] Mono C# Serial Port problem

2008-05-21 Thread Carlos Alberto Cortez
Hello, The issue with our code is that we call the Mono posix libraries, this is not cross platform. Our implementation uses the Win32 api in windows and posix calls with a C helper layer in Unix platforms. Observe that we never tested it with Mac. Since you are using the Mono.Posix

Re: [Mono-dev] Mono C# Serial Port problem

2008-05-15 Thread Carlos Alberto Cortez
That's likely because 'mono test.exe' actually uses mono, and 'test.exe' runs .net instead. This appears to be a bug. Please fill a bug report with the attached repro. Thanks! Carlos El jue, 15-05-2008 a las 12:01 -0700, Alan_Chun escribió: Panoramix wrote: In Linux to use a device

Re: [Mono-dev] Installing policy file in the GAC?

2008-03-05 Thread Carlos Alberto Cortez
gacutil won't install a policy file in the GAC because the policy file isn't an assembly. So, obviously, I have to copy it there from the install script. But how can the install script find out where Mono is installed? Is there any command I can use to get at the Mono installation

Re: [Mono-dev] [PATCH] Cache errno for serial port

2008-02-19 Thread Carlos Alberto Cortez
Hey Miguel, Somehow I had this wrong idea that GetLastError would retrieve windows-specific codes (not the ones errno gets). Thanks, Carlos. El lun, 18-02-2008 a las 20:19 -0500, Miguel de Icaza escribió: Hello Carlos, The attached patch adds a 'serial_errno' variable in

[Mono-dev] [PATCH] Cache errno for serial port

2008-02-17 Thread Carlos Alberto Cortez
Hey, The attached patch adds a 'serial_errno' variable in mono/support/serial.c, to cache the last error related to serial port functions. At first I tried to just create a function directly retrieving errno, but it was getting a different value from the original (probably some code modified it

[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 Carlos Alberto Cortez
can just use this one. Jon Carlos Alberto Cortez wrote: 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

Re: [Mono-winforms-list] [PATCH] Invalidate non visible areas when scrolling

2007-11-06 Thread Carlos Alberto Cortez
Hey Chris, Sorry for the late answer (spent some time fixing some other winforms bugs). Commnts below. El lun, 01-10-2007 a las 22:03 -0700, Chris Toshok escribió: It does, but I don't think we need to add tracking of invalid areas which are offscreen - the whole point of the invalid area

Re: [Mono-winforms-list] New to the list

2007-09-07 Thread Carlos Alberto Cortez
Hello Heh... yes, I have that feeling too. I just didn't want to made design-level changes (and even if I did want, I didn't dare since this is my first day with the winforms source code). However, I can explain how I see the problem so you guys decide if deeper changes are necesary.

Re: [Mono-dev] SerialPort - patch waiting to apply

2007-07-01 Thread Carlos Alberto Cortez
El jue, 28-06-2007 a las 17:44 +0200, Leszek Ciesielski escribió: http://bugzilla.ximian.com/show_bug.cgi?id=78911 There's a patch and Miguel's positive comment - can someone apply this, please? Sorry, I thought I had applied it already. This is now in SVN. Thanks for the remainder.

[Mono-winforms-list] [PATCH] ToolTip patch

2007-05-15 Thread Carlos Alberto Cortez
Hey, The small attached patch changes a pair of bits of the ToolTip class. The first change is that calling SetToolTip for a control that already shown its associated tooltip should make it visible _again_ if the mouse pointer is inside its bounds. The second one is that we were not updating

Re: [Mono-dev] Bugzilla bugs needing attention

2007-03-05 Thread Carlos Alberto Cortez
The others I'll verify the patches content and commit if no one objects in the next few hours. That if my networking troubles with access to Mono's SVN repository, doesn't forbid me. In that case I'll report in this thread. It would be a good idea to also have some tests for those patches

Re: [Mono-winforms-list] Again problems with ListView

2007-02-15 Thread Carlos Alberto Cortez
El jue, 15-02-2007 a las 15:15 +0100, pablosantosluac escribió: Hi all, I've just detected the following problem in our GUI client (a WinForms app running on Mono/Linux). In a listView the AfterLabelEdit event doesn't seem to be working correctly. It should receive a

Re: [Mono-winforms-list] ListView fails to update ListViewItem display on submember updates

2007-01-29 Thread Carlos Alberto Cortez
El dom, 28-01-2007 a las 15:05 -0600, Brian Wolfe escribió: I wrote an application in VisualStudio that uses a ListView. On windows, when I call myListView.Update() it repaints all of the changed items jsut fine. When I compile it under Mono it fails to update the rows. It should behave

Re: [Mono-dev] [Mono-list] serial port problem

2007-01-18 Thread Carlos Alberto Cortez
Hey, Could you cook a test case? That way we can try to take a look at the issue. Carlos. First, I can succesfully read a text string, when I loopback a serial cable, connecting pins 2 and 3 I send the string and can read it immediatly, it worked fine for me in Linux (running mono as

Re: [Mono-dev] [Patch] TreeView, TreeNode, TreeNodeCollection

2007-01-09 Thread Carlos Alberto Cortez
+ public virtual void RemoveByKey(string key) + { + int index = -1; + for (int i = 0; i nodes.Count; i++) + { + if (!string.Equals(nodes[i].Name,key,

Re: [Mono-dev] [PATCH] Generate Consts.vb from Consts.cs (new patch)

2006-08-24 Thread Carlos Alberto Cortez
I might be wrong but I am wondering if it is consistent to use Perl for this kind of things, inside the mono project. It would be more logical to use Mono itself, and then not having another external dependency (Mono depending on Perl??), right? Just for the record: we already have perl

Re: [Mono-dev] [PATCH] Use the correct type for S.D.Printing.PrintDocument.PrintController

2006-08-04 Thread Carlos Alberto Cortez
(controller = {0}, doc.PrintController.GetType()); } } outputs: controller = System.Drawing.Printing.StandardPrintController Chris On Wed, 2006-08-02 at 04:30 -0500, Carlos Alberto Cortez wrote: Hey, S.D.Printing.PrintDocument.PrintController

[Mono-dev] [PATCH] Use the correct type for S.D.Printing.PrintDocument.PrintController

2006-08-02 Thread Carlos Alberto Cortez
Hey, S.D.Printing.PrintDocument.PrintController has as default a new instance of S.W.F.PrintControllerWithStatusDialog, which is in SWF assembly. The current code assigns a new instance of S.D.P.StandardPrintController to PrintDocument.PrintController, which isn't the right behaviour. The

Re: [Mono-dev] [PATCH] Use the correct type for S.D.Printing.PrintDocument.PrintController

2006-08-02 Thread Carlos Alberto Cortez
Oh, that's perfect (I wasn't aware of that constant). Carlos. El mié, 02-08-2006 a las 14:00 +0200, Robert Jordan escribió: Hey, Carlos Alberto Cortez wrote: + Assembly wf_assembly = Assembly.Load (System.Windows.Forms, Version=2.0.3600.0, Culture=neutral

[Mono-winforms-list] [PATCH] Correct behavior for PrintDialog.PrinterSettings/Document

2006-07-28 Thread Carlos Alberto Cortez
IN THE SOFTWARE. // // Copyright (c) 2006 Novell, Inc. (http://www.novell.com) // // Authors: // Carlos Alberto Cortez [EMAIL PROTECTED] // using System; using System.Collections; using System.Drawing; using System.Drawing.Printing; using System.Windows.Forms; using NUnit.Framework; namespace

Re: [Mono-winforms-list] [PATCH] Correct behavior for PrintDialog.PrinterSettings/Document

2006-07-28 Thread Carlos Alberto Cortez
we can either 1) clear up the names (current_settings and printer_settings are confusing), or 2) get rid of one of them and only have one PrinterSettings object? Chris On Fri, 2006-07-28 at 14:53 -0500, Carlos Alberto Cortez wrote: Hey, The attached patch fixes the behaviour

[Mono-winforms-list] SWF test applications

2006-06-01 Thread Carlos Alberto Cortez
Hey, We are putting some small SWF applications in mono-cvs.ximian.com/extras/trunk/wf-apps (from sites such CodeProject and SourceForge, and free applications in general). Some of they expose small problems (bugs or performance issues). I'm taking note of some problems and trying to cook small

Re: [Mono-dev] SerialPort and Ring Indicator signal

2006-05-23 Thread Carlos Alberto Cortez
be monotored with events ?? please could you give mon hints about this ??? this could be a solution for me ! Thank you. Jean-François PS : please forget my English ;) Carlos Alberto Cortez wrote: Well, RING indicator can't be directly used (as opossed to Cts, Dsr, CD, Rts and Dtr

Re: [Mono-dev] SerialPort and Ring Indicator signal

2006-05-22 Thread Carlos Alberto Cortez
Well, RING indicator can't be directly used (as opossed to Cts, Dsr, CD, Rts and Dtr). The public API in .Net does not expose this indicator directly (you can only monitor it based on the events). Of course we could add it to the get_signal_code () function and retrieve it. But the real problem

[Mono-dev] [Patch] mono/support/serial.c

2006-04-07 Thread Carlos Alberto Cortez
Hello, The attached patch has some changed that I need to apply some others in the C# side in the class library. Is it ok to commit? Carlos. Index: serial.c === --- serial.c (revisión: 59128) +++ serial.c (copia de trabajo) @@

Re: [Mono-dev] Re: Profiling output

2006-03-24 Thread Carlos Alberto Cortez
Hello, A pair of years ago I wrote a small patch for saving the profile output to a xml file. It's almost sure that you won't be able to apply this patch to the current sources, but it could help you to write a custom profiler or just 'catch' the info. Carlos. El vie, 24-03-2006 a las 07:44

[Mono-dev] [Patch] Signals access in mono/support/serial

2006-03-14 Thread Carlos Alberto Cortez
) +++ ChangeLog (copia de trabajo) @@ -1,3 +1,7 @@ +2006-03-14 Carlos Alberto Cortez [EMAIL PROTECTED] + + * serial.c: Add functions to handle signals access. + 2006-03-09 Carlos Alberto Cortez [EMAIL PROTECTED] * serial.c: Fix a pair of wrong or incomplete assignations

[Mono-dev] [Patch] Stream 2.0 updates

2006-02-28 Thread Carlos Alberto Cortez
Hey, This patch adds some of the new 2.0 members to System.IO.Stream. No problems appeared when building, and only got some warnings (they can be removed adding 'override' to the child streams). Carlos. Index: Stream.cs === ---

[Mono-dev] [Patch] Constant changes in mono/support/serial.c

2006-02-22 Thread Carlos Alberto Cortez
Hello, The attached patch updates some comparisons in mono/support/serial.c (some values inside System.IO.Ports changed and need to be taken in count). May I proceed? Carlos. Index: serial.c === --- serial.c (revisión: 56687) +++

Re: [Mono-dev] Assembly Mono.Cecil not found while compiling

2006-02-21 Thread Carlos Alberto Cortez
Yes, tha's the way it works: you install the assembly in the GAC, and _optionally_ set pkg info for the assembly. So, yes, you need to have the assembly in GAC even when using the pkg option. El dom, 19-02-2006 a las 17:33 +0530, vijaya raghava mutharaju escribió: Hi, Thank you

Re: [Mono-dev] Assembly Mono.Cecil not found while compiling

2006-02-17 Thread Carlos Alberto Cortez
Hello, I would like to add something that could be of help: Installing assemblies in tha GAC doesn't mean you can reference them using the '-r' option (this -r option applies to the assembly path, such MyAssembly.dll or ../Something/MyAssembly.dll or /fullpath/MyAssembly.dll). The exceptions to

[Mono-dev] Re: [Fwd: [Mono-patches] r56693 - trunk/mcs/class/System/System.Net]

2006-02-09 Thread Carlos Alberto Cortez
Hey, thanks for the report, I think I've been messing the things the latest days with small things :-( Carlos. El jue, 09-02-2006 a las 17:13 +0900, Atsushi Eno escribió: svn up -r 56692 in ___ Mono-devel-list mailing list

Re: [Mono-dev] [PATCH] Remove version numbers from MonoReflectionAssemblyName

2005-12-14 Thread Carlos Alberto Cortez
Anything else? Is it ok to commit it? Carlos. El lun, 12-12-2005 a las 19:36 -0500, Ben Maurer escribió: On Mon, 2005-12-12 at 15:33 -0600, Carlos Alberto Cortez wrote: Hey, This small patch removes the versions numbers from MonoReflectionAssemblyName, which are unnecessary since we

[Mono-dev] [PATCH] Remove version numbers from MonoReflectionAssemblyName

2005-12-12 Thread Carlos Alberto Cortez
Hey, This small patch removes the versions numbers from MonoReflectionAssemblyName, which are unnecessary since we have a Version field inside it. May I commit? Index: icall.c === --- icall.c (revisión: 54166) +++ icall.c (copia de

  1   2   >