forked from BOINC/boinc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkin_notes_2004
13174 lines (10995 loc) · 374 KB
/
checkin_notes_2004
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
David 3 Jan 2004
- prelimary checkin of "trickle" mechanism
- added trickle table to DB
- add boinc_trickle() to API; implement
- logic in client to find/rename trickle files
- got rid of strlcpy() (not portable)
- commented out WORKSEQ code (probably will never finish)
- factored out project directory name function
- error checking of malloc()s in MFILE
api/
boinc_api.C,h
mfile.C
client/
app.C,h
client_state.C
client_types.C
cs_benchmark.C
file_names.C,h
db/
boinc_db.C,h
constraints.sql
db_base.h
schema.sql
doc/
api.php
create_project.php
language.php (new)
trickle.php (new)
lib/
filesys.C,h
tools/
backend_lib.C,h
Gary 4 Jan 2004
- Added missing sys header declaration needed to build libboinc
on OSX jaguar
api/
boinc_api.C
David 5 Jan 2004
- patch up hole in hosts_user.php that shows hosts
even when user doesn't want
- All pages check for project up before opening DB
html_user/
apps.php
db.inc
download.php
hosts_user.php
util.inc
Gary 5 Jan 2004
- changed file_delete() function calls to boinc_delete_file()
as a result of the 2004-01-03 change to filesys.C,h
client/win
wingui_mainwindow.cpp
Gary 5 Jan 2004
- BOINC release 2.17 for windows, linux, solaris, mac os x
(os x version supports both 10.2 <jaguar> and 10.3 <panther>)
David 6 Jan 2004
- When showing a user's posts, break into groups of 10
- Don't show pending credit directly in user page.
Give a link to a separate page that shows pending results
and their claimed credit
- When show list of results, add linked ID column allowing user
to see details of result (e.g. stderr_out)
- removed "private" arg for show_host_detail.php.
If the host belongs to logged-in user, show private info
- removed alternative sorting options for host lists
(there was a bug where a user host list
linked to top_hosts.php)
- added a couple of "repair" scripts
html_user/
db.inc
host.inc
host_edit_action.php
host_venue_action.php
pending.php (new)
repair.php (new)
result.inc
result.php
results.php
show_host_detail.php
user.inc
util.inc
workunit.php
forum/
repair.php (new)
user_posts.php
David 7 Jan 2004
- don't show #results in 1-line host summary (too slow)
- totally redid "host merge" mechanism.
- show all hosts that are compatible with this one
(not just older ones)
- show checkboxes with "select all" button
so you can easily merge large #s of hosts
- merge logic merges into newest host
- let anyone look at any result and any host
(may want to change this later,
but for now it helps with debuggin)
- write log message when scheduler creates new host
because of bad RPC seqno
html_user/
host.inc
host_edit_action.php
host_edit_form.php
repair.php
result.php
results.php
show_host_detail.php
user.inc
workunit.php
sched/
handle_request.C
David 7 Jan 2004
- more trickle support:
- server parses <trickle> elements from RPC request,
creates trickle records,
sends <trickle_ack> if it did any
- client scans project for trickle files,
adds them to RPC requests
- if get <trickle_ack> in RPC reply, delete trickle files
- parse <trickle_ack> in RPC reply
- use safe_strncpy for shared-mem graphics messages
client/
client_state.h
cs_scheduler.C
scheduler_op.C,h
db/
boinc_db.h
doc/
boinc_dev.php
host_id.php (new)
host_measure.php
participate.php
lib/
app_ipc.C,h
filesys.h
sched/
handle_request.C
server_types.C,h
David 7 Jan 2004
- scheduling server: if get invalid hostid,
look up user before creating new host
(otherwise will create a host record with userid 0)
- if get a result that's already been received, ignore it
sched/
handle_request.C
David 7 Jan 2004
- added "host delete" function (if host has zero results)
html_user/
host_delete.php (new)
David 8 Jan 2004
- Fixed bugs that caused WUs to be mistakenly marked COULDNT_SEND:
- the feeder marks WUs as COULDNT_SEND whenever
at least 50% of the results have infeasible_count > 20
(it used to be > 0, i.e. a WU could be marked as COULDNT_SEND
when it was infeasible for even a single host)
- Some hosts (Macs) report their memory size (host.m_nbytes)
as a large negative number.
Change this so that the min memory size is 64 MB
html_user/
host.inc
host_delete.php (new)
sched/
feeder.C
handle_request.C
sched_shmem.h
Gary 8 Jan 2004
- Fixed problem in windows client where user prefs were
being ignored at startup as a side-effect of the previous
initial startup fix. Now initial startup works and user
prefs are honored at startup.
client/
Prefs.C
client/win
wingui_mainwindow.cpp,h
David 9 Jan 2004
- on download page, don't tell people to create an account
if they already are logged in (and hence have an account)
- print message in CGI log if can't find user
- don't hyperlink 0 results etc.
html_user/
download.inc
download.php
host.inc
repair.php
forum/
help_desk.php
thread.php
user_posts.php
sched/
handle_request.C
David 9 Jan 2004
- added project files for VC++ 7.0, and fixed a few compile warnings
client/
app.C
cs_benchmark.C
cs_scheduler.C
net_xfer.C
win/
stackwalker.h
win_build/
boinc.sln
*.vcproj
Karl 2004-01-12
- BOINC how has a project.xml file (by default in the same location as
config.xml) that can contain database information:
- projects
- platforms
- core versions
- apps
- app versions
- this information used to be added one at a time using the `add'
command-line tool; now there is a new tool `xadd' available, which
parses project.xml and adds anything necessary.
- refactored configxml.py into boincxml.py and configxml.py:
- boincxml.py contains generic XML utility code
- configxml.py contains code specific to config.xml and run_state.XML
- external interface to configxml.py unchanged
- new projectxml.py that parses and writes project.xml
- refactored tools/add into tools/add and py/Boinc/add_util.py
- added new addable fields
py/Boinc/
boinc_project_path.py
configxml.py
boincxml.py (new)
projectxml.py (new)
add_util.py (new)
db_base.py
Makefile.am
tools/
xadd (new)
add
Makefile.am
doc/
tool_xadd.php (new)
tool_add.php
make_project.php
tools.php
Karl 2004-01-12
- source release 2.18 (no client-visible changes)
David Jan 12 2004
- change team account so that team gets (and keeps) credit
for results of users while they belong to team:
- add team_id field to result
- add expavg_time field to team
- validator increments team credit
- scheduler fills in result.teamid
- don't delete empty teams
- rename result.client_version_num to result.app_version_num
populate this field based on <app_version> field of stderr_out
- change update_stats so that it doesn't compute team credit fields,
and so that it updates expavg fields only if the entity
has been idle for 4 days or more
- add DB_BASE::update_field() (to update one or more fields,
not whole record)
- add lookup_team() to db.inc
SHOULD ALWAYS USE FUNCTIONS LIKE THIS INSTEAD OF AD-HOC QUERIES
- factor out mysql_query() into DB_BASE::do_query()
db/
db_boinc.C,h
db_base.C,h
schema.sql
html_user/
db.inc
team.inc
team_join_action.php
team_quit_action.php
sched/
handle_request.C
update_stats.C
validate.C
David Jan 14 2004
- typo in boincxml.py
(caused "start" script to always set enabled=0
in run_state file, with various bad consequences)
- two indentation problems in "start":
line 499
line 516
py/Boinc/
boincxml.py
sched/
start
David Jan 14 2004
- add <core_client_version> element to <stderr_out>
of results when send to server
client/
client_types.C
David Jan 14 2004
- don't blink sys tray icon more than 10 sec (from Rom Walton)
client/win/
wingui_mainwindow.cpp,h
David Jan 14 2004
- windows console version works again (from Rom Walton)
client/
main.C
net_xfer.C
win_build/
boinc_cli.vcproj
David Jan 15 2004
- factored base64 declarations
lib/
base64.h (new)
David Jan 15 2004
- changed file_upload_handler so that it returns success
if offset >= nbytes.
That this happens at all indicates an error in the client,
but we'll get to that later.
- Scheduler: if last RPC too recent, show the interval
html_user/
db.inc
info.php
team_join_action.php
team_quit_action.php
sched/
file_upload_handler.C
handle_request.C
Karl 2004-01-15
- fixed database schema for new 'teamid' field
- misc. fixes
db/
schema.sql
py/Boinc/
Makefile.am
database.py
lib/
Makefile.am
base64.C
base64.h
Karl 2004-01-15
- renamed user_name to db_user
- applied changes by Daniel Sumers Myers <dmyers@umiacs.umd.edu>
- setup script creates log_<host>
- add support for <db_user> field in config.XML in C, python, php
- missing default project.inc.sample fields
db/
db_base.C
db_base.h
html_ops/
db_ops.inc
db.inc
project.inc.sample
py/Boinc/
setup_project.py
sched/
assimilator.C
db_dump.C
feeder.C
file_deleter.C
main.C
make_work.C
transitioner.C
update_stats.C
validate.C
wu_check.C
David Jan 16 2004
- released core client 2.18 for Windows
David Jan 17 2004
- change logic in windows_opengl.C so that an app has no window
when it doesn't need one.
In particular, it has no window when it initially runs,
so it won't wake up screensaver when an app starts.
This requires using a window-less timer
to poll for messages from core client.
api/
windows_opengl.C
David Jan 17 2004
- remove win_main.cpp
- if result exceeds disk, show both usage and limit
- change title of Attach to Project dialog
- change debugging symbol from DEBUG to SS_DEBUG
(since VC7.0 equates _DEBUG and DEBUG)
client/
app.C
win_main.cpp (removed)
win/
resource.rc
win_build/
boinc_gui.vcproj
David Jan 17 2004
- new screensaver (from Rom Walton)
works correctly on multiple monitors;
handles password protection correctly
- fix compile warnings
- removed redundant definition of BOINC_SS_END
client/
cs_benchmark.C
net_xfer.C
win/
Scricon3.ico (removed)
boinc_ss.h (new)
boinc_ss.rc
win_main.cpp (removed)
win_screensaver.cpp
win_screensaver.h (new)
win_util.h
wingui_listcrl.cpp
wingui_mainwindow.cpp
wingui_piectrl.cpp
res/
Scricon3.ico (new)
lib/
app_ipc.h
win_build/
boinc.vcproj
boinc_cli.vcproj
boinc_ss.vcproj
David Jan 17 2004
- use TRACE() instead of fprintfs for debugging output
client/win/
wingui_mainwindow.cpp
David Jan 18 2004
- fix possible memory leak in screensaver on Win9x (from Rom Walton)
client/win/
win_screensaver.cpp,h
David Jan 18 2004
- add a function HOST::fix_nans(), called before updating or inserting
a host record; replaces NaNs with zeros. Otherwise DB barfs
- on any failed DB query, write the query to stderr
- store sorting order for message boards in a cookie
db/
boinc_db.C,h
db_base.C
html_user/forum/
forum.php
thread.php
sched/
file_upload_handler.C
handle_request.C
David Jan 19 2004
- use STOP_SS_MSG symbol instead of END_SS_MSG
(these redundantly refered to the same string)
- fixed buggy error-handling code for Win CreateProcess()
api/
windows_opengl.C
client/
app.C
win/
win_util.h
lib/util.C
David Jan 19 2004 (from Rom Walton)
- Win screensaver: check to see if BOINC is configured for
automatic startup and if not make a suggestion to the user to do so.
client/win/
boinc_ss.h
boinc_ss.rc
win_screensaver.cpp,h
win_util.cpp,h
David Jan 19 2004 (from Rom Walton)
- handle BOINC core client as service
client/
client_state.C,h
cs_cmdline.C
main.C
win/
win_net.cpp
win_service.cpp,h (new)
win_build/
boinc_cli.vcproj
boinc_ss.vcproj
David Jan 19 2004
- modify logic of file_upload_handler so that it always
returns an HTML header, regardless of whether
request message is missing or malformed
- hyperlink results on pending credit page
- fix bug in parsing of exit status in result stderr_out
- include "validate_trivial" in install_boinc_files()
html_user/
index.php
pending.php
py/Boinc/
setup_project.py
sched/
file_upload_handler.C
handle_request.C
David Jan 20 2004
- added basic support for GUI RPCs in the core client.
This allows GUIs to be implemented in a separate process.
There can be multiple GUIs looking at the same core client.
New classes:
GUI_RPC_CONN: represents a connection to a GUI program
GUI_RPC_CONN_SET: represents the set of all such connections
has the usual poll() function.
This is currently implemented only for UNIX, using UNIX domain sockets.
Should be straightforward to do in Win using named pipes.
- The isspace() macro crashes if called with a non-ASCII arg,
so use it only after isascii()
- reimplement strip_whitespace() to do the above,
have it trim at both start and end,
and make a version for string
NOTE: the real problem is that user-supplied text is being
kept in XML elements in the state file.
Should escape it.
client/
Makefile.am,in
client_state.C,h
gui_rpc_client.C,h (new)
gui_rpc_server.C,h (new)
gui_test.C
lib/
parse.C
util.C,h
David Jan 21 2004
- get new GUI RPC stuff to compile on Win
client/
gui_rpc_server.C
win_build/
boinc.sln
boinc_cli.vcproj
boinc_gui.vcproj
Eric Jan 21 2004
- Modified match_tag to work with tags of the form "<tag>" and "tag"
- Added strlcat() to std_fixes.h
- Added check for strlcat() configure.ac
- fixed "#elif" without clause in main.C
configure
configure.ac
config.h.in
client/
main.C
lib/
parse.C
std_fixes.h
Karl 2004-01-21
Client translations update from Robi Beucheler
client/translation/
language.ini.ca
language.ini.es
language.ini.et
language.ini.gl
language.ini.hr
language.ini.ko
language.ini.pl
language.ini.pt
language.ini.template
language.ini.th (new)
language.ini.tr (new)
David Jan 21 2004
- small changes to get console version to compile
client/
cs_cmdline.C
main.C
win_build/
boinc_cli.vcproj
David Jan 22 2004
- match_tag() changes broke Win compile.
Moved new match_tag() to xml_match_tag() in xml_util.C,
put old match_tag() back.
lib/
util.C,h
xml_util.C,h
David Jan 22 2004
- change the GUI RPC protocol so that there's a single
<get_state/> request that returns the entire state
(same contents as the client state file)
- add fraction_done, current_cpu_time to <active_task> output
- factored out CLIENT_STATE::write_state(FILE*)
(used for both state file write and GUI RPC)
- always copy team name from scheduler reply
(so that we'll learn if user quits team)
client/
app.C
client_state.h
cs_scheduler.C
cs_statefile.C
gui_rpc_client.C,h
gui_rpc_server.C
gui_test.C
David Jan 23 2004
- fix problem with DLL dependency (from Rom Walton)
api/
boinc_api.C
graphics_api.C
gutil.C
windows_opengl.C
lib/
parse.C
util.C
David Jan 23 2004
- Fleshed out client-side support for GUI RPCs
The GUI_RPC class now parses the XML it gets back from
the <get_state> request, and builds a data structure
that is more or less a clone of the state of the core client.
There are still a number of missing pieces,
e.g. active tasks and file transfers
client/
cs_apps.C
gui_rpc_client.C,h
gui_test.C
makefile.gui_test (new)
David Jan 24 2004
- add resource to let you control name of screensaver in
choose-screensaver popup (from Rom Walton)
client/win/
boinc_ss.h
boinc_ss.rc
David Jan 26 2004
- server-side support for anonymous platform mechanism
- struct CLIENT_APP_VERSION represents an app version
that an anonymous-platform client says it has
- SCHEDULER_REQUEST has a vector of CLIENT_APP_VERSIONs,
parsed from request message
- in scan_work_array(): if anonymous platform,
instead of checking for an app version in the DB,
check that the client has an app version with an
acceptable version#
NOTE: for this to work you need to add an entry named "anonymous"
to the platform table
html_user/
index.php
team_join_form.php
team_quit_form.php
sched/
handle_request.C
server_types.C,h
David Jan 26 2004
- client-side support for anonymous platform mechanism
- To use this mechanism, user puts a file "app_info.xml" in a project dir.
This file contains <app>, <file_info>, and <app_version> elements
for app versions present in the project dir
(compiled or manually installed by the user).
- If this file is found, the project is marked as "anonymous_platform"
and app/app_version info in the state file is ignored.
- Scheduler RPCs for anonymous projects include a list of app_versions
- CLIENT_STATE::link_*(): fail if object is already in state
client/
client_state.C,h
client_types.C,h
cs_scheduler.C
cs_statefile.C
file_names.h
lib/
error_numbers.h
David Jan 30 2004
- replaced a bunch of "return 1"s with meaningful codes
(mostly ERR_NOT_FOUND); fixed comments; added license text here and there
client/
app.C
client_state.C
cs_apps.C
cs_cmdline.C
cs_files.C
cs_prefs.C
cs_scheduler.C
file_xfer.C
gui_rpc_server.C,h
http.C
message.C
net_stats.C
net_xfer.C
pers_file_xfer.C
doc/
account.php
lib/
app_ipc.C
error_numbers.h
David Jan 30 2004
- mark result as OUTCOME_SUCCESS only if exit status is zero (from Rom Walton)
sched/
handle_request.C
David Jan 31 2004
- GUI RPC: get_state RPC now returns active tasks and file xfers
- remove "hostname" field from HTTP_OP.
There was already a field of this name in NET_XFER,
a base class of HTTP_OP.
client/
client_types.C
gui_rpc_client.C,h
gui_rpc_server.C
http.h
net_xfer.C,h
pers_file_xfer.C
makefile.gui_test
David Feb 2 2004
- escape all user-supplied text in XML (messages and files)
e.g. user name, team name
- added functions xml_escape() and xml_unescape()
(very simple versions; just escape < and &)
- parse_str() does unescape
client/
client_types.C
lib/
parse.C,h
sched/
server_types.C
David Feb 2 2004
- changed directory structure of HTML stuff
Rom Feb 2 2004
- Added a diagnostics library for project clients
Currently only windows specific stuff has been implemented for the
BOINCASSERT and BOINCTRACE.
BOINCASSERT has been defined as an ASNI C assert
for all other platforms.
boinc_trace(), boinc_diag_init(), and boinc_diag_cleanup()
need to be defined for all the other platforms.
- Moved stderr redirection into boinc_diag_init() for the Windows client.
api/
boincdiag.cpp,h (Added)
boinc_api.c
Rom Feb 3 2004
- Fixed warning while compiling with gcc.
api/
boincdiag.cpp,h
David Feb 3 2004
- removed pathMod arguments in PHP code (this was needed when we had
multi-level directory structure; not needed anymore)
- changed max_wus_to_send from a compile constant to a config.xml parameter
html/
forum/
post.php
rate.php
reply.php
subscribe.php
inc/
db.inc
subscribe.inc
util.inc
sched/
handle_request.C
sched_config.C,h
David 2004-02-03
BOINC 2.23 release for Windows
Karl 2004-02-03
- updates for html directory structure change
tools/
make_project
py/Boinc/
setup_project.py
html/
project.sample/ (new directory)
project.inc (new)
project_specific_prefs.inc (new)
html/
user/
project.inc.sample (removed)
project_specific_prefs.inc (removed)
Rom Feb 4 2004
- Fixed the windows_error_string routine so it'll report back windows system errors.
- Updated the CreateProcess part of app.c to report OS Errors based on the above funtion.
- Removed the seperate header blocks for both release and debug and made them the same.
clears up one customer bug on Windows NT 4.0 platforms
- Changed the 1400 version check in stackwalker.h to 1310 which is what the 7.1 compiler
version is really.
- Changed the service routines to use windows_error_string instead of GetSystemErrorText
client/
app.c
client
win/
stackwalker.h
win_screensaver.h
win_service.cpp
lib/
util.c,h
Rom Feb 4 2004
- Changed from using SHGetSpecialFolder to SHGetFolderPath which now uses COM and so will
will not throw a dynamic link error on startup for platforms that don't support it.
client
win/
win_screensaver.cpp
David Feb 4 2004
- BOINC API: if get a REREAD_PREFS message from core client,
only call the app's reread_prefs function if there's a window open
(the SETI@home reread_prefs function goes into an infinite loop
if there's not a window open)
- change copyright year to 2004
api/
windows_opengl.C
client/win/
resource.rc
Karl 2004-02-03
- more misc. make_project fixes
David Feb 4 2004
- define a destructor for ACTIVE_TASK.
Do all resource deallocation (close thread/proc/msg handles;
detach and/or destroy shmem) here.
This deallocation was being done piecemeal;
for example, it wasn't being done if the process was aborted.
Hence the "quit message" object was still there,
and when another process started in the same slot it would
immediately get the message (caused "reset project" problem)
- Eventually delete all ACTIVE_TASK objects.
The following removed them from the list but didn't deleting:
ACTIVE_TASK_SET::abort_project()
ACTIVE_TASK_SET::restart_tasks() (failure case)
- Don't ask for work if we have any unfinished work.
This is a temporary kludge to prevent repeated work requests;
it means that min work buffer is meaningless.
But maybe this is OK.
client/
app.h,C
cs_scheduler.C
David Feb 4 2004
- Cleaned up the project-reset logic a little:
- first garbage-collect, THEN unlink and delete the apps and app_versions
- When detach project, delete FILE_INFO*s.
NOTE: there are lots of loose ends, e.g. files/sockets left open etc.
client/
client_state.C
David Feb 4 2004
- Released version 2.24 of core client
Rom Feb 4 2004
- When handled errors occur provide the translated error message as well as the
error code.
client/
app.c
Rom Feb 4 2004
- Update the debugging page with some more useful information about what we need
when a crash occurs
html/user/
debug.php
Rom Feb 5 2004
- Microsofts documentation on the matter of SHGetFolderPath seems to be wrong.
instead of relying on it, just do a dynamic link and call the function
if successful.
client/win/
win_screensaver.cpp
David Feb 5 2004
- db_dump: files ordered by ID now have a fixed-size ID range,
not a fixed # of elements
- Changed FEASIBLE_COUNT parameters to very large values,
so that results are never classified as COULDNT_SEND.
This mechanism is not needed for SETI@home (all results are the same)
and is occasionally screwing things up.
Can revisit this later.
- Make "host" web links consistent ("---" if ID is zero)
- In UOTD browse, show only profiles w/ pics
html/
inc/
host.inc
result.inc
util.inc
ops/
profile_ops.php
sched/
db_dump.C
feeder.C
handle_request.C
sched_shmem.h
David Feb 5 2004
- My checkin of Jan 31 broke access via HTTP proxies.
Here's an attempt to fix it
client/
http.C,h
net_xfer.C,h
pers_file_xfer.C
David Feb 5 2004
- skip over <file_xfer> elements while parsing <file_info>
(they're there for the benefit of GUI RPC)
- removed old TRACEs from Win code
client/
client_types.C
win/
wingui_mainwindow.cpp
Rom Feb 5 2004
- Moved the unhandled exception filter back into boinc_api.c where it was orginally.
- Moved stackwalker that is used by BOINC Client applications into api folder since
the unhandled exception filter depends on it.