use most recently created host with same domain name,
IP addr, OS name, and CPU model, if one exists.
(from Kevin Reed)
svn path=/trunk/boinc/; revision=14597
attempt to attach to it.
- CLIENT: Move the code that deletes the project_init.xml from detach
project to attach project. It is only needed for as long as
it takes to attach to a project.
client/
gui_rpc_server_ops.C
clientgui/
AdvancedFrame.cpp
sg_BoincSimpleGUI.cpp
svn path=/trunk/boinc/; revision=14582
(should this be set by default?)
- web: removed addslashes() when building language translation arrays.
These caused 's to be displayed as \' everywhere.
They may serve some purpose, but I can't think of what it is.
- web: changed max profile image dimensions from 800x600 to 640x480.
The new profile page puts a column to the right
of the image, so it shouldn't be quite that wide.
svn path=/trunk/boinc/; revision=14562
The meaning of the <screen_profiles> config flag is:
If set:
profiles must be screened by admins before their photo is shown.
When this is done, profile.verification is set to 1
(and they become eligible to be UOTD)
If not set:
profile photos are always shown.
Profiles must be screened by admins before
they are eligible for UOTD.
When this is done, profile.verification is set to 1
So default_uotd_candidates_query() is the same in either case.
- web: fix profile_screen_form.php
(admin page for screening profiles)
- web: make a copy of login_action.php in ops/
svn path=/trunk/boinc/; revision=14561
- Win diagnostics: diagnostics_dump_thread_information() had a printf
with bad format string, caused a crash, not what diagnostics should do
svn path=/trunk/boinc/; revision=14560
we know we cannot do a migration and why.
win_build/installerv2/redist/Windows/src/boinccas/
boinccas.rc
CAMigrateBOINCData.cpp
win_build/installerv2/redist/Windows/Win32/
boinccas.dll
boinccas95.dll
win_build/installerv2/redist/Windows/x64/
boinccas.dll
boinccas95.dll
svn path=/trunk/boinc/; revision=14558
resulting in a lot of read-only files in its slot directories.
When the client attempts to delete these files,
each delete fails and the client retries for about 5 seconds.
This adds up to a delay of about 20 minutes,
during which the client (and Manager) appear to be hung.
Solution:
1) if a file delete fails with error ERROR_ACCESS_DENIED,
use SetFileAttributes() to clear the read-only flag, then try again.
2) Don't use the 5-second retry mechanism when clearing out
slot directories. These can contain unbounded numbers of files,
and this can lead to long periods where the client appears hung.
svn path=/trunk/boinc/; revision=14557
It didn't work on a host's first scheduler RPC
(when it passes an auth but no host ID).
How do we look up user in this case?
The weak auth is not stored explicitly in the DB.
Solution: include the user ID in the weak auth.
(this invalidates existing weak auths)
svn path=/trunk/boinc/; revision=14546
This is for debugging apps (currently works only in Unix).
What it does: when running an app,
the client does everything except actually fork/exec the app,
i.e. it sets up the slot dir, creates shared mem segment etc.
It then continues as if the app were actually running,
and you can then manually run your app under a debugger
in the slot directory.
Note: the client won't notice the termination of your app.
- API, Unix: in situations where the timer thread wants to exit
(e.g. it notices a missing heartbeat).
don't directly call boinc_exit(),
since this touches data structures that the worker thread
may be using concurrently.
Instead, set a flag telling the worker thread to call boinc_exit()
(which it will do from its signal handler)
This is an attempt to fix problems reported by Bernd;
I haven't tested it.
- scheduler: add config flag for uploading usage data
- web: show account key and weak account key on user page
- added some code for multithread support (not finished)
api/
boinc_api.C
svn path=/trunk/boinc/; revision=14542