Patch by Michael Barker:
a patch that adds support for passing all of the Message
properties via RabbitMQ (as per version 1.1 of System.Messaging).
This includes Recoverable (supporting persistence) and Priority (which
would support priority based delivery if RabbitMQ supported it) as
well as state and argument checking.
svn path=/branches/messaging-2008/mcs/; revision=117134
* ListViewItem.cs: When deserializing enumerate over the data, instead
of accessing the data directly. This way we handle much better the
cases were we lack information.
Fixes#417520.
svn path=/trunk/mcs/; revision=116489
* ListView.cs: When removing an item from a main ListView.Items
collection (and not a ListViewGroupCollection.Items one), remove it
also from the group, as .net does. Patch by Mario Carrion (mario at
novell dot com).
Fixes#436653.
svn path=/trunk/mcs/; revision=116488
* method-to-ir.c (mono_emit_method_call_full): Remove a needless call to
mono_class_setup_vtable ().
* mini-trampolines.c (mono_convert_imt_slot_to_vtable_slot): Use
mono_class_get_vtable_entry () for accessing klass->vtable.
* aot-runtime.c (load_method): Avoid a crash when using MONO_LOG_LEVEL.
* aot-compiler.c (add_generic_instances): Avoid a crash if a class is not
found.
svn path=/trunk/mono/; revision=116478
* class.c (mono_class_get_inflated_method): New helper method to obtain
a method of an inflated class without calling setup_methods ().
(mono_class_get_cctor): Use get_inflated_method.
* generic-sharing.c (mono_class_get_method_generic): Ditto.
svn path=/trunk/mono/; revision=116430
* image.c (mono_image_init): Move initialization of runtime_invoke
caches to marshal.c.
* marshal.c (get_cache): New helper function to lazily initialize a
wrapper cache.
(mono_marshal_get_runtime_invoke): Share more runtime invoke wrappers.
svn path=/trunk/mono/; revision=116420
* cpu-ppc.md, mini-ppc.c: The length of the code generated for
OP_JMP depends on the method signature. Calculate it properly.
svn path=/trunk/mono/; revision=116416
* aot-runtime.c (mono_aot_find_jit_info): Handle extra methods which are
called directly.
* aot-compiler.c (emit_and_reloc_code): Allow direct calling of generic
instances.
(emit_extra_methods): Add another table mapping method indexes to
offsets in the extra_method_info table.
* mini.h: Bump AOT file format version.
* aot-runtime.c: Merge most of the code from mono_aot_get_method
and mono_aot_get_method_from_token () into one function.
svn path=/trunk/mono/; revision=116414
* Managed.Windows.Forms/Test/System.Windows.Forms/FormTest.cs: Forms
that get closed without a handle being created are disposed in 2.0.
Fixes failing FormTest.FormClose and FormTest.FormClose2 on windows.
2008-10-19 Andreia Gaita <[email protected]>
svn path=/trunk/mcs/; revision=116409
* aot-runtime.c: Merge most of the code from mono_aot_get_method
and mono_aot_get_method_from_token () into one function.
svn path=/trunk/mono/; revision=116406
* method-to-ir.c (mono_method_to_ir2): Change a !compile_aot assert to
disable_aot.
* mini.c (mono_patch_info_equal): Compare the generic context as well.
* mini.h: Bump aot file format version.
* aot-compiler.c aot-runtime.c: Generalize the wrapper handling code so the
AOT file can contain native code for methods which are not in the METHOD
table. Generate code for non-sharable generic instances of generic methods
found in the METHODSPEC table.
svn path=/trunk/mono/; revision=116384
* PropertyDescriptorTests.cs: Define alias for S.C.DescriptionAttribute
to avoid ambiguous reference error using more recent versions of
NUnit (which also contains a DescriptionAttribute).
svn path=/trunk/mcs/; revision=116351
* method-to-ir.c (mono_method_to_ir2): Remove the aot restriction when
encoding generic type handles.
* ir-emit.h (NEW_AOTCONST_TOKEN): Add a generic_context argument.
(NEW_TYPE_FROM_HANDLE_CONST): Add a generic_context argument.
* ir-emit.h: Rewrite the EMIT_NEW_XXXCONST macros to use the NEW_XXXCONST
macros + MONO_ADD_INS.
* mini.c (mono_jump_info_token_new2): New function which takes a generic
context as well.
* mini.h (MonoJumpInfoToken): Include fields for a generic context.
* mini.h: Bump aot file format version.
* aot-compiler.c aot-runtime.c: Update after changes to MonoJumpInfoToken.
svn path=/trunk/mono/; revision=116335
* DataGridView.cs: Add the ability to resize columns and rows with
the mouse. Also support double-clicking to autoresize.
* DataGridViewColumn.cs: Invalidate the grid if a column's width changes.
* DataGridViewRow.cs: Invalidate the grid if a row's height changes.
* DataGridViewTextBoxCell.cs: Add 1 to preferred width so ellipsis
isn't shown on autoresize.
[Fixes bug #420193]
svn path=/trunk/mcs/; revision=116321
* mini-x86.h, mini-x86.c, exceptions-x86.c: Align stack on all
platforms, with definable stack alignment value. Set to 16 now
for all platforms.
* mini.c, mini.h, driver.c: Command line option for disabling
stack alignment.
svn path=/trunk/mono/; revision=116313
* Makefile (CYCLIC_DEPS): If we're using BOOT_COMPILE, don't
bother looking for cyclic dependencies -- they'll fail to load
even if the dlls exist.
(handle-missing-deps): Rename from 'echo-warning'. Remove cyclic
dependencies for real, if they exist.
Reported by Jonathan Pryor.
svn path=/trunk/mcs/; revision=116284
* docs/cs-errors.config: Update to refer to correct directory.
* docs/mono-tools.config: Man pages are in mono/man now...
svn path=/trunk/mcs/; revision=116283
* DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs,
MetaModel.cs : ongoing implementation.
* DynamicDataRouteTest.cs, TestStubTypes.cs: new tests.
* MetaModelTest.cs : fixed test namespace and type aliases.
Now that this test does not always run first, remove run-order-
dependent assertions. Added some more assertions.
svn path=/trunk/mcs/; revision=116282
* RouteValueDictionary.cs : its string comparison is case
insensitive.
* RouteValueDictionaryTest.cs : test for case-insensitive comparison.
svn path=/trunk/mcs/; revision=116277
* UrlPattern.cs : fixed pattern match for such string that has
suffix. (DynamicData uses it.)
* RouteTest.cs : added test for DynamicData default pattern.
svn path=/trunk/mcs/; revision=116234
* ImageMap.cs: added the SupportsEventValidation attribute to the
class.
Validate the event in RaisePostBackEvent ().
Register for event validation in Render ().
* DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
* TextBox.cs: validate the event in LoadPostData ().
Register for event validation in AddAttributesToRender ().
* HiddenField.cs: validate the event in RaisePostDataChangedEvent.
Register for event validation in Render ().
* RadioButton.cs: validate the event in LoadPostData ().
Register for event validation in InternalAddAttributesToRender.
* CheckBox.cs, RadioButtonList.cs: validate the event in
RaisePostDataChangedEvent.
* Menu.cs: added the SupportsEventValidation attribute to the
class.
Validate the event in RaisePostBackEvent ().
Register for event validation in GetClientEvent ().
* DetailsView.cs, GridView.cs: validate the event in
RaisePostBackEvent ().
Register for validation in GetCallbackScript () and in OnPreRender
* Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
2008-10-17 Marek Habersack <[email protected]>
* Control.cs: added the ValidateEvent internal method, used by
classes descending from Control to automatically trigger event
validation.
* Page.cs: removed the CheckForValidationSupport method. It moved
to Control.cs
RaisePostBackEvent no longer validates the events, this
functionality has been moved to Control.ValidateEvent.
2008-10-17 Marek Habersack <[email protected]>
* HtmlInputHidden.cs: validate the event in LoadPostDataInternal.
* HtmlInputButton.cs: validate the event in
RaisePostBackEventInternal ().
Register for event validation in RenderAttributes ()
* HtmlTextArea.cs: validate the event in
RaisePostBackDataChangedEvent ().
* HtmlButton.cs: validate the event in RaisePostBackEvent ().
Register for event validation in RenderAttributes ()
* HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
Register for event validation in RenderAttributes ().
* HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
LoadPostData.
* HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
HtmlInputPassword.cs: validate the event in
RaisePostDataChangedEvent ().
2008-10-17 Marek Habersack <[email protected]>
* MenuAdapterTest.cs: work around event validation failure in the
test environment.
2008-10-17 Marek Habersack <[email protected]>
* PageTest.cs: use a custom version of HtmlInputHidden control to
work around the new event validation code which doesn't work in
this instance.
svn path=/trunk/mcs/; revision=116231
* ComboBox.cs: When we are sorting the items, if the item's type
doesn't support IComparer, use a default one that compares based
off the item's visible text.
[Fixes bug #436328]
2008-10-17 Jonathan Pobst <[email protected]>
* ComboBoxTest.cs: Add test for bug #436328.
svn path=/trunk/mcs/; revision=116229
to true. (Not a major change, as mdoc.exe already did this, so it
really only impacts monodocer1.exe, which is internal...)
svn path=/trunk/mcs/; revision=116192
* ColumnHeader.cs: Invalidate ListView.header_control when setting
ImageIndex/ImageKey.
* ThemeWin32Classic.cs: When drawing the column header, draw a image
for the column if available, and make the required adjustments to the
text location.
Fixes#435105.
svn path=/trunk/mcs/; revision=116165
* Allow types to be defined on the eglib-config.h file, that could
be a platform specific generated type file.
* gtimer.c: split functionality in platforms.
svn path=/trunk/mono/; revision=116164
* assembler.cs, mdoc.cs, monodocer.cs, monodocs2html.cs,
monodocs2slashdoc.cs, normalize.cs, validate.cs, XhtmlWriter.cs:
Move to Mono.Documentation.
* defaulttemplate.xsl, overview.xsl, stylesheet.xsl: Moved to
Resources.
* DocTest: Moved to Test.
* DocTest-v1.cs, DocTest-v2.patch, TestEcmaDocs.xml: Moved to Test.
* mdoc.exe.sources: Added; mcs include file to build mdoc.exe.
* Makefile: Added; build mdoc.exe, monodocer1.exe, and unit tests for
mdoc.exe
* Mono.Documentation/assembler.cs, Mono.Documentation/normalize.cs,
Mono.Documentation/mdoc.cs, Mono.Documentation/monodocs2slashdoc.cs,
Mono.Documentation/monodocs2html.cs, Mono.Documentation/validate.cs:
Modify command line handling to remove Mono.GetOptions dependency.
* Test/DocTest-v1.cs: Update //code/@src attribute due to changed paths.
* Test/msxdoc-expected.importslashdoc.xml,
* Test/en.expected.importslashdoc/Mono.DocTest/DocAttribute.xml: Flush
due to above DocTest-v1.cs change.
svn path=/trunk/mcs/; revision=116141
* mini-ops.h: Add packed min/equal and sum of absolute differences.
* cpu-x86.md: Same.
* mini-x86.c (mono_arch_output_basic_block): Same.
* simd-intrinsics.c (vector16b_intrinsics): Add average, compare equal,
extract mask, max, min and sum of absolute differences.
* simd-intrinsics.c: Increase SIMD_INTRINSIC_NAME_MAX due to new huge
method name.
svn path=/trunk/mono/; revision=116118
* simd-intrinsics.c (mono_simd_simplify_indirection): Apply the previous
fix to the code that deal with other blocks.
svn path=/trunk/mono/; revision=116106
* simd-intrinsics.c (mono_simd_simplify_indirection): Simplify the code
that deals with vreg interference. Explicitly check for OP_LDADDR to be
able to process the source reg.
svn path=/trunk/mono/; revision=116034
* DataGridView.cs: When a user begins an edit in the 'new row',
make that a real row, and add a new 'new row'. If the user
cancels the edit, remove the new 'new row' and reset everything.
Also, ensure UserAddedRow and UserRemovedRow events are raised.
[Fixes bug #430954]
svn path=/trunk/mcs/; revision=116029
* DataGridView.cs: Handle Enter and Escape keys.
- Move call to EndEdit to MoveCurrentCell.
- Remove call to EndEdit from navigation key routines.
- Fire CellLeave and CellEnter.
svn path=/trunk/mcs/; revision=116015
* HttpApplicationFactory.cs: when looking up application type
event handlers (the Application_* methods), look deep in the
parent chain - we must support private handler methods in base
types as well.
svn path=/trunk/mcs/; revision=115961
* simd-intrinsics.c (get_simd_vreg): Using sreg1 of OP_XMOVE
now works. The issue with the regalloc tripping up no longer
happens.
* simd-intrinsics.c (load_simd_vreg): Same.
svn path=/trunk/mono/; revision=115948
* simd-intrinsics.c (get_simd_vreg): Simplify code and test
only for type. This fixes crashes where MonoInst::klass is checked
for ops of type != VTYPE or OBJ.
* simd-intrinsics.c (load_simd_vreg): Same.
svn path=/trunk/mono/; revision=115946
* TemplateControlCompiler.cs: IsWritablePropertyOrField doesn't
use PropertyInfo.CanWrite to check whether the property is
writable anymore, it calls GetSetMethod (false) instead.
svn path=/trunk/mcs/; revision=115941
* mini-ops.h: Add ops for packed shuffle/max/avg and
extract mask.
* cpu-x86.md: Same.
* mini-x86.c (mono_arch_output_basic_block): Same.
* simd-intrinsics.c (vector8us_intrinsics): Add avg, shuffle and
extract mask.
* simd-intrinsics.c (simd_intrinsic_emit_extract_mask): New function
to emit extract mask op.
* simd-intrinsics.c (simd_intrinsic_emit_shuffle): Retrofic this function
to emit word shuffles.
svn path=/trunk/mono/; revision=115920
* XplatUIX11.cs, XplatUICarbon.cs: Do not Timer.Tick before
MainForm.OnLoad has completed unless DoEvents is forced.
[Fixes bug #412536]
svn path=/trunk/mcs/; revision=115910
* SymbolWriterImpl.cs: implement `SetMethodSourceRange` using the
new underlying MonoSymbolWriter's API so that the symbol files
generated by SRE-using compiler are useful again.
svn path=/trunk/mcs/; revision=115862
* HttpResponse.cs: CacheabilityUpdatedEvent is no longer
used. cached_response is allocated only when the IsCached property
is assigned the 'true' value.
* HttpCachePolicy.cs: CacheabilityUpdatedEvent is no longer used,
removed all the traces of it. SetCacheability should not switch
output caching on.
2008-10-15 Marek Habersack <[email protected]>
* OutputCacheModule.cs: do not take any action if Response returns
null from GetCachedResponse.
2008-10-15 Marek Habersack <[email protected]>
* Page.cs: Response caching is switched on only when output
caching is configured for this page instance. Fixes bug #435549.
svn path=/trunk/mcs/; revision=115861
* mini.c (mono_allocate_stack_slots_full): Align stack frame to
the largest alignment needed by a variable, but at least
sizeof(gpointer).
svn path=/trunk/mono/; revision=115849
* simd-intrinsics.c (get_simd_vreg): Drop the is_this_ptr, this function
no longer handles STACK_PTR input.
* simd-intrinsics.c (get_simd_vreg): Don't crash when MonoInst::klass == -1.
* simd-intrinsics.c (load_simd_vreg): New function that works like
get_simd_vreg but handles STACK_PTR input.
* simd-intrinsics.c (simd_intrinsic_emit_getter): Use load_simd_vreg
as the input can be an arbitrary pointer.
* simd-intrinsics.c (simd_intrinsic_emit_ctor): Try the
LDADDR local optimization directly otherwise use a store op.
svn path=/trunk/mono/; revision=115808
* DataGridViewColumnCollection.cs: Remove calls to OnColumnAddedInternal,
these will get called in DGV.OnCollectionChanged. Make sure
OnCollectionChanged always gets called.
* DataGridView.cs: Make a OnColumnRemovedInternal that removes the cells
from every row. Call this in OnCollectionChanged.
[Fixes bug #433669]
svn path=/trunk/mcs/; revision=115807
* XmlDsigEnvelopedTransformTest.cs: Added test for .ctor (bool). Use
Assert class. Improved properties tests.
* XmlDsigC14TransformTest.cs: Added test for .ctor (bool).
* XmlDsigExcC14NTransformTest.cs: Added .ctor tests and added asserts
IncludsiveNamespacesPrefixList
* XmlDsigExcC14NWithCommentsTransformTest.cs: Added basic .ctor and
properties tests.
* XmlDsigC14NWithCommentsTransformTest.cs: Fixed line endings.
* XmlLicenseTransformTest.cs: Added basic .ctor and properties tests.
* XmlDsigBase64Transform.cs: Use constant for Algorithm namespace.
* XmlDsigExcC14NTransform.cs: Fixed ctors to use WithComments
algorithm if includeComments is true. Assign includeNamespacesPrefixList
to instance field.
* XmlDsigExcC14NWithCommentsTransform.cs: Remove unnecessary
assignment to Algorithm now that base ctor is fixed.
* XmlDsigC14NWithCommentsTransform.cs: Remove unnecessary assignment
to Algorithm now that base ctor is fixed.
* XmlDsigC14NTransform.cs: In default ctor, just invoke .ctor (bool).
In .ctor (bool), assign WithComments algorithm if includeComments is
true. Use constants for Algorithm namespace.
* XmlDsigEnvelopedSignatureTransform.cs: Use constant for Algorithm
namespace.
* XmlDsigXPathTransform.cs: Use constant for Algorithm namespace.
* XmlDsigXsltTransform.cs: Use constant for Algorithm namespace.
* XmlLicenseTransform.cs: Assign Algorithm in ctor.
* XmlSignature.cs: Added constant for XmlLicenseTransform algorithm.
* System.Security_test.dll.sources: Added XmlLicenseTransformTest.cs
and XmlDsigExcC14NWithCommentsTransformTest.cs.
svn path=/trunk/mcs/; revision=115803
anywhere else), instead just follow a subset of the App Deployment
Guidelines and install just the source into $prefix/lib/mono-options.
svn path=/trunk/mcs/; revision=115789
* Mono.WebBrowser2K5.csproj:
* Mono.WebBrowser.dll.sources:
* Mono.Mozilla/interfaces/nsIDocumentEncoder.cs:
* Mono.Mozilla/interfaces/extras/DocumentEncoderFlags.cs:
* Mono.Mozilla/interfaces/nsIDocumentEncoderNodeFixup.cs:
Added new interfaces to support retrieving node contents (OuterHTML and probably
others)
* Mono.WebBrowser/Exception.cs: New exception for the
DocumentEncoder service
* Mono.Mozilla/DOM/HTMLElement.cs: Rewrite OuterHTML,
looks like the old approach doesn't work on 1.9, but DocumentRange is
not working properly when I use selectNode directly, so the silliness
of recreating the current tag's html by going through all the
properties is ongoing.
* Mono.Mozilla/DOM/Element.cs:
* Mono.Mozilla/DOM/Document.cs:
* Mono.Mozilla/DOM/Node.cs:
* Mono.Mozilla/DOM/HTMLElement.cs: The Node class now
always stores retrieved unmanaged nodes, regardless of type, and
child classes only cast from it for easier access.
* Mono.Mozilla/DOM/Node.cs: The Node class now always
stores retrieved unmanaged nodes, regardless of type, and child
classes only cast from it for easier access. Added a reference to the
original unmanaged object prior to proxying (Documentencoder only
works with non-proxies objects, apparently)
* Mono.Mozilla/DOM/Window.cs: Expose the unmanaged
window object internally, the selection api needs it.
* Mono.Mozilla/Base.cs:
* Mono.Mozilla/WebBrowser.cs: Get the service manager
from the proper thread
2008-10-14 Andreia Gaita <[email protected]>
svn path=/trunk/mcs/; revision=115783
* Control.cs: SaveViewStateRecursive must return view state even
if EnableViewState is false. This is apparently what .NET does, as
some commercial ASP.NET controls take advantage of that via
reflection.
2008-10-14 Marek Habersack <[email protected]>
* CompositeDataBoundControl.cs: renamed the itemcount ViewState
item from "_ItemCount" to "_!ItemCount" for .NET
compatibility. This item is accessed and used by some commercial
ASP.NET controls.
* DataBoundControl.cs: OnPagePreLoad must force databinding also
when the request is not a postback.
svn path=/trunk/mcs/; revision=115766
* ComboBox.cs: WM_KEYDOWN and WM_KEYUP messages should be sent to the
textbox if auto complete is used, since we need to navigate over it.
And in this case don't pass this messages to the base impl. Also hide
the auto complete list box when displaying the drop down listbox.
* TextBox.cs: new internal members to expose some of the auto complete
functionality to combobox.
svn path=/trunk/mcs/; revision=115750
`pkg-config --variable Sources mono-options` can be used to grab the
sources to Mono.Options (useful for embedding).
svn path=/trunk/mono/; revision=115734
support for choosing a specific interface to process inside an idl
which defines several interfaces
2008-10-14 Andreia Gaita <[email protected]>
svn path=/trunk/mcs/; revision=115715
* Vector4f.cs: Added bitwise ops, reciprocal, interleave
and all flavors of compare.
Optimized Shuffle.
* Vector8us.cs: It turns out that packuswb doesn't work with unsigned
numbers that binary equivalent to negative numbers in signed form.
Removed PackWithUnsignedSaturation.
* Vector4ui.cs: Added SSE4.1 comment to relevant method. Removed
PackWithUnsignedSaturation for the same reason as above.
svn path=/trunk/mcs/; revision=115706
This patch squeese one more byte from the SimdIntrinsc struct.
* mini-x86.c (mono_arch_cpu_enumerate_simd_versions: Use the version number
a a shift amount intead of simply or'ing it.
* mini.h: Change SIMD_VERSION_* values to be sequential intead of masks.
* simd-intrinsics.c (struct SimdIntrinsc): Squeese simd_version and simd_emit_mode into a single
byte so we can have an aditional flags field without increasing struct size.
* simd-intrinsics.c (emit_intrinsics): Use the value of simd_version as a shift amount before checking
against the simd_supported_versions bitmask.
* simd-intrinsics.c: Set SIMD_INTRINSIC_NAME_MAX to an appropriate value.
svn path=/trunk/mono/; revision=115700
* libmono.vcproj : Removing metadata\rawbuffer.c from the VC project.
* eglib.vcproj : Adding gdate-win32.c, gdir-win32.c, gfile-posix.c,
gfile-win32.c, gmisc-win32.c, and gmodule-win32.c to the VC project.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=115693
* XplatUIX11.cs, XplatUICarbon.cs, Form.cs: Do not Timer.Tick before
MainForm.OnLoad has completed.
[Fixes bug #412536]
svn path=/trunk/mcs/; revision=115683
* TextBox.cs: Apply an old-approved patch that adds autocomplete's
Append support to this controls. We need it to apply new patches.
svn path=/trunk/mcs/; revision=115681
* domain-internals.h, domain.c, icall.c, image.c, marshal.c,
object.c, reflection.c, socket-io.c, threads.c: introduced
mono_framework_version () to return the major framewrok version,
changed the code that was using more complex patterns to use it.
Return the correct value for PlatformID for OSX.
svn path=/trunk/mono/; revision=115656
* mini.c: remove rawbuffer code (the only use here is unsafe because
it takes locks during signal handling and the kernel now provides much
better info in proc/pid/smaps these days).
svn path=/trunk/mono/; revision=115638
* Control.cs: When updating z order in child controls, send to back
the implicit controls. Also, do it explicitly, instead of making
GetAllControls return the implicit controls in a specific order, and
thus avoid depending on that, which could change in the future.
Fixes#434304.
svn path=/trunk/mcs/; revision=115614
* x86/x86-codegen.h: Add macro for sse41 ops.
Add defined for pack ops, dword shifts/mul/pack.
2008-10-12 Rodrigo Kumpera <[email protected]>
* basic-simd.cs: Remove PackWithUnsignedSaturation tests as it turns out
that the packuswb/packusdw don't work with unsigned numbers for what
would be negative numbers in signed format.
* cpu-x86.md: Add doubleword forms of many ops and packing ones.
Fix the len of fconv_to_r8_x and xconv_r8_to_i4.
* mini-ops.h: Add doubleword forms of many ops and packing ones.
* mini-x86.c: Emit doubleword forms of many ops and packing ones.
* simd-intrinsics.c (SimdIntrinsc): Rename the flags field to simd_version.
* simd-intrinsics.c (vector4f_intrinsics): Use simd_version field for sse3 ops.
* simd-intrinsics.c (vector4u_intrinsics): Rename to vector4ui_intrinsics and
add more ops.
* simd-intrinsics.c (simd_version_name): New function, returns the name of the
version as the enum in mini.h.
* simd-intrinsics.c (emit_intrinsics): Instead of having a special emit mode
for sse3 ops, check the simd_version field if present. This way the code
works with all versions of sse.
svn path=/trunk/mono/; revision=115610
* EnvelopedCms.cs, SignedCms.cs: Remove unneeded field
initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]
svn path=/trunk/mcs/; revision=115569
* EncryptedReference.cs, EncryptedType.cs: Remove unneeded field
initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]
svn path=/trunk/mcs/; revision=115568
* DataProtectionPermissionAttribute.cs, DataProtectionPermission.cs:
Remove unneeded field initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]
svn path=/trunk/mcs/; revision=115567
* ColorPalette.cs, ImageFormat.cs: Remove unneeded field
initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]
svn path=/trunk/mcs/; revision=115566
version header cannot be configured. MS corrected this documenation
error in .NET 2.0 SDK.
* HttpRuntimeConfig.cs: Added support for several undocumented options,
and removed support for options that are not supported or 2.0 only.
* HttpRuntimeConfigurationHandler.cs: Added support for several
undocumented options, and removed support for options that are not
support or 2.0 only.
svn path=/trunk/mcs/; revision=115553
* X11Dnd.cs: Try to call Application.DoEvents before returning in a
call to StartDrag, since we must fire DragDrop/DragLeave *before*
that, as .net does - instead of firing DragDrop/DragLeave *after* the
call to Control.DoDragDrop has completed. This is needed since at the
point of returning, we have sent related dnd ClientMessages, but we
need to wait for them to fire the wmf respective ones.
Fixes#325076.
svn path=/trunk/mcs/; revision=115542
* reflection.c: Implement DISABLE_REFLECTION_EMIT, remove some
#ifdef DISABLE_REFLECTION_SAVE stuff, only the exported functions need to
be #ifdef-ed out, the linker will remove the rest.
svn path=/trunk/mono/; revision=115524
* locales.c (string_invariant_compare_char): Optimization: do not
call g_unichar_type unless we actually need the information.
svn path=/trunk/mono/; revision=115508
* src/glib.h: Move g_strdup here, to consolidate all allocations
in this header, will help for merging the allocation work later.
svn path=/trunk/mono/; revision=115507
* src/gmodule-win32.c, src/gmisc-unix.c, src/gmisc-win32.c,
src/gmodule-unix.c: split functionality in platforms.
* src/goutput.c (g_logv): On some platforms, before we abort we
want to flush the stdout/stderr.
svn path=/trunk/mono/; revision=115504
* Split functionality that is operating system specific into
-win32.c, -unix.c and -posix.c
* Use g_malloc everywhere, and g_free, so that these can be easily
overwritten consistently.
svn path=/trunk/mono/; revision=115497
* object.c, class-internals.h: Also create remoting trampolines
for generic methods. Pass the domain to the remoting trampoline
creation function, too.
2008-10-10 Mark Probst <[email protected]>
* method-to-ir.c: Only do the fast virtual generic method call for
non-wrapper methods.
* mini.h, mini-trampolines.c: The new generic virtual remoting
trampoline handles virtual method calls via the vtable (as done by
the fast virtual generic method calls) to remoting proxies.
* mini.c (mono_jit_create_remoting_trampoline): For generic
methods reate a generic virtual remoting trampoline.
* mini-amd64.h: Enable fast virtual generic method calls again.
svn path=/trunk/mono/; revision=115493
* assembly.c: in mono_assembly_load_friends() take the assemblies lock
for the least possible amount of time (extending the fix in r113458).
svn path=/trunk/mono/; revision=115451
* class.c (mono_class_create_from_typedef): Retrofit to new type names.
2008-10-10 Rodrigo Kumpera <[email protected]>
* simd-intrinsics.c (emit_intrinsics): Retrofit to new type names.
svn path=/trunk/mono/; revision=115443
* UrlRoutingModule.cs : implement PostMapRequestHandler() and
PostResolveRequestCache() to work correctly in order.
Now it should practically work.
* UrlRoutingModuleTest.cs , TestStubTypes.cs : added test for
pipeline processing of requests.
svn path=/trunk/mcs/; revision=115424
* mini-ops.h: Added ops for packed and saturated math, shifts
and packing/unpacking.
* cpu-x86.md: Added descriptors for the above ops.
* mini-x86.c: Added code to emmit the above ops.
* simd-intrinsics.c: Added support for Vector16u and Vector8u.
svn path=/trunk/mono/; revision=115384
* class.c (mono_class_create_from_typedef): Added Vector8u and Vector16u
as possible simd intrinsic types.
Optimized the test to check for the common prefix first.
svn path=/trunk/mono/; revision=115368
* LinqDataSource.cs : implement ContextType/ContextTypeName.
* LinqDataSourceView.cs : some ExecuteSelect() implementation.
Cache type members which are from reflection.
svn path=/trunk/mcs/; revision=115363
* eval.cs: rename "<interactive>" to "{interactive}", to work
around a requirement in the compiler that this be a valid
filename, and in Windows it is not (433886).
svn path=/trunk/mcs/; revision=115360
2008-10-09 Everaldo Canuto <[email protected]>
* LinkLabelPainter.cs: Take Padding into account when drawing the linklabel
text.
svn path=/trunk/mcs/; revision=115347
2008-10-09 Everaldo Canuto <[email protected]>
* LinkLabel.cs: Take Padding into account when recreate link pieces.
svn path=/trunk/mcs/; revision=115346
* web.config: added the default monoSettings section which works around
an incompatibility between mcs and csc, mentioned in bug #433806
* machine.config: added definition of the monoSettings section to
the system.web group
svn path=/trunk/mono/; revision=115338
* MonoSettingsSection.cs: added - a section for mono-specific
settings.
2008-10-09 Marek Habersack <[email protected]>
* BuildManager.cs: if monoSettings section is found in the
system.web section in web.config, use its contents to augment
compiler configuration. Used to work around the issue reported in
bug #433806
2008-10-09 Marek Habersack <[email protected]>
* System.Web.dll.sources: added System.Web.Configuration_2.0/MonoSettingsSection.cs
svn path=/trunk/mcs/; revision=115337
2008-10-08 Everaldo Canuto <[email protected]>
* LabelPainter.cs: Use control.PaddingClientRectangle instead of calculate
rectangle with padding. Also break some lines that theres more than 120
characters.
2008-09-24 Jonathan Pobst <[email protected]>
* TabControlPainter.cs: Add 1 pixel to the tab text rectangle
to keep the text from getting cut off on XP.
[Fixes bug #428116]
2008-09-16 Jonathan Pobst <[email protected]>
* TabControlPainter.cs: Hook tab painting into ShowFocusCues.
2008-07-31 George Giolfan <[email protected]>
* TabControlPainter.cs: Added DrawScrollButton, GetButtonState.
2008-06-09 Carlos Alberto Cortez <[email protected]>
* TabControlPainter.cs: When calculating the display rectangle for
TabPage elements, don't include TabControlSelectedDelta.Y as part of
the page height, since it is only added ad the end (this is the way
it's done in TabControl). This way having a lot of pages with
Multiline as true doesn't add much extra space between the tab pages
labels and the actual tab pages area.
Fixes#393912.
2008-05-21 George Giolfan <[email protected]>
* TabControlPainter.cs: Added HasHotElementStyles.
2008-05-19 George Giolfan <[email protected]>
* TabControlPainter.cs: Refactored: Extracted DrawBackground.
2008-05-16 Carlos Alberto Cortez <[email protected]>
* TabControlPainter.cs: Use HotPrefix.Show as the value of
StringFormat.HotPrefix when drawing the tab text.
Fixes#355193.
2008-05-16 Carlos Alberto Cortez <[email protected]>
* TabControlPainter.cs: Use StringAlignment.Near as the value for
StringFormat.Alignment when drawing the tab text.
Fixes part of #352399.
2008-02-25 Jonathan Pobst <[email protected]>
* LabelPainter.cs: Take Padding into account when drawing
the label text.
2008-01-23 Everaldo Canuto <[email protected]>
* LabelPainter.cs: Added.
2008-01-22 Everaldo Canuto <[email protected]>
* LinkLabelPainter.cs: Change Draw method to virtual.
2008-01-22 Everaldo Canuto <[email protected]>
* LinkLabelPainter.cs: Added.
2007-09-04 Everaldo Canuto <[email protected]>
* CheckBoxPainter.cs: Adjust checkbox light color to ControlLightLight to
mimic win32 look. Fixes#82656 (2.0).
2007-08-28 Jonathan Pobst <[email protected]>
* RadioButtonPainter.cs: Added.
2007-08-22 Jonathan Pobst <[email protected]>
* CheckBoxPainter.cs: Added.
2007-08-19 Everaldo Canuto <[email protected]>
* TabControlPainter.cs: Fix regression in default padding x.
2007-08-19 Everaldo Canuto <[email protected]>
* TabControlPainter.cs: Fix border thickness, padding and tab text format to
be horizontal centralized. Fixes#82471.
2007-08-18 Everaldo Canuto <[email protected]>
* TabControlPainter.cs: Remove one vertical pixel from tab drawing, the
bottom line was one pixel more than needed.
2007-07-26 Everaldo Canuto <[email protected]>
* TabControlPainter.cs: Adjust vertical image position on tab. Fixes#81837.
2007-07-26 Everaldo Canuto <[email protected]>
* TabControlPainter.cs: Uses str_rect to draw text since it take in account
the image size. Fixes#81836.
2007-07-20 Jonathan Pobst <[email protected]>
* ToolStripPainter.cs: Patch from Rolf. We weren't painting a
Checked button as sunken. [Fixes bug #82151]
2007-07-16 Jonathan Pobst <[email protected]>
* ButtonPainter.cs: For flat buttons, draw mouse highlight when
button is focused. Remove random extra rectangle.
2007-07-16 Jonathan Pobst <[email protected]>
* ButtonPainter.cs: For Flat button, if no mouse over / press
backcolor is specified, calculate one from the normal backcolor.
2007-07-12 Jonathan Pobst <[email protected]>
* ButtonPainter.cs: For Flat button, if BorderSize is 0, don't
draw the rectangle. Setting the pen's width to 1 isn't good
enough, it still draws the border. [Fixes bug #82081]
2007-07-03 Jonathan Pobst <[email protected]>
* ToolStripPainter.cs: Added. This is where we paint toolstrips
using the ToolStripSystemRenderer.
2007-05-04 Andreia Gaita <[email protected]>
* TabControlPainter.cs: Use ControlPaint static methods
instead of ThemeEngine ones (seeing as they're there and
all :p )
2007-04-15 Andreia Gaita <[email protected]>
* ButtonPainter.cs: refactoring of the button drawing
that was originally located in ThemeElementsDefault
* TabControlPainter.cs: refactoring of the tabcontrol
drawing code originally located in the ThemeWin32Classic.
Also, fixes and changes:
- replaced most hardcoded values with properties to
make it easier to customize implementations.
- fixed left and right alignment drawing problems
- fixed flatbutton border drawing on left and
right alignment
- fixed#79619
- fixed paddings, spacings and positioning.
svn path=/trunk/mcs/; revision=115333
2008-10-08 Everaldo Canuto <[email protected]>
* Control.cs: Implement internal property PaddingClientRectangle, it will be
useful for drawing controls that must take care about Padding property.
svn path=/trunk/mcs/; revision=115332
* profiler.c (simple_shutdown): Don't call mono_thread_attach() on
Win32. Should fix#432388 for most cases until we have the new
profiler on Win32.
svn path=/trunk/mono/; revision=115330
* CompilerCollection.cs: use all the compiler information from
config file when adding new CompilerInfo. Fixes bug #433802
svn path=/trunk/mcs/; revision=115329
* WebTest.cs: made the Host property internal. It is used to
access the host's application domain when necessary in some
tests.
* MyTemplateControls.cs: added
2008-10-09 Marek Habersack <[email protected]>
* NunitWebResources/TemplateControlParsingTest.aspx: added
2008-10-09 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: compile the file on 1.1 as well.
Added a test for template parsing in compound controls.
svn path=/trunk/mcs/; revision=115324
* OdbcDataReader.cs: apply patch from Steve ? that fixes bug #433741.
GetBytes() was returning only the last byte.
svn path=/trunk/mcs/; revision=115305
* TableLayout.cs: If multiple controls are set to the same cell,
flow the additional ones to other empty cells. [Fixes bug #433531]
svn path=/trunk/mcs/; revision=115259
* HttpConnection.cs:
* HttpListenerResponse.cs: fix typo that caused the "connection close"
header to be sent. Do not close the socket when the encoding is not
chunked and reuse is possible.
Fixes bug #433371.
svn path=/trunk/mcs/; revision=115250
* BindingSource.cs: Make item_type internal so we can access it in DGV.
* DataGridView.cs: Add support for autogenerating columns from a
BindingSource.
svn path=/trunk/mcs/; revision=115247
* HttpWebRequest.cs: if GetRequestStream has already been called,
return the same stream that we returned in the first call.
Fixes bug #429200.
svn path=/trunk/mcs/; revision=115225
* Variant.cs : Adding the BRECORD field to ensure the right size on
a 64-bit OS. 32-bit 16 bytes, 32-bit 24 bytes.
Contributed under MIT/X11 license.
svn path=/trunk/mcs/; revision=115219
* metadata.c (mono_metadata_generic_context_hash): Call generic_inst_hash
instead of using inst->id so the hash is stable for AOT.
svn path=/trunk/mono/; revision=115218
* TemplateControlCompiler.cs: templates must be instantiated even
for builders which process children as properties.
svn path=/trunk/mcs/; revision=115217
* mini.c: add a workaround for a common screwup that ends up blamed
to mono (other processes blocking signal delivery).
svn path=/trunk/mono/; revision=115213
* ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
evaluation now. This makes it support complex expressions.
2008-10-08 Marek Habersack <[email protected]>
* DataBinder.cs: in Eval expression needs to be trimmed before
checking whether it's an empty string.
GetIndexedPropertyValue must explicitly look for the "Item"
property, the lack of the DefaultMember attribute on type must not
throw exceptions.
2008-10-08 Marek Habersack <[email protected]>
* ControlParameterTest.cs: added a test for ControlParameter
evaluating a complex property expression.
svn path=/trunk/mcs/; revision=115193
* mono-compiler.h (MONO_THREAD_VAR_OFFSET): Apply a patch from
the fedora packagers to the IA64 MONO_THREAD_VAR_OFFSET definition.
svn path=/trunk/mono/; revision=115182
* Mono.Data.SqlExpressions: Created directory.
2006-07-18 Dean Brettle <[email protected]>
* SqlTest.cs: Added test for inserting zero-length varbinary.
svn path=/trunk/mcs/; revision=115172
* System.Web.UI.HtmlControls/HtmlImage.cs: Do not render the src
attribute if it is null or empty. An empty src attribute makes
browsers download the current page url as the url of the image.
* Test/System.Web.UI.HtmlControls/HtmlImageTest.cs: Add test to
make sure the src attribute is not rendered when it is empty.
svn path=/trunk/mcs/; revision=115158
* AssemblyBuilder.cs: use CodeBase to get to the original assembly
path because Location might point the the shadow copy. Bug #409646
and others fixed.
svn path=/trunk/mcs/; revision=115151
* appdomain.c:
* icall.c: create a .ini file for shadow-copied assemblies that
contains the location of the original assembly. Use this to return the
proper CodeBase for shadow-copied assemblies. Fixes bug #323606.
Also fix the number of '/' for windows when returning the CodeBase.
Fixes bug #430920.
svn path=/trunk/mono/; revision=115146
* method-to-ir.c (mono_method_to_ir2): Clear ins_flag on all code paths
in the LDFLD/STFLD opcodes. Fixes#432673.
* iltests.il.in: Add a new test.
svn path=/trunk/mono/; revision=115144
* marshal.c (cominterop_get_ccw) : Fixing a copy paste error from r115126.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=115131
* marshal.c (cominterop_get_native_wrapper) : Adding a call to mono_class_setup_vtable
if if the class vtable needs initialized.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=115127
* marshal.c (cominterop_get_native_wrapper_adjusted, cominterop_get_ccw) :
Adding default MonoMarshalSpecs for COM methods. OBJECT->STRUCT,
STRING->BSTR, and CLASS->INTERFACE.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=115126
* Vector4u.cs: Mask type as not CLS compliant.
* Vector4c.cs: Mask methods returning Vector4u as not CLS compliant.
svn path=/trunk/mcs/; revision=115119
mini-x86.c (mono_arch_cpu_optimizazions): Detect sse3 and now
only disable simd intrinsics if no sse2 is detected.
* optflags-def.h: Added sse3.
* simd-intrinsics.c: Avoid generated sse3 intrinsics if the optimization
is disabled.
svn path=/trunk/mono/; revision=115114
* DataGridView.cs: Always rebind to the datasource, as things may
have changed in it that we aren't capturing yet.
svn path=/trunk/mcs/; revision=115100
* DataGridViewTextBoxCell.cs: Don't default to VerticalCenter font
drawing mode. If we are top aligned, give ourselves some top padding.
svn path=/trunk/mcs/; revision=115097
* ServicePointManager.cs: better handling of possible collisions of the
hash for schema/host/port. Fixes bug #417891.
svn path=/trunk/mcs/; revision=115096
* Mono.Cecil/ReflectionReader.cs: don't cache generic typespecs,
as some compiler reuse generic instance signatures with different
generic contexts.
svn path=/trunk/mcs/; revision=115089
* Math.cs: implemented the away from zero rounding for the Round
(double, int, MidpointRounding) overload.
2008-10-07 Marek Habersack <[email protected]>
* MathTest.cs: added tests for rounding doubles with truncation in
the away from zero mode.
svn path=/trunk/mcs/; revision=115081
* sysmath.h: changed the declaration of the
ves_icall_System_Math_Round2 icall by adding an extra
away_from_zero parameter.
* sysmath.c (ves_icall_System_Math_Round2): added support for
away from zero rounding. The icall now takes an extra boolean
parameter to signal that away from zero operation is requested.
svn path=/trunk/mono/; revision=115080
* mini-amd64.c (mono_arch_emit_outarg_vt) : In the ArgValuetypeAddrInIReg case,
add a call to mono_call_inst_add_outarg_reg for the arg->dreg to make sure that no
other vreg is allocated to that hreg.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=115031
* X11Dnd.cs: When firing the default dnd enter/leave events, fire the
events on the control under the mouse pointer, instead of firing them
on the window generating the dnd operation. To achieve this re-use the
code used to get the window under the pointer when getting MouseMove
events.
Fixes#381876.
svn path=/trunk/mcs/; revision=115030
* X11Dnd.cs: Don't check that that the window sending the dnd events
is the owner of the selection. Although Gtk+ sets it that way, it's
not a requirement of the XDnd protocol, and Qt doesn't seem to do it.
So, just as Gtk+ does, we set our window sending the dnd events as the
owner of the selection, but don't check it when receiving them. This
should fix interoperability with Qt/Kde.
Fixes#324251.
svn path=/trunk/mcs/; revision=115023
* mini-ops.h: Same.
* mini-x86.h: Enable mono_arch_decompose_opts if simd intrinsics are enabled.
* mini-x86.c (mono_arch_decompose_opts): Decompose float to int conversion
using SSE2 aware opcodes.
* mini-x86.c (emit_float_to_int): Disable the SSE2 optimization if OPT_SIMD
is enabled, this code path is only reachable if conversion ops are emmited after
mono_method_to_ir.
* mini.h: Added MonoCompile::fconv_to_r8_x_var to hold the float to int var.
This optimization saves 6 bytes per conversion against the old version.
svn path=/trunk/mono/; revision=115014
* aot-compiler.c (compile_method): Don't skip methods referencing
generic methods without a corresponding entry in token_info_hash, since
encode_method_ref () can handle all generic methods now.
* method-to-ir.c (mono_save_token_info): Don't save the token info if a
generic context is set.
svn path=/trunk/mono/; revision=115011
* Activator.cs (CreateInstance): Don't return the return value of the
ctor.Invoke (object, ...) overload since it is null, return 'newOb' instead.
svn path=/trunk/mcs/; revision=115005
* mini-amd64.h: Temporarily disabled fast virtual generic method
calls because it breaks the System.Runtime.Remoting tests.
svn path=/trunk/mono/; revision=114994
* marshal.c (mono_marshal_get_delegate_begin_invoke): Put the wrapper in
the delegate klass so it can work with full-aot.
(mono_marshal_get_delegate_end_invoke): Ditto.
(mono_marshal_get_delegate_invoke): Ditto.
svn path=/trunk/mono/; revision=114976
* TestColor.cs: Add test case, from Gert Driesen, for bug #410693
* TestRectangleF.cs: Add test case, from Imie Nazwisko, for bug #431587
svn path=/trunk/mcs/; revision=114972
* Color.cs: Fix Color serialization by changing 'value' visibility
to private and make everyone access it thru an internal property.
This also simplify the A, R, G and B properties and probably covers
a few other cases where a similar hack would have been required.
[Fix bug #410693]
* KnownColors.cs: Assign Color.Value property and not the value field.
svn path=/trunk/mcs/; revision=114971
* gc.c, attach.h, attach.c: remove a bad pattern:
add_finalizer_callback () is not implemented correctly, it can't
without adding more overhead to the finalizer loop and it's not
even needed, since we know exactly what we need to call, so there is
no need to do so through an expensive function pointer.
svn path=/trunk/mono/; revision=114944
* mini-ppc.c: mono_arch_flush_icache () cast pointer using gsize for
64 bit safety (from Olaf Hering and Andreas Färber).
svn path=/trunk/mono/; revision=114929
* UTF8Encoding.cs: rewritten InternalGetByteCount () and
InternalGetBytes (): among other things this versions are
10% to 60% faster, depending on input type and size.
svn path=/trunk/mcs/; revision=114925
* Dictionary.cs (Clear): Clear the linkSlots array as well, as
Enumerator.MoveNext () depends on it. Fixes#432441.
svn path=/trunk/mcs/; revision=114915
* mini-trampolines.c (mono_aot_trampoline): Delegate processing to
mono_magic_trampoline () if aot_get_method_from_token () fails. Remove
unused virtual call support code.
* aot-runtime.c (decode_method_ref): Add a 'no_aot_trampoline' out argument.
* aot-runtime.c (mono_aot_get_method_from_vt_slot): Return NULL for methods
which can't use aot trampolines.
(decode_patch): Don't create aot trampolines for methods which can't use
them.
* aot-compiler.c (encode_method_ref): Add a marker for methods which can't
use aot trampolines.
* mini.h: Bump AOT image format version.
svn path=/trunk/mono/; revision=114912
* method-to-ir.c (mono_method_to_ir2): Pass cil_method instead of cmethod
to save_token_info () since cmethod is inflated for constrained calls.
svn path=/trunk/mono/; revision=114889
* CustomizableFileSettingsProvider.cs: when reading application or
user settings, only read those settings appropriate for the context.
This avoids duplicate key errors when 2 different groups have a key
with the same name.
* ApplicationSettingsBase.cs: the context is a hashtable with several
values set upon creation: SettingsKey, GroupName and
SettingsClassType.
Fixes bug #432466.
svn path=/trunk/mcs/; revision=114853
* Makefile.am: Add build rules for ppc64.
This avoids the build failing at pedump with unresolved symbols
due to lack of arch_sources. Instead it will now fail earlier
due to lack of cpu-ppc64.md.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=114845
* gc.c: Define a dummy version of mono_gc_add_finalizer_thread_callback ()
for the no-gc case.
* attach.c (mono_attach_init): Remove the #ifdef.
svn path=/trunk/mono/; revision=114843
* ApplicationSettingsBase.cs: honor the IsSynchronized value in the
Context, Properties, PropertyValues and Providers. All of them might
initialize an instance field for the class. Hopefully this fixes some
nullrefs.
svn path=/trunk/mcs/; revision=114842
* attach.c (mono_attach_init): Don't use
mono_gc_add_finalizer_thread_callback when compiling without GC.
Fixes#432306.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=114841
* HttpApplication.cs: make sure we release the resources used by the
request and/or the response at the end of the request.
Fixes bug #430040.
svn path=/trunk/mcs/; revision=114832
* flowanalysis.cs (MyBitvector.MakeShared): Rename from 'Shared'
property. Add a 'count' hint about the use of the shared vector.
Ensure that we don't leak out dirty bits.
(UsageVector.MergeChild): Throw away information about variables
in child vectors.
Based on patch and analysis by Moritz Kroll <[email protected]>.
svn path=/trunk/mcs/; revision=114825
* mini-amd64.c (mono_arch_emit_call): Support stack arguments for
tail calls.
* iltests.il.in: Add test case for tail call with many arguments.
svn path=/trunk/mono/; revision=114807
* method-to-ir.c (mono_method_to_ir2): Add an !cfg->compile_aot assert
to the fast virtual generic method code until the aot case is fixed.
svn path=/trunk/mono/; revision=114772
A fix for bug #431746
* iterators.cs, anonymous.cs: Re-initialize hoisted iterator
parameters when iterator is created.
svn path=/trunk/mcs/; revision=114764
* mini-amd64.c, mini-amd64.h: Implement generic virtual method
thunks.
2008-10-03 Mark Probst <[email protected]>
* generic-virtual.2.cs: Iterate the test to make the generic
virtual method chunks kick in.
svn path=/trunk/mono/; revision=114756
This patch land initial JIT support for simd intrinsics.
* mini-x86.h: Added new define to make --enable_minimal work on x86.
* Makefile.am: Added simd-intrinsics.c
* simd-intrinsics.c: New file with simd instrinsic related
code.
* cfold.c (mono_constant_fold_ins2): Fold XZERO.
* cpu-x86.md: Add simd related instructions.
* driver.c: Added MONO_OPT_SIMD to the default set of optimizations.
* driver.c: Added two new --regression variants.
* ir-emit.h (MONO_EMIT_NEW_VZERO): Emit XZERO if the type is a simd intrinsic.
* local-propagation.c (mono_local_cprop2): Eliminate useless XMOVE.
* local-propagation.c (mono_local_deadce): Use new macro MONO_IS_NON_FP_MOVE and
extract some complicated logic to helper functions.
* method-to-ir.c (mono_type_to_regmove): Handle simd intrinsics.
* method-to-ir.c (mini_emit_inst_for_method): Emit simd intrinsics.
* method-to-ir.c (mono_handle_global_vregs): If a simd intrinsic was found, apply
the specialized simplification pass.
* method-to-ir.c (mono_spill_global_vars): Use new macro.
* mini-codegen.c: Added SIMD constants to all regbanks arrays.
* mini-codegen.c: Added reg_bank_table_init to initialize the reg desc -> bank
table.
* mini-codegen.c: Define a version of the reg_bank macro that uses desc_to_reg_type
if MONO_ARCH_NEED_SIMD_BANK is defined.
* mini-ops.h: Added the new simd ops.
* mini-x86.c: Added mono_arch_xregname.
* mini-x86.c (mono_arch_cpu_optimizazions): Disable MONO_OPT_SIMD if SSE3 is not detected.
* mini-x86.c (mono_arch_output_basic_block): Add simd related opcodes.
* mini-x86.h: Define simd related MONO_ARCH macros.
* mini.c (mono_type_to_load_membase): Handle simd intrinsics.
* mini.c (mono_type_to_store_membase): Handle simd intrinsics.
* mini.h: Added new macros MONO_IS_NON_FP_MOVE, MONO_IS_REAL_MOVE, MONO_IS_ZERO and
MONO_CLASS_IS_SIMD to deal with simd related IR.
* mini.h (MonoInst): Added spill_var to the backend union.
* mini.h (MonoCompile): Added uses_simd_intrinsics and iconv_raw_var.
* mini.h: Added forward declarations of the new simd fuctions.
* optflags-def.h: Added new optimization names SIMD.
* regalloc.c (mono_regstate_reset): Set next vreg to be the max value of the 3 reg banks.
* regalloc.h: Added support for working with 3 register banks.
* regalloc.h (MonoRegState): Added xsymbolic field if a third regbank is required.
* ssa2.c (mono_ssa_deadce2): Use new MONO_IS_ZERO macro.
svn path=/trunk/mono/; revision=114753
* class-internals.h (MonoClass): Added simd_type bit field.
* class.c (mono_class_create_from_typedef): Check if type is a simd
intrinsic.
svn path=/trunk/mono/; revision=114752
* object.c (mono_method_add_generic_virtual_invocation): Only add
instantiations to the thunk whose count is at least as large as
the threshold.
svn path=/trunk/mono/; revision=114744
* TemplateParser.cs: make sure the generated class name is a valid
language independent identifier. Fixes bug #431622
2008-10-03 Marek Habersack <[email protected]>
* BuildManager.cs: if an assembly fails to build out of a batch of
files, extract the virtual path that was requested by the client
and attempt to compile it alone.
svn path=/trunk/mcs/; revision=114732
* Test/System.Reflection/ConstructorInfoTest.cs: enable abstract class
test.
* System.Reflection/MonoMethod.cs: throw a MemberAccessException when
trying to invoke a constructor creating an instance of an abstract
class. Return null when an instance of an object was passed as a
parameter when invoking a .ctor.
Fixes bug #324185.
svn path=/trunk/mcs/; revision=114720
* icall.c: changed the Type of the exception thrown when trying to
invoke a constructor on an abstract class. Part of the fix for bug
#324185.
svn path=/trunk/mono/; revision=114719
* aot-compiler.c (emit_exception_debug_info): Use jinfo->used_regs instead of
cfg->used_int_regs, since the two are different on arm.
svn path=/trunk/mono/; revision=114713
* DataGridViewCell.cs: Add helper methods to convert Alignment
to TextFormatFlags and align rectangles.
* DataGridViewTextBoxCell.cs: Use Alignment when painting text.
* DataGridViewImageCell.cs: Use Alignment when painting the image.
svn path=/trunk/mcs/; revision=114707
* DataGridView.cs: Make OnCellValueNeeded internal.
* DataGridViewCell.cs: Raise the CellValueNeeded event so the
user can supply their own value if they choose.
svn path=/trunk/mcs/; revision=114703
* class.c, class-internals.h (mono_method_get_vtable_index): New
function which returns the index into the vtable and properly
handles inflated virtual generic methods.
2008-10-02 Mark Probst <[email protected]>
* method-to-ir.c, inssel.brg, mini-trampolines.c: Use
mono_method_get_vtable_index() to get the vtable index.
svn path=/trunk/mono/; revision=114701
A fix for bug #375262
* statement.cs: Refactor ArrayForeach to be usable with string
indexer. Optimized single dimentional arrays foreach.
svn path=/trunk/mcs/; revision=114690
* ToolStripItem.cs: Check to make sure the owner is actually
changing in InternalOwner before doing any work. Fixes some
failing tests.
svn path=/trunk/mcs/; revision=114676
* method-to-ir.c (mono_method_to_ir2): Don't create native
wrappers for array methods, because they're never called (and if
they were called they wouldn't work).
svn path=/trunk/mono/; revision=114671
* method-to-ir.c (mono_method_to_ir2): Array methods are
special-cased and must not be invoked indirectly via the (M)RGCTX
when generic sharing is turned on. Fixes#431413.
2008-10-02 Mark Probst <[email protected]>
* bug-431413.2.cs: Test for bug #431413 (multidimensional generic
arrays).
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=114668
* ScriptManager.cs: Cosmetical output change - the hidden fields are output after the
update panels contents is sent in an async request. It makes the
async response look similar to the MS.NET's one but, more
importantly, makes debugging easier.
svn path=/trunk/mcs/; revision=114660
* ScriptManager.cs: reverting revision 114552 since the real bug
was somewhere else. The correct fix is to make sure UpdatePanels
which output something _or_ have been named in the POST request as
requiring a refresh are marked as such. Only in that situation
HasBeenRendered returns true (as it should for those panels)
svn path=/trunk/mcs/; revision=114654
* InotifyWatcher.cs: IN_CLOSE_WRITE is triggered when a writable file is
closed, but that does not mean that the file was actually modified.
Fixes bug #323188.
svn path=/trunk/mcs/; revision=114646
* object.c, domain.c, object-internals.h, domain-internals.h:
Generalize IMT thunk machinery to also handle thunks for virtual
generic method invokes. When a virtual generic method is invoked
more than a number of times we insert it into the thunk so that it
can be called without lookup in unmanaged code.
* generic-sharing.c, class-internals.h: Fetching a
MonoGenericInst* for a method from an (M)RGCTX.
2008-10-01 Mark Probst <[email protected]>
* method-to-ir.c: When generic sharing is active, call
non-interface virtual generic methods via the standard trampoline.
* mini-trampolines.c: Handle virtual generic shared methods.
* mini.h, mini-x86.c, mini-x86.h: New argument for
mono_arch_build_imt_thunk() which is non-NULL for virtual generic
method thunks and which is the trampoline to call if the lookup
fails. Enable the virtual generic method thunk for x86.
* mini-amd64.c, mini-arm.c, mini-ia64.c, mini-sparc.c,
mini-ppc.c (mono_arch_build_imt_thunk): Add the additional
argument but assert that it's NULL, because these archs don't yet
implement the virtual generic method thunk. Changes in the IMT
thunk data structures.
svn path=/trunk/mono/; revision=114630
* DataGridViewColumnHeaderCell.cs: Correctly calculate style.
* DataGridView.cs: Use a column header's inherited style instead
of just using the default.
svn path=/trunk/mcs/; revision=114628
* ToolStripItem.cs: When the user sets Owner, we need to remove
it from its previous owner and then add it to the new owner's
item collection. Also, create InternalOwner, so we can set the owner
that doesn't do this new stuff.
* ToolStripItemCollection.cs: Use InternalOwner instead of Owner.
svn path=/trunk/mcs/; revision=114603
* anonymous.cs: Use full type parameters of parent generic
containers. Removed unnecessary AddParentStoreyReference call.
svn path=/trunk/mcs/; revision=114602
* ToolStripItem.cs: When our parent changes, recalculate our text
size, since we may be getting our Font from our parent. When our
owner's Font changes, recalculate ourselves as we may be using
that font.
svn path=/trunk/mcs/; revision=114600
* branch-opts.c (mono_if_conversion): Add back the 'optimize range checks'
optimization from the current JIT.
* method-to-ir.c (mini_emit_inst_for_method): Decompose String.Length
later in decompose_array_access_opts () to allow more optimizations.
* method-to-ir.c (mono_handle_soft_float): Rename this to
mono_decompose_soft_float () for consistency.
svn path=/trunk/mono/; revision=114597
* branch-opts.c (mono_if_conversion): Add back the 'optimize range checks'
optimization from the current JIT.
* method-to-ir.c (mini_emit_inst_for_method): Decompose String.Length
later in decompose_array_access_opts () to allow more optimizations.
* method-to-ir.c (mono_handle_soft_float): Rename this to
mono_decompose_soft_float () for consistency.
svn path=/trunk/mono/; revision=114596
* BuildEngine.cs (.ctor): Replace 'projectFile' param with 'project'.
(BuildProjectFile): If filename is null (project.LoadXml) then use
engine.BuildProject
* BuildTask.cs (InitializeTask): Track api change.
* Expression.cs (Parse): Skip empty entries in the expression.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* ProjectTest.cs: Refactor BuildProjectFile tests. Add tests for loading
project from files and xml string.
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* CallTarget.cs (Execute): Implement.
In tools/xbuild:
* xbuild/Microsoft.Common.tasks: Add CallTarget and AssignTargetPath task.
svn path=/trunk/mcs/; revision=114590
* marshal.c (emit_marshal_string): Applied a variant of a patch by
tom hindle <[email protected]>. Fix byref native-to-managed string
marshalling. Fixes#431304.
svn path=/trunk/mono/; revision=114585
* marshal.c (emit_marshal_variant) : Change the attribute checks to
handle when ref is specified without In or Out.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=114583
2008-10-01 Everaldo Canuto <[email protected]>
* MenuAPI.cs: Select the first option of a popup when opening the popup via
return key. [Fixes bug #413792].
svn path=/trunk/mcs/; revision=114578
* method-to-ir.c (save_cast_details): Extract the cast details saving code
into a separate function.
(reset_cast_details): Ditto.
(handle_unbox): Save cast details. Fixes#431254.
svn path=/trunk/mono/; revision=114577
A fix for bug #324702
* class.cs: Use better shorter names for explicit interface member
implementations.
* ecore.cs, typemanager.cs: Convert only mscorlib predefined names.
svn path=/trunk/mcs/; revision=114571
* ToolStripItem.cs: Make Font, BackColor, and ForeColor be
ambient properties. (Get their value from their parents if
values haven't been set.)
svn path=/trunk/mcs/; revision=114570
* ToolStripSystemRenderer.cs: Call overridden methods' bases
after our logic, so users can do painting by handling the events.
Currently, we draw over any user painting.
svn path=/trunk/mcs/; revision=114563
* ToolStripProfessionalRenderer.cs: Call overridden methods' bases
after our logic, so users can do painting by handling the events.
Currently, we draw over any user painting.
svn path=/trunk/mcs/; revision=114562
* Mono.Cecil.dll.sources
* Mono.Cecil.csproj
* Mono.Cecil/AssemblyStripper.cs
* Mono.Cecil.Cil/CodeWriter.cs
* Mono.Cecil.Metadata/MetadataWriter.cs: add a new AssemblyStripper
class to be used by a tool to empty method bodies for assemblies
that have been AOTed.
svn path=/trunk/mcs/; revision=114559
A fix for bug #421101
* expression.cs, statement.cs, ecore.cs: Use IFixedExpression
interface to check for fixed fixed-buffers.
svn path=/trunk/mcs/; revision=114554
* ScriptManager.cs: be more careful when rendering script blocks
and checking if the control's page matches the current
page. Control passed to script registration methods doesn't
necessarily have to be a Page itself and if it's not we need to
find the owning page of a script block's control.
svn path=/trunk/mcs/; revision=114552
* CapabilitiesResult.cs: added support for the "browsers"
capability - a collection of matching browser ids.
* nBrowser/Node.cs: store matching browser ids in the capabilities
collection (to support IsBrowser correctly)
2008-10-01 Marek Habersack <[email protected]>
* BrowserCapabilities.cs: IsBrowser needs to compare browser names
case insensitively.
svn path=/trunk/mcs/; revision=114551
* mini-amd64.c mini-x86.c mini-arm.c mini-ppc.c method-to-ir.c: Remove
the workaround for byref being set on sig->ret, this does not seem to
happen any more. Add an assert instead.
svn path=/trunk/mono/; revision=114538
* HttpServerChannel.cs: make sure the channel data object is set
when the port is auto-assigned.
* HttpClientTransportSink.cs: Use the __RequestUri header for the
request's URI. Includes workaround for bad __RequestUri values.
Fixes Bug 378713 - [regression] Remoting - HttpChannel.
svn path=/trunk/mcs/; revision=114530
* TreeNode.cs, TreeView.cs: Move logic that determines the node
image to draw to TreeNode. Give Index/Keys put on the node
precedence over the global one for the TreeView.
svn path=/trunk/mcs/; revision=114515
* loader.c (mono_get_method_constrained): Don't expand method with
the class's context, because it's already a method of that class.
2008-09-30 Mark Probst <[email protected]>
* generic-constrained.2.il: Test case for the constrained. prefix
with generic interfaces.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=114513
* TreeNode.cs: Setting ImageIndex or ImageKey should reset the other.
2008-09-30 Jonathan Pobst <[email protected]>
* TreeNodeTest.cs: Test for ImageKey/ImageIndex plus flush some tests
sitting in my local tree.
svn path=/trunk/mcs/; revision=114508
* ListView.cs: implemented all the events.
CreateChildControls works with non-ICollection data sources now.
CreateItemsWithoutGroups now counts items placed in the container
and stores the container in a field, so that RemoveItems can
properly delete the child controls.
Implemented the RemoveItems method.
Implemented Load/SaveControlState.
Implemented LoadViewState.
Implemented OnBubbleEvent.
Implemented all the On* methods.
* ListViewCommandEventArgs.cs: implemented the CommandSource and
Item properties.
* ListViewItemEventArgs.cs: implemented the Item property.
svn path=/trunk/mcs/; revision=114477
* System.Web.Extensions.Design_1.0.dll.sources: added
* Makefile: added
2008-09-30 Marek Habersack <[email protected]>
* System.Web.Extensions_1.0.dll.sources: added
* Makefile: added
2008-09-30 Marek Habersack <[email protected]>
* Makefile (LIB_MCS_FLAGS): added -define:NET_3_5 as the 3.5 parts
of the assembly are now built as part of the 2.0 profile.
2008-09-30 Marek Habersack <[email protected]>
* Makefile (net_2_0_dirs): added System.Web.Extensions_1.0 and
System.Web.Extensions.Design_1.0
(net_3_5_dirs): removed System.Web.Extensions, the 3.5 version is
now built in the 2.0 profile.
svn path=/trunk/mcs/; revision=114471
* Page.cs: Implemented the UniqueFilePathSuffix and MaxPageStateFieldLength
properties.
Some coding style changes.
svn path=/trunk/mcs/; revision=114432
* Page.cs: EnableViewState is initialized from the web
configuration.
ViewState is saved only if EnableViewState is true for the page.
Optimized SavePageControlState implementation.
svn path=/trunk/mcs/; revision=114431
* TabControl.cs: When expanding the tab -because it's selected now-,
using Right alignment, instead of adding some selected delta value to
the X origin, substract it, so it gets a location adjacent to the panel,
instead of be more separated.
Fixes#409170.
svn path=/trunk/mcs/; revision=114424
* Type.cs (MakeGenericType): Only use UnderlyingSystemType for user types.
This must exclude TypeBuilder and EnumBuilder. Fixes#430508.
svn path=/trunk/mcs/; revision=114398
* X11Dnd.cs: source and related fields should be set to IntPtr.Zero,
as well as the other static fields, to avoid using their previous
values my mistake when handling the dnd events. This should avoid
handling any status event after the drop has been finalized/cancelled.
svn path=/trunk/mcs/; revision=114378
* HttpApplication.cs: do not assume the passed IAsyncResult is a
is a valid object in async_handler_complete_cb. Fixes bug #430488
svn path=/trunk/mcs/; revision=114373
* OutputCacheModule.cs: invalidate cache entries when the
corresponding source file (.as?x) is recompiled by hooking up to
System.Web.Compilation.BuildManager's build cache entry removal
event. Fixes bug #429926
2008-09-29 Marek Habersack <[email protected]>
* BuildManagerRemoveEntryEventHandler.cs: added
* BuildManager.cs: added a static event to notify interested
parties when an entry is removed from the buildCache. Fixes bug
#429926.
svn path=/trunk/mcs/; revision=114369
* eval.cs (InteractiveBase): The quit command now just sets a
flag, instead of calling Environment.Exit(), it is milder on
embedded hosts.
svn path=/trunk/mcs/; revision=114353
* DragAndDropTest.cs: Simplify some of the helper code, as well as
adding a new test for dnd operations without mouse movement.
svn path=/trunk/mcs/; revision=114348
* X11Dnd.cs: We have to send a dnd enter event as soon as we start the
operation, instead of waiting until we get any movement - this will
help us to have the data available in case no movement was detected
and _still_ we have to fire DragEnter and DragLeave/DragDrop events.
Finally add a windows.forms-only fallback to fire the mentioned events
if no movement at all was detected, just like .net does.
Fixes#381876.
svn path=/trunk/mcs/; revision=114347
* NetworkInterface.cs: special case for loopback interfaces so that
their a physical interface address is PhysicalInterfaceAddress.None.
Fixes bug #422118.
svn path=/trunk/mcs/; revision=114343
* XmlDataSource.cs: Make sure the result of the multiplication is a
long (not an integer casted into a long since it could overflow).
[Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
svn path=/trunk/mcs/; revision=114339
* method-to-ir.c (mono_method_to_ir2): Extract the ldloca + initobj
optimization to a new function (emit_optimized_ldloca_ir) and enable
it for both ldloca and ldloca_s.
svn path=/trunk/mono/; revision=114335
* HttpRequest.cs: Make sure the result of the multiplications are
longs (not integers casted into longs since they could overflow).
[Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
svn path=/trunk/mcs/; revision=114333
* Enumerable.cs: Add missing cast Average on IEnumerable<long?> to
ensure the result is not truncated.
[Found using Gendarme's ReviewCastOnIntegerDivisionRule]
svn path=/trunk/mcs/; revision=114330
* String.cs (ReplaceUnchecked): Avoid any unnecessary work and
string allocations by returning early when no oldValue was found.
2008-09-08 Juraj Skripsky <[email protected]>
* StringBuilder.cs (Replace): Return early when no oldValue was
found. Avoid extra string allocations.
svn path=/trunk/mcs/; revision=114321
* driver.c (mono_main): Add a workaround for shutdown crashes seen on
amd64, where the libc stack unwinder encounters stack frames referring to
native code in unmapped memory.
svn path=/trunk/mono/; revision=114307
* repl.cs: Rename AttachedCSharpShell to ClientCSharpShell.
Make most of the CSharpShell code into instance code, so that we
can override the behavior on ClientCSharpShell and reuse most of
the logic there.
CSharpShell now has a virtual `Evaluate' that is used to implement
the evaluator.
Implemented a new more robust protocol for sending the information
back and forth.
Now the results are show on the client, and come prettyprinted.
svn path=/trunk/mcs/; revision=114300
* mini-arm.h driver.c: Print the fp model when using --version on arm. Also,
add a check that one of the ARM_FPU_ constants is defined.
svn path=/trunk/mono/; revision=114299
* method-to-ir.c (mono_method_to_ir2): Fix aot support for the
sharing of vtypes.
* ir-emit.h: Add a comment to NEW_PCONST.
svn path=/trunk/mono/; revision=114295
* mini-exceptions.c (mono_altstack_restore_prot): Fix a warning.
* mini.h (MonoJitDomainInfo): Move some fields here from MonoDomain.
* mini.c aot-runtime.c method-to-ir.c driver.c mini-trampolines.c: Update
after the changes to MonoJitDomainInfo.
svn path=/trunk/mono/; revision=114293
* mini-exceptions.c (mono_altstack_restore_prot): Fix a warning.
* mini.h (MonoJitDomainInfo): Move some fields here from MonoDomain.
* mini.c aot-runtime.c method-to-ir.c driver.c mini-trampolines.c: Update
after the changes to MonoJitDomainInfo.
svn path=/trunk/mono/; revision=114292
* domain-internals.h (struct _MonoDomain): Move most fields used only by
the JIT do MonoJitDomainInfo in ../mini/mini.h.
* domain.c: Remove initialization/cleanup of the removed fields.
svn path=/trunk/mono/; revision=114291
* ThemeWin32Classic.cs: When drawing a status bar panel, don't
return early if the text is empty because the icon doesn't get
drawn then. [Fixes bug #428113]
svn path=/trunk/mcs/; revision=114286
* method-to-ir.c (mono_emit_rgctx_method_call_full): Must also
work on archs which don't have generic sharing implemented, only
without the vtable_arg.
svn path=/trunk/mono/; revision=114271
* mini.c: Don't produce trampolines to delegate ctor icall
wrappers but compile them upfront.
2008-09-26 Mark Probst <[email protected]>
* generic-delegate-ctor.2.cs: Test case for delegate ctor icall
wrappers.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=114206
* BuildManager.cs: when creating a cache entry for a virtual path,
make it depend on a list of files built recursively from all the
virtual path's dependencies. Fixes bug #430114
svn path=/trunk/mcs/; revision=114205
* mini-amd64.c, mini-amd64.h, tramp-amd64.c: amd64 support code for calling a
runtime-set function when going back to managed code. Currently this
is used to set back the protection on the soft ovf pages and/or to
throw the stack overflow exception that happened in unmanaged code.
svn path=/trunk/mono/; revision=114190
* OutputCacheModule.cs: Consistently use InternalCache for
CachedRawResponse items and Cache for CachedVaryBy items.
Partial fix for bug #429926.
svn path=/trunk/mcs/; revision=114189
* tramp-x86.c, mini-x86.h, mini-x86.c: x86 support code for calling a
runtime-set function when going back to managed code. Currently this
is used to set back the protection on the soft ovf pages and/or to
throw the stack overflow exception that happened in unmanaged code.
svn path=/trunk/mono/; revision=114188
* mini.h, mini.c, mini-trampolines.c, mini-exceptions.c: added
the support code for restoring stack protection after stack overflows
that happen in unmanaged code. Don't set the exec permission on the
soft overflow area.
svn path=/trunk/mono/; revision=114186
* mini-trampolines.c (mono_delegate_trampoline): Add wrappers even if
delegate->method_ptr is set. Fixes#428054.
svn path=/trunk/mono/; revision=114163
* eval.cs (LoadAssembly, ReferenceAssembly): Call
RootNamespace.ComputeNamespaces to update the internal list of
namespaces, this is no longer done for us.
(InteractiveBase): Use the Evaluator APIs instead of calling into
Driver directly
svn path=/trunk/mcs/; revision=114156
* FileDialog.cs: Implement basic support for sorting by columns in
Details view. Patch by Eric Petit.
Fixes#428006.
svn path=/trunk/mcs/; revision=114082
* DoubleTest.cs: added a test for TryParse invoked with various
strings, including strings with embedded whitespace.
svn path=/trunk/mcs/; revision=114080
* mini-trampolines.c (mono_magic_trampoline): Unwrap wrappers
before asserting that method is sharable.
2008-09-25 Mark Probst <[email protected]>
* generic-synchronized.2.cs: Test case for synchronized generic
methods.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=114079
* Mono.Cecil.Binary/MemoryBinaryWriter.cs: Make sure QuadAlign
properly enlarge the memory stream if needed.
Patch by Regis Vaquette <[email protected]>.
svn path=/trunk/mcs/; revision=114078
* generic-sharing.c, class-internals.h: New function for checking
whether a method needs a static RGCTX invoke wrapper. A few
funtions moved from mini/generic-sharing.c.
* icall.c: New function used.
2008-09-25 Mark Probst <[email protected]>
* method-to-ir.c, mini.c, jit-icalls.c: New function for checking
whether method needs a static RGCTX wrapper used instead of
complex conditions.
* generic-sharing.c, mini.h: A few functions moved to
metadata/generic-sharing.c.
svn path=/trunk/mono/; revision=114064
* ThemeWin32Classis.cs: When drawing gridlines take into account the
case where ListView.ItemSize hasn't been computed, and provide a
fallback as well. This prevents a division by 0.
svn path=/trunk/mcs/; revision=114063
* method-to-ir.c, mini.c, mini-exceptions.c, mini-trampolines.c:
Generic code sharing for value types, which essentially means
treating value type methods like static methods. The RGCTX is
passed in the same way.
2008-09-25 Mark Probst <[email protected]>
* icall.c (ves_icall_System_Delegate_CreateDelegate_internal):
Static RGCTX invoke wrapping applies to value type methods, too.
* class.c (mono_class_setup_vtable_general): In generic-shared
value types, wrap methods with a static RGCTX invoke wrapper.
svn path=/trunk/mono/; revision=114061
* method-to-ir.c (mono_method_to_ir2): Avoid an assert in the NEWOBJ
opcode when creating multi-dimensional arrays of open types.
* generic-sharing.c (mono_method_check_context_used): Handle arrays of
open generic types.
* generics.cs: Add a test.
svn path=/trunk/mono/; revision=114052
* ecore.cs (FieldExpr): Only initialize eclass when we return a
fully constructed FieldExpr, fixes the regression introduced in
the last commit.
svn path=/trunk/mcs/; revision=114051
* Test/testblob.cs
* Test/TestOracleClient.cs: update tests for parameter type of blob
* System.Data.OracleClient/OracleLob.cs: position was never
being reset to the offset causing the reading of a Blob to
be out of range
* System.Data.OracleClient/OracleParameter.cs: fixes for
character and blob types
svn path=/trunk/mcs/; revision=114050
* mini.h (MonoCompile): Add 'disable_vreg_to_lvreg' flag.
* mini.c (mini_method_compile): Set it when running under the debugger.
* method-to-ir.c (mono_handle_global_vregs): Disable global->local
vreg optimization if the flag is set.
svn path=/trunk/mono/; revision=114026
* Double.cs: check whether decimal_separator, group_separator and
currency_symbol strings aren't empty before trying to index them
in Parse ().
svn path=/trunk/mcs/; revision=114004
* HttpServerChannelTests.cs: Don't check for a chunked response from
the Mono HTTP server; it no longer chunks since that was breaking
other tests.
svn path=/trunk/mcs/; revision=114001
* HttpServerTransportSink.cs: Disable chunking on the server, as
for some reason it was breaking the tests. This reduces efficiency
but right now is unavoidable.
* HttpServerChannel.cs: Implement AddHookChannelUri. Thanks to
Lluis for the patch.
svn path=/trunk/mcs/; revision=113999
* AppDomainSetupTest.cs: fix domain initializer test to actually
assert that the initializer delegate is called in the new domain.
Test for #429545.
svn path=/trunk/mcs/; revision=113998
* gc.c (mono_gc_add_finalizer_thread_callback): New function to
register a callback which is called when the finalizer thread is woken
up.
(finalizer_thread): Call the callback if it exists.
* attach.h attach.c: New files, implementing the attach mechanism.
* appdomain.c: Init/cleanup the attach mechanism on startup/shutdown.
svn path=/trunk/mono/; revision=113991
* Control.cs: When setting fonts, we need to ensure we change our
reference to the new font object, even if it represents the same
font as before. If we don't, the original font can get disposed
and we will still try to use it.
[Fixes bug #386450]
2008-09-24 Jonathan Pobst <[email protected]>
* ControlTest.cs: Add test for bug #386450.
svn path=/trunk/mcs/; revision=113982
* ssapre.c: Disable this to save space since it is not yet ported to
linear IR.
* regalloc2.c: Disable this to save space.
svn path=/trunk/mono/; revision=113979
* typemanager.cs, decl.cs, convert.cs, assign.cs, expression.cs,
ecore.cs, attribute.cs: Moved obsolete method checks from emit
phase to resolve phase. It resolves problems with expression trees
and fixes bugs #323796, #325156
svn path=/trunk/mcs/; revision=113975
the end string, append the original text instead of the end string,
because the casing might not match between the two. Fixes#320445
2008-09-24 Andreia Gaita <[email protected]>
svn path=/trunk/mcs/; revision=113972
* TabControlPainter.cs: Add 1 pixel to the tab text rectangle
to keep the text from getting cut off on XP.
[Fixes bug #428116]
svn path=/trunk/mcs/; revision=113971
* ThemeWin32Classic.cs: When drawing gridlines for ListView don't use
the item bounds, since we can't iterate over them in virtual mode.
Also fix wrong calculation of the gridlines when using scrolling.
Fixes#400390.
svn path=/trunk/mcs/; revision=113948
* XplatUIX11.cs: When handling EnterNotify events, take into account
both the public and implicit controls when trying to detect the
grab/ungrab process. This should fix ListView selection in Details
view.
svn path=/trunk/mcs/; revision=113919
* HttpClientChannel.cs: Fix logic error from ==/!= typo. Stops
channel from trying to handle IPC URLs, which was breaking the
IPC tests.
svn path=/trunk/mcs/; revision=113909
* TreeView.cs: Redraw the whole node area when the selected node changes.
Things like state images were not getting redrawn because the invalid
rectangle was too small.
[Fixes bug #428211]
svn path=/trunk/mcs/; revision=113905
* SoapServerFormatterSink.cs: Do not try to parse text/xml code
unless there is a SOAPAction. Set position on outgoing streams to
zero, so they can be properly parsed in the general infrastructure.
Do not try to seek on incoming streams.
svn path=/trunk/mcs/; revision=113897
* HttpWorkerRequest.cs: implemented a SendCalculatedContentLength
overload. This method apparently does nothing in MS.NET.
svn path=/trunk/mcs/; revision=113892
* AspGenerator.cs: ignore whitespace only if it's between
CodeRender blocks, not between DataBinding and
CodeRenderExpression.
svn path=/trunk/mcs/; revision=113844
2008-09-23 Rodrigo Kumpera <[email protected]>
* method-to-ir.c (type_to_eval_stack_type): The code path for the new JIT
was wrong at it choked against target_type_is_incompatible for byref types.
svn path=/trunk/mono/; revision=113843
* LogicalTypeInfo.cs: do not use
LazyDictionary as enum serializer anymore.
* ProfileService.cs: do not use
LazyDictionary as ProfileService serializer anymore.
* RestHandler.cs: do not use
LazyDictionary as the Exception or NameValueCollection serializer
anymore.
2008-09-23 Marek Habersack <[email protected]>
* JavaScriptSerializer.cs: removed the LazyDictionary class, it's
not needed anymore.
svn path=/trunk/mcs/; revision=113832
* JsonSerializer.cs: "SerializeGenericDictionary" is an instance method,
fix retrieval of its MethodInfo.
Initialize serializeGenericDictionaryMethods (lazily).
Add and use GetClosedIDictionaryBase to also handle cases where a
non-generic class implements a closed IDictionary<,> (e.g.
SomeDictionary : IDictionary<string, object>). Fixes bug #424704.
First check for IDictionary<,>, then for IDictionary.
2008-09-20 Juraj Skripsky <[email protected]>
* JavaScriptSerializerTest.cs: added test for bug #424704.
svn path=/trunk/mcs/; revision=113829
* aot-runtime.c, method-to-ir.c, mini.c, mini-trampolines.c: use the
new functions to allocate from persistent mempools.
svn path=/trunk/mono/; revision=113817
* class.c, domain-internals.h, domain.c, generic-sharing.c, image.c,
loader.c, marshal.c, metadata-internals.h, metadata.c,
method-builder.c, object.c, reflection.c: introduced specific functions
to allocate from the domain and image mempools and cleaned up most of
the code to use them (still missing a few in reflection.c).
Keep the loader bytes counter updated.
svn path=/trunk/mono/; revision=113816
* ThemeWin32Classic.cs: Use StringAlignment.Center for the vertical
alignments of sub items in Details view. Patch by John Mortlock (johnm at
hlaustralia.com.au).
Fixes#425360.
svn path=/trunk/mcs/; revision=113802
* ExpressionInterpreter.cs
* Interpreter.cs
* Conversion.cs
* ExpressionValidator.cs
* Math.cs:
Integrate changes from db4objects, Inc. The interpreter now
passes all linq tests.
svn path=/trunk/mcs/; revision=113797
* mini.h regalloc.h mini-codegen.c: Generalize the regalloc code to allow
multiple register banks in the future.
svn path=/trunk/mono/; revision=113780
2008-09-22 Rodrigo Kumpera <[email protected]>
* mini.c (type_to_eval_stack_type): Remove duplicated function.
* method-to-ir.c (type_to_eval_stack_type): Make this version compatible with both JIT.
* mini.h: Export type_to_eval_stack_type.
This function was nearly duplicated in method-to-ir.c and mini.c. The difference
is only ins->klass of byref types.
svn path=/trunk/mono/; revision=113757
between global variable $file and local one. Add some more prints
for debugging purposes.
2008-09-22 Andreia Gaita <[email protected]>
svn path=/trunk/mcs/; revision=113752
* method-to-ir.c (mini_emit_memset): Use a default alignment of 4.
(mini_emit_memcpy2): Ditto.
* mini-amd64.c: Fix a warning.
svn path=/trunk/mono/; revision=113735
* ListView.cs: Don't do anything when EnsureVisible is called inside a
BeginUpdate/EndUpdate block.
Fixes#425049.
svn path=/trunk/mcs/; revision=113728
* ListViewItem.cs: The semantics for the public .ctor of
ListViewSubItemCollection need us to already have a Text value for the
item, which in our implementation have as available *after* adding the
first sub item. So create an internal .ctor that satisfies our needs
and let the public .ctor have the same semantics as .net.
Fixes#427561.
svn path=/trunk/mcs/; revision=113706
A fix for bug #355622, #324993
* assign.cs, const.cs, class.cs: Create new EmitContext for each
field initializer.
svn path=/trunk/mcs/; revision=113698
* csharplib/Makefile: Add a setup to build GMCS as a GAC assembly
called `csharplib' with only the public classes that we want
exposed: Mono.CSharp.Evaluator, Mono.CSharp.InteractiveBase and
Mono.CSharp.InteractiveBase+Simple
svn path=/trunk/mcs/; revision=113671
* exception17.cs: New test case for throwing an exception from
within a finally block.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=113646
* reflection.c (add_custom_modifiers): New helper function to merge custom
modifiers stored in objects to a MonoType.
(fieldref_encode_signature): Encode custom modifiers.
(mono_image_get_generic_field_token): Call add_custom_modifiers ().
(fieldbuilder_to_mono_class_field): Ditto. Fixes#424663.
svn path=/trunk/mono/; revision=113633
* WebConnectionStream.cs: when receiving a 0 content-length, free up
the slot for the next request immediately.
Fixes bug #427974.
svn path=/trunk/mcs/; revision=113610
* JsonDeserializer.cs: added support for stand-alone NaN, Infinity
and -Infinity values, as well as the same within an array.
2008-09-20 Marek Habersack <[email protected]>
* JavaScriptSerializerTest.cs: added some tests
svn path=/trunk/mcs/; revision=113596
* Json.cs: added new Serialize overload which takes a TextWriter
for its output parameter.
Added Deserialize methods.
* JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
Added new Serialize overload which takes a TextWriter for its
output parameter.
Added WriteValue overloads for float and double - they must not be
converted to strings as IConvertibles because their Max/MinValue
end up converted incorrectly.
* JavaScriptSerializer.cs: adjustments for the new JSON
(de)serializer.
* JsonDeserializer.cs: new JSON deserializer code, fully compliant
with the .NET AJAX one.
2008-09-19 Marek Habersack <[email protected]>
* JavaScriptSerializerTest.cs: enabled some tests which were
failing with the old (de)serializer, but work with the new one.
2008-09-19 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: removed most of the
Newtonsoft JSON code, leaving only ReflectionUtils and
JavaScriptUtils.
svn path=/trunk/mcs/; revision=113590
2008-09-19 Rodrigo Kumpera <[email protected]>
* method-to-ir.c: Extract stloc micro-optimization to a
function and apply it to all cases.
svn path=/trunk/mono/; revision=113584
* BindingTest.cs: New test for data source looking for a data source
property with a *specific* value type, more specific than just the
property type.
svn path=/trunk/mcs/; revision=113564
* ListControlTest.cs: New test for testing that FormattingEnabled,
FormatString and FormatInfo property changes *actually* cause a call
to RefreshItems.
svn path=/trunk/mcs/; revision=113557
* mono-config.c (dllmap_start): Add support for the bits keyword
on dllentry and dllmap to easily detect 32 vs 64 bit systems.
svn path=/trunk/mono/; revision=113551
* reflection.c (inflate_mono_method): When the class the method is
to be inflated for is itself not inflated, just return the method.
2008-09-19 Mark Probst <[email protected]>
* generic-type-builder.2.cs: Test case for a generic sharing issue
with dynamic methods.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=113549
* ListControl.cs: Changes in Formatting related values should call
RefreshItems, as .net does.
* ComboBox.cs:
* ListBox.cs: In the respective overrides of RefreshItems calculate
layout as well as refreshing - again, this is what .net does.
Fixes#426168.
svn path=/trunk/mcs/; revision=113545
A fix for bug #416110
* generic.cs: Struct constraint results in default ctor and
ValueType base type constraint to be set.
svn path=/trunk/mcs/; revision=113534
* ListBox.cs: In UpdateTopItem, don' call to XplatUI.ScrollWindow,
since we are already doing that when we change the value of the
scrollbar or force the call to ScrollWindow in the same method. This
way we don't cause a Invalidate call for all the listbox bounds for
methods calling UpdateTopItem with an already updated top item. This
was happening specially calling EnsureVisible with already visible
items.
svn path=/trunk/mcs/; revision=113520
* XPathNavigator.cs : made some 2.0-only methods available in 1.x
so that we don't have to hesitate to optimize xpath using them.
svn path=/trunk/mcs/; revision=113491
* marshal.c (emit_marshal_variant) : Change the attribute checks to
handle "[in] ref" and "[in][out] ref" cases.
* marshal.c (cominterop_get_ccw) : The wrong signature was being passed
to mono_mb_create_method. This was causing problems calling native to
managed passing Variants by value.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=113475
* class.c (can_access_internals): Call mono_assembly_load_friends ()
before accessing the friend_assembly_names field.
* assembly.c (mono_assembly_load_friends): Make this callable multiple
times.
(mono_assembly_load_from_full): Avoid calling load_friends (), it is
called lazily when it is needed.
* metadata-internals.h (struct _MonoAssembly): Add
'friend_assembly_names_inited' flag.
svn path=/trunk/mono/; revision=113458
* RelatedPropertyManager.cs: The properties returned by
GetItemProperties should be that ones of the *actual* object returned
by the property, not the property type - this is very special when the
property exposes a type, but the returned object actually is a child
class and implements more functionality and properties.
svn path=/trunk/mcs/; revision=113442
* mono-perfcounters-def.h: fix the types of a few counters.
* mono-perfcounters.c: implemented the instance names getter
and a few bugfixes.
svn path=/trunk/mono/; revision=113437
* mono-mmap.c, mono-mmap.h: added mono_shared_area_instances ()
too return the list of mono processes with performance counter data.
svn path=/trunk/mono/; revision=113436
* CounterSampleCalculator.cs: added more calculated types.
* PerformanceCounter.cs: NextValue() works as well as RawValue.
svn path=/trunk/mcs/; revision=113435
* driver.cs, namespace.cs: Read types and namespaces after all
requested assemblies are loaded, fixes issues with System.Core
auto-reference, and #419888.
svn path=/trunk/mcs/; revision=113415
* const.cs, expression.cs, statement.cs, ecore.cs, cs-parser.jay:
Fixed expression tree representation of empty new expression and
new initializer expression.
svn path=/trunk/mcs/; revision=113399
* XplatUIX11.cs:
- Do not set _NET_WM_WINDOW_TYPE_DIALOG for modal forms, because this
leads to the window manager overriding our border style and zorder.
- Allow the activation of non-modal forms, which are children of a
modal form.
[Fixes bug #423417]
svn path=/trunk/mcs/; revision=113396
* TcpConnectionPool.cs: Set the NoDelay flag on the socket to avoid
excessive waiting by the tcp stack. Fixes#416462.
svn path=/trunk/mcs/; revision=113381
* TcpChannelTest.cs: Changed the namespace to MonoTests.Remoting
like the other Remoting tests and added a client<->server
communication test. Throw in a ftp:// url for the url-parsing test
to make sure the parser returns null on that.
svn path=/trunk/mcs/; revision=113358
* 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
* 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
* 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
* SignedXmlTest.cs: Add support for signing XML using HMACSHA256,
HMACSHA384, HMACSHA512 and HMACRIPEMD160.
[Fix bug #425724]
svn path=/trunk/mcs/; revision=113344
* 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
* 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
* 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
* TcpChannel.cs (ParseTcpURL): TcpClientTransportSink needs the
host component, so extract that info into its own string as well.
svn path=/trunk/mcs/; revision=113321
* 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
* XmlSerializer.cs : in 2.0 profile it seems to create XmlReader
for stream and textreader, that skips whitespaces.
svn path=/trunk/mcs/; revision=113307
* TextBoxBase.cs: For standard textbox the scrollbars are always
visible if Multiline is true.
[Fixes bug #426896]
svn path=/trunk/mcs/; revision=113306
* XmlReader.cs : ReadSubtree() is valid only on an element.
* XmlReaderCommonTests.cs :
added test for ReadSubtree() on non-element.
svn path=/trunk/mcs/; revision=113304
[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
* corlib_test.dll: Add S.R.S/SerializationTest2.cs
In System.Runtime.Serialization.Formatters.Binary:
2008-09-17 Robert Jordan <[email protected]>>
* ObjectReader.cs (ReadTypeMetadata): Replace the check for
ISerializable with something less `reflective'.
Fixes#421664.
In Test/System.Runtime.Serialization:
2008-09-17 Robert Jordan <[email protected]>
* SerializationTest2.cs: Add test case for bug #421664.
svn path=/trunk/mcs/; revision=113278
* 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
2008-09-17 Robert Jordan <[email protected]>
* 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 <[email protected]>
* Makefile.am: Add test for #415577.
svn path=/trunk/mono/; revision=113274
* 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
A fix for bug #426385
* expression.cs (ImplicitlyTypedArrayCreation): Use full implicit
conversion for array elements.
svn path=/trunk/mcs/; revision=113262
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* System.Data.OracleClient/OracleParameter.cs: fixes
for OracleType.Blob parameters. Also some case statements
not properly tabbed.
svn path=/trunk/mcs/; revision=113121
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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 <[email protected]>
* CheckedListBoxTest.cs, ListBoxTest.cs: Add some tests from Andy
Hume for bug #426166.
svn path=/trunk/mcs/; revision=113076
* 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
* SecuritySafeCriticalAttribute.cs: Include SecuritySafeCritical in
the net_2_0 profile, as a recent sp includes it.
svn path=/trunk/mcs/; revision=113038
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
* 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
* 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
* 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
* 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
* 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
* 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
* System.Web.dll.sources: added System.Web.UI/IAutoFieldGenerator.cs
and System.Web.UI.WebControls/IPersistedSelector.cs.
* IPersistedSelector.cs : new in 3.5 SP1.
* IAutoFieldGenerator.cs : new in 3.5 SP1.
svn path=/trunk/mcs/; revision=112940
* System.Data.OracleClient/OracleConnection.cs: add stubs
for method GetSchema which is part of NET_2_0, and clean up warnings
* System.Data.OracleClient/OracleCommand.cs
* ystem.Data.OracleClient/OracleParameter.cs
* System.Data.OracleClient/OracleBFile.cs
* System.Data.OracleClient.Oci/OciHandle.cs: clean up warnings
* System.Data.OracleClient.Oci/OciDescriptorHandle.cs
* System.Data.OracleClient.Oci/OciDefineHandle.cs: make methods internal
svn path=/trunk/mcs/; revision=112925
* Test/TestOracleClient.cs: add test for LONG (long varchar)
testing paramters for Input, Output,
InputOutput, and ReturnValue and
situations when any of these could be DBNull.Value
* System.Data.OracleClient/OracleParameter.cs: fix
handling of parameters LONG (long varchar). However,
it probably would be better to implement LONG using
piecewise operation. Also, remove old code.
svn path=/trunk/mcs/; revision=112924
* HttpListenerPrefixCollection.cs, EndPointListener.cs,
HttpListener.cs, EndPointManager.cs, HttpConnection.cs: Remove
generics support where necessary to allow this code to be reused
in the 1.0 profile.
svn path=/trunk/mcs/; revision=112922
Fix for bug #320298
* TcpClientTransportSink.cs: Updated for change to
TcpChannel.ParseTcpURL(). We now need to do our own integer
conversion/validation of the port.
* TcpChannel.cs (ParseTcpURL): We need to match the
protocol ("tcp") case-insensitively. The objectURI is supposed to
include the leading '/' character. Also, we need to ignore invalid
port designators since Microsoft's .NET implementation of
TcpChannel.Parse() doesn't seem to care that they are valid.
svn path=/trunk/mcs/; revision=112912
* Dictionary.cs: (ToTValue) allow null values to be added for non
value types TValues to the dictionary when using the
non generic IDictionary. Fixes#425693.
svn path=/trunk/mcs/; revision=112907
* TreeNodeCollection.cs: When adding a new node to an opened node,
we have to invalidate everything below the parent node because
every node scoots down and we have to repaint them.
[Fixes bug #411386]
svn path=/trunk/mcs/; revision=112902
* ThemeWin32Classic.cs: Take CheckBox and RadioButton's CheckAlign
property into account when drawing.
[Fixes bug #416064]
svn path=/trunk/mcs/; revision=112899
* HashSet.cs (.ctor (IEnumerable<T>,*)): only get the count of the
enumerable if the source collection implements ICollection<T>, so that
we only iterate once over the source collection.
svn path=/trunk/mcs/; revision=112897
* ListBox.cs: When calling Items.Clear(), call
SelectedIndexCollection.ClearCore instead of normal Clear method, to
not fire any Selected*Changed event - this is done to match .net and
don't have invalid values when changing the DataSourceProperty.
Fixes#424273.
svn path=/trunk/mcs/; revision=112895
* HelpProvider.cs: Control enabled to support accessibility.
* Application.cs: Updated to Initialize UIA in HelpProvider.
[Fixes bug #425988]
svn path=/trunk/mcs/; revision=112894
* Form.cs: When we are showing a dialog box, if its owner is TopMost,
make the dialog TopMost as well.
[Fixes bug #425984]
svn path=/trunk/mcs/; revision=112893
* Win32DnD.cs, XplatUIWin32.cs: Applied patch from Andy Hume that handles
clipboard data better.
[Fixes bug #414446]
svn path=/trunk/mcs/; revision=112891
* TextBoxBase.cs: Applied patch from John Mortlock that ensures
TextChanged and SelectionChanged events fire in the same order as .Net.
[Fixes bug #425725]
svn path=/trunk/mcs/; revision=112890
* DataGridView.cs: When sorting a column, if it only contains numbers,
do a numeric sort instead of a string sort.
[Fixes bug #425849]
svn path=/trunk/mcs/; revision=112889
* TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Guard
against NRE's when the settings have a null panel.
* TableLayoutPanel.cs: When setting the TableLayoutSettings, ensure
the panel gets set.
[Fixes bug #425647]
2008-09-12 Jonathan Pobst <[email protected]>
* TableLayoutSettingsTypeConverter.cs: Don't create an instance of
TableLayoutPanel in ConvertFrom.
[Fixes bug #425647]
svn path=/trunk/mcs/; revision=112886
* DataTable.cs (NewRowAdded): Make into partial method.
(DataTableClearing, DataTableCleared): New partial methods.
(Clear): Use them.
svn path=/trunk/mcs/; revision=112880
* DataTable.cs: Sequester ISupportInitializationNotification
pieces into separate part.
(DataTableInitialized): Turn into a 'partial method' to avoid #ifs.
svn path=/trunk/mcs/; revision=112879
* PKCS12.cs, X509Store.cs: Use File.Create instead of OpenWrite to
make sure nothing else if left at the end of the file. Issue reported
by Christophe Chevalier.
svn path=/trunk/mcs/; revision=112874
* FileCertificateStore.cs: Use File.Create instead of OpenWrite
to make sure nothing else if left at the end of the file.
svn path=/trunk/mcs/; revision=112873
* PKCS12.cs, X509Store.cs: Use File.Create instead of OpenWrite to
make sure nothing else if left at the end of the file. Issue reported
by Christophe Chevalier.
svn path=/trunk/mcs/; revision=112871
* Mono.Linker/Pipeline.cs: add a RemoveStep method.
* Mono.Linker/Driver.cs: make the linker generate new
module guids by default.
svn path=/trunk/mcs/; revision=112842
* Mono.Linker.Steps/RegenerateGuidStep.cs: new step that is used
to regenerate the Mvid identifier of each linked module.
* monolinker.exe.sources:
* Mono.Linker.csproj: add RegeneratedGuidStep to the build.
* Mono.Linker/Driver.cs: add a -g option to control whether to
regenerate the modules identifier or not.
svn path=/trunk/mcs/; revision=112824
* scripts/patch-quiet.sh: Remove an obsolete comment. Change the Makefile so
this script is rerun if Makefile.am changes.
svn path=/trunk/mono/; revision=112822
* DataGridViewCheckBoxCell.cs: If our content is clicked and we aren't
already in edit mode, begin edit mode. Generally edit mode isn't
started until the second click, but CheckBoxes are special.
svn path=/trunk/mcs/; revision=112803
* Makefile.am: Don't use --security to execute SN (since it's not
part of the tests and fails verification due to other issues).
<kumpera> spouliot: the issue is that, for some reason, M.M.BinInteger
is been treated a code not under full trust (so no unsafe code)
svn path=/trunk/mono/; revision=112802
* ErrorProvider.cs: Never try to add our icons to ContainerControl,
since that can be set to anything. Always add them to the Control's
parent. [Fixes bug #416058]
svn path=/trunk/mcs/; revision=112798
* ListView.cs: Use a custom enumerator for ListViewItemCollection
so items can be deleted in a foreach.
[Fixes bug #425342]
2008-09-11 Jonathan Pobst <[email protected]>
* ListViewCollectionsTest.cs: Add test for bug #425342.
svn path=/trunk/mcs/; revision=112796
* DataGridViewRow.cs: Better implementation of GetPreferredHeight.
Store the user set explicit height so that the row can be AutoSized
and then when AutoSize is turned off, it can get its original size back.
* DataGridView.cs: Use the Row's GetPreferredHeight instead of
duplicating the logic. When setting AutoSizeRowsMode to None, reset
rows' heights back to their explicit values.
[Fixes bug #415780]
svn path=/trunk/mcs/; revision=112785
* DateTimePicker.cs: When getting focus, select the checkbox if we are
already showing it. Also, don't change its value when pressing space
if the checkbox is not visible (ShowCheckBox as false). Finally, the
checkbox should remain selected as long as Checked is false, and the
other parts are disabled.
Fixes#424267.
svn path=/trunk/mcs/; revision=112778
* driver.c: Add a --agent argument (not supported yet) to load managed
agent assemblies before loading the main assembly, similarly to how the
Java VM handles agents.
svn path=/trunk/mono/; revision=112774
* MoonIsolatedStorageFile.cs: Add application and iste specific
initialization. Add rumenditary quota support (not thread or cross
process safe). Add a bunch of TODO & FIXME.
* MoonIsolatedStorageFileStream.cs: Add quota checks (delegated
into MoonIsolatedStorageFile).
svn path=/trunk/mcs/; revision=112762
* Binding.cs: When the value retrieved from the control property is
null, don't return Convert.DBNull for Nullable instances, since they
can *actually* get a null value.
Fixes#424265.
svn path=/trunk/mcs/; revision=112754
* generic.cs (InflatedConstraints): Don't crash when constraints
are different.
* cs-parser.jay: const_declarator is a block.
* constant.cs: Check for not allowed NaN conversions.
svn path=/trunk/mcs/; revision=112751
* method-to-ir.c ssa2.c mini.c mini-amd64.c decompose.c ssa.c abcremoval.c
abcremoval2.c branch-opts.c driver.c dominators.c: Disable parts of the
JIT if DISABLE_JIT is defined.
* Makefile.am: Avoid compiling/linking in inssel.c if DISABLE_JIT is
defined.
svn path=/trunk/mono/; revision=112726
move the REPL shell into a separate tool, the compiler
no longer has the shell.
2008-09-10 Miguel de Icaza <[email protected]>
* driver.cs: Drop --shell argument, the compiler is no longer a
REPL.
* eval.cs: Move most of the code that deals with evaluation into
this file and document the public API from repl.cs
* repl.cs: Remove from here.
svn path=/trunk/mcs/; revision=112718
* process.c (complete_path) : Removing quotes from the
input path. The glib file routines do not handle file paths
that have quotes around them.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=112715
* Control.cs: Add an internal field to force doublebuffering regardless
of what the public mechanisms are set to. This is because MS's native
controls are doublebuffered even though their .Net bits are set to false.
* ProgressBar.cs: Set force_double_buffer to true.
[Fixes bug #406595]
svn path=/trunk/mcs/; revision=112711
* DataGridViewCheckBoxColumn.cs: Use the threestate constructor for
the cell template.
* DataGridViewCheckBoxCell.cs: Add proper support for threestate.
* DataGridViewCell.cs: Implement GetEditedFormattedValue for types
without EditingControls, paint background selection for types without
EditingControls, reset the EditingCellValueChanged flag when the
cell's value is committed.
* DataGridView.cs: Make BeginEdit and EndEdit work with cells that don't
have EditingControls, remove a double call to a cell's OnContentClickInternal,
don't do cell changing logic in OnMouseDown if the cell didn't change.
[Fixes bug #420351]
svn path=/trunk/mcs/; revision=112698
* Socket.cs : Adding a comment to provide locations where
changes to MonoSocketAsyncResult need to be synced.
* Process.cs : Update the fields of ProcessAsyncReader to
match MonoSocketAsyncResult metadata/socket-io.h
Code is contributed under MIT/X11 license.
svn path=/trunk/mcs/; revision=112681
* socket-io.h : Adding a comment to provide locations where
changes to MonoSocketAsyncResult need to be synced.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=112680
* Test/TestOracleClient.cs: fix typo,
enable more test,
Tests pass for parameters for Character, Number, and Date
for Input, Output, InputOutput, and ReturnValue and
situations when any of these could be DBNull.Value
* System.Data.OracleClient/OracleParameter.cs: fix
handling of parameters for character, number, and date
types. Need to redo all the other types based on the above.
* System.Data.OracleClient.Oci/OciDefineHandle.cs: rename private
method DefineLong to DefineLongVarChar
svn path=/trunk/mcs/; revision=112641
* cs-parser.jay: Improve error reporting for syntax errors in
statements and expressions, we now report the expected tokens
instead of reporting the useless "; expected".
Drop the strings from the token declaration, it turns out that
they did not do what I thought they did. Instead they were adding
two sets of tokens to the tables.
svn path=/trunk/mcs/; revision=112619
* skeleton.cs: A little refactoring to support producing a list of
tokens as opposed to a list of token strings for code that uses
the yyExpecting code.
svn path=/trunk/mcs/; revision=112612
* monoresgen.cs: Make resgen2 report a bit more useful by considering
the extra XmlException in the exception chain.
svn path=/trunk/mcs/; revision=112610
* DateTimePicker.cs: Before incrementing or decrementing any part in
the textbox, end any current edit. Also when ending the current edit
use the editing_part_index field instead of the current selected
value, since they can be out of synch, and we really need to work on
the *real* current edit part. Finally when PartData.Selected changes,
always try to end any ongoing edit.
This should fix some small errors handling mouse navigation and
increase/decrease operations.
svn path=/trunk/mcs/; revision=112597
- Remove the "lock-free" code, which (come to think of it) would be
faulty in a multithreaded environment anyway because the "other"
threads won't wait (block) until initialization is complete...
- Add InitOnce() calls to all public properties, so that
`Debug.AutoFlush=true' will cause InitOnce() to be loaded, lest
a `Debug.AutoFlush=true; Debug.Listeners.Add(...)` sequence cause
.AutoFlush=true to be ignored as the InitOnce implied by .Add()
will "overwrite" the .AutoFlush.
- Split up TraceListenerCollection creation from DefaultTraceListener
addition, as TraceListenerCollection.Add() calls back into
TraceImpl, so if these aren't separate we get an infinite loop
and never actually initialize anything.
- Fixes#424370.
* TraceListenerCollection.cs: Add a TraceListenerCollection(bool)
constructor, which provides a way to NOT add the
DefaultTraceListener (needed by TraceImpl; see above).
svn path=/trunk/mcs/; revision=112596
* Timer.cs: use a separate queue for timers that are far in the future
so they don't need to be looked at as often (bug #418272).
Better precision of recheduling time.
svn path=/trunk/mcs/; revision=112584
* XmlSchemaValidator.cs : do not try to validate CloseStartElement
when it should be skipped. Fixed bug #422581.
* XmlSchemaValidatorTests.cs : added test for bug #422581.
* 422581.xsd, 422581.xml : new files.
svn path=/trunk/mcs/; revision=112583
* DateTimePicker.cs: 'hh' and 'HH' formats (12 and 24 hour formats
respectively) should handled different, since the 12 hours format
needs the value typed by the user to be adjusted depending on the
a.m/p.m value, so it is preserved, and only changed when the value
reaches the 12 value (when it changes from a.m to p.m).
Fixes part of #416555.
svn path=/trunk/mcs/; revision=112580
A fix for bugs: #324750, #335946
* cs-tokenizer.cs, cs-parser.jay, expression.cs: Use a custom
lookup rule to determine ?-based tokens.
svn path=/trunk/mcs/; revision=112567
* ToolStrip.cs: Ensure MouseDown gets called for MenuStrip items.
* ToolStripDropDownItem.cs: Don't fire events and such again if
ShowDropDown is called on an already dropped down item.
* ToolStripMenuItem.cs: Call ShowDropDown even if there aren't any
subitems, the user may add some in the DropDownOpening event.
[Fixes bug #417877]
svn path=/trunk/mcs/; revision=112552
2008-09-08 Miguel de Icaza <[email protected]>
* EndPointListener.cs (SearchListener): Cope with the raw_url not
being merely a path, but potentially a full URI (see the proxy
case).
* HttpListenerRequest.cs: Cope with raw_url not being merely a
path, but potentially a full Uri. Also uses TryCreate, hoping
that one day it will be faster.
2008-09-08 Miguel de Icaza <[email protected]>
* Uri.cs (MaybeUri): A helper routine for methods in other classes
to quickly determine if something might be a Uri, before calling
the more expensive Uri.TryCreate (see bug 424192).
svn path=/trunk/mcs/; revision=112551
* aot-compiler.c (emit_wrapper_info): Omit the klass name from
runtime-invoke wrappers to work around the problem of them getting
assigned to a random class.
* aot-runtime.c (mono_aot_get_method): Ditto.
svn path=/trunk/mono/; revision=112539
version of xulrunner that's being used so I can distinguish which
cache directory to use
* mcs/class/Mono.WebBrowser/Mono.Mozilla/Base.cs: Create cache
directory with a version specific name so there's no conflict when
the user has both xulrunner runtime 1.8 and 1.9 installed. Get rid
of gluezillaInstalled flag, redundant. Bind now returns bool so I
can check if the engine is actually running properly after
initialization. Check the return value of createBrowserWindow and
bail out if no valid pointer is returned. Protect the string
functions with a check so they don't get called if the engine is
not initialized.
* mcs/class/Mono.WebBrowser/Mono.Mozilla/WebBrowser.cs: Update the
loaded flag so users can now if the engine is actually running
properly.
2008-09-08 Andreia Gaita <[email protected]>
svn path=/trunk/mcs/; revision=112531
* repl.cs (OptionalAssign.EmitStatement): It is possible that some
expressions (like event adding or removing) end up here, so we
need to treat those as statements.
Add LoadAssembly method.
svn path=/trunk/mcs/; revision=112527
* MdiClient.cs: When looking for menustrips on a child form to merge,
look inside ToolStripContainers.
[Fixes bug #424264]
svn path=/trunk/mcs/; revision=112526
* BackgroundWorker.cs: If the user sets Cancel to true, but then
throws an exception in DoWork, we need to set Cancel back to false.
[Fixes bug #328830]
svn path=/trunk/mcs/; revision=112520
* TestOracleClient.cs: remove some warnings
and improve OracleParameter tests
for VARCHAR2, NUMBER, DATE types
for Input, Output, InputOutput, and ReturnValue and
handle DBNull.Value for various situations.
These parameter tests work on .net 2.0 but fail on mono 2.0.
svn path=/trunk/mcs/; revision=112488
* 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=112483
* console-io.c: Add support for tracking the window size if it
changes.
The setup is very simple: the TtySetup function will now return a
pointer to a location in memory that tracks the current console
size. The managed code checks its current value every time its
queried against the last value set, and updates accordingly.
With this setup we can work with multiple consoles, and we do not
require to poke into managed code from a signal handler.
Additionally, the environment for COLUMNS and LINES is now handled
in unmanaged code.
(ves_icall_System_ConsoleDriver_GetTtySize): This is now gone.
svn path=/trunk/mono/; revision=112477
* DataRowView.cs: Convert to a partial class, and sequester
NET_2_0 parts into a separate part. Use partial classes instead
of ugly #region directives.
(Item): Remove redundant attributes. Cleanup slightly.
svn path=/trunk/mcs/; revision=112470
* GridEntry.cs, PropertyGridView.cs:
- Update the ReadOnly detection and rendering to finally hopefully
match the one of MSFT.
- Niceify and move the debug CWLS.
[Fixes bug #409028]
svn path=/trunk/mcs/; revision=112462
* MonoField.cs: Add check to GetValue/SetValue () to avoid crashes when it is
called on fields of open types. Fixes#424077.
svn path=/trunk/mcs/; revision=112456
* marshal.c (mono_type_native_stack_size): Treat
MONO_TYPE_TYPEDBYREF like MONO_TYPE_VALUETYPE.
2008-09-07 Mark Probst <[email protected]>
* method-to-ir.c (mono_method_to_ir2): Disable tail calls for PPC
until they're implemented properly.
* exceptions-ppc.c: Use arch-independent exception-handling code
instead of custom one.
* exceptions-ppc.c, mini-ppc.c, mini-ppc.h: Bug fixes and changes
for Linear IR.
* tramp-ppc.c, mini-ppc.c: Fixed warnings.
* decompose.c, aot-runtime.c, aot-compiler.c: PPC code also
applies when __powerpc__ is defined.
2008-09-07 Mark Probst <[email protected]>
* libtest.c: Darwin structure alignment also applies to PPC.
2008-09-07 Mark Probst <[email protected]>
* ppc/ppc-codegen.h (ppc_load): Inserted cast to fix some
warnings.
svn path=/trunk/mono/; revision=112455
* ProviderSectionHandler.cs
* ProviderFactory.cs
* ProviderCollection.cs
* DataTools.cs
* Provider.cs: for the NET_2_0 profile,
added Obsolete attribute
to all classes in assembly Mono.Data because it
has been superceded by DbProviderFactories in System.Data
svn path=/trunk/mcs/; revision=112420
* Test/TestOracleClient.cs: get oracle connected tests
going again
* System.Data.OracleClient.Oci/OciDefineHandle.cs
* System.Data.OracleClient/OracleDataReader.cs
* System.Data.OracleClient/OracleCommand.cs: fix character
field value for a reader that was retrieved from a REF CURSOR.
It was failing due to OCI_INVALID_HANDLE - resolve the error
by passing a connection object which has a valid environment
handle.
* System.Data.OracleClient.Oci/OciCalls.cs: correct
call to OCIDefineByPos
* System.Data.OracleClient/OracleParameter.cs: better way to
determine if the input value Is Null instead of using reflection.
Flush - Re-arraning how variables are being bound.
* System.Data.OracleClient/OciGlue.cs: add function
to convert OCI Return / Error Status Code to a String Description
* System.Data.OracleClient.Oci/OciErrorHandle.cs: better
error handling
svn path=/trunk/mcs/; revision=112419
* Mono.Data.SybaseClient/SybaseClientFactory.cs:
* Mono.Data.SybaseClient/SybaseConnectionStringBuilder.cs: add new files
based on mono's System.Data.SqlClient implementation
* Mono.Data.SybaseClient.dll.sources: add files
to build:
Mono.Data.SybaseClient/SybaseClientFactory.cs
Mono.Data.SybaseClient/SybaseConnectionStringBuilder.cs
* Mono.Data.SybaseClient/SybaseDataAdapter.cs
* Mono.Data.SybaseClient/SybaseCommand.cs
* Mono.Data.SybaseClient/SybaseParameter.cs
* Mono.Data.SybaseClient/SybaseType.cs
* Mono.Data.SybaseClient/SybaseTransaction.cs
* Mono.Data.SybaseClient/SybaseCommandBuilder.cs
* Mono.Data.SybaseClient/SybaseDataReader.cs
* Mono.Data.SybaseClient/SybaseParameterCollection.cs
* Mono.Data.SybaseClient/SybaseConnection.cs: modified to
support NET_2_0 profile based on the changes done in mono's
System.Data.SqlClient implementation.
Do not forget about updating mono/data/net_2_0/machine.config
by adding Mono.Dataq.SybaseClient to DbProvidersFactory section.
svn path=/trunk/mcs/; revision=112416
* aot-runtime.c (mono_aot_get_method): Add another cache mapping wrapper
methods to their code to avoid computing the full name of wrappers and
doing a lookup in a string hash table.
svn path=/trunk/mono/; revision=112413
* Socket.cs : (SocketAsyncResult) release byte buffer early so that
it does not have to store extra data in pool. Fixed bug #397627.
svn path=/trunk/mcs/; revision=112408
* ListView.cs: Don't call Invalidate at all from SetItemLocation,
since we are already calling Invalidate for the entire control when
needed - and call Redraw() when size changes, since we need to paint
there by ourselved and not anymore from the mentioned method.
This should improve the layout process. Also clean some not needed calls
here and there.
svn path=/trunk/mcs/; revision=112392
* DataRowCollection.cs (RemoveInternal): Update RowIDs of rows
after the deleted row.
(IndexOf): Avoid loop to search for a row, since we already know
where a row is: its RowID.
(Remove): Use IndexOf rather than List.Contains.
svn path=/trunk/mcs/; revision=112391
* DataRowCollection.cs (InsertRow): Delegate setting of RowId
to the row itself. Use 'row.AttachAt' instead of 'row.AttachRow'.
(AddInternal): Likewise. Also delegate handling of
ChangeCurrentAndOriginal to AttachAt.
* DataRow.cs (AttachAt): Rename from AttachRow. Set rowId from
passed-in id. Handle ChangeCurrentAndOriginal and ChangeOriginal
actions.
svn path=/trunk/mcs/; revision=112390
* DataRow.cs (Detach): Rename from DetachRow. Make private.
Simplify code to be more uniform. Move common prefix code here ...
(AcceptChanges) [Deleted]: ... from here ...
(Delete) [Added]: ... and here ...
RejectChanges) [Added]: ... and here.
svn path=/trunk/mcs/; revision=112377
* MoonIsolatedStorageFile.cs: Add calls to PreCheck inside EndRead
and EndWrite methods.
* MoonIsolatedStorageFileStream.cs: Throw an IsolatedStorageException
when DeleteFile is called on an unexisting file.
svn path=/trunk/mcs/; revision=112374
* method-to-ir.c: Remove the CHECK_BBLOCK () stuff it is not needed since
we identify bblocks before method_to_ir () is ran.
svn path=/trunk/mono/; revision=112373
* DataContainer.cs (*.ZeroOut): Rename from the somewhat unclear
'SetDefaultValue'.
(IsNull): Use a more idiomatic form of the short-circuit.
(*.SetValue): Convert to one-liners.
svn path=/trunk/mcs/; revision=112367
2008-09-05 Rodrigo Kumpera <[email protected]>
* driver.c (mono_main): Enable the new verifier under core-clr and cas.
svn path=/trunk/mono/; revision=112339
* tramp-arm.c (mono_arch_nullify_class_init_trampoline): Implement this.
(mono_arch_patch_plt_entry): Fix the calculation of the jump_entry.
(mono_arch_get_nullified_class_init_trampoline): Return 'code' instead of
'buf'.
* aot-compiler.c (emit_plt): Fix the arm plt entries, previously they all
jumped to the same entry in plt_jump_table.
svn path=/trunk/mono/; revision=112338
* FontDialog.cs: When storing our font size from the starting font,
use SizeInPoints instead of Size in case Size is a different unit
from Points.
[Fixes bug #416489]
svn path=/trunk/mcs/; revision=112329
* FileDialog.cs: When enter is pressed on a SaveFileDialog and we
don't use it for anything else, check if a directory is highlighted.
If it is, navigate into it.
[Fixes bug #422087]
svn path=/trunk/mcs/; revision=112326
* repl.cs (PrettyPrint): pretty print everything that
implements IDictionary, as well as IEnumerables. Also,
add a quit helper property.
svn path=/trunk/mcs/; revision=112309
Miguel de Icaza <[email protected]>
A fix for bug #422951
* assign.cs (Assign.DoResolve): Perform the type conversions
checks before we attempt to initialize `New' initializers.
svn path=/trunk/mcs/; revision=112280
* Binding.cs: When acquiring a BindingManagerBase for the first time,
check that the specified property actually exists in the data source,
and throw an ArgumentException if that's not the case - this is only
done for this scenario, since for later cases (such Position changes)
we throw different exceptions (match .Net).
svn path=/trunk/mcs/; revision=112277
A fix for bug #422853
* delegate.cs (DelegateCreation): Add special handling for
EmptyExpression.Null instance expression which is just another
hack for undecided member instance exression.
svn path=/trunk/mcs/; revision=112270
* System.Data.OracleClient/OracleCommand.cs: removed AssertNoDataReader
because oracle allows multiple result sets and has since .NET 1.0,
fix bug where REF CURSOR would not work for ExecuteReader or
filling a DataSet via an OracleDataAdapter. The REF CURSOR is used to
populate the DataSet.
* System.Data.OracleClient/OracleDataReader.cs: fix for getting
next result set; implement NET_2_0 methods
GetProviderSpecificFieldType,
GetProviderSpecificValuee,
GetProviderSpecificValue; and validate the reader is open
before allowing a Read or NextResult, otherwise, throw
an InvalidOperationException
* System.Data.OracleClient/OracleParameter.cs: fix for
getting one or more REF CURSOR out parameters if
ExecuteReader was called.
* System.Data.OracleClient.Oci/OciErrorHandle.cs
* System.Data.OracleClient.Oci/OciHandle.cs: add addiional method
for getting error, such as, INVALID_HANDLE being passed to OCI
svn path=/trunk/mcs/; revision=112250
* driver.cs (ProcessDefaultConfig): Now it encapsulates all the
handling of the default config handling, including the special
treatment of System.Core assembly.
Fixes the REPL processing for LINQ.
svn path=/trunk/mcs/; revision=112223
2008-09-03 Rodrigo Kumpera <[email protected]>
* verify.c (verify_type_compatibility_full): Revert change
to allow converting a native int to unmanaged pointer be verifiable
under non-strict mode.
It turns out that "(IntPtr)null" is indeed unverifiable, go figure.
* verify.c: Added some TODOs.
svn path=/trunk/mono/; revision=112213
2008-09-03 Rodrigo Kumpera <[email protected]>
* strict_native_int_converts_to_unamanged_pointer.cs: It turns
out that this test should generate unverifiable code. Big WTF
for me as well.
svn path=/trunk/mono/; revision=112202
2008-09-02 Rodrigo Kumpera <[email protected]>
* TypeBuilderTest.cs: New test for a field with initialized data
that is referenced from another assembly.
svn path=/trunk/mcs/; revision=112126
* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi,
ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalUni) :
Changed to use GlobalAlloc for the memory returned on Windows platforms.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=112125
* GraphicsPathTest.cs: Add a bunch of unit tests to check when
points can be compressed (removed) when adding shapes to a path.
svn path=/trunk/mcs/; revision=112123
* getline.cs (CmdRefresh): Apply patch from Douglas S. Blank
<[email protected]> which updates the cursor position on
refresh.
svn path=/trunk/mcs/; revision=112113
* Binding.cs: When connecting the event handler for the "Changed"
event for the property, only do it for PropertyManager, and not for
CurrencyManager - this is exactly what does .Net, totally ignoring any
change in the property of the elements of a list.
Fixes the tests.
svn path=/trunk/mcs/; revision=112112
* SerializationCodeGenerator.cs
XmlSerializationWriterInterpreter.cs : fixed bug #419973.
Sometimes implicit operators could involve and it affects on
typecasting. It's simple for code generator, but very bad for
reflection.
* XmlSerializerTestClasses.cs, XmlSerializerTests.cs:
added test for bug #419973.
svn path=/trunk/mcs/; revision=112103
* XplatUIWin32.cs: Ensure we never send the WS_EX_MDICHILD flag
to Windows when creating a window, as we fake MDI stuffs.
[Fixes bug #421858]
svn path=/trunk/mcs/; revision=112095
* iterator.cs: Don't emit GetEnumerator method twice but call a generic
version from non-generic implementation instead.
svn path=/trunk/mcs/; revision=112083
2008-09-01 Rodrigo Kumpera <[email protected]>
* PropertyDescriptorTest.cs: Tests for Get/Set Value of partial
overrides of virtual properties.
In System.ComponentModel:
2008-09-01 Rodrigo Kumpera <[email protected]>
* ReflectionPropertyDescriptor.cs (SetValue, GetValue) : Lookup
the MethodInfo for accessors in parent types in case of partial
overrides of virtual properties.
svn path=/trunk/mcs/; revision=112052
* Mono.Cecil/ReflectionReader.cs: properly compose mod and byref types
for parameters and return types.
Based on a patch by Carlo Kok <[email protected]>
svn path=/trunk/mcs/; revision=112019
* Mono.Cecil.Signatures/SignatureReader.cs: Avoid a crash
when looking for an enumeration definition when the assembly
could not be resolved. Patch by Carlo Kok <[email protected]>
svn path=/trunk/mcs/; revision=112018
* ControlBuilder.cs: CreatePropertyBuilder now correctly processes
property names with prefixes (e.g. 'prefix:PropertyName').
Original, parsed, tag name is stored to properly handle closing
tags.
2008-09-01 Marek Habersack <[email protected]>
* AspGenerator.cs:
CloseControl uses ControlBuilder's OriginalTagName property,
should the property/tag name be prefixed with 'prefix:'
svn path=/trunk/mcs/; revision=112003
* UpdatePanel.cs: if the writer passed to RenderChildren is not
derived from ScriptManager.AlternativeHtmlTextWriter, check
whether its InnerWriter derives from that type and, if yes, use
it from that point onwards.
svn path=/trunk/mcs/; revision=112000
* TemplateControl.cs: changed the way in which ParseControl is
implemented for the 2.0+ profile. Still not quite there, but
better and closer to .NET
2008-09-01 Marek Habersack <[email protected]>
* BaseCompiler.cs: AssignAppRelativeVirtualPath works with
null/empty parser.InputFile now.
* AspGenerator.cs: AddTypeToCache works checks whether inputFile
is null or empty and does not assume the dependencies ArrayList is
present.
* CachingCompiler.cs: expect the dependencies ArrayList to be null
or empty.
svn path=/trunk/mcs/; revision=111998
* method-to-ir.c (handle_isinst): Do the assignment at the beginning, so the
other assignment can be if converted. Saves 1.5% on corlib size and fixes
#421807.
svn path=/trunk/mono/; revision=111993
* TemplateControlCompiler.cs:
Templates are processed before anything else, so that children
which may depend on parent's templates can get access to them.
2008-08-31 Marek Habersack <[email protected]>
* Control.cs: improved FillControlCache
* ControlBuilder.cs:
Added a cache for children of TemplateBuilder, used later in
TemplateControlCompiler.
svn path=/trunk/mcs/; revision=111990
* RxInterpreter.cs: Port the Anchor+StartOfString optimization from the old
interpreter. Add credits.
* RxCompiler.cs (EmitString): Lowercase the string if ignore is true.
svn path=/trunk/mcs/; revision=111989
* TemplateParser.cs: added support for the LinePragmas directive
attribute.
* ControlBuilder.cs: if this instance is a TemplateBuilder do not
call MyNamingContainer, so that our own ContainerType can be used
as the binding container (if present).
2008-08-31 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: trust builder.BindingContainerType
in the 2.0+ profile - do not use container properties to detect
the type.
Added a helper method, compiled only when DEBUG is defined, to
generate Console.WriteLine CodeDOM calls.
* BaseCompiler.cs: add line pragmas only if enabled for the
current file.
svn path=/trunk/mcs/; revision=111983
* CILCompiler.cs: Get rid of commented out code. Also get rid of
frame.local_strpos_res, since the generated code already set Arg1 to
the same value.
svn path=/trunk/mcs/; revision=111977
There is a major problem with it though: Reflection keeps gettting data
confused if you are using any of the *Builder classes and ends up
referencing other classes. This seems like a real bug in Emit, not
really just an intended side effect.
So until all of those issues are fixed, the code path is disabled, but
at least declaring types works now.
svn path=/trunk/mcs/; revision=111974
* configure.in: Rollup our unrolled FreeBSD support so that we properly
build and compile on FreeBSD6+. (FreeBSD5 is 2004)
svn path=/trunk/mono/; revision=111966
* System.Web.Script.Serialization/JavaScriptSerializer.cs: if the
target type is an IDictionary with value type of System.Object,
make sure to NOT convert any values.
Any values descendant from JavaScriptSerializer.LazyDictionary are
converted to Dictionary <string, object>
svn path=/trunk/mcs/; revision=111956
* HttpApplication.cs: do not cache handlers which aren't
reusable.
2008-08-29 Marek Habersack <[email protected]>
* HtmlHead.cs: call base.OnInit ()
If Page is null, throw an exception.
svn path=/trunk/mcs/; revision=111939
* RxInterpreter.cs RxCompiler.cs RxOp.cs: Implement/fix this so all the
regex tests now run. The Repeat code is taken from the old interpreter.
svn path=/trunk/mcs/; revision=111925
* build-iphone.sh: iPhone lies about HAVE_MMAP as well.
2008-08-26 Geoff Norton <[email protected]>
* build-iphone.sh: Update build-iphone to not wget old inssel's, and build
out of the box with teh current SDK.
svn path=/trunk/mono/; revision=111874
* mini.c: Avoid not initializing the runtime when doing AOT compilation,
since too many things depend on it. Instead, call
mono_runtime_set_no_exec ().
svn path=/trunk/mono/; revision=111867
* appdomain.c (mono_runtime_set_no_exec): New internal function setting
the runtime into no-exec mode, useful when running the AOT compiler.
* appdomain.c gc.c object.c: Avoid executing managed code when running
in no-exec mode.
svn path=/trunk/mono/; revision=111865
* System.Web.Script.Services/LogicalTypeInfo.cs: Invoke does not
convert context to System.Object.
If context is descendant from JavaScriptSerializer.LazyDictionary
it is converted to a regular Dictionary <string, object> before
passing to the service method.
2008-08-28 Marek Habersack <[email protected]>
* JsonSerializer.cs: each value stored in an enumerable is treated
as a top-level object.
svn path=/trunk/mcs/; revision=111801
* System.Data.OracleClient/OracleConnectionStringBuilder.cs: modified -
add missing connection options, correct case of some connection options,
added dictionary for mapping
defaults, for Item this indexer needs to return a default
for a valid keyword if it does not exist in the dictionary,
must override the Keys and Values collection to return all keys
and values whether or not they exist in the dictionary and if
they do not then return a default value for Values
svn path=/trunk/mcs/; revision=111783
* SqlSharpCli.cs: fixes for using DbConnectionStringBuilder,
do not allow changing of provider or opening when the
connection is already open
svn path=/trunk/mcs/; revision=111782
* System.Data.SqlClient/SqlConnectionStringBuilder.cs: modified -
add missing connection options, correct case of some connection options,
added dictionary for mapping
defaults, for Item this indexer needs to return a default
for a valid keyword if it does not exist in the dictionary,
must override the Keys and Values collection to return all keys
and values whether or not they exist in the dictionary and if
they do not then return a default value for Values
svn path=/trunk/mcs/; revision=111781
* System.Web.Script.Serialization/JavaScriptSerializer.cs:
correctly handle members which have an interface as their return
type - several known interfaces are converted to implementing
types.
svn path=/trunk/mcs/; revision=111772
* reflection.c (_mono_reflection_get_type_from_info): Handle the
special case when the mono_assembly_loaded () returns NULL because the
search hook is not installed.
svn path=/trunk/mono/; revision=111766
* cs-parser.jay (interactive_statement_list): A new set of rules
for hosting statements that uses the "interactive_" prefix.
* repl.cs: Add support for parsing `using' as a statement or as a
directive. Deambiguating before passing this to the parser.
We need to distinguish statement_expressions that occur at the
toplevel vs those that occur embedded into expressions.
svn path=/trunk/mcs/; revision=111762
* rules.make: Make the build process quiet similarly to the runtime build
process. Use the V=1 argument to make to make it verbose again.
svn path=/trunk/mcs/; revision=111761
AC_MSG_CHECKING([if big-arrays are to be enabled])
AC_ARG_ENABLE(big-arrays, [ --enable-big-arrays Enable the allocation and indexing of arrays greater than Int32.MaxValue], enable_big_arrays=$enableval, enable_big_arrays=no)
AC_MSG_RESULT($enable_big_arrays)
if test "x$enable_big_arrays" = "xyes" ; then
if test "x$ac_cv_sizeof_void_p" = "x8"; then
AC_DEFINE(MONO_BIG_ARRAYS,1,[Enable the allocation and indexing of arrays greater than Int32.MaxValue])
else
AC_MSG_ERROR([The allocation and indexing of arrays greater than Int32.MaxValue is not supported on this platform.])
AC_CONFIG_COMMANDS([quiet], [for i in `find mono libgc support -name Makefile.in | sed -e 's/Makefile.in/Makefile/g'`; do $srcdir/scripts/patch-quiet.sh $i; done], [shell=$SHELL])
Once you launch the csharp command, you will be greeted with the
interactive prompt:
.PP
.nf
$ csharp
Mono C# Shell, type "help;" for help
Enter statements below.
csharp>
.fi
.PP
A number of namespaces are pre-defined with C# these include System,
System.Linq, System.Collections and System.Collections.Generic.
Unlike the compiled mode, it is possible to add new using statements
as you type code, for example:
.PP
.nf
csharp> new XmlDocument ();
<interactive>(1,6): error CS0246: The type or namespace name `XmlDocument' could not be found. Are you missing a using directive or an assembly reference?
csharp> using System.Xml;
csharp> new XmlDocument ();
System.Xml.XmlDocument
.fi
.PP
Every time a command is typed, the scope of that command is one of a
class that derives from the class Mono.CSharp.InteractiveBase. This
class defines a number of static properties and methods. To display
a list of available commands access the `help' property:
.nf
csharp> help;
"Static methods:
LoadPackage (pkg); - Loads the given Package (like -pkg:FILE)
[...]
ShowVars (); - Shows defined local variables.
ShowUsing (); - Show active using decltions.
help;
"
csharp>
.fi
.PP
When expressions are entered, the C# shell will display the result of
executing the expression:
.PP
.nf
csharp> Math.Sin (Math.PI/4);
0.707106781186547
csharp> 1+1;
2
csharp> "Hello, world".IndexOf (',');
5
.fi
.PP
The C# shell uses the ToString() method on the returned object to
display the object, this sometimes can be limiting since objects that
do not override the ToString() method will get the default behavior
from System.Object which is merely to display their type name:
.PP
.nf
csharp> var a = new XmlDocument ();
csharp> a;
System.Xml.Document
csharp> csharp> a.Name;
"#document"
csharp>
.fi
.PP
A few datatypes are handled specially by the C# interactive shell like
arrays, System.Collections.Hashtable, objects that implement
System.Collections.IEnumerable and IDictionary and are rendered
<summary>Default constructor for NVDL "action" element.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>Represents "action" element of NVDL grammar object model.</summary>
<remarks>This class represents NVDL "action" element. For the entire NVDL grammar, see http://www.asahi-net.or.jp/~eb2m-mrt/dsdl/fcd/nvdl-fcd.pdf .</remarks>
<summary>Represents an NVDL "allow" element.</summary>
<remarks>This class represents NVDL "allow" element. For the entire NVDL grammar, see http://www.asahi-net.or.jp/~eb2m-mrt/dsdl/fcd/nvdl-fcd.pdf .</remarks>
<summary>Represents an NVDL "anyNamespace" element.</summary>
<remarks>This class represents NVDL "allow" element. For the entire NVDL grammar, see http://www.asahi-net.or.jp/~eb2m-mrt/dsdl/fcd/nvdl-fcd.pdf .</remarks>
<summary>Represents an NVDL "attach" element.</summary>
<remarks>This class represents NVDL "attach" element. For the entire NVDL grammar, see http://www.asahi-net.or.jp/~eb2m-mrt/dsdl/fcd/nvdl-fcd.pdf .</remarks>
<summary>Represents an NVDL "attachPlaceHolder" element.</summary>
<remarks>This class represents NVDL "attachPlaceHolder" element. For the entire NVDL grammar, see http://www.asahi-net.or.jp/~eb2m-mrt/dsdl/fcd/nvdl-fcd.pdf .</remarks>
<summary>Holds the all foreign attributes.</summary>
<value>A list that holds the entire foreign attributes.</value>
<remarks>This list holds the entire foreign attributes. Here "foreign" means those attributes whose namespace URI is neither empty nor NVDL structure namespace (see <seecref="F:Commons.Xml.Nvdl.Nvdl.NvdlNamespace"/>). </remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>Represents an abstract NVDL element that can hold foreign attribute.</summary>
<remarks>This class represents an abstract NVDL element that can hold foreign attribute. Here "foreign" means those attributes whose namespace URI is neither empty nor NVDL structure namespace (see <seecref="F:Commons.Xml.Nvdl.Nvdl.NvdlNamespace"/>). For the entire NVDL grammar, see http://www.asahi-net.or.jp/~eb2m-mrt/dsdl/fcd/nvdl-fcd.pdf .</remarks>
<summary>Validator implementation for built-in NVDL namespace.</summary>
<remarks>This validation provider implements a validation feature for built-in NVDL namespace. In this namespace, the rule is simple; any of input XML instances are either allowed or rejected.</remarks>
<summary>Represents an NVDL "cancelNestedAction" element.</summary>
<remarks>This class represents NVDL "cancelNestedAction" element. For the entire NVDL grammar, see http://www.asahi-net.or.jp/~eb2m-mrt/dsdl/fcd/nvdl-fcd.pdf .</remarks>
<MemberSignatureLanguage="C#"Value="public string Name { set; get; };"/>
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>
Loaded 100 of 9807 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.