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