mono.git
15 years agoInitial SIMD documentation
Miguel de Icaza [Sun, 2 Nov 2008 23:55:19 +0000 (23:55 -0000)]
Initial SIMD documentation

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

15 years ago2008-11-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Nov 2008 23:28:56 +0000 (23:28 -0000)]
2008-11-03  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_bytes): Speed this up a little.

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

15 years agoRevert
Miguel de Icaza [Sun, 2 Nov 2008 22:43:17 +0000 (22:43 -0000)]
Revert

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

15 years agoAllow more than one
Miguel de Icaza [Sun, 2 Nov 2008 22:41:42 +0000 (22:41 -0000)]
Allow more than one

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

15 years agoUpdate with a newer Mono.Simd
Miguel de Icaza [Sun, 2 Nov 2008 22:40:18 +0000 (22:40 -0000)]
Update with a newer Mono.Simd

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

15 years ago2008-11-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Nov 2008 21:54:49 +0000 (21:54 -0000)]
2008-11-02  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Add JIT time etc. statistics.

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

15 years ago2008-11-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 2 Nov 2008 21:21:40 +0000 (21:21 -0000)]
2008-11-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs:
* ThemeWin32Classic.cs: Don't use groups nor insertion mark in
Application.EnableVisualStyles hasn't been called.
Fixes part of #437933.

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

15 years ago * docs/Makefile (MONO_DIRS): Add Mono.Simd.
Jonathan Pryor [Sun, 2 Nov 2008 20:42:23 +0000 (20:42 -0000)]
* docs/Makefile (MONO_DIRS): Add Mono.Simd.

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

15 years ago * Documentation/**: Added.
Jonathan Pryor [Sun, 2 Nov 2008 20:39:36 +0000 (20:39 -0000)]
* Documentation/**: Added.

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

15 years ago2008-11-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Nov 2008 20:38:19 +0000 (20:38 -0000)]
2008-11-02  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (compile_method): Fix the copying of the cfgs array.

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

15 years ago2008-11-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Nov 2008 17:36:24 +0000 (17:36 -0000)]
2008-11-02  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MonoCompile): Add 'got_offset' field.

* aot-compiler.c: Store the got offset in MonoCompile, get rid of the
method_got_offsets array.

* aot-compiler.c aot-runtime.c: Add support for the monitor enter/exit
wrappers.

* aot-compiler.c (compile_method): Add generic method instances referenced
by the method to the list of methods to be compiled, this is required so if
A<T> references B<T>, and another assembly references A<int>, then it will
also get a copy of B<int>.

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

15 years ago2008-11-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Nov 2008 17:33:34 +0000 (17:33 -0000)]
2008-11-02  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mini_emit_inst_for_method): Use the proper wrapper type
when checking for monitor enter/exit.

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

15 years ago2008-11-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Nov 2008 17:32:45 +0000 (17:32 -0000)]
2008-11-02  Zoltan Varga  <vargaz@gmail.com>

* monitor.c (mono_monitor_get_fast_enter_method): Add a proper type for the
wrapper.

* class-internals.h (struct _MonoMethod): Increase the size of 'wrapper_type'
by 1 bit.

* wrapper-types.h: Add MONO_WRAPPER_MONITOR_FAST_ENTER/EXIT.

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

15 years agoUpdate docs
Miguel de Icaza [Sun, 2 Nov 2008 04:35:05 +0000 (04:35 -0000)]
Update docs

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

15 years agoAdd ordering
Miguel de Icaza [Sun, 2 Nov 2008 04:34:56 +0000 (04:34 -0000)]
Add ordering

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

15 years agoQuit when requested
Miguel de Icaza [Sun, 2 Nov 2008 04:29:36 +0000 (04:29 -0000)]
Quit when requested

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

15 years agoFont.cs: Add comment on .ctor(Font,FontStyle) about the lack of null check (compatibi...
Sebastien Pouliot [Sun, 2 Nov 2008 00:52:45 +0000 (00:52 -0000)]
Font.cs: Add comment on .ctor(Font,FontStyle) about the lack of null check (compatibility). Add proper (yet compatible ;-) null check to GetHeight(Graphics)

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

15 years ago2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 2 Nov 2008 00:50:18 +0000 (00:50 -0000)]
2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* TestFont.cs: Add test cases for null checks to ensure we match
MS behavior.

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

15 years ago2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 2 Nov 2008 00:48:42 +0000 (00:48 -0000)]
2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathIteratorTest.cs: New. Add some (incomplete) unit
tests for GraphicsPathIterator. Test cases are mostly to ensure
null check compatibility with MS.
* LinearGradientBrushTest.cs: Add test case when setting null
on properties.
* PathGradientBrushTest.cs: Add test case when setting null
on properties.

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

15 years ago2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 2 Nov 2008 00:46:24 +0000 (00:46 -0000)]
2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathIterator.cs: Add proper null check that match the same
behavior that MS has.
* LinearGradientBrush.cs: Add comments to setter that dont do any null
check in order to be compatible with MS. Fix InterpolationColors to
throw a ArgumentNullException.
* PathGradientBrush.cs: Add comments to setter that dont do any null
check in order to be compatible with MS.
[Found using Gendarme CheckParametersNullityInVisibleMethodsRule]

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

15 years ago2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 2 Nov 2008 00:29:40 +0000 (00:29 -0000)]
2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* System.Security_test.dll.sources: Add new tests to build
System.Security.Cryptography.Pkcs/CmsRecipientCollectionTest.cs
System.Security.Cryptography.Xml/TransformTest.cs
System.Security.Cryptography.Xml/XmlDecryptionTransformTest.cs

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

15 years ago2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 2 Nov 2008 00:25:45 +0000 (00:25 -0000)]
2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* EncryptedXml.cs: Add proper null check inside methods.
* SignedXml.cs: GetIdElement returns null if either of its parameter
is null.
* Transform.cs: Comment compatibility-NRE in GetDigestedOutput.
* XmlDecryptionTransform.cs: IsTargetElement returns null if either
of its parameter is null.
* XmlDsigC14NTransform.cs: Comment compatibility-NRE in
GetDigestedOutput.
* XmlDsigExcC14NTransform.cs: Comment compatibility-NRE in
GetDigestedOutput.
[Found using Gendarme CheckParametersNullityInVisibleMethodsRule]

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

15 years ago2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 2 Nov 2008 00:22:45 +0000 (00:22 -0000)]
2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* CmsRecipientCollection.cs: Add comment about compatibility-NRE
[Found using Gendarme CheckParametersNullityInVisibleMethodsRule]

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

15 years ago2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 2 Nov 2008 00:21:25 +0000 (00:21 -0000)]
2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* EncryptedXmlTest.cs: Add null check test cases for many methods.
* SignedXmlTest.cs: New. Check that GetIdElement returns null when
either parameter is null.
* TransformTest.cs: New. Check null check behavior.
* XmlDecryptionTransformTest.cs: New. Check null check behavior.
* XmlDsigC14NTransformTest.cs: Confirm MS.NET NRE behavior inside
GetDigestedOutput method.
* XmlDsigExcC14NTransformTest.cs: Confirm MS.NET NRE behavior inside
GetDigestedOutput method.

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

15 years ago2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 2 Nov 2008 00:18:43 +0000 (00:18 -0000)]
2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* CmsRecipientCollectionTest.cs: Verify NRE behavior of ctor.

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

15 years agonormalize line endings
Sebastien Pouliot [Sat, 1 Nov 2008 19:23:59 +0000 (19:23 -0000)]
normalize line endings

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

15 years ago2008-11-01 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 1 Nov 2008 17:35:10 +0000 (17:35 -0000)]
2008-11-01  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Binary/RuntimeImage.cs: add [Flags] attribute.
Fixes #440574.

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

15 years ago2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 1 Nov 2008 16:34:27 +0000 (16:34 -0000)]
2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* PrintingServicesUnix.cs: Fix potential crash on 64bit OS. Gendarme
rule for checking IntPtr has been updated to cover this case as well

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

15 years ago* Makefile.am: Clean up for srcdir != builddir.
Raja R Harinath [Sat, 1 Nov 2008 08:49:01 +0000 (08:49 -0000)]
* Makefile.am: Clean up for srcdir != builddir.
(deploy/.stamp): Compute location of 'mono-wrapper' and pass to exdoc.
* exdoc (mono-wrapper): Use $runtimedir to look for 'mono-wrapper'.

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

15 years ago2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 1 Nov 2008 04:01:27 +0000 (04:01 -0000)]
2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpWebRequest.cs: disable keep-alive connections as the current code
does not deal with keep-alive connections.
Workaround for bug #380262.

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

15 years ago2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 1 Nov 2008 03:29:29 +0000 (03:29 -0000)]
2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>

* appdomain.c:
* domain-internals.h: made mono_set_private_bin_path_from_config()
"internal".
* object.c: call the above function after setting the configuration
file path for the root domain.
Fixes bug #314478.

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

15 years ago2008-11-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 1 Nov 2008 02:17:03 +0000 (02:17 -0000)]
2008-11-01  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: do not instantiate the layout template more than
necessary.

* NextPreviousPagerField.cs: moved some common code to the base
class (the GetQueryModeStartRowIndex method)

* DataPager.cs: do not call SetPageProperties more than
necessary.

* NumericPagerField.cs: implemented

* DataPagerField.cs: added a helper method,
GetQueryModeStartRowIndex, to be used by all the concrete
implementations to calculate the starting row index in the query
mode.

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

15 years ago2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 1 Nov 2008 00:57:54 +0000 (00:57 -0000)]
2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>

* assembly.c: when the assembly is loaded from an absolute path, end
basedir with a directory separator.
Bug #440781 fixed.

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

15 years ago2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 1 Nov 2008 00:22:22 +0000 (00:22 -0000)]
2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TestDomain.cs: if the TEMP environment variable is not there, make
fix this up. Another side-effect of fixing CachePath handling.

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

15 years agorevert
Gonzalo Paniagua Javier [Fri, 31 Oct 2008 17:48:04 +0000 (17:48 -0000)]
revert

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

15 years agorevert
Gonzalo Paniagua Javier [Fri, 31 Oct 2008 17:47:04 +0000 (17:47 -0000)]
revert

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

15 years ago2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 31 Oct 2008 17:36:16 +0000 (17:36 -0000)]
2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>

* System/System.Configuration/CustomizableFileSettingsProvider.cs:
* System/System.Configuration/ApplicationSettingsBase.cs:
* System.Configuration/System.Configuration/ClientConfigurationSystem.cs:
* System.Configuration/System.Configuration/ConfigurationManager.cs:
Generate the same file name for the local settings file and properly
save the configuration to it. Not loading it yet.

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

15 years ago2008-10-31 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Fri, 31 Oct 2008 16:02:40 +0000 (16:02 -0000)]
2008-10-31  Stephane Delcroix  <sdelcroix@novell.com>

* TimezoneInfo.cs: Drop overlapping rules, fix the 3 dst changes in
Tunis in 1943

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

15 years ago2008-10-31 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Fri, 31 Oct 2008 16:02:37 +0000 (16:02 -0000)]
2008-10-31  Stephane Delcroix  <sdelcroix@novell.com>

* TimezoneInfo.cs: fix for Argentina

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

15 years ago2008-10-31 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Fri, 31 Oct 2008 14:29:08 +0000 (14:29 -0000)]
2008-10-31  Stephane Delcroix  <sdelcroix@novell.com>

* TimezoneInfo.cs: add indices for substrings.

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

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

* HttpContext.cs: RewritePath correctly rewrites paths for cases
when application is running under a virtual directory different to
'/'. Fixes bug #371581
RewritePath checks the passed virtual path for validity.

* HttpRequest.cs: MapPath now uses
VirtualPathUtility.IsValidVirtualPath.

* VirtualPathUtility.cs: made Canonize () internal.
Added a new method - IsValidVirtualPath () which checks whether a
passed path contains only characters allowed for virtual paths.

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

15 years ago2008-10-31 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Fri, 31 Oct 2008 12:09:58 +0000 (12:09 -0000)]
2008-10-31  Stephane Delcroix  <sdelcroix@novell.com>

* TimezoneInfo.cs: double the buffer size, as some tz files grew up
recently and failed to load.

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

15 years ago* Form.cs (SetVisibleCore): since set_ActiveControl no longer calls focus
Andreia Gaita [Fri, 31 Oct 2008 05:32:44 +0000 (05:32 -0000)]
* Form.cs (SetVisibleCore): since set_ActiveControl no longer calls focus
  if the container is not focused already, we need to specifically set
  focus to the first available control, or to the form itself if there
  are no controls.

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

15 years ago* TestHelper.cs: Remove extraneous debug message
Andreia Gaita [Fri, 31 Oct 2008 05:32:39 +0000 (05:32 -0000)]
* TestHelper.cs: Remove extraneous debug message

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

15 years ago * check, Makefile.am (EXTRA_DIST): Rename to check-exports. This was
Jonathan Pryor [Fri, 31 Oct 2008 04:37:04 +0000 (04:37 -0000)]
* check, Makefile.am (EXTRA_DIST): Rename to check-exports.  This was
  needed to fix `make distdir...`, because (1) with a file named
  `check` which (2) was listed in $(EXTRA_DIST), while (3) `check` is
  ALSO a .PHONY target, this caused make to look for the `check` file,
  not find it due to (3), and then proceed to try to build convert.exe
  from convert.cs...for reasons I don't care about.  This obviously
  can't work during `make distdir`, as mcs hasn't been built yet, thus
  leading to pain, suffering, and a broken build.

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

15 years ago* TestHelper.cs: Add virtual setup and teardown methods. Any forms left
Andreia Gaita [Fri, 31 Oct 2008 04:30:11 +0000 (04:30 -0000)]
* TestHelper.cs: Add virtual setup and teardown methods. Any forms left
  hanging around after a test will be disposed here so that they don't
  clutter up the screen while the tests are running.

* *.cs: All tests now inherit from TestHelper so that the setup and
  teardown routines are always called (barring one or two that already
  inherit from swf classes that needs to be fixed)

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

15 years ago2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 31 Oct 2008 04:27:54 +0000 (04:27 -0000)]
2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ApplicationHostTest.cs: ignore the CachePath test. We are settig it
to DynamicBase to make all the temporary and shadow-copied files go
into the same directory.

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

15 years ago * docs/Makefile: Restructure the *.tree/*.zip rules to support
Jonathan Pryor [Fri, 31 Oct 2008 04:09:41 +0000 (04:09 -0000)]
* docs/Makefile: Restructure the *.tree/*.zip rules to support
  concurrent builds (`make -jN`).

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

15 years agoactivate message fix: a call to .Show now waits until both WM_SHOWWINDOW and
Andreia Gaita [Fri, 31 Oct 2008 04:08:05 +0000 (04:08 -0000)]
activate message fix: a call to .Show now waits until both WM_SHOWWINDOW and
WM_ACTIVATE have been processed before returning, so it is guaranteed that
once it returns and the form is visible, it is actually on the screen on X11

* ContainerControl.cs: Only send focus to the control if the top container
  is already focused. This is so that, when a form is first shown, all
  the enter/leave events are done first before any focus stuff comes in.
  If a control has no top container, there's an extra check on Control.Focus
  to make sure it gets focused in this particular case.

* Control.cs: Force focus if the control is active but did not receive
  focus after being set as active.

* MdiClient.cs: Dispose the form when closing

* XplatUIX11.cs: When mapping and unmapping windows, make sure the call
  doesn't return until both WM_SHOWWINDOW and WM_ACTIVATE have come in
  if the window is a top Form.
  Reset all hwnd properties when the window has been destroyed so that
  we don't land in any codepaths that might try to do something with it.
  Added a bunch of debugging messages. If TRACE is defined, all X calls
  are logged through DebugHelper. Set a few missing EntryPoint attributes.

* System.Windows.Forms.Internal/DebugHelper.cs: Added. Wrapper for Debug.*
  methods, with some extras to ease debugging.

* System.Windows.Forms.Internal/Accessor.cs: Added. Provides access to
  various internal properties, for testing purposes.

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

15 years agoContents moved to mono/docs so that it can be built as part of the normal
Jonathan Pryor [Fri, 31 Oct 2008 03:54:17 +0000 (03:54 -0000)]
Contents moved to mono/docs so that it can be built as part of the normal
build process...

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

15 years ago * Makefile.am: Build `docs` after `runtime`, so that it can depend
Jonathan Pryor [Fri, 31 Oct 2008 03:52:38 +0000 (03:52 -0000)]
* Makefile.am: Build `docs` after `runtime`, so that it can depend
  upon mdoc.exe for it's operation.
* docs/. (svn:ignore), deploy (svn:ignore): Ignore generated files.
* docs/AgilityPack.dll, docs/api-style.css, docs/ChangeLog, docs/check,
  docs/check-coverage, docs/convert.cs, docs/current-api, docs/deploy,
  docs/documented, docs/exdoc, docs/ignore,
  docs/mono-api-metadata.html, docs/monoapi.source, docs/produce-lists,
  docs/public, docs/public-api, docs/README, docs/sources,
  docs/toc.xml, docs/TODO, docs/wapi: Copy from ../mono/docscripts.
* docs/exdoc: Use the in-tree mono program to run convert.exe.
* docs/Makefile.am: Mention files to clean/distribute; extract
  documentation (with exdoc) and then assemble documentation (with
  monoapi.make's assemble target) for use by monodoc.
* docs/monoapi.make: Added; Makefile to use mcs' buid/rules.make to compile
  convert.cs and assemble documentation.  (This is a separate file so
  that we can include mcs' build/rules.make, which needs topdir set to
  behave properly BUT must be $(mcs_topdir) from Makefile.am's
  perspective.)
* docs/monoapi.source: Add a /monodoc/node element for use with monodoc 2.2.

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

15 years ago2008-10-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 30 Oct 2008 23:51:55 +0000 (23:51 -0000)]
2008-10-31  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: use StartRowIndex and MaximumRows properties when
calculating the total row count server paging case and when
assigning to corresponding properties of the paged data source.

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

15 years ago2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 30 Oct 2008 22:23:21 +0000 (22:23 -0000)]
2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Interlocked.cs: make CompareExchange internal in 1.1 for use by the
runtime.

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

15 years agoFix typo
Gonzalo Paniagua Javier [Thu, 30 Oct 2008 21:49:05 +0000 (21:49 -0000)]
Fix typo

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

15 years ago2008-10-30 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 30 Oct 2008 20:39:23 +0000 (20:39 -0000)]
2008-10-30  Mark Probst  <mark.probst@gmail.com>

* monitor.c (mono_monitor_get_fast_enter_method): If
CompareExchange is not available, don't create the fastpath
instead of asserting.  (The method is missing in the 1.1 profile.)

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

15 years ago2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 30 Oct 2008 19:17:53 +0000 (19:17 -0000)]
2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnectionStream.cs: when there's a NTLM authentication in
progress, don't let the connection be used by the next request if we
have the entire response in the input buffer.

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

15 years ago2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 30 Oct 2008 19:12:52 +0000 (19:12 -0000)]
2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebResponseTest.cs:
* SocketResponder.cs:
* HttpWebRequestTest.cs: don't pretend to be a 1.1 server or the
socket will stay open. Timeout for Ntlm test is 5s now.

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

15 years ago * man/mdoc-assemble.1: Document //node use within .source files.
Jonathan Pryor [Thu, 30 Oct 2008 19:10:46 +0000 (19:10 -0000)]
* man/mdoc-assemble.1: Document //node use within .source files.

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

15 years ago2008-10-30 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 30 Oct 2008 18:42:14 +0000 (18:42 -0000)]
2008-10-30  Mark Probst  <mark.probst@gmail.com>

* marshal.c, marshal.h: Rename signature_no_pinvoke() and make it non-static.

* monitor.c, monitor.h: Code for generating Monitor.Enter and
Monitor.Exit IL fastpaths.

2008-10-30  Mark Probst  <mark.probst@gmail.com>

* method-to-ir.c (mini_emit_inst_for_method): Use the IL fastpaths
for Monitor.Enter and Monitor.Exit if enabled.

* mini-x86.h, mini-amd64.h: Enable the IL fastpaths for Linux and
Solaris.

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

15 years ago2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 30 Oct 2008 17:35:24 +0000 (17:35 -0000)]
2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpListenerResponse.cs: removed obsolete comment.
* ResponseStream.cs: don't read response.SendChunked until after
getting the response headers.

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

15 years ago2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 30 Oct 2008 16:04:57 +0000 (16:04 -0000)]
2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>

* RegexBugs.cs: added test from bug #439947.

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

15 years ago2008-10-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 30 Oct 2008 15:59:21 +0000 (15:59 -0000)]
2008-10-30  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Implement SubExpression opcode.

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

15 years ago2008-10-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 30 Oct 2008 15:41:03 +0000 (15:41 -0000)]
2008-10-30  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Save and restore strpos in the Test opcode. Fixes
#439947.

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

15 years ago2008-10-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 30 Oct 2008 14:46:35 +0000 (14:46 -0000)]
2008-10-30  Marek Habersack  <mhabersack@novell.com>

* System.Web.Extensions.dll.sources: added
./System.Web.UI.WebControls/TemplatePagerField.cs

* System.Web.Extensions_test.dll.sources: added
System.Web.UI.WebControls/EventRecorder.cs,
System.Web.UI.WebControls/ListViewTest.cs,
System.Web.UI.WebControls/DataPagerFieldCollectionTest.cs

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

* DataPagerFieldCollectionTest.cs: created. Some basic tests for
DataPagerFieldCollection

* EventRecorder.cs: created. A helper class for tests.

* ListViewTest.cs: created. Some basic test for ListView.

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

* DataPagerFieldCollection.cs: implemented most of the methods and
properties, so that using the DataPager is possible now.

* PagePropertiesChangingEventArgs.cs: implemented all the methods
and properties.

* ListView.cs: {Save,Load}ControlState now uses constants to index
state arrays. Total row count is stored in the control state.
CreateChildControls () now uses dummy data to initialize child
controls if no items were found after postback.
CreateChildControls (IEnumerable, bool) now properly calculates
total row count, calls OnTotalRowCountAvailable after creating the
child controls and returns the total row count instead of the
number of created child controls. This makes pager work
correctly.
Implemented SetPageProperties () to support paging.

* NextPreviousPagerField.cs: Correctly order the Next/Previous
buttons.
When creating buttons, cast the new control properly before
assigning properties.

* TemplatePagerField.cs: added (stub)

* DataPager.cs: added missing class attributes (ParseChildren,
PersistChildren and SupportsEventValidation).
{Save,Load}ControlState now use constants to index the state
arrays.
Properly implemented FindPageableItemContainer - it now looks for
the container up the parenthood chain, querying all the naming
containers for the named control.
SetUpForNewContainer now accepts an additional parameter, so that
the SetPageProperties method is called on the container whenever
necessary.

* NumericPagerField.cs: implemented the CreateField method.

* ListViewPagedDataSource.cs: implemented data source
enumerators.

* DataPagerFieldItem.cs: implemented all the methods and properties.

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

15 years ago2008-10-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 30 Oct 2008 04:32:37 +0000 (04:32 -0000)]
2008-10-30  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (type_from_op): Convert CEE_CONV_U on OP_ICONV_TO_U instead
of an OP_MOVE. Fixes #440046.

* basic-long.cs: Add a new test.

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

15 years ago2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 29 Oct 2008 22:20:27 +0000 (22:20 -0000)]
2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* PathTest.cs: add test for bug #439751.

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

15 years ago2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 29 Oct 2008 22:19:49 +0000 (22:19 -0000)]
2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Path.cs: clean the path when we're not in windows.
Bug #321706 fixed.

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

15 years ago2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 29 Oct 2008 21:47:11 +0000 (21:47 -0000)]
2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* SiteMapNode.cs:
* XmlSiteMapProvider.cs:
* StaticSiteMapProvider.cs: first stab at getting rid of a race
condition.

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

15 years ago2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 29 Oct 2008 20:44:42 +0000 (20:44 -0000)]
2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* main.c: don't crash when the method is in an assembly that can't be
loaded. Just prints the warnings now instead of 'segfaulting'.
Bug #436989 fixed.

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

15 years ago2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 29 Oct 2008 19:44:33 +0000 (19:44 -0000)]
2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* main.c: when loading the image, use mono_assembly_load_from_full
instead of mono_assembly_load_references so that monodis mimics the
way the runtime loads assemblies in the real world.
Bug #439404 fixed.

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

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

* Vector*.cs: Added casting between all types.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 18:36:05 +0000 (18:36 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector4i.cs: Add Acceleration attribute to all methods.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 18:36:03 +0000 (18:36 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector4ui.cs: Add Acceleration attribute to all methods.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 18:36:01 +0000 (18:36 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector16sb.cs: Add Acceleration attribute to all methods.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 18:36:00 +0000 (18:36 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector16b.cs: Add Acceleration attribute to all methods.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:59 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector8us.cs: Add Acceleration attribute to all methods.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:58 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector8s.cs: Add Acceleration attribute to all methods.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:57 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector2ul.cs: Add Acceleration attribute to all methods.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:55 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector2l.cs: Add Acceleration attribute to all methods.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:54 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector2d.cs: Add Acceleration attribute to all methods.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:52 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector4f.cs: Fix acceleration attribute of Shuffle.

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

15 years ago * Monodoc/xhtml-provider.cs: Use HelpSource.Message(), not
Jonathan Pryor [Wed, 29 Oct 2008 18:10:23 +0000 (18:10 -0000)]
* Monodoc/xhtml-provider.cs: Use HelpSource.Message(), not
  Console.WriteLine().

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 15:26:16 +0000 (15:26 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* Vector4f.cs: Add Acceleration attribute to all methods.

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

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

* Mono.Simd.dll.sources: Added AccelMode.cs, AccelerationAttribute.cs and SimdRuntime.cs.

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

* AccelMode.cs:
* AccelerationAttribute.cs:
* SimdRuntime.cs: Support files to provide runtime capabilities querying.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 15:24:57 +0000 (15:24 -0000)]
2008-10-29  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.h: Add synchronization note for the managed counter-part.

* simd-intrinsics.c: Add SimdRuntime.get_AccelMode intrinsic that
returns the simd caps of the current cpu.

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

15 years ago2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Oct 2008 15:24:52 +0000 (15:24 -0000)]
2008-10-29  Rodrigo Kumpera  <rkumpera@novell.com>

* basic-simd.cs: Remove Console.WriteLine.

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

15 years ago2008-10-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 29 Oct 2008 14:45:39 +0000 (14:45 -0000)]
2008-10-29  Marek Habersack  <mhabersack@novell.com>

* StateManagedCollection.cs: IList.Remove should call this.IndexOf
instead of items.IndexOf

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

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

* ApplicationHost.cs: set domain setup CachePath to the same value
as DynamicBase, so that shadow-copied assemblies appear under the
same location what generated files.

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

15 years ago2008-10-29 Mario Carrion <mcarrion@novell.com>
Mario Carrion [Wed, 29 Oct 2008 13:41:40 +0000 (13:41 -0000)]
2008-10-29  Mario Carrion <mcarrion@novell.com>

* ListViewItem.cs: Control enabled to support Accessibility:
- Internal events: UIATextChanged, UIASubItemTextChanged.
- Internal event UIATextChanged in ListViewSubItem that triggers
  UIASubItemTextChanged.
* ListView.cs: Control enabled to support Accessibility:
- Internal events: UIACheckBoxesChanged, UIAMultiSelectChanged,
  UIAShowGroupsChanged, UIAViewChanged and UIALabelEditChanged.
- Internal event UIACollectionChanged in ColumnHeaderCollection.
- Internal event UIACollectionChanged in ListViewItemCollection.
- Internal properties: UIAHeaderControl, UIAColumns, UIARows,
  UIADefaultListViewGroup, UIAHScrollBar and UIAVScrollBar.
- Internal methods: UIAGetHeaderBounds.

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

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

* BuildManager.cs: seal the internal classes.
Remove unused BuildCacheItem.ValidBuild property.

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

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

* basic-simd.cs: New tests for Vector2ul.

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

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

* simd-intrinsics.c: Add new vector type Vector2ul.

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

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

* class.c (mono_class_create_from_typedef): Added Vector2ul.

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

15 years ago * Monodoc/provider.cs: Add HelpSource.InlineCss and
Jonathan Pryor [Tue, 28 Oct 2008 20:55:56 +0000 (20:55 -0000)]
* Monodoc/provider.cs: Add HelpSource.InlineCss and
  HelpSource.InlineJavaScript virtual properties, so that the help
  source can provide specific CSS and JavaScript to be included into
  the generated HTML document.  This is used by the ASP.NET front-end,
  as it needs to insert the CSS & JavaScript separately (as it also
  inserts its own CSS & JavaScript).
* Monodoc/ecma-provider.cs, Monodoc/ecmaspec-provider.cs,
  Monodoc/error-provider.cs: Override InlineCss & InlineJavaScript, as
  appropriate.

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

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

        * Vector2ul.cs: New vector type.

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

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

* Vector2l.cs : Remove useless comments.

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

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

* basic-simd.cs: New tests for Vector2l.

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

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

* Vector2l.cs (operator ^): Simplify and fix the implementation.

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

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

* Mono.Simd.dll.sources: Added Vector2l.cs.

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

* Vector2l.cs: New vector type.

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

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

* cpu-x86.md: Add long version of most packed int ops.

* mini-ops.h: Same.

* mini-x86.h: Same.

* simd-intrinsics.c: Add new vector type Vector2l.

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