mono.git
15 years ago2008-11-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 4 Nov 2008 03:06:27 +0000 (03:06 -0000)]
2008-11-03 Gonzalo Paniagua Javier <gonzalo@novell.com>

* System_test.dll.sources: add FtpWebRequestTest.cs

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

15 years ago2008-11-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 4 Nov 2008 03:05:45 +0000 (03:05 -0000)]
2008-11-03 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpWebRequestTest.cs: add test for bug 333985.

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

15 years ago2008-11-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Nov 2008 02:25:08 +0000 (02:25 -0000)]
2008-11-04  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextReader.cs : simply call ClearValueBuffer() on each Read().

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

15 years ago2008-11-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Nov 2008 01:14:54 +0000 (01:14 -0000)]
2008-11-04  Zoltan Varga  <vargaz@gmail.com>

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

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

15 years ago2008-11-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 4 Nov 2008 01:01:42 +0000 (01:01 -0000)]
2008-11-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs:
* ListViewItem.cs:
* ThemeWin32Classic.cs: Don't render Tile view if there wasn't a call
to Applicatin.EnableVisualStyles, and use LargeIcon view, as .net
does.
Fixes #437933.

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

15 years ago2008-11-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Nov 2008 00:43:55 +0000 (00:43 -0000)]
2008-11-04  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Change the relocation code to use virtual addresses instead
of file offsets. Align the sections belonging to the data segment to
PAGESIZE.

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

15 years ago2008-11-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Nov 2008 00:29:35 +0000 (00:29 -0000)]
2008-11-04  Atsushi Enomoto  <atsushi@ximian.com>

        * src/gutf8.c, src/gunicode.c, src/glib.h:
          implemented g_unichar_type(), g_unichar_toupper(),
          g_unichar_tolower(), g_unichar_totitle(), g_utf8_strup()
          and g_utf8_strdown(). Fixed some surrogate pair bugs.
        * TODO : removed implemented things.
        * test/unicode.c, test/tests.h, test/utf8.c, test/Makefile.am:
          added new tests.

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

15 years ago2008-11-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Nov 2008 00:25:18 +0000 (00:25 -0000)]
2008-11-04  Atsushi Enomoto  <atsushi@ximian.com>

        * src/unicode-data.h : new header for some new unicode
          manipulation functions.

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

15 years ago2008-11-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Nov 2008 00:22:50 +0000 (00:22 -0000)]
2008-11-04  Atsushi Enomoto  <atsushi@ximian.com>

* ucs.cs : new code to generate unicode table for eglib.

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

15 years ago* Managed.Windows.Forms/System.Windows.Forms/ListView.cs: Wrap call to
Sandy Armstrong [Mon, 3 Nov 2008 23:46:05 +0000 (23:46 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/ListView.cs: Wrap call to
  OnUIAFocusedItemChanged with #if NET_2_0.

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

15 years ago2008-11-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 3 Nov 2008 23:41:33 +0000 (23:41 -0000)]
2008-11-03 Rodrigo Kumpera <rkumpera@novell.com>

* driver.c: Enable SIMD by default.

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

15 years ago* Managed.Windows.Forms/System.Windows.Forms/ListView.cs: Add internal
Sandy Armstrong [Mon, 3 Nov 2008 23:17:21 +0000 (23:17 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/ListView.cs: Add internal
  UIAFocusedItemChanged event.  Fixes bug #441280, patch by Mike Gorse
  <mgorse@novell.com>.

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

15 years agoFix a typo.
Zoltan Varga [Mon, 3 Nov 2008 23:04:23 +0000 (23:04 -0000)]
Fix a typo.

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

15 years ago2008-11-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Nov 2008 21:46:49 +0000 (21:46 -0000)]
2008-11-03  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Simplify the elf writer by depending on the definitions in
elf.h. Port it to amd64.

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

15 years agoFix this too
Miguel de Icaza [Mon, 3 Nov 2008 20:54:49 +0000 (20:54 -0000)]
Fix this too

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

15 years agoUpdate
Miguel de Icaza [Mon, 3 Nov 2008 20:53:25 +0000 (20:53 -0000)]
Update

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

15 years agoAdd WindowsBase
Miguel de Icaza [Mon, 3 Nov 2008 20:51:40 +0000 (20:51 -0000)]
Add WindowsBase

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

15 years ago2008-11-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 3 Nov 2008 20:40:10 +0000 (20:40 -0000)]
2008-11-03  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: When doing ExpandAll, don't scroll to the bottom
if there is no scrollbar.
[Fixes bug #440885]

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

15 years ago2008-02-09 Jonathan Pryor <jonpryor@vt.edu>
Miguel de Icaza [Mon, 3 Nov 2008 19:41:38 +0000 (19:41 -0000)]
2008-02-09  Jonathan Pryor  <jonpryor@vt.edu>

* Mono.Posix_test.dll.sources: Add Mono.Unix/UnixSignalTest.cs.

2008-01-28  Jonathan Pryor  <jpryor@novell.com>

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

15 years ago2008-11-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 3 Nov 2008 19:35:00 +0000 (19:35 -0000)]
2008-11-03 Rodrigo Kumpera <rkumpera@novell.com>

* Vector*.cs: Added prefetch operations.

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

15 years agoMoving WindowsBase into the mcs tree
Alan McGovern [Mon, 3 Nov 2008 19:30:08 +0000 (19:30 -0000)]
Moving WindowsBase into the mcs tree

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

15 years agoNew tests.
Marek Safar [Mon, 3 Nov 2008 18:09:14 +0000 (18:09 -0000)]
New tests.

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

15 years ago2008-11-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 3 Nov 2008 17:59:11 +0000 (17:59 -0000)]
2008-11-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #436792
* cs-parser.jay: Use GetLocation to access location.

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

15 years ago2008-11-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 3 Nov 2008 17:45:09 +0000 (17:45 -0000)]
2008-11-03  Jonathan Pobst  <monkey@jpobst.com>

* ProgressBar.cs, ThemeWin32Classic.cs, ThemeVisualStyles.cs: Commit
patch from Andy Hume that fixes many issues with ProgressBar.
[See bug #440220]

2008-11-03  Jonathan Pobst  <monkey@jpobst.com>

* ProgressBarTest.cs: Add new tests provided by Andy Hume. See
bug #440220.

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

15 years ago2008-11-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 3 Nov 2008 17:08:48 +0000 (17:08 -0000)]
2008-11-03  Marek Safar  <marek.safar@gmail.com>

A test for bug #440774

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

15 years ago2008-11-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 3 Nov 2008 17:08:04 +0000 (17:08 -0000)]
2008-11-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #440774
* cs-parser.jay: Also set current_array_type when parsing local
variables types.

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

15 years ago2008-11-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 3 Nov 2008 16:17:56 +0000 (16:17 -0000)]
2008-11-03  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Don't allow MinimumSize and MaximumSize to conflict.
[Fixes bug #438866]

2008-11-03  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Add test for bug #438866.

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

15 years agoNew test.
Marek Safar [Mon, 3 Nov 2008 15:59:25 +0000 (15:59 -0000)]
New test.

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

15 years agoUpdated: Mono.Simd API is in flux
Miguel de Icaza [Mon, 3 Nov 2008 15:58:02 +0000 (15:58 -0000)]
Updated: Mono.Simd API is in flux

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

15 years ago2008-11-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 3 Nov 2008 15:57:52 +0000 (15:57 -0000)]
2008-11-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #440785
* expression.cs (As): Don't resolve self modifing expression
multiple times.

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

15 years agoTest for bug #440819.
Paolo Molaro [Mon, 3 Nov 2008 15:56:32 +0000 (15:56 -0000)]
Test for bug #440819.

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

15 years ago* Managed.Windows.Forms/System.Windows.Forms/UpDownBase.cs:
Sandy Armstrong [Mon, 3 Nov 2008 15:43:13 +0000 (15:43 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/UpDownBase.cs:
* Managed.Windows.Forms/System.Windows.Forms/DomainUpDown.cs:
* Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs: Internal
  events added to UpDownBase: UIAUpButtonClick and UIADownButtonClick.
  Patch by Neville Gao <ngao@novell.com>.

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

15 years agoMon Nov 3 16:39:37 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 3 Nov 2008 15:42:21 +0000 (15:42 -0000)]
Mon Nov 3 16:39:37 CET 2008 Paolo Molaro <lupus@ximian.com>

* Array.cs: in the IList set_Item, ensure the array
element is set using the proper type checks (bug #440819).

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

15 years ago* Managed.Windows.Forms/System.Windows.Forms/ToolStripLabel.cs: Internal
Sandy Armstrong [Mon, 3 Nov 2008 15:35:14 +0000 (15:35 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/ToolStripLabel.cs: Internal
  event added: UIAIsLinkChanged.

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

15 years ago2008-11-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 3 Nov 2008 14:41:46 +0000 (14:41 -0000)]
2008-11-03 Rodrigo Kumpera <rkumpera@novell.com>

* cpu-x86.md: Add prefetch op.

* mini-ops.h: Same.

* mini-x86.c: Same.

* mini.h: Add an enum for simd prefetch modes.

* simd-methods.h: Add prefetch function names.

* simd-intrinsics.c: Add prefetch ops for all vector types.

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

15 years ago2008-11-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 3 Nov 2008 14:41:44 +0000 (14:41 -0000)]
2008-11-03 Rodrigo Kumpera <rkumpera@novell.com>

* x86/x86-codegen.h: Add prefetch instruction
and x86_sse_alu_reg_membase macro.

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

15 years ago+ outline.cs
Marek Safar [Mon, 3 Nov 2008 14:39:25 +0000 (14:39 -0000)]
+ outline.cs

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

15 years agoNew test.
Marek Safar [Mon, 3 Nov 2008 13:53:37 +0000 (13:53 -0000)]
New test.

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

15 years ago2008-11-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 3 Nov 2008 13:52:59 +0000 (13:52 -0000)]
2008-11-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #439447
* cs-tokenizer.cs: Tokenize surrogates only where allowed.

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

15 years ago2008-11-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 3 Nov 2008 11:00:40 +0000 (11:00 -0000)]
2008-11-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #437571
* cs-parser.jay: Fixes internal error for invalid expression
statements.

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

15 years agoFlush
Miguel de Icaza [Mon, 3 Nov 2008 05:48:48 +0000 (05:48 -0000)]
Flush

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

15 years agoop_Explicit for everyone
Miguel de Icaza [Mon, 3 Nov 2008 05:47:40 +0000 (05:47 -0000)]
op_Explicit for everyone

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

15 years agoA bunch more docs
Miguel de Icaza [Mon, 3 Nov 2008 05:44:08 +0000 (05:44 -0000)]
A bunch more docs

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

15 years agoAnother batch, some operations + lots of parameters
Miguel de Icaza [Mon, 3 Nov 2008 05:07:13 +0000 (05:07 -0000)]
Another batch, some operations + lots of parameters

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

15 years agoAdd mono-lineeditor
Miguel de Icaza [Mon, 3 Nov 2008 03:58:25 +0000 (03:58 -0000)]
Add mono-lineeditor

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

15 years agoInstall the correct file
Miguel de Icaza [Mon, 3 Nov 2008 03:55:11 +0000 (03:55 -0000)]
Install the correct file

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

15 years agoInstall source code snippets in the same location
Miguel de Icaza [Mon, 3 Nov 2008 03:49:48 +0000 (03:49 -0000)]
Install source code snippets in the same location

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

15 years agofix the build, missing #if NET_2_0
Jonathan Pobst [Mon, 3 Nov 2008 03:31:31 +0000 (03:31 -0000)]
fix the build, missing #if NET_2_0

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

15 years agoMore docs
Miguel de Icaza [Mon, 3 Nov 2008 02:10:25 +0000 (02:10 -0000)]
More docs

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

15 years agoNative EOL
Miguel de Icaza [Mon, 3 Nov 2008 02:09:12 +0000 (02:09 -0000)]
Native EOL

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

15 years agoEquals
Miguel de Icaza [Mon, 3 Nov 2008 01:41:32 +0000 (01:41 -0000)]
Equals

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

15 years agoFix
Miguel de Icaza [Mon, 3 Nov 2008 00:12:33 +0000 (00:12 -0000)]
Fix

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

15 years agobasic summaries
Miguel de Icaza [Mon, 3 Nov 2008 00:08:54 +0000 (00:08 -0000)]
basic summaries

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

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