Chris Young
08dcfc0c44
Every five minutes, close any fonts not used in the last five minutes
...
svn path=/trunk/netsurf/; revision=12267
2011-05-01 11:59:08 +00:00
Chris Young
11a0284427
Don't open fonts until they are needed
...
svn path=/trunk/netsurf/; revision=12264
2011-04-30 19:05:11 +00:00
Chris Young
6bced73998
Modify scheduler to use a binary heap (using libpbl).
...
Scheduled events are now in event time order, so schedule_run simply takes the top
event off the heap and runs it (if we're polling, rather than having received a signal
that the next event is due to be run, we check first that we have passed the scheduled
time).
This should provide performance benefits as we are no longer trawling the entire list
of scheduled events (potentially hundreds) every time an event is signalled or the
schedule list is polled.
svn path=/trunk/netsurf/; revision=11703
2011-02-16 21:29:39 +00:00
John Mark Bell
6173bb0e6c
Merge treeview-redux to trunk
...
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Chris Young
bc4abe9087
Fix some potential issues with lists not being freed properly
...
svn path=/trunk/netsurf/; revision=9677
2009-11-15 23:11:41 +00:00
Chris Young
cae0d4a43b
Change memory allocations to MEMF_PRIVATE to enable paging on OS4.1.
...
svn path=/trunk/netsurf/; revision=5649
2008-11-02 00:21:49 +00:00
Chris Young
dfec4035dd
List traversing tidy-up.
...
svn path=/trunk/netsurf/; revision=5499
2008-10-06 18:20:16 +00:00
Chris Young
9fc58606db
Scheduled events now signal when the scheduled time has passed.
...
The timer appears to stop signalling events occasionally - needs some investigation.
svn path=/trunk/netsurf/; revision=5287
2008-09-08 18:14:14 +00:00
Chris Young
f071afe243
Code cleanup.
...
svn path=/trunk/netsurf/; revision=5167
2008-08-21 21:42:48 +00:00
Chris Young
05d0e28d50
Generic objects code implemented using Exec lists. Currently used by schedule.c to
...
add and delete schedule items from a list.
svn path=/trunk/netsurf/; revision=4876
2008-08-03 16:12:01 +00:00