mono.git
17 years ago2007-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Apr 2007 09:28:14 +0000 (09:28 -0000)]
2007-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* DefaultWsdlHelpGenerator.aspx :
  ProfileViolations could be null, when there is no Binding. So,
  don't omit null check.

  Stop your bad habit of missing ChangeLog. Former changes (as long
  as logged) can be seen in ../../ChangeLog.

svn path=/trunk/mono/; revision=76377

17 years ago2007-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Apr 2007 08:50:19 +0000 (08:50 -0000)]
2007-04-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidatingReader.cs : nsResolver field must be initialized.
  Fixed bug #81460.

* XsdValidatingReaderTests.cs : added test for bug #81460.

svn path=/trunk/mcs/; revision=76376

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 08:44:00 +0000 (08:44 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* AppCodeCompiler.cs: do not look at the number of errors, check
the compiler return code instead.

* AssemblyBuilder.cs: as above

* AppResourcesCompiler.cs: as above

svn path=/trunk/mcs/; revision=76375

17 years ago2007-04-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 27 Apr 2007 08:41:17 +0000 (08:41 -0000)]
2007-04-27  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* VBCodeCompiler.cs: In CompileFromFileBatch don't create error messages if compilation succeeded.

svn path=/trunk/mcs/; revision=76374

17 years ago2007-04-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 27 Apr 2007 01:35:32 +0000 (01:35 -0000)]
2007-04-26  Jonathan Pobst  <monkey@jpobst.com>

* System.Windows.Forms.dll.sources: Add DrawListViewColumnHeaderEventHandler.cs,
DrawListViewItemEventHandler.cs, DrawListViewSubItemEventHandler.cs.

svn path=/trunk/mcs/; revision=76365

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 01:00:43 +0000 (01:00 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* AspComponentFoundry.cs: formatting changes.
AssemblyFoundry looks for the specified namespace+type in the
top-level assemblies if necessary.

2007-04-27  Marek Habersack  <mhabersack@novell.com>

* TemplateControlParser.cs: 2.0 allows 'Namespace' without the
'Assembly' attribute on tag prefix registration.

* TemplateParser.cs: do not rely on assembly name being not null.

svn path=/trunk/mcs/; revision=76364

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 00:23:19 +0000 (00:23 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
paths that might happen in them.

svn path=/trunk/mcs/; revision=76363

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 00:01:40 +0000 (00:01 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProvider.cs: add support for siteMapFile attribute.

svn path=/trunk/mcs/; revision=76362

17 years ago2007-04-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Apr 2007 23:11:08 +0000 (23:11 -0000)]
2007-04-26  Marek Safar  <marek.safar@gmail.com>

* TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
value is set.

svn path=/trunk/mcs/; revision=76361

17 years agoAdded some missing 2.0 stuff to ListView
Alan McGovern [Thu, 26 Apr 2007 22:53:08 +0000 (22:53 -0000)]
Added some missing 2.0 stuff to ListView

svn path=/trunk/mcs/; revision=76360

17 years agoFixed two mistakes in my stubbing
Alan McGovern [Thu, 26 Apr 2007 22:41:19 +0000 (22:41 -0000)]
Fixed two mistakes in my stubbing

svn path=/trunk/mcs/; revision=76359

17 years agoFixed typo
Alan McGovern [Thu, 26 Apr 2007 22:39:33 +0000 (22:39 -0000)]
Fixed typo

svn path=/trunk/mcs/; revision=76358

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 20:48:59 +0000 (20:48 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeBase.cs: Synch with latest Mono.Security version
* AuthenticodeDeformatter.cs: Synch with latest Mono.Security version

svn path=/trunk/mcs/; revision=76356

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 20:38:48 +0000 (20:38 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeDeformatter.cs: Don't reset an existing reason inside
IsTrusted.

svn path=/trunk/mcs/; revision=76355

17 years ago2007-04-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 26 Apr 2007 20:29:24 +0000 (20:29 -0000)]
2007-04-26  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripTest.cs: Fix the failing MethodGetNextItem test.

svn path=/trunk/mcs/; revision=76354

17 years ago2007-04-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 26 Apr 2007 20:25:18 +0000 (20:25 -0000)]
2007-04-26  Jonathan Pobst  <monkey@jpobst.com>

* Application.cs: Create a shortcut path so that currently selected
MenuStrips can intercept keyboard events without having focus.
* Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
* MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
keyboard navigation (arrows, tab, enter, esc) on Windows.  Still need to
generate WM_SYSCOMMAND message in X11 for other platforms.
* ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
* ToolStripSplitButton.cs: Add DefaultItem property.

svn path=/trunk/mcs/; revision=76353

17 years ago2007-04-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Apr 2007 20:23:51 +0000 (20:23 -0000)]
2007-04-26  Marek Habersack  <mhabersack@novell.com>

* AssemblyBuilder.cs: handle compilation failures in a better
way.

svn path=/trunk/mcs/; revision=76352

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 19:58:52 +0000 (19:58 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* Color.cs: Try to avoid calling GetName in GetHashCode when the color
isn't named. Commented code (#81465) to remove the string name member
for the 2.0 profile (to avoid a reference in a struct).
* ColorConverter.cs: Use the new KnownColor static uint array.
* ColorTranslator.cs: Share code between From[Win32|Ole] (both BGR).
Reduce ToHtml switch size (when html name == known color name).
* KnownColors.cs: Remove the array of struct for every known colors.
Add an array of uint with color values and a method to return the name
of a known color. Big reduction of the static ctor code size.

svn path=/trunk/mcs/; revision=76351

17 years ago2007-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Apr 2007 19:26:09 +0000 (19:26 -0000)]
2007-04-26  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_loader_error_prepare_exception): Fix crash caused by calling
mono_loader_clear_error () too late. Fixes #81463.

svn path=/trunk/mono/; revision=76350

17 years ago2007-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Apr 2007 15:50:30 +0000 (15:50 -0000)]
2007-04-26  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (peephole_pass_1): Fix and reenable this pass.

svn path=/trunk/mono/; revision=76346

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 15:45:43 +0000 (15:45 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* MetafileTest.cs: Add test cases for some .ctor(Stream...)

svn path=/trunk/mcs/; revision=76345

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 15:44:51 +0000 (15:44 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* Metafile.cs: Reduce size by reusing more complex ctors. Add Linux
support to metafile recoding with the new delegate-based functions.

svn path=/trunk/mcs/; revision=76344

17 years agogdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafileFromDelegate[I]_linux.
Sebastien Pouliot [Thu, 26 Apr 2007 15:44:27 +0000 (15:44 -0000)]
gdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafileFromDelegate[I]_linux.

svn path=/trunk/mcs/; revision=76343

17 years ago2007-04-26 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 26 Apr 2007 15:17:09 +0000 (15:17 -0000)]
2007-04-26  Dick Porter  <dick@ximian.com>

* mono.1: Document MONO_DISABLE_SHM

svn path=/trunk/mono/; revision=76331

17 years ago2007-04-26 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Thu, 26 Apr 2007 15:13:36 +0000 (15:13 -0000)]
2007-04-26  Everaldo Canuto  <everaldo@simios.org>

* MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
fixes some menu draw problem on Windows with border diferent from default
it also fixes #81403.

svn path=/trunk/mcs/; revision=76330

17 years agoUpdate man page
Miguel de Icaza [Thu, 26 Apr 2007 15:05:46 +0000 (15:05 -0000)]
Update man page

svn path=/trunk/mono/; revision=76328

17 years ago* VirtualPathUtilityTest.cs: refactoring:
Igor Zelmanovich [Thu, 26 Apr 2007 15:01:56 +0000 (15:01 -0000)]
* VirtualPathUtilityTest.cs: refactoring:
make tests run in TARGET_JVM environment

svn path=/trunk/mcs/; revision=76327

17 years ago2007-04-26 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 26 Apr 2007 14:45:27 +0000 (14:45 -0000)]
2007-04-26  Dick Porter  <dick@ximian.com>

* shared.c (_wapi_shm_semaphores_init): Need to check
MONO_DISABLE_SHM in this entry point, as it's called before
_wapi_shm_attach().  Fixes bug 81436.

svn path=/trunk/mono/; revision=76324

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 13:29:39 +0000 (13:29 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* signcode.cs: Fix individual/commercial mixup (#81462).

svn path=/trunk/mcs/; revision=76315

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 11:54:06 +0000 (11:54 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* MetafileTest.cs: Add test cases for more .ctors

svn path=/trunk/mcs/; revision=76312

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 11:53:10 +0000 (11:53 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
and it's parameter's validations.

svn path=/trunk/mcs/; revision=76311

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 11:51:50 +0000 (11:51 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* Metafile.cs: Complete all ctors (except for stream-based one outside
Windows) with calls into GDI+.

svn path=/trunk/mcs/; revision=76310

17 years agogdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafile[FileName|FromStream...
Sebastien Pouliot [Thu, 26 Apr 2007 11:51:37 +0000 (11:51 -0000)]
gdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafile[FileName|FromStream][I].

svn path=/trunk/mcs/; revision=76309

17 years ago* Form.cs: Refactor WndProc into separate methods, just like Control is
Rolf Bjarne Kvinge [Thu, 26 Apr 2007 10:00:36 +0000 (10:00 -0000)]
* Form.cs: Refactor WndProc into separate methods, just like Control is
  doing it.

svn path=/trunk/mcs/; revision=76305

17 years ago2007-04-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Apr 2007 09:28:04 +0000 (09:28 -0000)]
2007-04-26  Marek Habersack  <mhabersack@novell.com>

* PageCompiler.cs: the Master property must be in the partial
class if present. Fixes bug #81442

svn path=/trunk/mcs/; revision=76301

17 years ago* Control.cs: set_Text: move the call to the driver into a seperate
Rolf Bjarne Kvinge [Thu, 26 Apr 2007 08:59:00 +0000 (08:59 -0000)]
* Control.cs: set_Text: move the call to the driver into a seperate
  virtual method so that Form can override it.
* MaskedTextBox.cs: Corcompare fixes.
* Form.cs: Override UpdateWindowText and only update the styles if the
  form has been shown (fixes #81405).

svn path=/trunk/mcs/; revision=76300

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Apr 2007 04:34:04 +0000 (04:34 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* Driver.cs : use invariant culture to sort culture names.
  Fixed bug #81150, patch by Changwoo Ryu.

* culture-info-table.h : regenerated.

svn path=/trunk/mono/; revision=76298

17 years ago2007-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 23:09:16 +0000 (23:09 -0000)]
2007-04-26  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_local_regalloc): Disable the new peephole_pass_1 as it
causes the corlib unit tests to fail.

svn path=/trunk/mono/; revision=76293

17 years ago2007-04-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 25 Apr 2007 19:57:30 +0000 (19:57 -0000)]
2007-04-25  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
WM_ACTIVATEAPP.  This fixes menus not disappearing on X11 when
the form lost focus or another control was clicked.

svn path=/trunk/mcs/; revision=76278

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 19:37:49 +0000 (19:37 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : MinValue and MaxValue, same for ToDateTime().

svn path=/trunk/mcs/; revision=76276

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 19:31:47 +0000 (19:31 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : MinValue and MaxValue are unchanged by the
  serialization mode (unlike DateTime.ToString()).

* XmlCustomFormatter.cs : fix GenerateToXmlString() as well.

* XmlConvertTests.cs : added test for MaxValue serialization with
  every XmlDateTimeSerializationMode.

svn path=/trunk/mcs/; revision=76275

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 18:42:15 +0000 (18:42 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* appdomain.c (add_assemblies_to_domain): Fix crash when an assembly reference
is missing.

svn path=/trunk/mono/; revision=76269

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 18:22:32 +0000 (18:22 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : in 2.0, use F instead of f in dateTime formatting.

* XmlCustomFormatter.cs :
  in 2.0, use F instead of f for dateTime formatting.

* XmlSerializationWriterTests.cs, XmlSerializerTests.cs :
  fixed wrong dateTime formatting tests.

svn path=/trunk/mcs/; revision=76268

17 years ago* DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
Gert Driesen [Wed, 25 Apr 2007 17:59:34 +0000 (17:59 -0000)]
* DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
fixed.

svn path=/trunk/mcs/; revision=76267

17 years agoSetting svn:eol-style.
Rolf Bjarne Kvinge [Wed, 25 Apr 2007 17:31:45 +0000 (17:31 -0000)]
Setting svn:eol-style.

svn path=/trunk/mcs/; revision=76266

17 years ago* DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
Rolf Bjarne Kvinge [Wed, 25 Apr 2007 17:31:20 +0000 (17:31 -0000)]
* DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  DrawListViewItemEventHandler.cs,
  DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  Added.
* X11Structs.cs: More ToString implementation.

svn path=/trunk/mcs/; revision=76265

17 years ago2007-04-25 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 25 Apr 2007 17:31:19 +0000 (17:31 -0000)]
2007-04-25  Jonathan Chambers  <joncham@gmail.com>

* mono.sln: Added eglib projects.
* test_eglib.vcproj: Added.
* pedump.vcproj: Change output directories for uniformity.
* monodiet.vcproj: Change output directories for uniformity.

svn path=/trunk/mono/; revision=76264

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 17:09:35 +0000 (17:09 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeTest.cs : looks like 'F' even removes preceding '.' ...

* DateTimeTest.cs : test for 'F' rmoving preceding '.'

svn path=/trunk/mcs/; revision=76263

17 years ago2007-04-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 25 Apr 2007 17:00:04 +0000 (17:00 -0000)]
2007-04-25  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
* ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.

svn path=/trunk/mcs/; revision=76262

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 16:43:44 +0000 (16:43 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_opcode_to_type): Fix a bug in the previous patch.

svn path=/trunk/mono/; revision=76261

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 16:02:28 +0000 (16:02 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReader.cs : fixed wrong depth comparison in ReadToNextSibling().
  Fixed bug #81451, by Eric Mercier.

* XmlReaderCommonTests.cs : added test for bug #81451.

svn path=/trunk/mcs/; revision=76259

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 15:39:48 +0000 (15:39 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (peephole_pass_1): New pass to perform before local regalloc.

svn path=/trunk/mono/; revision=76257

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 15:36:29 +0000 (15:36 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : implemented new-2.0 'F' pattern letter.

* DateTimeTest.cs : test for new-2.0 'F' pattern letter.

svn path=/trunk/mcs/; revision=76255

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 15:23:24 +0000 (15:23 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_opcode_to_cond): New helper function to convert conditional
opcodes to the comparison relations.

* mini-codegen.c (mono_opcode_to_type): New helper function to convert conditional
opcodes to their types.

* mini-ia64.c mini-amd64.c: Use mono_opcode_to_cond and mono_opcode_to_type.

svn path=/trunk/mono/; revision=76254

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 15:01:14 +0000 (15:01 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (get_call_info): Allocate the result from the cfg mempool and cache
it in cfg->arch.cinfo.

svn path=/trunk/mono/; revision=76253

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 14:30:48 +0000 (14:30 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* local-propagation.c (mono_local_cprop_bb): Fix a warning.

* mini.h mini.c branch-opts.c: Change bbhash to be an array and store it in
cfg->cil_offset_to_bb.

svn path=/trunk/mono/; revision=76252

17 years ago2007-04-25 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 25 Apr 2007 13:55:05 +0000 (13:55 -0000)]
2007-04-25  Dick Porter  <dick@ximian.com>

* Makefile.am: Put the mingw enforced-optimisation back into the
PLATFORM_WIN32 section.

svn path=/trunk/mono/; revision=76251

17 years agoReinstate this change.
Dick Porter [Wed, 25 Apr 2007 13:53:05 +0000 (13:53 -0000)]
Reinstate this change.

2007-04-05  Dick Porter  <dick@ximian.com>

* Directory.cs: Pass combined path and pattern to
MonoIO.GetFileSystemEntries()

svn path=/trunk/mcs/; revision=76250

17 years agoReinstate this patch, now I've fixed a double-free bug. Thanks to Rolf for
Dick Porter [Wed, 25 Apr 2007 13:52:35 +0000 (13:52 -0000)]
Reinstate this patch, now I've fixed a double-free bug.  Thanks to Rolf for
the test that showed the problem.

2007-04-05  Dick Porter  <dick@ximian.com>

* file-io.c (ves_icall_System_IO_MonoIO_GetFileSystemEntries): use
FindFirstFile()/FindNextFile() to find entries.  This lets the
io-layer versions use MONO_IOMAP compatibility helpers.  Fixes bug
81038.

2007-04-05  Dick Porter  <dick@ximian.com>

* io.c:
* io-portability.c (_wapi_io_scandir): Moved from io.c, and
changed to use a cut-down version of glob(3) that has been
extended to match with case-insensitivity if needed.

svn path=/trunk/mono/; revision=76249

17 years agoWeb Service' methods links in the test page are clear
Igor Zelmanovich [Wed, 25 Apr 2007 12:49:03 +0000 (12:49 -0000)]
Web Service' methods links in the test page are clear
Used right namespace for Soap 1.2 envelop

svn path=/trunk/mono/; revision=76246

17 years ago2007-01-26 Hubert FONGARNAND <informatique.internet@fiducial.fr>
Marek Habersack [Wed, 25 Apr 2007 10:48:00 +0000 (10:48 -0000)]
2007-01-26  Hubert FONGARNAND <informatique.internet@fiducial.fr>

* SessionSQLServerHandler.cs: differentiate session between applications
this require to add an AppName column to the aspstatetempsessions table

svn path=/trunk/mcs/; revision=76243

17 years ago* Control.cs: Only raise OnVisibleChanged if we're not recreating the
Rolf Bjarne Kvinge [Wed, 25 Apr 2007 10:37:01 +0000 (10:37 -0000)]
* Control.cs: Only raise OnVisibleChanged if we're not recreating the
  handle.
* FormCollection.cs: Don't add a form if it's already in the
  collection.
* Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  according to behaviour and MSDN. The ownerWin32 is the active
  window at the moment when we call ShowDialog, not the context's
  main form (the context's main form may open another form that opens
  a form with ShowDialog, the win32 owner is the second form). Add
  and remove forms to the Application.OpenForms in other places to
  better match MS behaviour. Add an IsActive property that raises
  On(de)Activated only if the active state has changed (we were
  raising OnDeactivated before OnActivated while creating forms).
* Application.cs: Refactor Enabling/Disabling of windows for modal
  dialog loops out to separate methods, and restore the thread
  context when we quit the method. Fixes #81407.

svn path=/trunk/mcs/; revision=76242

17 years ago* FormHandleTest.cs, ControlEventTest.cs, MenuStripTest.cs,
Rolf Bjarne Kvinge [Wed, 25 Apr 2007 10:28:27 +0000 (10:28 -0000)]
* FormHandleTest.cs, ControlEventTest.cs, MenuStripTest.cs,
  ProgressBarTest.cs, RichTextBoxTest.cs, ListViewEventTest.cs,
  TreeViewTest.cs, ColumnHeaderTest.cs, ApplicationContextTest.cs,
  MdiFormTest.cs, MenuItemTest.cs, TextBoxTest.cs, ListBoxTest.cs,
  ToolStripTest.cs, ToolStripMenuItemTest.cs, ControlTest.cs,
  ToolBarTest.cs: Dispose of the 61 forms we were keeping open while
  running the tests.
* ApplicationTest.cs: Dispose of the 61 forms we were keeping open
  while running the tests. Added OpenFormsTest.
* FormTest.cs: Dispose of the 61 forms we were keeping open while
  running the tests. Added DialogOwnerTest.

svn path=/trunk/mcs/; revision=76241

17 years ago* WriterTest.cs: Add a message if anyone forgets to close a form again.
Rolf Bjarne Kvinge [Wed, 25 Apr 2007 10:27:56 +0000 (10:27 -0000)]
* WriterTest.cs: Add a message if anyone forgets to close a form again.

svn path=/trunk/mcs/; revision=76240

17 years agoRemove writeline
Miguel de Icaza [Wed, 25 Apr 2007 09:54:32 +0000 (09:54 -0000)]
Remove writeline

svn path=/trunk/mcs/; revision=76239

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 08:41:49 +0000 (08:41 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemas.cs : 1.1-only duplicate check does not seem to be
  required. This is also a workaround for 1.x ws proxy generation.

svn path=/trunk/mcs/; revision=76237

17 years agoOptimize configuration pathes to sections with allowDefinition="MachineToApplication"
Igor Zelmanovich [Wed, 25 Apr 2007 07:57:49 +0000 (07:57 -0000)]
Optimize configuration pathes to sections with allowDefinition="MachineToApplication"

svn path=/trunk/mono/; revision=76235

17 years ago2007-04-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 25 Apr 2007 05:20:25 +0000 (05:20 -0000)]
2007-04-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: In ItemControl.HandleClicks, also fire
2.0 MouseClick or MouseDoubleClick events on the parent,
not only the Click/DoubleClick events.

svn path=/trunk/mcs/; revision=76234

17 years ago* TableLayoutSettings.cs:
Andreia Gaita [Wed, 25 Apr 2007 03:06:23 +0000 (03:06 -0000)]
* TableLayoutSettings.cs:
- Added a GetControls method and a support structure to help the
TypeConverter to enumerate the controls for serialization.
- Added a new serialization constructor.
- Added a isSerialized flag initialized to true on the
serialization constructor so that the TableLayoutPanel.LayoutSettings
setter does not throw the designed NotSupportedOperation exception
when the object is built through deserialization.
- Implemented GetObjectData

* TableLayoutPanel.cs: Added check on LayoutSettings.

System.Windows.Forms.Layout/:
* TableLayoutSettingsTypeConverter.cs: Implemented the converters
for TableLayoutSettings.

2007-04-24  Andreia Gaita  <avidigal@novell.com>

svn path=/trunk/mcs/; revision=76233

17 years agoAdd linq option
Miguel de Icaza [Wed, 25 Apr 2007 01:36:43 +0000 (01:36 -0000)]
Add linq option

svn path=/trunk/mono/; revision=76232

17 years ago2007-04-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 25 Apr 2007 01:08:59 +0000 (01:08 -0000)]
2007-04-23  Miguel de Icaza  <miguel@novell.com>

* generic.cs: Large update to LambdaInfer, this is merely an
update to start the lambda type inference.   It is by no means
complete.  It is currently merely able to build a sample program
(with no iteration for the type parameters).

2007-04-24  Miguel de Icaza  <miguel@novell.com>

* lambda.cs (ContextualReturn.Resolve): if the return type is not
set, set it.

2007-04-23  Miguel de Icaza  <miguel@novell.com>

* anonymous.cs (AnonymousContainer): split the virtual Resolve
method in two methods: ResolveNoDefine and Resolve.

ResolveNoDefine will stop just after ResolveTopBlock has been
called.

Resolve will then continue by creating a method and issuing the
call to method.Define ().

(AnonymousMethod): Split and implement the new Resolve and
ResolveNoDefine as well.

* lambda.cs (LambdaExpression): Split the anonymous method
resolution code into a separate routine (CoreCompatibilityTest)
from DoCompatibleTest.

(LambdaExpression.TryBuild): New method, this method tries to
build the LambdaExpression with the given set of types to be used
as the types for the various parameters of the lambda expression.

If the compilation succeed with the given types, the infered type
of the Anonymous method is returned, otherwise null is returned.

svn path=/trunk/mcs/; revision=76231

17 years ago2007-04-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 24 Apr 2007 23:41:07 +0000 (23:41 -0000)]
2007-04-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Report Click and DoubleClick events to the parent
from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
from breaking the click count state when using dialog forms (Control
reports the clicks in a similar fashion). In the previous behaviour
the last WM_LBUTTONUP message in a  double click was sent to the
ListView's form, instead of the ListView, which was breaking the click
count for it. Fixes #80387.

svn path=/trunk/mcs/; revision=76230

17 years ago2007-04-24 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Tue, 24 Apr 2007 21:26:38 +0000 (21:26 -0000)]
2007-04-24  Jeffrey Stedfast  <fejj@novell.com>

Fixes the last of the bugs listed in bug #77525

* TermInfoDriver.cs (ctor): For known terminal types, set color16
to true (since we know they support 16 colours).
(Init): set the setlfgcolor and setlbgcolor format strings.
(BackgroundColor): Use the appropriate formatter string for
setting the bgcolor.
(ForegroundColor): Use the appropriate formatter string for
setting the fgcolor.
(TranslateColor): Now takes (and sets appropriately) an output
'bool light' argument.

svn path=/trunk/mcs/; revision=76226

17 years ago2007-04-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 24 Apr 2007 21:21:15 +0000 (21:21 -0000)]
2007-04-24  Jonathan Pobst  <monkey@jpobst.com>

* Makefile: Add new resources for BindingNavigator to build.

svn path=/trunk/mcs/; revision=76225

17 years agoFixed a few bugs in Binding Navigator that were revealed in the new NUnit tests.
Alan McGovern [Tue, 24 Apr 2007 20:01:28 +0000 (20:01 -0000)]
Fixed a few bugs in Binding Navigator that were revealed in the new NUnit tests.

svn path=/trunk/mcs/; revision=76222

17 years ago2007-04-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 24 Apr 2007 19:55:21 +0000 (19:55 -0000)]
2007-04-24  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDownItem.cs: Lazy initialize the DropDown.  This prevents
us from created dropdowns for menu items that do not have subitems.
* ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
Check HasDropDownItems before calling DropDown so a dropdown will not be
created if it isn't needed.

svn path=/trunk/mcs/; revision=76221

17 years agoFix
Miguel de Icaza [Tue, 24 Apr 2007 19:54:38 +0000 (19:54 -0000)]
Fix

svn path=/trunk/mono/; revision=76220

17 years ago2007-04-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Apr 2007 19:52:06 +0000 (19:52 -0000)]
2007-04-24  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_image_load_module_dynamic): Fix crash introduced by previous
patch.

svn path=/trunk/mono/; revision=76219

17 years ago * TreeView.cs: Set the first node to the selected node when we
Jackson Harper [Tue, 24 Apr 2007 19:16:22 +0000 (19:16 -0000)]
    * TreeView.cs: Set the first node to the selected node when we
        * get
        focus if there is no selected node.

svn path=/trunk/mcs/; revision=76213

17 years ago* MimeIcon.cs: remove using blocks so that image streams are
Andreia Gaita [Tue, 24 Apr 2007 18:47:24 +0000 (18:47 -0000)]
* MimeIcon.cs: remove using blocks so that image streams are
not disposed of. Fixes #80151

2007-04-24  Andreia Gaita  <avidigal@novell.com>

svn path=/trunk/mcs/; revision=76211

17 years ago2007-04-24 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 24 Apr 2007 18:27:09 +0000 (18:27 -0000)]
2007-04-24  Jonathan Chambers  <joncham@gmail.com>

* eglib.vcproj: Fix.

svn path=/trunk/mono/; revision=76210

17 years ago2007-04-24 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 24 Apr 2007 18:21:18 +0000 (18:21 -0000)]
2007-04-24  Jonathan Chambers <joncham@gmail.com>

        Patch from Michael Jerris <mike@jerris.com>
        * src/gspawn.c: Start msvc build.
        * src/gpath.c: Start msvc build.
        * src/gmarkup.c: Start msvc build.
        * src/gshell.c: Start msvc build.
        * src/gstr.c: Start msvc build.
        * src/glist.c: Start msvc build.
        * src/glib.h: Start msvc build.
        * src/gdate.c: Start msvc build.
        * src/gpattern.c: Start msvc build.
        * src/gdir.c: Start msvc build.
        * src/gfile.c: Start msvc build.
        * src/gtimer.c: Start msvc build.
        * src/gmodule.c: Start msvc build.
        * src/gunicode.c: Start msvc build.

svn path=/trunk/mono/; revision=76209

17 years ago2007-04-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Apr 2007 18:21:17 +0000 (18:21 -0000)]
2007-04-24  Zoltan Varga  <vargaz@gmail.com>

* liveness.c (optimize_initlocals): New mini-pass to optimize away dead assignments
created becase of initlocals.

svn path=/trunk/mono/; revision=76208

17 years ago2007-04-24 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 24 Apr 2007 18:19:38 +0000 (18:19 -0000)]
2007-04-24  Jonathan Chambers  <joncham@gmail.com>

        * eglib.vcproj: Added.

Contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=76207

17 years ago * TextBoxBase.cs: Fixup the height of textboxes when the control
Jackson Harper [Tue, 24 Apr 2007 17:45:28 +0000 (17:45 -0000)]
    * TextBoxBase.cs: Fixup the height of textboxes when the control
        is created.

svn path=/trunk/mcs/; revision=76206

17 years ago2007-04-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 24 Apr 2007 17:26:39 +0000 (17:26 -0000)]
2007-04-24  Atsushi Enomoto  <atsushi@ximian.com>

* InternalConfigurationHost.cs : machine configuration covers all
  ConfigurationAllowDefinition values.

svn path=/trunk/mcs/; revision=76205

17 years ago2007-04-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 24 Apr 2007 17:23:35 +0000 (17:23 -0000)]
2007-04-24  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Fully implement GetNextItem.  Call OnParentRightToLeftChanged
for each ToolStripItem when the parent's RightToLeftChanged is called.

2007-04-24  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDownTest.cs: Add Assert for default orientation.
* ToolStripTest.cs: Enable tests for CanOverflow and DefaultDropDownDirection.
Add test for GetNextItem.

svn path=/trunk/mcs/; revision=76204

17 years ago2007-04-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Apr 2007 16:47:28 +0000 (16:47 -0000)]
2007-04-24  Zoltan Varga  <vargaz@gmail.com>

* image.c (mono_image_load_module): New API function to load a module reference.

* image.c (load_modules): Load modules lazily. Fixes #80812.

* class.c (mono_class_from_typeref): Use mono_image_load_module.

* reflection.c (mono_image_load_module_dynamic): Copy image->modules_loaded too.

* object-internals.h reflection.c icall-def.h (mono_image_load_module): Rename this
to mono_image_load_module_dynamic.

svn path=/trunk/mono/; revision=76203

17 years ago* ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
Rolf Bjarne Kvinge [Tue, 24 Apr 2007 16:32:37 +0000 (16:32 -0000)]
* ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  Fixes #80163.
* Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  property, so that the setter can be overriden too.
* TextBox.cs: Change GetContextMenuInternal() to use
  ContextMenuInternal.

svn path=/trunk/mcs/; revision=76200

17 years ago* MdiFormTest.cs: Added tests for #81409.
Rolf Bjarne Kvinge [Tue, 24 Apr 2007 16:29:51 +0000 (16:29 -0000)]
* MdiFormTest.cs: Added tests for #81409.

svn path=/trunk/mcs/; revision=76199

17 years agoFix lineendings.
Rolf Bjarne Kvinge [Tue, 24 Apr 2007 16:06:37 +0000 (16:06 -0000)]
Fix lineendings.

svn path=/trunk/mcs/; revision=76197

17 years ago* MdiFormTest.cs: Added tests for #81409.
Rolf Bjarne Kvinge [Tue, 24 Apr 2007 16:05:35 +0000 (16:05 -0000)]
* MdiFormTest.cs: Added tests for #81409.

svn path=/trunk/mcs/; revision=76196

17 years agoFix, add -ldl
Miguel de Icaza [Tue, 24 Apr 2007 15:42:32 +0000 (15:42 -0000)]
Fix, add -ldl

svn path=/trunk/mono/; revision=76195

17 years ago* ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
Rolf Bjarne Kvinge [Tue, 24 Apr 2007 15:37:18 +0000 (15:37 -0000)]
* ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  #81406.

svn path=/trunk/mcs/; revision=76194

17 years ago2007-04-24 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 24 Apr 2007 14:56:49 +0000 (14:56 -0000)]
2007-04-24  Dick Porter  <dick@ximian.com>

* sockets.c (_wapi_recvfrom, socket_close): Force recvfrom() to
error if the socket is closed while the receive is blocking.
Fixes bug 75705.

svn path=/trunk/mono/; revision=76193

17 years ago* ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
Rolf Bjarne Kvinge [Tue, 24 Apr 2007 14:55:32 +0000 (14:55 -0000)]
* ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  #81406.

svn path=/trunk/mcs/; revision=76192

17 years ago2007-04-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 24 Apr 2007 12:40:40 +0000 (12:40 -0000)]
2007-04-24  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs XmlSchemaGroup.cs XmlSchemaAny.cs XmlSchemaElement.cs
  XmlSchemaNotation.cs XmlSchemaComplexType.cs
  XmlSchemaAttributeGroup.cs XmlSchemaSimpleType.cs
  XmlSchemaIdentityConstraint.cs XmlSchemaAnyAttribute.cs
  XmlSchemaRedefine.cs XmlSchemaAttribute.cs :
  avoid incorrect compilation of included schemas, fixed bug #81360.
  more fix for wrong targetNamespace propagation within current
  processing model. Replaced ParentIsSchema field with a property.

* XsdValidatingReaderTests.cs : added test for bug #81360.

* 81360.xsd, 81360inc1.xsd, 81360inc2.xsd : new test files.

* Makefile : added distfiles.

svn path=/trunk/mcs/; revision=76184

17 years ago2007-04-24 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 24 Apr 2007 12:13:23 +0000 (12:13 -0000)]
2007-04-24  Jonathan Chambers  <joncham@gmail.com>

* EnumeratorToEnumVariantMarshaler.cs: Implement.

svn path=/trunk/mcs/; revision=76183

17 years ago* SWF.csproj, SWF2k5.csproj, SWF2k5-tests.csproj: Update.
Rolf Bjarne Kvinge [Tue, 24 Apr 2007 12:06:42 +0000 (12:06 -0000)]
* SWF.csproj, SWF2k5.csproj, SWF2k5-tests.csproj: Update.
* System.Windows.Forms.dll.sources: Add MaskedTextBox.

svn path=/trunk/mcs/; revision=76181

17 years ago* MaskedTextBox.cs: Commit this so nobody else starts working on it and
Rolf Bjarne Kvinge [Tue, 24 Apr 2007 12:06:30 +0000 (12:06 -0000)]
* MaskedTextBox.cs: Commit this so nobody else starts working on it and
  avoid duplicate work. Mostily skeleton code, it's not working at
  all yet.

svn path=/trunk/mcs/; revision=76180