Commit Graph
27861 Commits
Author SHA1 Message Date
Sebastien Pouliot f0c29b740a 2004-11-15 Sebastien Pouliot <[email protected]>
* declsec.c|h: New files to support declarative security attributes.
	Added function to check if a method has (applicable) security.
	* mini.c|h: Add check for declarative security attributes in
	mono_method_check_inlining.
	* Makefile.am: Added declsec.c and declsec.h to the build.


svn path=/trunk/mono/; revision=36138
2004-11-15 14:56:12 +00:00
Zoltan Varga ff90de0c8d 2004-11-15 Zoltan Varga <[email protected]>
* TypeTest.cs: Add test typeof (IntPtr).IsPrimitive.

svn path=/trunk/mcs/; revision=36134
2004-11-15 12:47:35 +00:00
Zoltan Varga cf01d04df3 2004-11-15 Zoltan Varga <[email protected]>
* icall.c (ves_icall_type_isprimitive): Native int is a primitive type.

svn path=/trunk/mono/; revision=36132
2004-11-15 12:41:04 +00:00
Zoltan Varga a2808e3816 2004-11-15 Zoltan Varga <[email protected]>
* reflection.c (mono_image_create_pefile): Free the assembly streams
	after writing out the assembly file.

svn path=/trunk/mono/; revision=36131
2004-11-15 12:31:09 +00:00
Sebastien Pouliot 4f1dc0b0bf 2004-11-15 Sebastien Pouliot <[email protected]>
* BitConverter.cs: Added support for special case when ToString is 
	called with (new byte [0]).


svn path=/trunk/mcs/; revision=36130
2004-11-15 12:00:49 +00:00
Sebastien Pouliot cd4c471915 2004-11-15 Sebastien Pouliot <[email protected]>
* BitConverter.cs: Added test for (legal) ToString (new byte [0]).


svn path=/trunk/mcs/; revision=36129
2004-11-15 11:57:43 +00:00
Zoltan Varga 631bf7421d 2004-11-15 Zoltan Varga <[email protected]>
* object.c (mono_runtime_run_main): Fix small memory leak.


svn path=/trunk/mono/; revision=36128
2004-11-15 11:47:32 +00:00
Zoltan Varga 0ccb44423d 2004-11-15 Zoltan Varga <[email protected]>
* TypeTest.cs: Add test for bug #69389.

svn path=/trunk/mcs/; revision=36126
2004-11-15 10:19:01 +00:00
Zoltan Varga 4bde6c84a6 2004-11-15 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_GetPropertiesByName): Add support for
	property access modifiers. Fixes #69389.

svn path=/trunk/mono/; revision=36125
2004-11-15 10:01:43 +00:00
Paolo Molaro 9c42106a97 Mon Nov 15 11:53:46 CET 2004 Paolo Molaro <[email protected]>
* mini.c, mini.h: update to keep dynamic code info per-domain.


svn path=/trunk/mono/; revision=36124
2004-11-15 09:31:56 +00:00
Paolo Molaro c27f3b5353 Mon Nov 15 11:54:22 CET 2004 Paolo Molaro <[email protected]>
* domain.c, object.c, object-internals.h, domain-internals.h,
	object.h, marshal.c: keep dynamic code info per domain.


svn path=/trunk/mono/; revision=36123
2004-11-15 09:31:38 +00:00
César Natarén 5e5869a180 2004-11-15 Cesar Lopez Nataren <[email protected]>
* CodeGenerator.cs: factor code for fall_true/fall_false (add
	emit_default_case, ft_binary_recursion, ft_emit_equality,
	ff_emit_relational, ff_binary_recursion). Fix
	trouble with logical ops code generation.	

svn path=/trunk/mcs/; revision=36121
2004-11-15 08:18:18 +00:00
Martin Baulig b699631419 2004-11-15 Martin Baulig <[email protected]>
* class.c (mono_type_get_name_recurse): Put type arguments in
	`[',`]' instead of in `<','>'.  Thanks to Atsushi for the patch,
	see bug #68387.


svn path=/trunk/mono/; revision=36120
2004-11-15 06:00:54 +00:00
Martin Baulig 4fc319af7d New test.
svn path=/trunk/mcs/; revision=36119
2004-11-15 05:28:02 +00:00
Martin Baulig 4b2a7a43f2 Keep the `NO_TEST = yes' in the Makefile for the moment !
svn path=/trunk/mcs/; revision=36118
2004-11-15 05:07:34 +00:00
Martin Baulig dc2b58d6d1 New test.
svn path=/trunk/mcs/; revision=36117
2004-11-15 04:54:00 +00:00
Martin Baulig 28b973bac8 2004-11-15 Martin Baulig <[email protected]>
* class.c (mono_type_get_name_recurse): Added `include_ns' flag.
	(mono_class_setup_vtable): When computing `the_cname' for a
	generic instance, don't include the namespace since we'd otherwise
	add it twice.


svn path=/trunk/mono/; revision=36116
2004-11-15 04:52:23 +00:00
Martin Baulig 9514d2b87e 2004-11-15 Martin Baulig <[email protected]>
* decl.cs (MemberName.GetPartialName): Removed, use GetTypeName() instead.


svn path=/trunk/mcs/; revision=36115
2004-11-15 04:49:07 +00:00
Martin Baulig 8915207a2e Removed some old debugging code.
svn path=/trunk/mcs/; revision=36114
2004-11-15 04:36:28 +00:00
Martin Baulig 7ce2882d57 2004-11-15 Martin Baulig <[email protected]>
* class.c (mono_class_create_generic): Changed return type to void.
	(mono_class_create_generic_2): New public function; setup
	`class->method', `class->field' and `class->interfaces' here
	instead of in mono_class_init().

	* class.h (mono_class_create_generic): Moved to class-internals.h.


svn path=/trunk/mono/; revision=36113
2004-11-15 02:28:32 +00:00
Martin Baulig 67f212c2de 2004-11-15 Martin Baulig <[email protected]>
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Added Mono.C5.


svn path=/trunk/mono/; revision=36112
2004-11-15 02:22:05 +00:00
Geoff Norton 2202d8f95b 2004-11-14 Geoff Norton <[email protected]>
* Mono.Data.SqliteClient/SqliteConnection.cs:  Default to v2 not v3 if version
        isn't specified in the connection string.  Fixes a bug in F-Spot reported by Miguel

svn path=/trunk/mcs/; revision=36111
2004-11-15 00:18:19 +00:00
Martin Baulig d91cda984c 2004-11-15 Martin Baulig <[email protected]>
Importing version 0.5 of C5's test suite, http://www.itu.dk/research/c5/.


svn path=/trunk/mcs/; revision=36110
2004-11-15 00:12:52 +00:00
Ben Maurer 8422e31df9 2004-11-14 Ben Maurer <[email protected]>
* statement.cs: Avoid adding bools to a hashtable.


svn path=/trunk/mcs/; revision=36108
2004-11-14 19:33:47 +00:00
Ben Maurer dc629f251b 2004-11-14 Ben Maurer <[email protected]>
* reflection.c (mono_image_create_pefile): take a file HANDLE.
	rather than writing to memory, write to this file. Right now,
	we are just writting into a buffer, and copying that. However
	we can avoid the buffer later.

	(mono_dynamic_stream_reset): new function

	* icall.c, object-internals.h: update for the above.


svn path=/trunk/mono/; revision=36107
2004-11-14 15:22:40 +00:00
Atsushi Eno d071899d3e 2004-11-14 Atsushi Enomoto <[email protected]>
* XmlWriterTests.cs : Added test for WriteAttributes().


svn path=/trunk/mcs/; revision=36105
2004-11-14 06:35:48 +00:00
Atsushi Eno 93eec5f0dc 2004-11-14 Atsushi Enomoto <[email protected]>
* XPathEditableDocument.cs : WriteStartElement() should not expect
	  that there is an OwnerDocument (current node might be document).



svn path=/trunk/mcs/; revision=36103
2004-11-14 05:44:56 +00:00
Atsushi Eno 866dca5fdd 2004-11-14 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : after WriteAttributes(), argument XmlReader must
	  move to element. This fixes bug #69350.


svn path=/trunk/mcs/; revision=36102
2004-11-14 05:39:35 +00:00
Duncan Mak 0a82c0dbbc Move the configure.in entries back, enough ChangeLog hackery for tonight
svn path=/trunk/mono/; revision=36101
2004-11-14 04:19:37 +00:00
Duncan Mak a53890f1fc Move Jon's ChangeLog entries to the new ChangeLog in mono/support.
svn path=/trunk/mono/; revision=36100
2004-11-14 04:17:18 +00:00
Geoff Norton 54fc76963e Add ChangeLog for support/ specific changes.
Reflect my last commit to mph.h to readd MPH_ON_BSD as unistd.c and sys-mount.c
still check this variable.  This allows mono to build on *BSD again.

svn path=/trunk/mono/; revision=36099
2004-11-14 04:10:30 +00:00
Geoff Norton 4be073b4d8 Revent a small part of jon's BSD configure.in patches.
MPH_ON_BSD still exists in unistd.c and sys-mount.c; this reversion allows mono to compile on *BSD again.


svn path=/trunk/mono/; revision=36098
2004-11-14 04:00:16 +00:00
Ben Maurer 849887388b * reflection.c: Remove *_ATOMIC macros. We really shouldn't
have been using gc'd memory. First it is slower, unlikely
	the comment in the source code said, secondly, it increases
	our footprint to do it in the gc.


svn path=/trunk/mono/; revision=36097
2004-11-14 03:22:57 +00:00
Ben Maurer 3fd2deafaf 2004-11-13 Ben Maurer <[email protected]>
* icall.c (WriteToFile): rename of getDataChunk. Rewrite
	the method so that it does not have to copy to managed code.


svn path=/trunk/mono/; revision=36094
2004-11-14 03:06:55 +00:00
Ben Maurer e973fdd5e6 2004-11-13 Ben Maurer <[email protected]>
* ModuleBuilder.cs (Save): Use new WriteToFile icall.


svn path=/trunk/mcs/; revision=36093
2004-11-14 03:06:33 +00:00
Miguel de Icaza 617df62a2d Update
svn path=/trunk/mono/; revision=36092
2004-11-13 19:26:12 +00:00
Ben Maurer 2c208fbd89 2004-11-12 Ben Maurer <[email protected]>
* transform.c: Fix bug with delegates in interp.


svn path=/trunk/mono/; revision=36082
2004-11-13 00:38:16 +00:00
Miguel de Icaza 0d8993e28d Remove property
svn path=/trunk/mcs/; revision=36077
2004-11-12 22:21:43 +00:00
Miguel de Icaza 4a8f6325d8 Commit
svn path=/trunk/mcs/; revision=36076
2004-11-12 22:19:35 +00:00
Gonzalo Paniagua Javier 73019e455e 2004-11-12 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: added internl SetHeadersSent.
	* HttpRuntime.cs: don't throw the 'headers already sent' exception
	if we're sending a runtime error.


svn path=/trunk/mcs/; revision=36074
2004-11-12 22:05:39 +00:00
Martin Baulig 1e0658178f 2004-11-12 Martin Baulig <[email protected]>
* Makefile (SUBDIRS): Added Mono.C5.


svn path=/trunk/mcs/; revision=36071
2004-11-12 20:26:31 +00:00
Martin Baulig 6a4d5cb818 Ooops, forgot this.
svn path=/trunk/mcs/; revision=36070
2004-11-12 20:24:06 +00:00
Martin Baulig 0095ea1d61 2004-11-12 Martin Baulig <[email protected]>
* Wrappers.cs: Added workaround for #69082.


svn path=/trunk/mcs/; revision=36069
2004-11-12 20:16:22 +00:00
Martin Baulig f422c01dc4 Added a Makefile.
svn path=/trunk/mcs/; revision=36068
2004-11-12 20:13:07 +00:00
Martin Baulig aad0b5caf6 2004-11-12 Martin Baulig <[email protected]>
* linkedlists/LinkedList.cs: Added workaround for bug #57747.


svn path=/trunk/mcs/; revision=36067
2004-11-12 20:10:48 +00:00
César Natarén 3ee2eee39c changelogs
svn path=/trunk/mcs/; revision=36066
2004-11-12 17:46:24 +00:00
César Natarén 4268ab792d Parser.cs, expression.cs: discriminate among =, +=, -=, etc. Add overload for ToJSToken.
svn path=/trunk/mcs/; revision=36065
2004-11-12 17:44:53 +00:00
César Natarén 137b081385 2004-11-12 Cesar Lopez Nataren <[email protected]>
* TypeOf.cs, Plus.cs, Equality.cs:  implementation of
	JScriptTypeOf, EvaluatePlus, EvaluateEquality.
	* Convert.cs (ToString): use the IConvertible/TypeCode approach
	for convertions. Add GetTypeCode.

svn path=/trunk/mcs/; revision=36064
2004-11-12 17:43:30 +00:00
Zoltan Varga 5db8bd6a70 2004-11-12 Zoltan Varga <[email protected]>
* mini.c mini-*.h: Get rid of MONO_ARCH_HAVE_RETHROW since all architectures support it now.
	(mini_init): Get rid of it from here too.

svn path=/trunk/mono/; revision=36062
2004-11-12 17:31:03 +00:00
Zoltan Varga 381cde1d0d 2004-11-12 Zoltan Varga <[email protected]>
* loader.c (mono_method_get_header): Fix build for older glibs which does not define G_LIKELY.

svn path=/trunk/mono/; revision=36061
2004-11-12 17:15:13 +00:00