aboutsummaryrefslogtreecommitdiff
path: root/include/timer.h
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-2/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
* | Assign more class members inline instead of in the constructor.Gravatar Sadie Powell2022-10-211-1/+1
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-1/+1
* | Require specifying the repeat argument of the Timer class.Gravatar Sadie Powell2022-05-171-1/+1
* | Only give timers a trigger time when they're actually registered.Gravatar Sadie Powell2022-05-171-2/+1
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-2/+2
* | Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-1/+1
* | Remove unused time_t field from the timer system.•••This is equivalent to calling InspIRCd::Now() and is only actually used in one place in modules. Gravatar Sadie Powell2021-11-051-4/+2
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-4/+4
|/
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+6
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
* Move the TimerMap typedef into the private part of TimerManagerGravatar Attila Molnar2014-07-101-2/+2
* Remove current time parameter of the Timer constructorGravatar Attila Molnar2014-07-101-2/+1
* Move the definition of Timer::Timer() into the source file from the header•••Use initialization list Gravatar Attila Molnar2014-07-101-6/+1
* Allow Timers to delete themselves in Tick()Gravatar Attila Molnar2014-01-301-0/+2
* Fix Doxygen comments.Gravatar Peter Powell2013-06-211-1/+0
* Timer changes and TimerManager enhancements•••Timer::Tick() now has a bool return value: if false is returned the timer is deleted using operator delete, otherwise, if it's a repeating timer then it's rescheduled (readded) Timers are removed from the TimerManager automatically at destruction Timers are now stored in a multimap instead of a sorted vector Gravatar attilamolnar2013-04-211-31/+27
* Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-5/+1
* Fix Doxygen syntax errors.Gravatar Peter Powell2012-07-051-5/+0
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+16
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-6/+1
* Valgrind cleanup: finish destructor creation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11615 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+1
* Remove unneeded Extensible inheritance and remove "age" field from classbase•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11611 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-2/+2
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Clear up header insanity•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-031-1/+1
* New timer code. This may be a tiny fraction slower (though I think it will be...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8708 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-131-19/+18
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* InspTimer -> Timer•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8205 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-17/+17
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+156
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-156/+1
* Comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7382 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-171-0/+1
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-2/+2
* And make it compile. (whoops)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6562 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-101-1/+1
* timermanager never had a ServerInstance. Give it one so we can use InspIRCd::...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6561 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-101-0/+5
* Add and properly test the ability for an InspTimer to DelTimer itself from wi...•••This wasnt supported before and would corrupt the iterator in the TickTimers() method of TimerManager. Non the less, peaveys new (perfectly sensible) fix broke it because i didnt document the caveat about DelTimer() :p This FIXES m_ident and possibly some other stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6553 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-091-1/+6
* Comment on a lot of recently added stuff that wasnt properly documented (unti...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6284 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-091-0/+24
* Someone forgot to make correct deps for timer.h. Fixed.•••Added InspTimer::CancelRepeat(), we can use this within the Tick method to cancel a repeat so that the timer is deleted after the tick, as DelTimer isnt safe within the Tick method git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6283 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-091-0/+5
* Add repeating timers, and make an hourly prune of the dns cache, otherwise a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6264 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-081-2/+24
* And now, just to force you to recompile the *whole* ircd.. updated headers on...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5998 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-5/+2
* Speaking of misleading comments, 'Delete and InspTImer' isn't particularly de...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5313 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-09-241-1/+1
* Add timeouts to the http module. Two seperate timeouts, 60 seconds to receive...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5260 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-0/+4
* Document TimerManager class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4899 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+20
* Relocate timer stuff into TimerManager class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4827 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+16
* Made a load more stuff Extensible which might be of use to someone•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4293 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-1/+1
* Route some more stuff through socket.h and hash_map.h. Add #define protection...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3869 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-101-0/+4
* Commented a lot of stuff that hasnt been commented since 1.0.2•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-3/+21