12011-10-26 02:49 Fergus Henderson <opensource@google.com> 2 3 * Makefile.in: 4 5 After my change to gzip the man pages before installing them, 6 I had to make a couple more changes to get "make distcheck" to pass. 7 8 Reviewed by Craig Silverstein. 9 102011-10-25 01:49 Fergus Henderson <opensource@google.com> 11 12 * Makefile.in, man: 13 14 Gzip the man pages before installing them. 15 16 This is required by the Debian policy manual 17 <http://www.debian.org/doc/debian-policy/ch-docs.html> 18 and is also assumed by our packaging/RedHat/rpm.spec file 19 which we use for building both RPM and Debian packages. 20 21 Also some whitespaces changes; only the first of the 22 four segments in this patch has non-whitespace changes. 23 242011-10-25 00:42 Fergus Henderson <opensource@google.com> 25 26 * ChangeLog, NEWS, configure.ac: 27 28 Update the NEWS and ChangeLog files, and set the version number to 29 3.2rc1, 30 in preparation for releasing distcc version 3.2. 31 32 Reviewed by Craig Silverstein. 33 342011-10-24 23:26 Fergus Henderson <opensource@google.com> 35 36 * doc/web/man/distcc_1.html, doc/web/man/distccd_1.html, 37 doc/web/man/distccmon_text_1.html, doc/web/man/include_server_1.html, 38 doc/web/man/pump_1.html, man/distcc.1, man/include_server.1: 39 40 Regenerate the checked-in HTML for the man pages. 41 42 The HTML files were generated automatically using 43 44 sudo apt-get install troffcvt 45 make man-html 46 47 But I have also changed the man source files to ensure that 48 the generated output still looks nice. The changes were 49 mainly replacing blank lines with ".PP", but there were a 50 few other tweaks needed too. 51 52 Tested by viewing the output on both Chrome and Safari, 53 and using "man" and (equivalently) "nroff -man" and 54 examining the changes. 55 56 Reviewed by Craig Silverstein. 57 582011-10-24 00:57 Fergus Henderson <opensource@google.com> 59 60 * man/distccd.1: 61 62 Apply a suggestion from Craig Silverstein: update the documentation 63 for the --whitelist option to make it clear that distcc will accept 64 connections *only* from users on the list. 65 662011-10-21 01:26 Fergus Henderson <opensource@google.com> 67 68 * popt/popthelp.c, src/dotd.c: 69 70 Fix a couple of compiler warnings. 71 72 Reviewed by Craig Silverstein. 73 742011-06-28 20:13 Fergus Henderson <opensource@google.com> 75 76 * test/testdistcc.py: 77 78 Apply patch from Ihor Kaharlichenko <madkinder> to fix issue 81 79 <http://code.google.com/p/distcc/issues/detail?id=81>: 80 SyntaxError_Case was failing with recent versions of gcc, 81 due to the error message format having changed to now 82 include the column number. 83 84 Also remove an old "XXX" comment that no longer applies. 85 862011-04-06 14:49 Fergus Henderson <opensource@google.com> 87 88 * test/testdistcc.py: 89 90 Fix a syntax error in my last change. 91 922011-04-06 14:36 Fergus Henderson <opensource@google.com> 93 94 * Makefile.in: 95 96 Update Makefile.in for compatibility with autoconf >= 2.60. 97 This avoids the following warning 98 config.status: WARNING: 'Makefile.in' seems to ignore the 99 --datarootdir setting 100 and ensures that our configure script supports that --datarootdir 101 flag. 102 103 Reviewed by Craig Silverstein. 104 1052011-04-06 14:35 Fergus Henderson <opensource@google.com> 106 107 * src/clinet.c, src/dotd.c, src/emaillog.c, src/hosts.c, src/mon.c, 108 src/netutil.c, src/serve.c, src/snprintf.c, src/snprintf.h, 109 src/srvnet.c, src/srvrpc.c, src/stats.c, src/trace.c, src/util.c: 110 111 Fix warnings about unused return values. This includes some code 112 changes 113 to do a better job of error checking. 114 1152011-04-06 14:11 Fergus Henderson <opensource@google.com> 116 117 * test/testdistcc.py: 118 119 Fix some issues that caused the gdb-related tests to fail: 120 121 1. Recent gcc versions want us to use -Wl,--build-id 122 rather than --build-id. 123 124 2. We had missed one of the places where we need to be passing 125 that flag in. 126 127 3. With recent gcc/gdb versions, "break main; run" 128 will sometimes stop at the first statement inside of main 129 rather than on the function declaration. 130 So "break main; run; step" may end up inside the code to 131 puts() rather than in the code for main(). 132 My fix was to use "break main; run; next" instead. 133 It is inderminate (varies based on whether you use "-O", for example) 134 whether we end up at the call to puts() or after the call to puts(), 135 but either way the call to puts() should be in the gdb output log. 136 137 Reviewed by Craig Silverstein. 138 1392011-04-06 14:09 Fergus Henderson <opensource@google.com> 140 141 * configure.ac: 142 143 Support Python 2.6. 144 145 Reviewed by Craig Silverstein. 146 1472011-04-05 18:57 Fergus Henderson <opensource@google.com> 148 149 * src/hosts.c: 150 151 Fix indentation (layout changes only, no code changes). 152 1532010-11-16 19:05 Fergus Henderson <opensource@google.com> 154 155 * test/testdistcc.py: 156 157 Fix for <http://code.google.com/p/distcc/issues/detail?id=61> 158 "Gdb tests fail in pumped mode on Ubuntu 9.10 amd64": 159 pass --build-id to gcc versions that support it. 160 (See <http://fedoraproject.org/wiki/RolandMcGrath/BuildID> 161 for a description of the --build-id switch.) 162 163 Reviewed by Craig Silverstein. 164 1652010-11-16 18:51 Fergus Henderson <opensource@google.com> 166 167 * man/include_server.1: 168 169 Fix error in manual: to disable fallback, set DISTCC_FALLBACK to 0 not 170 1. 171 Resolves <http://code.google.com/p/distcc/issues/detail?id=75>. 172 1732010-10-08 19:33 Fergus Henderson <opensource@google.com> 174 175 * src/access.c: 176 177 Apply patch from Ian Kumlien <Ian.Kumlien@gmail.com>, 178 to fix <http://code.google.com/p/distcc/issues/detail?id=70>. 179 This patch fixes a compile error on Gentoo Linux due to "s6_addr" 180 being #defined by a system header file and thus not available for 181 use as a local variable name. 182 1832010-10-08 18:29 Fergus Henderson <opensource@google.com> 184 185 * src/clirpc.c, src/compile.c, src/remote.c, src/state.c, src/state.h, 186 src/where.c: 187 188 Apply patch from Jeremy Murphy <jeremy.william.murphy@gmail.com>, 189 tested and reviewed by cheepero@gmail.com, to address 190 <http://code.google.com/p/distcc/issues/detail?id=36> 191 "distcc-mon-gnome displays multiple rows for same host/slot". 192 1932010-09-10 22:09 Fergus Henderson <opensource@google.com> 194 195 * test/testdistcc.py: 196 197 Fix failures of the Gdb_* test cases: 198 199 1. These tests were failing if you have anything in your ~/.gdbinit 200 file that causes gdb to issue an error message. The fix here is 201 to create an empty .gdbinit in the test directory; gdb will 202 read that one in preference to the one in $HOME. 203 204 2. These tests were failing due to a new spurious warning from gdb. 205 206 3. There were a bug in the code for the Gdb_Case test which previously 207 caused part of the test to be executed only in pump mode. When 208 invoking gcc to check whether preprocessing preserves the pwd info, 209 the command line had not been updated to reflect the fact that this 210 command is run in a subdirectory; as a consequence, 211 gcc_preprocessing_preserves_pwd was always set to false. 212 213 Reviewed by Craig Silverstein. 214 2152010-08-19 22:51 Fergus Henderson <opensource@google.com> 216 217 * src/access.c: 218 219 Some minor stylistic improvements: 220 use array indexing rather than pointer arithmetic; 221 simplify for loops; 222 change a parameter name to match comment describing it; 223 eliminate trailing whitespace. 224 225 Reviewed by Bob Ham 226 2272010-08-19 20:07 Fergus Henderson <opensource@google.com> 228 229 * src/daemon.c, src/daemon.h, src/serve.c: 230 231 Change directory back to the original server working directory after 232 each 233 distcc-pump compilation. This fixes a bug where distcc-pump was 234 changing 235 to a directory and then deleting that directory and not changing back 236 to the original directory. That caused problems when you used a server 237 first in distcc-pump mode and then in distcc mode, and the compiler 238 invoked a shell script. The compilation would succeed, but the shell 239 would 240 report a confusing warning ("shell-init: error retrieving current 241 directory: 242 getcwd: cannot access parent directories: No such file or directory"). 243 2442010-08-19 19:23 Fergus Henderson <opensource@google.com> 245 246 * include_server/compiler_defaults.py, include_server/parse_command.py, 247 include_server/parse_command_test.py: 248 249 Apply --sysroot patch from Simon Baldwin <simonb@google.com>: 250 251 2010-08-18 Simon Baldwin <simonb@google.com> 252 253 * include_server/compiler_defaults.py (_SystemSearchdirsGCC): 254 Add a 'sysroot' parameter. Add --sysroot, if needed, to the gcc 255 invocation that identifies search directories and default paths. 256 Add debugging output. 257 (SetSystemDirsDefaults): Add 'sysroot' parameter. Add another 258 dictionary level to system_dirs_default for sysroot values. 259 Add debugging output. 260 * include_server/parse_command.py (ParseCommandArgs): Identify 261 and handle arguments of the form '--opt=value'. Pass any 262 --sysroot value to compiler_defaults.SetSystemDirsDefaults, use 263 it in compiler_defaults.system_dirs_default lookups. 264 (CPP_OPTIONS_APPEARING_AS_ASSIGNMENTS): New. 265 * include_server/parse_command_test.py (Mock_SetSystemDirsDefaults): 266 Add sysroot parameter, verify it on function calls. 267 (ParseCommandUnitTest): Add --sysroot to mock gcc invocations. 268 2692010-06-29 15:51 Fergus Henderson <opensource@google.com> 270 271 * src/fix_debug_info.c: 272 273 Trivial fix for slight mistake in distccd debug message. 274 275 Reviewed by Craig Silverstein. 276 2772010-05-04 20:09 Fergus Henderson <opensource@google.com> 278 279 * src/serve.c, src/stats.c, src/stats.h, src/util.c, src/util.h: 280 281 Apply patch from Ryan Burns <rburns@pixar.com>: 282 add 1, 3, 5 minute averages of the number of children 283 used on a server to the statistics collected by the 284 stats server. 285 2862010-05-04 19:52 Fergus Henderson <opensource@google.com> 287 288 * man/distcc.1, src/compile.c: 289 290 Apply patch from Ryan Burns <rburns@pixar.com>: 291 add an environment variable DISTCC_SKIP_LOCAL_RETRY for skipping 292 the local retry in case of a remote compilation failure. 293 2942010-03-02 08:24 Fergus Henderson <opensource@google.com> 295 296 * test/testdistcc.py: 297 298 Apply slightly cleaned up version of patch from perezdiez@gmail.com 299 to fix failure of PreprocessAsm_Case on ARM. 300 3012010-03-02 08:13 Fergus Henderson <opensource@google.com> 302 303 * src/emaillog.c: 304 305 Apply patch from Akim Demaille <demaille@gostai.com>: 306 307 * src/emaillog.c (dcc_maybe_send_email): Pacify GCC's warnings 308 about format strings by getting rid of a useless temporary 309 string. 310 3112010-03-02 08:10 Fergus Henderson <opensource@google.com> 312 313 * ChangeLog, src/hosts.c: 314 315 Apply patch from Akim Demaille <demaille@gostai.com>: 316 317 * src/hosts.c (strndup): Use the standard signature (without 318 static), so that we don't conflict with GCC's builtin signature. 319 Now that it is not static, declare it, to avoid warnings. 320 3212010-02-18 23:40 Fergus Henderson <opensource@google.com> 322 323 * test/testdistcc.py: 324 325 Apply patch from madkinder: use #include rather than #import in C++ 326 test case. 327 This fixes a test case failure with gcc 4.4.1, which warns about use 328 of #import. 329 330 (The use of #import was an accidental cut-and-paste error resulting 331 from copying 332 the C++ test case from the Objective-C/C++ test case.) 333 3342010-02-18 23:33 Fergus Henderson <opensource@google.com> 335 336 * test/testdistcc.py: 337 338 Change the PreprocessAsm_Case so that it reports NOTRUN 339 rather than PASS for systems where it is not run. 340 3412010-02-10 03:31 Lei Zhang <opensource@google.com> 342 343 * man/distcc.1, src/daemon.c, src/distcc.h, src/io.c, src/pump.c, 344 src/sendfile.c: 345 346 Add support for $DISTCC_IO_TIMEOUT. 347 348 Reviewed by Fergus Henderson. 349 3502009-12-30 04:25 Fergus Henderson <opensource@google.com> 351 352 * packaging/RedHat/init.d/distcc: 353 354 Apply patch from Tal <tal.bav@gmail.com>: 355 356 In packaging/RedHat/init.d/distcc the executable is once refereed to 357 using the variable EXEC, and once as with the explicit expected name. 358 Change it to always use the EXEC variable. 359 3602009-12-01 04:46 Fergus Henderson <opensource@google.com> 361 362 * Makefile.in: 363 364 Apply patch from <avassalotti@gmail.com>: 365 366 This is a simple patch that adds the standard TAGS target for Emacs 367 users. 368 3692009-08-03 23:33 Lei Zhang <opensource@google.com> 370 371 * man/distcc.1, man/pump.1, pump.in, src/compile.c: 372 373 Make max_discrepancies_before_demotion configurable via 374 DISTCC_MAX_DISCREPANCY environment variable. 375 3762009-07-24 17:30 Fergus Henderson <opensource@google.com> 377 378 * test/testdistcc.py: 379 380 Pass "-c" to gcc for the Dotd_Case tests. 381 382 This fixes a problem where this test was failing on some systems 383 due to link errors when compiling C++ source files with "gcc foo.cpp". 384 To link C++ code, you now need to use "g++ foo.cpp" or "gcc foo.cpp 385 -lstdc++", 386 even if the C++ code in question doesn't use any C++ library features. 387 Rather than changing the code to use "g++" or "-lstdc++", I though it 388 was 389 better to avoid the link step entirely, since it is not needed for the 390 things 391 this test is testing, and removing it will speed up the test. 392 393 Reviewed by Craig Silverstein. 394 3952009-07-24 16:59 Fergus Henderson <opensource@google.com> 396 397 * man/distccd.1, src/auth.h, src/auth_common.c, src/auth_distcc.c, 398 src/auth_distccd.c, src/daemon.c, src/dopt.c, src/dopt.h, 399 src/dparent.c, src/dsignal.c: 400 401 Apply patch from Ian.Baker@cern.ch: 402 403 Optional Black/Whitelist Functionality. 404 405 This patch is used to implement optional server-side access control 406 through a specified black or whitelist file. This option is specified 407 through a command line option. 408 409 Revised by me (Fergus Henderson): 410 fixed spelling error, added a comment. 411 4122009-07-24 16:31 Fergus Henderson <opensource@google.com> 413 414 * Makefile.in, configure.ac, src/h_getline.c[ADD], src/util.c, 415 src/util.h, test/testdistcc.py: 416 417 Define a GNU-compatible getline() implementation, 418 in case we don't have getline() available. 419 420 Reviewed by Craig Silverstein. 421 4222009-07-24 01:32 Fergus Henderson <opensource@google.com> 423 424 * src/h_parsemask.c: 425 426 Fix compile errors for "make check" caused by distcc-v6-acl-2.patch. 427 4282009-07-23 02:16 Fergus Henderson <opensource@google.com> 429 430 * Makefile.in, configure.ac, man/distcc.1, man/distccd.1, 431 src/auth.h[ADD], src/auth_common.c[ADD], src/auth_distcc.c[ADD], 432 src/auth_distccd.c[ADD], src/clirpc.c, src/daemon.c, src/distcc.c, 433 src/dopt.c, src/dopt.h, src/dparent.c, src/dsignal.c, src/exitcode.h, 434 src/help.c, src/hosts.c, src/hosts.h, src/lock.c, src/remote.c, 435 src/serve.c: 436 437 Apply patch from Ian.Baker@cern.ch: 438 439 Optional GSS-API Functionality. 440 441 This patch implements mutual authentication, out of sequence and 442 replay detection using the GSS-API. The changes implemented are 443 optional and are turned off by default. 444 445 This option is specified to the client through an environment variable 446 as is the name of the server principal to authenticate. Currently 447 the server principal can be left unspecified and a default based on 448 the host keytab will be used. 449 450 This option is specified to the daemon through a command line option, 451 with the name of the principal whose credentials the daemon should 452 use specified as an environment variable. A simple handshake is 453 exchanged between the client and server in order to prevent 454 unecessary delays and protocol derailments when mixing authenticating 455 and non-authenticating clients and servers. 456 457 Revised based on review comments. 458 GSS-API authentication is now implemented as a per host option. 459 460 Revised further by me (Fergus Henderson) to fix a spelling error 461 and to rename the per host option from ",gssapi" to ",auth". 462 4632009-07-23 02:15 Fergus Henderson <opensource@google.com> 464 465 * doc/protocol-gssapi.txt[ADD]: 466 467 Apply patch from Ian.Baker@cern.ch: 468 469 Protocol Documentation for GSSAPI extension. 470 4712009-07-22 21:39 Fergus Henderson <opensource@google.com> 472 473 * Makefile.in: 474 475 Add Makefile target "man-html" for rebuilding the (checked-in) HTML 476 versions of the man pages. This allows you to view the changes with 477 "svn diff" before running "make upload-man" which commits them. 478 479 Reviewed by Craig Silverstein. 480 4812009-07-22 17:29 Fergus Henderson <opensource@google.com> 482 483 * src/access.c, src/access.h, src/srvnet.c, src/zeroconf-reg.c: 484 485 Apply distcc-v6-acl-2.patch from Bob Ham <rah@bash.sh>: 486 - Implements IPv6 support for access control. 487 - Restrict zeroconf advertisements to IPv4 if 488 RFC2553 support isn't enabled. 489 - Modifies the non-RFC2553 code to use inet_aton() 490 instead of the RFC2553-specific inet_pton(). 491 4922009-07-22 17:22 Fergus Henderson <opensource@google.com> 493 494 * man/include_server.1: 495 496 Improve some slightly misleading documentation. 497 4982009-06-30 21:37 Fergus Henderson <opensource@google.com> 499 500 * gnome/distccmon-gnome.desktop: 501 502 Swedish translation, from Nille <nille.kungen@gmail.com>. 503 5042009-04-18 00:03 Fergus Henderson <opensource@google.com> 505 506 * Makefile.in: 507 508 Apply patch from Assar <assar@permabit.com>: 509 510 If any of the files in the source directory are not writable, running 511 "make dist" will prompt you if you want to remove those files in the 512 temporary distribution directory (distcc-3.1). 513 514 The following tiny patch fixes that. 515 5162009-04-14 03:10 benizi 517 518 * src/zeroconf.c: 519 520 Remove duplicate hosts from the zeroconf list. 521 522 Fixes issue 43 <http://code.google.com/p/distcc/issues/detail?id=43>. 523 As mentioned in issue 34 524 <http://code.google.com/p/distcc/issues/detail?id=34>, 525 hosts with both IPv4 and IPv6 addresses showed up twice if avahi is 526 IPv6-enabled. So, filter out duplicates using the service name. 527 5282009-04-10 20:26 Fergus Henderson <opensource@google.com> 529 530 * src/exec.c: 531 532 (1) Layout/whitespace changes; the layout of this file 533 seems to have gotten mixed up when we changed from 534 using tabs to using spaces. 535 536 (2) Fix spacing in a log message. 537 538 Reviewers: Craig Silverstein 539 5402009-04-10 19:26 Fergus Henderson <opensource@google.com> 541 542 * test/testdistcc.py: 543 544 Fix a distcc test that was failing on modern kernels: 545 ignore a spurious warning from gdb. 546 547 According to Paul Pluzhnikov, the warning is gone from current GDB, 548 fixed by the following patch: 549 550 2008-04-21 Pedro Alves <pedro@codesourcery.com> 551 552 * symfile.c (syms_from_objfile): Don't warn if lowest loadable 553 section is not a code section. 554 555 But since there are going to be some versions of gdb in the wild that 556 don't have that patch, we still need to work around it in the distcc 557 tests. 558 559 Reviewed by Craig Silverstein. 560 5612009-04-10 17:37 Fergus Henderson <opensource@google.com> 562 563 * test/testdistcc.py: 564 565 A fix for distcc issue 44 "Failed tests on make check (gentoo 566 gcc-4.3.3)" 567 <http://code.google.com/p/distcc/issues/detail?id=44>. 568 We were using an invalid signature for main(), and newer versions of 569 gcc 570 are stricter about checking this. 571 572 Reviewed by Craig Silverstein. 573 5742009-03-06 13:55 IanRichardBaker 575 576 * src/include_server_if.c: 577 578 Fixed a portability issue that causes compilation to fail on 64 bit 579 boxes. 580 5812009-02-17 23:10 Fergus Henderson <opensource@google.com> 582 583 * src/dotd.c, src/emaillog.c, src/include_server_if.c, src/lsdistcc.c, 584 src/rslave.c, src/stringmap.c, src/timeval.c: 585 586 Ensure that all ".c" files start with "#include <config.h>". 587 588 This will hopefully fix issue 39 589 <http://code.google.com/p/distcc/issues/detail?id=39>. 590 Some header files were using #if statements that depended on macros 591 defined in config.h 592 without #including config.h first. The result was a compilation error, 593 because 594 "#if !HAVE_DECL_SNPRINTF" was evaluating to true because config.h 595 hadn't been included, 596 causing us to declare snprintf() when we shouldn't, leading to a 597 conflict with the 598 declaration in the standard header files. 599 600 (The alternative solution would have been to add "#include <config.h>" 601 to every header file that uses '#if'. I decided not to do that, just 602 for consistency with the existing code.) 603 6042009-02-17 23:10 Fergus Henderson <opensource@google.com> 605 606 * packaging/rpm.sh: 607 608 Fix a non-portability in rpm.sh: 609 use "trap ... HUP" rather than "trap ... SIGHUP". 610 611 The Posix.1 standard 612 <http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#trap> 613 says: 614 The condition can be EXIT, 0 (equivalent to EXIT), or a signal 615 specified 616 using a symbolic name, without the SIG prefix, as listed in the tables 617 of signal names in the <signal.h> header [...]; for example, HUP, INT, 618 QUIT, TERM. Implementations may permit names with the SIG prefix or 619 ignore case in signal names as an extension. 620 621 Previously, the code was relying on this optional extension. 622 6232009-01-30 17:27 Fergus Henderson <opensource@google.com> 624 625 * include_server/macro_eval.py, include_server/parse_file.py, 626 test/testdistcc.py: 627 628 Fix issue 35 <http://code.google.com/p/distcc/issues/detail?id=35>. 629 This was a bug where the include server was crashing in certain cases 630 (when the argument to a macro ended in a backslash) due to an escaping 631 problem in the use of Python's re.sub() function. The fix was to 632 replace all occurrences of backslash in the replacement string 633 with double-backslash, which re.sub() will then translate back to 634 a single backslash. (I also changed the code to not bother using 635 re.compile() since we only use the regexp once.) 636 637 Also, fix a bug where we were not allowing backslashes in filenames. 638 639 I added regression tests for both of these bugs 640 (and I verified that they were true regression tests). 641 642 Reviewed by Craig Silverstein. 643 6442009-01-26 23:50 Fergus Henderson <opensource@google.com> 645 646 * pump.in: 647 648 Handle failure of "mktemp" more gracefully in the pump script. 649 It was printing an error message, but then it would continue 650 on even if mktemp had failed (it called "exit 1", but only 651 in a subshell). It would then go on and try to start the 652 include server, which would end up hanging. 653 The fix is to make sure that we call "exit 1" from the main 654 shell whenever MakeTmpFile fails. 655 656 Reviewed by Craig Silverstein. 657 6582009-01-22 05:33 adshea 659 660 * man/distcc.1, src/hosts.c, src/zeroconf.c: 661 662 IPv6 patch for Zeroconf and and IPv6 literals in hosts file. 663 * Still needs configure flag masking for IPv6 literals 664 * Needs some fix for zeroconf hosts that have both and IPv6 and IPv4 665 address 666 6672009-01-20 22:22 Fergus Henderson <opensource@google.com> 668 669 * doc/web/index.html, doc/web/man/index.html[ADD]: 670 671 - Add pointer to the INSTALL file to the main page. 672 - Create an index.html in doc/web/man to make the 673 presentation of that page prettier. 674 Previously it was a rather ugly directory listing 675 of file names like "distcc_1.html", "distccd_1.html", etc. 676 - Add links to the INSTALL file and README* files 677 from that doc/web/man/index.html page. 678 679 Reviewed by Craig Silverstein. 680 6812009-01-09 17:46 Fergus Henderson <opensource@google.com> 682 683 * doc/web/index.html: 684 685 Fix broken link to distccWebView. 686 6872009-01-09 08:54 akim.demaille 688 689 * src/distcc.c: 690 691 "distcc --scan-includes" dumps core. 692 693 * src/distcc.c (main): Don't dump --help on the user on command 694 line error, rather, return the `Try --help' message on stderr. 695 Check that --scan-includes is given arguments. 696 6972009-01-05 22:48 Fergus Henderson <opensource@google.com> 698 699 * src/distcc.c: 700 701 Document the --scan-includes option in the output of "distcc --help". 702 7032009-01-05 20:29 Fergus Henderson <opensource@google.com> 704 705 * Makefile.in, pump.in: 706 707 Avoid using "echo -n", because it's not portable. 708 7092009-01-05 20:18 Fergus Henderson <opensource@google.com> 710 711 * test/testdistcc.py: 712 713 Portability fix: the CPlusPlus_SystemIncludeDirectories_Case 714 was assuming that /usr/include/sys/types.h exists, but was 715 not checking this assumption. 716 7172008-12-22 22:21 Fergus Henderson <opensource@google.com> 718 719 * include_server/compiler_defaults.py: 720 721 Fix a bug where the SystemIncludeDirectories_Case test 722 was failing on systems where /tmp was a symlink. 723 This failure indicated a real bug: on such systems, 724 distcc was not correctly handling -I<dir> where 725 <dir> is a subdirectory of a system include directory, 726 e.g. -I/usr/include/foo. 727 728 The code was calling _RealPrefix(client_root + system_dir) 729 but was implicitly assuming that the answer would always 730 start with client_root. That is, it was implicitly assuming 731 that client_root did not contain any symlinks. 732 733 I changed the code to use 734 _RealPrefixWithinClientRoot(client_root, system_dir) 735 so that it would find the appropriate prefix of system_dir 736 rather than looking at the prefixes of client_root. 737 7382008-12-22 21:56 Fergus Henderson <opensource@google.com> 739 740 * include_server/compiler_defaults.py: 741 742 When computing the compiler's default search path by parsing the 743 output 744 from "gcc -v", ignore Apple-modified MacOS gcc's "framework" 745 directories. 746 7472008-12-10 20:22 Fergus Henderson <opensource@google.com> 748 749 * INSTALL: 750 751 Clarify installation instructions; in particular, if you have python 752 installed, you need to also have Python.h installed before building 753 distcc. 754 755 Reviewer: Craig Silverstein 756 7572008-12-03 00:54 Fergus Henderson <opensource@google.com> 758 759 * include_server/setup.py: 760 761 Avoid a spurious message 'setup.py: PYTHON_CFLAGS must be defined.' 762 The top-level Makefile sets CFLAGS="$(CFLAGS) $(PYTHON_CFLAGS)" 763 before invoking setup.py, so there's no need for it to set 764 PYTHON_CFLAGS. 765 7662008-12-02 21:49 Fergus Henderson <opensource@google.com> 767 768 * ChangeLog: 769 770 Update ChangeLog with some more changes for distcc 3.1. 771 7722008-12-02 21:44 Fergus Henderson <opensource@google.com> 773 774 * Makefile.in, NEWS, configure.ac, include_server/setup.py: 775 776 1. Fix some compilation errors arising from the use of 777 -Wwrite-strings when compiling the python extension module, 778 due to lack of const correctness in the Python 2.2 779 "Python.h" header file. 780 This problem was introduced by the fix for distcc issue 26 781 <http://code.google.com/p/distcc/issues/detail?id=26>. 782 The solution was to explicitly disable these warnings 783 with -Wno-write-strings. 784 785 2. Centralize the use of gcc-specific compilation options 786 in conditional code in configure.ac that is only executed 787 if we're using gcc. Previously include_server/setup.py 788 was hard-coding gcc-specific options, regardless of 789 whether we're using gcc. 790 791 3. Don't use -Wuninitialized if CFLAGS doesn't contain "-O*", 792 because -Wuninitialized only works if optimization is enabled. 793 This avoids a gcc warning (and hence an error with -Werror) 794 about -Wuninitialized not having any effect 795 when distcc is configured with "CFLAGS=-g ./configure". 796 797 4. Add a new configure option "--disable-Werror". 798 799 For the 3.0 release of distcc, some people porting distcc 800 resorted to patching distcc to remove the -Werror option. 801 -Werror is useful, so I want to keep it enabled by default, 802 but I'd prefer that people are able to port distcc easily, 803 hence the configure option. 804 805 This addresses distcc issue 20 806 <http://code.google.com/p/distcc/issues/detail?id=20>. 807 808 Reviewers: Craig Silverstein 809 8102008-12-01 23:44 Fergus Henderson <opensource@google.com> 811 812 * ChangeLog, NEWS, configure.ac: 813 814 Bump version number to 3.1, and update the NEWS file and ChangeLog. 815 816 Reviewed by Craig Silverstein. 817 8182008-10-27 22:11 Fergus Henderson <opensource@google.com> 819 820 * Makefile.in: 821 822 Apply matsuu's patch to fix issue 26 "missing CFLAGS for 823 include-server" 824 <http://code.google.com/p/distcc/issues/detail?id=26>. 825 8262008-10-27 14:38 Fergus Henderson <opensource@google.com> 827 828 * include_server/c_extensions/distcc_pump_c_extensions_module.c: 829 830 Applied matsuu's patch for issue 27 "failed to make distcc" 831 <http://code.google.com/p/distcc/issues/detail?id=27>, 832 which was a build problem on "Gentoo, x86-64, gcc-4.1.2, 833 glibc-2.6.1, python-2.5.2". 834 8352008-10-27 14:17 Fergus Henderson <opensource@google.com> 836 837 * Makefile.in: 838 839 Include the "m4" directory in the source distribution tarball, 840 so that users of the source distribution can (re)run "autogen.sh". 841 842 Reviewers: Craig Silverstein 843 8442008-10-05 16:43 Fergus Henderson <opensource@google.com> 845 846 * src/arg.c: 847 848 Fix a silly mistake (missing "== 0" after strcmp() call) 849 that broke the parsing of "-Wp,-MMD,..." options. 850 851 This fixes <http://code.google.com/p/distcc/issues/detail?id=22>. 852 8532008-09-27 01:57 Fergus Henderson <opensource@google.com> 854 855 * include_server/test_data/gws-main.o.cmd[DEL]: 856 857 Delete an unused test data file; it became dead after my 858 previous change which deleted the test that used it. 859 8602008-09-27 01:55 Fergus Henderson <opensource@google.com> 861 862 * include_server/parse_command_test.py: 863 864 Delete an unused test case: the test was hard-coded to always pass 865 anyway, 866 so it wasn't testing anything useful. 867 8682008-09-13 17:23 Fergus Henderson <opensource@google.com> 869 870 * doc/web/man/distcc_1.html, man/distcc.1, src/exitcode.h: 871 872 Incorporate 01_distcc_man.dpatch from debian distribution. 873 This patch adds documentation of all of the exit codes to the man 874 page. 875 876 Also add comment to exitcode.h reminding maintainers to update the man 877 page. 878 879 Also update the HTML versions of the man pages. 880 8812008-09-11 18:48 Fergus Henderson <opensource@google.com> 882 883 * NEWS, include_server/include_analyzer.py, man/distcc.1, src/clirpc.c, 884 src/compile.c, src/compile.h, src/distcc.c, src/distcc.h, 885 src/include_server_if.c, src/include_server_if.h, src/util.c, 886 test/testdistcc.py: 887 888 Provides a simple shell API to the include server: 889 add a new "--scan-includes" option to distcc which shows 890 which headers distcc would send to the remote machine in 891 pump mode, without actually compiling anything. 892 8932008-09-10 02:39 Fergus Henderson <opensource@google.com> 894 895 * pump.in: 896 897 Fix <http://code.google.com/p/distcc/issues/detail?id=19>: 898 the pump script was hard-coding /etc/distcc/hosts rather 899 than using the prefix specified to configure. 900 901 Reviewed by Craig Silverstein. 902 9032008-09-08 17:51 Fergus Henderson <opensource@google.com> 904 905 * Makefile.in, src/hosts.c: 906 907 Report a better error message if a host specification contains ",cpp" 908 but not ",lzo". 909 910 Previously, setting ",cpp" without ",lzo" would quietly set the 911 protocol 912 version to -1, which the server would then quietly reject (logging as 913 "REJ_BAD_REQ"), and then the client would guess (poorly) at why the 914 server had dropped the connection. 915 916 Reviewed by Craig Silverstein. 917 9182008-08-07 22:58 Fergus Henderson <opensource@google.com> 919 920 * doc/web/man/distcc_1.html, doc/web/man/pump_1.html: 921 922 Update the HTML versions of the man pages. 923 9242008-08-07 22:50 Fergus Henderson <opensource@google.com> 925 926 * doc/web/index.html: 927 928 Delete a duplicate link in the side-bar. 929 9302008-08-06 20:37 Fergus Henderson <opensource@google.com> 931 932 * ChangeLog, NEWS, configure.ac: 933 934 Change version number to "3.0", and update NEWS file and ChangeLog. 935 9362008-08-06 15:37 Fergus Henderson <opensource@google.com> 937 938 * man/distcc.1, man/pump.1: 939 940 Some final documentation updates before 3.0. 941 942 In the distcc man page: 943 - remove description of a bug that's been fixed now (distcc issue 7) 944 - make it a little clearer that in pump mode we don't ship the header 945 files from the default system header directories to the server 946 - add a new section header "RESTRICTIONS OF PUMP MODE" 947 - some typographical corrections. 948 949 In the pump man page: 950 - add a prominent pointer to the distcc man page, 951 in particular to the "RESTRICTIONS OF PUMP MODE" section. 952 953 Reviewers: Craig Silverstein 954 955## distcc 3.0rc4. 956 9572008-08-02 19:54 Fergus Henderson <opensource@google.com> 958 959 * ChangeLog, NEWS, configure.ac: 960 961 Time for another release candidate. 962 9632008-08-02 19:49 Fergus Henderson <opensource@google.com> 964 965 * test/testdistcc.py: 966 967 Add C++ version of the SystemIncludeDirectories test. 968 969 Also, reduce code duplication a little by adding a compileOpts() 970 function to 971 the CompilationCase class, and overriding that, rather than 972 compileCmd(), 973 in various derived classes. 974 9752008-08-02 17:50 Fergus Henderson <opensource@google.com> 976 977 * include_server/compiler_defaults.py: 978 979 Fix a TODO in compiler_defaults.py that was responsible for a bug 980 that broke pump mode when one of the default system include 981 directories 982 was a subdirectory of another, as turns out to be the case for GNU 983 C++. 984 985 The CPlusPlus_SystemIncludeDirectories_Case, which was failing before 986 this 987 change, now passes. (TODO: re-enable it.) 988 989 Reviewers: Craig Silverstein 990 9912008-08-02 01:30 Fergus Henderson <opensource@google.com> 992 993 * bench/benchmark.py: 994 995 Make the benchmarking script's stdout and stderr line buffered. 996 997 Reviewers: Craig Silverstein 998 9992008-08-02 01:27 Fergus Henderson <opensource@google.com> 1000 1001 * test/testdistcc.py: 1002 1003 Add a test of C++ compilation, and refactor the tests of Objective-C 1004 and Objective-C++ to share the common code. 1005 1006 Also, fix some bugs in the tests of Objective-C and Objective-C++. 1007 These tests were never being activated, even when the right compiler 1008 is 1009 installed, because in the test compilation (not using distcc) it was 1010 compiling with "-o /dev/null" and then testing that testtmp.o exists, 1011 which it never did. There was also a missing "std::" in the 1012 Objective-C++ 1013 test. I still haven't run the Objective-C++ test, because I still 1014 haven't 1015 figured out how to install Objective-C++, but it's pretty similar to 1016 the C++ and Objective-C tests, and both of those now run and pass. 1017 1018 Reviewers: Craig Silverstein 1019 10202008-08-01 20:59 Fergus Henderson <opensource@google.com> 1021 1022 * bench/ProjectDefs.py: 1023 1024 Update a stale URL. 1025 1026## distcc 3.0rc3. 1027 10282008-08-01 03:42 Fergus Henderson <opensource@google.com> 1029 1030 * include_server/basics.py: 1031 1032 Increase MAX_COMPONENTS_IN_SERVER_ROOT from 10 to 20. 1033 1034 It turns out that our own test infrastructure (test/testdistcc.py) 1035 sets TMPDIR before invoking distccd, so this needs to be reasonably 1036 high, otherwise 'make distcheck' will fail. 1037 10382008-08-01 03:11 Fergus Henderson <opensource@google.com> 1039 1040 * Makefile.in: 1041 1042 List va_copy.h in HEADERS, so that it gets included in the source 1043 distribution. 1044 10452008-07-31 19:19 Fergus Henderson <opensource@google.com> 1046 1047 * ChangeLog, NEWS, configure.ac: 1048 1049 Bump version number to 3.0rc3, and update NEWS file and ChangeLog. 1050 1051 Reviewed by Craig Silverstein. 1052 10532008-07-31 05:40 Fergus Henderson <opensource@google.com> 1054 1055 * src/distcc.h, src/filename.c: 1056 1057 Fix issue 10 <http://code.google.com/p/distcc/issues/detail?id=10>: 1058 add a work-around for a spurious gcc warning. 1059 1060 Also, add a missing check for strdup() returning NULL. 1061 10622008-07-30 22:56 Fergus Henderson <opensource@google.com> 1063 1064 * src/dotd.c, src/serve.c, src/strip.c, test/testdistcc.py: 1065 1066 Add a test case to test "-MT" and "-MF" without spaces after them. 1067 1068 Some more bug fixes to make the test case pass. 1069 1070 Also, make the DashWpMD_Case test a bit more strict: disable 1071 fallbacks, so that it tests that we can distribute such jobs. 1072 10732008-07-30 02:28 Fergus Henderson <opensource@google.com> 1074 1075 * src/fix_debug_info.c, src/netutil.c, src/snprintf.c, src/srvnet.c: 1076 1077 Fix some warnings with -Wcast-align that show up only on machines 1078 that don't support unaligned accesses. 1079 1080 Fix some const correctness warnings that show up only on machines 1081 that don't have vsnprintf(). 1082 1083 Reviewers: Craig Silverstein 1084 10852008-07-30 02:27 Fergus Henderson <opensource@google.com> 1086 1087 * src/arg.c: 1088 1089 Fix issue 13 <http://code.google.com/p/distcc/issues/detail?id=13>: 1090 allow distcc to distribute commands that use "-MF<filename>" 1091 rather than "-MF <filename>", and likewise for -MT and -MQ. 1092 10932008-07-30 01:13 Fergus Henderson <opensource@google.com> 1094 1095 * src/clirpc.c, src/tempfile.c: 1096 1097 Apply patch from e...@jessies.org in 1098 <http://code.google.com/p/distcc/issues/detail?id=9>: 1099 1100 use S_ISLNK and S_ISDIR macros, to make the code more readable. 1101 11022008-07-29 23:04 Fergus Henderson <opensource@google.com> 1103 1104 * Makefile.in: 1105 1106 In the Makefile, add a target for running a single test in pump mode. 1107 11082008-07-29 22:19 Fergus Henderson <opensource@google.com> 1109 1110 * include_server/basics.py, include_server/cache_basics.py, 1111 include_server/compiler_defaults.py, 1112 include_server/include_analyzer.py, include_server/macro_eval_test.py, 1113 include_server/mirror_path.py, include_server/mirror_path_test.py, 1114 include_server/parse_command_test.py, src/srvrpc.c, src/tempfile.c, 1115 test/testdistcc.py: 1116 1117 This is based on klarlund's original version of this patch 1118 (klarlund/d3b3): 1119 gvn --project https://distcc.googlecode.com/svn/trunk review 1120 klarlund/d3b3 1121 1122 Fix Issue 7: Compiling with -I/usr/include/FOO or ... in pump mode 1123 1124 Problem: 1125 1126 Default system include directories are the directories on the default 1127 include 1128 search path, such as /usr/include, that is determined by the compiler. 1129 Distcc 1130 will not send default system include directories to the distcc 1131 compilation 1132 servers. Nevertheless, distcc on the server blindly rewrites -I 1133 options such 1134 as -I/usr/include/foo to -I/tmp/distccNNN/usr/include/foo. 1135 1136 This doesn't work, since the files in /usr/include/foo are not sent to 1137 the 1138 distccd server. 1139 1140 Solution: 1141 1142 The present solution keeps the rewriting on the server, because we 1143 would like 1144 to not manage starting the compiler, parsing its output, and storing 1145 the 1146 default system paths on the server 1147 1148 Instead, we use the existing mechanism for defining relative symbolic 1149 links 1150 under the server root. We escape from the root by using a sufficient 1151 number 1152 of '../'s. 1153 1154 All this is tremendously complicated by: 1155 1156 -- The possibility that other links encountered may point into the 1157 system 1158 default dirs in which case the usual mirroring of the reachable places 1159 should not take place, because the routing of such links will go 1160 through 1161 the link created for the system directory. 1162 1163 -- The fact that determination of default-system-dirness is lazy: a 1164 deeply-seated link in a default system dir may become obsolete if it 1165 is 1166 later determined that a higher directory than the parent directory of 1167 the 1168 link is in fact also a default system dir. In that case, a new 1169 symlink, 1170 sitting in a place higher than the previous one will need to be 1171 created. 1172 1173 Tests: 1174 1175 make check 1176 benchmarks: samba (still 3X faster than with distcc), linux 2.6 1177 kernel, and 1178 a couple of others 1179 1180 TODO: better testing 1181 TODO: 1182 > In compiler_defaults.py, _MakeLinkFromMirrorToRealLocation: 1183 > Maybe comment each of the 'if' cases with an example of how this 1184 case 1185 > might be triggered. eg the real_prefix == rooted_system_dir is 1186 > triggered when we see /usr/include/foo, and the later see 1187 > /usr/include. 1188 11892008-07-29 22:17 Fergus Henderson <opensource@google.com> 1190 1191 * configure.ac, src/snprintf.c, src/trace.c, src/va_copy.h: 1192 1193 Fix a bug that caused "make check" to fail: MissingCompiler_Case 1194 was reporting an unexpected exit status: 139 instead of 110. 1195 This was caused by a seg fault in distccd, deep in the bowels of 1196 vsnprintf(), which appears to be due to calling vsnprintf() twice 1197 on the same va_list. The fix is to use va_copy() in src/trace.c. 1198 1199 Of course it's never quite as easy as that. va_copy() exists 1200 only in C99, not in C89. Some implementations have __va_copy() 1201 but not va_copy(). So we need to autoconf it. There was 1202 already an autoconf test for this, but only for __va_copy. 1203 I've moved the code which defined VA_COPY from snprintf.c to 1204 a new header file va_copy.h, and added a VA_COPY_END macro. 1205 1206 Also, fix another bug that I noticed at the same time: 1207 snprintf.c was using va_copy(), but was not matching each 1208 call to va_copy with a corresponding call to va_end(), 1209 as required by the C99 standard. 1210 12112008-07-17 21:59 Lei Zhang <opensource@google.com> 1212 1213 * configure.ac: 1214 1215 This adds an option for disabling avahi and friends. This is useful 1216 for 1217 building distcc targeted to machines without libavahi on a machine 1218 with libavahi. 1219 1220 Reviewed by Fergus Henderson. 1221 12222008-07-02 00:34 Fergus Henderson <opensource@google.com> 1223 1224 * Makefile.in: 1225 1226 Fix a bug reported by Aaron P. Perez <Aaron.Perez@hospira.com> 1227 where "make install" was failing on Cygwin. 1228 1229 The problem was due to the install.log file generated by Python's 1230 distutils being generated in DOS text mode format rather than 1231 Unix text mode format. The fix is to use 'sed' to convert 1232 DOS text format to Unix text format when generating install.log. 1233 1234 Note: this fix is slightly different than the original patch 1235 that I posted to the distcc mailing list. This patch is better 1236 because it fixes the install.log file, rather than just the 1237 grep command; this is important because the install.log file 1238 is also used for "make uninstall". 1239 1240 Reviewers: Craig Silverstein 1241 12422008-06-30 17:10 Nils Klarlund <opensource@google.com> 1243 1244 * include_server/include_analyzer.py, 1245 include_server/include_analyzer_memoizing_node.py, 1246 include_server/include_analyzer_memoizing_node_test.py, 1247 include_server/include_analyzer_test.py, 1248 include_server/parse_command.py, include_server/parse_command_test.py: 1249 1250 Revert r393. 1251 1252 This change is mostly reverted -- some variable renamings are not 1253 changed back. A subsequent CL proposes a less arbitrary way to solve 1254 the problem of -I<some_dir_in_default_place_where_compiler_looks>, 1255 which involves sending no system default header files at all. 1256 1257 Tests: make pump-check and make include-server-check 1258 12592008-06-27 21:59 Fergus Henderson <opensource@google.com> 1260 1261 * NEWS: 1262 1263 Delete a duplicate entry from the NEWS file. 1264 1265 Reviewers: Craig Silverstein 1266 12672008-06-24 22:06 Fergus Henderson <opensource@google.com> 1268 1269 * packaging/googlecode_upload.py: 1270 1271 Fix wrong description for uploaded distcc-<version>.tar{.gz,.bz2} 1272 files. 1273 1274 Reviewers: Craig Silverstein 1275 1276## distcc 3.0rc2. 1277 12782008-06-20 15:17 Fergus Henderson <opensource@google.com> 1279 1280 * ChangeLog, NEWS: 1281 1282 Update NEWS file and ChangeLog for distcc 3.0rc2. 1283 1284 Also mention new website, repository and maintainer in NEWS file. 1285 12862008-06-20 02:54 Fergus Henderson <opensource@google.com> 1287 1288 * configure.ac: 1289 1290 Bump version number to 3.0rc2. 1291 12922008-06-19 22:25 Fergus Henderson <opensource@google.com> 1293 1294 * src/gcc-id.c, src/zeroconf-reg.c, src/zeroconf.c: 1295 1296 Add "Copyright (C) 2007 Lennart Poettering" to zeroconf.c, 1297 zeroconf-reg.c, 1298 and gcc-id.c. Remove Google copyright notice from src/gcc-id.c, since 1299 the Google changes to that file were very minor. 1300 13012008-06-19 20:55 Fergus Henderson <opensource@google.com> 1302 1303 * Makefile.in, packaging/deb.sh, packaging/rpm.sh: 1304 1305 Change the deb.sh and rpm.sh scripts to remove old .deb or .rpm 1306 files (for the same package and version) before generating the new 1307 ones. 1308 Similarly change "make install-deb" and "make upload-dist" so that 1309 they are more selective in which files they install. 1310 1311 This fixes a bug where "make install-deb" tried to install the wrong 1312 .deb files, because it just did "rpm -i *.deb", and there can be old 1313 .deb files lying around. It also fixes a similar problem in "make 1314 upload-dist". 1315 1316 Also, add a "tags" target to the Makefile. 1317 1318 Reviewers: Craig Silverstein 1319 13202008-06-18 03:30 Fergus Henderson <opensource@google.com> 1321 1322 * include_server/compiler_defaults.py: 1323 1324 Fix bug where the include server would crash if the PATH environment 1325 variable wasn't set. 1326 13272008-06-18 02:23 Fergus Henderson <opensource@google.com> 1328 1329 * packaging/RedHat/conf/clients.allow: 1330 1331 Fix a missing word in a comment. 1332 13332008-06-17 20:26 Fergus Henderson <opensource@google.com> 1334 1335 * src/compile.c, src/lock.c, src/remote.c, src/where.c, src/where.h: 1336 1337 Fix for a deadlock bug 1338 <http://code.google.com/p/distcc/issues/detail?id=1> 1339 that I observed (once!) when compiling the Linux kernel in pump mode: 1340 1341 - Ensure that locks are acquired in the reverse order that they will 1342 be released: acquire remote lock before local lock. 1343 - Ensure that locks are released on all fallback paths. 1344 - Rename dcc_pick_host_from_list() as 1345 dcc_pick_host_from_list_and_lock_it(), 1346 so that its locking effect is clearer. 1347 - Document the lock ordering invariants. 1348 - Document the unlocking behaviour of dcc_compile_remote(). 1349 1350 Reviewers: Craig Silverstein, Nils Klarlund 1351 13522008-06-17 18:32 Fergus Henderson <opensource@google.com> 1353 1354 * man/distcc.1: 1355 1356 Document the limitations of pump mode w.r.t. debugging on 1357 systems with non-ELF object files. 1358 1359 Reviewers: Craig Silverstein, Nils Klarlund 1360 13612008-06-11 16:10 Fergus Henderson <opensource@google.com> 1362 1363 * src/arg.c: 1364 1365 Apply patch from Maks Verver which fixes a bug where distcc 1366 was not doing the right thing when invoked with "-march=native" 1367 or "mtune=native". 1368 1369 This fixes <https://bugs.edge.launchpad.net/distcc/+bug/188813>. 1370 13712008-06-10 21:21 Fergus Henderson <opensource@google.com> 1372 1373 * doc/web/faq.html: 1374 1375 Document the use of ssh connection sharing. 1376 13772008-06-10 05:51 Craig Silverstein <opensource@google.com> 1378 1379 * pump.in: 1380 1381 When I moved the envvar declarations to inside the 'eval', I had to 1382 quote them to protect them from the extra level of evaluation, but I 1383 had failed to do this. This change makes it so I do. 1384 1385 Tested by running 'make pump-maintainer-check on linux (ubuntu). 1386 1387 Detected and reviewed by fergus 1388 1389## distcc 3.0rc1. 1390 1391## The following changes were made internally to Google, and not integrated 1392## into the main distcc distribution until 2008. The dates here are 1393## the dates they were applied to the internal-Google branch, and 1394## interleave with the changes to the main branch, below. 1395 13962008-06-10 02:20 Nils Klarlund <opensource@google.com> 1397 1398 * doc/web/benchmark.html: 1399 1400 Improve wording and accuracy of claims. 1401 1402 Just various relatively minor suggestions. I didn't understand the 1403 remarks 1404 about the importance of having 'beefier' remote machines (their raw 1405 CPU power 1406 are not different although RAM and number of CPUs per machine differ), 1407 so I took 1408 them out. Instead, a made a separate point about what would have 1409 happened if 1410 we'd used multiple-CPU clients. I put in a reference to our gws:gws 1411 benchmark, 1412 which drove our work. 1413 1414 Also, 1415 1416 -- Add side point about possible configurations issues and link to man 1417 pages. 1418 1419 -- The number 'four' (for # of hello compilations) was obtained by 1420 inspection of 1421 the distcc log. 1422 1423 1424 Review: csilvers and fergus (at Google). 1425 14262008-06-10 00:52 Craig Silverstein <opensource@google.com> 1427 1428 * pump.in: 1429 1430 Apparently, for freebsd's sh at least, "eval FOO=a bar" lets bar see 1431 FOO=a, while "FOO=a eval bar" does not. So change from the latter 1432 formulation to the former. 1433 1434 Tested by running 'make pump-maintainer-check' on freebsd and on linux 1435 (ubuntu). 1436 1437 Reviewed by klarlund 1438 14392008-06-10 00:09 Craig Silverstein <opensource@google.com> 1440 1441 * test/testdistcc.py: 1442 1443 While testdistcc.py tries to use port 42000 to communicate, if it 1444 fails it tries 42001, etc. When checking output, make sure we match 1445 the port we actually ended up binding on. 1446 1447 Tested by running 'make check' on a wide variety or architectures, 1448 including a FreeBSD machine where make check failed before this 1449 change. 1450 1451 Reviewed by fergus 1452 14532008-06-09 23:12 Craig Silverstein <opensource@google.com> 1454 1455 * man/distcc.1, man/distccd.1, man/include_server.1, man/pump.1: 1456 1457 Update date to june 9 instead of june 2. 1458 14592008-06-09 23:08 Craig Silverstein <opensource@google.com> 1460 1461 * configure.ac: 1462 1463 I had talked Fergus into changing the version number from 3.0rc1 to 1464 3.0-rc1. But now rpm is complaining that - is illegal in a version 1465 string, so I'm changing it back to 3.0rc1. Sorry Fergus... 1466 14672008-06-09 23:07 Craig Silverstein <opensource@google.com> 1468 1469 * ChangeLog: 1470 1471 I had talked Fergus into changing the version number from 3.0rc1 to 1472 3.0-rc1. But now rpm is complaining that - is illegal in a version 1473 string, so I'm changing it back to 3.0rc1. Sorry Fergus... 1474 14752008-06-09 22:02 Fergus Henderson <opensource@google.com> 1476 1477 * configure.ac: 1478 1479 Change version number to 3.0rc1 1480 (for "release candidate 1"). 1481 1482 Reviewers: Craig Silverstein 1483 14842008-06-09 21:22 Craig Silverstein <opensource@google.com> 1485 1486 * Makefile.in, doc/web/man/distcc_1.html, 1487 doc/web/man/include_server_1.html, packaging/RedHat/rpm.spec: 1488 1489 Update the html version of the man pages, based on the .1 updates. 1490 Add include_server, which is a new man page. Update the Makefile to 1491 know about the new man page, include it in the distribution, etc. 1492 Also update the rpm spec to include it too. 1493 14942008-06-09 20:31 Fergus Henderson <opensource@google.com> 1495 1496 * TODO: 1497 1498 Some updates to the TODO list to mark as done issues which are 1499 addressed 1500 in distcc 3.0. 1501 1502 Reviewers: Craig Silverstein 1503 15042008-06-09 20:28 Fergus Henderson <opensource@google.com> 1505 1506 * pump.in: 1507 1508 Rename "Critique" function as "ReportDiscrepancies", 1509 to make it clearer what the function does. 1510 1511 Reviewers: Craig Silverstein, Nils Klarlund 1512 15132008-06-09 19:59 Nils Klarlund <opensource@google.com> 1514 1515 * include_server/include_server.py, man/distcc.1, man/include_server.1, 1516 pump.in: 1517 1518 The missing include_server(1) man page and additional material about 1519 the basic 1520 assumptions of distcc-pump added to man/distcc.1 as well. The BUGS 1521 section 1522 of distcc.1 has been updated. 1523 1524 A spelling error correction is made to man/distcc.1. 1525 1526 The pump.in script is changed so that it does not introduce other 1527 certain 1528 defaults than those mentioned in the manual (which are those of the of 1529 include 1530 server). 1531 1532 Finally, I changed the order of the options in the include server 1533 source code to 1534 be alphabetical in accordance with include_server(1) man page. 1535 1536 Reviewers: fergus, csilvers. 1537 15382008-06-09 19:53 Nils Klarlund <opensource@google.com> 1539 1540 * find_c_extension.sh: 1541 1542 Correct obscure bug (that quoting a variable eliminates the conversion 1543 of 1544 newlines to spaces). 1545 1546 Reviewers: fergus and csilvers (at Google). 1547 15482008-06-09 16:38 Lei Zhang <opensource@google.com> 1549 1550 * src/lsdistcc.c, test/testdistcc.py: 1551 1552 lsdistcc should print non-default port numbers. 1553 1554 Reviewed by fergus 1555 15562008-06-09 15:04 Fergus Henderson <opensource@google.com> 1557 1558 * pump.in: 1559 1560 Fix typo in Nils' previous change. 1561 15622008-06-09 14:14 Nils Klarlund <opensource@google.com> 1563 1564 * pump.in, src/compile.c: 1565 1566 Add necessary message to pump script with warning that compilations 1567 were forced 1568 from distcc-pump mode into plain mode. 1569 1570 I had resisted doing this at first, because of the 1571 max_discrepancies_before_demotion constant in src/compile.c, which 1572 actually 1573 controls whether there were sufficiently many discrepancies to force a 1574 demotion. 1575 The problem is that the constant is not known to the pump script. It 1576 should be 1577 made configurable, through gosh, another env var. But that'll be for 1578 later. 1579 1580 This constant is currently 1 and it shouldn't be changed. 1581 1582 Reviewers: fergus and csilvers. 1583 15842008-06-07 01:21 Craig Silverstein <opensource@google.com> 1585 1586 * doc/web/benchmark.html, doc/web/compared.html, doc/web/compilers.html, 1587 doc/web/faq.html, doc/web/index.html, doc/web/results.html, 1588 doc/web/scenarios.html, doc/web/security.html: 1589 1590 Add a link to the man pages from the side-bar. 1591 1592 Also, fixed up the side-bar from a few non-top-level pages to be 1593 consistent with the top-level-pages bars: compilers.html and 1594 compared.html. 1595 15962008-06-07 01:16 Craig Silverstein <opensource@google.com> 1597 1598 * Makefile.in: 1599 1600 When uploading the package, we try to update the website as well. 1601 Since the website contents are checked into svn, that's just a matter 1602 of checking in any auto-generated html-ized pages (eg the man pages). 1603 16042008-06-07 01:13 Craig Silverstein <opensource@google.com> 1605 1606 * doc/web/benchmark.html, doc/web/man/distcc_1.html, 1607 doc/web/man/distccd_1.html, doc/web/man/distccmon_text_1.html, 1608 doc/web/man/pump_1.html: 1609 1610 Oops, the attribute is called svn:mime-type, not svn:content-type. 1611 16122008-06-07 01:10 Craig Silverstein <opensource@google.com> 1613 1614 * doc/web/man/distcc_1.html: 1615 1616 Update from the empty file. 1617 16182008-06-07 01:08 Craig Silverstein <opensource@google.com> 1619 1620 * doc/web/man, doc/web/man/distcc_1.html, doc/web/man/distccd_1.html, 1621 doc/web/man/distccmon_text_1.html, doc/web/man/pump_1.html: 1622 1623 Html version of the man pages, auto-generated. 1624 16252008-06-04 07:06 Craig Silverstein <opensource@google.com> 1626 1627 * Makefile.in: 1628 1629 The avahi files (zeroconf.c, etc), were being left out of the 1630 distribution tarball. Add them in. 1631 1632 Tested by running 'make distcheck' on a machine with avahi libs 1633 installed. 1634 1635 Reviewed by fergus 1636 16372008-06-04 06:04 Craig Silverstein <opensource@google.com> 1638 1639 * pump.in: 1640 1641 Get rid of setting is_in_installation; that variable isn't used 1642 anywhere anymore, so no reason to set it. 1643 1644 Tested by running 'make pump-maintainer-check'. 1645 1646 Reviewed by klarlund 1647 16482008-06-04 05:17 Craig Silverstein <opensource@google.com> 1649 1650 * Makefile.in: 1651 1652 It turns out setup.py has a bug(?) in its --record output: in theory, 1653 the paths of the --record fields should start with --prefix, but 1654 sometimes the paths remove the leading / from --prefix: 1655 1656 % env CPPFLAGS='-Isrc -Ilzo -Ipopt' SRCDIR=`pwd` 1657 include_server/setup.py install --prefix=/tmp/distcc-bar 1658 --record=/dev/stdout --root=/var/ 1659 tmp/distcc-bar/lib/python2.4/site-packages/include_server/parse_file_test.pyc 1660 [...] 1661 1662 % env CPPFLAGS='-Isrc -Ilzo -Ipopt' SRCDIR=`pwd` 1663 include_server/setup.py install --prefix=/tmp/distcc-bar 1664 --record=/dev/stdout --root=/var 1665 /tmp/distcc-bar/lib/python2.4/site-packages/include_server/parse_file_test.pyc 1666 [...] 1667 1668 It's hard to predict how, when and why it does this (--root=/ and 1669 --root="" are particularly confusing cases), but luckily we know we 1670 always want the leading slash: configure dies if --prefix isn't an 1671 absolute path. So with this change, we just let setup.py write 1672 whatever it wants to, and then add a leading slash before each line of 1673 the --record output if it's missing. 1674 1675 Tested by running 1676 ./configure --prefix=/tmp/distcc 1677 rm -rf /tmp/distcc; make install 1678 rm -rf /var/tmp/tmp/distcc; make install DESTDIR=/var/tmp 1679 rm -rf /var/tmp/tmp/distcc; make install DESTDIR=/var/tmp/ 1680 and verified that files ended up where expected, and the pump script 1681 looked like expected (with pump's sibling files living in 1682 /tmp/distcc/...). 1683 1684 Reviewed by fergus 1685 16862008-06-03 23:06 Craig Silverstein <opensource@google.com> 1687 1688 * Makefile.in, configure.ac: 1689 1690 Fix up the list of zeroconf files needed to actually compile distcc 1691 and distccd. 1692 1693 Tested by installing avahi and running 'make' plus 'make check'. 1694 1695 Reviewed by klarlund 1696 16972008-06-03 21:00 Craig Silverstein <opensource@google.com> 1698 1699 * src/zeroconf.h: 1700 1701 Fix up the top-of-file comments to look the same as for all the other 1702 files. 1703 17042008-06-03 20:58 Craig Silverstein <opensource@google.com> 1705 1706 * src/zeroconf-reg.c, src/zeroconf.c: 1707 1708 Fix some extra comment specifiers that shouldn't have been there. 1709 17102008-06-03 12:30 Nils Klarlund <opensource@google.com> 1711 1712 * man/distcc.1, man/distccd.1, man/pump.1: 1713 1714 Various edits: 1715 1716 -- refer to pump(1) credits (and remove distcc(1) credits from pump(1) 1717 credentials) 1718 -- detail fundamental include server assumption 1719 -- clean up incl server discussion 1720 -- refer to include_server(1) for hairy stuff (this man page is to 1721 follow shortly in separate CL) 1722 -- discuss shell scripts instead of symlinks 1723 -- change date to June 2 2008 1724 -- other minor edits 1725 17262008-06-03 05:43 Craig Silverstein <opensource@google.com> 1727 1728 * NEWS: 1729 1730 Update the release date. 1731 17322008-06-03 05:32 Craig Silverstein <opensource@google.com> 1733 1734 * bench/ProjectDefs.py: 1735 1736 Add some new benchmark routines (including C++ projects like yate and 1737 ACE), and normalize syntax for existing ones. I've tested that we can 1738 at least build all of these projects locally, as long as all neccesary 1739 dependent packages are installed. 1740 1741 Reviewed by fergus 1742 17432008-06-03 03:45 Fergus Henderson <opensource@google.com> 1744 1745 * bench/Build.py, pump.in: 1746 1747 Fix a bug in the pump script where it wasn't waiting for the include 1748 server to terminate before exiting. 1749 1750 Reviewers: Nils Klarlund, Craig Silverstein 1751 17522008-06-03 00:32 Craig Silverstein <opensource@google.com> 1753 1754 * doc/web/faq.html, doc/web/index.html, doc/web/results.html, 1755 doc/web/scenarios.html, doc/web/security.html: 1756 1757 Revamp the toc sidebar to organize the categories a bit better. Also 1758 added a benchmark line. 1759 17602008-06-03 00:32 Craig Silverstein <opensource@google.com> 1761 1762 * doc/web/benchmark.html: 1763 1764 Add benchmark results, and a discussion of same. 1765 1766 Reviewed by klarlund 1767 17682008-06-02 22:38 Fergus Henderson <opensource@google.com> 1769 1770 * src/clirpc.c: 1771 1772 Fix spelling error and punctuation in warning message. 1773 1774 Reviewers: Craig Silverstein 1775 17762008-06-02 19:35 Nils Klarlund <opensource@google.com> 1777 1778 * include_server/basics.py, include_server/cache_basics.py, 1779 include_server/include_server.py, pump.in: 1780 1781 Fix option real_path_warning_re not working. 1782 1783 I renamed the option to path_observation_re. Now by prefixing 1784 1785 INCLUDE_SERVER_ARGS='-d1 --path_observation_re="/usr/.*"' 1786 1787 to say make include-server-maintainer-check, one gets a message each 1788 time the 1789 include server finds a path whose realpath name matches the regular 1790 expression. 1791 That results in messages like: 1792 1793 WARNING include server: For translation unit 'src/testtmp.c', lookup 1794 of file 1795 'bits/stdio_lim.h' resolved to '/usr/include/bits/stdio_lim.h' whose 1796 realpath is 1797 '/usr/include/bits/stdio_lim.h'. 1798 1799 To make the interpretation of quoted arguments within 1800 INCLUDE_SERVER_ARGS 1801 correct, I added 'eval' to the command that cranks up the include 1802 server. I 1803 remembered to put extra quoted quotes inside the parameters that 1804 should be 1805 considered a token after the double interpretation that eval implies. 1806 18072008-05-31 00:38 Nils Klarlund <opensource@google.com> 1808 1809 * test/comfychair.py, test/testdistcc.py: 1810 1811 Tidy-up testing framework to overcome recently introduced bug. 1812 1813 Testing on cygwine revealed that as tests were being issued the 1814 temporary 1815 testing directory would suffer from longer and longer prefixes until a 1816 'filename 1817 too long' error would stop the party. This is result of an earlier 1818 attempt to 1819 avoid too much printing to stdout during tests, spefically during 1820 recursive test 1821 invocations. 1822 1823 The problem is that the teardown mechanism of the comfychair 1824 enviroment is not 1825 expressed -- by any name at all (it could be 'teardown' for example). 1826 So, I 1827 added a name --- but because there's no expectation that the TestCase 1828 class 1829 defined there has its teardown method called from derived classes --- 1830 I chose 1831 the name CleanUps, which corresponds to the private variable. 1832 1833 I also made an abstraction for running a test. This new 1834 Comfychair.runtest 1835 function can the conveniently by called to carry out a subtest. 1836 1837 With this CL, 'make pump-maintainer-check' now works on cygwin. 1838 18392008-05-30 22:57 Craig Silverstein <opensource@google.com> 1840 1841 * AUTHORS, INSTALL, README, README.pump, configure.ac, doc/example/init, 1842 doc/web/compared.html, doc/web/compilers.html, doc/web/faq.html, 1843 doc/web/favicon.ico, doc/web/index.html, doc/web/results.html, 1844 doc/web/scenarios.html, doc/web/security.html, man/distcc.1, 1845 man/distccd.1, man/distccmon-text.1, man/pump.1: 1846 1847 Documentation fixes: 1848 1849 1) Replace http://distcc.samba.org with the new google code location 1850 2) Add favicon.ico from the distcc.samba.org site 1851 3) Use distcc@lists.samba.org as the only distcc mailing list (there 1852 were at least three mailing lists scattered around the docs, some of 1853 which don't even exist anymore!) 1854 4) Update man pages and other docs to not use "distcc-pump" anywhere; 1855 it's now "pump mode" or "distcc's pump mode", or "distcc-pump 1856 mode". 1857 1858 I also add, to the README, some discussion of scaling to hundreds of 1859 machines. 1860 1861 Reviewed by fergus and klarlund 1862 18632008-05-30 07:46 Fergus Henderson <opensource@google.com> 1864 1865 * Makefile.in, packaging/RedHat/rpm.spec: 1866 1867 Fix a bug where the "pump" man page was not included in the RPM 1868 and Debian packages. 1869 1870 Also, fix a bug where the Makefile rules for building HTML files were 1871 not working when srcdir != builddir. 1872 1873 Tested by "make install-deb; man pump". 1874 1875 Reviewers: Craig Silverstein 1876 18772008-05-29 21:44 Nils Klarlund <opensource@google.com> 1878 1879 * bench/Build.py: 1880 1881 Add include server option '--unsafe_absolute_includes' to all 1882 benchmarks in pump 1883 mode. 1884 1885 This is harmless I think, and it's easy to forget this option. It is 1886 of 1887 importance to at least Samba-2.2.7. 1888 18892008-05-29 18:51 Nils Klarlund <opensource@google.com> 1890 1891 * bench/benchmark.py, bench/compiler.py: 1892 1893 Tigthen how compilers are located. This overcomes issues on Cygwin. I 1894 also 1895 changed default C++ compiler to 'c++' instead of 'cxx'. 'c++' is the 1896 more common 1897 name I believe. Witht this change, both compilers must exist for 1898 benchmark.py 1899 to run. 1900 1901 REVIEW: Craig Silverstein 1902 19032008-05-29 18:51 Nils Klarlund <opensource@google.com> 1904 1905 * bench/Build.py, bench/Summary.py, bench/statistics.py: 1906 1907 Enhance performance reporting for benchmarking. 1908 1909 This CL adds reporting of: 1910 1911 - number of processors 1912 - total cpu time 1913 - cpu utilization 1914 - include server cpu time 1915 1916 I corrected issues with overly loose specification of compiler 1917 locations. (I 1918 developed this CL under Cygwin and encountered new problems.) This 1919 resulted in 1920 evil recursive invocations of distcc. 1921 1922 I also: 1923 1924 -- removed an unnecessary parameter from Build(..) 1925 1926 -- pruned the number of decimals reported from 4 to 1. 1927 1928 -- removed the dependency of 'Numeric', which is a non-standard 1929 package and 1930 rewrote the math do to std deviation 1931 1932 -- use shell built-in 'time' instead of Python time functionality 1933 1934 -- corrected deficient error reporting: builds would fail with 1935 non-zero status 1936 and not be reported as failing. 1937 1938 REVIEW: Craig Silverstein 1939 1940 TESTS: 1941 DISTCC_HOSTS="--randomize `/home/klarlund/svn-distcc/distcc/lsdistcc 1942 -P1 -k100 -d`" PATH=`pwd`:$PATH bench/benchmark.py 1943 --cc='/usr/crosstool/v10/gcc-4.2.1-glibc-2.3.2/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-gcc' 1944 -n 1 -c 'pump,h40,j120' -c 'dist,h40,j32' linux-2.6.25 1945 1946 Part of the printout for hello-2.1.1: 1947 1948 Local number of CPUs: 4 1949 Linux klarlund-warp.nyc.corp.google.com 1950 2.6.18.5-gg34workstation-mixed64-32 #1 SMP Thu May 8 01:31:23 UTC 2008 1951 x86_64 GNU/Linux 1952 project compiler time s.d. CPU time CPU util incl serv 1953 hello-2.1.1 pump_h39_j120 0.9s 0.0s 0.5s 13.5% 0.2s 1954 hello-2.1.1 dist_h39_j32 0.4s 0.1s 0.3s 18.1% 1955 1956 1957 (For this small program, pump is a disadvantage.) 1958 19592008-05-29 05:38 Craig Silverstein <opensource@google.com> 1960 1961 * bench/Build.py, bench/Project.py, bench/actions.py, 1962 bench/benchmark.py, bench/compiler.py: 1963 1964 Some changes to the benchmark framework to not redo work 1965 unnecessarily. Most prominently, no longer re-run 'tar xf && 1966 configure' every benchmark run. Instead, if configure was 1967 successfully executed last benchmark run, just do 'make clean'. This 1968 is equivalent to what we do now between build runs, when the 1969 repeat-count is > 1. 1970 1971 This feature is not turned on by default, but must be enabled with the 1972 new --force=0 flag. --force=1 keeps the same behavior as before: we 1973 always re-run configure in each build-directory. --force=2 adds more 1974 repeat-work than before; in --force=2 mode, we always re-download the 1975 package from the web, even if we had successfully downloaded it 1976 before. 1977 1978 Note that the 'tar' command currently warms the file-cache, which 1979 makes build times more consistent, so there is so cost to setting 1980 --force=0, in terms of the data collected. 1981 1982 Reviewed by klarlund 1983 19842008-05-29 02:04 Nils Klarlund <opensource@google.com> 1985 1986 * bench/Build.py, bench/Project.py, bench/ProjectDefs.py: 1987 1988 Add include server args to benchmarking framework. 1989 1990 This makes the linux kernel build with pump-mode when the benchmark 1991 script is 1992 used. 1993 1994 Also, include the '-t' option to the include server; that prints out 1995 the elapsed 1996 and CPU times at the end of the build. 1997 1998 REVIEW: Craig Silverstein 1999 TESTS: (on quad-cpu workstation) 2000 DISTCC_HOSTS="--randomize `/home/klarlund/svn-distcc/distcc/lsdistcc 2001 -P1 -k100 -d`" PATH=`pwd`:$PATH bench/benchmark.py 2002 --cc='/usr/crosstool/v10/gcc-4.2.1-glibc-2.3.2/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-gcc' 2003 --cxx='void' -n 5 -c 'pump,h40,j120' -c 'dist,h40,j32' linux-2.6.25 2004 2005 project compiler time s.d. 2006 linux-2.6.25 pump_h39_j120 69.6525s 3.0969s 2007 linux-2.6.25 dist_h39_j32 103.8416s 10.8041s 2008 20092008-05-29 01:57 Nils Klarlund <opensource@google.com> 2010 2011 * pump.in: 2012 2013 Add critique of pump-mode when include server shuts down. 2014 2015 Print a message like: 2016 2017 __________Warning: 1 pump-mode compilation(s) failed on server, but 2018 succeeded locally. 2019 2020 when compile discrepancies have occurred. Currently, a user may think 2021 that all 2022 is well because we do not terminate a build when discrepancies occur 2023 and the 2024 warning messages occurring in the middle of a build may easily be 2025 overlooked. 2026 2027 REVIEW: Craig Silverstein 2028 TESTS: make linux-kernel without stat reset triggers to observe 2029 message 2030 20312008-05-29 01:46 Craig Silverstein <opensource@google.com> 2032 2033 * src/dotd.c, src/dotd.h, src/emaillog.c, src/emaillog.h: 2034 2035 Fix some of the written-on dates for some google patches. Pointed out 2036 by fergus. 2037 20382008-05-28 13:12 Nils Klarlund <opensource@google.com> 2039 2040 * pump.in: 2041 2042 Fix unproctected invocation of distcc and numeric designation of one 2043 with a 2044 plural noun. 2045 2046 I discovered this bug by deleting /usr/bin/distcc. I did that after I 2047 found out 2048 that the Linux kernel compilation is suffering from a similar issue 2049 (amongst 2050 others), because the PATH is apparently rewritten. 2051 2052 20532008-05-28 02:32 Nils Klarlund <opensource@google.com> 2054 2055 * include_server/cache_basics.py, include_server/parse_command.py: 2056 2057 Remove spurious warning messages about absolute filepaths. 2058 2059 During compilation of the Linux kernel messages like: 2060 2061 absolute filepath blabla.h was IGNORED (correctness of build may be 2062 affected) 2063 2064 are issued. They are wrong. The problem is that -include or -imacro or 2065 even 2066 source file names with absolute filepaths trigger a complaint from the 2067 caching 2068 mechanism usually used for relative file names. 2069 2070 We correct this problem. 2071 2072 We also substitute fp_map for includepath_map, which is the now 2073 preferred term. 2074 2075 REVIEWER: Craig Silverstein 2076 2077 TESTS: 2078 2079 make pump-maintainer-check 2080 make include-server-maintainer-check 2081 20822008-05-28 02:19 Nils Klarlund <opensource@google.com> 2083 2084 * src/compile.c: 2085 2086 Fix race condition that may prevent the warning message that pump-mode 2087 is no 2088 longer used from being displayed. 2089 2090 This is the current crop of error messages. A couple of them *really* 2091 should be 2092 suppressed, but not the last one, which the CL is about. 2093 2094 distcc[4333] ERROR: compile arch/x86/kernel/syscall_64.c on 2095 distcc4.nyc.corp.google.com,lzo,cpp failed 2096 distcc[4333] (dcc_build_somewhere) Warning: remote compilation of 2097 'arch/x86/kernel/syscall_64.c' failed, retrying locally 2098 distcc[4333] Warning: failed to distribute 2099 arch/x86/kernel/syscall_64.c to distcc4.nyc.corp.google.com,lzo,cpp, 2100 running locally instead 2101 distcc[4333] (dcc_please_send_email_after_investigation) Warning: 2102 remote compilation of 'arch/x86/kernel/syscall_64.c' failed, retried 2103 locally and got a different result. 2104 distcc[4333] (dcc_please_send_email_after_investigation) Warning: file 2105 'include/asm/asm-offsets.h', a dependency of 2106 arch/x86/kernel/syscall_64.c, changed during the build 2107 distcc[4333] (dcc_note_discrepancy) Warning: now using plain distcc, 2108 possibly due to inconsistent file system changes during build 2109 2110 The last message may not occur: the code contains a race condition, 2111 because more 2112 processes may increment the unary file, after it has reached the size 2113 of 2114 max_discrepancies_before_demotion, preventing the equality from ever 2115 becoming true. 2116 21172008-05-27 20:33 Nils Klarlund <opensource@google.com> 2118 2119 * include_server/include_analyzer.py, 2120 include_server/include_analyzer_memoizing_node.py, 2121 include_server/include_analyzer_memoizing_node_test.py, 2122 include_server/include_analyzer_test.py, 2123 include_server/parse_command.py, include_server/parse_command_test.py: 2124 2125 Make the Linux 2.6 kernel build with distcc-pump mode. 2126 2127 Add a new piece of command line parse information: send_systemdirs. 2128 This 2129 boolean is normally false. It is true if there is a -isystem option 2130 with a 2131 default system directory (one known to the compiler). 2132 2133 With send_systemdirs true, the compiler headers of system headers are 2134 sent to 2135 the servers and mounted under the server root. The isystem option is 2136 as usual 2137 rewritten to be relative to the root. Without this flag setting, 2138 distcc quickly 2139 decides that pump mode is not viable because remote compilations fail. 2140 2141 Also, fixed the comment: 2142 # TODO(klarlund): Make mechanism for handling -U, -undef options, 2143 along with 2144 # default symbols. 2145 2146 (-D options are handled.) 2147 2148 --------------- 2149 2150 TESTS: make pump-maintainer-check 2151 make include-server-maintainer-check 2152 make 'linux kernel' in a directory made by the benchmark script (as 2153 shown below) 2154 2155 DISTCC_EMAILLOG_WHOM_TO_BLAME=Nils Klarlund <opensource@google.com> 2156 DISTCC_ENABLE_DISCREPANCY_EMAIL=1 INCLUDE_SERVER_ARGS='-d1 -t --email 2157 --unsafe_absolute_includes --send_systemdirs 2158 --stat_reset_triggers=include/linux/*' DISTCC_HOSTS="--randomize 2159 `/home/klarlund/svn-distcc/distcc/lsdistcc -P3 -k100 -d`" 2160 PATH=/home/klarlund/svn-distcc/distcc:$PATH ./masquerade pump make 2161 -j120 2162 2163 REVIVIEWER: Craig Silverstein <opensource@google.com> 2164 2165 TRIVIA: the about 1000 files in the kernel build involve on average 2166 400 2167 headers. The build time on a quad-cpu machine drops from about 1m40 s 2168 to 1m20s. 2169 With pump-mode, the machine is underutilized judging from the total 2170 sys + user 2171 time, which is around only 2m20s. 2172 2173 NOTE: this is a successor to 'g6n8', which simply introduced a command 2174 line 2175 option to force sending of system files. A bug in gvn did not allow me 2176 to 2177 resuse that change list. 2178 21792008-05-23 22:24 Craig Silverstein <opensource@google.com> 2180 2181 * bench/Build.py, bench/Project.py, bench/Summary.py, bench/actions.py, 2182 bench/benchmark.py, bench/buildutil.py, bench/compiler.py, 2183 bench/statistics.py, include_server/basics.py, 2184 include_server/basics_test.py, include_server/c_extensions_test.py, 2185 include_server/cache_basics.py, include_server/compiler_defaults.py, 2186 include_server/compress_files.py, include_server/include_analyzer.py, 2187 include_server/include_analyzer_memoizing_node.py, 2188 include_server/include_analyzer_memoizing_node_test.py, 2189 include_server/include_analyzer_test.py, 2190 include_server/include_server.py, 2191 include_server/include_server_test.py, include_server/macro_eval.py, 2192 include_server/macro_eval_test.py, include_server/mirror_path.py, 2193 include_server/mirror_path_test.py, include_server/parse_command.py, 2194 include_server/parse_command_test.py, include_server/parse_file.py, 2195 include_server/parse_file_test.py, include_server/run.py, 2196 include_server/setup.py, include_server/statistics.py, src/access.c, 2197 src/access.h, src/arg.c, src/argutil.c, src/backoff.c, src/bulk.c, 2198 src/bulk.h, src/cleanup.c, src/climasq.c, src/clinet.c, src/clinet.h, 2199 src/clirpc.c, src/compile.c, src/compile.h, src/compress.c, src/cpp.c, 2200 src/daemon.c, src/daemon.h, src/distcc.c, src/distcc.h, src/dopt.c, 2201 src/dopt.h, src/dotd.c, src/dotd.h, src/dparent.c, src/dsignal.c, 2202 src/emaillog.c, src/emaillog.h, src/exec.c, src/exec.h, 2203 src/exitcode.h, src/filename.c, src/fix_debug_info.c, 2204 src/fix_debug_info.h, src/gcc-id.c, src/h_argvtostr.c, 2205 src/h_compile.c, src/h_dotd.c, src/h_exten.c, src/h_hosts.c, 2206 src/h_issource.c, src/h_parsemask.c, src/h_sa2str.c, src/h_scanargs.c, 2207 src/h_strip.c, src/help.c, src/history.c, src/hostfile.c, src/hosts.c, 2208 src/hosts.h, src/implicit.c, src/implicit.h, src/include_server_if.c, 2209 src/include_server_if.h, src/io.c, src/loadfile.c, src/lock.c, 2210 src/lock.h, src/lsdistcc.c, src/mon-gnome.c, src/mon-notify.c, 2211 src/mon-text.c, src/mon.c, src/mon.h, src/ncpus.c, src/netutil.c, 2212 src/netutil.h, src/prefork.c, src/pump.c, src/remote.c, 2213 src/renderer.c, src/renderer.h, src/rpc.c, src/rpc.h, src/rslave.c, 2214 src/rslave.h, src/safeguard.c, src/sendfile.c, src/serve.c, 2215 src/setuid.c, src/snprintf.h, src/srvnet.c, src/srvnet.h, 2216 src/srvrpc.c, src/ssh.c, src/state.c, src/state.h, src/stats.c, 2217 src/stats.h, src/stringmap.c, src/stringmap.h, src/strip.c, 2218 src/tempfile.c, src/timefile.c, src/timefile.h, src/timeval.c, 2219 src/timeval.h, src/trace.c, src/trace.h, src/traceenv.c, src/types.h, 2220 src/util.c, src/util.h, src/where.c, src/where.h, src/zeroconf-reg.c, 2221 src/zeroconf.c, src/zeroconf.h, test/comfychair.py, 2222 test/testdistcc.py: 2223 2224 Normalize the copyright text, to the latest version of the GPLv2 text 2225 (typically the only change is in the FSF street address). Add Google 2226 copyright line in some places it was missing. Add GPLv2 notice to 2227 avahi patches. 2228 2229 OKed by fergus 2230 22312008-05-23 20:43 Craig Silverstein <opensource@google.com> 2232 2233 * packaging/RedHat/rpm.spec: 2234 2235 Update install-message wording. 2236 2237 Reviewed by fergus 2238 22392008-05-23 07:33 Craig Silverstein <opensource@google.com> 2240 2241 * configure.ac: 2242 2243 Update copyright and GPL notice. 2244 22452008-05-23 07:29 Craig Silverstein <opensource@google.com> 2246 2247 * pump.in, test/onetest.py: 2248 2249 Fix author lines. Also, add gpl text. 2250 2251 OKed by fergus and klarlund 2252 22532008-05-23 06:30 Fergus Henderson <opensource@google.com> 2254 2255 * packaging/RedHat/conf/clients.allow, packaging/RedHat/rpm.spec: 2256 2257 Do not include 127.0.0.1 in clients.allow by default, 2258 because it is a security risk: it may allow other 2259 users on the machine to execute arbitrary code as 2260 the distcc user. 2261 2262 Instead, leave clients.allow empty by default, 2263 and require the system admistrator to edit 2264 clients.allow manually, if they want to use distcc 2265 in TCP mode. 2266 2267 We still install distccd as a service, but distccd 2268 will exit immediately unless you've already added 2269 some hosts to clients.allow. 2270 2271 Reviewers: Craig Silverstein 2272 22732008-05-23 03:19 Fergus Henderson <opensource@google.com> 2274 2275 * include_server/include_analyzer_memoizing_node.py: 2276 2277 Fix a typo in a comment. 2278 22792008-05-23 03:18 Fergus Henderson <opensource@google.com> 2280 2281 * src/dopt.c: 2282 2283 Fix a bug: --wizard is supposed to imply --log-level debug, but this 2284 wasn't working, because the code that handles --wizard wasn't setting 2285 opt_log_level_num. 2286 2287 Reviewers: Craig Silverstein 2288 22892008-05-23 03:12 Nils Klarlund <opensource@google.com> 2290 2291 * include_server/include_analyzer.py, include_server/mirror_path.py: 2292 2293 Fix unsoundess of directory replication. 2294 2295 Testing of distcc-pump mode on the Linux kernel showed that the 2296 computed include 2297 closure was sometimes wrong: header files were missing. 2298 2299 Further testing showed that sometimes apparently not even the 2300 compilation unit 2301 made it across to the server or rather, the c-file in its real 2302 location would 2303 come across, but the path designating it would not. 2304 2305 Take as an example: compilation unit is designated by the path 2306 ../bar/baz.c and 2307 the current directory is /foo but no files in /foo are in actuality 2308 referenced 2309 during include processing. Then the compilation server will get 2310 /PREFIX/bar/baz.h -- the image of the real file -- but /PREFIX/foo, 2311 the image of 2312 the current directory, will not even be created! 2313 2314 So, this CL corrects an oversight in the way that the include 2315 processor 2316 explores files: although it does take into account the chasing of 2317 symbolic links, 2318 no provisions are in place to properly model '..' for climbing up 2319 directories. 2320 Specifically, to climb up a directory, it must exist! Usually, the 2321 directory in 2322 fact would exist on the server, because it would be replicated thanks 2323 to the 2324 header files it contains. But there is no guarentee. 2325 2326 We solve this problem by forcing the creation of dummy .c files the 2327 first time a 2328 path is explored. Because paths are being investigated backwards (from 2329 the end), 2330 forcing results in extra files only at the "deep" levels. Since files 2331 are 2332 usually clustered together in directories, the addition of a dummy 2333 file per deep 2334 directory should be inconsequential for performance. 2335 2336 TBD: integration level tests that this really work. I will either 2337 include that 2338 later or in a separate CL. 2339 2340 Tested: 2341 2342 make pump-maintainer-check 2343 2344 build the Linux 2.6 kernel in true pump-mode (with extra patch, to be 2345 described separately that sends compiler system files to the server) 2346 [all 2347 files but a few towards the end suffer from absolute includes are 2348 preprocessed and compiled on the compile servers!] 2349 2350 The command I used is: 2351 2352 DISTCC_EMAILLOG_WHOM_TO_BLAME=Nils Klarlund <opensource@google.com> 2353 DISTCC_ENABLE_DISCREPANCY_EMAIL=1 INCLUDE_SERVER_ARGS='-d1 -t --email 2354 --stat_reset_triggers=include/linux/compile.h' 2355 DISTCC_HOSTS="--randomize `/home/klarlund/svn-distcc/distcc/lsdistcc 2356 -P3 -k100 -d`" PATH=/home/klarlund/svn-distcc/distcc:$PATH 2357 ./masquerade pump make -j120 2358 2359 I had to delete /usr/bin/distcc for this work, because of the PATH 2360 acrobatics 2361 that the kernel makefiles apparently exercise. Otherwise, 2362 /usr/bin/distcc 2363 would sometimes get called. 2364 2365 Reviewed: 2366 2367 Fergus Henderson <opensource@google.com>, Craig Silverstein <opensource@google.com> 2368 23692008-05-23 03:03 Fergus Henderson <opensource@google.com> 2370 2371 * INSTALL: 2372 2373 Some trivial style changes. 2374 23752008-05-23 02:35 Nils Klarlund <opensource@google.com> 2376 2377 * bench/Build.py, bench/benchmark.py, bench/compiler.py: 2378 2379 Set-up masquerading for benchmarks. 2380 2381 Follow the advice of the distcc man page for executing the benchmarks 2382 to not 2383 rely on CC and CXX variables by also routing naked calls of 'cc', 2384 'gcc', etc to 2385 a 'farm' of tiny shell scripts. 2386 2387 Also, provide a little wrapper script that does this for people who 2388 have to 2389 debug a benchmark build. 2390 2391 This change is convenient for running the benchmark on the linux 2392 kernel, 2393 because building the kernel uses naked 'gcc' calls. 2394 2395 Testing: 2396 2397 Building the linux kernel. 2398 23992008-05-23 01:41 Fergus Henderson <opensource@google.com> 2400 2401 * Makefile.in: 2402 2403 Fix a bug which broke the Debian and RPM distributions: the generated 2404 pump 2405 script was referring to DESTDIR. 2406 2407 Files should be installed into DESTDIR, but they should never refer to 2408 DESTDIR, 2409 because it is only a temporary location used for constructing the RPM 2410 file; 2411 when the package is actually installed, the files will get put in e.g. 2412 /usr 2413 rather than DESTDIR/usr. 2414 2415 Tested with "make install-deb && make daemon-installcheck". 2416 2417 Reviewers: Nils Klarlund 2418 24192008-05-23 01:11 Manos Renieris <opensource@google.com> 2420 2421 * NEWS, README.pump, doc/protocol-3-impl.txt, doc/protocol-3.txt, 2422 man/distcc.1, man/pump.1: 2423 2424 Minor documentation changes. 2425 24262008-05-22 19:06 Fergus Henderson <opensource@google.com> 2427 2428 * src/dotd.h, src/include_server_if.h: 2429 2430 Remove "svn:executable" property (the "+x" permission bit) from header 2431 files. 2432 2433 Reviewers: Manos Renieris 2434 24352008-05-22 05:36 Fergus Henderson <opensource@google.com> 2436 2437 * survey.txt: 2438 2439 Direct survey response to distcc-survey@google.com rather than to 2440 Martin Pool. 2441 2442 Reviewers: Craig Silverstein 2443 24442008-05-22 05:35 Fergus Henderson <opensource@google.com> 2445 2446 * INSTALL: 2447 2448 A major overhaul of the INSTALL file. Describe pump mode better, and 2449 explain the effects of installing via RPM or Debian package. 2450 Also a bunch of other minor edits. 2451 2452 Reviewers: Craig Silverstein 2453 24542008-05-22 04:51 Fergus Henderson <opensource@google.com> 2455 2456 * configure.ac: 2457 2458 Bump version number to 3.0-prerelease3. 2459 2460 Reviewers: Craig Silverstein 2461 24622008-05-22 04:49 Fergus Henderson <opensource@google.com> 2463 2464 * include_server/include_analyzer_test.py: 2465 2466 Fix a test case that was failing on MacOS X. 2467 The test was implicitly assuming that /tmp == realpath(/tmp). 2468 But in MacOS X, /tmp is a symbolic link to /private/tmp. 2469 2470 Reviewers: Craig Silverstein, Nils Klarlund 2471 24722008-05-22 04:40 Fergus Henderson <opensource@google.com> 2473 2474 * doc/web/index.html: 2475 2476 Update the "60 second instructions" to use pump mode. 2477 2478 I considered mentioning both regular mode and pump mode in the 60 2479 second instructions, but 60 seconds doesn't really give you much 2480 time to describe the difference between the two, so I thought it 2481 was simpler to just go with pump mode. 2482 2483 Reviewers: Craig Silverstein 2484 24852008-05-21 22:42 Fergus Henderson <opensource@google.com> 2486 2487 * test/testdistcc.py: 2488 2489 Disable the Gdb_Case test in non-pump mode when using gcc versions 2490 that don't preserve the source directory in the preprocessed output. 2491 2492 Reviewers: Nils Karlund, Craig Silverstein 2493 24942008-05-21 20:28 Nils Klarlund <opensource@google.com> 2495 2496 * src/clirpc.c: 2497 2498 Make an obscure and common error message more informative. 2499 2500 Currently, our users get the following error message when their 2501 workstation is 2502 not in the allowed domains as specified in the server configuration: 2503 2504 distcc[20742] (dcc_readx) ERROR: unexpected eof on fd5 2505 distcc[20742] (dcc_r_token_int) ERROR: read failed while waiting for 2506 token "DONE" 2507 2508 With this change, a message explains some likely causes of the 2509 problem. 2510 25112008-05-21 16:37 Fergus Henderson <opensource@google.com> 2512 2513 * test/testdistcc.py: 2514 2515 Disable some tests that were failing if you don't have a C++ compiler 2516 installed. 2517 2518 Also, tidy up the output from the DotD_Case test: instead of 2519 2520 DotD_Case TempCompile_Case OK 2521 TempCompile_Case OK 2522 TempCompile_Case OK 2523 TempCompile_Case OK 2524 TempCompile_Case OK 2525 TempCompile_Case OK 2526 TempCompile_Case OK 2527 TempCompile_Case OK 2528 TempCompile_Case OK 2529 TempCompile_Case OK 2530 TempCompile_Case OK 2531 TempCompile_Case OK 2532 OK 2533 2534 you now get just 2535 2536 DotD_Case OK 2537 2538 Also, fix a problem where ObjectiveCPlusPlus_Case test was on some 2539 systems 2540 being run even though the system didn't have Objective C++ installed. 2541 2542 Reviewers: Nils Klarlund 2543 25442008-05-21 16:26 Nils Klarlund <opensource@google.com> 2545 2546 * include_server/basics.py, include_server/cache_basics.py, 2547 include_server/include_analyzer_test.py, 2548 include_server/include_server.py: 2549 2550 Add '--unsafe_absolute_includes' option so that more can be compiled 2551 in 2552 pump-mode. 2553 2554 An occurrence of say 2555 2556 #include "/usr/include/acl.h" 2557 2558 will normally force the include processor to abort (even when this 2559 include is 2560 platform-specific and #ifdef'ed away), because there are no guarantees 2561 that the 2562 file /usr/include/acl.h exists on the host. With this option, these 2563 includes 2564 will be ignored. 2565 2566 A message like: 2567 2568 WARNING include server: absolute filepath '/usr/include/acl.h' was 2569 IGNORED (correctness of build may be affected) 2570 2571 will be printed. 2572 2573 The normal message raised when this option is off, the default, has 2574 been 2575 modified. It now mentions the option. 2576 2577 An include server manual page is to follow, which explains the 2578 consequences in 2579 detail of using this option. 2580 2581 Testing: this makes the samba-2.2.7 benchmark build without hiccups 2582 using distcc 2583 pump. Without the change many compilations fail because the include 2584 server 2585 bails out and because another unrelated bug in the include server 2586 makes it later 2587 dish up with include closures that are too small. 2588 2589 Revievers: Craig Silverstein <opensource@google.com>, Fergus Henderson <opensource@google.com> 2590 25912008-05-21 09:04 Fergus Henderson <opensource@google.com> 2592 2593 * Makefile.in, pump.in, src/include_server_if.c: 2594 2595 Some usability improvements, in particular better diagnostics for 2596 common setup errors. 2597 2598 In pump script: 2599 - If DISTCC_HOSTS is set, print out a message saying how many hosts 2600 there are (similar to the one that we already print if you instead 2601 set DISTCC_POTENTIAL_HOSTS) and how many of them have pump enabled. 2602 - Report an error if you run pump using a host list containing no 2603 hosts with ',cpp'. (Should this be a warning instead?) 2604 - Report an error if you run pump using an empty host list. 2605 (Should this be a warning instead?) 2606 2607 In distcc client: 2608 - Improve the warning messages that you get if you run distcc using 2609 hosts with ",cpp" without running pump. 2610 26112008-05-21 06:13 Craig Silverstein <opensource@google.com> 2612 2613 * bench/Project.py, bench/ProjectDefs.py: 2614 2615 Document the options that the Package constructor takes. 2616 2617 Get rid of source_name, which isn't used anywhere. 2618 2619 Also, add a few more benchmark projects. These are big(ish) and 2620 written in C++, to test distcc on C++ code. 2621 2622 Reviewed by Nils Klarlund 2623 26242008-05-20 21:49 Craig Silverstein <opensource@google.com> 2625 2626 * bench/Build.py, bench/benchmark.py: 2627 2628 In the benchmark code, make sure a directory exists before cd-ing into 2629 it. This is to handle projects like ACE, which require you to build 2630 from an entirely new directory. 2631 2632 Also fix up an obsolete help-text sentence. 2633 2634 Reviewed by Fergus Henderson 2635 26362008-05-20 20:23 Fergus Henderson <opensource@google.com> 2637 2638 * include_server/basics.py, include_server/compiler_defaults.py, 2639 include_server/parse_command.py, include_server/parse_command_test.py, 2640 test/testdistcc.py: 2641 2642 Re-enable Objective C and Objective C++ support. 2643 2644 This required the following changes: 2645 - Compute the default search paths for each language lazily, 2646 when the language is first encountered, rather than 2647 computing it for 'c' and 'c++'. 2648 - Make the tests of Objective C and Objective C++ 2649 conditional on the relevant compiler being installed. 2650 2651 Tested by "make check" on two systems: 2652 - One with Objective C installed, but not Objective C++. 2653 - One with neither installed. 2654 I didn't test on a system with Objective C++ installed, 2655 because I didn't have one easily available. 2656 2657 Reviewers: Craig Silverstein, Nils Klarlund. 2658 26592008-05-20 20:19 Fergus Henderson <opensource@google.com> 2660 2661 * test/testdistcc.py: 2662 2663 Disable part of the DashWpMD_Case test, because it doesn't pass :-( 2664 2665 Tested with "make check"; fails before this CL, passes afterwards. 2666 2667 Reviewers: Nils Klarlund, Craig Silverstein. 2668 26692008-05-20 18:16 Craig Silverstein <opensource@google.com> 2670 2671 * src/access.c, src/access.h, src/arg.c, src/backoff.c, src/bulk.c, 2672 src/bulk.h, src/cleanup.c, src/climasq.c, src/clinet.c, src/clinet.h, 2673 src/clirpc.c, src/compile.c, src/compile.h, src/compress.c, src/cpp.c, 2674 src/daemon.c, src/daemon.h, src/distcc.c, src/distcc.h, src/dopt.c, 2675 src/dopt.h, src/dotd.c, src/dotd.h, src/dparent.c, src/dsignal.c, 2676 src/emaillog.c, src/emaillog.h, src/exec.c, src/exec.h, 2677 src/exitcode.h, src/fix_debug_info.c, src/fix_debug_info.h, 2678 src/gcc-id.c, src/h_hosts.c, src/h_parsemask.c, src/help.c, 2679 src/history.c, src/hostfile.c, src/hosts.c, src/hosts.h, 2680 src/implicit.c, src/implicit.h, src/include_server_if.c, 2681 src/include_server_if.h, src/io.c, src/loadfile.c, src/lock.c, 2682 src/lock.h, src/lsdistcc.c, src/mon-gnome.c, src/mon-notify.c, 2683 src/mon-text.c, src/mon.c, src/mon.h, src/ncpus.c, src/netutil.c, 2684 src/netutil.h, src/prefork.c, src/pump.c, src/remote.c, 2685 src/renderer.c, src/renderer.h, src/rpc.c, src/rpc.h, src/rslave.c, 2686 src/rslave.h, src/safeguard.c, src/sendfile.c, src/serve.c, 2687 src/setuid.c, src/snprintf.c, src/snprintf.h, src/srvnet.c, 2688 src/srvnet.h, src/srvrpc.c, src/ssh.c, src/state.c, src/state.h, 2689 src/stats.c, src/stats.h, src/stringmap.c, src/stringmap.h, 2690 src/strip.c, src/tempfile.c, src/timefile.c, src/timefile.h, 2691 src/timeval.c, src/timeval.h, src/trace.c, src/trace.h, 2692 src/traceenv.c, src/types.h, src/util.c, src/util.h, src/where.c, 2693 src/where.h, src/zeroconf-reg.c, src/zeroconf.c, src/zeroconf.h: 2694 2695 Change C++-style // comments to /**/. 2696 2697 Also, fix the emacs var-setting line: it was missing a semicolon 2698 before, which means the entire line was being ignored. 2699 2700 No contentful change. 2701 2702 Reviewed by Fergus Henderson 2703 27042008-05-20 06:13 Craig Silverstein <opensource@google.com> 2705 2706 * src/access.c, src/access.h, src/arg.c, src/argutil.c, src/backoff.c, 2707 src/bulk.c, src/bulk.h, src/climasq.c, src/clinet.c, src/clinet.h, 2708 src/clirpc.c, src/compile.c, src/compile.h, src/compress.c, src/cpp.c, 2709 src/daemon.c, src/daemon.h, src/distcc.c, src/distcc.h, src/dopt.c, 2710 src/dopt.h, src/dotd.c, src/dotd.h, src/dparent.c, src/dsignal.c, 2711 src/emaillog.c, src/emaillog.h, src/exec.c, src/exec.h, 2712 src/exitcode.h, src/filename.c, src/fix_debug_info.c, 2713 src/fix_debug_info.h, src/gcc-id.c, src/h_argvtostr.c, 2714 src/h_compile.c, src/h_dotd.c, src/h_exten.c, src/h_hosts.c, 2715 src/h_issource.c, src/h_parsemask.c, src/h_sa2str.c, src/h_scanargs.c, 2716 src/h_strip.c, src/help.c, src/history.c, src/hostfile.c, src/hosts.c, 2717 src/hosts.h, src/implicit.c, src/implicit.h, src/include_server_if.c, 2718 src/include_server_if.h, src/io.c, src/loadfile.c, src/lock.c, 2719 src/lock.h, src/lsdistcc.c, src/mon-gnome.c, src/mon-notify.c, 2720 src/mon-text.c, src/mon.c, src/mon.h, src/ncpus.c, src/netutil.c, 2721 src/netutil.h, src/prefork.c, src/pump.c, src/remote.c, 2722 src/renderer.c, src/renderer.h, src/rpc.c, src/rpc.h, src/rslave.c, 2723 src/rslave.h, src/safeguard.c, src/sendfile.c, src/serve.c, 2724 src/setuid.c, src/snprintf.c, src/snprintf.h, src/srvnet.c, 2725 src/srvnet.h, src/srvrpc.c, src/ssh.c, src/state.c, src/state.h, 2726 src/stats.c, src/stats.h, src/stringmap.c, src/stringmap.h, 2727 src/strip.c, src/tempfile.c, src/timefile.c, src/timefile.h, 2728 src/timeval.c, src/timeval.h, src/trace.c, src/trace.h, 2729 src/traceenv.c, src/types.h, src/util.c, src/util.h, src/where.c, 2730 src/where.h, src/zeroconf-reg.c, src/zeroconf.c, src/zeroconf.h: 2731 2732 Turned all tabs into 4 spaces. Got rid of whitespace at the end of 2733 lines. Fixed up resulting mis-indented code I noticed (mostly in 2734 files that used 8 space indents, or used 4-space and 8-space indents 2735 in the same file (!)). Added the emacs tab-var setting for all files, 2736 not just some of them. 2737 2738 I also added in copyright notices for files I noticed that didn't have 2739 them. We'll want to do another pass-through to fix these up properly, 2740 though. 2741 2742 I used the following perl snippet to check for mis-indented code after 2743 converting tabs to whitespace: 2744 2745 $ for i in *.{c,h}; do echo $i; perl -nle 'if ($indent > 0) {$sp=" " x 2746 $indent; /^$sp[^ ]/ && print "$.: $_"; $indent=0;}; if (/^( *).*{/ ) 2747 {$indent=length($1);} else {$indent=0;}' $i; done | less 2748 2749 It had false positives, but hopefully didn't miss anything. 2750 2751 Reviewed by Nils Klarlund 2752 27532008-05-20 05:58 Craig Silverstein <opensource@google.com> 2754 2755 * bench/benchmark.py: 2756 2757 Add --output to benchmark.py, to print the final timing summary to a 2758 file in addition to stdout. Also made sure we don't try to access 2759 opt_cc and opt_cxx until after all flags are read, so flag order 2760 doesn't matter. Finally, fixed indentation so we only print the 2761 default actions when --help is specified (as intended). 2762 2763 Tested by running make benchmark. 2764 2765 Reviewed by Nils Klarlund 2766 27672008-05-20 03:32 Nils Klarlund <opensource@google.com> 2768 2769 * src/emaillog.c: 2770 2771 Fix polarity of condition. 2772 2773 Reviewers: Fergus Henderson 2774 Tests: manual (both with and without DISTCC_EMAILLOG_WHOM_TO_BLAME 2775 set). 2776 27772008-05-20 03:31 Nils Klarlund <opensource@google.com> 2778 2779 * bench/benchmark.py: 2780 2781 Corrent option name. 2782 2783 The option is said to be 'distcc', but it's actually implemented as 2784 'dist'. The 2785 latter is fine with me: we have 'dist' and 'pump', with 'pump' being a 2786 more 2787 advanced 'dist'. 2788 27892008-05-20 03:31 Nils Klarlund <opensource@google.com> 2790 2791 * test/testdistcc.py: 2792 2793 Improve assert message. 2794 2795 Revievers: Fergus Henderson <opensource@google.com> 2796 27972008-05-19 10:00 Fergus Henderson <opensource@google.com> 2798 2799 * bench/compiler.py, test/testdistcc.py: 2800 2801 Add 'DashWpMD_Case' to the list of test cases that actually get run. 2802 2803 Also, an unrelated change to the benchmarking scripts: 2804 fix a cut-and-paste error in an error message. 2805 2806 Reviewers: Craig Silverstein 2807 28082008-05-19 09:58 Fergus Henderson <opensource@google.com> 2809 2810 * src/arg.c: 2811 2812 Whitespace change: make indentation more consistent. 2813 28142008-05-18 06:06 Fergus Henderson <opensource@google.com> 2815 2816 * src/arg.c, src/argutil.c, src/compile.c, src/distcc.c, src/dotd.c, 2817 src/implicit.c, src/strip.c: 2818 2819 Fix bugs in my previous change to handle "-Wp," options: arguments 2820 to str_startswith() were in the wrong order, and in one place I had 2821 wrongly passed 'argv' instead of 'new_argv'. 2822 2823 Move the call to dcc_expand_preprocessor_options() from 2824 dcc_get_dotd_info() to gcc_build_somewhere(), so that it is pretty 2825 much the first thing done to argv. Not sure if this is really needed, 2826 but it seems like a good idea. 2827 2828 Fix various memory management problems, including some introduced by 2829 moving the call to dcc_expand_preprocessor_options(). One problem 2830 was that dcc_find_compiler() was producing a result that was sometimes 2831 allocated with malloc() and sometimes not, so the caller couldn't 2832 safely deallocate it. I changed dcc_find_compiler to always return 2833 a dynamically allocated result. 2834 2835 Fix some places where return values were being ignored. 2836 Also fix one place where distcc was inconsistenly calling exit() 2837 rather than returning a return code. 2838 2839 Like my previous change, this one is necessary, but perhaps not 2840 sufficient, for building the Linux kernel with distcc-pump. 2841 2842 Tested by "make valgrind-check", and by building and installing the 2843 debian package and the building Linux 2.6.25 in pump mode using the 2844 benchmark.py script. 2845 2846 Reviewers 2847 28482008-05-18 06:03 Fergus Henderson <opensource@google.com> 2849 2850 * packaging/RedHat/init.d/distcc: 2851 2852 Fix a bug where "/etc/init.d/distcc stop" was not working when you had 2853 installed a new distcc. It wasn't working properly because the call to 2854 "start-stop-daemon --stop" used the "--exec /usr/bin/distccd" option, 2855 and (perhaps due to a bug in start-stop-daemon?) that option checks 2856 /proc/<pid>/exe against /usr/bin/distccd by comparing inode numbers. 2857 Comparing inode numbers doesn't work, because when we install a new 2858 distccd, we create a fresh file with a new inode number, so the inode 2859 number used by running processes won't match the inode number of 2860 /usr/bin/distccd on disk after you've installed a new version. 2861 2862 The fix was to remove the "--exec /usr/bin/distccd" 2863 option from the call to start-stop-daemon. We're already passing 2864 "--name distccd", which is sufficient to indentify the running 2865 distccd processes. 2866 2867 Reviewers: Craig Silverstein 2868 28692008-05-17 16:24 Fergus Henderson <opensource@google.com> 2870 2871 * src/compile.c, src/compile.h, src/h_compile.c, test/testdistcc.py: 2872 2873 Fix a typo: s/ddc_/dcc_/ 2874 2875 Reviewers: Craig Silverstein 2876 28772008-05-17 15:18 Nils Klarlund <opensource@google.com> 2878 2879 * include_server/basics.py, include_server/include_server.py: 2880 2881 Tune gc for 25% speed-up of include processor. 2882 2883 Set first parameter of gc.set_threshold to 10000 instead of default 2884 700. 2885 2886 See comments in program text. 2887 2888 2889 Notes 2890 ----- 2891 2892 I used a little script to find the include server timings as a 2893 function of this 2894 parameter. 2895 2896 This script executes: 2897 2898 "DISTCC_PUMP_INSTALLATION=/tmp/distcc3.0 INCLUDE_SERVER_ARGS='-t 2899 --gc_threshold=700' \ 2900 /usr/bin/time -p make-dbg -j120 -r -experimental-ld -g0 gws:gws" 2901 2902 with various values of gc_threshold. 2903 2904 The measurement were done on a four processor system (dual Opterons), 2905 loaded 2906 with an nxserver process. Files were served through Fuse. 2907 2908 2909 gc include server user + sys time 2910 setting 2911 2912 700 155.1s 154.0s 164.7s 186.1s 154.3s Mean: 162.8 2913 10000 123.8s 125.4s 120.6s 120.4s 121.0s Mean: 122.2 2914 100000 123.4s 123.3s 122.2s 123.3s 116.5s Mean: 121.7 2915 2916 700 166.5s 156.4s 150.8s 153.4s 155.4s Mean: 156.5 2917 10000 120.7s 142.1s 118.3s 117.7s 119.2s Mean: 123.6 2918 100000 140.3s 117.1s 149.7s 116.7s 141.6s Mean: 123.6 2919 2920 2921 The corresponding elapsed times: 2922 2923 371.0s 363.3s 361.9s 370.8s 369.0s Mean: 367.2 2924 341.8s 346.1s 336.3s 338.3s 340.5s Mean: 340.6 2925 345.9s 338.5s 342.9s 374.4s 340.0s Mean: 348.3 2926 2927 377.4s 379.9s 387.1s 377.4s 373.2s Mean: 379.0 2928 332.1s 337.7s 336.5s 332.2s 314.7s Mean: 330.6 2929 341.1s 334.6s 357.8s 338.5s 352.4s Mean: 344.9 2930 2931 Note that the saving in include server time is around 35s, but the 2932 savings in 2933 elapsed time is around 44s. These numbers are uncertain. Even so, they 2934 strongly 2935 indicate that the include server is a signifcant bottleneck. 2936 2937 BTW, for comparison with plain distcc: 2938 2939 821.4s 822.0s 842.4s 821.5s 852.0s Mean: 831.9 2940 878.7s 857.2s 860.3s 880.1s 856.0s Mean: 866.5 2941 2942 Thus, pump-mode 2.5X is faster than plain distcc (with the 2943 set_threshold = 2944 10000 of this CL). 2945 2946 Revievers: Fergus Henderson <opensource@google.com>, Craig Silverstein <opensource@google.com> 2947 29482008-05-16 23:12 Craig Silverstein <opensource@google.com> 2949 2950 * src/exec.c: 2951 2952 There's cygwin-specific code in exec.c, but it seems to assume that 2953 when running under cygwin, we'll be using a native windows app to 2954 compile. But sometimes we're using a cygwin app (eg /bin/gcc). 2955 Trying to use native-windows forking routines with cygwin apps causes 2956 a segfault (and takes a while to do it); we need to use unix forking 2957 routines there. 2958 2959 With this change, when we're asked to spawn a sub-process, we try to 2960 guess whether the sup-process app is windows or cygwin, based on its 2961 path location (this benefits from using absolute paths): 2962 /bin/gcc 2963 vs 2964 C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe 2965 or even 2966 C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe 2967 2968 If we decide it's a windows app but are wrong, then the 2969 windows-forking code should eventually fail with "file not found"; in 2970 that case, we fall through to the normal unix-fork case, to give 2971 cygwin a chance to find the binary. 2972 2973 I also took the opportunity to clean up some of the code (handles 2974 should be initialized to ILLEGAL_HANDLE values, not NULL). I also 2975 replaced the crazy permissions the code was asking for before, with 2976 normal GENERIC_READ/GENERIC_WRITE. This allows the code to work when 2977 the tmpdir is c:\windows, which was failing before. 2978 2979 Tested on cygwin using /bin/gcc as the compiler, like so: 2980 ./distcc /bin/gcc -c testtmp.c -o testtmp.o 2981 where testtmp.c is a simple "hello world" program. 2982 2983 I also tested by running 'make check'. With this change, 'make check' 2984 passes on cygwin! (Using gcc to do compilations.) 2985 2986 Reviewed by Fergus Henderson 2987 29882008-05-16 22:00 Fergus Henderson <opensource@google.com> 2989 2990 * Makefile.in, src/compile.c: 2991 2992 Two bug fixes: 2993 - Fix a bug where 'valgrind-check' was invoking 'pump-check', 2994 but 'pump-check' was disabling valgrind. 2995 - Fix an off-by-one error caught by valgrind. 2996 2997 Tested by "make check" and "make valgrind-check". 2998 2999 Reviewers: Craig Silverstein 3000 30012008-05-16 21:54 Fergus Henderson <opensource@google.com> 3002 3003 * src/arg.c, src/distcc.h, src/dotd.c, test/testdistcc.py: 3004 3005 Handle '-Wp,-MD,<dotdfile>' option. 3006 This is needed to build the Linux kernel. 3007 3008 Reviewers: Craig Silverstein 3009 30102008-05-16 20:46 Fergus Henderson <opensource@google.com> 3011 3012 * bench/ProjectDefs.py: 3013 3014 In the list of projects to benchmark: 3015 - comment out Linux 2.5.51, because it doesn't compile 3016 - add Linux 2.6.25. 3017 3018 Reviewers: Nils Klarlund, Craig Silverstein 3019 30202008-05-16 20:44 Fergus Henderson <opensource@google.com> 3021 3022 * bench/actions.py: 3023 3024 In the benchmarking script, don't remove the build directories by 3025 default, because the log files get stored in the build directories, 3026 and it's useful to have the log files around afterwards. 3027 3028 Reviewers: Craig Silverstein 3029 30302008-05-16 18:08 Craig Silverstein <opensource@google.com> 3031 3032 * src/dotd.c: 3033 3034 Comment the need to handle gcc's -Wp flag. 3035 3036 Reviewed by Fergus Henderson 3037 30382008-05-16 01:15 Nils Klarlund <opensource@google.com> 3039 3040 * include_server/include_analyzer_test.py: 3041 3042 Fix freak name collision on OSs that do not distinguish upper and 3043 lowercase in 3044 file names. 3045 3046 The symbol 'TESTING' is potentially unevaluated according to the 3047 overapproximation semantics of the include server. So if this symbol 3048 is used in 3049 a file name and if 'TESTING' really means 'testing' according to the 3050 OS and if 3051 in fact 'testing' does exist as file, then there is trouble. 3052 3053 Revievewers: Craig Silverstein <opensource@google.com> 3054 3055 Testing: 3056 make include-server-maintainer-check (on Linux) 3057 30582008-05-16 01:10 Nils Klarlund <opensource@google.com> 3059 3060 * pump.in: 3061 3062 Fix: speed-up the include processor a few times by exporting 3063 PYTHONOPTIMIZE. 3064 3065 This took a little while: fortunately, the tracing information is 3066 dependent on 3067 the PYTHONOPTIMIZE setting, so after a diff on the outputs of the gws 3068 example 3069 before and after, it finally dawned upon me what was wrong. 3070 3071 Tested: manually on the gws example with 600 include directories. 3072 30732008-05-16 00:59 Nils Klarlund <opensource@google.com> 3074 3075 * Makefile.in: 3076 3077 Fix removal of 'pump'. 3078 3079 Review: Craig Silverstein 3080 30812008-05-16 00:52 Nils Klarlund <opensource@google.com> 3082 3083 * Makefile.in, pump.in: 3084 3085 Fix variable that denotes the source location. 3086 3087 (1) It was not documented. I rewrote the documentation for a couple 3088 of associated variables. 3089 (2) There was no default value. 3090 3091 Now, the variable does not need to be set from 'make', so I've removed 3092 it from 3093 Makefile.in. And, I've made it into a standard shell lowercase 3094 variable. 3095 3096 Reviewers: Fergus Henderson, Craig Silverstein 3097 Tests: (1) make distcheck 3098 (2) Running the pump script out of the build directory. 3099 31002008-05-15 21:45 Craig Silverstein <opensource@google.com> 3101 3102 * find_c_extension.sh, test/testdistcc.py: 3103 3104 Modifications to the pump and test framework for cygwin. 3105 3106 1) find_c_extension looks for .dll files in addition to .so files. 3107 3108 2) Likewise, testdistcc.py has to check whether binary names might end 3109 in .exe. Usually that doesn't matter, but sometimes (eg when running 3110 cp on them), it does. 3111 3112 3) testdistcc.py adds a routine to detect PE binaries. These, like 3113 dwarf binaries, do not always give reproducible output on the same 3114 input, so take that into account in the gdb tests. 3115 3116 4) In the lsdistcc test, we assumed that when the ping failed, 3117 127.0.0.2 isn't available. But it's also possible ping is just broken 3118 (or different) on that machine. So in the failed-ping case, we no 3119 longer make any assumption about 127.0.0.2, one way or the other. 3120 3121 Tested by running 'make check' on cygwin. Most every test passes! 3122 3123 Reviewed by Fergus Henderson 3124 31252008-05-15 20:11 Nils Klarlund <opensource@google.com> 3126 3127 * Makefile.in: 3128 3129 Add 'pump' to 'all' target. Add 'rm pump' to 'clean' target. 3130 3131 - 'pump' is a dependency of 'install'. 3132 - 'include_server' is a dependency of 'all. 3133 3134 So I propose that 'pump' should be a dependency of 'all'. 3135 3136 Reviewers: Fergus Henderson 3137 Test: make distcheck 3138 31392008-05-15 19:39 Craig Silverstein <opensource@google.com> 3140 3141 * Makefile.in, configure.ac, pump.in: 3142 3143 Instead of a hack to figure out if pump is installed or not -- one 3144 that fails on macs with python 2.5 (at least) because of weirdnesses 3145 with distutils installation on that platform -- just rewrite pump at 3146 install-time to indicate it's installed. We take the opportunity to 3147 tell pump where the installed include_server.py is, because it needs 3148 to know, and we know that during 'make install'. 3149 3150 Tested by running 'make distcheck' on linux (ubuntu) with python 2.4, 3151 and mac 10.5 with python 2.5. I also tested by running, on the linux 3152 machine, 3153 ./configure --prefix=/tmp/distcc.install && make install && make 3154 DISTCC_INSTALLATION=/tmp/distcc.install/bin installcheck 3155 3156 Furthermore, I manually inspected the installed pump file after that 3157 to make sure it looked correct. 3158 3159 Reviewed by Nils Klarlund and Fergus Henderson 3160 31612008-05-15 02:53 Craig Silverstein <opensource@google.com> 3162 3163 * include_server/compiler_defaults.py: 3164 3165 Add a comment. From Nils Klarlund <opensource@google.com>: 3166 3167 "Assume that: 3168 3169 (1) 'gcc' is a link to 'distcc' earlier on PATH than the real gcc. 3170 (2) gcc is invoked; in fact that invokes distcc, which will rewrite 3171 the PATH in src/climasq.c before invoking 'gcc' again. 3172 3173 That will make calls by distcc such as 'gcc -E' for preprocessing work 3174 OK, but the include processor will in fact be calling the 'distcc' as 3175 'gcc' again! But because the input argument is an I/O redirection, 3176 distcc will then correctly call 'gcc'. In args.c it fails to recognize 3177 an input file." 3178 31792008-05-15 02:40 Craig Silverstein <opensource@google.com> 3180 3181 * src/access.c, src/access.h, src/arg.c, src/backoff.c, src/bulk.c, 3182 src/bulk.h, src/cleanup.c, src/climasq.c, src/clinet.c, src/clinet.h, 3183 src/clirpc.c, src/compile.h, src/compress.c, src/cpp.c, src/daemon.c, 3184 src/daemon.h, src/distcc.c, src/distcc.h, src/dopt.c, src/dopt.h, 3185 src/dparent.c, src/dsignal.c, src/exec.h, src/exitcode.h, 3186 src/h_hosts.c, src/h_parsemask.c, src/help.c, src/history.c, 3187 src/hostfile.c, src/hosts.c, src/hosts.h, src/implicit.c, 3188 src/implicit.h, src/io.c, src/loadfile.c, src/lock.c, src/lock.h, 3189 src/mon-gnome.c, src/mon-notify.c, src/mon-text.c, src/mon.c, 3190 src/mon.h, src/ncpus.c, src/netutil.c, src/netutil.h, src/prefork.c, 3191 src/pump.c, src/remote.c, src/renderer.c, src/renderer.h, src/rpc.c, 3192 src/rpc.h, src/safeguard.c, src/sendfile.c, src/serve.c, src/setuid.c, 3193 src/srvnet.c, src/srvnet.h, src/srvrpc.c, src/ssh.c, src/state.c, 3194 src/state.h, src/stats.c, src/stats.h, src/strip.c, src/tempfile.c, 3195 src/timefile.c, src/timefile.h, src/traceenv.c, src/types.h, 3196 src/util.c, src/util.h, src/where.c, src/where.h: 3197 3198 Add a consistent emacs-variable header to all source files. This 3199 affects the way emacs users will see these files, when visiting them 3200 in emacs. In particular, tabs will show up as 4 spaces, which is 3201 (clearly) the setting the original distcc author used when writing the 3202 code. 3203 3204 We also set an emacs variable to never insert new tabs, but use spaces 3205 instead. This will help stop the problem we have now with mixed tabs 3206 and spaces. In a future cleanup, we may replace all tabs with 4 3207 spaces, and make other whitespace improvements. 3208 3209 The final new variable set, is to set line-wrapping at 78 chars. 3210 Personally, I would have made it more like 72, but some existing files 3211 already had the 78 limit, so I just do that everywhere, to be 3212 consistent. 3213 3214 Reviewed by Fergus Henderson 3215 32162008-05-15 01:58 Craig Silverstein <opensource@google.com> 3217 3218 * test/testdistcc.py: 3219 3220 The gdb tests was making two assumptions that the input was ELF, which 3221 was failing on OS X (Which uses Mach-O). One is that two identical 3222 link commands always produce the same output, which is not true for 3223 mach-o. The other is just a test of ELF-specific code, without an 3224 "iself" check. Now I check the object-file type and run the 3225 appropriate test, based on the type, in each case. 3226 3227 Tested by running 'make check' on linux (ubuntu 6) and OS X (10.5). 3228 3229 Reviewed by Fergus Henderson 3230 32312008-05-15 01:36 Craig Silverstein <opensource@google.com> 3232 3233 * include_server/compiler_defaults.py: 3234 3235 When running gcc -v, we were clearing the environment too 3236 aggressively: in particular, we were clearing $PATH, which is needed 3237 to find gcc when it's in an unusual location. Now we clear everything 3238 but $PATH. 3239 3240 Tested by running 'make include-server-maintainer-check' on solaris 3241 x86, which has gcc outside the standard path, and on linux (ubuntu), 3242 which does not. 3243 3244 Reviewed by Fergus Henderson 3245 32462008-05-15 01:15 Craig Silverstein <opensource@google.com> 3247 3248 * src/tempfile.c: 3249 3250 The tmpdir-creation routine has an (undocumented) invariant that the 3251 tmpdir should not end in a slash -- at least, inside distcc, you see 3252 code like this: 3253 snprintf("%s/%s", tmpdir, filename) 3254 3255 On the other hand, windows's routine to create a tempdir guarantees it 3256 will end with a slash. I'm not sure it really matters, but get rid of 3257 the slash in that case. That way we don't have to worry about how 3258 filenames are interpreted (since // does have a special meaning for 3259 filenames in windows, though probably not in a way this code could 3260 generate before; still, no harm in normalizing to one slash). 3261 3262 Tested by running 'make check' on cygwin. 3263 3264 Reviewed by Fergus Henderson 3265 32662008-05-14 21:01 Craig Silverstein <opensource@google.com> 3267 3268 * test/comfychair.py: 3269 3270 Replace an os.system calls ('rm -rf') with python (shutil.rmtree). 3271 This should improve portability. It seems to help on cygwin, for 3272 instance. 3273 3274 I also got rid of anotehr os.system call that was redundant: it did a 3275 "mkdir -p foo" after the previous line had done a "mkdir -p foo/bar". 3276 3277 Tested by running 'make check on linux (ubuntu) and cygwin. 3278 3279 Reviewed by Fergus Henderson 3280 32812008-05-14 19:48 Craig Silverstein <opensource@google.com> 3282 3283 * Makefile.in: 3284 3285 1) Fix up a PATH= assignment that would fail if builddir had spaces in 3286 it (because the output of `cd "$builddir" && pwd` was not being 3287 quoted). As a bonus, make the PATH= fit on one line, which makes some 3288 shells happier. 3289 3290 2) Fixed up some install targets. On some systems, tar without -f 3291 reads from stdin, but that's non-standard (it should read from some 3292 tape-drive device in /dev in that case). Add -f- to $(TAR) in that 3293 case, which should work everywhere. 3294 3295 3) cp -a isn't supported on all systems. I checked what automake 3296 does, and it emits cp -pR, so that's what I do too. We don't have any 3297 internal symlinks that I need to worry about -P or anything like 3298 that. 3299 3300 Tested by running 'make installcheck' on a freebsd 6.0 system. 3301 3302 Reviewed by Fergus Henderson 3303 33042008-05-14 19:22 Craig Silverstein <opensource@google.com> 3305 3306 * include_server/include_server_test.py: 3307 3308 Show more data when an assert fails, to help in debugging. 3309 3310 Reviewed by Nils Klarlund and Fergus Henderson 3311 33122008-05-14 18:59 Craig Silverstein <opensource@google.com> 3313 3314 * m4/acx_pthread.m4: 3315 3316 Update acx_pthread to the latest version we use internally. This is 3317 like the one on the cryp.to autoconf repository website, but with the 3318 avahi patches added in to deal with some compiler quirks. However, 3319 these patches have been rewritten internally within google to make 3320 them more robust. In particular, the new code now works with cygwin, 3321 which it previously didn't (resulting in the spurious error: "Unable 3322 to determine how to use pthreads with shared libraries"). 3323 3324 Tested by running configure on cygwin. 3325 3326 Reviewed by Nils Klarlund and Fergus Henderson 3327 33282008-05-14 14:26 Nils Klarlund <opensource@google.com> 3329 3330 * configure.ac, include_server/include_server_test.py: 3331 3332 Make distcc 3.0 compatible with Python 2.5. 3333 3334 Tests: 3335 3336 I made PATH=$PATH:/usr/python/bin (where python2.5 resides on my 3337 machine). I ran 3338 autogen and reconfigured. Then I did: 3339 3340 make include-server-maintainer-check 3341 make pump-maintainer-check 3342 3343 and I made sure that -Is now are set according to Python2.5. 3344 33452008-05-14 08:03 Craig Silverstein <opensource@google.com> 3346 3347 * pump.in: 3348 3349 Ick. On some systems test is in /bin, and in others /usr/bin. Now 3350 figure out where it is before running it, and fall back on the shell 3351 test if no binary can be found. 3352 3353 Tested by running 'make check' on a FreeBSD machine (/bin/test) and 3354 linux (/usr/bin/test). 3355 3356 Reviewed by Fergus Henderson 3357 33582008-05-14 07:28 Craig Silverstein <opensource@google.com> 3359 3360 * src/compile.c: 3361 3362 getc returns an int, not a char. We're checking whether a char == 3363 EOF, which isn't kosher, and on systems where -funsigned-char is true, 3364 dangerous. Change the type of the var to an int. 3365 3366 Tested by running on linux (ubuntu) and on linux ppc (debian), the 3367 latter of which complained at compile time. 3368 3369 Reviewed by Fergus Henderson 3370 33712008-05-14 07:15 Fergus Henderson <opensource@google.com> 3372 3373 * packaging/RedHat/init.d/distcc: 3374 3375 Fix problems where distcc's init script was using the wrong 3376 exit status and giving misleading messages as a result. 3377 3378 Reviewers: Craig Silverstein 3379 33802008-05-14 07:14 Fergus Henderson <opensource@google.com> 3381 3382 * packaging/RedHat/conf/commands.allow.sh: 3383 3384 Increase the set of commands allowed by default: 3385 allow cc, c++, c89, c99, and g++, in addition to gcc. 3386 3387 Reviewers: Craig Silverstein 3388 33892008-05-14 02:27 Craig Silverstein <opensource@google.com> 3390 3391 * pump.in: 3392 3393 Fix a test to work on solaris sh. 3394 3395 Tested by running 'make check' on linux (ubuntu) and solaris 10 x86. 3396 3397 Reviewed by Nils Klarlund and Fergus Henderson 3398 33992008-05-14 01:00 Nils Klarlund <opensource@google.com> 3400 3401 * include_server/basics.py, include_server/basics_test.py, 3402 include_server/include_server.py: 3403 3404 Finish refactoring and add tests. Move _CleanOutClientRoot and 3405 _CleanOutOthers 3406 to the ClientRootKeeper package in basics. Replace 3407 _RemoveDirectoryTree with 3408 shutil function. Add tests to see that directories are created and 3409 deleted. 3410 Add a couple of title headers to basics.py. Remove a couple of now 3411 irrelevant 3412 comments. 3413 3414 Tests: make pump-maintainer-check 3415 make include-server-maintainer-check 3416 3417 Reviewer: Craig Silverstein 3418 34192008-05-14 00:42 Craig Silverstein <opensource@google.com> 3420 3421 * include_server/setup.py: 3422 3423 Include snprintf.c in the source-list for the python extension. This 3424 is needed on systems that don't define asprintf/etc on their own. 3425 3426 Tested by running 'make check' on a linux ubuntu machine and on a 3427 solaris machine. 3428 3429 Reviewed by Fergus Henderson 3430 34312008-05-14 00:31 Craig Silverstein <opensource@google.com> 3432 3433 * Makefile.in, find_c_extension.sh, pump.in: 3434 3435 A few more cleanups: 3436 3437 1) No ! outside of a 'test' (sh-compatibility). 3438 2) grep >/dev/null instead of grep -q (solaris portability). 3439 3) Improved the quote hygenie a little. 3440 4) prepend to PYTHONPATH instead of overriding it. 3441 3442 Tested by running on a solaris machine, and on a machine where 3443 PYTHONPATH is needed to locate the python distribution (which is not 3444 in the standard location). 3445 3446 Reviewed by Fergus Henderson 3447 34482008-05-13 23:53 Craig Silverstein <opensource@google.com> 3449 3450 * test/testdistcc.py: 3451 3452 On some systems (FreeBSD), it looks like connect() can return EINVAL. 3453 This isn't documented, but there's some talk about it on the web, eg 3454 http://mail-index.netbsd.org/netbsd-bugs/2003/08/18/0002.html 3455 3456 It looks like the cause is that the first connect fails for whatever 3457 reason, and then subsequent ones fail with EINVAL. 3458 3459 I've detected that in the NoDetachDaemon_Case, both on FreeBSD and OS 3460 X machines. The symptom is that sock.connect_ex(('127.0.0.1', 3461 self.server_port) continually returns EINVAL, and no amount of time 3462 will fix things. 3463 3464 I'm not exactly sure why, but I figure one possible problem is the 3465 connect is happening before distccd has started listening, and that 3466 causes problems. So I put in a bit of a delay to give distccd time to 3467 start up. I figure it can't hurt, and may well help. 3468 3469 Tested by running 'make check' on a ubuntu machine (not subject to 3470 this problem) and a freebsd machine (which sometimes is). It 3471 certainly didn't hurt, though I can't tell if it solved the problem 3472 for good. 3473 3474 Reviewed by Fergus Henderson 3475 34762008-05-13 23:36 Craig Silverstein <opensource@google.com> 3477 3478 * include_server/setup.py: 3479 3480 I found a machine whose python was compiled with _FORTIFY_SOURCE, 3481 which -- on linux FC5 at least -- gives warnings (which we turn into 3482 errors via -Werror) on distcc code for libc functions where we ignore 3483 the return value. Unfortunately, setup.py always uses the same flags 3484 that python was compiled with on the local machine, so _FORTIFY_SOURCE 3485 is always set when compiling distcc extensions via setup.py, and that 3486 compilation fails. 3487 3488 Without getting into a philosophical debate about the merits of the 3489 warn-unused warnings, we'd rather the code compile, so I turn off 3490 _FORTIFY_SOURCE when it exists. 3491 3492 Tested by running 'make check' on a goobuntu machine (no 3493 _FORTIFY_SOURCE) and an FC5 machine (with _FORTIFY_SOURCE). 3494 3495 Reviewed by Fergus Henderson 3496 34972008-05-13 20:33 Nils Klarlund <opensource@google.com> 3498 3499 * src/compile.c: 3500 3501 Fix buglet: insert (void) in call of strcpy to avoid gcc 4.1.1. making 3502 trouble. 3503 3504 gcc 4.1.1 with glibc 2.2.2. insists that the return value must be 3505 used. That 3506 appears to be a bug in gcc. 3507 3508 Reviewers: Fergus Henderson, Craig Silverstein. 3509 35102008-05-13 18:59 Craig Silverstein <opensource@google.com> 3511 3512 * test/testdistcc.py: 3513 3514 Two changes to robustify the unittests: 3515 3516 1) Don't try to run the gdb tests on machines that don't have gdb 3517 installed. Likewise, don't try to run the implicit-cc test on a 3518 machine that doesn't have cc installed (it happens! Sometimes 3519 there's only gcc.) 3520 3521 2) Raise the file-descriptor limit if we can. Mac OS X likes to keep 3522 the limit at 256, but some of these tests need more. 3523 3524 Tested by running 'make check' on linux and mac os x 10.5. On linux, 3525 I ran on both a machine with gdb installed, and one without. 3526 3527 Reviewed by Nils Klarlund and Fergus Henderson 3528 35292008-05-13 18:40 Craig Silverstein <opensource@google.com> 3530 3531 * src/exec.c: 3532 3533 We were logging a char* that could be NULL. With glibc, the printf 3534 would just print "(null)", but on solaris libc it would segfault. 3535 Explicitly test that case now. 3536 3537 Tested by running 'make check' on linux and solaris x86. 3538 3539 Reviewed by Nils Klarlund and Fergus Henderson 3540 35412008-05-13 17:49 Nils Klarlund <opensource@google.com> 3542 3543 * include_server/basics.py, include_server/basics_test.py, 3544 include_server/compress_files.py, include_server/include_analyzer.py, 3545 include_server/include_analyzer_memoizing_node.py, 3546 include_server/include_analyzer_memoizing_node_test.py, 3547 include_server/include_analyzer_test.py, 3548 include_server/include_server.py, 3549 include_server/include_server_test.py, 3550 include_server/parse_file_test.py: 3551 3552 Clean-up the handling of directories for storing compressed files. 3553 3554 The code was lacked encapsulation and proper object-orientation. (I 3555 wrote it -- 3556 it had started out much simpler.) For example, key parameteres were 3557 communicated through file name patterns expressed in file names on 3558 disk. These 3559 patterns were then inferred from reading file names. Now the patterns 3560 are 3561 properly abstracted away in a class. 3562 3563 There should be no semantic changes. 3564 3565 Testing: 3566 3567 make include-server-maintainer-check 3568 make pump-maintainer-check 3569 DISTCC_CLIENT_TMP='/tmp' make pump-maintainer-check 3570 3571 The latter test exercices the padding gymnastics. 3572 35732008-05-13 07:02 Craig Silverstein <opensource@google.com> 3574 3575 * pump.in: 3576 3577 Rewrite 'pump' to remove bash-isms. This should now work with 3578 standard sh. 3579 3580 This involved the following changes: 3581 3582 1) `cmd` instead of $(cmd). 3583 2) [ -n "$VAR" ] instead of [ "$VAR" ] 3584 3) "Here document" (<<EOF) instead of a multi-line string (for 3585 CheckUsage) 3586 4) if/then instead of fancy var stuff like $(var-foo) 3587 5) if/then instead of x || { cmd1; cmd2; } (probably not necessary) 3588 6) [ ! foo ] instead of ! [ foo ] (that is, ! inside the test command) 3589 7) No more "local" for variable declarations 3590 8) I rewrote a case statement as an if, to not need bash extensions 3591 3592 Not too much, actually. I've verified that the following "fancy" 3593 features are supported by all the sh's I have access to (bash, 3594 freebsd's sh, and solaris 10's sh): 3595 3596 1) Use of 'exec' to redirect the shell's stdin and stdout 3597 2) Functions returning values, which are checkable via $? 3598 3) Assigning text emitted via a funcion using `` (a=`MyFunc arg1 3599 arg2`) 3600 4) trap 3601 3602 In addition to the above conversions, I also cleaned up quote hygenie 3603 (in case variables have spaces in them). 3604 3605 Tested by running 'make pump-maintainer-check' on a linux machine and 3606 freebsd machine. On the solaris machine, I ran 'pump' manually 3607 (setting various environment vars to try to test different codepaths), 3608 but could not successfully run 'make pump-maintainer-check' since that 3609 machine lacks the necessary version of python. 3610 3611 Really, we should probably rewrite this script in python one day (it 3612 calls python scripts, so that's not adding a new dependency), and then 3613 we won't have to worry about portability at all. But that will have 3614 to wait for another day. 3615 3616 Reviewed by Nils Klarlund and Fergus Henderson 3617 36182008-05-13 07:00 Craig Silverstein <opensource@google.com> 3619 3620 * test/testdistcc.py: 3621 3622 printenv doesn't exist on all systems. 'env' does, and does the same 3623 thing as printenv when no arguments are given, so just use env instead 3624 of printenv. 3625 3626 Tested by running 'make check' on a linux machine (which has both env 3627 and printenv). 3628 3629 To be reviewed by Fergus Henderson 3630 36312008-05-13 05:28 Craig Silverstein <opensource@google.com> 3632 3633 * include_server/include_server.py: 3634 3635 Be more informative on an assert. 3636 3637 Reviewed by Fergus Henderson and Nils Klarlund 3638 36392008-05-13 01:49 Craig Silverstein <opensource@google.com> 3640 3641 * Makefile.in, configure.ac: 3642 3643 In the non-included popt case, POPT_INCLUDES was the empty string, 3644 leading to a compile command that had -I"" in it. Who knows what that 3645 means? Now the -I is part of POPT_INCLUDES, so when it's absent we 3646 don't add anything to CPPFLAGS. 3647 3648 Tested on a machine where POPT_INCLUDES is not empty and one where it 3649 is. 3650 3651 Reviewed by Nils Klarlund 3652 36532008-05-12 23:53 Fergus Henderson <opensource@google.com> 3654 3655 * bench/benchmark.py: 3656 3657 Fix a typo in my previous change: 3658 s/parse_opt_compiler/parse_compiler_opt/ 3659 36602008-05-12 23:07 Fergus Henderson <opensource@google.com> 3661 3662 * include_server/parse_command.py, test/testdistcc.py: 3663 3664 Handle gcc's "-MF" option in the include server. 3665 3666 This option only affects the name of the ".d" file, not the include 3667 closure, so the include server doesn't need to do anything for this 3668 option; the actual handling of this option in distcc is done by the 3669 distcc 3670 client, which already handles it correctly. This change just stops the 3671 include server from throwing an exception whenever '-MF' is 3672 encountered. 3673 3674 Reviewers: Nils Klarlund 3675 36762008-05-12 23:02 Fergus Henderson <opensource@google.com> 3677 3678 * bench/benchmark.py, bench/compiler.py: 3679 3680 Add new options '--cc' and '--cxx' for specifying the paths to use for 3681 the C and C++ compilers. 3682 3683 Also, update the help message to document the new format for the 3684 --compiler option. 3685 3686 Reviewers: Craig Silverstein 3687 36882008-05-12 20:18 Nils Klarlund <opensource@google.com> 3689 3690 * include_server/c_extensions/distcc_pump_c_extensions_module.c: 3691 3692 Fix call of 'realpath' to work on FreeBSD. Also fix memory leak. 3693 3694 Reviewer: Craig Silverstein, Fergus Henderson. 3695 Tests: make pump-maintainer-check 3696 make include-server-maintainer-check 3697 36982008-05-12 19:11 Fergus Henderson <opensource@google.com> 3699 3700 * bench/Build.py, bench/ProjectDefs.py, bench/Summary.py, 3701 bench/buildutil.py, bench/compiler.py, bench/statistics.py: 3702 3703 Add support for pump mode to the benchmarking scripts. 3704 3705 Also add support for setting the number of hosts to use. 3706 3707 Fix division by zero error that occurred when running benchmark script 3708 with the "-a" option. 3709 3710 Fix broken URL for GNU hello package. 3711 3712 Reviewers: Craig Silverstein, Nils Klarlund 3713 37142008-05-12 18:32 Nils Klarlund <opensource@google.com> 3715 3716 * pump.in: 3717 3718 Fix 'ps' invocation to be more FreeBSD friendly. 3719 3720 Reviewers: Fergus Henderson, Craig Silverstein 3721 Tests: make pump-maintainer-check 3722 37232008-05-12 16:19 Nils Klarlund <opensource@google.com> 3724 3725 * include_server/include_analyzer_test.py: 3726 3727 Fix include server test so that it passes on system w/o /dev/shm. 3728 3729 Reviewers: Craig Silverstein, Fergus Henderson 3730 Tests: make include-server-maintainer-check 3731 37322008-05-12 16:15 Nils Klarlund <opensource@google.com> 3733 3734 * pump.in: 3735 3736 Get rid of 'readlink -f', which is a Gnuism. 3737 3738 The purpose of the readlink -f was to give the absolute path of the 3739 installation; that happens to reveal the installation date given the 3740 way we set 3741 up distcc-pump at Google. But this does not work under FreeBSD. The 3742 installation information can be communicated in different ways (for 3743 example by 3744 explicit actions of the build system). 3745 3746 Reviewers: Fergus Henderson, Craig Silverstein 3747 37482008-05-11 19:06 Craig Silverstein <opensource@google.com> 3749 3750 * test/testdistcc.py: 3751 3752 Annoyingly, different versions of gcc are inconsistent in how they 3753 treat a non-existent #include file when invoked with "-MMD": some 3754 versions treat it as an error (rc 1), some as a warning (rc 0). When 3755 distcc is responsible for preprocessing (_server_options includes 3756 'cpp'), we need to figure out which our gcc does, in order to verify 3757 distcc is doing the same thing. 3758 3759 Before this change, we just hard-coded in one sort of gcc behavior 3760 (that it always warns). This change actually tries gcc out to see 3761 which it does, to make sure distcc does the same. 3762 3763 Tested by running 'make pump-maintainer-check' on both Linux gcc 4.0.3 3764 (which warns) and FreeBSD gcc 3.4.4 (which errors). 3765 3766 Reviewed by Fergus Henderson 3767 37682008-05-10 06:54 Craig Silverstein <opensource@google.com> 3769 3770 * src/sendfile.c: 3771 3772 No matter what the reason, if we can't use sendfile() but it's still 3773 safe to fall back on readwrite(), do that. Before we only did this 3774 for certain errors, but we might as well do it for any error we don't 3775 expect to be able to recover from. 3776 3777 Tested by running on mac os x 10.4, which has a problem with sendfile 3778 failing sometimes. The relevant test succeeds after this patch. 3779 3780 Reviewed by Fergus Henderson 3781 37822008-05-10 00:58 Nils Klarlund <opensource@google.com> 3783 3784 * Makefile.in: 3785 3786 Double-quote unprotected directory reference. 3787 3788 Reviewers: csilvers 3789 Tests: make distcheck 3790 37912008-05-10 00:56 Nils Klarlund <opensource@google.com> 3792 3793 * Makefile.in: 3794 3795 Cosmetic clean-up of Makefile.in. 3796 3797 -- Put a @ in front of a comment shell command (it shouldn't be 3798 printed). It is 3799 the only comment in the action part of a build rule in the whole 3800 Makefile. In 3801 Emacs, this comment is flagged as a syntax issue. 3802 -- Group all .PHONYs at beginning of section. 3803 3804 Tests: make distcheck 3805 Reviewers: fergus, csilvers 3806 38072008-05-09 23:19 Nils Klarlund <opensource@google.com> 3808 3809 * configure.ac, pump.in: 3810 3811 Make the identification of Python 'binaries' more robust. 3812 3813 Use the distutil function that generates the library name for locating 3814 the 3815 Python stuff in an installation. 3816 3817 Reviewers: Fergus Henderson, Craig Silverstein 3818 Test: make distcheck 3819 38202008-05-09 23:17 Nils Klarlund <opensource@google.com> 3821 3822 * test/testdistcc.py: 3823 3824 Speed-up integration/systems tests. 3825 38262008-05-09 21:02 Fergus Henderson <opensource@google.com> 3827 3828 * Makefile.in: 3829 3830 Add "daemon-installcheck" target. 3831 3832 This tests that the distcc daemon is running, and that it and distcc 3833 and the pump script have been installed correctly, by compiling a 3834 simple 3835 hello world program with distcc and distcc-pump. 3836 38372008-05-09 20:36 Craig Silverstein <opensource@google.com> 3838 3839 * src/lsdistcc.c: 3840 3841 A whitespace-only change. Got rid of spaces at the end of lines, and 3842 also of tabs. Went through to normalize indents and so forth (some 3843 functions were using 4-space indents, and others were using 8-space 3844 indents, which were probably actually originally written as tabs on a 3845 system with 4-space tabs). 3846 3847 diff -w shows no diffs; this is really whitespace-only. 3848 3849 Tested by making sure the file still compiles. 3850 38512008-05-09 20:33 Craig Silverstein <opensource@google.com> 3852 3853 * src/lsdistcc.c: 3854 3855 Modify lsdistcc to reduce the number of concurrent fd's it tries to 3856 open, when the system doesn't support a lot of concurrent fd's (which 3857 we see by default in freebsd). It uses getrlimit and setrlimit to get 3858 as many fd's as it can, and then stick to that number. 3859 3860 I modified the main search loop to work in stages, where each stage 3861 uses at most maxfd's fd's. In the common -- almost universal -- case 3862 there will only need to be one stage, and the code will behave the 3863 same as before. In some limited environments, you might see multiple 3864 stages. You can reproduce this artificially via code like this: 3865 $ ulimit -SH -n 32 # in sh-like shells 3866 $ ./lsdistcc 3867 3868 Tested by running manually on a configuration that gives 141 hosts. 3869 Tested both with many fd's available, and arbitrarily limited to 32 3870 (via the ulimit command above). 3871 3872 Reviewed by Nils Klarlund 3873 38742008-05-09 19:45 Fergus Henderson <opensource@google.com> 3875 3876 * packaging/RedHat/init.d/distcc: 3877 3878 Fix a bug in my changes to add 'commands.allow.sh' that broke the 3879 Debian 3880 distribution. 3881 3882 There was a spurious assignment to CMDLIST. CMDLIST used for the 3883 output of /etc/distcc/commands.allow.sh; it is supposed to be set to 3884 /var/state/distcc/commands.allow. But due to the spurious assignment, 3885 CMDLIST was being set to /etc/distcc/commands.allow.sh, causing the 3886 script to overwrite itself. 3887 3888 Reviewers: Craig Silverstein 3889 38902008-05-09 19:24 Nils Klarlund <opensource@google.com> 3891 3892 * packaging/RedHat/rpm.spec: 3893 3894 Fix so that include server record can be found. 3895 38962008-05-09 19:23 Fergus Henderson <opensource@google.com> 3897 3898 * src/stringmap.c: 3899 3900 Fix what appears to be a bug in the handling of DISTCC_CMDLIST. 3901 3902 The documentation is not very clear, but distccd was documented 3903 as matching against the last DISTCC_CMDLIST_NUMWORDS words of the 3904 command, where I think by words they meant directory components. 3905 For example, if the file refered to by DISTCC_CMDLIST contains the 3906 line 3907 "/usr/bin/i686-blah-blah/gcc", and DISTCC_CMDLIST_NUMWORDS=2, only 3908 commands which end in "/i686-blah-blah/gcc" would be matched. 3909 The bug is that a command "i686-blah-blah/gcc" should be considered 3910 to match. 3911 3912 Likewise, if DISTCC_CMDLIST contains the line "/usr/bin/gcc", and 3913 DISTCC_CMDLIST_NUMWORDS is 1 (or not set), then plain "gcc" should be 3914 allowed to match. 3915 3916 Reviewers: Dan Kegel, Craig Silverstein 3917 39182008-05-09 18:15 Nils Klarlund <opensource@google.com> 3919 3920 * Makefile.in, configure.ac, popt/system.h, src/access.c, src/arg.c, 3921 src/argutil.c, src/backoff.c, src/bulk.c, src/cleanup.c, 3922 src/climasq.c, src/clinet.c, src/clirpc.c, src/compile.c, 3923 src/compress.c, src/cpp.c, src/daemon.c, src/distcc.c, src/dopt.c, 3924 src/dparent.c, src/dsignal.c, src/exec.c, src/filename.c, 3925 src/fix_debug_info.c, src/gcc-id.c, src/h_argvtostr.c, 3926 src/h_compile.c, src/h_dotd.c, src/h_exten.c, src/h_hosts.c, 3927 src/h_issource.c, src/h_parsemask.c, src/h_sa2str.c, src/h_scanargs.c, 3928 src/h_strip.c, src/help.c, src/history.c, src/hostfile.c, src/hosts.c, 3929 src/implicit.c, src/io.c, src/loadfile.c, src/lock.c, src/mon-gnome.c, 3930 src/mon-notify.c, src/mon-text.c, src/mon.c, src/ncpus.c, 3931 src/netutil.c, src/prefork.c, src/pump.c, src/remote.c, 3932 src/renderer.c, src/rpc.c, src/safeguard.c, src/sendfile.c, 3933 src/serve.c, src/setuid.c, src/snprintf.c, src/srvnet.c, src/srvrpc.c, 3934 src/ssh.c, src/state.c, src/stats.c, src/strip.c, src/tempfile.c, 3935 src/timefile.c, src/trace.c, src/traceenv.c, src/util.c, src/where.c, 3936 src/zeroconf-reg.c, src/zeroconf.c: 3937 3938 Make handling of config.h sound. 3939 3940 (1) Correct order of -Is in Makefile. 3941 3942 (2) remove unnessary PATH modification in configure.ac (this is 3943 fergus's 3944 suggestion -- hopefully this will do, this replaces a circumvention 3945 mechanism I 3946 had originally concocted. 3947 3948 (3) Fix place of the include of popt in CPPFLAGS. 3949 3950 (4) Convert quoted includes of config.h to angle bracket includes so 3951 that the 3952 build version, not the source version, of this file is picked up. 3953 3954 The order of -Is in the build system is wrong: it contradicts the 3955 VPATH mechanism. 3956 3957 This means that builds in a build directory different from that 3958 of the source (distribution) directory will find wrong files even 3959 after the hapless developer has issued only a 'configure' command 3960 in the source directory (but not actually 'made' any thing 3961 there). For in that case, the src/config.h will be generated in 3962 the source directory and this will be the file picked in the 3963 build directory even if that directory has it's own src/config.h. 3964 This can lead to wrong builds and it can be hard to diagnose the 3965 problem. 3966 3967 Currently, this what CPPFLAGS end up being (as found in the 3968 generated Makefile): 3969 3970 CPPFLAGS = -DHAVE_CONFIG_H -D_GNU_SOURCE \ 3971 -I../distcc/popt -I../distcc/src \ 3972 ${DIR_DEFS} \ 3973 -Isrc -Ilzo \ 3974 -I"$(srcdir)/src" -I"$(srcdir)/lzo" \ 3975 3976 Here my source dir was ../distcc. 3977 3978 The presence of '-I../distcc/popt' in front of -Isrc is the exact 3979 opposite of the semantics of VPATH mechanism, which looks for 3980 files in the build directory, then in the source directory. 3981 3982 Also, note the remarks in: 3983 3984 http://www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Headers 3985 3986 (they do not quite correctly discuss the search path, btw). 3987 3988 TESTING: I verified that with a corrupted config.h file in the source 3989 directory, 3990 building now succeeds. 3991 3992 Also: make distcheck (it fails the same place as before: this is 3993 corrected in 3994 another change of mine --- I'll verify that with that change in place, 3995 this 3996 change makes 'make distcheck' succeed.) 3997 3998 REVIEWERS: Fergus Henderson, Craig Silverstein 3999 40002008-05-09 18:00 Nils Klarlund <opensource@google.com> 4001 4002 * Makefile.in, find_c_extension.sh, include_server/setup.py, pump.in: 4003 4004 Rewrite setup.py and associated logic to fix multiple build problems. 4005 4006 The recent distcheck revealed that paths were set incorrectly for the 4007 setup.py 4008 script. Also, as I dug deeper, it turned out that built files were 4009 placed in 4010 the src directory (thanks to os.path.join I found in the distutil's 4011 source code, 4012 that trips up the location if relative paths contains too many 4013 '..'s.). [The 4014 distccheck revealed this!] I didn't like either that setup was run in 4015 the 4016 source directory and not from the build directory (that's asking for 4017 trouble). 4018 I did't like either that the search path, the list of includes, in 4019 setup.py was 4020 handcoded and not simply that of CPPFLAGS. Finally, I was confused by 4021 _builddir 4022 being another build directory under $(buildir). I renamed the former 4023 _include_server to better explain its role. 4024 4025 So, I rewrote most of setup.py (correcting some of the documentation 4026 strings 4027 along the way). Also, I partly removed the 'jumping through the hoops' 4028 gymnastics from the Makefile. 4029 4030 TESTING: 'make distcheck' 4031 REVIEWERS: csilvers, fergus 4032 40332008-05-08 23:18 Fergus Henderson <opensource@google.com> 4034 4035 * doc/web/compared.html, doc/web/compilers.html, doc/web/faq.html, 4036 doc/web/security.html: 4037 4038 Update web pages to correct statements that are no longer accurate for 4039 distcc 3.0. 4040 4041 Reviewers: Craig Silverstein 4042 40432008-05-08 19:41 Fergus Henderson <opensource@google.com> 4044 4045 * doc/example/README, doc/example/default, doc/example/hosts.allow, 4046 doc/example/logrotate, doc/example/services, doc/example/xinetd, 4047 packaging/RedHat/logrotate.d/distcc, packaging/RedHat/rpm.spec: 4048 4049 Revise the doc/example directory: 4050 - Add README file to the doc/example directory. 4051 - Add files in doc/example for every system configuration file 4052 installed or modified by the RPM installation script (rpm.spec). 4053 - Update some comments in rpm.spec. 4054 - Some whitespace changes to doc/example/logrotate and 4055 packaging/RedHat/logrotate.d/distcc to make those two files match. 4056 - Copy warning from packaging/RedHat/xinetd.d/distcc to 4057 doc/examples/xinetd. 4058 4059 Reviewers: Craig Silverstein 4060 40612008-05-08 16:33 Nils Klarlund <opensource@google.com> 4062 4063 * include_server/basics.py: 4064 4065 Make this file mostly conformant with gpylint. There should be no 4066 semantic 4067 consequences. 4068 4069 TESTS: make distcheck 4070 REVIEWER: Fergus Henderson 4071 40722008-05-07 23:50 Craig Silverstein <opensource@google.com> 4073 4074 * NEWS, doc/web/compared.html, doc/web/compilers.html, doc/web/faq.html, 4075 doc/web/index.html, doc/web/results.html, doc/web/scenarios.html, 4076 doc/web/security.html: 4077 4078 Change NEWS links to point to the actual NEWS file, rather than the 4079 svn history-log for the NEWS file. 4080 4081 Also changed the NEWS file itself to use ^L instead of a ^ + L, for 4082 the top instance. 4083 40842008-05-07 23:03 Fergus Henderson <opensource@google.com> 4085 4086 * man/pump.1: 4087 4088 Add a man page for the "pump" script. 4089 4090 The contents are similar to the output of "pump --help", 4091 but with a bit more mark-up, and with additional sections 4092 "INVOKING LSDISTCC", "BUGS", "AUTHORS", "LICENSE", and "SEE ALSO". 4093 4094 Reviewers: Craig Silverstein, Nils Klarlund. 4095 40962008-05-07 18:54 Craig Silverstein <opensource@google.com> 4097 4098 * test/testdistcc.py: 4099 4100 The DaemonBadPort test case was not passing in --allow, which is a new 4101 flag required by distcc 3 (all other tests had been modified to add 4102 it). We never noticed until now because the distccd command is 4103 *expected* to fail with a "bad arguments" error code -- though the bad 4104 argument is supposed to be --port, not --allow. So this change gets 4105 this test actually testing what it's supposed to, again. 4106 4107 Reviewed by Fergus Henderson 4108 41092008-05-07 18:21 Fergus Henderson <opensource@google.com> 4110 4111 * include_server/include_server.py: 4112 4113 Insert "Usage: " at the start of the usage message for the include 4114 server. 4115 41162008-05-07 18:01 Craig Silverstein <opensource@google.com> 4117 4118 * doc/web, doc/web/compared.html, doc/web/compilers.html, 4119 doc/web/distcc-green.css, doc/web/distcc-lca-2004.html, 4120 doc/web/distcc-lca-2004.pdf, doc/web/distcc-lca2003.ps.gz, 4121 doc/web/distccmon-gnome-2003-09-23-01.png, doc/web/faq.html, 4122 doc/web/index.html, doc/web/results.html, doc/web/scenarios.html, 4123 doc/web/security.html: 4124 4125 Add the documentation files, as downloaded from distcc.samba.org. I 4126 then modified the files slightly, mostly by deleting content that 4127 referred to files on the samba.org server and replacing them by files 4128 (or, usually, links) to Google Code. For instance, the 'source' link 4129 now points to the Google Code svn page for distcc, rather than a page 4130 holding tarball information. Likewise, the News page now just points 4131 to the svn trunk's NEWS file. 4132 4133 For the record, here's email from Martin Pool OK-ing this move/copy: 4134 --- 4135 From: Martin Pool <mbp@sourcefrog.net> 4136 Date: Sun, May 4, 2008 at 9:31 PM 4137 Subject: Re: sources for distcc web site 4138 To: Fergus Henderson <Fergus Henderson <opensource@google.com>> 4139 4140 Hi, 4141 4142 The sources are at 4143 <http://sourcefrog.net/archive/distcc-web-200411.tar.bz2> 4144 4145 You are welcome to either work from these or scrape the web site. You 4146 can make any reasonable use of the text in making a new web site. 4147 4148 -- 4149 Martin <http://launchpad.net/~mbp/ <http://launchpad.net/%7Embp/>> 4150 --- 4151 4152 Reviewed by Fergus Henderson 4153 41542008-05-05 15:31 Fergus Henderson <opensource@google.com> 4155 4156 * man/distcc.1, man/distccd.1: 4157 4158 Document Zeroconf support: the "--zeroconf" option to distccd 4159 and the "+zeroconf" entry in the distcc hosts list. 4160 4161 Reviewers: Craig Silverstein, Nils Klarlund. 4162 41632008-05-05 15:26 Fergus Henderson <opensource@google.com> 4164 4165 * man/distcc.1: 4166 4167 Document the -j and --show-hosts options in the man page. 4168 Also mention that pump mode requires release 3.0 or later, 4169 and a few other minor corrections. 4170 41712008-05-02 23:07 Fergus Henderson <opensource@google.com> 4172 4173 * test/testdistcc.py: 4174 4175 Change Lsdistcc_Case to work on hosts for which 127.0.0.2 is not a 4176 loopback address. 4177 4178 Tested by "(g)make TESTNAME=Lsdistcc_Case single-test" on both Linux 4179 and FreeBSD. 4180 4181 Reviewers: Craig Silverstein, Nils Klarlund. 4182 41832008-05-02 21:11 Fergus Henderson <opensource@google.com> 4184 4185 * test/testdistcc.py: 4186 4187 Fix EmptySource_Case test so that it passes with gcc 3.4.x. 4188 4189 Tested by "(g)make SINGLETEST=EmptySource_Case single-test" 4190 on both FreeBSD (gcc 3.4.4) and Linux (gcc 4.0.3). 4191 4192 Reviewers: Craig Silverstein 4193 41942008-05-02 19:54 Nils Klarlund <opensource@google.com> 4195 4196 * configure.ac, lzo/.stamp-conf.in, popt/.stamp-conf.in: 4197 4198 Explain stamp files and remove unneeded @src_dir@ (which was 4199 misspelled?). 4200 4201 TESTED: make distcheck 4202 REVIEWED: Craig Silverstein, Fergus Henderson 4203 42042008-05-02 19:09 Craig Silverstein <opensource@google.com> 4205 4206 * Makefile.in, configure.ac: 4207 4208 For machines without python installed, before this change we'd check 4209 for that case, but still give an error rc in that case, so the make 4210 would fail. Now I make sure we don't fail just because we don't have 4211 python installed. 4212 4213 Also, some machines (solaris 10) don't have a grep with -q, so just 4214 use >/dev/null insteasd. 4215 4216 Third, we had left out a file to add to the tarball: ontest.py. 4217 4218 Fourth, 'make distcheck' fails a bit on the pump-installcheck. I've 4219 addressed some of the problems, but others remain. 4220 4221 Finally -- and this is the bulk of the change, line-count wise, I 4222 added quotes around all variables, so we do the right thing when 4223 variables have spaces or other shell-meaningful characters in them, as 4224 indeed they often do on windows machines. 4225 4226 Tested by running 'make check' on various architectures, including 4227 solaris 10 x86 and cygwin. 4228 4229 Reviewed by Nils Klarlund and Fergus Henderson 4230 42312008-05-02 18:49 Fergus Henderson <opensource@google.com> 4232 4233 * src/sendfile.c: 4234 4235 Treat ENOTSOCK errors from sendfile() the same way that we treat 4236 ENONSYS and EINVAL errors: fall back to using read() and write(). 4237 This fixes the failure of SyntaxError_Case and MissingCompiler_Case 4238 on FreeBSD. 4239 4240 Tested by "make check". 4241 4242 Reviewers: Craig Silverstein 4243 42442008-05-02 18:17 Nils Klarlund <opensource@google.com> 4245 4246 * test/testdistcc.py: 4247 4248 Remove .d test case for which gcc stumbles on Mac OS. 4249 42502008-05-02 18:11 Craig Silverstein <opensource@google.com> 4251 4252 * src/distcc.h: 4253 4254 This adds an #two that's technically needed to compile. Cygwin 4255 happened to notice this was missing. 4256 4257 Tested by compiling (via 'make') on cygwin and ubuntu. 4258 4259 Reviewed by Fergus Henderson 4260 42612008-05-02 18:10 Craig Silverstein <opensource@google.com> 4262 4263 * test/testdistcc.py: 4264 4265 Four improvements to the test framework: 4266 4267 1) While pump-mode requires python 2.4, the test framework is designed 4268 to work with python 2.2 and later. A few non-2.2 features have snuck 4269 in though. I replaced them with 2.2-compatible code. 4270 4271 2) The test system used the --ex flag to gdb, which is only supported 4272 in more recent gdb's. I've changed the code to use --command instead, 4273 which is supported in old gdb's as well. I also added a workaround 4274 for a buggy error-message that gdb sometimes emits. See 4275 http://www.archlinux.org/pipermail/arch/2007-January/013366.html 4276 4277 3) I fixed a regexp for the gcc-options case, to handle correctly 4278 systems that don't name gcc "gcc" (for instance, they might name it 4279 powerpc-apple-darwin8-gcc-4.0.1). 4280 4281 4) Use shell quoting, when appropriate, to deal with paths that have 4282 spaces (eg on windows) or other weird characters in them. 4283 4284 Tested by running 'make maintainer-check' on a variety of 4285 architectures, including os x and cygwin. The tests successfully run 4286 on all of them (though not all tests successfully pass yet...) 4287 4288 Reviewed by Fergus Henderson and Nils Klarlund 4289 42902008-05-02 00:10 Craig Silverstein <opensource@google.com> 4291 4292 * Makefile.in: 4293 4294 Small wording change, suggested by Nils Klarlund <opensource@google.com> 4295 42962008-05-01 23:52 Craig Silverstein <opensource@google.com> 4297 4298 * configure.ac: 4299 4300 This test was broken before: I needed to escape [ and ] from m4. 4301 4302 Tested by running configure on a machine with python 2.2 installed. 4303 4304 Reviewed by Fergus Henderson 4305 43062008-05-01 23:51 Craig Silverstein <opensource@google.com> 4307 4308 * Makefile.in: 4309 4310 Previously, 'make check' was a noop because we do not require python 4311 to be installed for distcc, but the tests require python. Therefore, 4312 to run the tests you had to run 'make maintainer-check' instead (since 4313 maintainers of distcc *do* have to have python installed). 4314 4315 Now, I have 'make check' check if python is installed. If so, it runs 4316 the tests. Otherwise, it prints a message and exits. 4317 4318 Tested by running 'make check' and 'make installcheck' manually, on 4319 systems with the various pythons installed as well as a few without. 4320 4321 Code reviewed by Fergus Henderson 4322 43232008-05-01 23:02 Craig Silverstein <opensource@google.com> 4324 4325 * Makefile.in, configure.ac: 4326 4327 Include-server requires python 2.4 or higher, but the test framework 4328 only requires python 2.2. Check for both, so for folks with python 4329 2.2 or python 2.3, they can at least run the tests, even if they can't 4330 install the include-server. 4331 43322008-05-01 00:58 Nils Klarlund <opensource@google.com> 4333 4334 * include_server/c_extensions_test.py: 4335 4336 Clean up Python code. 4337 4338 -- Do TODOs. 4339 -- Heed most pylint warnings. 4340 43412008-04-30 22:46 Nils Klarlund <opensource@google.com> 4342 4343 * Makefile.in, find_c_extension.sh, include_server/c_extensions_test.py, 4344 pump.in: 4345 4346 Make install-checks work and a lot of clean-up in regards to the 4347 'checking' 4348 targets. 4349 4350 - Remove temporary installation for include server tests. The current 4351 scheme 4352 doesn't make too much sense: when testing a real installation, the 4353 include 4354 server is tested in the separate temporary installation. 4355 4356 Instead, we propose to make the installation tests run only the 4357 regression 4358 tests in the 'test' directory, unpumped and pumped. The include server 4359 is now 4360 tested as part of maintainer-check only, but run out of the source 4361 directory, 4362 except for the C extension module. 4363 4364 - The maintainer-check and the maintainer-install-check now run the 4365 integration 4366 test (test/testdistcc.py) also in pump mode. 4367 4368 - A new script, find_c_extension.sh, is added; it finds the location 4369 of the 4370 shared library. It is used for both running the include server tests 4371 and the 4372 regression tests out of the built (not installed) version of the 4373 software. It 4374 was cut of the 'pump' script, which now has been simplified. 4375 4376 - Reorganize the order of affected targets. Introduce 4377 '###############...' as 4378 separator between sections of Makefile in a more consistent way. Make 4379 each 4380 section consistently declare all the phony targets at the beginning of 4381 the 4382 section. 4383 4384 - Introduce DISTCC_INSTALLATION variable to account for the precise 4385 location 4386 of the tested binaries in an installation. 4387 4388 - Add verify-binaries-installcheck target to ensure that binaries are 4389 in this 4390 location. 4391 4392 - Also, this target reports the location to users: 4393 4394 Make sure all paths below are where you expect them to be: 4395 ********************************************************** 4396 /home/klarlund/svn-distcc/mybin/installation/bin/distcc 4397 /home/klarlund/svn-distcc/mybin/installation/bin/distccd 4398 /home/klarlund/svn-distcc/mybin/installation/bin/distccmon-text 4399 /home/klarlund/svn-distcc/mybin/installation/bin/lsdistcc 4400 ********************************************************** 4401 4402 4403 - Absolutize a couple of relative directory references before they are 4404 passed to 4405 scripts, because otherwise things won't work with the disciplined 4406 approach to 4407 DISTCC_INSTALLATION. 4408 4409 - Change a randomly generated filename so that it resides in /tmp (in 4410 c_extensions_test.py) and not inside the build directory tree. Fix up 4411 logic 4412 for filenaming to be more secure. This makes 'make distcheck' pass w/o 4413 permission problems. Also, delete the temporary file and directory 4414 when 4415 test passes. 4416 4417 - Make include-server-maintainer-check remove the .out file when test 4418 passes. 4419 This makes 'make distcheck' pass the final test of the clean-out. 4420 4421 - Remove the 'Filtering' of the c_extensions_test output. This 4422 filtering was 4423 necessary in a previous version that printed all output to stdout to 4424 reduce 4425 user confusion. But now the test results go to intermediate files. 4426 This 4427 change was forced by the removal of the .out files (above). 4428 4429 REVIEWED: fergus, csilvers. 4430 4431 TESTS: make distcheck 4432 make maintainer-installcheck 4433 make include-server-maintainer-check 4434 make maintainer-check 4435 44362008-04-28 21:52 Craig Silverstein <opensource@google.com> 4437 4438 * src/sendfile.c: 4439 4440 OS X added sendfile support in 10.5, so add this case to sendfile.c. 4441 Looking at the man pages, it looks like os x sendfile is pretty much 4442 the same as BSD's, so I copied much of the code from the existing BSD 4443 case. 4444 4445 Tested by ensuring the code compiles and links on os x 10.5. No 4446 attempt to see if it runs correctly, though. 4447 4448 Reviewed by Fergus Henderson 4449 44502008-04-28 19:23 Craig Silverstein <opensource@google.com> 4451 4452 * Makefile.in, configure.ac, include_server/setup.py, src/compile.c, 4453 src/distcc.h, src/dotd.c, src/emaillog.c, src/exec.c, 4454 src/fix_debug_info.c, src/io.c, src/lsdistcc.c, src/netutil.c, 4455 src/snprintf.c, src/srvrpc.c, src/tempfile.c, src/trace.c, src/util.c: 4456 4457 These changes are enough to get code to compile, and at least some of 4458 the unittests to pass, on FreeBSD 6.0, Solaris 10 x86, and OS X 4459 Leopard. You have to use gmake instead of standard bsd make, though, 4460 because neither bsd nor solari make understand 'include */*.d' and 4461 'CFLAGS += $(POPT_FLAGS).' These may be fixable later. 4462 4463 Most changes fall into four categories: 4464 1) #include differences 4465 2) New errors due to some #ifdef paths being taken differently 4466 3) Undefined functions (see, eg, the new HAVE_STRSEP) 4467 4) Type differences (eg tv_usec is an int on os x, not a long int) 4468 4469 As one concrete example, snprintf.c is an empty file on linux, where 4470 all the functionality is part of glibc. But on Solaris, some of its 4471 functionality is useful. This turned up a bug where if you have 4472 vsnprintf on your system but not vasnprintf, then dopr() was not being 4473 used but was being defined, leading to an "unused static function" 4474 warning in gcc. 4475 4476 As another, solaris would complain about "index" being used as a 4477 variable, since it's also a function name. The var was renamed idx. 4478 4479 Tested by compiling on FreeBSD, Solaris 10, and OS X leopard (x86). I 4480 also compiled and ran unittests under Linux Ubuntu, to make sure 4481 this change didn't break anything there. 4482 4483 Reviewed by Fergus Henderson 4484 44852008-04-25 06:29 Craig Silverstein <opensource@google.com> 4486 4487 * include_server/include_analyzer_test.py, 4488 include_server/test_data/symlink_farm/foo, 4489 include_server/test_data/symlink_farm/sub_farm/link_to_dd_dd_dfoo_include_dotdot_foo[CPY], 4490 include_server/test_data/symlink_farm/sub_farm/link_to_dotdot_dotdot_dfoo_include_dotdot_foo[DEL]: 4491 4492 Some older versions of tar have problems with filenames > 100 4493 characters. To maximize compatibility, I renamed the only file we 4494 have that is close to that limitation, to be shorter. 4495 44962008-04-24 06:40 Craig Silverstein <opensource@google.com> 4497 4498 * configure.ac: 4499 4500 Neglected to commit this with the Makefile.am changes from last time, 4501 though it's needed to define UNINSTALL_GNOME. 4502 4503 Reviewed by Fergus Henderson 4504 45052008-04-24 05:39 Craig Silverstein <opensource@google.com> 4506 4507 * Makefile.in: 4508 4509 Add uninstall targets, to undo the effects of 'make install'. I try 4510 to be semi-smart about deleting empty directories. 4511 4512 Unfortunately, python's setup.py does not have an --uninstall mode, so 4513 I can only uninstall the include-server if a python-record-file was 4514 preserved during make install. This record-file must be passed in for 4515 make uninstall as well. 4516 4517 Tested by running 'make install' followed by 'make uninstall' on my 4518 local machine. 4519 4520 Reviewed by Fergus Henderson 4521 45222008-04-23 00:40 Craig Silverstein <opensource@google.com> 4523 4524 * TODO: 4525 4526 Update the TODO file to add an entry on better non-ELF support. Also 4527 get rid of the TODO for Latte, since we're not going to be using any 4528 doc-template system on Google Code. 4529 4530 While in the area, normalize a little bit the number of blank lines 4531 between entries (I try to make it 2). 4532 45332008-04-19 23:40 Craig Silverstein <opensource@google.com> 4534 4535 * Makefile.in, configure.ac, packaging/googlecode_upload.py: 4536 4537 Fix some bugs in the googlecode-upload script, and modify the upload 4538 target in the Makefile to call it. Also added googlecode_upload.py to 4539 the dist tarball. 4540 4541 Also update the version number to prerelease2. As part of testing 4542 this change, I actually uploaded the tarballs and rpm files to 4543 code.google.com. 4544 4545 Reviewed by Fergus Henderson 4546 45472008-04-18 19:19 Nils Klarlund <opensource@google.com> 4548 4549 * Makefile.in, test/comfychair.py: 4550 4551 Rename directory testtmp to _testtmp in line with our current practice 4552 for 4553 generated directories. 4554 45552008-04-18 18:51 Craig Silverstein <opensource@google.com> 4556 4557 * .: 4558 4559 Another auto-generated file I had forgotten last time. 4560 45612008-04-18 18:32 Fergus Henderson <opensource@google.com> 4562 4563 * Makefile.in, packaging/RedHat/conf, 4564 packaging/RedHat/conf/clients.allow, 4565 packaging/RedHat/conf/commands.allow.sh, packaging/RedHat/conf/hosts, 4566 packaging/RedHat/default, packaging/RedHat/default/distcc, 4567 packaging/RedHat/init.d/distcc, packaging/RedHat/rpm.spec: 4568 4569 A bunch of changes to the configuration files and installation: 4570 4571 (1) Remove the Google crosstool-specific stuff from 4572 packaging/RedHat/init.d/distcc; instead, make it 4573 source a new configuration file "commands.allow.sh". 4574 4575 (2) Install default versions of all the configuration files 4576 in $(sysconfdir), i.e. /etc: 4577 distcc/hosts, distcc/clients.allow, commands.allow.sh, 4578 and defaults/distcc. 4579 4580 (3) Fix a bug in Makefile.in: "make install" didn't work when you 4581 configured with srcdir != builddir. Added "$(srcdir)/" in various 4582 places to make it work. (There's similar problems with "make dist", 4583 but I gave up on those for now.) 4584 4585 (4) Add "install-deb" rule, to install the ".deb" files. 4586 4587 (5) Don't run install-for-include-server-tests as part of "make 4588 install". 4589 That target is part of "make check", not "make install". 4590 4591 (6) Add missing dependency on "include-server" to "pump-check" rule. 4592 4593 (7) Remove some bash-isms from the "init.d/distcc" script. 4594 4595 Tested by running "make install-deb" followed by 4596 "distcc /usr/bin/gcc -c foo.c" - this now works "out-of-the-box"! :-> 4597 4598 Also ran "make maintainer-check" and "make pump-check". 4599 46002008-04-18 16:01 Fergus Henderson <opensource@google.com> 4601 4602 * autogen.sh: 4603 4604 Address review comments on an earlier change: 4605 - autogen.sh now uses "#!/bin/sh -e" rather than "|| exit 1" 4606 everywhere. 4607 - autogen.sh now determines srcdir automatically from $0 4608 - autogen.sh no longer tells you to run "./configure --srcdir=.". 4609 46102008-04-18 15:13 Nils Klarlund <opensource@google.com> 4611 4612 * test/testdistcc.py: 4613 4614 Fix-up test in regard to angle bracket includes of non-existent files 4615 in order 4616 to explicitly accommodate the rather strange difference between 4617 running gcc 4618 locally and running it remotely in pump mode. In the former case, gcc 4619 fails 4620 with an error message; in the latter it succeeds and the error has 4621 been demoted 4622 to a warning. 4623 4624 TESTING: 4625 make maintainer-check 4626 make pump-check 4627 46282008-04-18 08:59 Fergus Henderson <opensource@google.com> 4629 4630 * man/distccd.1: 4631 4632 The --allow option to distccd is no longer optional. 4633 Update the distccd man page to better reflect that. 4634 46352008-04-18 06:53 Craig Silverstein <opensource@google.com> 4636 4637 * ., lzo, packaging, popt, src, test: 4638 4639 Update the svn:ignore property on these directories, so 'svn status' 4640 doesn't show the auto-generated files that can show up, such as 4641 distcc.d or config.h.in. 4642 46432008-04-18 06:37 Craig Silverstein <opensource@google.com> 4644 4645 * packaging/googlecode_upload.py: 4646 4647 Add distcc-specific code to googlecode_upload. This allows us to 4648 upload all the package files we create in one fell swoop (they must be 4649 specified on the commandline). We figure out the summary to give to 4650 each file and the label to apply, and then upload each in turn. 4651 4652 I've also turned off the feature to figure out the name and password 4653 directly from the local svn repository, because that feature is broken 4654 (alas), with the current python-subversion bindings. Instead, I 4655 prompt for them, but at least it's only once per upload as opposed to 4656 once per file! 4657 4658 Not yet tested (will do so when I add to the Makefile to actually use 4659 it). 4660 4661 Reviewed by Fergus Henderson 4662 46632008-04-18 01:12 Nils Klarlund <opensource@google.com> 4664 4665 * Makefile.in: 4666 4667 Add missing dependency on pump for target pump-check and 4668 pump-installcheck. To 4669 do so, introduce new phony intermediate target. Add TODO about the 4670 `pwd` in 4671 maintainer-installcheck target. 4672 46732008-04-18 01:08 Fergus Henderson <opensource@google.com> 4674 4675 * Makefile.in: 4676 4677 Fix missing line continuation in a Makefile rule. 4678 4679 Also, use "@" to avoid printing out a line with disturbing contents 4680 ("ERROR") 4681 during normal successful test execution. 4682 46832008-04-18 01:05 Fergus Henderson <opensource@google.com> 4684 4685 * autogen.sh: 4686 4687 Support running autogen.sh in the build directory, rather than the 4688 source directory. 4689 Now the source directory should be completely untouched, so we should 4690 be able 4691 to autogen, configure, and build even if the source directory is 4692 read-only. 4693 46942008-04-18 01:03 Craig Silverstein <opensource@google.com> 4695 4696 * Makefile.in: 4697 4698 Quick fix to my previous commit: I have to make sure every Make line 4699 ends in success, when it in fact succeeds. Thus you need to use || 4700 sometimes instead of &&. 4701 47022008-04-18 01:00 Craig Silverstein <opensource@google.com> 4703 4704 * Makefile.in: 4705 4706 Augment 'make distcheck' to ensure that 'make', 'make check', 'make 4707 install', etc. only write into builddir and instdir, not srcdir. In 4708 the process, fixed up a typo -- introduced when I merged all the 4709 Makefile.in's -- that affected us in the (common) case DISTDIR is the 4710 empty string. 4711 4712 Tested by running 'make distcheck'. 4713 4714 Reviewed by Fergus Henderson 4715 47162008-04-18 00:07 Craig Silverstein <opensource@google.com> 4717 4718 * packaging/googlecode_upload.py: 4719 4720 Add googlecode_upload.py, a script to help upload tarballs and package 4721 files to the Google Code location of distcc. This is the version as 4722 downloaded from the web, at 4723 http://support.googlecode.com/svn-history/r57/trunk/scripts/googlecode_upload.py 4724 4725 After this pristine version is checked in, we'll hack on it to add 4726 some distcc-specific features (multiple uploads, etc). We'll also add 4727 it to the Makefile at that time, both to use ('make upload') and as 4728 part of the distribution (hey, why not). 4729 47302008-04-17 22:27 Craig Silverstein <opensource@google.com> 4731 4732 * Makefile.in, build-distcc.sh[DEL], distcc.spec[DEL], 4733 packaging/RedHat/rpm.spec[CPY], packaging/deb.sh, 4734 packaging/rpm.sh[CPY]: 4735 4736 Add 'make rpm' to make the rpm files for this project (much like 'make 4737 dist' makes a tar.gz file), and 'make deb' to make the deb files. 4738 'make alldist' will make all three (well, four): .tar.gz, .tar.bz2, 4739 .rpm, and .deb. 4740 4741 The rpm.spec file that's used is based on the old distcc.spec file, 4742 which is now deleted. However, it's reordered to look a bit more like 4743 other spec files for Google projects, removes the obsolete 4744 'include-server' package (that's now part of the distcc package 4745 proper), and takes out all the ChangeLog entries that don't relate to 4746 the spec file in particular. 4747 4748 I also added a script, rpm.sh, to build the rpm file, which is a 4749 combination of the rpm.sh script used to build other google projects, 4750 and the existing build-distcc.sh, which is now deleted. Mostly it 4751 just calls rpmbuild with the right flags. deb.sh could have re-done 4752 all the work that rpm.spec and rpm.sh does, but instead we just use 4753 "alien" to convert the rpm to a deb file. 4754 4755 Tested by installing the deb files (both client and server) on my home 4756 machine and then running 'make maintainer-installcheck'. 4757 4758 Reviewed by Fergus Henderson 4759 47602008-04-17 05:42 Fergus Henderson <opensource@google.com> 4761 4762 * README.pump: 4763 4764 Avoid referring to "the distcc-pump". 4765 4766 Reviewed by Nils Klarlund. 4767 47682008-04-17 02:45 Craig Silverstein <opensource@google.com> 4769 4770 * INSTALL, Makefile.in, configure.ac, include_server/setup.py: 4771 4772 Resolve some TODO's in the Makefile (and, to a lesser extent, in 4773 configure.ac): 4774 4775 1) Create a .gz tarfile as well as a .bz2 tarfile, with "make dist". 4776 I've also added a few more dist rules: "make rpm", "make deb", and 4777 "make alldist", though currently they're commented out since the 4778 scripts they call have yet to be written. 4779 4780 2) setup.py looks at os.environ("BUILDDIR"), so make sure that 4781 environment variable is always set properly. 4782 4783 3) setup.py was hard-coding the version number. Instead, have it get 4784 it from the environment ("DISTCC_VERSION"), and set that envvar 4785 before calling setup.py in the Makefile. (The alternate solution, 4786 of making a setup.py.in and having configure set the version number 4787 in setup.py, did not work well because the Makefile really wants 4788 setup.py to be in $srcdir, that the configure option puts it in 4789 builddir.) 4790 4791 4) Clean up distcheck to have three separate directories: src, build, 4792 and install. Before src and build were the same. This pulled up 4793 several places that were using srcdir instead of builddir, which I 4794 fixed. 4795 4796 5) Clean up distcheck to make sure that 'make distclean' cleans all 4797 the build files created during the build. At first it didn't 4798 quite, so I fixed that up as well. 4799 4800 6) Added some new files to 'make dist': particularly, the files used 4801 to build rpm and deb files. 4802 4803 7) Have maintainer-check and maintainer-installcheck both call the 4804 same routine (via recursive make) rather than copy all that code. 4805 This simplifies things surprisingly, especially since the main 4806 check logic no longer has be inside a big "if $(PYTHON)". 4807 4808 8) (Various rules:) replace $^, which is not very portable, with a 4809 repetition of the dependency line. 4810 4811 9) Rename GZIP to GZIP_BIN, since GZIP as an envvar is read by gzip 4812 and parsed as gzip options. 4813 4814 10) In include_server/setup.py, we weren't setting builddir/src as an 4815 include dir, and it needs to be (as 'make distcheck' shows). I'm 4816 not sure builddir/../../src really needs to be anymore, but I guess 4817 it can't hurt, so I've left it in. 4818 4819 11) Updated INSTALL to refer to autogen.sh, which will create 4820 configure if it's not already there. 4821 48222008-04-15 02:23 Nils Klarlund <opensource@google.com> 4823 4824 * pump.in: 4825 4826 Clean logic and error messaging in pump script. 4827 4828 - There were missing error messages. 4829 - Some of them did not go to stderr. 4830 - Global variable include_server_started_successfully was ugly. 4831 Changed to a 4832 status variable. 4833 - Also, joined some lines that were joinable. 4834 - Fixed a spurious parameter to a function ExportDISTCC_HOSTS. Added a 4835 parameter to same function. 4836 4837 Tests 4838 ----- 4839 4840 Can run 'pump-check'. 4841 4842 Also, when I forced more than one C extension, I get the following 4843 tirade. 4844 4845 __________Using distcc-pump from /home/klarlund/svn-distcc/distcc 4846 __________Shared libraries for multiple architectures discovered. 4847 __________Cannot determine which one to use among: 4848 ./_builddir/lib.blah/include_server/distcc_pump_c_extensions.so 4849 ./_builddir/lib.linux-x86_64-2.4/include_server/distcc_pump_c_extensions.so 4850 __________Could not start distcc-pump include server 4851 48522008-04-14 23:17 Craig Silverstein <opensource@google.com> 4853 4854 * ChangeLog: 4855 4856 Added some Google-branch changes to the ChangeLog file, now that we've 4857 integrated them back into the main branch in preparation for distcc 4858 3.0. These messages were taken from the rpm.spec ChangeLog, where 4859 they had been living before. I can't say that it's a complete list of 4860 google-branch patches, but it's a good started. 4861 4862 Reviewed by Fergus Henderson 4863 48642008-04-14 17:11 Nils Klarlund <opensource@google.com> 4865 4866 * pump.in: 4867 4868 Fix up pump.in: 4869 4870 - Rename DISTCC_PUMP_LOCATION because there is now no distinct such 4871 entity. 4872 4873 - Comment 'return 0'. 4874 4875 - Fix logic in Main so that script aborts when include server not 4876 started. 4877 4878 - Add missing line: include_server_started_successfully=0. 4879 48802008-04-12 00:58 Craig Silverstein <opensource@google.com> 4881 4882 * Makefile.in, autogen.sh, bench/Build.py, bench/Project.py, 4883 bench/ProjectDefs.py, bench/Summary.py, bench/actions.py, 4884 bench/benchmark.py, bench/buildutil.py, bench/compiler.py, 4885 bench/statistics.py, configure.ac, distcc[DEL], 4886 include_server/basics.py, include_server/setup.py, pump.in: 4887 4888 The second part of my change to hoist everything in the distcc/ 4889 directory up to the top level: delete the distcc directory (I already 4890 copied it all to the top level in my last commit). 4891 4892 This requires changing all files that refer to distcc/FOO to refer 4893 directly to FOO instead. Mostly this is Makefile.in and setup.py, but 4894 there are a few other changes in scripts that have to hard-code paths, 4895 like configure.ac and pump.in. Also, several files changed their 4896 comments to refer to the new location, which isn't strictly necessary 4897 but I did anyway. 4898 4899 The only other change I made was to get rid of the hack I had put in 4900 before, which renamed distcc to distcc-bin. I had needed to do that 4901 before, temporarily, because "distcc" was already the name of a 4902 directory, and couldn't also be the name of a binary. Now that the 4903 distcc directory is going away, I can rename the target back to 4904 distcc. 4905 4906 Tested by running './autogen; ./configure; make maintainer-check'. 4907 I also ran 'make pump-check' and 'make distcheck'. 4908 4909 To be reviewed (post-facto) by Nils Klarlund and 4910 Fergus Henderson <opensource@google.com> 4911 49122008-04-11 22:36 Craig Silverstein <opensource@google.com> 4913 4914 * bench[CPY], contrib[CPY], doc[CPY], gnome[CPY], lzo[CPY], m4[CPY], 4915 m4/pkg.m4[CPY], man[CPY], packaging[CPY], popt[CPY], src[CPY], 4916 survey.txt[CPY], test[CPY]: 4917 4918 The first step of moving everything in the distcc directory to the top 4919 level. I'm doing this in two stages, because I don't understand svn 4920 enough to be confident to do it in one. This first stage just copies 4921 all the files from distcc/FOO to FOO. Now there are two copies of 4922 each file under distcc; the Makefile/etc uses the one in distcc and 4923 ignores the one at the top level. 4924 4925 The next commit will delete everything under distcc, and rewrite the 4926 Makefile/etc to use the top-level versions instead. 4927 49282008-04-11 22:20 Craig Silverstein <opensource@google.com> 4929 4930 * INSTALL, Makefile.in[CPY], autogen.sh[CPY], build-distcc.sh, 4931 config.guess[CPY], config.sub[CPY], configure.ac[CPY], 4932 distcc/Makefile.in[DEL], distcc/autogen.sh[DEL], 4933 distcc/config.guess[DEL], distcc/config.sub[DEL], 4934 distcc/configure.ac[DEL], distcc/install-sh[DEL], distcc/m4/pkg.m4, 4935 distcc/mkinstalldirs[DEL], include_server/Makefile.in[DEL], 4936 include_server/configure.ac[DEL], include_server/setup.py, 4937 install-sh[CPY], mkinstalldirs[CPY], pump.in, 4938 run_all_autoconf.sh[DEL], version.sh[DEL]: 4939 4940 Merge configure.ac, distcc/configure.ac, and 4941 include_server/configure.ac into a single, top-level configure.ac 4942 script. Likewise with the three Makefile.in scripts. Now one config 4943 file at the top level controls everything. 4944 4945 I had to rewrite quite a bit of code to account for the new level-up. 4946 In particular, I had to add "distcc/" in front of many things in order 4947 to refer to the same files I used to refer to when the 4948 configure.ac/Makefile.in text lived in the distcc/ directory rather 4949 than the top-level directory. Likewise (though to a lesser extent) 4950 for include_server. 4951 4952 I also had to do a bit of merge work. Typically I'd leave the 4953 originally-distcc-directory content as close to the original as 4954 possible, and then try to put in the include_server directory stuff. 4955 4956 Most of the top-level configure.ac and Makefile.in could go away, 4957 since they were glue before. I also could get rid of other top-level 4958 helper scripts that were used for the glue, such as version.sh. 4959 4960 I also fixed a number of typos and other bugs: 4961 4962 Makefile.in: 4963 1) Removed obsolete CVS comment (we're 3 source-control systems past 4964 that now!) 4965 4966 2) distcc/Makefile.in was using top_builddir without importing it from 4967 the configure script. 4968 4969 3) Add zeroconf.h to HEADERS, which is needed for 'make dist'. I also 4970 added all the include_server files to 'make dist'. 4971 4972 4) "make dist" was passing 'h' ("no symlinks") to tar. This does not 4973 work with the include_server test-suite, which includes symlinks. 4974 I verified no other part of the distribution uses symlinks. 4975 Removed the h. 4976 4977 5) "make dist" was missing a lot of stuff (including almost all the 4978 include-server files). Updated it to get it all now. Likewise, 4979 updated "make clean" and its cousins to be more precise. Also made 4980 "make distcheck" more careful in checking that kind of thing. 4981 4982 6) Declared more phony targets .PHONY. 4983 4984 7) The include-server build commands do a lot of 'cd'-ing (since 4985 setup.py requires it), and then using make variables that might 4986 store relative directory paths. I now go through some hoops to 4987 make those directory paths absolute before the cd. 4988 4989 8) "make pump-check" was not setting the path, so it was using the 4990 installed distcc instead of the local one in the client. Fixed 4991 that, and added a new target, "make pump-installcheck", to use the 4992 installed distcc instead (parallel to the maintainer-check and 4993 maintainer-installcheck targets). 4994 4995 configure.ac: 4996 1) popt test was using $srcdir rather than required ${srcdir}, and 4997 thus was always getting the empty string. (Luckily, srcdir is 4998 usually ".", and the empty string is usually equivalent.) 4999 Likewise when setting CPPFLAGS, which again didn't matter because 5000 it turns out the relevant code was redundant with what autoconf 5001 already does automatically. 5002 5003 2) A merge error: apparently the avahi check was added twice. Get rid 5004 of the second one. 5005 5006 3) Was using obsolete AC_OUTPUT format. Use AC_CONFIG_FILES instead. 5007 5008 4) Added pkg.m4 to the m4/ directory. Before it only lived in 5009 autoconf.m4. But my system, at least, doesn't have it. 5010 5011 5) include-server requires python2.4, so remove checks for earlier 5012 pythons. 5013 5014 autogen.sh: 5015 1) Added aclocal call. I think it was a bug that it was left out 5016 before. 5017 5018 pump.in: 5019 1) Fixed it to notice when it can't find the .so file it needs. 5020 5021 I also modified INSTALL to point to the new file locations, and the 5022 new instructions to run them (eg no more run_all_autoconf.sh). 5023 5024 Despite all these bugfixes, I made the minimal changes possible to get 5025 things to work. I marked with "TODO" further improvements I'd like to 5026 make later. 5027 5028 One particular TODO is that I had to rename the "distcc" target -- the 5029 main executable -- because it conflicts with the existing distcc 5030 directory. This is a temporary breakage which will be fixed in the 5031 next submit after this one, where I move the subdirs under distcc to 5032 the top level, getting rid of the artificial extra directory 5033 introduced. 5034 5035 Tested by running 'make maintainer-check', 'make distcheck', and 'make 5036 pump-check' on my local machine, which passed. I've not tested all 5037 the various configurations and options (including using avahi, using 5038 the library popt library, building without python, etc). I've also 5039 not tried 'make benchmark'. 5040 5041 Reviewed by Nils Klarlund and Fergus Henderson 5042 50432008-04-11 20:40 Fergus Henderson <opensource@google.com> 5044 5045 * README.pump: 5046 5047 Update README.pump to better describe performance on small clusters. 5048 50492008-04-11 18:45 Fergus Henderson <opensource@google.com> 5050 5051 * distcc/Makefile.in: 5052 5053 In the rule for 'make pump-check', set DISTCC_HOSTS, so that 5054 'pump' won't complain that it isn't set. 5055 50562008-04-10 00:27 Craig Silverstein <opensource@google.com> 5057 5058 * distcc/README[DEL]: 5059 5060 I meant to delete this as part of my last commit, but apparently 5061 neglected to... 5062 50632008-04-09 23:19 Craig Silverstein <opensource@google.com> 5064 5065 * AUTHORS[CPY], ChangeLog[CPY], INSTALL, NEWS[CPY], README, 5066 README.packaging[CPY], README.pump[CPY], TODO[CPY], 5067 distcc/AUTHORS[DEL], distcc/COPYING[DEL], distcc/ChangeLog[DEL], 5068 distcc/ChangeLog.old[DEL], distcc/INSTALL[DEL], distcc/NEWS[DEL], 5069 distcc/README.packaging[DEL], distcc/TODO[DEL]: 5070 5071 Take these human-readable files and normalize their content and 5072 location: 5073 README Our blurp, tooting our horn 5074 INSTALL The run_all_autoconf and friends incantations 5075 COPYING GPL 2.0 license 5076 distcc/README Martin's blurp 5077 distcc/INSTALL Also: more on masquerading, host lists, 5078 distcc/COPYING GPL 2.0 license 5079 distcc/NEWS Recently updated 5080 distcc/AUTHORS Martin Pool 5081 distcc/README.packaging Various advice (version numbering etc) 5082 distcc/TODO A very long list (not updated) 5083 distcc/ChangeLog All changes under arch and under bzr 5084 distcc/ChangeLog.old All changes from before arch. 5085 5086 Now all live in the top-level directory. This is the first step 5087 towards our eventual goal of getting rid of the second-level distcc 5088 and include_server directories, and just having everything under one 5089 top-level directory. We're all part of the same project now! 5090 5091 Here's how I merged and updated content: 5092 5093 . README became README.pump. It was slightly edited for clarity. (I 5094 also redid all the line-wrapping, which makes diff-ing 5095 difficult. :-( ) distcc/README became README, with a small amount 5096 of text added to describe 'pump' mode, and point to README.pump. 5097 5098 . distcc/NEWS became NEWS. pump functionality was added (a new 5099 "distcc-3.0" entry). I also added all new features and bug-fixes 5100 since we moved from arch to bzr. It looks like NEWS was 5101 well-maintained before the move to bzr, so this might be pretty 5102 complete. There may be some more pump-developed bugfixes we need to 5103 add, though. 5104 5105 . I got rid of distcc/COPYING. Now COPYING is the only license in 5106 this directory. This file was not changed. It remains the GPL 2.0 5107 license. 5108 5109 . distcc/AUTHORS became AUTHORS. I changed Martin to maintainer 5110 emeritus. I added the Google authors as authors of the "pump" 5111 functionality, and current maintainers. I set the Google email 5112 address to be distcc@googlegroups.com, which is a new group I've set 5113 up to be the clearinghouse for distcc discussions. 5114 5115 . distcc/README.packaging became README.packaging. It was not 5116 otherwise changed. 5117 5118 . distcc/TODO became TODO. It was not otherwise changed, except I 5119 added that folks should look for FIXMEs in source files, not just 5120 TODOs. 5121 5122 . I merged INSTALL and distcc/INSTALL (in that order). I rearranged 5123 the text a little bit to remove redundancy (both talked about 5124 running 'configure'), but did not make any contentful changes. 5125 5126 . I merged distcc/ChangeLog and distcc/ChangeLog.old to have a single 5127 changelog again going all the way to 2002. Comments now separate 5128 the various version control systems used. (svn is #4!) The single 5129 ChangeLog file now lives in the top-level directory. 5130 51312008-04-09 23:11 Craig Silverstein <opensource@google.com> 5132 5133 * distcc/ChangeLog, distcc/Makefile.in, distcc/configure.ac, distcc/m4, 5134 distcc/m4/acx_pthread.m4, distcc/src/distcc.c, distcc/src/distcc.h, 5135 distcc/src/dopt.c, distcc/src/dopt.h, distcc/src/dparent.c, 5136 distcc/src/gcc-id.c, distcc/src/help.c, distcc/src/hostfile.c, 5137 distcc/src/hosts.c, distcc/src/io.c, distcc/src/tempfile.c, 5138 distcc/src/zeroconf-reg.c, distcc/src/zeroconf.c, 5139 distcc/src/zeroconf.h: 5140 5141 Integrate the following post-bzr (post 2.18.3) patch from the mainline 5142 distcc sources (http://bazaar.launchpad.net/%7Embp/distcc/trunk/): 5143 5144 % bzr log -r3 5145 message: merge avahi patch from Lennart Poettering 5146 5147 (This patch comes from http://0pointer.de/public/distcc-avahi.patch, 5148 which is the version of the patch I applied, since the one in the bzr 5149 repository was missing the new files from the avahi patch.) 5150 5151 I've also manually updated ChangeLog, which is not automatically 5152 updated by bzr the same way it is by arch. 5153 5154 I've also added a new m4 directory, including non-standard autoconf 5155 macros that we use. For now, it only includes ACX_PTHREAD (added by 5156 the avahi patch) which I got from 0pointer.de. See the notes at the 5157 top of m4/acx_pthread.m4 for more details. 5158 5159 I removed the change to Makefile.in that added in distccmon-gnome.1. 5160 This file is not actually added in as part of this patch (it seems to 5161 be part of a separate patch, at 5162 http://patches.ubuntu.com/d/distcc/extracted/02_distccmongnome_man.dpatch), 5163 and may have gotten in here by accident. 5164 5165 Tested by running 'make maintainer-check'. However, I did not test 5166 with avahi installed, so I don't know how well that works. 5167 5168 Reviewed by Fergus Henderson and Nils Klarlund 5169 51702008-04-09 16:21 Fergus Henderson <opensource@google.com> 5171 5172 * version.sh: 5173 5174 Change the version number from "distcc 2.18.3-17gg1.pump20" (ugh!) 5175 to "distcc 3.0-prerelease1". 5176 51772008-04-09 00:38 Craig Silverstein <opensource@google.com> 5178 5179 * distcc/ChangeLog, distcc/NEWS, distcc/src/lock.c: 5180 5181 Integrate the following post-bzr (post 2.18.3) patches -- all of them, 5182 so far -- from the mainline distcc sources 5183 (http://bazaar.launchpad.net/%7Embp/distcc/trunk/): 5184 5185 % bzr log -r2 5186 message: Add more ignored files 5187 % bzr log -r4 5188 message: Locks taken through F_SETLK or lockf() must be 5189 explicitly released, because closing the file does not do 5190 so. (Sascha Demetrio) 5191 5192 r2 is a noop for us, since it just updates a .bzr config file (which 5193 we may want to update in svn-land too, one day, but not for now). 5194 5195 r3, not part of this CL, is the "avahi" patch 5196 (http://0pointer.de/public/distcc-avahi.patch). It was imperfectly 5197 applied: the new files that are part of this patch were not added to 5198 the bzr repository. We're following up with the patch-applier to see 5199 if these files can be taken verbatim from the patch in the 0pointer 5200 website. We'll also have to audit this patch to make sure it works 5201 with distcc-pump without needing any changes. For those reasons, 5202 we'll apply that patch in a separate change. 5203 5204 I've also manually updated ChangeLog, which is not automatically 5205 updated by bzr the same way it is by arch. 5206 5207 Tested by running 'make maintainer-check'. 5208 5209 Reviewed by Nils Klarlund 5210 52112008-03-31 04:38 Craig Silverstein <opensource@google.com> 5212 5213 * distcc/ChangeLog, distcc/Makefile.in, distcc/NEWS, 5214 distcc/man/distcc.1, distcc/src/clinet.c: 5215 5216 Integrate the following post-2.18.3 patches from the mainline 5217 distcc sources (distcc--devel--2/mbp@sourcefrog.net--2004): 5218 5219 % tla cat-log patch-179: 5220 Summary: More details on error 110 5221 % tla cat-log patch-180: 5222 Summary: draft patch for substituting compiler command name 5223 % tla cat-log patch-181: 5224 Summary: fix error check in dcc_connect_by_add 5225 % tla cat-log patch-182: 5226 Summary: build fix for --as-needed 5227 % tla cat-log patch-183: 5228 Summary: ignore tags file 5229 5230 Note only one of these (patch-181) affects code in the src/ 5231 directory. 5232 5233 Tested by running 'make maintainer-check'. 5234 5235 Reviewed by Fergus Henderson 5236 52372008-03-29 19:19 Craig Silverstein <opensource@google.com> 5238 5239 * distcc/ChangeLog, distcc/NEWS, distcc/autogen.sh, 5240 distcc/bench/ProjectDefs.py, distcc/configure.ac, distcc/src/exec.c, 5241 distcc/src/exitcode.h, distcc/src/io.c, distcc/src/tempfile.c, 5242 distcc/test/comfychair.py, distcc/test/testdistcc.py: 5243 5244 Integrate the following post-2.18.3 patches from the mainline 5245 distcc sources (distcc--devel--2/mbp@sourcefrog.net--2004): 5246 5247 % tla cat-log patch-167: 5248 Summary: - better autogen message 5249 % tla cat-log patch-168: 5250 Summary: use python2.4 if available 5251 % tla cat-log patch-169: 5252 Summary: bump version number 5253 % tla cat-log patch-170: 5254 Summary: return error on timeout in dcc_select_for_write 5255 % tla cat-log patch-171: 5256 Summary: doc 5257 % tla cat-log patch-172: 5258 Summary: doc 5259 % tla cat-log patch-173: 5260 Summary: [patch] cygwin improvements from Alex Besogonov 5261 % tla cat-log patch-174: 5262 Summary: update patch to fix up gdb line numbers 5263 % tla cat-log patch-175: 5264 Summary: [patch] update stale benchmark source URLS (Dongmin 5265 Zhang) 5266 % tla cat-log patch-176: 5267 Summary: update benchmark project urls and md5s 5268 % tla cat-log patch-177: 5269 Summary: Update more benchmark project definitions 5270 % tla cat-log patch-178: 5271 Summary: set locale when running make maintainer-check 5272 5273 Note only two of these (patch-170 and patch-173) affect non-comment 5274 code in the src/ directory. patch-173 introduced an "unused variable" 5275 warning in tempfile.c when run in non-cygwin mode, which I fixed up 5276 separate to the above patches. 5277 5278 Tested by running 'make maintainer-check'. 5279 5280 Reviewed by Fergus Henderson 5281 52822008-03-29 04:40 Craig Silverstein <opensource@google.com> 5283 5284 * run_all_autoconf.sh: 5285 5286 Replace the sanity-check in run_all_autoconf.sh with a more accurate 5287 one. 5288 5289 Reviewed by Nils Klarlund 5290 52912008-03-28 22:38 Craig Silverstein <opensource@google.com> 5292 5293 * distcc/ChangeLog, distcc/NEWS, distcc/TODO, distcc/man/distcc.1, 5294 distcc/src/arg.c, distcc/src/clinet.c, distcc/test/testdistcc.py: 5295 5296 Integrate the following post-2.18.3 patches from the mainline 5297 distcc sources (distcc--devel--2/mbp@sourcefrog.net--2004): 5298 5299 % tla cat-log patch-160: 5300 Summary: note on .incbin from asm() 5301 % tla cat-log patch-161: 5302 Summary: args: -d must be local 5303 % tla cat-log patch-162: 5304 Summary: manpage correction from Frerich 5305 % tla cat-log patch-163: 5306 Summary: todo 5307 % tla cat-log patch-164: 5308 Summary: add note that the mDNS patch cannot be legally merged 5309 % tla cat-log patch-165: 5310 Summary: add hosts-from-dnsdomain patch from dan 5311 % tla cat-log patch-166: 5312 Summary: [patch] better checking for errors on connect() 5313 5314 Note only two of these (patch-161 and patch-166) affect the 5315 src/ or test/ directories. 5316 5317 Tested via 'make maintainer-check'. 5318 53192008-03-28 17:39 Fergus Henderson <opensource@google.com> 5320 5321 * distcc/Makefile.in: 5322 5323 Fix typo. 5324 53252008-03-28 17:38 Fergus Henderson <opensource@google.com> 5326 5327 * distcc/src/fix_debug_info.c: 5328 5329 Work around spurious gcc warning that was causing trouble with 5330 -Werror. 5331 53322008-03-28 17:30 Fergus Henderson <opensource@google.com> 5333 5334 * distcc/src/lsdistcc.c: 5335 5336 Fix a portability issue: compile error on 64-bit platform. 5337 5338## This is the point at which the code was moved to the svn repository. 5339## The changes below this were made in an internal Google repository. 5340 53412008/03/03 11:35:34 Fergus Henderson <opensource@google.com> 5342 5343 Add extra "-I" option that seems to be needed when building distcc-pump 5344 with Blaze: we need _two_ ".."'s to get from $BUILDDIR/include_server/build 5345 to $BUILDDIR/distcc/src/config.h. 5346 5347 Without this change, building distcc fails with a compilation 5348 error about "config.h" not found when run in a fresh workspace. 5349 5350 R=klarlund 5351 DELTA=2 (2 added, 0 deleted, 0 changed) 5352 5353 * include_server/setup.py: edit 5354 5355 53562007/12/14 19:17:16 Fergus Henderson <opensource@google.com> 5357 5358 Fix a bug which showed up if the include server was run from 5359 a different directory than the distcc clients: in that case, 5360 it was at some times wrongly interpreting relative paths in the 5361 --stat_reset_trigger option as relative to the distcc client's 5362 cwd, rather than the include server's cwd. 5363 5364 TODO(fergus): add a regression test. 5365 5366 R=klarlund 5367 CC=distcc-pump 5368 APPROVED=klarlund 5369 DELTA=20 (18 added, 2 deleted, 0 changed) 5370 5371 * include_server/include_analyzer.py: edit 5372 * include_server/include_analyzer_memoizing_node_test.py: edit 5373 5374 53752007/12/14 10:26:29 Nils Klarlund <opensource@google.com> 5376 5377 Fix location of stamp file that record autoconf execution. 5378 5379 The location was incorrect: the stamp file that pertains to autoconf 5380 must necessarily be in the source code directory because autoconf'ing is 5381 the process of generating the configure script. Only the result of 5382 configuring is to be carried out in the object directory. 5383 5384 R=fergus 5385 DELTA=1 (0 added, 0 deleted, 1 changed) 5386 5387 * Makefile.in: edit 5388 5389 53902007/12/13 21:52:59 Nils Klarlund <opensource@google.com> 5391 5392 Fix typos in Makefile.in. 5393 5394 R=fergus 5395 DELTA=2 (0 added, 0 deleted, 2 changed) 5396 5397 * include_server/Makefile.in: edit 5398 5399 54002007/12/07 16:19:16 Nils Klarlund <opensource@google.com> 5401 5402 This file is generated by run_all_autoconf.sh and should not be checked 5403 in. (Because that leads to Perforce complaints about 'clobbering'.) 5404 5405 R=fergus 5406 DELTA=262 (0 added, 262 deleted, 0 changed) 5407 5408 * distcc/src/config.h.in: delete 5409 5410 54112007/12/07 12:57:55 Nils Klarlund <opensource@google.com> 5412 5413 Fix bug caused by non-idempotency of 'ln' and ensuing falsely positive 5414 test result. 5415 5416 So, it turns out that 'ln -sf' is not idempotent. If C/D and E are 5417 directories, then 5418 5419 ln -sf $(readlink -f C/D) E/D 5420 5421 creates a link E/D -> realpath(C/D) and subsequent 5422 5423 ln -sf $(readlink -f C/D) E/D 5424 5425 creates a link C/D/D -> realpath(C/D), a self-reference of sorts. This 5426 is nasty because the second link created is in C/D, which was supposed 5427 to be just a target directory, not something to be modified! 5428 5429 This bug enabled a faulty test to pass: the directory structure created 5430 by the non-potency bug is not cleaned on make clean. And the existence of 5431 the inserted extra directory made resolution of a certain include path 5432 possible when it should not have. 5433 5434 R=fergus 5435 CC=manos 5436 DELTA=11 (9 added, 0 deleted, 2 changed) 5437 5438 * include_server/Makefile.in: edit 5439 * include_server/include_analyzer_test.py: edit 5440 5441 54422007/12/03 18:37:17 Nils Klarlund <opensource@google.com> 5443 5444 5445 This version is to incorporate: 5446 5447' Fix bug that leads to concurre' Change 2007/12/03 by Nils Klarlund <opensource@google.com> 5448 5449 R=fergus 5450 DELTA=1 (0 added, 0 deleted, 1 changed) 5451 5452 * version.sh: edit 5453 5454 54552007/12/03 16:36:06 Nils Klarlund <opensource@google.com> 5456 5457 5458 Fix bug that leads to concurrent build interference: one distcc-pump 5459 build will severely affect another. The logic for naming the root 5460 directory was flawed: it used the pid of the parent, not the child, 5461 which is where the include server resides. 5462 5463 Also fix less severe bug that allowed the cleaning up to end 5464 prematurely. 5465 5466 The code is refactored at the same time -- for better readability and to 5467 address the parent/child pid confusion. 5468 5469 The fix also includes the introduction of an additional communication 5470 mechanism, a semaphor: the child is now starting the include server and 5471 it must tell the parent that it has done so before the parent is allowed 5472 to exit. 5473 5474 Testing: 5475 5476 - 'make check' 5477 - Made several concurrent runs and verified that interference no longer 5478 takes place. 5479 5480 R=fergus 5481 DELTA=65 (45 added, 1 deleted, 19 changed) 5482 5483 * include_server/include_server.py: edit 5484 5485 54862007/11/29 12:30:45 Nils Klarlund <opensource@google.com> 5487 5488 5489 Add more meta-dependencies (those that involve autoconf) to the 5490 Makefile.in files and add sanity check to run_all_autoconf.sh. 5491 5492 These dependencies should help prevent builds that do not reflect the 5493 configuration changes such as to version.sh or configure.ac. 5494 5495 Dependencies are added, so this should be a conservative CL: making 5496 this build system less fragile. 5497 5498 Tests: patched this CL into a clean client and rebuilt software: 5499 5500 ./run_all_autoconf.sh 5501 ./configure --prefix=$(pwd)/installation 5502 make 5503 make install 5504 5505 R=fergus 5506 DELTA=73 (62 added, 0 deleted, 11 changed) 5507 5508 * Makefile.in: edit 5509 * distcc/Makefile.in: edit 5510 * include_server/Makefile.in: edit 5511 * run_all_autoconf.sh: edit 5512 5513 55142007/11/06 15:58:38 Nils Klarlund <opensource@google.com> 5515 5516 Prepare 'pump19'. It contains: 5517 5518'Add basics_test rule to include' Change 2007/11/06 12:43:59 by Nils Klarlund <opensource@google.com> 5519' Fix typo and missing condition' Change 2007/11/06 11:51:01 by Nils Klarlund <opensource@google.com> 5520'Fix an infinite loop in the inc' Change 2007/11/05 14:11:47 by Nils Klarlund <opensource@google.com> 5521' Bump up length of interval tha' Change 2007/11/05 07:25:13 by Nils Klarlund <opensource@google.com> 5522' Make the _CleanOutOthers routi' Change 2007/11/02 12:36:27 by Nils Klarlund <opensource@google.com> 5523' Increase include server timeou' Change 2007/11/01 14:46:44 by Nils Klarlund <opensource@google.com> 5524'Fix buglet: when the contents o' Change 2007/11/01 14:28:22 by Nils Klarlund <opensource@google.com> 5525 5526 R=fergus 5527 DELTA=1 (0 added, 0 deleted, 1 changed) 5528 5529 * version.sh: edit 5530 5531 55322007/11/06 15:43:59 Nils Klarlund <opensource@google.com> 5533 5534 Add basics_test rule to include_server/Makefile.in. This enables 5535 'make check' to run all tests. 5536 5537 Test: 5538 5539 ./run_all_autoconf.sh; ./configure --prefix=$(pwd)/installation 5540 make basics_test 5541 make -C include_server basics_test 5542 make check 5543 5544 R=fergus 5545 DELTA=4 (4 added, 0 deleted, 0 changed) 5546 5547 * include_server/Makefile.in: edit 5548 5549 55502007/11/06 14:51:01 Nils Klarlund <opensource@google.com> 5551 5552 5553 Fix typo and missing conditional of a previous change, which "broke" the build. 5554 5555 Tests: 5556 - make -C include_server check 5557 5558 R=fergus 5559 DELTA=3 (1 added, 0 deleted, 2 changed) 5560 5561 * include_server/include_analyzer.py: edit 5562 * include_server/include_server.py: edit 5563 5564 55652007/11/05 17:11:47 Nils Klarlund <opensource@google.com> 5566 5567 Fix an infinite loop in the include server. FindNode would call itself 5568 ad infinitum prompted by unusual link structures and includes. 5569 5570 This change is non-trivial. In particular, it relates to a 5571 previous bug fix which is rolled-back as part of the present 5572 change -- and then the problem reported in the bug report is 5573 solved instead by properly mending the code that was removed in 5574 that change. The fix consists of making the memoization removed 5575 in that change cognizant of the file directory or rather the 5576 absolute path of the file directory, see extensive new comments 5577 in class IncludeAnalyzerMemoizingNode. 5578 5579 Small stuff: we change 'filepath' to 'fp' in all identifiers in 5580 FindNode. That's because the identifiers were otherwise getting too long 5581 in the new code. And, we used that abbreviation already. 5582 5583 Testing: a test_DotdotInInclude test case specifically exercices the 5584 situation in the bug. [Plus additional Google-specific correctness 5585 and performance tests.] 5586 5587 Additionally, we're now doing the test_IncludeAnalyzer in two ways: 5588 directly and through a symlink farm. This helps us test regression 5589 against subtle bugs that may occur with symbolic links. 5590 5591 R=fergus 5592 DELTA=327 (194 added, 12 deleted, 121 changed) 5593 5594 * include_server/cache_basics.py: edit 5595 * include_server/include_analyzer_memoizing_node.py: edit 5596 * include_server/include_analyzer_test.py: edit 5597 * include_server/test_data/dfoo/include_dotdot_foo: add 5598 * include_server/test_data/symlink_farm/abc_post.c: add 5599 * include_server/test_data/symlink_farm/abc_pre.c: add 5600 * include_server/test_data/symlink_farm/computed_includes.c: add 5601 * include_server/test_data/symlink_farm/dbar: add 5602 * include_server/test_data/symlink_farm/dfoo: add 5603 * include_server/test_data/symlink_farm/foo: add 5604 * include_server/test_data/symlink_farm/p1.h: add 5605 * include_server/test_data/symlink_farm/parse.c: add 5606 * include_server/test_data/symlink_farm/sub_farm/link_to_dotdot_dotdot_dfoo_include_dotdot_foo: add 5607 * include_server/test_data/symlink_farm/test_directory_probing.c: add 5608 * include_server/test_data/symlink_farm/test_include_next: add 5609 5610 56112007/11/05 10:25:13 Nils Klarlund <opensource@google.com> 5612 5613 5614 Bump up length of interval that determines when SIGALRM is 5615 raised. Testing showed that with srcfs -- which increases user time -- 5616 I/O between distcc and include server (in the C extension part) would be 5617 tripped up by SIGALRM when it is raised every 2s. This results in a 5618 Python exception such as IOError, which is wrong and even harmful, 5619 because it terminates the include server. The interval in the currently 5620 released version is 3s, so 4s is better. 5621 5622 This is to be followed up by CL that makes the algorithmic code 5623 "protected" by SIGALRM free of I/O. 5624 5625 R=fergus 5626 DELTA=5 (4 added, 0 deleted, 1 changed) 5627 5628 * include_server/basics.py: edit 5629 5630 56312007/11/02 15:36:27 Nils Klarlund <opensource@google.com> 5632 5633 5634 Make the _CleanOutOthers routine be called. Before this CL, this routine 5635 was not called at all, because a variable describing the tmp directory 5636 has not been initialized. We split the InitializeTmpDirectories function 5637 into two parts to distinguish between creation of the temporary 5638 directory and the creation of client root under it. 5639 5640 Also, fixed bug in the glob expression. 5641 5642 Also, don't write out warning when cleaning -- that's just bound to 5643 confuse users. Demote message to TRACE level. 5644 5645 Also, fix basics_test.py and make sure it's called as part of 5646 'make check'. 5647 5648 R=fergus 5649 DELTA=97 (52 added, 17 deleted, 28 changed) 5650 5651 * include_server/Makefile.in: edit 5652 * include_server/basics.py: edit 5653 * include_server/basics_test.py: edit 5654 * include_server/include_analyzer.py: edit 5655 * include_server/include_analyzer_memoizing_node_test.py: edit 5656 * include_server/include_analyzer_test.py: edit 5657 * include_server/include_server.py: edit 5658 * include_server/include_server_test.py: edit 5659 * include_server/parse_file_test.py: edit 5660 5661 56622007/11/01 17:46:44 Nils Klarlund <opensource@google.com> 5663 5664 5665 Increase include server timeout to 3.8s. We are still getting emails 5666 about the include server running out of time for gws files and many 5667 others. 5668 5669 R=fergus 5670 DELTA=2 (0 added, 0 deleted, 2 changed) 5671 5672 * include_server/basics.py: edit 5673 5674 56752007/11/01 17:28:22 Nils Klarlund <opensource@google.com> 5676 5677 Fix buglet: when the contents of the file descriptor would contain 5678 percent signs the call to DEBUG would fail. 5679 5680 R=fergus 5681 DELTA=1 (0 added, 0 deleted, 1 changed) 5682 5683 * include_server/include_server.py: edit 5684 5685 56862007/10/23 17:56:23 Nils Klarlund <opensource@google.com> 5687 5688 Prepare new release, pump18, changing a timing constant in include server. 5689 5690 R=fergus 5691 CC=distcc-pump 5692 DELTA=1 (0 added, 0 deleted, 1 changed) 5693 5694 * version.sh: edit 5695 5696 56972007/10/23 17:53:40 Nils Klarlund <opensource@google.com> 5698 5699 Increase time quota introduced in a previous change for handling a request. We 5700 released pump17 10/22. One day later, it turns out that there are a 5701 cases where the include server spends more than 2s processsing a 5702 compilation unit. Here we increase the 2s to 3s. 5703 5704 R=fergus 5705 DELTA=9 (4 added, 0 deleted, 5 changed) 5706 5707 * include_server/basics.py: edit 5708 5709 57102007/10/22 13:43:09 Nils Klarlund <opensource@google.com> 5711 5712 5713 Limit the time that the includer analyzer is allowed to spend servicing 5714 a request. We use the rudimentary SIGALRM mechanism, because generally 5715 Python does not allow one thread to raise an exception in another. 5716 5717 Experiments show that SIGALRM interferes with the use of Popen. When 5718 determining the default compiler, the include server uses Popen to 5719 invoke gcc. If the SIGALRM is raised, then it be caught in the 'select', 5720 which then aborts. 5721 5722 Therefore, we stop the timer while the include server determines default 5723 compilers. 5724 5725 The timeout exception is raised according to utime passed, not real 5726 time. That prevents the include server from going bananas, restarting 5727 again and again, because of NFS delays. 5728 5729 The risk with this CL is that something else breaks in unexpected ways, 5730 perhaps a file operation, with the signaling. However, we've put the 5731 first signal to occur 2s after the start of the request. That should be 5732 more than ample time. In practice, we have not seen the include server 5733 using more than 2s per request (but this is based on limited 5734 measurements). 5735 5736 We have also tested this change with a 1s timer. That showed the SIGALRM 5737 problem with Popen. After, we fixed that this CL seems to work fine. 5738 5739 R=manos 5740 CC=distcc-pump 5741 DELTA=110 (89 added, 1 deleted, 20 changed) 5742 5743 * include_server/basics.py: edit 5744 * include_server/compiler_defaults.py: edit 5745 * include_server/include_analyzer.py: edit 5746 * include_server/include_server.py: edit 5747 5748 57492007/10/22 12:46:42 Nils Klarlund <opensource@google.com> 5750 5751 Make version 'pump17'. 5752 5753 R=fergus 5754 CC=distcc-pump 5755 DELTA=1 (0 added, 0 deleted, 1 changed) 5756 5757 * version.sh: edit 5758 5759 57602007/10/22 12:39:29 Nils Klarlund <opensource@google.com> 5761 5762 Fix name of stamp file. Remove initial '.'. 5763 5764 R=manos 5765 CC=fergus 5766 DELTA=1 (0 added, 0 deleted, 1 changed) 5767 5768 * run_all_autoconf.sh: edit 5769 5770 57712007/10/22 11:06:40 Fergus Henderson <opensource@google.com> 5772 5773 Partial rollback of a previous change. 5774 5775 In particular, comment out the code to support the Objective-C file 5776 extensions and the Objective-C test case. Currently Objective-C 5777 support breaks things if you don't have an Objective-C compiler 5778 installed, even if distcc is used only to compile C/C++ code; we try 5779 to compute the default include paths for all languages at startup, 5780 and barf it if fails. 5781 5782 Leave in place the support for "#import". 5783 It turns out that "#import" can be used in GNU C/C++ code, 5784 as a GNU extension, and some Google code makes use of this. 5785 5786 *** Original change description *** 5787 5788 Add support for Objective-C to distcc-pump. 5789 5790 In particular, recognize the Objective-C file extensions (".m", ".mi") 5791 and the "#import" declaration. (#import is like #include, but never 5792 includes the same file twice. So for the distcc-pump include server, 5793 processing of #import is exactly the same as processing of #include.) 5794 5795 Tested with "make maintainer-check" (all tests pass) and 5796 "make pump-check" (no regressions). Also added a test of 5797 Objective-C compilation. 5798 5799 R=klarlund 5800 CC=distcc-pump 5801 APPROVED=klarlund 5802 DELTA=21 (11 added, 0 deleted, 10 changed) 5803 5804 * distcc/test/testdistcc.py: edit 5805 * include_server/basics.py: edit 5806 5807 58082007/10/19 16:52:44 Nils Klarlund <opensource@google.com> 5809 5810 Loosen assumption about the syntax -D options. A user had written 5811 something the include server couldn't understand. It provoked a rare 5812 internal error. The compilation did not succeed locally either. The 5813 include server must remain unfazed when confronted with weird syntax. 5814 5815 Also, corrected comment for ParseCommandArgs. 5816 5817 R=fergus 5818 CC=distcc-pump 5819 5820 * include_server/include_analyzer_memoizing_node.py: edit 5821 * include_server/parse_command.py: edit 5822 * include_server/parse_command_test.py: edit 5823 5824 58252007/10/19 16:28:57 Nils Klarlund <opensource@google.com> 5826 5827 When storing warning messages in temporary file, we are using 'print 5828 >>', which appends a newline. Then, when presenting the errors to the 5829 user, we'd also use 'print', which appends another newline. With this 5830 fix, the newline is not append the first time around (we append 5831 ','). The other use of the contents of the temporary file, in the mail 5832 sending routines, should not be affected by one less newline. 5833 5834 R=manos 5835 CC=fergus 5836 DELTA=3 (0 added, 0 deleted, 3 changed) 5837 5838 * include_server/include_server.py: edit 5839 5840 58412007/10/19 10:57:39 Nils Klarlund <opensource@google.com> 5842 5843 Fix so that 'make' fails when version.sh is out of date. We remade the 5844 dependency checking in the makefile so that the need to autoreconf is 5845 expressed as a depedency on something certainly produced by autoreconf 5846 when run through our script, namely a time stamp file. 5847 5848 R=fergus 5849 DELTA=27 (4 added, 12 deleted, 11 changed) 5850 5851 * Makefile.in: edit 5852 * run_all_autoconf.sh: edit 5853 5854 58552007/10/19 10:15:14 Nils Klarlund <opensource@google.com> 5856 5857 Don't send email when a file that exists cannot be read. Also, slight 5858 correction to error message. 5859 5860 R=fergus 5861 DELTA=5 (4 added, 0 deleted, 1 changed) 5862 5863 * include_server/parse_file.py: edit 5864 5865 58662007/10/18 15:56:20 Fergus Henderson <opensource@google.com> 5867 5868 Fix a missing word in a comment. 5869 5870 R=klarlund 5871 DELTA=5 (0 added, 2 deleted, 3 changed) 5872 5873 * distcc/src/compile.c: edit 5874 5875 58762007/10/18 11:41:46 Fergus Henderson <opensource@google.com> 5877 5878 Add support for Objective-C to distcc-pump. 5879 5880 In particular, recognize the Objective-C file extensions (".m", ".mi") 5881 and the "#import" declaration. (#import is like #include, but never 5882 includes the same file twice. So for the distcc-pump include server, 5883 processing of #import is exactly the same as processing of #include.) 5884 5885 Tested with "make maintainer-check" (all tests pass) and 5886 "make pump-check" (no regressions). Also added a test of 5887 Objective-C compilation. 5888 5889 R=klarlund 5890 CC=distcc-pump 5891 APPROVED=klarlund 5892 DELTA=136 (100 added, 8 deleted, 28 changed) 5893 5894 * distcc/test/testdistcc.py: edit 5895 * include_server/basics.py: edit 5896 * include_server/parse_command.py: edit 5897 * include_server/parse_file.py: edit 5898 5899 59002007/10/12 14:10:36 Nils Klarlund <opensource@google.com> 5901 5902 This corrects description of the previous change. 5903 5904 Prepare a new release, pump16. Deploy in NYC only. To be 5905 installed under 2007.10.12 in buildstatic. This release includes: 5906 5907'Rather than just replacing the ' Change 2007/10/11 by Fergus Henderson <opensource@google.com> 5908'Prevent distcc-pump from revert' Change 2007/10/11 by Nils Klarlund <opensource@google.com> 5909 5910 R=fergus 5911 CC=manos 5912 DELTA=2 (2 added, 0 deleted, 0 changed) 5913 5914 * version.sh: edit 5915 5916 59172007/10/12 11:30:45 Nils Klarlund <opensource@google.com> 5918 5919 Prepare a new release, pump16, to include the change "Prevent 5920 distcc-pump from reverting to local compilations". Deploy in 5921 NYC only. To be installed under 2007.10.11 in buildstatic. 5922 5923 R=fergus 5924 CC=manos 5925 DELTA=2 (0 added, 0 deleted, 2 changed) 5926 5927 * version.sh: edit 5928 5929 59302007/10/11 22:06:33 Fergus Henderson <opensource@google.com> 5931 5932 Rather than just replacing the server's current working directory 5933 with the clients' current working directory, we need to replace 5934 the server's root directory with the client's root directory. 5935 5936 This is needed because the problems with gdb arise not only 5937 from the "current working directory" field (DW_AT_comp_dir), 5938 but also with the file names (DW_AT_file_name). These file names 5939 can be absolute paths to files that are outside of the current 5940 working directory. 5941 5942 This change is basically just a one-line fix in serve.c, but 5943 for clarity I've also changed some variable names and comments 5944 in fix_debug_info.c. 5945 5946 R=klarlund 5947 CC=distcc-pump 5948 DELTA=36 (13 added, 0 deleted, 23 changed) 5949 5950 * distcc/src/fix_debug_info.c: edit 5951 * distcc/src/serve.c: edit 5952 5953 59542007/10/11 16:20:33 Nils Klarlund <opensource@google.com> 5955 5956 Prevent distcc-pump from reverting to local compilations hundreds 5957 or thousands of times. Such a situation should never occur but if it 5958 occurs, we want to fall back to distcc behavior. For example, this is 5959 desirable if the include server for reason picks up files that don't 5960 exist any more or symbolic links that changed surreptiously during the 5961 build. 5962 5963 A typical output is shown below (where we have tampered with the include 5964 server to produce too few files). Note that ERRORs still occur in the 5965 output (from the remote server). 5966 5967 distcc[7791] ERROR: compile third_party/pcre/pcre-7.3/pcre_globals.c on 192.168.1.137,lzo,cpp failed 5968 distcc[7791] (dcc_build_somewhere) Warning: remote compilation of 'third_party/pcre/pcre-7.3/pcre_globals.c' failed, retrying locally 5969 distcc[7791] Warning: failed to distribute third_party/pcre/pcre-7.3/pcre_globals.c to 192.168.1.137,lzo,cpp, running locally instead 5970 distcc[7708] (dcc_please_send_email_note_discrepancy_except_fresh_dependency) Warning: remote compilation of 'third_party/pcre/pcre-7.3/pcre_chartables.c' failed, retried locally and got a different result. 5971 distcc[7708] (dcc_note_discrepancy) Warning: now using plain distcc, possibly due to inconsistent file system changes during build 5972 distcc[7708] Warning: Will send an email to distcc-pump-errors@google.com 5973 distcc[7780] ERROR: compile third_party/pcre/pcre-7.3/pcre_get.c on 192.168.1.135,lzo,cpp failed 5974 distcc[7780] (dcc_build_somewhere) Warning: remote compilation of 'third_party/pcre/pcre-7.3/pcre_get.c' failed, retrying locally 5975 distcc[7780] Warning: failed to distribute third_party/pcre/pcre-7.3/pcre_get.c to 192.168.1.135,lzo,cpp, running locally instead 5976 distcc[7869] ERROR: compile third_party/pcre/pcre-7.3/pcre_ord2utf8.c on 192.168.1.124,lzo,cpp failed 5977 distcc[7869] (dcc_build_somewhere) Warning: remote compilation of 'third_party/pcre/pcre-7.3/pcre_ord2utf8.c' failed, retrying locally 5978 distcc[7869] Warning: failed to distribute third_party/pcre/pcre-7.3/pcre_ord2utf8.c to 192.168.1.124,lzo,cpp, running locally instead 5979 __________Compiling obj/gcc-4.2.1-glibc-2.2.2-piii-linux-dbg/bin/third_party/pcre/pcre-7.3/pcre_ucp_searchfuncs.c.o 5980 distcc[7780] (dcc_please_send_email_note_discrepancy_except_fresh_dependency) Warning: remote compilation of 'third_party/pcre/pcre-7.3/pcre_get.c' failed, retried locally and got a different result. 5981 distcc[7780] Warning: Will send an email to distcc-pump-errors@google.com 5982 distcc[7791] (dcc_please_send_email_note_discrepancy_except_fresh_dependency) Warning: remote compilation of 'third_party/pcre/pcre-7.3/pcre_globals.c' failed, retried locally and got a different result. 5983 distcc[7791] Warning: Will send an email to distcc-pump-errors@google.com 5984 __________Compiling obj/gcc-4.2.1-glibc-2.2.2-piii-linux-dbg/bin/third_party/pcre/pcre-7.3/pcre_valid_utf8.c.o 5985 distcc[7723] (dcc_please_send_email_note_discrepancy_except_fresh_dependency) Warning: remote compilation of 'third_party/pcre/pcre-7.3/pcre_compile.c' failed, retried locally and got a different result. 5986 distcc[7723] Warning: Will send an email to distcc-pump-errors@google.com 5987 5988 R=fergus,manos 5989 DELTA=211 (174 added, 8 deleted, 29 changed) 5990 5991 * distcc/src/compile.c: edit 5992 * distcc/src/compile.h: edit 5993 * distcc/src/h_compile.c: edit 5994 * distcc/test/testdistcc.py: edit 5995 5996 59972007/10/09 12:40:31 Nils Klarlund <opensource@google.com> 5998 5999 6000 The obvious radical approach to clearing all caches. With this CL, we 6001 run all the initialization code of the major include analyzer object. 6002 This changes passes all usual tests and some third_party tests. 6003 All to be run before release. 6004 6005 R=fergus,manos 6006 DELTA=52 (17 added, 32 deleted, 3 changed) 6007 6008 * include_server/cache_basics.py: edit 6009 * include_server/include_analyzer.py: edit 6010 * include_server/include_analyzer_memoizing_node.py: edit 6011 * include_server/mirror_path.py: edit 6012 6013 60142007/10/09 12:38:53 Nils Klarlund <opensource@google.com> 6015 6016 Introduce a time analysis of source files in order to improve S/N 6017 ratio of automatically generated error emails. Currently, we send 6018 an email in situations where: 6019 6020 -- the remote compilation fails because a file contains something bad, 6021 -- the file is changed to not contain bad stuff, and consequently the 6022 -- the local compilation succeeds. 6023 6024 This makes it sometimes impossible for us to determine accurately from 6025 the email whether some error really occurred or whether the user changed 6026 source files during the build. 6027 6028 We can carry out the analysis only if there is a .d file. We check each 6029 dependency descriped there. If anyone changed after the build started, 6030 then we really don't want to hear about distcc-pump errors, because 6031 dependencies shouldn't change. The generated files are exceptions. To 6032 disregard these, the distcc user may specify a glob pattern in 6033 environment variable DISTCC_EXCLUDE_FRESH_FILES defined when 6034 invoking distcc. 6035 6036 R=fergus 6037 APPROVED=fergus,sunq 6038 DELTA=378 (362 added, 4 deleted, 12 changed) 6039 6040 * distcc/Makefile.in: edit 6041 * distcc/configure.ac: edit 6042 * distcc/src/compile.c: edit 6043 * distcc/src/compile.h: edit 6044 * distcc/src/emaillog.c: edit 6045 * distcc/src/h_compile.c: add 6046 * distcc/test/testdistcc.py: edit 6047 * pump.in: edit 6048 6049 60502007/10/09 12:08:14 Nils Klarlund <opensource@google.com> 6051 6052 Release pump15 to buildstatic under name 2007.10.09. To include: 6053 6054 Fix a bug with the check to see whether /usr/lib/rpm/... 6055 The obvious radical approach to... 6056 Ensure that the build process reruns... 6057 Introduce a time analysis of source files... 6058 6059 R=fergus,manos 6060 DELTA=1 (0 added, 0 deleted, 1 changed) 6061 6062 * version.sh: edit 6063 6064 60652007/10/08 22:56:48 Fergus Henderson <opensource@google.com> 6066 6067 Fix a bug with the check to see whether /usr/lib/rpm/find-requires 6068 has been patched to special-case the linux-gate.so dependency. 6069 The sense of the check was inverted. On my system, find-requires 6070 had been properly patched already, but build-distcc.sh was 6071 incorrectly telling me that I needed to patch it. 6072 6073 R=klarlund 6074 CC=distcc-pump 6075 DELTA=1 (0 added, 0 deleted, 1 changed) 6076 6077 * build-distcc.sh: edit 6078 6079 60802007/10/08 22:49:19 Fergus Henderson <opensource@google.com> 6081 6082 Ensure that the build process reruns autoconf and autoheader. 6083 This is needed in case configure.ac has been changed since 6084 the last build. 6085 6086 R=klarlund 6087 CC=distcc-pump 6088 DELTA=1 (1 added, 0 deleted, 0 changed) 6089 6090 * distcc.spec: edit 6091 6092 60932007/10/08 10:35:13 Nils Klarlund <opensource@google.com> 6094 6095 Start a new snaphost of the file system when caches are cleared as part 6096 of the stat trigger mechanism. 6097 6098 The stat reset is supposed to mean: ``don't trust anything about 6099 previous analyses of includes.'' So files, directories, and symbolic 6100 links, as known to the include server, are all invalid. 6101 6102 In particular, all information gathered in the client root directory is 6103 stale. (This is where we compress source file and mirror the directory 6104 and link structure of the part of the file system explored for include 6105 analysis.) 6106 6107 With this CL, we make the client root concept generational, as indicated 6108 by a new suffix, a generation number, added to the automatically 6109 generated root name. A trigger event bumps the generation number by 6110 one. 6111 6112 R=manos,fergus 6113 DELTA=86 (60 added, 4 deleted, 22 changed) 6114 6115 * include_server/basics.py: edit 6116 * include_server/compress_files.py: edit 6117 * include_server/include_analyzer.py: edit 6118 * include_server/include_analyzer_test.py: edit 6119 * include_server/include_server.py: edit 6120 * include_server/mirror_path.py: edit 6121 6122 61232007/10/04 18:18:18 Manos Renieris <opensource@google.com> 6124 6125 Update the init script. Major difference is the understanding of comments. 6126 6127 R=klarlund 6128 CC=ahyun,distcc-pump 6129 DELTA=248 (25 added, 62 deleted, 161 changed) 6130 6131 * distcc/packaging/RedHat/init.d/distcc: edit 6132 6133 61342007/10/04 15:05:43 Fergus Henderson <opensource@google.com> 6135 6136 Tidy up the output from c_extensions_test. 6137 Also change the test so that it will die if some unreachable code is 6138 reached, rather than quietly ignoring the error condition, 6139 and avoid using the message "internal error 3" for two different errors. 6140 6141 R=manos 6142 CC=distcc-pump 6143 APPROVED=klarlund 6144 DELTA=8 (5 added, 0 deleted, 3 changed) 6145 6146 * include_server/Makefile.in: edit 6147 * include_server/c_extensions_test.py: edit 6148 6149 61502007/10/04 13:25:56 Nils Klarlund <opensource@google.com> 6151 6152 Warning message clean-up. 6153 6154 1) Change all information printed by Debug to go to stderr. 6155 6156 2) When an exception is raised it should generally be reported as a new 6157 warning (as defined by Debug called with DEBUG_WARNING, so that this 6158 output is controllable), not just printed to stderr. In particular, 6159 this change makes situations not covered by the include processor (such 6160 as absolute filepaths in #include's) be reported as warnings. 6161 6162 3) We removed an unnecessary try/except block for totally unexpected 6163 siutations. Those are to be handled by the general except clause of the 6164 'handler'. 6165 6166 Fatal issues and timing information (not normally used) is still 6167 reported to stderr through print statements. 6168 6169 R=fergus,manos 6170 DELTA=18 (0 added, 4 deleted, 14 changed) 6171 6172 * include_server/basics.py: edit 6173 * include_server/include_server.py: edit 6174 6175 61762007/10/04 13:06:01 Fergus Henderson <opensource@google.com> 6177 6178 Include h_fix_debug_info in the list of check_programs, 6179 so that it gets removed by "make clean". 6180 6181 R=klarlund 6182 DELTA=1 (1 added, 0 deleted, 0 changed) 6183 6184 * distcc/Makefile.in: edit 6185 6186 61872007/10/04 11:37:39 Nils Klarlund <opensource@google.com> 6188 6189 If Ctrl-c is issued while the include server is running in 'handle', 6190 then an unfortunate double error message would sometimes occur, along 6191 with a stack trace. Fixed here by propagating exception to outer handler 6192 in 'Main'. [While we're at it, we change 'main' to 'Main'. There's no 6193 reason to lowercase it.] 6194 6195 Also, we fix the situations where the exception raised in 'handle' is an 6196 internal error or the one corresponding to SIGTERM. Both situations are 6197 uncommon. And, in both cases, we raise SIGTERM for Main to catch, so 6198 that include server can be terminated without stack traces to be printed 6199 out. 6200 6201 R=fergus,manos 6202 DELTA=6 (0 added, 0 deleted, 6 changed) 6203 6204 * include_server/include_server.py: edit 6205 6206 62072007/10/04 10:13:58 Fergus Henderson <opensource@google.com> 6208 6209 Set VPATH. This is needed to make things work if you run configure 6210 in a different directory than the source directory. 6211 6212 R=klarlund 6213 CC=distcc-pump 6214 DELTA=1 (1 added, 0 deleted, 0 changed) 6215 6216 * Makefile.in: edit 6217 6218 62192007/10/04 01:10:42 Fergus Henderson <opensource@google.com> 6220 6221 Add the header file for a source file I added in a previous change. 6222 I had accidentally omitted this file from that CL. 6223 6224 R=iant 6225 CC=distcc-pump 6226 APPROVED=iant 6227 DELTA=10 (10 added, 0 deleted, 0 changed) 6228 6229 * distcc/src/fix_debug_info.h: add 6230 6231 62322007/10/03 20:41:00 Nils Klarlund <opensource@google.com> 6233 6234 Version 14 will contain: 6235 6236 - a server update (for .o rewriting), to be installed 10/4 in NYC 6237 - fix for include server failure to update symbolic links when clearing 6238 caches 6239 - minor changes to messages in exception circumstances 6240 - possibly, change that analyzes .d files before sending emails 6241 about discrepancies between server and client 6242 6243 R=fergus,manos 6244 6245 * version.sh: edit 6246 6247 62482007/10/03 15:03:24 Nils Klarlund <opensource@google.com> 6249 6250 Add clarifying comment. 6251 6252 R=fergus,manos 6253 APPROVED=manos 6254 DELTA=1 (1 added, 0 deleted, 0 changed) 6255 6256 * include_server/test_data/dfoo/foo2.h: edit 6257 6258 62592007/10/03 12:04:55 Fergus Henderson <opensource@google.com> 6260 6261 Change distcc so that it generates the correct value for 6262 the "current directory" field in the debug info. 6263 6264 I do this by mmapping the ".o" file into memory, parsing the 6265 ELF headers to find the ".debug_info" section, and then doing a 6266 blind string search and replace in that section. This should be 6267 quite safe: although there is a remote possibility of false hits, 6268 they will only affect the debug_info section. 6269 6270 R=iant,klarlund 6271 CC=distcc-pump 6272 APPROVED=klarlund 6273 DELTA=628 (594 added, 5 deleted, 29 changed) 6274 6275 * distcc/Makefile.in: edit 6276 * distcc/configure.ac: edit 6277 * distcc/src/config.h.in: edit 6278 * distcc/src/fix_debug_info.c: add 6279 * distcc/src/serve.c: edit 6280 * distcc/test/testdistcc.py: edit 6281 6282 62832007/09/28 17:52:51 Nils Klarlund <opensource@google.com> 6284 6285 Fix .d target error. This error was unfortunately introduced with 6286 a previous change, which corrected other errors and attempted to put this 6287 logic into a unit test straightjacket. 6288 6289 R=fergus,manos 6290 DELTA=2 (0 added, 1 deleted, 1 changed) 6291 6292 * distcc/src/dotd.c: edit 6293 * distcc/test/testdistcc.py: edit 6294 6295 62962007/09/28 17:13:53 Nils Klarlund <opensource@google.com> 6297 6298 Prepare release of pump13 to overcome bug in yesterday's release. 6299 6300 R=fergus,manos 6301 6302 * version.sh: edit 6303 6304 63052007/09/27 14:18:09 Nils Klarlund <opensource@google.com> 6306 6307 Prepare new release. 6308 6309 R=fergus,manos 6310 DELTA=1 (0 added, 0 deleted, 1 changed) 6311 6312 * version.sh: edit 6313 6314 63152007/09/26 22:31:54 Nils Klarlund <opensource@google.com> 6316 6317 Allow globs in trigger path expressions. 6318 6319 R=fergus,manos 6320 DELTA=101 (85 added, 0 deleted, 16 changed) 6321 6322 * include_server/include_analyzer.py: edit 6323 * include_server/include_analyzer_test.py: edit 6324 * include_server/include_server.py: edit 6325 * pump.in: edit 6326 6327 63282007/09/26 22:01:05 Nils Klarlund <opensource@google.com> 6329 6330 Fix parsing of -D options to allow for function-like macros. 6331 6332 R=fergus,manos 6333 DELTA=88 (55 added, 28 deleted, 5 changed) 6334 6335 * include_server/include_analyzer_memoizing_node.py: edit 6336 * include_server/include_analyzer_test.py: edit 6337 * include_server/parse_file.py: edit 6338 * include_server/test_data/func_macro.c: add 6339 6340 63412007/09/26 21:51:45 Nils Klarlund <opensource@google.com> 6342 6343 The interpretation of the # operator of CPP was incorrect because 6344 whitespace after # was not ignored. For example, 6345 6346 # a 6347 6348 must expand to 6349 6350 "a" 6351 6352 not 6353 6354 "" a 6355 6356 We fix this problem here. 6357 6358 R=fergus,manos 6359 DELTA=3 (2 added, 0 deleted, 1 changed) 6360 6361 * include_server/macro_eval.py: edit 6362 * include_server/macro_eval_test.py: edit 6363 6364 63652007/09/21 22:57:17 Fergus Henderson <opensource@google.com> 6366 6367 Fix two compiler warnings, one of them serious: 6368 - The type of the "len" argument in a call to 6369 PyArg_ParseType("#s", &string, &len) 6370 must be "int", not "size_t". This could cause 6371 serious problems for a 64-bit architecture. 6372 - Include "distcc.h" before the other header file, 6373 so that we get the definition of 'enum dcc_protover' 6374 before it is used. 6375 6376 R=klarlund 6377 CC=distcc-pump 6378 DELTA=4 (1 added, 2 deleted, 1 changed) 6379 6380 * include_server/c_extensions/distcc_pump_c_extensions_module.c: edit 6381 6382 63832007/09/21 22:56:33 Fergus Henderson <opensource@google.com> 6384 6385 When compiling the distcc code and the extension module, enable C 6386 compiler warnings ("-Wall -Wextra"), and enforce them ("-Werror"). 6387 Also make sure that we compile with "-D_GNU_SOURCE", since distcc 6388 uses that, and we need that to avoid some compiler warnings. 6389 6390 R=klarlund 6391 CC=distcc-pump 6392 DELTA=3 (0 added, 0 deleted, 3 changed) 6393 6394 * include_server/setup.py: edit 6395 6396 63972007/09/21 22:56:08 Fergus Henderson <opensource@google.com> 6398 6399 Pass the "-v" (verbose) option to "autoreconf". 6400 6401 R=klarlund 6402 DELTA=1 (0 added, 0 deleted, 1 changed) 6403 6404 * run_all_autoconf.sh: edit 6405 6406 64072007/09/21 13:41:36 Nils Klarlund <opensource@google.com> 6408 6409 Fix bugs in dcc_get_dotd_info that give rise to erroneous .d file names 6410 or erroneous target names in .d files. 6411 6412 - If derived from the file name given by -o, then the suffix must be 6413 stripped before .d is appended. 6414 6415 - If the file name ends in '.', then only "d" is appended. 6416 6417 - If an -o name is given and the name ends in '.', then this name, not 6418 the input filename, is still to be used for the name of the .d file. 6419 6420 - If a target is provided in DEPENDENCIES_OUTPUT, then this target must 6421 be returned -- otherwise the .d file computed on the server will be 6422 incorrect if the target happens not to be the object file. 6423 6424 Extra: a test for the length of the string in variable extension was 6425 unnecessary. 6426 6427 Tests: We made a unit test that exercices the function in a number of 6428 ways. Heuristics about the names of .d files, expressed as globs, are 6429 used to pinpoint the actual naming conventions used by gcc. 6430 6431 R=manos,fergus 6432 DELTA=255 (217 added, 20 deleted, 18 changed) 6433 6434 * distcc/Makefile.in: edit 6435 * distcc/src/dotd.c: edit 6436 * distcc/src/h_dotd.c: add 6437 * distcc/test/testdistcc.py: edit 6438 6439 64402007/09/20 11:36:58 Nils Klarlund <opensource@google.com> 6441 6442 Fix sending of emails by include server. Avoid sending emails when 6443 translation unit could not be found or if command line is 6444 malformed. Also, fix buglet that made the previous translation unit name 6445 appear in the case of malformed command line. 6446 6447 R=fergus,manos 6448 DELTA=6 (2 added, 0 deleted, 4 changed) 6449 6450 * include_server/include_analyzer.py: edit 6451 * include_server/include_server_test.py: edit 6452 * include_server/parse_command.py: edit 6453 6454 64552007/09/20 11:33:48 Nils Klarlund <opensource@google.com> 6456 6457 Prepare new release to include "Reset caches more aggressively". 6458 6459 R=fergus,manos 6460 DELTA=1 (0 added, 0 deleted, 1 changed) 6461 6462 * version.sh: edit 6463 6464 64652007/09/20 07:54:03 Nils Klarlund <opensource@google.com> 6466 6467 Reset caches more aggressively. According to a bug report, 6468 there are uncommon build situations where distcc-pump fails. We address 6469 this by: 6470 6471 -- Making sure to reset the cache use by the link-gathering mechanism of 6472 mirror_path in the include server. This is a real bug although 6473 probably not the culprit. 6474 6475 -- Also monitoring 'includes/third_party/stl/third_party/stl', which is 6476 the symbolic link changed (with path-doubling) by the set symlink 6477 mechanism of the third_party/stl/BUILD file. 6478 6479 R=fergus,manos 6480 DELTA=6 (5 added, 0 deleted, 1 changed) 6481 6482 * include_server/include_analyzer.py: edit 6483 * include_server/mirror_path.py: edit 6484 * pump.in: edit 6485 6486 64872007/09/18 13:03:49 Nils Klarlund <opensource@google.com> 6488 6489 Prepare 'pump10' release. This release is to correct minor issues such 6490 as interaction with ccache and the handling of command line -D options. 6491 6492 R=fergus,manos 6493 DELTA=1 (0 added, 0 deleted, 1 changed) 6494 6495 * version.sh: edit 6496 6497 64982007/09/18 12:59:45 Nils Klarlund <opensource@google.com> 6499 6500 Correct two mistakes in the handling of filepaths: 6501 6502 -- an elementary one in basics.py: the rstrip() function of string is 6503 functional 6504 6505 -- a more tricky one: in an include of the form "#include ./foo.h", we 6506 must normalize the file name to 'foo.h', otherwise an infinite regression 6507 would occur if foo.h includes ./foo.h. 6508 6509 R=fergus,manos 6510 DELTA=13 (10 added, 1 deleted, 2 changed) 6511 6512 * include_server/basics.py: edit 6513 * include_server/cache_basics.py: edit 6514 6515 65162007/09/17 14:51:56 Nils Klarlund <opensource@google.com> 6517 6518 6519 Fix client to change protocol version from 3 (pump) to 2 (plain) in 6520 situations involving already preprocessed code, such as arising from 6521 ccache use, or involving certain insidious environment variables. 6522 6523 Test: 6524 make -C distcc valgrind-check 6525 6526 R=fergus,manos 6527 DELTA=41 (40 added, 1 deleted, 0 changed) 6528 6529 * distcc/src/compile.c: edit 6530 6531 65322007/09/17 13:56:56 Nils Klarlund <opensource@google.com> 6533 6534 When announcing pump installation, show the real location -- unmasked 6535 by symbolic links. 6536 6537 R=fergus,manos 6538 DELTA=1 (0 added, 0 deleted, 1 changed) 6539 6540 * pump.in: edit 6541 6542 65432007/09/17 13:26:48 Fergus Henderson <opensource@google.com> 6544 6545 Fix a bug in "pump --startup": don't print out a setting for 6546 DISTCC_HOSTS if we didn't set DISTCC_HOSTS. 6547 6548 (Note: this is not an urgent fix, because I've made Blaze work 6549 around the bug. But worth fixing nevertheless.) 6550 6551 R=klarlund 6552 CC=distcc-pump 6553 DELTA=3 (2 added, 0 deleted, 1 changed) 6554 6555 * pump.in: edit 6556 6557 65582007/09/17 12:33:21 Nils Klarlund <opensource@google.com> 6559 6560 Make 'pump' executable. 6561 6562 R=fergus,manos 6563 DELTA=2 (1 added, 0 deleted, 1 changed) 6564 6565 * configure.ac: edit 6566 6567 65682007/09/17 09:48:08 Nils Klarlund <opensource@google.com> 6569 6570 Propagate symbols defined through -D options to include analyzer. This 6571 makes computed includes operable wtih values provided on the command 6572 line. 6573 6574 Tests: 6575 6576 1. New tests exercise that when reissuing an analysis for the same file 6577 and with same search directories, but with a symbol definition affecting 6578 a previously computed include, the include graph is recalculated, not 6579 reused, and the new value of the symbol is used for resolving the 6580 computed include. 6581 6582 2. The new code was also verified to solve the problem reported in 6583 a bug report (I used a workstation in ZRH to build the 6584 actual code that cause the issue). 6585 6586 3. I did 'make maintainer-check'. 6587 6588 R=fergus,manos 6589 DELTA=66 (56 added, 0 deleted, 10 changed) 6590 6591 * include_server/include_analyzer.py: edit 6592 * include_server/include_analyzer_memoizing_node.py: edit 6593 * include_server/include_analyzer_memoizing_node_test.py: edit 6594 * include_server/include_analyzer_test.py: edit 6595 * include_server/parse_command.py: edit 6596 * include_server/parse_command_test.py: edit 6597 6598 65992007/09/15 21:47:49 Nils Klarlund <opensource@google.com> 6600 6601 Update a comment as per Fergus's review comment for a previous change. 6602 6603 R=fergus,manos 6604 DELTA=3 (1 added, 0 deleted, 2 changed) 6605 6606 * include_server/compiler_defaults.py: edit 6607 6608 66092007/09/13 23:40:04 Nils Klarlund <opensource@google.com> 6610 6611 Introduces mechanism for monitoring the real paths that are resolved 6612 during include analysis. Invoke as --realpath_warning_re=RE. For more, 6613 see include_server.py, Usage() in this CL. This allows a user to find 6614 out which source files are actually picked out by the include analysis 6615 during the build. Such information can useful if it is suspected that 6616 include directories are wrong. 6617 6618 TESTING: this CL passes make check and make maintainer-check. It was 6619 tested earlier on Google software as part of the 6620 discussion of this feature now found on the distcc-pump wiki. 6621 6622 From the wiki: 6623 6624 INCLUDE_SERVER_ARGS='--realpath_warning_re=RE' make-dbg .... 6625 6626 makes the include server write a warning to stderr whenever a filename 6627 is resolved to a realpath (a canonicalized absolute pathname - see 6628 'man realpath') that is matched by RE, which is a regular expression 6629 in Python syntax. For example, to find out which C/C++ files from 6630 /home/build/buildonly are used during a build of gws:gws, do: 6631 6632 INCLUDE_SERVER_ARGS='--realpath_warning_re=/auto/buildonly' make-dbg -distcc_pump -g0 gws:gws 6633 6634 Then, you will see messages like: 6635 6636 WARNING include server: For translation unit 6637 'foo/bar.cc' 6638 while processing 'foo/bar.cc' 6639 lookup of file 'baz.h' resolved to 6640 '../whatever/baz.h' 6641 whose realpath is 6642 '/auto/whatever/blah/blah/baz.h'. 6643 6644 (Here we have formatted the message from it's one-liner original.) 6645 Note that the include server currently does not identify the header 6646 file containing the #include for which the realpath matched, but only 6647 the translation unit. Also, because of caching in the include server, 6648 a message for a particular resolution appears usually only once. Thus 6649 this analysis cannot be used to find out which files a particular 6650 compilation unit uses. 6651 6652 R=fergus,manos 6653 DELTA=42 (40 added, 0 deleted, 2 changed) 6654 6655 * include_server/basics.py: edit 6656 * include_server/cache_basics.py: edit 6657 * include_server/include_server.py: edit 6658 6659 66602007/09/13 23:15:37 Nils Klarlund <opensource@google.com> 6661 6662 Introduce flag for NotCoveredError exceptions that specify whether 6663 email is to be sent or not. 6664 6665 We use this parameter to suppress warnings that related to 6666 6667 #include "/foo/bar.h" 6668 6669 and similar uses. 6670 6671 Also, clean up of some error messages (add '.'). We fix a few typos and 6672 unneeded variables (e.g.: opt_build_stat_verify), while we're looking at 6673 these files. 6674 6675 Additionally, improve NotCovered messages by adding the file name (in 6676 most cases). 6677 6678 Finally, introduce option --no-email to negate the default of --email in 6679 the pump script if so desired through INCLUDE_SERVER_ARGS. 6680 6681 TESTING: 6682 6683 This change passes 'make check' and 'make maintainer-check'. We also ran 6684 system tests and verified that occurences of #include "/foo/bar.h" now 6685 does not result in mail being generated. These tests are not part of 6686 this changelist, but contained in another change. 6687 6688 R=manos,fergus 6689 DELTA=186 (93 added, 49 deleted, 44 changed) 6690 6691 * include_server/basics.py: edit 6692 * include_server/cache_basics.py: edit 6693 * include_server/include_server.py: edit 6694 * include_server/include_server_test.py: edit 6695 * include_server/parse_file.py: edit 6696 6697 66982007/09/13 18:18:25 Nils Klarlund <opensource@google.com> 6699 6700 Reorganize and extend tests: 6701 6702 - move existing tests in include_server.py to new include_server_test.py 6703 6704 - test the main 'handler' in include_server, including how exceptions, 6705 such as internal error, affect automated email generation 6706 6707 R=fergus,manos 6708 DELTA=613 (374 added, 198 deleted, 41 changed) 6709 6710 * include_server/Makefile.in: edit 6711 * include_server/include_analyzer_test.py: add 6712 * include_server/include_server_test.py: edit 6713 * include_server/test_data/contains_abs_include.c: add 6714 6715 67162007/09/13 14:54:43 Nils Klarlund <opensource@google.com> 6717 6718 Prepare for release; bump to version 'pump9'. 6719 6720 R=fergus,manos 6721 DELTA=1 (0 added, 0 deleted, 1 changed) 6722 6723 * version.sh: edit 6724 6725 67262007/09/13 14:41:34 Nils Klarlund <opensource@google.com> 6727 6728 Remove Google crosstool specification (which made the build fail 6729 anyway). 6730 6731 R=manos,fergus 6732 DELTA=1 (0 added, 0 deleted, 1 changed) 6733 6734 * build-distcc.sh: edit 6735 6736 67372007/09/13 14:38:24 Nils Klarlund <opensource@google.com> 6738 6739 Correct flawed configuration scripts and introduce configuration sanity 6740 checks. 6741 6742 autoconfig assumes that if an .ac script has not changed then the 6743 resulting configure scripts do not need to change. 6744 6745 This assumption is untrue because we use a shell escape. (This 6746 escape has been rewritten according to Fergus's suggestion.) 6747 6748 Moreover, m4 caches processed files. This royally messes up things 6749 beyond and in addition to just the aforementioned problem. 6750 6751 We fix this by using autoreconf (suggested by Fergus). It seems to 6752 address these issues. 6753 6754 We have verified that: 6755 6756 ./run_all_autoconf.sh; ./configure; make clean; make all 6757 6758 works and embeds a changed version number (in version.sh) in the right 6759 places. 6760 6761 With further CLs "Remove Google crosstool specification" and 6762 "Introduce needed cast.", it is possible to use 6763 ./build-distcc.sh to make RPM and .deb packages. 6764 6765 R=fergus,manos 6766 DELTA=76 (36 added, 20 deleted, 20 changed) 6767 6768 * Makefile.in: edit 6769 * configure.ac: edit 6770 * distcc/configure.ac: edit 6771 * include_server/configure.ac: edit 6772 * run_all_autoconf.sh: edit 6773 * version.sh: edit 6774 6775 67762007/09/13 14:21:11 Nils Klarlund <opensource@google.com> 6777 6778 Introduce needed cast. This problem was detected with gcc 6779 version 4.0.3 (Ubuntu 4.0.3-1ubuntu5). 6780 6781 R=fergus,manos 6782 DELTA=3 (2 added, 0 deleted, 1 changed) 6783 6784 * distcc/src/stats.c: edit 6785 6786 67872007/09/13 14:18:44 Nils Klarlund <opensource@google.com> 6788 6789 Not deleting .d files breaks the build sometimes. 6790 6791 R=fergus,manos 6792 DELTA=4 (1 added, 0 deleted, 3 changed) 6793 6794 * distcc/Makefile.in: edit 6795 6796 67972007/09/12 21:08:29 Fergus Henderson <opensource@google.com> 6798 6799 Use the standard autoconf substitution process to create pump 6800 from pump.in, rather than a hand-crafted Makefile rule. 6801 6802 R=klarlund 6803 CC=distcc-pump 6804 DELTA=16 (4 added, 6 deleted, 6 changed) 6805 6806 * Makefile.in: edit 6807 * configure.ac: edit 6808 * pump.in: edit 6809 6810 68112007/09/12 20:49:57 Fergus Henderson <opensource@google.com> 6812 6813 Fix a Posix conformance bug: we were passing the same fd set to 6814 select() for both the writeable fd set and the error fd set, but 6815 according to Posix (specifically The Open Group Base Specifications Issue 6, 6816 available at <http://www.opengroup.org/onlinepubs/009695399/>), 6817 the arguments to select() are declared with the "restrict" attribute, 6818 which means they must not be aliased. 6819 6820 Also, issue a trace message in the case when select() returns 6821 due to an error condition on the fd rather than because the fd 6822 has become writable. 6823 6824 R=manos 6825 CC=distcc-pump 6826 DELTA=23 (18 added, 0 deleted, 5 changed) 6827 6828 * distcc/src/io.c: edit 6829 6830 68312007/09/12 18:57:03 Fergus Henderson <opensource@google.com> 6832 6833 Fix manual memory management bugs, and simplify the memory management 6834 a bit. 6835 6836 dcc_set_output() was inconsistent about whether it copied its 6837 input argument or aliased it, about whether it freed the previous 6838 value in that slot. I changed the function so that it always 6839 copies the input argument, and always frees the previous value 6840 in the argv array slot that it is about to overwrite. 6841 I likewise changed dcc_set_input to copy its argument. 6842 6843 dcc_set_output() was also inconsistent about whether or not it 6844 logged the change to the argument; I fixed that too, by always 6845 logging it. 6846 6847 In serve.c I simplified the code and comments a little - there 6848 is no longer any aliasing going on, so the deallocation logic 6849 is simpler. 6850 6851 R=manos 6852 CC=distcc-pump 6853 DELTA=35 (9 added, 12 deleted, 14 changed) 6854 6855 * distcc/src/arg.c: edit 6856 * distcc/src/serve.c: edit 6857 6858 68592007/09/12 18:51:05 Fergus Henderson <opensource@google.com> 6860 6861 Add support for running a single test case at a time, 6862 rather than running all of them. This is useful for 6863 debugging. 6864 6865 R=manos 6866 CC=distcc-pump 6867 APPROVED=klarlund 6868 DELTA=46 (46 added, 0 deleted, 0 changed) 6869 6870 * distcc/Makefile.in: edit 6871 * distcc/test/onetest.py: add 6872 6873 68742007/09/12 18:48:53 Fergus Henderson <opensource@google.com> 6875 6876 Fix a timing dependence in the distcc test suite that caused the 6877 'NoDetachDaemon_Case' test case to sometimes fail when run under 6878 valgrind. Specifically, when running the server in --no-detach mode, 6879 wait until the server starts accepting connections before running 6880 the test, rather than just waiting 0.5 seconds, which under valgrind 6881 is not always long enough. 6882 6883 R=klarlund 6884 CC=distcc-pump 6885 DELTA=6 (3 added, 0 deleted, 3 changed) 6886 6887 * distcc/test/testdistcc.py: edit 6888 6889 68902007/09/12 18:47:34 Fergus Henderson <opensource@google.com> 6891 6892 Add "--startup" and "--shutdown" options to the pump script, 6893 for use by Blaze. Blaze can't use the ordinary mode of the 6894 pump script, because the Blaze server's lifetime is greater than 6895 the lifetime of the include server. 6896 6897 R=klarlund 6898 CC=distcc-pump 6899 DELTA=181 (119 added, 12 deleted, 50 changed) 6900 6901 * pump.in: edit 6902 6903 69042007/09/11 13:59:25 Nils Klarlund <opensource@google.com> 6905 6906 Annul enviroment when probing for built-in include path. Fixes subtle 6907 problem reported in a bug report. 6908 6909 R=fergus,manos 6910 DELTA=6 (3 added, 0 deleted, 3 changed) 6911 6912 * include_server/compiler_defaults.py: edit 6913 6914 69152007/09/11 12:37:56 Nils Klarlund <opensource@google.com> 6916 6917 Fix leftover comment from earlier fix: delete it. 6918 6919 R=manos 6920 DELTA=3 (0 added, 3 deleted, 0 changed) 6921 6922 * include_server/include_analyzer_memoizing_node.py: edit 6923 6924 69252007/09/06 16:02:39 Nils Klarlund <opensource@google.com> 6926 6927 Improve mechanishm for overcoming unsoundness in build system. Change 6928 the semantics of stat_reset_triggers so that the changing of a symbolic 6929 link during the build triggers a reset of all include server caches. 6930 6931 R=fergus,manos 6932 DELTA=57 (28 added, 1 deleted, 28 changed) 6933 6934 * include_server/basics.py: edit 6935 * include_server/include_analyzer.py: edit 6936 * include_server/include_analyzer_memoizing_node.py: edit 6937 * include_server/include_server.py: edit 6938 * include_server/include_server_test.py: edit 6939 6940 69412007/09/05 15:50:58 Fergus Henderson <opensource@google.com> 6942 6943 Make distcc warning-free: 6944 - Remove "-Wconversion" from CFLAGS; this warning was useful for 6945 writing code that had to be compatible with pre-C89 C compilers 6946 that didn't support prototypes, but that isn't needed anymore, 6947 and it causes too many spurious warnings for perfectly legitimate 6948 code. 6949 - Add "-Wno-unused" to cflags for popt/*.c; those files have 6950 a bunch of unused parameters. 6951 - Eliminate all the remaining compiler warnings. 6952 - Add "-Werror" to CFLAGS so we won't get any regressions! 6953 6954 TESTED = make maintainer-check valgrind-check 6955 6956 R=manos 6957 CC=distcc-pump 6958 APPROVED=manos 6959 DELTA=56 (27 added, 6 deleted, 23 changed) 6960 6961 * distcc/Makefile.in: edit 6962 * distcc/configure.ac: edit 6963 * distcc/popt/popt.c: edit 6964 * distcc/popt/popt.h: edit 6965 * distcc/popt/popthelp.c: edit 6966 * distcc/src/bulk.c: edit 6967 * distcc/src/emaillog.c: edit 6968 * distcc/src/exec.c: edit 6969 * distcc/src/hosts.c: edit 6970 * distcc/src/include_server_if.c: edit 6971 * distcc/src/lsdistcc.c: edit 6972 * distcc/src/prefork.c: edit 6973 * distcc/src/srvnet.c: edit 6974 * distcc/src/stats.c: edit 6975 6976 69772007/08/30 14:01:37 Manos Renieris <opensource@google.com> 6978 6979 When receiving a string, print it out. 6980 6981 R=klarlund,fergus 6982 DELTA=2 (2 added, 0 deleted, 0 changed) 6983 6984 * distcc/src/rpc.c: edit 6985 6986 69872007/08/30 13:58:45 Nils Klarlund <opensource@google.com> 6988 6989 Make tracing for client print out strings that are sent, not just their lengths. 6990 6991 R=manos 6992 DELTA=1 (0 added, 0 deleted, 1 changed) 6993 6994 * distcc/src/rpc.c: edit 6995 6996 69972007/08/29 21:44:15 Nils Klarlund <opensource@google.com> 6998 6999 Fix bug in include server that gives rise to the include server being 7000 unable to find the translation unit. Also, delete some unneeded 7001 variables and make the remaining ones lowercased. 7002 7003 R=manos,fergus 7004 DELTA=86 (73 added, 0 deleted, 13 changed) 7005 7006 * include_server/basics.py: edit 7007 * include_server/basics_test.py: add 7008 * include_server/include_analyzer.py: edit 7009 * include_server/include_server.py: edit 7010 7011 70122007/08/29 21:35:45 Nils Klarlund <opensource@google.com> 7013 7014 Prepare new release. 7015 7016 R=manos,fergus 7017 DELTA=3 (2 added, 0 deleted, 1 changed) 7018 7019 * version.sh: edit 7020 7021 70222007/08/28 17:56:22 Nils Klarlund <opensource@google.com> 7023 7024 Fix typos incidentally introduced in a previous change -- and fix a function 7025 that scrubs file names in a test; it didn't work with links. 7026 7027 R=manos 7028 DELTA=10 (1 added, 0 deleted, 9 changed) 7029 7030 * include_server/include_server.py: edit 7031 * include_server/include_server_test.py: edit 7032 7033 70342007/08/28 17:50:46 Nils Klarlund <opensource@google.com> 7035 7036 Add test files, missing from a previous change. 7037 7038 R=manos,fergus 7039 APPROVED=manos 7040 DELTA=1 (1 added, 0 deleted, 0 changed) 7041 7042 * include_server/test_data/dfoo/stat_triggers.h: add 7043 * include_server/test_data/stat_triggers.c: add 7044 * include_server/test_data/stat_triggers.h: add 7045 7046 70472007/08/28 17:47:06 Manos Renieris <opensource@google.com> 7048 7049 Observe the HAVE_SENDFILE config variable. 7050 7051 R=klarlund 7052 DELTA=7 (6 added, 0 deleted, 1 changed) 7053 7054 * distcc/src/bulk.c: edit 7055 7056 70572007/08/28 16:23:43 Nils Klarlund <opensource@google.com> 7058 7059 Make a central place for defining versions. Remove various generated 7060 files from source control. 7061 7062 R=manos,fergus 7063 DELTA=13450 (41 added, 13401 deleted, 8 changed) 7064 7065 * INSTALL: edit 7066 * build-distcc.sh: edit 7067 * configure: delete 7068 * configure.ac: edit 7069 * distcc/configure: delete 7070 * distcc/configure.ac: edit 7071 * include_server/configure: delete 7072 * include_server/configure.ac: edit 7073 * run_all_autoconf.sh: add 7074 * version.sh: add 7075 7076 70772007/08/28 12:41:59 Nils Klarlund <opensource@google.com> 7078 7079 7080 New option --stat_reset_triggers. The --stat_reset_triggers 7081 argument is a list of path names. If any such path changes from 7082 non-existing to existing during the build, then all stat-related caches 7083 are cleared. 7084 7085 A test in include_server_test.py checks that the include analysis of a 7086 file is done from scratch after a trigger path went from non-existing to 7087 existing. 7088 7089 R=manos,fergus 7090 DELTA=229 (174 added, 44 deleted, 11 changed) 7091 7092 * include_server/basics.py: edit 7093 * include_server/cache_basics.py: edit 7094 * include_server/include_analyzer.py: edit 7095 * include_server/include_analyzer_memoizing_node.py: edit 7096 * include_server/include_server.py: edit 7097 * include_server/include_server_test.py: edit 7098 * pump.in: edit 7099 7100 71012007/08/27 14:05:26 Manos Renieris <opensource@google.com> 7102 7103 Part of a change from Nils, with a test added. This once fixes the 7104 #include"foobar" 7105 case. 7106 7107 R=klarlund,fergus 7108 APPROVED=klarlund 7109 DELTA=5 (4 added, 0 deleted, 1 changed) 7110 7111 * include_server/parse_file.py: edit 7112 * include_server/parse_file_test.py: edit 7113 7114 71152007/08/27 13:56:47 Manos Renieris <opensource@google.com> 7116 7117 Part of a change from Nils. This one adds support for the -include flag. 7118 I've moved the test data and added a test for parse_command.py. 7119 7120 R=klarlund,fergus 7121 APPROVED=klarlund 7122 DELTA=1545 (1498 added, 9 deleted, 38 changed) 7123 7124 * include_server/include_analyzer.py: edit 7125 * include_server/include_analyzer_memoizing_node_test.py: edit 7126 * include_server/parse_command_test.py: edit 7127 * include_server/test_data/distcc/README: add 7128 * include_server/test_data/distcc/src/bulk.h: add 7129 * include_server/test_data/distcc/src/compile.h: add 7130 * include_server/test_data/distcc/src/config.h: add 7131 * include_server/test_data/distcc/src/distcc.c: add 7132 * include_server/test_data/distcc/src/distcc.h: add 7133 * include_server/test_data/distcc/src/emaillog.h: add 7134 * include_server/test_data/distcc/src/exitcode.h: add 7135 * include_server/test_data/distcc/src/hosts.h: add 7136 * include_server/test_data/distcc/src/implicit.h: add 7137 * include_server/test_data/distcc/src/include_me.h: add 7138 * include_server/test_data/distcc/src/state.h: add 7139 * include_server/test_data/distcc/src/trace.h: add 7140 * include_server/test_data/distcc/src/util.h: add 7141 7142 71432007/08/27 13:05:08 Manos Renieris <opensource@google.com> 7144 7145 Report the client ip if we refuse a connection. 7146 7147 R=dkegel,klarlund,fergus 7148 CC=ahyun 7149 DELTA=14 (7 added, 1 deleted, 6 changed) 7150 7151 * distcc/src/srvnet.c: edit 7152 7153 71542007/08/20 13:21:57 Manos Renieris <opensource@google.com> 7155 7156 Add include_analyzer_memoizing_node_test to the list of tests. 7157 7158 R=klarlund,fergus 7159 DELTA=2 (1 added, 0 deleted, 1 changed) 7160 7161 * include_server/Makefile.in: edit 7162 7163 71642007/08/20 12:00:47 Manos Renieris <opensource@google.com> 7165 7166 Minimize the output during tests; it obscures the test results. 7167 7168 R=klarlund,fergus 7169 APPROVED=klarlund 7170 DELTA=22 (1 added, 1 deleted, 20 changed) 7171 7172 * include_server/c_extensions_test.py: edit 7173 * include_server/include_server_test.py: edit 7174 * include_server/macro_eval_test.py: edit 7175 7176 71772007/08/10 11:21:02 Nils Klarlund <opensource@google.com> 7178 7179 Fix a bug: memoization in the central FindNode algorithm was too 7180 optimistic. 7181 7182 R=fergus,manos 7183 DELTA=20 (0 added, 20 deleted, 0 changed) 7184 7185 * include_server/include_analyzer_memoizing_node.py: edit 7186 7187 71882007/08/08 17:42:57 Nils Klarlund <opensource@google.com> 7189 7190 Make include server not write a stack trace when the exception is 7191 NotCovered. Such a situation is not bad. 7192 7193 Also, remove a couple of unnecessary imports. 7194 7195 R=manos,fergus 7196 DELTA=19 (5 added, 4 deleted, 10 changed) 7197 7198 * include_server/include_server.py: edit 7199 7200 72012007/08/08 15:22:54 Nils Klarlund <opensource@google.com> 7202 7203 More missing test files. This time for computed includes. 7204 7205 R=fergus,manos 7206 APPROVED=manos 7207 DELTA=21 (21 added, 0 deleted, 0 changed) 7208 7209 * include_server/test_data/test_computed_includes/helper.c: add 7210 * include_server/test_data/test_computed_includes/incl.h: add 7211 * include_server/test_data/test_computed_includes/inclA.h: add 7212 * include_server/test_data/test_computed_includes/src.c: add 7213 * include_server/test_data/test_computed_includes/srcA.c: add 7214 7215 72162007/08/08 00:58:27 Nils Klarlund <opensource@google.com> 7217 7218 Fix the problem that stat's in the main 'Resolve' routine of 7219 cache_basics were based on os.path.exists, not on os.path.isfile. Write 7220 new test to verify that the behavior is now correct. Fix little problem 7221 in compress_files.py 7222 7223 R=fergus,manos 7224 APPROVED=fergus,manos 7225 DELTA=88 (66 added, 0 deleted, 22 changed) 7226 7227 * include_server/c_extensions/distcc_pump_c_extensions_module.c: edit 7228 * include_server/c_extensions_test.py: edit 7229 * include_server/cache_basics.py: edit 7230 * include_server/compress_files.py: edit 7231 * include_server/include_server_test.py: edit 7232 * include_server/test_data/dfoo/i_am_perhaps_a_directory.h: add 7233 * include_server/test_data/i_am_perhaps_a_directory.h/empty_file: add 7234 * include_server/test_data/test_directory_probing.c: add 7235 7236 72372007/08/07 23:06:24 Nils Klarlund <opensource@google.com> 7238 7239 'make test' was failing --- this CL fixes that. 7240 7241 R=fergus,manos 7242 DELTA=1 (1 added, 0 deleted, 0 changed) 7243 7244 * include_server/setup.py: edit 7245 7246 72472007/08/07 23:06:00 Nils Klarlund <opensource@google.com> 7248 7249 Make release subversion = pump6. 7250 7251 R=fergus,manos 7252 DELTA=31 (0 added, 0 deleted, 31 changed) 7253 7254 * build-distcc.sh: edit 7255 * configure: edit 7256 * configure.ac: edit 7257 * distcc/configure: edit 7258 * distcc/configure.ac: edit 7259 * include_server/configure: edit 7260 * include_server/configure.ac: edit 7261 7262 72632007/08/07 16:26:27 Manos Renieris <opensource@google.com> 7264 7265 a) Include the server side error messages in the maintainer email 7266 b) Don't output them on the screen. 7267 7268 R=fergus,klarlund 7269 DELTA=116 (107 added, 1 deleted, 8 changed) 7270 7271 * distcc/src/bulk.c: edit 7272 * distcc/src/bulk.h: edit 7273 * distcc/src/clirpc.c: edit 7274 * distcc/src/compile.c: edit 7275 * distcc/src/compile.h: edit 7276 * distcc/src/distcc.h: edit 7277 * distcc/src/emaillog.c: edit 7278 * distcc/src/emaillog.h: edit 7279 * distcc/src/remote.c: edit 7280 7281 72822007/08/07 16:20:57 Manos Renieris <opensource@google.com> 7283 7284 For testing purposes, add a way to stub out the include server. 7285 7286 R=fergus,klarlund 7287 DELTA=73 (72 added, 1 deleted, 0 changed) 7288 7289 * distcc/src/include_server_if.c: edit 7290 * distcc/src/util.c: edit 7291 * distcc/src/util.h: edit 7292 7293 72942007/08/06 23:07:25 Nils Klarlund <opensource@google.com> 7295 7296 Reintroduced 'introspection' so that an installed package can 7297 be moved from say buildstaticrw to buildstatic with all references 7298 to executables moving along. Added overide mechanism as well. 7299 7300 Also, introduced a necessary check when running off source directory so 7301 see whether there's more than on .so file. 7302 7303 Finally, changed messages so that we're printing a message that the 7304 include server has started instead of one indicating that is starting. 7305 7306 R=fergus,manos 7307 DELTA=74 (52 added, 9 deleted, 13 changed) 7308 7309 * Makefile.in: edit 7310 * pump.in: edit 7311 7312 73132007/08/06 21:56:31 Nils Klarlund <opensource@google.com> 7314 7315 Various minor changes in response to comment by Fergus for a previous 7316 change. 7317 7318 R=fergus 7319 DELTA=12 (3 added, 0 deleted, 9 changed) 7320 7321 * include_server/include_server.py: edit 7322 7323 73242007/08/06 14:29:44 Nils Klarlund <opensource@google.com> 7325 7326 Check that /dev/shm is actually writable and executable. Also, correct 7327 two very, very minor mistakes. 7328 7329 R=fergus,manos 7330 DELTA=14 (4 added, 1 deleted, 9 changed) 7331 7332 * include_server/basics.py: edit 7333 * include_server/compress_files.py: edit 7334 * include_server/include_server.py: edit 7335 7336 73372007/08/02 16:15:06 Nils Klarlund <opensource@google.com> 7338 7339 Add email notifications from include server. Delete email notifications 7340 from distcc client when caused by include server providing an error 7341 indication. 7342 7343 Features: 7344 - new command line flags for enabling emails for exception conditions 7345 - a limit on the number of emails sent due to NotCovered exception 7346 - stack trace is included 7347 7348 Testing: 7349 - tested new commnand line arguments 7350 - tested for each of the three exception handlers where email is 7351 sent that email is indeed being sent 7352 - 'make test' for include_server 7353 7354 R=fergus,manos 7355 DELTA=106 (86 added, 2 deleted, 18 changed) 7356 7357 * distcc/src/compile.c: edit 7358 * include_server/basics.py: edit 7359 * include_server/include_server.py: edit 7360 * pump.in: edit 7361 7362 73632007/08/02 14:40:27 Nils Klarlund <opensource@google.com> 7364 7365 Add option -t or --time for total time spent in include server to be 7366 printed on stderr. Example: 7367 7368 Include server timing. Elapsed: 18.2s User: 0.1s System: 0.0s Total: 0.1s 7369 7370 R=fergus,manos 7371 DELTA=47 (32 added, 0 deleted, 15 changed) 7372 7373 * include_server/basics.py: edit 7374 * include_server/include_server.py: edit 7375 7376 73772007/08/01 17:33:50 Nils Klarlund <opensource@google.com> 7378 7379 7380 Make the handling of computed includes sound. Upto now, the include 7381 server failed to reprocess a file F with the property: 7382 - F transitively includes a file G 7383 - G contains a computed include and the support of its expression 7384 contains a symbol X 7385 - X is defined or redefined after G is processed the first time 7386 7387 We hope to compile OpenOffice with this fix. 7388 7389 Little things: 7390 7391 - Fixed include_analyzer_memoizing_node_test.py to allow regression test 7392 for distcc itself to pass. 7393 7394 - Removed dead code EvalExprDirs in include_analyzer.py. 7395 7396 7397 Correctness testing: 7398 7399 - In include_server: 'make test' works. 7400 7401 - Function test_AdvancedComputedIncludes is added in 7402 'include_server/include_server_test.py'. It contains the basic 7403 scenario we are correcting for. 7404 7405 - We ran multiple tests 'make-dbg -r -j80 third_party/lzo'; every test 7406 succeeded. These did not succeed with existing version. 7407 7408 - We built gws:gws and localsearch/mustang 7409 7410 Performance testing: 7411 7412 For make-dbg gws:gws -g0, the best time before the change: 7413 7414 make-dbg 7415 7416 real 7m44.230s 7417 user 7m0.494s 7418 sys 2m25.385s 7419 7420 Include server 7421 Elapsed: 463.9s User: 72.5s System: 37.3s Total: 109.9s 7422 7423 7424 The best time after: 7425 7426 make-dbg 7427 real 7m44.772s 7428 user 6m46.249s 7429 sys 2m2.944s 7430 Include server 7431 Elapsed: 464.6s User: 87.4s System: 36.9s User + System: 124.3s 7432 7433 Thus, it seems that we've added 15s or about 8% to the include server 7434 time. (These times are on a hyperthreaded machine and therefore hard to 7435 interpret.) 7436 7437 Remarks: the central algorithm still is in the need of refactoring. That 7438 8% running time was added because of the current change adds to my 7439 impression that the refactoring must be done with care. 7440 7441 R=fergus,manos 7442 DELTA=316 (237 added, 25 deleted, 54 changed) 7443 7444 * include_server/include_analyzer.py: edit 7445 * include_server/include_analyzer_memoizing_node.py: edit 7446 * include_server/include_analyzer_memoizing_node_test.py: edit 7447 * include_server/include_server_test.py: edit 7448 * include_server/macro_eval.py: edit 7449 * include_server/macro_eval_test.py: edit 7450 * include_server/parse_file.py: edit 7451 7452 74532007/07/30 17:10:04 Manos Renieris <opensource@google.com> 7454 7455 Bump up the release number. 7456 7457 R=klarlund,fergus 7458 DELTA=1 (0 added, 0 deleted, 1 changed) 7459 7460 * build-distcc.sh: edit 7461 7462 74632007/07/27 20:23:30 Manos Renieris <opensource@google.com> 7464 7465 Push declaration to the top of block so that it's more portable. 7466 7467 TBR=klarlund,fergus 7468 DELTA=4 (2 added, 2 deleted, 0 changed) 7469 7470 * distcc/src/compile.c: edit 7471 * distcc/src/serve.c: edit 7472 7473 74742007/07/27 19:40:59 Manos Renieris <opensource@google.com> 7475 7476 Respect the second part of the DEPENDENCIES_OUTPUT env variable. 7477 7478 R=fergus,klarlund 7479 DELTA=79 (65 added, 5 deleted, 9 changed) 7480 7481 * distcc/src/compile.c: edit 7482 * distcc/src/distcc.h: edit 7483 * distcc/src/dotd.c: edit 7484 * distcc/src/dotd.h: edit 7485 * distcc/src/serve.c: edit 7486 7487 74882007/07/27 09:09:53 Nils Klarlund <opensource@google.com> 7489 7490 This file went MIA. This CL will make 'make -C include_server test' pass. 7491 7492 R=fergus,manos 7493 DELTA=14 (14 added, 0 deleted, 0 changed) 7494 7495 * include_server/test_data/more_macros.c: add 7496 7497 74982007/07/26 21:25:25 Manos Renieris <opensource@google.com> 7499 7500 Print the protocol description even if opt_numeric is true. 7501 7502 R=fergus,klarlund 7503 DELTA=4 (1 added, 0 deleted, 3 changed) 7504 7505 * distcc/src/lsdistcc.c: edit 7506 7507 75082007/07/26 15:39:00 Manos Renieris <opensource@google.com> 7509 7510 Explicitly rewrite the .d file dependency on the server; 7511 -MT does not work quite as advertised 7512 (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448): 7513 gcc adds the argument of -MT to the list of object files in 7514 the dependencies, rather than replacing the default object file name 7515 with the argument of -MT; dotd does not tolerate two object 7516 files in the .d file. 7517 7518 R=fergus,klarlund 7519 DELTA=71 (59 added, 5 deleted, 7 changed) 7520 7521 * distcc/src/compile.c: edit 7522 * distcc/src/dotd.c: edit 7523 * distcc/src/dotd.h: edit 7524 * distcc/src/serve.c: edit 7525 7526 75272007/07/26 15:07:34 Fergus Henderson <opensource@google.com> 7528 7529 Add -Wuninitialized to CFLAGS. 7530 7531 TESTED= Ran "autoconf && configure && make clean && make" and 7532 verified that no new warnings were generated. 7533 7534 R=manos 7535 CC=distcc-pump 7536 DELTA=2 (2 added, 0 deleted, 0 changed) 7537 7538 * distcc/configure: edit 7539 * distcc/configure.ac: edit 7540 7541 75422007/07/25 11:28:33 Manos Renieris <opensource@google.com> 7543 7544 Don't output the statistics for the doti file if there is no doti file. 7545 7546 R=fergus,klarlund 7547 DELTA=1 (0 added, 0 deleted, 1 changed) 7548 7549 * distcc/src/remote.c: edit 7550 7551 75522007/07/25 11:26:03 Manos Renieris <opensource@google.com> 7553 7554 Fix a (serious) bug. sets_dotd was not initialized, and we were 7555 not rewritting the dependency in the .d file. 7556 7557 R=fergus,klarlund 7558 DELTA=2 (1 added, 0 deleted, 1 changed) 7559 7560 * distcc/src/compile.c: edit 7561 * distcc/src/dotd.c: edit 7562 7563 75642007/07/24 17:33:23 Manos Renieris <opensource@google.com> 7565 7566 Always close the file descriptors after communicating with the 7567 server, regardless of how soon we bail out. 7568 7569 R=fergus,klarlund 7570 DELTA=19 (9 added, 9 deleted, 1 changed) 7571 7572 * distcc/src/remote.c: edit 7573 7574 75752007/07/18 19:49:54 Manos Renieris <opensource@google.com> 7576 7577 Don't try to send the preprocessed file to the server if the local 7578 preprocessing failed. 7579 7580 Otherwise, either the file sent to the server is wrong, or it does not 7581 exist at all. In the first case, the result of the compilation is 7582 wrong. In the second, trying to send an existing file is considered a 7583 communication or remote error, and we end up thinking that the 7584 remote host is down or in some other way unresponsive. 7585 7586 Under the current fallback mode, this ends up printing the erro 7587 messages from local preprocessing twice, once while its trying to 7588 preprocess the file to send it to the server, and once while trying to 7589 compile locally. I think that's ok. 7590 7591 R=fergus,klarlund 7592 DELTA=3 (3 added, 0 deleted, 0 changed) 7593 7594 * distcc/src/remote.c: edit 7595 7596 75972007/07/18 16:21:35 Manos Renieris <opensource@google.com> 7598 7599 Added some notes on the implementation of protocol version 3. 7600 7601 R=fergus,klarlund 7602 DELTA=61 (61 added, 0 deleted, 0 changed) 7603 7604 * distcc/doc/protocol-3-impl.txt: add 7605 7606 76072007/07/13 14:22:13 Manos Renieris <opensource@google.com> 7608 7609 Tiny change to use the phony feature directly for the pump target. 7610 7611 R=klarlund,fergus 7612 DELTA=5 (1 added, 3 deleted, 1 changed) 7613 7614 * Makefile.in: edit 7615 7616 76172007/07/12 15:17:54 Nils Klarlund <opensource@google.com> 7618 7619 Addressing Fergus's comments for a previous change + more changes. 7620 7621 R=fergus,manos 7622 DELTA=45 (27 added, 6 deleted, 12 changed) 7623 7624 * README: edit 7625 76262007/07/10 17:18:31 Manos Renieris <opensource@google.com> 7627 7628 Added a description for protocol version 3. 7629 7630 R=klarlund,fergus 7631 DELTA=82 (82 added, 0 deleted, 0 changed) 7632 7633 * distcc/doc/protocol-3.txt: add 7634 7635 76362007/07/09 16:01:36 Nils Klarlund <opensource@google.com> 7637 7638 New subversion number for packages. 7639 7640 R=fergus,manos 7641 DELTA=1 (0 added, 0 deleted, 1 changed) 7642 7643 * build-distcc.sh: edit 7644 7645 76462007/07/09 13:50:11 Nils Klarlund <opensource@google.com> 7647 7648 When using --verbose, the variable denoting the option level is not 7649 touched. So, --verbose is not equivalent to setting the option level to 7650 'debug' as the manual says. This is fixed. 7651 7652 R=fergus,manos 7653 DELTA=1 (1 added, 0 deleted, 0 changed) 7654 7655 * distcc/src/dopt.c: edit 7656 7657 76582007/07/09 13:41:11 Nils Klarlund <opensource@google.com> 7659 7660 Simplify memory allocation strategy in dcc_run_job. 7661 7662 Tests: 'make valgrind-check'. 7663 7664 R=fergus,manos 7665 DELTA=22 (9 added, 3 deleted, 10 changed) 7666 7667 * distcc/src/serve.c: edit 7668 7669 76702007/07/05 14:38:09 Nils Klarlund <opensource@google.com> 7671 7672 Fix server and include server to allow absolute translation unit. I 7673 refactored a bit to cut down the length of dcc_run_job (which is still 7674 too long). 7675 7676 TESTING: I have verified that regexp-options.cc now compiles on pump 7677 server. I have compiled several hundred other files. Also, I verified 7678 that 'make valgrind-check' passes. 7679 7680 Note: a problem occurred in an lsdistcc test. The output from lsdistcc 7681 was not in the expected order. I changed the test to sort the output 7682 before the comparison. 7683 7684 R=fergus,manos 7685 DELTA=241 (145 added, 76 deleted, 20 changed) 7686 7687 * distcc/src/serve.c: edit 7688 * distcc/test/testdistcc.py: edit 7689 * include_server/include_analyzer.py: edit 7690 7691 76922007/06/29 15:19:42 Nils Klarlund <opensource@google.com> 7693 7694 Fix email address in comments and code by introducing an abstraction. 7695 7696 R=fergus,manos 7697 DELTA=7 (1 added, 0 deleted, 6 changed) 7698 7699 * distcc/src/compile.c: edit 7700 * distcc/src/emaillog.c: edit 7701 * distcc/src/emaillog.h: edit 7702 7703 77042007/06/29 15:15:39 Nils Klarlund <opensource@google.com> 7705 7706 Fix problem that a stack trace was produced for Ctrl-C. In particular, 7707 we discovered that printing out args[0] of the instance object is not 7708 wise, because an index error may ensue. 7709 7710 R=fergus,manos 7711 DELTA=20 (9 added, 5 deleted, 6 changed) 7712 7713 * include_server/include_server.py: edit 7714 7715 77162007/06/28 18:30:54 Nils Klarlund <opensource@google.com> 7717 7718 Remove offensive code. I'm now handling configuring of pump in an 7719 auxiliary script, also called 'pump'. 7720 7721 R=fergus,manos 7722 DELTA=11 (0 added, 8 deleted, 3 changed) 7723 7724 * Makefile.in: edit 7725 * pump.in: edit 7726 7727 77282007/06/28 15:51:09 Manos Renieris <opensource@google.com> 7729 7730 Change the address we send errors to. 7731 7732 R=fergus,klarlund 7733 DELTA=1 (0 added, 0 deleted, 1 changed) 7734 7735 * distcc/src/emaillog.c: edit 7736 7737 77382007/06/26 22:03:23 Manos Renieris <opensource@google.com> 7739 7740 Added -Pprotocol option, which will print out only the servers that 7741 support (at least) the given protocol. 7742 lsdistcc wll now print the protocol type out with the host 7743 i.e. host.domain.com,lzo. 7744 7745 R=fergus,klarlund 7746 CC=distcc-pump 7747 DELTA=134 (116 added, 9 deleted, 9 changed) 7748 7749 * distcc/Makefile.in: edit 7750 * distcc/src/lsdistcc.c: edit 7751 7752 77532007/06/21 17:45:39 Manos Renieris <opensource@google.com> 7754 7755 Tell the user why they are seeing error messages twice. 7756 7757 R=fergus,klarlund 7758 DELTA=3 (2 added, 0 deleted, 1 changed) 7759 7760 * distcc/src/compile.c: edit 7761 7762 77632007/06/21 16:40:25 Manos Renieris <opensource@google.com> 7764 7765 Forgot emaillog.h. Oops! 7766 7767 R=fergus,klarlund 7768 DELTA=8 (8 added, 0 deleted, 0 changed) 7769 7770 * distcc/src/emaillog.h: add 7771 7772 77732007/06/21 13:04:17 Manos Renieris <opensource@google.com> 7774 7775 Add email logging. 7776 7777 R=klarlund,fergus 7778 DELTA=170 (137 added, 15 deleted, 18 changed) 7779 7780 * distcc/Makefile.in: edit 7781 * distcc/src/compile.c: edit 7782 * distcc/src/distcc.c: edit 7783 * distcc/src/emaillog.c: add 7784 * distcc/src/trace.c: edit 7785 * distcc/src/traceenv.c: edit 7786 7787 77882007/06/20 16:10:59 Nils Klarlund <opensource@google.com> 7789 7790 Fix spelling error in Makefile.in, bump-up subversion number. 7791 7792 R=fergus,manos 7793 DELTA=2 (0 added, 0 deleted, 2 changed) 7794 7795 * build-distcc.sh: edit 7796 * include_server/Makefile.in: edit 7797 7798 77992007/06/20 15:36:43 Nils Klarlund <opensource@google.com> 7800 7801 Further enviroment variables for controlling behavior of include server 7802 when invoked through pump. 7803 7804 Also, we fixed the problem that for the common situation that configure 7805 is run in the top level directory of the source tree it was impossible 7806 to run 'pump'. 7807 7808 The solution is to regard the script alteration by the Makefile rule for 7809 'pump' something that regards mainly the installed version. The source 7810 tree version of pump finds its Python files in the source directory and 7811 its .so file under the 'build/lib.xxx/include_server' subdirectory of th 7812 scr directory. 7813 7814 Finally, we took out the hardcoding for values of the potential distcc 7815 servers. When the make rule for 'pump' is run, the environment variable 7816 DISTCC_POTENTIAL_HOSTS with its current value is copied into 'pump' -- 7817 if it is set. 7818 7819 So, now I prepare distribution by doing: 7820 7821 DISTCC_POTENTIAL_HOSTS="test-distcc1.ame test-distcc2.ame test-distcc3.ame test-distcc4.ame test-distcc5.ame pump1.ame pump2.ame pump3.ame pump4.ame pump5.ame pump6.ame pump7.ame pump8.ame pump9.ame distcc1" make pump 7822 7823 This also of course makes the 'pump' script work in the source 7824 directory, where it'll now pick up the servers I specified for the ad 7825 hoc and regression tests I run. 7826 7827 With this machinery, I was again able to easily test the other pending 7828 changelists for the include server. 7829 7830 7831 * Makefile.in: edit 7832 * pump.in: edit 7833 7834 78352007/06/20 01:38:51 Fergus Henderson <opensource@google.com> 7836 7837 When aborting, make sure we exit with a non-zero exit status. 7838 7839 TBR=klarlund 7840 7841 * include_server/include_server.py: edit 7842 7843 78442007/06/19 23:44:15 Nils Klarlund <opensource@google.com> 7845 7846 Fix the problem that source was nuked by 'make clean'. 7847 7848 R=manos,fergus 7849 DELTA=6 (0 added, 1 deleted, 5 changed) 7850 7851 * include_server/Makefile.in: edit 7852 7853 78542007/06/19 23:41:55 Nils Klarlund <opensource@google.com> 7855 7856 Reapplying after rollback. 7857 Make --verify mode work with the include server and improve error 7858 reporting. An internal error would now look like: 7859 7860 WARNING: Preprocessing locally. Include server internal error: 7861 'exceptions.TypeError: expected string or buffer' for translation unit 7862 'maps/frontend/geocode_api_renderer.cc' 7863 7864 We also fix a bug regarding TERM signal that would not properly terminate an 7865 include server. 7866 7867 R=fergus,manos 7868 DELTA=58 (38 added, 2 deleted, 18 changed) 7869 7870 * include_server/cache_basics.py: edit 7871 * include_server/include_analyzer.py: edit 7872 * include_server/include_server.py: edit 7873 7874 78752007/06/19 23:39:46 Nils Klarlund <opensource@google.com> 7876 7877 7878 We fix several bugs in the include server. 7879 7880 - The macro evaluator has been completely rewritten. In particular, it 7881 can now be used to parse files in maps/frontend that involve computed 7882 includes like: 7883 7884 #include MAPS_TEMPLATE_VARNAMES(map_kml_results) 7885 7886 - We also now parse macro calls on arguments that contain macro calls. 7887 7888 - We implement the 'disabled' semantics of macro invocation (for 7889 infinite recursion prevention). 7890 7891 - We now apply # and ## only as part of expanding function-like macros. 7892 7893 - We added several new tests, in part taken from the CPP Internals 7894 document. 7895 7896 - A test for ResolveExpr with pedagodical value has been added (and 7897 another file for this test to work). 7898 7899 - The macro evaluator has been thouroughly commented. 7900 7901 - The parser has been updated so that it no longer thinks that '//' 7902 within a filepath is a C++ comment. 7903 7904 - The parser's handling of macro calls (and definitions) was 7905 improved. Note that we now only use the parser's understanding of 7906 macros for function-like defines, not for macro invocations, which are 7907 treated in a new routine in macro_eval. 7908 7909 R=fergus,manos 7910 DELTA=531 (373 added, 68 deleted, 90 changed) 7911 7912 * include_server/macro_eval.py: edit 7913 * include_server/macro_eval_test.py: edit 7914 * include_server/parse_file.py: edit 7915 * include_server/parse_file_test.py: edit 7916 * include_server/test_data/maps/foo.tpl.varnames.h: add 7917 * include_server/test_data/parse.c: edit 7918 7919 79202007/06/19 13:27:49 Manos Renieris <opensource@google.com> 7921 7922 Update the rpm prefix to be /usr, because that's where 7923 the init.d scripts expect it. 7924 7925 R=klarlund,fergus 7926 DELTA=4 (0 added, 0 deleted, 4 changed) 7927 7928 * distcc.spec: edit 7929 7930 79312007/06/18 23:10:26 Fergus Henderson <opensource@google.com> 7932 7933 Give better error messages in cases where we can't determine the 7934 compiler's default search path(s). Also don't try to terminate the 7935 include server in those cases (it wasn't actually terminating anyway, 7936 since the sys.exit() exception was being caught by the SocketServer 7937 class, I think). 7938 7939 R=karlund 7940 CC=distcc-pump 7941 DELTA=17 (9 added, 0 deleted, 8 changed) 7942 7943 * include_server/compiler_defaults.py: edit 7944 7945 79462007/06/15 15:07:45 Fergus Henderson <opensource@google.com> 7947 7948 Another change towards getting "make check" working again. 7949 7950 TBR=manos 7951 7952 * include_server/Makefile.in: edit 7953 7954 79552007/06/15 14:58:27 Fergus Henderson <opensource@google.com> 7956 7957 Make the "pump" target depend on the "Makefile" target, 7958 so that it gets rebuilt if you configure with a different 7959 prefix. 7960 This is in response to manos' verbal post-submit review 7961 comments on a previous change. 7962 7963 TBR=manos 7964 7965 * Makefile.in: edit 7966 7967 79682007/06/15 14:52:08 Nils Klarlund <opensource@google.com> 7969 7970 This CL was submitted too early. 7971 7972 Automated g4 rollback of a previous change: 7973 7974 Make --verify mode work with the include server and improve error 7975 reporting. An internal error would now look like: 7976 7977 WARNING: Preprocessing locally. Include server internal error: 7978 'exceptions.TypeError: expected string or buffer' for translation unit 7979 'maps/frontend/geocode_api_renderer.cc' 7980 7981 We fix a bug regarding TERM signal that would not properly terminate an 7982 include server. 7983 7984 7985 * include_server/cache_basics.py: edit 7986 * include_server/include_analyzer.py: edit 7987 * include_server/include_server.py: edit 7988 7989 79902007/06/15 14:35:39 Fergus Henderson <opensource@google.com> 7991 7992 Fix bugs with the generation of the "pump" script from "pump.in": 7993 - $ was not properly escaped and was being interpreted 7994 by Make rather than the shell 7995 - the pump.in script that is being copied could be read-only 7996 and we did not (a) remove the old read-only copy nor (b) make 7997 the new copy writable. 7998 - pump should be a real target, not a phony target 7999 - we need a dependency "all: pump" 8000 8001 P.S. After syncing this change, you need to run "autoconf" (or 8002 sync Manos' change which updated the configure script), 8003 "configure", and then "make". 8004 8005 TBR=manos 8006 CC=distcc-pump 8007 DELTA=5 (1 added, 0 deleted, 4 changed) 8008 8009 * Makefile.in: edit 8010 8011 80122007/06/15 14:33:52 Fergus Henderson <opensource@google.com> 8013 8014 Temporary work-around for problem where "make clean" nukes the source 8015 tree. 8016 8017 TBR=manos,klarlund 8018 8019 * include_server/Makefile.in: edit 8020 8021 80222007/06/15 14:26:45 Fergus Henderson <opensource@google.com> 8023 8024 Add support for running tests in lzo mode or in pump mode. 8025 8026 R=manos 8027 CC=distcc-pump 8028 DELTA=38 (27 added, 2 deleted, 9 changed) 8029 8030 * distcc/Makefile.in: edit 8031 * distcc/test/testdistcc.py: edit 8032 8033 80342007/06/15 13:34:48 Manos Renieris <opensource@google.com> 8035 8036 Update the configure script. 8037 Remove pump, which is now generated by make. 8038 8039 R=klarlund,fergus 8040 DELTA=272 (52 added, 219 deleted, 1 changed) 8041 8042 * configure: edit 8043 * pump: delete 8044 8045 80462007/06/15 07:13:52 Nils Klarlund <opensource@google.com> 8047 8048 Fix file permission to +x. 8049 8050 R=manos 8051 8052 * build-distcc.sh: edit 8053 8054 80552007/06/14 22:51:35 Nils Klarlund <opensource@google.com> 8056 8057 Make --verify mode work with the include server and improve error 8058 reporting. An internal error would now look like: 8059 8060 WARNING: Preprocessing locally. Include server internal error: 8061 'exceptions.TypeError: expected string or buffer' for translation unit 8062 'maps/frontend/geocode_api_renderer.cc' 8063 8064 We fix a bug regarding TERM signal that would not properly terminate an 8065 include server. 8066 8067 R=fergus,manos 8068 8069 * include_server/cache_basics.py: edit 8070 * include_server/include_analyzer.py: edit 8071 * include_server/include_server.py: edit 8072 8073 80742007/06/14 17:21:22 Manos Renieris <opensource@google.com> 8075 8076 Script and spec file for building rpm. 8077 8078 R=fergus,klarlund 8079 DELTA=490 (490 added, 0 deleted, 0 changed) 8080 8081 * build-distcc.sh: add 8082 * distcc.spec: add 8083 8084 80852007/06/14 16:10:47 Manos Renieris <opensource@google.com> 8086 8087 Add DESTDIR so that rpm building can find the pump script. 8088 8089 R=fergus,klarlund 8090 DELTA=6 (3 added, 0 deleted, 3 changed) 8091 8092 * Makefile.in: edit 8093 8094 80952007/06/14 14:06:05 Manos Renieris <opensource@google.com> 8096 8097 Revamp the configure/make/make install process: 8098 - the python building and installation is done by setup.py. 8099 - include_server is now a python package. 8100 - include_server/c_extensions is not buildable by itself anymore. 8101 - include_server tests are build into their own directory. 8102 - the pump script is "finished" at make time, before install. 8103 - run.py is not needed anymore 8104 8105 R=fergus,klarlund 8106 DELTA=633 (456 added, 147 deleted, 30 changed) 8107 8108 * Makefile.in: edit 8109 * configure.ac: edit 8110 * distcc/configure: edit 8111 * distcc/configure.ac: edit 8112 * include_server/Makefile.in: edit 8113 * include_server/__init__.py: add 8114 * include_server/c_extensions/Makefile.in: delete 8115 * include_server/c_extensions/setup.py: delete 8116 * include_server/c_extensions_test.py: edit 8117 * include_server/configure: edit 8118 * include_server/configure.ac: edit 8119 * include_server/setup.py: add 8120 * pump.in: add 8121 8122 81232007/06/11 16:30:54 Nils Klarlund <opensource@google.com> 8124 8125 Improving start-up time. It turns out that the include server 8126 is not the bottleneck -- it's about 200ms to start it. But 8127 lsdistcc is. So with change I'm just trying to save that 8128 amount of time by starting the include server while doing lsdistcc. 8129 8130 R=fergus,manos 8131 DELTA=106 (70 added, 2 deleted, 34 changed) 8132 8133 * pump: edit 8134 8135 81362007/06/11 16:22:37 Nils Klarlund <opensource@google.com> 8137 8138 8139 Fix "ERROR: failed to connect to UNIX-DOMAIN 8140 /dev/shm/include-server: Resource temporarily 8141 unavailable". The former assignment to 8142 server.request_queue_size was ineffectual because this 8143 parameter is used by the constructor for a server. The 8144 parameter is passed to socket.listen. 8145 8146 R=manos,fergus 8147 DELTA=22 (17 added, 2 deleted, 3 changed) 8148 8149 * include_server/include_server.py: edit 8150 8151 81522007/06/08 18:15:16 Fergus Henderson <opensource@google.com> 8153 8154 Some minor fixes to avoid warnings from gcc. 8155 8156 Also a small bug fix: when cleanup_tempfiles is invoked from 8157 a signal handler, we should not call free(), because it is 8158 unsafe to call free() from an asynchronous signal handler 8159 that could be executed in the middle of another call to malloc() 8160 or free(). Also fix the use of volatile in cleanup_tempfiles. 8161 8162 R=manos 8163 CC=distcc-pump 8164 DELTA=87 (42 added, 16 deleted, 29 changed) 8165 8166 * distcc/src/cleanup.c: edit 8167 * distcc/src/distcc.c: edit 8168 * distcc/src/distcc.h: edit 8169 * distcc/src/dsignal.c: edit 8170 * distcc/src/trace.c: edit 8171 * distcc/src/util.c: edit 8172 8173 81742007/06/08 17:52:40 Fergus Henderson <opensource@google.com> 8175 8176 Allow ".i" and ".ii" file names as inputs to the include server. 8177 Also some improvements to the messages produced by the include server. 8178 8179 R=klarlund 8180 CC=distcc-pump 8181 DELTA=26 (11 added, 7 deleted, 8 changed) 8182 8183 * include_server/basics.py: edit 8184 * include_server/include_server.py: edit 8185 * include_server/parse_command.py: edit 8186 * include_server/parse_file.py: edit 8187 * include_server/run.py: edit 8188 8189 81902007/06/08 16:40:16 Nils Klarlund <opensource@google.com> 8191 8192 Improve warning messages regarding include server failures. 8193 8194 R=fergus,manos 8195 DELTA=3 (2 added, 0 deleted, 1 changed) 8196 8197 * distcc/src/compile.c: edit 8198 * distcc/src/include_server_if.c: edit 8199 8200 82012007/06/07 21:41:25 Manos Renieris <opensource@google.com> 8202 8203 Put all declarations before executable code, for compatibility with older 8204 C compilers. 8205 8206 R=fergus,klarlund 8207 DELTA=15 (6 added, 7 deleted, 2 changed) 8208 8209 * distcc/src/clirpc.c: edit 8210 * distcc/src/include_server_if.c: edit 8211 * distcc/src/srvrpc.c: edit 8212 * include_server/c_extensions/distcc_pump_c_extensions_module.c: edit 8213 8214 82152007/06/07 15:47:57 Nils Klarlund <opensource@google.com> 8216 8217 Check that execution of gcc to find defaults succeeds and warns 8218 appropriately if not. 8219 8220 R=fergus,manos 8221 DELTA=17 (11 added, 5 deleted, 1 changed) 8222 8223 * include_server/compiler_defaults.py: edit 8224 8225 82262007/06/07 15:41:55 Nils Klarlund <opensource@google.com> 8227 8228 Fixed bugs from the autoconf conversions. Now, the include 8229 server extension builds. 8230 8231 R=fergus,manos 8232 DELTA=8 (0 added, 3 deleted, 5 changed) 8233 8234 * distcc/Makefile.in: edit 8235 * include_server/c_extensions/setup.py: edit 8236 8237 82382007/06/05 14:50:22 Nils Klarlund <opensource@google.com> 8239 8240 Fixes: so that we can find the include server, also in 8241 installation. Note that we erase previous value of PYTHONPATH 8242 for performance reasons. 8243 8244 R=fergus 8245 DELTA=137 (91 added, 23 deleted, 23 changed) 8246 8247 * include_server/run.py: edit 8248 * pump: edit 8249 8250 82512007/06/04 17:46:36 Nils Klarlund <opensource@google.com> 8252 8253 This is to repair a previous change, which I submitted by 8254 mistake. 8255 This CL together with the previous CL fix bugs: 8256 8257 - check that include_server_pid exists before killing it 8258 8259 - don't strip \n before stuffing hosts into temporary variable 8260 8261 Also fixes a couple of minor syntax issues in comments. 8262 8263 R=manos,fergus 8264 DELTA=4 (1 added, 0 deleted, 3 changed) 8265 8266 * pump: edit 8267 8268 82692007/06/04 16:04:51 Fergus Henderson <opensource@google.com> 8270 8271 Fix a bug where we were attempting to use memory that had already been 8272 freed. (I detected this by running the tests under valgrind.) 8273 8274 R=manos 8275 CC=distcc-pump 8276 DELTA=19 (13 added, 0 deleted, 6 changed) 8277 8278 * distcc/src/serve.c: edit 8279 8280 82812007/06/04 14:53:03 Nils Klarlund <opensource@google.com> 8282 8283 Fixed bug: 'opts' were appended to only last host. Fixed very 8284 minor syntax issues in comments. 8285 8286 8287 * pump: edit 8288 8289 82902007/06/04 14:32:33 Fergus Henderson <opensource@google.com> 8291 8292 1. Use srcdir rather than top_srcdir to locate the mkinstalldirs script; 8293 now that distcc_pump has its own autoconf-generated configure script, 8294 top_srcdir is now "distcc_pump" rather than "distcc". 8295 8296 2. Add USE_VALGRIND variable, and use it in the maintainer-check rule, 8297 so that you can do 'make USE_VALGRIND=--valgrind" maintainer-check' 8298 to run the tests under valgrind. 8299 8300 R=manos 8301 CC=distcc-pump 8302 DELTA=7 (5 added, 0 deleted, 2 changed) 8303 8304 * distcc/Makefile.in: edit 8305 8306 83072007/06/04 13:43:00 Manos Renieris <opensource@google.com> 8308 8309 Make lsdistcc 80 columns wide. 8310 8311 R=klarlund,fergus 8312 DELTA=199 (113 added, 5 deleted, 81 changed) 8313 8314 * distcc/src/lsdistcc.c: edit 8315 8316 83172007/06/04 11:40:08 Fergus Henderson <opensource@google.com> 8318 8319 Add support for running tests under valgrind. 8320 8321 R=manos 8322 CC=distcc-pump 8323 DELTA=108 (59 added, 3 deleted, 46 changed) 8324 8325 * distcc/test/testdistcc.py: edit 8326 8327 83282007/06/04 11:31:24 Fergus Henderson <opensource@google.com> 8329 8330 Add "install" targets to the makefiles. 8331 8332 Use autoconf-generated configure scripts, in order to support 8333 the standard configure options such as '--prefix', etc. 8334 8335 R=klarlund 8336 CC=distcc-pump 8337 DELTA=4959 (4816 added, 110 deleted, 33 changed) 8338 8339 * Makefile: delete 8340 * Makefile.in: add 8341 * configure: edit 8342 * configure.ac: add 8343 * include_server/Makefile: delete 8344 * include_server/Makefile.in: add 8345 * include_server/c_extensions/Makefile: delete 8346 * include_server/c_extensions/Makefile.in: add 8347 * include_server/configure: add 8348 * include_server/configure.ac: add 8349 8350 83512007/06/04 11:20:11 Fergus Henderson <opensource@google.com> 8352 8353 Rewrite the pump script using functions. 8354 Use lowercase names for shell variables that are local to this process. 8355 Document the DISTCC_PUMP_LOCATION environment variable in the usage 8356 message. 8357 Ensure error messages go to stderr rather than stdout. 8358 Fix some problems with the cleanup: the order of cleanup was wrong. 8359 It was doing "rmdir $SOCKET_DIR" before "rm $SOCKET", which meant 8360 the rmdir could fail since the directory isn't empty yet. 8361 Check for "lsdistcc" in the same directory as "pump", if it isn't 8362 found in the "distcc" subdirectory. 8363 8364 R=klarlund 8365 CC=manos,distcc-pump 8366 DELTA=197 (119 added, 51 deleted, 27 changed) 8367 8368 * pump: edit 8369 8370 83712007/06/04 00:27:53 Fergus Henderson <opensource@google.com> 8372 8373 Use gcc's automatic dependency generation. 8374 8375 Without this change, the Makefile was missing dependencies on 8376 all the header files, so editing say src/distcc.h and then 8377 running "make" would not cause a recompile. 8378 8379 R=manos 8380 CC=distcc-pump 8381 DELTA=5 (3 added, 0 deleted, 2 changed) 8382 8383 * distcc/Makefile.in: edit 8384 * distcc/configure: edit 8385 * distcc/configure.ac: edit 8386 8387 83882007/06/01 19:24:28 Nils Klarlund <opensource@google.com> 8389 8390 Handshake mechanism for starting include server. 8391 Introduce os.fork() in include server, so that the parent 8392 returns right after starting the child. The child becomes the 8393 real include server. Change options so as to allow the parent 8394 to write the child pid to a file. That will allow an invoking 8395 script to send SIGTERM to the include server later. 8396 8397 Fix missing deletion of temp file in include_server. 8398 8399 Also, fixed bug: the initialization of the temp directory was 8400 done twice, from two different modules. 8401 8402 R=fergus,manos 8403 DELTA=168 (85 added, 8 deleted, 75 changed) 8404 8405 * include_server/basics.py: edit 8406 * include_server/include_server.py: edit 8407 * pump: edit 8408 8409 84102007/06/01 19:06:50 Nils Klarlund <opensource@google.com> 8411 8412 Change file permission to +x. 8413 8414 8415 * distcc/contrib/distccd-on-servers: edit 8416 8417 84182007/06/01 19:04:28 Nils Klarlund <opensource@google.com> 8419 8420 8421 New tests for include analyzer; corrections to DirNameCache. 8422 8423 DirnameCache was hardcoded to return absolute directories -- 8424 that was wrong. 8425 8426 Also, define helper function RetrieveDirectoriesExceptSys in 8427 cache_basic for test purposes. 8428 8429 Make _CalculateIncludeClosureExceptSystem call Fillcache so as 8430 to avoid prerequisite condition. 8431 8432 Fix missing deletion of temp file in include_server. 8433 8434 Fix another couple of minor bugs. 8435 8436 R=fergus,manos 8437 DELTA=331 (266 added, 21 deleted, 44 changed) 8438 8439 * include_server/Makefile: edit 8440 * include_server/cache_basics.py: edit 8441 * include_server/include_analyzer_memoizing_node.py: edit 8442 * include_server/include_analyzer_memoizing_node_test.py: add 8443 * include_server/include_server_test.py: edit 8444 * include_server/parse_command_test.py: edit 8445 * include_server/run.py: edit 8446 8447 84482007/06/01 15:48:51 Nils Klarlund <opensource@google.com> 8449 8450 Fixes bug so that 'status' works as intended. Also fixes bugs 8451 that meant that the return command was given a non-integer argument. 8452 8453 R=fergus,manos 8454 DELTA=17 (3 added, 0 deleted, 14 changed) 8455 8456 * distcc/contrib/distccd-on-servers: edit 8457 8458 84592007/06/01 13:22:00 Manos Renieris <opensource@google.com> 8460 8461 Plug memory leaks in the server. 8462 8463 R=klarlund,fergus 8464 CC=distcc-pump 8465 DELTA=111 (54 added, 26 deleted, 31 changed) 8466 8467 * distcc/src/arg.c: edit 8468 * distcc/src/serve.c: edit 8469 * distcc/src/srvrpc.c: edit 8470 8471 84722007/05/31 20:26:35 Nils Klarlund <opensource@google.com> 8473 8474 Initial submission: script for handling distccd on servers. 8475 8476 R=fergus,manos 8477 DELTA=142 (142 added, 0 deleted, 0 changed) 8478 8479 * distcc/contrib/distccd-on-servers: add 8480 8481 84822007/05/31 19:14:53 Fergus Henderson <opensource@google.com> 8483 8484 Change the distcc_pump Makefile and configure script to support 8485 building with the build directory being different than the 8486 source directory, e.g. 8487 8488 mkdir obj 8489 cd obj 8490 ../configure 8491 make 8492 8493 R=klarlund 8494 CC=distcc-pump 8495 DELTA=144 (91 added, 14 deleted, 39 changed) 8496 8497 * INSTALL: edit 8498 * Makefile: edit 8499 * configure: edit 8500 * distcc/Makefile.in: edit 8501 * include_server/Makefile: edit 8502 * include_server/c_extensions/Makefile: edit 8503 * include_server/c_extensions/setup.py: edit 8504 * include_server/run.py: edit 8505 8506 85072007/05/31 15:32:41 Manos Renieris <opensource@google.com> 8508 8509 Retry connecting if we get EAGAIN. 8510 8511 R=klarlund,fergus 8512 DELTA=5 (4 added, 0 deleted, 1 changed) 8513 8514 * distcc/src/clinet.c: edit 8515 8516 85172007/05/30 20:13:37 Nils Klarlund <opensource@google.com> 8518 8519 Continuing "Continuing cleanup of the code...", 8520 we fix various tiny buglets and wipe unnecessary variables 8521 from mirror-path. 8522 8523 TESTED=(cd include_closure; make test) 8524 8525 R=fergus 8526 CC=csilvers 8527 DELTA=24 (0 added, 17 deleted, 7 changed) 8528 8529 * include_server/compiler_defaults.py: edit 8530 * include_server/include_analyzer.py: edit 8531 * include_server/include_analyzer_memoizing_node.py: edit 8532 * include_server/macro_eval.py: edit 8533 * include_server/mirror_path.py: edit 8534 * include_server/mirror_path_test.py: edit 8535 8536 85372007/05/30 16:59:02 Craig Silverstein <opensource@google.com> 8538 8539 Continuing cleanup of the code, mostly to get varnames to 8540 be consistent. But also some functionality changes: 8541 8542 1) Separated out the realpath_map into two data structures, 8543 one that canonicalizes the paths, and the other that keeps 8544 the systemdir-prefix information. Both are now part of the 8545 mondo-cache object. There's still a bit more work to be 8546 done to get the systemdir-prefix cache working intuitively. 8547 8548 2) Added RelpathMapToIndex, which requires that its keys not 8549 start with a /. Use this new class for includepaths, so we 8550 get better error checking; we'll now correctly fail when we 8551 see code like #include </usr/local/string.h>, which we 8552 can't handle properly. 8553 8554 3) [smaller] We now fall back on the python equivalents if we 8555 don't have the C-speedups for realpath and stat(). 8556 8557 4) [smaller] Modified the convenience functions to be per 8558 data-type rather than per varialbe: we have SearchdirIndex 8559 and CurrdirIndex rather than just DirectoryIndex. (Since 8560 this function is never used, it doesn't really matter, 8561 but...) 8562 8563 These were more syntactic cleanup: 8564 8565 1) Use currdir everywhere to mean the current directory, to 8566 match cache_basics.py. 8567 8568 2) I started some comment changes to be more consistent. For 8569 instance, every time we had a realpath_map argument, I try 8570 to say what a realpath_map is (in one line!) rather than 8571 just say its type -- which is, admittedly, better than 8572 nothing. Only small work done here; still lots more. 8573 8574 3) Some places are still using fp instead of includepath. 8575 I've fixed up most, but for some I'm not sure that the fp 8576 is an includepath exactly, so I'm waiting to clean those 8577 up. 8578 8579 4) Several places would pass a list in to a routine by 8580 reference, so the procedure would fill the passed-in list 8581 rather than returning a new list. This can be more 8582 efficient, but is harder to follow, especially in python 8583 where pass-by-value is expected. Change to a more natural 8584 control-flow in situations where efficiency isn't critical. 8585 8586 I also corrected the following deviations from the style 8587 guide: 8588 8589 1) (Almost) no "naked" exceptions. Before there was lots of 8590 "try: os-operation except: die". Now we actually check 8591 that it's an IOError or an OSError. We also now print out 8592 the 'why' status as part of the error message. 8593 8594 2) Got rid of unused imports. 8595 8596 3) Made sure there was at least two spaces between code and 8597 end-of-line comments. Still more places to fix this one... 8598 8599 4) Nixed trailing whitespace (at the end of each line). 8600 8601 R=klarlund 8602 DELTA=719 (297 added, 193 deleted, 229 changed) 8603 8604 * include_server/basics.py: edit 8605 * include_server/cache_basics.py: edit 8606 * include_server/compiler_defaults.py: edit 8607 * include_server/compress_files.py: edit 8608 * include_server/include_analyzer.py: edit 8609 * include_server/include_analyzer_memoizing_node.py: edit 8610 * include_server/include_server.py: edit 8611 * include_server/include_server_test.py: edit 8612 * include_server/macro_eval.py: edit 8613 * include_server/macro_eval_test.py: edit 8614 * include_server/mirror_path.py: edit 8615 * include_server/mirror_path_test.py: edit 8616 * include_server/parse_command_test.py: edit 8617 * include_server/parse_file.py: edit 8618 * include_server/parse_file_test.py: edit 8619 8620 86212007/05/25 18:35:29 Nils Klarlund <opensource@google.com> 8622 8623 8624 The sed -i command I ran to perform renaming according to 8625 cache_basics.py tricked me; these files were not added to 8626 my CL that took care of several little changes. I have 8627 verified that 8628 8629 make -C include_server test 8630 8631 now works. 8632 8633 R=fergus,csilvers 8634 DELTA=8 (0 added, 0 deleted, 8 changed) 8635 8636 * include_server/include_analyzer_memoizing_node.py: edit 8637 * include_server/include_server_test.py: edit 8638 * include_server/mirror_path_test.py: edit 8639 8640 86412007/05/25 17:53:45 Nils Klarlund <opensource@google.com> 8642 8643 Installation and use improvements. 8644 8645 Now the 'pump' wrapper is generic; no-hardcoded hosts, but a 8646 an environment variable must be set. Also, it uses lsdistcc to 8647 discover which potential hosts are actually ready. 8648 8649 The INSTALL instructions are still rudimentary, but improved. 8650 8651 The 'configure' script simply calls 'configure' in distcc subdir. 8652 8653 R=fergus,csilvers 8654 DELTA=82 (47 added, 33 deleted, 2 changed) 8655 8656 * INSTALL: edit 8657 * configure: add 8658 * pump: edit 8659 8660 86612007/05/25 16:05:37 Nils Klarlund <opensource@google.com> 8662 8663 Add test targets. 8664 8665 R=fergus 8666 DELTA=26 (26 added, 0 deleted, 0 changed) 8667 8668 * include_server/Makefile: edit 8669 8670 86712007/05/25 15:49:30 Nils Klarlund <opensource@google.com> 8672 8673 It turns out that the gcc system path discovery command 8674 creates a temporary file. Make tempdir to overcome this problem. 8675 8676 R=fergus,manos 8677 DELTA=14 (4 added, 0 deleted, 10 changed) 8678 8679 * include_server/compiler_defaults.py: edit 8680 8681 86822007/05/25 15:48:56 Nils Klarlund <opensource@google.com> 8683 8684 Make safer tempdir mechanism. 8685 8686 R=fergus 8687 DELTA=4 (1 added, 0 deleted, 3 changed) 8688 8689 * include_server/basics.py: edit 8690 8691 86922007/05/25 15:47:27 Nils Klarlund <opensource@google.com> 8693 8694 Lots of little changes for final integration. One theme: names 8695 changes. 8696 8697 R=fergus,manos 8698 DELTA=145 (51 added, 26 deleted, 68 changed) 8699 8700 * include_server/include_analyzer.py: edit 8701 * include_server/include_server.py: edit 8702 * include_server/macro_eval_test.py: edit 8703 * include_server/mirror_path.py: edit 8704 * include_server/parse_command_test.py: edit 8705 * include_server/parse_file.py: edit 8706 * include_server/parse_file_test.py: edit 8707 * include_server/statistics.py: edit 8708 * include_server/test_data/gws-main.o.cmd: edit 8709 8710 87112007/05/25 15:17:51 Nils Klarlund <opensource@google.com> 8712 8713 This CL should have accompanied "This CL is in response to csilvers's questions.." 8714 8715 8716 * include_server/parse_command.py: edit 8717 8718 87192007/05/25 15:15:43 Nils Klarlund <opensource@google.com> 8720 8721 Initial submission: "Compress files in an include closure." 8722 8723 8724 * include_server/compress_files.py: add 8725 8726 87272007/05/25 13:47:00 Nils Klarlund <opensource@google.com> 8728 8729 A unittest for module mirror_path, featuring dependency 8730 injection. This version is working. It replaces something that didn't. 8731 8732 R=fergus,manos 8733 DELTA=121 (87 added, 3 deleted, 31 changed) 8734 8735 * include_server/mirror_path_test.py: edit 8736 8737 87382007/05/25 11:38:56 Nils Klarlund <opensource@google.com> 8739 8740 Initial submit of module to compute approximation of 8741 include dependencies for C/C++. Also, some accompanying 8742 changes to basics.py 8743 8744 8745 * include_server/basics.py: edit 8746 * include_server/include_server.py: add 8747 * include_server/include_server_test.py: add 8748 8749 87502007/05/25 11:29:51 Nils Klarlund <opensource@google.com> 8751 8752 Wrapper script for distcc-pump test users. 8753 8754 R=fergus,manos 8755 DELTA=80 (80 added, 0 deleted, 0 changed) 8756 8757 * pump: add 8758 8759 87602007/05/24 21:49:42 Fergus Henderson <opensource@google.com> 8761 8762 Add -r<PORT> option to lsdistcc to specify which port to connect 8763 to. ("-p", "-o", and "-t" were already taken.) 8764 Fix a bug where "lsdistcc distcc%d" was only returning the first host. 8765 Add some unit tests for lsdistcc. 8766 Also tidy up the usage message a little. 8767 8768 R=manos 8769 CC=distcc-pump,dkegel,aaw 8770 DELTA=57 (47 added, 0 deleted, 10 changed) 8771 8772 * distcc/src/lsdistcc.c: edit 8773 * distcc/test/testdistcc.py: edit 8774 8775 87762007/05/24 18:12:30 Fergus Henderson <opensource@google.com> 8777 8778 Fix a bug that broke "cd distcc; configure; make": 8779 move definition of the "echo_common_obj" target to the end of the file, 8780 so that it doesn't become the default target (Make treats the first 8781 rule in the file as the default target). 8782 8783 R=klarlund 8784 CC=distcc-pump 8785 DELTA=10 (5 added, 5 deleted, 0 changed) 8786 8787 * distcc/Makefile.in: edit 8788 8789 87902007/05/24 14:17:43 Nils Klarlund <opensource@google.com> 8791 8792 Fix "Usage" logic and printing error. Improve error reporting 8793 when path to execute is not found. 8794 8795 R=fergus,manos 8796 DELTA=12 (7 added, 0 deleted, 5 changed) 8797 8798 * include_server/run.py: edit 8799 8800 88012007/05/24 09:14:17 Nils Klarlund <opensource@google.com> 8802 8803 Tests for distcc_pump_c_extensions. Writes out doc strings and 8804 calls some distcc rpc functions. Also, times the speed-up of 8805 using libc versions of os.path.realpath and os.path.exists. 8806 8807 R=fergus,manos 8808 DELTA=115 (115 added, 0 deleted, 0 changed) 8809 8810 * include_server/c_extensions_test.py: add 8811 8812 88132007/05/24 09:11:50 Nils Klarlund <opensource@google.com> 8814 8815 A file used for testing parse_command.py. Should not be part 8816 of open source release. 8817 8818 8819 * include_server/test_data/gws-main.o.cmd: add 8820 8821 88222007/05/24 09:03:57 Nils Klarlund <opensource@google.com> 8823 8824 Wrapper for running include server and tests. Initial submission. 8825 8826 R=fergus,manos 8827 DELTA=49 (49 added, 0 deleted, 0 changed) 8828 8829 * include_server/run.py: add 8830 8831 88322007/05/23 23:48:11 Nils Klarlund <opensource@google.com> 8833 8834 directory and link structure." 8835 8836 R=fergus,manos 8837 DELTA=159 (159 added, 0 deleted, 0 changed) 8838 8839 * include_server/mirror_path.py: add 8840 * include_server/mirror_path_test.py: add 8841 8842 88432007/05/23 23:12:36 Nils Klarlund <opensource@google.com> 8844 8845 Initial submission: CPP macro evaluation. This admittedly needs a little 8846 more work as explained. But there are some tests. 8847 8848 R=manos,fergus 8849 DELTA=338 (338 added, 0 deleted, 0 changed) 8850 8851 * include_server/macro_eval.py: add 8852 * include_server/macro_eval_test.py: add 8853 8854 88552007/05/23 22:31:52 Nils Klarlund <opensource@google.com> 8856 8857 8858 Initial submission. 8859 8860 include_analyzer: "The skeleton, including caches, of an 8861 include analyzer." 8862 8863 include_analyzer_memoizing_node: "An graph-based algorithm 8864 for memoizing include closure calculations. 8865 8866 R=fergus,csilvers 8867 DELTA=545 (545 added, 0 deleted, 0 changed) 8868 8869 * include_server/include_analyzer.py: add 8870 * include_server/include_analyzer_memoizing_node.py: add 8871 8872 88732007/05/23 19:01:57 Craig Silverstein <opensource@google.com> 8874 8875 Augment comments and normalize variable names. In addition, 8876 clean up the code a bit, mostly by removing redundant code. 8877 That said, with the variable-name changing, almost every line 8878 in this file is affected by this CL. 8879 8880 The file now is at a point where it makes sense to me!, though 8881 I am perhaps too close to the algorithm these days to be a 8882 good 'outside observer' judge. I think it's more consistent 8883 in its naming, in any case. 8884 8885 That said, I left in many TODOs where I still need some 8886 clarification of functionality, or have cleanups to do 8887 later (I tried not to change the functionality too much). 8888 8889 Some outside-visible function/variable names may have changed 8890 as a result of this CL, so other changes may be needed to get 8891 the system working again after this. 8892 8893 R=klarlund 8894 DELTA=411 (108 added, 35 deleted, 268 changed) 8895 8896 * include_server/cache_basics.py: edit 8897 8898 88992007/05/22 15:25:09 Nils Klarlund <opensource@google.com> 8900 8901 8902 This bunch of files is used for various tests of the include 8903 server. I submit them as a bundle for further perusal with the 8904 various *_test.py code. 8905 8906 R=fergus,manos 8907 DELTA=52 (52 added, 0 deleted, 0 changed) 8908 8909 * include_server/test_data/abc_post.c: add 8910 * include_server/test_data/abc_pre.c: add 8911 * include_server/test_data/computed_includes.c: add 8912 * include_server/test_data/dbar/dbar1/bar.h: add 8913 * include_server/test_data/dbar/foo.h: add 8914 * include_server/test_data/dfoo/foo.h: add 8915 * include_server/test_data/dfoo/foo2.h: add 8916 * include_server/test_data/dfoo/include_next_foo.h: add 8917 * include_server/test_data/include_include_next_foo.h: add 8918 * include_server/test_data/p1.h: add 8919 * include_server/test_data/parse.c: add 8920 * include_server/test_data/test_include_next/bar/x.h: add 8921 * include_server/test_data/test_include_next/bar/y.h: add 8922 * include_server/test_data/test_include_next/baz/start_x.c: add 8923 * include_server/test_data/test_include_next/baz/start_y.c: add 8924 * include_server/test_data/test_include_next/baz/x.h: add 8925 * include_server/test_data/test_include_next/baz/y.h: add 8926 * include_server/test_data/test_include_next/biz/x.h: add 8927 * include_server/test_data/test_include_next/foo/x.h: add 8928 * include_server/test_data/test_include_next/foo/y.h: add 8929 8930 89312007/05/21 18:37:57 Manos Renieris <opensource@google.com> 8932 8933 Change the test regexp to match the version text. 8934 8935 R=fergus,klarlund 8936 DELTA=4 (2 added, 0 deleted, 2 changed) 8937 8938 * distcc/test/testdistcc.py: edit 8939 8940 89412007/05/21 18:29:41 Nils Klarlund <opensource@google.com> 8942 8943 Initial submission. "How to find system path defaults for gcc." 8944 8945 R=fergus,manos 8946 APPROVED=fergus 8947 DELTA=136 (136 added, 0 deleted, 0 changed) 8948 8949 * include_server/compiler_defaults.py: add 8950 8951 89522007/05/21 17:01:16 Nils Klarlund <opensource@google.com> 8953 8954 Initial submissin. Statistics gathering for the distcc-pump include server. 8955 8956 R=fergus,manos 8957 DELTA=110 (110 added, 0 deleted, 0 changed) 8958 8959 * include_server/statistics.py: add 8960 8961 89622007/05/21 12:09:10 Nils Klarlund <opensource@google.com> 8963 8964 8965 This CL is in response to csilvers's questions about the use 8966 of indices and caches in the include server. I've tried to 8967 make the terminology coherent and to make the distinction 8968 between indexed and string representation clearer. Also, I 8969 moved the actual use of the classes into function SetUpCaches 8970 that constructs the intended hierarchy for memoization. 8971 8972 Now: also includes parse_command. 8973 8974 R=fergus,csilvers 8975 CC=manos 8976 DELTA=410 (184 added, 40 deleted, 186 changed) 8977 8978 * include_server/cache_basics.py: edit 8979 8980 89812007/05/21 11:59:41 Manos Renieris <opensource@google.com> 8982 8983 Initialize needs_dotd. 8984 8985 R=klarlund,fergus 8986 DELTA=1 (0 added, 0 deleted, 1 changed) 8987 8988 * distcc/src/compile.c: edit 8989 8990 89912007/05/21 11:59:13 Manos Renieris <opensource@google.com> 8992 8993 Fix the cleanup function. 8994 8995 R=klarlund,fergus 8996 DELTA=3 (0 added, 0 deleted, 3 changed) 8997 8998 * distcc/src/cleanup.c: edit 8999 9000 90012007/05/18 17:22:48 Manos Renieris <opensource@google.com> 9002 9003 Added the new files and one missing file to the Makefile. 9004 9005 R=klarlund,fergus 9006 DELTA=8 (3 added, 0 deleted, 5 changed) 9007 9008 * distcc/Makefile.in: edit 9009 9010 90112007/05/18 11:37:55 Manos Renieris <opensource@google.com> 9012 9013 Undo the local_cpu lock if we are using the include server. 9014 9015 R=fergus,klarlund 9016 DELTA=6 (5 added, 0 deleted, 1 changed) 9017 9018 * distcc/src/compile.c: edit 9019 9020 90212007/05/17 18:21:26 Nils Klarlund <opensource@google.com> 9022 9023 Initial check-in of directives-only C/C++ parser. 9024 9025 R=manos,fergus 9026 DELTA=395 (395 added, 0 deleted, 0 changed) 9027 9028 * include_server/parse_file.py: add 9029 * include_server/parse_file_test.py: add 9030 9031 90322007/05/17 17:27:24 Nils Klarlund <opensource@google.com> 9033 9034 This change accompanies a previous change. It allows the extension 9035 module to extract the needed .o files from the distcc Makefile. 9036 9037 R=fergus,manos 9038 DELTA=5 (5 added, 0 deleted, 0 changed) 9039 9040 * distcc/Makefile.in: edit 9041 9042 90432007/05/17 16:15:36 Nils Klarlund <opensource@google.com> 9044 9045 This CL enables us to compile distcc and to install the Python 9046 extension module that provides access to some distcc rpc 9047 functions as well as lzo. It no longer uses the Python 9048 interface that is part of the lzo distribution. 9049 9050 The CL also include some initial attempts a Makefile's. 9051 9052 R=fergus,manos 9053 DELTA=467 (467 added, 0 deleted, 0 changed) 9054 9055 * INSTALL: add 9056 * Makefile: add 9057 * include_server/Makefile: add 9058 * include_server/c_extensions/Makefile: add 9059 * include_server/c_extensions/distcc_pump_c_extensions_module.c: add 9060 * include_server/c_extensions/setup.py: add 9061 9062 90632007/05/17 11:09:39 Nils Klarlund <opensource@google.com> 9064 9065 9066 Include server for distcc-pump. The basic stuff. Initial submit. 9067 The basic caching mechanisms for distcc-pump. Initial submit. 9068 9069 R=manos,fergus 9070 DELTA=596 (596 added, 0 deleted, 0 changed) 9071 9072 * include_server/basics.py: add 9073 * include_server/cache_basics.py: add 9074 9075 90762007/05/16 17:03:03 Fergus Henderson <opensource@google.com> 9077 9078 Update the output from "distcc --version". 9079 1. src/help.c: mention that it supports version 3 of the protocol, 9080 i.e. distcc_pump 9081 2. configure.ac: change version to "distcc 2.18.3-13gg-pump1" 9082 rather than "distcc 2.18.3", i.e. include both 9083 a. "-13gg" to show it has all the existing Google patches, and 9084 b. "-pump1" for the distcc_pump extensions that support 9085 preprocessing on the server. 9086 3. configure: regenerate based on the new configure.ac. 9087 This resulted in some slight differences due to different 9088 autoconf versions, but they appear innocuous. 9089 9090 TESTED=Ran make and manually verified the output of "distcc --version" 9091 and "distccd --version". 9092 Tried running "make maintainer-check"; that failed, but I think 9093 the failures are unrelated to my change (probably they're due 9094 to problems with the merge of distcc-pump with the Google distcc 9095 patches). 9096 9097 R=manos 9098 CC=distcc-pump 9099 DELTA=135 (24 added, 86 deleted, 25 changed) 9100 9101 * distcc/configure: edit 9102 * distcc/configure.ac: edit 9103 * distcc/src/help.c: edit 9104 9105 91062007/05/16 15:04:29 Manos Renieris <opensource@google.com> 9107 9108 Change the name of the temp directories to reflect that 9109 they are server-side. 9110 9111 R=fergus,klarlund 9112 DELTA=1 (0 added, 0 deleted, 1 changed) 9113 9114 * distcc/src/tempfile.c: edit 9115 9116 91172007/05/14 17:16:41 Craig Silverstein <opensource@google.com> 9118 9119 Rewrite the argument-parser to be more efficient: this code 9120 now runs about 50% faster than it used to (tested by 9121 time_ParseCommandArguments.py). 9122 9123 I can't totally vouch for the fact the output is the same now 9124 as before, since there's not a complete test for this code yet, 9125 but it seems to be on the one example I tried. 9126 9127 Also, a few TODOs remain to deal with some obscure cases I 9128 didn't understand (how does "-iquote=foo" differ from "-iquote 9129 foo"?). But the basics should be right on. 9130 9131 R=klarlund,fergus 9132 DELTA=295 (153 added, 76 deleted, 66 changed) 9133 9134 * include_server/parse_command.py: edit 9135 * include_server/parse_command_test.py: edit 9136 9137 91382007/05/14 17:05:15 Manos Renieris <opensource@google.com> 9139 9140 Improve the robustness of cleanup. 9141 9142 R=klarlund,fergus 9143 DELTA=33 (18 added, 1 deleted, 14 changed) 9144 9145 * distcc/src/cleanup.c: edit 9146 * distcc/src/srvrpc.c: edit 9147 * distcc/src/tempfile.c: edit 9148 9149 91502007/05/14 11:37:26 Manos Renieris <opensource@google.com> 9151 9152 Mark the top tmp directory for deletion. 9153 9154 R=fergus,klarlund 9155 DELTA=3 (3 added, 0 deleted, 0 changed) 9156 9157 * distcc/src/tempfile.c: edit 9158 9159 91602007/05/14 11:22:04 Manos Renieris <opensource@google.com> 9161 9162 Close the file descriptors after being done talking to 9163 the include server. 9164 9165 R=klarlund,fergus 9166 DELTA=14 (11 added, 1 deleted, 2 changed) 9167 9168 * distcc/src/include_server_if.c: edit 9169 9170 91712007/05/10 10:04:32 Nils Klarlund <opensource@google.com> 9172 9173 The routines for interpreting a gcc command, along with tests. 9174 Two issues still to be resolved: 9175 - This code is too slow. 9176 - For computed includes, we need to parse -D etc. 9177 9178 R=fergus,manos 9179 DELTA=518 (518 added, 0 deleted, 0 changed) 9180 9181 * include_server/parse_command.py: add 9182 * include_server/parse_command_test.py: add 9183 9184 91852007/05/09 23:13:18 Fergus Henderson <opensource@google.com> 9186 9187 Update Makefile.in to fix some bugs introduced in CL a previous change (which just 9188 applied the Google and LSB-specific patches). Some object files had been 9189 moved into $(common_obj), but were still listed in h_*_obj, resulting 9190 in duplicate symbol errors when running "make maintainer-check". 9191 9192 R=manos 9193 CC=dkegel,klarlund 9194 DELTA=3 (0 added, 1 deleted, 2 changed) 9195 9196 * distcc/Makefile.in: edit 9197 9198 91992007/05/09 19:12:09 Manos Renieris <opensource@google.com> 9200 9201 A bit more const-correctness. 9202 9203 R=fergus 9204 DELTA=6 (2 added, 0 deleted, 4 changed) 9205 9206 * distcc/src/serve.c: edit 9207 9208 92092007/05/09 18:41:10 Manos Renieris <opensource@google.com> 9210 9211 Distcc-pump first implementation. 9212 9213 Various little changes, making functions from static into 9214 global, all around the code; a bug fix in argutil.c. 9215 9216 Important changes are: 9217 - On the protocol, which is extended as "version 3", that 9218 supports compression and also cpp on the server. 9219 - distcc.h: Added the enum for where to do the cpp. 9220 - hosts.c: Map a set of features (currently a subset of 9221 where to do cpp and whether to do compression) onto 9222 a protocol number. 9223 - rpc.c: The client sometimes sends either a file, or 9224 a link to the server. The server needs to be able to 9225 accept either, so dcc_r_sometoken_int allows some 9226 alternation to the protocol. 9227 - Talking to the include server: 9228 - compile.c: dcc_build_somewhere tries to talk to the 9229 include server, and pushes the information about 9230 the dotd file to dcc_compile_remote. This is where 9231 the fallback-to-the-original-protocol code lives. 9232 - include_server_if.c: Talk to the include server. 9233 - The communication from client to server. The client needs to 9234 send multiple files, and perhaps links, to the server; the 9235 client also needs to sent its current working directory, 9236 - remote.c: Entry points for sending multiple files to 9237 the server. 9238 - rpc.c: The server needs to handle not only files, but also 9239 links (directories are handled implicitly). 9240 - clirpc.c: Added a function to send the current working 9241 directory. Added a function, dcc_x_many_files. It sends 9242 multiple files to the server. In addition, it changes 9243 the filenames to chop off the additions of the include 9244 server. 9245 - serve.c: Added a function to receive the current working 9246 directory. 9247 - On the server side, the server receives multiple files, 9248 and the working directory, builds a directory structure (which 9249 it keeps of, to clean it up at the end) 9250 - srvrpc.c: 9251 Added a function, dcc_r_many_files, to receive multiple 9252 files. In addition, it changes the filenames to put all 9253 the files under a "fake root" directory. 9254 - serve.c: lots of work to set up "fake root" directories, 9255 chdir to the right place, produce a .d file, and 9256 absolutize include directives. 9257 - tempfile.c: Creation of whole temp directories, 9258 not just files. 9259 - cleanup.c: Since we are receiving multiple files, 9260 we need to keep a dynamic list of what temporary 9261 files we create. It can now handle directories. 9262 - ".d" files: the client needs to find out where the dotd file 9263 should go; the server needs to produce it, remove all 9264 references to the local filesystem (gcc can't do 9265 that from the outside) and send it back to the client. 9266 - dotd.c: Most of the code that handles the dotd: figuring 9267 out if we need it, and where it should go; also, 9268 cleaning it up after it gets created on the server. 9269 - clirpc.c Changed dcc_retrieve_results to retrieve 9270 the dotd file. 9271 9272 R=klarlund,fergus 9273 DELTA=1208 (1058 added, 36 deleted, 114 changed) 9274 9275 * distcc/Makefile.in: edit 9276 * distcc/README.google: add 9277 * distcc/src/arg.c: edit 9278 * distcc/src/argutil.c: edit 9279 * distcc/src/bulk.c: edit 9280 * distcc/src/bulk.h: edit 9281 * distcc/src/cleanup.c: edit 9282 * distcc/src/clinet.c: edit 9283 * distcc/src/clinet.h: edit 9284 * distcc/src/clirpc.c: edit 9285 * distcc/src/compile.c: edit 9286 * distcc/src/compile.h: edit 9287 * distcc/src/compress.c: edit 9288 * distcc/src/distcc.h: edit 9289 * distcc/src/dotd.c: add 9290 * distcc/src/dotd.h: add 9291 * distcc/src/filename.c: edit 9292 * distcc/src/hosts.c: edit 9293 * distcc/src/hosts.h: edit 9294 * distcc/src/include_server_if.c: add 9295 * distcc/src/include_server_if.h: add 9296 * distcc/src/lock.c: edit 9297 * distcc/src/remote.c: edit 9298 * distcc/src/rpc.c: edit 9299 * distcc/src/rpc.h: edit 9300 * distcc/src/serve.c: edit 9301 * distcc/src/srvrpc.c: edit 9302 * distcc/src/tempfile.c: edit 9303 9304 93052007/05/08 17:53:54 Manos Renieris <opensource@google.com> 9306 9307 A few "\n\" were missing. 9308 9309 R=fergus,klarlund 9310 DELTA=4 (0 added, 0 deleted, 4 changed) 9311 9312 * distcc/src/lsdistcc.c: edit 9313 9314 9315## More changes that were made internally to Google, and not integrated 9316## into the main distcc distribution until 2008. These log messages 9317## are from the RPM spec file's changlog. 9318 9319* Thu Jun 14 2007 Manos Renieris <opensource@google.com> 9320- Added all the distcc-pump related parts to distcc.spec. 9321- Changed the way the package is built. 9322- Remove source package generation. 9323- Man pages are now unzipped. 9324 9325* Mon Feb 8 2007 Dongmin Zhang <opensource@google.com> 9326- Added hosts list option to lsdistcc, such that lsdistcc can check only the 9327 hosts listed on the given list. The host list is given in command line. 9328 9329* Wed Jan 31 2007 Dongmin Zhang <opensource@google.com> 9330- Added _libdir definition in rpms.epc. 9331- Changed Name, Version, and Release to the ones passed by --define. 9332- Updated the server init script to give different path of ACL files for grhat 9333 and goobuntu as suggested by Arthur Hyun <opensource@google.com>. 9334 9335* Mon Jan 22 2007 Dongmin Zhang <opensource@google.com> 9336- Fixed a bug in timeout patch. Added sigaction to catch SIGCHLD such that the 9337 select() in dcc_collect_child() could break out when the file is finished to 9338 compile. 9339 9340* Fri Dec 1 2006 Ollie Wild <opensource@google.com> 9341- Removed the 01-distcc-gdb-20051210.patch patch. The parser in this was too 9342 naive to deal with output generate with the -directives-only flag. Also, it 9343 should no longer be needed with recent versions of gcc. 9344- Removed the 10-distcc-before-cpp_locking-sub-gdb.patch and 9345 12-distcc-after-cpp_locking-add-gdb.patch patches. These were just modifying 9346 the former patch. 9347 9348* Fri Sep 8 2006 Michael Moss <opensource@google.com> 9349- Update install and init scripts to work on Debian and Red Hat (allowing the 9350 .rpm to be converted to .deb with alien, and then installed on Debian). 9351 Some noteworthy changes: 9352 - Deb - Remove unused defaults file /etc/default/distcc. 9353 - Deb - No longer uses debconf. 9354 - RH - useradd is run in post- rather than pre- install. 9355 - RH - distcc server is automatically started. 9356- Added enable/disable commands to init scripts so the daemon can be 9357 "permanently" disabled on misbehaving hosts. 9358- Added patches to allow building LSB-compliant binaries. 9359- Reorganized some existing patches to better partition functionality. 9360 9361* Tue Feb 28 2006 Dan Kegel <dank@kegel.com> 9362- removed cache again 9363 9364* Mon Feb 20 2006 Dan Kegel <dank@kegel.com> 9365- added cache 9366 9367* Mon Feb 6 2006 Dan Kegel <dank@kegel.com> 9368- use Josh's randomize patch instead of Michael's, 9369 since Josh's seems to perform better in our tests 9370- added disk space statistic on http interface 9371- lsdistcc now has -x option to output info even on down hosts (will be useful for server side caching) 9372 9373* Tue Jan 2 2006 Dan Kegel <dank@kegel.com> 9374- removed load shedding patch (we have swap turned on, so overload isn't as bad) 9375- added stats for timeout 9376 9377* Wed Dec 8 2005 Dan Kegel <dank@kegel.com> 9378- lsdistcc now has -l option, better -v output 9379- distccd now has nicer logging, --limit-load option, bugfixes in load shedding 9380 9381* Tue Nov 22 2005 Dan Kegel <dank@kegel.com> 9382- rejects jobs if load too high 9383- serves up stats via http on port 3633 9384- lsdistcc now has new -p and -c0 options 9385 9386* Wed Nov 2 2005 Dan Kegel <dank@kegel.com> 9387- updated lsdistcc to use the longer of the two of HOST and HOSTNAME 9388 to handle shells that set HOST to the nonqualified hostname, 9389 but HOSTNAME to the FQDN 9390 9391* Thu Oct 13 2005 Dan Kegel <dank@kegel.com> 9392- updated lsdistcc patch 9393- removed gcc as a dependency, since we want to use it with 9394 a wide range of other compilers (and in our case, not the 9395 standard gcc), and it's impractical to list them all as dependencies 9396 9397* Fri Sep 16 2005 Dan Kegel <dank@kegel.com> 9398- now reads /etc/distcc/hosts instead of /usr/etc/distcc/hosts 9399- replaced distcc-2.18.3-rhl.patch with distcc-2.18.3-stringmap.patch 9400 The stringmap patch updates the rhl init.d script to know about 9401 all installed crosstool toolchains, and enables fuzzy path matching 9402 This is useful if the toolchains are not installed at the same 9403 prefix on all systems 9404- removed distcc-domain.patch 9405- added distcc-2.18.3-lsdistcc.patch 9406 9407* Sat Sep 3 2005 Dan Kegel <dank@kegel.com> 9408- now reads /etc/distcc/hosts instead of /usr/etc/distcc/hosts 9409- applied distcc-domain-2.patch 9410 9411* Thu Jun 15 2005 Dan Kegel <dank@kegel.com> 9412- Updated to 2.18.3 9413- applied --randomize patch and cpp_locking patch 9414- redhat init.d script reads /etc/distccd.allow to construct --allow arguments 9415- added scriptlets from dag's package, but don't start service on install, 9416 and call it distcc rather than distccd (to match the current 9417 packaging's old practice) 9418 9419 9420## These changes are from when development was done under bzr. 9421## bzr branch: http://bazaar.launchpad.net/%7Embp/distcc/trunk/ 9422 94232008-03-14 13:31:23 +1100 Martin Pool <mbp@sourcefrog.net> revno: 4 9424 9425 message: 9426 Locks taken through F_SETLK or lockf() must be explicitly released, 9427 because closing the file does not do so. 9428 (Sascha Demetrio) 9429 9430 94312007-09-22 21:32:03 +1000 Martin Pool <mbp@sourcefrog.net> revno: 3 9432 9433 message: 9434 merge avahi patch from Lennart Poettering 9435 (http://0pointer.de/public/distcc-avahi.patch) 9436 9437 94382007-09-22 21:32:03 +1000 Martin Pool <mbp@sourcefrog.net> revno: 2 9439 9440 message: 9441 Add more ignored files 9442 9443 9444## These changes are from when development was done under arch. 9445## arch-tag: automatic-ChangeLog--mbp@sourcefrog.net--2004/distcc--devel--2 9446 94472006-04-05 23:35:36 GMT Martin Pool <mbp@sourcefrog.net> patch-183 9448 9449 Summary: 9450 ignore tags file 9451 Revision: 9452 distcc--devel--2--patch-183 9453 9454 9455 modified files: 9456 ChangeLog {arch}/=tagging-method 9457 9458 94592006-04-03 17:56:54 GMT Martin Pool <mbp@sourcefrog.net> patch-182 9460 9461 Summary: 9462 build fix for --as-needed 9463 Revision: 9464 distcc--devel--2--patch-182 9465 9466 9467 modified files: 9468 ChangeLog Makefile.in NEWS 9469 9470 94712006-03-03 00:10:56 GMT Martin Pool <mbp@sourcefrog.net> patch-181 9472 9473 Summary: 9474 fix error check in dcc_connect_by_add 9475 Revision: 9476 distcc--devel--2--patch-181 9477 9478 Found in code review from recent list thread -- error check was done 9479 incorrectly for nonblocking commits. 9480 9481 9482 modified files: 9483 ChangeLog src/clinet.c 9484 9485 94862006-02-21 05:38:41 GMT Martin Pool <mbp@sourcefrog.net> patch-180 9487 9488 Summary: 9489 draft patch for substituting compiler command name 9490 Revision: 9491 distcc--devel--2--patch-180 9492 9493 9494 9495 9496 new files: 9497 patches/.arch-ids/distcc-substitute-command.diff.id 9498 patches/distcc-substitute-command.diff 9499 9500 modified files: 9501 ChangeLog 9502 9503 95042006-01-20 23:40:53 GMT Martin Pool <mbp@sourcefrog.net> patch-179 9505 9506 Summary: 9507 More details on error 110 9508 Revision: 9509 distcc--devel--2--patch-179 9510 9511 9512 9513 9514 modified files: 9515 ChangeLog man/distcc.1 9516 9517 95182006-01-11 04:03:16 GMT Martin Pool <mbp@sourcefrog.net> patch-178 9519 9520 Summary: 9521 set locale when running make maintainer-check 9522 Revision: 9523 distcc--devel--2--patch-178 9524 9525 9526 modified files: 9527 ChangeLog NEWS test/comfychair.py 9528 9529 95302006-01-11 03:58:36 GMT Martin Pool <mbp@sourcefrog.net> patch-177 9531 9532 Summary: 9533 Update more benchmark project definitions 9534 Revision: 9535 distcc--devel--2--patch-177 9536 9537 9538 modified files: 9539 ChangeLog bench/ProjectDefs.py test/testdistcc.py 9540 9541 95422006-01-05 00:20:52 GMT Martin Pool <mbp@sourcefrog.net> patch-176 9543 9544 Summary: 9545 update benchmark project urls and md5s 9546 Revision: 9547 distcc--devel--2--patch-176 9548 9549 9550 modified files: 9551 ChangeLog bench/ProjectDefs.py 9552 9553 95542006-01-05 00:12:56 GMT Martin Pool <mbp@sourcefrog.net> patch-175 9555 9556 Summary: 9557 [patch] update stale benchmark source URLS (Dongmin Zhang) 9558 Revision: 9559 distcc--devel--2--patch-175 9560 9561 9562 9563 9564 modified files: 9565 ChangeLog bench/ProjectDefs.py 9566 9567 95682005-12-12 05:47:20 GMT Martin Pool <mbp@sourcefrog.net> patch-174 9569 9570 Summary: 9571 update patch to fix up gdb line numbers 9572 Revision: 9573 distcc--devel--2--patch-174 9574 9575 Updated patch from Dan Kegel to workaround wrong source file names in debug 9576 symbols for older versions of gcc. 9577 9578 9579 9580 new files: 9581 patches/.arch-ids/fix-line-numbers.diff.id 9582 patches/fix-line-numbers.diff 9583 9584 removed files: 9585 patches/.arch-ids/distcc-line3.diff.id 9586 patches/.arch-ids/timj-line1.diff.id patches/distcc-line3.diff 9587 patches/timj-line1.diff 9588 9589 modified files: 9590 ChangeLog 9591 9592 95932005-11-28 03:00:58 GMT Martin Pool <mbp@sourcefrog.net> patch-173 9594 9595 Summary: 9596 [patch] cygwin improvements from Alex Besogonov 9597 Revision: 9598 distcc--devel--2--patch-173 9599 9600 9601 9602 9603 modified files: 9604 ChangeLog NEWS src/exec.c src/tempfile.c 9605 9606 96072005-11-28 02:50:23 GMT Martin Pool <mbp@sourcefrog.net> patch-172 9608 9609 Summary: 9610 doc 9611 Revision: 9612 distcc--devel--2--patch-172 9613 9614 9615 modified files: 9616 ChangeLog src/exitcode.h 9617 9618 96192005-11-28 02:49:19 GMT Martin Pool <mbp@sourcefrog.net> patch-171 9620 9621 Summary: 9622 doc 9623 Revision: 9624 distcc--devel--2--patch-171 9625 9626 9627 modified files: 9628 ChangeLog src/exitcode.h 9629 9630 96312005-10-05 00:44:49 GMT Martin Pool <mbp@sourcefrog.net> patch-170 9632 9633 Summary: 9634 return error on timeout in dcc_select_for_write 9635 Revision: 9636 distcc--devel--2--patch-170 9637 9638 9639 modified files: 9640 ChangeLog src/io.c 9641 9642 96432005-10-05 00:14:16 GMT Martin Pool <mbp@sourcefrog.net> patch-169 9644 9645 Summary: 9646 bump version number 9647 Revision: 9648 distcc--devel--2--patch-169 9649 9650 9651 modified files: 9652 ChangeLog configure.ac 9653 9654 96552005-10-05 00:07:50 GMT Martin Pool <mbp@sourcefrog.net> patch-168 9656 9657 Summary: 9658 use python2.4 if available 9659 Revision: 9660 distcc--devel--2--patch-168 9661 9662 9663 modified files: 9664 ChangeLog NEWS configure.ac 9665 9666 96672005-10-05 00:05:20 GMT Martin Pool <mbp@sourcefrog.net> patch-167 9668 9669 Summary: 9670 - better autogen message 9671 Revision: 9672 distcc--devel--2--patch-167 9673 9674 9675 modified files: 9676 ChangeLog autogen.sh 9677 9678 96792005-10-05 00:04:18 GMT Martin Pool <mbp@sourcefrog.net> patch-166 9680 9681 Summary: 9682 [patch] better checking for errors on connect() 9683 Revision: 9684 distcc--devel--2--patch-166 9685 9686 9687 modified files: 9688 ChangeLog NEWS src/clinet.c 9689 9690 96912005-09-05 01:36:22 GMT Martin Pool <mbp@sourcefrog.net> patch-165 9692 9693 Summary: 9694 add hosts-from-dnsdomain patch from dan 9695 Revision: 9696 distcc--devel--2--patch-165 9697 9698 9699 new files: 9700 patches/.arch-ids/kegel-distcc-domain.patch.id 9701 patches/kegel-distcc-domain.patch 9702 9703 modified files: 9704 ChangeLog 9705 9706 97072005-08-16 01:39:54 GMT Martin Pool <mbp@sourcefrog.net> patch-164 9708 9709 Summary: 9710 add note that the mDNS patch cannot be legally merged 9711 Revision: 9712 distcc--devel--2--patch-164 9713 9714 9715 modified files: 9716 ChangeLog patches/howl-mdns.diff 9717 9718 97192005-06-10 09:58:57 GMT Martin Pool <mbp@sourcefrog.net> patch-163 9720 9721 Summary: 9722 todo 9723 Revision: 9724 distcc--devel--2--patch-163 9725 9726 9727 modified files: 9728 ChangeLog TODO 9729 9730 97312005-01-19 03:17:27 GMT Martin Pool <mbp@sourcefrog.net> patch-162 9732 9733 Summary: 9734 manpage correction from Frerich 9735 Revision: 9736 distcc--devel--2--patch-162 9737 9738 9739 modified files: 9740 ChangeLog man/distcc.1 9741 9742 97432004-12-21 02:11:57 GMT Martin Pool <mbp@sourcefrog.net> patch-161 9744 9745 Summary: 9746 args: -d must be local 9747 Revision: 9748 distcc--devel--2--patch-161 9749 9750 9751 modified files: 9752 ChangeLog NEWS src/arg.c test/testdistcc.py 9753 9754 97552004-12-20 12:40:10 GMT Martin Pool <mbp@sourcefrog.net> patch-160 9756 9757 Summary: 9758 note on .incbin from asm() 9759 Revision: 9760 distcc--devel--2--patch-160 9761 9762 9763 new files: 9764 doc/todo/.arch-ids/unhandled-cases.txt.id 9765 doc/todo/unhandled-cases.txt 9766 9767 modified files: 9768 ChangeLog 9769 9770 97712004-12-15 00:11:05 GMT Martin Pool <mbp@sourcefrog.net> patch-159 9772 9773 Summary: 9774 remove obsolete web targets from makefile 9775 Revision: 9776 distcc--devel--2--patch-159 9777 9778 9779 modified files: 9780 ChangeLog Makefile.in 9781 9782 97832004-12-14 07:07:01 GMT Martin Pool <mbp@sourcefrog.net> patch-158 9784 9785 Summary: 9786 add pending Howl mDNS patch from Lennart Poettering 9787 Revision: 9788 distcc--devel--2--patch-158 9789 9790 9791 new files: 9792 patches/.arch-ids/howl-mdns.diff.id patches/howl-mdns.diff 9793 9794 modified files: 9795 ChangeLog 9796 9797 97982004-11-30 19:05:36 GMT Martin Pool <mbp@sourcefrog.net> patch-157 9799 9800 Summary: 9801 Add freshmeat submission data 9802 Revision: 9803 distcc--devel--2--patch-157 9804 9805 9806 new files: 9807 freshmeat/.arch-ids/2.18.3.id freshmeat/.arch-ids/=id 9808 freshmeat/2.18.3 9809 9810 modified files: 9811 ChangeLog 9812 9813 new directories: 9814 freshmeat freshmeat/.arch-ids 9815 9816 98172004-11-30 12:25:10 GMT Martin Pool <mbp@sourcefrog.net> patch-156 9818 9819 Summary: 9820 Fix for -x and -specs bug 9821 Revision: 9822 distcc--devel--2--patch-156 9823 9824 9825 modified files: 9826 ChangeLog NEWS src/arg.c 9827 9828 98292004-11-30 12:11:30 GMT Martin Pool <mbp@sourcefrog.net> patch-155 9830 9831 Summary: 9832 Better text for -x and -specs 9833 Revision: 9834 distcc--devel--2--patch-155 9835 9836 9837 modified files: 9838 ChangeLog NEWS TODO configure.ac test/testdistcc.py 9839 9840 98412004-11-12 03:33:34 GMT Martin Pool <mbp@sourcefrog.net> patch-154 9842 9843 Summary: 9844 Prepare for 2.18.2 release 9845 Revision: 9846 distcc--devel--2--patch-154 9847 9848 9849 modified files: 9850 ChangeLog NEWS configure.ac 9851 9852 98532004-11-12 03:32:54 GMT Martin Pool <mbp@sourcefrog.net> patch-153 9854 9855 Summary: 9856 Notes on performance influence of mmap 9857 Revision: 9858 distcc--devel--2--patch-153 9859 9860 9861 new files: 9862 doc/.arch-ids/mmap-influence.txt.id doc/mmap-influence.txt 9863 9864 modified files: 9865 ChangeLog 9866 9867 98682004-11-12 03:31:51 GMT Martin Pool <mbp@sourcefrog.net> patch-152 9869 9870 Summary: 9871 fix size_t/unsigned mismatch 9872 Revision: 9873 distcc--devel--2--patch-152 9874 9875 9876 modified files: 9877 ChangeLog NEWS src/distcc.h 9878 9879 98802004-11-12 03:23:15 GMT Martin Pool <mbp@sourcefrog.net> patch-151 9881 9882 Summary: 9883 fix for checking uninitialized errno 9884 Revision: 9885 distcc--devel--2--patch-151 9886 9887 9888 modified files: 9889 ChangeLog NEWS src/clinet.c 9890 9891 98922004-11-03 02:20:56 GMT Martin Pool <mbp@sourcefrog.net> patch-150 9893 9894 Summary: 9895 gcc -specs must also be run locally 9896 Revision: 9897 distcc--devel--2--patch-150 9898 9899 9900 modified files: 9901 ChangeLog NEWS src/arg.c test/testdistcc.py 9902 9903 99042004-11-02 07:12:57 GMT Martin Pool <mbp@sourcefrog.net> patch-149 9905 9906 Summary: 9907 mon-gnome: fix tree_model warning 9908 Revision: 9909 distcc--devel--2--patch-149 9910 9911 9912 modified files: 9913 ChangeLog NEWS src/mon-gnome.c 9914 9915 99162004-10-23 08:42:53 GMT Martin Pool <mbp@sourcefrog.net> patch-148 9917 9918 Summary: 9919 fold io.h into distcc.h 9920 Revision: 9921 distcc--devel--2--patch-148 9922 9923 9924 removed files: 9925 src/.arch-ids/io.h.id src/io.h 9926 9927 modified files: 9928 ChangeLog Makefile.in src/arg.c src/argutil.c src/backoff.c 9929 src/bulk.c src/clinet.c src/clirpc.c src/compress.c 9930 src/daemon.c src/distcc.h src/dopt.c src/dparent.c src/exec.c 9931 src/h_exten.c src/h_issource.c src/h_scanargs.c src/h_strip.c 9932 src/hostfile.c src/io.c src/loadfile.c src/lock.c 9933 src/mon-gnome.c src/mon-notify.c src/mon-text.c src/mon.c 9934 src/prefork.c src/pump.c src/remote.c src/renderer.c src/rpc.c 9935 src/safeguard.c src/sendfile.c src/serve.c src/srvnet.c 9936 src/srvrpc.c src/ssh.c src/state.c src/strip.c src/timefile.c 9937 src/util.c 9938 9939 99402004-10-23 08:23:22 GMT Martin Pool <mbp@sourcefrog.net> patch-147 9941 9942 Summary: 9943 fix some signedness/type warnings 9944 Revision: 9945 distcc--devel--2--patch-147 9946 9947 9948 modified files: 9949 ChangeLog src/bulk.c src/climasq.c src/clirpc.c src/distcc.h 9950 src/hosts.c src/io.h src/mon-gnome.c src/netutil.c 9951 src/netutil.h src/rpc.c src/trace.c src/util.c src/where.c 9952 9953 99542004-10-23 08:11:25 GMT Martin Pool <mbp@sourcefrog.net> patch-146 9955 9956 Summary: 9957 Turn off -Wunreachable-code 9958 Revision: 9959 distcc--devel--2--patch-146 9960 9961 9962 modified files: 9963 ChangeLog configure.ac 9964 9965 99662004-10-23 08:00:12 GMT Martin Pool <mbp@sourcefrog.net> patch-145 9967 9968 Summary: 9969 turn on more warnings 9970 Revision: 9971 distcc--devel--2--patch-145 9972 9973 9974 modified files: 9975 ChangeLog configure.ac 9976 9977 99782004-10-21 23:06:54 GMT Martin Pool <mbp@sourcefrog.net> patch-144 9979 9980 Summary: 9981 Allow for host files containing \r 9982 Revision: 9983 distcc--devel--2--patch-144 9984 9985 9986 modified files: 9987 ChangeLog NEWS src/hosts.c test/testdistcc.py 9988 9989 99902004-10-13 02:37:50 GMT Martin Pool <mbp@sourcefrog.net> patch-143 9991 9992 Summary: 9993 Return errors, rather than aborting. 9994 Revision: 9995 distcc--devel--2--patch-143 9996 9997 Don't call rs_fatal; instead return an error. It was giving warnings on 9998 non-gcc compilers because it wasn't seen as noreturn, and anyhow aborting 9999 is a bit untidy. 10000 10001 modified files: 10002 ChangeLog src/arg.c src/bulk.c src/cleanup.c src/cpp.c 10003 src/dopt.c src/h_ccvers.c src/history.c src/hosts.c src/io.c 10004 src/lock.c src/mon.c src/pump.c src/remote.c src/rpc.c 10005 src/serve.c src/ssh.c src/trace.h src/util.c 10006 10007 100082004-10-13 02:23:11 GMT Martin Pool <mbp@sourcefrog.net> patch-142 10009 10010 Summary: 10011 fix header problem for Solaris 10012 Revision: 10013 distcc--devel--2--patch-142 10014 10015 * src/distcc.h: Need sys/types.h for pid_t. 10016 10017 10018 10019 modified files: 10020 ChangeLog NEWS bench/Build.py bench/Project.py 10021 bench/ProjectDefs.py src/distcc.h 10022 10023 100242004-10-12 06:28:10 GMT Martin Pool <mbp@sourcefrog.net> patch-141 10025 10026 Summary: 10027 Add samba 3.0.7 as benchmark project 10028 Revision: 10029 distcc--devel--2--patch-141 10030 10031 10032 modified files: 10033 ChangeLog bench/ProjectDefs.py 10034 10035 100362004-10-12 05:41:38 GMT Martin Pool <mbp@sourcefrog.net> patch-140 10037 10038 Summary: 10039 benchmark: scrub results on completion by default 10040 Revision: 10041 distcc--devel--2--patch-140 10042 10043 10044 modified files: 10045 ChangeLog bench/actions.py 10046 10047 100482004-10-12 05:37:21 GMT Martin Pool <mbp@sourcefrog.net> patch-139 10049 10050 Summary: 10051 advance version to 2.19pre 10052 Revision: 10053 distcc--devel--2--patch-139 10054 10055 10056 modified files: 10057 ChangeLog configure.ac 10058 10059 100602004-10-12 05:13:54 GMT Martin Pool <mbp@sourcefrog.net> patch-138 10061 10062 Summary: 10063 Prepare for release 10064 Revision: 10065 distcc--devel--2--patch-138 10066 10067 10068 modified files: 10069 ChangeLog NEWS configure.ac 10070 10071 100722004-10-12 05:10:31 GMT Martin Pool <mbp@sourcefrog.net> patch-137 10073 10074 Summary: 10075 Always build conftest.c locally 10076 Revision: 10077 distcc--devel--2--patch-137 10078 10079 Problem: configure tests are typically very quick to build; also 10080 configure can be very sensitive to stderr warnings or other small 10081 variations between machines. 10082 10083 Fix: To make things faster and safer, build conftest.* locally; also 10084 tmp.conftest.* used by ccache. 10085 10086 * src/filename.c (dcc_source_needs_local): New function. 10087 10088 * src/arg.c (dcc_scan_args): Check. 10089 10090 * cases/conftest.c: Manual test case. 10091 10092 10093 new files: 10094 cases/conftest.c 10095 10096 modified files: 10097 ChangeLog NEWS TODO src/arg.c src/distcc.h src/filename.c 10098 10099 101002004-10-12 04:50:41 GMT Martin Pool <mbp@sourcefrog.net> patch-136 10101 10102 Summary: 10103 Reset PATH when running maintainer-check 10104 Revision: 10105 distcc--devel--2--patch-136 10106 10107 Problem: Installed copies of distcc and/or ccache were getting invoked 10108 from inside the test suite in a confusing way. 10109 10110 Fix: Force the path to just /bin:/usr/bin:`pwd` 10111 10112 10113 modified files: 10114 ChangeLog Makefile.in 10115 10116 101172004-10-12 04:43:39 GMT Martin Pool <mbp@sourcefrog.net> patch-135 10118 10119 Summary: 10120 Remove mmap when receiving uncompressed data 10121 Revision: 10122 distcc--devel--2--patch-135 10123 10124 Problem: Calling msync seems likely to force disk IO, but not calling it 10125 is unsafe. 10126 10127 Fix: In fact, we can probably do fine by just using plain IO to receive 10128 data. This is already done for compressed data. 10129 10130 * src/pump.c (dcc_r_bulk_plain): Remove. 10131 10132 * src/pump.c (dcc_r_bulk): Just pump bytes through when receiving data; 10133 don't worry about mmap. Doc. 10134 10135 * src/bulk.c (dcc_r_file): Output files can be WRONLY if we're not using 10136 mmap. 10137 10138 * src/io.c (dcc_want_mmap): Remove. 10139 10140 * man/distcc.1, man/distccd.1: No more mmap! 10141 10142 10143 modified files: 10144 ChangeLog NEWS man/distcc.1 man/distccd.1 src/bulk.c src/io.c 10145 src/pump.c src/sendfile.c 10146 10147 101482004-10-12 04:38:27 GMT Martin Pool <mbp@sourcefrog.net> patch-134 10149 10150 Summary: 10151 fix headers 10152 Revision: 10153 distcc--devel--2--patch-134 10154 10155 10156 modified files: 10157 ChangeLog src/history.c 10158 10159 101602004-10-12 04:27:45 GMT Martin Pool <mbp@sourcefrog.net> patch-133 10161 10162 Summary: 10163 todo: conftest.c 10164 Revision: 10165 distcc--devel--2--patch-133 10166 10167 10168 modified files: 10169 ChangeLog TODO 10170 10171 101722004-10-12 04:20:05 GMT Martin Pool <mbp@sourcefrog.net> patch-132 10173 10174 Summary: 10175 doc 10176 Revision: 10177 distcc--devel--2--patch-132 10178 10179 10180 modified files: 10181 ChangeLog src/pump.c 10182 10183 101842004-10-12 04:10:49 GMT Martin Pool <mbp@sourcefrog.net> patch-131 10185 10186 Summary: 10187 Select-based non-blocking connect() 10188 Revision: 10189 distcc--devel--2--patch-131 10190 10191 * src/clinet.c (dcc_connect_by_addr): Make socket non-blocking at connect 10192 time and impose a timeout on connection attempts; currently hardcoded 10193 to 5s. 10194 10195 10196 modified files: 10197 ChangeLog NEWS src/clinet.c src/io.c 10198 10199 102002004-10-12 03:10:31 GMT Martin Pool <mbp@sourcefrog.net> patch-130 10201 10202 Summary: 10203 ssh: doc 10204 Revision: 10205 distcc--devel--2--patch-130 10206 10207 10208 modified files: 10209 ChangeLog src/ssh.c 10210 10211 102122004-10-12 03:02:18 GMT Martin Pool <mbp@sourcefrog.net> patch-129 10213 10214 Summary: 10215 Ignore HTML manpages 10216 Revision: 10217 distcc--devel--2--patch-129 10218 10219 10220 new files: 10221 man/.arch-inventory 10222 10223 modified files: 10224 ChangeLog 10225 10226 102272004-10-12 02:59:16 GMT Martin Pool <mbp@sourcefrog.net> patch-128 10228 10229 Summary: 10230 ssh: doc 10231 Revision: 10232 distcc--devel--2--patch-128 10233 10234 10235 modified files: 10236 ChangeLog src/ssh.c 10237 10238 102392004-10-12 02:15:39 GMT Martin Pool <mbp@sourcefrog.net> patch-127 10240 10241 Summary: 10242 remove signal-based timeouts 10243 Revision: 10244 distcc--devel--2--patch-127 10245 10246 Problem: Using alarms to enforce timeouts is inherently unsafe, because 10247 it might leave e.g. the resolver or C library in an inconsistent state. 10248 10249 Fix: Don't use signals. We can do something simpler and safer using 10250 select() in a future commit. 10251 10252 We no longer have a timeout on name resolution; the best fix for this is 10253 to set an appropriate timeout in resolv.conf. 10254 10255 removed files: 10256 src/.arch-ids/timeout.c.id src/timeout.c 10257 10258 modified files: 10259 ChangeLog Makefile.in man/distcc.1 src/distcc.h src/remote.c 10260 src/serve.c 10261 10262 102632004-10-11 09:09:47 GMT Martin Pool <mbp@sourcefrog.net> patch-126 10264 10265 Summary: 10266 distcc(1): mention timeouts 10267 Revision: 10268 distcc--devel--2--patch-126 10269 10270 10271 modified files: 10272 ChangeLog man/distcc.1 10273 10274 102752004-10-11 08:15:05 GMT Martin Pool <mbp@sourcefrog.net> patch-125 10276 10277 Summary: 10278 no timeout on cpp 10279 Revision: 10280 distcc--devel--2--patch-125 10281 10282 Refactor code that waits for cpp to finish, and disarm the timeout during 10283 this phase. 10284 10285 10286 modified files: 10287 ChangeLog NEWS src/remote.c 10288 10289 102902004-10-11 07:28:00 GMT Martin Pool <mbp@sourcefrog.net> patch-124 10291 10292 Summary: 10293 Adjust timeouts 10294 Revision: 10295 distcc--devel--2--patch-124 10296 10297 Short 5s CONNECT timeout covers only name resolution and TCP 10298 connection. 10299 10300 SEND phase and timeout should include sending the header, and waiting 10301 for cpp to complete. 60s to send. 10302 10303 Allow up to 20mins for compilation. 10304 10305 10306 modified files: 10307 ChangeLog src/remote.c src/serve.c 10308 10309 103102004-10-11 07:17:31 GMT Martin Pool <mbp@sourcefrog.net> patch-123 10311 10312 Summary: 10313 fix timeout crash bug 10314 Revision: 10315 distcc--devel--2--patch-123 10316 10317 Problem: Was using longjmp() from the SIGALRM handler to return an 10318 error. This is not safe. 10319 10320 Fix: Use siglongjmp() instead. That may not be completely safe 10321 either, but it might fix the problem. 10322 10323 modified files: 10324 ChangeLog NEWS src/timeout.c 10325 10326 103272004-10-11 06:24:35 GMT Martin Pool <mbp@sourcefrog.net> patch-122 10328 10329 Summary: 10330 Add test case for siglongjmp 10331 Revision: 10332 distcc--devel--2--patch-122 10333 10334 10335 new files: 10336 cases/.arch-ids/.arch-inventory.id 10337 cases/.arch-ids/tryjump.c.id cases/.arch-inventory 10338 cases/tryjump.c 10339 10340 modified files: 10341 ChangeLog NEWS 10342 10343 103442004-10-11 06:21:43 GMT Martin Pool <mbp@sourcefrog.net> patch-121 10345 10346 Summary: 10347 todo: problems with state file sharing 10348 Revision: 10349 distcc--devel--2--patch-121 10350 10351 10352 modified files: 10353 ChangeLog TODO 10354 10355 103562004-10-09 13:26:15 GMT Martin Pool <mbp@sourcefrog.net> patch-120 10357 10358 Summary: 10359 distccmon-text(1): Clarify client requirements 10360 Revision: 10361 distcc--devel--2--patch-120 10362 10363 10364 modified files: 10365 ChangeLog man/distccmon-text.1 10366 10367 103682004-09-25 10:01:05 GMT Martin Pool <mbp@sourcefrog.net> patch-119 10369 10370 Summary: 10371 doc 10372 Revision: 10373 distcc--devel--2--patch-119 10374 10375 10376 modified files: 10377 ChangeLog TODO 10378 10379 103802004-09-25 09:57:52 GMT Martin Pool <mbp@sourcefrog.net> patch-118 10381 10382 Summary: 10383 distcc.1: make it clearer this is a client-side monitor 10384 Revision: 10385 distcc--devel--2--patch-118 10386 10387 10388 modified files: 10389 ChangeLog man/distccmon-text.1 10390 10391 103922004-09-17 00:41:14 GMT Martin Pool <mbp@sourcefrog.net> patch-117 10393 10394 Summary: 10395 --allow is now mandatory 10396 Revision: 10397 distcc--devel--2--patch-117 10398 10399 10400 modified files: 10401 ChangeLog NEWS src/daemon.c src/dopt.c 10402 10403 104042004-09-16 05:58:09 GMT Martin Pool <mbp@sourcefrog.net> patch-116 10405 10406 Summary: 10407 sa_family_t Tru64 portability cleanup -- just remove test 10408 Revision: 10409 distcc--devel--2--patch-116 10410 10411 10412 modified files: 10413 ChangeLog NEWS configure.ac src/distcc.h 10414 10415 104162004-09-16 05:20:08 GMT Martin Pool <mbp@sourcefrog.net> patch-115 10417 10418 Summary: 10419 include state.h from within distcc.h 10420 Revision: 10421 distcc--devel--2--patch-115 10422 10423 10424 modified files: 10425 ChangeLog src/compile.c src/distcc.c src/distcc.h 10426 src/history.c src/mon-gnome.c src/mon-notify.c src/mon-text.c 10427 src/mon.c src/remote.c src/renderer.c src/serve.c src/state.c 10428 src/timeout.c src/where.c 10429 10430 104312004-09-16 05:12:42 GMT Martin Pool <mbp@sourcefrog.net> patch-114 10432 10433 Summary: 10434 doc 10435 Revision: 10436 distcc--devel--2--patch-114 10437 10438 10439 modified files: 10440 ChangeLog src/distcc.h 10441 10442 104432004-09-16 05:08:07 GMT Martin Pool <mbp@sourcefrog.net> patch-113 10444 10445 Summary: 10446 Improved check for gcc>=3.4 for warn_unused_result 10447 Revision: 10448 distcc--devel--2--patch-113 10449 10450 10451 modified files: 10452 ChangeLog src/distcc.h 10453 10454 104552004-09-16 04:55:26 GMT Martin Pool <mbp@sourcefrog.net> patch-112 10456 10457 Summary: 10458 fix enum type warning from Dmitri 10459 Revision: 10460 distcc--devel--2--patch-112 10461 10462 10463 modified files: 10464 ChangeLog src/distcc.h src/timeout.c 10465 10466 104672004-09-16 04:46:42 GMT Martin Pool <mbp@sourcefrog.net> patch-111 10468 10469 Summary: 10470 fix unused var warning 10471 Revision: 10472 distcc--devel--2--patch-111 10473 10474 10475 modified files: 10476 ChangeLog src/state.c 10477 10478 104792004-09-16 04:46:26 GMT Martin Pool <mbp@sourcefrog.net> patch-110 10480 10481 Summary: 10482 bump version 10483 Revision: 10484 distcc--devel--2--patch-110 10485 10486 10487 modified files: 10488 ChangeLog configure.ac 10489 10490 104912004-08-24 12:12:50 GMT Martin Pool <mbp@sourcefrog.net> patch-109 10492 10493 Summary: 10494 Prepare for 2.17.1 release 10495 Revision: 10496 distcc--devel--2--patch-109 10497 10498 10499 modified files: 10500 ChangeLog NEWS 10501 10502 105032004-08-24 12:10:43 GMT Martin Pool <mbp@sourcefrog.net> patch-108 10504 10505 Summary: 10506 Update version to 2.17.1 10507 Revision: 10508 distcc--devel--2--patch-108 10509 10510 10511 modified files: 10512 ChangeLog configure.ac 10513 10514 105152004-08-24 12:07:55 GMT Martin Pool <mbp@sourcefrog.net> patch-107 10516 10517 Summary: 10518 Don't use warn_unused_result on old gcc 10519 Revision: 10520 distcc--devel--2--patch-107 10521 10522 10523 modified files: 10524 ChangeLog src/distcc.h 10525 10526 105272004-08-13 22:06:05 GMT Martin Pool <mbp@sourcefrog.net> patch-106 10528 10529 Summary: 10530 distcc.1: better explanation of using distcc with ccache 10531 Revision: 10532 distcc--devel--2--patch-106 10533 10534 10535 modified files: 10536 ChangeLog Makefile.in man/distcc.1 10537 10538 105392004-08-06 00:34:21 GMT Martin Pool <mbp@sourcefrog.net> patch-105 10540 10541 Summary: 10542 doc 10543 Revision: 10544 distcc--devel--2--patch-105 10545 10546 10547 modified files: 10548 ChangeLog src/compile.c 10549 10550 105512004-08-05 23:29:15 GMT Martin Pool <mbp@sourcefrog.net> patch-104 10552 10553 Summary: 10554 Fix dcc_trace bug 10555 Revision: 10556 distcc--devel--2--patch-104 10557 10558 10559 modified files: 10560 ChangeLog NEWS src/clinet.c 10561 10562 105632004-08-02 18:41:07 GMT Martin Pool <mbp@sourcefrog.net> patch-103 10564 10565 Summary: 10566 doc 10567 Revision: 10568 distcc--devel--2--patch-103 10569 10570 10571 modified files: 10572 ChangeLog src/distcc.h 10573 10574 105752004-08-01 05:52:01 GMT Martin Pool <mbp@sourcefrog.net> patch-102 10576 10577 Summary: 10578 fix usage of dcc_timeout_arm 10579 Revision: 10580 distcc--devel--2--patch-102 10581 10582 10583 modified files: 10584 ChangeLog src/serve.c 10585 10586 105872004-08-01 05:50:45 GMT Martin Pool <mbp@sourcefrog.net> patch-101 10588 10589 Summary: 10590 prepare for 2.17 release 10591 Revision: 10592 distcc--devel--2--patch-101 10593 10594 10595 modified files: 10596 ChangeLog 10597 10598 105992004-08-01 05:49:42 GMT Martin Pool <mbp@sourcefrog.net> patch-100 10600 10601 Summary: 10602 add server-side timeouts 10603 Revision: 10604 distcc--devel--2--patch-100 10605 10606 10607 modified files: 10608 ChangeLog Makefile.in NEWS src/serve.c 10609 10610 106112004-08-01 05:45:46 GMT Martin Pool <mbp@sourcefrog.net> patch-99 10612 10613 Summary: 10614 fix usage of dcc_timeout_arm 10615 Revision: 10616 distcc--devel--2--patch-99 10617 10618 10619 modified files: 10620 ChangeLog src/remote.c 10621 10622 106232004-08-01 05:43:10 GMT Martin Pool <mbp@sourcefrog.net> patch-98 10624 10625 Summary: 10626 merge from happy 10627 Revision: 10628 distcc--devel--2--patch-98 10629 10630 Patches applied: 10631 10632 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-26 10633 dcc_timeout_arm: add WARN_UNUSED 10634 10635 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-27 10636 merge to devel 10637 10638 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-28 10639 add WARN_UNUSED to some functions 10640 10641 10642 modified files: 10643 ChangeLog src/distcc.h 10644 10645 new patches: 10646 mbp@sourcefrog.net--happy/distcc--devel--2--patch-26 10647 mbp@sourcefrog.net--happy/distcc--devel--2--patch-27 10648 mbp@sourcefrog.net--happy/distcc--devel--2--patch-28 10649 10650 106512004-08-01 05:39:19 GMT Martin Pool <mbp@sourcefrog.net> patch-97 10652 10653 Summary: 10654 add WARN_UNUSED to some functions 10655 Revision: 10656 distcc--devel--2--patch-97 10657 10658 Patches applied: 10659 10660 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-26 10661 dcc_timeout_arm: add WARN_UNUSED 10662 10663 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-27 10664 merge to devel 10665 10666 10667 modified files: 10668 ChangeLog src/distcc.h 10669 10670 106712004-07-29 21:38:23 GMT Martin Pool <mbp@sourcefrog.net> patch-96 10672 10673 Summary: 10674 cleanups 10675 Revision: 10676 distcc--devel--2--patch-96 10677 10678 Patches applied: 10679 10680 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-23 10681 check return codes from dcc_timeout_arm 10682 10683 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-24 10684 ifdef __attribute__ on GNUC 10685 10686 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-25 10687 dcc_build_somewhere: cleanup 10688 10689 10690 modified files: 10691 ChangeLog src/compile.c src/distcc.h 10692 10693 new patches: 10694 mbp@sourcefrog.net--happy/distcc--devel--2--patch-23 10695 mbp@sourcefrog.net--happy/distcc--devel--2--patch-24 10696 mbp@sourcefrog.net--happy/distcc--devel--2--patch-25 10697 10698 106992004-07-29 21:32:11 GMT Martin Pool <mbp@sourcefrog.net> patch-95 10700 10701 Summary: 10702 doc 10703 Revision: 10704 distcc--devel--2--patch-95 10705 10706 Patches applied: 10707 10708 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-16 10709 update todo items 10710 10711 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-17 10712 merged to devel 10713 10714 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-18 10715 doc 10716 10717 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-19 10718 notes on timeouts 10719 10720 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-20 10721 timeouts are done 10722 10723 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-21 10724 correct version number 10725 10726 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-22 10727 treat emacs temporary files as backups 10728 10729 10730 modified files: 10731 ChangeLog NEWS TODO configure.ac doc/roadmap.txt src/remote.c 10732 {arch}/=tagging-method 10733 10734 new patches: 10735 mbp@sourcefrog.net--happy/distcc--devel--2--patch-16 10736 mbp@sourcefrog.net--happy/distcc--devel--2--patch-17 10737 mbp@sourcefrog.net--happy/distcc--devel--2--patch-18 10738 mbp@sourcefrog.net--happy/distcc--devel--2--patch-19 10739 mbp@sourcefrog.net--happy/distcc--devel--2--patch-20 10740 mbp@sourcefrog.net--happy/distcc--devel--2--patch-21 10741 mbp@sourcefrog.net--happy/distcc--devel--2--patch-22 10742 10743 107442004-07-29 19:35:33 GMT Martin Pool <mbp@sourcefrog.net> patch-94 10745 10746 Summary: 10747 more timeouts and cleanups 10748 Revision: 10749 distcc--devel--2--patch-94 10750 10751 Patches applied: 10752 10753 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-11 10754 portability fix for WCOREDUMP 10755 10756 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-12 10757 remove obsolete patch 10758 10759 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-13 10760 dcc_compile_remote: add more client-side timeouts 10761 10762 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-14 10763 dcc_connect_by_addr: handle EINTR from connect() 10764 10765 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-15 10766 bump version number 10767 10768 10769 removed files: 10770 patches/.arch-ids/resolver-timeout.diff.id 10771 patches/resolver-timeout.diff 10772 10773 modified files: 10774 ChangeLog NEWS configure.ac src/clinet.c src/distcc.h 10775 src/exec.c src/remote.c 10776 10777 new patches: 10778 mbp@sourcefrog.net--happy/distcc--devel--2--patch-11 10779 mbp@sourcefrog.net--happy/distcc--devel--2--patch-12 10780 mbp@sourcefrog.net--happy/distcc--devel--2--patch-13 10781 mbp@sourcefrog.net--happy/distcc--devel--2--patch-14 10782 mbp@sourcefrog.net--happy/distcc--devel--2--patch-15 10783 10784 107852004-07-29 19:12:49 GMT Martin Pool <mbp@sourcefrog.net> patch-93 10786 10787 Summary: 10788 alarm-based connection timeout 10789 Revision: 10790 distcc--devel--2--patch-93 10791 10792 Patches applied: 10793 10794 * mbp@sourcefrog.net--happy/distcc--devel--2--base-0 10795 import from ozlabs 10796 10797 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-1 10798 tweak version output more 10799 10800 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-2 10801 Add EXIT_TIMEOUT 10802 10803 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-3 10804 Add overall connection timeout 10805 10806 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-4 10807 remove docs for deleted DISTCC_CONNECT_TIMEOUT 10808 10809 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-5 10810 fold in backoff.h 10811 10812 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-6 10813 remove select-based timeout in client connect 10814 10815 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-7 10816 dcc_connect_by_addr: remove host and port params 10817 10818 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-8 10819 dcc_connect_by_addr: cleanup trace 10820 10821 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-9 10822 dcc_build_somewhere: better message on fallback 10823 10824 * mbp@sourcefrog.net--happy/distcc--devel--2--patch-10 10825 dcc_timeout_arm: doc 10826 10827 10828 new files: 10829 src/.arch-ids/timeout.c.id src/timeout.c 10830 10831 removed files: 10832 src/.arch-ids/backoff.h.id src/backoff.h 10833 10834 modified files: 10835 ChangeLog Makefile.in NEWS man/distcc.1 src/backoff.c 10836 src/clinet.c src/compile.c src/distcc.h src/exitcode.h 10837 src/help.c src/remote.c src/ssh.c src/util.c src/util.h 10838 src/where.c 10839 10840 new patches: 10841 mbp@sourcefrog.net--happy/distcc--devel--2--base-0 10842 mbp@sourcefrog.net--happy/distcc--devel--2--patch-1 10843 mbp@sourcefrog.net--happy/distcc--devel--2--patch-2 10844 mbp@sourcefrog.net--happy/distcc--devel--2--patch-3 10845 mbp@sourcefrog.net--happy/distcc--devel--2--patch-4 10846 mbp@sourcefrog.net--happy/distcc--devel--2--patch-5 10847 mbp@sourcefrog.net--happy/distcc--devel--2--patch-6 10848 mbp@sourcefrog.net--happy/distcc--devel--2--patch-7 10849 mbp@sourcefrog.net--happy/distcc--devel--2--patch-8 10850 mbp@sourcefrog.net--happy/distcc--devel--2--patch-9 10851 mbp@sourcefrog.net--happy/distcc--devel--2--patch-10 10852 10853 108542004-07-28 18:38:20 GMT Martin Pool <mbp@sourcefrog.net> patch-92 10855 10856 Summary: 10857 mention miniLZO in --version 10858 Revision: 10859 distcc--devel--2--patch-92 10860 10861 10862 modified files: 10863 ChangeLog src/help.c 10864 10865 108662004-07-23 13:47:05 GMT Martin Pool <mbp@sourcefrog.net> patch-91 10867 10868 Summary: 10869 Manpage fix from Jean Delvare. 10870 Revision: 10871 distcc--devel--2--patch-91 10872 10873 10874 modified files: 10875 ChangeLog NEWS man/distcc.1 10876 10877 108782004-07-15 08:27:57 GMT Martin Pool <mbp@sourcefrog.net> patch-90 10879 10880 Summary: 10881 Add CVE number for netmask problem 10882 Revision: 10883 distcc--devel--2--patch-90 10884 10885 10886 modified files: 10887 ChangeLog NEWS 10888 10889 108902004-07-14 05:32:41 GMT Martin Pool <mbp@sourcefrog.net> patch-89 10891 10892 Summary: 10893 notes on mod_backhand load balancing 10894 Revision: 10895 distcc--devel--2--patch-89 10896 10897 10898 new files: 10899 doc/todo/.arch-ids/backhand.txt.id doc/todo/backhand.txt 10900 10901 modified files: 10902 ChangeLog 10903 10904 109052004-07-14 05:32:16 GMT Martin Pool <mbp@sourcefrog.net> patch-88 10906 10907 Summary: 10908 dcc_set_row_idle: reduce unnecessary tree model updates 10909 Revision: 10910 distcc--devel--2--patch-88 10911 10912 10913 modified files: 10914 ChangeLog src/mon-gnome.c 10915 10916 109172004-07-14 05:27:54 GMT Martin Pool <mbp@sourcefrog.net> patch-87 10918 10919 Summary: 10920 dcc_build_somewhere: don't retry if remote compiler crashed 10921 Revision: 10922 distcc--devel--2--patch-87 10923 10924 10925 modified files: 10926 ChangeLog NEWS src/compile.c 10927 10928 109292004-07-12 07:39:35 GMT Martin Pool <mbp@sourcefrog.net> patch-86 10930 10931 Summary: 10932 Cleanup 10933 Revision: 10934 distcc--devel--2--patch-86 10935 10936 10937 modified files: 10938 ChangeLog src/mon-gnome.c 10939 10940 109412004-07-12 07:23:46 GMT Martin Pool <mbp@sourcefrog.net> patch-85 10942 10943 Summary: 10944 make sure idle periods get drawn in history 10945 Revision: 10946 distcc--devel--2--patch-85 10947 10948 10949 modified files: 10950 ChangeLog src/renderer.c 10951 10952 109532004-07-12 07:21:41 GMT Martin Pool <mbp@sourcefrog.net> patch-84 10954 10955 Summary: 10956 mon-gnome: Use circular array not GQueue for history 10957 Revision: 10958 distcc--devel--2--patch-84 10959 10960 Using a doubly-linked list to hold integers uses a lot of time and 10961 memory. Instead we use just a simple circular array. 10962 10963 history.c: New file holding this. 10964 10965 10966 new files: 10967 src/.arch-ids/history.c.id src/history.c 10968 10969 modified files: 10970 ChangeLog Makefile.in NEWS src/mon-gnome.c src/mon.h 10971 src/renderer.c 10972 10973 109742004-07-12 06:53:56 GMT Martin Pool <mbp@sourcefrog.net> patch-83 10975 10976 Summary: 10977 s/dcc_history/dcc_task_state/ 10978 Revision: 10979 distcc--devel--2--patch-83 10980 10981 10982 modified files: 10983 ChangeLog src/mon-fake.c src/mon-gnome.c src/mon-text.c 10984 src/mon.c src/mon.h src/state.c src/state.h 10985 10986 109872004-07-12 06:49:54 GMT Martin Pool <mbp@sourcefrog.net> patch-82 10988 10989 Summary: 10990 s/dcc_state/dcc_phase/ 10991 Revision: 10992 distcc--devel--2--patch-82 10993 10994 10995 modified files: 10996 ChangeLog src/mon-fake.c src/mon-gnome.c src/mon-text.c 10997 src/mon.c src/mon.h src/renderer.c src/renderer.h src/state.c 10998 src/state.h 10999 11000 110012004-07-12 06:46:16 GMT Martin Pool <mbp@sourcefrog.net> patch-81 11002 11003 Summary: 11004 Rename DCC_STATE_* to DCC_PHASE_* 11005 Revision: 11006 distcc--devel--2--patch-81 11007 11008 11009 modified files: 11010 ChangeLog src/clirpc.c src/compile.c src/mon-fake.c 11011 src/mon-gnome.c src/mon-text.c src/mon.c src/remote.c 11012 src/renderer.c src/renderer.h src/state.c src/state.h 11013 src/where.c 11014 11015 110162004-07-12 06:45:29 GMT Martin Pool <mbp@sourcefrog.net> patch-80 11017 11018 Summary: 11019 Fix warning 11020 Revision: 11021 distcc--devel--2--patch-80 11022 11023 11024 modified files: 11025 ChangeLog src/daemon.h 11026 11027 110282004-07-12 06:39:40 GMT Martin Pool <mbp@sourcefrog.net> patch-79 11029 11030 Summary: 11031 Doc 11032 Revision: 11033 distcc--devel--2--patch-79 11034 11035 11036 modified files: 11037 ChangeLog src/mon-gnome.c 11038 11039 110402004-07-12 06:20:10 GMT Martin Pool <mbp@sourcefrog.net> patch-78 11041 11042 Summary: 11043 dcc_draw_state_stripe: inline into the only caller 11044 Revision: 11045 distcc--devel--2--patch-78 11046 11047 11048 modified files: 11049 ChangeLog src/renderer.c 11050 11051 110522004-07-12 05:24:32 GMT Martin Pool <mbp@sourcefrog.net> patch-77 11053 11054 Summary: 11055 Doc 11056 Revision: 11057 distcc--devel--2--patch-77 11058 11059 11060 modified files: 11061 ChangeLog src/renderer.c 11062 11063 110642004-07-09 05:16:20 GMT Martin Pool <mbp@sourcefrog.net> patch-76 11065 11066 Summary: 11067 todo: monitor ideas 11068 Revision: 11069 distcc--devel--2--patch-76 11070 11071 11072 new files: 11073 doc/todo/.arch-ids/monitor-clear.txt.id 11074 doc/todo/.arch-ids/monitor-count.txt.id 11075 doc/todo/monitor-clear.txt doc/todo/monitor-count.txt 11076 11077 modified files: 11078 ChangeLog 11079 11080 110812004-07-09 04:56:11 GMT Martin Pool <mbp@sourcefrog.net> patch-75 11082 11083 Summary: 11084 benchmark: notes on building glibc 11085 Revision: 11086 distcc--devel--2--patch-75 11087 11088 11089 modified files: 11090 ChangeLog bench/ProjectDefs.py 11091 11092 110932004-07-08 07:40:50 GMT Martin Pool <mbp@sourcefrog.net> patch-74 11094 11095 Summary: 11096 fix warnings about sockaddr 11097 Revision: 11098 distcc--devel--2--patch-74 11099 11100 11101 modified files: 11102 ChangeLog src/netutil.h 11103 11104 111052004-07-08 07:39:35 GMT Martin Pool <mbp@sourcefrog.net> patch-73 11106 11107 Summary: 11108 setuid.h: remove 11109 Revision: 11110 distcc--devel--2--patch-73 11111 11112 11113 removed files: 11114 src/.arch-ids/setuid.h.id src/setuid.h 11115 11116 modified files: 11117 ChangeLog Makefile.in src/daemon.c src/daemon.h src/dopt.c 11118 src/setuid.c 11119 11120 111212004-07-08 07:36:08 GMT Martin Pool <mbp@sourcefrog.net> patch-72 11122 11123 Summary: 11124 filename.h: remove 11125 Revision: 11126 distcc--devel--2--patch-72 11127 11128 11129 removed files: 11130 src/.arch-ids/filename.h.id src/filename.h 11131 11132 modified files: 11133 ChangeLog Makefile.in src/arg.c src/argutil.c src/cpp.c 11134 src/distcc.c src/distcc.h src/filename.c src/h_exten.c 11135 src/h_issource.c src/implicit.c src/mon-notify.c 11136 src/mon-text.c src/mon.c src/serve.c src/srvrpc.c src/state.c 11137 11138 111392004-07-08 07:32:43 GMT Martin Pool <mbp@sourcefrog.net> patch-71 11140 11141 Summary: 11142 cpp.h: removed 11143 Revision: 11144 distcc--devel--2--patch-71 11145 11146 11147 removed files: 11148 src/.arch-ids/cpp.h.id src/cpp.h 11149 11150 modified files: 11151 ChangeLog Makefile.in src/compile.c src/cpp.c src/distcc.h 11152 11153 111542004-07-08 07:31:15 GMT Martin Pool <mbp@sourcefrog.net> patch-70 11155 11156 Summary: 11157 strip.h: removed 11158 Revision: 11159 distcc--devel--2--patch-70 11160 11161 11162 removed files: 11163 src/.arch-ids/strip.h.id src/strip.h 11164 11165 modified files: 11166 ChangeLog doc/roadmap.txt src/compile.c src/cpp.c src/distcc.h 11167 src/h_strip.c src/strip.c 11168 11169 111702004-07-08 06:02:34 GMT Martin Pool <mbp@sourcefrog.net> patch-69 11171 11172 Summary: 11173 doc 11174 Revision: 11175 distcc--devel--2--patch-69 11176 11177 11178 modified files: 11179 ChangeLog src/mon-text.c 11180 11181 111822004-07-08 05:57:05 GMT Martin Pool <mbp@sourcefrog.net> patch-68 11183 11184 Summary: 11185 note leak fixes 11186 Revision: 11187 distcc--devel--2--patch-68 11188 11189 11190 modified files: 11191 ChangeLog 11192 11193 111942004-07-08 05:56:54 GMT Martin Pool <mbp@sourcefrog.net> patch-67 11195 11196 Summary: 11197 distccmon-text: fix memory leak 11198 Revision: 11199 distcc--devel--2--patch-67 11200 11201 11202 modified files: 11203 ChangeLog src/mon-text.c 11204 11205 112062004-07-08 05:52:06 GMT Martin Pool <mbp@sourcefrog.net> patch-66 11207 11208 Summary: 11209 dcc_history_free: Fix memory leak 11210 Revision: 11211 distcc--devel--2--patch-66 11212 11213 11214 modified files: 11215 ChangeLog src/mon.c 11216 11217 112182004-07-08 05:48:31 GMT Martin Pool <mbp@sourcefrog.net> patch-65 11219 11220 Summary: 11221 mon-gnome: fix leak in setting title; don't set title twice 11222 Revision: 11223 distcc--devel--2--patch-65 11224 11225 11226 modified files: 11227 ChangeLog src/mon-gnome.c 11228 11229 112302004-07-08 05:10:10 GMT Martin Pool <mbp@sourcefrog.net> patch-64 11231 11232 Summary: 11233 dcc_mon_load_state: fix leak on error path 11234 Revision: 11235 distcc--devel--2--patch-64 11236 11237 11238 modified files: 11239 ChangeLog NEWS src/mon.c 11240 11241 112422004-07-08 04:56:58 GMT Martin Pool <mbp@sourcefrog.net> patch-63 11243 11244 Summary: 11245 Prepare for 2.16 release 11246 Revision: 11247 distcc--devel--2--patch-63 11248 11249 11250 modified files: 11251 ChangeLog NEWS configure.ac 11252 11253 112542004-07-08 04:52:43 GMT Martin Pool <mbp@sourcefrog.net> patch-62 11255 11256 Summary: 11257 distccmon-gnome: use a GNOME status bar with a grab handle 11258 Revision: 11259 distcc--devel--2--patch-62 11260 11261 Patch from Nathan Fredrickson. 11262 11263 11264 modified files: 11265 ChangeLog NEWS src/mon-gnome.c 11266 11267 112682004-07-08 04:32:35 GMT Martin Pool <mbp@sourcefrog.net> patch-61 11269 11270 Summary: 11271 testdistcc.py: update to work on ia64 linux 11272 Revision: 11273 distcc--devel--2--patch-61 11274 11275 11276 modified files: 11277 ChangeLog NEWS test/testdistcc.py 11278 11279 112802004-07-08 04:31:44 GMT Martin Pool <mbp@sourcefrog.net> patch-60 11281 11282 Summary: 11283 Rephrase news 11284 Revision: 11285 distcc--devel--2--patch-60 11286 11287 11288 modified files: 11289 ChangeLog NEWS 11290 11291 112922004-07-07 05:49:15 GMT Martin Pool <mbp@sourcefrog.net> patch-59 11293 11294 Summary: 11295 testdistcc: allow for --version output to have more than two lines 11296 Revision: 11297 distcc--devel--2--patch-59 11298 11299 11300 modified files: 11301 ChangeLog test/testdistcc.py 11302 11303 113042004-07-07 05:44:23 GMT Martin Pool <mbp@sourcefrog.net> patch-58 11305 11306 Summary: 11307 dcc_parse_mask: fix 64-bit bugs 11308 Revision: 11309 distcc--devel--2--patch-58 11310 11311 11312 modified files: 11313 ChangeLog NEWS src/access.c 11314 11315 113162004-07-07 05:21:02 GMT Martin Pool <mbp@sourcefrog.net> patch-57 11317 11318 Summary: 11319 h_parsemask: stub for trace 11320 Revision: 11321 distcc--devel--2--patch-57 11322 11323 11324 modified files: 11325 ChangeLog src/h_parsemask.c 11326 11327 113282004-07-07 04:47:00 GMT Martin Pool <mbp@sourcefrog.net> patch-56 11329 11330 Summary: 11331 dcc_show_version: Include copyright and licence 11332 Revision: 11333 distcc--devel--2--patch-56 11334 11335 11336 modified files: 11337 ChangeLog NEWS src/distcc.c src/distcc.h src/dopt.c src/help.c 11338 11339 113402004-07-07 04:38:53 GMT Martin Pool <mbp@sourcefrog.net> patch-55 11341 11342 Summary: 11343 configure: if using system popt, need to use -lpopt 11344 Revision: 11345 distcc--devel--2--patch-55 11346 11347 11348 modified files: 11349 ChangeLog configure.ac 11350 11351 113522004-07-07 02:14:54 GMT Martin Pool <mbp@sourcefrog.net> patch-54 11353 11354 Summary: 11355 dcc_log_child_exited: Fix bizarre syntax bug, remove #ifdef 11356 Revision: 11357 distcc--devel--2--patch-54 11358 11359 11360 modified files: 11361 ChangeLog NEWS src/dparent.c 11362 11363 113642004-07-07 02:07:47 GMT Martin Pool <mbp@sourcefrog.net> patch-53 11365 11366 Summary: 11367 draft patch for faster polling when blocked 11368 Revision: 11369 distcc--devel--2--patch-53 11370 11371 11372 new files: 11373 patches/.arch-ids/shorter-boredom-poll.diff.id 11374 patches/shorter-boredom-poll.diff 11375 11376 modified files: 11377 ChangeLog 11378 11379 113802004-07-07 02:06:53 GMT Martin Pool <mbp@sourcefrog.net> patch-52 11381 11382 Summary: 11383 doc: note popt fix 11384 Revision: 11385 distcc--devel--2--patch-52 11386 11387 11388 modified files: 11389 ChangeLog NEWS 11390 11391 113922004-07-07 01:59:58 GMT Martin Pool <mbp@sourcefrog.net> patch-51 11393 11394 Summary: 11395 doc: benchmarks 11396 Revision: 11397 distcc--devel--2--patch-51 11398 11399 11400 modified files: 11401 ChangeLog doc/results.txt 11402 11403 114042004-07-07 01:59:39 GMT Martin Pool <mbp@sourcefrog.net> patch-50 11405 11406 Summary: 11407 configure.ac: fix problem detecting popt.h 11408 Revision: 11409 distcc--devel--2--patch-50 11410 11411 Problem: Some people might have libpopt, but no popt.h, in which case 11412 we tried to use the system copy and failed. 11413 11414 Fix: Check for popt.h. If not present, use ./popt. 11415 11416 modified files: 11417 ChangeLog configure.ac 11418 11419 114202004-07-06 13:05:12 GMT Martin Pool <mbp@sourcefrog.net> patch-49 11421 11422 Summary: 11423 Prepare for 2.15 release 11424 Revision: 11425 distcc--devel--2--patch-49 11426 11427 11428 modified files: 11429 ChangeLog NEWS configure.ac 11430 11431 114322004-07-06 13:00:16 GMT Martin Pool <mbp@sourcefrog.net> patch-48 11433 11434 Summary: 11435 Notes on version checking 11436 Revision: 11437 distcc--devel--2--patch-48 11438 11439 11440 modified files: 11441 ChangeLog doc/todo/version-check.txt 11442 11443 114442004-07-06 12:47:38 GMT Martin Pool <mbp@sourcefrog.net> patch-47 11445 11446 Summary: 11447 Doc 11448 Revision: 11449 distcc--devel--2--patch-47 11450 11451 11452 new files: 11453 doc/todo/.arch-ids/monitor-legend.txt.id 11454 doc/todo/monitor-legend.txt 11455 11456 modified files: 11457 ChangeLog 11458 11459 114602004-07-06 09:03:44 GMT Martin Pool <mbp@sourcefrog.net> patch-46 11461 11462 Summary: 11463 compress: assume a larger decompression buffer by default so less likely to retry 11464 Revision: 11465 distcc--devel--2--patch-46 11466 11467 11468 modified files: 11469 ChangeLog src/compress.c 11470 11471 114722004-07-06 08:50:24 GMT Martin Pool <mbp@sourcefrog.net> patch-45 11473 11474 Summary: 11475 remove mmap/lzo support 11476 Revision: 11477 distcc--devel--2--patch-45 11478 11479 11480 modified files: 11481 ChangeLog NEWS doc/results.txt src/compress.c 11482 11483 114842004-07-06 08:27:44 GMT Martin Pool <mbp@sourcefrog.net> patch-44 11485 11486 Summary: 11487 dcc_r_bulk_lzo1x: fix nasty bug in mmap recv lzo 11488 Revision: 11489 distcc--devel--2--patch-44 11490 11491 When reading in compressed data, our initial buffer might not be large 11492 enough for the actual compressed data, so we need to free it and make 11493 a larger one. When freeing the mmapped buffer, we need to pass both 11494 address and length of the mapping. 11495 11496 The bug was that we increased the length before unmapping and 11497 therefore randomly unmapped some block of memory, causing a crash 11498 later on. 11499 11500 Fix: don't increase the length until we're done with the old value. 11501 11502 This code is really too complex to be safe. 11503 11504 modified files: 11505 ChangeLog src/compress.c 11506 11507 115082004-07-06 08:09:27 GMT Martin Pool <mbp@sourcefrog.net> patch-43 11509 11510 Summary: 11511 fix warning 11512 Revision: 11513 distcc--devel--2--patch-43 11514 11515 11516 modified files: 11517 ChangeLog src/daemon.c 11518 11519 115202004-07-06 08:09:03 GMT Martin Pool <mbp@sourcefrog.net> patch-42 11521 11522 Summary: 11523 tempfile.h: remove 11524 Revision: 11525 distcc--devel--2--patch-42 11526 11527 11528 removed files: 11529 src/.arch-ids/tempfile.h.id src/tempfile.h 11530 11531 modified files: 11532 ChangeLog Makefile.in src/backoff.c src/cleanup.c src/cpp.c 11533 src/daemon.c src/distcc.c src/distcc.h src/dparent.c 11534 src/dsignal.c src/hosts.c src/lock.c src/mon-notify.c 11535 src/mon-text.c src/mon.c src/prefork.c src/remote.c 11536 src/serve.c src/state.c src/tempfile.c src/timefile.c 11537 src/where.c 11538 11539 115402004-07-06 08:06:57 GMT Martin Pool <mbp@sourcefrog.net> patch-41 11541 11542 Summary: 11543 distccd: chdir to $TMPDIR not / at startup 11544 Revision: 11545 distcc--devel--2--patch-41 11546 11547 11548 modified files: 11549 ChangeLog NEWS src/daemon.c 11550 11551 115522004-07-06 08:05:30 GMT Martin Pool <mbp@sourcefrog.net> patch-40 11553 11554 Summary: 11555 dcc_get_tmp_top: make public 11556 Revision: 11557 distcc--devel--2--patch-40 11558 11559 11560 modified files: 11561 ChangeLog src/tempfile.c src/tempfile.h 11562 11563 115642004-07-06 08:00:29 GMT Martin Pool <mbp@sourcefrog.net> patch-39 11565 11566 Summary: 11567 dcc_log_child_exited: indicate if core was produced 11568 Revision: 11569 distcc--devel--2--patch-39 11570 11571 11572 modified files: 11573 ChangeLog src/dparent.c 11574 11575 115762004-07-06 05:10:05 GMT Martin Pool <mbp@sourcefrog.net> patch-38 11577 11578 Summary: 11579 11580 Revision: 11581 distcc--devel--2--patch-38 11582 11583 11584 11585 11586 modified files: 11587 ChangeLog src/arg.c src/argutil.c src/distcc.c src/distcc.h 11588 src/implicit.c 11589 11590 115912004-07-06 05:03:25 GMT Martin Pool <mbp@sourcefrog.net> patch-37 11592 11593 Summary: 11594 argutil.c: Doc 11595 Revision: 11596 distcc--devel--2--patch-37 11597 11598 11599 modified files: 11600 ChangeLog src/argutil.c 11601 11602 116032004-07-06 05:00:57 GMT Martin Pool <mbp@sourcefrog.net> patch-36 11604 11605 Summary: 11606 arg.h: fold into distcc.h 11607 Revision: 11608 distcc--devel--2--patch-36 11609 11610 11611 removed files: 11612 src/.arch-ids/arg.h.id src/arg.h 11613 11614 modified files: 11615 ChangeLog Makefile.in src/arg.c src/argutil.c src/clirpc.c 11616 src/compile.c src/cpp.c src/distcc.c src/distcc.h src/exec.c 11617 src/h_argvtostr.c src/h_ccvers.c src/h_scanargs.c 11618 src/h_strip.c src/implicit.c src/serve.c src/srvrpc.c 11619 src/ssh.c src/strip.c 11620 11621 116222004-07-06 04:54:15 GMT Martin Pool <mbp@sourcefrog.net> patch-35 11623 11624 Summary: 11625 dcc_free_argv: new function 11626 Revision: 11627 distcc--devel--2--patch-35 11628 11629 11630 modified files: 11631 ChangeLog src/arg.h src/argutil.c 11632 11633 116342004-07-06 04:47:46 GMT Martin Pool <mbp@sourcefrog.net> patch-34 11635 11636 Summary: 11637 Remove redundant temporary file cleanup in non-forking mode. 11638 Revision: 11639 distcc--devel--2--patch-34 11640 11641 11642 modified files: 11643 ChangeLog NEWS src/dparent.c src/serve.c 11644 11645 116462004-06-18 23:47:56 GMT Martin Pool <mbp@sourcefrog.net> patch-33 11647 11648 Summary: 11649 roadmap update 11650 Revision: 11651 distcc--devel--2--patch-33 11652 11653 11654 modified files: 11655 ChangeLog doc/roadmap.txt 11656 11657 116582004-06-17 04:15:48 GMT Martin Pool <mbp@sourcefrog.net> patch-32 11659 11660 Summary: 11661 Doc 11662 Revision: 11663 distcc--devel--2--patch-32 11664 11665 11666 modified files: 11667 ChangeLog src/lock.c 11668 11669 116702004-06-12 08:47:59 GMT Martin Pool <mbp@sourcefrog.net> patch-31 11671 11672 Summary: 11673 dcc_service_job: Doc 11674 Revision: 11675 distcc--devel--2--patch-31 11676 11677 11678 modified files: 11679 ChangeLog src/serve.c 11680 11681 116822004-06-11 08:31:22 GMT Martin Pool <mbp@sourcefrog.net> patch-30 11683 11684 Summary: 11685 protocol-3: I think there's no need for hash after all 11686 Revision: 11687 distcc--devel--2--patch-30 11688 11689 11690 modified files: 11691 ChangeLog doc/protocol-3.txt 11692 11693 116942004-06-11 08:19:20 GMT Martin Pool <mbp@sourcefrog.net> patch-29 11695 11696 Summary: 11697 protocol-3: describe request format; propose adding CRC 11698 Revision: 11699 distcc--devel--2--patch-29 11700 11701 11702 modified files: 11703 ChangeLog doc/protocol-3.txt 11704 11705 117062004-06-10 04:55:25 GMT Martin Pool <mbp@sourcefrog.net> patch-28 11707 11708 Summary: 11709 protocol-3 design development 11710 Revision: 11711 distcc--devel--2--patch-28 11712 11713 11714 modified files: 11715 ChangeLog doc/protocol-3.txt 11716 11717 117182004-06-10 03:18:55 GMT Martin Pool <mbp@hp.com> patch-27 11719 11720 Summary: 11721 todo: notes on file permissions 11722 Revision: 11723 distcc--devel--2--patch-27 11724 11725 11726 new files: 11727 doc/todo/.arch-ids/permissions.txt.id doc/todo/permissions.txt 11728 11729 modified files: 11730 ChangeLog TODO 11731 11732 117332004-06-10 02:47:13 GMT Martin Pool <mbp@hp.com> patch-26 11734 11735 Summary: 11736 cases/hello.c: Include more headers to trigger compression 11737 Revision: 11738 distcc--devel--2--patch-26 11739 11740 11741 modified files: 11742 ChangeLog cases/hello.c 11743 11744 117452004-06-01 06:52:14 GMT Martin Pool <mbp@hp.com> patch-25 11746 11747 Summary: 11748 distccmon-text(1) typo fix from Lisa 11749 Revision: 11750 distcc--devel--2--patch-25 11751 11752 11753 modified files: 11754 ChangeLog man/distccmon-text.1 11755 11756 117572004-05-30 05:54:37 GMT Martin Pool <mbp@sourcefrog.net> patch-24 11758 11759 Summary: 11760 Add fixme comments for places where memory is probably leaked 11761 Revision: 11762 distcc--devel--2--patch-24 11763 11764 11765 modified files: 11766 ChangeLog src/arg.c src/compile.c src/cpp.c src/where.c 11767 11768 117692004-05-30 05:48:09 GMT Martin Pool <mbp@sourcefrog.net> patch-23 11770 11771 Summary: 11772 Doc 11773 Revision: 11774 distcc--devel--2--patch-23 11775 11776 11777 new files: 11778 doc/todo/.arch-ids/gnome-leak.txt.id doc/todo/gnome-leak.txt 11779 11780 modified files: 11781 ChangeLog 11782 11783 117842004-05-29 05:10:27 GMT Martin Pool <mbp@sourcefrog.net> patch-22 11785 11786 Summary: 11787 More TODO notes on scheduling 11788 Revision: 11789 distcc--devel--2--patch-22 11790 11791 11792 11793 new files: 11794 doc/todo/.arch-ids/host-selection.txt.id 11795 doc/todo/.arch-ids/randomize-order.txt.id 11796 doc/todo/host-selection.txt doc/todo/randomize-order.txt 11797 11798 modified files: 11799 ChangeLog 11800 11801 118022004-05-28 23:42:32 GMT Martin Pool <mbp@sourcefrog.net> patch-21 11803 11804 Summary: 11805 patch from joshh to randomize host list 11806 Revision: 11807 distcc--devel--2--patch-21 11808 11809 In http://lists.samba.org/archive/distcc/2004q2/002250.html, Dan 11810 proposed randomizing the hosts list. Here's a patch to add that 11811 feature, controlled by a special --randomize option in the hosts list. 11812 On a large shared build cluster, this helps spread the load 11813 without requiring separate hosts lists for each user. 11814 Martin, what do you think? 11815 11816 11817 11818 11819 new files: 11820 patches/.arch-ids/joshh-random.diff.id 11821 patches/joshh-random.diff 11822 11823 modified files: 11824 ChangeLog 11825 11826 118272004-05-08 12:16:47 GMT Martin Pool <mbp@sourcefrog.net> patch-20 11828 11829 Summary: 11830 Update plans 11831 Revision: 11832 distcc--devel--2--patch-20 11833 11834 11835 new files: 11836 doc/todo/.arch-ids/window-geometry.txt.id 11837 doc/todo/window-geometry.txt 11838 11839 modified files: 11840 ChangeLog doc/roadmap.txt 11841 11842 118432004-05-06 03:20:08 GMT Martin Pool <mbp@sourcefrog.net> patch-19 11844 11845 Summary: 11846 'make uninstall' note 11847 Revision: 11848 distcc--devel--2--patch-19 11849 11850 11851 new files: 11852 doc/todo/.arch-ids/make-uninstall.txt.id 11853 doc/todo/make-uninstall.txt 11854 11855 modified files: 11856 ChangeLog 11857 11858 118592004-05-05 06:34:07 GMT Martin Pool <mbp@sourcefrog.net> patch-18 11860 11861 Summary: 11862 Doc 11863 Revision: 11864 distcc--devel--2--patch-18 11865 11866 11867 modified files: 11868 ChangeLog NEWS src/remote.c 11869 11870 118712004-05-03 00:41:02 GMT Martin Pool <mbp@sourcefrog.net> patch-17 11872 11873 Summary: 11874 Red Hat fix from Colin 11875 Revision: 11876 distcc--devel--2--patch-17 11877 11878 Patches applied: 11879 11880 * walters@verbum.org--2003/distcc--devel--2.14--patch-5 11881 merge from mbp 11882 11883 * walters@verbum.org--2003/distcc--devel--2.14--patch-6 11884 actually expand variables 11885 11886 11887 modified files: 11888 ChangeLog contrib/redhat/init contrib/redhat/logrotate 11889 contrib/redhat/xinetd 11890 11891 new patches: 11892 walters@verbum.org--2003/distcc--devel--2.14--patch-5 11893 walters@verbum.org--2003/distcc--devel--2.14--patch-6 11894 11895 118962004-05-02 10:42:57 GMT Martin Pool <mbp@sourcefrog.net> patch-16 11897 11898 Summary: 11899 Note rate calculation 11900 Revision: 11901 distcc--devel--2--patch-16 11902 11903 11904 modified files: 11905 ChangeLog NEWS 11906 11907 119082004-05-02 10:40:35 GMT Martin Pool <mbp@sourcefrog.net> patch-15 11909 11910 Summary: 11911 Client calculates overall compilation rate for remote jobs 11912 Revision: 11913 distcc--devel--2--patch-15 11914 11915 11916 modified files: 11917 ChangeLog src/bulk.c src/distcc.h src/remote.c 11918 11919 119202004-05-02 10:30:00 GMT Martin Pool <mbp@sourcefrog.net> patch-14 11921 11922 Summary: 11923 Collect SSH child even when it fails 11924 Revision: 11925 distcc--devel--2--patch-14 11926 11927 11928 modified files: 11929 ChangeLog src/remote.c 11930 11931 119322004-05-02 10:22:22 GMT Martin Pool <mbp@sourcefrog.net> patch-13 11933 11934 Summary: 11935 Remove unnecessary check that cpp produced output 11936 Revision: 11937 distcc--devel--2--patch-13 11938 11939 11940 modified files: 11941 ChangeLog src/remote.c 11942 11943 119442004-05-02 10:20:01 GMT Martin Pool <mbp@sourcefrog.net> patch-12 11945 11946 Summary: 11947 Pass back size of transmitted files 11948 Revision: 11949 distcc--devel--2--patch-12 11950 11951 Also fix printf formats for file sizes. 11952 11953 Remove old prototype for dcc_x_file_timed. 11954 11955 modified files: 11956 ChangeLog src/bulk.c src/bulk.h src/remote.c src/serve.c 11957 11958 119592004-05-02 10:06:11 GMT Martin Pool <mbp@sourcefrog.net> patch-11 11960 11961 Summary: 11962 Ignore gtags temporaries 11963 Revision: 11964 distcc--devel--2--patch-11 11965 11966 11967 modified files: 11968 ChangeLog src/.arch-inventory 11969 11970 119712004-05-02 10:05:11 GMT Martin Pool <mbp@sourcefrog.net> patch-10 11972 11973 Summary: 11974 Remove dcc_send_job_corked wrapper 11975 Revision: 11976 distcc--devel--2--patch-10 11977 11978 Just insert/remove corks at the right places. 11979 11980 modified files: 11981 ChangeLog src/remote.c 11982 11983 119842004-05-02 10:00:52 GMT Martin Pool <mbp@sourcefrog.net> patch-9 11985 11986 Summary: 11987 Split out code to wait for cpp 11988 Revision: 11989 distcc--devel--2--patch-9 11990 11991 11992 modified files: 11993 ChangeLog src/remote.c 11994 11995 119962004-05-02 09:58:22 GMT Martin Pool <mbp@sourcefrog.net> patch-8 11997 11998 Summary: 11999 Refactor code to send requests into remote.c 12000 Revision: 12001 distcc--devel--2--patch-8 12002 12003 12004 modified files: 12005 ChangeLog src/clirpc.c src/distcc.h src/remote.c 12006 12007 120082004-05-02 09:49:23 GMT Martin Pool <mbp@sourcefrog.net> patch-7 12009 12010 Summary: 12011 Plan for calculating rate 12012 Revision: 12013 distcc--devel--2--patch-7 12014 12015 12016 new files: 12017 doc/todo/.arch-ids/show-rate.txt.id doc/todo/show-rate.txt 12018 12019 modified files: 12020 ChangeLog 12021 12022 120232004-05-02 09:38:40 GMT Martin Pool <mbp@sourcefrog.net> patch-6 12024 12025 Summary: 12026 Remove relic zip.c 12027 Revision: 12028 distcc--devel--2--patch-6 12029 12030 12031 removed files: 12032 src/.arch-ids/zip.c.id src/zip.c 12033 12034 modified files: 12035 ChangeLog Makefile.in 12036 12037 120382004-05-02 09:35:26 GMT Martin Pool <mbp@sourcefrog.net> patch-5 12039 12040 Summary: 12041 Remove old prototypes 12042 Revision: 12043 distcc--devel--2--patch-5 12044 12045 12046 modified files: 12047 ChangeLog src/daemon.h src/dparent.c 12048 12049 120502004-05-02 08:46:14 GMT Martin Pool <mbp@sourcefrog.net> patch-4 12051 12052 Summary: 12053 Remove non-prefork mode 12054 Revision: 12055 distcc--devel--2--patch-4 12056 12057 Only choices now are preforking, or not forking at all. 12058 12059 modified files: 12060 ChangeLog NEWS src/dopt.c src/dparent.c 12061 12062 120632004-05-02 08:35:51 GMT Martin Pool <mbp@sourcefrog.net> patch-3 12064 12065 Summary: 12066 Set version to 2.15pre 12067 Revision: 12068 distcc--devel--2--patch-3 12069 12070 12071 modified files: 12072 ChangeLog NEWS configure.ac 12073 12074 120752004-05-02 08:34:49 GMT Martin Pool <mbp@sourcefrog.net> patch-2 12076 12077 Summary: 12078 Plans for upcoming releases 12079 Revision: 12080 distcc--devel--2--patch-2 12081 12082 12083 modified files: 12084 ChangeLog doc/roadmap.txt 12085 12086 120872004-05-02 08:25:17 GMT Martin Pool <mbp@sourcefrog.net> patch-1 12088 12089 Summary: 12090 New ChangeLog for new revision 12091 Revision: 12092 distcc--devel--2--patch-1 12093 12094 12095 new files: 12096 ChangeLog 12097 12098 renamed files: 12099 ChangeLog 12100 ==> ChangeLog-2.14 12101 12102 121032004-05-02 05:07:46 GMT Martin Pool <mbp@sourcefrog.net> base-0 12104 12105 Summary: 12106 tag of mbp@sourcefrog.net--2004/distcc--devel--2.14--version-0 12107 Revision: 12108 distcc--devel--2--base-0 12109 12110 (automatically generated log message) 12111 12112 new patches: 12113 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--base-0 12114 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-1 12115 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-2 12116 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-3 12117 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-4 12118 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-5 12119 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-6 12120 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-7 12121 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-8 12122 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-9 12123 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-10 12124 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-11 12125 mbp@sourcefrog.net--2004-happy/distcc--devel--2.14--patch-12 12126 mbp@sourcefrog.net--2004/distcc--cvs--0--base-0 12127 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-1 12128 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-2 12129 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-3 12130 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-4 12131 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-5 12132 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-6 12133 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-7 12134 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-8 12135 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-9 12136 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-10 12137 mbp@sourcefrog.net--2004/distcc--cvs--0--patch-11 12138 mbp@sourcefrog.net--2004/distcc--devel--2.14--base-0 12139 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-1 12140 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-2 12141 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-3 12142 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-4 12143 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-5 12144 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-6 12145 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-7 12146 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-8 12147 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-9 12148 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-10 12149 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-11 12150 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-12 12151 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-13 12152 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-14 12153 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-15 12154 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-16 12155 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-17 12156 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-18 12157 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-19 12158 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-20 12159 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-21 12160 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-22 12161 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-23 12162 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-24 12163 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-25 12164 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-26 12165 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-27 12166 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-28 12167 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-29 12168 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-30 12169 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-31 12170 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-32 12171 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-33 12172 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-34 12173 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-35 12174 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-36 12175 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-37 12176 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-38 12177 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-39 12178 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-40 12179 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-41 12180 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-42 12181 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-43 12182 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-44 12183 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-45 12184 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-46 12185 mbp@sourcefrog.net--2004/distcc--devel--2.14--patch-47 12186 mbp@sourcefrog.net--2004/distcc--devel--2.14--version-0 12187 mbp@sourcefrog.net--2004/distcc--release--2.13--base-0 12188 walters@verbum.org--2003/distcc--devel--2.14--base-0 12189 walters@verbum.org--2003/distcc--devel--2.14--patch-1 12190 walters@verbum.org--2003/distcc--devel--2.14--patch-2 12191 walters@verbum.org--2003/distcc--devel--2.14--patch-3 12192 walters@verbum.org--2003/distcc--devel--2.14--patch-4 12193 12194 12195## These changes are from before development was done under arch. 12196 121972004-04-10 Martin Pool <mbp@sourcefrog.net> 12198 12199 * src/mon-gnome.c (dcc_gnome_make_mainwin): Check gtk version and 12200 don't use gtk_window_set_icon_from_file before 2.2.0. Reported by 12201 Dag Wieers. 12202 122032004-03-21 Martin Pool <mbp@sourcefrog.net> 12204 12205 * src/exec.c (dcc_critique_status): Log input filename. 12206 12207 * src/clirpc.c (dcc_send_job): Log input filename, 12208 12209 * src/remote.c (dcc_compile_remote): Log input filename. 12210 12211 * src/serve.c (dcc_run_job): Log input filename. 12212 12213 * src/compile.c (dcc_compile_local): Log input filename. 12214 122152004-03-03 Martin Pool <mbp@sourcefrog.net> 12216 12217 * src/mon-gnome.c: Quieten g_messages. 12218 12219 * src/distcc.c (dcc_show_usage): Describe DISTCC_DIR and other 12220 things. 12221 12222 * man/distcc.1: Document DISTCC_DIR and fix some spelling errors. 12223 Patch from Thomas Schwinge. 12224 12225 * src/hosts.c (dcc_get_hostlist): Get hosts from 12226 $DISTCC_DIR/hosts, rather than hardcoding to ~/.distcc. 12227 12228 * src/tempfile.c (dcc_get_top_dir): Make this public. Just log a 12229 warning if $HOME is not set. 12230 122312004-03-02 Martin Pool <mbp@sourcefrog.net> 12232 12233 * src/srvnet.c (dcc_listen_by_addr): Don't create the socket, just 12234 listen() on it. 12235 (dcc_check_client): Do access control checks on ipv4-mapped or 12236 ipv4-compat IPv6 addresses. 12237 12238 * src/srvnet.c (dcc_socket_listen) [ENABLE_RFC2553]: Try creating 12239 sockets in every returned address family until we get one that 12240 works. Fix leak of addrinfo list. 12241 12242 * src/srvnet.c (dcc_socket_listen) [!ENABLE_RFC2553]: Create 12243 socket here. 12244 122452004-03-01 Martin Pool <mbp@sourcefrog.net> 12246 12247 * src/cleanup.c (dcc_cleanup_tempfiles): If DISTCC_SAVE_TEMPS is 12248 set, then we still need to remove temp files from the list or it 12249 will overflow. 12250 12251 * src/mon-gnome.c, src/mon.c: Don't include netutil. 12252 12253 * src/dparent.c (dcc_standalone_server): Set defer-accept bit. 12254 12255 * man/distccd.1: Document DISTCC_TCP_DEFER_ACCEPT. 12256 12257 * src/netutil.c (dcc_defer_accept): New function. 12258 122592004-02-29 Martin Pool <mbp@sourcefrog.net> 12260 12261 * test/testdistcc.py (ScanArgs_Case): Test -Wa,-xarch=v8. 12262 12263 * src/arg.c (dcc_scan_args): Allow "-Wa,-xarch=v8" to be remote. 12264 Reported by Ben Scarlet. 12265 12266 * test/testdistcc.py (ScanArgs_Case): Add test cases for -x 12267 handling. 12268 12269 * src/arg.c (dcc_scan_args): Handle invocations like "-xcpp" with 12270 no space after -x. Suggested by Ben Scarlet. 12271 12272 * test/testdistcc.py (CompressedCompile_Case): Add a test of 12273 compression. 12274 12275 * src/mon-gnome.c: Include sys/loadavg.h if available. 12276 12277 * configure.ac: Check for sys/loadavg.h. Suggested by Dimitri 12278 Papadopoulos. 12279 12280 * man/distcc.1: Document comments in host files. 12281 12282 * test/testdistcc.py (ParseHostSpec_Case): Add test for 12283 "localhostbutnotreally". 12284 12285 * src/hosts.c (dcc_parse_hosts): Fix matching of hosts with names 12286 like "localhost2". 12287 122882004-02-20 Martin Pool <mbp@sourcefrog.net> 12289 12290 * src/compress.c (dcc_r_bulk_lzo1x): ftruncate the file after 12291 munmapping, rather than before. Might be better on HP-UX which 12292 has problems with IO on mapped files. 12293 12294 * README.packaging: Update description of why packagers should 12295 change version numbers. 12296 122972004-02-19 Martin Pool <mbp@sourcefrog.net> 12298 12299 * src/netutil.c (dcc_sockaddr_to_string): Handle null sockaddr. 12300 12301 * src/srvnet.c (dcc_check_client): Handle null sockaddr. 12302 12303 * src/daemon.c (dcc_inetd_server): If there is no sockaddr, pass 12304 it as NULL. 12305 12306 * src/netutil.c (dcc_sockaddr_to_string) [ENABLE_RFC2553]: 12307 Failure to convert the address to a string should be just a 12308 warning, not an error. Add special cases for unix-domain sockets 12309 and unknown address families. Possibly fixes SSH connections with 12310 ENABLE_RFC2553. 12311 12312 * src/daemon.c (dcc_inetd_server): Downgrade warning on 12313 getpeername failure to just a notice message. 12314 123152004-02-19 Albert China <china@thewrittenword.com> 12316 12317 * test/testdistcc.py: Get test suite working on most of the 12318 platforms we support: 12319 12320 1. Not much use in testing with the native compiler so we 12321 *force* the test suite to use gcc. 12322 12323 2. Rather than picking up gcc from $PATH, we pass the full path 12324 to GCC. This avoids problems when distccd is running. 12325 12326 3. I've added known failures on some platforms. For example, the 12327 assembler test should only run on Linux x86. Where we know 12328 the test will fail, we print: 12329 12330 DashONoSpace_Case NOTRUN, GCC mips-tfile wants space after -o 12331 ... 12332 RemoteAssemble_Case NOTRUN, Linux x86 only 12333 PreprocessAsm_Case NOTRUN, Linux x86 only 12334 ... 12335 12336 The tests pass on: HP-UX 10.20, 11.00, 11i; IRIX 6.5; Redhat Linux 12337 7.1, 9; Solaris 7, 8, 9; Tru64 UNIX 4.0d, 5.1 12338 123392004-02-18 Albert China <china@thewrittenword.com> 12340 12341 These patches were tested on: AIX 4.3.2, 5.1; HP-UX 10.20, 11.00, 12342 11i; IRIX 6.5; Redhat Linux 7.1, 9; Solaris 2.5.1, 2.6, 7, 8, 9; 12343 Tru64 UNIX 4.0D, 5.1: 12344 12345 * src/exitcode.h: IBM C compiler doesn't like trailing commas 12346 after last enum constant. 12347 12348 * src/clinet.c: Define h_errno for HP-UX 10.20. 12349 12350 * src/distcc.h: Forward declaration of 'struct sockaddr' gives 12351 problems with IBM C compiler. And, it's not needed. 12352 12353 * src/serve.c: Forgot to include <sys/socket.h> Needed on HP-UX 12354 10.20, 11.00, 11i. 12355 12356 * src/types.h: Remove definition of socklen_t if unavailable. We 12357 not declare it correctly via autoconf. 12358 12359 * configure.ac: 12360 a) Better detection for socklen_t. This code is taken from curl but 12361 we submitted it so we own the copyright. Feel free to use as you 12362 please. 12363 b) Existence of mmap() doesn't imply MAP_FAILED exists. So, test 12364 and define it if unavailable. 12365 c) Replace the AC_CHECK_FUNCS(connect) mess. 12366 123672004-01-30 Martin Pool <mbp@sourcefrog.net> 12368 12369 * src/hosts.c (dcc_parse_hosts): Fix problem where we accidentally 12370 detected localhost at end of string. 12371 12372 * src/h_hosts.c (main): Fix up verbose mode. 12373 12374 * test/testdistcc.py (ParseHostSpec_Case.runtest): Test parsing of 12375 comments in host specifications. 12376 12377 * src/hosts.c (dcc_parse_hosts): Skip over hash comments in host 12378 specifications. 12379 123802004-01-11 Martin Pool <mbp@sourcefrog.net> 12381 12382 * src/srvnet.c (dcc_check_client): Take list of allowed addresses 12383 as a new parameter so that this file doesn't depend on opt.c. 12384 12385 * src/h_sa2str.c: New test harness. 12386 12387 * Makefile.in (h_sa2str): new test. 12388 123892004-01-09 Martin Pool <mbp@sourcefrog.net> 12390 12391 * configure.ac: Make --without-gnome, --without-gtk, 12392 --disable-profile all turn the relevant options off rather than 12393 on. 12394 12395 * Makefile.in: Add man/distccmon-text.1, and clean up manpage 12396 handling. 12397 12398 * man/distccmon-text.1: Fix some typos. 12399 12400 * src/dopt.c (distccd_parse_options): Option arguments should be 12401 held in (const char *). 12402 12403 * src/setuid.c (dcc_discard_root): Must setuid after setgid, not 12404 before. Fix from Wayne Davison. 12405 12406 * src/mon.c (dcc_mon_check_orphans): When checking if a process 12407 exists, accept EPERM as indicating it exists but isn't ours. This 12408 allows watching the directory of a different user. Reported by 12409 Ernst Bachmann. 12410 124112003-12-21 Shri Shrikumar <shri@urbyte.com> 12412 12413 * man/distccmon-text.1: New manpage. 12414 124152003-12-15 Martin Pool <mbp@sourcefrog.net> 12416 12417 * man/distccd.1: Mention TMPDIR. 12418 12419 * man/distcc.1: We don't use a subdirectory of TMPDIR anymore. 12420 124212003-11-28 Harold L Hunt II <huntharo@msu.edu> 12422 12423 * configure.ac, Makefile.in: Add --with-docdir=PATH option to set 12424 install location for documents. The default is the same as 12425 previously: ${datadir}/doc/distcc. 12426 124272003-11-28 Martin Pool <mbp@sourcefrog.net> 12428 12429 * src/distcc.h (dcc_sockaddr_storage): Different method for 12430 choosing the type for dcc_sockaddr_storage. We now use a plain 12431 sockaddr unless RFC2553 was requested, in which case we use 12432 sockaddr_storage. HAVE_SOCKADDR_STORAGE is only used as a check 12433 that the RFC2553 implementation is reasonable. 12434 12435 * src/distcc.h (dcc_sockaddr_storage): Use a new type name for our 12436 replacement of sockaddr_storage, rather than calling it 12437 sockaddr_storage, to make it more clear that it's determined by 12438 autoconf. 12439 12440 * src/prefork.c (dcc_preforked_child): Use dcc_sockaddr_storage. 12441 12442 * src/dparent.c (dcc_forking_parent): Likewise. 12443 12444 * src/daemon.c (dcc_inetd_server): Likewise. 12445 124462003-11-23 Martin Pool <mbp@sourcefrog.net> 12447 12448 * src/netutil.c (dcc_sockaddr_to_string) [ENABLE_RFC2553]: Include 12449 the port number in the returned string, as for !ENABLE_RFC2553. 12450 This looks a bit wierd for IPv6 but is legible and unambiguous at 12451 least for output. Increase static buffer size. 12452 12453 * src/clinet.c (dcc_connect_timed): Check SO_ERROR to see if the 12454 connection failed so that we can trap it at this point rather than 12455 waiting until we start doing IO. 12456 12457 * src/distcc.h [ENABLE_RFC2553]: sockaddr_storage is required for 12458 RFC2553. 12459 12460 * src/dparent.c (dcc_nofork_parent, dcc_forking_parent): Socket 12461 addresses should be stored on the stack in sockaddr_storage so 12462 that IPv6 addresses will fit. We always have this type, or can 12463 simulate it. 12464 12465 * src/prefork.c (dcc_preforked_child): Likewise. 12466 12467 * src/srvnet.c (dcc_socket_listen) [ENABLE_RFC2553]: Don't prefer 12468 to listen on IPv4 addresses, just use whatever the operating 12469 system thinks is best. 12470 12471 * INSTALL: Suggest using --with-gnome and --enable-rfc2553. 12472 12473 * man/distccd.1: Add description of --log-level. 12474 12475 * src/dopt.c: New --log-level option to accomodate people who only 12476 want to log errors. 12477 12478 * src/trace.c, src/trace.h (rs_loglevel_from_name): New function. 12479 12480 * configure.ac, Makefile.in: Check pkg-config information for 12481 GNOME/GTK+ at configure time, not build time. This is a bit 12482 quicker than running the script for every file we build, and means 12483 that PKG_CONFIG_PATH only needs to be set for configure. 12484 12485 * src/lock.c: Doc. 12486 124872003-11-17 Lionel Sausin <lionel.sausin@free.fr> 12488 12489 * man/fr/distcc.1, man/fr/distccd.1: French translations of the 12490 manual pages. 12491 124922003-11-17 Martin Pool <mbp@sourcefrog.net> 12493 12494 * distcc.h: MAXPATHLEN is not defined on GNU/Hurd, so supply a 12495 reasonable default value of 4096. Reported by Santiago Vila. 12496 124972003-11-17 Martin Pool <mbp@sourcefrog.net> 12498 12499 * sendfile.c: Documentation updates. 12500 125012003-11-17 Allan Saddi <allan@saddi.com> 12502 12503 * sendfile.c (sys_sendfile): BSD implementation of this function 12504 needs to return -1 when transmission fails with EAGAIN and no 12505 bytes were sent. 12506 125072003-11-17 Martin Pool <mbp@sourcefrog.net> 12508 12509 * setuid.c (dcc_discard_root): Wayne suggests calling 12510 setgid()/setuid() before doing setgroups(). setgroups() on Mac OS 12511 X Jaguar can't seem to handle setting to 0 groups, so just set it 12512 to the same as the regular group. 12513 125142003-10-30 19:02 Martin Pool <mbp@samba.org> 12515 12516 * doc/release-names.txt: [no log message] 12517 125182003-10-28 11:38 Martin Pool <mbp@samba.org> 12519 12520 * configure.ac: Bump version. 12521 125222003-10-23 13:36 Martin Pool <mbp@samba.org> 12523 12524 * autogen.sh: Remove check on autoconf version because it breaks 12525 on non-numeric versions like "2.57a". 12526 125272003-10-23 10:50 Martin Pool <mbp@samba.org> 12528 12529 * man/distccd.1: Add some description of search paths. 12530 125312003-10-23 10:44 Martin Pool <mbp@samba.org> 12532 12533 * man/distcc.1: Add some description of search paths. 12534 125352003-10-23 10:14 Martin Pool <mbp@samba.org> 12536 12537 * TODO: More tasks to do. 12538 125392003-10-23 09:56 Martin Pool <mbp@samba.org> 12540 12541 * NEWS, configure.ac: Prepare for 2.11.2 release 12542 125432003-10-14 14:23 Martin Pool <mbp@samba.org> 12544 12545 * gnome/distccmon-gnome.desktop, NEWS: Desktop file corrections 12546 from Dag Wieers. 12547 125482003-10-13 23:57 Martin Pool <mbp@samba.org> 12549 12550 * TODO: Notes on current bugs. 12551 125522003-10-13 20:05 Martin Pool <mbp@samba.org> 12553 12554 * src/distcc.c: Don't trim the path at all when our invocation 12555 name is "distcc". 12556 125572003-10-13 19:52 Martin Pool <mbp@samba.org> 12558 12559 * src/util.c: dcc_trim_path: Trace the compiler name. 12560 125612003-10-13 19:51 Martin Pool <mbp@samba.org> 12562 12563 * src/util.c: dcc_trim_path: Doc. 12564 125652003-10-13 19:39 Martin Pool <mbp@samba.org> 12566 12567 * src/distcc.c: Doc. 12568 125692003-10-13 19:24 Martin Pool <mbp@samba.org> 12570 12571 * src/climasq.c: Doc. 12572 125732003-10-13 19:03 Martin Pool <mbp@samba.org> 12574 12575 * NEWS, src/distcc.c, src/dsignal.c: Fatal signal handlers for 12576 client and daemon should reset the signal vector before doing 12577 anything else, to protect against an (unlikely) spin if the 12578 signal is re-sent. 12579 125802003-10-13 19:00 Martin Pool <mbp@samba.org> 12581 12582 * src/distcc.c: Doc typo 12583 125842003-10-13 18:39 Martin Pool <mbp@samba.org> 12585 12586 * src/: distcc.c, dsignal.c: Use AC_TYPE_SIGNAL to set signal 12587 handler return type for portability. 12588 125892003-10-13 18:38 Martin Pool <mbp@samba.org> 12590 12591 * doc/example/xinetd, NEWS: Add type = UNLISTED to cope without 12592 an /etc/services entry. 12593 125942003-10-13 18:34 Martin Pool <mbp@samba.org> 12595 12596 * configure.ac: Doc 12597 12598 * Add check for signal return type. 12599 126002003-10-13 17:56 Martin Pool <mbp@samba.org> 12601 12602 * man/distcc.1: Bump date. 12603 126042003-10-13 17:56 Martin Pool <mbp@samba.org> 12605 12606 * man/distcc.1, NEWS: Clear up meaning of UNCACHED_ERR_FD. 12607 126082003-10-13 17:37 Martin Pool <mbp@samba.org> 12609 12610 * README.packaging: Suggest adding to /etc/services. 12611 126122003-10-13 17:06 Martin Pool <mbp@samba.org> 12613 12614 * man/distccd.1: Clarifications/corrections to --allow 12615 description. 12616 126172003-10-13 16:52 Martin Pool <mbp@samba.org> 12618 12619 * NEWS: IRIX fixes. 12620 126212003-10-13 16:42 Martin Pool <mbp@samba.org> 12622 12623 * src/serve.c: dcc_check_compiler_masq: Remove dead variable. 12624 126252003-10-13 16:40 Martin Pool <mbp@samba.org> 12626 12627 * src/dparent.c: dcc_log_child_exited: Use appropriate log 12628 severity to match the signal severity, even on machines that 12629 don't have strsignal(). 12630 126312003-10-13 16:37 Martin Pool <mbp@samba.org> 12632 12633 * TODO: Notes on better scheduling. 12634 126352003-10-13 16:26 Martin Pool <mbp@samba.org> 12636 12637 * NEWS: Remove dependency on libglade. 12638 12639 * Fix --without-gnome. 12640 126412003-10-13 16:24 Martin Pool <mbp@samba.org> 12642 12643 * gnome/: distccmon-gnome.glade, distccmon-gnome.gladep: Remove 12644 Glade packages. 12645 126462003-10-13 16:20 Martin Pool <mbp@samba.org> 12647 12648 * src/mon-gnome.c: Set icon on monitor window from png file. 12649 126502003-10-13 16:15 Martin Pool <mbp@samba.org> 12651 12652 * src/mon-gnome.c: Remove dependency on Glade by rolling back to 12653 by-hand construction of window components, based on the code in 12654 2.10. 12655 126562003-10-13 16:10 Martin Pool <mbp@samba.org> 12657 12658 * Makefile.in: Don't require libglade. 12659 126602003-10-13 16:09 Martin Pool <mbp@samba.org> 12661 12662 * configure.ac: Correct the handling of --without-gnome, etc. 12663 Previously this was treated the same as --with-gnome. 12664 12665 * Don't require libglade. 12666 126672003-10-13 15:31 Martin Pool <mbp@samba.org> 12668 12669 * configure.ac: Bump version 12670 126712003-10-08 15:47 Martin Pool <mbp@samba.org> 12672 12673 * NEWS, configure.ac: Prepare for 2.11.1 release. 12674 126752003-10-08 15:45 Martin Pool <mbp@samba.org> 12676 12677 * NEWS, src/arg.c, test/testdistcc.py: C++ compilation with 12678 -frepo must be local, because it emits .rpo files. 12679 126802003-10-07 16:12 Martin Pool <mbp@samba.org> 12681 12682 * src/bulk.c: dcc_x_file_lzo1x should return any errors that 12683 occur. 12684 126852003-10-07 16:07 Martin Pool <mbp@samba.org> 12686 12687 * src/exec.c: dcc_inside_child should be void and should never 12688 return. 12689 126902003-10-07 16:01 Martin Pool <mbp@samba.org> 12691 12692 * src/: util.c, util.h: dcc_exit can be void. 12693 126942003-10-07 15:52 Martin Pool <mbp@samba.org> 12695 12696 * man/distcc.1: Typo fix from Lionel Sausin. 12697 126982003-10-01 13:56 Martin Pool <mbp@samba.org> 12699 12700 * src/mon.h, NEWS: Description from Frerich of how to write 12701 monitor programs, with some edits by me. 12702 127032003-09-30 12:54 Martin Pool <mbp@samba.org> 12704 12705 * NEWS: Put Gnome data files into PKGDATADIR, e.g. 12706 /usr/local/share/distcc/, rather than the top-level datadir. 12707 127082003-09-30 12:49 Martin Pool <mbp@samba.org> 12709 12710 * Makefile.in, src/mon-gnome.c: Put Gnome data files into 12711 PKGDATADIR, e.g. /usr/local/share/distcc/, rather than the 12712 top-level datadir. 12713 127142003-09-30 12:42 Martin Pool <mbp@samba.org> 12715 12716 * configure.ac, Makefile.in: New @INSTALL_GNOME@ substitution so 12717 that Gnome/GTK data files are only installed when necessary. 12718 127192003-09-30 12:40 Martin Pool <mbp@samba.org> 12720 12721 * INSTALL: Give dependencies for --with-gtk. 12722 127232003-09-30 09:54 Martin Pool <mbp@samba.org> 12724 12725 * src/state.h: Remove stdint.h. We don't use it, and it does not 12726 exist on FreeBSD 4-STABLE, according to Frerich Raabe. 12727 127282003-09-29 22:23 Martin Pool <mbp@samba.org> 12729 12730 * man/distcc.1: Set datestamp. 12731 127322003-09-29 22:21 Martin Pool <mbp@samba.org> 12733 12734 * NEWS: Fix for state.h 12735 127362003-09-29 22:19 Martin Pool <mbp@samba.org> 12737 12738 * man/distcc.1: Documentation corrections from Lionel Sausin. 12739 127402003-09-29 16:57 Martin Pool <mbp@samba.org> 12741 12742 * src/tempfile.c, NEWS: Check that we have permission to write to 12743 the specified TMPDIR, or otherwise fail. 12744 127452003-09-29 16:46 Martin Pool <mbp@samba.org> 12746 12747 * src/mon.h: Doc rename to dcc_history. 12748 127492003-09-29 16:44 Martin Pool <mbp@samba.org> 12750 12751 * src/mon.h: Explain why dnotify is cut out. 12752 127532003-09-29 16:33 Martin Pool <mbp@samba.org> 12754 12755 * NEWS: stdint.h is not on iricks or sloaris either. 12756 127572003-09-29 16:30 Martin Pool <mbp@samba.org> 12758 12759 * src/access.c, src/h_parsemask.c, src/mon-text.c, src/state.c, 12760 configure.ac: Remove stdint.h. We don't use it, and it does 12761 not exist on FreeBSD 4-STABLE, according to Frerich Raabe. 12762 127632003-09-29 16:16 Martin Pool <mbp@samba.org> 12764 12765 * configure.ac: Make it just --with-gtk. 12766 127672003-09-29 16:15 Martin Pool <mbp@samba.org> 12768 12769 * configure.ac: Fix help string for --with-gtk+. 12770 127712003-09-29 16:13 Martin Pool <mbp@samba.org> 12772 12773 * NEWS, configure.ac: Add support for building with either GNOME 12774 or plain GTK+. 12775 127762003-09-29 16:08 Martin Pool <mbp@samba.org> 12777 12778 * src/mon-gnome.c: Remove unnecessary inclusion of headers for 12779 pango. 12780 12781 * Allow compilation with either GNOME or plain GTK+, depending on 12782 WITH_GNOME and WITH_GTK. 12783 127842003-09-29 16:06 Martin Pool <mbp@samba.org> 12785 12786 * src/renderer.c: Remove unnecessary inclusion of headers for 12787 gnome, pango and glade, and use of gettext macro. 12788 127892003-09-27 23:13 Martin Pool <mbp@samba.org> 12790 12791 * src/state.h: Fix state.h for use with C++. Patch from Frerich 12792 Raabe. 12793 127942003-09-27 19:42 Martin Pool <mbp@samba.org> 12795 12796 * configure.ac: Bump version. 12797 127982003-09-25 13:39 Martin Pool <mbp@samba.org> 12799 12800 * src/mon-gnome.c: Include GTK as well. 12801 128022003-09-24 15:33 Martin Pool <mbp@samba.org> 12803 12804 * Makefile.in: Change for new log archiving method. 12805 128062003-09-23 16:12 Martin Pool <mbp@samba.org> 12807 12808 * NEWS: Prepare for release. 12809 128102003-09-23 15:58 Martin Pool <mbp@samba.org> 12811 12812 * configure.ac: Run tests for GNOME packages when --with-gnome is 12813 set. 12814 128152003-09-23 15:51 Martin Pool <mbp@samba.org> 12816 12817 * configure.ac: Bump to version 2.11. 12818 128192003-09-23 15:43 Martin Pool <mbp@samba.org> 12820 12821 * NEWS, src/distcc.c: Client catches SIGINT, SIGHUP and SIGTERM 12822 and cleans up temporary files before terminating. 12823 128242003-09-23 15:26 Martin Pool <mbp@samba.org> 12825 12826 * NEWS: Make directories and state files with weak mode bits, to 12827 try to avoid conflicts in shared distcc_dirs. 12828 128292003-09-23 15:24 Martin Pool <mbp@samba.org> 12830 12831 * src/tempfile.c: dcc_mkdir: Make directory with weak mode bits, 12832 to try to avoid conflicts in shared distcc_dirs. 12833 128342003-09-23 15:22 Martin Pool <mbp@samba.org> 12835 12836 * src/lock.c: dcc_open_lockfile: Open lockfile with weak mode 12837 bits, to try to avoid conflicts in shared distcc_dirs. 12838 128392003-09-23 15:18 Martin Pool <mbp@samba.org> 12840 12841 * gnome/: .cvsignore, distccmon-gnome-icon.png, 12842 distccmon-gnome.desktop, distccmon-gnome.glade, 12843 distccmon-gnome.gladep: Merge from branch-pretty. 12844 12845 Update desktop file to include the right name. 12846 128472003-09-23 15:12 Martin Pool <mbp@samba.org> 12848 12849 * Makefile.in: Distribute and install GNOME data files. 12850 128512003-09-23 15:00 Martin Pool <mbp@samba.org> 12852 12853 * NEWS: Change to --with-gnome for consistency with other 12854 packages. 12855 128562003-09-23 14:57 Martin Pool <mbp@samba.org> 12857 12858 * test/testdistcc.py: The access mask 1.2.3.4/0 should match 12859 anything. 12860 128612003-09-23 14:53 Martin Pool <mbp@samba.org> 12862 12863 * src/distcc.c: Fix bad bug in main() that caused us to exit 12864 through the wrong path. 12865 128662003-09-23 14:38 Martin Pool <mbp@samba.org> 12867 12868 * configure.ac, INSTALL: Change to --with-gnome for consistency 12869 with other packages. 12870 128712003-09-23 14:28 Martin Pool <mbp@samba.org> 12872 12873 * configure.ac: LINUXDOC is no longer a special variable. 12874 128752003-09-23 14:23 Martin Pool <mbp@samba.org> 12876 12877 * INSTALL, Makefile.in, NEWS, TODO, configure.ac, 12878 doc/release-names.txt, src/clirpc.c, src/compile.c, src/distcc.c, 12879 src/distcc.h, src/mon-fake.c, src/mon-gnome.c, src/mon-text.c, 12880 src/mon.c, src/mon.h, src/remote.c, src/renderer.c, 12881 src/renderer.h, src/state.c, src/state.h, src/util.c, src/util.h, 12882 src/where.c: Merge the new GNOME monitor back from 12883 'branch-pretty': 12884 12885 * GNOME monitor now uses a custom GtkCellRenderer subclass 12886 (renderer.c, renderer.h) to draw a scarf-style history of the 12887 states for the slot. 12888 12889 * Now uses binary state files that are quicker to write out and 12890 read in. Not compatible with monitors from the previous 12891 version. 12892 12893 * Structure renamed from dcc_mon_list to dcc_history. Text 12894 fields are held directly in the structure to allow it to be 12895 directly written out. 12896 12897 * State files are written and rewritten in place, rather than 12898 always being renamed into place. We cope reasonably gracefully 12899 when reading back files that are truncated. 12900 12901 * New strlcpy() utility. 12902 12903 * Clean up cruft in dcc_lock_one() from when we had transmission 12904 lock files. 12905 12906 * Better handling of EXEEXT to allow tab completion to work in 12907 Makefiles. 12908 12909 * GNOME monitor is now constructed using libglade-2, rather than 12910 the hard way. 12911 12912 * New --enable-profile option for gprof. 12913 12914 * Depends on libglade, pango, libgnome, libgnomeui, at least if 12915 you want the graphical monitor. 12916 12917 * Change UNUSED() macro to make sure the variable is not 12918 accidentally used. 12919 12920 * Rename state tags to consistent DCC_STATE_* 12921 129222003-09-23 14:02 Martin Pool <mbp@samba.org> 12923 12924 * Makefile.in: Doc. 12925 129262003-09-23 14:00 Martin Pool <mbp@samba.org> 12927 12928 * src/mon-gnome.c: Change colors to a set selected from the GNOME 12929 palette that are easier to distinguish. 12930 129312003-09-23 13:44 Martin Pool <mbp@samba.org> 12932 12933 * gnome/distccmon-gnome.glade, src/mon-gnome.c: Remove About and 12934 Key windows, which don't do anything very useful at the moment. 12935 129362003-09-22 17:33 Martin Pool <mbp@samba.org> 12937 12938 * src/mon.c: Check structure size when loading binary state 12939 files. 12940 129412003-09-22 17:32 Martin Pool <mbp@samba.org> 12942 12943 * src/: state.c, state.h, where.c: Don't make the client's state 12944 structure global. 12945 12946 * Don't need dcc_timeval_to_microseconds anymore. 12947 129482003-09-22 17:29 Martin Pool <mbp@samba.org> 12949 12950 * TODO: Remove done items. 12951 129522003-09-22 17:24 Martin Pool <mbp@samba.org> 12953 12954 * src/state.h: Add a size field to the state struct. 12955 129562003-09-22 17:22 Martin Pool <mbp@samba.org> 12957 12958 * src/mon.h: Don't need dcc_timeval_to_double 12959 129602003-09-22 17:13 Martin Pool <mbp@samba.org> 12961 12962 * src/mon-gnome.c: Don't need sys/time.h 12963 129642003-09-22 17:12 Martin Pool <mbp@samba.org> 12965 12966 * src/lock.c: Don't need state.h anymore. 12967 129682003-09-22 17:10 Martin Pool <mbp@samba.org> 12969 12970 * src/: compile.c, distcc.c: Don't use STARTUP state anymore. 12971 129722003-09-22 16:50 Martin Pool <mbp@samba.org> 12973 12974 * INSTALL: Note gnome dependencies. 12975 129762003-09-22 15:53 Martin Pool <mbp@samba.org> 12977 12978 * src/mon-gnome.c: Lower the priority of scanning for changes, so 12979 that we're more likely to keep the UI responsive. 12980 129812003-09-22 14:53 Martin Pool <mbp@samba.org> 12982 12983 * src/mon-gnome.c: Doc 12984 129852003-09-22 14:51 Martin Pool <mbp@samba.org> 12986 12987 * src/remote.c: Store hostname in state file, not the host 12988 definition string. 12989 129902003-09-20 19:36 Martin Pool <mbp@samba.org> 12991 12992 * NEWS: Try safe lzo decompressor, to try to catch cases where 12993 the compressed data is corrupt or our output buffer is too 12994 small. 12995 129962003-09-20 16:42 Martin Pool <mbp@samba.org> 12997 12998 * src/compress.c: Try safe lzo decompressor, to try to catch 12999 cases where the compressed data is corrupt or our output buffer 13000 is too small. 13001 130022003-09-19 17:23 Martin Pool <mbp@samba.org> 13003 13004 * gnome/: distccmon-gnome-icon.png, distccmon-gnome.glade, 13005 distccmon-gnome.gladep: Move icons. 13006 13007 * Add menu item to show color key. 13008 13009 * Set size through allocation of scroll area, not through the 13010 window default_size. 13011 130122003-09-19 17:21 Martin Pool <mbp@samba.org> 13013 13014 * src/mon-gnome.c: Add menu option to show chart key. 13015 130162003-09-19 17:21 Martin Pool <mbp@samba.org> 13017 13018 * src/: renderer.c, renderer.h: Set bar width so that the whole 13019 history cell is filled. 13020 130212003-09-19 16:53 Martin Pool <mbp@samba.org> 13022 13023 * gnome/.cvsignore: Rename icon PNG 13024 130252003-09-19 16:51 Martin Pool <mbp@samba.org> 13026 13027 * gnome/distccmon-gnome.glade: Rename icon png. 13028 130292003-09-19 16:35 Martin Pool <mbp@samba.org> 13030 13031 * gnome/distccmon-gnome.desktop: Add draft FreeDesktop .desktop 13032 definition. 13033 130342003-09-19 16:02 Martin Pool <mbp@samba.org> 13035 13036 * src/renderer.c: Choose bar width such that the complete history 13037 roughly fills the cell. 13038 130392003-09-19 15:40 Martin Pool <mbp@samba.org> 13040 13041 * src/mon.c: Quieten warnings when polling state files. 13042 130432003-09-19 15:39 Martin Pool <mbp@samba.org> 13044 13045 * src/state.c: Change state name to "Preprocess". 13046 130472003-09-19 15:15 Martin Pool <mbp@samba.org> 13048 13049 * src/renderer.c: Doc. 13050 130512003-09-19 14:57 Martin Pool <mbp@samba.org> 13052 13053 * src/: mon-gnome.c, renderer.c, renderer.h: Create graphics 13054 contexts for drawing state strips just once at startup, rather 13055 than every time we draw a rectangle. Ought to be much more 13056 efficient. 13057 130582003-09-19 14:43 Martin Pool <mbp@samba.org> 13059 13060 * configure.ac: Add --enable-profile option. 13061 13062 * Cleanup CPPFLAGS generation. 13063 130642003-09-19 14:29 Martin Pool <mbp@samba.org> 13065 13066 * src/dparent.c, NEWS: In non-forking mode, make sure to close 13067 the accepted fd after processing a request. 13068 130692003-09-19 14:01 Martin Pool <mbp@samba.org> 13070 13071 * NEWS: Allow access masks like 0.0.0.0/0, meaning allow access 13072 from anywhere. Some adjustments required to allow for 13073 behaviour of C bitshift operators. 13074 130752003-09-19 13:58 Martin Pool <mbp@samba.org> 13076 13077 * src/access.c: Allow access masks like 0.0.0.0/0, meaning allow 13078 access from anywhere. Some adjustments required to allow for 13079 behaviour of C bitshift operators. 13080 130812003-09-19 13:07 Martin Pool <mbp@samba.org> 13082 13083 * Makefile.in: Use an autoconf substitution for EXEEXT, rather 13084 than a Make variable, so that bash's tab completion doesn't get 13085 confused by the targets. 13086 130872003-09-19 12:45 Martin Pool <mbp@samba.org> 13088 13089 * NEWS: Manpage updates. 13090 130912003-09-19 12:44 Martin Pool <mbp@samba.org> 13092 13093 * man/distcc.1: Suggest using SCons. 13094 130952003-09-19 12:41 Martin Pool <mbp@samba.org> 13096 13097 * man/distcc.1: [no log message] 13098 130992003-09-19 12:35 Martin Pool <mbp@samba.org> 13100 13101 * man/distcc.1: More explanation of Make and compiler errors. 13102 131032003-09-19 12:30 Martin Pool <mbp@samba.org> 13104 13105 * man/distcc.1: More discussion of where to place localhost in 13106 the list. 13107 131082003-09-19 12:21 Martin Pool <mbp@samba.org> 13109 13110 * src/tempfile.c: [no log message] 13111 131122003-09-19 12:06 Martin Pool <mbp@samba.org> 13113 13114 * NEWS: [no log message] 13115 131162003-09-19 12:03 Martin Pool <mbp@samba.org> 13117 13118 * patches/: backlog-sample.c, colorgcc, compression.patch, 13119 connect-timeout-02.diff, daemon-address-binding.diff, 13120 distcc-ethereal.diff, distcc-hostlist.diff, distcc-hostopt.patch, 13121 distccd-clean-path.diff, prefork-sample.c, state-in-home.diff, 13122 trylzo.c: Remove obsolete patches. 13123 131242003-09-19 11:47 Martin Pool <mbp@samba.org> 13125 13126 * NEWS: [no log message] 13127 131282003-09-18 19:53 Martin Pool <mbp@samba.org> 13129 13130 * src/mon-gnome.c: Retain history of 100 states. 13131 131322003-09-18 18:58 Martin Pool <mbp@samba.org> 13133 13134 * src/renderer.c: Draw "DONE" states as empty. 13135 131362003-09-18 18:32 Martin Pool <mbp@samba.org> 13137 13138 * src/renderer.c: Render the slot history as a set of state 13139 stripes. This looks great! 13140 131412003-09-18 18:18 Martin Pool <mbp@samba.org> 13142 13143 * src/renderer.c: Kill dead code. 13144 131452003-09-18 18:01 Martin Pool <mbp@samba.org> 13146 13147 * src/mon-gnome.c: Trim the history queue length every time we 13148 add to it. 13149 131502003-09-18 17:58 Martin Pool <mbp@samba.org> 13151 13152 * src/renderer.c: Cope with the "history" property being a GQueue 13153 of state values, rather than a list of dcc_history structures. 13154 13155 * Just the first state is drawn through the whole cell at the 13156 moment. 13157 131582003-09-18 17:57 Martin Pool <mbp@samba.org> 13159 13160 * src/mon-gnome.c: Fix pointer error in prepending to an existing 13161 history queue. 13162 131632003-09-18 17:55 Martin Pool <mbp@samba.org> 13164 13165 * src/mon-gnome.c: Fix up code to insert at end. 13166 131672003-09-18 17:48 Martin Pool <mbp@samba.org> 13168 13169 * src/mon-gnome.c: Actually go ahead and store the state history 13170 in a queue in all rows. Create this queue when the row is 13171 first inserted. 13172 13173 * Change appended rows to go through dcc_insert_row_from_task() 13174 so that we can set up the queue. 13175 131762003-09-18 17:25 Martin Pool <mbp@samba.org> 13177 13178 * src/mon-gnome.c: Doc 13179 13180 * Store a GQueue of state values in the table row, so that the 13181 cell renderer can easily read back all of them and draw them. 13182 13183 * Split out code to insert a row into dcc_insert_row_from_task(), 13184 because it needs to construct a new GQueue. 13185 13186 * rename dcc_clear_row -> dcc_set_row_idle() 13187 131882003-09-18 17:05 Martin Pool <mbp@samba.org> 13189 13190 * src/mon-gnome.c: Fix number of columns. 13191 131922003-09-18 17:04 Martin Pool <mbp@samba.org> 13193 13194 * src/mon-gnome.c: Add textual State column. 13195 131962003-09-18 17:00 Martin Pool <mbp@samba.org> 13197 13198 * src/mon.c: Don't sort localhost specially. I think this was 13199 buggy. 13200 132012003-09-18 16:28 Martin Pool <mbp@samba.org> 13202 13203 * src/mon-gnome.c: After we finish the task list, clear any rows 13204 remaining in the table. 13205 132062003-09-18 16:21 Martin Pool <mbp@samba.org> 13207 13208 * src/mon-gnome.c: dcc_update_store_from_tasks: Fix bug that 13209 caused it to lock up when it hit a host with no name or file or 13210 in DONE state. 13211 132122003-09-18 16:13 Martin Pool <mbp@samba.org> 13213 13214 * src/renderer.c: Silently ignore NULL "history" properties. 13215 132162003-09-18 16:12 Martin Pool <mbp@samba.org> 13217 13218 * src/mon-gnome.c: Add a "Slot" column, visible in the list. 13219 13220 * First cut at a method for updating the tree model in place, 13221 rather than deleting it and creating a new one. Takes 13222 advantage of the tree model and the task list being in the same 13223 order to detect changed, added or deleted rows. 13224 13225 Partially working. 13226 132272003-09-18 15:40 Martin Pool <mbp@samba.org> 13228 13229 * src/mon-gnome.c: Typo 13230 132312003-09-18 15:38 Martin Pool <mbp@samba.org> 13232 13233 * src/mon-gnome.c: Split code for merging task list into list 13234 store into new function dcc_update_store_From_tasks(), in 13235 preparation for doing an update-in-place rather than clearing 13236 it and reloading. 13237 13238 * COLUMN_HISTORY is currently set to NULL. It will become a 13239 pointer to a list of state values. 13240 13241 * task_list is no longer global. It is held in memory only 13242 during the update. 13243 132442003-09-18 15:22 Martin Pool <mbp@samba.org> 13245 13246 * gnome/distccmon-gnome.glade: Vertical scrollbar auto; 13247 horizontal scrollbar never. 13248 132492003-09-18 15:20 Martin Pool <mbp@samba.org> 13250 13251 * src/mon-gnome.c: Doc. 13252 13253 * Move gtk_list_store_new() to near the column number 13254 declarations to help keep them in step. 13255 13256 * Drop unused dcc_timeval_to_double(). 13257 132582003-09-18 15:06 Martin Pool <mbp@samba.org> 13259 13260 * src/renderer.c: Render the state cell solidly filled with the 13261 color for the current state. 13262 132632003-09-18 15:02 Martin Pool <mbp@samba.org> 13264 13265 * src/renderer.c: Remove dead code. 13266 132672003-09-18 14:59 Martin Pool <mbp@samba.org> 13268 13269 * src/mon-gnome.c: Show file name in the table too. 13270 132712003-09-18 14:54 Martin Pool <mbp@samba.org> 13272 13273 * Makefile.in, gnome/distccmon-gnome.glade, src/mon-gnome.c, 13274 src/renderer.c: Roll back to using a table and cellrenderer. 13275 13276 I think the immediately previous approach of having the monitor 13277 keep 13278 track of state history and draw an unlabelled striped bar is 13279 probably pretty good. However, I'd like to also rely on the 13280 regular 13281 table widget to give us space to draw it. 13282 13283 This code builds and gives an empty table. The renderer is 13284 here but 13285 disabled. 13286 132872003-09-18 14:14 Martin Pool <mbp@samba.org> 13288 13289 * src/compress.c: Fix up types for printing size_ts and for 13290 interfacing with minilzo. Detected when building on ia64 for 13291 Debian. 13292 132932003-09-18 10:48 Martin Pool <mbp@samba.org> 13294 13295 * autogen.sh: "sed 1q" is more portable than using head to chop 13296 the version out of autoconf. Reported by Alexandre Oliva. 13297 132982003-09-18 10:39 Martin Pool <mbp@samba.org> 13299 13300 * AUTHORS: [no log message] 13301 133022003-09-18 10:20 Martin Pool <mbp@samba.org> 13303 13304 * NEWS: Note portability fixes. 13305 133062003-09-18 10:17 Martin Pool <mbp@samba.org> 13307 13308 * src/ncpus.c, NEWS: In all cases, if we failed to determine the 13309 number of CPUs using sysconf, then assume 1. 13310 133112003-09-18 10:15 Martin Pool <mbp@samba.org> 13312 13313 * src/ncpus.c: If we failed to determine the number of CPUs using 13314 sysconf, then assume 1. 13315 133162003-09-18 10:14 Martin Pool <mbp@samba.org> 13317 13318 * src/ncpus.c: bsdi can use the BSD method of finding NCPUs as 13319 well. Reported by Nick Amato. 13320 133212003-09-17 17:24 Martin Pool <mbp@samba.org> 13322 13323 * src/mon-gnome.c: Accumulate all task lists in a GSList 13324 (currently never truncated) and draw striped bars showing past 13325 tasks. Currently they are not placed on the right row, so the 13326 stripes are all pushed up towards the top. 13327 133282003-09-17 16:10 Martin Pool <mbp@samba.org> 13329 13330 * src/: mon-gnome.c, state.c, state.h: Rework monitor yet again: 13331 :-/ 13332 13333 * State files no longer hold a history of that process's state, 13334 just its current information, and they are removed when the 13335 process exits. 13336 13337 This means that we cannot get very fine-grained plots of 13338 transitions 13339 between states, but it seemed to be hard to get that 13340 information 13341 displayed smoothly without burning a lot of CPU. In addition, 13342 we 13343 were getting hundreds of leftover state files, which slow down 13344 traversing the directory and are not really necessary. 13345 13346 I'll try instead putting the burden of remembering and painting 13347 history onto the monitor, since it's the only program that 13348 really 13349 needs that information. 13350 133512003-09-17 15:44 Martin Pool <mbp@samba.org> 13352 13353 * src/mon.c: Files only 60s old are now considered too old. 13354 133552003-09-17 15:41 Martin Pool <mbp@samba.org> 13356 13357 * NEWS, autogen.sh: Fix autogen.sh for recent versions of GNU 13358 coreutils. Reported by Lisa Seelye. 13359 133602003-09-17 15:36 Martin Pool <mbp@samba.org> 13361 13362 * src/: state.c, distcc.c: Move back towards removing state files 13363 when the client process that they belong to exits. 13364 133652003-09-17 12:27 Martin Pool <mbp@samba.org> 13366 13367 * src/mon-gnome.c: Skip tasks on no host 13368 13369 * Draw labels again 13370 13371 * Refresh every 300ms 13372 133732003-09-17 12:24 Martin Pool <mbp@samba.org> 13374 13375 * src/renderer.c: GtkCellRenderer is no longer needed 13376 133772003-09-17 12:21 Martin Pool <mbp@samba.org> 13378 13379 * COPYING.FDL: The GNU FDL need not be included, because the SGML 13380 manual is gone. All the documentation is in the manpages, 13381 which are GPL'd. 13382 133832003-09-17 12:16 Martin Pool <mbp@samba.org> 13384 13385 * man/distcc.1: Set date. 13386 133872003-09-17 12:14 Martin Pool <mbp@samba.org> 13388 13389 * man/: distccd.1, distcc.1: Add no-warranty statement. 13390 133912003-09-17 12:11 Martin Pool <mbp@samba.org> 13392 13393 * Makefile.in: COPYING.FDL is no longer included, because the 13394 manpages are GPL'd. 13395 133962003-09-16 19:27 Martin Pool <mbp@samba.org> 13397 13398 * src/mon-gnome.c: Only draw rectangles of >=1 width. 13399 134002003-09-16 19:17 Martin Pool <mbp@samba.org> 13401 13402 * src/: mon-gnome.c, mon.c, state.c, state.h: Handle times as 13403 microseconds-since-epoch rather than doubles. 13404 13405 * Rework task drawing routine to correctly handle tasks that have 13406 already completed. 13407 13408 Currently working but a bit slow. 13409 134102003-09-16 19:06 Martin Pool <mbp@samba.org> 13411 13412 * patches/lisa--recursive-mkdir-uid-distccdir.patch: Patch from 13413 Lisa. 13414 134152003-09-16 19:00 Martin Pool <mbp@samba.org> 13416 13417 * src/mon-gnome.c: Better attempt at drawing current and previous 13418 tasks. 13419 134202003-09-16 18:38 Martin Pool <mbp@samba.org> 13421 13422 * src/distcc.c: Make a better attempt at always recording DONE 13423 when we are. 13424 134252003-09-16 18:13 Martin Pool <mbp@samba.org> 13426 13427 * src/mon-gnome.c: Center text labels in bars. 13428 13429 * Set bar height to 1.5x text height. 13430 13431 * Draw host name once per row. 13432 134332003-09-16 18:03 Martin Pool <mbp@samba.org> 13434 13435 * src/: mon-gnome.c, state.h: Much simpler fix for identifying 13436 multiple tasks in the same slot: now that things are sorted 13437 properly, we can just find neighbouring history reports and 13438 check if they're the same. That should make drawing past tasks 13439 easy... 13440 134412003-09-16 15:57 Martin Pool <mbp@samba.org> 13442 13443 * src/state.h: Add a pointer to the next on this slot. 13444 134452003-09-16 15:55 Martin Pool <mbp@samba.org> 13446 13447 * src/mon-gnome.c: Update every 200ms 13448 13449 * Allocate rows for each host slot, so that we can draw multiple 13450 tasks onto each line. 13451 134522003-09-16 15:08 Martin Pool <mbp@samba.org> 13453 13454 * src/mon.c: Sort localhost to the front of the list of tasks. 13455 134562003-09-16 15:04 Martin Pool <mbp@samba.org> 13457 13458 * src/mon.c: Return list of running tasks sorted by hostname and 13459 slot to make monitor displays more likely to keep tasks in a 13460 stable position. 13461 134622003-09-16 14:36 Martin Pool <mbp@samba.org> 13463 13464 * src/mon.c: Don't need signal.c 13465 134662003-09-16 14:23 Martin Pool <mbp@samba.org> 13467 13468 * NEWS: Note that we should now work on BSD/OS. 13469 134702003-09-16 14:20 Martin Pool <mbp@samba.org> 13471 13472 * NEWS: Call getpgrp() rather than getpgid(), because it's the 13473 POSIX.1 standard function. Suggestion from Nick Amato. 13474 134752003-09-16 14:19 Martin Pool <mbp@samba.org> 13476 13477 * src/exec.c: Call getpgrp() rather than getpgid(), because it's 13478 the POSIX.1 standard function. 13479 134802003-09-16 13:56 Martin Pool <mbp@samba.org> 13481 13482 * src/mon-gnome.c: Don't draw border. 13483 13484 * Do get proper alignment between host names and task bars. 13485 13486 * Include slot number in the name. 13487 134882003-09-16 13:28 Martin Pool <mbp@samba.org> 13489 13490 * src/mon-gnome.c: Draw host names on left. (Not very well. :-) 13491 134922003-09-16 13:24 Martin Pool <mbp@samba.org> 13493 13494 * src/mon-gnome.c: Leave space on the left to draw hostnames, and 13495 draw a splitter bar at that point. 13496 13497 * Draw a border around the drawingarea. 13498 134992003-09-16 13:10 Martin Pool <mbp@samba.org> 13500 13501 * Makefile.in: Roll back to using a GtkDrawingArea rather than a 13502 table. renderer.c is no longer needed. 13503 135042003-09-16 13:08 Martin Pool <mbp@samba.org> 13505 13506 * src/mon-gnome.c: Fix up rollback. 13507 135082003-09-16 13:07 Martin Pool <mbp@samba.org> 13509 13510 * src/mon-gnome.c: Roll back to 1.43.2.37, using a GtkDrawingArea 13511 rather than a table. 13512 135132003-09-16 12:42 Martin Pool <mbp@samba.org> 13514 13515 * gnome/distccmon-gnome.glade: Merge back to DrawingArea in 13516 1.1.2.14. No other changes. 13517 135182003-09-15 17:57 Martin Pool <mbp@samba.org> 13519 13520 * src/mon-gnome.c: Redraw the chart more frequently than we 13521 reload the task list, so that scrolling seems smoother. 13522 135232003-09-15 17:32 Martin Pool <mbp@samba.org> 13524 13525 * src/renderer.c: Fix horizontal gaps between stripes. 13526 135272003-09-15 17:30 Martin Pool <mbp@samba.org> 13528 13529 * src/mon-gnome.c: Update every 200ms 13530 135312003-09-15 17:23 Martin Pool <mbp@samba.org> 13532 13533 * src/renderer.c: Draw tasks as multiple strips for each state. 13534 135352003-09-15 17:18 Martin Pool <mbp@samba.org> 13536 13537 * src/: mon-gnome.c, mon.h: Remove old GCs 13538 13539 * Make dcc_timeval_to_double global 13540 135412003-09-15 17:14 Martin Pool <mbp@samba.org> 13542 13543 * src/mon-fake.c: Split out code for fake monitor data; currently 13544 not used. 13545 135462003-09-15 17:02 Martin Pool <mbp@samba.org> 13547 13548 * src/renderer.c: Partially merge some code from the old 13549 GtkDrawingArea implementation, so that we have better-factored 13550 code for drawing state strips. 13551 135522003-09-15 16:50 Martin Pool <mbp@samba.org> 13553 13554 * src/renderer.c: Fix unused params. 13555 135562003-09-15 16:36 Martin Pool <mbp@samba.org> 13557 13558 * src/distcc.h: UNUSED macro should mangle the variable name to 13559 make sure that parameters marked UNUSED are not accidentally 13560 used. 13561 135622003-09-15 16:34 Martin Pool <mbp@samba.org> 13563 13564 * src/renderer.c: Draw state color and filename from the history 13565 record. 13566 135672003-09-15 16:29 Martin Pool <mbp@samba.org> 13568 13569 * src/mon-gnome.c: Go back to a "history" property, being a 13570 pointer to a list of tasks. 13571 135722003-09-15 16:21 Martin Pool <mbp@samba.org> 13573 13574 * src/: renderer.c, mon-gnome.c: Go back to a "history" property, 13575 being a pointer to a list of tasks. 13576 135772003-09-15 16:04 Martin Pool <mbp@samba.org> 13578 13579 * src/where.c: Only enter BLOCKED state when we need to sleep 13580 waiting for a slot. 13581 135822003-09-15 16:03 Martin Pool <mbp@samba.org> 13583 13584 * src/where.c: Sleep only 1s when bored. 13585 135862003-09-15 16:02 Martin Pool <mbp@samba.org> 13587 13588 * src/state.h: Expose client state. 13589 135902003-09-15 16:01 Martin Pool <mbp@samba.org> 13591 13592 * src/where.c: Fix code that caused us not to record the right 13593 slot number for local builds. Remove old code left over from 13594 transmission locks. 13595 135962003-09-15 15:53 Martin Pool <mbp@samba.org> 13597 13598 * src/: lock.c, mon-gnome.c, renderer.c, state.c, state.h, where.c: 13599 * Store slot number as an integer in the state file. 13600 136012003-09-15 15:51 Martin Pool <mbp@samba.org> 13602 13603 * src/mon-text.c: Show slot number in text display. 13604 136052003-09-15 15:33 Martin Pool <mbp@samba.org> 13606 13607 * src/: mon-gnome.c, renderer.c, state.h: Change to storing slot 13608 name in the state file so that we can easily work out which 13609 tasks to draw on which line. Use a global variable to publish 13610 that information to the cell renderer. 13611 136122003-09-15 14:54 Martin Pool <mbp@samba.org> 13613 13614 * src/renderer.c: Make the colored region fill the whole strip. 13615 136162003-09-15 14:46 Martin Pool <mbp@samba.org> 13617 13618 * src/renderer.c: Draw text for jobs vertically centered within 13619 their rectangle. 13620 136212003-09-15 00:41 Martin Pool <mbp@samba.org> 13622 13623 * src/renderer.c: Draw text into the task blocks. 13624 136252003-09-14 20:17 Martin Pool <mbp@samba.org> 13626 13627 * src/renderer.c: Draw a border around the state rectangle, and 13628 try to take the padding into account when drawing. 13629 136302003-09-14 19:48 Martin Pool <mbp@samba.org> 13631 13632 * Makefile.in: Cosmetic 13633 136342003-09-14 19:24 Martin Pool <mbp@samba.org> 13635 13636 * src/: mon-gnome.c, renderer.c: Renderer now draws process 13637 states in something like the right color. 13638 136392003-09-14 17:43 Martin Pool <mbp@samba.org> 13640 13641 * src/renderer.c: Add get/set code for history property. 13642 136432003-09-14 17:40 Martin Pool <mbp@samba.org> 13644 13645 * src/: renderer.c, renderer.h: The implementation structures for 13646 the cell renderer can be more private. 13647 136482003-09-14 17:38 Martin Pool <mbp@samba.org> 13649 13650 * src/renderer.c: Add a "task-history" property to the 13651 CellRenderer, currently storing only an integer that will be 13652 the current task's state. We don't handle sets/gets on it yet. 13653 136542003-09-14 17:33 Martin Pool <mbp@samba.org> 13655 13656 * src/mon-gnome.c: Allow sorting by host name. 13657 13658 * Make the tasks column in the list model store an integer, so 13659 that we can give it the current task's state. Bind this cell 13660 to the "task-history" property of the renderer. 13661 136622003-09-14 17:18 Martin Pool <mbp@samba.org> 13663 13664 * src/: mon-gnome.c, mon-text.c, mon.c, mon.h, state.c, state.h: 13665 Rename dcc_client_history to just dcc_history. 13666 136672003-09-14 17:17 Martin Pool <mbp@samba.org> 13668 13669 * NEWS: Add release header. 13670 136712003-09-14 17:09 Martin Pool <mbp@samba.org> 13672 13673 * src/renderer.c: Doc 13674 136752003-09-12 17:23 Martin Pool <mbp@samba.org> 13676 13677 * src/renderer.h: Add state field to _DccCellRendererChart 13678 136792003-09-12 17:16 Martin Pool <mbp@samba.org> 13680 13681 * src/renderer.c: Implement dcc_cell_renderer_chart_get_size 13682 136832003-09-12 17:08 Martin Pool <mbp@samba.org> 13684 13685 * src/renderer.c: Add a simpleminded implementation of 13686 dcc_cell_renderer_chart_render() that can draw the chart cells as 13687 black rectangles. 13688 136892003-09-12 15:58 Martin Pool <mbp@samba.org> 13690 13691 * src/renderer.c: Implement the get_property and set_property 13692 methods. 13693 136942003-09-12 15:49 Martin Pool <mbp@samba.org> 13695 13696 * src/renderer.c: Fix call to g_type_register_static, which needs 13697 a reference to the parent type. 13698 136992003-09-12 15:46 Martin Pool <mbp@samba.org> 13700 13701 * src/: renderer.c, renderer.h: Add GTK Type boilerplate to 13702 create a new GtkCellRenderer. 13703 137042003-09-12 13:08 Martin Pool <mbp@samba.org> 13705 13706 * Makefile.in, src/mon-gnome.c, src/renderer.c, src/renderer.h: 13707 Put renderer interface into renderer.h 13708 137092003-09-12 13:05 Martin Pool <mbp@samba.org> 13710 13711 * Makefile.in, src/mon-gnome.c, src/renderer.c: Split out draft 13712 GtkCellRenderer into its own file. 13713 137142003-09-11 19:07 Martin Pool <mbp@samba.org> 13715 13716 * src/mon-gnome.c: Start adding a custom renderer. Doesn't do 13717 anything yet. 13718 137192003-09-11 18:57 Martin Pool <mbp@samba.org> 13720 13721 * src/mon-gnome.c: As an experiment, draw pixbufs into the task 13722 cells using a GtkCellRendererPixmap, rather than text. This 13723 seems to be working OK. 13724 137252003-09-11 18:47 Martin Pool <mbp@samba.org> 13726 13727 * src/mon-gnome.c: Put hostname and state into the tree model as 13728 they're updated. 13729 137302003-09-11 18:47 Martin Pool <mbp@samba.org> 13731 13732 * gnome/distccmon-gnome.glade: Turn off rules_hint on table. 13733 137342003-09-11 18:23 Martin Pool <mbp@samba.org> 13735 13736 * src/mon-gnome.c: Add a task column. 13737 137382003-09-11 18:17 Martin Pool <mbp@samba.org> 13739 13740 * gnome/distccmon-gnome.glade, src/mon-gnome.c: Move back towards 13741 using a table, but now with space for our own GtkCellRenderer 13742 to draw a chart for each host slot. At the moment nothing is 13743 in the table, just a column for host names. 13744 137452003-09-11 17:44 Martin Pool <mbp@samba.org> 13746 13747 * src/mon-gnome.c: Cut out trace messages. 13748 137492003-09-11 17:31 Martin Pool <mbp@samba.org> 13750 13751 * src/mon-gnome.c: Use real task information. 13752 13753 * Avoid coloring in areas that will be hidden by the border. 13754 13755 * Make the border the correct width. 13756 137572003-09-11 17:15 Martin Pool <mbp@samba.org> 13758 13759 * src/mon-gnome.c: Draw text labels in black. 13760 13761 * Add a second file to the fake information. 13762 13763 * Set the start time on fake files. 13764 13765 * Draw all states for a file, using the old code but adapted to 13766 drawing on the DrawingArea not a canvas. 13767 137682003-09-11 15:19 Martin Pool <mbp@samba.org> 13769 13770 * src/mon-gnome.c: Draw tasks from a faked up list, rather than 13771 just drawing arbitrary rectangles. 13772 13773 * Redraw window using gtk_widget_queue_draw rather than Gdk. 13774 This seems to fix a problem with redraw. Perhaps we were 13775 passing the wrong rectangle. 13776 137772003-09-11 15:02 Martin Pool <mbp@samba.org> 13778 13779 * src/mon-gnome.c: Set bar height from font height. 13780 13781 Now when you change the GNOME system font, all the bars redraw to 13782 the right height. That is so cool. :-) 13783 137842003-09-10 22:51 Martin Pool <mbp@samba.org> 13785 13786 * src/mon-gnome.c: Cut out expose trace events. 13787 137882003-09-10 22:48 Martin Pool <mbp@samba.org> 13789 13790 * src/mon-gnome.c: Stub out display of tasks so that we do get 13791 something correctly drawn again. 13792 137932003-09-10 18:27 Martin Pool <mbp@samba.org> 13794 13795 * Makefile.in, configure.ac: We need Pango as well for GNOME. 13796 137972003-09-10 18:27 Martin Pool <mbp@samba.org> 13798 13799 * src/mon-gnome.c: Start adding support for fake monitor data for 13800 testing. 13801 138022003-09-10 17:03 Martin Pool <mbp@samba.org> 13803 13804 * src/mon-gnome.c: Draw tasks from the task list. 13805 138062003-09-10 16:25 Martin Pool <mbp@samba.org> 13807 13808 * src/mon-gnome.c: Draw tasks by creating a new PangoLayout each 13809 time using the GTK+ helper. 13810 138112003-09-10 16:13 Martin Pool <mbp@samba.org> 13812 13813 * src/mon-gnome.c: Draw labels onto file rectangles using Pango. 13814 How cool! 13815 138162003-09-10 15:27 Martin Pool <mbp@samba.org> 13817 13818 * gnome/distccmon-gnome.glade: Put the chart drawing into a 13819 GtkAlignment so that we can get a 6px border around it. It was 13820 looking a bit cramped against the window border. 13821 138222003-09-10 15:17 Martin Pool <mbp@samba.org> 13823 13824 * src/mon-gnome.c: Allocate GCs for all states. 13825 13826 * Draw nice gray outlines around all task rectangles. 13827 138282003-09-10 15:05 Martin Pool <mbp@samba.org> 13829 13830 * src/mon-gnome.c: Invalidate/repaint the chart widget every time 13831 we update the list. 13832 138332003-09-10 15:00 Martin Pool <mbp@samba.org> 13834 13835 * src/mon-gnome.c: Factor out code for drawing state rectangles 13836 (back) into dcc_draw_state_rect(). 13837 13838 * Draw a whole array of dummy tasks. 13839 138402003-09-10 14:55 Martin Pool <mbp@samba.org> 13841 13842 * src/mon-gnome.c: Allocate a graphics context in the appropriate 13843 color and use it to draw our dummy tasks. 13844 138452003-09-10 14:32 Martin Pool <mbp@samba.org> 13846 13847 * src/mon-gnome.c: Stub for on_chart_drawing_expose(). 13848 138492003-09-10 14:19 Martin Pool <mbp@samba.org> 13850 13851 * gnome/distccmon-gnome.glade, src/mon-gnome.c: Rework again: 13852 13853 * Start adding a 'key' window showing all the state colors. 13854 13855 * Go back to a DrawingArea for showing the chart (just 13856 experimental). 13857 13858 * Delete table view from monitor. 13859 138602003-09-09 18:17 Martin Pool <mbp@samba.org> 13861 13862 * src/state.h: States must be listed in the order in which 13863 they're run. 13864 138652003-09-09 18:15 Martin Pool <mbp@samba.org> 13866 13867 * src/mon-gnome.c: Update every 150ms. 13868 13869 * Don't update the table. 13870 13871 * Don't include DONE tasks. 13872 13873 * Left-align filename. 13874 13875 * Don't outline tasks. 13876 13877 * Reorder color list for new state enum. 13878 13879 * Make sure all states are drawn properly. 13880 13881 This is leaking memory badly! 13882 138832003-09-09 17:54 Martin Pool <mbp@samba.org> 13884 13885 * src/compile.c: Record input filename as soon as it is known. 13886 138872003-09-09 17:53 Martin Pool <mbp@samba.org> 13888 13889 * src/state.c: Don't update state times that are already 13890 recorded. 13891 138922003-09-09 17:52 Martin Pool <mbp@samba.org> 13893 13894 * src/where.c: Go into BLOCKED state at the start of the locking 13895 phase, so that we don't need to update repeatedly. 13896 138972003-09-09 17:29 Martin Pool <mbp@samba.org> 13898 13899 * src/mon-gnome.c: Draw compilation tasks as striated rectangles. 13900 Handling of DONE tasks is not OK yet. 13901 139022003-09-09 17:14 Martin Pool <mbp@samba.org> 13903 13904 * src/: compile.c, distcc.c: Go into STARTUP state earlier in the 13905 client process. 13906 139072003-09-09 17:09 Martin Pool <mbp@samba.org> 13908 13909 * src/state.c: Make sure the time is recorded even for state 0. 13910 In fact, always update the time whenever dcc_note_state() is 13911 called. 13912 139132003-09-09 16:57 Martin Pool <mbp@samba.org> 13914 13915 * src/compile.c: Please do use DCC_STATE_STARTUP so that we know 13916 when we started. 13917 139182003-09-09 16:43 Martin Pool <mbp@samba.org> 13919 13920 * src/mon-gnome.c: Factor out code to create canvas items for the 13921 task 13922 139232003-09-09 16:21 Martin Pool <mbp@samba.org> 13924 13925 * src/mon-gnome.c: Color task bars according to current state. 13926 139272003-09-08 21:12 Martin Pool <mbp@samba.org> 13928 13929 * src/mon-gnome.c: Check for glade definition file in ., ./gnome, 13930 and DATADIR. 13931 139322003-09-08 21:10 Martin Pool <mbp@samba.org> 13933 13934 * Makefile.in: Fix Make syntax 13935 139362003-09-08 21:09 Martin Pool <mbp@samba.org> 13937 13938 * Makefile.in: Pass in DATADIR (e.g. /usr/local/share) when 13939 installing. 13940 139412003-09-08 18:11 Martin Pool <mbp@samba.org> 13942 13943 * src/mon-gnome.c: More experiments in drawing. 13944 139452003-09-08 18:10 Martin Pool <mbp@samba.org> 13946 13947 * gnome/distccmon-gnome.glade: Try a Canvas in a GtkAlignment 13948 139492003-09-08 17:47 Martin Pool <mbp@samba.org> 13950 13951 * src/mon-gnome.c: More progress on canvas display 13952 13953 * Skip done tasks 13954 13955 * Show a nice vertical stack of running tasks, with the file name 13956 in each, and drawn with reasonable colors. 13957 139582003-09-08 17:33 Martin Pool <mbp@samba.org> 13959 13960 * src/mon-gnome.c: More progress on canvas display 13961 13962 * Put all bars into an overall group, so that they can all be 13963 removed every time we redraw. 13964 13965 * Create all process bars in one group each time. 13966 139672003-09-08 16:39 Martin Pool <mbp@samba.org> 13968 13969 * src/mon-gnome.c: More fixups for new state mechanism 13970 13971 * Convert state to a string before putting it into the table. 13972 13973 * Skip done tasks. 13974 139752003-09-08 16:26 Martin Pool <mbp@samba.org> 13976 13977 * src/mon-gnome.c: Fix up (mostly renames) for new monitor 13978 interface. 13979 139802003-09-08 16:21 Martin Pool <mbp@samba.org> 13981 13982 * src/mon-text.c: Skip display of Done tasks. 13983 139842003-09-08 16:20 Martin Pool <mbp@samba.org> 13985 13986 * src/state.c: Add missing state names. 13987 139882003-09-08 16:19 Martin Pool <mbp@samba.org> 13989 13990 * src/state.c: Make sure to actually record our state! 13991 139922003-09-08 16:12 Martin Pool <mbp@samba.org> 13993 13994 * src/: state.c, state.h, mon-text.c: Put state names into a new 13995 function dcc_get_state_name, rather than into constants. 13996 139972003-09-08 16:08 Martin Pool <mbp@samba.org> 13998 13999 * src/mon.c: Processes that have exited can still be returned. 14000 140012003-09-08 16:01 Martin Pool <mbp@samba.org> 14002 14003 * src/mon.c: Now that we're storing client history, it's OK to 14004 return information about processes that have already exited. 14005 We just need to make sure that their state gets set to 14006 DCC_STATE_DONE. 14007 140082003-09-08 15:59 Martin Pool <mbp@samba.org> 14009 14010 * src/state.c: Put the client pid into the state file. 14011 140122003-09-08 15:57 Martin Pool <mbp@samba.org> 14013 14014 * src/: mon.c, state.c, state.h: Store a magic number in the 14015 binary state file as a little protection. 14016 14017 * Align magic and pid fields to unsigned longs. 14018 140192003-09-08 15:51 Martin Pool <mbp@samba.org> 14020 14021 * src/state.c: Store history of state transitions in the state 14022 file. 14023 140242003-09-08 15:48 Martin Pool <mbp@samba.org> 14025 14026 * NEWS, src/clirpc.c, src/compile.c, src/distcc.c, src/mon-text.c, 14027 src/mon.c, src/mon.h, src/remote.c, src/state.c, src/state.h, 14028 src/where.c: Many changes to the representation of the client 14029 state to make it easier to draw a history. 14030 14031 * State is now stored as a natively encoded struct in a disk 14032 file, rather than using our network protocol. This is slightly 14033 faster, makes it easier to store multiple fields, and avoids 14034 tangling up the state file handling (which ought to ignore 14035 errors) with network IO. 14036 14037 * States can now be written and read with one atomic IO, and we 14038 don't use temporary files. 14039 14040 * States are represented by integers not strings. 14041 14042 * There is space in the state file for a history of times that it 14043 entered particular states. 14044 140452003-09-08 15:29 Martin Pool <mbp@samba.org> 14046 14047 * src/: util.h, util.c: Add strlcpy() if missing. 14048 140492003-09-08 15:29 Martin Pool <mbp@samba.org> 14050 14051 * configure.ac: Add check for strlcpy(). 14052 140532003-09-08 13:17 Martin Pool <mbp@samba.org> 14054 14055 * src/mon-gnome.c: Draw rectangles onto the canvas for each job 14056 that's currently running. 14057 140582003-09-08 13:11 Martin Pool <mbp@samba.org> 14059 14060 * src/mon-gnome.c: Set canvas scroll region at startup. 14061 140622003-09-08 13:04 Martin Pool <mbp@samba.org> 14063 14064 * src/mon-gnome.c: Draw little rectangles into the chart from the 14065 timer callback to prove that we can. 14066 140672003-09-08 12:51 Martin Pool <mbp@samba.org> 14068 14069 * src/mon-gnome.c: Prepare to update both table and chart from 14070 one timer callback. Refactor into a part that gets the process 14071 list and a new function that updates the table model. 14072 14073 * Add some prototypes for functions called by glade to silence 14074 compiler warnings. 14075 140762003-09-08 12:45 Martin Pool <mbp@samba.org> 14077 14078 * src/mon-gnome.c: Rename setup_proc_view -> setup_table_view. 14079 14080 * Doc. 14081 140822003-09-08 12:44 Martin Pool <mbp@samba.org> 14083 14084 * src/mon-gnome.c: Document design of chart view. 14085 140862003-09-07 22:54 Martin Pool <mbp@samba.org> 14087 14088 * src/mon-gnome.c: Draw a rectangle onto the chart to see it 14089 working. 14090 140912003-09-07 19:09 Martin Pool <mbp@samba.org> 14092 14093 * gnome/distccmon-gnome.glade: Swich from a DrawingArea to a 14094 Canvas for the chart view. 14095 140962003-09-07 19:04 Martin Pool <mbp@samba.org> 14097 14098 * src/mon-gnome.c: Swich from a DrawingArea to a Canvas for the 14099 chart view. 14100 141012003-09-07 19:03 Martin Pool <mbp@samba.org> 14102 14103 * Makefile.in: Move mon-gnome.c back to src/ 14104 14105 * Pull out common list of packages to be passed to pkg-config. 14106 14107 * Compile mon-gnome.c separate from linking. 14108 141092003-09-07 18:53 Martin Pool <mbp@samba.org> 14110 14111 * gnome/mon-gnome.c, src/mon-gnome.c: Move mon-gnome.c back to 14112 src/ 14113 141142003-09-05 17:01 Martin Pool <mbp@samba.org> 14115 14116 * gnome/mon-gnome.c: Abort if we can't find the glade XML file. 14117 141182003-09-04 15:20 Martin Pool <mbp@samba.org> 14119 14120 * man/distcc.1: Clear up explanation of --allow option. 14121 14122 * Note that "gcc hello.c" is not split. 14123 141242003-09-03 12:41 Martin Pool <mbp@samba.org> 14125 14126 * src/where.c, NEWS: Sleep only one second when blocked, to try 14127 to reduce idle time when recovering from an overloaded period. 14128 141292003-09-01 23:20 Martin Pool <mbp@samba.org> 14130 14131 * gnome/: distccmon-gnome.glade, mon-gnome.c: Draw big black 14132 ellipse in the chart area. 14133 141342003-09-01 23:15 Martin Pool <mbp@samba.org> 14135 14136 * gnome/: distccmon-gnome.glade, mon-gnome.c: Try to make View 14137 menu items toggle each other. Not working yet. 14138 141392003-09-01 23:09 Martin Pool <mbp@samba.org> 14140 14141 * gnome/distccmon-gnome.glade: Put tabs on the notebook just for 14142 the time being. 14143 141442003-09-01 23:02 Martin Pool <mbp@samba.org> 14145 14146 * gnome/: distccmon-gnome.glade, mon-gnome.c: Flip between view 14147 notebook pages when view menu items are chosen. 14148 141492003-09-01 22:47 Martin Pool <mbp@samba.org> 14150 14151 * gnome/: distccmon-gnome.glade, mon-gnome.c: Add a cute monkey 14152 icon. 14153 14154 * Add an About box and hook it up appropriately. 14155 141562003-09-01 22:23 Martin Pool <mbp@samba.org> 14157 14158 * gnome/: distccmon-gnome.glade, mon-gnome.c: Hook up process 14159 table to Glade. The existing processs monitoring functions are 14160 now working again. 14161 141622003-09-01 22:09 Martin Pool <mbp@samba.org> 14163 14164 * gnome/: distccmon-gnome.glade, mon-gnome.c: Get load bar hooked 14165 up for Gnome monitor. 14166 141672003-09-01 22:04 Martin Pool <mbp@samba.org> 14168 14169 * gnome/: distccmon-gnome.glade, mon-gnome.c: More merges of 14170 monitor code into Glade interface. 14171 14172 * Set size of Glade window at startup and tweak scrollbars. 14173 141742003-09-01 21:39 Martin Pool <mbp@samba.org> 14175 14176 * gnome/mon-gnome.c: Merge in all the GNOME monitor code from 14177 HEAD. 14178 141792003-09-01 21:23 Martin Pool <mbp@samba.org> 14180 14181 * configure.ac: Check for other necessary libraries when 14182 --enable-gnome is given. 14183 14184 * Bump version. 14185 141862003-09-01 13:33 Martin Pool <mbp@samba.org> 14187 14188 * TODO: Idea of using gkrellm 14189 141902003-09-01 11:30 Martin Pool <mbp@samba.org> 14191 14192 * man/distccd.1: Add a little more explanation of --allow. 14193 141942003-08-28 15:05 Martin Pool <mbp@samba.org> 14195 14196 * TODO: Update for done tasks. 14197 141982003-08-28 15:02 Martin Pool <mbp@samba.org> 14199 14200 * man/distccd.1: Note that ccache can't be called from distccd. 14201 142022003-08-28 14:33 Martin Pool <mbp@samba.org> 14203 14204 * NEWS, man/distcc.1: Note about problems with no_subtree_check. 14205 142062003-08-28 14:31 Martin Pool <mbp@samba.org> 14207 14208 * TODO: DEPENDENCIES_OUTPUT is not directly a problem for distcc. 14209 142102003-08-28 12:48 Martin Pool <mbp@samba.org> 14211 14212 * cases/mmaptest.c: Bug has been isolated; no longer need this 14213 test case. 14214 142152003-08-28 12:45 Martin Pool <mbp@samba.org> 14216 14217 * cases/mmaptest.c: More tests for NFS bug. 14218 142192003-08-26 15:56 Martin Pool <mbp@samba.org> 14220 14221 * cases/mmaptest.c: Do the mmapped IO in a child process, to be 14222 more similar to ccache/distcc. 14223 142242003-08-26 12:01 Martin Pool <mbp@samba.org> 14225 14226 * cases/: .cvsignore, mmaptest.c: Add test for mmap-on-NFS 14227 problems 14228 142292003-08-25 16:06 Martin Pool <mbp@samba.org> 14230 14231 * src/pump.c: Doc 14232 142332003-08-25 12:48 Martin Pool <mbp@samba.org> 14234 14235 * src/: arg.c, compile.c, compress.c, serve.c: Patch from Wayne 14236 Davison to fix Solaris warnings 14237 142382003-08-25 11:55 Martin Pool <mbp@samba.org> 14239 14240 * src/: compress.c, io.c, io.h, pump.c: Add DISTCC_MMAP option, 14241 defaults to on. May be useful in working around bugs with mmap 14242 on NFS. 14243 142442003-08-25 11:13 Martin Pool <mbp@samba.org> 14245 14246 * man/distcc.1, man/distccd.1, NEWS: Document DISTCC_MMAP. 14247 142482003-08-15 14:17 Martin Pool <mbp@samba.org> 14249 14250 * Makefile.in, gnome/distccmon-gnome.glade, 14251 gnome/distccmon-gnome.gladep, gnome/mon-gnome.c: Initial stub 14252 version of the monitor. 14253 142542003-08-15 14:16 Martin Pool <mbp@samba.org> 14255 14256 * src/mon-gnome.c: Move gnome monitor into its own directory. 14257 142582003-08-14 18:12 Martin Pool <mbp@samba.org> 14259 14260 * TODO, gnome/distccmon-gnome.glade, gnome/distccmon-gnome.gladep, 14261 gnome/mon-gnome.c: Start doing a better GNOME monitor. 14262 142632003-08-13 13:05 Martin Pool <mbp@samba.org> 14264 14265 * TODO: Note problem with DEPENDENCIES_OUTPUT. 14266 142672003-08-13 12:57 Martin Pool <mbp@samba.org> 14268 14269 * configure.ac: Bump version. 14270 142712003-08-12 13:34 Martin Pool <mbp@samba.org> 14272 14273 * man/distcc.1: Update manpage date. 14274 142752003-08-12 13:27 Martin Pool <mbp@samba.org> 14276 14277 * test/testdistcc.py: Set DISTCC_DIR when running tests to give 14278 better isolation between tests and anything else that might be 14279 happening on the machine. 14280 142812003-08-12 13:18 Martin Pool <mbp@samba.org> 14282 14283 * Makefile.in: make distcheck ought to run maintainer-check and 14284 also check that the directory can be cleaned. 14285 142862003-08-12 13:10 Martin Pool <mbp@samba.org> 14287 14288 * NEWS: Note "make clean" problem is fixed. 14289 142902003-08-12 13:09 Martin Pool <mbp@samba.org> 14291 14292 * configure.ac: Bump version to 2.10.1 14293 142942003-08-12 11:42 Martin Pool <mbp@samba.org> 14295 14296 * Makefile.in: Fix "make clean" problem in lzo. Reported by Lisa 14297 Marie Seelye. 14298 142992003-08-11 16:09 Martin Pool <mbp@samba.org> 14300 14301 * cases/hello.c: Make hello actually say hello 14302 143032003-08-11 16:07 Martin Pool <mbp@samba.org> 14304 14305 * distcc-check: Allow the compiler to be changed. 14306 143072003-08-11 16:05 Martin Pool <mbp@samba.org> 14308 14309 * NEWS, configure.ac: Prepare for release. 14310 143112003-08-11 15:51 Martin Pool <mbp@samba.org> 14312 14313 * TODO: Suggestions from Lisa on the monitor. 14314 143152003-08-11 15:46 Martin Pool <mbp@samba.org> 14316 14317 * src/tempfile.c: Fix from wayned for crash when DISTCC_DIR is 14318 set. 14319 143202003-08-11 15:43 Martin Pool <mbp@samba.org> 14321 14322 * src/tempfile.c: Doc. 14323 143242003-08-11 15:40 Martin Pool <mbp@samba.org> 14325 14326 * test/testdistcc.py: [no log message] 14327 143282003-08-11 15:33 Martin Pool <mbp@samba.org> 14329 14330 * NEWS: [no log message] 14331 143322003-08-11 15:32 Martin Pool <mbp@samba.org> 14333 14334 * man/distcc.1: Corrections from Frerich Raabe. 14335 143362003-08-11 15:18 Martin Pool <mbp@samba.org> 14337 14338 * src/exec.c, NEWS: For simple compile failures, don't say "with 14339 exit code 1". 14340 143412003-08-11 15:15 Martin Pool <mbp@samba.org> 14342 14343 * src/exec.c: Doc. 14344 143452003-08-07 15:42 Martin Pool <mbp@samba.org> 14346 14347 * TODO: [no log message] 14348 143492003-08-05 12:09 Martin Pool <mbp@samba.org> 14350 14351 * src/exitcode.h: Add include guard. 14352 143532003-08-05 11:56 Martin Pool <mbp@samba.org> 14354 14355 * Makefile.in: Remove roadmap page, because it's now largely 14356 complete. 14357 143582003-08-05 11:53 Martin Pool <mbp@samba.org> 14359 14360 * Makefile.in: Make sure examples get installed into doc/example. 14361 143622003-08-05 11:48 Martin Pool <mbp@samba.org> 14363 14364 * doc/example-init, doc/example/init, doc/example/init-suse, 14365 doc/example/logrotate, doc/example/xinetd, Makefile.in, 14366 doc/example.xinetd: Move all example files into doc/example. 14367 143682003-07-25 17:34 Martin Pool <mbp@samba.org> 14369 14370 * doc/results.txt: [no log message] 14371 143722003-07-25 17:25 Martin Pool <mbp@samba.org> 14373 14374 * bench/Summary.py: Show summary table properly. 14375 143762003-07-25 15:50 Martin Pool <mbp@samba.org> 14377 14378 * src/state.c, NEWS: Roll back to writing state into temporary 14379 files. 14380 143812003-07-25 15:36 Martin Pool <mbp@samba.org> 14382 14383 * test/testdistcc.py: Doc 14384 143852003-07-25 15:35 Martin Pool <mbp@samba.org> 14386 14387 * test/testdistcc.py: If the daemon fails to bind to the desired 14388 port, keep trying other ones. 14389 143902003-07-25 15:21 Martin Pool <mbp@samba.org> 14391 14392 * NEWS: Store state files by writing and rewriting them directly, 14393 rather than renaming every time. That was starting to take a 14394 fair fraction of our syscalls. 14395 143962003-07-25 15:15 Martin Pool <mbp@samba.org> 14397 14398 * src/state.c: Fix state file names. 14399 144002003-07-25 15:14 Martin Pool <mbp@samba.org> 14401 14402 * src/state.c: Store state files by writing and rewriting them 14403 directly, rather than renaming every time. That was starting 14404 to take a fair fraction of our syscalls. 14405 144062003-07-25 14:56 Martin Pool <mbp@samba.org> 14407 14408 * NEWS: [no log message] 14409 144102003-07-25 14:53 Martin Pool <mbp@samba.org> 14411 14412 * src/tempfile.c: Make temp filenames more random. 14413 144142003-07-25 14:51 Martin Pool <mbp@samba.org> 14415 14416 * src/tempfile.c: Check return code when closing the temporary 14417 file after creating it. 14418 144192003-07-25 14:47 Martin Pool <mbp@samba.org> 14420 14421 * src/tempfile.c: O_NOFOLLOW is not needed with O_EXCL and 14422 O_CREAT, because they never follow symlinks. 14423 14424 * Doc. 14425 144262003-07-25 14:39 Martin Pool <mbp@samba.org> 14427 14428 * src/tempfile.c: dcc_make_tmpnam: Fix the case where the chosen 14429 name already exists. 14430 144312003-07-25 14:34 Martin Pool <mbp@samba.org> 14432 14433 * src/tempfile.c: Create temporary files in a loop, with O_EXCL 14434 and O_NOFOLLOW to try to guard against collision with existing 14435 files or links. 14436 144372003-07-25 14:15 Martin Pool <mbp@samba.org> 14438 14439 * src/: cpp.c, serve.c: Better template names for temporary 14440 files. 14441 144422003-07-25 14:08 Martin Pool <mbp@samba.org> 14443 14444 * configure.ac: Check for gettimeofday 14445 144462003-07-25 13:52 Martin Pool <mbp@samba.org> 14447 14448 * src/: tempfile.c, tempfile.h: dcc_get_top_dir can be static, 14449 and does not need to return a newly-allocated string. 14450 144512003-07-25 13:32 Martin Pool <mbp@samba.org> 14452 14453 * src/: lock.c, mon.c, state.c, tempfile.c, tempfile.h: Make sure 14454 lock dir and state dir are only created the first time we use 14455 them. 14456 144572003-07-25 13:22 Martin Pool <mbp@samba.org> 14458 14459 * NEWS, src/lock.c, src/mon.c, src/state.c, src/tempfile.c, 14460 src/tempfile.h: Temporary directory is now gone. Working files 14461 are created directly under $TMPDIR, as they are for gcc. Lock 14462 files and state files are stored under DISTCC_DIR. 14463 144642003-07-25 13:18 Martin Pool <mbp@samba.org> 14465 14466 * src/distcc.c: Temporary directory is no longer used. 14467 144682003-07-25 12:35 Martin Pool <mbp@samba.org> 14469 14470 * Makefile.in: cleanup.c is also needed by monitors. 14471 144722003-07-25 11:53 Martin Pool <mbp@samba.org> 14473 14474 * src/tempfile.c: Daemon runs from root directory, not the 14475 temporary directory. 14476 14477 * Doc. 14478 144792003-07-25 11:51 Martin Pool <mbp@samba.org> 14480 14481 * src/daemon.c, src/tempfile.h, NEWS: Daemon runs from root 14482 directory, not the temporary directory. 14483 144842003-07-24 18:58 Martin Pool <mbp@samba.org> 14485 14486 * src/tempfile.c: Doc 14487 144882003-07-24 18:46 Martin Pool <mbp@samba.org> 14489 14490 * src/tempfile.c: Remove dead fifo code. 14491 144922003-07-24 18:45 Martin Pool <mbp@samba.org> 14493 14494 * Makefile.in, src/cleanup.c, src/tempfile.c, src/tempfile.h: 14495 Factor out tempfile cleanup into a new file cleanup.c 14496 144972003-07-24 18:43 Martin Pool <mbp@samba.org> 14498 14499 * patches/ccache-uncached-err.diff: Patch to ccache to avoid 14500 caching network errors. 14501 145022003-07-24 18:20 Martin Pool <mbp@samba.org> 14503 14504 * NEWS: Note about tmpdir fixes. 14505 145062003-07-24 18:17 Martin Pool <mbp@samba.org> 14507 14508 * src/tempfile.c: dcc_get_tempdir: Make sure that if we fail the 14509 first time we don't pass back a bogus directory on future 14510 attempts. 14511 145122003-07-24 18:12 Martin Pool <mbp@samba.org> 14513 14514 * src/distcc.c: Check up front in the client that the working 14515 directory can be created, otherwise we get a whole pile of 14516 errors when it fails. 14517 145182003-07-24 17:58 Martin Pool <mbp@samba.org> 14519 14520 * src/: cpp.c, lock.c, lock.h, serve.c, state.c, tempfile.c, 14521 tempfile.h, timefile.c: Change temporary filename handling to 14522 consistently use error returns and check them. 14523 145242003-07-23 17:19 Martin Pool <mbp@samba.org> 14525 14526 * src/: state.c, tempfile.c, tempfile.h: dcc_make_dir: Rename to 14527 dcc_safe_mkdir. Check the ownership of the directory after it 14528 is created to help guard against an attacker creating the 14529 directory. 14530 145312003-07-23 17:18 Martin Pool <mbp@samba.org> 14532 14533 * TODO: [no log message] 14534 145352003-07-23 16:56 Martin Pool <mbp@samba.org> 14536 14537 * src/tempfile.c: Doc. 14538 145392003-07-23 16:11 Martin Pool <mbp@samba.org> 14540 14541 * src/tempfile.c: Don't check that TMPDIR starts with '/'. 14542 14543 * dcc_setup_tempdir can be static. 14544 145452003-07-23 16:11 Martin Pool <mbp@samba.org> 14546 14547 * src/tempfile.h: dcc_setup_tempdir can be static. 14548 145492003-07-23 16:09 Martin Pool <mbp@samba.org> 14550 14551 * NEWS: Don't check that TMPDIR starts with '/'. 14552 145532003-07-22 18:02 Martin Pool <mbp@samba.org> 14554 14555 * src/pump.c: Doc. 14556 145572003-07-22 17:36 Martin Pool <mbp@samba.org> 14558 14559 * src/lock.c: Be strict about enums. 14560 145612003-07-22 17:35 Martin Pool <mbp@samba.org> 14562 14563 * src/: clirpc.c, rpc.c, rpc.h: waitstatus is not unsigned. 14564 145652003-07-22 17:34 Martin Pool <mbp@samba.org> 14566 14567 * src/filename.c: dcc_output_from_source: Remove dead variable. 14568 145692003-07-22 17:33 Martin Pool <mbp@samba.org> 14570 14571 * configure.ac: Remove doubled CFLAG. 14572 145732003-07-22 17:30 Martin Pool <mbp@samba.org> 14574 14575 * src/exec.c: waitstatus is not unsigned. 14576 145772003-07-22 17:25 Martin Pool <mbp@samba.org> 14578 14579 * src/: exec.h, distcc.h: waitstatus is not unsigned. 14580 145812003-07-22 17:24 Martin Pool <mbp@samba.org> 14582 14583 * src/compile.c: Signedness warning correction; reported by 14584 Dimitri Papadopoulos. 14585 145862003-07-22 17:21 Martin Pool <mbp@samba.org> 14587 14588 * src/remote.c: timeval.h is not needed. 14589 145902003-07-22 17:19 Martin Pool <mbp@samba.org> 14591 14592 * src/tempfile.c: Snip out dcc_mkfifo 14593 145942003-07-22 16:58 Martin Pool <mbp@samba.org> 14595 14596 * NEWS: [no log message] 14597 145982003-07-22 16:57 Martin Pool <mbp@samba.org> 14599 14600 * man/distcc.1: Document UNCACHED_ERR_FD. 14601 146022003-07-22 16:55 Martin Pool <mbp@samba.org> 14603 14604 * man/distcc.1: Note that ccache doesn't handle compilation from 14605 .i files. 14606 146072003-07-22 16:47 Martin Pool <mbp@samba.org> 14608 14609 * src/daemon.c: Factor out code for setting the daemon's path. 14610 14611 * Show path for daemon at startup. 14612 146132003-07-22 16:43 Martin Pool <mbp@samba.org> 14614 14615 * src/daemon.c: daemon/main: The daemon no longer trims its path, 14616 because it will emit warnings if a masqueraded directory is 14617 detected. 14618 146192003-07-22 16:42 Martin Pool <mbp@samba.org> 14620 14621 * src/util.c: dcc_trim_path: This is no longer called by the 14622 server, only by the client. So remove support for detecting 14623 ccache, and require the compiler name to always be specified. 14624 146252003-07-22 16:38 Martin Pool <mbp@samba.org> 14626 14627 * TODO: [no log message] 14628 146292003-07-22 16:35 Martin Pool <mbp@samba.org> 14630 14631 * src/distcc.c: Remove duplicated dcc_find_basename(). 14632 146332003-07-22 14:16 Martin Pool <mbp@samba.org> 14634 14635 * distcc-check: Doc 14636 146372003-07-22 14:13 Martin Pool <mbp@samba.org> 14638 14639 * NEWS: Default niceness is 5. 14640 146412003-07-22 14:11 Martin Pool <mbp@samba.org> 14642 14643 * src/: daemon.c, dopt.c, dopt.h, util.c: Increment niceness by 5 14644 by default. 14645 146462003-07-22 14:08 Martin Pool <mbp@samba.org> 14647 14648 * man/distccd.1: Clarify that niceness is an increment not an 14649 absolute value. 14650 14651 * Default niceness is 5. 14652 146532003-07-22 13:58 Martin Pool <mbp@samba.org> 14654 14655 * NEWS: Nasty note about SCO. 14656 146572003-07-22 13:53 Martin Pool <mbp@samba.org> 14658 14659 * doc/results.txt: SSH results. 14660 146612003-07-22 12:43 Martin Pool <mbp@samba.org> 14662 14663 * README.packaging: More suggestions about cross compiling from 14664 Dag Wieers. 14665 146662003-07-21 17:37 Martin Pool <mbp@samba.org> 14667 14668 * src/serve.c: dcc_run_job: Before executing the compiler, check 14669 the server's path and emit a warning if it looks like a symlink 14670 to distcc. 14671 146722003-07-21 17:36 Martin Pool <mbp@samba.org> 14673 14674 * NEWS: Note about finding the right compiler on the volunteer. 14675 146762003-07-21 17:14 Martin Pool <mbp@samba.org> 14677 14678 * src/distcc.c: Doc. 14679 146802003-07-21 16:35 Martin Pool <mbp@samba.org> 14681 14682 * src/: distcc.c: Doc. 14683 146842003-07-21 16:31 Martin Pool <mbp@samba.org> 14685 14686 * src/distcc.c: distcc/main: Rename variable. 14687 146882003-07-21 16:25 Martin Pool <mbp@samba.org> 14689 14690 * src/distcc.c: dcc_get_my_basename: Rename to dcc_find_basename, 14691 which is a better name, and just make it work on a string, 14692 rather than looking in an argv. This function is really no 14693 longer distcc-specific. 14694 146952003-07-21 16:06 Martin Pool <mbp@samba.org> 14696 14697 * configure.ac: Bump version. 14698 146992003-07-21 15:50 Martin Pool <mbp@samba.org> 14700 14701 * man/distcc.1: Remove PP 14702 147032003-07-21 15:24 Martin Pool <mbp@samba.org> 14704 14705 * configure.ac, NEWS: 2.9 release. 14706 147072003-07-21 15:14 Martin Pool <mbp@samba.org> 14708 14709 * configure.ac: Make sure GNOME_BIN actually gets set. 14710 147112003-07-21 15:10 Martin Pool <mbp@samba.org> 14712 14713 * Makefile.in: lzoconf.h needs to be distributed. 14714 147152003-07-21 15:07 Martin Pool <mbp@samba.org> 14716 14717 * doc/results.txt: [no log message] 14718 147192003-07-21 14:59 Martin Pool <mbp@samba.org> 14720 14721 * src/util.c, NEWS: When trimming the path to avoid recursive 14722 invocations, stop as soon as we find one non-symlink compiler. 14723 This should help avoid the path getting trimmed down far too 14724 much on the server. Patch from Wayne Davison. 14725 147262003-07-21 14:49 Martin Pool <mbp@samba.org> 14727 14728 * man/distccd.1: Suggest inetd limit be raised to 6000 14729 147302003-07-21 14:42 Martin Pool <mbp@samba.org> 14731 14732 * NEWS: [no log message] 14733 147342003-07-21 14:40 Martin Pool <mbp@samba.org> 14735 14736 * src/compress.c: dcc_compress_lzo1x_alloc can be static. 14737 147382003-07-21 14:20 Martin Pool <mbp@samba.org> 14739 14740 * src/distcc.h: dcc_compress_lzo1x_alloc can be static. 14741 147422003-07-21 12:45 Martin Pool <mbp@samba.org> 14743 14744 * NEWS: Note about documentation. 14745 147462003-07-21 12:35 Martin Pool <mbp@samba.org> 14747 14748 * src/compress.c: Trace message for use of mmap. 14749 147502003-07-21 12:31 Martin Pool <mbp@samba.org> 14751 14752 * src/pump.c: Trace message for receipt using mmap. 14753 147542003-07-21 12:23 Martin Pool <mbp@samba.org> 14755 14756 * src/daemon.c: Tweak daemon startup message. 14757 147582003-07-21 12:21 Martin Pool <mbp@samba.org> 14759 14760 * src/daemon.c: Show gnu-host in daemon startup message. 14761 147622003-07-21 12:13 Martin Pool <mbp@samba.org> 14763 14764 * src/: daemon.c, daemon.h, dparent.c: Factor out code to show 14765 daemon startup message, and include the daemon mode in it. 14766 147672003-07-21 12:08 Martin Pool <mbp@samba.org> 14768 14769 * TODO: [no log message] 14770 147712003-07-21 12:02 Martin Pool <mbp@samba.org> 14772 14773 * src/hosts.c: Update host grammar from manpage. 14774 147752003-07-21 12:01 Martin Pool <mbp@samba.org> 14776 14777 * man/distcc.1: Grammar fixes: 14778 14779 * Be consistent about quoting. * Add LOCAL_HOST. * Make USER 14780 option in SSH production. 14781 147822003-07-21 11:59 Martin Pool <mbp@samba.org> 14783 14784 * man/distcc.1: Add ccache URL 14785 14786 * Cleanup 14787 147882003-07-21 11:56 Martin Pool <mbp@samba.org> 14789 14790 * man/distccd.1: Some cleanups from Tim and myself. 14791 147922003-07-21 11:42 Martin Pool <mbp@samba.org> 14793 14794 * man/distcc.1: Many suggestions from Tim: 14795 14796 * Add quickstart section. 14797 14798 * Consistent capitalization of "make" 14799 14800 * Grammar/readability fixes. 14801 14802 * Move up section about ccache with distcc 14803 14804 * Clear up host grammar section. 14805 14806 * What to do about broken makefiles. 14807 148082003-07-21 11:21 Martin Pool <mbp@samba.org> 14809 14810 * NEWS: Note mmap support. 14811 14812 * Delete trailing whitespace. 14813 148142003-07-21 11:17 Martin Pool <mbp@samba.org> 14815 14816 * man/distcc.1: Add information about compression. 14817 148182003-07-18 16:50 Martin Pool <mbp@samba.org> 14819 14820 * src/pump.c: dcc_r_bulk_plain: For uncompressed data coming in, 14821 we know the exact right length and so we only need to truncate 14822 the file once. 14823 148242003-07-18 16:48 Martin Pool <mbp@samba.org> 14825 14826 * src/pump.c: Receive bulk data by writing into an mmaped file, 14827 or otherwise reading in and writing out one big buffer. 14828 148292003-07-18 16:41 Martin Pool <mbp@samba.org> 14830 14831 * doc/results.txt: [no log message] 14832 148332003-07-18 16:39 Martin Pool <mbp@samba.org> 14834 14835 * src/pump.c: Start implementing dcc_r_bulk_plain 14836 148372003-07-18 16:32 Martin Pool <mbp@samba.org> 14838 14839 * src/: bulk.c, clirpc.c, io.c, io.h, pump.c: Rename dcc_pump_in 14840 for consistency. 14841 14842 * Doc. 14843 148442003-07-18 16:21 Martin Pool <mbp@samba.org> 14845 14846 * src/: bulk.c, compress.c, compress.h, distcc.h, pump.c: Make 14847 compression function naming consistent. 14848 14849 * Remove compress.h 14850 148512003-07-18 16:00 Martin Pool <mbp@samba.org> 14852 14853 * test/testdistcc.py: Fix silly error in ParseHostSpec_Case. 14854 148552003-07-18 15:59 Martin Pool <mbp@samba.org> 14856 14857 * test/testdistcc.py: Fix VersionOption_Case for new version 14858 string that mentions two protocols. 14859 148602003-07-18 15:58 Martin Pool <mbp@samba.org> 14861 14862 * test/testdistcc.py: Add partial test for parsing host 14863 specifications with the LZO option. 14864 148652003-07-18 15:57 Martin Pool <mbp@samba.org> 14866 14867 * src/hosts.c: ',' should also terminate TCP hostnames. 14868 148692003-07-18 15:48 Martin Pool <mbp@samba.org> 14870 14871 * NEWS: More about compression. 14872 148732003-07-18 15:45 Martin Pool <mbp@samba.org> 14874 14875 * NEWS: Add support for ",lzo" option at the end of host 14876 specifications. 14877 148782003-07-18 15:43 Martin Pool <mbp@samba.org> 14879 14880 * src/hosts.c: ',' should also terminate SSH hostnames. 14881 148822003-07-18 15:42 Martin Pool <mbp@samba.org> 14883 14884 * src/hosts.c: Add support for ",lzo" option at the end of host 14885 specifications. 14886 148872003-07-18 15:02 Martin Pool <mbp@samba.org> 14888 14889 * doc/results.txt: Results from 3.4 snapshot. 14890 148912003-07-18 13:16 Martin Pool <mbp@samba.org> 14892 14893 * src/: rpc.h, rpc.c: Remove obsolete dcc_compr_for_proto() 14894 148952003-07-18 13:15 Martin Pool <mbp@samba.org> 14896 14897 * src/: clirpc.c, distcc.h, hosts.c, hosts.h, lock.c, remote.c: 14898 Store both protocol and compression method in the host 14899 definition. Simpler than converting between them all the way 14900 through. 14901 149022003-07-18 12:21 Martin Pool <mbp@samba.org> 14903 14904 * src/distcc.h: Reorder enums to top. 14905 149062003-07-18 12:18 Martin Pool <mbp@samba.org> 14907 14908 * src/distcc.h: Make dcc_compress values not be 0-based. 14909 149102003-07-18 12:01 Martin Pool <mbp@samba.org> 14911 14912 * Makefile.in, src/clirpc.c, src/clirpc.h, src/distcc.h, 14913 src/remote.c: Remove clirpc.h. 14914 149152003-07-18 11:35 Martin Pool <mbp@samba.org> 14916 14917 * src/: clirpc.c, distcc.h, help.c, hosts.h, lock.c, mon-gnome.c, 14918 mon-text.c, mon.c, remote.c, rpc.c, rpc.h, serve.c, srvrpc.c, 14919 state.c: Start adding support for talking either protocol 1 or 14920 2. Store protocol in host specification and propagate it 14921 through relevant functions. 14922 149232003-07-17 22:09 Martin Pool <mbp@samba.org> 14924 14925 * src/hosts.c: Document upcoming compression option for host 14926 specifications. 14927 149282003-07-17 22:01 Martin Pool <mbp@samba.org> 14929 14930 * doc/protocol-2.txt: [no log message] 14931 149322003-07-17 22:00 Martin Pool <mbp@samba.org> 14933 14934 * Makefile.in: Include description of protocol version 2. 14935 149362003-07-17 21:59 Martin Pool <mbp@samba.org> 14937 14938 * doc/protocol-2.txt: Description of protocol version 2. 14939 149402003-07-17 17:18 Martin Pool <mbp@samba.org> 14941 14942 * src/bulk.c: Doc. 14943 149442003-07-17 17:16 Martin Pool <mbp@samba.org> 14945 14946 * src/: compile.c, compile.h, remote.c: Pass source filename to 14947 dcc_compile_remote and set the state file from there so that we 14948 can get the filename in the first status message. 14949 149502003-07-17 17:11 Martin Pool <mbp@samba.org> 14951 14952 * src/compress.c: Doc. 14953 14954 * Only use mmap for buffers larger than 64k. 14955 149562003-07-17 17:04 Martin Pool <mbp@samba.org> 14957 14958 * TODO: [no log message] 14959 149602003-07-17 17:03 Martin Pool <mbp@samba.org> 14961 14962 * man/distcc.1: Add hostspec grammar 14963 14964 * Some formatting changes. 14965 149662003-07-17 17:00 Martin Pool <mbp@samba.org> 14967 14968 * src/hosts.c: Fix grammar nit. 14969 149702003-07-17 16:39 Martin Pool <mbp@samba.org> 14971 14972 * man/distccd.1, src/dopt.c: Document --wizard. 14973 149742003-07-17 16:35 Martin Pool <mbp@samba.org> 14975 14976 * NEWS, man/distccd.1: Change to starting 2+NCPUS jobs by 14977 default. 14978 149792003-07-17 16:31 Martin Pool <mbp@samba.org> 14980 14981 * src/dparent.c: Change to starting 2+NCPUS jobs by default. 14982 149832003-07-17 16:24 Martin Pool <mbp@samba.org> 14984 14985 * Makefile.in: Clean lzo/ directory. Patch from Wayne Davison. 14986 149872003-07-17 15:52 Martin Pool <mbp@samba.org> 14988 14989 * distcc-check: Doc 14990 149912003-07-17 10:37 Martin Pool <mbp@samba.org> 14992 14993 * man/distccd.1: There was some confusion about the meaning of 14994 "proportional to" in the description of -j. Now make it 14995 clearer that the number of jobs is higher than the number of 14996 CPUs. 14997 149982003-07-16 12:33 Martin Pool <mbp@samba.org> 14999 15000 * Makefile.in: Remove the "tested" page. 15001 150022003-07-15 19:00 Martin Pool <mbp@samba.org> 15003 15004 * src/mapfile.c: Remove mapfile; mmap is now called directly. 15005 150062003-07-15 18:51 Martin Pool <mbp@samba.org> 15007 15008 * src/compress.c: Quieten warning. 15009 150102003-07-15 18:50 Martin Pool <mbp@samba.org> 15011 15012 * src/compress.c: Doc 15013 15014 * dcc_receive_lzo1x: Pass the right value to munmap(). 15015 150162003-07-15 18:47 Martin Pool <mbp@samba.org> 15017 15018 * src/bulk.c: dcc_r_file: We need to open the file read/write, 15019 not just wronly, to be able to mmap it. 15020 150212003-07-15 18:45 Martin Pool <mbp@samba.org> 15022 15023 * src/compress.c: dcc_compress_lzo1x_file: Make sure to return an 15024 error if the munmap failed, because we might not have managed 15025 to write everything out. 15026 15027 * dcc_receive_lzo1x: First cut at decompressing into a writable 15028 mmap'd buffer. 15029 150302003-07-15 18:23 Martin Pool <mbp@samba.org> 15031 15032 * src/compile.c: Disable "startup" state. 15033 150342003-07-15 18:21 Martin Pool <mbp@samba.org> 15035 15036 * src/compress.c: dcc_compress_lzo1x_file: Try to use mmap() to 15037 read the input file if mmap() is available. If not, fall back 15038 to using malloc and read(). 15039 150402003-07-15 18:20 Martin Pool <mbp@samba.org> 15041 15042 * doc/results.txt: Results from compilation on 10Mbps network. 15043 150442003-07-15 18:18 Martin Pool <mbp@samba.org> 15045 15046 * Makefile.in: mapfile is no longer needed -- we just mmap as 15047 necessary. 15048 150492003-07-15 18:10 Martin Pool <mbp@samba.org> 15050 15051 * configure.ac, NEWS: Don't check for GTK+ unless --enable-gnome 15052 is requested, because it's a needless portability risk on 15053 platforms that don't have it. 15054 150552003-07-15 18:04 Martin Pool <mbp@samba.org> 15056 15057 * configure.ac: Check for mmap() 15058 150592003-07-15 18:02 Martin Pool <mbp@samba.org> 15060 15061 * src/: bulk.c, compress.c, compress.h: Factor out code to 15062 compress from a file. 15063 150642003-07-15 17:57 Martin Pool <mbp@samba.org> 15065 15066 * src/bulk.c: dcc_calc_rate: Guard against division by zero 15067 (which never seems to happen). 15068 15069 * Doc. 15070 150712003-07-15 17:51 Martin Pool <mbp@samba.org> 15072 15073 * NEWS: Note compression. 15074 150752003-07-15 17:40 Martin Pool <mbp@samba.org> 15076 15077 * src/: distcc.h, dopt.h, srvnet.c: Clean up dopt headers. 15078 150792003-07-15 17:38 Martin Pool <mbp@samba.org> 15080 15081 * doc/results.txt: Notes on testing compression. 15082 150832003-07-15 17:23 Martin Pool <mbp@samba.org> 15084 15085 * src/distcc.h: Change protocol version to 2 so that 15086 incompatibilities with old servers are trapped. 15087 15088 Eventually we need to switch intelligently. 15089 150902003-07-15 17:12 Martin Pool <mbp@samba.org> 15091 15092 * src/mon-gnome.c: Make columns in the GNOME monitor resizable, 15093 as well as auto-resizing. 15094 150952003-07-15 11:32 Martin Pool <mbp@samba.org> 15096 15097 * src/bulk.c: dcc_r_file: Doc. Fix uninitialized variable for 15098 0-length files. 15099 151002003-07-14 22:02 Martin Pool <mbp@samba.org> 15101 15102 * src/compress.c: Show decompression ratio as small:large. 15103 151042003-07-14 21:51 Martin Pool <mbp@samba.org> 15105 15106 * src/pump.c: dcc_pump_in: Handle 0-byte optimization too. 15107 151082003-07-14 21:45 Martin Pool <mbp@samba.org> 15109 15110 * src/bulk.c: Add optimization of not doing any compression for 15111 0-byte files. 15112 151132003-07-14 21:39 Martin Pool <mbp@samba.org> 15114 15115 * src/pump.c: dcc_pump_out: No longer needed because dcc_x_file 15116 now switches based on compression. 15117 15118 * Fix parameter ordering bug for dcc_pump_in 15119 151202003-07-14 21:38 Martin Pool <mbp@samba.org> 15121 15122 * src/io.h: compress.h: New header. 15123 151242003-07-14 21:38 Martin Pool <mbp@samba.org> 15125 15126 * src/dopt.c: Fix --wizard. 15127 151282003-07-14 21:38 Martin Pool <mbp@samba.org> 15129 15130 * src/: compress.c, compress.h: dcc_compress_lzo1x_alloc: New 15131 function to just compress in memory without doing IO. 15132 15133 * compress.h: New header. 15134 151352003-07-14 21:36 Martin Pool <mbp@samba.org> 15136 15137 * src/bulk.c: New dcc_x_file_lzo1x: Read in the file, compress 15138 it, and then write out that buffer. This has to be done in a 15139 single level because the token has to include the compressed 15140 length. 15141 15142 * dcc_x_file: Handle compression. 15143 151442003-07-14 21:24 Martin Pool <mbp@samba.org> 15145 15146 * src/dopt.c: Rename to --wizard. 15147 151482003-07-14 21:22 Martin Pool <mbp@samba.org> 15149 15150 * src/dopt.c: Add -X, --maintainer option that adds all settings 15151 for running under gdb. 15152 151532003-07-14 18:10 Martin Pool <mbp@samba.org> 15154 15155 * src/: bulk.c, bulk.h, clirpc.c, serve.c: dcc_x_file doesn't 15156 need to return the file size anymore. 15157 151582003-07-14 18:07 Martin Pool <mbp@samba.org> 15159 15160 * src/: bulk.c, bulk.h, remote.c, serve.c: Set default 15161 compression to LZO1X -- which is not working now, and breaks 15162 compatibility 15163 15164 * Start factoring out code for receiving a token and file into 15165 dcc_r_token_file 15166 151672003-07-14 17:55 Martin Pool <mbp@samba.org> 15168 15169 * src/: bulk.c, bulk.h, clirpc.c, clirpc.h, remote.c, serve.c: 15170 Propagate compression setting through all routines. 15171 151722003-07-14 17:49 Martin Pool <mbp@samba.org> 15173 15174 * src/: bulk.c, bulk.h, clirpc.c, compress.c, distcc.h, io.h, 15175 pump.c: Start moving bulk data receipt through dcc_pump_in, 15176 which does decompression if needed. Remove null 15177 dcc_r_file_body. 15178 151792003-07-14 17:43 Martin Pool <mbp@samba.org> 15180 15181 * src/: compress.c, io.h, pump.c: Rename compression functions to 15182 lzo_1x, the generic name for the algorithm family we're using. 15183 151842003-07-14 17:38 Martin Pool <mbp@samba.org> 15185 15186 * src/compress.c: Doc 15187 151882003-07-14 17:35 Martin Pool <mbp@samba.org> 15189 15190 * doc/results.txt: [no log message] 15191 151922003-07-14 17:35 Martin Pool <mbp@samba.org> 15193 15194 * man/.cvsignore: Ignore built HTML files. 15195 151962003-07-14 16:56 Martin Pool <mbp@samba.org> 15197 15198 * man/distccd.1: [no log message] 15199 152002003-07-14 16:52 Martin Pool <mbp@samba.org> 15201 15202 * Makefile.in: Don't install README.packaging or SuSE example 15203 init script. 15204 152052003-07-14 16:49 Martin Pool <mbp@samba.org> 15206 15207 * Makefile.in: Strip out linuxdoc, because all the information 15208 there has been merged into the manpages. 15209 152102003-07-14 16:47 Martin Pool <mbp@samba.org> 15211 15212 * Makefile.in: Add upload-man target to make the manual available 15213 on the web page. 15214 15215 * There's no need to install README.popt. 15216 15217 * Fix targets to build html from troff. 15218 152192003-07-14 16:44 Martin Pool <mbp@samba.org> 15220 15221 * man/: distccd.1, distcc.1: Credit other people. 15222 152232003-07-14 16:35 Martin Pool <mbp@samba.org> 15224 15225 * man/distccd.1: Document DISTCC_SAVE_TEMPS 15226 152272003-07-14 16:34 Martin Pool <mbp@samba.org> 15228 15229 * man/distccd.1: Merge option descriptions and other things. 15230 152312003-07-14 16:15 Martin Pool <mbp@samba.org> 15232 15233 * man/distcc.1: Merge more information. 15234 152352003-07-14 15:50 Martin Pool <mbp@samba.org> 15236 15237 * man/distccd.1: Merge more information. 15238 152392003-07-14 15:44 Martin Pool <mbp@samba.org> 15240 15241 * man/distcc.1: Merge more information. 15242 152432003-07-14 15:16 Martin Pool <mbp@samba.org> 15244 15245 * man/distcc.1: Merge more information. 15246 152472003-07-14 14:54 Martin Pool <mbp@samba.org> 15248 15249 * Makefile.in: Add targets to build HTML from manpages. 15250 152512003-07-14 14:47 Martin Pool <mbp@samba.org> 15252 15253 * man/distccd.1: Start adding more details about the server. 15254 152552003-07-14 14:46 Martin Pool <mbp@samba.org> 15256 15257 * man/distcc.1: Merge stuff about cross-compiling. 15258 15259 * More about security. 15260 152612003-07-14 14:41 Martin Pool <mbp@samba.org> 15262 15263 * INSTALL: More about how to install distccd. 15264 152652003-07-14 14:33 Martin Pool <mbp@samba.org> 15266 15267 * man/distcc.1: More manpage documentation. 15268 152692003-07-14 13:45 Martin Pool <mbp@samba.org> 15270 15271 * man/distcc.1: Put a lot more useful information into the manual 15272 page. 15273 152742003-07-14 12:42 Martin Pool <mbp@samba.org> 15275 15276 * linuxdoc/distcc.sgml: Information on reporting bugs has been 15277 merged into a separate file. 15278 152792003-07-14 12:35 Martin Pool <mbp@samba.org> 15280 15281 * doc/reporting-bugs.txt: Merge more information on reporting 15282 problems from the SGML manual. 15283 152842003-07-14 12:32 Martin Pool <mbp@samba.org> 15285 15286 * Makefile.in: Include information on how to report bugs 15287 effectively. 15288 152892003-07-14 12:31 Martin Pool <mbp@samba.org> 15290 15291 * doc/reporting-bugs.txt: Information on how to report bugs 15292 effectively. 15293 152942003-07-14 12:20 Martin Pool <mbp@samba.org> 15295 15296 * Makefile.in: Include example-init in package. 15297 152982003-07-14 12:14 Martin Pool <mbp@samba.org> 15299 15300 * src/mon.c: Increase allowable age of state files to 300s. 15301 153022003-07-14 12:09 Martin Pool <mbp@samba.org> 15303 15304 * Makefile.in: mon-notify.o is not currently used by the 15305 monitors. 15306 153072003-07-14 11:53 Martin Pool <mbp@samba.org> 15308 15309 * bench/compiler.py: Don't put commas in path names because they 15310 can cause trouble with some linker command. 15311 153122003-07-14 10:51 Martin Pool <mbp@samba.org> 15313 15314 * src/: mon-gnome.c, mon-notify.c, mon.c: Fix header ordering. 15315 153162003-07-14 10:47 Martin Pool <mbp@samba.org> 15317 15318 * configure.ac: Remove standard GTK test macros because we don't 15319 use them. 15320 153212003-07-13 18:40 Martin Pool <mbp@samba.org> 15322 15323 * Makefile.in: Clean up files which were duplicated in dist_files 15324 and pkgdoc_DOCS. 15325 153262003-07-13 18:09 Martin Pool <mbp@samba.org> 15327 15328 * patches/.cvsignore: Add built program. 15329 153302003-07-13 18:08 Martin Pool <mbp@samba.org> 15331 15332 * src/: distcc.h, h_argvtostr.c, h_exten.c, h_issource.c, 15333 h_scanargs.c, h_strip.c, io.h, mon-text.c, state.c: Clean up 15334 header inclusions. 15335 153362003-07-13 18:07 Martin Pool <mbp@samba.org> 15337 15338 * src/arg.c: Doc 15339 153402003-07-13 17:57 Martin Pool <mbp@samba.org> 15341 15342 * TODO: [no log message] 15343 153442003-07-13 17:55 Martin Pool <mbp@samba.org> 15345 15346 * DEPENDENCIES, Makefile.in: Remove DEPENDENCIES file, which is 15347 being merged into INSTALL. 15348 153492003-07-13 17:30 Martin Pool <mbp@samba.org> 15350 15351 * INSTALL: Rewrite installation instructions to be specific to 15352 distcc and to cover all the main steps. 15353 153542003-07-13 12:44 Martin Pool <mbp@samba.org> 15355 15356 * configure.ac, NEWS: Autodetect the right behaviour for 15357 --enable-gnome: 15358 15359 If explicitly enabled, insist that the GTK+ libraries be 15360 present. 15361 15362 If explicitly disabled, don't even look for them. 15363 15364 Otherwise, build the GTK+ monitor if possible. 15365 153662003-07-12 22:57 Martin Pool <mbp@samba.org> 15367 15368 * man/distcc.1: Correction for duplicated word by Tobias 15369 Stoeckmann. 15370 153712003-07-12 17:04 Martin Pool <mbp@samba.org> 15372 15373 * test/testdistcc.py: Doc. 15374 153752003-07-12 16:57 Martin Pool <mbp@samba.org> 15376 15377 * test/testdistcc.py: Fix up checks for remote assembly listings: 15378 we *can* distribute these, unless a filename is specified. 15379 153802003-07-12 16:52 Martin Pool <mbp@samba.org> 15381 15382 * src/arg.c, NEWS: Add checks for -Wa options that produce an 15383 assembler listing file. 15384 153852003-07-12 11:45 Martin Pool <mbp@samba.org> 15386 15387 * test/testdistcc.py: Add tests for new -o and -Wa,-al handling. 15388 153892003-07-12 01:31 Martin Pool <mbp@samba.org> 15390 15391 * src/compress.c: Add implementation of LZO decompression. 15392 153932003-07-12 01:30 Martin Pool <mbp@samba.org> 15394 15395 * TODO: [no log message] 15396 153972003-07-12 00:58 Martin Pool <mbp@samba.org> 15398 15399 * src/arg.c: Doc. 15400 154012003-07-11 18:21 Martin Pool <mbp@samba.org> 15402 15403 * bench/Build.py: Make sure full paths are generated for log 15404 files. 15405 15406 * Add support for programs that use C++. 15407 154082003-07-11 18:20 Martin Pool <mbp@samba.org> 15409 15410 * bench/compiler.py: Make default compiler setups consistent with 15411 ones specified by -c 15412 15413 * Add support for programs that use C++ 15414 154152003-07-11 18:19 Martin Pool <mbp@samba.org> 15416 15417 * bench/ProjectDefs.py: Add other definitions needed for building 15418 firebird. 15419 154202003-07-11 18:18 Martin Pool <mbp@samba.org> 15421 15422 * cases/simple.c: Simple test with no header files. 15423 154242003-07-11 17:27 Martin Pool <mbp@samba.org> 15425 15426 * bench/compiler.py: New/better naming of build directories: now 15427 just 'dist,2'. 15428 154292003-07-11 17:26 Martin Pool <mbp@samba.org> 15430 15431 * bench/ProjectDefs.py: Comment out Mozilla, which is having 15432 trouble on Debian. 15433 15434 * Add MozillaFirebird. 15435 154362003-07-11 17:25 Martin Pool <mbp@samba.org> 15437 15438 * bench/Build.py: Put build logs in the build directory so 15439 they're easier to find and use. 15440 154412003-07-11 15:19 Martin Pool <mbp@samba.org> 15442 15443 * bench/ProjectDefs.py: Fix unpacked_subdir for Mozilla 15444 154452003-07-11 15:15 Martin Pool <mbp@samba.org> 15446 15447 * distcc-check: Make sure we do move into the right scratch 15448 directory 15449 15450 * Remove with -f on completion so that we don't fail if the files 15451 were never created. 15452 154532003-07-11 15:14 Martin Pool <mbp@samba.org> 15454 15455 * bench/Project.py: We need wget --continue to get the intended 15456 behaviour. 15457 154582003-07-11 15:10 Martin Pool <mbp@samba.org> 15459 15460 * bench/Summary.py: Don't give an error when trying to print a 15461 summary table of no compilations. 15462 154632003-07-11 15:06 Martin Pool <mbp@samba.org> 15464 15465 * doc/results.txt: More benchmark stuff. 15466 154672003-07-11 14:50 Martin Pool <mbp@samba.org> 15468 15469 * bench/Summary.py: Fix uname usage. 15470 154712003-07-11 14:50 Martin Pool <mbp@samba.org> 15472 15473 * bench/Project.py: Use wget not snarf, because its progress bar 15474 works better with tty and non-tty setups. 15475 154762003-07-11 14:47 Martin Pool <mbp@samba.org> 15477 15478 * bench/benchmark.py: Show -a in help. 15479 154802003-07-11 14:47 Martin Pool <mbp@samba.org> 15481 15482 * bench/ProjectDefs.py: Fix apache 2.0.43 link, which has moved. 15483 15484 * Add Mozilla 1.4 (not tested yet) 15485 154862003-07-11 14:28 Martin Pool <mbp@samba.org> 15487 15488 * NEWS: When run as "distcc foo.o -o foo", work out that foo.o is 15489 an object file not a compiler name. This can happen with 15490 Mozilla. 15491 154922003-07-11 14:28 Martin Pool <mbp@samba.org> 15493 15494 * src/implicit.c: When run as "distcc foo.o -o foo", work out 15495 that foo.o is an object file not a compiler name. This can 15496 happen with Mozilla. 15497 15498 * Many documentation updates to reflect the way that masquerade 15499 invocation now works -- a lot of the comments in this file were 15500 written before it was added. 15501 155022003-07-11 14:20 Martin Pool <mbp@samba.org> 15503 15504 * src/: filename.h, distcc.h, implicit.c: Move declarations for 15505 filename.c into filename.h. 15506 155072003-07-11 14:18 Martin Pool <mbp@samba.org> 15508 15509 * src/filename.h: dcc_is_object: New function. 15510 155112003-07-11 14:17 Martin Pool <mbp@samba.org> 15512 15513 * src/filename.c: dcc_is_object: New function. 15514 15515 * filename.c: Doesn't need sys/stat.h. 15516 15517 * Doc. 15518 155192003-07-11 14:13 Martin Pool <mbp@samba.org> 15520 15521 * Doxyfile: Don't produce LaTeX 15522 155232003-07-11 14:10 Martin Pool <mbp@samba.org> 15524 15525 * src/filename.c: Doc 15526 155272003-07-11 14:09 Martin Pool <mbp@samba.org> 15528 15529 * patches/.cvsignore: Ignore built programs. 15530 155312003-07-11 13:34 Martin Pool <mbp@samba.org> 15532 15533 * src/: exec.c, exec.h: dcc_execvp() can be static 15534 155352003-07-09 18:30 Martin Pool <mbp@samba.org> 15536 15537 * src/compress.c, TODO: Start a decompressor. 15538 155392003-07-09 18:06 Martin Pool <mbp@samba.org> 15540 15541 * src/compress.c: First cut at implementation of dcc_send_lzo1x1. 15542 155432003-07-09 18:05 Martin Pool <mbp@samba.org> 15544 15545 * src/mapfile.c: Finish implementing dcc_map_input_file. 15546 155472003-07-09 17:52 Martin Pool <mbp@samba.org> 15548 15549 * src/mapfile.c, Makefile.in, src/io.h: Add simple mmap routine 15550 for reading input files. 15551 155522003-07-09 17:42 Martin Pool <mbp@samba.org> 15553 15554 * configure.ac: Check for sys/mman.h 15555 155562003-07-09 17:39 Martin Pool <mbp@samba.org> 15557 15558 * src/pump.c: Call dcc_send_lzo1x1 for compressed mode. 15559 155602003-07-09 17:38 Martin Pool <mbp@samba.org> 15561 15562 * src/: hostfile.c, io.h, loadfile.c: Rename dcc_load_file to 15563 dcc_load_file_string to be more clear. 15564 155652003-07-09 17:17 Martin Pool <mbp@samba.org> 15566 15567 * patches/trylzo.c: Simple test harness to measure lzo1x1 15568 compression. 15569 155702003-07-09 16:49 Martin Pool <mbp@samba.org> 15571 15572 * src/compress.c: Stub file for doing bulk compression. 15573 155742003-07-09 16:28 Martin Pool <mbp@samba.org> 15575 15576 * Makefile.in, src/bulk.c, src/bulk.h, src/clirpc.c, src/clirpc.h, 15577 src/io.c, src/io.h, src/pump.c, src/remote.c, src/serve.c: 15578 Refactor bulk-IO code, and start adding support for compression. 15579 Nothing is actually compressed yet. 15580 155812003-07-09 16:25 Martin Pool <mbp@samba.org> 15582 15583 * src/timebuild: Remove 'timebuild' script because it's replaced 15584 by a better benchmark script. 15585 155862003-07-09 15:54 Martin Pool <mbp@samba.org> 15587 15588 * src/sendfile.c: Handle EINTR from sendfile(). 15589 155902003-07-09 15:44 Martin Pool <mbp@samba.org> 15591 15592 * configure.ac: Remove check for poptGetContext that made us get 15593 an unnecessary second -lpopt option. 15594 155952003-07-09 15:39 Martin Pool <mbp@samba.org> 15596 15597 * Makefile.in: Doc 15598 155992003-07-09 15:38 Martin Pool <mbp@samba.org> 15600 15601 * Makefile.in: Start including lzo support: include it on the 15602 include path and in the distribution and build minilzo.o. 15603 156042003-07-09 15:37 Martin Pool <mbp@samba.org> 15605 15606 * configure.ac: Bump version. 15607 156082003-07-09 14:31 Martin Pool <mbp@samba.org> 15609 15610 * TODO: Notes on distcc-check and globally visible state. 15611 156122003-07-09 14:17 Martin Pool <mbp@samba.org> 15613 15614 * TODO: Update for current progress. 15615 156162003-07-09 13:41 Martin Pool <mbp@samba.org> 15617 15618 * TODO: 0-length output files are now handled OK. 15619 156202003-07-09 13:13 Martin Pool <mbp@samba.org> 15621 15622 * NEWS: Correction to NEWS: in fact the GNOME monitor is not 15623 smart about making updates only when visible. 15624 156252003-07-09 13:04 Martin Pool <mbp@samba.org> 15626 15627 * NEWS: Credit Marcelo Matus. 15628 156292003-07-09 12:46 Martin Pool <mbp@samba.org> 15630 15631 * NEWS: Bump version to 2.8 15632 156332003-07-09 12:01 Martin Pool <mbp@samba.org> 15634 15635 * configure.ac: Bump version to 2.8 15636 156372003-07-08 17:02 Martin Pool <mbp@samba.org> 15638 15639 * doc/results.txt: More results from SSH 15640 156412003-07-08 16:58 Martin Pool <mbp@samba.org> 15642 15643 * src/md.c, Makefile.in: Remove md.c because we can't do anything 15644 very useful here. 15645 156462003-07-08 16:49 Martin Pool <mbp@samba.org> 15647 15648 * src/arg.c: Doc. 15649 156502003-07-08 16:49 Martin Pool <mbp@samba.org> 15651 15652 * Makefile.in, src/cpp.h: Remove md.c 15653 156542003-07-08 16:45 Martin Pool <mbp@samba.org> 15655 15656 * Makefile.in: Add security page. 15657 156582003-07-08 16:11 Martin Pool <mbp@samba.org> 15659 15660 * NEWS: [no log message] 15661 156622003-07-08 15:59 Martin Pool <mbp@samba.org> 15663 15664 * src/cpp.c: Doc. 15665 156662003-07-08 15:45 Martin Pool <mbp@samba.org> 15667 15668 * src/: arg.c, arg.h, argutil.c, clirpc.c, compile.c, cpp.c, 15669 distcc.c, distcc.h, exec.c, implicit.c, md.c, serve.c, srvrpc.c, 15670 ssh.c, strip.c: Move argument-handing prototypes to arg.h 15671 156722003-07-08 15:41 Martin Pool <mbp@samba.org> 15673 15674 * src/arg.h, Makefile.in: arg.h: new file. 15675 156762003-07-08 15:17 Martin Pool <mbp@samba.org> 15677 15678 * src/arg.c: Doc. 15679 156802003-07-08 15:11 Martin Pool <mbp@samba.org> 15681 15682 * src/md.c: Doc 15683 156842003-07-08 15:05 Martin Pool <mbp@samba.org> 15685 15686 * src/cpp.c: dcc_cpp_maybe: Call dcc_fudge_md. 15687 156882003-07-08 15:03 Martin Pool <mbp@samba.org> 15689 15690 * src/: md.c, cpp.h: md.c: new file for dependency generation. 15691 156922003-07-08 14:59 Martin Pool <mbp@samba.org> 15693 15694 * Makefile.in: md.c: new file. 15695 156962003-07-08 14:53 Martin Pool <mbp@samba.org> 15697 15698 * src/strip.c: Doc. 15699 157002003-07-08 14:49 Martin Pool <mbp@samba.org> 15701 15702 * src/cpp.c: Doc. 15703 157042003-07-08 14:44 Martin Pool <mbp@samba.org> 15705 15706 * src/arg.c: Doc. 15707 157082003-07-08 14:36 Martin Pool <mbp@samba.org> 15709 15710 * src/: arg.c, argutil.c: Move functions that are to do with 15711 handling argv[] arrays but not really distcc-specific 15712 intelligence from arg.c to argutil.c. 15713 15714 * Delete dcc_deepcopy_argv which is no longer used. 15715 157162003-07-08 14:34 Martin Pool <mbp@samba.org> 15717 15718 * Makefile.in: argutil.c: New file containing argv[] utilities. 15719 15720 * Clean up harness object lists to use $(common_obj) 15721 157222003-07-08 14:31 Martin Pool <mbp@samba.org> 15723 15724 * src/argutil.c: New file containing argv[] utilities. 15725 157262003-07-08 14:24 Martin Pool <mbp@samba.org> 15727 15728 * test/testdistcc.py: Add test for distcc cc -otesttmp.o 15729 157302003-07-08 14:01 Martin Pool <mbp@samba.org> 15731 15732 * NEWS: dcc_set_output: Add support for -ofoo.o. Based on a 15733 patch from Tsutomu Yasuda. 15734 157352003-07-08 13:57 Martin Pool <mbp@samba.org> 15736 15737 * src/arg.c: dcc_set_output: Add support for -ofoo.o. Based on a 15738 patch from Tsutomu Yasuda. 15739 157402003-07-08 13:46 Martin Pool <mbp@samba.org> 15741 15742 * distcc-check: Simple sanity-check script. 15743 157442003-07-08 13:23 Martin Pool <mbp@samba.org> 15745 15746 * doc/example-init: Example Red Hat init file from Andrew Morton. 15747 157482003-07-08 13:20 Martin Pool <mbp@samba.org> 15749 15750 * NEWS: Example xinetd configuration from akpm. 15751 157522003-07-08 13:19 Martin Pool <mbp@samba.org> 15753 15754 * doc/example.xinetd: Doc 15755 157562003-07-08 13:16 Martin Pool <mbp@samba.org> 15757 15758 * doc/example.xinetd, Makefile.in: Example xinetd configuration 15759 from akpm. 15760 157612003-07-08 13:06 Martin Pool <mbp@samba.org> 15762 15763 * src/remote.c: Doc. 15764 157652003-07-08 12:42 Martin Pool <mbp@samba.org> 15766 15767 * src/: clinet.c, io.c, io.h, sendfile.c: dcc_select_for_write, 15768 dcc_select_for_read: Both now take a timeout parameter, which 15769 is set by default to 15 for opening connections, and 300s for 15770 IO during a transfer. This should reduce problems with 15771 timeouts during an SSH connection. 15772 157732003-07-08 12:39 Martin Pool <mbp@samba.org> 15774 15775 * NEWS: [no log message] 15776 157772003-07-08 12:18 Martin Pool <mbp@samba.org> 15778 15779 * src/clinet.c: dcc_connect_timed: When connecting, we need to 15780 select() until the new socket is writeable, not readable. This 15781 bug was previously masked by the inverted call in 15782 dcc_select_for_read(). 15783 157842003-07-08 12:14 Martin Pool <mbp@samba.org> 15785 15786 * src/remote.c: dcc_remote_connect: Factor out code to open a 15787 connection from dcc_compile_remote. 15788 157892003-07-07 23:57 Martin Pool <mbp@samba.org> 15790 15791 * NEWS: dcc_run_job: Use separate input and output file 15792 descriptors, to support sshds that use pipes to run programs 15793 rather than local sockets. Suggestion from Felix Lee. 15794 157952003-07-07 23:53 Martin Pool <mbp@samba.org> 15796 15797 * src/io.c: Handle EINTR from read and write. 15798 157992003-07-07 23:44 Martin Pool <mbp@samba.org> 15800 15801 * src/io.c: dcc_select_for_write: Handle EINTR. 15802 15803 * Doc. 15804 158052003-07-07 23:37 Martin Pool <mbp@samba.org> 15806 15807 * src/io.c, NEWS: dcc_select_for_read: Fix silly parameter 15808 ordering mistake. 15809 158102003-07-07 23:31 Martin Pool <mbp@samba.org> 15811 15812 * src/io.c: dcc_select_for_read: Fix warning. 15813 158142003-07-07 23:27 Martin Pool <mbp@samba.org> 15815 15816 * src/io.c: dcc_select_for_read: Better trace messages. 15817 158182003-07-07 23:17 Martin Pool <mbp@samba.org> 15819 15820 * src/: daemon.c, daemon.h, dparent.c, prefork.c, serve.c: 15821 dcc_run_job: Use separate input and output file descriptors, to 15822 support sshds that use pipes to run programs rather than local 15823 sockets. Suggestion from Felix Lee. 15824 158252003-07-07 23:15 Martin Pool <mbp@samba.org> 15826 15827 * configure.ac: Don't give a warning about linuxdoc, because we 15828 do it during installation. 15829 158302003-07-07 23:03 Martin Pool <mbp@samba.org> 15831 15832 * src/: serve.c: Doc. 15833 158342003-07-07 22:57 Martin Pool <mbp@samba.org> 15835 15836 * NEWS: If Linuxdoc was not detected, just give a small warning 15837 and not an error while installing. 15838 158392003-07-07 22:25 Martin Pool <mbp@samba.org> 15840 15841 * Makefile.in: If Linuxdoc was not detected, just give a small 15842 warning and not an error while installing. 15843 158442003-07-07 18:35 Martin Pool <mbp@samba.org> 15845 15846 * doc/protocol-1.txt: Document the changes to support 0-byte 15847 output. 15848 158492003-07-07 18:34 Martin Pool <mbp@samba.org> 15850 15851 * TODO: [no log message] 15852 158532003-07-07 18:33 Martin Pool <mbp@samba.org> 15854 15855 * test/badcc: Add mode to generate empty output. 15856 158572003-07-07 18:08 Martin Pool <mbp@samba.org> 15858 15859 * src/clirpc.c: Retrieval of the output file is now determined by 15860 the remote compiler status, not the DOTO length. This allows 15861 us to correctly get back a 0-length output file from a 15862 successful compile. 15863 158642003-07-07 18:03 Martin Pool <mbp@samba.org> 15865 15866 * src/remote.c: Doc. 15867 158682003-07-07 17:59 Martin Pool <mbp@samba.org> 15869 15870 * src/serve.c: Doc. 15871 158722003-07-07 17:48 Martin Pool <mbp@samba.org> 15873 15874 * src/: bulk.h, bulk.c: Be more careful about treating token 15875 parameters as unsigned. 15876 158772003-07-07 17:28 Martin Pool <mbp@samba.org> 15878 15879 * configure.ac, NEWS: Better test for vararg macro support that 15880 correctly identifies apple gcc brokenness. From Matt Watson 15881 <mwatson@apple.com>. 15882 158832003-07-07 16:44 Martin Pool <mbp@samba.org> 15884 15885 * NEWS: distccmon-text: Output should always be line-buffered, 15886 even if not writing to a terminal. 15887 158882003-07-07 15:27 Martin Pool <mbp@samba.org> 15889 15890 * src/mon-text.c: distccmon-text: Output should always be 15891 line-buffered, even if not writing to a terminal. 15892 158932003-07-07 15:23 Martin Pool <mbp@samba.org> 15894 15895 * src/mon-gnome.c: Doc. 15896 158972003-07-07 13:50 Martin Pool <mbp@samba.org> 15898 15899 * src/state.c: dcc_note_state: Quote strings in trace message. 15900 159012003-07-07 12:55 Martin Pool <mbp@samba.org> 15902 15903 * src/mon.h, NEWS: Protect against repeated inclusion. 15904 Suggestion from Fr'ed'eric Forjan. 15905 159062003-07-07 12:53 Martin Pool <mbp@samba.org> 15907 15908 * src/mon.h: mon.h now uses "extern C" so that it can be included 15909 from C++ programs. Suggestion from Fr'ed'eric Forjan. 15910 159112003-06-25 17:50 Martin Pool <mbp@samba.org> 15912 15913 * src/mon-gnome.c: Doc. 15914 159152003-06-25 17:48 Martin Pool <mbp@samba.org> 15916 15917 * src/mon-gnome.c: Always update load, even if not onscreen, so 15918 that we don't show a dummy message at startup. 15919 159202003-06-25 17:46 Martin Pool <mbp@samba.org> 15921 15922 * src/mon-gnome.c: Increase niceness at startup. 15923 159242003-06-25 17:43 Martin Pool <mbp@samba.org> 15925 15926 * src/mon-gnome.c, NEWS: distccmon-gnome: Prevent selection of 15927 rows in the treeview. Emphasize horizontal rows 15928 ("rules-hint"). 15929 159302003-06-25 17:28 Martin Pool <mbp@samba.org> 15931 15932 * NEWS: distccmon-gnome: Check whether the window is iconified or 15933 withdrawn, and if so then don't update. This slightly reduces 15934 the load in those cases. 15935 159362003-06-25 17:12 Martin Pool <mbp@samba.org> 15937 15938 * src/mon-gnome.c: Expose a reference to the GtkTreeView widget 15939 and use that in the update callback. 15940 15941 * Check whether the window is iconified or withdrawn, and if so 15942 then don't update. This slightly reduces the load in those 15943 cases. 15944 159452003-06-25 11:31 Martin Pool <mbp@samba.org> 15946 15947 * NEWS: Prepare for 2.7.1 15948 159492003-06-25 11:28 Martin Pool <mbp@samba.org> 15950 15951 * patches/state-in-home.diff: Store rolled-back ~/.distcc/state 15952 patch. 15953 159542003-06-25 11:27 Martin Pool <mbp@samba.org> 15955 15956 * Makefile.in: Fix EXEEXT on gnome binaries. 15957 159582003-06-25 11:26 Martin Pool <mbp@samba.org> 15959 15960 * configure.ac: Prepare for 2.7.1 15961 15962 * Fix EXEEXT on gnome binaries. 15963 159642003-06-25 10:59 Martin Pool <mbp@samba.org> 15965 15966 * src/state.c, NEWS: Roll back: put the state in the temporary 15967 directory, because storing it in home does not seem to fix 15968 ebuild. 15969 159702003-06-24 13:40 Martin Pool <mbp@samba.org> 15971 15972 * patches/hosts-from-file-raabe.diff: hosts-from-file-raabe.diff 15973 Has been merged 15974 159752003-06-21 14:21 Martin Pool <mbp@samba.org> 15976 15977 * DEPENDENCIES: Note that libgnome is no longer required. 15978 159792003-06-21 13:45 Martin Pool <mbp@samba.org> 15980 15981 * TODO: Updates based on work done recently. 15982 159832003-06-21 13:42 Martin Pool <mbp@samba.org> 15984 15985 * NEWS, src/state.c: State files now in ~/.distcc/state 15986 159872003-06-21 13:13 Martin Pool <mbp@samba.org> 15988 15989 * src/arg.c: Fix constness. 15990 159912003-06-20 17:32 Martin Pool <mbp@samba.org> 15992 15993 * src/mon-gnome.c: Doc. 15994 159952003-06-20 17:29 Martin Pool <mbp@samba.org> 15996 15997 * configure.ac: Add autoconf test for GTK+-2.0 (but don't call it 15998 yet.) 15999 16000 * Change --enable-gnome to just check for GTK+. 16001 160022003-06-20 17:25 Martin Pool <mbp@samba.org> 16003 16004 * src/mon-gnome.c: stdint.h is not needed. 16005 160062003-06-20 17:23 Martin Pool <mbp@samba.org> 16007 16008 * Makefile.in, NEWS: distccmon-gnome now depends only on gtk+-2.0 16009 160102003-06-20 17:18 Martin Pool <mbp@samba.org> 16011 16012 * src/mon-gnome.c: Follow the advice in the GTK+ 2.2 API: 16013 16014 * Don't call gtk_widget_set_usize and gtk_window_set_policy, but 16015 instead just gtk_window_set_default_size. 16016 16017 This gives us the same default size and allows the user to 16018 shrink 16019 the window, but doesn't let them shrink it right down to zero. 16020 160212003-06-20 17:15 Martin Pool <mbp@samba.org> 16022 16023 * src/mon-gnome.c: Add some other necessary headers. 16024 160252003-06-20 17:14 Martin Pool <mbp@samba.org> 16026 16027 * src/mon-gnome.c: Update to use just the GTK+ 2.0 API, and 16028 nothing from libgnomeui. 16029 160302003-06-16 18:40 Martin Pool <mbp@samba.org> 16031 16032 * Makefile.in: Remove stupid autom4te.cache from distclean 16033 160342003-06-16 18:36 Martin Pool <mbp@samba.org> 16035 16036 * src/arg.c: Remove TODO about -MD because the information is in 16037 TODO and I think I know how to fix it now. 16038 160392003-06-16 18:33 Martin Pool <mbp@samba.org> 16040 16041 * src/cpp.c: Doc 16042 160432003-06-16 18:30 Martin Pool <mbp@samba.org> 16044 16045 * configure.ac: Bump version 16046 160472003-06-16 17:51 Martin Pool <mbp@samba.org> 16048 16049 * configure.ac, NEWS: Release 2.7. 16050 160512003-06-16 17:50 Martin Pool <mbp@samba.org> 16052 16053 * src/arg.c: Doc 16054 160552003-06-16 17:39 Martin Pool <mbp@samba.org> 16056 16057 * TODO: [no log message] 16058 160592003-06-16 17:06 Martin Pool <mbp@samba.org> 16060 16061 * TODO: Notes on dnotify. 16062 160632003-06-16 16:59 Martin Pool <mbp@samba.org> 16064 16065 * NEWS: [no log message] 16066 160672003-06-16 16:50 Martin Pool <mbp@samba.org> 16068 16069 * Makefile.in: Need to link LIBS in to get functions like 16070 inet_ntoa on Solaris, etc. 16071 160722003-06-16 16:31 Martin Pool <mbp@samba.org> 16073 16074 * src/mon-gnome.c: Make the tree sortable. 16075 160762003-06-16 14:39 Martin Pool <mbp@samba.org> 16077 16078 * src/mon-gnome.c: Doc. 16079 160802003-06-16 14:38 Martin Pool <mbp@samba.org> 16081 16082 * src/mon-gnome.c: Put commas in load average line. 16083 160842003-06-16 14:37 Martin Pool <mbp@samba.org> 16085 16086 * src/mon-gnome.c: Load bar now actually shows the system load as 16087 we go. 16088 16089 * Load bar is initialized at startup. 16090 160912003-06-16 14:31 Martin Pool <mbp@samba.org> 16092 16093 * src/mon-gnome.c: Add a callback to update the load indicator. 16094 160952003-06-16 14:26 Martin Pool <mbp@samba.org> 16096 16097 * src/mon-gnome.c: Fix up load indicator. 16098 160992003-06-16 14:17 Martin Pool <mbp@samba.org> 16100 16101 * src/mon-gnome.c: Start adding a load indicator at the bottom of 16102 the window. 16103 161042003-06-16 13:48 Martin Pool <mbp@samba.org> 16105 16106 * src/mon-notify.c, Makefile.in, src/mon.c: mon-notify.c: New 16107 file to keep the dnotify stuff out of mon.c 16108 161092003-06-16 13:41 Martin Pool <mbp@samba.org> 16110 16111 * src/mon-gnome.c: Remove dnotify support, because the signals 16112 seem to cause trouble with GNOME, and too-frequent updates are 16113 bad for our CPU usage. 16114 161152003-06-16 13:15 Martin Pool <mbp@samba.org> 16116 16117 * src/tempfile.c: Doc 16118 161192003-06-16 13:07 Martin Pool <mbp@samba.org> 16120 16121 * NEWS: Check for sys/select.h, which is not present on HP-UX. 16122 161232003-06-16 13:03 Martin Pool <mbp@samba.org> 16124 16125 * configure.ac, src/io.c: Check for sys/select.h, which is not 16126 present on HP-UX. 16127 161282003-06-16 12:48 Martin Pool <mbp@samba.org> 16129 16130 * src/mon-gnome.c: Doc. 16131 161322003-06-16 12:43 Martin Pool <mbp@samba.org> 16133 16134 * src/mon.c: Doc. 16135 161362003-06-16 12:33 Martin Pool <mbp@samba.org> 16137 16138 * src/: clirpc.c, clirpc.h, compile.c, exec.c, exec.h, mon.c, 16139 rpc.c, rpc.h, serve.c, srvrpc.c: Store all token parameter 16140 values, including lengths and waitstatuses to unsigned 16141 throughout the program. Fixes some warnings on Sun and 16142 probably a bit safer. 16143 161442003-06-16 12:25 Martin Pool <mbp@samba.org> 16145 16146 * src/arg.c: dcc_note_compiled: Fix constness. 16147 161482003-06-16 12:25 Martin Pool <mbp@samba.org> 16149 16150 * src/util.c: snprintf.h is needed. 16151 161522003-06-16 12:24 Martin Pool <mbp@samba.org> 16153 16154 * src/distcc.h: Change dcc_trace_argv macro to try to quieten 16155 warnings on Sun. 16156 161572003-06-16 12:21 Martin Pool <mbp@samba.org> 16158 16159 * src/trace.h: Add RS_STMT_START macros from glib, to quieten 16160 warnings on Sun. 16161 161622003-06-16 12:19 Martin Pool <mbp@samba.org> 16163 16164 * src/hosts.c: snprintf.h is needed. 16165 161662003-06-16 12:17 Martin Pool <mbp@samba.org> 16167 16168 * src/: mon-gnome.c, mon.c, mon.h: Rename dcc_gnome_setup_dnotify 16169 to dcc_gnome_setup_notify to be less Linux-specific. 16170 16171 * Add documentation on the mon interface to help people writing 16172 new monitors. 16173 161742003-06-16 12:08 Martin Pool <mbp@samba.org> 16175 16176 * src/tempfile.c: Doc 16177 161782003-06-16 12:05 Martin Pool <mbp@samba.org> 16179 16180 * configure.ac: Fix configure messages. 16181 161822003-06-16 12:04 Martin Pool <mbp@samba.org> 16183 16184 * configure.ac: Only check for libgnomeui-2.0 if --enable-gnome 16185 was specified. 16186 161872003-06-16 11:27 Martin Pool <mbp@samba.org> 16188 16189 * doc/results.txt: Notes on performance of monitor with dnotify. 16190 161912003-06-14 20:09 Martin Pool <mbp@samba.org> 16192 16193 * TODO: IPv6 is now done. 16194 161952003-06-14 20:08 Martin Pool <mbp@samba.org> 16196 16197 * TODO: Notes on nicely handling gcc -MD. 16198 161992003-06-13 17:30 Martin Pool <mbp@samba.org> 16200 16201 * src/clinet.c: Doc. 16202 162032003-06-13 14:57 Martin Pool <mbp@samba.org> 16204 16205 * src/mon-gnome.c: Change default size 16206 16207 * Print out a star when we reread the directory. 16208 162092003-06-13 14:39 Martin Pool <mbp@samba.org> 16210 16211 * src/mon-gnome.c: Even if we can use dnotify, still poll every 16212 10s to clean up dead files. 16213 162142003-06-13 14:33 Martin Pool <mbp@samba.org> 16215 16216 * src/mon.c: Also listen for deletion notifications to make sure 16217 that we notice when the last compiler quits. 16218 162192003-06-13 14:31 Martin Pool <mbp@samba.org> 16220 16221 * src/mon-gnome.c: Attach to dnotify prompts from mon.c and drain 16222 them as they arrive. 16223 162242003-06-13 14:28 Martin Pool <mbp@samba.org> 16225 16226 * src/mon.c: dcc_mon_setup_dnotify: Check that the fcntl to set 16227 F_NOTIFY suceeded -- this can fail on linux systems that don't 16228 have dnotify in the kernel. 16229 162302003-06-13 12:55 Martin Pool <mbp@samba.org> 16231 16232 * NEWS: Fix spelling mistake. 16233 162342003-06-13 12:18 Martin Pool <mbp@samba.org> 16235 16236 * src/mon.c: Dnotify stuff now actually writes to the dummy pipe 16237 when the state changes. 16238 162392003-06-13 12:14 Martin Pool <mbp@samba.org> 16240 16241 * src/: mon.c, state.c: Doc. 16242 162432003-06-12 22:02 Martin Pool <mbp@samba.org> 16244 16245 * src/mon.c: Doc 16246 162472003-06-12 21:58 Martin Pool <mbp@samba.org> 16248 16249 * src/mon.c: Fix up half-committed code. 16250 162512003-06-12 21:55 Martin Pool <mbp@samba.org> 16252 16253 * configure.ac, src/mon-gnome.c: Fix up half-committed code. 16254 162552003-06-12 18:13 Martin Pool <mbp@samba.org> 16256 16257 * TODO, src/mon-gnome.c, src/mon.c, src/mon.h: Start adding 16258 dnotify support for monitor rather than polling. 16259 162602003-06-12 18:02 Martin Pool <mbp@samba.org> 16261 16262 * Makefile.in: Fix distccmon-gnome 16263 162642003-06-12 18:00 Martin Pool <mbp@samba.org> 16265 16266 * Makefile.in: Make sure to use the right cpp flags when building 16267 distccmon-gnome 16268 162692003-06-12 17:56 Martin Pool <mbp@samba.org> 16270 16271 * Makefile.in: distccmon-gnome needs nonblocking routines from 16272 netutil.o 16273 162742003-06-12 17:50 Martin Pool <mbp@samba.org> 16275 16276 * src/mon-gnome.c: Refactor 16277 162782003-06-12 17:37 Martin Pool <mbp@samba.org> 16279 16280 * src/mon-gnome.c: Doc. 16281 162822003-06-12 17:27 Martin Pool <mbp@samba.org> 16283 16284 * src/mon-gnome.c: GTK 2.0 manual says that gtk_timeout_add is 16285 deprecated in favour of g_timeout_add. 16286 162872003-06-12 17:26 Martin Pool <mbp@samba.org> 16288 16289 * src/mon-gnome.c: Show USER@HOST in monitor title bar, because 16290 it's possible people will run this remotely. 16291 162922003-06-12 16:57 Martin Pool <mbp@samba.org> 16293 16294 * NEWS: If --enable-gnome was specified, then check that 16295 libgnomeui is actually present. 16296 162972003-06-12 16:52 Martin Pool <mbp@samba.org> 16298 16299 * configure.ac: Bump version 16300 16301 * If --enable-gnome was specified, then check that libgnomeui is 16302 actually present. 16303 163042003-06-12 16:38 Martin Pool <mbp@samba.org> 16305 16306 * src/mon-gnome.c: Doc 16307 163082003-06-12 16:27 Martin Pool <mbp@samba.org> 16309 16310 * DEPENDENCIES: Describe dependencies for GNOME. 16311 163122003-06-12 16:25 Martin Pool <mbp@samba.org> 16313 16314 * src/mon-gnome.c: The GTK tree model is now updated on each new 16315 monitor state. It seems to be working correctly. 16316 163172003-06-12 16:09 Martin Pool <mbp@samba.org> 16318 16319 * src/mon-gnome.c: Reindent only. 16320 163212003-06-12 16:06 Martin Pool <mbp@samba.org> 16322 16323 * src/mon-gnome.c: Add a callback every 0.5s. At the moment it 16324 does nothing. 16325 163262003-06-12 15:56 Martin Pool <mbp@samba.org> 16327 16328 * TODO: More small updates. 16329 163302003-06-12 15:51 Martin Pool <mbp@samba.org> 16331 16332 * TODO: Remove many done TODO items, and add notes on some 16333 continuing ones. 16334 163352003-06-12 15:40 Martin Pool <mbp@samba.org> 16336 16337 * src/clirpc.c: Doc 16338 163392003-06-12 13:47 Martin Pool <mbp@samba.org> 16340 16341 * src/compile.c: dcc_build_somewhere: input_fname must be 16342 initialized to NULL so that in the case of a very early 16343 fallback to local compilation we don't read an invalid pointer 16344 and crash. 16345 163462003-06-12 13:44 Martin Pool <mbp@samba.org> 16347 16348 * src/: clirpc.c, remote.c, state.c: Remove infrequently-hit 16349 states. 16350 163512003-06-12 13:42 Martin Pool <mbp@samba.org> 16352 16353 * src/compile.c: Remove "Startup" state because it's very 16354 unlikely to be hit. 16355 163562003-06-12 12:53 Martin Pool <mbp@samba.org> 16357 16358 * configure.ac: Prepare for 2.6 release. 16359 163602003-06-12 12:41 Martin Pool <mbp@samba.org> 16361 16362 * src/prefork.c: dcc_preforking_parent: Put in another 1s sleep 16363 between collecting dead children and starting new ones. 16364 163652003-06-12 12:35 Martin Pool <mbp@samba.org> 16366 16367 * NEWS: Reorder sections. 16368 16369 Patch from Sean MacLennan: 16370 16371 * dcc_ncpus for Linux: make sure that we don't return 0 cpus. 16372 163732003-06-12 12:34 Martin Pool <mbp@samba.org> 16374 16375 * src/ncpus.c: Patch from Sean MacLennan: 16376 16377 * dcc_ncpus for Linux: make sure that we don't return 0 cpus. 16378 163792003-06-12 12:14 Martin Pool <mbp@samba.org> 16380 16381 * NEWS: Get ready for 2.66 release. 16382 163832003-06-12 12:04 Martin Pool <mbp@samba.org> 16384 16385 * Makefile.in: Include doc/status-1.txt in distribution. 16386 163872003-06-12 12:00 Martin Pool <mbp@samba.org> 16388 16389 * doc/status-1.txt: Update to describe the implemented monitor 16390 design. 16391 163922003-06-12 09:53 Martin Pool <mbp@samba.org> 16393 16394 * NEWS: Reorder items 16395 163962003-06-12 09:30 Martin Pool <mbp@samba.org> 16397 16398 * NEWS: Note changed tmpdir name. 16399 164002003-06-12 00:34 Martin Pool <mbp@samba.org> 16401 16402 * src/mon.c: Skip state files for which the process no longer 16403 exists. 16404 164052003-06-12 00:29 Martin Pool <mbp@samba.org> 16406 16407 * src/state.c: Call the blocked state "starved". 16408 164092003-06-12 00:28 Martin Pool <mbp@samba.org> 16410 16411 * src/state.c: Call the blocked state "bored" 16412 164132003-06-12 00:26 Martin Pool <mbp@samba.org> 16414 16415 * src/mon.c: Doc. 16416 164172003-06-12 00:17 Martin Pool <mbp@samba.org> 16418 16419 * src/clirpc.c: Doc. 16420 164212003-06-12 00:15 Martin Pool <mbp@samba.org> 16422 16423 * src/clirpc.c: Add more states: distinguish more states: waiting 16424 for preprocessor, sending source, and receiving object. 16425 164262003-06-12 00:12 Martin Pool <mbp@samba.org> 16427 16428 * src/: state.h, state.c: Add more states. 16429 164302003-06-12 00:09 Martin Pool <mbp@samba.org> 16431 16432 * src/mon-text.c: Clip columns to appropriate widths. 16433 164342003-06-12 00:04 Martin Pool <mbp@samba.org> 16435 16436 * src/: compile.c: Note input filename as soon as it has been 16437 determined. 16438 164392003-06-12 00:03 Martin Pool <mbp@samba.org> 16440 16441 * src/: compile.c, compile.h, remote.c, where.c, where.h: Roll 16442 back the rest of the xmit lock code. 16443 16444 * Rely on state code to keep track of what source file we're 16445 compiling. 16446 164472003-06-11 22:41 Martin Pool <mbp@samba.org> 16448 16449 * src/: compile.c, state.c, state.h: Show another state during 16450 startup. 16451 164522003-06-11 22:38 Martin Pool <mbp@samba.org> 16453 16454 * src/state.c: Doc 16455 164562003-06-11 22:37 Martin Pool <mbp@samba.org> 16457 16458 * src/clirpc.c: dcc_retrieve_results: Try to keep the right file 16459 name when updating state. 16460 164612003-06-11 22:36 Martin Pool <mbp@samba.org> 16462 16463 * TODO: Thoughts on -MD support. 16464 164652003-06-11 22:36 Martin Pool <mbp@samba.org> 16466 16467 * NEWS: [no log message] 16468 164692003-06-11 22:34 Martin Pool <mbp@samba.org> 16470 16471 * src/remote.c: Doc 16472 164732003-06-11 22:31 Martin Pool <mbp@samba.org> 16474 16475 * src/remote.c: dcc_compile_remote: Try to keep the right file 16476 name when updating state. 16477 164782003-06-11 22:30 Martin Pool <mbp@samba.org> 16479 16480 * src/where.c: dcc_lock_pause: Set state notification when 16481 blocked. 16482 164832003-06-11 22:29 Martin Pool <mbp@samba.org> 16484 16485 * src/: state.c, state.h: dcc_note_state: constness 16486 164872003-06-11 22:29 Martin Pool <mbp@samba.org> 16488 16489 * src/: filename.h, filename.c: dcc_find_basename: constness 16490 164912003-06-11 22:26 Martin Pool <mbp@samba.org> 16492 16493 * src/state.c: dcc_note_state: Remember the previously-set 16494 filename and host, so that we can just change state without 16495 needing to always know the filename. 16496 164972003-06-11 22:22 Martin Pool <mbp@samba.org> 16498 16499 * src/: state.c, state.h: Add STATE_BLOCKED. 16500 165012003-06-11 22:21 Martin Pool <mbp@samba.org> 16502 16503 * src/state.h: Delete garbage comment. 16504 165052003-06-11 17:22 Martin Pool <mbp@samba.org> 16506 16507 * src/mon.c: Doc. 16508 165092003-06-11 17:20 Martin Pool <mbp@samba.org> 16510 16511 * Makefile.in: Remove done todo 16512 165132003-06-11 17:19 Martin Pool <mbp@samba.org> 16514 16515 * doc/results.txt: Measurements with state notes turned on. 16516 165172003-06-11 17:18 Martin Pool <mbp@samba.org> 16518 16519 * src/: compile.c, compile.h, remote.c: dcc_compile_remote: Input 16520 filename is passed in for use in state notes. 16521 165222003-06-11 17:17 Martin Pool <mbp@samba.org> 16523 16524 * src/remote.c: dcc_compile_remote: xmit_lock_fd is unused for 16525 now. 16526 165272003-06-11 17:14 Martin Pool <mbp@samba.org> 16528 16529 * src/remote.c: Doc. 16530 165312003-06-11 17:07 Martin Pool <mbp@samba.org> 16532 16533 * src/mon-text.c: Doc. 16534 165352003-06-11 17:02 Martin Pool <mbp@samba.org> 16536 16537 * NEWS: [no log message] 16538 165392003-06-11 16:59 Martin Pool <mbp@samba.org> 16540 16541 * src/mon-text.c: Take one optional parameter, which sets a time 16542 to wait between refreshes. 16543 16544 Currently done using usleep(), which may not be portable. 16545 165462003-06-11 16:58 Martin Pool <mbp@samba.org> 16547 16548 * src/mon.c: dcc_mon_poll: Fix memory scribble. 16549 165502003-06-11 16:53 Martin Pool <mbp@samba.org> 16551 16552 * src/state.c: Doc. 16553 165542003-06-11 16:46 Martin Pool <mbp@samba.org> 16555 16556 * NEWS: [no log message] 16557 165582003-06-11 16:29 Martin Pool <mbp@samba.org> 16559 16560 * src/state.c: Only unlink file before replacing on cygwin. 16561 165622003-06-11 16:24 Martin Pool <mbp@samba.org> 16563 16564 * src/state.c: Write state out into temporary files and rename 16565 into place, to try to avoid monitors ever seeing half-full 16566 files. 16567 165682003-06-11 15:19 Martin Pool <mbp@samba.org> 16569 16570 * src/mon.c: Reduce max age to 30s. 16571 165722003-06-11 15:06 Martin Pool <mbp@samba.org> 16573 16574 * src/tempfile.c: Include hostname in tempdir name, to avoid 16575 problems when /tmp is shared. 16576 165772003-06-11 15:03 Martin Pool <mbp@samba.org> 16578 16579 * NEWS: Note distccmon-text. 16580 165812003-06-11 15:00 Martin Pool <mbp@samba.org> 16582 16583 * src/tempfile.c: dcc_make_tmpnam: Just use asprintf() now we 16584 have it, rather than doing the equivalent by hand. 16585 16586 Use the plain pid in temporary filenames rather than 16587 zero-filling 16588 it. 16589 165902003-06-11 14:55 Martin Pool <mbp@samba.org> 16591 16592 * src/mon-text.c: Dump out the monitor list in a simple text 16593 table form. 16594 165952003-06-11 14:50 Martin Pool <mbp@samba.org> 16596 16597 * src/mon.c: Doc 16598 16599 * dcc_mon_kill_old: Always close fd on failure. 16600 16601 * Build up a list of dcc_mon_list structures as the files are 16602 read in. 16603 16604 * dcc_mon_list_free: Walk down the list, freeing each link. 16605 166062003-06-11 14:24 Martin Pool <mbp@samba.org> 16607 16608 * src/mon.c: Read host and file variabels from state. 16609 166102003-06-11 14:22 Martin Pool <mbp@samba.org> 16611 16612 * src/mon.c: Put in constant for the time to allow statefiles to 16613 live, and reduce to 60s. 16614 16615 * Read state string. 16616 166172003-06-11 14:19 Martin Pool <mbp@samba.org> 16618 16619 * src/mon.c: Check for and kill old state files. 16620 16621 * Read in the start of the state file. 16622 166232003-06-11 14:15 Martin Pool <mbp@samba.org> 16624 16625 * src/: rpc.c, rpc.h, srvrpc.c: dcc_r_token_string: New function 16626 factored out. 16627 166282003-06-11 14:06 Martin Pool <mbp@samba.org> 16629 16630 * src/exitcode.h: Add EXIT_GONE 16631 166322003-06-11 12:41 Martin Pool <mbp@samba.org> 16633 16634 * src/mon-text.c: distccmon-gnome: Emit blank at end. 16635 166362003-06-11 12:41 Martin Pool <mbp@samba.org> 16637 16638 * src/mon.c: dcc_mon_do_file: Open each state file and handle 16639 missing ones. 16640 16641 * dcc_mon_poll: Fix reference to freed memory. 16642 166432003-06-11 12:35 Martin Pool <mbp@samba.org> 16644 16645 * src/: state.c, state.h: dcc_state_prefix: Export identifying 16646 prefix for state files. 16647 166482003-06-11 12:35 Martin Pool <mbp@samba.org> 16649 16650 * src/mon.c: dcc_mon_do_file: New function. Skip everything but 16651 state files. 16652 166532003-06-11 12:31 Martin Pool <mbp@samba.org> 16654 16655 * src/mon.c: dcc_mon_poll: Partial implementation that just 16656 traverses the directory. 16657 166582003-06-11 12:30 Martin Pool <mbp@samba.org> 16659 16660 * src/mon-text.c: Set trace level from environment. 16661 166622003-06-11 12:30 Martin Pool <mbp@samba.org> 16663 16664 * src/distcc.c, src/distcc.h, src/traceenv.c, Makefile.in: 16665 dcc_set_trace_from_env: Split out into new file src/traceenv.c, 16666 so that this can also be used from monitor programs. 16667 166682003-06-11 12:29 Martin Pool <mbp@samba.org> 16669 16670 * .cvsignore: Ignore distccmon-text binary. 16671 166722003-06-11 12:24 Martin Pool <mbp@samba.org> 16673 16674 * src/trace.c: Default trace should get all messages allowed by 16675 log level. 16676 166772003-06-11 12:22 Martin Pool <mbp@samba.org> 16678 16679 * Makefile.in: Build and install distccmon-text 16680 166812003-06-11 12:19 Martin Pool <mbp@samba.org> 16682 16683 * src/trace.c: Typo 16684 166852003-06-11 12:18 Martin Pool <mbp@samba.org> 16686 16687 * src/trace.c: If no logger has been initialized when the first 16688 message goes out, then write to stderr. 16689 166902003-06-11 12:13 Martin Pool <mbp@samba.org> 16691 16692 * src/mon.h: Declare part of the monitor API 16693 166942003-06-11 12:13 Martin Pool <mbp@samba.org> 16695 16696 * src/mon-text.c: Hook in to trace code. 16697 166982003-06-11 12:11 Martin Pool <mbp@samba.org> 16699 16700 * Makefile.in: More routines are needed for monitors 16701 167022003-06-11 12:06 Martin Pool <mbp@samba.org> 16703 16704 * src/mon-text.c: Hook in to trace code. 16705 16706 * Doc. 16707 167082003-06-11 12:04 Martin Pool <mbp@samba.org> 16709 16710 * src/: exec.c, util.c: dcc_remove_if_exists: Move to util.c 16711 167122003-06-11 12:04 Martin Pool <mbp@samba.org> 16713 16714 * Makefile.in: Add mon_obj variable for building monitor 16715 programs. 16716 167172003-06-11 11:58 Martin Pool <mbp@samba.org> 16718 16719 * src/mon-text.c: src/mon-text.c: New file. 16720 167212003-06-11 11:57 Martin Pool <mbp@samba.org> 16722 16723 * Makefile.in: Include src/mon-gnome.c in distribution 16724 16725 * src/mon-text.c: New file. 16726 167272003-06-11 11:51 Martin Pool <mbp@samba.org> 16728 16729 * src/state.c: dcc_note_state: Put client pid in state. 16730 167312003-06-11 11:50 Martin Pool <mbp@samba.org> 16732 16733 * Makefile.in, src/mon.c, src/mon.h: src/mon.c, src/mon.h: New 16734 files. 16735 167362003-06-11 11:48 Martin Pool <mbp@samba.org> 16737 16738 * src/: clirpc.c, remote.c: Add more calls to publish state. 16739 167402003-06-11 11:43 Martin Pool <mbp@samba.org> 16741 16742 * src/state.c: dcc_note_state: Handle null file or host names. 16743 167442003-06-11 11:39 Martin Pool <mbp@samba.org> 16745 16746 * src/: distcc.c, state.c, state.h: Call dcc_remove_state_file 16747 from atexit in client. 16748 167492003-06-11 11:37 Martin Pool <mbp@samba.org> 16750 16751 * src/state.c: dcc_remove_state_file: Implement. 16752 167532003-06-11 11:35 Martin Pool <mbp@samba.org> 16754 16755 * src/state.c: dcc_open_state_file: Release memory after use. 16756 167572003-06-11 11:32 Martin Pool <mbp@samba.org> 16758 16759 * src/: rpc.c, rpc.h: dcc_x_token_string: Make buffer const. 16760 167612003-06-11 11:31 Martin Pool <mbp@samba.org> 16762 16763 * src/state.c: dcc_note_state: Include file and host too. 16764 167652003-06-11 11:28 Martin Pool <mbp@samba.org> 16766 16767 * src/state.c: dcc_note_state: Include state string as well. 16768 167692003-06-11 11:26 Martin Pool <mbp@samba.org> 16770 16771 * src/clirpc.c: dcc_x_argv: Call dcc_x_token_string rather than 16772 doing it inline. 16773 167742003-06-11 11:22 Martin Pool <mbp@samba.org> 16775 16776 * src/: rpc.h, rpc.c: dcc_x_token_string: New function factored 16777 out. 16778 167792003-06-11 11:06 Martin Pool <mbp@samba.org> 16780 16781 * Makefile.in: Subst in LINUXDOC. 16782 167832003-06-11 11:02 Martin Pool <mbp@samba.org> 16784 16785 * configure.ac: AC_ARG_VAR LINUXDOC 16786 167872003-06-11 11:00 Martin Pool <mbp@samba.org> 16788 16789 * configure.ac: Add a check for existence of linuxdoc. 16790 167912003-06-11 10:47 Martin Pool <mbp@samba.org> 16792 16793 * src/snprintf.h: snprintf.h needs to include stdarg.h to get 16794 va_list. Possibly fixes IRIX. 16795 167962003-06-10 18:23 Martin Pool <mbp@samba.org> 16797 16798 * NEWS: Patch from Paul Russell: 16799 16800 * If the compiler is not found on the server and is a 16801 fully-qualified 16802 name, then strip off the full name and just look for it on the 16803 path. 16804 168052003-06-10 18:16 Martin Pool <mbp@samba.org> 16806 16807 * src/exec.c: Doc. 16808 168092003-06-10 18:15 Martin Pool <mbp@samba.org> 16810 16811 * src/exec.c: Patch from Paul Russell: 16812 16813 * If the compiler is not found on the server and is a 16814 fully-qualified 16815 name, then strip off the full name and just look for it on the 16816 path. 16817 168182003-06-10 18:00 Martin Pool <mbp@samba.org> 16819 16820 * doc/release-names.txt: [no log message] 16821 168222003-06-10 18:00 Martin Pool <mbp@samba.org> 16823 16824 * NEWS: Note new state files. 16825 168262003-06-10 17:57 Martin Pool <mbp@samba.org> 16827 16828 * src/stat.c, src/stat.h, src/state.c, src/state.h, Makefile.in, 16829 src/compile.c: Rename stat.* to state.* 16830 168312003-06-10 17:57 Martin Pool <mbp@samba.org> 16832 16833 * src/stat.h: dcc_remove_state_file: New function. 16834 168352003-06-10 17:56 Martin Pool <mbp@samba.org> 16836 16837 * src/stat.c: dcc_get_state_file: New function to return the name 16838 of the state file for this process. 16839 16840 * dcc_note_state: Start writing into state file. 16841 168422003-06-10 17:43 Martin Pool <mbp@samba.org> 16843 16844 * src/compile.c: Update state directory when compiling locally. 16845 168462003-06-10 17:42 Martin Pool <mbp@samba.org> 16847 16848 * src/arg.c: Factor out "compile from %s to %s" message into its 16849 own function, and log only the basename. Should prevent 16850 page-widening in server logs. 16851 168522003-06-10 17:41 Martin Pool <mbp@samba.org> 16853 16854 * src/: stat.c, stat.h: dcc_note_state only logs the basename of 16855 the file. 16856 168572003-06-10 17:39 Martin Pool <mbp@samba.org> 16858 16859 * src/stat.c: dcc_note_state: Trim filename down to basename. 16860 168612003-06-10 17:37 Martin Pool <mbp@samba.org> 16862 16863 * NEWS: Try to fix UTF-8 coding, which seemed to be mangled by 16864 CVS. 16865 168662003-06-10 17:31 Martin Pool <mbp@samba.org> 16867 16868 * NEWS: In compilation log message, just show the basename of the 16869 file to make it more compact. 16870 168712003-06-10 17:23 Martin Pool <mbp@samba.org> 16872 16873 * src/: stat.h, stat.c: Add compile state constants. 16874 168752003-06-10 17:16 Martin Pool <mbp@samba.org> 16876 16877 * src/: filename.h, filename.c: dcc_find_basename: New function. 16878 168792003-06-10 16:57 Martin Pool <mbp@samba.org> 16880 16881 * src/compile.c: Remove unneeded header. 16882 168832003-06-10 16:55 Martin Pool <mbp@samba.org> 16884 16885 * src/: stat.c, stat.h: dcc_note_state: New function to record 16886 what the client's up to. 16887 168882003-06-10 16:54 Martin Pool <mbp@samba.org> 16889 16890 * src/: bulk.c, distcc.h: Move O_BINARY ifdef to distcc.h 16891 168922003-06-10 15:56 Martin Pool <mbp@samba.org> 16893 16894 * Makefile.in: New file stat.h 16895 168962003-06-10 15:55 Martin Pool <mbp@samba.org> 16897 16898 * src/: stat.c, stat.h: New file stat.h 16899 16900 * Add routine to open a state file. 16901 169022003-06-10 15:55 Martin Pool <mbp@samba.org> 16903 16904 * .cvsignore: Ignore distccmon-gnome. 16905 169062003-06-10 15:49 Martin Pool <mbp@samba.org> 16907 16908 * src/stat.c: Doc 16909 16910 * Add function to create/return state directory. 16911 169122003-06-10 15:47 Martin Pool <mbp@samba.org> 16913 16914 * src/tempfile.h: Split code for idempotent directory creation 16915 out into a new function dcc_make_dir, so that it can be used by 16916 state file code. 16917 169182003-06-10 15:33 Martin Pool <mbp@samba.org> 16919 16920 * src/tempfile.c: Split code for idempotent directory creation 16921 out into a new function dcc_make_dir, so that it can be used by 16922 state file code. 16923 169242003-06-10 15:23 Martin Pool <mbp@samba.org> 16925 16926 * src/mon-gnome.c: Add columns for file and host 16927 16928 * Add more sample data 16929 16930 * Refactor code to create table view. 16931 169322003-06-10 15:14 Martin Pool <mbp@samba.org> 16933 16934 * src/mon-gnome.c: Set a more reasonable default size. 16935 169362003-06-10 15:09 Martin Pool <mbp@samba.org> 16937 16938 * src/mon-gnome.c: Refactor into smaller functions 16939 16940 * Remove horizontal scrollbar; vertical only as needed. 16941 16942 * Remove dummy text entry 16943 169442003-06-10 15:00 Martin Pool <mbp@samba.org> 16945 16946 * NEWS: Start adding a GNOME-based monitor. 16947 169482003-06-10 14:58 Martin Pool <mbp@samba.org> 16949 16950 * Makefile.in: make clean: Remove distccmon-gnome, even if it's 16951 currently not configured on. 16952 169532003-06-10 14:57 Martin Pool <mbp@samba.org> 16954 16955 * Makefile.in, configure.ac: Add --enable-gnome configure option. 16956 When set, build and install distccmon-gnome. 16957 169582003-06-09 23:09 Martin Pool <mbp@samba.org> 16959 16960 * src/mon-gnome.c: Add more sample data. 16961 169622003-06-09 23:07 Martin Pool <mbp@samba.org> 16963 16964 * Makefile.in: Add hardcoded rule for distccmon-gnome. 16965 169662003-06-09 23:05 Martin Pool <mbp@samba.org> 16967 16968 * doc/status-1.txt: Update status indicator notes. 16969 169702003-06-09 23:03 Martin Pool <mbp@samba.org> 16971 16972 * src/stat.c: Stub for status indicator. 16973 169742003-06-09 19:23 Martin Pool <mbp@samba.org> 16975 16976 * src/mon-gnome.c: Start of a monitor implementation in GTK+-2.2. 16977 Displays a window with a list containing only "42". 16978 169792003-06-09 18:37 Martin Pool <mbp@samba.org> 16980 16981 * src/: mon-gnome.c, mon-gtk.c: Stub implementation of GNOME 16982 monitor. 16983 169842003-06-09 18:35 Martin Pool <mbp@samba.org> 16985 16986 * src/: netutil.c, netutil.h: Add implementation of hstrerror() 16987 for systems that don't have it. 16988 169892003-06-09 18:28 Martin Pool <mbp@samba.org> 16990 16991 * Makefile.in: src/stat.c: New file. 16992 169932003-06-09 15:23 Martin Pool <mbp@samba.org> 16994 16995 * src/mon-gtk.c: Add a stub GTK+ monitor interface -- compiles 16996 and shows an empty window but does nothing. 16997 169982003-06-09 14:26 Martin Pool <mbp@samba.org> 16999 17000 * NEWS: Note that hstrerror() is now supplied. 17001 170022003-06-09 12:47 Martin Pool <mbp@samba.org> 17003 17004 * src/remote.c: Remove more unneeded headers. 17005 170062003-06-09 12:43 Martin Pool <mbp@samba.org> 17007 17008 * src/: distcc.c, compile.c: Remove more unneeded headers. 17009 170102003-06-09 12:36 Martin Pool <mbp@samba.org> 17011 17012 * src/distcc.c: Remove more unneeded headers. 17013 170142003-06-09 12:33 Martin Pool <mbp@samba.org> 17015 17016 * src/distcc.c: Remove unneeded headers. 17017 170182003-06-08 20:05 Martin Pool <mbp@samba.org> 17019 17020 * test/testdistcc.py, NEWS: Fix silly typo that made 17021 maintainer-check fail in ParseHostSpec_Case. 17022 170232003-06-08 19:52 Martin Pool <mbp@samba.org> 17024 17025 * Makefile.in, src/compile.c, src/compile.h, src/distcc.c: Split 17026 other client-side compile functionality into src/compile.c. 17027 src/distcc.c now only has the top-level client code. 17028 17029 * src/compile.c: New file. 17030 170312003-06-08 19:43 Martin Pool <mbp@samba.org> 17032 17033 * Makefile.in, src/compile.h, src/distcc.c, src/remote.c: Split 17034 dcc_compile_remote into src/remote.c, and make it public. 17035 17036 * compile.h, remote.c: New files. 17037 170382003-06-08 19:36 Martin Pool <mbp@samba.org> 17039 17040 * TODO: Multiple updates to TODO file. 17041 170422003-06-08 19:19 Martin Pool <mbp@samba.org> 17043 17044 * src/distcc.c, NEWS: Look for UNCACHED_ERR_FD environment 17045 variable, to allow distcc networking errors to avoid being 17046 cached by ccache. 17047 170482003-06-06 13:07 Martin Pool <mbp@samba.org> 17049 17050 * TODO: OpenMOSIX autodiscovery 17051 170522003-06-05 17:44 Martin Pool <mbp@samba.org> 17053 17054 * TODO: Rearrange comments on DNS A and SRV records. 17055 17056 * Move question about --enable-final to web. 17057 170582003-06-05 17:34 Martin Pool <mbp@samba.org> 17059 17060 * TODO: 2.5 bug is fixed. 17061 170622003-06-05 17:26 Martin Pool <mbp@samba.org> 17063 17064 * Makefile.in: Include doc/protocol-1.txt in distribution. 17065 170662003-06-05 17:21 Martin Pool <mbp@samba.org> 17067 17068 * configure.ac: Bump version back to 2.6cvs 17069 170702003-06-05 17:03 Martin Pool <mbp@samba.org> 17071 17072 * NEWS: Note connection timeout added in 2.5.1. 17073 170742003-06-05 16:53 Martin Pool <mbp@samba.org> 17075 17076 * NEWS, configure.ac: Prepare for 2.5.1 release. 17077 170782003-06-05 16:48 Martin Pool <mbp@samba.org> 17079 17080 * src/io.c, NEWS: sys/time.h might be needed for select on SuSE 17081 7.1 (spe158). 17082 170832003-06-05 16:45 Martin Pool <mbp@samba.org> 17084 17085 * src/hosts.c, NEWS: dcc_parse_multiplier must advance over the 17086 multiplier to be able to read things like "angry/30:3000" 17087 correctly. Patch from Wayne Davison. 17088 170892003-06-05 16:43 Martin Pool <mbp@samba.org> 17090 17091 * linuxdoc/distcc.sgml: Get out these fixes in 2.5.1. 17092 170932003-06-05 16:42 Martin Pool <mbp@samba.org> 17094 17095 * test/testdistcc.py, NEWS: Add check for support of old 17096 multiplier format. (angry/44:300) 17097 170982003-06-05 16:41 Martin Pool <mbp@samba.org> 17099 17100 * test/testdistcc.py: Doc 17101 171022003-06-05 16:39 Martin Pool <mbp@samba.org> 17103 17104 * configure.ac: Get out these fixes in 2.5.1. 17105 171062003-06-05 16:36 Martin Pool <mbp@samba.org> 17107 17108 * NEWS: Get out these fixes in 2.5.1. 17109 171102003-06-05 16:17 Martin Pool <mbp@samba.org> 17111 17112 * src/: clinet.c, netutil.c, netutil.h, srvnet.c: Rename 17113 everything called 'sa_len' because this is #defined on IRIX. 17114 (Yuk) 17115 171162003-06-05 16:12 Martin Pool <mbp@samba.org> 17117 17118 * NEWS: Fix IRIX. 17119 171202003-06-05 16:09 Martin Pool <mbp@samba.org> 17121 17122 * NEWS: Recode as UTF-8. 17123 171242003-06-05 16:08 Martin Pool <mbp@samba.org> 17125 17126 * NEWS: Solaris fixes from Tomas. 17127 171282003-06-05 16:08 Martin Pool <mbp@samba.org> 17129 17130 * src/daemon.h: dcc_master_pid is really a pid_t. 17131 171322003-06-05 16:07 Martin Pool <mbp@samba.org> 17133 17134 * src/netutil.c: Can't use "sun" as an identifier on gcc Solaris 17135 8. 17136 171372003-06-05 16:03 Martin Pool <mbp@samba.org> 17138 17139 * doc/release-names.txt: [no log message] 17140 171412003-06-04 23:19 Martin Pool <mbp@samba.org> 17142 17143 * src/dparent.c: Doc. 17144 171452003-06-04 11:22 Martin Pool <mbp@samba.org> 17146 17147 * doc/status-1.txt: Notes on design possibilities. 17148 171492003-06-03 08:37 Martin Pool <mbp@samba.org> 17150 17151 * doc/noent.txt: Transient bug while compiling. 17152 171532003-06-03 08:23 Martin Pool <mbp@samba.org> 17154 17155 * doc/status-1.txt: Notes on status reporting 17156 171572003-06-02 15:48 Martin Pool <mbp@samba.org> 17158 17159 * src/netutil.c: This file needs snprintf.h 17160 17161 * AF_LOCAL might be missing on Solaris. 17162 171632003-06-02 15:45 Martin Pool <mbp@samba.org> 17164 17165 * TODO: [no log message] 17166 171672003-06-02 14:46 Martin Pool <mbp@samba.org> 17168 17169 * doc/release-names.txt: [no log message] 17170 171712003-06-02 13:20 Martin Pool <mbp@samba.org> 17172 17173 * src/dparent.c: Clarify "%d CPUs online" message. 17174 17175 http://groups.google.com/groups?q=distcc&hl=en&lr=&ie=UTF-8&oe=UTF-8&scoring=d&selm=1054494726.347698%40auth2.dns.griffin.net.uk&rnum=1 17176 171772003-06-02 13:13 Martin Pool <mbp@samba.org> 17178 17179 * survey.txt: Clarify privacy clause for survey. 17180 171812003-06-02 13:11 Martin Pool <mbp@samba.org> 17182 17183 * NEWS: [no log message] 17184 171852003-05-31 00:29 Martin Pool <mbp@samba.org> 17186 17187 * doc/protocol-1.txt: Start handling empty output files. 17188 171892003-05-31 00:29 Martin Pool <mbp@samba.org> 17190 17191 * TODO: [no log message] 17192 171932003-05-30 23:49 Martin Pool <mbp@samba.org> 17194 17195 * src/: bulk.c, distcc.h: dcc_open_read can be static. 17196 171972003-05-30 23:47 Martin Pool <mbp@samba.org> 17198 17199 * src/bulk.c: Remove dead code. 17200 172012003-05-30 12:58 Martin Pool <mbp@samba.org> 17202 17203 * linuxdoc/distcc.sgml: Add section about Mailing lists. 17204 172052003-05-30 12:45 Martin Pool <mbp@samba.org> 17206 17207 * src/dsignal.c: Doc. 17208 172092003-05-29 09:00 Martin Pool <mbp@samba.org> 17210 17211 * src/access.c: Doc 17212 172132003-05-28 17:34 Martin Pool <mbp@samba.org> 17214 17215 * src/: clinet.c, io.c: Increase timeout to 15s. 17216 17217 * Move select() check into dcc_select_for_read 17218 172192003-05-28 17:28 Martin Pool <mbp@samba.org> 17220 17221 * src/clinet.c: dcc_connect_timed: Add trace. 17222 172232003-05-28 17:16 Martin Pool <mbp@samba.org> 17224 17225 * src/clinet.c: Doc 17226 172272003-05-28 17:13 Martin Pool <mbp@samba.org> 17228 17229 * TODO, doc/results.txt: [no log message] 17230 172312003-05-28 17:01 Martin Pool <mbp@samba.org> 17232 17233 * src/clinet.c: Impose 5s timeout on opening TCP connections. 17234 Change to using nonblocking sockets (just while opening). 17235 172362003-05-28 16:16 Martin Pool <mbp@samba.org> 17237 17238 * Makefile.in: Move check functionality to maintainer-check, 17239 because I don't want it to run by default on the build farm. 17240 172412003-05-28 16:13 Martin Pool <mbp@samba.org> 17242 17243 * NEWS: [no log message] 17244 172452003-05-28 16:11 Martin Pool <mbp@samba.org> 17246 17247 * src/distcc.c: Include hostdef string in "failed to distribute" 17248 warning. 17249 172502003-05-28 16:03 Martin Pool <mbp@samba.org> 17251 17252 * src/: netutil.h, ssh.c, netutil.c: dcc_set_nonblocking, 17253 dcc_set_blocking: Move to netutil.h 17254 172552003-05-28 15:57 Martin Pool <mbp@samba.org> 17256 17257 * TODO: The server in fact already generates the right extension 17258 name for temporary files. But this might be a problem for the 17259 proposed new protocol. 17260 172612003-05-28 15:50 Martin Pool <mbp@samba.org> 17262 17263 * src/serve.c: dcc_run_job: Split some code out into 17264 dcc_input_tmpnam. 17265 172662003-05-28 15:50 Martin Pool <mbp@samba.org> 17267 17268 * doc/results.txt: [no log message] 17269 172702003-05-28 15:46 Martin Pool <mbp@samba.org> 17271 17272 * TODO: Preforking is now done. 17273 172742003-05-28 15:45 Martin Pool <mbp@samba.org> 17275 17276 * TODO: Thoughts on boredom and temporary file extensions. 17277 172782003-05-28 15:29 Martin Pool <mbp@samba.org> 17279 17280 * linuxdoc/distcc.sgml, NEWS: Document use from inetd. 17281 17282 * Document -j option. 17283 172842003-05-28 15:08 Martin Pool <mbp@samba.org> 17285 17286 * linuxdoc/distcc.sgml: Notes on running daemon from init and 17287 standalone. 17288 172892003-05-28 14:51 Martin Pool <mbp@samba.org> 17290 17291 * NEWS: dcc_setpgid: Rename to dcc_new_pgrp. 17292 17293 * dcc_new_pgrp: Don't call setpgid() if we're already a process 17294 group leader, because this fails with EPERM if we happen to 17295 also be a session group leader. 17296 172972003-05-28 14:42 Martin Pool <mbp@samba.org> 17298 17299 * src/: dparent.c, exec.c, exec.h: dcc_setpgid: Rename to 17300 dcc_new_pgrp. 17301 17302 * dcc_new_pgrp: Don't call setpgid() if we're already a process 17303 group leader, because this fails with EPERM if we happen to 17304 also be a session group leader. 17305 173062003-05-28 14:31 Martin Pool <mbp@samba.org> 17307 17308 * configure.ac: Bump version 17309 173102003-05-28 14:13 Martin Pool <mbp@samba.org> 17311 17312 * NEWS: Need types.h 17313 173142003-05-28 14:03 Martin Pool <mbp@samba.org> 17315 17316 * src/daemon.c: Need types.h 17317 173182003-05-27 19:18 Martin Pool <mbp@samba.org> 17319 17320 * src/serve.c: Tweak trace message. 17321 173222003-05-27 19:17 Martin Pool <mbp@samba.org> 17323 17324 * src/bulk.c: Disable dcc_x_file_timed, which is no longer 17325 called. 17326 173272003-05-27 19:12 Martin Pool <mbp@samba.org> 17328 17329 * configure.ac, NEWS, doc/release-names.txt: Prepare for 2.5 17330 release. 17331 173322003-05-27 19:11 Martin Pool <mbp@samba.org> 17333 17334 * src/daemon.c: Doc. 17335 17336 * If getpeername() fails on a socket then continue anyhow. 17337 173382003-05-27 19:08 Martin Pool <mbp@samba.org> 17339 17340 * TODO: SSH child is now collected by the client. 17341 173422003-05-27 18:55 Martin Pool <mbp@samba.org> 17343 17344 * NEWS: [no log message] 17345 173462003-05-27 18:54 Martin Pool <mbp@samba.org> 17347 17348 * src/distcc.c: Only collect SSH child if we actually started 17349 one. (How embarrassing.) 17350 173512003-05-27 18:48 Martin Pool <mbp@samba.org> 17352 17353 * src/distcc.c: Log elapsed time for whole compilation. 17354 173552003-05-27 18:42 Martin Pool <mbp@samba.org> 17356 17357 * src/: serve.c, clirpc.c: Don't time transmission of a file: 17358 because a large fraction of it can be stuck in network buffers 17359 it is not a very accurate measure. 17360 173612003-05-27 18:39 Martin Pool <mbp@samba.org> 17362 17363 * TODO: [no log message] 17364 173652003-05-27 18:35 Martin Pool <mbp@samba.org> 17366 17367 * TODO: Note on handling SIGCHLD from cpp. 17368 173692003-05-27 18:17 Martin Pool <mbp@samba.org> 17370 17371 * src/: distcc.c: Doc. 17372 173732003-05-27 18:16 Martin Pool <mbp@samba.org> 17374 17375 * src/: clirpc.c, distcc.c, exec.c, exec.h, serve.c: 17376 dcc_report_rusage: Merge into dcc_collect_child because they're 17377 coupled. 17378 17379 * dcc_collect_child: Don't pass back rusage. Do take a 17380 descriptive name for the child. 17381 17382 * dcc_compile_remote: Collect the SSH child after the connection 17383 is closed. 17384 173852003-05-27 18:06 Martin Pool <mbp@samba.org> 17386 17387 * src/distcc.c: Add pointer to manual in usage message. 17388 173892003-05-27 17:54 Martin Pool <mbp@samba.org> 17390 17391 * src/netutil.c: dcc_sockaddr_to_string: Remove "INET" from IP 17392 address. 17393 173942003-05-27 17:54 Martin Pool <mbp@samba.org> 17395 17396 * src/clinet.c: dcc_connect_by_addr: Print sockaddr in raw form. 17397 173982003-05-27 15:11 Martin Pool <mbp@samba.org> 17399 17400 * test/testdistcc.py: ParseMask_Case: Better error message. 17401 174022003-05-27 14:58 Martin Pool <mbp@samba.org> 17403 17404 * doc/results.txt: Notes on prefork mode. 17405 174062003-05-27 14:43 Martin Pool <mbp@samba.org> 17407 17408 * src/daemon.h: Fix decl. 17409 174102003-05-27 14:42 Martin Pool <mbp@samba.org> 17411 17412 * src/hosts.c: Fix C syntax. 17413 174142003-05-27 14:41 Martin Pool <mbp@samba.org> 17415 17416 * TODO: Update notes on fsh/ssh. 17417 174182003-05-27 12:26 Martin Pool <mbp@samba.org> 17419 17420 * src/serve.c: Tweak log messages. 17421 174222003-05-27 11:44 Martin Pool <mbp@samba.org> 17423 17424 * linuxdoc/distcc.sgml: Recommend using log files. 17425 174262003-05-27 11:41 Martin Pool <mbp@samba.org> 17427 17428 * src/prefork.c: dcc_preforked_child can be static. 17429 174302003-05-27 11:07 Martin Pool <mbp@samba.org> 17431 17432 * src/exec.c: dcc_critique_status: Tweak log output. 17433 174342003-05-27 11:05 Martin Pool <mbp@samba.org> 17435 17436 * src/exec.c: dcc_critique_status: Better message for termination 17437 by signal. 17438 174392003-05-27 11:00 Martin Pool <mbp@samba.org> 17440 17441 * src/lock.c: Show lock fd in trace messages. 17442 174432003-05-27 10:59 Martin Pool <mbp@samba.org> 17444 17445 * src/srvnet.c: dcc_sockaddr_to_ip now indicates which AF it is. 17446 174472003-05-27 10:58 Martin Pool <mbp@samba.org> 17448 17449 * src/netutil.c: Better description of AF_UNIX sockets. 17450 174512003-05-27 10:54 Martin Pool <mbp@samba.org> 17452 17453 * src/netutil.c: dcc_sockaddr_to_string: Handle AF_LOCAL and 17454 unknown AF addresses. Return "INET 1.2.1.2:323" to distinguish 17455 AFs. 17456 174572003-05-27 10:49 Martin Pool <mbp@samba.org> 17458 17459 * src/: netutil.c, netutil.h, srvnet.c: dcc_sockaddr_to_ip: 17460 Rename to dcc_sockaddr_to_string. 17461 174622003-05-27 10:46 Martin Pool <mbp@samba.org> 17463 17464 * src/bulk.c: Doc 17465 174662003-05-27 10:43 Martin Pool <mbp@samba.org> 17467 17468 * src/bulk.c: Tweak trace message. 17469 174702003-05-27 10:42 Martin Pool <mbp@samba.org> 17471 17472 * src/sendfile.c: Doc. 17473 174742003-05-27 10:28 Martin Pool <mbp@samba.org> 17475 17476 * src/: distcc.c, where.c: Disable XMIT locks for the moment. 17477 174782003-05-26 18:43 Martin Pool <mbp@samba.org> 17479 17480 * doc/results.txt: More testing. 17481 174822003-05-26 18:39 Martin Pool <mbp@samba.org> 17483 17484 * doc/results.txt: More testing. 17485 174862003-05-26 18:09 Martin Pool <mbp@samba.org> 17487 17488 * NEWS: Client no longer considers NCPUs. 17489 174902003-05-26 18:08 Martin Pool <mbp@samba.org> 17491 17492 * src/bulk.c: Tweak trace message. 17493 174942003-05-26 17:53 Martin Pool <mbp@samba.org> 17495 17496 * TODO: [no log message] 17497 174982003-05-26 17:45 Martin Pool <mbp@samba.org> 17499 17500 * src/hosts.c: Fix warning. 17501 175022003-05-26 17:44 Martin Pool <mbp@samba.org> 17503 17504 * src/hosts.c, Makefile.in: Don't look at the number of CPUs on 17505 the client; it's too expensive. 17506 175072003-05-26 17:39 Martin Pool <mbp@samba.org> 17508 17509 * src/srvnet.c, src/dparent.c, NEWS: Log full passive sockaddr in 17510 listen message. 17511 175122003-05-26 17:36 Martin Pool <mbp@samba.org> 17513 17514 * src/dparent.c: Shuffle startup messages. 17515 175162003-05-26 17:34 Martin Pool <mbp@samba.org> 17517 17518 * src/dsignal.c, NEWS: Make sure to remove handler before 17519 re-raising signal, or Valgrind gets its kickers in a knot. 17520 175212003-05-26 17:30 Martin Pool <mbp@samba.org> 17522 17523 * src/serve.c: dcc_service_job: Split off code for checking 17524 access control. 17525 175262003-05-26 17:13 Martin Pool <mbp@samba.org> 17527 17528 * src/: daemon.c, daemon.h, distcc.h, dparent.c, prefork.c, 17529 serve.c, srvnet.c, srvnet.h: Use the sockaddr passed in by 17530 accept() when a connection is accepted, rather than doing an 17531 extra getpeername() call. 17532 17533 * dcc_accept_job: Rename to dcc_service_job, since accept() is no 17534 longer called from here. 17535 175362003-05-26 17:00 Martin Pool <mbp@samba.org> 17537 17538 * NEWS: dcc_listen_by_addr: Show sockaddr if bind fails. 17539 175402003-05-26 16:58 Martin Pool <mbp@samba.org> 17541 17542 * src/netutil.c: dcc_sockaddr_to_ip: sin_port is in network byte 17543 order. 17544 175452003-05-26 16:57 Martin Pool <mbp@samba.org> 17546 17547 * src/srvnet.c: Fix silly typo. 17548 175492003-05-26 16:56 Martin Pool <mbp@samba.org> 17550 17551 * src/srvnet.c: dcc_listen_by_addr: Show sockaddr if bind fails. 17552 175532003-05-26 16:53 Martin Pool <mbp@samba.org> 17554 17555 * src/netutil.c: dcc_sockaddr_to_ip: Show port number as well as 17556 IP address. 17557 175582003-05-26 16:46 Martin Pool <mbp@samba.org> 17559 17560 * src/srvnet.c: Split out "address family" part from "connection 17561 from" message. 17562 175632003-05-26 16:35 Martin Pool <mbp@samba.org> 17564 17565 * src/daemon.c: Fix syntax problem and missing header. 17566 175672003-05-26 16:34 Martin Pool <mbp@samba.org> 17568 17569 * NEWS: Move daemon into temporary directory during startup. 17570 175712003-05-26 16:33 Martin Pool <mbp@samba.org> 17572 17573 * src/daemon.c: Doc. 17574 175752003-05-26 16:32 Martin Pool <mbp@samba.org> 17576 17577 * src/daemon.c: main: Refactor error handling. 17578 17579 * Move daemon into temporary directory during startup. 17580 175812003-05-26 16:29 Martin Pool <mbp@samba.org> 17582 17583 * src/: tempfile.c, tempfile.h: dcc_enter_tempdir: New function. 17584 175852003-05-26 16:27 Martin Pool <mbp@samba.org> 17586 17587 * src/tempfile.c, NEWS: Just use decimal userid rather than 17588 username in temporary directory. 17589 175902003-05-26 16:22 Martin Pool <mbp@samba.org> 17591 17592 * src/setuid.c: Undo 1.3 17593 175942003-05-26 16:21 Martin Pool <mbp@samba.org> 17595 17596 * src/setuid.c: Move opt_user to somewhere it can be reached by 17597 tmpfile. 17598 175992003-05-26 16:19 Martin Pool <mbp@samba.org> 17600 17601 * NEWS: Use username or decimal userid for temporary directory 17602 name. 17603 176042003-05-26 15:55 Martin Pool <mbp@samba.org> 17605 17606 * src/serve.c: Doc. 17607 176082003-05-26 15:54 Martin Pool <mbp@samba.org> 17609 17610 * src/serve.c: Fix naming of stdout, stderr temporary files. 17611 17612 * Call server object file .o. 17613 176142003-05-26 15:51 Martin Pool <mbp@samba.org> 17615 17616 * src/serve.c: dcc_accept_job: Close down ecolog connection to 17617 server error log, so that we don't leak fds in prefork mode. 17618 176192003-05-26 15:48 Martin Pool <mbp@samba.org> 17620 17621 * src/trace.c: rs_remove_logger: New function to allow turning 17622 off loggers without shutting everything down. 17623 176242003-05-26 15:42 Martin Pool <mbp@samba.org> 17625 17626 * src/trace.h: rs_remove_logger: New function. 17627 176282003-05-26 15:38 Martin Pool <mbp@samba.org> 17629 17630 * src/prefork.c: Message when child exits. 17631 176322003-05-26 15:13 Martin Pool <mbp@samba.org> 17633 17634 * test/testdistcc.py: Add tests for new host multiplicity 17635 specifications. 17636 176372003-05-26 15:12 Martin Pool <mbp@samba.org> 17638 17639 * src/dsignal.c: Remove unneeded headers. 17640 176412003-05-26 15:07 Martin Pool <mbp@samba.org> 17642 17643 * linuxdoc/distcc.sgml: TCP hosts can now be specified in the 17644 more logical form of HOST:PORT/MUL. 17645 17646 * Explain when and where to list localhost. 17647 176482003-05-26 15:02 Martin Pool <mbp@samba.org> 17649 17650 * src/hosts.c, NEWS: TCP hosts can now be specified in the more 17651 logical form of HOST:PORT/MUL. 17652 176532003-05-26 14:58 Martin Pool <mbp@samba.org> 17654 17655 * src/h_hosts.c: Log to stderr. 17656 176572003-05-26 14:54 Martin Pool <mbp@samba.org> 17658 17659 * src/hosts.c: dcc_parse_multiplier: Remove unnecessary string 17660 copy. 17661 176622003-05-26 14:51 Martin Pool <mbp@samba.org> 17663 17664 * src/hosts.c: Doc. 17665 176662003-05-26 14:48 Martin Pool <mbp@samba.org> 17667 17668 * src/dsignal.c: dcc_parent_terminate: Rename to 17669 dcc_daemon_terminate because it's now done in both parent and 17670 children. 17671 176722003-05-26 14:47 Martin Pool <mbp@samba.org> 17673 17674 * test/testdistcc.py: Run tests in prefork mode. 17675 176762003-05-26 14:46 Martin Pool <mbp@samba.org> 17677 17678 * src/: daemon.h, dparent.c, dsignal.c, prefork.c, serve.c: Don't 17679 change the signal handler when starting a child, because this 17680 is racy and not straightforward. Instead, keep track of the pid 17681 of the master daemon, and in the signal handler check if that's 17682 who we are when running cleanup. 17683 176842003-05-26 14:34 Martin Pool <mbp@samba.org> 17685 17686 * NEWS: Call server-side output object files .o, not .out. Patch 17687 from rishikesh shetty. 17688 176892003-05-26 14:28 Martin Pool <mbp@samba.org> 17690 17691 * src/prefork.c: Doc. 17692 176932003-05-26 14:24 Martin Pool <mbp@samba.org> 17694 17695 * test/testdistcc.py: Assume localhost has one CPU when checking 17696 host parsing. 17697 176982003-05-26 14:20 Martin Pool <mbp@samba.org> 17699 17700 * test/testdistcc.py: Wait status for a terminated daemon is now 17701 TERM, not 0. 17702 17703 * Use --no-prefork for the moment to check nothing was broken. 17704 177052003-05-26 14:13 Martin Pool <mbp@samba.org> 17706 17707 * src/dparent.c: Don't catch signals until we've established our 17708 own process group, because we don't want to accidentally kill 17709 the caller's process group. 17710 17711 * More trace messages. 17712 177132003-05-26 14:12 Martin Pool <mbp@samba.org> 17714 17715 * src/: exec.h, exec.c: dcc_setpgid: Return an error if we fail 17716 to create a process group, because we rely on being separated 17717 for proper shutdown. 17718 177192003-05-26 13:55 Martin Pool <mbp@samba.org> 17720 17721 * src/exec.c: dcc_setpgid: Return an error if we fail to create a 17722 process group, because we rely on being separated for proper 17723 shutdown. 17724 177252003-05-26 13:34 Martin Pool <mbp@samba.org> 17726 17727 * src/tempfile.c: Fix warning 17728 177292003-05-26 13:14 Martin Pool <mbp@samba.org> 17730 17731 * src/tempfile.c: tmpfile list must be volatile. 17732 177332003-05-26 13:10 Martin Pool <mbp@samba.org> 17734 17735 * src/dparent.c: dcc_standalone_server: Even in --no-detach mode, 17736 create a new process group. 17737 177382003-05-26 13:09 Martin Pool <mbp@samba.org> 17739 17740 * src/prefork.c: dcc_preforking_parent: We don't need to create a 17741 new process group because it has already been done at a higher 17742 level. 17743 177442003-05-26 13:08 Martin Pool <mbp@samba.org> 17745 17746 * src/exec.c: Doc. 17747 177482003-05-26 12:15 Martin Pool <mbp@samba.org> 17749 17750 * Makefile.in: h_hosts now needs ncpus.c 17751 177522003-05-26 12:08 Martin Pool <mbp@samba.org> 17753 17754 * NEWS: Note prefork support. 17755 177562003-05-26 12:06 Martin Pool <mbp@samba.org> 17757 17758 * src/: srvrpc.c, serve.c: Split server-specific RPC code into 17759 its own file. 17760 177612003-05-26 12:05 Martin Pool <mbp@samba.org> 17762 17763 * Makefile.in, src/rpc.h: src/srvrpc.c: New file. 17764 177652003-05-26 12:00 Martin Pool <mbp@samba.org> 17766 17767 * src/daemon.c: Doc. 17768 177692003-05-26 11:53 Martin Pool <mbp@samba.org> 17770 17771 * NEWS: Kill process group on termination signal. 17772 177732003-05-26 11:50 Martin Pool <mbp@samba.org> 17774 17775 * src/: prefork.c, dparent.c: "up to n children" is only a debug 17776 message. 17777 177782003-05-26 11:49 Martin Pool <mbp@samba.org> 17779 17780 * src/dparent.c: Split out code for logging terminated children. 17781 17782 * Show signal names if appropriate when a child exits. 17783 17784 * If a child is terminated, this is just an info log not an 17785 error. 17786 177872003-05-26 11:49 Martin Pool <mbp@samba.org> 17788 17789 * src/daemon.c: Doc 17790 177912003-05-26 11:44 Martin Pool <mbp@samba.org> 17792 17793 * src/dsignal.c: dcc_child_terminate: No log message when the 17794 child is terminated, the parent can do it. 17795 177962003-05-26 11:40 Martin Pool <mbp@samba.org> 17797 17798 * src/dsignal.c: Termination signal handlers re-raise the signal 17799 and therefore should not _exit, because the signal is blocked 17800 until we try to return. 17801 178022003-05-26 08:38 Martin Pool <mbp@samba.org> 17803 17804 * src/: daemon.h, dparent.c, dsignal.c, prefork.c: Use a separate 17805 signal handler for daemon children, that cleans up temporary 17806 files but doesn't kill the group. 17807 178082003-05-25 21:10 Martin Pool <mbp@samba.org> 17809 17810 * src/: daemon.h, dparent.c, dsignal.c, prefork.c, serve.c, util.c: 17811 Rework some daemon signal handling designs to better suit a 17812 preforking server. 17813 17814 * Daemon now runs in a single process group in all modes. 17815 17816 * Use signal() rather than sigaction() for simplicity. 17817 17818 * Killing the daemon kills all running children. This is more 17819 consistent with other daemons like Apache. Any clients ought 17820 to 17821 fall back to local compilation, as they will have to do 17822 anyhow. 17823 Daemon is killed by reraising the signal, rather than exiting. 17824 17825 * Print a message when terminated by a signal that fits better 17826 with 17827 the strsignal() output. 17828 17829 * When terminated, explicitly run cleanups rather than relying 17830 on 17831 exit(). 17832 17833 * Accepted children are not run in a separate group, because 17834 this 17835 will not work for preforked jobs. 17836 178372003-05-25 17:39 Martin Pool <mbp@samba.org> 17838 17839 * src/prefork.c: Doc 17840 17841 * dcc_preforking_parent: Should wait until a child exits before 17842 bothering about starting a new one. 17843 178442003-05-25 17:32 Martin Pool <mbp@samba.org> 17845 17846 * src/prefork.c: Doc 17847 178482003-05-25 17:29 Martin Pool <mbp@samba.org> 17849 17850 * src/: daemon.h, dparent.c, prefork.c: dcc_reap_kids: Flags 17851 ought to allow distinguishing between needing to reap at least 17852 one child, and just checking for any of them. We don't want to 17853 wait until all the children exited. 17854 17855 This fixes the problem of the preforked parent waiting until 17856 all the 17857 children have exited before starting any more. 17858 178592003-05-25 16:34 Martin Pool <mbp@samba.org> 17860 17861 * linuxdoc/distcc.sgml: Note that DISTCC_LOG doesn't change the 17862 server. 17863 17864 * Add section on how to shut down distccd. 17865 178662003-05-25 16:23 Martin Pool <mbp@samba.org> 17867 17868 * linuxdoc/distcc.sgml: Bump version to 2.5. 17869 17870 * Add descriptions of some new error codes. 17871 178722003-05-23 19:19 Martin Pool <mbp@samba.org> 17873 17874 * src/dparent.c: Doc 17875 178762003-05-23 19:15 Martin Pool <mbp@samba.org> 17877 17878 * src/daemon.c, NEWS: Make sure that the right syslog facility is 17879 opened. 17880 178812003-05-23 19:04 Martin Pool <mbp@samba.org> 17882 17883 * src/: .cvsignore, daemon.c, daemon.h, distcc.h, dparent.c, 17884 dsignal.c, prefork.c: Split prefork stuff into prefork.c. 17885 17886 * Split daemon stuff into daemon.h. 17887 178882003-05-23 19:03 Martin Pool <mbp@samba.org> 17889 17890 * Makefile.in: No more recursive Make. 17891 178922003-05-23 18:33 Martin Pool <mbp@samba.org> 17893 17894 * src/: distcc.h, dopt.c, dopt.h, dparent.c: New option 17895 --no-prefork 17896 17897 * Add simple implementation of preforking: just create max_jobs 17898 children and let them all accept connections. They time out 17899 after a few requests. 17900 179012003-05-23 15:50 Martin Pool <mbp@samba.org> 17902 17903 * NEWS, src/dopt.c, src/dopt.h, src/dparent.c: Add new --jobs, -j 17904 option to server to set limit on incoming jobs. 17905 179062003-05-23 15:48 Martin Pool <mbp@samba.org> 17907 17908 * configure.ac: Bump version to 2.5cvs 17909 179102003-05-23 15:48 Martin Pool <mbp@samba.org> 17911 17912 * README.libiberty: Remove libiberty stuff 17913 179142003-05-23 14:54 Martin Pool <mbp@samba.org> 17915 17916 * src/dparent.c: Remove quote. 17917 179182003-05-23 14:51 Martin Pool <mbp@samba.org> 17919 17920 * src/dparent.c: dcc_reap_kids: Add option to block until a child 17921 exits. 17922 17923 * dcc_forking_parent: Block waiting for a child to complete 17924 before accepting any new connections when we've exceeded the 17925 maximum number of connections. 17926 179272003-05-23 14:30 Martin Pool <mbp@samba.org> 17928 17929 * src/dparent.c: Rename /_loop/_parent/ 17930 179312003-05-23 14:29 Martin Pool <mbp@samba.org> 17932 17933 * src/dparent.c: max_kids: New variable to impose a limit on 17934 concurrent servers. 17935 179362003-05-23 14:21 Martin Pool <mbp@samba.org> 17937 17938 * src/dparent.c: Fix prototype 17939 179402003-05-23 14:20 Martin Pool <mbp@samba.org> 17941 17942 * src/dparent.c: Refactor daemon parent loop into separate 17943 versions for nofork and forking mode, so that we don't need 17944 checks for mode at more than one place. 17945 179462003-05-23 14:05 Martin Pool <mbp@samba.org> 17947 17948 * src/hosts.c: Doc 17949 179502003-05-23 14:04 Martin Pool <mbp@samba.org> 17951 17952 * src/hosts.c: Set default local task limit to twice the number 17953 of CPUs. 17954 179552003-05-23 13:38 Martin Pool <mbp@samba.org> 17956 17957 * TODO: Remove done items. 17958 179592003-05-23 13:02 Martin Pool <mbp@samba.org> 17960 17961 * NEWS, configure.ac: Prepare for 2.4.2 release 17962 179632003-05-23 12:58 Martin Pool <mbp@samba.org> 17964 17965 * src/serve.c: Doc. 17966 179672003-05-23 12:47 Martin Pool <mbp@samba.org> 17968 17969 * src/netutil.c, NEWS: Fix string allocation bug in 17970 dcc_sockaddr_to_ip that could cause a server crash. 17971 179722003-05-23 12:17 Martin Pool <mbp@samba.org> 17973 17974 * NEWS, src/distcc.h, src/hostfile.c, src/hosts.c: Better error 17975 messages if DISTCC_HOSTS or host files are empty. Patch from 17976 Wayne Davison. 17977 179782003-05-22 19:06 Martin Pool <mbp@samba.org> 17979 17980 * doc/results.txt: [no log message] 17981 179822003-05-22 19:05 Martin Pool <mbp@samba.org> 17983 17984 * TODO: More notes on feeding from a FIFO. 17985 179862003-05-22 17:39 Martin Pool <mbp@samba.org> 17987 17988 * src/sendfile.c: Doc. 17989 179902003-05-22 16:40 Martin Pool <mbp@samba.org> 17991 17992 * Makefile.in: libiberty is no longer used by distcc. 17993 179942003-05-22 16:24 Martin Pool <mbp@samba.org> 17995 17996 * src/bulk.c, NEWS: Open output files in the same way that GNU as 17997 does, by only trying to remove them if they're >0 bytes, and 17998 ignoring failure to remove. 17999 18000 This fixes compilation directed to /dev/null, which is used by 18001 some 18002 configure scripts. 18003 18004 Reported by Hal Duston. 18005 180062003-05-22 16:12 Martin Pool <mbp@samba.org> 18007 18008 * cases/fooey.c: Another developer scratch test. 18009 180102003-05-22 16:09 Martin Pool <mbp@samba.org> 18011 18012 * test/testdistcc.py: Fix /dev/null test. 18013 180142003-05-22 15:51 Martin Pool <mbp@samba.org> 18015 18016 * test/testdistcc.py: Add test case for "-o /dev/null", reported 18017 by Hal Duston. Currently fails. 18018 180192003-05-22 15:48 Martin Pool <mbp@samba.org> 18020 18021 * configure.ac: Update to 2.5cvs 18022 180232003-05-22 15:24 Martin Pool <mbp@samba.org> 18024 18025 * configure.ac: Update to 2.4.1 18026 180272003-05-22 15:21 Martin Pool <mbp@samba.org> 18028 18029 * NEWS: Patch from Frerich Raabe: 18030 18031 * Add strndup on platforms that don't have it. 18032 180332003-05-22 11:25 Martin Pool <mbp@samba.org> 18034 18035 * src/hosts.c, NEWS: Patch from Frerich Raabe: 18036 18037 * Add strndup on platforms that don't have it. 18038 180392003-05-22 11:13 Martin Pool <mbp@samba.org> 18040 18041 * configure.ac: Bump version to 2.4.1cvs 18042 18043 * Check for function and declaration of strndup. 18044 180452003-05-22 10:03 Martin Pool <mbp@samba.org> 18046 18047 * man/: distcc.1, distccd.1: Add email addresses. 18048 180492003-05-21 16:57 Martin Pool <mbp@samba.org> 18050 18051 * TODO: Note on waking up bored clients. 18052 180532003-05-21 16:47 Martin Pool <mbp@samba.org> 18054 18055 * configure.ac, NEWS: Get ready for 2.4 release 18056 180572003-05-21 16:45 Martin Pool <mbp@samba.org> 18058 18059 * test/testdistcc.py: NoHosts_Case needs to reset 18060 DISTCC_FALLBACK=1 to test the desired behaviour. 18061 180622003-05-21 16:41 Martin Pool <mbp@samba.org> 18063 18064 * src/: clirpc.c, distcc.c, exec.c, exec.h, serve.c: 18065 dcc_critique_status: Add butt-ugly verbose parameter, so that 18066 diagnostics on command completion are only given high status in 18067 cases where the user is likely to want to see them. 18068 180692003-05-21 16:39 Martin Pool <mbp@samba.org> 18070 18071 * doc/results.txt: Notes on backoff. 18072 180732003-05-21 16:30 Martin Pool <mbp@samba.org> 18074 18075 * src/timefile.c: dcc_remove_timefile: Better messages. 18076 180772003-05-21 16:26 Martin Pool <mbp@samba.org> 18078 18079 * src/h_hosts.c: Renamed to dcc_get_hostlist 18080 180812003-05-21 16:25 Martin Pool <mbp@samba.org> 18082 18083 * NEWS: [no log message] 18084 180852003-05-21 16:24 Martin Pool <mbp@samba.org> 18086 18087 * src/clinet.c: Doc. 18088 180892003-05-21 16:16 Martin Pool <mbp@samba.org> 18090 18091 * src/distcc.c: dcc_build_somewhere: Allow for the fallback code 18092 to be invoked because of failure to choose a host, e.g. because 18093 they're all down or none were defined. 18094 180952003-05-21 16:10 Martin Pool <mbp@samba.org> 18096 18097 * src/where.c: dcc_pick_host_from_list: Return EXIT_NO_HOSTS on 18098 failure, not 0. This makes sure that all failures are caught 18099 in common code and that DISTCC_FALLBACK is always applied. 18100 181012003-05-21 16:09 Martin Pool <mbp@samba.org> 18102 18103 * src/exitcode.h: New code EXIT_NO_HOSTS 18104 181052003-05-21 16:07 Martin Pool <mbp@samba.org> 18106 18107 * src/: where.h, where.c, distcc.c: dcc_pick_host_from_env: 18108 rename to dcc_pick_host_from_list, since hosts can now come 18109 from files too. 18110 181112003-05-21 16:04 Martin Pool <mbp@samba.org> 18112 18113 * src/where.c: If removing disliked hosts leaves us with nothing, 18114 then use localhost instead. 18115 181162003-05-21 15:55 Martin Pool <mbp@samba.org> 18117 18118 * src/backoff.c: Doc 18119 181202003-05-21 15:55 Martin Pool <mbp@samba.org> 18121 18122 * doc/results.txt: [no log message] 18123 181242003-05-21 15:54 Martin Pool <mbp@samba.org> 18125 18126 * src/: backoff.c, backoff.h, hosts.c, where.c: Backoff from 18127 disliked hosts for 60 seconds. 18128 181292003-05-21 15:53 Martin Pool <mbp@samba.org> 18130 18131 * NEWS: Note sleep changes and backoff. 18132 181332003-05-21 15:38 Martin Pool <mbp@samba.org> 18134 18135 * src/: hosts.h, hosts.c: dcc_free_hostdef: New function. 18136 181372003-05-21 15:25 Martin Pool <mbp@samba.org> 18138 18139 * src/: hosts.h, hosts.c, where.c: Rename dcc_preferred_hosts to 18140 dcc_get_hostlist. 18141 181422003-05-21 15:23 Martin Pool <mbp@samba.org> 18143 18144 * src/where.c: Sleep for just 2s if a host is not free. 18145 181462003-05-21 14:09 Martin Pool <mbp@samba.org> 18147 18148 * src/where.c, NEWS: dcc_lock_pause: Replace simple 0.1s sleep 18149 with a truncated exponential backoff starting at 1s and going 18150 up to 8s. 0.1s is very short compared to the period a compile 18151 typically takes to complete, and if we hit this code at all 18152 then we're probably overloaded. 18153 181542003-05-21 14:01 Martin Pool <mbp@samba.org> 18155 18156 * src/lock.c: Doc. 18157 181582003-05-21 14:00 Martin Pool <mbp@samba.org> 18159 18160 * src/timefile.c: dcc_mark_timefile: Fix error check 18161 181622003-05-21 13:57 Martin Pool <mbp@samba.org> 18163 18164 * src/: backoff.c, distcc.c: backoff.c, backoff.h: New files. 18165 181662003-05-21 13:56 Martin Pool <mbp@samba.org> 18167 18168 * src/distcc.c: dcc_build_somewhere: Remember when a server 18169 failed or not. 18170 181712003-05-21 13:55 Martin Pool <mbp@samba.org> 18172 18173 * src/: backoff.h, backoff.c: dcc_enjoyed_host, 18174 dcc_disliked_host: New function that remember when a server 18175 failed. 18176 181772003-05-21 13:51 Martin Pool <mbp@samba.org> 18178 18179 * Makefile.in: backoff.c, backoff.h: New files. 18180 181812003-05-21 13:44 Martin Pool <mbp@samba.org> 18182 18183 * src/timefile.c: dcc_remove_timefile, dcc_check_timefile: Cope 18184 with timestamp files that don't exist. 18185 181862003-05-21 13:35 Martin Pool <mbp@samba.org> 18187 18188 * src/timefile.c: dcc_mark_timefile, dcc_remove_timefile: add 18189 trace messages. 18190 181912003-05-21 13:34 Martin Pool <mbp@samba.org> 18192 18193 * src/: timefile.c, timefile.h: dcc_remove_timefile, 18194 dcc_check_timefile: New functions. 18195 181962003-05-21 13:30 Martin Pool <mbp@samba.org> 18197 18198 * src/timefile.h, Makefile.in, src/lock.h: timefile.h: New header 18199 for timefile.c 18200 182012003-05-21 13:22 Martin Pool <mbp@samba.org> 18202 18203 * doc/release-names.txt: [no log message] 18204 182052003-05-21 13:21 Martin Pool <mbp@samba.org> 18206 18207 * Makefile.in, src/lock.c, src/lock.h, src/timefile.c: 18208 timefile.c: New file. 18209 18210 * Export some functions from lock.c needed to do timestamps. 18211 18212 * dcc_mark_timefile: Very simple implementation of time markers. 18213 182142003-05-21 13:19 Martin Pool <mbp@samba.org> 18215 18216 * src/climasq.c: Doc 18217 182182003-05-21 13:14 Martin Pool <mbp@samba.org> 18219 18220 * test/testdistcc.py: Doc. 18221 182222003-05-21 11:49 Martin Pool <mbp@samba.org> 18223 18224 * doc/release-names.txt: [no log message] 18225 182262003-05-20 22:35 Martin Pool <mbp@samba.org> 18227 18228 * doc/release-names.txt: [no log message] 18229 182302003-05-20 12:00 Martin Pool <mbp@samba.org> 18231 18232 * survey.txt: Add request to send misconfigurations to the list 18233 rather than to the survey. 18234 182352003-05-19 18:21 Martin Pool <mbp@samba.org> 18236 18237 * TODO: Describe use of SSH. 18238 18239 * Notes about localhost scheduling. 18240 182412003-05-19 18:17 Martin Pool <mbp@samba.org> 18242 18243 * linuxdoc/distcc.sgml: Bump version. 18244 182452003-05-19 18:16 Martin Pool <mbp@samba.org> 18246 18247 * linuxdoc/distcc.sgml, NEWS: Describe use of SSH. 18248 182492003-05-19 18:02 Martin Pool <mbp@samba.org> 18250 18251 * doc/results.txt: Results from SSH. 18252 182532003-05-19 17:50 Martin Pool <mbp@samba.org> 18254 18255 * src/lock.c: dcc_lock_host: Use hostdef_string, not hostname. 18256 182572003-05-19 17:47 Martin Pool <mbp@samba.org> 18258 18259 * TODO, src/hosts.c: Move notes about multi-A-records to TODO, 18260 since it probably won't happen. 18261 182622003-05-19 17:43 Martin Pool <mbp@samba.org> 18263 18264 * NEWS: dcc_critique_status now takes a hostdef, not a hostname, 18265 so that it can give better error messages. Update all callers. 18266 182672003-05-19 17:41 Martin Pool <mbp@samba.org> 18268 18269 * src/exec.c: dcc_critique_status: Don't print function name in 18270 errors. 18271 182722003-05-19 17:39 Martin Pool <mbp@samba.org> 18273 18274 * src/: clirpc.c, distcc.c, exec.c, exec.h, hosts.c, serve.c: 18275 dcc_critique_status now takes a hostdef, not a hostname, so that 18276 it can give better error messages. Update all callers. 18277 182782003-05-19 17:29 Martin Pool <mbp@samba.org> 18279 18280 * src/: distcc.c, exec.c, exec.h, lock.c: Move towards passing 18281 around hostdefs, rather than hostnames, because they provide 18282 better explanations now that we have multiple protocols and 18283 different ports. 18284 18285 At the moment done just for dcc_note_execution. 18286 182872003-05-19 17:20 Martin Pool <mbp@samba.org> 18288 18289 * src/hosts.h: Add verbatim name to hostdef struct. 18290 182912003-05-19 17:18 Martin Pool <mbp@samba.org> 18292 18293 * NEWS: If remote compilation fails, give an error rather than 18294 just a notice. People might want to know. 18295 182962003-05-19 17:16 Martin Pool <mbp@samba.org> 18297 18298 * cases/bad.c: Test case for errors. 18299 183002003-05-19 17:15 Martin Pool <mbp@samba.org> 18301 18302 * src/exec.c: If remote compilation fails, give an error rather 18303 than just a notice. People might want to know. 18304 183052003-05-19 17:10 Martin Pool <mbp@samba.org> 18306 18307 * src/arg.c: Doc. 18308 183092003-05-19 16:58 Martin Pool <mbp@samba.org> 18310 18311 * src/: filename.c: Doc. 18312 183132003-05-19 16:43 Martin Pool <mbp@samba.org> 18314 18315 * NEWS, src/clinet.c, src/netutil.c, src/srvnet.c: Don't use the 18316 RFC2553 getaddrinfo/getnameinfo API by default, because it 18317 seems to be slower on OS X and possibly problematic on other 18318 systems. It can be enabled with --enable-rfc2553 if you want 18319 to use IPv6, multi-homed servers, or want to test the new API. 18320 183212003-05-19 16:08 Martin Pool <mbp@samba.org> 18322 18323 * doc/results.txt: Notes on getaddrinfo vs gethostinfo. 18324 183252003-05-19 16:08 Martin Pool <mbp@samba.org> 18326 18327 * configure.ac: Add --enable-rfc2553 configuration option. 18328 183292003-05-19 16:08 Martin Pool <mbp@samba.org> 18330 18331 * TODO: Notes on name handling and statistics. 18332 183332003-05-19 16:07 Martin Pool <mbp@samba.org> 18334 18335 * NEWS: Patch from Paul Green to start supporting VOS: 18336 18337 * Use autoconf EXEEXT in Makefile. Remove sbin_programs. 18338 18339 * Add VOS implementation of dcc_ncpus. 18340 18341 * Once socklen_t, in_addr_t and in_port_t have been typedef'd, 18342 set the feature macros for them. 18343 18344 * src/util.c needs netdb.h 18345 183462003-05-19 13:08 Martin Pool <mbp@samba.org> 18347 18348 * src/hosts.c, TODO: Merge comment from Alexandre about keeping 18349 the HOSTS syntax such that it can be handled from the shell. 18350 183512003-05-19 12:25 Martin Pool <mbp@samba.org> 18352 18353 * Makefile.in, src/ncpus.c, src/types.h, src/util.c: Patch from 18354 Paul Green to start supporting VOS: 18355 18356 * Use autoconf EXEEXT in Makefile. Remove sbin_programs. 18357 18358 * Add VOS implementation of dcc_ncpus. 18359 18360 * Once socklen_t, in_addr_t and in_port_t have been typedef'd, 18361 set the feature macros for them. 18362 18363 * src/util.c needs netdb.h 18364 183652003-05-16 17:52 Martin Pool <mbp@samba.org> 18366 18367 * src/where.c, NEWS: If an IO error occurs while trying to get a 18368 lock, bail out rather than getting stuck. 18369 183702003-05-16 17:47 Martin Pool <mbp@samba.org> 18371 18372 * src/filename.c: Doc. 18373 183742003-05-16 17:43 Martin Pool <mbp@samba.org> 18375 18376 * src/cpp.c: dcc_cpp_maybe: Doc, add trace. 18377 183782003-05-16 17:40 Martin Pool <mbp@samba.org> 18379 18380 * src/cpp.c: dcc_cpp_maybe: Pull out all the 18381 preprocessor-extension logic and just call dcc_preproc_exten, 18382 which already knows all about C++ and ObjC and ObjC++. 18383 183842003-05-16 17:37 Martin Pool <mbp@samba.org> 18385 18386 * src/cpp.c: Logic cleanup on Dara's patch. 18387 18388 * For C++ source files, call the preprocessor output .ii. 18389 183902003-05-16 17:24 Martin Pool <mbp@samba.org> 18391 18392 * Makefile.in: Fix upload-dist. 18393 183942003-05-16 17:23 Martin Pool <mbp@samba.org> 18395 18396 * src/cpp.c, src/filename.c, NEWS: Merge cleaned-up patch from 18397 Dara Hazeghi to recognize ObjC extensions. Still not clear. 18398 183992003-05-16 17:18 Martin Pool <mbp@samba.org> 18400 18401 * doc/results.txt: Update from experiments today on kernel. 18402 184032003-05-16 17:16 Martin Pool <mbp@samba.org> 18404 18405 * NEWS: Bump to 2.4cvs. 18406 18407 * Merge patch to recognize Objective C files, by Dara Hazeghi. 18408 184092003-05-16 17:14 Martin Pool <mbp@samba.org> 18410 18411 * configure.ac: Bump to 2.4cvs. 18412 184132003-05-16 17:10 Martin Pool <mbp@samba.org> 18414 18415 * cases/hello-objc.m: Add compile-command. 18416 184172003-05-16 17:09 Martin Pool <mbp@samba.org> 18418 18419 * cases/hello-objc.m: Example case for Objective C, from Dara 18420 Hazeghi. 18421 184222003-05-16 15:15 Martin Pool <mbp@samba.org> 18423 18424 * src/distcc.c: Fix typo in usage message. 18425 184262003-05-16 15:07 Martin Pool <mbp@samba.org> 18427 18428 * doc/release-names.txt: [no log message] 18429 184302003-05-16 14:46 Martin Pool <mbp@samba.org> 18431 18432 * linuxdoc/distcc.sgml: Prepare for 2.3 release. 18433 184342003-05-16 14:09 Martin Pool <mbp@samba.org> 18435 18436 * NEWS: Prepare for 2.3 release. 18437 184382003-05-16 13:43 Martin Pool <mbp@samba.org> 18439 18440 * configure.ac: Prepare for 2.3 release. 18441 184422003-05-15 15:14 Martin Pool <mbp@samba.org> 18443 18444 * src/util.c: Update trace message. 18445 184462003-05-14 10:47 Martin Pool <mbp@samba.org> 18447 18448 * src/util.c: dcc_trim_path: More trace information. 18449 184502003-05-13 15:47 Martin Pool <mbp@samba.org> 18451 18452 * src/srvnet.c: HAVE_GETADDRINFO version of dcc_socket_listen: 18453 check that the port is in range, because getaddrinfo doesn't 18454 trap it. 18455 184562003-05-13 15:37 Martin Pool <mbp@samba.org> 18457 18458 * src/: daemon.c, distcc.c, util.c, util.h: Patch from Wayne 18459 Davison: 18460 18461 * When trimming our path, look for the name we were invoked under 18462 rather than "cc". 18463 184642003-05-13 15:26 Martin Pool <mbp@samba.org> 18465 18466 * NEWS: Doc updates. 18467 184682003-05-13 11:46 Martin Pool <mbp@samba.org> 18469 18470 * TODO: [no log message] 18471 184722003-05-11 12:31 Martin Pool <mbp@samba.org> 18473 18474 * src/daemon.c, NEWS: dcc_setup_startup_log: Send startup errors 18475 to stderr, unless that is a socket. Perhaps a better heuristic 18476 for working out when we can stand to have e.g. bad option 18477 warnings go there. 18478 184792003-05-11 12:21 Martin Pool <mbp@samba.org> 18480 18481 * src/daemon.c: dcc_set_lifetime: Remove "set alarm for" message, 18482 which tends to leak into syslog when testing. 18483 184842003-05-11 12:18 Martin Pool <mbp@samba.org> 18485 18486 * NEWS: Update status of IPv6. 18487 184882003-05-11 12:17 Martin Pool <mbp@samba.org> 18489 18490 * src/srvnet.c: Coallesce log entries. 18491 18492 * Doc. 18493 184942003-05-11 12:04 Martin Pool <mbp@samba.org> 18495 18496 * TODO: [no log message] 18497 184982003-05-09 14:05 Martin Pool <mbp@samba.org> 18499 18500 * linuxdoc/distcc.sgml: Remove chapter on "internals", because 18501 this is covered in the protocol documentation file, etc. 18502 185032003-05-08 18:02 Martin Pool <mbp@samba.org> 18504 18505 * linuxdoc/distcc.sgml: Document DISTCC_SSH, host list files, and 18506 execution over SSH. 18507 185082003-05-08 17:17 Martin Pool <mbp@samba.org> 18509 18510 * NEWS: Updates to manual. 18511 185122003-05-08 17:13 Martin Pool <mbp@samba.org> 18513 18514 * linuxdoc/distcc.sgml: Better description of how --help and 18515 --version work with the client. 18516 18517 * Document DISTCC_FALLBACK. 18518 185192003-05-08 17:05 Martin Pool <mbp@samba.org> 18520 18521 * linuxdoc/distcc.sgml: Rename "Invoking" section to "Setting 18522 up", because this is what it's really about now. 18523 18524 * Add SGML markup. 18525 18526 * Rephrase some sections about masquerading. 18527 185282003-05-08 17:01 Martin Pool <mbp@samba.org> 18529 18530 * linuxdoc/distcc.sgml: Update section about security to describe 18531 ssh and new options. 18532 185332003-05-08 16:52 Martin Pool <mbp@samba.org> 18534 18535 * src/srvnet.c: Restore access control checking for IPv4 18536 connections. 18537 185382003-05-08 16:51 Martin Pool <mbp@samba.org> 18539 18540 * test/testdistcc.py: AccessDenied_Case depends on falling back 18541 to local compilation. 18542 185432003-05-08 16:44 Martin Pool <mbp@samba.org> 18544 18545 * src/h_hosts.c: dcc_parse_hosts_env renamed to 18546 dcc_preferred_hosts. 18547 185482003-05-08 16:43 Martin Pool <mbp@samba.org> 18549 18550 * src/clinet.c: non-GETADDRINFO version of dcc_connect_by_name: 18551 Pass the right socklen. 18552 185532003-05-08 16:42 Martin Pool <mbp@samba.org> 18554 18555 * test/testdistcc.py: Set DISTCC_FALLBACK=0 for most compilations 18556 so that we can be more sure that distribution failures will be 18557 visible. 18558 185592003-05-08 15:47 Martin Pool <mbp@samba.org> 18560 18561 * src/clinet.c: Remove unused vars. 18562 185632003-05-07 17:27 Martin Pool <mbp@samba.org> 18564 18565 * src/srvnet.c: dcc_socket_listen, dcc_prefer_ipv4: Try to listen 18566 on an IPv4 address if there is an acceptable one, because 18567 that's the least disruptive change from the previous code and 18568 it avoids ugly "::127.0.0.1" strings. 18569 185702003-05-07 17:02 Martin Pool <mbp@samba.org> 18571 18572 * src/srvnet.c: dcc_check_client: Update to be AF-indepedent. 18573 Does not do checks yet. 18574 185752003-05-07 16:58 Martin Pool <mbp@samba.org> 18576 18577 * src/: netutil.c, netutil.h: dcc_sockaddr_to_hostname renamed to 18578 dcc_sockaddr_to_ip, which is more accurate. Add a 18579 non-getnameinfo() implementation. 18580 185812003-05-07 16:48 Martin Pool <mbp@samba.org> 18582 18583 * Makefile.in, src/netutil.c, src/netutil.h: netutil.c, 18584 netutil.h: New files. 18585 18586 * dcc_sockaddr_to_hostname: New function that hides inet_ntoa vs 18587 getnameinfo. 18588 185892003-05-07 16:38 Martin Pool <mbp@samba.org> 18590 18591 * configure.ac: Check for sockaddr_storage.ss_family, since 18592 ss_len doesn't seem to exist in glibc. If we have it, define 18593 HAVE_SOCKADDR_STORAGE. 18594 185952003-05-07 16:24 Martin Pool <mbp@samba.org> 18596 18597 * configure.ac: Check for inet_ntop and inet_ntoa 18598 185992003-05-07 16:18 Martin Pool <mbp@samba.org> 18600 18601 * src/srvnet.c, NEWS: dcc_socket_listen: Dual implementations for 18602 getaddrinfo and old API. 18603 18604 The new implementation specifies AI_PASSIVE if no --listen 18605 address 18606 is given, so it should be able to accept connections on all 18607 ports or 18608 protocols. 18609 186102003-05-07 16:06 Martin Pool <mbp@samba.org> 18611 18612 * src/srvnet.c: dcc_listen_by_addr, dcc_socket_listen: Factor out 18613 the code that creates and listens on a socket from the code 18614 that works out the address to use, so that we can use 18615 getaddrinfo when available. 18616 18617 Also, remove assumptions about socket addresses always being 18618 IPv4. 18619 186202003-05-07 16:04 Martin Pool <mbp@samba.org> 18621 18622 * src/clinet.c: Doc. 18623 186242003-05-07 15:57 Martin Pool <mbp@samba.org> 18625 18626 * doc/dietlibc-distcc.trace: strace using dietlibc, just for 18627 interest. 18628 186292003-05-07 15:56 Martin Pool <mbp@samba.org> 18630 18631 * NEWS, src/clinet.c, src/clinet.h, src/distcc.c: Use 18632 getaddrinfo() if it's available for opening connections, to 18633 better handle multihomed servers and start supporting IPv6. 18634 186352003-05-07 15:26 Martin Pool <mbp@samba.org> 18636 18637 * src/clinet.c: dcc_open_socket_out: Add a second definition of 18638 this function to be used on machines with getaddrinfo. 18639 186402003-05-07 15:25 Martin Pool <mbp@samba.org> 18641 18642 * configure.ac: Check for getaddrinfo, getnameinfo, and struct 18643 sockaddr_storage. 18644 186452003-05-07 15:20 Martin Pool <mbp@samba.org> 18646 18647 * src/clinet.c: dcc_open_socket_out: Check client name before 18648 creating a socket. (Not a big deal for now, but will be needed 18649 for AF-independence.) 18650 186512003-05-07 12:23 Martin Pool <mbp@samba.org> 18652 18653 * NEWS: hostlist.c fix 18654 18655 * snprintf.c fixes. 18656 186572003-05-07 12:21 Martin Pool <mbp@samba.org> 18658 18659 * configure.ac: Add check from Samba for va_copy, which is needed 18660 for building our snprintf. 18661 186622003-05-07 12:21 Martin Pool <mbp@samba.org> 18663 18664 * cases/.cvsignore: Ignore built programs. 18665 186662003-05-07 12:20 Martin Pool <mbp@samba.org> 18667 18668 * TODO: [no log message] 18669 186702003-05-07 12:07 Martin Pool <mbp@samba.org> 18671 18672 * src/snprintf.c: Update ifdefs to make sure that this file 18673 compiles to an (almost) empty object file on systems that already 18674 have all the functions we need. 18675 186762003-05-07 11:53 Martin Pool <mbp@samba.org> 18677 18678 * src/hosts.c: dcc_parse_hosts_env: Remove obsolete function. 18679 186802003-05-07 11:52 Martin Pool <mbp@samba.org> 18681 18682 * src/hosts.c: Trace messages when reading in host lists. 18683 186842003-05-07 11:50 Martin Pool <mbp@samba.org> 18685 18686 * src/hostfile.c: Remove unnecessary recursion protection. 18687 18688 * Trace message when reading a file. 18689 186902003-05-07 11:49 Martin Pool <mbp@samba.org> 18691 18692 * src/loadfile.c: Fix silly pointer error when loading a host 18693 file. 18694 186952003-05-07 11:15 Martin Pool <mbp@samba.org> 18696 18697 * src/snprintf.h: Fix all HAVE_DECL_ uses: these are defined to 18698 zero rather than left undefined by autoconf if the decl is 18699 missing. 18700 187012003-05-07 11:14 Martin Pool <mbp@samba.org> 18702 18703 * src/snprintf.c: Merge from samba HEAD: 18704 18705 * Fix floating point handling. 18706 18707 * Make snprintf test work better. 18708 18709 * If the system's vsnprintf is not C99 compliant, then we need to 18710 override both vsnprintf and snprintf to make sure the correct 18711 code is always called. 18712 18713 Also: 18714 18715 * Make sure LDOUBLE, VA_COPY, etc are defined even if the system 18716 already has some snprintf routines. 18717 18718 * Always include snprintf.h, so that we get declarations for the 18719 functions in this file. 18720 187212003-05-07 10:27 Martin Pool <mbp@samba.org> 18722 18723 * README.packaging: Note about using ./configure options to set 18724 directories, and DESTDIR. 18725 187262003-05-07 10:23 Martin Pool <mbp@samba.org> 18727 18728 * linuxdoc/distcc.sgml: "for 2.2" 18729 187302003-05-07 10:23 Martin Pool <mbp@samba.org> 18731 18732 * NEWS, linuxdoc/distcc.sgml: Document --listen, plus other 18733 cleanups. Patch from Frerich Raabe. 18734 187352003-05-07 10:13 Martin Pool <mbp@samba.org> 18736 18737 * cases/lzotest.c: Hacky test to examine efficiency of minilzo. 18738 187392003-05-06 18:21 Martin Pool <mbp@samba.org> 18740 18741 * TODO: Merge some stuff. 18742 187432003-05-06 18:18 Martin Pool <mbp@samba.org> 18744 18745 * doc/scheduling.txt: Merge into TODO 18746 187472003-05-06 18:16 Martin Pool <mbp@samba.org> 18748 18749 * doc/new-scheduler.txt: Merged into doc/results.txt 18750 187512003-05-06 18:16 Martin Pool <mbp@samba.org> 18752 18753 * doc/results.txt: Move "new-scheduler.txt" results (from 18754 February) into the results.txt file. 18755 187562003-05-06 17:36 Martin Pool <mbp@samba.org> 18757 18758 * doc/protocol-3.txt: Only a draft 18759 187602003-05-06 17:34 Martin Pool <mbp@samba.org> 18761 18762 * doc/protocol-3.txt: Rephrase. 18763 18764 * Don't compress 0-length data. 18765 18766 * Insert COMP packets. 18767 18768 * Questions about how to describe temporaries. 18769 187702003-05-06 17:11 Martin Pool <mbp@samba.org> 18771 18772 * doc/protocol-3.txt: Describe input and output files. 18773 18774 * Start updating request and response descriptions. 18775 187762003-05-06 16:54 Martin Pool <mbp@samba.org> 18777 18778 * doc/protocol-3.txt: Describe handshaking on reused connections. 18779 18780 * Describe compression. 18781 187822003-05-06 16:02 Martin Pool <mbp@samba.org> 18783 18784 * doc/protocol-3.txt: More updates towards version 3 protocol. 18785 187862003-05-06 14:55 Martin Pool <mbp@samba.org> 18787 18788 * TODO: [no log message] 18789 187902003-05-06 13:12 Martin Pool <mbp@samba.org> 18791 18792 * src/dparent.c, src/ncpus.c, NEWS: Two Mac OS X fixes from 18793 Benjamin Reed: Use the BSD method to discover the number of 18794 CPUs, and include types.h where it is needed. 18795 187962003-05-05 22:42 Martin Pool <mbp@samba.org> 18797 18798 * src/trace.h: Doc 18799 188002003-05-05 22:31 Martin Pool <mbp@samba.org> 18801 18802 * src/HACKING: Just about everything in this file has been 18803 implemented! The ideas which are not done yet are now in TODO. 18804 18805 We're almost a year old now. 18806 188072003-05-05 22:29 Martin Pool <mbp@samba.org> 18808 18809 * src/rpc.c: Fix printf formatting error. 18810 188112003-05-05 18:46 Martin Pool <mbp@samba.org> 18812 18813 * src/trace.h: Doc 18814 188152003-05-05 18:40 Martin Pool <mbp@samba.org> 18816 18817 * src/distcc.h: Doc 18818 188192003-05-05 18:07 Martin Pool <mbp@samba.org> 18820 18821 * TODO: Remove page marks 18822 188232003-05-05 18:01 Martin Pool <mbp@samba.org> 18824 18825 * TODO: Notes on feeding from fifo. 18826 188272003-05-05 17:56 Martin Pool <mbp@samba.org> 18828 18829 * TODO: Notes on streaming output 18830 188312003-05-05 17:49 Martin Pool <mbp@samba.org> 18832 18833 * doc/protocol-3.txt: Start writing notes about a version 3 18834 protocol. 18835 188362003-05-05 17:44 Martin Pool <mbp@samba.org> 18837 18838 * NEWS: Better description of network error detection. 18839 188402003-05-05 17:36 Martin Pool <mbp@samba.org> 18841 18842 * src/rpc.c: dcc_explain_mismatch: After a protocol problem, show 18843 up to 200 bytes of printable context. 18844 188452003-05-05 17:26 Martin Pool <mbp@samba.org> 18846 18847 * NEWS, src/rpc.c: dcc_explain_mismatch: New function, to give 18848 more information in the case of a protocol mismatch. Most 18849 importantly, if an unexpected response is seen then we give a 18850 bit more text from the network in the hope that it will help 18851 diagnose the problem. 18852 188532003-05-05 16:58 Martin Pool <mbp@samba.org> 18854 18855 * src/clirpc.c: Doc. 18856 188572003-05-05 16:54 Martin Pool <mbp@samba.org> 18858 18859 * src/: clirpc.c, rpc.c: dcc_r_result_header, dcc_r_cc_status: 18860 These are client-specific, so move them to clirpc.c. 18861 188622003-05-05 16:53 Martin Pool <mbp@samba.org> 18863 18864 * configure.ac: Bump version. 18865 188662003-05-05 16:28 Martin Pool <mbp@samba.org> 18867 18868 * NEWS, configure.ac: Prepare for 2.2 release. 18869 188702003-05-05 16:27 Martin Pool <mbp@samba.org> 18871 18872 * src/hosts.h: Remove CVS tag. 18873 188742003-05-05 16:23 Martin Pool <mbp@samba.org> 18875 18876 * TODO: [no log message] 18877 188782003-05-05 16:21 Martin Pool <mbp@samba.org> 18879 18880 * TODO: Add a basic --listen option, based on a patch by Neil 18881 Mansilla. 18882 188832003-05-05 16:17 Martin Pool <mbp@samba.org> 18884 18885 * src/dopt.c, src/dopt.h, src/dparent.c, src/srvnet.c, 18886 src/srvnet.h, NEWS: Add a basic --listen option, based on a 18887 patch by Neil Mansilla. 18888 188892003-05-05 16:05 Martin Pool <mbp@samba.org> 18890 18891 * patches/andresen-gcc-wrapper-r2.tbz2: Remove Gentoo-only patch. 18892 188932003-05-05 15:54 Martin Pool <mbp@samba.org> 18894 18895 * TODO: Update TODO list. 18896 188972003-05-05 15:30 Martin Pool <mbp@samba.org> 18898 18899 * src/distcc.c: (dcc_show_usage): Describe where the host list 18900 comes from -- this is important because it is a configurable 18901 option. Add documentation for SSH syntax. 18902 189032003-05-05 15:16 Martin Pool <mbp@samba.org> 18904 18905 * test/testdistcc.py, NEWS: Test host file support. 18906 189072003-05-05 15:15 Martin Pool <mbp@samba.org> 18908 18909 * NEWS: Note about support for host files. 18910 189112003-05-05 15:14 Martin Pool <mbp@samba.org> 18912 18913 * Makefile.in: h_hosts: Now needs hostfile.o and io.o 18914 189152003-05-05 15:08 Martin Pool <mbp@samba.org> 18916 18917 * src/: hosts.c, hosts.h, where.c: If DISTCC_HOSTS is not set, 18918 look in ~/.distcc/hosts, or otherwise /etc/distcc/hosts. 18919 189202003-05-05 15:03 Martin Pool <mbp@samba.org> 18921 18922 * src/hostfile.c: Doc 18923 189242003-05-05 15:01 Martin Pool <mbp@samba.org> 18925 18926 * cases/empty.s: Empty assembler file for testing. 18927 189282003-05-05 15:01 Martin Pool <mbp@samba.org> 18929 18930 * Makefile.in: SYSCONFDIR must be quoted for C. 18931 189322003-05-05 14:37 Martin Pool <mbp@samba.org> 18933 18934 * src/: hosts.c, hosts.h, util.c, util.h: (dcc_dup_part): Move to 18935 util.c. 18936 189372003-05-05 14:35 Martin Pool <mbp@samba.org> 18938 18939 * TODO: Build .debs or .rpms? 18940 189412003-05-05 14:24 Martin Pool <mbp@samba.org> 18942 18943 * TODO: Build .debs or .rpms? 18944 189452003-05-05 14:19 Martin Pool <mbp@samba.org> 18946 18947 * src/hostfile.c: (dcc_parse_hosts_file): New function. 18948 189492003-05-05 12:59 Martin Pool <mbp@samba.org> 18950 18951 * Makefile.in, src/hostfile.c: New file: src/hostfile.c 18952 18953 * where.o and hosts.o don't need to be linked into the server, 18954 only the client. 18955 189562003-05-05 12:56 Martin Pool <mbp@samba.org> 18957 18958 * Makefile.in: (SRC): Sort. 18959 189602003-05-05 12:53 Martin Pool <mbp@samba.org> 18961 18962 * src/loadfile.c: dcc_load_file: Move everything back into a 18963 single function. Actually allocate a buffer and read into it. 18964 189652003-05-04 23:17 Martin Pool <mbp@samba.org> 18966 18967 * src/loadfile.c: dcc_load_file: Split into a second function to 18968 ease error checking. 18969 18970 * dcc_load_fd: New function. Allocate a memory buffer for the 18971 file after discovering its size. 18972 189732003-05-04 23:13 Martin Pool <mbp@samba.org> 18974 18975 * src/loadfile.c: dcc_load_file: Check size of file and complain 18976 about those that are too large. 18977 189782003-05-04 23:06 Martin Pool <mbp@samba.org> 18979 18980 * Makefile.in, src/exitcode.h, src/io.h, src/loadfile.c: Start 18981 adding code to load a whole file in to memory, so that we can 18982 read hosts from a file. 18983 189842003-05-04 23:00 Martin Pool <mbp@samba.org> 18985 18986 * patches/hosts-from-file-raabe.diff: Old patch from Frerich to 18987 read hosts from a file. 18988 189892003-05-04 22:48 Martin Pool <mbp@samba.org> 18990 18991 * src/: arg.c, bulk.c, clinet.c, dopt.c, exec.c, filename.c, 18992 h_argvtostr.c, h_exten.c, h_hosts.c, h_issource.c, h_scanargs.c, 18993 h_strip.c, help.c, hosts.c, lock.c, rpc.c, sendfile.c, serve.c, 18994 srvnet.c, tempfile.c, trace.c, util.c, where.c, zip.c: Remove 18995 all dependencies on assert.h. Most of them were not used, and 18996 the rest are better written using our standard error handling 18997 library. 18998 189992003-05-04 22:43 Martin Pool <mbp@samba.org> 19000 19001 * configure.ac: More spacing in output. 19002 190032003-05-04 22:42 Martin Pool <mbp@samba.org> 19004 19005 * Makefile.in: Start adding support for a host list file: define 19006 SYSCONFDIR, and show it when displaying paths. 19007 190082003-05-04 22:31 Martin Pool <mbp@samba.org> 19009 19010 * configure.ac: Bump version to 2.2cvs 19011 190122003-05-04 22:29 Martin Pool <mbp@samba.org> 19013 19014 * TODO: Notes about compression and reading hosts from a file. 19015 190162003-05-04 21:38 Martin Pool <mbp@samba.org> 19017 19018 * doc/protocol-1.txt: Suggestions from Brad Hards: 19019 19020 * Correction about SOUT. 19021 19022 * Explain a bit more about waitstatus. 19023 190242003-05-04 17:24 Martin Pool <mbp@samba.org> 19025 19026 * NEWS, linuxdoc/distcc.sgml: Add documentation for --allow and 19027 --user, by Frerich Raabe. 19028 190292003-05-04 12:01 Martin Pool <mbp@samba.org> 19030 19031 * TODO: Update todo list. 19032 190332003-05-04 11:21 Martin Pool <mbp@samba.org> 19034 19035 * NEWS, news.el: Roll over NEWS for new release. 19036 19037 * Move news.el into mode variables at the bottom of the NEWS 19038 file. 19039 190402003-05-03 23:57 Martin Pool <mbp@samba.org> 19041 19042 * NEWS, configure.ac: Prepare for 2.1 release. 19043 190442003-05-03 17:56 Martin Pool <mbp@samba.org> 19045 19046 * doc/protocol-1.txt: Ask for questions. 19047 19048 * Describe all the packets in the request and the response. 19049 190502003-05-03 13:39 Martin Pool <mbp@samba.org> 19051 19052 * TODO: Note about preprocessing remotely. 19053 190542003-05-03 12:05 Martin Pool <mbp@samba.org> 19055 19056 * TODO: Note about never running locally. 19057 190582003-04-30 12:17 Martin Pool <mbp@samba.org> 19059 19060 * TODO: Link to API for async name lookups. 19061 190622003-04-27 00:18 Martin Pool <mbp@samba.org> 19063 19064 * doc/protocol-1.txt: Add some documentation of the protocol in 19065 the current version. Pretty good but does not cover the 19066 complete sequence yet. 19067 190682003-04-19 23:08 Martin Pool <mbp@samba.org> 19069 19070 * NEWS: Test harnesses may need snprintf.o linked in as well. 19071 Reported by Joe Meslovich as broken on Solaris. 19072 190732003-04-19 21:55 Martin Pool <mbp@samba.org> 19074 19075 * Makefile.in: Test harnesses may need snprintf.o linked in as 19076 well. Reported by Joe Meslovich as broken on Solaris. 19077 190782003-04-17 12:26 Martin Pool <mbp@samba.org> 19079 19080 * doc/release-names.txt: [no log message] 19081 190822003-04-14 13:05 Martin Pool <mbp@samba.org> 19083 19084 * TODO: [no log message] 19085 190862003-04-14 13:02 Martin Pool <mbp@samba.org> 19087 19088 * TODO: [no log message] 19089 190902003-04-13 19:00 Martin Pool <mbp@samba.org> 19091 19092 * TODO: Notes from UML. 19093 190942003-04-13 17:35 Martin Pool <mbp@samba.org> 19095 19096 * TODO: Note about setting listen address. 19097 190982003-04-13 17:18 Martin Pool <mbp@samba.org> 19099 19100 * TODO: Notes about DISTCC_HOSTS syntax. 19101 191022003-04-10 16:42 Martin Pool <mbp@samba.org> 19103 19104 * src/help.c: Add quote. 19105 191062003-04-08 16:23 Martin Pool <mbp@samba.org> 19107 19108 * TODO: [no log message] 19109 191102003-04-08 13:58 Martin Pool <mbp@samba.org> 19111 19112 * patches/n_cpus.txt: n_cpus.txt Remove merged code 19113 191142003-04-04 17:39 Martin Pool <mbp@samba.org> 19115 19116 * patches/: distcc-path.patch, distccd-path.patch: 19117 distcc-path.patch distccd-path.patch Delete merged patches 19118 191192003-04-04 17:38 Martin Pool <mbp@samba.org> 19120 19121 * TODO: [no log message] 19122 191232003-04-04 17:32 Martin Pool <mbp@samba.org> 19124 19125 * TODO: [no log message] 19126 191272003-04-04 17:28 Martin Pool <mbp@samba.org> 19128 19129 * src/io.c: tcp_cork_sock: Don't complain about ENOTSUPP when 19130 uncorking. 19131 191322003-04-04 17:24 Martin Pool <mbp@samba.org> 19133 19134 * src/: rpc.c, io.h: dcc_read_int: Remove dead function. 19135 191362003-04-04 17:20 Martin Pool <mbp@samba.org> 19137 19138 * src/: io.c: Doc. 19139 191402003-04-04 17:19 Martin Pool <mbp@samba.org> 19141 19142 * src/io.c: dcc_pump_readwrite: Increase transfer buffer to 19143 256kB, and move it off the stack. 19144 191452003-04-04 17:16 Martin Pool <mbp@samba.org> 19146 19147 * src/io.c: dcc_pump_readwrite: Doc. 19148 191492003-04-04 17:12 Martin Pool <mbp@samba.org> 19150 19151 * src/io.c, NEWS: dcc_pump_readwrite: Should print an error on 19152 unexpected end of input, rather than treating it as success. 19153 Why did I do that? 19154 191552003-04-04 17:11 Martin Pool <mbp@samba.org> 19156 19157 * NEWS: Note about nonblocking support. 19158 191592003-04-04 16:59 Martin Pool <mbp@samba.org> 19160 19161 * src/io.c: dcc_pump_readwrite: Only select on file descriptors 19162 after we get EAGAIN. 19163 19164 * dcc_readx, dcc_writex: Clarify. 19165 191662003-04-04 15:54 Martin Pool <mbp@samba.org> 19167 19168 * linuxdoc/distcc.sgml: Patch from Wayne Davison to document 19169 DISTCCD_PATH. 19170 191712003-04-04 15:51 Martin Pool <mbp@samba.org> 19172 19173 * cases/hello.m: Example ObjC program from Dara Hazeghi 19174 191752003-04-04 12:19 Martin Pool <mbp@samba.org> 19176 19177 * TODO: [no log message] 19178 191792003-04-04 12:06 Martin Pool <mbp@samba.org> 19180 19181 * src/util.c: dcc_abspath: Memory overflow ought to be fatal. 19182 191832003-04-04 12:00 Martin Pool <mbp@samba.org> 19184 19185 * NEWS, src/climasq.c, src/daemon.c, src/distcc.c, src/util.c, 19186 src/util.h: Merged patch from Wayne Davison: 19187 19188 Try to prevent distcc from invoking itself recursively either on 19189 the server, or as cc -E on the client. 19190 19191 * dcc_trim_path: New code to remove from the PATH any directories 19192 that contain "cc" as a link to something that looks like ccache 19193 or distcc. 19194 19195 * climasq.c: Munge path as appropriate. 19196 19197 * daemon.c/main: Use DISTCCD_PATH if set, otherwise trim path. 19198 19199 * distcc.c/main: Trim path. 19200 192012003-04-04 11:45 Martin Pool <mbp@samba.org> 19202 19203 * src/daemon.c: Factor out code for checking whether to be inetd. 19204 192052003-04-04 10:41 Martin Pool <mbp@samba.org> 19206 19207 * README.packaging: Note about ssh and path to distccd 19208 19209 * Note about --allow 19210 19211 * Note about distcc user 19212 19213 * Prefer --daemon 19214 192152003-04-04 10:33 Martin Pool <mbp@samba.org> 19216 19217 * TODO: [no log message] 19218 192192003-04-04 10:32 Martin Pool <mbp@samba.org> 19220 19221 * NEWS: Change behaviour of distccd for log messages encountered 19222 during startup, before options are parsed. These are now 19223 written to stderr only if that is a tty, and otherwise to 19224 syslog. This is intended to prevent log messages from distccd 19225 getting mixed into the network protocol when it is run from 19226 inetd. 19227 192282003-04-04 10:21 Martin Pool <mbp@samba.org> 19229 19230 * test/testdistcc.py: NoDetachDaemon_Case: Specify --daemon to 19231 suppress diagnostic message. 19232 192332003-04-04 10:19 Martin Pool <mbp@samba.org> 19234 19235 * src/daemon.c: dcc_setup_startup_log: Split out code for sending 19236 startup messages to either stderr or syslog. 19237 19238 * distccd/main: refactor code for deciding whether to be inetd or 19239 standalone. 19240 19241 * dcc_setup_real_log: Rename function for setting final log 19242 destination. 19243 19244 * Doc. 19245 192462003-04-04 10:04 Martin Pool <mbp@samba.org> 19247 19248 * src/daemon.c: Change behaviour of distccd for log messages 19249 encountered during startup, before options are parsed. These 19250 are now written to stderr only if that is a tty, and otherwise 19251 to syslog. This is intended to prevent log messages from 19252 distccd getting mixed into the network protocol when it is run 19253 from inetd. 19254 192552003-04-04 10:01 Martin Pool <mbp@samba.org> 19256 19257 * src/: distcc.c, distcc.h, help.c: Show version in log at client 19258 startup. 19259 192602003-04-04 09:43 Martin Pool <mbp@samba.org> 19261 19262 * patches/distcc-path.patch: Patch from Wayne to clean path of 19263 masquerade links. 19264 192652003-04-03 16:21 Martin Pool <mbp@samba.org> 19266 19267 * NEWS: Note rusage format fix. 19268 192692003-04-03 14:39 Martin Pool <mbp@samba.org> 19270 19271 * TODO: [no log message] 19272 192732003-04-03 14:37 Martin Pool <mbp@samba.org> 19274 19275 * test/comfychair.py: Better log message. 19276 192772003-04-03 14:29 Martin Pool <mbp@samba.org> 19278 19279 * src/distcc.c: Factor out code to find basename from argv. 19280 192812003-04-03 10:23 Martin Pool <mbp@samba.org> 19282 19283 * src/: distcc.h, serve.c: Patch from Wayne Davison: 19284 19285 * Removed prototype for dcc_trace_argv() (since it's a define 19286 now). 19287 19288 * Use "else while(0)" instead of "else {}" so that using the 19289 dcc_trace_argv() define doesn't result in two C statements. 19290 19291 * Return the "ret" value in dcc_r_request_header() when it's 19292 non-0. 19293 192942003-04-02 17:26 Martin Pool <mbp@samba.org> 19295 19296 * src/util.c: dcc_exit: Remove silly printf bug that made all 19297 rusage messages inaccurate. 19298 192992003-04-02 17:16 Martin Pool <mbp@samba.org> 19300 19301 * patches/: distcc-hostopt.patch, distccd-path.patch, 19302 distccd-version.patch: Patches from Wayne 19303 193042003-04-02 17:12 Martin Pool <mbp@samba.org> 19305 19306 * TODO: More protocol wonderings. 19307 193082003-04-02 16:43 Martin Pool <mbp@samba.org> 19309 19310 * test/testdistcc.py: Update todos. 19311 193122003-04-02 16:37 Martin Pool <mbp@samba.org> 19313 19314 * src/: arg.c, distcc.h: dcc_trace_argv: Convert to a macro so 19315 that it shows the right function name in trace messages. 19316 193172003-04-02 16:33 Martin Pool <mbp@samba.org> 19318 19319 * src/: io.c: dcc_readx, dcc_writex: Only select() on the fd 19320 after we've got EAGAIN. It might not be necessary in many 19321 cases. 19322 193232003-04-02 16:30 Martin Pool <mbp@samba.org> 19324 19325 * src/sendfile.c: dcc_pump_sendfile: Check for select() failure. 19326 193272003-04-02 16:27 Martin Pool <mbp@samba.org> 19328 19329 * src/io.c: Doc 19330 193312003-04-02 15:25 Martin Pool <mbp@samba.org> 19332 19333 * src/: climasq.c, distcc.c, distcc.h: Make 19334 dcc_support_masquerade() return standard error codes. 19335 193362003-04-02 15:16 Martin Pool <mbp@samba.org> 19337 19338 * src/: util.c, arg.c: Remove incorrect EXIT_FAULURE 19339 193402003-04-02 15:10 Martin Pool <mbp@samba.org> 19341 19342 * Makefile.in, src/climasq.c, src/distcc.c, src/distcc.h: Split 19343 masquerade support into climasq.c 19344 193452003-04-02 15:10 Martin Pool <mbp@samba.org> 19346 19347 * src/safeguard.c: Doc 19348 193492003-04-02 15:05 Martin Pool <mbp@samba.org> 19350 19351 * src/distcc.c: Doc 19352 193532003-04-02 14:57 Martin Pool <mbp@samba.org> 19354 19355 * src/serve.c: Remove one more old "-1" error code. Patch from 19356 Wayne Davison. 19357 193582003-04-02 14:54 Martin Pool <mbp@samba.org> 19359 19360 * src/distcc.c: Doc 19361 193622003-04-02 14:49 Martin Pool <mbp@samba.org> 19363 19364 * src/: io.c, rpc.c: Move rpc-specific functions from io.c into 19365 rpc.c. 19366 193672003-04-02 14:46 Martin Pool <mbp@samba.org> 19368 19369 * src/dopt.c: Make --no-fork undocumented. 19370 193712003-04-02 14:43 Martin Pool <mbp@samba.org> 19372 19373 * src/sendfile.c: dcc_pump_sendfile: Only select() on the output 19374 socket after sendfile has failed with EAGAIN. Otherwise we can 19375 miss the case where the remote host has closed the connection 19376 on us, as can happen if we connect contrary to --allow. 19377 193782003-04-02 14:42 Martin Pool <mbp@samba.org> 19379 19380 * src/io.c: Trace message when select()ing 19381 193822003-04-02 14:41 Martin Pool <mbp@samba.org> 19383 19384 * src/distcc.h, src/exec.c, src/exec.h, src/safeguard.c, 19385 Makefile.in: Split safeguard functions out into their own file. 19386 193872003-04-02 12:39 Martin Pool <mbp@samba.org> 19388 19389 * doc/results.txt: SSH results. 19390 193912003-04-02 12:27 Martin Pool <mbp@samba.org> 19392 19393 * NEWS: Note removal of "return -1". 19394 193952003-04-02 11:55 Martin Pool <mbp@samba.org> 19396 19397 * NEWS: Update SSH news. 19398 193992003-04-02 11:00 Martin Pool <mbp@samba.org> 19400 19401 * TODO: Notes on DISTCC_SSH. 19402 194032003-04-02 10:58 Martin Pool <mbp@samba.org> 19404 19405 * src/ssh.c: Doc 19406 194072003-04-02 10:46 Martin Pool <mbp@samba.org> 19408 19409 * TODO: Note about documenting SSH. 19410 194112003-04-01 13:59 Martin Pool <mbp@samba.org> 19412 19413 * Makefile.in: Split binary downloads onto their own page. 19414 194152003-03-31 23:16 Martin Pool <mbp@samba.org> 19416 19417 * src/bulk.c: Show more precision when printing transfer rates. 19418 194192003-03-31 18:48 Martin Pool <mbp@samba.org> 19420 19421 * src/sendfile.c: Check network is ready to write before 19422 attempting sendfile. 19423 194242003-03-31 18:47 Martin Pool <mbp@samba.org> 19425 19426 * src/: io.h, io.c: Export select_for_* 19427 194282003-03-31 18:46 Martin Pool <mbp@samba.org> 19429 19430 * src/io.c: Before reading or writing a socket, select() on it to 19431 make sure it's available. Makes things work when our network 19432 socket is really a nonblocking connection to ssh. 19433 194342003-03-31 18:43 Martin Pool <mbp@samba.org> 19435 19436 * src/ssh.c: Don't send server log to stderr by default. 19437 194382003-03-31 18:36 Martin Pool <mbp@samba.org> 19439 19440 * src/serve.c: Doc. 19441 194422003-03-31 18:36 Martin Pool <mbp@samba.org> 19443 19444 * src/io.c: dcc_readx: Handle reading from nonblocking 19445 socketpairs/pipes. 19446 194472003-03-31 18:34 Martin Pool <mbp@samba.org> 19448 19449 * src/ssh.c: Use nonblocking pipes to ssh. 19450 19451 * Add --log-stderr when invoking the remote daemon. 19452 194532003-03-31 18:30 Martin Pool <mbp@samba.org> 19454 19455 * src/bulk.c: Doc. 19456 194572003-03-31 18:18 Martin Pool <mbp@samba.org> 19458 19459 * configure.ac: Bump version 19460 194612003-03-31 18:17 Martin Pool <mbp@samba.org> 19462 19463 * src/distcc.c: For ssh support, we need to allow for separate 19464 fds writing to and reading from the network, because our 19465 connection to the ssh client may be over pipes, which are 19466 one-way connections. 19467 19468 Therefore split them out into separate fds in the code. 19469 194702003-03-31 18:14 Martin Pool <mbp@samba.org> 19471 19472 * NEWS: Preliminary support for ssh. 19473 194742003-03-31 18:08 Martin Pool <mbp@samba.org> 19475 19476 * src/ssh.c: Make the dcc end of the socketpairs/pipes talking to 19477 ssh be blocking, even if ssh needs blocking ones. Does this 19478 work? 19479 194802003-03-31 18:02 Martin Pool <mbp@samba.org> 19481 19482 * src/io.c: dcc_readx: Stub handler for EAGAIN. 19483 194842003-03-31 18:00 Martin Pool <mbp@samba.org> 19485 19486 * src/io.c: Reindent only. 19487 194882003-03-31 17:55 Martin Pool <mbp@samba.org> 19489 19490 * test/testdistcc.py: Fix silly Python bug. 19491 194922003-03-31 17:49 Martin Pool <mbp@samba.org> 19493 19494 * test/testdistcc.py: Giving a bogus port number now gives you 19495 EXIT_BAD_ARGUMENTS. 19496 194972003-03-31 17:48 Martin Pool <mbp@samba.org> 19498 19499 * src/: dparent.c, srvnet.c, srvnet.h: open_socket_in: Rename to 19500 conventional name 'dcc_socket_listen', and return an exit code. 19501 195022003-03-31 17:44 Martin Pool <mbp@samba.org> 19503 19504 * test/testdistcc.py: Allow default daemon lifetime of 60s, and 19505 300s for BigAssFile. 19506 195072003-03-31 17:42 Martin Pool <mbp@samba.org> 19508 19509 * patches/.cvsignore: Ignore built test programs. 19510 195112003-03-31 17:42 Martin Pool <mbp@samba.org> 19512 19513 * src/: arg.c, bulk.c, clirpc.c, distcc.c, dparent.c, exec.c, 19514 filename.c, hosts.c, io.c, sendfile.c, serve.c, srvnet.c, 19515 tempfile.c, util.c: Get medieval on "return -1" in old code. 19516 Everything ought to return a standard error code now. 19517 195182003-03-31 17:30 Martin Pool <mbp@samba.org> 19519 19520 * src/distcc.c: Doc 19521 195222003-03-31 17:22 Martin Pool <mbp@samba.org> 19523 19524 * src/distcc.c, NEWS: Add DISTCC_FALLBACK environment variable. 19525 If set to 0, means that failure to distribute will be 19526 considered an overall failure. By default, a networking error 19527 means that compilation will be retried locally. 19528 195292003-03-31 17:11 Martin Pool <mbp@samba.org> 19530 19531 * src/io.c, NEWS: Better error handling when corks are not 19532 supported on a particular system or socket. 19533 195342003-03-31 17:08 Martin Pool <mbp@samba.org> 19535 19536 * test/testdistcc.py: Revert r1.129: sending logs to stderr 19537 doesn't work very well. The daemon can get sigpipe while 19538 writing them and similar problems. 19539 195402003-03-31 17:02 Martin Pool <mbp@samba.org> 19541 19542 * test/testdistcc.py, NEWS: Test invalid --allow masks. 19543 195442003-03-31 17:00 Martin Pool <mbp@samba.org> 19545 19546 * src/: distcc.h, ssh.c: dcc_ssh_connect: Fix const-ness of 19547 strings. 19548 195492003-03-31 17:00 Martin Pool <mbp@samba.org> 19550 19551 * src/distcc.c: First cut of support for distcc-over-ssh. 19552 19553 * dcc_compile_remote: For ssh-mode connections, try to open up 19554 using dcc_ssh_connect. 19555 195562003-03-31 16:59 Martin Pool <mbp@samba.org> 19557 19558 * src/arg.c: Undo constness of argv[] arguments, it just doesn't 19559 work well in gcc. 19560 195612003-03-31 16:55 Martin Pool <mbp@samba.org> 19562 19563 * src/: distcc.h, ssh.c: Undo constness of argv[] arguments, it 19564 just doesn't work well in gcc. 19565 195662003-03-31 16:54 Martin Pool <mbp@samba.org> 19567 19568 * TODO: More notes on new scheduler. 19569 195702003-03-31 16:54 Martin Pool <mbp@samba.org> 19571 19572 * doc/release-names.txt: [no log message] 19573 195742003-03-31 16:45 Martin Pool <mbp@samba.org> 19575 19576 * src/distcc.h: dcc_trace_argv: Fix constness of parameter. 19577 19578 * dcc_ssh_connect: Export prototype. 19579 195802003-03-31 16:44 Martin Pool <mbp@samba.org> 19581 19582 * src/arg.c: dcc_trace_argv: Fix constness of parameter. 19583 195842003-03-31 16:39 Martin Pool <mbp@samba.org> 19585 19586 * Makefile.in: Include ssh.o in client build. 19587 195882003-03-31 16:38 Martin Pool <mbp@samba.org> 19589 19590 * src/ssh.c: dcc_ssh_connect: If no username is specified, don't 19591 pass the -l option. If no machine is specified, abort. If no 19592 path is given, just use "distccd". 19593 195942003-03-31 16:33 Martin Pool <mbp@samba.org> 19595 19596 * src/ssh.c: Remove blocking_io support; it shouldn't be needed 19597 if we're only using ssh not rsh. 19598 19599 * Update to build cleanly in this tree. 19600 19601 * dcc_run_piped_cmd: Make sure pipes are always closed because 19602 the program will not necessarily abort if we fail to connect 19603 and we don't want to leak file descriptors. 19604 19605 * dcc_ssh_connect: Build connection command in argv[] not a 19606 string, so that we can avoid invoking a shell. 19607 196082003-03-31 16:02 Martin Pool <mbp@samba.org> 19609 19610 * TODO: Many more notes about single-queue multi-server 19611 scheduler. 19612 196132003-03-31 15:59 Martin Pool <mbp@samba.org> 19614 19615 * src/serve.c: Remove dead code. 19616 196172003-03-31 15:37 Martin Pool <mbp@samba.org> 19618 19619 * patches/backlog-sample.c: Sample that tries to use TCP 19620 connection backlogs to give the client some information about 19621 whether the server is busy. Doesn't seem to work very well. 19622 196232003-03-31 14:59 Martin Pool <mbp@samba.org> 19624 19625 * TODO: Update 19626 196272003-03-31 14:54 Martin Pool <mbp@samba.org> 19628 19629 * test/testdistcc.py: Doc. 19630 196312003-03-31 14:53 Martin Pool <mbp@samba.org> 19632 19633 * test/testdistcc.py: Add new case exercising dcc_check_address 19634 and h_parsemask. 19635 196362003-03-31 14:48 Martin Pool <mbp@samba.org> 19637 19638 * src/access.c: Doc 19639 196402003-03-31 14:34 Martin Pool <mbp@samba.org> 19641 19642 * test/testdistcc.py: NoDetachDaemon_Case: prevent logs from 19643 background process getting into build process's stderr. 19644 196452003-03-31 14:28 Martin Pool <mbp@samba.org> 19646 19647 * src/dsignal.c, NEWS: dcc_parent_terminate: No need to 19648 explicitly remove pid file; it will be cleaned up in atexit(). 19649 196502003-03-31 14:25 Martin Pool <mbp@samba.org> 19651 19652 * test/testdistcc.py: Allow log output from the server into 19653 stderr so that it can be presented if a test case fails. 19654 196552003-03-31 14:22 Martin Pool <mbp@samba.org> 19656 19657 * NEWS, test/testdistcc.py: Add test that --allow does in fact 19658 deny connections as it should. 19659 196602003-03-31 14:14 Martin Pool <mbp@samba.org> 19661 19662 * TODO, doc/ssh-notes.txt, doc/to-test.txt: Move notes on future 19663 design options into ./TODO. 19664 196652003-03-31 14:14 Martin Pool <mbp@samba.org> 19666 19667 * doc/lock-deadlock.txt: Remove old bug report. 19668 196692003-03-31 14:10 Martin Pool <mbp@samba.org> 19670 19671 * test/testdistcc.py: Remove done TODOs 19672 196732003-03-31 14:09 Martin Pool <mbp@samba.org> 19674 19675 * patches/prefork-sample.c: Doc 19676 196772003-03-29 11:06 Martin Pool <mbp@samba.org> 19678 19679 * NEWS: Retrospective release name. 19680 196812003-03-28 18:57 Martin Pool <mbp@samba.org> 19682 19683 * TODO: Notes about preforking. 19684 196852003-03-28 18:43 Martin Pool <mbp@samba.org> 19686 19687 * patches/prefork-sample.c: Experimental code to see if we can 19688 just have every preforked child accept() on the socket 19689 196902003-03-28 18:20 Martin Pool <mbp@samba.org> 19691 19692 * doc/interceptor.txt: interceptor.txt Remove old file 19693 196942003-03-28 18:12 Martin Pool <mbp@samba.org> 19695 19696 * configure.ac, NEWS: Prepare for 2.0.1 release. 19697 196982003-03-28 18:12 Martin Pool <mbp@samba.org> 19699 19700 * Makefile.in: Dereference symbolic files when producing tarball. 19701 197022003-03-28 17:33 Martin Pool <mbp@samba.org> 19703 19704 * linuxdoc/distcc.sgml: Masquerade came out in 2.0, not 1.3. 19705 197062003-03-28 16:47 Martin Pool <mbp@samba.org> 19707 19708 * doc/release-names.txt: [no log message] 19709 197102003-03-28 16:17 Martin Pool <mbp@samba.org> 19711 19712 * linuxdoc/distcc.sgml: Get ready for 2.0 release. 19713 197142003-03-28 16:13 Martin Pool <mbp@samba.org> 19715 19716 * NEWS, configure.ac: Get ready for 2.0 release. 19717 197182003-03-28 16:11 Martin Pool <mbp@samba.org> 19719 19720 * Makefile.in: Remove old doc/ files from the distribution. 19721 197222003-03-28 16:02 Martin Pool <mbp@samba.org> 19723 19724 * src/distcc.c: Remove "HOST/MAX:PORT" syntax from --help. I 19725 don't want to make this fully "public" yet because I'm not sure 19726 this is the ideal way to set this value in the future. 19727 197282003-03-28 15:58 Martin Pool <mbp@samba.org> 19729 19730 * NEWS, test/testdistcc.py: Test DISTCC_LOG being set to an 19731 unwriteable file. 19732 197332003-03-28 15:55 Martin Pool <mbp@samba.org> 19734 19735 * NEWS: Test suite now works with Python 1.5 or later. 19736 197372003-03-28 15:53 Martin Pool <mbp@samba.org> 19738 19739 * test/comfychair.py: Remove dependency on os.spawnvp, which is 19740 not in Python1.5 19741 197422003-03-28 15:52 Martin Pool <mbp@samba.org> 19743 19744 * test/testdistcc.py: NoHosts_Case: Python 1.5 can't delete 19745 environment variables, so just set them to empty. 19746 197472003-03-28 15:50 Martin Pool <mbp@samba.org> 19748 19749 * src/distcc.c, NEWS: If the file specified by DISTCC_LOG can't 19750 be opened, then show an error and use stderr. Previously all 19751 errors were just lost. 19752 197532003-03-28 15:45 Martin Pool <mbp@samba.org> 19754 19755 * src/distcc.c, NEWS: If DISTCC_LOG is an empty string, treat as 19756 undefined. 19757 197582003-03-28 15:42 Martin Pool <mbp@samba.org> 19759 19760 * test/testdistcc.py: runcmd_background now takes a string, not a 19761 sequence. 19762 19763 * Python1.5 doesn't have ''.split. 19764 197652003-03-28 15:27 Martin Pool <mbp@samba.org> 19766 19767 * test/: comfychair.py, testdistcc.py: Remove dependency on 19768 popen4, which is not present in Python 1.5. 19769 19770 * runcmd and related functions now return stdout and stderr 19771 messages separately. Many tests must be updated to allow for 19772 this. 19773 19774 * Refactor some tests towards a flatter hierarchy. 19775 19776 * Assert that the compiler should not normally produce errors or 19777 other messages. 19778 197792003-03-28 13:58 Martin Pool <mbp@samba.org> 19780 19781 * test/comfychair.py: Remove list comprehension, which is not 19782 available in Python 1.5. 19783 197842003-03-28 13:54 Martin Pool <mbp@samba.org> 19785 19786 * TODO: Note on static linking. 19787 197882003-03-28 13:51 Martin Pool <mbp@samba.org> 19789 19790 * test/testdistcc.py, NEWS: On BSD, 'true' and 'false' are in 19791 /usr/bin (?) not /bin. 19792 197932003-03-28 13:44 Martin Pool <mbp@samba.org> 19794 19795 * NEWS: Notes on test improvments. 19796 197972003-03-28 13:40 Martin Pool <mbp@samba.org> 19798 19799 * Makefile.in: Makefile (check, installcheck): If Python is not 19800 found then just print "tests skipped" rather than failing. 19801 This should make the results on the build farm a bit more 19802 clear. 19803 198042003-03-28 13:37 Martin Pool <mbp@samba.org> 19805 19806 * configure.ac: If Python is not found in the path, then just 19807 leave $(PYTHON) blank rather than setting it to 'false'. 19808 198092003-03-28 11:59 Martin Pool <mbp@samba.org> 19810 19811 * Makefile.in: Remove redundant setting of $(LIBS): autoconf puts 19812 -lpopt in there if it's needed. 19813 198142003-03-28 11:57 Martin Pool <mbp@samba.org> 19815 19816 * configure.ac: (Hopefully) better check for socket() and 19817 gethostbyname() that will avoid unnecessarily linking libnsl on 19818 Linux. Taken from Samba, which got it from CVS. 19819 198202003-03-27 19:16 Martin Pool <mbp@samba.org> 19821 19822 * TODO: Note on DNS timeouts. 19823 198242003-03-27 15:58 Martin Pool <mbp@samba.org> 19825 19826 * src/rpc.h: dcc_x_token_int: Token parameters are unsigned. 19827 198282003-03-27 15:54 Martin Pool <mbp@samba.org> 19829 19830 * NEWS: [no log message] 19831 198322003-03-27 15:45 Martin Pool <mbp@samba.org> 19833 19834 * src/rpc.c: dcc_x_token_int: Remove call to snprintf to format 19835 outgoing packets. It really sticks out in valgrind and this is 19836 a reasonably common function. 19837 198382003-03-27 15:33 Martin Pool <mbp@samba.org> 19839 19840 * src/: io.c, io.h: dcc_write_int: Remove dead function. 19841 198422003-03-27 15:31 Martin Pool <mbp@samba.org> 19843 19844 * src/: io.h, io.c: dcc_write_str: Remove dead function. 19845 198462003-03-27 15:29 Martin Pool <mbp@samba.org> 19847 19848 * src/clirpc.c: dcc_x_argv: Avoid redundant strlen() computation. 19849 198502003-03-27 15:08 Martin Pool <mbp@samba.org> 19851 19852 * src/arg.c, src/distcc.h, src/exec.c, src/serve.c, src/ssh.c, 19853 src/strip.c, NEWS: Factor out code for tracing argv[] arrays. 19854 By avoiding conversion unless it is actually going to be logged 19855 we save a few cycles. 19856 19857 This also addresses some cases where the printable form was not 19858 freed after creation, although that shouldn't ever matter much 19859 in 19860 such a short-lived program. 19861 198622003-03-27 11:39 Martin Pool <mbp@samba.org> 19863 19864 * Makefile.in: Allow for implementations of 'install' that can 19865 only process one file at a time. GNU's 'install-sh' is one 19866 such. 19867 198682003-03-27 11:08 Martin Pool <mbp@samba.org> 19869 19870 * NEWS: Don't install linuxdoc-info by default, either from CVS 19871 or distributions. 19872 198732003-03-27 10:37 Martin Pool <mbp@samba.org> 19874 19875 * Makefile.in: Don't install linuxdoc-info by default, either 19876 from CVS or distributions. 19877 198782003-03-27 10:30 Martin Pool <mbp@samba.org> 19879 19880 * Makefile.in: Remove overall 'upload' target: we don't want to 19881 upload the manual when the web site is uploaded. 19882 198832003-03-26 23:36 Martin Pool <mbp@samba.org> 19884 19885 * linuxdoc/distcc.sgml: Manual is for 1.3cvs. 19886 198872003-03-23 12:18 Martin Pool <mbp@samba.org> 19888 19889 * Makefile.in: Don't ship unmerged patches in the tarball. 19890 198912003-03-23 12:17 Martin Pool <mbp@samba.org> 19892 19893 * patches/resolver-timeout.diff: resolver-timeout.diff Resolver 19894 timeout draft patch from Jonas Jensen 19895 198962003-03-22 09:44 Martin Pool <mbp@samba.org> 19897 19898 * patches/connect-timeout.diff: Remove old draft patch. 19899 199002003-03-21 19:02 Martin Pool <mbp@samba.org> 19901 19902 * test/testdistcc.py: Get rid of Python 2 ism. 19903 199042003-03-21 18:59 Martin Pool <mbp@samba.org> 19905 19906 * src/ncpus.c: Try looking for the predefined "__hpux" or 19907 "__hpux__" not "hpux". 19908 199092003-03-21 18:47 Martin Pool <mbp@samba.org> 19910 19911 * NEWS, test/testdistcc.py: Use randomly chosen TCP port for the 19912 server when running tests. 19913 199142003-03-21 18:46 Martin Pool <mbp@samba.org> 19915 19916 * NEWS: Use --allow=127.0.0.1 when starting daemon 19917 199182003-03-21 18:41 Martin Pool <mbp@samba.org> 19919 19920 * test/testdistcc.py: Use --allow=127.0.0.1 when starting daemon 19921 19922 * killDaemon: if the daemon has already exited, perhaps because 19923 of an alarmclock, and removed it's pid file, then don't worry 19924 about killing it. 19925 199262003-03-21 18:32 Martin Pool <mbp@samba.org> 19927 19928 * test/testdistcc.py: SimpleDistCC_Case.__init__: remove 19929 redundant code: logging has moved into comfychair.TestCase. 19930 19931 * SimpleDistCC_Case: Allow subclasses to change lifetime of 19932 daemon or command used to start it. 19933 19934 * By default daemon only lives 10s. For ThousandFold_Case and 19935 Concurrent_Case it needs to live up to 2 minutes. 19936 199372003-03-21 18:24 Martin Pool <mbp@samba.org> 19938 19939 * test/testdistcc.py: NoDetachDaemon_Case: Shouldn't need 19940 --lifetime for this test. 19941 199422003-03-21 18:21 Martin Pool <mbp@samba.org> 19943 19944 * test/testdistcc.py, NEWS: Specify limited lifetime when running 19945 daemon, so that if it is not cleaned up by the tests it will go 19946 away after a little while anyhow. 19947 199482003-03-21 18:18 Martin Pool <mbp@samba.org> 19949 19950 * NEWS, configure.ac, src/dsignal.c: If we have strsignal(), then 19951 log the signal name rather than number when terminating. 19952 199532003-03-21 18:12 Martin Pool <mbp@samba.org> 19954 19955 * src/dsignal.c: Also print a message when terminating on 19956 SIGALRM. 19957 199582003-03-21 18:11 Martin Pool <mbp@samba.org> 19959 19960 * Makefile.in, src/distcc.h, src/dparent.c, src/dsignal.c: Split 19961 signal-handling code into new file dsignal.c 19962 199632003-03-21 17:56 Martin Pool <mbp@samba.org> 19964 19965 * src/: daemon.c, distcc.h, dparent.c: Make sure lifetime limit 19966 applies even when the daemon detaches: after forking to 19967 dissociate from the session, reset the alarm clock. 19968 199692003-03-21 17:25 Martin Pool <mbp@samba.org> 19970 19971 * test/testdistcc.py: NoHosts_Case: Cleanup to get it working 19972 with the new framework. 19973 199742003-03-21 16:27 Martin Pool <mbp@samba.org> 19975 19976 * test/testdistcc.py: NoHosts_Case: Better log message. 19977 199782003-03-21 16:24 Martin Pool <mbp@samba.org> 19979 19980 * test/testdistcc.py: NoDetachDaemon_Case: Make sure daemon is 19981 killed off. 19982 199832003-03-21 16:21 Martin Pool <mbp@samba.org> 19984 19985 * test/comfychair.py: Update from Subversion 19986 199872003-03-21 16:21 Martin Pool <mbp@samba.org> 19988 19989 * test/testdistcc.py: Move code for entering rundir into 19990 comfychair. 19991 19992 * Change killing of daemon to be a cleanup rather than part of 19993 teardown. 19994 199952003-03-21 14:00 Martin Pool <mbp@samba.org> 19996 19997 * src/: daemon.c, dopt.c, dparent.c, serve.c: Rename opt.h to 19998 dopt.h, to be consistent with dopt.c. 19999 200002003-03-21 13:59 Martin Pool <mbp@samba.org> 20001 20002 * TODO: CCACHE_ERR_FD 20003 200042003-03-21 13:56 Martin Pool <mbp@samba.org> 20005 20006 * Makefile.in: Remove "=distcheck" directory on successful 20007 completion. 20008 200092003-03-21 13:55 Martin Pool <mbp@samba.org> 20010 20011 * Makefile.in: Include types.h in distribution. 20012 200132003-03-21 13:54 Martin Pool <mbp@samba.org> 20014 20015 * Makefile.in, src/dopt.h, src/opt.h: Rename opt.h to dopt.h, to 20016 be consistent with dopt.c. 20017 200182003-03-21 13:46 Martin Pool <mbp@samba.org> 20019 20020 * NEWS, src/daemon.c, src/dopt.c, src/opt.h: * Add new 20021 undocumented (heh) "--lifetime" option that causes the daemon to 20022 expire after a certain period. 20023 200242003-03-21 13:44 Martin Pool <mbp@samba.org> 20025 20026 * test/comfychair.py: Doc. 20027 200282003-03-21 12:58 Martin Pool <mbp@samba.org> 20029 20030 * src/sendfile.c: printf type correctness. 20031 200322003-03-21 12:51 Martin Pool <mbp@samba.org> 20033 20034 * TODO: [no log message] 20035 200362003-03-21 12:34 Martin Pool <mbp@samba.org> 20037 20038 * NEWS: types.h: New file, to give typedefs for missing systems 20039 types. Include this in files that need it. Move typedefs from 20040 random source files into here. 20041 20042 * Add in_addr_t, which is int by default. 20043 200442003-03-21 12:34 Martin Pool <mbp@samba.org> 20045 20046 * src/types.h: in_addr_t should perhaps be ulong by default. 20047 200482003-03-21 12:31 Martin Pool <mbp@samba.org> 20049 20050 * src/: access.c, clinet.c, dopt.c, h_parsemask.c, srvnet.c, 20051 types.h: types.h: New file, to give typedefs for missing 20052 systems types. Include this in files that need it. Move 20053 typedefs from random source files into here. 20054 20055 * Add in_addr_t, which is int by default. 20056 200572003-03-21 12:21 Martin Pool <mbp@samba.org> 20058 20059 * configure.ac: Check for existence of sys/socket.h 20060 20061 * Check for in_addr_t 20062 200632003-03-21 12:20 Martin Pool <mbp@samba.org> 20064 20065 * src/srvnet.c: If socklen_t is missing, make it a size_t. 20066 200672003-03-21 12:14 Martin Pool <mbp@samba.org> 20068 20069 * src/snprintf.h, NEWS: Fix incorrect config macro names: should 20070 be HAVE_DECL_ASPRINTF not HAVE_ASPRINTF_DECL. Fixes 20071 declaration warnings on Solaris. 20072 200732003-03-21 12:02 Martin Pool <mbp@samba.org> 20074 20075 * NEWS: Should build on IRIX. 20076 200772003-03-21 11:58 Martin Pool <mbp@samba.org> 20078 20079 * NEWS: Don't include Info file in the distribution. It's a bit 20080 redundant to ship the documentation in three forms (SGML, HTML, 20081 Info), and people can build it or download it if they want to. 20082 20083 * Don't rebuild all Linuxdoc files for distribution, only the 20084 ones which need to be included. 20085 200862003-03-21 11:54 Martin Pool <mbp@samba.org> 20087 20088 * Makefile.in: Don't include Info file in the distribution. It's 20089 a bit redundant to ship the documentation in three forms (SGML, 20090 HTML, Info), and people can build it or download it if they 20091 want to. 20092 20093 * Don't rebuild all Linuxdoc files for distribution, only the 20094 ones which need to be included. 20095 200962003-03-19 09:34 Martin Pool <mbp@samba.org> 20097 20098 * configure.ac: Change check for in_port_t, which exists on 20099 Solaris, but which isn't found in just sys/types.h and 20100 netinet/in.h. 20101 201022003-03-19 09:28 Martin Pool <mbp@samba.org> 20103 20104 * src/ncpus.c: Try to fix BSD dcc_ncpus(). 20105 201062003-03-18 21:18 Martin Pool <mbp@samba.org> 20107 20108 * src/ssh.c: piped_child: Update to take an argv[] array rather 20109 than a simple command so that we can avoid running a shell. 20110 201112003-03-18 18:15 Martin Pool <mbp@samba.org> 20112 20113 * configure.ac: Check whether the C compiler supports inlining, 20114 etc. Needed for popt. 20115 201162003-03-18 17:47 Martin Pool <mbp@samba.org> 20117 20118 * src/tempfile.c: Cast to int when calling printf. 20119 201202003-03-18 17:46 Martin Pool <mbp@samba.org> 20121 20122 * src/snprintf.h: Add conditional declaration of vsnprintf. 20123 201242003-03-18 17:45 Martin Pool <mbp@samba.org> 20125 20126 * src/ncpus.c: Add FreeBSD/OpenBSD/NetBSD implementation. 20127 201282003-03-18 17:36 Martin Pool <mbp@samba.org> 20129 20130 * src/ncpus.c: Fix includes. 20131 201322003-03-18 17:35 Martin Pool <mbp@samba.org> 20133 20134 * src/ncpus.c: Add a separate definition of dcc_ncpus for HP-UX 20135 (not tested), and URLs describing this. 20136 201372003-03-18 17:27 Martin Pool <mbp@samba.org> 20138 20139 * src/ncpus.c, NEWS: Add credit to Dimitri PAPADOPOULOS-ORFANOS 20140 for reporting how to do this on various systems. 20141 201422003-03-18 17:25 Martin Pool <mbp@samba.org> 20143 20144 * src/ncpus.c: Check for definition of _SC_NPROCESSORS_ONLN 20145 (linux), and _SC_NPROC_ONLN (Irix), and call the appropriate 20146 sysconf. 20147 201482003-03-18 17:21 Martin Pool <mbp@samba.org> 20149 20150 * src/ncpus.c: Include prototypes for this file. 20151 201522003-03-18 17:20 Martin Pool <mbp@samba.org> 20153 20154 * NEWS: Clean up some warnings on IRIX. 20155 201562003-03-18 17:20 Martin Pool <mbp@samba.org> 20157 20158 * src/ncpu.c, src/ncpus.c, Makefile.in: Rename ncpu.c to ncpus.c 20159 to be consistent with the function name. 20160 201612003-03-18 17:18 Martin Pool <mbp@samba.org> 20162 20163 * src/tempfile.c: Cast mode_t to int when passing to printf. 20164 201652003-03-18 17:17 Martin Pool <mbp@samba.org> 20166 20167 * src/: rpc.c, tempfile.c: Include snprintf.h for systems that 20168 don't have these functions. 20169 201702003-03-18 17:15 Martin Pool <mbp@samba.org> 20171 20172 * src/: exec.c: Cast pid_t to long when passing to printf. 20173 201742003-03-18 17:13 Martin Pool <mbp@samba.org> 20175 20176 * src/trace.c: Update copyright. 20177 20178 * Remove done TODOs. 20179 20180 * Include snprintf.h to quieten warning on machines that don't 20181 have vsnprintf, such as IRIX. 20182 201832003-03-18 17:11 Martin Pool <mbp@samba.org> 20184 20185 * NEWS, src/dparent.c: Print number of online CPUs when daemon 20186 starts up. 20187 201882003-03-18 17:09 Martin Pool <mbp@samba.org> 20189 20190 * src/distcc.h: Add prototype for dcc_ncpus. 20191 201922003-03-18 17:04 Martin Pool <mbp@samba.org> 20193 20194 * Makefile.in, src/ncpu.c: Add basic code to detect the number of 20195 online processors, at least on Linux. 20196 201972003-03-18 16:56 Martin Pool <mbp@samba.org> 20198 20199 * NEWS: Reorder news items. 20200 202012003-03-18 15:21 Martin Pool <mbp@samba.org> 20202 20203 * TODO: Add note to try out masquerade with make-kpkg. 20204 202052003-03-18 14:27 Martin Pool <mbp@samba.org> 20206 20207 * patches/daemon-address-binding.diff: Patch from Neil Mansilla: 20208 20209 * Add --address option to daemon, to make it bind only a 20210 particular address. 20211 20212 I don't know if this is bloat (should be done through inetd?) or 20213 a good idea. Therefore not merged yet. 20214 202152003-03-18 14:24 Martin Pool <mbp@samba.org> 20216 20217 * test/comfychair.py: Decode waitstatus values when a command 20218 fails. 20219 202202003-03-17 22:25 Martin Pool <mbp@samba.org> 20221 20222 * doc/release-names.txt: [no log message] 20223 202242003-03-14 15:49 Martin Pool <mbp@samba.org> 20225 20226 * TODO: Update status: 20227 20228 * Kernel 2.5 bug 20229 20230 * SQMS scheduler 20231 20232 * --allow is done 20233 20234 * Distributed caching 20235 202362003-03-13 17:33 Martin Pool <mbp@samba.org> 20237 20238 * NEWS: Note that SIGTERM handling race for server is now fixed. 20239 202402003-03-13 17:31 Martin Pool <mbp@samba.org> 20241 20242 * test/comfychair.py: Merge from svn r30 20243 202442003-03-13 17:29 Martin Pool <mbp@samba.org> 20245 20246 * patches/distccd-clean-path.diff: Draft patch from Wayne Davison 20247 to try to keep masquerade connections off the server's $PATH. 20248 202492003-03-13 17:28 Martin Pool <mbp@samba.org> 20250 20251 * patches/: compression.patch, swhite-lzo-compress.diff: Updated 20252 draft patch from Stephen White to do LZO compression. 20253 202542003-03-13 17:27 Martin Pool <mbp@samba.org> 20255 20256 * patches/distcc-ethereal.diff: Draft patch to Ethereal 20257 <ethereal.com> to decode/dissect distcc connections. 20258 202592003-03-12 19:08 Martin Pool <mbp@samba.org> 20260 20261 * src/dparent.c: Fix small signal handling race that would 20262 occasionally cause distccd not to exit when signalled. Pointed 20263 out by Vance Lankhaar, solution advice from Andrew Tridgell. 20264 20265 The problem was that a signal could arrive after we checked the 20266 global indicator, but before entering accept(). So the daemon 20267 would 20268 need to wait for the accept to complete before it could respond 20269 to 20270 the signal. 20271 20272 Since the daemon only needs to do very simple cleanup, we now 20273 simply 20274 do it in line in the signal handler and never return. 20275 202762003-03-12 18:56 Martin Pool <mbp@samba.org> 20277 20278 * src/dparent.c: FIXME about bug reported by Vance: the daemon 20279 sometimes doesn't exit on receipt of SIGTERM, which makes the 20280 test suite hang. 20281 202822003-03-12 17:12 Martin Pool <mbp@samba.org> 20283 20284 * test/testdistcc.py: assert_regexp renamed to assert_re_search 20285 202862003-03-12 17:09 Martin Pool <mbp@samba.org> 20287 20288 * test/testdistcc.py: Fix incorrect regexp assertion 20289 202902003-03-12 16:51 Martin Pool <mbp@samba.org> 20291 20292 * test/testdistcc.py: explainFailure, fail, assertEquals, 20293 assertNotEqual, assertReMatch: these are now present in 20294 ComfyChair and don't need to be in this file. 20295 202962003-03-12 16:40 Martin Pool <mbp@samba.org> 20297 20298 * test/comfychair.py: Update from Subversion r24: 20299 20300 ------------------------------------------------------------------------ 20301 rev 24: mbp | 2003-03-12 16:32:53 +1100 (Wed, 12 Mar 2003) | 4 20302 lines 20303 20304 * Fix calls to explain_failure() 20305 20306 * comfychair.main: If test names are specified, run them. 20307 ------------------------------------------------------------------------ 20308 rev 23: mbp | 2003-03-12 16:28:29 +1100 (Wed, 12 Mar 2003) | 2 20309 lines 20310 20311 * Fix --help message. 20312 203132003-03-12 16:37 Martin Pool <mbp@samba.org> 20314 20315 * NEWS: Many internal updates to ComfyChair framework. 20316 203172003-03-12 16:11 Martin Pool <mbp@samba.org> 20318 20319 * test/testdistcc.py: Change to using new ComfyChair.main() 20320 method, rather than implementing it by hand. 20321 203222003-03-12 15:43 Martin Pool <mbp@samba.org> 20323 20324 * test/comfychair.py: Import updated ComfyChair from Subversion: 20325 renamed methods, new main() method, etc. 20326 203272003-03-12 15:42 Martin Pool <mbp@samba.org> 20328 20329 * test/testdistcc.py: SimpleDistCC_Case.__init__ needs to call 20330 the base constructor method. 20331 20332 * Update for renamed methods in latest ComfyChair. 20333 203342003-03-11 17:42 Martin Pool <mbp@samba.org> 20335 20336 * doc/release-names.txt: [no log message] 20337 203382003-03-10 15:34 Martin Pool <mbp@samba.org> 20339 20340 * src/util.c: IRIX might need sys/time.h before sys/resource.h 20341 203422003-03-10 15:13 Martin Pool <mbp@samba.org> 20343 20344 * src/util.c: Check for sys/resource.h 20345 203462003-03-10 15:10 Martin Pool <mbp@samba.org> 20347 20348 * configure.ac: Check for sys/resource.h 20349 203502003-03-10 15:08 Martin Pool <mbp@samba.org> 20351 20352 * configure.ac: Check for getrusage. 20353 203542003-03-10 14:12 Martin Pool <mbp@samba.org> 20355 20356 * NEWS: Give credit for masquerade mode. 20357 203582003-03-10 13:46 Martin Pool <mbp@samba.org> 20359 20360 * configure.ac: Test for getwd and getcwd 20361 203622003-03-10 10:58 Martin Pool <mbp@samba.org> 20363 20364 * Makefile.in: Remove ssh.o from client for the time being. 20365 203662003-03-10 10:16 Martin Pool <mbp@samba.org> 20367 20368 * patches/: distcc-1.2.1-masquerade.patch, masquerade.patch: 20369 Remove merged 'masquerade' patch. 20370 203712003-03-10 10:07 Martin Pool <mbp@samba.org> 20372 20373 * src/io.c: sendfile.h no longer needed here. Thanks to Wayne 20374 Davison. 20375 203762003-03-09 20:28 Martin Pool <mbp@samba.org> 20377 20378 * linuxdoc/distcc.sgml: Re-add "if your disks are too empty". 20379 203802003-03-09 10:43 Martin Pool <mbp@samba.org> 20381 20382 * configure.ac: Advance version to 1.3cvs. 20383 203842003-03-09 10:14 Martin Pool <mbp@samba.org> 20385 20386 * Makefile.in: Add ssh module to build. 20387 203882003-03-08 22:48 Martin Pool <mbp@samba.org> 20389 20390 * .cvsignore: Ignore =distcheck directory 20391 203922003-03-08 21:53 Martin Pool <mbp@samba.org> 20393 20394 * NEWS: Note about merged masquerade mode. 20395 20396 * Reindent stuff. 20397 203982003-03-08 21:47 Martin Pool <mbp@samba.org> 20399 20400 * doc/release-names.txt: [no log message] 20401 204022003-03-08 10:43 Martin Pool <mbp@samba.org> 20403 20404 * src/sendfile.c: Fix cast in call to sprintf for platforms where 20405 ssize_t != int. Found on Alpha Linux in the hp Compaq 20406 testdrive. 20407 204082003-03-08 10:39 Martin Pool <mbp@samba.org> 20409 20410 * src/implicit.c: Doc 20411 204122003-03-08 10:29 Martin Pool <mbp@samba.org> 20413 20414 * NEWS: Fix cast in call to sprintf for platforms where ssize_t 20415 != int. Found on Alpha Linux in the hp Compaq testdrive. 20416 204172003-03-05 13:02 Martin Pool <mbp@samba.org> 20418 20419 * configure.ac, linuxdoc/distcc.sgml, src/distcc.c, src/exec.c, 20420 src/exec.h, src/serve.c, src/util.c, src/util.h: masquerade patch 20421 from Wayne Davison: 20422 20423 * Add 'masquerade' option, where a link to distcc is created in 20424 e.g. /usr/lib/distcc/bin/cc so that it can catch calls to 'cc'. 20425 20426 * Check for getwd in configure 20427 20428 * Update manual to document 'masquerade' 20429 20430 * Update manual to say default port is 3632. 20431 20432 * Document /MAX syntax in --help. 20433 204342003-03-03 12:42 Martin Pool <mbp@samba.org> 20435 20436 * doc/release-names.txt: [no log message] 20437 204382003-03-02 10:31 Martin Pool <mbp@samba.org> 20439 20440 * configure.ac: Update for release. 20441 204422003-03-02 09:52 Martin Pool <mbp@samba.org> 20443 20444 * NEWS: Update for release. 20445 204462003-03-01 23:54 Martin Pool <mbp@samba.org> 20447 20448 * README.popt: URL for popt. 20449 204502003-03-01 23:49 Martin Pool <mbp@samba.org> 20451 20452 * src/: setuid.c, setuid.h: Fix constness of opt_user. 20453 204542003-03-01 09:12 Martin Pool <mbp@samba.org> 20455 20456 * src/lock.c, NEWS: SUSv3 says that locking functions can return 20457 EACCES for contention. HP-UX does this; perhaps Cygwin does 20458 too. 20459 204602003-02-28 14:18 Martin Pool <mbp@samba.org> 20461 20462 * configure.ac, NEWS: Check existence of ctype.h. Pointed out by 20463 Tom Matelich. 20464 204652003-02-28 14:15 Martin Pool <mbp@samba.org> 20466 20467 * patches/masquerade.patch: Masquerade patch from Wayne Davison 20468 204692003-02-28 10:45 Martin Pool <mbp@samba.org> 20470 20471 * NEWS: Header for 1.2.3 release. 20472 20473 * dcc_make_lock_filename: Windoze can't handle ':' in filenames. 20474 Pointed out by Heiko Elger. 20475 204762003-02-28 10:41 Martin Pool <mbp@samba.org> 20477 20478 * src/lock.c: dcc_make_lock_filename: Windoze can't handle ':' in 20479 filenames. Pointed out by Heiko Elger. 20480 204812003-02-28 10:40 Martin Pool <mbp@samba.org> 20482 20483 * src/lock.c: Doxygen janitor 20484 204852003-02-28 08:02 Martin Pool <mbp@samba.org> 20486 20487 * src/lock.c: Fix unreachable trace message. Thanks to Dimitri 20488 Papadopoulos-Orfanos. 20489 204902003-02-27 16:07 Martin Pool <mbp@samba.org> 20491 20492 * Makefile.in: analog-resolve: Tweak jdresolve invocation 20493 204942003-02-27 15:58 Martin Pool <mbp@samba.org> 20495 20496 * Makefile.in: analog-resolve: Tweak jdresolve invocation 20497 204982003-02-27 13:23 Martin Pool <mbp@samba.org> 20499 20500 * patches/n_cpus.txt: n_cpus.txt Notes on determining NCPUs, from 20501 Dimitri PAPADOPOULOS 20502 205032003-02-27 13:14 Martin Pool <mbp@samba.org> 20504 20505 * patches/connect-timeout-02.diff: connect-timeout-02.diff 20506 Connection timeout patch from Oscar Esteban 20507 205082003-02-27 13:09 Martin Pool <mbp@samba.org> 20509 20510 * patches/connect-timeout.diff: connect-timeout.diff Connection 20511 timeout patch from Oscar Esteban 20512 205132003-02-27 12:52 Martin Pool <mbp@samba.org> 20514 20515 * Makefile.in, OLDNEWS: Remove empty/dead OLDNEWS file. 20516 205172003-02-27 12:36 Martin Pool <mbp@samba.org> 20518 20519 * NEWS: Add missing release comments. 20520 205212003-02-27 12:32 Martin Pool <mbp@samba.org> 20522 20523 * NEWS: Add release date. 20524 205252003-02-27 12:20 Martin Pool <mbp@samba.org> 20526 20527 * test/testdistcc.py: Doc 20528 205292003-02-27 12:18 Martin Pool <mbp@samba.org> 20530 20531 * Makefile.in: Be more selective in uploading linuxdoc files. 20532 205332003-02-27 11:52 Martin Pool <mbp@samba.org> 20534 20535 * Makefile.in: Make distcheck should use $MAKE. 20536 205372003-02-27 11:50 Martin Pool <mbp@samba.org> 20538 20539 * Makefile.in: Distribute the uncompressed info file: this makes 20540 patch across the source distribution work, and possibly helps 20541 bzip2 compress the whole distribution. 20542 205432003-02-27 11:38 Martin Pool <mbp@samba.org> 20544 20545 * src/sendfile.c: Add HP-UX implementation of sys_sendfile, based 20546 on a note from Tom Matelich and the manual. Not tested on an 20547 HP-UX machine yet. 20548 205492003-02-27 11:17 Martin Pool <mbp@samba.org> 20550 20551 * Makefile.in: clirpc.h: New header 20552 205532003-02-27 11:14 Martin Pool <mbp@samba.org> 20554 20555 * Makefile.in, NEWS: Add a simple distcheck target. 20556 205572003-02-27 11:10 Martin Pool <mbp@samba.org> 20558 20559 * Makefile.in: Remove deleted tests from $(test_SOURCE) 20560 205612003-02-27 11:06 Martin Pool <mbp@samba.org> 20562 20563 * Makefile.in: Fix command to remove dist dir before building. 20564 205652003-02-27 10:25 Martin Pool <mbp@samba.org> 20566 20567 * src/access.c: The FreeBSD manual suggests <sys/types.h> might 20568 be needed here to make in_addr_t work. 20569 205702003-02-27 10:20 Martin Pool <mbp@samba.org> 20571 20572 * configure.ac: Check for stdint.h 20573 205742003-02-27 10:18 Martin Pool <mbp@samba.org> 20575 20576 * doc/release-names.txt: [no log message] 20577 205782003-02-27 10:17 Martin Pool <mbp@samba.org> 20579 20580 * NEWS: Call this release 1.2.2. 20581 20582 * Note about updated Makefile. 20583 205842003-02-26 16:36 Martin Pool <mbp@samba.org> 20585 20586 * test/: basecases.py, testdistcc.py: Move basecases back into 20587 testdistcc 20588 205892003-02-26 12:35 Martin Pool <mbp@samba.org> 20590 20591 * test/: setuidcases.py, testdistcc.py: Splitting tests across 20592 several files seems not to be a good idea at the moment. It 20593 doesn't really make it easier to navigate. A new factoring is 20594 desirable. 20595 20596 * setuidcases.py merged back into testdistcc.py 20597 205982003-02-26 12:33 Martin Pool <mbp@samba.org> 20599 20600 * test/: EmptySource.py, ScanArgs.py, testdistcc.py: Splitting 20601 tests across several files seems not to be a good idea at the 20602 moment. It doesn't really make it easier to navigate. A new 20603 factoring is desirable. 20604 20605 * EmptySource.py, ScanArgs.py merged back into testdistcc.py 20606 206072003-02-26 12:28 Martin Pool <mbp@samba.org> 20608 20609 * test/ScanArgs.py: Remove RunCmd_Case, whose functionality has 20610 now migrated up into ComfyChair. 20611 206122003-02-26 12:27 Martin Pool <mbp@samba.org> 20613 20614 * test/.cvsignore: Ignore ./testtmp/ if it happens to be here. 20615 206162003-02-26 12:27 Martin Pool <mbp@samba.org> 20617 20618 * test/testdistcc.py: Remove RunCmd_Case, whose functionality has 20619 now migrated up into ComfyChair. 20620 20621 * Add GPL. 20622 206232003-02-26 12:25 Martin Pool <mbp@samba.org> 20624 20625 * test/basecases.py: Remove RunCmd_Case, whose functionality has 20626 now migrated up into ComfyChair. 20627 206282003-02-26 12:22 Martin Pool <mbp@samba.org> 20629 20630 * test/comfychair.py: runCmdNoWait: add missing "import os" 20631 206322003-02-26 12:21 Martin Pool <mbp@samba.org> 20633 20634 * test/comfychair.py: Copy from distcc HEAD 20635 20636 * Make sure to print out any errors that happen while running 20637 tests, not only the ComfyChair-specific exceptions. 20638 206392003-02-26 12:18 Martin Pool <mbp@samba.org> 20640 20641 * test/comfychair.py: Merge from tpot's comfychair HEAD checkin: 20642 20643 * report failure to construct 20644 20645 * add skip_on_noexec to runCmdUnchecked 20646 206472003-02-26 12:13 Martin Pool <mbp@samba.org> 20648 20649 * test/comfychair.py: Add GPL. 20650 20651 * Add runCmdNoWait to run things in the background. 20652 20653 * Don't use '+=' to support Python 1.5. 20654 206552003-02-26 11:52 Martin Pool <mbp@samba.org> 20656 20657 * NEWS: ./configure should not be removed by distclean, only by 20658 maintainer-clean. 20659 20660 * Make Makefile work with pmake 20661 206622003-02-26 11:51 Martin Pool <mbp@samba.org> 20663 20664 * Makefile.in: Remove '$^' variable, which doesn't work with 20665 pmake. 20666 206672003-02-26 11:47 Martin Pool <mbp@samba.org> 20668 20669 * Makefile.in: ./configure should not be removed by distclean, 20670 only by maintainer-clean. 20671 206722003-02-26 11:44 Martin Pool <mbp@samba.org> 20673 20674 * Makefile.in: Change to old-style implicit rules, in the hope of 20675 getting this to compile on non-GNU Make. 20676 206772003-02-25 23:29 Martin Pool <mbp@samba.org> 20678 20679 * src/ssh.c: More cleanups/merges. Still not working. 20680 206812003-02-25 23:14 Martin Pool <mbp@samba.org> 20682 20683 * src/ssh.c: Merge more code from rsync. Still not working. 20684 206852003-02-25 23:10 Martin Pool <mbp@samba.org> 20686 20687 * configure.ac: Add socketpair test from rsync. 20688 206892003-02-25 22:50 Martin Pool <mbp@samba.org> 20690 20691 * src/ssh.c: ssh.c Check in non-working skeleton ssh code from 20692 rsync and cvs 20693 206942003-02-25 22:37 Martin Pool <mbp@samba.org> 20695 20696 * src/clinet.c: Doc 20697 206982003-02-25 22:36 Martin Pool <mbp@samba.org> 20699 20700 * src/trace.h: Don't use __FUNCTION__ if not building on gnuc. 20701 207022003-02-25 22:26 Martin Pool <mbp@samba.org> 20703 20704 * configure.ac, NEWS: Check for inet_aton in libresolv, which 20705 might fix Solaris 2.6. 20706 207072003-02-25 22:23 Martin Pool <mbp@samba.org> 20708 20709 * src/distcc.c: Clear up unused vars 20710 20711 * Doc 20712 207132003-02-25 22:22 Martin Pool <mbp@samba.org> 20714 20715 * NEWS, src/distcc.c: Avoid repeatedly locking localhost when 20716 it's chosen from the host list, because we don't have reentrant 20717 locks on Cygwin. 20718 207192003-02-25 22:09 Martin Pool <mbp@samba.org> 20720 20721 * src/distcc.c: Typo 20722 207232003-02-25 22:08 Martin Pool <mbp@samba.org> 20724 20725 * Makefile.in, src/clirpc.c, src/clirpc.h, src/distcc.c: Split 20726 client RPC code into its own file to slim distcc.c. 20727 207282003-02-25 22:04 Martin Pool <mbp@samba.org> 20729 20730 * patches/distcc-1.2.1-masquerade.patch: Patch from Wayne Davison 20731 to masquerade as cc. 20732 207332003-02-25 22:01 Martin Pool <mbp@samba.org> 20734 20735 * src/distcc.c: Doc 20736 207372003-02-25 21:49 Martin Pool <mbp@samba.org> 20738 20739 * configure.ac: Bump version to 1.3cvs 20740 207412003-02-25 21:26 Martin Pool <mbp@samba.org> 20742 20743 * .cvsignore: Ignore linbot-report. 20744 207452003-02-25 21:25 Martin Pool <mbp@samba.org> 20746 20747 * Makefile.in: Delete directory used to make distribution tarball 20748 before starting to build it. 20749 207502003-02-25 21:23 Martin Pool <mbp@samba.org> 20751 20752 * TODO: Notes about asprintf and Linuxdoc. 20753 207542003-02-25 16:59 Martin Pool <mbp@samba.org> 20755 20756 * NEWS: Note about libiberty redaction. 20757 207582003-02-25 16:57 Martin Pool <mbp@samba.org> 20759 20760 * NEWS, configure.ac: Update for 1.2.1 release. 20761 207622003-02-25 16:51 Martin Pool <mbp@samba.org> 20763 20764 * Makefile.in: Fix typo 20765 207662003-02-25 16:48 Martin Pool <mbp@samba.org> 20767 20768 * src/snprintf.c: Quieten compiler warning. 20769 207702003-02-25 16:47 Martin Pool <mbp@samba.org> 20771 20772 * configure.ac: Also check for snprintf 20773 207742003-02-25 16:38 Martin Pool <mbp@samba.org> 20775 20776 * src/arg.c: Fix small memory leak. 20777 207782003-02-25 16:33 Martin Pool <mbp@samba.org> 20779 20780 * src/exec.c: Remove dead function dcc_close_extra_fds. 20781 207822003-02-25 16:28 Martin Pool <mbp@samba.org> 20783 20784 * Makefile.in: Don't use "python -V" because it apparently 20785 doesn't work on 1.5. Just look directly in sys.version. 20786 207872003-02-25 16:14 Martin Pool <mbp@samba.org> 20788 20789 * Makefile.in: Print Python version before running tests to help 20790 in debugging remote problems. 20791 207922003-02-25 16:08 Martin Pool <mbp@samba.org> 20793 20794 * test/testdistcc.py: Remove unnecessary 'unittest' import 20795 207962003-02-25 16:07 Martin Pool <mbp@samba.org> 20797 20798 * test/testdistcc.py, NEWS: Return code from running the tests 20799 now indicates whether they worked or not. 20800 208012003-02-25 16:06 Martin Pool <mbp@samba.org> 20802 20803 * test/comfychair.py: Refactor function 20804 20805 * comfychair.runtests now returns a value that can be returned 20806 from system.exit 20807 208082003-02-25 15:53 Martin Pool <mbp@samba.org> 20809 20810 * test/testdistcc.py: Remove += operator not supported in old 20811 Pythons. 20812 208132003-02-25 15:22 Martin Pool <mbp@samba.org> 20814 20815 * test/testdistcc.py: Don't use fn(*tup) calling convention, 20816 because it's not supported in earlier Python versions. Use 20817 apply instead. 20818 208192003-02-25 15:18 Martin Pool <mbp@samba.org> 20820 20821 * configure.ac: Don't worry about -Winline, because nothing in 20822 distcc is explicitly inlined. 20823 208242003-02-25 15:14 Martin Pool <mbp@samba.org> 20825 20826 * DEPENDENCIES: We need autoconf >=2.53 20827 208282003-02-25 15:13 Martin Pool <mbp@samba.org> 20829 20830 * configure.ac: Check for vsnprintf as well. 20831 208322003-02-25 15:06 Martin Pool <mbp@samba.org> 20833 20834 * Makefile.in: Make sure snprintf.o actually gets linked in. 20835 208362003-02-25 11:28 Martin Pool <mbp@samba.org> 20837 20838 * src/lock.c: Include local declarations for asprintf if 20839 necessary. 20840 208412003-02-25 11:27 Martin Pool <mbp@samba.org> 20842 20843 * Makefile.in, NEWS, configure.ac, src/h_hosts.c, src/hosts.c, 20844 src/lock.c, src/tempfile.c, src/trace.c, src/where.c: Remove 20845 libiberty asprintf. Might fix problems with headers on Solaris 20846 and BSD. 20847 20848 * Add asprintf etc from Samba HEAD. 20849 20850 * Define _GNU_SOURCE in CPPFLAGS so that it is set for autoconf 20851 tests. 20852 20853 * Add configure test for C99-compliant vsnprintf from Samba HEAD. 20854 208552003-02-25 11:07 Martin Pool <mbp@samba.org> 20856 20857 * src/: snprintf.c, snprintf.h: Add *printf implementation from 20858 Samba HEAD. 20859 208602003-02-24 16:39 Martin Pool <mbp@samba.org> 20861 20862 * configure.ac: Remove -Wredundant-decls, because it causes noise 20863 with some system headers. 20864 208652003-02-24 16:35 Martin Pool <mbp@samba.org> 20866 20867 * configure.ac: Remove -W options that are implied by -Wall. 20868 208692003-02-24 16:29 Martin Pool <mbp@samba.org> 20870 20871 * Makefile.in: Include %.o target for Makes that have a wierd 20872 built-in definition. 20873 208742003-02-24 16:24 Martin Pool <mbp@samba.org> 20875 20876 * NEWS: Add ansidecl.h from libiberty (from gdb-5.3) 20877 208782003-02-24 16:20 Martin Pool <mbp@samba.org> 20879 20880 * Makefile.in: Add ansidecl.h from libiberty (from gdb-5.3) 20881 208822003-02-24 16:15 Martin Pool <mbp@samba.org> 20883 20884 * NEWS: Update NEWS 20885 208862003-02-24 16:12 Martin Pool <mbp@samba.org> 20887 20888 * src/io.c: Remove redundant inclusion of assert.h 20889 208902003-02-24 16:10 Martin Pool <mbp@samba.org> 20891 20892 * configure.ac, Makefile.in: Try to find Python during 20893 configuration. 20894 208952003-02-24 15:56 Martin Pool <mbp@samba.org> 20896 20897 * Makefile.in: Allow installation to complete even if the tools 20898 to build Linuxdoc are missing. 20899 209002003-02-24 15:05 Martin Pool <mbp@samba.org> 20901 20902 * Makefile.in: installcheck needs to look in the build directory 20903 as well as in the installed path to find the harness programs. 20904 In the future perhaps there ought to be a subset of tests that 20905 skips the harnesses. 20906 209072003-02-24 14:58 Martin Pool <mbp@samba.org> 20908 20909 * Makefile.in: Add "installcheck" target that can be called by 20910 the buildfarm. 20911 209122003-02-24 14:48 Martin Pool <mbp@samba.org> 20913 20914 * configure.ac: Check autoconf >= 2.53 20915 20916 * Don't use AC_CONFIG_LIBOBJ_DIR because it's not in ac 2.53 20917 209182003-02-24 14:39 Martin Pool <mbp@samba.org> 20919 20920 * configure.ac: FIXME 20921 209222003-02-24 13:59 Martin Pool <mbp@samba.org> 20923 20924 * autogen.sh: Merge back from the samba/HEAD autogen.sh 1.2, 20925 which jerry updated to work on more systems, including RH7.2. 20926 209272003-02-24 13:33 Martin Pool <mbp@samba.org> 20928 20929 * NEWS: foo 20930 209312003-02-24 13:19 Martin Pool <mbp@samba.org> 20932 20933 * NEWS: foo 20934 209352003-02-24 13:15 Martin Pool <mbp@samba.org> 20936 20937 * NEWS: Dummy checkin to test build farm. 20938 209392003-02-24 11:54 Martin Pool <mbp@samba.org> 20940 20941 * NEWS: Dummy checkin to test build farm. 20942 209432003-02-24 09:52 Martin Pool <mbp@samba.org> 20944 20945 * configure.ac: Update version to 1.2.1cvs. 20946 209472003-02-22 20:29 Martin Pool <mbp@samba.org> 20948 20949 * NEWS: Get ready for 1.2 release. 20950 209512003-02-22 20:22 Martin Pool <mbp@samba.org> 20952 20953 * configure.ac: Set bug report address to the list, not me. 20954 209552003-02-22 20:21 Martin Pool <mbp@samba.org> 20956 20957 * configure.ac: Get ready for 1.2 release. 20958 209592003-02-22 12:55 Martin Pool <mbp@samba.org> 20960 20961 * Makefile.in: Remove Docbook from distribution. 20962 209632003-02-22 12:53 Martin Pool <mbp@samba.org> 20964 20965 * Makefile.in: filename.h: New file. 20966 209672003-02-22 12:41 Martin Pool <mbp@samba.org> 20968 20969 * src/: arg.c, cpp.c, distcc.c, distcc.h, exec.c, exec.h, 20970 filename.c, filename.h, hosts.c, implicit.c, lock.c, serve.c, 20971 strip.c, trace.h: Cleanups to fix various gcc warnings. 20972 209732003-02-22 12:20 Martin Pool <mbp@samba.org> 20974 20975 * src/distcc.h: Remove redundant decls. 20976 209772003-02-22 12:19 Martin Pool <mbp@samba.org> 20978 20979 * configure.ac: Turn on more compiler warnings. 20980 209812003-02-22 12:16 Martin Pool <mbp@samba.org> 20982 20983 * TODO: Turn on more compiler warnings. 20984 20985 * Note about statistics. 20986 209872003-02-22 12:07 Martin Pool <mbp@samba.org> 20988 20989 * src/hosts.c: Refactor code into new function 20990 dcc_parse_localhost. 20991 209922003-02-22 11:58 Martin Pool <mbp@samba.org> 20993 20994 * src/hosts.c: Fix comments 20995 209962003-02-22 11:56 Martin Pool <mbp@samba.org> 20997 20998 * NEWS: Roll back to Linuxdoc for the manual. 20999 210002003-02-22 11:37 Martin Pool <mbp@samba.org> 21001 21002 * linuxdoc/distcc.sgml: Ask people to report bugs to the mailing 21003 list, not to me. 21004 210052003-02-22 11:35 Martin Pool <mbp@samba.org> 21006 21007 * linuxdoc/distcc.sgml: distcc.sgml Resurrect Linuxdoc manual 21008 210092003-02-22 11:25 Martin Pool <mbp@samba.org> 21010 21011 * Makefile.in: Use rsync --delete when uploading manual to delete 21012 unneeded files. 21013 210142003-02-22 11:12 Martin Pool <mbp@samba.org> 21015 21016 * Makefile.in: Roll back to Linuxdoc for the manual. Docbook 21017 tools seem to be still too unstable. 21018 210192003-02-21 11:54 Martin Pool <mbp@samba.org> 21020 21021 * Makefile.in: Add "links" web page 21022 210232003-02-21 10:13 Martin Pool <mbp@samba.org> 21024 21025 * patches/distcc-line3.diff: Patch from Tim Janik to absolutize 21026 #line directives. 21027 210282003-02-21 10:08 Martin Pool <mbp@samba.org> 21029 21030 * doc/lca2003/slides/.cvsignore: Ignore built Postscript 21031 210322003-02-21 10:05 Martin Pool <mbp@samba.org> 21033 21034 * Makefile.in: Include additional Python files in distribution. 21035 210362003-02-19 13:09 Martin Pool <mbp@samba.org> 21037 21038 * test/testdistcc.py: By default only one job is run locally now. 21039 210402003-02-18 17:55 Martin Pool <mbp@samba.org> 21041 21042 * NEWS: Postscript and PDF turned off for now. 21043 210442003-02-18 17:44 Martin Pool <mbp@samba.org> 21045 21046 * Makefile.in: Add target to build "nochunks" (one big page) 21047 manual. 21048 210492003-02-18 17:22 Martin Pool <mbp@samba.org> 21050 21051 * Makefile.in: Add upload-usermanual target. 21052 210532003-02-18 15:15 Martin Pool <mbp@samba.org> 21054 21055 * Makefile.in: Put usermanual files correctly into distribution. 21056 210572003-02-18 15:14 Martin Pool <mbp@samba.org> 21058 21059 * Makefile.in: Add targets/rules to build, distribute and install 21060 the Docbook-XML manual. 21061 210622003-02-18 14:37 Martin Pool <mbp@samba.org> 21063 21064 * doc/aoss2002/slides/: README.aoss2002, aoss4.mgp, flow.dia, 21065 flow.png: Move AOSS2002 slides 21066 210672003-02-14 15:40 Martin Pool <mbp@samba.org> 21068 21069 * TODO: Add note about slow networks. 21070 210712003-02-13 18:10 Martin Pool <mbp@samba.org> 21072 21073 * src/where.c: Don't use XMIT locks for localhost, because there 21074 is no transmission phase. 21075 210762003-02-13 18:00 Martin Pool <mbp@samba.org> 21077 21078 * src/distcc.c: Change completion message for remote compile to 21079 "compile on FOO" rather than "gcc on FOO". Easier to grep for. 21080 210812003-02-13 17:56 Martin Pool <mbp@samba.org> 21082 21083 * src/hosts.c: /N syntax now *sets* the number of slots, rather 21084 than setting a multiplier. 21085 21086 * Default for localhost is now 1. 21087 210882003-02-13 17:13 Martin Pool <mbp@samba.org> 21089 21090 * src/hosts.c: Add HOST/NSLOTS syntax to limit number of tasks. 21091 Patch from Rusty. 21092 210932003-02-13 16:50 Martin Pool <mbp@samba.org> 21094 21095 * src/where.c: dcc_lock_one: New implementation: 21096 21097 The previous code was far too heavily biased towards the first 21098 machine, because it tried to find any empty CPU slot there even 21099 if 21100 other machines were idle. Now, the outer loop is the slot 21101 number, 21102 and we try all hosts with at least that many slots. 21103 21104 We acquire the CPU lock before getting the XMIT lock. 21105 211062003-02-13 16:27 Martin Pool <mbp@samba.org> 21107 21108 * src/where.c: Typo: didn't set CPU slot properly. 21109 211102003-02-13 16:19 Martin Pool <mbp@samba.org> 21111 21112 * src/: distcc.c, lock.c, where.c, where.h: Update new scheduler 21113 to use two locks: one controlling access to the remote 21114 machine's CPU, and one serializing the network connection to 21115 the machine to avoid inadvertent synchronization. 21116 211172003-02-13 15:52 Martin Pool <mbp@samba.org> 21118 21119 * TODO: Add compiler warnings from Daniel Veilard 21120 211212003-02-12 18:24 Martin Pool <mbp@samba.org> 21122 21123 * test/testdistcc.py: Import new setuidcases module. 21124 211252003-02-12 18:12 Martin Pool <mbp@samba.org> 21126 21127 * test/setuidcases.py: New file to check --user option. 21128 211292003-02-12 18:08 Martin Pool <mbp@samba.org> 21130 21131 * test/comfychair.py: require(), require_root(): New functions 21132 that causes a test to be skipped unless particular conditions 21133 are met. 21134 211352003-02-12 17:46 Martin Pool <mbp@samba.org> 21136 21137 * test/comfychair.py: Merge from comfychair CVS 21138 211392003-02-11 11:18 Martin Pool <mbp@samba.org> 21140 21141 * src/lock.c: Fixme. 21142 211432003-02-07 21:17 Martin Pool <mbp@samba.org> 21144 21145 * src/: distcc.c, where.c, where.h: Rename dcc_pick_buildhost to 21146 dcc_pick_host_from_env 21147 211482003-02-05 23:11 Martin Pool <mbp@samba.org> 21149 21150 * TODO: [no log message] 21151 211522003-02-05 23:07 Martin Pool <mbp@samba.org> 21153 21154 * Makefile.in: Don't delete config.status with plain "make 21155 clean", because it's really at the same level as the Makefile. 21156 211572003-02-05 23:05 Martin Pool <mbp@samba.org> 21158 21159 * src/bulk.c, NEWS: Add O_BINARY bit needed for Cygwin. Based on 21160 a patch from Helind. 21161 211622003-02-05 22:43 Martin Pool <mbp@samba.org> 21163 21164 * DEPENDENCIES: Note about dietlibc. 21165 211662003-02-05 22:41 Martin Pool <mbp@samba.org> 21167 21168 * Makefile.in: Update "*clean" targets: cleaning should remove 21169 configure state files; maintainer-clean should remove all 21170 autoconf files that can be regenerated. 21171 21172 From a patch by Paul Russell. 21173 211742003-02-05 21:52 Martin Pool <mbp@samba.org> 21175 21176 * TODO: Note about manpages. 21177 211782003-02-05 19:14 Martin Pool <mbp@samba.org> 21179 21180 * src/distcc.h: opt_allowed needs to be declared extern. Found 21181 by tcc. 21182 211832003-02-05 19:11 Martin Pool <mbp@samba.org> 21184 21185 * TODO: [no log message] 21186 211872003-02-05 19:10 Martin Pool <mbp@samba.org> 21188 21189 * src/io.c: Change assert to trace call to make dietlibc happy 21190 211912003-02-05 19:08 Martin Pool <mbp@samba.org> 21192 21193 * src/clinet.c: fixme 21194 211952003-02-04 23:02 Martin Pool <mbp@samba.org> 21196 21197 * src/where.c: Cleanup comments. 21198 211992003-02-04 22:58 Martin Pool <mbp@samba.org> 21200 21201 * NEWS, src/bulk.c, src/bulk.h, src/distcc.c, src/serve.c: Show 21202 timing on transmission of DOTI and DOTO files. 21203 212042003-02-04 22:48 Martin Pool <mbp@samba.org> 21205 21206 * src/bulk.c: Remove dcc_r_fifo, which is no longer called 21207 because we no longer support feeding the compiler from a fifo. 21208 212092003-02-04 19:58 Martin Pool <mbp@samba.org> 21210 21211 * Makefile.in, src/bulk.c, src/bulk.h, src/distcc.c, src/serve.c: 21212 Show transfer rate for transmitted files. 21213 212142003-02-04 19:55 Martin Pool <mbp@samba.org> 21215 21216 * src/: timeval.c, timeval.h: Add GNU function for calculating 21217 the difference between timevals. 21218 212192003-02-04 19:29 Martin Pool <mbp@samba.org> 21220 21221 * doc/release-names.txt: [no log message] 21222 212232003-02-04 19:21 Martin Pool <mbp@samba.org> 21224 21225 * configure.ac: Add ./lib to include path so libiberty.h can be 21226 found. 21227 212282003-02-03 12:50 Martin Pool <mbp@samba.org> 21229 21230 * src/rpc.h: Doc 21231 212322003-02-03 12:49 Martin Pool <mbp@samba.org> 21233 21234 * TODO: [no log message] 21235 212362003-02-03 01:15 Martin Pool <mbp@samba.org> 21237 21238 * doc/new-scheduler.txt: Notes on new scheduler 21239 212402003-02-03 00:59 Martin Pool <mbp@samba.org> 21241 21242 * NEWS: Describe new scheduling algorithm. 21243 212442003-02-03 00:44 Martin Pool <mbp@samba.org> 21245 21246 * src/where.c: Better message 21247 212482003-02-03 00:43 Martin Pool <mbp@samba.org> 21249 21250 * src/distcc.c: Fixme 21251 212522003-02-03 00:28 Martin Pool <mbp@samba.org> 21253 21254 * src/where.c: Doc 21255 212562003-02-03 00:27 Martin Pool <mbp@samba.org> 21257 21258 * src/distcc.c: Hold transmit lock only while sending request. 21259 212602003-02-03 00:27 Martin Pool <mbp@samba.org> 21261 21262 * src/where.c: Doc 21263 212642003-02-03 00:27 Martin Pool <mbp@samba.org> 21265 21266 * src/: lock.c, lock.h: (dcc_unlock): New function. 21267 212682003-02-03 00:13 Martin Pool <mbp@samba.org> 21269 21270 * src/: distcc.c, lock.c, lock.h, where.c, where.h: Lock 21271 functions pass back their fd so that it can be released later. 21272 21273 * (dcc_lock_host): Clean up error handling. 21274 212752003-02-03 00:06 Martin Pool <mbp@samba.org> 21276 21277 * src/lock.h: Add lock_fd parameter to dcc_lock_host and 21278 dcc_lock_local functions 21279 212802003-02-03 00:04 Martin Pool <mbp@samba.org> 21281 21282 * src/lock.c: Doc 21283 212842003-02-03 00:04 Martin Pool <mbp@samba.org> 21285 21286 * src/lock.c: Remove redundant dcc_get_tempdir call. 21287 212882003-02-03 00:03 Martin Pool <mbp@samba.org> 21289 21290 * src/lock.c: Split lockfile creation into dcc_open_lockfile 21291 212922003-02-03 00:01 Martin Pool <mbp@samba.org> 21293 21294 * src/: where.c, where.h: Document locking system. 21295 21296 * Add a "lockname" parameter to allow for multiple locks in the 21297 future. 21298 21299 * WORK IN PROGRESS: Start moving towards new transmission-based 21300 locking, where we hold the lock only while sending. Not done 21301 yet. 21302 213032003-02-03 00:00 Martin Pool <mbp@samba.org> 21304 21305 * src/: lock.c, lock.h: Document locking system. 21306 21307 * Add a "lockname" parameter to allow for multiple locks in the 21308 future. 21309 213102003-02-02 23:44 Martin Pool <mbp@samba.org> 21311 21312 * Makefile.in: Remove linuxdoc targets from the Makefile to allow 21313 for transition to Docbook. Docbook manual is not built yet 21314 because of issues with Debian's xsltproc. 21315 213162003-02-02 23:34 Martin Pool <mbp@samba.org> 21317 21318 * TODO: [no log message] 21319 213202003-02-02 23:31 Martin Pool <mbp@samba.org> 21321 21322 * Makefile.in: Add README.libiberty to distributed files. 21323 213242003-02-02 23:31 Martin Pool <mbp@samba.org> 21325 21326 * README.libiberty: Check in some files from libiberty. 21327 213282003-02-02 23:30 Martin Pool <mbp@samba.org> 21329 21330 * src/lock.c: (dcc_lock_host): Add doc. 21331 21332 Change "already locked" to less ambiguous "%s is busy". 21333 21334 Update to use standard exit codes. 21335 213362003-02-02 23:24 Martin Pool <mbp@samba.org> 21337 21338 * src/exitcode.h: Add EXIT_BUSY. 21339 213402003-02-02 22:56 Martin Pool <mbp@samba.org> 21341 21342 * src/lock.c: Use libiberty for asprintf(). 21343 21344 * (dcc_make_lock_filename): Rewrite to use asprintf() rather than 21345 a fixed-length buffer. Safer and simpler. 21346 21347 Lock filenames now take into account the port as well as the 21348 hostname, and it supports ssh schemes. 21349 213502003-02-02 22:54 Martin Pool <mbp@samba.org> 21351 21352 * NEWS: [no log message] 21353 213542003-02-02 22:48 Martin Pool <mbp@samba.org> 21355 21356 * Makefile.in: Include libiberty source in distribution. 21357 213582003-02-02 22:48 Martin Pool <mbp@samba.org> 21359 21360 * configure.ac: Add lib/ directory 21361 21362 * Check for asprintf() and vasprintf() and replace them if not 21363 present. 21364 213652003-02-02 22:06 Martin Pool <mbp@samba.org> 21366 21367 * TODO: Notes on Docbook. 21368 21369 * Notes on a minimal gcc for clients. 21370 213712003-02-02 16:30 Martin Pool <mbp@samba.org> 21372 21373 * linuxdoc/: distcc.sgml, footer.html: Remove Linuxdoc 21374 documentation now that it's been converted to Docbook XML 21375 213762003-02-02 16:30 Martin Pool <mbp@samba.org> 21377 21378 * NEWS: Note conversion of user manual. 21379 213802003-02-02 16:18 Martin Pool <mbp@samba.org> 21381 21382 * patches/timj-line1.diff: Patch from Tim Janik to post-process 21383 the preprocessor output to absolutify file names. It works and 21384 it's nicely written, but I'm not yet convinced that the benefit 21385 is justified. 21386 213872003-02-02 14:38 Martin Pool <mbp@samba.org> 21388 21389 * src/.cvsignore: Don't ignore .d and .i files, since they 21390 shouldn't be generated anymore. 21391 213922003-02-02 14:37 Martin Pool <mbp@samba.org> 21393 21394 * Makefile.in, contrib/distcc-absolutify, contrib/netpwd, 21395 contrib/stage-cc-wrapper.patch: Additional contributed scripts 21396 by Alexandre Oliva useful in building gcc using distcc. From 21397 his mail of 14 Aug 2002. 21398 213992003-01-31 15:03 Martin Pool <mbp@samba.org> 21400 21401 * src/where.c: Doc 21402 214032003-01-31 11:48 Martin Pool <mbp@samba.org> 21404 21405 * analog/.cvsignore: Ignore generated files. 21406 214072003-01-31 11:17 Martin Pool <mbp@samba.org> 21408 21409 * TODO: Notes on corks, scheduling, and tcp options. 21410 214112003-01-31 10:56 Martin Pool <mbp@samba.org> 21412 21413 * TODO: Notes about scheduling from BBQ 21414 214152003-01-31 10:42 Martin Pool <mbp@samba.org> 21416 21417 * TODO: Note about #pragma implementation 21418 214192003-01-29 15:52 Martin Pool <mbp@samba.org> 21420 21421 * linuxdoc/distcc.sgml: Grammar fixes. 21422 214232003-01-29 12:14 Martin Pool <mbp@samba.org> 21424 21425 * src/dopt.c: (distccd_show_usage): Remove vestigial argument to 21426 printf 21427 21428 * (distccd_parse_options): Fix return code handling 21429 21430 * Doc 21431 214322003-01-29 00:52 Martin Pool <mbp@samba.org> 21433 21434 * Makefile.in: Typo 21435 214362003-01-29 00:50 Martin Pool <mbp@samba.org> 21437 21438 * test/testdistcc.py: TODO 21439 214402003-01-29 00:49 Martin Pool <mbp@samba.org> 21441 21442 * src/: access.h, distcc.h, dopt.c, srvnet.c: Add --allow, -a 21443 option to distccd. Build up a list of allowed client 21444 addresses. Check against them when a client connects; drop the 21445 connection if it's not allowed. 21446 214472003-01-29 00:46 Martin Pool <mbp@samba.org> 21448 21449 * NEWS: Note new --allow option. 21450 214512003-01-29 00:19 Martin Pool <mbp@samba.org> 21452 21453 * src/: access.c, access.h, h_parsemask.c: Add code to actually 21454 check whether access ought to be allowed. 21455 214562003-01-29 00:08 Martin Pool <mbp@samba.org> 21457 21458 * src/: access.c, access.h, h_parsemask.c: Start adding IP-based 21459 access control. So far, a function to parse matchers like 21460 10.0.0.0/8. 21461 214622003-01-29 00:07 Martin Pool <mbp@samba.org> 21463 21464 * Makefile.in, .cvsignore: Add new h_parsemask test harness. 21465 214662003-01-29 00:02 Martin Pool <mbp@samba.org> 21467 21468 * doc/lca2003/slides/: .cvsignore, distcc-lca2003.mgp, flow.dia, 21469 flow.png: Add LCA2003 slides. 21470 214712003-01-28 23:14 Martin Pool <mbp@samba.org> 21472 21473 * Makefile.in: Add access.c and access.h 21474 214752003-01-28 19:57 Martin Pool <mbp@samba.org> 21476 21477 * NEWS, src/exec.c: * Use putenv() rather than setenv() to fit 21478 into SUSv2 and work on Solaris 21479 8. Pointed out by Dimitri Papadopoulos. 21480 214812003-01-28 19:52 Martin Pool <mbp@samba.org> 21482 21483 * test/testdistcc.py: TODO 21484 214852003-01-28 01:24 Martin Pool <mbp@samba.org> 21486 21487 * src/access.c: Empty file 21488 214892003-01-28 01:21 Martin Pool <mbp@samba.org> 21490 21491 * src/lock.c: Doc 21492 214932003-01-28 01:19 Martin Pool <mbp@samba.org> 21494 21495 * src/dopt.c: Fix string syntax problem. 21496 214972003-01-28 01:18 Martin Pool <mbp@samba.org> 21498 21499 * configure.ac: Version to 1.2cvs 21500 215012003-01-28 01:18 Martin Pool <mbp@samba.org> 21502 21503 * src/help.c: Please send bugs to the mailing list 21504 215052003-01-28 01:17 Martin Pool <mbp@samba.org> 21506 21507 * src/help.c: Update copyright 21508 215092003-01-28 01:06 Martin Pool <mbp@samba.org> 21510 21511 * Makefile.in: Add missing Python source. 21512 215132003-01-28 01:05 Martin Pool <mbp@samba.org> 21514 21515 * TODO: [no log message] 21516 215172003-01-28 01:01 Martin Pool <mbp@samba.org> 21518 21519 * src/: dparent.c, daemon.c: srvnet.h: new header 21520 215212003-01-28 00:56 Martin Pool <mbp@samba.org> 21522 21523 * NEWS, configure.ac: Update for 1.1 21524 215252003-01-28 00:52 Martin Pool <mbp@samba.org> 21526 21527 * NEWS: Updates to manual 21528 215292003-01-28 00:21 Martin Pool <mbp@samba.org> 21530 21531 * analog/extract_version_downloads.py: Simple script to show the 21532 number of downloads of each version. 21533 215342003-01-27 23:23 Martin Pool <mbp@samba.org> 21535 21536 * src/lock.c: Doc 21537 215382003-01-27 23:19 Martin Pool <mbp@samba.org> 21539 21540 * TODO: Note about taking host list from a file. 21541 215422003-01-27 23:16 Martin Pool <mbp@samba.org> 21543 21544 * src/distcc.h: New srvnet.h header 21545 215462003-01-27 23:16 Martin Pool <mbp@samba.org> 21547 21548 * patches/andresen-gcc-wrapper-r2.tbz2: Patch from Eric Andresen 21549 for Gentoo bug #13897 to add some kind of wrapper. 21550 215512003-01-27 23:13 Martin Pool <mbp@samba.org> 21552 21553 * src/distcc.c: Doxygen cleanups 21554 215552003-01-27 23:11 Martin Pool <mbp@samba.org> 21556 21557 * src/dparent.c: Just refuse root once at the top level of 21558 distccd. We don't support binding reserved ports so there's no 21559 need to do it any later as far as I can see. 21560 215612003-01-27 23:06 Martin Pool <mbp@samba.org> 21562 21563 * src/dopt.c: Doc 21564 21565 * Add new --user option. Warning is printed if this is used when 21566 not started by root. 21567 21568 * Sort option table into alphabetical order. 21569 215702003-01-27 23:03 Martin Pool <mbp@samba.org> 21571 21572 * src/: exec.h, exec.c: Doc 21573 215742003-01-27 23:01 Martin Pool <mbp@samba.org> 21575 21576 * src/exitcode.h: Give the exitcode enum a name 21577 21578 * Add EXIT_SETUID_FAILED and EXIT_ACCESS_DENIED 21579 215802003-01-27 22:59 Martin Pool <mbp@samba.org> 21581 21582 * src/hosts.h: Fix Doxygen glitch 21583 215842003-01-27 22:58 Martin Pool <mbp@samba.org> 21585 21586 * src/io.c: Split sendfile wrappers out into src/sendfile.c 21587 215882003-01-27 22:55 Martin Pool <mbp@samba.org> 21589 21590 * src/: setuid.c, setuid.h: New code for discarding privileges 21591 when run by root. 21592 215932003-01-27 22:54 Martin Pool <mbp@samba.org> 21594 21595 * src/serve.c: src/srvnet.h: New header 21596 21597 * Log client name (and in the future, check access) very early in 21598 connection handling. 21599 21600 * Doc. 21601 216022003-01-27 22:53 Martin Pool <mbp@samba.org> 21603 21604 * src/trace.h: Update Doxygen. 21605 216062003-01-27 22:50 Martin Pool <mbp@samba.org> 21607 21608 * src/util.h: Move srvnet functions to srvnet.h 21609 216102003-01-27 22:41 Martin Pool <mbp@samba.org> 21611 21612 * src/util.c: Message when exiting should always just be level 21613 'info'. 21614 21615 * Just show 4 decimal places in time measurements. Higher than 21616 that may not be very meaningful. 21617 216182003-01-27 22:36 Martin Pool <mbp@samba.org> 21619 21620 * src/srvnet.c: src/srvnet.h: New header 21621 21622 * Doc 21623 21624 * Prepare for IP access-control checks 21625 216262003-01-27 22:35 Martin Pool <mbp@samba.org> 21627 21628 * src/srvnet.h: src/srvnet.h: New header 21629 216302003-01-27 22:33 Martin Pool <mbp@samba.org> 21631 21632 * src/sendfile.c: Move sendfile support into sendfile.c 21633 21634 * Doc 21635 21636 * Better handling of unsupported systems 21637 216382003-01-27 22:30 Martin Pool <mbp@samba.org> 21639 21640 * Makefile.in: src/sendfile.c: Split sendfile into a separate 21641 source file 21642 21643 * src/setuid.c, src/setuid.h: Add new ability to change persona 21644 when started by root 21645 21646 * src/srvnet.h: Move server-side network functions to their own 21647 file. 21648 216492003-01-27 22:28 Martin Pool <mbp@samba.org> 21650 21651 * src/daemon.c: Update Doxygen tags 21652 21653 * Remove unneeded headers 21654 21655 * Discard root privileges if we have them. 21656 216572003-01-27 22:27 Martin Pool <mbp@samba.org> 21658 21659 * src/: arg.c, clinet.c: Update Doxygen tags 21660 216612003-01-27 22:25 Martin Pool <mbp@samba.org> 21662 21663 * NEWS: tcpwrappers isn't in after all, because it's poorly 21664 documented and I'm not convinced it's a good fit for distccd. 21665 For example, it can only normally be configured by root, but we 21666 want to make sure that distccd can be installed and run by 21667 ordinary users. 21668 216692003-01-27 22:24 Martin Pool <mbp@samba.org> 21670 21671 * bench/: Build.py, Project.py: Better messages while build is in 21672 progress. 21673 216742003-01-27 22:23 Martin Pool <mbp@samba.org> 21675 21676 * bench/ProjectDefs.py: Point at glibc 2.3.1 rather than 2.3 in 21677 the hope that this will work better. (It doesn't build yet 21678 unfortunately.) 21679 216802003-01-27 22:21 Martin Pool <mbp@samba.org> 21681 21682 * doc/release-names.txt: [no log message] 21683 216842003-01-27 22:21 Martin Pool <mbp@samba.org> 21685 21686 * README.packaging: Please use shlibs 21687 21688 * Please use proper gcc names 21689 216902003-01-27 22:18 Martin Pool <mbp@samba.org> 21691 21692 * configure.ac: Doc 21693 21694 * Fix help string for --with-included-popt 21695 21696 * Some cleanups 21697 21698 * Look for setgroups() 21699 217002003-01-27 22:17 Martin Pool <mbp@samba.org> 21701 21702 * NEWS, OLDNEWS: Update NEWS for recent commits 21703 21704 * Keep all change notes in the NEWS file per GNU standards. 21705 OLDNEWS is now empty. 21706 217072003-01-27 22:15 Martin Pool <mbp@samba.org> 21708 21709 * README: Update performance for current project status 21710 217112003-01-27 22:12 Martin Pool <mbp@samba.org> 21712 21713 * TODO: Many TODO updates. 21714 217152003-01-27 22:06 Martin Pool <mbp@samba.org> 21716 21717 * test/testdistcc.py: Doc 21718 217192003-01-27 21:49 Martin Pool <mbp@samba.org> 21720 21721 * .cvsignore, Doxyfile: Add Doxygen configuration. Not called 21722 from Makefile. 21723 217242003-01-27 21:35 Martin Pool <mbp@samba.org> 21725 21726 * linuxdoc/distcc.sgml: Just show CVS date, not version. 21727 21728 * Update to version 1.1. 21729 21730 * Update: distccd now sends error messages back to the client as 21731 well as to its local log file. 21732 21733 * Remove "author" section left over from man page. 21734 21735 * Describe --verbose option. 21736 21737 * Add description of new EXIT_RECURSION code 21738 21739 * Move "Compatibility" section into a new chapter. 21740 21741 * Move "Cross compilation" into a new chapter, because it's not 21742 relevant to many users. 21743 21744 * Reformat Huxley quote to make it fit better. 21745 21746 * Rearrange introduction. 21747 21748 * Warning not to use --no-fork. 21749 21750 * Document --no-detach. 21751 217522003-01-24 20:16 Martin Pool <mbp@samba.org> 21753 21754 * NEWS, src/srvnet.c: Don't log client hostname, only the IP 21755 address. It's not really necessary and can slow us down. 21756 217572003-01-24 20:08 Martin Pool <mbp@samba.org> 21758 21759 * NEWS, src/distcc.c, src/distcc.h, src/exec.c, src/exec.h, 21760 src/exitcode.h: Add environment variable to check for 21761 inadvertent recursion. 21762 217632003-01-24 20:03 Martin Pool <mbp@samba.org> 21764 21765 * bench/buildutil.py: Better error message for command failures 21766 217672003-01-24 19:54 Martin Pool <mbp@samba.org> 21768 21769 * NEWS: Add check for inadvertent recursion 21770 217712003-01-24 19:52 Martin Pool <mbp@samba.org> 21772 21773 * TODO: Many updates to TODO 21774 217752003-01-24 19:51 Martin Pool <mbp@samba.org> 21776 21777 * bench/compiler.py: Don't explicitly say "gcc-3.2", because it's 21778 not available under that name on Red Hat 8.0. 21779 217802003-01-20 11:22 Martin Pool <mbp@samba.org> 21781 21782 * NEWS, configure.ac: Fix configure test for hstrerror(). 21783 (Frerich Raabe) 21784 217852003-01-19 20:50 Martin Pool <mbp@samba.org> 21786 21787 * bench/Summary.py: Fix bugs in printing statistics. 21788 217892003-01-19 20:29 Martin Pool <mbp@samba.org> 21790 21791 * bench/buildutil.py: Better formatting time messages. 21792 217932003-01-19 20:27 Martin Pool <mbp@samba.org> 21794 21795 * bench/Summary.py: Better handling of statistics generation or 21796 build failures. 21797 217982003-01-19 18:45 Martin Pool <mbp@samba.org> 21799 21800 * src/arg.c: Doc. 21801 218022003-01-19 18:43 Martin Pool <mbp@samba.org> 21803 21804 * test/: ScanArgs.py, basecases.py, testdistcc.py: Split some 21805 Python classes out into separate files. 21806 218072003-01-19 18:19 Martin Pool <mbp@samba.org> 21808 21809 * src/arg.c: Doc. 21810 218112003-01-19 15:10 Martin Pool <mbp@samba.org> 21812 21813 * src/dopt.c: Remove ifdef'd code. 21814 218152003-01-18 23:57 Martin Pool <mbp@samba.org> 21816 21817 * configure.ac: TODO about finding Python. 21818 218192003-01-18 23:55 Martin Pool <mbp@samba.org> 21820 21821 * test/testdistcc.py: Roll back change to version number format. 21822 218232003-01-18 23:48 Martin Pool <mbp@samba.org> 21824 21825 * src/: .cvsignore, config.h.in: Build config.h.in, rather than 21826 storing in CVS. 21827 218282003-01-18 23:46 Martin Pool <mbp@samba.org> 21829 21830 * src/io.c, NEWS: Flag platforms that have a sendfile() function, 21831 but that aren't explicitly supported, because it seems to vary 21832 substantially. At the moment only FreeBSD and Linux are known. 21833 218342003-01-18 23:43 Martin Pool <mbp@samba.org> 21835 21836 * configure.ac: Fix text formatting. 21837 218382003-01-18 23:41 Martin Pool <mbp@samba.org> 21839 21840 * test/testdistcc.py, NEWS: Be less strict in checking the output 21841 from the plain text preprocessor, because this seems to have 21842 changed in gcc 3.2. 21843 218442003-01-18 23:36 Martin Pool <mbp@samba.org> 21845 21846 * test/testdistcc.py: Update copyright 21847 21848 * Allow for new --version output 21849 21850 * Fix accidental extra newline in C source, when we wanted the 21851 escape sequence "\n" 21852 21853 * Change way the preprocessor is called -- not working yet. 21854 218552003-01-18 22:53 Martin Pool <mbp@samba.org> 21856 21857 * .cvsignore: Ignore files produced by autoconf. 21858 218592003-01-18 22:51 Martin Pool <mbp@samba.org> 21860 21861 * bench/benchmark.py, NEWS: Projects can now be selected by 21862 unambiguous name prefix 21863 218642003-01-18 22:39 Martin Pool <mbp@samba.org> 21865 21866 * configure.ac: Update copyright 21867 218682003-01-18 22:38 Martin Pool <mbp@samba.org> 21869 21870 * config.guess, config.sub: Update from Debian autotools-dev 21871 218722003-01-18 22:27 Martin Pool <mbp@samba.org> 21873 21874 * config.sub: Resurrect 21875 218762003-01-18 22:22 Martin Pool <mbp@samba.org> 21877 21878 * bench/: Build.py, Summary.py, actions.py, benchmark.py, 21879 statistics.py: Make std dev and variance methods handle 21880 too-short sequences by returning None, rather than failing. 21881 21882 * Add -n option to run benchmarks repeatedly. 21883 218842003-01-18 22:21 Martin Pool <mbp@samba.org> 21885 21886 * aclocal.m4, config.guess, config.sub, configure: Stop storing 21887 autoconf junk in CVS 21888 218892003-01-18 22:19 Martin Pool <mbp@samba.org> 21890 21891 * TODO: Need to document benchmark. 21892 218932003-01-18 22:10 Martin Pool <mbp@samba.org> 21894 21895 * Makefile.in: Invite people to pass BENCH_ARGS to Make to 21896 control the benchmark. 21897 218982003-01-18 22:02 Martin Pool <mbp@samba.org> 21899 21900 * Makefile.in: Include bench/statistics.py in distribution. 21901 219022003-01-18 22:00 Martin Pool <mbp@samba.org> 21903 21904 * bench/Summary.py, bench/statistics.py, NEWS: Start to add 21905 support in the Summary class for repeated runs of a benchmark, 21906 plus a new "statistics" library containing code to do mean and 21907 std dev. 21908 219092003-01-18 21:50 Martin Pool <mbp@samba.org> 21910 21911 * NEWS: Roll over news 21912 219132003-01-18 21:49 Martin Pool <mbp@samba.org> 21914 21915 * OLDNEWS: Put in correct version of old news file. 21916 219172003-01-18 21:36 Martin Pool <mbp@samba.org> 21918 21919 * OLDNEWS: Roll over NEWS. 21920 219212003-01-17 12:05 Martin Pool <mbp@samba.org> 21922 21923 * configure, configure.ac: Bump version to 1.1cvs 21924 219252003-01-17 12:00 Martin Pool <mbp@samba.org> 21926 21927 * src/daemon.c: FIXME about running as root. 21928 219292003-01-17 11:37 Martin Pool <mbp@samba.org> 21930 21931 * src/daemon.c: fixme 21932 219332003-01-16 11:36 Martin Pool <mbp@samba.org> 21934 21935 * configure: Prepare for 1.0 release. 21936 219372003-01-16 11:32 Martin Pool <mbp@samba.org> 21938 21939 * configure.ac: Prepare for 1.0 release. 21940 219412003-01-16 11:28 Martin Pool <mbp@samba.org> 21942 21943 * NEWS, configure.ac: Prepare for 1.0 release. 21944 219452003-01-16 11:06 Martin Pool <mbp@samba.org> 21946 21947 * Makefile.in: Include benchmark source in tarball. 21948 21949 * bzip tarball rather than gzipping it, to save a little space. 21950 219512003-01-15 22:22 Martin Pool <mbp@samba.org> 21952 21953 * bench/benchmark.py: Doc 21954 219552003-01-14 16:25 Martin Pool <mbp@samba.org> 21956 21957 * NEWS: Build .bz2 tarball rather than .tgz 21958 21959 * Remove PS and PDF from tarball. 21960 219612003-01-14 16:03 Martin Pool <mbp@samba.org> 21962 21963 * NEWS: [no log message] 21964 219652003-01-14 15:46 Martin Pool <mbp@samba.org> 21966 21967 * Makefile.in: Do not include PDF or PS in the tarball, or 21968 install them by default. This may save some space in the 21969 distribution. They can be built from source using the Linuxdoc 21970 tool, or downloaded. 21971 219722003-01-14 15:03 Martin Pool <mbp@samba.org> 21973 21974 * Makefile.in: Resolve logfile lines in order. 21975 219762003-01-14 15:01 Martin Pool <mbp@samba.org> 21977 21978 * bench/.cvsignore: Ignore bench.log 21979 219802003-01-14 00:54 Martin Pool <mbp@samba.org> 21981 21982 * src/io.c: Correct calling of sendfile on BSD 21983 219842003-01-13 14:47 Martin Pool <mbp@samba.org> 21985 21986 * TODO: [no log message] 21987 219882003-01-13 12:24 Martin Pool <mbp@samba.org> 21989 21990 * Makefile.in: Benchmark must be run from bench/ directory. 21991 219922003-01-12 23:59 Martin Pool <mbp@samba.org> 21993 21994 * bench/Summary.py: Show uname in summary. 21995 219962003-01-12 23:51 Martin Pool <mbp@samba.org> 21997 21998 * bench/Summary.py: Show uname in summary. 21999 220002003-01-12 23:40 Martin Pool <mbp@samba.org> 22001 22002 * bench/Project.py: Doc snarf bug. 22003 220042003-01-12 23:24 Martin Pool <mbp@samba.org> 22005 22006 * Makefile.in, NEWS: * Remove Plucker file: nobody seems to be 22007 downloading it, and it's 22008 easy enough for people to build if they're interested. 22009 220102003-01-12 23:09 Martin Pool <mbp@samba.org> 22011 22012 * bench/Summary.py: Store results into Summary in the order in 22013 which they are generated. 22014 220152003-01-12 23:05 Martin Pool <mbp@samba.org> 22016 22017 * bench/: Build.py, actions.py: Add action to "make clean" if 22018 desired. Off by default. 22019 220202003-01-12 22:58 Martin Pool <mbp@samba.org> 22021 22022 * bench/: Build.py, CompilerSpec.py, benchmark.py, compiler.py: 22023 Add -c option to specify compilers to run. 22024 22025 * Remove 'CompilerSpec' module to 'compiler' so that it can more 22026 easily have some static methods. 22027 220282003-01-12 22:43 Martin Pool <mbp@samba.org> 22029 22030 * bench/Summary.py: Print a heading on the results, plus the date 22031 and the host list. 22032 220332003-01-12 22:37 Martin Pool <mbp@samba.org> 22034 22035 * bench/: actions.py, benchmark.py: Split intelligence about 22036 action selection into a new module. 22037 22038 * Auto-generation action help table. 22039 22040 * Turn 'scrub' off by default. 22041 220422003-01-12 22:20 Martin Pool <mbp@samba.org> 22043 22044 * bench/: Summary.py, buildutil.py: Show all times in %.4f format 22045 -- about the right amount of precision. 22046 220472003-01-12 22:18 Martin Pool <mbp@samba.org> 22048 22049 * bench/: Build.py, Project.py, benchmark.py: Put intelligence 22050 about running various Actions in order into the Build and 22051 Project classes. 22052 22053 * More --help documentation for actions. 22054 220552003-01-12 22:10 Martin Pool <mbp@samba.org> 22056 22057 * bench/: Build.py, Project.py, Summary.py, benchmark.py, 22058 buildutil.py: Further refactoring: put the combination of a 22059 project and a compiler into a new Build object. 22060 22061 * Put each Build in a separate directory, rather than using one 22062 directory per Project that is overwritten every time. More scope 22063 now for retrying or investigating failed builds. 22064 220652003-01-12 22:09 Martin Pool <mbp@samba.org> 22066 22067 * bench/CompilerSpec.py: Don't use commas in directory names 22068 because it causes trouble with some Makefiles. 22069 220702003-01-12 21:43 Martin Pool <mbp@samba.org> 22071 22072 * bench/Project.py: Doc 22073 220742003-01-12 21:38 Martin Pool <mbp@samba.org> 22075 22076 * bench/: CompilerSpec.py, benchmark.py: Split CompilerSpec into 22077 its own file. 22078 220792003-01-12 21:32 Martin Pool <mbp@samba.org> 22080 22081 * bench/: Project.py, ProjectDefs.py, Summary.py, benchmark.py: 22082 Split Project class and project definitions out into two new 22083 source files. 22084 22085 * Rename Compiler to CompilerSpec and change name format. 22086 220872003-01-12 20:50 Martin Pool <mbp@samba.org> 22088 22089 * bench/: Summary.py, benchmark.py: Split Summary class out into 22090 its own file, and print summaries out in a tabular form rather 22091 than as Python data definitions. 22092 220932003-01-12 20:50 Martin Pool <mbp@samba.org> 22094 22095 * bench/.cvsignore: Ignore download directory and .pyc files. 22096 220972003-01-09 11:06 Martin Pool <mbp@samba.org> 22098 22099 * bench/benchmark.py: Run snarf quietly 22100 22101 * Doc 22102 221032003-01-08 18:28 Martin Pool <mbp@samba.org> 22104 22105 * bench/benchmark.py: Add GNU Hello so that there's something 22106 small for testing the benchmark program. 22107 22108 * Add --list-projects option. 22109 22110 * Allow selection of actions to perform with --actions=ACTIONS. 22111 221122003-01-08 18:03 Martin Pool <mbp@samba.org> 22113 22114 * bench/benchmark.py: Push mainline code into a main() routine. 22115 221162003-01-08 18:01 Martin Pool <mbp@samba.org> 22117 22118 * bench/benchmark.py: Add Project configuration for Wine 22119 22120 * Implement the 'unpacked_subdir' Project option, to handle 22121 projects like Wine whose unpacked directory is named 22122 differently from the tarball. 22123 22124 * Doc. 22125 221262003-01-06 15:53 Martin Pool <mbp@samba.org> 22127 22128 * bench/benchmark.py: Doc 22129 221302003-01-06 11:24 Martin Pool <mbp@samba.org> 22131 22132 * doc/release-names.txt: [no log message] 22133 221342003-01-06 11:24 Martin Pool <mbp@samba.org> 22135 22136 * Makefile.in: Split old news items out into a separate page. 22137 221382003-01-02 19:52 Martin Pool <mbp@samba.org> 22139 22140 * NEWS: Doc macrobenchmark. 22141 221422003-01-02 16:31 Martin Pool <mbp@samba.org> 22143 22144 * TODO: Explanation of KDE's --enable-final option, and impact on 22145 parallelism. 22146 22147 * Half explain "Supermarket scheduler" idea. 22148 22149 * Half explain load balancer. 22150 221512003-01-02 15:58 Martin Pool <mbp@samba.org> 22152 22153 * DEPENDENCIES: Add notes about macrobenchmark. 22154 221552003-01-01 10:01 Martin Pool <mbp@samba.org> 22156 22157 * Makefile.in: Add new "benchmark" target to invoke the 22158 macrobenchmark suite. The Makefile prints a notice and checks 22159 that the hosts are set up before starting the script. 22160 221612003-01-01 09:24 Martin Pool <mbp@samba.org> 22162 22163 * bench/benchmark.py: Use env(1) to find python2.2. (Frerich 22164 Raabe) 22165 22166 Really the right way is to call through the Makefile to use 22167 $(PYTHON). 22168 221692003-01-01 09:22 Martin Pool <mbp@samba.org> 22170 22171 * bench/: benchmark, benchmark.py: Rename bench/benchmark to 22172 bench/benchmark.py. 22173 221742003-01-01 09:19 Martin Pool <mbp@samba.org> 22175 22176 * Makefile.in: Use a $(PYTHON) variable so that it can be 22177 overridden if the name varies. 22178 221792002-12-17 17:17 Martin Pool <mbp@samba.org> 22180 22181 * news.el, news.emacs: Store settings in elisp rather than as 22182 mode variables. 22183 221842002-12-17 10:27 Martin Pool <mbp@samba.org> 22185 22186 * bench/benchmark: If a build fails, then record that but 22187 continue. If the overall build is interrupted, just stop. 22188 221892002-12-16 21:29 Martin Pool <mbp@samba.org> 22190 22191 * bench/benchmark: Doc 22192 22193 * Better link for kernel 22194 221952002-12-16 21:21 Martin Pool <mbp@samba.org> 22196 22197 * bench/benchmark: Add gdb 22198 22199 * Add md5sum and configure command for linux-2.4.20 22200 22201 * Automatically detect and resume interrupted downloads. Do 22202 downloads into a temporary directory and move them on 22203 completion. 22204 222052002-12-16 21:15 Martin Pool <mbp@samba.org> 22206 22207 * bench/benchmark: b* Project._rm_files: Do this silently and only 22208 as necessary. 22209 222102002-12-16 21:12 Martin Pool <mbp@samba.org> 22211 22212 * bench/benchmark: Remove log files at the start of a build. (We 22213 use separate logfiles for each case and phase, so this loses no 22214 information.) 22215 222162002-12-16 21:08 Martin Pool <mbp@samba.org> 22217 22218 * bench/benchmark: Rename /SourceTree/Project/ 22219 222202002-12-16 21:07 Martin Pool <mbp@samba.org> 22221 22222 * bench/benchmark: Doc. 22223 22224 * Just check for download once when we start working on a 22225 project. 22226 22227 * Scrub the tree just once when finished on a project. 22228 222292002-12-16 21:03 Martin Pool <mbp@samba.org> 22230 22231 * bench/benchmark: Doc. 22232 22233 * Add MD5 for GIMP. 22234 22235 * When configuring GIMP, turn off Perl support because it seems 22236 not to work on Sid and it's not really necessary. 22237 222382002-12-16 20:59 Martin Pool <mbp@samba.org> 22239 22240 * bench/benchmark: Scrub source directories after successful 22241 build to save disk space. 22242 22243 * Try boring slow gcc build first, to see if it works. 22244 222452002-12-16 20:50 Martin Pool <mbp@samba.org> 22246 22247 * bench/benchmark: Doc 22248 222492002-12-16 20:43 Martin Pool <mbp@samba.org> 22250 22251 * bench/benchmark: SourceTree.build: Accumulate statistics in 22252 Summary object on completion of building. Fix syntax error. 22253 22254 * Take list of project names from command line. If none are 22255 specified, build all known projects. 22256 222572002-12-16 20:38 Martin Pool <mbp@samba.org> 22258 22259 * bench/benchmark: SourceTree.run_cmd: Return status and elapsed 22260 time. 22261 22262 * SourceTree.build: Remove obsolete make_args argument. 22263 22264 * Summary: New class holding overall results of building. 22265 222662002-12-16 20:34 Martin Pool <mbp@samba.org> 22267 22268 * bench/benchmark: Doc. 22269 22270 * Try to make shell commands more readable. 22271 22272 * Add GIMP URL. 22273 222742002-12-16 20:24 Martin Pool <mbp@samba.org> 22275 22276 * bench/benchmark: Store separate make and distcc logs for 22277 configuring and building, in a per-project per-compiler 22278 directory. DISTCC_LOG no longer needs to be set beforehand. 22279 22280 * Add more MD5sums. 22281 22282 * Add correct configuration and build commands for the kernel. 22283 222842002-12-16 20:15 Martin Pool <mbp@samba.org> 22285 22286 * bench/benchmark: Add new Compiler class, encapsulating $(CC) 22287 and Make options. 22288 22289 * Add URLs for GNU Make and Linux-2.4.20. 22290 22291 * Store build logs into a directory identified by both project 22292 and compiler. 22293 222942002-12-16 19:59 Martin Pool <mbp@samba.org> 22295 22296 * bench/benchmark: Add support for packages which need to be 22297 built from a subdirectory of their unpacked directory. In 22298 particular, Samba needs to be built from "samba-2.2.7/source". 22299 223002002-12-16 19:54 Martin Pool <mbp@samba.org> 22301 22302 * bench/benchmark: Add MD5 sums for other packages. 22303 22304 * Add Samba tree. (Doesn't work yet, needs a different configure 22305 command to handle source being in source/) 22306 223072002-12-16 19:49 Martin Pool <mbp@samba.org> 22308 22309 * bench/.cvsignore: Ignore output files. 22310 223112002-12-16 19:48 Martin Pool <mbp@samba.org> 22312 22313 * bench/benchmark: Send all build log messages to a persistent 22314 file in a standard location. 22315 22316 * make_dir: New utility function. 22317 22318 * Properly check MD5sum for files before unpacking. 22319 223202002-12-16 19:41 Martin Pool <mbp@samba.org> 22321 22322 * bench/benchmark: Store MD5sum of files in the benchmark source 22323 and verify them before use. 22324 22325 * Allow overriding $(CC) when the program is configured. 22326 22327 * Add glib-2.0.7 test. 22328 22329 * Test with distcc and plain cc. 22330 223312002-12-16 19:24 Martin Pool <mbp@samba.org> 22332 22333 * bench/benchmark: (SourceTree.configure, SourceTree.build): 22334 Redirect configure and build output into log files so that the 22335 display is uncluttered. 22336 223372002-12-16 19:21 Martin Pool <mbp@samba.org> 22338 22339 * bench/benchmark: (SourceTree): Cleaner handling of directories. 22340 223412002-12-16 19:11 Martin Pool <mbp@samba.org> 22342 22343 * bench/benchmark: (SourceTree.run_cmd): Show time to execute 22344 each command. 22345 22346 * (SourceTree): Don't use the time(1) command, but just measure 22347 elapsed time. 22348 223492002-12-16 19:03 Martin Pool <mbp@samba.org> 22350 22351 * bench/benchmark: (SourceTree.run_cmd): Show commands as they're 22352 executed. 22353 22354 * (SourceTree): Time commands as they're run. 22355 22356 * (SourceTree.scrub): Remove build trees before starting to build 22357 them. 22358 22359 * (SourceTree.build): Allow passing options such as -j to make. 22360 223612002-12-16 16:49 Martin Pool <mbp@samba.org> 22362 22363 * bench/benchmark, NEWS: New macro-benchmark and test suite for 22364 distcc. 22365 22366 This is the start of a script that runs distcc to build various 22367 open source programs, as an overall test of correctness, and to 22368 measure performance of a distcc installation. 22369 22370 It relies on the user to install and configure distcc servers and 22371 clients, but handles the work of downloading, preparing, and 22372 building packages by itself. 22373 22374 * benchmark: New file. 22375 223762002-12-16 16:44 Martin Pool <mbp@samba.org> 22377 22378 * lzo/.cvsignore: Ignore built files for minilzo 22379 223802002-12-16 14:43 Martin Pool <mbp@samba.org> 22381 22382 * lzo/: Makefile, README.LZO, lzoconf.h, minilzo.c, minilzo.h, 22383 testmini.c: Import minilzo-1.08 library. Not linked in to main 22384 program yet. 22385 223862002-12-16 14:42 Martin Pool <mbp@samba.org> 22387 22388 * doc/release-names.txt: [no log message] 22389 223902002-12-16 11:56 Martin Pool <mbp@samba.org> 22391 22392 * patches/swhite-lzo-compress.diff: Patch from Stephen White 22393 22394 * First cut at adding LZO compression, turned on by client-side 22395 environment variable and setting a high bit in the protocol 22396 number to indicate its use. Uses static copy of lzo. 22397 223982002-12-16 11:40 Martin Pool <mbp@samba.org> 22399 22400 * src/: h_scanargs.c, h_argvtostr.c: Reindent to java / 4-space 22401 style. 22402 224032002-12-16 11:32 Martin Pool <mbp@samba.org> 22404 22405 * patches/README.patches: Disclaim warranty on these patches. 22406 224072002-12-13 12:06 Martin Pool <mbp@samba.org> 22408 22409 * linuxdoc/distcc.sgml: Bump version to 0.16cvs. 22410 224112002-12-13 12:04 Martin Pool <mbp@samba.org> 22412 22413 * NEWS, linuxdoc/distcc.sgml: (Cross-Compilation): The 22414 recommended convention for gcc names is <target>-gcc-<version>, 22415 and GCC 3.3 will install itself under this name. (Alexandre 22416 Oliva, Claes Wallin) 22417 224182002-12-13 11:06 Martin Pool <mbp@samba.org> 22419 22420 * configure, configure.ac: Bump version to 0.16cvs. 22421 224222002-12-13 09:58 Martin Pool <mbp@samba.org> 22423 22424 * NEWS, OLDNEWS: Roll over NEWS. 22425 224262002-12-12 20:57 Martin Pool <mbp@samba.org> 22427 22428 * NEWS, configure, configure.ac: Bump version to 0.15. 22429 224302002-12-12 20:45 Martin Pool <mbp@samba.org> 22431 22432 * doc/results.txt: Current linux-2.4.19 benchmark results. 22433 224342002-12-12 20:40 Martin Pool <mbp@samba.org> 22435 22436 * configure: Run autoconf. 22437 224382002-12-12 20:17 Martin Pool <mbp@samba.org> 22439 22440 * linuxdoc/distcc.sgml: Suggest using qualified compiler names 22441 rather than -b and -V options, because those options didn't 22442 work very well in earlier gcc versions. 22443 22444 Based on an explanation from Alexandre Oliva. 22445 224462002-12-12 20:06 Martin Pool <mbp@samba.org> 22447 22448 * Makefile.in, NEWS: Rename TARGET_ROOT variable to the more 22449 standard name of DESTDIR. (Alexandre Oliva) 22450 224512002-12-12 20:03 Martin Pool <mbp@samba.org> 22452 22453 * doc/irc/openprojects-distcc-20020807.txt: Random notes about 22454 distcc 22455 224562002-12-12 19:45 Martin Pool <mbp@samba.org> 22457 22458 * src/help.c: [Tests are more useful if they're actually run. :-/] 22459 22460 * (dcc_show_version): Use intended syntax in --version output. 22461 224622002-12-12 19:41 Martin Pool <mbp@samba.org> 22463 22464 * test/testdistcc.py, src/help.c: (dcc_show_version, 22465 VersionOption_Case): --version now shows default port. 22466 224672002-12-12 19:38 Martin Pool <mbp@samba.org> 22468 22469 * doc/flood.txt: flood.txt: Notes on network performance. 22470 224712002-12-12 19:38 Martin Pool <mbp@samba.org> 22472 22473 * src/: distcc.c, distcc.h, dopt.c, hosts.c: Put default port 22474 into DISTCC_DEFAULT_PORT preprocessor constant, rather than 22475 copying it everywhere. 22476 224772002-12-12 19:34 Martin Pool <mbp@samba.org> 22478 22479 * aclocal.m4: Rerun autoconf. 22480 224812002-12-12 19:33 Martin Pool <mbp@samba.org> 22482 22483 * TODO: TODO: New file. Many random notes about things to do, 22484 moved from the user manual. 22485 224862002-12-12 19:31 Martin Pool <mbp@samba.org> 22487 22488 * src/distcc.c, src/dopt.c, src/hosts.c, test/testdistcc.py, NEWS: 22489 * Change default port from 4200 to IANA-assigned standard for 22490 distcc service "3632". 22491 224922002-12-12 19:30 Martin Pool <mbp@samba.org> 22493 22494 * analog/.cvsignore: Ignore generated files. 22495 224962002-12-12 19:29 Martin Pool <mbp@samba.org> 22497 22498 * analog/: httplog.py, print_referers: httplog.py: New file to 22499 parse Apache logs. 22500 22501 * print_referers: Change to using httplog.py library. 22502 225032002-12-12 19:19 Martin Pool <mbp@samba.org> 22504 22505 * analog/day.gnuplot: day.gnuplot: New gnuplot file to plot daily 22506 traffic. 22507 225082002-12-12 18:59 Martin Pool <mbp@samba.org> 22509 22510 * linuxdoc/distcc.sgml: (Author): Rephrase. 22511 225122002-12-12 18:56 Martin Pool <mbp@samba.org> 22513 22514 * linuxdoc/distcc.sgml: Move "Reporting Bugs" and "Test Suite" 22515 sections into the introduction chapter. 22516 225172002-12-12 18:43 Martin Pool <mbp@samba.org> 22518 22519 * linuxdoc/distcc.sgml: Remove empty <appendix> tag. 22520 225212002-12-12 18:41 Martin Pool <mbp@samba.org> 22522 22523 * NEWS: Only show non-maintainer names in the NEWS file, as in 22524 Subversion. 22525 225262002-12-12 18:38 Martin Pool <mbp@samba.org> 22527 22528 * linuxdoc/distcc.sgml, NEWS: Move "Bugs" chapter into TODO. 22529 (Martin Pool) 22530 225312002-12-12 18:36 Martin Pool <mbp@samba.org> 22532 22533 * linuxdoc/distcc.sgml: Remove "results" chapter, because this 22534 information is more appropriate for the web site. 22535 22536 * Start moving bugs/features into TODO. 22537 225382002-12-12 18:12 Martin Pool <mbp@samba.org> 22539 22540 * NEWS: [no log message] 22541 225422002-12-12 18:09 Martin Pool <mbp@samba.org> 22543 22544 * linuxdoc/distcc.sgml: (distcc Compatibility): Remove section 22545 about MOC, because we have nothing at the moment to say. 22546 22547 Add a new section describing the complex situation for -MD with 22548 gcc 22549 2.95 and 3.2. 22550 225512002-12-12 17:55 Martin Pool <mbp@samba.org> 22552 22553 * Makefile.in: (dist_files): Add TODO to distribution. 22554 225552002-12-12 17:39 Martin Pool <mbp@samba.org> 22556 22557 * linuxdoc/distcc.sgml: (Bugs): Need a performance regression 22558 suite. 22559 22560 * (Bugs): Perhaps need to migrate the manual from Linuxdoc to 22561 Docbook Lite. 22562 225632002-12-12 16:53 Martin Pool <mbp@samba.org> 22564 22565 * analog/traffic.py: traffic.py: Add a new first command line 22566 parameter, either 'day' or 'week' to set grouping quantum. 22567 225682002-12-12 15:47 Martin Pool <mbp@samba.org> 22569 22570 * src/lock.c: lock.c: Add quotation. 22571 225722002-12-06 11:32 Martin Pool <mbp@samba.org> 22573 22574 * analog/traffic.gnuplot: traffic.gnuplot: Use log y scale. 22575 225762002-12-06 11:29 Martin Pool <mbp@samba.org> 22577 22578 * analog/traffic.py: traffic.py: New utility to produce weekly 22579 counts of downloads and accesses. 22580 225812002-12-06 11:07 Martin Pool <mbp@samba.org> 22582 22583 * analog/traffic.gnuplot: Simple plot of traffic 22584 225852002-12-06 10:19 Martin Pool <mbp@samba.org> 22586 22587 * linuxdoc/distcc.sgml, NEWS: Remove "Results" chapter from 22588 manual: there are now many more detailed results on the web 22589 site, and this information is better suited to storage there, 22590 because it will be updated on a different cycle. End-users 22591 don't really need to have it in their reference. 22592 225932002-12-05 15:22 Martin Pool <mbp@samba.org> 22594 22595 * doc/release-names.txt: [no log message] 22596 225972002-12-05 14:07 Martin Pool <mbp@samba.org> 22598 22599 * doc/interceptor.txt: Notes on using an external interceptor 22600 226012002-12-05 10:02 Martin Pool <mbp@samba.org> 22602 22603 * src/srvnet.c: srvnet.c: (dcc_log_clientname): Clearer error 22604 messages for failure to look up client hostname. 22605 226062002-12-05 10:01 Martin Pool <mbp@samba.org> 22607 22608 * NEWS: [no log message] 22609 226102002-11-28 04:48 Martin Pool <mbp@samba.org> 22611 22612 * linuxdoc/distcc.sgml: We now use ComfyChair not PyUnit 22613 226142002-11-28 04:45 Martin Pool <mbp@samba.org> 22615 22616 * NEWS: Add section on how to report bugs well 22617 226182002-11-28 04:40 Martin Pool <mbp@samba.org> 22619 22620 * linuxdoc/distcc.sgml: Add section on how to report bugs well 22621 226222002-11-28 04:20 Martin Pool <mbp@samba.org> 22623 22624 * src/dopt.c: Say that --no-fork is for debugging ONLY 22625 226262002-11-23 04:35 Martin Pool <mbp@samba.org> 22627 22628 * linuxdoc/distcc.sgml: Add TODO 22629 22630 Bump version to 0.14 22631 226322002-11-22 19:00 Martin Pool <mbp@samba.org> 22633 22634 * NEWS: Add note about -MF 22635 226362002-11-21 18:53 Martin Pool <mbp@samba.org> 22637 22638 * src/cpp.c: Doc 22639 226402002-11-21 18:50 Martin Pool <mbp@samba.org> 22641 22642 * src/cpp.c: Doc 22643 226442002-11-21 18:46 Martin Pool <mbp@samba.org> 22645 22646 * NEWS, src/cpp.c, src/strip.c, src/strip.h: Run the preprocessor 22647 with output sent to stdout and redirected to a file, rather than 22648 by using the -o option. This should fix some compilers that 22649 can't handle "-E -o". It may improve gcc behaviour with -MD, but 22650 because gcc behaviour has changed over time it may not be a 22651 complete fix. 22652 226532002-11-21 18:38 Martin Pool <mbp@samba.org> 22654 22655 * test/testdistcc.py: Doc 22656 226572002-11-21 18:24 Martin Pool <mbp@samba.org> 22658 22659 * Makefile.in, src/cpp.c, src/cpp.h, src/distcc.c: dcc_cpp_maybe: 22660 Split code to run preprocessor into its own file. 22661 226622002-11-21 18:09 Martin Pool <mbp@samba.org> 22663 22664 * test/testdistcc.py: DaemonBadPort_Case: avoid polluting system 22665 log files. 22666 226672002-11-21 18:06 Martin Pool <mbp@samba.org> 22668 22669 * src/distcc.c: Doc 22670 226712002-11-21 18:02 Martin Pool <mbp@samba.org> 22672 22673 * Makefile.in: Remove obsolete/uncalled dist-python target 22674 22675 Move comfychair into test/ 22676 226772002-11-21 17:21 Martin Pool <mbp@samba.org> 22678 22679 * analog/.cvsignore: Ignore generated refererlog 22680 226812002-11-21 17:16 Martin Pool <mbp@samba.org> 22682 22683 * test/: .cvsignore, comfychair.py: Move comfychair into test/ 22684 226852002-11-21 17:06 Martin Pool <mbp@samba.org> 22686 22687 * cases/empty.i: empty .i file 22688 226892002-11-21 17:05 Martin Pool <mbp@samba.org> 22690 22691 * DEPENDENCIES: popt is now included in package 22692 226932002-11-21 17:02 Martin Pool <mbp@samba.org> 22694 22695 * src/serve.c: Doc 22696 226972002-11-21 12:04 Martin Pool <mbp@samba.org> 22698 22699 * doc/to-test.txt: Add list of trees that would be interesting to 22700 test 22701 227022002-11-20 11:47 Martin Pool <mbp@samba.org> 22703 22704 * NEWS, configure, configure.ac, src/config.h.in: Fix autoconf 22705 detection of resolv.h on Solaris. (Dimitri Papadopoulos) 22706 227072002-11-20 11:30 Martin Pool <mbp@samba.org> 22708 22709 * NEWS: Add badly-behaved compiler drop-in for use in testing. 22710 227112002-11-19 14:23 Martin Pool <mbp@samba.org> 22712 22713 * test/badcc: Add badly-behaved compiler drop-in for use in 22714 testing. 22715 227162002-11-19 13:11 Martin Pool <mbp@samba.org> 22717 22718 * NEWS, src/exec.c: * Fix waitpid() takes three options. 22719 Required for Irix. (Michael Santy) 22720 227212002-11-19 12:49 Martin Pool <mbp@samba.org> 22722 22723 * Makefile.in: Remove obsolete comment. 22724 227252002-11-19 12:42 Martin Pool <mbp@samba.org> 22726 22727 * Makefile.in: OK, now we use install-sh 22728 227292002-11-19 09:09 Martin Pool <mbp@samba.org> 22730 22731 * analog/print_referers: Better line parser 22732 227332002-11-19 08:57 Martin Pool <mbp@samba.org> 22734 22735 * analog/distcc.analog: Show more search words. 22736 227372002-11-19 08:54 Martin Pool <mbp@samba.org> 22738 22739 * Makefile.in: Copy new EmptySource.py file into distribution 22740 227412002-11-19 08:52 Martin Pool <mbp@samba.org> 22742 22743 * test/.cvsignore: Ignore .pyc files. 22744 227452002-11-19 08:48 Martin Pool <mbp@samba.org> 22746 22747 * Makefile.in, NEWS, configure, configure.ac: Use the correct 22748 autoconf macros to detect whether install(1) is available and 22749 working, and if not, fall back to using the included install-sh 22750 script. This should fix "make install" on Solaris. (Mike Santy, 22751 Martin Pool) 22752 227532002-11-19 07:45 Martin Pool <mbp@samba.org> 22754 22755 * test/testdistcc.py: todo 22756 227572002-11-18 13:05 Martin Pool <mbp@samba.org> 22758 22759 * analog/report/.cvsignore: Ignore built files 22760 227612002-11-18 13:03 Martin Pool <mbp@samba.org> 22762 22763 * NEWS, test/EmptySource.py, test/testdistcc.py: Add test case for 22764 transmission of a zero-byte file. 22765 227662002-11-18 13:01 Martin Pool <mbp@samba.org> 22767 22768 * configure: autoconf 22769 227702002-11-16 12:27 Martin Pool <mbp@samba.org> 22771 22772 * analog/images/: analogo.png, barc1.png, barc16.png, barc2.png, 22773 barc32.png, barc4.png, barc8.png, html2.png: Add analog images 22774 227752002-11-16 12:24 Martin Pool <mbp@samba.org> 22776 22777 * analog/print_referers: Python script to print web referers 22778 227792002-11-16 12:22 Martin Pool <mbp@samba.org> 22780 22781 * analog/distcc.analog: Get ready to include bar images in cvs 22782 227832002-11-16 12:19 Martin Pool <mbp@samba.org> 22784 22785 * configure.ac: Bump version to 0.16cvs 22786 227872002-11-16 12:18 Martin Pool <mbp@samba.org> 22788 22789 * Makefile.in: Include Scenarios page 22790 227912002-11-16 11:13 Martin Pool <mbp@samba.org> 22792 22793 * OLDNEWS, NEWS: roll over news 22794 227952002-11-16 09:57 Martin Pool <mbp@samba.org> 22796 22797 * configure, configure.ac: Bump version to 0.14 22798 227992002-11-15 18:10 Martin Pool <mbp@samba.org> 22800 22801 * contrib/distccd-init: distccd Debian init.d script contributed by 22802 Jason Thomas. (Debian #161136) 22803 228042002-11-15 18:07 Martin Pool <mbp@samba.org> 22805 22806 * NEWS: reformat only 22807 228082002-11-15 18:07 Martin Pool <mbp@samba.org> 22809 22810 * NEWS: distccd Debian init.d script contributed by Jason Thomas. 22811 (Debian #161136) 22812 228132002-11-15 18:06 Martin Pool <mbp@samba.org> 22814 22815 * Makefile.in: Include contrib files in distribution. 22816 228172002-11-15 10:06 Martin Pool <mbp@samba.org> 22818 22819 * src/trace.h: Doc 22820 228212002-11-14 14:09 Martin Pool <mbp@samba.org> 22822 22823 * NEWS: Make sure PreprocessPlainText_Case runs in the right 22824 directory. 22825 228262002-11-14 14:09 Martin Pool <mbp@samba.org> 22827 22828 * test/testdistcc.py: TODO (thanks Oscar) 22829 228302002-11-14 14:00 Martin Pool <mbp@samba.org> 22831 22832 * test/testdistcc.py: Make sure PreprocessPlainText_Case runs in 22833 the right directory. 22834 228352002-11-14 12:58 Martin Pool <mbp@samba.org> 22836 22837 * Makefile.in: Make sure that if Latte processing fails, the output 22838 file is removed 22839 22840 Remove obsolete maintainer-clean dependencies 22841 228422002-11-13 08:56 Martin Pool <mbp@samba.org> 22843 22844 * configure, configure.ac, src/config.h.in, src/exec.c: Handle 22845 machines without wait4 by using waitpid instead. 22846 228472002-11-13 08:48 Martin Pool <mbp@samba.org> 22848 22849 * configure.ac, NEWS: Test for wait4 and wait3, which are missing 22850 on IRIX (Mike Santy) 22851 228522002-11-13 08:46 Martin Pool <mbp@samba.org> 22853 22854 * src/serve.c: Fix parameter type (suggestion from Dimitri 22855 Papadopoulos) 22856 228572002-11-13 07:47 Martin Pool <mbp@samba.org> 22858 22859 * configure: autoconf 22860 228612002-11-13 07:44 Martin Pool <mbp@samba.org> 22862 22863 * Makefile.in, NEWS: Fix silly bug that caused HTML documentation 22864 to be missing from the tarball 22865 228662002-11-13 07:43 Martin Pool <mbp@samba.org> 22867 22868 * configure.ac: Bump version to 0.14 22869 228702002-11-13 07:14 Martin Pool <mbp@samba.org> 22871 22872 * NEWS: Bump version to 0.14 22873 228742002-11-13 07:11 Martin Pool <mbp@samba.org> 22875 22876 * src/distcc.c: Take lock on localhost only when compiling locally, 22877 not for all compilations. 22878 228792002-11-13 07:03 Martin Pool <mbp@samba.org> 22880 22881 * OLDNEWS, NEWS: Roll over news 22882 228832002-11-13 07:01 Martin Pool <mbp@samba.org> 22884 22885 * src/where.c: Remove dead code. 22886 228872002-11-13 06:02 Martin Pool <mbp@samba.org> 22888 22889 * configure.ac: Bump version to 0.13.1cvs 22890 228912002-11-12 18:40 Martin Pool <mbp@samba.org> 22892 22893 * README: Update README 22894 228952002-11-12 18:38 Martin Pool <mbp@samba.org> 22896 22897 * configure, configure.ac: Prepare for 0.13 release 22898 228992002-11-12 18:34 Martin Pool <mbp@samba.org> 22900 22901 * NEWS: Prepare for release. 22902 229032002-11-12 18:25 Martin Pool <mbp@samba.org> 22904 22905 * test/testdistcc.py: More ComfyChair merges. 22906 229072002-11-12 18:24 Martin Pool <mbp@samba.org> 22908 22909 * configure: autoconf 22910 229112002-11-12 18:23 Martin Pool <mbp@samba.org> 22912 22913 * configure.ac: Remove --with-extra-includes and --with-extra-libs, 22914 because they just don't work well with autoconf, since they can 22915 only be specified once and repeated appearances will cause only 22916 the last to have effect. The official way for autoconf 2.5 is to 22917 set CPPFLAGS and LDFLAGS. 22918 229192002-11-12 18:21 Martin Pool <mbp@samba.org> 22920 22921 * configure.ac: Change --with-included-popt 22922 22923 if not specified, use if necessary 22924 22925 if specified, then always (or never) use it 22926 229272002-11-12 18:20 Martin Pool <mbp@samba.org> 22928 22929 * NEWS: If popt is missing and not specified, get it 22930 229312002-11-12 18:14 Martin Pool <mbp@samba.org> 22932 22933 * configure.ac: If popt is missing and not specified, get it 22934 229352002-11-12 18:11 Martin Pool <mbp@samba.org> 22936 22937 * Makefile.in: doh 22938 229392002-11-12 18:10 Martin Pool <mbp@samba.org> 22940 22941 * Makefile.in: Clean popt, binaries, and testtmp from "clean" 22942 target. 22943 229442002-11-12 17:53 Martin Pool <mbp@samba.org> 22945 22946 * NEWS: Merge tpot's comfychair patch 22947 229482002-11-12 17:47 Martin Pool <mbp@samba.org> 22949 22950 * NEWS, configure, configure.ac, src/config.h.in: Add config 22951 options for included popt 22952 229532002-11-12 17:39 Martin Pool <mbp@samba.org> 22954 22955 * configure.ac: Add --with-included-popt option 22956 229572002-11-12 17:37 Martin Pool <mbp@samba.org> 22958 22959 * Makefile.in: Make 'all' the default 22960 229612002-11-12 17:36 Martin Pool <mbp@samba.org> 22962 22963 * Makefile.in: Include other necessary files in distribution 22964 229652002-11-12 17:33 Martin Pool <mbp@samba.org> 22966 22967 * Makefile.in: Clean up some Makefile targets 22968 22969 Remove GNU makeisms 22970 22971 Include popt in tarball 22972 229732002-11-12 17:17 Martin Pool <mbp@samba.org> 22974 22975 * test/testdistcc.py: Make MissingCompiler_Case actually test what 22976 it's meant to test. 22977 22978 Doc. 22979 229802002-11-12 17:11 Martin Pool <mbp@samba.org> 22981 22982 * NEWS: Update news 22983 229842002-11-12 17:08 Martin Pool <mbp@samba.org> 22985 22986 * linuxdoc/distcc.sgml: Add new exit codes. 22987 22988 Bump version to 0.13. 22989 229902002-11-12 17:03 Martin Pool <mbp@samba.org> 22991 22992 * src/: exitcode.h, exec.c: Add EXIT_COMPILER_MISSING 22993 229942002-11-12 16:28 Martin Pool <mbp@samba.org> 22995 22996 * Makefile.in: Doc 22997 229982002-11-12 08:16 Martin Pool <mbp@samba.org> 22999 23000 * aclocal.m4, configure, configure.ac, src/config.h.in, 23001 src/srvnet.c: Make inclusion of arpa/nameser.h and resolv.h 23002 conditional 23003 230042002-11-08 18:51 Martin Pool <mbp@samba.org> 23005 23006 * src/distcc.c: Fix prototypes 23007 230082002-11-08 18:51 Martin Pool <mbp@samba.org> 23009 23010 * src/exec.c: Doc 23011 230122002-11-08 18:50 Martin Pool <mbp@samba.org> 23013 23014 * src/distcc.c: On the client, we should take locks only when 23015 compiling locally. cpp is cheap enough that it doesn't really 23016 need to be taken into account. 23017 230182002-11-08 18:49 Martin Pool <mbp@samba.org> 23019 23020 * src/exec.c: Do not take a lock on localhost when spawning 23021 commands. 23022 23023 This is intended to get rid of a race condition that will 23024 sometimes deadlock the client: 23025 23026 Two clients, P1 and P2, are both trying to compile on remote 23027 machine 23028 R. Therefore, they both need to get a lock on localhost to run 23029 cpp, 23030 and on R. If they acquire the locks in the opposite order, 23031 then 23032 they will block holding locks, and deadlock. The ordering is 23033 indeterminate because the cpp lock is acquired from the 23034 separate 23035 process forked to run cpp. 23036 23037 This was not evident in 0.12 and earlier because there was no 23038 limit on the number of locks that could be taken. 23039 23040 On the server side, there are better places to regulate process 23041 load than here. We should instead hold off on accepting 23042 connections until we have space to handle them. 23043 23044 On the client, we should take locks only when compiling locally. 23045 cpp is cheap enough that it doesn't really need to be taken into 23046 account. 23047 230482002-11-08 17:39 Martin Pool <mbp@samba.org> 23049 23050 * cases/: cpp-set-path.c, foo.h, hello.c: Add small files for 23051 exploring gcc behaviour 23052 230532002-11-05 05:47 Martin Pool <mbp@samba.org> 23054 23055 * src/exec.c: BSD needs signal.h. Thanks to Ajay Agrawalla. 23056 230572002-11-01 19:12 Martin Pool <mbp@samba.org> 23058 23059 * test/testdistcc.py: MissingCompiler_Case: Fix function name 23060 230612002-11-01 19:11 Martin Pool <mbp@samba.org> 23062 23063 * src/serve.c: dcc_accept_job: Fix little prototype consistency 23064 mistake 23065 230662002-11-01 19:08 Martin Pool <mbp@samba.org> 23067 23068 * test/testdistcc.py: Doc 23069 230702002-11-01 19:08 Martin Pool <mbp@samba.org> 23071 23072 * src/serve.c: Drop support for using fifos on the server. 23073 23074 Run compilers in their own process group, and kill them if the 23075 daemon is killed. 23076 23077 Copy server's output into the error log, and try to always send 23078 it back to the client even if something goes wrong. 23079 230802002-11-01 19:06 Martin Pool <mbp@samba.org> 23081 23082 * src/: io.c, rpc.c: Use error codes more consistently 23083 230842002-11-01 19:06 Martin Pool <mbp@samba.org> 23085 23086 * src/exitcode.h: Add EXIT_TRUNCATED and EXIT_PROTOCOL_ERROR 23087 230882002-11-01 19:05 Martin Pool <mbp@samba.org> 23089 23090 * src/: exec.c, exec.h: Add new utilities: dcc_reset_signal, and 23091 dcc_setpgid 23092 23093 Doc 23094 230952002-11-01 19:03 Martin Pool <mbp@samba.org> 23096 23097 * src/dparent.c: Better doc and messages 23098 230992002-11-01 19:02 Martin Pool <mbp@samba.org> 23100 23101 * src/distcc.c: If cpp returns an error, don't bother trying to run 23102 the compilation locally. 23103 23104 Upgrade notice -> warning on failure to distribute. Only show 23105 warning or higher on the client by default. 23106 23107 Don't abruptly close the connection if the remote compiler fails. 23108 231092002-11-01 18:58 Martin Pool <mbp@samba.org> 23110 23111 * src/bulk.c: Tidyup 23112 231132002-11-01 18:58 Martin Pool <mbp@samba.org> 23114 23115 * README: Mention DISTCC_LOG and possible future ssh support 23116 231172002-11-01 18:57 Martin Pool <mbp@samba.org> 23118 23119 * NEWS: Temporarily remove limit on number of local tasks, because 23120 this can cause a deadlock. 23121 23122 Client does not abruptly drop network connection on compiler 23123 failure but rather reads the 0-byte object file token. (Martin 23124 Pool) 23125 23126 Rework logger library to allow multiple logger callbacks to be 23127 active at once. This is used for the server, which can write to 23128 its own log files and also send a copy of messages to a buffer to 23129 be sent to the client. 23130 231312002-11-01 18:53 Martin Pool <mbp@samba.org> 23132 23133 * samples/: bad.c, badcpp.c, hello.c: Add small sample source files 23134 231352002-11-01 17:54 Martin Pool <mbp@samba.org> 23136 23137 * test/testdistcc.py: * Allow distcc's version to be set to 23138 something like "0.13cvs-nofifo". 23139 23140 * Add test for handling of a compiler missing from the server. 23141 231422002-11-01 17:51 Martin Pool <mbp@samba.org> 23143 23144 * src/distcc.c, src/dparent.c, src/exec.c, src/serve.c, 23145 src/where.c, NEWS: * Remove support for feeding the compiler 23146 from a fifo. The gain from 23147 using fifos does not seem to justify the maintenance 23148 burden. (Martin Pool) 23149 23150 - This makes the behaviour more consistent, because some 23151 platforms 23152 (Cygwin) or filesystems (NFS, strangely) can't use 23153 fifos. It removes 23154 a code path and a slightly complex autodetection. 23155 23156 - Using fifos makes some potential scheduling improvements 23157 hard: the 23158 server can't make good decisions about how many tasks to 23159 run, because 23160 each one will only use a fraction of the CPU. The 23161 client cannot 23162 serialize file transmission, which would probably be 23163 desirable. 23164 23165 - Using fifos makes reliably handling compiler failures 23166 slightly 23167 harder: the compiler may crash or exit at any time, 23168 which will in 23169 turn cause the server to hang if it later tries to open 23170 or write to 23171 the fifo. In previous versions, distcc tried to handle 23172 this by 23173 catching SIGCHLD when the child terminated, and aborting 23174 the 23175 operation, but I am not sure that the method is 23176 completely reliable. 23177 23178 * Use return codes more consistently 23179 23180 * Change log levels slightly to try to make sure nothing is 23181 emitted for successful compilation or even only compiler 23182 errors. 23183 23184 * Detached daemon now ignores hangup signal. 23185 23186 * Follow Unix convention of returning 128+SIGNAL if the 23187 compiler exits 23188 with a signal. (Martin Pool) 23189 23190 * Write server error messages to a log file and send them 23191 back to 23192 the client on completion. 23193 231942002-11-01 17:25 Martin Pool <mbp@samba.org> 23195 23196 * src/daemon.c: Doc 23197 231982002-10-31 13:40 Martin Pool <mbp@samba.org> 23199 23200 * NEWS: More news 23201 232022002-10-31 13:28 Martin Pool <mbp@samba.org> 23203 23204 * Makefile.in: Add TARGET_ROOT Makefile variable for installation, 23205 when building binary packages. 23206 232072002-10-31 13:15 Martin Pool <mbp@samba.org> 23208 23209 * NEWS, src/daemon.c, src/exec.c, src/serve.c: Log messages on the 23210 server of severity "warning" or higher are captured and sent back 23211 to the client. 23212 23213 Do not use atexit() to clean up temporary files, because this can 23214 cause havoc if it's ever called from a child process that forked 23215 but failed to exec. 23216 232172002-10-31 13:11 Martin Pool <mbp@samba.org> 23218 23219 * src/tempfile.c: Show trace message when temporary files are 23220 deleted 23221 232222002-10-31 13:11 Martin Pool <mbp@samba.org> 23223 23224 * src/: trace.c, trace.h, distcc.c: Change the logger callback 23225 system so that multiple loggers may be attached at any time. 23226 232272002-10-31 12:35 Martin Pool <mbp@samba.org> 23228 23229 * src/exec.c: Add trace message for EINTR failure of wait4, because 23230 we don't really expect it to happen. 23231 23232 Doc. 23233 232342002-10-31 12:34 Martin Pool <mbp@samba.org> 23235 23236 * src/distcc.h: Define true and false for clarity 23237 232382002-10-31 12:33 Martin Pool <mbp@samba.org> 23239 23240 * Makefile.in: Include autogen.sh in dist 23241 232422002-10-31 12:32 Martin Pool <mbp@samba.org> 23243 23244 * configure.ac, src/distcc.c: Doc 23245 232462002-10-31 12:32 Martin Pool <mbp@samba.org> 23247 23248 * news.emacs: No tabs please 23249 232502002-10-21 20:33 Martin Pool <mbp@samba.org> 23251 23252 * analog/distcc.analog: Exclude distcc.samba.org from referrer 23253 calculations 23254 232552002-10-18 16:45 Martin Pool <mbp@samba.org> 23256 23257 * DEPENDENCIES: Add URL for popt 23258 232592002-10-18 11:58 Martin Pool <mbp@samba.org> 23260 23261 * NEWS: Note Makefile fixes 23262 232632002-10-18 11:57 Martin Pool <mbp@samba.org> 23264 23265 * configure, configure.ac: Don't use -MD because there seems not to 23266 be a portable way to include the results in the Makefile 23267 232682002-10-18 11:55 Martin Pool <mbp@samba.org> 23269 23270 * Makefile.in: Check that programs have been built before trying to 23271 install them 23272 232732002-10-18 11:53 Martin Pool <mbp@samba.org> 23274 23275 * Makefile.in: Put back pkgdoc_DOCS, which somehow got lost 23276 23277 Distribute pkgdocs as well 23278 232792002-10-18 11:46 Martin Pool <mbp@samba.org> 23280 23281 * aclocal.m4, configure: Run autoconf 23282 232832002-10-18 11:45 Martin Pool <mbp@samba.org> 23284 23285 * popt/: findme.c, findme.h, popt.c, popt.h, poptconfig.c, 23286 popthelp.c, poptint.h, poptparse.c, system.h: Import popt-1.7 23287 232882002-10-18 11:41 Martin Pool <mbp@samba.org> 23289 23290 * README.popt: Start adding included popt 23291 232922002-10-18 11:38 Martin Pool <mbp@samba.org> 23293 23294 * README.packaging, Makefile.in: Add note to packagers 23295 232962002-10-18 11:29 Martin Pool <mbp@samba.org> 23297 23298 * Makefile.in, configure.ac: Remove reference to src/Makefile.in 23299 233002002-10-18 11:29 Martin Pool <mbp@samba.org> 23301 23302 * NEWS, src/Makefile.in: Get rid of Makefile recursion; build all 23303 source from the toplevel Makefile 23304 233052002-10-18 11:22 Martin Pool <mbp@samba.org> 23306 23307 * Makefile.in, .cvsignore: Get rid of Makefile recursion; build all 23308 source from the toplevel Makefile 23309 23310 Binaries are now deposited into the top-level directory 23311 23312 Drop obsolete pyunit rules 23313 233142002-10-18 10:36 Martin Pool <mbp@samba.org> 23315 23316 * src/distcc.c: Test that the .i file exists before trying to 23317 transmit it to the server. 23318 23319 Doc. 23320 233212002-10-17 18:33 Martin Pool <mbp@samba.org> 23322 23323 * src/arg.c: Better message for object or output files 23324 233252002-10-17 18:32 Martin Pool <mbp@samba.org> 23326 23327 * NEWS, test/testdistcc.py: Add test case for invocations like 23328 "distcc -c test1.c test2.c". 23329 233302002-10-17 18:22 Martin Pool <mbp@samba.org> 23331 23332 * test/testdistcc.py: Doc 23333 233342002-10-17 18:21 Martin Pool <mbp@samba.org> 23335 23336 * NEWS, test/testdistcc.py: Add test case for preprocessing non-C 23337 text, as is done by (for example) xrdb. 23338 23339 Remove done TODOs 23340 233412002-10-17 18:07 Martin Pool <mbp@samba.org> 23342 23343 * test/testdistcc.py: Add test case for #error directive 23344 233452002-10-17 13:40 Martin Pool <mbp@samba.org> 23346 23347 * NEWS, linuxdoc/distcc.sgml: More Gentoo notes from Ernesto 23348 233492002-10-17 13:29 Martin Pool <mbp@samba.org> 23350 23351 * linuxdoc/distcc.sgml, NEWS: Add Gentoo documentation from Dean 23352 Bailey 23353 233542002-10-16 11:00 Martin Pool <mbp@samba.org> 23355 23356 * Makefile.in: Don't use "make -C" because some non-GNU makes don't 23357 support -C. Instead, explicitly cd, and do it in a way that 23358 better allows parallelism. 23359 233602002-10-11 11:45 Martin Pool <mbp@samba.org> 23361 23362 * NEWS, test/testdistcc.py: Split out tests for implied compiler 23363 name into their own class 23364 233652002-10-11 11:40 Martin Pool <mbp@samba.org> 23366 23367 * doc/lock-deadlock.txt: Doc deadlock observed in 0.13cvs 23368 233692002-10-10 12:56 Martin Pool <mbp@samba.org> 23370 23371 * Makefile.in: Include where.h 23372 233732002-10-10 12:56 Martin Pool <mbp@samba.org> 23374 23375 * src/Makefile.in: Cope when there are no .d files 23376 233772002-10-10 12:52 Martin Pool <mbp@samba.org> 23378 23379 * Makefile.in: Clean up the dist targets; include new patches 23380 233812002-10-10 12:33 Martin Pool <mbp@samba.org> 23382 23383 * packaging/SuSE/init.d/distcc, NEWS: SuSE init.d script from 23384 Brandon Forehand 23385 233862002-10-10 11:47 Martin Pool <mbp@samba.org> 23387 23388 * patches/: colorgcc, distcc-hostlist.diff: Patches from Charles 23389 Samuels to store hosts in a file, and to run distcc through 23390 colorcc. 23391 233922002-10-10 10:54 Martin Pool <mbp@samba.org> 23393 23394 * src/distcc.c: Add FIXME 23395 233962002-10-10 00:33 Martin Pool <mbp@samba.org> 23397 23398 * src/: distcc.c, distcc.h, exec.c, exec.h, lock.h, serve.c, 23399 where.c, where.h: In lock debug messages, show whether we're 23400 running the compiler or the preprocessor. 23401 234022002-10-07 23:20 Martin Pool <mbp@samba.org> 23403 23404 * NEWS: Doc 23405 234062002-10-07 23:13 Martin Pool <mbp@samba.org> 23407 23408 * src/where.c: Add trace 23409 234102002-10-07 23:03 Martin Pool <mbp@samba.org> 23411 23412 * src/lock.c: Fix parameters for fcntl locks 23413 234142002-10-07 23:02 Martin Pool <mbp@samba.org> 23415 23416 * src/where.c: Add trace 23417 23418 Use pid+ppid as a seed for randomly choosing a host when we can't 23419 find a free one. 23420 234212002-10-07 22:54 Martin Pool <mbp@samba.org> 23422 23423 * src/: Makefile.in, distcc.c, distcc.h, hosts.h, lock.c, lock.h, 23424 where.c: Add code to wait for a blocking lock if no host is 23425 immediately free. 23426 234272002-10-07 22:10 Martin Pool <mbp@samba.org> 23428 23429 * NEWS, src/dparent.c: When the parent is terminated, don't kill 23430 its process group. Allow children to finish in their own time. 23431 234322002-10-07 22:08 Martin Pool <mbp@samba.org> 23433 23434 * src/Makefile.in: Include generated dependencies 23435 234362002-10-07 18:17 Martin Pool <mbp@samba.org> 23437 23438 * test/testdistcc.py: NoDetachDaemon_Case: 23439 23440 Fix bug in arguments for starting --no-detach daemon 23441 23442 Correctly wait for daemon after signalling 23443 23444 Fix log message 23445 234462002-10-07 15:07 Martin Pool <mbp@samba.org> 23447 23448 * test/testdistcc.py: Move code for explaining failures into test 23449 case 23450 23451 Move setUp/runTest/tearDown structure into framework 23452 23453 runCmdNoWait(): take a list 23454 23455 Add test case for --no-detach (broken) 23456 234572002-10-07 14:37 Martin Pool <mbp@samba.org> 23458 23459 * NEWS: Nicer handling of ^C while running tests: print "INTERRUPT" 23460 and terminate the whole test 23461 234622002-10-07 14:36 Martin Pool <mbp@samba.org> 23463 23464 * test/testdistcc.py: New runCmdNoWait function needs argument as 23465 string, not list 23466 234672002-10-07 14:28 Martin Pool <mbp@samba.org> 23468 23469 * test/testdistcc.py: When killing daemon, ping every 200ms to try 23470 to notice faster that it's finished. 23471 23472 Clean up some function names. 23473 23474 Add unused DetachDaemon_Case 23475 234762002-10-07 13:57 Martin Pool <mbp@samba.org> 23477 23478 * NEWS, src/dopt.c, src/dparent.c, src/opt.h: Add --no-detach 23479 option 23480 234812002-10-07 13:52 Martin Pool <mbp@samba.org> 23482 23483 * NEWS, src/h_hosts.c, src/hosts.c, src/hosts.h, src/lock.c, 23484 src/where.c, test/testdistcc.py: Add per-host limit on number of 23485 compile slots to dcc_hostdef structure. Not used yet, and always 23486 set to 4. 23487 234882002-10-07 13:06 Martin Pool <mbp@samba.org> 23489 23490 * NEWS, OLDNEWS, configure, configure.ac: Advance version to 23491 0.13cvs 23492 234932002-10-07 12:39 Martin Pool <mbp@samba.org> 23494 23495 * NEWS, aclocal.m4, configure, configure.ac: Bump version to 0.12 23496 234972002-10-07 12:34 Martin Pool <mbp@samba.org> 23498 23499 * src/where.c: Doc 23500 235012002-10-07 12:29 Martin Pool <mbp@samba.org> 23502 23503 * linuxdoc/distcc.sgml: Bump to version 0.12 23504 235052002-10-07 12:16 Martin Pool <mbp@samba.org> 23506 23507 * linuxdoc/distcc.sgml: Note on adaptive scheduling 23508 235092002-10-07 11:35 Martin Pool <mbp@samba.org> 23510 23511 * NEWS, src/clinet.c, src/clinet.h, src/distcc.c, src/exec.c, 23512 src/exec.h, src/hosts.c, src/hosts.h, src/lock.c, src/where.c: 23513 Roll back multi-A-record patch: seems to break the test suite, 23514 and on further consideration I think just SRV records might be 23515 cleaner. 23516 235172002-10-07 11:19 Martin Pool <mbp@samba.org> 23518 23519 * test/testdistcc.py: Doc 23520 235212002-10-07 11:15 Martin Pool <mbp@samba.org> 23522 23523 * src/hosts.c: Doc about handling host list. 23524 235252002-10-07 11:04 Martin Pool <mbp@samba.org> 23526 23527 * linuxdoc/distcc.sgml: Add note about performance test suite. 23528 235292002-10-06 21:37 Martin Pool <mbp@samba.org> 23530 23531 * aclocal.m4, configure, configure.ac: Bump version to 0.12cvs 23532 235332002-10-04 11:53 Martin Pool <mbp@samba.org> 23534 23535 * NEWS: foo 23536 235372002-10-02 15:03 Martin Pool <mbp@samba.org> 23538 23539 * src/arg.c: Add fixme 23540 235412002-10-02 14:55 Martin Pool <mbp@samba.org> 23542 23543 * src/distcc.c: Add fixme 23544 235452002-10-02 13:03 Martin Pool <mbp@samba.org> 23546 23547 * linuxdoc/distcc.sgml: Note about starting the daemon 23548 235492002-10-02 12:47 Martin Pool <mbp@samba.org> 23550 23551 * doc/irc/: slashnet-distcc-20020919.txt, 23552 slashnet-distcc-20021002.txt: Check in IRC logs 23553 235542002-09-30 23:06 Martin Pool <mbp@samba.org> 23555 23556 * src/h_hosts.c: Fix extra headers to allow for host definitions 23557 that now include an IP address. 23558 235592002-09-30 23:01 Martin Pool <mbp@samba.org> 23560 23561 * NEWS, configure, src/clinet.c, src/clinet.h, src/distcc.c, 23562 src/exec.c, src/exec.h, src/hosts.c, src/hosts.h, src/lock.c, 23563 src/where.c: Handle DNS A records that give multiple IP addresses 23564 for a host by distributing work across all the addresses. This 23565 should allow you to create "linux.build.squick.net" that resolves 23566 to all the relevant machines. 23567 23568 Patch from Andreas Granig, but seems to break some tests. 23569 235702002-09-30 16:06 Martin Pool <mbp@samba.org> 23571 23572 * NEWS, src/serve.c: wait4() on Solaris can't handle a pid of -1, 23573 which means "any child" on Linux and BSD. Use pid of 0 instead 23574 to collect any children from the same process group. (Kevin 23575 Bailey) 23576 235772002-09-30 15:44 Martin Pool <mbp@samba.org> 23578 23579 * NEWS, src/arg.c, test/testdistcc.py: Add tests for "gcc -S -o - 23580 foo.c" 23581 235822002-09-30 14:04 Martin Pool <mbp@samba.org> 23583 23584 * linuxdoc/distcc.sgml: Update version to 0.11 23585 235862002-09-30 14:00 Martin Pool <mbp@samba.org> 23587 23588 * linuxdoc/distcc.sgml: Remove done TODO 23589 235902002-09-30 13:46 Martin Pool <mbp@samba.org> 23591 23592 * Makefile.in: Add roadmap 23593 235942002-09-27 14:50 Martin Pool <mbp@samba.org> 23595 23596 * NEWS, src/arg.c: Handle "gcc -S foo.c -o -", which ought to write 23597 assembly to stdout. 23598 235992002-09-27 14:20 Martin Pool <mbp@samba.org> 23600 23601 * src/where.c: Add fixme 23602 236032002-09-27 14:03 Martin Pool <mbp@samba.org> 23604 23605 * Makefile.in: Add results page 23606 236072002-09-27 13:55 Martin Pool <mbp@samba.org> 23608 23609 * survey.txt: Add qn about distcc version 23610 236112002-09-26 16:19 Martin Pool <mbp@samba.org> 23612 23613 * NEWS, OLDNEWS: Roll over NEWS 23614 236152002-09-25 16:36 Martin Pool <mbp@samba.org> 23616 23617 * src/implicit.c: Doc 23618 236192002-09-25 11:54 Martin Pool <mbp@samba.org> 23620 23621 * NEWS, configure, configure.ac: Bump version to 0.11 23622 236232002-09-25 11:43 Martin Pool <mbp@samba.org> 23624 23625 * Makefile.in, patches/README.patches, 23626 patches/granig_distcc_multi-A-record.diff: Add patches/README, 23627 and Andrea Granig's multi-A-record patch 23628 236292002-09-25 11:39 Martin Pool <mbp@samba.org> 23630 23631 * Makefile.in: Include patches in distributed tarball 23632 236332002-09-25 11:37 Martin Pool <mbp@samba.org> 23634 23635 * linuxdoc/distcc.sgml: GNU Info can't handle having two sections 23636 with the same heading 23637 236382002-09-24 18:18 Martin Pool <mbp@samba.org> 23639 23640 * NEWS, src/strip.c: Fix (non-exploitable) buffer overrun bug. 23641 236422002-09-23 22:47 Martin Pool <mbp@samba.org> 23643 23644 * NEWS: Update news 23645 236462002-09-23 22:31 Martin Pool <mbp@samba.org> 23647 23648 * src/strip.c: List -MD, etc, separately, because we don't know how 23649 other -M options will be parsed in the future. 23650 236512002-09-23 22:29 Martin Pool <mbp@samba.org> 23652 23653 * src/strip.c: Strip -MF -MT -MQ options that are followed by a 23654 filename 23655 236562002-09-23 22:24 Martin Pool <mbp@samba.org> 23657 23658 * src/arg.c: Add support for gcc-3.2 new -M options (-MG, etc) 23659 236602002-09-23 15:25 Martin Pool <mbp@samba.org> 23661 23662 * linuxdoc/distcc.sgml: Update todo list. 23663 23664 Add section discussing ccache and distcc 23665 236662002-09-23 15:17 Martin Pool <mbp@samba.org> 23667 23668 * patches/joerg-proof-build-01.diff: Patch from Joerg to do "proof" 23669 by compiling a file on all machines and checking that they're the 23670 same. 23671 236722002-09-23 14:56 Martin Pool <mbp@samba.org> 23673 23674 * NEWS, src/daemon.c: Do not object to running as group 0, because 23675 on BSD this is "wheel" and many non-privileged users are in it. 23676 236772002-09-23 12:46 Martin Pool <mbp@samba.org> 23678 23679 * doc/scheduling.txt: More notes 23680 236812002-09-20 12:37 Martin Pool <mbp@samba.org> 23682 23683 * src/arg.c: Doc 23684 236852002-09-20 11:39 Martin Pool <mbp@samba.org> 23686 23687 * NEWS, src/strip.c, test/testdistcc.py: Strip more local-only 23688 options 23689 23690 Add more tests for argument stripping 23691 23692 dcc_strip_local_args: trace result on completion 23693 236942002-09-20 10:30 Martin Pool <mbp@samba.org> 23695 23696 * test/testdistcc.py: Doc 23697 236982002-09-20 10:14 Martin Pool <mbp@samba.org> 23699 23700 * src/arg.c: Doc. 23701 237022002-09-19 00:33 Martin Pool <mbp@samba.org> 23703 23704 * src/bulk.c: Mode on received files should be 0666&~umask 23705 237062002-09-19 00:06 Martin Pool <mbp@samba.org> 23707 23708 * src/serve.c: Doc 23709 237102002-09-18 22:58 Martin Pool <mbp@samba.org> 23711 23712 * src/serve.c: Doc 23713 237142002-09-18 21:36 Martin Pool <mbp@samba.org> 23715 23716 * NEWS, src/bulk.c, src/daemon.c, test/testdistcc.py: Make 23717 permissions on output files obey umask, etc. Add test case for 23718 this. 23719 23720 Add option to test case driver to run particular specified tests. 23721 237222002-09-18 16:57 Martin Pool <mbp@samba.org> 23723 23724 * src/distcc.c, src/h_scanargs.c, src/implicit.c, src/implicit.h, 23725 test/testdistcc.py: Rename dcc_add_implicit to dcc_find_compiler 23726 23727 Remove "distcc hello.o -o hello" case -- too hard at the moment. 23728 237292002-09-18 16:47 Martin Pool <mbp@samba.org> 23730 23731 * src/: distcc.c, h_scanargs.c, implicit.c, implicit.h: Reduce 23732 too-long function name 23733 237342002-09-18 16:42 Martin Pool <mbp@samba.org> 23735 23736 * src/implicit.c: Doc. 23737 237382002-09-18 16:39 Martin Pool <mbp@samba.org> 23739 23740 * test/testdistcc.py: Add implicit linker test: "distcc testtmp.o 23741 -o testtmp" 23742 237432002-09-18 16:36 Martin Pool <mbp@samba.org> 23744 23745 * test/testdistcc.py: Fix tests for -MD that were giving a false 23746 pass 23747 23748 Add basic tests for implict compiler names. 23749 237502002-09-18 16:33 Martin Pool <mbp@samba.org> 23751 23752 * NEWS, src/Makefile.in, src/h_scanargs.c, test/testdistcc.py: Add 23753 more test cases for implicit compiler name handling. Extend 23754 h_scanargs to exercise this. 23755 237562002-09-18 16:32 Martin Pool <mbp@samba.org> 23757 23758 * src/arg.c: Fix doc. 23759 237602002-09-18 13:29 Martin Pool <mbp@samba.org> 23761 23762 * NEWS: Release name 23763 237642002-09-18 10:45 Martin Pool <mbp@samba.org> 23765 23766 * doc/results.txt: Add results on building inside VMWare 23767 237682002-09-17 18:49 Martin Pool <mbp@samba.org> 23769 23770 * src/io.c: Doc. 23771 237722002-09-17 13:59 Martin Pool <mbp@samba.org> 23773 23774 * src/srvnet.c: resolv.h might need sys/types.h on BSD? 23775 237762002-09-17 13:58 Martin Pool <mbp@samba.org> 23777 23778 * src/implicit.c: Might need sys/types.h on BSD? 23779 237802002-09-16 18:14 Martin Pool <mbp@samba.org> 23781 23782 * src/clinet.c: Fix docs 23783 237842002-09-16 11:02 Martin Pool <mbp@samba.org> 23785 23786 * Makefile.in: Upload "tested" page 23787 237882002-09-16 11:01 Martin Pool <mbp@samba.org> 23789 23790 * README: Update readme text 23791 237922002-09-14 19:02 Martin Pool <mbp@samba.org> 23793 23794 * src/srvnet.c: Cope without hstrerror(). Thanks to Richard 23795 Zidlicky 23796 237972002-09-14 18:59 Martin Pool <mbp@samba.org> 23798 23799 * configure, configure.ac, src/config.h.in: Check for presence of 23800 hstrerror function. Richard Zidlicky reports that it is missing 23801 in libc5 23802 238032002-09-14 18:54 Martin Pool <mbp@samba.org> 23804 23805 * src/srvnet.c: Cope without socklen_t. Thanks to Richard Zidlicky 23806 238072002-09-14 18:53 Martin Pool <mbp@samba.org> 23808 23809 * configure, configure.ac, src/config.h.in: Check for socklen_t 23810 238112002-09-14 18:46 Martin Pool <mbp@samba.org> 23812 23813 * src/clinet.c, NEWS: Remove unnecessary sa_family_t cast. 23814 (Richard Zidlicky) 23815 238162002-09-14 13:35 Martin Pool <mbp@samba.org> 23817 23818 * NEWS: Doc 23819 238202002-09-14 13:20 Martin Pool <mbp@samba.org> 23821 23822 * NEWS, configure, configure.ac, src/config.h.in: More helpful 23823 message explaining that popt is needed if it is missing at build 23824 time. 23825 238262002-09-14 10:58 Martin Pool <mbp@samba.org> 23827 23828 * configure.ac: Doc 23829 238302002-09-14 10:52 Martin Pool <mbp@samba.org> 23831 23832 * src/dparent.c: Don't set cloexec() on the accept fd -- this seems 23833 to make it close after the first compiler runs. 23834 238352002-09-14 10:51 Martin Pool <mbp@samba.org> 23836 23837 * NEWS, test/testdistcc.py: Create and use a separate TMPDIR for 23838 each test case. 23839 23840 Also, rename subdirectories of testtmp 23841 238422002-09-14 10:46 Martin Pool <mbp@samba.org> 23843 23844 * src/serve.c: Doc. 23845 238462002-09-14 10:38 Martin Pool <mbp@samba.org> 23847 23848 * src/serve.c: Doc. 23849 238502002-09-14 10:11 Martin Pool <mbp@samba.org> 23851 23852 * src/: dparent.c, exec.c: Don't close all fds when starting the 23853 compiler, because this gets a bit confusing with logs and lock 23854 files. However, do set CLOEXEC on the network fds, because the 23855 compiler should never be writing to them. 23856 238572002-09-14 09:52 Martin Pool <mbp@samba.org> 23858 23859 * src/lock.c, NEWS: Fix leakage of fds when trying to get a lock. 23860 238612002-09-14 09:51 Martin Pool <mbp@samba.org> 23862 23863 * src/util.c: Doc. 23864 238652002-09-14 09:50 Martin Pool <mbp@samba.org> 23866 23867 * src/exec.c: Move lock prototypes to lock.h 23868 238692002-09-14 09:48 Martin Pool <mbp@samba.org> 23870 23871 * src/: lock.h, distcc.h: Rearrange prototypes 23872 238732002-09-14 09:47 Martin Pool <mbp@samba.org> 23874 23875 * Makefile.in, src/Makefile.in, src/exec.c, src/hosts.c, 23876 src/lock.c, src/lock.h, src/where.c: Split locking code out into 23877 a separate file so that it can be used by the server as well 23878 238792002-09-14 09:46 Martin Pool <mbp@samba.org> 23880 23881 * test/testdistcc.py: Run daemon with --verbose 23882 238832002-09-14 09:33 Martin Pool <mbp@samba.org> 23884 23885 * src/exec.c: dcc_execvp doesn't return 23886 238872002-09-14 09:32 Martin Pool <mbp@samba.org> 23888 23889 * NEWS: Whenever a command by either the client or the server, it 23890 counts towards the load on that machine. This covers 23891 undistributed commands, cpp, and compilation. 23892 238932002-09-14 09:32 Martin Pool <mbp@samba.org> 23894 23895 * src/distcc.c: dcc_compile_local: Don't need to take a lock as a 23896 special case; this is always done now 23897 238982002-09-14 09:30 Martin Pool <mbp@samba.org> 23899 23900 * src/exec.c: dcc_inside_child: Take a lock on localhost for all 23901 executed commands 23902 239032002-09-14 09:08 Martin Pool <mbp@samba.org> 23904 23905 * test/testdistcc.py: Doc 23906 239072002-09-14 08:42 Martin Pool <mbp@samba.org> 23908 23909 * src/serve.c: Doc 23910 239112002-09-14 08:41 Martin Pool <mbp@samba.org> 23912 23913 * src/exec.c, NEWS: dcc_inside_child: new function to handle setup 23914 and execution of children. Now checks return codes, and makes 23915 sure (very important!) that we can never return above the fork() 23916 call. 23917 239182002-09-14 08:33 Martin Pool <mbp@samba.org> 23919 23920 * src/exec.c: dcc_redirect_fds: If any redirection fails, return 23921 that error. 23922 239232002-09-14 08:32 Martin Pool <mbp@samba.org> 23924 23925 * src/util.c: Needs exitcode.h 23926 239272002-09-14 08:31 Martin Pool <mbp@samba.org> 23928 23929 * src/util.c: dcc_redirect_fd: Return EXIT_IO_ERROR not -1 for 23930 error 23931 239322002-09-14 08:30 Martin Pool <mbp@samba.org> 23933 23934 * src/util.c: dcc_redirect_fd: Remove calls to rs_fatal() in favour 23935 of returning an error. 23936 239372002-09-14 08:28 Martin Pool <mbp@samba.org> 23938 23939 * src/tempfile.c: Doc 23940 239412002-09-14 08:26 Martin Pool <mbp@samba.org> 23942 23943 * OLDNEWS, NEWS: Roll over NEWS 23944 239452002-09-14 08:25 Martin Pool <mbp@samba.org> 23946 23947 * src/io.c: Failure to write should be an error, but not fatal. We 23948 might want to do something to make sure the process unwinds 23949 properly. 23950 239512002-09-14 08:23 Martin Pool <mbp@samba.org> 23952 23953 * src/serve.c: Doc 23954 239552002-09-13 17:52 Martin Pool <mbp@samba.org> 23956 23957 * linuxdoc/distcc.sgml: Update libtool situation. 23958 239592002-09-13 15:40 Martin Pool <mbp@samba.org> 23960 23961 * doc/ssh-notes.txt: Back-of-envelope calculations on using SSH. 23962 239632002-09-13 13:08 Martin Pool <mbp@samba.org> 23964 23965 * src/: arg.c: Doc. 23966 239672002-09-13 13:02 Martin Pool <mbp@samba.org> 23968 23969 * src/arg.c: Doc. 23970 239712002-09-13 12:58 Martin Pool <mbp@samba.org> 23972 23973 * src/serve.c: Doc. 23974 239752002-09-13 12:55 Martin Pool <mbp@samba.org> 23976 23977 * src/serve.c: Remove done todo 23978 239792002-09-13 12:29 Martin Pool <mbp@samba.org> 23980 23981 * Makefile.in: Remove done TODO 23982 239832002-09-13 12:28 Martin Pool <mbp@samba.org> 23984 23985 * Makefile.in: Include new header file 23986 239872002-09-13 12:27 Martin Pool <mbp@samba.org> 23988 23989 * configure, configure.ac: Bump version to 0.10.1 23990 239912002-09-13 12:24 Martin Pool <mbp@samba.org> 23992 23993 * src/serve.c: Define W_EXITCODE with standard Unix meaning if it 23994 is missing. 23995 239962002-09-13 12:22 Martin Pool <mbp@samba.org> 23997 23998 * src/: distcc.c, distcc.h, exec.c, exec.h, serve.c: Split headers, 23999 also fix fact that pid_t is in sys/types.h. 24000 240012002-09-13 12:20 Martin Pool <mbp@samba.org> 24002 24003 * configure, configure.ac: Bump version to 0.10.1cvs 24004 240052002-09-12 21:38 Martin Pool <mbp@samba.org> 24006 24007 * linuxdoc/distcc.sgml, src/distcc.c: Update for new syntax, 24008 'distcc -c hello.c' 24009 240102002-09-12 21:28 Martin Pool <mbp@samba.org> 24011 24012 * configure, configure.ac: Bump version to 0.10. 24013 240142002-09-12 21:20 Martin Pool <mbp@samba.org> 24015 24016 * NEWS: Add release name. 24017 240182002-09-12 21:00 Martin Pool <mbp@samba.org> 24019 24020 * NEWS: Strip emacs stuff. 24021 240222002-09-12 20:43 Martin Pool <mbp@samba.org> 24023 24024 * NEWS, src/filename.c, test/testdistcc.py: It turns out that .s 24025 and .S files in fact cannot be assembled remotely, because they 24026 might use the gas '.include' pseudo op, which is resolved by the 24027 assembler and would end up reading something from the volunteer's 24028 disk. 24029 24030 Thanks to Richard Zidlicky for pointing this out. 24031 240322002-09-12 20:15 Martin Pool <mbp@samba.org> 24033 24034 * test/testdistcc.py: Doc. 24035 240362002-09-12 14:30 Martin Pool <mbp@samba.org> 24037 24038 * src/: arg.c: Note about difficulties of included files in .s and 24039 .S. 24040 240412002-09-12 12:14 Martin Pool <mbp@samba.org> 24042 24043 * test/testdistcc.py: Update regexp to handle new "cannot 24044 distribute" message format. 24045 240462002-09-12 11:20 Martin Pool <mbp@samba.org> 24047 24048 * src/strip.c: Remove dumb overoptimization that mangled command 24049 lines 24050 240512002-09-12 11:17 Martin Pool <mbp@samba.org> 24052 24053 * src/strip.c, NEWS: Strip -M* from remote command lines as well. 24054 240552002-09-12 11:13 Martin Pool <mbp@samba.org> 24056 24057 * configure.ac: If using gcc, use -MMD for dependency files. 24058 240592002-09-12 11:03 Martin Pool <mbp@samba.org> 24060 24061 * src/distcc.c, NEWS: If distribution fails, show the name of the 24062 server that we were trying to use. 24063 240642002-09-12 10:58 Martin Pool <mbp@samba.org> 24065 24066 * src/implicit.c: Document design tradeoffs about implicit compiler 24067 names. 24068 240692002-09-12 10:34 Martin Pool <mbp@samba.org> 24070 24071 * src/: distcc.c, distcc.h, hosts.c, implicit.c, implicit.h, 24072 where.c: Allow distcc to be directly used with the same syntax as 24073 a compiler: "distcc -c hello.c". At the moment, always calls 24074 "cc". 24075 240762002-09-11 17:19 Martin Pool <mbp@samba.org> 24077 24078 * Makefile.in, NEWS, src/Makefile.in, src/arg.c, src/distcc.c, 24079 test/testdistcc.py: Allow distcc to be directly used with the 24080 same syntax as a compiler: "distcc -c hello.c". At the moment, 24081 always calls "cc". 24082 240832002-09-11 17:02 Martin Pool <mbp@samba.org> 24084 24085 * src/: distcc.c, arg.c: Remove done todos. 24086 240872002-09-11 16:44 Martin Pool <mbp@samba.org> 24088 24089 * NEWS, src/distcc.c, src/h_strip.c, src/strip.c, src/strip.h: Also 24090 strip -L arguments before passing across the network. There's no 24091 good reason why they should be on compilation lines, but it does 24092 happen in GNOME. 24093 240942002-09-11 16:26 Martin Pool <mbp@samba.org> 24095 24096 * src/distcc.c: Strip -D and -I options before passing the command 24097 line across the network, for clarity (and perhaps a tiny 24098 performance improvement.) 24099 241002002-09-11 16:22 Martin Pool <mbp@samba.org> 24101 24102 * NEWS: Strip -D and -I options before passing the command line 24103 across the network, for clarity (and perhaps a tiny performance 24104 improvement.) 24105 241062002-09-11 16:20 Martin Pool <mbp@samba.org> 24107 24108 * NEWS, test/testdistcc.py: Add test case that uses -D on the 24109 compiler command line 24110 241112002-09-11 16:00 Martin Pool <mbp@samba.org> 24112 24113 * test/testdistcc.py: Add test cases for scanning -Mfoo 24114 241152002-09-11 15:56 Martin Pool <mbp@samba.org> 24116 24117 * test/testdistcc.py: Add test case for arg stripping 24118 241192002-09-11 15:37 Martin Pool <mbp@samba.org> 24120 24121 * Makefile.in, src/.cvsignore, src/Makefile.in, src/h_strip.c, 24122 src/strip.c, src/strip.h, src/util.h: Add code to strip -D and -I 24123 from command lines before passing them, and test harness for 24124 same. 24125 241262002-09-11 13:08 Martin Pool <mbp@samba.org> 24127 24128 * src/distcc.c: Doc 24129 241302002-09-11 12:43 Martin Pool <mbp@samba.org> 24131 24132 * src/distcc.c: Doc from tpot 24133 241342002-09-09 22:44 Martin Pool <mbp@samba.org> 24135 24136 * test/testdistcc.py, NEWS: Add a test for running 100 compilations 24137 simultaneously. 24138 241392002-09-09 18:56 Martin Pool <mbp@samba.org> 24140 24141 * src/serve.c: Doc. 24142 241432002-09-09 18:31 Martin Pool <mbp@samba.org> 24144 24145 * src/dopt.c: Doc. 24146 241472002-09-09 16:13 Martin Pool <mbp@samba.org> 24148 24149 * src/bulk.c: Log info message giving length after receiving files. 24150 241512002-09-09 16:09 Martin Pool <mbp@samba.org> 24152 24153 * src/arg.c: Fix docs. 24154 241552002-09-09 13:19 Martin Pool <mbp@samba.org> 24156 24157 * NEWS, src/arg.c: Allow -MD and -MMD to be distributed, since the 24158 compiler will produce a little file locally. 24159 241602002-09-09 12:58 Martin Pool <mbp@samba.org> 24161 24162 * test/testdistcc.py: Add todo 24163 241642002-09-09 11:23 Martin Pool <mbp@samba.org> 24165 24166 * src/distcc.c, NEWS: Try to make sure to uncork client socket 24167 before closing if cpp fails, to work around Linux 2.2 bug that 24168 causes the socket to jam in FIN_WAIT1. 24169 241702002-09-09 10:34 Martin Pool <mbp@samba.org> 24171 24172 * src/arg.c: Doc 24173 241742002-09-08 18:13 Martin Pool <mbp@samba.org> 24175 24176 * NEWS, test/testdistcc.py: Test many simple compilations, in case 24177 there is an infrequent error. 24178 241792002-09-08 17:17 Martin Pool <mbp@samba.org> 24180 24181 * test/testdistcc.py: Actually run CppError_Case 24182 241832002-09-08 17:15 Martin Pool <mbp@samba.org> 24184 24185 * src/exec.c: Remove old doc. 24186 24187 dcc_collect_child: Show pid returned from wait4, not input pid. 24188 Much better if called with -1. 24189 241902002-09-08 17:12 Martin Pool <mbp@samba.org> 24191 24192 * src/serve.c: Factor out code for trapping child exit into new 24193 routine. 24194 241952002-09-08 17:08 Martin Pool <mbp@samba.org> 24196 24197 * NEWS: update news 24198 241992002-09-08 17:08 Martin Pool <mbp@samba.org> 24200 24201 * src/util.h: dcc_remove_if_exists: new function 24202 242032002-09-08 17:07 Martin Pool <mbp@samba.org> 24204 24205 * src/serve.c: Remove pid variable which was causing trouble by not 24206 being initialized before the child exited. Instead, just 24207 wait(-1) to collect whatever child was started. 24208 242092002-09-08 17:03 Martin Pool <mbp@samba.org> 24210 24211 * src/exec.c: When redirecting an fd in a new process, remove the 24212 file if it already exists. 24213 242142002-09-08 16:59 Martin Pool <mbp@samba.org> 24215 24216 * src/tempfile.c: dcc_remove_if_exists: new common function 24217 242182002-09-08 16:56 Martin Pool <mbp@samba.org> 24219 24220 * src/: util.h, exec.c: dcc_redirect_fd: Make name consistent. 24221 242222002-09-08 16:56 Martin Pool <mbp@samba.org> 24223 24224 * src/util.c: dcc_redirect_fd: Make name consistent. Better error 24225 messages. 24226 242272002-09-08 15:54 Martin Pool <mbp@samba.org> 24228 24229 * NEWS, src/distcc.c: If .o file is 0 bytes or not created on the 24230 server, do not create it on the client either. 24231 242322002-09-08 15:53 Martin Pool <mbp@samba.org> 24233 24234 * NEWS, src/serve.c: Attempt to fix a race where the compiler 24235 process could exit without opening its input before we started 24236 writing to the FIFO. In that case, the daemon would hang forever 24237 waiting for the compiler to arrive. In the new code, SIGCHLD 24238 causes a longjmp to break out of trying to feed the compiler. 24239 242402002-09-08 15:25 Martin Pool <mbp@samba.org> 24241 24242 * src/serve.c: Doc. 24243 242442002-09-08 15:01 Martin Pool <mbp@samba.org> 24245 24246 * NEWS, src/serve.c: If the volunteer compiler exits without 24247 reading all of its input, return the compiler's own exit code 24248 across the network, rather than EXIT_DISTCC_FAILED. 24249 242502002-09-08 14:54 Martin Pool <mbp@samba.org> 24251 24252 * src/serve.c: remove done todo 24253 242542002-09-08 14:48 Martin Pool <mbp@samba.org> 24255 24256 * NEWS, test/testdistcc.py: Test compiler that succeeds without 24257 reading input. 24258 242592002-09-08 14:29 Martin Pool <mbp@samba.org> 24260 24261 * NEWS, test/testdistcc.py: Test handling of a file that causes a 24262 preprocessor error. 24263 242642002-09-08 14:19 Martin Pool <mbp@samba.org> 24265 24266 * Makefile.in: Don't upload Latte source. 24267 242682002-09-06 14:39 Martin Pool <mbp@samba.org> 24269 24270 * src/distcc.c: Add fixmes. 24271 242722002-09-05 17:56 Martin Pool <mbp@samba.org> 24273 24274 * src/zip.c: Doc. 24275 242762002-09-05 11:05 Martin Pool <mbp@samba.org> 24277 24278 * test/testdistcc.py: todo 24279 242802002-09-05 10:07 Martin Pool <mbp@samba.org> 24281 24282 * src/exec.c: Doc waitstatus requirements. 24283 242842002-09-04 16:14 Martin Pool <mbp@samba.org> 24285 24286 * NEWS: Modified patch from Alexandre Oliva to handle "distcc -c -S 24287 testtmp.c". 24288 242892002-09-04 16:11 Martin Pool <mbp@samba.org> 24290 24291 * test/testdistcc.py: Test case for "distcc -c -S testtmp.c", 24292 reported by Alexandre Oliva 24293 242942002-09-04 16:08 Martin Pool <mbp@samba.org> 24295 24296 * src/arg.c: Modified patch from Alexandre Oliva to handle "distcc 24297 -c -S testtmp.c". 24298 242992002-09-04 15:53 Martin Pool <mbp@samba.org> 24300 24301 * test/testdistcc.py: Test case for "distcc -c -S testtmp.c", 24302 reported by Alexandre Oliva 24303 243042002-09-04 13:48 Martin Pool <mbp@samba.org> 24305 24306 * src/serve.c: Doc. 24307 243082002-09-04 13:46 Martin Pool <mbp@samba.org> 24309 24310 * linuxdoc/distcc.sgml: Notes on getloadavg() 24311 243122002-09-04 12:59 Martin Pool <mbp@samba.org> 24313 24314 * doc/lzo-notes.txt: Notes on LZO compression 24315 243162002-09-04 12:53 Martin Pool <mbp@samba.org> 24317 24318 * src/srvnet.c: Use additional headers possibly required on 24319 Solaris. 24320 243212002-09-04 12:52 Martin Pool <mbp@samba.org> 24322 24323 * src/config.h.in: Check for -lresolv 24324 243252002-09-04 12:51 Martin Pool <mbp@samba.org> 24326 24327 * NEWS: Solaris portability fixes 24328 243292002-09-04 12:49 Martin Pool <mbp@samba.org> 24330 24331 * configure: Look for -lresolv, needed on Solaris. 24332 24333 24334 http://docs.sun.com/?q=hstrerror&p=/doc/816-3322/6m9k32d1v&a=view 24335 24336 Suggestion from Dimitri PAPADOPOULOS-ORFANOS. 24337 243382002-09-04 12:47 Martin Pool <mbp@samba.org> 24339 24340 * analog/.cvsignore: Ignore downloaded logs 24341 243422002-09-04 12:40 Martin Pool <mbp@samba.org> 24343 24344 * Makefile.in, src/Makefile.in: Solaris "install -d" can only 24345 create a single directory at a time. 24346 24347 Suggestion from Dimitri PAPADOPOULOS-ORFANOS. 24348 243492002-09-04 12:38 Martin Pool <mbp@samba.org> 24350 24351 * configure.ac: Look for -lresolv, needed on Solaris. 24352 24353 24354 http://docs.sun.com/?q=hstrerror&p=/doc/816-3322/6m9k32d1v&a=view 24355 24356 Suggestion from Dimitri PAPADOPOULOS-ORFANOS. 24357 243582002-09-04 12:14 Martin Pool <mbp@samba.org> 24359 24360 * src/distcc.c: Patch from Dimitri PAPADOPOULOS-ORFANOS to fix 24361 signedness warning. 24362 243632002-09-04 10:06 Martin Pool <mbp@samba.org> 24364 24365 * linuxdoc/distcc.sgml: Note that server log messages stay on the 24366 server. 24367 243682002-09-03 18:13 Martin Pool <mbp@samba.org> 24369 24370 * NEWS, OLDNEWS: Roll over NEWS 24371 243722002-09-03 18:12 Martin Pool <mbp@samba.org> 24373 24374 * man/distccd.1: troff fix 24375 243762002-09-03 18:12 Martin Pool <mbp@samba.org> 24377 24378 * man/distcc.1: Tiny troff fix 24379 243802002-09-03 18:09 Martin Pool <mbp@samba.org> 24381 24382 * configure.ac: Set version to 0.10cvs 24383 243842002-09-03 18:02 Martin Pool <mbp@samba.org> 24385 24386 * src/arg.c: Doc. 24387 243882002-09-03 18:00 Martin Pool <mbp@samba.org> 24389 24390 * analog/distcc.analog: Turn on weekly report. 24391 24392 Adjust floors. 24393 243942002-09-03 17:49 Martin Pool <mbp@samba.org> 24395 24396 * Makefile.in: analog-download: Get archived log files 24397 243982002-09-03 15:45 Martin Pool <mbp@samba.org> 24399 24400 * NEWS, configure, configure.ac: Bump version to 0.9 24401 244022002-09-03 14:03 Martin Pool <mbp@samba.org> 24403 24404 * doc/results.txt: More results. 24405 244062002-09-03 14:02 Martin Pool <mbp@samba.org> 24407 24408 * Makefile.in: Fix linuxdoc targets so that .ps and .info files 24409 don't get rebuilt if the .gz files are up-to-date. 24410 244112002-09-03 13:49 Martin Pool <mbp@samba.org> 24412 24413 * Makefile.in: Doc. 24414 244152002-09-03 13:49 Martin Pool <mbp@samba.org> 24416 24417 * Makefile.in: Change .gz rule to compress "in-place" 24418 244192002-09-03 13:48 Martin Pool <mbp@samba.org> 24420 24421 * Makefile.in: Add new header files to list of things to 24422 distribute! 24423 244242002-09-03 13:40 Martin Pool <mbp@samba.org> 24425 24426 * news.emacs: emacs stub to set up NEWS file. 24427 244282002-09-03 10:55 Martin Pool <mbp@samba.org> 24429 24430 * linuxdoc/distcc.sgml: Split TODOs about load balancing out into 24431 their own section. 24432 24433 Add nice suggestion from Oscar Esteban about allowing some jobs 24434 to be remotely queued. 24435 244362002-09-02 10:33 Martin Pool <mbp@samba.org> 24437 24438 * linuxdoc/distcc.sgml: Add RFC for DNS SRV. 24439 244402002-09-02 10:32 Martin Pool <mbp@samba.org> 24441 24442 * linuxdoc/distcc.sgml: More todo notes. 24443 244442002-09-02 09:21 Martin Pool <mbp@samba.org> 24445 24446 * Makefile.in: Apache logs have moved on new samba.org machine 24447 244482002-09-02 09:17 Martin Pool <mbp@samba.org> 24449 24450 * Makefile.in: Add analog-all target 24451 244522002-09-02 07:38 Martin Pool <mbp@samba.org> 24453 24454 * src/distcc.c: Doc. 24455 244562002-09-02 07:16 Martin Pool <mbp@samba.org> 24457 24458 * src/distcc.c: dcc_retrieve_results: If the remote compiler exited 24459 non-zero, but the transfer was successful, return 0, indicating 24460 that there is no point trying to re-run the job locally. 24461 244622002-09-02 07:12 Martin Pool <mbp@samba.org> 24463 24464 * src/serve.c: If something went wrong running the compiler, then 24465 make sure the overall status is failure. However, only overwrite 24466 the status code if it was not already !0. 24467 244682002-09-02 07:07 Martin Pool <mbp@samba.org> 24469 24470 * test/testdistcc.py: Set up a distcc client log file for all 24471 tests. 24472 244732002-09-02 07:02 Martin Pool <mbp@samba.org> 24474 24475 * test/testdistcc.py: Add test case that runs /bin/false to 24476 simulate a compiler that fails without reading its input. 24477 244782002-09-01 15:33 Martin Pool <mbp@samba.org> 24479 24480 * NEWS: Doc recent changes 24481 244822002-09-01 15:30 Martin Pool <mbp@samba.org> 24483 24484 * src/bulk.c: Better message for the case where the compile command 24485 exits without opening the fifo. 24486 244872002-09-01 15:27 Martin Pool <mbp@samba.org> 24488 24489 * src/serve.c: Fix message 24490 244912002-09-01 15:26 Martin Pool <mbp@samba.org> 24492 24493 * src/serve.c: If compilation failed, then still collect the 24494 compiler child, and send back a reply, with the waitstatus forced 24495 to be failure. 24496 244972002-09-01 15:15 Martin Pool <mbp@samba.org> 24498 24499 * src/distcc.c, NEWS: dcc_compile_remote: If transmission to the 24500 server fails, close the socket sooner rather than later so as not 24501 to make the server process wait around unnecessarily. 24502 245032002-09-01 15:12 Martin Pool <mbp@samba.org> 24504 24505 * src/distcc.c: dcc_compile_remote: Split into smaller functions. 24506 245072002-09-01 15:02 Martin Pool <mbp@samba.org> 24508 24509 * src/bulk.c: Doc. 24510 245112002-09-01 14:28 Martin Pool <mbp@samba.org> 24512 24513 * NEWS: Add common routine for setting SIGPIPE handling. 24514 245152002-09-01 14:27 Martin Pool <mbp@samba.org> 24516 24517 * src/serve.c: Split server-side compile code into slightly smaller 24518 functions 24519 24520 If a network error is detected while feeding data to the 24521 compiler, then it is sent a SIGHUP. 24522 245232002-09-01 14:08 Martin Pool <mbp@samba.org> 24524 24525 * NEWS, src/exec.c: Set SIGPIPE handler back to default before 24526 starting compiler tasks. 24527 245282002-09-01 14:06 Martin Pool <mbp@samba.org> 24529 24530 * src/: clinet.c, serve.c, util.c, util.h: Add common routine for 24531 setting SIGPIPE handling. 24532 245332002-09-01 14:05 Martin Pool <mbp@samba.org> 24534 24535 * test/testdistcc.py: Send distccd log to a file while testing -- 24536 easier for postmortems. 24537 245382002-09-01 13:56 Martin Pool <mbp@samba.org> 24539 24540 * NEWS, src/dparent.c: Do not try to collect daemon children if 24541 --no-fork was specified. Otherwise that routine collects 24542 compilers, and gives crazy messages like "-2 children". 24543 245442002-09-01 13:43 Martin Pool <mbp@samba.org> 24545 24546 * src/serve.c: Doc. 24547 245482002-09-01 09:18 Martin Pool <mbp@samba.org> 24549 24550 * src/serve.c: Doc. 24551 245522002-09-01 09:09 Martin Pool <mbp@samba.org> 24553 24554 * src/serve.c: Doc. 24555 245562002-09-01 09:07 Martin Pool <mbp@samba.org> 24557 24558 * src/distcc.c: dcc_compile_remote: Better log message 24559 245602002-09-01 09:06 Martin Pool <mbp@samba.org> 24561 24562 * src/serve.c: dcc_accept_job: Better log message 24563 245642002-09-01 09:05 Martin Pool <mbp@samba.org> 24565 24566 * src/distcc.c: Fix silly parameter order bug. 24567 245682002-09-01 08:55 Martin Pool <mbp@samba.org> 24569 24570 * src/dparent.c: Get rid of cloexec, just close fds by hand. 24571 245722002-09-01 08:52 Martin Pool <mbp@samba.org> 24573 24574 * src/serve.c: Typo 24575 245762002-09-01 08:50 Martin Pool <mbp@samba.org> 24577 24578 * src/exec.c, NEWS: Close extra file descriptors before starting 24579 the compiler. 24580 245812002-09-01 08:46 Martin Pool <mbp@samba.org> 24582 24583 * src/dparent.c: Set close-on-exec flags on listen and accepted 24584 fds. 24585 245862002-09-01 08:43 Martin Pool <mbp@samba.org> 24587 24588 * src/: util.c, util.h: set_cloexec_flag: new function 24589 245902002-09-01 08:39 Martin Pool <mbp@samba.org> 24591 24592 * src/serve.c: Doc 24593 245942002-09-01 08:38 Martin Pool <mbp@samba.org> 24595 24596 * src/: distcc.c, serve.c: dcc_accept_job: 24597 24598 * Use new dcc_mkfifo routine to make sure the fifo is created 24599 properly. 24600 24601 * Use new dcc_r_file_body, dcc_r_file and dcc_r_fifo routines to 24602 make 24603 sure each type of temporary file is opened in the right way. 24604 246052002-09-01 08:36 Martin Pool <mbp@samba.org> 24606 24607 * src/daemon.c: tempfile.h: new header 24608 246092002-09-01 08:34 Martin Pool <mbp@samba.org> 24610 24611 * NEWS: Doc mkfifo changes and BigAssFile_Case 24612 246132002-09-01 08:31 Martin Pool <mbp@samba.org> 24614 24615 * src/tempfile.c: dcc_mkfifo: 24616 24617 * New routine. 24618 24619 * We now unlink before trying to create a fifo, to make sure 24620 that if 24621 somehow that name is already in use by a file or fifo we won't 24622 get 24623 confused. 24624 246252002-09-01 08:29 Martin Pool <mbp@samba.org> 24626 24627 * src/: rpc.h, bulk.h: bulk.h: new header 24628 246292002-09-01 08:28 Martin Pool <mbp@samba.org> 24630 24631 * src/io.c: needs exitcode.h 24632 246332002-09-01 08:27 Martin Pool <mbp@samba.org> 24634 24635 * src/: bulk.c, dparent.c, where.c: tempfile.h: new header 24636 246372002-09-01 07:52 Martin Pool <mbp@samba.org> 24638 24639 * src/: tempfile.h, distcc.h: Split out tempfile.c routines into 24640 their own header 24641 246422002-09-01 07:49 Martin Pool <mbp@samba.org> 24643 24644 * src/bulk.c: Doc. 24645 24646 dcc_r_file: 24647 24648 * Unlink the name before starting to receive the file. This may 24649 prevent bugs where the name already existed as a fifo. The 24650 old 24651 code would have opened the fifo rather than replacing it, and 24652 therefore would hang. Afterwards, create with O_EXCL. 24653 24654 * Check that the file is successfully closed. (Might catch 24655 ENOSPC or similar.) 24656 24657 dcc_r_fd: Fix return code to be the result of transferring the 24658 contents of the file. 24659 246602002-09-01 07:40 Martin Pool <mbp@samba.org> 24661 24662 * src/io.c: dcc_close: make return code consistent (EXIT_IO_ERROR, 24663 not errno) 24664 246652002-09-01 07:39 Martin Pool <mbp@samba.org> 24666 24667 * src/exitcode.h: Add EXIT_IO_ERROR 24668 246692002-09-01 07:37 Martin Pool <mbp@samba.org> 24670 24671 * src/io.c: dcc_close: log file descriptor correctly. 24672 246732002-08-31 14:50 Martin Pool <mbp@samba.org> 24674 24675 * src/bulk.c: Doc 24676 246772002-08-31 14:45 Martin Pool <mbp@samba.org> 24678 24679 * test/testdistcc.py, src/clinet.c: Doc 24680 246812002-08-31 14:43 Martin Pool <mbp@samba.org> 24682 24683 * src/clinet.c: Doc. 24684 24685 Make variables consistent. 24686 246872002-08-31 14:31 Martin Pool <mbp@samba.org> 24688 24689 * src/distcc.c: Doc. 24690 246912002-08-31 14:23 Martin Pool <mbp@samba.org> 24692 24693 * src/: bulk.c, serve.c: Doc. 24694 246952002-08-31 14:13 Martin Pool <mbp@samba.org> 24696 24697 * src/: bulk.c, io.c, io.h, rpc.c, rpc.h, serve.c: dcc_r_token_int: 24698 Add common routine for reading token and parameter value. 24699 247002002-08-31 14:01 Martin Pool <mbp@samba.org> 24701 24702 * src/rpc.c: Doc. 24703 247042002-08-31 13:58 Martin Pool <mbp@samba.org> 24705 24706 * src/: io.c, io.h: dcc_write_token: remove dead function 24707 247082002-08-31 13:56 Martin Pool <mbp@samba.org> 24709 24710 * src/io.c: Cleanup sendfile code somewhat. 24711 247122002-08-31 13:48 Martin Pool <mbp@samba.org> 24713 24714 * NEWS, linuxdoc/distcc.sgml, src/distcc.c, src/io.c, 24715 src/tempfile.c, src/util.c, src/util.h: dcc_getenv_bool: Add 24716 parameter giving default value so that things can default to 24717 either on or off. 24718 24719 Add new environment variable for client and server, 24720 DISTCC_TCP_CORK. Defaults to on, intended mostly for performance 24721 comparison or debugging. 24722 247232002-08-31 13:44 Martin Pool <mbp@samba.org> 24724 24725 * src/rpc.c: Fix prototype 24726 24727 Use dcc_x_token_int in one case I missed before 24728 247292002-08-31 12:41 Martin Pool <mbp@samba.org> 24730 24731 * NEWS, src/bulk.c, src/distcc.c, src/rpc.c, src/rpc.h: Write 24732 token/parameters using a single write() call. May be very 24733 slightly more efficient in CPU and perhaps packets. 24734 247352002-08-31 12:13 Martin Pool <mbp@samba.org> 24736 24737 * src/io.c: Doc. 24738 247392002-08-30 10:53 Martin Pool <mbp@samba.org> 24740 24741 * src/dparent.c: Doc. 24742 247432002-08-30 10:51 Martin Pool <mbp@samba.org> 24744 24745 * src/serve.c: Put cork in correct hole. 24746 247472002-08-29 11:43 Martin Pool <mbp@samba.org> 24748 24749 * src/trace.c: Doc. 24750 247512002-08-29 11:18 Martin Pool <mbp@samba.org> 24752 24753 * NEWS, src/io.c: Handle the case of sendfile() transmitting only 24754 part of the supplied 24755 data, similarly to a short write on a socket. This doesn't 24756 often 24757 happen, but can occur if a ptrace debugger attaches while 24758 sendfile is 24759 running. 24760 247612002-08-29 10:35 Martin Pool <mbp@samba.org> 24762 24763 * NEWS, src/distcc.c: Message for completion of local cpp now gives 24764 the correct hostname. 24765 247662002-08-29 10:21 Martin Pool <mbp@samba.org> 24767 24768 * src/Makefile.in: Include $CFLAGS when linking so that profiling 24769 works 24770 247712002-08-29 10:17 Martin Pool <mbp@samba.org> 24772 24773 * NEWS: Display test names while they're running so that long tests 24774 are easier to follow. 24775 247762002-08-29 10:06 Martin Pool <mbp@samba.org> 24777 24778 * NEWS: Doc 24779 247802002-08-29 10:05 Martin Pool <mbp@samba.org> 24781 24782 * test/testdistcc.py: When trying to kill the daemon, keep pinging 24783 it to make sure it actually died. This prevents the cases 24784 sometimes tripping over each other. 24785 24786 Fix damage to assembly cases from previous commit 24787 24788 Doc 24789 24790 Remove some dead code 24791 247922002-08-29 09:49 Martin Pool <mbp@samba.org> 24793 24794 * src/dparent.c: Create the pid file from the parent process, so 24795 that we can be sure that it exists before the parent exits. 24796 247972002-08-29 09:24 Martin Pool <mbp@samba.org> 24798 24799 * src/dparent.c: Turn on signal handlers in parent. Why were they 24800 off? 24801 248022002-08-29 08:50 Martin Pool <mbp@samba.org> 24803 24804 * test/testdistcc.py: Add missing newline 24805 248062002-08-29 08:50 Martin Pool <mbp@samba.org> 24807 24808 * test/testdistcc.py: Add test for compilation of a large file 24809 (200,000 lines) 24810 248112002-08-29 08:13 Martin Pool <mbp@samba.org> 24812 24813 * src/serve.c: Uncork sock before exiting. 24814 248152002-08-29 06:50 Martin Pool <mbp@samba.org> 24816 24817 * src/bulk.c: quote 24818 248192002-08-28 11:33 Martin Pool <mbp@samba.org> 24820 24821 * test/testdistcc.py: Doc. 24822 248232002-08-28 10:35 Martin Pool <mbp@samba.org> 24824 24825 * NEWS, src/tempfile.c: Properly support platforms with 32-bit 24826 pids, such as Cygwin. Patch from Aaron Lehmann. 24827 248282002-08-28 10:18 Martin Pool <mbp@samba.org> 24829 24830 * src/Makefile.in: Remove 'check' target because it must be run 24831 from the parent 24832 248332002-08-26 09:37 Martin Pool <mbp@samba.org> 24834 24835 * linuxdoc/distcc.sgml: Notes about Cygwin and LNX-BBC volunteers 24836 into TODO list. 24837 248382002-08-26 08:52 Martin Pool <mbp@samba.org> 24839 24840 * NEWS, configure, configure.ac: On FreeBSD, the sa_family_t type 24841 is defined in <sys/socket.h> (Patch from Dennis Taylor) 24842 248432002-08-26 08:48 Martin Pool <mbp@samba.org> 24844 24845 * aclocal.m4, configure, configure.ac, NEWS: Bump version to 0.9cvs 24846 248472002-08-26 08:43 Martin Pool <mbp@samba.org> 24848 24849 * NEWS, OLDNEWS: roll over news 24850 248512002-08-15 18:51 Martin Pool <mbp@samba.org> 24852 24853 * configure: autoconf 24854 248552002-08-15 18:41 Martin Pool <mbp@samba.org> 24856 24857 * configure.ac: Set version 24858 248592002-08-15 14:39 Martin Pool <mbp@samba.org> 24860 24861 * NEWS: Ready for release. 24862 248632002-08-15 12:56 Martin Pool <mbp@samba.org> 24864 24865 * src/distcc.c: Tweak message 24866 248672002-08-15 12:45 Martin Pool <mbp@samba.org> 24868 24869 * test/testdistcc.py: Add assertReMatch utility function 24870 24871 When testing invalid server names, look in the log for the 24872 warning message. 24873 248742002-08-15 12:24 Martin Pool <mbp@samba.org> 24875 24876 * src/distcc.c: Only emit the "running locally" notice when the job 24877 ought to be distributed but is not. So having the host set to be 24878 local, or non-distributable arguments just silently works. 24879 248802002-08-15 12:10 Martin Pool <mbp@samba.org> 24881 24882 * src/tempfile.c: Add headers, remove dead variable 24883 248842002-08-15 12:03 Martin Pool <mbp@samba.org> 24885 24886 * src/filename.c: Doc 24887 248882002-08-15 11:59 Martin Pool <mbp@samba.org> 24889 24890 * src/serve.c: dcc_accept_job: patch from Chris Halls to make us 24891 more robust against files where we can't work out the 24892 preprocessor extension. 24893 248942002-08-15 11:57 Martin Pool <mbp@samba.org> 24895 24896 * NEWS, src/filename.c: Correctly handle compilation of C++ code 24897 under ccache, by properly recognizing the .ii extension. Same 24898 patch from both Stephen White and Chris Halls. 24899 249002002-08-15 11:17 Martin Pool <mbp@samba.org> 24901 24902 * configure: Run autoconf 24903 249042002-08-12 06:36 Martin Pool <mbp@samba.org> 24905 24906 * configure.ac: Fix quoting. 24907 249082002-08-10 15:28 Martin Pool <mbp@samba.org> 24909 24910 * src/where.c: Doc. 24911 24912 Don't truncate lock files, open them with open(). 24913 249142002-08-10 15:26 Martin Pool <mbp@samba.org> 24915 24916 * src/bulk.c: Doc. 24917 249182002-08-10 15:19 Martin Pool <mbp@samba.org> 24919 24920 * src/: distcc.c, exec.c: Doc. 24921 249222002-08-10 15:13 Martin Pool <mbp@samba.org> 24923 24924 * linuxdoc/distcc.sgml: Explain that we don't keep trying if we 24925 fail to connect. 24926 249272002-08-10 15:11 Martin Pool <mbp@samba.org> 24928 24929 * src/distcc.c: Doc. 24930 249312002-08-10 15:08 Martin Pool <mbp@samba.org> 24932 24933 * NEWS, src/distcc.c, test/testdistcc.py: If anything goes wrong 24934 with remote compilation other than the remote compiler returning 24935 an error, then run it locally instead. 24936 249372002-08-10 15:07 Martin Pool <mbp@samba.org> 24938 24939 * src/tempfile.c: dcc_getenv_bool(): new function to make behaviour 24940 of DISTCC_VERBOSE etc consistent. 24941 249422002-08-10 15:05 Martin Pool <mbp@samba.org> 24943 24944 * src/: arg.c, dparent.c: Adjust error severity levels. 24945 249462002-08-10 15:04 Martin Pool <mbp@samba.org> 24947 24948 * src/trace.c: rs_format_msg: put the function name before the 24949 severity rather than after. I hate to change message formats but 24950 this seems more readable. 24951 249522002-08-10 15:01 Martin Pool <mbp@samba.org> 24953 24954 * src/: util.c, util.h: dcc_getenv_bool(): new function to make 24955 behaviour of DISTCC_VERBOSE etc consistent. 24956 249572002-08-10 14:59 Martin Pool <mbp@samba.org> 24958 24959 * src/trace.c: Make notice messages have a "Notice: " prefix. 24960 249612002-08-10 14:50 Martin Pool <mbp@samba.org> 24962 24963 * src/clinet.c: Doc 24964 249652002-08-10 14:39 Martin Pool <mbp@samba.org> 24966 24967 * test/testdistcc.py: Put all scratch directories under 'testtmp' 24968 to keep things tidy. 24969 249702002-08-10 14:19 Martin Pool <mbp@samba.org> 24971 24972 * configure: Run autoconf 24973 249742002-08-09 18:10 Martin Pool <mbp@samba.org> 24975 24976 * linuxdoc/distcc.sgml: Clearer text about env vars. 24977 249782002-08-09 18:08 Martin Pool <mbp@samba.org> 24979 24980 * linuxdoc/distcc.sgml: Add doc for DISTCC_SAVE_TEMPS 24981 249822002-08-09 18:02 Martin Pool <mbp@samba.org> 24983 24984 * survey.txt: Better text. 24985 249862002-08-09 17:59 Martin Pool <mbp@samba.org> 24987 24988 * survey.txt: Better text. 24989 249902002-08-09 17:56 Martin Pool <mbp@samba.org> 24991 24992 * Makefile.in: Upload survey. 24993 249942002-08-09 17:55 Martin Pool <mbp@samba.org> 24995 24996 * Makefile.in: Install survey.txt into docs 24997 249982002-08-09 17:53 Martin Pool <mbp@samba.org> 24999 25000 * configure, configure.ac, survey.txt, src/survey.txt: Running 25001 configure now shows a click-wrapish version of the GPL, plus 25002 information on installation directories, and a request to 25003 complete the survey. 25004 250052002-08-09 17:42 Martin Pool <mbp@samba.org> 25006 25007 * README: Add survey 25008 250092002-08-09 17:33 Martin Pool <mbp@samba.org> 25010 25011 * src/survey.txt: Add survey 25012 250132002-08-09 16:43 Martin Pool <mbp@samba.org> 25014 25015 * NEWS: Add documentation for --no-fifo and --log-stderr. 25016 250172002-08-09 16:29 Martin Pool <mbp@samba.org> 25018 25019 * linuxdoc/distcc.sgml: Add documentation for --no-fifo and 25020 --log-stderr. 25021 250222002-08-09 16:15 Martin Pool <mbp@samba.org> 25023 25024 * NEWS: Show host specification syntax in --help 25025 250262002-08-09 16:13 Martin Pool <mbp@samba.org> 25027 25028 * src/distcc.c: Better --help message 25029 250302002-08-09 16:11 Martin Pool <mbp@samba.org> 25031 25032 * src/distcc.c: Show host specification syntax in --help 25033 250342002-08-09 16:02 Martin Pool <mbp@samba.org> 25035 25036 * NEWS, OLDNEWS: Roll over NEWS 25037 250382002-08-09 16:01 Martin Pool <mbp@samba.org> 25039 25040 * linuxdoc/distcc.sgml: Document that $DISTCC_HOSTS can now specify 25041 ports. 25042 250432002-08-08 12:27 Martin Pool <mbp@samba.org> 25044 25045 * contrib/dmake: Example script contributed by Luke Gorrie 25046 250472002-08-05 23:33 Martin Pool <mbp@samba.org> 25048 25049 * Makefile.in: There's always one. 25050 250512002-08-05 23:25 Martin Pool <mbp@samba.org> 25052 25053 * Makefile.in: Add rules to build NEWS and signature files, and to 25054 upload everything to the ftp site. 25055 250562002-08-05 23:19 Martin Pool <mbp@samba.org> 25057 25058 * configure, configure.ac: Bump version to 0.7; run autoconf. 25059 250602002-08-05 23:19 Martin Pool <mbp@samba.org> 25061 25062 * README: Note that it probably works on Cygwin now. 25063 250642002-08-05 23:07 Martin Pool <mbp@samba.org> 25065 25066 * DEPENDENCIES: Add --with-extra-includes and --with-extra-libs 25067 configure options, as in CVS. 25068 25069 This helps people on platforms such as Solaris and BSD where some 25070 things install into /usr/local, but that is not on the default 25071 path. 25072 250732002-08-05 23:01 Martin Pool <mbp@samba.org> 25074 25075 * configure.ac, src/Makefile.in: Add --with-extra-includes and 25076 --with-extra-libs configure options, as in CVS. 25077 25078 This helps people on platforms such as Solaris and BSD where some 25079 things install into /usr/local, but that is not on the default 25080 path. 25081 250822002-08-05 19:47 Martin Pool <mbp@samba.org> 25083 25084 * Makefile.in: Another attempt at packaging and installing the 25085 manual, but coping on machines without linuxdoc. 25086 250872002-08-05 19:46 Martin Pool <mbp@samba.org> 25088 25089 * src/serve.c: Doc. 25090 250912002-08-05 19:39 Martin Pool <mbp@samba.org> 25092 25093 * Makefile.in: Make 'all' the default target again. 25094 250952002-08-05 19:28 Martin Pool <mbp@samba.org> 25096 25097 * Makefile.in: Fix packaging of Linuxdoc html. 25098 250992002-08-05 19:22 Martin Pool <mbp@samba.org> 25100 25101 * NEWS: Set version for release. 25102 251032002-08-05 15:44 Martin Pool <mbp@samba.org> 25104 25105 * Makefile.in: Make all latte HTML files depend on style.latte 25106 251072002-08-05 15:15 Martin Pool <mbp@samba.org> 25108 25109 * linuxdoc/distcc.sgml: Add todo 25110 251112002-08-03 23:31 Martin Pool <mbp@samba.org> 25112 25113 * NEWS: Doc 25114 251152002-08-03 23:29 Martin Pool <mbp@samba.org> 25116 25117 * NEWS: Add release name 25118 251192002-08-03 23:28 Martin Pool <mbp@samba.org> 25120 25121 * NEWS: Note that documentation is shipped. 25122 251232002-08-03 18:21 Martin Pool <mbp@samba.org> 25124 25125 * linuxdoc/distcc.sgml: We could strip -D and -I from command 25126 lines. 25127 251282002-08-02 15:00 Martin Pool <mbp@samba.org> 25129 25130 * test/testdistcc.py: Remove debugging stub 25131 251322002-08-02 14:58 Martin Pool <mbp@samba.org> 25133 25134 * src/exec.c: Remove old message 25135 251362002-08-02 14:56 Martin Pool <mbp@samba.org> 25137 25138 * test/testdistcc.py: Don't try to link file which is expected not 25139 to compile. 25140 251412002-08-02 14:43 Martin Pool <mbp@samba.org> 25142 25143 * test/testdistcc.py: Run daemon on port 42000 for testing. 25144 25145 Check that compiling an invalid file produces no output file. 25146 25147 Use absolute path for pid file so that it's not confused by 25148 changing directories. 25149 251502002-08-02 14:28 Martin Pool <mbp@samba.org> 25151 25152 * NEWS: host:port syntax now supported. 25153 251542002-08-02 14:23 Martin Pool <mbp@samba.org> 25155 25156 * src/: distcc.c, distcc.h, dparent.c, exec.c, hosts.c, hosts.h, 25157 serve.c, where.c: Move towards using passing around dcc_hostdef 25158 structures, rather than just hostnames, so that we can start 25159 supporting nonstandard ports and eventually ssh. 25160 251612002-08-02 14:20 Martin Pool <mbp@samba.org> 25162 25163 * src/filename.c: Use strrchr() rather than rindex(): they ought to 25164 be identical, but Valgrind seems to dislike rindex() 25165 251662002-08-02 14:19 Martin Pool <mbp@samba.org> 25167 25168 * src/arg.c: Doc 25169 251702002-08-02 11:59 Martin Pool <mbp@samba.org> 25171 25172 * NEWS: --log-stderr 25173 251742002-08-02 11:56 Martin Pool <mbp@samba.org> 25175 25176 * src/: daemon.c, dopt.c, opt.h: Add --log-stderr option, intended 25177 mainly for testing/debugging 25178 251792002-08-02 11:39 Martin Pool <mbp@samba.org> 25180 25181 * .cvsignore: Ignore *.tmp 25182 251832002-08-02 11:36 Martin Pool <mbp@samba.org> 25184 25185 * test/testdistcc.py: Run all test cases within their own scratch 25186 directory. 25187 251882002-08-01 23:58 Martin Pool <mbp@samba.org> 25189 25190 * src/serve.c: Add the ability to use either a fifo or a regular 25191 temporary file for input to the compiler, controlled by --no-fifo 25192 or failure to create the fifo. 25193 251942002-08-01 23:39 Martin Pool <mbp@samba.org> 25195 25196 * src/: daemon.c, dparent.c, serve.c: dcc_accept_job: return 25197 standard exit code 25198 251992002-08-01 23:34 Martin Pool <mbp@samba.org> 25200 25201 * src/: daemon.c, dparent.c, io.c, io.h: Explicitly close the 25202 socket before exiting, so that we have a better chance of 25203 catching network transmission errors. 25204 252052002-08-01 23:20 Martin Pool <mbp@samba.org> 25206 25207 * NEWS, src/dopt.c, src/opt.h: Add --no-fifo option. Doesn't do 25208 anything yet. 25209 252102002-08-01 23:19 Martin Pool <mbp@samba.org> 25211 25212 * Makefile.in: Fix cvsplot target. 25213 252142002-08-01 23:17 Martin Pool <mbp@samba.org> 25215 25216 * NEWS: Doc 25217 252182002-08-01 23:12 Martin Pool <mbp@samba.org> 25219 25220 * contrib/distcc.sh: This file, contributed by Dimitri 25221 PAPADOPOULOS-ORFANOS <papadopo@shfj.cea.fr> may be installed as 25222 "cc" somewhere on your $PATH ahead of the real gcc. That allows 25223 you to just use regular Makefiles without modifying them to 25224 change hardcoded calls to cc. 25225 25226 This script will be a bit slow because of the overhead of running 25227 things through a shell. In a future release, this function 25228 should be supported directly by distcc, which should be a bit 25229 faster. 25230 252312002-08-01 23:02 Martin Pool <mbp@samba.org> 25232 25233 * src/dparent.c: Define WAIT_ANY if it is missing, as seems to be 25234 the case on Cygwin. 25235 252362002-08-01 22:11 Martin Pool <mbp@samba.org> 25237 25238 * src/exec.c: Doc. 25239 252402002-08-01 22:07 Martin Pool <mbp@samba.org> 25241 25242 * src/serve.c: Cygwin needs <signal.h> not <sys/signal.h> 25243 252442002-08-01 21:44 Martin Pool <mbp@samba.org> 25245 25246 * src/exec.c: Cope without WCOREDUMP, which is missing on Cygwin. 25247 252482002-08-01 21:34 Martin Pool <mbp@samba.org> 25249 25250 * NEWS, configure, configure.ac, src/config.h.in, src/distcc.h: If 25251 sa_family_t is missing, try just defining it as int. Might help 25252 Cygwin. 25253 252542002-08-01 21:16 Martin Pool <mbp@samba.org> 25255 25256 * src/where.c: Try using fcntl locks in addition to lockf and 25257 flock. Perhaps this will fix Cygwin. Thanks to Marco Alanen. 25258 252592002-08-01 17:41 Martin Pool <mbp@samba.org> 25260 25261 * src/: daemon.c, dopt.c, opt.h: Make errors from command-line 25262 options go to stderr. 25263 252642002-08-01 17:14 Martin Pool <mbp@samba.org> 25265 25266 * Makefile.in: Always build check programs before running checks, 25267 even with -j. 25268 25269 Specify complete PATH to binaries when running tests, so that 25270 they can change into subdirectories. 25271 252722002-07-25 17:14 Martin Pool <mbp@samba.org> 25273 25274 * Makefile.in: Remove file that's no longer in CVS from distro. 25275 252762002-07-25 17:11 Martin Pool <mbp@samba.org> 25277 25278 * doc/results.txt: Add results file; not much here yet. 25279 252802002-07-25 16:58 Martin Pool <mbp@samba.org> 25281 25282 * Makefile.in: Add a somewhat-hacky "make dist" target to build a 25283 tarball. 25284 25285 Compared to just "cvs export", this means we get to include built 25286 versions of the documents, which is nice for people who can't 25287 easily get the Linuxdoc SGML tools to work. It does make the 25288 binary bigger because there are so many formats, though. 25289 25290 Also, we omit things that end users might not want, such as the 25291 Latte web site source. People can get it from CVS (or rsync) if 25292 they care. 25293 252942002-07-25 16:08 Martin Pool <mbp@samba.org> 25295 25296 * configure, configure.ac: Bump version 25297 252982002-07-24 19:03 Martin Pool <mbp@samba.org> 25299 25300 * test/testdistcc.py: Clear the environment before running the 25301 child -- this avoids any problems with the developer's 25302 environment. 25303 253042002-07-24 19:02 Martin Pool <mbp@samba.org> 25305 25306 * src/dparent.c: Change the semantics for detaching a little bit: 25307 we now do it once the socket is listening. This is rather more 25308 useful for the test suite, because the suite now knows for sure 25309 that when the parent exits, it can go ahead and try to connect. 25310 253112002-07-24 18:58 Martin Pool <mbp@samba.org> 25312 25313 * DEPENDENCIES, Makefile.in: Test case now requires python 2.2 for 25314 proper unsetenv() semantics 25315 253162002-07-24 18:50 Martin Pool <mbp@samba.org> 25317 25318 * NEWS: foo 25319 253202002-07-24 18:49 Martin Pool <mbp@samba.org> 25321 25322 * src/tempfile.c: Avoid using asprintf() because it's missing on 25323 Solaris 25324 253252002-07-24 18:49 Martin Pool <mbp@samba.org> 25326 25327 * src/where.c: dcc_make_lock_filename: new function 25328 25329 Avoid using asprintf() because it's missing on Solaris 25330 253312002-07-24 18:48 Martin Pool <mbp@samba.org> 25332 25333 * src/exitcode.h: Doc 25334 253352002-07-24 17:57 Martin Pool <mbp@samba.org> 25336 25337 * src/dparent.c: remove pid file if daemon exits on signal 25338 253392002-07-24 17:55 Martin Pool <mbp@samba.org> 25340 25341 * src/dparent.c, NEWS: Log pid even if running with --no-fork. 25342 Remove pid file on exit. 25343 253442002-07-24 14:39 Martin Pool <mbp@samba.org> 25345 25346 * Makefile.in, configure, configure.ac, patches/distc, 25347 patches/distc++: Suggestion from Dimitri PAPADOPOULOS-ORFANOS: 25348 should check for -lnsl and -lsocket on Solaris. 25349 253502002-07-24 14:38 Martin Pool <mbp@samba.org> 25351 25352 * OLDNEWS, NEWS: Roll over news 25353 253542002-07-23 11:36 Martin Pool <mbp@samba.org> 25355 25356 * Makefile.in: Add the start of an FAQ, and the AOSS4 slides. 25357 253582002-07-22 16:45 Martin Pool <mbp@samba.org> 25359 25360 * Makefile.in: Doc. 25361 253622002-07-12 11:46 Martin Pool <mbp@samba.org> 25363 25364 * configure: Rerun autoconf 25365 253662002-07-12 11:44 Martin Pool <mbp@samba.org> 25367 25368 * Makefile.in: "make install" doesn't imply install-linuxdoc 25369 253702002-07-12 11:38 Martin Pool <mbp@samba.org> 25371 25372 * Makefile.in: "make install" doesn't imply install-linuxdoc 25373 253742002-07-12 11:34 Martin Pool <mbp@samba.org> 25375 25376 * test/testdistcc.py: Start adding to the test framework a way for 25377 test cases to provide their own explanation of why they failed. 25378 In particular, for ones that run shell commands, dump out all the 25379 commands that were run, and their output. 25380 253812002-07-12 11:33 Martin Pool <mbp@samba.org> 25382 25383 * src/distcc.c: Give a proper error message for "distcc --fubar", 25384 even when we would have chosen to run the command locally. 25385 253862002-07-12 11:32 Martin Pool <mbp@samba.org> 25387 25388 * src/daemon.c: If stdin is neither a socket nor a tty assume 25389 --daemon mode. This is more compatible with previous usage. 25390 253912002-07-12 11:19 Martin Pool <mbp@samba.org> 25392 25393 * src/arg.c: Correct message for "distcc --bad-option" 25394 253952002-07-12 10:51 Martin Pool <mbp@samba.org> 25396 25397 * configure.ac: Set version for release. 25398 253992002-07-12 10:45 Martin Pool <mbp@samba.org> 25400 25401 * NEWS: Update news for release. 25402 254032002-07-12 10:39 Martin Pool <mbp@samba.org> 25404 25405 * DEPENDENCIES: Clarify requirements for libpopt 25406 254072002-07-12 10:37 Martin Pool <mbp@samba.org> 25408 25409 * Makefile.in: Install info files into the right directory 25410 254112002-07-10 15:37 Martin Pool <mbp@samba.org> 25412 25413 * src/arg.c: dcc_set_action_opt: Need to also understand how to 25414 transform "gcc -S hello.c" to "gcc -o hello.i -E hello.c" for the 25415 client. 25416 254172002-07-10 15:11 Martin Pool <mbp@samba.org> 25418 25419 * NEWS, src/arg.c, src/distcc.h, src/filename.c: distcc will now 25420 distribute jobs which use -s to compile but not 25421 assemble. Previously they were always run locally, but there's 25422 no 25423 strong reason why they must be. Unfortunately you need to 25424 upgrade 25425 both the client and server for this to work, because old servers 25426 will 25427 refuse to run gcc with -s. 25428 254292002-07-10 14:07 Martin Pool <mbp@samba.org> 25430 25431 * NEWS, src/tempfile.c: dcc_cleanup_tempfiles: If 25432 $DISTCC_SAVE_TEMPS is set to "1", then files are not actually 25433 deleted -- good for debugging. 25434 254352002-07-09 14:38 Martin Pool <mbp@samba.org> 25436 25437 * Makefile.in: Add page with current problems 25438 254392002-07-09 12:06 Martin Pool <mbp@samba.org> 25440 25441 * Makefile.in: Add target to run Linbot to check for broken links. 25442 254432002-07-08 17:20 Martin Pool <mbp@samba.org> 25444 25445 * configure: autogen 25446 254472002-07-08 17:18 Martin Pool <mbp@samba.org> 25448 25449 * src/: daemon.c, distcc.h: Fix prototypes 25450 254512002-07-08 17:17 Martin Pool <mbp@samba.org> 25452 25453 * src/dopt.c: distccd_show_usage: Document new options 25454 254552002-07-08 17:16 Martin Pool <mbp@samba.org> 25456 25457 * NEWS: dcc_scan_args: -M causes the preprocessor to produce a list 25458 of make-style dependencies on header files, either to stdout or 25459 to a local file. It implies -E, so only the preprocessor is run, 25460 not the compiler. There would be no point trying to distribute 25461 it even if we could. 25462 254632002-07-08 17:13 Martin Pool <mbp@samba.org> 25464 25465 * src/daemon.c, linuxdoc/distcc.sgml: Change --inetd and --daemon 25466 defaults: 25467 25468 - if both are specified, die 25469 - if either is specified, do that 25470 - if stdin is a socket or tty assume inetd or daemon 25471 respectively 25472 - otherwise, complain 25473 254742002-07-08 17:03 Martin Pool <mbp@samba.org> 25475 25476 * linuxdoc/distcc.sgml: Document more distccd command-line options 25477 254782002-07-08 17:00 Martin Pool <mbp@samba.org> 25479 25480 * man/distcc.1: Syntax fix 25481 254822002-07-08 16:57 Martin Pool <mbp@samba.org> 25483 25484 * DEPENDENCIES: Clarify dependencies 25485 254862002-07-08 16:54 Martin Pool <mbp@samba.org> 25487 25488 * linuxdoc/distcc.sgml: Clarify that distcc returns the same value 25489 as the compiler. 25490 254912002-07-08 16:53 Martin Pool <mbp@samba.org> 25492 25493 * linuxdoc/distcc.sgml: Clarify description how to get environment 25494 variables set properly. 25495 254962002-07-08 16:50 Martin Pool <mbp@samba.org> 25497 25498 * linuxdoc/distcc.sgml: Clarify description of jobs which are 25499 distributed or local, give an example of a typical command that 25500 can be distributed. 25501 255022002-07-08 16:46 Martin Pool <mbp@samba.org> 25503 25504 * src/arg.c: dcc_scan_args: -M causes the preprocessor to produce a 25505 list of make-style dependencies on header files, either to stdout 25506 or to a local file. It implies -E, so only the preprocessor is 25507 run, not the compiler. There would be no point trying to 25508 distribute it even if we could. 25509 255102002-07-08 16:33 Martin Pool <mbp@samba.org> 25511 25512 * Makefile.in: Doc. 25513 255142002-07-07 22:23 Martin Pool <mbp@samba.org> 25515 25516 * NEWS: Works on FreeBSD? 25517 255182002-07-07 22:12 Martin Pool <mbp@samba.org> 25519 25520 * src/Makefile.in: Have to respect $LDFLAGS so we can build on BSD. 25521 Thanks Lauri! 25522 255232002-07-07 22:11 Martin Pool <mbp@samba.org> 25524 25525 * test/testdistcc.py: SyntaxError_Case: Be less fussy about the 25526 exact compiler error message 25527 255282002-07-07 21:58 Martin Pool <mbp@samba.org> 25529 25530 * configure.ac: Doc. 25531 255322002-07-07 21:52 Martin Pool <mbp@samba.org> 25533 25534 * test/testdistcc.py: --version output has changed to include build 25535 date and to just say "protocol 1" 25536 255372002-07-07 21:46 Martin Pool <mbp@samba.org> 25538 25539 * src/arg.c: Temporary fix for "distcc -c hello.c" 25540 255412002-07-07 21:43 Martin Pool <mbp@samba.org> 25542 25543 * NEWS: Note about valgrind fix 25544 255452002-07-07 21:02 Martin Pool <mbp@samba.org> 25546 25547 * Makefile.in: We don't build the web pages or manual by default, 25548 because many people will not have the tools to do it. Just use 25549 all-web or all-linuxdoc if you want them. 25550 255512002-07-07 21:01 Martin Pool <mbp@samba.org> 25552 25553 * DEPENDENCIES, README: Put the documentation of dependencies in a 25554 separate file where it can be more easily found by people doing 25555 ports. 25556 255572002-07-07 20:08 Martin Pool <mbp@samba.org> 25558 25559 * src/arg.c: dcc_argv_tostr: If out of memory, give an error and 25560 exit, rather than aborting. 25561 25562 Apparently Valgrind doesn't like using strchr(s, 0) to find the 25563 terminating nul. I wonder why? 25564 255652002-07-07 19:51 Martin Pool <mbp@samba.org> 25566 25567 * src/distcc.h: Add missing prototype 25568 255692002-07-07 19:40 Martin Pool <mbp@samba.org> 25570 25571 * src/: .cvsignore, h_argvtostr.c: Start new test case h_argvtostr 25572 255732002-07-07 19:38 Martin Pool <mbp@samba.org> 25574 25575 * src/: Makefile.in, arg.c, filename.c, distcc.h: Split filename 25576 manipulation code out into new file filename.c 25577 255782002-07-07 19:36 Martin Pool <mbp@samba.org> 25579 25580 * src/distcc.c: Get ready to handle command lines with implied 25581 compiler. 25582 255832002-07-06 18:24 Martin Pool <mbp@samba.org> 25584 25585 * src/arg.c: Doc about the idea of handling "distcc -c hello.c" 25586 255872002-07-06 18:11 Martin Pool <mbp@samba.org> 25588 25589 * src/distcc.c: Remove old docs. 25590 255912002-07-06 18:07 Martin Pool <mbp@samba.org> 25592 25593 * linuxdoc/distcc.sgml: Document --ping option. 25594 255952002-07-06 18:00 Martin Pool <mbp@samba.org> 25596 25597 * linuxdoc/distcc.sgml: The log now shows execution time; remove 25598 this from the todo list. 25599 256002002-07-06 16:49 Martin Pool <mbp@samba.org> 25601 25602 * src/: clinet.c, clinet.h, distcc.c, distcc.h: 25603 dcc_open_socket_out: use the standard error return mechanism 25604 256052002-07-06 16:44 Martin Pool <mbp@samba.org> 25606 25607 * src/: daemon.c, dparent.c: Include build date/time in daemon 25608 startup message 25609 256102002-07-06 16:41 Martin Pool <mbp@samba.org> 25611 25612 * src/help.c: dcc_show_version: Include build date/time 25613 256142002-07-06 16:32 Martin Pool <mbp@samba.org> 25615 25616 * src/clinet.c: dcc_open_socket_out: Return EXIT_CONNECT_FAILED if 25617 it did (or indeed for all client socket-opening errors at the 25618 moment.) 25619 256202002-07-06 16:24 Martin Pool <mbp@samba.org> 25621 25622 * linuxdoc/distcc.sgml: Notes about distcc with autoconf.Doc. 25623 256242002-07-06 16:18 Martin Pool <mbp@samba.org> 25625 25626 * src/: distcc.c, distcc.h, exec.c, serve.c, util.c, util.h: 25627 myhostname: rename to dcc_gethostname for consistency 25628 25629 dcc_spawn_child, dcc_redirect_fds: add another parameter 25630 specifying redirection for stdin, so that the same routine can be 25631 used on the client (with regular stdin) or on the server (with 25632 /dev/null) 25633 25634 dcc_compile_local: Run the compiler as a child process, not over 25635 the top of us. 25636 25637 distcc/main: Log exit code. 25638 256392002-07-06 16:02 Martin Pool <mbp@samba.org> 25640 25641 * src/distcc.c: Rename dcc_run_remote and dcc_build_locally to 25642 dcc_compile_* to be consistent. 25643 256442002-07-06 15:57 Martin Pool <mbp@samba.org> 25645 25646 * src/exec.c: Doc. 25647 256482002-07-06 15:56 Martin Pool <mbp@samba.org> 25649 25650 * NEWS: dcc_exit: Show self and children's CPU time usage when 25651 exiting. 25652 256532002-07-06 15:54 Martin Pool <mbp@samba.org> 25654 25655 * linuxdoc/distcc.sgml, src/where.c: dcc_pick_buildhost: If the 25656 host specification is invalid or missing, fall back to building 25657 locally with a warning. 25658 256592002-07-06 15:51 Martin Pool <mbp@samba.org> 25660 25661 * src/where.c: dcc_pick_buildhost: bug fix: if we fail to parse the 25662 host specification, then return the right error. 25663 256642002-07-06 15:50 Martin Pool <mbp@samba.org> 25665 25666 * linuxdoc/distcc.sgml: More detail on handling of invalid 25667 hostspecs. 25668 256692002-07-06 15:46 Martin Pool <mbp@samba.org> 25670 25671 * src/util.c: dcc_exit: Show self and children's CPU time usage 25672 when exiting. 25673 256742002-07-05 17:12 Martin Pool <mbp@samba.org> 25675 25676 * linuxdoc/distcc.sgml: Note about libtool. 25677 256782002-07-05 16:48 Martin Pool <mbp@samba.org> 25679 25680 * linuxdoc/distcc.sgml: Add note about Makefiles which don't use 25681 $(CC). 25682 256832002-07-05 12:48 Martin Pool <mbp@samba.org> 25684 25685 * NEWS, src/daemon.c, src/dopt.c, src/opt.h: Add --daemon and 25686 --inetd options, so that you can properly start a remote daemon 25687 with a single-line ssh command. 25688 256892002-07-05 12:32 Martin Pool <mbp@samba.org> 25690 25691 * src/dparent.c: Need sys/ioctl.h 25692 256932002-07-05 11:31 Martin Pool <mbp@samba.org> 25694 25695 * configure, configure.ac: Put docs in $prefix/share/doc 25696 256972002-07-05 11:21 Martin Pool <mbp@samba.org> 25698 25699 * Makefile.in: Add "make showpaths" target to show where "make 25700 install" will put things. 25701 257022002-07-04 23:42 Martin Pool <mbp@samba.org> 25703 25704 * NEWS: Show CPU usage of compiler, cpp, etc 25705 257062002-07-04 23:39 Martin Pool <mbp@samba.org> 25707 25708 * .cvsignore, src/daemon.c, src/distcc.c, src/distcc.h, src/exec.c, 25709 src/serve.c: Show CPU usage of compiler, cpp, etc 25710 257112002-07-04 23:38 Martin Pool <mbp@samba.org> 25712 25713 * Makefile.in: Fix "make install" 25714 257152002-07-04 23:23 Martin Pool <mbp@samba.org> 25716 25717 * Makefile.in: Shush linuxdoc 25718 257192002-07-04 23:10 Martin Pool <mbp@samba.org> 25720 25721 * src/exec.c: Doc. 25722 257232002-07-04 23:06 Martin Pool <mbp@samba.org> 25724 25725 * src/exec.c: Better trace message. 25726 257272002-07-04 23:06 Martin Pool <mbp@samba.org> 25728 25729 * src/dparent.c: Doc. 25730 257312002-07-04 23:05 Martin Pool <mbp@samba.org> 25732 25733 * src/exec.c: Fix inverted test on waitpid() result. 25734 25735 Doc. 25736 257372002-07-04 23:01 Martin Pool <mbp@samba.org> 25738 25739 * src/serve.c: Doc (passing server errors back to client) 25740 257412002-07-04 22:56 Martin Pool <mbp@samba.org> 25742 25743 * linuxdoc/distcc.sgml: Note about tcpwrappers. 25744 25745 Note that you can now set the server port number. 25746 257472002-07-04 22:46 Martin Pool <mbp@samba.org> 25748 25749 * src/daemon.c: Doc. 25750 257512002-07-04 22:15 Martin Pool <mbp@samba.org> 25752 25753 * Makefile.in: distclean removes config.log 25754 25755 Better maintainer-clean rules 25756 257572002-07-04 22:12 Martin Pool <mbp@samba.org> 25758 25759 * test/testdistcc.py: Doc. 25760 257612002-07-04 22:03 Martin Pool <mbp@samba.org> 25762 25763 * Makefile.in, linuxdoc/.cvsignore, man/.cvsignore: More Makefile 25764 fiddling 25765 25766 - make "all" the default rule again 25767 - add "upload-linuxdoc" 25768 - try make SGML stuff build properly 25769 257702002-07-04 21:48 Martin Pool <mbp@samba.org> 25771 25772 * Makefile.in, configure, configure.ac, linuxdoc/Makefile.in: Move 25773 linuxdoc stuff into top-level Makefile too 25774 257752002-07-04 21:31 Martin Pool <mbp@samba.org> 25776 25777 * Makefile.in, configure, configure.ac, man/Makefile.in: Move man/ 25778 makefile into top level 25779 257802002-07-03 23:11 Martin Pool <mbp@samba.org> 25781 25782 * Makefile.in: New design of the web site, now using Latte. 25783 257842002-07-03 20:31 Martin Pool <mbp@samba.org> 25785 25786 * Makefile.in, analog/Makefile, analog/distcc.analog: Fiddle analog 25787 Make rules; use jdresolve to do DNS resolution. 25788 257892002-07-03 19:58 Martin Pool <mbp@samba.org> 25790 25791 * analog/.cvsignore: Ignore more stuff 25792 257932002-07-03 16:57 Martin Pool <mbp@samba.org> 25794 25795 * Makefile.in: Further Makefile fudging 25796 257972002-07-03 16:54 Martin Pool <mbp@samba.org> 25798 25799 * analog/.cvsignore: Ignore built files. 25800 258012002-07-03 16:47 Martin Pool <mbp@samba.org> 25802 25803 * Makefile.in: Move web/latte rules into top-level Makefile. 25804 25805 Add more maintainer-clean rules 25806 258072002-07-02 17:14 Martin Pool <mbp@samba.org> 25808 25809 * linuxdoc/distcc.sgml: We now have proper C++ support, so s/C/C or 25810 C++/ where appropriate. 25811 258122002-07-02 17:11 Martin Pool <mbp@samba.org> 25813 25814 * man/: distcc.1, distccd.1: Update manpages, and remove 25815 information that is redundant with the SGML manual. I think 25816 between them, the big manual and --help are more useful than man 25817 pages, and they're certainly easier to maintain. 25818 258192002-07-02 12:05 Martin Pool <mbp@samba.org> 25820 25821 * linuxdoc/distcc.sgml: Add bug. 25822 258232002-07-01 19:39 Martin Pool <mbp@samba.org> 25824 25825 * linuxdoc/distcc.sgml: Clearer explanation of multiprocessor 25826 scheduling. 25827 258282002-07-01 19:36 Martin Pool <mbp@samba.org> 25829 25830 * linuxdoc/distcc.sgml: Add CVS revision. 25831 258322002-07-01 19:35 Martin Pool <mbp@samba.org> 25833 25834 * linuxdoc/distcc.sgml: Add new error codes 105, 106 25835 258362002-07-01 19:32 Martin Pool <mbp@samba.org> 25837 25838 * linuxdoc/distcc.sgml: Make titles consistent 25839 258402002-07-01 19:31 Martin Pool <mbp@samba.org> 25841 25842 * linuxdoc/distcc.sgml: Remove redundant SMP section 25843 258442002-07-01 19:27 Martin Pool <mbp@samba.org> 25845 25846 * linuxdoc/distcc.sgml: "Leaky buckets" explanation of scheduling 25847 algorithm. 25848 258492002-07-01 09:38 Martin Pool <mbp@samba.org> 25850 25851 * src/serve.c: Doc 25852 258532002-07-01 09:34 Martin Pool <mbp@samba.org> 25854 25855 * src/dopt.c: Fix small syntax error 25856 258572002-07-01 09:34 Martin Pool <mbp@samba.org> 25858 25859 * src/dopt.c: Add --verbose option for daemon 25860 258612002-07-01 09:23 Martin Pool <mbp@samba.org> 25862 25863 * NEWS: emacs-fu 25864 258652002-07-01 09:22 Martin Pool <mbp@samba.org> 25866 25867 * NEWS: Reformat 25868 258692002-07-01 09:15 Martin Pool <mbp@samba.org> 25870 25871 * NEWS, src/daemon.c, src/distcc.h, src/dparent.c, src/serve.c: 25872 Move check for !getuid() up to a higher level so that the daemon 25873 refuses to start at all. 25874 258752002-07-01 09:08 Martin Pool <mbp@samba.org> 25876 25877 * linuxdoc/distcc.sgml: Improved quick-start guide. 25878 258792002-06-30 22:01 Martin Pool <mbp@samba.org> 25880 25881 * linuxdoc/: distcc.sgml: Better URL link. 25882 258832002-06-30 21:59 Martin Pool <mbp@samba.org> 25884 25885 * linuxdoc/distcc.sgml: Add link to ccache. 25886 258872002-06-30 21:59 Martin Pool <mbp@samba.org> 25888 25889 * linuxdoc/distcc.sgml: Clarify bug about compilers which touch 25890 local files. 25891 258922002-06-30 21:58 Martin Pool <mbp@samba.org> 25893 25894 * linuxdoc/distcc.sgml: Clarify large-file message. 25895 258962002-06-30 21:55 Martin Pool <mbp@samba.org> 25897 25898 * linuxdoc/distcc.sgml: Substantially improved section on 25899 cross-compilation; give more details on how to use -b. 25900 259012002-06-30 17:32 Martin Pool <mbp@samba.org> 25902 25903 * analog/distcc.analog: Show more referers 25904 259052002-06-30 17:32 Martin Pool <mbp@samba.org> 25906 25907 * test/testdistcc.py: Fix regexp for new error message. 25908 259092002-06-30 17:31 Martin Pool <mbp@samba.org> 25910 25911 * src/: .cvsignore, Makefile.in, hosts.c, where.c: Change to new 25912 hostspec parser 25913 259142002-06-30 00:34 Martin Pool <mbp@samba.org> 25915 25916 * test/testdistcc.py: All tests now moved across to new framework 25917 259182002-06-30 00:26 Martin Pool <mbp@samba.org> 25919 25920 * test/testdistcc.py: Go back to purely object-based definitions of 25921 test cases 25922 259232002-06-30 00:02 Martin Pool <mbp@samba.org> 25924 25925 * test/testdistcc.py: Fiddle with comfychair interface 25926 259272002-06-30 00:00 Martin Pool <mbp@samba.org> 25928 25929 * src/: trace.c, trace.h: Rename rs_trace_stderr to 25930 rs_trace_to_file, a more correct name. 25931 259322002-06-29 23:59 Martin Pool <mbp@samba.org> 25933 25934 * src/dopt.c: Add --log-file option 25935 259362002-06-29 23:58 Martin Pool <mbp@samba.org> 25937 25938 * src/: dparent.c, distcc.h: Make dcc_become_daemon private 25939 259402002-06-29 23:57 Martin Pool <mbp@samba.org> 25941 25942 * analog/Makefile: Fix Makefile 25943 259442002-06-29 23:28 Martin Pool <mbp@samba.org> 25945 25946 * test/testdistcc.py: Make comfychair more OO. 25947 259482002-06-29 23:14 Martin Pool <mbp@samba.org> 25949 25950 * src/serve.c: Refuse to run daemon as root. 25951 259522002-06-29 23:13 Martin Pool <mbp@samba.org> 25953 25954 * src/hosts.c: Doc. 25955 259562002-06-29 23:00 Martin Pool <mbp@samba.org> 25957 25958 * doc/scheduling.txt: Notes on scheduling 25959 259602002-06-29 16:39 Martin Pool <mbp@samba.org> 25961 25962 * src/OLDNEWS: Moved 25963 259642002-06-29 01:49 Martin Pool <mbp@samba.org> 25965 25966 * test/testdistcc.py: Add more host parser cases. 25967 259682002-06-29 01:44 Martin Pool <mbp@samba.org> 25969 25970 * src/hosts.c: Correctly handle ssh tokens with command specified. 25971 259722002-06-29 01:42 Martin Pool <mbp@samba.org> 25973 25974 * src/h_hosts.c, src/hosts.c, src/hosts.h, test/testdistcc.py: Add 25975 special host type for local compilation. 25976 259772002-06-29 01:38 Martin Pool <mbp@samba.org> 25978 25979 * test/testdistcc.py: Better hosts parser test 25980 259812002-06-29 01:37 Martin Pool <mbp@samba.org> 25982 25983 * src/hosts.c: Fix parser bug in tcp with specified port. 25984 259852002-06-29 01:32 Martin Pool <mbp@samba.org> 25986 25987 * test/testdistcc.py: Doc. 25988 259892002-06-29 01:25 Martin Pool <mbp@samba.org> 25990 25991 * test/testdistcc.py: Add test case for host specification parser. 25992 259932002-06-29 01:24 Martin Pool <mbp@samba.org> 25994 25995 * src/hosts.c: Hosts parser that works better with missing 25996 components. 25997 259982002-06-29 00:53 Martin Pool <mbp@samba.org> 25999 26000 * test/testdistcc.py: Move more tests from pyunit to comfychair. 26001 It's definitely more comfortable! 26002 260032002-06-29 00:39 Martin Pool <mbp@samba.org> 26004 26005 * test/testdistcc.py: Move more tests from pyunit to comfychair. 26006 It's definitely more comfortable! 26007 260082002-06-28 23:23 Martin Pool <mbp@samba.org> 26009 26010 * src/srvnet.c: Also show numeric client address in connection 26011 message 26012 260132002-06-28 23:19 Martin Pool <mbp@samba.org> 26014 26015 * linuxdoc/Makefile.in: Fix Makefile a bit more 26016 260172002-06-28 23:15 Martin Pool <mbp@samba.org> 26018 26019 * linuxdoc/Makefile.in: Fix Makefile 26020 260212002-06-28 23:14 Martin Pool <mbp@samba.org> 26022 26023 * linuxdoc/distcc.sgml: Bump version. 26024 26025 Note about IPv6 26026 260272002-06-28 23:03 Martin Pool <mbp@samba.org> 26028 26029 * src/dparent.c: Doc. 26030 260312002-06-28 23:01 Martin Pool <mbp@samba.org> 26032 26033 * src/dparent.c: When in no-fork mode, clean up files after each 26034 job 26035 260362002-06-28 22:59 Martin Pool <mbp@samba.org> 26037 26038 * src/Makefile.in: Drop sbin install target. 26039 260402002-06-28 22:49 Martin Pool <mbp@samba.org> 26041 26042 * src/tempfile.c: Doc. 26043 260442002-06-28 22:14 Martin Pool <mbp@samba.org> 26045 26046 * src/: dopt.c, dparent.c, opt.h: Add --no-fork option to daemon to 26047 help with some debugging stuff. 26048 260492002-06-28 21:51 Martin Pool <mbp@samba.org> 26050 26051 * man/distcc.1: Add newline 26052 260532002-06-28 21:50 Martin Pool <mbp@samba.org> 26054 26055 * man/distccd.1: Make a slightly more useful distccd manpage 26056 260572002-06-28 21:41 Martin Pool <mbp@samba.org> 26058 26059 * analog/Makefile: Create report/ subdir if it doesn't exist. 26060 260612002-06-28 21:40 Martin Pool <mbp@samba.org> 26062 26063 * linuxdoc/Makefile.in: Create html/ subdir if it doesn't exist. 26064 260652002-06-28 18:35 Martin Pool <mbp@samba.org> 26066 26067 * README: Make it clear that we do C++ too! 26068 26069 Try to explain relationship to gcc. 26070 260712002-06-28 18:20 Martin Pool <mbp@samba.org> 26072 26073 * test/testdistcc.py: test_option_version: Handle host triples like 26074 i386-unknown-freebsd4.4 (Claes Wallin) 26075 260762002-06-28 16:57 Martin Pool <mbp@samba.org> 26077 26078 * src/dparent.c: Doc. 26079 260802002-06-28 16:53 Martin Pool <mbp@samba.org> 26081 26082 * src/: dparent.c, exec.c: The two routines that call waitpid() 26083 must handle EINTR, in case a signal arrives while waiting. 26084 26085 (Perhaps on BSD if a child exits, you will break out with SIGCHLD 26086 and then need to wait again? Not sure.) 26087 260882002-06-28 16:49 Martin Pool <mbp@samba.org> 26089 26090 * Makefile.in: Add target to run old (currently broken) pyunit 26091 tests 26092 260932002-06-28 16:47 Martin Pool <mbp@samba.org> 26094 26095 * src/distcc.h: Add prototypes for hosts.c 26096 260972002-06-28 16:33 Martin Pool <mbp@samba.org> 26098 26099 * src/serve.c: Doc. 26100 261012002-06-28 16:19 Martin Pool <mbp@samba.org> 26102 26103 * src/: io.c: Better message. 26104 261052002-06-28 16:13 Martin Pool <mbp@samba.org> 26106 26107 * src/Makefile.in: distccd ought to be in bin/; add rationale. 26108 261092002-06-28 16:04 Martin Pool <mbp@samba.org> 26110 26111 * NEWS, src/io.c: If the system supports sendfile, but the 26112 particular filesystem we're on (e.g. tmpfs) doesn't, then fall 26113 back to using read/write. 26114 261152002-06-28 16:02 Martin Pool <mbp@samba.org> 26116 26117 * src/Makefile.in: Makefile must properly inherit configured 26118 variables 26119 261202002-06-28 16:01 Martin Pool <mbp@samba.org> 26121 26122 * man/Makefile.in: Remove old Makefile target to do with 26123 pre-processed manpages 26124 261252002-06-28 16:00 Martin Pool <mbp@samba.org> 26126 26127 * configure: foo 26128 261292002-06-28 15:59 Martin Pool <mbp@samba.org> 26130 26131 * man/Makefile.in: distccd can be run by ordinary users, so 26132 arguably belongs in section 1. 26133 261342002-06-28 13:20 Martin Pool <mbp@samba.org> 26135 26136 * NEWS: Foo 26137 261382002-06-28 13:18 Martin Pool <mbp@samba.org> 26139 26140 * README: Update README. 26141 261422002-06-28 13:12 Martin Pool <mbp@samba.org> 26143 26144 * src/Makefile.in: Make directories before installing into them. 26145 261462002-06-28 13:08 Martin Pool <mbp@samba.org> 26147 26148 * OLDNEWS: Merge news from 0.5 and make format consistent. 26149 261502002-06-28 13:07 Martin Pool <mbp@samba.org> 26151 26152 * Makefile.in: Also install top-level documentation (e.g. README) 26153 261542002-06-28 13:05 Martin Pool <mbp@samba.org> 26155 26156 * configure.ac, linuxdoc/Makefile.in, man/Makefile.in, 26157 src/Makefile.in: More work on 'make install' 26158 261592002-06-28 12:49 Martin Pool <mbp@samba.org> 26160 26161 * configure.ac, analog/distcc.analog, man/Makefile.in: More 26162 automake removal, mostly for man/ 26163 261642002-06-28 12:48 Martin Pool <mbp@samba.org> 26165 26166 * Makefile.in: If any sub-make fails, the top-level one should fail 26167 too. 26168 261692002-06-28 12:06 Martin Pool <mbp@samba.org> 26170 26171 * Makefile.in, configure, configure.ac, linuxdoc/.cvsignore, 26172 src/Makefile.in: More work on conversion away from automake 26173 261742002-06-28 11:56 Martin Pool <mbp@samba.org> 26175 26176 * linuxdoc/Makefile.in: Cleanup. 26177 26178 Only remove documents with maintainer-clean. 26179 261802002-06-28 11:50 Martin Pool <mbp@samba.org> 26181 26182 * linuxdoc/Makefile.in: Remove automake cruft. 26183 261842002-06-28 11:42 Martin Pool <mbp@samba.org> 26185 26186 * src/io.c: Merge fixup 26187 261882002-06-28 11:41 Martin Pool <mbp@samba.org> 26189 26190 * patches/ChangeLog: kill changelogs 26191 261922002-06-28 11:40 Martin Pool <mbp@samba.org> 26193 26194 * missing: remove automake cruft 26195 261962002-06-28 11:38 Martin Pool <mbp@samba.org> 26197 26198 * .cvsignore, linuxdoc/distcc.sgml, src/arg.c, src/distcc.c, 26199 src/distcc.h, src/exec.c, src/h_scanargs.c, src/io.c, 26200 src/serve.c: Merge changes from freeze_0_5 branch: 26201 26202 - avoid argv[] overrun bug 26203 26204 - more trace messages 26205 26206 - some refactoring/cleanups 26207 26208 - FreeBSD sendfile portability fix 26209 26210 - better exit codes 26211 262122002-06-28 11:23 Martin Pool <mbp@samba.org> 26213 26214 * analog/: Makefile, distcc.analog: Add analog config. 26215 262162002-06-27 22:45 Martin Pool <mbp@samba.org> 26217 26218 * test/testdistcc.py: Also test hostspec parser. 26219 262202002-06-27 22:43 Martin Pool <mbp@samba.org> 26221 26222 * src/hosts.c: Better messages for EXIT_BAD_HOSTSPEC 26223 262242002-06-27 22:41 Martin Pool <mbp@samba.org> 26225 26226 * src/hosts.c: dcc_parse_hosts() needs to return EXIT_BAD_HOSTSPEC 26227 if no hosts are defined. 26228 262292002-06-27 22:29 Martin Pool <mbp@samba.org> 26230 26231 * test/testdistcc.py: Port more tests from PyUnit. 26232 262332002-06-27 22:27 Martin Pool <mbp@samba.org> 26234 26235 * Makefile.in: Run tests against just-built executables. 26236 262372002-06-27 22:12 Martin Pool <mbp@samba.org> 26238 26239 * test/testdistcc.py: Add a slightly nontrivial test that we can 26240 call --version on distcc and distccd. 26241 262422002-06-27 21:59 Martin Pool <mbp@samba.org> 26243 26244 * Makefile.in: Don't run pyunit by default any more. 26245 262462002-06-27 21:58 Martin Pool <mbp@samba.org> 26247 26248 * Makefile.in: Call comfy chair and pyunit tests 26249 262502002-06-27 21:57 Martin Pool <mbp@samba.org> 26251 26252 * test/testdistcc.py: Start of conversion of Python tests to use 26253 comfy chair 26254 262552002-06-27 21:45 Martin Pool <mbp@samba.org> 26256 26257 * Makefile.in, aclocal.m4: Start getting 'make check' working 26258 without automake. 26259 262602002-06-27 21:45 Martin Pool <mbp@samba.org> 26261 26262 * src/Makefile.in: Add non-automake rules to build test harnesses. 26263 262642002-06-27 21:34 Martin Pool <mbp@samba.org> 26265 26266 * src/exitcode.h: Cleanup. 26267 262682002-06-27 21:33 Martin Pool <mbp@samba.org> 26269 26270 * src/: daemon.c, dparent.c: Fixes for removal of automake. 26271 262722002-06-27 21:29 Martin Pool <mbp@samba.org> 26273 26274 * src/distcc.h: Add a new host specification string parser (not 26275 called yet except from test case.) 26276 262772002-06-27 21:28 Martin Pool <mbp@samba.org> 26278 26279 * src/io.c: Reindent. 26280 26281 Emit trace messages when (un)corking sockets. 26282 262832002-06-27 21:25 Martin Pool <mbp@samba.org> 26284 26285 * src/trace.h: Change rs_log_critical to rs_log_crit to be 26286 consistent. 26287 262882002-06-27 21:24 Martin Pool <mbp@samba.org> 26289 26290 * src/srvnet.c: Doc 26291 262922002-06-27 21:24 Martin Pool <mbp@samba.org> 26293 26294 * src/: hosts.c, where.c: Add a new host specification string 26295 parser (not called yet except from test case.) 26296 262972002-06-27 21:24 Martin Pool <mbp@samba.org> 26298 26299 * src/h_hosts.c: Print out the results of parsing the host 26300 specification. 26301 26302 Pass exit code from scanner out. 26303 263042002-06-27 21:23 Martin Pool <mbp@samba.org> 26305 26306 * src/exitcode.h: Add additional exit codes: compiler crashed, out 26307 of memory, bad hostspec. 26308 26309 Doc. 26310 263112002-06-27 21:20 Martin Pool <mbp@samba.org> 26312 26313 * src/dparent.c: Log an info message when standalone daemon starts, 26314 including version. 26315 263162002-06-27 21:20 Martin Pool <mbp@samba.org> 26317 26318 * src/daemon.c: Log an info message when inetd daemon starts. 26319 263202002-06-27 20:36 Martin Pool <mbp@samba.org> 26321 26322 * configure, configure.ac: Bump version to 0.5 26323 263242002-06-27 20:32 Martin Pool <mbp@samba.org> 26325 26326 * NEWS: Add date, etc. 26327 263282002-06-27 20:28 Martin Pool <mbp@samba.org> 26329 26330 * NEWS: Update NEWS 26331 263322002-06-27 20:25 Martin Pool <mbp@samba.org> 26333 26334 * src/io.c: Doc. 26335 263362002-06-27 14:34 Martin Pool <mbp@samba.org> 26337 26338 * configure, configure.ac: Bump version. 26339 263402002-06-27 13:46 Martin Pool <mbp@samba.org> 26341 26342 * src/io.c: Try to handle FreeBSD's different API for sendfile() by 26343 introducing a sys_sendfile() portability wrapper. 26344 263452002-06-27 13:23 Martin Pool <mbp@samba.org> 26346 26347 * Makefile.am, Makefile.in, NEWS, aclocal.m4, autogen.sh, 26348 configure, configure.ac, linuxdoc/Makefile.am, man/Makefile.am, 26349 src/Makefile.am, src/Makefile.in, src/config.h.in, src/help.c: 26350 Get rid of automake, just use plain autoconf 2.53. What a mess! 26351 26352 Building the basic executables should still work; test cases etc 26353 is probably broken at the moment. 26354 263552002-06-27 10:39 Martin Pool <mbp@samba.org> 26356 26357 * ChangeLog, Makefile.in, aclocal.m4, contrib/ChangeLog, 26358 doc/ChangeLog, linuxdoc/ChangeLog, linuxdoc/Makefile.in, 26359 man/ChangeLog, man/Makefile.in, src/ChangeLog, src/Makefile.in: 26360 Run autogen Remove dumb ChangeLogs 26361 263622002-06-26 21:59 Martin Pool <mbp@samba.org> 26363 26364 * Makefile.in, aclocal.m4, configure, depcomp, missing, 26365 linuxdoc/Makefile.in, man/Makefile.in, src/Makefile.in: Upgrade 26366 automake to 1.5. 26367 263682002-06-26 21:59 Martin Pool <mbp@samba.org> 26369 26370 * NEWS: Set version. 26371 263722002-06-26 21:58 Martin Pool <mbp@samba.org> 26373 26374 * autogen.sh, .cvsignore: ChangeLogs no longer stored in CVS. 26375 263762002-06-26 21:56 Martin Pool <mbp@samba.org> 26377 26378 * src/dparent.c: Handle EINTR from waitpid(), which is expected on 26379 FreeBSD. 26380 263812002-06-26 14:49 Martin Pool <mbp@samba.org> 26382 26383 * linuxdoc/distcc.sgml: Document EXIT_COMPILER_CRASHED. 26384 263852002-06-26 14:44 Martin Pool <mbp@samba.org> 26386 26387 * src/distcc.c: Doc. 26388 26389 Clearer message for remote compiler failure. 26390 263912002-06-26 14:35 Martin Pool <mbp@samba.org> 26392 26393 * ChangeLog, contrib/ChangeLog, doc/ChangeLog, linuxdoc/ChangeLog, 26394 man/ChangeLog, patches/ChangeLog, src/ChangeLog: Remove 26395 ChangeLogs -- I'm not convinced that keeping them in CVS makes 26396 much sense. If you want them, autogenerate them. 26397 263982002-06-26 14:21 Martin Pool <mbp@samba.org> 26399 26400 * configure, configure.ac: Set version to 0.5rc1 26401 264022002-06-26 14:19 Martin Pool <mbp@samba.org> 26403 26404 * NEWS, src/arg.c, src/distcc.c, src/distcc.h, src/exec.c, 26405 src/exitcode.h, src/h_hosts.c, src/h_scanargs.c, src/serve.c: Fix 26406 bug in h_hosts that caused us to write off the end of the real 26407 argv[], rather than a copy. Thanks to Julian Seward. 26408 26409 Use more specific return codes when the remote compiler fails: 26410 EXIT_COMPILER_CRASHED for a signal, or the return code from the 26411 compiler if it exited non-0. 26412 26413 Refactor client main() to be a bit clearer. 26414 264152002-06-22 14:44 Martin Pool <mbp@samba.org> 26416 26417 * src/: t_exten, t_issource, t_version: Remove unused sh-based 26418 tests. 26419 264202002-06-22 03:58 Martin Pool <mbp@samba.org> 26421 26422 * Makefile.in, NEWS, aclocal.m4, configure, configure.ac, 26423 linuxdoc/Makefile.in, man/Makefile.in, src/Makefile.in: Bump 26424 version to 0.5. 26425 264262002-06-22 03:56 Martin Pool <mbp@samba.org> 26427 26428 * src/trace.h: Doc. 26429 264302002-06-21 19:48 Martin Pool <mbp@samba.org> 26431 26432 * src/: distcc.h, h_hosts.c, hosts.c, where.c: Make everything 26433 build again :) 26434 264352002-06-21 19:46 Martin Pool <mbp@samba.org> 26436 26437 * src/hosts.c: Doc. 26438 264392002-06-21 19:34 Martin Pool <mbp@samba.org> 26440 26441 * src/hosts.c: dcc_parse_hosts_env: Better parser that splits 26442 things into words and recognizes the two types of host 26443 definition. Doesn't do the whole job yet though. 26444 264452002-06-21 19:33 Martin Pool <mbp@samba.org> 26446 26447 * src/h_hosts.c: h_hosts: Actually print out the results of the 26448 test. Exit 1 if something went wrong or is inconsistent. 26449 264502002-06-21 19:15 Martin Pool <mbp@samba.org> 26451 26452 * src/: .cvsignore, Makefile.am, Makefile.in, distcc.h, h_hosts.c, 26453 hosts.c, hosts.h, where.c: Start splitting out new host parser. 26454 Doesn't do anything yet. 26455 264562002-06-18 08:50 Martin Pool <mbp@samba.org> 26457 26458 * linuxdoc/Makefile.in: Keep Makefile.in to allow building without 26459 automake. 26460 264612002-06-13 15:42 Martin Pool <mbp@samba.org> 26462 26463 * src/: trace.c, trace.h: Cope without varargs macros. All trace 26464 routines are redirected to plain functions. 26465 264662002-06-13 15:41 Martin Pool <mbp@samba.org> 26467 26468 * Makefile.in, configure, src/config.h.in: Run autoconf 26469 264702002-06-13 15:22 Martin Pool <mbp@samba.org> 26471 26472 * src/: h_exten.c, h_issource.c, h_scanargs.c: - cope without 26473 varargs macros or __attribute__ 26474 264752002-06-13 15:14 Martin Pool <mbp@samba.org> 26476 26477 * NEWS, configure.ac, src/arg.c, src/bulk.c, src/distcc.c, 26478 src/distcc.h, src/dopt.c, src/dparent.c, src/exec.c, src/io.c, 26479 src/rpc.c, src/tempfile.c, src/trace.c, src/trace.h, src/util.c, 26480 src/util.h, src/where.c: Modified patch from Petter Reinholdtsen 26481 to try to build on Solaris with Forte cc. 26482 26483 Specifically: 26484 26485 - cope without varargs macros or __attribute__ 26486 26487 - use lockf rather than flock if missing 26488 26489 - fix bashism 26490 26491 - put config.h in all files 26492 264932002-06-13 15:02 Martin Pool <mbp@samba.org> 26494 26495 * Makefile.in, man/Makefile.in: run automake 26496 264972002-06-13 15:01 Martin Pool <mbp@samba.org> 26498 26499 * README: Remove old performance numbers 26500 26501 Add supported platforms 26502 265032002-06-13 15:00 Martin Pool <mbp@samba.org> 26504 26505 * patches/freebsd-mknod.diff: committed 26506 265072002-06-13 14:58 Martin Pool <mbp@samba.org> 26508 26509 * NEWS, src/serve.c: FreeBSD mknod/mkfifo fix. (Claes Wallin) 26510 265112002-06-13 14:54 Martin Pool <mbp@samba.org> 26512 26513 * src/dopt.c: Doc. 26514 265152002-06-12 02:44 Martin Pool <mbp@samba.org> 26516 26517 * NEWS, man/Makefile.am: Makefile.am patch from Petter Reinholdtsen 26518 to correctly install and distribute manpages. (They need to be 26519 updated to include just quick reference information and to point 26520 to the sgml manual.) 26521 265222002-06-12 02:15 Martin Pool <mbp@samba.org> 26523 26524 * packaging/: README.rpm, distcc.spec: RPM spec file from Ben 26525 Elliston. 26526 265272002-06-12 01:53 Martin Pool <mbp@samba.org> 26528 26529 * NEWS, OLDNEWS: Roll over NEWS 26530 265312002-06-12 01:52 Martin Pool <mbp@samba.org> 26532 26533 * src/: bulk.c, distcc.h: Refactor bulk file transfer code in 26534 preparation for gzip compressiong. 26535 265362002-06-12 01:51 Martin Pool <mbp@samba.org> 26537 26538 * src/io.c: Doc. 26539 265402002-06-12 01:47 Martin Pool <mbp@samba.org> 26541 26542 * src/zip.c: Skeleton of zip compression. Not used yet. 26543 265442002-06-12 01:39 Martin Pool <mbp@samba.org> 26545 26546 * man/: .cvsignore, Makefile.in: Keep files generated by automake, 26547 but not by configure. 26548 265492002-06-12 01:39 Martin Pool <mbp@samba.org> 26550 26551 * patches/freebsd-mknod.diff: Patch from Claes Wallin for FreeBSD. 26552 265532002-06-12 01:37 Martin Pool <mbp@samba.org> 26554 26555 * man/.cvsignore: Ignore autoconf generated files. 26556 265572002-06-12 01:36 Martin Pool <mbp@samba.org> 26558 26559 * linuxdoc/.cvsignore: Ignore generated files. 26560 265612002-06-09 02:58 Martin Pool <mbp@samba.org> 26562 26563 * linuxdoc/distcc.sgml: Bump version to 0.4 26564 265652002-06-09 02:53 Martin Pool <mbp@samba.org> 26566 26567 * ChangeLog, contrib/ChangeLog, doc/ChangeLog, linuxdoc/ChangeLog, 26568 man/ChangeLog, patches/ChangeLog, src/ChangeLog: update 26569 ChangeLogs 26570 265712002-06-09 02:51 Martin Pool <mbp@samba.org> 26572 26573 * configure, linuxdoc/Makefile, linuxdoc/Makefile.am, man/Makefile, 26574 man/Makefile.am, src/Makefile.in: Shuffle Makefiles 26575 265762002-06-09 02:50 Martin Pool <mbp@samba.org> 26577 26578 * NEWS: Update news 26579 265802002-06-09 02:40 Martin Pool <mbp@samba.org> 26581 26582 * src/Makefile.am: Add missing file 26583 265842002-06-09 02:38 Martin Pool <mbp@samba.org> 26585 26586 * configure.ac: Bump version to 0.4 Get rid of old test scripts Add 26587 new Makefiles 26588 265892002-06-09 02:34 Martin Pool <mbp@samba.org> 26590 26591 * NEWS: Doc. 26592 265932002-06-09 02:32 Martin Pool <mbp@samba.org> 26594 26595 * src/dopt.c: Hide --tasks from help since it does nothing. 26596 265972002-06-09 02:09 Martin Pool <mbp@samba.org> 26598 26599 * linuxdoc/distcc.sgml: Add section on SMP. 26600 266012002-06-09 02:02 Martin Pool <mbp@samba.org> 26602 26603 * src/dparent.c: Doc. 26604 266052002-06-09 01:58 Martin Pool <mbp@samba.org> 26606 26607 * ChangeLog, contrib/ChangeLog, linuxdoc/ChangeLog, 26608 patches/ChangeLog, src/ChangeLog: update changelog 26609 266102002-06-09 01:50 Martin Pool <mbp@samba.org> 26611 26612 * src/dparent.c: Factor out code to collect children. Keep track 26613 of how many are running. 26614 266152002-06-09 01:44 Martin Pool <mbp@samba.org> 26616 26617 * src/: daemon.c, dparent.c: Change server to a more traditional 26618 Unix model of forking after accepting -- possibly less 26619 efficient, but I was having trouble managing an orderly shutdown 26620 of all children and this is simpler. 26621 266222002-06-09 01:43 Martin Pool <mbp@samba.org> 26623 26624 * src/Makefile.in: Run autoconf 26625 266262002-06-09 01:42 Martin Pool <mbp@samba.org> 26627 26628 * NEWS: Doc 26629 266302002-06-09 00:23 Martin Pool <mbp@samba.org> 26631 26632 * NEWS: .S and .s probably works now. 26633 266342002-06-09 00:21 Martin Pool <mbp@samba.org> 26635 26636 * src/: arg.c, distcc.h, serve.c: Correctly infer preprocessed 26637 filename from source filename. So for example if we're 26638 processing a .S file, then we need to call the tmpfile .s so that 26639 the compiler driver understands that it should just run the 26640 assembler. 26641 266422002-06-09 00:08 Martin Pool <mbp@samba.org> 26643 26644 * linuxdoc/distcc.sgml: Note that network errors will not be 26645 detected. 26646 266472002-06-09 00:05 Martin Pool <mbp@samba.org> 26648 26649 * src/dopt.c: Doc. 26650 266512002-06-09 00:03 Martin Pool <mbp@samba.org> 26652 26653 * src/arg.c: Server should log input and output filename too. 26654 266552002-06-08 23:54 Martin Pool <mbp@samba.org> 26656 26657 * src/: arg.c: Log input and output filename. 26658 266592002-06-08 23:45 Martin Pool <mbp@samba.org> 26660 26661 * src/dparent.c: Daemon parent tries to close listen_fd after 26662 forking children, because it's no longer required. 26663 266642002-06-08 23:43 Martin Pool <mbp@samba.org> 26665 26666 * src/: Makefile.am, daemon.c, distcc.h, dparent.c: Split 26667 daemon-standalone-parent code into a separate file. 26668 266692002-06-08 23:35 Martin Pool <mbp@samba.org> 26670 26671 * src/daemon.c: Lots of doc updates. 26672 266732002-06-08 23:30 Martin Pool <mbp@samba.org> 26674 26675 * src/daemon.c: Update docs. 26676 266772002-06-08 23:24 Martin Pool <mbp@samba.org> 26678 26679 * NEWS: Note --pid-file. 26680 266812002-06-08 23:10 Martin Pool <mbp@samba.org> 26682 26683 * src/daemon.c: Add log message for stdin being a socket 26684 266852002-06-08 23:09 Martin Pool <mbp@samba.org> 26686 26687 * src/srvnet.c: open_socket_in: check that port number is 26688 reasonable 26689 266902002-06-08 22:54 Martin Pool <mbp@samba.org> 26691 26692 * linuxdoc/: .cvsignore, Makefile: Fix Plucker filename 26693 266942002-06-08 22:49 Martin Pool <mbp@samba.org> 26695 26696 * linuxdoc/.cvsignore: Add Plucker-ized manual 26697 266982002-06-08 22:48 Martin Pool <mbp@samba.org> 26699 26700 * linuxdoc/Makefile: Better name for Plucker file. 26701 267022002-06-08 22:40 Martin Pool <mbp@samba.org> 26703 26704 * src/daemon.c: Consistently call dcc_exit(). 26705 26706 Notice immediately when one of our children dies, and reap all of 26707 them. 26708 26709 When all children die or the parent is signalled, the parent 26710 should kill the process group and itself. 26711 267122002-06-08 22:31 Martin Pool <mbp@samba.org> 26713 26714 * src/util.h: Fix function attributes. 26715 267162002-06-08 22:16 Martin Pool <mbp@samba.org> 26717 26718 * src/distcc.h: Clean up prototypes. 26719 267202002-06-08 22:11 Martin Pool <mbp@samba.org> 26721 26722 * src/daemon.c: Clean up exit codes. 26723 26724 If fork() fails, log an error, but keep trying. 26725 26726 Try to listen on socket before going into background, so that 26727 failure is visible to the calling script. 26728 267292002-06-08 22:00 Martin Pool <mbp@samba.org> 26730 26731 * src/distcc.c: Detect invocations like "distcc -c" 26732 267332002-06-08 22:00 Martin Pool <mbp@samba.org> 26734 26735 * src/exitcode.h, linuxdoc/distcc.sgml: Renumber exit codes so that 26736 100 is a generic distcc failure. 26737 267382002-06-08 21:44 Martin Pool <mbp@samba.org> 26739 26740 * src/dopt.c: Fix help message for --pid-file 26741 267422002-06-08 21:43 Martin Pool <mbp@samba.org> 26743 26744 * src/: daemon.c, dopt.c, opt.h: Add --pid-file option to save 26745 daemon's pid. 26746 267472002-06-08 21:42 Martin Pool <mbp@samba.org> 26748 26749 * Makefile.in: Update autoconf stuff 26750 267512002-06-08 14:24 Martin Pool <mbp@samba.org> 26752 26753 * linuxdoc/Makefile: Don't build Linuxdoc by default because many 26754 machines won't have the tools. 26755 267562002-06-08 13:49 Martin Pool <mbp@samba.org> 26757 26758 * src/dopt.c: Fix overzealous memory mistake. 26759 267602002-06-07 16:17 Martin Pool <mbp@samba.org> 26761 26762 * ChangeLog, doc/ChangeLog, linuxdoc/ChangeLog, man/ChangeLog, 26763 src/ChangeLog: auto-update ChangeLog 26764 267652002-06-07 11:09 Martin Pool <mbp@samba.org> 26766 26767 * man/: .cvsignore, Makefile, distcc.1, distccd.1: Correction from 26768 Juan F. Codagnone for Makefile -- should call groff, not man, to 26769 transform manpages 26770 26771 Also, add a little stub distccd page. Both need to be updated to 26772 show just the basic information and refer to the manual for more 26773 info. 26774 267752002-06-06 18:21 Martin Pool <mbp@samba.org> 26776 26777 * linuxdoc/distcc.sgml: Improve cross-compile section. 26778 267792002-06-06 17:52 Martin Pool <mbp@samba.org> 26780 26781 * linuxdoc/distcc.sgml: Update doc: test suite has now been 26782 written. 26783 267842002-06-06 00:22 Martin Pool <mbp@samba.org> 26785 26786 * Makefile.in, NEWS, configure, configure.ac, src/config.h.in, 26787 src/daemon.c, src/distcc.h, src/dopt.c, src/exitcode.h, 26788 src/opt.h: Improvements to demon: 26789 26790 - make daemon put itself into background when running alone 26791 26792 - daemon preforks children according to --tasks option, notes if 26793 they 26794 die, and kills them when terminated 26795 26796 - --port option to set listening port (currently not useful, 26797 since 26798 you can't set port on client) 26799 268002002-06-05 19:00 Martin Pool <mbp@samba.org> 26801 26802 * src/dopt.c: Fix mostly-harmless leaks of poptContext. Detected 26803 by valgrind -- how cool! 26804 268052002-06-05 18:53 Martin Pool <mbp@samba.org> 26806 26807 * NEWS, src/tempfile.c: Add support for TMPDIR. Not tested. 26808 268092002-06-05 17:22 Martin Pool <mbp@samba.org> 26810 26811 * src/: bulk.c, daemon.c, distcc.c, exec.c, where.c: Doc. 26812 268132002-06-02 15:02 Martin Pool <mbp@samba.org> 26814 26815 * NEWS: Test cvs 26816 268172002-06-02 14:28 Martin Pool <mbp@samba.org> 26818 26819 * linuxdoc/Makefile, man/Makefile: Fix recursive make targets 26820 268212002-06-02 14:18 Martin Pool <mbp@samba.org> 26822 26823 * linuxdoc/Makefile, man/Makefile: Fix recursive make targets 26824 268252002-06-02 14:10 Martin Pool <mbp@samba.org> 26826 26827 * Makefile.in, linuxdoc/Makefile: automake 26828 268292002-06-02 14:09 Martin Pool <mbp@samba.org> 26830 26831 * src/: Makefile.in, daemon.c, exitcode.h: Start using consistent 26832 return codes across all programs. 26833 268342002-06-02 14:07 Martin Pool <mbp@samba.org> 26835 26836 * contrib/make-j: make-j script from Alexandre Oliva 26837 <aoliva@redhat.com> for use with distcc 26838 26839 Tests which machines are up, and runs Make with concurrency set 26840 appropriately. 26841 268422002-06-02 13:59 Martin Pool <mbp@samba.org> 26843 26844 * src/: .cvsignore, Makefile.am, Makefile.in, arg.c, clinet.c, 26845 daemon.c, distcc.c, exitcode.h, h_scanargs.c, help.c, serve.c, 26846 srvnet.c, trace.c, trace.h, util.c, util.h, where.c: Many 26847 changes: 26848 26849 Start using consistent return codes across all programs. 26850 26851 Add h_scanargs to allow pyunit to test argument analysis. 26852 26853 If -fprofile-args, -ftest-coverage or -x is seen in arguments, 26854 run locally. 26855 26856 Handle "gcc -c -c hello.c" 26857 26858 Better help message. 26859 26860 Start handling .s files (doesn't work yet) 26861 26862 Fix insertion of program/pid into trace msgs. 26863 268642002-06-02 13:56 Martin Pool <mbp@samba.org> 26865 26866 * configure, configure.ac: FreeBSD installs its version of libpopt 26867 into /usr/local/, but does not put that on the default library 26868 and header path. We used to add that path if building on *bsd*, 26869 but bje points out that will break cross-compilation, and it's 26870 kind of ugly anyhow. 26871 268722002-06-02 13:55 Martin Pool <mbp@samba.org> 26873 26874 * autogen.sh: Don't configure from autogen.sh 26875 268762002-06-02 13:54 Martin Pool <mbp@samba.org> 26877 26878 * Makefile.am, Makefile.in: Also descend into linuxdoc, pyunit and 26879 man directories. 26880 268812002-06-02 13:51 Martin Pool <mbp@samba.org> 26882 26883 * linuxdoc/distcc.sgml: More documentation, especially about bugs. 26884 268852002-06-02 13:50 Martin Pool <mbp@samba.org> 26886 26887 * NEWS, OLDNEWS: Roll over news. 26888 268892002-05-31 16:36 Martin Pool <mbp@samba.org> 26890 26891 * configure, configure.ac: Apparently FreeBSD needs sys/types.h 26892 before netinet/in.h. From Frerich Raabe. 26893 268942002-05-31 16:20 Martin Pool <mbp@samba.org> 26895 26896 * linuxdoc/distcc.sgml: Add distcc link. 26897 268982002-05-31 16:10 Martin Pool <mbp@samba.org> 26899 26900 * linuxdoc/Makefile: Move to distcc.samba.org. 26901 269022002-05-31 16:09 Martin Pool <mbp@samba.org> 26903 26904 * linuxdoc/distcc.sgml: Manual is now current for 0.3 26905 269062002-05-31 16:08 Martin Pool <mbp@samba.org> 26907 26908 * linuxdoc/footer.html: Fix distcc homepage link. 26909 269102002-05-30 08:31 Martin Pool <mbp@samba.org> 26911 26912 * configure.ac: Documentation from ben 26913 269142002-05-29 14:35 Martin Pool <mbp@samba.org> 26915 26916 * linuxdoc/distcc.sgml: More notes from recent discussions. 26917 269182002-05-29 14:21 Martin Pool <mbp@samba.org> 26919 26920 * src/arg.c: Doc. 26921 269222002-05-28 23:11 Martin Pool <mbp@samba.org> 26923 26924 * ChangeLog, Makefile.am, Makefile.in, linuxdoc/ChangeLog, 26925 src/ChangeLog: Commit Makefile rule 26926 269272002-05-28 23:09 Martin Pool <mbp@samba.org> 26928 26929 * Makefile.am: Need to distribute ChangeLogs across directories 26930 269312002-05-28 23:04 Martin Pool <mbp@samba.org> 26932 26933 * ChangeLog: Update ChangeLog from CVS 26934 269352002-05-28 23:00 Martin Pool <mbp@samba.org> 26936 26937 * Makefile.in, aclocal.m4, src/Makefile.in: autoconf 26938 269392002-05-28 22:58 Martin Pool <mbp@samba.org> 26940 26941 * Makefile.in, src/Makefile.in: update autoconf 26942 269432002-05-28 22:58 Martin Pool <mbp@samba.org> 26944 26945 * src/NEWS: Moved to parent directory 26946 269472002-05-28 22:56 Martin Pool <mbp@samba.org> 26948 26949 * NEWS: Go ahead and release. 26950 269512002-05-28 22:38 Martin Pool <mbp@samba.org> 26952 26953 * aclocal.m4, configure, configure.ac, src/Makefile.am: Bump 26954 version to 0.3. 26955 26956 Try to get "make dist" working. 26957 269582002-05-28 19:50 Martin Pool <mbp@samba.org> 26959 26960 * Makefile.in, configure, src/Makefile.in: rerun autoconf 26961 269622002-05-28 19:32 Martin Pool <mbp@samba.org> 26963 26964 * configure.ac: Suggestion from Frerich to fix check for *bsd*. 26965 269662002-05-28 15:38 Martin Pool <mbp@samba.org> 26967 26968 * src/.cvsignore: Ignore temp file. 26969 269702002-05-28 15:29 Martin Pool <mbp@samba.org> 26971 26972 * aclocal.m4, configure.ac, src/Makefile.am, src/Makefile.in, 26973 src/t_version: Add another trivial test suggested by bje 26974 269752002-05-28 15:18 Martin Pool <mbp@samba.org> 26976 26977 * Makefile.in, configure, configure.ac, src/config.h.in, 26978 src/help.c: Export gnu host triple in --version 26979 269802002-05-28 15:07 Martin Pool <mbp@samba.org> 26981 26982 * Makefile.in, aclocal.m4, config.guess, config.sub, configure, 26983 configure.ac, src/Makefile.in: Detect BSD, and add /usr/local/ to 26984 the CFLAGS and LDFLAGS. 26985 269862002-05-28 14:31 Martin Pool <mbp@samba.org> 26987 26988 * aclocal.m4: Silly autoconf 26989 269902002-05-28 14:24 Martin Pool <mbp@samba.org> 26991 26992 * patches/: distc, distc++: Single files that call 'distcc gcc' -- 26993 possibly needed for Makefiles that assume the compiler is a 26994 single word. (Does this include libtool?) 26995 269962002-05-28 14:18 Martin Pool <mbp@samba.org> 26997 26998 * src/: .cvsignore, Makefile.in, config.h.in: Check in extra 26999 autoconf-generated files. 27000 270012002-05-28 14:17 Martin Pool <mbp@samba.org> 27002 27003 * src/timebuild: Very primitive script for timing tests. 27004 270052002-05-28 13:52 Martin Pool <mbp@samba.org> 27006 27007 * src/: h_exten.c, h_issource.c: Additional fixes for 27008 rs_program_name. 27009 270102002-05-28 13:48 Martin Pool <mbp@samba.org> 27011 27012 * Makefile.in, configure, configure.ac, src/serve.c: BSD needs 27013 sys/signal.h. 27014 270152002-05-28 12:43 Martin Pool <mbp@samba.org> 27016 27017 * .cvsignore, COPYING.FDL, Makefile.am, Makefile.in, aclocal.m4, 27018 configure, install-sh, missing, mkinstalldirs: Keep a copy of 27019 autotools files in CVS, to help people on machines with different 27020 versions. Bah, humbug! 27021 270222002-05-28 12:37 Martin Pool <mbp@samba.org> 27023 27024 * ChangeLog, doc/ChangeLog, linuxdoc/ChangeLog, man/ChangeLog: 27025 Regenerate ChangeLogs 27026 270272002-05-28 12:28 Martin Pool <mbp@samba.org> 27028 27029 * src/: ChangeLog, daemon.c, distcc.c, trace.c, trace.h: Clean up 27030 rs_program_name shmozlle 27031 270322002-05-27 00:58 Martin Pool <mbp@samba.org> 27033 27034 * src/srvnet.c: Doc 27035 270362002-05-27 00:14 Martin Pool <mbp@samba.org> 27037 27038 * configure.ac: Doc 27039 270402002-05-26 01:44 Martin Pool <mbp@samba.org> 27041 27042 * .cvsignore, src/.cvsignore: Ignore extra garbage 27043 270442002-05-26 01:38 Martin Pool <mbp@samba.org> 27045 27046 * configure.ac: Need to also look in sys/types.h for in_port_t on 27047 BSD. 27048 270492002-05-26 01:35 Martin Pool <mbp@samba.org> 27050 27051 * src/arg.c: Good fix from Ian Reinhart Geiser for silly mistake in 27052 dcc_set_file_extension that I think would show up in "gcc -c 27053 hello.c". 27054 270552002-05-26 01:27 Martin Pool <mbp@samba.org> 27056 27057 * NEWS, src/serve.c: Ignore SIGPIPE in daemon as well as client. 27058 27059 Thanks to Ben Elliston. 27060 270612002-05-26 01:21 Martin Pool <mbp@samba.org> 27062 27063 * configure.ac, src/clinet.c, NEWS: Try to cope without in_port_t. 27064 27065 Thanks to Luke Gorrie. 27066 270672002-05-26 01:11 Martin Pool <mbp@samba.org> 27068 27069 * src/: daemon.c, distcc.c, h_exten.c, h_issource.c, trace.c: Cope 27070 without program_invocation_short_name, as some GNU libc/cc 27071 combinations don't seem to have it (???) 27072 270732002-05-26 00:54 Martin Pool <mbp@samba.org> 27074 27075 * src/trace.c: Replace calls to strnlen with strlen, because it 27076 will always be short enough and FreeBSD doesn't have strnlen 27077 270782002-05-26 00:49 Martin Pool <mbp@samba.org> 27079 27080 * configure.ac, src/help.c: Ignore strange new automake variables, 27081 just use PACKAGE and VERSION 27082 270832002-05-26 00:47 Martin Pool <mbp@samba.org> 27084 27085 * NEWS: Fix Ian's name. 27086 270872002-05-26 00:46 Martin Pool <mbp@samba.org> 27088 27089 * NEWS: M-/ strikes again :-) 27090 270912002-05-26 00:42 Martin Pool <mbp@samba.org> 27092 27093 * src/io.c: If there are no corks on this computer, don't try to 27094 use them. 27095 270962002-05-26 00:32 Martin Pool <mbp@samba.org> 27097 27098 * configure.ac, src/arg.c, src/bulk.c, src/clinet.c, src/daemon.c, 27099 src/distcc.c, src/exec.c, src/h_exten.c, src/h_issource.c, 27100 src/io.c, src/rpc.c, src/serve.c, src/srvnet.c, src/tempfile.c, 27101 src/util.c, src/where.c, NEWS: Test for sys/sendfile.h and 27102 sendfile(), and if we don't have them use plain read/write 27103 instead. 27104 27105 Remove unnecessary dependencies on sys/sendfile.h 27106 271072002-05-26 00:23 Martin Pool <mbp@samba.org> 27108 27109 * autogen.sh: Don't say "make all", because on some platforms you 27110 might really need gmake. 27111 271122002-05-26 00:08 Martin Pool <mbp@samba.org> 27113 27114 * autogen.sh: Need to also run aclocal to install automake stuff. 27115 27116 Also need to run autoheader early on in the process, because 27117 automake depends on finding config.h.in. 27118 271192002-05-26 00:04 Martin Pool <mbp@samba.org> 27120 27121 * NEWS: Note help with automake 27122 271232002-05-26 00:01 Martin Pool <mbp@samba.org> 27124 27125 * autogen.sh: Handle ChangeLog 27126 271272002-05-25 23:57 Martin Pool <mbp@samba.org> 27128 27129 * src/.cvsignore: More test cases 27130 271312002-05-25 23:55 Martin Pool <mbp@samba.org> 27132 27133 * src/Makefile.am: Get rid of editing mistake. 27134 27135 _SOURCES is a magic name for automake, so don't use it for common 27136 source. 27137 27138 Thanks to Frerich Raabe. 27139 271402002-05-25 23:50 Martin Pool <mbp@samba.org> 27141 27142 * autogen.sh: Add a script to do everything necessary to build from 27143 CVS. This is needed because automake requires a spliff to get 27144 out of bed, and the generated files are shipped in tarballs but 27145 not stored in CVS. 27146 271472002-05-25 23:47 Martin Pool <mbp@samba.org> 27148 27149 * configure.ac: Fix shell syntax: square brackets can't be used in 27150 configure.ac because they clash with m4. 27151 271522002-05-25 19:23 Martin Pool <mbp@samba.org> 27153 27154 * src/: Makefile.am, h_issource.c, t_issource: Add another test 27155 271562002-05-25 19:23 Martin Pool <mbp@samba.org> 27157 27158 * configure.ac: chmod test files 27159 271602002-05-25 18:57 Martin Pool <mbp@samba.org> 27161 27162 * src/: arg.c, distcc.c, distcc.h: Recognize the .ii extension that 27163 ccache uses for preprocessed C++ code. (Ian Reinhart Geiser) 27164 271652002-05-25 18:55 Martin Pool <mbp@samba.org> 27166 27167 * NEWS: * Convert to using GNU automake and autoconf, so that 27168 distcc can 27169 better handle portability, distribution and testing. 27170 (Martin 27171 Pool) 27172 27173 * Start adding some "make check" tests. (Martin Pool) 27174 271752002-05-25 18:51 Martin Pool <mbp@samba.org> 27176 27177 * src/arg.c: Recognize the .ii extension that ccache uses for 27178 preprocessed C++ code. 27179 271802002-05-25 18:50 Martin Pool <mbp@samba.org> 27181 27182 * src/: .cvsignore, Makefile.am, arg.c, distcc.h, h_exten.c, 27183 t_exten: Add a test harness and script to test the simplest 27184 function we have -- finding the extension of a filename. 27185 271862002-05-25 18:34 Martin Pool <mbp@samba.org> 27187 27188 * src/GNUmakefile: This Makefile is no longer needed because we 27189 have automake. 27190 271912002-05-25 18:33 Martin Pool <mbp@samba.org> 27192 27193 * .cvsignore, src/.cvsignore: Ignore automake-generated files 27194 271952002-05-25 16:02 Martin Pool <mbp@samba.org> 27196 27197 * configure.ac, src/Makefile.am, src/help.c, src/trace.c: More 27198 automake integration fixes. Builds properly now. 27199 272002002-05-25 15:47 Martin Pool <mbp@samba.org> 27201 27202 * .cvsignore, AUTHORS, COPYING, INSTALL, Makefile, Makefile.am, 27203 NEWS, OLDNEWS, configure.ac, src/.cvsignore, src/Makefile.am: 27204 Convert to automake. Don't know if it works yet. 27205 272062002-05-24 16:45 Martin Pool <mbp@samba.org> 27207 27208 * linuxdoc/distcc.sgml: Add GNU FDL stuff. 27209 272102002-05-24 15:17 Martin Pool <mbp@samba.org> 27211 27212 * src/: distcc.c, distcc.h, exec.c, NEWS: Only fiddle with the 27213 compiler's stdin/out/err when running on the server, not on the 27214 client. This should make cpp from stdin work. (Reported by Ian 27215 Reinhart Geiser from KDE.) 27216 272172002-05-24 15:15 Martin Pool <mbp@samba.org> 27218 27219 * src/distcc.c: Doc. 27220 272212002-05-24 15:11 Martin Pool <mbp@samba.org> 27222 27223 * src/: distcc.h, exec.c: Split out code to redirect stdin/out/err, 27224 because we don't want to do this locally. 27225 272262002-05-24 13:49 Martin Pool <mbp@samba.org> 27227 27228 * Makefile: Add always_ChangeLog target 27229 272302002-05-24 13:47 Martin Pool <mbp@samba.org> 27231 27232 * src/serve.c: Use a FIFO to feed preprocessed source from the 27233 daemon into the compiler, so that compilation can be overlapped 27234 with network transit. 27235 272362002-05-24 13:22 Martin Pool <mbp@samba.org> 27237 27238 * src/NEWS: Support C++ compilation by correctly detecting 27239 prefixes. 27240 272412002-05-24 13:22 Martin Pool <mbp@samba.org> 27242 27243 * src/arg.c: Better error messages for when we encounter an 27244 argument that is not a source file name. 27245 272462002-05-24 13:19 Martin Pool <mbp@samba.org> 27247 27248 * src/arg.c: Fix little syntax error. 27249 272502002-05-24 13:18 Martin Pool <mbp@samba.org> 27251 27252 * src/arg.c: Change code to recognize source files so that it will 27253 detect all the C++ variants. Based on a patch from ian reinhart 27254 geiser. 27255 27256 Factor source file recognition into its own function. 27257 272582002-05-24 13:03 Martin Pool <mbp@samba.org> 27259 27260 * src/arg.c: Refactor code to set file extension, so that we can 27261 handle things like "foo.cpp" where the source extension is longer 27262 than ".o". Based on a patch from ian reinhart geiser, but more 27263 defensive. 27264 272652002-05-23 16:19 Martin Pool <mbp@samba.org> 27266 27267 * linuxdoc/distcc.sgml: Fix SGML. 27268 272692002-05-23 16:17 Martin Pool <mbp@samba.org> 27270 27271 * linuxdoc/distcc.sgml: Texinfo can't handle having two headings 27272 with the same name. 27273 272742002-05-23 16:12 Martin Pool <mbp@samba.org> 27275 27276 * linuxdoc/distcc.sgml: Add explanation of special meaning of 27277 "localhost" in DISTCC_HOSTS. 27278 27279 Move results around. 27280 272812002-05-21 18:17 Martin Pool <mbp@samba.org> 27282 27283 * src/: NEWS, OLDNEWS: Roll over NEWS 27284 272852002-05-21 18:10 Martin Pool <mbp@samba.org> 27286 27287 * src/GNUmakefile: Set version to 0.2.99 27288 272892002-05-21 17:20 Martin Pool <mbp@samba.org> 27290 27291 * src/serve.c: Doc. 27292 272932002-05-20 16:00 Martin Pool <mbp@samba.org> 27294 27295 * linuxdoc/distcc.sgml: Fix SGML 27296 272972002-05-20 15:57 Martin Pool <mbp@samba.org> 27298 27299 * linuxdoc/distcc.sgml: Add section about libtool. 27300 27301 Add results for building glib-1.2. 27302 273032002-05-20 14:38 Martin Pool <mbp@samba.org> 27304 27305 * src/GNUmakefile: linuxdoc/ subdir is no longer here. 27306 273072002-05-20 14:30 Martin Pool <mbp@samba.org> 27308 27309 * linuxdoc/distcc.sgml: Cleaner CVS stuff. 27310 273112002-05-20 14:26 Martin Pool <mbp@samba.org> 27312 27313 * linuxdoc/distcc.sgml: Cleaner CVS stuff. 27314 273152002-05-20 14:25 Martin Pool <mbp@samba.org> 27316 27317 * linuxdoc/distcc.sgml: Better explanation of issues around SSH. 27318 273192002-05-20 14:06 Martin Pool <mbp@samba.org> 27320 27321 * src/trace.c: Doc. 27322 273232002-05-20 14:02 Martin Pool <mbp@samba.org> 27324 27325 * linuxdoc/distcc.sgml: Clarify handling of compiler error 27326 messages. 27327 273282002-05-20 13:54 Martin Pool <mbp@samba.org> 27329 27330 * linuxdoc/.cvsignore: Better exclude specification 27331 273322002-05-20 13:54 Martin Pool <mbp@samba.org> 27333 27334 * linuxdoc/: Makefile, footer.html: Add HTML footer 27335 273362002-05-20 13:46 Martin Pool <mbp@samba.org> 27337 27338 * Makefile, cvs2cl.ufile: Add top-level makefile 27339 273402002-05-20 13:35 Martin Pool <mbp@samba.org> 27341 27342 * src/NEWS: News for something that happened last week! 27343 273442002-05-20 13:23 Martin Pool <mbp@samba.org> 27345 27346 * src/HACKING: Cleanup 27347 273482002-05-20 13:21 Martin Pool <mbp@samba.org> 27349 27350 * linuxdoc/distcc.sgml: Add results. 27351 273522002-05-19 18:09 Martin Pool <mbp@samba.org> 27353 27354 * linuxdoc/: .cvsignore, Makefile, distcc.sgml: Move directory 27355 273562002-05-17 15:45 Martin Pool <mbp@samba.org> 27357 27358 * src/GNUmakefile: Set version to 0.2 27359 273602002-05-17 14:10 Martin Pool <mbp@samba.org> 27361 27362 * src/help.c: Add email address 27363 273642002-05-17 14:09 Martin Pool <mbp@samba.org> 27365 27366 * src/: GNUmakefile, distcc.c, distcc.h, dopt.c, help.c: Improve 27367 --help messages, and make all programs response to --version 27368 properly. 27369 273702002-05-17 13:45 Martin Pool <mbp@samba.org> 27371 27372 * src/daemon.c: Doc. 27373 273742002-05-16 17:56 Martin Pool <mbp@samba.org> 27375 27376 * src/arg.c: If -o is not specified, gcc dumps the object file in 27377 the current directory, not the source directory. Make our 27378 behaviour the same. 27379 273802002-05-16 17:27 Martin Pool <mbp@samba.org> 27381 27382 * src/: arg.c, distcc.c, distcc.h: Try to handle cases like "gcc -c 27383 hello.c" by appending "-o hello.o" to the end. 27384 27385 This doesn't work yet for files not in the current directory. 27386 273872002-05-16 15:53 Martin Pool <mbp@samba.org> 27388 27389 * .cvsignore, src/GNUmakefile: Add a nice simple user manual 27390 273912002-05-16 13:48 Martin Pool <mbp@samba.org> 27392 27393 * src/HACKING: Note about cpp performance. 27394 273952002-05-15 23:13 Martin Pool <mbp@samba.org> 27396 27397 * src/HACKING: Doc. 27398 273992002-05-15 18:19 Martin Pool <mbp@samba.org> 27400 27401 * src/: HACKING, tempfile.c, where.c: Doc. 27402 274032002-05-15 17:45 Martin Pool <mbp@samba.org> 27404 27405 * src/where.c: Better trace msg 27406 274072002-05-15 17:44 Martin Pool <mbp@samba.org> 27408 27409 * man/.cvsignore: Ignore generated 27410 274112002-05-15 17:44 Martin Pool <mbp@samba.org> 27412 27413 * doc/distcc-irc.txt: Rough notes from irc 27414 274152002-05-15 17:38 Martin Pool <mbp@samba.org> 27416 27417 * src/: distcc.h, tempfile.c, where.c: Use simple file locks to 27418 spread work across hosts 27419 274202002-05-15 17:23 Martin Pool <mbp@samba.org> 27421 27422 * src/where.c: Split out code for parsing list of hosts, and 27423 actually picking a host to use. 27424 27425 Doc about locking method for distributing work. 27426 274272002-05-15 16:15 Martin Pool <mbp@samba.org> 27428 27429 * src/: GNUmakefile, bulk.c, distcc.c, distcc.h, rpc.h, serve.c, 27430 where.c: Back out of the compression changes; they seem like a 27431 premature optimization 27432 274332002-05-15 16:07 Martin Pool <mbp@samba.org> 27434 27435 * src/HACKING: Scratch numbers on compression 27436 274372002-05-15 15:57 Martin Pool <mbp@samba.org> 27438 27439 * src/serve.c: Use correct proto version 27440 274412002-05-15 15:54 Martin Pool <mbp@samba.org> 27442 27443 * src/: bulk.c, distcc.c, io.h, rpc.h, serve.c: zlevel is passed 27444 everywhere but ignored 27445 274462002-05-15 15:51 Martin Pool <mbp@samba.org> 27447 27448 * src/: GNUmakefile, distcc.c, serve.c: Server accepts GZIP token 27449 274502002-05-15 15:45 Martin Pool <mbp@samba.org> 27451 27452 * src/HACKING: Note about server-side error handling 27453 274542002-05-15 15:42 Martin Pool <mbp@samba.org> 27455 27456 * src/: distcc.c, distcc.h: Bump proto version to 2; send GZIP 27457 token in header to request compression 27458 274592002-05-15 15:35 Martin Pool <mbp@samba.org> 27460 27461 * src/: distcc.c, distcc.h, where.c: Parse zlevel out of _HOSTS 27462 274632002-05-15 15:27 Martin Pool <mbp@samba.org> 27464 27465 * src/: bulk.c, io.c, io.h: Factor out common methods of bulk 27466 transfer 27467 274682002-05-15 15:26 Martin Pool <mbp@samba.org> 27469 27470 * src/GNUmakefile: Bump version 27471 274722002-05-15 15:20 Martin Pool <mbp@samba.org> 27473 27474 * man/distcc.1: Note about mtimes 27475 274762002-05-15 15:13 Martin Pool <mbp@samba.org> 27477 27478 * src/bulk.c: Doc 27479 274802002-05-15 15:10 Martin Pool <mbp@samba.org> 27481 27482 * src/GNUmakefile: Set version to 1.0 27483 274842002-05-15 15:09 Martin Pool <mbp@samba.org> 27485 27486 * .cvsignore, man/distcc.1, src/HACKING, src/distcc.c, src/trace.c, 27487 src/trace.h: Allow log messages from distcc to be separated from 27488 stderr 27489 274902002-05-15 15:01 Martin Pool <mbp@samba.org> 27491 27492 * src/: GNUmakefile, bulk.c, rpc.c: Split out file transfer code 27493 274942002-05-15 14:56 Martin Pool <mbp@samba.org> 27495 27496 * src/tempfile.c: Add quote 27497 274982002-05-15 14:56 Martin Pool <mbp@samba.org> 27499 27500 * src/distcc.c: Handle --help 27501 275022002-05-15 14:56 Martin Pool <mbp@samba.org> 27503 27504 * man/distcc.1: Add more links 27505 275062002-05-15 14:55 Martin Pool <mbp@samba.org> 27507 27508 * man/Makefile: Add PDF target 27509 275102002-05-15 14:50 Martin Pool <mbp@samba.org> 27511 27512 * src/distcc.c: Show environment variables in usage message for 27513 distcc 27514 275152002-05-13 13:30 Martin Pool <mbp@samba.org> 27516 27517 * src/GNUmakefile: Add "install" target. 27518 275192002-05-13 13:27 Martin Pool <mbp@samba.org> 27520 27521 * src/dopt.c: Fix dumb "break" mistake in option parsing. 27522 275232002-05-06 09:10 Martin Pool <mbp@samba.org> 27524 27525 * src/dopt.c: Add --nice option 27526 275272002-05-05 19:23 Martin Pool <mbp@samba.org> 27528 27529 * src/: GNUmakefile, daemon.c, distcc.h, dopt.c: Start adding 27530 daemon command-line handling 27531 275322002-05-05 19:22 Martin Pool <mbp@samba.org> 27533 27534 * src/trace.c: Better formatting when not using the pid. 27535 275362002-05-05 19:21 Martin Pool <mbp@samba.org> 27537 27538 * README: Note library dependencies 27539 275402002-05-02 15:17 Martin Pool <mbp@samba.org> 27541 27542 * man/distcc.1: More stuff. 27543 275442002-05-02 14:25 Martin Pool <mbp@samba.org> 27545 27546 * man/distcc.1: More manpage updates. 27547 275482002-05-02 13:26 Martin Pool <mbp@samba.org> 27549 27550 * man/: Makefile, distcc.1: Add the start of a man page. 27551 275522002-05-01 12:42 Martin Pool <mbp@samba.org> 27553 27554 * src/io.c: "i've always wanted to use sendfile(), but never had a 27555 reason until now" 27556 275572002-05-01 12:31 Martin Pool <mbp@samba.org> 27558 27559 * README: Add author name. 27560 275612002-04-30 20:48 Martin Pool <mbp@samba.org> 27562 27563 * README, src/README: Rearrange 27564 275652002-04-30 18:15 Martin Pool <mbp@samba.org> 27566 27567 * src/: exec.c: Doc. 27568 275692002-04-30 18:06 Martin Pool <mbp@samba.org> 27570 27571 * src/serve.c: Make file sizes correct even if compilation fails. 27572 275732002-04-30 18:05 Martin Pool <mbp@samba.org> 27574 27575 * src/: distcc.h, serve.c, srvnet.c: daemon logs client names 27576 275772002-04-30 18:04 Martin Pool <mbp@samba.org> 27578 27579 * src/exec.c: Doc 27580 275812002-04-30 17:50 Martin Pool <mbp@samba.org> 27582 27583 * src/trace.c: you're never going to want program or pid in a 27584 syslog message, because it's redundant. 27585 275862002-04-30 17:48 Martin Pool <mbp@samba.org> 27587 27588 * src/: serve.c, exec.c: Log job completion 27589 275902002-04-30 17:45 Martin Pool <mbp@samba.org> 27591 27592 * src/daemon.c: Log opening of port 27593 275942002-04-30 17:38 Martin Pool <mbp@samba.org> 27595 27596 * src/exec.c: If compiler finished OK, that's an INFO level message 27597 275982002-04-30 17:34 Martin Pool <mbp@samba.org> 27599 27600 * src/: distcc.c, rpc.c, rpc.h, serve.c: Record size of files 27601 transferred 27602 276032002-04-30 17:31 Martin Pool <mbp@samba.org> 27604 27605 * src/: daemon.c, trace.c, trace.h: More flexible trace formatting 27606 276072002-04-30 17:22 Martin Pool <mbp@samba.org> 27608 27609 * src/trace.c: Fix stderr logging. 27610 276112002-04-30 17:19 Martin Pool <mbp@samba.org> 27612 27613 * src/: daemon.c, trace.c, trace.h: distccd logs to syslog/daemon. 27614 276152002-04-30 17:13 Martin Pool <mbp@samba.org> 27616 27617 * src/: trace.c, trace.h: Big rework of trace system so that the 27618 trace implementation gets to format the string, possibly using a 27619 helper function. 27620 276212002-04-30 16:35 Martin Pool <mbp@samba.org> 27622 27623 * src/srvnet.c: Delete dead code 27624 276252002-04-30 15:46 Martin Pool <mbp@samba.org> 27626 27627 * src/io.c: Don't ever just exit 27628 276292002-04-30 15:45 Martin Pool <mbp@samba.org> 27630 27631 * src/daemon.c: Don't abort if accept() fails. 27632 276332002-04-30 15:29 Martin Pool <mbp@samba.org> 27634 27635 * src/tempfile.c: Make cleanup code reusable. 27636 276372002-04-30 15:28 Martin Pool <mbp@samba.org> 27638 27639 * src/srvnet.c: Need to listen() on socket before accept() 27640 276412002-04-30 15:20 Martin Pool <mbp@samba.org> 27642 27643 * src/distcc.c: Fix silly pointer bug 27644 276452002-04-30 15:17 Martin Pool <mbp@samba.org> 27646 27647 * src/: GNUmakefile, daemon.c, srvnet.c, util.h: Really simple 27648 standalone mode. 27649 276502002-04-30 14:43 Martin Pool <mbp@samba.org> 27651 27652 * src/: GNUmakefile, daemon.c, distcc.h, serve.c: Split out daemon 27653 stuff in preparation for listening on our own socket. 27654 276552002-04-30 14:41 Martin Pool <mbp@samba.org> 27656 27657 * src/io.c: Cast from gcc warning 27658 276592002-04-30 14:41 Martin Pool <mbp@samba.org> 27660 27661 * src/distcc.c: Trace 27662 276632002-04-30 14:22 Martin Pool <mbp@samba.org> 27664 27665 * src/: README, distcc.c: Add DISTCC_VERBOSE env var 27666 276672002-04-30 14:09 Martin Pool <mbp@samba.org> 27668 27669 * src/rpc.c: Add necessary cast, thanks to gcc. 27670 276712002-04-30 14:09 Martin Pool <mbp@samba.org> 27672 27673 * src/HACKING: Doc. 27674 276752002-04-30 14:04 Martin Pool <mbp@samba.org> 27676 27677 * src/rpc.c: If we fail to receive a file, delete the destination 27678 rather than leaving it truncated. 27679 276802002-04-30 14:03 Martin Pool <mbp@samba.org> 27681 27682 * src/: daemon.c, distcc.c: Don't send the .o file unless 27683 compilation succeeded. 27684 276852002-04-30 13:54 Martin Pool <mbp@samba.org> 27686 27687 * src/distcc.c: If no build hosts are set, just run here. 27688 276892002-04-30 13:53 Martin Pool <mbp@samba.org> 27690 27691 * src/GNUmakefile: Add targets to run cflow. 27692 276932002-04-30 13:50 Martin Pool <mbp@samba.org> 27694 27695 * src/distcc.c: Doc. 27696 276972002-04-30 13:02 Martin Pool <mbp@samba.org> 27698 27699 * src/distcc.c: Do clean up temporary files. 27700 277012002-04-30 13:00 Martin Pool <mbp@samba.org> 27702 27703 * src/distcc.c: Better help message. 27704 277052002-04-30 12:58 Martin Pool <mbp@samba.org> 27706 27707 * src/GNUmakefile: Turn on more warnings 27708 277092002-04-30 12:54 Martin Pool <mbp@samba.org> 27710 27711 * src/where.c: Fix gcc warning. 27712 277132002-04-29 20:08 Martin Pool <mbp@samba.org> 27714 27715 * src/clinet.c: Note from Huxley 27716 277172002-04-29 15:28 Martin Pool <mbp@samba.org> 27718 27719 * src/where.c: Doc. 27720 277212002-04-29 15:23 Martin Pool <mbp@samba.org> 27722 27723 * src/daemon.c: Doc. 27724 277252002-04-29 15:20 Martin Pool <mbp@samba.org> 27726 27727 * src/: clinet.c, distcc.c: Doc. 27728 277292002-04-29 15:17 Martin Pool <mbp@samba.org> 27730 27731 * src/clinet.c: Handle EPIPE as a regular error 27732 277332002-04-29 14:52 Martin Pool <mbp@samba.org> 27734 27735 * src/daemon.c: Clean up temp files if build is successful 27736 277372002-04-29 14:50 Martin Pool <mbp@samba.org> 27738 27739 * src/daemon.c: Docs about better performance. 27740 277412002-04-29 14:45 Martin Pool <mbp@samba.org> 27742 27743 * src/where.c: Docs about better methods of choosing compile hosts. 27744 277452002-04-28 23:46 Martin Pool <mbp@samba.org> 27746 27747 * src/: arg.c, clinet.c, daemon.c, io.c, where.c: Clean up 27748 277492002-04-28 23:43 Martin Pool <mbp@samba.org> 27750 27751 * src/README: Notes on building the kernel 27752 277532002-04-28 23:05 Martin Pool <mbp@samba.org> 27754 27755 * src/GNUmakefile: Change version to 0.1cvs 27756 277572002-04-28 22:50 Martin Pool <mbp@samba.org> 27758 27759 * src/exec.c: Better messages 27760 277612002-04-28 22:50 Martin Pool <mbp@samba.org> 27762 27763 * src/arg.c: Better quoting for commands 27764 277652002-04-28 22:45 Martin Pool <mbp@samba.org> 27766 27767 * src/: README, distcc.c, distcc.h, exec.c: Make the magic name 27768 localhost 27769 27770 Better execution messages 27771 277722002-04-28 22:32 Martin Pool <mbp@samba.org> 27773 27774 * src/: README, distcc.c: Make the magic name LOCALHOST, not LOCAL 27775 277762002-04-28 22:30 Martin Pool <mbp@samba.org> 27777 27778 * src/where.c: Randomize by pid/ppid, rather than time(), because 27779 it is likely that multiple copies might be forked within a second 27780 by make -j. 27781 277822002-04-28 22:29 Martin Pool <mbp@samba.org> 27783 27784 * src/io.c: Fix headers 27785 277862002-04-28 20:54 Martin Pool <mbp@samba.org> 27787 27788 * src/README: Add title. 27789 277902002-04-28 20:41 Martin Pool <mbp@samba.org> 27791 27792 * src/: clinet.c, daemon.c, distcc.h, io.c, io.h: Also cork 27793 response from the server 27794 277952002-04-28 20:41 Martin Pool <mbp@samba.org> 27796 27797 * src/trace.c: Larger log buffer for chunky gcc lines 27798 277992002-04-28 20:37 Martin Pool <mbp@samba.org> 27800 27801 * src/distcc.c: Cork and uncork socket around request. 27802 278032002-04-28 20:36 Martin Pool <mbp@samba.org> 27804 27805 * src/distcc.c: Cope properly when not running cpp. 27806 278072002-04-28 20:35 Martin Pool <mbp@samba.org> 27808 27809 * src/: clinet.c, distcc.h: Add code to cork a socket 27810 278112002-04-28 20:26 Martin Pool <mbp@samba.org> 27812 27813 * src/: exec.c, rpc.c: Better trace 27814 278152002-04-28 20:15 Martin Pool <mbp@samba.org> 27816 27817 * src/: daemon.c, distcc.c: Fiddle debug and tempfile stuff to 27818 better support debugging. 27819 278202002-04-28 20:13 Martin Pool <mbp@samba.org> 27821 27822 * src/README: Some initial numbers on performance building rsync. 27823 278242002-04-28 19:38 Martin Pool <mbp@samba.org> 27825 27826 * src/clinet.c: Fix messages 27827 278282002-04-28 19:31 Martin Pool <mbp@samba.org> 27829 27830 * src/io.c: Quieten trace 27831 278322002-04-28 19:27 Martin Pool <mbp@samba.org> 27833 27834 * src/: distcc.c, distcc.h, exec.c, util.c, util.h: Show program 27835 and hostname in completion message. 27836 278372002-04-28 19:19 Martin Pool <mbp@samba.org> 27838 27839 * src/io.c: Fix nasty bug that caused us to read much more than we 27840 wanted. 27841 278422002-04-28 19:16 Martin Pool <mbp@samba.org> 27843 27844 * src/rpc.c: More trace 27845 278462002-04-28 19:16 Martin Pool <mbp@samba.org> 27847 27848 * src/daemon.c: Fix tempfile names. 27849 278502002-04-28 19:07 Martin Pool <mbp@samba.org> 27851 27852 * src/distcc.c: Better messages. 27853 278542002-04-28 19:04 Martin Pool <mbp@samba.org> 27855 27856 * src/where.c: Typo. 27857 278582002-04-28 19:03 Martin Pool <mbp@samba.org> 27859 27860 * src/tempfile.c: Better error message. 27861 278622002-04-28 19:02 Martin Pool <mbp@samba.org> 27863 27864 * src/: clinet.c, distcc.c, distcc.h: Actually try to use a random 27865 remote host. 27866 278672002-04-28 18:58 Martin Pool <mbp@samba.org> 27868 27869 * src/where.c: Add routine to pick a random build host 27870 278712002-04-28 18:58 Martin Pool <mbp@samba.org> 27872 27873 * src/trace.h: Add rs_log_warning 27874 278752002-04-28 18:57 Martin Pool <mbp@samba.org> 27876 27877 * src/io.c: Quieten warning 27878 278792002-04-28 18:55 Martin Pool <mbp@samba.org> 27880 27881 * src/README: Doc 27882 278832002-04-28 17:02 Martin Pool <mbp@samba.org> 27884 27885 * src/rpc.c: dcc_x_file: If a file does not exist, send it as empty 27886 rather than aborting. 27887 278882002-04-28 17:00 Martin Pool <mbp@samba.org> 27889 27890 * src/distcc.c: If the remote compiler fails, we don't need to try 27891 again locally. (Actually, we might want to, but don't worry 27892 about that for now.) 27893 278942002-04-28 16:55 Martin Pool <mbp@samba.org> 27895 27896 * src/: distcc.c, rpc.c, rpc.h: Receive and display remote 27897 stdout/stderr. 27898 278992002-04-28 16:52 Martin Pool <mbp@samba.org> 27900 27901 * src/daemon.c: Capture and send compiler's stdout/stderr. 27902 279032002-04-28 16:47 Martin Pool <mbp@samba.org> 27904 27905 * src/: daemon.c, distcc.c, distcc.h, exec.c, util.c, util.h: Get 27906 ready for catching compiler stdout/stderr. 27907 279082002-04-28 15:20 Martin Pool <mbp@samba.org> 27909 27910 * src/distcc.c: Show proto ver in version info. 27911 279122002-04-28 15:19 Martin Pool <mbp@samba.org> 27913 27914 * src/: clinet.c, distcc.c, daemon.c: Doc. 27915 279162002-04-28 15:15 Martin Pool <mbp@samba.org> 27917 27918 * src/: GNUmakefile, where.c: Add where.c 27919 279202002-04-28 15:14 Martin Pool <mbp@samba.org> 27921 27922 * src/: README, distcc.c, distcc.h, exec.c: Run cpp in background 27923 while trying to connect. 27924 279252002-04-28 15:13 Martin Pool <mbp@samba.org> 27926 27927 * src/GNUmakefile: Should use CFLAGS to link too 27928 279292002-04-28 13:22 Martin Pool <mbp@samba.org> 27930 27931 * src/distcc.c: Better message when compiler fails. 27932 279332002-04-28 13:19 Martin Pool <mbp@samba.org> 27934 27935 * src/: distcc.c, distcc.h, exec.c: Get ready for async subcommands 27936 279372002-04-28 13:14 Martin Pool <mbp@samba.org> 27938 27939 * src/arg.c: Better message 27940 279412002-04-28 13:12 Martin Pool <mbp@samba.org> 27942 27943 * src/: GNUmakefile, arg.c, clinet.c, daemon.c, distcc.c, distcc.h, 27944 io.h, tempfile.c, util.c: More splint-based checks 27945 279462002-04-28 12:37 Martin Pool <mbp@samba.org> 27947 27948 * src/tempfile.c: Check permissions on temporary dir 27949 279502002-04-28 12:33 Martin Pool <mbp@samba.org> 27951 27952 * src/tempfile.c: Automatically set up temp dir when needed 27953 27954 Fix temp dir permissions 27955 279562002-04-28 12:32 Martin Pool <mbp@samba.org> 27957 27958 * src/GNUmakefile: Turn off dynamic dependencies for the moment 27959 279602002-04-28 12:29 Martin Pool <mbp@samba.org> 27961 27962 * src/: GNUmakefile, arg.c, clinet.c, daemon.c, distcc.c, io.c, 27963 io.h, rpc.c, trace.c, trace.h, util.c: Splint codeups 27964 279652002-04-28 12:16 Martin Pool <mbp@samba.org> 27966 27967 * src/trace.h: Remove broken non-gcc stuff 27968 279692002-04-28 12:15 Martin Pool <mbp@samba.org> 27970 27971 * src/GNUmakefile: Add SPLINT target 27972 279732002-04-28 12:08 Martin Pool <mbp@samba.org> 27974 27975 * src/: distcc.h, tempfile.c: Add routine to cleanup temporary 27976 files. 27977 279782002-04-28 12:03 Martin Pool <mbp@samba.org> 27979 27980 * src/: daemon.c, distcc.c, distcc.h, io.c, tempfile.c: Better 27981 (secure?) temporary name routine. 27982 279832002-04-28 12:03 Martin Pool <mbp@samba.org> 27984 27985 * src/arg.c: Doc 27986 279872002-04-25 20:03 Martin Pool <mbp@samba.org> 27988 27989 * src/distcc.c: Doc. 27990 279912002-04-25 20:00 Martin Pool <mbp@samba.org> 27992 27993 * src/io.c: Use a larger copy buffer. 27994 279952002-04-25 19:59 Martin Pool <mbp@samba.org> 27996 27997 * src/distcc.c: Be quiet by default 27998 279992002-04-25 19:32 Martin Pool <mbp@samba.org> 28000 28001 * src/: arg.c, daemon.c: Fix filename substitution code. 28002 280032002-04-25 19:26 Martin Pool <mbp@samba.org> 28004 28005 * src/arg.c: Fix message 28006 280072002-04-25 19:24 Martin Pool <mbp@samba.org> 28008 28009 * src/: daemon.c, exec.c, io.c, io.h: Split out code for reading 28010 length-preceded strings. 28011 280122002-04-25 19:11 Martin Pool <mbp@samba.org> 28013 28014 * src/daemon.c: Properly nul-terminate argv strings 28015 280162002-04-25 19:07 Martin Pool <mbp@samba.org> 28017 28018 * src/distcc.h: Fix header 28019 280202002-04-25 19:05 Martin Pool <mbp@samba.org> 28021 28022 * src/: daemon.c, distcc.h: Drop job structure altogether. 28023 28024 The server no longer needs to use the client's argument parsing 28025 system. 28026 280272002-04-25 19:00 Martin Pool <mbp@samba.org> 28028 28029 * src/: arg.c, distcc.h: Drop dead code 28030 280312002-04-25 18:57 Martin Pool <mbp@samba.org> 28032 28033 * src/rpc.c: Better log 28034 280352002-04-25 18:56 Martin Pool <mbp@samba.org> 28036 28037 * src/: io.h, rpc.c: Rename to dcc_r_token 28038 280392002-04-25 18:54 Martin Pool <mbp@samba.org> 28040 28041 * src/io.c: IO errors need not cause us to abort. 28042 280432002-04-25 18:52 Martin Pool <mbp@samba.org> 28044 28045 * src/daemon.c: Generate our slightly more proper temporary names. 28046 280472002-04-25 18:51 Martin Pool <mbp@samba.org> 28048 28049 * src/trace.h: Add rs_log_critical convenience. 28050 280512002-04-25 18:48 Martin Pool <mbp@samba.org> 28052 28053 * src/io.c: dcc_expect_token: check expected token is sane, and if 28054 read fails then say what we were hoping for 28055 280562002-04-25 18:44 Martin Pool <mbp@samba.org> 28057 28058 * src/trace.c: Show pid in log messages. 28059 280602002-04-25 18:43 Martin Pool <mbp@samba.org> 28061 28062 * src/: arg.c, distcc.h: Add dcc_set_input 28063 280642002-04-25 18:37 Martin Pool <mbp@samba.org> 28065 28066 * src/: arg.c, daemon.c, distcc.c, distcc.h, rpc.c, rpc.h: Clean 28067 argc, argv, wait status stuff out of job structure. 28068 280692002-04-25 18:28 Martin Pool <mbp@samba.org> 28070 28071 * src/arg.c: Better log messages from arg scanner 28072 280732002-04-25 18:18 Martin Pool <mbp@samba.org> 28074 28075 * src/distcc.c: Actually go ahead and run cpp if necessary. 28076 280772002-04-25 18:07 Martin Pool <mbp@samba.org> 28078 28079 * src/exec.c: Doc. 28080 280812002-04-25 18:06 Martin Pool <mbp@samba.org> 28082 28083 * src/: daemon.c, distcc.h, exec.c: Cleanup dcc_run_child 28084 280852002-04-25 18:01 Martin Pool <mbp@samba.org> 28086 28087 * src/: arg.c, distcc.h, exec.c: Show whole command being executed. 28088 280892002-04-25 17:50 Martin Pool <mbp@samba.org> 28090 28091 * src/distcc.c: log message 28092 280932002-04-25 17:42 Martin Pool <mbp@samba.org> 28094 28095 * src/GNUmakefile: Sketchy routines to build temporary filenames 28096 280972002-04-25 17:38 Martin Pool <mbp@samba.org> 28098 28099 * src/tempfile.c: Sketchy routines to build temporary filenames 28100 281012002-04-25 17:38 Martin Pool <mbp@samba.org> 28102 28103 * src/distcc.c: Get closer to running cpp locally 28104 281052002-04-25 17:37 Martin Pool <mbp@samba.org> 28106 28107 * src/: arg.c, distcc.h: Add more argv[] utilities 28108 281092002-04-25 17:09 Martin Pool <mbp@samba.org> 28110 28111 * src/arg.c: Fix harmless glitch. Better message. 28112 281132002-04-25 17:07 Martin Pool <mbp@samba.org> 28114 28115 * src/util.c: Fix inverted sense in str_startswith 28116 281172002-04-25 16:59 Martin Pool <mbp@samba.org> 28118 28119 * src/: arg.c, daemon.c, distcc.c, distcc.h, exec.c: Prepare to run 28120 preprocessor on client 28121 281222002-04-25 15:46 Martin Pool <mbp@samba.org> 28123 28124 * src/arg.c: Better handle the case of being passed a 28125 non-preprocessed file. 28126 281272002-04-25 14:12 Martin Pool <mbp@samba.org> 28128 28129 * src/arg.c: Fix headers. 28130 281312002-04-25 14:12 Martin Pool <mbp@samba.org> 28132 28133 * src/: util.c, util.h: Add str_startswith 28134 281352002-04-25 14:08 Martin Pool <mbp@samba.org> 28136 28137 * src/: distcc.c, distcc.h: Start adding support for running cpp 28138 ourselves before going across the network. 28139 281402002-04-25 14:07 Martin Pool <mbp@samba.org> 28141 28142 * src/daemon.c: Error out if we somehow get a request to run cpp on 28143 the server. 28144 281452002-04-25 14:04 Martin Pool <mbp@samba.org> 28146 28147 * src/arg.c: Parse out -o options; also work out whether we ought 28148 to call cpp. 28149 281502002-04-25 13:34 Martin Pool <mbp@samba.org> 28151 28152 * src/: arg.c, daemon.c, distcc.c, distcc.h: Start refactoring 28153 argument scanner. 28154 281552002-04-25 13:15 Martin Pool <mbp@samba.org> 28156 28157 * src/rpc.c: Must truncate temp file as we start receiving. 28158 281592002-04-25 12:00 Martin Pool <mbp@samba.org> 28160 28161 * src/GNUmakefile: Doc. 28162 281632002-04-25 11:59 Martin Pool <mbp@samba.org> 28164 28165 * src/: GNUmakefile, Makefile: The dependency stuff in the makefile 28166 current requires GNU Make, so change the filename to reflect 28167 that. 28168 281692002-04-25 01:33 Martin Pool <mbp@samba.org> 28170 28171 * src/: daemon.c, distcc.c, io.c, rpc.c, rpc.h: client now receives 28172 DOTO file from the server and stores it in the destination 28173 281742002-04-25 01:23 Martin Pool <mbp@samba.org> 28175 28176 * src/: daemon.c, distcc.c, io.c, io.h, rpc.c, rpc.h: Send back 28177 compiler wait-status and .o file 28178 281792002-04-25 01:11 Martin Pool <mbp@samba.org> 28180 28181 * src/: daemon.c, distcc.c, rpc.c, rpc.h: Client now waits for the 28182 start of the response from the server 28183 281842002-04-25 01:11 Martin Pool <mbp@samba.org> 28185 28186 * src/Makefile: Add rpc.c 28187 28188 Make clean cleans .d files 28189 281902002-04-25 00:27 Martin Pool <mbp@samba.org> 28191 28192 * src/: distcc.h, exec.c: Examine and remember the cc exit code. 28193 281942002-04-25 00:18 Martin Pool <mbp@samba.org> 28195 28196 * src/: daemon.c, distcc.c, distcc.h, exec.c, io.h: Server now 28197 starts sending a response back. 28198 281992002-04-25 00:04 Martin Pool <mbp@samba.org> 28200 28201 * src/: arg.c, daemon.c, distcc.c, distcc.h: Improve server-side 28202 argument argument parsing 28203 282042002-04-24 23:52 Martin Pool <mbp@samba.org> 28205 28206 * src/arg.c: Better debug for server-side substitution 28207 282082002-04-24 23:44 Martin Pool <mbp@samba.org> 28209 28210 * src/util.c: fix file-style 28211 282122002-04-24 23:44 Martin Pool <mbp@samba.org> 28213 28214 * src/distcc.c: message when sending is complete 28215 282162002-04-24 23:43 Martin Pool <mbp@samba.org> 28217 28218 * src/: daemon.c, util.h: redirect stderr to prevent fouling socket 28219 282202002-04-24 23:30 Martin Pool <mbp@samba.org> 28221 28222 * src/distcc.c: Clean up; add error checks. 28223 282242002-04-24 23:30 Martin Pool <mbp@samba.org> 28225 28226 * src/clinet.c: Clean up imported code, and in particular log 28227 messages 28228 282292002-04-24 23:29 Martin Pool <mbp@samba.org> 28230 28231 * src/arg.c: Fix comment 28232 282332002-04-24 23:29 Martin Pool <mbp@samba.org> 28234 28235 * src/Makefile: Store version in Makefile 28236 282372002-04-24 23:17 Martin Pool <mbp@samba.org> 28238 28239 * src/clinet.c: Copy in network code from rsync. Currently 28240 hardcoded to localhost:4200. 28241 282422002-04-24 18:05 Martin Pool <mbp@samba.org> 28243 28244 * src/: .cvsignore, Makefile, clinet.c, distcc.c, distcc.h: Start 28245 changes to connect across the network rather than dumping to a 28246 file. 28247 282482002-04-24 16:29 Martin Pool <mbp@samba.org> 28249 28250 * src/distcc.c: Doc 28251 282522002-04-24 16:13 Martin Pool <mbp@samba.org> 28253 28254 * src/: Makefile, arg.c, daemon.c, distcc.c, distcc.h, exec.c, 28255 io.c: daemon will now actually compile programs 28256 282572002-04-24 00:51 Martin Pool <mbp@samba.org> 28258 28259 * src/: daemon.c, distcc.c, distcc.h, exec.c, io.c, io.h: Make the 28260 server receive the .i file into a temporary file. 28261 282622002-04-24 00:50 Martin Pool <mbp@samba.org> 28263 28264 * src/Makefile: Fix 'make clean' 28265 282662002-04-24 00:49 Martin Pool <mbp@samba.org> 28267 28268 * src/.cvsignore: Ignore any .i files that might be around 28269 282702002-04-24 00:21 Martin Pool <mbp@samba.org> 28271 28272 * src/: Makefile, distcc.c, distcc.h, exec.c: Split out code to run 28273 the compiler 28274 282752002-04-24 00:10 Martin Pool <mbp@samba.org> 28276 28277 * src/: README, daemon.c, distcc.c, distcc.h, io.c, io.h, trace.h: 28278 Server now reads argv from network. 28279 282802002-04-23 17:37 Martin Pool <mbp@samba.org> 28281 28282 * src/: daemon.c, distcc.c, distcc.h, io.c: Start adding code to 28283 let the daemon read requests. 28284 282852002-04-23 16:39 Martin Pool <mbp@samba.org> 28286 28287 * src/io.c: Split out more common code. 28288 28289 Send the bulk of the file. 28290 28291 Add a no-op distccd. 28292 282932002-04-23 16:33 Martin Pool <mbp@samba.org> 28294 28295 * src/: .cvsignore, Makefile, daemon.c, distcc.c, distcc.h: Split 28296 out more common code. 28297 28298 Send the bulk of the file. 28299 28300 Add a no-op distccd. 28301 283022002-04-23 14:55 Martin Pool <mbp@samba.org> 28303 28304 * src/: .cvsignore, Makefile, distcc.c, distcc.h, trace.c, util.c: 28305 Split utilities into their own file 28306 283072002-04-23 14:44 Martin Pool <mbp@samba.org> 28308 28309 * src/distcc.c: Add framework for sending requests to server, but 28310 just send them to a tmpfile instead. 28311 283122002-04-23 14:24 Martin Pool <mbp@samba.org> 28313 28314 * src/distcc.c: Put arguments into a jobinfo_t struct. 28315 283162002-04-23 14:14 Martin Pool <mbp@samba.org> 28317 28318 * src/distcc.c: Try to detect .i and .o files 28319 283202002-04-23 13:47 Martin Pool <mbp@samba.org> 28321 28322 * src/distcc.c: Handle empty command line. 28323 283242002-04-23 13:25 Martin Pool <mbp@samba.org> 28325 28326 * src/.cvsignore: Ignore built files 28327 283282002-04-23 13:24 Martin Pool <mbp@samba.org> 28329 28330 * src/: trace.c, trace.h: Copy trace routines from librsync 28331 283322002-04-23 13:22 Martin Pool <mbp@samba.org> 28333 28334 * src/: distcc.c, .cvsignore, HACKING, Makefile: Copy very simple 28335 code into public samba cvs 28336