mono.git
16 years ago2007-11-02 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 2 Nov 2007 00:28:43 +0000 (00:28 -0000)]
2007-11-02  Robert Jordan  <robertj@gmx.net>

* ProcessTest.cs (TestRedirectedOutputIsAsync):
Instrument to see why the build bots are failing.

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

16 years ago2007-11-01 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 2 Nov 2007 00:08:14 +0000 (00:08 -0000)]
2007-11-01  Geoff Norton  <gnorton@novell.com>

    * XplatUI*.cs: Add GetPreviousWindow utility method to return windows in
    order of Z-Order.
    * Hwnd.cs: Add initial implementation of GetClippingRectangles to clip sibling
    children out of the drawing view on mac.
    * XplatUIOSX.cs: Code cleanup.  Handle more window grab cases.  Fix SetParent
    to handle the orphan and invisible case (1/2 fixes TabStrip drawing in FormsTest)

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

16 years ago2007-11-01 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 2 Nov 2007 00:07:32 +0000 (00:07 -0000)]
2007-11-01  Geoff Norton  <gnorton@novell.com>

    * carbonFunctions.cs:  Initiali implementation of clipping Z-order masking
    siblings from the context

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

16 years ago2007-11-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 1 Nov 2007 23:45:24 +0000 (23:45 -0000)]
2007-11-01  Miguel de Icaza  <miguel@novell.com>

* Socket.cs: Do not set the Send and Receive buffer sizes for the
socket to the defaults set on Windows, they kill our performance.

Thanks to Zoltan Varga for tracking the performance issue down.
The bug was #325032

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

16 years agounbreak the build (88692 reverted)
Robert Jordan [Thu, 1 Nov 2007 23:29:06 +0000 (23:29 -0000)]
unbreak the build (88692 reverted)

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

16 years agoFix for cloning methods with marshalers on return type.
Jb Evain [Thu, 1 Nov 2007 22:39:59 +0000 (22:39 -0000)]
Fix for cloning methods with marshalers on return type.

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

16 years ago2007-11-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 1 Nov 2007 22:16:01 +0000 (22:16 -0000)]
2007-11-01  Ivan N. Zlatev  <contact@i-nz.net>

        * CodeDomSerializerBase.cs:
         - Fix deserialization of enums and fields.
         - Fix deserialization of static properties.
         - Instrument the deserialization code to perform a lot more
           error
         checking and aggregate backtrace information.

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

16 years ago2007-11-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 1 Nov 2007 21:48:20 +0000 (21:48 -0000)]
2007-11-01  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_prolog): Check the domain as well for
native-to-managed wrappers.

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

16 years agoRemove unnecessary TODOs, NIEX
Miguel de Icaza [Thu, 1 Nov 2007 21:42:58 +0000 (21:42 -0000)]
Remove unnecessary TODOs, NIEX

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

16 years ago2007-11-01 Robert Jordan <robertj@gmx.net>
Robert Jordan [Thu, 1 Nov 2007 21:26:27 +0000 (21:26 -0000)]
2007-11-01  Robert Jordan  <robertj@gmx.net>

* ProcessTest.cs (TestRedirectedOutputIsAsync):
Replace the generated script with a simple one (command line based).
Add additional assert for Process.ExitCode == 0.

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

16 years agoSet eol-style to CRLF.
Gert Driesen [Thu, 1 Nov 2007 21:22:37 +0000 (21:22 -0000)]
Set eol-style to CRLF.

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

16 years ago* RegexReplace.cs: Fixed line endings.
Gert Driesen [Thu, 1 Nov 2007 21:19:14 +0000 (21:19 -0000)]
* RegexReplace.cs: Fixed line endings.

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

16 years ago* GroupTest.cs: Improved test for null argument check.
Gert Driesen [Thu, 1 Nov 2007 21:17:50 +0000 (21:17 -0000)]
* GroupTest.cs: Improved test for null argument check.
* MatchTest.cs: Improved tests for null argument checks. Added and
fixed replacement tests.
* RegexMatchTest.cs: Marked tests that do not pass on MS as NotDotNet.
Fixed expected result for trial 5.
* RegexResultTests.cs: Fixed Assert.
* Match.cs: Do not throw NotSupportedException on zero-length
replacement argument.

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

16 years ago2007-11-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 1 Nov 2007 21:13:48 +0000 (21:13 -0000)]
2007-11-01  Ivan N. Zlatev <contact@i-nz.net>

        * ResolveNameEventArgs.cs: Fix Value to not return and set Name.

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

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

* ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost, clicking
on the non-hosted-control part of it shouldn't do anything.
Fixes part of bug #327498.

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

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

    * stdio.c:  Handle Leopards lack of L_cuserid.

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

16 years ago2007-11-01 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 1 Nov 2007 19:03:42 +0000 (19:03 -0000)]
2007-11-01  Geoff Norton  <gnorton@novell.com>

    * mini-ppc.h, mini-x86.h:  Handle Leopards renaming of some structure
    members.

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

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

    * ppc/Makefile.am:  Only compile tramp.c if INTERP_SUPPORTED is true
    Fixes the build on Leopard.

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

16 years ago2007-11-01 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 1 Nov 2007 19:02:09 +0000 (19:02 -0000)]
2007-11-01  Geoff Norton  <gnorton@novell.com>

    * darwin_stop_world.c:  Handle Leopards renaming of some structure
    members.

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

16 years agoReverted patch as it introduced many regressions, see https://bugzilla.novell.com...
Miguel de Icaza [Thu, 1 Nov 2007 17:01:17 +0000 (17:01 -0000)]
Reverted patch as it introduced many regressions, see https://bugzilla.novell.com/show_bug.cgi?id=333740#c4

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

16 years ago* WebBrowserBase.cs: revert previous change, resize can be called anytime
Andreia Gaita [Thu, 1 Nov 2007 17:00:24 +0000 (17:00 -0000)]
* WebBrowserBase.cs: revert previous change, resize can be called anytime

2007-11-01  Andreia Gaita <avidigal@novell.com>

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

16 years ago2007-11-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 1 Nov 2007 16:32:19 +0000 (16:32 -0000)]
2007-11-01  Zoltan Varga  <vargaz@gmail.com>

* BinderTests.cs: Add a test for the ParamArray attribute.

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

16 years ago2007-11-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 1 Nov 2007 16:31:45 +0000 (16:31 -0000)]
2007-11-01  Zoltan Varga  <vargaz@gmail.com>

* Binder.cs: Avoid returning a method with a ParamArray attribute when a normal
method exists. Fixes #338266.

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

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

* Remove last commit.  It doesn't handle x86 properly

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

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