Eyal Alalouf [Tue, 30 Jan 2007 13:29:26 +0000 (13:29 -0000)]
Fix last changes for TARGET_JVM.
svn path=/trunk/mcs/; revision=71955
Eyal Alalouf [Tue, 30 Jan 2007 13:18:15 +0000 (13:18 -0000)]
Fix last changes for TARGET_JVM.
svn path=/trunk/mcs/; revision=71953
Atsushi Eno [Tue, 30 Jan 2007 11:07:40 +0000 (11:07 -0000)]
2007-01-30 Atsushi Enomoto <atsushi@ximian.com>
* Expression.cs : typo. Close #80669
svn path=/trunk/mcs/; revision=71948
Boris Kirzner [Tue, 30 Jan 2007 10:25:31 +0000 (10:25 -0000)]
Fix tests for TARGET_JVM.
svn path=/trunk/mcs/; revision=71947
Raja R Harinath [Tue, 30 Jan 2007 09:48:47 +0000 (09:48 -0000)]
make line-endings uniform
svn path=/trunk/mcs/; revision=71946
Raja R Harinath [Tue, 30 Jan 2007 09:47:17 +0000 (09:47 -0000)]
fix line endings
svn path=/trunk/mcs/; revision=71945
Rolf Bjarne Kvinge [Tue, 30 Jan 2007 09:40:03 +0000 (09:40 -0000)]
2007-01-30 Rolf Bjarne Kvinge <RKvinge@novell.com>
* DateTimePicker.cs: Remove a warning.
* ComboBox.cs: Remove a couple of warnings.
2007-01-29 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=71944
Yoni Klain [Tue, 30 Jan 2007 08:50:17 +0000 (08:50 -0000)]
2007-01-30 yonik <yonik@mainsoft.com>
* View2007-01-30 yonik <yonik@mainsoft.com>
svn path=/trunk/mcs/; revision=71943
Chris Toshok [Tue, 30 Jan 2007 06:55:26 +0000 (06:55 -0000)]
2007-01-29 Chris Toshok <toshok@ximian.com>
* ControlHandleTest.cs: make this compile against mono. we can
remove the __MonoCS__ ifdefs as we add properties. Also, split
out the Show() tests because they were failing and I wanted to see
which other tests were passing.
svn path=/trunk/mcs/; revision=71941
Atsushi Eno [Tue, 30 Jan 2007 06:19:53 +0000 (06:19 -0000)]
2007-01-30 Atsushi Enomoto <atsushi@ximian.com>
* HttpWebRequestTest.cs : use correct attribute.
svn path=/trunk/mcs/; revision=71940
Chris Toshok [Mon, 29 Jan 2007 23:40:40 +0000 (23:40 -0000)]
x2007-01-29 Chris Toshok <toshok@ximian.com>
* XplatUIX11.cs: don't crash, and remove the icon if the user has
set one, if SetIcon is passed a null icon.
svn path=/trunk/mcs/; revision=71932
Marek Habersack [Mon, 29 Jan 2007 21:55:56 +0000 (21:55 -0000)]
remove extra stuff
svn path=/trunk/mcs/; revision=71922
Jonathan Pobst [Mon, 29 Jan 2007 21:34:02 +0000 (21:34 -0000)]
2007-01-29 Jonathan Pobst <monkey@jpobst.com>
* DefaultLayout.cs: MdiClient should always be added last, it should
never Dock:Fill under other controls. [Fixes a part of bug #80223]
svn path=/trunk/mcs/; revision=71913
Gert Driesen [Mon, 29 Jan 2007 21:25:54 +0000 (21:25 -0000)]
* HttpWebRequestTest.cs: Added tests for case-sensitive dealing with
HTTP method.
* System_test.dll.sources: Added SocketResponder.cs.
* SocketResponser.cs: Utility class for tests that require a listener.
svn path=/trunk/mcs/; revision=71912
Miguel de Icaza [Mon, 29 Jan 2007 21:23:14 +0000 (21:23 -0000)]
2007-01-29 Miguel de Icaza <miguel@novell.com>
* ResXFileRef.cs: Catch the string case and create strings with
the specified encoding from its string source.
svn path=/trunk/mcs/; revision=71911
Raja R Harinath [Mon, 29 Jan 2007 19:53:52 +0000 (19:53 -0000)]
* cs-tokenizer.cs (parse_namespace_or_typename): Don't throw an
exception on possibly valid code.
svn path=/trunk/mcs/; revision=71910
Marek Habersack [Mon, 29 Jan 2007 19:47:33 +0000 (19:47 -0000)]
implement a missing attribute class
svn path=/trunk/mcs/; revision=71909
Marek Habersack [Mon, 29 Jan 2007 19:46:31 +0000 (19:46 -0000)]
Implement a missing Marshal.Copy overload
svn path=/trunk/mcs/; revision=71908
Radek Doulik [Mon, 29 Jan 2007 19:25:03 +0000 (19:25 -0000)]
added new test for my latest ModuleBuilde.cs change
svn path=/trunk/mcs/; revision=71905
Radek Doulik [Mon, 29 Jan 2007 19:24:11 +0000 (19:24 -0000)]
2007-01-25 Radek Doulik <rodo@novell.com>
* ModuleBuilder.cs: return created type from GetType in case the
type builder type was already created. Added test-555.cs as
regression test.
svn path=/trunk/mcs/; revision=71904
Igor Zelmanovich [Mon, 29 Jan 2007 16:42:03 +0000 (16:42 -0000)]
2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
CallBack works with EvantValidation.
svn path=/trunk/mcs/; revision=71901
Igor Zelmanovich [Mon, 29 Jan 2007 16:31:19 +0000 (16:31 -0000)]
2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
* MultyView.cs: OnActiveViewChanged is called.
svn path=/trunk/mcs/; revision=71899
Andreia Gaita [Mon, 29 Jan 2007 16:08:31 +0000 (16:08 -0000)]
2007-01-29 Andreia Gaita <avidigal@novell.com>
* TextBox.cs: Redraw when the password characters changes
* TextControl.cs: Check if textbox has a password char and draw
a line of password chars instead of the text in the line. LineTag gets
an extra Draw() method which allows document.Draw to override the text
that will be drawn. Removes 1024 char limitation on length of passworded
lines.
svn path=/trunk/mcs/; revision=71896
Jackson Harper [Mon, 29 Jan 2007 16:02:43 +0000 (16:02 -0000)]
* TextBoxBase.cs: Deleting sections of text is undoable.
* Deleting
single chars is not.
svn path=/trunk/mcs/; revision=71893
Paolo Molaro [Mon, 29 Jan 2007 15:52:34 +0000 (15:52 -0000)]
Mon Jan 29 16:51:33 CET 2007 Paolo Molaro <lupus@ximian.com>
* MonoSymbolWriter.cs: unlink the file before writing it, since it may
be mmapped by the runtime.
svn path=/trunk/mcs/; revision=71892
Yoni Klain [Mon, 29 Jan 2007 15:50:55 +0000 (15:50 -0000)]
By : yonik <yonik@mainsoft.com>
Desc : add unload test on the end
Date : 28/01/07
svn path=/trunk/mcs/; revision=71891
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