Boris Kirzner [Mon, 29 Jan 2007 15:50:28 +0000 (15:50 -0000)]
Test fixes for TARGET_JVM.
svn path=/trunk/mcs/; revision=71890
Miguel de Icaza [Mon, 29 Jan 2007 15:38:46 +0000 (15:38 -0000)]
Merge with Hari's Lambda
svn path=/trunk/mcs/; revision=71887
Yoni Klain [Mon, 29 Jan 2007 15:12:59 +0000 (15:12 -0000)]
2007-01-28 yonik <yonik@mainsoft.com>
* MultiViewTest.cs: Add new tests for post back events
svn path=/trunk/mcs/; revision=71878
Martin Baulig [Mon, 29 Jan 2007 14:24:26 +0000 (14:24 -0000)]
2007-01-29 Martin Baulig <martin@ximian.com>
* MonoSymbolFile.cs
(MonoSymbolFile.Assembly): Removed this property.
(MonoSymbolFile.Guid): New public property.
svn path=/trunk/mcs/; revision=71871
Vladimir Krasnov [Mon, 29 Jan 2007 14:23:46 +0000 (14:23 -0000)]
* Panel.cs: fixed AddAttributesToRender for 2.0, text align should be style attribute
svn path=/trunk/mcs/; revision=71870
Marek Sieradzki [Mon, 29 Jan 2007 12:54:59 +0000 (12:54 -0000)]
2007-01-29 Marek Sieradzki <marek.sieradzki@gmail.com>
* AssemblyResolver.cs: Added.
* ResolveAssemblyReference.cs: Moved most of code to AssemblyResolver.
svn path=/trunk/mcs/; revision=71866
Marek Sieradzki [Mon, 29 Jan 2007 12:52:31 +0000 (12:52 -0000)]
2007-01-29 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildTask.cs (Execute): Log errors that happen when invoking ITask
.ctor.
* ConsoleLogger.cs (TargetFinishedHandler)
(TaskFinishedHandler): Increment error count.
svn path=/trunk/mcs/; revision=71865
Ilya Kharmatsky [Mon, 29 Jan 2007 12:07:01 +0000 (12:07 -0000)]
Excluded test DefaultType in ToolboxItemAttributeTests.cs under 'TARGET_JVM'
configuration.
svn path=/trunk/mcs/; revision=71862
Ilya Kharmatsky [Mon, 29 Jan 2007 11:22:06 +0000 (11:22 -0000)]
Fixed missed bracket under 'TARGET_JVM' directive.
svn path=/trunk/mcs/; revision=71861
Raja R Harinath [Mon, 29 Jan 2007 11:21:26 +0000 (11:21 -0000)]
Restore lambda code with fix from previous commit.
Add reverse-engineered lambda.cs since miguel didn't check it in.
svn path=/trunk/mcs/; revision=71860
Paolo Molaro [Mon, 29 Jan 2007 11:15:55 +0000 (11:15 -0000)]
Mon Jan 29 12:14:34 CET 2007 Paolo Molaro <lupus@ximian.com>
* Makefile.am: put back the --export-dynamic option as with
the previous gmodule flags (thanks to Robert Jordan).
svn path=/trunk/mono/; revision=71859
Paolo Molaro [Mon, 29 Jan 2007 11:07:53 +0000 (11:07 -0000)]
Mon Jan 29 12:04:38 CET 2007 Paolo Molaro <lupus@ximian.com>
* configure.in, mint.pc.in mono-uninstalled.pc.in mono.pc.in:
put back the flag to export symbols from the binary which is
no more provided by gmodule (thanks to Robert Jordan <robertj@gmx.net>
for noticing).
svn path=/trunk/mono/; revision=71858
Raja R Harinath [Mon, 29 Jan 2007 10:35:41 +0000 (10:35 -0000)]
* cs-tokenizer.cs (PushPosition): Save 'parsing_generic_less_than'.
(PopPosition): Restore 'parsing_generic_less_than'.
(is_punct) ['<']: Update to changes.
svn path=/trunk/mcs/; revision=71857
Paolo Molaro [Mon, 29 Jan 2007 10:32:40 +0000 (10:32 -0000)]
Mon Jan 29 11:30:46 CET 2007 Paolo Molaro <lupus@ximian.com>
* marshal.c: fix from Robert Jordan (robertj@gmx.net)
for bug #80618.
svn path=/trunk/mono/; revision=71855
Raja R Harinath [Mon, 29 Jan 2007 10:22:37 +0000 (10:22 -0000)]
revert code that doesn't compile
svn path=/trunk/mcs/; revision=71854
Robert Jordan [Mon, 29 Jan 2007 10:00:57 +0000 (10:00 -0000)]
2007-01-29 Robert Jordan <robertj@gmx.net>
* libmono.vcproj, winconfig.h: Reflect recent changes.
svn path=/trunk/mono/; revision=71851
Atsushi Eno [Mon, 29 Jan 2007 08:26:46 +0000 (08:26 -0000)]
2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
* SoapExtensionTypeElement.cs : use null for default Type value.
svn path=/trunk/mcs/; revision=71850
Adar Wesley [Mon, 29 Jan 2007 08:14:45 +0000 (08:14 -0000)]
2007-01-29 Adar Wesley <adarw@mainsoft.com>
* EditCommandColumn.cs: implemented CausesValidation and
ValidationGroup and corresponding tests.
* DataGrid.cs: fixed generated table to be compatible with MS 2.0
svn path=/trunk/mcs/; revision=71849
Miguel de Icaza [Mon, 29 Jan 2007 04:50:24 +0000 (04:50 -0000)]
ChangeLog
svn path=/trunk/mcs/; revision=71848
Miguel de Icaza [Mon, 29 Jan 2007 04:50:13 +0000 (04:50 -0000)]
2007-01-28 Miguel de Icaza <miguel@novell.com>
* cs-tokenizer.cs: Typo fix, its not GMCS_SOURCES but
* GMCS_SOURCE,
this bug took a few hours to find, because the state saved and
restored by PushPosition and PopPosition was ignoring the state
of
parse_generic_less_than.
I can also now remove the handling of OP_LT and OP_GT, this
solves
the big mistery.
svn path=/trunk/mcs/; revision=71847
Miguel de Icaza [Mon, 29 Jan 2007 04:48:37 +0000 (04:48 -0000)]
2007-01-28 Miguel de Icaza <miguel@novell.com>
* cs-tokenizer.cs: Typo fix, its not GMCS_SOURCES but
* GMCS_SOURCE,
this bug took a few hours to find, because the state saved and
restored by PushPosition and PopPosition was ignoring the state of
parse_generic_less_than.
Now all the lambda.tests pass
svn path=/trunk/mcs/; revision=71846
Miguel de Icaza [Mon, 29 Jan 2007 04:17:27 +0000 (04:17 -0000)]
2007-01-28 Miguel de Icaza <miguel@novell.com>
* cs-tokenizer.cs: store the location for the ARROW token, we
* use
that in the parser.
(PushPosition, PopPosition): save/restore also `current_token',
restore `parse_generic_less_than' (was missing).
(parse_opt_type_arguments): use parse_type, not
parse_namespace_or_typename to parse types.
svn path=/trunk/mcs/; revision=71845
Miguel de Icaza [Mon, 29 Jan 2007 04:15:26 +0000 (04:15 -0000)]
2007-01-28 Miguel de Icaza <miguel@novell.com>
* cs-parser.jay (open_parens): Introduce new non-terminal that
abstracts OPEN_PARENS and OPEN_PARENS_LAMBDA as the later can now
be returned in places where types are followed by identifiers
(this is expected in declaration, fixed, using, foreach and catch
clauses).
Use open_parens in those places, keep OPEN_PARENS in the
expressions.
svn path=/trunk/mcs/; revision=71844
Miguel de Icaza [Mon, 29 Jan 2007 00:40:34 +0000 (00:40 -0000)]
Revert, this is not ready to go into SVN
svn path=/trunk/mcs/; revision=71843
Miguel de Icaza [Mon, 29 Jan 2007 00:39:19 +0000 (00:39 -0000)]
2007-01-28 Miguel de Icaza <miguel@novell.com>
* cs-parser.jay (open_parens): Introduce new non-terminal that
abstracts OPEN_PARENS and OPEN_PARENS_LAMBDA as the later can now
be returned in places where types are followed by identifiers
(this is expected in declaration, fixed, using and catch
clauses).
Use open_parens in those places, keep OPEN_PARENS in the
expressions.
svn path=/trunk/mcs/; revision=71842
Miguel de Icaza [Mon, 29 Jan 2007 00:38:54 +0000 (00:38 -0000)]
Make the makefile actually useful to do bootstrap tests
svn path=/trunk/mcs/; revision=71841
Miguel de Icaza [Sun, 28 Jan 2007 23:25:20 +0000 (23:25 -0000)]
Write this without goto
svn path=/trunk/mcs/; revision=71840
Miguel de Icaza [Sun, 28 Jan 2007 21:46:10 +0000 (21:46 -0000)]
2007-01-28 Miguel de Icaza <miguel@novell.com>
* lambda.cs: Empty new file, will eventually have the lambda
expression implementation.
* lambda.test: used to test the internal tokenizer.
* report.cs (FeatureIsNotISO1): Rename from
FeatureIsNotStandardized, because it was about the language level
(1 vs 2) it was not about standarization.
(FeatureRequiresLINQ): New.
* support.cs (SeekableStreamReader): Only require that the reader
is a TextReader, not a StreamReader, so we can plug StringReader.
* cs-tokenizer.cs (parse_type_and_parameter): Returns true if at a
given position in the input stream the following tokens can be
parsed as a type followed by an identifier.
(is_punct): after a '(' if parse_type_and_parameter returns true,
then return a special token OPEN_PARENS_LAMBDA which is used to
avoid reduce/reduce errors in the grammar for the
lambda_expression rules.
(parse_type): implement a type parser inside the
tokenizer, the parser only returns true or false depending on
whether the input at a given position can be parsed as a type.
(peek_token): new method used during type parsing.
2007-01-28 Miguel de Icaza <miguel@novell.com>
* cs-parser.jay: New grammar bits for parsing lambda expressions.
svn path=/trunk/mcs/; revision=71838
Marek Sieradzki [Sun, 28 Jan 2007 19:42:00 +0000 (19:42 -0000)]
2007-01-28 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildItem.cs (RemoveMetadata): Remove from XML.
(SetMetadata): Trigger project reevaluation.
svn path=/trunk/mcs/; revision=71834
Zoltan Varga [Sun, 28 Jan 2007 19:09:37 +0000 (19:09 -0000)]
2007-01-28 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (peephole_pass): Fix #80622 for sparc as well.
svn path=/trunk/mono/; revision=71824
Raja R Harinath [Sun, 28 Jan 2007 18:36:33 +0000 (18:36 -0000)]
In gmcs:
Fix #80534, gtest-309.cs
* generic.cs (UnifyType): Rename from InferType. Make unification
of generic insts simpler and don't insist on inferring all generic
parameters in a single generic inst unification.
(UnifyTypes): New.
(InferGenericInstance): Remove.
Analysis and initial patch by David Mitchell <dmitchell@logos.com>.
In tests:
* gtest-309.cs: Renamed from errors/gcs0411-3.cs.
* gtest-310.cs: New test from #80534.
In errors:
* gcs0411-3.cs: Rename to tests/gtest-309.cs.
svn path=/trunk/mcs/; revision=71817
Ilya Kharmatsky [Sun, 28 Jan 2007 18:35:16 +0000 (18:35 -0000)]
Excluded under 'TARGET_JVM' not working test.
svn path=/trunk/mcs/; revision=71816
Jonathan Pobst [Sun, 28 Jan 2007 18:09:07 +0000 (18:09 -0000)]
2007-01-28 Jonathan Pobst <monkey@jpobst.com>
* TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
one pixel. Fix a StackOverflowException caused by an overload wrongly
calling itself.
svn path=/trunk/mcs/; revision=71815
Zoltan Varga [Sun, 28 Jan 2007 17:42:50 +0000 (17:42 -0000)]
2007-01-28 Zoltan Varga <vargaz@gmail.com>
mini.h *.c: Allocate fp vregs from the same pool as the int vregs. Use this to
simplify and speed up the local register allocator. Also rename some fields
like iassign->vassign.
* regalloc.c: Remove some functions which are no longer used since their
inlined version is in mini-codegen.c.
* mini-codegen.c: Rename mono_regstate2_ functions to mono_regstate_.
svn path=/trunk/mono/; revision=71814
Vladimir Krasnov [Sun, 28 Jan 2007 17:20:21 +0000 (17:20 -0000)]
* WebControl.cs: added internal method AddDisplayStyleAttribute for display:inline-block style attribute
* LinkButton.cs
* HyperLink.cs
* CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
svn path=/trunk/mcs/; revision=71813
Ilya Kharmatsky [Sun, 28 Jan 2007 17:16:39 +0000 (17:16 -0000)]
Fixing the problems with compilation under JVM configuration (in Grasshopper),
by adding stubs and missing classes in net_2_0 for configuration.
svn path=/trunk/mcs/; revision=71812
Gert Driesen [Sun, 28 Jan 2007 16:23:05 +0000 (16:23 -0000)]
* IPAddressTest.cs: Added test for invalid addresses. Fixed 4-byte
test on 2.0 profile.
* IPAddress.cs: Provide more meaningful exception message on 2.0
profile.
svn path=/trunk/mcs/; revision=71811
Boris Kirzner [Sun, 28 Jan 2007 15:53:27 +0000 (15:53 -0000)]
Fix test project configurations. Use explicit java io temp path.
svn path=/trunk/mcs/; revision=71810
Gert Driesen [Sun, 28 Jan 2007 15:52:04 +0000 (15:52 -0000)]
* FileWebRequest.cs: Fixed PreAuthenticate and Proxy properties to
no longer throw NotSupportedException. No longer store ContentLength
in headers. Do not allow null or zero-length method. Allow timeout
to be set to -1 (infine). Only disallow GET, HEAD and CONNECT requests.
Removed workarounds for bug #24943. In (Begin)GetRequest overwrite
file if it already exists. Binary serialization compatibility fixes.
* FileWebResponse.cs: Return application/octet-stream as ContentType.
* FileWebRequestTest.cs: Reworked tests to no longer rely on TMPDIR.
Added tests for ConnectionGroupName, ContentLength, ContentType,
Credentials, GetRequestStream, GetResponse, Method, PreAuthenticate,
Proxy, RequestUri, Timeout. Added binary serialization compatibility
tests.
* FileWebResponseTest.cs: Added tests for ContentLength, ContentType,
GetResponseStream, Headers, ResponseUri.
* System_test.dll.sources: Added FileWebResponseTest.cs.
svn path=/trunk/mcs/; revision=71809
Gert Driesen [Sun, 28 Jan 2007 13:16:24 +0000 (13:16 -0000)]
* WebHeaderCollection.cs: Fixed binary serialization compatibility with MS.
* WebHeaderCollectionTest.cs: Added tests for binary serialization
compatibility.
svn path=/trunk/mcs/; revision=71807
Gert Driesen [Sun, 28 Jan 2007 13:11:58 +0000 (13:11 -0000)]
* WebProxyTest.cs: Move IsBypassed null check to separate test, and
fixed it for 2.0 profile. Added test for binary serialization.
* WebProxy.cs: Lazy init bypassList. Fixes for binary serialization
compatibility. Added stub for UseDefaultCredentials (2.0). On 2.0
profile, throw ArgumentNullException in IsBypassed if host is null.
svn path=/trunk/mcs/; revision=71806
Raja R Harinath [Sun, 28 Jan 2007 11:27:23 +0000 (11:27 -0000)]
In mcs:
Fix #80531
* anonymous.cs (ScopeInfo.InflateParameters): New.
(AnonymousContainer.Resolve): Use it to redirect types of
delegate parameters.
In tests:
* gtest-308.cs: New test based on #80531.
* gtest-307.cs: New test based on #80358.
svn path=/trunk/mcs/; revision=71805
Marek Safar [Sun, 28 Jan 2007 10:52:51 +0000 (10:52 -0000)]
bug #80646
svn path=/trunk/mcs/; revision=71803
Vladimir Krasnov [Sun, 28 Jan 2007 09:34:09 +0000 (09:34 -0000)]
Adapted for gh 2.0
svn path=/trunk/mcs/; revision=71802
Konstantin Triger [Sun, 28 Jan 2007 09:24:42 +0000 (09:24 -0000)]
remove TRACE from release build
svn path=/trunk/mcs/; revision=71801
Konstantin Triger [Sun, 28 Jan 2007 09:21:58 +0000 (09:21 -0000)]
TARGET_JVM: align with recent changes
svn path=/trunk/mcs/; revision=71800
Zoltan Varga [Sun, 28 Jan 2007 09:13:31 +0000 (09:13 -0000)]
2007-01-28 Zoltan Varga <vargaz@gmail.com>
* basic.cs objects.cs iltests.il: Merge tests from the linear IL branch.
svn path=/trunk/mono/; revision=71799
motym [Sun, 28 Jan 2007 08:46:59 +0000 (08:46 -0000)]
some tests comment out for target_jvm
svn path=/trunk/mcs/; revision=71798
Raja R Harinath [Sat, 27 Jan 2007 18:11:23 +0000 (18:11 -0000)]
Fix #80530
* expression.cs (Error_InvalidArguments): Don't use two different
messages for CS1503. Use ExtraInformation and
SymbolRelatedToPreviousError instead.
svn path=/trunk/mcs/; revision=71792
Zoltan Varga [Sat, 27 Jan 2007 16:17:52 +0000 (16:17 -0000)]
2007-01-27 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (peephole_pass): Remove optimizations which omit a
narrowing. Fixes #80622.
* iltests.il: Add new regresssion test.
svn path=/trunk/mono/; revision=71791
Raja R Harinath [Sat, 27 Jan 2007 15:48:22 +0000 (15:48 -0000)]
Fix #80358
* decl.cs (DeclSpace.initialize_type_params): Don't access
'type_params' of a partial class directly.
svn path=/trunk/mcs/; revision=71790
Miguel de Icaza [Sat, 27 Jan 2007 01:08:26 +0000 (01:08 -0000)]
2007-01-26 Miguel de Icaza <miguel@novell.com>
* SqliteParameterCollection.cs: If the parameter is prefixed,
ignore the prefix when we do the lookup. Replicates the behavior
in GetParameter
The code paths changed recently with the 2.0-ification of
Mono.Data.SqliteClient
svn path=/trunk/mcs/; revision=71774
Robert Jordan [Sat, 27 Jan 2007 01:05:04 +0000 (01:05 -0000)]
2007-01-27 Robert Jordan <robertj@gmx.net>
* test/Makefile.am: Add linker option to be able to
load symbols from the main program.
* test/module.c: Clean-ups.
svn path=/trunk/mono/; revision=71773
Everaldo Canuto [Sat, 27 Jan 2007 00:47:42 +0000 (00:47 -0000)]
2007-01-26 Everaldo Canuto <everaldo@simios.org>
* MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
also remove ProcessArrowKey and put the code inside ProcessKeys.
svn path=/trunk/mcs/; revision=71772
Miguel de Icaza [Fri, 26 Jan 2007 23:40:59 +0000 (23:40 -0000)]
Avoid breaking binary compatibility
svn path=/trunk/mcs/; revision=71770
Robert Jordan [Fri, 26 Jan 2007 20:20:28 +0000 (20:20 -0000)]
2007-01-26 Robert Jordan <robertj@gmx.net>
* configure.ac: Add PLATFORM_WIN32 conditional.
* src/Makefile.ac: Use PLATFORM_WIN32 conditional for psapi, iconv
* test/module.c, test/tests.h, test/Makefile.am: New test for gmodule.
* src/gmodule.h: Add G_MODULE_{IMPORT|EXPORT} defines.
* src/gmodule.c (g_module_symbol): Implement in-proc symbol lookup
for Win32.
* src/gmodule.c: Add GModule.main_module, consider it in
g_module_close ().
* src/gpath.c (g_get_home_dir): Add dummy Win32 implementation to
fix the build.
svn path=/trunk/mono/; revision=71766
Miguel de Icaza [Fri, 26 Jan 2007 18:45:19 +0000 (18:45 -0000)]
2007-01-26 Miguel de Icaza <miguel@novell.com>
* constant.cs: Removed a handful of out-of-range checks that were
not necessary.
svn path=/trunk/mcs/; revision=71763
Dick Porter [Fri, 26 Jan 2007 17:57:31 +0000 (17:57 -0000)]
2007-01-26 Dick Porter <dick@ximian.com>
* Socket.cs: SupportsIPv6 is obsolete in the 2.0 profile. Stub
out BeginReceiveMessageFrom(), BeginSendFile(),
EndReceiveMessageFrom(), EndSendFile(), ReceiveMessageFrom(), and
SendFile().
* IPPacketInformation.cs: New in the 2.0 profile
* SocketFlags.cs: Remove useless (and empty) inline documentation,
and add 2.0 items.
* TcpListener.cs: Mark Server as public in the 2.0 profile.
* UdpClient.cs: Mark Dispose(bool) as protected in the 2.0
profile.
System.Net.Sockets should now be 2.0-complete.
svn path=/trunk/mcs/; revision=71759
Jonathan Pobst [Fri, 26 Jan 2007 17:42:25 +0000 (17:42 -0000)]
2007-01-26 Jonathan Pobst <monkey@jpobst.com>
* PaddingConverter.cs: Added.
* PaddingConverterTest.cs: Added.
svn path=/trunk/mcs/; revision=71758
Paolo Molaro [Fri, 26 Jan 2007 17:34:27 +0000 (17:34 -0000)]
Fri Jan 26 18:31:45 CET 2007 Paolo Molaro <lupus@ximian.com>
* mini.h, mini-trampolines.c, aliasing.c, mini-codegen.c,
debug-debugger.c, debug-debugger.h: warning fixes.
* driver.c: updated copyright year and made it fit in one line.
svn path=/trunk/mono/; revision=71757
Robert Jordan [Fri, 26 Jan 2007 16:10:07 +0000 (16:10 -0000)]
2007-01-26 Robert Jordan <robertj@gmx.net>
* mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
for Win32.
svn path=/trunk/mono/; revision=71753
Dick Porter [Fri, 26 Jan 2007 14:27:47 +0000 (14:27 -0000)]
2007-01-26 Dick Porter <dick@ximian.com>
* Socket.cs: There's no point checking the SO_ERROR status of a
socket after poll() or select() if we already know that connected
== true.
2007-01-26 Dick Porter <dick@ximian.com>
* SocketTest.cs: New test for SO_ERROR reading, returning the same
value over and over.
svn path=/trunk/mcs/; revision=71751
Dick Porter [Fri, 26 Jan 2007 14:21:30 +0000 (14:21 -0000)]
2007-01-26 Dick Porter <dick@ximian.com>
* socket-private.h:
* sockets.c (_wapi_getsockopt): Windows seems to not reset
SO_ERROR values when they're read, contrary to the documentation.
Fixes the new issues raised in bug 79878 (example in C showing
winsock behaviour attached to that bug.)
svn path=/trunk/mono/; revision=71750
Paolo Molaro [Fri, 26 Jan 2007 13:24:04 +0000 (13:24 -0000)]
Don't link to gmodule anymore.
svn path=/trunk/mono/; revision=71749
Paolo Molaro [Fri, 26 Jan 2007 12:10:43 +0000 (12:10 -0000)]
Fri Jan 26 12:48:39 CET 2007 Paolo Molaro <lupus@ximian.com>
* aot-runtime.c: updated to use mono-dl instead of gmodule.
svn path=/trunk/mono/; revision=71748
Paolo Molaro [Fri, 26 Jan 2007 12:10:30 +0000 (12:10 -0000)]
Fri Jan 26 12:49:23 CET 2007 Paolo Molaro <lupus@ximian.com>
* image.h, loader.c, metadata-internals.h: use mono-dl instead of
gmodule.
svn path=/trunk/mono/; revision=71747
Paolo Molaro [Fri, 26 Jan 2007 12:07:32 +0000 (12:07 -0000)]
Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
* mono-dl.h, mono-dl.c: make symbols internal and fixes.
svn path=/trunk/mono/; revision=71746
Rolf Bjarne Kvinge [Fri, 26 Jan 2007 11:41:43 +0000 (11:41 -0000)]
2007-01-26 Rolf Bjarne Kvinge <RKvinge@novell.com>
* StatusBarTest.cs: Added a few more tests.
svn path=/trunk/mcs/; revision=71745
Paolo Molaro [Fri, 26 Jan 2007 11:37:28 +0000 (11:37 -0000)]
Fri Jan 26 12:37:14 CET 2007 Paolo Molaro <lupus@ximian.com>
* monograph.c: warning fixes.
svn path=/trunk/mono/; revision=71744
Rolf Bjarne Kvinge [Fri, 26 Jan 2007 11:31:12 +0000 (11:31 -0000)]
* ThemeWin32Classic.cs: Only draw the text of a StatusBar if
ShowPanels is false (fixes #80600). Only draw up to 127 characters
of text (fixes #80601). For panels clip the text to draw to the
panel (fixes #80603).
2007-01-26 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=71743
Paolo Molaro [Fri, 26 Jan 2007 11:30:46 +0000 (11:30 -0000)]
Fri Jan 26 12:30:22 CET 2007 Paolo Molaro <lupus@ximian.com>
* get.c, dis-cil.c: warning fixes.
svn path=/trunk/mono/; revision=71742
Paolo Molaro [Fri, 26 Jan 2007 11:01:27 +0000 (11:01 -0000)]
Fri Jan 26 12:00:45 CET 2007 Paolo Molaro <lupus@ximian.com>
* threadpool.c: made the code moving-GC safe.
svn path=/trunk/mono/; revision=71741
Marek Sieradzki [Fri, 26 Jan 2007 10:45:13 +0000 (10:45 -0000)]
2007-01-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildPropertyGroupTest.cs: Trivial test for SetProperty ().
svn path=/trunk/mcs/; revision=71740
Marek Sieradzki [Fri, 26 Jan 2007 10:44:13 +0000 (10:44 -0000)]
2007-01-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildPropertyGroup.cs (SetProperty): Made it work with persisted
properties.
svn path=/trunk/mcs/; revision=71739
Rolf Bjarne Kvinge [Fri, 26 Jan 2007 10:26:10 +0000 (10:26 -0000)]
2007-01-26 Rolf Bjarne Kvinge <RKvinge@novell.com>
* ComboBox.cs: Fixed implementation of ResetText.
svn path=/trunk/mcs/; revision=71738
Jonathan Pobst [Fri, 26 Jan 2007 02:00:40 +0000 (02:00 -0000)]
2007-01-25 Jonathan Pobst <monkey@jpobst.com>
* ControlHandleTest.cs: Added. Has tests to find exactly which
Methods and Properties create a Handle. Not added to sources file
because it's written against MS, and we're probably missing some
methods/properties.
svn path=/trunk/mcs/; revision=71730
Marek Habersack [Thu, 25 Jan 2007 22:24:54 +0000 (22:24 -0000)]
Fix for cases when the browser language is set to a neutral culture
svn path=/trunk/mcs/; revision=71727
Jackson Harper [Thu, 25 Jan 2007 22:24:12 +0000 (22:24 -0000)]
* TextControl.cs: For the last char of a line we need to use the
line size, not that chars width, since it won't actually be
computed since the right side of a char is based on the start of
the left side of the next char, and the next char does not
exist.
svn path=/trunk/mcs/; revision=71726
Jonathan Pobst [Thu, 25 Jan 2007 20:56:27 +0000 (20:56 -0000)]
2007-01-25 Jonathan Pobst <monkey@jpobst.com>
* ToolStripButtonTest.cs, ToolStripItemTest.cs, ToolStripLabelTest.cs:
Try to make some tests not Font/DPI dependent.
svn path=/trunk/mcs/; revision=71719
Chris Toshok [Thu, 25 Jan 2007 20:45:53 +0000 (20:45 -0000)]
In System.Windows.Forms:
2007-01-25 Chris Toshok <toshok@ximian.com>
* Splitter.cs: fix the new unit tests, and reindent some switch
statements.
In Test/System.Windows.Forms:
2007-01-25 Chris Toshok <toshok@ximian.com>
* SplitterTest.cs: new tests.
In .:
2007-01-25 Chris Toshok <toshok@ximian.com>
* System.Windows.Forms_test.dll.sources: add SplitterTest.cs
svn path=/trunk/mcs/; revision=71713
Chris Toshok [Thu, 25 Jan 2007 19:44:15 +0000 (19:44 -0000)]
2007-01-25 Chris Toshok <toshok@ximian.com>
* Calendar.cs, HijriCalendar.cs, ThaiBuddhistCalendar.cs,
HebrewCalendar.cs, GregorianCalendar.cs, KoreanCalendar.cs,
JulianCalendar.cs, PersianCalendar.cs:
more serialization fixes. the M_TwoDigitYearMax field we use
appears to be called twoDigitYearMax in MS.NET. rename it (and
fix all the Calendar subclasses to use this naming). Likewise
with is_readonly (MS calls it m_isReadOnly).
Also, the m_currentEraValue field I had originally placed in
GregorianCalendar appears to be in Calendar (as running
nunit-2.2.8-2.0 shows.)
In GregorianCalendar, rename the M_CalendarType field to m_type
and remove the extra field I added.
The previous fix got nunit 2.4-2.0 running. This change gets
versions 2.2.8 and 2.4 of nunit running against both 1.1 and 2.0
profiles.
svn path=/trunk/mcs/; revision=71706
Paolo Molaro [Thu, 25 Jan 2007 19:40:03 +0000 (19:40 -0000)]
Thu Jan 25 20:31:41 CET 2007 Paolo Molaro <lupus@ximian.com>
* assembly.c, boehm-gc.c, class-internals.h, class.c,
debug-mono-symfile.c, domain.c, locales.c, marshal.c, metadata.c,
monitor.c, mono-debug.c, mono-debug.h, object.c, profiler.c:
warning cleanup.
* reflection.c: warning cleanup, some threading and moving GC fixes.
svn path=/trunk/mono/; revision=71705
Eyal Alalouf [Thu, 25 Jan 2007 19:32:10 +0000 (19:32 -0000)]
Fixed a typo.
svn path=/trunk/mcs/; revision=71704
Gert Driesen [Thu, 25 Jan 2007 19:26:30 +0000 (19:26 -0000)]
* StreamReaderTest.cs: Added test for bug #75526.
svn path=/trunk/mcs/; revision=71703
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 19:20:52 +0000 (19:20 -0000)]
* ComboBoxTest.cs: Added tests for ResetText.
2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=71702
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 19:10:17 +0000 (19:10 -0000)]
2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
* ComboBox.cs: Implemented 2.0 methods and events.
* TextBoxBase.cs: Added OnTextUpdate, so that
ComboBox.ComboTextBox can inform ComboBox of it.
svn path=/trunk/mcs/; revision=71701
Atsushi Eno [Thu, 25 Jan 2007 18:46:31 +0000 (18:46 -0000)]
2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
* System.Web.Services_test.dll.sources: added TypeTypeConverter.cs.
* TypeTypeConverter.cs :
New internal stuff, TypeConverter for a type name.
* SoapExtensionTypeElement.cs :
For Type property, use above. Part of #80619 fix.
svn path=/trunk/mcs/; revision=71700
Eyal Alalouf [Thu, 25 Jan 2007 18:12:05 +0000 (18:12 -0000)]
Add support for multiple fomrs on the client side in case of TARGET_J2EE portal support.
svn path=/trunk/mcs/; revision=71699
Ilya Kharmatsky [Thu, 25 Jan 2007 17:22:34 +0000 (17:22 -0000)]
Workaround not supported in Grasshopper property System.ArgumentNullException.ParamName.
svn path=/trunk/mcs/; revision=71687
Jackson Harper [Thu, 25 Jan 2007 17:09:35 +0000 (17:09 -0000)]
* TextControl.cs: Respect ShowSelection when deciding whether or
not to display the caret, this allows comboboxes to have carets
when the combotextbox does not have focus.
svn path=/trunk/mcs/; revision=71682
Ilya Kharmatsky [Thu, 25 Jan 2007 16:43:58 +0000 (16:43 -0000)]
Workaround Grasshopper's bugs with 'Ignore' and 'NotWorking' attribute / category.
svn path=/trunk/mcs/; revision=71680
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 16:41:12 +0000 (16:41 -0000)]
* TextBoxBase.cs: Don't antialias text. Makes it look way better
on Windows (no difference on Linux).
2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=71679
Ilya Kharmatsky [Thu, 25 Jan 2007 16:40:24 +0000 (16:40 -0000)]
Workaround Grasshopper's bugs with 'Ignore' attributes.
svn path=/trunk/mcs/; revision=71678
Jackson Harper [Thu, 25 Jan 2007 16:39:01 +0000 (16:39 -0000)]
* TextControl.cs: Add a Suspend/Resume for updating, basically
* the
same as the Suspend/Resume for recalc, except this will do
actual
Invalidates.
- New Undo manager, works much like the MS version.
- Implemented Redo
* TextBoxBase.cs: The Cut operation is undoable.
svn path=/trunk/mcs/; revision=71677
Ilya Kharmatsky [Thu, 25 Jan 2007 16:37:25 +0000 (16:37 -0000)]
Added 'Ignore' attributes, under TARGET_JVM directive in order to workaround
Grasshopper's bugs.
svn path=/trunk/mcs/; revision=71676
Ilya Kharmatsky [Thu, 25 Jan 2007 16:33:09 +0000 (16:33 -0000)]
Added 'Ignore' attribute under TARGET_JVM in order to workaround Grasshopper's bug.
svn path=/trunk/mcs/; revision=71674
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 16:30:26 +0000 (16:30 -0000)]
2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
* XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
we don't want to activate any windows. Fixes #79433.
svn path=/trunk/mcs/; revision=71673
Paolo Molaro [Thu, 25 Jan 2007 15:42:47 +0000 (15:42 -0000)]
Test for the arm encoding bug.
svn path=/trunk/mono/; revision=71671
Paolo Molaro [Thu, 25 Jan 2007 15:28:48 +0000 (15:28 -0000)]
Thu Jan 25 16:22:36 CET 2007 Paolo Molaro <lupus@ximian.com>
* class.c, loader.c: create the needed Set/Get/Address array methods
as well as the .ctors in mono_class_init (), fixes bug #80567.
svn path=/trunk/mono/; revision=71670
Jonathan Pobst [Thu, 25 Jan 2007 15:15:10 +0000 (15:15 -0000)]
2007-01-25 Jonathan Pobst <monkey@jpobst.com>
- ButtonBase.cs: Fix capitalization of parameter: disposing.
[Fixes bug #80609]
svn path=/trunk/mcs/; revision=71668