Jordi Mas i Hernandez [Fri, 16 Sep 2005 10:39:53 +0000 (10:39 -0000)]
2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
* ToolTip.cs:
- Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
* ComboBox.cs:
- When DropDownStyle is Simple, it does not show scrollbar
to the last item of the list.
- When DropDownStyle is Simple, it crashed when the list was
scrolled down with the down cursor key.
- Fixed a bug that when DropDownStyle is DropDownList, the
selected item was not shown.
- The position of the selected item was not preserved when
the next dropdown happened.
* ThemeWin32Classic.cs:
- Items were wrapped at the right end.
* CheckedListBox.cs:
- Fixed Add method
* ListBox.cs:
- Items should be fully shown.
- When resizing and vertical scrollbar disappeared, the item
of index 0 should be on the top of the list.
- GetItemRectangle should consider the size of ver. scrollbar
* StatusBar.cs:
- SizingGrip area should not be allocated when it is not
displayed.
- Now it reflects MinWidth of the containing panel and
fixed a crash that happens when its width becomes so small.
svn path=/trunk/mcs/; revision=50139
Raja R Harinath [Fri, 16 Sep 2005 10:13:20 +0000 (10:13 -0000)]
* runtime/Makefile.am (all-local, install-exec, uninstall)
(mcs-do-test-profiles, mcs-do-run-test-profiles, mcs-compileall):
Don't call semdel-wrapper.
* mono/mini/Makefile.am (check-local): Don't invoke semdel-wrapper.
* mono/tests/Makefile.am (check-local): Don't invoke semdel-wrapper.
Remove calls to 'semdel-wrapper' except where necessary. Having them
makes failures on Win32 builds confusing, and hinders development by
making parallel makes in different profiles race.
svn path=/trunk/mono/; revision=50138
Martin Baulig [Fri, 16 Sep 2005 10:08:34 +0000 (10:08 -0000)]
2005-09-16 Martin Baulig <martin@ximian.com>
* exceptions-amd64.c
(throw_exception): Don't call mono_debugger_throw_exception() if
we're a rethrow - see the FIXME in the code.
svn path=/trunk/mono/; revision=50136
Hisham Mardam Bey [Fri, 16 Sep 2005 10:06:50 +0000 (10:06 -0000)]
Fix all samples to work with new API
svn path=/trunk/mcs/; revision=50135
Hisham Mardam Bey [Fri, 16 Sep 2005 09:55:09 +0000 (09:55 -0000)]
Work on ScrollBar unit test.
svn path=/trunk/mcs/; revision=50134
Atsushi Eno [Fri, 16 Sep 2005 09:17:15 +0000 (09:17 -0000)]
2005-09-16 Atsushi Enomoto <atsushi@ximian.com>
* XslTransform.cs : When Transform() returns XmlReader, allow empty
results. Fixed bug #76115.
* ScriptCompilerInfo.cs : Compile correct replacement result.
Fixed bug #76116.
* XslTransformTests.cs : added testcase for bug #76115.
* MSXslScriptTests.cs : added testcase for bug #76116.
svn path=/trunk/mcs/; revision=50132
Chris Toshok [Fri, 16 Sep 2005 03:52:37 +0000 (03:52 -0000)]
fix unterminated comment
svn path=/trunk/mcs/; revision=50129
Chris Toshok [Fri, 16 Sep 2005 03:49:38 +0000 (03:49 -0000)]
add MS's atlas web.config, hacked up slightly since we don't support everything yet.
svn path=/trunk/mcs/; revision=50128
Chris Toshok [Fri, 16 Sep 2005 03:49:03 +0000 (03:49 -0000)]
doh, remove this
svn path=/trunk/mcs/; revision=50127
Chris Toshok [Fri, 16 Sep 2005 03:48:39 +0000 (03:48 -0000)]
add some examples gleaned from atlas.asp.net, and augmented with some code to exercise them.
svn path=/trunk/mcs/; revision=50126
Chris Toshok [Fri, 16 Sep 2005 03:42:48 +0000 (03:42 -0000)]
HelloWorld test
svn path=/trunk/mcs/; revision=50125
Chris Toshok [Fri, 16 Sep 2005 03:37:55 +0000 (03:37 -0000)]
2005-09-15 Chris Toshok <toshok@ximian.com>
* Makefile (LIB_MCS_FLAGS): fix this up.
* Microsoft.Web.Services/ScriptHandlerFactory.cs
(ScriptHandlerFactory.GetHandler): implement by returning a
JSProxyGenerator if PathInfo == "/js", otherwise we fallback to
using WebServiceHandlerFactory.
(JSProxyGenerator): brain dead and simple proxy generator that
uses S.R. to emit the JS.
* Microsoft.Web.UI/Script.cs: always render the <script> tags for
the time being - eventually we'll compare Page.Browser and
Script.Browser.
* resources/AtlasCore.js: include portions of prototype.js to get
the Ajax stuff working. Their stuff is MIT, and why reinvent the
wheel?
(Web.Net.ServiceMethodRequest): implement this in terms of
Ajax.Request from prototype.js.
svn path=/trunk/mcs/; revision=50124
Alexandre Rocha Lima e Marcondes [Fri, 16 Sep 2005 02:34:17 +0000 (02:34 -0000)]
Error statement support
svn path=/trunk/mcs/; revision=50123
Alexandre Rocha Lima e Marcondes [Fri, 16 Sep 2005 02:33:05 +0000 (02:33 -0000)]
Error statement support
svn path=/trunk/mcs/; revision=50122
Geoff Norton [Fri, 16 Sep 2005 01:00:14 +0000 (01:00 -0000)]
2005-09-31 Geoff Norton <gnorton@customerdna.com>
* LOADER: Whoops; forgot to rm the new file.
svn path=/trunk/mcs/; revision=50121
Geoff Norton [Fri, 16 Sep 2005 00:59:13 +0000 (00:59 -0000)]
2005-09-31 Geoff Norotn <gnorton@customerdna.com>
* LOADER: We exposed an apple bug. This caused duplicates of the
main window to open by having AppName in Resources. Modified from
a patch provided by Aaron Flynt (aaron@aaronflynt.com)
svn path=/trunk/mcs/; revision=50120
Gonzalo Paniagua Javier [Thu, 15 Sep 2005 23:55:38 +0000 (23:55 -0000)]
2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* io.c:
(CreateFile): if the file is a named pipe, treat the handle as a pipe,
not as a file. Fixes bug #76075.
svn path=/trunk/mono/; revision=50119
Gonzalo Paniagua Javier [Thu, 15 Sep 2005 23:09:18 +0000 (23:09 -0000)]
svn path=/trunk/mcs/; revision=50118
Sebastien Pouliot [Thu, 15 Sep 2005 23:00:12 +0000 (23:00 -0000)]
another batch of CAS unit tests for System.Web.UI
svn path=/trunk/mcs/; revision=50116
Sebastien Pouliot [Thu, 15 Sep 2005 22:58:35 +0000 (22:58 -0000)]
2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
* ParseChildrenAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting. Added new ctor and public fields (2.0). Changed
ChildControlType setter visibility to internal.
* PartialCachingAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Added new ctor and
SqlDependency property (2.0).
* PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* PersistenceModeAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting.
* PersistChildrenAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting.
* PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Class is static in 2.0.
* RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
AspNetHostingPermission with Minimal level. Class is no more sealed in
2.0. Added new (2.0) BuiltObjects property.
* SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* StateItem.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level.
* StateBag.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level. Removed SetDirty() which was called (2.0) but did
nothing.
* StaticPartialCachingControl.cs: Added LinkDemand and
InheritanceDemand for AspNetHostingPermission with Minimal level.
svn path=/trunk/mcs/; revision=50115
Chris Toshok [Thu, 15 Sep 2005 22:26:50 +0000 (22:26 -0000)]
2005-09-15 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.Services/ScriptHandlerFactory.cs: new (stub) file.
* Microsoft.Web.Services/ScriptModule.cs: same.
svn path=/trunk/mcs/; revision=50114
Chris Toshok [Thu, 15 Sep 2005 22:26:08 +0000 (22:26 -0000)]
2005-09-15 Chris Toshok <toshok@ximian.com>
* Assembly/AssemblyInfo.cs: new file.
* Microsoft.Web.Atlas.dll.sources: add the assemblyinfo stuff.
svn path=/trunk/mcs/; revision=50113
Chris Toshok [Thu, 15 Sep 2005 22:25:10 +0000 (22:25 -0000)]
2005-09-15 Chris Toshok <toshok@ximian.com>
* resources/AtlasControls.js: new file.
* resources/AtlasCore.js: new file.
svn path=/trunk/mcs/; revision=50112
Gonzalo Paniagua Javier [Thu, 15 Sep 2005 21:30:36 +0000 (21:30 -0000)]
2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataGrid.cs: merge column styles too. Fixes bug #76106.
* DataGridColumn.cs: new internal method to retrieve the styles without
creating an instance for them.
svn path=/trunk/mcs/; revision=50109
Gonzalo Paniagua Javier [Thu, 15 Sep 2005 21:28:25 +0000 (21:28 -0000)]
test from bug #76106
svn path=/trunk/mcs/; revision=50108
Sebastien Pouliot [Thu, 15 Sep 2005 21:09:19 +0000 (21:09 -0000)]
2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
* CompilationConfiguration.cs: Return an empty configuration object if
no HttpContext is available. This is required for the unit tests and
match the results of MS 1.1 and 2.0 (beta2).
svn path=/trunk/mcs/; revision=50106
Sebastien Pouliot [Thu, 15 Sep 2005 20:56:42 +0000 (20:56 -0000)]
2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
* DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
StateBag.SetDirty (true).
svn path=/trunk/mcs/; revision=50105
Sebastien Pouliot [Thu, 15 Sep 2005 20:53:23 +0000 (20:53 -0000)]
2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
* ParseChildrenAttributeCas.cs: New. CAS unit tests.
* PartialCachingAttributeCas.cs: New. CAS unit tests.
* PersistChildrenAttributeCas.cs: New. CAS unit tests.
* PersistenceModeAttributeCas.cs: New. CAS unit tests.
* PropertyConverterCas.cs: New. CAS unit tests.
* RootBuilderCas.cs: New. CAS unit tests.
* StateBagCas.cs: New. CAS unit tests.
* StateItemCas.cs: New. CAS unit tests.
* StaticPartialCachingControlCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=50104
Geoff Norton [Thu, 15 Sep 2005 19:38:28 +0000 (19:38 -0000)]
2005-09-15 Geoff Norton <gnorton@customerdna.com>
* mini.c (mono_init_exceptions): This only works on some architectures.
svn path=/trunk/mono/; revision=50103
Sebastien Pouliot [Thu, 15 Sep 2005 17:04:44 +0000 (17:04 -0000)]
Activate more CAS tests for System.Web.UI
svn path=/trunk/mcs/; revision=50095
Sebastien Pouliot [Thu, 15 Sep 2005 17:03:59 +0000 (17:03 -0000)]
fix typo in new property names
svn path=/trunk/mcs/; revision=50094
Sebastien Pouliot [Thu, 15 Sep 2005 16:58:32 +0000 (16:58 -0000)]
2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
* Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Added new 2.0 properties
(but the generated HTML doesn't use them).
* HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* LiteralControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Default Text is null.
* LosFormatter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
* ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
* ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Added check for null id (HttpException).
* Page.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Throw some HttpException
when no context is available.
* Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
level. InheritanceDemand too for 1.x.
* PageParser.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level.
svn path=/trunk/mcs/; revision=50093
Gert Driesen [Thu, 15 Sep 2005 16:53:38 +0000 (16:53 -0000)]
* MailPriority.cs: Marked obsolete in 2.0 profile. Fixed line endings.
* SmtpMail.cs: Added workaround message to ensure same warning is
generated as MS.NET 2.0.
* MailMessage.cs: same and fixed line endings. Set eol-style to native.
* MailEncoding.cs: same.
* MailFormat.cs: same.
* MailAttachment.cs: same.
svn path=/trunk/mcs/; revision=50090
Sebastien Pouliot [Thu, 15 Sep 2005 16:51:55 +0000 (16:51 -0000)]
2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
* Html32TextWriterCas.cs: New. CAS unit tests.
* HtmlTextWriterCas.cs: New. CAS unit tests.
* ImageClickEventArgsCas.cs: New. CAS unit tests.
* LiteralControlCas.cs: New. CAS unit tests.
* LosFormatterCas.cs: New. CAS unit tests.
* ObjectConverterCas.cs: New. CAS unit tests.
* ObjectTagBuilderCas.cs: New. CAS unit tests.
* PageCas.cs: New. CAS unit tests.
* PairCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=50089
Konstantin Triger [Thu, 15 Sep 2005 15:29:35 +0000 (15:29 -0000)]
text transform, headless session
svn path=/trunk/mcs/; revision=50088
Jordi Mas i Hernandez [Thu, 15 Sep 2005 14:39:52 +0000 (14:39 -0000)]
* ThemeNice.cs, DataGridTextBoxColumn.cs, ThemeWin32Classic.cs,
DataGrid.cs, Theme.cs
- Fixes bugs 76039, 76041
- Fixes issues with unused space
2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
svn path=/trunk/mcs/; revision=50087
Raja R Harinath [Thu, 15 Sep 2005 14:20:10 +0000 (14:20 -0000)]
* SqlString.cs (MoneyFormat): Move to SqlMoney.cs.
(operator SqlString) [SqlMoney variant]: Delegate to
SqlMoney.ToString ().
* SqlMoney.cs (MoneyFormat): Move from SqlString.cs.
(SqlString): New static constructor.
(ToString): Use it.
svn path=/trunk/mcs/; revision=50085
Raja R Harinath [Thu, 15 Sep 2005 14:16:31 +0000 (14:16 -0000)]
Make line-endings uniform, svn:eol-style=native
svn path=/trunk/mcs/; revision=50084
Raja R Harinath [Thu, 15 Sep 2005 14:07:56 +0000 (14:07 -0000)]
* Makefile (COMPILER): New. Points to mcs.exe or gmcs.exe
depending on the profile.
(LIB_MCS_FLAGS): Pick the profile dependent compiler.
svn path=/trunk/mcs/; revision=50082
Zoltan Varga [Thu, 15 Sep 2005 14:06:52 +0000 (14:06 -0000)]
2005-09-15 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Add OP_LMUL imm -> OP_LMUL_IMM conversion
on ia64.
* inssel-long.brg mini-ia64.c: Add OP_LMUL_IMM rules.
svn path=/trunk/mono/; revision=50081
Raja R Harinath [Thu, 15 Sep 2005 14:06:03 +0000 (14:06 -0000)]
* Makefile (PROGRAM): Make profile specific.
(gmcs.exe) [PROFILE=net_2_0]: Add utility rule to copy gmcs.exe to
the current directory.
svn path=/trunk/mcs/; revision=50080
Raja R Harinath [Thu, 15 Sep 2005 14:04:18 +0000 (14:04 -0000)]
In gmcs:
Fix test-455.cs.
* expression.cs (Invocation.EmitCall): Remove optimization on
this_call since it doesn't handle 'this' being a value type.
In tests:
* test-455.cs: New test. Distilled from a failing unit test of
System.Runtime.Serialization.Formatters.Soap.dll.
svn path=/trunk/mcs/; revision=50079
Zoltan Varga [Thu, 15 Sep 2005 13:41:58 +0000 (13:41 -0000)]
2005-09-15 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.h mini-ia64.c: Remove the altstack support code which is
now in mini-exceptions.c.
svn path=/trunk/mono/; revision=50078
Zoltan Varga [Thu, 15 Sep 2005 13:05:24 +0000 (13:05 -0000)]
2005-09-15 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.h mini-am64.c: Remove the altstack support code which is
now in mini-exceptions.c.
svn path=/trunk/mono/; revision=50077
Geoff Norton [Thu, 15 Sep 2005 13:03:22 +0000 (13:03 -0000)]
2005-09-31 Geoff Norton <gnorton@customerdna.com>
* LOADER: Launch a runtime generated symlink to mono instead of
/usr/bin/mono. This makes the Application Title in the menu appear
correctly and not as "mono".
svn path=/trunk/mcs/; revision=50076
Raja R Harinath [Thu, 15 Sep 2005 11:32:49 +0000 (11:32 -0000)]
Fix whitespace
svn path=/trunk/mcs/; revision=50074
Zoltan Varga [Thu, 15 Sep 2005 11:21:13 +0000 (11:21 -0000)]
2005-09-15 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c: Applied patch from Patrik Torstensson
<patrik.torstensson@gmail.com>. Add stack overflow handling support for win32.
svn path=/trunk/mono/; revision=50073
Zoltan Varga [Thu, 15 Sep 2005 11:18:39 +0000 (11:18 -0000)]
2005-09-15 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c mini-x86.c mini.c: Move the altstack setup/teardown
code into mini-exceptions.c. Add some assertions to it.
svn path=/trunk/mono/; revision=50072
Ankit Jain [Thu, 15 Sep 2005 07:23:45 +0000 (07:23 -0000)]
In ilasm/codegen:
2005-09-15 Ankit Jain <jankit@novell.com>
* DeclSecurity.cs (IDeclSecurityTarget.AddDeclSecurity): Remove.
(IDeclSecurityTarget.AddPermission),
(IDeclSecurityTarget.AddPermissionSet): New.
(DeclSecurity.IDeclSecurityTarget): Implement new interface methods.
(DeclSecurity.sec_action),
(DeclSecurity.data): Remove.
(DeclSecurity.permissionset_table): New.
(DeclSecurity.ctor): Replace parameterized constructor with a default one.
(DeclSecurity.AddTo): AddDeclSecurity for all Security Actions in the permissionset_table.
* TypeDef.cs (TypeDef.declsecurity_list): Remove.
(TypeDef.decl_sec): New.
(TypeDef.IDeclSecurityTarget): Implement new interface methods.
(TypeDef.DefineContents): Use new decl_sec instead of declsecurity_list.
* CodeGen.cs (CodeGen.assembly_declsec): Change type from ArrayList to DeclSecurity.
(CodeGen.EndAssemblyRef): Set current_customattrtarget and current_declsectarget to null.
(CodeGen.IDeclSecurityTarget): Implement new interface methods.
(CodeGen.Write): Add assembly_declsec to the assembly (using DeclSecurity.AddTo).
* ExternTable.cs (ExternAssembly.declsec_list): Remove.
(ExternAssembly.decl_sec): New.
(ExternAssembly.Resolve): Use new decl_sec instead of declsec_list.
(ExternAssembly.IDeclSecurityTarget): Implement new interface methods.
* MethodDef.cs (MethodDef.declsecurity_list): Remove.
(MethodDef.decl_sec): New.
(MethodDef.IDeclSecurityTarget): Implement new interface methods.
(MethodDef.WriteCode): Use new decl_sec instead of declsecurity_list.
* ExternTypeRef.cs (ExternTypeRef.GetReflectedType): New.
In ilasm/parser:
2005-09-15 Ankit Jain <jankit@novell.com>
* ILParser.jay (ILParser.NameValuePair): New.
(ILParser.PermPair): New.
(ILParser.CheckSecurityActionValidity): New.
(ILParser.ClassRefToObject): New.
(ILParser.TypeSpecToPermPair): New.
(class_decl | sec_decl): Use the new codegen.AddPermission .
(method_decl | sec_decl): Use the new codegen.AddPermission .
(sec_decl | D_PERMISSION ..): Use the new TypeSpecToPermPair method.
(sec_decl | D_PERMISSIONSET ..): Use PermissionSetAttribute to create PermissionSet
which will validate the bytearray.
(nameval_pairs): Create ArrayList of NameValuePair.
(nameval_pair): Create NameValuePair.
(cavalue | class_ref): Use ClassRefToObject.
(assembly_decl | sec_decl): Use the new codegen.AddAssemblyPermission .
svn path=/trunk/mcs/; revision=50071
Ankit Jain [Thu, 15 Sep 2005 07:19:18 +0000 (07:19 -0000)]
* test-perm_fail-[1234].il: New. Negative Tests for .permission directive.
* test-perm_pass-1.il: New. Test for .permission directive.
svn path=/trunk/mcs/; revision=50070
Boris Kirzner [Thu, 15 Sep 2005 05:48:08 +0000 (05:48 -0000)]
Fix for TARGET_JVM project file.
svn path=/trunk/mcs/; revision=50069
Sebastien Pouliot [Thu, 15 Sep 2005 02:58:35 +0000 (02:58 -0000)]
Add more CAS unit tests for System.Web.UI
svn path=/trunk/mcs/; revision=50068
Sebastien Pouliot [Thu, 15 Sep 2005 02:57:58 +0000 (02:57 -0000)]
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level. Fixed some exceptions.
* DataBindingCollection.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Added 2.0 method and
event.
* DataBindingHandlerAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level. Simplified Equals (reduced casts).
* DataBoundLiteralControl.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Implemented ITextControl
for 2.0.
* DesignerDataBoundLiteralControl.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Added new 2.0 properties.
* DesignTimeTemplateParser.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Made class static and
stubbed missing methods (2.0).
* EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level. Changed Add* methods
exceptions to HttpException.
svn path=/trunk/mcs/; revision=50067
Sebastien Pouliot [Thu, 15 Sep 2005 02:50:48 +0000 (02:50 -0000)]
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* DataBinderCas.cs: New. CAS unit tests.
* DataBindingCas.cs: New. CAS unit tests.
* DataBindingCollectionCas.cs: New. CAS unit tests.
* DataBindingHandlerAttributeCas.cs: New. CAS unit tests.
* DataBoundLiteralControlCas.cs: New. CAS unit tests.
* DesignerDataBoundLiteralControlCas.cs: New. CAS unit tests.
* DesignTimeParseDataCas.cs: New. CAS unit tests.
* DesignTimeTemplateParserCas.cs: New. CAS unit tests.
* EmptyCollectionCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=50066
Chris Toshok [Wed, 14 Sep 2005 21:32:38 +0000 (21:32 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.UI/Option.cs: new implementation.
* Test/Microsoft.Web.UI/OptionTest.cs: new test.
* Microsoft.Web.Atlas_test.dll.sources: add OptionTest.cs
* Microsoft.Web.Atlas.dll.sources: add Option.cs
svn path=/trunk/mcs/; revision=50065
Chris Toshok [Wed, 14 Sep 2005 21:32:30 +0000 (21:32 -0000)]
typo
svn path=/trunk/mcs/; revision=50064
Chris Toshok [Wed, 14 Sep 2005 21:23:38 +0000 (21:23 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.UI/PropertyFilter.cs: new implementation.
* Microsoft.Web.UI/Filter.cs: new implementation.
* Test/Microsoft.Web.UI/PropertyFilterTest.cs: new test.
* Microsoft.Web.Atlas_test.dll.sources: add PropertyFilterTest.cs
* Microsoft.Web.Atlas.dll.sources: add PropertyFilter.cs
svn path=/trunk/mcs/; revision=50063
Chris Toshok [Wed, 14 Sep 2005 21:00:09 +0000 (21:00 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.Atlas.dll.sources: add DraggableListItem.cs
* Microsoft.Web.UI/HoverBehavior.cs (AddAttributesToElement): add
comment about how MS NRE's here in our tests.
(InitializeTypeDescriptor): fix the ServerPropertyName for
"hoverElement".
* Microsoft.Web.UI/DraggableListItem.cs (AddAttributesToElement):
add comment about how MS NRE's here in our tests.
* Microsoft.Web.UI/DataSourceDropTarget.cs
(AddAttributesToElement): add comment about how MS NRE's here in
our tests.
* Microsoft.Web.UI/FloatingBehavior.cs (AddAttributesToElement):
add comment about how MS NRE's here in our tests.
* Microsoft.Web/Binding.cs: new implementation.
* Microsoft.Web/BindingDirection.cs: fix ordering on enum.
svn path=/trunk/mcs/; revision=50062
Chris Toshok [Wed, 14 Sep 2005 20:57:02 +0000 (20:57 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.Atlas_test.dll.sources: add BindingTest and
DraggableListItemTest.
* Test/Microsoft.Web/*: lots of new test work.
* Test/Microsoft.Web.UI/*: lots of new test work.
svn path=/trunk/mcs/; revision=50061
Martin Baulig [Wed, 14 Sep 2005 20:03:27 +0000 (20:03 -0000)]
2005-09-14 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.h (MONO_SYMBOL_FILE_VERSION): Bump version to 39.
svn path=/trunk/mono/; revision=50056
Martin Baulig [Wed, 14 Sep 2005 20:02:58 +0000 (20:02 -0000)]
Reflect latest symbol writer changes.
svn path=/trunk/mcs/; revision=50055
Martin Baulig [Wed, 14 Sep 2005 20:02:23 +0000 (20:02 -0000)]
2005-09-14 Martin Baulig <martin@ximian.com>
* MonoSymbolTable.cs (OffsetTable): Bump version to 39.
(LocalVariableEntry.Index): New field.
* MonoSymbolWriter.cs
(MonoSymbolWriter.DefineLocalVariable): Added `int index' argument.
* MonoSymbolFile.cs
(MonoDebuggerSupport.GetLocalIndex): New method.
svn path=/trunk/mcs/; revision=50054
Martin Baulig [Wed, 14 Sep 2005 19:59:32 +0000 (19:59 -0000)]
2005-09-14 Martin Baulig <martin@ximian.com>
* LocalBuilder.cs
(LocalBuilder.Mono_GetLocalIndex): New static internal method;
same as the .NET 2.0 property `LocalIndex'.
svn path=/trunk/mcs/; revision=50053
Atsushi Eno [Wed, 14 Sep 2005 18:18:06 +0000 (18:18 -0000)]
2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
in System.Xml:
* XmlTextReader.cs : when there is a heading half of surrogate
* at the
end of read buffer, it didn't treat it as a surrogate.
Fixed bug #76102.
in Test/System.Xml:
* XmlTextReaderTests.cs : added #76102 testcase.
in Test/XmlFiles:
* 76102.xml : added test for bug #76102.
in Test/System.Xml/W3C:
* Makefile: build fix.
svn path=/trunk/mcs/; revision=50050
Jordi Mas i Hernandez [Wed, 14 Sep 2005 17:56:37 +0000 (17:56 -0000)]
2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
* TestGraphics.cs: Adds default properties, properties set/get and save
and restore status test
svn path=/trunk/mcs/; revision=50046
Sebastien Pouliot [Wed, 14 Sep 2005 17:39:26 +0000 (17:39 -0000)]
oops, forgot to make ResolveClientUrl public
svn path=/trunk/mcs/; revision=50045
Sebastien Pouliot [Wed, 14 Sep 2005 17:28:14 +0000 (17:28 -0000)]
Add new CAS tests to the build. Changed Makefile not to warn for 649 while building (obsolete stuff)
svn path=/trunk/mcs/; revision=50044
Sebastien Pouliot [Wed, 14 Sep 2005 17:27:08 +0000 (17:27 -0000)]
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* Menu.cs: Fixed parameter orders for CreateStyleRule.
svn path=/trunk/mcs/; revision=50043
Sebastien Pouliot [Wed, 14 Sep 2005 17:26:26 +0000 (17:26 -0000)]
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
svn path=/trunk/mcs/; revision=50042
Sebastien Pouliot [Wed, 14 Sep 2005 17:25:07 +0000 (17:25 -0000)]
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* BaseParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* CompiledTemplateBuilder.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ConstructorNeedsTagAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ControlBuilderAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals and
IsDefaultAttribute.
* ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
* ControlCollection.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed possible stack
overflow in Add* methods. Fixed CopyTo as we're not allocating the
array based on the number of items.
* Control.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
* CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* IStyleSheet.cs: Fixed parameter orders (2.0).
svn path=/trunk/mcs/; revision=50041
Konstantin Triger [Wed, 14 Sep 2005 16:22:15 +0000 (16:22 -0000)]
fix drawing arcs for angles >= 360
svn path=/trunk/mcs/; revision=50040
Sebastien Pouliot [Wed, 14 Sep 2005 15:58:39 +0000 (15:58 -0000)]
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* AttributeCollectionCas.cs: New. CAS unit tests.
* BaseParserCas.cs: New. CAS unit tests.
* CompiledTemplateBuilderCas.cs: New. CAS unit tests.
* ConstructorNeedsTagAttributeCas.cs: New. CAS unit tests.
* ControlBuilderAttributeCas.cs: New. CAS unit tests.
* ControlBuilderCas.cs: New. CAS unit tests.
* ControlCas.cs: New. CAS unit tests.
* ControlCollectionCas.cs: New. CAS unit tests.
* CssStyleCollectionCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=50039
Sebastien Pouliot [Wed, 14 Sep 2005 15:52:53 +0000 (15:52 -0000)]
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
compare with "True" (culture and case sensitivity).
* HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
demand.
* HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
and methods to test CAS on them.
* HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
proper values when worker_request is null.
* HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
proper values when context or WorkerRequest is null. Added 2.0
properties and methods to test CAS on them.
* HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
demands for properties returning directories. Added demand for High
level on AppDomainAppId and AppDomainId properties, Low level on
IsOnUNCShare, Medium level on ProcessRequest and a demand for
UnmanagedCode on UnloadAppDomain method. Constructor also has a
UnmanagedCode demand for 1.x.
* HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
a UnmanagedCode demand to public ctor. Added internal ctor without the
demand. Changed Serialize and Deserialize methods to public for 2.0.
svn path=/trunk/mcs/; revision=50038
Sebastien Pouliot [Wed, 14 Sep 2005 12:28:46 +0000 (12:28 -0000)]
* HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the default values for them.
svn path=/trunk/mcs/; revision=50037
Sebastien Pouliot [Wed, 14 Sep 2005 12:27:16 +0000 (12:27 -0000)]
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* HttpWorkerRequestTest.cs: Add test cases for default values of new
2.0 APIs.
svn path=/trunk/mcs/; revision=50036
Sebastien Pouliot [Wed, 14 Sep 2005 12:25:43 +0000 (12:25 -0000)]
2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
* HtmlInputTextTest.cs: Fix expected value for LoadPostData (in the
cases where MS returns a NullReferenceException).
svn path=/trunk/mcs/; revision=50035
Ritvik Mayank [Wed, 14 Sep 2005 11:11:53 +0000 (11:11 -0000)]
Added DISTFILES entry for isc_error_msg.resources
svn path=/trunk/mcs/; revision=50034
Ritvik Mayank [Wed, 14 Sep 2005 09:52:19 +0000 (09:52 -0000)]
Added mcs.exe path
svn path=/trunk/mcs/; revision=50033
Chris Toshok [Wed, 14 Sep 2005 09:45:34 +0000 (09:45 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.Atlas_test.dll.sources: add DragDropListTest.cs
* Microsoft.Web.Atlas.dll.sources: add DragDropList.cs
* Microsoft.Web.UI/DragDropList.cs: new implementation.
* Test/Microsoft.Web.UI/DragDropListTest.cs: new tests.
svn path=/trunk/mcs/; revision=50032
Atsushi Eno [Wed, 14 Sep 2005 09:37:39 +0000 (09:37 -0000)]
2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : (_DoParse) don't check ticks range before computing
the actual value. Fixed bug #76082.
* DateTimeTest.cs : test for #76082.
svn path=/trunk/mcs/; revision=50031
Chris Toshok [Wed, 14 Sep 2005 09:21:43 +0000 (09:21 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Test/Microsoft.Web.UI/DataSourceDropTargetTest.cs: expand the
property tests.
* Microsoft.Web.UI/DataSourceDropTarget.cs: fix up the default
values and behavior of properties.
svn path=/trunk/mcs/; revision=50030
Chris Toshok [Wed, 14 Sep 2005 09:13:38 +0000 (09:13 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.Atlas_test.dll.sources: add DataSourceDropTargetTest.cs
* Microsoft.Web.Atlas.dll.sources: add DataSourceDropTarget.cs
* Microsoft.Web.UI/DataSourceDropTarget.cs: new implementation.
* Test/Microsoft.Web.UI/DataSourceDropTargetTest.cs: new tests.
svn path=/trunk/mcs/; revision=50029
Chris Toshok [Wed, 14 Sep 2005 09:02:06 +0000 (09:02 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.Atlas_test.dll.sources: add HoverBehaviorTest.cs
* Microsoft.Web.Atlas.dll.sources: add HoverBehavior.cs
* Microsoft.Web.UI/HoverBehavior.cs: new implementation.
* Test/Microsoft.Web.UI/HoverBehaviorTest.cs: new tests.
svn path=/trunk/mcs/; revision=50028
Chris Toshok [Wed, 14 Sep 2005 08:50:51 +0000 (08:50 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.UI/ClickBehavior.cs: fix a nullref in kind of a
stupid way.. leave an XXX.
* Microsoft.Web.Atlas_test.dll.sources: add FloatingBehaviorTest.cs
* Microsoft.Web.Atlas.dll.sources: add FloatingBehavior.cs
* Microsoft.Web.UI/FloatingBehavior.cs: new implementation.
* Test/Microsoft.Web.UI/FloatingBehaviorTest.cs: new tests.
svn path=/trunk/mcs/; revision=50027
Chris Toshok [Wed, 14 Sep 2005 08:37:04 +0000 (08:37 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.Atlas.dll_sources: add implementations.
* Microsoft.Web.Atlas_test.dll_sources: add tests.
* Microsoft.Web/Behavior.cs: this class is pretty much empty.
* Microsoft.Web/ActionCollection.cs: make the readonly stuff work.
someone with more experience with this crap should tell me whether
i did it right..
* Microsoft.Web/ScriptMemberDescriptor.cs: cleanup.
* Microsoft.Web/ScriptComponent.cs: cleanup.
* Microsoft.Web/ScriptTypeDescriptor.cs (.ctor): cleanup.
* Microsoft.Web/ScriptComponentBase.cs (RenderScript): make this
an explicit interface implementation.
* Microsoft.Web/Action.cs (InitializeTypeDescriptor): move some of
the propertydescriptors from ScriptComponentBase to here, as they
don't show up when we get type descriptors for Behaviors.
* Microsoft.Web/BehaviorCollection.cs: this class should be
public.
* Microsoft.Web/ScriptControl.cs: stubs.
* Microsoft.Web.UI/Button.cs: stubs.
* Test/Microsoft.Web.UI/ClickBehavior.cs: new tests.
* Microsoft.Web.UI/ClickBehavior: new implementation.
* Test/Microsoft.Web/ScriptEventTest.cs: new tests.
* Microsoft.Web/ScriptEvent.cs: round out implementation.
svn path=/trunk/mcs/; revision=50026
Vladimir Krasnov [Wed, 14 Sep 2005 07:26:52 +0000 (07:26 -0000)]
System.Drawing.vmwcsproj: Added PlainImage.jvm.cs
PlainImageCollection.jvm.cs
Bitmap.jvm.cs: native object refactoring
Image.jvm.cs: native object refactoring
Graphics.jvm.cs: fixed access to image native object
TextureBrush.jvm.cs: fixed access to image native object
ImageCodecInfo.jvm.cs: fixed ImageCodec namespace
ImageCodec.jvm.cs: refactoring of read/write methods
svn path=/trunk/mcs/; revision=50025
Boris Kirzner [Wed, 14 Sep 2005 07:21:23 +0000 (07:21 -0000)]
Fix SqlDbType to JDBC type convertion for TARGET_JVM.
svn path=/trunk/mcs/; revision=50024
Chris Toshok [Wed, 14 Sep 2005 06:37:59 +0000 (06:37 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Test/Microsoft.Web/ActionTest.cs,
Microsoft.Web/BehaviorCollection.cs,
Microsoft.Web/ScriptComponentBase.cs,
Microsoft.Web/BindingCollection.cs,
Microsoft.Web/ActionCollection.cs, Microsoft.Web/Behavior.cs,
Microsoft.Web/IScriptObject.cs, Microsoft.Web/Binding.cs: fix a
missing method in IScriptObject.
svn path=/trunk/mcs/; revision=50023
Chris Toshok [Wed, 14 Sep 2005 06:37:08 +0000 (06:37 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Test/Microsoft.Web/SetPropertyActionTest.cs,
Test/Microsoft.Web/InvokeMethodActionTest.cs: new tests.
* Microsoft.Web/SetPropertyAction.cs,
Microsoft.Web/InvokeMethodAction.cs: new implementations.
* Microsoft.Web.Atlas.dll_sources: add implementations.
* Microsoft.Web.Atlas_test.dll_sources: add tests.
svn path=/trunk/mcs/; revision=50022
Chris Toshok [Wed, 14 Sep 2005 06:07:09 +0000 (06:07 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.Atlas_test.dll.sources: add
ScriptComponentBaseTest.
* Test/Microsoft.Web/ScriptComponentBaseTest.cs: new tests.
* Microsoft.Web/ScriptEventCollection.cs: naive, untested,
implementation to get the other tests running.
* Microsoft.Web/ScriptEvent.cs: same.
* Microsoft.Web/BindingCollection.cs: same.
* Microsoft.Web/ActionCollection.cs: same.
* Microsoft.Web/ScriptComponentBase.cs: round out implementation.
svn path=/trunk/mcs/; revision=50021
Geoff Norton [Wed, 14 Sep 2005 05:27:42 +0000 (05:27 -0000)]
2005-09-14 Geoff Norton <gnorton@customerdna.com>
* carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
* Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
* gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
svn path=/trunk/mcs/; revision=50020
Chris Toshok [Wed, 14 Sep 2005 05:13:54 +0000 (05:13 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web/ScriptComponentBase.cs (InitializeTypeDescriptor):
implement.
* Microsoft.Web/ScriptType.cs: fix enum.
* Microsoft.Web/Action.cs: round out implementation.
* Test/Microsoft.Web/ActionTest.cs: more tests.
svn path=/trunk/mcs/; revision=50016
Chris Toshok [Wed, 14 Sep 2005 04:56:37 +0000 (04:56 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web/ScriptMemberDescriptor.cs: new implementation.
* Microsoft.Web/ScriptTypeDescriptor.cs: new implementation.
* Microsoft.Web/ScriptMethodDescriptor.cs: new implementation.
* Microsoft.Web/ScriptEventDescriptor.cs: new implementation.
* Microsoft.Web/ScriptPropertyDescriptor.cs: new implementation.
svn path=/trunk/mcs/; revision=50015
Chris Toshok [Wed, 14 Sep 2005 04:54:59 +0000 (04:54 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Test/Microsoft.Web/ScriptEventDescriptorTest.cs,
Test/Microsoft.Web/ScriptMethodDescriptorTest.cs,
Test/Microsoft.Web/ScriptPropertyDescriptorTest.cs: new tests.
* Microsoft.Web.Atlas_test.dll.sources: add the descriptor tests.
svn path=/trunk/mcs/; revision=50014
César Natarén [Wed, 14 Sep 2005 04:22:36 +0000 (04:22 -0000)]
no need to reference mcs.exe
svn path=/trunk/mcs/; revision=50013
César Natarén [Wed, 14 Sep 2005 04:19:03 +0000 (04:19 -0000)]
reference mcs.exe, needed for namespaces lookup
svn path=/trunk/mcs/; revision=50012
César Natarén [Wed, 14 Sep 2005 04:18:05 +0000 (04:18 -0000)]
2005-09-13 Cesar Lopez Nataren <cnataren@novell.com>
* VsaEngine.cs: Override method Compile and SetOption from BaseVsaEngine,
svn path=/trunk/mcs/; revision=50011
Chris Toshok [Wed, 14 Sep 2005 04:17:53 +0000 (04:17 -0000)]
2005-09-14 Chris Toshok <toshok@ximian.com>
* Microsoft.Web.Atlas_test.dll.sources: add
ScriptTypeDescriptorTest
* Test/Microsoft.Web/ScriptTypeDescriptorTest.cs: new test.
svn path=/trunk/mcs/; revision=50010
César Natarén [Wed, 14 Sep 2005 04:17:21 +0000 (04:17 -0000)]
2005-09-13 Cesar Lopez Nataren <cnataren@novell.com>
* BaseVsaEngine.cs: Move the code from Compile to the VsaEngine.
svn path=/trunk/mcs/; revision=50009
César Natarén [Wed, 14 Sep 2005 04:16:40 +0000 (04:16 -0000)]
changelog entries
svn path=/trunk/mcs/; revision=50008