mono.git
17 years agoimplemented IButtonControl.Click, RaisePostBackEvent
Igor Zelmanovich [Thu, 14 Sep 2006 15:08:15 +0000 (15:08 -0000)]
implemented IButtonControl.Click, RaisePostBackEvent

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

17 years agoFixes for TARGET_JVM tests run.
Boris Kirzner [Thu, 14 Sep 2006 14:55:31 +0000 (14:55 -0000)]
Fixes for TARGET_JVM tests run.

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

17 years agoNew error test.
Martin Baulig [Thu, 14 Sep 2006 14:24:34 +0000 (14:24 -0000)]
New error test.

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

17 years agoFix this test.
Martin Baulig [Thu, 14 Sep 2006 14:14:50 +0000 (14:14 -0000)]
Fix this test.

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

17 years ago * Makefile: Modify test to build `test.dll' and use that as an input
Jonathan Pryor [Thu, 14 Sep 2006 13:37:32 +0000 (13:37 -0000)]
* Makefile: Modify test to build `test.dll' and use that as an input
  assembly to mono-shlib-cop.exe, and not mono-shlib-cop.exe itself.  This
  permits mono-shlib-cop.exe to be "clean", as it doesn't need to have
  deliberate errors inserted into it for use by the unit test.
* mono-shlib-cop.cs: Remove methods used for unit test.
* mono-shlib-cop.exe.config: Add <dllmap/> entry for libglib-2.0, so that
  `mono-shlib-cop mono-shlib-cop.exe` doesn't return any errors/warnings.
  This is requested by meebey@#mono, so that mono-shlib-cop doesn't itself
  require development libraries to execute (complicating the packaging
  process on debian).
* mono-shlib-cop.exe.out: Removed; not used anymore.
* test.cs: Added; test input file for mono-shlib-cop.
* test.dll.out: Added; expected output for `mono-shlib-cop test.dll`.

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

17 years ago * configure.in: Add command to create runtime/etc/mono/config. This is
Jonathan Pryor [Thu, 14 Sep 2006 13:23:58 +0000 (13:23 -0000)]
* configure.in: Add command to create runtime/etc/mono/config.  This is
  needed so that programs which use the bootstrap mono build get the
  appropriate <dllmap/> entries (in particular, the mono-shlib-cop unit
  tests requires that a $prefix/etc/mono/config be present to run).
* runtime/Makefile.am: Create runtime/etc/mono/config.

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

17 years agoimplemented ValidationGroup feature on client side
Igor Zelmanovich [Thu, 14 Sep 2006 13:00:26 +0000 (13:00 -0000)]
implemented ValidationGroup feature on client side

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

17 years agoAdding [NotWorking] attribute to tests in PageTest.cs
Merav Sudri [Thu, 14 Sep 2006 11:58:48 +0000 (11:58 -0000)]
Adding [NotWorking] attribute to tests in PageTest.cs

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

17 years agosvn path=/trunk/mcs/; revision=65384
Merav Sudri [Thu, 14 Sep 2006 10:04:12 +0000 (10:04 -0000)]
svn path=/trunk/mcs/; revision=65384

17 years agosvn path=/trunk/mcs/; revision=65382
Merav Sudri [Thu, 14 Sep 2006 07:53:01 +0000 (07:53 -0000)]
svn path=/trunk/mcs/; revision=65382

17 years agoTests for Page Header were added to PageTest.cs
Merav Sudri [Thu, 14 Sep 2006 07:33:37 +0000 (07:33 -0000)]
Tests for Page Header were added to PageTest.cs

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

17 years ago * XplatUIX11.cs: rework window destruction slightly.
Chris Toshok [Thu, 14 Sep 2006 02:25:02 +0000 (02:25 -0000)]
* XplatUIX11.cs: rework window destruction slightly.

- when destroying the windows associated with a control, we don't
need 2 separate XDestroyWindow calls.  Just the one for the
whole_window (or for client_window if whole_window is somehow
IntPtr.Zero -- can this happen?) is enough.

- reworked SendWMDestroyMessages slightly, so we always dispose
the child control hwnd's after sending the messages.

- refactored out the ActiveWindow/FocusWindow/Caret clearing from
the two places it's used (differently in each place!), adding
another call in SendWMDestroyMessages.  We need this new call
because now the DestroyNotify events in the queue will be ignored
for the child controls (as their hwnd's were destroyed in
SendWMDestroyMessages.) fun, eh?

- this fixes bug #79326.

2006-09-13  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-09-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 14 Sep 2006 01:51:19 +0000 (01:51 -0000)]
2006-09-13  Chris Toshok  <toshok@ximian.com>

* Control.cs: don't always set is_recreating to false at the end
of RecreateHandle, since sometimes we're not done (and won't be
until WndProc handles the WM_DESTROY message).  Also, set
is_recreating to false in the WM_DESTROY handling code.  Part of
the fix for bug #79326.

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

17 years agoI missed this one, remove debugging message
Miguel de Icaza [Wed, 13 Sep 2006 20:56:28 +0000 (20:56 -0000)]
I missed this one, remove debugging message

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

17 years ago2006-09-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 13 Sep 2006 20:36:37 +0000 (20:36 -0000)]
2006-09-13  Miguel de Icaza  <miguel@novell.com>

* X11DesktopColors.cs: Start the droppage of debugging messages.

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

17 years ago2006-09-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 13 Sep 2006 20:35:54 +0000 (20:35 -0000)]
2006-09-13  Miguel de Icaza  <miguel@novell.com>

* FileDialog.cs: Store the configuration file in ~/.mono/mwf_config

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

17 years ago2006-09-13 Mart Roosmaa <roosmaa@gmail.com>
Miguel de Icaza [Wed, 13 Sep 2006 18:31:59 +0000 (18:31 -0000)]
2006-09-13  Mart Roosmaa <roosmaa@gmail.com>

      * SqliteDataReader.cs: Implemented GetBytes ().
      * SqliteCommand.cs: Automatically convert enums to Int32.

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

17 years ago* DynamicMethodTest.cs: Added ctor tests for name null check. Added
Gert Driesen [Wed, 13 Sep 2006 17:47:44 +0000 (17:47 -0000)]
* DynamicMethodTest.cs: Added ctor tests for name null check. Added
tests for bug #79367 (marked NotWorking).

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

17 years ago2006-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 13 Sep 2006 15:34:21 +0000 (15:34 -0000)]
2006-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* assembly.c: don't append .exe/.dll when the filename already contains
one of those extensions.

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

17 years ago2006-09-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 13 Sep 2006 14:29:24 +0000 (14:29 -0000)]
2006-09-14  Jonathan Pobst <monkey@jpobst.com>

        * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
        * SplitContainerTests.cs: Tests added [2.0].

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

17 years agoReworked test scripts for TARGET_JVM.
Boris Kirzner [Wed, 13 Sep 2006 13:44:19 +0000 (13:44 -0000)]
Reworked test scripts for TARGET_JVM.

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

17 years agoSmall fixes for TARGET_JVM test scripts.
Boris Kirzner [Wed, 13 Sep 2006 13:30:05 +0000 (13:30 -0000)]
Small fixes for TARGET_JVM test scripts.

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

17 years agoSmall fixes for TARGET_JVM test scripts.
Boris Kirzner [Wed, 13 Sep 2006 13:23:18 +0000 (13:23 -0000)]
Small fixes for TARGET_JVM test scripts.

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

17 years agoSmall fixes for TARGET_JVM test scripts.
Boris Kirzner [Wed, 13 Sep 2006 13:09:05 +0000 (13:09 -0000)]
Small fixes for TARGET_JVM test scripts.

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

17 years agoSmall fixes for TARGET_JVM.
Boris Kirzner [Wed, 13 Sep 2006 13:00:38 +0000 (13:00 -0000)]
Small fixes for TARGET_JVM.

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

17 years agoFix for bug 77592 (memory leak in OracleParameter)
Leszek 'skolima' Ciesielski [Wed, 13 Sep 2006 08:38:24 +0000 (08:38 -0000)]
Fix for bug 77592 (memory leak in OracleParameter)

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

17 years agoAdded missing 'using' statements.
Leszek 'skolima' Ciesielski [Wed, 13 Sep 2006 08:27:15 +0000 (08:27 -0000)]
Added missing 'using' statements.

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

17 years agoClientScriptManagerTest.cs: changes for not implemented stuff.
Yoni Klain [Wed, 13 Sep 2006 06:33:55 +0000 (06:33 -0000)]
ClientScriptManagerTest.cs: changes for not implemented stuff.

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

17 years ago2006-09-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 Sep 2006 05:46:22 +0000 (05:46 -0000)]
2006-09-13  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (load_aot_module_from_cache): Fix PPC build.

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

17 years agoput in the right namespace
Chris Toshok [Wed, 13 Sep 2006 01:54:21 +0000 (01:54 -0000)]
put in the right namespace

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

17 years agoAdded a document describing the new anonymous methods design.
Martin Baulig [Tue, 12 Sep 2006 16:38:26 +0000 (16:38 -0000)]
Added a document describing the new anonymous methods design.

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

17 years agoRename this file
Miguel de Icaza [Tue, 12 Sep 2006 16:37:52 +0000 (16:37 -0000)]
Rename this file

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

17 years agoUpdate
Miguel de Icaza [Tue, 12 Sep 2006 16:09:10 +0000 (16:09 -0000)]
Update

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

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 16:04:29 +0000 (16:04 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* mini.c (UNVERIFIED): Add a 'break-on-unverified' MONO_DEBUG option so this
macro does not have to be changed during debugging.

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

17 years agoUpdated.
Martin Baulig [Tue, 12 Sep 2006 15:58:46 +0000 (15:58 -0000)]
Updated.

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

17 years ago2006-09-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Sep 2006 15:56:40 +0000 (15:56 -0000)]
2006-09-12  Martin Baulig  <martin@ximian.com>

* class.c (mono_bounded_array_class_get): Also add `IList<object>'
to array interfaces.

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

17 years ago2006-09-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Sep 2006 15:55:48 +0000 (15:55 -0000)]
2006-09-11  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_image_build_metadata): Create the
MethodImpl's after emitting all types and methods, so we don't
need another fixup pass for them.

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

17 years agoooops.
Martin Baulig [Tue, 12 Sep 2006 15:54:51 +0000 (15:54 -0000)]
ooops.

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

17 years ago2006-09-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Sep 2006 15:52:06 +0000 (15:52 -0000)]
2006-09-12  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeManager.IsIList): Moved into convert.cs.

* convert.cs (Convert.Array_To_IList): Moved here and correctly
implement it; fixes #79345.

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

17 years ago2006-09-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 12 Sep 2006 13:07:29 +0000 (13:07 -0000)]
2006-09-12  Sebastien Pouliot  <sebastien@ximian.com>

* PublicKeyTest.cs: Add a test case where the key comes from a PKCS#12
file, i.e. where a private key is also present. PublicKey.Key never
returns the private part of the key. Fix bug #79375. Added similar
checks to existing test cases (where a Key is returned).

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

17 years ago2006-09-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 12 Sep 2006 13:06:45 +0000 (13:06 -0000)]
2006-09-12  Sebastien Pouliot  <sebastien@ximian.com>

* PublicKey.cs: Never return the private key in the Key property, even
if it was available when creating the public key.

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

17 years agoFix log file names for TARGET_JVM.
Boris Kirzner [Tue, 12 Sep 2006 13:05:58 +0000 (13:05 -0000)]
Fix log file names for TARGET_JVM.

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

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 13:03:59 +0000 (13:03 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* cpu-alpha.md inssel-alpha.brg mini-alpha.h mini-alpha.c exceptions-alpha.c tramp-alpha.c: More alpha port work from Sergey Tikhonov <tsv@solvo.ru>.

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

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 13:02:59 +0000 (13:02 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* alpha/alpha-codegen.h: More alpha updates from Sergey Tikhonov <tsv@solvo.ru>.

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

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 13:02:03 +0000 (13:02 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
IEEE_8087 for alpha as well.

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

17 years agofixed tests, removed NotWorking attributes
Igor Zelmanovich [Tue, 12 Sep 2006 12:52:43 +0000 (12:52 -0000)]
fixed tests, removed NotWorking attributes

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

17 years agoFix tests build for TARGET_JVM.
Boris Kirzner [Tue, 12 Sep 2006 12:46:54 +0000 (12:46 -0000)]
Fix tests build for TARGET_JVM.

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

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 12:44:32 +0000 (12:44 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* cpu-pentium.md: Rename this to cpu-x86.md for consistency with other platforms.

* Makefile.am mini-x86.c mini-codegen.c: Rename pentium_desc to x86_desc.

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

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 12:32:04 +0000 (12:32 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* declsec.c: Fix windows VC build.

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

17 years agocorrected rendering
Igor Zelmanovich [Tue, 12 Sep 2006 12:25:03 +0000 (12:25 -0000)]
corrected rendering

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

17 years ago2006-09-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 12 Sep 2006 12:01:03 +0000 (12:01 -0000)]
2006-09-12  Lluis Sanchez Gual  <lluis@novell.com>

* System.Xml.Serialization/XmlSchemaImporter.cs: Added null check.

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

17 years agoTue Sep 12 13:09:56 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 12 Sep 2006 11:10:42 +0000 (11:10 -0000)]
Tue Sep 12 13:09:56 CEST 2006 Paolo Molaro <lupus@ximian.com>

* arm/*: VFP floating point format code generation support.

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

17 years agoFixes for TARGET_JVM tests.
Boris Kirzner [Tue, 12 Sep 2006 11:07:39 +0000 (11:07 -0000)]
Fixes for TARGET_JVM tests.

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

17 years agoFixed bug 78898 in OracleLob (index was 1-based instead of 0) and added regression...
Leszek 'skolima' Ciesielski [Tue, 12 Sep 2006 10:31:25 +0000 (10:31 -0000)]
Fixed bug 78898 in OracleLob (index was 1-based instead of 0) and added regression test.

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

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 10:24:33 +0000 (10:24 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_get_ldelema_ins): Allow ldelema2d optimization if
MONO_ARCH_NO_EMULATE_MUL is defined.

* mini-ia64.h (MONO_ARCH_CALLEE_FREGS): Reserve f33 for use by instructions.

* mini-ia64.h: Define MONO_ARCH_NO_EMULATE_MUL.

* mini-ia64.c: Implement CEE_MUL based on gcc emitted code.

* mini-ia64.c (mono_arch_lowering_pass): Optimize store_membase_imm with offset==0.

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

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 10:05:29 +0000 (10:05 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* ia64/ia64-codegen.h: Add xmpy_l/u pseudo ops.

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

17 years agoFixes for TARGET_JVM tests.
Boris Kirzner [Tue, 12 Sep 2006 09:43:56 +0000 (09:43 -0000)]
Fixes for TARGET_JVM tests.

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

17 years agoadded Makefile
Vladimir Krasnov [Tue, 12 Sep 2006 09:40:13 +0000 (09:40 -0000)]
added Makefile

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

17 years ago2005-09-12 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Tue, 12 Sep 2006 09:37:19 +0000 (09:37 -0000)]
2005-09-12  Lluis Sanchez Gual  <lluis@ximian.com>

* MonoWSDL.cs, MonoWSDL2.cs: Return exit code 0 even if there
are warnings.

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

17 years ago2006-09-12 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 12 Sep 2006 09:36:06 +0000 (09:36 -0000)]
2006-09-12  Chris Toshok  <toshok@ximian.com>

* DataGrid.cs (get_ListManager): if the list_manager is null, try
to create it using SetDataSource.  Fixes bug #79151.

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

17 years agoFixes for TARGET_JVM tests.
Boris Kirzner [Tue, 12 Sep 2006 08:56:26 +0000 (08:56 -0000)]
Fixes for TARGET_JVM tests.

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

17 years agoadapted to run tests on net2.0 wersion of system.web
Vladimir Krasnov [Tue, 12 Sep 2006 08:19:52 +0000 (08:19 -0000)]
adapted to run tests on net2.0 wersion of system.web

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

17 years agooops
Chris Toshok [Tue, 12 Sep 2006 02:27:27 +0000 (02:27 -0000)]
oops

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

17 years ago * XEventQueue.cs: add a DispatchIdle property.
Chris Toshok [Tue, 12 Sep 2006 02:08:20 +0000 (02:08 -0000)]
* XEventQueue.cs: add a DispatchIdle property.

* XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
either the queue is null, or the queue has DispatchIdle set to
true.
(DoEvents): set queue.DispatchIdle to false around the
peek/translate/dispatch message loop in this method.  This keeps
Application.Doevents from emitting idle events.  Part of the fix
for #78823.

2006-09-11  Chris Toshok  <toshok@ximian.com>

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

17 years ago * DataGrid.cs (set_DataSource): make this work for both the
Chris Toshok [Tue, 12 Sep 2006 01:37:21 +0000 (01:37 -0000)]
* DataGrid.cs (set_DataSource): make this work for both the
winforms/datagrid test and ReportBuilder.  It seems as though when
we've created a ListManager (or maybe it's if we have a
BindingContext?), when we set the DataSource it clears the
DataMember to "".  otherwise we reuse the datamember.  Fixes bug
#79333.

2006-09-11  Chris Toshok  <toshok@ximian.com>

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

17 years ago * XplatUIX11.cs: deal with queue being null, which happens in all
Chris Toshok [Tue, 12 Sep 2006 01:29:33 +0000 (01:29 -0000)]
* XplatUIX11.cs: deal with queue being null, which happens in all
the Clipboard functions.  Fixes one of the two problems mentioned
in #78612.

2006-09-11  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 12 Sep 2006 01:11:55 +0000 (01:11 -0000)]
2006-09-11  Sebastien Pouliot  <sebastien@ximian.com>

* TestBitmap.cs: Fix the bitmap loading code to work in more cases.
* TestImageConverter.cs: Added a test case when value is null (should
return "(none)"). Uncommented and splitted all exception test cases
into individual tests. Still got one faulty test: ConvertTo_ByteArray.

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

17 years ago2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 12 Sep 2006 00:49:46 +0000 (00:49 -0000)]
2006-09-11  Sebastien Pouliot  <sebastien@ximian.com>

* ImageConverter.cs: Fixed ConvertTo to deal with null values (#79331)
and not to "return new NotSupportedException", throwing them is better

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

17 years ago2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 23:05:38 +0000 (23:05 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ViewTechnology.cs: update for 2.0. Patch by Ivan N. Zlatev.

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

17 years ago2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 23:02:45 +0000 (23:02 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SelectionTypes.cs: updates for 2.0. Patch by Ivan N. Zlatev.

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

17 years ago2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 23:01:01 +0000 (23:01 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ServiceContainer.cs: update for 2.0. Patch by Ivan N. Zlatev.

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

17 years ago2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 22:57:06 +0000 (22:57 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Test/System.ComponentModel/ContainerTest.cs:
* System.ComponentModel/Container.cs: 'unsite' the component when
removing it. Fixes bug #79255. Patch by Ivan N. Zlatev.

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

17 years ago2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 11 Sep 2006 22:56:49 +0000 (22:56 -0000)]
2006-09-11  Sebastien Pouliot  <sebastien@ximian.com>

* WebConnection.cs: Patch to remove the hack that was required for
using the older versions of the SSL/TLS classes. This hack is no more
required :-). Patch by Gonzalo Paniagua Javier.

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

17 years agoIn Mono.Security.Protocol.Tls:
Sebastien Pouliot [Mon, 11 Sep 2006 22:53:35 +0000 (22:53 -0000)]
In Mono.Security.Protocol.Tls:
2006-09-11  Sebastien Pouliot  <sebastien@ximian.com>

* CipherSuite.cs: Avoid creating a CryptoStream and a MemoryStream in
EncryptRecord (removing the need to do a keysetup each time). Add
helper methods to write inside byte buffers. Decrypt the data in
place (without allocating new memory) as the result will always be
smaller than the original. Avoid TlsStream in CreatePremasterSecret
method. All HMAC access are done with the Negotiating parameters.
* ClientRecordProtocol.cs: Set HandshakeState to None if we receive
a HelloRequest during an existing session. Remove overidden method
ProcessChangeCipherSpec. Skip memory allocation if possible.
* Context.cs: Add new SecurityParameters for current, negotiating,
read and write (actually only two different instance exists). Change
readSequenceNumber and writeSequenceNumber to ulong to match specs.
Remove all properties that are moved/replaced with SecurityParameters.
Added methods to Start and End a switch of the security parameters.
* RecordProtocol.cs: Add code to ProcessChangeCipherSpec (not abstract
anymore). Remove ReadShort and it's use. Deal with null alerts in
SendAlert method (internal error). Change code to deal with
SendChangeCipherSpec inside an existing (encrypted) session. Update
Cipher to use the correct one (mostly Read.Cipher or Negotiating.Cipher
for ProcessCipherSpecV2Buffer method).
* SecurityParameters.cs: New. Deal with all parameters that changes
between negotiations.
* ServerRecordProtocol.cs: Remove method ProcessChangeCipherSpec.
* SslCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
MAC keys to the Negotiating security parameters.
* SslClientStream.cs: Change calls from Cipher to Negotiating.Cipher.
* SslServerStream.cs: Change calls from Cipher to Negotiating.Cipher.
Remove debugging dead code (DateTime).
* SslStreamBase.cs: Change calls from Cipher to Current.Cipher. Reuse
existing memory buffer.
* TlsCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
MAC keys to the Negotiating security parameters.
* TlsClientSettings.cs: Comment code cause compiler warnings.
* TlsStream.cs: Avoid/reduce memory allocations when reading or
writing small integer values to the stream.

In Mono.Security.Protocol.Tls.Handshake.Client:
2006-09-11  Sebastien Pouliot  <sebastien@ximian.com>

* TlsClientFinished.cs: Use Write.Cipher instead of Cipher. Remove
usage of TlsStream in ProcessAsSsl3.
* TlsClientKeyExchange.cs: Use Negotiating.Cipher instead of Cipher.
Refactor to avoid code duplication between SSL3 and TLS.
* TlsServerCertificate.cs: Use Negotiating.Cipher instead of Cipher.
* TlsServerFinished.cs: Use Current.Cipher instead of Cipher. Use
Compare to test client and server digests equality. Remove usage of
TlsStream in ProcessAsSsl3.
* TlsServerHello.cs: Use Negotiating.Cipher instead of Cipher. Remove
usage of TlsStream to reduce memory allocations. Remove method
CompareSessionId and use the new base class Compare method instead.

In Mono.Security.Protocol.Tls.Handshake:
2006-09-11  Sebastien Pouliot  <sebastien@ximian.com>

* HandshakeMessage.cs: EncodeMessage is called very often so we avoid
many allocations by not creating a TlsStream and by not calling
WriteInt24 (IPAddress.HostToNetworkOrder and BitConverter.GetBytes).
We also cache the encoded result to avoid computing/allocating the
encoded message twice (in most cases) for the handshake. Added a
Compare static method to compare byte arrays (easier to step out when
debugging).

In Mono.Security.Protocol.Tls.Handshake.Server:
2006-09-11  Sebastien Pouliot  <sebastien@ximian.com>

* TlsClientCertificate.cs: Use Negotiating.Cipher instead of Cipher.
Fix reading the message length if it's zero (in that case it's not
present two times).
* TlsClientFinished.cs: Use Current.Cipher instead of Cipher. Use
Compare to test client and server digests equality.
* TlsClientHello.cs: Use Negotiating.Cipher instead of Cipher.
* TlsClientKeyExchange.cs: Use Negotiating.Cipher instead of Cipher.
* TlsServerFinished.cs: Use Current.Cipher instead of Cipher.
* TlsServerHello.cs: Use Negotiating.Cipher instead of Cipher.

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

17 years ago2006-09-11 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 11 Sep 2006 20:06:57 +0000 (20:06 -0000)]
2006-09-11  Chris Toshok  <toshok@ximian.com>

* MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
button on various spots (including outside the menu) works closer
to MS, and doesn't crash.  Fixes #79343.

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

17 years ago2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 11 Sep 2006 19:37:41 +0000 (19:37 -0000)]
2006-09-11  Sebastien Pouliot  <sebastien@ximian.com>

* README: Updated instruction for recent versions of wget.
* msslserver.cs: Don't require the client certificates (i.e. optional)

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

17 years ago2006-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Sep 2006 19:05:02 +0000 (19:05 -0000)]
2006-09-11  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.h mini-amd64.h mini-exceptions.c: Move the bsd specific MAP_ANON
stuff to mini-exceptions.c where it is used.

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

17 years ago2006-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Sep 2006 19:01:52 +0000 (19:01 -0000)]
2006-09-11  Zoltan Varga  <vargaz@gmail.com>

* mini-sparc.c (mono_arch_setup_jit_tls_data): Remove the duplicate altstack
setup code, the real one is in mini-exceptions.c.

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

17 years ago2006-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Sep 2006 18:58:45 +0000 (18:58 -0000)]
2006-09-11  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.h mini-amd64.c exceptions-amd64.c: Move all dependencies on the
layout of ucontext_t to helper functions in exceptions-amd64.c, as on x86. Add
some changes from the freebsd ports tree.

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

17 years ago2006-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Sep 2006 18:34:57 +0000 (18:34 -0000)]
2006-09-11  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.h exceptions-amd64.c: Fix the amd64 build. Get rid of the SC_
constants.

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

17 years ago2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 17:49:22 +0000 (17:49 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Process.cs: fix operation number to be 8. The other one was working
because the default is to wait for input on the file descriptor.

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

17 years ago2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 17:48:18 +0000 (17:48 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: update the SocketOperation enum.

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

17 years ago* ListViewTest.cs: Added test for bug #79076. Added tests for
Gert Driesen [Mon, 11 Sep 2006 17:27:08 +0000 (17:27 -0000)]
* ListViewTest.cs: Added test for bug #79076. Added tests for
sorting bug fixes. Added tests for CheckBoxes and MultiSelect (marked
NotWorking).
* ListViewCollectionsTest.cs: Added tests for SelectedItemCollection
and ListViewItemCollection fixes.
* ListView.cs: Do not initialize item_sorter in init. To match MS,
return null for ListViewItemSorter if View is SmallIcon or LargeIcon
and the internal comparer is set. When a new ListViewItemSorter is set,
sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
was specified. No further processing is necessary if SortOrder is set
to it's current value. If Sorting is modified to None, and View is
neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
(either custom or our internal ItemComparer) to null, on 1.0 profile
only set item_sorter to null if its our internal IComparer. If Sorting
is modified to Ascending or Descending, then use our internal IComparer
if none is set, and if the current IComparer is our internal one then:
on 2.0 profile always replace it with one for new Sorting, and on 1.0
profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
Enum.IsDefined to verify whether a valid View value is specified in
its setter. Automatically sort listview items when listview is
created. In Sort, do nothing if ListView is not yet created, or if
no item_sorter is set (no Sorting was set, Sorting was explicitly set
to None or ListViewItemSorter was set to null). Added Sort overload
taking a bool to indicate whether the ListView should be redrawn when
items are sorted (we use this in ListViewItemCollection to avoid double
redraws). Modified our internal IComparer to take the sort order into
account. In Add and AddRange methods of ListViewItemCollection, also
call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
view), but use overload with noredraw option to avoid double redraw.
On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
true when View is Tile, and do the same when attempting to set View to
Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
for selected/checked indices, as it involves overhead when sorting is
done while these collections are not used all that often. Instead
we'll build the indices on demand. Modified IList implementation of
CheckedIndexCollection to use public methods if object is int.
Modified CheckedListViewItemCollection to hide checked items if
ListView.CheckBoxes is false. Removed LAMESPEC remark in
ListViewItemCollection as the .NET SDK docs have been fixed. Modified
IList implementation in SelectedIndexCollection to use public methods
if object is int. Modified SelectedListViewItemCollection to hide
selected items if listview is not yet created.
* ListViewItem.cs: CheckedIndices list no longer needs to be
maintained separately (see ListView changes). Also clone font, fixes
test failure.

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

17 years ago2006-09-11 Mike Kestner <mkestner@novell.com>
Mike Kestner [Mon, 11 Sep 2006 17:25:18 +0000 (17:25 -0000)]
2006-09-11  Mike Kestner  <mkestner@novell.com>

* ComboBox.cs: if we are updating the contents of the currently
selected index, refresh the control or the textbox selection.
[Fixes #79066]

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

17 years agoFix for bug 79284, number handling now takes into consideration NLS from Oracle database.
Leszek 'skolima' Ciesielski [Mon, 11 Sep 2006 17:15:07 +0000 (17:15 -0000)]
Fix for bug 79284, number handling now takes into consideration NLS from Oracle database.

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

17 years ago2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 16:45:06 +0000 (16:45 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Test/System.ComponentModel/TypeDescriptorTests.cs: test for overriden
attributes.
* System.ComponentModel/TypeDescriptor.cs: don't ignore toplevel
attributes when they are overriden.

Patch by Ivan N. Zlatev that fixes bug #79256.

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

17 years ago2006-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Sep 2006 16:30:25 +0000 (16:30 -0000)]
2006-09-11  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_from_name_case): Fix regression introduced by the last
change.

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

17 years ago2006-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Sep 2006 16:14:16 +0000 (16:14 -0000)]
2006-09-11  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.h: Freebsd has MAP_ANON instead of MAP_ANONYMOUS.

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

17 years ago2006-09-11 Mike Kestner <mkestner@novell.com>
Mike Kestner [Mon, 11 Sep 2006 16:09:59 +0000 (16:09 -0000)]
2006-09-11  Mike Kestner  <mkestner@novell.com>

* ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
the 'specified' logic has been moved there.  This seems like a bug
in Control.cs, since our current SetBoundsCore completely ignores
the specified parameter.  Peter's commit seems to indicate that is
the way the MS control implementation works.  [Fixes #79325]

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

17 years ago2006-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Sep 2006 15:57:48 +0000 (15:57 -0000)]
2006-09-11  Zoltan Varga  <vargaz@gmail.com>

* jni.c: Apply a patch from the freebsd ports tree. Include the proper
include for alloca ().

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

17 years agojava project: exclude CodeDom dependant classes
Andrew Skiba [Mon, 11 Sep 2006 15:29:57 +0000 (15:29 -0000)]
java project: exclude CodeDom dependant classes

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

17 years ago2006-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Sep 2006 15:29:21 +0000 (15:29 -0000)]
2006-09-11  Zoltan Varga  <vargaz@gmail.com>

* mono.vcproj: Fix VC build.

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

17 years agofixed tests, removed NotWorking attributes
Igor Zelmanovich [Mon, 11 Sep 2006 15:08:32 +0000 (15:08 -0000)]
fixed tests, removed NotWorking attributes

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

17 years agoifdef TARGET_JVM
Andrew Skiba [Mon, 11 Sep 2006 15:07:26 +0000 (15:07 -0000)]
ifdef TARGET_JVM

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

17 years ago2006-09-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Sep 2006 15:03:53 +0000 (15:03 -0000)]
2006-09-11  Atsushi Enomoto  <atsushi@ximian.com>

* X509Certificate2.cs : implemented HasPrivateKey. Return null
  when the corresponding RSA or DSA has no private key.

* X509Certificate2Test.cs : added test for PrivateKey and
  HasPrivateKey for non-private-inclusive certificate.

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

17 years agoFixed bug 78509 in OracleParameter (trimming trailing spaces) and added regression...
Leszek 'skolima' Ciesielski [Mon, 11 Sep 2006 14:46:12 +0000 (14:46 -0000)]
Fixed bug 78509 in OracleParameter (trimming trailing spaces) and added regression test.
Fixed bug 78765 in OracleCommand (nulling the Connection/Transaction) and added regression test.

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

17 years agoAdded timestamp to log file names.
Boris Kirzner [Mon, 11 Sep 2006 14:38:40 +0000 (14:38 -0000)]
Added timestamp to log file names.

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

17 years agoAdded timestamp to log file names.
Boris Kirzner [Mon, 11 Sep 2006 14:37:30 +0000 (14:37 -0000)]
Added timestamp to log file names.

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

17 years agoAdded timestamp to log file names.
Boris Kirzner [Mon, 11 Sep 2006 13:52:44 +0000 (13:52 -0000)]
Added timestamp to log file names.

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

17 years agoTARGET_JVM: copy the web service test page locally for processing
Konstantin Triger [Mon, 11 Sep 2006 13:49:36 +0000 (13:49 -0000)]
TARGET_JVM: copy the web service test page locally for processing

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