mono.git
17 years agoDataTableTest, ChangeLog, own_schema1.xsd, own_schema2.xsd)
Hagit Yidov [Sun, 22 Oct 2006 13:28:18 +0000 (13:28 -0000)]
DataTableTest, ChangeLog, own_schema1.xsd, own_schema2.xsd)

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

17 years ago2006-10-22 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 22 Oct 2006 11:59:26 +0000 (11:59 -0000)]
2006-10-22 Igor Zelmanovich <igorz@mainsoft.com>

* CssStyleCollection.cs:
* AttributeCollection.cs:
fixed: style collection is synchronized with style attribute

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

17 years ago2006-10-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 22 Oct 2006 09:44:21 +0000 (09:44 -0000)]
2006-10-22  Zoltan Varga  <vargaz@gmail.com>

* Makefile (TEST_MONO_PATH): Add '.' to TEST_MONO_PATH.

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

17 years ago2006-10-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 22 Oct 2006 09:36:58 +0000 (09:36 -0000)]
2006-10-22  Zoltan Varga  <vargaz@gmail.com>

* Makefile (EXTRA_DISTFILES): Add some missing test files.

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

17 years ago2006-10-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 22 Oct 2006 09:23:38 +0000 (09:23 -0000)]
2006-10-22  Zoltan Varga  <vargaz@gmail.com>

* VBCodeProviderTest.cs: Mark this as NotWorking since mbas is no more.

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

17 years ago* AssemblyTest.cs: Added tests for bug #79712 and #79715. All marked
Gert Driesen [Sun, 22 Oct 2006 08:59:26 +0000 (08:59 -0000)]
* AssemblyTest.cs: Added tests for bug #79712 and #79715. All marked
NotWorking.

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

17 years ago* AppDomainTest.cs: Added tests for bug #79715, #79522, #79720.
Gert Driesen [Sun, 22 Oct 2006 08:50:21 +0000 (08:50 -0000)]
* AppDomainTest.cs: Added tests for bug #79715, #79522, #79720.
All marked NotWorking until patches have been approved.

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

17 years agoChangelog and svn:eol-style for previous commit
Leszek 'skolima' Ciesielski [Sun, 22 Oct 2006 08:32:51 +0000 (08:32 -0000)]
Changelog and svn:eol-style for previous commit

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

17 years agoMakes make check in corlib progress a little bit.
Miguel de Icaza [Sun, 22 Oct 2006 00:26:34 +0000 (00:26 -0000)]
Makes make check in corlib progress a little bit.
Removes many of the warnings in valgrind with make check in corlib

2006-10-21  Miguel de Icaza  <miguel@novell.com>

        * src/gunicode.c (g_filename_from_utf8): Use g_strlcpy here.

        * src/gmarkup.c (g_markup_parse_context_parse): Do not dereference
        null values here.   This gets things a little bit further in
        corlib, but not too far.

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

17 years agoLots of warnings removed
Miguel de Icaza [Sat, 21 Oct 2006 23:30:12 +0000 (23:30 -0000)]
Lots of warnings removed

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

17 years agoThis makes gacutil work\n2006-10-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 21 Oct 2006 23:14:03 +0000 (23:14 -0000)]
This makes gacutil work\n2006-10-21  Miguel de Icaza  <miguel@novell.com>

* src/gdir.c (g_dir_read_name): Do not return . or ..

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

17 years ago2006-10-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 21 Oct 2006 22:38:42 +0000 (22:38 -0000)]
2006-10-21  Miguel de Icaza  <miguel@novell.com>

* src/gstr.c (g_ascii_xdigit_value): Make this into a function,
thanks to Paolo for pointing the problem with the double macro
expansion.

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

17 years agoUpdate
Miguel de Icaza [Sat, 21 Oct 2006 22:22:12 +0000 (22:22 -0000)]
Update

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

17 years ago2006-10-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 21 Oct 2006 21:56:18 +0000 (21:56 -0000)]
2006-10-21  Miguel de Icaza  <miguel@novell.com>

* src/gmodule.c (g_module_open): Actually return NULL if we fail
to load the module (was hiding the real bug in the pinvoke tests).

(g_module_build_path): Do not prepend "lib" if the "lib" is part
of the call.

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

17 years agoAnother corner case, might be worth rewriting this routine
Miguel de Icaza [Sat, 21 Oct 2006 21:34:50 +0000 (21:34 -0000)]
Another corner case, might be worth rewriting this routine

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

17 years ago2006-10-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 21 Oct 2006 21:13:42 +0000 (21:13 -0000)]
2006-10-21  Miguel de Icaza  <miguel@novell.com>

* src/gstr.c (g_strsplit): this routine has some non-expected
behavior, if the string begins with the delimiter, it will return
an empty first string, unlike strtok

* src/gpath.c (g_path_get_dirname): Return "." as a dirname for
paths that do not contain a directory.

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

17 years agoAdded stubs for (some of) missing classes
Leszek 'skolima' Ciesielski [Sat, 21 Oct 2006 07:57:01 +0000 (07:57 -0000)]
Added stubs for (some of) missing classes

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

17 years ago2006-10-20 Andreia Gaita <shana.ufie@gmail.com>
Andreia Gaita [Fri, 20 Oct 2006 22:57:52 +0000 (22:57 -0000)]
2006-10-20 Andreia Gaita <shana.ufie@gmail.com>
* ContainerControl.cs: Incorrect contains check in ActiveControl
from previous fix (duh).

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

17 years ago2006-10-20 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 20 Oct 2006 22:09:25 +0000 (22:09 -0000)]
2006-10-20  Chris Toshok  <toshok@ximian.com>

* PropertyGridView.cs: the dropdown should be MIN(number of items
in list, 15).  Fixes #79551.

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

17 years ago2006-10-20 Andreia Gaita <shana.ufie@gmail.com>
Andreia Gaita [Fri, 20 Oct 2006 22:04:17 +0000 (22:04 -0000)]
2006-10-20 Andreia Gaita <shana.ufie@gmail.com>
Fixes #79384, #79394, #79652, #79667
* Application.cs:

- Modal windows are now destroyed in the proper order for windows

* ContainerControl.cs:

- ActiveControl setter has more conditions on when to return:
- if we're reselecting the active control, but it actually
didn't have focus (window hidden or some such), it runs
- if the active control being selected doesn't actually
exist in the container, it returns

* Form.cs

- The ShowDialog now gets the current form as the owner when
invoking without parameters, and correctly activates the owner
when returning

* MessageBox.cs

- MessageBox now catches the Escape key to exit

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

17 years ago2006-10-20 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 20 Oct 2006 21:05:08 +0000 (21:05 -0000)]
2006-10-20  Chris Toshok  <toshok@ximian.com>

* PropertyGridView.cs: fix a number of issues (bug #78565, and
most of bug #79676):

- you can navigate around the property grid with the arrow keys.

- the dropdown is sized properly when the pg has a vertical
scrollbar.

- fix the indentation for subentries, and properly select the
entire label rect.

- fix the gray bar's drawing (only draw it to the last element,
not for the height of the control.  Also make sure we draw that
last horizontal grid line.

- use the same mechanism the datagrid uses wrt the editing textbox
when scrolling/resizing/etc.  Namely, we hide it first, do the
operation, then show it again (if it's still visible).

- aggressively remove a lot of unnecessary refreshes (and also
calls to Invalidate(). call more limited variants, and only redraw
what we need.)

* PropertyGrid.cs:

- when we're populating the merged collection, fill in the UI
parent with either the passed in item, or the category item we
create.

- remove the Refresh call from the BorderHelpControl.OnSizeChanged.

* GridItem.cs: drop some fully qualified names.

* GridEntry.cs: add a "UIParent", which is basically the parent
treenode.

* GridItemCollection.cs: add an IndexOf method.

* PropertyGridView.cs: address a number of issues from bug #79676,
mostly of the cosmetic variety.

- The highlight rectangle for indented items not extends all the
way to the left.

- Indented items aren't indented so much.

- the dropdown is properly sized width-wise if the pg has a
vertical scrollbar.

2006-10-18  Chris Toshok  <toshok@ximian.com>

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

17 years agoAdd test for Martin's patch (see bug 79698)
Miguel de Icaza [Fri, 20 Oct 2006 18:10:58 +0000 (18:10 -0000)]
Add test for Martin's patch (see bug 79698)

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

17 years ago2006-10-20 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 20 Oct 2006 17:34:07 +0000 (17:34 -0000)]
2006-10-20  Jonathan Chambers  <joncham@gmail.com>

* cominterop.cs: Added more tests for Variant.
* libtest.c: Added more tests for Variant.

Signed-off-by: Jonathan Chambers <joncham@gmail.com>
svn path=/trunk/mono/; revision=66840

17 years ago2006-10-20 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 20 Oct 2006 17:32:51 +0000 (17:32 -0000)]
2006-10-20  Jonathan Chambers  <joncham@gmail.com>

* Variant.cs: Add support for bool and interfaces.

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

17 years ago2006-10-20 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 20 Oct 2006 15:51:02 +0000 (15:51 -0000)]
2006-10-20  Mike Kestner  <mkestner@novell.com>

* MainMenu.cs : go back to Draw in OnMenuChanged.  Until we get
a working win32 NC invalidation mechanism, we can't invalidate
menus.  [Fixes #79705]

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

17 years ago2006-10-06 Patrick Earl <mono@patearl.net>
Nagappan Alagappan [Fri, 20 Oct 2006 15:21:16 +0000 (15:21 -0000)]
2006-10-06  Patrick Earl <mono@patearl.net>

        * DataTableReadWriteXml.cs: Patricks work on DataTable WriteXml work.

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

17 years ago2006-10-06 Patrick Earl <mono@patearl.net>
Nagappan Alagappan [Fri, 20 Oct 2006 15:20:04 +0000 (15:20 -0000)]
2006-10-06  Patrick Earl <mono@patearl.net>

* DataTableReadWriteXml.cs: Added new tests for the DataTable's
        ReadXml and WriteXml methods.  These tests assume proper
functioning of the DataSet ReadXml and WriteXml methods.

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

17 years ago2006-10-18 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 20 Oct 2006 15:14:29 +0000 (15:14 -0000)]
2006-10-18  Nagappan A  <anagappan@novell.com>

* ForeignKeyConstraint.cs (_validateColumns): Parent and child
columns can't be the same column - Exception, bug # 79689

2006-10-06  Patrick Earl <mono@patearl.net>

* DataTable.cs, XmlTableWriter.cs, XmlSchemaWriter.cs, DataSet.cs:
Implemented DataTable.WriteXml

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

17 years ago2006-10-20 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 20 Oct 2006 15:10:18 +0000 (15:10 -0000)]
2006-10-20  Mike Kestner  <mkestner@novell.com>

* ListBox.cs : don't update the VScrollbar if the list is empty,
just hide it.  [Fixes #79692]

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

17 years ago* VersionTest.cs: Reworked tests for NUnit 2.2.
Gert Driesen [Fri, 20 Oct 2006 10:27:23 +0000 (10:27 -0000)]
* VersionTest.cs: Reworked tests for NUnit 2.2.

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

17 years ago * RichTextBox.cs: Handle some special chars better, and don't
Jackson Harper [Fri, 20 Oct 2006 07:57:44 +0000 (07:57 -0000)]
    * RichTextBox.cs: Handle some special chars better, and don't
        * skip
        the entire group when we encounter a special char that we don't
        handle correctly.

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

17 years ago * RTF.cs: Need to cast this to a char now.
Jackson Harper [Fri, 20 Oct 2006 07:26:49 +0000 (07:26 -0000)]
    * RTF.cs: Need to cast this to a char now.

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

17 years ago2006-10-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 20 Oct 2006 05:23:44 +0000 (05:23 -0000)]
2006-10-20  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* NpgsqlCommand.cs:  Updated to 1.0 final.

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

17 years ago2006-10-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 20 Oct 2006 05:21:40 +0000 (05:21 -0000)]
2006-10-20  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

        *Npgsql/NpgsqlCommand.resx,
         Npgsql/NpgsqlConnection.cs,
         Npgsql/NpgsqlCommand.cs,
         Npgsql/NpgsqlState.cs,
         Npgsql/NpgsqlConnectorPool.cs,
         Npgsql/NpgsqlCommandBuilder.cs,
         Npgsql/NpgsqlDataReader.cs,
         NpgsqlTypes/LargeObjectManager.cs,
         NpgsqlTypes/NpgsqlDbType.cs,
         NpgsqlTypes/LargeObject.cs,
         NpgsqlTypes/NpgsqlTypesHelper.cs,
         NpgsqlTypes/FastPath.cs: Updated to 1.0 final version.

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

17 years ago* AssemblyName.cs: Revert change where filename was not converted to
Gert Driesen [Thu, 19 Oct 2006 20:32:06 +0000 (20:32 -0000)]
* AssemblyName.cs: Revert change where filename was not converted to
absolute path before passing it to Assembly.InternalGetAssemblyName
as the CodeBase is not set in that case.
* AssemblyNameTest.cs: Added test for CodeBase of AssemblyName
filled by AssemblyName.GetAssemblyName. Added tests for bug #79661.

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

17 years ago2006-10-19 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 19 Oct 2006 17:03:43 +0000 (17:03 -0000)]
2006-10-19 Igor Zelmanovich <igorz@mainsoft.com>

* ClientScriptManager.cs: fixed: renders id attribute in hidden field

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

17 years agoAdded check to avoid NullReferenceException failures in TearDown() on Assert.Ignore
Leszek 'skolima' Ciesielski [Thu, 19 Oct 2006 11:03:04 +0000 (11:03 -0000)]
Added check to avoid NullReferenceException failures in TearDown() on Assert.Ignore

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

17 years agoRemoved most of NotWorking from tests, and eliminated one of the causes for segfaults...
Leszek 'skolima' Ciesielski [Thu, 19 Oct 2006 10:35:01 +0000 (10:35 -0000)]
Removed most of NotWorking from tests, and eliminated one of the causes for segfaults (it was, sadly, my own fault).

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

17 years agoAdd to the distribution
Miguel de Icaza [Thu, 19 Oct 2006 03:50:04 +0000 (03:50 -0000)]
Add to the distribution

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

17 years agoOn behalf of Martin: 2006-10-18 Martin Baulig <martin@ximian.com>
Miguel de Icaza [Thu, 19 Oct 2006 03:08:35 +0000 (03:08 -0000)]
On behalf of Martin: 2006-10-18  Martin Baulig <martin@ximian.com>

* anonymous.cs: Propagate the IsStatic state, fixes the crasher in banshee.

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

17 years agoThis one works
Miguel de Icaza [Thu, 19 Oct 2006 02:57:11 +0000 (02:57 -0000)]
This one works

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

17 years agoSmall improvements, but it still fails with the machine.config
Miguel de Icaza [Thu, 19 Oct 2006 02:47:43 +0000 (02:47 -0000)]
Small improvements, but it still fails with the machine.config

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

17 years ago2006-10-18 Atsushi Enomotot <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Oct 2006 22:10:25 +0000 (22:10 -0000)]
2006-10-18  Atsushi Enomotot  <atsushi@ximian.com>

* SchemaReference.cs,
  DiscoveryClientProtocol.cs,
  ContractReference.cs: handle imported schemas in DiscoverAny().
  Fixed bug #78995.

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

17 years ago * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
Chris Toshok [Wed, 18 Oct 2006 21:52:10 +0000 (21:52 -0000)]
* XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
systray stuff is rather convoluted to begin with.

systray icons are a single window for some reason (that I haven't
figured out yet), and for them, client_window == whole_window.
Given the way the tests are structured elsewhere to determine
which paints are pending (client vs. nc), that situation will
always yield PAINT, not NCPAINT.  So, if we have a pending
nc_expose and no pending expose, remove the hwnd from the paint
queue, and also set nc_expose_pending to false, to keep us from
blocking further expose's adding the hwnd to the paint queue.

phew.  like i said, a rather convoluted change.  Fixes the
notifyicon repaint issues in bug #79645.

2006-10-18  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 Oct 2006 20:51:23 +0000 (20:51 -0000)]
2006-10-18  Sebastien Pouliot  <sebastien@ximian.com>

* TestGraphics.cs: Ignore new test cases when font is null (not
available). Add pixel size compares to MeasureString_Bug76664.

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

17 years agoAnd the new files for the resources compiler
Marek Habersack [Wed, 18 Oct 2006 20:31:35 +0000 (20:31 -0000)]
And the new files for the resources compiler

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

17 years agoAdd support for App_GlobalResources and App_LocalResources
Marek Habersack [Wed, 18 Oct 2006 20:30:10 +0000 (20:30 -0000)]
Add support for App_GlobalResources and App_LocalResources

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

17 years ago2006-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 18 Oct 2006 18:39:12 +0000 (18:39 -0000)]
2006-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/array.c: new test for insertion in the middle of other values.
* src/garray.c: fixed destination index.

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

17 years ago * Form.cs: when getting the backcolor of the form, don't get
Chris Toshok [Wed, 18 Oct 2006 18:39:12 +0000 (18:39 -0000)]
* Form.cs: when getting the backcolor of the form, don't get
base.BackColor, as this allows parents to influence the background
color.  This breaks mdi forms.  Instead, if the background_color
is empty, return the default.

2006-10-18  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 18 Oct 2006 18:13:16 +0000 (18:13 -0000)]
2006-10-18  Miguel de Icaza  <miguel@novell.com>

* src/gpath.c (g_build_path): Do not append terminator if the next
string is empty.

* src/gutf8.c (g_utf8_to_utf16): Include trailing zero as
documented.
(g_utf16_to_utf8): Include trailing zero as documented.

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

17 years ago2006-10-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 18 Oct 2006 18:00:09 +0000 (18:00 -0000)]
2006-10-18  Miguel de Icaza  <miguel@novell.com>

* io-portability.c (find_in_dir): First string dup, then closedir.

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

17 years ago2006-10-18 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 18 Oct 2006 17:11:52 +0000 (17:11 -0000)]
2006-10-18  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: change some debug ifdefs, and return XGetParent
to being private instead of internal static.

* Control.cs: remove all the stupid ParentWaitingOnRecreation
crap, it wasn't working for more deeply nested controls anyway,
and we already have the is_recreating flag - use that instead.
Before calling DestroyHandle in RecreateHandle, recurse through
the control tree setting it to true.  this returns the recreate
code to much of its original simplicity, while now guaranteeing we
actually recreate everything we're supposed to.  This change gets
fyireporting actually showing mdi children.

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

17 years ago2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 18 Oct 2006 16:01:54 +0000 (16:01 -0000)]
2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsViewTest.cs: removed NotWorking attributes

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

17 years ago2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 18 Oct 2006 14:57:27 +0000 (14:57 -0000)]
2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs: fixed: OnBubbleEvent returns true when event is handled.

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

17 years ago2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 18 Oct 2006 14:41:14 +0000 (14:41 -0000)]
2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: fixed: OnBubbleEvent works properly.

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

17 years agoType.cs: Removed is_subtype_of because IsSubclassOf should be used that is public...
Kornél Pál [Wed, 18 Oct 2006 14:40:39 +0000 (14:40 -0000)]
Type.cs: Removed is_subtype_of because IsSubclassOf should be used that is public and virtual. IsClass: Checking for ValueType is unnecessary. IsEnum: UnderlyingSystemType is not used anymore so no EnumBuilder hack is necessary. Checking for Enum is unnecessary. IsSerializable: Walk BaseType for user defined types. IsSubclassOf: Walk BaseType for user defined types.;  MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike Type system types throw ArgumentNullException on null Type argument.

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

17 years ago2006-10-18 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 18 Oct 2006 13:23:05 +0000 (13:23 -0000)]
2006-10-18  Jonathan Chambers  <joncham@gmail.com>

* icall.c: Have ves_icall_System_Diagnostics_DefaultTraceListener_WriteWindowsDebugString
call kernel32 function OutputDebugString directly.

Signed-off-by: Jonathan Chambers <joncham@gmail.com>
svn path=/trunk/mono/; revision=66786

17 years ago2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 18 Oct 2006 13:19:00 +0000 (13:19 -0000)]
2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: fixed: considers DataControlField.InsertVisible.

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

17 years ago2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 18 Oct 2006 12:38:02 +0000 (12:38 -0000)]
2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: fixed: CurrentMode property.

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

17 years ago2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 18 Oct 2006 12:16:39 +0000 (12:16 -0000)]
2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: fixed: current state are not changed during paging.

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

17 years ago2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 18 Oct 2006 11:59:29 +0000 (11:59 -0000)]
2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: fixed:
in Insert mode Select not invoked from DataSource

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

17 years agoObjectDataSourceView.cs: use Type.GetType for loading full qualified types
Konstantin Triger [Wed, 18 Oct 2006 08:11:36 +0000 (08:11 -0000)]
ObjectDataSourceView.cs: use Type.GetType for loading full qualified types

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

17 years agoAnother embarassing one
Miguel de Icaza [Wed, 18 Oct 2006 02:55:45 +0000 (02:55 -0000)]
Another embarassing one

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

17 years agooops, left some debug spew of my own in
Chris Toshok [Wed, 18 Oct 2006 01:40:43 +0000 (01:40 -0000)]
oops, left some debug spew of my own in

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

17 years ago2006-10-17 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 18 Oct 2006 01:39:02 +0000 (01:39 -0000)]
2006-10-17  Chris Toshok  <toshok@ximian.com>

* Form.cs: remove some debug spew, and collapse some duplicate
code at the end of SetClientSizeCore.

* XplatUIX11.cs:
- add some more debug spew here too wrt Destroy handling.
- don't call hwnd.Dispose in DestroyWindow, it's effectively done
in Control's handling of WM_DESTROY.
- Remove the handling of zombie window DestroyNotifies from the
event loop - we don't need it.  Now the only DestroyNotifies we
actually handle are ones generated by X.
- When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
match gtk's (functioning) handling of this. This keep metacity
from leaving droppings in the form of wm borders with no window
contents all over the place.

* Control.cs:
- add a bunch of debug spew wrt control recreation.
- fix a bug where we weren't tracking Visible properly on
recreated hwnds.
- fixed the WM_PAINT double buffer handling to support re-entrant
calls (yes, i know it's gross, but it's happening to us).

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

17 years agoCall the right routine
Miguel de Icaza [Wed, 18 Oct 2006 00:01:19 +0000 (00:01 -0000)]
Call the right routine

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

17 years ago2006-10-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 18 Oct 2006 00:00:14 +0000 (00:00 -0000)]
2006-10-17  Miguel de Icaza  <miguel@novell.com>

        * src/gmarkup.c (g_markup_parse_context_parse): Accept dots in
        * the
        sequence, reset the state after a closing element.

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

17 years ago2006-10-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 17 Oct 2006 23:29:36 +0000 (23:29 -0000)]
2006-10-17  Miguel de Icaza  <miguel@novell.com>

        * src/garray.c (g_array_insert_vals): Shift the elements the
        correct amount.

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

17 years ago2006-10-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 17 Oct 2006 23:20:14 +0000 (23:20 -0000)]
2006-10-17  Miguel de Icaza  <miguel@novell.com>

* src/garray.c (g_array_insert_vals): Should actually use the
number of elements to insert.

* test/array.c: Add new test case, this was happening in the JIT.

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

17 years agoOCI
Miguel de Icaza [Tue, 17 Oct 2006 22:59:36 +0000 (22:59 -0000)]
OCI

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

17 years ago2006-10-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 17 Oct 2006 22:45:51 +0000 (22:45 -0000)]
2006-10-17  Miguel de Icaza  <miguel@novell.com>

* Add _GNU_SOURCE at configure time, remove from sources.

* src/gstr.c (g_strsplit): Empty strings return a 0 value vector.

* src/glib.h (G_MAXINT64, G_MININT64): Add another set of macros
for the support stuff.

Move private prototypes elsewhere

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

17 years agoUpdate
Miguel de Icaza [Tue, 17 Oct 2006 22:33:48 +0000 (22:33 -0000)]
Update

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

17 years agoDo not depend on glib/types.h
Miguel de Icaza [Tue, 17 Oct 2006 22:32:47 +0000 (22:32 -0000)]
Do not depend on glib/types.h

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

17 years agoMove definitions
Miguel de Icaza [Tue, 17 Oct 2006 22:15:48 +0000 (22:15 -0000)]
Move definitions

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

17 years ago2006-10-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 17 Oct 2006 22:02:59 +0000 (22:02 -0000)]
2006-10-17  Miguel de Icaza  <miguel@novell.com>

* mono-ehash.c: Use the new eglib hash implementation;   Currently
only Boehm is supported.

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

17 years ago2006-10-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 17 Oct 2006 22:01:55 +0000 (22:01 -0000)]
2006-10-17  Miguel de Icaza  <miguel@novell.com>

* src/glib.h (g_thread_init): Adding missing brace
(g_list_next): remove ; from the macro definition.

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

17 years ago2006-10-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 17 Oct 2006 21:32:31 +0000 (21:32 -0000)]
2006-10-17  Miguel de Icaza  <miguel@novell.com>

* src/gutf8.c: internal methods

* src/ghashtable.c: internal methods.

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

17 years ago2006-10-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 17 Oct 2006 19:14:21 +0000 (19:14 -0000)]
2006-10-17  Zoltan Varga  <vargaz@gmail.com>

* mini.c (GET_CONTEXT): Correct the definition of this for sparc/linux.

* mini-sparc.h: Don't use sigaction on sparc/linux.

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

17 years ago2006-10-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 17 Oct 2006 17:46:22 +0000 (17:46 -0000)]
2006-10-17  Zoltan Varga  <vargaz@gmail.com>

* exceptions-sparc.c: Call mono_arch_flush_icache () in a couple of places.

* mini-sparc.c (mono_sparc_flushw): Call mono_arch_flush_icache ().

* mini-exceptions.c: Add proper include files for getpid ().

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

17 years ago2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 17 Oct 2006 16:50:08 +0000 (16:50 -0000)]
2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs: fixed: CreateDataSourceSelectArguments method.
(corresponding test does not work because bug in ObjectDataSourceView)

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

17 years ago2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 17 Oct 2006 16:44:51 +0000 (16:44 -0000)]
2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>

* DataBoundControl.cs: fixed: DataBind calls
CreateDataSourceSelectArguments() and stores result in  SelectArguments

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

17 years agoUpdate
Miguel de Icaza [Tue, 17 Oct 2006 16:33:46 +0000 (16:33 -0000)]
Update

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

17 years ago2006-10-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 17 Oct 2006 16:32:59 +0000 (16:32 -0000)]
2006-10-17  Miguel de Icaza  <miguel@novell.com>

* convert.cs: Fix typo, fixes the test-535.cs, we were casting to
an int32, but requesting an int64 from the conversion

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

17 years ago2006-10-17 Rolf Bjarne Kvinge <rolfkvinge@ya.com>
Rolf Bjarne Kvinge [Tue, 17 Oct 2006 15:38:29 +0000 (15:38 -0000)]
2006-10-17  Rolf Bjarne Kvinge  <rolfkvinge@ya.com>
* ThemeWin32Classic.cs: changed drawing of selected days
to make them look better.

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

17 years agoFieldInfo.cs: Added GetRawConstantValue (). Note that throwing a NotSupportedExceptio...
Kornél Pál [Tue, 17 Oct 2006 15:19:11 +0000 (15:19 -0000)]
FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a NotSupportedException is the proper implementation.; ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0 that is expected by subclasses.

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

17 years agoTue Oct 17 16:59:59 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 17 Oct 2006 15:00:44 +0000 (15:00 -0000)]
Tue Oct 17 16:59:59 CEST 2006 Paolo Molaro <lupus@ximian.com>

* reflection.c: small cleanup, using a function to insert a MonoString
in the string heap.

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

17 years agoTue Oct 17 16:45:27 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 17 Oct 2006 14:46:10 +0000 (14:46 -0000)]
Tue Oct 17 16:45:27 CEST 2006 Paolo Molaro <lupus@ximian.com>

* reflection.c: moving GC fixes.

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

17 years ago2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 17 Oct 2006 14:15:17 +0000 (14:15 -0000)]
2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs:
* DetailsView.js:
fixed: EnablePagingCallbacks feature.
when postback is invoked after callback control state is restored
properly.

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

17 years ago* SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
Vladimir Krasnov [Tue, 17 Oct 2006 13:20:40 +0000 (13:20 -0000)]
* SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
* added SqlDataSourceDerbyTest.cs
* run-mono-tests.bat: added Derby to tests class path

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

17 years agoEnclosed NotWorking attribute with #if !TARGET_JVM
Leszek 'skolima' Ciesielski [Tue, 17 Oct 2006 13:00:04 +0000 (13:00 -0000)]
Enclosed NotWorking attribute with #if !TARGET_JVM

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

17 years ago2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 17 Oct 2006 12:58:27 +0000 (12:58 -0000)]
2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
(corresponding test does not work because bug in ObjectDataSourceView)

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

17 years agoIntegrated the Mainsoft test suite into make run-test. Many tests still fail...
Leszek 'skolima' Ciesielski [Tue, 17 Oct 2006 08:04:07 +0000 (08:04 -0000)]
Integrated the Mainsoft test suite into make run-test. Many tests still fail...

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

17 years ago2006-10-16 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 16 Oct 2006 20:37:41 +0000 (20:37 -0000)]
2006-10-16  Chris Toshok  <toshok@ximian.com>

* Hwnd.cs: replace the user_data/client_dc/non_client_dc with
drawing_stack.  Nuke the ClientDC/NonClientDC properties.

* XplatUIX11.cs: move away from using hwnd.client_dc and
hwnd.non_client_dc and on to a stack of dc's (and in window's
case, PAINTSTRUCT's), so we can deal with nested Paint calls
without puking or not disposing of Graphics objects.

* XplatUIOSX.cs: same.

* XplatUIWin32.cs: same.

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

17 years ago2006-10-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 16 Oct 2006 18:04:51 +0000 (18:04 -0000)]
2006-10-16  Miguel de Icaza  <miguel@novell.com>

* src/gerror.c (g_propagate_error): Implement.

* src/gstr.c (g_strjoinv, g_ascii_strncasecmp): implement.

* test/string-util.c (test_ascii_strncasecmp): test

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

17 years agoMon Oct 16 16:53:12 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 16 Oct 2006 14:56:03 +0000 (14:56 -0000)]
Mon Oct 16 16:53:12 CEST 2006 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c, gc-internal.h, gc.c: added API to collect and remove
all the objects with finalizers belonging to an unloading appdomain.

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

17 years ago2006-10-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 16 Oct 2006 14:23:25 +0000 (14:23 -0000)]
2006-10-16  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_get_method): Change this to return the native code
address instead of a MonoJitInfo* to avoid decoding the exception info for the
method.

* aot-runtime.c aot-compiler.c: Use uint16 instead of uint32 entries in the
name cache to reduce its size.

* mini.h (MONO_AOT_FILE_VERSION): Bump aot file format version.

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

17 years agoMon Oct 16 15:08:41 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 16 Oct 2006 13:09:49 +0000 (13:09 -0000)]
Mon Oct 16 15:08:41 CEST 2006 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c: added ability to allocate even when the nursery is fully
pinned and fixed a couple of bugs.

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

17 years agolibmono.vcproj: Removed unicode.h and unicode.c. Changed absolute path in AdditionalL...
Kornél Pál [Mon, 16 Oct 2006 11:12:22 +0000 (11:12 -0000)]
libmono.vcproj: Removed unicode.h and unicode.c. Changed absolute path in AdditionalLibraryDirectories to relative.

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

17 years ago2006-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Oct 2006 18:55:36 +0000 (18:55 -0000)]
2006-10-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Revert the last change for now.

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

17 years ago2006-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Oct 2006 18:54:06 +0000 (18:54 -0000)]
2006-10-15  Zoltan Varga  <vargaz@gmail.com>

* threads.h: Revert the last change for now.

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