Jordi Mas i Hernandez [Tue, 24 Jan 2006 15:28:58 +0000 (15:28 -0000)]
2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
* ThemeWin32Classic.cs: Fixes Datagrid drawing issues
* DataGridDrawingLogic.cs: Add editing row only when is necessary
svn path=/trunk/mcs/; revision=55986
Atsushi Eno [Tue, 24 Jan 2006 13:49:01 +0000 (13:49 -0000)]
2006-01-24 Atsushi Enomoto <atsushi@ximian.com>
* UTF8Encoding.cs : InternalGetCharCount() optimization: fast path
for ASCII range.
svn path=/trunk/mcs/; revision=55981
Raja R Harinath [Tue, 24 Jan 2006 12:36:13 +0000 (12:36 -0000)]
* ReadOnlyCollection.cs (Items): Return underlying list.
svn path=/trunk/mcs/; revision=55980
Paolo Molaro [Tue, 24 Jan 2006 11:37:10 +0000 (11:37 -0000)]
Tue Jan 24 12:34:06 CET 2006 Paolo Molaro <lupus@ximian.com>
* *: update from upstream changes.
svn path=/trunk/mono/; revision=55979
Atsushi Eno [Tue, 24 Jan 2006 10:28:20 +0000 (10:28 -0000)]
2006-01-24 Atsushi Enomoto <atsushi@ximian.com>
* object.c, marshal.c : Fixed runtime part of bug #77315. Reject
invalid surrogate in UTF7/UTF8 bytes and don't return NULL.
svn path=/trunk/mono/; revision=55978
Atsushi Eno [Tue, 24 Jan 2006 10:11:16 +0000 (10:11 -0000)]
2006-01-24 Atsushi Enomoto <atsushi@ximian.com>
* table.sh, table_from.cs, table_to.cs : imported a set of useful
tool from bug #77325 (thanks to Bruno Haible).
svn path=/trunk/mcs/; revision=55977
Atsushi Eno [Tue, 24 Jan 2006 10:05:36 +0000 (10:05 -0000)]
2006-01-24 Atsushi Enomoto <atsushi@ximian.com>
Fixed bug #77325.
* windows-28596-2000.ucm : new file. Copied IBM ICU data from
http://dev.icu-project.org/cgi-bin/viewcvs.cgi/charset/data/ucm/windows-28596-2000.ucm (revision 1.2)
* CP28596.cs : regenerated source file (and made some manual
changes) to replace mapping source from old ibm-1089.ucm to above.
svn path=/trunk/mcs/; revision=55976
Konstantin Triger [Tue, 24 Jan 2006 09:44:41 +0000 (09:44 -0000)]
use static container
svn path=/trunk/mcs/; revision=55975
Paolo Molaro [Tue, 24 Jan 2006 08:57:01 +0000 (08:57 -0000)]
Tue Jan 24 09:56:16 CET 2006 Paolo Molaro <lupus@ximian.com>
* object.c: fix deadlock related to string interning.
svn path=/trunk/mono/; revision=55973
Atsushi Eno [Tue, 24 Jan 2006 07:53:12 +0000 (07:53 -0000)]
2006-01-24 Atsushi Enomoto <atsushi@ximian.com>
* UTF7Encoding.cs UTF8Encoding.cs :
Fixed bug #77315 (Patch by pawel.sakowski@mind-breeze.com).
Make strict check for invalid surrogate.
* UTF7EncodingTest.cs : added test for bug #77315.
* UTF8EncodingTest.cs : added test for bug #77315. Also, now a
bunch of tests are working (while they are marked as NotDotNet
under 1.1 profile).
svn path=/trunk/mcs/; revision=55971
Atsushi Eno [Tue, 24 Jan 2006 05:42:16 +0000 (05:42 -0000)]
2006-01-24 Atsushi Enomoto <atsushi@ximian.com>
* XmlNameEntryCache.cs XmlNameEntry.cs XmlDocument.cs :
Add Hash field to find name entry quickly.
In XmlNameEntryCache make use of name table (it is totally
unused there though).
svn path=/trunk/mcs/; revision=55970
Jackson Harper [Tue, 24 Jan 2006 05:38:39 +0000 (05:38 -0000)]
* UpDownBase.cs: Make the textbox handle all the selection and
tabbing. This fixes tabing to updown controls.
svn path=/trunk/mcs/; revision=55969
Jackson Harper [Tue, 24 Jan 2006 05:29:48 +0000 (05:29 -0000)]
flush
svn path=/trunk/mcs/; revision=55968
Jordi Mas i Hernandez [Mon, 23 Jan 2006 23:32:26 +0000 (23:32 -0000)]
fixes exception thown the object was null
svn path=/trunk/mcs/; revision=55966
Gonzalo Paniagua Javier [Mon, 23 Jan 2006 20:26:55 +0000 (20:26 -0000)]
2006-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: ignore 'thead'. Fixes bug #77326.
svn path=/trunk/mcs/; revision=55958
Jackson Harper [Mon, 23 Jan 2006 20:06:48 +0000 (20:06 -0000)]
* ComboBox.cs:
* TrackBar.cs:
* MonthCalendar.cs: Lets let the base set as much of the
createparams as possible so we don't have duplicate code all
over
the place.
svn path=/trunk/mcs/; revision=55957
Jackson Harper [Mon, 23 Jan 2006 19:28:11 +0000 (19:28 -0000)]
* ButtonBase.cs: Just use the base CreateParams. They set
visibility and enabled correctly.
svn path=/trunk/mcs/; revision=55956
Atsushi Eno [Mon, 23 Jan 2006 17:17:23 +0000 (17:17 -0000)]
2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
* DbcsConvert.cs ISO2022JP.cs CP950.cs CP932.cs: author lines.
Monoized CP932.cs which is too deeply indented to read (and
anyways no one other than myself is taking care of it).
svn path=/trunk/mcs/; revision=55951
Atsushi Eno [Mon, 23 Jan 2006 17:04:03 +0000 (17:04 -0000)]
2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
* KSConvert.cs Big5Convert.cs Gb2312Convert.cs: removed. They could
just be DbcsConvert instances.
* I18N.CJK.dll.sources : removed above.
* DbcsConvert.cs : added static fields: Big5 and KS.
* CP949.cs CP950.cs : use DbcsConvert class directly.
svn path=/trunk/mcs/; revision=55950
Atsushi Eno [Mon, 23 Jan 2006 16:58:44 +0000 (16:58 -0000)]
2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
* MonoEncoding.cs :
Added abstract GetByteCountImpl() in MonoEncoding and MonoEncoder.
GetByteCount() is now based on the method above.
* ByteEncoding.cs : so GetByteCount() became GetByteCountImpl() and
is based on char*.
* CP57002.cs : Added GetByteCountImpl().
* CP936.cs, CP949.cs, CP950.cs :
Added GetByteCountImpl() (there weren't GetByteCount() override
in those classes, so they also save extra byte[] allocation).
* CP932.cs, CP51932.cs, GB18030Encoding.cs, ISO2022JP.cs :
GetByteCount() -> GetByteCountImpl().
Fixed ISO2022JPEncoder/Decoder to hold different "shifted_in" flags
for GetByteCountImpl() and GetBytesImpl().
svn path=/trunk/mcs/; revision=55949
Martin Baulig [Mon, 23 Jan 2006 15:58:55 +0000 (15:58 -0000)]
2006-01-23 Martin Baulig <martin@ximian.com>
* configure.in: Added configure check whether the Mono Debugger is
supported on this platform; AC_DEFINE(MONO_DEBUGGER_SUPPORTED) and
also added a `MONO_DEBUGGER_SUPPORTED' automake conditional.
svn path=/trunk/mono/; revision=55947
Raja R Harinath [Mon, 23 Jan 2006 15:21:09 +0000 (15:21 -0000)]
In System.Collections.Generic:
Speed up remove. Use 'dict[k]=v' as a self-tuning hint.
* Dictionary.cs (GetSlot): Move data-structure traversal to ...
(GetPrev): ... this. Returns the slot prior to the place we're
looking for, or null if that place is the head of the chain.
(Remove): Use it.
(this.set): Use it. Implement move-to-front on set.
* Dictionary.cs (ToTKey, ToTValue): New helpers to convert from
type 'object'.
(IDictionary.this, IDictionary.Add): Use them.
(IDictionary.Contains, IDictionary.Remove): If the types don't
match, do nothing.
In Test/System.Collections.Generic:
* DictionaryTest.cs (IDictionary_*): Add a few tests for the
IDictionary explicit implementation.
svn path=/trunk/mcs/; revision=55946
Martin Baulig [Mon, 23 Jan 2006 15:09:24 +0000 (15:09 -0000)]
2006-01-23 Martin Baulig <martin@ximian.com>
* mono-debug.h: Moved the prototypes of some functions which are
used by the JIT here from mono-debug-debugger.h.
svn path=/trunk/mono/; revision=55944
Ankit Jain [Mon, 23 Jan 2006 14:49:35 +0000 (14:49 -0000)]
Move negative tests from ilasm/tests to ilasm/errors.
In tests:
* err-*.il, test-perm_fail*.il: Move negative tests from here to errors/ .
In errors:
* err-*.il, test-perm_fail*.il: Move negative tests from tests/ to here.
svn path=/trunk/mcs/; revision=55941
Martin Baulig [Mon, 23 Jan 2006 14:32:30 +0000 (14:32 -0000)]
2006-01-23 Martin Baulig <martin@ximian.com>
* debug-debugger.c: Only enable this on platforms where the Mono
Debugger is working (x86 and x86_64).
svn path=/trunk/mono/; revision=55939
Ankit Jain [Mon, 23 Jan 2006 13:33:06 +0000 (13:33 -0000)]
* TypeDef.cs (TypeDef.AddFieldDef): Throw exception if duplicate field being
added.
svn path=/trunk/mcs/; revision=55938
Boris Kirzner [Mon, 23 Jan 2006 13:25:57 +0000 (13:25 -0000)]
Tests refactoring for TARGET_JVM.
svn path=/trunk/mcs/; revision=55937
Raja R Harinath [Mon, 23 Jan 2006 11:08:18 +0000 (11:08 -0000)]
Improve implementation of section 14.4.2.2 (Better function member).
* expression.cs (Invocation.MoreSpecific): Compare all type
arguments before deciding if one type is more specific than
another. Handle array types too. Return the more specific type.
(Invocation.BetterFunction): Add more tie-breaking rules from
section 14.4.2.2. Perform "more specific" check after
other tie-breaking rules. Compare all parameter types before
choosing the "more specific" method.
svn path=/trunk/mcs/; revision=55936
Atsushi Eno [Mon, 23 Jan 2006 11:04:27 +0000 (11:04 -0000)]
2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
* ISO2022JP.cs GB18030Encoding.cs CP936.cs CP51932.cs:
fix warnings.
svn path=/trunk/mcs/; revision=55935
Atsushi Eno [Mon, 23 Jan 2006 10:52:01 +0000 (10:52 -0000)]
2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
* CP950.cs :
This was the last one encoding which needed incomplete byte
handling.
* DbcsEncoding.cs, GB18030Encoding.cs, CP950.cs, CP932.cs,
CP936.cs, CP51932.cs, CP949.cs (all):
Made GetCharCount() and GetChars() in DbcsDecoder as different
internal CheckRange() methods (it is bad design to have those
methods as base methods). Use CheckRange() everywhere.
* I18N.CJK.Test.cs :
added Decoder950Refresh() and Decoder950NoRefresh().
svn path=/trunk/mcs/; revision=55934
Raja R Harinath [Mon, 23 Jan 2006 10:11:37 +0000 (10:11 -0000)]
*** merged revision from mcs: 55859
svn path=/trunk/mcs/; revision=55933
Atsushi Eno [Mon, 23 Jan 2006 09:56:40 +0000 (09:56 -0000)]
2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
* CP949.cs :
handle incomplete byte (thus conversion implementation went into
CP949Decoder like other DBCS encodings).
* I18N.CJK.Test.cs :
added Decoder949Refresh() and Decoder949NoRefresh().
svn path=/trunk/mcs/; revision=55932
Atsushi Eno [Mon, 23 Jan 2006 09:19:13 +0000 (09:19 -0000)]
2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
* CP936.cs :
handle incomplete byte (thus conversion implementation went into
CP936Decoder like other DBCS encodings).
* I18N.CJK.Test.cs :
added Decoder936Refresh() and Decoder936NoRefresh().
svn path=/trunk/mcs/; revision=55931
Konstantin Triger [Mon, 23 Jan 2006 08:32:21 +0000 (08:32 -0000)]
ensure invariant culture
svn path=/trunk/mcs/; revision=55930
Gert Driesen [Mon, 23 Jan 2006 07:17:04 +0000 (07:17 -0000)]
* XmlReflectionImporterTests.cs: Marked tests NotWorking until fixes have
landed in svn.
* SoapReflectionImporterTests.cs: Added numerous tests.
* XmlSchemaImporterTests.cs: Added numerous tests.
* XmlSchemaExporterTests.cs: Added numerous tests.
* SoapSchemaExporterTests.cs: Added numerous tests.
* XmlSerializerTestClasses.cs: Added test classes for
XmlSchemaExporter. Fixed line endings (to CRLF).
svn path=/trunk/mcs/; revision=55929
Atsushi Eno [Mon, 23 Jan 2006 04:06:37 +0000 (04:06 -0000)]
2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
* EncoderFallbackException.cs EncoderExceptionFallback.cs
DecoderFallbackBuffer.cs EncoderReplacementFallback.cs
EncoderFallbackBuffer.cs DecoderExceptionFallbackBuffer.cs
EncoderFallback.cs DecoderReplacementFallbackBuffer.cs
DecoderFallbackException.cs DecoderExceptionFallback.cs
DecoderReplacementFallback.cs
EncoderExceptionFallbackBuffer.cs
EncoderReplacementFallbackBuffer.cs :
include them in net_2_0bootstrap build.
svn path=/trunk/mcs/; revision=55926
Chris Toshok [Mon, 23 Jan 2006 02:16:58 +0000 (02:16 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
quiet mcs.
svn path=/trunk/mcs/; revision=55924
Chris Toshok [Mon, 23 Jan 2006 02:15:09 +0000 (02:15 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* System.Web.dll.sources: add IgnoreFileBuildProvider.cs and
IInternalConfigWebHost.cs
svn path=/trunk/mcs/; revision=55923
Chris Toshok [Mon, 23 Jan 2006 02:14:27 +0000 (02:14 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* IgnoreFileBuildProvider.cs: build provider which does nothing.
svn path=/trunk/mcs/; revision=55922
Chris Toshok [Sun, 22 Jan 2006 21:15:47 +0000 (21:15 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* DesignerSerializationVisibilityAttribute.cs: in the 2.0 case,
this attribute is valid on fields and events as well.
svn path=/trunk/mcs/; revision=55918
Chris Toshok [Sun, 22 Jan 2006 21:00:41 +0000 (21:00 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
quiet mcs.
svn path=/trunk/mcs/; revision=55917
Chris Toshok [Sun, 22 Jan 2006 20:59:41 +0000 (20:59 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* HtmlInputButton.cs:
s/GetPostBackClientEvent/GetPostBackEventReference.
svn path=/trunk/mcs/; revision=55916
Chris Toshok [Sun, 22 Jan 2006 20:58:37 +0000 (20:58 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
* MultiView.cs (OnBubbleEvent): case the rhs to a string to get
the intended comparison right and quiet mcs.
svn path=/trunk/mcs/; revision=55915
Chris Toshok [Sun, 22 Jan 2006 20:48:14 +0000 (20:48 -0000)]
oops. fix build.
svn path=/trunk/mcs/; revision=55914
Chris Toshok [Sun, 22 Jan 2006 20:45:53 +0000 (20:45 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* AspComponentFoundry.cs (.ctor): use a 2.0 friendly form of the
Hashtable ctor to silence a couple of warning.
(CompoundFoundry.ctor): same
* Directive.cs (InitHash): use a 2.0 friendly form of the
Hashtable ctor to silence a couple of warning.
* TagAttributes.cs (MakeHash): use a 2.0 friendly form of the
Hashtable ctor to silence a warning.
(GetDictionary): same.
svn path=/trunk/mcs/; revision=55913
Chris Toshok [Sun, 22 Jan 2006 20:09:58 +0000 (20:09 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* GlobalizationSection.cs (VerifyData): quiet mcs.
svn path=/trunk/mcs/; revision=55912
Chris Toshok [Sun, 22 Jan 2006 20:05:32 +0000 (20:05 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* PageParser.cs (ProcessMainAttributes): i missed a
CONFIGURATION_2_0 block.
svn path=/trunk/mcs/; revision=55911
Miguel de Icaza [Sun, 22 Jan 2006 19:25:14 +0000 (19:25 -0000)]
Revert this patch, it has a big performance penalty
svn path=/trunk/mcs/; revision=55910
Chris Toshok [Sun, 22 Jan 2006 19:24:24 +0000 (19:24 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* BoundPropertyEntry.cs (.ctor): mark as internal to fix
corcompare.
svn path=/trunk/mcs/; revision=55909
Chris Toshok [Sun, 22 Jan 2006 19:18:58 +0000 (19:18 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* HttpRequest.cs (ReadBoundary): remove two unused variables to
quiet mcs.
(IsBoundary): remove unused method.
* MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
ctor to silence a warning.
* HttpCacheVaryByHeaders.cs (.ctor): same.
* HttpCacheVaryByParams.cs (.ctor): same.
* StaticSiteMapProvider.cs (UrlToNode): same.
svn path=/trunk/mcs/; revision=55908
Chris Toshok [Sun, 22 Jan 2006 18:46:10 +0000 (18:46 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* AppSettingsExpressionBuilder.cs: implement this, patterning it
after an example on msdn. Also, enable the ExpressionEditor
attribute, but use the string rather than the Type overload so we
won't have yet another circular dep.
* ConnectionStringsExpressionBuilder.cs: partial implementation.
Same deal with the ExpressionEditor attribute.
* ResourceExpressionBuilder.cs: same deal with the
ExpressionEditor attribute.
svn path=/trunk/mcs/; revision=55907
Chris Toshok [Sun, 22 Jan 2006 18:29:55 +0000 (18:29 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* IInternalConfigWebHost.cs: new 2.0 interface.
svn path=/trunk/mcs/; revision=55906
Chris Toshok [Sun, 22 Jan 2006 18:02:04 +0000 (18:02 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* System.Design.dll.sources: add in all the stubbed/partially
implemented stuff.
* Makefile (LIB_MCS_FLAGS): in the 2.0 case include a reference to
System.Configuration.dll.
svn path=/trunk/mcs/; revision=55905
Chris Toshok [Sun, 22 Jan 2006 18:01:40 +0000 (18:01 -0000)]
2006-01-22 Chris Toshok <toshok@ximian.com>
* IProjectItem.cs: new interface.
* IWebApplication.cs: new interface.
* ExpressionEditorSheet.cs: stubbed.
* ExpressionEditor.cs: stubbed.
* AppSettingsExpressionEditor.cs: stubbed.
* ResourceExpressionEditor.cs: stubbed.
svn path=/trunk/mcs/; revision=55904
Konstantin Triger [Sun, 22 Jan 2006 17:34:15 +0000 (17:34 -0000)]
Add semicolon after client script if does not exist
svn path=/trunk/mcs/; revision=55898
Alexander Olk [Sun, 22 Jan 2006 15:07:54 +0000 (15:07 -0000)]
2006-01-22 Alexander Olk <alex.olk@googlemail.com>
* ThemeGtk.cs: Added TrackBar and some experimental code to
get double buffering back
svn path=/trunk/mcs/; revision=55897
Boris Kirzner [Sun, 22 Jan 2006 11:54:05 +0000 (11:54 -0000)]
Tests refactoring with NotWorking.
svn path=/trunk/mcs/; revision=55896
Konstantin Triger [Sun, 22 Jan 2006 09:52:02 +0000 (09:52 -0000)]
ensure case insensitivity in header search
svn path=/trunk/mcs/; revision=55895
Jordi Mas i Hernandez [Sat, 21 Jan 2006 21:13:33 +0000 (21:13 -0000)]
2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
* DataGrid.cs: Allows row number set internally higher than the last
when creating a new row. Restores the editing functionality.
svn path=/trunk/mcs/; revision=55894
Martin Baulig [Sat, 21 Jan 2006 19:42:44 +0000 (19:42 -0000)]
Don't install libgc-mono-debugger.h and mono-debug-debugger.h
svn path=/trunk/mono/; revision=55888
Martin Baulig [Sat, 21 Jan 2006 15:44:50 +0000 (15:44 -0000)]
2006-01-21 Martin Baulig <martin@ximian.com>
The Mono Debugger is now using the normal `mono' instead of the
`mono-debugger-mini-wrapper' when executing managed code.
* debug-debugger.c: New file; previously known as
debugger/wrapper/wrapper.c.
* debug-mini.c (mono_init_debugger): Removed.
* driver.c (mono_main): Added new `--inside-mdb' command line
argument which is used when running inside the debugger.
svn path=/trunk/mono/; revision=55883
Martin Baulig [Sat, 21 Jan 2006 14:43:12 +0000 (14:43 -0000)]
2006-01-21 Martin Baulig <martin@ximian.com>
* include/libgc-mono-debugger.h: Call the conditional
`_IN_THE_MONO_DEBUGGER', not `IN_MONO_DEBUGGER'.
svn path=/trunk/mono/; revision=55879
Martin Baulig [Sat, 21 Jan 2006 14:35:14 +0000 (14:35 -0000)]
2006-01-21 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.h: Enforce the private status of this header
file and removed unneccessary #include's in metadata/*.c and mini/*.c.
Moved some stuff from mono-debugger-jit-wrapper.h here.
svn path=/trunk/mono/; revision=55876
Chris Toshok [Sat, 21 Jan 2006 04:38:53 +0000 (04:38 -0000)]
2006-01-20 Chris Toshok <toshok@ximian.com>
* ResourceExpressionBuilder.cs (ParseExpression): implement.
* ResourceExpressionFields.cs: implement.
svn path=/trunk/mcs/; revision=55874
Jonathan Pryor [Sat, 21 Jan 2006 02:50:20 +0000 (02:50 -0000)]
* UnixDriveInfo.cs: Properties should generate an InvalidOperationException,
not an IOException. Users can use IsReady to avoid exception generation.
* UnixIOException.cs: Create a custom message that embeds the error name
within the text, e.g. "Permission denied [EACCES]."
* UnixSymbolicLinkInfo.cs: This really should create the file FullPath, not
OriginalPath. Created files shouldn't ever be relative to the current
working directory, as this can change at any time.
svn path=/trunk/mcs/; revision=55873
Chris Toshok [Sat, 21 Jan 2006 01:17:34 +0000 (01:17 -0000)]
2006-01-20 Chris Toshok <toshok@ximian.com>
* ClientBuildManagerParameter.cs: implement.
svn path=/trunk/mcs/; revision=55872
Chris Toshok [Sat, 21 Jan 2006 01:16:05 +0000 (01:16 -0000)]
add ClientBuildManagerParameterTest
svn path=/trunk/mcs/; revision=55871
Chris Toshok [Sat, 21 Jan 2006 01:14:25 +0000 (01:14 -0000)]
2006-01-20 Chris Toshok <toshok@ximian.com>
* ClientBuildManagerParameterTest.cs: new test.
svn path=/trunk/mcs/; revision=55870
Chris Toshok [Sat, 21 Jan 2006 00:56:53 +0000 (00:56 -0000)]
2006-01-20 Chris Toshok <toshok@ximian.com>
* ClientBuildManagerCallback.cs: this class contains an empty
default implementation.
svn path=/trunk/mcs/; revision=55869
Zoltan Varga [Fri, 20 Jan 2006 22:11:22 +0000 (22:11 -0000)]
2006-01-20 Zoltan Varga <vargaz@gmail.com>
* liveness.c (mono_analyze_liveness): Remove some unused data
structures.
svn path=/trunk/mono/; revision=55862
Raja R Harinath [Fri, 20 Jan 2006 20:16:10 +0000 (20:16 -0000)]
In mcs:
2006-01-21 Raja R Harinath <harinath@gmail.com>
Carlos Alberto Cortez <calberto.cortez@gmail.com>
Fix rest of #76995.
* namespace.cs (NamespaceEntry.UsingExternalAliases): Don't add to
the 'aliases' hash.
(NamespaceEntry.LookupAlias): Lookup 'extern_aliases' hash too.
(NamespaceEntry.VerifyUsing): Resolve external aliases too.
In tests:
2006-01-21 Raja R Harinath <harinath@gmail.com>
* test-489.cs: New test based on #76995.
svn path=/trunk/mcs/; revision=55859
Gonzalo Paniagua Javier [Fri, 20 Jan 2006 20:11:23 +0000 (20:11 -0000)]
2006-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UnexceptionalStreamReader.cs: Read (char,int,int) should not
return -1. Thanks to Jakob Berkman.
svn path=/trunk/mcs/; revision=55858
Joshua Tauberer [Fri, 20 Jan 2006 20:02:13 +0000 (20:02 -0000)]
Sqlite: Removed Mono.Posix dependency. Updated test program.
svn path=/trunk/mcs/; revision=55856
Joshua Tauberer [Fri, 20 Jan 2006 20:00:29 +0000 (20:00 -0000)]
Sqlite: Version 3 uses unicode encoding. Version 2 uses ANSI encoding, unless user specifies otherwise.
svn path=/trunk/mcs/; revision=55855
Mike Kestner [Fri, 20 Jan 2006 19:43:45 +0000 (19:43 -0000)]
2006-01-20 Mike Kestner <mkestner@novell.com>
* MimeIcon.cs: delay Image creation until the icons are accessed
instead of creating 190 scaled images on GnomeHandler startup.
svn path=/trunk/mcs/; revision=55854
Zoltan Varga [Fri, 20 Jan 2006 17:17:02 +0000 (17:17 -0000)]
2006-01-20 Zoltan Varga <vargaz@gmail.com>
* monobitset.h (mono_bitset_set_fast): Add more fast accessors.
svn path=/trunk/mono/; revision=55847
Gonzalo Paniagua Javier [Fri, 20 Jan 2006 16:57:23 +0000 (16:57 -0000)]
2006-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* StreamReader.cs: (ReadToEnd) if Read returns -1 or 0, we're done.
svn path=/trunk/mcs/; revision=55842
Atsushi Eno [Fri, 20 Jan 2006 16:29:58 +0000 (16:29 -0000)]
2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
* CP51932.cs :
Encoding.GetChars() does not handle incomplete bytes but
Decoder.GetChars() should do it (which was has vanished
when I fixed CP51932 4 days ago). Now it uses Decoder which
preserves incomplete byte like CP932 and CP54936.
* I18N.CJK.Test.cs :
added Decoder51932Refresh() and Decoder51932NoRefresh().
svn path=/trunk/mcs/; revision=55838
Atsushi Eno [Fri, 20 Jan 2006 14:26:17 +0000 (14:26 -0000)]
2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
* Decoder.cs : ditto.
svn path=/trunk/mcs/; revision=55833
Atsushi Eno [Fri, 20 Jan 2006 14:24:23 +0000 (14:24 -0000)]
2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
* Encoder.cs : Fallback should be initialized to have an instance.
svn path=/trunk/mcs/; revision=55832
Atsushi Eno [Fri, 20 Jan 2006 13:01:41 +0000 (13:01 -0000)]
2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
* CP932.cs :
Implemented Decoder to handle incomplete bytes correctly. Hold
different incomplete bytes for GetChars() and GetCharCount().
"reflesh" parameter in 2.0 is now handled correctly.
Now GetChars()/GetCharCount() in Encoding are implemented
correctly to use Decoder.
* I18N.CJK.Test.cs : added Decoder932Refresh().
svn path=/trunk/mcs/; revision=55831
Raja R Harinath [Fri, 20 Jan 2006 12:49:51 +0000 (12:49 -0000)]
* UnicodeEncodingTest.cs (TestMaxByteCount): Remove extra declaration.
svn path=/trunk/mcs/; revision=55830
Raja R Harinath [Fri, 20 Jan 2006 11:56:17 +0000 (11:56 -0000)]
* dis/main.c (monodis_assembly_load_hook): New.
(monodis_assembly_search_hook): New.
(main): Install them as hooks into the assembly loading core.
* metadata/class.c (mono_class_from_typeref): Add a sanity test to help
catch lack of assembly load/search hooks.
svn path=/trunk/mono/; revision=55829
Atsushi Eno [Fri, 20 Jan 2006 10:22:57 +0000 (10:22 -0000)]
2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
* I18N.CJK.Test.cs : Actually some of new tests fail under .NET 1.x.
Added Encoder54936Refresh() which tests Encoder.GetBytes() where
refresh==true.
svn path=/trunk/mcs/; revision=55828
Atsushi Eno [Fri, 20 Jan 2006 10:14:26 +0000 (10:14 -0000)]
2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
Fixed bug #77307.
* GB18030Encoding.cs : GetEncoder() and GetDecoder() should be
overriden. in the Encoder, refresh parameter should handle
incomplete field at its end of processing. Also it should
differentiate GetByteCount() and GetChars() for its internal
state.
* GB18030Source.cs : handle end index of GB18030Map as inclusive,
not exclusive. Reject out-of-range GBX conversion.
* I18N.CJK.Test.cs : Added test for #77307. Unify those "get bytes
for all of chars" tests.
svn path=/trunk/mcs/; revision=55827
Atsushi Eno [Fri, 20 Jan 2006 08:58:54 +0000 (08:58 -0000)]
2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
* GB18030.cs : GetChars() ditto. Fixed bug #77306.
* I18N.CJK.Test.cs : Added test for #77306.
svn path=/trunk/mcs/; revision=55826
Atsushi Eno [Fri, 20 Jan 2006 08:51:53 +0000 (08:51 -0000)]
2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
* CP949.cs : GetChars() exactly the same fix as CP950.
Fixed bug #77298.
* I18N.CJK.Test.cs : fixed broken method extraction. Added test for
#77298.
svn path=/trunk/mcs/; revision=55825
Atsushi Eno [Fri, 20 Jan 2006 08:42:11 +0000 (08:42 -0000)]
2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
* CP950.cs : GetChars() should filter out invalid index to internal
conversion array. Fixed bug #77274.
* I18N.CJK.Test.cs : added test for bug #77274. Unify those
"all pair of bytes" tests code.
svn path=/trunk/mcs/; revision=55824
Atsushi Eno [Fri, 20 Jan 2006 08:21:53 +0000 (08:21 -0000)]
2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
* Encoding.cs : Cloned instances should not be read-only.
* UTF8EncodingTest.cs : added CloneNotReadOnly().
svn path=/trunk/mcs/; revision=55823
Gonzalo Paniagua Javier [Fri, 20 Jan 2006 01:19:45 +0000 (01:19 -0000)]
Fix the name of the class that handles system.net/settings
svn path=/trunk/mono/; revision=55808
Gonzalo Paniagua Javier [Fri, 20 Jan 2006 01:17:30 +0000 (01:17 -0000)]
2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Socket.cs: use the 2.0 configuration classes when checking for IPv6
support.
svn path=/trunk/mcs/; revision=55806
Gonzalo Paniagua Javier [Fri, 20 Jan 2006 00:47:16 +0000 (00:47 -0000)]
2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Console.cs: if InternalCodePage returns -1, use the default encoding.
Also match the UTF8 one properly. Patch by wall_john@sohu.com.
svn path=/trunk/mcs/; revision=55804
Peter Dennis Bartok [Fri, 20 Jan 2006 00:02:53 +0000 (00:02 -0000)]
2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
first call base before processing the event. Fixes #77279
svn path=/trunk/mcs/; revision=55803
Peter Dennis Bartok [Thu, 19 Jan 2006 23:58:51 +0000 (23:58 -0000)]
2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
that the stride for the GDI bitmap would match the stride of
a DIB or a Cursor.
svn path=/trunk/mcs/; revision=55802
Peter Dennis Bartok [Thu, 19 Jan 2006 23:53:38 +0000 (23:53 -0000)]
2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
* Icon.cs: The code wrongly assumed that the stride for the icon
would be the same as the stride for the bitmap. This was causing
memory corruption.
svn path=/trunk/mcs/; revision=55801
Alexander Olk [Thu, 19 Jan 2006 20:45:45 +0000 (20:45 -0000)]
2006-01-19 Alexander Olk <alex.olk@googlemail.com>
* ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
svn path=/trunk/mcs/; revision=55799
Atsushi Eno [Thu, 19 Jan 2006 17:32:07 +0000 (17:32 -0000)]
2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
* UnicodeEncodingTest.cs, DecoderReplacementFallbackBufferTest.cs,
EncoderReplacementFallbackBufferTest.cs : tests were fixed but
"NotWorking" were not marked correctly.
svn path=/trunk/mcs/; revision=55795
Atsushi Eno [Thu, 19 Jan 2006 17:08:13 +0000 (17:08 -0000)]
2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
* UTF7EncodingTest.cs UTF8EncodingTest.cs UnicodeEncodingTest.cs :
due to the introduction of fallback, some of their internals have
changed. Thus marked some tests as NotWorking.
* DecoderReplacementFallbackBufferTest.cs,
EncoderReplacementFallbackBufferTest.cs :
some behaviors have changed since beta2, so marked old tests as
NotWorking.
svn path=/trunk/mcs/; revision=55794
Atsushi Eno [Thu, 19 Jan 2006 17:06:04 +0000 (17:06 -0000)]
2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
* ModuleTest.cs : ResolveString() does not work under .NET 2.0 either.
svn path=/trunk/mcs/; revision=55793
Atsushi Eno [Thu, 19 Jan 2006 17:05:00 +0000 (17:05 -0000)]
2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
* StringTest.cs : numbered some assertions.
svn path=/trunk/mcs/; revision=55792