David Anderson
78f7610f6e
remove dependency of boinc_api.h on str_replace.h (and hence config.h)
...
Any files that use strlcpy() or strlcat() must directly include str_replace.h
2013-06-06 17:31:46 -07:00
David Anderson
846b8c7757
all components: change strcpy() to strlcpy() when possible.
...
This commit should cover the client and manager code.
2013-06-03 20:24:48 -07:00
David Anderson
c332021853
- Mac installer: add missing pclose() (from RustyBSD)
2013-03-04 15:23:37 +01:00
David Anderson
fdc085264a
- client (Win) preallocate large files to avoid file fragmentation
...
when you write to them incrementally
(workaround for shoddy filesystem design)
- admin web: remove line that limited mass emails to 10
2013-03-04 15:23:37 +01:00
David Anderson
5cdc6f3efd
- tweaks
2013-02-28 15:56:43 +01: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
e7e52a57ad
- client: set file ownership and permissions after an async verify.
...
This was presumably the cause of the recent Einstein@home problem.
- client: set file ownership and permissions after an async copy.
- client: set file ownership and permissions after a
regular (non-async) copy.
The latter 2 bugs would affect a VM app that copies
its executable to slot/x/shared
svn path=/trunk/boinc/; revision=25468
2012-03-21 18:36:00 +00:00
David Anderson
d2cf999563
- client: on startup, check file size as well as existence
...
- client: add <async_file_debug> log flag
- client: do decompress (both sync and async) to a temp file,
then rename
- client: if a file's status is VERIFY_PENDING on startup,
set it to NOT_PRESENT; that will trigger a verify
- client: do async copy only if size is above threshold
svn path=/trunk/boinc/; revision=25222
2012-02-09 00:47:04 +00:00
David Anderson
541f6dd1f3
- client: bug fix for async file ops:
...
set up files in slot dir when starting an app,
whether or not it's the first time
svn path=/trunk/boinc/; revision=25221
2012-02-08 21:14:34 +00:00
David Anderson
b5a1175d95
- client: async file stuff.
...
async decompress/verify seems to be working
svn path=/trunk/boinc/; revision=25211
2012-02-07 00:35:55 +00:00
David Anderson
d6534ba118
- client: async file stuff
...
svn path=/trunk/boinc/; revision=25210
2012-02-06 23:33:23 +00:00
David Anderson
ea2e64cef5
- client: async file stuff
...
svn path=/trunk/boinc/; revision=25209
2012-02-06 22:57:36 +00:00
David Anderson
21d0a20b08
- client: tweaks to AMD GPU detection msgs
...
- client: async file stuff
svn path=/trunk/boinc/; revision=25208
2012-02-06 21:13:04 +00:00
David Anderson
ea35d7df5c
svn path=/trunk/boinc/; revision=25203
2012-02-06 06:16:26 +00:00
David Anderson
cdd40fcc10
- client: intermediate checkin for async file verification
...
svn path=/trunk/boinc/; revision=25202
2012-02-06 06:06:44 +00:00
David Anderson
540a16e2f0
- transitioner: fix bug that cause invalid SQL query
...
svn path=/trunk/boinc/; revision=25197
2012-02-04 00:18:37 +00:00
David Anderson
3dc7dc9ad3
- client: debug async file copy. Seems to be working.
...
svn path=/trunk/boinc/; revision=25195
2012-02-03 22:08:11 +00:00
Rom Walton
5fd660bd22
- client: add async file copy stuff to Windows project file.
...
client/
async_file.cpp
win_build/
boinc_cli.vcproj
svn path=/trunk/boinc/; revision=25193
2012-02-03 19:00:28 +00:00
David Anderson
4adba7ee4e
- client: first pass at async file copy feature.
...
When a large file is copied from a project dir to a slot dir,
it's copied in chunks,
interleaved with other polling activities such as GUI RPCs.
That way the manager doesn't freeze while large copies
(e.g. VM images) are happening
svn path=/trunk/boinc/; revision=25192
2012-02-03 18:33:39 +00:00