mono.git
16 years ago2007-09-14 Jb Evain <jbevain@novell.com>
Miguel de Icaza [Mon, 5 Nov 2007 03:07:49 +0000 (03:07 -0000)]
2007-09-14  Jb Evain  <jbevain@novell.com>

* Makefile: force the use of the 2.0 mscorlib to compile
the 2.1 mscorlib.dll.

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

16 years ago2007-11-04 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 5 Nov 2007 03:07:24 +0000 (03:07 -0000)]
2007-11-04  Miguel de Icaza  <miguel@novell.com>

        * reflection.c  (mono_param_get_objects): If a parameter has the
        attribute [System.Runtime.InteropServices.Optional] we should
        set the DefaultValue of the ParameterInfo to be
        System.Reflection.Missing instead of DBNull.

        See bug #339013.

        (mono_get_reflection_missing_object): New method,
        returns the System.Reflection.Missing.Value singleton instance.

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

16 years ago * ListViewGroup.cs: Adda TypeConverter attribute for this class,
Carlos Alberto Cortez [Mon, 5 Nov 2007 01:10:13 +0000 (01:10 -0000)]
* ListViewGroup.cs: Adda TypeConverter attribute for this class,
as well as adding a custom 'dummy' Converter, as .net does.

2007-11-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago * PropertyGridView.cs: When clicking drop-down button,
Carlos Alberto Cortez [Mon, 5 Nov 2007 01:06:32 +0000 (01:06 -0000)]
* PropertyGridView.cs: When clicking drop-down button,
select an index in the listbox only if our standard values collection
has one or more items.

2007-11-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-11-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 4 Nov 2007 23:24:43 +0000 (23:24 -0000)]
2007-11-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: Add a DefaultValue attribute to 2.0 IndentCount
property.

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

16 years ago* PropertyGridTest.cs: Enabled and improved PropertySort tests.
Gert Driesen [Sun, 4 Nov 2007 20:03:56 +0000 (20:03 -0000)]
* PropertyGridTest.cs: Enabled and improved PropertySort tests.

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

16 years ago* PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
Gert Driesen [Sun, 4 Nov 2007 20:02:12 +0000 (20:02 -0000)]
* PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
the value is not changed. This ensure a pushed button remains in that
state when clicked again. When switching the value of PropertySort
between Categorized and CategorizedAlphabetical, do not update the
grid items and do not fire a PropertyChangedEvent. When clicking the
sorting buttons, do not modify the PropertySort value when switching
between Categorized and CategorizedAlphabetical but only update the
button state.

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

16 years agoFix the build
Miguel de Icaza [Sun, 4 Nov 2007 16:42:39 +0000 (16:42 -0000)]
Fix the build

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

16 years ago2007-11-04 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 4 Nov 2007 16:11:04 +0000 (16:11 -0000)]
2007-11-04  Miguel de Icaza  <miguel@novell.com>

* FtpWebRequest.cs (GetResponseStatus): Fix this routine
propertly, refactor, and make it follow Mono coding conventions.

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

16 years ago* Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
Gert Driesen [Sun, 4 Nov 2007 14:36:07 +0000 (14:36 -0000)]
* Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
formatting.
* PropertyGrid.cs: Also put Categorized button in pushed state when
PropertySort is CategorizedAlphabetical. Set AutoEllipsis to true
for help description label.

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

16 years agoFix for expected result of 44 test
Arina Itkes [Sun, 4 Nov 2007 11:22:13 +0000 (11:22 -0000)]
Fix for expected result of 44 test

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

16 years agoTARGET_JVM: return flow to the version before revision 80469
Arina Itkes [Sun, 4 Nov 2007 10:30:24 +0000 (10:30 -0000)]
TARGET_JVM: return flow to the version before revision 80469

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

16 years ago2007-11-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 4 Nov 2007 02:16:52 +0000 (02:16 -0000)]
2007-11-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When calculating the biggest item for a given column,
take into account 2.0 LIstViewItem.IndentCount, since it directly affects
the item's width.

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

16 years ago2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 3 Nov 2007 19:29:35 +0000 (19:29 -0000)]
2007-11-03  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : fix for #330085. for Local time, convert to Utc
  before getting ticks.

* DateTimeTest.cs : test for bug #330085.

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

16 years ago2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 3 Nov 2007 18:50:48 +0000 (18:50 -0000)]
2007-11-03  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeFormatInfoTest.cs : enabled test for bug #332553.

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

16 years ago2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 3 Nov 2007 18:49:47 +0000 (18:49 -0000)]
2007-11-03  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info-table.h : regenerated.

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

16 years ago2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 3 Nov 2007 18:48:31 +0000 (18:48 -0000)]
2007-11-03  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeFormatEntry.cs, Driver.cs : adjust the count of
  MonthNames and AbbreviatedMonthNames entries to 13.
  Fixed bug #332553.

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

16 years agoApply fix from Geoff Norton, for bug Bug 319486
Miguel de Icaza [Sat, 3 Nov 2007 18:02:33 +0000 (18:02 -0000)]
Apply fix from Geoff Norton, for bug Bug 319486

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

16 years ago * ListViewItemTest.cs: Mark RemoveFocusedItem as NotWorking.
Carlos Alberto Cortez [Sat, 3 Nov 2007 17:22:15 +0000 (17:22 -0000)]
* ListViewItemTest.cs: Mark RemoveFocusedItem as NotWorking.
* PropertyGridTest.cs: The same for PropertySort_Valid and
PropertySort_Invalid.

2007-11-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-11-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 3 Nov 2007 17:11:14 +0000 (17:11 -0000)]
2007-11-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItemTest.cs: New tests for 2.0 IndentCount property.

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

16 years ago2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 3 Nov 2007 16:19:38 +0000 (16:19 -0000)]
2007-11-03  Atsushi Enomoto  <atsushi@ximian.com>

* sgen.cs : handle /t option correctly. Exception handling.
  Patch by siokoshou ( http://d.hatena.ne.jp/siokoshou ).

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

16 years ago* PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
Gert Driesen [Sat, 3 Nov 2007 14:26:51 +0000 (14:26 -0000)]
* PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
value for PropertySort on 1.0 profile. PropertySortChanged event
should only be fired on 2.0 profile. Fixed NullReferenceException
in UpdateSortLayout when PropertyGrid contains no items.
* ListViewItemTest.cs: Enabled test for bug #331643 and #330415.
* PropertyGridTest.cs: Added tests for PropertySort.

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

16 years ago* InvalidEnumArgumentExceptionTest.cs: Added ctor tests.
Gert Driesen [Sat, 3 Nov 2007 14:13:27 +0000 (14:13 -0000)]
* InvalidEnumArgumentExceptionTest.cs: Added ctor tests.
* InvalidEnumArgumentException.cs: Fixed default ctor. Modified
message on 2.0 profile for ctor (string, int, Type) to match MS.
* System_test.dll.sources: Added InvalidEnumArgumentExceptionTest.cs.

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

16 years ago* ArgumentExceptionTest.cs: Added trivial ctor tests.
Gert Driesen [Sat, 3 Nov 2007 13:17:17 +0000 (13:17 -0000)]
* ArgumentExceptionTest.cs: Added trivial ctor tests.
* ArgumentException.cs: Change default message to match MS. Removed
unnecessary check from Message, since base.Message can never be null.

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

16 years ago* ApplicationHost.cs: On 2.0, also make PrivateBinPath an absolute
Gert Driesen [Sat, 3 Nov 2007 08:18:57 +0000 (08:18 -0000)]
* ApplicationHost.cs: On 2.0, also make PrivateBinPath an absolute
paths on Windows (and on systems using MONO_IOMAP).

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

16 years ago* HttpRuntime.cs: Always return a path with trailing directory
Gert Driesen [Sat, 3 Nov 2007 08:15:49 +0000 (08:15 -0000)]
* HttpRuntime.cs: Always return a path with trailing directory
separator character. Spaces to tabs.

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

16 years ago2007-11-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 3 Nov 2007 01:38:00 +0000 (01:38 -0000)]
2007-11-03  Marek Habersack  <mhabersack@novell.com>

* Control.cs: need to append a "/" to TemplateSourceDirectory
before calling VirtualPathUtility.Combine, in order to get the
correct physical path to the requested file. Combine looks for the
last occurrence of "/" to determine where the relative paths
should be joined.

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

16 years ago2007-11-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 3 Nov 2007 00:51:30 +0000 (00:51 -0000)]
2007-11-03  Marek Habersack  <mhabersack@novell.com>

* MinimizableAttributeTypeConverter.cs: don't throw on null value,
call the base class method in that case.
2007-11-03  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: do not call converters specified in
the member custom attributes if 'str' is null in
GetExpressionFromString.

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

16 years ago2007-11-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 3 Nov 2007 00:28:48 +0000 (00:28 -0000)]
2007-11-03  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs: don't NRE on a null assembly passed
to AddAssembly.
AddAssemblyByName must check the return value of
Assembly.LoadWithPartialName, as the method doesn't throw on
missing assembly, it returns null instead.

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

16 years ago2007-11-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 3 Nov 2007 00:04:51 +0000 (00:04 -0000)]
2007-11-03  Marek Habersack  <mhabersack@novell.com>

* ClientScriptManager.cs: eventValidationArray is serialized in an
optimized fashion, so that its serialized form occupies only as
many slots as were actually used. It may result in that an array
of 0 entries will be serialized and then
restored. EnsureEventValidationArray takes that into consideration
now.

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

16 years ago2007-11-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 2 Nov 2007 23:02:36 +0000 (23:02 -0000)]
2007-11-03  Marek Habersack  <mhabersack@novell.com>

* ApplicationHostTest.cs: adjust ConstructorTest for
AppDomainSetup.PrivateBinPath changes.
2007-11-03  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: AppDomainSetup.PrivateBinPath is a list of
full paths on 2.0.
2007-11-03  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: removed unused internal PrivateBinPath
property.

* HttpRuntime.cs: BinDirectory returns a path that ends with the
directory separator character.

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

16 years agoFix a regression of a recent fix = if virtual path is /, do not duplicate the slash
Marek Habersack [Fri, 2 Nov 2007 22:03:58 +0000 (22:03 -0000)]
Fix a regression of a recent fix = if virtual path is /, do not duplicate the slash

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

16 years agoNew test.
Marek Safar [Fri, 2 Nov 2007 21:46:24 +0000 (21:46 -0000)]
New test.

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

16 years ago2007-11-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 Nov 2007 21:44:40 +0000 (21:44 -0000)]
2007-11-02  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #332909
  * attribute.cs: Resolve attributes in correct context using error
  handling procedure.

  * rootcontext.cs: Define Obsolete attribute members as core members.

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

16 years ago2007-11-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 Nov 2007 19:29:36 +0000 (19:29 -0000)]
2007-11-02  Jonathan Pobst  <monkey@jpobst.com>

* Picture.cs: Reset the data stream position back to 0 before trying
to convert it into an image.  Fixes bug #325055.

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

16 years ago2007-11-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Nov 2007 17:46:05 +0000 (17:46 -0000)]
2007-11-02  Atsushi Enomoto  <atsushi@ximian.com>

* PathTest.cs: Fixed wrong assumption on GetDirectoryName("/")
  result on Unix (on top level it returns null).

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

16 years agoAdded execution check
Marek Safar [Fri, 2 Nov 2007 17:31:13 +0000 (17:31 -0000)]
Added execution check

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

16 years ago2007-11-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Nov 2007 16:25:26 +0000 (16:25 -0000)]
2007-11-02  Atsushi Enomoto  <atsushi@ximian.com>

* TypeTranslator.cs : for duration, rather use primitiveTypes than
  nameCache, and hence TimeSpan could be serialized just as custom
  type. Fixed bug #338705.

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

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

16 years ago2007-11-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 2 Nov 2007 16:25:00 +0000 (16:25 -0000)]
2007-11-02  Zoltan Varga  <vargaz@gmail.com>

* SocketTest.cs: Disable the send/receive buffer size tests.

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

16 years ago2007-11-02 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 2 Nov 2007 15:27:20 +0000 (15:27 -0000)]
2007-11-02  Robert Jordan  <robertj@gmx.net>

* ProcessTest.cs (TestRedirectedOutputIsAsync):
Comment out the failing asserts until I've found out why they are
failing.

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

16 years ago2007-11-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 2 Nov 2007 15:16:19 +0000 (15:16 -0000)]
2007-11-02  Zoltan Varga  <vargaz@gmail.com>

* mini-sparc.c (EMIT_COND_SYSTEM_EXCEPTION_GENERAL): Applied patch from
David Miller <davem@davemloft.net>. Allow larger offsets in branches.

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

16 years ago2007-11-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 Nov 2007 14:23:39 +0000 (14:23 -0000)]
2007-11-02  Marek Safar  <marek.safar@gmail.com>

  * statement.cs: Removed unused methods.

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

16 years ago2007-11-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 Nov 2007 13:49:00 +0000 (13:49 -0000)]
2007-11-02  Jonathan Pobst  <monkey@jpobst.com>

* MessageBox.cs: Patch from George to implement MessageBoxDefaultButton.
[Fixes bug #338554]

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

16 years ago2007-11-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 2 Nov 2007 13:37:02 +0000 (13:37 -0000)]
2007-11-02  Marek Habersack  <mhabersack@novell.com>

* HttpServerUtility.cs: in 2.0, Transfer is allowed only from
pages. Fixes bug #334931
Also, according to MSDN docs, transfer in 2.0+ is possible only to
other pages.

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

16 years ago2007-11-02 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 2 Nov 2007 13:00:43 +0000 (13:00 -0000)]
2007-11-02  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=88719

16 years ago2007-11-02 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 2 Nov 2007 12:51:45 +0000 (12:51 -0000)]
2007-11-02  Robert Jordan  <robertj@gmx.net>

* PathTest.cs (TestGetDirectoryName): Fix syntax errors.

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

16 years ago2007-11-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 2 Nov 2007 12:27:05 +0000 (12:27 -0000)]
2007-11-02  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: BinDirectory returns a full path to the actual
bin directory in the application root. If no bin directory is
found, it defaults to returning <applicationPath>/bin. Fixes bug
338116.

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

16 years ago2007-11-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 2 Nov 2007 11:12:29 +0000 (11:12 -0000)]
2007-11-02  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: introduced HTTP handler cache to save time
on repetitive handler collection traversals. On busy sites the
traversal of the default 26 handlers may account for thousands of
unnecessary calls to configsystem.LocateHandler method, which may
also involve executing a regex. The cache is cleared whenever the
HTTP handler collection is modified.
2007-11-02  Marek Habersack  <mhabersack@novell.com>

* HttpHandlerActionCollection.cs: clear http handler cache in
HttpApplication if the collection is modified.
2007-11-02  Marek Habersack  <mhabersack@novell.com>

* HandlerFactoryConfiguration.cs: clear the HttpApplication HTTP
handler cache whenever the collection is modified.

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

16 years ago2007-11-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 2 Nov 2007 10:09:34 +0000 (10:09 -0000)]
2007-11-02  Marek Habersack  <mhabersack@novell.com>

* FileMatchingInfo.cs: MatchExact should be constructed using the
current application virtual path, not literal "/".

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

16 years ago2007-11-02 Juraj Skripsky <js@hotfete.ch>
Juraj Skripsky [Fri, 2 Nov 2007 09:46:36 +0000 (09:46 -0000)]
2007-11-02 Juraj Skripsky  <js@hotfete.ch>

* AssemblyResourceLoader.cs: As the assembly name is encrypted via
EncryptAssemblyResource, we mustn't UrlEncode it anymore.

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

16 years ago2007-11-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Nov 2007 09:37:12 +0000 (09:37 -0000)]
2007-11-02  Atsushi Enomoto  <atsushi@ximian.com>

* StreamReader.cs : Encoding.GetMaxCharCount() does not always return
  the maximum max char count for Decoder.GetChars() since it might
  contain pending buffer by flush. Fixed bug #338370.

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

16 years ago2007-11-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 2 Nov 2007 04:41:25 +0000 (04:41 -0000)]
2007-11-02  Miguel de Icaza  <miguel@novell.com>

* Uri.cs (AppendQueryAndFragment): Unescape the query with
excludeSpecial = false.  See bug #320614.

Unlike the patch on that bug, this only unescapes the query and
not the Path.   This keeps our existing tests working.

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

16 years ago * ListViewItem.cs: Implement 2.0 IndentCount property.
Carlos Alberto Cortez [Fri, 2 Nov 2007 04:21:38 +0000 (04:21 -0000)]
* ListViewItem.cs: Implement 2.0 IndentCount property.

2007-11-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-11-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 2 Nov 2007 03:47:10 +0000 (03:47 -0000)]
2007-11-01  Miguel de Icaza  <miguel@novell.com>

* Path.cs (GetDirectoryName): The paths returned from this routine
should be canonical, not just a substring.   In addition to fixing
this, it also fixes #324742.

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

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

* ProcessTest.cs (TestRedirectedOutputIsAsync):
Wait for the pending async operation.

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

16 years ago2007-11-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 2 Nov 2007 01:19:57 +0000 (01:19 -0000)]
2007-11-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* X11Dnd.cs: When sending status in a dnd operation, compare current
effect with the 'allowed' field instead of 'drag_data.Allowed', since
the later is only created when a Winforms application is both the
source and the target, but not when we are the target only.
Fixes part of #324251.

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

16 years ago2007-11-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 2 Nov 2007 00:52:38 +0000 (00:52 -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=88704

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