mono.git
17 years ago2006-01-04 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Thu, 4 Jan 2007 20:53:21 +0000 (20:53 -0000)]
2006-01-04  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Sebastien fixed the libgdiplus png alpha
problems. So it is time to bring back the old popupbutton colors.

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

17 years agoUpdate configure in, to use built-in zlib
Miguel de Icaza [Thu, 4 Jan 2007 20:38:09 +0000 (20:38 -0000)]
Update configure in, to use built-in zlib

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

17 years agoAdded zlib files to the build, it will be part of MonoSupport
Miguel de Icaza [Thu, 4 Jan 2007 20:37:59 +0000 (20:37 -0000)]
Added zlib files to the build, it will be part of MonoSupport

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

17 years ago2007-01-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 4 Jan 2007 20:29:49 +0000 (20:29 -0000)]
2007-01-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System.Windows.Forms_test.dll: Add ColumnHeaderTest.cs

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

17 years ago2007-01-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 4 Jan 2007 20:28:37 +0000 (20:28 -0000)]
2007-01-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ColumnHeaderTest.cs: New test.

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

17 years ago2006-01-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 4 Jan 2007 20:22:33 +0000 (20:22 -0000)]
2006-01-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ColumnHeader.cs:
* ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
property by using the internal information of the
columns order in ListView.

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

17 years ago2007-01-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 4 Jan 2007 19:53:36 +0000 (19:53 -0000)]
2007-01-04  Jonathan Pobst  <monkey@jpobst.com>

* CommonDialogTest.cs, CursorTest.cs, ErrorProviderTest.cs,
HelpProviderTest.cs: Add tests for Tag properties.

* LinkAreaTest.cs: Add test for ToString.

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

17 years ago2007-01-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 4 Jan 2007 19:43:06 +0000 (19:43 -0000)]
2007-01-04  Jonathan Pobst  <monkey@jpobst.com>

* CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
Add 2.0 Tag properties.

* LinkArea.cs: Add 2.0 ToString method.

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

17 years ago* HttpRuntime.cs: Add check for NET_2_0 when initializing
Andreia Gaita [Thu, 4 Jan 2007 18:31:04 +0000 (18:31 -0000)]
* HttpRuntime.cs: Add check for NET_2_0 when initializing
WebConfigurationManager, build failing on 1.1 profile

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

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

17 years ago2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 4 Jan 2007 17:57:36 +0000 (17:57 -0000)]
2007-01-04  Sebastien Pouliot  <sebastien@ximian.com>

* DESCryptoServiceProviderTest.cs: Update and add new test cases for
bug #80439.

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

17 years ago2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 4 Jan 2007 17:56:38 +0000 (17:56 -0000)]
2007-01-04  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Fix previous fix (for #80439) as we were now
too permissive.

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

17 years ago2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 4 Jan 2007 17:56:04 +0000 (17:56 -0000)]
2007-01-04  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Fix previous fix (for #80439) as we were now
too permissive.

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

17 years agoDocument
Miguel de Icaza [Thu, 4 Jan 2007 17:10:21 +0000 (17:10 -0000)]
Document

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

17 years ago2007-01-03 Tor Lillqvist <tml@novell.com>
Miguel de Icaza [Thu, 4 Jan 2007 17:08:48 +0000 (17:08 -0000)]
2007-01-03  Tor Lillqvist  <tml@novell.com>

Add the possibility to bundle also the machine.config file, from
#80305.

* mkbundle.cs: Add option --machine-config. Warn the user that a
bundled machine.config file should be checked that it doesn't
contain sensitive data like private machine keys.

If that option was used, write the contents of the machine.config
file to the asm output file, and write code to call
mono_register_machine_config() with the data to the C output file.

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

17 years agoPatch from Tor Lillqvist
Miguel de Icaza [Thu, 4 Jan 2007 17:08:17 +0000 (17:08 -0000)]
Patch from Tor Lillqvist

2007-01-03  Tor Lillqvist  <tml@novell.com>

Fix #80305: In a bundled executable, look in the bundled exe
assembly to determine the runtime version. Add the possibility to
bundle also the machine.config file.

* assembly.c (mono_assembly_open_from_bundle): Make
non-static. Allow being called even if we have no bundled
assemblies, and return NULL right away in that case.

* domain-internals.h: Declare mono_assembly_open_from_bundle()
here.

* domain.c (app_config_parse): Take an assembly exe file name as
parameter instead of a config file name. Check for a bundled
config file for that assembly by calling
mono_config_string_for_assembly_file() (see below) before looking
for one in the file system.
(get_runtimes_from_exe): Corrsponding change to call of
app_config_parse().
(get_runtimes_from_exe): Check for bundled assembly exe file first
by calling mono_assembly_open_from_bundle(). If no bundled
assembly exe file is found, call mono_image_open() as before to
look it up in the file system.

* mono-config.c: Add variable bundled_machinec_onfig.
(mono_config_string_for_assembly_file): New function.
(mono_config_for_assembly): Move code snippet that looks for a
bundled assembly .config file into the above new function. Call
it.
(mono_register_machine_config, mono_get_machine_config): New
functions to set and retrieve

* assembly.h: Declare mono_register_machine_config().

* mono-config.h: Declare mono_get_machine_config() and
mono_config_string_for_assembly_file().

* icall.c: No declaration of environ necessary on Win32. It is
declared (as a macro expanding to a function call) in stdlib.h.
(ves_icall_System_Configuration_DefaultConfig_get_bundled_machine_config):
New internal mono function. Returns the value of
mono_get_machine_config() as a Mono string.

* icall-def.h: Add get_bundled_machine_config().

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

17 years ago2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 4 Jan 2007 16:55:49 +0000 (16:55 -0000)]
2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs: ensure 'id' attribute will be rendered if
ClientID was accessed but ID is generated by the Page,
important for custom controls developing.

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

17 years ago* AnonymousIdentificationModule.cs: fixed OnEnter, fixed failure on incorrect cookie...
Vladimir Krasnov [Thu, 4 Jan 2007 16:32:53 +0000 (16:32 -0000)]
* AnonymousIdentificationModule.cs: fixed OnEnter, fixed failure on incorrect cookie value that browser may hold

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

17 years agoAdd missing </p> for xml text reader (monodoc make dist)
Wade Berrier [Thu, 4 Jan 2007 16:20:28 +0000 (16:20 -0000)]
Add missing </p> for xml text reader (monodoc make dist)

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

17 years agoGrasshopper doesn't support TempFileCollection
Noam Lampert [Thu, 4 Jan 2007 15:15:05 +0000 (15:15 -0000)]
Grasshopper doesn't support TempFileCollection

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

17 years agoTurn on validation
Noam Lampert [Thu, 4 Jan 2007 15:14:30 +0000 (15:14 -0000)]
Turn on validation

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

17 years agoTARGET_JVM: facultatively throw exception when loading profiles
Igor Zelmanovich [Thu, 4 Jan 2007 15:13:36 +0000 (15:13 -0000)]
TARGET_JVM: facultatively throw exception when loading profiles

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

17 years agoWorkaround. Grasshopper currently doesn't support List<T>.ToArray
Noam Lampert [Thu, 4 Jan 2007 15:10:28 +0000 (15:10 -0000)]
Workaround. Grasshopper currently doesn't support List<T>.ToArray

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

17 years agoTurn on validation
Noam Lampert [Thu, 4 Jan 2007 15:09:08 +0000 (15:09 -0000)]
Turn on validation

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

17 years ago* HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager should be initia...
Vladimir Krasnov [Thu, 4 Jan 2007 14:13:05 +0000 (14:13 -0000)]
* HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager should be initializaed before any possible access to it

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

17 years agoworkaround TARGET_JVM platform issues
Konstantin Triger [Thu, 4 Jan 2007 14:10:41 +0000 (14:10 -0000)]
workaround TARGET_JVM platform issues

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

17 years agoAdd ignores for TARGET_JVM bugs
Konstantin Triger [Thu, 4 Jan 2007 14:09:28 +0000 (14:09 -0000)]
Add ignores for TARGET_JVM bugs

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

17 years agoadded TARGET_JVM def.
Igor Zelmanovich [Thu, 4 Jan 2007 13:45:29 +0000 (13:45 -0000)]
added TARGET_JVM def.

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

17 years agoImageButton.cs: implemented GenerateEmptyAlternateText
Adar Wesley [Thu, 4 Jan 2007 13:31:24 +0000 (13:31 -0000)]
ImageButton.cs: implemented GenerateEmptyAlternateText

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

17 years agoWorkaround for webservices resources
Vladislav Spivak [Thu, 4 Jan 2007 13:25:33 +0000 (13:25 -0000)]
Workaround for webservices resources

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

17 years ago2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 4 Jan 2007 13:23:08 +0000 (13:23 -0000)]
2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs: fixed data binding flow considers Insert mode.

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

17 years agoHtmlSelectTest.cs: updated tests to use HtmlDiff
Adar Wesley [Thu, 4 Jan 2007 13:00:44 +0000 (13:00 -0000)]
HtmlSelectTest.cs: updated tests to use HtmlDiff

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

17 years agoRepeatInfoTest.auto.cs: Fixed tests to compare HTML with HtmlDiff
Adar Wesley [Thu, 4 Jan 2007 12:55:43 +0000 (12:55 -0000)]
RepeatInfoTest.auto.cs: Fixed tests to compare HTML with HtmlDiff

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

17 years agoIn dis:
Raja R Harinath [Thu, 4 Jan 2007 12:53:37 +0000 (12:53 -0000)]
In dis:
* get.c (get_method_core): Pick generic container from the
declaring method.

In metadata:
Remove redundant field
* class-internals.h (_MonoGenericContext.container): Remove field.
* loader.c (mono_method_get_signature_full): Don't parse a
"container" for a signature parse when the signature is inflated
immediately.
(method_from_methodspec): Likewise, for a generic_inst.
* class.c, metadata.c, reflection.c: Update to changes.

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

17 years ago2006-01-04 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 4 Jan 2007 12:45:19 +0000 (12:45 -0000)]
2006-01-04 Igor Zelmanovich <igorz@mainsoft.com>

* DataBoundControl.cs: fixed Init flow.

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

17 years agomake the check app root independent
Konstantin Triger [Thu, 4 Jan 2007 12:43:54 +0000 (12:43 -0000)]
make the check app root independent

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

17 years agoSet svn:eol-style to native.
Leszek 'skolima' Ciesielski [Thu, 4 Jan 2007 12:39:25 +0000 (12:39 -0000)]
Set svn:eol-style to native.
Added padding with 0's to buffers fed back to OCI.

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

17 years agoupper-case, just in case
Raja R Harinath [Thu, 4 Jan 2007 12:21:14 +0000 (12:21 -0000)]
upper-case, just in case

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

17 years agomake line-endings crlf, and set svn:eol-style crlf
Raja R Harinath [Thu, 4 Jan 2007 12:19:47 +0000 (12:19 -0000)]
make line-endings crlf, and set svn:eol-style crlf

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

17 years ago* HttpRequest.cs: fixed Path property, add call of Uri.UnescapeDataString in net_2_0
Vladimir Krasnov [Thu, 4 Jan 2007 12:16:25 +0000 (12:16 -0000)]
* HttpRequest.cs: fixed Path property, add call of Uri.UnescapeDataString in net_2_0

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

17 years agoEnsure enabled = true by default; cleanup
Konstantin Triger [Thu, 4 Jan 2007 12:10:20 +0000 (12:10 -0000)]
Ensure enabled = true by default; cleanup

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

17 years ago* class-internals.h (_MonoGenericClass): Rename 'context' field to
Raja R Harinath [Thu, 4 Jan 2007 10:58:32 +0000 (10:58 -0000)]
* class-internals.h (_MonoGenericClass): Rename 'context' field to
'cached_context', and change semantics -- it starts off NULL, and
is initialized on demand.
* class.c (mono_generic_class_get_context): New accessor to
replace 'context' field accesses.
(mono_class_get_context): New helper.
(*): Update to changes.
* icall.c, loader.c, metadata.c, reflection.c: Update to changes.

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

17 years ago2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 4 Jan 2007 10:27:20 +0000 (10:27 -0000)]
2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: fixed: InitializeCulture should be called
before creating controls.

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

17 years ago* DerbyMembershipProvider.cs: fixed encoding of password
Vladimir Krasnov [Thu, 4 Jan 2007 10:15:21 +0000 (10:15 -0000)]
* DerbyMembershipProvider.cs: fixed encoding of password

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

17 years agoInclude more valide in System.Security.Permission to avoid validator errors
Noam Lampert [Thu, 4 Jan 2007 09:08:05 +0000 (09:08 -0000)]
Include more valide in System.Security.Permission to avoid validator errors

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

17 years agoRadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
Adar Wesley [Thu, 4 Jan 2007 09:00:59 +0000 (09:00 -0000)]
RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual

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

17 years ago* HttpApplication.cs: fixed PreStart, should not set thread culture to invariant
Vladimir Krasnov [Thu, 4 Jan 2007 09:00:23 +0000 (09:00 -0000)]
* HttpApplication.cs: fixed PreStart, should not set thread culture to invariant

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

17 years ago * DataGrid.cs: the Alt+0 handling was wrong, it should have been
Chris Toshok [Thu, 4 Jan 2007 07:08:11 +0000 (07:08 -0000)]
* DataGrid.cs: the Alt+0 handling was wrong, it should have been
Ctrl+0.  Fixes bug #80367.  Also, don't eat the Delete keypress
when we're editing, which fixes #80047.

2007-01-03  Chris Toshok  <toshok@ximian.com>

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

17 years ago2007-01-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 4 Jan 2007 06:49:41 +0000 (06:49 -0000)]
2007-01-03  Chris Toshok  <toshok@ximian.com>

* Form.cs: apply patch contributed by Dominik Seichter.  fixes
#80404.

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

17 years ago2007-01-03 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 4 Jan 2007 04:16:26 +0000 (04:16 -0000)]
2007-01-03  Miguel de Icaza  <miguel@novell.com>

* driver.c: If nothing fail, do not use the string "failed",
because it makes it very annoying to view test result logs on the
web.

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

17 years agoAdd missing file
Miguel de Icaza [Thu, 4 Jan 2007 04:08:55 +0000 (04:08 -0000)]
Add missing file

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

17 years ago2007-01-03 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 4 Jan 2007 04:07:14 +0000 (04:07 -0000)]
2007-01-03  Miguel de Icaza  <miguel@novell.com>

* marshal.c (mono_string_to_byvalstr): Fix thinko, shorten len
before the memcpy.   Fixes Marshal2 regression.

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

17 years ago* scripts/mono-find-provides.in:
Wade Berrier [Wed, 3 Jan 2007 23:35:00 +0000 (23:35 -0000)]
* scripts/mono-find-provides.in:
* scripts/mono-find-requires.in: error out if monodis isn't
functioning properly.  Otherwise when building rpms,
the provides/requires isn't generated correctly if monodis
isn't present.

Fixes: bnc #227362

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

17 years agoJavaScript validation fix
Marek Habersack [Wed, 3 Jan 2007 22:16:40 +0000 (22:16 -0000)]
JavaScript validation fix

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

17 years agofix for type loading
Marek Habersack [Wed, 3 Jan 2007 22:12:52 +0000 (22:12 -0000)]
fix for type loading

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

17 years ago2007-01-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 3 Jan 2007 21:08:05 +0000 (21:08 -0000)]
2007-01-03  Jonathan Pobst  <monkey@jpobst.com>

* MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
property and implementation.

* Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
for MdiWindowListItem property.

* ToolStripDropDown.cs: Don't consider hidden menu items while
laying out the menu.

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

17 years ago2007-01-03 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 3 Jan 2007 19:50:44 +0000 (19:50 -0000)]
2007-01-03  Miguel de Icaza  <miguel@novell.com>

* SafeHandle.cs: Do not use locks in SafeHandle to protect the
access to the refcount, use Interlocked.CompareExchange.  The
locks were the source of problems with domain finalization when
this code was enabled.

This should fix Matt Hargett's bug report with a full `make check'
that reported variations of:

** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
Finalization of domain <domainname> timed out.

Also, it is a lot lighther.

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

17 years ago2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 3 Jan 2007 17:19:15 +0000 (17:19 -0000)]
2007-01-03  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Reduce inputCount if larger than the output
data can hold. Fix bug #80439.

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

17 years ago2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 3 Jan 2007 17:17:30 +0000 (17:17 -0000)]
2007-01-03  Sebastien Pouliot  <sebastien@ximian.com>

* DESCryptoServiceProviderTest.cs: Add tests for bug #80439 where
inputCount is reduced to fit into the output buffer (for any mode).

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

17 years ago2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 3 Jan 2007 17:15:35 +0000 (17:15 -0000)]
2007-01-03  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Reduce inputCount if larger than the output
data can hold. Fix bug #80439.

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

17 years ago2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 3 Jan 2007 16:20:00 +0000 (16:20 -0000)]
2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs: fixed PageIndex property.

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

17 years ago* SendKeys.cs: window handle is not needed in win32, so just
Andreia Gaita [Wed, 3 Jan 2007 16:18:00 +0000 (16:18 -0000)]
* SendKeys.cs: window handle is not needed in win32, so just
get the active window for X after parsing keys and don't use
it when building the message; it is passed by parameter to the
Xplat method and used there to build the message instead. Also,
wait for events to be processed on SendWait, as opposed to Send,
which doesn't wait :) Playing with threads and Send() completely
hangs on ms.net, only SendWait() works.

XplatUIX11.cs
X11Display.cs: Check for valid window handle.

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

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

17 years ago* HttpRequest.cs: fixed jvm version of MakeInputStream, should not throw exception...
Vladimir Krasnov [Wed, 3 Jan 2007 15:41:22 +0000 (15:41 -0000)]
* HttpRequest.cs: fixed jvm version of MakeInputStream, should not throw exception on zero content length

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

17 years ago * TextControl.cs: Need to prevent wrap calculations when
Jackson Harper [Wed, 3 Jan 2007 14:46:13 +0000 (14:46 -0000)]
    * TextControl.cs: Need to prevent wrap calculations when
        * replacing
        text (this was there before i removed it accidently).
        - Don't update the cursor during the positioning, just set it to
        selection_start at the end of the operaion.

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

17 years agoupdate project with recent changes
Konstantin Triger [Wed, 3 Jan 2007 14:45:14 +0000 (14:45 -0000)]
update project with recent changes

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

17 years ago2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 3 Jan 2007 13:10:26 +0000 (13:10 -0000)]
2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>

* ListControl.cs: fixed SelectedValue and SelectedIndex properties.
set accessor works differently in 2.0.

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

17 years agoexplicitly implement ICloneable.Clone as .Net does
Konstantin Triger [Wed, 3 Jan 2007 13:09:15 +0000 (13:09 -0000)]
explicitly implement ICloneable.Clone as .Net does

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

17 years ago* SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
Vladimir Krasnov [Wed, 3 Jan 2007 13:03:16 +0000 (13:03 -0000)]
* SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members

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

17 years agoexplicitly implement IDataItemContainer.DataItemIndex as .Net does
Konstantin Triger [Wed, 3 Jan 2007 12:52:39 +0000 (12:52 -0000)]
explicitly implement IDataItemContainer.DataItemIndex as .Net does

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

17 years ago * Control.cs:
Rolf Bjarne Kvinge [Wed, 3 Jan 2007 10:57:48 +0000 (10:57 -0000)]
* Control.cs:
* NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.

2007-01-03  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years ago2007-01-03 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 3 Jan 2007 10:47:34 +0000 (10:47 -0000)]
2007-01-03  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MonthCalendar.cs: Added Click and DoubleClick events again,
but this time they only hide Control's Click and DoubleClick.

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

17 years ago* Theme.cs: Re-enabled DefaultFont change. Use const to refer to
Gert Driesen [Wed, 3 Jan 2007 08:51:58 +0000 (08:51 -0000)]
* Theme.cs: Re-enabled DefaultFont change. Use const to refer to
System.Drawing assembly. Spaces to tabs. Removed extra tabs.
* ControlTest.cs: Enabled tests after DefaultFont change. Ignore test
that is DPI-dependent.
* RichTextBoxTest.cs: Ignore test that is DPI-dependent.
* TextBoxTest.cs: Ignore test that is DPI-dependent.

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

17 years ago * TextBoxBase.cs: We move the caret with the split now, so we
Jackson Harper [Wed, 3 Jan 2007 01:27:36 +0000 (01:27 -0000)]
    * TextBoxBase.cs: We move the caret with the split now, so we
        don't need to explicitly move the caret after splitting.  This
        fixes the caret bumping down an extra line on Enter.

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

17 years ago2007-01-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 3 Jan 2007 01:05:30 +0000 (01:05 -0000)]
2007-01-02  Miguel de Icaza  <miguel@novell.com>

* ContainerControl.cs: Add AutoValidateChanged event (for PDN
2.72).

* ScrollableControl.cs: Add Scroll event.

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

17 years agoRevert 67496 as it makes running Paint.NET impossible
Miguel de Icaza [Wed, 3 Jan 2007 00:16:03 +0000 (00:16 -0000)]
Revert 67496 as it makes running Paint.NET impossible

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

17 years ago2006-12-31 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 3 Jan 2007 00:08:53 +0000 (00:08 -0000)]
2006-12-31  Miguel de Icaza  <miguel@novell.com>

* ThreadPool.cs: Stub a method.

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

17 years agoAdd it with the extension, needed?
Miguel de Icaza [Wed, 3 Jan 2007 00:06:27 +0000 (00:06 -0000)]
Add it with the extension, needed?

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

17 years ago2007-01-02 Jb Evain <jbevain@gmail.com>
Jb Evain [Tue, 2 Jan 2007 19:50:48 +0000 (19:50 -0000)]
2007-01-02  Jb Evain  <jbevain@gmail.com>

* blob.h: add a MONO_TYPE_ENUM definition
* reflection.c (load_cattr_value, create_custom_attr, create_custom_attr_data):
fix the encoding of arrays of enums in custom attributes.

Fixes #79666.

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

17 years ago2007-01-02 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 2 Jan 2007 19:23:25 +0000 (19:23 -0000)]
2007-01-02  Mike Kestner  <mkestner@novell.com>

* ListView.cs: one more try with help from georgegiolfan@yahoo.com
to fix all hdr height padding codepaths.  Fixes #80207.

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

17 years agoTo make bug reports more useful
Miguel de Icaza [Tue, 2 Jan 2007 19:23:13 +0000 (19:23 -0000)]
To make bug reports more useful

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

17 years ago* ControlTest.cs: Added FontHeight test.
Gert Driesen [Tue, 2 Jan 2007 17:54:32 +0000 (17:54 -0000)]
* ControlTest.cs: Added FontHeight test.

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

17 years ago2007-01-02 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 2 Jan 2007 17:53:09 +0000 (17:53 -0000)]
2007-01-02  Chris Toshok  <toshok@ximian.com>

* StatusBar.cs (.ctor): remove the Anchor setting, as it's just
setting it to the Control defaults anyway, and it being after the
Dock set was screwing up layout.
(set_Dock): don't short circuit out of setting base.Dock.  Also,
no need to call UpdateStatusBar here, as it'll be re-layed out if
it needs to be.

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

17 years agoIn System.Text.RegularExpressions:
Raja R Harinath [Tue, 2 Jan 2007 17:52:33 +0000 (17:52 -0000)]
In System.Text.RegularExpressions:
Fix #79472
* parser.cs (Parser.GetMapping): Use the actual group numbers to
build the mapping.

In Test/System.Text.RegularExpressions:
* RegexBugs.cs (GroupNumbers): New test based on #79472.

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

17 years agoMake XML
Miguel de Icaza [Tue, 2 Jan 2007 17:04:20 +0000 (17:04 -0000)]
Make XML

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

17 years agoFix bug in batch file
Noam Lampert [Tue, 2 Jan 2007 17:01:40 +0000 (17:01 -0000)]
Fix bug in batch file

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

17 years ago2007-01-02 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 2 Jan 2007 16:45:11 +0000 (16:45 -0000)]
2007-01-02  Mike Kestner  <mkestner@novell.com>

* ListView.cs: patch from georgegiolfan@yahoo.com to add padding
to header height for width == -1. Fixes the rest of #80207.

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

17 years ago2007-01-02 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 2 Jan 2007 16:16:52 +0000 (16:16 -0000)]
2007-01-02  Mike Kestner  <mkestner@novell.com>

* ListView.cs: rework the mouse event forwarding everaldo added
to translate the coordinates to the parent control not
raise the parent events until after we've done our work. Hover
needs more work, in the case where HoverSelection is on, because
the item control receives more than one MouseHover per Enter
event, so we need to ensure only the "first" hover gets forwarded.
Opening a minor bug for that.

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

17 years ago2007-01-02 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 2 Jan 2007 15:36:38 +0000 (15:36 -0000)]
2007-01-02  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * AssemblyLoadInfo.cs: Used AssemblyName constructor instead of
        parsing it here.

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

17 years ago* ProcessTest.cs: Added null check tests.
Gert Driesen [Tue, 2 Jan 2007 15:07:35 +0000 (15:07 -0000)]
* ProcessTest.cs: Added null check tests.
* Process.cs: Allow GetProcesses and GetProcessById overloads with
machine name to work for local machine.
* System_test.dll.sources: Added ProcessTest.cs.

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

17 years ago* CheckedListBox.cs: Fixed SelectionMode to match MS.
Gert Driesen [Tue, 2 Jan 2007 14:37:40 +0000 (14:37 -0000)]
* CheckedListBox.cs: Fixed SelectionMode to match MS.
* ListControl.cs: Implemented AllowSelection property. Removed extra
tabs.
* ListBox.cs: Implemented AllowSelection property.
* ListControlTest.cs: Added test for AllowSelection.
* UpDownTest.cs: MockItem is now nested class.
* ListBoxTest.cs: Added test for AllowSelection.
* CheckedListBoxTest.cs: Added tests for DisplayMember, GetItemText,
SelectionMode, Text and ValueMember.

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

17 years agoDataObjectAttribute.cs: Implemented
Konstantin Triger [Tue, 2 Jan 2007 14:07:24 +0000 (14:07 -0000)]
DataObjectAttribute.cs: Implemented

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

17 years ago* SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge when values...
Vladimir Krasnov [Tue, 2 Jan 2007 13:57:57 +0000 (13:57 -0000)]
* SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge when values and old values are null

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

17 years agoDo not reject null key
Konstantin Triger [Tue, 2 Jan 2007 13:28:03 +0000 (13:28 -0000)]
Do not reject null key

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

17 years agoNew tests.
Marek Safar [Tue, 2 Jan 2007 13:07:53 +0000 (13:07 -0000)]
New tests.

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

17 years ago2007-01-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 2 Jan 2007 13:07:24 +0000 (13:07 -0000)]
2007-01-02  Marek Safar  <marek.safar@gmail.com>

* class.cs (VerifyMembers): Fixed an crash reported on mono mailing list
where field type is struct from current assembly.

* ecore.cs (EnumConstant.AsString): Report an enum member name whenever
it is possible.

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

17 years ago2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 2 Jan 2007 12:34:29 +0000 (12:34 -0000)]
2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>

* ListControl.cs: reverted r70112, fixed in r70319.

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

17 years ago* ProfileBase.cs: added inherited properties properties initialization
Vladimir Krasnov [Tue, 2 Jan 2007 12:32:40 +0000 (12:32 -0000)]
* ProfileBase.cs: added inherited properties properties initialization

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

17 years ago * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
Everaldo Canuto [Tue, 2 Jan 2007 12:13:49 +0000 (12:13 -0000)]
* MenuItem.cs: In MdiWindowClickHandler uses sender instead of
SelectedItem, it prevent for errors when you must disable item
before perform click. Fixes #80409.

2007-01-02  Everaldo Canuto  <everaldo@simios.org>

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

17 years agoAdd missing IdSeparator propoerty
Konstantin Triger [Tue, 2 Jan 2007 12:06:24 +0000 (12:06 -0000)]
Add missing IdSeparator propoerty

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

17 years ago2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 2 Jan 2007 12:03:01 +0000 (12:03 -0000)]
2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: fixed CreateAutoGeneratedRows.

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

17 years agoNew tests.
Marek Safar [Tue, 2 Jan 2007 11:49:55 +0000 (11:49 -0000)]
New tests.

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