Commit Graph

5067 Commits

Author SHA1 Message Date
David Anderson bf8d4cc73c - client: fix two XML parsing bugs:
1) XML_PARSER::parse_int() and parse_double() wouldn't parse
			<foo></foo>, and in fact would consume the </foo>,
			so that the resulting skip_unexpected()
			would skip the entire rest of the document.

			This was exercised because my checking of 17 Apr
			set the default for work_buf_min_days as "" rather than 0.

		2) XML_PARSER::scan_tag() was removing spaces,
			so <venue name="home"> parsed as venuename="home"
			This actually didn't do any damage.

	lib/
		parse.C
		prefs.C

svn path=/trunk/boinc/; revision=12986
2007-06-22 21:19:19 +00:00
David Anderson e1a0c552e2 - compile fixes for Win
client/
		acct_setup.C
		cs_prefs.C
		cs_trickle.C
	lib/
		filesys.C
		str_util.C,h
		util.C,h
	tools/
		updater.C
	win_build/
		sim.vcproj

svn path=/trunk/boinc/; revision=12985
2007-06-22 20:17:08 +00:00
David Anderson 7b74befedc - client: when you read a file into a string with:
loop
            read a line X
            S += X
    it performs real bad if the file is large
    (allocation of std::string seems to stupid)
    So I changed this to
        find file size n
        read file into malloced buf size n
        S = buf
        free buf
- lib: moved functions to appropriate file
        
client/
    acct_setup.C
    cs_prefs.C
lib/
    parse.C,h
    str_util.C,h
    util.C,h

svn path=/trunk/boinc/; revision=12983
2007-06-22 18:53:55 +00:00
Charlie Fenton ad416918ff Sandbox: fix switcher call to kill to eliminate error message and to correctly send SIGKILL instead of SIGTERM.
svn path=/trunk/boinc/; revision=12979
2007-06-22 10:09:13 +00:00
David Anderson c912a6506b - user web: fixed bug in private-message code
- back end: moved HR_INFO to a separate file;
    did some debugging in HR code

html/
    inc/
        forum_user.inc
        util.inc
    user/
        forum_pm.php
sched/
    Makefile.am
    census.C
    feeder.C
    hr.C,h
    hr_info.C,h (new)

svn path=/trunk/boinc/; revision=12978
2007-06-22 03:46:42 +00:00
Janus B. Kristensen 7d302fb1ba Added the scraping mechanism for Bittorrent support (not all Bittorrent clients
actually support this, but those that do get an increased performance boost and
don't have to contact the more expensive announce.php nearly as often as those
that do not support it. Since it hasn't yet been decided which BT library we
will be using I just added scraping anyways.

svn path=/trunk/boinc/; revision=12977
2007-06-21 06:01:35 +00:00
David Anderson 6b4e912b27 - random compile warning fixes
client/
    auto_update.C
    file_names.h
    scheduler_op.C
    time_stats.C
lib/
    util.C,h
tools/
    create_work.C
    updater.C

svn path=/trunk/boinc/; revision=12971
2007-06-20 23:16:30 +00:00
David Anderson f5d94818dd - added "census", a program that counts up how much RAC
there is for each HR class, and writes it to a file.
    This will be used soon for HR support in the feeder.
- split the HR code into hr.C,h (stuff used by both census and scheduler)
    and sched_hr.C (stuff used only by the scheduler)
- database: change DB_CREDITED_JOB to treat workunitid
    as a double (which it is) rather than a long.
    BTW, long == int.
- fixed lots of compile warnings in the server code

db/
    boinc_db.C,h
lib/
    boinc_cmd.C
    miofile.C
    util.C
sched/
    Makefile.am
    census.C (new)
    feeder.C
    file_deleter.C
    file_upload_handler.C
    handle_request.C
    hr.C,h (new)
    main.C
    sample_assimilator.C
    sample_work_generator.C
    sched_array.C
    sched_hr.C,h
    sched_send.C
    server_types.C
    transitioner.C
    validator.C

svn path=/trunk/boinc/; revision=12970
2007-06-20 22:34:06 +00:00
David Anderson 6ad51e0452 - feeder: more code cleanup
sched/
    feeder.C


svn path=/trunk/boinc/; revision=12969
2007-06-20 20:23:07 +00:00
David Anderson 45f04aa04b - back end: make it possible to run multiple instances of make_work,
for WUs of different applications
    (need to count unsent results separately by app)
- feeder: major code cleanup
    - application interleaving (for -allapps) is now done
        by building a static slot-to-app array "app_indices".
        Fractional weights now work correctly.
    - enum sizes (for -allapps) are now precomputed
        in an array "enum_sizes"
    - rename "found" (confusing!!) to "collision"
    - swapped the names of mod_select_clause and select_clause,
        to reflect what they actually are
- file deleter: in finding oldest WU, order by id instead of create_time
    (there's no index on create_time)
- user web: show "merge by name" only to host owner
- add cpu_scheduler_period() member to GLOBAL_PREFS
    (so you don't have to multiply by 60 everywhere)
- infinite() fix for HPUX

client/
    cpu_sched.C
    cs_cmdline.C
    cs_scheduler.C
    rrsim_test.C
    sim.C
    work_fetch.C
html/user/
    hosts_user.php
lib/
    parse.h
    prefs.h
sched/
    feeder.C
    file_deleter.C
    make_work.C
    sample_work_generator.C
    sched_util.C,h
tools/
    updater.C

svn path=/trunk/boinc/; revision=12968
2007-06-20 16:27:27 +00:00
David Anderson 55a060a003 - manager: v6 graphics fixes.
Works now, with a few problems

	clientgui/
		ViewWork.cpp
	lib/
		util.C

svn path=/trunk/boinc/; revision=12966
2007-06-20 03:35:16 +00:00
David Anderson dd2064ab6c - manager: v6 graphics fixes. doesn't work yet
client/
		client_state.C
	lib/
		gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12963
2007-06-19 20:30:55 +00:00
Rom Walton 31de94bed1 - MGR: Misc v6 graphics fixes
clientgui/
        sg_ViewTabPage.cpp
        ViewWork.cpp
        ViewWorkGrid.cpp

svn path=/trunk/boinc/; revision=12962
2007-06-19 17:33:48 +00:00
David Anderson b7fad32d14 svn path=/trunk/boinc/; revision=12960 2007-06-19 15:46:53 +00:00
Rom Walton f1f81d6431 - Set version number to 5.11.0 to start off the 6.0 development cycle.
/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=12959
2007-06-19 14:47:33 +00:00
Charlie Fenton 028d313be5 Mac: Fix visible copyright and version strings in installer and uninstaller.
svn path=/trunk/boinc/; revision=12957
2007-06-19 09:12:35 +00:00
Rom Walton 492dbda61b - MGR: Check initial function to launch v6graphics if it exists
in the slot directory.
        
        NOTE: Only implemented in the advanced view list controls
          for now.

    clientgui/
        Events.h
        ViewWork.cpp, .h

svn path=/trunk/boinc/; revision=12955
2007-06-18 11:46:01 +00:00
Janus B. Kristensen 411857a1ec The .torrent-generator allowing projects to dynamically generate .torrent-data for their files.
svn path=/trunk/boinc/; revision=12951
2007-06-17 13:51:23 +00:00
Rom Walton 9d5b0fbfd1 - WINSETUP: Remove the VBS Script custom action and put back
the shortcut to BOINC Manager.
        
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism

    - MGR: Revert back out the change to cache the host type
        (local/remote). Somehow it was messing up controlling
        remote machines.

    clientgui/
        MainDocument.cpp, .h

svn path=/trunk/boinc/; revision=12943
2007-06-16 17:54:32 +00:00
David Anderson 477008a3c1 - user web: added Burma to country list
- admin web: removed deprecated create-account scripts

html/
    inc/
        cache.inc
        country.inc
    ops/
        create_account_form.php (removed)
        create_account_action.php (removed)
        show_log.php

svn path=/trunk/boinc/; revision=12941
2007-06-15 23:54:25 +00:00
David Anderson 9850a17167 - GUI RPC: add graphics_exec_path and slot_path fields to RESULT.
These let the Manager run the graphics app.
    Graphics apps have physical name *v6graphics*
- Separated ACTIVE_TASK::write() and ACTIVE_TASK::write_gui().
    These need to write largely disjoint set of items.
- code cleanup: remove a zillion "else"s in parsing code
- code cleanup: change a zillion match_tag(buf, "<foo/>"
    to parse_bool(buf, "foo")

client/
    app.C,h
    client_state.C
    client_types.C,h
lib/
    gui_rpc_client.h
    gui_rpc_client_ops.C
sched/
    server_types.C

svn path=/trunk/boinc/; revision=12938
2007-06-14 23:08:43 +00:00
David Anderson fcab43c4da - scheduler: support per-app HR type, specified in the DB;
this supercedes the global HR type specified in config.xml
- API: eliminate small memory leak
    (if reread app init file, free malloc'd project prefs from last time)
- file upload handler: parse <md5_cksum> to avoid error msg

lib/
    app_ipc.C
sched/
    file_upload_handler.C
    sched_array.C
    sched_hr.C,h
    sched_send.C,h

svn path=/trunk/boinc/; revision=12936
2007-06-14 18:02:00 +00:00
David Anderson 981eef6b14 - Scheduler: changed the <homogeneous_redundancy> option
from a bool to an int:
    0 = no HR
    1 = HR with fine-grained classification (from MF Somers)
    2 = HR with coarse-grained classification (from WCG)

    Note: numerical equivalence depends on your application
    and how it's compiled.  Some apps may need classifications
    other than these two.  Contact me if so.

sched/
    sched_hr.C
    sched_config.C,h

svn path=/trunk/boinc/; revision=12934
2007-06-14 15:05:20 +00:00
David Anderson 46f999f0ba - Added project.xml entry for Playstation 3 / Linux
- Server status page: if the scheduler isn't running,
    it's almost certainly because "stop_sched" is present,
    not because Apache isn't running.
    Get rid of the use of "sched_pid".
    
tools/
    project.xml
html/ops/
    sample_server_status.php

svn path=/trunk/boinc/; revision=12931
2007-06-13 21:16:27 +00:00
David Anderson 53c7492299 - parse_str(): remove unnecessary checks
- client: allow app_info.xml to have multiple versions

lib/
    parse.C
client/
    client_state.C
    scheduler_op.C

svn path=/trunk/boinc/; revision=12930
2007-06-13 19:54:24 +00:00
David Anderson 05226427dd - API: set timer thread stack size to 16KB
- Scheduler: for no_amd_k6 option, check CPU vendor as well as model

sched/
    handle_request.C
api/
    boinc_api.C

svn path=/trunk/boinc/; revision=12929
2007-06-13 19:09:46 +00:00
David Anderson 03c74d8492 svn path=/trunk/boinc/; revision=12926 2007-06-13 15:55:39 +00:00
Rom Walton 12ace8e1b8 - Tag for 5.10.6 release, all platforms
boinc_core_release_5_10_6
    
    client/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=12921
2007-06-13 13:08:51 +00:00
Charlie Fenton ac4e28f601 svn path=/trunk/boinc/; revision=12919 2007-06-13 08:32:18 +00:00
Janus B. Kristensen c56dd0fe79 Added an index page giving clues about potential misconfigurations in the BT
serverside setup. Once the remaining parts of the code are in place it should
      be possible to use this page as a guide on where to look for any errors.


svn path=/trunk/boinc/; revision=12915
2007-06-13 08:03:52 +00:00
David Anderson df5909d473 - scheduler: add no_darwin_6 option
(don't send work to Mac OS X 10.2 or earlier).
    This used to be #ifdef in by Einstein@home.
- scheduler: add no_amd_k6 option
    (don't send work to AMD K6 CPUs)

sched/
    handle_request.C
    sched_config.C,h

svn path=/trunk/boinc/; revision=12912
2007-06-12 21:40:32 +00:00
Rom Walton 239406c6fa - MGR: Only detect if the host name is local once per connection.
clientgui/
        MainDocument.cpp, .h

svn path=/trunk/boinc/; revision=12911
2007-06-12 20:29:58 +00:00
Rom Walton ff999f983d - MGR: If the screen resolution is too small for the Simple GUI
switch to the Advanced GUI automatically.
    - MGR: If a screen reader is detected, switch to the Advanced
        GUI list view automatically.
        
    clientgui/
        AdvancedFrame.cpp
        BOINCGUIApp.cpp

svn path=/trunk/boinc/; revision=12910
2007-06-12 18:28:53 +00:00
David Anderson be9c1ec9b4 - API: initialize all fields on BOINC_OPTIONS.
Fixes a bug that caused crash on 64bit Linux
    (from M.F. Somers)

api/
    boinc_api.h

svn path=/trunk/boinc/; revision=12909
2007-06-12 18:01:27 +00:00
David Anderson 3bbb17f117 - client: when I changed the length of benchmark intervals
from 20 to 10 seconds, this broke things on ultra-slow CPUs.
		I think this is because a single loop of the FP
		benchmark took so long that the end time of the int
		benchmark had already come and gone.
		Fixed this (I hope) by reducing the loop length
		by a factor of 10.

	client/
		cs_benchmark.C
		dhrystone.C
		whetstone.C

svn path=/trunk/boinc/; revision=12908
2007-06-12 17:28:08 +00:00
David Anderson f8af50e685 - client: fetch all-projects list at startup if it doesn't exist
- client: if result in statefile is labeled with unsupported platform,
    set its platform to primary
    (this completes the fix of 11 June, hopefully fixes #262)

client/
    client_state.C
    cs_statefile.C

svn path=/trunk/boinc/; revision=12907
2007-06-12 16:15:53 +00:00
Charlie Fenton 45d69751f1 Release Mac BOINC 5.10.5
svn path=/trunk/boinc/; revision=12903
2007-06-12 10:25:35 +00:00
Rom Walton 286de0195a - Tag for 5.10.5 release, all platforms
boinc_core_release_5_10_5
    
    client/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=12898
2007-06-12 02:51:46 +00:00
David Anderson dd6ec58155 - Project initialization: create project home page
and schedulers.txt file in a way that will work
    with UMTS ISPs (which strip out comments)

html/user/
    sample_index.php
py/Boinc/
    setup_project.py

svn path=/trunk/boinc/; revision=12896
2007-06-11 22:19:02 +00:00
David Anderson e8d8a28e63 - client: enforce_schedule(): if try to preempt a
process that's not running, at least mark it as preempted.
    (this should never happen in principle)
- API: compile fix for Mac

api/
    graphics2_unix.C
client/
    cpu_sched.C

svn path=/trunk/boinc/; revision=12895
2007-06-11 21:56:56 +00:00
David Anderson 52c2fe8b33 - change new XML parser to handle XML comments (<!-- ... -->)
client/
		log_flags.C
	lib/
		parse.C,h

svn path=/trunk/boinc/; revision=12894
2007-06-11 21:30:26 +00:00
David Anderson 49d435913e - client: if statefile has an app version an unknown platform,
change it to the primary platform.
    The probably cause of this is that the user switched to
    a 64-bit client, then back to the 32-bit client.
    If we reject the app version, it would e.g. cause CPDN
    WUs to get aborted in the middle.
    
client/
    cs_statefile.C

svn path=/trunk/boinc/; revision=12893
2007-06-11 18:52:51 +00:00
Janus B. Kristensen 002454ac04 Added checks.php containing common code between the Bittorrent tracker and the scraping mechanism.
svn path=/trunk/boinc/; revision=12892
2007-06-11 18:43:25 +00:00
David Anderson b864f21274 - manager: fix bug in parsing of all-projects list
(caused Wizard list to be empty)
	- manager: change (web) to WWW

	client/
		acct_mgr.C
		cs_statefile.C
	clientgui/
		ProjectListCtrl.cpp
	lib/
		gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12891
2007-06-11 18:34:26 +00:00
Rom Walton 772c7e94b8 - Tag for 5.10.4 release, all platforms
boinc_core_release_5_10_4
    
    client/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=12877
2007-06-09 23:05:32 +00:00
David Anderson b8f257685b - client: fixed bug in prefs parsing
lib
		prefs.C

svn path=/trunk/boinc/; revision=12873
2007-06-09 15:01:10 +00:00
Charlie Fenton 594d9cb71d svn path=/trunk/boinc/; revision=12871 2007-06-09 11:42:49 +00:00
David Anderson 2f2757d4e9 - sched compile fix
sched/
    server_types.C

svn path=/trunk/boinc/; revision=12862
2007-06-08 23:01:25 +00:00
Rom Walton b6ed589826 - Tag for 5.10.3 release, all platforms
boinc_core_release_5_10_3
    
    client/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=12861
2007-06-08 22:11:57 +00:00
David Anderson e04f4acb57 - fix bugs introduced by recent XML changes
lib/
		gui_rpc_client_ops.C
		parse.C
		prefs.C

svn path=/trunk/boinc/; revision=12860
2007-06-08 15:56:23 +00:00
Rom Walton 9ad6f6af79 - fixes #237 - current BM fails to build with wxWidgets
unicode variant
      (Applied Frank Thomas's patch)
    
    clientgui/
        SkinManager.cpp

svn path=/trunk/boinc/; revision=12859
2007-06-08 15:49:37 +00:00
Charlie Fenton 489d106ef2 Mac: Add application icons to installer, uninstaller; add "are you sure?" dialog to uninstaller. Fix installer copyright and version strings.
svn path=/trunk/boinc/; revision=12854
2007-06-08 11:14:50 +00:00
David Anderson d2342fca77 svn path=/trunk/boinc/; revision=12852 2007-06-08 08:03:02 +00:00
David Anderson b4087e0e1b svn path=/trunk/boinc/; revision=12850 2007-06-08 07:55:27 +00:00
David Anderson 18c29a91ee - rename BOINC_DIAG_USEDEFALUTS (??) to BOINC_DIAG_DEFAULTS
api/
    boinc_api.C
lib/
    diagnostics.h

svn path=/trunk/boinc/; revision=12848
2007-06-08 07:38:17 +00:00
Rom Walton 80563bb429 - fixes #241: BOINC Manager should only display one of each
project, no mater how many time you switch to and from
        the page.

    clientgui/
        ProjectInfoPage.cpp, .h

svn path=/trunk/boinc/; revision=12847
2007-06-07 16:10:38 +00:00
Charlie Fenton 07de3b3e29 Mac: Update visible copyright date from 2006 to 2007.
svn path=/trunk/boinc/; revision=12846
2007-06-07 14:12:49 +00:00
Charlie Fenton b9e73c2379 Further work on BONC Mac uninstaller
svn path=/trunk/boinc/; revision=12843
2007-06-07 12:24:29 +00:00
Rom Walton 50d6ed1b94 - WinSETUP: The VBS custom action should delete the existing
VBS script in the various uninstall modes.

    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateVBSShortcut.cpp, .h
    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=12842
2007-06-07 12:15:05 +00:00
Charlie Fenton c160cccdb8 Mac: Define NDEBUG in all projects for all deployment builds.
svn path=/trunk/boinc/; revision=12841
2007-06-06 19:54:25 +00:00
Charlie Fenton 09677b69fa Mac: Fix a minor bug which caused an assert in backtrace code.
svn path=/trunk/boinc/; revision=12839
2007-06-06 19:31:13 +00:00
David Anderson c2a01e498e svn path=/trunk/boinc/; revision=12838 2007-06-06 18:55:35 +00:00
Janus B. Kristensen dc82c16373 Fixed a small display error on the pending credit page
svn path=/trunk/boinc/; revision=12837
2007-06-06 18:25:49 +00:00
Rom Walton db01d25150 - WinSETUP: The VBS custom action should delete the existing
VBS script when executing in uninstall mode.

    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateVBSShortcut.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=12835
2007-06-06 14:53:54 +00:00
David Anderson ad6c38f6d4 - new <platform> elements in get_project_config.php
confuse the client because their <name> element
    gets parsed as the project name.
    Work around by changing to <platform_name>.

Note: here (and everywhere else) if we get an unparsed XML tag
    we should skip to past the close tag.
    I'll put this in soon.
    
html/user/
    get_project_config.php

svn path=/trunk/boinc/; revision=12834
2007-06-06 14:10:28 +00:00
Charlie Fenton 071b9e9621 svn path=/trunk/boinc/; revision=12831 2007-06-06 11:46:45 +00:00
Charlie Fenton ebc331e331 Create BOINC uninstaller for Mac
svn path=/trunk/boinc/; revision=12830
2007-06-06 11:42:51 +00:00
Rom Walton d278aa111d - Tag for 5.10.2 release, all platforms
boinc_core_release_5_10_2
    
    client/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=12824
2007-06-05 19:46:26 +00:00
Rom Walton e29f018f66 - MGR: Bug Fix for suspend/resume operations not updating
in the UI after the user selected operation.
        
    lib/
        gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12823
2007-06-05 17:27:39 +00:00
Rom Walton ed7d42a878 - Tag for 5.10.1 release, all platforms
boinc_core_release_5_10_1
    
    client/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=12819
2007-06-05 03:13:21 +00:00
Rom Walton d324b66da2 - fixes #221: Win64 - attach/syncronice AMS crash Manager.
The manager was getting stuck in an infinite loop since a
      bool wasn't being explicitly initialized to false.
      
    clientgui/
        AccountManagerProcessingPage.cpp

svn path=/trunk/boinc/; revision=12816
2007-06-05 00:51:05 +00:00
David Anderson 601403d9aa - Client (Unix) show process exit codes as negative numbers also
(e.g., to show BOINC error codes correctly)
- get_project_config.php: add an element that lists the
    platforms supported by this project
    (i.e. for which there's a non-deprecated app version)
    Cache this info in a file (cache/platform_list.xml)
    so that it will be available even when the project's DB is down.
- Rename sample_get_project_config.php to get_project_config.php;
    a project should no longer need its own version of this file.
    Change setup_project accordingly.

client/
    app_control.C
html/user/
    get_project_config.php (new)
    sample_get_project_config.php (removed)
py/Boinc/
    setup_project.py

svn path=/trunk/boinc/; revision=12814
2007-06-04 20:32:47 +00:00
Rytis Slatkevičius bcf948a03d user web: add a separate preference for private message notification emails.
'''NOTE: needs DB update, see html/ops/db_update.php'''

(Fix #167)

svn path=/trunk/boinc/; revision=12813
2007-06-04 19:35:11 +00:00
David Anderson addb4870d2 svn path=/trunk/boinc/; revision=12809 2007-06-03 20:23:17 +00:00
David Anderson ed84cca6d6 - client: fix inconsistent integer benchmarks on Windows
with multicore machines.  I don't know why this happened,
        but I fixed it by doing integer benchmarks only on CPU zero.
        This is OK since cores have separate integer units
        (but not necessarily FP units)

    client/
        cs_benchmark.C

svn path=/trunk/boinc/; revision=12808
2007-06-03 20:13:38 +00:00
David Anderson 610d4cfa77 - client: allow suspension of non-CPU-intensive project or app
(undoes checkin of 25 Jan 2005; I don't remember why we
    made that change.  Next time put in checkin notes!)
- client: Linux: show error msg if can't open /proc/cpuinfo
    or /proc/meminfo; set memory size of 1 GB in latter case.
    Remove duplicate code that read /proc/meminfo
- 'start' script; handle <disabled>0</disable> in tasks and daemon
    elements of config.xml (can't handle <disable/>, however).
    
client/
    gui_rpc_server_ops.C
    hostinfo_unix.C
sched/
    feeder.C
    start

svn path=/trunk/boinc/; revision=12807
2007-06-03 19:37:45 +00:00
David Anderson c02a7d30fe - client: a few more network_status_debug messages
client/
		client_state.C
		net_stats.C

svn path=/trunk/boinc/; revision=12805
2007-06-01 22:55:00 +00:00
David Anderson 60f3e05410 - Get memory measurements to work on Win64.
The format of a process descriptor had changed a little,
        and the format of the VM stats part was completely changed.
        I had to reverse engineer it - very unpleasant.

    lib/
        diagnostics_sin.h
        procinfo.h

svn path=/trunk/boinc/; revision=12804
2007-06-01 22:34:47 +00:00
Rom Walton 12bad5f2bc - WinSETUP: Add an exception handler to the VBS script so if the
user cancels the launch of BOINC Manager at startup the script
        itself doesn't throw an error message.

    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateVBSShortcut.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=12799
2007-06-01 15:36:09 +00:00
Rom Walton f5f354910c - MGR: Get rid of an exit(0) call since it is evil in Windows
programs.

    clientgui/
        MainDocument.cpp

svn path=/trunk/boinc/; revision=12793
2007-05-31 18:16:40 +00:00
David Anderson 2fa5db2775 - scheduler: move HR check to wu_is_infeasible()
In principle, a project can now use both
    locality scheduling and homogeneous redundancy.
- scheduler: do HR check before deadline check,
    since the latter is slower.
- scheduler: wu_is_infeasible() doesn't return a bitmap.
    Change its return values to sequential numbers.
- scheduler: ignore <accelerator> and <p_capabilities> tags

sched/
    sched_send.C,h
    sched_array.C
    sched_locality.C
    server_types.C

svn path=/trunk/boinc/; revision=12791
2007-05-31 18:14:45 +00:00
Rom Walton 030ee981b6 - MGR: Make sure get_cc_status is called only once a second.
Polling should be taken care of via MainDocument functions
        to make sure that RPCs calls do not become excessive.
        
    clientgui/
        AccountManagerPropertiesPage.cpp
        BOINCDialupManager.cpp
        ProjectPropertiesPage.cpp

svn path=/trunk/boinc/; revision=12790
2007-05-31 18:02:53 +00:00
Charlie Fenton 65098dae85 Fix compiler warning
svn path=/trunk/boinc/; revision=12788
2007-05-31 08:33:17 +00:00
David Anderson 6eacc21409 - scheduler: add debugging msg for HR reject
sched/
    sched_hr.C,h
    sched_array.C

svn path=/trunk/boinc/; revision=12787
2007-05-30 22:10:57 +00:00
David Anderson 0c3e0e90fc - add token protection to the previous checkin;
for prefs edit, don't demand token if only showing form.
    (opt_out.php doesn't supply tokens)

html/user/
    prefs_edit.php
    merge_by_name.php

svn path=/trunk/boinc/; revision=12786
2007-05-30 21:35:14 +00:00
David Anderson f2fd5da3ff - user web: added new feature to merge hosts by name.
This is handy if you have a lot of hosts,
    and every now and then they get a new host ID
    (e.g. because you delete and reinstall BOINC).
    You can now merge all of them with a single click.
    
html/
    inc/
        host.inc
    user/
        host_edit_action.php
        merge_by_name.php (new)
        hosts_user.php

svn path=/trunk/boinc/; revision=12785
2007-05-30 20:30:28 +00:00
David Anderson 88860ed316 - user web: fix bug in host merge function
- core client: fix bug in set_debt() GUI RPC
- scheduler: some of the "quick checks" in scan_work_array()
    are applicable to locality scheduling also,
    so they should be moved to wu_is_infeasible().
    I did this for one: the check for one result
    per user (or host) per WU.  Should do for others.
    
client/
    gui_rpc_server_ops.C
html/
    host_edit_action.php
    host_edit_form.php
sched/
    sched_array.C
    sched_send.C,h

svn path=/trunk/boinc/; revision=12784
2007-05-30 17:25:51 +00:00
David Anderson e39f7641b6 - fixed --help output of client and boinc_cmd
(from Frank Thomas)
    Fixes #222
    
lib/
    boinc_cmd.C
client/
    cs_cmdline.C

svn path=/trunk/boinc/; revision=12783
2007-05-30 14:40:59 +00:00
Rom Walton 9b52252a35 - MGR: _() is for static content, wxGetTranslation is for dynamic
content.
        
    clientgui/
        sg_StatImageLoader.cpp

svn path=/trunk/boinc/; revision=12782
2007-05-30 14:04:10 +00:00
Charlie Fenton ed808f4698 svn path=/trunk/boinc/; revision=12777 2007-05-30 09:51:19 +00:00
Rom Walton 71643c46e4 - fixes #220: 5.10.0 won't install on Win98
- fixes #11: Installer installs autostart command when not
        selected (Win9x)

    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        boinccas95.vcproj
        CACreateVBSShortcut.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=12774
2007-05-30 03:48:08 +00:00
David Anderson d673440faf - Scheduler: increased the resolution of homogeneous redundancy (HR)
e.g. distinguish between models of Intel and AMD
- Scheduler: add a quick HR check that doesn't access the DB
- Transitioner: if a workunit has >0 error results and no success results,
    set its HR class to zero
From M.F. Somers.

db/
    boinc_db.C,h
sched/
    sched_array.C
    sched_hr.C,h
    transitioner.C

svn path=/trunk/boinc/; revision=12773
2007-05-29 23:41:31 +00:00
David Anderson 1e7e58875a - client: add cmdline options --exit_before_start and --exit_after_finish.
This cause the core client to exit immediately before or after
    running a job,
    letting you examine the contents of the slot directory.
- scheduler: changed max # of CPUs used in daily_result_quota
    limit from 4 to 8, and make it a compile-time parameter
- feeder/scheduler: make the number of work items in shared
    memory configurable (in config.xml).
    The element is <shmem_work_items>
- feeder: make the size of the work item query configurable
    (<feeder_query_size)
- feeder: remove code related to removing infeasible results
    from shared mem.
    This mechanism was never needed,
    and I think a timeout would accomplish the same effect.

client/
    app.C
    app_start.C
    client_state.C,h
    cs_cmdline.C
sched/
    feeder.C
    sched_array.C
    sched_config.C,h
    sched_send.C
    sched_shmem.C,h
    sched_util.C
    show_shmem.C

svn path=/trunk/boinc/; revision=12771
2007-05-29 21:45:01 +00:00
Rom Walton 4fe936a888 - Tag for 5.10.0 release, all platforms
boinc_core_release_5_10_0
    
    client/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=12766
2007-05-29 16:26:42 +00:00
Rom Walton 4899fb2b0f - Disable HtmlEntityEncode/HtmlEntityDecode on all platforms but
Windows for now.
    - Change all references of mb_str() to c_str() in SkinManager.cpp
        to avoid SIGILL's on Unicode environments.
    - fixes #215: Customize the VBS script used to launch BOINC Manager
        for each system we install on.

    clientgui/
        BOINCBaseView.cpp
        SkinManager.cpp
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism
    win_build/installerv2/redist/Windows/
        BOINC Manager.vbs (Deleted)
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.sln
        boinccas95.vcproj
        CACreateVBSShortcut.cpp, .h (Added)
    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=12764
2007-05-29 16:16:33 +00:00
Rom Walton 5229fc3112 - fixes #207 - HTML entities in BOINC Manager have to be decoded
BOINC Manager can now properly decode HTML entites for the
        following elements:
        
            Projects Tab:
                Project Name
                User Name
                Team Name
            Work Tab:
                Project Name
                Application Name
            Transfers Tab:
                Project Name
            Messages Tab:
                Project Name
            Disk Tab:
                Project Name
    - fixes #212 - Info in columns misaligned on switching views
    - Properly restore which tab view the user left from when going
        to the advanced view from the simple view
    - Fix the problem that caused the manager to wait for 7 seconds
        to display anything on initial startup.
    - Store the various Grid/List persisted data seperately so that
        the different header sizes don't cause problems.
    
    clientgui/
        AdvancedFrame.cpp
        BOINCBaseView.cpp, .h
        BOINCGridCtrl.cpp
        ViewMessages.cpp, .h
        ViewMessagesGrid.cpp, .h
        ViewProjects.cpp, .h
        ViewProjectsGrid.cpp, .h
        ViewResources.cpp, .h
        ViewStatistics.cpp, .h
        ViewTransfers.cpp, .h
        ViewTransfersGrid.cpp, .h
        ViewWork.cpp, .h
        ViewWorkGrid.cpp, .h
    lib/
        gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12761
2007-05-29 05:07:35 +00:00
David Anderson c4069d8097 - user web: host-merging logic was wrong for Intel CPUs
with MHz instead of GHz in their names.
- user web: it no hosts eligible for merging, say so
    instead of showing blank table
    
html/
    inc/
        host.inc
    user/
        host_edit_form.php

svn path=/trunk/boinc/; revision=12760
2007-05-29 04:38:54 +00:00
David Anderson 588a4ab398 - Unix: 'make install' copies certificate authority file
to client directory

client/
    Makefile.am

svn path=/trunk/boinc/; revision=12757
2007-05-28 16:27:21 +00:00
Rytis Slatkevičius 670bbd92d7 Donations system (running via PayPal).
Implements #211.
NOTE: DB updated needed. Documented in http://boinc.berkeley.edu/trac/wiki/PayPalDonations

svn path=/trunk/boinc/; revision=12754
2007-05-27 17:33:06 +00:00
David Anderson 6ea27e8787 - Manager: make some strings translatable, and fix them
clientgui/
    sg_StatImageLoader.cpp
    sg_ProjectsComponent.cpp
    sg_ViewTabPage.cpp
    DlgAdvPreferences Base.cpp

svn path=/trunk/boinc/; revision=12753
2007-05-27 13:57:46 +00:00