Ivan Zlatev [Wed, 17 Sep 2008 21:00:00 +0000 (21:00 -0000)]
2008-09-17 Ivan N. Zlatev <contact@i-nz.net>
* XplatUIX11.cs, X11Structs.cs: For mapped windows SetTopMost should
ask the window manager to do the work instead of changing the property
directly.
[Fixes bug #423417]
svn path=/trunk/mcs/; revision=113351
Everaldo Canuto [Wed, 17 Sep 2008 19:36:24 +0000 (19:36 -0000)]
2008-09-17 Everaldo Canuto <ecanuto@novell.com>
* CurrencyManager.cs: Check for positon before call ChangeRecordState in
AddNew to fix some navigation for empty datasets. [Fixes #323053]
svn path=/trunk/mcs/; revision=113348
Sebastien Pouliot [Wed, 17 Sep 2008 19:10:48 +0000 (19:10 -0000)]
2008-09-17 Sebastien Pouliot <sebastien@ximian.com>
* SignedXmlTest.cs: Add test cases for HMACSHA[256|384|512] and
HMACRIPEMD160 which are supported in 2.0. Based on test case from
Fredrik Olsson on bug #425724.
svn path=/trunk/mcs/; revision=113345
Sebastien Pouliot [Wed, 17 Sep 2008 19:10:13 +0000 (19:10 -0000)]
2008-09-17 Sebastien Pouliot <sebastien@ximian.com>
* SignedXmlTest.cs: Add support for signing XML using HMACSHA256,
HMACSHA384, HMACSHA512 and HMACRIPEMD160.
[Fix bug #425724]
svn path=/trunk/mcs/; revision=113344
Everaldo Canuto [Wed, 17 Sep 2008 19:00:50 +0000 (19:00 -0000)]
2008-09-17 Everaldo Canuto <ecanuto@novell.com>
* FileDialog.cs: Remove OnPaint method on PopupButtonPanel and set
InternalBorderStyle to BorderStyle.Fixed3D. It is the best way to get 3d
border and fixes some drawing issues when resize form.
svn path=/trunk/mcs/; revision=113343
Sebastien Pouliot [Wed, 17 Sep 2008 18:23:59 +0000 (18:23 -0000)]
2008-09-17 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfigTest.cs: Add test cases for HMAC URI.
svn path=/trunk/mcs/; revision=113342
Everaldo Canuto [Wed, 17 Sep 2008 18:23:47 +0000 (18:23 -0000)]
2008-09-17 Everaldo Canuto <ecanuto@novell.com>
* FileDialog.cs: Lots of layout fixes to mimic Win32. [Fixes #408752]
* ThemeWin32Classic.cs: We don't need to reduce button size when it is
AcceptButton.
svn path=/trunk/mcs/; revision=113341
Sebastien Pouliot [Wed, 17 Sep 2008 18:23:02 +0000 (18:23 -0000)]
2008-09-17 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfig.cs: Add missing URI for HMAC algorithms.
svn path=/trunk/mcs/; revision=113340
Atsushi Eno [Wed, 17 Sep 2008 17:50:18 +0000 (17:50 -0000)]
2008-09-17 Atsushi Enomoto <atsushi@ximian.com>
* SubtreeXmlReader.cs : Close() should correctly skip empty element.
In Read(), make sure to move from Element state.
* XmlReader.cs : detailed error location in ReadSubtree().
* XmlReaderCommonTests.cs : another Subtree+EmptyElement case.
svn path=/trunk/mcs/; revision=113339
Marek Safar [Wed, 17 Sep 2008 17:05:01 +0000 (17:05 -0000)]
Add dlls folder.
svn path=/trunk/mcs/; revision=113330
Jeffrey Stedfast [Wed, 17 Sep 2008 16:55:24 +0000 (16:55 -0000)]
2008-09-17 Jeffrey Stedfast <fejj@novell.com>
* TcpClientChannel.cs (TcpClientChannel): Use the default
SinkProviders if the sinkProvider argument is null.
svn path=/trunk/mcs/; revision=113329
Veerapuram Varadhan [Wed, 17 Sep 2008 16:54:30 +0000 (16:54 -0000)]
Added test for DeriveParameters
svn path=/trunk/mcs/; revision=113328
Veerapuram Varadhan [Wed, 17 Sep 2008 16:53:59 +0000 (16:53 -0000)]
Escape/trim schema/procedure names before passing them as parameter
values in DeriveParameters.
svn path=/trunk/mcs/; revision=113327
Jeffrey Stedfast [Wed, 17 Sep 2008 15:39:00 +0000 (15:39 -0000)]
oops
svn path=/trunk/mcs/; revision=113322
Jeffrey Stedfast [Wed, 17 Sep 2008 15:38:27 +0000 (15:38 -0000)]
2008-09-17 Jeffrey Stedfast <fejj@novell.com>
* TcpChannel.cs (ParseTcpURL): TcpClientTransportSink needs the
host component, so extract that info into its own string as well.
svn path=/trunk/mcs/; revision=113321
Atsushi Eno [Wed, 17 Sep 2008 14:24:02 +0000 (14:24 -0000)]
2008-09-17 Atsushi Enomoto <atsushi@ximian.com>
* SubtreeXmlReader.cs : make sure to set eof for empty element after
Read().
* XmlReaderCommonTests.cs :
added test for NodeType for empty element.
svn path=/trunk/mcs/; revision=113312
Juraj Skripsky [Wed, 17 Sep 2008 13:48:19 +0000 (13:48 -0000)]
2008-09-17 Juraj Skripsky <js@hotfeet.ch>
* RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
svn path=/trunk/mcs/; revision=113310
Atsushi Eno [Wed, 17 Sep 2008 13:29:18 +0000 (13:29 -0000)]
2008-09-17 Atsushi Enomoto <atsushi@ximian.com>
* XmlSerializer.cs : in 2.0 profile it seems to create XmlReader
for stream and textreader, that skips whitespaces.
svn path=/trunk/mcs/; revision=113307
Ivan Zlatev [Wed, 17 Sep 2008 13:14:19 +0000 (13:14 -0000)]
2008-09-17 Ivan N. Zlatev <contact@i-nz.net>
* TextBoxBase.cs: For standard textbox the scrollbars are always
visible if Multiline is true.
[Fixes bug #426896]
svn path=/trunk/mcs/; revision=113306
Atsushi Eno [Wed, 17 Sep 2008 13:10:37 +0000 (13:10 -0000)]
2008-09-17 Atsushi Enomoto <atsushi@ximian.com>
* SubtreeXmlReader.cs : return appropriate property values for EOF.
svn path=/trunk/mcs/; revision=113305
Atsushi Eno [Wed, 17 Sep 2008 13:04:56 +0000 (13:04 -0000)]
2008-09-17 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs : ReadSubtree() is valid only on an element.
* XmlReaderCommonTests.cs :
added test for ReadSubtree() on non-element.
svn path=/trunk/mcs/; revision=113304
Everaldo Canuto [Wed, 17 Sep 2008 12:27:33 +0000 (12:27 -0000)]
2008-05-12 Everaldo Canuto <ecanuto@novell.com>
* DataGridTextBoxColumn.cs: Uncomment code accidentally commited in last
patch.
svn path=/trunk/mcs/; revision=113289
Everaldo Canuto [Wed, 17 Sep 2008 12:16:07 +0000 (12:16 -0000)]
2008-05-12 Everaldo Canuto <ecanuto@novell.com>
[Fixes most od DBNull and HeadersVisible problems]
* DataGrid.cs:
- ShowingColumnHeaders removed because we dont need it, ColumnHeadersVisible
returns the value that we need.
- Fixed FromPixelToColumn method that return zero for first column and for
row header cell, now it returns -1 for row header cell.
- Fixed HitTest to check row header cell in column header area, it now
returns HitTestType.None. [Fixes #322864]
- Fixed the calculation of visible columns in UpdateVisibleColumn, now it
checks for RowHeadersVisible and other things.
- If an exception occurs when setting CurrentCell and user type 'yes' in
message dialog, invalidade current and new cell and set setting_current_cell
to false to prevent future errors. [Partially fixes #323050]
* DataGridColumnStyle.cs: Don't call EndEdit after set property_descriptor
value (SetColumnValueAtRow), it must be done by grid to properly show
messages. [Fixes #323050]
* ThemeWin32Classic.cs: Lots of fixes in DataGridPaintColumnHeaders to
better draw column and row header. Also dont draw anything when column
headers is not visible.
svn path=/trunk/mcs/; revision=113286
Robert Jordan [Wed, 17 Sep 2008 11:40:33 +0000 (11:40 -0000)]
fix wording
svn path=/trunk/mono/; revision=113282
Robert Jordan [Wed, 17 Sep 2008 11:28:51 +0000 (11:28 -0000)]
2008-09-04 Robert Jordan <robertj@gmx.net>
* corlib_test.dll: Add S.R.S/SerializationTest2.cs
In System.Runtime.Serialization.Formatters.Binary:
2008-09-17 Robert Jordan <robertj@gmx.net>>
* ObjectReader.cs (ReadTypeMetadata): Replace the check for
ISerializable with something less `reflective'.
Fixes #421664.
In Test/System.Runtime.Serialization:
2008-09-17 Robert Jordan <robertj@gmx.net>
* SerializationTest2.cs: Add test case for bug #421664.
svn path=/trunk/mcs/; revision=113278
Robert Jordan [Wed, 17 Sep 2008 11:02:28 +0000 (11:02 -0000)]
2008-09-17 Robert Jordan <robertj@gmx.net>
* DelegateSerializationHolder.cs: Starting with .NET 2.0, delegates
of non-public methods are allowed to be serialized. Fixes #425345.
svn path=/trunk/mcs/; revision=113277
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
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
Atsushi Eno [Wed, 17 Sep 2008 09:37:25 +0000 (09:37 -0000)]
ongoing UrlRoutingModule implementation and tests.
svn path=/trunk/mcs/; revision=113265
Marek Safar [Wed, 17 Sep 2008 09:29:35 +0000 (09:29 -0000)]
New test.
svn path=/trunk/mcs/; revision=113264
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
Marek Safar [Wed, 17 Sep 2008 09:02:25 +0000 (09:02 -0000)]
Update
svn path=/trunk/mcs/; revision=113261
Marek Safar [Wed, 17 Sep 2008 08:55:42 +0000 (08:55 -0000)]
Update.
svn path=/trunk/mcs/; revision=113260
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Tue, 16 Sep 2008 21:23:56 +0000 (21:23 -0000)]
Add
svn path=/trunk/mono/; revision=113223
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
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
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
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
Miguel de Icaza [Tue, 16 Sep 2008 19:40:44 +0000 (19:40 -0000)]
Remove Ugly Hack
svn path=/trunk/mono/; revision=113213
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
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
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
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
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
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
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
Jonathan Pobst [Tue, 16 Sep 2008 17:59:41 +0000 (17:59 -0000)]
fix typo
svn path=/trunk/mcs/; revision=113200
Jonathan Pobst [Tue, 16 Sep 2008 17:50:53 +0000 (17:50 -0000)]
fix 1.1 build
svn path=/trunk/mcs/; revision=113197
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
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
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
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
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
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
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
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
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
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
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
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
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
Raja R Harinath [Tue, 16 Sep 2008 14:24:42 +0000 (14:24 -0000)]
update to changed test
svn path=/trunk/mcs/; revision=113160
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
Raja R Harinath [Tue, 16 Sep 2008 12:52:47 +0000 (12:52 -0000)]
style nits
svn path=/trunk/mcs/; revision=113147
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
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
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
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
Marek Habersack [Tue, 16 Sep 2008 06:20:33 +0000 (06:20 -0000)]
Fix the build
svn path=/trunk/mcs/; revision=113126
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Mon, 15 Sep 2008 21:19:00 +0000 (21:19 -0000)]
Add
svn path=/trunk/mono/; revision=113095
Miguel de Icaza [Mon, 15 Sep 2008 21:15:33 +0000 (21:15 -0000)]
Add non-symlink versions
svn path=/trunk/mono/; revision=113094
Miguel de Icaza [Mon, 15 Sep 2008 21:05:32 +0000 (21:05 -0000)]
Remove symlink versions
svn path=/trunk/mono/; revision=113093
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
Miguel de Icaza [Mon, 15 Sep 2008 21:04:08 +0000 (21:04 -0000)]
Remove po.m4
svn path=/trunk/mono/; revision=113091
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
Miguel de Icaza [Mon, 15 Sep 2008 19:54:13 +0000 (19:54 -0000)]
Add mkinstalldirs
svn path=/trunk/mono/; revision=113082
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
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