Christian Beer
38205527dd
Merge pull request #1435 from BOINC/fix_defects_apps
...
Fix defects in example apps
2015-11-19 22:59:42 +01:00
Rom Walton
169b873fe6
example_app: reclassify the example_app as a console application on Windows.
...
This was a hold over from the Win9x days when a console application window could not be hidden by the processed that launched it. Since we no longer need to support Win9x we can get rid of this hack.
2015-11-19 14:24:19 -05:00
Christian Beer
c2e0135ae9
ExampleApp: prevent resource leak
...
fixes CID 34515 found by Coverity
2015-11-10 16:59:20 +01:00
Charlie Fenton
9849b0005a
Samples: Add Macintosh build instructions for example app (uppercase), VBoxWrapper and Wrapper
2015-04-14 07:34:42 -07:00
Charlie Fenton
6878ca6d07
Example App (uppercase): fixes for compatibility with Xcode 6
2015-04-14 07:13:54 -07:00
David Anderson
f3366ec5ba
client: track and report network, disk, and memory usage
...
- store final network usage in RESULT; write/parse in state file
- final disk and memory usage weren't being written to state file; do so.
- add --network_usage option to example app, to test this stuff
2014-05-01 13:05:30 -07:00
David Anderson
07e8026caa
example app comment typo
2014-01-20 23:39:59 -08:00
David Anderson
f4a270ad04
example app: load fonts from project dir, not slot dir
...
Slot dir will containt link files, not font files
2014-01-19 16:55:10 -08:00
David Anderson
4466458c80
remove -lpthread from api/Makefile.am; fix example_app build error
2014-01-17 11:23:17 -08:00
Rom Walton
5e92b6c7d7
samples: Create a custom DLL for debugging DLL search path issues. Hook it up to the example app.
2014-01-15 12:01:00 -05:00
David Anderson
217ad5ae5d
client: if app doesn't report fraction done, estimate fraction done in a way that converges to but never reaches 100%.
2014-01-15 01:03:48 -08:00
David Anderson
939f912b4c
translation update
2014-01-10 00:12:31 -08:00
Rom Walton
9b85ac19ef
samples: Add skeleton for zlib compression to sample app to test search path issues on Windows. It is not fully implemented.
2014-01-09 15:35:17 -05:00
David Anderson
6d4999767f
example app: print "starting" message after boinc_init, so that it appears in stdferr file
...
Also remove old score-based sched code
2013-12-10 14:00:31 -08:00
David Anderson
98123560e2
Condor: add variant of uppercase that processes multiple files
2013-08-27 21:24:01 -07:00
David Anderson
519a0bcbef
API: add test harness for the runtime system
...
- If you run the client with --run_test_app,
runs "test_app" in the current directory and interacts with it
(and does nothing else).
It can suspend/resume it with arbitrary timing;
this is controlled in run_test_app() (app_start.cpp).
- example app: add --critical_section option.
This lets you test the runtime system for apps that do
most of their work in a critical section (like GPU apps).
- Add some logging messages (conditioned by DEBUG_BOINC_API)
to the runtime system.
- boinc_finish() waits for the timer thread to write final messages;
make sure it doesn't do anything else
(like suspend the worker thread) during this period
2013-07-04 16:00:10 -07:00
David Anderson
439299d7b3
sample apps: include <cmath> instead of <math.h>
2013-05-28 12:00:39 -07:00
David Anderson
2c3bc9c9b9
Unix build: tweak Makefiles in sample apps
2013-05-16 09:38:31 -07:00
David Anderson
2d8e1c39b6
Improve sample application Makefiles
...
Use CXXFLAGS, CPPFLAGS, LDFLAGS if they're defined in the environment.
From Guo Yixuan.
2013-04-25 01:26:24 -07:00
Rom Walton
32f8e130a9
android: Add environment variables for CC and CFLAGS. The regex stuff in the wrapper was using the Linux(x86) compiler instead of the Android (ARM) cross-compiler.
2013-03-05 14:17:54 +01:00
David Anderson
0d07e872bd
android: Add execute permissions to shell scripts
2013-03-05 13:53:58 +01:00
Rom Walton
b96a79f005
android: Fix the example app compile on Android
2013-03-05 13:39:42 +01:00
Rom Walton
4b3cd5e293
android: bug fix for build scripts
2013-03-05 13:39:42 +01:00
Rom Walton
e95265a1aa
android: commit shell scripts to build uppercase and wrapper for use on Android.
2013-03-05 13:39:42 +01:00
David Anderson
afdc69a8a8
More Line Ending Changes
2013-03-04 17:19:38 +01:00
Rom Walton
6b7190c0eb
Line ending changes
2013-03-04 17:12:12 +01:00
Charlie Fenton
bee911811a
Mac: add slide-show screensaver to example_app Xcode project and Mac example_app build scripts
...
example app: fix compiler warnings in slide_show.cpp
2013-03-01 16:26:09 +01:00
David Anderson
3f8357fc92
- add slide-show screensaver (from David Coss)
2013-03-01 16:26:08 +01:00
David Anderson
42756406f5
- example app: get the graphics app to build on Fedora Core 14
...
Note: this required installing various packages,
and tweaking the Makefile in various ways,
some of them FC14-specific ways
2013-03-01 16:23:13 +01:00
Charlie Fenton
21cd3d3ffd
Sample Graphics app: Switch from *.txf fonts to TrueType font
...
svn path=/trunk/boinc/; revision=25972
2012-08-03 12:11:27 +00:00
Charlie Fenton
15e46e7113
Sample Graphics app: Switch from *.txf fonts to TrueType fonts
...
svn path=/trunk/boinc/; revision=25968
2012-08-03 08:58:50 +00:00
Charlie Fenton
f0ed936d47
Mac: Minor corrections to documentation and sample code
...
svn path=/trunk/boinc/; revision=25876
2012-07-17 11:22:05 +00:00
Charlie Fenton
17db492473
Mac: update sample code to allow building with Xcode 4.4 GM seed under OS 10.8 GM seed
...
svn path=/trunk/boinc/; revision=25867
2012-07-12 12:45:42 +00:00
Charlie Fenton
72007821b7
Mac: update sample code to allow building with Xcode 4.3 and to eliminate compiler warnings
...
svn path=/trunk/boinc/; revision=25862
2012-07-11 10:32:09 +00:00
David Anderson
acf94453a5
- fix warning
...
svn path=/trunk/boinc/; revision=24257
2011-09-22 06:34:52 +00:00
David Anderson
a676fda344
svn path=/trunk/boinc/; revision=24254
2011-09-22 04:14:46 +00:00
David Anderson
9d2d540267
- client: intermediate checkin for replicated trickle-ups.
...
Not finished yet.
- example app: add --trickle_up and --trickle_down options,
for testing trickle messages
svn path=/trunk/boinc/; revision=24245
2011-09-20 18:49:38 +00:00
David Anderson
61aab13972
- example app: get it right this time
...
svn path=/trunk/boinc/; revision=24032
2011-08-24 01:18:23 +00:00
David Anderson
c296d498ff
- example app: change the app version structure to match the new format
...
svn path=/trunk/boinc/; revision=24030
2011-08-24 00:21:46 +00:00
David Anderson
94e8c48220
- client: change --detach_phase_two (??) to --detach_console
...
- eliminate compiler warnings (e.g. shadowed vars)
in various places, mostly in client
svn path=/trunk/boinc/; revision=23710
2011-06-12 20:58:43 +00:00
David Anderson
5bbafef4b0
- fix some bad file permissions
...
- delist defunct stats site
svn path=/trunk/boinc/; revision=22859
2011-01-02 03:07:14 +00:00
Rom Walton
08db9f1563
Quick Updates
...
svn path=/trunk/boinc/; revision=22673
2010-11-10 16:09:33 +00:00
Rom Walton
2a3c4dff7e
Add linux x64 example app
...
svn path=/trunk/boinc/; revision=22672
2010-11-10 16:08:39 +00:00
Rom Walton
aae2ef17f6
Quick Updates
...
svn path=/trunk/boinc/; revision=22671
2010-11-10 15:37:15 +00:00
Rom Walton
25e28bae13
Add linux example app
...
svn path=/trunk/boinc/; revision=22670
2010-11-10 15:35:47 +00:00
David Anderson
c0612ab77f
- make_project: with --test_app, copy all the executables
...
(for many platforms) from samples/example_app/bin
- make_project: change name of example app from uppercase to example_app.
- update_versions: allow version numbers to not have decimal points
- sample work generator: make app name and template files
command-line options;
default to "example_app", "example_app_in.xml", "example_app_out.xml"
svn path=/trunk/boinc/; revision=22667
2010-11-10 00:10:32 +00:00
David Anderson
2a9c52793c
svn path=/trunk/boinc/; revision=22666
2010-11-09 22:35:59 +00:00
Charlie Fenton
0dcd647250
Mac: Update build scripts, build examples and documentation
...
svn path=/trunk/boinc/; revision=22489
2010-10-11 11:59:05 +00:00
Charlie Fenton
9e41e0b521
Mac: Update build scripts and documentation
...
svn path=/trunk/boinc/; revision=22480
2010-10-08 10:15:40 +00:00
David Anderson
1637c19e08
- API and sample apps: pass buf length arg to boinc_msg_prefix()
...
and use snprintf() to avoid overrun.
Can't see why this could ever happen.
Attempt to fix crash in E@h apps.
svn path=/trunk/boinc/; revision=22363
2010-09-15 23:03:30 +00:00