mono.git
15 years ago2009-04-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 4 Apr 2009 19:53:26 +0000 (19:53 -0000)]
2009-04-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* AssemblyResourceLoader.cs: MS sets cacheability to public. Add
Last-Modified header and return 304 if validating max-age=0 or
If-Modified-Since succeeds.

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

15 years ago2009-04-03 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 3 Apr 2009 23:26:35 +0000 (23:26 -0000)]
2009-04-03  Miguel de Icaza  <miguel@novell.com>

* mono-filemap.c: Move mono_file_unmap for the not-mmap case to
the mono-filemap.c file so it can be plugged in platform-specific
code as well.

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

15 years ago2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 3 Apr 2009 22:27:03 +0000 (22:27 -0000)]
2009-04-03 Rodrigo Kumpera  <rkumpera@novell.com>

* gen-md-tests.c: Fix table offset calculation.

* cli-tables-tests.md: Add more tests for the module table.

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

15 years ago2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 3 Apr 2009 22:26:50 +0000 (22:26 -0000)]
2009-04-03 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the modules table.

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

15 years ago2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 3 Apr 2009 22:26:38 +0000 (22:26 -0000)]
2009-04-03 Rodrigo Kumpera  <rkumpera@novell.com>

* strenc.h:
* strenc.c: Add mono_utf8_validate_and_len_with_bounds.

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

15 years ago2009-04-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Apr 2009 22:24:29 +0000 (22:24 -0000)]
2009-04-04  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (AM_CXXFLAGS): Add GLIB_CFLAGS to this.

* mini-llvm-cpp.h: New header file for mini-llvm-cpp.cpp.

* mini-llvm.c: Remove unused fields from EmitContext, fix memory leaks.

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

15 years ago2009-04-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Apr 2009 22:24:16 +0000 (22:24 -0000)]
2009-04-04  Zoltan Varga  <vargaz@gmail.com>

* ssa.c (mono_ssa_compute): Fix some memory leaks.

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

15 years agooops
Andrés G. Aragoneses [Fri, 3 Apr 2009 21:55:50 +0000 (21:55 -0000)]
oops

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

15 years ago2009-04-03 Andrés G. Aragoneses <aaragoneses@novell.com>
Andrés G. Aragoneses [Fri, 3 Apr 2009 21:42:37 +0000 (21:42 -0000)]
2009-04-03  Andrés G. Aragoneses  <aaragoneses@novell.com>

* monolinker.1: Document -m modifier.

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

15 years ago2009-04-03 Andrés G. Aragoneses <aaragoneses@novell.com>
Andrés G. Aragoneses [Fri, 3 Apr 2009 21:15:08 +0000 (21:15 -0000)]
2009-04-03  Andrés G. Aragoneses  <aaragoneses@novell.com>

* Mono.Tuner/InjectSecurityAttributes.cs: Show a warning
when the secattr file is not found.

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

15 years ago* HttpRuntime.cs: Avoid ANE on Windows when HttpRuntime is used
Gert Driesen [Fri, 3 Apr 2009 19:37:23 +0000 (19:37 -0000)]
* HttpRuntime.cs: Avoid ANE on Windows when HttpRuntime is used
outside of ASP.NET. Fixed compiler warning by setting
assemblyMappingEnabled.

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

15 years ago2009-04-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Apr 2009 17:35:11 +0000 (17:35 -0000)]
2009-04-03  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDocumentFormatter.cs
  Workspace.cs
  AtomPub10ServiceDocumentFormatter.cs
  ResourceCollectionInfo.cs
  CategoriesDocument.cs
  ServiceDocument.cs : ongoing implementation.

* System.ServiceModel.Web_test.dll.sources : added
  ServiceDocumentTest and AtomPub10ServiceDocumentFormatterTest.

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

15 years ago2009-04-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 3 Apr 2009 16:38:25 +0000 (16:38 -0000)]
2009-04-03  Marek Habersack  <mhabersack@novell.com>

* LogicalTypeInfo.cs: don't throw NREX when the passed type
doesn't have a parameterless constructor in
ShouldGenerateScript. Fixes bug #485435

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

15 years ago2009-04-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 3 Apr 2009 16:02:03 +0000 (16:02 -0000)]
2009-04-03  Marek Habersack  <mhabersack@novell.com>

* WebUIValidation_2.0.js: CustomValidatorEvaluateIsValid calls the
client-side evaluation function even if ControlToValidate is not
set. Fixes bug #485458

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

15 years ago2009-04-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 3 Apr 2009 14:49:12 +0000 (14:49 -0000)]
2009-04-03  Marek Habersack  <mhabersack@novell.com>

* SessionSQLServerHandler.cs: recreate connection after database
became unavailable but the session handler is still alive. Fixes
bug #491508. Patch from Hubert Fongarnand
<informatique.internet@fiducial.fr>, thanks!

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

15 years ago2009-04-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 3 Apr 2009 14:34:36 +0000 (14:34 -0000)]
2009-04-03  Marek Habersack  <mhabersack@novell.com>

* AspParser.cs: local copy of checksum generated by the tokenizer
is made right after parsing is done.

* AspGenerator.cs: set tparser.MD5Checksum in Parse instead of in
InitParser. Avoids empty checksums in #pragma checksum.

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

15 years ago2009-04-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Apr 2009 14:16:58 +0000 (14:16 -0000)]
2009-04-03  Zoltan Varga  <vargaz@gmail.com>

* mini.c mini-amd64.c method-to-ir.c: Use COMPILE_LLVM in a few more places.

* mini-llvm.c: Update comments.

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

15 years ago2009-04-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Apr 2009 14:06:27 +0000 (14:06 -0000)]
2009-04-03  Zoltan Varga  <vargaz@gmail.com>

* mini.h (COMPILE_LLVM): New macro.

* decompose.c (mono_decompose_opcode): Use the COMPILE_LLVM macro.

* ssa.c (mono_ssa_compute): Ditto.

* unwind.c (mono_unwind_get_ops_from_fde): New helper function to extract
the unwind ops from a DWARF FDE.

* mini-llvm.c: Implement generation of unwind info for LLVM compiled
methods by extracting the dwarf unwind ops from the unwind info generated
by LLVM.

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

15 years ago2009-04-03 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 3 Apr 2009 10:58:05 +0000 (10:58 -0000)]
2009-04-03  Jb Evain  <jbevain@novell.com>

* EnumerableTest.cs: test for bug 491841.

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

15 years ago2009-04-03 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 3 Apr 2009 10:48:28 +0000 (10:48 -0000)]
2009-04-03  Jb Evain  <jbevain@novell.com>

* Enumerable.cs (Cast): fix for when casted enumerator is already
of the appropriate type.

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

15 years ago2009-04-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Apr 2009 09:59:44 +0000 (09:59 -0000)]
2009-04-03  Zoltan Varga  <vargaz@gmail.com>

* scripts/patch-quiet.sh: Process LTCXXCOMPILE too.

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

15 years agoadd MIT lines.
Atsushi Eno [Fri, 3 Apr 2009 09:23:11 +0000 (09:23 -0000)]
add MIT lines.

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

15 years ago2009-04-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Apr 2009 08:20:01 +0000 (08:20 -0000)]
2009-04-03  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDocumentFormatter.cs
  InlineCategoriesDocument.cs
  AtomPub10ServiceDocumentFormatter_1.cs
  Workspace.cs
  AtomPub10CategoriesDocumentFormatter.cs
  ReferencedCategoriesDocument.cs
  CategoriesDocumentFormatter.cs
  AtomPub10ServiceDocumentFormatter.cs
  ResourceCollectionInfo.cs
  CategoriesDocument.cs
  ServiceDocument.cs : stubs (new in 3.5 SP1).

* System.ServiceModel.Web.dll.sources : added 3.5 SP1 atompp stuff.

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

15 years agoXDocumentType SYSTEMID fix
Federico Di Gregorio [Fri, 3 Apr 2009 07:37:19 +0000 (07:37 -0000)]
XDocumentType SYSTEMID fix

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

15 years agooos, forgot a part of the patch
Jb Evain [Fri, 3 Apr 2009 07:21:25 +0000 (07:21 -0000)]
oos, forgot a part of the patch

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

15 years ago2009-04-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Apr 2009 04:15:18 +0000 (04:15 -0000)]
2009-04-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControl.cs: When removing a tab that was previously selected, set
internally the value of selected_index to -1, to avoid trying to
access the previous one when trying to set the new one (and was
already removed from the collection). This is what .net seems to do
too.
Fixes #490937.

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

15 years ago2009-04-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 22:37:48 +0000 (22:37 -0000)]
2009-04-03  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Enable support for non-IMT virtual
calls.

* mini-amd64.c (mono_arch_get_vcall_slot): Handle more kinds of the SIB
addressing modes.

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

15 years ago2009-04-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 22:37:35 +0000 (22:37 -0000)]
2009-04-03  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h: Add macros for decoding the SIB byte.

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

15 years ago2009-04-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 2 Apr 2009 22:35:28 +0000 (22:35 -0000)]
2009-04-03  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationManager.cs: added code in the static constructor
to enable retrieving application settings via
ApplicationSettingsBase from within asp.net applications. Fixes
bug #491531

* ApplicationSettingsConfigurationFileMap.cs: added.

2009-04-03  Marek Habersack  <mhabersack@novell.com>

* CustomizableFileSettingsProvider.cs: added a way for System.Web
to specify path to the current Web.config. Fixes bug #491531

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

15 years ago2009-04-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Apr 2009 22:30:20 +0000 (22:30 -0000)]
2009-04-03  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Metadata/BlobHeap.cs
* Mono.Cecil.Metadata/MetadataWriter.cs:
do a better job at emitting a blob heap.

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

15 years ago2009-04-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 2 Apr 2009 20:44:03 +0000 (20:44 -0000)]
2009-04-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ClipboardTest.cs: New rrich text format test, and also re-name the
previous test to be a little more informative. Also clear the data
we have put in the clipboard before returning.

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

15 years ago2009-04-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 2 Apr 2009 20:40:48 +0000 (20:40 -0000)]
2009-04-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* XplatUIX11.cs, X11Clipboard.cs: Text and Rtf formats must be
separated, and we cannot fallback on Text if Rtf is requested but not
present.
* Clipboard.cs: Actually use the format specified by our user when
putting data.

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

15 years ago2009-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 19:56:47 +0000 (19:56 -0000)]
2009-04-02  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (llvm_sources): Enable this.

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

15 years ago2009-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 19:56:40 +0000 (19:56 -0000)]
2009-04-02  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Move the call to AC_PROG_CXX earlier and enable it again.

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

15 years ago2009-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 19:15:30 +0000 (19:15 -0000)]
2009-04-02  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Disable the call to AC_PROG_CXX for now.

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

15 years ago2009-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 19:06:12 +0000 (19:06 -0000)]
2009-04-02  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_method_compile): Add support for compiling with LLVM,
failing back to the JIT if something cannot be handled.

* mini-amd64.c (mono_arch_emit_call): Emit the arguments more simple when
compiling with LLVM.

* decompose.c (mono_decompose_opcode): Avoid decomposing some opcodes when
compiling with LLVM.

* method-to-ir.c (mono_method_to_ir): Avoid decomposing SWITCH when
compiling with LLVM.

* mini-ops.h: Add a few opcodes needed by LLVM.

* dwarfwriter.c (mono_dwarf_writer_emit_method): Avoid crashes if the method
has no unwind info.

* mini-llvm.c mini-llvm-cpp.cpp: New files containing the experimental llvm
backend.

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

15 years ago2009-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 19:06:05 +0000 (19:06 -0000)]
2009-04-02  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add an ENABLE_LLVM autoconf define.

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

15 years ago2009-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 19:05:58 +0000 (19:05 -0000)]
2009-04-02  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add --enable-llvm argument to enable the experimental
LLVM back end.

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

15 years ago2009-04-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 2 Apr 2009 18:59:04 +0000 (18:59 -0000)]
2009-04-02  Marek Habersack  <mhabersack@novell.com>

* data/Makefile.am: added system.web.mvc.pc{.in}

* configure.in: added data/system.web.mvc.pc to AC_OUTPUT

* data/system.web.mvc.pc.in: added

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

15 years agooptimize a bit the fix to avoid double checking
Jb Evain [Thu, 2 Apr 2009 17:39:17 +0000 (17:39 -0000)]
optimize a bit the fix to avoid double checking

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

15 years ago2009-04-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Apr 2009 17:33:53 +0000 (17:33 -0000)]
2009-04-02  Jb Evain  <jbevain@novell.com>

* DictionaryTest.cs: add test for bug #328036.

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

15 years ago2009-04-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Apr 2009 17:33:12 +0000 (17:33 -0000)]
2009-04-02  Jb Evain  <jbevain@novell.com>

* Dictionary.cs (ValueCollection.CopyTo): fix for copying to
an object array. Based on a patch by Tobias Grimm <mono@e-tobi.net>.
Fixes bug #328036.

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

15 years ago2009-04-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 2 Apr 2009 15:47:39 +0000 (15:47 -0000)]
2009-04-02  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: allow System.Runtime.Serialization to see
mscorlib's internals. Fix Encoding.get_CodeBase (and likely
others too)

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

15 years ago2009-04-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 2 Apr 2009 15:25:03 +0000 (15:25 -0000)]
2009-04-02  Marek Habersack  <mhabersack@novell.com>

* CompilationException.cs: skip warnings in ErrorMessage and
ErrorLines

* BuildManager.cs: when an error occurs while compiling the
requested virtual path, throw the exception, do not attempt to
build again.

* TemplateControlCompiler.cs: implemented missing converter for
the ExpandDepth property. Fixes bug #490860

2009-04-02  Marek Habersack  <mhabersack@novell.com>

* HttpException.cs: if there are more lines with errors, display
them all.

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

15 years ago2009-04-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 2 Apr 2009 14:53:40 +0000 (14:53 -0000)]
2009-04-02 Rodrigo Kumpera  <rkumpera@novell.com>

        * valid_candidate_contraint_is_inflated_using_global_context.cs:
        New test for cases where the candidate constraint type refers to the
        global generic context.

        We have to use it because it might be the case the the global context
        has more arguments than the local one.

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

15 years ago2009-04-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 2 Apr 2009 14:53:28 +0000 (14:53 -0000)]
2009-04-02 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_generic_param_is_constraint_compatible): Inflate the candidate
using the context of the method been verifier and not of the method been called.

* verify.c: Add verifier_inflate_type and mono_type_is_valid_type_in_context to
safely inflate generic types.

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

15 years agoUnbreak the build
Marek Habersack [Thu, 2 Apr 2009 14:17:17 +0000 (14:17 -0000)]
Unbreak the build

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

15 years ago2009-04-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 2 Apr 2009 13:53:49 +0000 (13:53 -0000)]
2009-04-02  Marek Habersack  <mhabersack@novell.com>

* Initial import of ASP.NET MVC 1.0

2009-04-02  Marek Habersack  <mhabersack@novell.com>

* AssemblyInfo.cs: added Mono specific attributes to delay-sign
the assembly with the winfx.pub key.

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

15 years agoImport of the original ASP.NET MVC sources v1.0
Marek Habersack [Thu, 2 Apr 2009 13:52:18 +0000 (13:52 -0000)]
Import of the original ASP.NET MVC sources v1.0

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

15 years ago2009-04-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 2 Apr 2009 13:03:51 +0000 (13:03 -0000)]
2009-04-02  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c: Change the strategy for checking the
"reflection using delegates optimization" to avoid unneeded
attributes in multiple class libraries.

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

15 years ago2009-04-02 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 2 Apr 2009 12:05:54 +0000 (12:05 -0000)]
2009-04-02  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Remove object element in the disappearing link
        struct by storing the object pointer in the link.

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

15 years ago2009-04-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Apr 2009 09:58:04 +0000 (09:58 -0000)]
2009-04-02  Atsushi Enomoto  <atsushi@ximian.com>

* XmlMtomDictionaryWriter.cs : new.
* XmlDictionaryWriter.cs : implement CreateMtomWriter().

* XmlMtomDictionaryWriterTest.cs : new.

* System.Runtime.Serialization.dll.sources : added mtom writer.
* System.Runtime.Serialization_test.dll.sources : added mtom writer test.

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

15 years ago2009-04-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Apr 2009 08:22:05 +0000 (08:22 -0000)]
2009-04-02  Atsushi Enomoto  <atsushi@ximian.com>

* ContentType.cs : when there are especials, quote parameter values.

* ContentTypeTest.cs : add quotation test for especials.

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

15 years ago2009-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 01:52:50 +0000 (01:52 -0000)]
2009-04-02  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (mono_arch_output_basic_block): Fix the ARM_FPU_NONE build.

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

15 years ago2009-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 00:51:43 +0000 (00:51 -0000)]
2009-04-02  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.h mini-arm.c cpu-arm.md: Finish VFP support.

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

15 years ago2009-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Apr 2009 00:50:47 +0000 (00:50 -0000)]
2009-04-02  Zoltan Varga  <vargaz@gmail.com>

* arm/arm-vfp-codegen.h: Add missing VFP codegen macros.

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

15 years agoAdd guards
Miguel de Icaza [Thu, 2 Apr 2009 00:01:08 +0000 (00:01 -0000)]
Add guards

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

15 years ago2009-04-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 1 Apr 2009 22:31:58 +0000 (22:31 -0000)]
2009-04-02  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: implemented missing converter for
the ExpandDepth property. Fixes bug #490860

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

15 years agoMake vassign members gint32 to fix ridiculously large methods.
Mark Probst [Wed, 1 Apr 2009 20:50:30 +0000 (20:50 -0000)]
Make vassign members gint32 to fix ridiculously large methods.

2009-04-01  Mark Probst  <mark.probst@gmail.com>

* regalloc.h, mini-codegen.c: Make vassign members gint32 to fix
ridiculously large methods.

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

15 years ago2009-04-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Apr 2009 18:22:52 +0000 (18:22 -0000)]
2009-04-01  Atsushi Enomoto  <atsushi@ximian.com>

        * XmlFormatterDeserializer.cs : more hack to handle empty
          element nicely.

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

15 years ago2009-04-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 1 Apr 2009 16:07:02 +0000 (16:07 -0000)]
2009-04-01  Marek Habersack  <mhabersack@novell.com>

* AssemblyBuilder.cs: CSharpCodePragmaGenerator.ReserveSpace:
added the 2 extra chars to pragmaChecksumStaticCount constant (the
ones added by Gonzalo below) and removed one NewLine to account
for Martin's change below.
VBCodePragmaGenerator.ReserveSpace - one newline follows
#ExternalSource.
VBCodePragmaGenerator.DecorateFile - one newline follows
#ExternalSource.

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

15 years agoDon't emit a blank line after '#line' as this would cause all line numbers to be...
Martin Baulig [Wed, 1 Apr 2009 14:39:05 +0000 (14:39 -0000)]
Don't emit a blank line after '#line' as this would cause all line numbers to be off by 1.

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

15 years ago2009-04-01 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 1 Apr 2009 12:32:08 +0000 (12:32 -0000)]
2009-04-01  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ModuleDefinition.cs (Import): add overloads
taking a MethodDefinition as a generic context.

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

15 years ago2009-04-01 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 1 Apr 2009 12:30:19 +0000 (12:30 -0000)]
2009-04-01  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionHelper.cs: throw proper exception
when importing in an invalid context.

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

15 years agowhitespace
Jb Evain [Wed, 1 Apr 2009 12:28:18 +0000 (12:28 -0000)]
whitespace

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

15 years agooops
Jb Evain [Wed, 1 Apr 2009 12:07:38 +0000 (12:07 -0000)]
oops

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

15 years ago2009-04-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Apr 2009 08:28:07 +0000 (08:28 -0000)]
2009-04-01  Atsushi Enomoto  <atsushi@ximian.com>

        * XmlDictionaryReader.cs : add ReadStartElement() overload.

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

15 years ago2009-04-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Apr 2009 08:11:07 +0000 (08:11 -0000)]
2009-04-01  Atsushi Enomoto  <atsushi@ximian.com>

        * UniqueId.cs : add missing security attributes.
        * XmlDictionaryReader.cs : cleanup extra TODOs.
        * XmlBinaryDictionaryReader.cs : iplement IsArray.

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

15 years ago2009-04-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Apr 2009 05:03:44 +0000 (05:03 -0000)]
2009-04-01  Atsushi Enomoto  <atsushi@ximian.com>

        * OperationInvokeHandler.cs : replace MS copycat exception
          message.

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

15 years ago2009-03-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 1 Apr 2009 03:50:10 +0000 (03:50 -0000)]
2009-03-31 Gonzalo Paniagua Javier <gonzalo@novell.com>

* AssemblyBuilder.cs: the guid has to be quoted.

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

15 years ago2009-03-31 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 31 Mar 2009 21:59:48 +0000 (21:59 -0000)]
2009-03-31  Veerapuram Varadhan  <vvaradhan@novell.com>

* Fixes rest of #480377
* DataContainer.cs (GetContainerData, GetExplicitValue): Added to handle cases
where passed type overloads an explicit operator for conversion of values.

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

15 years ago2009-03-31 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 31 Mar 2009 21:58:38 +0000 (21:58 -0000)]
2009-03-31  Veerapuram Varadhan  <vvaradhan@novell.com>

* Fixes rest of #480377
* DataContainer.cs (GetContainerData, GetExplicitValue): Added to handle cases
where passed type overloads an explicit operator for conversion of values.

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

15 years ago * Makefile: Remove make warning about overriding dist-local.
Jonathan Pryor [Tue, 31 Mar 2009 20:05:31 +0000 (20:05 -0000)]
* Makefile: Remove make warning about overriding dist-local.

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

15 years ago2009-03-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 31 Mar 2009 19:11:46 +0000 (19:11 -0000)]
2009-03-13  Atsushi Enomoto  <atsushi@ximian.com>

        * ClientRuntimeChannel.cs : do not bork at some unimplemented
          bits.

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

15 years ago2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 31 Mar 2009 19:03:40 +0000 (19:03 -0000)]
2009-03-31 Rodrigo Kumpera  <rkumpera@novell.com>

* pedump.c (dump_verify_info): Don't crash if signature decoding fails.

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

15 years ago2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 31 Mar 2009 19:03:21 +0000 (19:03 -0000)]
2009-03-31 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verifier_load_field): Fail if the field parent could not be loaded.

* verify.c (mono_method_verify): Do proper bounds checking of exception
clause ranges.

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

15 years ago2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 31 Mar 2009 19:03:01 +0000 (19:03 -0000)]
2009-03-31 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_field_from_token): Don't crash if the field parent could
not be decoded.

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

15 years ago2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 31 Mar 2009 19:02:42 +0000 (19:02 -0000)]
2009-03-31 Rodrigo Kumpera  <rkumpera@novell.com>

* invalid_catch_block_out_of_bounds.il
* invalid_try_block_out_of_bounds.il: Tests for proper bounds
check of exception clauses.

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

15 years ago2009-03-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 31 Mar 2009 18:47:53 +0000 (18:47 -0000)]
2009-03-31  Marek Habersack  <mhabersack@novell.com>

* Page.cs: SavePageViewState saves the list of controls which
require post back regardless of whether view state is disabled or
not. Fixes bug #490753

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

15 years ago2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 31 Mar 2009 18:32:36 +0000 (18:32 -0000)]
2009-03-31  Rodrigo Kumpera  <rkumpera@novell.com>

* MethodDef.cs (WriteCode): Emit labels which use offsets as absolute PEAPI
CilLabels.

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

15 years ago2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 31 Mar 2009 18:31:56 +0000 (18:31 -0000)]
2009-03-31  Rodrigo Kumpera  <rkumpera@novell.com>

* Code.cs (CILLabel): Add new constructor to signal that
a label is an absolute il offset. This is required by exception
handling declarations that use offsets and not labels.

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

15 years ago2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 31 Mar 2009 18:31:05 +0000 (18:31 -0000)]
2009-03-31  Rodrigo Kumpera  <rkumpera@novell.com>

* ILParser.jay: Fix integer labels in handler blocks.

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

15 years agoChangeLog update
Marek Habersack [Tue, 31 Mar 2009 17:27:49 +0000 (17:27 -0000)]
ChangeLog update

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

15 years ago2009-03-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 31 Mar 2009 17:27:31 +0000 (17:27 -0000)]
2009-03-31  Marek Habersack  <mhabersack@novell.com>

* HttpApplicationFactory.cs: use glob patterns to watch for
changes to global.asax and web.config files.
Set up recursive watch on web.config in a separate thread, to
minimize application startup delay. Fixes bug #490497

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

15 years ago2009-03-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 31 Mar 2009 17:08:56 +0000 (17:08 -0000)]
2009-03-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* X11Clipboard.cs: Actually look for the RtfText format when calling
GetRftText in our clipboard formats list, instead of using the
generical Text format.

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

15 years ago * mdoc-update.1: Fix --out=DIRECTORY formatting. (It was causing the
Jonathan Pryor [Tue, 31 Mar 2009 16:39:07 +0000 (16:39 -0000)]
* mdoc-update.1: Fix --out=DIRECTORY formatting.  (It was causing the
  remaining text to be bolded within monodoc).

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

15 years agoExecute critical finalizers after regular finalizers.
Mark Probst [Tue, 31 Mar 2009 15:55:53 +0000 (15:55 -0000)]
Execute critical finalizers after regular finalizers.

2009-03-31  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Execute critical finalizers after ordinary
        finalizers.

        * class-internals.h, domain.c: Add CriticalFinalizerObject to
        mono_defaults.

2009-03-31  Mark Probst  <mark.probst@gmail.com>

        * critical-finalizers.cs: Test case for critical finalizers.

        * Makefile.am: Test added.

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

15 years ago2009-03-31 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 31 Mar 2009 15:42:07 +0000 (15:42 -0000)]
2009-03-31 Jb Evain <jbevain@novell.com>

* verify.c (do_ldstr): don't check if a string is in the user strings
heap if the current image is dynamic.

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

15 years agoWait for the last finalizer to finish executing for WaitForPendingFinalizers.
Mark Probst [Tue, 31 Mar 2009 15:20:05 +0000 (15:20 -0000)]
Wait for the last finalizer to finish executing for WaitForPendingFinalizers.

2009-03-31  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Wait until the last finalizer has executed when
        returning from WaitForPendingFinalizers.

2009-03-31  Mark Probst  <mark.probst@gmail.com>

        * finalizer-wait.cs: Test case for WaitForPendingFinalizers.

        * Makefile.am: Test added.

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

15 years ago2009-03-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 31 Mar 2009 15:01:57 +0000 (15:01 -0000)]
2009-03-31  Marek Habersack  <mhabersack@novell.com>

* DefaultWsdlHelpGenerator.aspx: the link element in <head> must
be created using Response.Write, as the code expression in the
href attribute is otherwise treated verbatim. This is the same as
with .NET. Fixes bug #490497

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

15 years agoTypo fix
Marek Habersack [Tue, 31 Mar 2009 15:01:34 +0000 (15:01 -0000)]
Typo fix

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

15 years ago2009-03-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 31 Mar 2009 15:01:21 +0000 (15:01 -0000)]
2009-03-31  Marek Habersack  <mhabersack@novell.com>

* All of the below are part of the fix for bug #489687

* ThemeDirectoryCompiler.cs: pass VirtualPath instances to parser
constructors.

* BuildProvider.cs: associated virtual path is stored internally
as an instance of VirtualPath, accessible via new
VirtualPathInternal property.

* BuildManagerDirectoryBuilder.cs: VirtualPath.IsFake is used to
detect fake virtual paths.
GetBuildProvider now takes a VirtualPath instead of string for the
virtualPath parameter. The passed VirtualPath instance is passed
unchanged to BuildProvider.

* BuildManager.cs: AssertVirtualPathExists now uses
VirtualPath.IsFake to check for fake virtual paths.

* ApplicationFileBuildProvider.cs, GenericBuildProvider.cs,
MasterPageBuildProvider.cs, PageBuildProvider.cs,
ThemeBuildProvider.cs, UserControlBuildProvider.cs,
WebHandlerBuildProvider.cs, WebServiceBuildProvider.cs:
CreateParser overloads now take a VirtualPath instead of a string
for the virtualPath parameter.

* ThemeBuildProvider.cs: use new parser constructors which take
VirtualPath instances instead of strings.

2009-03-31  Marek Habersack  <mhabersack@novell.com>

* VirtualPath.cs: added code to detect whether the VirtualPath
instance represents a fake virtual path (IsFake property).
Added new property DirectoryNoNormalize which returns
non-normalized directory for the VirtualPath instance.
Made ToString () a bit more friendly and well-behaved.

2009-03-31  Marek Habersack  <mhabersack@novell.com>

* ApplicationFileParser.cs, MasterPageParser.cs, PageParser.cs,
PageThemeFileParser.cs, PageThemeParser.cs, UserControlParser.cs,
WebHandlerParser.cs, WebServiceParser.cs: 2.0 constructors take a
VirtualPath instance for the virtualPath parameter, instead of a
string.

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

15 years ago2009-03-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 31 Mar 2009 15:01:08 +0000 (15:01 -0000)]
2009-03-30  Marek Habersack  <mhabersack@novell.com>

* AspTokenizer.cs: UpdateChecksum - fixed off-by-one bug when
processing the checksum buffer.

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

15 years agoBump debugger version to 81.2.
Martin Baulig [Tue, 31 Mar 2009 14:25:46 +0000 (14:25 -0000)]
Bump debugger version to 81.2.
2009-03-31  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MONO_DEBUGGER_MINOR_VERSION): Bump to 2.

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

15 years agoNotify the debugger about newly created appdomains and their shadow copy path.
Martin Baulig [Tue, 31 Mar 2009 14:25:30 +0000 (14:25 -0000)]
Notify the debugger about newly created appdomains and their shadow copy path.
2009-03-31  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.h (MonoDebuggerEvent): Add
`MONO_DEBUGGER_EVENT_CREATE_APPDOMAIN' and
`MONO_DEBUGGER_EVENT_UNLOAD_APPDOMAIN'.
(mono_debugger_event_create_appdomain): New function.
(mono_debugger_event_unload_appdomain): New function.

* appdomain.c (mono_domain_create_appdomain_internal): Call
mono_debugger_event_create_appdomain().

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

15 years agoAlso register the class init callback if the class is already initialized to make...
Martin Baulig [Tue, 31 Mar 2009 14:25:16 +0000 (14:25 -0000)]
Also register the class init callback if the class is already initialized to make things work with shadow copied assemblies.
2009-03-31  Martin Baulig  <martin@ximian.com>

* debug-debugger.c (debugger_remove_breakpoint): Call
mono_debugger_remove_class_init_callback ().

2009-03-31  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c
(mono_debugger_register_class_init_callback): Also register the
class init callback if the class is already initialized to make
things work with shadow copied assemblies.

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

15 years ago2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 31 Mar 2009 14:17:05 +0000 (14:17 -0000)]
2009-03-31  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryDictionaryReader.cs, XmlDictionaryWriter.cs :
  a couple of fixes to reflect correct values for node properties
  on each read step.

* XmlBinaryDictionaryReaderTest.cs: make tests more doubtful on
  state.

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

15 years ago2009-03-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 Mar 2009 13:50:51 +0000 (13:50 -0000)]
2009-03-31  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c
(mono_security_core_clr_ensure_reflection_access_field): Let
critical code access the field (just like we do for methods). Use
check_field_access helper.
(mono_security_core_clr_ensure_reflection_access_method): Use
check_field_access helper.

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

15 years agofix build
Gonzalo Paniagua Javier [Tue, 31 Mar 2009 13:35:42 +0000 (13:35 -0000)]
fix build

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

15 years agoRemove data from FinalizeEntry.
Mark Probst [Tue, 31 Mar 2009 13:09:37 +0000 (13:09 -0000)]
Remove data from FinalizeEntry.

2009-03-31  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Remove data (callback) element from FinalizeEntry
        * and
        call the run-finalize function directly.

        * gc.c, gc-internal.h: Make run_finalize() non-static.

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