Zoltan Varga [Fri, 18 Nov 2005 21:14:21 +0000 (21:14 -0000)]
2005-11-18 Zoltan Varga <vargaz@gmail.com>
* ParameterBuilder.cs (SetCustomAttribute): Handle DefaultParameterValueAttribute as well.
* CustomAttributeBuilder.cs: Add support for decoding more types of
constructor parameters.
svn path=/trunk/mcs/; revision=53249
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 20:37:47 +0000 (20:37 -0000)]
2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LinkButton.cs: don't output any javascript when the linkbutton is
disabled. Fixes bug #76713.
svn path=/trunk/mcs/; revision=53246
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 19:59:16 +0000 (19:59 -0000)]
2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
UseAccesibleHeader property is true. Patch by Robert Jordan.
svn path=/trunk/mcs/; revision=53244
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 19:40:45 +0000 (19:40 -0000)]
2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseValidator.cs: 'controltovalidate' must be the ClientID of the
control to validate. Fixes bug #76641.
svn path=/trunk/mcs/; revision=53243
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 19:14:23 +0000 (19:14 -0000)]
2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BoundColumn.cs: when the column is readonly and we're in edit mode,
keep it as a TextBox. Fixes bug #76714.
svn path=/trunk/mcs/; revision=53242
Marek Safar [Fri, 18 Nov 2005 16:30:44 +0000 (16:30 -0000)]
2005-11-18 Marek Safar <marek.safar@seznam.cz>
* attribute.cs (AreParametersCompliant): Moved to Parameter.
* class.cs (MethodCore): Parameter clean up.
(IMethodData): Added ParameterInfo.
(MethodData): Parameter clean up.
(Indexer.Define): Parameter clean up.
* anonymous.cs,
* codegen.cs,
* cs-parser.jay,
* decl.cs,
* doc.cs,
* ecore.cs,
* flowanalysis.cs,
* iterators.cs,
* pending.cs,
* statement.cs,
* typemanager.cs: Parameter clean up.
* delegate.cs (Define): Get rid of duplicated code.
* expression.cs (ParameterReference): Removed useless parameters
and simplified.
(Invocation): Ditto.
* parameter.cs (ParamsParameter): New class, params specialization.
(ArglistParameter): Attemp to separate arglist.
(Parameter): Refactored to be reusable and faster.
(Parameter.Modifier): Made understandable.
(Parameters): Changed to be used as a class for `this' assembly
parameters. Refactored to use new specialized classes.
* support.cs (ParameterData): Added Types property.
(InternalParameters): Deleted.
svn path=/trunk/mcs/; revision=53239
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 16:16:00 +0000 (16:16 -0000)]
patch by Michael Hutchinson to use the environment variable http_proxy
svn path=/trunk/mono/; revision=53237
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 16:14:18 +0000 (16:14 -0000)]
patch by Michael Hutchinson to use the environment variable http_proxy
svn path=/trunk/mcs/; revision=53236
Massimiliano Mantione [Fri, 18 Nov 2005 15:32:32 +0000 (15:32 -0000)]
2005-11-18 Massimiliano Mantione <massi@ximian.com>
* mini.c: Enabled "fastpath" deadce :-)
svn path=/trunk/mono/; revision=53231
Sebastien Pouliot [Fri, 18 Nov 2005 14:17:11 +0000 (14:17 -0000)]
2005-11-18 Sebastien Pouliot <sebastien@ximian.com>
* X509Extension.cs: Keep in sync with Mono.Security.dll.
svn path=/trunk/mcs/; revision=53230
Sebastien Pouliot [Fri, 18 Nov 2005 14:13:38 +0000 (14:13 -0000)]
2005-11-18 Sebastien Pouliot <sebastien@ximian.com>
* X509Extension.cs: Changed default ctor to protected to help
extensibility outside of Mono.Security.dll (fix bug #76742).
svn path=/trunk/mcs/; revision=53229
Massimiliano Mantione [Fri, 18 Nov 2005 12:49:21 +0000 (12:49 -0000)]
2005-11-18 Massimiliano Mantione <massi@ximian.com>
* mini.c: Added "fastpath" deadce (deadce without SSA), and a simple
alias analysis pass to support it.
* mini.h: Likewise.
* ssa.c: Likewise.
* liveness.c: Likewise (liveness computation can use aliasing
information to be more accurate).
* driver.c: Added an "ssa" option go tell the JIT to use SSA, and
moreover made so that "--compile-all" uses the given optimization
flags and not the default ones.
* aliasing.c: Alias analysis (new file).
* aliasing.h: Likewise.
* Makefile.am: added "aliasing.c" and "aliasing.h".
svn path=/trunk/mono/; revision=53226
Jackson Harper [Fri, 18 Nov 2005 11:17:32 +0000 (11:17 -0000)]
- No height for FormBorderStyle.None
svn path=/trunk/mcs/; revision=53225
Jackson Harper [Fri, 18 Nov 2005 11:13:11 +0000 (11:13 -0000)]
* MdiChildContext.cs: Adjust the y position to take the titlebar
into account.
svn path=/trunk/mcs/; revision=53224
Jackson Harper [Fri, 18 Nov 2005 10:54:24 +0000 (10:54 -0000)]
* MdiClient.cs: Calculate when to add and remove scrollbars
correctly.
svn path=/trunk/mcs/; revision=53223
Jackson Harper [Fri, 18 Nov 2005 10:17:41 +0000 (10:17 -0000)]
* Control.cs: Allow non enum values to be used for
InternalBorderStyle. MDI does this to set a special border style.
- New utility methods for converting points to/from client coords
- Add the newly created control to the Controls collection before
updating its style. This way UpdateStyle can walk the control
heirarchy to find the control if needed.
so I don't need to create a new Point object all the time.
* Form.cs: Let MDI windows handle their border styles.
- Set styles on MDI windows so the correct title style is derived.
* MdiChildContext.cs: Move all the painting and window handling
into the non client area.
- Use correct sizing and put correct buttons on frames based on
the FormBorderStyle.
- Notify the mdi client about scrolling
- Need to handle the buttons ourselves now, because they are all
in non client areas and we can't add controls there.
* MdiClient.cs: Halfway to scrolling, this implementation is
somewhat broken though, we need to check to make sure other
windows aren't causing scrolling before removing the bars. Also
the bars need to be drawn on top, maybe I can switch implicit
controls to be on top.
* Hwnd.cs: caption_height and tool_caption_height are now
properties of an hwnd, this way they can be set by the driver
based on the type of window they are. In X11 the window manager
handles the decorations so caption_height is zero unless its an
MDI window.
- Add 3 pixel borders for MDI windows (0xFFFF).
- Get rid of some code duplication, have DefaultClientRectanle
just call GetClientRectangle.
* XplatUIX11.cs: Pass caption_height and tool_caption_height to
Hwnd now.
- Set border styles differently for mdi windows.
* XplatUIOSX.cs: Pass caption_height and tool_caption_height to
Hwnd now.
svn path=/trunk/mcs/; revision=53222
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 06:14:59 +0000 (06:14 -0000)]
2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequestHeader.cs: add missing values.
svn path=/trunk/mcs/; revision=53221
Atsushi Eno [Fri, 18 Nov 2005 04:10:25 +0000 (04:10 -0000)]
2005-11-18 Atsushi Enomoto <atsushi@ximian.com>
* template.html.in : let's turn onLoad() off by default; I think
most of people usually rather mind browsers' response time than
filtered attributes.
svn path=/trunk/mono/; revision=53219
Atsushi Eno [Fri, 18 Nov 2005 04:08:10 +0000 (04:08 -0000)]
2005-11-18 Atsushi Enomoto <atsushi@ximian.com>
* cormissing.js : reflecting the HTML output changes from mon-api.xsl.
It now updates the count depending on the checkboxes.
svn path=/trunk/mono/; revision=53218
Atsushi Eno [Fri, 18 Nov 2005 04:06:44 +0000 (04:06 -0000)]
2005-11-18 Atsushi Enomoto <atsushi@ximian.com>
* mono-api.xsl : filtered attributes are customizable now (but pretty
slow!)
svn path=/trunk/mcs/; revision=53216
Zoltan Varga [Thu, 17 Nov 2005 22:53:59 +0000 (22:53 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* Interlocked.cs: Add generic CompareExchange and Exchange methods.
svn path=/trunk/mcs/; revision=53213
Zoltan Varga [Thu, 17 Nov 2005 22:23:06 +0000 (22:23 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* DefaultParameterValueAttribute.cs: New file.
svn path=/trunk/mcs/; revision=53212
Zoltan Varga [Thu, 17 Nov 2005 22:22:33 +0000 (22:22 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Add System.Runtime.InteropServices.DefaultParameterValueAttribute.cs.
svn path=/trunk/mcs/; revision=53211
Gonzalo Paniagua Javier [Thu, 17 Nov 2005 22:07:17 +0000 (22:07 -0000)]
2005-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpListenerPrefixCollection.cs:
* HttpWebResponse.cs:
* Dns.cs:
* HttpListenerRequest.cs:
* HttpWebRequest.cs:
* HttpListenerResponse.cs: a few signature fixes for 2.0.
svn path=/trunk/mcs/; revision=53210
Zoltan Varga [Thu, 17 Nov 2005 20:57:56 +0000 (20:57 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h: Add missing OP_I opcodes so it is in synch with the
OP_L opcodes.
svn path=/trunk/mono/; revision=53209
Sebastien Pouliot [Thu, 17 Nov 2005 20:24:47 +0000 (20:24 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* MatchCollection.cs: Add missing virtual to indexer property.
svn path=/trunk/mcs/; revision=53208
Sebastien Pouliot [Thu, 17 Nov 2005 20:20:13 +0000 (20:20 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* Match.cs: Removed the ": base ()" on the private ctor as it is
unrequired and cause an extra public ctor to added (bug #76736).
svn path=/trunk/mcs/; revision=53207
Vladimir Krasnov [Thu, 17 Nov 2005 18:06:58 +0000 (18:06 -0000)]
Image.jvm.cs: fixed Save, flush output stream
ImageCodec.jvm.cs: fixed WriteImage, removed flush of native output
svn path=/trunk/mcs/; revision=53204
Martin Baulig [Thu, 17 Nov 2005 17:59:14 +0000 (17:59 -0000)]
2005-11-17 Martin Baulig <martin@ximian.com>
* expression.cs (Indexers.GetIndexersForType): Added support for
generic parameters; fixes #76587.
svn path=/trunk/mcs/; revision=53203
Martin Baulig [Thu, 17 Nov 2005 17:58:22 +0000 (17:58 -0000)]
New test.
svn path=/trunk/mcs/; revision=53202
Martin Baulig [Thu, 17 Nov 2005 17:57:40 +0000 (17:57 -0000)]
New test.
svn path=/trunk/mcs/; revision=53201
Dick Porter [Thu, 17 Nov 2005 17:36:36 +0000 (17:36 -0000)]
2005-11-17 Dick Porter <dick@ximian.com>
* Process.cs: Split Start_common into Start_shell and
Start_noshell, which call ShellExecuteEx and CreateProcess
respectively. Fixes bug 76670.
2005-11-17 Dick Porter <dick@ximian.com>
* Environment.cs: Incremented corlib version
svn path=/trunk/mcs/; revision=53199
Dick Porter [Thu, 17 Nov 2005 17:35:45 +0000 (17:35 -0000)]
2005-11-17 Dick Porter <dick@ximian.com>
* icall.c:
* process.h:
* process.c: Split the Process Start_internal icall into
ShellExecuteEx_internal and CreateProcess_internal, which are
called depending on whether UseShellExecute is true. Fixes bug
76670.
* appdomain.c (MONO_CORLIB_VERSION): Incremented
2005-11-17 Dick Porter <dick@ximian.com>
* processes.h:
* processes.c: Implement ShellExecuteEx as a wrapper around
CreateProcess.
svn path=/trunk/mono/; revision=53198
Martin Baulig [Thu, 17 Nov 2005 17:31:26 +0000 (17:31 -0000)]
2005-08-20 Martin Baulig <martin@ximian.com>
Merging this patch from GMCS to fix #75867.
* anonymous.cs (CaptureContext.CaptureThis): Create the topmost
scope if we don't already have it.
svn path=/trunk/mcs/; revision=53197
Konstantin Triger [Thu, 17 Nov 2005 16:42:00 +0000 (16:42 -0000)]
performance - use BasicStroke when possible.
svn path=/trunk/mcs/; revision=53193
Atsushi Eno [Thu, 17 Nov 2005 16:09:59 +0000 (16:09 -0000)]
2005-11-17 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XslTransformTests.cs : added WhitespaceHandling ().
* 91834.xml, 91834a.xml, 91834.xsl : I ended up to add new files here.
svn path=/trunk/mcs/; revision=53192
Vladimir Krasnov [Thu, 17 Nov 2005 15:47:22 +0000 (15:47 -0000)]
* ColorConverter.cs: added test cases for ConvertFrom and three digit notaion color.
svn path=/trunk/mcs/; revision=53188
Martin Baulig [Thu, 17 Nov 2005 15:43:58 +0000 (15:43 -0000)]
2005-11-17 Martin Baulig <martin@ximian.com>
* anonymous.cs
(CaptureContext.EmitMethodHostInstance): Use `Ldarg_0' if we
inherit the scope from our parent. Fixes #76653.
svn path=/trunk/mcs/; revision=53187
Martin Baulig [Thu, 17 Nov 2005 15:42:33 +0000 (15:42 -0000)]
New test.
svn path=/trunk/mcs/; revision=53186
Martin Baulig [Thu, 17 Nov 2005 15:42:13 +0000 (15:42 -0000)]
2005-11-17 Martin Baulig <martin@ximian.com>
* anonymous.cs
(CaptureContext.EmitMethodHostInstance): Use `Ldarg_0' if we
inherit the scope from our parent. Fixes #76653.
svn path=/trunk/mcs/; revision=53185
Atsushi Eno [Thu, 17 Nov 2005 15:38:46 +0000 (15:38 -0000)]
2005-11-17 Atsushi Enomoto <atsushi@ximian.com>
* XslCompiledContext.cs : since XsltContextInfo is struct, having
an array of this type and setting fields of each struct didn't
make sense. It thus blocked expected PreserveWhitespace behavior.
svn path=/trunk/mcs/; revision=53184
Sebastien Pouliot [Thu, 17 Nov 2005 15:13:46 +0000 (15:13 -0000)]
Fix API (corcompare)
svn path=/trunk/mcs/; revision=53183
Vladimir Krasnov [Thu, 17 Nov 2005 15:12:14 +0000 (15:12 -0000)]
* ColorConverter.cs: fixed ConvertFrom, to be able to convert from three digit notation color (#abc)
svn path=/trunk/mcs/; revision=53182
Vladimir Krasnov [Thu, 17 Nov 2005 15:09:06 +0000 (15:09 -0000)]
XmlSerializationReaderInterpreter.cs: fixed ReadEnumElement method, ReadEndElement should check XmlNodeType.
XmlTypeMapping.cs: fixed GetXmlName method, it should not write zero as default enum value.
svn path=/trunk/mcs/; revision=53181
Vladimir Krasnov [Thu, 17 Nov 2005 14:57:06 +0000 (14:57 -0000)]
XmlInputStream.cs: fixed Initialize method to be able to read unicode file without BOM. TARGET_JVM only.
svn path=/trunk/mcs/; revision=53180
Sebastien Pouliot [Thu, 17 Nov 2005 13:41:12 +0000 (13:41 -0000)]
Add unit/CAS tests (and some code) for System.Threading
svn path=/trunk/mcs/; revision=53179
Sebastien Pouliot [Thu, 17 Nov 2005 13:40:18 +0000 (13:40 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* Semaphore.cs: New (2.0). Incomplete (missing runtime support).
* SemaphoreFullException.cs: New (2.0).
svn path=/trunk/mcs/; revision=53178
Sebastien Pouliot [Thu, 17 Nov 2005 13:38:46 +0000 (13:38 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* SemaphoreCas.cs: New. CAS tests for Semaphore (2.0).
* SemaphoreFullExceptionCas.cs: New. CAS unit tests (2.0).
* SemaphoreTest.cs: New. Unit tests for Semaphore (2.0).
* ThreadExceptionEventArgsCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=53177
Sebastien Pouliot [Thu, 17 Nov 2005 13:38:20 +0000 (13:38 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* SemaphoreRights.cs: New (2.0). Enum of all the rights applicable to
semaphores.
* SemaphoreSecurity.cs: New (2.0). Very incomplete - to allow the
Semaphore to compile.
svn path=/trunk/mcs/; revision=53176
Sebastien Pouliot [Thu, 17 Nov 2005 13:38:04 +0000 (13:38 -0000)]
Add System.Threading.WaitHandleCannotBeOpenedException (2.0) to the build
svn path=/trunk/mcs/; revision=53175
Sebastien Pouliot [Thu, 17 Nov 2005 13:37:33 +0000 (13:37 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* WaitHandleCannotBeOpenedException.cs: New (2.0). Is required to
compile the Semaphore tests (in System.dll).
svn path=/trunk/mcs/; revision=53174
Raja R Harinath [Thu, 17 Nov 2005 13:32:13 +0000 (13:32 -0000)]
Update.
svn path=/trunk/mcs/; revision=53173
Sebastien Pouliot [Thu, 17 Nov 2005 12:57:45 +0000 (12:57 -0000)]
fix build
svn path=/trunk/mcs/; revision=53172
Gonzalo Paniagua Javier [Thu, 17 Nov 2005 12:08:23 +0000 (12:08 -0000)]
removed executable property
svn path=/trunk/mcs/; revision=53171
Gonzalo Paniagua Javier [Thu, 17 Nov 2005 12:04:07 +0000 (12:04 -0000)]
new files
svn path=/trunk/mcs/; revision=53170
Gonzalo Paniagua Javier [Thu, 17 Nov 2005 12:03:25 +0000 (12:03 -0000)]
2005-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpListenerPrefixCollection.cs:
* EndPointListener.cs:
* HttpStreamAsyncResult.cs:
* HttpListenerContext.cs:
* HttpListenerBasicIdentity.cs:
* AuthenticationSchemeSelector.cs:
* HttpListener.cs:
* WebHeaderCollection.cs:
* ListenerPrefix.cs:
* HttpListenerException.cs:
* HttpResponseHeader.cs:
* EndPointManager.cs:
* HttpListenerRequest.cs:
* HttpRequestHeader.cs:
* BindIPEndPoint.cs:
* ResponseStream.cs:
* ChunkedInputStream.cs:
* HttpStatusCode.cs:
* ListenerAsyncResult.cs:
* ChunkStream.cs:
* HttpConnection.cs:
* HttpUtility.cs:
* HttpListenerResponse.cs:
* RequestStream.cs: initial implementation of HttpListener. There are
a few TODOs left (cookies, HTTPS) but almost everything else is in.
svn path=/trunk/mcs/; revision=53169
Gonzalo Paniagua Javier [Thu, 17 Nov 2005 12:00:37 +0000 (12:00 -0000)]
2005-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpListenerPrefixCollectionTest.cs:
* HttpListenerTest.cs:
* HttpListenerBasicIdentityTest.cs:
* HttpListener2Test.cs: tests for HttpListener and related classes.
svn path=/trunk/mcs/; revision=53168
Raja R Harinath [Thu, 17 Nov 2005 11:48:02 +0000 (11:48 -0000)]
* ColorMatrix.cs: Make it have Sequential layout.
Fixes 'make check', and also corcompare.
svn path=/trunk/mcs/; revision=53167
Zoltan Varga [Thu, 17 Nov 2005 10:57:32 +0000 (10:57 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_ptr_to_object_conv): Get rid of the 'usize' and
'msize' parameters, use the information in 'mspec' instead.
(emit_object_to_ptr_conv): Ditto.
* marshal.c (emit_struct_conv): Handle explicit layout structs with
fields out of order. Fixes #76733.
svn path=/trunk/mono/; revision=53165
Ankit Jain [Thu, 17 Nov 2005 10:11:15 +0000 (10:11 -0000)]
* get.c (dis_stringify_type): Escape generic type parameter names.
svn path=/trunk/mono/; revision=53162
Ankit Jain [Thu, 17 Nov 2005 10:07:28 +0000 (10:07 -0000)]
* get.c (str_escape): New. Escape a given list of characters.
(get_escaped_name): Escape ' and \ using str_escape, and
allow ` .
svn path=/trunk/mono/; revision=53161
Ankit Jain [Thu, 17 Nov 2005 09:56:55 +0000 (09:56 -0000)]
* metadata.c (mono_type_create_from_typespec_full): Remove unnecessary g_assert.
svn path=/trunk/mono/; revision=53160
Miguel de Icaza [Thu, 17 Nov 2005 05:34:10 +0000 (05:34 -0000)]
Auto detect SQLite installation, and go from 2 to 3 if needed
svn path=/trunk/mcs/; revision=53157
John Luke [Thu, 17 Nov 2005 01:13:45 +0000 (01:13 -0000)]
add swf/win32 version of snippets
svn path=/trunk/mcs/; revision=53156
Atsushi Eno [Wed, 16 Nov 2005 23:21:37 +0000 (23:21 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : the previous patch does not actually fix the bug.
PropertyInfo override check is now implemented and really fixed it.
* expression.cs : Invocation.IsAncestralType() is used from doc.cs.
* test-xml-048-ref.xml test-xml-048.cs : test for bug #76730
(works with gmcs).
svn path=/trunk/mcs/; revision=53152
John Luke [Wed, 16 Nov 2005 23:13:56 +0000 (23:13 -0000)]
add image related snippets,
fix fill_and_stroke*
svn path=/trunk/mcs/; revision=53151
Atsushi Eno [Wed, 16 Nov 2005 22:47:05 +0000 (22:47 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : apply "override filter" also to properties.
Fixed bug #76730.
* test-xml-047-ref.xml test-xml-047.cs :
Another override filtering test (works with gmcs).
* cs1574-7.cs : fixed code format ("Line") to make it working.
* cs0419-3.cs : new test for ambiguity resolution.
* known-issues-gmcs : actually cs1574-7.cs is kind of regression,
thus no need to be added here.
svn path=/trunk/mcs/; revision=53150
John Luke [Wed, 16 Nov 2005 22:34:17 +0000 (22:34 -0000)]
fix the bg color
svn path=/trunk/mcs/; revision=53149
John Luke [Wed, 16 Nov 2005 21:13:25 +0000 (21:13 -0000)]
add the gtk version of snippets
svn path=/trunk/mcs/; revision=53145
John Luke [Wed, 16 Nov 2005 20:03:39 +0000 (20:03 -0000)]
add snippets port for testing
svn path=/trunk/mcs/; revision=53144
Atsushi Eno [Wed, 16 Nov 2005 20:01:34 +0000 (20:01 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* MonoMethod.cs : made MakeGenericMethod() indirect icall to
MakeGenericMethod_impl() and raise an error when it returns null.
* MethodInfoTest.cs : added MakeGenericMethod test for #76575.
svn path=/trunk/mcs/; revision=53143
Atsushi Eno [Wed, 16 Nov 2005 20:01:02 +0000 (20:01 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* icall.c : renamed MakeGenericMethod -> MakeGenericMethod_impl for
bug #76575.
svn path=/trunk/mono/; revision=53142
Atsushi Eno [Wed, 16 Nov 2005 19:55:51 +0000 (19:55 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : renamed FindMembers() to FindMethodBase(). For interfaces,
no need to check overrides. For classes, omit those results from
interfaces since they must exist in the class. Fixed bug #76726.
* test-xml-046-ref.xml test-xml-046.cs : new test for bug #76726.
* known-issues-gmcs : added above.
* cs1574-7.cs : new test to warn doc reference to interface members
which is not exposed publicly.
* known-issues-gmcs : added above.
svn path=/trunk/mcs/; revision=53141
Atsushi Eno [Wed, 16 Nov 2005 18:56:56 +0000 (18:56 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* UTF8Encoding.cs : safer UTF8Decoder ctor.
svn path=/trunk/mcs/; revision=53140
Sebastien Pouliot [Wed, 16 Nov 2005 18:55:02 +0000 (18:55 -0000)]
Add unit tests for TimersDescriptionAttribute to the build
svn path=/trunk/mcs/; revision=53139
Sebastien Pouliot [Wed, 16 Nov 2005 18:54:27 +0000 (18:54 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* TimersDescriptionAttributeCas.cs: Updated comments (thanks to Gert
Driesen for the solution).
* TimersDescriptionAttributeTest.cs: New. Unit tests to show that the
description string is a resource name (and not the description itself)
svn path=/trunk/mcs/; revision=53138
Atsushi Eno [Wed, 16 Nov 2005 18:37:52 +0000 (18:37 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* Decoder.cs : added FallbackBuffer property.
* UTF8Encoding.cs : In NET_2_0, use DecoderFallbackBuffer instead of
"throwOnInvalid".
* UTF8EncodingTest.cs : Simply replaced all ArgumentException with
switched alias (it is DecodefFallbackException in NET_2_0).
svn path=/trunk/mcs/; revision=53137
Vladislav Spivak [Wed, 16 Nov 2005 18:02:03 +0000 (18:02 -0000)]
net_1_1_java additions
svn path=/trunk/mcs/; revision=53136
Vladislav Spivak [Wed, 16 Nov 2005 18:00:34 +0000 (18:00 -0000)]
net_1_1_java includes
svn path=/trunk/mcs/; revision=53135
Vladislav Spivak [Wed, 16 Nov 2005 17:45:15 +0000 (17:45 -0000)]
Handle pdb's copy
svn path=/trunk/mcs/; revision=53134
Konstantin Triger [Wed, 16 Nov 2005 17:42:37 +0000 (17:42 -0000)]
open a correct stream.
svn path=/trunk/mcs/; revision=53133
Konstantin Triger [Wed, 16 Nov 2005 16:48:38 +0000 (16:48 -0000)]
refactoring.
svn path=/trunk/mcs/; revision=53129
Vladislav Spivak [Wed, 16 Nov 2005 16:42:54 +0000 (16:42 -0000)]
making net_1_1_java profile targets be local
svn path=/trunk/mcs/; revision=53128
Konstantin Triger [Wed, 16 Nov 2005 15:49:36 +0000 (15:49 -0000)]
throw exception if invalid params.
svn path=/trunk/mcs/; revision=53125
Sebastien Pouliot [Wed, 16 Nov 2005 15:38:55 +0000 (15:38 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* TimersDescriptionAttributeCas.cs: Fixed test as the Description
property doesn't always returns null (exact conditions unknown).
svn path=/trunk/mcs/; revision=53124
Sebastien Pouliot [Wed, 16 Nov 2005 15:38:47 +0000 (15:38 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* TimersDescriptionAttribute.cs: Revert Description property fix
because it doesn't always returns null (exact conditions unknown).
svn path=/trunk/mcs/; revision=53123
Vladislav Spivak [Wed, 16 Nov 2005 15:20:02 +0000 (15:20 -0000)]
Typo
svn path=/trunk/mcs/; revision=53122
Atsushi Eno [Wed, 16 Nov 2005 14:29:36 +0000 (14:29 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* known-issues-gmcs : added cs0419-2.cs
svn path=/trunk/mcs/; revision=53121
Sebastien Pouliot [Wed, 16 Nov 2005 14:28:17 +0000 (14:28 -0000)]
Add CAS tests for System.Timers and System.Web namespaces
svn path=/trunk/mcs/; revision=53120
Sebastien Pouliot [Wed, 16 Nov 2005 14:27:38 +0000 (14:27 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* ElapsedEventArgsCas.cs: New. CAS unit tests.
* TimerCas.cs: New. CAS unit tests.
* TimersDescriptionAttributeCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=53119
Sebastien Pouliot [Wed, 16 Nov 2005 14:26:14 +0000 (14:26 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* ElapsedEventHandler.cs: Remove [Serializable] from 2.0 profile.
* Timer.cs: Add [Browsable(false)] to SynchronizingObject property for
2.0 profile.
* TimersDescriptionAttribute.cs: Description always returns null.
svn path=/trunk/mcs/; revision=53118
Sebastien Pouliot [Wed, 16 Nov 2005 14:11:10 +0000 (14:11 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* AspNetHostingPermissionAttributeCas.cs: New. CAS unit tests.
* AspNetHostingPermissionCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=53117
Eyal Alalouf [Wed, 16 Nov 2005 13:35:02 +0000 (13:35 -0000)]
Workaround compiler crash when using csc in java profile.
svn path=/trunk/mcs/; revision=53114
Zoltan Varga [Wed, 16 Nov 2005 13:32:06 +0000 (13:32 -0000)]
2005-11-16 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_compute_gc_descriptor): Disable typed allocation
for types with non-auto layout. Fixes #76717.
svn path=/trunk/mono/; revision=53113
Ankit Jain [Wed, 16 Nov 2005 13:28:47 +0000 (13:28 -0000)]
* class.c (my_mono_class_from_generic_parameter): param->owner can be null.
* metadata.c (mono_metadata_parse_generic_param): Create a dummy MonoGenericParam
if generic_context is null.
(mono_metadata_generic_param_equal): param->owner can be null.
(mono_type_create_from_typespec_full): Don't cache the MonoType if param->owner is
null.
svn path=/trunk/mono/; revision=53112
Zoltan Varga [Wed, 16 Nov 2005 13:23:12 +0000 (13:23 -0000)]
2005-11-16 Zoltan Varga <vargaz@gmail.com>
* reflection.c (create_dynamic_mono_image): Set md_version_minor to
the correct value.
svn path=/trunk/mono/; revision=53111
Atsushi Eno [Wed, 16 Nov 2005 13:19:09 +0000 (13:19 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* known-issues-gmcs : Forgot to add test-xml-045.cs.
svn path=/trunk/mcs/; revision=53110
Atsushi Eno [Wed, 16 Nov 2005 11:43:04 +0000 (11:43 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* GB18030Encoding.cs : check GB2312 first, and then check GB18030.
Fixed GB18030 part of bug #76722.
svn path=/trunk/mcs/; revision=53108
Vladislav Spivak [Wed, 16 Nov 2005 11:24:57 +0000 (11:24 -0000)]
svn path=/trunk/mcs/; revision=53107
Atsushi Eno [Wed, 16 Nov 2005 11:11:04 +0000 (11:11 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* GB2312Convert.cs , CP936.cs, GB18030Encoding.cs : don't handle
single byte characters in UcsToGbk. Fixed GB2312 part of #76722.
svn path=/trunk/mcs/; revision=53106