Gonzalo Paniagua Javier [Mon, 28 Nov 2005 21:48:58 +0000 (21:48 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTable.cs: use the base class RenderChildren, as '_rows'
might not be the actual collection being used. Fixes bug #76815.
svn path=/trunk/mcs/; revision=53593
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 21:47:25 +0000 (21:47 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTableTest.cs: remove white-space characters when comparing
the output.
svn path=/trunk/mcs/; revision=53592
Jonathan Pryor [Mon, 28 Nov 2005 21:20:41 +0000 (21:20 -0000)]
* Mono.Unix/Catalog.cs, Mono.Unix/UnixDirectory.cs,
Mono.Unix/UnixDirectoryInfo.cs, Mono.Unix/UnixDriveInfo.cs,
Mono.Unix/UnixEnvironment.cs, Mono.Unix/UnixFile.cs,
Mono.Unix/UnixFileInfo.cs, Mono.Unix/UnixFileSystemInfo.cs,
Mono.Unix/UnixGroup.cs, Mono.Unix/UnixGroupInfo.cs,
Mono.Unix/UnixProcess.cs, Mono.Unix/UnixSymbolicLinkInfo.cs,
Mono.Unix/UnixUser.cs, Mono.Unix/UnixUserInfo.cs: Change types of
[Obsolete] members for consistency and CLS compliance;
Mono.Unix.Native type migration.
* Mono.Unix/FileTypes.cs: s/Special/Device/g
(CharacterSpecial ==> CharacterDevice). The *Special was a BSD
convention, while UnixFileSystemInfo uses *Device in property names, and
these should be consistent. Changing the enum is simpler than changing
the UnixFileSystemInfo properties.
* Mono.Unix/UnixIOException.cs: s/error/errno/g (FxCop suggestion); change
type of ErrorCode property.
* Mono.Unix/UnixMarshal.cs: s/error/errno/g (FxCop suggestion);
Mono.Unix.Native type migration.
* Test/Mono.Unix/UnixGroupTest.cs: The type of UnixGroupInfo.GroupId changed.
UnixGroup is deprecated; use UnixGroupInfo instead.
* Test/Mono.Unix/UnixUserTest.cs: The type of UnixUserInfo.UserId changed.
UnixUser if deprecated; use UnixUserInfo instead.
svn path=/trunk/mcs/; revision=53591
Jackson Harper [Mon, 28 Nov 2005 21:16:23 +0000 (21:16 -0000)]
* ListView.cs: Raise the click event when items are clicked.
svn path=/trunk/mcs/; revision=53590
Chris Toshok [Mon, 28 Nov 2005 21:10:21 +0000 (21:10 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* HttpContext.cs (Profile): remove the #if false from around this,
as we now have the ProfileBase type.
(GetConfig): add CONFIGURATION_2_0 version.
(GetSection): add CONFIGURATION_2_0 version.
svn path=/trunk/mcs/; revision=53589
Chris Toshok [Mon, 28 Nov 2005 21:05:15 +0000 (21:05 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* PagesSection.cs (GetInstance): nuke.
* CompilationSection.cs (GetInstance): nuke.
svn path=/trunk/mcs/; revision=53588
Jackson Harper [Mon, 28 Nov 2005 21:04:09 +0000 (21:04 -0000)]
* MdiClient.cs: Make this algorithm even more beautiful. And fix
a nullref.
svn path=/trunk/mcs/; revision=53587
Chris Toshok [Mon, 28 Nov 2005 21:03:50 +0000 (21:03 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* SmtpClient.cs: ignore warning 618 (obsolete) when compiling an
already obsolete api (in the 2.0 case).
* MailAttachment.cs: same.
* MailMessageWrapper.cs: same.
* MailMessage.cs: same.
svn path=/trunk/mcs/; revision=53586
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 21:03:20 +0000 (21:03 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* EndPointListener.cs:
* HttpListenerRequest.cs: don't require the Host header for 1.0. Just
map that to the '*' or '+' host.
svn path=/trunk/mcs/; revision=53585
Chris Toshok [Mon, 28 Nov 2005 20:59:45 +0000 (20:59 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* CachingCompiler.cs (Compile): CONFIGURATION_2_0 work.
* BaseCompiler.cs (GetCompiledType): CONFIGURATION_2_0 work.
svn path=/trunk/mcs/; revision=53584
Chris Toshok [Mon, 28 Nov 2005 20:56:56 +0000 (20:56 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* WebEncoding.cs (FileEncoding, ResponseEncoding,
RequestEncoding): CONFIGURATION_2_0 work.
svn path=/trunk/mcs/; revision=53583
Chris Toshok [Mon, 28 Nov 2005 20:54:41 +0000 (20:54 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* Page.cs (GetFormatter): CONFIGURATION_2_0 work.
* TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
(PagesConfig): add a CONFIGURATION_2_0 version that returns a
PagesSection.
* PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
* BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
version that returns a CompilationSection.
svn path=/trunk/mcs/; revision=53582
Chris Toshok [Mon, 28 Nov 2005 20:39:16 +0000 (20:39 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* FormsAuthenticationModule.cs (OnAuthenticateRequest):
CONFIGURATION_2_0 work.
(OnEndRequest): same.
svn path=/trunk/mcs/; revision=53581
Chris Toshok [Mon, 28 Nov 2005 20:35:51 +0000 (20:35 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
* QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
* HttpRequest.cs (AnonymousID): add 2.0 property.
(MakeInputStream): CONFIGURATION_2_0 work.
* HttpApplication.cs (InitOnce): change around the
CONFIGURATION_2_0 stuff since we need additional Culture foo for
it.
svn path=/trunk/mcs/; revision=53580
Chris Toshok [Mon, 28 Nov 2005 20:30:39 +0000 (20:30 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* HttpApplication.cs (InitOnce): change around the
CONFIGURATION_2_0 stuff since we need additional Culture foo for
it.
svn path=/trunk/mcs/; revision=53579
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 20:28:54 +0000 (20:28 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpListenerTest.cs: disable 2 tests. We're throwing the wrong
exception.
svn path=/trunk/mcs/; revision=53578
Chris Toshok [Mon, 28 Nov 2005 20:25:48 +0000 (20:25 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* HttpHandlerAction.cs: add some c&p code from the 1.1 config
stuff to look for matching handlers.
(..ctor): add parameterless ctor.
* HttpHandlerActionCollection.cs: clean up formatting.
(CreateNewElement): call the parameter-less ctor for
HttpHandlerAction.
* HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
the default collection.
(get_Handlers): implement.
(LocateHandler): copy over (and massage) some 1.1 config code.
* MachineKeySection.cs: move some code over from the 1.1 config
code to deal with autogeneration of keys, as well as converting
from the string rep to the byte[] rep.
svn path=/trunk/mcs/; revision=53577
Chris Toshok [Mon, 28 Nov 2005 20:21:00 +0000 (20:21 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* HttpModuleActionCollection.cs (CreateNewElement): use the new
HttpModuleAction ctor.
* HttpModuleAction.cs: add internal ctor with no parameters, for
use in HttpModuleActionCollection.
svn path=/trunk/mcs/; revision=53576
Chris Toshok [Mon, 28 Nov 2005 20:12:27 +0000 (20:12 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* GlobalizationSection.cs (..cctor): the encoding
ConfigurationProperties are of type "string", even though the
properties themselves are of type Encoding. we do conversions
manually in the setter/getters. gross. Add code (mostly c&p +
massaged from GlobalizationConfigurationHandler) for this and also
to handle the culture gettes.
svn path=/trunk/mcs/; revision=53575
Chris Toshok [Mon, 28 Nov 2005 19:51:05 +0000 (19:51 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* SettingValueElement.cs: wrap a few more things in
CONFIGURATION_DEP.
svn path=/trunk/mcs/; revision=53573
Alexandre Rocha Lima e Marcondes [Mon, 28 Nov 2005 18:40:00 +0000 (18:40 -0000)]
2005-11-28 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* decl.cs: Avoid to stop searching for class members after
encountering the first member, in order to find the inherited
or overloaded members.
svn path=/trunk/mcs/; revision=53571
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 18:06:53 +0000 (18:06 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlInputFile.cs: if no one else set the encoding type for the
containing form and there's a HtmlInputFile, set Enctype to
'multipart/form-data'. Fixes bug #76837.
svn path=/trunk/mcs/; revision=53567
Alexandre Rocha Lima e Marcondes [Mon, 28 Nov 2005 17:17:32 +0000 (17:17 -0000)]
2005-11-28 Jelmer Vernooij <jelmer@samba.org>
* Fix to Bugzilla Bug #76476: bash-specific code in
mbas/Test/misc/Makefile
svn path=/trunk/mcs/; revision=53564
Raja R Harinath [Mon, 28 Nov 2005 15:41:18 +0000 (15:41 -0000)]
* class-internals.h (MonoGenericContainer.is_signature): Remove.
* metadata.c (mono_metadata_parse_method_signature_full): Don't
create a temporary signature container.
(mono_metadata_parse_generic_param): Update to changes.
(mono_type_create_from_typespec_full): Update to changes.
* loader.c (method_from_memberref): Don't use a
MonoGenericContainer while parsing a memberref signature.
(method_from_methodspec): Remove dead-store of the 'container'
variable. It's overwritten before use.
svn path=/trunk/mono/; revision=53560
Konstantin Triger [Mon, 28 Nov 2005 14:47:28 +0000 (14:47 -0000)]
refactoring
svn path=/trunk/mcs/; revision=53558
Raja R Harinath [Mon, 28 Nov 2005 14:25:59 +0000 (14:25 -0000)]
* metadata.c (mono_type_create_from_typespec_full): Make debugging
checks tighter.
(mono_metadata_parse_generic_param): Likewise.
* loader.c (find_method_in_class): Does not need a
MonoGenericContainer. Use 'mono_method_signature' rather than
'mono_method_signature_full'.
(find_method, mono_get_method_constrained, method_from_memberref):
Update to changes.
svn path=/trunk/mono/; revision=53556
Konstantin Triger [Mon, 28 Nov 2005 14:24:29 +0000 (14:24 -0000)]
TARGET_JVM icon support
svn path=/trunk/mcs/; revision=53555
Atsushi Eno [Mon, 28 Nov 2005 12:55:44 +0000 (12:55 -0000)]
2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
* Encoding.cs, ASCIIEncoding.cs, Latin1Encoding.cs :
Added IsSingleByte.
* ByteEncoding.cs : added IsSingleByte.
svn path=/trunk/mcs/; revision=53551
Atsushi Eno [Mon, 28 Nov 2005 12:25:41 +0000 (12:25 -0000)]
2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
* Encoder.cs : added new GetByteCount()/GetBytes() overloads.
Added FallbackBuffer.
* Decoder.cs : added new GetCharCount()/GetChars() overloads.
svn path=/trunk/mcs/; revision=53548
Raja R Harinath [Mon, 28 Nov 2005 12:14:07 +0000 (12:14 -0000)]
* metadata.c (mono_type_create_from_typespec_full): Ensure that
owner-less generic-parameters are never evicted from the typespec
cache.
svn path=/trunk/mono/; revision=53547
Raja R Harinath [Mon, 28 Nov 2005 11:31:22 +0000 (11:31 -0000)]
* loader.c (method_from_memberref): Don't use the current context
when parsing signatures.
(method_from_methodspec, mono_get_method_from_token): Update to changes.
svn path=/trunk/mono/; revision=53546
Atsushi Eno [Mon, 28 Nov 2005 11:24:12 +0000 (11:24 -0000)]
2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
* corlib.dll.sources: added EncodingInfo.cs.
* EncodingInfo.cs : new file.
svn path=/trunk/mcs/; revision=53545
Atsushi Eno [Mon, 28 Nov 2005 10:34:41 +0000 (10:34 -0000)]
2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
* UTF32Encoding.cs : Sealed. Added the overload which has
throwOnInvalid parameter.
* NormalizationForm.cs : removed [Serializable].
svn path=/trunk/mcs/; revision=53544
Ankit Jain [Mon, 28 Nov 2005 10:04:12 +0000 (10:04 -0000)]
* ExternTypeRef.cs (extern_table): Remove unused field.
(.ctor): Remove parameter for extern_table. Update usage accordingly.
* ExternTable.cs (IScope): Remove unused 'table' parameter.
(ExternRef): Change IScope interface implementation accordingly. Update
call to ExternTypeRef.ctor for the previous change.
svn path=/trunk/mcs/; revision=53543
Raja R Harinath [Mon, 28 Nov 2005 09:52:05 +0000 (09:52 -0000)]
* metadata.c (do_mono_metadata_parse_generic_class): Avoid
side-effects in g_assert.
* loader.c (mono_get_method_from_token): Resolve klass earlier so
that we don't potentially lose information.
svn path=/trunk/mono/; revision=53542
Raja R Harinath [Mon, 28 Nov 2005 08:03:07 +0000 (08:03 -0000)]
* mini/Makefile.am (ILASM): Use profile-dependent location of ilasm.
* tests/Makefile.am (ILASM): Use profile-dependent location of ilasm.
svn path=/trunk/mono/; revision=53541
Ankit Jain [Mon, 28 Nov 2005 06:42:15 +0000 (06:42 -0000)]
* StringHelper.cs (idChars): Add ` to the list.
svn path=/trunk/mcs/; revision=53540
Atsushi Eno [Mon, 28 Nov 2005 05:10:05 +0000 (05:10 -0000)]
2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
* Encoding.cs : added UTF32.
svn path=/trunk/mcs/; revision=53539
Atsushi Eno [Mon, 28 Nov 2005 04:33:46 +0000 (04:33 -0000)]
2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
* UTF32Encoding.cs : surrogate pairs vanished in GetBytes() when the
endianness is big.
svn path=/trunk/mcs/; revision=53538
Atsushi Eno [Mon, 28 Nov 2005 03:37:40 +0000 (03:37 -0000)]
2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
* UTF32Encoding.cs : new file.
* corlib.dll.sources: added UTF32Encoding.cs.
svn path=/trunk/mcs/; revision=53537
Chris Toshok [Mon, 28 Nov 2005 03:14:10 +0000 (03:14 -0000)]
2005-11-27 Chris Toshok <toshok@ximian.com>
* HttpApplication.cs (InitOnce): add Configuration_2.0 code.
(GetHandler): same.
svn path=/trunk/mcs/; revision=53536
John Luke [Sun, 27 Nov 2005 21:30:40 +0000 (21:30 -0000)]
2005-11-27 John Luke <john.luke@gmail.com>
* Mono.Cairo/Graphics.cs: add back FontSetSize,
FontSize setter, and FontFace as obsolete API
svn path=/trunk/mcs/; revision=53530
Zoltan Varga [Sun, 27 Nov 2005 21:15:11 +0000 (21:15 -0000)]
2005-11-27 Zoltan Varga <vargaz@gmail.com>
* basic-long.cs basic-calls.cs objects.cs: Move some tests to the
correct files.
svn path=/trunk/mono/; revision=53529
Alexander Olk [Sun, 27 Nov 2005 18:48:46 +0000 (18:48 -0000)]
2005-11-27 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs: - Removed 1 pixel bitmaps
- Use SmoothingMode.AntiAlias where it makes sense
(ScrollButton arrow for example)
- Enhanced Button focus drawing
- Fixed ComboBox drawing (no artefacts anymore, focus
rectangle is back again, reduced size of ComboButton, etc.)
- Fixed RadioButton focus drawing for Appearence.Button
- Slight ScrollButton redesign
- Some LinearGradientBrush size fixes
- GroupBoxes have now rounded edges
- Fixed StatusBar drawing
svn path=/trunk/mcs/; revision=53527
Boris Kirzner [Sun, 27 Nov 2005 16:21:58 +0000 (16:21 -0000)]
Proper handle of return value
parameter and corresponding user parameter
svn path=/trunk/mcs/; revision=53525
Konstantin Triger [Sun, 27 Nov 2005 09:09:03 +0000 (09:09 -0000)]
project file update
svn path=/trunk/mcs/; revision=53523
Konstantin Triger [Sun, 27 Nov 2005 08:21:31 +0000 (08:21 -0000)]
correctly export non-xsd primitive types.
svn path=/trunk/mcs/; revision=53522
Zoltan Varga [Sun, 27 Nov 2005 01:41:57 +0000 (01:41 -0000)]
2005-11-27 Zoltan Varga <vargaz@gmail.com>
* basic.cs: Remove test_0_byte_compares test which was moved to
objects.cs a long time ago.
svn path=/trunk/mono/; revision=53520
Miguel de Icaza [Sun, 27 Nov 2005 00:11:43 +0000 (00:11 -0000)]
2005-11-26 Miguel de Icaza <miguel@novell.com>
* HttpResponseStream.cs: Do not try to write zero bytes.
svn path=/trunk/mcs/; revision=53518
Chris Toshok [Sat, 26 Nov 2005 21:23:58 +0000 (21:23 -0000)]
2005-11-26 Chris Toshok <toshok@ximian.com>
* AuthorizationRuleCollection.cs (GetElementKey): implement this.
* ProfilePropertyNameValidator.cs: make this internal, and add a
blurb about how MS doesn't do the testing you'd expect them to.
svn path=/trunk/mcs/; revision=53515
Miguel de Icaza [Sat, 26 Nov 2005 19:55:22 +0000 (19:55 -0000)]
Update man page
svn path=/trunk/mono/; revision=53513
Miguel de Icaza [Sat, 26 Nov 2005 19:54:58 +0000 (19:54 -0000)]
Update man page
svn path=/trunk/mono/; revision=53512
Miguel de Icaza [Sat, 26 Nov 2005 19:54:46 +0000 (19:54 -0000)]
Add support for Boo as a shortcut
svn path=/trunk/mcs/; revision=53511
Miguel de Icaza [Sat, 26 Nov 2005 17:21:03 +0000 (17:21 -0000)]
Document
svn path=/trunk/mono/; revision=53507
Gert Driesen [Sat, 26 Nov 2005 16:23:45 +0000 (16:23 -0000)]
* CodeGeneratorFromExpressionTest.cs: Added test for
CodeParameterDeclarationExpression.
* CodeGeneratorFromTypeTest.cs: Modified tests to check result
for zero-length event, field and parameter name.
* CodeGeneratorFromStatementTest.cs: Added CodeCommentStatement,
CodeThrowExceptionStatement, CodeGotoStatement and
CodeTryCatchFinallyStatement tests.
* CodeGeneratorFromTypeTestBase.cs: Modified GetMethodMembersType3 to
add parameter with no name.
* CodeGeneratorTestBase.cs: Removed Code property, added Generate
overload taking CodeGeneratorOptions, added NewLine property.
* CodeGeneratorCompileUnitTest.cs: Use Generate method instead of
Code property.
* CodeGeneratorFromExpressionTest.cs: Added test for
CodeParameterDeclarationExpression.
* CodeGeneratorFromTypeTest.cs: Added tests for __exception name that
is output for zero-length field, event and parameter name in 2.0
profile.
* CodeGeneratorFromStatementTest.cs: Added.
* CSharpCodeGenerator.cs: Fixed GenerateComment to also write
comment chars for carriage-return (and skip linefeed, if its the
next character). Fixed output for TryCatchFinallyStatement. Fixed
GotoStatement to end with newline.
* VBCodeGenerator.cs: Fixed NullReferenceException if no ToThrow
expression is set for CodeThrowExceptionStatement. Fixed
GenerateComment to output comment chars for carriage-returns and
linefeed characters. Modified code generated for
CodeTryCatchFinallyStatement to match MS.NET. Fixed code generated
for CodeGotoStatement to match MS.NET. On 2.0 profile, output
"__exception" if name is zero-length string in OutputTypeNamePair.
svn path=/trunk/mcs/; revision=53506
Dick Porter [Sat, 26 Nov 2005 12:53:42 +0000 (12:53 -0000)]
2005-11-26 Dick Porter <dick@ximian.com>
* Semaphore.cs: Implemented with icalls
svn path=/trunk/mcs/; revision=53505
Dick Porter [Sat, 26 Nov 2005 12:53:13 +0000 (12:53 -0000)]
2005-11-26 Dick Porter <dick@ximian.com>
* icall.c:
* threads.c: icalls to implement basic (ie, not named)
System.Threading.Semaphore.
svn path=/trunk/mono/; revision=53504
Chris Toshok [Sat, 26 Nov 2005 03:25:54 +0000 (03:25 -0000)]
add reflection dumping utility, along with the current microsoft output.
svn path=/trunk/mcs/; revision=53503
Chris Toshok [Sat, 26 Nov 2005 03:24:07 +0000 (03:24 -0000)]
svn path=/trunk/mcs/; revision=53502
Chris Toshok [Sat, 26 Nov 2005 03:23:26 +0000 (03:23 -0000)]
2005-11-25 Chris Toshok <toshok@ximian.com>
* AuthorizationRuleCollection.cs (CreateNewElement): remove
MonoTODO.
* CompilationSection.cs (GetRuntimeObject): add comment to TODO.
* ProfileGroupSettings.cs: reformat some things.
* FormsAuthenticationUser.cs (Name): remove MonoTODO.
* WebPartsSection.cs (GetRuntimeObject): change TODO comment.
* ProfilePropertySettings.cs: add internal argument-less ctor.
* IdentitySection.cs (GetRuntimeObject): return this.
* ProfilePropertySettingsCollection.cs: implement much of the
TODO's.
* WebControlsSection.cs (GetRuntimeObject): implement.
* SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
implement.
(GetKey): implement.
svn path=/trunk/mcs/; revision=53501
Chris Toshok [Sat, 26 Nov 2005 03:04:36 +0000 (03:04 -0000)]
add header comment
svn path=/trunk/mcs/; revision=53500
Chris Toshok [Sat, 26 Nov 2005 02:54:30 +0000 (02:54 -0000)]
add an anonymous id example
svn path=/trunk/mcs/; revision=53498
César Natarén [Sat, 26 Nov 2005 02:03:10 +0000 (02:03 -0000)]
raise a warning keep compiling. Give us 8 passing tests
svn path=/trunk/mcs/; revision=53497
César Natarén [Sat, 26 Nov 2005 01:26:12 +0000 (01:26 -0000)]
2005-11-25 Cesar Lopez Nataren <cnataren@novell.com>
* With.cs (JScriptWith): Use Convert.Object before we cast to
ScriptObject as literals fail to be put in the scope chain's
front.
svn path=/trunk/mcs/; revision=53493
John Luke [Sat, 26 Nov 2005 00:06:48 +0000 (00:06 -0000)]
update samples
svn path=/trunk/mcs/; revision=53492
John Luke [Sat, 26 Nov 2005 00:00:13 +0000 (00:00 -0000)]
2005-11-25 John Luke <john.luke@gmail.com>
* Mono.Cairo/Cairo.cs: add font_options* api
add cairo_get_font_matrix
* Mono.Cairo/FontOptions.cs: add
* Mono.Cairo/Graphics.cs: add FontOptions property,
remove FontSize setter and FontSetSize(),
remove FontFace() method as SelectFontFace already exists
remove non-existant TransformFont() and Font property
svn path=/trunk/mcs/; revision=53490
César Natarén [Fri, 25 Nov 2005 23:41:09 +0000 (23:41 -0000)]
2005-11-25 Cesar Lopez Nataren <cnataren@novell.com>
* expression.cs (Call.Emit): implement the case when the invoked
method at call is a property.
* Latebinding.cs: return null in case we don't mach anything.
svn path=/trunk/mcs/; revision=53489
Alexander Olk [Fri, 25 Nov 2005 19:20:55 +0000 (19:20 -0000)]
2005-11-25 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs: - Remove dead code
- use correct background colors for menus, etc.
- Fake pixel drawing with 1 pixel bitmaps
svn path=/trunk/mcs/; revision=53484
Sebastien Pouliot [Fri, 25 Nov 2005 15:44:08 +0000 (15:44 -0000)]
Added new (internal) System.DefaultUriParser to the build.
svn path=/trunk/mcs/; revision=53481
Sebastien Pouliot [Fri, 25 Nov 2005 15:43:25 +0000 (15:43 -0000)]
2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
* DefaultUriParser.cs: Added an internal default parser because (a)
UriParser is abstract and (b) MS doesn't always use the new parser
classes :(
* Uri.cs: Implemented Compare method. Added some FIXME.
* UriParser.cs: Implemented GetComponents and IsBaseOf methods.
Changed parsers to point to the new DefaultUriParser.
svn path=/trunk/mcs/; revision=53480
Sebastien Pouliot [Fri, 25 Nov 2005 15:39:15 +0000 (15:39 -0000)]
2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
* UriBuilderCas.cs: Fixed line endings.
* UriBuilderTest.cs: Fixed line endings and added some comments about
some NotWorking stuff.
* UriParserTest.cs: Added test cases for default parser.
* UriTest3.cs: Added more test cases for new 2.0 features.
svn path=/trunk/mcs/; revision=53479
Sebastien Pouliot [Fri, 25 Nov 2005 15:32:19 +0000 (15:32 -0000)]
2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: Added support for Compare(... StringComparison) in 2.0.
svn path=/trunk/mcs/; revision=53478
Jackson Harper [Fri, 25 Nov 2005 07:26:28 +0000 (07:26 -0000)]
expose the maximized var
svn path=/trunk/mcs/; revision=53475
Alp Toker [Fri, 25 Nov 2005 07:10:10 +0000 (07:10 -0000)]
Correct logic this time
svn path=/trunk/mcs/; revision=53474
Jackson Harper [Fri, 25 Nov 2005 06:49:23 +0000 (06:49 -0000)]
* Form.cs: Make the child context available
svn path=/trunk/mcs/; revision=53473
Alp Toker [Fri, 25 Nov 2005 06:45:46 +0000 (06:45 -0000)]
2005-11-25 Alp Toker <alp@atoker.com>
* Type.cs (IsVisible): New 2.0 property, implemented recursively.
svn path=/trunk/mcs/; revision=53472
Miguel de Icaza [Fri, 25 Nov 2005 01:11:57 +0000 (01:11 -0000)]
2005-11-24 Miguel de Icaza <miguel@novell.com>
* WebROCollection.cs: Do not add an empty "=" to the query string
if the key is empty or null.
svn path=/trunk/mcs/; revision=53471
Chris Toshok [Thu, 24 Nov 2005 23:59:05 +0000 (23:59 -0000)]
2005-11-24 Chris Toshok <toshok@ximian.com>
* AssemblyInfo.cs: nuke this, it's in System.Web.Configuration_2.0
now.
svn path=/trunk/mcs/; revision=53470
Chris Toshok [Thu, 24 Nov 2005 23:57:41 +0000 (23:57 -0000)]
add tons of 2.0 config classes to the build.
svn path=/trunk/mcs/; revision=53469
Chris Toshok [Thu, 24 Nov 2005 23:57:13 +0000 (23:57 -0000)]
2005-11-24 Chris Toshok <toshok@ximian.com>
* AssemblyInfo.cs: move this here from System.Web.Configuration,
and fix up the properties.
* SystemWebSectionGroup.cs: enable most of the sections (2
remaining to be enabled.)
svn path=/trunk/mcs/; revision=53468
Chris Toshok [Thu, 24 Nov 2005 23:51:32 +0000 (23:51 -0000)]
2005-11-24 Chris Toshok <toshok@ximian.com>
* ConfigurationProperty.cs (Validate): add internal method.
svn path=/trunk/mcs/; revision=53467
Chris Toshok [Thu, 24 Nov 2005 23:19:58 +0000 (23:19 -0000)]
2005-11-24 Chris Toshok <toshok@ximian.com>
* ProcessModelSection.cs, SqlCacheDependencySection.cs,
SessionStateSection.cs, PassportAuthentication.cs,
FormsAuthenticationConfiguration.cs,
SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
elementProperty.
(ValidateElement): new static validator callback.
(ElementProperty): enable this, return elementProperty.
svn path=/trunk/mcs/; revision=53466
Chris Toshok [Thu, 24 Nov 2005 23:10:00 +0000 (23:10 -0000)]
2005-11-24 Chris Toshok <toshok@ximian.com>
* ConfigurationElement.cs (ElementProperty): make this protected
internal virtual instead of public.
(SetPropertyValue): add a validator call and a blurb about the
code based on information gleaned from tests.
(set_Item (string)): call SetPropertyValue in the setter.
svn path=/trunk/mcs/; revision=53465
Dick Porter [Thu, 24 Nov 2005 19:59:49 +0000 (19:59 -0000)]
2005-11-24 Dick Porter <dick@ximian.com>
* configure.in: Test for GetProcessId() on windows
2005-11-24 Dick Porter <dick@ximian.com>
* process.c
(ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal):
Use GetProcessId() if it's available.
2005-11-24 Dick Porter <dick@ximian.com>
* processes.c (GetProcessId): Implement GetProcessId()
svn path=/trunk/mono/; revision=53461
Jackson Harper [Thu, 24 Nov 2005 19:48:50 +0000 (19:48 -0000)]
- Resize the maximized windows when the client is resized
svn path=/trunk/mcs/; revision=53460
Jackson Harper [Thu, 24 Nov 2005 19:44:47 +0000 (19:44 -0000)]
* MdiClient.cs: Size the scrollbars when resizing the window.
svn path=/trunk/mcs/; revision=53459
Sebastien Pouliot [Thu, 24 Nov 2005 14:02:16 +0000 (14:02 -0000)]
Add CAS/unit tests for (some of) System.Security.Cryptography.X509Certificates classes
svn path=/trunk/mcs/; revision=53456
Sebastien Pouliot [Thu, 24 Nov 2005 14:01:40 +0000 (14:01 -0000)]
2005-11-24 Sebastien Pouliot <sebastien@ximian.com>
* X500DistinguishedNameCas.cs: New. CAS tests (some are disabled).
* X500DistinguishedNameTest.cs: New. Unit tests (some are disabled).
* X509BasicConstraintsExtensionCas.cs: New (2.0). CAS tests.
* X509CertificateCollectionCas.cs: New (2.0). CAS tests.
* X509ChainCas.cs: New (2.0). CAS tests.
* X509ChainPolicyCas.cs: New (2.0). CAS tests.
* X509EnhancedKeyUsageExtensionCas.cs: New (2.0). CAS tests.
* X509ExtensionCas.cs: New (2.0). CAS tests.
* X509KeyUsageExtensionCas.cs: New (2.0). CAS tests.
* X509KeyUsageExtensionTest.cs: Updated test case where MS 2.0 beta
bug was fixed.
* X509StoreCas.cs: New (2.0). CAS tests.
* X509SubjectKeyIdentifierExtensionCas.cs: New (2.0). CAS tests.
svn path=/trunk/mcs/; revision=53455
Sebastien Pouliot [Thu, 24 Nov 2005 14:01:30 +0000 (14:01 -0000)]
2005-11-24 Sebastien Pouliot <sebastien@ximian.com>
* X500DistinguishedName.cs: Added validation (still missing parsing).
* X509Certificate2Enumerator.cs: Add missing IEnumerator.* methods.
svn path=/trunk/mcs/; revision=53454
Vladimir Krasnov [Thu, 24 Nov 2005 13:42:27 +0000 (13:42 -0000)]
* XmlTypeMapping.cs: fixed GetXmlName method, added difference of value serialization of flags and non-flags enums
* XmlSerializerTestClasses.cs: added two enum types, without 0-value
* XmlSerializerTests.cs: added tests for serialization enum's default value
svn path=/trunk/mcs/; revision=53451
Vladimir Krasnov [Thu, 24 Nov 2005 10:47:04 +0000 (10:47 -0000)]
ImageCodec.jvm.cs: fixed ProcessOneCodec, sometime it was failed on parsing version of codec
svn path=/trunk/mcs/; revision=53449
Senganal T [Thu, 24 Nov 2005 09:20:54 +0000 (09:20 -0000)]
2005-11-24 Senganal T <tsenganal@novell.com>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs :
- Modifications to set the desired packetsize info when connecting
to database
* System.Data/System.Data.SqlClient/SqlConnection.cs
- Modifications to get the correct Packet Size
svn path=/trunk/mcs/; revision=53443
Chris Toshok [Thu, 24 Nov 2005 04:56:52 +0000 (04:56 -0000)]
add PropertyHelper.cs and ProfilePropertyNameValidator.cs
svn path=/trunk/mcs/; revision=53430
Chris Toshok [Thu, 24 Nov 2005 04:54:40 +0000 (04:54 -0000)]
2005-11-23 Chris Toshok <toshok@ximian.com>
* ProfilePropertyNameValidator.cs: new implementation.
* ProfilePropertySettings.cs, ProfileGroupSettings.cs,
ClientTargetSection.cs, ClientTargetSection.cs,
BufferModeSettings.cs, HttpModulesSection.cs,
WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
AuthenticationSection.cs, RuleSettings.cs,
FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
WebPartsPersonalizationAuthorization.cs, Compiler.cs,
ExpressionBuilder.cs, OutputCacheProfile.cs,
FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
ExpressionBuilderCollection.cs, ProfileSettings.cs,
SessionStateSection.cs, HealthMonitoringSection.cs,
FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
SessionPageStateSection.cs, TrustSection.cs,
AnonymousIdentificationSection.cs, WebControlsSection.cs,
ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
ProcessModelSection.cs, RoleManagerSection.cs,
MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
validator/converters.
* MachineKeySection.cs (..cctor): fix validators/converters.
(Validation): enable the Converter.
* CodeSubDirectory.cs (..cctor): fix validator/converters.
(DirectoryName): add note about missing validator decoration.
* HttpModuleAction.cs (..cctor): init properties.
(Properties): return properties.
* CompilationSection.cs (..cctor): fix validator/converters.
(GetInstance): add in this pre-2.0 interface for the time being,
hopefully it'll make it easier to migrate later on.
* HttpHandlerActionCollection.cs (..cctor): init properties.
(Properties): return properties.
* PagesSection.cs (..cctor): fix validator/converters.
(GetInstance): add in this pre-2.0 interface for the time being,
hopefully it'll make it easier to migrate later on.
* HttpHandlersSection.cs (..cctor): init properties.
(Properties): return properties.
* EventMappingSettings.cs (..cctor): fix validator/converters.
(Name): add note about missing validator decoration.
* HttpHandlerAction.cs (..cctor): fix validator/converters.
(PAth, Type, Verb): add note about missing validator decoration.
* NamespaceCollection.cs (..cctor): fix properties.
* ProfilePropertySettingsCollection.cs (..cctor): init properties.
(..ctor): don't throw NIE.
(Properties): return properties.
* HttpModuleActionCollection.cs (..cctor): init properties.
(Properties): return properties.
* CacheSection.cs (..cctor): fix validators/converters.
(PrivateBytesPollTime): add note about missing validator
decoration.
* AuthorizationRule.cs (..cctor): fix validators/converters.
(Roles, Users, Verbs): enable the TypeConverter decorations.
* UrlMapping.cs (ValidateUrl): static method for use as a
validation callback. unimplemented as yet.
(..cctor): fix validators/converters.
(MappedUrl): add note about missing validator decoration.
* PropertyHelper.cs: static utility class which contains
references to validators and converters for use in static
constructors (building the Properties arrays).
svn path=/trunk/mcs/; revision=53429
Chris Toshok [Thu, 24 Nov 2005 04:53:26 +0000 (04:53 -0000)]
2005-11-23 Chris Toshok <toshok@ximian.com>
* ProfilePropertyNameValidator.cs: new implementation.
* ProfilePropertySettings.cs, ProfileGroupSettings.cs,
ClientTargetSection.cs, ClientTargetSection.cs,
BufferModeSettings.cs, HttpModulesSection.cs,
WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
AuthenticationSection.cs, RuleSettings.cs,
FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
WebPartsPersonalizationAuthorization.cs, Compiler.cs,
ExpressionBuilder.cs, OutputCacheProfile.cs,
FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
ExpressionBuilderCollection.cs, ProfileSettings.cs,
SessionStateSection.cs, HealthMonitoringSection.cs,
FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
SessionPageStateSection.cs, TrustSection.cs,
AnonymousIdentificationSection.cs, WebControlsSection.cs,
ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
ProcessModelSection.cs, RoleManagerSection.cs,
MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
validator/converters.
* MachineKeySection.cs (..cctor): fix validators/converters.
(Validation): enable the Converter.
* CodeSubDirectory.cs (..cctor): fix validator/converters.
(DirectoryName): add note about missing validator decoration.
* HttpModuleAction.cs (..cctor): init properties.
(Properties): return properties.
* CompilationSection.cs (..cctor): fix validator/converters.
(GetInstance): add in this pre-2.0 interface for the time being,
hopefully it'll make it easier to migrate later on.
* HttpHandlerActionCollection.cs (..cctor): init properties.
(Properties): return properties.
* PagesSection.cs (..cctor): fix validator/converters.
(GetInstance): add in this pre-2.0 interface for the time being,
hopefully it'll make it easier to migrate later on.
* HttpHandlersSection.cs (..cctor): init properties.
(Properties): return properties.
* EventMappingSettings.cs (..cctor): fix validator/converters.
(Name): add note about missing validator decoration.
* HttpHandlerAction.cs (..cctor): fix validator/converters.
(PAth, Type, Verb): add note about missing validator decoration.
* NamespaceCollection.cs (..cctor): fix properties.
* ProfilePropertySettingsCollection.cs (..cctor): init properties.
(..ctor): don't throw NIE.
(Properties): return properties.
* HttpModuleActionCollection.cs (..cctor): init properties.
(Properties): return properties.
* CacheSection.cs (..cctor): fix validators/converters.
(PrivateBytesPollTime): add note about missing validator
decoration.
* AuthorizationRule.cs (..cctor): fix validators/converters.
(Roles, Users, Verbs): enable the TypeConverter decorations.
* UrlMapping.cs (ValidateUrl): static method for use as a
validation callback. unimplemented as yet.
(..cctor): fix validators/converters.
(MappedUrl): add note about missing validator decoration.
* PropertyHelper.cs: static utility class which contains
references to validators and converters for use in static
constructors (building the Properties arrays).
svn path=/trunk/mcs/; revision=53428
Chris Toshok [Thu, 24 Nov 2005 03:07:20 +0000 (03:07 -0000)]
2005-11-23 Chris Toshok <toshok@ximian.com>
* MachineKeyValidationConverterTest.cs: new test.
svn path=/trunk/mcs/; revision=53426
Chris Toshok [Thu, 24 Nov 2005 03:07:02 +0000 (03:07 -0000)]
2005-11-23 Chris Toshok <toshok@ximian.com>
* MachineKeyValidationConverter.cs: new converter (and a pretty
silly one, considering all it seems to do is convert "TripleDES"
to "3DES").
* HostingEnvironmentSection.cs (.cctor): use
PositiveTimeSpanValidator like MS does.
svn path=/trunk/mcs/; revision=53425
Zoltan Varga [Wed, 23 Nov 2005 21:51:54 +0000 (21:51 -0000)]
2005-11-23 Zoltan Varga <vargaz@gmail.com>
* icall.c threads-types.h threads.c: Add Exchange<T> icall.
svn path=/trunk/mono/; revision=53418
Jackson Harper [Wed, 23 Nov 2005 21:48:58 +0000 (21:48 -0000)]
* MdiChildContext.cs: Don't size windows if they are
maximized.
svn path=/trunk/mcs/; revision=53417
Zoltan Varga [Wed, 23 Nov 2005 21:32:48 +0000 (21:32 -0000)]
2005-11-23 Zoltan Varga <vargaz@gmail.com>
* Interlocked.cs: Add T:class constraint to the generic
CompareExchange and Exchange methods.
svn path=/trunk/mcs/; revision=53409