mono.git
16 years ago2008-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 16 Feb 2008 07:58:49 +0000 (07:58 -0000)]
2008-02-16  Atsushi Enomoto  <atsushi@ximian.com>

* ContentType.cs : Reject such MediaType that lacks '/'.
  Do not reject such parameters that are not standard ones.

* ContentTypeTest.cs : (oops we didn't have ChangeLog here) added
  another .ctor() test.

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

16 years ago2008-02-15 Luke Page <luke.a.page@gmail.com>
Luke Page [Fri, 15 Feb 2008 23:33:55 +0000 (23:33 -0000)]
2008-02-15  Luke Page  <luke.a.page@gmail.com>
* MaskedTextBox.cs: Now skips non editable characters after a
character has been entered and we are progressing to the next
position in the MaskedTextBox.

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

16 years agoFixed test syntax.
Marek Safar [Fri, 15 Feb 2008 22:48:15 +0000 (22:48 -0000)]
Fixed test syntax.

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

16 years ago2008-02-15 Luke Page <luke.a.page@gmail.com>
Luke Page [Fri, 15 Feb 2008 22:43:58 +0000 (22:43 -0000)]
2008-02-15  Luke Page  <luke.a.page@gmail.com>
* TextBoxBase.cs: Handles MouseDown when shift key is clicked so
that it changes the selection rather than just repositioning the
cursor. Fixes Bug #360873.

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

16 years agoUpdated cs0214-10.cs error status
Marek Safar [Fri, 15 Feb 2008 22:42:25 +0000 (22:42 -0000)]
Updated cs0214-10.cs error status

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

16 years ago2008-02-15 Luke Page <luke.a.page@gmail.com>
Luke Page [Fri, 15 Feb 2008 22:14:49 +0000 (22:14 -0000)]
2008-02-15  Luke Page  <luke.a.page@gmail.com>
* TextBoxBase.cs, TextControl.cs, RichTextBox.cs: TextChanged fires
when Undo/Redo changes the text. Undo/Redo/Undo/Redo now works
correctly. See #359330

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

16 years ago2008-02-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 15 Feb 2008 21:48:54 +0000 (21:48 -0000)]
2008-02-15  Miguel de Icaza  <miguel@novell.com>

* UnmanagedMemoryStream.cs: Implement few missing pieces.

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

16 years ago2008-02-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 15 Feb 2008 20:18:14 +0000 (20:18 -0000)]
2008-02-15  Miguel de Icaza  <miguel@novell.com>

* cs-tokenizer.cs: if a conditional expression happens inside a
(...) this also means that we do not need to de-ambiguate between
an parenthesized expression and a cast.

Fixes 346484.

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

16 years agoErrors should compile, except for the one error they highlight
Miguel de Icaza [Fri, 15 Feb 2008 20:16:58 +0000 (20:16 -0000)]
Errors should compile, except for the one error they highlight

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

16 years ago2008-02-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 15 Feb 2008 16:48:42 +0000 (16:48 -0000)]
2008-02-15  Miguel de Icaza  <miguel@novell.com>

* constant.cs (SideEffectConstant): a constant value that happens
to have a side effect.

Fixes the build regressions introduced by the fix for #359789

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

16 years agoErrors in general should build, except for the one error they trigger
Miguel de Icaza [Fri, 15 Feb 2008 16:35:24 +0000 (16:35 -0000)]
Errors in general should build, except for the one error they trigger

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

16 years ago2008-02-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 15 Feb 2008 14:49:39 +0000 (14:49 -0000)]
2008-02-15  Zoltan Varga  <vargaz@gmail.com>

* mini-s390.h (MONO_OUTPUT_VTR): Use cfg instead of s, avoid assignments to
macro arguments.

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

16 years ago2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 15 Feb 2008 13:45:11 +0000 (13:45 -0000)]
2008-02-15  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : UriParser field blocks serialization.

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

16 years ago* XplatUIX11.cs: If the handle is null when posting a message, use the
Andreia Gaita [Fri, 15 Feb 2008 13:17:06 +0000 (13:17 -0000)]
* XplatUIX11.cs: If the handle is null when posting a message, use the
current thread queue to post instead. Fixes #332409

* SendKeys.cs: Slight optimization

2008-02-15  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-02-14 Rodrigo Kumpera <rkumpera@novell.com>
Miguel de Icaza [Thu, 14 Feb 2008 23:31:16 +0000 (23:31 -0000)]
2008-02-14  Rodrigo Kumpera  <rkumpera@novell.com>

* expression.cs (Conditional.Emit): when emitting the ternary
operator, use local variables to generate code verifiable code.

The verifier cannot infer that the type on stack before the
stloc.0 is executed is of type ParentB. This happens because the
stack merge algorithm uses only parent types when deciding which
is the common type.  This is described in Part III 1.8.1.3 of ECMA
335.

This code compiled with mcs is not verifiable under MS. The MS
verifier picks the first common interface of Foo and Bar, which is
wrong, but doesn't use a full join type of the 2 interfaces.

CSC uses a clever hack to compile such code in a verifiable
way. It stores the intermediate values in a local variable with
the expected type.

Fixes: #358102

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

16 years ago2008-02-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 14 Feb 2008 23:24:14 +0000 (23:24 -0000)]
2008-02-14  Miguel de Icaza  <miguel@novell.com>

* expression.cs: Do not fold BitwiseAnd operators when the left
side is a false constant, because we still need to evaluate the
right-hand side.

Fixes #359789

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

16 years ago2008-02-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 14 Feb 2008 22:56:09 +0000 (22:56 -0000)]
2008-02-14  Miguel de Icaza  <miguel@novell.com>

* support.cs: Instead of throwing an InternalErrorException when
the position of the stream is outside the boundary of our buffer,
reset the state of the reader, and restart the reading from the
beginning of the file.

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

16 years ago2008-02-14 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 14 Feb 2008 19:32:43 +0000 (19:32 -0000)]
2008-02-14  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs, PropertyGridView.cs:
Fix multiple scrolling and sizing issues.
[Fixes bug #359199]

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

16 years ago2008-02-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 14 Feb 2008 18:00:56 +0000 (18:00 -0000)]
2008-02-14  Zoltan Varga  <vargaz@gmail.com>

* mini-ops.h: Get rid of OP_SPARC_LOCALLOC_IMM.

* mini-sparc.c inssel-sparc.brg: Use OP_LOCALLOC_IMM instead of OP_SPARC_LOCALLOC_IMM.

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

16 years ago2008-02-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 14 Feb 2008 17:58:46 +0000 (17:58 -0000)]
2008-02-14  Zoltan Varga  <vargaz@gmail.com>

* mini-ops.h: Get rid of OP_SPARC_LOCALLOC_IMM.

* mini-sparc. inssel-sparc.brg: Use OP_LOCALLOC_IMM instead of OP_SPARC_LOCALLOC_IMM.

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

16 years agoIn .:
Geoff Norton [Thu, 14 Feb 2008 17:39:43 +0000 (17:39 -0000)]
In .:
2008-02-14  Geoff Norton  <gnorton@novell.com>

* WindowHandler.cs: Ensure we send WM_ACTIVATE when we activate our
Form.  Fixes #360721

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

16 years ago2008-02-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 14 Feb 2008 17:24:55 +0000 (17:24 -0000)]
2008-02-14  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c: Sync with the version on the linear IR branch by adding new
opcodes and other small changes.

* mini-ops.h: Add some new opcodes from the linear IR branch.

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

16 years agoThu Feb 14 19:03:00 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 14 Feb 2008 17:21:54 +0000 (17:21 -0000)]
Thu Feb 14 19:03:00 CET 2008 Paolo Molaro <lupus@ximian.com>

* RxCompiler.cs, RxInterpreter.cs, RxOp.cs, CILCompiler.cs : support for word
boundary position opcodes, ignorecase backreference and more capture
work.

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

16 years agoThu Feb 14 17:11:10 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 14 Feb 2008 15:31:24 +0000 (15:31 -0000)]
Thu Feb 14 17:11:10 CET 2008 Paolo Molaro <lupus@ximian.com>

* RxCompiler.cs, RxInterpreter.cs, RxOp.cs: replace EcmaDigit with
Range, fixed matching of "" =~ /$/, implementedt TestCharGroup.
Fixes and other misc opcodes implemented.

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

16 years ago2008-02-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 14 Feb 2008 14:24:56 +0000 (14:24 -0000)]
2008-02-14  Zoltan Varga  <vargaz@gmail.com>

* mini-ops.h: Get rid of the OP_X86_..._MEMBASE opcodes.

* mini-x86.c inssel-x86.brg cpu-x86.md: Get rid of the confusing _MEMBASE
opcodes, use the REG_MEMBASE opcodes instead.

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

16 years ago2008-02-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 14 Feb 2008 14:21:56 +0000 (14:21 -0000)]
2008-02-14  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h (amd64_alu_membase8_imm_size): New codegen macro.

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

16 years ago2008-02-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 14 Feb 2008 14:18:40 +0000 (14:18 -0000)]
2008-02-14  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c inssel-amd64.brg cpu-amd64.md: Get rid of the confusing _MEMBASE
opcodes, use the REG_MEMBASE opcodes instead.

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

16 years ago2008-02-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 14 Feb 2008 14:01:02 +0000 (14:01 -0000)]
2008-02-14  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Sync with the version on the
linear IR branch.

* mini.c (mono_op_imm_to_op): New helper function.

* mini-ops.h: Add some opcodes from linear IR branch.

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

16 years agoUse correct parser file in `qh' profile
Marek Safar [Thu, 14 Feb 2008 12:08:02 +0000 (12:08 -0000)]
Use correct parser file in `qh' profile

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

16 years ago2008-02-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 14 Feb 2008 12:06:18 +0000 (12:06 -0000)]
2008-02-14  Marek Safar  <marek.safar@gmail.com>

  * generic.cs (TypeParameter.GetMembers): Is not supported operation.

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

16 years ago2008-02-14 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 14 Feb 2008 11:32:11 +0000 (11:32 -0000)]
2008-02-14  Jb Evain  <jbevain@novell.com>

* Delegate.cs (CreateDelegate): refactor. DRY!

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

16 years ago2008-02-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 14 Feb 2008 11:24:05 +0000 (11:24 -0000)]
2008-02-14  Marek Safar  <marek.safar@gmail.com>

A test for bug #361686

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

16 years ago2008-02-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 14 Feb 2008 11:22:59 +0000 (11:22 -0000)]
2008-02-14  Marek Safar  <marek.safar@gmail.com>

A fix for bug #361686
  * decl.cs: A protected types used inside a private class which parents
  derives from the protected class are accessible.

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

16 years ago2008-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 Feb 2008 21:39:25 +0000 (21:39 -0000)]
2008-02-13  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Restructure some code to avoid a branch inside a loop.

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

16 years ago2008-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 Feb 2008 21:21:39 +0000 (21:21 -0000)]
2008-02-13  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Fix the unsafe string matching code.

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

16 years ago2008-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 Feb 2008 18:31:11 +0000 (18:31 -0000)]
2008-02-13  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Improved version which emits only one method in most cases.

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

16 years ago2008-02-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 13 Feb 2008 15:46:10 +0000 (15:46 -0000)]
2008-02-13  Marek Safar  <marek.safar@gmail.com>

* generic.cs (ConstraintChecker): Use cached member lookup when looking for
the parameterless constructor.

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

16 years ago2008-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 Feb 2008 15:20:21 +0000 (15:20 -0000)]
2008-02-13  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Fix some comments.

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

16 years ago2008-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 Feb 2008 14:58:33 +0000 (14:58 -0000)]
2008-02-13  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: New file, extracted from RxCompiler.cs.

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

16 years ago2008-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 Feb 2008 14:30:06 +0000 (14:30 -0000)]
2008-02-13  Zoltan Varga  <vargaz@gmail.com>

* RxInterpreter.cs RxCompiler.cs: First version of regex IL compiler.

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

16 years agoFixed build
Marek Safar [Wed, 13 Feb 2008 14:29:49 +0000 (14:29 -0000)]
Fixed build

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

16 years ago2008-02-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 13 Feb 2008 14:03:08 +0000 (14:03 -0000)]
2008-02-13  Marek Safar  <marek.safar@gmail.com>

* generic.cs, typemanager.cs, iterators.cs, codegen.cs: Refactored core
lookup methods to use standard member cache when doing member lookup.

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

16 years agoWed Feb 13 13:18:12 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 13 Feb 2008 11:36:07 +0000 (11:36 -0000)]
Wed Feb 13 13:18:12 CET 2008 Paolo Molaro <lupus@ximian.com>

* RxCompiler.cs, RxInterpreter.cs, RxOp.cs: unicode categories and
some grouping/capture support.

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

16 years ago* HtmlForm.cs: fixed action attribute in RenderAttributes under TARGET_JVM
Vladimir Krasnov [Wed, 13 Feb 2008 10:09:28 +0000 (10:09 -0000)]
* HtmlForm.cs: fixed action attribute in RenderAttributes under TARGET_JVM

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

16 years ago2008-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Feb 2008 23:53:53 +0000 (23:53 -0000)]
2008-02-13  Zoltan Varga  <vargaz@gmail.com>

* mini-alpha.h mini-alpha.c tramp-alpha.c: Alpha port updates from Sergey Tikhonov
<tsv@solvo.ru>.

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

16 years ago2008-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Feb 2008 23:52:55 +0000 (23:52 -0000)]
2008-02-13  Zoltan Varga  <vargaz@gmail.com>

* mono-membar.h (mono_memory_barrier): Applied patch by Sergey Tikhonov
<tsv@solvo.ru>. Add alpha support.

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

16 years ago* DelegateTest.cs: Added more tests for CreateDelegate, dealing with
Gert Driesen [Tue, 12 Feb 2008 19:49:57 +0000 (19:49 -0000)]
* DelegateTest.cs: Added more tests for CreateDelegate, dealing with
a non-matching return type, case, arguments and inherited methods.
* Delegate.cs (CreateDelegate): Walk the inheritance change to find
matching method. Skip methods for which the return type does not match
the delegate. Fixes bug #360784.

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

16 years agoflush forgotten changelog
Robert Jordan [Tue, 12 Feb 2008 18:53:48 +0000 (18:53 -0000)]
flush forgotten changelog

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

16 years ago2008-02-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Feb 2008 18:10:52 +0000 (18:10 -0000)]
2008-02-12  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_normalize_opcodes): Always convert CEE_CONV_R4/R8 to
OP_ICONV_TO_R4/R8.

* mini-ia64.c cpu-ia64.md: Add OP_ICONV_TO_R4/R8.

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

16 years agoTue Feb 12 19:16:49 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 12 Feb 2008 17:35:01 +0000 (17:35 -0000)]
Tue Feb 12 19:16:49 CET 2008 Paolo Molaro <lupus@ximian.com>

* RxCompiler.cs, RxInterpreter.cs, RxOp.cs: experimental new
interpreter.

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

16 years ago2008-02-12 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 12 Feb 2008 17:21:16 +0000 (17:21 -0000)]
2008-02-12  Ivan N. Zlatev  <contact@i-nz.net>

* DateTimeEditor.cs: Set edit value only if the user sets it
in the editor.
[Fixes #359159]

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

16 years ago2008-02-12 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 12 Feb 2008 16:54:27 +0000 (16:54 -0000)]
2008-02-12  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGridView.cs: Ensure that drop down editors are shown
in the WorkingArea of the screen.
[Fixes bug #359807]

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

16 years ago * signal.c: SLES9 has glib 2.2, so we can't rely on g_atomic_int_*().
Jonathan Pryor [Tue, 12 Feb 2008 16:54:18 +0000 (16:54 -0000)]
* signal.c: SLES9 has glib 2.2, so we can't rely on g_atomic_int_*().
  Provide a fallback mechanism between using Mono's atomic.h, glib 2.4
  functions, and horribly unsafe-but-no-alternative code.

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

16 years agoNew test.
Marek Safar [Tue, 12 Feb 2008 16:32:31 +0000 (16:32 -0000)]
New test.

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

16 years ago2008-02-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 12 Feb 2008 16:29:58 +0000 (16:29 -0000)]
2008-02-12  Marek Safar  <marek.safar@gmail.com>

* driver.cs: Don't report full path for referenced module as assembly error.

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

16 years ago2008-02-12 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 12 Feb 2008 15:36:59 +0000 (15:36 -0000)]
2008-02-12  Ivan N. Zlatev  <contact@i-nz.net>

* GridEntry.cs: Fail silently when UITypeEditor is missing.
[Fixes bug #360666]

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

16 years agoadd mangling attribute
Leonid Freydovich [Tue, 12 Feb 2008 14:43:10 +0000 (14:43 -0000)]
add mangling attribute

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

16 years agoTARGET_J2EE:
Igor Zelmanovich [Tue, 12 Feb 2008 14:42:23 +0000 (14:42 -0000)]
TARGET_J2EE:
merge r95502-95503

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

16 years agoTARGET_J2EE:
Igor Zelmanovich [Tue, 12 Feb 2008 14:39:52 +0000 (14:39 -0000)]
TARGET_J2EE:
merge r95501-95502

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

16 years agoadd new internal interface for extending HttpWorkerRequest.
Igor Zelmanovich [Tue, 12 Feb 2008 14:30:39 +0000 (14:30 -0000)]
add new internal interface for extending HttpWorkerRequest.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95502

16 years ago * signal.c: Fix another build break; g_atomic_int_set() (part of GLib 2.10)
Jonathan Pryor [Tue, 12 Feb 2008 14:19:35 +0000 (14:19 -0000)]
* signal.c: Fix another build break; g_atomic_int_set() (part of GLib 2.10)
  isn't present on all build machines, so use an alternate function.

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

16 years agoInitialize Channel uri in all cases
Roei Erez [Tue, 12 Feb 2008 13:55:28 +0000 (13:55 -0000)]
Initialize Channel uri in all cases

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

16 years agoSet eol-style
Marek Safar [Tue, 12 Feb 2008 13:55:27 +0000 (13:55 -0000)]
Set eol-style

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

16 years ago2008-02-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 12 Feb 2008 13:46:30 +0000 (13:46 -0000)]
2008-02-12  Marek Safar  <marek.safar@gmail.com>

* Makefile: Fixed `qh' target to work on all machines.

  * report.cs, typemanager.cs, parameter.cs, ecore.cs, class.cs, anonymous.cs,
  expression.cs, codegen.cs, statement.cs, doc.cs: Replaced type IsSubclassOf
  and HasElementType with TypeManager implementation.

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

16 years agoTestFile3.xml and TestFile5.xml are used only for output and should not be committed...
Arina Itkes [Tue, 12 Feb 2008 12:19:06 +0000 (12:19 -0000)]
TestFile3.xml and TestFile5.xml are used only for output and should not be committed. I renamed them for future deleting.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95495

16 years agomerge -r95489:95490
Vladimir Krasnov [Tue, 12 Feb 2008 11:51:43 +0000 (11:51 -0000)]
merge -r95489:95490

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95492

16 years agomerge -r95483:95484
Vladimir Krasnov [Tue, 12 Feb 2008 11:51:00 +0000 (11:51 -0000)]
merge -r95483:95484

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95491

16 years ago* Page.jvm.cs: StateSerializer.readExternal and writeExternal fixed to support viewst...
Vladimir Krasnov [Tue, 12 Feb 2008 11:37:20 +0000 (11:37 -0000)]
* Page.jvm.cs: StateSerializer.readExternal and writeExternal fixed to support viewstate encryption

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

16 years agomerge r95486-95487
Igor Zelmanovich [Tue, 12 Feb 2008 10:14:14 +0000 (10:14 -0000)]
merge r95486-95487

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

16 years agoimplement such JSF API for being compatible with using of log4j-1.2.13.jar with myfaces.
Igor Zelmanovich [Tue, 12 Feb 2008 10:01:23 +0000 (10:01 -0000)]
implement such JSF API for being compatible with using of log4j-1.2.13.jar with myfaces.
fix BUG #9871

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95487

16 years agomerge -r95484:95485
Konstantin Triger [Tue, 12 Feb 2008 09:45:14 +0000 (09:45 -0000)]
merge -r95484:95485

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95486

16 years agoTARGET_J2EE: reverted r80308
Konstantin Triger [Tue, 12 Feb 2008 09:30:34 +0000 (09:30 -0000)]
TARGET_J2EE: reverted r80308

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

16 years ago* ObjectStateFormatter.cs: revert of 91820
Vladimir Krasnov [Tue, 12 Feb 2008 09:24:34 +0000 (09:24 -0000)]
* ObjectStateFormatter.cs: revert of 91820

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

16 years agomerge r95480-95481
Igor Zelmanovich [Tue, 12 Feb 2008 09:03:31 +0000 (09:03 -0000)]
merge r95480-95481

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95483

16 years agomake Exception message more informative
Igor Zelmanovich [Tue, 12 Feb 2008 08:56:26 +0000 (08:56 -0000)]
make Exception message more informative

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

16 years ago2008-02-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Feb 2008 08:38:54 +0000 (08:38 -0000)]
2008-02-12  Atsushi Enomoto <atsushi@ximian.com>

* DefaultContext.cs : now number formatting for "R" works fine, so
  just use it (and remove conditional compilation for TARGET_JVM).

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

16 years ago2008-02-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Feb 2008 03:27:03 +0000 (03:27 -0000)]
2008-02-12  Atsushi Enomoto  <atsushi@ximian.com>

* XElement.cs : Value is rather a value in XPath semantics than
  the textual xml representation. Fixed bug #360858.

* XElementTest.cs : added test for Value (bug #360858).

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

16 years ago * UnixSignal.cs: Improve argument checking to match docs.
Jonathan Pryor [Tue, 12 Feb 2008 01:28:38 +0000 (01:28 -0000)]
* UnixSignal.cs: Improve argument checking to match docs.

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

16 years ago2008-02-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Feb 2008 22:54:49 +0000 (22:54 -0000)]
2008-02-12  Zoltan Varga  <vargaz@gmail.com>

* UnixSignalTest.cs: Fix the build.

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

16 years agobuild System.Xml.Linq in the 2.0 profile
Andrew Jorgensen [Mon, 11 Feb 2008 21:55:50 +0000 (21:55 -0000)]
build System.Xml.Linq in the 2.0 profile

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

16 years ago2008-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Feb 2008 21:29:15 +0000 (21:29 -0000)]
2008-02-11  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_layout_fields): Set class->min_align for classes using
explicit layout as well. Fixes #360375.

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

16 years ago* DelegateTest.cs: Added incomplete set of (notworking) tests for
Gert Driesen [Mon, 11 Feb 2008 20:53:27 +0000 (20:53 -0000)]
* DelegateTest.cs: Added incomplete set of (notworking) tests for
bug #360784.

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

16 years ago2008-02-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 11 Feb 2008 20:12:44 +0000 (20:12 -0000)]
2008-02-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingTest.cs: New test for 2.0 DataSourceNullValue property -
which is not working by now (but should guide us to correctly
implement some missing features in data binding).

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

16 years ago2008-02-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 11 Feb 2008 20:07:58 +0000 (20:07 -0000)]
2008-02-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: Implement 2.0 DataSourceNullValue property.

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

16 years ago2008-02-11 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 11 Feb 2008 17:58:19 +0000 (17:58 -0000)]
2008-02-11  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGridView.cs:
 - Clear the controls in the drop down form after it is hidden.
 - Fix Width sizing of the dropdown editors to match MSFT.

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

16 years ago2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Feb 2008 16:31:45 +0000 (16:31 -0000)]
2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>

* XNodeDocumentOrderComparer.cs : ancestor/descendant comparison was
  broken for some cases.
* Extensions.cs : implemented InDocumentOrder<T>().

* XNodeDocumentOrderComparerTest.cs : added another test for
  descendant/ancestor comparison.
* ExtensionsTest.cs : test InDocumentOrder<T>().

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

16 years ago2008-02-11 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 11 Feb 2008 16:28:45 +0000 (16:28 -0000)]
2008-02-11  Ivan N. Zlatev  <contact@i-nz.net>

* AnchorEditor.cs: More sensible default width.

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

16 years agoFix tests: end of line is "\r\n" when it runs on Windows.
Arina Itkes [Mon, 11 Feb 2008 16:10:56 +0000 (16:10 -0000)]
Fix tests: end of line is "\r\n" when it runs on Windows.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95445

16 years ago2008-02-11 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 11 Feb 2008 15:55:05 +0000 (15:55 -0000)]
2008-02-11  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGridView.cs:
 - Fix height for drawing the grid entry
 text value, so that it clips multiline text properly.
 - Fix unfocusing to match MSFT.

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

16 years ago2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Feb 2008 15:25:42 +0000 (15:25 -0000)]
2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>

* XName.cs : implemented GetObjectData(). It is however incompatible
  with .NET (yet?).
* XNodeNavigator.cs : SchemaInfo is null.

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

16 years ago2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Feb 2008 15:01:08 +0000 (15:01 -0000)]
2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>

* XStreamingElement.cs : it was almost already implemented.
* XElement.cs : finish .ctor(XStreamingElement).

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

16 years ago2008-02-11 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 11 Feb 2008 14:53:36 +0000 (14:53 -0000)]
2008-02-11  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs: Do not populate subgriditems unless expandable.
Fixes a bug where on repopulation after value changed items become
expandable.

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

16 years ago2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Feb 2008 14:45:04 +0000 (14:45 -0000)]
2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>

* XNode.cs, XElement.cs, XStreamingElement.cs, XContainer.cs,
  XUtil.cs : one-object to one-XNode conversion is wrong. It could
  be one-or-more nodes (i.e. when object is IEnumerable).

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

16 years ago2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Feb 2008 14:20:23 +0000 (14:20 -0000)]
2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>

* XNamespace.cs : make Get() and GetName() table-based.

* XNamespaceTest.cs : test Get() and GetName().

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

16 years agodos2unix was applied
Arina Itkes [Mon, 11 Feb 2008 13:45:49 +0000 (13:45 -0000)]
dos2unix was applied

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

16 years agoadded TARGET_J2EE ifdef
Igor Zelmanovich [Mon, 11 Feb 2008 12:54:56 +0000 (12:54 -0000)]
added TARGET_J2EE ifdef

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95433

16 years ago2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Feb 2008 11:28:51 +0000 (11:28 -0000)]
2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>

* XNodeNavigator.cs : MoveToId() is not supported in this class.
* XElement.cs : allow DTD by default.

* XNodeNavigatorTest.cs : test MoveToId() (NotSupportedException,
  cannot be enabled yet).

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

16 years ago2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Feb 2008 11:01:37 +0000 (11:01 -0000)]
2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>

* XNode.cs XElement.cs XObject.cs XDocument.cs XContainer.cs :
  support LoadOptions.SetLineInfo and LoadOptions.SetBaseUri.

* XObjectTest.cs : new. Test IXmlLineInfo.

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

16 years agoFix NaN and +/-Infinity ToString("R")
Eyal Alalouf [Mon, 11 Feb 2008 09:45:43 +0000 (09:45 -0000)]
Fix NaN and +/-Infinity ToString("R")

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

16 years ago2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Feb 2008 08:21:40 +0000 (08:21 -0000)]
2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>

* XNodeNavigator.cs : oops, MoveToNext() always returned false.

* XNodeNavigatorTest.cs : new test (but it does not build yet).

* System.Xml.Linq_test.dll.sources : added XNodeNavigatorTest.cs.

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