Commit Graph

7028 Commits

Author SHA1 Message Date
Bernd Machenschalk 097a70d308 <cstdio> is a C++ haeder - moved it to __cplusplus section (lib/filesys.h)
svn path=/trunk/boinc/; revision=18044
2009-05-07 14:25:05 +00:00
David Anderson 12eb6057e5 - client, Mac: don't do res_init(). It causes a crash.
- client (Unix): if client crashes while benchmark processes are going,
    make sure they detect this and exit.
- back-end programs: remove hardwired assumptions about
    what directory they run in, and hence where config.xml is.
    E.g., daemons look for it in "..", others expect it in current dir.
    New approach: all the programs look for the project dir as follows:
    1) the environment var BOINC_PROJECT_DIR, if defined
    2) the current dir, if config.xml is there.
    3) else ".."
    This means you can run programs in either proj/bin/ or proj/,
    or (using BOINC_PROJECT_DIR) you can keep executables
    outside of the project dir.


svn path=/trunk/boinc/; revision=18042
2009-05-07 13:54:51 +00:00
David Anderson 6262401394 - feeder: add -appids option: lets you specify which apps to
get jobs for (default it all).
    Useful if you're mixing locality and regular scheduling.
- a little E@h-specific stuff
From Bernd Machenschalk.


svn path=/trunk/boinc/; revision=18039
2009-05-06 21:52:50 +00:00
David Anderson 5198ad31d9 - client: write message (and show new config info) when config file reread
- client: improve cpu_sched_debug messages
- web translation: code wasn't handling multi-line tokens

svn path=/trunk/boinc/; revision=18028
2009-05-06 09:49:46 +00:00
Charlie Fenton b9ec2afddb MGR: Add comments and slightly reorder code for clarity
svn path=/trunk/boinc/; revision=18022
2009-05-06 01:36:47 +00:00
Charlie Fenton bb412f79ae wxWidgets build script patches wxMac-2.8.10/src/mac/carbon/thread.cpp to fix a problem.
svn path=/trunk/boinc/; revision=18021
2009-05-06 01:34:30 +00:00
Rom Walton edef29d05a - It appears Pootle is looking for a comment line ahead of
each message to translate, if it doesn't have some form
        of comment it skips over it.
        
    doc/
        build_po.php

svn path=/trunk/boinc/; revision=18017
2009-05-05 20:40:54 +00:00
David Anderson 18b5362c1d - Change Makefiles to use "$(LN) foo ." instead of "ln foo"
svn path=/trunk/boinc/; revision=18003
2009-05-05 09:16:57 +00:00
David Anderson e8a0cb3742 - client: enforce_schedule() wasn't starting GPU jobs
svn path=/trunk/boinc/; revision=18002
2009-05-05 08:56:56 +00:00
David Anderson f9222339e9 - client: simplify enforce_schedule(), and maybe fix bugs.
New approach: take the "ordered_schedule_results" list,
    add running jobs that haven't finished their time slice,
    and order the result appropriately.
    Then run jobs in order until CPUs are filled.
    Simpler and clearer than the old way.


svn path=/trunk/boinc/; revision=17992
2009-05-04 19:55:59 +00:00
David Anderson e84b1f189e - client: view 2 GPUs as equivalent if their memory differs by <30%.
(maybe their memory differed slightly from the most capable one)

svn path=/trunk/boinc/; revision=17987
2009-05-04 02:22:25 +00:00
Rytis Slatkevičius c03815e614 user web: add a hook project_user_links() to user_links() to easily extend user links (very useful for adding project badges).
svn path=/trunk/boinc/; revision=17985
2009-05-03 19:17:20 +00:00
David Anderson ad6a61a3a6 - sample bitwise validator: make it work for binary files
fixes #886, #887

svn path=/trunk/boinc/; revision=17966
2009-05-01 18:25:17 +00:00
David Anderson c2710be9f9 - removed outdated translation files; updated template
svn path=/trunk/boinc/; revision=17962
2009-05-01 17:05:12 +00:00
Rom Walton c6b4bcdbee - MGR: Turn GetViewName into the unlocalized version of the view
name, so the configuration group name is consistant across
        all languages and does not cause conversion issues on
        different platforms where the configuration information
        is treated differently when compiled Unicode vs. ANSI.
        
    clientgui/
        ViewMessages.cpp
        ViewNews.cpp
        ViewProjects.cpp
        ViewResources.cpp
        ViewStatistics.cpp
        ViewTransfers.cpp
        ViewWork.cpp

svn path=/trunk/boinc/; revision=17955
2009-05-01 01:32:26 +00:00
David Anderson fba2e5ee3d - Changes to get the client to build on IRIX:
don't use the variable name "sgi";
    include <xxx.h> instead of <cxxx>; the latter just adds
    overloaded functions that we avoid.

svn path=/trunk/boinc/; revision=17954
2009-04-30 21:48:20 +00:00
David Anderson 323fdc0e21 - DB code: fixed three places where we accessed a MYSQL_ROW
after freeing the MYSQL_RES it came from.
    (this didn't appear to cause any problems, but not good form).
    Fixes #883

svn path=/trunk/boinc/; revision=17904
2009-04-28 19:20:23 +00:00
David Anderson e3a730c334 - client: add <use_all_gpus> config option. If set, use GPUs
even if they're not equivalent to the most capable one.
- Validator: fix one_pass_N_WU option.

svn path=/trunk/boinc/; revision=17896
2009-04-27 23:51:46 +00:00
David Anderson 07dcdb6d4d - client: show message when user does a project or task op
(suspend, resume, update, etc.)

svn path=/trunk/boinc/; revision=17885
2009-04-27 16:56:19 +00:00
David Anderson f49e21d02c svn path=/trunk/boinc/; revision=17882 2009-04-27 14:55:31 +00:00
David Anderson 979f27d000 - team import: error out if account creation disabled
svn path=/trunk/boinc/; revision=17880
2009-04-27 03:53:47 +00:00
David Anderson c883214eb9 - fix typo in compare_cuda()
svn path=/trunk/boinc/; revision=17876
2009-04-24 14:20:02 +00:00
David Anderson 3cb983f1c5 - client: tweak to 4/21 checkin.
After finding the "most capable" GPU,
    ignore FLOPS in deciding what GPUs are equivalent to it.
    This opens up the possibility that the client will get jobs
    that it won't be able to finish in time.
    But it still avoids getting jobs that will crash.

svn path=/trunk/boinc/; revision=17875
2009-04-24 10:56:35 +00:00
David Anderson 08aeba56ac - client: message tweak
- ops: don't import teams if using invitation codes

svn path=/trunk/boinc/; revision=17874
2009-04-24 10:49:54 +00:00
Rom Walton 9a3dfb1273 - WINBUILD: More project file cleanup.
- WINBUILD: Move wxWidgets include directives from the
        FlatNotebook to the pre-compiled header. Try and avoid
        a compilation problems when two different sets of
        wxWidgets build environments are on the system and have
        been setup differently.
        
    clientgui/common/
        wxFNBDropTarget.h
    clientgui/
        stdwx.h
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=17861
2009-04-23 07:00:10 +00:00
David Anderson 74e8911f44 - client: When a preemptable task wasn't preempted
(e.g. because it hadn't finished its time slice)
		we were failing to mark it as scheduled.

svn path=/trunk/boinc/; revision=17860
2009-04-23 06:44:46 +00:00
Rom Walton 28c72cab79 - WIN: First pass through the code to fix compliation errors when
building in a Unicode enabled environment.
        
        NOTE: For files that are shared between the core client and
          the manager, it was simpliar to just call the ANSI versions
          of the specific Windows API functions then to monkey with
          all of the string handling code and convert between ANSI
          and UCS-2 strings.  CreateFile becomes CreateFileA instead
          of the default of CreateFileW.
          
        Down to 11 compile time errors from over 100.

    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp
        browser.cpp
        browser.h
        sg_StatImageLoader.cpp
    lib/
        boinc_win.h
        diagnostics_win.cpp
        filesys.cpp
        gui_rpc_client_ops.cpp
        proc_control.cpp
        stackwalker_imports.h
        stackwalker_win.cpp
        str_util.cpp
        util.cpp
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=17859
2009-04-23 03:40:49 +00:00
Rom Walton 08268e1efb - WINBUILD: More project file fixes
- WINBUILD: Create a new configuration for building the Unicode
        version of the BOINC Manager.
        
    win_build
        boinc_cli_curl.vcproj
        boinc_dll.vcproj
        boinc_ss.vcproj
        boinccmd.vcproj
        boincmgr_curl.vcproj
        boincsvcctrl.vcproj
        boinctray.vcproj
        libboinc.vcproj
        libboinc_staticcrt.vcproj
        sim.vcproj
        ss_app.vcproj
        updater.vcproj

svn path=/trunk/boinc/; revision=17858
2009-04-22 21:09:17 +00:00
David Anderson f9e1c98921 - client: fix crash bug in CUDA init
svn path=/trunk/boinc/; revision=17856
2009-04-22 03:59:39 +00:00
David Anderson 5adb25381d - client: new approach to handling multiple GPUs.
old: find fastest GPU, and pretend that others are the same.
            Problem: other GPUs might be less capable,
            and not able to handle jobs sent by server.
        new: find the most "capable" GPU, use others that are equivalent,
            don't use those that are not.
            "Capable" is defined by
            - compute capability (i.e., hardware version)
            - driver version
            - memory size
            - FLOPs
            in that priority order.
        See comments in lib/coproc.h

svn path=/trunk/boinc/; revision=17855
2009-04-22 02:09:53 +00:00
Rom Walton a0de192e63 - WINBUILD: Update Project files for new layout.
win_build/
        boinc_cli_curl.vcproj
        boinc_dll.vcproj
        boinc_setup.vdproj (Deleted)
        boinc_setup_auto.vdproj (Deleted)
        boinc_ss.vcproj
        boinccmd.vcproj
        boincmgr_curl.vcproj
        boincsvcctrl.vcproj
        boinctray.vcproj
        gr_boinc_cli_curl.vcproj (Deleted)
        gr_boinc_dll.vcproj (Deleted)
        gr_boinc_ss.vcproj (Deleted)
        gr_boinccmd.vcproj (Deleted)
        gr_boincmgr_curl.vcproj (Deleted)
        GridRepublic.sln (Deleted)
        libboinc.vcproj
        libboinc_staticcrt.vcproj
        sim.vcproj
        ss_app.vcproj
        updater.vcproj

svn path=/trunk/boinc/; revision=17853
2009-04-21 21:08:30 +00:00
David Anderson 90f863f08c - partial checkin so I can edit locally (bad network connection)
svn path=/trunk/boinc/; revision=17852
2009-04-21 08:11:28 +00:00
David Anderson 5c23fb9f2a - db_purge: improve error-checking; if we're failing to write archives,
quit immediately so that we don't delete unarchived DB records

svn path=/trunk/boinc/; revision=17851
2009-04-21 03:25:26 +00:00
David Anderson 372b2a61c7 - web: swap positions of reply/delete buttons in private message display
svn path=/trunk/boinc/; revision=17850
2009-04-21 01:03:48 +00:00
David Anderson c58136e5bf - client: improve CPU sched debug messages
(say what kind of job and why we're scheduling it)
- client: log messages describing GPUs: one line per GPU; fixes #879

svn path=/trunk/boinc/; revision=17847
2009-04-20 00:00:11 +00:00
Charlie Fenton b6c4e01b80 MGR: Put keyboard shortcuts CTRL+SHIFT+S and CTRL+SHIFT+A in View Menu so their functionality is not hidden
svn path=/trunk/boinc/; revision=17846
2009-04-18 11:52:48 +00:00
Charlie Fenton 287806e4b0 Mac MGR: Changes to build with full Unicode support with wxWidgets-2.8.10
svn path=/trunk/boinc/; revision=17844
2009-04-17 11:28:27 +00:00
David Anderson e46d8c6e63 - client: if detach a project, adjust debts and trigger
CPU sched and work fetch

svn path=/trunk/boinc/; revision=17843
2009-04-17 06:12:41 +00:00
David Anderson 0b11a548dc - upgrade script: do DB update even if stop_web is present,
rather than spewing an HTML error message.
    Fixes #875


svn path=/trunk/boinc/; revision=17839
2009-04-17 02:08:05 +00:00
David Anderson 217b1a6086 - client: another try at fixing the above crash
- web: don't show plan class in separate column in apps list; fixes #874

svn path=/trunk/boinc/; revision=17838
2009-04-17 01:22:38 +00:00
David Anderson 20adddc862 - client: fixed a crash caused by using %f to write
working-set size into a fixed-size buffer.
    Use %e instead.
    TODO: figure out why WSS was huge.
- web: if "en" is primary language, don't read translation files

svn path=/trunk/boinc/; revision=17831
2009-04-16 09:01:41 +00:00
Charlie Fenton 3e9bd55a81 Mac MGR: Add keyboard shortcuts command-shift-S, command-shift-A to switch views
svn path=/trunk/boinc/; revision=17826
2009-04-16 00:30:42 +00:00
Rom Walton ef77861b60 - Add ICU to the BOINC depends list. It is needed for
SQLLite3 which will be needed for reading Firefox
        3.x cookies.
        
    icu/
        <Various Files>

svn path=/trunk/boinc/; revision=17824
2009-04-15 21:48:59 +00:00
David Anderson 2a4a81f035 - web: update black.css
svn path=/trunk/boinc/; revision=17823
2009-04-15 21:28:28 +00:00
David Anderson 81f78a0951 svn path=/trunk/boinc/; revision=17822 2009-04-15 21:20:40 +00:00
David Anderson 31b929ed67 - Unix build: make it work if "diff" is missing (??)
from Michael Tughan

svn path=/trunk/boinc/; revision=17821
2009-04-15 20:46:12 +00:00
David Anderson fb70908040 svn path=/trunk/boinc/; revision=17820 2009-04-15 20:12:19 +00:00
David Anderson 04fd1e4800 - web: improve the appearance of buttons
- web: divide the stylesheet into "main.css"
    (which has formatting stuff, rounded corners etc.)
    and "white.css" (which has colors).
    The above two from Simek.
- scheduler: change default min NVIDIA driver version
    from 17500 to 17700

svn path=/trunk/boinc/; revision=17819
2009-04-15 20:09:42 +00:00
Rom Walton 7b71257eb0 - Fix compiler errors
( From: Sascha Manns )
      
    client/
        hostinfo_unix.cpp
    clientgui/
        DlgAdvPreferences.cpp

svn path=/trunk/boinc/; revision=17817
2009-04-15 16:28:24 +00:00
Charlie Fenton c05e303e58 SS: launch default screensaver graphics app as user and group boinc_project, not boinc_master
svn path=/trunk/boinc/; revision=17815
2009-04-15 08:28:51 +00:00