Age | Commit message (Collapse) | Author |
|
* Process.cs : quick fix for UseShellExecute=false on windows. See
the code comment.
svn path=/trunk/mcs/; revision=30290
|
|
svn path=/trunk/mcs/; revision=30054
|
|
svn path=/trunk/mcs/; revision=29721
|
|
* PerformanceCounterPermissionAttribute.cs: adjust AllowMultiple
and Inherited to match .NET
svn path=/trunk/mcs/; revision=27769
|
|
svn path=/trunk/mcs/; revision=27708
|
|
* Process.cs: separate the command and the arguments when calling
Start_internal.
svn path=/trunk/mcs/; revision=27695
|
|
* Process.cs: redirecting I/O is not permitted if UseShellExecute is
false. Also throw if FileName is null.
svn path=/trunk/mcs/; revision=27684
|
|
constructor that only takes one string as parameter to construct the
listener. The name is set using the Name property, not the constructor.
* TextWriterTraceListener.cs: In Write*, do nothing if no writer was
provided.
svn path=/trunk/mcs/; revision=25105
|
|
* Process.cs: use the ISynchronizeInvoke object to invoke the event.
Implemented Close, CloseMainWindow and Kill.
svn path=/trunk/mcs/; revision=24622
|
|
* Switch.cs: Don't throw when there is no switches section.
svn path=/trunk/mcs/; revision=24502
|
|
svn path=/trunk/mcs/; revision=24441
|
|
* Process.cs: support EnableRaisingEvents + Exited event.
svn path=/trunk/mcs/; revision=24439
|
|
* Process.cs: patch by Gert Driesen that fixes WaitForExit when the
timeout is int.MaxValue.
svn path=/trunk/mcs/; revision=24104
|
|
* System.dll.sources: added ProcessStringDictionary.
* System.Collections.Specialized/ProcessStringDictionary.cs: the same
as StringDictionary, but doesn't turn keys into lowercase.
* System.Diagnostics/Process.cs: added environment variables setting
support and also send useShellExecute to the runtime.
* System.Diagnostics/ProcessStartInfo.cs: support EnvironmentVariables.
MS uses StringDictionary, which turns keys into lowercase. We don't
do that.
svn path=/trunk/mcs/; revision=24068
|
|
* Process.cs: ExitCode and ExitTime check that the process is finished.
svn path=/trunk/mcs/; revision=23316
|
|
* Makefile: Build System.dll in two steps. Because of the circular
dependency with System.XML.dll.
svn path=/trunk/mcs/; revision=22761
|
|
* Process.cs: if there's an error when starting the process, the 'pid'
field contains the GetLastError code. Use that for the Win32Exception.
svn path=/trunk/mcs/; revision=20976
|
|
* DefaultTraceListener: Don't use `where' in variable names.
svn path=/trunk/mcs/; revision=20823
|
|
* ICollectData.cs: Fixed signature
svn path=/trunk/mcs/; revision=19955
|
|
svn path=/trunk/mcs/; revision=19913
|
|
* ICollectData.cs: Added missing attribute
svn path=/trunk/mcs/; revision=19908
|
|
* SRDescriptionAttribute.cs: Moved to System directory
svn path=/trunk/mcs/; revision=16735
|
|
* EventLog.cs: Implementation handling
* EventLogImpl.cs: Added, contains an platform independent empty implementation
for EventLog
svn path=/trunk/mcs/; revision=16492
|
|
* AlphabeticalEnumConverter.cs: Added
* EventLogEntry.cs: Implemented
* EventLogPermissionEntryCollection.cs: Fixed signature and implementation of indexer
* EventLogTraceListener.cs: Fixed signature
* PerformanceCounter.cs: Added missing attribute
* PerformanceCounterType.cs: Added missing attribute
* SRDescriptionAttribute.cs: Added and implemented
svn path=/trunk/mcs/; revision=16399
|
|
* CounterCreationData.cs:
* EventLog.cs:
* EventLogEntry.cs:
* PerformanceCounter.cs:
* Process.cs:
* ProcessModule.cs:
* ProcessStartInfo.cs:
* ProcessThread.cs: Reworked attributes based on the new Consts scheme
svn path=/trunk/mcs/; revision=16339
|
|
* PerformanceCounterCategory.cs: Fixed signatures
svn path=/trunk/mcs/; revision=16193
|
|
* PerformanceCounter: Implemented or implementation added
svn path=/trunk/mcs/; revision=16178
|
|
* DiagnosticsConfigurationHandler.cs: Removed a never used variable
* EventLog.cs: Small update to prevent a warning
* EventLogPermission.cs: Implemented or implementation added
* EventLogPermissionAttribute.cs: Implemented or implementation added
* EventLogPermissionEntry.cs: Implemented or implementation added
* EventLogPermissionEntryCollection.cs: Implemented or implementation added
* EventLogTraceListener.cs: Implemented or implementation added
* PerformanceCounterManager.cs: Implemented or implementation added
* PerformanceCounterInstaller.cs: Made internal
* PerformanceCounterCategory.cs: Implemented few members
* PerformanceCounterPermission.cs: Implemented or implementation added
* PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
* PerformanceCounterPermissionEntry.cs: Implemented or implementation added
* PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added
svn path=/trunk/mcs/; revision=16177
|
|
* EventLog.cs: Removed unneccesary attribute according to corecompare
* EventLogEntry.cs: Removed unneccesary attribute according to corecompare
* Process.cs: Removed unneccesary attributes according to corecompare, added attribute
* ProcessModule.cs: Removed unneccesary attribute according to corecompare
* ProcessStartInfo.cs: Removed unneccesary attribute according to corecompare
* ProcessThread.cs: Removed unneccesary attribute according to corecompare, fixed signature
svn path=/trunk/mcs/; revision=16010
|
|
* InstanceDataCollectionCollection.cs: Corrected wrong signature
* EventLog.cs: Missing attributes added, redirected some class members
* EventLogEntry.cs: Missing attributes added
* EventLogInstaller.cs: Made internal
svn path=/trunk/mcs/; revision=15968
|
|
* CounterCreationData.cs: Added missing attributes
* CounterSample.cs: Implemented missing rest, fixed signature
* CounterSampleCalculator.cs: Added private constructor, redirected function
* Process.cs: Added attributes, added event mechanism
* ProcessModule.cs: Added missing attributes
* ProcessModuleCollection.cs: Redone using the already inherited-from ArrayList. Simplifies this a LOT
* ProcessStartInfo.cs: Added missing attributes, moved internal fields to the begining of the file, restyling
* ProcessThread.cs: Added missing attributes, added pseudo constructor
* ProcessThreadCollection.cs: Implemented
* PerformanceCounterPermission.cs: Fixed typo in class name
* PerformanceCounterPermissionAccess.cs: Added attributes, fixed wrong member
svn path=/trunk/mcs/; revision=15958
|
|
* Process.cs: Implement HasExited, fixes bug 39267
svn path=/trunk/mcs/; revision=12680
|
|
svn path=/trunk/mcs/; revision=12478
|
|
* Process.cs: throw an exception when the executable cannot be found.
svn path=/trunk/mcs/; revision=12477
|
|
Don't assume that optional attributes are always present
<assert/> can't have any child nodes
Change in semantics: if the attribute isn't present, GetAttribute()
returns null, not "". This allows us to differentiate between an attribute
not being present and an attribute with an empty value.
Translate exceptions if a TraceListener type is invalid
ChangeLog: Update for the previous changes I forgot to record
svn path=/trunk/mcs/; revision=9806
|
|
svn path=/trunk/mcs/; revision=9800
|
|
whatever TraceImpl is using (which in turn may have been set by the .config
file, so we should get the user-specified values in added listeners).
svn path=/trunk/mcs/; revision=9787
|
|
code that uses Trace.Indent() before a Trace.WriteLine() to be indented
properly.
* TraceImpl.cs: provide a static constructor to explicitly specify the
ordering of initialization, in particular the ordering of
TraceImpl.Listeners and the reading of the .config file (by accessing
DiagnosticsConfiguration.Settings). This (hopefully) ensures that the
Listeners collection is initialized before the .config file is read in, as
the DiagnosticsConfigurationHandler will directly modify the listeners
collection.
The DiagnosticsConfigurationHandler assumes this so that it can <add/> and
<remove/> trace listeners and set the logfile for the DefaultTraceListener.
svn path=/trunk/mcs/; revision=9786
|
|
Switch derived classes should match that of .NET.
Go forth and use Swiches! ;-)
ChangeLog:
* BooleanSwitch.cs: Complete re-write. It works now.
* DefaultTraceListener.cs:
- Use `const' strings, so I don't worry about copy/paste errors
- Give `AssertUiEnabled' an actual backing member
* DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
configuration handler set .config-specified properties on
DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
(AutoFlush, IndentSize).
* Switch.cs: Near complete re-write. Actually works, and is (should be)
comformant with .NET behavior. Changed member names because they were
confusing me. (Yes, that doesn't say much about my memory.)
* TextWriterTraceListener.cs: Append text to already existing files, don't
overwrite them.
* TraceImpl.cs:
- Added private destructor, to ensure no instances are created.
- Move members declarations to be closer to each other.
* TraceSwitch.cs: Complete re-write. It works now.
svn path=/trunk/mcs/; revision=9747
|
|
svn path=/trunk/mcs/; revision=9735
|
|
<system.diagnostics/> configuration sections.
svn path=/trunk/mcs/; revision=9733
|
|
* DefaultTraceListener.cs: now OutputDebugStringW is called from an
internal call (update your runtime!). No more warnings in linux.
svn path=/trunk/mcs/; revision=9661
|
|
* FileStream.cs: Fix buffering properly this time. Also kludge
around broken pipe errors, treating them as EOF instead of
throwing an IO exception.
* MonoIO.cs: Return the error status in a parameter, as the
GetLastError() value has long since been blown away if we try and
look it up in a subsequent internal call invocation.
* Process.cs:
* Environment.cs:
* FileSystemInfo.cs:
* FileInfo.cs:
* File.cs:
* Directory.cs: MonoIO methods now have an error parameter
2002-10-31 Dick Porter <dick@ximian.com>
* list.unix: Added MonoIO and MonoIOError to the build
svn path=/trunk/mcs/; revision=8712
|
|
* DefaultTraceListener.cs: changed OutputDebugString to
OutputDebugStringW (no more warnings under windows). Also a few style
fixes.
svn path=/trunk/mcs/; revision=8580
|
|
* Process.cs: Redirected standard input needs to have AutoFlush set
2002-10-23 Dick Porter <dick@ximian.com>
* FileStream.cs: Implemented CanSeek, and used it around all the
calls to MonoIO.Seek. Fixed buffering in Read() so that it
doesn't block forever on short reads.
* MonoFileType.cs: New enum for GetFileType
* MonoIO.cs: Added GetFileType
svn path=/trunk/mcs/; revision=8492
|
|
* Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
Pass the working directory to Start. Pass the program and args in
one string to be used with the second arg of CreateProcess, so it
will search the path.
svn path=/trunk/mcs/; revision=7856
|
|
svn path=/trunk/mcs/; revision=7609
|
|
* TraceImpl.cs: Remove debug prints
svn path=/trunk/mcs/; revision=7608
|
|
* TraceListenerCollection.cs: Set Indet level and size to default
values. The values from TraceImpl might have been changed.
svn path=/trunk/mcs/; revision=7607
|
|
* UriTest.cs: Fixed some path separator issues for the tests running on
linux.
* TraceTest.cs: Remove extraneous Console.WriteLine().
* ServicePointManagerTest.cs: Convert Console.WriteLine() into a Fail()
* TraceImpl.cs: Add some debug to find the error. Still working on
this one.
svn path=/trunk/mcs/; revision=7563
|