mono.git
18 years ago2006-04-26 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 26 Apr 2006 15:22:22 +0000 (15:22 -0000)]
2006-04-26  Dick Porter  <dick@ximian.com>

        * sockets.c (WSAIoctl): Check the output buffer is valid before
        writing to it.

        * handles.c (_wapi_search_handle): Set shared pointer if we find a
        shared handle that has been already opened.

2006-04-26  Dick Porter  <dick@ximian.com>

        * socket-io.c (hostent_to_IPHostEntry2): Explicitly check for NULL
        dereference.

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

18 years ago2006-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Apr 2006 14:10:14 +0000 (14:10 -0000)]
2006-04-26  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Refactor mono_aot_compile_aot () into a bunch of smaller
functions.

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

18 years ago2006-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Apr 2006 13:43:42 +0000 (13:43 -0000)]
2006-04-26  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (init_plt): Use a normal trampoline to transfer code to the
AOT loader.

* aot-compiler.c (emit_plt): Pass the plt offset in %eax instead of on the
stack.

* mini-trampolines.c (mono_aot_plt_trampoline): New trampoline to handle calls
made from AOT code through the PLT table.

* mini-x86.h mini-amd64.h: Define MONO_ARCH_AOT_PLT_OFFSET_REG to the register
holding the plt offset when a call is made to the aot plt trampoline.

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

18 years agomerge -r 59923:59924
Konstantin Triger [Wed, 26 Apr 2006 12:10:11 +0000 (12:10 -0000)]
merge -r 59923:59924

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

18 years agomerge -r59921:59922
Konstantin Triger [Wed, 26 Apr 2006 11:18:08 +0000 (11:18 -0000)]
merge -r59921:59922

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

18 years ago* SoapSchemaExporterTests.cs: Sync expected results with changes in test
Gert Driesen [Wed, 26 Apr 2006 10:29:49 +0000 (10:29 -0000)]
* SoapSchemaExporterTests.cs: Sync expected results with changes in test
classes.
* XmlCodeExporterTests.cs: Same.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 10:23:04 +0000 (10:23 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* Configuration.cs,
  SectionInfo.cs : added support for "requirePermission" attribute
  in "section" element. This fixes bug #77957.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 10:15:28 +0000 (10:15 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added ApplicationSettingsGroup.cs.

* ApplicationSettingsGroup.cs : added missing type. This is part of
  fix for bug #77957.

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

18 years ago* DeserializeTests.cs: Improved TestDeserialize_Enum test for
Gert Driesen [Wed, 26 Apr 2006 09:56:45 +0000 (09:56 -0000)]
* DeserializeTests.cs: Improved TestDeserialize_Enum test for
bug #78204.
* SerializationCodeGenerator.cs: For flag enums, we should split on all
whitespace chars instead of only on blanks.
* XmlTypeMapping.cs: Same. Added ToEnum method for converting from
constant name(s) to integral enum value.

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

18 years ago* SoapAttributesTests.cs: Added tests for bug #78205.
Gert Driesen [Wed, 26 Apr 2006 09:34:18 +0000 (09:34 -0000)]
* SoapAttributesTests.cs: Added tests for bug #78205.
* XmlSerializerTestClasses.cs: Added test classes and improved existing
classes for usage in upcoming bug reports.
* System.Xml_test.dll.sources: Added Test/System.Xml.Serialization/
SoapAttributesTests.cs.
* SoapAttributes.cs: The DefaultValueAttribute.Value should be returned
as SoapDefaultValue instead of the attribute itself. Fixes bug #78205.

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

18 years agomap NCHAR to VARCHAR type
Konstantin Triger [Wed, 26 Apr 2006 09:27:00 +0000 (09:27 -0000)]
map NCHAR to VARCHAR type

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

18 years agoSmtpClient.cs, SmtpStream.cs: Added SMTP over TLS support, refactoring
Vladimir Krasnov [Wed, 26 Apr 2006 08:40:11 +0000 (08:40 -0000)]
SmtpClient.cs, SmtpStream.cs: Added SMTP over TLS support, refactoring

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 08:33:24 +0000 (08:33 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* Double.cs : (Parse) handle currency symbol when
  AllowCurrencySymbol is passed as part of the style. Patch by
  nede@aliquant.com, modified to eliminate redundant Substring().
  This fixes bug #77721.

* DoubleTest.cs : added tset for bug #77721.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 08:10:14 +0000 (08:10 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* Comparer.cs : changed internal field from CultureInfo to
  CompareInfo. This cosmetic change should fix bug #77701.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 07:57:25 +0000 (07:57 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* MonoType.cs : (GetMethod) when zero-length type[] is explicitly
  passed, don't return methods with some arguments. Fixed bug #77367.

* TypeTest.cs : added test for bug #77367.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 06:16:44 +0000 (06:16 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* Strings.cs : don't miss the last split entry. Fixed bug #77228.

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

18 years agoAdd
Miguel de Icaza [Wed, 26 Apr 2006 05:35:25 +0000 (05:35 -0000)]
Add

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

18 years ago2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Wed, 26 Apr 2006 02:46:29 +0000 (02:46 -0000)]
2006-04-25  Jonathan Chambers  <jonathan.chambers@ansys.com>

* PropertyGrid.cs: Bug 78196, font size, and splitter location.
* PropertyGridView.cs: Bug 78196, font size, and splitter location.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 02:44:41 +0000 (02:44 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* ControlTest.cs : fix r59834: both the build and the coding style.

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

18 years agoManual tune up, so it looks better until I figure out how the Propertygrid works
Miguel de Icaza [Wed, 26 Apr 2006 01:31:17 +0000 (01:31 -0000)]
Manual tune up, so it looks better until I figure out how the Propertygrid works

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

18 years ago2006-04-25 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 26 Apr 2006 01:22:47 +0000 (01:22 -0000)]
2006-04-25  Miguel de Icaza  <miguel@novell.com>

* AnchorEditor.cs: Implement the anchor editor.

Two thoughts: I love the "Walkthrough" to implement UI editors
from the documentation.

And Visual Studio 2005 was really nice to use to write this code.

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

18 years ago2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 25 Apr 2006 23:44:51 +0000 (23:44 -0000)]
2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplicationFactory.cs: make sure that the application start event
is run before any request is processed.

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

18 years ago2006-04-25 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 25 Apr 2006 23:38:05 +0000 (23:38 -0000)]
2006-04-25  Miguel de Icaza  <miguel@novell.com>

* FontConverter.cs (FontUnitConverter): implement.   CorCompare
for some reason does not dig into nested classes, match the
documentation.

(FontNameConverter): Return the fonts available on the system.

2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

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

18 years agoImprove error message
Miguel de Icaza [Tue, 25 Apr 2006 23:37:10 +0000 (23:37 -0000)]
Improve error message

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

18 years ago * Cursor.cs: Same fix as XplatUIWin32.cs.
Peter Dennis Bartok [Tue, 25 Apr 2006 23:21:53 +0000 (23:21 -0000)]
* Cursor.cs: Same fix as XplatUIWin32.cs.

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

18 years ago2006-04-25 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 25 Apr 2006 23:20:01 +0000 (23:20 -0000)]
2006-04-25  Miguel de Icaza  <miguel@novell.com>

* TypeConverter.cs (ConvertFrom): Do not crash if we are passed a
null value.

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

18 years ago2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 25 Apr 2006 23:19:07 +0000 (23:19 -0000)]
2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  into the palette entries. Also, since we're working on a copy
  we needed to copy the palette back onto the bitmap.

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

18 years ago2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 25 Apr 2006 23:06:40 +0000 (23:06 -0000)]
2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

* Icon.cs: We need to or, not and our alpha values into the
  palette. Also, we need to actually store the altered palette
  on the bitmap, since we are altering a copy.

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

18 years ago2006-04-25 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 25 Apr 2006 22:44:33 +0000 (22:44 -0000)]
2006-04-25  Chris Toshok  <toshok@ximian.com>

* ConfigurationElementCollection.cs (Reset): it makes no sense to
pass the typename to CreateNewElementInternal.  the argument is
the elementname. pass null instead.
(Unmerge): same.

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

18 years ago* scripts/mono-find-provides.in: Only scan files that are in the gac.
Wade Berrier [Tue, 25 Apr 2006 22:17:16 +0000 (22:17 -0000)]
* scripts/mono-find-provides.in: Only scan files that are in the gac.
This allows packages to contain private assemblies that won't conflict
with other packages. Fixes bugzilla.novell.com #144655.

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

18 years ago * AuthorizationRule.cs (Reset): finally figure out what this
Chris Toshok [Tue, 25 Apr 2006 22:12:55 +0000 (22:12 -0000)]
* AuthorizationRule.cs (Reset): finally figure out what this
method is supposed to do.  Assign our Action property based on
parentElement's.

2006-04-25  Chris Toshok  <toshok@ximian.com>

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

18 years ago2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 25 Apr 2006 22:00:06 +0000 (22:00 -0000)]
2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

* ImageListStreamer.cs: Need to read the var (or we're off)

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

18 years ago * WebConfigurationHost.cs (InitForConfiguration): actually, use
Chris Toshok [Tue, 25 Apr 2006 21:50:08 +0000 (21:50 -0000)]
* WebConfigurationHost.cs (InitForConfiguration): actually, use
HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
It's never null, and its use cleans things up a bit.

2006-04-25  Chris Toshok  <toshok@ximian.com>

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

18 years ago2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 25 Apr 2006 21:47:24 +0000 (21:47 -0000)]
2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  TextBoxBase.cs: Unused var fixes
* AxHost.cs: Small 2.0 fix
* XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  as it seems that is what at least Metacity expects. This will make
  icons show up on 64bit platforms. We still have some 64bit size
  issues, though, since the startup app window size still won't match.

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

18 years ago2006-04-25 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 25 Apr 2006 21:39:33 +0000 (21:39 -0000)]
2006-04-25  Chris Toshok  <toshok@ximian.com>

* WebConfigurationHost.cs (InitForConfiguration): stop going up
the virtual hierarchy once we reach the application's base virtual
path.

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

18 years ago2006-04-25 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 25 Apr 2006 21:33:08 +0000 (21:33 -0000)]
2006-04-25  Mike Kestner  <mkestner@novell.com>

* *.cs: cleanup newly reported exception var unused warnings.

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

18 years ago2006-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Apr 2006 21:02:14 +0000 (21:02 -0000)]
2006-04-25  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c aot-compiler.c cpu-amd64.md mini-amd64.c: Update parts of the
amd64 AOT support.

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

18 years ago2006-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Apr 2006 20:13:20 +0000 (20:13 -0000)]
2006-04-25  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (common_sources): Fix build breakage.

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

18 years ago2006-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Apr 2006 18:50:20 +0000 (18:50 -0000)]
2006-04-25  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c aot-compiler.c: Reorganize the AOT code yet again: Make all
calls through a jump table similar to the ELF PLT table. Avoid indirect calls for
intra-assembly calls if possible.

* tramp-*.c: Add new functions for patching/nullifying PLT entries.

* mini-trampolines.c: Handle PLT entries.

* mini.c: Avoid creating a GOT var for calls.

* jit-icalls.c (helper_ldstr_mscorlib): New helper function for loading strings
from mscorlib code.

* jit-icalls.c (helper_newobj_mscorlib): New helper function to create objects
from mscorlib code.

* mini.c (mono_method_to_ir): Use the new helper functions in throw bblocks in
AOT code.

* mini.h: Bump AOT file format version.

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

18 years ago2006-04-25 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 25 Apr 2006 18:44:11 +0000 (18:44 -0000)]
2006-04-25  Chris Toshok  <toshok@ximian.com>

* PageThemeParser.cs (LinkedStyleSheets): reformat.

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

18 years ago2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 25 Apr 2006 17:22:31 +0000 (17:22 -0000)]
2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

* TestBmpCodec.cs: Marked the 24bit test as not working until
  bug #78189 is fixed.

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

18 years ago * ThemeWin32Classic.cs: Button image alignment now matches exactly
Alexander Olk [Tue, 25 Apr 2006 17:06:35 +0000 (17:06 -0000)]
* ThemeWin32Classic.cs: Button image alignment now matches exactly
  ms

2006-04-25  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Apr 2006 16:43:57 +0000 (16:43 -0000)]
2006-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* BaseNumberConverter.cs : (ConvertTo) regardless of InnerType,
  it converts the argument value to InnerType using supplied format.
  (It might be not limited to NET_2_0 but it's too cosmetic to dig
  into the problem. At least this is for run-test-ondotnet fixes.)

* ByteConverterTests.cs,
  DecimalConverterTests.cs,
  DoubleConverterTests.cs,
  Int16ConverterTests.cs,
  Int64ConverterTests.cs,
  SByteConverterTests.cs,
  SingleConverterTests.cs,
  UInt16ConverterTests.cs,
  UInt32ConverterTests.cs,
  UInt64ConverterTests.cs:
  ConvertToString() (test with custom culture) failed on .NET 2.0.
  Fixed it by adding NumberFormat override in each test culture.

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

18 years ago * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
Alexander Olk [Tue, 25 Apr 2006 16:32:25 +0000 (16:32 -0000)]
* ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  image. The image position is always the same, no matter if the
  button is pressed or not.

2006-04-25  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-04-25 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 25 Apr 2006 15:16:15 +0000 (15:16 -0000)]
2006-04-25  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  selection and set the correct filename for SaveFileDialog.
  Patch by Emery Conrad.

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

18 years ago2006-04-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Apr 2006 13:53:52 +0000 (13:53 -0000)]
2006-04-25  Martin Baulig  <martin@ximian.com>

* driver.c: Disable copyprop, consprop and inline when running
inside the debugger.

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

18 years ago2006-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Apr 2006 13:11:52 +0000 (13:11 -0000)]
2006-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini.c (get_basic_blocks): Fix the calculation of bb->out_of_line so it
covers more cases.

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

18 years ago2006-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Apr 2006 12:53:56 +0000 (12:53 -0000)]
2006-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* OidTest.cs,
  AsnEncodedDataTest.cs : commented locale-dependent tests
  (FriendlyName and Format(bool)) out.

* X509EnhancedKeyUsageExtensionTest.cs,
  X509BasicConstraintsExtensionTest.cs,
  X509SubjectKeyIdentifierExtensionTest.cs,
  X509KeyUsageExtensionTest.cs,
  X509ExtensionTest.cs : commented locale-dependent tests
  (FriendlyName and Format(bool)) out.

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

18 years ago2006-04-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Apr 2006 12:06:51 +0000 (12:06 -0000)]
2006-04-25  Martin Baulig  <martin@ximian.com>

* debug-debugger.h (MonoDebuggerInfo): Replaced `get_thread_id'
with `get_current_thread' and added `detach'.
(MonoDebuggerMetadataInfo): Added `thread_size',
`thread_tid_offset', `thread_stack_ptr_offset' and
`thread_end_stack_offset'.

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

18 years agoRemove mono_debugger_create_all_threads().
Martin Baulig [Tue, 25 Apr 2006 12:04:16 +0000 (12:04 -0000)]
Remove mono_debugger_create_all_threads().

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

18 years ago2006-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Apr 2006 12:00:16 +0000 (12:00 -0000)]
2006-04-25  Zoltan Varga  <vargaz@gmail.com>

* aot.c Makefile.am: Split aot.c into two new files aot-compiler.c and
aot-runtime.c.

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

18 years ago2006-04-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Apr 2006 12:00:02 +0000 (12:00 -0000)]
2006-04-25  Martin Baulig  <martin@ximian.com>

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

* threads.c (mono_thread_attach): Set `thread->stack_ptr' and call
debugger_thread_created().
(debugger_gc_push_all_stacks): Don't handle the main thread in any
special way.
(mono_debugger_init_threads): Removed the `main_thread_stack' arg.
(mono_debugger_finalize_threads): New function; undo the effects
of mono_debugger_init_threads().

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

18 years ago2006-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Apr 2006 11:51:37 +0000 (11:51 -0000)]
2006-04-25  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg (mini_emit_load_intf_reg_vtable): Use a new kind of AOT constant
ADJUSTED_IID to avoid the need for adjusting the IID at runtime.

* mini.h (MonoJumpInfoType): Add MONO_PATCH_INFO_ADJUSTED_IID.

* mini.c (mono_resolve_patch_target): Handle ADJUSTED_IID.

* aot.c: Add support for ADJUSTED_IID.

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

18 years ago2006-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Apr 2006 09:27:29 +0000 (09:27 -0000)]
2006-04-25 Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfoTest.cs : seems like Microsoft had introduced several
  bugs in CompareInfo, so marked many of them as NotDotNet.

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

18 years agoensure the control is bound if ViewState is disabled
Konstantin Triger [Tue, 25 Apr 2006 07:59:11 +0000 (07:59 -0000)]
ensure the control is bound if ViewState is disabled

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

18 years agofix FormView.PageCount after data binding
Konstantin Triger [Tue, 25 Apr 2006 07:49:23 +0000 (07:49 -0000)]
fix FormView.PageCount after data binding

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

18 years agoimplementation for IsViewStateEnabled
Konstantin Triger [Tue, 25 Apr 2006 07:42:57 +0000 (07:42 -0000)]
implementation for IsViewStateEnabled

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

18 years ago2006-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Apr 2006 06:48:23 +0000 (06:48 -0000)]
2006-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* QueueTest.cs, SortedListTest.cs : many capacity-related tests are
  written under improper assumption. As a result they don't pass when
  we run make PROFILE=net_2_0 run-test-ondotnet, so got rid of them.

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

18 years agotest and fix for null pointer exception
Andrew Skiba [Tue, 25 Apr 2006 06:41:15 +0000 (06:41 -0000)]
test and fix for null pointer exception

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

18 years ago2006-04-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Apr 2006 20:38:41 +0000 (20:38 -0000)]
2006-04-24  Zoltan Varga  <vargaz@gmail.com>

* aot.c (emit_method_order): Don't align method_order_end.

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

18 years ago2006-04-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Apr 2006 20:24:36 +0000 (20:24 -0000)]
2006-04-24  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg (stmt): Fix interface calls in AOT code which got broken by
the interface ID changes.

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

18 years ago2006-04-24 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 24 Apr 2006 19:41:43 +0000 (19:41 -0000)]
2006-04-24  Chris Toshok  <toshok@ximian.com>

        * AuthorizationSection.cs (IsValidUser): fix a problem that
        surfaced when converting from the 1.1 to 2.0 config classes.  Only
        check for verb match if there are actually verbs to match against.

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

18 years ago2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Apr 2006 19:29:43 +0000 (19:29 -0000)]
2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CheckBox.cs: certain attributes have to be rendered in the input tag,
not the <span>. Fixes bug #71251.

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

18 years ago2006-04-24 Mike Kestner <mkestner@novell.com>
Mike Kestner [Mon, 24 Apr 2006 16:22:42 +0000 (16:22 -0000)]
2006-04-24  Mike Kestner  <mkestner@novell.com>

* ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
check for item.X outside the ClientRect instead of item.Y. Fixes
#78151.

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

18 years ago2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Apr 2006 15:43:53 +0000 (15:43 -0000)]
2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpServerUtility.cs: don't reset the query string in Execute() when
the path does not contain it and we have one from the previous request.
Fixes bug #78177.

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

18 years ago2006-04-24 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 24 Apr 2006 14:21:18 +0000 (14:21 -0000)]
2006-04-24  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ImportedProject.cs: Removed warning.
        * Engine.cs, Project.cs, TaskDatabase.cs: Added registration of
        default tasks.

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

18 years agouse UrlUtils.Combine to combine pathes
Andrew Skiba [Mon, 24 Apr 2006 14:20:05 +0000 (14:20 -0000)]
use UrlUtils.Combine to combine pathes

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

18 years ago2006-04-24 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 24 Apr 2006 14:18:38 +0000 (14:18 -0000)]
2006-04-24  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ProjectTest.cs, EngineTest.cs: Corrected BinPath.

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

18 years agoFix #78156
Raja R Harinath [Mon, 24 Apr 2006 11:38:19 +0000 (11:38 -0000)]
Fix #78156
* mcs/flowanalysis.cs (MyBitVector.Or): Add null check on argument.
* gmcs/flowanalysis.cs: Likewise.
* tests/test-501.cs: New test from #78156.

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

18 years agocleanup whitespace and make files identical
Raja R Harinath [Mon, 24 Apr 2006 10:49:01 +0000 (10:49 -0000)]
cleanup whitespace and make files identical

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

18 years ago* XmlSchemaExporter.cs: Introduce XmlSchemaObjectContainer class to
Gert Driesen [Mon, 24 Apr 2006 10:27:55 +0000 (10:27 -0000)]
* XmlSchemaExporter.cs: Introduce XmlSchemaObjectContainer class to
allow XML Schema items to be added to its parent in the same order
as MS.NET (schema elements before complex types, ...).
* XmlSchemaExporterTests.cs: Enabled tests which failed due to bug
#78145.

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

18 years ago2006-04-24 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 24 Apr 2006 09:43:29 +0000 (09:43 -0000)]
2006-04-24  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ToolTask.cs, TaskItem.cs: Small fixes.
        * TaskLoggingHelper.cs: Added checking for null parameters.

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

18 years ago2006-04-24 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 24 Apr 2006 09:40:49 +0000 (09:40 -0000)]
2006-04-24  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * TaskLoggingHelperTest.cs: Added new tests.

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

18 years ago2006-04-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Apr 2006 09:27:06 +0000 (09:27 -0000)]
2006-04-24  Zoltan Varga  <vargaz@gmail.com>

* image.c (mono_image_close): Tidy up trace messages.

* assembly.c (mono_assembly_close): Ditto.

* assembly.c (mono_assembly_close): Clear out image->assembly so the image
no longer references an already freed assembly. Fixes #78168.

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

18 years ago2006-04-24 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 24 Apr 2006 09:13:47 +0000 (09:13 -0000)]
2006-04-24  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Project.cs: Removed unnecessary variable.
        * Engine.cs: Added fixme.

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

18 years ago2006-04-24 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 24 Apr 2006 09:13:10 +0000 (09:13 -0000)]
2006-04-24  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ProjectTest.cs: Added tests for loading of default tasks (from
        Microsoft.Build.Tasks).

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

18 years agosvn path=/trunk/mcs/; revision=59796
Ankit Jain [Mon, 24 Apr 2006 08:34:01 +0000 (08:34 -0000)]
svn path=/trunk/mcs/; revision=59796

18 years ago2006-04-23 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 23 Apr 2006 15:33:33 +0000 (15:33 -0000)]
2006-04-23  Marek Safar  <marek.safar@seznam.cz>

A fix for #49011.
constant.cs (FloatConstant.Reduce): Add range checking for checked context.
(DoubleConstant.Reduce): Ditto.

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

18 years agoSystem.Web_test.dll.sources: add BulletedListTest.cs
Tal Klahr [Sun, 23 Apr 2006 14:20:29 +0000 (14:20 -0000)]
System.Web_test.dll.sources: add BulletedListTest.cs

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

18 years agoSystem.Web_test.dll.sources: add BulletedListTest.cs
Tal Klahr [Sun, 23 Apr 2006 14:13:36 +0000 (14:13 -0000)]
System.Web_test.dll.sources: add BulletedListTest.cs

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

18 years agoBulletedList Class Tests
Tal Klahr [Sun, 23 Apr 2006 14:12:55 +0000 (14:12 -0000)]
BulletedList Class Tests

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

18 years agoIn mcs and gmcs:
Raja R Harinath [Sun, 23 Apr 2006 08:19:20 +0000 (08:19 -0000)]
In mcs and gmcs:
* expression.cs (LocalVariableReference.DoResolveBase): Simplify.
Remove 'lvalue_right_side' argument.  Move parts to ...
(LocalVariableReference.ResolveLocalInfo, LocalVariable.DoResolve)
(LocalVariable.DoResolveLValue): ... these.

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

18 years agoScan css files from theme directory and put them into __linkedStyleSheets field of...
Andrew Skiba [Sun, 23 Apr 2006 08:12:59 +0000 (08:12 -0000)]
Scan css files from theme directory and put them into __linkedStyleSheets field of generated theme page

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

18 years ago2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 21 Apr 2006 23:02:36 +0000 (23:02 -0000)]
2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageListStreamer.cs: some images store a wrong grow factor, so don't
trust that value blindly and do some sanity check. Fixes bug #77814.

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

18 years ago2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 21 Apr 2006 22:05:32 +0000 (22:05 -0000)]
2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
bug #78074.

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

18 years ago2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 21 Apr 2006 21:56:39 +0000 (21:56 -0000)]
2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageListStreamer.cs: save the mask as a 1bpp image.

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

18 years ago2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 21 Apr 2006 20:17:53 +0000 (20:17 -0000)]
2006-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* TestGraphics.cs: Added new test cases for clipping. Some of them do
not work yet.

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

18 years ago2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 21 Apr 2006 18:51:20 +0000 (18:51 -0000)]
2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlInputRadioButton.cs: Value returns the ID only when there's no
"value" set. Fixes bug #78101.

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

18 years ago2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 21 Apr 2006 18:49:53 +0000 (18:49 -0000)]
2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlInputRadioButtonTest.cs: added test for bug #78101.

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

18 years ago* XmlCodeExporterTests.cs: Enabled tests for XmlCodeExporter.
Gert Driesen [Fri, 21 Apr 2006 17:54:54 +0000 (17:54 -0000)]
* XmlCodeExporterTests.cs: Enabled tests for XmlCodeExporter.
* XmlSchemaImporterTests.cs: Fixed EnumSimpleContent test to pass
on MS.NET 2.0.
* XmlCodeExporter.cs: On 2.0 profile, CodeGenerationOptions defaults to
GenerateProperties. Use full type name for XML serialization attributes
instead of shortcut (without Attribute suffix). Always add Namespace
argument for XmlRootAttribute on classes. Added IsNullable argument for
XmlRootRootAttribute on classes. For attribute members, only output
Form argument for XmlSchemaForm.Qualified. Use MapCodeGenerator base
ctor that takes CodeGenerationOptions.
* SoapCodeExporter.cs: Use MapCodeGenerator base ctor that takes
CodeGenerationOptions.
* MapCodeGenerator.cs: Added CodeGenerationOptions to ctor. On 2.0
profile, emit GeneratedCodeAttribute, SerializableAttribute,
DebuggerStepThroughAttribute and DesignerCategoryAttribute for classes.
To match MS.NET, emit attribute members before element members.
* XmlReflectionImporter.cs: Enums are never nullable.
* XmlSchemaImporter.cs: Set IsNullable on map using value of
XmlSchemaElement.IsNillable. Added LocateElement overload that takes
XmlSchemaElement.

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

18 years ago2006-04-21 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 21 Apr 2006 17:27:20 +0000 (17:27 -0000)]
2006-04-21  Mike Kestner  <mkestner@novell.com>

* CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
pass Checked and Indeterminate to the Theme Engine. Improve
encapsulation with ListBox.
* ListBox.cs: Keep a StringFormat instead of calculating it every item
draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
nested types.  Move all CheckState functionality to CheckedListBox.
Make IntegralHeight work like MS.  Rewrite of Layout engine.  Fix
OwnerDrawVariable layout/rendering.  Fix multicolumn rendering.  Fix
ScrollAlwaysVisible handling. Refactor "selected" collections to use a
single base list. Fix scrollbar sizing and placement to mirror MS.
* Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
used.
* ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
for CheckedListBox by using new DrawItemState info.  Center the
checkboxes on the items. Use new StringFormat property.

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

18 years ago2006-04-21 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 21 Apr 2006 16:19:15 +0000 (16:19 -0000)]
2006-04-21  Dick Porter  <dick@ximian.com>

        * mini.c (mini_thread_cleanup): Clear the JIT TLS data when
        cleaning up a thread.  Fixes the new part of bug 77470.

2006-04-21  Dick Porter  <dick@ximian.com>

        * threads.c (GetCurrentThread): Reference the handle if we return
        an already-known thread.

2006-04-21  Dick Porter  <dick@ximian.com>

        * threads.c (mono_thread_detach): Fix reference counting when
        detaching threads.

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

18 years agoRemove duplicated code
Raja R Harinath [Fri, 21 Apr 2006 14:59:26 +0000 (14:59 -0000)]
Remove duplicated code

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

18 years ago2006-04-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 21 Apr 2006 14:51:24 +0000 (14:51 -0000)]
2006-04-21  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (SUBDIRS): Revert the last change as arm depends on the old
behaviour.

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

18 years ago2006-04-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 21 Apr 2006 14:39:23 +0000 (14:39 -0000)]
2006-04-21  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Enum_ToObject): Improve exception messages. Fixes
#78155.

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

18 years ago* Enum.cs: Provide meaningful message when type of passed in value does not
Gert Driesen [Fri, 21 Apr 2006 14:29:58 +0000 (14:29 -0000)]
* Enum.cs: Provide meaningful message when type of passed in value does not
match enum type.

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

18 years ago * UnixFileSystemInfo.cs: rename Create() to GetFileSystemEntry(), and make
Jonathan Pryor [Fri, 21 Apr 2006 13:47:36 +0000 (13:47 -0000)]
  * UnixFileSystemInfo.cs: rename Create() to GetFileSystemEntry(), and make
    it public (so that other's don't need to worry about the
    Syscall.lstat()-and-switch to create a UnixFileSystemInfo instance).
  * UnixDirectoryInfo.cs, UnixSymbolicLinkInfo.cs:
    s/Create/GetFileSystemEntry/g (to cope with above change).

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

18 years ago2006-04-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 21 Apr 2006 13:44:14 +0000 (13:44 -0000)]
2006-04-21  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add System.IO/FileOptions.cs.

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

18 years ago2006-04-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 21 Apr 2006 13:43:51 +0000 (13:43 -0000)]
2006-04-21  Zoltan Varga  <vargaz@gmail.com>

* FileStream.cs: Add new net 2.0 ctor.

* FileOptions.cs: New file.

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

18 years ago2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 21 Apr 2006 12:48:45 +0000 (12:48 -0000)]
2006-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* SslCipherSuite.cs: Enable abbreviated handshakes for SSL3 too.

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