mono.git
15 years ago2008-09-23 Michael Hutchinson <mhutchinson@novell.com>
Michael Hutchinson [Tue, 23 Sep 2008 21:07:12 +0000 (21:07 -0000)]
2008-09-23  Michael Hutchinson  <mhutchinson@novell.com>

* SoapServerFormatterSink.cs: Do not try to parse text/xml code
  unless there is a SOAPAction.  Set position on outgoing streams to
  zero, so they can be properly parsed in the general infrastructure.
  Do not try to seek on incoming streams.

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

15 years agosvn path=/trunk/mcs/; revision=113894
Michael Hutchinson [Tue, 23 Sep 2008 20:57:12 +0000 (20:57 -0000)]
svn path=/trunk/mcs/; revision=113894

15 years agosvn path=/trunk/mcs/; revision=113893
Michael Hutchinson [Tue, 23 Sep 2008 20:54:45 +0000 (20:54 -0000)]
svn path=/trunk/mcs/; revision=113893

15 years ago2008-09-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 23 Sep 2008 20:37:02 +0000 (20:37 -0000)]
2008-09-23  Marek Habersack  <mhabersack@novell.com>

* HttpWorkerRequest.cs: implemented a SendCalculatedContentLength
overload. This method apparently does nothing in MS.NET.

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

15 years ago2008-09-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 23 Sep 2008 20:29:06 +0000 (20:29 -0000)]
2008-09-23  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Allow tooltips to be multiline.
[Fixes bug #427884]

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

15 years ago2008-09-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 23 Sep 2008 20:07:15 +0000 (20:07 -0000)]
2008-09-23  Jonathan Pobst  <monkey@jpobst.com>

* StatusBar.cs: Add tooltip support.
[Fixes bug #428113]

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

15 years ago2008-09-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 23 Sep 2008 20:04:59 +0000 (20:04 -0000)]
2008-09-23  Marek Safar  <marek.safar@gmail.com>

* Makefile: Build Mono.CompilerServices.SymbolWriter before it's
used.

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

15 years ago2008-09-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 23 Sep 2008 19:16:37 +0000 (19:16 -0000)]
2008-09-23  Marek Safar  <marek.safar@gmail.com>

* Makefile: Use bootstrap profile to build with correct symbol
writer.

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

15 years ago2008-09-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 23 Sep 2008 18:00:16 +0000 (18:00 -0000)]
2008-09-23  Marek Safar  <marek.safar@gmail.com>

* codegen.cs: Report better error when symbol writer is missing.

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

15 years ago2008-09-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 23 Sep 2008 17:47:42 +0000 (17:47 -0000)]
2008-09-23  Marek Safar <marek.safar@gmail.com>

* Makefile: Don't override global debug flag.

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

15 years ago#
Marek Safar [Tue, 23 Sep 2008 17:10:36 +0000 (17:10 -0000)]
#
# Copy from rules.make because I don't know how to unset MCS_FLAGS
#

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

15 years agoImplement incomplete methods - .ctors, get_Value and CreateReader
Veerapuram Varadhan [Tue, 23 Sep 2008 16:57:08 +0000 (16:57 -0000)]
Implement incomplete methods - .ctors, get_Value and CreateReader

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

15 years agoCultureInfoSerializer should use lower case names for the serialized items.
Marek Habersack [Tue, 23 Sep 2008 16:48:55 +0000 (16:48 -0000)]
CultureInfoSerializer should use lower case names for the serialized items.

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

15 years agoCopied USE_MCS_FLAGS
Marek Safar [Tue, 23 Sep 2008 15:46:52 +0000 (15:46 -0000)]
Copied USE_MCS_FLAGS

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

15 years ago2008-09-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 23 Sep 2008 15:28:49 +0000 (15:28 -0000)]
2008-09-23  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: ignore whitespace only if it's between
CodeRender blocks, not between DataBinding and
CodeRenderExpression.

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

15 years agoIn .:
Rodrigo Kumpera [Tue, 23 Sep 2008 15:25:48 +0000 (15:25 -0000)]
In .:
2008-09-23  Rodrigo Kumpera  <rkumpera@novell.com>

* method-to-ir.c (type_to_eval_stack_type): The code path for the new JIT
was wrong at it choked against target_type_is_incompatible for byref types.

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

15 years ago2008-09-23 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 23 Sep 2008 15:05:20 +0000 (15:05 -0000)]
2008-09-23  Jb Evain  <jbevain@novell.com>

* masterinfos/silverlight/Mono.CompilerServices.SymbolWriter.info
* Makefile:
tune the SymbolWriter as well.

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

15 years ago2008-09-23 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 23 Sep 2008 15:04:36 +0000 (15:04 -0000)]
2008-09-23  Jb Evain  <jbevain@novell.com>

* Makefile: compile the SymbolWriter during net_2_1_raw.

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

15 years ago2008-09-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 23 Sep 2008 14:55:49 +0000 (14:55 -0000)]
2008-09-23  Marek Habersack  <mhabersack@novell.com>

* LogicalTypeInfo.cs: do not use
LazyDictionary as enum serializer anymore.

* ProfileService.cs: do not use
LazyDictionary as ProfileService serializer anymore.

* RestHandler.cs: do not use
LazyDictionary as the Exception or NameValueCollection serializer
anymore.

2008-09-23  Marek Habersack  <mhabersack@novell.com>

* JavaScriptSerializer.cs: removed the LazyDictionary class, it's
not needed anymore.

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

15 years ago2008-09-23 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Tue, 23 Sep 2008 14:33:54 +0000 (14:33 -0000)]
2008-09-23  Juraj Skripsky  <js@hotfeet.ch>

* JsonSerializer.cs: "SerializeGenericDictionary" is an instance method,
fix retrieval of its MethodInfo.
Initialize serializeGenericDictionaryMethods (lazily).
Add and use GetClosedIDictionaryBase to also handle cases where a
non-generic class implements a closed IDictionary<,> (e.g.
SomeDictionary : IDictionary<string, object>). Fixes bug #424704.
First check for IDictionary<,>, then for IDictionary.

2008-09-20  Juraj Skripsky  <js@hotfeet.ch>

* JavaScriptSerializerTest.cs: added test for bug #424704.

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

15 years ago2008-09-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 23 Sep 2008 14:20:22 +0000 (14:20 -0000)]
2008-09-23  Marek Habersack  <mhabersack@novell.com>

* ScriptManager.cs: CultureInfoSerializer no longer derives from
the obsolete LazyDictionary.

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

15 years agoReset MCS_FLAGS flag
Marek Safar [Tue, 23 Sep 2008 14:11:11 +0000 (14:11 -0000)]
Reset MCS_FLAGS flag

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

15 years ago2008-09-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 23 Sep 2008 14:05:29 +0000 (14:05 -0000)]
2008-09-23  Marek Safar  <marek.safar@gmail.com>

* ModuleBuilder.cs: Fixed NRE when default symbol writer cannot be
loaded.

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

15 years agoFix the build.
Zoltan Varga [Tue, 23 Sep 2008 14:04:07 +0000 (14:04 -0000)]
Fix the build.

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

15 years ago2008-09-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 23 Sep 2008 13:47:28 +0000 (13:47 -0000)]
2008-09-23  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c: Use 'bank' macros instead of 'is_fp' macros in most
places.

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

15 years ago2008-09-23 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 23 Sep 2008 13:47:22 +0000 (13:47 -0000)]
2008-09-23  Jb Evain  <jbevain@novell.com>

* Makefile: only execute the check visibility step if
CHECK_VISIBILITY is defined.

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

15 years agoTue Sep 23 15:31:45 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 23 Sep 2008 13:32:39 +0000 (13:32 -0000)]
Tue Sep 23 15:31:45 CEST 2008 Paolo Molaro <lupus@ximian.com>

* mini-exceptions.c: update a few more exceptions-related counters.

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

15 years agoTue Sep 23 15:28:29 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 23 Sep 2008 13:31:40 +0000 (13:31 -0000)]
Tue Sep 23 15:28:29 CEST 2008 Paolo Molaro <lupus@ximian.com>

* aot-runtime.c, method-to-ir.c, mini.c, mini-trampolines.c: use the
new functions to allocate from persistent mempools.

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

15 years agoTue Sep 23 15:24:03 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 23 Sep 2008 13:28:20 +0000 (13:28 -0000)]
Tue Sep 23 15:24:03 CEST 2008 Paolo Molaro <lupus@ximian.com>

* class.c, domain-internals.h, domain.c, generic-sharing.c, image.c,
loader.c, marshal.c, metadata-internals.h, metadata.c,
method-builder.c, object.c, reflection.c: introduced specific functions
to allocate from the domain and image mempools and cleaned up most of
the code to use them (still missing a few in reflection.c).
Keep the loader bytes counter updated.

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

15 years ago* Mono.Mozilla/interfaces/nsIServiceManager.cs: change signature to
Andreia Gaita [Tue, 23 Sep 2008 11:53:36 +0000 (11:53 -0000)]
* Mono.Mozilla/interfaces/nsIServiceManager.cs: change signature to
  return the object immediately

2008-09-23  Andreia Gaita <avidigal@novell.com>

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

15 years ago2008-09-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 23 Sep 2008 11:48:00 +0000 (11:48 -0000)]
2008-09-23  Marek Safar  <marek.safar@gmail.com>

* codegen.cs: Set .NET symbol writer.

* decl.cs: Guard against null generic arguments.

* report.cs: Don't report exactly same additional details.

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

15 years agoforgot changelog
Jb Evain [Tue, 23 Sep 2008 11:28:12 +0000 (11:28 -0000)]
forgot changelog

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

15 years ago* Mono.Mozilla/DOM/Node.cs, Mono.WebBrowser/DOM/INode.cs,
Andreia Gaita [Tue, 23 Sep 2008 11:08:08 +0000 (11:08 -0000)]
* Mono.Mozilla/DOM/Node.cs, Mono.WebBrowser/DOM/INode.cs,
  Mono.Mozilla/WebBrowser.cs: Expose native accessibility object
* Mono.WebBrowser/Exception.cs, Mono.WebBrowser2K5.csproj,
  Mono.WebBrowser.dll.sources,
  Mono.Mozilla/interfaces/nsIErrorService.cs: Add error service for
  error lookups

2008-09-23  Andreia Gaita <avidigal@novell.com>

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

15 years ago2008-09-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 23 Sep 2008 11:03:25 +0000 (11:03 -0000)]
2008-09-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ThemeWin32Classic.cs: Use StringAlignment.Center for the vertical
alignments of sub items in Details view. Patch by John Mortlock (johnm at
hlaustralia.com.au).
Fixes #425360.

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

15 years ago2008-09-23 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 23 Sep 2008 09:38:54 +0000 (09:38 -0000)]
2008-09-23  Jb Evain  <jbevain@novell.com>

* ExpressionInterpreter.cs
* Interpreter.cs
* Conversion.cs
* ExpressionValidator.cs
* Math.cs:
Integrate changes from db4objects, Inc. The interpreter now
passes all linq tests.

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

15 years ago* xpidl2cs.pl: whitespace clean up
Andreia Gaita [Tue, 23 Sep 2008 06:34:26 +0000 (06:34 -0000)]
* xpidl2cs.pl: whitespace clean up

2008-09-23  Andreia Gaita <avidigal@novell.com>

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

15 years ago2008-09-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 23 Sep 2008 05:34:32 +0000 (05:34 -0000)]
2008-09-23  Zoltan Varga  <vargaz@gmail.com>

* mini.h regalloc.h mini-codegen.c: Generalize the regalloc code to allow
multiple register banks in the future.

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

15 years ago2008-09-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 23 Sep 2008 04:22:03 +0000 (04:22 -0000)]
2008-09-23  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_local_regalloc): Fix a warning.

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

15 years agoAdd UIA event in AddInternal () to support accessibility.
Neville Gao [Tue, 23 Sep 2008 02:39:28 +0000 (02:39 -0000)]
Add UIA event in AddInternal () to support accessibility.

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

15 years ago* Mono.Mozilla/interfaces/nsIDOMRGBColor.cs,
Andreia Gaita [Tue, 23 Sep 2008 00:59:14 +0000 (00:59 -0000)]
* Mono.Mozilla/interfaces/nsIDOMRGBColor.cs,
  Mono.Mozilla/interfaces/nsITimer.cs,
  Mono.Mozilla/interfaces/nsIAccessible.cs,
  Mono.Mozilla/interfaces/nsIDOMDOMStringList.cs,
  Mono.Mozilla/interfaces/nsIAccessibleRetrieval.cs,
  Mono.Mozilla/interfaces/nsIAccessibleRelation.cs,
  Mono.Mozilla/interfaces/nsITimerCallback.cs,
  Mono.Mozilla/interfaces/nsIAccessibilityService.cs,
  Mono.Mozilla/interfaces/nsIOutputStream.cs,
  Mono.Mozilla/interfaces/nsIPersistentProperties.cs,
  Mono.Mozilla/interfaces/nsIDOMCSSPrimitiveValue.cs,
  Mono.Mozilla/interfaces/nsIDOMCounter.cs,
  Mono.Mozilla/interfaces/nsIObserver.cs,
  Mono.Mozilla/interfaces/extras/nsIReadSegmentFun.cs,
  Mono.Mozilla/interfaces/extras/nsITimerCallbackDelegate.cs,
  Mono.Mozilla/interfaces/nsIProperties.cs,
  Mono.Mozilla/interfaces/nsIDOMRect.cs,
  Mono.Mozilla/interfaces/nsIAccessNode.cs,
  Mono.Mozilla/interfaces/nsIArray.cs,
  Mono.Mozilla/interfaces/nsIAccessibleDocument.cs,
  Mono.WebBrowser.dll.sources, Mono.WebBrowser2K5.csproj: Added
  Accessibility interfaces

2008-09-23  Andreia Gaita <avidigal@novell.com>

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

15 years ago* xpidl2cs.pl: fix parameter duplication. Add more type conversions
Andreia Gaita [Tue, 23 Sep 2008 00:53:24 +0000 (00:53 -0000)]
* xpidl2cs.pl: fix parameter duplication. Add more type conversions

2008-09-23  Andreia Gaita <avidigal@novell.com>

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

15 years agoThanks Geoff\!
Miguel de Icaza [Mon, 22 Sep 2008 22:18:38 +0000 (22:18 -0000)]
Thanks Geoff\!

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

15 years agoIn .:
Rodrigo Kumpera [Mon, 22 Sep 2008 22:12:46 +0000 (22:12 -0000)]
In .:
2008-09-22  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c (type_to_eval_stack_type): Remove duplicated function.

* method-to-ir.c (type_to_eval_stack_type): Make this version compatible with both JIT.

* mini.h: Export type_to_eval_stack_type.

This function was nearly duplicated in method-to-ir.c and mini.c. The difference
is only ins->klass of byref types.

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

15 years ago* xpidl2cs.pl: fix infinite loop for generate_dependents, conflict
Andreia Gaita [Mon, 22 Sep 2008 20:53:22 +0000 (20:53 -0000)]
* xpidl2cs.pl: fix infinite loop for generate_dependents, conflict
  between global variable $file and local one. Add some more prints
  for debugging purposes.

2008-09-22  Andreia Gaita <avidigal@novell.com>

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

15 years agoNew tests.
Marek Safar [Mon, 22 Sep 2008 16:06:08 +0000 (16:06 -0000)]
New tests.

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

15 years ago2008-09-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 22 Sep 2008 16:03:16 +0000 (16:03 -0000)]
2008-09-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #324917
* cs-parser.jay: Add missing multidimensional non-expression type
ranks.

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

15 years agoMon Sep 22 17:33:12 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 22 Sep 2008 15:35:39 +0000 (15:35 -0000)]
Mon Sep 22 17:33:12 CEST 2008 Paolo Molaro <lupus@ximian.com>

* domain.c, monitor.c, boehm-gc.c, gc.c: update some of the GC and
loader-related counters.

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

15 years agoMon Sep 22 17:29:54 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 22 Sep 2008 15:33:12 +0000 (15:33 -0000)]
Mon Sep 22 17:29:54 CEST 2008 Paolo Molaro <lupus@ximian.com>

* mono-perfcounters-def.h, mono-perfcounters.c, class-internals.h:
added more MS-compatible counters.

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

15 years ago2008-09-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 22 Sep 2008 15:17:01 +0000 (15:17 -0000)]
2008-09-22  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mini_emit_memset): Use a default alignment of 4.
(mini_emit_memcpy2): Ditto.

* mini-amd64.c: Fix a warning.

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

15 years ago2008-09-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 22 Sep 2008 14:50:13 +0000 (14:50 -0000)]
2008-09-22  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Set Text to "" instead of null in Clear().
[Fixes bug #428107]

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

15 years ago2008-09-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 22 Sep 2008 14:08:48 +0000 (14:08 -0000)]
2008-09-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Don't do anything when EnsureVisible is called inside a
BeginUpdate/EndUpdate block.
Fixes #425049.

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

15 years agoadd Mono.Security to the list of core assemblies
Jb Evain [Mon, 22 Sep 2008 13:47:09 +0000 (13:47 -0000)]
add Mono.Security to the list of core assemblies

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

15 years ago2008-09-22 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 22 Sep 2008 13:11:01 +0000 (13:11 -0000)]
2008-09-22  Jb Evain  <jbevain@novell.com>

* TypeBinaryExpression.cs: protect against testing void expressions.
Fixes bug #428309.

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

15 years ago2008-09-22 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 22 Sep 2008 13:10:18 +0000 (13:10 -0000)]
2008-09-22  Jb Evain  <jbevain@novell.com>

* ExpressionTest_TypeIs.cs: add test for bug #428309.

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

15 years ago2008-09-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 22 Sep 2008 12:44:59 +0000 (12:44 -0000)]
2008-09-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItemTest.cs: New test for public ctor of
ListViewSubItemCollection.

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

15 years agoNew tests.
Marek Safar [Mon, 22 Sep 2008 12:35:16 +0000 (12:35 -0000)]
New tests.

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

15 years ago2008-09-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 22 Sep 2008 12:34:49 +0000 (12:34 -0000)]
2008-09-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #428191
* anonymous.cs: Create an outer generic fields also for non-storey
anonymous methods.

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

15 years ago2008-09-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 22 Sep 2008 11:00:49 +0000 (11:00 -0000)]
2008-09-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: The semantics for the public .ctor of
ListViewSubItemCollection need us to already have a Text value for the
item, which in our implementation have as available *after* adding the
first sub item. So create an internal .ctor that satisfies our needs
and let the public .ctor have the same semantics as .net.
Fixes #427561.

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

15 years agoNew tests, and fixed buffer mcs -> gmcs switch.
Marek Safar [Mon, 22 Sep 2008 10:57:33 +0000 (10:57 -0000)]
New tests, and fixed buffer mcs -> gmcs switch.

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

15 years agoNew tests
Marek Safar [Mon, 22 Sep 2008 10:54:53 +0000 (10:54 -0000)]
New tests

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

15 years ago2008-09-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 22 Sep 2008 10:47:36 +0000 (10:47 -0000)]
2008-09-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #378294
* class.cs: Make fixed size buffers gmcs feature only.

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

15 years agoNew tests.
Marek Safar [Mon, 22 Sep 2008 10:23:19 +0000 (10:23 -0000)]
New tests.

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

15 years ago2008-09-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 22 Sep 2008 10:21:52 +0000 (10:21 -0000)]
2008-09-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #355622, #324993
* assign.cs, const.cs, class.cs: Create new EmitContext for each
field initializer.

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

15 years agoFlush
Marek Safar [Mon, 22 Sep 2008 09:13:52 +0000 (09:13 -0000)]
Flush

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

15 years ago* scripts/patch-quiet.sh: Skip Makefiles that've already been patched.
Raja R Harinath [Mon, 22 Sep 2008 08:42:13 +0000 (08:42 -0000)]
* scripts/patch-quiet.sh: Skip Makefiles that've already been patched.

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

15 years ago2008-09-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 22 Sep 2008 06:23:20 +0000 (06:23 -0000)]
2008-09-22  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_setup_fields): Call setup_fields before accessing
class->blittable. Fixes #428217.

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

15 years ago2008-09-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 21 Sep 2008 20:30:48 +0000 (20:30 -0000)]
2008-09-21  Miguel de Icaza  <miguel@novell.com>

* csharplib/Makefile: Add a setup to build GMCS as a GAC assembly
called `csharplib' with only the public classes that we want
exposed: Mono.CSharp.Evaluator, Mono.CSharp.InteractiveBase and
Mono.CSharp.InteractiveBase+Simple

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

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

* reflection.c (mono_image_get_field_on_inst_token): Call
field_encode_signature () since that handles custom modifiers too.
Fixes #424663.

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

15 years ago2008-09-21 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sun, 21 Sep 2008 14:58:32 +0000 (14:58 -0000)]
2008-09-21  Mark Probst  <mark.probst@gmail.com>

* exceptions-ppc.c (mono_arch_get_call_filter): Fixed stack frame
linking.

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

15 years ago2008-09-21 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sun, 21 Sep 2008 10:14:01 +0000 (10:14 -0000)]
2008-09-21  Mark Probst  <mark.probst@gmail.com>

* exception17.cs: New test case for throwing an exception from
within a finally block.

* Makefile.am: Test added.

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

15 years agoSimplification of if-else part
Veerapuram Varadhan [Sat, 20 Sep 2008 18:54:17 +0000 (18:54 -0000)]
Simplification of if-else part

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

15 years agoHandle no brackets scenario
Veerapuram Varadhan [Sat, 20 Sep 2008 18:08:20 +0000 (18:08 -0000)]
Handle no brackets scenario

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

15 years ago2008-09-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 20 Sep 2008 15:34:22 +0000 (15:34 -0000)]
2008-09-20  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (add_custom_modifiers): New helper function to merge custom
modifiers stored in objects to a MonoType.
(fieldref_encode_signature): Encode custom modifiers.
(mono_image_get_generic_field_token): Call add_custom_modifiers ().
(fieldbuilder_to_mono_class_field): Ditto. Fixes #424663.

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

15 years ago* PerformanceCounter.cs:
Gert Driesen [Sat, 20 Sep 2008 11:44:57 +0000 (11:44 -0000)]
* PerformanceCounter.cs:
* Stopwatch.cs:
* TraceImpl.cs: Fixed line endings.

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

15 years ago* DiagnosticsConfigurationHandler.cs (AddTraceAttributes): Avoid
Gert Driesen [Sat, 20 Sep 2008 11:41:12 +0000 (11:41 -0000)]
* DiagnosticsConfigurationHandler.cs (AddTraceAttributes): Avoid
wrapping configuration errors thrown during initialization of
TraceImpl. Fixed line endings.

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

15 years agocoree.c (_CorValidateImage): Some 64-bit IL only images have entry point calling...
Kornél Pál [Sat, 20 Sep 2008 06:55:33 +0000 (06:55 -0000)]
coree.c (_CorValidateImage): Some 64-bit IL only images have entry point calling _CorDllMain imported from mscoree.dll. Set entry point RVA to 0 for 64-bit IL only images because imports are not resolved for IL only images. Special thanks to Bill Holmes for finding this bug and testing the patch. Also fail for 64-bit images marked as CLI_FLAGS_32BITREQUIRED.

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

15 years ago2008-09-19 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Sat, 20 Sep 2008 01:53:59 +0000 (01:53 -0000)]
2008-09-19 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* WebConnectionStream.cs: when receiving a 0 content-length, free up
the slot for the next request immediately.
Fixes bug #427974.

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

15 years ago2008-09-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 19 Sep 2008 22:41:46 +0000 (22:41 -0000)]
2008-09-20  Marek Habersack  <mhabersack@novell.com>

* JsonDeserializer.cs: added support for stand-alone NaN, Infinity
and -Infinity values, as well as the same within an array.

2008-09-20  Marek Habersack  <mhabersack@novell.com>

* JavaScriptSerializerTest.cs: added some tests

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

15 years ago2008-09-19 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Fri, 19 Sep 2008 22:18:21 +0000 (22:18 -0000)]
2008-09-19  Jeffrey Stedfast  <fejj@novell.com>

* HttpServerChannelTests.cs: More unit tests for
HttpServerChannel.

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

15 years ago2008-09-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 19 Sep 2008 21:13:55 +0000 (21:13 -0000)]
2008-09-19  Marek Habersack  <mhabersack@novell.com>

* Json.cs: added new Serialize overload which takes a TextWriter
for its output parameter.
Added Deserialize methods.

* JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
Added new Serialize overload which takes a TextWriter for its
output parameter.
Added WriteValue overloads for float and double - they must not be
converted to strings as IConvertibles because their Max/MinValue
end up converted incorrectly.

* JavaScriptSerializer.cs: adjustments for the new JSON
(de)serializer.

* JsonDeserializer.cs: new JSON deserializer code, fully compliant
with the .NET AJAX one.

2008-09-19  Marek Habersack  <mhabersack@novell.com>

* JavaScriptSerializerTest.cs: enabled some tests which were
failing with the old (de)serializer, but work with the new one.

2008-09-19  Marek Habersack  <mhabersack@novell.com>

* System.Web.Extensions.dll.sources: removed most of the
Newtonsoft JSON code, leaving only ReflectionUtils and
JavaScriptUtils.

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

15 years agoIn .:
Rodrigo Kumpera [Fri, 19 Sep 2008 20:38:20 +0000 (20:38 -0000)]
In .:
2008-09-19  Rodrigo Kumpera  <rkumpera@novell.com>

* method-to-ir.c: Extract stloc micro-optimization to a
function and apply it to all cases.

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

15 years ago2008-09-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 19 Sep 2008 20:21:12 +0000 (20:21 -0000)]
2008-09-19  Miguel de Icaza  <miguel@novell.com>

* WaitHandle.cs (WaitOne): Add new 3.5 SP1 overload.

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

15 years agoAdd
Miguel de Icaza [Fri, 19 Sep 2008 20:14:24 +0000 (20:14 -0000)]
Add

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

15 years agoSupport older Automakes, as reported by Mark, having forward slashes on the list...
Miguel de Icaza [Fri, 19 Sep 2008 20:14:18 +0000 (20:14 -0000)]
Support older Automakes, as reported by Mark, having forward slashes on the list of SUBDIRS fails with old versions

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

15 years agoUp
Miguel de Icaza [Fri, 19 Sep 2008 20:13:33 +0000 (20:13 -0000)]
Up

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

15 years agoUp
Miguel de Icaza [Fri, 19 Sep 2008 20:13:28 +0000 (20:13 -0000)]
Up

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

15 years ago2008-09-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 19 Sep 2008 18:22:06 +0000 (18:22 -0000)]
2008-09-19  Marek Safar  <marek.safar@gmail.com>

A fix for bug #423791
* generic.cs: Fixed params output type type-inference.

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

15 years ago2008-09-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 19 Sep 2008 18:19:43 +0000 (18:19 -0000)]
2008-09-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingTest.cs: New test for data source looking for a data source
property with a *specific* value type, more specific than just the
property type.

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

15 years ago2008-09-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Sep 2008 18:06:38 +0000 (18:06 -0000)]
2008-09-19  Atsushi Enomoto  <atsushi@ximian.com>

        * ja.po : ongoing work.

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

15 years agoRemoved double spaces
Marek Safar [Fri, 19 Sep 2008 17:39:44 +0000 (17:39 -0000)]
Removed double spaces

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

15 years ago2008-09-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 19 Sep 2008 17:29:56 +0000 (17:29 -0000)]
2008-09-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControlTest.cs: New test for testing that FormattingEnabled,
FormatString and FormatInfo property changes *actually* cause a call
to RefreshItems.

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

15 years agoGet a few more in
Miguel de Icaza [Fri, 19 Sep 2008 17:29:16 +0000 (17:29 -0000)]
Get a few more in

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

15 years agoFriendly localizable string
Miguel de Icaza [Fri, 19 Sep 2008 17:25:13 +0000 (17:25 -0000)]
Friendly localizable string

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

15 years ago2008-09-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 19 Sep 2008 17:21:08 +0000 (17:21 -0000)]
2008-09-19  Marek Safar  <marek.safar@gmail.com>

* nullable.cs, expression.cs, namespace.cs, delegate.cs: Duplicate
error reporting.

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

15 years agoChanged from bits to wordsize, as suggested by Paolo
Miguel de Icaza [Fri, 19 Sep 2008 17:20:21 +0000 (17:20 -0000)]
Changed from bits to wordsize, as suggested by Paolo

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

15 years ago2008-09-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 19 Sep 2008 17:19:18 +0000 (17:19 -0000)]
2008-09-19  Miguel de Icaza  <miguel@novell.com>

* mono-config.c (dllmap_start): Add support for the bits keyword
on dllentry and dllmap to easily detect 32 vs 64 bit systems.

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

15 years ago2008-09-19 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 19 Sep 2008 16:50:47 +0000 (16:50 -0000)]
2008-09-19  Mark Probst  <mark.probst@gmail.com>

* reflection.c (inflate_mono_method): When the class the method is
to be inflated for is itself not inflated, just return the method.

2008-09-19  Mark Probst  <mark.probst@gmail.com>

* generic-type-builder.2.cs: Test case for a generic sharing issue
with dynamic methods.

* Makefile.am: Test added.

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

15 years ago2008-09-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 19 Sep 2008 16:10:25 +0000 (16:10 -0000)]
2008-09-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: Changes in Formatting related values should call
RefreshItems, as .net does.
* ComboBox.cs:
* ListBox.cs: In the respective overrides of RefreshItems calculate
layout as well as refreshing - again, this is what .net does.
Fixes #426168.

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

15 years ago2008-09-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Sep 2008 15:45:37 +0000 (15:45 -0000)]
2008-09-19  Atsushi Enomoto  <atsushi@ximian.com>

        * ja.po : new.
        * LINGUAS : added ja.

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

15 years agoNew tests.
Marek Safar [Fri, 19 Sep 2008 15:22:30 +0000 (15:22 -0000)]
New tests.

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