1) it's not correct to apply stripslashes() to all form input.
That should be done only if magic quotes is on.
I fixed this by adding a function undo_magic_quotes()
that does the right thing.
2) There's no reason to strip backslashes from user-supplied text
(forum titles and bodies, private messages, passwords etc.)
I'm not sure why this was being done.
It prevented messages from containing backslashes.
svn path=/trunk/boinc/; revision=15364
These are more than 24 lines, so in the VMWare BOINC VM
they scroll off the window and are lost.
Instead, write them to a file (project/project.readme).
Also, only write the message about example app if -test_app
svn path=/trunk/boinc/; revision=15358
add new functions get_output_file_info();
- change get_output_file_path() to look at the result's
xml_doc_in rather than its xml_doc_out;
this is the one that will have <optional/>
- fix crashing bug in the above
svn path=/trunk/boinc/; revision=15334
to return a struct FILE_INFO (including "optional")
instead of just the filename.
This lets you avoid erroring out if optional file is missing.
- Sample bitwise validator: support > 1 output file correctly
svn path=/trunk/boinc/; revision=15332
password for boinc_project to a file.
ATL's string conversion functions act of a class and not a buffer
which makes memory management easier but doesn't interop well with
fprintf unless you specify the buffer name directly.
win_build/installerv2/
BOINC.ism
win_build/installerv2/redist/Windows/src/boinccas/
CACreateClientAuthFile.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=15319
and clear all timeout variables.
This should fix the situation where, say:
1) the user sets the system clock forward by a year;
2) all projects get their min_rpc_time set;
3) the user sets the system clock back to the correct time.
Previously, BOINC would not do anything for a year.
Note: a restart of BOINC is required to fix things.
It would be harder to do this on the fly.
svn path=/trunk/boinc/; revision=15314
(calculate_credit_multiplier) to determine what factor to multiply
claimed credit by before insertion into the database. Changes to scheduler
to implement have not yet been checked in.
svn path=/trunk/boinc/; revision=15309
- Added a stage target for staging a distribution.
Executing "make stage" will "make all" and will install the client
under the stage directory (i.e. binaries is stage/$(prefix)/bin, libraries
in stage/$(prefix)/lib, etc)
Makefile.am
svn path=/trunk/boinc/; revision=15306
- added Makefile to clientgui/icons to install them in $(pkgdatadir) which
is usually $(prefix)/share/boinc.
- Even though these icons are packaged with the sea, they don't appear
to be referenced in any code and don't appear to ever be used.
svn path=/trunk/boinc/; revision=15305
added client/scripts to default client build
removed sea from the default clientgui build
added locale/client to the default clientgui build
moved installed headers from $(includedir) to $(pkgincludedir) which
is $(includedir)/boinc by default.
removed redefinitions of $(includedir) from Makefiles.
- configure:
added locale/client/Makefile to AC_CONFIG_FILES
svn path=/trunk/boinc/; revision=15300
"BOINC-Manager.*"
- Added Makefile to locale/client to install the BOINC Manager.po files
into $(datadir)/locale (typically $(prefix)/share/locale)
svn path=/trunk/boinc/; revision=15299
didn't exist yet, so all the values in the returned data structures
was random junk. If the directory had never been created before
then it was returning 27/57 bytes free. If the drectory had existed
at one time then the return values were several gigabytes.
If the first request to GetFreeDiskSpaceEx fails, then check for the
parent directory, if that fails pass a NULL value which means check
the default volume.
win_build/installerv2/redist/Windows/src/boinccas/
boinccas.def
boinccas.rc
boinccas.vcproj
CAMigrateBOINCData.cpp
CASetPermissionBOINCDiagnostics.cpp, .h (deleted)
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=15298
so there was no way of rescuing a team with invalid founder email.
I changed it to record the request anyway.
This is potentially hazardous - if the founder's email server
is temporarily down, the request would go through
without the founder being notified.
To offset this, I added a notification via private message.
svn path=/trunk/boinc/; revision=15296