Overview
Comment: | Add comments and robustify error logging. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
54f7833d58e394d1b72c390a4f8452d4 |
User & Date: | mistachkin on 2016-08-15 18:45:36 |
Other Links: | manifest | tags |
Context
2016-08-15
| ||
19:46 | The ampersand character needs to be unescaped in the returned data from the package server. check-in: 306c8151d8 user: mistachkin tags: trunk | |
18:45 | Add comments and robustify error logging. check-in: 54f7833d58 user: mistachkin tags: trunk | |
18:30 | Add support for hooking the 'package unknown' handler in both Tcl and Eagle. check-in: 3bc512e10f user: mistachkin tags: trunk | |
Changes
Modified client/pkgr.eagle from [051495fc84] to [7dbde3e417].
︙ | |||
454 455 456 457 458 459 460 461 462 463 464 | 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 | + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + - - - + + + + + + + + | error "package unknown handler is not hooked" } package unknown [set $varName] unset $varName } # # NOTE: This version argument to this procedure must be optional, because # Eagle does not add a version argument when one is not supplied to # the [package require] sub-command itself. # proc packageUnknownHandler { package {version ""} } { if {[catch {main $package $version} error(1)] == 0} then { # # NOTE: Success? Just return and let Tcl (or Eagle) handle the # rest. # return } else { # # NOTE: Failure? Attempt to log the error message and then maybe # try the original [package unknown] handler. # catch { |
︙ |
Modified client/pkgr.eagle.harpy from [c88d48d019] to [f9b6a94173].
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | - + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + | THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED. --> <Certificate xmlns="https://eagle.to/2011/harpy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Protocol>None</Protocol> <Vendor>Mistachkin Systems</Vendor> |