mono.git
15 years agoIn metadata:
Robert Jordan [Wed, 17 Sep 2008 10:52:47 +0000 (10:52 -0000)]
In metadata:
2008-09-17  Robert Jordan  <robertj@gmx.net>

* marshal.c (mono_marshal_get_ldflda_wrapper): Add support for
context bound objects. Fixes #415577.

Code is contributed under MIT/X11 license.

In tests:
2008-09-17  Robert Jordan  <robertj@gmx.net>

* Makefile.am: Add test for #415577.

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

15 years agoWed Sep 17 11:48:00 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 17 Sep 2008 09:49:24 +0000 (09:49 -0000)]
Wed Sep 17 11:48:00 CEST 2008 Paolo Molaro <lupus@ximian.com>

* Timer.cs: rewritten to use Threading.Timer so it doesn't create a
thread per timer and behaves better. Fixed also a few implementation
bugs.

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

15 years agoongoing UrlRoutingModule implementation and tests.
Atsushi Eno [Wed, 17 Sep 2008 09:37:25 +0000 (09:37 -0000)]
ongoing UrlRoutingModule implementation and tests.

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

15 years agoNew test.
Marek Safar [Wed, 17 Sep 2008 09:29:35 +0000 (09:29 -0000)]
New test.

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

15 years ago2008-09-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 17 Sep 2008 09:09:40 +0000 (09:09 -0000)]
2008-09-17  Marek Safar  <marek.safar@gmail.com>

A fix for bug #426385
* expression.cs (ImplicitlyTypedArrayCreation): Use full implicit
conversion for array elements.

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

15 years agoUpdate
Marek Safar [Wed, 17 Sep 2008 09:02:25 +0000 (09:02 -0000)]
Update

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

15 years agoUpdate.
Marek Safar [Wed, 17 Sep 2008 08:55:42 +0000 (08:55 -0000)]
Update.

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

15 years ago2008-09-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 17 Sep 2008 08:55:15 +0000 (08:55 -0000)]
2008-09-17  Marek Safar  <marek.safar@gmail.com>

* expression.cs, statement.cs, class.cs, cs-parser.jay: Fixed
void parsing conflicts.

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

15 years ago2008-09-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 17 Sep 2008 06:42:10 +0000 (06:42 -0000)]
2008-09-17  Marek Habersack  <mhabersack@novell.com>

* System.Web.Extensions.dll.sources: added
System.Web.Script.Serialization/Json.cs,
System.Web.Script.Serialization/JsonSerializer.cs and
System.Web.Script.Serialization/StringBuilderExtensions.cs

* System.Web.Script.Serialization/Json.cs: helper class to invoke
de/serializer.

* System.Web.Script.Serialization/JsonSerializer.cs: new
implementation of Json serializer that is free of issues found in
the old one (and faster + simpler).

* System.Web.Script.Serialization/JavaScriptSerializer.cs: staging
transition to the new Json (de)serializer. For now deserialization
is done using the old JSON code, serialization uses the new
serializer.

* System.Web.Script.Serialization/StringBuilderExtensions.cs: a
set of simple StringBuilder extension methods which check the size
of the builder against some value and throw an exception if the
value is exceeded.

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

15 years ago2008-09-16 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Wed, 17 Sep 2008 02:18:27 +0000 (02:18 -0000)]
2008-09-16  Daniel Morgan <monodanmorg@yahoo.com>

* System.Data.OracleClient/OracleBFile.cs: do not
throw a NotImplementedException in internal constructor

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

15 years ago2008-09-16 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Wed, 17 Sep 2008 00:35:36 +0000 (00:35 -0000)]
2008-09-16  Daniel Morgan <monodanmorg@yahoo.com>

* Test/TestOracleClient.cs: add tests
for TIMESTAMP Input, Output, InputOutput, Return
parameters and handle DBNull.Value too

* System.Data.OracleClient/OracleCommandBuilder.cs
* System.Data.OracleClient/OracleDataAdapter.cs: cleanup warnings
for default profile

* System.Data.OracleClient.Oci/OciDateTimeDescriptor.cs
* System.Data.OracleClient/OracleParameter.cs: fix parameters
for TIMESTAMP Input, Output, InputOutput, Return
parameters and handle DBNUll.Value via indicator = -1
However, TIMESTAMP WITH TIMEZONE and TIMESTAMP WITH LOCAL TIMESTAMP
not tested.

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

15 years agoQuick hack to build PresentationFramework
Miguel de Icaza [Wed, 17 Sep 2008 00:20:13 +0000 (00:20 -0000)]
Quick hack to build PresentationFramework

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

15 years ago2008-09-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 16 Sep 2008 22:08:48 +0000 (22:08 -0000)]
2008-09-16  Sebastien Pouliot  <sebastien@ximian.com>

* System.Net.dll.sources: Add new security-socket related files.

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

15 years ago2008-09-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 16 Sep 2008 22:08:37 +0000 (22:08 -0000)]
2008-09-16  Sebastien Pouliot  <sebastien@ximian.com>

* CrossDomainSocketPolicyManager.cs: New.
* ISocketPolicyManager.cs: New.
* SocketPolicyAsyncResult.cs: New.
* SocketPolicyCheckCallback.cs: New.
* SocketSecurityState.cs: New.

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 21:51:17 +0000 (21:51 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* TabControlPainter.cs: Hook tab painting into ShowFocusCues.

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 21:50:31 +0000 (21:50 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* TabControlPainter.cs: Hook tab painting into ShowFocusCues.

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 21:49:04 +0000 (21:49 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Hook ListViewItems into the ShowFocusCues
logic.

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 21:46:58 +0000 (21:46 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Don't start editing a node on right click, only
left click.

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

15 years agoAdd
Miguel de Icaza [Tue, 16 Sep 2008 21:23:56 +0000 (21:23 -0000)]
Add

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

15 years agoRemove ugly hack, remove file that is not needed, that should fix the build
Miguel de Icaza [Tue, 16 Sep 2008 21:18:00 +0000 (21:18 -0000)]
Remove ugly hack, remove file that is not needed, that should fix the build

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

15 years agoRe-enable ugly hack, and only use AC_CONFIG_SUBDIRS if we have gettext
Miguel de Icaza [Tue, 16 Sep 2008 21:07:11 +0000 (21:07 -0000)]
Re-enable ugly hack, and only use AC_CONFIG_SUBDIRS if we have gettext

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 21:04:42 +0000 (21:04 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* VisualStyleElement.cs: Fixed Header.Item.Normal value.

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 20:12:51 +0000 (20:12 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* NativeWindow.cs: Reenable the ThreadExceptionDialog I accidentally
disabled over a year ago.
* Form.cs: Wrap calling Load in a try/catch because it can happen
before the catch-all one in NativeWindow.
[Fixes bug #425414]

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

15 years agoRemove Ugly Hack
Miguel de Icaza [Tue, 16 Sep 2008 19:40:44 +0000 (19:40 -0000)]
Remove Ugly Hack

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 19:28:46 +0000 (19:28 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDownMenu.cs: Calculate the connected area better
to take into account when the drop down is not directly under the
owner item.
* ToolStripProfessionalRenderer.cs: Draw the whole unconnected area.

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

15 years ago* Makefile.am (EXTRA_DIST): Update.
Raja R Harinath [Tue, 16 Sep 2008 19:25:13 +0000 (19:25 -0000)]
* Makefile.am (EXTRA_DIST): Update.
* nls.m4, progtest.m4: Really add from Gettext 0.17.

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

15 years agoTue Sep 16 21:07:11 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Sep 2008 19:09:47 +0000 (19:09 -0000)]
Tue Sep 16 21:07:11 CEST 2008 Paolo Molaro <lupus@ximian.com>

* *.c, *.md, mini-ops.h: introduced relaxed_nop opcode for spin wait
implementation.

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

15 years agoTue Sep 16 21:02:59 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Sep 2008 19:05:54 +0000 (19:05 -0000)]
Tue Sep 16 21:02:59 CEST 2008 Paolo Molaro <lupus@ximian.com>

* Thread.cs: fixed SpinWait() implementation (bug #423582).

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

15 years agoTue Sep 16 21:03:58 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Sep 2008 19:05:47 +0000 (19:05 -0000)]
Tue Sep 16 21:03:58 CEST 2008 Paolo Molaro <lupus@ximian.com>

* icall-def.h, threads-types.h, threads.c: fixed SpinWait()
implementation (bug #423582).

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

15 years agoIf we fail to have gettext, do not do po/mcs, horribly workaround
Miguel de Icaza [Tue, 16 Sep 2008 18:53:57 +0000 (18:53 -0000)]
If we fail to have gettext, do not do po/mcs, horribly workaround

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

15 years ago2008-09-16 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 16 Sep 2008 18:43:04 +0000 (18:43 -0000)]
2008-09-16  Bill Holmes  <billholmes54@gmail.com>

* eglib.vcproj, genmdesc.vcproj, libgc.vcproj, libmono.vcproj,
  mono.vcproj, monoburg.vcproj:  Adding i386 preprocessor definition
  to the Win32 build targets.

Contributed under MIT/X11 license.

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

15 years agofix typo
Jonathan Pobst [Tue, 16 Sep 2008 17:59:41 +0000 (17:59 -0000)]
fix typo

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

15 years agofix 1.1 build
Jonathan Pobst [Tue, 16 Sep 2008 17:50:53 +0000 (17:50 -0000)]
fix 1.1 build

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

15 years ago2008-09-16 Mario Carrion <mcarrion@novell.com>
Mario Carrion [Tue, 16 Sep 2008 17:09:38 +0000 (17:09 -0000)]
2008-09-16  Mario Carrion <mcarrion@novell.com>

* ScrollBar.cs: New event added: UIAValueChanged, generated when
  LargeChange, SmallChange, Maximum or Minimum values are changed.
  [Fixes bug #426464]

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

15 years ago2008-09-16 Mario Carrion <mcarrion@novell.com>
Mario Carrion [Tue, 16 Sep 2008 17:05:53 +0000 (17:05 -0000)]
2008-09-16  Mario Carrion <mcarrion@novell.com>

* ErrorProvider.cs: Component enabled to support accessibility.
* Application.cs: Updated to Initialize UIA in ErrorProvider.
  [Fixes bug #426459]

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 16:23:43 +0000 (16:23 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Flag has_been_focused when SelectionStart is set
so we don't highlight on first focus.
[Fixes bug #360869]

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

15 years ago**Fixes bug#421336 - sanely handle various scenarios that lead to
Veerapuram Varadhan [Tue, 16 Sep 2008 16:13:22 +0000 (16:13 -0000)]
**Fixes bug#421336 - sanely handle various scenarios that lead to
exceptions while creating insert/delete and update commands.

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 16:07:46 +0000 (16:07 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Correctly calculate the height of the area we
need to invalidate when we have started scrolling and viewport_y
is used.  [Fixes bug #387608]

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 15:51:31 +0000 (15:51 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: When getting the SelectedText, don't add in
NewLine characters, as they are already contained in the lines.
[Fixes bug #321143]

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

15 years ago2008-09-16 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 16 Sep 2008 15:31:46 +0000 (15:31 -0000)]
2008-09-16  Bill Holmes  <billholmes54@gmail.com>

* src/gunicode.c : Fix a warning.

Contributed under MIT/X11 license.

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

15 years ago2008-09-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Sep 2008 15:25:35 +0000 (15:25 -0000)]
2008-09-16  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Replace the buggy Lines setter with one that
simply concats the lines and send it to the Text setter.
[Fixes issue #2 and #3 of 388115]

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

15 years ago2008-09-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Sep 2008 15:00:19 +0000 (15:00 -0000)]
2008-09-16  Zoltan Varga  <vargaz@gmail.com>

* bug-426309.2.il: New test.

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

15 years ago2008-09-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Sep 2008 14:59:28 +0000 (14:59 -0000)]
2008-09-16  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_object_get_virtual_method): Handle the case method->slot
is not set. Fixes #426309.

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

15 years agoTue Sep 16 16:39:16 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Sep 2008 14:40:32 +0000 (14:40 -0000)]
Tue Sep 16 16:39:16 CEST 2008 Paolo Molaro <lupus@ximian.com>

* trace.c: make tracing more useful and correct, with per-thread
id and indent info.

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

15 years ago2008-09-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 16 Sep 2008 14:28:58 +0000 (14:28 -0000)]
2008-09-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingTest.cs: New .ctor asertion for DataSourceNullValue default
value.

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

15 years ago2008-09-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 16 Sep 2008 14:28:34 +0000 (14:28 -0000)]
2008-09-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: The default value of DataSourceNullValue should be
Convert.DBNull actually. Also, the NullValue should only be used *if*
itself is not null, and use the null/Convert.DBNull value instead.

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

15 years agoupdate to changed test
Raja R Harinath [Tue, 16 Sep 2008 14:24:42 +0000 (14:24 -0000)]
update to changed test

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

15 years agoIn System.Data:
Raja R Harinath [Tue, 16 Sep 2008 12:53:08 +0000 (12:53 -0000)]
In System.Data:
2008-09-16  brandin claar  <brandin.claar@gmail.com>
    Raja R Harinath  <harinath@hurrynot.org>

* DataTable.cs (BinarySerialize): Handle empty DataTables.
(DeserializeRecords): Likewise.
(BinaryDeserializeTable): Allow DefaultValue to be set to any value.

In Test/System.Data:
2008-09-16  brandin claar  <brandin.claar@gmail.com>

* BinarySerializationTest.cs (TestDefaultValues): New.
(TestEmptyTable): New.

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

15 years agostyle nits
Raja R Harinath [Tue, 16 Sep 2008 12:52:47 +0000 (12:52 -0000)]
style nits

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

15 years agoCheck whether the connection is valid or not when Reset'ting the
Veerapuram Varadhan [Tue, 16 Sep 2008 12:22:24 +0000 (12:22 -0000)]
Check whether the connection is valid or not when Reset'ting the
connection.

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

15 years agoAdded one more null check and a small optimization
Marek Habersack [Tue, 16 Sep 2008 10:20:42 +0000 (10:20 -0000)]
Added one more null check and a small optimization

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

15 years ago2008-09-16 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Tue, 16 Sep 2008 10:11:41 +0000 (10:11 -0000)]
2008-09-16  Juraj Skripsky  <js@hotfeet.ch>

* HttpServerUtility.cs (UrlDecode, UrlEncode): Respect request/response
encoding. Fixes bug #426539.

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

15 years ago2008-09-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 16 Sep 2008 08:07:28 +0000 (08:07 -0000)]
2008-09-02  Marek Habersack  <mhabersack@novell.com>

        * web.config: removed System.Web.Extensions.dll from the assemblies
        (reverting r112073) - it would break all the ASP.NET applications
        which use System.Web.Extensions other than 3.5.0.0

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

15 years agoFix the build
Marek Habersack [Tue, 16 Sep 2008 06:20:33 +0000 (06:20 -0000)]
Fix the build

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

15 years ago2008-09-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 16 Sep 2008 05:30:40 +0000 (05:30 -0000)]
2008-09-16  Miguel de Icaza  <miguel@novell.com>

* IPv6Address.cs: On the 2.0 profile, avoid throwing/catching
exceptions inside TryParse.

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

15 years ago2008-09-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 16 Sep 2008 05:23:05 +0000 (05:23 -0000)]
2008-09-16  Miguel de Icaza  <miguel@novell.com>

* Uri.cs (TryCreate): Implement one of the TryCreate methods
without throwing exceptions.   Still two more to go, the hardest
ones.

Part of a fix for #424192.

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

15 years ago2008-09-14 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Tue, 16 Sep 2008 03:07:51 +0000 (03:07 -0000)]
2008-09-14  Daniel Morgan <monodanmorg@yahoo.com>

* System.Data.OracleClient/OracleParameter.cs: fixes
for OracleType.Blob parameters.  Also some case statements
not properly tabbed.

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

15 years ago* Mono.Mozilla/AsciiString.cs: Change marshalling to ansi - auto is no
Andreia Gaita [Tue, 16 Sep 2008 01:18:13 +0000 (01:18 -0000)]
* Mono.Mozilla/AsciiString.cs: Change marshalling to ansi - auto is no
  good on windows. Fixes #414146

2008-09-16  Andreia Gaita <avidigal@novell.com>

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

15 years ago2008-09-16 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 16 Sep 2008 00:12:55 +0000 (00:12 -0000)]
2008-09-16  Jb Evain  <jbevain@novell.com>

* gtest-278.cs, gtest-278-3-lib.cs, gtest-278-2-lib.cs: complete
test for forwarded types with more than only one type forwarded.

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

15 years ago2008-09-16 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 16 Sep 2008 00:10:20 +0000 (00:10 -0000)]
2008-09-16  Jb Evain  <jbevain@novell.com>

* class.c (mono_class_from_name): fix the exported type look up
when the type is defined in a referenced assembly.

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

15 years ago2008-09-16 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 15 Sep 2008 22:50:49 +0000 (22:50 -0000)]
2008-09-16  Jb Evain  <jbevain@novell.com>

* AssemblyBuilder.cs (AddTypeForwarder): correctly grow the
type_forwarders array, to make that work for more than one
type forwarder. Managed part of the fix for #422929.

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

15 years ago2008-09-16 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 15 Sep 2008 22:48:53 +0000 (22:48 -0000)]
2008-09-16  Jb Evain  <jbevain@novell.com>

* reflection.c (mono_image_fill_export_table_from_type_forwarders):
increment the next index counter on each iteration to make that work
for more than one type forwarder. Unmanaged part to fix #422929.

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

15 years ago2008-09-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 15 Sep 2008 22:20:38 +0000 (22:20 -0000)]
2008-09-15  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Add a method to convert a string newline to the
newline enum.
* TextBoxBase.cs: When the user hits enter, insert a native newline.
[Fixes part 1 of bug #388115]

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

15 years ago2008-09-15 Andy Hume <andyhume32@yahoo.co.uk>
Miguel de Icaza [Mon, 15 Sep 2008 22:09:52 +0000 (22:09 -0000)]
2008-09-15  Andy Hume  <andyhume32@yahoo.co.uk>

* DateTimeOffset.cs: DateTimeOffset currently has no
deserialization constructor, thus deserialization
fails ("SerializationException: The constructor to deserialize an
object of type System.DateTimeOffset was not found.")

Patch attached, implements GetObjectData and that constructor.
Also includes tests, which include round-tripping to/from MSFT.

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

15 years ago2008-09-15 Mario Carrion <mcarrion@novell.com>
Mario Carrion [Mon, 15 Sep 2008 21:20:22 +0000 (21:20 -0000)]
2008-09-15  Mario Carrion <mcarrion@novell.com>

        * ToolTip.cs: UnPopup event set to internal to match public API.

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

15 years agoAdd
Miguel de Icaza [Mon, 15 Sep 2008 21:19:00 +0000 (21:19 -0000)]
Add

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

15 years agoAdd non-symlink versions
Miguel de Icaza [Mon, 15 Sep 2008 21:15:33 +0000 (21:15 -0000)]
Add non-symlink versions

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

15 years agoRemove symlink versions
Miguel de Icaza [Mon, 15 Sep 2008 21:05:32 +0000 (21:05 -0000)]
Remove symlink versions

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

15 years agoAdd in non-symlink form
Miguel de Icaza [Mon, 15 Sep 2008 21:04:28 +0000 (21:04 -0000)]
Add in non-symlink form

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

15 years agoRemove po.m4
Miguel de Icaza [Mon, 15 Sep 2008 21:04:08 +0000 (21:04 -0000)]
Remove po.m4

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

15 years ago2008-09-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 15 Sep 2008 20:41:14 +0000 (20:41 -0000)]
2008-09-15  Miguel de Icaza  <miguel@novell.com>

* namespace.cs: Do not report CS0246 (name

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

15 years agoAdd mkinstalldirs
Miguel de Icaza [Mon, 15 Sep 2008 19:54:13 +0000 (19:54 -0000)]
Add mkinstalldirs

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

15 years ago2008-09-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 15 Sep 2008 19:53:52 +0000 (19:53 -0000)]
2008-09-15  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: If the user is using Ctrl-Tab to move focus, we
have to remove the Ctrl in order for the focus moving code to kick in.
[Fixes bug #426170]

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

15 years ago2008-09-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 15 Sep 2008 19:19:28 +0000 (19:19 -0000)]
2008-09-15  Jonathan Pobst  <monkey@jpobst.com>

* CheckedListBox.cs: Return the real item index from Add.  It may not be
the last item if the list is sorted.  The user can change the NewValue in
the ItemCheck event, we need to use that value if so.
* ListBox.cs: Return the real item index from a sorted Add.
[Fixes bug #426166]

2008-09-15  Jonathan Pobst  <monkey@jpobst.com>

* CheckedListBoxTest.cs, ListBoxTest.cs: Add some tests from Andy
Hume for bug #426166.

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

15 years ago2008-09-15 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 15 Sep 2008 17:03:22 +0000 (17:03 -0000)]
2008-09-15  Ivan N. Zlatev  <contact@i-nz.net>

* MimeIcon.cs: Add null checks in the GnomeHandler, because it might
happen that the icons from the theme is missing or the particular size
unavailable.
[Fixes bug #424981]

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

15 years ago2008-09-15 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 15 Sep 2008 14:41:39 +0000 (14:41 -0000)]
2008-09-15  Jb Evain  <jbevain@novell.com>

* SecuritySafeCriticalAttribute.cs: Include SecuritySafeCritical in
the net_2_0 profile, as a recent sp includes it.

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

15 years ago2008-09-15 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 15 Sep 2008 13:47:48 +0000 (13:47 -0000)]
2008-09-15  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Signatures/SignatureReader.cs: fix regression
in reading custom mods.

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

15 years ago2008-09-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 15 Sep 2008 13:08:20 +0000 (13:08 -0000)]
2008-09-15  Marek Safar  <marek.safar@gmail.com>

A fix for bug #425601
* driver.cs, typemanager.cs, namespace.cs: Automatically reference
System.Core only when there is no custom ExtensionAttribute
implementation.

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

15 years ago2008-09-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 15 Sep 2008 13:07:49 +0000 (13:07 -0000)]
2008-09-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: When assigning null or DBNull depending on value/ref type,
use IsValueType instead to get the precise desired value.
Fixes #424276.

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

15 years ago2008-09-15 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 15 Sep 2008 10:57:46 +0000 (10:57 -0000)]
2008-09-15  Mark Probst  <mark.probst@gmail.com>

* mini-ppc.c (mono_arch_emit_call): Convert floats to R4 when
doing a method call and the argument is an R4.

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

15 years ago2008-09-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 15 Sep 2008 09:54:30 +0000 (09:54 -0000)]
2008-09-15  Marek Habersack  <mhabersack@novell.com>

* SessionStateModule.cs: correctly let the handler know if an item
is new when calling SetAndReleaseItemExclusive. Fixes bug #424797
If handler's GetItem doesn't initialize storeLockId to a non-null
value, initialize it to 0. Fixes bug #424797

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

15 years ago2008-09-15 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 15 Sep 2008 06:59:58 +0000 (06:59 -0000)]
2008-09-15  Mark Probst  <mark.probst@gmail.com>

* object-internals.h: enum ComInterfaceType in
MonoInterfaceTypeAttribute is guint32, not guint16.

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

15 years ago* configure.in (AC_CONFIG_FILES): Put po/mcs/Makefile.in in its
Raja R Harinath [Mon, 15 Sep 2008 04:35:16 +0000 (04:35 -0000)]
* configure.in (AC_CONFIG_FILES): Put po/mcs/Makefile.in in its
own stanza.
(AC_OUTPUT): Don't list po/mcs/Makefile, it's automatically
handled by AM_PO_SUBDIRS.

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

15 years ago2008-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Sep 2008 03:51:41 +0000 (03:51 -0000)]
2008-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* JsonObject.cs, JsonValue.cs : SL2b2 updates.

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

15 years ago* ConfigXmlDocument.cs (Load): Fix build break in 1.1 profile.
Raja R Harinath [Mon, 15 Sep 2008 02:01:27 +0000 (02:01 -0000)]
* ConfigXmlDocument.cs (Load): Fix build break in 1.1 profile.
Open code the 'using' with try/finally/Close.

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

15 years agoSmall documentation
Miguel de Icaza [Sun, 14 Sep 2008 22:33:16 +0000 (22:33 -0000)]
Small documentation

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

15 years agoUpdate translations
Miguel de Icaza [Sun, 14 Sep 2008 22:27:37 +0000 (22:27 -0000)]
Update translations

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

15 years agoImprove for internationalization
Miguel de Icaza [Sun, 14 Sep 2008 22:25:30 +0000 (22:25 -0000)]
Improve for internationalization

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

15 years agoImprove for internationalization
Miguel de Icaza [Sun, 14 Sep 2008 22:14:23 +0000 (22:14 -0000)]
Improve for internationalization

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

15 years ago2007-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 14 Sep 2008 21:55:20 +0000 (21:55 -0000)]
2007-09-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* WinSerialStream.cs: Fix the signature of ClearCommError.
Fixes #348751.

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

15 years ago2008-09-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 14 Sep 2008 21:46:58 +0000 (21:46 -0000)]
2008-09-14  Miguel de Icaza  <miguel@novell.com>

* Added some infrastructure to start the translation of the
compiler error messages.

Currently the compiler does not yet use the infrastructure,
that needs a bit of work, but the PO infrastructure is in place.

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

15 years agoFriendlier internationalization strings
Miguel de Icaza [Sun, 14 Sep 2008 20:56:03 +0000 (20:56 -0000)]
Friendlier internationalization strings

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

15 years agoUpdate
Miguel de Icaza [Sun, 14 Sep 2008 19:06:06 +0000 (19:06 -0000)]
Update

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

15 years ago2008-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 14 Sep 2008 17:39:56 +0000 (17:39 -0000)]
2008-09-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs: Throw ArgumentException if NewLine gets an empty
string value.
Fixes #339012.

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

15 years ago* ConfigurationManagerTest.cs: Added test for bug #323622.
Gert Driesen [Sun, 14 Sep 2008 16:57:52 +0000 (16:57 -0000)]
* ConfigurationManagerTest.cs: Added test for bug #323622.

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

15 years ago2008-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 14 Sep 2008 16:53:01 +0000 (16:53 -0000)]
2008-09-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* serial.c: When writing bytes and polling, take into account negative
values to indicate infinite timeout. Patch by Leszek Ciesielski.
Fixes #399245.

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

15 years ago* System_test.dll.sources: Added ConfigXmlDocumentTest.cs.
Gert Driesen [Sun, 14 Sep 2008 16:39:17 +0000 (16:39 -0000)]
* System_test.dll.sources: Added ConfigXmlDocumentTest.cs.
* ConfigXmlDocumentTest.cs: Added test for Load (String).
* ConfigXmlDocument.cs: Dispose XmlTextReader in Load (String).

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

15 years agoMoved ProviderCollectionTest.cs from System assembly to System.Configuration.
Gert Driesen [Sun, 14 Sep 2008 12:17:43 +0000 (12:17 -0000)]
Moved ProviderCollectionTest.cs from System assembly to System.Configuration.

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

15 years ago2008-09-14 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Sun, 14 Sep 2008 04:06:00 +0000 (04:06 -0000)]
2008-09-14  Daniel Morgan <monodanmorg@yahoo.com>

* Test/TestOracleClient.cs: add tests for parameters
of oracle type CLOB, add tests for setting oracle type
directly or inferred via the value, and
clean up compile warnings

* System.Data.OracleClient/OracleParameter.cs: fix
for handling parameters of oracle type CLOB for
Input, Output, and Return.  InputOutput is not supported.
And handle CLOB parameters that are DBNull.Value or
their value length is zero.

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

15 years ago2008-09-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 14 Sep 2008 01:46:53 +0000 (01:46 -0000)]
2008-09-14  Zoltan Varga  <vargaz@gmail.com>

* gen-interp.cs: New file to generate the all variants of the character
checking opcodes in RxInterpreter.cs.

* RxInterpreter.cs: Replace hand written code with code generated by
gen-interp.cs.

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