Alexander Olk [Wed, 26 Apr 2006 21:41:58 +0000 (21:41 -0000)]
2006-04-26 Alexander Olk <alex.olk@googlemail.com>
* X11DesktopColors.cs: One gtk_init_check should be enough
svn path=/trunk/mcs/; revision=59958
Miguel de Icaza [Wed, 26 Apr 2006 21:39:31 +0000 (21:39 -0000)]
2006-04-26 Miguel de Icaza <miguel@novell.com>
* debug-helpers.c (dis_one): Trying to understand how coverity
works. Fix Run 5, item 78.
svn path=/trunk/mono/; revision=59957
Peter Dennis Bartok [Wed, 26 Apr 2006 21:34:22 +0000 (21:34 -0000)]
2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
match MS behaviour
svn path=/trunk/mcs/; revision=59956
Chris Toshok [Wed, 26 Apr 2006 21:25:42 +0000 (21:25 -0000)]
2006-04-26 Chris Toshok <toshok@ximian.com>
* SectionInformation.cs (.ctor): add MonoTODO about the default
value for require_permission.
(RequirePermission): implement the getter/setter for this so
Atsushi's previous commit doesn't break everything :)
svn path=/trunk/mcs/; revision=59955
Gonzalo Paniagua Javier [Wed, 26 Apr 2006 21:16:16 +0000 (21:16 -0000)]
2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebConnectionData.cs:
* WebConnection.cs:
* HttpWebRequest.cs: when tunneling an ssl conneciton through a proxy,
we were not handling a proxy authentication request. Fixes bug #78150
take 2.
svn path=/trunk/mcs/; revision=59952
Miguel de Icaza [Wed, 26 Apr 2006 21:12:08 +0000 (21:12 -0000)]
Nothing to see here, move along
svn path=/trunk/mcs/; revision=59951
Peter Dennis Bartok [Wed, 26 Apr 2006 21:07:48 +0000 (21:07 -0000)]
2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs:
- Generate OnTextChanged for Backspace even if we're only deleting
the current selection
- When setting the Text property, only select all text if the
control does not have focus when it is being set. Otherwise
just place the cursor at the beginning of the control
svn path=/trunk/mcs/; revision=59950
Alexander Olk [Wed, 26 Apr 2006 21:04:36 +0000 (21:04 -0000)]
2006-04-26 Alexander Olk <alex.olk@googlemail.com>
* ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
Added a little helper to draw PropertyGrid ToolBar with a different
border and a different BackColor.
* PropertyGrid.cs: Some background parts didn't get painted with the
correct background color. Added a class that helps us to draw the
correct border for PropertyGridView and a class that helps us to
draw ToolBars with a different backcolor
* PropertyGridView.cs: Draw PlusMinus with the correct colors.
svn path=/trunk/mcs/; revision=59949
Miguel de Icaza [Wed, 26 Apr 2006 20:56:24 +0000 (20:56 -0000)]
2006-04-26 Miguel de Icaza <miguel@novell.com>
* TypeDescriptor.cs (Info.GetProperties, TypeInfo.GetProperties):
Use the more specific GetProperties call so we do not return
static properties, should fix that part of the PropertyGrid bug
#78192.
Code formatting police hit again.
svn path=/trunk/mcs/; revision=59948
Alexander Olk [Wed, 26 Apr 2006 20:27:34 +0000 (20:27 -0000)]
2006-04-26 Alexander Olk <alex.olk@googlemail.com>
* ColorEditor.cs: Dispose the SolidBrush that fills the color
rectangle and don't draw a border which uglifys
PropertyGrid
svn path=/trunk/mcs/; revision=59946
Miguel de Icaza [Wed, 26 Apr 2006 19:46:04 +0000 (19:46 -0000)]
2006-04-26 Miguel de Icaza <miguel@novell.com>
* ReflectionPropertyDescriptor.cs (CanResetvalue): Do not
dereference a null value, avoids crash in property grid.
Code formatting police.
svn path=/trunk/mcs/; revision=59944
Marek Safar [Wed, 26 Apr 2006 19:36:28 +0000 (19:36 -0000)]
2006-04-26 Marek Safar <marek.safar@seznam.cz>
A fix for #78115
anonymous.cs.cs (AnonymousMethod.DoResolve): Moved the check whether
anonymous method is allowed from AnonymousContainer here.
* attribute.cs, codegen.cs (EmitContext): Add IsAnonymousMethodAllowed.
svn path=/trunk/mcs/; revision=59942
Gonzalo Paniagua Javier [Wed, 26 Apr 2006 19:19:02 +0000 (19:19 -0000)]
2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Bitmap.cs: throw when the target pixel format differs from the one
of the image and it's an indexed format. We were failing in UnlockBits
before.
svn path=/trunk/mcs/; revision=59940
Gonzalo Paniagua Javier [Wed, 26 Apr 2006 19:16:28 +0000 (19:16 -0000)]
2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TestBitmap.cs: added tests for UnlockBits when the target is an
indexed image and a non-indexed one.
svn path=/trunk/mcs/; revision=59939
Zoltan Varga [Wed, 26 Apr 2006 17:01:19 +0000 (17:01 -0000)]
2006-04-26 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method_from_token_inner): Fix the previous patch.
svn path=/trunk/mono/; revision=59934
Zoltan Varga [Wed, 26 Apr 2006 16:54:40 +0000 (16:54 -0000)]
2006-04-26 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method_from_token_inner): Mark the method
as loaded only after resolving patches since that could invoke the same method.
svn path=/trunk/mono/; revision=59933
Zoltan Varga [Wed, 26 Apr 2006 16:22:23 +0000 (16:22 -0000)]
2006-04-26 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_plt_resolve): Fix ppc etc. builds.
svn path=/trunk/mono/; revision=59932
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
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
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
Konstantin Triger [Wed, 26 Apr 2006 12:10:11 +0000 (12:10 -0000)]
merge -r 59923:59924
svn path=/trunk/mcs/; revision=59925
Konstantin Triger [Wed, 26 Apr 2006 11:18:08 +0000 (11:18 -0000)]
merge -r59921:59922
svn path=/trunk/mcs/; revision=59923
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
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
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
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
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
Konstantin Triger [Wed, 26 Apr 2006 09:27:00 +0000 (09:27 -0000)]
map NCHAR to VARCHAR type
svn path=/trunk/mcs/; revision=59915
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
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
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
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
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
Miguel de Icaza [Wed, 26 Apr 2006 05:35:25 +0000 (05:35 -0000)]
Add
svn path=/trunk/mcs/; revision=59909
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
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
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
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
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
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
Miguel de Icaza [Tue, 25 Apr 2006 23:37:10 +0000 (23:37 -0000)]
Improve error message
svn path=/trunk/mcs/; revision=59890
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Konstantin Triger [Tue, 25 Apr 2006 07:42:57 +0000 (07:42 -0000)]
implementation for IsViewStateEnabled
svn path=/trunk/mcs/; revision=59836
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ankit Jain [Mon, 24 Apr 2006 08:34:01 +0000 (08:34 -0000)]
svn path=/trunk/mcs/; revision=59796
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
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
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
Tal Klahr [Sun, 23 Apr 2006 14:12:55 +0000 (14:12 -0000)]
BulletedList Class Tests
svn path=/trunk/mcs/; revision=59789
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
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