mono.git
15 years ago2008-10-15 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 15 Oct 2008 17:48:16 +0000 (17:48 -0000)]
2008-10-15  Ivan N. Zlatev  <contact@i-nz.net>

* StringCollectionEditor.cs: Minor fixes.
Patch by Andy Hume.

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

15 years ago2008-10-15 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 15 Oct 2008 15:38:52 +0000 (15:38 -0000)]
2008-10-15  Jb Evain  <jbevain@novell.com>

* reflection.c (build_compressed_metadata): sort the
MONO_TABLE_INTERFACEIMPL table as per the standard.

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

15 years ago2008-10-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 15 Oct 2008 15:26:09 +0000 (15:26 -0000)]
2008-10-15  Jonathan Pobst  <monkey@jpobst.com>

* ToolTip.cs: Ensure that Timer.Internal cannot be set to 0.

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

15 years ago2008-10-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 15 Oct 2008 15:03:14 +0000 (15:03 -0000)]
2008-10-15  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Make our implementation of DrawToBitmap better
match WmPaint.  [Fixes bug #435579]

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

15 years agoFixed build problem
Marek Safar [Wed, 15 Oct 2008 14:33:47 +0000 (14:33 -0000)]
Fixed build problem

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

15 years ago2008-10-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 15 Oct 2008 14:19:21 +0000 (14:19 -0000)]
2008-10-15  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, nullable.cs, expression.cs, statement.cs,
cs-parser.jay: Tokenizer optimizations and memory reduction, saves
~5MB for corlib.

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

15 years ago2008-10-15 Cedric Vivier <cedricv@neonux.com>
Jb Evain [Wed, 15 Oct 2008 12:43:26 +0000 (12:43 -0000)]
2008-10-15  Cedric Vivier  <cedricv@neonux.com>

* SymbolWriterImpl.cs: implement `SetMethodSourceRange` using the
new underlying MonoSymbolWriter's API so that the symbol files
generated by SRE-using compiler are useful again.

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

15 years ago2008-10-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 15 Oct 2008 12:31:16 +0000 (12:31 -0000)]
2008-10-15  Marek Habersack  <mhabersack@novell.com>

* HttpResponse.cs: CacheabilityUpdatedEvent is no longer
used. cached_response is allocated only when the IsCached property
is assigned the 'true' value.

* HttpCachePolicy.cs: CacheabilityUpdatedEvent is no longer used,
removed all the traces of it. SetCacheability should not switch
output caching on.

2008-10-15  Marek Habersack  <mhabersack@novell.com>

* OutputCacheModule.cs: do not take any action if Response returns
null from GetCachedResponse.

2008-10-15  Marek Habersack  <mhabersack@novell.com>

* Page.cs: Response caching is switched on only when output
caching is configured for this page instance. Fixes bug #435549.

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

15 years ago2008-10-15 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 15 Oct 2008 09:58:20 +0000 (09:58 -0000)]
2008-10-15  Mark Probst  <mark.probst@gmail.com>

* mini.c (mono_allocate_stack_slots_full): Align stack frame to
the largest alignment needed by a variable, but at least
sizeof(gpointer).

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

15 years ago 2008-10-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 14 Oct 2008 20:53:12 +0000 (20:53 -0000)]
2008-10-14  Rodrigo Kumpera  <rkumpera@novell.com>

     * basic-simd.cs: Tests for the fixes in the last commit.

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

15 years ago* System.Windows.Forms/WebBrowser.cs: Use DocumentElement as the
Andreia Gaita [Tue, 14 Oct 2008 19:54:09 +0000 (19:54 -0000)]
* System.Windows.Forms/WebBrowser.cs: Use DocumentElement as the
  document's root for the whole content. Should fix DocumentText and
  DocumentStream problems.

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

15 years ago 2008-10-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 14 Oct 2008 19:52:18 +0000 (19:52 -0000)]
2008-10-14  Rodrigo Kumpera  <rkumpera@novell.com>

     * simd-intrinsics.c (get_simd_vreg): Drop the is_this_ptr, this function
     no longer handles STACK_PTR input.

     * simd-intrinsics.c (get_simd_vreg): Don't crash when MonoInst::klass == -1.

     * simd-intrinsics.c (load_simd_vreg): New function that works like
     get_simd_vreg  but handles STACK_PTR input.

     * simd-intrinsics.c (simd_intrinsic_emit_getter): Use load_simd_vreg
     as the input can be an arbitrary pointer.

     * simd-intrinsics.c (simd_intrinsic_emit_ctor): Try the
     LDADDR local optimization directly otherwise use a store op.

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

15 years ago2008-10-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 14 Oct 2008 19:36:57 +0000 (19:36 -0000)]
2008-10-14  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewColumnCollection.cs: Remove calls to OnColumnAddedInternal,
these will get called in DGV.OnCollectionChanged.  Make sure
OnCollectionChanged always gets called.
* DataGridView.cs: Make a OnColumnRemovedInternal that removes the cells
from every row.  Call this in OnCollectionChanged.
[Fixes bug #433669]

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

15 years agoinitial DynamicData checkin. They are almost all stubs.
Atsushi Eno [Tue, 14 Oct 2008 18:35:28 +0000 (18:35 -0000)]
initial DynamicData checkin. They are almost all stubs.

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

15 years ago* XmlDsigXsltTranformTest.cs: Added test for .ctor (bool).
Gert Driesen [Tue, 14 Oct 2008 18:33:13 +0000 (18:33 -0000)]
* XmlDsigXsltTranformTest.cs: Added test for .ctor (bool).
* XmlDsigEnvelopedTransformTest.cs: Added test for .ctor (bool). Use
Assert class. Improved properties tests.
* XmlDsigC14TransformTest.cs: Added test for .ctor (bool).
* XmlDsigExcC14NTransformTest.cs: Added .ctor tests and added asserts
IncludsiveNamespacesPrefixList
* XmlDsigExcC14NWithCommentsTransformTest.cs: Added basic .ctor and
properties tests.
* XmlDsigC14NWithCommentsTransformTest.cs: Fixed line endings.
* XmlLicenseTransformTest.cs: Added basic .ctor and properties tests.
* XmlDsigBase64Transform.cs: Use constant for Algorithm namespace.
* XmlDsigExcC14NTransform.cs: Fixed ctors to use WithComments
algorithm if includeComments is true. Assign includeNamespacesPrefixList
to instance field.
* XmlDsigExcC14NWithCommentsTransform.cs: Remove unnecessary
assignment to Algorithm now that base ctor is fixed.
* XmlDsigC14NWithCommentsTransform.cs: Remove unnecessary assignment
to Algorithm now that base ctor is fixed.
* XmlDsigC14NTransform.cs: In default ctor, just invoke .ctor (bool).
In .ctor (bool), assign WithComments algorithm if includeComments is
true. Use constants for Algorithm namespace.
* XmlDsigEnvelopedSignatureTransform.cs: Use constant for Algorithm
namespace.
* XmlDsigXPathTransform.cs: Use constant for Algorithm namespace.
* XmlDsigXsltTransform.cs: Use constant for Algorithm namespace.
* XmlLicenseTransform.cs: Assign Algorithm in ctor.
* XmlSignature.cs: Added constant for XmlLicenseTransform algorithm.
* System.Security_test.dll.sources: Added XmlLicenseTransformTest.cs
and XmlDsigExcC14NWithCommentsTransformTest.cs.

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

15 years agoinitial System.ComponentModel.DataAnnotations checkin.
Atsushi Eno [Tue, 14 Oct 2008 18:31:56 +0000 (18:31 -0000)]
initial System.ComponentModel.DataAnnotations checkin.
(DynamicData dependency)

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

15 years ago* ImageListTest.cs: Improved test for ICollection.CopyTo.
Gert Driesen [Tue, 14 Oct 2008 18:25:44 +0000 (18:25 -0000)]
* ImageListTest.cs: Improved test for ICollection.CopyTo.

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

15 years ago * data/mono-options.pcs.in: We're not installing Mono.Options.dll into
Jonathan Pryor [Tue, 14 Oct 2008 15:38:59 +0000 (15:38 -0000)]
* data/mono-options.pcs.in: We're not installing Mono.Options.dll into
  the GAC anymore, we're just concerned `pkg-config --variable=Source`
  support.

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

15 years ago2008-10-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 14 Oct 2008 15:38:28 +0000 (15:38 -0000)]
2008-10-14  Rodrigo Kumpera  <rkumpera@novell.com>

        * Vector4f.cs: Added DuplicateLow and DuplicateHigh.

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

15 years ago * Makefile: Don't bother installing Mono.Options.dll into the GAC (or
Jonathan Pryor [Tue, 14 Oct 2008 15:37:06 +0000 (15:37 -0000)]
* Makefile: Don't bother installing Mono.Options.dll into the GAC (or
  anywhere else), instead just follow a subset of the App Deployment
  Guidelines and install just the source into $prefix/lib/mono-options.

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

15 years ago 2008-10-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 14 Oct 2008 15:36:25 +0000 (15:36 -0000)]
2008-10-14  Rodrigo Kumpera  <rkumpera@novell.com>

     * basic-simd.cs: Tests for dup low and dup high.

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

15 years ago2008-10-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 14 Oct 2008 15:02:06 +0000 (15:02 -0000)]
2008-10-14  Rodrigo Kumpera  <rkumpera@novell.com>

* mini-ops.h: Add dup low and dup high ops.

* cpu-x86.md: Same.

* mini-x86.c (mono_arch_output_basic_block): Same.

* simd-intrinsics.c (vector4f_intrinsics): Same.

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

15 years ago2008-10-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 14 Oct 2008 15:02:05 +0000 (15:02 -0000)]
2008-10-14  Rodrigo Kumpera  <rkumpera@novell.com>

* x86/x86-codegen.h: Add movsldup and movshdup.

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

15 years agoRewrite of OuterHTML to fix winforms' DocumentText and some minor fixes.
Andreia Gaita [Tue, 14 Oct 2008 14:46:43 +0000 (14:46 -0000)]
Rewrite of OuterHTML to fix winforms' DocumentText and some minor fixes.

* Mono.WebBrowser2K5.csproj:
* Mono.WebBrowser.dll.sources:
* Mono.Mozilla/interfaces/nsIDocumentEncoder.cs:
* Mono.Mozilla/interfaces/extras/DocumentEncoderFlags.cs:
* Mono.Mozilla/interfaces/nsIDocumentEncoderNodeFixup.cs:
  Added new interfaces to support retrieving node contents (OuterHTML and probably
  others)

* Mono.WebBrowser/Exception.cs: New exception for the
  DocumentEncoder service

* Mono.Mozilla/DOM/HTMLElement.cs: Rewrite OuterHTML,
  looks like the old approach doesn't work on 1.9, but DocumentRange is
  not working properly when I use selectNode directly, so the silliness
  of recreating the current tag's html by going through all the
  properties is ongoing.

* Mono.Mozilla/DOM/Element.cs:
* Mono.Mozilla/DOM/Document.cs:
* Mono.Mozilla/DOM/Node.cs:
* Mono.Mozilla/DOM/HTMLElement.cs: The Node class now
  always stores retrieved unmanaged nodes, regardless of type, and
  child classes only cast from it for easier access.

* Mono.Mozilla/DOM/Node.cs: The Node class now always
  stores retrieved unmanaged nodes, regardless of type, and child
  classes only cast from it for easier access. Added a reference to the
  original unmanaged object prior to proxying (Documentencoder only
  works with non-proxies objects, apparently)

* Mono.Mozilla/DOM/Window.cs: Expose the unmanaged
  window object internally, the selection api needs it.

* Mono.Mozilla/Base.cs:
* Mono.Mozilla/WebBrowser.cs: Get the service manager
  from the proper thread

2008-10-14  Andreia Gaita  <avidigal@novell.com>

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

15 years ago2008-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 14 Oct 2008 14:22:01 +0000 (14:22 -0000)]
2008-10-14  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs: Add bool type to the list of valid cast tokens.

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

15 years ago2008-10-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Oct 2008 13:54:22 +0000 (13:54 -0000)]
2008-10-14  Sebastien Pouliot  <sebastien@ximian.com>

* XContainer.cs (AddFirst): Avoid stackoverflow (infinite recursion).

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

15 years agoNew test.
Marek Safar [Tue, 14 Oct 2008 12:33:06 +0000 (12:33 -0000)]
New test.

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

15 years ago2008-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 14 Oct 2008 12:30:17 +0000 (12:30 -0000)]
2008-10-14  Marek Safar  <marek.safar@gmail.com>

* statement.cs: Mutate scope initializers.

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

15 years ago2008-10-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 14 Oct 2008 11:36:32 +0000 (11:36 -0000)]
2008-10-14  Marek Habersack  <mhabersack@novell.com>

* Control.cs: SaveViewStateRecursive must return view state even
if EnableViewState is false. This is apparently what .NET does, as
some commercial ASP.NET controls take advantage of that via
reflection.

2008-10-14  Marek Habersack  <mhabersack@novell.com>

* CompositeDataBoundControl.cs: renamed the itemcount ViewState
item from "_ItemCount" to "_!ItemCount" for .NET
compatibility. This item is accessed and used by some commercial
ASP.NET controls.

* DataBoundControl.cs: OnPagePreLoad must force databinding also
when the request is not a postback.

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

15 years agoNew test.
Marek Safar [Tue, 14 Oct 2008 11:25:35 +0000 (11:25 -0000)]
New test.

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

15 years ago2008-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 14 Oct 2008 11:25:06 +0000 (11:25 -0000)]
2008-10-14  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Use typeless value for This constant.

* ecore.cs: Access FieldInfo via GetConstructedFieldInfo.

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

15 years ago2008-10-14 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 14 Oct 2008 10:16:02 +0000 (10:16 -0000)]
2008-10-14  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/SecurityDeclarationReader.cs: protect against
wrongly formatted security attributes.

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

15 years ago2008-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 14 Oct 2008 08:45:14 +0000 (08:45 -0000)]
2008-10-14  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, cs-parser.jay: Unify context sensite keyword
tokenizer.

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

15 years ago2008-10-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 14 Oct 2008 08:01:06 +0000 (08:01 -0000)]
2008-10-13  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBox.cs: WM_KEYDOWN and WM_KEYUP messages should be sent to the
textbox if auto complete is used, since we need to navigate over it.
And in this case don't pass this messages to the base impl. Also hide
the auto complete list box when displaying the drop down listbox.
* TextBox.cs: new internal members to expose some of the auto complete
functionality to combobox.

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

15 years ago * data/mono-options.pc.in: Add a Sources variable so that
Jonathan Pryor [Tue, 14 Oct 2008 04:17:39 +0000 (04:17 -0000)]
* data/mono-options.pc.in: Add a Sources variable so that
  `pkg-config --variable Sources mono-options` can be used to grab the
  sources to Mono.Options (useful for embedding).

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

15 years ago * Makefile: Install Options.cs into the GAC, so that mono-options.pc
Jonathan Pryor [Tue, 14 Oct 2008 04:08:48 +0000 (04:08 -0000)]
* Makefile: Install Options.cs into the GAC, so that mono-options.pc
  can perform source install (as suggeted by App Deployment Guidelines).

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

15 years agoOops, forgot to add the ChangeLogs...
Jonathan Pryor [Tue, 14 Oct 2008 04:08:34 +0000 (04:08 -0000)]
Oops, forgot to add the ChangeLogs...

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

15 years ago * configure.in: Generate data/mono-options.pc.
Jonathan Pryor [Tue, 14 Oct 2008 02:53:24 +0000 (02:53 -0000)]
* configure.in: Generate data/mono-options.pc.
* data/Makefile.am: Support mono-options.pc.in and mono-options.pc.
* data/mono-options.pc.in: Added.

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

15 years agoAdd Mono.Options, a command-line helper library.
Jonathan Pryor [Tue, 14 Oct 2008 02:50:09 +0000 (02:50 -0000)]
Add Mono.Options, a command-line helper library.

* Makefile (net_2_0_dirs): Add Mono.Options.
* Mono.Options/ChangeLog: Started.
* Mono.Options/Makefile: Added; build Mono.Options; do NOT install as
  an ABI-stable package.
* Mono.Options/Mono.Options.dll.sources: Added; sources for
  Mono.Options.dll.
* Mono.Options/Mono.Options_test.dll.sources: Added; Test sources.
* Mono.Options/Mono.Options/ChangeLog: Started.
* Mono.Options/Mono.Options/Options.cs: Added; Command line option
  parser.  A (renamed) copy of NDesk.Options 0.2.1 (see git repo for
* Mono.Options/Test/ChangeLog: Started.
* Mono.Options/Test/OptionContextTest.cs,
  Mono.Options/Test/OptionSetTest.cs, Mono.Options/Test/OptionTest.cs,
  Mono.Options/Test/Utils.cs: Added; unit tests for Mono.Options 0.2.1.
* Mono.Options/Assembly/ChangeLog: Started.
* Mono.Options/Assembly/AssemblyInfo.cs: Added; assembly-level
  attributes for Mono.Options.dll.

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

15 years ago* Mono.WebBrowser/tools/xpidl2cs/xpidl2cs.pl: add option parsing. add
Andreia Gaita [Mon, 13 Oct 2008 23:34:46 +0000 (23:34 -0000)]
* Mono.WebBrowser/tools/xpidl2cs/xpidl2cs.pl: add option parsing. add
  support for choosing a specific interface to process inside an idl
  which defines several interfaces

2008-10-14  Andreia Gaita  <avidigal@novell.com>

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

15 years ago2008-10-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 13 Oct 2008 23:31:55 +0000 (23:31 -0000)]
2008-10-13  Rodrigo Kumpera  <rkumpera@novell.com>

* basic-simd.cs: Tests for recently added functionality.

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

15 years ago2008-10-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 13 Oct 2008 22:42:37 +0000 (22:42 -0000)]
2008-10-13  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs: Add missing alias qualifier and dotted generic
type to type cast.

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

15 years ago2008-10-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 13 Oct 2008 22:40:20 +0000 (22:40 -0000)]
2008-10-13  Rodrigo Kumpera  <rkumpera@novell.com>

* Vector4f.cs: Added bitwise ops, reciprocal, interleave
and all flavors of compare.
Optimized Shuffle.

* Vector8us.cs: It turns out that packuswb doesn't work with unsigned
numbers that binary equivalent to negative numbers in signed form.
Removed PackWithUnsignedSaturation.

* Vector4ui.cs: Added SSE4.1 comment to relevant method. Removed
PackWithUnsignedSaturation for the same reason as above.

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

15 years agoUpdate.
Marek Safar [Mon, 13 Oct 2008 22:37:45 +0000 (22:37 -0000)]
Update.

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

15 years agoAdd global alias test.
Marek Safar [Mon, 13 Oct 2008 22:33:20 +0000 (22:33 -0000)]
Add global alias test.

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

15 years ago2008-10-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 13 Oct 2008 22:27:43 +0000 (22:27 -0000)]
2008-10-13  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs: Add missing alias qualifier to type cast.

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

15 years ago2008-10-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 13 Oct 2008 22:13:25 +0000 (22:13 -0000)]
2008-10-13  Rodrigo Kumpera  <rkumpera@novell.com>

* mini-ops.h: Add remaining sse1 fp ops.

* cpu-x86.md: Add remaining sse1 fp ops.

* mini-x86.c (mono_arch_output_basic_block): Same.

* mini.h: Add enum for simd FP compare conditions.

* simd-intrinsics.c (vector4f_intrinsics): Add all new ops.

* simd-intrinsics.c (simd_intrinsic_emit_binary): Set inst_c0 to flags
so the backed can generate the appropriate op.

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

15 years ago2008-10-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 13 Oct 2008 22:13:17 +0000 (22:13 -0000)]
2008-10-13  Rodrigo Kumpera  <rkumpera@novell.com>
This patch squeese one more byte from the SimdIntrinsc struct.

* mini-x86.c (mono_arch_cpu_enumerate_simd_versions: Use the version number
a a shift amount intead of simply or'ing it.

* mini.h: Change SIMD_VERSION_* values to be sequential intead of masks.

* simd-intrinsics.c (struct SimdIntrinsc): Squeese simd_version and simd_emit_mode into a single
byte so we can have an aditional flags field without increasing struct size.

* simd-intrinsics.c (emit_intrinsics): Use the value of simd_version as a shift amount before checking
against the simd_supported_versions bitmask.

* simd-intrinsics.c: Set SIMD_INTRINSIC_NAME_MAX to an appropriate value.

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

15 years ago2008-10-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 13 Oct 2008 22:13:15 +0000 (22:13 -0000)]
2008-10-13  Rodrigo Kumpera  <rkumpera@novell.com>

* x86/x86-codegen.h: Add remaining FP sse1 ops.
Add sse ps encoding with imm operand.
Add remaining sse1 ops.

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

15 years ago2008-10-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 13 Oct 2008 21:35:27 +0000 (21:35 -0000)]
2008-10-13  Jonathan Pobst  <monkey@jpobst.com>

* TableLayout.cs: My previous fix broke a test, tweak it a bit.

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

15 years ago2008-10-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 13 Oct 2008 20:42:56 +0000 (20:42 -0000)]
2008-10-13  Zoltan Varga  <vargaz@gmail.com>

* assembly.c (mono_assembly_open_full): Avoid loading images while holding
the low level assemblies lock.

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

15 years ago2008-10-13 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 13 Oct 2008 20:09:51 +0000 (20:09 -0000)]
2008-10-13  Bill Holmes  <billholmes54@gmail.com>

* mono-proclib.c : Adding a compilation check for HAVE_UNISTD_H.

Contributed under MIT/X11 license.

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

15 years ago2008-10-13 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 13 Oct 2008 20:06:24 +0000 (20:06 -0000)]
2008-10-13  Bill Holmes  <billholmes54@gmail.com>

* libmono.vcproj : Removing metadata\rawbuffer.c from the VC project.

* eglib.vcproj : Adding gdate-win32.c, gdir-win32.c, gfile-posix.c,
  gfile-win32.c, gmisc-win32.c, and gmodule-win32.c to the VC project.

Code is contributed under MIT/X11 license.

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

15 years ago2008-10-13 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 13 Oct 2008 20:01:21 +0000 (20:01 -0000)]
2008-10-13  Bill Holmes  <billholmes54@gmail.com>

* src/gdate-win32.c : Fix compiler errors for MSVC.

* src/gpath.c : Fix compiler errors for MSVC.

* src/gfile-posix.c : Adding declaration for mkstemp for the win 32
  implementation in gfile-win32.c.

Contributed under MIT/X11 license.

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

15 years agoUpdate
Miguel de Icaza [Mon, 13 Oct 2008 18:41:21 +0000 (18:41 -0000)]
Update

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

15 years ago2008-10-13 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 13 Oct 2008 18:35:30 +0000 (18:35 -0000)]
2008-10-13  Ivan N. Zlatev  <contact@i-nz.net>

* XplatUIX11.cs, XplatUICarbon.cs, Form.cs: Do not Timer.Tick before
MainForm.OnLoad has completed.
[Fixes bug #412536]

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

15 years ago2008-10-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 13 Oct 2008 18:33:21 +0000 (18:33 -0000)]
2008-10-13  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TextBox.cs: Apply an old-approved patch that adds autocomplete's
Append support to this controls. We need it to apply new patches.

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

15 years agoFixed reference to bug number.
Gert Driesen [Mon, 13 Oct 2008 18:23:10 +0000 (18:23 -0000)]
Fixed reference to bug number.

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

15 years agoNew test.
Marek Safar [Mon, 13 Oct 2008 17:05:30 +0000 (17:05 -0000)]
New test.

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

15 years ago2008-10-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 13 Oct 2008 17:02:36 +0000 (17:02 -0000)]
2008-10-13  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, expression.cs, cs-parser.jay: Reworked parens
parser and tokenizer. Fixes many ambiguities including #433258.

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

15 years agoChanges to follow PlatformID corlib changes.
Paolo Molaro [Mon, 13 Oct 2008 15:04:34 +0000 (15:04 -0000)]
Changes to follow PlatformID corlib changes.

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

15 years agoMon Oct 13 16:40:56 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Oct 2008 14:45:16 +0000 (14:45 -0000)]
Mon Oct 13 16:40:56 CEST 2008 Paolo Molaro <lupus@ximian.com>

* Environment.cs, OperatingSystem.cs: complete support for
PlatformID (bug #433108).

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

15 years agoFixed the tests checking for PlatformID.
Paolo Molaro [Mon, 13 Oct 2008 14:39:59 +0000 (14:39 -0000)]
Fixed the tests checking for PlatformID.

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

15 years agoMon Oct 13 16:35:26 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Oct 2008 14:38:55 +0000 (14:38 -0000)]
Mon Oct 13 16:35:26 CEST 2008 Paolo Molaro <lupus@ximian.com>

* domain-internals.h, domain.c, icall.c, image.c, marshal.c,
object.c, reflection.c, socket-io.c, threads.c: introduced
mono_framework_version () to return the major framewrok version,
changed the code that was using more complex patterns to use it.
Return the correct value for PlatformID for OSX.

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

15 years agoMon Oct 13 14:39:52 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Oct 2008 12:42:08 +0000 (12:42 -0000)]
Mon Oct 13 14:39:52 CEST 2008 Paolo Molaro <lupus@ximian.com>

* Process.cs: added icall and implementation of many memory-related
query methods (bug #434473).

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

15 years agoMon Oct 13 14:38:01 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Oct 2008 12:39:34 +0000 (12:39 -0000)]
Mon Oct 13 14:38:01 CEST 2008 Paolo Molaro <lupus@ximian.com>

* icall-def.h, process.h, process.c: added an icall to get info about
processes using mono-proclib.

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

15 years agoMon Oct 13 14:36:10 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Oct 2008 12:37:47 +0000 (12:37 -0000)]
Mon Oct 13 14:36:10 CEST 2008 Paolo Molaro <lupus@ximian.com>

* mono-proclib.c, mono-proclib.h: added a function to deal with
error handling if the caller needs the info.

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

15 years ago2008-10-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 13 Oct 2008 11:23:32 +0000 (11:23 -0000)]
2008-10-13  Marek Habersack  <mhabersack@novell.com>

* Table.cs, TableRowCollection.cs, TableRow.cs: render table
sections when necessary. Fixes bug #434555

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

15 years agoMon Oct 13 11:26:19 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Oct 2008 09:27:10 +0000 (09:27 -0000)]
Mon Oct 13 11:26:19 CEST 2008 Paolo Molaro <lupus@ximian.com>

* configure.in: check for shm_open ().

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

15 years ago2008-10-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 13 Oct 2008 09:24:01 +0000 (09:24 -0000)]
2008-10-13  Marek Habersack  <mhabersack@novell.com>

* HandlerFactoryConfiguration.cs: do not store call-specific data
in a class field.

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

15 years agoBlind file add.
Paolo Molaro [Mon, 13 Oct 2008 09:19:09 +0000 (09:19 -0000)]
Blind file add.

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

15 years agoMon Oct 13 11:14:44 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Oct 2008 09:16:26 +0000 (09:16 -0000)]
Mon Oct 13 11:14:44 CEST 2008 Paolo Molaro <lupus@ximian.com>

* mono-perfcounters.c: use the mono-proclib functions to
access process information.

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

15 years agoMon Oct 13 11:11:43 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Oct 2008 09:14:40 +0000 (09:14 -0000)]
Mon Oct 13 11:11:43 CEST 2008 Paolo Molaro <lupus@ximian.com>

* Makefile.am, mono-proclib.c, mono-proclib.h: utility functions to
access process-related information.

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

15 years agoGet rid of obsolete files.
Paolo Molaro [Mon, 13 Oct 2008 09:10:31 +0000 (09:10 -0000)]
Get rid of obsolete files.

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

15 years agoMon Oct 13 11:00:49 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Oct 2008 09:04:45 +0000 (09:04 -0000)]
Mon Oct 13 11:00:49 CEST 2008 Paolo Molaro <lupus@ximian.com>

* domain.c, assembly.c, debug-mono-symfile.c, debug-mono-symfile.h,
monosn.c, Makefile.am, pedump.c, image.c, metadata-internals.h,
reflection.c: remove rawbuffer usage: mmap support is more sanely
provided by utils/mono-mmap.

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

15 years agoMon Oct 13 10:58:10 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Oct 2008 09:00:23 +0000 (09:00 -0000)]
Mon Oct 13 10:58:10 CEST 2008 Paolo Molaro <lupus@ximian.com>

* mini.c: remove rawbuffer code (the only use here is unsafe because
it takes locks during signal handling and the kernel now provides much
better info in proc/pid/smaps these days).

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

15 years ago2008-10-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 13 Oct 2008 07:24:36 +0000 (07:24 -0000)]
2008-10-13  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Fix the changes to
OP_X86_PUSH_OBJ. Fixes #434620.

* objects.cs: Add a test.

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

15 years ago2008-10-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 13 Oct 2008 06:01:46 +0000 (06:01 -0000)]
2008-10-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Control.cs: When updating z order in child controls, send to back
the implicit controls. Also, do it explicitly, instead of making
GetAllControls return the implicit controls in a specific order, and
thus avoid depending on that, which could change in the future.
Fixes #434304.

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

15 years ago2008-10-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 13 Oct 2008 01:13:10 +0000 (01:13 -0000)]
2008-10-12  Rodrigo Kumpera  <rkumpera@novell.com>

* x86/x86-codegen.h: Add macro for sse41 ops.
Add defined for pack ops, dword shifts/mul/pack.

2008-10-12  Rodrigo Kumpera  <rkumpera@novell.com>

* basic-simd.cs: Remove PackWithUnsignedSaturation tests as it turns out
that the packuswb/packusdw don't work with unsigned numbers for what
would be negative numbers in signed format.

* cpu-x86.md: Add doubleword forms of many ops and packing ones.
Fix the len of fconv_to_r8_x and xconv_r8_to_i4.

* mini-ops.h: Add doubleword forms of many ops and packing ones.

* mini-x86.c: Emit doubleword forms of many ops and packing ones.

* simd-intrinsics.c (SimdIntrinsc): Rename the flags field to simd_version.

* simd-intrinsics.c (vector4f_intrinsics): Use simd_version field for sse3 ops.

* simd-intrinsics.c (vector4u_intrinsics): Rename to vector4ui_intrinsics and
add more ops.

* simd-intrinsics.c (simd_version_name): New function, returns the name of the
version as the enum in mini.h.

* simd-intrinsics.c (emit_intrinsics): Instead of having a special emit mode
for sse3 ops, check the simd_version field if present. This way the code
works with all versions of sse.

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

15 years agoAdded changelog
Rodrigo Kumpera [Sun, 12 Oct 2008 21:00:25 +0000 (21:00 -0000)]
Added changelog

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

15 years agoReformat
Miguel de Icaza [Sun, 12 Oct 2008 18:48:20 +0000 (18:48 -0000)]
Reformat

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

15 years agoMono.Cecil.Cil/SymbolStoreHelper.cs: Change two static readonly fields to const.
Sebastien Pouliot [Sun, 12 Oct 2008 15:55:18 +0000 (15:55 -0000)]
Mono.Cecil.Cil/SymbolStoreHelper.cs: Change two static readonly fields to const.

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

15 years ago2008-10-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 12 Oct 2008 15:05:08 +0000 (15:05 -0000)]
2008-10-12  Sebastien Pouliot  <sebastien@ximian.com>

* EnvelopedCms.cs, SignedCms.cs: Remove unneeded field
initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]

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

15 years ago2008-10-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 12 Oct 2008 15:03:58 +0000 (15:03 -0000)]
2008-10-12  Sebastien Pouliot  <sebastien@ximian.com>

* EncryptedReference.cs, EncryptedType.cs: Remove unneeded field
initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]

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

15 years ago2008-10-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 12 Oct 2008 15:02:52 +0000 (15:02 -0000)]
2008-10-12  Sebastien Pouliot  <sebastien@ximian.com>

* DataProtectionPermissionAttribute.cs, DataProtectionPermission.cs:
Remove unneeded field initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]

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

15 years ago2008-10-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 12 Oct 2008 14:52:16 +0000 (14:52 -0000)]
2008-10-12  Sebastien Pouliot  <sebastien@ximian.com>

* ColorPalette.cs, ImageFormat.cs: Remove unneeded field
initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]

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

15 years ago2008-10-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 12 Oct 2008 14:48:17 +0000 (14:48 -0000)]
2008-10-12  Sebastien Pouliot  <sebastien@ximian.com>

* PaperSize.cs, PreviewPrintController.cs, PrinterSettings.cs,
PrintingPermissionAttribute.cs, PrintingPermission.cs: Remove unneeded
field initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]

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

15 years ago2008-10-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 12 Oct 2008 14:04:59 +0000 (14:04 -0000)]
2008-10-12  Atsushi Enomoto  <atsushi@ximian.com>

* mono.1 : svn.myrealbox -> anonsvn.mono-project .

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

15 years ago2008-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 12 Oct 2008 10:46:05 +0000 (10:46 -0000)]
2008-10-12  Zoltan Varga  <vargaz@gmail.com>

* BinaryReaderTest.cs: Add a test for #434581.

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

15 years ago2008-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 12 Oct 2008 10:45:11 +0000 (10:45 -0000)]
2008-10-12  Zoltan Varga  <vargaz@gmail.com>

* BinaryReader.cs (Read7BitEncodedInt): Check for an invalid encoding.
Fixes #434581.

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

15 years agoAdded "aci" option to emit the object "id" at each allocation.
Massimiliano Mantione [Sun, 12 Oct 2008 10:19:36 +0000 (10:19 -0000)]
Added "aci" option to emit the object "id" at each allocation.

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

15 years ago2008-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 12 Oct 2008 09:53:52 +0000 (09:53 -0000)]
2008-10-12  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Only process Makefiles with patch-quiet.sh which have a
corresponding Makefile.in.

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

15 years agoFix a typo.
Zoltan Varga [Sun, 12 Oct 2008 08:23:33 +0000 (08:23 -0000)]
Fix a typo.

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

15 years ago* HttpResponse.cs: Simplify code for outputting ASP.NET version, as
Gert Driesen [Sun, 12 Oct 2008 07:56:44 +0000 (07:56 -0000)]
* HttpResponse.cs: Simplify code for outputting ASP.NET version, as
version header cannot be configured. MS corrected this documenation
error in .NET 2.0 SDK.
* HttpRuntimeConfig.cs: Added support for several undocumented options,
and removed support for options that are not supported or 2.0 only.
* HttpRuntimeConfigurationHandler.cs: Added support for several
undocumented options, and removed support for options that are not
support or 2.0 only.

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

15 years ago2008-10-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 11 Oct 2008 22:53:31 +0000 (22:53 -0000)]
2008-10-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* X11Dnd.cs: Try to call Application.DoEvents before returning in a
call to StartDrag, since we must fire DragDrop/DragLeave *before*
that, as .net does - instead of firing DragDrop/DragLeave *after* the
call to Control.DoDragDrop has completed. This is needed since at the
point of returning, we have sent related dnd ClientMessages, but we
need to wait for them to fire the wmf respective ones.
Fixes #325076.

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

15 years agoMono.Cecil/ConstructorCollection.cs: Fix a NRE if a null parameter is provided to...
Sebastien Pouliot [Sat, 11 Oct 2008 18:15:19 +0000 (18:15 -0000)]
Mono.Cecil/ConstructorCollection.cs: Fix a NRE if a null parameter is provided to one of the GetConstructor overloads.

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

15 years agoSat Oct 11 19:46:19 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 11 Oct 2008 17:48:10 +0000 (17:48 -0000)]
Sat Oct 11 19:46:19 CEST 2008 Paolo Molaro <lupus@ximian.com>

* gc.c: use posix semaphores when possible so that
mono_gc_finalize_notify() is signal safe.

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

15 years ago2008-10-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 11 Oct 2008 15:02:11 +0000 (15:02 -0000)]
2008-10-11  Zoltan Varga  <vargaz@gmail.com>

* reflection.c: Implement DISABLE_REFLECTION_EMIT, remove some
#ifdef DISABLE_REFLECTION_SAVE stuff, only the exported functions need to
be #ifdef-ed out, the linker will remove the rest.

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

15 years ago2008-10-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 11 Oct 2008 13:40:37 +0000 (13:40 -0000)]
2008-10-11  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Make --enable-minimal=reflection_emit turn on
==enable-minimal=reflection_emit_save too.

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

15 years ago2008-10-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 11 Oct 2008 12:41:34 +0000 (12:41 -0000)]
2008-10-11  Zoltan Varga  <vargaz@gmail.com>

* marshal.c: Implement DISABLE_COM.

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