Commit Graph
70 Commits
Author SHA1 Message Date
Alexander Köplinger ddcfc42070 Cleanup namespace names of class lib tests to follow convention
A couple of the test suites didn't follow the MonoTests.<namespace of class under test> naming convention for the namespace.
2014-09-04 18:55:58 +02:00
Miguel de Icaza 60fa2525fb [build] the csproj files can now do a full class libraries build 2014-05-25 00:47:09 -04:00
Miguel de Icaza 3599b97b57 [build] Fresh new csproj files based on the updated build system. 2014-05-23 17:15:53 -04:00
Miguel de Icaza d79280674b Refreshed the CSProj files to use the new output build directory 2014-04-18 18:15:35 -04:00
Vincent Povirk 223e9566a5 System.ServiceProcess: Implement ServiceBase.Run for Win32 services.
This commit licensed as MIT/X11.
2014-03-27 17:55:40 -05:00
Alexander Köplinger b0032294da [Test] Cleaned up how a bunch of tests were ignored
Previously, many tests just had a return statement when the test shouldn't
be executed (e.g. Unix-only). This made it look like the test was successful
when in fact it wasn't executed at all.
Assert.Ignore() is now used instead to correctly exclude those tests.
2014-02-23 19:44:21 +01:00
Marek Safar b888cf5f04 Update csproj files 2013-07-02 13:45:15 +02:00
Andres G. Aragoneses 3654ed4da0 [System.ServiceProcess.ServiceController] Remove NET_2_0 ifdefs
Also dropping ONLY_1_1.
2013-04-25 14:23:41 +01:00
Andres G. Aragoneses 0ca3f6ddff [System.ServiceProcess.ServiceBase]: Implement Stop() and ExitCode
Stop() wasn't calling OnStop, so a unit test was added, its basic
functionality was implemented, and MonoTODO is removed.

ExitCode now also stops throwing NIE. A unit test is added to confirm
that ServiceBase class doesn't modify it across runs. This property will
be useful for my next commit in mono-service.cs.
2013-04-25 14:20:33 +01:00
Marek Safar cf650fb3fb Update 4.5 bcl solution files 2013-02-21 17:25:06 +01:00
Marek Safar 78318771d5 Update csproj files 2013-02-07 16:34:23 +01:00
David Schmitt d0ab8de454 ServiceInstaller: add DelayedAutoStart property for NET_4_0 2012-12-11 07:28:39 +01:00
Marek Safar 2d2796f07b Fix System.Core reference in VS projects 2012-06-26 13:26:56 +01:00
Marek Safar d9e4371f9e Clean up assembly attributes 2012-06-07 15:17:52 +01:00
Miguel de Icaza ae0feab435 Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:04:24 -04:00
Marek Safar 8074a7d31e Update csproj files 2012-04-05 15:46:25 +01:00
Marek Safar f7763d0d78 Fix few more warnings 2012-02-17 12:37:26 +00:00
Marek Safar 88fde5a568 Add VS project files for test project 2012-02-10 14:56:23 +00:00
Marek Safar 91d40d754d Update class library csproj files 2012-02-09 11:25:18 +00:00
Miguel de Icaza 38253abf8c Add solution files 2011-02-12 22:09:49 -05:00
Miguel de Icaza 8e07acf772 Multiple files:
Deals with the extension to Environment.OSVersion.Platform that might return a new
value MacOSX (6) on .NET
 

svn path=/trunk/mcs/; revision=121711
2008-12-17 17:56:25 +00:00
Gert Driesen b34cc10cf5 * ServiceProcessInstaller.cs: Fixed argument name to match MS. Code
formatting.
* ServiceBase.cs: Fixed argument name to match MS. Code formatting.
* SessionChangeDescription.cs: Fixed argument name to match MS.

svn path=/trunk/mcs/; revision=110043
2008-08-09 14:10:57 +00:00
Andreas N 0297033c1f 2008-04-25 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Rework consts scheme

svn path=/trunk/mcs/; revision=101803
2008-04-25 13:02:34 +00:00
Atsushi Eno 704bb396fb 2007-10-05 Atsushi Enomoto <[email protected]>
* ServiceInstallerDialogResult.cs, ServiceInstallerDialog.cs :
	  added missing files (winforms dependencies).

	* SessionChangeDescription.cs, SessionChangeReason.cs :
	  new 2.0 types.
	* ServiceBase.cs : added missing members.

	* Makefile : added /r:System.Windows.Forms. removed /warnaserror.
	* System.ServiceProcess.dll.sources : added couple of missing types.


svn path=/trunk/mcs/; revision=86950
2007-10-05 06:04:25 +00:00
Gert Driesen 6c4a57aaaa * Makefile: Do not output deprecated warnings.
svn path=/trunk/mcs/; revision=75505
2007-04-07 16:22:35 +00:00
Gert Driesen acfc14e230 * ChangeLog: forgot to commit ChangeLog.
svn path=/trunk/mcs/; revision=66387
2006-10-07 14:01:26 +00:00
Gert Driesen f99453bec1 * ServiceControllerTest.cs: Modifying ServiceService, DisplayName
or MachineName does not cause cache to be cleared. Categorized as
"By Design" by MS.
* ServiceController.cs: Modifying ServiceService, DisplayName
or MachineName does not cause cache to be cleared. Categorized as
"By Design" by MS.

svn path=/trunk/mcs/; revision=66386
2006-10-07 11:59:34 +00:00
Gert Driesen 9a02d5da44 * AssemblyInfo.cs: AssemblyConfiguration and AssemblyTrademark
attributes are 1.1 only. Added AssemblyFileVersion, Debuggable and
CompilationRelaxtations attribute for 2.0 profile.
* ServiceProcessInstaller.cs: Added missing ServiceProcessDescription
attribute.
* ServiceAccount.cs: Removed extra Serializable attribute.
* ServiceInstaller.cs: Added ServiceProcessDescriptions.
* ServiceBase.cs: Added descriptions for ServiceProcessDescription
as reported by class status. Modified return type of OnPowerEvent
from void to bool.
* ServiceController.cs: Added description for class-level
ServiceProcessDescription. Added TypeConverter for ServiceName.
* TimeoutException.cs: Added ctor introduced in 2.0 profile.
* System.ServiceProcess.dll.sources: Added ServiceNameConverter.cs.
* ServiceNameConverter.cs: Dummy implementation to fix class status.

svn path=/trunk/mcs/; revision=65823
2006-09-22 17:52:55 +00:00
Gert Driesen 4ad48f0c35 * ServiceProcessInstaller.cs: Added some missing attributes. Fixes
class status errors.
* ServiceBase.cs: Added missing attributes. Fixed signature of
OnCustomCommand and OnPowerEvent methods. Fixed code to match coding
guidelines and converted spaces to tabs.
* ServiceController.cs: Added missing attributes. Moved MonoTODO to
class level. Added descriptions for ServiceProcessDescription
attributes.
* TimeoutException.cs: Reduce accesibility of deserialization ctor to
protected to match MS. Fixed code to match coding guidelines and
converted spaces to tabs.

svn path=/trunk/mcs/; revision=65684
2006-09-19 20:14:24 +00:00
Gert Driesen d90d4b0cbe * ServiceControllerPermissionTest.cs: Set eol-style to native. Fixed
warning and improved Union_Null test.
* ServiceControllerPermissionAttributeTest.cs: Set eol-style to native.
Fixed warning.
* ServiceControllerTest.cs: Added unit tests for win32 implementation
of ServiceController.
* ServiceControllerPermissionEntryCollection.cs: Set eol-style to
native.
* ServiceAccount.cs: Set eol-style to native.
* ServiceControllerPermission.cs: Set eol-style to native.
* ServiceProcessInstaller.cs: Set eol-style to native.
* ServiceInstaller.cs: API compatibility fixes. Coding guidelines
fixes. Set eol-style to native.
* PowerBroadcastStatus.cs: Removed Serializable attribute. Coding
guidelines fixes. Set eol-style to native.
* ServiceStartMode.cs: Removed Serializable attribute. Coding
guidelines fixes. Set eol-style to native.
* ServiceProcessDescriptionAttribute.cs: Removed Serializable
 attribute. Set eol-style to native.
* ServiceBase.cs: Set eol-style to native.
* ServiceControllerPermissionAccess.cs: Removed Serializable
attribute. Coding guidelines fixes. Set eol-style to native.
* ServiceControllerPermissionAccess.cs: Set eol-style to native.
* ServiceControllerPermissionEntry.cs: Set eol-style to native.
* ServiceControllerPermissionAttribute.cs: Set eol-style to native.
* ServiceType.cs: Removed Serializable attribute. Coding guidelines
fixes. Set eol-style to native.
* ServiceController.cs: API compatibility fixes. Added missing
MonoTODO's. Coding guidelines fixes. Set eol-style to native.
Provides an implementation for Win32.
* TimeoutException.cs: Set eol-style to native.
* ServiceControllerStatus.cs: Removed Serializable attribute.
Coding guidelines fixes. Set eol-style to native.
* UnixServiceController.cs: Dummy implementation for unix. Always
throws NotImplementedException.
* Win32ServiceController.cs: Win32 implementation. Built as a wrapper
for the Win32 Service API.
* Makefile: Treat warnings as error. Ignore no warnings.
* System.ServiceProcess.dll.sources: Added ServiceControllerImpl.cs,
UnixServiceController.cs and Win32ServiceController.cs.
* System.ServiceProcess_test.dll.sources: Added
ServiceControllerTest.cs.

svn path=/trunk/mcs/; revision=65422
2006-09-14 17:55:15 +00:00
Kornél Pál 546a1134d2 Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +00:00
Miguel de Icaza 05463ca743 Some methods we need for Opendental
svn path=/trunk/mcs/; revision=58202
2006-03-20 20:45:14 +00:00
Miguel de Icaza e72c04299e Some methods we need for Opendental
svn path=/trunk/mcs/; revision=58201
2006-03-20 20:44:00 +00:00
Ben Maurer 6d159c392f 2006-01-13 Ben Maurer <[email protected]>
* ServiceInstaller.cs: Stubs for 2.0 stuff


svn path=/trunk/mcs/; revision=55507
2006-01-13 14:32:42 +00:00
Marek Safar 4e9a89c422 2005-11-14 Marek Safar <[email protected]>
* ServiceController.cs: Simple stub only.

svn path=/trunk/mcs/; revision=53005
2005-11-14 09:56:15 +00:00
Sebastien Pouliot 2cbecc7d9b 2005-09-22 Sebastien Pouliot <[email protected]>
* ServiceControllerPermissionAttributeTest.cs: Removed *Choice 
	security actions.


svn path=/trunk/mcs/; revision=50475
2005-09-22 13:29:42 +00:00
Kornél Pál 431f1b3485 Moved assembly version and assembly reference constants to a common Consts.cs file. Updated 2.0.3600.0 assembly versions to 2.0.0.0. Updated some old beta version numbers to recent ones. Fixed hard coded assembly references to use constants with the appropriate version number.
svn path=/trunk/mcs/; revision=48519
2005-08-18 19:36:17 +00:00
Ben Maurer b27c8e1534 remove .cvsignore from everywhere, as it is useless on svn
svn path=/trunk/mcs/; revision=46564
2005-06-27 15:55:58 +00:00
Ben Maurer 47876a3539 more copy and paste reuse going away
svn path=/trunk/mcs/; revision=45988
2005-06-14 19:21:45 +00:00
Ben Maurer 9371fbf8ba Remove copy and paste reuse for Locale.cs.
First step in attempting to do an actual framework here.


svn path=/trunk/mcs/; revision=45986
2005-06-14 18:30:41 +00:00
Sebastien Pouliot ccb673117f 2005-05-31 Sebastien Pouliot <[email protected]>
* ServiceControllerPermission.cs: Accept empty service name before 2.0


svn path=/trunk/mcs/; revision=45259
2005-05-31 11:56:25 +00:00
Sebastien Pouliot af23d1cfe9 2005-05-31 Sebastien Pouliot <[email protected]>
* ServiceControllerPermissionAttributeTest.cs: Character #133 isn't
	valid in machine names for 2.0. An empt service name is acceptable 
	before 2.0.
	* ServiceControllerPermissionTest.cs: 2.0 has better parameters
	checking (since FDBK15131 was fixed).


svn path=/trunk/mcs/; revision=45258
2005-05-31 11:54:37 +00:00
Sebastien Pouliot 4e35f9fbfd reduce warnings when compiling unit tests
svn path=/trunk/mcs/; revision=43109
2005-04-16 18:59:07 +00:00
Joerg Rosenkranz 7117932536 2005-04-09 Joerg Rosenkranz <[email protected]>
* ServiceBase.cs: Cleaned up callback code.
        


svn path=/trunk/mcs/; revision=42744
2005-04-09 20:33:31 +00:00
Joerg Rosenkranz 85417b148d 2005-04-08 Joerg Rosenkranz <[email protected]>
* ServiceBase.cs: Introduced static callback for
        interoperability with mono-service.
        


svn path=/trunk/mcs/; revision=42711
2005-04-08 21:48:26 +00:00
Joerg Rosenkranz 0e41e35223 2004-04-06 Joerg Rosenkranz <[email protected]>
* ServiceBase.cs: Fixed default values of members.


svn path=/trunk/mcs/; revision=42615
2005-04-06 17:16:38 +00:00
Joerg Rosenkranz 4698aa8982 2005-04-04 Joerg Rosenkranz <[email protected]>
* monod.c: First commit: Daemon for running services built 
        with System.ServiceProcess under Linux.


svn path=/trunk/mcs/; revision=42539
2005-04-04 20:23:58 +00:00
Geoff Norton 20e91be152 2005-01-23 Geoff Norton <[email protected]>
* ServiceBase.cs: Implement missing virtuals.
        * ServiceInstaller.cs: Initial Implementation.
        * ServiceProcessInstaller.cs: Initial Implementation.


svn path=/trunk/mcs/; revision=39373
2005-01-23 07:58:57 +00:00
Raja R Harinath 97553bb62e cvs ignores, sorry about the spam
svn path=/trunk/mcs/; revision=33874
2004-09-14 09:59:51 +00:00
Sebastien Pouliot 0e83560f7f 2004-09-11 Sebastien Pouliot <[email protected]>
* Makefile: Updated to include unit tests.
	* System.ServiceProcess.dll.sources: Added ServiceControllerPermission
	class to the build.
	* System.ServiceProcess_test.dll.sources: New. Added sources file for
	unit tests.

svn path=/trunk/mcs/; revision=33749
2004-09-11 15:07:55 +00:00