[Mono-docs-list] More vb gtk# examples

2003-03-20 Thread Carlos Alberto Cortez
Hello! Well, the codes in vb I sent, well ... can't be compiled, because the mbas compiler sends an error message if any line different of imports ... appears in the beginning ... so, quit my comments, and any other space, so the first line is imports System Bye the way, I included a pair of vb

Re: [Mono-docs-list] Updating the Mono tutorial.

2003-07-06 Thread Carlos Alberto Cortez
I will be working on that part of the tutorial, too. Regards, Carlos. El sb, 05 de 07 de 2003 a las 18:35, Ben Maurer escribi: On Sat, 2003-07-05 at 17:35, Miguel de Icaza wrote: Hello everyone, Our Mono Tutorial needs to be reviewed for accuracy and to cover better some areas.

Re: [Mono-docs-list] Monkeyguide license?

2004-01-26 Thread Carlos Alberto Cortez
/mailman/listinfo/mono-docs-list -- Carlos Alberto Cortez [EMAIL PROTECTED] ___ Mono-docs-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-docs-list

Re: [Mono-docs-list] Internal Mono VM docs.

2004-12-12 Thread Carlos Alberto Cortez
Hi, It appears that the monoapi.tar.gz file doesn't exist. Carlos. El dom, 12-12-2004 a las 21:36 -0500, Miguel de Icaza escribi: Hey folks, I have uploaded to: http://primates.ximian.com/~miguel/tmp/monoapi.tar.gz A tarball with the docs for the Mono VM internals API,

[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

[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

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-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

[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-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-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

[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] 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.

[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-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

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.

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-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] 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-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] 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] 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] 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

[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] [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] Synchronized Activation of windows

2009-03-25 Thread Carlos Alberto Cortez
Hey While trying to fix #413898, I found that we are not activating the related form when setting Form.Visible to true, as opposed to .net (we actually do that in Application.RunLoop, however, which is used by both Application.Run() and Form.ShowDialog()). An additional problem is the fact that

[Mono-winforms-list] AO Carlos Alberto Cortez, 2009-03-25

2009-03-25 Thread Carlos Alberto Cortez
Hey, Sorry for the late report, but my laptop died last week. See Bonus ;-) Accomplishments: * Bug fixing [Partially done] - Spent some time trying to figure out how to solve #413898 without breaking several tests. Also, work on other bugs. * Activation stuff [Partially done] - Applied

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] 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] 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] [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] 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] 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] 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-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-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] 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] 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-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

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] 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-winforms-list] Graphics.FromHwnd(IntPtr.Zero) not working

2010-02-09 Thread Carlos Alberto Cortez
Hello, This method is defined basically to retrieve available information in the Graphics instance, not to do actual draw work on the screen (this could be accomplished by a different way, but it would be system specific, as nothing like that appears in the winforms api). Carlos. 2010/2/7

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-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] 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] 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-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-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-devel-list] Tests for Reflection Only

2005-02-25 Thread Carlos Alberto Cortez
I don't have access to a box with net 2005 beta. Could anybody else check this, maybe? Carlos. El vie, 25-02-2005 a las 12:19 -0500, Ben Maurer escribi: Hi, Attached are some checks added to the nunit tests for System.Reflection classes that could throw an exception, when the assembly

[Mono-devel-list] Problems with Array.AsReadOnly

2005-04-13 Thread Carlos Alberto Cortez
Hello, With mono from svn (updated a day ago) I'm getting a NullReferenceError when trying to use a IList returned by Array.AsReadOnlyT. I've tried to see what happend, and ReadOnlyArray (internal representation) is working well, so I can only think that something is working bad in the runtime.

Re: [Mono-devel-list] Problems with Array.AsReadOnly

2005-04-14 Thread Carlos Alberto Cortez
It's working now smoothly :-) Carlos. Hi Carlos, I think this is already fixed. I'm running your sample from svn of 2005-04-13 23:55, localtime GMT-3 and I get the expected result: 10 Please, update your svn and give it a try. Thanks for reporting. - -- Regards, Francisco

[Mono-devel-list] [Patch] CustomAttributeData support

2005-04-19 Thread Carlos Alberto Cortez
=== --- CustomAttributeData.cs (revisin: 43304) +++ CustomAttributeData.cs (copia de trabajo) @@ -3,6 +3,7 @@ // // Author: // Zoltan Varga ([EMAIL PROTECTED]) +// Carlos Alberto Cortez ([EMAIL PROTECTED]) // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // @@ -32,57 +33,98 @@ using

[Mono-devel-list] [Path] AssemblyName changes

2005-04-21 Thread Carlos Alberto Cortez
Hey, Attached is a patch with changes for AssemblyName, to behave like the .Net impl. I still don't know which was the intention of that code in Version property, anyway. Any comments? Carlos. Index: AssemblyName.cs === ---

[Mono-devel-list] [Patch] AssemblyName changes

2005-05-18 Thread Carlos Alberto Cortez
Hey there, I made some changes to at icall.c and AssemblyName.cs to correct some incorrect behavior of AssemblyName class. With these changes, all the tests at AssemblyNameTest.cs run ok, and I even could make a bootstrap. Any comment? Carlos. Index: icall.c

Re: [Mono-devel-list] [Patch] AssemblyName changes

2005-05-18 Thread Carlos Alberto Cortez
Hey, I noticed this too, but in the MS impl, a new Version instance is created. We could however, use the same. Carlos. El mi, 18-05-2005 a las 18:25 -0400, Ben Maurer escribi: On Wed, 2005-05-18 at 17:25 -0500, Carlos Alberto Cortez wrote: Hey there, I made some changes to at icall.c

Re: [Mono-devel-list] [Patch] AssemblyName changes

2005-05-19 Thread Carlos Alberto Cortez
Hey, Does this fix http://bugzilla.ximian.com/show_bug.cgi?id=59891 -- Ben It is not exactly a patch for that error (I'm not getting that error, however), but to correct the problem of always having something like: AssemblyName aname = new AssemblyName (); aname.Name = Something; and

Re: [Mono-devel-list] Re: [Mono-patches] r45553 - trunk/mcs/class/corlib/System.Reflection

2005-06-06 Thread Carlos Alberto Cortez
/System.Reflection/ChangeLog trunk/mcs/class/corlib/System.Reflection/CustomAttributeData.cs trunk/mcs/class/corlib/System.Reflection/CustomAttributeNamedArgument.cs trunk/mcs/class/corlib/System.Reflection/CustomAttributeTypedArgument.cs Log: 2005-06-07 Carlos Alberto Cortez [EMAIL

[Mono-devel-list] [Patch] Define Version for AssemblyBuilder

2005-06-07 Thread Carlos Alberto Cortez
) @@ -1,4 +1,8 @@ +2005-06-07 Carlos Alberto Cortez [EMAIL PROTECTED] + * reflection.c (mono_image_basic_init): Define + Version in MonoDynamicAssembly. + 2005-06-06 Michael Meeks [EMAIL PROTECTED] * object.c (extend_interface_array): fix really silly Index: AssemblyNameTest.cs

[Mono-devel-list] [Patch] Images loaded with Reflection Only Assemblies

2005-06-09 Thread Carlos Alberto Cortez
Hey, Currently, when loading a reflection only assembly, and then a normal assembly is also loaded, they share their images, which of course is not correct. With the attached patch separated images are loaded. Carlos. Index: appdomain.c

[Mono-devel-list] [Patch] Include resource files in the GAC

2005-07-01 Thread Carlos Alberto Cortez
= Path.Combine (ref_dir, asmb_file); Index: ChangeLog === --- ChangeLog (revisión: 46867) +++ ChangeLog (copia de trabajo) @@ -1,3 +1,8 @@ +2005-07-01 Carlos Alberto Cortez [EMAIL PROTECTED] + + * driver.cs (Install): Copy the linked

[Mono-devel-list] [Patch] Publisher Policy support

2005-07-21 Thread Carlos Alberto Cortez
Carlos Alberto Cortez [EMAIL PROTECTED] + + This patch implements a big portion of publisher policy + support, used to bind assembly versions and redirect + one assembly from version A to version B. + + * assembly.c: + (assembly_binding_maps_name): New static function for checking if a + assembly

Re: [Mono-devel-list] Re: Mono-devel-list Digest, Vol 3, Issue 83

2005-07-29 Thread Carlos Alberto Cortez
I think you need the devel package for apache. Carlos. El vie, 29-07-2005 a las 09:12 +, Rajesh Kumar Aggani escribió: Hi Friends, I want to use Mono on Red Hat linux Server edition. I have installed Mono with binary file. Apache is already installed during RedHat installation. I

[Mono-devel-list] [PATCH] Assembly.GetReferencedAssemblies

2005-07-29 Thread Carlos Alberto Cortez
ran just fine (both for default and 2_0 profiles). May I commit it? Carlos. Index: ChangeLog === --- ChangeLog (revisión: 47832) +++ ChangeLog (copia de trabajo) @@ -1,3 +1,11 @@ +2005-07-29 Carlos Alberto Cortez [EMAIL PROTECTED

[Mono-devel-list] Re: [Mono-patches] r47921 - trunk/mcs/gmcs

2005-08-03 Thread Carlos Alberto Cortez
=== --- trunk/mcs/gmcs/ChangeLog 2005-08-02 16:26:27 UTC (rev 47920) +++ trunk/mcs/gmcs/ChangeLog 2005-08-02 16:33:16 UTC (rev 47921) @@ -1,11 +1,3 @@ -2005-07-27 Carlos Alberto Cortez [EMAIL PROTECTED] - - Fix #75417 - * ecore.cs (Expression.IsAccessorAccessible): Change

[Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-03 Thread Carlos Alberto Cortez
) +++ ChangeLog (copia de trabajo) @@ -1,3 +1,9 @@ +2005-08-03 Carlos Alberto Cortez [EMAIL PROTECTED] + + * codegen.cs + (AssemblyClass.CheckAttributeValid): New method to check + validity in assembly attributes. + 2005-08-03 Martin Baulig [EMAIL PROTECTED] Make iterators in generic

Re: [Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-04 Thread Carlos Alberto Cortez
Hello, Below my comments. El jue, 04-08-2005 a las 00:46 -0400, Ben Maurer escribió: On Wed, 2005-08-03 at 20:55 -0500, Carlos Alberto Cortez wrote: Hey, A patch is attached, containing a check for InternalsVisibleToAttribute, when it is applied to an assembly. It reports a warning

Re: [Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-04 Thread Carlos Alberto Cortez
Right, that's true, since we need to support an insensitive case comparison. Just corrected that. Carlos. El jue, 04-08-2005 a las 18:23 -0400, Ben Maurer escribió: On Thu, 2005-08-04 at 17:15 -0500, Carlos Alberto Cortez wrote

Re: [Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-05 Thread Carlos Alberto Cortez
Hey, The constructor receiving a string doesn't parse the long format name. Instead, it just assign Name property. So, I don't think we can use it. Carlos. El vie, 05-08-2005 a las 13:55 +0100, Marek Safar escribió: Hello, The other things were applied. I attached two test cases. Do you

Re: [Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-05 Thread Carlos Alberto Cortez
Hey, I just checked it, and saw that in the .Net docs, it states that AssemblyName (string name) receives the simple name. However, in the beta 2, if you pass the long format name, it parses it. I think we should keep this change to mcs this way, and wait for this change in the api

Re: [Mono-devel-list] Differences between Mono and .NET

2005-08-05 Thread Carlos Alberto Cortez
Hello, I think. the best of Mono is its open source nature, and the fact thet everybody can adapt it or modify it, adding the stability and the support for more than one arch. On the other hand, what Mono is missing the most, is an IDE for Winforms and also documentation (docs for Mono libs and

[Mono-dev] Re: [Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-08 Thread Carlos Alberto Cortez
Hey, I'm implementing it right now. So, as soon as it gets in the svn tree, we can re-use it in mcs. Carlos. El lun, 08-08-2005 a las 14:42 +0100, Marek Safar escribió: Hello, I just checked it, and saw that in the .Net docs, it states that AssemblyName (string name) receives the simple

[Mono-dev] [Patch] AssemblyName ctor

2005-08-09 Thread Carlos Alberto Cortez
hey, Currently the AssemblyName (string) ctor is not implemented to receive the long format assembly name (such MyAssembly, Version=1.2,...). The attached patch adds support for it. Some tests are also attached. Carlos. Index: icall.c

[Mono-dev] [Patch] AssemblyName ctor (correction)

2005-08-09 Thread Carlos Alberto Cortez
In the last message some attachments were missing. All of them are now correctly attached. Index: AssemblyName.cs === --- AssemblyName.cs (revisión: 48211) +++ AssemblyName.cs (copia de trabajo) @@ -37,6 +37,7 @@ using System.Text;

[Mono-dev] Re: [Mono-devel-list] [Patch] Publisher Policy support

2005-08-14 Thread Carlos Alberto Cortez
Hey, Great. Maybe we could move it to the svn tree. Carlos. El vie, 12-08-2005 a las 19:30 -0400, Ben Maurer escribió: Hey, I'm re-sending this patch, since the corrected version was only sent by mistake to Miguel, Paolo and Ben. Ben, I applied your change, do you think it's ok?

Re: [Mono-dev] Re: [Mono-devel-list] [Patch] Publisher Policy support

2005-08-15 Thread Carlos Alberto Cortez
Hey Paolo, Thanks for answering, comments below: El vie, 12-08-2005 a las 15:49 +0200, Paolo Molaro escribió: On 08/11/05 Carlos Alberto Cortez wrote: Index: assembly.c === --- assembly.c (revisión: 47896

Re: [Mono-dev] Re: [Mono-devel-list] [Patch] Publisher Policy support

2005-08-17 Thread Carlos Alberto Cortez
Hey, the attached patch works ok, and applies the last suggestions you did. Carlos. El lun, 15-08-2005 a las 19:55 +0200, Paolo Molaro escribió: On 08/13/05 Carlos Alberto Cortez wrote: struct version doesn't conform to the mono naming conventions. Use a typedef and something like

[Mono-dev] [Patch] Generic Array.Sort

2005-08-18 Thread Carlos Alberto Cortez
Hey, I've attached a patch containing the impl for the generic versions of Array.Sort. Could anybody take a look at it? Carlos. Index: Array.cs === --- Array.cs (revisión: 48473) +++ Array.cs (copia de trabajo) @@ -912,6 +912,18

Re: [Mono-dev] [Patch] AssemblyName ctor

2005-08-19 Thread Carlos Alberto Cortez
Hello again, comments below: + if (String.Compare (parts [i], 0, Version=, 0, 8, true, CultureInfo.InvariantCulture) == 0) This is most likely incorrect and needs to use an ordinal comparison, no InvariantCulture (used more than one time) I'm not sure that's correct. I tested in .Net

[Mono-dev] [Patch] AssemblyName ctor (fixed)

2005-08-19 Thread Carlos Alberto Cortez
Hey, The attached patch contains the latest suggestions of both Kornel and Ben. Maybe the only thing to be noted is that I kept the hexadecimal notation when comparing chars, since the same is used in Char.GetNumericalValue (). New tests are also attached, and run fine under .Net 2.0 Carlos.

Re: [Mono-dev] Re: [Mono-devel-list] [Patch] Publisher Policy support

2005-08-20 Thread Carlos Alberto Cortez
Hey Paolo, Thanks for the comments. I will be commiting today. Carlos. El sáb, 20-08-2005 a las 15:50 +0200, Paolo Molaro escribió: On 08/17/05 Carlos Alberto Cortez wrote: the attached patch works ok, and applies the last suggestions you did. Please commit, _after_ fixing the coding

Re: [Mono-dev] [Patch] AssemblyName ctor

2005-08-22 Thread Carlos Alberto Cortez
avoid calling the internal call. What do you think? Carlos. El sáb, 20-08-2005 a las 12:27 +0200, Paolo Molaro escribió: On 08/19/05 Carlos Alberto Cortez wrote: The patch attached implements the new AssemblyName ctor without using internal calls. Could anybody review it? And the advantage

Re: [Mono-dev] [Patch] AssemblyName ctor

2005-08-23 Thread Carlos Alberto Cortez
Hey, I didn't take the choice of using the internal call (unamnaged code) since I thought it was not optimal (Paolo's told me that was not true). About the other point, I hadn't thought about it (using the same function to provide the same behavior for all the possible uses). So I will be using

Re: [Mono-dev] [Patch] AssemblyName ctor (yes, again)

2005-08-25 Thread Carlos Alberto Cortez
This break the ABI: is_version_defined is not needed since you can check the fields anyway. is_persistent can go away some other way (for example by always having public_key allocated, but it would be better to find another which doesn't make us waste memory). No, you can't check the

Re: [Mono-dev] [Patch] Generic Array.Sort

2005-09-05 Thread Carlos Alberto Cortez
, On Thu, 2005-08-18 at 20:45 -0500, Carlos Alberto Cortez wrote: I've attached a patch containing the impl for the generic versions of Array.Sort. What's the status of this patch? I am thinking that the performance of this is probably good enough that we can get it in. IIRC, there were

Re: [Mono-dev] [Patch] AssemblyName ctor (with corrections)

2005-09-16 Thread Carlos Alberto Cortez
Hey Paolo, Thanks for the comments. Carlos. El mié, 14-09-2005 a las 20:45 +0200, Paolo Molaro escribió: On 09/01/05 Carlos Alberto Cortez wrote: Index: AssemblyName.cs === --- AssemblyName.cs (revisión: 48811

[Mono-dev] [Patch] Extern assembly alias

2005-09-23 Thread Carlos Alberto Cortez
Hey, The attached patch implements extern assembly alias support for mcs. I've also added tests and errors for it, and all the tests are running fine. Could anybody of the mcs guys take a look at it? Thanks, Carlos. PD - The next link gives some info about it:

Re: [Mono-dev] [Patch] Extern assembly alias

2005-09-24 Thread Carlos Alberto Cortez
Hey, I've been thinking about your ideas, but haven't understood yet the some of the reasons behind your suggestions. Maybe to have a cleaner code? or am I losing anything? Some more comments below: El vie, 23-09-2005 a las 18:34 +0530, Raja R Harinath escribió: Hi, Carlos Alberto Cortez

[Mono-dev] [Patch] Extern alias (with modifications)

2005-10-05 Thread Carlos Alberto Cortez
Hey, I applied the corrections made by Hari and all my tests are working fine. Comments and suggestions are welcome. Carlos. Index: typemanager.cs === --- typemanager.cs (revisión: 51315) +++ typemanager.cs (copia de trabajo) @@

[Mono-dev] [Patch] Avoid creating version in AssemblyName ctor

2005-10-06 Thread Carlos Alberto Cortez
Hey, The attached patch adds a param to mono_assembly_name_parse_full, which lets us avoid creating 'version' if it wasn't defined. This helps us to have the same behavior when the version wasn't defined in AssemblyName(string name). Carlos. Index: assembly.c

[Mono-dev] Extern alias patch (latest modifications)

2005-10-13 Thread Carlos Alberto Cortez
Hey, The attached patch contains the impl of extern alias, and also the clean ups to the original code needed for my patch, as required by Hari. I'm also attaching some tests and tests for errors (observe that cs1679 and cs1780 are receiving an error, since it looks like '=' in the comp options

[Mono-dev] [PATCH] Warning and errors for InternalsVisibleAttr

2005-10-13 Thread Carlos Alberto Cortez
Hey, The attached patch checks the validity of InternalsVisibleToAttribute, and reports and warnings depending on the contents. May I commit? Carlos. PD - Attached are some tests. Index: typemanager.cs === --- typemanager.cs

  1   2   >