Commit Graph

1112 Commits

Author SHA1 Message Date
David Anderson 5a9d11898b - API: compile fix
svn path=/trunk/boinc/; revision=15202
2008-05-14 20:30:56 +00:00
David Anderson e6a5d0cbfb - scheduler: add new log flags debug_edf_sim_workload, debug_edf_sim_details
for getting info on EDF simulation;
    change output from seconds to hours
- API: remove extern "C" from graphics API
    (convince me it's needed before restoring)

svn path=/trunk/boinc/; revision=15148
2008-05-08 17:48:40 +00:00
Eric J. Korpela 8b72dc9370 - Added implementation of setenv() for systems without it.
- Fixed bug in x_opengl.C.  On systems where putenv() adds the string to
      the environment rather than copies it, the environment would end up
      containing a random peice of the stack where the DISPLAY variable had
      been temporarily stored.



svn path=/trunk/boinc/; revision=15134
2008-05-06 17:10:44 +00:00
Charlie Fenton 72df062b6c implement Mac CUDA detection; fix compiler errors and warnings; change boinc_cmd to boinccmd/
svn path=/trunk/boinc/; revision=15111
2008-05-01 09:25:51 +00:00
Rom Walton 7da4959dff - API: Fix build break from my last check-in.
api/
        graphics2_unix.C
        graphics2_win.C

svn path=/trunk/boinc/; revision=15108
2008-04-30 19:27:24 +00:00
Rom Walton 4ee6262ca7 - API: If the diagnostics framework hasn't been initialized for
the graphics application, initialize it.
        
    api/
        graphics2_unix.C
        graphics2_win.C

svn path=/trunk/boinc/; revision=15106
2008-04-30 05:50:10 +00:00
Charlie Fenton 291a192efe Graphics API: Add boinc_close_window_and_quit() API to UNIX / Mac lib.
svn path=/trunk/boinc/; revision=15004
2008-04-02 05:45:19 +00:00
Eric J. Korpela 51e24737bd - Build fixes for non-Win32, non-Linux, non-MacOS systems.
- configure script:
        - Added checks for functions strdup(), strdupa(),
            daemon(), stat64(), strcasestr()
        - Fixed problems with kc_mysql.m4 and wxWidgets.m4 returning
            invalid CFLAGS and LIBS flags.
        - Fixed incorrect order of pthread flag checking on solaris.
    - New files: lib/unix_util.[Ch].  Currently contains implementation of
        daemon() for systems that lack it.
    - Access to binary files in /proc was failing on some systems when compiled
        with 64 bit file access.  Rearranged headers and defines to force 32bit
        file access in hostinfo_unix.C
    - all_tty_idle() didn't work as advertised on any system as far as I can
        tell.  I rewrote it to check ttys that are not named /dev/tty[1-9].
        The old implementation was modifying a statically allocated read-only
        string, (and crashing on some systems) anyway.
    - added implementation of non-standard function strcasestr() to str_util.C
    - added #define of MAP_FILE to shmem.C, because it is missing from most
        unix systems, (and is unnecessary on linux anyway).
    - other minor bug fixes.


svn path=/trunk/boinc/; revision=14996
2008-04-01 21:44:12 +00:00
David Anderson 06c1d1392f - graphics API: add a boinc_close_window_and_quit() function
svn path=/trunk/boinc/; revision=14987
2008-03-31 17:03:00 +00:00
David Anderson aa130ff063 svn path=/trunk/boinc/; revision=14983 2008-03-29 22:07:50 +00:00
David Anderson b91809d3c4 - try to get API to compile on Cygwin
svn path=/trunk/boinc/; revision=14982
2008-03-29 21:53:45 +00:00
David Anderson 13400c9516 Changes for multithread app support:
- update_versions: use __ (not :) as separator for plan class
- client: add plan_class to APP_VERSION;
    an app version is now identified by platform/version/plan_class
- client CPU scheduler: don't assume apps use 1 CPU
- client: add avg_ncpus, max_cpus, flops, cmdline to RESULT
- scheduler: implement app planning scheme

Other changes:

- client: if symlink() fails, make a XML soft link instead
    (for Unix running off a FAT32 FS)
- client: don't accept nonpositive resource share from AMS
- daemons and DB: check for error returns from enumerations,
    and exit if so.  Thus, if the MySQL server goes down,
    all the daemons will soon exit.
    The cron script will restart them every 5 min,
    so when the DB server comes back up so will the project.
- web: show empty max CPU % as ---
- API: get rid of all_threads_cpu_time option (always the case now)


svn path=/trunk/boinc/; revision=14966
2008-03-27 18:25:29 +00:00
Reinhard Prix ebcbbb657e fixed internal library dependencies in Makefile.am's
svn path=/trunk/boinc/; revision=14918
2008-03-15 03:26:14 +00:00
Rom Walton 169eb876a7 - API: Attempt to use the 'Global' tag first, if the API
returns an ERROR_ACCESS_DENIED error code fallback
        to the original shmem_name.
        
    api/
        graphics2_util.C
    lib/
        shmem.C

svn path=/trunk/boinc/; revision=14911
2008-03-14 02:41:56 +00:00
Charlie Fenton 3c5d7ada20 MGR: Fix flicker in projects tab website buttons. API: fix a compiler warning which was an actual logic error.
svn path=/trunk/boinc/; revision=14909
2008-03-14 00:41:14 +00:00
Rom Walton ec1082130a - API: Include 'Global\' in the shared memory segment name for worker and
graphics applications so that the memory can be shared across terminal
        server sessions.
    - API: Add some trace messages to window creation and shutdown events, it
        is all logged to stderr.
    - API: Add some trace messages for loading graphic files.
    - API: Add some trace messages for loading font files.
    - API: There can be only one hInstance and it is assigned to the app at
        startup via winmain(). Use it throughout the graphics2 impl.
    - CC: Use the service security token to startup worker applications.
    - MGR: Use the interactive security token to startup graphics
        applications.
    - LIB: Create two different logon methods, one for logging on interactively
        (graphics applications) and one for services (worker application).

    api/
        graphics2_util.C
        graphics2_win.C
        gutil.C
        txf_util.C
    client/
        app_start.C
    lib/
        proc_control.C, .h
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=14905
2008-03-13 21:18:04 +00:00
David Anderson e227059121 - Makefile for MinGW
svn path=/trunk/boinc/; revision=14883
2008-03-10 23:12:39 +00:00
David Anderson 95772cba77 - removed boinc_ncpus_available() and boinc_nthreads() calls.
The design has been changed to constant #threads per app version
    Various changes from Kevin Reed/WCG:
    - server: add workunit.rsc_bandwidth_bound: if nonzero,
        send this WU only to hosts with that much download bandwidth
    - assimilators: if a handler returns DEFER_ASSIMILATION,
        the WU remains in INIT state and will be handled when the
        next instance completes.
        Useful if you want the assimilator to see all instances.
    - scheduler: when setting result.outcome = DETACHED,
        set received_time to now
    - scheduler: removed the reliable_time and reliable_min_avg_credit
        options
    - scheduler/web: add optional <allow_non_preferred_projects>
        in project preferences.
        If present, user will accept work from non-selected apps
        if no work is available for selected apps
    - scheduler: improved messages for projects with multiple apps
    - scheduler: added config options
        <granted_credit_weight> and <granted_credit_ramp_up>.
        Used in calculating host.claimed_credit_per_cpu_sec,
        but I'm not sure how.
    - Added two new credit-granting formulas (validate_util.C):
        stddev_credit() and two_credit()
    - server DB: add rollback_transaction() and affected_rows() to DB_CONN

    NOTE: DB update required

svn path=/trunk/boinc/; revision=14870
2008-03-07 21:13:01 +00:00
Eric J. Korpela bd55372ebe Matched functions linkage in api/graphics2.h to those in api/graphics_api.h
svn path=/trunk/boinc/; revision=14849
2008-03-05 22:02:48 +00:00
David Anderson c8384113e4 - changes to many files to fix gcc4.3 compile
svn path=/trunk/boinc/; revision=14811
2008-02-27 23:26:38 +00:00
Charlie Fenton 3a19ffb623 Fixes for V6 graphics.
svn path=/trunk/boinc/; revision=14768
2008-02-21 10:50:59 +00:00
David Anderson 54519a4ee1 - Server: add "job assignment" feature.
Lets you assign a WU to a particular host,
    to one or all hosts belonging to a user or team, or to all hosts.
    See http://boinc.berkeley.edu/trac/wiki/AssignedWork
    Disabled unless you include <enable_assignment> in config.xml
    Uses a new DB table.
    Tested but only a little.
- Server: code cleanup; moved result-handling to a new file,
    and removed the PLATFORM_LIST arg to everything
    (put it in SCHEDULER_REQUEST instead)

svn path=/trunk/boinc/; revision=14767
2008-02-21 00:47:50 +00:00
Eric J. Korpela d1ff41df4d Added reduce_main.C to libboinapi
svn path=/trunk/boinc/; revision=14736
2008-02-13 19:20:34 +00:00
David Anderson 54dc8c531a - API: critical section begin/end calls can be nested
Fixes #508 (from Nicolas)

svn path=/trunk/boinc/; revision=14694
2008-02-06 20:39:10 +00:00
David Anderson a1664cc070 - scheduler: simplified Carl's checkin (avoid virtual destructors)
- API: small tweak for standalone

svn path=/trunk/boinc/; revision=14679
2008-02-05 21:26:43 +00:00
David Anderson 5efd1cf38a - graphics API: default max graphics CPU fraction is 0.2
(see accompanying changes in example app;
    app should parse project-specific prefs)

svn path=/trunk/boinc/; revision=14635
2008-01-29 19:51:26 +00:00
David Anderson f682236bd9 - API: fix Win build error
- API: fix Makefile.am
- add LGPL license on some files

svn path=/trunk/boinc/; revision=14629
2008-01-28 22:42:05 +00:00
David Anderson ebed572d4f - API: allow Win apps to have icon
svn path=/trunk/boinc/; revision=14625
2008-01-28 15:48:09 +00:00
Charlie Fenton 783e2f7773 GFX API: Fix to makefile for Macintosh (from Bernd Machenschalk).
svn path=/trunk/boinc/; revision=14614
2008-01-24 01:06:55 +00:00
Charlie Fenton ecd584b4a1 GFX API: Fix to makefile for Macintosh (from Bernd Machenschalk).
svn path=/trunk/boinc/; revision=14613
2008-01-23 20:26:09 +00:00
Charlie Fenton 0a80a0c3e3 GFX API: change args passed to GlutInit() to be as specified in the man page.
svn path=/trunk/boinc/; revision=14604
2008-01-20 00:02:19 +00:00
Charlie Fenton dd2211f1f6 GFX API: change args passed to GlutInit() to be original unmodified args which were passed to the application, as specified in the man page
svn path=/trunk/boinc/; revision=14602
2008-01-19 04:11:20 +00:00
Charlie Fenton 34082218bf API: fix compiler warning.
svn path=/trunk/boinc/; revision=14589
2008-01-18 02:07:07 +00:00
David Anderson 1e5b72068e - make old-style graphics (though not supported) still compile
svn path=/trunk/boinc/; revision=14588
2008-01-17 18:09:30 +00:00
Charlie Fenton c44635f5ab Fix Compiler warning.
svn path=/trunk/boinc/; revision=14553
2008-01-15 00:12:08 +00:00
David Anderson deac50f8b1 - client: implement <start_apps_manually> for Windows too
- client: check /dev/input/mice/ for idle detection;
    apparently that's replaced /dev/mouse in Linux
    (from Toby Murray)
- API: make old-style graphics compile again

svn path=/trunk/boinc/; revision=14543
2008-01-13 04:16:58 +00:00
David Anderson 2be6f8e53a - Client: add <run_apps_manually> config flag.
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
2008-01-13 00:12:14 +00:00
David Anderson d47c5c1e2f - API, Unix: fix bug where boinc_sleep() hangs forever.
This was because SIGALRM always interrupts sleep()
    and keeps boinc_sleep() stuck in its while loop.
    Solution: change boinc_sleep() so that it works even if
    rapid signals (e.g. interval timer) are happening
- API: remove deprecated graphics files from Makefile.
    Old-style graphics are no longer supported.
- web: add empty show_user_donations_private() to donations.inc

svn path=/trunk/boinc/; revision=14513
2008-01-09 17:32:02 +00:00
David Anderson d9a663a42e - API: call update_app_progress() only from the timer thread.
Previously it was called from both timer and worker thread,
    with no synchronization.  Bad.
    boinc_finish(): sleep for 2 seconds, enough to ensure that
    the timer thread sends the final messages.
- API: a compile flag GETRUSAGE_IN_TIMER_THREAD selects
    how to get CPU time; by default set only for Mac OS X
- scheduler: cap #CPUs scaling for <max_wus_per_host> at 8

svn path=/trunk/boinc/; revision=14495
2008-01-08 18:58:44 +00:00
David Anderson ade36217d2 - API: fix to changeset 14462: I put the getrusage() in the wrong place
svn path=/trunk/boinc/; revision=14484
2008-01-07 23:10:17 +00:00
David Anderson 4680b446ce - API: on Mac, call getrusage() from timer thread
(since calling it from worker thread causes crashes).
    On Linux, call getrusage() from the worker thread
    (since calling it from the timer thread returns zero on some systems).
- stripcharts: make it work even if Perl is not in path (from Eric Myers)

svn path=/trunk/boinc/; revision=14462
2008-01-03 20:43:48 +00:00
David Anderson 9248b47032 - API: check for messages from client 10X a second;
this will allow smoother CPU throttling
- delete_file: bug fixes (from Nicolas Alvarez).  Fixes #78

svn path=/trunk/boinc/; revision=14434
2007-12-21 20:57:48 +00:00
David Anderson b42c68e5dd - API: switch back to structure where the worker thread
calls getrusage() in a signal handler to find its CPU time.
    Apparently there are some kernels and/or thread libraries
    where getrusage() does NOT return the total CPU time of
    all threads in the process,
    so in these cases calling it from the timer thread doesn't work.
    
    This was originally changed because of concerns that
    calling getrusage() in a signal handler was dangerous;
    we'll see if any problems re-emerge.

    The alternative of reading /proc/PID/stats doesn't seem viable;
    format may not be standardized.

svn path=/trunk/boinc/; revision=14433
2007-12-21 19:23:22 +00:00
David Anderson 91936bad72 svn path=/trunk/boinc/; revision=14328 2007-11-30 04:14:48 +00:00
David Anderson 74c2782624 - API: code cleanup
removed references to "graphics thread"
    removed HANDLE timer_quit_event
    removed enable_heartbeat/disable_heartbeat messages
        (not sure what the ideas was, but no longer exists)
    removed heartbeat_active flag (use options.check_heartbeat instead)
    read heartbeat-channel messages even if heartbeat disabled
        (since we use that channel for WSS messages too)
- client: remove ACTIVE_TASK::thread_handle (not used)

svn path=/trunk/boinc/; revision=14323
2007-11-29 19:48:04 +00:00
David Anderson b54abc426b - API graphics: changes to REDUCED_ARRAY to support new S@h graphics
- API: fix format codes in stack trace printf

svn path=/trunk/boinc/; revision=14309
2007-11-27 19:28:57 +00:00
Charlie Fenton f5114ac1c5 Mac: Add 64-bit Intel support to Client and libraries.
svn path=/trunk/boinc/; revision=14225
2007-11-16 13:27:35 +00:00
David Anderson 785457ce35 - API: in update_app_progress(), use %e instead of %f everywhere;
this limits the length of the generated string
    ~12 chars even for big/small numbers.
    Also reduce buffer size from 8000 to 256;
    default thread stack size might not accommodate 8000 + extra.

svn path=/trunk/boinc/; revision=14112
2007-11-07 18:53:36 +00:00
David Anderson f46a06305d - user web:
- changed Private Messages interface so that you see
        all your messages on one page,
        and remove various redundant links
        (like the Inbox link on the Inbox page)
    - changed links to buttons for moderator functions

svn path=/trunk/boinc/; revision=14019
2007-11-01 23:04:39 +00:00
David Anderson dbedc0cd72 - API: compile fix for systems without strlcat()
svn path=/trunk/boinc/; revision=14012
2007-10-31 20:52:25 +00:00
David Anderson d43c0e1786 - API: when creating message strings for CPU time etc.,
use strlcat() instead of strcat().
    Einstein@home has seen some SEGVs in this function.
    I suspect that it's getting 1e304-type values
    (why? possible bugs in getrusage-related code, still)
    and that these cause long strings that overflow the message buffer.

svn path=/trunk/boinc/; revision=13999
2007-10-30 23:03:21 +00:00
Rom Walton 23609b858b - DIAG: Remove references to diagnostics_set_thread_name().
api/
        boinc_api.C
        windows_opengl.C
    lib/
        diagnostics.h
        diagnostics_win.C

svn path=/trunk/boinc/; revision=13956
2007-10-24 23:49:52 +00:00
David Anderson 7c32018889 - API: fixes for SETI@home
svn path=/trunk/boinc/; revision=13930
2007-10-22 23:12:42 +00:00
David Anderson 615e108441 - API: fix bug introduced in 13696 causing no graphics on Linux
svn path=/trunk/boinc/; revision=13922
2007-10-22 03:15:51 +00:00
Charlie Fenton 2ed89c4c65 API, Unix: call getrusage() from inside boinc_worker_thread_cpu_time() and make worker_thread_ru a local stack variable to avoid potential problems with thread preemption.
svn path=/trunk/boinc/; revision=13880
2007-10-17 19:53:51 +00:00
Charlie Fenton 50c2ab3847 Win V6 SCR compatibility: save, restore gfx window size & position.
svn path=/trunk/boinc/; revision=13856
2007-10-17 00:53:15 +00:00
David Anderson b079d40cb9 - API, Unix: call getrusage() from the timer thread,
not the worker signal handler.
    There's no reason to call it from the signal handler -
    it returns the CPU for the entire process, not the calling thread.
    And it may be asynch-signal-handler-unsafe.
- API: comment out checks for bad CPU times.
    I don't think this is needed now, and in some cases it's wrong
    (multi-threaded apps can accumulate CPU faster than real time)
- API, Unix: in boinc_calling_thread_cpu_time(), don't retry getrusage().
- Bossa: switch to better class structure (suggested by Nicolas Alvarez).
    Haven't switched to mysqli yet, but will later.
    Also various other Bossa fixes

svn path=/trunk/boinc/; revision=13855
2007-10-16 23:02:13 +00:00
David Anderson 452ae11337 - API: handle wacky values in worker_thread_ru:
- check for infinity/NaN
    - check for CPU time decreasing
    - check for CPU time increasing faster than real time
    ... and deal with each of these in a hopefully reasonable way

svn path=/trunk/boinc/; revision=13847
2007-10-12 23:12:50 +00:00
David Anderson 028544e184 - API: get rid of getrusage_mutex to synchronize calls to getrusage()
and access to worker_thread_ru.
    This was being used in the worker signal handler,
    which is bad because pthread_mutex_lock() can allocate memory.
    I don't think this matters; at worst we might get
    CPU times off by < 1 sec.

svn path=/trunk/boinc/; revision=13844
2007-10-12 19:28:30 +00:00
Charlie Fenton 8396e06fc0 Mac V5 GFX API: Fix old zombie process bug (I hope). getPathToThisApp() should call pclose(), not fclose().
svn path=/trunk/boinc/; revision=13840
2007-10-12 06:22:58 +00:00
Charlie Fenton 3d4f4c1780 Mac V5 GFX API: In setMacPList(), if resource already exists, don't call getPathToThisApp() because it leaves a zombie process.
svn path=/trunk/boinc/; revision=13828
2007-10-11 01:41:33 +00:00
Frank Thomas fbcfeaf456 - Removed the svn:executable property from files that should not be executable,
like source code and text files. I skipped to check most files in html/
  and mac_*/ though.
- Added svn:executable to tools/watch_tcp because it has a shebang.


svn path=/trunk/boinc/; revision=13819
2007-10-10 09:25:40 +00:00
David Anderson 25a92389b1 - updated svn ignore properties; deleted some .cvsignore files
svn path=/trunk/boinc/; revision=13813
2007-10-09 18:00:06 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
Charlie Fenton 03b5c3e3b0 API V6 GFX: Initialize boinc_max_fps = 30.
svn path=/trunk/boinc/; revision=13778
2007-10-04 21:58:56 +00:00
Charlie Fenton 07d83c89b7 graphics API: Write changed window size only after it has stopped changing
svn path=/trunk/boinc/; revision=13714
2007-09-29 01:30:32 +00:00
Charlie Fenton 71255d3194 graphics API: Write changed window size only after it has stopped changing.
svn path=/trunk/boinc/; revision=13713
2007-09-29 01:20:42 +00:00
Charlie Fenton d568c3c260 Restore gfx window size & pos when relaunching. Mac: let gfx app icons appear in Dock.
svn path=/trunk/boinc/; revision=13698
2007-09-28 11:32:05 +00:00
David Anderson ab09ba8834 - graphics API: redo the code for backwards compatibility with V5 so that
at most one regular and one full-screen graphics window can be open,
    and a "hide" message kills the full-screen window if one exists,
    else a regular window.
    Keep track of the PIDs separately for regular and full-screen.
    Also, don't send a "hide" ack if we don't do graphics.

svn path=/trunk/boinc/; revision=13697
2007-09-28 04:23:34 +00:00
Charlie Fenton e680c9a9a1 Mac V6 GFX: add setMacPList() call
svn path=/trunk/boinc/; revision=13696
2007-09-28 02:06:30 +00:00
Charlie Fenton 992fdc08a2 Mac V6 GFX: add setMacPList() call
svn path=/trunk/boinc/; revision=13694
2007-09-27 23:48:07 +00:00
Charlie Fenton 8103f74d3e API: fix 2 bugs in new compatibility code for handling V5 graphics messages in a V5 app
svn path=/trunk/boinc/; revision=13681
2007-09-27 13:09:48 +00:00
David Anderson 7bdacec895 - API: debug the code for handling V5 graphics messages
in a V6 app (and launching/killing the graphics app)
	- API: start timer thread even if in standalone mode
		(needed to get timer callbacks for V6 graphics)
	- API: remove BOINCSetForegroundWindow stuff
	- API: call DestroyWindow instead of boinc_exit() in WM_CLOSE.
		boinc_exit() is the wrong thing to call - e.g. it tries to delete
		the lock file, resulting in a 5-sec delay on exit

svn path=/trunk/boinc/; revision=13679
2007-09-27 03:34:27 +00:00
David Anderson 0a48da269d - API: initialize backwards_compatible_graphics to true.
NOTE: as of this checkin, applications built with the API
code in the trunk are assumed to do V6-type graphics.
If your app doesn't, then you must set
backwards_compatible_graphics to false
(and use boinc_init_graphics_options())


svn path=/trunk/boinc/; revision=13675
2007-09-26 17:06:50 +00:00
Charlie Fenton e8a4acda63 V6 screensaver shows graphics for both V5 and V6 applications.
svn path=/trunk/boinc/; revision=13670
2007-09-26 10:17:43 +00:00
Charlie Fenton 2713f5662d Mac/Linux/UNIX: V6 apps uses shmget() to run with V5 clients
svn path=/trunk/boinc/; revision=13669
2007-09-26 10:17:11 +00:00
David Anderson f1f5930579 - client: removed everything related to screensaver
(deciding which app to use, implementing blanking interval, etc.)
    This logic is all now in the screensaver itself.
- GUI RPC: removed get/set screensaver mode RPCs
- API: added a "backwards_compatible_graphics" flag to BOINC_OPTIONS.
    V6 apps should set this.
    If set, the runtime library checks for graphics messages
    from the client, and launches/kills the graphics app (if any).
    The app will then work graphically with pre-V6 clients.
- removed some old files

svn path=/trunk/boinc/; revision=13651
2007-09-25 16:04:45 +00:00
David Anderson bc5b979afb - Added new script "update_versions_v6"; use this instead of
update_versions to add version 6 apps.
    It looks for API_VERSION string in main executable,
    adds the API version to the app_version XML,
    and sets min_core_version to 6 for version 6+ apps
- API: include API_VERSION string
- convert tabs to spaces here and there
- scheduler: parse unused elements in <net_stats>
- ops/show_log.php: if no URL args, just show form (fixes #415)
- client: parse and store api_version (not used yet)

svn path=/trunk/boinc/; revision=13627
2007-09-21 18:10:54 +00:00
Rom Walton 4ab9cb6b0c Quick Updates
svn path=/trunk/boinc/; revision=13596
2007-09-17 18:11:23 +00:00
David Anderson 3204081982 - API: embed the string API_VERSION_N.N.N in libboinc.a
(for v6)
- client: performance tweak for CPU sched
- client: fix /proc/cpuinfo parsing for linux 2.6.23, powerPC
    fixes #410


svn path=/trunk/boinc/; revision=13593
2007-09-17 14:03:44 +00:00
David Anderson 34a31a2827 - API: don't start timer thread (or install signal handler on Unix)
if running standalone


svn path=/trunk/boinc/; revision=13577
2007-09-12 13:37:06 +00:00
Reinhard Prix b42927889c - initialize local 'struct sigaction' variable to zero ({0}) in xwin_graphics_event_loop()
svn path=/trunk/boinc/; revision=13566
2007-09-11 17:40:03 +00:00
David Anderson fbfd793489 - API: initialize sigaction struct in X graphics code
svn path=/trunk/boinc/; revision=13558
2007-09-09 21:09:07 +00:00
Charlie Fenton 9c939288df make shared memory using memory mapped files more robust
svn path=/trunk/boinc/; revision=13534
2007-09-04 07:41:25 +00:00
Charlie Fenton d269036df3 V6 GFX: Fix bug on OS 10.3.9
svn path=/trunk/boinc/; revision=13532
2007-09-04 07:40:18 +00:00
Charlie Fenton d72c982f7f Mac V2 GFX: Fix link error when building example app
svn path=/trunk/boinc/; revision=13489
2007-08-29 13:11:41 +00:00
Charlie Fenton ec652d7573 Mac V2 GFX: Fix link error when building example app
svn path=/trunk/boinc/; revision=13488
2007-08-29 09:24:22 +00:00
Charlie Fenton c3960c9140 Fix a compiler warning
svn path=/trunk/boinc/; revision=13484
2007-08-29 02:23:00 +00:00
Charlie Fenton 3d437d904a Create same shmem file name as for Windows, instead of "gfx_mmap_file
svn path=/trunk/boinc/; revision=13481
2007-08-29 01:26:57 +00:00
Charlie Fenton 25ec43a839 Implement memory-mapped files for shared memory
svn path=/trunk/boinc/; revision=13470
2007-08-27 12:29:00 +00:00
Charlie Fenton e1681640ea Implement
svn path=/trunk/boinc/; revision=13469
2007-08-27 12:27:48 +00:00
Charlie Fenton 5cd7cdbc04 Begin implementation of using memory-mapped files for shared memory
svn path=/trunk/boinc/; revision=13467
2007-08-27 09:17:38 +00:00
David Anderson 9debbe3b4f screensaver fix
svn path=/trunk/boinc/; revision=13395
2007-08-16 23:52:40 +00:00
David Anderson b6952dcd20 Fixes for command line compile.
Fixed some type warnings on windows.
Fixed missing graphics_threadh definition on WIN32.

svn path=/trunk/boinc/; revision=13282
2007-08-10 01:51:14 +00:00
David Anderson f96db2c656 svn path=/trunk/boinc/; revision=13270 2007-08-06 23:06:16 +00:00
Charlie Fenton 5d2d8dea7a Added a comment
svn path=/trunk/boinc/; revision=13252
2007-07-31 13:35:40 +00:00
Charlie Fenton 6db6b61352 Graphics API: Don't render graphics when application is suspended to reduce CPU usage
svn path=/trunk/boinc/; revision=13250
2007-07-31 13:11:26 +00:00
Charlie Fenton e0b4dfea33 Graphics API: Don't render graphics when application is suspended to reduce CPU usage
svn path=/trunk/boinc/; revision=13249
2007-07-31 13:07:10 +00:00
David Anderson 905910f806 - API: some out-of-mem checks
svn path=/trunk/boinc/; revision=13151
2007-07-13 20:18:46 +00:00
David Anderson bda30b3065 - added a stats site
- added return value for copy_stream()

svn path=/trunk/boinc/; revision=13133
2007-07-10 23:42:05 +00:00
David Anderson 9f6fe805ad - API: set fraction_done to 1 in boinc_finish()
api/
    boinc_api.C

svn path=/trunk/boinc/; revision=13050
2007-06-28 22:51:51 +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 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 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 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
David Anderson d20307f25a - renamed texfont.c to texfont.C to fix automake warning
api/
        texfont.C (changed c to C)
        Makefile.am

svn path=/trunk/boinc/; revision=12745
2007-05-24 18:04:01 +00:00
David Anderson 1d421c5a43 - debug version-6-style graphics on Unix
api/
    Makefile
    graphics2.h
    graphics2_win.C
    graphics2_util.C
    graphics2_unix.C
lib/
    shmem.h

svn path=/trunk/boinc/; revision=12737
2007-05-23 22:36:07 +00:00
David Anderson 90374052f2 - debug version 6-style graphics on Windows.
New example app works now!

	api/
		graphics2.C,h
		graphics2_util.C
		graphics2_win.C
	lib/
		util.C,h

svn path=/trunk/boinc/; revision=12735
2007-05-23 21:02:19 +00:00
David Anderson 273ad2914b svn path=/trunk/boinc/; revision=12721 2007-05-23 03:56:49 +00:00
David Anderson 2fcd2cb7d5 - lib/filesys: do timed retry of delete/rename on Unix as well as Win
- client: sleep 1 sec (not 60) before retry statefile write
- client: parse <credit> in workunit XML
- scheduler: better error messages if insert_wu_tags() fails

api/
    graphics2_unix.C
client/
    client_state.C
    client_types.C
lib/
    filesys.C
sched/
    sched_send.C

svn path=/trunk/boinc/; revision=12720
2007-05-23 03:55:53 +00:00
David Anderson 38aaf5ee9c api/
graphics2.C
		graphics2_win.C

svn path=/trunk/boinc/; revision=12717
2007-05-22 21:26:47 +00:00
David Anderson fe68a746fd - scheduler: fix FCGI compile
- API: add files for version 6 graphics

api/
    Makefile.am
    graphics2.C (new)
    graphics2_unix.C (new)
    graphics2_win.C (new)
sched/
    Makefile.am

svn path=/trunk/boinc/; revision=12714
2007-05-22 20:12:45 +00:00
David Anderson 6f7f1bfd5c - API: don't include config.h in a few places
api/
		graphics_impl.C
		texture.C
		tgalib.C

svn path=/trunk/boinc/; revision=12705
2007-05-21 18:19:28 +00:00
David Anderson 8f25fdf2a1 David 14 May 2007
- API: Eric Myers reported that my 4 May checkin
        (which increased worker thread stack size to the limit
        returned by getrlimit())
        broke his app on several Linux platforms.
        So I added a worker_thread_stack_size element to BOINC_OPTIONS.
        If you want an increased stack size, set this.
    - web RPC: add <url> and <local_revision> elements to
        the XML returned by get_project_config.php

    html/user/
        sample_get_project_config.php
    api/
        graphics_impl.C


svn path=/trunk/boinc/; revision=12664
2007-05-14 19:52:00 +00:00
David Anderson dd797bc843 - API: if using graphics, set worker thread stack size limit to max
(from Rosetta@home)
    
    api/
        graphics_impl.C

svn path=/trunk/boinc/; revision=12562
2007-05-04 20:06:00 +00:00
David Anderson b686f89d85 David 20 Apr 2007
- make_project: add periodic tasks to default config.xml:
        dp_dump, update_uotd, update_forum_activities, update_stats,
        update_profile_pages
    - backend_lib.C: refuse to create a job for which some necessary
        parameter (rsc_fpops_est, rsc_fpops_bound, etc.) is missing
    - Unix build: don't include std_fixes.h in config.h.
        std_fixes.h is (I think) deprecated
    - sched_util: default sched log level is MSG_NORMAL
    - client: add ".txt" to job log filename
    - compile fixes

    configure.ac
    api/
        reduce_main.C
    client/
        file_names.C
    lib/
        str_util.h
    sched/
        sample_work_generator.C
        sched_msgs.h
    tools/
        backend_lib.C

svn path=/trunk/boinc/; revision=12430
2007-04-20 17:14:08 +00:00
Rom Walton ac6974b62b Rom 19 Apr 2007
- Fix a minor compile problem on 64-bit Windows platforms with the
        call to SetTimer.
    - fixes #80: Introduce the notion of an alternate platform for 64-bit
        Windows clients, which can also run 32-bit Windows apps.
        
      TODO: We'll need to refactor the whole platform section in the
        scheduler request creation section so that it can handle
        multiple alternate platforms and for Linux/Mac.
        
    api/
        windows_opengl.C
    client/
        client_state.C, .h
        cpp.h
        cs_scheduler.C

svn path=/trunk/boinc/; revision=12421
2007-04-19 20:53:16 +00:00
David Anderson 1411e4c003 *** empty log message ***
svn path=/trunk/boinc/; revision=12324
2007-04-05 23:15:20 +00:00
David Anderson b0f56c0a6e *** empty log message ***
svn path=/trunk/boinc/; revision=12282
2007-03-29 18:33:28 +00:00
David Anderson 52793262e1 *** empty log message ***
svn path=/trunk/boinc/; revision=12257
2007-03-20 23:12:22 +00:00
David Anderson 6984ec8cf4 *** empty log message ***
svn path=/trunk/boinc/; revision=12233
2007-03-15 19:08:22 +00:00
David Anderson 7499c10e8f *** empty log message ***
svn path=/trunk/boinc/; revision=12199
2007-03-08 21:00:26 +00:00
David Anderson 87fbd47b75 *** empty log message ***
svn path=/trunk/boinc/; revision=12187
2007-03-04 20:52:31 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson 2b3045ac49 *** empty log message ***
svn path=/trunk/boinc/; revision=11951
2007-01-24 19:31:49 +00:00
Reinhard Prix cdb5d6a2d2 - allow this file to be compiled on _WIN32 and __APPLE__, shouldn't be too much to ask
[from Bernd's patch]

svn path=/trunk/boinc/; revision=11765
2007-01-04 11:34:17 +00:00
Reinhard Prix 1b9eb6000e #include boinc_api.h, for worker_thread_handle() [from Bernd's patch]
svn path=/trunk/boinc/; revision=11764
2007-01-04 11:33:05 +00:00
Reinhard Prix deee5e4317 - allow poor ANSI-C projects [such as E@H] to use BOINC: restore 'extern "C"' protection
- move extern bool boinc_graphics_possible(); into C++ API section
  [from Bernd's patch]

svn path=/trunk/boinc/; revision=11763
2007-01-04 11:28:41 +00:00
David Anderson f176fd6e9e *** empty log message ***
svn path=/trunk/boinc/; revision=11726
2006-12-27 20:15:46 +00:00
David Anderson 984c5a635e *** empty log message ***
svn path=/trunk/boinc/; revision=11702
2006-12-19 22:52:58 +00:00
David Anderson 3d43d682bf *** empty log message ***
svn path=/trunk/boinc/; revision=11640
2006-12-09 00:10:53 +00:00
David Anderson d3b1c45d64 *** empty log message ***
svn path=/trunk/boinc/; revision=11634
2006-12-07 17:30:48 +00:00
David Anderson 673a2bee27 *** empty log message ***
svn path=/trunk/boinc/; revision=11619
2006-12-05 03:50:36 +00:00
David Anderson ecc969a351 *** empty log message ***
svn path=/trunk/boinc/; revision=11558
2006-11-21 00:45:22 +00:00
David Anderson 92ca27d84e *** empty log message ***
svn path=/trunk/boinc/; revision=11499
2006-11-08 22:53:32 +00:00
David Anderson 3467f7e8fb *** empty log message ***
svn path=/trunk/boinc/; revision=11498
2006-11-08 22:40:03 +00:00
David Anderson da173a0dc1 *** empty log message ***
svn path=/trunk/boinc/; revision=11404
2006-10-31 00:29:30 +00:00
Rom Walton d03033482f *** empty log message ***
svn path=/trunk/boinc/; revision=11309
2006-10-18 22:58:49 +00:00
David Anderson 631883dfe2 *** empty log message ***
svn path=/trunk/boinc/; revision=11238
2006-10-03 17:24:25 +00:00
David Anderson 5e406b783c *** empty log message ***
svn path=/trunk/boinc/; revision=11236
2006-10-03 15:43:38 +00:00
David Anderson 59d5508392 *** empty log message ***
svn path=/trunk/boinc/; revision=11107
2006-09-05 19:00:59 +00:00
Charlie Fenton 380c3d6ea9 *** empty log message ***
svn path=/trunk/boinc/; revision=11016
2006-08-27 00:03:58 +00:00
Charlie Fenton 60be32263f *** empty log message ***
svn path=/trunk/boinc/; revision=10959
2006-08-22 00:53:47 +00:00
Charlie Fenton 77a94a58ad *** empty log message ***
svn path=/trunk/boinc/; revision=10952
2006-08-21 15:59:16 +00:00
Charlie Fenton 55d3287dfc *** empty log message ***
svn path=/trunk/boinc/; revision=10951
2006-08-21 14:41:30 +00:00
Charlie Fenton 7ab7b5eea9 *** empty log message ***
svn path=/trunk/boinc/; revision=10949
2006-08-19 10:35:55 +00:00
Charlie Fenton 56959e9a27 *** empty log message ***
svn path=/trunk/boinc/; revision=10935
2006-08-17 09:39:18 +00:00
Rom Walton 0ff35f87fa *** empty log message ***
svn path=/trunk/boinc/; revision=10902
2006-08-13 20:53:47 +00:00
David Anderson 8b8fda8319 *** empty log message ***
svn path=/trunk/boinc/; revision=10873
2006-08-08 23:54:43 +00:00
David Anderson b702fd0810 *** empty log message ***
svn path=/trunk/boinc/; revision=10824
2006-08-03 04:07:18 +00:00
Charlie Fenton 56716723bb *** empty log message ***
svn path=/trunk/boinc/; revision=10817
2006-08-02 00:58:02 +00:00
Walt Gribben 92300dd902 *** empty log message ***
svn path=/trunk/boinc/; revision=10813
2006-08-01 23:59:33 +00:00
David Anderson 4a286e54c9 *** empty log message ***
svn path=/trunk/boinc/; revision=10808
2006-08-01 21:22:25 +00:00
Charlie Fenton 4767dde5b5 *** empty log message ***
svn path=/trunk/boinc/; revision=10727
2006-07-22 02:12:39 +00:00
Charlie Fenton 0d5748e73f *** empty log message ***
svn path=/trunk/boinc/; revision=10687
2006-07-20 09:24:06 +00:00
David Anderson 15fa53c622 *** empty log message ***
svn path=/trunk/boinc/; revision=10514
2006-06-26 17:09:23 +00:00
David Anderson f174f3395f *** empty log message ***
svn path=/trunk/boinc/; revision=10376
2006-06-16 21:19:00 +00:00
Eric J. Korpela af33698500 Added code to prevent CPU time from incrementing faster than real time.
Added check of working timer thread.

Use the getrusage mutex defined in lib/util.[Ch]

svn path=/trunk/boinc/; revision=10360
2006-06-15 18:22:07 +00:00
David Anderson f0d376e11b *** empty log message ***
svn path=/trunk/boinc/; revision=10352
2006-06-14 23:17:37 +00:00
David Anderson 279172e807 *** empty log message ***
svn path=/trunk/boinc/; revision=10318
2006-06-12 20:09:19 +00:00
David Anderson e23f91745c *** empty log message ***
svn path=/trunk/boinc/; revision=10315
2006-06-12 16:22:43 +00:00
David Anderson 0f28904e41 *** empty log message ***
svn path=/trunk/boinc/; revision=10313
2006-06-12 16:16:17 +00:00
Rom Walton f91c1401dc *** empty log message ***
svn path=/trunk/boinc/; revision=10285
2006-06-09 16:25:13 +00:00
Charlie Fenton 4e56e102bb *** empty log message ***
svn path=/trunk/boinc/; revision=10282
2006-06-09 12:40:27 +00:00
David Anderson d1caa3b689 pass rsc_fpops_est to app
svn path=/trunk/boinc/; revision=10276
2006-06-09 02:33:00 +00:00
Rom Walton d25690dba5 *** empty log message ***
svn path=/trunk/boinc/; revision=10265
2006-06-07 08:56:55 +00:00
Rom Walton a3b416e9dc *** empty log message ***
svn path=/trunk/boinc/; revision=10235
2006-06-01 08:24:45 +00:00
Rom Walton 7b2261d3f1 *** empty log message ***
svn path=/trunk/boinc/; revision=10234
2006-06-01 08:16:56 +00:00
Rom Walton a46467adcd *** empty log message ***
svn path=/trunk/boinc/; revision=10196
2006-05-25 07:46:25 +00:00
Rom Walton 7e4031a824 *** empty log message ***
svn path=/trunk/boinc/; revision=10158
2006-05-18 04:36:41 +00:00
Rom Walton eb66934f8a *** empty log message ***
svn path=/trunk/boinc/; revision=10153
2006-05-17 07:44:54 +00:00
Rom Walton 9b35d6cd63 *** empty log message ***
svn path=/trunk/boinc/; revision=10135
2006-05-15 21:01:35 +00:00
Eric J. Korpela 23b4af5507 Fixed stupid bux in the pthreads() thread creation check that always caused
it to report success.

svn path=/trunk/boinc/; revision=10132
2006-05-15 17:25:59 +00:00
Eric J. Korpela 45cadbcfe2 - Added check check for alloca.h and memory.h to configure.ac
- Added check for alloca and _alloca to configure.ac
    - Structural change to boinc_worker_timer() to get rid of
      essentially empty if clause.
    - (WIN32) set_worker_timer() now checks that interrupt_count is incrementing
      before assuming success.
    - Added MINGW32 fix for missing alloca() define to gutil.C
    - Added MINGW32/Dev-C++ fix for missing fpreset() prototypes to
      boinc_win.h

svn path=/trunk/boinc/; revision=10130
2006-05-15 17:14:15 +00:00
Rom Walton 8664f385ff *** empty log message ***
svn path=/trunk/boinc/; revision=10124
2006-05-11 23:19:04 +00:00
Eric J. Korpela 77ca32d7e2 *** empty log message ***
svn path=/trunk/boinc/; revision=10123
2006-05-11 18:28:35 +00:00
Charlie Fenton b6bed4b2d3 *** empty log message ***
svn path=/trunk/boinc/; revision=10114
2006-05-08 22:45:10 +00:00
Rom Walton aad7a928b2 *** empty log message ***
svn path=/trunk/boinc/; revision=10113
2006-05-08 18:35:56 +00:00
David Anderson a9183d00dc *** empty log message ***
svn path=/trunk/boinc/; revision=10097
2006-05-04 04:29:28 +00:00
Rom Walton f74d8bd38a *** empty log message ***
svn path=/trunk/boinc/; revision=10072
2006-05-01 21:36:38 +00:00
David Anderson fd1629ccd3 *** empty log message ***
svn path=/trunk/boinc/; revision=10070
2006-05-01 18:34:08 +00:00
David Anderson 3a0a20ae0d *** empty log message ***
svn path=/trunk/boinc/; revision=10068
2006-05-01 05:54:52 +00:00
Charlie Fenton d0022186bd *** empty log message ***
svn path=/trunk/boinc/; revision=10048
2006-04-28 03:36:56 +00:00
Charlie Fenton c0ef6cec09 *** empty log message ***
svn path=/trunk/boinc/; revision=10047
2006-04-28 01:49:00 +00:00
Rom Walton 010ec2443e *** empty log message ***
svn path=/trunk/boinc/; revision=10029
2006-04-25 21:24:26 +00:00
Rom Walton fe570894fc *** empty log message ***
svn path=/trunk/boinc/; revision=9975
2006-04-19 23:28:08 +00:00
Charlie Fenton a2d544d45d *** empty log message ***
svn path=/trunk/boinc/; revision=9956
2006-04-18 22:17:43 +00:00
David Anderson 284d8725b9 resolve font file names
svn path=/trunk/boinc/; revision=9886
2006-04-13 22:20:51 +00:00
David Anderson dc4a89fb63 *** empty log message ***
svn path=/trunk/boinc/; revision=9883
2006-04-13 22:17:23 +00:00
Charlie Fenton e79f7aefa7 *** empty log message ***
svn path=/trunk/boinc/; revision=9838
2006-04-11 09:55:26 +00:00
David Anderson 6fc28bd79f *** empty log message ***
svn path=/trunk/boinc/; revision=9813
2006-04-07 21:35:49 +00:00
David Anderson a1231f8c37 *** empty log message ***
svn path=/trunk/boinc/; revision=9811
2006-04-07 17:31:10 +00:00
Eric J. Korpela 8eeaf0550b Fix missing mac includes
svn path=/trunk/boinc/; revision=9784
2006-03-31 18:30:00 +00:00
David Anderson 9d4cbf912e glut
svn path=/trunk/boinc/; revision=9782
2006-03-31 07:16:44 +00:00
David Anderson 8c3a893e3e *** empty log message ***
svn path=/trunk/boinc/; revision=9773
2006-03-30 22:07:26 +00:00
David Anderson 5875fcdf9d *** empty log message ***
svn path=/trunk/boinc/; revision=9772
2006-03-30 22:06:25 +00:00
David Anderson 531f9b87e6 API without GLUT, jpeglib
svn path=/trunk/boinc/; revision=9770
2006-03-30 20:54:34 +00:00
Rom Walton 52c8ac6a06 *** empty log message ***
svn path=/trunk/boinc/; revision=9729
2006-03-26 20:06:37 +00:00
Rom Walton e5b51c247a *** empty log message ***
svn path=/trunk/boinc/; revision=9715
2006-03-23 20:23:22 +00:00
Charlie Fenton e51b548a7a *** empty log message ***
svn path=/trunk/boinc/; revision=9714
2006-03-23 11:38:49 +00:00
Rom Walton d6d5922904 *** empty log message ***
svn path=/trunk/boinc/; revision=9712
2006-03-23 03:05:59 +00:00
David Anderson 98dd095b27 *** empty log message ***
svn path=/trunk/boinc/; revision=9708
2006-03-22 19:01:33 +00:00
Rom Walton 41c81b238e *** empty log message ***
svn path=/trunk/boinc/; revision=9695
2006-03-21 12:04:14 +00:00
Charlie Fenton ae01b962ea *** empty log message ***
svn path=/trunk/boinc/; revision=9658
2006-03-16 08:51:34 +00:00
David Anderson 960d40f916 *** empty log message ***
svn path=/trunk/boinc/; revision=9654
2006-03-15 19:27:37 +00:00
Charlie Fenton b8c40b5a2a *** empty log message ***
svn path=/trunk/boinc/; revision=9650
2006-03-15 01:50:12 +00:00
Walt Gribben f9d03a24ac *** empty log message ***
svn path=/trunk/boinc/; revision=9643
2006-03-14 00:46:41 +00:00
David Anderson a180483343 api change
svn path=/trunk/boinc/; revision=9639
2006-03-13 20:45:08 +00:00
Rom Walton 0137d9f38d *** empty log message ***
svn path=/trunk/boinc/; revision=9632
2006-03-11 21:30:26 +00:00
Rom Walton 12ee0008ec *** empty log message ***
svn path=/trunk/boinc/; revision=9588
2006-03-02 08:28:23 +00:00
Charlie Fenton 4073eae69d *** empty log message ***
svn path=/trunk/boinc/; revision=9578
2006-02-28 09:53:10 +00:00
Charlie Fenton 418769507c *** empty log message ***
svn path=/trunk/boinc/; revision=9576
2006-02-28 02:38:44 +00:00
Charlie Fenton deaa508a7c *** empty log message ***
svn path=/trunk/boinc/; revision=9574
2006-02-28 01:57:55 +00:00
Charlie Fenton 70d6f2d70e *** empty log message ***
svn path=/trunk/boinc/; revision=9567
2006-02-27 12:19:38 +00:00
Rom Walton 5b4a247ea5 *** empty log message ***
svn path=/trunk/boinc/; revision=9534
2006-02-23 08:08:49 +00:00
Rom Walton ec9b73480a *** empty log message ***
svn path=/trunk/boinc/; revision=9533
2006-02-23 07:54:11 +00:00
Charlie Fenton ec8081adba *** empty log message ***
svn path=/trunk/boinc/; revision=9436
2006-02-10 17:06:46 +00:00
David Anderson 197ea8e6aa compile warnings
svn path=/trunk/boinc/; revision=9410
2006-02-07 04:18:47 +00:00
Charlie Fenton 8a0e7cd2df *** empty log message ***
svn path=/trunk/boinc/; revision=9407
2006-02-07 01:08:02 +00:00
David Anderson c3425dbb6c let apps handle abort requests
svn path=/trunk/boinc/; revision=9400
2006-02-03 20:48:48 +00:00
David Anderson dd5cfb52c0 CPU scheduler
svn path=/trunk/boinc/; revision=9338
2006-01-28 00:17:26 +00:00
David Anderson 63da554b46 boinc_zip_
svn path=/trunk/boinc/; revision=9311
2006-01-25 05:10:29 +00:00
David Anderson e4ee999059 bool -> int
svn path=/trunk/boinc/; revision=9266
2006-01-18 23:04:05 +00:00
David Anderson dbd7017ea9 bool->int in API
svn path=/trunk/boinc/; revision=9193
2006-01-06 23:38:49 +00:00
Bruce Allen 13e3b93cce Put prototype in the correct section.
svn path=/trunk/boinc/; revision=9188
2006-01-06 12:40:17 +00:00
Bruce Allen 4463b0948d Nasty bug in API lib. See checkin_nodes_2004 December 22.
Functions meant to be used from within C shoud never be
declared bool!

Fix: change boinc_is_standalone() to return int not bool.

Note: some API functions still return bools, but since E@H
doesn't use them and I am afraid of doing damage, I have
left them alone.

svn path=/trunk/boinc/; revision=9181
2006-01-06 09:02:26 +00:00
David Anderson 9edb1c083f *** empty log message ***
svn path=/trunk/boinc/; revision=9170
2006-01-05 06:42:45 +00:00
Eric J. Korpela bb5862d6fe Added explicit inclusions of boinc_win.h
svn path=/trunk/boinc/; revision=9076
2005-12-16 03:33:36 +00:00
Bruce Allen d118641dcb API: when app version number is shown in the title bar of
a graphics window, print it in the same format at the
client GUI, for example 4.29 rather than existing 429.
This is for consistency with line 506 of clientgui/ViewWork.cpp.

svn path=/trunk/boinc/; revision=9060
2005-12-10 12:46:09 +00:00
David Anderson a010aef22a OS/2 client version
svn path=/trunk/boinc/; revision=9022
2005-12-02 22:29:35 +00:00
Eric J. Korpela ee0a6111f7 Revert accidental mods to graphics_lib.C
svn path=/trunk/boinc/; revision=9014
2005-12-01 01:33:06 +00:00
Eric J. Korpela c166c6beab Minor mods to allow BOINC apps to be compiled under Windows using Dev-C++
with MinGW

svn path=/trunk/boinc/; revision=9013
2005-12-01 00:25:21 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
Charlie Fenton 4667904c67 *** empty log message ***
svn path=/trunk/boinc/; revision=8799
2005-11-04 03:14:33 +00:00
David Anderson a40fb4ca57 include integer ops in benchmark API
svn path=/trunk/boinc/; revision=8796
2005-11-03 05:31:21 +00:00
David Anderson 4a5a426dac report_app_status()
svn path=/trunk/boinc/; revision=8774
2005-10-30 21:28:03 +00:00
Rom Walton 2755e0df53 *** empty log message ***
svn path=/trunk/boinc/; revision=8695
2005-10-18 00:34:20 +00:00
Reinhard Prix e395bb8c3d added missing header-file for 'get_window_title()'
svn path=/trunk/boinc/; revision=8679
2005-10-14 14:45:40 +00:00
David Anderson 270c583dcf app version in window title
svn path=/trunk/boinc/; revision=8663
2005-10-12 18:40:53 +00:00
Bruce Allen 4ad3fa47c1 Must remember to test code...
svn path=/trunk/boinc/; revision=8659
2005-10-12 02:23:19 +00:00
Bruce Allen fb2e676440 Add WU name to graphics window title.
TODO: add app_version_num to window title.
David or Rom, could you add app_version_num to struct APP_INIT_DATA?

svn path=/trunk/boinc/; revision=8658
2005-10-12 02:19:28 +00:00
David Anderson 2b31d91773 fflush before _exit()
svn path=/trunk/boinc/; revision=8516
2005-10-05 20:39:00 +00:00
David Anderson dbf95d28ca change email before set passwd
svn path=/trunk/boinc/; revision=8430
2005-10-03 22:16:32 +00:00
David Anderson ffbfdb5ce4 *** empty log message ***
svn path=/trunk/boinc/; revision=8411
2005-10-02 18:23:38 +00:00
Rom Walton 209f0d3199 *** empty log message ***
svn path=/trunk/boinc/; revision=8172
2005-09-26 11:29:28 +00:00
David Anderson a04661001f remove BOINC_APP_GRAPHICS
svn path=/trunk/boinc/; revision=8166
2005-09-23 21:10:11 +00:00
David Anderson 428e6c9a7f *** empty log message ***
svn path=/trunk/boinc/; revision=8161
2005-09-23 21:07:32 +00:00
David Anderson f2d9aa4b8f *** empty log message ***
svn path=/trunk/boinc/; revision=8155
2005-09-23 20:59:39 +00:00