Commit Graph

15 Commits

Author SHA1 Message Date
Vincent Sanders
c105738fa3 Change LOG() macro to be varadic
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.

The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.

A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Michael Drake
9a38a5d062 Simplify schedule_remove.
Since entries are unique we can stop looking when we have a match.
2014-07-09 07:23:58 +01:00
Michael Drake
4fbe86bc5a Scope reduce some variables. 2014-05-30 22:27:07 +01:00
Michael Drake
a64e0c4eaf Fix failure to return NSERROR_NOMEM when malloc failed.
Was using return without any value.
2014-05-26 10:23:04 +01:00
Vincent Sanders
87f6314dab move scheduleing into browser operation table 2014-03-09 15:37:40 +00:00
John Mark Bell
408f78b737 Move schedule.h to utils/
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Daniel Silverstone
93e9bfe323 Shunt the schedule function definitions to desktop/schedule.h. Shunt the hlcache/llcache to using schedule to get their cleanups run.
svn path=/trunk/netsurf/; revision=12029
2011-03-13 18:26:46 +00:00
Vincent Sanders
cbf07e1bc3 make schedule_run return if it has active jobs to schedule
svn path=/trunk/netsurf/; revision=6447
2009-02-11 22:33:55 +00:00
Vincent Sanders
2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Daniel Silverstone
6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson
9702484306 [project @ 2005-05-17 23:25:32 by rjw]
Don't allow things to be scheduled twice.

svn path=/import/netsurf/; revision=1725
2005-05-17 23:25:32 +00:00
James Bursa
403e39f5a4 [project @ 2004-07-09 10:58:45 by bursa]
Fix race condition in schedule_run() (fixes download-related crashes).

svn path=/import/netsurf/; revision=1062
2004-07-09 10:58:45 +00:00
James Bursa
187ee0f98e [project @ 2004-03-21 13:54:53 by bursa]
Fix schedule_remove().

svn path=/import/netsurf/; revision=643
2004-03-21 13:54:53 +00:00
James Bursa
f962f4301c [project @ 2004-03-21 12:46:56 by bursa]
Implement scheduled callbacks.

svn path=/import/netsurf/; revision=640
2004-03-21 12:46:56 +00:00