Commit Graph

874 Commits

Author SHA1 Message Date
David Anderson 0d4fae3a35 boinc_not_using_cpu() API
svn path=/trunk/boinc/; revision=7410
2005-08-17 21:05:26 +00:00
Bruce Allen afb16504bf Belongs after double inclusion protection
svn path=/trunk/boinc/; revision=7377
2005-08-16 22:57:22 +00:00
Bruce Allen 97db749cfa Compile fix (bzero)
svn path=/trunk/boinc/; revision=7375
2005-08-16 22:49:18 +00:00
David Anderson 4e02af7fb7 *** empty log message ***
svn path=/trunk/boinc/; revision=7367
2005-08-16 21:31:27 +00:00
David Anderson 66fbe0cfbe *** empty log message ***
svn path=/trunk/boinc/; revision=7360
2005-08-16 20:48:21 +00:00
Rom Walton 8bb3e3cfb1 *** empty log message ***
svn path=/trunk/boinc/; revision=7333
2005-08-15 15:18:23 +00:00
Rom Walton b2011b3e5f *** empty log message ***
svn path=/trunk/boinc/; revision=7306
2005-08-13 08:11:17 +00:00
David Anderson 7c716dc8db attach project poll RPC
svn path=/trunk/boinc/; revision=7296
2005-08-13 03:19:22 +00:00
David Anderson d3876a2c6c bool XML notation
svn path=/trunk/boinc/; revision=7285
2005-08-12 18:31:47 +00:00
David Anderson c487a35959 fix compile warnings
svn path=/trunk/boinc/; revision=7266
2005-08-11 17:41:08 +00:00
Rom Walton c5a7f45a46 *** empty log message ***
svn path=/trunk/boinc/; revision=7249
2005-08-11 09:01:13 +00:00
David Anderson f7dbc80eae canonicalize URLs in GUI RPC interfaces
svn path=/trunk/boinc/; revision=7246
2005-08-11 06:52:19 +00:00
David Anderson 5e26d53f33 daily stats
svn path=/trunk/boinc/; revision=7241
2005-08-11 04:45:16 +00:00
David Anderson 9276415e06 *** empty log message ***
svn path=/trunk/boinc/; revision=7234
2005-08-11 00:17:00 +00:00
Rom Walton 10c00b175c *** empty log message ***
svn path=/trunk/boinc/; revision=7230
2005-08-10 19:10:59 +00:00
David Anderson 67824b0412 *** empty log message ***
svn path=/trunk/boinc/; revision=7225
2005-08-10 00:21:35 +00:00
David Anderson 483912960e Curl
svn path=/trunk/boinc/; revision=7219
2005-08-09 22:01:28 +00:00
Rom Walton a09e5fb37f *** empty log message ***
svn path=/trunk/boinc/; revision=7218
2005-08-09 21:49:13 +00:00
David Anderson 8ce680e85c compile fixes
svn path=/trunk/boinc/; revision=7215
2005-08-09 18:09:04 +00:00
David Anderson 46f9234c1f compile fixes
svn path=/trunk/boinc/; revision=7214
2005-08-09 18:00:33 +00:00
Rom Walton c60612875b *** empty log message ***
svn path=/trunk/boinc/; revision=7213
2005-08-09 09:55:45 +00:00
David Anderson b3dc4bcbe4 new account setup
svn path=/trunk/boinc/; revision=7205
2005-08-07 01:33:15 +00:00
Rom Walton a1f3b093d0 *** empty log message ***
svn path=/trunk/boinc/; revision=7203
2005-08-06 21:13:21 +00:00
Rom Walton 51389d099d *** empty log message ***
svn path=/trunk/boinc/; revision=7202
2005-08-06 19:20:26 +00:00
David Anderson 7b0c46f90c password hashing in GUI RPC layer
svn path=/trunk/boinc/; revision=7199
2005-08-05 23:06:48 +00:00
David Anderson 97f2633aa0 error number, not string
svn path=/trunk/boinc/; revision=7198
2005-08-05 22:54:00 +00:00
David Anderson 3ad888e260 new account setup support
svn path=/trunk/boinc/; revision=7194
2005-08-05 22:00:19 +00:00
Rom Walton 16a3169022 *** empty log message ***
svn path=/trunk/boinc/; revision=7190
2005-08-04 23:35:37 +00:00
Rom Walton 7434bd7c8a *** empty log message ***
svn path=/trunk/boinc/; revision=7189
2005-08-04 22:23:40 +00:00
Rom Walton cdc77f5138 *** empty log message ***
svn path=/trunk/boinc/; revision=7188
2005-08-04 22:20:52 +00:00
David Anderson 30e93d5e5d use libcrypto
svn path=/trunk/boinc/; revision=7186
2005-08-04 16:17:30 +00:00
Rom Walton 42bd780f14 *** empty log message ***
svn path=/trunk/boinc/; revision=7135
2005-08-03 20:59:01 +00:00
Rom Walton 6807bac55f *** empty log message ***
svn path=/trunk/boinc/; revision=7009
2005-08-03 19:26:43 +00:00
Rom Walton 187032ffab *** empty log message ***
svn path=/trunk/boinc/; revision=6996
2005-08-03 00:14:26 +00:00
Eric J. Korpela 444060ba8d *** empty log message ***
svn path=/trunk/boinc/; revision=6980
2005-08-02 18:37:58 +00:00
David Anderson 248141e38a split GUI RPC code
svn path=/trunk/boinc/; revision=6971
2005-08-02 16:56:09 +00:00
Rom Walton ec36d83f8c *** empty log message ***
svn path=/trunk/boinc/; revision=6890
2005-08-02 01:28:29 +00:00
David Anderson e652c96c1b OpenSSL support
svn path=/trunk/boinc/; revision=6886
2005-08-01 22:44:40 +00:00
David Anderson 975e70f250 split GUI RPC code
svn path=/trunk/boinc/; revision=6881
2005-07-31 23:33:12 +00:00
David Anderson 0d2a0ad9a3 *** empty log message ***
svn path=/trunk/boinc/; revision=6778
2005-07-23 08:10:39 +00:00
David Anderson d25c0d383c *** empty log message ***
svn path=/trunk/boinc/; revision=6767
2005-07-23 07:24:51 +00:00
David Anderson 371baf3ec4 *** empty log message ***
svn path=/trunk/boinc/; revision=6730
2005-07-21 21:21:17 +00:00
David Anderson 41788e7e8d *** empty log message ***
svn path=/trunk/boinc/; revision=6697
2005-07-20 10:26:47 +00:00
Rom Walton f151ae9306 *** empty log message ***
svn path=/trunk/boinc/; revision=6613
2005-07-14 16:46:38 +00:00
Rom Walton b36aafd00c *** empty log message ***
svn path=/trunk/boinc/; revision=6588
2005-07-09 05:23:40 +00:00
Rom Walton 68f2cf454d *** empty log message ***
svn path=/trunk/boinc/; revision=6579
2005-07-08 07:26:37 +00:00
Rom Walton d63e2eb038 *** empty log message ***
svn path=/trunk/boinc/; revision=6568
2005-07-07 22:26:49 +00:00
Rom Walton c3098bcb61 *** empty log message ***
svn path=/trunk/boinc/; revision=6539
2005-07-06 21:10:36 +00:00
Rom Walton 91e5bdf46f *** empty log message ***
svn path=/trunk/boinc/; revision=6534
2005-07-06 09:14:43 +00:00
Rom Walton cce208ecf4 *** empty log message ***
svn path=/trunk/boinc/; revision=6502
2005-07-01 06:30:06 +00:00
David Anderson 114cb732d1 *** empty log message ***
svn path=/trunk/boinc/; revision=6493
2005-06-29 06:14:35 +00:00
David Anderson 8e21c831b1 *** empty log message ***
svn path=/trunk/boinc/; revision=6480
2005-06-28 19:25:52 +00:00
Bruce Allen 042bfde576 when using locality scheduler, have transitioner or backend
lib advertise data file when new result is created.
code organization: create new lib function boinc_touch_file()
      from code that was in locality scheduler module.

svn path=/trunk/boinc/; revision=6456
2005-06-27 16:31:49 +00:00
David Anderson 2b8eba0a80 *** empty log message ***
svn path=/trunk/boinc/; revision=6427
2005-06-24 08:12:11 +00:00
David Anderson bf16b92bce *** empty log message ***
svn path=/trunk/boinc/; revision=6405
2005-06-23 00:15:05 +00:00
Rom Walton 3031042699 *** empty log message ***
svn path=/trunk/boinc/; revision=6401
2005-06-22 10:51:34 +00:00
David Anderson e40919d465 *** empty log message ***
svn path=/trunk/boinc/; revision=6394
2005-06-21 17:54:10 +00:00
David Anderson d05dc1b022 *** empty log message ***
svn path=/trunk/boinc/; revision=6389
2005-06-21 08:22:18 +00:00
Rom Walton eddbf9481c *** empty log message ***
svn path=/trunk/boinc/; revision=6386
2005-06-20 01:45:13 +00:00
Rom Walton 21fd7b81f4 *** empty log message ***
svn path=/trunk/boinc/; revision=6375
2005-06-18 02:28:03 +00:00
David Anderson 3f543bce8e *** empty log message ***
svn path=/trunk/boinc/; revision=6364
2005-06-16 20:44:33 +00:00
Rom Walton 5ab65d0173 *** empty log message ***
svn path=/trunk/boinc/; revision=6360
2005-06-16 01:59:33 +00:00
David Anderson 279c95f246 *** empty log message ***
svn path=/trunk/boinc/; revision=6351
2005-06-15 19:27:09 +00:00
David Anderson 9ad4dcc1ec *** empty log message ***
svn path=/trunk/boinc/; revision=6340
2005-06-13 18:23:56 +00:00
David Anderson 81dd738894 *** empty log message ***
svn path=/trunk/boinc/; revision=6328
2005-06-11 00:30:11 +00:00
David Anderson 14f60e3fb6 *** empty log message ***
svn path=/trunk/boinc/; revision=6316
2005-06-08 23:55:21 +00:00
David Anderson 24ebadef4c *** empty log message ***
svn path=/trunk/boinc/; revision=6299
2005-06-07 21:46:11 +00:00
Rom Walton 767c9e32b7 *** empty log message ***
svn path=/trunk/boinc/; revision=6297
2005-06-07 21:13:37 +00:00
David Anderson d37df9e36f *** empty log message ***
svn path=/trunk/boinc/; revision=6286
2005-06-06 19:18:01 +00:00
David Anderson 3828904a84 *** empty log message ***
svn path=/trunk/boinc/; revision=6270
2005-05-31 21:59:29 +00:00
David Anderson 5159eefad0 *** empty log message ***
svn path=/trunk/boinc/; revision=6261
2005-05-27 22:01:49 +00:00
David Anderson 83a83752d8 *** empty log message ***
svn path=/trunk/boinc/; revision=6248
2005-05-25 19:26:37 +00:00
David Anderson 43d7563ce6 *** empty log message ***
svn path=/trunk/boinc/; revision=6242
2005-05-24 19:52:53 +00:00
Rom Walton 1c8907f027 *** empty log message ***
svn path=/trunk/boinc/; revision=6160
2005-05-15 05:51:54 +00:00
David Anderson 8857f357f7 *** empty log message ***
svn path=/trunk/boinc/; revision=6158
2005-05-14 19:45:24 +00:00
David Anderson e66d397f5c *** empty log message ***
svn path=/trunk/boinc/; revision=6136
2005-05-12 22:39:44 +00:00
Eric J. Korpela 90d49a7d91 Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of
parameter 5 to getsockopt() by using the compiler.  The macro was in danger of
becoming an ever expanding list of case statements, since some platforms use
socklen_t, others use size_t, and still others use int.  Some aren't even
consistent from OS rev to OS rev.

A macro BOINC_SOCKLEN_T is set in config.h to indicate the proper type.  This
is typedef to be boinc_socklen_t in lib/network.h.  The special cases for
__APPLE__ and WIN32 can probably be removed at a later time.  Places where
socklen_t was used have been changed to boinc_socklen_t.

Also added double inclusion protection to network.h

svn path=/trunk/boinc/; revision=6055
2005-05-06 01:54:00 +00:00
Eric J. Korpela 5fa308a43d Fixed problem with including std_fixes.h when compiling code as C rather than
C++.

svn path=/trunk/boinc/; revision=6054
2005-05-06 00:36:07 +00:00
David Anderson 27aacefb20 *** empty log message ***
svn path=/trunk/boinc/; revision=6043
2005-05-05 18:59:55 +00:00
Bruce Allen 734dd4bdde Correcting the documentation
svn path=/trunk/boinc/; revision=6031
2005-05-05 05:23:45 +00:00
Bruce Allen f42b511669 Fixing the documentation
svn path=/trunk/boinc/; revision=6030
2005-05-05 05:18:40 +00:00
Jeff Cobb 8a90db98b0 *** empty log message ***
svn path=/trunk/boinc/; revision=6025
2005-05-04 18:49:02 +00:00
Bruce Allen 13d1f435d3 Added a utility function to 'print' a text description of errors
in error_numbers.h.  In the future, when adding a new error number
to this file, please update boincerror() in util.C to contain a
short text description of the error.

svn path=/trunk/boinc/; revision=5997
2005-05-01 13:10:53 +00:00
Bruce Allen 0082092c0b Added a utility function to 'print' a text description of errors
in error_numbers.h.  In the future, when adding a new error number
to this file, please update boincerror() in util.C to contain a
short text description of the error.

svn path=/trunk/boinc/; revision=5996
2005-05-01 13:03:18 +00:00
Bruce Allen 2c917cd32d Forgot that dtime() returns double with high precision time.
svn path=/trunk/boinc/; revision=5977
2005-04-29 17:44:08 +00:00
Bruce Allen dcd67f62c3 Fixed update_average() function to do the right thing when the time
between successive calls is small (zero seconds):

Consider the limit
as diff->0, using the first-order Taylor expansion of
exp(x)=1+x+O(x^2).
So to the lowest order in diff:
weight = 1 - diff ln(2) / half_life
so one has
avg += (1-weight)*(work/diff_days)
avg += [diff*ln(2)/half_life] * (work*SECONDS_PER_DAY/diff)
notice that diff cancels out, leaving
avg += [ln(2)/half_life] * work*SECONDS_PER_DAY

svn path=/trunk/boinc/; revision=5976
2005-04-29 16:10:45 +00:00
David Anderson 55d3b1c3b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5964
2005-04-28 23:30:03 +00:00
David Anderson 58e3317afb *** empty log message ***
svn path=/trunk/boinc/; revision=5963
2005-04-28 23:22:14 +00:00
David Anderson 64b871f819 *** empty log message ***
svn path=/trunk/boinc/; revision=5962
2005-04-28 23:19:58 +00:00
Rom Walton 6d23cf3586 *** empty log message ***
svn path=/trunk/boinc/; revision=5955
2005-04-28 17:43:13 +00:00
David Anderson b8e12020e9 *** empty log message ***
svn path=/trunk/boinc/; revision=5942
2005-04-27 06:55:28 +00:00
David Anderson fcc0732098 *** empty log message ***
svn path=/trunk/boinc/; revision=5917
2005-04-21 23:53:39 +00:00
David Anderson 33baaccab7 *** empty log message ***
svn path=/trunk/boinc/; revision=5897
2005-04-19 20:53:04 +00:00
David Anderson 65c91c3de7 *** empty log message ***
svn path=/trunk/boinc/; revision=5893
2005-04-19 19:50:58 +00:00
David Anderson 5a844bff5d *** empty log message ***
svn path=/trunk/boinc/; revision=5885
2005-04-18 05:37:31 +00:00
David Anderson bdfa65415d *** empty log message ***
svn path=/trunk/boinc/; revision=5883
2005-04-18 04:32:22 +00:00
David Anderson a714444b12 *** empty log message ***
svn path=/trunk/boinc/; revision=5878
2005-04-16 21:33:34 +00:00
Rom Walton 10d54b1be7 *** empty log message ***
svn path=/trunk/boinc/; revision=5875
2005-04-16 04:01:01 +00:00
Rom Walton a323c4cdf8 *** empty log message ***
svn path=/trunk/boinc/; revision=5868
2005-04-15 20:49:23 +00:00
David Anderson e17f856eeb *** empty log message ***
svn path=/trunk/boinc/; revision=5867
2005-04-15 20:07:42 +00:00