David Anderson
1637c19e08
- API and sample apps: pass buf length arg to boinc_msg_prefix()
...
and use snprintf() to avoid overrun.
Can't see why this could ever happen.
Attempt to fix crash in E@h apps.
svn path=/trunk/boinc/; revision=22363
2010-09-15 23:03:30 +00:00
David Anderson
c2444c5206
- apps: compile fix
...
svn path=/trunk/boinc/; revision=21785
2010-06-21 23:29:37 +00:00
David Anderson
42683a8a31
svn path=/trunk/boinc/; revision=20269
2010-01-27 03:55:46 +00:00
David Anderson
1c127cd122
- example multi-thread app: change to use boinc_init_parallel().
...
It's way simpler now.
svn path=/trunk/boinc/; revision=20058
2010-01-01 06:03:08 +00:00
David Anderson
563a55f37e
- client/libs/samples: remove "#define read _read" etc. from boinc_win.h
...
These cause problems when "read" is a member name, etc.
Do these #defines, conditioned on _MSC_VER,
in the files that actually need them.
- don't include boinc_win.h from parse.h.
principle of minimal inclusion
svn path=/trunk/boinc/; revision=18902
2009-08-22 17:00:19 +00:00
David Anderson
68e2530b3a
- API: add function boinc_msg_prefix() that returns
...
time of day and process ID.
This should prefix all messages written to stderr
by applications or by the runtime system.
svn path=/trunk/boinc/; revision=17687
2009-03-27 23:42:47 +00:00
David Anderson
5a5b386313
- client: garbage collect after scheduler RPC;
...
if project sent some irrelevant FILE_INFOs,
this will avoid starting transfers for them.
svn path=/trunk/boinc/; revision=17644
2009-03-23 01:33:17 +00:00
David Anderson
1a409685e5
- make "make distclean" work in all directories
...
svn path=/trunk/boinc/; revision=16245
2008-10-21 21:13:52 +00:00
David Anderson
44f4c9d840
- add distclean target for samples/ makefiles
...
svn path=/trunk/boinc/; revision=16143
2008-10-06 20:24:58 +00:00
David Anderson
5a1e97c349
- Unix build system: build samples/example_app/,
...
and change the samples/ makefiles so that they automatically
create the symbolic link to libstdc++.a
Fixes #725
svn path=/trunk/boinc/; revision=16129
2008-10-04 18:51:38 +00:00
David Anderson
98cfb8d3b0
- rename .C files to .cpp so that Doxygen will work
...
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00
David Anderson
6d61da36a6
- fix compile warnings and Manager error
...
svn path=/trunk/boinc/; revision=15905
2008-08-20 18:24:08 +00:00
David Anderson
4f66bb4c95
- added copyright and license info to .C, .cpp, .h files
...
- scheduler: fix bug in adaptive replication:
if send an unreplicated job to untrusted host,
set both wu.target_nresults and wu.min_quorum to app.target_nresults.
svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
David Anderson
1edb9012f6
- move boinc_samples into boinc/samples
...
- fix Makefiles in samples/
svn path=/trunk/boinc/; revision=15740
2008-08-01 18:14:00 +00:00
David Anderson
f4f1592041
Moving the boinc_samples directory under the boinc directory.
...
This will make branching complete and stable server and app development branches easier.
svn path=/trunk/boinc/; revision=15730
2008-07-31 20:12:07 +00:00