This file is indexed.

/usr/share/doc/python-circuits-doc/html/changes.html is in python-circuits-doc 2.1.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>ChangeLog &mdash; circuits 2.1.0 documentation</title>
    
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '2.1.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="circuits 2.1.0 documentation" href="index.html" />
    <link rel="next" title="Users" href="users.html" />
    <link rel="prev" title="Development Processes" href="dev/processes.html" />
 
<script type="text/javascript" src=""></script>
<script type="text/javascript">
(function($) {
    if (!django_template_builtins) {
       // templatebuiltins.js missing, do nothing.
       return;
    }
    $(document).ready(function() {
        // Hyperlink Django template tags and filters
        var base = "ref/templates/builtins.html";
        if (base == "#") {
            // Special case for builtins.html itself
            base = "";
        }
        // Tags are keywords, class '.k'
        $("div.highlight\\-html\\+django span.k").each(function(i, elem) {
             var tagname = $(elem).text();
             if ($.inArray(tagname, django_template_builtins.ttags) != -1) {
                 var fragment = tagname.replace(/_/, '-');
                 $(elem).html("<a href='" + base + "#" + fragment + "'>" + tagname + "</a>");
             }
        });
        // Filters are functions, class '.nf'
        $("div.highlight\\-html\\+django span.nf").each(function(i, elem) {
             var filtername = $(elem).text();
             if ($.inArray(filtername, django_template_builtins.tfilters) != -1) {
                 var fragment = filtername.replace(/_/, '-');
                 $(elem).html("<a href='" + base + "#" + fragment + "'>" + filtername + "</a>");
             }
        });
    });
})(jQuery);
</script>

  </head>
  <body>

    <div class="document">
  <div id="custom-doc" class="yui-t6">
    <div id="hd">
      <h1><a href="index.html">circuits 2.1.0 documentation</a></h1>
      <div id="global-nav">
        <a title="Home page" href="index.html">Home</a>  |
        <a title="Global index" href="genindex.html">Index</a>  |
        <a title="Module index" href="py-modindex.html">Modules</a>
      </div>
      <div class="nav">
    &laquo; <a href="dev/processes.html" title="Development Processes">previous</a> 
     |
    <a title="circuits 2.1.0 documentation" href="index.html" accesskey="U">up</a>
   |
    <a href="users.html" title="Users">next</a> &raquo;</div>
    </div>
    
    <div id="bd">
      <div id="yui-main">
        <div class="yui-b">
          <div class="yui-g" id="changes">
            
  <div class="section" id="changelog">
<span id="changes"></span><h1>ChangeLog<a class="headerlink" href="#changelog" title="Permalink to this headline"></a></h1>
<div class="section" id="circuits-2-1-0-20130224-release">
<h2>circuits-2.1.0 20130224 (&lt;release&gt;)<a class="headerlink" href="#circuits-2-1-0-20130224-release" title="Permalink to this headline"></a></h2>
<div class="section" id="features">
<h3>Features<a class="headerlink" href="#features" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>Added IPv6 Support [#39987887]</li>
<li>Document and Comment all Examples [#40112459]</li>
<li>Update WebSockets dispatcher in circuits.web [40064247]</li>
<li>Component Event Handlers Property [#41573841]</li>
<li>Component targeting performance [#41644031]</li>
<li>Multi-App WSGI Gateway [#40071339]</li>
<li>More efficient timer implementation [#43700669]</li>
</ul>
</div>
<div class="section" id="bugs">
<h3>Bugs<a class="headerlink" href="#bugs" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>Fix the broken links in the Users page [#40063597]</li>
<li>circuits.tools.inspect shows incorrect ticks [#41650961]</li>
<li>Race Condition with call/wait primitives [#41643711]</li>
<li>RESTful Dispatcher [#41643773]</li>
<li>Fix Component instance targeting [#41644025]</li>
<li>Worker Processes [#41643831]</li>
<li>Make examples/web/sslserver.py work again [42007509]</li>
<li>Value instance in body [43287263]</li>
</ul>
</div>
<div class="section" id="chores">
<h3>Chores<a class="headerlink" href="#chores" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>Import shadowing in manager.py [#41644023]</li>
<li>Run the codebase through flake8 [#41651093]</li>
<li>URL Quoting Unit Test [#41882655]</li>
<li>SSL Unit Test [#42849393]</li>
<li>Python 3.x Support [43027337]</li>
<li>Fill out FAQ in Docs [#43389199]</li>
<li>Write Developer Docs [#43389193]</li>
</ul>
</div>
<div class="section" id="other-changes">
<h3>Other Changes<a class="headerlink" href="#other-changes" title="Permalink to this headline"></a></h3>
<p>A list of other changes we forgot to track :)</p>
<ul>
<li><p class="first">Fixed latency timing for circuits.bench on win32</p>
</li>
<li><p class="first">Updated the URL for ReadTheDocs</p>
</li>
<li><p class="first">Updated the Getting Started / Downloading documentation to
say something about the Tags tab for downloading archives.</p>
</li>
<li><p class="first">Removed unused import in <tt class="docutils literal"><span class="pre">circuits.app.env</span></tt></p>
</li>
<li><p class="first">Added some documentation about how HTTP requests are handled.</p>
</li>
<li><p class="first">Removed unused code</p>
</li>
<li><p class="first">A simple chat server implementation (Examples)</p>
</li>
<li><p class="first">Fixed a bug with Manager.processTasks and Error event firing.
handler was not being set correctly</p>
</li>
<li><p class="first">Fixes wrong variable names in sockets.py</p>
</li>
<li><p class="first">Fixed an UnboundLocalError bug</p>
</li>
<li><p class="first">Expect the original method to be passed as input to <tt class="docutils literal"><span class="pre">Manager.removeHandler</span></tt>
<tt class="docutils literal"><span class="pre">Manager.addHandler</span></tt> now returns a reference to the original method.</p>
</li>
<li><p class="first">Guard against a None _sock or non-existent _sock object.</p>
</li>
<li><p class="first">Allow a custom host, port and secure option to be passed
to the connect event handler of circuits.web.client.Client</p>
</li>
<li><p class="first">Redesigned tests/web/conftest.py with newer pytest APIs using
<tt class="docutils literal"><span class="pre">&#64;pytest.fixture(...)</span></tt></p>
</li>
<li><p class="first">Experimental new Watcher/Manager fixtures</p>
</li>
<li><p class="first">Docs for Fallback generator</p>
</li>
<li><p class="first">Removing the concept of _ticks, &#64;tick and friends</p>
</li>
<li><p class="first">Fixes timers</p>
</li>
<li><p class="first">Reimplemented circuits.io.File as per circuits.net.sockets</p>
</li>
<li><p class="first">Re-implemented Notify Component and fixed test</p>
</li>
<li><p class="first">Reworked Notifier Component to be more async friendly</p>
</li>
<li><p class="first">Fixed a bug with the repr of Manager and thus Components with non-str channels. eg: (1, 1)</p>
</li>
<li><p class="first">Added a unit test for generate_events handler</p>
</li>
<li><p class="first">Fixed terminal example demonstrating Streaming with circuits.web</p>
</li>
<li><p class="first">Fixed index page for terminal web example</p>
</li>
<li><p class="first">Added an Open event to File</p>
</li>
<li><p class="first">Fixed a bug with the static dispatcher for circuits.web whereby
the path was not being unquoted</p>
</li>
<li><p class="first">Fixed a bug with the static circuits.web dispatcher whereby directory
listing did not quote urls</p>
</li>
<li><p class="first">Added simple examples demonstrating circuits&#8217; primitives</p>
</li>
<li><p class="first">Added example of .fire(...) primitive</p>
</li>
<li><p class="first">Restructured circuits.io and implemented circuits.io.Process with unit test</p>
</li>
<li><p class="first">Added Hello World example</p>
</li>
<li><p class="first">Made components started in process mode not link by default.
Have to explicitly set the kwarg <tt class="docutils literal"><span class="pre">link=component_instance</span></tt>.</p>
</li>
<li><p class="first">Fixed raising of <tt class="docutils literal"><span class="pre">SystemExit</span></tt> or <tt class="docutils literal"><span class="pre">KeyboardInterrupt</span></tt>.</p>
</li>
<li><p class="first">Modified the way caching works with the Static dispatcher</p>
</li>
<li><p class="first">Brought back the <tt class="docutils literal"><span class="pre">circuits.core.bridge.Bridge</span></tt>.
With it better inter-process communications via high-speed full duplex pipes
using <tt class="docutils literal"><span class="pre">circuits.net.sockets.Pipe</span></tt> (UNIX Only), a much simpler API.</p>
<p>In addition, a change to the way Value Notification works. .notify of an
event instance can either be True or a channel to send the ValueChanged
event to.</p>
</li>
<li><p class="first">Added timers examples resurrected from old circuits</p>
</li>
<li><p class="first">Global handlers and component targeting
Global handlers would be ignored when using component targeting.</p>
<p>This patch considers them. To do this, we have added an extra property
to managers.</p>
<p>You can use traverse_children_handlers to increase performance when you have
a huge number of components. Put the components that are only meant to be
used with component targeting  under a single component. The hierarchy
looks like this:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">Root</span> <span class="o">-&gt;</span> <span class="n">Umbrella</span> <span class="n">Component</span> <span class="o">-&gt;</span> <span class="n">Component</span> <span class="mi">1</span><span class="p">,</span> <span class="n">Component</span> <span class="mi">2</span><span class="p">,</span> <span class="n">Component</span> <span class="mi">3</span><span class="p">,</span> <span class="o">...</span>
     <span class="o">-&gt;</span> <span class="n">Debugger</span><span class="p">()</span>
     <span class="o">-&gt;</span> <span class="n">etc</span>
</pre></div>
</div>
</li>
<li><p class="first">Set Umbrella Component traverse_children_handlers to false to prevent
traversing the huge number of children components.</p>
</li>
<li><p class="first">Fixed Connection header interpretation.</p>
</li>
<li><p class="first">Updated documentation for WebSocket.</p>
</li>
<li><p class="first">Removed pool - covered by worker</p>
</li>
<li><p class="first">Fixed dispatchers return value.</p>
</li>
<li><p class="first">Firing Connect event when a web socket connection is established to make
behavior look even more like ordinary sockets.</p>
</li>
<li><p class="first">Nuked <tt class="docutils literal"><span class="pre">&#64;future</span></tt> decorator due to pickling problems for processes.</p>
</li>
<li><p class="first">Allow coroutine-style tasks to terminate the system via raise
of <tt class="docutils literal"><span class="pre">SystemExit</span></tt> or <tt class="docutils literal"><span class="pre">KeyboardInterrupt</span></tt></p>
</li>
<li><p class="first">Dropping events unnoticed when waiting is definitely a bad idea. Fixed.</p>
</li>
<li><p class="first">Clarification on implementing a GenerateEvents handler.</p>
</li>
<li><p class="first">Optimized GenerateEvents handling.</p>
</li>
<li><p class="first">Optimized management of FallbackGenerator.</p>
</li>
<li><p class="first">Fixed a problem with events being out of sequence when _fire
is called recursively. The fix exposes a problem with conftest.Waiter
(events getting lost because they are produced too fast, therefore queue
is increased). Reducing production rate will be in next commit.</p>
</li>
<li><p class="first">Small fix for new event queue handling.</p>
</li>
<li><p class="first">Fixed problem with handler cache update and concurrent event
handling/structure changes. This happens e.g. in unit tests when the
app is started and the test program adds or removes components concurrently.</p>
</li>
<li><p class="first">Optimized/clarified GenerateEvents implementation.</p>
</li>
<li><p class="first">One more concurrency problem fixed.</p>
</li>
<li><p class="first">Fixed generate events handler.</p>
</li>
<li><p class="first">Fixed bug with handler cache being always invalidated.
Avoid <tt class="docutils literal"><span class="pre">stop()</span></tt> acting as concurrent thread on <tt class="docutils literal"><span class="pre">_dispatcher()</span></tt></p>
</li>
<li><p class="first">Fixed payload length calculation in web sockets protocol.</p>
</li>
<li><p class="first">Some very small - but measurable - performance improvements.
Checking them in mainly because now no one else needs to think about
whether they have an effect.</p>
</li>
<li><p class="first">Fixed IPv6 socket tests for OSX and badly configured IPv6 networks</p>
</li>
<li><p class="first">Fixed ready handler for test_node</p>
</li>
<li><p class="first">Re-added an old revived example of an IRC Client integrating
the urwid curses library for the interface</p>
</li>
<li><p class="first">Added an example of using yield to perform cooperative multi-tasking
inside a request event handler</p>
</li>
<li><p class="first">Uses echo for test_process</p>
</li>
<li><p class="first">Fixes process stdout/stderr handling
Process was not waiting for all output from a process to have been
processed and resulted sometimes some of the process output being lost
while stopping.</p>
</li>
<li><p class="first">Added a fall back error handler, so problems aren&#8217;t discarded silently
any more.</p>
</li>
<li><p class="first">Fixed a TypeError being raised in the request handler for WebSockets
dispatcher</p>
</li>
<li><p class="first">Prevent the underlying TCPClient connect handler from inadvertently being
triggered by connect events being fired to the web client</p>
</li>
<li><p class="first">Added tox configuration file. Just run: <tt class="docutils literal"><span class="pre">tox</span></tt></p>
</li>
<li><p class="first">Configure tox to output junitxml</p>
</li>
<li><p class="first">Fixed the logic of path -&gt; wsgi dispatching in Gateway</p>
</li>
<li><p class="first">Fixed an awful bug with wrappers.Response whereby a default Content-Type was
always set regardless and didn&#8217;t allow anything else to set this.</p>
</li>
<li><p class="first">Fixed test_disps so it doesn&#8217;t use an existing port that&#8217;s in use.</p>
</li>
<li><p class="first">Added a missing piece of WSGI 1.0 functionality for wsgi.Gateway.
The <tt class="docutils literal"><span class="pre">write()</span></tt> callable</p>
</li>
<li><p class="first">Rewrite test_filer unit test.
Ensured EOF event is not triggered for files opened in a or + modes.</p>
</li>
<li><p class="first">Added simple examples demonstrating circuits&#8217; primitives</p>
</li>
<li><p class="first">Added example of .fire(...) primitive</p>
</li>
<li><p class="first">Restructured circuits.io and implemented circuits.io.Process with unit test</p>
</li>
<li><p class="first">Forgot to add test_process unit test</p>
</li>
<li><p class="first">Added Hello World example</p>
</li>
<li><p class="first">Fixed event handler for generate_events</p>
</li>
<li><p class="first">Implemented multiprocessing support with communication via full duplex pipes.
Fixed worker processes and added unit test</p>
</li>
<li><p class="first">Made components started in process mode not link by default.
Have to explicitly set the kwarg link=True</p>
</li>
<li><p class="first">Fixed process pools and added unit test</p>
</li>
<li><p class="first">Fixed name of method for handling inotify events -
conflicting with ._process of Manager/Component</p>
</li>
<li><p class="first">Renamed ._process to .__process so as to not conflict with Worker</p>
</li>
<li><p class="first">Fixed raising of SystemExit or KeyboardInterrupt</p>
</li>
<li><p class="first">Trying to fix sending/receiving of events and their values</p>
</li>
<li><p class="first">Fixed IPv6 address evaluation.</p>
</li>
<li><p class="first">WebSockets reimplemented as specified by RFC 6455.</p>
</li>
<li><p class="first">Modified the way caching works with the Statis dispatcher
and serve_file(...) function. Set Last-Modified instead of a
large Expires header.</p>
</li>
<li><p class="first">Marked as a Missing Feature - still being worked on.</p>
</li>
<li><p class="first">Brought back the <tt class="docutils literal"><span class="pre">circuits.core.bridge.Bridge</span></tt>.
With it better inter-process communications via high-speed full duplex pipes
using <tt class="docutils literal"><span class="pre">circuits.net.sockets.Pipe</span></tt> (UNIX Only), a much simpler API.</p>
<p>In addition, a chnage to the way Value Notification works. .notify of an
event instance can either be True or a channel to send the ValueChanged
event to.</p>
</li>
<li><p class="first">Causes errors. Wrong thing to do here.</p>
</li>
<li><p class="first">Use uuid4 for worker channels.</p>
</li>
<li><p class="first">Removed left over debugging code</p>
</li>
<li><p class="first">Added capability of components started in proces mode to
link to artbritrary managers other than themselves (if link=True)</p>
</li>
<li><p class="first">Added unit test for testing a component in process mode linked with
another parent system separately</p>
</li>
<li><p class="first">Added timers examples ressurected from old circuits</p>
</li>
<li><p class="first">Thread safety for watcher</p>
</li>
<li><p class="first">Reverts test_component_targeting.py</p>
</li>
<li><p class="first">Fixed Connection header interpretation.</p>
</li>
<li><p class="first">Updated documentation for WebSocket.</p>
</li>
<li><p class="first">Changed the way process linking works by not starting the parent in
thread mode.</p>
</li>
<li><p class="first">Fixes watcher test fixture</p>
</li>
<li><p class="first">Implemented .handlers() and re-implemented .handles(). [Delivers #41573841]</p>
</li>
<li><p class="first">Removed superfluous bridge test</p>
</li>
<li><p class="first">Fixed usage of .start starting Workers in process mode</p>
</li>
<li><p class="first">Better internal variable name</p>
</li>
<li><p class="first">Start worked either when the system starts or we are
regsitered to an already started system</p>
</li>
<li><p class="first">Implemented .handlers() correctly</p>
</li>
<li><p class="first">Set unique channels for the Pipe and Bridge when briding processes</p>
</li>
<li><p class="first">Removed. Going to reimplement all this</p>
</li>
<li><p class="first">Don&#8217;t cause a nastry fork bomb!</p>
</li>
<li><p class="first">Marked test_process_pool as skipping XXX: Broken Functionality</p>
</li>
<li><p class="first">Fixed sleeping when nothing to do adding needs_resume logic to the pollers</p>
</li>
<li><p class="first">Proposed new Worker Component &#8211; wrapping multiprocessing.Process</p>
</li>
<li><p class="first">Accidentla commit</p>
</li>
<li><p class="first">Trying to re-implement Pool...</p>
</li>
<li><p class="first">Marked some tests as broken</p>
</li>
<li><p class="first">Added support for both Process and Thread in Worker component with same API.</p>
</li>
<li><p class="first">Reverted changes to the task handler for Worker</p>
</li>
<li><p class="first">Removed .resume()</p>
</li>
<li><p class="first">Fixed some brokeness in future</p>
</li>
<li><p class="first">Trying to make &#64;future work with Worker in process mode</p>
</li>
<li><p class="first">Lock bench</p>
</li>
<li><p class="first">Switches worker to apply_async</p>
</li>
<li><p class="first">Allow the poller to sleep when tasks are running</p>
</li>
<li><p class="first">Use ThreadPool for worker threads</p>
</li>
<li><p class="first">Cleaned up Worker</p>
</li>
<li><p class="first">benchmark only branch</p>
</li>
<li><p class="first">Removed pool - covered by worker</p>
</li>
<li><p class="first">Workaround for Threadpool bug started from secondary threads</p>
</li>
<li><p class="first">Fixed dispatchers return value.</p>
</li>
<li><p class="first">Firing Connect event when a web socket connection is established to make
behavior look even more like ordinary sockets.</p>
</li>
<li><p class="first">Restored 2.0.1 GenerateEvents handling with minor enhancements to get
things working again.</p>
</li>
<li><p class="first">Nuked &#64;future decotator due to pickling problems for processes.</p>
</li>
<li><p class="first">Unmarked test as failing. Test now passes prefectly</p>
</li>
<li><p class="first">Allow coroutine-style tasks to terminate the system
via raise of SystemExit or KeyboardINterrupt</p>
</li>
<li><p class="first">Fixed SSL support for circuits.web [Delivers #42007509]</p>
</li>
<li><p class="first">Dropping events unnoticed when waiting is definitely a bad idea. Fixed.</p>
</li>
<li><p class="first">Clarification on implementing a GenerateEvents handler.</p>
</li>
<li><p class="first">Added missing import (timed wait with FallBackGenerator cannot have
worked for some time).</p>
</li>
<li><p class="first">Optimized GenerateEvents handling.</p>
</li>
<li><p class="first">Backed out of changeset 3413:98d0056ef18a</p>
</li>
<li><p class="first">Optimized management of FallbackGenerator.</p>
</li>
<li><p class="first">Fixed a problem with events being out of sequence when _fire is called
recursively. The fix exposes a problem with conftest.Waiter
(events getting lost because they are produced too fast,
therefore queue is increased). Reducing production rate will be in
next commit.</p>
</li>
<li><p class="first">Small fix for new event queue handling.</p>
</li>
<li><p class="first">Fixed problem with handler cache update and concurrent event
handling/structure changes. This happens e.g. in unit tests when the
app is started and the test program adds or removes components concurrently.</p>
</li>
<li><p class="first">Optimized/clarified GenerateEvents implementation.</p>
</li>
<li><p class="first">One more concurrency problem fixed.</p>
</li>
<li><p class="first">Fixed generate events handler.</p>
</li>
<li><p class="first">Fixed bug with handler cache being always invalidated.
Avoid stop() acting as concurrent thread on _dispatcher().</p>
</li>
<li><p class="first">Added unit test for url quoting of static files for the static
circuits.web dispatcher. [Delivers #41882655]</p>
</li>
<li><p class="first">Added unit test for secure circutis.web server. [Delivers #42849393]</p>
</li>
<li><p class="first">Fixed creation/registration/location of poller upon startup or registration</p>
</li>
<li><p class="first">Skip test_secure_server if ssl is not available</p>
</li>
<li><p class="first">Fixed payload length calculation in web sockets protocol.</p>
</li>
<li><p class="first">Some very small - but measurable - performance improvements.
Checking them in mainly because now no one else needs to think
about whether they have an effect.</p>
</li>
<li><p class="first">Fixed conflicting attribute.</p>
</li>
<li><p class="first">Added new .pid property to Manager fixing tests.core.test_bridge
- Broken by 70677b69bf05</p>
</li>
<li><p class="first">Fixed ipv6 socket tests for OSX and badly configured IPv6 networks</p>
</li>
<li><p class="first">Ugly fix for this test</p>
</li>
<li><p class="first">Fixed ready handler for test_node</p>
</li>
<li><p class="first">For some reason removing max_events in the Watcher fixture for esting
purposes fixes some tests on OSX</p>
</li>
<li><p class="first">Small sample to hopefully test for memory leaks :)</p>
</li>
<li><p class="first">Improved .handlers() to recursively return handlers of it&#8217;s subclasses
whilst filtering out private handlers (_.*)</p>
</li>
<li><p class="first">Use BaseComponent for convenience for non-handler methods</p>
</li>
<li><p class="first">Return a list of all handlers except handlers listneing to private events</p>
</li>
<li><p class="first">Left over print - oops :)</p>
</li>
<li><p class="first">Moved to examples/</p>
</li>
<li><p class="first">Re-added an old revived example of an IRC Client integrating the urwid
curses library for the interface</p>
</li>
<li><p class="first">Improved comment.</p>
</li>
<li><p class="first">Added multi-add support for Gateway web compnoent [Delivers #40071339]</p>
</li>
<li><p class="first">Fixed Python 3 compatibility for retrieving the .resumse() method.
Fixes Issue #35</p>
</li>
<li><p class="first">Removed unused StringIO import</p>
</li>
<li><p class="first">A bunch of Python 3.1 compatibility fixes (mostly import fixes)</p>
</li>
<li><p class="first">Added an example of using yield to perform cooperative multi-tasking
inside a request event handler</p>
</li>
<li><p class="first">Uses echo for test_process</p>
</li>
<li><p class="first">Fixes process stdout/stderr handling
Process was not waiting for all output from a process to have been
processed and resulted sometimes some of the process output being lost
while stopping.</p>
</li>
<li><p class="first">A bunch more Python 3 fixes. Using the six module here.</p>
</li>
<li><p class="first">Added a fall back error handler, so problems aren&#8217;t discarded
silently any more.</p>
</li>
<li><p class="first">Ooops accidently committed this</p>
</li>
<li><p class="first">Fixed some Python 3 import issues</p>
</li>
<li><p class="first">More Python 3 fixes</p>
</li>
<li><p class="first">Fixed Python 3 issue with iterators</p>
</li>
<li><p class="first">Use range for Python 3 compatibility</p>
</li>
<li><p class="first">Fixed assertions for Python 3 compat</p>
</li>
<li><p class="first">Accidently commited a test with Debugger</p>
</li>
<li><p class="first">Fixed value_changed handler to check correctly for binary types
(Python 3 fixes)</p>
</li>
<li><p class="first">Python 3 fixes for string type checks</p>
</li>
<li><p class="first">Refactored for Python 3</p>
</li>
<li><p class="first">More Python 3 fixes. Marked the rest as Broken on Python 3</p>
</li>
<li><p class="first">Fixed broken web tests for Python 3 by wrapping the request
body in a TextIOWrapper for FieldStorage</p>
</li>
<li><p class="first">Fixed XML and JSON RPC Dispatchers for Python 3</p>
</li>
<li><p class="first">Replace .has_key() with in for Python 3 compatibility</p>
</li>
<li><p class="first">Fixed a TypeError being raised in the request handler for websockets
dispatcher</p>
</li>
<li><p class="first">Prevent the underlying TCPClient connect handler from inadvertently
being triggered by connec events being fired to the web client</p>
</li>
<li><p class="first">Unmarked as skipping. No longer broken on Python 3</p>
</li>
<li><p class="first">Finished cleaning up my code base.</p>
</li>
<li><p class="first">Removed some debugging junk I had forgotten to get rid of.</p>
</li>
<li><p class="first">Fixed File for Python 3 support adding optional encoding support</p>
</li>
<li><p class="first">Fixed Process for Python 3</p>
</li>
<li><p class="first">Ooops :/</p>
</li>
<li><p class="first">Fixed test_logger_Error for Python 3</p>
</li>
<li><p class="first">Fixed Bridge for Python 3</p>
</li>
<li><p class="first">Fixed Node for Python 3</p>
</li>
<li><p class="first">Added pytest.PYVER and Marked test_secure_server web test as Broken
on Python 3.2 (needs fixing)</p>
</li>
<li><p class="first">Marked a bunch of 3.2 and 3.3 specific tests that are broken with
these versions (needs looking into)</p>
</li>
<li><p class="first">Removed Broken on Python 3 marked - these tests now pass on 3.1 3.2 and 3.3</p>
</li>
<li><p class="first">Fixed SSL Sockets for Python 3.2/3.3 (Should do_handshake()
be executed in a thread?)</p>
</li>
<li><p class="first">Added tox configuration file. Just run: run</p>
</li>
<li><p class="first">Configure tox to output junitxml</p>
</li>
<li><p class="first">Fixed tox configuration</p>
</li>
<li><p class="first">Assuming localhost was incorrect. Sorry Mark :/</p>
</li>
<li><p class="first">Fixed test_logger for pypy</p>
</li>
<li><p class="first">Backed out changeset 7be64d8b6f7c</p>
</li>
<li><p class="first">Reconfigured tox settings</p>
</li>
<li><p class="first">Hopefully fixed tox.ini to detect jenkins</p>
</li>
<li><p class="first">Fixed tox.ini to work on jenkins (can&#8217;t seem to auto detect jenkins :/)</p>
</li>
<li><p class="first">Added tox config for checking documetnation</p>
</li>
<li><p class="first">Changed the output filename of xml resutls for docs env (tox)</p>
</li>
<li><p class="first">Added pytest-cov as a dep to the docs env (tox)</p>
</li>
<li><p class="first">Configured coverage to output xml output</p>
</li>
<li><p class="first">Removed ptest-cov dep from docs env (tox)</p>
</li>
<li><p class="first">Trying to fix the randomly failing test_node test.</p>
</li>
<li><p class="first">Ooops broke wait_for - fixed hopefully</p>
</li>
<li><p class="first">Backed out changeset 795712654602</p>
</li>
<li><p class="first">Backed out changeset 1ee04d5fb657</p>
</li>
<li><p class="first">Added ignore for generated junitxml output files</p>
</li>
<li><p class="first">Hopefully an improved unit test for node using the manager and watcher
fixtures.</p>
</li>
<li><p class="first">Updated with supported version of Python</p>
</li>
<li><p class="first">Fixed the logic of path -&gt; wsgi dispatching in Gateway</p>
</li>
<li><p class="first">Fixed an awful bug with wrappers.Response whereby
a default Content-Type was always set regardless and didn&#8217;t allow
anything else to set this.</p>
</li>
<li><p class="first">Fixed test_disps so it doesn&#8217;t use an existing port that&#8217;s in use.</p>
</li>
<li><p class="first">Added a missing piece of WSGI 1.0 functionality for wsgi.Gateway
&#8211; The write() callable</p>
</li>
<li><p class="first">Write bytes in this test</p>
</li>
<li><p class="first">Correctly handle unicode (I think)</p>
</li>
<li><p class="first">Fixed a bug with null responses from WSGI Applications
hosted by wsgi.Gateway. Empty class did not implement __nonzero__
for Python 2.x [Delivers #43287263]</p>
</li>
<li><p class="first">Remvoed pyinotify dep from tox config so Windows tests can run</p>
</li>
<li><p class="first">Skip test_unixserver for Windows</p>
</li>
<li><p class="first">Skip this test on Windows</p>
</li>
<li><p class="first">Skip these tests on Windows</p>
</li>
<li><p class="first">Skip this test on Windows</p>
</li>
<li><p class="first">Fixed test_tcp_bind for Windows</p>
</li>
<li><p class="first">Updated docs and re-added FAQ from old wiki
(updated slightly) [Delivers #43389199]</p>
</li>
<li><p class="first">Fixed bottom of FAQ</p>
</li>
<li><p class="first">Updated Change Log [#42945315]</p>
</li>
<li><p class="first">Updated Release Notes [#42945315]</p>
</li>
<li><p class="first">Fixed list of new changes for 2.1.0 release notes</p>
</li>
<li><p class="first">Updated Developet Docs</p>
</li>
<li><p class="first">Bumped version to 2.1.0</p>
</li>
<li><p class="first">More resource efficient timer implementation [Delivers #43700669].</p>
</li>
<li><p class="first">Fixed a problem with cLength being unknown if self.body == False.</p>
</li>
<li><p class="first">Test fails on shining panda py32 only. May be a race condition
(wait_for using same loop interval as timer interval).
Checking in for testing.</p>
</li>
<li><p class="first">Fixed problem with &#8220;Content-Length: 0&#8221; header not being generated for
empty responses.</p>
</li>
<li><p class="first">Backed out of changeset 3575:ece3ee5472ef, makes CI hang for unknown reason.</p>
</li>
<li><p class="first">Hopefully finally fixed problems with timer test on CI platform.</p>
</li>
<li><p class="first">Updated pypi classifier for circuits</p>
</li>
<li><p class="first">Fixed random problems with opening SSL socket.</p>
</li>
<li><p class="first">Fixed concurrence problem (doing reset() in event loop and calling unregister() concurrently).</p>
</li>
<li><p class="first">Modified test a bit to find out what happens in CI environment
(problem not reproducible in local py32).</p>
</li>
<li><p class="first">Calling headers.setdefault twice for the same name doesn&#8217;t make sense.</p>
</li>
<li><p class="first">Adapted test case to previous fix.</p>
</li>
<li><p class="first">Fixed problem with &#8220;Content-Length: 0&#8221; header not being generated
for empty responses.</p>
</li>
<li><p class="first">Fixed insecure usage of class variable.</p>
</li>
<li><p class="first">Reverted to old timer implementation. Cannot find bug in new version
that only occurs in CI/py32 environment (cannot be reproduced locally).</p>
</li>
<li><p class="first">Make sure that check runs faster than timer increments.</p>
</li>
<li><p class="first">Added missing Content-Length header (must be present according to RFC 2616).</p>
</li>
<li><p class="first">Provide a more informative representation.</p>
</li>
<li><p class="first">Fixed a docstring typo</p>
</li>
<li><p class="first">Just re-raise the exception here rather than hide it with
an InternalServer exception</p>
</li>
<li><p class="first">Potential failing test for [#43885227]</p>
</li>
<li><p class="first">Fixed problem with receiving incomplete header data (first chunk doesn&#8217;t
already include empty line that separates headers and body).</p>
</li>
<li><p class="first">Fixed problem with header not being detected if a chunk ends exactly after
rn of last header line and next chunk starts with empty line (rn)
before body.</p>
</li>
<li><p class="first">Fixes inconsisent semantic behavior in channel selection.</p>
</li>
<li><p class="first">Fixed expression for _handler_channel in Manager.getHandlers(...)</p>
</li>
<li><p class="first">Fixed (and simplified) handler_channel evaluation.</p>
</li>
<li><p class="first">Fixed channel representation for cases where channel is a component.</p>
</li>
<li><p class="first">Adapted prepare_unregister_complete handling to fixed semantics for
using managers as channels.</p>
</li>
<li><p class="first">Notifications are to be signaled to the given manager.
Now that using managers as channels works properly, it showed that hey
never were.</p>
</li>
<li><p class="first">Value change notifications are fired using Value&#8217;s manager as channel,
so mke sure to listen on that.</p>
</li>
<li><p class="first">Value&#8217;s notifications are fired on its manager component
&#8211; by default the component that fired the event the value belongs to.
Moved handler to proper place (is better place anyway).</p>
</li>
<li><p class="first">Encoding is necessary for this to succeed on py3.2
(urllib2 there doesn&#8217;t accept body of type str).</p>
</li>
<li><p class="first">Added missing files to manifest. [Delivers #44650895] (Closes Issue #36)</p>
</li>
<li><p class="first">Fixing encoding problems.</p>
</li>
<li><p class="first">Fixing py2/py3 problem by using bytearray as abviously the only
common denominator.</p>
</li>
<li><p class="first">multipart/form-data is binary. Boundaries are ASCII,
but data between boundaries may be anything (depending on part&#8217;s header)</p>
</li>
<li><p class="first">Trying to fix unicode issues</p>
</li>
<li><p class="first">Marked test_node as Broken on Windows - Pickling Error with thread.lock</p>
</li>
<li><p class="first">Trying to fix broken unit test on Windows</p>
</li>
<li><p class="first">Setup docs with Google Analyitics</p>
</li>
<li><p class="first">Marked test_tcp_connect_closed_port(...) as Broken on Windows
&#8211; Need to fix this; this test is a bit weird :/</p>
</li>
<li><p class="first">Marked test_tcp_reconnect(...) test as Broken on Windows</p>
</li>
<li><p class="first">Updated state of test_tcp_reconnect(...) test on Windows
&#8211; Apparently only Broken on Windows on Python 3.2 (odd)</p>
</li>
<li><p class="first">Fixed TypeError</p>
</li>
<li><p class="first">Marked as Broken on pypy
&#8211; For some reason we&#8217;re getting x00 (null bytes)
in the stream when using the Python std lib logger.</p>
</li>
<li><p class="first">Marked tests.core.test_debugger.test_filename(...) as Broken on pypy
&#8211; Need to investigate this</p>
</li>
<li><p class="first">Updated support platforms to include pypy</p>
</li>
</ul>
</div>
</div>
<div class="section" id="circuits-2-0-1-20121124">
<h2>circuits-2.0.1 20121124<a class="headerlink" href="#circuits-2-0-1-20121124" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Fixed <tt class="docutils literal"><span class="pre">tests/web/test_main.py</span></tt> which was badly written.</li>
<li>Fixed a regression test testing the Debugger component</li>
</ul>
</div>
<div class="section" id="circuits-2-0-0-20121122-cheetah">
<h2>circuits-2.0.0 20121122 (cheetah)<a class="headerlink" href="#circuits-2-0-0-20121122-cheetah" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Fixed circuits.web entry point</li>
<li>Fixed <cite>tools.reprhandler()</cite> for compatibility with Python-3.3</li>
<li>Added <tt class="docutils literal"><span class="pre">*channels</span></tt> support to waitEvent</li>
<li>Added example of using .call</li>
<li>Fixed logic around firing the Daemonize event when registering this component during run-time and after start-up</li>
<li>Fixed use of reprhandler</li>
<li>Fixed listening channel for exceptions/errors.</li>
<li>Fixed channels for Log event.</li>
<li>Fixed config loading. Fire a Ready event when the Environment is completely ready.</li>
<li>Added .items(...) method to Config component.</li>
<li>Added BaseEvent, LiteralEvent, DerivedEvent to the core and circuits name-spaces</li>
<li>Fixed IRC protocol</li>
<li>Added has_option to Config component</li>
<li>Avoid error if user un-registers a component twice.</li>
<li>Fixed base_url for WebConsole</li>
<li>Fixed bug with sending Response for a Expect: 100-continue (Closes issue #32)</li>
<li>Added a new circuits.web test that ensures that large posts &gt; 1024 bytes work</li>
<li>Updated conf so that doc can be built even if circuits isn&#8217;t installed</li>
<li>Updated reference of guide to howtos</li>
<li>Updated man headers so that they weren&#8217;t all &#8220;Components&#8221;</li>
<li>Fixed all web dispatcher tests</li>
<li>Fixed XMLRPC dispatcher. Must have a higher priority than the &#8220;default&#8221; dispatcher in order to coexist with it.</li>
<li>Fixed unit test for failure response from web <em>component</em> (component&#8217;s handler must have higher priority than default dispatcher if default dispatcher exists).</li>
<li>Added failure test for web <em>controller</em>.</li>
<li>Fixed JSON dispatcher. Must have a higher priority than the &#8220;default&#8221; dispatcher in order to coexist with it.</li>
<li>Fixed vpath traversal. vpath created in reverse (&#8220;test_args/1/2/3&#8221; became &#8220;3/2/1/test_args&#8221;).</li>
<li>Fixed evaluation of the Complete event: exclude events fired by other threads during event processing from the set of events to be tracked.</li>
<li>Don&#8217;t call tick on components that are waiting to be unregistered.</li>
<li>Using new PrepareUnregister event to reliably remove sockets from poller.</li>
<li>Fixes for PrepareUnregister and added test case.</li>
<li>Added event that informs components about going to be removed from the tree.</li>
<li>Fixed client request generation (MUST include Host header).</li>
<li>Fixed channel naming in web.Client to allow several clients (i.e. connections to web sites) to coexist in an application.</li>
<li>Prevented uncameling of event names that represent web requests. Handlers can now use the last path segment unmodified as handled event&#8217;s name.</li>
<li>Fixed the new dispatcher with new tests</li>
<li>Fixed bug in complete event generation.</li>
<li>Added optional event signaling the completion of an event and everything that has been caused by it.</li>
<li>Added the possibility to redirect the success events to other channels.</li>
<li>Updated documentation to reflect the new &#8220;handler suspend&#8221; feature.</li>
<li>Replaced web dispatcher with simpler version</li>
<li>Added support for x = yield self.callEvent(...)</li>
<li>Made test_main more reliable</li>
<li>Removed old BaseManager from playing with GreenletManager. Fixed test_manager_repr</li>
<li>Fixed the exceptions being thrown for test_eval, but the test still fails</li>
<li>Added a new failing test - evaluation of promised values</li>
<li>Removed superfluous .value in test_longwait</li>
<li>Added support for alllowing future handlers to have a &#8220;special&#8221; event parameter just like ordinary handlers.</li>
<li>Fixed test_success</li>
<li>Fixed test_removeHandler</li>
<li>Added support for firing Done() and Success() after all done executing.</li>
<li>Fixed callEvent</li>
<li>Added 2 failing tests for yield</li>
<li>Implemented promises which we detect for in circuits.web in cases where an event handler yields. Also only fire _success events after an event is well and truly finished (in the case of yielding event handlers)</li>
<li>Fixed a bug with value not being set</li>
<li>Fixed Issue #26</li>
<li>Added capability of waiting for a specific event name on a specific channel.</li>
<li>Fixed bug guarding  against tasks already removed.</li>
<li>Implemented Component.init() support whereby one can define an alternative init() without needing to remember to call super(...)</li>
<li>Fixed Python 3 compatibility with Unicode strings</li>
<li>Added 99bottles as an example of concurrency. See: <a class="reference external" href="http://wiki.python.org/moin/Concurrency/99Bottles">http://wiki.python.org/moin/Concurrency/99Bottles</a></li>
<li>Removed old-style channel targeting</li>
<li>Fixed and tested UDP forwarding</li>
<li>Simplified udpclient example</li>
<li>Implemented new version of port forwarded. TCP tested.</li>
<li>Fixed Read events for UDPServer by setting .notify to True.</li>
<li>Restructured the only How To Guide - Building a Simple Server</li>
<li>Renamed _get_request_handler to just find_handler</li>
<li>Removed channels attribute from WebEvents (fix for issue #29).</li>
<li>Added Eclipse configuration files.</li>
<li>Fixed uses of deprecated syntax in app.config</li>
<li>Modified the defaults for channels. Set channels to event.channels, otherwise self.channel defaulting to *</li>
<li>Fixed uses of deprecated syntax in env</li>
<li>Fixed a bug with the Redirect event/error in circuits.web where it didn&#8217;t handle Unicode strings</li>
<li>fixed the web dispatcher</li>
<li>Fixed test_poller_reuse test by using the now findtype() utility function</li>
<li>fixed and adds tests for the web dispatcher</li>
<li>Moved parseBody out into circuits.web.utils. Other code cleanup</li>
<li>Added a test for a bug with the dispatcher mehere found.</li>
<li>Removed itercmp() function. Added findtype() findchannel() and used better variable names. findcmp is an alias of findtype.</li>
<li>Implemented optional singleton support for components</li>
<li>Removed the circuits.web <cite>routes</cite> dispatcher as there are no tests for this and Routes dispatcher is broken - re implement at a later stage</li>
<li>Removal of End feedback event</li>
<li>Fixed web/test_value.py</li>
<li>Fixed web futures test</li>
<li>Simplified and fixed a lot of issues the circuits.bench</li>
<li>Fixed circuits.web&#8217;s exceptions tests and handling of exceptions.</li>
<li>Fixed a potential bug with <tt class="docutils literal"><span class="pre">circuits.web.wsgi.Application</span></tt>.</li>
<li>Modified Manager to only assign a handler return value if it is not None.</li>
<li>Fixed <tt class="docutils literal"><span class="pre">*_success</span></tt> and <tt class="docutils literal"><span class="pre">*_failure</span></tt> events fire on <tt class="docutils literal"><span class="pre">*event.channels</span></tt> so they go to the right place as expected. Fixed Issue #21</li>
<li>Removed event equality test and related tests. Seems rather useless and inconsistently used</li>
<li>Fixed test_gzip circuits.web test. We no longer have a Started event feedback so have to use a filter</li>
<li>Fixed a corner case where one might be trying to compare an event object with a non-event object</li>
<li>Fixed the event handling for circuits.web WebSockets Component by separating out the WebSockets handling from the HTTP handling (WebSocketsMediator).</li>
<li>Fixed use of Value notification in circuits.web for requests.</li>
<li>Fixed a bunch of examples and tests using deprecated features.</li>
<li>Fixed the notify io driver and removed Debugger() from test_notify.</li>
<li>Added man pages for circuits.bench, circuits.sniff and circuits.web</li>
<li>Wrapped UNIX-specific calls in try/except</li>
<li>Tidied up examples and removed unused imports</li>
<li>removed use of coverage module in daemon test</li>
<li>removed use of coverage module in signals test</li>
<li>updated .push calls to .fire calls</li>
<li>Fixed some deprecations warnings</li>
<li>Added support for multiple webserver with different channels + tests for it</li>
<li>Added support for silently ignoring  errors when writing to stderr from debugger</li>
<li>Added requirements.txt file containing requirements for building docs on readthedocs.org</li>
<li>Added link to Read the Docs for circuits</li>
<li>Updated doc message for success event</li>
<li>Fixed interrupt handler to allow ^C to be used to quit sample keyecho app</li>
<li>Removed deprecated modules and functions that were deprecated 1.6</li>
<li>Deleted old style event success/failure notifiers</li>
<li>Fixed handling of components being added/removed when looking for ticks</li>
<li>Fixed bug with <tt class="docutils literal"><span class="pre">net.Server</span></tt> .host and .port attributes.</li>
<li>Deprecated <tt class="docutils literal"><span class="pre">__tick__</span></tt>. Event handlers can now be specified as <strong>tick</strong> functions.</li>
<li>Fixed handler priority inheritance to make sure we get the results in the right harder</li>
<li>Fixed missing import of sys in circuits.io</li>
</ul>
</div>
<div class="section" id="circuits-1-6-oceans-20110626">
<h2>circuits-1.6 (oceans) - 20110626<a class="headerlink" href="#circuits-1-6-oceans-20110626" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Added Python 3 support</li>
<li>80% Code Coverage</li>
<li>Added optional greenlet support adding two new primitives.
<tt class="docutils literal"><span class="pre">.waitEvent(...)</span></tt> and <tt class="docutils literal"><span class="pre">.callEvent(...)</span></tt>.</li>
<li>Added an example WebSockets server using circuits.web</li>
<li>Added support for specifying a <tt class="docutils literal"><span class="pre">Poll</span></tt> instance to use when using the
<tt class="docutils literal"><span class="pre">&#64;future</span></tt> decorator to create &#8220;future&#8221; event handlers.</li>
<li>Added <tt class="docutils literal"><span class="pre">add_section</span></tt>, <tt class="docutils literal"><span class="pre">has_section</span></tt> and <tt class="docutils literal"><span class="pre">set</span></tt> methods to
<tt class="docutils literal"><span class="pre">app.config.Config</span></tt> Component.</li>
<li>Added support for running test suite with distutils <tt class="docutils literal"><span class="pre">python</span> <span class="pre">setup.py</span>
<span class="pre">test</span></tt>.</li>
<li>Added a <tt class="docutils literal"><span class="pre">_on_signal</span></tt> event handler on the <tt class="docutils literal"><span class="pre">BaseEnvironment</span></tt> Component
so that environments can be reloaded by listening to <tt class="docutils literal"><span class="pre">SIGHUP</span></tt> signals.</li>
<li>Added support for using absolute paths in <tt class="docutils literal"><span class="pre">app.env.Environment</span></tt>.</li>
<li>Added support in circuits.web <tt class="docutils literal"><span class="pre">HTTP</span></tt> protocol to limit the no. of
header fragments. This prevents OOM exploits.</li>
<li>Added a ticks limit to waitEvent</li>
<li>Added deprecation warnings for .push .add and .remove methods</li>
<li>NEW <tt class="docutils literal"><span class="pre">Loader</span></tt> Component in <tt class="docutils literal"><span class="pre">circuits.core</span></tt> for simple plugin support.</li>
<li>NEW <tt class="docutils literal"><span class="pre">app.env</span></tt> and <tt class="docutils literal"><span class="pre">app.config</span></tt> modules including a new <tt class="docutils literal"><span class="pre">app.startup</span></tt>
modules integrating a common startup for applications.</li>
<li>NEW <tt class="docutils literal"><span class="pre">KQueue</span></tt> poller</li>
<li>Fixed <a href="#id1"><span class="problematic" id="id2">:bbissue:`17`</span></a></li>
<li>Renamed <tt class="docutils literal"><span class="pre">circuits.web.main</span></tt> module to <tt class="docutils literal"><span class="pre">circuits.web.__main__</span></tt> so that
<tt class="docutils literal"><span class="pre">python</span> <span class="pre">-m</span> <span class="pre">circuits.web</span></tt> just works.</li>
<li>Fixed <tt class="docutils literal"><span class="pre">Server.host</span></tt> and <tt class="docutils literal"><span class="pre">Server.port</span></tt> properties in
<tt class="docutils literal"><span class="pre">circuits.net.sockets</span></tt>.</li>
<li>Fixed <a href="#id3"><span class="problematic" id="id4">:bbissue:`10`</span></a></li>
<li>Fixed <tt class="docutils literal"><span class="pre">app.Daemon</span></tt> Component to correctly open the stderr file.</li>
<li>Fixed triggering of <tt class="docutils literal"><span class="pre">Success</span></tt> events.</li>
<li>Fixed duplicate broadcast handler in <tt class="docutils literal"><span class="pre">UDPServer</span></tt></li>
<li>Fixed duplicate <tt class="docutils literal"><span class="pre">Disconnect</span></tt> event from being triggered twice on
<tt class="docutils literal"><span class="pre">Client</span></tt> socket components.</li>
<li>Removed dynamic timeout code from <tt class="docutils literal"><span class="pre">Select</span></tt> poller.</li>
<li>Fixed a bug in the circuits.web <tt class="docutils literal"><span class="pre">HTTP</span></tt> protocol where headers were
not being buffered per client.</li>
<li>Fixes a missing Event <tt class="docutils literal"><span class="pre">Closed()</span></tt> not being triggered for <tt class="docutils literal"><span class="pre">UDPServer</span></tt>.</li>
<li>Make underlying <tt class="docutils literal"><span class="pre">UDPServer</span></tt> socket reusable by setting <tt class="docutils literal"><span class="pre">SO_REUSEADDR</span></tt></li>
<li>Fixes Server socket being discarded twice on close + disconnect</li>
<li>Socket.write now expects bytes (bytes for python3 and str for python2)</li>
<li>Better handling of encoding in HTTP Component (allow non utf-8 encoding)</li>
<li>Always encode HTTP headers in utf-8</li>
<li>Fixes error after getting socket.ERRCONNREFUSED</li>
<li>Allows TCPClient to bind to a specific port</li>
<li>Improved docs</li>
<li>Handles closing of UDPServer socket when no client is connected</li>
<li>Adds an un-register handler for components</li>
<li>Allows utils.kill to work from a different thread</li>
<li>Fixes bug when handling &#8220;*&#8221; in channels and targets</li>
<li>Fixes a bug that could occur when un-registering components</li>
<li>Fixes for CPU usage problems when using circuits with no I/O pollers
and using a Timer for timed events</li>
</ul>
</div>
</div>


          </div>         
        </div>
      </div>
      
        
          <div class="yui-b" id="sidebar">
            
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="index.html">
              <img class="logo" src="_static/logo.png" alt="Logo"/>
            </a></p>
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">ChangeLog</a><ul>
<li><a class="reference internal" href="#circuits-2-1-0-20130224-release">circuits-2.1.0 20130224 (&lt;release&gt;)</a></li>
<li><a class="reference internal" href="#circuits-2-0-1-20121124">circuits-2.0.1 20121124</a></li>
<li><a class="reference internal" href="#circuits-2-0-0-20121122-cheetah">circuits-2.0.0 20121122 (cheetah)</a></li>
<li><a class="reference internal" href="#circuits-1-6-oceans-20110626">circuits-1.6 (oceans) - 20110626</a></li>
</ul>
</li>
</ul>

  <h3>Browse</h3>
  <ul>
    
      <li>Prev: <a href="dev/processes.html">Development Processes</a></li>
    
    
      <li>Next: <a href="users.html">Users</a></li>
    
  </ul>
  <h3>You are here:</h3>
  <ul>
      <li>
        <a href="index.html">circuits 2.1.0 documentation</a>
        
        <ul><li>ChangeLog</li></ul>
        
      </li>
  </ul>  

  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/changes.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
          </div> 
        
      
    </div>
    
    <div id="ft">
      <div class="nav">
    &laquo; <a href="dev/processes.html" title="Development Processes">previous</a> 
     |
    <a title="circuits 2.1.0 documentation" href="index.html" accesskey="U">up</a>
   |
    <a href="users.html" title="Users">next</a> &raquo;</div>
    </div>
  </div>

      <div class="clearer"></div>
    </div>
  </body>
</html>