Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-15[system] System.Timer from reference sourcesMarek Safar
2014-08-19Do not dispose the underlying Timer every time the Enabled is set to false, ↵fengari
keep it around for as long as this Timer exists. Throw ObjectDisposedException on Enabled setter. ArgumentException throwing according to docs. Removed 'disposed' field. DueTime for underlying timer changes only if enabled (as per docs). Check for already disposed in Dispose(). Not firing Elapsed if disposed. Unit tests.
2013-11-09Improve my previous change a bit.Alex Rønne Petersen
Checking the `disposing` argument is cleaner.
2013-11-09Fix an NRE in System.Timers.Timer.Dispose ().Alex Rønne Petersen
This would happen because _lock is nullified by the GC during finalization. Dispose () calls Close () which sets the Enabled property to false, which then attempts to lock on _lock.
2013-02-11Kill the MOONLIGHT define in System.Rodrigo Kumpera
2010-03-19In System.Timers:Sebastien Pouliot
2010-03-19 Sebastien Pouliot <sebastien@ximian.com> * Timer.cs: Removed old NET_2_0 defines and added some new MOONLIGHT defines (needed for the client stack) In System.Net: 2010-03-19 Sebastien Pouliot <sebastien@ximian.com> * AuthenticationManager.cs: Internal type for Moonlight. Add BasicClient, DigestClient, NtlmClient for NET_2_1 since this applies to both monotouch and moonlight (client stack). Removed unneeded NET_2_0 defines * CookieContainer.cs: For Moonlight it needs to be internal in System.dll and public in System.Net.dll. Removed unneeded NET_2_0 defines * HttpContinueDelegate.cs: Internal type for Moonlight. * HttpRequestCreator.cs: Remove a MOONLIGHT define * HttpStatusCode.cs: For Moonlight it needs to be internal in System.dll and public in System.Net.dll * HttpWebRequest.cs: Internal type for Moonlight. Change S.Config to NET_2_1 defines (applies to both monotouch and moonlight). Removed unneeded NET_2_0 and NET_1_1 defines * HttpWebResponse.cs: Internal type for Moonlight. Removed unneeded NET_2_0 defines * IAuthenticationModule.cs: Internal type for Moonlight. * ICertificatePolicy.cs: Internal type for Moonlight. * ICredentialPolicy.cs: Internal type for Moonlight. Removed unneeded NET_2_0 defines * IWebRequestCreate.cs: For Moonlight it needs to be internal in System.dll and public in System.Net.dll * ServicePoint.cs: Internal type for Moonlight. Change S.Config to NET_2_1 defines (applies to both monotouch and moonlight) * ServicePointManager.cs: Remove a MOONLIGHT define * WebException.cs: For Moonlight it needs to be internal in System.dll and public in System.Net.dll. Removed unneeded NET_2_0 defines * WebHeaderCollection.cs: Internal type for Moonlight. Removed unneeded NET_2_0 defines * WebRequest.cs: Internal type for Moonlight. Change S.Config to NET_2_1 defines (applies to both monotouch and moonlight) * WebResponse.cs: Internal type for Moonlight. Removed unneeded NET_2_0 defines In System.Net.Sockets: 2010-03-19 Sebastien Pouliot <sebastien@ximian.com> * Socket.cs: Remove some NET_2_0 defines (using) and add a few MOONLIGHT defines needed to reuse Socket in the client http stack * Socket_2_1.cs: Remove some MOONLIGHT defines * SocketAsyncEventArgs.cs: For Moonlight check policy if outside System.dll (the client stack use sockets with it's own web xdomain policy) In System: 2010-03-19 Sebastien Pouliot <sebastien@ximian.com> * Uri.cs: Remove some MOONLIGHT defines In .: 2010-03-19 Sebastien Pouliot <sebastien@ximian.com> * moonlight_*_System.dll.sources: Bring extra types so we can build a full, managed, internal HTTP stack to be reused for SL3+ * Makefile: Add a INSIDE_SYSTEM define when compiling System.dll to makes it possible to rebuild the same types in System.Net.dll svn path=/trunk/mcs/; revision=153916
2009-09-292009-09-29 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* Timer_2_1.cs: Removed. No longer needed by Moonlight svn path=/trunk/mcs/; revision=142853
2009-09-272009-09-27 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* Timer_2_1.cs: New. A smaller, internal subset of Timer for Moonlight - needed for Socket.Close(int) svn path=/trunk/mcs/; revision=142718
2009-09-242009-09-24 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* Timer.cs: lock access to the 'timer' field. Attemp to fix bug #537921. svn path=/trunk/mcs/; revision=142548
2008-09-17Wed Sep 17 11:48:00 CEST 2008 Paolo Molaro <lupus@ximian.com>Paolo Molaro
* Timer.cs: rewritten to use Threading.Timer so it doesn't create a thread per timer and behaves better. Fixed also a few implementation bugs. svn path=/trunk/mcs/; revision=113267
2008-07-172008-07-17 Jb Evain <jbevain@novell.com>Jb Evain
* Timer.cs: Fix ArgumentException message. Patch by Paul Burton. svn path=/trunk/mcs/; revision=108172
2007-10-30In Test/System.Timers:Robert Jordan
2007-10-30 Robert Jordan <robertj@gmx.net> * TimerTest.cs: Enable test for bug #82701/#325368. In System.Timers: 2007-10-30 Robert Jordan <robertj@gmx.net> * Timer.cs (set_Enabled): Allow setting Enabled from within the Elapsed event handler. Fixes #325368. svn path=/trunk/mcs/; revision=88437
2007-09-072007-09-07 Dick Porter <dick@ximian.com>Dick Porter
* Timer.cs: This calls Thread methods in the finalizer too, so use the same workaround as in r85425. svn path=/trunk/mcs/; revision=85474
2007-09-05* Timer.cs: On 2.0 profile, only allow 32-bit interval in ctor.Gert Driesen
svn path=/trunk/mcs/; revision=85357
2006-12-192006-12-19 Robert Jordan <robertj@gmx.net>Robert Jordan
* Timer.cs: Apply the latest patch at attached to bug #77847. svn path=/trunk/mcs/; revision=69727
2006-12-192006-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>Gonzalo Paniagua Javier
* Timer.cs: Fixes race condition (bug #77847). Patch from Robert Jordan. svn path=/trunk/mcs/; revision=69726
2006-12-112006-03-19 Robert Jordan <robertj@gmx.net>Robert Jordan
* Timer.cs: Fix race condition of the wait handle object. Fixes bug #77847. svn path=/trunk/mcs/; revision=69357
2005-11-162005-11-16 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* TimersDescriptionAttribute.cs: Revert Description property fix because it doesn't always returns null (exact conditions unknown). svn path=/trunk/mcs/; revision=53123
2005-11-162005-11-16 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* ElapsedEventHandler.cs: Remove [Serializable] from 2.0 profile. * Timer.cs: Add [Browsable(false)] to SynchronizingObject property for 2.0 profile. * TimersDescriptionAttribute.cs: Description always returns null. svn path=/trunk/mcs/; revision=53118
2005-05-27Fixed bug #75068Kornél Pál
svn path=/trunk/mcs/; revision=45121
2004-06-21Add MIT license to System.dllDuncan Mak
svn path=/trunk/mcs/; revision=30054
2004-06-15 * Timer.cs: The timer thread must be a background thread.Lluis Sanchez
This fixes #58816. svn path=/trunk/mcs/; revision=29594
2004-05-112004-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>Gonzalo Paniagua Javier
* Timer.cs: if AutoReset, disable the timer before adding the callback to the ThreadPool. Patch by Tim Fries <timf@dicecorp.com>. Fixes bug #57993. svn path=/trunk/mcs/; revision=27114
2003-03-172003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>Gonzalo Paniagua Javier
* Timer.cs: Elapsed is an event. Added a few attributes. svn path=/trunk/mcs/; revision=12620
2002-11-202002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>Gonzalo Paniagua Javier
* ChangeLog: * ElapsedEventArgs.cs: * ElapsedEventHandler.cs: * Timer.cs: * TimersDescriptionAttribute.cs: New files. Don't use timers yet. If you do, your program will never end. svn path=/trunk/mcs/; revision=9103