Kim Woelders
e287b37e78
Switch to new list implementation.
...
Faster, less code, less memory usage.
Not that it matters much - mostly for fun.
2013-08-09 11:43:48 +02:00
Kim Woelders
f4ef0bc889
Cosmetic change around TimersRunNextIn().
...
SVN revision: 83806
2013-02-10 09:59:25 +00:00
Kim Woelders
51a19d26e7
Introduce new animation engine.
...
Based on work by Daniel Manjarres.
One of the major changes is to eliminate the "TimedLoop" construction
where we have "local" animation loops, in which we don't pass through
the main event handler.
SVN revision: 80542
2012-12-09 10:03:07 +00:00
Kim Woelders
f244c9a479
Debug tweaks.
...
SVN revision: 77011
2012-09-22 08:29:15 +00:00
Kim Woelders
aa94533d5c
Fetch time to next timer run after running idlers.
...
Idlers may change timers.
SVN revision: 73880
2012-07-15 16:17:13 +00:00
Kim Woelders
a92c67d7cf
Add some timer debug, cosmetic changes.
...
SVN revision: 73879
2012-07-15 16:17:11 +00:00
Kim Woelders
10f6a232d0
Move GetTimeMs/Us() to time.c.
...
SVN revision: 69545
2012-03-21 21:10:59 +00:00
Kim Woelders
8c2846c8c4
Set lower limit on time between sucessive animator runs.
...
Only run animators if at least 50% of cycle time has expired since last time.
Also add some debug stuff.
SVN revision: 60283
2011-06-13 16:29:02 +00:00
Kim Woelders
18399c1f12
Fix handling rescheduled timers that are already expired.
...
SVN revision: 56876
2011-02-09 21:08:20 +00:00
Kim Woelders
0b78fca099
Add missing break.
...
SVN revision: 56124
2011-01-15 07:45:36 +00:00
Kim Woelders
a649a2e005
Use GetTimeMs/Us() in stead of GetTime().
...
SVN revision: 55892
2011-01-05 18:05:59 +00:00
Kim Woelders
f0c0a4519c
Change TimerAdd() and TimerSetInterval() time to ms.
...
SVN revision: 55891
2011-01-05 18:05:57 +00:00
Kim Woelders
53180ca139
Eliminate TimersRunExpired().
...
SVN revision: 55890
2011-01-05 18:05:54 +00:00
Kim Woelders
be31bb694b
Move timers to int/ms.
...
SVN revision: 55889
2011-01-05 18:05:52 +00:00
Kim Woelders
568ee2489f
Add GetTimeMs/Us().
...
SVN revision: 55888
2011-01-05 18:05:50 +00:00
Kim Woelders
4c25a12232
Cosmetics.
...
SVN revision: 55887
2011-01-05 18:05:48 +00:00
Kim Woelders
24e0a0d7e8
Forgot some 2008->2009's.
...
SVN revision: 40605
2009-05-12 21:21:21 +00:00
Kim Woelders
b21bb1985b
Fix timer debug stuff.
...
SVN revision: 39622
2009-03-22 12:40:20 +00:00
Kim Woelders
94ba4c2acd
Cleanups.
...
SVN revision: 38634
2009-01-18 15:35:35 +00:00
Kim Woelders
1dad1ef28f
Simplify timers.
...
SVN revision: 34656
2008-05-24 18:13:17 +00:00
Kim Woelders
c906498380
Idler/Animator cleanups.
...
SVN revision: 34531
2008-05-10 23:15:32 +00:00
Kim Woelders
e7f01c2d6f
Add -brs to indent profile.
...
SVN revision: 34096
2008-03-23 11:54:24 +00:00
Kim Woelders
a39948076c
Use ecore_list_for_each in stead of ECORE_LIST_FOR_EACH (faster).
...
SVN revision: 34095
2008-03-23 06:49:50 +00:00
Kim Woelders
0a05aafc82
Assume free(0) is ok (if not HAVE_FREE_NULL_BUG will have to be defined).
...
SVN revision: 33818
2008-02-23 12:09:38 +00:00
Kim Woelders
6457e35937
Use separate debug flags for timers and idlers.
...
SVN revision: 33622
2008-01-26 11:43:12 +00:00
Kim Woelders
6089e2ef04
Deactivate unused code, trivial cleanups.
...
SVN revision: 31626
2007-09-05 19:12:56 +00:00
Kim Woelders
dd8a5138b2
Follow ecore_list name changes.
...
SVN revision: 30976
2007-07-25 20:02:57 +00:00
Kim Woelders
0963b81c9c
Don't free data pointer on animator exit.
...
SVN revision: 28234
2007-02-04 01:03:06 +00:00
Kim Woelders
f289c7d96f
Emalloc -> EMALLOC.
...
SVN revision: 28190
2007-02-02 00:19:32 +00:00
Kim Woelders
3d0c5b8410
Tweak timer event handling (run all expired timers at once).
...
SVN revision: 28158
2007-01-29 01:26:12 +00:00
Kim Woelders
b1f47c25a6
Add animators.
...
SVN revision: 28142
2007-01-28 04:59:46 +00:00
Kim Woelders
f53600e1e8
Cleanups, enable compiling everything as if it were C++.
...
SVN revision: 28022
2007-01-17 01:10:44 +00:00
Kim Woelders
83bcbbaee1
2007.
...
SVN revision: 27952
2007-01-13 19:14:29 +00:00
Kim Woelders
63a8acc721
Split up, shuffle around, rename.
...
SVN revision: 27181
2006-11-19 21:55:52 +00:00
Kim Woelders
27050fe8cc
Split off timers.h
...
SVN revision: 22161
2006-04-16 13:27:38 +00:00
Kim Woelders
05e7471a1a
Introduce idlers.
...
SVN revision: 21980
2006-04-09 10:18:34 +00:00
Kim Woelders
2dd6d5f12b
Another fix to avoid timer starvation by X events.
...
- Thanks to Mark Bowyer for help to sort this out.
Change timers to use absolute time.
SVN revision: 19657
2006-01-08 16:13:21 +00:00
Kim Woelders
056248c884
2006.
...
SVN revision: 19591
2006-01-07 07:20:58 +00:00
Kim Woelders
99d717e187
Copyright updates. More enlightenment->e16.
...
SVN revision: 13794
2005-03-19 16:40:18 +00:00
Kim Woelders
f47609bda7
Fix menu segv. Eliminate GetWinXY/WH.
...
SVN revision: 13638
2005-03-06 21:29:46 +00:00
Kim Woelders
69b6ed3314
Bye bye EDBUG/EDBUG_RETURN.
...
SVN revision: 13097
2005-01-25 21:58:28 +00:00
Kim Woelders
3b1f6e7c72
Enable compiling with -Wwrite-strings (trivial fixups).
...
SVN revision: 9414
2004-03-21 01:39:40 +00:00
Kim Woelders
f43c79641d
Renamed duplicate to Estrdup, introduced Estrndup.
...
SVN revision: 9148
2004-02-28 15:14:02 +00:00
Kim Woelders
2328bcb7c9
2003 -> 2004.
...
SVN revision: 8569
2004-01-19 22:30:35 +00:00
Kim Woelders
1aa09632c3
Include some header files explicitly.
...
SVN revision: 7849
2003-11-09 23:17:15 +00:00
Kim Woelders
3da03b6dc9
Copyrights->2003.
...
SVN revision: 7807
2003-11-05 17:24:47 +00:00
Mandrake
538d325415
Thu May 22 15:09:11 EDT 2003
...
(Mandrake)
Updated .h files so that this sucker actually wants to build on my system.
Sorry I've been AWOL for so long, life has been quite busy lately.
SVN revision: 6924
2003-05-22 19:15:03 +00:00
Michael Jennings
b35504b70e
Fri Mar 28 00:14:31 EST 2003
...
(KainX)
More patches from Kim Woelders <kim@woelders.dk>.
SVN revision: 6793
2003-03-28 05:16:21 +00:00
Mandrake
5f2e7bd222
Wed Jul 26 11:18:29 PDT 2000
...
(Mandrake)
apparently when you first open up the background settings dialog box it
clobbers the atom that says what the base background should have in it.
This is a hack, but fixes the symptom of the problem :)
SVN revision: 2924
2000-07-26 18:00:47 +00:00
Tom Gilbert
4d21d088e3
Sun Jun 4 20:56:41 GMT 2000
...
(gilbertt)
Patch from monkeyiq@flashmail.com (real name?) for the option to position
windows centered under the mouse pointer.
(I changed the logic just slightly from the patch, so that windows too big
vertically are positioned so that the top is visible, instead of the other
way around).
SVN revision: 2750
2000-06-04 19:45:55 +00:00