mono.git
19 years ago2005-05-18 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 18 May 2005 17:31:21 +0000 (17:31 -0000)]
2005-05-18  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions/Options.cs: Reverting ABI change on RemainingArguments (will break packaged MonoDevelop 0.7)

svn path=/trunk/mcs/; revision=44695

19 years ago2005-05-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 18 May 2005 17:29:18 +0000 (17:29 -0000)]
2005-05-18  Miguel de Icaza  <miguel@novell.com>

* List.cs: Do not do lazy loading of data.  Not worth adding an
extra check, and not worth the bugs.

This decision wont be discussed until: a) a full List regression
test suite exists and  b) performance benchmarks are created.  (b)
depends on (a) or the argument wont even be heard.

svn path=/trunk/mcs/; revision=44694

19 years ago * make-map.cs: Add a MphPrototypeFileGenerator, which looks for DllImport
Jonathan Pryor [Wed, 18 May 2005 17:25:25 +0000 (17:25 -0000)]
  * make-map.cs: Add a MphPrototypeFileGenerator, which looks for DllImport
    methods across all types and generates a C header file declaration for
    those methods.  This allows us to ensure consistency between
    Mono.Posix.dll and MonoPosixHelper.so.  Rename WrapperFileGenerator to
    ConvertFileGenerator (it generates UnixConvert).
  * MapAttribute.cs, IncludeAttribute.cs: Make these internal -- there's no
    reason for external users to even know these exist.
  * StdioFileStream.cs: Move GC.SuppressFinalize call to be last Dispose()
    call.  This follows current design guidelines, and allows an exception to
    be thrown from Dispose() without un-registering the finalizer.
  * Syscall.cs: Change method declarations to match MonoPosixHelper, etc.
     - posix_fallocate(P) takes a size_t
     - mis-spelled settimeofday(2), sethostname(2)
     - exec(2) can be public; it's safe to call
     - change lseek(2) so int's are passed to MonoPosixHelper.so, not shorts
     - We can't allow two incompatible prototypes to exist (since C allows
       only one prototype, and we're cross-checking prototypes now).  Change
       utime(2) so only one prototype is needed.
  * UnixMarshal.cs: ErrorMarshal.ErrorTranslator and ErrorMarshal.Translate
    shouldn't be public; make them internal.
  * UnixStream.cs: Remove `unsafe` code block when a "safe" alternative works;
    Close() should also call GC.SuppressFinalize.

svn path=/trunk/mcs/; revision=44693

19 years ago2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 18 May 2005 16:27:47 +0000 (16:27 -0000)]
2005-05-18  Lluis Sanchez Gual <lluis@novell.com>

* TreeView.cs: Always render the startup script. This fixes
bug #74949.

svn path=/trunk/mcs/; revision=44690

19 years ago2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 18 May 2005 16:14:57 +0000 (16:14 -0000)]
2005-05-18  Lluis Sanchez Gual  <lluis@novell.com>

* BinaryServerFormatterSink.cs: Properly handle exceptions raised
during serialization. Fixes bug #74950.

svn path=/trunk/mcs/; revision=44689

19 years agoinit schema values with defaults if missing
Konstantin Triger [Wed, 18 May 2005 15:57:42 +0000 (15:57 -0000)]
init schema values with defaults if missing

svn path=/trunk/mcs/; revision=44688

19 years ago2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 18 May 2005 15:55:59 +0000 (15:55 -0000)]
2005-05-18  Lluis Sanchez Gual  <lluis@novell.com>

* HttpServerChannel.cs: Catch exceptions thrown in the server thread.
In StopListening, wait for the server thread to stop before returning.

svn path=/trunk/mcs/; revision=44687

19 years ago2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 18 May 2005 15:45:28 +0000 (15:45 -0000)]
2005-05-18  Lluis Sanchez Gual  <lluis@novell.com>

* TcpServerChannel.cs: In StopListening, wait for the server thread
to stop before returning. This fixes bug #74962.

svn path=/trunk/mcs/; revision=44686

19 years agocorlib_test.dll.sources: Added new CAS tests for System.IO.Stream.
Sebastien Pouliot [Wed, 18 May 2005 14:44:37 +0000 (14:44 -0000)]
corlib_test.dll.sources: Added new CAS tests for System.IO.Stream.

svn path=/trunk/mcs/; revision=44685

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 14:42:59 +0000 (14:42 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFileStreamCas.cs: Added tests to test stack
propagation for BeginRead and BeginWrite.

svn path=/trunk/mcs/; revision=44684

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 14:41:45 +0000 (14:41 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* StreamCas.cs: New. CAS unit tests to test stack propagation for
BeginRead and BeginWrite.
* FileStreamCas.cs: Added tests to test stack propagation for
BeginRead and BeginWrite.

svn path=/trunk/mcs/; revision=44683

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 14:07:55 +0000 (14:07 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConfig.cs: Changed lock pattern to second version of
http://www.skeet.org.uk/csharp/singleton.html

svn path=/trunk/mcs/; revision=44682

19 years ago2005-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 May 2005 14:05:23 +0000 (14:05 -0000)]
2005-05-18  Martin Baulig  <martin@ximian.com>

* Makefile: Updated after the last merging.

svn path=/trunk/mcs/; revision=44681

19 years agoNew test.
Martin Baulig [Wed, 18 May 2005 13:44:35 +0000 (13:44 -0000)]
New test.

svn path=/trunk/mcs/; revision=44680

19 years ago2005-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 May 2005 13:42:57 +0000 (13:42 -0000)]
2005-05-18  Martin Baulig  <martin@ximian.com>

Fix #74978.

* flowanalysis.cs
(FlowBranching.Reachability): Add non-static public And() and Or()
methods.
(FlowBranchingSwitch): New class; do the `break_origins' thing
like in FlowBranchingLoop.
(FlowBranching.UsageVector.MergeBreakOrigins): Also merge the
reachability, not just locals and parameters.
(FlowBranching.MergeChild): Remove some of the hacks for loop and
switch; MergeBreakOrigins() now takes care of that.

svn path=/trunk/mcs/; revision=44679

19 years ago2005-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 May 2005 13:42:14 +0000 (13:42 -0000)]
2005-05-18  Martin Baulig  <martin@ximian.com>

Fix #74978.

* flowanalysis.cs
(FlowBranching.Reachability): Add non-static public And() and Or()
methods.
(FlowBranchingSwitch): New class; do the `break_origins' thing
like in FlowBranchingLoop.
(FlowBranching.UsageVector.MergeBreakOrigins): Also merge the
reachability, not just locals and parameters.
(FlowBranching.MergeChild): Remove some of the hacks for loop and
switch; MergeBreakOrigins() now takes care of that.

svn path=/trunk/mcs/; revision=44678

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 11:58:54 +0000 (11:58 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* System.Security_test.dll.sources: Added unit tests for System.
Security.Permissions.StorePermissionAttribute class.

svn path=/trunk/mcs/; revision=44673

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 11:56:05 +0000 (11:56 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* DataProtectionPermissionAttributeTest.cs: Added tests to check for
individual removal of flags.
* StorePermissionAttributeTest.cs: New. Unit tests for
StorePermissionAttribute.

svn path=/trunk/mcs/; revision=44672

19 years ago2005-05-18 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 18 May 2005 11:36:42 +0000 (11:36 -0000)]
2005-05-18  Jordi Mas i Hernandez <jordi@ximian.com>

* DataProtectionPermissionAttribute.cs: fixes flag cleaning logical operation
* StorePermissionAttribute.cs: fixes flag cleaning logical operation

svn path=/trunk/mcs/; revision=44671

19 years ago2005-05-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 18 May 2005 10:46:39 +0000 (10:46 -0000)]
2005-05-18  Marek Safar  <marek.safar@seznam.cz>

* Bitmap.cs: Add null check into ctor.

svn path=/trunk/mcs/; revision=44670

19 years ago2005-05-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 18 May 2005 10:16:27 +0000 (10:16 -0000)]
2005-05-18  Marek Safar  <marek.safar@seznam.cz>

* JScriptCodeGenerator.cs: Stubbed.

* JScriptCodeProvider.cs: Implemented.

svn path=/trunk/mcs/; revision=44669

19 years agoNew test for #74974.
Martin Baulig [Wed, 18 May 2005 09:04:26 +0000 (09:04 -0000)]
New test for #74974.

svn path=/trunk/mcs/; revision=44668

19 years ago2005-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 May 2005 08:59:31 +0000 (08:59 -0000)]
2005-05-18  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowBranching.UsageVector.MergeChild): If we're
a loop and may leave it, reset the barrier; fixes #74974.

svn path=/trunk/mcs/; revision=44667

19 years ago2005-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 May 2005 08:58:03 +0000 (08:58 -0000)]
2005-05-18  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowBranching.UsageVector.MergeChild): If we're
a loop and may leave it, reset the barrier; fixes #74974.

svn path=/trunk/mcs/; revision=44666

19 years agoUpdate after latest merge
Raja R Harinath [Wed, 18 May 2005 06:29:08 +0000 (06:29 -0000)]
Update after latest merge

svn path=/trunk/mcs/; revision=44664

19 years agoChangelog entries
Jonathan Chambers [Wed, 18 May 2005 03:40:57 +0000 (03:40 -0000)]
Changelog entries

svn path=/trunk/mcs/; revision=44660

19 years agoFixed warnings.
Jonathan Chambers [Wed, 18 May 2005 03:39:38 +0000 (03:39 -0000)]
Fixed warnings.

svn path=/trunk/mcs/; revision=44659

19 years agoUpdated change log
Jonathan Chambers [Wed, 18 May 2005 03:33:29 +0000 (03:33 -0000)]
Updated change log

svn path=/trunk/mcs/; revision=44658

19 years agoContinued work on PropertyGrid control. Use double buffering to draw.
Jonathan Chambers [Wed, 18 May 2005 03:30:12 +0000 (03:30 -0000)]
Continued work on PropertyGrid control. Use double buffering to draw.

svn path=/trunk/mcs/; revision=44657

19 years agoadd error msg info
César Natarén [Wed, 18 May 2005 01:47:06 +0000 (01:47 -0000)]
add error msg info

svn path=/trunk/mcs/; revision=44656

19 years agofix typo
César Natarén [Wed, 18 May 2005 01:46:25 +0000 (01:46 -0000)]
fix typo

svn path=/trunk/mcs/; revision=44655

19 years agofix incorrect condition
César Natarén [Wed, 18 May 2005 01:44:20 +0000 (01:44 -0000)]
fix incorrect condition

svn path=/trunk/mcs/; revision=44654

19 years agochangelog entries
César Natarén [Wed, 18 May 2005 01:43:51 +0000 (01:43 -0000)]
changelog entries

svn path=/trunk/mcs/; revision=44653

19 years agooops
César Natarén [Wed, 18 May 2005 01:43:35 +0000 (01:43 -0000)]
oops

svn path=/trunk/mcs/; revision=44652

19 years ago2005-05-17 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Wed, 18 May 2005 01:43:00 +0000 (01:43 -0000)]
2005-05-17  Cesar Lopez Nataren  <cnataren@novell.com>

* SemanticAnalizer.cs: Add methods_with_outter_scope_refs and
methods_with_vars_used_nested hashtables.
AddMethodReferenceOutterScopeVar,  AddMethodVarsUsedNested,
MethodReferenceOutterScopeVar. OutterScopeVar,
MethodVarsUsedNested and VarUsedNested.
* CodeGenerator.cs: Add locals_to_stack_frame method and emit_parents.
* TypeManager.cs: Add LocalsAtDepth.
* VariableDeclaration.cs: keep track of the lexical depth of
current declaration.
* FunctionDeclaration.cs: take care of outter scope variables uses.
* IdentificationTable.cs: keep track of Catch statement opened blocks.
* expression.cs: take care of eval's Net_1_0 and greater
versions. Implement the use of variables in nested scopes. For it,
we track the variable's scope level and we compare it with the
level in which appears if there's a difference supperior to one
and the variables wasn't not declared in the global scope we
proceed to generate the code that keep tracks of the state of the
variables through a StackFrame, in which we copy the local vars
prior to the invocation to the nested method which uses a outter
scope variable, then we copy back the variables in the StackFrame
into de local vars when the invocation finishes.

* Try.cs: open a scope indicating that's for a catch block.

svn path=/trunk/mcs/; revision=44651

19 years ago2005-05-17 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 17 May 2005 19:44:01 +0000 (19:44 -0000)]
2005-05-17  Dick Porter  <dick@ximian.com>

        * io.c (file_getfilesize): Clear the error value, so that files
        with sizes with the low bits 0xFFFFFFFF can be distinguished from
        a genuine error.

svn path=/trunk/mono/; revision=44640

19 years ago2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 17 May 2005 18:31:33 +0000 (18:31 -0000)]
2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>

* Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy.

svn path=/trunk/mcs/; revision=44639

19 years ago2005-05-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 17 May 2005 17:54:54 +0000 (17:54 -0000)]
2005-05-17  Sebastien Pouliot  <sebastien@ximian.com>

* ResourcePermissionBase.cs: PermissionAccessType "could" be null. Fix
regression in unit tests.

svn path=/trunk/mcs/; revision=44638

19 years ago2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 17 May 2005 17:53:03 +0000 (17:53 -0000)]
2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>

* ObjRef.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy.

svn path=/trunk/mcs/; revision=44637

19 years ago2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 17 May 2005 17:51:57 +0000 (17:51 -0000)]
2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>

* Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy. This fixes bug #74933.

svn path=/trunk/mcs/; revision=44636

19 years ago2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 17 May 2005 17:44:30 +0000 (17:44 -0000)]
2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>

* SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy.

svn path=/trunk/mcs/; revision=44635

19 years agoupdate
Marek Safar [Tue, 17 May 2005 14:35:27 +0000 (14:35 -0000)]
update

svn path=/trunk/mcs/; revision=44633

19 years ago2005-05-17 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 17 May 2005 14:32:27 +0000 (14:32 -0000)]
2005-05-17  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Attribute.ResolveArguments): GuidAttribute check
is back.

* cs-parser.jay: Catch more lexical errors.

* report.cs: Add one more Error method.

* rootcontext.cs,
* typemanager.cs: Register System.Runtime.InteropServices.GuidAttribute

svn path=/trunk/mcs/; revision=44632

19 years ago2005-05-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 17 May 2005 14:18:35 +0000 (14:18 -0000)]
2005-05-17  Zoltan Varga  <vargaz@freemail.hu>

* man/mono.1: Document the new MONO_DEBUG options.

svn path=/trunk/mono/; revision=44630

19 years ago2005-05-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 17 May 2005 14:12:02 +0000 (14:12 -0000)]
2005-05-17  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c: Generalize the existing uses of the MONO_DEBUG env variable
and add a new one: aborting when a SIGSEGV is raised while in unmanaged code.
Fixes #74742.

svn path=/trunk/mono/; revision=44629

19 years agouse stdout for xsl:message and stderr for everything other
Andrew Skiba [Tue, 17 May 2005 12:32:51 +0000 (12:32 -0000)]
use stdout for xsl:message and stderr for everything other

svn path=/trunk/mcs/; revision=44628

19 years ago2005-05-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 17 May 2005 11:52:01 +0000 (11:52 -0000)]
2005-05-17  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: Fixed (and more useful).

svn path=/trunk/mono/; revision=44627

19 years agoOutput the list of failed tests
Andrew Skiba [Tue, 17 May 2005 11:40:13 +0000 (11:40 -0000)]
Output the list of failed tests

svn path=/trunk/mcs/; revision=44626

19 years ago**** Merged r44557 from MCS ****
Martin Baulig [Tue, 17 May 2005 11:38:31 +0000 (11:38 -0000)]
**** Merged r44557 from MCS ****

svn path=/trunk/mcs/; revision=44624

19 years ago**** Merged r44495 from MCS ****
Martin Baulig [Tue, 17 May 2005 11:38:02 +0000 (11:38 -0000)]
**** Merged r44495 from MCS ****

svn path=/trunk/mcs/; revision=44623

19 years agoFixed some misplaced testcases
Satya Sudha K [Tue, 17 May 2005 10:20:10 +0000 (10:20 -0000)]
Fixed some misplaced testcases

svn path=/trunk/mcs/; revision=44621

19 years ago**** Merged r44491 from MCS ****
Martin Baulig [Tue, 17 May 2005 10:14:50 +0000 (10:14 -0000)]
**** Merged r44491 from MCS ****

svn path=/trunk/mcs/; revision=44620

19 years ago2005-05-17 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Tue, 17 May 2005 10:13:19 +0000 (10:13 -0000)]
2005-05-17  Lluis Sanchez Gual  <lluis@ximian.com>

* CodeGenerator.cs: Don't generate debug info here.

svn path=/trunk/mcs/; revision=44619

19 years ago**** Merged r44446 from MCS ****
Martin Baulig [Tue, 17 May 2005 10:10:47 +0000 (10:10 -0000)]
**** Merged r44446 from MCS ****

svn path=/trunk/mcs/; revision=44618

19 years ago**** Merged r44411 from MCS ****
Martin Baulig [Tue, 17 May 2005 10:08:24 +0000 (10:08 -0000)]
**** Merged r44411 from MCS ****

svn path=/trunk/mcs/; revision=44617

19 years ago**** Merged r44386 from MCS ****
Martin Baulig [Tue, 17 May 2005 10:07:51 +0000 (10:07 -0000)]
**** Merged r44386 from MCS ****

svn path=/trunk/mcs/; revision=44616

19 years ago* ecore.cs : Removed char <-> numeric/date conversions as they are not supported...
Satya Sudha K [Tue, 17 May 2005 09:48:47 +0000 (09:48 -0000)]
* ecore.cs : Removed char <-> numeric/date conversions as they are not supported in vbc

svn path=/trunk/mcs/; revision=44615

19 years agosvn:eol-style native
Raja R Harinath [Tue, 17 May 2005 09:44:58 +0000 (09:44 -0000)]
svn:eol-style native

svn path=/trunk/mcs/; revision=44614

19 years agoNew test.
Martin Baulig [Tue, 17 May 2005 09:38:47 +0000 (09:38 -0000)]
New test.

svn path=/trunk/mcs/; revision=44613

19 years ago2005-05-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 17 May 2005 09:37:26 +0000 (09:37 -0000)]
2005-05-17  Martin Baulig  <martin@ximian.com>

* expression.cs (Argument.Resolve): Turn on flow analysis; fix
#70970.

svn path=/trunk/mcs/; revision=44612

19 years ago2005-05-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 17 May 2005 09:35:49 +0000 (09:35 -0000)]
2005-05-17  Martin Baulig  <martin@ximian.com>

* expression.cs (Argument.Resolve): Turn on flow analysis; fix
#70970.

svn path=/trunk/mcs/; revision=44611

19 years ago2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 17 May 2005 09:17:33 +0000 (09:17 -0000)]
2005-05-17  Jordi Mas i Hernandez <jordi@ximian.com>

* TreeNodeCollection.cs: fixes get/set item ranges

svn path=/trunk/mcs/; revision=44610

19 years agooutput progress symbols (".", "e", etc.), some clean-up and refactoring.
Andrew Skiba [Tue, 17 May 2005 08:50:42 +0000 (08:50 -0000)]
output progress symbols (".", "e", etc.), some clean-up and refactoring.

svn path=/trunk/mcs/; revision=44609

19 years agoSome fixes to Named arguments
Satya Sudha K [Tue, 17 May 2005 08:33:07 +0000 (08:33 -0000)]
Some fixes to Named arguments

svn path=/trunk/mcs/; revision=44607

19 years agoTue May 17 10:54:18 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 17 May 2005 08:17:56 +0000 (08:17 -0000)]
Tue May 17 10:54:18 CEST 2005 Paolo Molaro <lupus@ximian.com>

* FileStream.cs: complete fix for #74971.

svn path=/trunk/mcs/; revision=44605

19 years agoTestcases for named arguments and typemembers - by Sudharsan V
Satya Sudha K [Tue, 17 May 2005 04:04:56 +0000 (04:04 -0000)]
Testcases for named arguments and typemembers - by Sudharsan V

svn path=/trunk/mcs/; revision=44603

19 years ago2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 16 May 2005 23:42:13 +0000 (23:42 -0000)]
2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FileStream.cs: make WriteByte work in all cases when no buffer is
being used. Fixes bug #74971.

svn path=/trunk/mcs/; revision=44602

19 years agofix typo
Gonzalo Paniagua Javier [Mon, 16 May 2005 22:16:01 +0000 (22:16 -0000)]
fix typo

svn path=/trunk/mcs/; revision=44597

19 years ago2005-05-16:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 16 May 2005 22:01:26 +0000 (22:01 -0000)]
2005-05-16:3  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions.Useful/CommonCompilerOptions.cs: fix for #74954 part 2
"Ensure assembly is added to TypeManager if path separator characters are part of assembly name"

svn path=/trunk/mcs/; revision=44596

19 years ago2005-05-16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 16 May 2005 21:48:07 +0000 (21:48 -0000)]
2005-05-16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* driver.cs : correcting/refactoring EntryPoint fixing as per #74955
adjusting references changed by Gonzalo to their new containing namespace.
small renaming refactorings to make things clearer.
* CompilerOptions.cs : refactored out all things that now live in
Mono.GetOptions.Useful.CommonCompilerOptions

svn path=/trunk/mcs/; revision=44595

19 years ago2005-05-16:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 16 May 2005 21:45:34 +0000 (21:45 -0000)]
2005-05-16:2  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions.Useful/CommonCompilerOptions.cs: fix for #74954
current dir should be searched for referenced assemblies

2005-05-16  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>

svn path=/trunk/mcs/; revision=44594

19 years ago2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Gonzalo Paniagua Javier [Mon, 16 May 2005 20:41:54 +0000 (20:41 -0000)]
2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* IComponent.cs: Fix attributes

svn path=/trunk/mcs/; revision=44593

19 years ago2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 16 May 2005 20:39:42 +0000 (20:39 -0000)]
2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Thread.cs: first check for null, then set in_currentculture.

svn path=/trunk/mcs/; revision=44592

19 years agoBig oops
Gonzalo Paniagua Javier [Mon, 16 May 2005 20:35:52 +0000 (20:35 -0000)]
Big oops

svn path=/trunk/mcs/; revision=44591

19 years agopatches by Andres Nahr
Gonzalo Paniagua Javier [Mon, 16 May 2005 20:27:43 +0000 (20:27 -0000)]
patches by Andres Nahr

svn path=/trunk/mcs/; revision=44590

19 years agoOops, Equals isn't working in 2.0
Sebastien Pouliot [Mon, 16 May 2005 20:27:08 +0000 (20:27 -0000)]
Oops, Equals isn't working in 2.0

svn path=/trunk/mcs/; revision=44589

19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 20:14:55 +0000 (20:14 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* FileCodeGroup.cs: Deal with null PolicyStatement.
* NetCodeGroup.cs: Deal with null PolicyStatement.

svn path=/trunk/mcs/; revision=44588

19 years agoAdded new unit tests for System.Security.Policy.PolicyStatement
Sebastien Pouliot [Mon, 16 May 2005 19:47:29 +0000 (19:47 -0000)]
Added new unit tests for System.Security.Policy.PolicyStatement

svn path=/trunk/mcs/; revision=44587

19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 19:45:37 +0000 (19:45 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* PolicyStatementTest.cs: New. Unit tests for PolicyStatement.

svn path=/trunk/mcs/; revision=44586

19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 19:44:29 +0000 (19:44 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSet.cs: Add support for "hidden" read-only mode (as used
by PolicyStatement).
* SecurityFrame.cs: Add some debugging code in the ToString method.
* SecurityManager.cs: Changed internal API so we can display the
permission that failed in a PermissionSet (e.g. assembly or appdomain).

svn path=/trunk/mcs/; revision=44585

19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 19:42:16 +0000 (19:42 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* FileCodeGroup.cs: Now use PermissionSet.Union when resolving.
* NetCodeGroup.cs: Now use PermissionSet.Union when resolving.
* PolicyStatement.cs: Fix some minor behaviours wrt to new unit tests.
* UnionCodeGroup.cs: Now use PermissionSet.Union when resolving.

svn path=/trunk/mcs/; revision=44584

19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 19:39:00 +0000 (19:39 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* ChangeLog: New. Track changes.
* Makefile: New. Build sandboxes and tests.
* makepol.cs: New.
* README: New. Instruction about the sandboxes and tests.
* sandbox.cs: New. Creates a policy (XML) restricted sandbox to
execute assemblies.
* whoami.cs: New. Sample to run under a sandbox.

svn path=/trunk/mono/; revision=44583

19 years ago2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 16 May 2005 18:29:03 +0000 (18:29 -0000)]
2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* driver.cs: fix ambiguous reference.

svn path=/trunk/mcs/; revision=44579

19 years ago * sys-statvfs.c: Include "map.h" for Mono_Posix_ToMountFlags prototype.
Jonathan Pryor [Mon, 16 May 2005 17:31:19 +0000 (17:31 -0000)]
  * sys-statvfs.c: Include "map.h" for Mono_Posix_ToMountFlags prototype.
  * map.c: Include <sys/statvfs.h> so Mono_Posix_{To,From}MountFlags actually
    does something useful.

svn path=/trunk/mono/; revision=44574

19 years ago2005-05-14 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 16 May 2005 16:56:45 +0000 (16:56 -0000)]
2005-05-14  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* EventsTab.cs: Implementation start with many gaping holes

svn path=/trunk/mcs/; revision=44573

19 years ago2005-05-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 16 May 2005 16:53:06 +0000 (16:53 -0000)]
2005-05-07  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions.Useful/CommonCompilerOptions.cs: some refactored code coming from
mbas' CompilerOptions. Added overridable string [] AssembliesToReferenceSoftly
* Mono.GetOptions/Options.cs: new constructor adds support to use a provided ErrorReporter
also added overridable string AdditionalBannerInfo readonly property
* Mono.GetOptions/OptionList.cs: AdditionalBannerInfo is porcessed byt ShowBanner

svn path=/trunk/mcs/; revision=44572

19 years agoremove invalid characters
Konstantin Triger [Mon, 16 May 2005 16:25:12 +0000 (16:25 -0000)]
remove invalid characters

svn path=/trunk/mcs/; revision=44571

19 years agoIncluding Mainsoft tests
Konstantin Triger [Mon, 16 May 2005 16:11:07 +0000 (16:11 -0000)]
Including Mainsoft tests

svn path=/trunk/mcs/; revision=44570

19 years agoMon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 16 May 2005 15:48:13 +0000 (15:48 -0000)]
Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>

* MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
object on GetCustomAttributes (fixes bug #74717).

svn path=/trunk/mcs/; revision=44566

19 years agoupdate to latest results
Raja R Harinath [Mon, 16 May 2005 13:38:33 +0000 (13:38 -0000)]
update to latest results

svn path=/trunk/mcs/; revision=44561

19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 13:20:35 +0000 (13:20 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConfig.cs: Initialization wasn't threadsafe as the "checked"
value was assigned at the start of the initialization.

svn path=/trunk/mcs/; revision=44560

19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 12:45:34 +0000 (12:45 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* ResourcePermissionBase.cs: Added "access" attribute in ToXml. Made
FromXml a little better (simple cases) but not perfect (need samples).

svn path=/trunk/mcs/; revision=44559

19 years agoSet svn:eol-style=native, delete svn:executable.
Raja R Harinath [Mon, 16 May 2005 12:23:26 +0000 (12:23 -0000)]
Set svn:eol-style=native, delete svn:executable.
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)

svn path=/trunk/mcs/; revision=44558

19 years agoIn mcs:
Raja R Harinath [Mon, 16 May 2005 12:21:24 +0000 (12:21 -0000)]
In mcs:
Fix test-382.cs.  Emit values of decimal constants.
* class.cs (TypeContainer.RegisterFieldForInitialization): New.
Carved out of ...
(TypeContainer.AddField): ... this.
(TypeContainer.EmitFieldInitializers): Allow the list of fields
with initializers to include 'Const's.
(ClassPart.RegisterFieldForInitialization): Forward to
PartialContainer.
* const.cs (Const.Const): Pass initializer to base class.
(Const.Define): In case of decimal constants, register them for
initialization in a static constructor.

In tests:
* test-382.cs: New test.  Based on report from Manjula GHM
<mmanjula@novell.com>.

The original testcase was a VB program compiled on Microsoft VBC, and
executed on mono.

svn path=/trunk/mcs/; revision=44557

19 years agoreverting the search order back to Original -> Current
Konstantin Triger [Mon, 16 May 2005 12:05:17 +0000 (12:05 -0000)]
reverting the search order back to Original -> Current

svn path=/trunk/mcs/; revision=44556

19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 12:03:08 +0000 (12:03 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStoragePermission.cs: Added UserQuota attribute in XML.

svn path=/trunk/mcs/; revision=44555

19 years agofixing net_2_0 compilation
Konstantin Triger [Mon, 16 May 2005 10:14:14 +0000 (10:14 -0000)]
fixing net_2_0 compilation

svn path=/trunk/mcs/; revision=44554

19 years ago* Declare NullType
Manjula GHM [Mon, 16 May 2005 09:50:30 +0000 (09:50 -0000)]
* Declare NullType
* Invoke proper Decimal constructor
* Support Decimal type in literalized version
* Support Decimal constant declaration  and retrieval of members of Decimal structure from corelib

svn path=/trunk/mcs/; revision=44553

19 years ago * System.Data/DataRow.cs:
Sureshkumar T [Mon, 16 May 2005 08:34:36 +0000 (08:34 -0000)]
* System.Data/DataRow.cs:
* System.Data/DataTable.cs:
* System.Data.Common/RecordCache.cs: quick fix for 2.0 profile build failure (follow up for check in 2005-05-16).

svn path=/trunk/mcs/; revision=44552

19 years ago2005-05-16 Satya Sudha K <ksathyasudha@hotmail.com>
Satya Sudha K [Mon, 16 May 2005 07:16:23 +0000 (07:16 -0000)]
2005-05-16 Satya Sudha K <ksathyasudha@hotmail.com>
        * parameter.cs : Converting the default value (for optional
        * param) to param type.
        * ecore.cs     : Fixed string <-> char constant conversions.
        * expression.cs :
        * argument.cs   :
        * mb-parser.jay :
                        Support for named arguments

svn path=/trunk/mcs/; revision=44551