mono.git
16 years ago2007-11-01 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 1 Nov 2007 16:21:34 +0000 (16:21 -0000)]
2007-11-01  Geoff Norton  <gnorton@novell.com>

    * darwin_stop_world.c:  Apple has changed ppc_thread_state_t on leopard
    so we need to conditionally check for that.  __DARWIN_UNIX03 is the
    suggested define.

svn path=/trunk/mono/; revision=88659

16 years ago* EnvironmentTest.cs: Enabled test for bug ##333740.
Gert Driesen [Thu, 1 Nov 2007 16:07:09 +0000 (16:07 -0000)]
* EnvironmentTest.cs: Enabled test for bug ##333740.

svn path=/trunk/mcs/; revision=88658

16 years ago2007-11-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 1 Nov 2007 15:32:08 +0000 (15:32 -0000)]
2007-11-01  Jonathan Pobst  <monkey@jpobst.com>

* Application.cs: When a toolstrip has the keyboard input loop, let messages
it does not use flow through to controls that are hosted in menus.
Same with mouse clicks.
* Form.cs: Don't close all menus on click if the click is on a
control hosted in a menu.
Fixes part of bug #327498, and part of bug #325969.

svn path=/trunk/mcs/; revision=88653

16 years ago * SoapProtocolImporter.cs: Only output Required argument for
Gert Driesen [Thu, 1 Nov 2007 13:40:59 +0000 (13:40 -0000)]
 * SoapProtocolImporter.cs: Only output Required argument for
SoapHeaderAttribute on .NET 1.0, since it is not used in .NET 1.1 and
higher. Avoids numerous warnings when compiling generated code.

svn path=/trunk/mcs/; revision=88644

16 years ago2007-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 1 Nov 2007 13:33:10 +0000 (13:33 -0000)]
2007-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeFormatter.cs: Allow signature of very big files (e.g. a
1.5Gb EXE). Original patch from Ondrej Kelle;

svn path=/trunk/mcs/; revision=88643

16 years ago* MonoWSDL.cs: Backport part of fix for bug #336739 to WSDL for
Gert Driesen [Thu, 1 Nov 2007 13:27:08 +0000 (13:27 -0000)]
* MonoWSDL.cs: Backport part of fix for bug #336739 to WSDL for
1.0 profile. Output warning if no WSDLs were specified.

svn path=/trunk/mcs/; revision=88642

16 years ago2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Nov 2007 13:08:42 +0000 (13:08 -0000)]
2007-11-01  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : ParseExact() should ignore 'K' when there is no
  character is left.

* DateTimeTest.cs : fixed test for bug #338064 - milliseconds are not
  fully stored and caused mismatch. Format string was wrong.
  Added test for local time parsing. 'K' should not cause missing
  data (it could be empty).

svn path=/trunk/mcs/; revision=88641

16 years agoFixed invalid version number.
Marek Safar [Thu, 1 Nov 2007 11:41:03 +0000 (11:41 -0000)]
Fixed invalid version number.

svn path=/trunk/mono/; revision=88638

16 years ago2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Nov 2007 11:38:14 +0000 (11:38 -0000)]
2007-11-01  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaImporter.cs : simpleType is allowed to be imported.
  (Part of #336739 fix.)

* XmlSchemaImporterTests.cs : test for importing simple-typed
  top-level element.

svn path=/trunk/mcs/; revision=88636

16 years ago2007-11-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 1 Nov 2007 10:51:50 +0000 (10:51 -0000)]
2007-11-01  Marek Safar  <marek.safar@gmail.com>

* OracleCommand.cs,
* OracleConnection.cs,
* OracleTransaction.cs: 2.0 profile updates.

svn path=/trunk/mcs/; revision=88635

16 years agoCopied from mono/deploy
Marek Safar [Thu, 1 Nov 2007 10:44:33 +0000 (10:44 -0000)]
Copied from mono/deploy

svn path=/trunk/mcs/; revision=88634

16 years agoDefault output directory
Marek Safar [Thu, 1 Nov 2007 10:38:18 +0000 (10:38 -0000)]
Default output directory

svn path=/trunk/mcs/; revision=88633

16 years ago2007-11-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 1 Nov 2007 10:36:45 +0000 (10:36 -0000)]
2007-11-01  Marek Safar  <marek.safar@gmail.com>

* corcompare.make: Build corcompare into same directory.

svn path=/trunk/mcs/; revision=88632

16 years ago2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Nov 2007 10:16:02 +0000 (10:16 -0000)]
2007-11-01  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : in roundtrip mode, 'Z' should turn the tick value to
  utc time and should not result in different ticks.
  Fixed bug #338064.

* DateTimeTest.cs : fixed bug #338064.

svn path=/trunk/mcs/; revision=88631

16 years ago2007-11-01 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 1 Nov 2007 09:37:50 +0000 (09:37 -0000)]
2007-11-01 Igor Zelmanovich <igorz@mainsoft.com>

* WebUIValidation_2.0.js: fixed ToInteger function.
value such '10.00' is not converted to integer.

svn path=/trunk/mcs/; revision=88629

16 years ago2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Nov 2007 07:56:40 +0000 (07:56 -0000)]
2007-11-01  Atsushi Enomoto  <atsushi@ximian.com>

* MonoWSDL2.cs : it should be able to handle xml schemas that are
  passed as arguments, and those schemas could be used by *.wsdl.
  So, just use one WebReference to resolve everything at a time.
  (Part of #336739 fix.)

svn path=/trunk/mcs/; revision=88627

16 years ago2007-11-01 Atsushi Enomotot <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Nov 2007 07:37:18 +0000 (07:37 -0000)]
2007-11-01  Atsushi Enomotot  <atsushi@ximian.com>

* DiscoveryClientProtocol.cs : without setting Url before resolve,
  it causes NRE on get_BaseUrl().

svn path=/trunk/mcs/; revision=88626

16 years ago2007-10-31 Wade Berrier <wberrier@novell.com>
Wade Berrier [Thu, 1 Nov 2007 05:14:24 +0000 (05:14 -0000)]
2007-10-31  Wade Berrier  <wberrier@novell.com>

       * Makefile:  reenable copy of gmcs.exe.config, but include it in
EXTRA DIST (it doesn't get included because PROGRAM isn't defined to
be gmcs during 'make dist')

svn path=/trunk/mcs/; revision=88624

16 years agoupdate
Miguel de Icaza [Thu, 1 Nov 2007 04:14:00 +0000 (04:14 -0000)]
update

svn path=/trunk/mono/; revision=88623

16 years agoadded
Marek Habersack [Thu, 1 Nov 2007 02:16:26 +0000 (02:16 -0000)]
added

../System.Web/System.Web.Configuration/MachineKeyRegistryStorage.cs
../System.Web/System.Web.Configuration_2.0/MachineKeySectionUtils.cs

svn path=/trunk/mcs/; revision=88622

16 years ago2007-11-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 1 Nov 2007 02:14:52 +0000 (02:14 -0000)]
2007-11-01  Marek Habersack  <mhabersack@novell.com>

* Page.cs, ObjectStateFormatter.cs: use the new
MachineKeySectionUtils class wherever necessary.
2007-11-01  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources: added MachineKeySectionUtils.cs
2007-11-01  Marek Habersack  <mhabersack@novell.com>

* RolePrincipal.cs, MembershipProvider.cs: use the new
MachineKeySectionUtils class wherever necessary.

* FormsAuthentication.cs: use the new MachineKeySectionUtils class
wherever necessary.
GetHexString is a private method again.
2007-11-01  Marek Habersack  <mhabersack@novell.com>

* MachineKeySection.cs: moved all the internal static methods and
properties to MachineKeySectionUtils.cs

* MachineKeySectionUtils.cs: added. This file is included in the
System.Web.Extensions compilation.
The old properties from MachineKeySection.cs became methods.
2007-11-01  Marek Habersack  <mhabersack@novell.com>

* AssemblyResourceLoader.cs: added GetHexString, copied from
FormsAuthentication.cs. Encryption/decryption routines use methods
from the new MachineKeySectionUtils class. This is needed for the
same code to work from both System.Web and System.Web.Extensions.

svn path=/trunk/mcs/; revision=88621

16 years ago2007-10-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 31 Oct 2007 21:47:27 +0000 (21:47 -0000)]
2007-10-31  Marek Habersack  <mhabersack@novell.com>

* FormsAuthentication.cs: made GetHexString an internal method -
it is used in the AssemblyResourceLoader.cs
2007-10-31  Marek Habersack  <mhabersack@novell.com>

* AssemblyResourceLoader.cs: implemented assembly+resource name
encryption in the URLs. This follows MS.NET behavior. Also the
code is not varying the cache on the 't' parameter. Fixes bug
#338051.

svn path=/trunk/mcs/; revision=88608

16 years ago2007-10-31 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 31 Oct 2007 21:13:27 +0000 (21:13 -0000)]
2007-10-31  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Binary/ImageReader.cs: fix for the case where
the export table export zero functions.

svn path=/trunk/mcs/; revision=88607

16 years ago* WebBrowserBase.cs: Only call resize on gluezilla when it is active
Andreia Gaita [Wed, 31 Oct 2007 19:30:43 +0000 (19:30 -0000)]
* WebBrowserBase.cs: Only call resize on gluezilla when it is active

2007-10-31  Andreia Gaita <avidigal@novell.com>

svn path=/trunk/mcs/; revision=88605

16 years agoWed Oct 31 20:23:14 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Oct 2007 19:10:05 +0000 (19:10 -0000)]
Wed Oct 31 20:23:14 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.c, mini-x86.c: when getting back from unmanaged code
to managed via a marshaled delegate we also need to set the
right domain.

svn path=/trunk/mono/; revision=88602

16 years ago2007-10-31 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 31 Oct 2007 19:04:26 +0000 (19:04 -0000)]
2007-10-31  Jonathan Chambers <joncham@gmail.com>

* src/ghashtable.c: Add g_hash_table_foreach_steal.
* src/garray.c: Add g_array_remove_index_fast.
* src/gpath.c (g_path_is_absolute): Handle windows paths.
* src/glib.h: Add g_hash_table_foreach_steal and g_array_remove_index_fast

Contribution is licensed as MIT/X11.

svn path=/trunk/mono/; revision=88601

16 years agoFixed build.
Marek Safar [Wed, 31 Oct 2007 18:50:00 +0000 (18:50 -0000)]
Fixed build.

svn path=/trunk/mcs/; revision=88600

16 years agoWed Oct 31 19:53:33 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Oct 2007 18:35:56 +0000 (18:35 -0000)]
Wed Oct 31 19:53:33 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini-amd64.c, mini-amd64.h, tramp-amd64.c: breakpoint table support
for amd64.

svn path=/trunk/mono/; revision=88598

16 years agoWed Oct 31 19:29:30 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Oct 2007 18:14:03 +0000 (18:14 -0000)]
Wed Oct 31 19:29:30 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.c, mini.h, mini-x86, tramp-x86.c, mini-x86.h: added API to
let the debugger or other external agents to tell the JIT when
a sw breakpoint has been inserted in the code that the JIT needs
to be able to inspect.

svn path=/trunk/mono/; revision=88596

16 years ago2007-10-31 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 31 Oct 2007 18:09:21 +0000 (18:09 -0000)]
2007-10-31  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Use int.MaxValue for MaxLength instead of magic number.
Addresses an issue raised in bug #336218.

svn path=/trunk/mcs/; revision=88595

16 years agoSmall fix.
Martin Baulig [Wed, 31 Oct 2007 18:06:44 +0000 (18:06 -0000)]
Small fix.

svn path=/trunk/mono/; revision=88593

16 years ago2007-10-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 31 Oct 2007 18:05:58 +0000 (18:05 -0000)]
2007-10-31  Marek Safar  <marek.safar@gmail.com>

  A test for bug #338102

svn path=/trunk/mcs/; revision=88592

16 years ago2007-10-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 31 Oct 2007 18:05:35 +0000 (18:05 -0000)]
2007-10-31  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #338102
  * decl.cs (CheckExistingMembersOverloads): Workaround issue with generic
  methods registered as non-generics.

svn path=/trunk/mcs/; revision=88591

16 years agoOoops, I should really compile things before committing.
Martin Baulig [Wed, 31 Oct 2007 18:04:46 +0000 (18:04 -0000)]
Ooops, I should really compile things before committing.

svn path=/trunk/mono/; revision=88589

16 years agoReverted the debugger breakpoint code.
Martin Baulig [Wed, 31 Oct 2007 17:51:31 +0000 (17:51 -0000)]
Reverted the debugger breakpoint code.

svn path=/trunk/mono/; revision=88587

16 years agoRevert the debugger breakpoint code.
Martin Baulig [Wed, 31 Oct 2007 17:47:58 +0000 (17:47 -0000)]
Revert the debugger breakpoint code.

svn path=/trunk/mono/; revision=88586

16 years ago2007-10-31 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 31 Oct 2007 17:41:15 +0000 (17:41 -0000)]
2007-10-31  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 64.

* mono-debug-debugger.h
(MonoDebuggerEvent): Add `MONO_DEBUGGER_EVENT_TRAMPOLINE'.

svn path=/trunk/mono/; revision=88584

16 years agoSmall fix.
Martin Baulig [Wed, 31 Oct 2007 16:34:05 +0000 (16:34 -0000)]
Small fix.

svn path=/trunk/mono/; revision=88578

16 years ago2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 31 Oct 2007 15:53:40 +0000 (15:53 -0000)]
2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>

* Login.cs:
does not perform authentication if Page.IsValid returns false;
the fix makes control works with disabled client side validation.

svn path=/trunk/mcs/; revision=88568

16 years agoactually I gave wrong file name.
Atsushi Eno [Wed, 31 Oct 2007 15:27:13 +0000 (15:27 -0000)]
actually I gave wrong file name.

svn path=/trunk/mcs/; revision=88564

16 years agoNew tests.
Marek Safar [Wed, 31 Oct 2007 15:05:32 +0000 (15:05 -0000)]
New tests.

svn path=/trunk/mcs/; revision=88558

16 years ago2007-10-31 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 31 Oct 2007 15:04:46 +0000 (15:04 -0000)]
2007-10-31  Martin Baulig  <martin@ximian.com>

* debug-debugger.h
(MonoDebuggerInfo): Remove `runtime_class_init'.

svn path=/trunk/mono/; revision=88557

16 years ago2007-10-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 31 Oct 2007 14:50:02 +0000 (14:50 -0000)]
2007-10-30  Martin Baulig  <martin@ximian.com>

* mini-trampolines.c
(mono_magic_trampoline): Call mono_debugger_trampoline_compiled().

* mini-amd64.c
(_mono_debugger_breakpoint_info_area): New public variable.
(mono_debugger_breakpoint_table): New public variable.
(mono_debugger_remove_breakpoints_from_code): New method.
(mono_arch_get_vcall_slot): Call it here to remove breakpoints.

* mini-x86.c
(_mono_debugger_breakpoint_info_area): New public variable.
(mono_debugger_breakpoint_table): New public variable.
(mono_debugger_remove_breakpoints_from_code): New method.
(mono_arch_get_vcall_slot): Call it here to remove breakpoints.

* debug-mini.h
(mono_debugger_thread_created): Added `MonoThread *' argument.
(mono_debugger_extended_notification): New public method.
(mono_debugger_trampoline_compiled): New public method.

* debug-mini.c
(MonoDebuggerThreadInfo): Added `thread' and
`extended_notifications' fields.

* debug-debugger.c
(debugger_executable_code_buffer): New static variable.

* debug-debugger.h
(MonoDebuggerInfo): Added `executable_code_buffer',
`executable_code_buffer_size', `breakpoint_info_area',
`breakpoint_table' and `breakpoint_table_size'.

svn path=/trunk/mono/; revision=88556

16 years ago2007-10-31 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 31 Oct 2007 14:49:20 +0000 (14:49 -0000)]
2007-10-31  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 64.

* mono-debug-debugger.h
(MonoDebuggerEvent): Add `MONO_DEBUGGER_EVENT_TRAMPOLINE'.

svn path=/trunk/mono/; revision=88555

16 years ago2007-10-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 31 Oct 2007 13:51:32 +0000 (13:51 -0000)]
2007-10-31  Sebastien Pouliot  <sebastien@ximian.com>

* ImageAnimator.cs: Fix delay == 0 to match most browser (imaginative)
definitions of "0". Don't throw on null images. Synchronize hashtable.
Remove unrequired loops.

svn path=/trunk/mcs/; revision=88553

16 years ago2007-10-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 31 Oct 2007 13:14:49 +0000 (13:14 -0000)]
2007-10-31  Marek Safar  <marek.safar@gmail.com>

  A fix for bugs #337712, #324490
  * delegate.cs: Delegate covariance and contravariance is not allowed for
  value types.

svn path=/trunk/mcs/; revision=88552

16 years agoAdded new test case.
Marek Safar [Wed, 31 Oct 2007 11:16:23 +0000 (11:16 -0000)]
Added new test case.

svn path=/trunk/mcs/; revision=88551

16 years ago2007-10-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 31 Oct 2007 11:15:45 +0000 (11:15 -0000)]
2007-10-31  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #337719
  * cs-tokenizer.cs: Restore identifier buffer when parsing contextual
  `from' keyword.

svn path=/trunk/mcs/; revision=88550

16 years ago* Base.cs: Send (and create if needed) user dir to store local mozilla data
Andreia Gaita [Wed, 31 Oct 2007 11:08:29 +0000 (11:08 -0000)]
* Base.cs: Send (and create if needed) user dir to store local mozilla data

2007-10-31  Andreia Gaita  <avidigal@novell.com>

svn path=/trunk/mcs/; revision=88548

16 years ago2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 31 Oct 2007 11:03:56 +0000 (11:03 -0000)]
2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>

* DataList.cs:
state of DataList.Items are restored correct on PostBack
such Items.Count and ItemType.

2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>

* DataListTest.cs:
Added new test.

svn path=/trunk/mcs/; revision=88546

16 years ago* XmlConvertTests.cs: Added link to MS bug report.
Gert Driesen [Wed, 31 Oct 2007 09:43:18 +0000 (09:43 -0000)]
* XmlConvertTests.cs: Added link to MS bug report.

svn path=/trunk/mcs/; revision=88545

16 years ago2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 31 Oct 2007 09:30:09 +0000 (09:30 -0000)]
2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>

* BaseValidator.cs:
validator is rendered correct if EnabledClientClient is false.

svn path=/trunk/mcs/; revision=88542

16 years agofix csproj
Jb Evain [Wed, 31 Oct 2007 09:01:33 +0000 (09:01 -0000)]
fix csproj

svn path=/trunk/mcs/; revision=88541

16 years agofix csproj
Jb Evain [Wed, 31 Oct 2007 09:01:23 +0000 (09:01 -0000)]
fix csproj

svn path=/trunk/mcs/; revision=88540

16 years agoFix of SmtpClient.Read() method:
Arina Itkes [Wed, 31 Oct 2007 08:21:13 +0000 (08:21 -0000)]
Fix of SmtpClient.Read() method:
Added check of string position before calling
Substring and IndexOf methods of string.

svn path=/trunk/mcs/; revision=88539

16 years ago2007-10-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 31 Oct 2007 07:39:02 +0000 (07:39 -0000)]
2007-10-31  Atsushi Enomoto <atsushi@ximian.com>

* XsdValidatingReader.cs : r68046 didn't really fix the issue.
  Enabled the actual fix. and fixed bug #336625.

* XsdValidatingReaderTests.cs : added test for #336625.

* 336625.xsd : new test file.

* Makefile : extra distfiles (336625.xsd).

svn path=/trunk/mcs/; revision=88537

16 years agoAdd back my quick-hack target
Miguel de Icaza [Wed, 31 Oct 2007 04:23:48 +0000 (04:23 -0000)]
Add back my quick-hack target

svn path=/trunk/mcs/; revision=88536

16 years ago2007-10-31 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 31 Oct 2007 04:12:56 +0000 (04:12 -0000)]
2007-10-31  Miguel de Icaza  <miguel@novell.com>

* Dictionary.cs: Do not increment curTableItem when we return
false.   Was not necessary, just a defensive move.

svn path=/trunk/mcs/; revision=88535

16 years agoPatch from Juraj:
Miguel de Icaza [Wed, 31 Oct 2007 04:10:33 +0000 (04:10 -0000)]
Patch from Juraj:

2007-10-10  Juraj Skripsky <js@hotfeet.ch>

* Dictionary.cs (Enumerator.MoveNext): Handle the case where we
had already reached the end. Fixes bug #332534.

svn path=/trunk/mcs/; revision=88534

16 years ago2007-10-30 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 31 Oct 2007 00:23:56 +0000 (00:23 -0000)]
2007-10-30  Miguel de Icaza  <miguel@novell.com>

* UInt32.cs (Parse): Use Jeff Stedfast's parsing code which is
smaller and does not need checked() constructs.

* Int64.cs, Int32.cs, Int16.cs: small tuneup: do not throw
exception, instead return the exception like every other place in
this code.

svn path=/trunk/mcs/; revision=88528

16 years agoMake this more informative
Miguel de Icaza [Wed, 31 Oct 2007 00:22:31 +0000 (00:22 -0000)]
Make this more informative

svn path=/trunk/mcs/; revision=88527

16 years ago2007-10-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Oct 2007 22:19:02 +0000 (22:19 -0000)]
2007-10-30  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_custom_attrs_from_class): Add support for dynamic inflated
classes.

svn path=/trunk/mono/; revision=88522

16 years ago2007-10-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Oct 2007 22:08:59 +0000 (22:08 -0000)]
2007-10-30  Zoltan Varga  <vargaz@gmail.com>

* Binder.cs: Applied patch from Mario A Chavez <mario.chavez@gmail.com>. Add
support for binding to methods with ParamArray attribute. Fixes #336841.

svn path=/trunk/mcs/; revision=88521

16 years agoFix the build
Miguel de Icaza [Tue, 30 Oct 2007 20:51:53 +0000 (20:51 -0000)]
Fix the build

svn path=/trunk/mcs/; revision=88511

16 years ago2007-10-30 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 30 Oct 2007 20:11:03 +0000 (20:11 -0000)]
2007-10-30  Miguel de Icaza  <miguel@novell.com>

* Int16.cs, Int32.cs, Int64.cs: Use the Jeff Stedfast parsing code
which is smaller.  We no longer use "checked" to check for
overflows, I refactored some stuff and cleaned up the rest and
fixes #331525.

svn path=/trunk/mcs/; revision=88505

16 years agofix the build
Robert Jordan [Tue, 30 Oct 2007 20:01:08 +0000 (20:01 -0000)]
fix the build

svn path=/trunk/mcs/; revision=88504

16 years ago2007-10-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 30 Oct 2007 19:17:11 +0000 (19:17 -0000)]
2007-10-30  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Patch from George that moves the conversion of ClientSize->Size
for PreferredSize from OnLayout to PreferredSize.  Fixes bug #325242.

2007-10-30  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Test from George for bug #325242.

svn path=/trunk/mcs/; revision=88496

16 years agoIn Test/System.Diagnostics:
Robert Jordan [Tue, 30 Oct 2007 18:35:42 +0000 (18:35 -0000)]
In Test/System.Diagnostics:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* ProcessTest.cs: Add tests for bug #319829.

In System.Diagnostics:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* Process.cs: Wrap the redirected streams with a stream
that provides real async Begin/Read|Write operations.
Fixes bug #319829.

In System.IO:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* MonoSyncFileStream.cs: Add.

svn path=/trunk/mcs/; revision=88491

16 years ago2007-10-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 30 Oct 2007 17:49:57 +0000 (17:49 -0000)]
2007-10-30  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPath.cs: Remove some TODO specific to libgdiplus.

svn path=/trunk/mcs/; revision=88485

16 years ago2007-10-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 30 Oct 2007 17:48:55 +0000 (17:48 -0000)]
2007-10-30  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathTest.cs: Added IsVisible test cases on ellipses
(#325502)

svn path=/trunk/mcs/; revision=88484

16 years agoMono.Mozilla/Base.cs: use the blur method to signal when the webbrowser loses focus
Andreia Gaita [Tue, 30 Oct 2007 17:43:20 +0000 (17:43 -0000)]
Mono.Mozilla/Base.cs: use the blur method to signal when the webbrowser loses focus

2007-10-30  Andreia Gaita  <avidigal@novell.com>

svn path=/trunk/mcs/; revision=88482

16 years ago2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 30 Oct 2007 16:52:29 +0000 (16:52 -0000)]
2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* HttpUtility.cs: fixed HtmlEncode for TARGET_JVM.

2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* HttpUtilityTest.cs: added new test.

svn path=/trunk/mcs/; revision=88477

16 years ago2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 30 Oct 2007 16:18:44 +0000 (16:18 -0000)]
2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* HttpUtility.cs: fixed UrlPathEncode.

2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* HttpUtilityTest.cs: make test pass on .NET.

svn path=/trunk/mcs/; revision=88473

16 years ago2007-10-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 30 Oct 2007 15:21:04 +0000 (15:21 -0000)]
2007-10-30  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Add test for bug #325436.

svn path=/trunk/mcs/; revision=88468

16 years ago2007-10-15 Jonathan Chambers <joncham@gmail.com>
Miguel de Icaza [Tue, 30 Oct 2007 14:56:08 +0000 (14:56 -0000)]
2007-10-15  Jonathan Chambers <joncham@gmail.com>

* icall.c: Use GetEnvironmentStrings on windows
so we are using the same environment block as
GetEnvironmentVariable/SetEnvironmentVariable. Fixes
#333740.

Code is contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=88463

16 years ago2007-10-30 Jerome Haltom (wasabi@larvalstage.net)
Miguel de Icaza [Tue, 30 Oct 2007 14:51:40 +0000 (14:51 -0000)]
2007-10-30  Jerome Haltom  (wasabi@larvalstage.net)

* FtpWebRequest.cs: adds support for ftp multiline results, fixes
#333978

svn path=/trunk/mcs/; revision=88460

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 14:45:07 +0000 (14:45 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* Compiler.cs : added CheckExtraAttributes() to check invalid
  attributes on stylesheet component elements.
  Use it in xsl:sort too.

* XslMessage.cs, XslText.cs, XslVariable.cs, XslNumber.cs,
  XslElement.cs, XslIf.cs, XslFallback.cs, XslCopyOf.cs,
  XslValueOf.cs, XslComment.cs, XslAttribute.cs, XslApplyImports.cs,
  XslApplyTemplates.cs, XslForEach.cs, XslCallTemplate.cs,
  XslCopy.cs, XslProcessingInstruction.cs, XslChoose.cs:
  refactory on checking invalid attributes. Fixed bug #333806.

in Test/System.Xml.Xsl/standalone:
* Makefile: it somehow does not work fine unless nunit-console.exe is
  here. So just copy it here when building the test.

svn path=/trunk/mcs/; revision=88459

16 years ago2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 30 Oct 2007 14:21:51 +0000 (14:21 -0000)]
2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* Image.cs: fixed management state of Enabled property.
* WebControl.cs: refactoring in management state of Enabled property.

2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* ImageTest.cs:
* WebControlTest.cs:
Added new tests.

svn path=/trunk/mcs/; revision=88457

16 years ago2007-10-30 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 30 Oct 2007 13:55:11 +0000 (13:55 -0000)]
2007-10-30  Dick Porter  <dick@ximian.com>

* UdpClient.cs: Don't set the multicast option twice.  Fixes bug
324033.

2007-10-30  Dick Porter  <dick@ximian.com>

* UdpClientTest.cs: Test for 324033.

svn path=/trunk/mcs/; revision=88456

16 years ago2007-10-30 Juraj Skripsky <js@hotfete.ch>
Juraj Skripsky [Tue, 30 Oct 2007 13:10:44 +0000 (13:10 -0000)]
2007-10-30 Juraj Skripsky  <js@hotfete.ch>

* AssemblyResourceLoader.cs: Always use '&' as query parameter
separator, as HttpUtility does not support ';' anymore.

svn path=/trunk/mcs/; revision=88454

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 13:07:14 +0000 (13:07 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaExporterTests.cs : without Infoset(), those tests randomly
  fail on .NET. This fix is incomplete. Someone please continue this
  boring work. I don't want to do that.

svn path=/trunk/mcs/; revision=88453

16 years ago* AlertCheck.cs, ConfirmCheck.cs, Generic.cs, Prompt.cs: Fix warnings
Andreia Gaita [Tue, 30 Oct 2007 13:01:39 +0000 (13:01 -0000)]
* AlertCheck.cs, ConfirmCheck.cs, Generic.cs, Prompt.cs: Fix warnings

2007-10-30  Andreia Gaita <avidigal@novell.com>

svn path=/trunk/mcs/; revision=88452

16 years ago* Add manual test scripts for 2.0
Andreia Gaita [Tue, 30 Oct 2007 12:58:44 +0000 (12:58 -0000)]
* Add manual test scripts for 2.0

2007-10-30  Andreia Gaita <avidigal@novell.com>

svn path=/trunk/mcs/; revision=88451

16 years ago* ContainerControl.cs: Check if the active control is a
Andreia Gaita [Tue, 30 Oct 2007 12:55:27 +0000 (12:55 -0000)]
* ContainerControl.cs: Check if the active control is a
child of a removed control and update active_control accordingly.
Fixes #329718

* ContainerControlTest.cs: Add test for #329718

2007-10-30  Andreia Gaita <avidigal@novell.com>

svn path=/trunk/mcs/; revision=88450

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 12:33:34 +0000 (12:33 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : ToDateTime(string,string) should use ParseExact(),
  not Parse(). Use 'K' for roundtrip format.

* XmlCustomFormatter.cs : use RoundtripKind when converting to and
  from DateTime.

* XmlConvertTest.cs : added test for DateTime roundtrip.

* XmlSerializerTests.cs : added test for bug #337729.

svn path=/trunk/mcs/; revision=88448

16 years agoFix for the build breakage.
Paolo Molaro [Tue, 30 Oct 2007 12:21:27 +0000 (12:21 -0000)]
Fix for the build breakage.

svn path=/trunk/mono/; revision=88447

16 years ago* Test/Microsoft.VisualBasic/CodeGeneratorFromExpressionTest.cs: Added
Rolf Bjarne Kvinge [Tue, 30 Oct 2007 11:11:47 +0000 (11:11 -0000)]
* Test/Microsoft.VisualBasic/CodeGeneratorFromExpressionTest.cs: Added
  ArrayIndexerExpressionTest.
* Microsoft.VisualBasic/VBCodeGenerator.cs: Fix array indexer
  expressions by don't adding a ".Item" to the array.

svn path=/trunk/mcs/; revision=88446

16 years ago2007-10-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 30 Oct 2007 10:35:38 +0000 (10:35 -0000)]
2007-10-30  Marek Safar  <marek.safar@gmail.com>

* Makefile (net_2_0_bootstrap/mcs.exe.config): Reverted copy gmcs.exe.config.

svn path=/trunk/mcs/; revision=88445

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 10:12:19 +0000 (10:12 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeFormatInfoTest.cs : added test for bug #335298.

svn path=/trunk/mcs/; revision=88444

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 10:11:57 +0000 (10:11 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info-table.h : regenerated.

svn path=/trunk/mono/; revision=88443

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 10:10:56 +0000 (10:10 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* Driver.cs, DateTimeFormatEntry.cs : since FullDateTimePattern
  should be computed on the overriden Long[Date/Time]Pattern, compute
  it later than reading all format resources (langs/locales/supp).

* es_ES.xml : couple of format string fixes for bug #335298.

svn path=/trunk/mono/; revision=88442

16 years ago2007-10-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 30 Oct 2007 02:45:48 +0000 (02:45 -0000)]
2007-10-29  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePickerTest.cs: Tests for setting the Value outside the
range of MinDate and MaxDate.

svn path=/trunk/mcs/; revision=88439

16 years ago2007-10-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 30 Oct 2007 02:43:31 +0000 (02:43 -0000)]
2007-10-29  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
or the MaxDate.  Fixed bug #337693.

svn path=/trunk/mcs/; revision=88438

16 years agoIn Test/System.Timers:
Robert Jordan [Tue, 30 Oct 2007 02:34:38 +0000 (02:34 -0000)]
In Test/System.Timers:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* TimerTest.cs: Enable test for bug #82701/#325368.

In System.Timers:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* Timer.cs (set_Enabled): Allow setting Enabled from within
the Elapsed event handler. Fixes #325368.

svn path=/trunk/mcs/; revision=88437

16 years ago2007-10-30 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 30 Oct 2007 02:14:42 +0000 (02:14 -0000)]
2007-10-30  Robert Jordan  <robertj@gmx.net>

* HttpHelper.cs: Support for the "https" scheme. Make scheme parser
case invariant. Fixes bug #81701.

* HttpServerChannel.cs (GetChannelUri): Take channel data into account.

* HttpServerChannel.cs (SetupChannel): Initialize channel data
with "null", because at this stage we don't necessary have a valid
channel URI.

svn path=/trunk/mcs/; revision=88436

16 years ago2007-10-30 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 30 Oct 2007 01:49:53 +0000 (01:49 -0000)]
2007-10-30  Robert Jordan  <robertj@gmx.net>

* GenericTest.cs: Add tests for bug #324232.

svn path=/trunk/mcs/; revision=88435

16 years agoIn System.Runtime.Remoting:
Robert Jordan [Tue, 30 Oct 2007 01:49:05 +0000 (01:49 -0000)]
In System.Runtime.Remoting:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* RemotingServices.cs: (InternalExecuteMessage):
Resolve interface methods using the new icall GetVirtualMethod ().
Remove the now obsolete GetMethodBaseFromName + generic params
overloads.

In System.Runtime.Remoting.Messaging:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* MethodCall.cs (ResolveMethod): Lookup the interface
using RemotingServices.GetVirtualMethod (). Eliminates
the costly GetMethodBaseFromName () call.

svn path=/trunk/mcs/; revision=88434

16 years ago2007-10-30 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 30 Oct 2007 01:47:07 +0000 (01:47 -0000)]
2007-10-30  Robert Jordan  <robertj@gmx.net>

* icall-def.h, icall.c:
Add ves_icall_Remoting_RemotingServices_GetVirtualMethod ().

Code is contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=88433

16 years ago2007-10-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Oct 2007 21:58:58 +0000 (21:58 -0000)]
2007-10-29  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_setup_vtable): Find the inflated methods in the
inflated class instead of inflating them again.

svn path=/trunk/mono/; revision=88415

16 years ago2007-10-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Oct 2007 21:53:24 +0000 (21:53 -0000)]
2007-10-29  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_setup_vtable): Inflate the override methods in the
dynamic case.

svn path=/trunk/mono/; revision=88414