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: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
Martin Baulig [Wed, 4 Oct 2006 16:11:32 +0000 (16:11 -0000)]
2006-10-04 Martin Baulig <martin@ximian.com>
* generic.cs (GenericMethod): Don't make this abstract.
(Constraints.Clone): Added dummy implementation.
svn path=/trunk/mcs/; revision=66224
Yoni Klain [Wed, 4 Oct 2006 14:55:25 +0000 (14:55 -0000)]
Add new tests and resources to System.Web.UI.PageTest.cs
svn path=/trunk/mcs/; revision=66223
Igor Zelmanovich [Wed, 4 Oct 2006 14:27:00 +0000 (14:27 -0000)]
2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
* FormView.cs:
* GridView.cs:
* DetailsView.cs:
* PagerSettings.cs:
corrected pager rendering: Color style applied to A tag,
Input type="image" used if ImageUrl is not empty.
svn path=/trunk/mcs/; revision=66222
Sebastien Pouliot [Wed, 4 Oct 2006 14:18:05 +0000 (14:18 -0000)]
2006-10-04 Sebastien Pouliot <sebastien@ximian.com>
* RSAManagedTest.cs: Forgot to update test cases after right padding
was added.
svn path=/trunk/mcs/; revision=66221
Martin Baulig [Wed, 4 Oct 2006 13:02:22 +0000 (13:02 -0000)]
Merged from HEAD.
svn path=/branches/martin/anonymous-methods/mcs/; revision=66220
Merav Sudri [Wed, 4 Oct 2006 12:55:28 +0000 (12:55 -0000)]
Adding tests files to the project.
svn path=/trunk/mcs/; revision=66219
Igor Zelmanovich [Wed, 4 Oct 2006 11:37:21 +0000 (11:37 -0000)]
2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
* GridView.cs: corrected rendering
* ContainedTable.cs: added new helper class
svn path=/trunk/mcs/; revision=66218
Raja R Harinath [Wed, 4 Oct 2006 11:08:06 +0000 (11:08 -0000)]
Fix #79577
* mcs/namespace.cs (LookForAnyGenericType): Avoid nullref on 'declspaces'.
Avoid allocating arrays willy-nilly.
* errors/cs0246-17.cs: An embarassingly simple testcase based on #79577.
svn path=/trunk/mcs/; revision=66217
Raja R Harinath [Wed, 4 Oct 2006 06:18:14 +0000 (06:18 -0000)]
Fix #79553
* mcs/cfold.cs (BinaryFold): Move boolean Equality and Inequality
cases out of the switch.
* tests/test-533.cs: New test based on #79553.
svn path=/trunk/mcs/; revision=66211
Mike Kestner [Tue, 3 Oct 2006 21:41:58 +0000 (21:41 -0000)]
2006-10-03 Mike Kestner <mkestner@novell.com>
* ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
svn path=/trunk/mcs/; revision=66208
Mike Kestner [Tue, 3 Oct 2006 20:37:32 +0000 (20:37 -0000)]
2006-10-03 Mike Kestner <mkestner@novell.com>
* ListView.cs : use is_visible instead of Visible to check if
scrollbars should be placed/sized. Also some max_wrap_width
love for LargeIcon view. [Fixes #79533]
svn path=/trunk/mcs/; revision=66206
Atsushi Eno [Tue, 3 Oct 2006 19:21:24 +0000 (19:21 -0000)]
2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
* TextControl.cs :
Make set_TextAlign() do actually update the align. Fixed #78403.
svn path=/trunk/mcs/; revision=66204
Chris Toshok [Tue, 3 Oct 2006 19:16:08 +0000 (19:16 -0000)]
2006-10-03 Chris Toshok <toshok@ximian.com>
* DataGrid.cs: fix a crash when switching datasources if the
vertical scrollbar is at someplace other than Value = 0. Also,
reduce the number of recalculation passes we do in SetDataSource
from 2 to 1.
svn path=/trunk/mcs/; revision=66203
Jackson Harper [Tue, 3 Oct 2006 18:37:24 +0000 (18:37 -0000)]
* TextBoxBase.cs: Move the if value the same bail check up, we
don't want to empty the document if it is already empty, this
seems to severly mess up the caret. TODO: I should probably fix
the empty statement to update teh caret somehow.
svn path=/trunk/mcs/; revision=66202
Chris Toshok [Tue, 3 Oct 2006 17:42:06 +0000 (17:42 -0000)]
2006-10-03 Chris Toshok <toshok@ximian.com>
* ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
reflection, an internal row type, properties on said type, etc.)
will work with our datagrid. Fixes #79531.
svn path=/trunk/mcs/; revision=66201
Alexander Olk [Tue, 3 Oct 2006 15:38:31 +0000 (15:38 -0000)]
2006-10-03 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Don't crash if a path is not accessible
(System.UnauthorizedAccessException). Fixes #79569.
* MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
a ':' too. Return unknown icon for those paths/files.
svn path=/trunk/mcs/; revision=66200
Dick Porter [Tue, 3 Oct 2006 15:27:48 +0000 (15:27 -0000)]
2006-10-03 Dick Porter <dick@ximian.com>
* io-portability.h:
* io-portability.c: Optional portability helpers and wrapped
system calls to try to cope with windows filenames in
applications.
* io.c: Use the wrapped system calls
2006-10-03 Dick Porter <dick@ximian.com>
* mono.1: Document the new MONO_IO_PORTABILITY_HELP environment
variable
svn path=/trunk/mono/; revision=66199
Boris Kirzner [Tue, 3 Oct 2006 15:13:41 +0000 (15:13 -0000)]
Enable secure tests for TARGET_JVM.
svn path=/trunk/mcs/; revision=66198
Boris Kirzner [Tue, 3 Oct 2006 15:00:29 +0000 (15:00 -0000)]
Mark tests not working in TARGET_JVM.
svn path=/trunk/mcs/; revision=66197
Igor Zelmanovich [Tue, 3 Oct 2006 14:47:09 +0000 (14:47 -0000)]
2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
* FormView.cs: fixed:
in Insert mode Select not invoked from DataSource
svn path=/trunk/mcs/; revision=66196
Paolo Molaro [Tue, 3 Oct 2006 14:33:42 +0000 (14:33 -0000)]
Tue Oct 3 16:33:08 CEST 2006 Paolo Molaro <lupus@ximian.com>
* driver.c: fix loop for old compilers (bug #79521).
svn path=/trunk/mono/; revision=66194
Igor Zelmanovich [Tue, 3 Oct 2006 14:12:38 +0000 (14:12 -0000)]
2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
* TemplateControlCompiler.cs: fixed: Bind functions (Data-Binding Syntax).
At run time, the Bind method calls the Eval method, if there is DataItem
!= null to bind to.
If there is DataItem == null (like InsertItemTemplate in FormView) Bind
method don't raise exception and works properly to extract data from
bounded controls on postback.
svn path=/trunk/mcs/; revision=66192
Sebastien Pouliot [Tue, 3 Oct 2006 14:04:19 +0000 (14:04 -0000)]
2006-10-03 Sebastien Pouliot <sebastien@ximian.com>
* ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
GetContainerControl returns null.
svn path=/trunk/mcs/; revision=66190
Sebastien Pouliot [Tue, 3 Oct 2006 13:52:06 +0000 (13:52 -0000)]
System.Windows.Forms_test.dll.sources: Add ContainerControlTest.cs to the unit tests build.
svn path=/trunk/mcs/; revision=66189
Sebastien Pouliot [Tue, 3 Oct 2006 13:48:06 +0000 (13:48 -0000)]
2006-10-03 Sebastien Pouliot <sebastien@ximian.com>
* ContainerControlTest.cs: New. Add a few test cases for
GetContainerControl method.
svn path=/trunk/mcs/; revision=66188
Andrew Skiba [Tue, 3 Oct 2006 13:41:00 +0000 (13:41 -0000)]
remove unneeded out parameter
svn path=/trunk/mcs/; revision=66187
Andrew Skiba [Tue, 3 Oct 2006 13:07:28 +0000 (13:07 -0000)]
add support for requirePermission attribute.
svn path=/trunk/mcs/; revision=66186
Hagit Yidov [Tue, 3 Oct 2006 12:55:05 +0000 (12:55 -0000)]
Added tests to DataRowCollectionTest.cs, DataSetTest.cs, DataTableTest.cs. Updated ChangeLog.
svn path=/trunk/mcs/; revision=66185
Andrew Skiba [Tue, 3 Oct 2006 12:50:13 +0000 (12:50 -0000)]
revert unnecessary TARGET_JVM
svn path=/trunk/mcs/; revision=66184
Andrew Skiba [Tue, 3 Oct 2006 12:44:11 +0000 (12:44 -0000)]
revert unnecessary TARGET_JVM commit
svn path=/trunk/mcs/; revision=66183
Igor Zelmanovich [Tue, 3 Oct 2006 12:07:48 +0000 (12:07 -0000)]
2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
* FormView.cs: fixed:
Pager is not shown when page count < 1
in Edit mode use EmptyDataTemplate if there is no DataItem
when page changed FormView stays in current state.
svn path=/trunk/mcs/; revision=66182
Igor Zelmanovich [Tue, 3 Oct 2006 11:44:33 +0000 (11:44 -0000)]
restored row that was deleted by mistake
svn path=/trunk/mcs/; revision=66181
Hagit Yidov [Tue, 3 Oct 2006 09:07:48 +0000 (09:07 -0000)]
svn path=/trunk/mcs/; revision=66180
Hagit Yidov [Tue, 3 Oct 2006 09:07:10 +0000 (09:07 -0000)]
Adding ImageMap and HotSpotTests
svn path=/trunk/mcs/; revision=66179
Chris Toshok [Mon, 2 Oct 2006 21:23:13 +0000 (21:23 -0000)]
* XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
call to XGetWindowAttributes instead of "handle". fixes an X
error using notifyicon after the NotifyIconWindow to Form base
class switch.
2006-10-02 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66175
Chris Toshok [Mon, 2 Oct 2006 20:46:06 +0000 (20:46 -0000)]
2006-10-02 Chris Toshok <toshok@ximian.com>
* XplatUIX11.cs (QueryPointer): new function, encapsulating the
server grab and looping we need to do to get down to the most
deeply nested child window.
(SetCursorPos): use QueryPointer instead of GetCursorPos, and call
QueryPointer again after the WarpPointer so we can generate a
proper (fake) MotionNotify event to be enqueued in the destination
window's queue.
(GetCursorPos): call QueryPointer.
Fixes #79556.
svn path=/trunk/mcs/; revision=66174
Gert Driesen [Mon, 2 Oct 2006 20:24:25 +0000 (20:24 -0000)]
* NameObjectCollectionBase.cs: Set eol-style to native.
svn path=/trunk/mcs/; revision=66173
Gert Driesen [Mon, 2 Oct 2006 20:22:33 +0000 (20:22 -0000)]
* CollectionsUtil.cs: Set eol-style to CRLF.
* StringDictionary.cs: Fixed line endings. Set eol-style to CRLF.
* StringEnumerator.cs: Set eol-style to CRLF.
* OrderDictionary.cs: Set eol-style to CRLF.
svn path=/trunk/mcs/; revision=66172
Jackson Harper [Mon, 2 Oct 2006 19:11:59 +0000 (19:11 -0000)]
* NotifyIcon.cs: Derive the notify icon from a form, so things
like FindForm work on it.
- Swallow the WM_CONTEXTMENU message, since that is generated on
mouse down, and context menu is a mouse up kinda guy. I believe
the correct fix here is probably to make the notify icon
entirely
NC area, but this seems to work fine for anyone not manipulating
WndProc.
svn path=/trunk/mcs/; revision=66171
Gert Driesen [Mon, 2 Oct 2006 18:35:51 +0000 (18:35 -0000)]
* OrderedDictionary.cs: IsReadOnly, indexers, Keys and Values should
not be virtual.
* SortedList.cs: Count property, indexer and Clear method should not
be virtual. Removed unnecessary explicit interface implementation of
Add (TKey, TValue) and Remove (TKey, TValue).
* Queue.cs: Marked Enumerator as Serializable.
* Stack.cs: Marked Stack <T> and Enumerator as serializable.
svn path=/trunk/mcs/; revision=66168
Jonathan Pobst [Mon, 2 Oct 2006 18:33:39 +0000 (18:33 -0000)]
2006-10-02 Jonathan Pobst <monkey@jpobst.com>
* ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
ToolStripItemCollection.cs, ToolStripLabel.cs,
ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
Initial implementation.
* TextRenderer.cs: Provide padding to MeasureText.
2006-10-02 Jonathan Pobst <monkey@jpobst.com>
* ArrangedElementCollection.cs: Initial commit.
2006-10-02 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: Add ToolStrip* classes.
svn path=/trunk/mcs/; revision=66167
Sebastien Pouliot [Mon, 2 Oct 2006 18:24:12 +0000 (18:24 -0000)]
2006-10-02 Sebastien Pouliot <sebastien@ximian.com>
* ButtonTest.cs: Activate tests for ButtonBaseAccessibleObject.
svn path=/trunk/mcs/; revision=66166
Sebastien Pouliot [Mon, 2 Oct 2006 18:21:52 +0000 (18:21 -0000)]
2006-10-02 Sebastien Pouliot <sebastien@ximian.com>
* ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
of ButtonBaseAccessibleObject. Fix bug #79552.
svn path=/trunk/mcs/; revision=66165
Sebastien Pouliot [Mon, 2 Oct 2006 18:18:46 +0000 (18:18 -0000)]
2006-10-02 Sebastien Pouliot <sebastien@ximian.com>
* ResXResourceReader.cs: Handle empty mimetype just like a null
mimetype. Fix bug #77481.
* ResXResourceWriter.cs: Fix to InitWriter method by Atsushi. Fix
bug #79039.
svn path=/trunk/mcs/; revision=66164
Jackson Harper [Mon, 2 Oct 2006 18:02:46 +0000 (18:02 -0000)]
- Use the parent form's size for the menu position, since the
client isn't always the full form size.
svn path=/trunk/mcs/; revision=66163
Zoltan Varga [Mon, 2 Oct 2006 17:15:28 +0000 (17:15 -0000)]
2006-10-02 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_runtime_class_init): Handle a corner case in handling failure of
static initialization.
svn path=/trunk/mono/; revision=66161
Zoltan Varga [Mon, 2 Oct 2006 16:31:27 +0000 (16:31 -0000)]
2006-10-02 Zoltan Varga <vargaz@gmail.com>
* static-constructor.cs: Add a new test.
svn path=/trunk/mono/; revision=66159
Zoltan Varga [Mon, 2 Oct 2006 16:28:48 +0000 (16:28 -0000)]
2006-10-02 Zoltan Varga <vargaz@gmail.com>
* domain-internals.h (MonoDomain): Add a 'type_init_exception_hash' field.
* class-internals.h (MonoVTable): Add an 'init_failed' flag.
* domain.c (mono_domain_free): Free up type_init_exception_hash.
* object.c (mono_runtime_class_init): Implement correct semantics when a static
ctor fails, i.e. throw the same exception on subsequent accesses.
svn path=/trunk/mono/; revision=66158
Martin Baulig [Mon, 2 Oct 2006 16:16:54 +0000 (16:16 -0000)]
2006-10-02 Martin Baulig <martin@ximian.com>
* statement.cs: Fix the CS0135 check.
svn path=/branches/martin/anonymous-methods/mcs/; revision=66157
Jackson Harper [Mon, 2 Oct 2006 15:23:14 +0000 (15:23 -0000)]
* MdiWindowManager.cs: When maximizing use the containers client
rect, not it's bounds, so nc area is accounted correctly.
svn path=/trunk/mcs/; revision=66155
Martin Baulig [Mon, 2 Oct 2006 14:43:16 +0000 (14:43 -0000)]
2006-10-02 Martin Baulig <martin@ximian.com>
* anonymous.cs: Add CS1688 check.
svn path=/branches/martin/anonymous-methods/mcs/; revision=66154
Martin Baulig [Mon, 2 Oct 2006 14:37:34 +0000 (14:37 -0000)]
Small fix; this may only happen in error situations.
svn path=/branches/martin/anonymous-methods/mcs/; revision=66153
Martin Baulig [Mon, 2 Oct 2006 14:31:35 +0000 (14:31 -0000)]
2006-10-02 Martin Baulig <martin@ximian.com>
* statement.cs: Fix the CS0136 check.
* anonymous.cs: The container of an anonymous method is now a
`Block' and not a `ToplevelBlock' anymore. This became neccessary
to implement the CS0136 check correctly.
svn path=/branches/martin/anonymous-methods/mcs/; revision=66152
Sebastien Pouliot [Mon, 2 Oct 2006 13:27:21 +0000 (13:27 -0000)]
2006-10-02 Sebastien Pouliot <sebastien@ximian.com>
* ButtonTest.cs: Added new test cases for ButtonBaseAccessibleObject
as NonWorking (see bug #79552). Fixed line-endings.
svn path=/trunk/mcs/; revision=66151
Zoltan Varga [Mon, 2 Oct 2006 13:22:03 +0000 (13:22 -0000)]
2006-10-02 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (ves_icall_get_trace): Remove debug printf.
svn path=/trunk/mono/; revision=66150
Martin Baulig [Mon, 2 Oct 2006 13:06:18 +0000 (13:06 -0000)]
Merged from HEAD.
svn path=/branches/martin/anonymous-methods/mcs/; revision=66149
Zoltan Varga [Mon, 2 Oct 2006 12:43:24 +0000 (12:43 -0000)]
2006-10-02 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_class_from_name): Avoid a memory allocation.
* aot-compiler.c: Add a new option 'metadata-only' to only emit the cached
metadata without any code.
svn path=/trunk/mono/; revision=66148
Zoltan Varga [Mon, 2 Oct 2006 10:23:37 +0000 (10:23 -0000)]
2006-10-02 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_handle_native_sigsegv): Add some code to print out
more precise debugging information using gdb.
svn path=/trunk/mono/; revision=66147
Leszek 'skolima' Ciesielski [Mon, 2 Oct 2006 08:57:07 +0000 (08:57 -0000)]
Added information about net_2_0 profile tests.
svn path=/trunk/mcs/; revision=66146
Chris Toshok [Sun, 1 Oct 2006 22:14:44 +0000 (22:14 -0000)]
* ScrollableControl.cs: make sure neither right_edge or
bottom_edge are < 0, since they're used as LargeChange for the
horiz/vert scrollbars respectively. Fixes #79539.
2006-10-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66144
Chris Toshok [Sun, 1 Oct 2006 22:00:01 +0000 (22:00 -0000)]
* NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
the xplatuix11 code can cause us to destroy/recreate our handle.
* XplatUIX11.cs
(SystrayAdd):
- this code can be invoked many times for the same Hwnd. Make
sure we only destroy the client window once (the first time this
method is called). This fixes bug #79544.
- Remove the call to the improperly bound XSync. why we had two
bindings to this, I will never know, but this call resulted in
events being discarded from the queue(!).
- correct a misunderstanding of _XEMBED_INFO - the second atom is
not our current state but the state we wish to be in. So, 0 if
we don't want to be mapped. Change it to 1.
(SystrayRemove): The XEMBED spec makes mention of the fact that
gtk doesn't support the reparent of client windows away from the
embedder. Looking at gtksocket-x11.c seems to agree with this.
The only avenue we have for removing systray icons is to destroy
them. We don't want the handle to go away for good, though, so
call InternalRecreateHandle on the NotifyIconWindow. Fixes
#79545.
2006-10-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66143
Chris Toshok [Sun, 1 Oct 2006 19:35:36 +0000 (19:35 -0000)]
2006-10-01 Chris Toshok <toshok@ximian.com>
* Form.cs (WndProc): inline the native_enabled variable usage into
the cases in which it's used. Fixes #79536.
svn path=/trunk/mcs/; revision=66141
Gert Driesen [Sun, 1 Oct 2006 07:42:11 +0000 (07:42 -0000)]
* SoapReflectionImporterTests.cs: Added tests for bug #78206.
* SoapReflectionImporter.cs: To match MS.NET, let exceptions that are
thrown during creation of map member bubble up. Only allow
SoapAttribute on primitive types and enums. Obtain default value for
attribute members.
svn path=/trunk/mcs/; revision=66139
Raja R Harinath [Sun, 1 Oct 2006 04:25:07 +0000 (04:25 -0000)]
More fun with find(1) -- kill more svn:executable flags
svn path=/trunk/mono/; revision=66137
Raja R Harinath [Sat, 30 Sep 2006 18:29:13 +0000 (18:29 -0000)]
Kill all executable flags on *.cs and ChangeLog files.
AKA: fun with find(1)+xargs(1)
AKA: find . -name \*.cs -and -perm /a+x | xargs svk propdel svn:executable
svn path=/trunk/mcs/; revision=66131
Raja R Harinath [Sat, 30 Sep 2006 18:14:47 +0000 (18:14 -0000)]
* test-444.cs (Compiler options): Add. Ensure that the file
compiles in non-UTF8 locales.
* test-465.cs: Fix path.
svn path=/trunk/mcs/; revision=66130
Raja R Harinath [Sat, 30 Sep 2006 18:02:07 +0000 (18:02 -0000)]
Update known-issues-{mcs,gmcs}. Avoid IGNOREing tests.
remove svn:executable from *.cs
svn path=/trunk/mcs/; revision=66128
Raja R Harinath [Sat, 30 Sep 2006 17:51:24 +0000 (17:51 -0000)]
Remove duplicated filename. Fix compiler warning
svn path=/trunk/mcs/; revision=66127
Marek Sieradzki [Sat, 30 Sep 2006 16:51:30 +0000 (16:51 -0000)]
2006-09-30 Marek Sieradzki <marek.sieradzki@gmail.com>
* xbuild/Microsoft.CSharp.targets: Use new ResolveAssemblyReference
task.
* xbuild/Microsoft.Common.tasks: Add new task (RAR).
svn path=/trunk/mcs/; revision=66126
Marek Sieradzki [Sat, 30 Sep 2006 16:49:15 +0000 (16:49 -0000)]
2006-09-30 Marek Sieradzki <marek.sieradzki@gmail.com>
* ResolveAssemblyReference.cs: Added.
svn path=/trunk/mcs/; revision=66125
Marek Sieradzki [Sat, 30 Sep 2006 16:47:56 +0000 (16:47 -0000)]
svn path=/trunk/mcs/; revision=66124
Marek Sieradzki [Sat, 30 Sep 2006 16:47:27 +0000 (16:47 -0000)]
2006-09-30 Marek Sieradzki <marek.sieradzki@gmail.com>
* ReservedNameUtils.cs: Added a null check.
svn path=/trunk/mcs/; revision=66123
Marek Sieradzki [Sat, 30 Sep 2006 16:44:54 +0000 (16:44 -0000)]
2006-09-30 Marek Sieradzki <marek.sieradzki@gmail.com>
* LoggerException.cs: Added a null check.
svn path=/trunk/mcs/; revision=66122
Martin Baulig [Sat, 30 Sep 2006 16:25:10 +0000 (16:25 -0000)]
New tests.
svn path=/trunk/mcs/; revision=66121
Jonathan Chambers [Sat, 30 Sep 2006 14:19:37 +0000 (14:19 -0000)]
2006-09-0 Jonathan Chambers <joncham@gmail.com>
* domain.c, class-internals.h: Added ComInteropProxy class to MonoDefaults.
* marshal.c: Return correct unmanaged size for object when MarshalAs.Struct.
Emit exception rather than crash in case of COM Callable Wrapper (not yet implemented).
Handle marshalling of interfaces and VARIANTs contained in structs.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=66120
Jb Evain [Sat, 30 Sep 2006 13:49:47 +0000 (13:49 -0000)]
2006-09-29 Jb Evain <jbevain@gmail.com>
* MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
svn path=/trunk/mcs/; revision=66119
Zoltan Varga [Sat, 30 Sep 2006 13:34:40 +0000 (13:34 -0000)]
2006-09-30 Zoltan Varga <vargaz@gmail.com>
* inssel-ia64.brg: Make the helper methods static.
svn path=/trunk/mono/; revision=66118
Zoltan Varga [Sat, 30 Sep 2006 12:14:47 +0000 (12:14 -0000)]
2006-09-30 Zoltan Varga <vargaz@gmail.com>
* marshal9.cs libtest.c: Add tests for some custom marshalling corner cases.
svn path=/trunk/mono/; revision=66117
Zoltan Varga [Sat, 30 Sep 2006 12:13:31 +0000 (12:13 -0000)]
2006-09-30 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_custom): Fix some corner cases. Fixes #79471.
svn path=/trunk/mono/; revision=66116