Ben Maurer [Sat, 30 Apr 2005 16:17:42 +0000 (16:17 -0000)]
2005-04-30 Ben Maurer <bmaurer@ximian.com>
* Stdlib.cs: Comment out usage of `UnmanagedFunctionPointer'. It
isn't supported in the runtime -- it throws an assert -- so better
not to use it at all for now.
svn path=/trunk/mcs/; revision=43828
Ben Maurer [Sat, 30 Apr 2005 16:02:32 +0000 (16:02 -0000)]
2005-04-30 Ben Maurer <bmaurer@ximian.com>
* TypeBuilderTest.cs: Don't write to a specific path in /tmp --
breaks multiple users.
svn path=/trunk/mcs/; revision=43827
César Natarén [Sat, 30 Apr 2005 14:07:46 +0000 (14:07 -0000)]
fix infinite recursion
svn path=/trunk/mcs/; revision=43826
Jonathan Pryor [Sat, 30 Apr 2005 12:45:59 +0000 (12:45 -0000)]
* stdio.c: Add Mono_Posix_Stdlib_DumpFilePosition, which create a hex string
"dump" of a fpos_t. This is used for Mono.Unix.FilePosition.ToString().
svn path=/trunk/mono/; revision=43825
Ankit Jain [Sat, 30 Apr 2005 09:32:40 +0000 (09:32 -0000)]
* ILParser.jay (event_decl): Add custom attribute.
svn path=/trunk/mcs/; revision=43823
Ankit Jain [Sat, 30 Apr 2005 09:31:35 +0000 (09:31 -0000)]
* PEAPI.cs (InterfaceImpl.SortKey): New.
(MetaData.BuildMetaData): Sort InterfaceImpl table.
(MethodSemantics.SortKey): Compute key correctly.
svn path=/trunk/mcs/; revision=43822
Martin Baulig [Sat, 30 Apr 2005 09:28:29 +0000 (09:28 -0000)]
New test.
svn path=/trunk/mcs/; revision=43821
Martin Baulig [Sat, 30 Apr 2005 09:26:58 +0000 (09:26 -0000)]
2005-04-30 Martin Baulig <martin@ximian.com>
* statement.cs (Switch.SimpleSwitchEmit): Reset `default_at_end'
at the beginning of a SwitchSection. Fix #73335.
svn path=/trunk/mcs/; revision=43820
Martin Baulig [Sat, 30 Apr 2005 09:26:31 +0000 (09:26 -0000)]
2005-04-30 Martin Baulig <martin@ximian.com>
* statement.cs (Switch.SimpleSwitchEmit): Reset `default_at_end'
at the beginning of a SwitchSection. Fix #73335.
svn path=/trunk/mcs/; revision=43819
Martin Baulig [Sat, 30 Apr 2005 07:54:19 +0000 (07:54 -0000)]
**** Merged r43640 from MCS ****
svn path=/trunk/mcs/; revision=43818
Martin Baulig [Sat, 30 Apr 2005 07:54:00 +0000 (07:54 -0000)]
**** Merged r43579 from MCS ****
svn path=/trunk/mcs/; revision=43817
Martin Baulig [Sat, 30 Apr 2005 07:53:37 +0000 (07:53 -0000)]
**** Merged r43570 from MCS ****
svn path=/trunk/mcs/; revision=43816
Martin Baulig [Sat, 30 Apr 2005 07:53:08 +0000 (07:53 -0000)]
**** Merged r43450 from MCS ****
svn path=/trunk/mcs/; revision=43815
Martin Baulig [Sat, 30 Apr 2005 07:44:41 +0000 (07:44 -0000)]
**** Merged r43373 from MCS ****
svn path=/trunk/mcs/; revision=43814
Martin Baulig [Sat, 30 Apr 2005 07:41:13 +0000 (07:41 -0000)]
2005-04-30 Martin Baulig <martin@ximian.com>
* attribute.cs (Attribute.CheckSecurityActionValidity): Correctly
handle the .NET 2.x security attributes.
svn path=/trunk/mcs/; revision=43813
Martin Baulig [Sat, 30 Apr 2005 06:46:14 +0000 (06:46 -0000)]
Removed, this is not an error anymore.
svn path=/trunk/mcs/; revision=43812
Martin Baulig [Sat, 30 Apr 2005 06:42:06 +0000 (06:42 -0000)]
2005-04-30 Martin Baulig <martin@ximian.com>
* typemanager.cs
(TypeManager.ExpandInterfaces): Don't add things twice.
* class.cs
(TypeContainer.VerifyClsCompliance): Allow generic instances.
svn path=/trunk/mcs/; revision=43811
Martin Baulig [Sat, 30 Apr 2005 06:41:57 +0000 (06:41 -0000)]
New test.
svn path=/trunk/mcs/; revision=43810
Gonzalo Paniagua Javier [Fri, 29 Apr 2005 22:58:25 +0000 (22:58 -0000)]
2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* image.c: register assemblies loaded from data (bundles) in the loaded
assemblies hash. Fixes bug #74772.
svn path=/trunk/mono/; revision=43808
Jackson Harper [Fri, 29 Apr 2005 21:48:47 +0000 (21:48 -0000)]
* ThemeWin32Classic.cs: Don't clear the GC that will clear the
entire image buffer. Just clear the clipping rectangle.
svn path=/trunk/mcs/; revision=43807
Jonathan Pryor [Fri, 29 Apr 2005 20:33:45 +0000 (20:33 -0000)]
* UnixConvert.cs: Fix time_t -> DateTime conversions. time_t should be
assumed to be in the local time zone, so don't mess with UTC shifts.
This allows Mono.Unix to produce sane output (e.g. identical to ls(1) or
stat(1), instead of several hours different).
svn path=/trunk/mcs/; revision=43805
Jonathan Pryor [Fri, 29 Apr 2005 20:29:24 +0000 (20:29 -0000)]
* Makefile: Ignore warnings 0219 (variable declared and never used) and
0618 (member is obsolete): this is test code, which produces lots of
unused variables and tests [Obsolete] members.
* Test/Mono.Unix/StdioFileStreamTest.cs: Add FilePosition tests; remove
`var = var` lines (added to remove warnings, but now produces other warnings).
* Mono.Unix/Stdlib.cs: Make FilePosition slightly more useful by providing a
ToString() override which dumps the fpos_t structure contents into a
hex string. Add Equals(), GetHashCode(), operator==, and operator!=
so FilePosition behaves like a value type.
svn path=/trunk/mcs/; revision=43804
Gonzalo Paniagua Javier [Fri, 29 Apr 2005 19:30:51 +0000 (19:30 -0000)]
2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BasicClient.cs: firefox/IE just send latin1, stripping the high byte
from unicode >= 256 characters.
svn path=/trunk/mcs/; revision=43802
Gonzalo Paniagua Javier [Fri, 29 Apr 2005 18:40:04 +0000 (18:40 -0000)]
2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Calendar.cs: OnDayRender can toggle IsSelectable on our back.
svn path=/trunk/mcs/; revision=43800
Gonzalo Paniagua Javier [Fri, 29 Apr 2005 18:29:26 +0000 (18:29 -0000)]
2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BasicClient.cs: use latin1 when encoding the username/domain/password.
Fixes bug #74745.
svn path=/trunk/mcs/; revision=43799
Jackson Harper [Fri, 29 Apr 2005 16:55:27 +0000 (16:55 -0000)]
* ThemeWin32Classic.cs: Don't draw list view items that are
outside the clipping rectangle.
svn path=/trunk/mcs/; revision=43796
Jordi Mas i Hernandez [Fri, 29 Apr 2005 16:47:31 +0000 (16:47 -0000)]
2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: added horizontal item scroll
svn path=/trunk/mcs/; revision=43795
Jackson Harper [Fri, 29 Apr 2005 16:26:05 +0000 (16:26 -0000)]
* ThemeWin32Classic.cs: Remove some old debug code that was
causing flicker with the new double buffering code.
svn path=/trunk/mcs/; revision=43794
Ben Maurer [Fri, 29 Apr 2005 15:54:58 +0000 (15:54 -0000)]
2005-04-29 Ben Maurer <bmaurer@ximian.com>
* profiles/basic.make: The test for mcs was broken on jails where
we got a warning due to /proc not being mounted. Remove hackish wc
usage.
svn path=/trunk/mcs/; revision=43792
Martin Baulig [Fri, 29 Apr 2005 14:03:33 +0000 (14:03 -0000)]
New tests.
svn path=/trunk/mcs/; revision=43789
Martin Baulig [Fri, 29 Apr 2005 13:50:38 +0000 (13:50 -0000)]
2005-04-29 Martin Baulig <martin@ximian.com>
* generic.cs (Constraints.ResolveTypes): Expand interfaces.
* anonymous.cs: Added support for anonymous generic methods.
svn path=/trunk/mcs/; revision=43788
Dick Porter [Fri, 29 Apr 2005 13:17:48 +0000 (13:17 -0000)]
2005-04-29 Dick Porter <dick@ximian.com>
* processes.c (EnumProcesses): Use a GArray instead of a GPtrArray
now it's storing pids not handles, also fixes memory leak caused
by unclear glib documentation.
* sockets.c (WSACleanup): Remove unused variable
svn path=/trunk/mono/; revision=43787
Dick Porter [Fri, 29 Apr 2005 12:39:43 +0000 (12:39 -0000)]
2005-04-29 Dick Porter <dick@ximian.com>
* handles.c (_wapi_handle_check_share_by_pid): For systems that
don't have file descriptor info in /proc check that the original
opener of a file is still there, if a share violation would
otherwise happen.
svn path=/trunk/mono/; revision=43786
Satya Sudha K [Fri, 29 Apr 2005 12:00:08 +0000 (12:00 -0000)]
Support for 'lateSet', 'LateIndexGet', 'LateIndexSet'
svn path=/trunk/mcs/; revision=43785
Satya Sudha K [Fri, 29 Apr 2005 11:58:58 +0000 (11:58 -0000)]
Support for 'LateSet', 'LateIndexGet', 'LateIndexSet'
svn path=/trunk/mcs/; revision=43784
Sureshkumar T [Fri, 29 Apr 2005 11:15:32 +0000 (11:15 -0000)]
Ctor: Copy DataTable [] to local array so that not to be disturbed.
svn path=/trunk/mcs/; revision=43783
Martin Baulig [Fri, 29 Apr 2005 10:38:13 +0000 (10:38 -0000)]
Updated.
svn path=/trunk/mcs/; revision=43782
Martin Baulig [Fri, 29 Apr 2005 09:21:03 +0000 (09:21 -0000)]
New tests.
svn path=/trunk/mcs/; revision=43781
Martin Baulig [Fri, 29 Apr 2005 09:19:47 +0000 (09:19 -0000)]
2005-04-29 Martin Baulig <martin@ximian.com>
Reflect latest API changes.
* Collections.cs (EnumerableBase): Explicitly implement
System.Collections.IEnumerable.GetEnumerator().
* Makefile: Add `nowarn:169'.
svn path=/trunk/mcs/; revision=43780
Martin Baulig [Fri, 29 Apr 2005 09:17:24 +0000 (09:17 -0000)]
Reflect latest API changes.
svn path=/trunk/mcs/; revision=43779
Martin Baulig [Fri, 29 Apr 2005 09:16:52 +0000 (09:16 -0000)]
2005-04-29 Martin Baulig <martin@ximian.com>
Reflect latest spec changes.
* IEnumerable.cs (IEnumerable<T>): Implement IEnumerable.
* IEnumerator.cs (IEnumerator<T>): Implement IEnumerator.
svn path=/trunk/mcs/; revision=43778
Martin Baulig [Fri, 29 Apr 2005 09:09:46 +0000 (09:09 -0000)]
2005-04-29 Martin Baulig <martin@ximian.com>
* gen-73.cs, gen-115.cs: Reflect latest API changes.
svn path=/trunk/mcs/; revision=43777
Martin Baulig [Fri, 29 Apr 2005 09:06:38 +0000 (09:06 -0000)]
Remove unneccessary using.
svn path=/trunk/mcs/; revision=43776
Martin Baulig [Fri, 29 Apr 2005 09:05:39 +0000 (09:05 -0000)]
2005-04-29 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.GetInterfaces): Correctly handle
generic instances.
svn path=/trunk/mcs/; revision=43775
Sureshkumar T [Fri, 29 Apr 2005 09:03:57 +0000 (09:03 -0000)]
2005-04-29 Sureshkumar T <tsureshkumar@novell.com>
* Test/System.Data/DataTableReaderTest.cs: Added few more tests.
* System.Data/DataTableReader.cs: removed use of _first. throw if given index
is out of range of columns.
svn path=/trunk/mcs/; revision=43774
John BouAntoun [Fri, 29 Apr 2005 07:31:47 +0000 (07:31 -0000)]
MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdown
behave like combobox and comboboxlist (still not sure if this is
correct though).
svn path=/trunk/mcs/; revision=43773
Raja R Harinath [Fri, 29 Apr 2005 06:29:56 +0000 (06:29 -0000)]
Remove FIXME.
* Dictionary.cs (Slot<K,V>): Move to ...
(Dictionary<K,V>.Slot): ... here.
svn path=/trunk/mcs/; revision=43772
Martin Baulig [Fri, 29 Apr 2005 06:23:35 +0000 (06:23 -0000)]
New test.
svn path=/trunk/mcs/; revision=43771
Martin Baulig [Fri, 29 Apr 2005 05:59:16 +0000 (05:59 -0000)]
2005-04-29 Martin Baulig <martin@ximian.com>
* class.c (mono_type_get_name_recurse): Update to the new naming
schema from the latest .NET 2.x beta2.
(mono_class_setup_vtable_general): If we're a generic instance,
copy the vtable from our generic type definition and inflate all
the methods in it.
* loader.c (find_method): Update to the new naming schema from the
latest .NET 2.x beta2.
svn path=/trunk/mono/; revision=43770
Martin Baulig [Fri, 29 Apr 2005 05:55:41 +0000 (05:55 -0000)]
2005-04-29 Martin Baulig <martin@ximian.com>
* generic.cs (TypeManager.HasConstructorConstraint): Removed.
* expression.cs (New.DoResolve): Fix the CS0304 check.
svn path=/trunk/mcs/; revision=43769
Martin Baulig [Fri, 29 Apr 2005 05:52:54 +0000 (05:52 -0000)]
2005-04-29 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.GetFullName): Updated to the new
naming schema.
* class.cs (MethodCore.IsDuplicateImplementation): If we're an
explicit interface implementation, compare the interface types.
(MethodData.Define): Use the new naming scheme from the latest
.NET 2.x beta2.
(MemberBase.DoDefineBase): Resolve `InterfaceType' here.
* decl.cs (MemberName.GetMemberName): Removed.
(MemberName.MethodName, FullName): New properties.
svn path=/trunk/mcs/; revision=43768
Satya Sudha K [Fri, 29 Apr 2005 04:51:45 +0000 (04:51 -0000)]
Removed LateBinding12.vb so that it compiles
svn path=/trunk/mcs/; revision=43767
Satya Sudha K [Fri, 29 Apr 2005 04:38:28 +0000 (04:38 -0000)]
More testcases for late binding - by Sudharsan V
svn path=/trunk/mcs/; revision=43766
Satya Sudha K [Fri, 29 Apr 2005 04:07:24 +0000 (04:07 -0000)]
Some late bindig testcases
svn path=/trunk/mcs/; revision=43765
Raja R Harinath [Fri, 29 Apr 2005 02:35:01 +0000 (02:35 -0000)]
* class.c (mono_class_init): Add a mono_loader_unlock to the #74734 fix.
svn path=/trunk/mono/; revision=43764
César Natarén [Fri, 29 Apr 2005 02:06:16 +0000 (02:06 -0000)]
changelog entries
svn path=/trunk/mcs/; revision=43763
César Natarén [Fri, 29 Apr 2005 02:04:06 +0000 (02:04 -0000)]
Changes for MS API compliance
svn path=/trunk/mcs/; revision=43762
César Natarén [Fri, 29 Apr 2005 02:00:50 +0000 (02:00 -0000)]
Changes for MS API compliance
svn path=/trunk/mcs/; revision=43761
César Natarén [Fri, 29 Apr 2005 01:12:46 +0000 (01:12 -0000)]
Changes for MS API compliance
svn path=/trunk/mcs/; revision=43760
César Natarén [Fri, 29 Apr 2005 01:10:55 +0000 (01:10 -0000)]
Changes for API compliance
svn path=/trunk/mcs/; revision=43759
Jonathan Pryor [Fri, 29 Apr 2005 00:54:11 +0000 (00:54 -0000)]
* StdlibTest.cs: Calling a P/Invoke function from signal-handler context is
*bad*, which is why I've had so much trouble getting consistent results
getting this test to work -- it was broken by design. Instead, just save
the signum passed to the handler (which is reentrant safe), and compare
the saved value with the expected value after the signal handler returns.
This should always work. Use SIGURG instead of SIGUSR1 because SIGURG is
ignored by default (allowing us to call it without adding your own
handler), unlike SIGUSR1 which terminates the program.
svn path=/trunk/mcs/; revision=43758
Gonzalo Paniagua Javier [Fri, 29 Apr 2005 00:19:42 +0000 (00:19 -0000)]
2005-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ReaderWriterLock.cs: fix random ApplicationException errors. Tested
with the System.Web.Cache stress program. Patch by Eyal Alayuf
(Mainsoft). Fixes 74598.
svn path=/trunk/mcs/; revision=43757
Gonzalo Paniagua Javier [Thu, 28 Apr 2005 23:48:39 +0000 (23:48 -0000)]
2005-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* handles.c:
* handles-private.h: added _wapi_handle_forecch that loops through all
the handles and call a callback function when a handle of the given
type is found.
* sockets.c: no need to keep open sockets in an array, as we have them
in the handles structure.
Fixes bug #74755.
svn path=/trunk/mono/; revision=43756
César Natarén [Thu, 28 Apr 2005 23:41:34 +0000 (23:41 -0000)]
BinaryOp.cs: Changes for MS API compliance.
svn path=/trunk/mcs/; revision=43755
César Natarén [Thu, 28 Apr 2005 23:01:27 +0000 (23:01 -0000)]
2005-04-28 Cesar Lopez Nataren <cnataren@novell.com>
* BinaryOp.cs, ActivationObject.cs, expression.cs (Args),
ArrayLiteral.cs, ArrayObject.cs, IRedirectOutput.cs, ASTList.cs,
IVsaScriptScope.cs, ast.cs (AST): Changes for MS API compliance.
svn path=/trunk/mcs/; revision=43754
Jackson Harper [Thu, 28 Apr 2005 21:23:26 +0000 (21:23 -0000)]
* ThemeWin32Classic.cs: Don't fill the middle of progress
bars. This fills areas outside of the clip bounds that don't need
to be filled.
svn path=/trunk/mcs/; revision=43748
Jackson Harper [Thu, 28 Apr 2005 20:48:01 +0000 (20:48 -0000)]
* Control.cs: Don't expose functionality to touch the image buffers.
* ProgressBar.cs:
* ListView.cs: We do not need to (and no longer can) manipulate
the image buffers directly. All of this is handled by Control.
svn path=/trunk/mcs/; revision=43746
James Willcox [Thu, 28 Apr 2005 20:24:18 +0000 (20:24 -0000)]
2005-04-28 James Willcox <james@ximian.com>
* man/mkbundle.1: add --config-dir flag
svn path=/trunk/mono/; revision=43745
James Willcox [Thu, 28 Apr 2005 20:21:01 +0000 (20:21 -0000)]
2005-04-28 James Willcox <james@ximian.com>
* mkbundle.cs: Add --config-dir option
* template.c: same
svn path=/trunk/mcs/; revision=43744
Zoltan Varga [Thu, 28 Apr 2005 19:49:34 +0000 (19:49 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mini_cleanup): Skip the freeing of the runtime structures
for now, since some threads might still be running.
svn path=/trunk/mono/; revision=43743
Zoltan Varga [Thu, 28 Apr 2005 19:46:53 +0000 (19:46 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Environment_Exit): Remove the
suspend_all_other_threads () call for the time being, since it can hang.
* threads.c (mono_thread_manage): Similarly, disable the waiting for
the background threads to exit, since it can also hang.
svn path=/trunk/mono/; revision=43742
Sebastien Pouliot [Thu, 28 Apr 2005 19:32:28 +0000 (19:32 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* XmlDsigXPathTransformTest.cs: Marked FunctionHereObsolete (ignored)
and LoadInputAsXmlNodeList (failure) as [Category("NotWorking")] as
they both pass under MS 1.x runtime (for bad and/or good reasons).
svn path=/trunk/mcs/; revision=43740
Peter Dennis Bartok [Thu, 28 Apr 2005 19:26:12 +0000 (19:26 -0000)]
- Flush, before something gets lost
svn path=/trunk/mcs/; revision=43739
Sebastien Pouliot [Thu, 28 Apr 2005 18:31:21 +0000 (18:31 -0000)]
Add CAS unit tests for System.Reflection.Assembly
svn path=/trunk/mcs/; revision=43737
Sebastien Pouliot [Thu, 28 Apr 2005 18:30:12 +0000 (18:30 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyCas.cs: New. CAS unit tests for Assembly.
svn path=/trunk/mcs/; revision=43736
Dick Porter [Thu, 28 Apr 2005 15:38:47 +0000 (15:38 -0000)]
2005-04-28 Dick Porter <dick@ximian.com>
* processes.c: Cope with handles that are only around for as long
as the search is running. If we're searching for process handles,
check to see if the process is still running and signal it if not.
* handles.c (_wapi_search_handle): Search in the shared space as
well. Fixed bug 74752.
* mutexes.c:
* handles.c (_wapi_handle_new_from_offset):
_wapi_handle_new_for_existing_ns () was doing exactly the same as
this, so deleted it.
svn path=/trunk/mono/; revision=43728
Jordi Mas i Hernandez [Thu, 28 Apr 2005 15:28:32 +0000 (15:28 -0000)]
* Combobox:
- Adjust control's height for non-simple comboboxes (bug fix)
- Remove dead code
* MenuAPI.cs: remove unused var
* ScrollBar.cs: remove unsed var
* ListBox.cs: unselect items when clearing
2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
svn path=/trunk/mcs/; revision=43727
Zoltan Varga [Thu, 28 Apr 2005 14:06:32 +0000 (14:06 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* class.c (mono_class_init): Applied patch from Ankit Jain
(radical@gmail.com). Avoid pending init errors when a field refers
to a nested class using a typeref. Fixes #74734.
svn path=/trunk/mono/; revision=43724
Zoltan Varga [Thu, 28 Apr 2005 13:44:08 +0000 (13:44 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c (emit_call): Fix calls to native functions when the
runtime is compiled as a shared library. Fixes #74756.
svn path=/trunk/mono/; revision=43723
Sebastien Pouliot [Thu, 28 Apr 2005 13:42:22 +0000 (13:42 -0000)]
Add new unit tests for contexts (2.0) to the build and CAS tests for them too.
svn path=/trunk/mcs/; revision=43722
Sebastien Pouliot [Thu, 28 Apr 2005 13:30:19 +0000 (13:30 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* Thread.cs: Added property to get the ExecutionContext in 2.0. Fixed
GetCompressedStack and made SetCompressedStack available (as internal)
before NET_2_0.
svn path=/trunk/mcs/; revision=43721
Sebastien Pouliot [Thu, 28 Apr 2005 13:27:13 +0000 (13:27 -0000)]
2005-03-28 Sebastien Pouliot <sebastien@ximian.com>
* SecurityContextCas.cs: New. CAS unit tests for SecurityContext.
* SecurityContextTest.cs: New. Unit tests for SecurityContext.
* SecurityCriticalAttributeTest.cs: New. Unit tests for
SecurityCriticalAttribute.
* SecurityTransparentAttributeTest.cs: New. Unit tests for
SecurityTransparentAttribute.
svn path=/trunk/mcs/; revision=43720
Sebastien Pouliot [Thu, 28 Apr 2005 13:24:04 +0000 (13:24 -0000)]
2005-03-28 Sebastien Pouliot <sebastien@ximian.com>
* CompressedStackCas.cs: New. CAS unit tests for CompressedStack.
* CompressedStackTest.cs: New. Unit tests for CompressedStack.
* ExecutionContextCas.cs: New. CAS unit tests for ExecutionContext.
* ExecutionContextTest.cs: New. Unit tests for ExecutionContext.
svn path=/trunk/mcs/; revision=43719
Zoltan Varga [Thu, 28 Apr 2005 12:53:07 +0000 (12:53 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilderTest.cs: Add test for GetModules ().
svn path=/trunk/mcs/; revision=43718
Zoltan Varga [Thu, 28 Apr 2005 12:48:13 +0000 (12:48 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Reflection_Assembly_GetModulesInternal): Fix
this for dynamic modules.
svn path=/trunk/mono/; revision=43717
Sebastien Pouliot [Thu, 28 Apr 2005 12:18:44 +0000 (12:18 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* Thread.cs: Added internal property to get the ExecutionContext.
svn path=/trunk/mcs/; revision=43716
Sebastien Pouliot [Thu, 28 Apr 2005 12:13:22 +0000 (12:13 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* AsyncFlowControl.cs: Updated wrt beta2.
* ExecutionContext.cs: Updated wrt beta2. Class is now internal in
NET_1_1 to allow the compressed stack propagation to other threads.
* CompressedStack.cs: Updated wrt beta2. Class is internal in NET_1_1
to allow the compressed stack propagation to other threads.
* ContextCallback.cs: Updated wrt beta2.
* HostExecutionContext.cs: Updated wrt beta2.
* HostExecutionContextManager.cs: Updated wrt beta2.
svn path=/trunk/mcs/; revision=43715
Sebastien Pouliot [Thu, 28 Apr 2005 12:09:31 +0000 (12:09 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSetCollection.cs: Updated wrt beta2. Seems this will be
removed before 2.0 final.
* HostProtectionException.cs: Updated wrt beta2. Added TODO as it
isn't support by the runtime.
* SecurityContext.cs: Updated wrt beta2. Class is now internal in
NET_1_1 to allow the compressed stack propagation to other threads.
* SecurityCriticalAttribute.cs: Added support for property Scope.
* SecurityException.cs: Removed PermitOnlySetInstance property to
match beta2.
* SecurityTransparentAttribute.cs: Fixed AttributeUsage. Added TODO
as it isn't support by the runtime.
* SuppressUnmanagedCodeSecurityAttribute.cs: Added delegates to usage
in NET_2_0.
svn path=/trunk/mcs/; revision=43714
Martin Baulig [Thu, 28 Apr 2005 11:37:01 +0000 (11:37 -0000)]
2005-04-28 Martin Baulig <martin@ximian.com>
* Dictionary.cs, Queue.cs, Stack.cs, List.cs, Comparer.cs: Don't
duplicate type parameters in the nested classes.
svn path=/trunk/mcs/; revision=43713
Jordi Mas i Hernandez [Thu, 28 Apr 2005 10:39:20 +0000 (10:39 -0000)]
2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
* ListControl.cs: honors OnPositionChanged and default Selected Item
* ListBox.cs: unselect items when clearing
svn path=/trunk/mcs/; revision=43709
Zoltan Varga [Thu, 28 Apr 2005 08:56:22 +0000 (08:56 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Assert if ldsfld and friends are used
on a literal field. Fixes #74751.
svn path=/trunk/mono/; revision=43707
Gonzalo Paniagua Javier [Thu, 28 Apr 2005 06:22:47 +0000 (06:22 -0000)]
2005-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TypeDescriptor.cs: implemented GetEditor. Patch by Jonathan Chambers.
svn path=/trunk/mcs/; revision=43706
Gonzalo Paniagua Javier [Thu, 28 Apr 2005 04:01:16 +0000 (04:01 -0000)]
2005-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ExpiresBuckets.cs:
* Cache.cs:
* CacheExpires.cs: fix NullReferenceException thrown sometimes when
using sliding expiration and under high load. Patch by Eyal Alayuf from
Mainsoft.
svn path=/trunk/mcs/; revision=43705
Gonzalo Paniagua Javier [Thu, 28 Apr 2005 03:56:38 +0000 (03:56 -0000)]
updates
svn path=/trunk/mcs/; revision=43704
Gonzalo Paniagua Javier [Thu, 28 Apr 2005 03:42:24 +0000 (03:42 -0000)]
New test for Cache by Eyal Alayuf (Mainsoft)
svn path=/trunk/mcs/; revision=43703
Raja R Harinath [Thu, 28 Apr 2005 03:25:52 +0000 (03:25 -0000)]
svn:eol-style native
svn path=/trunk/mcs/; revision=43702
Raja R Harinath [Thu, 28 Apr 2005 03:06:48 +0000 (03:06 -0000)]
re-enable -dlopen workaround for monodis-wrapper.
Known problem libtools:
libtool/experimental on Debian (1.6.0+1.5a...)
libtool on the SuSE x86_64 (don't know the version)
svn path=/trunk/mono/; revision=43701
Gonzalo Paniagua Javier [Wed, 27 Apr 2005 23:54:50 +0000 (23:54 -0000)]
2005-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threads.c: don't wait for threads that are in the process of aborting
or aborted. Set the 'shutting_down' flag before cleaning the threadpool
and waiting for background threads to finish. This makes xsp and
mod-mono-server exit without random length delays and/or hangs.
svn path=/trunk/mono/; revision=43700
Gonzalo Paniagua Javier [Wed, 27 Apr 2005 23:49:39 +0000 (23:49 -0000)]
2005-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* icall.c: remove duplicate assignment from GetReferencedAssemblies.
svn path=/trunk/mono/; revision=43699
Jackson Harper [Wed, 27 Apr 2005 20:33:50 +0000 (20:33 -0000)]
* X11Keyboard.cs: Initialize a default keyboard and give a warning
if a "correct" keyboard is not found. This will make us not crash,
but might give some users bad keyboard layouts...seems to be the
same thing rewind does.
svn path=/trunk/mcs/; revision=43685