* arm/arm-codegen.h: Fix the names of the LDMIA/STMIA macros, they don't actually
update the base register.
svn path=/branches/mono-2-6/mono/; revision=145788
* Console.cs (OpenStandardError,OpenStandardOut,OpenStandardInput):
for NET_2_1 && !MONOTOUCH, disable these streams unless a debugger
is attached, or unless the MOONLIGHT_ENABLE_CONSOLE environment
variable is defined.
reviewed: alan
svn path=/branches/mono-2-6/mcs/; revision=145773
* System.Data.Linq.dll.sources: Use src/DbLinq.MySql/MySqlDataContext.cs;
fixes the build for case-insensitive filesystems.
svn path=/branches/mono-2-6/mcs/; revision=145749
* driver.c (mono_jit_parse_options): New public API function to parse options
as done by the runtime executable.
svn path=/branches/mono-2-6/mono/; revision=145654
* debugger-agent.c (buffer_add_cattrs): Fix reading an uninitialized variable
when handling named arguments.
svn path=/branches/mono-2-6/mono/; revision=145652
*: Move .cs files to the System.Data.Services subdir to match their namespace,
move tests to 'Test' from 'Tests', add Makefile.
svn path=/branches/mono-2-6/mcs/; revision=145633
because they weren't compiling, which was because System.Data.Linq
wasn't listing sqlmetal_net_2_0 as a friend assembly. (Why this
built before I couldn't tell you...) Fixed in latest S.D.L.
svn path=/branches/mono-2-6/mcs/; revision=145617
generate constructors referring to IVendor), enhances query support
so that extension methods can be used within 'select' blocks,
various FirebirdSQL fixes, etc.
svn path=/branches/mono-2-6/mcs/; revision=145616
A fix for bug #553031
* linq.cs, expression.cs, class.cs, cs-parser.jay: Initialize
expression tree version of anonymous type with members declaration.
svn path=/branches/mono-2-6/mcs/; revision=145585
* mini-arm.c (handle_thunk): Add a domain argument to control the domain
where the thunk memory should be allocated from. Fixes appdomain unloading
on arm.
svn path=/branches/mono-2-6/mono/; revision=145570
* mini-arm.c exceptions-arm.c: Make ctx->regs map directly to the 16 hardware
registers, instead of r4..r11,ip,lr. Make restore_context () restore r0..r3 too.
svn path=/branches/mono-2-6/mono/; revision=145564
* HttpsTransportBindingElement.cs: Implement basic https transport
binding support for Moonlight and MonoTouch
svn path=/branches/mono-2-6/mcs/; revision=145558
* mini-amd64.c (mono_arch_output_basic_block): Don't allow OP_SEQ_POINT in
AOT, as it is not implemented yet.
* mini-x86.c (mono_arch_output_basic_block): Ditto.
svn path=/branches/mono-2-6/mono/; revision=145552
* debugger-agent.c: Add an 'onthrow' option to start the debugger agent
when an exception of a given type is thrown.
svn path=/branches/mono-2-6/mono/; revision=145550
* debugger-agent.c: Add a 'onuncaught' option to start the debugger agent
only on an uncaught exception.
* mini-exceptions.c: Notify the debugger agent on an uncaught exception.
svn path=/branches/mono-2-6/mono/; revision=145549
* debugger-agent.c: Changes to build on windows. Use mono-mutex instead
of pthreads directly.
* mini.c (mono_sigfpe_signal_handler): Changed signature of Windows
exception handlers. Pass info argument.
* mini.h: Adjust signatures of soft debugger functions to pass void*
instead of siginfo_t. Adjust SIG_HANDLER_SIGNATURE on Windows.
* mini-amd64.c (mono_arch_is_single_step_event): Adjust signature to pass void*
instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.
(mono_arch_is_breakpoint_event): Adjust signature to pass void*
instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.
* mini-amd64.h: Adjust MonoW32ExceptionHandler signature.
* mini-x86.c (mono_arch_is_single_step_event): Adjust signature to pass void*
instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.
(mono_arch_is_breakpoint_event): Adjust signature to pass void*
instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.
* mini-x86.h: Adjust MonoW32ExceptionHandler signature.
* exceptions-x86.c: Adjust W32_SEH_HANDLE_EX for new signature.
* exceptions-amd64.c: Adjust W32_SEH_HANDLE_EX for new signature.
* mono-semaphore.h: Skeleton implementation for Windows.
Code contributed under MIT/X11 license.
svn path=/branches/mono-2-6/mono/; revision=145543
* class.c: When CoreCLR is enabled don't call mono_init_com_types
if MONO_CLASS_IS_IMPORT return true unless the type reside in
platform (trusted) code. Instead we return a TypeLoadException to
be thrown later. This is the exception thrown by Silverlight 2 if
a type, inside application (user) code is marked with [ComImport]
[Backport r145534]
svn path=/branches/mono-2-6/mono/; revision=145535
* class.c: Add missing check for load errors after every
call to mono_class_setup_fields
Fixes#552282.
Backport of r145501.
2009-11-05 Rodrigo Kumpera <[email protected]>
svn path=/branches/mono-2-6/mono/; revision=145516
* net_2_1_raw_System.Net.dll.sources: Add Consts.cs, Locale.cs and
MonoTODOAttribute.cs to the build to fix ambiguous references to
those types in corlib and System.dll. This way we'll use our own
types.
svn path=/branches/mono-2-6/mcs/; revision=145487
2009-11-05 Rodrigo Kumpera <[email protected]>
* metadata.c: Change event table schema to use TDOR for event type
as this is what it's meant to be.
* metadata.c (mono_metadata_compute_size): Change MONO_TABLE_ASSEMBLYPROCESSOR
to MONO_TABLE_ASSEMBLYREFPROCESSOR, which is table that has a MONO_MT_TABLE_IDX
entry.
* metadata.c (mono_metadata_compute_size): Trim MT_TABLE_IDX of code that no
longer makes sense: remove MONO_TABLE_EVENT and remove checks for non-existent
rows in MONO_TABLE_GENERICPARAM.
Fixes#552289.
Backport of r145478.
svn path=/branches/mono-2-6/mono/; revision=145480
* CultureInfo.cs: Allow neutral cultures, and fix zh-Hans/zh-Hant
- they're stored internally as zh-chs/zh-cht, and only visible as
zh-Hans/zh-Hant. zh-CHS/zh-CHS are invalid cultures in SL.
svn path=/branches/mono-2-6/mcs/; revision=145465
* VirtualMachineManager.cs (Connect): New method to connect to a runtime
listening at the provided address.
svn path=/branches/mono-2-6/mcs/; revision=145454
2009-11-04 Rodrigo Kumpera <[email protected]>
* class-internals.h: Change signature of mono_class_inflate_generic_type_with_mempool to take
a MonoError parameter.
* class-internals.h: Add new mono_class_inflate_generic_type_checked version that can does proper error handling.
* class.c (inflate_generic_type): Add a MonoError parameter. Don't assert on error, use new mono error machinery.
* class.c (mono_class_inflate_generic_type_with_mempool): Add new MonoError parameter.
* class.c, generics-sharing.c: Changes to handle mono_class_inflate_generic_type_with_mempool new signature.
Backport of r144688 and r144755.
svn path=/branches/mono-2-6/mono/; revision=145424
* string-icalls.c|h: Remove string internal calls that are not
used anymore by the class libraries.
* icall.c: Remove System_Reflection_FieldInfo_internal_from_handle
which is not used in the class librairies.
* icall-def.h: Update tables.
[Backport r145416]
svn path=/branches/mono-2-6/mono/; revision=145417
2009-11-04 Rodrigo Kumpera <[email protected]>
* reflection.c (fieldref_encode_signature): If field_image is NULL then
the token is already properly encoded. Fixs 4.0 build.
Backport of r145396.
svn path=/branches/mono-2-6/mono/; revision=145412
* locales.c (construct_number_format): Check if the number index is
valid before trying to use it, if not, just return.
svn path=/branches/mono-2-6/mono/; revision=145388
* aot-compiler.c (mono_save_xdebug_info): Bump the threshold for flushing
debug info to 100 because 10 still slows down gdb too much.
svn path=/branches/mono-2-6/mono/; revision=145368
* reflection.c (fieldref_encode_signature): Add new field_image parameter
to indicate which assembly to use when resolving a custom-mod.
Fixes handling of volatile fields used across assemblies as reported in #551513.
Backport of r145337.
svn path=/branches/mono-2-6/mono/; revision=145362
2009-11-03 Rodrigo Kumpera <[email protected]>
* simd-intrinsics.c (load_simd_vreg): Add extra argument to signal if
the value was loaded from memory.
* simd-intrinsics.c (simd_intrinsic_emit_setter): Store back to memory if
the value was loader from there.
* simd-intrinsics.c (simd_intrinsic_emit_shuffle): Fail correctly for Shuffle
without constant swizzle.
Backport of r145283.
svn path=/branches/mono-2-6/mono/; revision=145338
* SocketAsyncEventArgs.cs: Set error back to SocketError.Success
once CheckEndPoint succeed.
[Fix bug #549586]
[Backport r145329]
svn path=/branches/mono-2-6/mcs/; revision=145330
* Mono.Tuner/CheckVisibility.cs: detect a throw_on_visibility_error
linker parameter to decide whether or not throw when an error
have been encountered.
svn path=/branches/mono-2-6/mcs/; revision=145303
* aot-runtime.c (mono_aot_get_method): Refactor some code into a new helper
function mono_aot_get_array_helper_from_wrapper ().
* aot-compiler.c (add_generic_class): Refactor the code a bit, really emit
array helper methods.
svn path=/branches/mono-2-6/mono/; revision=145299
* AssemblyInfo.cs: Open up the internals to System.Net.dll (which
needs Uri.IsDefaultPort) for NET_2_1 and remove it for
System.ComponentModel.DataAnnotations (again for NET_2_1)
[Backport r145294]
svn path=/branches/mono-2-6/mcs/; revision=145295
* debugger-agent.c (mono_debugger_agent_thread_interrupt): Return false if
the agent is not enabled.
svn path=/branches/mono-2-6/mono/; revision=145258
* exceptions-x86.c: hopefully last change to fix the windows build.
This one courtesy of Jonathan Chambers.
svn path=/branches/mono-2-6/mono/; revision=145254
* debugger-agent.c: add #ifdefs for a few header files.
* mini-x86.h: disable the soft debugger in windows.
Step 1 of 2 to make this compile on windows with gcc.
svn path=/branches/mono-2-6/mono/; revision=145252
Merge the soft debugger branch.
* debugger-agent.h debugger-agent.c: New files containing the soft
mode debugger module.
* method-to-ir.c (mono_method_to_ir): Generate OP_SEQ_POINT opcodes
at the appropriate locations.
* mini-<ARCH>.c (mono_arch_output_basic_block): Handle OP_SEQ_POINT
opcode.
* mini-<ARCH>.c: Add new arch-specific functions to set/clear breakpoints,
enable/disable single stepping.
* exceptions-<ARCH>.c (mono_arch_find_jit_info_ext): New stack unwinding api
which returns all information in a StackFrameInfo structure, and can handle the
LMF frames added by the debugger.
* mini-<ARCH>.h (MonoLMFExt): New structure containing additional information
about an LMF frame.
* mini-exceptions.c (mono_jit_walk_stack_from_ctx_in_thread): New stack
walker function which works on a specific thread and passes a StackFrameInfo
structure to its callback.
* mini.c (mini_init): Initialize the debugger agent.
* aot-compiler.c aot-runtime.c: Add soft-debug support.
* mini-ops.h: Add OP_SEQ_POINT opcode.
* driver.c (mono_main): Add new '--debugger-agent' option for passing
arguments to the debugger agent.
svn path=/branches/mono-2-6/mono/; revision=145249
* EventRequest.cs (AssemblyFilter): New property to filter
events based on a list of assemblies.
* Connection.cs: Add assembly filters to the protocol implementation.
svn path=/branches/mono-2-6/mcs/; revision=145245
* Makefile: Add Mono.Debugger.Soft.
In Mono.Debugger.Soft:
2009-11-02 Zoltan Varga <[email protected]>
* New directory containing the managed interface to the soft-mode debugger.
svn path=/branches/mono-2-6/mcs/; revision=145237
* debug-mono-symfile.c (check_line): Fix the handling of IL offset 0.
* threads.c (mono_thread_attach): Call the profiler thread start callback.
* object-internals.h (_MonoThreadInternal): Add a 'flags' field.
* threads.c (build_wait_tids): Ignore threads which have the DONT_MANAGE
flag set.
* profiler.c: Add new profiler callbacks for runtime invoke.
* object.c (mono_runtime_invoke): Call the runtime invoke callbacks.
svn path=/branches/mono-2-6/mono/; revision=145233
* Thread.cs (set_CurrentUICulture): Delay setting in_currentculture
to true until after the null check and the return statement.
svn path=/branches/mono-2-6/mcs/; revision=145215
Merge the MonoTouch Linker branch.
* monolinker.exe.sources: update
* Mono.Linker/Annotations.cs:
- add an preserved methods annotation on a type.
- add an annotation to get the base methods of a method.
- add an annotation to get the overriden method of a method.
* Mono.Linker/AssemblyAction.cs:
add a Delete action to remove an assembly from the output set.
* Mono.Linker.Steps/TypeMapStep.cs:
new step that create a map of virtual methods implementation.
* Mono.Linker.Steps/MarkStep.cs:
- removal of virtual methods.
- fix for custom attributes assigning properties and field
defined in a base type.
- mark scopes.
- mark default constructors of types used as a generic instance
of a generic parameter constrained with new().
- apply preserved methods.
* Mono.Linker.Steps/SweepStep.cs: remove unused assemblies.
* Mono.Linker.Steps/LoadI18nAssemblies.cs:
fix linking of i18n assemblies.
* Mono.Linker.Steps/OutputStep.cs:
fix the copied assemblies when the output directory
is the same as the origin of the assemblies.
* Mono.Linker.Steps/ResolveFromXmlStep.cs
* Mono.Linker.Steps/ResolveFromAssemblyStep.cs
* Mono.Linker.Steps/BaseStep.cs
* Mono.Linker/Driver.cs
* Mono.Linker/Pipeline.cs:
Cosmetics.
svn path=/branches/mono-2-6/mcs/; revision=145209
* mini.c (mini_method_compile): Disable llvm for methods with an lmf here to
speed things up.
* mini-llvm.c (mono_llvm_emit_method): Add support for OP_LOCALLOC.
svn path=/branches/mono-2-6/mono/; revision=145197
* mini.c (mini_init): Avoid using the IMT trampoline in the LLVM case.
* mini-trampolines.c (mono_llvm_vcall_trampoline): Add a static rgctx trampoline
if needed.
(mono_create_llvm_imt_trampoline): New function to create a trampoline which
sets the IMT argument and makes a virtual call.
* mini-llvm.c: Enable interface calls using the llvm imt trampoline.
svn path=/branches/mono-2-6/mono/; revision=145192
* configure.in: Pass -mno-cygwin to CXX too on windows. Enable AC_PROG_CXX
since it now works on windows too.
svn path=/branches/mono-2-6/mono/; revision=145173
* ResourceManager.cs (GetResourceFilePath): Don't use
'resourceDir' which should always be null for Moonlight
[Backport r145165]
svn path=/branches/mono-2-6/mcs/; revision=145166
* threads.c: refactor the code that initializes the
thread_start_args into a reusable function and use this in the two
methods that start up threads.
svn path=/branches/mono-2-6/mono/; revision=145155
* mono-perfcounters.c: add the "_Total" instance for CPU counters.
Until now, we only had the per-cpu(core) counters.
2009-10-30 Gonzalo Paniagua Javier <[email protected]>
* mono-proclib.c: hz is only multiplied by the number of cpus when
requesting "_Total".
Fixes bug #523520.
svn path=/branches/mono-2-6/mono/; revision=145135
* MethodBuilderTest.cs: Add (copy from TypeBuilderTest) test
cases for two DefineGenericParameters
[Backport r145118]
svn path=/branches/mono-2-6/mcs/; revision=145120
* MonoMethod.cs: Remove CAS check in MonoCMethod.Invoke (just
like it was done for MonoMethod.Invoke sister method)
[Backport r145101]
svn path=/branches/mono-2-6/mcs/; revision=145102
* TypeMap.cs (Deserialize): use
FormatterServices.GetUninitializedObject instead of
Activator.CreateInstance, since we shouldn't be invoking the
default ctor.
svn path=/branches/mono-2-6/mcs/; revision=145077
* ModuleBuilderTest.cs: Add test cases for GetType overloads
* TypeBuilderTest.cs: Remove NotWorking from two
DefineGenericParameters test case.
[Backport r145013]
svn path=/branches/mono-2-6/mcs/; revision=145015
* method-to-ir.c (mono_method_to_ir): Use EMIT_NEW_LOAD_MEMBASE_TYPE to
load vtypes instead if OP_LOADV_MEMBASE in the implementation of
CONSTRAINED. Fixes#550964.
* generics.cs: Add a test.
svn path=/branches/mono-2-6/mono/; revision=145007
* MarshalByRefObject.cs: In InitializeLifetimeService, if a lease
exists for the object return it, instead of always creating
a new one. Fixes bug #544357.
svn path=/branches/mono-2-6/mcs/; revision=144963
* FileStream.cs: Move code to deal with 'anonymous' filenames
into two methods (returning the path, fullpath or only the
filename). Default Moonlight to anonymous (not only for isolated
storage) unless the coreclr is disable (e.g. smcs)
[Backport r144945]
svn path=/branches/mono-2-6/mcs/; revision=144946
* UnicodeEncodingTest.cs: Add test cases with an odd number of
bytes being used in GetString (it does not crash but it does not
work like MS FX either).
[Backport r144921]
svn path=/branches/mono-2-6/mcs/; revision=144924
* String.cs: Remove unused (and unneeded) internal call defs.
Reduce duplication (and fix test) for Concat (object,object).
Avoid allocating zero-length strings in the cases where the
FX does not do so.
[Backport r144921]
svn path=/branches/mono-2-6/mcs/; revision=144923
** Fixes #385028/#385029
* DbCommandBuilder.cs (CreateInsertCommand): Workaround for inserting
DEFAULT values to non-null-columns.
(GetInsertCommand): New overload added to handle above workaround.
(set_DataAdapter): Register for the RowUpdatingEventHandler.
svn path=/branches/mono-2-6/mcs/; revision=144917
2009-10-25 Zoltan Varga <[email protected]>
* misc.c (GC_get_suspend_signal): New API function to return the suspend signal
used by libgc.
In mono/mini:
2009-10-25 Zoltan Varga <[email protected]>
* mini-posix.c (add_signal_handler): Delay the GC suspend signal while
executing a SIGSEGV handler on an altstack, since libgc can't handle that.
In mono/tests:
2009-10-25 Zoltan Varga <[email protected]>
* misc.c (GC_get_suspend_signal): New API function to return the suspend signal
used by libgc.
svn path=/branches/mono-2-6/mono/; revision=144871
* Assembly.cs: Share code between GetSatelliteAssembly and
GetSatelliteAssemblyNoThrow. For Moonlight ensure both
GetManifestResourceStream and GetSatelliteAssembly don't load
anything "below" the assembly path.
[Backport r144845]
svn path=/branches/mono-2-6/mcs/; revision=144846
* InterlockedTest.cs: Add test case for generic methods
CompareExchange and Exchange
[Backport r144840]
svn path=/branches/mono-2-6/mcs/; revision=144842
marshal.c: BeginInvoke cannot be called on multicast delegates with
multiple targets. Fixes bug #574426.
Backported from trunk.
svn path=/branches/mono-2-6/mono/; revision=144812
* zlib-helper.c: stop trying to decompress when we get Z_STREAM_END.
Patch by Ives Bastide. Fixes bug #549942.
svn path=/branches/mono-2-6/mono/; revision=144800
* StackFrame.cs: Relax GetSecureFileName when the coreclr is not
active (i.e. show full path when compiling with smcs)
[Backport r144797]
svn path=/branches/mono-2-6/mcs/; revision=144798
* AssemblyBuilder.cs: For Silverlight only AssemblyBuilderAccess.Run
is supported (browser-side) but we still allow other values when
compiling (e.g. smcs) outside the browser (wo coreclr)
* TypeBuilder.cs (GetConstructor): Fix validations
[Backport r144791]
svn path=/branches/mono-2-6/mcs/; revision=144792
* mini-exceptions.c (mini_jit_info_table_find): Add an 'out_domain' argument
which will contain the domain where the method was found.
* exceptions-<ARCH>.c mini-exceptions.c: Update callers of
mini_jit_info_table_find ().
svn path=/branches/mono-2-6/mono/; revision=144789
* threadpool.[ch]: added hooks for thread start/finish and item
processing begin/end. For monotouch use only.
svn path=/branches/mono-2-6/mono/; revision=144783
* reflection.c (resolve_object): Set handle_class for strings too.
(mono_reflection_create_custom_attr_data_args): New helper function to decode
a cattr blob into a set of arrays and structures without creating the custom
attributes themselves.
(create_custom_attr_data): Simplify using create_custom_attr_data_args.
* mono-debug.c (mono_debug_il_offset_from_address): New helper function.
* debug-mono-symfile.c (mono_debug_symfile_get_line_numbers): New helper
function.
svn path=/branches/mono-2-6/mono/; revision=144778
* SecurityManager_2_1.cs: Return to duty for SecurityEnabled, it
will allow us to distinguish between running in the browser
(coreclr active) and on the console (e.g. smcs) from managed code
[Backport r144732]
svn path=/branches/mono-2-6/mcs/; revision=144733
* Configuration.cs: make this work again with bundled configuration
files. Fixes bug #495957. Patch from Tor Lillqvist.
svn path=/branches/mono-2-6/mcs/; revision=144723
* mini-x86.c (mono_arch_emit_prolog): Disable aot for methods with save_lmf
set, its not supported yet.
svn path=/branches/mono-2-6/mono/; revision=144676
* aot-runtime.c (mono_aot_get_method): Avoid asserting if a array generic
iface wrapper is not found.
(mono_aot_get_method): Ditto for GetGenericValueImpl.
svn path=/branches/mono-2-6/mono/; revision=144673
* aot-runtime.c (mono_aot_get_method): Avoid asserting if a array generic
iface wrapper is not found.
svn path=/branches/mono-2-6/mono/; revision=144666
* CodeNamespaceImportCollection.cs: Properly update the internal
keys hashtable when there are changes in the items.
svn path=/branches/mono-2-6/mcs/; revision=144651
* MonitorTest.cs: Mark existing tests as "NotWorking" since they
fail in MS FX2 (maybe they worked in 1.x?). Add more test cases
to validate the TryEnter and Wait overloaded methods.
[Backport r144627]
svn path=/branches/mono-2-6/mcs/; revision=144629
* aot-runtime.c (mono_aot_get_method): Fix support for the IList<T> wrappers,
which have a different name.
svn path=/branches/mono-2-6/mono/; revision=144570
* aot-runtime.c (mono_aot_get_method): Special case the array generic iface
wrappers and Array.GetGenericValueImpl ().
* aot-compiler.c: Avoid emitting some wrappers which are not needed anymore
because of the change above.
* generics.cs: Add a test for full aot + generic array ifaces.
svn path=/branches/mono-2-6/mono/; revision=144566
* SerializationMap.cs, KnownTypeCollection.cs: avoid using LINQ
on arrays as MonoTouch has issues with them.
svn path=/branches/mono-2-6/mcs/; revision=144550
* WaitHandleTest.cs: New. Add test cases for Wait[One|All|Any]
methods overloads (at least the one present in Silverlight 2)
[Backport r144529]
svn path=/branches/mono-2-6/mcs/; revision=144531
* WaitHandle.cs: Add missing validations for 'millisecondsTimeout'
in Wait[One|Any|All]. Also call the overloaded (bool) methods for
WaitAll to reduce code duplication.
[Backport r144529]
svn path=/branches/mono-2-6/mcs/; revision=144530
* class.c (mono_class_create_from_typedef): Initialize class->element_class
before the interfaces to avoid crashes later if class initialization fails.
Fixes#548417.
svn path=/branches/mono-2-6/mono/; revision=144484
* ApplicationHost.cs: set the shadow copy options calling the methods
in AppDomain, instead of setting them in a copy of the setup
information.
svn path=/branches/mono-2-6/mcs/; revision=144479
* Timer.cs: Always call Init from every constructors to avoid
duplicate checks. Fix validations on different dueTime and period
(ctor and Change methods). Seal private TimerComparer class and
avoid multiple (identical) casts in its Compare method. Seal
private Scheduler class.
[Backport r144466]
svn path=/branches/mono-2-6/mcs/; revision=144467
* ServerContext.cs:
* SslServerStream.cs: add new parameter that forces sending the
CertificateRequest record. Make sure we raise the client certificate
validation event when it is requested or required.
svn path=/branches/mono-2-6/mcs/; revision=144460
* MonoProperty.cs: Reduce code duplication and the number of direct
calls to icalls (affecting the number of SecuritySafeCritical in
Moonlight)
[Backport 144448]
svn path=/branches/mono-2-6/mcs/; revision=144449
* Thread.cs: change type of the current_appcontext field to object
to avoid triggering static constructors unless explicitely required.
svn path=/branches/mono-2-6/mcs/; revision=144430
* assembly.c (mono_assembly_load_reference): Fix leak when 'status'
code is known. (parse_public_key) Remove duplicate (unneeded) NULL
check since 'pubkey' can't be NULL at this stage
* icall.c (ves_icall_System_Array_FastCopy): Add comment about
the check. (ves_icall_Type_GetInterfaceMapData) Remove duplicate
initialization of 'iter'
[Backport r144403]
svn path=/branches/mono-2-6/mono/; revision=144405
* MonoEvent.cs: Reduce code duplication and the number of direct
calls to icalls (affecting the number of SecuritySafeCritical in
Moonlight)
[Backport r144363]
svn path=/branches/mono-2-6/mcs/; revision=144364
* MethodBaseTest.cs: Add new, working, test for non-generic
GetMethodFromHandle. Add test case to show generic overload
behave exactly the same when no second RuntimeMethodHandle is
provided. Remove [Category("NotWorking")] on existing test case.
[Backport r144335]
svn path=/branches/mono-2-6/mcs/; revision=144337
calls to icalls (affecting the number of SecuritySafeCritical in
Moonlight)
[Backport r144335]
2009-10-18 Sebastien Pouliot <[email protected]>
svn path=/branches/mono-2-6/mcs/; revision=144336
* aot-compiler.c (can_marshal_struct): Allow some System.dll structs to be
marshalled. Fixes#541623.
svn path=/branches/mono-2-6/mono/; revision=144332
2009-10-18 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Remove System.IO.IntPtrStream since it can
be replaced by (public in 2.0+) UnmanagedMemoryStream
* net_2_1_raw_corlib.dll.sources: Remove System.IO.IntPtrStream
since it can be replaced by UnmanagedMemoryStream
[Backport r144322]
In System.Resources:
2009-10-18 Sebastien Pouliot <[email protected]>
* ResourceReader.cs, ResourceSet.cs, RuntimeResourceSet.cs: Use
UnmanagedMemoryStream (instead of IntPtrStream)
[Backport r144322]
In System.IO:
2009-10-18 Sebastien Pouliot <[email protected]>
* UnmanagedMemoryStream.cs: Allow the use under NET_1_1 so we can
remove the internal IntPtrStream from every profile.
In System.Reflection:
2009-10-18 Sebastien Pouliot <[email protected]>
* Assembly.cs: Use UnmanagedMemoryStream (instead of IntPtrStream)
in every profile
svn path=/branches/mono-2-6/mcs/; revision=144323
* MonoMethod.cs: Reduce code duplication and the number of direct
calls to icalls (affecting the number of SecuritySafeCritical in
Moonlight)
[Backport r144306]
svn path=/branches/mono-2-6/mcs/; revision=144307
A fix for bug #493523, #507067
* convert.cs, nullable.cs, expression.cs: Do implicit and explicit
standard nullable conversion using underlying standard conversion
and not full conversion.
svn path=/branches/mono-2-6/mcs/; revision=144266
* HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
support contexts so we call the non-overloaded WaitOne method
(which defaults to false).
[Backport r144200]
svn path=/branches/mono-2-6/mcs/; revision=144201
* ClientRuntimeChannel.cs: Remove the WaitOne 'emitContext'
overloads from the Moonlight build. Directly call WaitHandle.
WaitAll from WaitOne(int) (since the overloads are not always
present)
[Backport r144198]
svn path=/branches/mono-2-6/mcs/; revision=144199
Mono.Data.Sqlite to the MonoTouch build.
* System/System.ComponentModel/TypeConverter_2_1.cs: Skip this type in
the MonoTouch profile; MonoTouch will be using the 2.0 version of
TypeConverter.
* System/System.ComponentModel/ComponentCollection.cs,
System/System.ComponentModel/PropertyDescriptor.cs: MonoTouch uses the
.NET 2.0 versions of these types.
* System/monotouch_System.dll.sources: Add lots of additional .NET 2.0
functionality to the MonoTouch profile.
* System.Transactions/Makefile (VALID_PROFILE): Add monotouch.
* System.Data/System.Data.Common/DbConnection.cs: Throw
NotImplementedException for DbConnection.DbProviderFactory, as
DbProviderFactories isn't included in the MonoTouch profile.
* System.Data/System.Data.SqlClient/SqlConnection.cs: Remove
EnterpriseServices dependency from the MonoTouch profile.
* System.Data/monotouch_System.Data.dll.sources: Added.
* System.Data/System.Data/XmlSchemaDataImporter.cs: Remove
DbProviderFactories dependency in the MonoTouch profile.
svn path=/branches/mono-2-6/mcs/; revision=144142
* Exception.cs: Use StackFrame.GetSecureFileName to display (or
not) the file names (and paths). Don't serialize Source for
Moonlight.
* ValueType.cs: Change InternalEquals (icall) visibility to
private since it is not used elsewhere outside the type.
[Backport r144104]
svn path=/branches/mono-2-6/mcs/; revision=144105
2009-10-13 Martin Baulig <[email protected]>
* debug-mini.c (mono_debugger_trampoline_compiled): Add
`const guint8 *trampoline' argument; send both the old and the new
notification.
2009-10-13 Martin Baulig <[email protected]>
* mono-debug-debugger.h (MonoDebuggerEvent): Renamed
`MONO_DEBUGGER_EVENT_TRAMPOLINE' into
`MONO_DEBUGGER_EVENT_OLD_TRAMPOLINE' and added a new
`MONO_DEBUGGER_EVENT_TRAMPOLINE'.
* mono-debug.h (MONO_DEBUGGER_MINOR_VERSION): Bump to 4.
svn path=/branches/mono-2-6/mono/; revision=144065
* aot-compiler.c (mono_save_xdebug_info): Group methods into groups of 10 to
avoid registering 1 symbol file per method with gdb.
svn path=/branches/mono-2-6/mono/; revision=144034
* aot-compiler.c (mono_save_xdebug_info): Emit a symbol for the method which
can be used to set breakpoints in gdb.
* image-writer.c (bin_writer_emit_writeout): Add support for setting the text
segment to an absolute address.
svn path=/branches/mono-2-6/mono/; revision=144033
In tools/xbuild:
2009-10-12 Ankit Jain <[email protected]>
* xbuild/Microsoft.Common.targets: For referenced projects,
when trying to get the deploy items, ensure that the split
lists of project references are available.
(SplitProjectReferencesByExistent): New.
Set DependsOnTargets appropriately.
2009-10-12 Ankit Jain <[email protected]>
* SolutionParser.cs: Handle non-existing project files, and
project file load errors. Raise warnings instead of failing.
* xbuild/Microsoft.Common.targets: Handle non-existant
Project references, skip instead of failing.
In class/Microsoft.Build.Tasks:
2009-10-12 Ankit Jain <[email protected]>
* Makefile: Add reference to Microsoft.Build.Engine .
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-10-12 Ankit Jain <[email protected]>
* ResolveAssemblyReference.cs: Remove unnecessary tab in the warning
messages.
2009-10-12 Ankit Jain <[email protected]>
* MSBuild.cs (Execute): Handle build errors.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-12 Ankit Jain <[email protected]>
* Target.cs (TargetFile): New. Gives the name of the file
containing the target definition.
* BuildEngine.cs (.ctor): Add a 'taskfile' parameters, and
return this for ProjectFileOfTaskNode.
* BuildTask.cs (LogTaskStarted):
(LogTaskFinished): Use parentTarget.ProjectFileOfTaskNode for
the event.
(InitializeTask): Set BuildEngine's task file to parent target's
TargetFile.
* Engine.cs (LogProjectStarted): Incase of default targets, set
TargetNames to String.Empty .
* TargetBatchingImpl.cs (LogTargetStarted):
(LogTargetFinished): Use target.TargetFile for the event.
* ConsoleLogger.cs: Keep a stack of project/target/task being
executed. And corresponding list of errors and warnings.
(EventsToString): Stringifies the current "stack", to be used
as key to the table of errors/warnings and for show messages
at the end of the build.
2009-10-12 Ankit Jain <[email protected]>
* Project.cs (Load): Add argument checks.
In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-10-12 Ankit Jain <[email protected]>
* TaskLoggingHelper.cs: Use the buildEngine.ProjectFileOfTaskNode
in the event args.
2009-10-12 Ankit Jain <[email protected]>
* ToolTask.cs (ExecuteTool): Don't set toolOutput to null.
(HandleTaskExecutionErrors): toolOutput can be null.
Set toolOutput to null here.
svn path=/branches/mono-2-6/mcs/; revision=143964
In tools/xbuild:
2009-10-11 Ankit Jain <[email protected]>
* Main.cs: Add support for emitting messages in color.
Taking relevant code from mcs/report.cs . Using ANSI
color codes here instead of Console.ForegroundColor
because of a bug in Console.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-11 Ankit Jain <[email protected]>
* ConsoleLogger.cs (no_colors): Rename to ..
(use_colors): .. this. Fix the case when XBUILD_COLORS
is not set.
2009-10-11 Ankit Jain <[email protected]>
* ConsoleLogger.cs: Use ColorSetter and ColorResetter .
Support 'XBUILD_COLORS' to set colors for errors, warnings,
events and messages.
2009-10-10 Ankit Jain <[email protected]>
* ConsoleLogger.cs (ProjectFinishedHandler): Once projectFailed
becomes true, don't reset it. We are looking for "atleast one
project failed".
svn path=/branches/mono-2-6/mcs/; revision=143904
* mono-gdb.py (MonoSupport.run_hook): Set MONO_XDEBUG to 'gdb' to activate
the GDB support mode in the runtime.
svn path=/branches/mono-2-6/mono/; revision=143889
* image-writer.c: Add support for emitting the image into a memory buffer.
* dwarfwriter.c: Add support for sharing one IL file between multiple images.
* aot-compiler.c: Add support for registering debug info with GDB using the
new JIT debugging interface in GDB 7.0. It can be turned on by setting
MONO_XDEBUG to 'gdb'.
svn path=/branches/mono-2-6/mono/; revision=143888
2009-10-09 Ankit Jain <[email protected]>
* Exec.cs (AddCommandLineCommands): Add '/q' for cmd.exe, to
turn 'echo off'. And make sure the script file on windows, has
a '.bat' extension, otherwise cmd.exe opens it in a text editor.
2009-10-09 Ankit Jain <[email protected]>
Fix bug #545703.
* Exec.cs (Command): On unix, change CRLF to CR.
svn path=/branches/mono-2-6/mcs/; revision=143881
* image-writer.c (bin_writer_emit_writeout): Fix a copy paste error causing
the LOC section to overwrite the LINE section.
svn path=/branches/mono-2-6/mono/; revision=143875
* StackFrame.cs: Introduce a new GetSecureFileName method that
will deal with CAS (regular framework) and will remove the path
(for Moonlight) on a stack frame.
* StackTrace.cs: Use the new StackFrame.GetSecureFileName to
simplify logic
[Backport r143802]
svn path=/branches/mono-2-6/mcs/; revision=143804
* AppDomain.cs: Remove NET_2_1 specific DefineDynamicAssembly(
AssemblyName,AssemblyBuilderAccess,bool) since it is not part
of SL. Provide a ToString implementation similar to Silverlight
for Moonlight (and without directly using an icall)
[Backport r143799]
svn path=/branches/mono-2-6/mcs/; revision=143800
In tools/xbuild:
* xbuild/Microsoft.Common.targets: Don't get list of files
to deploy, for 'Private' project references.
Fix target named for *CopyDeploy*.
2009-10-08 Ankit Jain <[email protected]>
In tools/xbuild/tests:
2009-10-08 Ankit Jain <[email protected]>
* standalone/Project1: Add a new Lib5 project, and add
private references to various projects.
Update final-outputs.txt .
* standalone/Project01/Lib5/*: New.
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* ResolveAssemblyReference.cs: Don't resolve any dependencies for
assemblies resolved from {PkgConfig}. Honor parent's CopyLocal for
dependencies.
2009-10-08 Ankit Jain <[email protected]>
svn path=/branches/mono-2-6/mcs/; revision=143741
In tools/xbuild:
2009-10-08 Ankit Jain <[email protected]>
* xbuild/Microsoft.Common.tasks: Add RemoveDuplicates task.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
2009-10-08 Ankit Jain <[email protected]>
* TestMessageLogger.cs (CheckLoggedAny): New.
2009-10-08 Ankit Jain <[email protected]>
* RemoveDuplicatesTest.cs: New.
In class/Microsoft.Build.Tasks:
2009-10-08 Ankit Jain <[email protected]>
* Microsoft.Build.Tasks_test.dll.sources: Added
RemoveDuplicatesTest.cs
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-10-08 Ankit Jain <[email protected]>
* MSBuild.cs (Execute): Don't share target output items,
always create a copy.
2009-10-08 Ankit Jain <[email protected]>
* RemoveDuplicates.cs: Use item's ItemSpec as the key.
2009-10-07 Ankit Jain <[email protected]>
* ManagedCompiler.cs (HandleTaskExecutionErrors): Log error if
required.
2009-10-06 Ankit Jain <[email protected]>
* Exec.cs (ExecuteTool): Use DeleteTempFile instead of File.Delete
(HandleTaskExecutionErrors): Log error, if required.
* MSBuild.cs: Don't log error.
* Warning.cs: Don't log if @text is empty.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-10-08 Ankit Jain <[email protected]>
* ProjectTest.cs (TestBatchedMetadataRefInOutput): New.
In class/Microsoft.Build.Engine/Test/various:
2009-10-08 Ankit Jain <[email protected]>
* Items.cs (TestItemsWithWildcards): New.
2009-10-08 Ankit Jain <[email protected]>
* Items.cs (TestItems5): Fix to work correctly on windows
and unix.
(TestReservedMetadata): New.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-08 Ankit Jain <[email protected]>
* DirectoryScanner.cs: Use Path.GetPathRoot, instead of
directly using DirectoryInfo ("z:"), that doesn't return
a dir info for "z:".
2009-10-08 Ankit Jain <[email protected]>
* DirectoryScanner.cs: Handle absolute paths. Fix to work
correctly on windows. Change order of adding paths to match
msbuild, useful to have.
2009-10-08 Ankit Jain <[email protected]>
* TaskBatchingImpl.cs (ParseTaskAttributes): Parse attributes
of the 'Output' element also.
* TaskEngine.cs (PublishOutput): Honor condition on 'Output' also.
2009-10-07 Ankit Jain <[email protected]>
* ConsoleLogger.cs: Mark build as failed, if any project failed.
2009-10-06 Ankit Jain <[email protected]>
* ConsoleLogger: Improve error reporting. Don't count failed task,
target or project as another error. Show "errors" after "warnings",
more useful to the user.
* Project.cs (BuildTarget): Log error instead of using CWL.
In class/Microsoft.Build.Utilities/Mono.XBuild.Utilities:
2009-10-08 Ankit Jain <[email protected]>
* ReservedNameUtils.cs: Fix 'RootDir', 'Directory'.
(WithTrailingSlash): New.
Update to use the new WithTrailingSlash method.
In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-10-06 Ankit Jain <[email protected]>
* ToolTask.cs (Execute): HandleTaskExecutionErrors is called only
if exitCode != 0.
(ExecuteTool): Move logging of exitcode to HandleTaskExecutionErrors.
Remove MonoTODOs.
* TaskLoggingHelper.cs (LogMessageFromText): New.
(LogMessage): Refactor to use above.
svn path=/branches/mono-2-6/mcs/; revision=143736
* CompareInfo.cs: Don't allow MONO_DISABLE_MANAGED_COLLATION
override for Moonlight and move all icalls together so they
can be #if-ed out.
[Backport r143648]
svn path=/branches/mono-2-6/mcs/; revision=143649
2009-10-07 Sebastien Pouliot <[email protected]>
* OperationContextTest.cs: Add test case for OperationContext.Current
[Backport r143620]
In System.ServiceModel:
2009-10-07 Sebastien Pouliot <[email protected]>
* OperationContext.cs: Use [ThreadStatic] instead of Thread.
GetNamedDataSlot with Thread.[Get|Set]Data since it offers type
safety and don't require keeping extra API inside Moonlight
[Backport r143620]
svn path=/branches/mono-2-6/mcs/; revision=143621
* Decimal.cs: Use Compare method instead of directly using the
decimalCompare internal call.
[Backport r143554]
svn path=/branches/mono-2-6/mcs/; revision=143555
* Enum.cs: Add an internal Value property as a single point to
call the internal call get_value.
[Backport r143549]
svn path=/branches/mono-2-6/mcs/; revision=143550
* aot-compiler.c (add_generic_class): Add an instance of GenericComparer<T> for
each instance of Comparer<T>.
* generics.cs: Add a new test.
svn path=/branches/mono-2-6/mono/; revision=143532
* GatewayIPAddressInformationCollection.cs:
* IPInterfaceProperties.cs: implement GatewayAddresses for linux.
Original patch by Christoph von Wittich.
Fixes bug #544640.
svn path=/branches/mono-2-6/mcs/; revision=143526
* object.c (mono_method_return_message_restore): Handle the case
where the argument is an instance of a generic type. Fixes
#544446.
Backport of r143506.
2009-10-06 Mark Probst <[email protected]>
* bug-544445.cs: New test.
* Makefile.am: Test added.
Backport of r143506.
svn path=/branches/mono-2-6/mono/; revision=143510
In tools/xbuild:
2009-10-03 Ankit Jain <[email protected]>
Fix bug#542461.
* xbuild/Microsoft.Common.targets (KeyOriginatorFile): Set to
$(AssemblyOriginatorKeyFile), if SignAssembly is true.
Use it for satellite assemblies also.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-03 Ankit Jain <[email protected]>
* Project.cs (OS): New.
(InitializeProperties): Set 'OS' as a pre-defined property, set to
'Windows_NT', 'Unix' or 'OSX' depending on the platform.
svn path=/branches/mono-2-6/mcs/; revision=143317
* mini-sparc.c (mono_arch_emit_setret): Emit long return values using OP_LMOVE.
(mono_arch_create_vars): Instead of allocating a stack slot by hand, allocate
a variable to hold the stack slot used by the int<->float conversion opcodes.
svn path=/branches/mono-2-6/mono/; revision=143311
* mini-sparc.c (mono_arch_create_vars): Make the component vars of a long ret
variable volatile. Fixes#541577.
* basic-calls.cs: Add a new test.
* basic-long.cs: Remove tests which are now in basic-calls.cs.
svn path=/branches/mono-2-6/mono/; revision=143310
* HtmlSelectBuilder.cs: <option> allows the value of the 'selected'
attribute to be a boolean or the string "selected", which is treated
as "true".
svn path=/branches/mono-2-6/mcs/; revision=143106
* Hashtable.cs: MS (at least latest and greatest) does not always
serialized the HashCodeProvider. Ignoring the error when the field
is not found.
svn path=/branches/mono-2-6/mcs/; revision=143100
* BuildManager.cs: load/set the global resources assembly for
precompiled and merged sites correctly.
svn path=/branches/mono-2-6/mcs/; revision=143094
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-10-01 Ankit Jain <[email protected]>
* ImportTest.cs (TestAdd1): Add tests for multiple imports.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-01 Ankit Jain <[email protected]>
* Project.cs (AddImport): Show the correct source file name, when
the import is in the main project file.
2009-10-01 Ankit Jain <[email protected]>
Fix bug #543299.
* Import.cs (.ctor): Evaluate and set EvaluatedProjectPath to
the full path of the imported project here itself, instead of ..
(Evaluate): .. here.
* ImportCollection.cs (Add): Use import.EvaluatedProjectPath .
(Contains): New.
* Project.cs (AddImport): Don't process if condition is false.
Warn if a circular reference is detected, and ignore the import.
svn path=/branches/mono-2-6/mcs/; revision=143082
* ExtensionManager.cs: Initialize the NET_2_0 pieces with
MonoTouch, but do not register any of the System.Configuration
depending extensions.
BuildExtensionImporters, BuildExtensionReflectors: empty methods
for MOnoTouch.
* ServiceDescriptionImporter.cs, WebReference.cs: Remove
codegeneration features for MonoTouch
2009-09-30 Miguel de Icaza <[email protected]>
* Methods.cs: Empty extensions for MonoTouch for now.
* ServerType.cs: On MonoTouch, we do not support HttpGet or
HttpPost variations yet.
* SoapExtension.cs: Avoid System.Configuration features.
svn path=/branches/mono-2-6/mcs/; revision=143061
[Backport]
* TreeNode.cs: When we invalidate a node, make sure we start at
0, instead of the node's Bounds.Left, which does not include
the +/-, checkbox, or stateimages.
[Fixes bug #542481]
svn path=/branches/mono-2-6/mcs/; revision=143020
* mono-compiler.h (MONO_INTERNAL): Disable this on solaris as it produces a
millions of warnings during compilation.
svn path=/branches/mono-2-6/mono/; revision=143006
* mini-sparc.c (mono_arch_allocate_vars): Use mono_class_from_mono_type ()
instead of using type->data.klass as the later doesn't work with generics.
svn path=/branches/mono-2-6/mono/; revision=143005
* mini-sparc.c (mono_arch_allocate_vars): Use mono_class_from_mono_type ()
instead of using type->data.klass as the later doesn't work with generics.
svn path=/branches/mono-2-6/mono/; revision=143004
* aot-compiler.c (add_wrappers): Add a runtime invoke wrapper which is used by
mono_runtime_capture_context () without calling mono_runtime_invoke ().
(can_marshal_struct): Skip structures with auto layout.
svn path=/branches/mono-2-6/mono/; revision=142993
A fix for bug #542959
* delegate.cs: Emit correct delegate instance variable when there
are static and non-static overloads.
svn path=/branches/mono-2-6/mcs/; revision=142978
* BinaryFormatter.cs: NoCheckDeserialize() was using PeekChar() on a
reader when it should only read 1 byte. Also BinaryReader.PeekChar()
tries to set the position of hte stream back to where it was before
the read, which does not work well with broken Stream
implementations like BZip2InputStream (reports CanSeek is true when
it really can't seek). Now we do a Read() and then pass the value we
read on to the next methods.
* MessageFormatter.cs:
* ObjectReader.cs: added overloads that take a BinaryElement instead
of reading it from the reader. Only for the methods used in
NoCheckDeserialize.
Fixes bug #503435.
svn path=/branches/mono-2-6/mcs/; revision=142964
* InotifyWatcher.cs: fixes bug #322330. Patch by Alexander Kojevnikov.
This patch fixes the issues reported by the OP and in my previous
comment. In particular:
Hunks 1 and 4 remove the new_name_needed flag, it's not used
anywhere and only adds confusion.
Hunk 2 skips DeleteSelf event for sub-directories, they receive the
Delete event anyway.
Hunk 3 makes sure that we use a combination of Deleted+Created
notifications instead of a single Renamed notification, if the watched item
has been moved from one directory to another. This is because RenamedEventArgs
supports only one directory name: FullPath is always directory+name,
OldFullPath is always directory+old_name.
Hunk 5 updates relevant InotifyData instances with the new directory
name. Without this, notifications always use the original folder names.
The last hunk may be a bit slow as it needs to iterate on all the
InotifyData instances. On the other hand, we are already doing it on the
Delete event (lines 560:568) and by default inotify allows only 8192 watches
per user.
svn path=/branches/mono-2-6/mcs/; revision=142959
In tools/xbuild:
2009-09-29 Ankit Jain <[email protected]>
* SolutionParser.cs (Insert): Show project name in case of a cyclic
dependency.
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-09-29 Ankit Jain <[email protected]>
* Exec.cs: Write the commands, which can be multiline,
to a temporary file, and execute that with "cmd.exe /c"
on windows and "sh" on non-windows.
(LogToolCommand): Override, and emit the commands instead
of the actual args passed to the shell.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-09-29 Ankit Jain <[email protected]>
* ProjectTest.cs (TestPropertiesFromImportedProjects): New.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-09-29 Ankit Jain <[email protected]>
* GroupingCollection.cs (Evaluate): Mark internal.
* Project.cs (AddImport): Only evaluate the properties,
till before the import.
2009-09-29 Ankit Jain <[email protected]>
* Project.cs (DoLoad): Don't use XmlReader.Create, for loading
the project xml, as returned Xml*Reader normalizes the newlines.
Instead directly use the TextReader with XmlDocument.Load ().
In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-09-29 Ankit Jain <[email protected]>
* ToolTask.cs (ExecuteTool): Use LogToolCommand, instead of
directly logging.
(LogToolCommand): Implement.
svn path=/branches/mono-2-6/mcs/; revision=142871
* DefaultValueAttribute.cs: Implement the cctor which takes
a Type and a string for the SL2 case.
* CategoryAttribute.cs: Fix a typo in the CategoryAttribute.Asynchronous
ctor and fix some SL2 specific naming changes for the default properties.
svn path=/branches/mono-2-6/mcs/; revision=142866
* net_2_1_raw_System.Net.dll.sources: Remove Timer_2_1.cs and
related classes from System.dll - they are not required anymore
since Gonzalo's changes on Socket.Close(int)
[Backport r142851]
svn path=/branches/mono-2-6/mcs/; revision=142852
* appdomain.c|h: Add a mono_domain_try_unload method which is
equivalent to mono_domain_unload, except that it returns an exception
instead of throwing it. Make mono_domain_unload use the
mono_domain_try_unload method to avoid code-duplication.
Backport of r142658.
svn path=/branches/mono-2-6/mono/; revision=142846
* SocketAsyncEventArgs.cs: Default SocketError.AccessDenied on
Connect in case none of the DnsEndPoint provides an adequate
address (family).
[Backport r142746]
svn path=/branches/mono-2-6/mcs/; revision=142747
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-09-28 Ankit Jain <[email protected]>
* WriteLinesToFiles.cs (Execute): Handle empty list of
lines.
In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-09-28 Ankit Jain <[email protected]>
* ToolTask.cs (ProcessOuputTool): Move logging of tool
output from here to ..
(ExecuteTool): .. here. As, ProcessOuputTool can be
overridden.
svn path=/branches/mono-2-6/mcs/; revision=142742
* Socket_2_1.cs: Close(int timeout) blocks up to timeout ms if there's
pending data to be written to the socket. If there's no pending data,
it closes and returns right away. Instead of using Timer and then
doing a 'hard' close(), we set the linger option for the socket.
svn path=/branches/mono-2-6/mcs/; revision=142730
* SocketAsyncEventArgs.cs: Don't use Socket.Poll for NET_2_1.
Throw NIE for use of BufferList in Receive.
* Socket.cs: Move Close(int) to Socket_2_1.cs. Remove NET_2_1
defines since the file is not used by Moonlight
* Socket_2_1.cs: Add Close(int) from Socket. Define out Poll
and Blocking.
[Backport r142722]
svn path=/branches/mono-2-6/mcs/; revision=142723
* net_2_1_raw_System.Net.dll.sources: Add Timer_2_1.cs and
related classes from System.dll
[Backport of r142720]
svn path=/branches/mono-2-6/mcs/; revision=142721
* Timer_2_1.cs: New. A smaller, internal subset of Timer for
Moonlight - needed for Socket.Close(int)
[Backport of r142718]
svn path=/branches/mono-2-6/mcs/; revision=142719
* RealProxy.cs: for a custom proxy, retrieve the OutArgs before
allowing EndInvoke to proceed because after that, OutArgs will throw
because there is no method. Fixes remoting2 and remoting3 tests.
svn path=/branches/mono-2-6/mcs/; revision=142696
In tools/xbuild:
2009-09-27 Ankit Jain <[email protected]>
* SolutionParser.cs: Implement support for WebSite projects. These
projects lack a project file, so properties like references are read
from the .sln file, and targets are generated for build/clean etc.
2009-09-26 Ankit Jain <[email protected]>
* xbuild/Microsoft.Common.targets: Remove _ValidateEssentialProperties
from BuildDependsOn, which was a hack. It will get invoked from the
InitialTargets now.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-09-26 Ankit Jain <[email protected]>
* TargetTest.cs (TestOverridingTargets): New.
2009-09-26 Ankit Jain <[email protected]>
* ProjectTest.cs (TestInitialTargetsWithImports):
(TestDefaultTargets):
(TestDefaultTargetsWithImports):
(TestNoDefaultTargetsWithImports):
(TestNoDefaultTargets): New tests.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-09-27 Ankit Jain <[email protected]>
* ConditionParser.cs: Show the condition being parsed in the
exception message.
2009-09-26 Ankit Jain <[email protected]>
* Expression.cs: Allow '-' in item, property and metadata names.
2009-09-26 Ankit Jain <[email protected]>
* Project.cs (Evaluate): Split into this and ..
(PrepareForEvaluate): .. this.
(AddImport): Evaluate the current set of properties/items etc,
before processing the imported project. Honor the Condition
for the Import.
(ProcessProjectAttributes): Update MSBuildProjectDefaultTargets
property.
* GroupingCollection.cs (Evaluate): Don't evaluate Imports here.
* BuildItemGroup.cs (Evaluate): Evaluate only once.
* BuildPropertyGroup.cs (Evaluate): Evaluate only once.
2009-09-26 Ankit Jain <[email protected]>
* Project.cs: Get InitialTargets from the imported projects also.
The combined list of targets are executed, in the order they were
found.
DefaultTargets are also read in from imported projects, and the first
non-empty DefaultTargets found is used.
svn path=/branches/mono-2-6/mcs/; revision=142686
thrownewArgumentException("The supplied assembly is named '"+value.MainModule.Name+"', while the assembly in the debuggee is named '"+ManifestModule.Name+"'.");
thrownewArgumentException("The supplied assembly's main module has guid '"+value.MainModule.Mvid+", while the assembly in the debuggee has guid '"+ManifestModule.ModuleVersionId+"'.","value");
thrownewArgumentException("A breakpoint can only be set at an IL offset which is equal to the ILOffset property of one of the locations in method.Locations","location");
File diff suppressed because it is too large.
Load diff
Loaded 100 of 997 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.