mono.git
17 years agohack for automated X11 testing
Chris Toshok [Fri, 5 Jan 2007 18:51:03 +0000 (18:51 -0000)]
hack for automated X11 testing

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

17 years ago also, disable the call do BindColumns in
Chris Toshok [Fri, 5 Jan 2007 18:26:51 +0000 (18:26 -0000)]
also, disable the call do BindColumns in
OnListManagerMetaDataChanged.  this breaks this test in 2.0 (in
1.1 the event isn't raised in response to a column addition on a
table.)

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

17 years ago2007-01-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 5 Jan 2007 18:19:00 +0000 (18:19 -0000)]
2007-01-05  Chris Toshok  <toshok@ximian.com>

* DataGrid.cs: don't forceably rebind columns in SetDataSource
unless our list manager has changed (i.e. unless we have reason to
believe our columns have changed).  Fixes #80422.

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

17 years ago2007-01-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 5 Jan 2007 18:13:04 +0000 (18:13 -0000)]
2007-01-05  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
that inheritors can not call it if they choose.  Fixes bug #80456.

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

17 years agoFixes GetMessage exception that was keeping winforms apps from running.
Andreia Gaita [Fri, 5 Jan 2007 17:54:05 +0000 (17:54 -0000)]
Fixes GetMessage exception that was keeping winforms apps from running.
Fix changelog dates

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

17 years ago2007-01-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 5 Jan 2007 17:26:54 +0000 (17:26 -0000)]
2007-01-05  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Implement several 2.0 protected properties and methods.
Ensure that all necessary events are being called when properties
are set.
* ControlPropertyEventsTest.cs: Tests that demonstrate above changes.

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

17 years ago2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 5 Jan 2007 17:20:43 +0000 (17:20 -0000)]
2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: Now that the ASN.1 converted DateTime is
"clearly" UTC (in 2.0) we need to adjust GetEffectiveDateString and
GetExpirationDateString methods to return the local time.

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

17 years ago2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 5 Jan 2007 17:20:14 +0000 (17:20 -0000)]
2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>

* DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
DateTimeStyles.AdjustToUniversal is used.

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

17 years ago2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 5 Jan 2007 17:18:45 +0000 (17:18 -0000)]
2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>

* ASN1Convert.cs: Added comment to FromDateTime to specify that, under
1.x, the DateTime must be a local (not UTC) date time. Fixed ToDateTime
to return a DateTimeKind.Utc DateTime under 2.0.

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

17 years agonormalize line endings
Sebastien Pouliot [Fri, 5 Jan 2007 16:39:34 +0000 (16:39 -0000)]
normalize line endings

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

17 years ago2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 5 Jan 2007 16:39:15 +0000 (16:39 -0000)]
2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>

* ASN1ConvertTest.cs: Update unit test syntax to NUnit 2.2. Change
DateTime.UtcNow to Now as the API requires, under 1.x, a local date
time. Disregard buggy ConvertOID_LargeX under MS 2.0.

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

17 years ago2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 5 Jan 2007 16:38:54 +0000 (16:38 -0000)]
2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>

* ASN1Convert.cs: Added comment to FromDateTime to specify that, under
1.x, the DateTime must be a local (not UTC) date time. Fixed ToDateTime
to return a DateTimeKind.Utc DateTime under 2.0.

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

17 years ago2007-01-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 5 Jan 2007 16:20:04 +0000 (16:20 -0000)]
2007-01-05  Atsushi Enomoto <atsushi@ximian.com>

* Expression.cs : text() should match whitespace and significant
  whitespace nodes.

* XPathNavigatorTests.cs : added test for text() and whitespace/
  significantwhitespace node.

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

17 years ago2007-01-05 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 5 Jan 2007 15:56:18 +0000 (15:56 -0000)]
2007-01-05  Mike Kestner  <mkestner@novell.com>

* ListView.cs: implement PgUp/PgDn for Details view.  Also
fixes First/LastVisibleIndex to use the item_control.ClientRect
instead of the parent control.  Fixes #80378.

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

17 years agofix line endings, set svn:eol-style to CRLF
Raja R Harinath [Fri, 5 Jan 2007 12:04:24 +0000 (12:04 -0000)]
fix line endings, set svn:eol-style to CRLF

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

17 years agoOngoing work to avoid redundant data and simplify invariants.
Raja R Harinath [Fri, 5 Jan 2007 11:32:42 +0000 (11:32 -0000)]
Ongoing work to avoid redundant data and simplify invariants.
* class-internals.h (_MonoGenericMethod.class_inst): Rename from
'generic_class', and change type to a GenericInst.
(_MonoGenericContext.class_inst): Likewise, rename from 'gclass'.
* class.c, loader.c, metadata.c, reflection.c: Update to changes.

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

17 years ago2006-01-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 5 Jan 2007 08:22:27 +0000 (08:22 -0000)]
2006-01-05  Atsushi Enomoto  <atsushi@ximian.com>

* PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  determine whether to use yard-pound or not (bug #78399).

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

17 years ago2007-01-05 Alp Toker <alp@atoker.com>
Alp Toker [Fri, 5 Jan 2007 07:14:41 +0000 (07:14 -0000)]
2007-01-05  Alp Toker  <alp@atoker.com>

* Mono.Cairo/Pattern.cs: Obsolete Pattern(Surface) ctor in favour of
SurfacePattern(Surface).

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

17 years ago2007-01-05 Alp Toker <alp@atoker.com>
Alp Toker [Fri, 5 Jan 2007 07:01:16 +0000 (07:01 -0000)]
2007-01-05  Alp Toker  <alp@atoker.com>

* Mono.Cairo/Context.cs:
* Mono.Cairo/Surface.cs: Generalize to Surface.LookupSurface()
This method will be useful elsewhere.

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

17 years agoDisable for now
Miguel de Icaza [Fri, 5 Jan 2007 06:15:51 +0000 (06:15 -0000)]
Disable for now

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

17 years agomerged Sys.Web.Services 2.0 support in my branch:
Atsushi Eno [Fri, 5 Jan 2007 06:01:02 +0000 (06:01 -0000)]
merged Sys.Web.Services 2.0 support in my branch:
BasicProfile 1.1, SOAP 1.2 and some minor updates.

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

17 years ago2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 5 Jan 2007 03:48:28 +0000 (03:48 -0000)]
2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TermInfoDriver.cs: honor the backspace in ReadLine.

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

17 years ago2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 5 Jan 2007 03:14:05 +0000 (03:14 -0000)]
2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* RequestStream.cs: initialize the stream in both ctors. Fixes a couple
of unit tests.

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

17 years ago2007-01-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 5 Jan 2007 02:45:27 +0000 (02:45 -0000)]
2007-01-05  Atsushi Enomoto  <atsushi@ximian.com>

* class.c : skip io-layer under PLATFORM_WIN32.

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

17 years ago2007-01-04 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 5 Jan 2007 02:23:03 +0000 (02:23 -0000)]
2007-01-04  Miguel de Icaza  <miguel@novell.com>

* io-portability.c (find_file): Fix a coverity warning (scanning
being unassigned).

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

17 years ago2007-01-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 4 Jan 2007 23:52:12 +0000 (23:52 -0000)]
2007-01-04  Chris Toshok  <toshok@ximian.com>

* CommonDialogsTest.cs: disable FolderBrowserDialogTest (and add a
stack trace in a comment).

* RichTextBoxTest.cs: disable FindTest.

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

17 years ago* FormTest.cs: disabled ActivateTest
Andreia Gaita [Thu, 4 Jan 2007 23:48:44 +0000 (23:48 -0000)]
* FormTest.cs: disabled ActivateTest
* FocusTest.cs: disabled ActiveControl_Disabled test

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

17 years agoword polution removal
Miguel de Icaza [Thu, 4 Jan 2007 23:25:01 +0000 (23:25 -0000)]
word polution removal

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

17 years agoword polution removal
Miguel de Icaza [Thu, 4 Jan 2007 23:23:50 +0000 (23:23 -0000)]
word polution removal

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

17 years agoreduce word polution
Miguel de Icaza [Thu, 4 Jan 2007 23:21:27 +0000 (23:21 -0000)]
reduce word polution

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

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

* nunit-console/ConsoleUi.cs: Do not use the word "failure" if
there are no failues, simplifies reading the logs.

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

17 years agoDo not encourage people to upgrade yet
Miguel de Icaza [Thu, 4 Jan 2007 23:00:30 +0000 (23:00 -0000)]
Do not encourage people to upgrade yet

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

17 years agoNew Overloads
Miguel de Icaza [Thu, 4 Jan 2007 22:59:18 +0000 (22:59 -0000)]
New Overloads

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

17 years agoInvert the condition
Miguel de Icaza [Thu, 4 Jan 2007 22:32:24 +0000 (22:32 -0000)]
Invert the condition

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

17 years agoThis time only use the embedded zlib if we cant find a suitable zlib
Miguel de Icaza [Thu, 4 Jan 2007 22:28:51 +0000 (22:28 -0000)]
This time only use the embedded zlib if we cant find a suitable zlib

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

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

* Mono.Cairo/Context.cs (FromGlyphToUnManagedMemory): Deal with
an API limitation, the Glyph structure in Cairo is defined as
taking a `long' which would be 4 or 8 bytes depending on the
operating system.

We now cope with this by using the proper structure to the
unmanaged code.

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

17 years agoCleanup of unused variables and other compiler warnings.
Leszek 'skolima' Ciesielski [Thu, 4 Jan 2007 21:32:40 +0000 (21:32 -0000)]
Cleanup of unused variables and other compiler warnings.

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

17 years agochange for loops over validation arrays to work in the presence of prototype.js
Joel Reed [Thu, 4 Jan 2007 20:55:59 +0000 (20:55 -0000)]
change for loops over validation arrays to work in the presence of prototype.js

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

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