mono.git
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

17 years ago* BindingNavigatorTest.cs (CheckStandardItems): Avoid use of NUnit
Raja R Harinath [Tue, 24 Apr 2007 11:58:49 +0000 (11:58 -0000)]
* BindingNavigatorTest.cs (CheckStandardItems): Avoid use of NUnit
API newer than present in the tree.

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

17 years ago2007-04-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 24 Apr 2007 11:41:55 +0000 (11:41 -0000)]
2007-04-24  Marek Habersack  <mhabersack@novell.com>

* CapabilitiesLoader.cs: Hashtables used as property containers
should not be case-insensitive as we now preload the property
hashes with default properties, to make the code work in case
browscap.ini is broken or missing. Instead, the keys are
lower-cased and trimmed before indexing the Hashtable.
Added all the missing capabilities to the defaultCaps Hashtable.
The returned Hashtable is not reversed in GetCapabilities anymore
- it might make the code faster, but it also makes it mismatch
browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
All of the above fixes bug #81437.

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

17 years ago2007-04-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 24 Apr 2007 10:00:24 +0000 (10:00 -0000)]
2007-04-24  Marek Habersack  <mhabersack@novell.com>

* TermInfoDriver.cs: don't include debug stuff by default - it
breaks multithreaded applications (they all attempt to open
console.log and fail because of sharing violation).

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

17 years agoPatch by Leszek Ciesielski.
Rolf Bjarne Kvinge [Tue, 24 Apr 2007 08:28:40 +0000 (08:28 -0000)]
Patch by Leszek Ciesielski.

2007-04-20  Leszek Ciesielski <skolima@gmail.com>

* NotifyIcon.cs : stub for MouseClick event
* Application.cs: stub for SetUnhandledExceptionMode

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

17 years ago2007-04-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 24 Apr 2007 07:36:19 +0000 (07:36 -0000)]
2007-04-24  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationHost.cs: Look for types in the top-level assemblies (App_Code and
friends).

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

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

* XmlSchema.cs XmlSchemaSimpleTypeList.cs
  XmlSchemaComplexContentRestriction.cs XmlSchemaGroup.cs
  XmlSchemaComplexContentExtension.cs XmlSchemaSequence.cs
  XmlSchemaSimpleContentRestriction.cs
  XmlSchemaSimpleContentExtension.cs
  XmlSchemaElement.cs XmlSchemaAll.cs XmlSchemaComplexType.cs
  XmlSchemaAttributeGroup.cs XmlSchemaSimpleTypeRestriction.cs
  XmlSchemaSimpleContent.cs XmlSchemaChoice.cs
  XmlSchemaSimpleType.cs XmlSchemaIdentityConstraint.cs
  XmlSchemaSimpleTypeUnion.cs XmlSchemaRedefine.cs
  XmlSchemaComplexContent.cs XmlSchemaAttribute.cs
  XmlSchemaObject.cs : set parent component in prior to compilation,
  bringing Parent to 1.x as internal. Moving toward fixing #81360.

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

17 years ago2007-04-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 24 Apr 2007 06:54:27 +0000 (06:54 -0000)]
2007-04-24  Marek Habersack  <mhabersack@novell.com>

* HttpRequest.cs: MS.NET throws HttpException for invalid paths,
not ArgumentNullException.

* HttpException.cs: wrap GetHtmlErrorMessage internals in
try/catch to capture possible exceptions in HttpContext.

* HttpContext.cs: IsCustomErrorEnabled is used from within
HttpException, make sure it gets the section in a safe way and
resorts to the default settings.

* HttpResponse.cs: HeaderEncoding is used in the same context as
above. Take the same precautions.

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

* WebConfigurationHost.cs: wrap MapPath calls in try/catch,
because bad URLs can cause it to throw exceptions. If such
exception is caught, throw a HttpException for Bad Request (400).

* WebConfigurationManager.cs: added two internal methods for safe
retrieval of config sections.

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

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

* XmlCustomFormatter.cs : ditto for reader method generation.
* SerializationCodeGenerator.cs : for generic nullable values it
  needs to store ReadNullableString() result to a temporary variable.

* XmlSerializerTests.cs : another case on #80759 from gert.

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

17 years agoCoding style changes
Miguel de Icaza [Mon, 23 Apr 2007 23:49:38 +0000 (23:49 -0000)]
Coding style changes

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

17 years agoAdd comments on InferReturnType from my tree
Miguel de Icaza [Mon, 23 Apr 2007 23:48:33 +0000 (23:48 -0000)]
Add comments on InferReturnType from my tree

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

17 years agoInitial implementation of BindingNavigator with NUnit tests.
Alan McGovern [Mon, 23 Apr 2007 23:25:36 +0000 (23:25 -0000)]
Initial implementation of BindingNavigator with NUnit tests.

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

17 years agoComments
Miguel de Icaza [Mon, 23 Apr 2007 23:07:30 +0000 (23:07 -0000)]
Comments

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

17 years ago * TreeView.cs: Do not create the treeview's handle when setting
Jackson Harper [Mon, 23 Apr 2007 21:00:20 +0000 (21:00 -0000)]
    * TreeView.cs: Do not create the treeview's handle when setting
        the scroll position.
        - ExpandAll needs to compute the scrollbars so it knows which
        position to set the bar too.
        * TreeNode.cs:
        * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars

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

17 years agoadd disambiguating line about CategoryAttribute
Chris Toshok [Mon, 23 Apr 2007 20:48:55 +0000 (20:48 -0000)]
add disambiguating line about CategoryAttribute

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

17 years ago2007-04-23 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Mon, 23 Apr 2007 20:47:26 +0000 (20:47 -0000)]
2007-04-23  Jeffrey Stedfast  <fejj@novell.com>

* TermInfoDriver.cs (ReadKeyInternal): Since our input stream is
buffered, check if it has more buffered input in addition to our
timeout check. This makes it such that we will actually correctly
match multi-char escape sequences.
(Read): Changed the logic slightly wrt 'fresh' echoing. Once we
encounter a fresh char, all chars afterward should also be
considered 'fresh' even if 'fresh' is returned as false later.
(ReadLine): Same logic here.

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

17 years ago2007-04-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 23 Apr 2007 19:21:12 +0000 (19:21 -0000)]
2007-04-23  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81414
* delegate.cs: Better fix, moved ApplyAttributes from Define to Emit.

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

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

* marshal.c: Fix calling convention for CCW on non-windows
platforms. STDCALL on windows, CDECL everywhere else to work
with XPCOM and MainWin COM.

Code is contributed under MIT/X11 license.

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

17 years ago2007-04-23 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Mon, 23 Apr 2007 18:42:15 +0000 (18:42 -0000)]
2007-04-23  Jeffrey Stedfast  <fejj@novell.com>

Fixes bug #80702 (via getting rid of the casting) and more.

The following change makes it such that even if an application
calls Console.SetOut() with its own output stream, we can still
properly echo user-input from stdin to the real stdout.

* TermInfoDriver.cs (ctor): Grab a reference to the original
Console.stdout so we can be sure we always echo to console.
(QueueEcho): No need to cast Console.stdout anymore.
(EchoFlush): Same.
(WriteConsole: Here too.

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

17 years ago * TextBoxBase.cs: Non multiline textboxes shouldn't take the
Jackson Harper [Mon, 23 Apr 2007 18:23:31 +0000 (18:23 -0000)]
    * TextBoxBase.cs: Non multiline textboxes shouldn't take the
        * enter
        key. Fixes #81408.

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

17 years ago2007-04-23 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 23 Apr 2007 16:33:54 +0000 (16:33 -0000)]
2007-04-23  Chris Toshok  <toshok@ximian.com>

* TestHelper.cs: move RunningOnUnix here.

* FocusTest.cs: use TestHelper.RunningOnUnix.

* FormTest.cs: use TestHelper.RunningOnUnix.

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

17 years agodatabinding test work
Chris Toshok [Mon, 23 Apr 2007 16:22:20 +0000 (16:22 -0000)]
databinding test work

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

17 years agoHttpRequestTest.cs: Added test EmptyQueryValueParams.
Joshua Tauberer [Mon, 23 Apr 2007 16:09:55 +0000 (16:09 -0000)]
HttpRequestTest.cs: Added test EmptyQueryValueParams.

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

17 years ago2007-04-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 23 Apr 2007 16:02:44 +0000 (16:02 -0000)]
2007-04-23  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutTest.cs: Add a bunch of tests I thought I had lost
before I lose them for real.

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

* System.Windows.Forms_test.dll.sources: Add TableLayoutTest.cs.

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

17 years agoRevert WriteLine
Miguel de Icaza [Mon, 23 Apr 2007 15:50:34 +0000 (15:50 -0000)]
Revert WriteLine

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

17 years ago2007-04-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 23 Apr 2007 15:37:44 +0000 (15:37 -0000)]
2007-04-23  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItem.cs: Make GetImageSize internal.
* ToolStripMenuItem.cs: Use GetImageSize to determine the size we
need to draw an item.  Fixes a reported issue where images on menus
that were not 16x16 were drawing incorrectly.

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

17 years ago2007-04-19 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 23 Apr 2007 15:22:12 +0000 (15:22 -0000)]
2007-04-19  Chris Toshok  <toshok@ximian.com>

* DataColumnCollection.cs (Add): the Element in our
CollectionChangedEventArgs should be the column, not the
collection.  Also, add an event handler for the column's
PropertyChanged event so we can propagate metadata changes.
(Remove): Analogous change to the CollectionChangedEventArgs as in
Add.  Also, unhook the column's PropertyChanged event.
(OnCollectionmetaDataChanged): emit our new event.
(ColumnPropertyChanged): called when the column's ColumnName
property changes.  Emit the proper CollectionChangeEvent.

* DataView.cs (ColumnCollectionChanged): fix up the comment about
CollectionChangeAction.Refresh, and make explicit what generates
it.
(RegisterEventHandlers): hook up
DataColumnCollectoin.CollectionMetaDataChanged.
(RegisterEventHandlers): unhook
DataColumnCollectoin.CollectionMetaDataChanged.

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

17 years ago2007-04-22 Joshua Tauberer <jit@occams.info>
Miguel de Icaza [Mon, 23 Apr 2007 15:15:51 +0000 (15:15 -0000)]
2007-04-22 Joshua Tauberer <jit@occams.info>

  * HttpParamsCollection.cs: Fix IndexOutOfRangeException.

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

17 years ago2007-04-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 23 Apr 2007 13:10:21 +0000 (13:10 -0000)]
2007-04-23  Atsushi Enomoto  <atsushi@ximian.com>

* TypeStubManager.cs : fix binding enumeration on finding by name.
  fix wrong ONLY_1_1.
* ServerType.cs : ONLY_1_1 is evil enough to make sources confusing.
  Use it only when it is really needed.

* SoapServerTypeTest.cs : added new test (one is not working yet).
  It will be very useful when we test service type generation.

* System.Web.Services_test.dll.sources: added SoapServerType.cs.

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

17 years ago2007-04-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 23 Apr 2007 13:05:34 +0000 (13:05 -0000)]
2007-04-23  Martin Baulig  <martin@ximian.com>

Fix #80969.

* loader.c
(method_from_memberref): Added `gboolean *used_context' argument.
(mono_get_method_from_token): Likewise.
(mono_get_method_full): Don't insert the method in the cache when
`used_context' is true.

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

17 years ago* monodiet.c (add_types_from_method): Fix "wrong type" warning.
Raja R Harinath [Mon, 23 Apr 2007 13:04:56 +0000 (13:04 -0000)]
* monodiet.c (add_types_from_method): Fix "wrong type" warning.

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

17 years agoNew test for bug #80969.
Martin Baulig [Mon, 23 Apr 2007 13:04:48 +0000 (13:04 -0000)]
New test for bug #80969.

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

17 years ago* reflection.c (mono_reflection_bind_generic_parameters): Don't
Raja R Harinath [Mon, 23 Apr 2007 12:49:44 +0000 (12:49 -0000)]
* reflection.c (mono_reflection_bind_generic_parameters): Don't
create new MonoTypes for returned types.
* class.c (mono_generic_class_get_class): Export mono-internal.
* class-internals.h: Update to changes.

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

17 years ago2007-04-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 23 Apr 2007 11:41:44 +0000 (11:41 -0000)]
2007-04-23  Zoltan Varga  <vargaz@gmail.com>

* mini-alpha.c cpu-alpha.md: More alpha port work from
Sergey Tikhonov <tsv@solvo.ru>.

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

17 years ago2007-04-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 23 Apr 2007 11:31:33 +0000 (11:31 -0000)]
2007-04-23  Zoltan Varga  <vargaz@gmail.com>

* alpha/alpha-codegen.h: More alpha port work from
Sergey Tikhonov <tsv@solvo.ru>.

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

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

* EndPointListener.cs: relax prefix matching to succeed in cases
when the prefix ends with / and the request path does not. Fixes
bug #80091.

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

17 years ago2007-04-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 23 Apr 2007 09:49:08 +0000 (09:49 -0000)]
2007-04-23  Marek Habersack  <mhabersack@novell.com>

* CookieContainerTest.cs: the GetCookies test works now.

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

* CookieContainer.cs: Sort the collection by the path relevance before returning from
the GetCookies method. Fixes bug #81421.

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

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

* TypeData.cs, XmlCustomFormatter.cs : generic nullable values did
  not fit with non-nullable formatting. Fixed #80759 regression.

* XmlSerializerTests.cs :
  added missing test from 80759, and marked similar but different one
  from the same bug as not working.

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

17 years ago2007-04-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 23 Apr 2007 07:50:23 +0000 (07:50 -0000)]
2007-04-23  Marek Habersack  <mhabersack@novell.com>

* Cookie.cs: do not return "/" for Path if it wasn't set
explicitly.

* CookieContainer.cs: set cookie path only if its version is
"Netscape" and is null or empty. Fixes #81420.

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

17 years agoRevert, breaks the build
Miguel de Icaza [Mon, 23 Apr 2007 00:44:49 +0000 (00:44 -0000)]
Revert, breaks the build

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

17 years ago2007-04-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sun, 22 Apr 2007 22:53:37 +0000 (22:53 -0000)]
2007-04-22  Jonathan Pobst  <monkey@jpobst.com>

* DefaultLayout.cs: Use the parent's DisplayRectangle for laying
out docked children.  [Fixes bug #81397]

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

* DefaultLayoutTest.cs: Added test for bug #81397.

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

17 years agoAdded missing ChangeLog entry
Andreas Färber [Sun, 22 Apr 2007 21:59:28 +0000 (21:59 -0000)]
Added missing ChangeLog entry

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

17 years agoAdded new stubs to sources.
Alan McGovern [Sun, 22 Apr 2007 18:56:08 +0000 (18:56 -0000)]
Added new stubs to sources.

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

17 years ago2007-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 22 Apr 2007 17:29:35 +0000 (17:29 -0000)]
2007-04-22  Miguel de Icaza  <miguel@novell.com>

* cs-tokenizer.cs: Change various identifiers here from the
camelCasing to the recommended Linux-like style for instance
variables from the Coding Guidelines.

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

17 years ago2007-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 22 Apr 2007 17:29:15 +0000 (17:29 -0000)]
2007-04-22  Miguel de Icaza  <miguel@novell.com>

* cs-tokenizer.cs: Change various identifiers here from the
camelCasing to the recommended Linux-like style for instance
variables from the Coding Guidelines.

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

17 years ago2007-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 22 Apr 2007 17:28:59 +0000 (17:28 -0000)]
2007-04-22  Miguel de Icaza  <miguel@novell.com>

* cs-tokenizer.cs: Change various identifiers here from the
camelCasing to the recommended Linux-like style for instance
variables from the Coding Guidelines.

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

17 years ago2007-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 22 Apr 2007 17:28:29 +0000 (17:28 -0000)]
2007-04-22  Miguel de Icaza  <miguel@novell.com>

* cs-tokenizer.cs: Change various identifiers here from the
camelCasing to the recommended Linux-like style for instance
variables from the Coding Guidelines.

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

17 years ago2007-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 22 Apr 2007 17:16:21 +0000 (17:16 -0000)]
2007-04-22  Miguel de Icaza  <miguel@novell.com>

* cs-tokenizer.cs: Change various identifiers here from the
camelCasing to the recommended Linux-like style for instance
variables from the Coding Guidelines.

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

17 years agoFix formatting
Miguel de Icaza [Sun, 22 Apr 2007 17:07:34 +0000 (17:07 -0000)]
Fix formatting

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

17 years agoaccess selector resources before it's closed
Konstantin Triger [Sun, 22 Apr 2007 16:56:39 +0000 (16:56 -0000)]
access selector resources before it's closed

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

17 years ago* QueueTest.cs: Removed usage of deprecated Assertion class. Added
Gert Driesen [Sun, 22 Apr 2007 16:21:13 +0000 (16:21 -0000)]
* QueueTest.cs: Removed usage of deprecated Assertion class. Added
test for TrimExcess. Added tests for binary serialization.
* StackTest.cs: Removed usage of deprecated Assertion class. Added
test for TrimExcess. Added tests for binary serialization.
* Queue.cs: Fixed binary serialization, based on patch provided by
Lionel Cuir. Fixes TrimExcess to use SetCapacity, before it was not
updating _head which could lead to IndexOutOfRangeException.
* Stack.cs: Fixed binary serialization, based on patch provided by
Lionel Cuir. In Pop, clear entry from array to help GC.

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

17 years ago* SocketResponder.cs: Thread-safety fixes.
Gert Driesen [Sun, 22 Apr 2007 16:19:52 +0000 (16:19 -0000)]
* SocketResponder.cs: Thread-safety fixes.
* TcpClientTest.cs: Enabled test for bug #81105.

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

17 years agoSmall fix reported on the list
Miguel de Icaza [Sun, 22 Apr 2007 16:05:48 +0000 (16:05 -0000)]
Small fix reported on the list

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

17 years ago* CookieContainerTest.cs: Removed usage of deprecated Asssertion
Gert Driesen [Sun, 22 Apr 2007 16:01:17 +0000 (16:01 -0000)]
* CookieContainerTest.cs: Removed usage of deprecated Asssertion
class. Added test for bug #81421.

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

17 years agoStubbed three missing classes for .NET 2.0
Alan McGovern [Sun, 22 Apr 2007 15:43:58 +0000 (15:43 -0000)]
Stubbed three missing classes for .NET 2.0

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

17 years ago* RichTextBoxTest.cs: Added test for bug #80620.
Gert Driesen [Sun, 22 Apr 2007 14:38:50 +0000 (14:38 -0000)]
* RichTextBoxTest.cs: Added test for bug #80620.
* TreeViewTest.cs: Added test for bug #80620.
* ListViewTest.cs: Added test for bug #80620.
* UpDownTest.cs: Added test for bug #80620.
* TextBoxTest.cs: Enabled test for bug #80620.
* ListBoxTest.cs: Added test for bug #80620.

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

17 years agoLocation of anon-SVN has moved
Noam Lampert [Sun, 22 Apr 2007 14:03:45 +0000 (14:03 -0000)]
Location of anon-SVN has moved

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