David Anderson
66127de897
client: not an error if a file starts with account_ but is not account file
...
For example, if you rename account_X.xml to account_X.xml.bak,
if should not be reported as an error.
Same for statistics files.
2018-02-28 16:16:52 -08:00
David Anderson
80562d230d
code cleanup
...
In .cpp files, put "using std::" at the top and don't use std:: after that
2016-12-16 12:12:00 -08:00
Rom Walton
2cc9a0b6c4
client: Cleanup low hanging fruit with regards to cleaning up sprintf.
...
Use snprintf instead.
2016-02-18 00:59:13 -05:00
Rom Walton
20a4275937
client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use.
...
Use safe_strcpy and safe_strcat when dealing with non-pointer data types.
2016-02-16 00:14:52 -05:00
David Anderson
0983315cdb
use MAXPATHLEN and sizeof() a few places; from Gianfranco
2013-05-22 13:56:48 -07:00
David Anderson
64d7fa3474
- client: more fixes to GUI RPC addition.
...
Also, replace get_project_dir() with a memoized member function of PROJECT
2013-04-18 13:57:33 -07:00
David Anderson
0a75353fb7
- client (Android and other Unix without shmget())
...
Don't write spurious messages to stderr about shmem operations
not being supported.
2013-03-05 16:42:44 +01:00
David Anderson
32a08d27d9
- C++ code: use MAXPATHLEN for char arrays that hold paths
...
svn path=/trunk/boinc/; revision=25659
2012-05-09 16:11:50 +00:00
David Anderson
bbfbef0fe8
- client: code cleanup. Move RESULT and PROJECT to separate files
...
svn path=/trunk/boinc/; revision=25621
2012-04-30 21:00:28 +00:00
David Anderson
4f7ceb2334
- client: remove auto update stuff from makefiles.
...
This feature is mothballed.
svn path=/trunk/boinc/; revision=23103
2011-02-24 22:18:14 +00:00
David Anderson
6784283211
- user web: fix bugs in server status page
...
- fix some indentation
svn path=/trunk/boinc/; revision=22890
2011-01-06 23:09:13 +00:00
Rom Walton
9cb3e6ffc7
- client & lib: bring header inclusion up-to-date for the CC to begin
...
hunting down a memory leak.
client/
<Various Files>
lib/
<Various Files>
svn path=/trunk/boinc/; revision=21457
2010-05-11 19:10:29 +00:00
Charlie Fenton
dc952fa5b6
Mac Sandbox: Fix bug in earlier changes to set projects directory & slots directory to group boinc_project
...
svn path=/trunk/boinc/; revision=20914
2010-03-16 09:52:45 +00:00
Rom Walton
e14e1cad34
- Remove BOINC_RCSID tags from source files, we are doing branching and tagging
...
properly.
<Various Files>
svn path=/trunk/boinc/; revision=20873
2010-03-12 16:51:57 +00:00
Charlie Fenton
e236d3dc22
Mac Sandbox: To protect authenticators in init_data.xml files, make slots directory group boinc_project and not world-executable,
...
svn path=/trunk/boinc/; revision=20271
2010-01-27 07:38:29 +00:00
David Anderson
b29f920999
- Move URL-related code to a new file
...
- Remove stuff related to SOCKS version, since we only support 5
svn path=/trunk/boinc/; revision=19480
2009-11-05 18:02:51 +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
10f9e11ee6
- lib: created a new file for declaring "replacements"
...
for functions like strlcpy() etc.
config.h is included here rather than in str_util.h
svn path=/trunk/boinc/; revision=18437
2009-06-16 20:54:44 +00:00
David Anderson
8333c35c81
- feeder: process array slots even if enum has ended;
...
this is needed to handle stale entries and slots
reserved by now-dead PIDs
- client: unify code for writing soft link files
svn path=/trunk/boinc/; revision=18256
2009-06-02 00:22:45 +00:00
David Anderson
575565dc22
- client: fixed nasty bug that caused GPU jobs to crash on startup
...
when they're preempting another GPU job.
The problem was as follows:
- job A is chosen to preempt job B
- we tell job B to quit, and initialize job A but don't start it;
however, we set if scheduler state to SCHEDULED
(rather than UNINITIALIZED)
- job B exits, and we start job A.
Since its state is not UNITIALIZED, we don't set up its slot dir.
- job A runs in an empty slot dir, doesn't find its files, and bombs out.
- client: add <slot_debug> option (prints messages about
allocation of slots, creating/removing files in slot dirs).
svn path=/trunk/boinc/; revision=18217
2009-05-28 19:26:27 +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