Marek Sieradzki [Fri, 6 Oct 2006 09:20:17 +0000 (09:20 -0000)]
2006-10-06 Marek Sieradzki <marek.sieradzki@gmail.com>
* TaskLoggingHelperTest.cs:
* CommandLineBuilderTest.cs: Added [Ignore].
svn path=/trunk/mcs/; revision=66338
Marek Sieradzki [Fri, 6 Oct 2006 09:18:39 +0000 (09:18 -0000)]
2006-10-06 Marek Sieradzki <marek.sieradzki@gmail.com>
* TaskLoggingHelper.cs: Made LogErrorFromException () show stack trace
by default.
svn path=/trunk/mcs/; revision=66337
Marek Sieradzki [Fri, 6 Oct 2006 09:15:27 +0000 (09:15 -0000)]
2006-10-06 Marek Sieradzki <marek.sieradzki@gmail.com>
* MSBuild.cs: Added error logging.
* Copy.cs: Fixed runtime cast exception.
svn path=/trunk/mcs/; revision=66336
Marek Sieradzki [Fri, 6 Oct 2006 09:13:14 +0000 (09:13 -0000)]
2006-10-06 Marek Sieradzki <marek.sieradzki@gmail.com>
* Target.cs: Reformatted.
* TaskEngine.cs: Removed redundant code.
* BuildPropertyGroup.cs: Fixed Clear () and AddNewProperty ().
* Engine.cs: Made BuildProjectFile () load project file if it's not
loaded yet.
svn path=/trunk/mcs/; revision=66335
Raja R Harinath [Fri, 6 Oct 2006 08:57:12 +0000 (08:57 -0000)]
Fix #79584
* mcs/class.cs (DefineTypeBuilder): Check circular dependencies before
setting the parent of the TypeBuilder.
(CheckRecursiveDefinition): Don't use 'BaseType', since
it may not be valid until after DefineTypeBuilder. Use
'base_type' instead.
* errors/cs0146-5.cs: New test from #79584.
svn path=/trunk/mcs/; revision=66334
Gonzalo Paniagua Javier [Fri, 6 Oct 2006 05:42:14 +0000 (05:42 -0000)]
2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Image.cs: write 'alt' after 'src' so that the HyperLink test do not
fail.
svn path=/trunk/mcs/; revision=66333
Gonzalo Paniagua Javier [Fri, 6 Oct 2006 05:40:59 +0000 (05:40 -0000)]
2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CssStyleCollection.cs: 'style' can be modified on our back, so build
the style table every time instead of keeping one that is not in sync.
Fixes bug #79587.
svn path=/trunk/mcs/; revision=66332
Chris Toshok [Fri, 6 Oct 2006 02:28:20 +0000 (02:28 -0000)]
* DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
beginning to think that most datagrid column types don't need this
method. Fixes bug #79392.
2006-10-05 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66328
Chris Toshok [Fri, 6 Oct 2006 02:25:44 +0000 (02:25 -0000)]
* DataGrid.cs: move back to a more lazy scheme for creating the
CurrencyManager, so we aren't updating it every time you set
either DataSource or DataMember. Also, don't call
RecreateDataGridRows if the currency manager hasn't changed.
2006-10-05 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66327
Chris Toshok [Fri, 6 Oct 2006 02:21:37 +0000 (02:21 -0000)]
2006-10-05 Chris Toshok <toshok@ximian.com>
* ComboBox.cs: by the time the OnSelectionChangeCommitted event is
emitted, SelectedIndex should already be updated. Fixes bug
#78929.
svn path=/trunk/mcs/; revision=66326
Gonzalo Paniagua Javier [Fri, 6 Oct 2006 00:41:57 +0000 (00:41 -0000)]
2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AssemblyInfo.cs: use the ecma key for this assembly. Patch by Patrick
Earl.
svn path=/trunk/mcs/; revision=66324
Miguel de Icaza [Thu, 5 Oct 2006 23:23:31 +0000 (23:23 -0000)]
2006-10-05 Miguel de Icaza <miguel@novell.com>
* src/gunicode.c: Some work in progress to implement g_convert
(which is needed by g_locale_to_utf8).
svn path=/trunk/mono/; revision=66323
Marek Sieradzki [Thu, 5 Oct 2006 21:23:50 +0000 (21:23 -0000)]
2006-09-05 Marek Sieradzki <marek.sieradzki@gmail.com>
* xbuild/Microsoft.CSharp.targets: Make $(OutputPath) directory before
compiling and put output in this directory.
svn path=/trunk/mcs/; revision=66320
Gonzalo Paniagua Javier [Thu, 5 Oct 2006 18:08:33 +0000 (18:08 -0000)]
2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HyperLink.cs: don't render the img tag 'by hand' but use an Image
instead, which takes care of the 0/0px case. Also set the ToolTip
property. Fixes bug #79585.
svn path=/trunk/mcs/; revision=66299
Raja R Harinath [Thu, 5 Oct 2006 16:49:26 +0000 (16:49 -0000)]
remove obsoleted files
svn path=/trunk/mcs/; revision=66297
Igor Zelmanovich [Thu, 5 Oct 2006 16:11:39 +0000 (16:11 -0000)]
2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
* DetailsView.cs: optimization for previous patch
svn path=/trunk/mcs/; revision=66296
Zoltan Varga [Thu, 5 Oct 2006 16:08:10 +0000 (16:08 -0000)]
2006-10-05 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_method_signature): Fix a use of MONO_TABLE_METHOD missed earlier.
* metadata.c (mono_metadata_get_param_attrs): Ditto.
svn path=/trunk/mono/; revision=66295
Igor Zelmanovich [Thu, 5 Oct 2006 15:03:55 +0000 (15:03 -0000)]
svn path=/trunk/mcs/; revision=66294
Igor Zelmanovich [Thu, 5 Oct 2006 15:02:19 +0000 (15:02 -0000)]
svn path=/trunk/mcs/; revision=66293
Zoltan Varga [Thu, 5 Oct 2006 14:54:02 +0000 (14:54 -0000)]
2006-10-05 Zoltan Varga <vargaz@gmail.com>
* dump.c main.c: Allow dumping the *Ptr tables.
svn path=/trunk/mono/; revision=66292
Zoltan Varga [Thu, 5 Oct 2006 14:53:21 +0000 (14:53 -0000)]
2006-10-05 Zoltan Varga <vargaz@gmail.com>
* row-indexes.h: Add definitions for *Ptr tables.
* metadata-internals.h (MonoImage): Add an 'uncompressed_metadata' flag.
* metadata.c (mono_metadata_translate_token_index): New helper function to
translate table indexes used in uncompressed metadata.
(mono_metadata_decode_table_row): Ditto.
(mono_metadata_decode_table_row_col): Ditto.
* metadata.c: Add table schema for *Ptr tables.
* class.c loader.c: Use the new helper function to access the affected metadata
tables.
* image.c (load_metadata_ptrs): Allow assemblies with uncompressed metadata. Fixes
#38532.
svn path=/trunk/mono/; revision=66291
Jonathan Pobst [Thu, 5 Oct 2006 14:31:16 +0000 (14:31 -0000)]
2006-10-05 Jonathan Pobst <monkey@jpobst.com>
* ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
ToolStripTextBox.cs: Initial commit.
* ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
svn path=/trunk/mcs/; revision=66289
Igor Zelmanovich [Thu, 5 Oct 2006 13:27:33 +0000 (13:27 -0000)]
2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
* FormView.cs:
implemented PrepareControlHierarchy()
styles are applied correct
svn path=/trunk/mcs/; revision=66285
Miguel de Icaza [Thu, 5 Oct 2006 12:58:29 +0000 (12:58 -0000)]
Provide some help for a FAQ
svn path=/trunk/mcs/; revision=66284
Igor Zelmanovich [Thu, 5 Oct 2006 12:44:39 +0000 (12:44 -0000)]
2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
* GridView.cs:
* DataControlButton.cs:
* DataControlField.cs:
implemented PrepareControlHierarchy()
styles are applied correct
command buttons inherit ForeColor
svn path=/trunk/mcs/; revision=66283
Miguel de Icaza [Thu, 5 Oct 2006 12:33:30 +0000 (12:33 -0000)]
Keep the environment variables sorted
svn path=/trunk/mono/; revision=66282
Igor Zelmanovich [Thu, 5 Oct 2006 10:04:35 +0000 (10:04 -0000)]
2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
* WebControl.cs: fixed: CreateControlStyle()
svn path=/trunk/mcs/; revision=66280
Zoltan Varga [Thu, 5 Oct 2006 09:07:31 +0000 (09:07 -0000)]
2006-10-05 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (emit_load_volatile_arguments): New function to handle arguments of
tail calls as on other platforms.
* mini.c (mono_method_to_ir): Fix a few tailcall problems. Fixes #79557.
* iltests.il: Add a few tailcall tests.
svn path=/trunk/mono/; revision=66279
Andrew Skiba [Thu, 5 Oct 2006 08:39:11 +0000 (08:39 -0000)]
remove IEnumerable private implementation to match .Net
svn path=/trunk/mcs/; revision=66278
Jackson Harper [Thu, 5 Oct 2006 04:32:16 +0000 (04:32 -0000)]
* TabControl.cs: We need to invalidate the tab control area when
new ones are added (duh).
svn path=/trunk/mcs/; revision=66276
Gonzalo Paniagua Javier [Wed, 4 Oct 2006 22:02:15 +0000 (22:02 -0000)]
2006-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* InotifyWatcher.cs: workaround for a weird case. Someone is watching
/dev with recursion enabled and the inotify file descriptor shows up
as a directory that fails to open. Already reported to Robert Love.
svn path=/trunk/mcs/; revision=66273
Gonzalo Paniagua Javier [Wed, 4 Oct 2006 21:37:34 +0000 (21:37 -0000)]
2006-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWebRequest.cs: internally allow buffer if it's not a known
GET-only method instead of enabling that only for POST/PUT. Fixes bug
#79595.
svn path=/trunk/mcs/; revision=66272
Martin Baulig [Wed, 4 Oct 2006 20:56:29 +0000 (20:56 -0000)]
Delete executable bit.
svn path=/trunk/mcs/; revision=66271
Martin Baulig [Wed, 4 Oct 2006 20:55:11 +0000 (20:55 -0000)]
Renamed the tests.
svn path=/trunk/mcs/; revision=66270
Martin Baulig [Wed, 4 Oct 2006 20:51:26 +0000 (20:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=66269
Martin Baulig [Wed, 4 Oct 2006 20:51:21 +0000 (20:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=66268
Martin Baulig [Wed, 4 Oct 2006 20:51:21 +0000 (20:51 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66268
Martin Baulig [Wed, 4 Oct 2006 20:51:17 +0000 (20:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=66267
Martin Baulig [Wed, 4 Oct 2006 20:51:17 +0000 (20:51 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66267
Martin Baulig [Wed, 4 Oct 2006 20:51:14 +0000 (20:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=66266
Martin Baulig [Wed, 4 Oct 2006 20:51:14 +0000 (20:51 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66266
Martin Baulig [Wed, 4 Oct 2006 20:51:10 +0000 (20:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=66265
Martin Baulig [Wed, 4 Oct 2006 20:51:10 +0000 (20:51 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66265
Martin Baulig [Wed, 4 Oct 2006 20:51:06 +0000 (20:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=66264
Martin Baulig [Wed, 4 Oct 2006 20:51:06 +0000 (20:51 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66264
Martin Baulig [Wed, 4 Oct 2006 20:51:03 +0000 (20:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=66263
Martin Baulig [Wed, 4 Oct 2006 20:51:03 +0000 (20:51 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66263
Martin Baulig [Wed, 4 Oct 2006 20:50:59 +0000 (20:50 -0000)]
New test.
svn path=/trunk/mcs/; revision=66262
Martin Baulig [Wed, 4 Oct 2006 20:50:59 +0000 (20:50 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66262
Martin Baulig [Wed, 4 Oct 2006 20:50:55 +0000 (20:50 -0000)]
New test.
svn path=/trunk/mcs/; revision=66261
Martin Baulig [Wed, 4 Oct 2006 20:50:55 +0000 (20:50 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66261
Martin Baulig [Wed, 4 Oct 2006 20:49:45 +0000 (20:49 -0000)]
New test.
svn path=/trunk/mcs/; revision=66260
Martin Baulig [Wed, 4 Oct 2006 20:49:45 +0000 (20:49 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66260
Martin Baulig [Wed, 4 Oct 2006 20:49:32 +0000 (20:49 -0000)]
New test.
svn path=/trunk/mcs/; revision=66259
Martin Baulig [Wed, 4 Oct 2006 20:49:32 +0000 (20:49 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66259
Martin Baulig [Wed, 4 Oct 2006 20:49:18 +0000 (20:49 -0000)]
New test.
svn path=/trunk/mcs/; revision=66258
Martin Baulig [Wed, 4 Oct 2006 20:49:18 +0000 (20:49 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66258
Martin Baulig [Wed, 4 Oct 2006 20:48:36 +0000 (20:48 -0000)]
Updated.
svn path=/branches/martin/anonymous-methods/work/; revision=66257
Martin Baulig [Wed, 4 Oct 2006 20:47:55 +0000 (20:47 -0000)]
New test.
svn path=/trunk/mcs/; revision=66256
Martin Baulig [Wed, 4 Oct 2006 20:47:55 +0000 (20:47 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66256
Martin Baulig [Wed, 4 Oct 2006 20:47:24 +0000 (20:47 -0000)]
New test.
svn path=/trunk/mcs/; revision=66255
Martin Baulig [Wed, 4 Oct 2006 20:47:24 +0000 (20:47 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66255
Martin Baulig [Wed, 4 Oct 2006 20:46:49 +0000 (20:46 -0000)]
New test.
svn path=/trunk/mcs/; revision=66254
Martin Baulig [Wed, 4 Oct 2006 20:46:49 +0000 (20:46 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66254
Martin Baulig [Wed, 4 Oct 2006 20:46:15 +0000 (20:46 -0000)]
New test.
svn path=/trunk/mcs/; revision=66253
Martin Baulig [Wed, 4 Oct 2006 20:46:15 +0000 (20:46 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66253
Martin Baulig [Wed, 4 Oct 2006 20:45:54 +0000 (20:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=66252
Martin Baulig [Wed, 4 Oct 2006 20:45:54 +0000 (20:45 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66252
Martin Baulig [Wed, 4 Oct 2006 20:45:35 +0000 (20:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=66251
Martin Baulig [Wed, 4 Oct 2006 20:45:35 +0000 (20:45 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66251
Martin Baulig [Wed, 4 Oct 2006 20:45:10 +0000 (20:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=66250
Martin Baulig [Wed, 4 Oct 2006 20:45:10 +0000 (20:45 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66250
Martin Baulig [Wed, 4 Oct 2006 20:44:45 +0000 (20:44 -0000)]
New test.
svn path=/trunk/mcs/; revision=66249
Martin Baulig [Wed, 4 Oct 2006 20:44:45 +0000 (20:44 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66249
Martin Baulig [Wed, 4 Oct 2006 20:43:55 +0000 (20:43 -0000)]
New test.
svn path=/trunk/mcs/; revision=66248
Martin Baulig [Wed, 4 Oct 2006 20:43:55 +0000 (20:43 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66248
Martin Baulig [Wed, 4 Oct 2006 20:43:30 +0000 (20:43 -0000)]
New test.
svn path=/trunk/mcs/; revision=66247
Martin Baulig [Wed, 4 Oct 2006 20:43:30 +0000 (20:43 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66247
Martin Baulig [Wed, 4 Oct 2006 20:43:01 +0000 (20:43 -0000)]
New test.
svn path=/trunk/mcs/; revision=66246
Martin Baulig [Wed, 4 Oct 2006 20:43:01 +0000 (20:43 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66246
Martin Baulig [Wed, 4 Oct 2006 20:42:29 +0000 (20:42 -0000)]
New test.
svn path=/trunk/mcs/; revision=66245
Martin Baulig [Wed, 4 Oct 2006 20:42:29 +0000 (20:42 -0000)]
New test.
svn path=/branches/martin/anonymous-methods/work/; revision=66245
Martin Baulig [Wed, 4 Oct 2006 20:41:18 +0000 (20:41 -0000)]
New test.
svn path=/trunk/mcs/; revision=66244
Martin Baulig [Wed, 4 Oct 2006 20:40:58 +0000 (20:40 -0000)]
New test.
svn path=/trunk/mcs/; revision=66243
Martin Baulig [Wed, 4 Oct 2006 20:40:30 +0000 (20:40 -0000)]
New test.
svn path=/trunk/mcs/; revision=66242
Martin Baulig [Wed, 4 Oct 2006 20:40:09 +0000 (20:40 -0000)]
New test.
svn path=/trunk/mcs/; revision=66241
Martin Baulig [Wed, 4 Oct 2006 20:39:35 +0000 (20:39 -0000)]
New test.
svn path=/trunk/mcs/; revision=66240
Martin Baulig [Wed, 4 Oct 2006 20:38:57 +0000 (20:38 -0000)]
New test.
svn path=/trunk/mcs/; revision=66239
Martin Baulig [Wed, 4 Oct 2006 20:36:01 +0000 (20:36 -0000)]
2006-10-04 Martin Baulig <martin@ximian.com>
* known-issues-mcs, known-issues-gmcs: Updated the anonymous
method section.
svn path=/trunk/mcs/; revision=66238
Martin Baulig [Wed, 4 Oct 2006 20:34:44 +0000 (20:34 -0000)]
2006-10-04 Martin Baulig <martin@ximian.com>
* known-issues-mcs, known-issues-gmcs: Update; the anonymous
method tests are now working.
svn path=/trunk/mcs/; revision=66237
Chris Toshok [Wed, 4 Oct 2006 20:22:18 +0000 (20:22 -0000)]
2006-10-03 Chris Toshok <toshok@ximian.com>
* Form.cs (ProcessDialogKey): if the focused control is in this
form and is a button, call its PerformClick method here. Fixes
#79534.
svn path=/trunk/mcs/; revision=66236
Jackson Harper [Wed, 4 Oct 2006 19:48:25 +0000 (19:48 -0000)]
* TabPage.cs: Ignore setting of Visible, and add an internal
method for setting the controls visibility. TabPage's Visible
property is a little strange on MS, this seems to make us
compatible, and fixes cases where people set all the tab pages
to
visible.
* TabControl.cs: Use the new internal setting on tab pages
visibility.
svn path=/trunk/mcs/; revision=66235
Sebastien Pouliot [Wed, 4 Oct 2006 19:27:54 +0000 (19:27 -0000)]
2006-10-04 Sebastien Pouliot <sebastien@ximian.com>
* PKCS1Test.cs: Ensure the latest changes didn't break some SSL3
features that uses MD5SHA1 as a hash function.
svn path=/trunk/mcs/; revision=66234
Sebastien Pouliot [Wed, 4 Oct 2006 19:27:30 +0000 (19:27 -0000)]
svn path=/trunk/mcs/; revision=66233
Sebastien Pouliot [Wed, 4 Oct 2006 19:26:26 +0000 (19:26 -0000)]
2006-10-04 Sebastien Pouliot <sebastien@ximian.com>
* PKCS1.cs: Remove compatibility block where all padding wasn't
verified (can't find the original test case for it). Note: the
existing implementation wasn't affected by CVE-2006-4339, aka RSA
PKCS#1 1.5 signature forgery (but we're stronger without it).
svn path=/trunk/mcs/; revision=66232
Zoltan Varga [Wed, 4 Oct 2006 18:48:24 +0000 (18:48 -0000)]
2006-10-04 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_object_to_ptr_conv): Avoid using short branches around IL
sequences which can be unbounded in size. Fixes #79583.
svn path=/trunk/mono/; revision=66231
Martin Baulig [Wed, 4 Oct 2006 18:36:40 +0000 (18:36 -0000)]
Cosmetic fix.
svn path=/trunk/mcs/; revision=66230
Martin Baulig [Wed, 4 Oct 2006 18:31:38 +0000 (18:31 -0000)]
2006-10-04 Martin Baulig <martin@ximian.com>
Merged the Anonymous Methods patch.
* anonymous.cs, iterators.cs: The new anonymous methods code.
* statement.cs (Variable): New public abstract class.
(LocalInfo.Variable): New public property.
(LocalInfo.ResolveVariable): New public method.
(Block.Flags): Add `IsIterator'.
(Block.AddVariable): Improved the CS0136 check.
(Block.AnonymousChildren): New public property.
(Block.AddAnonymousChild): New public method.
(ToplevelBlock): Update to use the new anonymous method framework.
(ToplevelBlock.ctor): `container' is now a `Block' and not a
`ToplevelBlock'; this is required to correctly implement the
CS0136 check.
(Fixed, Using): Use `TemporaryVariable' instead of directly
creating the `LocalBuilder'.
* parameter.cs (Parameter.ResolveVariable): New public method.
(Parameters.ResolveVariable): Likewise.
* ecore.cs (TemporaryVariable): Use the new `Variable' framework.
* class.cs (TypeContainer): Replaced the `iterators' list and
corresponding methods with a list of `CompilerGeneratedClass'es.
(TypeContainer.ResolveMembers): New public method.
(Method): `IIteratorContainer' has been replaced by
`IAnonymousHost'.
* expression.cs (VariableReference): New public abstract base
class for `LocalVariableReference', `ParameterReference' and
`This'.
* codegen.cs (EmitContext): Removed `capture_context',
`HaveCaptureInfo', `EmitScopeInitFromBlock()' and `Capture*()'.
(EmitContext.EmitThis): Removed.
* cs-parser.jay: Replace `iterator_container' with
`anonymous_host'.
svn path=/trunk/mcs/; revision=66229
Robert Jordan [Wed, 4 Oct 2006 17:21:44 +0000 (17:21 -0000)]
2006-10-03 Robert Jordan <robertj@gmx.net>
* compat_2_0.resx, compat_1_1.resx: Add an Image element to test the
type converter. Add InvalidMimeType, an element with an invalid
mimetype attribute.
* CompatTest.cs: Add assert for the InvalidMimeType and Image elements.
Fix the test for the 2.0 profile.
* WriterTest.cs: Add type converter tests.
svn path=/trunk/mcs/; revision=66228
Robert Jordan [Wed, 4 Oct 2006 17:19:04 +0000 (17:19 -0000)]
2006-10-03 Robert Jordan <robertj@gmx.net>
* ResXResourceReader.cs: Factor out parse_data_node () from load_data ()
to be able to correctly handle data nodes that occur before resheader.
Fix the handling of objects that have a byte[] converter.
Use the type resolver.
* ResXResourceWriter.cs: Fix AddResource (string, object) to accept
only serializable type, matching MS.NET.
Fix WriteBytes to not emit the mimetype attribute when the
type is byte[], otherwise MS.NET won't parse correctly.
svn path=/trunk/mcs/; revision=66227