summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 1b1fd3fa31d756233e64b217071b519345442cfd (plain)
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
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
31267
31268
31269
31270
31271
31272
31273
31274
31275
31276
31277
31278
31279
31280
31281
31282
31283
31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
31295
31296
31297
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
31336
31337
31338
31339
31340
31341
31342
31343
31344
31345
31346
31347
31348
31349
31350
31351
31352
31353
31354
31355
31356
31357
31358
31359
31360
31361
31362
31363
31364
31365
31366
31367
31368
31369
31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
31425
31426
31427
31428
31429
31430
31431
31432
31433
31434
31435
31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
31474
31475
31476
31477
31478
31479
31480
31481
31482
31483
31484
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
31523
31524
31525
31526
31527
31528
31529
31530
31531
31532
31533
31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
31571
31572
31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
31601
31602
31603
31604
31605
31606
31607
31608
31609
31610
31611
31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
31648
31649
31650
31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
31679
31680
31681
31682
31683
31684
31685
31686
31687
31688
31689
31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
31757
31758
31759
31760
31761
31762
31763
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
31805
31806
31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
31835
31836
31837
31838
31839
31840
31841
31842
31843
31844
31845
31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
31877
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
31919
31920
31921
31922
31923
31924
31925
31926
31927
31928
31929
31930
31931
31932
31933
31934
31935
31936
31937
31938
31939
31940
31941
31942
31943
31944
31945
31946
31947
31948
31949
31950
31951
31952
31953
31954
31955
31956
31957
31958
31959
31960
31961
31962
31963
31964
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
32001
32002
32003
32004
32005
32006
32007
32008
32009
32010
32011
32012
32013
32014
32015
32016
32017
32018
32019
32020
32021
32022
32023
32024
32025
32026
32027
32028
32029
32030
32031
32032
32033
32034
32035
32036
32037
32038
32039
32040
32041
32042
32043
32044
32045
32046
32047
32048
32049
32050
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064
32065
32066
32067
32068
32069
32070
32071
32072
32073
32074
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
32109
32110
32111
32112
32113
32114
32115
32116
32117
32118
32119
32120
32121
32122
32123
32124
32125
32126
32127
32128
32129
32130
32131
32132
32133
32134
32135
32136
32137
32138
32139
32140
32141
32142
32143
32144
32145
32146
32147
32148
32149
32150
32151
32152
32153
32154
32155
32156
32157
32158
32159
32160
32161
32162
32163
32164
32165
32166
32167
32168
32169
32170
32171
32172
32173
32174
32175
32176
32177
32178
32179
32180
32181
32182
32183
32184
32185
32186
32187
32188
32189
32190
32191
32192
32193
32194
32195
32196
32197
32198
32199
32200
32201
32202
32203
32204
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
32231
32232
32233
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245
32246
32247
32248
32249
32250
32251
32252
32253
32254
32255
32256
32257
32258
32259
32260
32261
32262
32263
32264
32265
32266
32267
32268
32269
32270
32271
32272
32273
32274
32275
32276
32277
32278
32279
32280
32281
32282
32283
32284
32285
32286
32287
32288
32289
32290
32291
32292
32293
32294
32295
32296
32297
32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
32309
32310
32311
32312
32313
32314
32315
32316
32317
32318
32319
32320
32321
32322
32323
32324
32325
32326
32327
32328
32329
32330
32331
32332
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
32473
32474
32475
32476
32477
32478
32479
32480
32481
32482
32483
32484
32485
32486
32487
32488
32489
32490
32491
32492
32493
32494
32495
32496
32497
32498
32499
32500
32501
32502
32503
32504
32505
32506
32507
32508
32509
32510
32511
32512
32513
32514
32515
32516
32517
32518
32519
32520
32521
32522
32523
32524
32525
32526
32527
32528
32529
32530
32531
32532
32533
32534
32535
32536
32537
32538
32539
32540
32541
32542
32543
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557
32558
32559
32560
32561
32562
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572
32573
32574
32575
32576
32577
32578
32579
32580
32581
32582
32583
32584
32585
32586
32587
32588
32589
32590
32591
32592
32593
32594
32595
32596
32597
32598
32599
32600
32601
32602
32603
32604
32605
32606
32607
32608
32609
32610
32611
32612
32613
32614
32615
32616
32617
32618
32619
32620
32621
32622
32623
32624
32625
32626
32627
32628
32629
32630
32631
32632
32633
32634
32635
32636
32637
32638
32639
32640
32641
32642
32643
32644
32645
32646
32647
32648
32649
32650
32651
32652
32653
32654
32655
32656
32657
32658
32659
32660
32661
32662
32663
32664
32665
32666
32667
32668
32669
32670
32671
32672
32673
32674
32675
32676
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693
32694
32695
32696
32697
32698
32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
32711
32712
32713
32714
32715
32716
32717
32718
32719
32720
32721
32722
32723
32724
32725
32726
32727
32728
32729
32730
32731
32732
32733
32734
32735
32736
32737
32738
32739
32740
32741
32742
32743
32744
32745
32746
32747
32748
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758
32759
32760
32761
32762
32763
32764
32765
32766
32767
32768
32769
32770
32771
32772
32773
32774
32775
32776
32777
32778
32779
32780
32781
32782
32783
32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
32796
32797
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810
32811
32812
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
32841
32842
32843
32844
32845
32846
32847
32848
32849
32850
32851
32852
32853
32854
32855
32856
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880
32881
32882
32883
32884
32885
32886
32887
32888
32889
32890
32891
32892
32893
32894
32895
32896
32897
32898
32899
32900
32901
32902
32903
32904
32905
32906
32907
32908
32909
32910
32911
32912
32913
32914
32915
32916
32917
32918
32919
32920
32921
32922
32923
32924
32925
32926
32927
32928
32929
32930
32931
32932
32933
32934
32935
32936
32937
32938
32939
32940
32941
32942
32943
32944
32945
32946
32947
32948
32949
32950
32951
32952
32953
32954
32955
32956
32957
32958
32959
32960
32961
32962
32963
32964
32965
32966
32967
32968
32969
32970
32971
32972
32973
32974
32975
32976
32977
32978
32979
32980
32981
32982
32983
32984
32985
32986
32987
32988
32989
32990
32991
32992
32993
32994
32995
32996
32997
32998
32999
33000
33001
33002
33003
33004
33005
33006
33007
33008
33009
33010
33011
33012
33013
33014
33015
33016
33017
33018
33019
33020
33021
33022
33023
33024
33025
33026
33027
33028
33029
33030
33031
33032
33033
33034
33035
33036
33037
33038
33039
33040
33041
33042
33043
33044
33045
33046
33047
33048
33049
33050
33051
33052
33053
33054
33055
33056
33057
33058
33059
33060
33061
33062
33063
33064
33065
33066
33067
33068
33069
33070
33071
33072
33073
33074
33075
33076
33077
33078
33079
33080
33081
33082
33083
33084
33085
33086
33087
33088
33089
33090
33091
33092
33093
33094
33095
33096
33097
33098
33099
33100
33101
33102
33103
33104
33105
33106
33107
33108
33109
33110
33111
33112
33113
33114
33115
33116
33117
33118
33119
33120
33121
33122
33123
33124
33125
33126
33127
33128
33129
33130
33131
33132
33133
33134
33135
33136
33137
33138
33139
33140
33141
33142
33143
33144
33145
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
33163
33164
33165
33166
33167
33168
33169
33170
33171
33172
33173
33174
33175
33176
33177
33178
33179
33180
33181
33182
33183
33184
33185
33186
33187
33188
33189
33190
33191
33192
33193
33194
33195
33196
33197
33198
33199
33200
33201
33202
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
33241
33242
33243
33244
33245
33246
33247
33248
33249
33250
33251
33252
33253
33254
33255
33256
33257
33258
33259
33260
33261
33262
33263
33264
33265
33266
33267
33268
33269
33270
33271
33272
33273
33274
33275
33276
33277
33278
33279
33280
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301
33302
33303
33304
33305
33306
33307
33308
33309
33310
33311
33312
33313
33314
33315
33316
33317
33318
33319
33320
33321
33322
33323
33324
33325
33326
33327
33328
33329
33330
33331
33332
33333
33334
33335
33336
33337
33338
33339
33340
33341
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352
33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
33363
33364
33365
33366
33367
33368
33369
33370
33371
33372
33373
33374
33375
33376
33377
33378
33379
33380
33381
33382
33383
33384
33385
33386
33387
33388
33389
33390
33391
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
33419
33420
33421
33422
33423
33424
33425
33426
33427
33428
33429
33430
33431
33432
33433
33434
33435
33436
33437
33438
33439
33440
33441
33442
33443
33444
33445
33446
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456
33457
33458
33459
33460
33461
33462
33463
33464
33465
33466
33467
33468
33469
33470
33471
33472
33473
33474
33475
33476
33477
33478
33479
33480
33481
33482
33483
33484
33485
33486
33487
33488
33489
33490
33491
33492
33493
33494
33495
33496
33497
33498
33499
33500
33501
33502
33503
33504
33505
33506
33507
33508
33509
33510
33511
33512
33513
33514
33515
33516
33517
33518
33519
33520
33521
33522
33523
33524
33525
33526
33527
33528
33529
33530
33531
33532
33533
33534
33535
33536
33537
33538
33539
33540
33541
33542
33543
33544
33545
33546
33547
33548
33549
33550
33551
33552
33553
33554
33555
33556
33557
33558
33559
33560
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575
33576
33577
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
33595
33596
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
33622
33623
33624
33625
33626
33627
33628
33629
33630
33631
33632
33633
33634
33635
33636
33637
33638
33639
33640
33641
33642
33643
33644
33645
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655
33656
33657
33658
33659
33660
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706
33707
33708
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718
33719
33720
33721
33722
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741
33742
33743
33744
33745
33746
33747
33748
33749
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775
33776
33777
33778
33779
33780
33781
33782
33783
33784
33785
33786
33787
33788
33789
33790
33791
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802
33803
33804
33805
33806
33807
33808
33809
33810
33811
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
33844
33845
33846
33847
33848
33849
33850
33851
33852
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912
33913
33914
33915
33916
33917
33918
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962
33963
33964
33965
33966
33967
33968
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988
33989
33990
33991
33992
33993
33994
33995
33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
34012
34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039
34040
34041
34042
34043
34044
34045
34046
34047
34048
34049
34050
34051
34052
34053
34054
34055
34056
34057
34058
34059
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079
34080
34081
34082
34083
34084
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098
34099
34100
34101
34102
34103
34104
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158
34159
34160
34161
34162
34163
34164
34165
34166
34167
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185
34186
34187
34188
34189
34190
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205
34206
34207
34208
34209
34210
34211
34212
34213
34214
34215
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225
34226
34227
34228
34229
34230
34231
34232
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
34245
34246
34247
34248
34249
34250
34251
34252
34253
34254
34255
34256
34257
34258
34259
34260
34261
34262
34263
34264
34265
34266
34267
34268
34269
34270
34271
34272
34273
34274
34275
34276
34277
34278
34279
34280
34281
34282
34283
34284
34285
34286
34287
34288
34289
34290
34291
34292
34293
34294
34295
34296
34297
34298
34299
34300
34301
34302
34303
34304
34305
34306
34307
34308
34309
34310
34311
34312
34313
34314
34315
34316
34317
34318
34319
34320
34321
34322
34323
34324
34325
34326
34327
34328
34329
34330
34331
34332
34333
34334
34335
34336
34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
34352
34353
34354
34355
34356
34357
34358
34359
34360
34361
34362
34363
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373
34374
34375
34376
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398
34399
34400
34401
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414
34415
34416
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827
34828
34829
34830
34831
34832
34833
34834
34835
34836
34837
34838
34839
34840
34841
34842
34843
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
34860
34861
34862
34863
34864
34865
34866
34867
34868
34869
34870
34871
34872
34873
34874
34875
34876
34877
34878
34879
34880
34881
34882
34883
34884
34885
34886
34887
34888
34889
34890
34891
34892
34893
34894
34895
34896
34897
34898
34899
34900
34901
34902
34903
34904
34905
34906
34907
34908
34909
34910
34911
34912
34913
34914
34915
34916
34917
34918
34919
34920
34921
34922
34923
34924
34925
34926
34927
34928
34929
34930
34931
34932
34933
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
34951
34952
34953
34954
34955
34956
34957
34958
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968
34969
34970
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
34981
34982
34983
34984
34985
34986
34987
34988
34989
34990
34991
34992
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415
35416
35417
35418
35419
35420
35421
35422
35423
35424
35425
35426
35427
35428
35429
35430
35431
35432
35433
35434
35435
35436
35437
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555
35556
35557
35558
35559
35560
35561
35562
35563
35564
35565
35566
35567
35568
35569
35570
35571
35572
35573
35574
35575
35576
35577
35578
35579
35580
35581
35582
35583
35584
35585
35586
35587
35588
35589
35590
35591
35592
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607
35608
35609
35610
35611
35612
35613
35614
35615
35616
35617
35618
35619
35620
35621
35622
35623
35624
35625
35626
35627
35628
35629
35630
35631
35632
35633
35634
35635
35636
35637
35638
35639
35640
35641
35642
35643
35644
35645
35646
35647
35648
35649
35650
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785
35786
35787
35788
35789
35790
35791
35792
35793
35794
35795
35796
35797
35798
35799
35800
35801
35802
35803
35804
35805
35806
35807
35808
35809
35810
35811
35812
35813
35814
35815
35816
35817
35818
35819
35820
35821
35822
35823
35824
35825
35826
35827
35828
35829
35830
35831
35832
35833
35834
35835
35836
35837
35838
35839
35840
35841
35842
35843
35844
35845
35846
35847
35848
35849
35850
35851
35852
35853
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
36119
36120
36121
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131
36132
36133
36134
36135
36136
36137
36138
36139
36140
36141
36142
36143
36144
36145
36146
36147
36148
36149
36150
36151
36152
36153
36154
36155
36156
36157
36158
36159
36160
36161
36162
36163
36164
36165
36166
36167
36168
36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196
36197
36198
36199
36200
36201
36202
36203
36204
36205
36206
# Generated by Makefile. Do not edit.

commit 98df4b6182b1334d3b67602569330af8687e8b68
Merge: 4722767 9be6c07
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 14 10:06:24 2014 +0200

    Merge pull request #97 from hintjens/master
    
    Updated NEWS for 4.0.5

commit 9be6c076cbf8e3c179d6124523cf1d3fe386e77a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 14 10:05:41 2014 +0200

    Updated NEWS for 4.0.5

 NEWS |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 47227672ef9413b588f26ee2fe1bb8a69a18ee5f
Merge: eae9cbe 2d76149
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 1 07:47:45 2014 +0200

    Merge pull request #95 from ceph/master
    
    Spec file fixes: missing manpages/binaries, renamed library files, doc build requirements

commit 2d7614961c7718308ea460dc2ded2559e95b1944
Author: Dan Mick <dmick@localhost.localdomain>
Date:   Tue Sep 30 20:05:21 2014 -0700

    zeromq.spec.in: missing manpage files
    
    Signed-off-by: Dan Mick <dmick@redhat.com>

 builds/redhat/zeromq.spec.in |    8 ++++++++
 1 file changed, 8 insertions(+)

commit 87b35ded47a3a35b408c5959dfd5df44c0ed8b3f
Author: Dan Mick <dmick@localhost.localdomain>
Date:   Tue Sep 30 20:04:57 2014 -0700

    zeromq.spec.in: shared library version bump
    
    Signed-off-by: Dan Mick <dmick@redhat.com>

 builds/redhat/zeromq.spec.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 93096d461c37abd40539435bafc1a07f567f0de8
Author: Dan Mick <dmick@localhost.localdomain>
Date:   Tue Sep 30 20:04:19 2014 -0700

    zeromq.spec.in: missing binary curve_keygen
    
    Signed-off-by: Dan Mick <dmick@redhat.com>

 builds/redhat/zeromq.spec.in |    3 +++
 1 file changed, 3 insertions(+)

commit b2cb9b9ec2363b8d5943840b4435b19f81c85d88
Author: Dan Mick <dmick@localhost.localdomain>
Date:   Tue Sep 30 20:02:18 2014 -0700

    zeromq.spec.in: Missing build dependencies in specfile: asciidoc, xmlto
    
    Signed-off-by: Dan Mick <dmick@redhat.com>

 builds/redhat/zeromq.spec.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f94de6e7361e6a2bfceb9289f628e420a72aa6b6
Author: Dan Mick <dmick@localhost.localdomain>
Date:   Tue Sep 30 19:53:10 2014 -0700

    zeromq.spec.in/Makefile: README is no more; replace with README.md
    
    Signed-off-by: Dan Mick <dan.mick@redhat.com>

 Makefile.am                  |    1 +
 builds/redhat/zeromq.spec.in |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit eae9cbe72f1819dbf7e46bba0547bf2854a1f435
Merge: 88e5636 f024eef
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Sep 20 20:50:51 2014 +0200

    Merge pull request #93 from hintjens/master
    
    Security fixes

commit f024eef27c2be7e1b3ff3a8b0e7235a51a4b2841
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Sep 20 20:50:25 2014 +0200

    Updated NEWS for #1190 and #1191

 NEWS |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

commit 73e59be3218bb0a4cb486f1a3774e8159854f9ee
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Sep 20 10:39:13 2014 +0200

    Updated CURVE test case

 tests/test_security_curve.cpp |   21 ++++++++++-----------
 tests/testutil.hpp            |   24 +++++++++++++++++-------
 2 files changed, 27 insertions(+), 18 deletions(-)

commit d73b2408808375af2a6a2ac8e211db429aac71f2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 19 19:24:45 2014 +0200

    Merged patch for #1190

 src/stream_engine.cpp         |    9 ++++++---
 tests/test_security_curve.cpp |   20 ++++++++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)

commit 88e56365ef477817fcc166fce7c57d0e2d24f5d6
Merge: ce75ea7 16b2db6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 1 09:22:01 2014 +0200

    Merge pull request #91 from jbreams/master
    
    Clean up after using randombytes from libsodium

commit 16b2db606233053420575c140a72edd53814f55b
Author: Jonathan Reams <jbreams@gmail.com>
Date:   Sun Aug 31 14:02:57 2014 -0400

    Clean up after using randombytes from libsodium
    
    When Curve authentication is used, libsodium opens a file
    descriptor to /dev/urandom to generate random bytes. When
    the ZMQ context terminates, it should ensure that file gets
    closed.

 src/ctx.cpp |   10 ++++++++++
 1 file changed, 10 insertions(+)

commit ce75ea74484237966825af1f416ea107a1bf7922
Merge: 37203c4 7413afe
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Aug 3 04:01:19 2014 +0200

    Merge pull request #90 from vogonsoft/master
    
    Corrected typo in ZMQ_STREAM example

commit 7413afe6d6c43ada7f6ecbbeec8846750cb8654c
Author: Aleksandar J <aleks@juliet.phub.net.cable.rogers.com>
Date:   Sat Aug 2 18:42:24 2014 -0400

    Corrected typo in ZMQ_STREAM example

 doc/zmq_socket.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 37203c4964c758b6b6841bc95a7ecc68b9f0b221
Merge: b4f4d23 30ba11d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jul 24 07:54:38 2014 +0200

    Merge pull request #89 from ewen-naos-nz/zos
    
    z/OS UNIX System Services port

commit 30ba11d9701e015122fa23719a9212f19879254e
Author: Ewen McNeill <ewen@naos.co.nz>
Date:   Thu Jul 24 11:13:24 2014 +1200

    z/OS: Avoid removing libzmq.pc.in in makeclean

 builds/zos/makeclean |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 85eac38e537ab68bf1bcdcb4978ba6764d2d7d7b
Author: Ewen McNeill <ewen@naos.co.nz>
Date:   Thu Jul 24 10:42:30 2014 +1200

    z/OS: Transferrring from GitHub to z/OS UNIX
    
    Updated:
       builds/zos/README.md: Outlined process to transfer source from
         GitHub to z/OS UNIX System Services, including character set
         conversion for the source

 builds/zos/README.md |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

commit c06ab77c3b64c3432f6d2db0e959b2547ce2ba34
Author: Ewen McNeill <ewen@naos.co.nz>
Date:   Wed Jul 23 13:39:45 2014 +1200

    z/OS: signal(SIGPIPE, SIG_IGN) for tests
    
    Updated:
       tests/testutil.hpp: Add signal(SIGPIPE, SIG_IGN) to
            setup_test_environment(), on z/OS (__MVS__)

 tests/testutil.hpp |    5 +++++
 1 file changed, 5 insertions(+)

commit f35d0b6f8dfd8e822ae741823b67c634e7c6b250
Author: Ewen McNeill <ewen@naos.co.nz>
Date:   Wed Jul 23 13:45:42 2014 +1200

    z/OS: Loop on EAGAIN on close() in ~signaler
    
    Updated:
        src/signaler.cpp: Add close_wait_ms() static function to loop
           when receiving EAGAIN in response to close(), with ms long
           sleeps, up to a maximum limit (default 2000ms == 2 seconds);
           used in signaler_t::~signaler_t() destructor.

 src/signaler.cpp |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 52 insertions(+), 3 deletions(-)

commit 66d258f0e7f386a649b6afb623d0ce2ae89ee755
Author: Ewen McNeill <ewen@naos.co.nz>
Date:   Thu Jul 24 09:28:06 2014 +1200

    z/OS: Make builds/zos scripts executable

 0 files changed

commit 1e6036d0df7bb65930707474d863f384c997c938
Author: Ewen McNeill <ewen@naos.co.nz>
Date:   Wed Jul 23 13:09:28 2014 +1200

    z/OS: Documented SIGPIPE considerations
    
    Updated:
        README.md: Documented need for application to handle/ignore SIGPIPE

 builds/zos/README.md |   98 ++++++++++++++++++++++++++++++++------------------
 1 file changed, 64 insertions(+), 34 deletions(-)

commit 1034bf90c04743c2fdd82fbbd93e09899d208b01
Author: Ewen McNeill <ewen@naos.co.nz>
Date:   Tue Jul 22 16:44:56 2014 +1200

    Extend z/OS UNIX port to allow building DLL
    
    Updated:
       README.md:  describes process of building/using DLL
       makelibzmq: Build DLL as well as static library (unless BUILD_DLL=false)
       maketests:  Dynamically link to ../src/libzmq.so if present
       runtests:   Explicitly place ../src at start of LIBPATH
       makeclean:  Also remove files created for DLL
       cxxall:     Bumped updated date to reflect last edit

 builds/zos/README.md  |   80 +++++++++++++++++++++++++++++++++++++++++--------
 builds/zos/cxxall     |    2 +-
 builds/zos/makeclean  |    2 +-
 builds/zos/makelibzmq |   28 +++++++++++++++--
 builds/zos/maketests  |   39 +++++++++++++++++++-----
 builds/zos/runtests   |    8 ++++-
 6 files changed, 134 insertions(+), 25 deletions(-)

commit 8454fddf5af39d180b8043e1b4c824e712745c88
Author: Ewen McNeill <ewen@naos.co.nz>
Date:   Tue Jul 22 12:05:51 2014 +1200

    builds/zos/* portability files to z/OS UNIX
    
    builds/zos includes:
        README.md: Overview of z/OS UNIX System Services port (Markdown)
        makelibzmq: Compile src/*.cpp and make libzmq.a
        maketests:  Compile tests/*.cpp and make test_* executables
        runtests:   Run tests/test_* executables and report results
        makeclean:  Remove built files
        zc++: /bin/c++ wrapper supplying required build arguments
        cxxall: run zc++ for all *.cpp files in directory
    
        platform.hpp: pre-generated (and edited) src/platform.hpp for z/OS
        test_fork.cpp: updated tests/test_fork.cpp that completes on z/OS

 builds/zos/README.md     |  285 ++++++++++++++++++++++++++++++++++++++++++++++
 builds/zos/cxxall        |   62 ++++++++++
 builds/zos/makeclean     |   35 ++++++
 builds/zos/makelibzmq    |   30 +++++
 builds/zos/maketests     |   79 +++++++++++++
 builds/zos/platform.hpp  |  277 ++++++++++++++++++++++++++++++++++++++++++++
 builds/zos/runtests      |  210 ++++++++++++++++++++++++++++++++++
 builds/zos/test_fork.cpp |   85 ++++++++++++++
 builds/zos/zc++          |   42 +++++++
 9 files changed, 1105 insertions(+)

commit b4f4d23faf4715a2f823f9f60693847dca41c811
Merge: 678ad54 bc7b0fd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jul 2 21:59:49 2014 +0200

    Merge pull request #87 from guidefloripa/master
    
    Add static compilation on CMake

commit bc7b0fd383db3052e4fce45158daf13590e47e1f
Author: Guilherme Steinmann <guidefloripa@gmail.com>
Date:   Wed Jul 2 10:36:35 2014 -0300

    Add static compilation on CMake

 CMakeLists.txt |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit 678ad54a1238cfb09046f440f27924886bcdea0f
Merge: 966c893 03fadb9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jun 23 20:25:54 2014 +0200

    Merge pull request #86 from hintjens/master
    
    Fixed typo in doc example

commit 03fadb92b4b9bd58b63b6b8e6fa1bec459f8ab58
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jun 23 20:25:05 2014 +0200

    Fixed typo in doc example

 NEWS            |    2 ++
 doc/zmq_tcp.txt |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

commit 966c8930b01be7ec68b3d32bdf470923647dd412
Merge: 90dbc10 eaf732c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jun 10 15:07:21 2014 +0200

    Merge pull request #84 from hintjens/master
    
    Fix failed assertion for WSAENOTSOCK

commit eaf732c25e6a49f70927d5400de87165db9a152d
Author: Olaf Mandel <o.mandel@menlosystems.com>
Date:   Tue Jun 10 14:45:04 2014 +0200

    Fix failed assertion for WSAENOTSOCK
    
    In de9eef306, the error number assigned to WSAENOTSOCK was EFAULT, but
    zmq.cpp:919 expects an ENOTSOCK in this case.

 src/err.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 90dbc100c4db6d03de272ce14b73331ade673488
Merge: dd478a0 2c754fc
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 4 17:56:39 2014 +0200

    Merge pull request #83 from olafmandel/backport_1072
    
    Extend zmq::wsa_error_to_errno()

commit 2c754fc0a9d71bdc59a896f2a41f1ba48aa9f878
Author: Olaf Mandel <o.mandel@menlosystems.com>
Date:   Wed Jun 4 17:41:03 2014 +0200

    Extend zmq::wsa_error_to_errno()
    
    The list of error codes is taken from zmq::wsa_error_no(). Most of the
    new WSA error codes result in EFAULT, but some return a more specific
    value (even EAGAIN).
    
    Backport of zeromq/libzmq#1072

 src/err.cpp |   89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 88 insertions(+), 1 deletion(-)

commit dd478a0d20544b09041b5f882df3cfe5758e039c
Merge: 9766baa a6e85de
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri May 23 10:13:33 2014 +0200

    Merge pull request #82 from hintjens/master
    
    Updated NEWS

commit a6e85ded339f870bbe30a954ca075efb44da62a5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri May 23 10:12:08 2014 +0200

    Updated for #1015

 NEWS |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 2dc95612a8d804ec15407beb81e9e3f7822b0da5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon May 12 16:33:35 2014 +0200

    Updated NEWS

 NEWS |    4 ++++
 1 file changed, 4 insertions(+)

commit 9766baa9d331b5e871d688a7d77c7c03568fab59
Merge: bb30e9e d4d26b1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri May 23 10:10:58 2014 +0200

    Merge pull request #81 from olafmandel/issue_1015
    
    Backport of test and fix for zeromq/libzmq#1015

commit d4d26b1cc02d6f08a229f4a387666e22ebc18e88
Author: Olaf Mandel <o.mandel@menlosystems.com>
Date:   Wed May 21 17:02:01 2014 +0200

    Fix race condition in connecting inproc sockets
    
    This is a backport of libzmq:3678c32b9
    by Martin Hurton <hurtonm@gmail.com>

 src/ctx.cpp |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit a6bd295210a4b03de8c929de178849ea68b604da
Author: Olaf Mandel <o.mandel@menlosystems.com>
Date:   Wed May 21 16:58:01 2014 +0200

    Add failing test reproducing issue #1015.
    
    There is a race condition when connect and bind on a new inproc
    endpoint happen "simultaneously" in threads.  Causes the error:
      Assertion failed: ok (ctx.cpp:474)
    
    This is a backport of libzmq:5cf74db6b
    by Joe Eli McIlvain <joe.eli.mac@gmail.com>

 tests/test_inproc_connect.cpp |   71 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)

commit bb30e9efc73cc9b2429f4e9dcaff718882e44a1b
Merge: c639251 550c32e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon May 12 16:32:57 2014 +0200

    Merge pull request #79 from olafmandel/master
    
    Fix identity handling for inproc transport

commit 550c32ed10f3faf8f35d462f4ef0ab9328d9c90a
Author: Olaf Mandel <o.mandel@menlosystems.com>
Date:   Mon May 12 15:12:48 2014 +0200

    Fix identity handling for inproc transport
    
    Fixes #872
    
    Backport of hurtonm/libzmq@a09407829; included as
    zeromq/libzmq@e376ad278 in development repos.

 src/ctx.cpp         |   15 ++++++---------
 src/pipe.cpp        |    5 +++--
 src/socket_base.cpp |   16 ++++++++++++++--
 3 files changed, 23 insertions(+), 13 deletions(-)

commit c639251c3ed68785470739899cd7e4400b7ee88b
Merge: 4f4723a 6576304
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu May 1 16:31:19 2014 +0200

    Merge pull request #78 from hintjens/master
    
    Fixed issue #994

commit 65763041df9a03a29c4cb07dcf953c5e4c0cc8c4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu May 1 16:12:51 2014 +0200

    Problem: generates incompatible libzmq.so.3.1.0
    
    See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743508
    
    The ABI in fact changed in two significant ways, one with inproc
    connects, and one with socket monitoring
    
    Solution: generate libzmq.so.4.0.0 library instead.
    
    This change should be backported to zeromq-4.x
    
    Conflicts:
    	.gitignore

 .gitignore   |    6 ++++++
 configure.ac |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

commit 7a0425be9eacaec3d94724eb9aee06f4c0d2080f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Apr 29 22:51:48 2014 +0200

    Updated NEWS

 NEWS |    2 ++
 1 file changed, 2 insertions(+)

commit 4f4723a6842933c4971859c22cf770d6a80e06a8
Merge: f3cc00b 2394784
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 14 14:02:11 2014 +0200

    Merge pull request #76 from mditzel/master
    
    Fix issue #75

commit 23947849958ca9e399fb9cd6232605e7dfad8c12
Merge: 488cf5e b69cf0d
Author: Maarten Ditzel <maarten.ditzel@tno.nl>
Date:   Mon Apr 14 13:36:57 2014 +0200

    Merge branch 'master' of https://github.com/mditzel/zeromq4-x

commit 488cf5e04c0b64f01e300448df30f9319ca33d8a
Merge: 75fbd4f f3cc00b
Author: Maarten Ditzel <maarten.ditzel@tno.nl>
Date:   Mon Apr 14 11:13:49 2014 +0200

    Merge branch 'master' of https://github.com/zeromq/zeromq4-x

commit b69cf0d70d41eae4315559611273a0604862f953
Merge: 75fbd4f f3cc00b
Author: Maarten Ditzel <maarten.ditzel@tno.nl>
Date:   Mon Apr 14 11:13:49 2014 +0200

    Merge branch 'master' of https://github.com/zeromq/zeromq4-x

commit 75fbd4f8d66c54e12e15d77f1d58d8f4cde31e48
Author: Maarten Ditzel <maarten.ditzel@tno.nl>
Date:   Mon Apr 14 11:01:49 2014 +0200

    Fix issue #75

 src/windows.hpp |   16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

commit 66b49261a8e38df5b06841c45ded5ca6defd4575
Author: Maarten Ditzel <maarten.ditzel@tno.nl>
Date:   Fri Apr 11 10:10:30 2014 +0200

    Fixed link error when cross-compiling with mingw.

 CMakeLists.txt |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

commit f3cc00b4afc7679331fe5a9492078889ebc57d5b
Merge: dd48842 66b4926
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Apr 11 09:51:51 2014 +0200

    Merge pull request #74 from mditzel/master
    
    Fix #73: link error when cross-compiling with mingw.

commit dd488421c827fc79fc8b3261e2d826d02d0f57a8
Merge: e02fd0c 2ae11cd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Apr 3 20:49:35 2014 +0200

    Merge pull request #72 from hintjens/master
    
    Resolve issue #939

commit 2ae11cdc8d0bc798d9338a59cf840470d6c3ad14
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Apr 3 19:49:28 2014 +0200

    Resolve issue #939
    
    This bug is caused by fq which can terminate pipe before sending all
    frames of a message first. So sometimes two messages were mixed and this
    confused ZAP handler.
    
    This patch just modifies one pipe parameter so that socket consumes all
    messages before dropping the pipe.

 src/session_base.cpp |    1 -
 1 file changed, 1 deletion(-)

commit e02fd0ce36cb6745e5272fb08d9d6d140a39aac7
Merge: e2d9aae 612f6ac
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 25 15:22:54 2014 +0100

    Merge pull request #71 from hintjens/master
    
    Added man page for zmq_proxy_steerable

commit 612f6ac86289b11db4ed82b0262a94ab29548ac2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 25 15:22:01 2014 +0100

    Added man page for zmq_proxy_steerable

 doc/Makefile.am             |    2 +-
 doc/zmq_proxy_steerable.txt |   99 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+), 1 deletion(-)

commit e2d9aaeb8846c692d351332289334a3276fa11bd
Merge: 0da2a0b c83cc01
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 25 07:13:38 2014 +0100

    Merge pull request #70 from hintjens/master
    
    Backported #797

commit c83cc01e03d8b4999ff90614866aeef508637d12
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 25 07:13:00 2014 +0100

    Backported #797

 NEWS |    6 ++++++
 1 file changed, 6 insertions(+)

commit c1b055a6d8d0c6bc517db29f2d1d4892d8ac92bd
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Tue Feb 18 14:17:32 2014 +0800

    fix: win32 tcp_keepalive gets set even when option is -1

 src/tcp.cpp |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

commit 0da2a0bed6d97682d66506dce04204ac01944656
Merge: 25b692b 3e65ddf
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Mar 21 07:43:14 2014 +0200

    Merge pull request #68 from hintjens/master
    
    Bumped version for next release

commit 3e65ddfce3ea7752565007ae827bd2223ef4aa0b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Mar 21 07:42:28 2014 +0200

    Bumped version for next release

 include/zmq.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 25b692b10972156da276dcfe99f223bdbfed5612
Merge: 1ac53ed e0f718b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Mar 19 09:53:39 2014 +0200

    Merge pull request #67 from cosmoharrigan/proxy
    
    Backport zmq_proxy_steerable and fix error in proxy function prototype

commit e0f718bbd225bfed82b5a080f79ac49a2d3026bb
Author: Cosmo Harrigan <cosmo.harrigan@singularityu.org>
Date:   Mon Mar 17 17:55:59 2014 -0700

    Backport zmq_proxy_steerable and fix error in proxy function prototype.

 include/zmq.h |    1 +
 src/proxy.cpp |   58 +++++++++++++++++++++++++++++++++++++++++++++++++++++----
 src/proxy.hpp |    3 ++-
 src/zmq.cpp   |   15 ++++++++++++++-
 4 files changed, 71 insertions(+), 6 deletions(-)

commit 1ac53ed1f75202bbe36dd0b409736f90984638e5
Merge: 2eb6336 7f08204
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 10 22:41:14 2014 +0100

    Merge pull request #66 from hintjens/master
    
    Source package did not build

commit 7f08204e9fa0c98cbf29229167d7a9939f61179c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 10 22:39:59 2014 +0100

    Source package did not build

 src/Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

commit 2eb63360d60097ca6bca5eeffbc789c72994125c
Merge: e5473a7 930ef37
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 10 13:41:48 2014 +0100

    Merge pull request #64 from hintjens/master
    
    Bumped NEWS for 4.0.4 release

commit 930ef3773861170fba44ab2f8cb1a47e5a3a315d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 10 13:40:49 2014 +0100

    Bumped NEWS for 4.0.4 release

 NEWS |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e5473a7a6998311ef098ca25077ba1a3755df0dd
Merge: ebbbdf8 dd5603d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 3 12:10:18 2014 +0100

    Merge pull request #63 from hintjens/master
    
    Backported fix for #909

commit dd5603d6e95e22e8b9f963680e99e11de6a4de3a
Author: Josh Blum <josh@joshknows.com>
Date:   Wed Feb 12 11:22:37 2014 -0800

    Updated NEWS for #909

 NEWS            |    2 ++
 src/Makefile.am |    6 +++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit 03dc70c3507e2e430d5c065cd64f60d8635f8837
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 13 19:21:42 2014 +0100

    Updated for #60

 NEWS |    2 ++
 1 file changed, 2 insertions(+)

commit 97292367ebeb541ae37c83f432bc4970511b6bf9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 13 09:33:14 2014 +0100

    Updated NEWS

 NEWS |    4 ++++
 1 file changed, 4 insertions(+)

commit ebbbdf89cb29e68119d24acc55d89e4e95bbe638
Merge: e655fd1 c7a7de1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 13 19:20:28 2014 +0100

    Merge pull request #60 from ricnewton/master
    
    Fix hang on terminate when inproc is connected but never bound

commit c7a7de12a351b26c39758db5bc0d310ae6598c24
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Feb 13 14:56:09 2014 +0000

    Backported fix for #888

 src/ctx.cpp                   |   10 +++++++++-
 tests/test_inproc_connect.cpp |   20 +++++++++++++++++++-
 tests/testutil.hpp            |    2 +-
 3 files changed, 29 insertions(+), 3 deletions(-)

commit e655fd138d948800df80959d71da12738a1c4bc1
Merge: 0e147bb 2493a99
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 5 21:11:10 2014 +0100

    Merge pull request #57 from Debian/counter
    
    Fix timestamp counter on s390/s390x

commit 0e147bb69144856b81816d57c570aa867e76a2eb
Merge: d4f9886 4b9cd77
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 5 21:10:49 2014 +0100

    Merge pull request #56 from Debian/symbols
    
    Only export zmq_* symbols

commit 4b9cd7764ab7ee6b9c82f216f0c8801493f33fa2
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date:   Sun Jan 12 12:30:45 2014 +0100

    Only export zmq_* symbols

 src/Makefile.am |    2 +-
 src/libzmq.vers |    4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

commit 2493a9973582cb079a2bda5beeb8b1f3e9332b48
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date:   Sun Jan 12 12:31:31 2014 +0100

    Fix timestamp counter on s390/s390x
    
    Fixes #811

 src/clock.cpp |    1 -
 1 file changed, 1 deletion(-)

commit d4f988649da12415e431001fb7c0b748d4742714
Merge: 0b11c31 830e022
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 3 02:55:18 2014 -0800

    Merge pull request #55 from hintjens/master
    
    Fixed issue #868

commit 830e0229875791641e449ec1429c7e6a7f3fd163
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 3 11:20:58 2014 +0100

    Fixed #868

 NEWS       |    2 ++
 src/ip.cpp |    1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 5a576d22dbc3efa3e50832d61a5d73abc02ece28
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 16 07:13:29 2014 +0100

    Updated NEWS for #584

 NEWS |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 89c762fb0ae0f7a62b70be12d07139190bf52d97
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 1 13:43:14 2014 +0100

    Clarified ZMQ_IDENTITY doc for duplicate identities

 doc/zmq_setsockopt.txt |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

commit 0b11c3174ef4e096dec07d0b4f62bbbeda93933e
Merge: 129cb00 63fe43a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 15 22:11:50 2014 -0800

    Merge pull request #51 from EricMCornelius/master
    
    Corrects ypipe initialization when conflate is NOT enabled.

commit 129cb00d8f04391fce7db3ba6732cf4fa0be2844
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 15 21:39:21 2014 +0100

    Update README.md

 README.md |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6982e69da4acc720f23bce6c7b8fb005ea4bbabe
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 15 21:39:00 2014 +0100

    Update README.md

 README.md |    6 ++++++
 1 file changed, 6 insertions(+)

commit 63fe43a101ac0e70cb254463a4e76081f175d775
Author: Eric Cornelius <Eric.Cornelius@mandiant.com>
Date:   Wed Jan 15 12:18:50 2014 -0800

    Corrects ypipe initialization when conflate is NOT enabled.  Fixes LIBZMQ-584

 src/pipe.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3f3f9dcec23d4927586a4bf37afe3ee27efa2169
Merge: a37c198 53bef03
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 2 14:45:47 2014 -0800

    Merge pull request #47 from vortechs2000/fix_news
    
    Adjust NEWS to include LIBZMQ-576

commit 53bef03e7bc8199da915d76394f39dff4f257f04
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Thu Jan 2 16:39:03 2014 -0600

    Adjust NEWS to include LIBZMQ-576

 NEWS |    2 ++
 1 file changed, 2 insertions(+)

commit a37c198c7db547129bb47d02597ee5669183478b
Merge: 5db0acb 047bd13
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 2 13:12:18 2014 -0800

    Merge pull request #46 from vortechs2000/fix-libzmq-576
    
    Fix LIBZMQ-576 - Revert "Merge pull request #510 from miniway/master"

commit 047bd130cfd885ce76d4c04914adaa5333f4efe7
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Thu Jan 2 11:04:43 2014 -0600

    Fix LIBZMQ-576 - Revert "Merge pull request #510 from miniway/master"
    
    This reverts commit f27eb67e1abb0484c41050e454404cce30647b63, reversing
    changes made to a3ae0d4c16c892a4e6c96d626a7c8b7068450336.
    
    Conflicts:
    	src/stream_engine.cpp
    
    Conflicts were around additional defaults to the constructor after the
    'terminating' default.  The additional defaults were left alone, and
    the 'terminating' default was removed.

 src/encoder.hpp       |    5 -----
 src/i_encoder.hpp     |    1 -
 src/stream_engine.cpp |   12 ------------
 src/stream_engine.hpp |    1 -
 4 files changed, 19 deletions(-)

commit 5db0acb044ae8feb04f8ba6ae679d7a6050bd009
Merge: 571c668 845ee0c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Dec 23 04:18:04 2013 -0800

    Merge pull request #44 from hintjens/master
    
    Issue 797

commit 845ee0c7bc4a189f612b7a6577454924bce26d56
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Dec 23 13:17:38 2013 +0100

    Updated NEWS

 NEWS |    2 ++
 1 file changed, 2 insertions(+)

commit 2ba0d159b598e4e7886c917cfb63b48d77991403
Author: Alex Grönholm <alex.gronholm+git@nextday.fi>
Date:   Sun Dec 22 02:55:18 2013 +0200

    Fixed setting TCP keepalive parameters on Windows

 src/tcp.cpp     |   30 ++++++++++--------------------
 src/windows.hpp |    1 +
 2 files changed, 11 insertions(+), 20 deletions(-)

commit 571c668fa2e0b101f607b4c4a34c30da2f174499
Merge: 97e1ecc 0552d91
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Dec 6 14:30:23 2013 -0800

    Merge pull request #43 from hintjens/master
    
    Backporting fixes from master

commit 0552d9119bada6a132a612e8284eb82a58ba26b0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Dec 5 16:52:36 2013 +0100

    Updated news for #775

 NEWS |    2 ++
 1 file changed, 2 insertions(+)

commit 3dc89feafcee31ef5169d827015f1fe2a18da08b
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Thu Dec 5 07:04:21 2013 +0800

    use enum retired_fd instead of -1
    
    using -1 causes a warning on Windows platform because SOCKET is unsigned.

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 97e1ecce228c1465d619db7c3c5a11a9dd36670c
Merge: 8b9a824 d958b67
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Dec 1 02:55:48 2013 -0800

    Merge pull request #40 from hintjens/master
    
    Backported fix for #763

commit d958b675c7918c05b92c3e0cfbd49601142cdefd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Dec 1 11:54:55 2013 +0100

    Updated NEWS for #763

 NEWS |   10 ++++++++++
 1 file changed, 10 insertions(+)

commit ff8f97e7d770651ef2e50e6f2a36069ae78e7814
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Nov 30 21:24:32 2013 +0100

    Fix issue #763

 src/stream_engine.cpp |    7 +++++++
 1 file changed, 7 insertions(+)

commit 75ba4c7292bc09e7fc58dd206447777391d06100
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Nov 24 19:00:18 2013 +0100

    Updated version number for release 4.0.4

 include/zmq.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8b9a82476b196a200b9698c9345ae8ba50cccb1c
Merge: 78b741b 4363b75
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Nov 24 09:58:59 2013 -0800

    Merge pull request #37 from hintjens/master
    
    Fixed test_many_sockets

commit 4363b75b4d9aec70b297e96d4b933110ce161a62
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Nov 24 18:56:50 2013 +0100

    Release notes for 4.0.3

 NEWS          |   10 ++++++++++
 include/zmq.h |    2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

commit c022c048dcbe15a2757ab90d2d03d89f615744a8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Nov 19 16:51:06 2013 +0100

    Fixed test_many_sockets
    
    * failed on systems where process could not allocate 1024 sockets by default
    * include path for platform.hpp was wrong; fixed it

 tests/test_many_sockets.cpp |   73 ++++++++++++++++++-------------------------
 tests/testutil.hpp          |    2 +-
 2 files changed, 32 insertions(+), 43 deletions(-)

commit 78b741bd71995c7b73a2cbe449f2c6028610f7e4
Merge: d743dda ba7c065
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Nov 24 03:47:58 2013 -0800

    Merge pull request #36 from hintjens/master
    
    Updated version number for 4.0.2

commit ba7c065c3dd13453c79d7a07efa1c6c3e56bdf18
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Nov 24 12:45:47 2013 +0100

    Updated version number for 4.0.2
    
    - also moved macros to top of zmq.h for better visibility

 include/zmq.h |   30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)

commit d743ddafda6dd45f178cd6c8bd98c32b1aa4c49b
Merge: e193915 84c0caf
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Nov 24 03:42:01 2013 -0800

    Merge pull request #35 from hintjens/master
    
    Updated NEWS for release 4.0.2

commit 84c0caf42eae2e1871d880bfd6722a5011c8e531
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Nov 24 12:41:16 2013 +0100

    Updated NEWS for release 4.0.2

 NEWS |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit e1939155ff4aab3c7d543e0ef089349a10814895
Merge: 30309d6 9ece2d3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Nov 19 02:01:23 2013 -0800

    Merge pull request #34 from hintjens/master
    
    Backporting fixes from master

commit 9ece2d322a6189d02f1a57bf499dda8510665d16
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Nov 13 13:57:53 2013 +0100

    Added links to RFCs for socket patterns

 doc/zmq_socket.txt |    4 ++++
 1 file changed, 4 insertions(+)

commit 589bf436dd08066b7a7fdd608c31c41b9a15b936
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Tue Nov 12 01:12:24 2013 +0800

    remove all asserts during critical section
    
    the size of the critical section is reduced by only entering the critical
    section right before the bind().

 src/signaler.cpp |   76 ++++++++++++++++++++++--------------------------------
 1 file changed, 31 insertions(+), 45 deletions(-)

commit e54e55835e6caa07a5805e1b7d1e7e6e5e098b74
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Tue Nov 12 00:07:06 2013 +0800

    return error to caller on bind error

 src/signaler.cpp |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

commit 111c20dc22709e58ff2c5718c04210eee1a359e5
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Nov 11 13:54:58 2013 +0000

    Fix signed/unsigned comparison

 tests/test_many_sockets.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3a4896f4a36e6df2d2f7b62b1d64ef7d74774a90
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Nov 11 13:53:25 2013 +0000

    Fix signed/unsigned comparison

 tests/test_many_sockets.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0855c28069bd87f4c50ecb5606641522654f97a1
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Nov 11 13:41:42 2013 +0000

    Reduce default maximum number of sockets by 1 so there is room for the reaper socket.

 include/zmq.h               |    2 +-
 tests/test_many_sockets.cpp |   79 +++++++++++++++++++++++++++++++++++--------
 2 files changed, 65 insertions(+), 16 deletions(-)

commit 737b6afc97ef959480fb2ae69192eb8965fe99d6
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Nov 11 13:09:23 2013 +0000

    Revert "Make FD_SETSIZE = ZMQ_MAX_SOCKETS_DFLT + 1 so there is room for the repear socket."
    
    This reverts commit 0b92831b2a82c3bbc0e9371662c546b94915a3ea.

 CMakeLists.txt                             |    2 +-
 builds/mingw32/Makefile.mingw32            |    2 +-
 builds/msvc/libzmq/libzmq.vcproj           |   10 +++++-----
 builds/msvc/properties/ZeroMQ.props        |    2 +-
 builds/msvc/properties/ZeroMQ_Static.props |    2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

commit 8f85bafe372d96212764a51737835fef82e035a8
Author: psl-felipefarinon <felipe.farinon@powersyslab.com>
Date:   Mon Nov 11 10:20:28 2013 -0200

    issue #583 removing C++11 code.

 src/clock.cpp |    1 -
 1 file changed, 1 deletion(-)

commit f72dbb35d5e9d864acb1634f96c7efd7f4ead15f
Author: Bruno D. Rodrigues <bruno.rodrigues@litux.org>
Date:   Sun Nov 10 10:19:19 2013 +0000

    Fix socket creation above sistem limits for all 'other' OS not covered by eventfd, windows or vms; enhanced test to create sockets up to a bigger limit to really test hitting the OS limit

 src/signaler.cpp            |    2 +-
 tests/test_many_sockets.cpp |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

commit 5d6e7a74c1e50559f0ee3cb37dc61e21ea818c67
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Nov 9 09:59:21 2013 +0100

    Added test case to ignore

 .gitignore |    1 +
 1 file changed, 1 insertion(+)

commit 30309d660e4d3ef72d677ad059ed57f0ca80471c
Merge: f745e4c e0c8a11
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Nov 9 00:56:52 2013 -0800

    Merge pull request #32 from hintjens/master
    
    Cherry picking changes from libzmq master

commit e0c8a112a43cd13bd3e21696b26e0357037d4759
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Nov 9 09:56:21 2013 +0100

    Cherry picking fixes from master

 .gitignore        |    1 +
 NEWS              |   13 +++++++------
 tests/Makefile.am |    1 -
 3 files changed, 8 insertions(+), 7 deletions(-)

commit f6293d257d9f649ef82ce40850d1b18cca9a89dd
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Oct 9 10:51:30 2013 +0200

    Signal that the peer performed orderly shutdown

 src/stream_engine.cpp |   77 +++++++++++++++++++++++--------------------------
 src/stream_engine.hpp |    7 ++---
 2 files changed, 39 insertions(+), 45 deletions(-)

commit f33bdcf02e4781943a5c000af707a0d011d59b8f
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Nov 7 17:50:29 2013 +0000

    Fix formatting.

 src/ctx.cpp     |    8 ++++----
 src/devpoll.cpp |    2 +-
 src/devpoll.hpp |    2 +-
 src/epoll.cpp   |    2 +-
 src/epoll.hpp   |    2 +-
 src/kqueue.cpp  |    2 +-
 src/kqueue.hpp  |    2 +-
 src/poll.cpp    |    2 +-
 src/poll.hpp    |    2 +-
 src/select.cpp  |    2 +-
 src/select.hpp  |    2 +-
 11 files changed, 14 insertions(+), 14 deletions(-)

commit fef24a8c1f5c1f806c11e35eb8d93e1fc334bb47
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Nov 7 18:26:13 2013 +0000

    Make FD_SETSIZE = ZMQ_MAX_SOCKETS_DFLT + 1 so there is room for the repear socket.

 CMakeLists.txt                             |    2 +-
 builds/mingw32/Makefile.mingw32            |    2 +-
 builds/msvc/libzmq/libzmq.vcproj           |   10 +++++-----
 builds/msvc/properties/ZeroMQ.props        |    2 +-
 builds/msvc/properties/ZeroMQ_Static.props |    2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

commit bfc3deb43a271e13c0cb44ed0694fdd80848298d
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Nov 7 17:46:19 2013 +0000

    Get maximum number of sockets it can handle from poller_t

 src/ctx.cpp     |   12 ++++++++++--
 src/devpoll.cpp |    5 +++++
 src/devpoll.hpp |    2 ++
 src/epoll.cpp   |    5 +++++
 src/epoll.hpp   |    2 ++
 src/kqueue.cpp  |    5 +++++
 src/kqueue.hpp  |    2 ++
 src/poll.cpp    |    5 +++++
 src/poll.hpp    |    2 ++
 src/select.cpp  |    5 +++++
 src/select.hpp  |    2 ++
 11 files changed, 45 insertions(+), 2 deletions(-)

commit dccf1dce1e12109adc669b68a80398c3b927b804
Author: psl-felipefarinon <felipe.farinon@powersyslab.com>
Date:   Thu Nov 7 15:21:42 2013 -0200

    Fixing broken build issue #583

 src/clock.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 24311dee1b8b53b9280a255e5a05b180f812afdf
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Nov 7 16:47:55 2013 +0000

    Add test case for many sockets
    
    Conflicts:
    	CMakeLists.txt
    	tests/Makefile.am

 CMakeLists.txt              |    4 +++-
 tests/Makefile.am           |    5 ++++-
 tests/test_many_sockets.cpp |   51 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+), 2 deletions(-)

commit 27d20aacc7563ffa376198acb1a509c4fb35f4fb
Author: psl-felipefarinon <felipe.farinon@powersyslab.com>
Date:   Thu Nov 7 14:06:54 2013 -0200

    Fixing issue #583. Using low resolution timer for clock::now_ms

 src/clock.cpp |   58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 56 insertions(+), 2 deletions(-)

commit b2698474d2b0036ad27b9056d703e864bd96b706
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Nov 7 15:30:25 2013 +0100

    Simplified fdpair reset after fork

 src/signaler.cpp |   22 ++++------------------
 1 file changed, 4 insertions(+), 18 deletions(-)

commit 0465e9abe922db5f47e50998c0d495351373b1c1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Nov 7 15:26:56 2013 +0100

    Simplified error handling for make_fdpair on Windows

 src/signaler.cpp |    7 -------
 1 file changed, 7 deletions(-)

commit 885c816e5718c406d18cbccbc4093b0e46761821
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Nov 7 14:59:53 2013 +0100

    Fix for issue 574

 src/signaler.cpp    |   89 ++++++++++++++++++++++++++-------------------------
 src/signaler.hpp    |    4 +--
 src/socket_base.cpp |   82 ++++++++++++++++++++++++-----------------------
 3 files changed, 89 insertions(+), 86 deletions(-)

commit 7f3d0995cda22fd504bbf106a719a8f8c755ce96
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Nov 6 13:30:41 2013 +0100

    Removed over-long pauses in tests
    
    - used msleep (10) in most places instead of zmq_sleep (1)
    - may cause failures on slower machines
    - to change, modify SETTLE_TIME in testutil.h
    - tested down to 1 msec on fast boxes
    
    Conflicts:
    	tests/test_connect_delay_tipc.cpp
    	tests/test_proxy.cpp
    	tests/test_sub_forward_tipc.cpp
    	tests/test_term_endpoint_tipc.cpp
    	tests/testutil.hpp

 tests/test_conflate.cpp       |    7 ++-----
 tests/test_ctx_destroy.cpp    |    2 +-
 tests/test_immediate.cpp      |    3 +--
 tests/test_inproc_connect.cpp |    2 +-
 tests/test_iov.cpp            |    2 +-
 tests/test_monitor.cpp        |    6 +++---
 tests/test_req_relaxed.cpp    |    2 +-
 tests/test_spec_req.cpp       |    2 +-
 tests/test_sub_forward.cpp    |    2 +-
 tests/test_term_endpoint.cpp  |    4 ++--
 tests/testutil.hpp            |   17 +++++++++++++++++
 11 files changed, 31 insertions(+), 18 deletions(-)

commit f745e4ce64d772c40fa7622568f886984f5c7ce2
Merge: 806f57e de239f3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Nov 6 11:26:05 2013 -0800

    Merge pull request #31 from hintjens/master
    
    Backported fixes for libzmq-39 and other patches.

commit de239f358e02c4d42a2c4426ffee893e101c90b2
Author: Richard Newton <richard_newton@waters.com>
Date:   Wed Nov 6 15:19:04 2013 +0000

    Fix race condition on shutdown

 src/ctx.cpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 30f470eff56d4b7f778cd83bda0ea689cf752a41
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Oct 28 08:34:32 2013 +0000

    Fix test warning.

 tests/test_ctx_options.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f0b69bba286dcd9689e40674a84cf1ab940a2d81
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Oct 28 08:30:31 2013 +0000

    Fix test warning.

 tests/test_router_raw_empty.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 60032ef3301316ef00e9bce4f34a9a22d075b83e
Author: MinRK <benjaminrk@gmail.com>
Date:   Sun Oct 27 22:50:32 2013 -0700

    test zmq_msg_close after sending empty message on ROUTER_RAW

 tests/Makefile.am               |    2 ++
 tests/test_router_raw_empty.cpp |   65 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

commit c663f37761c7bebd0061061ede13a4e9aef5b6f4
Author: MinRK <benjaminrk@gmail.com>
Date:   Sun Oct 27 22:50:04 2013 -0700

    add missing msg->init for ROUTER_RAW with empty message

 src/router.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 806f57e7f6e93a4c3e333e63fab8cfc003a29368
Merge: 28b7c99 b22c2e4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Nov 4 08:44:38 2013 -0800

    Merge pull request #30 from hintjens/master
    
     Cherry picking fixes from libzmq

commit b22c2e4f8a8c11bfbbe74c43134a481b3a90d104
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Nov 4 17:37:15 2013 +0100

    Updated NEWS

 NEWS |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 54a3ebcac656d9451e7a3b59f092b1949c9e9ac7
Author: Denis Mingulov <denis@mingulov.com>
Date:   Mon Nov 4 15:15:23 2013 +0200

    Doc examples with zmq_msg_close usage - parameter is 'zmq_msg_t *'
    
    Documentation examples for zmq_msg_get and zmq_msg_more functions have an
    incorrect call to zmq_msg_close function - with 'zmq_msg_t' as a parameter
    despite 'zmq_msg_t *' is required, so it is impossible to compile these
    examples properly.
    
    Also for zmq_msg_get example - declaration of zmq_msg_t variable is added
    (like it is done in other examples).

 doc/zmq_msg_get.txt  |    3 ++-
 doc/zmq_msg_more.txt |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

commit aede37e3e5913b6c8abdd286c2991f2784344140
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Nov 4 16:04:13 2013 +0100

    Fixed issue 578 - corrected type usage

 src/zmq_utils.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2949f2dbc5c1e73ab50333fb4fae60852bf21c85
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Nov 4 15:39:20 2013 +0100

    Fixed issue 578

 .gitignore        |    9 +++++++++
 src/zmq_utils.cpp |   11 ++++++-----
 2 files changed, 15 insertions(+), 5 deletions(-)

commit 28b7c991afe738a88d7f6d0340987898e06b0c7a
Merge: c85fbaf 1c70e91
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 28 03:58:52 2013 -0700

    Merge pull request #28 from hintjens/master
    
    Fixed configure error on non-Linux boxes

commit 1c70e91c6f0db4418b4ff4eccf935af667ddbfeb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 28 11:58:29 2013 +0100

    Fixed configure error on non-Linux boxes

 tests/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c85fbaf22e5f8ff79039ee2d87dd455484979b75
Merge: cb3c822 b580557
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 28 03:49:45 2013 -0700

    Merge pull request #27 from hintjens/master
    
    Fixed ref to zmq_socket_monitor

commit b58055794bda1c25be7b7d9829f96913f1ce2758
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 28 11:49:23 2013 +0100

    Fixed ref to zmq_socket_monitor

 NEWS              |    2 +-
 doc/zmq.txt       |    6 +++---
 tests/Makefile.am |    3 ---
 3 files changed, 4 insertions(+), 7 deletions(-)

commit cb3c82271a7a34ab0ebe0d3353105ba2c14a2d35
Merge: bf97ea8 9bf10a8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 25 01:04:06 2013 -0700

    Merge pull request #26 from hintjens/master
    
    Backporting fixes from master

commit 9bf10a83a17a900640f4658a3ce9b695359a70ce
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 25 10:03:42 2013 +0200

    Updated NEWS

 NEWS |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 8efd7affc677cb9d40167137b27d99e9b670affc
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 23 23:58:39 2013 +0200

    test_stream failed when response was broken into frames

 tests/test_stream.cpp |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

commit bf97ea8ed8ecb5b3d13e7a0c7ace631437f7151e
Merge: 2b8d86c cd2afeb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 23 07:04:20 2013 -0700

    Merge pull request #25 from hintjens/master
    
    Clarified use of secret/public keys

commit cd2afebd0a0f9861f4d90282029822d94aa1c979
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 23 16:03:45 2013 +0200

    Clarified use of secret/public keys

 doc/zmq_setsockopt.txt |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

commit 2b8d86c24a092d8622643ea68830daa6477ee227
Merge: 573d7b0 bd411bb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 23 03:05:44 2013 -0700

    Merge pull request #24 from hintjens/master
    
    Fixed man page for CURVE key options

commit bd411bbf116d491e08eef9172dee1bc6786196e3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 23 12:04:50 2013 +0200

    Fixed man page for CURVE key options

 doc/zmq_setsockopt.txt |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

commit 573d7b0c0b8abd4a4e616d503f8a2c80a1ecaf40
Merge: 07d7cf6 dcb9312
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Oct 13 23:05:54 2013 -0700

    Merge pull request #23 from hintjens/master
    
    Backporting LIBZMQ-569 fix from master

commit dcb9312ba697b3dcb0912344f27d5665ced7d8a2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 14 08:04:57 2013 +0200

    Updated NEWS for backport

 NEWS |    9 +++++++++
 1 file changed, 9 insertions(+)

commit 54907946664d6eed2e12e7e9eda7de3f4d9f290f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Jun 21 16:23:38 2013 +0200

    Load identity message to decoder at start

 src/stream_engine.cpp |    7 +++++++
 1 file changed, 7 insertions(+)

commit 07d7cf69d03635cb249fc01e082d68669b4f26a6
Merge: 4f2ac39 b24db36
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Oct 13 05:47:11 2013 -0700

    Merge pull request #22 from hintjens/master
    
    Temporary workaround for broken libsodium install

commit b24db360570c335b9f420b07574dd0c9873e6136
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Oct 13 14:46:08 2013 +0200

    Temporary workaround for broken libsodium install

 .travis.yml |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 4f2ac39d2822c5d30554a56db4dbd58b7bb534d5
Merge: 8cdff6f a32c02a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 11 03:12:27 2013 -0700

    Merge pull request #21 from hintjens/master
    
    Backporting fixes from master

commit a32c02ae47484a6b60fb7895fb0b9ee39573fc10
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 9 19:52:46 2013 +0200

    Identity can only be set on sockets that can connect to ROUTER

 doc/zmq_getsockopt.txt |    6 +++---
 doc/zmq_setsockopt.txt |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 622e3b54760a78d6f7d14cc5b1ceba99f3e690ad
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Sep 26 09:37:04 2013 +0200

    Rename engine's methods to improve code readability

 src/i_engine.hpp      |    4 ++--
 src/pgm_receiver.cpp  |    4 ++--
 src/pgm_receiver.hpp  |    4 ++--
 src/pgm_sender.cpp    |    4 ++--
 src/pgm_sender.hpp    |    4 ++--
 src/session_base.cpp  |    4 ++--
 src/stream_engine.cpp |   34 +++++++++++++++++-----------------
 src/stream_engine.hpp |    8 ++++----
 8 files changed, 33 insertions(+), 33 deletions(-)

commit 6c036b39ae7de197473c43c5f8de79657b0e8ae6
Author: xantares <xantares09@hotmail.com>
Date:   Thu Oct 10 22:08:54 2013 +0200

    Fixed out-of-source build

 tools/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8cdff6fa2e06763bb430a04f4159135e558ca001
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 8 17:54:41 2013 +0200

    Fixed NEWS

 NEWS |    3 ---
 1 file changed, 3 deletions(-)

commit f8cebb460a94ddee613fd7f4ed23300f9cc790ba
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 8 15:02:58 2013 +0200

    Revert "replace macro constants with enum types for user facing constants"
    
    This reverts commit 4fb74539250d83e82e40e85d39e2e756eccdb8a3.

 include/zmq.h |  222 ++++++++++++++++++++++++++-------------------------------
 1 file changed, 101 insertions(+), 121 deletions(-)

commit d62e7a0734b7a69e199bfa22209275ab5da7a639
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 8 15:02:47 2013 +0200

    Revert "distinguish between options and defaults"
    
    This reverts commit e7db680f5b709ce821f79b1e8956f4cbd1931c11.

 include/zmq.h |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

commit a44bd65d03f1d6a79bf818584c0ae37ef46478d4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 8 10:46:47 2013 +0200

    Fixed NEWS for 4.0.1 release

 NEWS |   28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

commit 437e4070a37367a4d6c272b4c39ea9b92c31c2b3
Merge: c852620 0bfcd4d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 8 01:36:58 2013 -0700

    Merge pull request #19 from hintjens/master
    
    Updated NEWS for 4.0.1

commit 0bfcd4da2f50c215836c878d00175e73e6fa4d46
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 8 10:33:50 2013 +0200

    Updated NEWS for 4.0.1

 NEWS |   33 ++++++++++++++++++++++++++++++---
 1 file changed, 30 insertions(+), 3 deletions(-)

commit c852620f5f33d50698817be0b66f85fbc7ac59a3
Merge: 163aebb ca122e9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 8 00:20:40 2013 -0700

    Merge pull request #18 from hintjens/master
    
    Cherry picking changes from libzmq master

commit ca122e9d01f44194bb2a107ed1f8275a0b17c319
Author: Volodymyr Korniichuk <9173519@gmail.com>
Date:   Tue Oct 8 00:40:30 2013 +0300

    Typo in type name "emTPy_slots_t"
    
    https://zeromq.jira.com/browse/LIBZMQ-565

 src/ctx.hpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e7db680f5b709ce821f79b1e8956f4cbd1931c11
Author: Dylan Cali <calid1984@gmail.com>
Date:   Fri Oct 4 02:19:07 2013 -0500

    distinguish between options and defaults

 include/zmq.h |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 4fb74539250d83e82e40e85d39e2e756eccdb8a3
Author: Dylan Cali <calid1984@gmail.com>
Date:   Fri Oct 4 01:45:42 2013 -0500

    replace macro constants with enum types for user facing constants

 include/zmq.h |  222 +++++++++++++++++++++++++++++++--------------------------
 1 file changed, 121 insertions(+), 101 deletions(-)

commit 813166019e1c6955776ff3fab1918b1b4b4c5445
Author: Brandon Carpenter <brandon.carpenter@pnnl.gov>
Date:   Mon Oct 7 10:55:40 2013 -0700

    Add tests/test_abstract_ipc to .gitignore.

 .gitignore |    1 +
 1 file changed, 1 insertion(+)

commit 127cd7585a992a2f9a2a30c172f624fd2dc1196e
Author: Brandon Carpenter <brandon.carpenter@pnnl.gov>
Date:   Mon Oct 7 10:42:39 2013 -0700

    Fix detection of abstract ipc pathname and length calculation.
    
    Abstract socket pathnames must have a NULL character in the first
    position, but the second character must also be checked to differentiate
    an abstract name from the empty string.  The address length must also
    indicate the length of the pathname because the kernel uses the entire
    address as the name, including NULL characters.  ZMQ uses
    NULL-terminated strings for the address, so the abstract address length
    is the length of the string following the initial NULL byte plus 3; two
    bytes for the address family and one for the initial NULL character.

 src/ipc_address.cpp |   19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

commit 0666152b216fe20e54c082461924e034af2efd11
Author: Brandon Carpenter <brandon.carpenter@pnnl.gov>
Date:   Mon Oct 7 10:41:20 2013 -0700

    Add note on Linux abstract namespace to ipc documentation.

 doc/zmq_ipc.txt |    5 +++++
 1 file changed, 5 insertions(+)

commit 9293153f71e7fa9c34eecb3951fc08f71c9630bb
Author: Volodymyr Korniichuk <VolodymyrKorn@gmail.com>
Date:   Fri Oct 4 21:54:52 2013 +0300

    useless checks were removed

 src/ctx.cpp           |    6 ++----
 src/mtrie.cpp         |    3 +--
 src/session_base.cpp  |    3 +--
 src/stream_engine.cpp |    9 +++------
 src/trie.cpp          |    3 +--
 src/yqueue.hpp        |    6 ++----
 6 files changed, 10 insertions(+), 20 deletions(-)

commit 163aebbacfc904bf5b29454a641ddb7a597b3552
Merge: b20573c 80d657a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Oct 5 00:20:49 2013 -0700

    Merge pull request #17 from hintjens/master
    
    Cherry picking changes from libzmq master

commit 80d657a2c529a1d847eab4cf6285c2279aae208c
Author: Brandon Carpenter <brandon.carpenter@pnnl.gov>
Date:   Thu Oct 3 16:35:30 2013 -0700

    Add test for abstract namespace support in ipc sockets on Linux.
    
    See issue 567.

 configure.ac                |    3 +++
 tests/Makefile.am           |    8 +++++-
 tests/test_abstract_ipc.cpp |   57 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+), 1 deletion(-)

commit 668f000cb148ee9e06b90d3b0b9504a16a3e7c52
Author: Brandon Carpenter <brandon.carpenter@pnnl.gov>
Date:   Thu Oct 3 16:21:42 2013 -0700

    Add abstract namespace support for IPC sockets on Linux.
    
    Converts an initial strudel or "at sign" (@) in the Unix socket path to
    a NULL character ('\0') indicating that the socket uses the abstract
    namespace instead of the filesystem namespace.  For instance, binding a
    socket to 'ipc://@/tmp/tester' will not create a file associated with
    the socket whereas binding to 'ipc:///tmp/tester' will create the file
    /tmp/tester.  See issue 567 for more information.

 AUTHORS             |    1 +
 src/ipc_address.cpp |   12 ++++++++++++
 2 files changed, 13 insertions(+)

commit a570b18931b52ac1d4b26eef88fe7dc630a4d192
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Sat Oct 5 00:51:47 2013 +0800

    WinSock2.h filename should be all lowercase

 tests/test_system.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5493d4d180924f67c755e2c44d615910b25402ce
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Sat Oct 5 00:48:52 2013 +0800

    test for _MSC_VER before using MSVC specific code

 tests/testutil.hpp |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit b20573c8412f822cde267d93cccb981815251501
Merge: 34471cd 814b93e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 4 00:19:57 2013 -0700

    Merge pull request #16 from hintjens/master
    
    Cherry picking changes from libzmq master

commit 814b93e0cff2e2437c6b33b2bcb007ad79ad42ee
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Oct 4 08:20:55 2013 +0200

    Stop curve handshake when cookie box verification fails

 src/curve_server.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d723b08c134e5f07897c48aaa99fc0b7b2afff02
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 24 15:31:10 2013 +0200

    Updated libzmq CURVE to track RFC 27
    
    * The INITIATE command vouch box is Box[C',S](C->S') instead of Box[C'](C->S),
      as recommended by https://codesinchaos.wordpress.com/2012/09/09/curvecp-1/,
      to reduce the risk of client impersonation.
    
    * Mirrors the change in libcurve and CurveZMQ specifications.

 src/curve_client.cpp |   25 ++++++++++++++-----------
 src/curve_server.cpp |   26 ++++++++++++--------------
 2 files changed, 26 insertions(+), 25 deletions(-)

commit 62fd6fa8614f86a25ab9f4b2a3fab548c7eb6eaa
Author: Matt Connolly <matt.connolly@me.com>
Date:   Tue Sep 24 08:07:10 2013 +1000

    git ignore test run output files: tests/test*.{log|trs}

 .gitignore |    2 ++
 1 file changed, 2 insertions(+)

commit a78ccf293fbef3d18e05e904a78d54bb7b2d7e0c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 2 12:15:31 2013 +0200

    Disabled randomly failing part of test

 tests/test_spec_rep.cpp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit d82ba6bd534e20fbad35bae1e8504624967e02fb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 2 12:05:14 2013 +0200

    Clarified that zmq.h constants are part of the public contract

 include/zmq.h |    8 ++++++++
 1 file changed, 8 insertions(+)

commit 9da52ddf59127858e89f5c6ca7e54dcd1c769f1e
Author: Dylan Cali <calid1984@gmail.com>
Date:   Wed Oct 2 02:59:44 2013 -0500

    fix minor typo in zmq_ctx_get doc example

 doc/zmq_ctx_get.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a69fa9ecde029db8052cc2df94e4f7ae1eca26ba
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 30 15:14:02 2013 +0200

    Packaging for zmq_curve_keypair function
    
    * Added new man page for this
    * Added test case, in tests/test_security_curve.cpp
    * Noted in zmq_utils.h that these methods are documented

 doc/Makefile.am               |    2 +-
 doc/zmq.txt                   |    9 +++++++
 doc/zmq_curve_keypair.txt     |   56 +++++++++++++++++++++++++++++++++++++++++
 doc/zmq_z85_decode.txt        |    2 +-
 doc/zmq_z85_encode.txt        |    1 +
 include/zmq_utils.h           |   24 ++++++++++--------
 tests/test_security_curve.cpp |   24 ++++++++++++------
 7 files changed, 98 insertions(+), 20 deletions(-)

commit facb96ffca8a6ef505348ba449dd447ba2dcb52e
Author: MinRK <benjaminrk@gmail.com>
Date:   Sun Sep 29 13:05:27 2013 -0700

    use zmq_curve_keypair in curve_keygen

 tools/curve_keygen.c |   34 ++++++++++++----------------------
 1 file changed, 12 insertions(+), 22 deletions(-)

commit 3c469d04c1e4879610fae795046c7373abdabd2a
Author: MinRK <benjaminrk@gmail.com>
Date:   Sun Sep 29 13:07:51 2013 -0700

    return NULL and set EINVAL on bad z85 input
    
    asserts aren't appropriate for checking user input.

 src/zmq_utils.cpp |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

commit 870233522c4be1202ba2ed333f32d1c2738698d4
Author: MinRK <benjaminrk@gmail.com>
Date:   Sun Sep 29 13:02:39 2013 -0700

    add zmq_curve_keypair to zmq_utils

 include/zmq_utils.h |    4 ++++
 src/zmq_utils.cpp   |   37 ++++++++++++++++++++++++++++++++++++-
 2 files changed, 40 insertions(+), 1 deletion(-)

commit 34471cd59110d5adb9d428a93db3df45ae9a4ec8
Merge: 17d12a6 453ceb6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 29 08:04:10 2013 -0700

    Merge pull request #12 from hintjens/master
    
    Backporting fixes from master

commit 453ceb65b4a5e47fd8afe01035fda6b71512addb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 29 17:03:44 2013 +0200

    Fixed merge conflict error

 configure.ac |    1 -
 1 file changed, 1 deletion(-)

commit 4d82544c34990423a2195385b6a7d0cdb2c0abc0
Author: Matt Connolly <matt.connolly@me.com>
Date:   Sun Sep 29 21:19:50 2013 +1000

    config for libsodium in alternate path, using CPP flags for both C and C++ sources.

 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit bd6bca7c8209a5503eee1e2dba07c4674058e66a
Author: MinRK <benjaminrk@gmail.com>
Date:   Sat Sep 28 15:42:52 2013 -0700

    include missing platform.hpp in curve_keygen
    
    it was excluded, so HAVE_SODIUM would never be defined,
    leading to curve_keygen always reporting "recompile with libsodium"

 tools/curve_keygen.c |    1 +
 1 file changed, 1 insertion(+)

commit 087ddac593570b8efb115d592318bafe7b6748e3
Author: MinRK <benjaminrk@gmail.com>
Date:   Sat Sep 28 15:42:00 2013 -0700

    declare z85_encode / decode in zmq_utils
    
    they are used by curve_keygen, but not available

 include/zmq_utils.h |    6 ++++++
 1 file changed, 6 insertions(+)

commit d1b686b644f834b319378d65935a23a59c997b5c
Author: Matt Connolly <matt.connolly@me.com>
Date:   Fri Sep 27 11:20:09 2013 +0000

    Disable compiler warning for Solaris

 configure.ac |    1 +
 1 file changed, 1 insertion(+)

commit 4dc36c0dba23c93703450ad73ecbd0587d772e31
Author: Matt Connolly <matt.connolly@me.com>
Date:   Fri Sep 27 11:12:16 2013 +0000

    Add '-lssp' linker flag for Solaris. Check for libraries after host specific setup.

 configure.ac |   50 ++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 46 insertions(+), 4 deletions(-)

commit 17d12a6be192210f0c67b50eda024a1b65a81d69
Merge: cd452d5 89b97cb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 26 05:48:49 2013 -0700

    Merge pull request #9 from hintjens/master
    
    Cherry picking changes from libzmq master

commit 89b97cbe5955d3fd34734656f9a589968d90189c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 26 14:32:47 2013 +0200

    Updated CMake project for test_issue_566

 CMakeLists.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit b0059211d53f9d7919fe461c681cee0f0c9ecdbe
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 26 14:18:40 2013 +0200

    Added test case for issue 566
    
    * Tests dealer-to-router connection 100 times
    * This was failing in ZMQ v4.0.0 RC1

 .gitignore               |    1 +
 src/stream_engine.cpp    |    2 +-
 tests/Makefile.am        |    4 ++-
 tests/test_issue_566.cpp |   85 ++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 90 insertions(+), 2 deletions(-)

commit cd452d501967d6d753ed132305252970d9608436
Merge: 9cbcc49 dd185e1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 26 03:32:10 2013 -0700

    Merge pull request #8 from hintjens/master
    
    Backporting fixes from master

commit dd185e13bf0e502e38412cc712717ce2bc771302
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 26 12:31:43 2013 +0200

    Bumped version for 4.0.1

 NEWS          |   13 +++++++++++++
 include/zmq.h |    2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

commit 517601de10450635fd9d6cef5f7a8d9ef88a6a56
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 26 11:35:52 2013 +0200

    curve_keygen needed assert.h

 tools/curve_keygen.c |    1 +
 1 file changed, 1 insertion(+)

commit 5e25b32c3679752b40c7a7aa0d25c83150b688d1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 26 11:33:44 2013 +0200

    Build/test errors on OS/X with clang++

 src/options.cpp       |    2 +-
 tests/test_stream.cpp |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

commit a5152245bdd39caa747ae7f38374faa945cb51ed
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Sep 26 09:38:09 2013 +0200

    Call flush after writing the identity message

 src/stream_engine.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 9cbcc49a4acee8d84890f70698b8233debefb1cf
Merge: 2d5bad9 8a931a7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 24 03:32:02 2013 -0700

    Merge pull request #6 from ipechorin/master
    
    stdint.h is not available on all platforms

commit 2d5bad96e3c4b1bc5dd9cd822afca5b4e6f01ce5
Merge: b04df2c c99b727
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 24 03:31:08 2013 -0700

    Merge pull request #7 from hintjens/master
    
    Fixed build for MSVC 2008

commit c99b727f6dbbc8fdfa70d1ca2a5ca538601805a1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 24 12:29:29 2013 +0200

    Fixed build for MSVC 2008

 include/zmq_utils.h |   15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

commit 8a931a7554931d9a387edaa07fd76b5d41257b1e
Author: Ivan Pechorin <ivan.pechorin@gmail.com>
Date:   Tue Sep 24 14:00:08 2013 +0400

    stdint.h is not available on all platforms

 include/zmq.h       |    3 +++
 include/zmq_utils.h |    1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

commit b04df2c5309f049202c4f7da78258e3f4fb5432a
Merge: ad1bae2 4df7cb0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 24 00:12:03 2013 -0700

    Merge pull request #4 from hintjens/master
    
    Updated library ABI version

commit 4df7cb043e3649550de7fadbc53635056fb2f4ed
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 24 09:11:17 2013 +0200

    Bumped library version and age

 configure.ac |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 201454e8660477fd683aa29d9dadc379c60f5c5a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 23:17:01 2013 +0200

    Move away from port 8080 which is occupied on some boxes

 tests/test_stream.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit ad1bae21608710e3f85253f9ad7fb4ecf1431fc8
Merge: 61d8bf9 77f394a
Author: Richard Newton <richard_newton@waters.com>
Date:   Fri Sep 20 12:48:29 2013 -0700

    Merge pull request #3 from vortechs2000/fix_aix
    
    Revert "Reference platform.h by ../src/platform.h - AIX is ignoring -I flags"

commit 77f394a6813fcf238eb44c9c320116f9921fd1f7
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Fri Sep 20 14:39:01 2013 -0500

    Revert "Reference platform.h by ../src/platform.h - AIX is ignoring -I flags"
    
    This reverts commit 1e8e4d79c885b27831e2196d94987cc2817e0f04.

 perf/inproc_lat.cpp |    3 +--
 perf/inproc_thr.cpp |    3 +--
 tests/testutil.hpp  |    3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

commit 61d8bf9b11e11cfd49302d850dacb5feda33b4aa
Merge: c0c8ce5 1e8e4d7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 09:54:03 2013 -0700

    Merge pull request #2 from vortechs2000/fix_aix
    
    Reference platform.h by ../src/platform.h - AIX is ignoring -I flags

commit 1e8e4d79c885b27831e2196d94987cc2817e0f04
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Fri Sep 20 11:43:53 2013 -0500

    Reference platform.h by ../src/platform.h - AIX is ignoring -I flags

 perf/inproc_lat.cpp |    3 ++-
 perf/inproc_thr.cpp |    3 ++-
 tests/testutil.hpp  |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

commit c0c8ce550888272b155400457661e8315546822f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 16:41:08 2013 +0200

    File was missing from Makefile.am

 src/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

commit 66b1bc6d7f3e04df298270c10f16bf07cc7ef326
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 16:15:53 2013 +0200

    Added link to security tutorial

 NEWS |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f5ecc826d963d72affb8cf79c6fd279662fd4b7a
Merge: 8f0a757 a31fe95
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 07:06:48 2013 -0700

    Merge pull request #1 from hintjens/master
    
    Preparation for 4.0.0 release

commit a31fe9565aa26d73aa4d8bbb0091552056cb5751
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 16:03:14 2013 +0200

    Source distribution was broken

 src/Makefile.am   |    1 -
 tools/Makefile.am |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

commit 2f4905500d862bb9f0f3871c367d67fb020384b0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 16:02:55 2013 +0200

    Version number is 4.0.0

 include/zmq.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c10a3ec526a0cc226ad64b74fed6c1b3b04b8daa
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 15:53:27 2013 +0200

    Updated NEWS for 4.0.0

 NEWS |  111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 109 insertions(+), 2 deletions(-)

commit e0676a2b26c5b215d07061c8b6606b12a9e0c961
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 15:30:04 2013 +0200

    Renamed new socket options to be clearer
    
    * ZMQ_REQ_STRICT was negative option (default 1) which goes against
      the standard, where defaults are zero. I renamed this to
      ZMQ_REQ_RELAXED.
    
    * ZMQ_REQ_REQUEST_IDS felt clumsy and describes the technical solution
      rather than the problem/requirement. I changed to ZMQ_REQ_CORRELATE
      which seems more explicit.

 .gitignore                     |    4 +-
 CMakeLists.txt                 |    4 +-
 doc/zmq_getsockopt.txt         |    4 +-
 doc/zmq_setsockopt.txt         |   26 +++---
 include/zmq.h                  |    4 +-
 src/req.cpp                    |    6 +-
 tests/Makefile.am              |    8 +-
 tests/test_req_correlate.cpp   |  177 ++++++++++++++++++++++++++++++++++++++++
 tests/test_req_relaxed.cpp     |  116 ++++++++++++++++++++++++++
 tests/test_req_request_ids.cpp |  177 ----------------------------------------
 tests/test_req_strict.cpp      |  117 --------------------------
 11 files changed, 321 insertions(+), 322 deletions(-)

commit b411a3561d2f9f2de29bf42820ca4d408b602107
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 14:39:35 2013 +0200

    Removed inaccurate note in zmq_poll man page

 doc/zmq_poll.txt |    4 ----
 1 file changed, 4 deletions(-)

commit 4ce9b4240596f3146a15c97d11f5a3068a805883
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 14:28:06 2013 +0200

    Built zmq_send_const man page properly

 doc/Makefile.am        |    2 +-
 doc/zmq.txt            |    1 +
 doc/zmq_send_const.txt |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

commit fef4fa8fc54eb267575e534bff35cd0009485d26
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 14:23:43 2013 +0200

    Renamed test_connect_delay to test_immediate
    
    * The ZMQ_CONNECT_DELAY option was renamed to ZMQ_IMMEDIATE

 .gitignore                   |    2 +-
 CMakeLists.txt               |    2 +-
 tests/Makefile.am            |    4 +-
 tests/test_connect_delay.cpp |  229 ------------------------------------------
 tests/test_immediate.cpp     |  229 ++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 233 insertions(+), 233 deletions(-)

commit 4298f71cbf94cf391a9b6f6e6bc9971843f06bd6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 20 13:28:25 2013 +0200

    Updated NEWS for 3.2.x releases

 NEWS |   37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

commit 8f0a757f08f66688ccffdc43ca01b9d07464f032
Merge: 90867a4 78cabfe
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 19 06:09:13 2013 -0700

    Merge pull request #671 from ricnewton/master
    
    Testing github jenkins integration

commit 78cabfe8eabd252cd7a75a6a2b8af8ef1552dd51
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 19 12:58:58 2013 +0100

    More testing github jenkins integration

 AUTHORS |    1 -
 1 file changed, 1 deletion(-)

commit d503e19381e96d7cf0a07d78b33cdb55c880cac4
Merge: 544575d 90867a4
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 19 12:37:54 2013 +0100

    Merge branch 'master' of https://github.com/zeromq/libzmq

commit 544575d18ca4c81827c0becb8fa27c03e78f64bf
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 19 12:28:21 2013 +0100

    Revert "More testing github jenkins integratio"
    
    This reverts commit 0640d6d2baa014ad93ba57ad2f692af8f9081eb0.

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 0640d6d2baa014ad93ba57ad2f692af8f9081eb0
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 19 12:11:50 2013 +0100

    More testing github jenkins integratio

 AUTHORS |    1 -
 1 file changed, 1 deletion(-)

commit 575ff39bfe6b9c51b159e1e10d7881c017ef7d62
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 19 12:02:17 2013 +0100

    Testing github jenkins integration

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 90867a4e8f23c9a360c7b276b93521b1a61b7866
Merge: 39de9be 7a747b5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 19 02:42:31 2013 -0700

    Merge pull request #670 from ricnewton/master
    
    Fix cmake build

commit 7a747b5797e4976012cfe1f96f44e224b5f643f0
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 19 09:46:26 2013 +0100

    Fix cmake build

 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 39de9bebcb53ad08f745c29befe8e13c88c0cf57
Merge: de91c73 e055560
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 19 00:43:49 2013 -0700

    Merge pull request #669 from hintjens/master
    
    Renamed inproc connect test (name was too long)

commit e05556075f446c1b5004e6854a157648fe077f8b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 19 09:36:43 2013 +0200

    Renamed inproc connect test (name was too long)

 .gitignore                                |    3 +-
 tests/Makefile.am                         |    4 +-
 tests/test_inproc_connect.cpp             |  339 +++++++++++++++++++++++++++++
 tests/test_inproc_connect_before_bind.cpp |  339 -----------------------------
 4 files changed, 342 insertions(+), 343 deletions(-)

commit de91c7362cd6ca64a1a964b126658768c45e2814
Merge: 94c98ab b132305
Author: Richard Newton <richard_newton@waters.com>
Date:   Wed Sep 18 04:09:51 2013 -0700

    Merge pull request #668 from mrothe/no-public-tests
    
    tests: don't listen on public ports

commit 94c98abba3cfcdbd1127840e7ba5a06d63d467af
Merge: dc79171 825052f
Author: Richard Newton <richard_newton@waters.com>
Date:   Wed Sep 18 04:07:35 2013 -0700

    Merge pull request #667 from hintjens/master
    
    Reverted pull request 666

commit b13230510ceced26f2dd6ee4707d9403f645da15
Author: Markus Rothe <markus@unixforces.net>
Date:   Wed Sep 18 12:58:19 2013 +0200

    tests: don't listen on public ports

 tests/test_connect_delay.cpp     |    8 ++++----
 tests/test_disconnect_inproc.cpp |    2 +-
 tests/test_probe_router.cpp      |    2 +-
 tests/test_req_request_ids.cpp   |    2 +-
 tests/test_req_strict.cpp        |    2 +-
 tests/test_security_curve.cpp    |    2 +-
 tests/test_security_null.cpp     |   12 ++++++------
 tests/test_security_plain.cpp    |    2 +-
 tests/test_spec_dealer.cpp       |    2 +-
 tests/test_spec_pushpull.cpp     |    2 +-
 tests/test_spec_rep.cpp          |    2 +-
 tests/test_spec_req.cpp          |    2 +-
 tests/test_spec_router.cpp       |    2 +-
 tests/test_stream.cpp            |    4 ++--
 14 files changed, 23 insertions(+), 23 deletions(-)

commit 825052f83fd32179d0c52478ae4eb9266e2c4a6b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 17 14:05:55 2013 +0200

    Revert "makes curve keys symetric as in libcurve + factorisation"
    
    This reverts commit bfd472f97cad5e37fa384b687a906f515600bac4.

 include/zmq.h                 |   21 +++-----
 src/curve_client.cpp          |   54 +++++++++----------
 src/curve_client.hpp          |   30 +++++------
 src/curve_server.cpp          |   54 +++++++++----------
 src/curve_server.hpp          |   20 +++----
 src/options.cpp               |  120 ++++++++++++++++++++++++-----------------
 src/options.hpp               |   10 ++--
 tests/test_security_curve.cpp |   37 ++++++-------
 8 files changed, 178 insertions(+), 168 deletions(-)

commit 22eb4d600b237cee894c7f32c6cdc8d5594fb9e3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 17 14:05:41 2013 +0200

    Revert "oblige the application to explicitely set the node type for PLAIN"
    
    This reverts commit 1206f4572b4b3bb405a14cc60605b75d53b819a0.

 include/zmq.h                 |    4 ++--
 src/options.cpp               |   16 +++++++++-------
 tests/test_security_curve.cpp |    4 ++--
 tests/test_security_plain.cpp |    9 +++------
 4 files changed, 16 insertions(+), 17 deletions(-)

commit 9e66685c0874210cbd74eb4a4c1283f249863973
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 17 13:33:24 2013 +0200

    Reformatted text

 doc/zmq_setsockopt.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit dc79171fc37597613c827f5ab00aa71fee3d2ac9
Merge: ad0b325 1206f45
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 17 04:32:45 2013 -0700

    Merge pull request #666 from lalebarde/master
    
    curve key names as in libcurve, symetry design, a few logic improvements

commit 1206f4572b4b3bb405a14cc60605b75d53b819a0
Author: Laurent Alebarde <l.alebarde@free.fr>
Date:   Tue Sep 17 12:47:21 2013 +0200

    oblige the application to explicitely set the node type for PLAIN

 include/zmq.h                 |    4 ++--
 src/options.cpp               |   16 +++++++---------
 tests/test_security_curve.cpp |    4 ++--
 tests/test_security_plain.cpp |    9 ++++++---
 4 files changed, 17 insertions(+), 16 deletions(-)

commit bfd472f97cad5e37fa384b687a906f515600bac4
Author: Laurent Alebarde <l.alebarde@free.fr>
Date:   Tue Sep 17 12:44:14 2013 +0200

    makes curve keys symetric as in libcurve + factorisation

 include/zmq.h                 |   21 +++++---
 src/curve_client.cpp          |   54 +++++++++----------
 src/curve_client.hpp          |   30 +++++------
 src/curve_server.cpp          |   54 +++++++++----------
 src/curve_server.hpp          |   20 +++----
 src/options.cpp               |  120 +++++++++++++++++------------------------
 src/options.hpp               |   10 ++--
 tests/test_security_curve.cpp |   37 +++++++------
 8 files changed, 168 insertions(+), 178 deletions(-)

commit ad0b325e4a0f172438700d933b8bcaee7caf4d73
Merge: 67013f1 7bb2b6a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Sep 17 01:53:59 2013 -0700

    Merge pull request #665 from hintjens/master
    
    Added test case for NULL domains

commit 7bb2b6ae11cafd241a6007bb2d564d4765ff8cf9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 17 10:04:57 2013 +0200

    Fixed length of domain setting

 tests/test_security_null.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7735ca5f8dcc98f71e24ca15c980fd6e2715c036
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 17 09:48:32 2013 +0200

    Added test case for NULL domains

 tests/test_security_null.cpp |   90 +++++++++++++++++++++++++++++++-----------
 1 file changed, 67 insertions(+), 23 deletions(-)

commit 67013f19f6fd37c1abe9cc89102e7bb38628ebea
Merge: 971b275 321a8ff
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Sep 16 06:20:21 2013 -0700

    Merge pull request #664 from hintjens/master
    
    NULL mechanism was not dealing with ZAP denials properly

commit 321a8ffea91583535a7cddf7b970cff7f9414b4c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 16 15:09:55 2013 +0200

    NULL mechanism was not dealing with ZAP denials properly

 src/null_mechanism.cpp |    4 ++++
 1 file changed, 4 insertions(+)

commit 971b275f7acc3573575f5375453dd2a93e2605fd
Merge: 276cd1f fe9815a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Sep 16 02:04:44 2013 -0700

    Merge pull request #663 from hintjens/master
    
    Fixed random failures in test_security_plain and _curve

commit fe9815a7892404deef3989d9ff35a9e78935bc83
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 16 10:56:49 2013 +0200

    Fixed random failures in test_security_plain and _curve
    
    * ZAP handler thread was not getting time to start up
    * Code now creates and binds handler socket in parent thread and
      passes the socket to the zap_handler, so this always gets the
      authentication requests.

 tests/test_security_curve.cpp |   55 ++++++++++++++++++++---------------------
 tests/test_security_null.cpp  |   45 +++++++++++++++++----------------
 2 files changed, 49 insertions(+), 51 deletions(-)

commit 276cd1f1dae6e1404a143edfe7e1323314224e16
Merge: fbe1b79 6f35100
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 16 01:32:55 2013 -0700

    Merge pull request #662 from ricnewton/master
    
    Fix windows build

commit 6f351007d4a710207ad4730923add9635873af11
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Sep 16 09:23:47 2013 +0100

    Fix windows build

 tests/testutil.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit fbe1b79188eb45deaa67a95e9a21a62a52e54b7e
Merge: d76f3f7 dc1f5e9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 15 15:36:00 2013 -0700

    Merge pull request #661 from lalebarde/master
    
    simplify test_security_curve.cpp with zmq_z85_encode

commit dc1f5e9f7c0c2331b0eb5edc487b711f257bc89b
Author: Laurent Alebarde <l.alebarde@free.fr>
Date:   Mon Sep 16 00:06:24 2013 +0200

    simplify test_security_curve.cpp with zmq_z85_encode

 tests/test_security_curve.cpp |   35 +----------------------------------
 1 file changed, 1 insertion(+), 34 deletions(-)

commit d76f3f7c036d02e7ac36d444bec471425cd36d5c
Merge: 5c7b392 576e3ca
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Sep 15 11:37:16 2013 -0700

    Merge pull request #660 from hintjens/master
    
    Added z85 codec to ZMQ API

commit 576e3ca5e0f0d67f673e1ef30ec1071d19cb6b3a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 15 20:07:33 2013 +0200

    Added z85 codec to ZMQ API
    
    * Removed redundant Z85 code and include files from project
    * Simplified use of headers in test cases (now they all just use testutil.hpp)
    * Export zmq_z85_encode() and zmq_z85_decode() in API
    * Added man pages for these two functions

 doc/Makefile.am                           |    3 +-
 doc/zmq_curve.txt                         |    2 +
 doc/zmq_z85_decode.txt                    |   50 +++++++++++++
 doc/zmq_z85_encode.txt                    |   56 +++++++++++++++
 include/zmq.h                             |    6 ++
 include/zmq_utils.h                       |    5 ++
 src/Makefile.am                           |    1 -
 src/options.cpp                           |   14 ++--
 src/z85_codec.hpp                         |  109 -----------------------------
 src/zmq_utils.cpp                         |   91 ++++++++++++++++++++++--
 tests/test_conflate.cpp                   |    2 -
 tests/test_connect_delay.cpp              |    6 --
 tests/test_connect_resolve.cpp            |    3 -
 tests/test_ctx_destroy.cpp                |    3 -
 tests/test_ctx_options.cpp                |    2 -
 tests/test_disconnect_inproc.cpp          |    2 -
 tests/test_fork.cpp                       |   10 +--
 tests/test_hwm.cpp                        |    3 -
 tests/test_inproc_connect_before_bind.cpp |    2 -
 tests/test_invalid_rep.cpp                |    4 +-
 tests/test_iov.cpp                        |    5 --
 tests/test_last_endpoint.cpp              |    2 -
 tests/test_linger.cpp                     |    3 -
 tests/test_monitor.cpp                    |    4 --
 tests/test_msg_flags.cpp                  |    2 -
 tests/test_pair_inproc.cpp                |    1 -
 tests/test_pair_ipc.cpp                   |    1 -
 tests/test_pair_tcp.cpp                   |    1 -
 tests/test_probe_router.cpp               |    3 -
 tests/test_req_request_ids.cpp            |    2 -
 tests/test_req_strict.cpp                 |    3 -
 tests/test_reqrep_device.cpp              |    3 -
 tests/test_reqrep_inproc.cpp              |    1 -
 tests/test_reqrep_ipc.cpp                 |    1 -
 tests/test_reqrep_tcp.cpp                 |    1 -
 tests/test_router_mandatory.cpp           |    3 -
 tests/test_security_curve.cpp             |    4 --
 tests/test_security_null.cpp              |    3 -
 tests/test_security_plain.cpp             |    3 -
 tests/test_shutdown_stress.cpp            |    4 --
 tests/test_spec_dealer.cpp                |    2 -
 tests/test_spec_pushpull.cpp              |    2 -
 tests/test_spec_rep.cpp                   |    2 -
 tests/test_spec_req.cpp                   |    3 -
 tests/test_spec_router.cpp                |    2 -
 tests/test_stream.cpp                     |    2 -
 tests/test_sub_forward.cpp                |    4 --
 tests/test_system.cpp                     |   15 ++--
 tests/test_term_endpoint.cpp              |    4 --
 tests/test_timeo.cpp                      |    5 --
 tests/testutil.hpp                        |   14 +++-
 tools/curve_keygen.c                      |   46 +-----------
 tools/z85_codec.h                         |  109 -----------------------------
 53 files changed, 237 insertions(+), 397 deletions(-)

commit 5c7b39275f322799d1baa9be79340943071fa950
Merge: 9066851 193d0bb
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Sep 15 09:51:09 2013 -0700

    Merge pull request #659 from hintjens/master
    
    Fixed Z85 methods to be static

commit 193d0bb63400d1a0f9a4c970e08c4807358244eb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 15 17:30:18 2013 +0200

    Fixed Z85 methods to be static and not pollute library

 src/z85_codec.hpp             |    4 ++--
 tests/test_security_curve.cpp |   41 +++++++++++++++++++++++++++++++++++++++--
 tools/curve_keygen.c          |   39 +++++++++++++++++++++++++++++++++++++--
 tools/z85_codec.h             |    4 ++--
 4 files changed, 80 insertions(+), 8 deletions(-)

commit 65ef76bb59255c2614055910748359276656c996
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 15 15:45:37 2013 +0200

    Minor simplification to makefile

 tools/Makefile.am |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

commit 90668517da4d29383470a794c51bb1647b2cc8ab
Merge: 133c32d 4e6c56e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 15 06:19:00 2013 -0700

    Merge pull request #658 from ricnewton/inproc_connect_before_bind
    
    Support high water mark on inproc socket connect before bind.

commit 4e6c56e081a00f9963af337f5d49c73e2ac8afc3
Merge: b929882 133c32d
Author: Richard Newton <richard_newton@waters.com>
Date:   Sun Sep 15 13:36:07 2013 +0100

    Merge branch 'master' of https://github.com/zeromq/libzmq into inproc_connect_before_bind

commit b9298823b4b42dd5beeedfcf8e06cb5f57ecd3bb
Author: Richard Newton <richard_newton@waters.com>
Date:   Sun Sep 15 13:35:44 2013 +0100

    Set hwm on connect socket before bind has happend to just that of connects hwm.

 src/pipe.cpp        |    4 +-
 src/socket_base.cpp |    8 ++-
 tests/test_hwm.cpp  |  156 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 163 insertions(+), 5 deletions(-)

commit 7841b0dd0f94e050bce753c394cd034ab3184ee9
Author: Richard Newton <richard_newton@waters.com>
Date:   Sat Sep 14 17:27:18 2013 +0100

    Support high water mark on inproc socket connect before bind.

 src/ctx.cpp        |   97 ++++++++++++++++++++++---------------
 src/ctx.hpp        |    2 +
 src/object.hpp     |    3 +-
 src/pipe.cpp       |    5 ++
 src/pipe.hpp       |    3 ++
 tests/test_hwm.cpp |  134 +++++++++++++++++++++++++++++++++++++++-------------
 6 files changed, 171 insertions(+), 73 deletions(-)

commit 133c32d5ed523c8bd7976f1fd43663083d9456ff
Merge: 3298e5a 0db2bbe
Author: Richard Newton <richard_newton@waters.com>
Date:   Fri Sep 13 00:52:12 2013 -0700

    Merge pull request #657 from hintjens/master
    
    Build didn't work if libsodium wasn't installed

commit 0db2bbe29d4b4096ecb863c1702cb29d3eadbd29
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 13 09:47:23 2013 +0200

    Build didn't work if libsodium wasn't installed

 tools/curve_keygen.c |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

commit 3298e5a206ccab9c441c69a165332a97cbf6ccb9
Merge: c1fabf5 b9c0906
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 12 13:46:37 2013 -0700

    Merge pull request #656 from ricnewton/inproc_connect_before_bind
    
    Allow inproc sockets to connect before bind

commit b9c09064d5760e015b33c716aace846eb3802c43
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 12 21:22:47 2013 +0100

    Fix whitespace

 src/socket_base.cpp |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit d5bd68b60b0311699b0fad411db0f1a09f3ee030
Merge: 379bcb0 c1fabf5
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 12 21:09:30 2013 +0100

    Merge branch 'master' of https://github.com/zeromq/libzmq into inproc_connect_before_bind

commit 379bcb088153cf4207e46b82bebd50f9fcf7e359
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 12 21:07:29 2013 +0100

    Send identities when connecting pending sockets.

 src/ctx.cpp                               |   39 ++++++++++++----
 src/ctx.hpp                               |    7 +--
 src/object.cpp                            |    2 +-
 src/object.hpp                            |    2 +-
 src/socket_base.cpp                       |    3 +-
 tests/test_inproc_connect_before_bind.cpp |   71 +++++++++++++++++++++++++----
 6 files changed, 102 insertions(+), 22 deletions(-)

commit c1fabf5ca9e7e9c575ab7a6e8a648a9f0e0ebf2a
Merge: 60f4704 345bf14
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Sep 12 10:27:57 2013 -0700

    Merge pull request #655 from hintjens/master
    
    Fixed overwrite in zmq_getsockopt

commit 7c3496a76acfad992ebd7f1af1c2b22174b79530
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 12 18:09:37 2013 +0100

    Fix race condition and support multiple socket connects before bind.

 .gitignore                                |    1 +
 src/command.hpp                           |    1 +
 src/ctx.cpp                               |   43 +++++--
 src/ctx.hpp                               |    4 +-
 src/object.cpp                            |   16 ++-
 src/object.hpp                            |    3 +-
 src/socket_base.cpp                       |   46 +-------
 tests/Makefile.am                         |    4 +-
 tests/test_inproc_connect_before_bind.cpp |  180 ++++++++++++++++++++++++++++-
 9 files changed, 232 insertions(+), 66 deletions(-)

commit 60f470450d5d541eed604b437252b0c300f1f6ee
Merge: 168efb9 6c84a54
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 12 09:53:26 2013 -0700

    Merge pull request #654 from lalebarde/master
    
    add exhaustive comparison in testutil bounce

commit 6c84a543882c8ac4e673c5de40df11a27ab76c75
Author: Laurent Alebarde <l.alebarde@free.fr>
Date:   Thu Sep 12 18:17:31 2013 +0200

    add exhaustive comparison in testutil bounce

 tests/testutil.hpp |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

commit 345bf146f151cbc62fd8b000dbe1316463d2a82d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 12 18:03:23 2013 +0200

    Fixed overwrite in zmq_getsockopt
    
    On ZMQ_CURVE_xxxKEY fetches, would return 41 bytes into caller's 40-byte
    buffer. Now these fetches only return 41 bytes if the caller explicitly
    provides a 41-byte buffer (i.e. the option size is 41).

 doc/zmq_getsockopt.txt |   12 +++++++-----
 src/options.cpp        |    6 +++---
 src/options.hpp        |    2 +-
 src/z85_codec.hpp      |    3 ++-
 tools/z85_codec.h      |    3 ++-
 5 files changed, 15 insertions(+), 11 deletions(-)

commit 6fefa4166acae14edf69473bb739a34d46128a70
Merge: 5f20d63 168efb9
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 12 15:13:25 2013 +0100

    Merge remote-tracking branch 'upstream/master' into inproc_connect_before_bind

commit 5f20d63665c0ddbd3ff8824a9d1eda33bea07735
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 12 14:44:44 2013 +0100

    First attempt at inproc connect before bind

 CMakeLists.txt                            |    3 +-
 src/ctx.cpp                               |   28 +++++++
 src/ctx.hpp                               |   13 +++
 src/object.cpp                            |   15 ++++
 src/object.hpp                            |    5 ++
 src/socket_base.cpp                       |  127 ++++++++++++++++++++---------
 tests/test_ctx_destroy.cpp                |    3 +
 tests/test_inproc_connect_before_bind.cpp |  114 ++++++++++++++++++++++++++
 tests/test_pair_inproc.cpp                |    2 +-
 9 files changed, 270 insertions(+), 40 deletions(-)

commit 168efb9739eb3064bbbffc7c5849e4682e47547b
Merge: 0d14efe 0f9e5f6
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Sep 12 05:21:25 2013 -0700

    Merge pull request #653 from mattconnolly/master
    
    Fix preprocessor typoe

commit 6ff65a8aa4c97ddf442c4d72a74a95a81be5057f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 12 13:16:22 2013 +0200

    Builds and installs curve_keygen tool

 tools/Makefile.am |   10 ++++++++++
 1 file changed, 10 insertions(+)

commit 0d14efe73a9c39b263240614ad4a40ac5020e55e
Merge: 0f7141c ac8c72c
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Sep 12 03:56:27 2013 -0700

    Merge pull request #652 from hintjens/master
    
    Minor fixes to project packaging

commit ac8c72cea68235faffe71b248bf45ae57fe5619f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 12 12:47:14 2013 +0200

    Added test_ctx_destroy to .gitignore

 .gitignore |    1 +
 1 file changed, 1 insertion(+)

commit d1ba8a50d2fad55dbb000065326e2e9138bfd1d0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 12 12:46:43 2013 +0200

    Extended TravisCI build to use libsodium

 .travis.yml |   18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

commit 52370bff4485d6aa3e84ccf49f4f6020b50b76af
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 12 12:46:23 2013 +0200

    Removed debugging printfs

 tests/test_security_curve.cpp |    2 --
 tests/test_security_null.cpp  |    2 --
 tests/test_security_plain.cpp |    2 --
 3 files changed, 6 deletions(-)

commit 0f9e5f60498cdd2146c24a8133356d59d963d806
Author: Matt Connolly <matt.connolly@me.com>
Date:   Thu Sep 12 20:30:16 2013 +1000

    Fix preprocessor typoe

 tests/test_system.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0f7141c21a2eb5adc6cb14530b7cce7d048ccbd6
Merge: bba0dd1 8e6b5ad
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 11 09:33:08 2013 -0700

    Merge pull request #651 from ricnewton/master
    
    Fix Makefile.am for test_ctx_destroy

commit 8e6b5ad17ef963d2ecafa3b25659a226fa1d212c
Author: Richard Newton <richard_newton@waters.com>
Date:   Wed Sep 11 15:02:16 2013 +0100

    Fix Makefile.am for test_ctx_destroy

 tests/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

commit bba0dd19a1886ed818c537abd8ca7896bafc2f68
Merge: 25c89ca ccf0e61
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 10 07:03:40 2013 -0700

    Merge pull request #650 from ricnewton/master
    
    Implement non-blocking shutdown command

commit ccf0e61b770bde35b6ce7d46ca026c15a2101b1c
Merge: 64e1c18 25c89ca
Author: Richard Newton <richard_newton@waters.com>
Date:   Tue Sep 10 13:30:11 2013 +0100

    Merge remote-tracking branch 'upstream/master'

commit 64e1c181f71299614975b2809e112803719221b1
Author: Richard Newton <richard_newton@waters.com>
Date:   Tue Sep 10 13:30:00 2013 +0100

    Implement non-blocking shutdown command that unblocks other threads waiting on blocking operations.

 CMakeLists.txt             |    1 +
 doc/zmq_ctx_shutdown.txt   |   52 +++++++++++++++++++++++++
 include/zmq.h              |    1 +
 src/ctx.cpp                |   19 ++++++++++
 src/ctx.hpp                |    9 +++++
 src/zmq.cpp                |   10 +++++
 tests/Makefile.am          |    1 +
 tests/test_ctx_destroy.cpp |   90 ++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 183 insertions(+)

commit 25c89cace164c50434ec0300aa2fd50337064561
Merge: 4edad54 6725c46
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Sep 9 12:12:36 2013 -0700

    Merge pull request #649 from hintjens/master
    
    Fixed minor error in NULL mechanism (spec was wrong)

commit 6725c4644f111ba3f3ab3b0aba5a53cea0265391
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 9 20:40:34 2013 +0200

    Added ZMQ_ZAP_DOMAIN socket option
    
    * This is passed to the ZAP handler in the 'domain' field
    
    * If not set, or empty, then NULL security does not call the ZAP handler
    
    * This resolves the phantom ZAP request syndrome seen with sockets where
      security was never intended (e.g. in test cases)
    
    * This means if you install a ZAP handler, it will not get any requests
      for new connections until you take some explicit action, which can be
      setting a username/password for PLAIN, a key for CURVE, or the domain
      for NULL.

 doc/zmq_getsockopt.txt        |   50 +++++++++++++++++----------
 doc/zmq_setsockopt.txt        |   76 +++++++++++++++++++++++++----------------
 include/zmq.h                 |    5 +--
 src/curve_server.cpp          |    7 ++--
 src/null_mechanism.cpp        |    9 +++--
 src/options.cpp               |   53 +++++++++++++++++-----------
 src/options.hpp               |   11 +++---
 src/plain_mechanism.cpp       |    7 ++--
 tests/test_security_curve.cpp |   22 ++++++------
 tests/test_security_null.cpp  |   27 ++++++++-------
 tests/test_security_plain.cpp |   16 +++++----
 11 files changed, 171 insertions(+), 112 deletions(-)

commit c45d91a10611b8a9812691f404fd3e30f002585a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 9 19:58:31 2013 +0200

    Fixed comments on curve_keygen tool

 tools/curve_keygen.c |   26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

commit 635a03d2404129d0d5cee0ad517591befeba4f14
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 9 19:58:18 2013 +0200

    Was sending NULL mechanism name with extra null (fixed)

 src/null_mechanism.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 4edad545372774c5d8aaae87d45490f27d171884
Merge: 498dc37 a601b3f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 6 03:19:45 2013 -0700

    Merge pull request #648 from ricnewton/master
    
    Fix tests on windows

commit a601b3f6f40e8d5a2926dbf61c00d9b416e33560
Author: Richard Newton <richard_newton@waters.com>
Date:   Fri Sep 6 10:25:00 2013 +0100

    Remove windows debug code.

 tests/test_system.cpp |    1 -
 1 file changed, 1 deletion(-)

commit 7485b09cba0d335de271949f41bb6a5b77ee08c4
Author: Richard Newton <richard_newton@waters.com>
Date:   Fri Sep 6 10:08:11 2013 +0100

    Fix tests on windows

 tests/test_security_curve.cpp |    2 +-
 tests/test_system.cpp         |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 1 deletion(-)

commit 498dc3798878c611392b27064efa1e2161d1d9bf
Merge: 1f03710 4c75306
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Sep 6 00:54:51 2013 -0700

    Merge pull request #645 from hintjens/master
    
    Updated libzmq to match RFCs

commit 4c753060236caf12102194b313abfb28dccaa7ff
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 6 09:22:09 2013 +0200

    Fixed test_stream case
    
    - was not looping to read all input from peer
    - broke on OS/X specifically

 tests/test_stream.cpp |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 9dd324aab23d8540260c8da93ae3927854542ecb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 5 15:18:42 2013 +0200

    z85 encoding buffer overrun

 tests/test_security_curve.cpp |    2 +-
 tools/curve_keygen.c          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 1f037109806081468f250dda4f2762cec8e1f452
Merge: 7b02f1c 11deee4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 4 12:12:28 2013 -0700

    Merge pull request #647 from sebastien/master
    
    Clarified zmq_socket.txt ZMQ_STREAM section, added HTTP server example

commit 11deee4e3eafb0f97aae95b786e39007e335ca41
Merge: f918884 7b02f1c
Author: Sebastien Pierre <sebastien.pierre@gmail.com>
Date:   Wed Sep 4 15:02:50 2013 -0400

    Merge branch 'master' of github.com:sebastien/libzmq

commit f9188841b02b90fbba493c803f17be082d47f4d1
Author: Sebastien Pierre <sebastien.pierre@gmail.com>
Date:   Wed Sep 4 14:58:07 2013 -0400

    Clarified zmq_socket.txt ZMQ_STREAM section, added example

 doc/zmq_socket.txt |   45 +++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 43 insertions(+), 2 deletions(-)

commit 0a9261472f6c28e4092b0564da3960146bdfd743
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 4 19:41:33 2013 +0200

    Removed test_raw_socket

 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 32fa426e61b92bdd0929990cebc799839cc335a7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 4 19:38:15 2013 +0200

    Added system check at start of selftests
    
    - tests that system can provide at least 1,000 sockets
    - we could expand on this but this covers the main case of OS/X
      having a too-low default limit of 256 handles per process

 .gitignore            |    1 +
 tests/Makefile.am     |    4 +++-
 tests/test_system.cpp |   51 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+), 1 deletion(-)

commit 7b02f1c966cc7b615b6cfd5df81f09478be2dcb0
Merge: ef207e4 bb34885
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 4 09:42:39 2013 -0700

    Merge pull request #646 from minrk/xfail-linger
    
    mark test_linger as expected failure

commit bb348858f14e797ef125f8ba95a3218ddbc3180a
Author: MinRK <benjaminrk@gmail.com>
Date:   Wed Sep 4 09:38:54 2013 -0700

    mark test_linger as expected failure
    
    rather than pretending it passes

 tests/Makefile.am     |    3 ++-
 tests/test_linger.cpp |    3 ---
 2 files changed, 2 insertions(+), 4 deletions(-)

commit 6612280946a40ae3d0d48ff729a1a81c23046ca8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 4 18:10:47 2013 +0200

    Removed temporary patch on tests/Makefile.am

 tests/Makefile.am |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 28b0a5fa2711b43e2378b7c16367ce14604df096
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 4 17:59:45 2013 +0200

    Updated libzmq to match RFC 23, 24, 25, 26
    
    * Command names changed from null terminated to length-specified
    * Command frames use the correct flag (bit 2)
    * test_stream acts as test case for command frames
    * Some code cleanups

 src/curve_client.cpp          |   24 +++++++--------
 src/curve_client.hpp          |    8 ++---
 src/curve_server.cpp          |   24 +++++++--------
 src/curve_server.hpp          |    8 ++---
 src/mechanism.hpp             |    8 ++---
 src/msg.hpp                   |    3 +-
 src/null_mechanism.cpp        |    8 ++---
 src/null_mechanism.hpp        |    4 +--
 src/plain_mechanism.cpp       |   66 +++++++++++++++++++++--------------------
 src/plain_mechanism.hpp       |   20 ++++++-------
 src/stream_engine.cpp         |   20 ++++++-------
 src/stream_engine.hpp         |    8 ++---
 src/v2_decoder.cpp            |    2 ++
 src/v2_encoder.cpp            |    2 ++
 src/v2_protocol.hpp           |    3 +-
 tests/Makefile.am             |    3 +-
 tests/test_security_curve.cpp |    2 +-
 tests/test_stream.cpp         |    8 ++---
 18 files changed, 114 insertions(+), 107 deletions(-)

commit 1844a27c82fbd72a83ffd28b59c2e5ab1f2ddab7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 4 15:00:05 2013 +0200

    Removed test_raw_sock test case (replaced by test_stream)

 tests/Makefile.am       |    6 +-
 tests/test_raw_sock.cpp |  166 -----------------------------------------------
 2 files changed, 1 insertion(+), 171 deletions(-)

commit ef207e45ce88d5aab6c92b0f8f4322881fb73b44
Merge: 7561ff7 873d80c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 4 04:19:34 2013 -0700

    Merge pull request #644 from ipechorin/master
    
    Fix MSVC 2008 and 2010 project files

commit 873d80c9fecc823d903b7e458b959f9877598d8c
Author: Ivan Pechorin <ivan.pechorin@gmail.com>
Date:   Wed Sep 4 15:13:14 2013 +0400

    fix MSVC 2008 project: include the source files added recently

 builds/msvc/libzmq/libzmq.vcproj |   62 ++++++++++++++++++++++++++++++++------
 1 file changed, 53 insertions(+), 9 deletions(-)

commit e071d3a4ae1421941127d360e31284eac5451047
Author: Ivan Pechorin <ivan.pechorin@gmail.com>
Date:   Wed Sep 4 15:00:59 2013 +0400

    fix MSVC10 project: include the source files added recently

 builds/msvc/libzmq/libzmq.vcxproj         |   10 +++++++++-
 builds/msvc/libzmq/libzmq.vcxproj.filters |   24 ++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletion(-)

commit 7561ff70f36b23f40366c1ac721f1b4fbd16c4fa
Merge: 0ff896d 4696f00
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 2 16:10:07 2013 -0700

    Merge pull request #643 from ricnewton/master
    
    Fix cmake file for security tests

commit 4696f002ca5c36d19967f414ffd673c9d156a3fc
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Sep 2 23:41:17 2013 +0100

    Fix cmake file for security tests

 CMakeLists.txt |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 0ff896d094100b530ec253b71f2c9c0a76dac1d7
Merge: 3a50aa4 fb67e16
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Sep 2 10:30:49 2013 -0700

    Merge pull request #642 from hintjens/master
    
    Fixed ZAP authentication

commit fb67e160a11db104f89043c702000b7c974d7537
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 2 18:21:36 2013 +0200

    Fixed ZAP authentication
    
    - if ZAP server returns anything except 200, connection is closed
    - all security tests now pass correctly
    - test_security_curve now does proper client key authentication using test key
    - test_security_plain now does proper password authentication

 src/curve_server.cpp          |    4 ++++
 src/plain_mechanism.cpp       |    4 ++++
 tests/test_security_curve.cpp |   46 ++++++++++++++++++++++++++---------------
 tests/test_security_plain.cpp |   27 ++++++++++++------------
 tests/testutil.hpp            |   11 +++++-----
 5 files changed, 56 insertions(+), 36 deletions(-)

commit 3a50aa4473a0d808da3530f1d2977e5298ebe272
Merge: c128fac fba5612
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Sep 2 08:32:09 2013 -0700

    Merge pull request #641 from hintjens/master
    
    Fixed regression tests

commit fba56120262c18b8c54902509f85a544f06048d1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 2 17:22:24 2013 +0200

    Fixed 'make check' failures
    
    - Split off NULL security check from PLAIN
    - Cleaned up test_linger code a little
    - Got all tests to pass, added TODOs for outstanding issues
    - Added ZAP authentication for NULL test case
    - NULL mechanism was not passing server identity - fixed
    - cleaned up test_security_plain and removed option double-checks (made code ugly)
    - lowered timeout on expect_bounce_fail to 150 msec to speed up checks
    - removed all sleeps from test_fork and simplified code (it still passes :-)

 .gitignore                    |    5 +
 include/zmq_utils.h           |    4 +-
 src/curve_server.cpp          |    2 +-
 src/null_mechanism.cpp        |    8 ++
 src/plain_mechanism.cpp       |    2 +-
 tests/Makefile.am             |    8 +-
 tests/test_fork.cpp           |  115 ++++++----------
 tests/test_linger.cpp         |   98 +++++++-------
 tests/test_security.cpp       |  292 -----------------------------------------
 tests/test_security_curve.cpp |  242 +++++++++++++++-------------------
 tests/test_security_null.cpp  |  109 +++++++++++++++
 tests/test_security_plain.cpp |  154 ++++++++++++++++++++++
 tests/testutil.hpp            |   10 +-
 13 files changed, 482 insertions(+), 567 deletions(-)

commit 01b336f1f179d62d096e2629956fbcd95c504664
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 2 15:08:36 2013 +0200

    Whitespace fixes

 tests/test_security.cpp       |    4 ++--
 tests/test_security_curve.cpp |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit c128fac7a7401421e179bf8fd19c1faf2ecf0bd7
Merge: 6fa274e c646ac9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 2 06:06:58 2013 -0700

    Merge pull request #639 from minrk/test_linger
    
    add test_linger

commit 6fa274ebeff1c5f34e523fc3f2297ea7969bcae8
Merge: 282765c 1771755
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 2 06:06:31 2013 -0700

    Merge pull request #640 from mattconnolly/fork
    
    Adding ability for a context to be terminated in a forked child process

commit 282765cab41ca49eb1b4083f56aaa4aaed3c1b12
Merge: ca8ac83 436cad3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 2 06:04:51 2013 -0700

    Merge pull request #628 from ianbarber/master
    
    Remove delay options

commit 1771755888a1b7bb8b17a111d5be93b7f2d4d9be
Author: Matt Connolly <matt.connolly@me.com>
Date:   Mon Sep 2 07:13:46 2013 +1000

    test_fork.cpp: adding missing headers for linux

 tests/test_fork.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit c646ac96c084f618d2267ce8c738ca561a5c1bdf
Author: MinRK <benjaminrk@gmail.com>
Date:   Sun Sep 1 13:50:18 2013 -0700

    cast rc to size_t for comparisons
    
    avoids -Wall failures comparing int to uint

 tests/test_linger.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c3adc86d6b9da02603e665822df295372778e06c
Author: Matt Connolly <matt.connolly@me.com>
Date:   Mon Sep 2 06:49:30 2013 +1000

    Fix unused variable when using eventfd

 src/signaler.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit ca8ac83e97d48e97c332da6935f80dca042b7d58
Merge: 8ef7fbb 9d94640
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 1 10:18:50 2013 -0700

    Merge pull request #637 from minrk/test_plain_inauth
    
    test failed auth for both PLAIN and CURVE

commit a3d9d01af87a8f4817df0d369c605931ea9ebf03
Author: Matt Connolly <matt.connolly@me.com>
Date:   Sun Sep 1 20:40:45 2013 +1000

    test_fork: update test to verify communication between parent and child

 tests/test_fork.cpp |   69 ++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 55 insertions(+), 14 deletions(-)

commit ff2900fd5286013ae37c00fd0d578bc1eab93140
Author: Matt Connolly <matt.connolly@me.com>
Date:   Sat Aug 31 21:17:11 2013 +1000

    Terminate context in a child process of fork() to replace file descriptors to not interfere with parent process's context

 src/ctx.cpp      |   16 ++++++++++++++
 src/ctx.hpp      |    5 +++++
 src/kqueue.cpp   |   10 +++++++++
 src/kqueue.hpp   |    6 ++++++
 src/mailbox.cpp  |    1 -
 src/mailbox.hpp  |    7 ++++++
 src/reaper.cpp   |   11 ++++++++++
 src/reaper.hpp   |    5 +++++
 src/signaler.cpp |   62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/signaler.hpp |   20 +++++++++++++++++-
 10 files changed, 141 insertions(+), 2 deletions(-)

commit 0478ee04f4f4525715e78f31a3209de6880a0a5e
Author: Matt Connolly <matt.connolly@me.com>
Date:   Sun Sep 1 20:19:58 2013 +1000

    Adding test showing failure to close socket/context in forked child

 .gitignore          |    1 +
 configure.ac        |    2 +-
 tests/Makefile.am   |    4 ++-
 tests/test_fork.cpp |   75 +++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 80 insertions(+), 2 deletions(-)

commit 58b370df699c5f535e2d5ae6e0a631d2ca330435
Author: MinRK <benjaminrk@gmail.com>
Date:   Sat Aug 31 18:27:50 2013 -0700

    add test_linger
    
    tests that default LINGER (-1) ensures message delivery.
    
    Note: it fails for large messages ( > 1MB, depending on the system).

 tests/Makefile.am     |    2 +
 tests/test_linger.cpp |  103 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)

commit 8ef7fbb4a4a1b1f9062046ed3d268433c974c38d
Merge: 82a00e3 6a18f59
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Aug 31 13:35:21 2013 -0700

    Merge pull request #638 from shawnjgoff/master
    
    Change name of icanhasall to subscribe_to_all

commit 6a18f59532e8361384519f0f637baabe17380e2a
Author: Shawn J. Goff <shawn.goff@accelecon.com>
Date:   Sat Aug 31 09:53:47 2013 -0400

    Change name of icanhasall to subscribe_to_all
    
    icanhasall is cute (for now), but the effect of the variable is clear
    only after tracking down its origin reading the commit. This change is
    intended to make it easier for people to have some intuition about its
    effect from its name.

 src/dealer.cpp      |    6 +++---
 src/dealer.hpp      |    2 +-
 src/pair.cpp        |    6 +++---
 src/pair.hpp        |    2 +-
 src/pull.cpp        |    6 +++---
 src/pull.hpp        |    2 +-
 src/push.cpp        |    6 +++---
 src/push.hpp        |    2 +-
 src/router.cpp      |    6 +++---
 src/router.hpp      |    2 +-
 src/socket_base.cpp |   10 +++++-----
 src/socket_base.hpp |    4 ++--
 src/stream.cpp      |    6 +++---
 src/stream.hpp      |    2 +-
 src/xpub.cpp        |    6 +++---
 src/xpub.hpp        |    2 +-
 src/xsub.cpp        |    6 +++---
 src/xsub.hpp        |    2 +-
 18 files changed, 39 insertions(+), 39 deletions(-)

commit 9d94640edc5b6fc6a7d3a2b66abea680f478921e
Author: MinRK <benjaminrk@gmail.com>
Date:   Fri Aug 30 17:56:59 2013 -0700

    test failed CURVE auth
    
    adds expect_bounce_fail test function
    
    which is like bounce, but fails if messages arrive.

 tests/test_security.cpp       |   17 +--------
 tests/test_security_curve.cpp |   83 ++++++++++++++++++++++++++++++++++++++++-
 tests/testutil.hpp            |   37 ++++++++++++++++++
 3 files changed, 119 insertions(+), 18 deletions(-)

commit 0cac56fe524bd5a85c4f1e08f5a4492bab1c2b30
Author: MinRK <benjaminrk@gmail.com>
Date:   Fri Aug 30 15:28:16 2013 -0700

    test PLAIN auth with failed login
    
    This test fails because PLAIN authentication doesn't actually reject connections

 tests/test_security.cpp |   80 ++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 79 insertions(+), 1 deletion(-)

commit 82a00e3a985c6c13e34f385fd19624d521620c5d
Merge: 22f05fa da52806
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Aug 30 13:38:27 2013 -0700

    Merge pull request #636 from ricnewton/master
    
    Disable failing tests on windows.

commit da52806d68cd663495ec9c58a2a712bb5561b64c
Author: Richard Newton <richard_newton@waters.com>
Date:   Fri Aug 30 19:04:32 2013 +0100

    Disable failing tests on windows.

 CMakeLists.txt |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

commit 22f05fa2fa43a72de8a0f9b195514749665447a7
Merge: 4ca6ab2 93a068a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Aug 29 12:37:15 2013 -0700

    Merge pull request #635 from guidog/master
    
    Fixed silly port number.

commit 93a068a832ae64f294e68f54fa828cb6be24f93e
Author: Guido Goldstein <github@a-nugget.de>
Date:   Thu Aug 29 20:55:23 2013 +0200

    Fixed silly port number.

 tests/test_conflate.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4ca6ab26fa8b026215515355b6179966e4fa77ed
Merge: 83e547f 455739f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Aug 29 04:54:55 2013 -0700

    Merge pull request #634 from guidog/master
    
    Fixed markup so documentation can be built.

commit 455739f94258c021bfdc001f3aa315374058e912
Author: Guido Goldstein <github@a-nugget.de>
Date:   Thu Aug 29 09:35:17 2013 +0200

    Fixed markup so documentation can be built.

 doc/zmq_setsockopt.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 83e547f09f985a4bf1e4a19bdc13f03315f450ef
Merge: 2e9385a eaf227d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Aug 24 14:31:16 2013 -0700

    Merge pull request #633 from eburkitt/vs2012-clean-compile
    
    get to clean compile under vs2012

commit eaf227d4deb3bc43c5507f7b86d8c46ec4912b06
Author: Evan Burkitt <evanb@edulinksys.com>
Date:   Fri Aug 23 17:14:03 2013 -0700

    get to clean compile under vs2012
    
    Added some missing (but existing in branch) files to libzmq11 project needed
    to compile as static library by VS2012 (at least), and fixed some warnings.
    One warning remains in raw_decoder.cpp, which I'm leaving for now because I'm
    not sure how project owners would like to fix it.

 builds/msvc/libzmq/libzmq11.vcxproj |    4 ++++
 src/dealer.cpp                      |    2 +-
 src/mutex.hpp                       |    2 +-
 src/req.cpp                         |    4 ++--
 src/router.cpp                      |    6 +++---
 5 files changed, 11 insertions(+), 7 deletions(-)

commit 2e9385ac02d14ce78837deb2c9f76155eacdda14
Merge: d485404 19ca8a0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 21 01:35:43 2013 -0700

    Merge pull request #631 from jrossi/master
    
    Add the Socket Identity info to the ZAP Messages

commit 436cad37ece8bc81d333b8a33d38af4ebaea26db
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Aug 20 22:49:19 2013 +0100

    fix type on HWM

 src/pipe.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a9baa051dd42e584d382a62a98fb31bac47674fa
Merge: 531d3eb d485404
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Aug 20 22:48:04 2013 +0100

    Merge in master changes

commit d485404aab6efa15a1bdcb881874a4fad4b0b5a8
Merge: cb6b5a6 3f3777d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Aug 20 14:37:52 2013 -0700

    Merge pull request #626 from dkrikun/master
    
    Add ZMQ_CONFLATE socket option

commit 19ca8a0fc0a13e3da6af6636bf3756d77397734f
Author: Jeremy Rossi <jeremy@jeremyrossi.com>
Date:   Tue Aug 20 13:48:05 2013 -0400

    Add the Socket Identity info to the ZAP Messages
    
    This change adds the socket identity infomartion from the socket to the
    zap frames.  In doing this the ZAP is able preform different operations
    based on different sockets.  This is not compaitable with the current ZAP
    RFC, but that can be updated.  As the ZAP rfc is currently draft for I
    did not change the version number.
    
    Tests also modified and passing.

 src/curve_server.cpp          |    8 ++++++++
 src/plain_mechanism.cpp       |    8 ++++++++
 tests/test_security.cpp       |    5 +++++
 tests/test_security_curve.cpp |    5 +++++
 4 files changed, 26 insertions(+)

commit cb6b5a65fcee87d343cf6d12b792c28a2625aa77
Merge: bcfe863 fd8b0fe
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Aug 19 05:55:07 2013 -0700

    Merge pull request #629 from ulikoehler/init_data_assert
    
    Minor doc & assert fixes

commit fd8b0fec077c6f4724b6dd17018ed4edd0bbe6c4
Author: Uli Köhler <ulikoehler@online.de>
Date:   Mon Aug 19 14:49:29 2013 +0200

    Re-add comment line from cmsg branch

 src/msg.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit a28c38efa5084ba92ec98f1f055bbe22881548a6
Author: Uli Köhler <ulikoehler@online.de>
Date:   Mon Aug 19 14:45:29 2013 +0200

    Fix spaces before comments

 src/msg.hpp |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 3f3777d05bada63414339bedb7aefc56051836c2
Author: danielkr <krikun.daniel@gmail.com>
Date:   Mon Aug 19 15:34:11 2013 +0300

    Add test for ZMQ_CONFLATE option

 tests/Makefile.am       |    4 ++-
 tests/test_conflate.cpp |   77 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+), 1 deletion(-)

commit 9c2740d9fad86fb3b983ba30cde10b4cf5b4c7cc
Author: Uli Köhler <ulikoehler@online.de>
Date:   Sun Aug 18 22:50:50 2013 +0200

    Minor fixes to doc ; added zmq_msg_init_data() assert preventing deferred segfault

 src/msg.cpp |    6 ++++--
 src/msg.hpp |    5 ++++-
 src/zmq.cpp |    2 +-
 3 files changed, 9 insertions(+), 4 deletions(-)

commit bcfe863fd4d8500217ea0b9e22296101249867fa
Merge: b3ca7fd 121a838
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Aug 19 01:11:07 2013 -0700

    Merge pull request #630 from ulikoehler/cmsg
    
    Optimized zmq::msg_t for constant messages

commit da4a70d59d14f68d5cb463cce01e9a772f6ca5a2
Author: danielkr <krikun.daniel@gmail.com>
Date:   Mon Aug 19 08:18:20 2013 +0300

    Fix indentation

 src/pipe.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 121a838a0ce824f40ef57dbc24234409f368ebdb
Author: Uli Köhler <ulikoehler@online.de>
Date:   Sun Aug 18 23:40:38 2013 +0200

    Added message type for constant messages

 src/msg.cpp |   44 +++++++++++++++++++++++++++++++-------------
 src/msg.hpp |   13 ++++++++++++-
 2 files changed, 43 insertions(+), 14 deletions(-)

commit 531d3ebc096c65b3e2772958acde9bf329136b18
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Aug 18 11:16:21 2013 +0100

    Remove delay options
    
    These were exposed to users, but have subsequently been removed as
    sockopts. They are currently only being used by ZAP, so I've moved it to
    a simpl function call (actually it's only used in one case even in that,
    so there may be a further simplification possible there).

 src/options.cpp      |    2 --
 src/options.hpp      |    8 --------
 src/pipe.cpp         |   15 ++++++++++-----
 src/pipe.hpp         |    9 ++++++---
 src/session_base.cpp |   10 +++++-----
 src/socket_base.cpp  |    6 ++----
 6 files changed, 23 insertions(+), 27 deletions(-)

commit b3ca7fd4253531ad3f001196ba3eafbec931b2f9
Merge: 1011e8a cb35fd7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Aug 18 00:58:03 2013 -0700

    Merge pull request #627 from ianbarber/master
    
    Attempt to fix disconnect not respecting linger

commit 1011e8ad2078e923541f16ec738837550e710b6e
Merge: ed272fe 70a1fbe
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Aug 18 00:51:39 2013 -0700

    Merge pull request #624 from ricnewton/master
    
    Port tests to windows and add to cmake build.

commit cb35fd7bfed767a303da43da523c91b98321a58f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Aug 18 07:50:53 2013 +0100

    Attempt to fix disconnect not respecting linger
    
    Looks like linger is honoured properly, but shutting down the session
    causes the pipe termination to come from that side - because the local
    pipe then shuts down right away it seems to trigger a terminated on the
    other end instead of waiting. This way we trigger the termination from
    the local end and then terminate the session.

 src/socket_base.cpp |   20 +++++++++++++-------
 src/socket_base.hpp |    5 +++--
 2 files changed, 16 insertions(+), 9 deletions(-)

commit ed272fe56d3b16c9f111aa4db97432d3327d92d8
Merge: eccfede e23d396
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Aug 17 23:27:17 2013 -0700

    Merge pull request #625 from ulikoehler/zmq_send_const
    
    Add zmq_send_const for constant data

commit f59c1a5c5aec15cd6117eee951ad51ac302ca1ad
Author: danielkr <krikun.daniel@gmail.com>
Date:   Sat Aug 17 23:55:00 2013 +0300

    Update doc for ZMQ_CONFLATE socket option

 doc/zmq_setsockopt.txt |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit daa7a8021f6802d12d8fcfd771dda3101d192f15
Author: danielkr <krikun.daniel@gmail.com>
Date:   Sat Aug 17 23:08:07 2013 +0300

    Plug in dbuffer to serve the ZMQ_CONFLATE option
    
    ZMQ_CONFLATE option is passed to pipepair() which creates a usual
    ypipe_t or ypipe_conflate_t and plugs it into pipe_t under a common
    abstract base.

 src/Makefile.am        |    5 +-
 src/pipe.cpp           |   51 ++++++++++++++-----
 src/pipe.hpp           |   15 ++++--
 src/session_base.cpp   |   17 +++++--
 src/socket_base.cpp    |   27 ++++++++--
 src/ypipe.hpp          |    3 +-
 src/ypipe_base.hpp     |   44 +++++++++++++++++
 src/ypipe_conflate.hpp |  127 ++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 263 insertions(+), 26 deletions(-)

commit 4c35b88acbc7d1237e86833253737632cfd6a216
Author: danielkr <krikun.daniel@gmail.com>
Date:   Sat Aug 17 23:00:46 2013 +0300

    Implement double buffer for conflate option
    
    Add simple double buffer implementation tailored to handle msg_t,
    i.e invoke msg_t::close instead of destructor and so on.
    Seems to me mutex is good enough at this point.

 src/dbuffer.hpp |  134 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 134 insertions(+)

commit d020dd677f9c8c4f89f244b19f1b809fb9b3a635
Author: danielkr <krikun.daniel@gmail.com>
Date:   Sat Aug 17 22:59:07 2013 +0300

    Declare ZMQ_CONFLATE option

 include/zmq.h   |    1 +
 src/options.cpp |   21 ++++++++++++++++++++-
 src/options.hpp |    6 ++++++
 3 files changed, 27 insertions(+), 1 deletion(-)

commit 4eac7e3e4fc443d3ad058d245f88f52ae7a1a817
Author: danielkr <krikun.daniel@gmail.com>
Date:   Sat Aug 17 22:55:04 2013 +0300

    Add scoped_lock_t syntactic sugar

 src/mutex.hpp |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

commit 87c84a252abc59bf34895a42f799278f2f9e478f
Author: danielkr <krikun.daniel@gmail.com>
Date:   Sat Aug 17 22:54:29 2013 +0300

    Add try_lock() to mutex_t

 src/mutex.hpp |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit 503da83fceac8c2d6c37ff6fbfac0c4c31e59a91
Author: danielkr <krikun.daniel@gmail.com>
Date:   Sat Aug 17 22:53:02 2013 +0300

    Add #include to string.h in blob.hpp
    
    Required for memmove(), memcpy()

 src/blob.hpp |    1 +
 1 file changed, 1 insertion(+)

commit e23d3963d337985c80523327a29480625a009d37
Author: Uli Köhler <ulikoehler@online.de>
Date:   Sat Aug 17 20:39:10 2013 +0200

    Fix doc typo

 doc/zmq_send_const.txt |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 10becae7eb7c43e7ec854c5f7d9f365566e1deef
Author: Uli Köhler <ulikoehler@online.de>
Date:   Sat Aug 17 20:37:07 2013 +0200

    Added zmq_send_const test

 tests/test_pair_inproc.cpp |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

commit e2c322cf80e158a59d5b917a76693afc39f5de4e
Author: Uli Köhler <ulikoehler@online.de>
Date:   Sat Aug 17 20:22:50 2013 +0200

    Implemented zmq_send_const

 doc/zmq_send.txt       |    1 +
 doc/zmq_send_const.txt |  103 ++++++++++++++++++++++++++++++++++++++++++++++++
 include/zmq.h          |    1 +
 src/zmq.cpp            |   26 ++++++++++++
 4 files changed, 131 insertions(+)

commit 70a1fbee7a94a7e2ace3c5b5f376c997ccc68ea7
Author: Richard Newton <richard_newton@waters.com>
Date:   Sat Aug 17 14:39:38 2013 +0100

    Fix running tests from cmake on linux.

 CMakeLists.txt |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit e1b2b649fb7459203939cc0dd0446df4f88bb273
Merge: a83baa9 eccfede
Author: Richard Newton <richard_newton@waters.com>
Date:   Sat Aug 17 14:23:42 2013 +0100

    Merge branch 'master' of https://github.com/zeromq/libzmq

commit a83baa9b0b35a3664d22a48b918e644c77b47114
Author: Richard Newton <richard_newton@waters.com>
Date:   Sat Aug 17 14:23:22 2013 +0100

    Fix up threading code from port tests to windows.

 include/zmq_utils.h            |    4 +++-
 src/zmq_utils.cpp              |    4 ++--
 tests/test_monitor.cpp         |   15 ++++++---------
 tests/test_security.cpp        |    5 +----
 tests/test_security_curve.cpp  |    5 +----
 tests/test_shutdown_stress.cpp |    6 ++----
 tests/testutil.hpp             |    3 +++
 7 files changed, 18 insertions(+), 24 deletions(-)

commit 7f74fc7c998cba2efd2bc286ab2aad711fb5c475
Author: Richard Newton <richard_newton@waters.com>
Date:   Sat Aug 17 13:43:45 2013 +0100

    Port tests to windows and add to cmake build.

 CMakeLists.txt                   |   52 +++++++++++++++++++++++++++++++++++---
 include/zmq_utils.h              |    6 +++++
 src/zmq_utils.cpp                |   15 +++++++++++
 tests/test_connect_delay.cpp     |   12 ++++-----
 tests/test_connect_resolve.cpp   |    5 ++--
 tests/test_ctx_options.cpp       |    5 ++--
 tests/test_disconnect_inproc.cpp |    3 ++-
 tests/test_hwm.cpp               |    4 +--
 tests/test_invalid_rep.cpp       |    5 ++--
 tests/test_iov.cpp               |   10 ++++----
 tests/test_last_endpoint.cpp     |    5 ++--
 tests/test_monitor.cpp           |   23 ++++++++---------
 tests/test_msg_flags.cpp         |    5 ++--
 tests/test_pair_inproc.cpp       |    1 +
 tests/test_pair_ipc.cpp          |    1 +
 tests/test_pair_tcp.cpp          |    1 +
 tests/test_probe_router.cpp      |    4 +--
 tests/test_raw_sock.cpp          |    5 ++--
 tests/test_req_request_ids.cpp   |    2 +-
 tests/test_req_strict.cpp        |    7 +++--
 tests/test_reqrep_device.cpp     |    5 ++--
 tests/test_reqrep_inproc.cpp     |    1 +
 tests/test_reqrep_ipc.cpp        |    1 +
 tests/test_reqrep_tcp.cpp        |    1 +
 tests/test_router_mandatory.cpp  |    4 +--
 tests/test_security.cpp          |    9 +++----
 tests/test_security_curve.cpp    |    9 +++----
 tests/test_shutdown_stress.cpp   |   15 +++++------
 tests/test_spec_dealer.cpp       |    1 +
 tests/test_spec_pushpull.cpp     |    1 +
 tests/test_spec_rep.cpp          |    1 +
 tests/test_spec_req.cpp          |    6 ++---
 tests/test_spec_router.cpp       |    1 +
 tests/test_stream.cpp            |    5 ++--
 tests/test_sub_forward.cpp       |    8 +++---
 tests/test_term_endpoint.cpp     |   12 ++++-----
 tests/test_timeo.cpp             |   16 ++++--------
 tests/testutil.hpp               |   12 +++++++++
 38 files changed, 171 insertions(+), 108 deletions(-)

commit eccfede10d73bf8505a841b3d75c6f200d31728a
Merge: 749c391 e16a6af
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Aug 8 11:42:53 2013 -0700

    Merge pull request #623 from ricnewton/master
    
    Fix compile error on windows.

commit e16a6af0c7430ecc0efac674e75fe3f66b0f6ee5
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Aug 8 17:27:49 2013 +0100

    Fix compile error on windows.

 src/ip.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 749c391b3414cc57afbb4a108867ebc062b2195f
Merge: fe30cc6 423ca36
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Aug 3 12:42:53 2013 -0700

    Merge pull request #622 from ckamm/req-strict
    
    Rename ZMQ_REQ_SEND_RESETS -> ZMQ_REQ_STRICT.

commit 423ca36b17264ca7b71b23e4a110aa847fd7ac27
Author: Christian Kamm <kamm@incasoftware.de>
Date:   Sat Aug 3 14:35:18 2013 +0200

    Rename ZMQ_REQ_SEND_RESETS -> ZMQ_REQ_STRICT.
    
    It defaults to enabled. Switch it off to be able to send a new message
    before the previous reply has been received.

 .gitignore                     |    2 +-
 doc/zmq_setsockopt.txt         |   15 ++---
 include/zmq.h                  |    2 +-
 src/req.cpp                    |   10 ++--
 src/req.hpp                    |    4 +-
 tests/Makefile.am              |    4 +-
 tests/test_req_send_resets.cpp |  120 ---------------------------------------
 tests/test_req_strict.cpp      |  121 ++++++++++++++++++++++++++++++++++++++++
 8 files changed, 140 insertions(+), 138 deletions(-)

commit fe30cc6d99d82eebb4145575bc0f95888cc9ff8e
Merge: 9f4526f f5c5955
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Aug 3 02:44:53 2013 -0700

    Merge pull request #619 from ckamm/req-send-resets
    
    Add ZMQ_REQ_SEND_RESETS option.

commit 9f4526f59a4252f75639178d11a716a7250065ba
Merge: 637f794 39ddc69
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Jul 29 06:11:03 2013 -0700

    Merge pull request #621 from hintjens/master
    
    Added note to clarify policy for embedded apps

commit 39ddc695bc99905382affa4f075f7512851665cf
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jul 29 10:42:15 2013 +0200

    Added note about tivotisation

 COPYING.LESSER |    2 ++
 1 file changed, 2 insertions(+)

commit f5c59556bd232064230b39c05d858ce69d59ae09
Author: Christian Kamm <kamm@incasoftware.de>
Date:   Mon Jul 29 09:33:10 2013 +0200

    REQ: Unset reply_pipe if it terminates.
    
    * Fixes a terminate() call on a dangling pointer in the SEND_RESETS
      case.
    * Fixes recv_reply_pipe() never receiving a message once the pipe it is
      waiting on is terminated.

 src/req.cpp |   15 +++++++++++----
 src/req.hpp |    1 +
 2 files changed, 12 insertions(+), 4 deletions(-)

commit a0cc87a9d922dd3187f07962536ee676033e0ef8
Author: Christian Kamm <kamm@incasoftware.de>
Date:   Sun Jul 21 13:16:47 2013 +0200

    Add ZMQ_REQ_SEND_RESETS option.
    
    This allows making a new request on a REQ socket by sending a new
    message. Without the option set, calling send() after the first message
    is done will continue to return an EFSM error.
    
    It's useful for when a REQ is not getting a response. Previously that
    meant creating a new socket or switching to DEALER.

 .gitignore                     |    1 +
 doc/zmq_setsockopt.txt         |   30 ++++++++--
 include/zmq.h                  |    1 +
 src/req.cpp                    |   23 ++++++--
 src/req.hpp                    |    7 ++-
 tests/Makefile.am              |    4 +-
 tests/test_req_send_resets.cpp |  120 ++++++++++++++++++++++++++++++++++++++++
 7 files changed, 174 insertions(+), 12 deletions(-)

commit 637f79419325952d0b3e63fe09ead81769884785
Merge: 6473dfd b9646f2
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jul 26 15:41:29 2013 -0700

    Merge pull request #620 from ckamm/req-id
    
    Add ZMQ_REQ_REQUEST_IDS option.

commit b9646f2aacf414eb30044a9be3a03d2bd9230c7f
Author: Christian Kamm <kamm@incasoftware.de>
Date:   Fri Jul 26 21:13:43 2013 +0200

    Add ZMQ_REQ_REQUEST_IDS option.
    
    * Documentation:
    The default behavior of REQ sockets is to rely on the ordering of messages
    to match requests and responses and that is usually sufficient. When this option
    is set to 1, the REQ socket will prefix outgoing messages with an extra frame
    containing a request id. That means the full message is (request id, 0,
    user frames...). The REQ socket will discard all incoming messages that don't
    begin with these two frames.
    
    * Behavior change: When a REQ socket gets an invalid reply, it used to
      discard the message and return EAGAIN. REQ sockets still discard
      invalid messages, but keep looking at the next one automatically
      until a good one is found or there are no more messages.
    * Add test_req_request_ids.

 .gitignore                     |    1 +
 doc/zmq_setsockopt.txt         |   17 ++++
 include/zmq.h                  |    1 +
 src/req.cpp                    |   77 ++++++++++++++---
 src/req.hpp                    |   12 +++
 tests/Makefile.am              |    4 +-
 tests/test_req_request_ids.cpp |  179 ++++++++++++++++++++++++++++++++++++++++
 7 files changed, 277 insertions(+), 14 deletions(-)

commit 6473dfd8f43beaa62b233f30ea839e25caf47382
Merge: 4944095 4a5358f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Jul 18 03:26:21 2013 -0700

    Merge pull request #617 from hurtonm/zap_updates
    
    Zap updates

commit 4a5358f4d0f227844b5e66a5724fd4df930b25e1
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Jul 18 10:10:10 2013 +0200

    Implement ZAP for NULL mechanism

 src/null_mechanism.cpp |  155 +++++++++++++++++++++++++++++++++++++++++++++++-
 src/null_mechanism.hpp |   16 ++++-
 src/stream_engine.cpp  |    3 +-
 3 files changed, 169 insertions(+), 5 deletions(-)

commit 53bc53da04a4fb2fe666e6607c29d11bec780984
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Jul 18 09:49:42 2013 +0200

    Update PLAIN mechanism to the latest ZAP revision

 src/plain_mechanism.cpp |   31 ++++++++++++++++++++++---------
 src/plain_mechanism.hpp |    3 +++
 src/stream_engine.cpp   |    3 ++-
 tests/test_security.cpp |    6 +++++-
 4 files changed, 32 insertions(+), 11 deletions(-)

commit d65231be1ced9f6411427a1be971525e7f19f5e9
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Jul 18 09:39:19 2013 +0200

    Update CURVE mechanism to the latest ZAP revision

 src/curve_server.cpp          |   29 ++++++++++++++++++++++-------
 src/curve_server.hpp          |    3 +++
 src/stream_engine.cpp         |    6 +++++-
 src/stream_engine.hpp         |    2 ++
 tests/test_security_curve.cpp |    5 ++++-
 5 files changed, 36 insertions(+), 9 deletions(-)

commit 7541debe6de46308ada745e08348eb457623acba
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Jul 18 09:28:56 2013 +0200

    Add get_peer_ip_address utility function
    
    The functon returns string representation of peer's
    IP address. We will need this to update ZAP implementation.

 src/ip.cpp |   40 ++++++++++++++++++++++++++++++++++++++++
 src/ip.hpp |    7 ++++++-
 2 files changed, 46 insertions(+), 1 deletion(-)

commit 49440952621cdea052e8539aaa0542de42f6759b
Merge: 1068bc0 d46c2ee
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jul 15 00:15:55 2013 -0700

    Merge pull request #615 from hintjens/master
    
    Last step in test_spec_req is still failing; disabled it.

commit 1068bc0795f11f6dd543997126150758c8f2b8c4
Merge: 4fb004f 409721b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jul 14 14:48:17 2013 -0700

    Merge pull request #616 from steve-o/master
    
    Add static libraries to CMake, minor housekeeping.

commit 409721b9d2657b937d1de6c7eca7111d16c4a125
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Sun Jul 14 13:58:46 2013 -0400

    Add CMake support for static libraries.

 CMakeLists.txt |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

commit 21fe600848a01f4014aa97b04cc301669502db69
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Sun Jul 14 13:36:30 2013 -0400

    Move CMake dependencies together.

 CMakeLists.txt                                |    6 +-
 builds/cmake/Modules/FindAsciiDoc.cmake       |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake     |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake |  129 ++++
 builds/cmake/NSIS.template32.in               |  952 ++++++++++++++++++++++++
 builds/cmake/NSIS.template64.in               |  960 +++++++++++++++++++++++++
 cmake/Modules/FindAsciiDoc.cmake              |   24 -
 cmake/Modules/TestZMQVersion.cmake            |   18 -
 cmake/Modules/ZMQSourceRunChecks.cmake        |  129 ----
 cmake/NSIS.template32.in                      |  952 ------------------------
 cmake/NSIS.template64.in                      |  960 -------------------------
 11 files changed, 2086 insertions(+), 2086 deletions(-)

commit ae86c56d74a4cc549629829714ff189369027a29
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Sun Jul 14 13:26:55 2013 -0400

    README file moved to GitHub format and extension, drop from packaging and default to NEWS file for popup.

 CMakeLists.txt           |    7 +++----
 cmake/NSIS.template32.in |    2 +-
 cmake/NSIS.template64.in |    2 +-
 3 files changed, 5 insertions(+), 6 deletions(-)

commit d46c2ee2fc566a6ddceae2820a552dbce1c15bff
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jul 14 13:04:31 2013 +0200

    Disabled last step in test_spec_req so build can complete

 tests/test_spec_req.cpp |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 4fb004f59b81a09a8b428409b61baa79b642712d
Merge: bccf3d6 7de23c0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jul 14 03:00:06 2013 -0700

    Merge pull request #614 from ckamm/fix-spec-req-fail
    
    Fix intermittent failure in test_spec_req.

commit 7de23c0c8dafe9305fc89203ff420da9b191d814
Author: Christian Kamm <kamm@incasoftware.de>
Date:   Sun Jul 14 11:55:57 2013 +0200

    Fix intermittent failure in test_spec_req.
    
    There still is a problem when a stale peer's message
    arrives at the REQ just after a request was sent to that peer.

 tests/test_spec_req.cpp |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

commit bccf3d61268b3809cb609e9c9a4ec98575fee179
Merge: 93b9f90 bbc9a61
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jul 14 02:32:20 2013 -0700

    Merge pull request #613 from ckamm/coding-style-spec-tests
    
    Fix coding style in spec tests.

commit 93b9f9021c76c7812adb592bf29d29ad9eed2ac5
Merge: 524bd7a c56d797
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jul 14 02:30:21 2013 -0700

    Merge pull request #608 from ckamm/req-drops-unwanted
    
    REQ sockets drop replies from unasked peers.

commit bbc9a611979aaa62c67eaa768d7f0735d1f53272
Author: Christian Kamm <kamm@incasoftware.de>
Date:   Sun Jul 14 08:32:35 2013 +0200

    Fix coding style in spec tests.

 tests/test_spec_dealer.cpp   |   66 +++++++++++++---------------
 tests/test_spec_pushpull.cpp |   99 ++++++++++++++++++------------------------
 tests/test_spec_rep.cpp      |   57 +++++++++++-------------
 tests/test_spec_req.cpp      |    8 ++--
 tests/test_spec_router.cpp   |   61 ++++++++++++--------------
 5 files changed, 130 insertions(+), 161 deletions(-)

commit c56d797bf915e0774646e651dbbce89b8e566f45
Author: Christian Kamm <kamm@incasoftware.de>
Date:   Tue Jul 2 20:05:20 2013 +0200

    REQ sockets drop replies from unasked peers.
    
    * Add lb_t::sendpipe() that returns the pipe that was used for sending,
      similar to fq_t::recvpipe().
    * Add forwarder functions to dealer_t to access these two.
    * Add logic to req_t to ignore replies on pipes that are not the one
      where the request was sent.
    * Enable test in test_spec_req.

 AUTHORS                 |    1 +
 src/dealer.cpp          |   14 ++++++++++++--
 src/dealer.hpp          |    4 ++++
 src/lb.cpp              |   10 +++++++++-
 src/lb.hpp              |    7 +++++++
 src/req.cpp             |   39 +++++++++++++++++++++++++++++++++++----
 src/req.hpp             |    9 +++++++++
 tests/test_spec_req.cpp |    3 +--
 8 files changed, 78 insertions(+), 9 deletions(-)

commit 524bd7ac765d33e537ffcf981e7f3d06899a9aca
Merge: 7560910 6bf4ffe
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jul 13 16:27:41 2013 -0700

    Merge pull request #612 from ulikoehler/markdown
    
    Converted README to markdown

commit 6bf4ffe7270d5079de5760e471595f24acdcc788
Author: Uli Köhler <ulikoehler@online.de>
Date:   Sun Jul 14 00:55:40 2013 +0200

    Converted README to markdown + added travis build img

 README    |   39 ---------------------------------------
 README.md |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 39 deletions(-)

commit 7560910f505c06d29191bdff1659133342ceadfa
Merge: 5ac1964 0f28b72
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jul 13 10:39:06 2013 -0700

    Merge pull request #611 from pijyoi/master
    
    update Makefile to include new files

commit 0f28b729140900f6dcb7a560e13cbcd85537f2d1
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Sat Jul 13 14:31:46 2013 +0800

    update to include stream.cpp and curve related

 builds/mingw32/Makefile.mingw32 |   30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)

commit 5ac19647d9c097a7657d7532f9dfecb16f471e9c
Merge: 08622a7 9ca6898
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jul 8 04:12:06 2013 -0700

    Merge pull request #610 from hintjens/master
    
    Problem: new spec test cases don't all work

commit 9ca6898f24d3c5b4b550f7bd5c8882d2aaf4fcc7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jul 7 12:49:24 2013 +0200

    Got new test cases working with libzmq
    
    * disabled the specific tests that do not work (yet) on libzmq
    * cleaned up one source (test_spec_rep.c) but the others need similar work
    * added sleep in test_spec_rep to allow connects time to happen; this would
      not be needed if we connected out to the REP peers instead in from them,
      but I didn't want to change the logic of the test code.

 .gitignore                   |    5 +++
 tests/test_spec_dealer.cpp   |   41 ++++++++----------
 tests/test_spec_pushpull.cpp |    3 +-
 tests/test_spec_req.cpp      |   97 +++++++++++++++++++++---------------------
 tests/test_spec_router.cpp   |    3 +-
 tests/testutil.hpp           |   16 +++----
 6 files changed, 80 insertions(+), 85 deletions(-)

commit 08622a7788f6e14cb26eb15e19f90939a0bd7696
Merge: 5038ef7 dfba19c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jul 5 15:36:14 2013 -0700

    Merge pull request #609 from ckamm/tests
    
    Make pipeline/reqrep tests try tcp:// endpoints.

commit dfba19c4b652fb064138f0b3c47b1f27cc8464a8
Author: Christian Kamm <kamm@incasoftware.de>
Date:   Fri Jul 5 17:58:01 2013 +0200

    Make pipeline/reqrep tests try tcp:// endpoints.
    
    The inproc:// endpoints sometimes use different code paths so
    testing with regular tcp:// endpoints as well can show different
    issues.

 tests/test_spec_dealer.cpp   |   98 ++++++++++++++++++-------------
 tests/test_spec_pushpull.cpp |  132 ++++++++++++++++++++++++++++++------------
 tests/test_spec_rep.cpp      |   58 ++++++++++++-------
 tests/test_spec_req.cpp      |   78 +++++++++++++++----------
 tests/test_spec_router.cpp   |   77 ++++++++++++++++--------
 tests/testutil.hpp           |   11 ++++
 6 files changed, 300 insertions(+), 154 deletions(-)

commit 5038ef74b5bc0aa972cce80e085fcaaa64eaa536
Merge: e093bd9 8fd163c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jul 5 08:18:41 2013 -0700

    Merge pull request #606 from ckamm/master
    
    Add tests for Request-Reply and Pipeline pattern sockets.

commit 8fd163cf5c82eaa483a00ca31a8e0b433a696657
Author: Christian Kamm <kamm@incasoftware.de>
Date:   Fri Jul 5 15:20:42 2013 +0200

    Add tests for PUSH/PULL sockets.

 tests/Makefile.am            |    4 +-
 tests/test_spec_pushpull.cpp |  250 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 253 insertions(+), 1 deletion(-)

commit e093bd99234b37bb479889a90bcf467a1cb3fdd4
Merge: 78e4791 7b7f7e4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jul 3 15:43:09 2013 -0700

    Merge pull request #607 from cjuniet/master
    
    [LIBZMQ-544] Fix compilation errors with Clang

commit 7b7f7e4ebdcba8a52cdd76e4cb911ec7c6e7dbf9
Author: Christophe Juniet <c.juniet@gmail.com>
Date:   Wed Jul 3 22:30:48 2013 +0200

    Fix compilation warnings on unsigned comparisons.
    
    Fix two unsigned comparisons to zero or more being always true. Clang
    won't compile this with -Werror.

 src/options.cpp   |    4 ++--
 src/z85_codec.hpp |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit 798b394087d27201e3d4a16594ea867bf5eecf08
Author: Christian Kamm <kamm@incasoftware.de>
Date:   Tue Jul 2 15:04:31 2013 +0200

    Add tests for Request-Reply pattern sockets.
    
    * See http://rfc.zeromq.org/spec:28/REQREP
    * Not all testable statements are covered.
    * At this point, there are several failures:
      - test_spec_req: The REQ socket does not correctly discard messages
        from peers that are not currently being talked to.
      - test_spec_dealer/router: On disconnect, the queues seem to not be
        emptied. The DEALER can still receive a message the disconnected
        peer sent, the ROUTER can still send to the identity of the dis-
        connected peer.

 tests/Makefile.am          |   12 ++-
 tests/test_spec_dealer.cpp |  248 ++++++++++++++++++++++++++++++++++++++++++++
 tests/test_spec_rep.cpp    |  144 +++++++++++++++++++++++++
 tests/test_spec_req.cpp    |  230 ++++++++++++++++++++++++++++++++++++++++
 tests/test_spec_router.cpp |  180 ++++++++++++++++++++++++++++++++
 tests/testutil.hpp         |   80 +++++++++++++-
 6 files changed, 891 insertions(+), 3 deletions(-)

commit 78e47912d2c5dd2795bf45479c0c2552e3f41d14
Merge: 5a30022 9986106
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jul 1 04:41:46 2013 -0700

    Merge pull request #605 from ricnewton/master
    
    Fix tab/space formatting issue

commit 998610602e6c1494131680ca89030663dc62ab0c
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Jul 1 12:10:57 2013 +0100

    Fix tab/space formatting issue

 tests/test_monitor.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 5a30022045eed8eb3b10acb8bae73bcd2b1af2b0
Merge: a3e16c1 f6e972d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jul 1 04:08:25 2013 -0700

    Merge pull request #603 from ricnewton/master
    
    Add monitor event for when monitoring is stopped so we can unblock any sockets waiting on monitor socket.

commit a3e16c18b19102e6a96f9362cbf1fd7429ba8bee
Merge: 1cfee8d 01dd6eb
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jul 1 04:07:44 2013 -0700

    Merge pull request #604 from ricnewton/cmake_fix
    
    Fix cmake build

commit 01dd6eb1103da9b38c25209ac25295aa82e8386a
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Jul 1 11:52:39 2013 +0100

    Fix cmake build
    Fix build on windows, uint isn't a standard type, unsigned int is.

 CMakeLists.txt    |    1 +
 src/z85_codec.hpp |   12 ++++++------
 2 files changed, 7 insertions(+), 6 deletions(-)

commit f6e972d54619935835604e7bb4dd2f86564c2eab
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Jul 1 10:31:57 2013 +0000

    Fix montior tests to handle the monitor stopped event correctly

 tests/test_monitor.cpp |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit d4d23caf326409a18cb6677dd7225f9d6550b269
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Jul 1 11:00:46 2013 +0100

    Add new socket monitor event for when socket monitoring is stopped.

 include/zmq.h       |    4 +++-
 src/socket_base.cpp |    6 ++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

commit 1cfee8d1e79264e783b1ce2e48120eb8bc4ffc5b
Merge: 2a4aef9 4671108
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jul 1 02:14:07 2013 -0700

    Merge pull request #601 from leewoosung/hotfixes/patched
    
    [LIBZMQ-541] pub socket sending fail issue

commit 2a4aef9223bb8c6b101a882f2d9182666852cd07
Merge: 58b1082 783bb89
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jul 1 02:06:29 2013 -0700

    Merge pull request #602 from hurtonm/master
    
    Implement socket type checking

commit 783bb890a9c7184b8c8acfe7aad6a75fdd60001a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Jul 1 10:04:54 2013 +0200

    Check socket types during mechanism handshake

 src/curve_client.cpp    |    9 ---------
 src/curve_client.hpp    |    3 ---
 src/curve_server.cpp    |    9 ---------
 src/curve_server.hpp    |    3 ---
 src/mechanism.cpp       |   48 +++++++++++++++++++++++++++++++++++++++++++----
 src/mechanism.hpp       |    4 ++++
 src/null_mechanism.cpp  |    9 ---------
 src/null_mechanism.hpp  |    4 ----
 src/plain_mechanism.cpp |    9 ---------
 src/plain_mechanism.hpp |    5 -----
 tests/test_raw_sock.cpp |    2 +-
 tests/test_stream.cpp   |    4 ++--
 12 files changed, 51 insertions(+), 58 deletions(-)

commit 4671108e571b442e5565c399c42d5e7c8f48bde8
Author: ganesh.vr <ganesh.vr@samsung.com>
Date:   Mon Jul 1 15:57:06 2013 +0900

    LIBZMQ-541 issue fix

 src/dist.cpp |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

commit 58b1082467ffd7af3294052d921bd097136a4399
Merge: 11947b1 afe9afa
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 29 23:56:04 2013 -0700

    Merge pull request #600 from hurtonm/master
    
    Set socket buffers before establishing TCP connection

commit afe9afa2a54f092327af62ce23a50547ab94e513
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Jun 30 06:41:36 2013 +0200

    Set socket buffers before establishing TCP connection
    
    The window scale option carried in SYN segment is computed from socket's
    receive buffer size. So we need to set this buffer size before calling
    connect or bind.

 src/stream_engine.cpp |   19 -------------------
 src/tcp.cpp           |   22 ++++++++++++++++++++++
 src/tcp.hpp           |    6 ++++++
 src/tcp_connecter.cpp |    6 ++++++
 src/tcp_listener.cpp  |    6 ++++++
 5 files changed, 40 insertions(+), 19 deletions(-)

commit 11947b1ccb8002ee715b791ded6a7f2d14bfbfe9
Merge: a71d64a c9bdb89
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 29 09:36:50 2013 -0700

    Merge pull request #597 from hintjens/master
    
    Problem: working with binary keys is painful

commit a71d64ab95880bd01f9d49abe8025e3e1a9c6243
Merge: 7460d00 aef2171
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 29 09:34:47 2013 -0700

    Merge pull request #599 from hurtonm/master
    
    Minor code refactoring

commit aef2171e8390864d484186265ba8f7237d0d368c
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 29 17:24:30 2013 +0200

    Make last_endpoint attribute of socket object

 src/options.cpp     |    8 --------
 src/options.hpp     |    3 ---
 src/socket_base.cpp |   20 +++++++++++++++-----
 src/socket_base.hpp |    3 +++
 4 files changed, 18 insertions(+), 16 deletions(-)

commit c9bdb893f8fd9705a79ecdeabb2e7e1a39f35816
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 29 11:24:46 2013 +0200

    Use generic session class whenever possible

 src/dealer.cpp       |   12 ------------
 src/dealer.hpp       |   15 ---------------
 src/pair.cpp         |   12 ------------
 src/pair.hpp         |   15 ---------------
 src/pub.cpp          |   12 ------------
 src/pub.hpp          |   15 ---------------
 src/pull.cpp         |   12 ------------
 src/pull.hpp         |   15 ---------------
 src/push.cpp         |   12 ------------
 src/push.hpp         |   15 ---------------
 src/rep.cpp          |   12 ------------
 src/rep.hpp          |   15 ---------------
 src/req.cpp          |    8 ++++----
 src/req.hpp          |    2 +-
 src/router.cpp       |   12 ------------
 src/router.hpp       |   15 ---------------
 src/session_base.cpp |   43 +------------------------------------------
 src/stream.cpp       |   12 ------------
 src/stream.hpp       |   15 ---------------
 src/sub.cpp          |   12 ------------
 src/sub.hpp          |   15 ---------------
 src/xpub.cpp         |   12 ------------
 src/xpub.hpp         |   15 ---------------
 src/xsub.cpp         |   12 ------------
 src/xsub.hpp         |   15 ---------------
 25 files changed, 6 insertions(+), 344 deletions(-)

commit 7460d00bacadf8df1c173daca28ebc3ec197543c
Merge: 1beec5e fd7e9b8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 29 02:36:30 2013 -0700

    Merge pull request #598 from hurtonm/master
    
    Use generic session class whenever possible

commit fd7e9b8c4637679a9fe2a142771f7f977120df4a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 29 11:24:46 2013 +0200

    Use generic session class whenever possible

 src/dealer.cpp       |   12 ------------
 src/dealer.hpp       |   15 ---------------
 src/pair.cpp         |   12 ------------
 src/pair.hpp         |   15 ---------------
 src/pub.cpp          |   12 ------------
 src/pub.hpp          |   15 ---------------
 src/pull.cpp         |   12 ------------
 src/pull.hpp         |   15 ---------------
 src/push.cpp         |   12 ------------
 src/push.hpp         |   15 ---------------
 src/rep.cpp          |   12 ------------
 src/rep.hpp          |   15 ---------------
 src/req.cpp          |    8 ++++----
 src/req.hpp          |    2 +-
 src/router.cpp       |   12 ------------
 src/router.hpp       |   15 ---------------
 src/session_base.cpp |   43 +------------------------------------------
 src/stream.cpp       |   12 ------------
 src/stream.hpp       |   15 ---------------
 src/sub.cpp          |   12 ------------
 src/sub.hpp          |   15 ---------------
 src/xpub.cpp         |   12 ------------
 src/xpub.hpp         |   15 ---------------
 src/xsub.cpp         |   12 ------------
 src/xsub.hpp         |   15 ---------------
 25 files changed, 6 insertions(+), 344 deletions(-)

commit 70417701089e5918452996d7cbe48c89e35a39e0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 28 22:10:22 2013 +0200

    Added Z85 support
    
    The use of binary for CURVE keys is painful; you cannot easily copy
    these in e.g. email, or use them directly in source code. There are
    various encoding possibilities. Base16 and Base64 are not optimal.
    Ascii85 is not safe for source (it generates quotes and escapes).
    
    So, I've designed a new Base85 encoding, Z85, which is safe to use
    in code and elsewhere, and I've modified libzmq to use this where
    it also uses binary keys (in get/setsockopt).
    
    Very simply, if you use a 32-byte value, it's Base256 (binary),
    and if you use a 40-byte value, it's Base85 (Z85).
    
    I've put the Z85 codec into z85_codec.hpp, it's not elegant C++
    but it is minimal and it works. Feel free to rewrap as a real class
    if this annoys you.

 Makefile.am                   |    6 +--
 configure.ac                  |   12 +++--
 doc/zmq_curve.txt             |   36 +++++++++++---
 doc/zmq_getsockopt.txt        |   58 +++++++++++++++++++---
 doc/zmq_setsockopt.txt        |   32 +++++++-----
 src/Makefile.am               |    1 +
 src/options.cpp               |   39 ++++++++++++++-
 src/options.hpp               |    5 +-
 src/z85_codec.hpp             |  108 +++++++++++++++++++++++++++++++++++++++++
 tests/test_security_curve.cpp |   55 +++++++--------------
 tools/Makefile.am             |    1 +
 tools/curve_keygen.c          |   40 +++++++++++----
 tools/z85_codec.h             |  108 +++++++++++++++++++++++++++++++++++++++++
 13 files changed, 418 insertions(+), 83 deletions(-)

commit 1beec5e960646eead85df5a91e1e9b986af0ce28
Merge: ba1ae7d 76df045
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Jun 28 05:05:54 2013 -0700

    Merge pull request #596 from hintjens/master
    
    Problem: mechanisms are lagging behind specs

commit 76df0459503de64fe5fabb916420faeed2ca667c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 28 12:04:01 2013 +0200

    Return EINVAL when trying to use CURVE without libsodium

 src/options.cpp |   27 +++++++--------------------
 1 file changed, 7 insertions(+), 20 deletions(-)

commit 357a9c45fbfb195a23ad42365153c279c49ea8d9
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Jun 28 11:24:14 2013 +0200

    Simplify ZMQ_STREAM socket implementation, part II

 src/stream.cpp |   57 ++++++++++++++++++++------------------------------------
 src/stream.hpp |    3 ---
 2 files changed, 20 insertions(+), 40 deletions(-)

commit 7832addd202a20f65e218d74df6621147c7b8eb9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 28 11:42:54 2013 +0200

    Updated security mechanisms to use variable-length commands
    
    RFC23, RFC24, RFC26 now use variable-length command names that
    end in null octet (valid C strings) instead of fixed-length
    space padded strings.

 src/curve_client.cpp          |   32 +++++------
 src/curve_server.cpp          |   34 +++++------
 src/mechanism.cpp             |    2 +-
 src/null_mechanism.cpp        |   10 ++--
 src/plain_mechanism.cpp       |   12 ++--
 tests/Makefile.am             |    2 +-
 tests/test_raw_sock.cpp       |   19 +++---
 tests/test_security.cpp       |  128 +++++++++++------------------------------
 tests/test_security_curve.cpp |  105 ++++++++-------------------------
 tests/test_stream.cpp         |   19 +++---
 tests/testutil.hpp            |   32 +++++++++++
 11 files changed, 153 insertions(+), 242 deletions(-)

commit ba1ae7d639aa07bec60687bb70ff99c1a1f753d5
Merge: fe2753d 7b27c12
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 28 02:28:23 2013 -0700

    Merge pull request #595 from hurtonm/master
    
    Another ZMQ_STREAM simplification

commit 7b27c125dc3025fe16b1f259695f7bbaa78ee9f0
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Jun 28 11:24:14 2013 +0200

    Simplify ZMQ_STREAM socket implementation, part II

 src/stream.cpp |   57 ++++++++++++++++++++------------------------------------
 src/stream.hpp |    3 ---
 2 files changed, 20 insertions(+), 40 deletions(-)

commit dd14d4e01b5188d89fa45d0c8189cf550b22d1ae
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 28 10:16:50 2013 +0200

    Minor whitespace fixes in man page

 doc/zmq_setsockopt.txt |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit c4ae74f8161b3f68f5933993bc89acc9209d4ced
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 28 09:41:05 2013 +0200

    Fixed zmq_errno function definition

 src/zmq.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit fe2753da0af6df9931f164aedd04d9d37ebb7f66
Merge: d8f1376 a1bb5e8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 28 01:15:02 2013 -0700

    Merge pull request #594 from hurtonm/master
    
    Simplify ZMQ_STREAM socket implementation

commit a1bb5e83ffd837e9d074bf727152d62583e7a516
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Jun 28 09:08:54 2013 +0200

    Simplify ZMQ_STREAM socket implementation

 src/stream.cpp |   87 +++++++++++++-------------------------------------------
 src/stream.hpp |   18 ++----------
 2 files changed, 22 insertions(+), 83 deletions(-)

commit d8f13760083bd5ae302dd8c38af9c4cd6ac4b1d3
Merge: 4a4d222 ad77937
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Jun 27 14:09:04 2013 -0700

    Merge pull request #593 from hintjens/master
    
    Problem: ROUTER+RAW was not a clean API

commit ad7793795692e93595f01e12773467fb9270e9ec
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jun 27 20:47:34 2013 +0200

    Added ZMQ_STREAM socket type
    
    - designed for TCP clients and servers
    - added HTTP client / server example in tests/test_stream.cpp
    - same as ZMQ_ROUTER + ZMQ_ROUTER_RAW + ZMQ_ROUTER_MANDATORY
    - includes b893ce set ZMQ_IDENTITY on outgoing connect
    - deprecates ZMQ_ROUTER_RAW

 .gitignore             |    2 +
 doc/zmq_msg_send.txt   |    2 +
 doc/zmq_send.txt       |    2 +
 doc/zmq_sendmsg.txt    |    2 +
 doc/zmq_setsockopt.txt |    2 +
 doc/zmq_socket.txt     |   42 +++++-
 include/zmq.h          |    1 +
 src/Makefile.am        |    2 +
 src/mechanism.cpp      |    4 +-
 src/router.cpp         |    7 +-
 src/session_base.cpp   |    5 +
 src/socket_base.cpp    |    4 +
 src/stream.cpp         |  335 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/stream.hpp         |  127 ++++++++++++++++++
 tests/Makefile.am      |    9 +-
 tests/test_stream.cpp  |  228 ++++++++++++++++++++++++++++++++
 16 files changed, 763 insertions(+), 11 deletions(-)

commit 4a4d222ec45c10da66c9514713d3959c31b44709
Merge: e9d11c6 b893ce2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jun 23 23:29:44 2013 -0700

    Merge pull request #592 from gavinmcniff/master
    
    Store identity for raw socket

commit b893ce250301b408d040c75933993cd85560b1ce
Author: Gavin <gavin@mcniff.ie>
Date:   Sun Jun 23 18:16:33 2013 +0100

    Store identity for raw socket
    
    Identity stored during connect procedure. Can be read using
    zmq_getsockopt and used as the identity frame when sending messages.
    This allows the implementation of a raw socket client.

 src/router.cpp |    3 +++
 1 file changed, 3 insertions(+)

commit e9d11c6611f76ad5aebddeaf7ca73a04d6b7d65d
Merge: ec943ac b12be41
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 23 01:07:59 2013 -0700

    Merge pull request #591 from hurtonm/master
    
    Rename parse_properties to parse_metadata

commit b12be41736ee4bc1e2137a8553f8183f9b60514d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Jun 23 08:52:27 2013 +0200

    Rename parse_properties to parse_metadata

 src/curve_client.cpp    |    4 ++--
 src/curve_server.cpp    |    4 ++--
 src/mechanism.cpp       |    4 ++--
 src/mechanism.hpp       |   10 ++++++----
 src/null_mechanism.cpp  |    2 +-
 src/plain_mechanism.cpp |    4 ++--
 6 files changed, 15 insertions(+), 13 deletions(-)

commit ec943ac5de7a7572b84b75f41c0ba6ae2bccebb7
Merge: 19cf076 99d4974
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 22 14:19:02 2013 -0700

    Merge pull request #590 from hurtonm/master
    
    Refactor how properties are parsed

commit 99d4974580bb6c77c0eccf5f92afe81f761e801d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 22 19:02:08 2013 +0200

    Refactor how properties are parsed

 src/curve_client.cpp    |   43 +++++------------------------------
 src/curve_client.hpp    |    3 ++-
 src/curve_server.cpp    |   43 +++++------------------------------
 src/curve_server.hpp    |    4 +++-
 src/mechanism.cpp       |   50 +++++++++++++++++++++++++++++++++++++++++
 src/mechanism.hpp       |   14 ++++++++++++
 src/null_mechanism.cpp  |   57 +++++++++++++----------------------------------
 src/null_mechanism.hpp  |    4 ++++
 src/plain_mechanism.cpp |   43 +++++------------------------------
 src/plain_mechanism.hpp |    7 ++++--
 10 files changed, 112 insertions(+), 156 deletions(-)

commit 19cf076f8c79ec511a0859d0a50b92c65a747615
Merge: 73e1952 13df8e6
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 22 08:28:03 2013 -0700

    Merge pull request #589 from ianbarber/master
    
    Add test for CURVE mechanism

commit 13df8e6546d85d5308657d6475bd3a867b181e70
Merge: 211bf2b 73e1952
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 22 16:19:26 2013 +0100

    Merge branch 'master' of git://github.com/zeromq/libzmq

commit 211bf2b08e312a7f9ae1e165085f79788854df0c
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 22 16:17:25 2013 +0100

    Added security curve test
    
    Test is skipped if no libsodium.
    Added warning if libsodium not configured

 configure.ac                  |    2 +-
 tests/Makefile.am             |    2 +
 tests/test_security_curve.cpp |  224 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 227 insertions(+), 1 deletion(-)

commit 73e195279ae201f99b38c4afcba86c5663c0eea4
Merge: 2bf5124 084e879
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 22 07:25:26 2013 -0700

    Merge pull request #588 from hurtonm/master
    
    Small code cleanup

commit 084e8792de2115e08a5d6bb84d176e4fe8302066
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 22 13:40:32 2013 +0200

    Small cleanup in pipe.cpp

 src/pipe.cpp |   20 ++++++++------------
 src/pipe.hpp |    2 +-
 2 files changed, 9 insertions(+), 13 deletions(-)

commit 2bf51247feeb02276eddb325883a993e740bfb7f
Merge: 8bb79b5 fa0f0e2
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 22 07:14:28 2013 -0700

    Merge pull request #587 from hurtonm/master
    
    Make ZAP optional for CURVE mechanism

commit fa0f0e21b82808383e549d872a52a1b7de7e2f37
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 22 16:05:34 2013 +0200

    Make ZAP optional for PLAIN mechanism

 src/plain_mechanism.cpp |  141 ++++++++++++++++++++++++-----------------------
 src/plain_mechanism.hpp |    6 ++
 2 files changed, 78 insertions(+), 69 deletions(-)

commit 8bb79b5eb1fabfd5e430fc09a29a35c661feb053
Merge: acaaaa5 5975e00
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 22 06:42:26 2013 -0700

    Merge pull request #586 from hurtonm/master
    
    Make ZAP optional for CURVE mechanism

commit 5975e00fd1bedfcdd99664baf52fffcc7982120a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 22 15:33:44 2013 +0200

    Make ZAP optional for CURVE mechanism

 src/curve_server.cpp |   42 ++++++++++++++++--------------------------
 src/curve_server.hpp |    5 ++++-
 2 files changed, 20 insertions(+), 27 deletions(-)

commit acaaaa53517cbe6f5f20b424e41a65a8240bbc5e
Merge: 675bd46 fadfcac
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 22 05:19:01 2013 -0700

    Merge pull request #585 from hintjens/master
    
    Problem: allows CURVE security even if libzmq was built without libsodium

commit fadfcac1dec8e3b36bf1498b0d38f818e8d233e7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 22 13:50:22 2013 +0200

    Fixed compile error, needed unistd.h

 tests/test_monitor.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 1ea06883c0694486324ed9a7adc2fba4334987f7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 22 13:39:20 2013 +0200

    Fixed spelling in comments

 src/lb.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit fb43d5a0fef8349b49a573a9fc82aea4f62c95f7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 22 13:39:02 2013 +0200

    Whitespace fix to man page

 doc/zmq_setsockopt.txt |    1 +
 1 file changed, 1 insertion(+)

commit f4848ddb32612be96eba308c3e7e3361c4c33f98
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 22 13:38:14 2013 +0200

    Prints message and exits if app tries to use CURVE without libsodium

 src/options.cpp |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit 675bd4640bf3646b4d8420984681948e7556d33f
Merge: 9eb2521 1b86324
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 22 04:18:27 2013 -0700

    Merge pull request #584 from hurtonm/master
    
    Fix test_disconnect_inproc to work on ILP64 systems

commit 1b86324396fcbe77455645d2a39f5c5b696beaed
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 22 13:00:33 2013 +0200

    Fix test_disconnect_inproc to work on ILP64 systems

 tests/test_disconnect_inproc.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 9eb2521537ed1fec2f7be0740b0817802e19c1a9
Merge: 91bc740 694543e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 22 03:25:44 2013 -0700

    Merge pull request #583 from ianbarber/master
    
    Small stream engine issue and test_monitor tidy up

commit 694543e3a20f2e6763b12c8930d6351da2c7be45
Merge: f4c51db 91bc740
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 22 10:59:16 2013 +0100

    Merge branch 'master' of git://github.com/zeromq/libzmq

commit f4c51db842f78182a4b0392c96cd706251c770e9
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 22 10:58:16 2013 +0100

    Fix small streamengine issue w/ term and handshake
    
    Also tidy up monitor test a little.

 src/stream_engine.cpp  |    6 ++++++
 tests/test_monitor.cpp |   23 +++++++++++++----------
 2 files changed, 19 insertions(+), 10 deletions(-)

commit 91bc74089ff0655966c6adf566b67796ab12b5ab
Merge: c9638fc 8af208f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 22 02:57:34 2013 -0700

    Merge pull request #582 from hurtonm/master
    
    Implement CurveZMQ message encryption and authentication

commit 8af208fab7388c1ee37daaf4403d73a887eeb71f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 22 11:48:33 2013 +0200

    Implement ZMTP/3.0 CURVE mechanism

 src/stream_engine.cpp |   57 +++++++++++++++++++++++++++++++++++++++++++++++--
 src/stream_engine.hpp |    4 ++++
 2 files changed, 59 insertions(+), 2 deletions(-)

commit e4a211870c43d9a8c96ad16c8b751b37a3cfa53d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 22 11:46:40 2013 +0200

    Implement CurveZMQ message encryption and authentication

 src/curve_client.cpp |  107 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/curve_client.hpp |    2 +
 src/curve_server.cpp |  107 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/curve_server.hpp |    2 +
 src/mechanism.hpp    |    4 ++
 5 files changed, 222 insertions(+)

commit c9638fceb4886f13a6aeb7db7bdc521ab923a132
Merge: c5078ea 8c0ded5
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 22 02:12:39 2013 -0700

    Merge pull request #581 from hintjens/master
    
    Problem: code isn't setting mechanism to CURVE properly

commit 8c0ded5076d9f5afe7c272d0dcd17316af7c66d8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 22 11:05:01 2013 +0200

    Properly set mechanism to CURVE when setting a curve option

 src/options.cpp |    4 ++++
 1 file changed, 4 insertions(+)

commit c5078ea1b8123f74bcd9361bc52c650c7855eea5
Merge: 92b02b9 20a7978
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 22 01:08:35 2013 -0700

    Merge pull request #580 from hurtonm/master
    
    Stop ZMTP handshake when an unexpected message comes

commit 20a7978d679c653eb58e67753f66feb19e55c001
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 22 08:11:55 2013 +0200

    Stop ZMTP handshake when an unexpected message comes

 src/curve_client.cpp    |    3 ++-
 src/curve_server.cpp    |    2 +-
 src/plain_mechanism.cpp |    3 ++-
 src/stream_engine.cpp   |    2 --
 4 files changed, 5 insertions(+), 5 deletions(-)

commit 92b02b98cd3d08378033eac6cb9ea347b20e8fbd
Merge: 1fe7820 cabf4e6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 21 09:00:18 2013 -0700

    Merge pull request #579 from ianbarber/master
    
    Clean up socket_type_string

commit cabf4e658f2e4ad4d18377b53566d3a4a353c274
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jun 21 16:56:45 2013 +0100

    Comments to clarify the socket name function

 src/mechanism.hpp     |    2 ++
 src/stream_engine.hpp |    2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 1fe7820629f5f8bf5441ddf810901060984da797
Merge: c5a9fa5 10f69c1
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Jun 20 11:09:20 2013 -0700

    Merge pull request #577 from hintjens/master
    
    API for CURVE configuration

commit c5a9fa5b5e56ede6c794e8ca6b2bd0cab27f665d
Merge: 65c84ab 3b355fe
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jun 20 09:47:22 2013 -0700

    Merge pull request #578 from gonzus/master
    
    Changes to sanity tag in ctx

commit 3b355fec9ac5825ccd5b241aa3e4fbdbbfb989a9
Author: Gonzalo Diethelm <gonzalo.diethelm@diethelm.org>
Date:   Thu Jun 20 12:43:32 2013 -0400

    Introduced private constants for the context sanity tag values.
    Ignored more MSVC intermmediate files.

 .gitignore  |    2 +-
 src/ctx.cpp |    9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

commit 10f69c1500af39e7405b8a07b16be11c01827d70
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jun 20 18:30:30 2013 +0200

    Clarified man pages on mixed security

 doc/zmq_curve.txt      |   13 ++++++++-----
 doc/zmq_setsockopt.txt |    6 ++++--
 2 files changed, 12 insertions(+), 7 deletions(-)

commit d9bb16725ebe52faa3655ddd39cf2b8d0c82d0a3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jun 20 18:09:12 2013 +0200

    Added options for CURVE security
    
    - ZMQ_CURVE_PUBLICKEY for clients and servers
    - ZMQ_CURVE_SECRETKEY for clients
    - ZMQ_CURVE_SERVERKEY for clients
    - ZMQ_CURVE_SERVER for servers
    - added tools/curve_keygen.c as example
    - updated man pages

 .gitignore             |    2 ++
 doc/zmq.txt            |    6 ++--
 doc/zmq_curve.txt      |   41 ++++++++++++++++++++++------
 doc/zmq_setsockopt.txt |   71 +++++++++++++++++++++++++++++++++++++++++++-----
 include/zmq.h          |    9 +++---
 src/curve_client.cpp   |   11 ++------
 src/curve_server.cpp   |    3 +-
 src/options.cpp        |   57 ++++++++++++++++++++++++++++++++++++++
 src/options.hpp        |   15 +++++-----
 tools/curve_keygen.c   |   47 ++++++++++++++++++++++++++++++++
 10 files changed, 222 insertions(+), 40 deletions(-)

commit 65c84abdb538de24de4cfa9dac7b4db789a0787e
Merge: 9273022 37b99c0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jun 20 05:27:49 2013 -0700

    Merge pull request #576 from hurtonm/zmtp_curve
    
    Implement ZMTP/3.0 CURVE handshake

commit 37b99c0b4b706437e4298de7440c681b1b6ff218
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Jun 18 23:38:24 2013 +0200

    Implement ZMTP/3.0 CURVE handshake

 CMakeLists.txt       |    2 +
 src/Makefile.am      |    4 +
 src/curve_client.cpp |  344 +++++++++++++++++++++++++++++++
 src/curve_client.hpp |  109 ++++++++++
 src/curve_server.cpp |  547 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/curve_server.hpp |  113 +++++++++++
 src/options.hpp      |    9 +
 7 files changed, 1128 insertions(+)

commit 927302226096c6cbbc2fec28d1e293588f35887d
Merge: 1195092 9bd8d9a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jun 17 06:38:33 2013 -0700

    Merge pull request #575 from murphybytes/master
    
    Missing files in cmake generated build.

commit 9bd8d9a7269c0a04704e4dda978d1486a759b1b9
Author: John Murphy <murphybytes@gmail.com>
Date:   Sun Jun 16 18:42:51 2013 -0500

    added missing files required to build

 CMakeLists.txt |    3 +++
 1 file changed, 3 insertions(+)

commit 1195092c61befa2fceb9d16780a4570ec3f9f4a7
Merge: 5c54bc3 3832792
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 15 01:27:38 2013 -0700

    Merge pull request #574 from pijyoi/master
    
    fix memory leak in ipc_listener wildcard

commit 38327927ceda89422ae32f9223f40a0532f60b57
Author: xinchuan <nixchuan@gmail.com>
Date:   Sat Jun 15 16:11:50 2013 +0800

    fix memory leak in tempnam() usage

 src/ipc_listener.cpp |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

commit 5c54bc358e8d6fb1f4bc5bfc4ef64c26b84b2a4f
Merge: 6b8569d 627190c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jun 10 03:34:23 2013 -0700

    Merge pull request #573 from shripchenko/master
    
    another iteration on ZMQ_PROBE_ROUTER

commit 627190c8bee128032d74ce27e218e28323b535fd
Author: shripchenko <shripchenko@intermedia.net>
Date:   Mon Jun 10 02:31:00 2013 -0700

    another iteration on ZMQ_PROBE_ROUTER
    now it properly works for ROUTER

 src/dealer.cpp              |    4 ++--
 src/router.cpp              |   29 +++++++++++++----------------
 tests/test_probe_router.cpp |    4 +---
 3 files changed, 16 insertions(+), 21 deletions(-)

commit 6b8569d78abb16f764cf366bbe62cfbc61d1c226
Merge: 210fcbb 6ff51ee
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Jun 7 07:33:25 2013 -0700

    Merge pull request #572 from hintjens/master
    
    Updated ZAP PLAIN request to follow latest draft

commit 6ff51ee909fd3389f038ac5b1767a4a88716f3a6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 7 15:50:36 2013 +0200

    Updated ZAP request for changed protocol draft
    
    - username and password sent as two string frames
    - fixed test case to match

 src/plain_mechanism.cpp |   21 ++++++++++---------
 tests/test_security.cpp |   51 +++++++++++++++++++----------------------------
 2 files changed, 32 insertions(+), 40 deletions(-)

commit 656ff5b208bbb06335b7b32453d054d7f668636e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 7 13:28:47 2013 +0200

    Small fixes to documentation
    
    - REQ and REP sockets don't have HWM issues
    - ZMQ_DONTWAIT applies to DEALER and PUSH only

 doc/zmq_msg_send.txt |    7 ++++---
 doc/zmq_send.txt     |    7 ++++---
 doc/zmq_sendmsg.txt  |    7 ++++---
 doc/zmq_socket.txt   |   20 ++++----------------
 4 files changed, 16 insertions(+), 25 deletions(-)

commit 210fcbbbeb927a63271374a60ed7923b2db158d0
Merge: 7a43c02 2928c91
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Jun 6 04:41:55 2013 -0700

    Merge pull request #571 from hurtonm/master
    
    Add ZAP support

commit 2928c91a6dba5ba19f5e481ead40c00100169aed
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Jun 6 13:13:10 2013 +0200

    Implement ZAP and integrate it with PLAIN mechanism

 src/i_engine.hpp        |    2 +
 src/mechanism.hpp       |    3 +
 src/pgm_receiver.hpp    |    1 +
 src/pgm_sender.hpp      |    1 +
 src/plain_mechanism.cpp |  152 ++++++++++++++++++++++++++++++++++++++++++++---
 src/plain_mechanism.hpp |    9 ++-
 src/session_base.cpp    |  143 +++++++++++++++++++++++++++++++++++++-------
 src/session_base.hpp    |   15 +++++
 src/stream_engine.cpp   |   48 ++++++++-------
 src/stream_engine.hpp   |    8 +--
 tests/test_security.cpp |  131 ++++++++++++++++++++++++++++++++++++++++
 11 files changed, 458 insertions(+), 55 deletions(-)

commit 4e47084dd4ca9244158c2d55b2e6e315ee23dfc4
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Jun 6 11:00:41 2013 +0200

    Minor cleanups

 src/pipe.cpp            |    2 +-
 src/plain_mechanism.cpp |   17 ++++++++---------
 src/session_base.cpp    |    8 ++++----
 src/session_base.hpp    |    4 ++--
 4 files changed, 15 insertions(+), 16 deletions(-)

commit c3e40736ded9c96981ddd2e399cd1b43c9f5980f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue May 28 16:49:24 2013 +0200

    Rename terminated->pipe_terminated

 src/dealer.cpp       |    6 +++---
 src/dealer.hpp       |    2 +-
 src/dist.cpp         |    2 +-
 src/dist.hpp         |    2 +-
 src/fq.cpp           |    2 +-
 src/fq.hpp           |    2 +-
 src/lb.cpp           |    2 +-
 src/lb.hpp           |    2 +-
 src/pair.cpp         |    2 +-
 src/pair.hpp         |    2 +-
 src/pipe.cpp         |    2 +-
 src/pipe.hpp         |    2 +-
 src/pull.cpp         |    4 ++--
 src/pull.hpp         |    2 +-
 src/push.cpp         |    4 ++--
 src/push.hpp         |    2 +-
 src/router.cpp       |    4 ++--
 src/router.hpp       |    2 +-
 src/session_base.cpp |    2 +-
 src/session_base.hpp |    2 +-
 src/socket_base.cpp  |    4 ++--
 src/socket_base.hpp  |    4 ++--
 src/xpub.cpp         |    4 ++--
 src/xpub.hpp         |    2 +-
 src/xsub.cpp         |    6 +++---
 src/xsub.hpp         |    2 +-
 26 files changed, 36 insertions(+), 36 deletions(-)

commit 7a43c02aaf331e3821fdf15841798ca5512d9e65
Merge: d5f6036 a9679da
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Jun 6 01:18:37 2013 -0700

    Merge pull request #570 from hintjens/master
    
    Packaging of probe function

commit a9679da764a279b368603b9160c0f81a419c2160
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 5 15:55:15 2013 +0200

    Packaging on ZMQ_PROBE_ROUTER
    
    - renamed to ZMQ_PROBE_ROUTER

 .gitignore                  |    2 +-
 doc/zmq_setsockopt.txt      |   14 ++++----
 include/zmq.h               |    2 +-
 src/dealer.cpp              |   14 ++++----
 src/dealer.hpp              |    4 +--
 src/router.cpp              |   16 ++++-----
 src/router.hpp              |    4 +--
 tests/Makefile.am           |    4 +--
 tests/test_probe_router.cpp |   77 +++++++++++++++++++++++++++++++++++++++++++
 tests/test_router_probe.cpp |   75 -----------------------------------------
 10 files changed, 105 insertions(+), 107 deletions(-)

commit 2344131db3800e95a05e3ed11ca0e31aed468166
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 5 15:25:52 2013 +0200

    Packaging of ZMQ_PROBE
    
    - Cleaned up man page a little
    - Wrote test case tests/test_router_probe.cpp

 .gitignore                  |    1 +
 doc/zmq_setsockopt.txt      |   26 ++++++++-------
 tests/Makefile.am           |    2 ++
 tests/test_router_probe.cpp |   75 +++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 92 insertions(+), 12 deletions(-)

commit dbd58f8e151681dfe210af93be3e2b72c10dc40f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 5 12:42:25 2013 +0200

    Fixed out-of-date reference

 doc/zmq_socket.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9c980e17dd6f83bc01f9b4442fe90d53e9562850
Author: shripchenko <shripchenko@intermedia.net>
Date:   Fri May 24 07:09:53 2013 -0700

    changed option name. +documentation changes

 doc/zmq_setsockopt.txt |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit 97324398a7d647c3a2cdba7597db2b8057c60c30
Author: shripchenko <shripchenko@intermedia.net>
Date:   Thu May 23 01:49:40 2013 -0700

    refactored ZMQ_ROUTER_ANNOUNCE_SELF code. renamed it to ZMQ_PROBE_NEW_PEERS.
    implement it for DEALER tocket.
    +documentation

 doc/zmq_setsockopt.txt |   10 ++++------
 src/dealer.cpp         |    6 +++---
 src/router.cpp         |    7 +++++--
 3 files changed, 12 insertions(+), 11 deletions(-)

commit d5f603690f48c219c35419726f796a9ceb4de369
Merge: d1f011d 42ab0e8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 1 01:08:48 2013 -0700

    Merge pull request #569 from jpoliv/master
    
    Make "./configure --with-system-pgm" detect the OpenPGM 5.2 system library.

commit 42ab0e82176f98aa80bed1e874dd36b72bc314b4
Author: Jose Pedro Oliveira <jpo@di.uminho.pt>
Date:   Sat Jun 1 03:39:40 2013 +0100

    Make
        ./configure --with-system-pgm
    detect the OpenPGM 5.2 system library.
    
    Note that OpenPGM installs a versioned pkgconfig file
    (openpgm-5.2.pc, openpgm-5.1.pc).

 configure.ac |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

commit d1f011d7e5087649b51e0e6dde9c8e8832e7ea86
Merge: 6caa173 43d0497
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri May 31 16:14:02 2013 -0700

    Merge pull request #568 from jmgao/patch-2
    
    Fold constant expression into constant.

commit 43d049741f86a2385d7743d6065336d971c73118
Author: Josh Gao <jgao@mobileiron.com>
Date:   Fri May 31 13:22:51 2013 -0700

    Fix mistaken use of xor in "2^31 - 1".

 src/mechanism.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6caa17373b766a002e32906c6cacea0f743114a2
Merge: 240eff3 9a0b2c8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed May 29 14:13:13 2013 -0700

    Merge pull request #567 from ianbarber/master
    
    Fixed memory leak in stream engine

commit 9a0b2c897039b6fa35287e065b3803104b622ac2
Author: Ian Barber <ianbarber@google.com>
Date:   Wed May 29 21:58:20 2013 +0100

    Pieter's change to fix memory leak on mechanism

 src/stream_engine.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 240eff384aa924e366c1709f41b9afa94d0d7890
Merge: 9d63ebf f805e4d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed May 29 09:03:54 2013 -0700

    Merge pull request #563 from shripchenko/master
    
    Refactoring of 'ZMQ_ROUTER_ANNOUNCE_SELF'

commit 9d63ebf6d624d374bedfe0d9050d145665a0c92c
Merge: f781eb7 4e4803e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 28 04:51:47 2013 -0700

    Merge pull request #564 from hurtonm/master
    
    Rename pipe states so they are more mnemonic

commit 4e4803e07faad51b17fe05bddad300e863ed1afa
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue May 28 13:18:19 2013 +0200

    Rename pipe states to make it more mnemonic

 src/pipe.cpp |   76 ++++++++++++++++++++++++++++++----------------------------
 src/pipe.hpp |   30 ++++++++++++-----------
 2 files changed, 56 insertions(+), 50 deletions(-)

commit f805e4dd03d012e644b4153866c70e99490b0349
Author: shripchenko <shripchenko@intermedia.net>
Date:   Fri May 24 07:09:53 2013 -0700

    changed option name. +documentation changes

 doc/zmq_setsockopt.txt |   10 ++++++----
 include/zmq.h          |    2 +-
 src/dealer.cpp         |    2 +-
 src/router.cpp         |    2 +-
 4 files changed, 9 insertions(+), 7 deletions(-)

commit aec989fb5dcdbd9043057c94035621dbac8b8e33
Author: shripchenko <shripchenko@intermedia.net>
Date:   Thu May 23 02:02:18 2013 -0700

    small refactoring

 src/dealer.cpp |    6 +++---
 src/router.cpp |    7 ++-----
 2 files changed, 5 insertions(+), 8 deletions(-)

commit 51750a7d2a0ddceb1c51096cac7cd79a442bce42
Author: shripchenko <shripchenko@intermedia.net>
Date:   Thu May 23 01:49:40 2013 -0700

    refactored ZMQ_ROUTER_ANNOUNCE_SELF code. renamed it to ZMQ_PROBE_NEW_PEERS.
    implement it for DEALER tocket.
    +documentation

 doc/zmq_setsockopt.txt |   15 +++++++++++++++
 include/zmq.h          |    2 +-
 src/dealer.cpp         |   41 ++++++++++++++++++++++++++++++++++++++++-
 src/dealer.hpp         |    4 ++++
 src/router.cpp         |   35 ++++++++++++++++++++++-------------
 src/router.hpp         |    8 ++++----
 6 files changed, 86 insertions(+), 19 deletions(-)

commit f781eb7e7bb53c8fa7bd5f9ff1116c7abadc2076
Merge: 13643b2 fbd1729
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed May 22 07:05:20 2013 -0700

    Merge pull request #562 from hintjens/master
    
    Removed tracing on router option setting

commit fbd1729cbda254442c48c272f827c1f7bbaad551
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed May 22 00:17:03 2013 +0200

    Removed tracing for Travis builds

 src/router.cpp |    6 ------
 1 file changed, 6 deletions(-)

commit 13643b2aec307fb7d799fe0371e88918f9875b40
Merge: d113495 910b469
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 21 14:32:05 2013 -0700

    Merge pull request #561 from shripchenko/master
    
    Add ROUTER socket option to introduce self(send an empty message) to new peers, to allow ROUTER<->ROUTER auto-discovery problem.

commit 910b46922419c0622a5917ea02f6af820b14c578
Merge: ed3a115 ec7f711
Author: shripchenko <shripchenko@intermedia.net>
Date:   Tue May 21 10:26:11 2013 -0700

    Merge branch 'master' of https://github.com/shripchenko/libzmq

commit ed3a115da9111766d010f45db615503def10dfed
Author: shripchenko <shripchenko@intermedia.net>
Date:   Tue May 21 10:20:24 2013 -0700

    Add ROUTER socket option to introduce self(send an empty message) to new peers, to allow ROUTER<->ROUTER auto-discovery problem.

 include/zmq.h  |    1 +
 src/router.cpp |   19 ++++++++++++++++++-
 src/router.hpp |    3 +++
 3 files changed, 22 insertions(+), 1 deletion(-)

commit ec7f711c5883299eb4062fd98adb239ba1c06320
Author: root <root@ast-pbx-mt-3.intermedia.net>
Date:   Tue May 21 10:20:24 2013 -0700

    Add ROUTER socket option to introduce self(send an empty message) to new peers, to allow ROUTER<->ROUTER auto-discovery problem.

 include/zmq.h  |    1 +
 src/router.cpp |   19 ++++++++++++++++++-
 src/router.hpp |    3 +++
 3 files changed, 22 insertions(+), 1 deletion(-)

commit c7c865da75c8ba2d7db2455e4a9ce273f54e197f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 21 18:52:44 2013 +0200

    Whitespace fixes

 tests/test_connect_delay.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit d11349550092bc50cfe3984cddc73a4db15b4d24
Merge: 536ea4f 4112693
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 21 09:03:51 2013 -0700

    Merge pull request #560 from hintjens/master
    
    Working on Travis builds

commit 4112693051909cbfee5d9ab8a5c7f895f65f547b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 21 15:15:16 2013 +0200

    Cleaned up router option code
    - made consistent with options.cpp code
    - added trace print for ongoing issue with Travis CI builds

 src/router.cpp |   51 +++++++++++++++++++++++++++++++++------------------
 1 file changed, 33 insertions(+), 18 deletions(-)

commit 536ea4fc24f08f2821449ea2f8b05fc87ce58647
Merge: e9e44c6 bf96cb4
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue May 21 00:39:58 2013 -0700

    Merge pull request #559 from hintjens/master
    
    Adding support for Travis CI

commit bf96cb44e24faf2ae3c3983263c0693d156b369b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 21 09:32:13 2013 +0200

    Fixed name of Travis file

 .travis.yaml |    2 --
 .travis.yml  |    2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 59a164d2b5beafce60971b5a35902e69581e0aa2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 21 09:20:39 2013 +0200

    Added support for Travis CI

 .travis.yaml |    2 ++
 1 file changed, 2 insertions(+)

commit e9e44c6b09e4bada7ec89b45bf116722d784dbdf
Merge: 5d2a8b1 31ee92f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun May 19 02:05:57 2013 -0700

    Merge pull request #558 from hintjens/master
    
    stdint.h isn't available on all platforms

commit 31ee92f2fda594be8be57652a4fd5f83720f0ee8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun May 19 10:01:33 2013 +0100

    stdint.h is not available on all platforms

 include/zmq.h     |   16 +++++++++++++++-
 src/mechanism.hpp |    3 +--
 2 files changed, 16 insertions(+), 3 deletions(-)

commit 73562112b831c61c95688d7ce3957ab2193b475d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat May 18 11:53:20 2013 +0100

    Whitespace fixes

 src/plain_mechanism.cpp |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

commit fa5c0e18e304946cdad4fa747f52af141a561934
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat May 18 11:53:10 2013 +0100

    Trivial fix to man page

 doc/zmq_curve.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5d2a8b18e5fabe748b7dc3a00ef5420a6915dc27
Merge: 342e576 f06abca
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri May 17 09:46:53 2013 -0700

    Merge pull request #557 from hintjens/master
    
    Added as_server to options

commit f06abca04683d0e50e298cb5617b5afdbed562ee
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri May 17 17:26:54 2013 +0100

    Disable failing test for now

 tests/test_security.cpp |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit f909b9c7222a8265cfeb8538900add46abd0f2f7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri May 17 17:46:30 2013 +0200

    plain_mechanism now uses options.as_server
    - we need to switch to PLAIN according to options.mechanism
    - we need to catch case when both peers are as-server (or neither is)
    - and to use username/password from options, for client

 src/ipc_connecter.cpp   |    2 +-
 src/ipc_listener.cpp    |    2 +-
 src/options.cpp         |   10 ++--
 src/options.hpp         |    3 +-
 src/plain_mechanism.cpp |  123 +++++++++++++++++++++--------------------------
 src/plain_mechanism.hpp |    2 +-
 src/stream_engine.cpp   |   10 ++--
 src/stream_engine.hpp   |    4 +-
 src/tcp_connecter.cpp   |    2 +-
 src/tcp_listener.cpp    |    2 +-
 tests/test_security.cpp |   84 +++++++++++++++++++++++++-------
 11 files changed, 140 insertions(+), 104 deletions(-)

commit da1e9a178a0651431d20ec440b5a366ea7153ba4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu May 16 20:29:55 2013 +0200

    Cleaned up test pingpong code

 tests/testutil.hpp |   48 ++++++++++++++++++++++++++----------------------
 1 file changed, 26 insertions(+), 22 deletions(-)

commit 342e576ec83653a51fb788cf68aec095ed1794f5
Merge: fbcbb06 182a224
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri May 17 09:20:16 2013 -0700

    Merge pull request #556 from hurtonm/master
    
    Use socket options to select security mechanism

commit 182a224bb0607c59a5951034e994fdaf72a96450
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri May 17 15:49:26 2013 +0200

    Use socket options to select security mechanism

 src/plain_mechanism.cpp |   11 +++++------
 src/stream_engine.cpp   |    8 ++++++--
 2 files changed, 11 insertions(+), 8 deletions(-)

commit fbcbb06b466865a87264a2b7263d41ce57200dbf
Merge: 593010f e1f797b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed May 15 08:56:06 2013 -0700

    Merge pull request #555 from hintjens/master
    
    Added options for PLAIN security

commit e1f797b0482d7887bd44238bdec28194b0c83628
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed May 15 17:54:03 2013 +0200

    Added configuration for PLAIN security
    
    * ZMQ_PLAIN_SERVER, ZMQ_PLAIN_USERNAME, ZMQ_PLAIN_PASSWORD options
    * Man page changes to zmq_setsockopt and zmq_getsockopt
    * Man pages for ZMQ_NULL, ZMQ_PLAIN, and ZMQ_CURVE
    * Test program test_security

 .gitignore              |    1 +
 doc/Makefile.am         |    5 +-
 doc/zmq.txt             |   17 ++
 doc/zmq_curve.txt       |   40 +++
 doc/zmq_getsockopt.txt  |   58 ++++-
 doc/zmq_null.txt        |   27 ++
 doc/zmq_plain.txt       |   37 +++
 doc/zmq_setsockopt.txt  |   76 +++++-
 include/zmq.h           |   12 +
 src/options.cpp         |  631 ++++++++++++++++++++++++-----------------------
 src/options.hpp         |    9 +-
 src/zmq.cpp             |    4 +-
 tests/Makefile.am       |    2 +
 tests/test_security.cpp |  117 +++++++++
 14 files changed, 710 insertions(+), 326 deletions(-)

commit 8ea779c8f72e72ee1a62a5703d32ddc79972761a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed May 15 14:11:15 2013 +0200

    Fixed sizeof usage in man pages

 doc/zmq_msg_recv.txt   |    2 +-
 doc/zmq_recvmsg.txt    |    2 +-
 doc/zmq_setsockopt.txt |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

commit 593010fbeb965a1b945d16c7e887c8b0065b2499
Merge: 131b0a7 4eecda8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 14 14:02:52 2013 -0700

    Merge pull request #554 from hurtonm/master
    
    Implement ZMTP/3.0 PLAIN mechanism

commit 4eecda8af371b8c6afd43d499c86ae79aa788a05
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue May 14 10:41:37 2013 +0200

    Implement ZMTP/3.0 PLAIN mechanism
    
    This implements protocol handshake.
    We still need to design and implement 1) API changes so a user
    can set username and password, and 2) a mechanism for engine
    to authenticate users.

 src/Makefile.am         |    2 +
 src/ipc_connecter.cpp   |    3 +-
 src/ipc_listener.cpp    |    3 +-
 src/plain_mechanism.cpp |  359 +++++++++++++++++++++++++++++++++++++++++++++++
 src/plain_mechanism.hpp |   74 ++++++++++
 src/stream_engine.cpp   |   15 +-
 src/stream_engine.hpp   |    6 +-
 src/tcp_connecter.cpp   |    3 +-
 src/tcp_listener.cpp    |    3 +-
 9 files changed, 460 insertions(+), 8 deletions(-)

commit d47295db708cb19a46070bc5f88d76d117abc339
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon May 13 22:34:27 2013 +0200

    Abstract security mechanism

 src/Makefile.am        |    4 ++
 src/mechanism.cpp      |   73 +++++++++++++++++++
 src/mechanism.hpp      |   73 +++++++++++++++++++
 src/null_mechanism.cpp |  152 +++++++++++++++++++++++++++++++++++++++
 src/null_mechanism.hpp |   51 +++++++++++++
 src/stream_engine.cpp  |  185 ++++++++++++------------------------------------
 src/stream_engine.hpp  |   11 +--
 7 files changed, 406 insertions(+), 143 deletions(-)

commit 131b0a7148eaf7abda8a234aa60028136b178c74
Merge: 3ef3b94 e918fd4
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed May 8 11:51:02 2013 -0700

    Merge pull request #553 from hintjens/master
    
    Some changes to building and packaging

commit e918fd4d694c795e32327bf6383b3d4b9c97bb17
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 7 14:47:07 2013 +0200

    Use correct libsodium call for detection

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ff268b7c8a364a29cfb7e90dd943bef46502fe50
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 7 14:44:55 2013 +0200

    Fixed packaging for Windows - was missing errno sources

 builds/msvc/Makefile.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit fa346fddd39369fe93478ecf5ac87f54ec4adb72
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Apr 27 17:08:32 2013 +0200

    Added configure check for libsodium

 configure.ac |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 3ef3b9405c9994533eba9dd39be2b9f85cc7cdd8
Merge: df01235 a7032e9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Apr 28 09:37:23 2013 -0700

    Merge pull request #552 from hurtonm/master
    
    Implement ZMTP/3.0 NULL mechanism

commit a7032e9ca8a75fea4c599c51dd9fce5e9ca7c9f3
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Apr 28 10:40:52 2013 +0200

    Update test_raw_sock to work with ZMTP/3.0

 tests/test_raw_sock.cpp |   57 ++++++++++++++++++++++++++++++++++-------------
 1 file changed, 41 insertions(+), 16 deletions(-)

commit cd4d8bb15a18831e1f4d45f2c5bee11d0c30b436
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Apr 28 10:15:25 2013 +0200

    Implement ZMTP/3.0 NULL mechanism

 src/stream_engine.cpp |  203 +++++++++++++++++++++++++++++++++++++++++++++++--
 src/stream_engine.hpp |   33 ++++++--
 2 files changed, 224 insertions(+), 12 deletions(-)

commit df012358712d4ec150a264edd0d80d4c9339cb9d
Merge: 522765b cb2ee7a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Apr 27 06:27:24 2013 -0700

    Merge pull request #551 from hintjens/master
    
    zmq_msg_close clarification in man pages

commit cb2ee7a5c21d50289ffc82a5417c6e39999e25e7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Apr 27 14:52:19 2013 +0200

    Fixed up test_iov case

 .gitignore        |    1 +
 tests/Makefile.am |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

commit 7e129a405ce42724df42cfbd2102e5938b3595cd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Apr 27 12:48:29 2013 +0200

    Clarified zmq_msg_close not needed after zmq_msg_send

 doc/zmq_msg_close.txt |    3 ++-
 doc/zmq_msg_send.txt  |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

commit 522765be1ee7a32e687a3777c969a7a310fe1d09
Merge: 0bf5a31 56ead84
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Apr 25 14:28:11 2013 -0700

    Merge pull request #550 from JonDyte/iovec
    
    Experimental function zmq_recviov doesnt work correctly in a couple of c...

commit 56ead8449092ef2f6ea056f1d070dd7c73af29c5
Author: Jon Dyte <jon@totient.co.uk>
Date:   Thu Apr 25 21:58:26 2013 +0100

    Experimental function zmq_recviov doesnt work correctly in a couple of cases
    1) VSM - you cannot hand out the 'data' address as it was not allocated on the heap
    2) for other messages the 'data' address cannot be handed out either, as it not the address
    originally returned by malloc and hence cannot be passed to 'free'.
    see msg.cpp
    u.lmsg.content = (content_t*) malloc (sizeof (content_t) + size_);
    ....
    u.lmsg.content->data = u.lmsg.content + 1;
    
    So the function is changed to always malloc a data buffer and copy the data into it.
    There is a possible optimisation using memmove for the non-VSM case but that is not done yet.

 src/zmq.cpp        |   23 +++++------
 tests/Makefile.am  |    3 +-
 tests/test_iov.cpp |  111 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 125 insertions(+), 12 deletions(-)

commit 0bf5a31494604f6d1769b458bf410a2fdd0425c1
Merge: 9703dd8 b5e5e10
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Apr 23 17:20:04 2013 -0700

    Merge pull request #549 from methodmissing/sigpipe-declare-err
    
    Fix return code redeclaration for platforms with SO_NOSIGPIPE

commit b5e5e101263d6ab7ccb14eaa3944e9a4a3aab3e1
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Tue Apr 23 22:58:28 2013 +0100

    Fix return code redeclaration for platforms with SO_NOSIGPIPE

 src/stream_engine.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9703dd806a4bf70377edce9c6916109efd9c1df7
Merge: 0880d5b 710f38f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Apr 23 05:28:25 2013 -0700

    Merge pull request #548 from hintjens/master
    
    Fixed issue LIBZMQ-526

commit 710f38f1cca6e2fc4d886541073325c09e074c33
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 22 15:12:53 2013 +0200

    Fixed syntax error

 src/tcp_connecter.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f4dbccd4fb230c6f911c518619cf97b84fa20dbb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 22 14:50:56 2013 +0200

    Fix for LIBZMQ-526

 src/tcp_connecter.cpp |   23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

commit 0880d5b8ed976305e98a4748af2f1c7926dedf46
Merge: d0c58d2 f0cf409
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Apr 18 08:30:50 2013 -0700

    Merge pull request #547 from hintjens/master
    
    Fixed issue LIBZMQ-525

commit f0cf4095b5055eb41e9cd8f841542944ddf7e771
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Apr 18 17:23:57 2013 +0200

    Fixed issue #525 - multipart upstreaming from xsub to xpub

 src/xpub.cpp |   36 +++++++++++++++++++++---------------
 src/xpub.hpp |    4 ++--
 src/xsub.cpp |    2 +-
 3 files changed, 24 insertions(+), 18 deletions(-)

commit d0c58d24093264ace762b2a846b8996e21f9b507
Merge: f4a07b3 9df7c70
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Apr 15 11:01:37 2013 -0700

    Merge pull request #546 from hintjens/master
    
    Throughput perf test was borked, fixed it

commit 9df7c70abad3b572b8201dca666a055bd3fadf57
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 15 17:21:58 2013 +0200

    Cleaned up copyright statements in perftest tools

 perf/inproc_lat.cpp |    4 +---
 perf/local_lat.cpp  |    4 +---
 perf/remote_lat.cpp |    4 +---
 3 files changed, 3 insertions(+), 9 deletions(-)

commit c980820d29d483da05e203858bd1a38b718f334f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 15 17:18:03 2013 +0200

    I'm reverting the various changes to the throughput test programs since as far
    as I can see, these didn't work any more. At the very least, the command line
    API was broken and forced the user to enter new, exotic arguments. Patches
    should not break existing APIs. But also, the internals of these programs had
    become weird.
    
    If we want to build more complex performance tests, that's fine, but we should
    make new programs, not break the old ones. We need minimal, safe performance
    tests in 0MQ.
    
    Also, the code was quite horrid. So it's gone. If anyone wants to bring it back
    please make the code neat, and build new APIs instead of breaking the old ones.
    
    Cheers
    Pieter

 perf/local_thr.cpp  |  283 +++++++----------------------------------
 perf/remote_thr.cpp |  348 ++++++---------------------------------------------
 2 files changed, 86 insertions(+), 545 deletions(-)

commit 67e02ca8bc78208befd10c6b45bba50e2d6e93ed
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Apr 11 18:53:02 2013 +0200

    Use of named authors on man pages is no longer a good idea since it puts off
    contributors and doesn't reflect the real process. I've taken out all named
    authors and referred to the contribution policy. Hopefully this will improve
    the contributions to the man pages.

 doc/zmq.txt                |    4 ++--
 doc/zmq_bind.txt           |    4 ++--
 doc/zmq_close.txt          |    4 ++--
 doc/zmq_connect.txt        |    4 ++--
 doc/zmq_ctx_destroy.txt    |    3 ++-
 doc/zmq_ctx_get.txt        |    3 ++-
 doc/zmq_ctx_new.txt        |    3 ++-
 doc/zmq_ctx_set.txt        |    3 ++-
 doc/zmq_ctx_term.txt       |    3 ++-
 doc/zmq_disconnect.txt     |    4 ++--
 doc/zmq_errno.txt          |    4 ++--
 doc/zmq_getsockopt.txt     |    4 ++--
 doc/zmq_init.txt           |    4 ++--
 doc/zmq_inproc.txt         |    4 ++--
 doc/zmq_ipc.txt            |    8 ++------
 doc/zmq_msg_close.txt      |    4 ++--
 doc/zmq_msg_copy.txt       |    4 ++--
 doc/zmq_msg_data.txt       |    4 ++--
 doc/zmq_msg_get.txt        |    4 ++--
 doc/zmq_msg_init.txt       |    4 ++--
 doc/zmq_msg_init_data.txt  |    4 ++--
 doc/zmq_msg_init_size.txt  |    4 ++--
 doc/zmq_msg_more.txt       |    4 ++--
 doc/zmq_msg_move.txt       |    4 ++--
 doc/zmq_msg_recv.txt       |    5 ++---
 doc/zmq_msg_send.txt       |    5 ++---
 doc/zmq_msg_set.txt        |    3 ++-
 doc/zmq_msg_size.txt       |    4 ++--
 doc/zmq_pgm.txt            |    5 +++--
 doc/zmq_poll.txt           |    4 ++--
 doc/zmq_proxy.txt          |    3 ++-
 doc/zmq_recv.txt           |    5 ++---
 doc/zmq_recvmsg.txt        |    5 ++---
 doc/zmq_send.txt           |    4 ++--
 doc/zmq_sendmsg.txt        |    5 ++---
 doc/zmq_setsockopt.txt     |    6 ++++--
 doc/zmq_socket.txt         |    6 ++++--
 doc/zmq_socket_monitor.txt |    4 ++--
 doc/zmq_strerror.txt       |    5 +++--
 doc/zmq_tcp.txt            |    4 ++--
 doc/zmq_term.txt           |    4 ++--
 doc/zmq_unbind.txt         |    4 ++--
 doc/zmq_version.txt        |    5 +++--
 43 files changed, 93 insertions(+), 88 deletions(-)

commit f4a07b3951979a3cb3dc00f499211dfea4e29bc6
Merge: c5721f9 e52c436
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Apr 14 14:27:32 2013 -0700

    Merge pull request #545 from hurtonm/master
    
    Interoperate with higher versions of ZMTP protocol

commit e52c43625281f077dda2d584a16692150fd44486
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Apr 14 22:47:17 2013 +0200

    Interoperate with higher versions of ZMTP protocol

 src/stream_engine.cpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit c5721f99883d27bd52bf85092df8ff2cca93f3b5
Merge: d2b5f1f d079190
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Apr 13 02:55:02 2013 -0700

    Merge pull request #544 from steve-o/libzmq-446
    
    [#LIBZMQ-446] Silence error on setting PGM_TOS on REL 4.

commit d079190efa9de7e4a9eb61b005b18a0b54671d72
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Fri Apr 12 23:55:04 2013 -0400

    [#LIBZMQ-446] Silence error on setting PGM_TOS due to some platforms raising an error at runtime. Noted are RHEL 4.

 src/pgm_socket.cpp |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit d2b5f1f49ecc78635c8239c6e066f878fb91624a
Merge: a3713cb a432ea1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Apr 12 13:22:41 2013 -0700

    Merge pull request #543 from steve-o/vc110_fix
    
    MSVC local_thr & remote_thr dependency fix

commit a432ea14d220eb24a494571994b2b8591cf6b296
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Fri Apr 12 11:59:24 2013 -0400

    Add vc80 project dependency on platform.hpp for local & remote throughput tests.

 builds/msvc/c_local_thr/c_local_thr.vcproj   |    2 ++
 builds/msvc/c_remote_thr/c_remote_thr.vcproj |    2 ++
 2 files changed, 4 insertions(+)

commit cd31f67a806839e68ce407b417cd389fe9e961a9
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Fri Apr 12 11:55:27 2013 -0400

    Add platform.hpp as project dependency to vc100 and vc110 projects for local & remote throughput tests.

 builds/msvc/c_local_thr/c_local_thr.vcxproj     |   20 ++++++++++++++++++++
 builds/msvc/c_local_thr/c_local_thr11.vcxproj   |   22 +++++++++++++++++++++-
 builds/msvc/c_remote_thr/c_remote_thr.vcxproj   |   20 ++++++++++++++++++++
 builds/msvc/c_remote_thr/c_remote_thr11.vcxproj |   22 +++++++++++++++++++++-
 4 files changed, 82 insertions(+), 2 deletions(-)

commit a3713cb750b27de7e046ebe3db2f7891a179cfcc
Merge: fd42be9 9d79ac2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Apr 12 07:02:04 2013 -0700

    Merge pull request #542 from hurtonm/master
    
    Use state functions for message flow

commit 9d79ac283061c1531c1ab2878a2765afdaba9d77
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Apr 12 11:59:49 2013 +0200

    Use state functions for message flow
    
    The patch makes the code somewhat simpler and prepares it for
    more complex initialization handshakes.

 src/stream_engine.cpp |  100 +++++++++++++++++++++++++------------------------
 src/stream_engine.hpp |   24 +++++-------
 2 files changed, 62 insertions(+), 62 deletions(-)

commit fd42be9dbab047d0ed35572ead3be755177a60d2
Merge: 91f1e13 7942db7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Apr 11 09:57:54 2013 -0700

    Merge pull request #541 from hurtonm/rework_message_flow
    
    Refactor code so that messages go through engines

commit 7942db7606c76f71b77863f8f883047ec69ffc5f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Mar 18 02:00:00 2013 +0100

    Refactor code so that messages go through engines

 src/Makefile.am       |    2 -
 src/decoder.hpp       |   94 +++++-------------
 src/encoder.hpp       |   62 ++++++------
 src/i_decoder.hpp     |   15 +--
 src/i_encoder.hpp     |   15 ++-
 src/i_msg_sink.hpp    |   43 ---------
 src/i_msg_source.hpp  |   44 ---------
 src/pgm_receiver.cpp  |  137 ++++++++++++++------------
 src/pgm_receiver.hpp  |   11 ++-
 src/pgm_sender.cpp    |   34 +++++--
 src/pgm_sender.hpp    |    8 ++
 src/raw_decoder.cpp   |   66 +++----------
 src/raw_decoder.hpp   |   25 +++--
 src/raw_encoder.cpp   |   53 +---------
 src/raw_encoder.hpp   |   10 +-
 src/req.cpp           |   10 +-
 src/req.hpp           |    1 -
 src/session_base.cpp  |   30 ------
 src/session_base.hpp  |   25 ++---
 src/stream_engine.cpp |  258 +++++++++++++++++++++++++++++++------------------
 src/stream_engine.hpp |   37 +++++--
 src/v1_decoder.cpp    |   73 ++++++--------
 src/v1_decoder.hpp    |   12 +--
 src/v1_encoder.cpp    |   51 ++--------
 src/v1_encoder.hpp    |   10 +-
 src/v2_decoder.cpp    |   82 ++++++----------
 src/v2_decoder.hpp    |   15 ++-
 src/v2_encoder.cpp    |   53 ++--------
 src/v2_encoder.hpp    |   13 +--
 src/wire.hpp          |    8 +-
 30 files changed, 527 insertions(+), 770 deletions(-)

commit 91f1e13125497683f9c8b604ff70617c540a3946
Merge: c396144 6d19e40
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Apr 11 03:10:38 2013 -0700

    Merge pull request #540 from hintjens/master
    
    Small clarification about connect and ROUTER

commit 6d19e400f1c824696d402591d12a8bed13df00f2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Apr 11 09:48:41 2013 +0200

    Added clarification about connect on ROUTER

 doc/zmq_connect.txt |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

commit c3961442163a57c1a6bf17d2ef2a1b2f1c0f4f27
Merge: 106d962 2aec837
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 8 06:33:29 2013 -0700

    Merge pull request #539 from TTimo/master
    
    Adds a needed Windows system library dependency

commit 2aec837218c4b9d2cdea7f33005ce4c3ad57f6c5
Author: Timothee "TTimo" Besset <ttimo@ttimo.net>
Date:   Sun Apr 7 12:44:48 2013 -0500

    InitializeSecurityDescriptor needs Advapi32.lib

 builds/msvc/libzmq/libzmq11.vcxproj |   12 ++++++++++++
 1 file changed, 12 insertions(+)

commit 106d962311386cba98e708b3c57b2265405c5367
Author: Timothee "TTimo" Besset <ttimo@ttimo.net>
Date:   Sat Apr 6 19:39:06 2013 -0500

    restore fixed MSVC 2010 projects, fork new MSVC 2012 projects

 builds/msvc/c_local_lat/c_local_lat.vcxproj     |    6 +-
 builds/msvc/c_local_lat/c_local_lat11.vcxproj   |   91 ++++++
 builds/msvc/c_local_thr/c_local_thr.vcxproj     |    6 +-
 builds/msvc/c_local_thr/c_local_thr11.vcxproj   |   91 ++++++
 builds/msvc/c_remote_lat/c_remote_lat.vcxproj   |    6 +-
 builds/msvc/c_remote_lat/c_remote_lat11.vcxproj |   91 ++++++
 builds/msvc/c_remote_thr/c_remote_thr.vcxproj   |    6 +-
 builds/msvc/c_remote_thr/c_remote_thr11.vcxproj |   91 ++++++
 builds/msvc/inproc_lat/inproc_lat.vcxproj       |    6 +-
 builds/msvc/inproc_lat/inproc_lat11.vcxproj     |  110 +++++++
 builds/msvc/inproc_thr/inproc_thr.vcxproj       |    6 +-
 builds/msvc/inproc_thr/inproc_thr11.vcxproj     |  110 +++++++
 builds/msvc/libzmq/libzmq.vcxproj               |   10 +-
 builds/msvc/libzmq/libzmq11.vcxproj             |  346 +++++++++++++++++++++++
 builds/msvc/msvc11.sln                          |  150 ++++++++++
 15 files changed, 1087 insertions(+), 39 deletions(-)

commit b5ace90e8ea8ba0b6df0c762a11bdee3b8c2a13a
Merge: 1e7db60 44df35c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 1 03:09:42 2013 -0700

    Merge pull request #538 from TTimo/master
    
    MSVC fixes

commit 44df35cb1e5bf7f64a01a48bf19e37112c071ad6
Author: Timothee "TTimo" Besset <ttimo@ttimo.net>
Date:   Sun Mar 31 18:18:05 2013 -0500

    Use Multithreaded DLL Runtime, Debug/Release accordingly - need consistency for the czmq configurations

 builds/msvc/libzmq/libzmq.vcxproj |    6 ++++++
 1 file changed, 6 insertions(+)

commit 5973b4c665c4a02d4bd5fce2370bd5cfaa821266
Author: Timothee "TTimo" Besset <ttimo@ttimo.net>
Date:   Sun Mar 31 09:10:56 2013 -0500

    Windows friendly replacement for gettimeofday

 perf/local_thr.cpp  |   44 ++++++++++++++++++++++++++++++++++++++------
 perf/remote_thr.cpp |   42 +++++++++++++++++++++++++++++++++++-------
 2 files changed, 73 insertions(+), 13 deletions(-)

commit 574fe35b3261edc50956d44d09a1413597af061d
Author: Timothee "TTimo" Besset <ttimo@ttimo.net>
Date:   Sun Mar 31 09:09:50 2013 -0500

    Fix MSVC project files.

 builds/msvc/c_local_lat/c_local_lat.vcxproj   |    4 ++++
 builds/msvc/c_local_thr/c_local_thr.vcxproj   |    4 ++++
 builds/msvc/c_remote_lat/c_remote_lat.vcxproj |    4 ++++
 builds/msvc/c_remote_thr/c_remote_thr.vcxproj |    4 ++++
 builds/msvc/inproc_lat/inproc_lat.vcxproj     |    6 ++++-
 builds/msvc/inproc_thr/inproc_thr.vcxproj     |    6 ++++-
 builds/msvc/libzmq/libzmq.vcxproj             |   12 ++++++++--
 builds/msvc/libzmq/libzmq.vcxproj.filters     |   12 +++++-----
 builds/msvc/msvc10.sln                        |   32 +++++++++++++++++++++++--
 9 files changed, 72 insertions(+), 12 deletions(-)

commit 1e7db60e9ad5a17faa6d307105ceff5aec4974fc
Merge: 01fef41 f8e7d46
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Mar 24 16:08:45 2013 -0700

    Merge pull request #537 from TTimo/master
    
    mingw32 fixes

commit f8e7d462a6c988c0a06c31ae14297fafe3bfba8a
Author: Timothee Besset <ttimo@ttimo.net>
Date:   Sun Mar 24 23:32:21 2013 +0100

    mingw32 fixes

 builds/mingw32/Makefile.mingw32 |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 01fef415753d00acca7200b60835fe4027adcdf6
Merge: 09a00de 257debf
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Mar 24 07:49:25 2013 -0700

    Merge pull request #536 from hintjens/master
    
    Fixed test_last_endpoint (#80)

commit 257debf65903783fc54792ed90ee6439cda87cff
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Mar 24 15:12:34 2013 +0100

    Removed IPC endpoint from test; not portable, and fragile (#80)

 tests/test_last_endpoint.cpp |    1 -
 1 file changed, 1 deletion(-)

commit 09a00de80384826bb1fb0d50dcae2417595ee27a
Merge: 5ba7445 8c96deb
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Mar 21 05:07:46 2013 -0700

    Merge pull request #534 from hintjens/master
    
    Reverted cleanups of copyrghts

commit 5ba7445b7aac823688f83f06526e8a5a4e7c0020
Merge: 39214b3 3286bf5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Mar 20 10:34:48 2013 -0700

    Merge pull request #535 from ken-tilera/master
    
    Optimize atomics implementaiton for the Tile architecture

commit 3286bf5ab66c5ea00237af642967a25043581353
Author: Ken Steele <ken@tilera.com>
Date:   Wed Mar 20 12:54:38 2013 -0400

    On the Tile architecture, use atomic instructions for atomic ptr and counter.
    
    For atomic_counter and atomic_ptr classes, detect the Tile architecture
    using #if defined __tile__ matching ARM and Solaris and then use the
    Tile atomic instructions. Without this change, the default Mutex
    implementation is used, which is slower.

 AUTHORS                |    1 +
 src/atomic_counter.hpp |   10 ++++++++++
 src/atomic_ptr.hpp     |    8 ++++++++
 3 files changed, 19 insertions(+)

commit 8c96deb900cde8759ade482ef6c660d7fc35a03c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Mar 20 11:59:23 2013 +0100

    Added corporate copyrights

 AUTHORS |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

commit 39214b3e40cca54c020368378e9fd8135f54f1eb
Merge: 3b132e3 03c2841
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 18 02:46:45 2013 -0700

    Merge pull request #533 from mika-fischer/workaround-for-496
    
    Work around for LIBZMQ-496

commit 03c28411d892da23ae1a17728a368e38b9a072ad
Author: Mika Fischer <fischer@videmo.de>
Date:   Tue Feb 19 11:01:13 2013 +0100

    Work around for LIBZMQ-496
    
    The problem is that other threads might still be in mailbox::send() when
    it is destroyed. So as a workaround, we just acquire the mutex in the
    destructor. Therefore the running send will finish before the mailbox is
    destroyed.
    
    See also the fix for LIBZMQ-281 in zeromq2-x.
    
    Signed-off-by: Mika Fischer <mika.fischer@zoopnet.de>

 src/mailbox.cpp |    5 +++++
 1 file changed, 5 insertions(+)

commit 3b132e337ee7c99db5d1dc3c1447de496b2f2f04
Merge: 9ea20b8 8181840
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 18 01:05:38 2013 -0700

    Merge pull request #532 from hurtonm/pgm_build_fix
    
    Update PGM with recent changes

commit 81818401e83ac31e5746e7a4b6490468b99566f7
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Mar 18 02:05:51 2013 +0100

    Update PGM with recent changes

 src/pgm_receiver.cpp |    5 +++--
 src/pgm_receiver.hpp |    6 +++---
 src/pgm_sender.hpp   |    4 ++--
 3 files changed, 8 insertions(+), 7 deletions(-)

commit 16f8ea3e95f3e7897ed9d1a7536e7acccaaf54f0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Mar 17 11:30:49 2013 +0100

    Clarified HWM=0 means infinite

 doc/zmq_getsockopt.txt |    6 ++++--
 doc/zmq_setsockopt.txt |    6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

commit 9ea20b82cc7fffd233d4db854fed4013711ce639
Merge: c7cb5ab c69e797
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Mar 13 12:45:37 2013 -0700

    Merge pull request #531 from murrekatt/master
    
    Fixed CMake building after encoder/decoder changes

commit c69e79706e88d8946ea58b173ac041a214f9c780
Author: Tommy Back <tommy.jh.back@gmail.com>
Date:   Wed Mar 13 20:27:49 2013 +0100

    Fix to building libzmq with CMake as sub-project (git submodule).

 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 601eedb7f3624e1e8c334ce396b64fff91b8a3e8
Author: Tommy Back <tommy.jh.back@gmail.com>
Date:   Wed Mar 13 20:10:00 2013 +0100

    Updated CMake building to work after encoder/decoder changes.

 CMakeLists.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c7cb5ab7c0c1d72fe54799cef4ac4f26fa224cc3
Merge: 1810f10 f1738b9
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Mar 12 14:00:20 2013 -0700

    Merge pull request #530 from hintjens/master
    
    Fixed copyrights in sources

commit f1738b9b9219ffa78bb57fdedc703590abaf5ac2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 12 17:04:51 2013 +0100

    More copyright cleanups

 tests/test_connect_delay.cpp     |    4 ++--
 tests/test_connect_resolve.cpp   |    3 +--
 tests/test_ctx_options.cpp       |    3 +--
 tests/test_disconnect_inproc.cpp |   19 +++++++++++++++++++
 tests/test_hwm.cpp               |    4 +---
 tests/test_invalid_rep.cpp       |    4 +---
 tests/test_last_endpoint.cpp     |    4 +---
 tests/test_monitor.cpp           |    4 +---
 tests/test_msg_flags.cpp         |    4 +---
 tests/test_pair_inproc.cpp       |    3 +--
 tests/test_pair_ipc.cpp          |    3 +--
 tests/test_pair_tcp.cpp          |    4 +---
 tests/test_raw_sock.cpp          |    3 +--
 tests/test_reqrep_device.cpp     |    4 +---
 tests/test_reqrep_inproc.cpp     |    3 +--
 tests/test_reqrep_ipc.cpp        |    3 +--
 tests/test_reqrep_tcp.cpp        |    4 +---
 tests/test_router_mandatory.cpp  |    3 +--
 tests/test_shutdown_stress.cpp   |    4 +---
 tests/test_sub_forward.cpp       |    4 +---
 tests/test_term_endpoint.cpp     |    4 +---
 tests/test_timeo.cpp             |    4 +---
 tests/testutil.hpp               |    4 +---
 23 files changed, 42 insertions(+), 57 deletions(-)

commit 0e77d65f128251cd63dada27ce95849b3b815d29
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 12 16:15:54 2013 +0100

    Removed pointless comment

 src/dealer.cpp |    6 ------
 src/router.cpp |    7 -------
 2 files changed, 13 deletions(-)

commit 8358d4e8328895456399f8c2ee8a0f273fa3f8dc
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 12 16:11:19 2013 +0100

    Renamed ZMQ_DELAY_ATTACH_ON_CONNECT_COULD_THIS_BE_ANY_LONGER to ZMQ_IMMEDIATE

 doc/zmq_setsockopt.txt |   15 +++++++++------
 include/zmq.h          |   10 +++++-----
 src/options.cpp        |   10 +++++-----
 src/options.hpp        |    2 +-
 src/session_base.cpp   |    2 +-
 src/socket_base.cpp    |    4 ++--
 6 files changed, 23 insertions(+), 20 deletions(-)

commit 12c7db8c42ac04d3aaed6674ae43af91c39d29bf
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 12 15:56:10 2013 +0100

    Code name clean up

 src/stream_engine.cpp |   20 ++++++++++----------
 src/stream_engine.hpp |   21 ++++++++-------------
 2 files changed, 18 insertions(+), 23 deletions(-)

commit d826c53b9b163e33952abb515718bb04526b8940
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 12 15:38:48 2013 +0100

    Bumped ZMTP revision to 2
    
    * Starting draft ZMTP/2.1 protocol (revision 2)
    * Basis for adding security to the wire protocol
    * Maintains backward compatibility

 src/stream_engine.cpp   |   24 ++++++++++++------------
 src/stream_engine.hpp   |    7 +++++++
 src/v2_protocol.hpp     |    1 -
 tests/test_raw_sock.cpp |    6 +++---
 4 files changed, 22 insertions(+), 16 deletions(-)

commit 785ef41f678399f2d1835492b3d593ca7b54a498
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 12 15:26:07 2013 +0100

    Refactored codecs to match ZMTP version numbers

 src/Makefile.am         |   10 +--
 src/decoder.cpp         |  164 -----------------------------------------------
 src/decoder.hpp         |   31 ---------
 src/encoder.cpp         |   99 ----------------------------
 src/encoder.hpp         |   24 -------
 src/stream_engine.cpp   |   55 ++++++++--------
 src/tcp_connecter.cpp   |    2 +-
 src/v1_decoder.cpp      |  141 ++++++++++++++++++++--------------------
 src/v1_decoder.hpp      |   21 ++----
 src/v1_encoder.cpp      |   60 ++++++++---------
 src/v1_encoder.hpp      |   15 ++---
 src/v1_protocol.hpp     |   42 ------------
 src/v2_decoder.cpp      |  160 +++++++++++++++++++++++++++++++++++++++++++++
 src/v2_decoder.hpp      |   60 +++++++++++++++++
 src/v2_encoder.cpp      |  100 +++++++++++++++++++++++++++++
 src/v2_encoder.hpp      |   56 ++++++++++++++++
 src/v2_protocol.hpp     |   39 +++++++++++
 src/xsub.cpp            |    8 +--
 tests/test_raw_sock.cpp |    2 +-
 19 files changed, 570 insertions(+), 519 deletions(-)

commit f0f16505e5c3468b9cc598abd797f0aa650447a6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 12 13:17:00 2013 +0100

    Removed corporate advertisements from source file headers
    
    Copyrights had become ads for Sustrik's corporate sponsors, going against the original
    agreement to share copyrights with the community (that agreement was: one line stating
    iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads
    is also unfair to the many individual authors. I've removed ALL corporate title from
    the source files so the copyright statements can now be centralized in AUTHORS and
    source files can be properly updated on an annual basis.

 include/zmq.h          |    5 +----
 include/zmq_utils.h    |    3 +--
 src/address.cpp        |    3 +--
 src/address.hpp        |    3 +--
 src/array.hpp          |    4 +---
 src/atomic_counter.hpp |    4 +---
 src/atomic_ptr.hpp     |    4 +---
 src/blob.hpp           |    3 +--
 src/clock.cpp          |    3 +--
 src/clock.hpp          |    3 +--
 src/command.hpp        |    4 +---
 src/config.hpp         |    4 +---
 src/ctx.cpp            |    4 +---
 src/ctx.hpp            |    4 +---
 src/dealer.cpp         |    4 +---
 src/dealer.hpp         |    3 +--
 src/decoder.cpp        |    4 +---
 src/decoder.hpp        |    4 +---
 src/devpoll.cpp        |    4 +---
 src/devpoll.hpp        |    4 +---
 src/dist.cpp           |    4 +---
 src/dist.hpp           |    3 +--
 src/encoder.cpp        |    5 +----
 src/encoder.hpp        |    4 +---
 src/epoll.cpp          |    4 +---
 src/epoll.hpp          |    4 +---
 src/err.cpp            |    4 +---
 src/err.hpp            |    4 +---
 src/fd.hpp             |    3 +--
 src/fq.cpp             |    5 +----
 src/fq.hpp             |    4 +---
 src/i_decoder.hpp      |    3 +--
 src/i_encoder.hpp      |    3 +--
 src/i_engine.hpp       |    4 +---
 src/i_msg_sink.hpp     |    3 +--
 src/i_msg_source.hpp   |    3 +--
 src/i_poll_events.hpp  |    4 +---
 src/io_object.cpp      |    4 +---
 src/io_object.hpp      |    4 +---
 src/io_thread.cpp      |    4 +---
 src/io_thread.hpp      |    4 +---
 src/ip.cpp             |    4 +---
 src/ip.hpp             |    4 +---
 src/ipc_address.cpp    |    3 +--
 src/ipc_address.hpp    |    3 +--
 src/ipc_connecter.cpp  |    3 +--
 src/ipc_connecter.hpp  |    3 +--
 src/ipc_listener.cpp   |    3 +--
 src/ipc_listener.hpp   |    3 +--
 src/kqueue.cpp         |    4 +---
 src/kqueue.hpp         |    4 +---
 src/lb.cpp             |    5 +----
 src/lb.hpp             |    4 +---
 src/likely.hpp         |    3 +--
 src/mailbox.cpp        |    4 +---
 src/mailbox.hpp        |    4 +---
 src/msg.cpp            |    6 ++----
 src/msg.hpp            |    5 +----
 src/mtrie.cpp          |    4 +---
 src/mtrie.hpp          |    4 +---
 src/mutex.hpp          |    4 +---
 src/object.cpp         |    4 +---
 src/object.hpp         |    4 +---
 src/options.cpp        |    5 +----
 src/options.hpp        |    5 +----
 src/own.cpp            |    3 +--
 src/own.hpp            |    3 +--
 src/pair.cpp           |    4 +---
 src/pair.hpp           |    4 +---
 src/pgm_receiver.cpp   |    5 +----
 src/pgm_receiver.hpp   |    5 +----
 src/pgm_sender.cpp     |    5 +----
 src/pgm_sender.hpp     |    5 +----
 src/pgm_socket.cpp     |    5 +----
 src/pgm_socket.hpp     |    5 +----
 src/pipe.cpp           |    5 +----
 src/pipe.hpp           |    5 +----
 src/poll.cpp           |    4 +---
 src/poll.hpp           |    4 +---
 src/poller.hpp         |    4 +---
 src/poller_base.cpp    |    3 +--
 src/poller_base.hpp    |    3 +--
 src/precompiled.cpp    |    3 +--
 src/precompiled.hpp    |    3 +--
 src/proxy.cpp          |    3 +--
 src/proxy.hpp          |    3 +--
 src/pub.cpp            |    4 +---
 src/pub.hpp            |    4 +---
 src/pull.cpp           |    4 +---
 src/pull.hpp           |    4 +---
 src/push.cpp           |    4 +---
 src/push.hpp           |    4 +---
 src/random.cpp         |    3 +--
 src/random.hpp         |    3 +--
 src/raw_decoder.cpp    |    4 +---
 src/raw_decoder.hpp    |    4 +---
 src/raw_encoder.cpp    |    5 +----
 src/raw_encoder.hpp    |    4 +---
 src/reaper.cpp         |    3 +--
 src/reaper.hpp         |    3 +--
 src/rep.cpp            |    4 +---
 src/rep.hpp            |    4 +---
 src/req.cpp            |    5 +----
 src/req.hpp            |    5 +----
 src/router.cpp         |    5 +----
 src/router.hpp         |    5 +----
 src/select.cpp         |    4 +---
 src/select.hpp         |    4 +---
 src/session_base.cpp   |    5 +----
 src/session_base.hpp   |    5 +----
 src/signaler.cpp       |    3 +--
 src/signaler.hpp       |    3 +--
 src/socket_base.cpp    |    5 +----
 src/socket_base.hpp    |    5 +----
 src/stdint.hpp         |    3 +--
 src/stream_engine.cpp  |    4 +---
 src/stream_engine.hpp  |    4 +---
 src/sub.cpp            |    4 +---
 src/sub.hpp            |    4 +---
 src/tcp.cpp            |    4 +---
 src/tcp.hpp            |    4 +---
 src/tcp_address.cpp    |    4 +---
 src/tcp_address.hpp    |    4 +---
 src/tcp_connecter.cpp  |    4 +---
 src/tcp_connecter.hpp  |    4 +---
 src/tcp_listener.cpp   |    4 +---
 src/tcp_listener.hpp   |    4 +---
 src/thread.cpp         |    4 +---
 src/thread.hpp         |    4 +---
 src/trie.cpp           |    5 +----
 src/trie.hpp           |    5 +----
 src/v1_decoder.cpp     |    4 +---
 src/v1_decoder.hpp     |    4 +---
 src/v1_encoder.cpp     |    5 +----
 src/v1_encoder.hpp     |    4 +---
 src/v1_protocol.hpp    |    3 +--
 src/windows.hpp        |    4 +---
 src/wire.hpp           |    3 +--
 src/xpub.cpp           |    4 +---
 src/xpub.hpp           |    3 +--
 src/xsub.cpp           |    4 +---
 src/xsub.hpp           |    3 +--
 src/ypipe.hpp          |    4 +---
 src/yqueue.hpp         |    4 +---
 src/zmq.cpp            |    4 +---
 src/zmq_utils.cpp      |    4 +---
 146 files changed, 147 insertions(+), 427 deletions(-)

commit cb69986d743df388944d7dc5ea4bb12f7c49d2ed
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Mar 8 14:22:58 2013 +0100

    Comment change

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 898ad19851ba81b4175696028bd5427a38c86614
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Feb 26 12:43:52 2013 +0100

    It's its not it's

 doc/zmq_pgm.txt            |    4 ++--
 doc/zmq_socket_monitor.txt |   22 +++++++++++-----------
 2 files changed, 13 insertions(+), 13 deletions(-)

commit 1810f1025f633a7d3c6edafb4ac4650b7c06de69
Merge: ba2dda4 d78d497
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Mar 8 10:03:19 2013 -0800

    Merge pull request #529 from guidog/master
    
    Adapted zmq_socket_monitor man page to new API.

commit d78d4972ae3eed299ce9245a734c95b94c161af1
Author: Guido Goldstein <github@a-nugget.de>
Date:   Fri Mar 8 16:58:04 2013 +0100

    Adapted man page to API.

 doc/zmq_socket_monitor.txt |  229 +++++++++++++++++++-------------------------
 1 file changed, 100 insertions(+), 129 deletions(-)

commit ba2dda407d73d009851cb19f7fa831d6576f4a76
Merge: 656258c b0b8ab2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Mar 8 05:21:25 2013 -0800

    Merge pull request #528 from guidog/master
    
    Changed message structure for event notifications

commit b0b8ab27c5a3734aa2e9103a61e1a850e14d7dd3
Author: Guido Goldstein <github@a-nugget.de>
Date:   Fri Mar 8 13:48:18 2013 +0100

    Changed message structure for event notifications.

 include/zmq.h          |    6 ++--
 src/socket_base.cpp    |   67 +++++++++++++++--------------------------
 src/socket_base.hpp    |    5 +---
 src/zmq.cpp            |   10 -------
 tests/test_monitor.cpp |   78 ++++++++++++++++++++++++++----------------------
 5 files changed, 70 insertions(+), 96 deletions(-)

commit 656258c1d4ec3f3d71f4ea85783d95576aff2bf5
Merge: 068909f 21eeb03
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Mar 8 02:24:46 2013 -0800

    Merge pull request #527 from guidog/master
    
    Simplified zmq_event_t structure.

commit 21eeb03b6cab29e5f4cb60b195272314f6375678
Author: Guido Goldstein <github@a-nugget.de>
Date:   Fri Mar 8 10:34:25 2013 +0100

    Simplified the zmq_event_t structure for easier access and better usability towards language bindings.

 include/zmq.h          |   48 ++++----------------------------------
 src/socket_base.cpp    |   60 ++++++++++++++++++++++++------------------------
 src/zmq.cpp            |   37 +++--------------------------
 tests/test_monitor.cpp |   39 ++++++++++++-------------------
 4 files changed, 52 insertions(+), 132 deletions(-)

commit 068909f4445381f597337bd0f51786f45ba0df35
Merge: be11608 7e37cc8
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Mar 5 08:00:59 2013 -0800

    Merge pull request #526 from breese/master
    
    Fixed Linux compilation problem

commit 7e37cc8ed471ef06554ea88e20dbf5315dcc2bb9
Author: Bjorn Reese <breese@sourceforge.net>
Date:   Tue Mar 5 11:52:47 2013 +0100

    Linux build fails due to undeclared variable

 perf/remote_thr.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit be1160832e91f757a65ff37c3450e4f26ce3daff
Merge: f420f0a 679869d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Mar 3 01:14:00 2013 -0800

    Merge pull request #525 from pijyoi/master
    
    remote_thr.cpp: port pthreads usage to win32 api

commit 679869d98144adf70e738fa269f4d4c89e2f08a3
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Sun Mar 3 15:39:44 2013 +0800

    add simple Makefile to build with mingw32

 builds/mingw32/Makefile.mingw32 |   31 +++++++++++++++++++++++++++++++
 builds/mingw32/platform.hpp     |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

commit 3176509e6029ec269e340d266b99059f97b5c065
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Sun Mar 3 15:28:00 2013 +0800

    include source directory version of zmq.h and zmq_utils.h
    
    this follows what {local,remote}_lat.cpp and inproc_{thr,lat}.cpp do.

 perf/local_thr.cpp  |    4 ++--
 perf/remote_thr.cpp |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 402f9fd243dfd150e7dc567ce6e045d3a7d14b50
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Sun Mar 3 15:18:54 2013 +0800

    remote_thr.cpp: port pthreads usage to win32 api

 perf/remote_thr.cpp |   74 ++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 49 insertions(+), 25 deletions(-)

commit f420f0aff78c1734d335f9304bbca658ba30d7ec
Merge: 22d9d95 1e52a45
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Feb 28 14:14:31 2013 -0800

    Merge pull request #524 from dlittleton/master
    
    Windows: Fix rounding error in now_us. [Jira LIBZMQ-514]

commit 1e52a451d68bd274635d7338f114ff708bc0294f
Author: Duane Littleton <dlittleton@vocollect.com>
Date:   Wed Feb 27 13:53:07 2013 -0500

    Windows: Fix rounding error when calculating now_us
    
    Improve accuracy of time calculations and avoid division by zero when
    ticksPerSecond.QuadPart < 1000000.

 src/clock.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 22d9d95dd26bf3e39119e10d652ffbc97c46ca6d
Merge: deb9773 a22714d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Feb 26 12:33:26 2013 -0800

    Merge pull request #523 from ambitslix/perf
    
    Improvements and fixes for performance of PUSH/PULL in local_thr and rem...

commit a22714dd79021279ce64e7795be7f25ede8c1f83
Author: Attila Mark <gougolith@gmail.com>
Date:   Tue Feb 26 12:10:27 2013 -0800

    Improvements and fixes for performance of PUSH/PULL in local_thr and remote_thr.
    
    - option to set number of zmq threads on the command line for local_thr
    - option to set number of zmq_threads and workers in remote_thr
    - option to set SND/RCV buffer sizes on command line
    - option to set whether to PUSH/PULL on command line
    - option to set to use zmq_recv or zmq_msg for transfer on command line
    - better timing function
    - corrected and improved throughput reporting
    - HWM and DELAY socket options

 AUTHORS             |    1 +
 perf/local_thr.cpp  |  253 +++++++++++++++++++++++++++++++++++--------
 perf/remote_thr.cpp |  299 +++++++++++++++++++++++++++++++++++++++++++--------
 3 files changed, 466 insertions(+), 87 deletions(-)

commit deb977345c85939551551c73fe710fc1f9252100
Merge: fb45685 066f3d2
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Feb 25 05:30:11 2013 -0800

    Merge pull request #522 from hintjens/master
    
    Fixed overflow in results calculation

commit 066f3d2c9bf3126f91a4339be1f9862fea25cb77
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 25 14:13:15 2013 +0100

    Fixed overflow in local_thr results calculation

 perf/local_thr.cpp |   36 ++++++++++++------------------------
 1 file changed, 12 insertions(+), 24 deletions(-)

commit fb45685aa82689f6024c5eb91a65adb5059f3acf
Merge: 0434366 0ecc96b
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Feb 24 09:04:26 2013 -0800

    Merge pull request #521 from SRombauts/master
    
    Static Library Linking for Windows

commit 0ecc96bf33b66413bff1db1ae72bec67a6522824
Author: Sebastien Rombauts <sebastien.rombauts@gmail.com>
Date:   Sun Feb 24 16:10:17 2013 +0100

    Adding missing new ZeroMQ_Static.props and Static.props files
    
    + ignore StaticRelease & StaticDebug intermediate files

 .gitignore                                 |    4 ++--
 builds/msvc/properties/Static.props        |   15 +++++++++++++++
 builds/msvc/properties/ZeroMQ_Static.props |   23 +++++++++++++++++++++++
 3 files changed, 40 insertions(+), 2 deletions(-)

commit b3bcd8e323773c3ede84ec1fe7ab7e4df045e063
Author: Sebastien Rombauts <sebastien.rombauts@gmail.com>
Date:   Sun Feb 24 15:44:14 2013 +0100

    Static Library Linking for Windows
    
    - New ZMQ_STATIC flag to enable "libzmq.lib" Windows static library (or "libzmq_d.lib" in Debug mode).
    - ZMQ_STATIC needs also to be defined by projects using static linking against "libzmq.lib"
    - New StaticDebug & StaticRelease configurations for libzmq Win32 projects under MSVC 2008 & 2010
    - Tested with Visual Studio 2008 Express under Windows 7, and Visual Studio 2010 Express under Windows 8.

 builds/msvc/Makefile.am             |    4 +-
 builds/msvc/libzmq/libzmq.vcproj    | 1776 +++++++++++++++++++----------------
 builds/msvc/libzmq/libzmq.vcxproj   |   40 +-
 builds/msvc/msvc.sln                |    6 +
 builds/msvc/msvc10.sln              |    6 +
 builds/msvc/properties/ZeroMQ.props |    1 -
 include/zmq.h                       |    4 +-
 include/zmq_utils.h                 |    4 +-
 8 files changed, 1013 insertions(+), 828 deletions(-)

commit 0434366088ac519c9a4a8bc1f5b37b6b7662d927
Merge: 25dc715 d175676
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 22 00:27:56 2013 -0800

    Merge pull request #520 from xantares/master
    
    Fixed module path with cmake < 2.8.3

commit d17567626a54a60fea6ec8bd29ba8548c90ac7eb
Author: Michel Zou <xantares09@hotmail.com>
Date:   Fri Feb 22 09:01:41 2013 +0100

    Fixed module path with cmake < 2.8.3

 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 25dc715b7bf7c0fa0cbd274c5b500d8380e321ba
Merge: 897023c a61535a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Feb 20 11:45:14 2013 -0800

    Merge pull request #519 from SRombauts/master
    
    Corrected linking error in MSVC 2010 build + perf/projects compilation

commit 897023c3c1cecacdbd32f3215f45ee68410d61ee
Merge: ccf2b9b a85c9f4
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Feb 20 11:44:22 2013 -0800

    Merge pull request #518 from hintjens/master
    
    Fixed MAXMSGSIZE setsockopt, which I'd broken

commit a61535a23a6388c13239882129d6876acf7ade91
Author: Sébastien Rombauts <sebastien.rombauts@gmail.com>
Date:   Wed Feb 20 16:08:18 2013 +0100

    VS2008 & VS2010: adding the pre-build command to copy platform.hpp in perf/ directory to the two appropriate projects, for each MSVC version

 builds/msvc/inproc_lat/inproc_lat.vcproj  |  350 +++++++++++++++--------------
 builds/msvc/inproc_lat/inproc_lat.vcxproj |   22 +-
 builds/msvc/inproc_thr/inproc_thr.vcproj  |  350 +++++++++++++++--------------
 builds/msvc/inproc_thr/inproc_thr.vcxproj |   22 +-
 builds/msvc/libzmq/libzmq.vcxproj         |   20 +-
 5 files changed, 411 insertions(+), 353 deletions(-)

commit a85c9f45d14a52f66c414e743fd609d9a7324685
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 20 14:05:55 2013 +0100

    MAXMSGSIZE broke when I cleaned up this code - fixed

 src/options.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 157bf4523ef00dce8fe89d0806da4f0b01c55aa8
Author: Sébastien Rombauts <sebastien.rombauts@gmail.com>
Date:   Tue Feb 19 22:16:40 2013 +0100

    VS2010: adding another pre-build command to copy platform.hpp in perf/ directory

 builds/msvc/libzmq/libzmq.vcxproj |    6 ++++++
 1 file changed, 6 insertions(+)

commit 23db53d0aa720e2f26c67ecd94eeacfbdffc4cda
Author: Sébastien Rombauts <sebastien.rombauts@gmail.com>
Date:   Tue Feb 19 22:01:50 2013 +0100

    Corrected linking error in MSVC 2010 build
    
    - raw_encoder.cpp and raw_decoder.cpp where missing in Visual Studio 2010 project

 builds/msvc/libzmq/libzmq.vcxproj         |    4 ++++
 builds/msvc/libzmq/libzmq.vcxproj.filters |   12 ++++++++++++
 2 files changed, 16 insertions(+)

commit ccf2b9b46665f37a579f5f04f7b80848e97944a6
Merge: a5ef501 57f84d6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Feb 19 10:31:26 2013 -0800

    Merge pull request #517 from SRombauts/master
    
    Windows CE support : using standard _WIN32_WCE flag instead of WINCE

commit 57f84d68111b1005e9f216b94070e837a3b65407
Author: Sébastien Rombauts <sebastien.rombauts@gmail.com>
Date:   Tue Feb 19 18:57:12 2013 +0100

    Windows CE support : some more #if !defined _WIN32_WCE
    
    - Windows CE does not manage security attributes (no SetSecurityDescriptorDacl(), SetEvent (NULL, xxx) ...)
    - Windows CE does not inheritance of sockets for child process (SetHandleInformation ((HANDLE) *w_, HANDLE_FLAG_INHERIT...)
    - see comments about story "Porting ZeroMQ to Windows Mobile" on webpage http://www.zeromq.org/story:5

 src/signaler.cpp     |   14 +++++++++++++-
 src/tcp_listener.cpp |    4 ++++
 2 files changed, 17 insertions(+), 1 deletion(-)

commit 05bb0ead54815d0b8262a9e0063e37f289bc307a
Author: Sébastien Rombauts <sebastien.rombauts@gmail.com>
Date:   Tue Feb 19 18:55:01 2013 +0100

    Windows CE support : uncommenting #define EACCES needed
    
    - tested for Windows CE 5.0 under Visual Studio 2008 Pro
    - tested for Windows XP under Visual Studio 2008 Pro

 builds/msvc/errno.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 41d79bc19eb4b53c6e6c7ea0477a1607ff0b59a7
Author: Sébastien Rombauts <sebastien.rombauts@gmail.com>
Date:   Tue Feb 19 16:49:23 2013 +0100

    Windows CE support : using standard _WIN32_WCE flag instead of WINCE
    
    - when compiling for Windows CE, a C++ project must define the preprocessor definitions: UNDER_CE=$(CEVersion),_WIN32_WCE=$(CEVersion)
    - choosing the "_WIN32_CE" form for uniformization with "_WIN32" and "_WIN32_WINNT" already used in libzmq (boost is using both forms)
    - see http://msdn.microsoft.com/en-us/library/ee479161(v=winembedded.60).aspx

 builds/msvc/errno.cpp |    2 +-
 include/zmq.h         |    2 +-
 src/clock.cpp         |    2 +-
 src/err.cpp           |    2 +-
 src/err.hpp           |    2 +-
 src/socket_base.cpp   |    2 +-
 src/thread.cpp        |    2 +-
 src/windows.hpp       |    2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

commit a5ef50141c24c3f658595865d69cbeb132a492ab
Merge: a8dfcb3 927000f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Feb 19 05:33:42 2013 -0800

    Merge pull request #516 from SRombauts/master
    
    Corrected some more linking errors in MSVC build

commit 927000fe2ff7182f55ebd400b959ef3d62d8aa17
Author: Sébastien Rombauts <sebastien.rombauts@gmail.com>
Date:   Tue Feb 19 14:18:50 2013 +0100

    Fixed 7 MSVC2008 Compiler Warning (level 3) C4800: 'const int' : forcing value to bool 'true' or 'false' (performance warning)
    
    - added explicit test "(xxx != 0)" to get a "bool" value out of the "int" expression
    - see the MSDN recommandation http://msdn.microsoft.com/en-us/library/b6801kcy(v=vs.90).aspx

 src/ctx.cpp         |    2 +-
 src/options.cpp     |    4 ++--
 src/router.cpp      |    4 ++--
 src/socket_base.cpp |    2 +-
 src/xpub.cpp        |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

commit 42be4d13a7f96089e97d58a9d35ea38baa850fac
Author: Sébastien Rombauts <sebastien.rombauts@gmail.com>
Date:   Tue Feb 19 13:46:52 2013 +0100

    Corrected more linking error in MSVC build
    
    - raw_encoder.cpp and raw_decoder.cpp in missing in MSVC project

 builds/msvc/libzmq/libzmq.vcproj |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit a8dfcb3c7de53b8b2ec7a5495532e83dd44ee16d
Merge: 08be168 e628421
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Feb 18 12:19:11 2013 -0800

    Merge pull request #515 from hintjens/master
    
    Updated NEWS for 3.2.2 stable

commit e628421ed5a7f2a9e2bc92ecfa513d24d8e45cb1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 18 21:14:14 2013 +0100

    Updated NEWS for 3.2.2 stable

 NEWS |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

commit 08be168dd0011ab259f8f34b0817027bb1ac645c
Merge: 7094a70 8c71ac4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 15 08:44:30 2013 -0800

    Merge pull request #514 from pijyoi/fixcs
    
    release critical section on failure to create signaler fdpair

commit 8c71ac47e83dc4ae116ab4abb5e4a76e8249d888
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Fri Feb 15 10:45:43 2013 +0800

    release critical section on failure to create signaler fdpair

 src/signaler.cpp |   48 +++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 37 insertions(+), 11 deletions(-)

commit 7094a706123a73c95492dd3a5f4ebc2566eb44f2
Merge: 9a6b875 51cfcb1
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Feb 10 01:23:13 2013 -0800

    Merge pull request #513 from hintjens/master
    
    Fixed test_connect_resolve

commit 51cfcb117a488d8411b34dff483312c4e0fa405b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Feb 10 08:39:27 2013 +0100

    Some DNSs will resolve ANY domain name so I made more reliable errors.

 tests/test_connect_resolve.cpp |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

commit 9a6b875f2181ef46baf65d3baf33135bb67f2864
Merge: 6b2304a 1a13554
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Feb 7 04:23:56 2013 -0800

    Merge pull request #512 from montoyaedu/master
    
    broken tests compilation. Makefile.am

commit 1a13554fe0fc94bd1fc5619e270c3abc50cd5b63
Author: montoyaedu <montoya.edu@gmail.com>
Date:   Thu Feb 7 12:27:33 2013 +0100

    solved broken tests compilation

 tests/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6b2304ad9749819a7325feae12aa141a5cd1e443
Merge: f27eb67 ec04ccb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Feb 5 15:13:12 2013 -0800

    Merge pull request #511 from mjasperse/patch-2
    
    Corrected linking error in MSVC build

commit ec04ccba79d70abfe7355e6584f5ff79a94793a7
Author: mjasperse <m.jasperse@gmail.com>
Date:   Wed Feb 6 10:09:07 2013 +1100

    Corrected linking error in MSVC build
    
    MSVC build fails with linking errors for unresolved symbols SetSecurityDescriptorDacl and InitializeSecurityDescriptor in signaler.obj
    Adding the relevant link library (Advapi32.lib) to VCLinkerTool fixes this (tested MSVC2010 on XP and Win7)

 builds/msvc/libzmq/libzmq.vcproj |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit f27eb67e1abb0484c41050e454404cce30647b63
Merge: a3ae0d4 2c1a3c5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 1 00:54:36 2013 -0800

    Merge pull request #510 from miniway/master
    
    LIBZMQ-497 there could be unsent bytes in encoder

commit 2c1a3c55f73a504b82c32b75790c59426cde76e9
Author: Min(Dongmin Yu) <miniway@gmail.com>
Date:   Fri Feb 1 17:32:28 2013 +0900

    LIBZMQ-497 there could be unsent bytes in encoder
    
    When we send a large message, the message can be splitted into two chunks.
    One is in the encoder buffer and the other is the zero-copy pointer.
    The session could get the term before the last chunk is sent.

 src/encoder.hpp       |    5 +++++
 src/i_encoder.hpp     |    1 +
 src/stream_engine.cpp |   12 ++++++++++++
 src/stream_engine.hpp |    1 +
 4 files changed, 19 insertions(+)

commit a3ae0d4c16c892a4e6c96d626a7c8b7068450336
Merge: b60689e 8ab3c4a
Author: Chuck Remes <git@chuckremes.com>
Date:   Thu Jan 31 13:40:02 2013 -0800

    Merge pull request #509 from hintjens/master
    
    Added IPv6 option to context

commit 8ab3c4a1bfbde44f45bd97eb40cbd27236239d10
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 31 21:52:30 2013 +0100

    Fixed issue #500

 .gitignore                 |    3 +++
 doc/zmq_ctx_get.txt        |    6 ++++-
 doc/zmq_ctx_set.txt        |   11 +++++++++
 src/ctx.cpp                |   20 ++++++++++++----
 src/ctx.hpp                |    3 +++
 src/options.hpp            |    1 -
 src/socket_base.cpp        |    1 +
 tests/Makefile.am          |    6 ++---
 tests/test_ctx_options.cpp |   56 ++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 97 insertions(+), 10 deletions(-)

commit b60689e59df90068396c52acbccf9986b6a55514
Merge: 049931f 309740e
Author: Chuck Remes <git@chuckremes.com>
Date:   Thu Jan 31 11:54:42 2013 -0800

    Merge pull request #508 from hintjens/master
    
    IPv6 related changes and cleanups to test cases

commit 309740e1972565fdcbfe886439977a4603a7d10e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 31 20:47:45 2013 +0100

    Fixed issue #499

 doc/zmq_getsockopt.txt |   21 ++++++++++---
 doc/zmq_setsockopt.txt |   24 +++++++++++----
 src/options.cpp        |   29 +++++++++---------
 src/options.hpp        |    6 ++--
 src/socket_base.cpp    |    2 +-
 src/tcp_address.cpp    |   77 +++++++++++++++++++++---------------------------
 src/tcp_address.hpp    |   15 ++++------
 src/tcp_listener.cpp   |    7 +++--
 8 files changed, 98 insertions(+), 83 deletions(-)

commit 963c6a8e2f15e077c40c461ede7b5cf777a30dd4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 31 19:46:22 2013 +0100

    Lots of cleanups to self-tests
    * Removed or truncated sleeps so the tests run faster
    * Removed dependencies on zmq_utils
    * Rewrote a few tests that were confusing
    * Minor code cleanups

 tests/test_connect_delay.cpp     |  195 +++++++++++++++++---------------------
 tests/test_connect_resolve.cpp   |    2 -
 tests/test_disconnect_inproc.cpp |   23 ++---
 tests/test_hwm.cpp               |    7 +-
 tests/test_invalid_rep.cpp       |    2 -
 tests/test_monitor.cpp           |  152 ++++++++++++++---------------
 tests/test_msg_flags.cpp         |   12 +--
 tests/test_pair_inproc.cpp       |    2 -
 tests/test_pair_ipc.cpp          |    2 -
 tests/test_pair_tcp.cpp          |    2 -
 tests/test_raw_sock.cpp          |    8 +-
 tests/test_reqrep_device.cpp     |   10 +-
 tests/test_reqrep_inproc.cpp     |    2 -
 tests/test_reqrep_ipc.cpp        |    2 -
 tests/test_reqrep_tcp.cpp        |    2 -
 tests/test_router_mandatory.cpp  |    1 -
 tests/test_shutdown_stress.cpp   |    2 -
 tests/test_sub_forward.cpp       |   24 +++--
 tests/test_term_endpoint.cpp     |   28 +++---
 tests/test_timeo.cpp             |  107 ++++++++-------------
 tests/testutil.hpp               |    4 +-
 21 files changed, 248 insertions(+), 341 deletions(-)

commit c39cb0bde14c53009f745ce0e5669156cc76a8a7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 31 16:26:28 2013 +0100

    Rewrote completely, was bogusly testing EAGAIN

 tests/test_router_mandatory.cpp |   89 +++++++++++++++------------------------
 1 file changed, 35 insertions(+), 54 deletions(-)

commit 3a558fcc4b8bfa72c649834b76d2fc7e9c93c74e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 31 15:00:17 2013 +0100

    Rewrote raw test completely

 tests/test_raw_sock.cpp |  286 +++++++++++++++--------------------------------
 1 file changed, 88 insertions(+), 198 deletions(-)

commit 8c9289342a1702d557b412487342e2f9a8bbf265
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 31 09:10:49 2013 +0100

    Fixed use of deprecated zmq_init/term

 tests/test_connect_resolve.cpp  |    4 ++--
 tests/test_hwm.cpp              |    4 ++--
 tests/test_invalid_rep.cpp      |    7 +++++--
 tests/test_last_endpoint.cpp    |   11 ++++++++++-
 tests/test_monitor.cpp          |    4 ++--
 tests/test_msg_flags.cpp        |   10 ++++++++--
 tests/test_pair_inproc.cpp      |    4 ++--
 tests/test_pair_ipc.cpp         |    4 ++--
 tests/test_pair_tcp.cpp         |    4 ++--
 tests/test_raw_sock.cpp         |    1 -
 tests/test_reqrep_device.cpp    |    4 ++--
 tests/test_reqrep_inproc.cpp    |    4 ++--
 tests/test_reqrep_ipc.cpp       |    4 ++--
 tests/test_reqrep_tcp.cpp       |    4 ++--
 tests/test_router_mandatory.cpp |    4 ++--
 tests/test_shutdown_stress.cpp  |    6 +++---
 tests/test_sub_forward.cpp      |    4 ++--
 tests/test_term_endpoint.cpp    |   10 ++++------
 tests/test_timeo.cpp            |    4 ++--
 19 files changed, 56 insertions(+), 41 deletions(-)

commit 5f009e5234fc7a4e79f5add942098abd71a58ee2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 30 23:53:23 2013 +0100

    Various cleanups to test programs

 tests/test_connect_delay.cpp     |    6 ++----
 tests/test_disconnect_inproc.cpp |   11 ++---------
 tests/test_last_endpoint.cpp     |    9 ++++-----
 tests/test_raw_sock.cpp          |   36 +++++++++++++++++-------------------
 4 files changed, 25 insertions(+), 37 deletions(-)

commit 18a14aedead54354aac1a886a0e65c0fcd7afead
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 30 23:53:09 2013 +0100

    Added ZMQ_IPV6 option, cleaned up setsockopt code, it was nasty

 include/zmq.h   |    3 +-
 src/options.cpp |  427 +++++++++++++++++++++++--------------------------------
 2 files changed, 181 insertions(+), 249 deletions(-)

commit aa21e090e19496bedc2b87bae1cb8f6bc4356885
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jan 18 11:38:49 2013 +0100

    Updated .gitignore

 .gitignore |    1 +
 1 file changed, 1 insertion(+)

commit 049931fc1eeb3e680c6b251a33ed983f8f6585cb
Merge: 470d06b f1e77f2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 30 08:04:31 2013 -0800

    Merge pull request #507 from bjoto/master
    
     LIBZMQ-498 - Remove heap allocations in zmq_poll for small poll item sets

commit f1e77f2246726e5e0303eef79f15cd44c4c4a383
Author: Bjorn Topel <bjorn.topel@gmail.com>
Date:   Wed Jan 30 16:46:45 2013 +0100

    Removed heap allocation for in zmq_poll for small item sets
    
    Until now, zmq_poll always allocates the poll items on the heap.
    Now, small item sets, up to ZMQ_POLLITEMS_DFLT, are stack allocated
    and only larger sets are allocated on the heap.

 include/zmq.h |    2 ++
 src/zmq.cpp   |   20 ++++++++++++++------
 2 files changed, 16 insertions(+), 6 deletions(-)

commit 470d06bb9ef3bb33920a9f6240340ec668e6fb1a
Merge: e8cbfac e464a91
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jan 27 15:18:11 2013 -0800

    Merge pull request #506 from arsenm/master
    
    Fix using wrong name for windows.h check with cmake

commit e464a91086386de9bd65e0d9c3c55a38dff056a6
Author: Matt Arsenault <arsenm2@rpi.edu>
Date:   Sun Jan 27 18:09:32 2013 -0500

    Fix using wrong name for windows.h check in cmake

 CMakeLists.txt               |    2 +-
 builds/cmake/platform.hpp.in |    5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)

commit e8cbfac9663169ffe1ab0deb47db2a8796a78172
Merge: abc8907 ba3e18f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 23 11:55:48 2013 -0800

    Merge pull request #503 from chazmcgarvey/define-dummy-eproto
    
    define a dummy EPROTO for platforms that don't use it

commit abc8907e440f0ccb4f1a8758892bf79d93a9847f
Merge: 93618e7 f01bab6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 23 11:55:17 2013 -0800

    Merge pull request #505 from arsenm/master
    
    Fix perf-tools build on Linux with cmake

commit 93618e7d02b83171c5db7672dfa795978194dd1e
Merge: 7bc3e53 0a1bd45
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 23 11:55:02 2013 -0800

    Merge pull request #504 from o172/master
    
    Adds tests/test_disconnect_inproc to .gitignore

commit f01bab6633c170315f2a7d1aee71a46e122a4b0b
Author: Matt Arsenault <arsenm2@rpi.edu>
Date:   Wed Jan 23 14:31:02 2013 -0500

    Fix cmake not linking librt to perf-tools

 CMakeLists.txt |    6 ++++++
 1 file changed, 6 insertions(+)

commit 0a1bd457210da2cff41ad36aefdedee2f6ed0757
Author: o172(xenovo) <git@o172.net>
Date:   Wed Jan 23 19:20:52 2013 +0000

    Added tests/test_disconnect_inproc to .gitignore

 .gitignore |    1 +
 1 file changed, 1 insertion(+)

commit 7bc3e53b53fa43da46ff9f56113793abc7ad592e
Merge: eeaa2c8 d850272
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jan 21 21:18:08 2013 -0800

    Merge pull request #502 from ianbarber/master
    
    Add bounds check on upstream XSUB messages

commit ba3e18f700659202247e38a7f48ea16d32bd8e79
Author: Charles McGarvey <chazmcgarvey@brokenzipper.com>
Date:   Mon Jan 21 17:14:26 2013 -0700

    define a dummy EPROTO for platforms that don't use it
    
    This accomplishes the same thing as 2e2ef7fd in a potentially cleaner way.

 src/err.hpp          |    5 +++++
 src/ipc_listener.cpp |    7 +------
 src/tcp_listener.cpp |    7 +------
 3 files changed, 7 insertions(+), 12 deletions(-)

commit d850272417dd7a3be4c5e0f429118f0005a0285b
Author: Ian Barber <ianbarber@google.com>
Date:   Mon Jan 21 16:11:27 2013 -0800

    Add size check on XSUB message sends
    
    Ensures 0 length messages aren't being checked for subscribtion status on whatever data happens to be following the data pointer.

 src/xsub.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit eeaa2c8e426b797be412f09c1a4071db1f6b2d01
Merge: 3a63218 2e2ef7f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jan 21 14:47:35 2013 -0800

    Merge pull request #501 from chazmcgarvey/conditional-eproto
    
    do not use EPROTO on platforms that do not have it

commit 2e2ef7fd330cd009c20b349a85d54e220d714f48
Author: Charles McGarvey <chazmcgarvey@brokenzipper.com>
Date:   Mon Jan 21 15:00:55 2013 -0700

    do not use EPROTO on platforms that do not have it

 src/ipc_listener.cpp |    7 ++++++-
 src/tcp_listener.cpp |    7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

commit 3a632185a625c9025393a624559624d2de078f60
Merge: 29a1d8e 7918175
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jan 20 03:43:49 2013 -0800

    Merge pull request #500 from haf/fixes/asciidoc-title
    
    Shortening the =-chars to make asciidoc work

commit 791817571702f8d84379184bcbbe7b81b0c613dd
Author: Henrik <henrik@haf.se>
Date:   Sat Jan 19 18:02:24 2013 +0100

    Shortening the =-chars to make asciidoc work

 doc/zmq_ctx_term.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 29a1d8ec6032e2ca9636ca112ed4ec033058772d
Merge: f467011 21c97f0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 17 23:49:52 2013 -0800

    Merge pull request #499 from minrk/ac_header
    
    Minor autoconf tweaks

commit f467011dbc718b251890a22cb6439cfc8b3d4424
Merge: 21fc2a9 edd43e1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 17 23:49:32 2013 -0800

    Merge pull request #498 from minrk/zmq_ctx_term
    
    deprecate zmq_ctx_destroy in favor of zmq_ctx_term

commit 21c97f0cc27ae8de2887fe0bad22e3fef60a3e26
Author: MinRK <benjaminrk@gmail.com>
Date:   Thu Jan 17 16:00:38 2013 -0800

    AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
    
    AM_CONFIG_HEADER raises an 'obsolete error' with automake 1.13.

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 64c019e24d14bdefd91faaa345174bc36c4e738e
Author: MinRK <benjaminrk@gmail.com>
Date:   Thu Jan 17 15:59:11 2013 -0800

    move configure.in -> configure.ac
    
    autotools warns that configure.in
    should actually be named configure.ac

 configure.ac |  428 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 configure.in |  428 ----------------------------------------------------------
 2 files changed, 428 insertions(+), 428 deletions(-)

commit edd43e1ca45b86b649cbcbdada801b04d2895001
Author: MinRK <benjaminrk@gmail.com>
Date:   Thu Jan 17 14:36:38 2013 -0800

    deprecate zmq_ctx_destroy in favor of zmq_ctx_term
    
    in order to avoid logical collisions with pre-existing notions of context destruction in bindings (czmq, pyzmq).

 builds/redhat/zeromq.spec.in     |    1 +
 doc/Makefile.am                  |    2 +-
 doc/zmq.txt                      |    2 +-
 doc/zmq_ctx_destroy.txt          |    4 +--
 doc/zmq_ctx_new.txt              |    2 +-
 doc/zmq_ctx_term.txt             |   66 ++++++++++++++++++++++++++++++++++++++
 doc/zmq_term.txt                 |    2 +-
 include/zmq.h                    |    3 +-
 src/zmq.cpp                      |    9 ++++--
 tests/test_connect_delay.cpp     |   10 +++---
 tests/test_disconnect_inproc.cpp |    2 +-
 11 files changed, 88 insertions(+), 15 deletions(-)

commit 21fc2a9946f65df7e03e852760b02833dd655018
Merge: c2fbb72 bbc5bef
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jan 14 19:54:38 2013 -0800

    Merge pull request #497 from hintjens/master
    
    Clarified how icp:// works with zmq_bind

commit bbc5befc66f187a769982b57b64712dbcc317250
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jan 14 17:49:19 2013 +0100

    Clarified zmq_bind on icp://

 doc/zmq_ipc.txt |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

commit c2fbb722a4de76dd894702da893517d6c5f5ab98
Merge: 7d475ad 35f18ae
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jan 12 08:33:33 2013 -0800

    Merge pull request #496 from amuraru/master
    
    Fixed el5/el6 deps in RPM spec file / newline fix

commit 35f18aef74bf016e00ba60b84af267054a38968f
Author: Adrian Muraru <amuraru@adobe.com>
Date:   Fri Jan 11 22:51:08 2013 +0200

    Fixed newline in test_disconnect_inproc

 tests/test_disconnect_inproc.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit fb0beb6f2942cfadb2a22fde97b809f26103741d
Author: Adrian Muraru <amuraru@adobe.com>
Date:   Fri Jan 11 22:50:31 2013 +0200

    Fixed el5/el6 deps in RPM spec file

 builds/redhat/zeromq.spec.in |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit 7d475add7e798dca20f445453de43b88ef3eb0ac
Merge: c1f76e4 d997d88
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jan 8 06:22:27 2013 -0800

    Merge pull request #495 from hintjens/master
    
    Whitespace and comment cleanups

commit d997d88096f8588c0d80712a7fd2c212d36241d6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jan 8 09:18:38 2013 +0100

    Revert "Old change to move ports off 5555 (was conflicting with other stuff)"
    
    This reverts commit da0efaa81771aba497a961d70f2166f500a52afd.

 tests/test_connect_delay.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit aff14067135f66aa9ce7816e08bac3a9b661b3e2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jan 8 09:18:23 2013 +0100

    Revert "Test cases were failing on bind"
    
    This reverts commit 8ba097f3da8d1a752755a52b1d3ec967c23f0643.

 tests/test_raw_sock.cpp |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit a4bedc52552b6e4f8a903c3781b7e9897b310741
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jan 8 09:16:50 2013 +0100

    Whitespace and comment fixes

 src/xpub.cpp |   17 ++++++++---------
 src/xsub.cpp |   20 +++++++++++---------
 2 files changed, 19 insertions(+), 18 deletions(-)

commit da0efaa81771aba497a961d70f2166f500a52afd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jan 8 09:09:27 2013 +0100

    Old change to move ports off 5555 (was conflicting with other stuff)

 tests/test_connect_delay.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b0f0d3fcb49de6f1ebb9227ae664b9f426ece290
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Dec 23 17:59:34 2012 +0100

    Clarification on zmq_msg_more

 doc/zmq_msg_more.txt |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 12a648db0773960e8b374a3b0ed57de36c62174a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Dec 23 17:57:35 2012 +0100

    Specified that it's safe to call zmq_msg_more after zmq_msg_close

 doc/zmq_msg_more.txt |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit ef186fe15bfc7344fca015bc212eb2e98d8d3ed7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Dec 23 17:47:44 2012 +0100

    Spelling fixes

 src/stream_engine.cpp |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

commit af934f85caf5ec1e56514270c81ec57a92e106d9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Dec 23 17:47:32 2012 +0100

    Removed use of deprecated API methods

 doc/zmq_msg_get.txt        |    2 +-
 doc/zmq_msg_more.txt       |    2 +-
 doc/zmq_recv.txt           |    2 --
 doc/zmq_recvmsg.txt        |    1 -
 doc/zmq_send.txt           |    2 --
 doc/zmq_sendmsg.txt        |    2 --
 doc/zmq_socket_monitor.txt |    6 +++---
 7 files changed, 5 insertions(+), 12 deletions(-)

commit 8ba097f3da8d1a752755a52b1d3ec967c23f0643
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Nov 23 17:25:46 2012 +0900

    Test cases were failing on bind

 tests/test_connect_delay.cpp |    2 +-
 tests/test_raw_sock.cpp      |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

commit c1f76e433f2180544e834587ae884adc60f02d97
Merge: 98a91e8 d32e392
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jan 8 00:05:07 2013 -0800

    Merge pull request #494 from jgm-radez/master
    
    allow XSUB/XPUB to send/recv messages unrelated to sub/unsub

commit d32e3922785f170ce24159ab5e4b44badc473ec1
Author: John Muehlhausen <jgm@jgm.org>
Date:   Mon Jan 7 22:24:24 2013 -0600

    allow XSUB/XPUB to send/recv messages unrelated to sub/unsub (LIBZMQ-490)
    
    zmq::xpub_t::xread_activated() – change to process messages without 0
    or 1 prefix, but without affecting subscriptions
    
    zmq::xsub_t::xsend() – change to send rather than discard messages
    without 0 or 1 prefix, but without affecting subscriptions
    
    Update documentation

 doc/zmq_socket.txt |    6 ++++--
 src/xpub.cpp       |    3 +++
 src/xsub.cpp       |   11 ++++-------
 3 files changed, 11 insertions(+), 9 deletions(-)

commit 98a91e852e87ae70dd320bd73d217c42c7eb950a
Merge: 949d157 45f504d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Jan 2 12:51:43 2013 -0800

    Merge pull request #493 from arsenm/master
    
    Fix minor problem with cmake bulid

commit 45f504d3e24930eea540c4a0a76a64094c56fbda
Author: Matt Arsenault <arsenm2@rpi.edu>
Date:   Wed Jan 2 15:50:04 2013 -0500

    Fix looking for rc sources in toplevel binary directory

 CMakeLists.txt |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 949d1578977ef11a46dfa1a991a2cc2affc0d9cc
Merge: c7009d2 6ce4644
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jan 2 00:32:15 2013 -0800

    Merge pull request #492 from arsenm/master
    
    Make CMake build usable for other systems

commit 6ce464414bb453a40abadaa9d79389e5e3282fda
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Tue Jan 1 04:26:04 2013 -0500

    Fix typos

 src/socket_base.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit f770954d309c0778f1fe65a38b8e54c1063c8474
Author: Matt Arsenault <arsenm2@rpi.edu>
Date:   Tue Jan 1 05:42:46 2013 -0500

    Fix a couple more warnings

 src/object.cpp   |    1 +
 src/options.cpp  |    7 +++++--
 src/signaler.cpp |    4 ++--
 3 files changed, 8 insertions(+), 4 deletions(-)

commit 6ecb796e77dd5d48b65d7e78c40be6ee95696f96
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Tue Jan 1 17:16:50 2013 -0500

    Fix warnings with MinGW

 src/ip.cpp       |    3 +++
 src/signaler.cpp |    6 ++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 1ffc5d11dce5bbea970b9d9354e70d4e40346d38
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Tue Jan 1 04:24:51 2013 -0500

    Fix some of the -Wshadows

 src/options.cpp     |    6 +++---
 src/socket_base.cpp |   26 +++++++++++++-------------
 2 files changed, 16 insertions(+), 16 deletions(-)

commit 14d3245e02f27857a80dba6ad6b7babed564a3d9
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Tue Jan 1 04:01:24 2013 -0500

    Fix -Wmismatched-tags

 src/i_decoder.hpp    |    3 ++-
 src/i_msg_sink.hpp   |    3 ++-
 src/i_msg_source.hpp |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

commit edb5a05add41de964170a1b72ae8038d30a00e17
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Tue Jan 1 03:56:34 2013 -0500

    Fix -Wmissing-field-initializers

 src/tcp_listener.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 3ebab09ce4da3cd7e40355e5bd91a5e5a66d826b
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Tue Jan 1 03:26:31 2013 -0500

    Fix unused argument warnings

 CMakeLists.txt  |   12 +++++++++---
 src/decoder.hpp |    2 +-
 src/zmq.cpp     |    4 ++--
 3 files changed, 12 insertions(+), 6 deletions(-)

commit e88dc494007e43a548c22e23b952e56832e60906
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Tue Jan 1 06:53:56 2013 -0500

    Fix random 3 space tabs

 CMakeLists.txt |  116 +++++++++++++++++++++++++++-----------------------------
 1 file changed, 55 insertions(+), 61 deletions(-)

commit 59cafecd9696817e0faa2ba00404aef75b3c1187
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Tue Jan 1 21:04:19 2013 -0500

    Fix MinGW32 build
    
    Fix link errors when using -m32 with MinGW

 CMakeLists.txt               |   93 +++++++++++++++++++++++++-----------------
 builds/cmake/platform.hpp.in |    4 ++
 2 files changed, 59 insertions(+), 38 deletions(-)

commit 3c7d4840a1ff54b4a0de8be08481dbdf9b3c257a
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Tue Jan 1 02:25:15 2013 -0500

    Fix NSIS installer errors, MinGW build.
    
    The CPack NSIS installer was in a state where it would always give a
    useless error. I think it was using stuff intended for running cpack
    separately from cmake.

 CMakeLists.txt                   |   89 ++++++++++++++++----------------------
 cmake/Modules/FindAsciiDoc.cmake |    7 ++-
 2 files changed, 44 insertions(+), 52 deletions(-)

commit a1d6a222ede4faec7cb27c5f0b67c1f7a0321e5d
Author: Matt Arsenault <arsenm2@rpi.edu>
Date:   Mon Dec 31 18:23:25 2012 -0500

    Generated header is not in ../src/

 perf/inproc_lat.cpp |    2 +-
 perf/inproc_thr.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 4704159f7317b73dc779819f132516f8d273f0db
Author: Matt Arsenault <arsenm2@rpi.edu>
Date:   Tue Jan 1 05:22:05 2013 -0500

    Fix cmake build with sun studio

 CMakeLists.txt |    4 ++++
 1 file changed, 4 insertions(+)

commit 74763e2c8ee5eccf2bea0ca64e7f784be4307404
Author: Matt Arsenault <arsenm2@rpi.edu>
Date:   Tue Jan 1 05:34:44 2013 -0500

    Don't use the toplevel cmake paths so the build works as a subproject

 CMakeLists.txt                     |  101 ++++++++++++++++++++++++------------
 cmake/Modules/TestZMQVersion.cmake |   47 ++++++-----------
 2 files changed, 82 insertions(+), 66 deletions(-)

commit f3901b35d46c91ebd6a8f8b7b2110c15b54b90da
Author: Matt Arsenault <arsenm2@rpi.edu>
Date:   Tue Jan 1 05:06:09 2013 -0500

    Comments about ICC build failure with 12.x were crazy
    
    Fix warnings with ICC.

 CMakeLists.txt                     |    9 --
 builds/cmake/platform.hpp.in       |    3 -
 cmake/Modules/AutoconfHelper.cmake |  298 ------------------------------------
 src/stream_engine.hpp              |    2 +-
 4 files changed, 1 insertion(+), 311 deletions(-)

commit 0362c310a58f3304653592bf8c38f0d068e51c16
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Mon Dec 31 17:52:32 2012 -0500

    First pass at getting cmake build to work with non-Windows systems.
    
    Make doc building option dependent on asciidoc being installed
    Fix MSVC build requiring cygwin.
    Don't use try_run to get the version

 CMakeLists.txt                         |  939 +++++++++++++++++++++-----------
 builds/cmake/platform.hpp.in           |   90 +++
 cmake/Modules/AutoconfHelper.cmake     |  298 ++++++++++
 cmake/Modules/FindAsciiDoc.cmake       |   19 +
 cmake/Modules/TestZMQVersion.cmake     |    2 +-
 cmake/Modules/ZMQSourceRunChecks.cmake |  129 +++++
 cmake/Modules/zmq_version.cpp          |   31 --
 src/libzmq.pc.cmake.in                 |   10 +
 8 files changed, 1164 insertions(+), 354 deletions(-)

commit 73c370dd1772e09be476ec8dcbe097fb5de939e9
Author: Matt Arsenault <whatmannerofburgeristhis@gmail.com>
Date:   Sun Dec 30 17:58:27 2012 -0500

    Fix inconsistently using #if or #ifdef instead of #if defined

 src/ip.cpp  |    4 ++--
 src/zmq.cpp |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit c7009d274ecfe49eee8ae064a9d148dda98c3196
Merge: 1eee9ce 151a806
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jan 1 08:32:12 2013 -0800

    Merge pull request #491 from pijyoi/issue84
    
    fix for LIBZMQ-84: Address already in use (signaler.cpp)

commit 1eee9ce035585096e9ce33fc1a149b6cf147d5b5
Merge: 8dda553 322808b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Dec 29 02:26:06 2012 -0800

    Merge pull request #490 from pijyoi/master
    
    eliminate dead code moved into zmq_utils.cpp

commit 151a80619bf3f9c4696788f79cd2c934ed26246d
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Sat Dec 29 18:05:15 2012 +0800

    set SO_LINGER on first signaler socket to close in order to avoid
    TIME_WAIT state.

 src/signaler.cpp |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 322808be9c9077bcd0acc921df6ceacc57a3c029
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Sat Dec 29 13:21:50 2012 +0800

    eliminate code moved into zmq_utils.cpp

 src/zmq.cpp |   29 -----------------------------
 1 file changed, 29 deletions(-)

commit 8dda553ac4cad4504e7f9007dc0e8e471aec89a1
Merge: ce24557 942c654
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Dec 27 05:46:20 2012 -0800

    Merge pull request #489 from pijyoi/master
    
    win32: fix Event handle leak

commit 942c654d1cb556a91b4cca00bd4f0e50d5010a04
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Thu Dec 27 21:31:12 2012 +0800

    win32: close zmq-signaler-port-sync event object to avoid handle leak

 src/signaler.cpp |    4 ++++
 1 file changed, 4 insertions(+)

commit ce24557b11cc26b10cb217f1c7556101f64b7095
Merge: 4febe88 2e9d4d4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Dec 11 22:34:52 2012 -0800

    Merge pull request #488 from steve-o/openpgm-next
    
    Pull upstream OpenPGM 5.2.122 for multi-platform minor fixes.

commit 2e9d4d413206f5ae307e5017c3744d267254feef
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Tue Dec 11 21:41:10 2012 -0500

    Pull upstream OpenPGM 5.2.122 for multi-platform minor fixes.

 CMakeLists.txt                             |    5 +++--
 configure.in                               |    2 +-
 foreign/openpgm/libpgm-5.1.118~dfsg.tar.gz |  Bin 1046589 -> 0 bytes
 foreign/openpgm/libpgm-5.2.122~dfsg.tar.gz |  Bin 0 -> 951536 bytes
 4 files changed, 4 insertions(+), 3 deletions(-)

commit 4febe88b2be300f8712a2e9ec57c351ccc39a102
Merge: 2a7b219 a0cecc7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Dec 11 08:09:08 2012 -0800

    Merge pull request #487 from miniway/master
    
    returns -1 with EAGAIN when mandatory is set and pipe is full

commit a0cecc718d3d95279dcc7b0d9b6c1d09fb4cfd97
Author: Min(Dongmin Yu) <miniway@gmail.com>
Date:   Tue Dec 11 19:41:36 2012 +0900

    returns -1 with EAGAIN when mandatory is set and pipe is full

 src/router.cpp                  |   12 ++++++------
 tests/test_router_mandatory.cpp |    9 ++++-----
 2 files changed, 10 insertions(+), 11 deletions(-)

commit 2a7b219f073d3bccb062379d3fc4ef933c8bab56
Merge: 8da6b7a 394d755
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Dec 9 01:25:51 2012 -0800

    Merge pull request #486 from miniway/master
    
    return EHOSTUNREACH at full only when mandatory is set

commit 394d755cf303ad6c263e877ebcda97108ad8666e
Author: Min(Dongmin Yu) <miniway@gmail.com>
Date:   Sun Dec 9 16:52:45 2012 +0900

    return EHOSTUNREACH at full only when mandatory is set

 src/router.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8da6b7a6fdb176aa184584001325920a04674be7
Merge: 95d36f4 9382941
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Dec 7 23:19:20 2012 -0800

    Merge pull request #485 from miniway/master
    
    returns EHOSTUNREACH when a peer is full if ZMQ_ROUTER_MANDATORY is set

commit 9382941adc664f98535fd962d1262ff50fce3b71
Author: Min(Dongmin Yu) <miniway@gmail.com>
Date:   Sat Dec 8 10:20:42 2012 +0900

    returns EHOSTUNREACH when a peer is full if ZMQ_ROUTER_MANDATORY is set

 src/router.cpp                  |    9 ++++++--
 tests/test_router_mandatory.cpp |   46 ++++++++++++++++++++++++++++++++++++++-
 2 files changed, 52 insertions(+), 3 deletions(-)

commit 95d36f42eea67b1752e819c9c49b19c74d6b938e
Merge: ebd1bf9 6706efb
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Dec 7 01:54:56 2012 -0800

    Merge pull request #484 from pijyoi/master
    
    fix wrong boolean operator in router_raw test code

commit 6706efba2857b5b352a19a7f5ac575d7e3369ed7
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Fri Dec 7 17:45:05 2012 +0800

    fix wrong boolean operator

 tests/test_raw_sock.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ebd1bf9bcf41fb812e452101b97eef55503b2b67
Merge: b2f6741 21345ff
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Dec 4 14:05:48 2012 -0800

    Merge pull request #482 from sradomski/master
    
    Close pipes for inproc sockets on zmq_disconnect

commit 21345ffa5076aa587611e7099678f9cacdc9f160
Author: Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de>
Date:   Tue Dec 4 17:40:43 2012 +0100

    Break early when pipe to be removed was found

 src/socket_base.cpp |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

commit f9770e93efb75827410b13a20b83bcf08b13819d
Author: Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de>
Date:   Tue Dec 4 17:31:46 2012 +0100

    Fixed iterator when erasing from inprocs multimap

 src/socket_base.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 624dd1e5b5258d581149c173f3e95aff1e03a73f
Author: Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de>
Date:   Tue Dec 4 17:10:32 2012 +0100

    Removal of terminated pipes from inproc and ignoring peer ends

 src/socket_base.cpp |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

commit 66c22456b97e1278ec0b24dcd1ff66e619d8fca2
Author: Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de>
Date:   Tue Dec 4 15:14:21 2012 +0100

    Close pipes for inproc sockets on zmq_disconnect
    
    - fixes LIBZMQ-476 and LIBZMQ-475

 AUTHORS                          |    1 +
 doc/zmq_disconnect.txt           |    2 +
 src/socket_base.cpp              |   33 ++++++++++-
 src/socket_base.hpp              |    4 ++
 tests/Makefile.am                |    5 +-
 tests/test_disconnect_inproc.cpp |  119 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 162 insertions(+), 2 deletions(-)

commit b2f6741bcb73892fca4f7d374f18aecbf89435cb
Merge: 013a99d 75161b5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Dec 1 00:53:02 2012 -0800

    Merge pull request #481 from ianbarber/master
    
    Simplify test_connect_delay

commit 75161b5c62f5f37e00573b3894cf8dc2b960e654
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Nov 30 23:07:12 2012 +0000

    Serialise test_connect_delay
    
    Simplify the test connect delay test script, removing the threads and
    moving to a serialised version. AFAICS this should provide the same
    test, but without the race conditions that happened with the previous
    test.

 tests/test_connect_delay.cpp |  215 +++++++++++++++++++++---------------------
 1 file changed, 106 insertions(+), 109 deletions(-)

commit 013a99daabeb6e31234341da8130a9ce7f7fb882
Merge: a4a7316 3fc8c70
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Nov 30 13:41:54 2012 -0800

    Merge pull request #480 from vperron/master
    
    Tiny fix

commit 3fc8c7073d68235f0f6506d3c705778b40b86d15
Author: Victor Perron <victor@iso3103.net>
Date:   Fri Nov 30 22:16:20 2012 +0100

    Same fix, in-line style

 src/decoder.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 33f42efb48af75194a31c5be8cd01868a12062f8
Author: Victor Perron <victor@iso3103.net>
Date:   Fri Nov 30 21:39:22 2012 +0100

    Change NULL to 0 to keep compatibility with some cross-compiling GCC
    versions

 src/decoder.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a4a731652a2e7db91a8fa692c073da8c1dce0834
Merge: cae5d3b 1d11f19
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Nov 26 08:23:43 2012 -0800

    Merge pull request #479 from ianbarber/master
    
    Update RPM spec file

commit 1d11f196b1c556516177fa645c351bfadfa8a31c
Author: Ian Barber <ianbarber@google.com>
Date:   Mon Nov 26 16:12:25 2012 +0000

    Update SPEC file
    
    Update the RPM spec file with Justin Cook's changes to fix the build for 3.2.2. (https://zeromq.jira.com/browse/LIBZMQ-473)

 builds/redhat/zeromq.spec.in |   28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)

commit cae5d3b817fc6bbfc67b41e89585989900d6bbd3
Merge: d1cbf96 359a505
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Nov 22 01:16:55 2012 -0800

    Merge pull request #478 from methodmissing/event-messages-3.2
    
    Event message memory corruption fixes

commit d1cbf96cdee1677ebee6a1384dbdff4ef0f23a37
Merge: a28322c e6da46f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Nov 22 00:03:02 2012 -0800

    Merge pull request #477 from hintjens/master
    
    Added autogen.sh hint to INSTALL

commit e6da46ff8c8243419a16069bca364eb0adbbfca0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Nov 22 12:09:02 2012 +0900

    Added autogen.sh hint

 INSTALL |    7 +++++++
 1 file changed, 7 insertions(+)

commit 359a50594930b3522d354d790fdbca73a92ef52b
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Thu Nov 22 00:12:17 2012 +0000

    Prefer malloc to new for event address allocation as per Martin's recommendation

 src/socket_base.cpp |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

commit a28322cd0cf7a62e4f41d70fa3896a438c23db9d
Merge: 8db8c45 a8721c3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Nov 21 14:15:59 2012 -0800

    Merge pull request #476 from hurtonm/master
    
    Check decoder's state function for NULL before calling it

commit a8721c3c04f41f0b90a4b1ebaf4bcd767c45a6ab
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Nov 21 22:50:55 2012 +0100

    Check decoder's state function for NULL before calling it
    
    Fixes bug reported by Peter Friend
    (http://lists.zeromq.org/pipermail/zeromq-dev/2012-November/019425.html)

 src/decoder.hpp |    4 ++++
 1 file changed, 4 insertions(+)

commit b1f4850153dbddb66c8e32fe3ce70361e954a38a
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Wed Nov 21 18:27:53 2012 +0000

    Let socket event messages initialize with zmq_msg_init_data and let the framework handle cleanup

 src/socket_base.cpp |    6 ++++--
 src/socket_base.hpp |    5 +++++
 src/zmq.cpp         |   41 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+), 2 deletions(-)

commit f78ca629b5b923c4a0485238d16e78c9eb131618
Merge: 6d245eb 8db8c45
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Wed Nov 21 18:04:05 2012 +0000

    Merge branch 'master' of github.com:zeromq/libzmq

commit 8db8c45b185557a2e8abd7818ba8d0c260725d7d
Merge: 7e6c304 be4cc2f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Nov 20 13:27:43 2012 -0800

    Merge pull request #475 from ianbarber/master
    
    Add ZMTP link to zmq_tcp doc.

commit be4cc2f80aaeb202f7fc63ff0e729b428fbcdcd0
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Nov 20 19:10:47 2012 +0000

    Update zmq_tcp to include a reference to RFC
    
    Include a note with a link to ZMQ RFC 15 for the ZMTP protocol
    description.

 doc/zmq_tcp.txt |    2 ++
 1 file changed, 2 insertions(+)

commit 7e6c304a9871891f96a7d3c9254c863ad98a4e17
Merge: 1a18c7b 1489857
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Nov 19 02:40:36 2012 -0800

    Merge pull request #474 from hintjens/master
    
    Fixed doc for SNDHWM

commit 14898579734ffe14d37a9b5ea74c880582eddabf
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Nov 19 16:32:58 2012 +0900

    Fixed ZMQ_SNDHWM description

 doc/zmq_setsockopt.txt |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 7533ebb33d1cc6f23061e0228bf7eb22713aaa17
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Nov 19 10:20:56 2012 +0900

    Clarified that SNDHWM is per part, not message

 doc/zmq_setsockopt.txt |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 6d245eb6bc614c050d7650c564fd1a986475cc67
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Sat Nov 17 11:29:47 2012 +0000

    Copy monitor specific event endpoints to event messages as the engine etc. can be released at anytime

 src/ipc_connecter.cpp |    8 +++----
 src/ipc_listener.cpp  |   10 ++++----
 src/socket_base.cpp   |   61 +++++++++++++++++++++++++++++++------------------
 src/socket_base.hpp   |   27 ++++++++++++----------
 src/stream_engine.cpp |    2 +-
 src/tcp_connecter.cpp |    8 +++----
 src/tcp_listener.cpp  |    8 +++----
 7 files changed, 72 insertions(+), 52 deletions(-)

commit ce4d32168440d5767805b7ee7cbfaac2f4c3f272
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Sat Nov 17 10:06:09 2012 +0000

    Revert "Merge pull request #473 from methodmissing/fix-engine-endpoint"
    
    This reverts commit 1a18c7b0a816e10f8a8a770b2141d47f661f0302, reversing
    changes made to bef9a41bdb991b867981317e0e20ee174ecd6fea.

 src/stream_engine.cpp |    6 ++----
 src/stream_engine.hpp |    2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

commit 1a18c7b0a816e10f8a8a770b2141d47f661f0302
Merge: bef9a41 fdf162a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Nov 16 13:06:24 2012 -0800

    Merge pull request #473 from methodmissing/fix-engine-endpoint
    
    [LIBZMQ-450] Copy the stream engine endpoint - string reference caused memory corruption

commit fdf162a117782720ed8b7a1cbb71194f0c5136a9
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Fri Nov 16 17:21:07 2012 +0000

    [LIBZMQ-450] Copy the stream engine endpoint - string reference caused memory corruption

 src/stream_engine.cpp |    6 ++++--
 src/stream_engine.hpp |    2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

commit bef9a41bdb991b867981317e0e20ee174ecd6fea
Merge: 01b9bc3 b8d5d3f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Nov 15 17:58:44 2012 -0800

    Merge pull request #472 from jgm-radez/master
    
    Issue 468

commit b8d5d3fa695c5026c2af36daa8e357978ab135ac
Author: John Muehlhausen <jgm@jgm.org>
Date:   Thu Nov 15 15:30:30 2012 -0600

    Issue 468
    
    XPUB "verbose" mode excludes unsubscriptions

 src/xpub.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 01b9bc36631f168ec2096e88a4d280cc45912557
Merge: 37f8ce6 5205415
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Nov 14 02:12:29 2012 -0800

    Merge pull request #471 from methodmissing/fix-disconnect-event-addr
    
    Fix addresses on triggered events

commit 5205415beb7631200a0dc150d1e6acf8089b65ff
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Wed Nov 14 09:51:24 2012 +0000

    Fix addresses on triggered events

 src/socket_base.cpp |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit 37f8ce69c17c7200605d3c3e688bf1a9e191e121
Merge: 30eaadd 6559da3
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Nov 13 12:13:58 2012 -0800

    Merge pull request #470 from cdolan/master
    
    Fixed test compilation issue by using memset/memmove rather than bzero/bcopy

commit 6559da3033f20bd978a9647d21343f5978b311ec
Author: Christopher Dolan <chris@codingstream.org>
Date:   Tue Nov 13 19:33:18 2012 +0000

    Use memset/memmove rather than bzero/bcopy

 tests/test_raw_sock.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 30eaadddc3d95e194966e96e8b4a011ee7e5638b
Merge: c179ad1 9013ee0
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Nov 13 04:29:44 2012 -0800

    Merge pull request #469 from hurtonm/code_cleanup
    
    Minor code cleanup

commit 9013ee0d52bb88a5ea08b78c1d31ea5b1b0cd95d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Nov 13 13:06:29 2012 +0100

    Minor code cleanup

 src/epoll.cpp  |    5 +++--
 src/kqueue.cpp |    5 +++--
 src/poll.cpp   |    6 +++---
 src/select.cpp |    5 +++--
 4 files changed, 12 insertions(+), 9 deletions(-)

commit c179ad11730cfe742ccd74577372aef43fed2fa1
Merge: 99f7144 c543b2c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Nov 13 03:56:01 2012 -0800

    Merge pull request #468 from hurtonm/issue_465
    
    Resolve LIBZMQ-465

commit c543b2ce8cb0dd8790e7bdc89b08ef49812616d4
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Nov 10 23:05:10 2012 +0100

    Resolve LIBZMQ-465

 src/decoder.cpp       |    5 -----
 src/decoder.hpp       |   24 ++++++++++++++++++------
 src/i_decoder.hpp     |    2 +-
 src/raw_decoder.cpp   |    2 +-
 src/raw_decoder.hpp   |    2 +-
 src/stream_engine.cpp |   17 +++++++++++------
 src/stream_engine.hpp |    4 +++-
 src/v1_decoder.cpp    |    5 -----
 src/v1_decoder.hpp    |    2 --
 9 files changed, 35 insertions(+), 28 deletions(-)

commit 99f714445f67d552eb2add6ed5f818d546dce901
Merge: 793895c 66dc4d8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Nov 9 08:45:22 2012 -0800

    Merge pull request #467 from hurtonm/code_cleanup
    
    Code cleanup

commit 66dc4d8b542ca8571b66cc7fcf97daa87734e36f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Nov 9 17:17:43 2012 +0100

    Don't pass flags to xrecv method

 src/dealer.cpp      |    5 +----
 src/dealer.hpp      |    2 +-
 src/pair.cpp        |    5 +----
 src/pair.hpp        |    2 +-
 src/pub.cpp         |    2 +-
 src/pub.hpp         |    2 +-
 src/pull.cpp        |    5 +----
 src/pull.hpp        |    2 +-
 src/rep.cpp         |    6 +++---
 src/rep.hpp         |    2 +-
 src/req.cpp         |    8 ++++----
 src/req.hpp         |    2 +-
 src/router.cpp      |    5 +----
 src/router.hpp      |    2 +-
 src/socket_base.cpp |    8 ++++----
 src/socket_base.hpp |    2 +-
 src/xpub.cpp        |    5 +----
 src/xpub.hpp        |    2 +-
 src/xsub.cpp        |    5 +----
 src/xsub.hpp        |    2 +-
 20 files changed, 28 insertions(+), 46 deletions(-)

commit 7865f96e97e6e225d19e9f75317196e62f378cd9
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Nov 9 17:08:03 2012 +0100

    Don't pass flags to xsend method

 src/dealer.cpp      |    4 ++--
 src/dealer.hpp      |    2 +-
 src/dist.cpp        |   13 +++++--------
 src/dist.hpp        |    6 +++---
 src/lb.cpp          |    5 +----
 src/lb.hpp          |    2 +-
 src/pair.cpp        |    4 ++--
 src/pair.hpp        |    2 +-
 src/push.cpp        |    4 ++--
 src/push.hpp        |    2 +-
 src/rep.cpp         |    6 +++---
 src/rep.hpp         |    2 +-
 src/req.cpp         |    6 +++---
 src/req.hpp         |    2 +-
 src/router.cpp      |    5 +----
 src/router.hpp      |    2 +-
 src/socket_base.cpp |    6 +++---
 src/socket_base.hpp |    2 +-
 src/sub.cpp         |    4 ++--
 src/sub.hpp         |    2 +-
 src/xpub.cpp        |    4 ++--
 src/xpub.hpp        |    2 +-
 src/xsub.cpp        |    6 +++---
 src/xsub.hpp        |    2 +-
 24 files changed, 43 insertions(+), 52 deletions(-)

commit 793895c477cab1da4edd1565d9f70bc8f7d485a8
Merge: d1e0889 b78800e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Nov 9 06:51:04 2012 -0800

    Merge pull request #466 from hurtonm/code_cleanup
    
    Simplify implementation of DEALER socket

commit b78800e467cb56820f07484e25e2360254ce8c5b
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Nov 9 15:45:25 2012 +0100

    Simplify implementation of DEALER socket

 src/dealer.cpp |   26 ++------------------------
 src/dealer.hpp |    6 ------
 2 files changed, 2 insertions(+), 30 deletions(-)

commit d1e0889ab02b093233bb4fae26723c9b8daecb3b
Merge: 3eaf4a9 6290054
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Nov 9 06:19:23 2012 -0800

    Merge pull request #463 from hintjens/master
    
    Addded ROUTER-ROUTER (back) as valid combination

commit 3eaf4a967c6e9ea2dee9ec5f7bbb6753f4c17900
Merge: de33978 19a8ea4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Nov 9 06:13:18 2012 -0800

    Merge pull request #465 from steve-o/cmake-minor
    
    Cmake minor version labeling and sync with 3.x

commit 19a8ea4584f63d9fbdb695347f1d9b359f70698f
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Fri Nov 9 08:54:14 2012 -0500

    Update source list with raw codec.

 CMakeLists.txt |    2 ++
 1 file changed, 2 insertions(+)

commit 3ba401d7da3b01f97fd8a0409aace71d7f81a6a3
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Fri Nov 9 08:48:59 2012 -0500

    Bring along CMake patchset from zeromq3-x for adding minor version to Windows labeling.

 CMakeLists.txt           |   96 +++++++++++++++++++++++++++++-----------------
 cmake/NSIS.template64.in |   20 +++++-----
 2 files changed, 70 insertions(+), 46 deletions(-)

commit de339785f261ad85146dfdf23d6b6c89ea3011fa
Merge: ec08241 ea19b7b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Nov 9 05:19:05 2012 -0800

    Merge pull request #464 from hurtonm/code_cleanup
    
    Code cleanup

commit ea19b7b65801669308b776c644acb056fa29a4e9
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Nov 9 14:12:11 2012 +0100

    Small cleanups

 src/options.cpp      |    2 +-
 src/req.cpp          |    1 -
 src/session_base.cpp |    2 --
 src/socket_base.cpp  |   14 +++++---------
 4 files changed, 6 insertions(+), 13 deletions(-)

commit 925a53066344f24279763205d01dde4dfcf3ff7c
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Nov 9 14:02:19 2012 +0100

    Use const_cast operator to remove const modifier

 src/socket_base.cpp |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit 82999f2d203295265f323ec44799296012959db4
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Nov 9 13:49:27 2012 +0100

    Don't forward identities to DEALER sockets

 src/dealer.cpp |   12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

commit 6290054f00596a1b4b29b3a2e2c2d7c1a00549e3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Nov 9 21:10:34 2012 +0900

    Added ROUTER-ROUTER as legal combination

 doc/zmq_socket.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ec0824142ec6bc4932919b53f5d511b6f983693e
Merge: 4e028ec c1e960b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Nov 8 17:02:50 2012 -0800

    Merge pull request #462 from hurtonm/raw_fixes
    
    Fix raw mode on reconnect

commit c1e960b31d0a2ffdcb3016e7301b9da5ca612493
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Nov 8 18:17:11 2012 +0100

    Never exchange identities for sockets in raw mode
    
    Zeromq shall never send/receive socket identifiers for sockets in raw
    mode. The existing implementation breaks this requirement after
    reconnection.

 src/session_base.cpp |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

commit aec47b364225c347a7edca778185f407308c2e83
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Nov 8 14:31:26 2012 +0100

    Extend ZMQ_ROUTER_RAW test
    
    Add test when the zeromq socket connects to a TCP socket.
    The test now fails due to bug in the zeromq library.

 tests/test_raw_sock.cpp |  103 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 103 insertions(+)

commit 872ef76f3c45bcd1cc30eb45b8eb3545b70808f1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Nov 7 17:23:37 2012 +0100

    Added DEALER-DEALER as legal combination

 doc/zmq_socket.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4e028ecb30a9fcd8d8c26c9e92de8077c306ef93
Merge: 5da9712 e51a1f0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Nov 6 21:20:54 2012 -0800

    Merge pull request #461 from hurtonm/code_cleanup
    
    session_base: code cleanup

commit e51a1f04c9812bd77c4d0062d53f6874ec5efa62
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Nov 6 23:47:43 2012 +0100

    session_base: code cleanup
    
    - add unlikely hints
    - drop unnecessary assertion
    - style fixes
    
    There is no need to require the 'more' flag in the provided message
    structure be 0 when pulling message from the session.

 src/session_base.cpp |   30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)

commit 5da971275dcccb7d41dadf2b8e030983d57c18aa
Merge: 80aef8d 777c38a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Nov 6 07:05:52 2012 -0800

    Merge pull request #460 from hintjens/master
    
    Renamed ZMQ_ROUTER_RAW_SOCK to ZMQ_ROUTER_RAW

commit 777c38ae32a5d1799b3275d38ff8d587c885dd55
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Nov 6 13:18:58 2012 +0100

    Renamed raw option to ZMQ_ROUTER_RAW

 doc/zmq_setsockopt.txt  |   17 +++++++++++++++++
 include/zmq.h           |    2 +-
 src/router.cpp          |    4 ++--
 tests/test_raw_sock.cpp |    2 +-
 4 files changed, 21 insertions(+), 4 deletions(-)

commit 80aef8dfda2bea1efcf20da983ca45cdd287385f
Merge: 1348924 41dc2e6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Nov 6 00:47:59 2012 -0800

    Merge pull request #459 from hurtonm/issue_459
    
    Resolve LIBZMQ-459

commit 41dc2e60493ff1f10a8d2c4c8ae41f55ee4c327e
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Nov 2 11:11:14 2012 +0100

    Resolve LIBZMQ-459
    
    Ref: https://zeromq.jira.com/browse/LIBZMQ-459

 src/stream_engine.cpp |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

commit 13489242513a6b1b67c23a5baa39ed9ab4ca7cea
Merge: 2deb2e0 f67a199
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Nov 5 09:41:56 2012 -0800

    Merge pull request #458 from vortechs2000/remove_cpp_comments_from_zmq_h
    
    Older versions of C compilers don't like C++ comments

commit f67a19933202c01a1ead80aa2943356c8e7915bf
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Mon Nov 5 11:27:13 2012 -0600

    Older versions of C compilers don't like C++ comments
    
    There's no need to exclude older compilers by putting C++ style
    comments in the C API header.

 include/zmq.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 2deb2e095eead548f52e837d679e17a9d96574d2
Merge: cdd7cd1 1e60d17
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Nov 1 21:47:23 2012 -0700

    Merge pull request #457 from mjasperse/patch-1
    
    Update builds/msvc/libzmq/libzmq.vcproj

commit 1e60d17a23ce943ac7575185acfe5049e70c7e2a
Author: mjasperse <m.jasperse@gmail.com>
Date:   Fri Nov 2 11:29:46 2012 +1100

    Update builds/msvc/libzmq/libzmq.vcproj
    
    Without the LinkDLL statement, command-line compile using vcbuild attempts to compile EXE and complains about entrypoint
    The LinkDLL statement forces the linker to produce desired output

 builds/msvc/libzmq/libzmq.vcproj |    3 +++
 1 file changed, 3 insertions(+)

commit cdd7cd10c95897c299febb1a6856ca9cdc5579f2
Merge: 04e716a 7c66e8f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Nov 1 07:04:17 2012 -0700

    Merge pull request #456 from hurtonm/issue_464
    
    Resolve LIBZMQ-464

commit 7c66e8f807881e0e98d6b8b5f28908777375b4c5
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Nov 1 14:37:42 2012 +0100

    Resolve LIBZMQ-464

 src/msg.cpp |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

commit 04e716ac9967c6d3318c2db3bdb9d83f54a1db60
Merge: 0404b3b 79da450
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Oct 31 01:16:05 2012 -0700

    Merge pull request #455 from hintjens/master
    
    zmq_getsockopt man page was malformatted

commit 79da450b8b3e4d100b3fa2eaca467850f481adb4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 31 04:28:53 2012 +0100

    Fixed formatting in man page

 .gitignore             |    1 +
 doc/zmq_getsockopt.txt |   16 ++++++++--------
 2 files changed, 9 insertions(+), 8 deletions(-)

commit 0404b3b60a8e1b95c928f26c304b1ee7ff7ffa7c
Merge: abbe34c 9d8eb1f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 30 04:24:21 2012 -0700

    Merge pull request #454 from hurtonm/code_cleanup
    
    Style fixes

commit 9d8eb1f9b94da7330b7c7ef2735c6a329a640a71
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Oct 30 12:18:13 2012 +0100

    Style fixes

 src/decoder.hpp         |    5 +-
 src/i_decoder.hpp       |    2 +-
 src/options.hpp         |    2 +-
 src/raw_decoder.cpp     |    2 +-
 src/raw_decoder.hpp     |    2 +-
 src/raw_encoder.cpp     |    1 -
 src/raw_encoder.hpp     |    1 -
 src/router.cpp          |   36 ++++++-------
 src/session_base.cpp    |   14 ++---
 src/stream_engine.cpp   |   17 ++++---
 tests/test_raw_sock.cpp |  129 +++++++++++++++++++++--------------------------
 11 files changed, 99 insertions(+), 112 deletions(-)

commit abbe34cdc2c5889e3de021bdc237a297ffa654a6
Merge: 4bc405a d16e0a5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 30 03:12:46 2012 -0700

    Merge pull request #453 from hurtonm/issue_458
    
    Resolve LIBZMQ-458

commit d16e0a534263eb80331b4b79c583b16e726a58dd
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Oct 30 11:03:41 2012 +0100

    Resolve LIBZMQ-458
    
    Ref: https://zeromq.jira.com/browse/LIBZMQ-458

 tests/test_router_mandatory.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4bc405a366db75567dbc3175b8bb3578cce7685b
Merge: 7523b9e 83387b4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 29 21:00:15 2012 -0700

    Merge pull request #452 from hshardeesi/master
    
    New socket option (ZMQ_ROUTER_RAW_SOCK) for ZMQ_ROUTER sockets

commit 7523b9ed29869b7bbe8d5b9c567675f756b565ff
Merge: dcf0693 3aa3032
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 29 03:21:33 2012 -0700

    Merge pull request #451 from hurtonm/use_correct_types_in_stream_engine
    
    Use correct types when returning value in read/write methods

commit dcf0693d6eb20e143d38a58fb389c2d9068a4080
Merge: 19f77a1 03deb2c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 29 03:21:09 2012 -0700

    Merge pull request #450 from hurtonm/issue_447
    
    Resolve LIBZMQ-447

commit 3aa30329d18109cfdfefbacfb53cbc927ce7a964
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Sep 29 13:28:25 2012 +0200

    Use correct types when returning value in read/write methods

 src/stream_engine.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 03deb2c97aa6447005d49128f24e253a941b98d7
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Oct 29 10:09:00 2012 +0100

    Resolve LIBZMQ-447

 src/socket_base.cpp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 83387b4073233955c5033d377e6d21e74fafc793
Author: Hardeep <hshardeesi@gmail.com>
Date:   Mon Oct 29 00:03:36 2012 -0700

        Added support for non-zmq tcp client connections to router socket.
        - Created a new option ZMQ_ROUTER_RAW_SOCK
        - Added new raw_encoder and raw_decoder to receive and send messages in raw form to remote client
        - Added test case file tests/test_raw_sock.cpp
    
        o To create a raw router sock set the ZMQ_ROUTER_RAW_SOCK option
        o ZMQ_MSGMORE flag is ignored for non-id messages
        o To terminate a remote connection send id message followed by zero length data message

 AUTHORS                 |    1 +
 include/zmq.h           |    1 +
 src/Makefile.am         |    6 +-
 src/decoder.hpp         |    5 ++
 src/i_decoder.hpp       |    3 +-
 src/options.cpp         |    1 +
 src/options.hpp         |    3 +
 src/raw_decoder.cpp     |   99 ++++++++++++++++++++++++++++
 src/raw_decoder.hpp     |   69 ++++++++++++++++++++
 src/raw_encoder.cpp     |   87 ++++++++++++++++++++++++
 src/raw_encoder.hpp     |   69 ++++++++++++++++++++
 src/router.cpp          |   74 +++++++++++++++------
 src/router.hpp          |    1 +
 src/session_base.cpp    |   14 ++++
 src/stream_engine.cpp   |   42 +++++++++---
 tests/Makefile.am       |    4 +-
 tests/test_raw_sock.cpp |  167 +++++++++++++++++++++++++++++++++++++++++++++++
 17 files changed, 615 insertions(+), 31 deletions(-)

commit 19f77a1ccfaf431afec221c5a66888541a48152f
Merge: 6b45262 0bf8a4d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Oct 27 18:25:42 2012 -0700

    Merge pull request #449 from hintjens/master
    
    Fixed code formatting

commit 0bf8a4d2d2474a738f883db718a4d65beb7138e9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Oct 28 07:36:18 2012 +0900

    Code formatting

 src/xsub.cpp |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

commit 6b45262086133cc9f9e130de0c656543d063078a
Merge: bb59dc1 500f6cf
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Oct 27 14:01:48 2012 -0700

    Merge pull request #448 from jgm-radez/master
    
    resolve issue 456

commit 500f6cffe36504a70980a1ac4904fe4e9c3b727c
Author: John Muehlhausen <jgm@jgm.org>
Date:   Sat Oct 27 15:51:03 2012 -0500

    patch for issue 456
    
    Do not filter out duplicate subscriptions on the XSUB side of
    XSUB/XPUB, so that ZMQ_XPUB_VERBOSE doesn't get blocked by forwarding
    devices (as long as the devices all use ZMQ_XPUB_VERBOSE)

 src/xsub.cpp |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit bb59dc1b2a426a4f9be9a84ace774e8372dbc43a
Merge: 0b13872 171897f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Oct 26 19:50:32 2012 -0700

    Merge pull request #447 from hintjens/master
    
    Cleanups to man pages

commit 171897f4e8550e9f339e5e3607335c5e8d6b9d1f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Oct 27 09:43:19 2012 +0900

    Cleanups to man pages

 doc/zmq_bind.txt    |   49 +++++++++++++----------
 doc/zmq_connect.txt |   57 +++++++++++++-------------
 doc/zmq_inproc.txt  |   28 ++++++-------
 doc/zmq_ipc.txt     |   39 ++++++++++--------
 doc/zmq_pgm.txt     |   32 +++++++--------
 doc/zmq_socket.txt  |   52 ++++++++++++------------
 doc/zmq_tcp.txt     |  111 ++++++++++++---------------------------------------
 7 files changed, 158 insertions(+), 210 deletions(-)

commit 0b13872ff4483c72e586abbd93e500f35d0f7440
Merge: 01be614 ef79492
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Oct 25 02:21:31 2012 -0700

    Merge pull request #446 from hurtonm/issue_452
    
    Resolve LIBZMQ-452

commit 01be614593e4cc44403c6274cd9e307b0ba3ce49
Merge: d2ee38a 4824237
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Oct 25 02:15:46 2012 -0700

    Merge pull request #445 from hurtonm/issue_417
    
    Resolve LIBZMQ-417

commit ef794925b437c643a3a0d5681eb22e008975ebe2
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Oct 24 23:46:58 2012 +0200

    Resolve LIBZMQ-452
    
    Ref: https://zeromq.jira.com/browse/LIBZMQ-452

 tests/test_connect_delay.cpp |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit 4824237761c79a8e21b350fd32b1ef177996e331
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Oct 24 22:05:45 2012 +0200

    Resolve LIBZMQ-417
    
    Ref: https://zeromq.jira.com/browse/LIBZMQ-417

 src/session_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d2ee38acfe732ac1216699da51609fdb4d24fc97
Merge: 2675a9d 422c418
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 24 06:50:02 2012 -0700

    Merge pull request #444 from vortechs2000/fix_aix
    
    Fix Build Regression #449: Move socket_base.hpp and err.hpp after poll.h include

commit 422c418a15b69001f679e6b51f1cfffbd2ded625
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Tue Oct 23 16:18:36 2012 -0500

    Move socket_base.hpp and err.hpp after poll.h include
    
    These two headers also include zmq.h somewhere in their dependency
    chain, so must be included after poll.h is included for builds to work
    on AIX.

 src/proxy.cpp |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 2675a9d31b9fb74c671c25ba7769831c11a2fa70
Merge: 7abb6cc 4ba34c9
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Oct 23 18:02:48 2012 -0700

    Merge pull request #443 from hintjens/master
    
    Fixed whitespace and style

commit 4ba34c9d70986f17429a06c0171005ad05b66ef3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Oct 24 09:18:52 2012 +0900

    Whitespace and style fixes

 src/address.cpp       |   12 +--
 src/ipc_connecter.cpp |    3 +-
 src/mtrie.cpp         |   23 +++--
 src/pgm_sender.cpp    |   14 +--
 src/pgm_socket.cpp    |    9 +-
 src/pipe.cpp          |   41 +++++----
 src/poller_base.cpp   |    3 +-
 src/router.cpp        |    3 +-
 src/session_base.cpp  |    3 +-
 src/signaler.cpp      |    3 +-
 src/socket_base.cpp   |  148 ++++++++++++++++--------------
 src/sub.cpp           |    3 +-
 src/tcp_connecter.cpp |    3 +-
 src/trie.cpp          |  239 +++++++++++++++++++++++++------------------------
 src/zmq.cpp           |   22 ++---
 15 files changed, 282 insertions(+), 247 deletions(-)

commit 7abb6ccb6aa1d95d6e47d079d792fbd5faef5e29
Merge: 7f63fc6 0666063
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Oct 19 15:05:23 2012 -0700

    Merge pull request #442 from hintjens/master
    
    Fixed build regression #449

commit 066606322c131f73f5fa9a6e673fd0df6771e540
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 19 16:23:21 2012 +0900

    Added unbind/disconnect man pages, notes to deprecated methods

 doc/Makefile.am     |   17 ++++++++++-------
 doc/zmq_recvmsg.txt |    2 ++
 doc/zmq_sendmsg.txt |    1 +
 3 files changed, 13 insertions(+), 7 deletions(-)

commit ee21fac8b8a276b084547ac5dc8e0df4b13ae88b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 19 15:16:36 2012 +0900

    Added ZMQ_FAIL_UNROUTABLE alias back as deprecated

 include/zmq.h |    1 +
 1 file changed, 1 insertion(+)

commit a3889d00c346bccb47b67ebf4bf3839b00b0821f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 19 15:09:52 2012 +0900

    Fixed issue #451

 doc/zmq_setsockopt.txt |    7 ++-----
 src/router.cpp         |    2 +-
 2 files changed, 3 insertions(+), 6 deletions(-)

commit 45c063725bbf577b7f577f7f3b4a01077bacc15a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Oct 18 11:32:13 2012 +0900

    Fixed issue #449

 src/proxy.cpp |   28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

commit 7f63fc6579dc335553d4e8f8ece9d7a30909e67c
Merge: 9bab346 9681157
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Oct 17 19:21:26 2012 -0700

    Merge pull request #441 from hintjens/master
    
    Fixed build regression

commit 96811575c303e92d4926d841240192aaf6f2e41c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Oct 18 11:04:51 2012 +0900

    Fixed issue #448

 src/socket_base.cpp |    3 ++-
 src/socket_base.hpp |    1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

commit 9bab3466904884f41be56cb5474859be16a0dad3
Merge: 6e676af 3a43bd7
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Oct 15 23:32:16 2012 -0700

    Merge pull request #440 from hintjens/master
    
    Packages did not build - fixed

commit 3a43bd735426543334902dbd0569a45dbb493e50
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 16 10:01:26 2012 +0900

    Several include files were missing

 src/Makefile.am |    9 +++++++++
 1 file changed, 9 insertions(+)

commit 6e676af45edfb0c17607625531befed0098b850f
Merge: cdcaca2 351eff5
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Oct 15 04:33:24 2012 -0700

    Merge pull request #439 from hintjens/master
    
    Updated master version to 3.2.2

commit 351eff5448eba050dc7c9d53d07b2b057399ab7d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 15 13:23:00 2012 +0900

    Bumped version to 3.3.0

 include/zmq.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 8e7892b72fc4dfcf8fdb462d1f21afa55153656a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 15 13:06:19 2012 +0900

    Upated version for next release

 include/zmq.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a7b2e9d017ae8aa020a88cc91d1d5345eb12e82b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 15 12:52:54 2012 +0900

    Upated NEWS for 3.2.1

 NEWS |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

commit cdcaca2dc4db0ac4ef1b2ff427e43ceb4740e72c
Merge: 73537e6 c62fb89
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 12 19:58:55 2012 -0700

    Merge pull request #438 from steve-o/master
    
    Duplicate CMake patch set from zeromq3-x

commit c62fb89ed8be640ad61ea4ed18303cc7c1629daa
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Fri Oct 12 22:48:02 2012 -0400

    Update to libzmq source set.

 CMakeLists.txt |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 7a1a5f9f7f3d0e3e382b7105ba7f35dd1e6b4475
Author: Steve-o <fnjordy@gmail.com>
Date:   Fri Oct 12 19:20:37 2012 +0000

    Update AsciiDoc version details with CMake detected ZeroMQ version.

 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8ddb9fc7ea3dc8fb5ee77f1c2e683e7e7e6e94b4
Author: Steve-o <fnjordy@gmail.com>
Date:   Fri Oct 12 18:18:04 2012 +0000

    Enable parallel make and LTO by default.

 CMakeLists.txt |   10 ++++++++++
 1 file changed, 10 insertions(+)

commit dfe7d15a889a097aa653913ca538b9b6023db2f0
Author: Steve-o <fnjordy@gmail.com>
Date:   Fri Oct 12 17:32:42 2012 +0000

    MSVC11 not getting defined in CMake 2.8.9, punt to version string.

 cmake/Modules/TestZMQVersion.cmake |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit ebe4eab477acba7b65b1465f38e9d8fd4646b602
Author: Steve-o <fnjordy@gmail.com>
Date:   Fri Oct 12 16:49:15 2012 +0000

    Detect compiler version to tag libraries.

 CMakeLists.txt                     |   10 +++++-----
 cmake/Modules/TestZMQVersion.cmake |   10 +++++++++-
 2 files changed, 14 insertions(+), 6 deletions(-)

commit 046c8ec7ebc4dc3bebc50880d8a29967b81dc6cb
Author: Steve-o <fnjordy@gmail.com>
Date:   Fri Oct 12 16:37:43 2012 +0000

    Add metadata to CMake options; mark executables advanced to hide from default view; fix WoW64 redirections.

 CMakeLists.txt           |   18 +++++++++---------
 cmake/NSIS.template64.in |   12 ++++++++++--
 2 files changed, 19 insertions(+), 11 deletions(-)

commit 56bb3df1f6d1d44b1516cfe9884a41d929a1f1fb
Author: Steve-o <fnjordy@gmail.com>
Date:   Fri Oct 12 15:36:34 2012 +0000

    Detect ZeroMQ version at build time; hide NSIS dependencies in new cmake folder.

 CMakeLists.txt                     |    9 +-
 NSIS.template32.in                 |  952 ------------------------------------
 NSIS.template64.in                 |  952 ------------------------------------
 cmake/Modules/TestZMQVersion.cmake |   27 +
 cmake/Modules/zmq_version.cpp      |   31 ++
 cmake/NSIS.template32.in           |  952 ++++++++++++++++++++++++++++++++++++
 cmake/NSIS.template64.in           |  952 ++++++++++++++++++++++++++++++++++++
 7 files changed, 1965 insertions(+), 1910 deletions(-)

commit b42e45adb85e6f4dc148f187875ccb8aa63c2574
Author: Steve-o <fnjordy@gmail.com>
Date:   Fri Oct 12 15:13:45 2012 +0000

    Make OpenPGM a CMake option, default disabled.

 CMakeLists.txt |   47 +++++++++++++++++++++++++----------------------
 1 file changed, 25 insertions(+), 22 deletions(-)

commit c53cf0d2392c8e957008c0c405bff053002f663e
Author: Steve-o <fnjordy@gmail.com>
Date:   Fri Oct 12 15:05:18 2012 +0000

    Minor refactor of CMake build script.

 CMakeLists.txt |   28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

commit 000d1a5fba4d51aacedb4710367c1c75bc71f788
Author: John Murphy <murphybytes@gmail.com>
Date:   Thu Oct 11 20:28:02 2012 -0500

    Update CMakeLists.txt
    
    Removed check for COPYING.txt

 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 58f7c2179f2db84a87b734d6262ed3bbae342346
Author: John Murphy <muprhybytes@gmail.com>
Date:   Thu Oct 11 19:31:30 2012 +0900

    added artificacts for windows and openpgm build

 CMakeLists.txt     |  339 +++++++++++++++++++
 NSIS.template32.in |  952 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 NSIS.template64.in |  952 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 2243 insertions(+)

commit 73537e67e39f39b0fe10e02490c0bfb1ff99ce3d
Merge: 1ef63bc 93a7a37
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Oct 11 13:39:04 2012 -0700

    Merge pull request #437 from rohanbedarkar/master
    
    Explicit comments

commit 93a7a378933deb9d0a260750e41017c1545c6864
Author: Rohan <rbe@ws5-34-chi.rtsgroup.net>
Date:   Thu Oct 11 09:32:54 2012 -0500

    fixed trailing whitespace

 src/pgm_socket.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit a438e63498e0a357da8e20a2d68f90938d58ac11
Author: Rohan <rbe@ws5-34-chi.rtsgroup.net>
Date:   Wed Oct 10 16:22:52 2012 -0500

    explicit comments on multicast loopback

 src/pgm_socket.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 11c22912d71528958c1111b29d0a9116535409e3
Author: rohanbedarkar <rohanb@cs.uchicago.edu>
Date:   Wed Oct 10 10:03:48 2012 -0500

    commented out TOS related opt for PGM

 src/pgm_socket.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 1ef63bc2adc3d50c2e5e5fb7b5c9f9c50cb469f8
Merge: db690e3 983ee76
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Oct 9 02:19:41 2012 -0700

    Merge pull request #436 from hintjens/master
    
    Renamed ZMQ_ROUTER_BEHAVIOR to ZMQ_ROUTER_MANDATORY

commit 983ee761b1cdc8f70fc682d4169568fe6f228fa2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 8 16:36:35 2012 +0900

    Renamed ZMQ_ROUTER_BEHAVIOR to ZMQ_ROUTER_MANDATORY for clarity

 .gitignore                      |    2 +-
 doc/zmq_setsockopt.txt          |   33 ++++++++++-----------
 include/zmq.h                   |    5 +++-
 src/router.cpp                  |   10 ++++---
 src/router.hpp                  |    2 +-
 tests/Makefile.am               |    4 +--
 tests/test_router_behavior.cpp  |   62 ---------------------------------------
 tests/test_router_mandatory.cpp |   62 +++++++++++++++++++++++++++++++++++++++
 8 files changed, 92 insertions(+), 88 deletions(-)

commit db690e3d99d25731f72ee130fe60b7050176b45d
Merge: e41e071 f87bf38
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Oct 7 12:48:18 2012 -0700

    Merge pull request #435 from hintjens/master
    
    Added ZMQ_XPUB_VERBOSE option

commit f87bf38293a4259ab0d9ad58506981736eb96ae4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 8 00:57:43 2012 +0900

    Fixed issue #443

 doc/zmq_setsockopt.txt |   14 ++++++++++++++
 include/zmq.h          |    1 +
 src/xpub.cpp           |   18 +++++++++++++++++-
 src/xpub.hpp           |    5 +++++
 4 files changed, 37 insertions(+), 1 deletion(-)

commit e41e071b052bf7c6cfad8870ed7bbc1c2c5300da
Merge: 2440863 ce53fe0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Oct 6 04:26:20 2012 -0700

    Merge pull request #434 from vaughan0/master
    
    Small documentation error I noticed

commit ce53fe033776dc1d4326af58d0d4fbc107469129
Author: Vaughan Newton <newton.vaughan0@gmail.com>
Date:   Sat Oct 6 13:15:17 2012 +0200

    Minor documentation fix: zmq_msg_recv instead of zmq_msg_send

 doc/zmq_msg_recv.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit d6e0ae24f32707810162edbde42dbc77d1720da8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Sep 8 15:57:48 2012 +0900

    Prepared for release 3.2.1

 NEWS          |   98 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/zmq.h |    4 +--
 2 files changed, 100 insertions(+), 2 deletions(-)

commit 2440863292c7af3e6d5621a00aa320e157eaa505
Merge: 81482ec b84d011
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 30 12:21:15 2012 -0700

    Merge pull request #433 from michelp/reject-no-fds-avail
    
    Ported from libxs revision 123c0f5387ecef287dd11f4dc790fb76ee1c0f67

commit b84d0119b5c12d37c6fd64d11042c3e44df25f54
Author: Michel Pelletier <pelletier.michel@gmail.com>
Date:   Sun Sep 30 11:52:43 2012 -0700

    Ported from libxs revision 123c0f5387ecef287dd11f4dc790fb76ee1c0f67
    
        Handle insufficient resources on accept() decently
    
        If accept() call fails due to insuffient OS resources
        the new connection is rejected.

 src/ipc_listener.cpp |    4 +++-
 src/tcp_listener.cpp |    9 +++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

commit 81482ec84a812f996e95572f70c50be205b92df3
Merge: 343ec62 82d7238
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Sep 29 03:28:18 2012 -0700

    Merge pull request #432 from hurtonm/master
    
    Make socket IO more robust

commit 82d7238f08413f2070a17624c9033f3a9a4ae0ab
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Sep 29 11:14:44 2012 +0200

    Make socket IO more robust
    
    See also https://zeromq.jira.com/browse/LIBZMQ-433

 src/stream_engine.cpp |   26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

commit 343ec62282e614cbc01aefb374bd3c0f15a6473a
Merge: 5b83fe7 725f141
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Sep 26 23:29:18 2012 -0700

    Merge pull request #431 from ipechorin/master
    
    Forward-port fix for LIBZMQ-211

commit 5b83fe778c95426b8951ae829f9af0db4c5391a1
Merge: a49e392 9b58372
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Sep 26 12:27:43 2012 -0700

    Merge pull request #430 from ipechorin/master
    
    Update MSVC2008 project after recent changes; fix compilation errors

commit 725f141fd7e8c74f0c664c6d4a18ff6df77771bc
Author: Ivan Pechorin <ivan.pechorin@gmail.com>
Date:   Wed Sep 26 16:49:38 2012 +0400

    Fix LIBZMQ-211: REP socket asserting when getting malformed request
    
    REP socket demands at least an empty address stack. The server asserted on (msg_->flags () & msg_t::more) in rep.cpp:75 when receiving a malformed request without empty part.
    
    This patch makes a REP socket to discard and silently ignore such malformed requests.

 src/rep.cpp |   24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

commit a49e392e34d18643257b974553858ced6fc38188
Merge: 2eb849c dcf683a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 26 05:24:41 2012 -0700

    Merge pull request #429 from ipechorin/dcf683aacb533634c273bb2f51fa3ceaadf89202
    
    Update MSVC2010 project after recent renames and additions

commit 9b58372a38e77ed61240c0e6588c3cfd38a784d1
Author: Ivan Pechorin <ivan.pechorin@gmail.com>
Date:   Wed Sep 26 16:09:55 2012 +0400

    Fix compilation using MSVC 2008: its <algorithm> defines wrong min/max without NOMINMAX
    
    Visual Studio 2008 compiler defines min/max as macros in its <algorithm> even if <windows.h> is not included at all. This patch defines NOMINMAX to remove these macros and fix compilation on Visual Studio 2008.

 src/encoder.hpp |    6 ++++++
 1 file changed, 6 insertions(+)

commit 396b4e3046ad32ec9ee40586894c7df3307cdc67
Author: Ivan Pechorin <ivan.pechorin@gmail.com>
Date:   Wed Sep 26 16:06:20 2012 +0400

    Fix compilation using MSVC 2008: stdint.h is not present in this compiler
    
    This patch fixes the two headers added recently to include our own "stdint.hpp" instead of system <stdint.h> because the latter is not available in Visual Studio versions prior to 2010.

 src/i_decoder.hpp |    2 +-
 src/i_encoder.hpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 4de27b6c10066006a0b7737138e3d9a381c80b84
Author: Ivan Pechorin <ivan.pechorin@gmail.com>
Date:   Wed Sep 26 16:04:00 2012 +0400

    Update MSVC2008 project after recent renames and additions
    
    This patch updates MSVC2008 project after device was renamed to proxy and new files were added (tcp.cpp, v1_encoder.cpp and v1_decoder.cpp).

 builds/msvc/libzmq/libzmq.vcproj |   40 ++++++++++++++++++++++++++++++++++----
 1 file changed, 36 insertions(+), 4 deletions(-)

commit 2eb849ccda48ceb2f2a765c8c80d1e90ecbfd780
Merge: ff264cb 9056c13
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 26 04:48:02 2012 -0700

    Merge pull request #428 from ipechorin/9056c13e1ebbfd7798ddd7b5cfdb9950933c710e
    
    Use <stdint.h> shipped with Visual Studio 2010 and later

commit dcf683aacb533634c273bb2f51fa3ceaadf89202
Author: Ivan Pechorin <ivan.pechorin@gmail.com>
Date:   Wed Sep 26 15:25:16 2012 +0400

    Update MSVC2010 project after recent renames and additions
    
    This patch updates MSVC2010 project after device was renamed to proxy and new files were added (v1_encoder.cpp and v1_decoder.cpp).

 builds/msvc/libzmq/libzmq.vcxproj         |    8 +++++++-
 builds/msvc/libzmq/libzmq.vcxproj.filters |   24 +++++++++++++++++++++---
 2 files changed, 28 insertions(+), 4 deletions(-)

commit 9056c13e1ebbfd7798ddd7b5cfdb9950933c710e
Author: Ivan Pechorin <ivan.pechorin@gmail.com>
Date:   Wed Sep 26 15:13:13 2012 +0400

    Use <stdint.h> shipped with Visual Studio 2010 and later
    
    Visual Studio didn’t have <stdint.h> until 2010, therefore we had a bunch of typedefs for int8_t, int16_t and the likes in "stdint.hpp". This patch limits these typedefs to Visual Studio versions older than 2010 and uses compiler-shipped <stdint.h> on 2010 and newer.

 src/stdint.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ff264cb0442955f7b5da389fc571b6656374c5fc
Merge: 2a20914 afa4933
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 25 23:44:40 2012 -0700

    Merge pull request #427 from ianbarber/master
    
    Init msg in pgm_receiver drop subs

commit afa4933c1e84bd988100ac3ec45d9c7bb33596b0
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Sep 25 22:58:25 2012 +0100

    Init message in drop subscription
    
    Fixes reported issue with PGM receiver on 32bit Suse where asserts
    were hit due to the msg flags not being zeroed.

 src/pgm_receiver.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 2a209140f7cac86f8d9312b30222262197aa2bf4
Merge: a6c6054 b1776e2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 25 13:49:27 2012 -0700

    Merge pull request #426 from methodmissing/fix-monitor
    
    Fix monitor

commit b1776e234b722b50ea7c3d09abd9028351adc815
Merge: 8a57e4a a6c6054
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Tue Sep 25 01:26:32 2012 +0100

    Merge branch 'master' into fix-monitor

commit a6c6054ef262a11e807fd003a6aa7ffa5bc80875
Merge: d981c91 7bf516d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 21 09:09:00 2012 -0700

    Merge pull request #425 from Astellar/zmq_msg_t
    
    zmq_msg_t will now typedef a named struct.

commit 7bf516ded73031c78b61a2ca2367d3f384474eab
Author: Astellar <astellar@ro.ru>
Date:   Fri Sep 21 19:57:50 2012 +0400

    zmq_msg_t will now typedef a named struct.
    
    This change allows forward declaration of struct zmq_msg_t.

 include/zmq.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8a57e4a5d777c7da6471de958838eb0cd943802e
Merge: 759d453 d981c91
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Fri Sep 21 12:55:01 2012 +0100

    Merge branch 'master' into fix-monitor

commit 759d453368479257638e6b09e1febe19fbef2a3d
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Fri Sep 21 12:53:31 2012 +0100

    Significantly reworked the monitoring infrastructure with a more granular per socket API and to play well with monitoring endpoints in application threads

 doc/Makefile.am             |    4 +-
 doc/zmq_ctx_set_monitor.txt |  223 ---------------------------------
 doc/zmq_socket_monitor.txt  |  288 ++++++++++++++++++++++++++++++++++++++++++
 include/zmq.h               |   19 +--
 src/ctx.cpp                 |   70 +----------
 src/ctx.hpp                 |    8 --
 src/ipc_connecter.cpp       |    9 +-
 src/ipc_connecter.hpp       |    3 +
 src/ipc_listener.cpp        |   10 +-
 src/session_base.cpp        |   13 +-
 src/session_base.hpp        |    4 +-
 src/socket_base.cpp         |  181 +++++++++++++++++++++++++--
 src/socket_base.hpp         |   26 +++-
 src/stream_engine.cpp       |    6 +-
 src/stream_engine.hpp       |    4 +
 src/tcp_connecter.cpp       |    9 +-
 src/tcp_connecter.hpp       |    3 +
 src/tcp_listener.cpp        |    8 +-
 src/zmq.cpp                 |   20 +--
 tests/test_monitor.cpp      |  290 +++++++++++++++++++++++++++++++++----------
 20 files changed, 767 insertions(+), 431 deletions(-)

commit d981c91f809a91a7db66375703e8d888796b9f55
Merge: 86eb7bc f6a840b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 20 11:41:27 2012 -0700

    Merge pull request #424 from vaughan0/patch-1
    
    Update doc/zmq_msg_get.txt

commit f6a840b65bffc11c74d6d538e989fe707a3c166e
Author: Vaughan Newton <newton.vaughan0@gmail.com>
Date:   Thu Sep 20 21:39:45 2012 +0300

    Update doc/zmq_msg_get.txt

 doc/zmq_msg_get.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 86eb7bcae09fd9182d89d6e8b92ed0e2e8665fc4
Merge: 7a40df6 67d88bc
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Sep 18 13:52:52 2012 -0700

    Merge pull request #423 from jmgao/patch-1
    
    Add pthread.h include to test_connect_delay.cpp

commit 67d88bcb41efcba24cb94b1c370ecb40a75398d0
Author: Joshua Gao <jmg116@gmail.com>
Date:   Tue Sep 18 13:46:48 2012 -0700

    Add pthread.h include to test_connect_delay.cpp
    
    This test case uses pthreads, but doesn't include the header.

 tests/test_connect_delay.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 7a40df6d3aeba02d02a5a670a2ebf3b20fed3940
Merge: f074f6b 5db2875
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Sep 7 03:25:31 2012 -0700

    Merge pull request #422 from hintjens/master
    
    Replaced device concept with proxy concept

commit 5db28752f3d6956d2e10bf8fcd66a1b4044339e0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 6 19:20:21 2012 +0900

    Removed 'device' concept and introduced proxies
    * zmq_device is now a wrapper that calls zmq_proxy
    * zmq_proxy adds capture socket

 doc/Makefile.am    |    2 +-
 doc/zmq.txt        |   12 +++--
 doc/zmq_device.txt |  125 ----------------------------------------------------
 doc/zmq_proxy.txt  |   97 ++++++++++++++++++++++++++++++++++++++++
 include/zmq.h      |   11 ++---
 src/Makefile.am    |    4 +-
 src/device.cpp     |   96 ----------------------------------------
 src/device.hpp     |   32 --------------
 src/proxy.cpp      |  121 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/proxy.hpp      |   32 ++++++++++++++
 src/zmq.cpp        |   26 ++++++-----
 11 files changed, 280 insertions(+), 278 deletions(-)

commit f074f6b6b98fe5e3612a46007e49c52f74b1fac9
Merge: 84728cd cf20932
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 6 19:56:46 2012 -0700

    Merge pull request #412 from Quuxplusone/test-release-builds-too
    
    Add "#undef NDEBUG" to all tests.

commit cf20932df02ddac2c6e49dc7f725787bbce3e435
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Thu Aug 23 13:40:30 2012 -0700

    Add "#undef NDEBUG" to all tests.
    
    This change makes sure that even if the tests are built in a
    "release" configuration (with optimizations and NDEBUG turned on),
    the assertions won't get compiled out of the tests themselves.
    
    The C standard guarantees that the most recent inclusion of
    <assert.h> is the one that counts, so it's important that the
    "#undef NDEBUG/#include <assert.h>" come as the last thing in
    the block of header files.
    
    "testutil.hpp" includes <assert.h>, so I've left <assert.h> out
    of any test that #includes "testutil.hpp", just for the sake of
    brevity.

 tests/test_connect_delay.cpp   |   12 ++++++------
 tests/test_connect_resolve.cpp |    6 +++---
 tests/test_hwm.cpp             |    2 --
 tests/test_invalid_rep.cpp     |    4 +++-
 tests/test_last_endpoint.cpp   |    5 +++--
 tests/test_monitor.cpp         |    6 ++----
 tests/test_msg_flags.cpp       |    5 +++--
 tests/test_pair_inproc.cpp     |    1 -
 tests/test_pair_ipc.cpp        |    1 -
 tests/test_pair_tcp.cpp        |    1 -
 tests/test_reqrep_device.cpp   |    7 ++++---
 tests/test_reqrep_inproc.cpp   |    1 -
 tests/test_reqrep_ipc.cpp      |    1 -
 tests/test_reqrep_tcp.cpp      |    1 -
 tests/test_router_behavior.cpp |    1 -
 tests/test_shutdown_stress.cpp |    4 +++-
 tests/test_sub_forward.cpp     |    7 ++++---
 tests/test_term_endpoint.cpp   |   27 ++++++++++++++++++++++++---
 tests/test_timeo.cpp           |    9 +++++----
 tests/testutil.hpp             |    5 +++--
 20 files changed, 63 insertions(+), 43 deletions(-)

commit aaac4b84cb899f94570cec83970d09b19f1f9c38
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 6 18:20:33 2012 +0900

    Code cleanups

 doc/zmq.txt    |    4 ++--
 include/zmq.h  |    2 ++
 src/device.cpp |   32 +++-----------------------------
 3 files changed, 7 insertions(+), 31 deletions(-)

commit 84728cd961c4238379bf0e022292f5d314102ce1
Merge: a224c97 2a41c8d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Sep 5 12:59:28 2012 -0700

    Merge pull request #421 from hurtonm/master
    
    New message encoder/decoder + code simplification

commit 2a41c8d7b40a36062a69536d1ad878a80d4f16a3
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Sep 5 16:37:20 2012 +0200

    Simplify initial handshaking

 src/stream_engine.cpp |  100 +++++++++++++------------------------------------
 src/stream_engine.hpp |   19 +++-------
 2 files changed, 32 insertions(+), 87 deletions(-)

commit 3f6148abdf4c548eeb6f13aee38a4190468fdadc
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Sep 5 02:01:19 2012 +0200

    Implement new message encoder/decoder
    
    This is supposed to become part of the ZMTP/1.1.
    
    The main differences from the ZMTP/1.0 framing protocol are:
    - flags field comes first, followed by the length field
    - long messages are signaled using a flag rather then 0xff escape
    - length field does not include the flags field, 0 is a valid value

 src/Makefile.am       |    2 +
 src/stream_engine.cpp |   40 +++++++++---
 src/v1_decoder.cpp    |  167 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/v1_decoder.hpp    |   70 +++++++++++++++++++++
 src/v1_encoder.cpp    |  103 ++++++++++++++++++++++++++++++
 src/v1_encoder.hpp    |   60 ++++++++++++++++++
 src/v1_protocol.hpp   |   43 +++++++++++++
 7 files changed, 478 insertions(+), 7 deletions(-)

commit 8672f5829e3917296e0695c86fbb324d91efdc53
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Sep 4 19:44:20 2012 +0200

    Introduce abstract interface for message encoder/decoder

 src/decoder.hpp       |    3 ++-
 src/encoder.hpp       |    3 ++-
 src/i_decoder.hpp     |   49 ++++++++++++++++++++++++++++++++++++++++++++
 src/i_encoder.hpp     |   54 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/stream_engine.cpp |   46 +++++++++++++++++++++++++++--------------
 src/stream_engine.hpp |    8 ++++----
 6 files changed, 142 insertions(+), 21 deletions(-)

commit a224c97329d0315498970054da2055bcf0560913
Merge: d068787 d7331b7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Sep 4 16:03:58 2012 -0700

    Merge pull request #420 from ianbarber/master
    
    Fix some PGM refactor breakages

commit d7331b7b1fc6edae0315c28c9fe7a40dbefca0ef
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Sep 4 23:24:48 2012 +0100

    Fixing PGM issues
    
    Hopefully fixed LIBZMQ-427 - there was a slight typo in the init_address
    refactor. The encoder refactoring had also broken pgm_sender and
    receiver, but just required updating to use the new functions.

 src/pgm_receiver.cpp         |    2 +-
 src/pgm_sender.cpp           |    2 +-
 src/pgm_socket.cpp           |    6 +++---
 tests/test_connect_delay.cpp |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

commit d0687876c03ce46a4a3d5962ffe22eef988b7d4a
Merge: 9143ac5 9d17ead
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Sep 3 13:58:06 2012 -0700

    Merge pull request #419 from hurtonm/code_cleanup
    
    Code cleanup

commit 9d17ead33d4a6ea8a10883df49bb483f57db8578
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Sep 3 19:21:41 2012 +0200

    Remove superfluous statement

 src/xpub.cpp |    1 -
 1 file changed, 1 deletion(-)

commit 7e6db47e65584d5351959f8d0582a3d8e3638e1d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Sep 3 19:07:57 2012 +0200

    Remove unused member variable

 src/stream_engine.hpp |    3 ---
 1 file changed, 3 deletions(-)

commit 9143ac5156f058a00c5fd90ef4f65f9b2f90254e
Merge: 6347f8b d9307c9
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Sep 2 15:24:09 2012 -0700

    Merge pull request #418 from hurtonm/versioned_ztp
    
    Introduce versioning into ZTP

commit d9307c9ff04b0d1d60aac1b201dfbe2684d3403f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Sep 2 18:19:15 2012 +0200

    Make ZMQ interoperate with ZMQ 2.x SUB sockets
    
    Since ZMQ 2.x does not support subscription forwarding, it's not
    possible to use ZMQ 2.x SUB socket to receive messages from a PUB
    socket.
    
    This patch adds some compatibility layer so that ZMQ 2.x SUB socket
    receives messages from PUB socket.

 src/stream_engine.cpp |   32 ++++++++++++++++++++++++++++++++
 src/stream_engine.hpp |    6 +++++-
 2 files changed, 37 insertions(+), 1 deletion(-)

commit dfc0222ee6c67e2bd596468296f3ac271f8c33b3
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Sep 2 18:03:38 2012 +0200

    Decouple encoder_t and decoder_t from session_base_t
    
    This patch introduces i_msg_sink and i_msg_source interfaces. This
    allows us to make message encoder and decoder more general.

 src/decoder.cpp       |   12 ++++++------
 src/decoder.hpp       |    7 ++++---
 src/encoder.cpp       |   12 ++++++------
 src/encoder.hpp       |    6 +++---
 src/i_msg_sink.hpp    |   43 +++++++++++++++++++++++++++++++++++++++++++
 src/i_msg_source.hpp  |   44 ++++++++++++++++++++++++++++++++++++++++++++
 src/pgm_receiver.cpp  |    2 +-
 src/pgm_sender.cpp    |    2 +-
 src/req.cpp           |   10 +++++-----
 src/req.hpp           |    2 +-
 src/session_base.cpp  |    6 +++---
 src/session_base.hpp  |   14 +++++++++++---
 src/stream_engine.cpp |    8 ++++----
 13 files changed, 132 insertions(+), 36 deletions(-)

commit 1bca4f6f033ed6bb56fcfd7762bbfea04ecf684b
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Sep 1 13:59:22 2012 +0200

    Extend ZTP/1.0 protocol
    
    The new protocol adds support for protocol version and  exchanges the
    socket type, so that the library can reject a connection when the
    sockets do not match.
    
    The protocol was designed so that it's possible to detect and fully
    support ZTP/1.0 peers.
    
    When a new connection is set up, peers exchange greeting messages. The
    greeting message encodes both the protocol verion and the socket type.
    The format of the greeting message is as follows:
    
        greeting    = tag1, adaptation, tag2, version, length, socket_type
        tag1        = BYTE / 0xff
        adaptation  = 8 BYTES
        tag2        = BYTE / 0x7f
        version     = BYTE / 1
        length      = BYTE / 1
        socket_type = BYTE
    
    The protocol does not define the value of adaptation field.
    
    When interoperability with ZTP/1.0 peers is required, the adaptaion
    encodes, in network byte order, the length of identity message increased
    by 1. When adaptaion consists of eight zeros, the current
    implementatatio of 0MQ 2.x closes the connection.
    
    This patch supports both ZTP/1.0 and new protocol.

 src/stream_engine.cpp |  151 ++++++++++++++++++++++++++++++++++++++++++++++++-
 src/stream_engine.hpp |   36 ++++++++++++
 2 files changed, 185 insertions(+), 2 deletions(-)

commit 6347f8b0c9f800b8de1bfe8b9f869ebec9e6511c
Merge: c959f52 ab82488
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Tue Aug 28 04:40:38 2012 -0700

    Merge pull request #416 from hintjens/master
    
    Fixed COPYING.LESSER

commit ab8248847ca7c413145a9cb20e1deebb08ca993f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Aug 28 20:39:38 2012 +0900

    Fixed license to remove references to X11 code

 COPYING.LESSER |   27 ---------------------------
 1 file changed, 27 deletions(-)

commit c959f526f1a3e885bd3f61ec0362122ec3321ee3
Merge: f6fe600 08f6a9e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Aug 27 16:34:31 2012 -0700

    Merge pull request #415 from Quuxplusone/unused-parameters
    
    Silence all "unused parameter" warnings from Clang.

commit 08f6a9e7e86c78c86b9d2ba927d2b35bbca356f7
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Mon Aug 27 16:10:47 2012 -0700

    Remove unused argc/argv parameters in tests.

 tests/test_connect_delay.cpp   |    6 +++---
 tests/test_connect_resolve.cpp |    2 +-
 tests/test_hwm.cpp             |    2 +-
 tests/test_invalid_rep.cpp     |    2 +-
 tests/test_last_endpoint.cpp   |    2 +-
 tests/test_msg_flags.cpp       |    2 +-
 tests/test_pair_inproc.cpp     |    2 +-
 tests/test_pair_ipc.cpp        |    2 +-
 tests/test_pair_tcp.cpp        |    2 +-
 tests/test_reqrep_device.cpp   |    2 +-
 tests/test_reqrep_inproc.cpp   |    2 +-
 tests/test_reqrep_ipc.cpp      |    2 +-
 tests/test_reqrep_tcp.cpp      |    2 +-
 tests/test_router_behavior.cpp |    2 +-
 tests/test_shutdown_stress.cpp |    2 +-
 tests/test_sub_forward.cpp     |    2 +-
 tests/test_term_endpoint.cpp   |    2 +-
 tests/test_timeo.cpp           |    2 +-
 18 files changed, 20 insertions(+), 20 deletions(-)

commit c29aef4dd83375806b008c40728485fa95457050
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Mon Aug 27 16:06:51 2012 -0700

    Verify the value of the "void *s" passed to the monitor function.
    
    This formerly unused parameter actually represents the socket
    on which the event was received. As such, we should check that
    its value makes sense: it must be either "rep" or "req", and in
    the case of some kinds of events, it must be specifically one
    or the other.
    
    After this change, "s" is no longer unused.

 tests/test_monitor.cpp |   17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

commit 3b984d40e984b9cd5bca4663765771c7e9b9d61d
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Mon Aug 27 16:05:51 2012 -0700

    Silence all "unused parameter" warnings from Clang.
    
    Compiling without warnings is a good goal, because it makes
    new warnings (which probably indicate bugs) stand out rather
    than getting lost in the spam.
    
    My fixes fall into two categories:
    
        - Adding (void) casts of unused parameters, where their
          unusedness seems like a TODO (or in some cases a bug?).
    
        - Removing parameter names altogether, where the function
          is clearly a stub that will never use its parameters.
    
    Should be no change in behavior.

 src/dealer.cpp       |    6 ++++++
 src/dist.cpp         |    3 +++
 src/err.cpp          |    1 +
 src/io_object.cpp    |    2 +-
 src/io_thread.cpp    |    2 +-
 src/lb.cpp           |    3 +++
 src/object.cpp       |   16 ++++++++--------
 src/pair.cpp         |   10 ++++++++--
 src/pub.cpp          |    2 +-
 src/pull.cpp         |    6 ++++++
 src/push.cpp         |    3 +++
 src/reaper.cpp       |    2 +-
 src/router.cpp       |    9 +++++++++
 src/session_base.cpp |    2 +-
 src/socket_base.cpp  |   15 +++++++--------
 src/sub.cpp          |    2 +-
 src/tcp.cpp          |    9 +++++++++
 src/tcp_address.cpp  |    4 ++--
 src/tcp_address.hpp  |    4 ++--
 src/tcp_listener.cpp |    2 +-
 src/xpub.cpp         |    3 +++
 src/xsub.cpp         |    6 ++++++
 src/zmq.cpp          |    2 +-
 23 files changed, 84 insertions(+), 30 deletions(-)

commit 7fa4d423b80715c07c526e60aed276a9e8e60a03
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Mon Aug 27 16:00:40 2012 -0700

    Fix char_traits<unsigned char> to what looks like correct behavior.
    
    char_traits<unsigned char>::to_char_type(x) used to return 0 no matter
    what x was, and likewise to_int_type(x) used to return 0 no matter what.
    (0 is what you get when you default-construct an integral type, which
    is what the old code was doing.) This seemed like buggy behavior to me,
    so I've changed it.

 src/blob.hpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit f6fe600eef59afa7de6033bf71aea685779a390a
Merge: 4a43a0d fd67cd8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Aug 26 17:04:36 2012 -0700

    Merge pull request #414 from ianbarber/master
    
    Fix build breaking typos in monitor VA code

commit fd67cd810af7aac5ee897cd23f524a12206abd64
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Aug 26 17:48:52 2012 +0100

    Update ROUTER_BEHAVIOR documentation
    
    Include a note about potential interactions with reactors, and update
    reference to old FAIL_UNROUTABLE name.

 doc/zmq_setsockopt.txt |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 95c018c0d3e7610e58a901ee970fcac8be8db176
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Aug 26 16:29:40 2012 +0100

    Use full endpoint string in monitor response
    
    The endpoint was excluding the tcp://, causing tests to fail

 src/tcp_listener.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 94835581a4df2bde11b6ec0dcd32bac70dc42d7f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Aug 26 15:07:16 2012 +0100

    Remove early return on terminated state
    
    Code as stands breaks shutdown process. It was a bugfix by Arthur to a
    bad line which was testing for an impossible state - but afaics we do
    actually want to flush in those states. It is possible I am wrong on
    that though - if there are any shutdown issues introduced aroudn this
    commit I would suggest further investigation around this flushing
    behavior.

 src/pipe.cpp |    4 ----
 1 file changed, 4 deletions(-)

commit 206e5f6f44bac2f9dfcb79da296ef530a17c7f93
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Aug 26 14:29:09 2012 +0100

    Incorrect function name in socket_base
    
    VA specific monitor event in socket base was named monitor_event rather
    than va_monitor_event

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f028379c1ce008c2eba4c315a4a3adcd3594e1e1
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Aug 26 14:27:12 2012 +0100

    Incorrect var name in monitor_event
    
    The call to the va version of the function was using 'event' instead of
    'event_'

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8bf541b2520a4ed861bb7670d5a7edd264637bec
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Aug 26 14:24:50 2012 +0100

    Fixing incorrect argument order on va_start
    
    Compile was failing on the monitor_event function function due to the
    va_start params being switched.

 src/ctx.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4a43a0d0744f3cd78dab564d2b40e3f1790e7c24
Merge: d588dbf 7fadd70
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Aug 25 01:19:09 2012 -0700

    Merge pull request #413 from Quuxplusone/static-analysis
    
    Various bugfixes found by compiling with extra warnings

commit 7fadd708a04e31e1edf23fdd3935961a141f4d32
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Fri Aug 24 16:42:31 2012 -0700

    Fix monitor_event() to work at all.
    
    There are three versions of monitor_event(), all taking
    variadic arguments. The original code just has the first one
    creating a va_list and passing that va_list variadically to
    the second one... which creates a new va_list and passes it
    variadically to the third one... and of course everything
    blows up when we try to pull a non-va_list argument off the
    stack.
    
    The correct approach matches the C standard library's use
    of printf/vprintf, scanf/vscanf, and so on. Once you make
    a va_list, you must pass it only to functions which expect
    a va_list parameter.

 src/ctx.cpp          |   10 +++++++++-
 src/ctx.hpp          |    3 ++-
 src/session_base.cpp |    7 ++++++-
 src/session_base.hpp |    2 ++
 src/socket_base.cpp  |    7 ++++++-
 src/socket_base.hpp  |    2 ++
 6 files changed, 27 insertions(+), 4 deletions(-)

commit 537a80278835d0f4290edce1bfc47d0624177cc5
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Fri Aug 24 16:38:46 2012 -0700

    Add a missing null-check, turning a segfault into an assertion.
    
    Static analysis says:
    src\tcp_address.cpp(297): error V595: The 'res' pointer was utilized before it was verified against nullptr. Check lines: 297, 301.
    src\tcp_address.cpp(603): error V106: Implicit type conversion third argument 'full_bytes' of function 'memcmp' to memsize type.
    src\tcp_address.cpp(603): error V526: The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
    
    In fact the use of "memcmp" is correct, but the enclosing "if" isn't
    necessary, and the compiler is happier if "full_bytes" is a size_t.

 src/tcp_address.cpp |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

commit 6347d392fdaa41131c7c7cb3b57c4aa6c1e7a399
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Fri Aug 24 16:35:14 2012 -0700

    Fix a bug in pipe_t::flush().
    
    Static analysis says:
    src\pipe.cpp(193): error V547: Expression is always false. Probably the '||' operator should be used here.
    
    If flush() is called on a pipe whose state was
    "terminated" or "double_terminated", the programmer's
    intent was to return immediately. But in fact the
    two conditions can never be true simultaneously, so
    the early return never happens, and we may try to flush
    a terminated pipe anyway.

 src/pipe.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0886b7a26bbca34fdeef3e06d0d75d023ef4b7eb
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Fri Aug 24 16:33:48 2012 -0700

    Silence a compiler warning.
    
    Static analysis says:
    src\fd.hpp(38): error V103: Implicit type conversion from memsize to 32-bit type.
    
    Adding the explicit cast should shut it up.

 src/fd.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a48751b34b7047cf77537f88861a5ae48127122a
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Fri Aug 24 16:30:42 2012 -0700

    The "count_" out-parameter is doubled instead of unchanged.
    
    Static analysis says:
    src\zmq.cpp(489): error V220: Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being casted: '* count_'.
    src\zmq.cpp(510): error V127: An overflow of the 32-bit 'nread' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
    
    I've silenced the warning on line 489 and ignored the other.
    But also, it looks to me like there's a serious bug here: The
    out-parameter "count_" is never set to zero before we start
    incrementing it. So its final value will always be between
    1 and 2 times its initial value. The fix seems obvious.

 src/zmq.cpp |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit d588dbf27c363b98a0d88e5d4c1c2c7c2227055f
Merge: 033e311 28c9255
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Aug 23 13:02:30 2012 -0700

    Merge pull request #410 from Quuxplusone/LIBZMQ-414
    
    [LIBZMQ-414] Fix an error in the inline assembly for Thumb2.

commit 033e311d66440d2e12ba7a344d9b405a9a79e423
Merge: 1283380 f718d2b
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Aug 23 13:01:44 2012 -0700

    Merge pull request #411 from Quuxplusone/fix-test_monitor-bug
    
    Fix a bug reported on the mailing list.

commit f718d2beadf0fa58d3dc054e7b4cefba3f3bbbf9
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Thu Aug 23 12:56:00 2012 -0700

    Fix a bug reported on the mailing list.
    
    Both memcmp and strcmp return zero on equal, nonzero on nonequal;
    so all of these tests were backwards.
    
    The original committer fixed the failure by comparing 22 bytes instead
    of the correct 21, so that the assertions would trigger only if the
    22nd byte happened to match exactly --- which was rare.
    
    The correct fix is to compare the right number of bytes with the
    right sense.  (I think all of the ".addr" fields are null-terminated,
    in which case it's more appropriate to use strcmp throughout.)

 tests/test_monitor.cpp |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit 28c9255d46edd96861c45ac89566d79c098ec0d1
Author: Arthur O'Dwyer <arthur@push.am>
Date:   Thu Aug 23 12:49:21 2012 -0700

    Fix an error in the inline assembly for Thumb2.
    
    Notice that ZeroMQ has never been compiled for Thumb2 before,
    and I personally don't make any guarantees that it will actually
    behave correctly once compiled. But after this patch, it is at
    least *possible* to compile it for Thumb2.
    
    (Thumb2 is the target for most iOS devices.)

 src/atomic_ptr.hpp |    1 +
 1 file changed, 1 insertion(+)

commit 12833804c910842121310b0ce52c19d2804ffd40
Merge: b32542e 1ab85f4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Aug 12 02:33:17 2012 -0700

    Merge pull request #409 from hurtonm/master
    
    Exchange greeting messages for all socket types

commit 1ab85f471a50fb5f15440900a4e3991c9fe5aac0
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Aug 11 18:47:56 2012 +0200

    Exchange greeting messages for all socket types
    
    Fixes #415.

 src/dealer.cpp       |    1 -
 src/options.cpp      |    1 -
 src/options.hpp      |    5 +----
 src/router.cpp       |    1 -
 src/session_base.cpp |   27 +++++++++++++++++----------
 src/session_base.hpp |    6 +++---
 src/socket_base.cpp  |    4 ++--
 7 files changed, 23 insertions(+), 22 deletions(-)

commit b32542e39627e22b5dfd17666235e123bac0fbe3
Merge: 040d4d3 556074d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Aug 5 08:10:53 2012 -0700

    Merge pull request #403 from methodmissing/efault-zmq-poll
    
    Revert zmq_poll NULL poll items check to 2.2 behavior - let the poll items count filter out empty poll sets and not return a sometimes unexpected EFAULT error status

commit 040d4d322da6658a4bc7b9194ce08c42c41dee8d
Merge: 5637ed0 a622328
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Aug 5 08:08:59 2012 -0700

    Merge pull request #408 from teotwaki/master
    
    Fix reordering compile errors

commit a622328a9c089e635e8af6b67f6a87251d3e34bf
Author: Sebastian Lauwers <sebastian.lauwers@gmail.com>
Date:   Sat Aug 4 12:39:46 2012 +0200

    Fix reordering compile errors

 src/stream_engine.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 5637ed08a59bff6bacbf9a0c85d803d7e3bb4d09
Merge: 1f22954 9dc248f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Aug 4 04:21:49 2012 -0700

    Merge pull request #407 from methodmissing/LIBZMQ-399
    
    Fix invalid address metadata for ZMQ_EVENT_DISCONNECTED

commit 9dc248f6abeb7461b9e85bb5d0106ad86bab089f
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Sat Aug 4 11:41:33 2012 +0100

    Fix invalid address metadata for ZMQ_EVENT_DISCONNECTED

 src/ipc_connecter.cpp  |    3 +--
 src/ipc_listener.cpp   |    4 ++--
 src/session_base.cpp   |    7 -------
 src/session_base.hpp   |    1 -
 src/stream_engine.cpp  |   10 +++-------
 src/stream_engine.hpp  |    2 +-
 src/tcp_connecter.cpp  |    2 +-
 src/tcp_listener.cpp   |    2 +-
 tests/test_monitor.cpp |    4 ++++
 9 files changed, 13 insertions(+), 22 deletions(-)

commit 1f2295476297537f549e96e95763226e4111b538
Merge: 84560c1 9fab993
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jul 31 11:17:45 2012 -0700

    Merge pull request #406 from hurtonm/master
    
    Fix issue #406

commit 9fab9937e516e78e6dbdf890e34f56cf80c9ff14
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Jul 31 16:31:41 2012 +0200

    Fix issue #406
    
    When a peer reconnects, the router socket receives an identity
    message containing this peer id. When this happens, the current
    implementation crashes.
    
    This patch makes a router socket to silently ignore all identity
    messages coming from reconnected peers.

 src/msg.cpp    |    5 +++++
 src/msg.hpp    |    1 +
 src/router.cpp |   25 ++++++++++++++++++-------
 3 files changed, 24 insertions(+), 7 deletions(-)

commit 84560c1607249cea48f2f0009cc5d136377072ee
Merge: 631e12d 92bee5a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jul 29 00:45:20 2012 -0700

    Merge pull request #405 from jimenezrick/master
    
    Fix LIBZMQ-404: zmq_term not truly re-entrant

commit 92bee5a6dbb150115058c494e83702097aa58747
Author: Ricardo Catalinas Jiménez <jimenezrick@gmail.com>
Date:   Sat Jul 28 11:04:03 2012 +0200

    Fix LIBZMQ-404: zmq_term not truly re-entrant
    
    zmq_term can not safely be re-entered with pgm transport.
    Fix proposed by Steven McCoy.

 src/zmq.cpp |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

commit 631e12d4e5f47615182b7ec6e28c6ee439309111
Merge: 9be0c7e a0eb0bb
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Jul 26 14:12:05 2012 -0700

    Merge pull request #404 from mimetnet/master
    
    Correction for LIBZMQ-335

commit a0eb0bb7e611496d90b37d6e51a79890227f7ea1
Author: Matthew Metnetsky <mmetnetsky@kmbs.konicaminolta.us>
Date:   Thu Jul 26 13:55:27 2012 -0400

    signaler.cpp's Windows Lock should be in the "Global" namespace
    
    That way it can be used more appropriately between processes.

 src/signaler.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 83537916f8e2c61161f06dc84dd21972bb65b5eb
Author: Matthew Metnetsky <mmetnetsky@kmbs.konicaminolta.us>
Date:   Thu Jul 26 13:52:38 2012 -0400

    Fix issue 335
    
    By assigning a SECURITY_DESCRIPTOR to the event we gain the ability to
    share it between service and console programs. We also added
    EVENT_MODIFY_STATE as a requirement to OpenEvent so we can SetEvent later
    in the method.

 src/signaler.cpp |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

commit 556074d438870dd29bd6f6838d00715c01204a4c
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Tue Jul 24 02:22:27 2012 +0100

    Revert zmq_poll NULL poll items check to 2.2 behavior - let the poll items count filter out empty poll sets and not return a sometimes unexpected EFAULT error status

 src/zmq.cpp |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit 9be0c7e4b5c6aa335aeb59a9e5f09cf108edb20c
Merge: bea0b48 92827e4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jul 17 23:59:59 2012 -0700

    Merge pull request #402 from hurtonm/master
    
    Small code cleanup

commit 92827e45ee82bdb3719ddddc60889120a805a6a1
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Jul 18 01:53:10 2012 +0200

    Small code cleanup

 src/socket_base.cpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit bea0b4817b6470ad7a521618585e33e273fbaadb
Merge: 43ee439 62b5b91
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jul 13 07:14:27 2012 -0700

    Merge pull request #401 from hurtonm/master
    
    Fix issue #397

commit 62b5b914f5119378e8cd03c858b2904b9ced58ab
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Jul 12 01:47:36 2012 +0200

    Always mark socket as retired when closing ipc_listener
    
    When closing an ipc listener, the library may try to unlink
    the associated file. When this fails, the underlying
    socket is not marked as retired and this triggers
    assertion failure.
    
    Fixes issue #397

 src/ipc_listener.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 43ee4396cf63ddcf8750eacf14d92efd111f8140
Merge: 0533fb1 c84ca01
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Jul 11 10:17:44 2012 -0700

    Merge pull request #400 from hurtonm/master
    
    Be more conservative about when to generate ZMQ_EVENT_CLOSE_FAILED

commit c84ca01e95349e8013f5014cedbb39a8d3570f24
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Jul 11 17:59:22 2012 +0200

    Be more conservative about when to generate ZMQ_EVENT_CLOSE_FAILED
    
    This also fixes a bug in tcp_connecter and tcp_listener, which
    generated the event not when they failed to close the socket but
    when the succeed to close it.

 src/ipc_connecter.cpp |    5 +----
 src/ipc_listener.cpp  |    5 +----
 src/tcp_connecter.cpp |    4 ----
 src/tcp_listener.cpp  |    4 ----
 4 files changed, 2 insertions(+), 16 deletions(-)

commit 0533fb1ce16ad19e683b5325a11f2cbd8e2892ba
Merge: f8752bf 6ac5cf8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jul 11 08:02:01 2012 -0700

    Merge pull request #399 from hurtonm/master
    
    Small cleanup

commit 6ac5cf8697b50b5e6afb6582b067840adac02981
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Jul 11 15:11:48 2012 +0200

    Simplify code for writer activation in Router socket

 src/router.cpp |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

commit f8752bf9fca34b7c3c492c57c434f8c8799f44d1
Merge: 823d14c e37814e
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jul 6 10:50:00 2012 -0700

    Merge pull request #398 from hurtonm/master
    
    Rewrite event processing in io_thread

commit e37814eca427574578fc53421abea844317222e9
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Jul 6 13:24:59 2012 +0200

    Rewrite event processing in io_thread

 src/io_thread.cpp |   22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

commit 823d14c7fcb00aed6e6d66aeca84a4fc555ba1a3
Merge: 37d1e84 86eaa9c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jul 6 04:02:17 2012 -0700

    Merge pull request #397 from hurtonm/master
    
    Code cleanup

commit 37d1e84467cc16f0dda36998a340d20435515816
Merge: 73f960e 8d64fc6
Author: Martin Hurtoň <hurtonm@gmail.com>
Date:   Fri Jul 6 03:54:55 2012 -0700

    Merge pull request #396 from hintjens/master
    
    Reverting fix for #393

commit 86eaa9c8e753dfde77b675d25204f94080c65d92
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Jul 6 12:17:13 2012 +0200

    Rewrite process_command's loop

 src/socket_base.cpp |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit 8d64fc6af83ed49624b11a6c30d5da3e79144d2c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jul 6 17:33:41 2012 +0900

    Reverted fix for #393, was already fixed

 src/tcp_address.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 73f960e739583e88e13706c7dddb3456bf4a9d66
Merge: 77dd0a6 9aa8452
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Jul 5 23:02:20 2012 -0700

    Merge pull request #395 from hintjens/master
    
    Fixed issue #393 - Android build error

commit 9aa8452b804d33f0db92b47aadb8c4e4f16fcc2c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jul 6 12:23:51 2012 +0900

    Fixed issue #393, compilation warnings

 src/tcp_address.cpp |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit 77dd0a6fba14c636d84a5f43f6b79f7aadfbc8f2
Merge: e7f5929 8d96a43
Author: Martin Hurtoň <hurtonm@gmail.com>
Date:   Wed Jul 4 05:20:51 2012 -0700

    Merge pull request #394 from hintjens/master
    
    Fixed HWM doc on ZMQ_PULL

commit 8d96a4397545069ec7401d145852644cdd0bef3e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jul 4 17:46:08 2012 +0900

    Fixed documentation of HWM on ZMQ_PULL

 .gitignore         |    1 +
 doc/zmq_socket.txt |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit e7f59297d047fd498c4825c927178ab9382f79e5
Merge: 1ff5af0 0191977
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jul 3 18:30:09 2012 -0700

    Merge pull request #393 from cyrilh/master
    
    Making Android&pyzmq friendly version with -avoid-version

commit 01919774dc3935d86ea80acf5c47479bf5de7b68
Author: Cyril Holweck <cyril.holweck@free.fr>
Date:   Tue Jul 3 12:20:37 2012 +0200

    Making Android&pyzmq friendly version with avoid-version

 configure.in    |    5 ++++-
 src/Makefile.am |    4 ++++
 2 files changed, 8 insertions(+), 1 deletion(-)

commit 1ff5af098a1daec6acd9b6ae60368921d2adf8de
Merge: e471e5b 1b0e6ef
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jul 2 06:54:26 2012 -0700

    Merge pull request #392 from hurtonm/master
    
    mtrie clenaup

commit 1b0e6ef8b4db31b99fe0382eb1dddba1c503bdd9
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Jul 2 07:55:13 2012 +0200

    mtrie: Code simplification

 src/mtrie.cpp |   63 ++++++++++++++++++++++-----------------------------------
 1 file changed, 24 insertions(+), 39 deletions(-)

commit 692648de96515132b59b71d6c404a4cd8253ce1d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Jul 2 06:11:29 2012 +0200

    mtrie: Do not throw exception on allocation failure

 src/mtrie.cpp |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit e471e5b401387f0c4d03d2af67e41d4dbc8843f4
Merge: 6a1bd3e 9ccbeb8
Author: Chuck Remes <git@chuckremes.com>
Date:   Tue Jun 26 11:39:35 2012 -0700

    Merge pull request #391 from methodmissing/monitor-manual-format
    
    Let docs for zmq_ctx_set_monitor() respect a 80 char wide column width

commit 9ccbeb84fade63e537f670f150ff1ff29ff3018d
Author: Lourens NaudeÌ <lourens@methodmissing.com>
Date:   Tue Jun 26 19:35:59 2012 +0100

    Let docs for zmq_ctx_set_monitor() respect a 80 char wide column width

 doc/zmq_ctx_set_monitor.txt |   36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)

commit 6a1bd3e1e79706b997a76bbc7d3e2f32340fb800
Merge: 6f1229b 26e14d3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jun 25 18:03:07 2012 -0700

    Merge pull request #390 from hurtonm/master
    
    Small code simplification

commit 26e14d3064fc3c042c2fc0f7a69378c0e7927cdd
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Jun 26 01:56:54 2012 +0200

    Small code simplification

 src/xpub.cpp |   15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

commit 6f1229be6ff61e1c579433ebc1bf203a62b4ec22
Merge: c251d94 f8293df
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jun 25 05:09:00 2012 -0700

    Merge pull request #389 from hurtonm/master
    
    Fix a bug in trie implementation

commit f8293df4c563e1335365a42ca636249cdc3cdb5d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Jun 25 13:37:32 2012 +0200

    Fix a bug in trie implementation
    
    When removing keys for a specified value, make sure we drop
    empty node table. Failing to do this can lead to asserion failure.
    
    Refs: http://lists.zeromq.org/pipermail/zeromq-dev/2012-June/017589.html

 src/mtrie.cpp |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

commit c251d940b3424e045d59123f4bfc529c23bda3e9
Merge: b57b7de a178817
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 23 18:40:58 2012 -0700

    Merge pull request #388 from minrk/forward-iovec
    
    declare struct iovec

commit a178817141e605f919f71ef3318e702be52c32b7
Author: MinRK <benjaminrk@gmail.com>
Date:   Sat Jun 23 12:51:36 2012 -0700

    forward-declare struct iovec
    
    avoids warnings of the form:
    
    warning: 'struct iovec' declared inside parameter list
    warning: its scope is only this definition or declaration, which is probably not what you want
    
    when building downstream projects

 include/zmq.h |    2 ++
 1 file changed, 2 insertions(+)

commit b57b7debaae571ddb6206c28179bcb8d84fb1bcc
Merge: c60b0f5 fc335c5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 20 02:34:40 2012 -0700

    Merge pull request #386 from steve-o/err-handler
    
    Fix missing ENETRESET for Jira #LIBZMQ-329.

commit fc335c59ea40642fc708e3a7903d84de1947da6d
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Tue Jun 19 14:15:48 2012 -0400

    Fix missing ENETRESET for Jira #LIBZMQ-329.

 include/zmq.h |    3 +++
 1 file changed, 3 insertions(+)

commit c60b0f579dc739069e1c26eebff72a5b81fcadd5
Merge: eb16f6b 85c19f1
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 19 08:46:49 2012 -0700

    Merge pull request #385 from jdc8/master
    
    Missing semi-colon makes Windows compilation fail, Missing files in WIndows solution file

commit 85c19f12690fbb65f6669224680c959f6ecddddb
Author: Jos Decoster <jos.decoster@gmail.com>
Date:   Tue Jun 19 17:05:15 2012 +0200

    added missing files to MSVC10 solution file: tcp.cpp, tcp.hpp

 builds/msvc/libzmq/libzmq.vcxproj         |    2 +
 builds/msvc/libzmq/libzmq.vcxproj.filters |  400 +++++++++++++++++++++++++++++
 2 files changed, 402 insertions(+)

commit 98ee759dadf20fa958cda4290160f67c36444aeb
Author: jdc8 <jos.decoster@gmail.com>
Date:   Tue Jun 19 09:37:06 2012 -0400

    Added missing semi-colon.

 src/ip.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit eb16f6b88e20bd16fb8409cdecc7025443d0522c
Merge: 7bbccde 5b3d0c6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jun 18 22:34:40 2012 -0700

    Merge pull request #384 from steve-o/err-handler
    
    Add errno fallback values for MSVC2008.

commit 5b3d0c633d2886bd14aaf35363787ca28081db12
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Jun 18 17:13:17 2012 -0400

    Add errno fallback values for MSVC2008.

 include/zmq.h |   22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

commit 7bbccdeac9bef86988e136779367a6aabad00ac6
Merge: 21eb8c8 08749c8
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 17 00:36:58 2012 -0700

    Merge pull request #383 from Kobolog/master
    
    Reworked ZMQ_FAIL_UNROUTABLE to actually work as it was intended.

commit 08749c8e7bf932672e1cf5e1e7830981aeb3b018
Author: Kobolog <me@kobology.ru>
Date:   Sun Jun 17 02:38:15 2012 +0400

    Removed an unneeded include in tests

 tests/test_router_behavior.cpp |    1 -
 1 file changed, 1 deletion(-)

commit 6da48aed3a9b80d87f30ca634dd586a734c0df51
Author: Kobolog <me@kobology.ru>
Date:   Sun Jun 17 02:36:08 2012 +0400

    Fixed tests

 tests/test_router_behavior.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 829d0003beb251643e9c7ece33c702a3a18fc017
Author: Kobolog <me@kobology.ru>
Date:   Sun Jun 17 02:33:43 2012 +0400

    Verbose ROUTER socket behavior patch

 doc/zmq_setsockopt.txt         |   16 +++++-----
 doc/zmq_socket.txt             |   10 +++----
 include/zmq.h                  |    2 +-
 src/router.cpp                 |   19 ++++++------
 src/router.hpp                 |    5 ++--
 tests/Makefile.am              |    4 ++-
 tests/test_router_behavior.cpp |   64 ++++++++++++++++++++++++++++++++++++++++
 7 files changed, 93 insertions(+), 27 deletions(-)

commit 21eb8c8fa50e1b00dbc27c41e4a7c6f69d8e79de
Merge: 7753379 7d99129
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 16 12:53:11 2012 -0700

    Merge pull request #382 from hurtonm/master
    
    Fix open_socket to return -1 (INVALID_SOCKET on Windows) on error

commit 7d991294118edbe080da3a713a28c639c5ea1e96
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 16 21:46:05 2012 +0200

    Fix open_socket to return -1 (INVALID_SOCKET on Windows) on error

 src/ip.cpp |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 7753379eab33109a8f15765d843df213a955978c
Merge: c8d0d68 919bd96
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jun 14 23:09:59 2012 -0700

    Merge pull request #381 from hurtonm/connecter_cleanups
    
    Connecter cleanups

commit 919bd9628dfcfa497056a2e8427fafc46e206a2a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Jun 15 02:12:26 2012 +0200

    {tcp|ipc}_connecter: check whether socket is valid before closing it
    
    Calling close () when the underlying socket is invalid
    triggers an assertion failure.

 src/ipc_connecter.cpp |    3 ++-
 src/tcp_connecter.cpp |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

commit ec9f8994a742dc36b2da64e7de7480619cd30285
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Jun 13 03:34:48 2012 +0200

    Simplify {tcp|ipc}_connecter
    
    Make start_connecting () to have singe exit point.

 src/ipc_connecter.cpp |    8 ++++----
 src/tcp_connecter.cpp |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

commit e0fed9d29a007f0d0e33a97b6cf617138081b578
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Jun 13 02:33:02 2012 +0200

    Simplify {tcp|ipc}_connecter
    
    The patch is meant to make the code easier to understand.
    The 'wait' attribute is replaced by 'delayed_start'
    and 'timer_started' attributes. The former is constant and
    is initialized in the constructor. The latter is a flag
    reflecting whether a timer has been started and changes during
    the lifetime of the object.

 src/ipc_connecter.cpp |   20 ++++++++++----------
 src/ipc_connecter.hpp |   11 +++++++----
 src/tcp_connecter.cpp |   20 ++++++++++----------
 src/tcp_connecter.hpp |   11 +++++++----
 4 files changed, 34 insertions(+), 28 deletions(-)

commit c8d0d684712c6fce6556ce992ff584a35ae877e0
Merge: 67ab339 eb6c668
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jun 14 12:17:51 2012 -0700

    Merge pull request #380 from jlopex/master
    
    current libzmq not compiling with android NDK

commit eb6c668c2ae961a4a53d11d81dd6d2df5bffa666
Author: Javier Lopez <jlopex@cozybit.com>
Date:   Fri Jun 8 11:46:45 2012 -0700

    libzmq3.x not compiling on Android crosscompiler
    
    - Android crosscompiler shows a warning about two signed/unsigned checks
      on compilation, this patch adds casts to avoid this, so zmq3.x can
      compile on it.

 src/tcp_address.cpp |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 67ab3390ecde685d4280c424ce3955363cdcd486
Merge: 426ea71 a96dcfb
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Jun 14 02:55:32 2012 -0700

    Merge pull request #379 from hitenp/doc-changes
    
    Correct typo: add missing single quote.

commit a96dcfb29ac983f9a55011145e12c7fa3ae84fe4
Author: Hiten P <hp010170@gmail.com>
Date:   Thu Jun 14 10:52:44 2012 +0100

    Correct typo: add missing single quote.

 doc/zmq_socket.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 426ea7169743f9105e2f1d5090e5d6285e4be0ea
Merge: f35bed0 acbb993
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 13 16:45:48 2012 -0700

    Merge pull request #378 from steve-o/err-handler
    
    Fix #LIBZMQ-329 assertion on WSAEACCES

commit acbb99383f3079f258dd4e7708672330c21b6edb
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Wed Jun 13 19:42:11 2012 -0400

    Add additional Windows Sockets Error Codes.

 src/err.cpp |   61 +++++++++++++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 51 insertions(+), 10 deletions(-)

commit f35bed0edce3579ba24a415092f3975ac22b9735
Merge: a9507cc 75d6728
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 13 06:09:42 2012 -0700

    Merge pull request #377 from hurtonm/master
    
    {tcp|ipc}_listener: close socket when set_address () fails

commit 75d67286cc7863f1a7cbb00f4e1bc872dffa964a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Jun 13 14:48:27 2012 +0200

    {tcp|ipc}_listener: close socket when set_address () fails

 src/ipc_listener.cpp |   10 ++++++++--
 src/tcp_listener.cpp |   14 ++++++++++----
 2 files changed, 18 insertions(+), 6 deletions(-)

commit a9507cc267aac358f40900eac6f482bf34147761
Merge: dc9749f c7c834a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 13 04:20:04 2012 -0700

    Merge pull request #376 from ianbarber/master
    
    Add unistd header to test

commit c7c834a9453932c091bea3a7434444413b58713b
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Jun 13 12:18:22 2012 +0100

    Add unistd header to test_connect_delay header
    
    For sleep and usleep

 tests/test_connect_delay.cpp |    1 +
 1 file changed, 1 insertion(+)

commit dc9749fc67208f2c01f045da049d597ff9ff76df
Merge: 9e1e68e 35c55a2
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 13 00:04:13 2012 -0700

    Merge pull request #375 from ianbarber/master
    
    Add newline to end of new test file

commit 35c55a2cde07434bc185d81ed2f567a56959a0a4
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Jun 13 07:47:18 2012 +0100

    Add newline to end of test_connect_delay file

 tests/test_connect_delay.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9e1e68ef16a44e1b66cecbaee9fc6712461b3162
Merge: 076e081 b2e56c5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jun 12 23:15:11 2012 -0700

    Merge pull request #374 from steve-o/branding
    
    Add ZeroMQ branding.

commit b2e56c5e4f604ce82a735a5c4570b71307f51ccf
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Tue Jun 12 21:30:24 2012 -0400

    Add ZeroMQ branding.

 branding.bmp      |  Bin 0 -> 25818 bytes
 installer.ico     |  Bin 0 -> 2842 bytes
 src/version.rc.in |   93 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 93 insertions(+)

commit 076e081de2f27c054ba04c5721b0901a7baaa8c0
Merge: e1cc2d4 bc9ae71
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jun 12 14:18:51 2012 -0700

    Merge pull request #373 from ianbarber/master
    
    Add ZMQ_DELAY_ATTACH_ON_CONNECT sockopt

commit e1cc2d4a41275190391ff71398689a50956118fb
Merge: 95cbad3 704b952
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jun 12 12:26:20 2012 -0700

    Merge pull request #372 from ianbarber/manfix
    
    Update bind and connect documentation for clarity

commit bc9ae715c33fff8dbe3f4c8ecce46c691ad82f41
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 17:56:39 2012 +0100

    Add asserts and rename pipe set
    
    Rename the pipeset to terminating_pipes, as suggested by Martin H. Adds
    asserts to test the pipe is contained in the terminating set where
    appropriate.

 src/session_base.cpp |   16 ++++++++++------
 src/session_base.hpp |    2 +-
 2 files changed, 11 insertions(+), 7 deletions(-)

commit 704b952274b7bfe2952f564d6d81dff1f279a453
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 15:49:18 2012 +0100

    Add reference to the inproc documentation
    
    The previous note in connect introduced but did not elaborate on the
    requirement to bind before connect in inproc. As that discussion is in
    detail in the inproc docs link to there.

 doc/zmq_connect.txt |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 7b78ed9d604a5d78af65eefaa456e98854874b3d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 15:46:26 2012 +0100

    Update bind and connect documentation for clarity
    
    Based on discussion with Steve O on the list, make the difference
    between bind and connect usage more clear, and add a note reflecting the
    fact that inproc must have bind before connect to reinforce the
    information in zmq_inproc.

 doc/zmq_bind.txt    |   12 +++++++-----
 doc/zmq_connect.txt |   17 +++++++++++------
 2 files changed, 18 insertions(+), 11 deletions(-)

commit e5904e63cebc96048bac7c30ae91c16edfff5922
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 15:34:48 2012 +0100

    Allow blocking while connect() is completing
    
    This patch, salvaged from a trainwreck accidental merge earlier, adds a
    new sockopt, ZMQ_DELAY_ATTACH_ON_CONNECT which prevents a end point
    being available to push messages to until it has fully connected, making
    connect work more like bind. This also applies to reconnecting sockets,
    which may cause message loss of in-queue messages, so it is sensible to
    use this in conjunction with a low HWM and potentially an alternative
    acknowledgement path.
    
    Notes on most of the individual commits can be found the repository log.

 .gitignore             |    1 +
 doc/zmq_getsockopt.txt |   15 +++++++++++++++
 doc/zmq_setsockopt.txt |   14 ++++++++++++++
 include/zmq.h          |    1 +
 src/lb.cpp             |    3 +--
 src/options.cpp        |   27 +++++++++++++++++++++++++++
 src/options.hpp        |    4 ++++
 src/session_base.cpp   |   40 ++++++++++++++++++++++++++++++----------
 src/session_base.hpp   |    3 +++
 src/socket_base.cpp    |   34 ++++++++++++++++++++--------------
 tests/Makefile.am      |    2 ++
 11 files changed, 118 insertions(+), 26 deletions(-)

commit 409d5e8fff0dc0ebdefe3da2a866021ce2aca18d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 15:31:23 2012 +0100

    Allow blocking while connect() is completing
    
    This patch, salvaged from a trainwreck accidental merge earlier, adds a
    new sockopt, ZMQ_DELAY_ATTACH_ON_CONNECT which prevents a end point
    being available to push messages to until it has fully connected, making
    connect work more like bind. This also applies to reconnecting sockets,
    which may cause message loss of in-queue messages, so it is sensible to
    use this in conjunction with a low HWM and potentially an alternative
    acknowledgement path.
    
    Notes on most of the individual commits can be found the repository log.

 tests/test_connect_delay.cpp |  260 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 260 insertions(+)

commit 95cbad3841fdd319cd19722ef88b9e49909aff2f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:53:57 2012 +0100

    Revert "After speaking with Ben Gray and the discussion on the mailing list, this is an attempt to create a sockopt to allow connecting pipes to not immediately be available for traffic. The problem is in a PUSH to many PULL situation, where there is a connect to a PULL which is not there. This connect will immediately create a pipe (unlike bind), and traffic will be load balanced to that pipe. This means if there is a persistently unavailable end point then the traffic will queue until HWM is hit, and older messages will be lost."
    
    This reverts commit fe3fb419fe249d7015a6c864d18464d434a55468.

 .gitignore                   |    1 -
 doc/zmq_getsockopt.txt       |   15 -----
 doc/zmq_setsockopt.txt       |   13 -----
 include/zmq.h                |    1 -
 src/lb.cpp                   |    3 +-
 src/options.cpp              |   25 --------
 src/options.hpp              |    4 --
 src/session_base.cpp         |   29 ----------
 src/session_base.hpp         |    6 --
 src/socket_base.cpp          |    5 +-
 tests/Makefile.am            |    2 -
 tests/test_connect_delay.cpp |  131 ------------------------------------------
 12 files changed, 3 insertions(+), 232 deletions(-)

commit a563d494bbbaf0d003bad0901a7d49ac24041857
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:53:38 2012 +0100

    Revert "Remove extra brackets as suggested by Martin H, and fix up a comment which was missing a word"
    
    This reverts commit b79aaaf473c4ef61bbd45e711d48fceb06dc9ad1.

 src/session_base.cpp |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit cc230cfe6097e0ad68375d0251c879bac551016e
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:52:38 2012 +0100

    Revert "And another typo on the same comment"
    
    This reverts commit 297af954514d9b2097c5e2df980bbe16dd72e761.

 src/session_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5b167aa8964fbe65546bf3717ec7b53fb0a0e82d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:52:18 2012 +0100

    Revert "Remove the extra outpipe handling as the session is quite capable of delaying the creation of the pipe until the connection has happened. Simply don't build the pipe, and let it do that automatically."
    
    This reverts commit 06485d9200ac697896dc4bd162fa4f8b4c2ddaf6.

 src/session_base.cpp |   32 ++++++++++++++++++++++++++++++--
 src/session_base.hpp |    5 ++++-
 src/socket_base.cpp  |   31 ++++++++++++++++---------------
 3 files changed, 50 insertions(+), 18 deletions(-)

commit 81b8362a5909975125ca627abd00e1461f56fffa
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:51:50 2012 +0100

    Revert "Fix a number of whitespace issues in various parts of the code, add validation to most calls on the test and take a first stab at implementing the reconnection pipe blocking."
    
    This reverts commit 6f6466f0884a169fd25a48195dd9a4e2135818e6.

 src/command.hpp              |    6 -----
 src/object.cpp               |   19 --------------
 src/object.hpp               |    2 --
 src/session_base.cpp         |   13 +---------
 src/session_base.hpp         |    8 +++---
 src/socket_base.cpp          |   17 +++----------
 src/socket_base.hpp          |    3 ---
 tests/test_connect_delay.cpp |   58 +++++++++++++++---------------------------
 8 files changed, 29 insertions(+), 97 deletions(-)

commit 48d3977632fd6eed6977d2eab0ac421efd454b8e
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:51:33 2012 +0100

    Revert "Fix condition so that PGM and EPGM sockets always create pipes immediately, even if delay_attach_on_connect is set. This allows passing through the icanhasall flag, and is realistic given the fact those protocols should be able to connect immediately"
    
    This reverts commit b5ace39e2a48b906237d869f4f819f1a28a8cee7.

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6c382c5c61b9b31050cf92cd6119184cb38e7ab1
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:51:19 2012 +0100

    Revert "Fix whitespace in test"
    
    This reverts commit 0b3478d6ecf0772c4c6e6ff4e4bdfdeef61cf003.

 tests/test_connect_delay.cpp |   38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

commit 72bae207a3dd2891f27f3f052e82631dfbf04712
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:51:05 2012 +0100

    Revert "Rebinding on reconnection to allow for the pipe blocking will set the event sink again, which will cause an assert to be triggered. I have modified that to allow for setting the same sink to be OK. I believe this should be ok - on termination, if a pipe hasn't reconnected, it would just attempt to be erased from the pipes list again, which is reasonable"
    
    This reverts commit 1566091bc6cbf2a69b19243be3906c6d92ac339a.

 src/pipe.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f0920caf0226f724e46f0b843b72841be3dcbc1f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:50:50 2012 +0100

    Revert "On the advice of Martin Hurton, removed the new command type and just terminated the pipe in a reconnect situation, and notified the socket of the same. This handles the blocking properly, but at the cost of potentially losing in flight messages. However, this is a reasonable trade off given how much simpler it makes the patch."
    
    This reverts commit c13f1d52ff9ed51a651ad8bcc9379e82d9318e86.

 src/command.hpp      |    6 ++++++
 src/object.cpp       |   19 +++++++++++++++++++
 src/object.hpp       |    2 ++
 src/session_base.cpp |   13 +++++--------
 src/socket_base.cpp  |   11 +++++++++++
 src/socket_base.hpp  |    3 +++
 6 files changed, 46 insertions(+), 8 deletions(-)

commit b020bd4ba8b8860aa868663999f6fb9395cc98d7
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:49:44 2012 +0100

    Revert "Remove unnecessary extra test in pipe assertion - now we are terminating pipes we don't need to allow the case in which a pipe is rebound to the same sink"
    
    This reverts commit 29f8d9ca15f679132302ca5a9016692c2be1d6b2.

 src/pipe.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 956cfd9f75963b25632c1e7b53a82661c753525e
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:49:21 2012 +0100

    Revert "Fix incorrect whitespace in if statement"
    
    This reverts commit 55cbdfcf261b41f6a9b71bb26ce7336da7f73eec.

 src/session_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 74175decb43386f1b7f95670560be40ae5915774
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:48:24 2012 +0100

    Revert "Removing unnecessary outpipe values that had been used for reconnecting existing pipes - no longer needed when using a pipe term for the delay_attach situation."
    
    This reverts commit ace7c99b917dd66f1fcaed3cbb50c988b7e33b09.

 src/session_base.cpp |    6 ++++++
 src/session_base.hpp |    3 +++
 2 files changed, 9 insertions(+)

commit 440af0022df056d00e29c7a095e9b1cf7eb48118
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:48:00 2012 +0100

    Revert "Restoring comment for clarity"
    
    This reverts commit 09956dee939a06c0734004aa3f39c491ec49c6f8.

 src/session_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8968b294e0da4ea8811441ffd62a5bc84b73839c
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:47:27 2012 +0100

    Revert "When detaching a pipe, as well as checking the delay on connect sockopt is set, also ensure that the protocol is not pgm or epgm as we are not implementing the functionality for multicase types"
    
    This reverts commit 5008f385bab2dd89c68d7ff93e0c5b303c6043e8.

 src/session_base.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 836fa4b7cac4dfbb70c7babaef2abcef92249c89
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:47:10 2012 +0100

    Revert "The previous code to block the socket from receiving on that pipe during a disconnect was vulnerable to a race condition. This code calls with the terminate functions of both ends of the pipe - I believe this should be safer. This required storing a pointer to the socket end of the pipe"
    
    This reverts commit 336f72720a99195942ced5c6aad2bb8e0baa3f32.

 src/session_base.cpp |    6 ++----
 src/session_base.hpp |    3 ---
 2 files changed, 2 insertions(+), 7 deletions(-)

commit 2c6f26153e913e159f1fb739ec80ea73fbb53d6a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:46:38 2012 +0100

    Revert "Reverted to a simpler shutdown. This seems to disconnect and reconnect the pipe properly, but there is a problem in overall shutdown when the pipe has blocked and reconnected - the session seems to get terminated() called on it only in shutdown for the original pipe, by which point it has been replaced. I am not sure at the moment why this only happens then, but this does mean this patch is broken at the moment"
    
    This reverts commit b84b007981d9247bcc7bd000e4aeb56baed56de2.

 src/session_base.cpp |   21 ++++++++++++---------
 src/session_base.hpp |    3 +++
 2 files changed, 15 insertions(+), 9 deletions(-)

commit 3ae68d67a451162cf70dadc72f39da892be6f0a0
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:46:23 2012 +0100

    Revert "Use the hiccup mechanism to notify the socket end of the pair of the change in state, and have it shutdown that end, and shutdown the local end normally. This seems to resolve the shutdown and race condition issues."
    
    This reverts commit 67497a26439239fdb95652b46d7e4e41fe672b31.

 src/session_base.cpp |    6 +++---
 src/socket_base.cpp  |    7 +------
 2 files changed, 4 insertions(+), 9 deletions(-)

commit f5a072fee1067d07e33005534e37c452645b2e03
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:46:01 2012 +0100

    Revert "Code formatting, and clean up so that xhiccuped is only handled in case the pipe isn't terminating"
    
    This reverts commit 5da289cd5bf0f3c367d3eb091ac66e5f4ce2b97c.

 src/socket_base.cpp |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit 6eeaf151797411914d5af48a89c70be3959e6e0d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:45:36 2012 +0100

    Revert "Remove unnecessary condition in assert"
    
    This reverts commit 3053f7e368149044e5d5887e78fc96c1b9f33141.

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c9926f6f24fd931e97950033cff4a172ab4f7426
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:45:14 2012 +0100

    Revert "As Martin pointed out, there is a race condition in the old code where a pipe could start shutting down after disconnection, but the new one could connect first. This connection would not get a pipe created for it, so the messages could never flow. The simplest way round this would be a flag, but it is possibly for a very bouncy but fast connection to go up and down twice I imagine, so instead I have added a counter. This starts at zero, and will null out the pipe if terminate is called while it is zero. On a disconnect situation the counter is incremented, and the pipe is the not nulled if the value is non zero. In the terminated function it is decremented for each pipe that is shut down, and the assertion that the terminated pipe == the current pipe is skipped while it is non-zero. This should deal with the race condition and not allow any extra terminated() calls without hitting the assertion."
    
    This reverts commit a5f7300da6aa2224638fc932fe5ca3624189b1c1.

 src/session_base.cpp |   15 ++++-----------
 src/session_base.hpp |    3 ---
 2 files changed, 4 insertions(+), 14 deletions(-)

commit 19da88be67a23ffffe3530526e6af6e238c12fd3
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:44:41 2012 +0100

    Revert "Filter read and write activated calls from the pipe to the session, and delay shutdown in terminated until the final pipe is shutdown."
    
    This reverts commit a90c1db7d2c0d32f9a0177d46502505efac654a5.

 src/session_base.cpp |   18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

commit 4aaf3e6389f8c72d5492905f80bb2a6c6db6ca44
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:44:12 2012 +0100

    Revert "Add disconnect test"
    
    This reverts commit d8f3487ee1c15e9cd9df8a795529765f7bb00ef1.

 tests/test_connect_delay.cpp |  121 ++----------------------------------------
 1 file changed, 3 insertions(+), 118 deletions(-)

commit eb14890d2363c15fe0486acbdaf698b6068f4d97
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:43:18 2012 +0100

    Revert "Revert "Merge branch 'master' of github.com:ianbarber/libzmq""
    
    This reverts commit 029d3dfae2c2bf9e10c7f05d78593f481569bbd7.

 src/Makefile.am                |    2 +
 src/decoder.cpp                |    2 +-
 src/fq.cpp                     |   10 ++--
 src/ip.cpp                     |   83 ---------------------------
 src/ip.hpp                     |    6 --
 src/session_base.cpp           |   48 +++++++++++-----
 src/session_base.hpp           |    4 +-
 src/signaler.cpp               |    4 +-
 src/socket_base.cpp            |    6 +-
 src/tcp.cpp                    |  122 ++++++++++++++++++++++++++++++++++++++++
 src/tcp.hpp                    |   38 +++++++++++++
 src/tcp_connecter.cpp          |    1 +
 src/tcp_listener.cpp           |    1 +
 tests/test_connect_delay.cpp   |  121 ++++++++++++++++++++++++++++++++++++++-
 tests/test_connect_resolve.cpp |    2 +-
 15 files changed, 331 insertions(+), 119 deletions(-)

commit bdd4e1351d0446579caaad19e8ef4a4cf3d5e710
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:28:32 2012 +0100

    Revert "Revert "Merge branch 'master' of github.com:zeromq/libzmq""
    
    This reverts commit dde69fb9fb928db1850eb209db7aed79e26777fb.

 src/ipc_connecter.cpp |   28 +++++++++++++++++++++-------
 src/ipc_connecter.hpp |    1 +
 src/ipc_listener.cpp  |    3 +--
 src/tcp_connecter.cpp |   28 +++++++++++++++++++++-------
 src/tcp_connecter.hpp |    1 +
 src/tcp_listener.cpp  |    3 +--
 6 files changed, 46 insertions(+), 18 deletions(-)

commit 029d3dfae2c2bf9e10c7f05d78593f481569bbd7
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:13:17 2012 +0100

    Revert "Merge branch 'master' of github.com:ianbarber/libzmq"
    
    This reverts commit 33459029793474d14cdb48f85ad2c58dc7ed156f, reversing
    changes made to 889b0e6f29f0cce566339b13b8a44f3b97836b6e.

 src/Makefile.am                |    2 -
 src/decoder.cpp                |    2 +-
 src/fq.cpp                     |   10 ++--
 src/ip.cpp                     |   83 +++++++++++++++++++++++++++
 src/ip.hpp                     |    6 ++
 src/session_base.cpp           |   48 +++++-----------
 src/session_base.hpp           |    4 +-
 src/signaler.cpp               |    4 +-
 src/socket_base.cpp            |    6 +-
 src/tcp.cpp                    |  122 ----------------------------------------
 src/tcp.hpp                    |   38 -------------
 src/tcp_connecter.cpp          |    1 -
 src/tcp_listener.cpp           |    1 -
 tests/test_connect_delay.cpp   |  121 +--------------------------------------
 tests/test_connect_resolve.cpp |    2 +-
 15 files changed, 119 insertions(+), 331 deletions(-)

commit dde69fb9fb928db1850eb209db7aed79e26777fb
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:12:03 2012 +0100

    Revert "Merge branch 'master' of github.com:zeromq/libzmq"
    
    This reverts commit 7b10586558268479e62ed901f3d8d76916bc6c8a, reversing
    changes made to 33459029793474d14cdb48f85ad2c58dc7ed156f.

 src/ipc_connecter.cpp |   28 +++++++---------------------
 src/ipc_connecter.hpp |    1 -
 src/ipc_listener.cpp  |    3 ++-
 src/tcp_connecter.cpp |   28 +++++++---------------------
 src/tcp_connecter.hpp |    1 -
 src/tcp_listener.cpp  |    3 ++-
 6 files changed, 18 insertions(+), 46 deletions(-)

commit 6117a2b09945f8bda67eb61f7baec4ed9ae7fc8a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 14:07:54 2012 +0100

    Revert "Replace incomplete count with a std::set"
    
    This reverts commit 4aa5ba3d119b98c8f1e4e682a6ee7c57d460cc55.
    Unintentional merge

 src/session_base.cpp         |   33 +++++++++++++++++++--------------
 src/session_base.hpp         |    4 ++--
 tests/test_connect_delay.cpp |    2 ++
 3 files changed, 23 insertions(+), 16 deletions(-)

commit 4aa5ba3d119b98c8f1e4e682a6ee7c57d460cc55
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 12:13:21 2012 +0100

    Replace incomplete count with a std::set
    
    This commit removes the countdown flag and adds a set to store the pipes
    that are currently being disconnected.

 src/session_base.cpp         |   33 ++++++++++++++-------------------
 src/session_base.hpp         |    4 ++--
 tests/test_connect_delay.cpp |    2 --
 3 files changed, 16 insertions(+), 23 deletions(-)

commit 7b10586558268479e62ed901f3d8d76916bc6c8a
Merge: 3345902 b448de9
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 11:34:24 2012 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit 33459029793474d14cdb48f85ad2c58dc7ed156f
Merge: 889b0e6 d8f3487
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 12 11:34:17 2012 +0100

    Merge branch 'master' of github.com:ianbarber/libzmq

commit b448de926befa42c4e9054464ec5635c95cc4d96
Merge: ace8f75 3ec8e57
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jun 11 23:57:21 2012 -0700

    Merge pull request #371 from hurtonm/fix_race_condition_in_connecters
    
    Fix race conditions in {tcp,ipc}_connecter

commit 3ec8e576d99a332514a5338671a18413ce03ba98
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Jun 12 01:39:16 2012 +0200

    Fix race conditions in {tcp,ipc}_connecter
    
    Once the object has been terminated, it is unsafe for this object
    to refer to its parent.
    
    The bug was responsible for occasional
    test_shutdown_stress failures.

 src/ipc_connecter.cpp |   28 +++++++++++++++++++++-------
 src/ipc_connecter.hpp |    1 +
 src/ipc_listener.cpp  |    3 +--
 src/tcp_connecter.cpp |   28 +++++++++++++++++++++-------
 src/tcp_connecter.hpp |    1 +
 src/tcp_listener.cpp  |    3 +--
 6 files changed, 46 insertions(+), 18 deletions(-)

commit d8f3487ee1c15e9cd9df8a795529765f7bb00ef1
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jun 11 20:04:09 2012 +0100

    Add disconnect test
    
    Add a new section to the connect delay test that disconnects and
    reconnects a socket to ensure that some messages are appropriately
    blocked.

 tests/test_connect_delay.cpp |  121 ++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 118 insertions(+), 3 deletions(-)

commit a90c1db7d2c0d32f9a0177d46502505efac654a5
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jun 11 07:58:59 2012 +0100

    Filter read and write activated calls from the pipe to the session, and delay shutdown in terminated until the final pipe is shutdown.

 src/session_base.cpp |   18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

commit a5f7300da6aa2224638fc932fe5ca3624189b1c1
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 10 19:57:02 2012 +0100

    As Martin pointed out, there is a race condition in the old code where a pipe could start shutting down after disconnection, but the new one could connect first. This connection would not get a pipe created for it, so the messages could never flow. The simplest way round this would be a flag, but it is possibly for a very bouncy but fast connection to go up and down twice I imagine, so instead I have added a counter. This starts at zero, and will null out the pipe if terminate is called while it is zero. On a disconnect situation the counter is incremented, and the pipe is the not nulled if the value is non zero. In the terminated function it is decremented for each pipe that is shut down, and the assertion that the terminated pipe == the current pipe is skipped while it is non-zero. This should deal with the race condition and not allow any extra terminated() calls without hitting the assertion.

 src/session_base.cpp |   15 +++++++++++----
 src/session_base.hpp |    3 +++
 2 files changed, 14 insertions(+), 4 deletions(-)

commit 841cf69eb7560c425ea5fa4566048b7ab01daa42
Merge: 3053f7e ace8f75
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 10 19:18:18 2012 +0100

    Merge branch 'master' of https://github.com/zeromq/libzmq

commit ace8f753e10e3ff35791a0cbc3399958c0b039a5
Merge: e9bfd76 1f53697
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 10 04:07:12 2012 -0700

    Merge pull request #370 from hurtonm/code_cleanup
    
    Use struct keyword consistently with sockaddr and sockaddr_in

commit 1f536972115dc4daf3a279fd557f069e00686a24
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Jun 10 02:14:43 2012 +0200

    Use struct keyword consistently with sockaddr and sockaddr_in

 src/signaler.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e9bfd76f8761a6724801bf2676897f69ea87aea6
Merge: 66b7edf 602c501
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 9 07:13:30 2012 -0700

    Merge pull request #368 from hurtonm/code_cleanup
    
    Small code simplification

commit 66b7edfbd16c36e7c684bb21b4779e2b80b56266
Merge: b0792ec 796212a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jun 9 07:12:48 2012 -0700

    Merge pull request #367 from hurtonm/issue_309
    
    Fix the message decoder to ignore reserved flags.

commit 602c50117c4325c87c93f9ce038f4c1c9067a307
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 9 14:21:01 2012 +0200

    Small code simplification

 src/fq.cpp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 796212a985964162a284cc667ab09834ce681466
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 9 12:52:26 2012 +0200

    Fix the message decoder to ignore reserved flags.
    
    Failing to clear the reserved flags, the decoder may produce
    messages with 'identity' and 'shared' flags set.
    This unintended modification of message flags can lead to memory
    errors or asserion failures.
    
    Fixes issue #309

 src/decoder.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3053f7e368149044e5d5887e78fc96c1b9f33141
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 9 00:08:14 2012 +0100

    Remove unnecessary condition in assert

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5da289cd5bf0f3c367d3eb091ac66e5f4ce2b97c
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Jun 9 00:07:30 2012 +0100

    Code formatting, and clean up so that xhiccuped is only handled in case the pipe isn't terminating

 src/socket_base.cpp |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit 0bf1d0262e6b985622461888b1e2e5f732bd95b4
Merge: 67497a2 b0792ec
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jun 8 23:55:58 2012 +0100

    Merge branch 'master' of https://github.com/zeromq/libzmq

commit 67497a26439239fdb95652b46d7e4e41fe672b31
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jun 8 23:55:42 2012 +0100

    Use the hiccup mechanism to notify the socket end of the pair of the change in state, and have it shutdown that end, and shutdown the local end normally. This seems to resolve the shutdown and race condition issues.

 src/session_base.cpp |    6 +++---
 src/socket_base.cpp  |    7 ++++++-
 2 files changed, 9 insertions(+), 4 deletions(-)

commit b0792ec78a1ec7fe207f3c44c363be58a6805afe
Merge: 1c65921 db13fbf
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jun 8 15:04:09 2012 -0700

    Merge pull request #366 from hitenp/tcp-consolidate
    
    Consolidate TCP-specific common code into their own files.

commit db13fbf4a996726bd634f050c98be7a0762b2822
Author: Hiten P <hp010170@gmail.com>
Date:   Fri Jun 8 18:04:40 2012 +0100

    Consolidate TCP-specific common code into their own files.
    
    The TCP keepalive tuning code has been moved into the newly added
    files; this also allows future TCP-specific code to be added into
    these files, without bloating the IP level code and establishes a
    known file structure for other IP-based transports.
    
    Remember: this is a no-op change, hence no API or functionality
    was changed as part of this commit.

 src/Makefile.am       |    2 +
 src/ip.cpp            |   83 ---------------------------------
 src/ip.hpp            |    6 ---
 src/tcp.cpp           |  122 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/tcp.hpp           |   38 +++++++++++++++
 src/tcp_connecter.cpp |    1 +
 src/tcp_listener.cpp  |    1 +
 7 files changed, 164 insertions(+), 89 deletions(-)

commit 1c6592157b2444f96a6f1be19a673d7dec621c0d
Merge: 1dcedf7 31cb1f2
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jun 8 05:24:26 2012 -0700

    Merge pull request #365 from hitenp/master
    
    Change connection failure test to use an invalid hostname

commit 31cb1f297d5a25eec25feb263e67e23a1812339d
Author: Hiten P <hp010170@gmail.com>
Date:   Fri Jun 8 13:15:45 2012 +0100

    Change connection failure test to use an invalid hostname
    
    - invalid hostname set to 0mq.is.the.best (naturally!)
    - issue happens as other valid-like non-existent hostnames were
      redirected by buggy Cable/ISP DNS servers

 tests/test_connect_resolve.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b84b007981d9247bcc7bd000e4aeb56baed56de2
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Jun 6 23:12:56 2012 +0100

    Reverted to a simpler shutdown. This seems to disconnect and reconnect the pipe properly, but there is a problem in overall shutdown when the pipe has blocked and reconnected - the session seems to get terminated() called on it only in shutdown for the original pipe, by which point it has been replaced. I am not sure at the moment why this only happens then, but this does mean this patch is broken at the moment

 src/session_base.cpp |   21 +++++++++------------
 src/session_base.hpp |    3 ---
 2 files changed, 9 insertions(+), 15 deletions(-)

commit 889b0e6f29f0cce566339b13b8a44f3b97836b6e
Merge: 8643d71 1dcedf7
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Jun 6 15:23:51 2012 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit 1dcedf7ab16765d9008c4852361af7ad65f54bd5
Merge: 3db9bf3 271ced9
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Jun 6 07:16:29 2012 -0700

    Merge pull request #364 from AlexBio/fix_unused_variable
    
    Remove unused variable which causes build to fail with -Werror

commit 8643d71ee80a17466c87bb3ce6be79ee09c1a410
Merge: 336f727 3db9bf3
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Jun 6 15:04:56 2012 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit 3db9bf31b3a50f49ee9247ae8096a5d7f312c5fe
Merge: f611c57 4bd78bb
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Jun 6 06:29:41 2012 -0700

    Merge pull request #363 from AlexBio/fix_nosigpipe_check
    
    Check if SO_NOSIGPIPE is defined

commit 4bd78bb4cf7be4036cf7bf077738f50849e06c19
Author: Alessandro Ghedini <al3xbio@gmail.com>
Date:   Wed Jun 6 15:08:00 2012 +0200

    Check if SO_NOSIGPIPE is defined

 src/stream_engine.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 271ced98cf55447260d8c13086126b74ef1df215
Author: Alessandro Ghedini <al3xbio@gmail.com>
Date:   Wed Jun 6 11:30:41 2012 +0200

    Remove unused variable which causes build to fail with -Werror

 src/pgm_socket.cpp |    1 -
 1 file changed, 1 deletion(-)

commit f611c57c48cf6b0d89766ff45906072271c69649
Merge: 4d4674e e5bb5a6
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 5 23:47:36 2012 -0700

    Merge pull request #362 from hintjens/master
    
    Bumped version for next release (3.3.0)

commit e5bb5a60f41e7d22b360f4436d0ccce79d9c625e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 6 06:57:43 2012 +0200

    Bumped version to 3.3.0

 include/zmq.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 336f72720a99195942ced5c6aad2bb8e0baa3f32
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 5 21:44:23 2012 +0100

    The previous code to block the socket from receiving on that pipe during a disconnect was vulnerable to a race condition. This code calls with the terminate functions of both ends of the pipe - I believe this should be safer. This required storing a pointer to the socket end of the pipe

 src/session_base.cpp |    6 ++++--
 src/session_base.hpp |    3 +++
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 5008f385bab2dd89c68d7ff93e0c5b303c6043e8
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 5 18:41:38 2012 +0100

    When detaching a pipe, as well as checking the delay on connect sockopt is set, also ensure that the protocol is not pgm or epgm as we are not implementing the functionality for multicase types

 src/session_base.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 4d4674e088c74d955b6e86182ea0c89815e95881
Merge: f8b79f8 97c48cc
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 5 10:33:34 2012 -0700

    Merge pull request #360 from vortechs2000/fix_hpux
    
    Fix build on HPUX 11iv3

commit 09d18e4b3cca0bd95adfde49096be6e380097f5d
Merge: 09956de f8b79f8
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Jun 5 18:32:15 2012 +0100

    Merge branch 'master' of https://github.com/zeromq/libzmq

commit f8b79f888fa3a3743d28bb2611af0670144f7749
Merge: 897b6b5 616bcf9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jun 5 09:38:38 2012 -0700

    Merge pull request #361 from vortechs2000/fix_aix7
    
    Fix up build on AIX7

commit 897b6b58ea5830024e447e48c634d0fceb89abf9
Merge: 98ef560 3687789
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jun 5 09:11:25 2012 -0700

    Merge pull request #359 from vortechs2000/fix_older_linux_gcc
    
    Fix build on RHEL5 and SLES10

commit 97c48ccda6d772ed65b8b2f1ce4c94cf760a0270
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Tue Jun 5 09:44:02 2012 -0500

    Fix build on HPUX 11iv3
    
    The socket length variable for getsockname and accept must be an
    (int *) instead of a (socklen_t *) on HPUX.
    
    Signed-off-by: AJ Lewis <aj.lewis@quantum.com>

 src/ipc_listener.cpp |    4 ++++
 src/tcp_listener.cpp |    8 ++++++++
 2 files changed, 12 insertions(+)

commit 3687789f9d4cea0e23f462022248463d5050cc98
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Tue Jun 5 09:22:22 2012 -0500

    Fix build on RHEL5 and SLES10
    
    GCC 4.1.2 on RHEL5 and SLES10 don't like not having a newline at the
    end of a source file, and error out if it's missing.
    
    Signed-off-by: AJ Lewis <aj.lewis@quantum.com>

 tests/test_monitor.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 616bcf9fc2b0b6876014d5e5e4d52eef67a9137c
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Tue Jun 5 09:15:37 2012 -0500

    Fix up build on AIX7
    
    Copy logic from zmq.cpp into device.cpp for getting poll.h included.
    
    Ensure that zmq.h is included *after* poll.h in both zmq.cpp and
    device.cpp.
    
    Signed-off-by: AJ Lewis <aj.lewis@quantum.com>

 src/device.cpp |   25 +++++++++++++++++++++++++
 src/zmq.cpp    |    4 +++-
 2 files changed, 28 insertions(+), 1 deletion(-)

commit 09956dee939a06c0734004aa3f39c491ec49c6f8
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jun 4 11:41:20 2012 +0100

    Restoring comment for clarity

 src/session_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ace7c99b917dd66f1fcaed3cbb50c988b7e33b09
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jun 4 11:40:14 2012 +0100

    Removing unnecessary outpipe values that had been used for reconnecting existing pipes - no longer needed when using a pipe term for the delay_attach situation.

 src/session_base.cpp |    6 ------
 src/session_base.hpp |    3 ---
 2 files changed, 9 deletions(-)

commit 55cbdfcf261b41f6a9b71bb26ce7336da7f73eec
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jun 4 10:31:30 2012 +0100

    Fix incorrect whitespace in if statement

 src/session_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 29f8d9ca15f679132302ca5a9016692c2be1d6b2
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jun 4 10:29:44 2012 +0100

    Remove unnecessary extra test in pipe assertion - now we are terminating pipes we don't need to allow the case in which a pipe is rebound to the same sink

 src/pipe.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c13f1d52ff9ed51a651ad8bcc9379e82d9318e86
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Jun 4 10:27:16 2012 +0100

    On the advice of Martin Hurton, removed the new command type and just terminated the pipe in a reconnect situation, and notified the socket of the same. This handles the blocking properly, but at the cost of potentially losing in flight messages. However, this is a reasonable trade off given how much simpler it makes the patch.

 src/command.hpp      |    6 ------
 src/object.cpp       |   19 -------------------
 src/object.hpp       |    2 --
 src/session_base.cpp |   13 ++++++++-----
 src/socket_base.cpp  |   11 -----------
 src/socket_base.hpp  |    3 ---
 6 files changed, 8 insertions(+), 46 deletions(-)

commit 1566091bc6cbf2a69b19243be3906c6d92ac339a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 3 23:27:02 2012 +0100

    Rebinding on reconnection to allow for the pipe blocking will set the event sink again, which will cause an assert to be triggered. I have modified that to allow for setting the same sink to be OK. I believe this should be ok - on termination, if a pipe hasn't reconnected, it would just attempt to be erased from the pipes list again, which is reasonable

 src/pipe.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0b3478d6ecf0772c4c6e6ff4e4bdfdeef61cf003
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 3 23:11:08 2012 +0100

    Fix whitespace in test

 tests/test_connect_delay.cpp |   38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

commit b5ace39e2a48b906237d869f4f819f1a28a8cee7
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 3 23:01:24 2012 +0100

    Fix condition so that PGM and EPGM sockets always create pipes immediately, even if delay_attach_on_connect is set. This allows passing through the icanhasall flag, and is realistic given the fact those protocols should be able to connect immediately

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6f6466f0884a169fd25a48195dd9a4e2135818e6
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 3 22:57:47 2012 +0100

    Fix a number of whitespace issues in various parts of the code, add validation to most calls on the test and take a first stab at implementing the reconnection pipe blocking.
    
    It didn't seem straightforward to use any of the existing process calls, so I have added a new command to command_t and friends called detach. This instructs the socket_base to remove the pipe from it's pipe list. The session base stores a copy of the outpipe, and will resend the bind command on reconnection. This should allow balancing again.

 src/command.hpp              |    6 +++++
 src/object.cpp               |   19 ++++++++++++++
 src/object.hpp               |    2 ++
 src/session_base.cpp         |   13 +++++++++-
 src/session_base.hpp         |    8 +++---
 src/socket_base.cpp          |   17 ++++++++++---
 src/socket_base.hpp          |    3 +++
 tests/test_connect_delay.cpp |   58 +++++++++++++++++++++++++++---------------
 8 files changed, 97 insertions(+), 29 deletions(-)

commit 06485d9200ac697896dc4bd162fa4f8b4c2ddaf6
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 3 22:05:36 2012 +0100

    Remove the extra outpipe handling as the session is quite capable of delaying the creation of the pipe until the connection has happened. Simply don't build the pipe, and let it do that automatically.

 src/session_base.cpp |   32 ++------------------------------
 src/session_base.hpp |    5 +----
 src/socket_base.cpp  |   31 +++++++++++++++----------------
 3 files changed, 18 insertions(+), 50 deletions(-)

commit 297af954514d9b2097c5e2df980bbe16dd72e761
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 3 21:38:41 2012 +0100

    And another typo on the same comment

 src/session_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b79aaaf473c4ef61bbd45e711d48fceb06dc9ad1
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Jun 3 21:34:41 2012 +0100

    Remove extra brackets as suggested by Martin H, and fix up a comment which was missing a word

 src/session_base.cpp |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit f687a2989b7b4766e8ef7c459c8426e2e7ccbce7
Merge: fe3fb41 98ef560
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jun 1 21:49:07 2012 +0100

    Merge branch 'master' of https://github.com/zeromq/libzmq

commit 98ef56039ee1c43f31fd6c411447165a5046e347
Merge: c28af41 0f58a98
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jun 1 10:10:44 2012 -0700

    Merge pull request #358 from steve-o/issue-320-author
    
    Issue 320 author

commit 0f58a98b3e6b406e4eafe456351d1948e4351f47
Merge: 320684e 13976a3
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Fri Jun 1 13:03:19 2012 -0400

    Merge branch 'issue-320' of https://github.com/steve-o/libzmq into issue-320-author

commit 320684ef3998c5d8120e5e0e7b3e76cb38e5c3ad
Author: Douglas Young <rcxdude@gmail.com>
Date:   Wed May 30 20:52:19 2012 -0400

    Return error on invalid PGM url instead of raising assertion (Douglas Young).
    Fix Win32 build.

 src/decoder.cpp     |    5 +++++
 src/pgm_socket.cpp  |   52 ++++++++++++++++++++++++++++++++++-----------------
 src/pgm_socket.hpp  |    3 +++
 src/socket_base.cpp |   14 ++++++++++++++
 4 files changed, 57 insertions(+), 17 deletions(-)

commit fe3fb419fe249d7015a6c864d18464d434a55468
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Jun 1 17:58:19 2012 +0100

    After speaking with Ben Gray and the discussion on the mailing list, this is an attempt to create a sockopt to allow connecting pipes to not immediately be available for traffic. The problem is in a PUSH to many PULL situation, where there is a connect to a PULL which is not there. This connect will immediately create a pipe (unlike bind), and traffic will be load balanced to that pipe. This means if there is a persistently unavailable end point then the traffic will queue until HWM is hit, and older messages will be lost.
    
    This patch adds a sockopt ZMQ_DELAY_ATTACH_ON_CONNECT, which if set to 1 will attempt to preempt this behavior. It does this by extending the use of the session_base to include in the outbound as well as the inbound pipe, and only associates the pipe with the socket once it receives the connected callback via a process_attach message. This works, and a test has been added to show so, but may introduce unexpected complications. The shutdown logic in this class has become marginally more awkward because of this, requiring the session to serve as the sink for both pipes if shutdown occurs with a still-connecting pipe in place. It is also possible there could be issues around flushing the messages, but as I could not directly think how to create such an issue I have not written any code with regards to that.
    
    The documentation has been updated to reflect the change, but please do check over the code and test and review.

 .gitignore                   |    1 +
 doc/zmq_getsockopt.txt       |   15 +++++
 doc/zmq_setsockopt.txt       |   13 +++++
 include/zmq.h                |    1 +
 src/lb.cpp                   |    3 +-
 src/options.cpp              |   25 ++++++++
 src/options.hpp              |    4 ++
 src/session_base.cpp         |   29 ++++++++++
 src/session_base.hpp         |    6 ++
 src/socket_base.cpp          |    5 +-
 tests/Makefile.am            |    2 +
 tests/test_connect_delay.cpp |  131 ++++++++++++++++++++++++++++++++++++++++++
 12 files changed, 232 insertions(+), 3 deletions(-)

commit c28af41ca4a02484577afc6376ed278292ee43da
Merge: bc150de 89ff277
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu May 31 07:29:55 2012 -0700

    Merge pull request #356 from hurtonm/code_cleanup
    
    lb: code cleanup

commit bc150de81e5416e798b9ca4b70780198b30911f9
Merge: 4e7be10 2973eaf
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu May 31 07:29:22 2012 -0700

    Merge pull request #355 from hurtonm/fq_lb_fix
    
    Prevent connection starvation

commit 89ff277becdba92def3ea6ba4b7afe3c7af6adbe
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu May 31 15:59:59 2012 +0200

    lb: code cleanup

 src/lb.cpp |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

commit 2973eaf44629dba0b27735549fa5bb627d5a7301
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu May 31 15:34:30 2012 +0200

    Prevent connection starvation
    
    When removing a pipe from the lb or fq component,
    make sure we do not remove another pipe from the active set.

 src/fq.cpp |    5 ++++-
 src/lb.cpp |    1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

commit 4e7be102f4d09c27b76f52e9d3f84f23cebf6cff
Merge: 32befeb 13976a3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu May 31 01:19:22 2012 -0700

    Merge pull request #354 from steve-o/issue-320
    
    Return error on invalid PGM url instead of raising assertion.

commit 13976a3d656989997077dc9b1c5fe1ec42f991e9
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Wed May 30 20:52:19 2012 -0400

    Return error on invalid PGM url instead of raising assertion.
    Fix Win32 build.

 src/decoder.cpp     |    5 +++++
 src/pgm_socket.cpp  |   52 ++++++++++++++++++++++++++++++++++-----------------
 src/pgm_socket.hpp  |    3 +++
 src/socket_base.cpp |   14 ++++++++++++++
 4 files changed, 57 insertions(+), 17 deletions(-)

commit 32befeb0a6215aede34b58eb38bd853133473113
Merge: 1adb7b1 75df019
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed May 30 09:59:55 2012 -0700

    Merge pull request #353 from steve-o/master
    
    Fix title on zmq_disconnect manpage.

commit 75df0194bf50e14eec756dabbc59f1a0cfbdf027
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Wed May 30 12:53:53 2012 -0400

    Fix title on zmq_disconnect manpage.

 doc/zmq_disconnect.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1adb7b10175ddefcdc8cd60eb46cd2bd441b69b9
Merge: f7bd543 7fe45af
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 29 13:29:58 2012 -0700

    Merge pull request #352 from hurtonm/issue_370
    
    Fix issue #370

commit 7fe45af30f5978e490575b0c088cf7b444c98e9f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue May 29 21:59:22 2012 +0200

    Fix issue #370
    
    The patch extends the internal session's API with the reset method.
    This method is used to reset a session's state so that it can
    handle a new connection.

 src/req.cpp          |    5 +++++
 src/req.hpp          |    1 +
 src/session_base.cpp |   11 ++++++++---
 src/session_base.hpp |    1 +
 4 files changed, 15 insertions(+), 3 deletions(-)

commit f7bd543c36ee0850e9843eb24e21f8a9c5cbfbbd
Merge: 8152502 24b79c7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon May 28 14:34:57 2012 -0700

    Merge pull request #351 from hurtonm/code_cleanup
    
    Code cleanup

commit 24b79c7e0bcd9325c34f183666d08738f6ebdbb8
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon May 28 23:13:09 2012 +0200

    Prefer errno_assert/alloc_assert to zmq_assert

 src/ctx.cpp          |    2 +-
 src/dealer.cpp       |    2 +-
 src/dist.cpp         |    2 +-
 src/lb.cpp           |    2 +-
 src/mtrie.cpp        |   16 ++++++++--------
 src/pgm_sender.cpp   |    2 +-
 src/session_base.cpp |    7 ++++---
 src/signaler.cpp     |    4 ++--
 src/socket_base.cpp  |   10 +++++-----
 src/tcp_address.cpp  |   12 ++++++------
 src/trie.cpp         |   10 +++++-----
 src/xsub.cpp         |    8 ++++----
 12 files changed, 39 insertions(+), 38 deletions(-)

commit 013967681dda83af378ed47343dc68561ec687e3
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon May 28 22:01:37 2012 +0200

    fq: code cleanup

 src/fq.cpp |   27 +++++++++++----------------
 1 file changed, 11 insertions(+), 16 deletions(-)

commit 8152502f6924f271c63df6dae100c14c5445e468
Merge: e30e48c 130dfc5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon May 28 08:39:20 2012 -0700

    Merge pull request #350 from hurtonm/issue_369
    
    Fix issue #369

commit 130dfc5b5f0ecf23e80be16fcd307dad7e649fd7
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon May 28 17:02:08 2012 +0200

    Fix issue #369
    
    The bug was that after reconnect, the session did not
    handle identity messages properly.

 src/session_base.cpp |    4 ++++
 1 file changed, 4 insertions(+)

commit e30e48c23effe286135e727e0795b91b268986d0
Merge: 3a76d24 2ab12ef
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon May 28 02:16:29 2012 -0700

    Merge pull request #349 from hintjens/master
    
    Fixed zmq_poll.txt manpage for issue #361

commit 2ab12efe11411d0f05b08fa8eb54ff9c5b16a9a0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon May 28 11:01:18 2012 +0200

    Fixing issue #361

 doc/zmq_poll.txt |    3 +++
 1 file changed, 3 insertions(+)

commit 3a76d246a8808bf8357a91319f9b17e731e41407
Merge: 5db30fe d0b9005
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon May 28 00:47:26 2012 -0700

    Merge pull request #348 from hurtonm/code_cleanup
    
    Code cleanup

commit d0b9005ef002fce2de2fbbfa5d29fe2bef871cb5
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun May 27 23:26:14 2012 +0200

    Don't assume SOCKET_ERROR is -1 on Windows

 src/stream_engine.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit ac53f1a7284b85849e0a31fdec80e0f51293f3d0
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun May 27 22:51:56 2012 +0200

    Remove unnecessary casts

 src/pgm_socket.cpp    |    2 +-
 src/stream_engine.cpp |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit e0534643fa65890145aabfe6423695b63b1d9bb4
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun May 27 23:35:32 2012 +0200

    Simplify error handling in tcp_connecter

 src/tcp_connecter.cpp |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

commit 13ef1e4f268452a076205d9c974a33e111401ef2
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun May 27 16:10:19 2012 +0200

    Make wsa_error_to_errno pure function

 src/err.cpp           |   38 ++++++++++++++------------------------
 src/err.hpp           |    2 +-
 src/tcp_connecter.cpp |    4 ++--
 src/tcp_listener.cpp  |    8 ++++----
 src/zmq.cpp           |   12 +++++-------
 5 files changed, 26 insertions(+), 38 deletions(-)

commit a8f9a0d8918c6ede1617beda9c65ff70b5a1977a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun May 27 15:31:59 2012 +0200

    Use zmq_assert rather then assert

 src/devpoll.cpp |    4 ++--
 src/poll.cpp    |    4 ++--
 src/router.cpp  |    6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

commit 52ed4cdccf16567674e9c949da74b484b596f8a8
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun May 27 14:51:12 2012 +0200

    Remove dead code

 src/session_base.cpp  |    8 +-------
 src/stream_engine.cpp |   28 ++++------------------------
 2 files changed, 5 insertions(+), 31 deletions(-)

commit 7cfd03ba72dd91d2e8f1b246bf68dbf43ec135f4
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun May 27 15:15:09 2012 +0200

    Remove unplug from i_engine interface

 src/i_engine.hpp      |    3 ---
 src/pgm_receiver.hpp  |    4 +++-
 src/pgm_sender.hpp    |    4 +++-
 src/stream_engine.hpp |    4 +++-
 4 files changed, 9 insertions(+), 6 deletions(-)

commit 5db30fe991137e80926a549f99e45e2854d63e91
Merge: 74af2f9 b85ff17
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu May 24 06:45:27 2012 -0700

    Merge pull request #347 from methodmissing/monitor-doc-fails
    
    Fix too long underline in zmq_ctx_set_monitor() docs

commit b85ff17822b3a2b4737c964f38d82b5dde568a11
Author: Lourens NaudeÌ <lourens@methodmissing.com>
Date:   Thu May 24 09:39:48 2012 +0100

    Fix too long underline in monitor docs

 doc/zmq_ctx_set_monitor.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 74af2f9402f68b2c1d96dfaeefa69f490ae79db0
Merge: 22b4388 400f6f3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed May 23 07:21:41 2012 -0700

    Merge pull request #346 from methodmissing/monitor-regressions
    
    Rename monitor documentation source file to match zmq_ctx_set_monitor() API

commit 400f6f3863c32ebfa783acade8e36d45c9d936e7
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Wed May 23 01:35:22 2012 +0100

    Rename monitor documentation source file to match zmq_ctx_set_monitor() API

 doc/zmq_ctx_set_monitor.txt |  221 +++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_monitor.txt         |  221 -------------------------------------------
 2 files changed, 221 insertions(+), 221 deletions(-)

commit 22b4388e29fcb6cf576ef4d1e92e939560d30f99
Merge: 20152a6 1e92ee0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue May 22 16:18:54 2012 -0700

    Merge pull request #345 from methodmissing/monitor-regressions
    
    Moves the monitoring infrastructure to a global zmq_ctx_set_monitor () API to avoid strict aliasing issues with function pointers and socket options.

commit 1e92ee0a0e9f4996259c662d4a6e8f71f6f45843
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Tue May 22 23:45:15 2012 +0100

    Oust last remaning ZMQ_MONITOR reference from NEWS as well

 NEWS |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit adf7a7ade12598d14d9e7948922b68f4bab60657
Merge: 991b7fc 20152a6
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Tue May 22 23:35:30 2012 +0100

    Merge branch 'master' into monitor-regressions

commit 991b7fcc04de7d694dc54430c43f6bb01494086a
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Tue May 22 20:15:18 2012 +0100

    Rename zmq_monitor to zmq_ctx_set_monitor for compat with existing context specific APIs

 doc/Makefile.am        |    2 +-
 doc/zmq.txt            |    2 +-
 doc/zmq_monitor.txt    |   18 +++++++++---------
 include/zmq.h          |    2 +-
 src/zmq.cpp            |    2 +-
 tests/test_monitor.cpp |    2 +-
 6 files changed, 14 insertions(+), 14 deletions(-)

commit 04f0e7f26e18a2802d8683fc12ef8a67197fda6c
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Tue May 22 20:08:02 2012 +0100

    Documentation for zmq_monitor

 doc/Makefile.am        |    2 +-
 doc/zmq.txt            |    3 +
 doc/zmq_getsockopt.txt |   11 ---
 doc/zmq_monitor.txt    |  221 ++++++++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_setsockopt.txt |   40 ---------
 5 files changed, 225 insertions(+), 52 deletions(-)

commit 20152a6e3e1e46e3c930afdb2da122939f6f97e9
Merge: 7cb19fb 604456a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue May 22 07:31:28 2012 -0700

    Merge pull request #344 from hintjens/master
    
    Fixed bogus reference to zmq_ctx_put

commit 604456a8b0a1661859779d467c6cca40192c6f28
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon May 21 15:59:55 2012 -0500

    Man page for zmq_ctx_new had error, fixed

 doc/zmq_ctx_new.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f27c02d01e323c2d5d2d3d889f5e8d5a7cbff73d
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Mon May 21 21:22:16 2012 +0100

    Change context monitor_event prototype to accept a va_list instead

 src/ctx.cpp |   45 +++++++++++++++++++++------------------------
 src/ctx.hpp |    2 +-
 2 files changed, 22 insertions(+), 25 deletions(-)

commit 4767159f39001b7f5a2cc6b9d63a548a57c286d5
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Mon May 21 20:47:11 2012 +0100

    Initial stab at a context level monitor callback and registration API

 include/zmq.h          |   24 +++++++--------
 src/ctx.cpp            |   65 ++++++++++++++++++++++++++++++++++++++++-
 src/ctx.hpp            |    8 +++++
 src/options.cpp        |   24 ---------------
 src/options.hpp        |    3 --
 src/socket_base.cpp    |   56 +++--------------------------------
 src/zmq.cpp            |    8 +++++
 tests/test_monitor.cpp |   76 +++++++++++++++---------------------------------
 8 files changed, 118 insertions(+), 146 deletions(-)

commit 7cb19fbf1c736f72ac2ed35bab9645f3700be634
Merge: 65b6351 0e053e3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon May 21 06:00:02 2012 -0700

    Merge pull request #343 from jimenezrick/master
    
    Doc improvement: document interface omission in zmq_pgm.txt

commit 65b6351e4a11f4424fbd80ae0dc25f80a8c9c7bc
Merge: 5ef6331 d25dce9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon May 21 05:59:32 2012 -0700

    Merge pull request #342 from ipechorin/master
    
    Solaris/SunCC build fix: could not find a match for std::multimap<...>::insert(std::pair<...,...>)

commit 0e053e34789521b45c1fd5b982654612e8bfc2c6
Author: Ricardo Catalinas Jiménez <jimenezrick@gmail.com>
Date:   Mon May 21 14:06:34 2012 +0200

    Doc improvement: document interface omission in zmq_pgm.txt
    
    The PGM transport supports the omission of the network interface to
    select the default one like:
    
      announce.connect("epgm://eth0;239.255.128.46:64646"); // Use eth0
      announce.connect("epgm://239.255.128.46:64646"); // Use the default
    
    Also, mention C++ in the additional community bindings of 0MQ in
    zmq.txt.

 doc/zmq.txt     |    6 +++---
 doc/zmq_pgm.txt |    3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

commit e13b3723b8246b0526298698f9070d077b3322e3
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Sun May 20 18:27:59 2012 +0100

    Rename type zmq_monitor_fn -> zmq_monitor for a more natural callback definition API (zmq_monitor type, monitor.function callback)

 doc/zmq_getsockopt.txt |    2 +-
 doc/zmq_setsockopt.txt |    4 ++--
 include/zmq.h          |    2 +-
 src/options.cpp        |    6 +++---
 src/options.hpp        |    4 ++--
 tests/test_monitor.cpp |    2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

commit 06cce1547996c0aa42038d0eccfbf63efe18f0bb
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Sun May 20 18:16:23 2012 +0100

    Change zmq_monitor_fn type to cast between pointer-to-object and pointer-to-function in a more standards compliant way

 doc/zmq_setsockopt.txt |    2 +-
 include/zmq.h          |    5 ++++-
 src/socket_base.cpp    |    2 +-
 tests/test_monitor.cpp |   16 ++++++++--------
 4 files changed, 14 insertions(+), 11 deletions(-)

commit d25dce9df916b6fa646776015162415cc9efb835
Author: Ivan Pechorin <ivan.pechorin@gmail.com>
Date:   Sun May 20 13:34:08 2012 +0200

    Solaris/SunCC build fix: could not find a match for std::multimap<...>::insert(std::pair<...,...>)

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5ef63318f876fe982f24b4b209e7f961ecd9b2bf
Merge: 89d5054 c995de6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun May 13 06:39:16 2012 -0700

    Merge pull request #341 from kennytm/master
    
    Allow the ZMQ_MONITOR code compilable on gcc 4.7 on Linux.

commit c995de65847d8a97dc75294fb1b9b6a057fd3c1d
Author: KennyTM~ <kennytm@gmail.com>
Date:   Sun May 13 20:49:05 2012 +0800

    Allow the ZMQ_MONITOR code compilable on gcc 4.7 on Linux.
    
    The current ZMQ_MONITOR code does not compile in gcc 4.7, as -pedantic
    and -Werror are enabled, and ISO C++ doesn't allow casting between
    normal pointers (void*) and function pointers, as pedantically their
    size could be different. This caused the library not compilable. This
    commit workaround the problem by introducing one more indirection, i.e.
    instead of calling
    
        (void *)listener
    
    which is an error, we have to use
    
        *(void **)&listener
    
    which is an undefined behavior :) but works on most platforms
    
    Also, `optval_ = monitor` will not set the parameter in getsockopt(),
    and the extra casting caused the LHS to be an rvalue which again makes
    the code not compilable. The proper way is to pass a pointer of function
    pointer and assign with indirection, i.e. `*optval_ = monitor`.
    
    Also, fixed an asciidoc error in zmq_getsockopt.txt because the `~~~~`
    is too long.

 doc/zmq_getsockopt.txt |    2 +-
 src/options.cpp        |    6 +++---
 src/session_base.cpp   |    2 ++
 tests/test_monitor.cpp |   15 +++++++++------
 4 files changed, 15 insertions(+), 10 deletions(-)

commit 89d5054e596e61fa2cd9ae4d62be423b7d2aecf0
Merge: 70b067e d046175
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri May 11 15:18:50 2012 -0700

    Merge pull request #340 from methodmissing/events
    
    Expose a ZMQ_MONITOR socket option to register a callback for notification of state changes in socket state ( stream engine, tcp and ipc transport only )

commit d0461752ff211f4277722505c9cda6703e845943
Merge: c38aecd 70b067e
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Fri May 11 22:08:17 2012 +0100

    Merge branch 'master' into events

commit 70b067ecc6b33611aca4f68f6f19557a8e339f04
Merge: c7af07c e65d228
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri May 11 06:23:58 2012 -0700

    Merge pull request #339 from ianbarber/master
    
    Add disconnect and unbind documentation

commit e65d228f4f829d23134a97c57121a066d92a1538
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri May 11 14:17:45 2012 +0100

    gitignore endpoint test and add docs for unbind and disconnect

 .gitignore             |    1 +
 doc/zmq_disconnect.txt |   65 ++++++++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_unbind.txt     |   65 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 131 insertions(+)

commit c7af07cc773c922fc8fdae0dab740d7330edbca3
Merge: d087548 5fe6ddf
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue May 8 06:42:12 2012 -0700

    Merge pull request #336 from mauri-melato/master
    
    Fix #366 - On Windows, preventing sockets to be inherited by child processes.

commit d087548286439f02ee70b1b3793dd71c01529539
Merge: 80e8baa 6419439
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue May 8 06:41:22 2012 -0700

    Merge pull request #338 from hurtonm/code_cleanup
    
    Simplify encoder's loop

commit 641943944d1c6c148815f42f1e9a196d6cf5d925
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue May 8 13:30:13 2012 +0200

    Simplify encoder's loop

 src/encoder.hpp |   19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

commit 80e8baaff473892e5b5b4d4c59edcd146712a7d2
Merge: 5dc44a6 3d93c1a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue May 8 02:25:16 2012 -0700

    Merge pull request #337 from hurtonm/issue_268
    
    Fix issue #268

commit 3d93c1af5baded5fd1597261345438c393f3bcbd
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue May 8 09:28:17 2012 +0200

    Fix issue #268
    
    This patch fixes a bug in the message encoder which was
    responsible for computing incorrect message offset.
    The bug affected PGM receiver making it unable to
    decode inital messages.

 src/encoder.cpp |    8 +++-----
 src/encoder.hpp |   14 ++++++--------
 2 files changed, 9 insertions(+), 13 deletions(-)

commit 5fe6ddfda3ab207c579c7dc6a9b2be48bf3cdb92
Author: unknown <mauri@okinawa.(none)>
Date:   Mon May 7 15:46:55 2012 +0200

    On Windows, preventing sockets to be inherited by child processes.

 src/ip.cpp           |    6 ++++++
 src/signaler.cpp     |   10 +++++++++-
 src/tcp_listener.cpp |    6 ++++++
 3 files changed, 21 insertions(+), 1 deletion(-)

commit 5dc44a63d656be113dba904a384038c7f7b99700
Merge: 47dbd4a 37e4a38
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun May 6 03:07:35 2012 -0700

    Merge pull request #335 from jdc8/master
    
    Fix for issue 355 and fix for compile error with Visual C++ 2008

commit 37e4a38eb547942da7b0d4e901d02632918a0cf0
Author: Jos Decoster <jos.decoster@retarget.com>
Date:   Sat May 5 23:56:49 2012 +0200

    Fix compile error with Visual C++ 2008
    
    File decoder.cpp does not compile with Visual C++ 2008:
    
    1>c:\tmp\libzmq\src\decoder.cpp(117) : warning C4003: not enough actual parameters for macro 'max'
    1>c:\tmp\libzmq\src\decoder.cpp(117) : error C2589: '(' : illegal token on right side of '::'
    1>c:\tmp\libzmq\src\decoder.cpp(117) : error C2059: syntax error : '::'
    1>c:\tmp\libzmq\src\decoder.cpp(117) : error C2143: syntax error : missing ';' before '{'
    
    This error is caused by the precense of a macro 'max' when including
    'windows.h'. To solve this problem, the preprocessor macro /DNOMINMAX must
    be specified.

 builds/msvc/libzmq/libzmq.vcproj |    1 +
 1 file changed, 1 insertion(+)

commit 68c1be8bf6539a317c48810fb7af7b2e59cd7dfa
Author: Jos Decoster <jos.decoster@retarget.com>
Date:   Sat May 5 23:25:46 2012 +0200

    Fix for issue 355. Added missing source files dealer.cpp, device,cpp and router.cpp. Removed source files no longer present: xrep.cpp and xreq.cpp

 builds/msvc/libzmq/libzmq.vcproj  |   20 ++++++++++++--------
 builds/msvc/libzmq/libzmq.vcxproj |    5 +++--
 2 files changed, 15 insertions(+), 10 deletions(-)

commit c38aecdc50249df84ee585ea4cec1ee1c0f0b2df
Merge: 5c6f72c 47dbd4a
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Fri May 4 02:35:22 2012 +0100

    Merge branch 'master' into events

commit 5c6f72c17c1139f6c9699f998c9ca6eedfc535af
Author: Lourens Naudé <lourens@methodmissing.com>
Date:   Fri May 4 02:32:46 2012 +0100

    ZMQ_MONITOR socket option registers a callback / event sink for changes in socket state

 .gitignore             |    2 +
 AUTHORS                |    1 +
 NEWS                   |    2 +
 doc/zmq_getsockopt.txt |   10 ++++
 doc/zmq_setsockopt.txt |   41 ++++++++++++-
 include/zmq.h          |   68 +++++++++++++++++++++-
 src/address.cpp        |    2 +-
 src/address.hpp        |    2 +-
 src/ipc_connecter.cpp  |   14 ++++-
 src/ipc_connecter.hpp  |    3 +
 src/ipc_listener.cpp   |   20 +++++--
 src/ipc_listener.hpp   |    3 +
 src/options.cpp        |   23 ++++++++
 src/options.hpp        |    4 ++
 src/session_base.cpp   |   15 +++++
 src/session_base.hpp   |    3 +
 src/socket_base.cpp    |   58 ++++++++++++++++++
 src/socket_base.hpp    |    3 +
 src/stream_engine.cpp  |    4 ++
 src/stream_engine.hpp  |    4 ++
 src/tcp_connecter.cpp  |   14 ++++-
 src/tcp_connecter.hpp  |    4 ++
 src/tcp_listener.cpp   |   14 ++++-
 src/tcp_listener.hpp   |    4 ++
 tests/Makefile.am      |    4 +-
 tests/test_monitor.cpp |  152 ++++++++++++++++++++++++++++++++++++++++++++++++
 26 files changed, 461 insertions(+), 13 deletions(-)

commit 47dbd4aa968f756f6e8afaa17aca6553e3f46d15
Merge: f497aae 1075005
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu May 3 06:08:02 2012 -0700

    Merge pull request #334 from ianbarber/master
    
    Async connect error handling

commit 1075005b500b86aa5ca828198bfedcd0067946fd
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu May 3 13:24:12 2012 +0100

    Patch from Mato that fixes a subtle connect bug: EAGAIN was being used as a translation value for EINPROGRESS, thus
    shadowing a real EAGAIN return value from the OS.  This caused later
    assertions of "Invalid argument" in stream_engine.cpp when it attempted to
    use a socket which was not connected.
    
    I also add EINTR to mean EINPROGRESS, as per the POSIX and FreeBSD
    documentation which specifies that a connect() call interrupted due to a
    signal will complete asynchronously.
    
    Signed-off-by: Martin Lucina <martin@lucina.net>

 src/ipc_connecter.cpp |    7 +++++++
 src/tcp_connecter.cpp |   11 ++++++-----
 2 files changed, 13 insertions(+), 5 deletions(-)

commit f497aae8df340c1543dc822b6ee284dc7e4bea7d
Merge: 36bfaaa 5227f67
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Apr 29 22:33:31 2012 -0700

    Merge pull request #333 from hurtonm/fix_decoder_to_properly_handle_large_messages
    
    Fix decoder to properly handle large messages

commit 36bfaaabe68af2db492280f62fdbbe056418be9f
Merge: 9098f4d 776563f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Apr 29 22:33:16 2012 -0700

    Merge pull request #332 from hurtonm/fix_issue_264
    
    Fix issue #264

commit 9098f4d655f2a9f6a1bced2888090c1dd66acdb6
Merge: dd3eb08 394a248
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Apr 29 22:32:57 2012 -0700

    Merge pull request #331 from hurtonm/code_cleanup
    
    socket_base: process_unplug () is not used, remove it

commit dd3eb08d3325af0b91e09317c3dbd280536431ea
Merge: 16ec286 d847094
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Apr 29 22:32:39 2012 -0700

    Merge pull request #330 from hurtonm/pair_socket_rejects_additional_connections
    
    Do not crash when multiple peers connect to PAIR socket

commit d84709497edc9eba051374874e9318b2e1bacb95
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Apr 30 00:48:07 2012 +0200

    Do not crash when multiple peers connect to PAIR socket
    
    When more then one peer connected to a ZMQ_PAIR socket,
    an application aborted due to assertion failure.
    This patch changes the ZMQ_PAIR socket behaviour so that
    it rejects any further connection requests.

 src/pair.cpp |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

commit 5227f676f4259050f067386c58e6bcf7f148c333
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Apr 29 15:27:41 2012 +0200

    Fix decoder to properly handle large messages
    
    The decoder did not properly decode large messages
    on systems where sizeof (size_t) < sizeof (uint64_t).

 src/decoder.cpp |   39 ++++++++++++++++++++++++---------------
 1 file changed, 24 insertions(+), 15 deletions(-)

commit 776563fcffe975774c713ade357ea2b83d22da7c
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Apr 29 17:13:18 2012 +0200

    Fix issue #264
    
    Before this patch, the stream engine terminated itself
    whenever it had detected an IO error. If this happened
    when sending a message, the engine lost all
    in-flight messages, messages waiting to be decoded,
    and the last decoded message that had not been accepted,
    if there was one.
    
    The new behaviour is to terminate the engine only after
    the input error has been detected and the last decoded

 src/decoder.cpp       |    5 +++++
 src/decoder.hpp       |   16 ++++++++++------
 src/stream_engine.cpp |   34 +++++++++++++++++++++++++++++-----
 src/stream_engine.hpp |    1 +
 4 files changed, 45 insertions(+), 11 deletions(-)

commit 394a24857905c2489b555803170a0d640f38b4a8
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Apr 28 16:28:12 2012 +0200

    socket_base: process_unplug () is not used, remove it

 src/socket_base.cpp |    4 ----
 src/socket_base.hpp |    1 -
 2 files changed, 5 deletions(-)

commit 16ec2868c5f786b2267a003e2d3f1e4279c08d91
Merge: 7c5d79d b7c9fc0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Apr 27 11:06:14 2012 -0700

    Merge pull request #329 from ianbarber/master
    
    Tweak FD sockopt text

commit b7c9fc07505119fad234a21cdb925449eca16fc9
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Apr 27 11:22:17 2012 +0100

    Slight tweak to text for readability

 doc/zmq_getsockopt.txt |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

commit 7c5d79ddd38b5110982e02aa2c2d3dc61f111419
Merge: 29000d3 138def0
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Apr 27 03:04:42 2012 -0700

    Merge pull request #328 from tailhook/patch-1
    
    Added refinement for ZMQ_FD option

commit 138def0b992e250833020ebaca0ebb4d9a73dd71
Author: Paul Colomiets <paul@colomiets.name>
Date:   Fri Apr 27 12:55:17 2012 +0300

    Added refinement for ZMQ_FD option

 doc/zmq_getsockopt.txt |    6 ++++++
 1 file changed, 6 insertions(+)

commit 29000d3b021147384bff0e2a9d1f64b7b71cfa5d
Merge: 41c82bd 1788fd3
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Apr 26 04:59:11 2012 -0700

    Merge pull request #326 from hurtonm/pipe_code_cleanup
    
    pipe: code cleanup

commit 41c82bdda140e047533cf5b57522b5bc131b55f7
Merge: 648e319 2cbf799
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Apr 26 04:57:45 2012 -0700

    Merge pull request #327 from hurtonm/fq_drop_unused_parameter
    
    fq: remove unused parameter

commit 2cbf7993dcc52d65c9394b38e40ae5e6e4897b28
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Apr 26 13:16:51 2012 +0200

    fq: remove unused parameter
    
    The recv function accepted flags parameter but this was unused.

 src/dealer.cpp |    2 +-
 src/fq.cpp     |    6 +++---
 src/fq.hpp     |    4 ++--
 src/pull.cpp   |    2 +-
 src/router.cpp |    4 ++--
 src/xsub.cpp   |    8 ++++----
 6 files changed, 13 insertions(+), 13 deletions(-)

commit 1788fd396b609daf404a3b92bcafe98892603c71
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Apr 25 11:07:19 2012 +0200

    pipe: code cleanup

 src/pipe.cpp |   28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

commit 648e31994d4239136d2325c16500afee01aa7c33
Merge: e8b701c a2c3772
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Apr 25 01:52:06 2012 -0700

    Merge pull request #325 from hurtonm/update_comment_in_device_plus_whitespace_fixes
    
    Mention limitation of the device implementation

commit a2c3772531960df70b672f1124b090224c9784ea
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Apr 25 10:43:00 2012 +0200

    Mention limitation of the device implementation
    
    + fix whitespace errors
    + drop some unnecessary parens

 src/device.cpp |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

commit e8b701cb9285d32c21b22c3c3c9b0b6681ad965e
Merge: 9d02b3d 873abdd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Apr 25 00:27:51 2012 -0700

    Merge pull request #324 from hurtonm/rename_xrep_xreq_in_tests
    
    Rename XREP/XREQ to ROUTER/DEALER in tests

commit 9d02b3dafbb11bbfc1d14b4c663a5bce9770f0d9
Merge: 016df8e df5344b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Apr 25 00:27:19 2012 -0700

    Merge pull request #323 from hurtonm/xsub_fix_message_initialisation
    
    xsub: fix memory leak

commit 873abdd24c9d6ce42be3028555f8102a47a8b04e
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Apr 25 01:03:38 2012 +0200

    Rename XREP/XREQ to ROUTER/DEALER in tests

 tests/test_invalid_rep.cpp   |   26 +++++++++++++-------------
 tests/test_last_endpoint.cpp |    2 +-
 tests/test_msg_flags.cpp     |    4 ++--
 tests/test_reqrep_device.cpp |   28 ++++++++++++++--------------
 4 files changed, 30 insertions(+), 30 deletions(-)

commit df5344bba0a8fc21b7dd213a815964b4580fd117
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Apr 24 14:01:26 2012 +0200

    xsub: fix memory leak
    
    The implementation of the send call for XSUB socket failed
    to release and initialise empty message when duplicate
    subscription was detected.

 src/xsub.cpp |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit 016df8e89c04338898790357a115aa55d250623d
Merge: c120f02 135fdab
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Apr 24 11:18:50 2012 -0700

    Merge pull request #322 from tranthamp/master
    
    Atomic operations for armv7a

commit 135fdab0eced035e6f2aaaa306dae438165b4303
Author: Patrick Trantham <patrick.trantham@fuel7.com>
Date:   Fri Apr 13 10:48:15 2012 -0500

    Implement atomic operations for armv7a
    
    This commit implements atomic operations for the armv7a architecture
    using gcc inline assembly.  This offers higher performance compared to
    pthread mutexes.
    
    Tested on an am3517 evm, clocked at 600MHz:
    
    ./inproc_thr 200 1000000
    ------------------------
    53-60K messages / sec, pthread mutexes
    73-90K messages / sec, assembly atomic ops
    
    ./inproc_lat 200 1000000
    ------------------------
    average latency: 42.234 [us], pthread mutexes
    average latency: 35.496 [us], assembly atomic ops

 src/atomic_counter.hpp |   32 ++++++++++++++++++++++++++++++++
 src/atomic_ptr.hpp     |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

commit c120f02dc93dd7d3b1ba4ea6910d8694c3934d91
Merge: b9fb919 f858321
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Apr 21 16:06:06 2012 -0700

    Merge pull request #321 from shripchenko/master
    
    add process_commands() to the beginning of zmq_connect() and zmq_bind()

commit f858321c1c7d5a58367d52f39ff1bfc74242dab2
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Sun Apr 22 01:39:48 2012 +0400

    add process_commands() to the beginning of zmq_connect() and zmq_bind()
    
    I believe there was a conception that zmq_connect() and zmq_bind() will be called
    only at the socket creation time and therefore don't need it.
    Now it is not true anymore.

 src/socket_base.cpp |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

commit b9fb9198779a6db23aadb1cd803c76edd8dcde5a
Merge: 952127d 057fab0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Apr 21 09:52:46 2012 -0700

    Merge pull request #320 from shripchenko/master
    
    ZMQ BUG FOUND + fixes for zmq_unbind() / zmq_disconnect() usage corner cases

commit 057fab09a80728db0445313e0ed0123be128e046
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Sat Apr 21 18:56:10 2012 +0400

    fixes for zmq_unbind() / zmq_disconnect() usage corner cases
    
    1. when we call zmq_bind()/zmq_connect() to create endpoint
    we send ourselfs(through launch_child()) command to process_own(endpoint)
    (and add it to own_t::owned)
    in the application thread we could call zmq_unbind() / zmq_disconnect() _BEFORE_
    we run process_own() in ZMQ thread and in this situation we will be unable to find it in
    own_t::owned. in other words own_t::owned.find(endpoint) will not be deleted but it will be deleted from
    socket_base_t::endpoints.
    
    2. when you zmq_unbind() the lisnening TCP/IPC socket was terminated only in destructor...
    so the whole ZMQ_LINGER time listening TCP/IPC socket was able to accept() new connections
    but unable to handle them.
    
    this all geting even worse since unfortunately zmq has a bug and '*_listener_t' object not terminated
    untill the socket's zmq_close().
    AT LEAST FOR PUSH SOCKETS.
    Everything is ok for SUB sockets.
    
    Easy to reproduce without my fix:
    
    zmq_socket(PUSH)
    zmq_bind(tcp);
    // connect to  it from PULL socket
    zmq_unbind(tcp);
    
    sleep(forever)
    
    // netstat -anp | grep 'tcp listening socket'
    
    With my fix you could see that after zmq_unbind(tcp) all previously connected tcp sessions
    will not be finished untill the zmq_close(socket) regardless of ZMQ_LINGER value.
    
    (*_listener_t terminates all owned session_base_t(connect=false) and they call pipe_t::terminate()
    which in turn should call session_base_t::terminated() but this never happens)

 src/ipc_listener.cpp |    2 +-
 src/socket_base.cpp  |    6 ++++++
 src/tcp_listener.cpp |    1 +
 3 files changed, 8 insertions(+), 1 deletion(-)

commit 4f668ad60a7fa6c6000a5f7d94731a42ea295513
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Sat Apr 21 18:39:19 2012 +0400

    added zmq_unbind() / zmq_disconnect() test script.
    it works but rises very serious questions.
    
    Please add license header by your choice.
    This file for 99% resemble crossroads-io/tests/shutdown.cpp

 tests/Makefile.am            |    4 +-
 tests/test_term_endpoint.cpp |   97 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+), 1 deletion(-)

commit 74ae19ac1f31d1264e425f8fd9caa4d277d65c49
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Sat Apr 21 18:36:20 2012 +0400

    spaces deleted

 src/pipe.cpp         |    2 +-
 src/session_base.cpp |    7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

commit 952127dfd6f2948b102d240d69c23dab13d8bb84
Merge: 653e585 06b2eae
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Apr 21 06:03:00 2012 -0700

    Merge pull request #319 from shripchenko/master
    
    fix for: [zeromq-dev] head builds again but two failing tests

commit 06b2eae87da83e7127c78533a3713f8a3951ebfa
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Sat Apr 21 08:12:59 2012 +0400

    small wording change

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2faa4c487fbff3b92b3d22b4eb219e966be990ab
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Sat Apr 21 07:55:54 2012 +0400

    stupid bug. I feel ashamed ^)

 src/address.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 653e5854edffefd26ff1fadf9389d8bc74e7d9c2
Merge: d56b752 2eb6b32
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Apr 20 09:11:56 2012 -0700

    Merge pull request #318 from shripchenko/master
    
    2nd try wuth sock->unbind() and sock->disconnect(). now with const char*'s argument

commit 2eb6b32ef75ab44fdb8e734b07d1986a5baebad1
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Fri Apr 20 19:16:26 2012 +0400

    fixes for
    
    make[2]: Entering directory `/home/laotse/src/abs/zeromq-git/src/libzmq-build/src'
      CXX    libzmq_la-address.lo
    address.cpp: In destructor 'zmq::address_t::~address_t()':
    address.cpp:41:29: error: deleting object of polymorphic class type 'zmq::tcp_address_t' which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
    cc1plus: all warnings being treated as errors

 src/tcp_address.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 489481857a51b995cf837c0adf0f22425cff03a5
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Fri Apr 20 18:59:08 2012 +0400

    2nd try wuth sock->unbind() and sock->disconnect(). now with blackjack and const char*'s

 include/zmq.h       |    5 ++--
 src/options.cpp     |    9 -------
 src/options.hpp     |    4 +---
 src/socket_base.cpp |   65 +++++++++++++++++++++++++++++++--------------------
 src/socket_base.hpp |    9 ++++++-
 src/zmq.cpp         |    8 +++----
 6 files changed, 55 insertions(+), 45 deletions(-)

commit d56b75219fa60284299ca12f0b1d6e4605ca912a
Merge: 8837852 318d55f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Apr 19 01:35:08 2012 -0700

    Merge pull request #316 from pieterh/master
    
    Fixed issue #358

commit 8837852546bdd739871dd961f0b577f8db1dc2ba
Merge: 36e9c4a 7b8e728
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Apr 18 13:58:45 2012 -0700

    Merge pull request #317 from shripchenko/master
    
    implement zmq_unbind(),zmq_disconnect(), zmq->sock->getsockopt(ZMQ_LAST_ENDPOINT_ID)

commit 7b8e728e43e75c2b64c082077f5ed440a61caff4
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Wed Apr 18 23:42:11 2012 +0400

    implement zmq_unbind(),zmq_disconnect(), zmq->sock->getsockopt(ZMQ_LAST_ENDPOINT_ID)

 include/zmq.h        |    3 ++
 src/address.cpp      |   28 +++++++++++++++++-
 src/address.hpp      |    2 ++
 src/ipc_address.cpp  |   26 ++++++++++++++++-
 src/ipc_address.hpp  |    6 ++++
 src/ipc_listener.cpp |   15 +++-------
 src/ipc_listener.hpp |    2 +-
 src/options.cpp      |   10 +++++++
 src/options.hpp      |    2 ++
 src/own.cpp          |    5 ++++
 src/own.hpp          |    3 ++
 src/socket_base.cpp  |   37 +++++++++++++++++++++---
 src/socket_base.hpp  |    1 +
 src/tcp_address.cpp  |   77 ++++++++++++++++++++++++++++++++++++++++++++++++--
 src/tcp_address.hpp  |    7 +++++
 src/tcp_listener.cpp |   34 +++++-----------------
 src/zmq.cpp          |   20 +++++++++++++
 17 files changed, 230 insertions(+), 48 deletions(-)

commit 318d55fd10c351454169aa00db352b785e53d294
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Apr 18 13:14:07 2012 -0500

    Fixed issue LIBZMQ-358

 src/device.cpp |   74 ++++++++++++++++++--------------------------------------
 1 file changed, 24 insertions(+), 50 deletions(-)

commit 36e9c4ac84c414db0977ab9e6361a44732fab642
Merge: 334f99f b89a53e
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Apr 18 04:10:29 2012 -0700

    Merge pull request #315 from shripchenko/master
    
    fix bug in zmq::tcp_address_t::resolve_interface() where resolved interface ip overwrited by 0.0.0.0

commit b89a53ee7a3902781d123ed65bd5010b52ec5bfe
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Wed Apr 18 14:06:39 2012 +0400

    fix bug in zmq::tcp_address_t::resolve_interface() where all resolved interface ip's overwrited by 0.0.0.0

 src/tcp_address.cpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 334f99fb01c84e51682e2c3f139d84f589d65cf0
Merge: f663ad9 5b30089
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Apr 17 03:49:43 2012 -0700

    Merge pull request #314 from ianbarber/master
    
    Small patch to instantiate clock_t once

commit 5b3008957dcd5a68c70aef369ce89ae994eedbb6
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Apr 17 10:10:22 2012 +0100

    port of patch by Martin Sustrik to libxs: This patch instantiate a clock_t instance for each XS
    socket. Thus, it is shared between subsequent calls
    to xs_recv (and xs_send). That in turn significantly
    limits the number of invocations of  getimeofday (or similar)
    when timeouts are used and recv/send is called in a
    tight loop.

 src/socket_base.cpp |    3 ---
 src/socket_base.hpp |    4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

commit f663ad935beeedc05be44043afda0bee29afe30f
Merge: 084c182 206d80b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 16 09:09:00 2012 -0700

    Merge pull request #313 from ianbarber/master
    
    Update socket docs

commit 206d80b5ffcb36993be02547289769978b05fb41
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Apr 16 14:08:15 2012 +0100

    Make docs reflect socket mappings better

 doc/zmq_socket.txt |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 084c1824c44471136a8badaf5fb80d929828f4bb
Merge: 525be51 c77dc98
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Apr 13 03:44:07 2012 -0700

    Merge pull request #312 from shripchenko/master
    
    some spaces cleanups + delete unused anymore zmq::max_sockets + some minor code chages

commit c77dc98b5c83dcaa5ab4ecfff8f786a1cf7b2e5c
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Fri Apr 13 13:26:57 2012 +0400

    some spaces cleanups + delete unused anymore zmq::max_sockets + some minor code chages

 src/config.hpp       |    5 +----
 src/ip.cpp           |   11 +++++------
 src/options.cpp      |    4 ++--
 src/options.hpp      |    2 +-
 src/tcp_address.cpp  |   28 +++++++++++++---------------
 src/tcp_address.hpp  |    2 +-
 src/tcp_listener.cpp |    2 --
 src/tcp_listener.hpp |    2 +-
 8 files changed, 24 insertions(+), 32 deletions(-)

commit 525be5181278e4882423e785b4e004836c709140
Merge: e276df2 acba6bd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Apr 12 09:34:53 2012 -0700

    Merge pull request #311 from shripchenko/master
    
    Implement ZMQ_TCP_ACCEPT_FILTER setsockopt() for listening TCP sockets.

commit acba6bdd6cd203f70702745a821945f4a83c7fab
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Thu Apr 12 18:37:14 2012 +0400

    Implement ZMQ_TCP_ACCEPT_FILTER setsockopt() for listening TCP sockets.
    
    Assign arbitrary number of filters that will be applied for each new TCP transport
    connection on a listening socket.
    If no filters applied, then TCP transport allows connections from any ip.
    If at least one filter is applied then new connection source ip should be matched.
    To clear all filters call zmq_setsockopt(socket, ZMQ_TCP_ACCEPT_FILTER, NULL, 0).
    Filter is a null-terminated string with ipv6 or ipv4 CIDR.
    
    For example:
    localhost
    127.0.0.1
    mail.ru/24
    ::1
    ::1/128
    3ffe:1::
    3ffe:1::/56
    
    Returns -1 if the filter couldn't be assigned(format error or ipv6 filter with ZMQ_IPV4ONLY set)
    
    P.S.
    The only thing that worries me is that I had to re-enable 'default assign by reference constructor/operator'
    for 'tcp_address_t' (and for my inherited class tcp_address_mask_t) to store it in std::vector in 'options_t'...

 doc/zmq_setsockopt.txt |   16 ++++++++
 include/zmq.h          |    1 +
 src/options.cpp        |   26 ++++++++++++
 src/options.hpp        |    6 +++
 src/tcp_address.cpp    |  102 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/tcp_address.hpp    |   26 +++++++++---
 src/tcp_listener.cpp   |   28 ++++++++++++-
 src/tcp_listener.hpp   |    3 +-
 8 files changed, 201 insertions(+), 7 deletions(-)

commit e276df2bdff2b9d59e894e59ae9a23381e5dbe8b
Merge: 899778d cfa6f4b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Apr 11 04:38:12 2012 -0700

    Merge pull request #309 from hurtonm/fix_issue_335
    
    Fix issue #335

commit cfa6f4bf514792fd85d188fc6ff0933dbedefc5c
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Apr 11 10:54:05 2012 +0200

    Fix issue #335
    
    The CreateEvent function requests EVENT_ALL_ACCESS access rights
    when the event object already exists. This causes problems
    when the event object is created from a service.
    The solution is to call OpenEvent function when the CreateEvent
    failed due to access control.
    The proper solution would be to use CreateEventEx function, but
    this one is not available on Windows XP.

 src/signaler.cpp |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit 899778dcb306f0207b24e63f6e049dcb9c60ce4d
Merge: f6330f3 177264d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Apr 10 06:07:08 2012 -0700

    Merge pull request #308 from jdc8/master
    
    C++ style comments result in compile errors with non-c99 C compiler

commit 177264d941316dcc93ac5414aa58d5d3911b15af
Author: jdc8 <jos.decoster@gmail.com>
Date:   Tue Apr 10 06:33:15 2012 -0400

    c++ style comments result in compile errors with non-c99 C compiler

 include/zmq.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit f6330f3d8d69c65a30729bf39d5fddf9c911077b
Merge: 3cd0b1b 70cf2d4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 9 18:20:02 2012 -0700

    Merge pull request #307 from mkoppanen/master
    
    Handle ETIMEDOUT

commit 70cf2d41ba005aa33e732717867320f718c0b456
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Tue Apr 10 09:55:10 2012 +0900

    ETIMEDOUT is a valid error code here. Fixes intermittent assertion failure on laggy networks

 src/stream_engine.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 3cd0b1b647c4b3c08f2749c4e8d499d603a3fdb0
Merge: 4ab3c5a 4315467
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 9 10:14:35 2012 -0700

    Merge pull request #306 from shripchenko/master
    
    Implement ZMQ_TCP_KEEPALIVE* family of options to adjust TCP keepalives

commit 4315467d7cfa93d60d605d36adde12e36380ce12
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Mon Apr 9 13:39:52 2012 +0400

    documentation trimmed down to be just placeholders for who knows english better than me

 doc/zmq_getsockopt.txt |   58 +++++++++++++++++-------------------------------
 doc/zmq_setsockopt.txt |   58 +++++++++++++++++-------------------------------
 2 files changed, 40 insertions(+), 76 deletions(-)

commit 4b303402a76a5d2fe85ff8cdaf7a98d6dcfa94ee
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Fri Apr 6 20:04:35 2012 +0400

    more flexible keepalive options detection + awful options documentation

 acinclude.m4           |  112 +++++++++++++++++++++++++++++++++++++++++-------
 configure.in           |   27 +++++++++---
 doc/zmq_getsockopt.txt |   63 +++++++++++++++++++++++++++
 doc/zmq_setsockopt.txt |   66 ++++++++++++++++++++++++++++
 src/ip.cpp             |   37 ++++++++++++++--
 src/options.cpp        |    9 ++--
 6 files changed, 286 insertions(+), 28 deletions(-)

commit 0c3d9179262ab431b8949b8646eed9a1a1e4a233
Author: Sergey KHripchenko <shripchenko@intermedia.net>
Date:   Thu Apr 5 19:39:53 2012 +0400

    initial implementation of tuning TCP keep-alives for TCP socket
    currently not fully cross-platform
    work on linux
    possibly work in *bsd
    and could be enhanced to work on windows

 acinclude.m4          |   55 ++++++++++++++++++++++++
 configure.in          |   10 +++++
 include/zmq.h         |    5 +++
 src/ip.cpp            |   31 ++++++++++++++
 src/ip.hpp            |    3 ++
 src/options.cpp       |  111 ++++++++++++++++++++++++++++++++++++++++++++++++-
 src/options.hpp       |    9 +++-
 src/tcp_connecter.cpp |    1 +
 src/tcp_listener.cpp  |    1 +
 9 files changed, 223 insertions(+), 3 deletions(-)

commit 4ab3c5a285b858159c957139eb991ce6f727c05a
Merge: 88db804 12c0c6a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Apr 5 07:17:29 2012 -0700

    Merge pull request #305 from hurtonm/fix_identity_exchange_for_inproc_transport
    
    Fix identity exchange for inproc transport

commit 12c0c6aa74c064a1590bb08dc97f16a8a70c27d6
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Apr 5 15:32:45 2012 +0200

    Fix identity exchange for inproc transport
    
    The socket connecting using the inproc transport never
    received the identity of the remote peer.

 src/socket_base.cpp |   12 ++++++++++++
 1 file changed, 12 insertions(+)

commit 88db804bb98cf0443864695c104bee3c5a1a284b
Merge: 5bc9fd6 b41036a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Apr 4 16:35:41 2012 -0700

    Merge pull request #304 from hurtonm/flush_identity_message_for_inproc_transport
    
    Flush identity message for inproc transport

commit b41036aa2ab881afe57bfecaf658919b02d504f7
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Apr 5 01:01:50 2012 +0200

    Flush identity message for inproc transport
    
    The scoket implementation for inproc transfer failed to flush
    identity message. The result was that the identity message
    was not delivered until after the user sent the first message.
    
    The identity message was never delivered if the user
    used the socket only to receive messages.

 src/socket_base.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 5bc9fd62c536a97c25d171b893af243403148fa5
Merge: a969028 d8c5808
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Apr 4 06:45:26 2012 -0700

    Merge pull request #303 from pieterh/master
    
    Fixed issue #351

commit d8c58080a7600bb838b0ee8c73aaa9a291815c97
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Apr 4 14:39:11 2012 +0100

    Fixed issue #351

 include/zmq.h |    3 +++
 1 file changed, 3 insertions(+)

commit a96902897722826d1b718b9b5468b48843e093f9
Merge: 2faedd9 9a60b3a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Apr 3 00:34:21 2012 -0700

    Merge pull request #302 from hurtonm/router_bugfix
    
    Fix error in router socket introduced in the previous commit

commit 9a60b3a2a197f1f1f48cf0bf6fa3e5e61e7efb6a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Apr 3 09:28:38 2012 +0200

    Fix error in router socket introduced in the previous commit

 src/router.cpp |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 2faedd9e085613d5facfad93fd572a877fc8dd35
Merge: 5c6e278 600488f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Apr 2 13:23:52 2012 -0700

    Merge pull request #300 from hurtonm/router_send_fixes
    
    router: always respect message boundaries

commit 5c6e278887fd9f383431968a39bf50a51b88f402
Merge: 476c9b9 f037290
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Apr 2 13:23:19 2012 -0700

    Merge pull request #301 from hurtonm/router_rework_peer_identification
    
    router: reimplement peer identification

commit 600488fa9c84523314e6084c7a8c3657467e0599
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Apr 2 20:10:04 2012 +0200

    router: always respect message boundaries
    
    The current implementaion of router socket does not
    handle the full pipe and unroutable messages properly.
    Namely, in those cases, the socket could route some
    message parts into a wrong connection.

 src/router.cpp |    2 --
 1 file changed, 2 deletions(-)

commit f037290dc39eafd0676f7b79216531d05a205619
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Apr 2 19:51:37 2012 +0200

    router: reimplement peer identification
    
    The new implementation allows one to send messages through
    a router socket to a peer even before receiving
    messages from this peer.
    
    Fixes issue #304

 src/router.cpp |  235 ++++++++++++++++++++++++++++----------------------------
 src/router.hpp |   17 +++-
 2 files changed, 132 insertions(+), 120 deletions(-)

commit 476c9b97c967dfe8f8b973290e75bcca9304326a
Merge: 3eaae8b 9728706
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Mar 29 05:50:52 2012 -0700

    Merge pull request #299 from pieterh/master
    
    Added checking to zmq_ctx_set()

commit 9728706b1036246952b538bac19ebe30afa9ac80
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Mar 29 07:46:46 2012 -0500

    Added optval checking in zmq_ctx_set

 src/ctx.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3eaae8b21e7ee8d0e183732201942172d8791b4a
Merge: cecc790 eb8217b
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Mar 28 23:35:04 2012 -0700

    Merge pull request #298 from pieterh/master
    
    Fixed issue (unknown) on zmq_init(-1)

commit eb8217bb288811c2f874d58845379bd9f8f4c0a5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Mar 29 00:47:11 2012 -0500

    Fixed zmq_init(-1) issue

 src/zmq.cpp |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

commit cecc790ca3f2b289a816e02a4e99bab518eecaa3
Merge: 8da7271 77d93d7
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Mar 28 03:51:13 2012 -0700

    Merge pull request #297 from hurtonm/code_cleanup
    
    Code cleanup

commit 8da7271042bdd0fcac8560843a7f02949e975f4d
Merge: ed65271 1e2564a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Mar 28 03:50:02 2012 -0700

    Merge pull request #296 from hurtonm/fix_router_send
    
    Fix return value of send for router socket

commit 1e2564a55feb45f9260812a96f8b18c2cc17dbae
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Mar 28 07:39:18 2012 +0200

    Fix return value of send for router socket

 src/router.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 77d93d70f07a9f41f82bc16e430a078f4f230a27
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Mar 28 06:56:53 2012 +0200

    Simplify use of posix_assert in mutex.hpp
    
    It is the job of the posix_assert macro to check
    the value. No need to do it twice.
    
    The patch also fixes some whitespace problems.

 src/mutex.hpp |   28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

commit e7674025e583044c7d6a52cd54033973df934bef
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Mar 28 06:49:25 2012 +0200

    Remove the launch_sibling method
    
    The method is not used anymore.

 src/own.cpp |   18 ------------------
 src/own.hpp |    4 ----
 2 files changed, 22 deletions(-)

commit 6f47f1281bcd56a085097cecfeaa1064f90fb19e
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Mar 28 06:38:25 2012 +0200

    Do not pass a message to the check_write method
    
    The check_write method does not use the passed message.
    The parameter was needed to implement the swap.
    As the swap is not supported anymore, it is safe to remove this parameter.

 src/lb.cpp     |   12 ++----------
 src/pair.cpp   |    8 +-------
 src/pipe.cpp   |    4 ++--
 src/pipe.hpp   |    2 +-
 src/router.cpp |    8 +-------
 5 files changed, 7 insertions(+), 27 deletions(-)

commit ed65271c52ef586607bcde066ccac65adfac0446
Merge: 19f364e 9c46e87
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Mar 27 01:55:20 2012 -0700

    Merge pull request #295 from hurtonm/tcp_address_fixes_anc_cleanups
    
    Tcp address fixes anc cleanups

commit 9c46e8758888546dbf15102b218b92cefb4693bf
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Mar 27 06:26:39 2012 +0200

    tcp_address: minor cleanups

 src/tcp_address.cpp |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

commit 700e08c3c278b5ac67985404ab3e97a608bbf2fd
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Mar 27 06:45:03 2012 +0200

    tcp_address: make port number conversion more robust
    
    This still rejects 00 as port number.

 src/tcp_address.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c428f6aece6447b9a32bd6430f80a4b22e51663a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Mar 27 06:16:33 2012 +0200

    tcp_address: check address length before manipulating it

 src/tcp_address.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 19f364e20268befc0d98d0703ceaaba15537a7ad
Merge: 4c93fc2 2bcc300
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Mar 26 14:41:12 2012 -0700

    Merge pull request #294 from pieterh/master
    
    Fixed issue LIBZMQ-348 - Valgrind support

commit 2bcc300a0ff22d426e012085e8464fa73d6417dc
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 26 16:31:10 2012 -0500

    Fixed issue #348

 builds/valgrind/valgrind.supp |   14 ++++++++++++
 builds/valgrind/vg            |    1 +
 src/object.cpp                |   48 -----------------------------------------
 3 files changed, 15 insertions(+), 48 deletions(-)

commit 4c93fc25879213824c4fb4c9545f895ed7f43b95
Merge: 64732ae 084e1c2
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Mar 26 08:12:53 2012 -0700

    Merge pull request #291 from rcxdude/bugfix
    
    Fix for issue #307

commit 64732aeca31176e27f3b8d69220f5f66fb82503e
Merge: dc4d61f c2e9997
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Mar 26 08:12:12 2012 -0700

    Merge pull request #293 from hurtonm/fix_getaddrinfo_for_ipv6_on_freebsd
    
    Don't set the AI_V4MAPPED flag on FreeBSD

commit c2e9997a3c16d19a80fe5ca51760fd5eb9d7ff46
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Mar 25 23:51:51 2012 +0200

    Don't set the AI_V4MAPPED flag on FreeBSD
    
    The problem is that even though the AI_V4MAPPED flag is defined
    on FreeBSD, the getaddrinfo function does not support it and
    returns EAI_BADFLAGS.
    
    The patch also sets the flag on Windows if it is defined there.
    This is true for Windows Vista and later.
    
    Fixes issue #331.

 src/tcp_address.cpp |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

commit dc4d61f38ba967ebcf456892bea3c7dcfb33d485
Merge: 6d776d0 00b4571
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Mar 25 12:18:31 2012 -0700

    Merge pull request #292 from hurtonm/fix_issue_334
    
    Fixed issue #334

commit 00b4571bf1990e7c918ce6736c77757733848f5b
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sun Mar 25 20:06:06 2012 +0200

    Fixed issue #334

 src/session_base.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 084e1c2193d73fe8db29603679e61f89907272ff
Author: Douglas Young <rcxdude@gmail.com>
Date:   Sun Mar 25 17:50:55 2012 +0100

    Fix for issue #307
    
    dist was skipping over pipes when one failed because the non-working pipe got
    swapped with a working pipe but the write was never retried on that pipe

 src/dist.cpp |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 6d776d08658d41fda2986f49103f6b1689663872
Merge: c861fb4 ba798ee
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Mar 23 15:52:42 2012 -0700

    Merge pull request #290 from pieterh/master
    
    Fixed issue #325

commit ba798ee8f34f8d118a4e8296ac8335d10511653a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Mar 23 17:32:26 2012 -0500

    Fixed issue #325

 doc/zmq_setsockopt.txt |    3 +++
 1 file changed, 3 insertions(+)

commit 82c06e4417795ebc3e7760af6b02a3d9fd895da6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Mar 23 17:29:04 2012 -0500

    Fixed issue #325

 src/router.cpp |   41 +++++++++++++++++++++++------------------
 1 file changed, 23 insertions(+), 18 deletions(-)

commit c861fb4c831d2a7927e11a0256a688149ab80c0d
Merge: 712e36d 3585ec8
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Mar 22 15:20:53 2012 -0700

    Merge pull request #289 from pieterh/master
    
    Makefile.am wasn't fixed, so libzmq was not building

commit 3585ec8aea9369580e4a5718b0e8ef7f37551ee8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Mar 22 16:47:17 2012 -0500

    Fixed Makefile for ROUTER/DEALER rename

 src/Makefile.am |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 712e36d29cce7a09c9b703ff5063b1642e40d75b
Merge: 6f720f0 27c28bd
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Mar 22 14:44:43 2012 -0700

    Merge pull request #288 from pieterh/master
    
    Mark sockets as invalid when closed, not reaped

commit 27c28bdc2e2c1aa3d3dfeca055cc03165f6f98ca
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Mar 22 15:55:05 2012 -0500

    Mark sockets as invalid when closed, not when destroyed
    
    Previously, sockets were still "valid" after being closed and only marked
    as invalid when destroyed. This meant programs could access closed sockets.
    Now the socket is marked "invalid" when closed.

 src/socket_base.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 6f720f0026f9966e402a4f3d18df79614e19cfae
Merge: 0480ce1 c12fedc
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Mar 22 13:30:48 2012 -0700

    Merge pull request #287 from pieterh/master
    
    Completed internal renaming of XREP/XREQ to ROUTER/DEALER

commit c12fedc70a09e1701dbafaac4555245c9561603d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Mar 22 11:36:19 2012 -0500

    Completed internal renaming of XREP/XREQ to ROUTER/DEALER

 src/dealer.cpp       |  128 +++++++++++++++++++
 src/dealer.hpp       |   92 ++++++++++++++
 src/rep.cpp          |   16 +--
 src/rep.hpp          |    6 +-
 src/req.cpp          |   26 ++--
 src/req.hpp          |    6 +-
 src/router.cpp       |  342 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/router.hpp       |  128 +++++++++++++++++++
 src/session_base.cpp |   12 +-
 src/socket_base.cpp  |   12 +-
 src/xrep.cpp         |  342 --------------------------------------------------
 src/xrep.hpp         |  128 -------------------
 src/xreq.cpp         |  128 -------------------
 src/xreq.hpp         |   92 --------------
 14 files changed, 729 insertions(+), 729 deletions(-)

commit 0480ce18207120a2b44ed4ef264b2ecb73e691a2
Merge: 3b483a8 75809b2
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Mar 22 09:09:15 2012 -0700

    Merge pull request #286 from pieterh/master
    
    Fixed issue LIBZMQ-345 - race condition in ctx.socket/term allows segfault

commit 75809b27da53767df03c9cf5e065a19fba62533b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Mar 22 11:03:32 2012 -0500

    Fixed issue LIBZMQ-345 - race condition in ctx.socket/term allows segfault

 src/ctx.cpp |    9 +++------
 src/ctx.hpp |    2 +-
 2 files changed, 4 insertions(+), 7 deletions(-)

commit 3b483a8dd7ed8b2009e0872f1b382ec56aef933f
Merge: 84707d3 151d071
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Mar 22 03:32:43 2012 -0700

    Merge pull request #285 from hurtonm/ctx_patches
    
    Ctx patches

commit 84707d3feb5a71e4a279b3e6e58fcb19240b89aa
Merge: 8a64d80 860e1d2
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Mar 22 03:31:02 2012 -0700

    Merge pull request #284 from pieterh/master
    
    Fixed issue LIBZMQ-344 - Implementation of ZMQ_FAIL_UNROUTABLE is broken

commit 151d0717bb214f318bfb6377e037f3702ca52f6e
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Mar 22 07:06:17 2012 +0100

    Minor cleanups
    
    * corrects whitespace errors
    * fixes spelling errors in comments
    * prefers #ifdef to #if defined

 src/ctx.cpp |    8 ++++----
 src/ctx.hpp |   20 ++++++++++----------
 2 files changed, 14 insertions(+), 14 deletions(-)

commit ae2b9383303c9d3dd2e402fb026a3f43c97d0fc7
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Mar 22 06:51:41 2012 +0100

    register_endpoint: simplify locking

 src/ctx.cpp |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit e56f698023250831520b2566398b3fdc36181e15
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Mar 22 06:55:12 2012 +0100

    choose_io_thread: do not assert when no I/O thread was chosen

 src/ctx.cpp |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit f944336ee0110268e8b550c052e70d6244be852d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Mar 22 06:46:04 2012 +0100

    Fix race condition in find_endpoint

 src/ctx.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 860e1d24c08c82c0dea2b8cee5af44ec3837deac
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Mar 21 17:43:52 2012 -0500

    Fixed issue #344

 src/xrep.cpp |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

commit 8a64d80fba9ff510000a17edbee5d291f66e895b
Merge: 0afd8a8 f26e4ab
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Mar 21 13:21:21 2012 -0700

    Merge pull request #283 from pieterh/master
    
    Fixed issue LIBZMQ-343 - zmq_msg_get/set are too complex

commit f26e4ab7840720e69c5015030f22a715779a2189
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Mar 21 14:19:40 2012 -0500

    Simplified zmq_msg_get/set functions
    
    * Return integer property
    * Fixed up man pages, which were inaccurate
    * Fixed test case

 .gitignore               |    1 +
 doc/zmq_msg_get.txt      |   42 ++++-----
 doc/zmq_msg_more.txt     |    4 +-
 doc/zmq_msg_set.txt      |   18 ++--
 include/zmq.h            |    7 +-
 src/zmq.cpp              |   21 +----
 tests/test_last_endpoint |  225 ----------------------------------------------
 tests/test_msg_flags.cpp |   13 +--
 8 files changed, 36 insertions(+), 295 deletions(-)

commit 0afd8a87d55e39342411a1998b6866f378c2b676
Merge: cd57c43 6dd102c
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Mar 20 13:14:59 2012 -0700

    Merge pull request #281 from pieterh/master
    
    Applied patch for issue #293 - zmq 2.1 doesn't follow the ZMTP/1.0 spec

commit cd57c4388019c649d488c19531dca71a167ec902
Merge: 58378c6 35233f9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 20 12:50:57 2012 -0700

    Merge pull request #282 from hurtonm/remove_unused_variable
    
    remove unused variable

commit 58378c6a2c8c7d4a22d1aab9c1991d4ff64db65b
Merge: 60e45f3 0a6fc02
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 20 12:50:43 2012 -0700

    Merge pull request #280 from hurtonm/fix_ipc_connecter
    
    fix connection establishment for AF_UNIX sockets

commit 35233f9e2f93859f45a8c03d16f81d0faf20162c
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Mar 20 19:34:10 2012 +0100

    remove unused variable

 src/tcp_listener.cpp |    1 -
 src/tcp_listener.hpp |    3 ---
 2 files changed, 4 deletions(-)

commit 0a6fc0270292889921c14b6e07964d9b1b63d6c6
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Mar 20 18:54:17 2012 +0100

    fix connection establishment for AF_UNIX sockets

 src/ipc_connecter.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 60e45f34b673039ee168d9192b648c26750e7d6e
Merge: 7d6d2f9 1e4c5b2
Author: Chuck Remes <cremes@mac.com>
Date:   Tue Mar 20 09:42:18 2012 -0700

    Merge pull request #279 from pieterh/master
    
    Wrote new ctx API, added ZMQ_MAX_SOCKETS and ZMQ_IO_THREADS

commit 6dd102cdedc404d6461e36c06291aab8abd2fada
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 20 10:53:51 2012 -0500

    Fixed issue #293

 src/encoder.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 1e4c5b293af996928a2048b973978860c7de04c9
Merge: 7d6d2f9 6e71a54
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 20 10:18:15 2012 -0500

    Merge branch 'issue-337'

commit 7d6d2f940815b066a80bd59e25f4e76c88ea2386
Merge: 5973da4 1075812
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Mar 20 07:06:33 2012 -0700

    Merge pull request #278 from taurel/master
    
    Disable reconnection option

commit 107581213cd04e14d5b44efa1730a0134f958a92
Author: Emmanuel Taurel <taurel@esrf.fr>
Date:   Tue Mar 20 09:22:27 2012 +0100

    Disable reconnection option
    
    Add value -1 to the ZMQ_RECONNECT_IVL to disable the reconnection algorithm

 doc/zmq_getsockopt.txt |    2 +-
 doc/zmq_setsockopt.txt |    2 +-
 src/options.cpp        |    2 +-
 src/session_base.cpp   |    3 ++-
 4 files changed, 5 insertions(+), 4 deletions(-)

commit 5973da486696aca389dab0f558c5ef514470bcd2
Merge: 87fa8e7 9426bd5
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Mar 20 00:28:19 2012 -0700

    Merge pull request #277 from pieterh/master
    
    Removed sys:// logging infrastructure

commit 9426bd5baf5010b547368ad88f11263f2d6bfb66
Merge: 87fa8e7 bdefa18
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 19 23:15:15 2012 -0500

    Merge branch 'issue-336'

commit 87fa8e78bf9e0143f8a7c56a7efa943adee52556
Merge: 8665f9a 06dd31c
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Mon Mar 19 18:51:05 2012 -0700

    Merge pull request #276 from pieterh/master
    
    Removed last vestiges of thread-safe sockets

commit 6e71a54b1efe1ddb1805c6cc49e3f91492622a81
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 19 19:41:20 2012 -0500

    Fixed issues #337, #341, and #340
    
    * Implemented new ctx API (_new, _destroy, _get, _set)
    * Removed 'typesafe' macros from zmq.h
    * Added support for MAX_SOCKETS (was tied into change for #337)
    * Created new man pages

 doc/Makefile.am          |    6 +-
 doc/zmq.txt              |   18 +++-
 doc/zmq_ctx_destroy.txt  |   66 ++++++++++++++
 doc/zmq_ctx_get.txt      |   67 ++++++++++++++
 doc/zmq_ctx_new.txt      |   49 ++++++++++
 doc/zmq_ctx_set.txt      |   75 ++++++++++++++++
 doc/zmq_init.txt         |    1 +
 doc/zmq_term.txt         |    1 +
 include/zmq.h            |   89 ++++++++----------
 src/ctx.cpp              |  191 ++++++++++++++++++++++++++-------------
 src/ctx.hpp              |   29 ++++--
 src/options.cpp          |    5 +-
 src/options.hpp          |    3 +
 src/pair.cpp             |    4 +-
 src/pair.hpp             |    2 +-
 src/pub.cpp              |    6 +-
 src/pub.hpp              |    4 +-
 src/pull.cpp             |    4 +-
 src/pull.hpp             |    2 +-
 src/push.cpp             |    4 +-
 src/push.hpp             |    2 +-
 src/rep.cpp              |    6 +-
 src/rep.hpp              |    2 +-
 src/req.cpp              |    4 +-
 src/req.hpp              |    4 +-
 src/socket_base.cpp      |   27 +++---
 src/socket_base.hpp      |    6 +-
 src/sub.cpp              |    6 +-
 src/sub.hpp              |    4 +-
 src/xpub.cpp             |    4 +-
 src/xpub.hpp             |    2 +-
 src/xrep.cpp             |    4 +-
 src/xrep.hpp             |    2 +-
 src/xreq.cpp             |    4 +-
 src/xreq.hpp             |    2 +-
 src/xsub.cpp             |    4 +-
 src/xsub.hpp             |    2 +-
 src/zmq.cpp              |   58 ++++++++----
 tests/test_last_endpoint |  225 ++++++++++++++++++++++++++++++++++++++++++++++
 39 files changed, 798 insertions(+), 196 deletions(-)

commit bdefa181eddddf49306d4d618f169da5ee3dfc49
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 19 16:15:09 2012 -0500

    Fixed issue 336

 src/ctx.cpp         |   37 -------------------------------------
 src/ctx.hpp         |    8 --------
 src/object.cpp      |    8 --------
 src/socket_base.cpp |    6 +++---
 4 files changed, 3 insertions(+), 56 deletions(-)

commit 06dd31c56aaa98da2063c710f78aed8718d0996c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 19 15:50:53 2012 -0500

    Removed last vestiges of thread-safe sockets

 src/ctx.cpp         |   10 ----------
 src/ctx.hpp         |    6 ------
 src/socket_base.cpp |   19 +------------------
 src/socket_base.hpp |    3 ---
 4 files changed, 1 insertion(+), 37 deletions(-)

commit 8665f9a0b61cd6de2b02282192c19b01660e887b
Merge: 32c85e0 9ccfbf8
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sat Mar 17 10:17:39 2012 -0700

    Merge pull request #275 from pieterh/master
    
    Fixed issue LIBZMQ-333 (zmq_devices is missing)

commit 9ccfbf8d3048cc3d006a0ce97c8d5d99527b2eb1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Mar 17 11:12:11 2012 -0500

    Removed zmq.hpp, may add this back in separate commit

 include/zmq.hpp |  296 -------------------------------------------------------
 1 file changed, 296 deletions(-)

commit 9ac40c47d7fc3f47859a914147a0a840505e868c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Mar 16 16:39:11 2012 -0500

    Fixed issue LIBZMQ-333
    
     - reverted commit 941be8d2175332cb720f390f93d07a0870db8824.
     - fixed zmq_device implementation for latest socket_base class
     - added back zmq_device.3 man page

 builds/redhat/zeromq.spec.in |    7 +
 doc/Makefile.am              |    2 +-
 doc/zmq.txt                  |   10 ++
 doc/zmq_device.txt           |  125 ++++++++++++++++++
 doc/zmq_socket.txt           |    3 -
 include/zmq.h                |   10 ++
 include/zmq.hpp              |  296 ++++++++++++++++++++++++++++++++++++++++++
 src/Makefile.am              |    2 +
 src/device.cpp               |  120 +++++++++++++++++
 src/device.hpp               |   32 +++++
 src/zmq.cpp                  |   47 +++++++
 11 files changed, 650 insertions(+), 4 deletions(-)

commit 32c85e0ea39e46ee9b40f814d18b939a17ac40f0
Merge: 62d27b7 cb70c5e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Mar 15 09:01:15 2012 -0700

    Merge pull request #274 from Kobolog/master
    
    An options to choose the behavior for unroutable messages in ZMQ_ROUTER sockets

commit cb70c5e75d3cdc23f0264830b5eabf72c4b5543b
Author: Kobolog <me@kobology.ru>
Date:   Thu Mar 15 15:15:44 2012 +0300

    fixed some typos

 include/zmq.h |    2 +-
 src/xrep.cpp  |    8 ++++----
 src/xrep.hpp  |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

commit 8095a129e8114341667d2d82d21cfcfc92456fbb
Author: Kobolog <me@kobology.ru>
Date:   Thu Mar 15 15:06:44 2012 +0300

    man entry for the new option

 doc/zmq_setsockopt.txt |   20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

commit df584a3be04cac3fffb8b8b319d7351c8d9b6345
Author: Kobolog <me@kobology.ru>
Date:   Thu Mar 15 14:57:38 2012 +0300

    an option to fail on unroutable messages in ROUTER sockets

 include/zmq.h |    1 +
 src/xrep.cpp  |   31 ++++++++++++++++++++++++++++---
 src/xrep.hpp  |    4 ++++
 3 files changed, 33 insertions(+), 3 deletions(-)

commit 62d27b7af3560b3cd5bc95ea216243dc268116eb
Merge: f967430 318ba88
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Mar 14 08:27:04 2012 -0700

    Merge pull request #273 from BoresExpress/wm5
    
    Add WinCE support.

commit 318ba8836f1e86f23a876788f37406de7c52774c
Author: boris@boressoft.ru <Ñ÷¸òíàÿ êîìèññèÿ@DANCE-SERVER-2.(none)>
Date:   Wed Mar 14 19:12:28 2012 +0400

    Add WinCE support.
    
    * Added two new files: errno.hpp and errno.cpp. They are required to use errno functionality on WM.
    * zmq.cpp, msg.h: removed inclusion of errno.h because it is included in zmq.h that is also included by .cpp.
    * windows.hpp: process.h is included only for desktop builds.
    * thread.cpp: on CE CreateThread is used instead of __beginthreadex
    * socket_base.cpp, clock.cpp: on CE include cmnintrin.h instead on intrin.h
    * signaler.cpp: on Windows should use special macro around event name (for unicode builds)
    * err.hpp: make it include errno.hpp (my file) instead on errno.h when building for CE
    * err.cpp: use FormatMessage when building for CE (because CE does not have ANSI API functions)
    * zmq.h: do not include errno.h whe building for CE
    * libzmq.vcproj: add tro new files

 builds/msvc/errno.cpp            |   32 ++++++++++++++++++++++
 builds/msvc/errno.hpp            |   56 ++++++++++++++++++++++++++++++++++++++
 builds/msvc/libzmq/libzmq.vcproj |    8 ++++++
 include/zmq.h                    |    2 ++
 src/clock.cpp                    |    4 +++
 src/err.cpp                      |    6 ++++
 src/err.hpp                      |    4 +++
 src/msg.cpp                      |    1 -
 src/signaler.cpp                 |    2 +-
 src/socket_base.cpp              |    4 +++
 src/thread.cpp                   |    9 ++++++
 src/windows.hpp                  |    2 ++
 src/zmq.cpp                      |    1 -
 13 files changed, 128 insertions(+), 3 deletions(-)

commit f9674308e8f4ab3271adf07fa93b404ae0fc9ea4
Merge: 19d3096 020f777
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Mar 12 15:22:00 2012 -0700

    Merge pull request #272 from staticfloat/patch-1
    
    Eliminate unnecessary line break

commit 020f777e097d7e3a1eba534126cb479bf786519b
Author: staticfloat <staticfloat@gmail.com>
Date:   Mon Mar 12 15:18:32 2012 -0700

    Eliminate unnecessary line break

 doc/zmq_term.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 19d30969cff3ad07153ca4448f9603728263ec59
Merge: 4c59b1f ce24bf0
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Mar 6 07:22:34 2012 -0800

    Merge pull request #271 from BoresExpress/bug1
    
    Changed wrong file name in VC++ project.

commit ce24bf04dde0fb6ee39a836dfebaf4f9bd87014d
Author: boris@boressoft.ru <Ñ÷¸òíàÿ êîìèññèÿ@DANCE-SERVER-2.(none)>
Date:   Tue Mar 6 18:21:55 2012 +0400

    Changed wrong file name in VC++ project.
    
    Name of the file in the project does not match actual file name:
    adress.cpp VS. address.cpp

 builds/msvc/libzmq/libzmq.vcproj |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4c59b1fb2f68ac481556e22427ce243fff81edca
Merge: 0fed3a3 3aabbba
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Mar 1 14:25:11 2012 -0800

    Merge pull request #270 from rgagnon24/master
    
    Fix IPC transport domain socket stream file not being removed when connection is closed

commit 3aabbbaefa11217426f134f3d65efa1206ff8c96
Author: Rob Gagnon <rgagnon24@gmail.com>
Date:   Thu Mar 1 21:49:46 2012 +0000

    Fix IPC transport domain socket stream file not being removed when connection is closed

 src/ipc_listener.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 0fed3a3fca2ea7a5e6cfe8566aa1b5a28d56ee0b
Merge: 3f8322b 5820438
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 27 08:10:21 2012 -0800

    Merge pull request #269 from datasift/master
    
    patch for LIBZMQ-328

commit 5820438b64b0f22bbf50a28fa6d905fd6e085182
Author: Ben Gray <ben@benjamg.com>
Date:   Mon Feb 27 16:06:56 2012 +0000

    update lower bound flag when removing topics

 src/trie.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 3f8322beff81fb5ed951bf43dc90d1623e52a565
Merge: 7689d20 3485b3e
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Feb 27 03:00:49 2012 -0800

    Merge pull request #268 from gimaker/compact-trie-table
    
    Fixed a bug in the mtrie table compaction logic.

commit 3485b3ef40c435a4ac03fcc5f7341fad7aa2d5b5
Author: Staffan Gimåker <staffan@spotify.com>
Date:   Mon Feb 27 11:51:30 2012 +0100

    Fixed a bug in the mtrie table compaction logic.
    
    Signed-off-by: Staffan Gimåker <staffan@spotify.com>

 src/mtrie.cpp |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

commit 7689d205e9928e2370261833637ec6ae142d6aa4
Merge: 58f8d4a b05fb46
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Feb 21 00:01:09 2012 -0800

    Merge pull request #267 from mkoppanen/windows-project-files
    
    Add missing files to Windows project files

commit b05fb4696657e6353584cdf9078392941218154d
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Mon Feb 20 21:51:37 2012 -0600

    Add missing files to Windows project files

 builds/msvc/libzmq/libzmq.vcproj  |    8 ++++++++
 builds/msvc/libzmq/libzmq.vcxproj |    2 ++
 2 files changed, 10 insertions(+)

commit 58f8d4a417531a18be18a6e9577525c59efc3bf1
Merge: 879ab39 5d7450d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Mon Feb 20 08:40:43 2012 -0800

    Merge pull request #266 from mkoppanen/improve-tests
    
    Improve the test for last_endpoint, use the same ports as other tests

commit 879ab39e9275da7b10c88e6b4e558c08b44fef8d
Merge: 78d24d3 1824574
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 20 08:39:59 2012 -0800

    Merge pull request #265 from mkoppanen/freebsd-solaris-fixes
    
    tcp_listener::get_address improvements

commit 5d7450d65e2fa8e7d0de91d9890363d21741b3c3
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Sun Feb 19 23:19:17 2012 -0600

    Improve the test for last_endpoint, use the same ports as other tests

 tests/test_last_endpoint.cpp |   34 ++++++++++++++--------------------
 1 file changed, 14 insertions(+), 20 deletions(-)

commit 1824574f9b5a8ce786853320e3ea09fe1f822bc4
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Mon Feb 20 04:26:25 2012 +0000

    Minor fixes to get_address code to fix build on solaris and freebsd. Also service doesnt need to be discovered here

 src/tcp_listener.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 78d24d3d01a6cf14e1df6015cd65c0043b4065a7
Merge: 2533909 5e1efc9
Author: Chuck Remes <cremes.devlist@mac.com>
Date:   Sun Feb 19 12:30:37 2012 -0800

    Merge pull request #264 from ianbarber/master
    
    Update docs for last endpoint and add test for IPC last endpoint retrieval

commit 5e1efc9ec37f08038e9a6561c5329871a20c267e
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sun Feb 19 18:46:46 2012 +0000

    Update documentation for last endpoint to mention inaddr_any and add a test for IPC last endpoint checking

 doc/zmq_getsockopt.txt       |    3 ++-
 tests/test_last_endpoint.cpp |    7 +++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

commit 2533909f60ce6e8400c8862b5719b5c263951eea
Merge: b19c5fc 33a18f0
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Feb 18 15:11:58 2012 -0800

    Merge pull request #263 from mkoppanen/tcp-get-address
    
    More fixes based on CentOS 6.2 results

commit 33a18f0f9047ab2ffa7acb844e98c7dba3dfdb04
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Sat Feb 18 23:07:27 2012 +0000

    More fixes based on CentOS 6.2 results

 src/tcp_listener.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit b19c5fced5387b0c539c6e11b9797205ef24af9c
Merge: 06140da d00d484
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Feb 18 14:44:29 2012 -0800

    Merge pull request #262 from mkoppanen/tcp-get-address
    
    Tcp get address

commit d00d4843beac26dfbf8954e93aa3886d5e39f297
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Sat Feb 18 20:44:41 2012 +0000

    More fixes for ZMQ_LAST_ENDPOINT. Added a test

 src/ipc_listener.cpp         |   22 ++++++++++--------
 src/ipc_listener.hpp         |    2 +-
 src/socket_base.cpp          |   10 ++++----
 src/tcp_listener.cpp         |   14 ++++++++----
 src/tcp_listener.hpp         |    2 +-
 tests/Makefile.am            |    4 +++-
 tests/test_last_endpoint.cpp |   52 ++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 84 insertions(+), 22 deletions(-)

commit b0573486c7abf89b79d30aa4d29b0dac3d789619
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Sat Feb 18 19:48:09 2012 +0000

    Fixes for tcp_listener::get_address

 src/tcp_listener.cpp |   40 +++++++++++++++++-----------------------
 1 file changed, 17 insertions(+), 23 deletions(-)

commit 06140daf2948695926d9b76d73064f4996e6a63b
Merge: e248549 1bf4067
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Feb 17 14:38:02 2012 -0800

    Merge pull request #261 from mkoppanen/windows-build
    
    Windows build

commit 1bf4067cd8aecc65ab246d247f05ff1332831927
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Fri Feb 17 22:07:52 2012 +0000

    More fixes for win build

 src/socket_base.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit e24854925296b15343a41efbfe83d0885dee562c
Merge: dd35385 9a4fd8a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Feb 17 14:07:04 2012 -0800

    Merge pull request #260 from mkoppanen/solaris-build
    
    Needs explicit cast on solaris

commit 51b59b40ddbcbde58dd45a32a449996041cb4aef
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Fri Feb 17 22:06:10 2012 +0000

    Fix build on windows

 src/address.cpp |    2 ++
 src/address.hpp |    6 ++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

commit 9a4fd8a3053cef8ac283da837d740273ba1554ef
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Fri Feb 17 21:55:06 2012 +0000

    Needs explicit cast on solaris

 src/zmq.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dd35385da323be4a275b78dbdaf7a7b33ef164c7
Merge: cfe2a82 56aa49f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 17 13:50:27 2012 -0800

    Merge pull request #259 from mkoppanen/solaris-build
    
    Fix build on solaris

commit 56aa49ff3d67fd7d643adfc88cc9625b3ca06b07
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Fri Feb 17 21:45:17 2012 +0000

    Fix build on solaris

 src/ipc_listener.cpp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit cfe2a821f3a01affc3044fcd91caf2292abe6508
Merge: 9e622d5 916f1a5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 17 09:12:26 2012 -0800

    Merge pull request #258 from skaller/master
    
    Remove thread safe socket code from C API and tests.

commit 916f1a524ddf1820b7857a42c8f35d477f73ebba
Author: skaller <Max.Skaller@gmail.com>
Date:   Sat Feb 18 02:41:17 2012 +1100

    Remove build script references to test_ts_context.

 tests/Makefile.am |    2 --
 1 file changed, 2 deletions(-)

commit e7da123b280f42d058686001d89899058b7ee75e
Author: skaller <Max.Skaller@gmail.com>
Date:   Sat Feb 18 02:34:59 2012 +1100

    Remove thread safe test.

 tests/test_ts_context.cpp |  129 ---------------------------------------------
 1 file changed, 129 deletions(-)

commit 38e74c9e84b3fbe3fc65024a91f5b2b783d33a84
Author: skaller <Max.Skaller@gmail.com>
Date:   Sat Feb 18 02:34:18 2012 +1100

    Remove thread safe socket stuff from C binding.

 src/zmq.cpp |   48 ------------------------------------------------
 1 file changed, 48 deletions(-)

commit 0fa6b8e79345daa7803ec301d5d78a510c501c9b
Author: skaller <Max.Skaller@gmail.com>
Date:   Sat Feb 18 02:32:15 2012 +1100

    Remove thread safe context init.

 include/zmq.h |    1 -
 1 file changed, 1 deletion(-)

commit 9e622d542ad0c01c3389fe8a26e7325dee301c05
Merge: 9910439 82bd543
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 17 07:03:39 2012 -0800

    Merge pull request #256 from ianbarber/master
    
    Removing old ECANTROUTE documentation

commit 991043927794a8500668b0f8eac6a2d2fe6fadfc
Merge: c9898d2 da1920d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Feb 17 02:29:29 2012 -0800

    Merge pull request #257 from mkoppanen/master
    
    Revert null checks in the API

commit da1920d94457ca614b50b060a64fe849ec3f0ec8
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Fri Feb 17 09:48:04 2012 +0000

    Revert NULL checks in the API

 doc/zmq_msg_size.txt |   12 ++---------
 include/zmq.h        |    2 +-
 perf/inproc_lat.cpp  |    2 +-
 perf/inproc_thr.cpp  |    2 +-
 perf/local_lat.cpp   |    2 +-
 perf/local_thr.cpp   |    2 +-
 perf/remote_lat.cpp  |    2 +-
 src/msg.cpp          |    2 +-
 src/msg.hpp          |    4 ++--
 src/zmq.cpp          |   54 ++++----------------------------------------------
 10 files changed, 15 insertions(+), 69 deletions(-)

commit 82bd5431ce2be7aac0e9d8a88103d5a29353f0cf
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Feb 17 08:01:36 2012 +0000

    Updating documentation to remove ECANTROUTE error code

 doc/zmq_msg_send.txt |    3 ---
 doc/zmq_send.txt     |    3 ---
 doc/zmq_sendmsg.txt  |    3 ---
 3 files changed, 9 deletions(-)

commit c9898d2419c52ebf51970fa11ce3a70c06fe2780
Merge: 244f3a3 132112a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 16 20:27:49 2012 -0800

    Merge pull request #255 from jtzl/master
    
    Adding more specific installation instructions

commit 132112afeb4e6f2d49e854711353a6ec81bb3387
Author: Jtzl Forshizl <jtg@intarcorp.com>
Date:   Thu Feb 16 19:50:28 2012 -0500

    added more specific installation documentation

 INSTALL |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 244f3a3c113f7bd028e3058de0363159ad56318f
Merge: a457be3 ccdb7a6
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Feb 16 13:59:53 2012 -0800

    Merge pull request #254 from pieterh/minor-cleanups
    
    Minor cleanups

commit ccdb7a63052c1faa947b0b27ad280303b048d9cf
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 16 15:55:18 2012 -0600

    Minor cleanups
    
    * Fixed use of ssize_t in zmq_msg_t class
    * Corrected error after merge, old reference to inner_fctname (broke build)

 .gitignore  |    1 +
 src/msg.cpp |    4 ++--
 src/msg.hpp |    5 +++--
 src/zmq.cpp |   16 ++++++++++------
 4 files changed, 16 insertions(+), 10 deletions(-)

commit a457be315bec89ab013715586a28be83de5dd736
Merge: 9321dfb 8a497e2
Author: Chuck Remes <cremes.devlist@mac.com>
Date:   Thu Feb 16 13:20:33 2012 -0800

    Merge pull request #246 from pieterh/arguments
    
    Return EFAULT if required arguments are null

commit 9321dfb84588e2a2dbc15e2657f710e0899a0b90
Merge: 5d9432b 4697634
Author: Chuck Remes <cremes.devlist@mac.com>
Date:   Thu Feb 16 13:19:11 2012 -0800

    Merge pull request #248 from pieterh/scattered
    
    Renamed scatter/gather methods, cleaned up source

commit 5d9432b28217246b5de23fd850ac13481e99c4e7
Merge: 4b62344 2da76a3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 16 13:13:11 2012 -0800

    Merge pull request #253 from ianbarber/master
    
    Remove inet_ntop

commit 2da76a3003cf1855e7e989ef347e6d178e518ac3
Author: Ian Barber <ian.barber@gmail.com>
Date:   Thu Feb 16 21:05:02 2012 +0000

    Updating to use getnameinfo rather than inet_ntop

 src/tcp_listener.cpp |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 4b62344023eb0f9be2b3b6a09239869198c667a9
Merge: c9d124b 2cd04c5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 16 10:49:23 2012 -0800

    Merge pull request #252 from gimaker/compact-trie-table
    
    Compact the trie/mtrie node tables where possible, to reduce memory usag...

commit c9d124b27eb5dacadb626c57638f3593707c2306
Merge: bfbe556 e18f9da
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 16 10:45:13 2012 -0800

    Merge pull request #251 from gimaker/sub-sndhwn-assert
    
    Drop subscription messages when reaching the SNDHWM rather than assertin...

commit bfbe556e006169e3a81d2946f98b0d8d6154de02
Merge: 2f44faa b9fb48f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 16 10:35:48 2012 -0800

    Merge pull request #250 from gimaker/connect-assert
    
    Resolve addresses in the calling thread on connect.

commit 4697634c0b6e18673f8c5a16007f26e515128b03
Merge: 3ee99ae b3d7b29
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 16 12:31:57 2012 -0600

    Resolved conflicts after merge

commit 3ee99ae81f86da979a6ca4f065d09f4be4c43296
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 16:47:24 2012 -0600

    Renamed scatter/gather methods, cleaned up source

 include/zmq.h |    4 +--
 src/zmq.cpp   |  101 ++++++++++++++++++++++++++++++++-------------------------
 2 files changed, 59 insertions(+), 46 deletions(-)

commit 8a497e2ffc16cbd6c2642ac2238dd186d917f684
Merge: 0efb49f 07b49ff
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 16 12:27:39 2012 -0600

    Resolved conflicts after merge

commit 0efb49f12fdec061b267a7526cbaa8d149d8c254
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 16 12:04:25 2012 -0600

    Fixed up all references to zmq_msg_size

 doc/zmq_msg_size.txt |   16 ++++++++++++----
 include/zmq.h        |    1 +
 perf/inproc_lat.cpp  |    4 ++--
 perf/inproc_thr.cpp  |    4 ++--
 perf/local_lat.cpp   |    4 ++--
 perf/local_thr.cpp   |    4 ++--
 perf/remote_lat.cpp  |    4 ++--
 7 files changed, 23 insertions(+), 14 deletions(-)

commit 02b81d42ce2c3b6fabcfe1bcdc6fa8bceed9762a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 15:17:01 2012 -0600

    Changed return type of zmq_msg_size to ssize_t to allow error return

 include/zmq.h |    4 ++--
 src/zmq.cpp   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit dc09da456936e84e68e220a8c950e1abc2ebbd0b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 13:03:40 2012 -0600

    Return EFAULT if required arguments are null

 src/zmq.cpp |   42 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 36 insertions(+), 6 deletions(-)

commit 07b49ffb9c30af3c8a4e486dc4225784f4a1dda8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 16 12:04:25 2012 -0600

    Fixed up all references to zmq_msg_size

 doc/zmq_msg_size.txt |   16 ++++++++++++----
 include/zmq.h        |    1 +
 perf/inproc_lat.cpp  |    4 ++--
 perf/inproc_thr.cpp  |    4 ++--
 perf/local_lat.cpp   |    4 ++--
 perf/local_thr.cpp   |    4 ++--
 perf/remote_lat.cpp  |    4 ++--
 7 files changed, 23 insertions(+), 14 deletions(-)

commit 2f44faa7ce13645fe3b49475ced40675d0638709
Merge: 2b646cb fb4748f
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Thu Feb 16 08:58:03 2012 -0800

    Merge pull request #247 from pieterh/sendrecv
    
    Added zmq_msg_send/recv functions

commit 2b646cbf6309ee648bf72e4609ef040d1cfe3ca3
Merge: b2e2fa6 d092f26
Author: Mikko Koppanen <mikko@kuut.io>
Date:   Thu Feb 16 08:56:29 2012 -0800

    Merge pull request #249 from pieterh/msgpeekpoke
    
    Renamed zmq_getmsgopt to zmq_msg_get

commit 2cd04c54dfabd48f528636d15ccc4e1959b14432
Author: Staffan Gimåker <staffan@spotify.com>
Date:   Thu Feb 16 15:56:19 2012 +0100

    Compact the trie/mtrie node tables where possible, to reduce memory usage.
    
    Signed-off-by: Staffan Gimåker <staffan@spotify.com>

 src/mtrie.cpp |  128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/trie.cpp  |   87 ++++++++++++++++++++++++++++++++++++++-
 2 files changed, 211 insertions(+), 4 deletions(-)

commit e18f9da012b2ee164539e089254dbbe33af204a9
Author: Staffan Gimåker <staffan@spotify.com>
Date:   Thu Feb 16 14:49:47 2012 +0100

    Drop subscription messages when reaching the SNDHWM rather than asserting.
    
    This matches the behaviour of zmq_setsockopt(ZMQ_SUBSCRIBE, ...), which also
    silently drops subscription messages if the SNDHWM is reached.
    
    Signed-off-by: Staffan Gimåker <staffan@spotify.com>

 src/xsub.cpp |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit b9fb48f47b8b6f211625e0897c5f52ba5cfe6593
Author: Staffan Gimåker <staffan@spotify.com>
Date:   Thu Feb 2 14:56:51 2012 +0100

    Resolve addresses in the calling thread on connect.
    
    This allows us to actually report an error to the caller on resolve
    failure, rather than asserting later on in the io thread.
    
    Signed-off-by: Staffan Gimåker <staffan@spotify.com>

 src/Makefile.am                |    2 ++
 src/address.cpp                |   50 +++++++++++++++++++++++++++++++++++++
 src/address.hpp                |   48 +++++++++++++++++++++++++++++++++++
 src/ipc_address.cpp            |    4 +--
 src/ipc_address.hpp            |    4 +--
 src/ipc_connecter.cpp          |   20 +++++++--------
 src/ipc_connecter.hpp          |   11 +++-----
 src/ipc_listener.cpp           |    2 +-
 src/pair.cpp                   |    5 ++--
 src/pair.hpp                   |    2 +-
 src/pub.cpp                    |    5 ++--
 src/pub.hpp                    |    2 +-
 src/pull.cpp                   |    5 ++--
 src/pull.hpp                   |    2 +-
 src/push.cpp                   |    5 ++--
 src/push.hpp                   |    2 +-
 src/rep.cpp                    |    5 ++--
 src/rep.hpp                    |    2 +-
 src/req.cpp                    |    5 ++--
 src/req.hpp                    |    2 +-
 src/session_base.cpp           |   53 ++++++++++++++++++++-------------------
 src/session_base.hpp           |   11 ++++----
 src/socket_base.cpp            |   29 ++++++++++++++++++++-
 src/sub.cpp                    |    5 ++--
 src/sub.hpp                    |    2 +-
 src/tcp_address.cpp            |    8 +++---
 src/tcp_address.hpp            |    8 +++---
 src/tcp_connecter.cpp          |   24 ++++++++----------
 src/tcp_connecter.hpp          |   11 +++-----
 src/tcp_listener.cpp           |    2 +-
 src/xpub.cpp                   |    5 ++--
 src/xpub.hpp                   |    2 +-
 src/xrep.cpp                   |    5 ++--
 src/xrep.hpp                   |    2 +-
 src/xreq.cpp                   |    5 ++--
 src/xreq.hpp                   |    2 +-
 src/xsub.cpp                   |    5 ++--
 src/xsub.hpp                   |    2 +-
 tests/Makefile.am              |    4 ++-
 tests/test_connect_resolve.cpp |   54 ++++++++++++++++++++++++++++++++++++++++
 40 files changed, 292 insertions(+), 130 deletions(-)

commit d092f2615c2133338097cb4f37d9809d2422a991
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 19:28:29 2012 -0600

    Renamed peek/poke to get/set

 doc/Makefile.am          |    2 +-
 doc/zmq.txt              |    4 +--
 doc/zmq_msg_get.txt      |   83 ++++++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_msg_peek.txt     |   83 ----------------------------------------------
 doc/zmq_msg_poke.txt     |   47 --------------------------
 doc/zmq_msg_set.txt      |   47 ++++++++++++++++++++++++++
 include/zmq.h            |    8 ++---
 src/zmq.cpp              |    6 ++--
 tests/test_msg_flags.cpp |    6 ++--
 9 files changed, 143 insertions(+), 143 deletions(-)

commit dcc1725a90f324e3877e67f1455ef9f53f1c241d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 18:41:09 2012 -0600

    Renamed zmq_getmsgopt to zmq_msg_peek
    
    * Added zmq_msg_poke for orthogonality
    * Added zmq_msg_more for simplicity
    * Fixed up man pages and test program

 doc/Makefile.am          |    2 +-
 doc/zmq.txt              |   12 ++++---
 doc/zmq_getmsgopt.txt    |   85 ----------------------------------------------
 doc/zmq_msg_more.txt     |   63 ++++++++++++++++++++++++++++++++++
 doc/zmq_msg_peek.txt     |   83 ++++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_msg_poke.txt     |   47 +++++++++++++++++++++++++
 include/zmq.h            |   10 ++++--
 src/zmq.cpp              |   47 +++++++++++++++++++------
 tests/test_msg_flags.cpp |    8 +++--
 9 files changed, 249 insertions(+), 108 deletions(-)

commit b3d7b29280fd062e681b24b946c00bbd6667889c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 16:47:24 2012 -0600

    Renamed scatter/gather methods, cleaned up source

 include/zmq.h |    4 +-
 src/zmq.cpp   |  119 ++++++++++++++++++++++++++++++++-------------------------
 2 files changed, 70 insertions(+), 53 deletions(-)

commit fb4748f257b19d19d9702a6632919d3915da0413
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 15:37:35 2012 -0600

    Added zmq_msg_send/recv functions

 doc/Makefile.am      |    1 +
 doc/zmq.txt          |    4 ++
 doc/zmq_msg_recv.txt |  125 ++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_msg_send.txt |  125 ++++++++++++++++++++++++++++++++++++++++++++++++++
 include/zmq.h        |    4 ++
 src/zmq.cpp          |   48 +++++++++++--------
 6 files changed, 289 insertions(+), 18 deletions(-)

commit 6b2ec366b1b96da14260000939946b12a7b085c6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 15:17:01 2012 -0600

    Changed return type of zmq_msg_size to ssize_t to allow error return

 include/zmq.h |    2 +-
 src/zmq.cpp   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit d38951db8738d1cd7bf511decbee590e29a78fa8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 13:03:40 2012 -0600

    Return EFAULT if required arguments are null

 src/zmq.cpp |   65 ++++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 47 insertions(+), 18 deletions(-)

commit b2e2fa622dc4b647442a6c41073783fa3340a780
Merge: 9bc0e10 0c4a19c
Author: Chuck Remes <cremes.devlist@mac.com>
Date:   Wed Feb 15 08:54:27 2012 -0800

    Merge pull request #244 from pieterh/master
    
    Cleanups to man pages

commit 0c4a19c408964484a4bfcf389c07701ad040996a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 10:48:31 2012 -0600

    Deprecated XREQ/XREP

 include/zmq.h |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

commit 5f6b95f4a22737c8dee415ec51ca0cca2d72170a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 10:06:53 2012 -0600

    Fixed footers to refer to man page, not all docs

 doc/zmq_bind.txt          |    4 ++--
 doc/zmq_close.txt         |    4 ++--
 doc/zmq_connect.txt       |    4 ++--
 doc/zmq_errno.txt         |    4 ++--
 doc/zmq_getmsgopt.txt     |    2 +-
 doc/zmq_getsockopt.txt    |    4 ++--
 doc/zmq_init.txt          |    4 ++--
 doc/zmq_inproc.txt        |    4 ++--
 doc/zmq_ipc.txt           |    4 ++--
 doc/zmq_msg_close.txt     |    4 ++--
 doc/zmq_msg_copy.txt      |    4 ++--
 doc/zmq_msg_data.txt      |    4 ++--
 doc/zmq_msg_init.txt      |    4 ++--
 doc/zmq_msg_init_data.txt |    4 ++--
 doc/zmq_msg_init_size.txt |    4 ++--
 doc/zmq_msg_move.txt      |    4 ++--
 doc/zmq_msg_size.txt      |    4 ++--
 doc/zmq_pgm.txt           |    4 ++--
 doc/zmq_poll.txt          |    4 ++--
 doc/zmq_setsockopt.txt    |    4 ++--
 doc/zmq_strerror.txt      |    4 ++--
 doc/zmq_tcp.txt           |    4 ++--
 doc/zmq_term.txt          |    4 ++--
 doc/zmq_version.txt       |    4 ++--
 24 files changed, 47 insertions(+), 47 deletions(-)

commit c85ecfc0662c2781cea1d763195b5194a29b244c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 10:06:04 2012 -0600

    Cleaned up description of multi-part messages

 doc/zmq_recv.txt    |   11 +++++------
 doc/zmq_recvmsg.txt |    4 ++--
 doc/zmq_send.txt    |   16 +++++++---------
 doc/zmq_sendmsg.txt |   10 +++++-----
 4 files changed, 19 insertions(+), 22 deletions(-)

commit 636de46fe129ba3e883026f402c545c5c62679e9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 10:05:22 2012 -0600

    Removed section on devices, added new methods

 doc/zmq.txt |   23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)

commit 086c0594300589a19a55586259ef307bb97ebdbf
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 09:49:40 2012 -0600

    Ported numerous fixes from 2.1 man page

 doc/zmq_socket.txt |  109 ++++++++++++++++++++++++++++++++--------------------
 1 file changed, 67 insertions(+), 42 deletions(-)

commit 9bc0e1081831e58e9a40f41e1e04fbe94dd94ea7
Merge: a50a8aa bd4f703
Author: Chuck Remes <cremes.devlist@mac.com>
Date:   Wed Feb 15 07:33:03 2012 -0800

    Merge pull request #243 from pieterh/master
    
    Fixed error in documentation build

commit bd4f703264ed71f9ad2b0043c4e4c055adbeced1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 09:27:42 2012 -0600

    Ignored generated files

 .gitignore |    2 ++
 1 file changed, 2 insertions(+)

commit 2000d44109e1adfb3c6a2f9f947b061ba3267431
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 15 09:26:39 2012 -0600

    Fixed syntax error in zmq_getsockopt man page

 doc/zmq_getsockopt.txt |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit a50a8aa364d9b99a1dc4950aea8ef1fe41d868ce
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Feb 14 17:14:46 2012 -0600

    Revert "more checks for parameters of API functions"
    
    This reverts commit e646ce43c155f9710aa4486abd2daf6d4a30ca5b.

 src/zmq.cpp |   96 +++++------------------------------------------------------
 1 file changed, 8 insertions(+), 88 deletions(-)

commit afe8cd503fa069b25c731cdeb507abf246ec7896
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Feb 14 17:09:47 2012 -0600

    Revert "fix warn unused"
    
    - anonymous contributor
    
    This reverts commit 7b7d404269cc9bb28e1954ed38dbeb8f63079fd1.

 src/blob.hpp         |    5 ++---
 src/ctx.cpp          |    1 -
 src/dist.cpp         |    1 -
 src/err.cpp          |    1 -
 src/fq.cpp           |    1 -
 src/io_object.cpp    |    2 --
 src/io_thread.cpp    |    1 -
 src/lb.cpp           |    1 -
 src/object.cpp       |    8 --------
 src/pair.cpp         |    4 ----
 src/pipe.cpp         |    1 -
 src/pub.cpp          |    2 --
 src/pull.cpp         |    1 -
 src/push.cpp         |    1 -
 src/reaper.cpp       |    1 -
 src/session_base.cpp |    1 -
 src/socket_base.cpp  |   11 -----------
 src/sub.cpp          |    2 --
 src/xpub.cpp         |    1 -
 src/xrep.cpp         |    2 --
 src/xreq.cpp         |    1 -
 src/xsub.cpp         |    1 -
 22 files changed, 2 insertions(+), 48 deletions(-)

commit b2e93473723ce74f247d1a63eb61312a5c07f6d8
Merge: a908ccb cc10c00
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Feb 14 16:39:32 2012 -0800

    Merge pull request #238 from ianbarber/master
    
    Wildcard support in TCP and IPC addresses

commit cc10c00193525cd1d253a50ac3055f1af1684e82
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Feb 14 23:14:33 2012 +0000

    Updating docs with new sockopt

 doc/zmq_getsockopt.txt |   11 +++++++++++
 1 file changed, 11 insertions(+)

commit b6c97230ed560a3b4140b0542be9f3482eab7066
Merge: b5d3373 a908ccb
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Feb 14 23:10:15 2012 +0000

    Merge branch 'master' of https://github.com/zeromq/libzmq

commit b5d3373905587aecc53e032e5619c1550952030f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Tue Feb 14 23:10:06 2012 +0000

    Moving to std::string in options

 include/zmq.h        |    3 ---
 src/ipc_listener.cpp |    5 +++--
 src/ipc_listener.hpp |    2 +-
 src/options.cpp      |    8 ++++----
 src/options.hpp      |    5 +++--
 src/socket_base.cpp  |    5 +++--
 src/tcp_listener.cpp |   10 +++++++---
 src/tcp_listener.hpp |    2 +-
 8 files changed, 22 insertions(+), 18 deletions(-)

commit a908ccbf357ae5afe61aef24db2724d93b7747ce
Merge: 48423c9 4807935
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 13 08:55:58 2012 -0800

    Merge pull request #241 from skaller/master
    
    provide type safe sockets and contexts

commit 48423c9e40e5f777ab4335cbeccf012371ce3f95
Merge: 256fa5d e646ce4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 13 08:35:59 2012 -0800

    Merge pull request #242 from niXman/master
    
    more checks for parameters of API functions

commit e646ce43c155f9710aa4486abd2daf6d4a30ca5b
Author: niXman <i.nixman@gmail.com>
Date:   Sun Feb 12 20:10:52 2012 +0400

    more checks for parameters of API functions

 src/zmq.cpp |   96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 88 insertions(+), 8 deletions(-)

commit 4807935605ab1f1e1c440d29423c84d4f13f73d7
Author: skaller <Max.Skaller@gmail.com>
Date:   Sun Feb 12 10:15:51 2012 +1100

    Implement type safe sockets and contexts.

 include/zmq.h |   59 +++++++++++++++++++++++++++++++++++++++++----------------
 src/zmq.cpp   |    2 ++
 2 files changed, 45 insertions(+), 16 deletions(-)

commit 770f84331f7a1ce03e87786f976a526af07c965f
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Feb 11 15:09:03 2012 +0000

    Allowing value 0, and moving code to get_address functions based on feedback

 AUTHORS              |    1 +
 src/ipc_listener.cpp |   21 ++++++++++++---------
 src/ipc_listener.hpp |    4 ----
 src/tcp_address.cpp  |    3 ++-
 src/tcp_listener.cpp |   50 +++++++++++++++++++++++++-------------------------
 src/tcp_listener.hpp |    6 +-----
 6 files changed, 41 insertions(+), 44 deletions(-)

commit 91bf4944daa7446e21aea2cf9bc261ce29d35212
Merge: 7fa14f3 256fa5d
Author: Ian Barber <ian.barber@gmail.com>
Date:   Sat Feb 11 15:08:23 2012 +0000

    Merge branch 'master' of https://github.com/zeromq/libzmq

commit 256fa5d2b8a2d9ff46d67d02d9a2f7dffbbb2221
Merge: 40052c1 7b7d404
Author: Chuck Remes <cremes.devlist@mac.com>
Date:   Sat Feb 11 06:10:50 2012 -0800

    Merge pull request #240 from niXman/master
    
    fix warn unused variables

commit 7b7d404269cc9bb28e1954ed38dbeb8f63079fd1
Author: niXman <i.nixman@gmail.com>
Date:   Fri Feb 10 13:39:34 2012 +0400

    fix warn unused

 src/blob.hpp         |    5 +++--
 src/ctx.cpp          |    1 +
 src/dist.cpp         |    1 +
 src/err.cpp          |    1 +
 src/fq.cpp           |    1 +
 src/io_object.cpp    |    2 ++
 src/io_thread.cpp    |    1 +
 src/lb.cpp           |    1 +
 src/object.cpp       |    8 ++++++++
 src/pair.cpp         |    4 ++++
 src/pipe.cpp         |    1 +
 src/pub.cpp          |    2 ++
 src/pull.cpp         |    1 +
 src/push.cpp         |    1 +
 src/reaper.cpp       |    1 +
 src/session_base.cpp |    1 +
 src/socket_base.cpp  |   11 +++++++++++
 src/sub.cpp          |    2 ++
 src/xpub.cpp         |    1 +
 src/xrep.cpp         |    2 ++
 src/xreq.cpp         |    1 +
 src/xsub.cpp         |    1 +
 22 files changed, 48 insertions(+), 2 deletions(-)

commit 40052c1251053e28a7b2b4f517db4d74a393d3ba
Merge: 21571cf c3f7543
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 10 00:20:56 2012 -0800

    Merge pull request #239 from skaller/master
    
    Provide scatter/gather array I/O

commit 7fa14f3823e572c335565a168127326f12d3250a
Merge: 7b32c9c 21571cf
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Feb 8 22:06:50 2012 +0000

    Merge branch 'master' of https://github.com/zeromq/libzmq

commit 7b32c9cb51dc97e3c467801843fa9ed1736ba8bd
Author: Ian Barber <ian.barber@gmail.com>
Date:   Wed Feb 8 22:06:46 2012 +0000

    Adding ZMQ_LAST_ENDPOINT for wildcard support on TCP and IPC sockets

 include/zmq.h        |    4 ++++
 src/ipc_listener.cpp |   20 ++++++++++++++++++++
 src/ipc_listener.hpp |    7 +++++++
 src/options.cpp      |   12 ++++++++++--
 src/options.hpp      |    4 ++++
 src/socket_base.cpp  |    4 ++++
 src/tcp_address.cpp  |   16 +++++++++++-----
 src/tcp_listener.cpp |   32 ++++++++++++++++++++++++++++++++
 src/tcp_listener.hpp |    7 +++++++
 9 files changed, 99 insertions(+), 7 deletions(-)

commit c3f7543ebe08cfdadf218fa558f03a5d382d322c
Author: skaller <Max.Skaller@gmail.com>
Date:   Wed Feb 8 13:15:47 2012 +1100

    Fix uio support.
    
    We have to use an incomplete type in the interface.
    The definition of iovec is only in the implementation.
    This appears to following existing practice in 0MQ.
    It seems a bit flakey that zmq.h is not included in zmq.cpp,
    which is normal practice to ensure the implementation matches
    the specified interface. YMMV. I follow 0MQ style.

 include/zmq.h |   11 -----------
 src/zmq.cpp   |   12 ++++++++++++
 2 files changed, 12 insertions(+), 11 deletions(-)

commit 970a00539930f1c047ed8cc684fe64885fbf7020
Author: skaller <Max.Skaller@gmail.com>
Date:   Wed Feb 8 12:58:35 2012 +1100

    Provide interface.
    
    Also move iovec definition from implementation to interface.
    Not clear to me at present if an incomplete type should
    be used to avoid gratuitously including <sys/uio.h> in
    the interface. The interface can't be used with this include.

 include/zmq.h |   14 ++++++++++++++
 src/zmq.cpp   |   10 ----------
 2 files changed, 14 insertions(+), 10 deletions(-)

commit 383a49dadf4e9c2c7fea84d521eeb42c0f5bf6de
Author: skaller <Max.Skaller@gmail.com>
Date:   Wed Feb 8 11:45:36 2012 +1100

    Implement zmq_recvmmsg.

 src/zmq.cpp |   66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 65 insertions(+), 1 deletion(-)

commit 531835bba887722110d87e1dc912592cf9e49a50
Author: skaller <Max.Skaller@gmail.com>
Date:   Wed Feb 8 03:20:25 2012 +1100

    Implement zmq_sendv.
    
    Posix style send multiple messages using scatter/gather array.

 src/zmq.cpp |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

commit f59fff7bf26da65c2e1c5f259326f7daf8e4d3a0
Author: skaller <Max.Skaller@gmail.com>
Date:   Wed Feb 8 02:47:51 2012 +1100

    Add check for sys/uio.h to configure script.
    
    sys/uio.h contains the XSI vector I/O data structure.

 configure.in |    3 +++
 1 file changed, 3 insertions(+)

commit 21571cf0855d5ef8c52aee5a854b79d7fc66a603
Merge: 9dab56c 81662d7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Feb 4 02:47:10 2012 -0800

    Merge pull request #237 from skaller/master
    
    Fix comments to conform to style guide.

commit 81662d70be2014b947f1c63308d819c3f85f6a2a
Author: skaller <Max.Skaller@gmail.com>
Date:   Sat Feb 4 15:13:36 2012 +1100

    Add a test for thread safe sockets.

 tests/Makefile.am         |    2 +
 tests/test_ts_context.cpp |  129 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)

commit 759b2e01fd03b171f63d37b908a4a530ab44420b
Author: skaller <Max.Skaller@gmail.com>
Date:   Sat Feb 4 12:34:06 2012 +1100

    Fix comments to conform to style guide.

 src/zmq.cpp |   29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

commit 9dab56c1df5e41acb1a59f21261dd61594fb7a07
Merge: cbf6126 520ad3c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 3 12:40:05 2012 -0800

    Merge pull request #235 from skaller/master
    
    Thread Safe Sockets.

commit cbf6126b086123d122355068a5d5d5dded770af9
Merge: 935f174 43b71ae
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 3 12:39:47 2012 -0800

    Merge pull request #234 from ianbarber/master
    
    Semicolon missing

commit 935f17488a460e9fa497384f18bc34ecc9e6635a
Merge: dc50bf5 67fd4c9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 3 12:39:11 2012 -0800

    Merge pull request #236 from danielnorberg/master
    
    add missing semicolon

commit 67fd4c9a2c9494e14c12ebb53c1b70042931bc9c
Author: Daniel Norberg <dano@spotify.com>
Date:   Fri Feb 3 17:28:45 2012 +0100

    add missing semicolon

 src/xpub.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 520ad3c2d7966ad868354c0ad66b76a3e408f568
Author: skaller <Max.Skaller@gmail.com>
Date:   Sat Feb 4 02:17:35 2012 +1100

    Set and arrange propagation of thread safe sockets flag.
    
    We use a distinct context initialisation function to specify
    all sockets derived therefrom will be thread safe.
    
    However the inheritance is done exclusively in the C interface.
    This is not really correct, but it is chosen to minimise
    interference with the existing C++ code, including any
    construct or other calls within the C++ code base.
    Semantically the C++ code should be unchanged,
    physically some data structures and extra methods are
    provided by they're only used from the C binding.

 include/zmq.h       |    1 +
 src/ctx.cpp         |   10 ++++++++++
 src/ctx.hpp         |    6 ++++++
 src/socket_base.cpp |    5 +++++
 src/socket_base.hpp |    1 +
 src/zmq.cpp         |   21 ++++++++++++++++++---
 6 files changed, 41 insertions(+), 3 deletions(-)

commit 988efbc73a2f4f0d8f8b380da61b73b5affaeccd
Author: skaller <Max.Skaller@gmail.com>
Date:   Sat Feb 4 01:41:09 2012 +1100

    Thread Safe Sockets.
    
    1. Reorganise C API socket functions to eliminate bad practice
    of public functions calling other public functions. This should
    be done for msg's too but hasn't been in this patch.
    
    2. Reorganise code in C API socket functions so that the
    socket is cast on one line, the C++ function called on
    the next with the result retained, then the result is returned.
    
    This makes the code much simpler to read and also allows
    pre- and post- call hooks to be inserted easily.
    
    3. Insert pre- and post- call hooks which set and release
    a mutex iff the thread_safe flag is on.
    
    4. Add the thread_safe_flag to base_socket_t initialised to
    false to preserve existing semantics. Add an accessor for
    the flag, add a mutex, and add lock and unlock functions.
    
    Note: as yet no code to actually set the flag.

 src/socket_base.cpp |   13 +++++-
 src/socket_base.hpp |    6 ++-
 src/zmq.cpp         |  112 ++++++++++++++++++++++++++++++++++++---------------
 3 files changed, 96 insertions(+), 35 deletions(-)

commit 4dd6ce0639da832927ab68cfb7226c21808f0034
Author: skaller <Max.Skaller@gmail.com>
Date:   Sat Feb 4 00:10:01 2012 +1100

    Add mission ; character

 src/xpub.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 43b71ae4bf5b4b1a046c6549483f59ef03883d5a
Author: Ian Barber <ian.barber@gmail.com>
Date:   Fri Feb 3 12:44:19 2012 +0000

    Fixing missing semicolon in xpub.cpp as reported on the list by Emmanuel TAUREL

 src/xpub.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dc50bf5dca6b4c1c9b0c5e4d62f6f3854ffbdaef
Merge: 4f4d72a 79f753b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 3 02:12:09 2012 -0800

    Merge pull request #233 from danielnorberg/master
    
    LIBZMQ-300: free received subscription messages

commit 79f753bf56222e65ca497f5253434f11489c51da
Author: Daniel Norberg <dano@spotify.com>
Date:   Mon Dec 19 15:45:44 2011 +0100

    xpub: free received subscription messages

 src/xpub.cpp |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

commit 4f4d72afc62d35638eed0ce1a4deebe9ac587e3b
Merge: adee827 93db782
Author: Chuck Remes <cremes.devlist@mac.com>
Date:   Thu Feb 2 12:22:46 2012 -0800

    Merge pull request #232 from chuckremes/master
    
    mato: merge patch to close libzmq-268

commit 93db782a1d22451a53b94b514946eea391a69d63
Merge: 762bcff 0319cb2
Author: Chuck Remes <cremes@mac.com>
Date:   Thu Feb 2 14:17:30 2012 -0600

    Merge branch 'libzmq-268' of git://git.lucina.net/libzmq

commit adee8270ddd5af7eb2ba3fe5f251873b30eb00b4
Merge: e89a5f1 762bcff
Author: Chuck Remes <cremes.devlist@mac.com>
Date:   Thu Feb 2 12:16:32 2012 -0800

    Merge pull request #231 from chuckremes/master
    
    mato: merge patch to close libzmq-303

commit 762bcff73f29269b92eee18ffd5455a8e77ce3bb
Merge: c54ad48 029e288
Author: Chuck Remes <cremes@mac.com>
Date:   Thu Feb 2 14:14:56 2012 -0600

    Merge branch 'libzmq-303' of git://git.lucina.net/libzmq

commit e89a5f1e1aae0b820d8cd74d3de3cdc509a1a198
Merge: edf7db7 c54ad48
Author: Chuck Remes <cremes.devlist@mac.com>
Date:   Thu Feb 2 12:14:27 2012 -0800

    Merge pull request #230 from chuckremes/master
    
    mato: merge patch to close libzmq-205

commit c54ad48c9b70fd8a28fa2300b79aadbcd39b65db
Merge: edf7db7 c34a144
Author: Chuck Remes <cremes@mac.com>
Date:   Thu Feb 2 14:09:37 2012 -0600

    Merge branch 'libzmq-205' of git://git.lucina.net/libzmq

commit 0319cb2cd16aa40911855a1765312886bf081db2
Author: Martin Lucina <martin@lucina.net>
Date:   Thu Feb 2 13:07:48 2012 +0100

    Fix data loss for PUB/SUB and unidirectional transports (LIBZMQ-268)
    
    With the introduction of subscription forwarding, the first message sent
    on a PUB socket using a unidirectional transport (e.g. PGM) is always
    lost due to the "subscribe to all" being done asynchronously.
    
    This patch fixes the problem and also refactors the code to have a single
    point where the "subscribe to all" is performed.
    
    Signed-off-by: Martin Lucina <martin@lucina.net>

 src/pair.cpp        |    2 +-
 src/pair.hpp        |    2 +-
 src/pgm_sender.cpp  |   10 ----------
 src/pull.cpp        |    2 +-
 src/pull.hpp        |    2 +-
 src/push.cpp        |    2 +-
 src/push.hpp        |    2 +-
 src/socket_base.cpp |   12 +++++++++---
 src/socket_base.hpp |    5 +++--
 src/xpub.cpp        |    7 ++++++-
 src/xpub.hpp        |    2 +-
 src/xrep.cpp        |    2 +-
 src/xrep.hpp        |    2 +-
 src/xreq.cpp        |    2 +-
 src/xreq.hpp        |    2 +-
 src/xsub.cpp        |    2 +-
 src/xsub.hpp        |    2 +-
 17 files changed, 31 insertions(+), 29 deletions(-)

commit edf7db74d933f753d14dd4c8e5de0e8081624118
Merge: 7e8a839 e6c97c5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jan 30 01:28:47 2012 -0800

    Merge pull request #227 from gimaker/smaller-mtrie
    
    Reduce memory usage of mtrie.

commit e6c97c5ecc3f2b9e84258cb405eb92f6b6f6ca7d
Author: Staffan Gimåker <staffan@spotify.com>
Date:   Tue Jan 3 16:34:45 2012 +0100

    Reduce memory usage of mtrie.
    
    Signed-off-by: Staffan Gimåker <staffan@spotify.com>

 src/mtrie.cpp |   39 +++++++++++++++++++++++++++++----------
 src/mtrie.hpp |    2 +-
 2 files changed, 30 insertions(+), 11 deletions(-)

commit 1925c92fe9c50c40b083749f8ff9521abcce72b5
Merge: c34a144 029e288
Author: Martin Lucina <martin@lucina.net>
Date:   Mon Jan 30 01:57:18 2012 +0100

    Merge branches 'libzmq-205' and 'libzmq-303'

commit 7e8a839a22f5d94b89a47ff187fa933a6bbc4395
Merge: 281dcd2 1e5a48f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jan 27 16:01:20 2012 -0800

    Merge pull request #226 from gitfoxi/master
    
    Support Epoll on cross-compile without runtime test.

commit 1e5a48f5217edf874d5771b29ceb7680a930d4b3
Author: m <415fox@gmail.com>
Date:   Fri Jan 27 15:24:47 2012 -0800

    Epoll is default for cross-compile. For regular-compile, test kernel (run) support.

 acinclude.m4 |   21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

commit 281dcd25448dc524bb1f001ad7c57d70a4fa79ab
Merge: 676d4f4 1d8b132
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jan 27 14:48:43 2012 -0800

    Merge pull request #221 from fidlej/master
    
    Updated connector open() doc strings.

commit 676d4f4e18da8cd1299d9161d78b7a15c6cd50fd
Merge: 0c94cd0 bc4d1b6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jan 27 14:48:17 2012 -0800

    Merge pull request #222 from gimaker/trie-pruning
    
    Fix for LIBZMQ-305

commit 0c94cd036a843acce4252bf2583e1ddb472bb778
Merge: 95f6a07 3621565
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jan 27 14:47:36 2012 -0800

    Merge pull request #223 from gimaker/libzmq-310
    
    Throw away unexpected data received by XPUB sockets, rather than asserting

commit 95f6a074036bab70872798c25e033564aaf6836d
Merge: 57f64c5 2e0c433
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jan 27 14:47:14 2012 -0800

    Merge pull request #224 from vortechs2000/master
    
    Patch from Mikko Koppanen for #LIBZMQ-301

commit 57f64c50795a43d1c22a6b7bb41dd280c0e3f436
Merge: 6f32361 c71375e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jan 27 14:44:42 2012 -0800

    Merge pull request #225 from gitfoxi/master
    
    Fix build on old-ass Linux

commit c71375ea72da9ba480bda49a7e3ba07d196f745d
Author: m <415fox@gmail.com>
Date:   Fri Jan 27 13:27:21 2012 -0800

    Fix: Case where system library has epoll but kernel does not support it.

 acinclude.m4 |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit c4f22408518347ba47b878090de3f94a4b554267
Author: m <415fox@gmail.com>
Date:   Fri Jan 27 12:40:56 2012 -0800

    Fix: runtime patch for when system has clock_gettime but does not support CLOCK_MONOTONIC.

 src/clock.cpp |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

commit b5dbff8ed4ff6bdc6bdc68987f71983e3b6c32d3
Author: m <415fox@gmail.com>
Date:   Fri Jan 27 12:24:14 2012 -0800

    Fix basic_string<unsigned char> not implemented in stdc++ 3

 src/blob.hpp |   94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)

commit 99df984be1660eb52e985b55beb0bca87ccec83d
Author: m <415fox@gmail.com>
Date:   Fri Jan 27 12:23:32 2012 -0800

    Fix bad combination of gcc3, -Werror and private destructor.

 src/ctx.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit bc4d1b6002775375ccc11f63ec703a29437105ac
Author: Staffan Gimåker <staffan@spotify.com>
Date:   Thu Jan 26 13:26:09 2012 +0100

    Fixed segfault bug sometimes happening when pruning the trie/mtrie.
    
    The cause behind the segfault was next.node being deleted but count still
    being non-zero.
    
    Signed-off-by: Staffan Gimåker <staffan@spotify.com>

 src/mtrie.cpp |   23 +++++++++++++++--------
 src/trie.cpp  |   11 ++++++++---
 2 files changed, 23 insertions(+), 11 deletions(-)

commit 2e0c4330fa3d1044ca3d89a0f1798a88b7cc3215
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Thu Jan 19 12:27:19 2012 -0600

    Patch from Mikko Koppanen for #LIBZMQ-301
    
    Add the '-Ae' flag and check for gethrtime() on HPUX
    
    Check if CLOCK_MONOTONIC defined before using it - if not, use
    gethrtime() if it's available, otherwise fall back to the old
    behavior.
    
    Signed-off-by: AJ Lewis <aj.lewis@quantum.com>

 configure.in  |    2 ++
 src/clock.cpp |    8 ++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

commit 36215656eb586a505d051dd60500e92d0f710f07
Author: Staffan Gimåker <staffan@spotify.com>
Date:   Mon Jan 9 12:19:59 2012 +0100

    Throw away unexpected data received by XPUB sockets, rather than asserting.
    
    Fixes LIBZMQ-310.
    
    Signed-off-by: Staffan Gimåker <staffan@spotify.com>

 src/xpub.cpp |   25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

commit c34a1443651ce5a6d8f7a88d0677ec85c81e1570
Author: Martin Lucina <martin@lucina.net>
Date:   Wed Jan 4 11:48:41 2012 +0100

    Fix pgm_receiver.cpp: zmq_assert (pending_bytes == 0) (LIBZMQ-205)
    
    This patch fixes the problem described in LIBZMQ-205. The assertion itself
    is probably caused by previously queued POLLIN events arriving after POLLIN
    has been disabled on the socket.
    
    The following additional bugs have been fixed as part of debugging this
    problem:
    
    - pgm_receiver_t does not flush messages written to the session in all
      cases which can lead to a stalled reader. Add calls to session->flush ()
      in the appropriate places.
    
    - ensure to restart polling when a pending message is flushed in
      activate_in ().
    
    Signed-off-by: Martin Lucina <martin@lucina.net>

 src/pgm_receiver.cpp |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

commit 19129edc60b09576699120a6c0637ae8c73c9bd4
Author: Staffan Gimåker <staffan@spotify.com>
Date:   Tue Jan 3 16:24:44 2012 +0100

    Prune redundant nodes in the trie.
    
    Signed-off-by: Staffan Gimåker <staffan@spotify.com>

 src/trie.cpp |   25 ++++++++++++++++++++++---
 src/trie.hpp |    3 +++
 2 files changed, 25 insertions(+), 3 deletions(-)

commit 6fa9ffebe5d4cf0bba051f464b8c8054cffc2b72
Author: Staffan Gimåker <staffan@spotify.com>
Date:   Tue Jan 3 16:24:16 2012 +0100

    Prune redundant nodes in the mtrie.
    
    Signed-off-by: Staffan Gimåker <staffan@spotify.com>

 src/mtrie.cpp |   35 ++++++++++++++++++++++++++++++++---
 src/mtrie.hpp |    3 +++
 2 files changed, 35 insertions(+), 3 deletions(-)

commit 029e28865dd47895e6919ce1c3e12c95ea56ad32
Author: Martin Lucina <martin@lucina.net>
Date:   Sun Dec 25 02:57:04 2011 +0100

    Fix assertion in pgm_sender_t::plug() (LIBZMQ-303)
    
    Opening any PGM socket gives this assertion. The problem is in
    pgm_sender_t::plug() which is incorrectly testing the return value from
    session::write().
    
    Signed-off-by: Martin Lucina <martin@lucina.net>

 src/pgm_sender.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 1d8b132d368119cd0cb8219e8cd90d8d35f0d647
Author: Ivo Danihelka <ivo@danihelka.net>
Date:   Wed Dec 21 16:21:55 2011 +0100

    Updated connector open() doc strings.
    
    Signed-off-by: Ivo Danihelka <ivo@danihelka.net>

 src/ipc_connecter.cpp |    2 +-
 src/ipc_connecter.hpp |    6 +++---
 src/tcp_connecter.cpp |    2 +-
 src/tcp_connecter.hpp |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

commit 6f32361fea61619fec94348de693a9e3ff8981e0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Dec 19 15:43:38 2011 +0100

    Version bumped to 3.1.1
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b3fbe0113d8b39cd2d23837882fba1ea40d22811
Merge: adc0712 dcb1d55
Author: Martin Lucina <martin@lucina.net>
Date:   Sun Dec 18 12:46:03 2011 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit dcb1d558a50c58dc9f3149ffa6bba65199c0200f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Dec 18 12:30:31 2011 +0100

    Fix MSVC10 build distfiles
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/Makefile.am                        |   33 ++++-
 builds/msvc/zmq_forwarder/zmq_forwarder.vcproj |  176 ------------------------
 builds/msvc/zmq_queue/zmq_queue.vcproj         |  176 ------------------------
 builds/msvc/zmq_streamer/zmq_streamer.vcproj   |  176 ------------------------
 4 files changed, 26 insertions(+), 535 deletions(-)

commit 3bf7860fb783c38503c013dbad05ad2ff54f5a16
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Dec 18 11:41:45 2011 +0100

    NEWS updated for 3.1.0 release
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 NEWS |  637 ++++++++++--------------------------------------------------------
 1 file changed, 90 insertions(+), 547 deletions(-)

commit 22ef966d4aab3448d4debf524afbdaa19f37dff0
Author: Martin Lucina <martin@lucina.net>
Date:   Sun Dec 18 11:19:55 2011 +0100

    Update email address in man pages
    
    Signed-off-by: Martin Lucina <martin@lucina.net>

 doc/zmq.txt               |    2 +-
 doc/zmq_bind.txt          |    2 +-
 doc/zmq_close.txt         |    2 +-
 doc/zmq_connect.txt       |    2 +-
 doc/zmq_errno.txt         |    2 +-
 doc/zmq_getsockopt.txt    |    2 +-
 doc/zmq_init.txt          |    2 +-
 doc/zmq_inproc.txt        |    2 +-
 doc/zmq_ipc.txt           |    2 +-
 doc/zmq_msg_close.txt     |    2 +-
 doc/zmq_msg_copy.txt      |    2 +-
 doc/zmq_msg_data.txt      |    2 +-
 doc/zmq_msg_init.txt      |    2 +-
 doc/zmq_msg_init_data.txt |    2 +-
 doc/zmq_msg_init_size.txt |    2 +-
 doc/zmq_msg_move.txt      |    2 +-
 doc/zmq_msg_size.txt      |    2 +-
 doc/zmq_pgm.txt           |    2 +-
 doc/zmq_poll.txt          |    2 +-
 doc/zmq_recv.txt          |    2 +-
 doc/zmq_recvmsg.txt       |    2 +-
 doc/zmq_send.txt          |    2 +-
 doc/zmq_sendmsg.txt       |    2 +-
 doc/zmq_setsockopt.txt    |    2 +-
 doc/zmq_socket.txt        |    2 +-
 doc/zmq_strerror.txt      |    2 +-
 doc/zmq_tcp.txt           |    2 +-
 doc/zmq_term.txt          |    2 +-
 doc/zmq_version.txt       |    2 +-
 29 files changed, 29 insertions(+), 29 deletions(-)

commit 183e126364762eb7b6fcc96c87d060c8e09044b5
Author: Martin Lucina <martin@lucina.net>
Date:   Sun Dec 18 11:12:44 2011 +0100

    Fix typo in zmq_sendmsg(3) manual page
    
    Signed-off-by: Martin Lucina <martin@lucina.net>

 doc/zmq_sendmsg.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit adc07128e6d493dc29a76f88db3870aaea0fc795
Merge: bfbd16d 3fbe8ac
Author: Martin Lucina <martin@lucina.net>
Date:   Sun Dec 18 11:06:19 2011 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit 3fbe8ac3c3aaec777c305de8fbdc0d748c3b14aa
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Dec 17 23:42:45 2011 +0100

    Dont wait for pending subscription commands on shutdown
    
    When (X)SUB socket is being shut down there may be pending
    outbound subscription commands in the pipes. In such case
    we want to close the socket immediately instead of waiting
    for the commands to be sent.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xsub.cpp |    5 +++++
 1 file changed, 5 insertions(+)

commit bfbd16d099cc045d4a4745e9a6f28221a0e3bd95
Merge: 82d9353 91fdedf
Author: Martin Lucina <martin@lucina.net>
Date:   Sat Dec 17 11:59:29 2011 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit 91fdedf25c4d76b0ec0aeb5d1d9f1c9a1a769447
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Dec 17 10:14:32 2011 +0100

    Fix polling on XREP socket
    
    When polling on XREP socket in incoming message part was prefetched,
    but not the identity of sender. The problem is fixed by this patch.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xrep.cpp |   45 ++++++++++++++++++++++++++++++++++++---------
 src/xrep.hpp |    8 ++++++--
 2 files changed, 42 insertions(+), 11 deletions(-)

commit f9eb763293014f812dac5558be5c5f03bb896efb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Dec 16 07:04:38 2011 +0100

    zmq_sendmsg and zmq_recvmsg checks for NULL message object
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/socket_base.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3fb5c11b03119a157db8dc024809943f88f87320
Author: Stuart Webster <sw_webster@hotmail.com>
Date:   Thu Dec 15 14:03:43 2011 +0100

    Added MSVC10 solution and project files for Windows
    
    These include configurations for both Win32 and x64 platforms. All project
    settings have been normalised in property sheets (the ".props" files under
    builds/msvc/properties) to simplify maintenance. Build artefacts are all
    generated in platform-specific subfolders of bin, lib and obj directories.
    
    Also enables the use of precompiled headers with MSVC10.
    
    This significantly reduces the time required to compile libzmq with Visual
    Studio on Windows. It should have no impact on other platforms.
    
    Signed-off-by: Stuart Webster <sw_webster@hotmail.com>

 .gitignore                                    |    1 +
 builds/msvc/c_local_lat/c_local_lat.vcxproj   |   87 +++++++++
 builds/msvc/c_local_thr/c_local_thr.vcxproj   |   87 +++++++++
 builds/msvc/c_remote_lat/c_remote_lat.vcxproj |   87 +++++++++
 builds/msvc/c_remote_thr/c_remote_thr.vcxproj |   87 +++++++++
 builds/msvc/inproc_lat/inproc_lat.vcxproj     |   86 +++++++++
 builds/msvc/inproc_thr/inproc_thr.vcxproj     |   86 +++++++++
 builds/msvc/libzmq/libzmq.vcxproj             |  241 +++++++++++++++++++++++++
 builds/msvc/libzmq/libzmq.vcxproj.filters     |   13 ++
 builds/msvc/msvc10.sln                        |  116 ++++++++++++
 builds/msvc/properties/Common.props           |   21 +++
 builds/msvc/properties/Debug.props            |   19 ++
 builds/msvc/properties/Dynamic.props          |   20 ++
 builds/msvc/properties/Executable.props       |   19 ++
 builds/msvc/properties/Precompiled.props      |   14 ++
 builds/msvc/properties/Release.props          |   22 +++
 builds/msvc/properties/Win32.props            |   12 ++
 builds/msvc/properties/Win32_Release.props    |   17 ++
 builds/msvc/properties/WithOpenPGM.props      |   12 ++
 builds/msvc/properties/ZeroMQ.props           |   23 +++
 builds/msvc/properties/x64.props              |   12 ++
 src/precompiled.cpp                           |   21 +++
 src/precompiled.hpp                           |   47 +++++
 src/windows.hpp                               |    3 +
 24 files changed, 1153 insertions(+)

commit a9e03336b020d2e6a83338b111092e65aa812f95
Author: Martin Lucina <martin@lucina.net>
Date:   Thu Dec 15 13:23:40 2011 +0100

    A synchronous connect() failure in ipc_connecter can result in Assertion
    failed: s == retired_fd (ipc_connecter.cpp:174), as reported in LIBZMQ-294.
    
    This patch fixes the bug, and also an identical problem in tcp_connecter
    which has not hit people since TCP connect() usually completes via the
    asynchronous code path (poll, out_event).
    
    Signed-off-by: Martin Lucina <martin@lucina.net>

 src/ipc_connecter.cpp |    1 +
 src/tcp_connecter.cpp |    1 +
 2 files changed, 2 insertions(+)

commit 82d935309eede60777b59af9df7a50576916d01f
Author: Martin Lucina <martin@lucina.net>
Date:   Wed Dec 14 00:00:32 2011 +0100

    Fix synchronous connect failure for ipc://, tcp:// (LIBZMQ-294)
    
    A synchronous connect() failure in ipc_connecter can result in Assertion
    failed: s == retired_fd (ipc_connecter.cpp:174), as reported in LIBZMQ-294.
    
    This patch fixes the bug, and also an identical problem in tcp_connecter
    which has not hit people since TCP connect() usually completes via the
    asynchronous code path (poll, out_event).
    
    Signed-off-by: Martin Lucina <martin@lucina.net>

 src/ipc_connecter.cpp |    1 +
 src/tcp_connecter.cpp |    1 +
 2 files changed, 2 insertions(+)

commit c90f54e6a66ead6c6dc949eaab58d1bfb23b0da1
Merge: b4f5ee5 e7d748e
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sun Dec 11 23:09:48 2011 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit e7d748e812a7259bd4030517fde79be202d2a16d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Dec 3 13:27:20 2011 +0100

    Mika Fischer added to AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 0df86c41b5f2e428b6237bcc1e28304ea0149097
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Dec 3 13:25:44 2011 +0100

    rt library required on all platforms
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit aaac96d94a81fb5debe24200e20c353217baec9c
Author: Mika Fischer <mika.fischer@zoopnet.de>
Date:   Sat Dec 3 13:07:30 2011 +0100

    This makes clock_t insensitive to the system clock being reset by NTP or
    the sysadmin, which could previously cause long hangs for instance in
    zmq_poll.
    
    Signed-off-by: Mika Fischer <mika.fischer@zoopnet.de>

 configure.in  |    5 +++--
 src/clock.cpp |   12 ++++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)

commit b4f5ee58a9e0ad4ad9f872b8fcc6797e1b6f4e04
Merge: 90d0435 fc17bd4
Author: Martin Lucina <martin@lucina.net>
Date:   Wed Nov 30 19:34:11 2011 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit fc17bd4117c19b027790951ac1df1a141bce9d82
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 22 14:48:35 2011 +0100

    ENOTCONN on recv() on TCP socket is treated decently (issue 254)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/stream_engine.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit daac9ac5b2f864f61615a4e93caf49e6ea187cda
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Nov 21 08:11:33 2011 +0100

    Phillip Kovacs added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit bf9062902c776c0c6029ef42c6ba0c7179bf0425
Author: Philip Kovacs <phil@philkovacs.com>
Date:   Mon Nov 21 08:10:03 2011 +0100

    Fix broken VPATH/parallel builds
    
    Signed-off-by: Philip Kovacs <phil@philkovacs.com>

 doc/Makefile.am   |    8 ++++----
 perf/Makefile.am  |    3 ++-
 tests/Makefile.am |    4 +++-
 3 files changed, 9 insertions(+), 6 deletions(-)

commit 5c1a91e33e552b136a0a72027ef27f41de95dcb8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 19 10:06:06 2011 +0100

    Stuart Webster added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit a610b3d1b4d975bbffc74604aa43f793dfd3f301
Author: Stuart Webster <sw_webster@hotmail.com>
Date:   Sat Nov 19 10:02:23 2011 +0100

    Line-ending conversion rules for hg-git users and enabled use of .gitignore by hg-git users
    
    Mercurial does not have built-in support for converting line-endings. This is a
    settings file for hg eol (http://mercurial.selenic.com/wiki/EolExtension), an
    extension that replicates the behaviour of git with core.autocrlf=true.
    
    Mercurial uses Python regex syntax by default in its .hgignore files. Adding
    this line to .gitignore overrides that setting, so hg-git users can just create
    a hardlink to it (e.g "mklink /H .hgignore .gitignore" on Windows) to use it.
    
    Signed-off-by: Stuart Webster <sw_webster@hotmail.com>

 .gitignore |    1 +
 .hgeol     |    2 ++
 2 files changed, 3 insertions(+)

commit f8bd3967bfe305c22b6e08f3e6555b2162609328
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Nov 16 19:49:31 2011 +0100

    Documentation for IPv4ONLY option clarified
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |    2 +-
 doc/zmq_setsockopt.txt |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 5a6503e5c275c544e1447401e17a4746985614ea
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 15 13:56:59 2011 +0100

    Bug in XREP and XREQ fixed (issue 280)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xrep.cpp |    2 +-
 src/xreq.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 83975c1b21722bb689c7b84cde5a6958145fcbd4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 15 08:40:46 2011 +0100

    Missing "defined" tokens added
    
    The missing tokens broke the build if you used -Werror -Wundef
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_address.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 21bca4dbe48cffdaa1e1108600973559a3b880d2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Nov 14 11:15:20 2011 +0100

    Bug concerining identity in XREQ socket fixed (issue 280)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xreq.cpp |   26 ++++++++++++++++++++++++--
 src/xreq.hpp |    6 ++++++
 2 files changed, 30 insertions(+), 2 deletions(-)

commit 1c239708ab174c1de9f99e256d23158f74a24dbc
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Nov 13 10:33:49 2011 +0100

    Couple of bugs in XREP handling of identities fixed.
    wq:
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xrep.cpp |   37 ++++++++++++++++++++++---------------
 1 file changed, 22 insertions(+), 15 deletions(-)

commit f8b005502699aa069406923701af685cc156d3c2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Nov 10 23:38:08 2011 +0100

    Hangup in signaler creation on Windows fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/signaler.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 90d0435b564e3c44b63980778ed1815a4451174e
Merge: 991f7e2 a7b0b0d
Author: Martin Lucina <martin@lucina.net>
Date:   Wed Nov 9 17:46:00 2011 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit a7b0b0d3dc1003fdd6f9538afda8fb4a5bbc5d41
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Nov 9 15:41:51 2011 +0100

    AUTHORS file changed
    
    - AJ Lewis added
    - Martin Lucina's email address changed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 27524908c17b7db965f8aaa2bde513643378e372
Author: Martin Lucina <martin@lucina.net>
Date:   Wed Nov 9 15:39:33 2011 +0100

    Set libzmq ABI version to 3
    
    libzmq master (3.1) is not ABI compatible with libzmq 2.1.x or 3.0 (removed
    functionality), hence the ABI version needs to be set to 3.
    
    Signed-off-by: Martin Lucina <martin@lucina.net>

 configure.in |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit c79abee6bcaa996f50be71bd1d3075e3affb469d
Author: AJ Lewis <aj.lewis@quantum.com>
Date:   Wed Nov 9 15:22:20 2011 +0100

    Get AIX 6.1 compiling again by making msg_t class explicit
    
    Older versions of gcc have problems with in-line forward declarations
    when there's a naming conflict with a global symbol.
    
    Signed-off-by: AJ Lewis <aj.lewis@quantum.com>
    
    Expand the original patch to all such forward declarations.
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/command.hpp       |   16 ++++++++----
 src/ctx.hpp           |   22 ++++++++++------
 src/decoder.hpp       |    6 +++--
 src/devpoll.hpp       |    6 +++--
 src/dist.hpp          |   21 ++++++++-------
 src/encoder.hpp       |    6 +++--
 src/epoll.hpp         |    6 +++--
 src/i_engine.hpp      |    4 ++-
 src/io_object.hpp     |    6 +++--
 src/io_thread.hpp     |    4 ++-
 src/ipc_connecter.hpp |    9 ++++---
 src/ipc_listener.hpp  |    9 ++++---
 src/kqueue.hpp        |    6 +++--
 src/lb.hpp            |    2 +-
 src/mtrie.hpp         |   18 +++++++------
 src/object.hpp        |   69 ++++++++++++++++++++++++++++---------------------
 src/own.hpp           |    7 +++--
 src/pair.hpp          |   25 +++++++++++-------
 src/pgm_receiver.hpp  |   11 +++++---
 src/pgm_sender.hpp    |    9 ++++---
 src/pipe.hpp          |   17 +++++++-----
 src/poll.hpp          |    6 +++--
 src/poller_base.hpp   |    8 +++---
 src/pub.hpp           |   13 +++++++---
 src/pull.hpp          |   19 +++++++++-----
 src/push.hpp          |   19 +++++++++-----
 src/reaper.hpp        |    7 +++--
 src/rep.hpp           |   15 +++++++----
 src/req.hpp           |   15 +++++++----
 src/select.hpp        |    6 +++--
 src/session_base.hpp  |   34 +++++++++++++-----------
 src/socket_base.hpp   |   22 +++++++++-------
 src/stream_engine.hpp |   11 +++++---
 src/sub.hpp           |   13 +++++++---
 src/tcp_connecter.hpp |    9 ++++---
 src/tcp_listener.hpp  |    9 ++++---
 src/xpub.hpp          |   25 +++++++++++-------
 src/xrep.hpp          |   25 ++++++++++--------
 src/xreq.hpp          |   24 ++++++++++-------
 src/xsub.hpp          |   23 ++++++++++-------
 40 files changed, 361 insertions(+), 221 deletions(-)

commit 991f7e2c85919daef43c62175da046e0a085f8e3
Author: Martin Lucina <martin@lucina.net>
Date:   Wed Nov 9 13:12:46 2011 +0100

    Set libzmq ABI version to 3
    
    libzmq master (3.1) is not ABI compatible with libzmq 2.1.x or 3.0 (removed
    functionality), hence the ABI version needs to be set to 3.
    
    Signed-off-by: Martin Lucina <martin@lucina.net>

 configure.in |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit 89962a825697dd9eca057c032ec61de71b075539
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 8 14:49:15 2011 +0100

    Uninitialised FSM state in REQ session fixed (issue 278)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/req.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 11e31988e14b46ccfafeb9f58706ba1fe18a274f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Nov 6 14:09:20 2011 +0100

    Chuck Remeas added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 93529d8c5db599a45171942c4510f1b84ed09e6a
Author: Chuck Remes <cremes@mac.com>
Date:   Sun Nov 6 14:03:51 2011 +0100

    Add zmq_getmsgopt to the API
    
    The new function allows to retrieve options (flags)
    from zmq_msg_t.
    
    Signed-off-by: Chuck Remes <cremes@mac.com>
    Renamed from zmq_msg_flags to zmq_getmsgopt
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 .gitignore               |    1 +
 doc/Makefile.am          |    2 +-
 doc/zmq_getmsgopt.txt    |   85 ++++++++++++++++++++++++++++++++++++++++++++++
 include/zmq.h            |    5 +++
 src/socket_base.cpp      |   10 +++---
 src/zmq.cpp              |   19 +++++++++++
 tests/Makefile.am        |    4 ++-
 tests/test_msg_flags.cpp |   82 ++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 200 insertions(+), 8 deletions(-)

commit bb66f3cc3bc2a76d10f16e1206f35480eb250a07
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 5 16:05:18 2011 +0100

    Bug in trie fixed (issue 277)
    
    When there were both '0' and '255' subnodes in (mtrie)
    the removal of the node resulted in an infinite loop.
    Fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mtrie.cpp |    2 +-
 src/trie.cpp  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 6503716203552966e2fa6a6b4839bc0e001f9478
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 5 11:38:50 2011 +0100

    Minor typo corrected
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 tests/test_timeo.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit fe81827bd093aa6df5e5bf1bfbca479cad4ab53a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 5 10:18:38 2011 +0100

    Version changed to 3.1.0
    
    This version downgrade is done because of the previous refatoring.
    It removed all the new features and reintroduced some of the old
    ones (identities). Thus, it made trunk much closer to existing 3.0
    branch than it used to be.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 21a0b49834734919a48301fbbb354f8c75c6d1ad
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 5 10:10:44 2011 +0100

    Obsolete ECANTROUTE errror code removed
    
    This error code was used only by new-style ROUTER socket
    which is not a part of the codebase.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    1 -
 1 file changed, 1 deletion(-)

commit a756956781973d207413d675b998ae47de47b7c7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 5 09:57:17 2011 +0100

    Use identities in inproc transport
    
    Previous patches have missed the case when the identity should
    be sent from an inproc endpoint. Fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/socket_base.cpp |   11 +++++++++++
 1 file changed, 11 insertions(+)

commit de1d32daaedce51f655fe73e60988733b2db6557
Author: Brett Cameron <Brett.Cameron@hp.com>
Date:   Fri Nov 4 14:15:06 2011 +0100

    Fix getaddrinfo calls to work on OpenVMS
    
    Signed-off by: Brett Cameron <Brett.Cameron@hp.com>

 src/tcp_address.cpp |    8 ++++++++
 1 file changed, 8 insertions(+)

commit 50a9ee6e7335b645487a83487285bce6886ba082
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Nov 4 10:02:49 2011 +0100

    MSVC build fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   30 +++---------------------------
 src/windows.hpp                  |    3 ---
 2 files changed, 3 insertions(+), 30 deletions(-)

commit 05ce301f3571e3e690792a189cb927328163f0bc
Merge: a8362ab 6cdd720
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Nov 4 09:48:25 2011 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit 6cdd720400ea456ccbfdf09cdc5054ab07dbdc6f
Merge: 541b83b e9c3a22
Author: sustrik <sustrik@250bpm.com>
Date:   Fri Nov 4 02:15:37 2011 -0700

    Merge pull request #220 from 250bpm/HEAD
    
    Refactoring

commit e9c3a227a7175b4eda5193b1c8ce6985f5ed89f3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Nov 4 08:05:39 2011 +0100

    Linking exception corrected
    
    Correctly states 'copyright holders' instead of 'iMatix'.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 COPYING.LESSER |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit a4843b65d24f9caa188bb2454b28080f0cee8484
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Nov 4 08:00:47 2011 +0100

    Identities re-introduced
    
    However, the "durable socket" behaviour wasn't re-added.
    Identities are used solely for routing in REQ/REP pattern.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/msg.hpp                |    1 +
 src/options.cpp            |    4 +-
 src/options.hpp            |    6 +++
 src/pipe.cpp               |   11 +++--
 src/pipe.hpp               |   10 +++--
 src/req.cpp                |   15 +++++--
 src/req.hpp                |    1 +
 src/session_base.cpp       |   20 ++++++++-
 src/session_base.hpp       |    5 +++
 src/socket_base.cpp        |    9 ++++
 src/xrep.cpp               |  102 +++++++++++++++++++++++++++-----------------
 src/xrep.hpp               |    4 +-
 src/xreq.cpp               |   14 +++++-
 tests/test_invalid_rep.cpp |   17 ++++----
 14 files changed, 155 insertions(+), 64 deletions(-)

commit d20ea25b8c63e148fe48cc2b85bac9c896f1073b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Nov 2 14:33:58 2011 +0100

    ZMQ_IDENTITY option re-introduced
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   16 ++++++++++++++++
 doc/zmq_setsockopt.txt |   17 +++++++++++++++++
 include/zmq.h          |    1 +
 src/Makefile.am        |    1 +
 src/blob.hpp           |   35 +++++++++++++++++++++++++++++++++++
 src/options.cpp        |   25 +++++++++++++++++++++++++
 src/options.hpp        |    5 +++++
 7 files changed, 100 insertions(+)

commit 8e21d64c974344b5b2b83cac85d12c51392fe74b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 1 18:06:11 2011 +0100

    Copyright dates adjusted to reflect reality
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 autogen.sh                     |    2 +-
 include/zmq.h                  |    2 +-
 include/zmq_utils.h            |    1 -
 perf/inproc_lat.cpp            |    2 +-
 perf/inproc_thr.cpp            |    2 +-
 perf/local_lat.cpp             |    2 +-
 perf/local_thr.cpp             |    2 +-
 perf/remote_lat.cpp            |    2 +-
 perf/remote_thr.cpp            |    2 +-
 src/array.hpp                  |    2 +-
 src/atomic_counter.hpp         |    2 +-
 src/atomic_ptr.hpp             |    2 +-
 src/clock.cpp                  |    5 ++---
 src/clock.hpp                  |    5 ++---
 src/command.hpp                |    2 +-
 src/config.hpp                 |    2 +-
 src/ctx.hpp                    |    2 +-
 src/decoder.cpp                |    2 +-
 src/decoder.hpp                |    2 +-
 src/devpoll.cpp                |    2 +-
 src/devpoll.hpp                |    2 +-
 src/dist.cpp                   |    5 ++---
 src/dist.hpp                   |    5 ++---
 src/encoder.cpp                |    2 +-
 src/encoder.hpp                |    2 +-
 src/epoll.cpp                  |    2 +-
 src/epoll.hpp                  |    2 +-
 src/err.cpp                    |    2 +-
 src/err.hpp                    |    2 +-
 src/fd.hpp                     |    3 +--
 src/fq.cpp                     |    2 +-
 src/fq.hpp                     |    2 +-
 src/i_engine.hpp               |    2 +-
 src/i_poll_events.hpp          |    4 ++--
 src/io_object.cpp              |    2 +-
 src/io_object.hpp              |    2 +-
 src/io_thread.cpp              |    2 +-
 src/io_thread.hpp              |    2 +-
 src/ip.cpp                     |    4 ++--
 src/ip.hpp                     |    4 ++--
 src/ipc_address.cpp            |    5 ++---
 src/ipc_address.hpp            |    5 ++---
 src/ipc_connecter.cpp          |    5 ++---
 src/ipc_connecter.hpp          |    5 ++---
 src/ipc_listener.cpp           |    5 ++---
 src/ipc_listener.hpp           |    5 ++---
 src/kqueue.cpp                 |    2 +-
 src/kqueue.hpp                 |    2 +-
 src/lb.cpp                     |    4 ++--
 src/lb.hpp                     |    4 ++--
 src/likely.hpp                 |    3 +--
 src/mailbox.cpp                |    2 +-
 src/mailbox.hpp                |    2 +-
 src/msg.cpp                    |    2 +-
 src/msg.hpp                    |    2 +-
 src/mtrie.cpp                  |    5 ++---
 src/mtrie.hpp                  |    5 ++---
 src/mutex.hpp                  |    4 ++--
 src/object.cpp                 |    2 +-
 src/object.hpp                 |    2 +-
 src/options.cpp                |    2 +-
 src/options.hpp                |    2 +-
 src/own.cpp                    |    5 ++---
 src/own.hpp                    |    5 ++---
 src/pair.cpp                   |    2 +-
 src/pair.hpp                   |    2 +-
 src/pgm_receiver.cpp           |    4 ++--
 src/pgm_receiver.hpp           |    4 ++--
 src/pgm_sender.cpp             |    4 ++--
 src/pgm_sender.hpp             |    4 ++--
 src/pgm_socket.cpp             |    4 ++--
 src/pgm_socket.hpp             |    4 ++--
 src/pipe.cpp                   |    2 +-
 src/pipe.hpp                   |    2 +-
 src/poll.cpp                   |    2 +-
 src/poll.hpp                   |    2 +-
 src/poller.hpp                 |    4 ++--
 src/poller_base.cpp            |    5 ++---
 src/poller_base.hpp            |    5 ++---
 src/pub.cpp                    |    2 +-
 src/pub.hpp                    |    2 +-
 src/pull.cpp                   |    2 +-
 src/pull.hpp                   |    2 +-
 src/push.cpp                   |    2 +-
 src/push.hpp                   |    2 +-
 src/random.cpp                 |    5 ++---
 src/random.hpp                 |    5 ++---
 src/reaper.cpp                 |    5 ++---
 src/reaper.hpp                 |    5 ++---
 src/req.cpp                    |    2 +-
 src/req.hpp                    |    2 +-
 src/select.cpp                 |    2 +-
 src/select.hpp                 |    2 +-
 src/session_base.cpp           |    2 +-
 src/session_base.hpp           |    2 +-
 src/signaler.cpp               |    5 ++---
 src/signaler.hpp               |    5 ++---
 src/socket_base.cpp            |    2 +-
 src/socket_base.hpp            |    2 +-
 src/stdint.hpp                 |    3 +--
 src/stream_engine.cpp          |    2 +-
 src/stream_engine.hpp          |    2 +-
 src/sub.cpp                    |    2 +-
 src/sub.hpp                    |    2 +-
 src/tcp_address.cpp            |    2 +-
 src/tcp_address.hpp            |    2 +-
 src/tcp_connecter.cpp          |    2 +-
 src/tcp_connecter.hpp          |    2 +-
 src/tcp_listener.cpp           |    2 +-
 src/tcp_listener.hpp           |    2 +-
 src/thread.cpp                 |    2 +-
 src/thread.hpp                 |    2 +-
 src/trie.cpp                   |    2 +-
 src/trie.hpp                   |    2 +-
 src/windows.hpp                |    4 ++--
 src/wire.hpp                   |    3 +--
 src/xpub.cpp                   |    5 ++---
 src/xpub.hpp                   |    5 ++---
 src/xrep.cpp                   |    2 +-
 src/xrep.hpp                   |    2 +-
 src/xreq.cpp                   |    1 -
 src/xreq.hpp                   |    2 --
 src/xsub.cpp                   |    5 ++---
 src/xsub.hpp                   |    5 ++---
 src/ypipe.hpp                  |    2 +-
 src/yqueue.hpp                 |    2 +-
 src/zmq_utils.cpp              |    2 +-
 tests/test_hwm.cpp             |    5 ++---
 tests/test_invalid_rep.cpp     |    5 ++---
 tests/test_pair_inproc.cpp     |    5 ++---
 tests/test_pair_ipc.cpp        |    5 ++---
 tests/test_pair_tcp.cpp        |    6 +++---
 tests/test_reqrep_device.cpp   |    5 ++---
 tests/test_reqrep_inproc.cpp   |    5 ++---
 tests/test_reqrep_ipc.cpp      |    5 ++---
 tests/test_reqrep_tcp.cpp      |    6 +++---
 tests/test_shutdown_stress.cpp |    6 +++---
 tests/test_sub_forward.cpp     |    6 +++---
 tests/test_timeo.cpp           |    5 ++---
 139 files changed, 192 insertions(+), 234 deletions(-)

commit 8a0f5f7650e556bde6c95d7f20c975aa530d3e10
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 1 14:46:18 2011 +0100

    Miru copyrights added
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_receiver.cpp |    1 +
 src/pgm_receiver.hpp |    1 +
 src/pgm_sender.cpp   |    1 +
 src/pgm_sender.hpp   |    1 +
 src/pgm_socket.cpp   |    1 +
 src/pgm_socket.hpp   |    1 +
 6 files changed, 6 insertions(+)

commit 1c071f54a6c4444aaa73ace26d7b3a654c26ea5c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 1 14:09:54 2011 +0100

    LABELs removed from the documentation
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   13 -------------
 doc/zmq_recv.txt       |    7 ++-----
 doc/zmq_recvmsg.txt    |    7 ++-----
 doc/zmq_send.txt       |   11 ++---------
 doc/zmq_sendmsg.txt    |   11 ++---------
 doc/zmq_socket.txt     |   33 ---------------------------------
 6 files changed, 8 insertions(+), 74 deletions(-)

commit 7563518929573fc9e729c1dc8bb4aea512fada5a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 1 13:54:28 2011 +0100

    Tests print their name before running
    
    This makes finding out which test have hung-up easier.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 tests/test_hwm.cpp             |    3 +++
 tests/test_invalid_rep.cpp     |    3 +++
 tests/test_pair_inproc.cpp     |    3 +++
 tests/test_pair_ipc.cpp        |    3 +++
 tests/test_pair_tcp.cpp        |    3 +++
 tests/test_reqrep_device.cpp   |    3 +++
 tests/test_reqrep_inproc.cpp   |    3 +++
 tests/test_reqrep_ipc.cpp      |    3 +++
 tests/test_reqrep_tcp.cpp      |    3 +++
 tests/test_shutdown_stress.cpp |    3 +++
 tests/test_sub_forward.cpp     |    3 +++
 tests/test_timeo.cpp           |    3 +++
 12 files changed, 36 insertions(+)

commit 7842c7107358324e8c5b9af7272e6dcab8c97931
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 1 13:39:54 2011 +0100

    LABELS and COMMANDs removed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h                |    5 +-
 src/dist.cpp                 |    6 +-
 src/encoder.cpp              |    5 +-
 src/fq.cpp                   |    3 +-
 src/lb.cpp                   |    6 +-
 src/msg.hpp                  |    7 +-
 src/pipe.cpp                 |    7 +-
 src/rep.cpp                  |   19 +++---
 src/req.cpp                  |   46 +++++---------
 src/req.hpp                  |    7 +-
 src/session_base.cpp         |    4 +-
 src/socket_base.cpp          |   33 +---------
 src/socket_base.hpp          |    7 +-
 src/xpub.cpp                 |    4 +-
 src/xrep.cpp                 |   11 ++--
 src/xsub.cpp                 |   10 +--
 tests/Makefile.am            |    2 -
 tests/test_invalid_rep.cpp   |   13 ++--
 tests/test_reqrep_device.cpp |   31 ++-------
 tests/test_reqrep_drop.cpp   |  144 ------------------------------------------
 20 files changed, 75 insertions(+), 295 deletions(-)

commit 626099aa2a292178872843c55cc5226e6850f2ed
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Oct 31 16:37:20 2011 +0100

    VTCP transport removed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 configure.in           |   13 ---
 src/Makefile.am        |    4 -
 src/session_base.cpp   |   13 ---
 src/socket_base.cpp    |   27 +-----
 src/vtcp_connecter.cpp |  252 ------------------------------------------------
 src/vtcp_connecter.hpp |  121 -----------------------
 src/vtcp_listener.cpp  |  125 ------------------------
 src/vtcp_listener.hpp  |   72 --------------
 8 files changed, 1 insertion(+), 626 deletions(-)

commit ac7717b7b35f441fc3aeeb1528e63f147c00913a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Oct 31 16:20:30 2011 +0100

    250bpm copyrights added
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h                  |    1 +
 include/zmq_utils.h            |    1 +
 perf/inproc_lat.cpp            |    1 +
 perf/inproc_thr.cpp            |    1 +
 perf/local_lat.cpp             |    1 +
 perf/local_thr.cpp             |    1 +
 perf/remote_lat.cpp            |    1 +
 perf/remote_thr.cpp            |    1 +
 src/array.hpp                  |    1 +
 src/atomic_counter.hpp         |    1 +
 src/atomic_ptr.hpp             |    1 +
 src/clock.cpp                  |    1 +
 src/clock.hpp                  |    1 +
 src/command.hpp                |    1 +
 src/config.hpp                 |    1 +
 src/ctx.cpp                    |    1 +
 src/ctx.hpp                    |    1 +
 src/decoder.cpp                |    1 +
 src/decoder.hpp                |    1 +
 src/devpoll.cpp                |    1 +
 src/devpoll.hpp                |    1 +
 src/dist.cpp                   |    1 +
 src/dist.hpp                   |    1 +
 src/encoder.cpp                |    1 +
 src/encoder.hpp                |    1 +
 src/epoll.cpp                  |    1 +
 src/epoll.hpp                  |    1 +
 src/err.cpp                    |    1 +
 src/err.hpp                    |    1 +
 src/fd.hpp                     |    1 +
 src/fq.cpp                     |    1 +
 src/fq.hpp                     |    1 +
 src/i_engine.hpp               |    1 +
 src/i_poll_events.hpp          |    1 +
 src/io_object.cpp              |    1 +
 src/io_object.hpp              |    1 +
 src/io_thread.cpp              |    1 +
 src/io_thread.hpp              |    1 +
 src/ip.cpp                     |    1 +
 src/ip.hpp                     |    1 +
 src/ipc_address.cpp            |    1 +
 src/ipc_address.hpp            |    1 +
 src/ipc_connecter.cpp          |    1 +
 src/ipc_connecter.hpp          |    1 +
 src/ipc_listener.cpp           |    1 +
 src/ipc_listener.hpp           |    1 +
 src/kqueue.cpp                 |    1 +
 src/kqueue.hpp                 |    1 +
 src/lb.cpp                     |    1 +
 src/lb.hpp                     |    1 +
 src/likely.hpp                 |    1 +
 src/mailbox.cpp                |    1 +
 src/mailbox.hpp                |    1 +
 src/msg.cpp                    |    1 +
 src/msg.hpp                    |    1 +
 src/mtrie.cpp                  |    1 +
 src/mtrie.hpp                  |    1 +
 src/mutex.hpp                  |    1 +
 src/object.cpp                 |    1 +
 src/object.hpp                 |    1 +
 src/options.cpp                |    1 +
 src/options.hpp                |    1 +
 src/own.cpp                    |    1 +
 src/own.hpp                    |    1 +
 src/pair.cpp                   |    1 +
 src/pair.hpp                   |    1 +
 src/pgm_receiver.cpp           |    1 +
 src/pgm_receiver.hpp           |    1 +
 src/pgm_sender.cpp             |    1 +
 src/pgm_sender.hpp             |    1 +
 src/pgm_socket.cpp             |    1 +
 src/pgm_socket.hpp             |    1 +
 src/pipe.cpp                   |    1 +
 src/pipe.hpp                   |    1 +
 src/poll.cpp                   |    1 +
 src/poll.hpp                   |    1 +
 src/poller.hpp                 |    1 +
 src/poller_base.cpp            |    1 +
 src/poller_base.hpp            |    1 +
 src/pub.cpp                    |    1 +
 src/pub.hpp                    |    1 +
 src/pull.cpp                   |    1 +
 src/pull.hpp                   |    1 +
 src/push.cpp                   |    1 +
 src/push.hpp                   |    1 +
 src/random.cpp                 |    1 +
 src/random.hpp                 |    1 +
 src/reaper.cpp                 |    1 +
 src/reaper.hpp                 |    1 +
 src/rep.cpp                    |    1 +
 src/rep.hpp                    |    1 +
 src/req.cpp                    |    1 +
 src/req.hpp                    |    1 +
 src/select.cpp                 |    1 +
 src/select.hpp                 |    1 +
 src/session_base.cpp           |    1 +
 src/session_base.hpp           |    1 +
 src/signaler.cpp               |    1 +
 src/signaler.hpp               |    1 +
 src/socket_base.cpp            |    1 +
 src/socket_base.hpp            |    1 +
 src/stdint.hpp                 |    1 +
 src/stream_engine.cpp          |    1 +
 src/stream_engine.hpp          |    1 +
 src/sub.cpp                    |    1 +
 src/sub.hpp                    |    1 +
 src/tcp_address.cpp            |    1 +
 src/tcp_address.hpp            |    1 +
 src/tcp_connecter.cpp          |    1 +
 src/tcp_connecter.hpp          |    1 +
 src/tcp_listener.cpp           |    1 +
 src/tcp_listener.hpp           |    1 +
 src/thread.cpp                 |    1 +
 src/thread.hpp                 |    1 +
 src/trie.cpp                   |    1 +
 src/trie.hpp                   |    1 +
 src/vtcp_connecter.cpp         |    1 +
 src/vtcp_connecter.hpp         |    1 +
 src/vtcp_listener.cpp          |    1 +
 src/vtcp_listener.hpp          |    1 +
 src/windows.hpp                |    1 +
 src/wire.hpp                   |    1 +
 src/xpub.cpp                   |    1 +
 src/xpub.hpp                   |    1 +
 src/xrep.cpp                   |    1 +
 src/xrep.hpp                   |    1 +
 src/xreq.cpp                   |    1 +
 src/xreq.hpp                   |    1 +
 src/xsub.cpp                   |    1 +
 src/xsub.hpp                   |    1 +
 src/ypipe.hpp                  |    1 +
 src/yqueue.hpp                 |    1 +
 src/zmq.cpp                    |    1 +
 src/zmq_utils.cpp              |    1 +
 tests/test_hwm.cpp             |    1 +
 tests/test_invalid_rep.cpp     |    1 +
 tests/test_pair_inproc.cpp     |    1 +
 tests/test_pair_ipc.cpp        |    1 +
 tests/test_pair_tcp.cpp        |    1 +
 tests/test_reqrep_device.cpp   |    1 +
 tests/test_reqrep_drop.cpp     |    1 +
 tests/test_reqrep_inproc.cpp   |    1 +
 tests/test_reqrep_ipc.cpp      |    1 +
 tests/test_reqrep_tcp.cpp      |    1 +
 tests/test_shutdown_stress.cpp |    1 +
 tests/test_sub_forward.cpp     |    1 +
 tests/test_timeo.cpp           |    1 +
 tests/testutil.hpp             |    1 +
 148 files changed, 148 insertions(+)

commit 4b832ea37410035bba7b85e5e9988af8eda648c2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Oct 31 15:56:39 2011 +0100

    Revert the early dropping of request and replies for disconnected clients
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xrep.cpp |    4 +++-
 src/xreq.cpp |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

commit 9227c389331c26d24e515bdd46867013f0cbd641
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Oct 31 15:51:11 2011 +0100

    ROUTER and DEALER are aliases for XREP and XREQ
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    3 +++
 1 file changed, 3 insertions(+)

commit dee8b2360ac0084165401dd61fc485226402124d
Author: Martin Sustrik <sustrik@turist.(none)>
Date:   Mon Oct 31 15:44:42 2011 +0100

    New style ROUTER socket removed.
    
    Signed-off-by: Martin Sustrik <sustrik@turist.(none)>

 include/zmq.h        |    1 -
 src/Makefile.am      |    2 -
 src/router.cpp       |  285 --------------------------------------------------
 src/router.hpp       |  123 ----------------------
 src/session_base.cpp |    5 -
 src/socket_base.cpp  |    4 -
 6 files changed, 420 deletions(-)

commit 541b83bc02784c721efa3d9dde8f8a191c3c3b7b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 29 14:49:08 2011 +0200

    Perry Kundert added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 09574a6104ce824c43fe8261d31451ccb337d11b
Author: Perry Kundert <perry@kundert.ca>
Date:   Sat Oct 29 14:47:53 2011 +0200

    Corrected discarding of remainder of message when request ID invalid
    
    When zmq::req_t::xrecv detects that a response has no request ID
    label, or the ID is the wrong size, it would return an EAGAIN, but
    would not discard the remainder of the message.  This could allow the
    remainder of the message to incorrectly "leak" into a future response,
    if it is crafted to look like a reply with a valid response ID.
    Discard all remaining message blocks, if the ID is invalid in any way.

 src/req.cpp |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

commit 52bab42212c263a51b219ae8714c481bc948cb4e
Author: Bernd Prager <bernd@prager.ws>
Date:   Thu Oct 27 17:11:28 2011 +0200

    Missing bracket added
    
    Signed-off: Martin Sustrik <sustrik@250bpm.com>

 src/zmq.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9b3e61a178af5c5e373c701a11697051c4c9a50a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Oct 27 14:02:57 2011 +0200

    Ben Gray added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 9e000c8f26c99656dd967a8d15997b879af5817b
Author: Ben Gray <ben@benjamg.com>
Date:   Thu Oct 27 13:59:54 2011 +0200

    Patch for issue LIBZMQ-275. Dealing with VSM in distribution when pipes fail to write.
    
    Signed-off-by: Ben Gray <ben@benjamg.com>

 src/dist.cpp |   10 ++++++++++
 src/msg.cpp  |    6 ++++++
 src/msg.hpp  |    1 +
 3 files changed, 17 insertions(+)

commit 68ab5f87edd2436757ab92b22238a5a4114d7b0d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Oct 27 11:51:23 2011 +0200

    Paul Betts added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 1b706ac02858aee4c960331dc7100f8c14312848
Author: Paul Betts <paul@paulbetts.org>
Date:   Thu Oct 27 11:48:58 2011 +0200

    Enable exceptions raising on assert on Win32
    
    This patch changes the Win32 version to call RaiseException instead of abort
    (which eventually calls TerminateProcess). This allows crash dumps to be sent
    correctly instead of the process disappearing.
    
    Signed-off-by: Paul Betts <paul@paulbetts.org>

 src/err.cpp |   13 +++++++++++++
 src/err.hpp |   26 ++++++++++++++------------
 2 files changed, 27 insertions(+), 12 deletions(-)

commit a8362abf11b51dd553766fb07a9e60f28e788126
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Oct 27 11:21:01 2011 +0200

    Enable exceptions raising on assert on Win32
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/err.cpp |   13 +++++++++++++
 src/err.hpp |   26 ++++++++++++++------------
 2 files changed, 27 insertions(+), 12 deletions(-)

commit a70bea01cc9c81a59d0b7067e8854fc9777f5757
Merge: 81da391 b3cda2a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Oct 27 10:37:31 2011 +0200

    Merge branch 'master' of github.com:zeromq/libzmq

commit b3cda2ad6091096264f777a95907050edfdd3ffe
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Oct 27 09:41:48 2011 +0200

    Bug in kqueue poller fixed (issue 261)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/kqueue.cpp |   25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

commit 6c1b50cfab1529e866e40c037ce1be7027423af0
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Wed Oct 26 11:26:00 2011 +0200

    Added compile-time test for SOCK_CLOEXEC
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |   22 ++++++++++++++++++++++
 configure.in |    5 +++++
 src/ip.cpp   |    4 ++--
 3 files changed, 29 insertions(+), 2 deletions(-)

commit d31792e652cc9fd3bc84e2abd89f232d273b7ede
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Oct 6 13:12:49 2011 +0200

    Default HWMs are set to 1000
    
    This patch is meant to prevent users from running out of memory
    when using 0MQ in the default configuration.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |    8 ++------
 doc/zmq_setsockopt.txt |    8 ++------
 src/options.cpp        |    4 ++--
 3 files changed, 6 insertions(+), 14 deletions(-)

commit f5f1a8b1841f04fc9db5df3eb669d76513687065
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Tue Oct 4 09:39:55 2011 +0200

    New upstream OpenPGM maintenance release 5.1.118.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 configure.in                               |    2 +-
 foreign/openpgm/libpgm-5.1.115~dfsg.tar.gz |  Bin 1054630 -> 0 bytes
 foreign/openpgm/libpgm-5.1.118~dfsg.tar.gz |  Bin 0 -> 1046589 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)

commit cc5d31605fddc9888f3b30933fbd4ec3272299ab
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Tue Oct 4 09:32:02 2011 +0200

    Re-add PGM rate limiting
    
    It was accidently lost in commit fcfad5682e, equivalent
    to commits 2ddb106 & b62dd40 in version 2.1.  Changes semantics
    from TXW_MAX_RATE to ODATA_MAX_RATE.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 src/pgm_socket.cpp |    3 +++
 1 file changed, 3 insertions(+)

commit 81da391e7e6ee12a2607289a1aae16c400e7025e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 29 14:47:41 2011 +0200

    Use single port for creating signalers on Windows
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/config.hpp   |    6 +++++-
 src/signaler.cpp |   23 +++++++++++++++++------
 2 files changed, 22 insertions(+), 7 deletions(-)

commit 7a10bbe77a31158da0573031f8d6a50812262858
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 29 11:35:31 2011 +0200

    Bug in subscription matching fixed (issue 263)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mtrie.cpp |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit 34b114d15d8e4bd784014189eb7204e88b06da61
Author: Jon Dyte <jon@totient.co.uk>
Date:   Thu Sep 29 09:07:03 2011 +0200

    Make sure new ROUTER socket honours POLLIN for cmd messages
    
    Signed-off-by: Jon Dyte <jon@totient.co.uk>

 src/router.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8485a5e5a4cdcb5cec800279f874c8579d246940
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 28 08:03:14 2011 +0200

    Assert fixed in XREP & ROUTER  when sending to terminating pipe (issue 258)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/router.cpp |    5 +++--
 src/xrep.cpp   |    6 ++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

commit d726120e60e3db332ed26c2106c65271f4d8fba4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Sep 26 14:02:31 2011 +0200

    Bug in matching algorithm fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mtrie.cpp |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 25cc25e9ad51f38fa8e1a78a798b2d54e270dad2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 18 10:19:08 2011 +0200

    MSVC build fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e170136a2e00eec2e786441cdc090c3b00a8fbd4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Sep 16 16:34:28 2011 +0200

    More bugs in mtrie fixed
    
    Aside of fixing couple of corner cases this patch turns the 'match'
    function in mtrie from recursive to iterative.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mtrie.cpp |   57 ++++++++++++++++++++++++++++++---------------------------
 src/mtrie.hpp |    2 --
 2 files changed, 30 insertions(+), 29 deletions(-)

commit 5936379b292dec79efd3a1eaa7cafae4fc6d675a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Sep 16 15:02:52 2011 +0200

    Bug in mtrie fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mtrie.cpp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 06bdf2c4f96a6324b3fe667cebb03d44cd100a73
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Sep 16 09:29:43 2011 +0200

    Check message syntax in REQ asynchronously
    
    This patch adds support for checking messages as they arrive
    (as opposed to when they are recv'd by the user) and drop
    the connection if they are malformed.
    
    It also uses this new feature to check for validity of inbound
    messages in REQ socket.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/decoder.cpp      |    9 ++++++++-
 src/decoder.hpp      |    8 ++++++++
 src/encoder.cpp      |   10 +++++++++-
 src/encoder.hpp      |    9 +++++++++
 src/req.cpp          |   20 ++++++++++++++++++++
 src/req.hpp          |    8 ++++++++
 src/session_base.cpp |   20 ++++++++++----------
 src/session_base.hpp |    4 ++--
 8 files changed, 74 insertions(+), 14 deletions(-)

commit f78d9b6bfca13e298c29fadabbbc870b37a0a573
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 15 10:00:23 2011 +0200

    Session class separated into socket-type-specific sessions
    
    This is a preliminary patch allowing for socket-type-specific
    functionality in the I/O thread. For example, message format
    can be checked asynchronously and misbehaved connections dropped
    straight away.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am        |    4 +-
 src/decoder.cpp        |    4 +-
 src/decoder.hpp        |    4 +-
 src/encoder.cpp        |    4 +-
 src/encoder.hpp        |    4 +-
 src/i_engine.hpp       |    2 +-
 src/ipc_connecter.cpp  |    2 +-
 src/ipc_connecter.hpp  |    4 +-
 src/ipc_listener.cpp   |    8 +-
 src/object.cpp         |    6 +-
 src/object.hpp         |    2 +-
 src/pair.cpp           |   12 ++
 src/pair.hpp           |   16 ++
 src/pgm_receiver.cpp   |    5 +-
 src/pgm_receiver.hpp   |    5 +-
 src/pgm_sender.cpp     |    4 +-
 src/pgm_sender.hpp     |    3 +-
 src/pub.cpp            |   12 ++
 src/pub.hpp            |   15 ++
 src/pull.cpp           |   12 ++
 src/pull.hpp           |   16 ++
 src/push.cpp           |   12 ++
 src/push.hpp           |   16 ++
 src/rep.cpp            |   12 ++
 src/rep.hpp            |   15 ++
 src/req.cpp            |   11 ++
 src/req.hpp            |   15 ++
 src/router.cpp         |   10 ++
 src/router.hpp         |   16 ++
 src/session.cpp        |  383 ----------------------------------------
 src/session.hpp        |  124 -------------
 src/session_base.cpp   |  457 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/session_base.hpp   |  131 ++++++++++++++
 src/socket_base.cpp    |    8 +-
 src/stream_engine.cpp  |    5 +-
 src/stream_engine.hpp  |    7 +-
 src/sub.cpp            |   12 ++
 src/sub.hpp            |   15 ++
 src/tcp_connecter.cpp  |    2 +-
 src/tcp_connecter.hpp  |    4 +-
 src/tcp_listener.cpp   |    8 +-
 src/vtcp_connecter.cpp |    2 +-
 src/vtcp_connecter.hpp |    4 +-
 src/vtcp_listener.cpp  |    6 +-
 src/xpub.cpp           |   12 ++
 src/xpub.hpp           |   16 ++
 src/xrep.cpp           |   10 ++
 src/xrep.hpp           |   16 ++
 src/xreq.cpp           |   12 ++
 src/xreq.hpp           |   16 ++
 src/xsub.cpp           |   11 ++
 src/xsub.hpp           |   16 ++
 52 files changed, 970 insertions(+), 558 deletions(-)

commit 78b02d142e82015a2146b7d40f7e0a729ad0e89b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 14 15:16:48 2011 +0200

    Minor optimisation in message distribution algorithm
    
    If several of the outbound pipes become passive while sending
    a single message, the refcount on the message is adjusted
    once only, not multiple times. It's an atomic operation so
    the cost is not negligible.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/dist.cpp |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit cf499ee016340a8534e24084a481a02498b44e70
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 14 14:31:09 2011 +0200

    Bug in message distribution algorithm fixed (issue 251)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/dist.cpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 42737f09180b8ebc2827743568e6170b6ddd5938
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 14 14:24:59 2011 +0200

    test_invlid_rep added to .gitignore
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 .gitignore |    1 +
 1 file changed, 1 insertion(+)

commit 8f8bfcaba0f0e827a2d034c76c5b498bbdf4e7e1
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Tue Sep 13 16:27:07 2011 +0200

    Fixed issue with req assertions (issue 252)
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/req.cpp                |    9 +++--
 tests/Makefile.am          |    4 ++-
 tests/test_invalid_rep.cpp |   85 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 95 insertions(+), 3 deletions(-)

commit e191e806ead4e8954e03612a4b385aff40871272
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Tue Sep 6 08:51:23 2011 +0200

    Fix polling system detection on mingw32 build
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

commit 9d0e122bfad431d7b84ad43c0c62c8ebc9540a36
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sun Sep 4 10:28:15 2011 +0200

    Added option to choose internal polling system
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |  165 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 configure.in |    4 ++
 2 files changed, 169 insertions(+)

commit 193fa1c079fd886623e55810556a9461561ca139
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Sep 3 10:19:08 2011 +0200

    Accept square brackets around IPv6 address
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_address.cpp |    5 +++++
 1 file changed, 5 insertions(+)

commit 4138aca54bd57d42acdbe7c7af0f7045ecc36e1e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Sep 3 09:02:56 2011 +0200

    Fixed doc to clarify how label parts work
    
    Signed-off-by: Pieter Hintjens <ph@imatix.com>
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   27 ++++++++---------
 doc/zmq_recv.txt       |   28 +++++++++---------
 doc/zmq_recvmsg.txt    |   42 +++++++++++++-------------
 doc/zmq_send.txt       |   37 +++++++++++------------
 doc/zmq_sendmsg.txt    |   38 +++++++++++-------------
 doc/zmq_socket.txt     |   77 +++++++++++++++++++++++++++++++-----------------
 6 files changed, 134 insertions(+), 115 deletions(-)

commit 9fb9fea63351cff0e664b28636acb3c3e1f84721
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Sep 3 07:40:49 2011 +0200

    Improve error reporting in a minor way
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_connecter.cpp |    2 +-
 src/xrep.cpp          |   31 ++++++++++++++++---------------
 2 files changed, 17 insertions(+), 16 deletions(-)

commit 8b7ac4c2a9c3ede95d6f5f9717a1939a23788964
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Sep 2 15:34:12 2011 +0200

    Close file descriptors on exec (issue 218)
    
    When exec is executed to start a different process image old
    0MQ file descriptors could stay open, thus blocking TCP ports
    and alike. This patch should solve the problem.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ip.cpp            |   23 +++++++++++++++++++++++
 src/ip.hpp            |    3 +++
 src/ipc_connecter.cpp |    2 +-
 src/ipc_listener.cpp  |    3 ++-
 src/signaler.cpp      |    6 +++---
 src/tcp_address.cpp   |    5 +++--
 src/tcp_connecter.cpp |    2 +-
 src/tcp_listener.cpp  |    2 +-
 8 files changed, 37 insertions(+), 9 deletions(-)

commit 2910a728dc777068e6ae7f67041da185b0865171
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Sep 2 13:44:22 2011 +0200

    msg_t::rm_refs closes the message when number of refs drops to 0 (issue 245)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/msg.cpp |   18 +++++++++++++-----
 src/msg.hpp |    5 +++--
 2 files changed, 16 insertions(+), 7 deletions(-)

commit 82ab08d871628410e8b0b1fe63d25f1b27766b8d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 1 13:02:22 2011 +0200

    Premature deallocation bug in XSUB fixed (issue 244)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xsub.cpp |    1 -
 1 file changed, 1 deletion(-)

commit 65bb75863dde3ecd9a19d7fafc1ad1b0166a4770
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 1 07:26:17 2011 +0200

    Fixed warnings on Win64
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/dist.cpp        |    2 +-
 src/socket_base.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 940c5b346b35f2d42360b3371757eb98ef8ba78f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Aug 31 15:23:00 2011 +0200

    zmq_msg_t changed to structure
    
    zmq_msg_t being defined as unsigned char[32] could not be stored
    in STL containers. Fixed by this commit.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dd7c629a27e6dffad9c659a233216ce56fbd4ef8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Aug 19 14:42:31 2011 +0200

    Typo fixed in zmq_socket(3)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_socket.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 80a5f60e3397c9376026da48e6415c7011e2a647
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Aug 19 12:34:31 2011 +0200

    NIC name resolution moved to tcp_address_t
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_address.cpp |   32 ++++++++++++++------------------
 src/tcp_address.hpp |    4 ++--
 2 files changed, 16 insertions(+), 20 deletions(-)

commit f0c7edbc9c39ec3a6d06a9605a376212c2228fc7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Aug 18 21:16:22 2011 +0200

    Missing include added to ip.cpp
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ip.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 898ee99dc16bbd494cabd7e09efac120d79990d7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Aug 18 17:58:46 2011 +0200

    Windows build fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |    8 ++++++++
 src/tcp_address.cpp              |    7 +++++--
 src/tcp_address.hpp              |    8 ++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

commit b6ecb00d23af3611da98d98f28e1c2583d428e00
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Aug 18 17:40:42 2011 +0200

    TCP address related functionality moved to tcp_address_t
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am        |    2 +
 src/ip.cpp             |  369 +-----------------------------------------
 src/ip.hpp             |   32 ----
 src/tcp_address.cpp    |  422 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/tcp_address.hpp    |   68 ++++++++
 src/tcp_connecter.cpp  |   12 +-
 src/tcp_connecter.hpp  |    7 +-
 src/tcp_listener.cpp   |   19 +--
 src/tcp_listener.hpp   |    7 +-
 src/vtcp_connecter.cpp |   10 +-
 src/vtcp_connecter.hpp |    7 +-
 11 files changed, 522 insertions(+), 433 deletions(-)

commit 4a8dd1e404c78fb403763d830190755d2ac83228
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Aug 18 11:24:14 2011 +0200

    MSVC build fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |    8 ++++++++
 src/ipc_address.cpp              |    2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit b01a8e17511b57191c4aec4d741bdf3b3a80efc6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Aug 18 11:08:22 2011 +0200

    IPC address related functionality refactored into ipc_address_t class
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am       |    2 ++
 src/ip.cpp            |   24 -------------------
 src/ip.hpp            |    4 ----
 src/ipc_address.cpp   |   60 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/ipc_address.hpp   |   61 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/ipc_connecter.cpp |    9 ++------
 src/ipc_connecter.hpp |    7 +++---
 src/ipc_listener.cpp  |   16 ++++++-------
 src/ipc_listener.hpp  |   12 +++++-----
 9 files changed, 142 insertions(+), 53 deletions(-)

commit 3488af048f336867594330d4abd0ad6dab110ea0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Aug 17 18:41:02 2011 +0200

    Fix the PGM support on win64
    
    On win64 the size of file descriptor is not the same as size of int.
    The bug in PGM transport caused a runtime error because of this.
    The problem is fixed now.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_receiver.cpp |    4 ++--
 src/pgm_sender.cpp   |    8 ++++----
 src/pgm_socket.cpp   |    8 ++++----
 src/pgm_socket.hpp   |    7 ++++---
 4 files changed, 14 insertions(+), 13 deletions(-)

commit ed373450a28cff34757a70e2c7a102ecc40e3836
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Aug 16 12:59:49 2011 +0200

    MSVC build fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit b3bac1760735703a11297df3d0e2a2e5252aa45e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Aug 16 12:44:34 2011 +0200

    tcp_engine renamed to stream engine
    
    The engine was not used exclusively for TCP connections.
    Rather it was used to handle any socket with SOCK_STREAM
    semantics. The class was renamed to reflect its true function.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am        |    4 +-
 src/ipc_connecter.cpp  |    4 +-
 src/ipc_listener.cpp   |    4 +-
 src/stream_engine.cpp  |  374 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/stream_engine.hpp  |  102 +++++++++++++
 src/tcp_connecter.cpp  |    4 +-
 src/tcp_engine.cpp     |  374 ------------------------------------------------
 src/tcp_engine.hpp     |   99 -------------
 src/tcp_listener.cpp   |    4 +-
 src/vtcp_connecter.cpp |    4 +-
 src/vtcp_listener.cpp  |    4 +-
 11 files changed, 490 insertions(+), 487 deletions(-)

commit 41457e1ff12dffb62e2dc98cec0be2c5deb79207
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Aug 15 22:02:15 2011 +0200

    Semaphores are not used anymore, build system is adjusted accordingly
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 configure.in |    3 ---
 1 file changed, 3 deletions(-)

commit 714d3b288f3c92f1736a9e35d4f177bbef84c003
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Aug 15 20:39:48 2011 +0200

    EAFNOSUPPORT defined on Windows platform
    
    Windows headers don't defined this error.
    This patch defines it if not already defined.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    3 +++
 src/err.cpp   |    3 +++
 2 files changed, 6 insertions(+)

commit 85851d312771f043263257bcf972bd11cadec50a
Author: Ghislain Putois <ghpu@infonie.fr>
Date:   Mon Aug 15 19:39:21 2011 +0200

    Preliminary Android support
    
    Some small changes to prepare a cross-compilation for the Android platform
    
    Signed-off-by: Ghislain Putois <ghpu@infonie.fr>
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS        |    1 +
 src/ip.cpp     |    7 ++++---
 src/thread.cpp |    6 +++---
 3 files changed, 8 insertions(+), 6 deletions(-)

commit 0354d4d37fe814b9dbb94415da2c5314c4b68ae6
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Mon Aug 15 19:09:04 2011 +0200

    Added Android support
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 configure.in |    6 ++++++
 src/zmq.cpp  |    3 +++
 2 files changed, 9 insertions(+)

commit 57440b86e2c62c78f3904abb17f11500ba0a1a6f
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Aug 15 08:56:00 2011 +0200

    Add IPv6 support to tcp_listener
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ip.cpp            |   17 +++++++++++++++++
 src/ip.hpp            |    3 +++
 src/tcp_connecter.cpp |   21 ++++-----------------
 src/tcp_listener.cpp  |   19 +++++++++++++++++++
 4 files changed, 43 insertions(+), 17 deletions(-)

commit 3c3c0bfd1f5b987ee42786de25259c46393fe343
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Aug 15 08:02:36 2011 +0200

    Minor problems in MSVC build fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_connecter.cpp |    3 ++-
 src/tcp_listener.cpp  |    3 ++-
 src/zmq.cpp           |    2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

commit 9196c482564e74e310b48e1add9f5425efb07ec0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Aug 14 14:23:16 2011 +0200

    select version zmq_poll reports invalid FDs
    
    Till now, passing invalid file descriptor to zmq_poll()
    caused asseration. Now it returns error.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq.cpp |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

commit 938009853461267af43908614266b9ef33f825ff
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Aug 14 14:06:42 2011 +0200

    Compilation error on HP-UX and AIX fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ip.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6dc3b2a657d4d1c98f549395643d68b834a776a4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Aug 14 13:48:28 2011 +0200

    Compilation error on FreeBSD fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ip.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a3f27400ded11fa14df98943cc412635d7d175ee
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Aug 8 18:49:30 2011 +0200

    Minor compile-time bug on Windows fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_connecter.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1c54ce37b343bda66d25faaa970a5414546cdd92
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Aug 8 16:07:54 2011 +0200

    tcp_connecter disables IPV6_IPV6ONLY if needed.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_connecter.cpp |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

commit c27b9ac7defd3cf7d21d93b2a3d2a9142a12e82f
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Aug 8 15:23:46 2011 +0200

    Update resolve_ip_interface and resolve_ip_hostname with ipv4only parameter.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ip.cpp             |   64 ++++++++++++++++++++++++++++++++++--------------
 src/ip.hpp             |    4 +--
 src/tcp_connecter.cpp  |    2 +-
 src/tcp_listener.cpp   |    2 +-
 src/vtcp_connecter.cpp |    6 +++--
 5 files changed, 54 insertions(+), 24 deletions(-)

commit 9184a54f6497fb075a9ac7a8b1b7f3e284c9bcd3
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Aug 8 12:39:13 2011 +0200

    Update resolve_nic_name to take more generic sockaddr parameter.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 src/ip.cpp |   73 +++++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 52 insertions(+), 21 deletions(-)

commit 784041f5b99ba28252c9bb67a5bfb4a5da41ef93
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Aug 8 12:10:31 2011 +0200

    ZMQ_IPV4ONLY option added
    
    At this point option exists, is documented and can be set,
    however, it has no effect.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   15 +++++++++++++++
 doc/zmq_setsockopt.txt |   14 ++++++++++++++
 doc/zmq_tcp.txt        |    6 +++---
 include/zmq.h          |    3 ++-
 src/options.cpp        |   25 +++++++++++++++++++++++++
 src/options.hpp        |    5 +++++
 6 files changed, 64 insertions(+), 4 deletions(-)

commit 8378180cbb69c44fdd84f9ee05620bf8744cce48
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Aug 7 16:09:52 2011 +0200

    Minor bug in vtcp_listener fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/vtcp_listener.cpp |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit 24230515f5b1652186af7748268f1cfb27f5215f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Aug 4 13:11:15 2011 +0200

    vtcp connection string simplified
    
    Till now, vtcp connection contained both port and subport.
    Now the port, if not specified, defaults to 9220.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/vtcp_connecter.cpp |   28 ++++++++++++++++++++--------
 src/vtcp_listener.cpp  |   16 ++++++++++------
 2 files changed, 30 insertions(+), 14 deletions(-)

commit be48970977305a53de3ffa54cc51c0beabcf1a31
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Aug 4 07:44:35 2011 +0200

    MSVC build brought up-to-date
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   80 +++++++++++++++-----------------------
 src/tcp_listener.cpp             |    2 +-
 2 files changed, 33 insertions(+), 49 deletions(-)

commit d5f3628ad08849a0c978f7d23dc678133ed33c42
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jul 29 09:37:43 2011 +0200

    Different connecters simplified
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ip.cpp            |   31 +++++++++
 src/ip.hpp            |    8 +--
 src/ipc_connecter.cpp |  174 +++++------------------------------------------
 src/ipc_connecter.hpp |    7 ++
 src/signaler.cpp      |   20 +-----
 src/tcp_connecter.cpp |  179 +++++++++++--------------------------------------
 src/tcp_connecter.hpp |    2 +-
 src/tcp_engine.cpp    |   27 ++------
 8 files changed, 108 insertions(+), 340 deletions(-)

commit f63db009a1e1baf9f1fe7dae39901c7449c66131
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 28 16:32:08 2011 +0200

    Different listener implementations simplified
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ipc_listener.cpp  |   63 +++---------------
 src/tcp_listener.cpp  |  171 ++++++++++++-------------------------------------
 src/tcp_listener.hpp  |    2 +-
 src/vtcp_listener.cpp |    2 +-
 4 files changed, 51 insertions(+), 187 deletions(-)

commit b45fec337aff8e04bebaf6e898a499f05ee6b0d6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 28 15:13:04 2011 +0200

    Tuning of TCP sockets is done at a single place
    
    Instead of being spread throughout the codebase, the tuning
    is done in tune_tcp_socket() function.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ip.cpp             |   24 ++++++++++++++++++++++++
 src/ip.hpp             |    7 ++++++-
 src/tcp_connecter.cpp  |   22 ++--------------------
 src/tcp_listener.cpp   |   21 ++-------------------
 src/vtcp_connecter.cpp |    4 +++-
 src/vtcp_listener.cpp  |    3 +++
 6 files changed, 40 insertions(+), 41 deletions(-)

commit 46b053b8d67ba4826302d53268edccf919e6d785
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 28 13:46:16 2011 +0200

    Dead code removed from TCP and IPC transports
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ipc_listener.cpp |  208 ++++++++------------------------------------------
 src/ipc_listener.hpp |    9 ++-
 src/session.cpp      |    2 +
 src/socket_base.cpp  |    6 +-
 src/tcp_listener.cpp |  130 +++++++++----------------------
 src/tcp_listener.hpp |    2 +-
 6 files changed, 82 insertions(+), 275 deletions(-)

commit 5ac63140b01fed145fa41f613308e134420920ab
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 28 13:19:55 2011 +0200

    Implementations of TCP and IPC transports separated
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am       |    4 +
 src/ipc_connecter.cpp |  381 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/ipc_connecter.hpp |  112 +++++++++++++++
 src/ipc_listener.cpp  |  351 +++++++++++++++++++++++++++++++++++++++++++++
 src/ipc_listener.hpp  |   83 +++++++++++
 src/session.cpp       |   16 ++-
 src/socket_base.cpp   |   16 ++-
 src/tcp_connecter.cpp |   46 +++---
 src/tcp_connecter.hpp |    4 +-
 src/tcp_engine.cpp    |   20 ---
 src/tcp_listener.cpp  |   20 +++
 11 files changed, 1008 insertions(+), 45 deletions(-)

commit 6e987428d49558a8a7b08795bcc429f720bb3874
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 28 09:02:54 2011 +0200

    Precise reconnect interval randomised
    
    Till now the random fraction of the reconnect interval was
    computed based on process ID. This patch uses pseudo-random
    generated (seeded by exact time of when the process was
    started) to compute the interval.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_connecter.cpp  |    9 ++-------
 src/vtcp_connecter.cpp |    9 ++-------
 2 files changed, 4 insertions(+), 14 deletions(-)

commit ce7a9a58e3a0d13db53f7e0b4c17b3185a8c0e1a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 28 08:06:21 2011 +0200

    Setting TCP socket options moved to tcp_engine_t
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_connecter.cpp  |   20 -----
 src/tcp_engine.cpp     |  198 +++++++++++++++++++++++++-----------------------
 src/tcp_engine.hpp     |    6 --
 src/tcp_listener.cpp   |   42 ----------
 src/vtcp_connecter.cpp |   27 -------
 5 files changed, 103 insertions(+), 190 deletions(-)

commit 588c728702fb847a0433649c9a07bcf0fabe84ab
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Jul 27 09:29:48 2011 +0200

    vtcp_connecter fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/vtcp_connecter.cpp |   56 +++++++++++++++++++++++++++++++++---------------
 1 file changed, 39 insertions(+), 17 deletions(-)

commit d7319de3d089b7c340408cd8228825ec0f7b8df0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jul 26 22:57:19 2011 +0200

    First version of vtcp_connecter added
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am        |    2 +
 src/session.cpp        |   13 +++
 src/tcp_connecter.hpp  |    3 -
 src/vtcp_connecter.cpp |  249 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/vtcp_connecter.hpp |  121 +++++++++++++++++++++++
 src/vtcp_listener.cpp  |   13 ++-
 6 files changed, 394 insertions(+), 7 deletions(-)

commit 258e7e6794928544ca7e1557840b2f5a89fe5399
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jul 26 20:13:54 2011 +0200

    Code cleanup
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 .gitignore            |    2 ++
 src/Makefile.am       |    2 --
 src/tcp_connecter.cpp |   46 ----------------------------------------------
 3 files changed, 2 insertions(+), 48 deletions(-)

commit 279302c5f54ddf8a23b1eaacee63c3158850d9ff
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jul 26 18:35:40 2011 +0200

    Experimental VTCP listener added
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 configure.in          |   13 ++++++
 src/Makefile.am       |    4 ++
 src/socket_base.cpp   |   53 ++++++++++++++++-------
 src/tcp_connecter.cpp |   46 ++++++++++++++++++++
 src/tcp_connecter.hpp |   12 +++---
 src/tcp_listener.cpp  |    1 +
 src/vtcp_listener.cpp |  111 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/vtcp_listener.hpp |   71 +++++++++++++++++++++++++++++++
 8 files changed, 291 insertions(+), 20 deletions(-)

commit 9906c652ca01698dcc429c9045eb040c24c4bb8d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jul 26 12:21:49 2011 +0200

    Outdated entries removed from .gitignore
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 .gitignore |    4 ----
 1 file changed, 4 deletions(-)

commit 9119b4fd7b292b1a14db916040f8e7cc4731d4b6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jul 26 00:43:57 2011 +0200

    TCP transport classes simplified
    
    zmq_engine and tcp_socket merged into tcp_engine
    zmq_connecter and tcp_connecter merged into tcp_connecter
    zmq_listener and tcp_listener merged into tcp_listener
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am       |   10 +-
 src/session.cpp       |    4 +-
 src/socket_base.cpp   |    6 +-
 src/tcp_connecter.cpp |  182 +++++++++++++++++-----
 src/tcp_connecter.hpp |   68 ++++++---
 src/tcp_engine.cpp    |  401 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/tcp_engine.hpp    |  105 +++++++++++++
 src/tcp_listener.cpp  |  127 +++++++++-------
 src/tcp_listener.hpp  |   36 +++--
 src/tcp_socket.cpp    |  230 ----------------------------
 src/tcp_socket.hpp    |   74 ---------
 src/zmq_connecter.cpp |  161 --------------------
 src/zmq_connecter.hpp |   92 ------------
 src/zmq_engine.cpp    |  224 ---------------------------
 src/zmq_engine.hpp    |   88 -----------
 src/zmq_listener.cpp  |   84 -----------
 src/zmq_listener.hpp  |   67 ---------
 17 files changed, 804 insertions(+), 1155 deletions(-)

commit 43b5b3444c5ea54fa17eab2e03b7e00c022f33b4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 24 18:30:48 2011 +0200

    PGM subscription forwarding fixed
    
    PGM when using in XPUB socket has to subscribe for all the messages
    as it has no idea what the subscribers are interesred in.
    This generic subscribe message was malformed. Fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_sender.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 7c1dca546d9e49e7af372e4fff9e6a87058a7f12
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 24 18:25:30 2011 +0200

    Session classes merged into a single class
    
    Removal of ZMQ_IDENTITY resulted in various session classes doing
    almost the same thing. This patch merges the classes into a single
    class.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am           |    4 --
 src/connect_session.cpp   |  124 ---------------------------------------------
 src/connect_session.hpp   |   65 ------------------------
 src/decoder.cpp           |   10 ++--
 src/decoder.hpp           |    4 +-
 src/encoder.cpp           |   10 ++--
 src/encoder.hpp           |    4 +-
 src/i_engine.hpp          |   21 +-------
 src/pgm_receiver.cpp      |   17 ++++---
 src/pgm_receiver.hpp      |    4 +-
 src/pgm_sender.cpp        |   11 ++--
 src/pgm_sender.hpp        |    2 +-
 src/session.cpp           |   99 ++++++++++++++++++++++++++++++------
 src/session.hpp           |   32 ++++++------
 src/socket_base.cpp       |    6 +--
 src/transient_session.cpp |   43 ----------------
 src/transient_session.hpp |   52 -------------------
 src/zmq_engine.cpp        |   51 +++++++++----------
 src/zmq_engine.hpp        |    9 ++--
 src/zmq_listener.cpp      |    6 +--
 20 files changed, 168 insertions(+), 406 deletions(-)

commit f716b571baf59c1b622c7666bb8bf2905126a3d4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 24 18:13:29 2011 +0200

    Only one polling mechanism is compiled
    
    Till now wrappers for all the polling mechanisms available on
    the given platform were compiled, although only one of them
    was used. This patch compiles just the used one. This can
    make libzmq binary more concise.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/devpoll.cpp |    5 ++---
 src/devpoll.hpp |    8 ++++---
 src/epoll.cpp   |    5 ++---
 src/epoll.hpp   |    8 ++++---
 src/kqueue.cpp  |    8 ++-----
 src/kqueue.hpp  |    9 ++++----
 src/poll.cpp    |    9 ++------
 src/poll.hpp    |   12 +++++------
 src/poller.hpp  |   62 +++++++++++++++++++++++++++++++------------------------
 src/select.cpp  |    5 ++++-
 src/select.hpp  |    7 +++++++
 11 files changed, 74 insertions(+), 64 deletions(-)

commit 0e71b111f4c413e235978698e8a281acab3bb06e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 24 18:09:50 2011 +0200

    Obsolete include in ctx.hpp removed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ctx.hpp |    1 -
 1 file changed, 1 deletion(-)

commit 11e21d027d5143c089e39349d1f419f76aaa4723
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 24 18:06:04 2011 +0200

    semaphore_t class removed
    
    The class was not used anywhere anymore. Removed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am   |    1 -
 src/ctx.hpp       |    2 -
 src/semaphore.hpp |  189 -----------------------------------------------------
 3 files changed, 192 deletions(-)

commit 837451eddc4386e19f52db89be7ae38aae471df0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 24 17:50:05 2011 +0200

    Remove blob_t class
    
    The class was used in a single place. Replaced by a local typedef.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am         |    1 -
 src/blob.hpp            |   34 ----------------------------------
 src/connect_session.hpp |    1 -
 src/xpub.hpp            |    3 ++-
 4 files changed, 2 insertions(+), 37 deletions(-)

commit 5650743d9edc8b8e85739ab023e8156b451003f1
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jul 22 08:35:01 2011 +0200

    MSVC build brought up to date
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   36 ------------------------------------
 src/zmq.cpp                      |    2 +-
 2 files changed, 1 insertion(+), 37 deletions(-)

commit 75c4e0e62be6bd34fb934b9f13de68ffd655c500
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 21 23:35:26 2011 +0200

    mailbox::recv correctly passes EINTR to the caller
    
    This bug caused signal during blocking call to assert.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mailbox.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4bd335932ce8c6457dddb7aa2a5e631974eb9b61
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 21 19:14:39 2011 +0200

    ECANTROUTE error documented in zmq_sendmsg(3)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_sendmsg.txt |    3 +++
 1 file changed, 3 insertions(+)

commit 6b873d4ffdd13263f184ca046565168f0ad66a6b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 21 19:12:51 2011 +0200

    ROUTER socket blocks on SNDHWM
    
    Till now the message was droppen in such case.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/router.cpp |   64 ++++++++++++++++++++++++++++++--------------------------
 1 file changed, 34 insertions(+), 30 deletions(-)

commit a1e09facb2438f6487b32cdcfff21f0ece735460
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 21 18:54:27 2011 +0200

    ROUTER socket reports error when message cannot be routed
    
    Till now, message was silently dropped if it was sent to
    a non-existent peer. Now, ECANTROUTE error is returned.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_send.txt |    3 +++
 include/zmq.h    |    1 +
 src/router.cpp   |   33 +++++++++++++++++++--------------
 3 files changed, 23 insertions(+), 14 deletions(-)

commit 72a793f78ae6c7b544d4c19530c01e8dfd23ccf5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 21 18:43:50 2011 +0200

    ZMQ_GENERIC renamed to ZMQ_ROUTER
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h       |    2 +-
 src/Makefile.am     |    4 +-
 src/generic.cpp     |  265 ---------------------------------------------------
 src/generic.hpp     |  108 ---------------------
 src/router.cpp      |  265 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/router.hpp      |  107 +++++++++++++++++++++
 src/socket_base.cpp |    6 +-
 7 files changed, 378 insertions(+), 379 deletions(-)

commit cb2d7156055492839021e84dcc00cc409a3fd2d1
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jul 21 11:51:41 2011 +0200

    endmsg(3) and zmq_recvmsg(3) added to RPM spec file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/redhat/zeromq.spec.in |    2 ++
 1 file changed, 2 insertions(+)

commit a808431d1df359302af7bdd2df085f5a41f14210
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 18 14:29:20 2011 +0200

    Fixed email addresses in the MAITAINERS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 MAINTAINERS |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit a33a275e3b0b1942280cae2317801fbd2185821c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jul 18 12:53:55 2011 +0200

    Fixed issue 230
    
    Signed-off-by: Pieter Hintjens <ph@imatix.com>

 src/tcp_socket.cpp |    6 ++++++
 1 file changed, 6 insertions(+)

commit 7298b5742f749a2947c9e6460c4a083be84506ed
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 18 11:39:38 2011 +0200

    Includes in zmq.cpp cleaned-up
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq.cpp |   52 +++++++++++++++++++++++++++-------------------------
 1 file changed, 27 insertions(+), 25 deletions(-)

commit 18d8be5e9259e72a5a0622a5594842c31dd7bfdb
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Jul 18 10:54:53 2011 +0200

    Fix pollin on Cygwin.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
    Signed-off-by: Martin Sustrik <sustrik@250bom.com>

 src/signaler.cpp |    3 ++-
 src/zmq.cpp      |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

commit ac20e17cbd1471b9eb3eef79c32cb43420cbc516
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 18 10:04:05 2011 +0200

    Reference to C++ binding removed from zmq(7)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq.txt |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

commit 66ff99c4574827b59e6d7ddfaa44d975dc7e880e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 18 10:00:09 2011 +0200

    Martin Lucina remove from MAINTAINERS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 MAINTAINERS |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit f97f50c252adc814145a0a482bc2a25229882459
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 18 09:41:26 2011 +0200

    Signaler timeout bug on Windows fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/signaler.cpp |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

commit 1a408805521f839e3e36183d9f2dec1d08e24caf
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 18 09:30:37 2011 +0200

    ZMQ_IDENTITY option removed from the documentation
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   23 -----------------------
 doc/zmq_setsockopt.txt |   23 -----------------------
 2 files changed, 46 deletions(-)

commit 89daa57faab728204447c3bb708e753a2aeffa55
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 18 09:28:59 2011 +0200

    Missing files for GENERIC socket implementation added
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/generic.cpp |  265 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/generic.hpp |  108 +++++++++++++++++++++++
 2 files changed, 373 insertions(+)

commit bf78e230ad4736da9fce6e0b4d1655affb8f466b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 17 23:31:29 2011 +0200

    GENERIC socket type and COMMAND flag added
    
    GENERIC allows to use 0MQ as a dumb networking framework.
    It provides user with connect/disconnect notifications.
    Also, each inbound message is labeled by ID of the connection
    it originated from. Outbound messages should be labeled by
    the ID of the connection to send them to.
    
    To distinguish connect/disconnect notifications from common
    messages, COMMAND flag was introduced.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h       |    3 +++
 src/Makefile.am     |    2 ++
 src/msg.hpp         |    1 +
 src/socket_base.cpp |   53 ++++++++++++++++++++++++++++++++-------------------
 src/socket_base.hpp |    7 +++++++
 5 files changed, 46 insertions(+), 20 deletions(-)

commit c8e8f2a24cd339c548e06f75a3cef96454671a85
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jul 15 11:24:33 2011 +0200

    ZMQ_IDENTITY socket option removed
    
    This patch simplifies the whole codebase significantly,
    including dropping depedency on libuuid.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 configure.in              |   13 ---
 include/zmq.h             |    1 -
 src/Makefile.am           |    7 --
 src/command.cpp           |   39 --------
 src/command.hpp           |    7 --
 src/connect_session.cpp   |   48 +---------
 src/connect_session.hpp   |    9 +-
 src/named_session.cpp     |   67 -------------
 src/named_session.hpp     |   56 -----------
 src/object.cpp            |   50 ++--------
 src/object.hpp            |   12 +--
 src/options.cpp           |   22 -----
 src/options.hpp           |    3 +-
 src/pair.cpp              |    2 +-
 src/pair.hpp              |    2 +-
 src/pgm_socket.cpp        |   21 ++--
 src/pull.cpp              |    2 +-
 src/pull.hpp              |    2 +-
 src/push.cpp              |    2 +-
 src/push.hpp              |    2 +-
 src/random.cpp            |   42 +++++---
 src/random.hpp            |    9 +-
 src/req.cpp               |    6 +-
 src/session.cpp           |   26 +----
 src/session.hpp           |   15 +--
 src/socket_base.cpp       |   70 ++------------
 src/socket_base.hpp       |   26 +----
 src/transient_session.cpp |    2 +-
 src/transient_session.hpp |    2 +-
 src/uuid.cpp              |   90 -----------------
 src/uuid.hpp              |   33 -------
 src/xpub.cpp              |    2 +-
 src/xpub.hpp              |    2 +-
 src/xrep.cpp              |    8 +-
 src/xrep.hpp              |    3 +-
 src/xreq.cpp              |    2 +-
 src/xreq.hpp              |    2 +-
 src/xsub.cpp              |    2 +-
 src/xsub.hpp              |    2 +-
 src/zmq_connecter.cpp     |   15 +--
 src/zmq_init.cpp          |  233 ---------------------------------------------
 src/zmq_init.hpp          |   98 -------------------
 src/zmq_listener.cpp      |   18 ++--
 43 files changed, 112 insertions(+), 963 deletions(-)

commit ba67eff167e94105b0975166a2192060ab125e58
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jul 15 08:26:29 2011 +0200

    non-immediate_connect functionality removed
    
    It was used only by ROUTER socket. After its removal it became
    obsolete.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/options.cpp     |    1 -
 src/options.hpp     |    6 ------
 src/socket_base.cpp |   32 +++++++++++++-------------------
 3 files changed, 13 insertions(+), 26 deletions(-)

commit 364839f3e66df567172af239ac7476af4d9260eb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jul 15 08:18:20 2011 +0200

    Debian packaging removed
    
    It is now maintained as a separate project.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 debian/README.Debian       |    4 --
 debian/changelog           |   24 ----------
 debian/compat              |    1 -
 debian/control             |   76 --------------------------------
 debian/copyright           |  105 --------------------------------------------
 debian/libzmq-dev.install  |    5 ---
 debian/libzmq-dev.manpages |    2 -
 debian/libzmq0.install     |    1 -
 debian/libzmq0.manpages    |    5 ---
 debian/rules               |   92 --------------------------------------
 debian/source/format       |    1 -
 debian/source/options      |    1 -
 debian/zeromq-bin.install  |    3 --
 debian/zeromq-bin.manpages |    3 --
 14 files changed, 323 deletions(-)

commit e4f98d1e100c225abca67b4aad90be08a729e02f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jul 15 08:16:40 2011 +0200

    ROUTER and DEALER sockets removed
    
    To be replaced by new generic socket type
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h       |    2 -
 src/Makefile.am     |    4 -
 src/dealer.cpp      |   77 --------------
 src/dealer.hpp      |   65 ------------
 src/router.cpp      |  292 ---------------------------------------------------
 src/router.hpp      |  105 ------------------
 src/socket_base.cpp |    8 --
 7 files changed, 553 deletions(-)

commit 73630de98aeb8add878b1d421aa2bfc22c735c63
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jul 15 08:11:42 2011 +0200

    Version number bumped to 4.0.0
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 57c1342c683df3207094e8ec660e72812be37f9c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jul 12 13:05:58 2011 +0200

    Bug with setting options on SUB socket fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/sub.cpp |    5 +++++
 1 file changed, 5 insertions(+)

commit 29274811ccf2ca905360a463c5124e9e4e4c1708
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 11 16:05:04 2011 +0200

    zmq_bind(3) and zmq_connect(3) describe EINVAL error
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_bind.txt    |    2 ++
 doc/zmq_connect.txt |    2 ++
 2 files changed, 4 insertions(+)

commit 2afb791ec2f9853cc642cf8a042c2acc7fbb7acd
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 11 15:54:13 2011 +0200

    Subscription forwarding test added
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 tests/Makefile.am          |    4 +-
 tests/test_sub_forward.cpp |   94 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+), 1 deletion(-)

commit 215cfc653e5c6155e231b213534739348152129d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 11 15:28:02 2011 +0200

    REQ/REP drop test extended
    
    The test now checks whether replies are dropped when reply pipe
    is overflowed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 tests/test_reqrep_drop.cpp |   74 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

commit c7542981d18b13b251d5a3129f1ec7ba24aeb9a1
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 11 10:18:30 2011 +0200

    PGM transport reconciled with subscription forwarding
    
    As PGM is not capable of passing subscriptions upstream,
    subscriptions are ignored at sub side and engine subscribes
    for all messages on pub side.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_receiver.cpp |   12 +++++++++++-
 src/pgm_receiver.hpp |    4 ++++
 src/pgm_sender.cpp   |    9 +++++++++
 3 files changed, 24 insertions(+), 1 deletion(-)

commit d7adc3f19a4c941e854552d6d7881950a69b0d23
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 11 09:57:59 2011 +0200

    ZMQ_FILTER option removed
    
    The filtering is now done depending on the socket type. SUB socket
    filters the messages (end-to-end filtering) while XSUB relies
    on upstream nodes to do (imprefect) filtering.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   17 -----------------
 doc/zmq_setsockopt.txt |   16 ----------------
 include/zmq.h          |    1 -
 src/options.cpp        |   22 ++--------------------
 src/options.hpp        |    6 +++---
 src/sub.cpp            |    4 ++++
 6 files changed, 9 insertions(+), 57 deletions(-)

commit a154ef69da4e41d3a8ce5a3141fe8f052c7ea853
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 11 08:34:20 2011 +0200

    Man pages for send & recv function brought up to date
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/Makefile.am     |    3 +-
 doc/zmq_recv.txt    |   70 ++++++++++------------------
 doc/zmq_recvmsg.txt |  124 +++++++++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_send.txt    |   70 ++++++++++++----------------
 doc/zmq_sendmsg.txt |  127 +++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 304 insertions(+), 90 deletions(-)

commit 7e1251178b1cbabf0bd648ae8765c01e16cc25a3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 11 07:26:45 2011 +0200

    Experimental code from zmq_init_t removed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq_init.cpp |   61 +++++++++++++++---------------------------------------
 src/zmq_init.hpp |    7 -------
 2 files changed, 17 insertions(+), 51 deletions(-)

commit 52eaf600e5fe2acf5de6208a6a5a123dfcfe1fa2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Jul 9 09:40:40 2011 +0200

    Drop outbound messages in XREP socket when SNDHWM is reached
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/rep.cpp  |    5 +----
 src/xrep.cpp |    4 ----
 2 files changed, 1 insertion(+), 8 deletions(-)

commit aa2150c25c9b0dd518b058f0c50420417441fd23
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jul 8 18:12:59 2011 +0200

    VSM data are aligned to 32/64 bit boundary
    
    Till now the VSM buffer was aligned to 16 bit boundary
    which could possibly cause problems on RISC architectures
    when accessing the message data in unsafe manner.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/config.hpp |    4 ----
 src/msg.cpp    |    6 ++++++
 src/msg.hpp    |   13 ++++++++++---
 3 files changed, 16 insertions(+), 7 deletions(-)

commit 1526ff638c9cb37b156fd80a40889ac3d8258343
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 4 09:27:50 2011 +0200

    License text in autogen.sh fixed
    
    autogen.sh incorrectly referred to the license as GPL.
    Changed to LGPL.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 autogen.sh |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 8d96036fcd069e98f6fac69f645d6cc728281836
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 3 16:11:11 2011 +0200

    Build system checks for presence of eventfd.h header
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 configure.in |   10 ++++++++++
 1 file changed, 10 insertions(+)

commit 8fb9d3c6d058393478d3b3ccb1f20bcb19bbe5a0
Merge: 6ae1be1 c687c7e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 3 15:33:25 2011 +0200

    Merge branch 'master' of github.com:zeromq/libzmq

commit 6ae1be1a121b9367ea11ce1789d99ec56fb39682
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 3 15:30:31 2011 +0200

    Race condition in eventfd signaler fixed
    
    recv function on eventfd signaler could accidentally
    grab two signals instead of one. Fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/signaler.cpp |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

commit 9a9a0cf41066d32f0d16492e212712b42df36950
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 3 15:13:57 2011 +0200

    eventfd implementation of the signaler
    
    Eventfd (on Linux) is more efficient that socketpair
    for passing simple signals.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/signaler.cpp |   42 +++++++++++++++++++++++++++++++++++++-----
 src/signaler.hpp |    2 +-
 2 files changed, 38 insertions(+), 6 deletions(-)

commit c687c7e61e8519c93eb4bc7ef43c5cf63671eb3e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 3 14:11:33 2011 +0200

    Fix MSVC build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   12 ++++++++----
 src/signaler.cpp                 |    6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

commit da26134aa696352de6e77a800a433878dbabb7fa
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 3 13:44:41 2011 +0200

    Inproc tests need no I/O threads
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 tests/test_pair_inproc.cpp   |    2 +-
 tests/test_reqrep_inproc.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 7c0c79812075459765440ca26bad56f4f7ddbe52
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jul 3 13:33:45 2011 +0200

    Command are now stored in ypipes instead of in socketpairs
    
    Storing commands in OS socket buffers caused whole lot of
    problems when free space in the buffer ran out. This patch
    stores commands in ypipes instead and uses socketpair just
    to signal the other thread, ie. at most one byte is stored
    in the socketpair at any single instant.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am                |    2 +
 src/config.hpp                 |    3 +
 src/mailbox.cpp                |  441 +++-------------------------------------
 src/mailbox.hpp                |   29 +--
 src/signaler.cpp               |  340 +++++++++++++++++++++++++++++++
 src/signaler.hpp               |   63 ++++++
 tests/test_shutdown_stress.cpp |    2 +-
 7 files changed, 458 insertions(+), 422 deletions(-)

commit de3838403b9a35e7131aae23519ced1f11a3e03c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jun 30 00:05:03 2011 +0200

    Testing for errors from pthread_* functions fixed
    
    pthread_* functions return the error number rather than
    setting errno. This was not accounter for till now.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/thread.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 4f4cc7328054272fa2c972244b2b7e8378ad5429
Author: Andrew Thompson <andy@fud.org.nz>
Date:   Wed Jun 29 23:48:19 2011 +0200

    Use strrchr to ensure we split off the last colon for the service port
    
    IPv6 addresses have colons and will produce invalid data for the getaddrinfo lookup.
    
    Signed-off-by: Andrew Thompson <andy@fud.org.nz>

 AUTHORS    |    1 +
 src/ip.cpp |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 543ad30e7d15a8864df26d6d32e57246ede35ae3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jun 28 10:22:27 2011 +0200

    Packaging for MSVC build fixed
    
    MSVC project files for inproc_lat and inproc_thr were not
    packaged during make dist phase.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/Makefile.am |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit f8bf3a4cef6b8e1688683ab8c5ed6dd1bc8e3a12
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 27 18:16:53 2011 +0200

    Rename i_inout to i_engine_sink
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am      |    1 -
 src/decoder.cpp      |   10 +++++-----
 src/decoder.hpp      |    4 ++--
 src/encoder.cpp      |   10 +++++-----
 src/encoder.hpp      |    4 ++--
 src/i_engine.hpp     |   23 ++++++++++++++++++++++-
 src/i_inout.hpp      |   49 -------------------------------------------------
 src/pgm_receiver.cpp |   13 ++++++-------
 src/pgm_receiver.hpp |    6 +++---
 src/pgm_sender.cpp   |    6 +++---
 src/pgm_sender.hpp   |    2 +-
 src/session.hpp      |    6 +++---
 src/zmq_engine.cpp   |   43 +++++++++++++++++++++----------------------
 src/zmq_engine.hpp   |    8 ++++----
 src/zmq_init.hpp     |    7 ++++---
 15 files changed, 81 insertions(+), 111 deletions(-)

commit 3ae73ee11f13bbc9c91b235de18fde763c359009
Author: Carl Clemens <carlclemens1@yahoo.com>
Date:   Sun Jun 26 16:19:45 2011 +0200

    Typo in zmq_msg_size(3) fixed
    
    Signed-off-by: Carl Clemens <carlclemens1@yahoo.com>

 AUTHORS              |    1 +
 doc/zmq_msg_size.txt |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 770d0bc77cd1579a1cba33ba1eb3f06839c28c16
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jun 23 08:51:48 2011 +0200

    Fix MSVC build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   24 ++++++++++++++++++++++++
 src/dist.cpp                     |    3 ++-
 src/fq.cpp                       |    3 ++-
 src/lb.cpp                       |    5 +++--
 src/pipe.cpp                     |    2 +-
 src/random.cpp                   |    1 +
 src/rep.cpp                      |    2 +-
 src/req.cpp                      |    2 +-
 src/router.cpp                   |    6 +++---
 src/session.cpp                  |    3 ++-
 src/socket_base.cpp              |    6 +++---
 src/xpub.cpp                     |    3 ++-
 src/xrep.cpp                     |    6 +++---
 src/xsub.cpp                     |    5 +++--
 14 files changed, 51 insertions(+), 20 deletions(-)

commit d1373792f7888f312cd7286fdf524a0bfe124846
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jun 23 07:57:47 2011 +0200

    Outstanding requests dropped when requester dies (issue 190)
    
    So far the requests in req/rep pattern were delivered to and processed
    by worker even though the original requester was dead. Thus,
    the worker processing replies with noone to deliver results to.
    This optimisation drops requests in two situations:
    
    1. Queued inbound requests in XREP socket when peer disconnects.
    2. Queued outbound requests in XREQ when socket is closed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/options.cpp            |    4 ++-
 src/options.hpp            |    8 +++++
 src/pipe.hpp               |    5 ++--
 src/session.cpp            |    2 +-
 src/socket_base.cpp        |    4 +--
 src/xrep.cpp               |    4 +++
 src/xreq.cpp               |    4 +++
 tests/Makefile.am          |    7 ++---
 tests/test_reqrep_drop.cpp |   69 ++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 97 insertions(+), 10 deletions(-)

commit 12532c7940f23fcb3cd46208c141d47647e76231
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Jun 22 16:51:40 2011 +0200

    O(1) fair-queueing in XREP implemented
    
    Up to now the complexity of fair-queueing in XREP was O(n).
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pipe.cpp |   13 ++++++-
 src/pipe.hpp |    8 ++++
 src/xrep.cpp |  117 ++++++++++++++--------------------------------------------
 src/xrep.hpp |   17 ++-------
 4 files changed, 50 insertions(+), 105 deletions(-)

commit ec81f8fb2523e1e2fe45eaadc05311a35bf551d7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Jun 22 11:02:16 2011 +0200

    New wire format for REQ/REP pattern
    
    This patch introduces two changes:
    1. 32-bit ID is used to identify the peer instead of UUID
    2. REQ socket seeds the label stack with unique 32-bit request ID
       It also drops any replies with non-matching request ID
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 .gitignore                   |    1 +
 src/Makefile.am              |    2 +
 src/random.cpp               |   39 ++++++++++
 src/random.hpp               |   34 +++++++++
 src/rep.cpp                  |   52 ++++----------
 src/req.cpp                  |   38 ++++++++--
 src/req.hpp                  |    5 ++
 src/socket_base.cpp          |   18 ++---
 src/xrep.cpp                 |   45 ++++++++----
 src/xrep.hpp                 |   15 ++--
 tests/Makefile.am            |    5 +-
 tests/test_reqrep_device.cpp |  160 ++++++++++++++++++++++++++++++++++++++++++
 12 files changed, 344 insertions(+), 70 deletions(-)

commit 10a93bb79fd3d4be1b3ffedfa6785564fbcc082b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jun 21 13:44:44 2011 +0200

    Unspecified error code from mailbox_t::recv on Win32 fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mailbox.cpp |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit a28928fe376f73ef8ca683523102908616445ada
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 20 13:36:18 2011 +0200

    Introduce ZMQ_ROUTER and ZMQ_DEALER sockets
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h       |    2 +
 src/Makefile.am     |    4 +
 src/dealer.cpp      |   77 ++++++++++++++
 src/dealer.hpp      |   65 ++++++++++++
 src/router.cpp      |  292 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/router.hpp      |  105 ++++++++++++++++++
 src/socket_base.cpp |   10 +-
 7 files changed, 554 insertions(+), 1 deletion(-)

commit f437c9ed9b604912287aa6c96557261fc966e7fc
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 20 12:27:56 2011 +0200

    Fix errors in zmq_getsockopt(3) manpage
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit ab99975ad44ed0fe9ab651f31cc47d493e7fb77e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 20 11:33:54 2011 +0200

    LABEL flag added to the wire format
    
    So far there was no distinction between message parts used by 0MQ
    and message parts used by user. Now, the message parts used by 0MQ
    are marked as 'LABEL'.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   12 ++++++++++++
 doc/zmq_send.txt       |    4 ++++
 include/zmq.h          |    2 ++
 src/dist.cpp           |    4 ++--
 src/encoder.cpp        |    4 ++--
 src/fq.cpp             |    2 +-
 src/lb.cpp             |    4 ++--
 src/msg.hpp            |    5 +++--
 src/pipe.cpp           |    9 +++++----
 src/rep.cpp            |    6 +++---
 src/req.cpp            |    8 ++++----
 src/session.cpp        |    2 +-
 src/socket_base.cpp    |   25 ++++++++++++++++++++++++-
 src/socket_base.hpp    |    5 ++++-
 src/xpub.cpp           |    2 +-
 src/xrep.cpp           |   11 ++++++-----
 src/xsub.cpp           |    8 ++++----
 17 files changed, 80 insertions(+), 33 deletions(-)

commit ada5d424721c0c0139b8011a5e9de348d061ba2f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 20 11:16:10 2011 +0200

    Basic tests now test multi-part messages instead of single-part
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 tests/testutil.hpp |   24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

commit c80908c469b1fbd3d1b639ea39d86e4e4311ae57
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 20 08:21:00 2011 +0200

    Bug fixed in pipe termination
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pipe.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7572fee979a1cc2a874dd5621c89a0e849b65816
Author: Fabien Ninoles <fabien@tzone.org>
Date:   Mon Jun 20 08:14:21 2011 +0200

    Optimise block/non-block switching in mailbox_t
    
    For the platforms that don't support MSG_DONTWAIT the reader
    socket in mailbox_t was kept in non-blocking state and flipped
    to blocking state and back when blocking read was requested.
    Now, the state is preserved between calls and flipped only
    if different type of operation (block vs. non-block) is
    requested.
    
    Signed-off-by: Fabien Ninoles <fabien@tzone.org>
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mailbox.cpp |   71 ++++++++++++-------------------------------------------
 src/mailbox.hpp |   12 ++++++----
 2 files changed, 23 insertions(+), 60 deletions(-)

commit 8440de2b14876ecc6b39816528ef0793c6e34598
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 20 08:11:48 2011 +0200

    Fix minor warning in MSVC build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/socket_base.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit f4760f02c3ac966f858414fb50565faa5deb48bf
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 20 07:35:24 2011 +0200

    Disable timeo test on MinGW
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 tests/Makefile.am |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit 082f8e19b7591f6f8f34edcc27f195510051c2ba
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jun 19 19:08:48 2011 +0200

    Mailbox timeouts fixed on Windows
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mailbox.cpp |   27 +++++++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)

commit ed680a395edb9260eced8289b33041248782f979
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jun 19 16:39:27 2011 +0200

    Documentation for XPUB and XSUB socket added
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_socket.txt |   41 +++++++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)

commit 9f4d3767fed58ddfa52f63692c6169bfdbcec2e3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jun 19 12:48:36 2011 +0200

    Session termination error fixed
    
    When session is already terminating and reconnection happens at
    that point, the session should not create new pipe to its socket.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/session.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 00dc0245e6aacbff247c84ac8480d3ddcabacd5a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jun 19 11:17:20 2011 +0200

    Race condition in pipe_t fixed.
    
    pipe_t now correctly drops pointer to the underlying pipe when
    sending pipe_term_ack command.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pipe.cpp |   38 +++++++++++++++++++++++++-------------
 1 file changed, 25 insertions(+), 13 deletions(-)

commit 6052709c2aea5fae70d805e6033861c24b4f2521
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jun 19 09:33:01 2011 +0200

    ENETDOWN is a legal error from TCP connect
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_connecter.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5b77a41eafe6501a3f7cc76f2c746858036aef81
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jun 19 09:22:11 2011 +0200

    Throughput tests fixed.
    
    Introduction of subscription forwarding have broken throughput tests.
    This patch changes the pattern used in the tests to PUSH/PULL.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 perf/inproc_thr.cpp |   10 ++--------
 perf/local_thr.cpp  |    8 +-------
 perf/remote_thr.cpp |    4 +---
 3 files changed, 4 insertions(+), 18 deletions(-)

commit 4b60023b96d25571f58e50899a2717da14866e6b
Merge: d7923f0 9b795de
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jun 19 09:15:06 2011 +0200

    Merge branch 'master' of github.com:zeromq/libzmq

commit 9b795de4afdd5669a9000c5d13bec61e51fbba49
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Sat Jun 18 20:44:03 2011 +0200

    Refactor Windows versioning and WinSock usage.Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 include/zmq.h   |    2 +-
 src/ctx.cpp     |   14 ++---
 src/select.cpp  |   11 ++--
 src/windows.hpp |  157 +++++++++++++++++++++++++++++++++++++++++++++----------
 4 files changed, 141 insertions(+), 43 deletions(-)

commit dc66053530e798dbcdb236cc2040031980cc09c7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Jun 18 20:41:21 2011 +0200

    Minor MSVC warning fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xsub.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit d7923f08cab62ef40027a92f596ff45428870838
Author: Fabien Ninoles <fabien@tzone.org>
Date:   Fri Jun 17 12:22:02 2011 +0200

    Add sockopt ZMQ_RCVTIMEO/ZMQ_SNDTIMEO.
    
    - Add doc and tests
    - Add options and setup
    - Wait using poll/select
    
    Signed-off-by: Fabien Ninoles <fabien@tzone.org>
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 .gitignore             |    1 +
 doc/zmq_getsockopt.txt |   35 ++++++++++++++-
 doc/zmq_setsockopt.txt |   32 ++++++++++++++
 include/zmq.h          |    2 +
 perf/remote_thr.cpp    |    2 +
 src/ctx.cpp            |    2 +-
 src/io_thread.cpp      |    2 +-
 src/mailbox.cpp        |  106 ++++++++++++++++++++++++++++++++++++++++----
 src/mailbox.hpp        |    7 ++-
 src/options.cpp        |   36 +++++++++++++++
 src/options.hpp        |    4 ++
 src/reaper.cpp         |    2 +-
 src/socket_base.cpp    |  100 +++++++++++++++++++++++++++--------------
 src/socket_base.hpp    |    6 +--
 tests/Makefile.am      |    5 ++-
 tests/test_timeo.cpp   |  115 ++++++++++++++++++++++++++++++++++++++++++++++++
 16 files changed, 407 insertions(+), 50 deletions(-)

commit e895607ca7a97378f7ccc5ab050fc54fd54a80ad
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jun 14 09:58:18 2011 +0200

    ENETUNREACH is a valid error from connect
    
    This patch fixed the JIRA issue 223
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_connecter.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 65d2b70312efb148814b58d9cd38cc7069b53a3b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 13 08:15:05 2011 +0200

    Minor patch to fix ICC build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xsub.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 970798ff98bc9eb7cd84bf8766cc6034a0e88aa4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 13 07:54:58 2011 +0200

    mtrie.cpp added to MSVC build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |    8 ++++++++
 1 file changed, 8 insertions(+)

commit c7fb5c54b688c1817d0604320ac7f9bb3aa02c5c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 13 07:53:22 2011 +0200

    Reverting previous commit that broke MSVC2010 build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ctx.cpp     |    8 ++------
 src/select.cpp  |    2 +-
 src/select.hpp  |    2 +-
 src/windows.hpp |    5 +++--
 4 files changed, 7 insertions(+), 10 deletions(-)

commit b164023cca3f29c5eb371a8a0757c98ae4683ae4
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Sun Jun 12 19:37:11 2011 +0200

    Fix scope on Windows includes.
    
    Fix windows.h included before winsock2.h.
    Remove definition of _WINSOCKAPI_.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 src/ctx.cpp     |    8 ++++++--
 src/select.cpp  |    2 +-
 src/select.hpp  |    2 +-
 src/windows.hpp |    5 ++---
 4 files changed, 10 insertions(+), 7 deletions(-)

commit ff93f54653d099bddfed34a342906a3546e70496
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jun 12 15:24:08 2011 +0200

    ZMQ_FILTER socket option added
    
    This option is a performance tweak. In devices XSUB socket filters
    the messages just to send them to XPUB socket which filters them
    once more. Setting ZMQ_FILTER option to 0 allows to switch the
    filtering in XSUB socket off.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   19 ++++++++++++++++++-
 doc/zmq_setsockopt.txt |   19 +++++++++++++++++++
 include/zmq.h          |    1 +
 src/options.cpp        |   19 +++++++++++++++++++
 src/options.hpp        |    3 +++
 src/xsub.cpp           |    4 ++--
 6 files changed, 62 insertions(+), 3 deletions(-)

commit e080e3e8b620b0e7ed02c28712a0c92b08de3451
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jun 12 10:19:21 2011 +0200

    Publisher-side filtering for multi-part messages fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/dist.cpp |    8 +++++---
 src/dist.hpp |    8 +++++---
 src/xpub.cpp |   25 ++++++++++++++++++++-----
 src/xpub.hpp |    3 +++
 4 files changed, 33 insertions(+), 11 deletions(-)

commit bd86def1c799a35d5cef0c0a9a1347a18fea227e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Jun 11 20:29:56 2011 +0200

    Actual message filtering happens in XPUB socket
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/dist.cpp  |   47 ++++++++++++++++++++++++++++++++++++++---------
 src/dist.hpp  |   20 +++++++++++++++++++-
 src/mtrie.cpp |   21 ++++++++++++++++-----
 src/mtrie.hpp |   11 +++++++----
 src/xpub.cpp  |   16 ++++++++++++++--
 src/xpub.hpp  |    3 +++
 src/xsub.cpp  |    4 ++--
 7 files changed, 99 insertions(+), 23 deletions(-)

commit 3935258b826adc31815be4f91b2f6eb02bb3c8ed
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Jun 1 11:54:33 2011 +0200

    Minor code beautification for mtrie_t
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mtrie.cpp |   42 +++++++++++++++++++++++++++---------------
 src/mtrie.hpp |    4 ++++
 2 files changed, 31 insertions(+), 15 deletions(-)

commit ee7313b4d896e9f7ff6a035395b20f617e4ff796
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue May 31 16:21:17 2011 +0200

    Subscriptions are processed immediately in XPUB socket
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xpub.cpp |  127 +++++++++++++++++++---------------------------------------
 src/xpub.hpp |    8 ----
 2 files changed, 42 insertions(+), 93 deletions(-)

commit a24a7c15a824bb48da38809bff9416673dc5a176
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue May 31 14:36:51 2011 +0200

    Session termination induced by socket fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pipe.cpp        |   18 ++++++++++++------
 src/pipe.hpp        |    5 +++--
 src/session.cpp     |   21 ++++++---------------
 src/socket_base.cpp |    4 ++--
 4 files changed, 23 insertions(+), 25 deletions(-)

commit 0b59866a84f733e5a53b0d2f32570581691747ef
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 30 10:07:34 2011 +0200

    Patches from sub-forward branch incorporated
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am           |    2 +
 src/command.hpp           |    8 ++
 src/connect_session.cpp   |    7 +-
 src/connect_session.hpp   |    4 +-
 src/fq.cpp                |    7 ++
 src/fq.hpp                |    4 +-
 src/mtrie.cpp             |  218 +++++++++++++++++++++++++++++++++++++++++++++
 src/mtrie.hpp             |   83 +++++++++++++++++
 src/named_session.cpp     |    5 +-
 src/named_session.hpp     |    4 +-
 src/object.cpp            |   25 +++++-
 src/object.hpp            |    2 +
 src/pipe.cpp              |   43 +++++++++
 src/pipe.hpp              |   13 ++-
 src/pub.cpp               |   13 +++
 src/pub.hpp               |    4 +
 src/session.cpp           |   28 ++++++
 src/session.hpp           |   21 +++--
 src/socket_base.cpp       |   14 ++-
 src/socket_base.hpp       |    6 +-
 src/sub.cpp               |  115 +-----------------------
 src/sub.hpp               |   21 +----
 src/transient_session.cpp |    6 +-
 src/transient_session.hpp |    4 +-
 src/trie.cpp              |   63 +++++++++++--
 src/trie.hpp              |   18 +++-
 src/xpub.cpp              |  120 ++++++++++++++++++++++++-
 src/xpub.hpp              |   26 ++++++
 src/xsub.cpp              |  160 ++++++++++++++++++++++++++++++---
 src/xsub.hpp              |   30 ++++++-
 30 files changed, 884 insertions(+), 190 deletions(-)

commit 311fb0d852374e769d8ff791c9df38f0464960c6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat May 28 09:02:21 2011 +0200

    Subscription matching moved from XSUB to SUB socket
    
    This patch will prevent duplicate matching in devices in the future.
    Instead of matching in both XPUB and XSUB, it'll happen only
    in XPUB. Receiver endpoint will still filter messages via SUB
    socket.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/sub.cpp  |  111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 src/sub.hpp  |   19 ++++++++++
 src/xsub.cpp |  107 ++++---------------------------------------------------
 src/xsub.hpp |   17 ---------
 4 files changed, 134 insertions(+), 120 deletions(-)

commit 718885fdcd7af797f940078ca8c22aebab93c8bb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu May 26 11:30:25 2011 +0200

    Pending messages are delivered even if connection doesn't exist yet
    
    Bug in previous refactoring fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pipe.cpp       |    3 +-
 src/session.cpp    |  110 ++++++++++++++++++++++++----------------------------
 src/session.hpp    |   10 ++---
 src/tcp_socket.cpp |    2 +-
 4 files changed, 57 insertions(+), 68 deletions(-)

commit 87a6490b39c44e8f9c521f6ccea14f800a712d3f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed May 25 10:25:51 2011 +0200

    All pipe termination code moved to pipe_t
    
    Till now the code was spread over mutliple locations.
    Additionally, the code was made more formally correct,
    with explicit pipe state machine etc.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pipe.cpp        |  147 +++++++++++++++++++++++++++++++++-------------
 src/pipe.hpp        |   29 +++++++---
 src/session.cpp     |  161 ++++++++++++++++++++++-----------------------------
 src/session.hpp     |   27 +++------
 src/socket_base.cpp |    4 +-
 5 files changed, 208 insertions(+), 160 deletions(-)

commit 3d4203decf87a5d5fb1718c2163f6d9c6c24328d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 23 21:37:52 2011 +0200

    Fabien Ninoles added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 71ac91ba4193910359d7671a4e998a17ff506b06
Author: Fabien Ninoles <fabien@tzone.org>
Date:   Mon May 23 21:36:00 2011 +0200

    Add multi-array support to array_item_t.
    
    Allow to have the same item part of two different arrays, as long as
    they are using different array identifier.

 src/array.hpp       |  116 +++++++++++++--------------------------------------
 src/pipe.hpp        |    8 +++-
 src/socket_base.hpp |    2 +-
 3 files changed, 37 insertions(+), 89 deletions(-)

commit 0f6f7276e32c01ccfe86fb76741a52ac6ffc87af
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 23 20:30:01 2011 +0200

    Move the pipe termination code to socket_base_t
    
    So far, the pipe termination code was spread among socket type
    classes, fair queuer, load balancer, etc. This patch moves
    all the associated logic to a single place.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/array.hpp                  |   38 ++++++++++++++++++++++----
 src/dist.cpp                   |   25 ++---------------
 src/dist.hpp                   |   15 +++-------
 src/fq.cpp                     |   30 ++------------------
 src/fq.hpp                     |   14 ++--------
 src/lb.cpp                     |   25 ++---------------
 src/lb.hpp                     |   15 +++-------
 src/own.cpp                    |    8 ++++--
 src/own.hpp                    |    3 ++
 src/pair.cpp                   |   31 +++------------------
 src/pair.hpp                   |   17 +++---------
 src/pipe.cpp                   |    4 +--
 src/pull.cpp                   |   21 +++-----------
 src/pull.hpp                   |   14 ++--------
 src/push.cpp                   |   20 ++------------
 src/push.hpp                   |   14 ++--------
 src/reaper.cpp                 |    6 +---
 src/socket_base.cpp            |   59 ++++++++++++++++++++++++++++++++++++++--
 src/socket_base.hpp            |   38 ++++++++++++++------------
 src/sub.hpp                    |    2 +-
 src/xpub.cpp                   |   23 ++--------------
 src/xpub.hpp                   |   14 ++--------
 src/xrep.cpp                   |   33 ++++------------------
 src/xrep.hpp                   |   18 +++---------
 src/xreq.cpp                   |   20 ++++----------
 src/xreq.hpp                   |   15 +++-------
 src/xsub.cpp                   |   18 ++----------
 src/xsub.hpp                   |   14 ++--------
 tests/test_shutdown_stress.cpp |    2 +-
 29 files changed, 190 insertions(+), 366 deletions(-)

commit acf0b0e515515e51ad32ba7a2d147ce703579478
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun May 22 17:26:53 2011 +0200

    Introduces bi-directional pipes
    
    So far, there was a pair of unidirectional pipes between a socket
    and a session (or an inproc peer). This resulted in complex
    problems with half-closed states and tracking which inpipe
    corresponds to which outpipe.
    
    This patch doesn't add any functionality in itself, but is
    essential for further work on features like subscription
    forwarding.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/array.hpp           |   79 ++++++++---
 src/command.hpp         |   11 +-
 src/connect_session.cpp |    1 +
 src/dist.cpp            |   10 +-
 src/dist.hpp            |   13 +-
 src/fq.cpp              |   12 +-
 src/fq.hpp              |   12 +-
 src/lb.cpp              |    8 +-
 src/lb.hpp              |   14 +-
 src/object.cpp          |   40 +++---
 src/object.hpp          |   19 ++-
 src/options.cpp         |    2 -
 src/options.hpp         |    5 -
 src/own.cpp             |    3 +
 src/pair.cpp            |   98 ++++----------
 src/pair.hpp            |   24 +---
 src/pipe.cpp            |  335 +++++++++++++++++++++++------------------------
 src/pipe.hpp            |  201 ++++++++++++----------------
 src/pull.cpp            |   26 +++-
 src/pull.hpp            |   13 +-
 src/push.cpp            |   26 +++-
 src/push.hpp            |   13 +-
 src/session.cpp         |  167 ++++++++++-------------
 src/session.hpp         |   29 ++--
 src/socket_base.cpp     |   73 ++++-------
 src/socket_base.hpp     |   12 +-
 src/xpub.cpp            |   26 +++-
 src/xpub.hpp            |   12 +-
 src/xrep.cpp            |   90 +++++--------
 src/xrep.hpp            |   24 ++--
 src/xreq.cpp            |   28 +++-
 src/xreq.hpp            |   13 +-
 src/xsub.cpp            |   26 +++-
 src/xsub.hpp            |   13 +-
 34 files changed, 709 insertions(+), 769 deletions(-)

commit 9e6b39925603f9e64db08c469bd628d7ef9465de
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue May 17 14:27:03 2011 +0200

    Couple of minor issues in MSVC build fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_socket.cpp |    2 +-
 src/tcp_socket.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit da7b6d0b3893fd14859b77ec69eed0fc6c8ad689
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue May 17 10:13:54 2011 +0200

    Paul Colomiets added to AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 38e5f8699ccff09a91e37e139c4a86a259ac597b
Author: Paul Colomiets <pc@gafol.net>
Date:   Tue May 17 10:12:27 2011 +0200

    Better handling of memory error in resolve_ip_hostname
    
    Signed-off-by: Paul Colomiets <pc@gafol.net>

 src/ip.cpp            |    9 +++++++++
 src/zmq_connecter.cpp |    2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

commit 864c18f797203c06e66e739166b246cfb3d47ce9
Author: Paul Colomiets <pc@gafol.net>
Date:   Tue May 17 10:09:04 2011 +0200

    zmq_msg_init_data returns ERRNO instead aborting
    
    Signed-off-by: Paul Colomiets <pc@gafol.net>

 doc/zmq_msg_init_data.txt |    4 +++-
 src/msg.cpp               |    5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

commit d8d5a627b1835d20270125e27a157c9a7460f0e7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 16 10:44:38 2011 +0200

    Duplicate initialisation of PGM_MULTICAST_HOPS removed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_socket.cpp |   80 +++++++++++++++++++++++++---------------------------
 1 file changed, 38 insertions(+), 42 deletions(-)

commit 5d0cffc52f575ff572751cc85fd43063391a211d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun May 15 18:25:43 2011 +0200

    ZMQ_MULTICAST_HOPS socket option added
    
    Sets the time-to-live field in every multicast packet sent from the socket.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   15 ++++++++++++++-
 doc/zmq_setsockopt.txt |   12 ++++++++++++
 include/zmq.h          |    1 +
 src/options.cpp        |   18 ++++++++++++++++++
 src/options.hpp        |    3 +++
 src/pgm_socket.cpp     |   14 ++++++++++----
 6 files changed, 58 insertions(+), 5 deletions(-)

commit 49df2f416cd43e9e18f3dbd964271c5cca835729
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun May 15 13:12:09 2011 +0200

    Fixes warning when compiling with MSVC on Win64
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/array.hpp      |    8 ++++----
 src/dist.cpp       |    2 +-
 src/encoder.hpp    |    2 +-
 src/err.cpp        |    2 +-
 src/fq.cpp         |    6 +++---
 src/ip.cpp         |   10 +++++-----
 src/lb.cpp         |    2 +-
 src/own.cpp        |    2 +-
 src/select.cpp     |    7 ++++---
 src/tcp_socket.cpp |   16 ++++++++--------
 src/tcp_socket.hpp |    6 ++++--
 src/xrep.cpp       |    7 +++----
 src/zmq.cpp        |    3 ++-
 13 files changed, 38 insertions(+), 35 deletions(-)

commit 49387874efe790713f4a090e03a97212f4889163
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun May 8 09:03:49 2011 +0200

    Async connect doesn't fail on EWSANETDOWN
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/err.cpp           |  112 ++++++++++++++++++++++++++-----------------------
 src/err.hpp           |   12 ++++++
 src/tcp_connecter.cpp |   10 ++---
 3 files changed, 76 insertions(+), 58 deletions(-)

commit da1ef4d2685c02e8320847d49a38726b2b6d52f0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun May 8 09:02:47 2011 +0200

    Fixed REP assert on missing envelope
    
    Signed-off-by: Pieter Hintjens <ph@imatix.com>

 src/rep.cpp  |   34 ++++++++++++++++++++++++----------
 src/xrep.cpp |   13 ++++++++++++-
 src/xrep.hpp |    5 +++++
 3 files changed, 41 insertions(+), 11 deletions(-)

commit 0c5b781e97f2bea42925495a5505c51e769fba7f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri May 6 15:51:56 2011 +0200

    urrent pipe pointer in XREP out of range -- fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xrep.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 3ef7c747ac68214ca463b2f52244fcec92151a46
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed May 4 12:43:23 2011 +0200

    Tore Halvorsen added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 10120214ac0d3ec4af146fcb95e3a114ed6f8da5
Author: Tore Halvorsen <tore.halvorsen@gmail.com>
Date:   Wed May 4 12:41:10 2011 +0200

    Accessing an iterator after it is accessed is not valid.
    
    Moving the erase after the access and check agains current_id.

 src/xrep.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ceb5e1a0734b0c73bd7f74ec5094ae6ad4f9dfc4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue May 3 23:20:43 2011 +0200

    Deallocation functions in zmq.h and msg_t class are consistent.
    
    The two functions had different calling conventions (C vs. C++).
    It is fixed now.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/msg.cpp |    2 +-
 src/msg.hpp |   15 ++++++++++-----
 2 files changed, 11 insertions(+), 6 deletions(-)

commit 5e329ba7cac8a52fbbd2c347064c2d9355009022
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue May 3 23:16:03 2011 +0200

    Minor patch to keep ICC compiler happy
    
    ICC doesn't recognise that assert(false) terminates the program
    and thus complains that certain functions have no return values.
    This patch supplies dummy return values to keep the compiler happy.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/msg.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 6ecec9bbf1cd17666241a3effc31a65e555dbd4a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 2 19:28:51 2011 +0200

    Current inpipe remains unchaged in XREP when other pipe terminates
    
    When an inpipe terminated within XREP, it was erased from the array
    and thus current_in (which is an index) pointed to a different
    element in the array. This caused problems when we were in the
    middle of reading a multipart message.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xrep.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e5d4cd39e1c9949b549055f816d60dd35bfacdec
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 2 19:26:30 2011 +0200

    Yet one more fix related to PUB socket and multipart messages
    
    This patch fixes the activation of the pipes, when they pass
    from passive state directly to active.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/dist.cpp |   18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

commit e78cc47b184f82fd524da021745b3323df4af507
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon May 2 18:59:55 2011 +0200

    Moved tests off 5555 (conflict with Eclipse)
    
    Signed-off-by: Pieter Hintjens <ph@imatix.com>

 tests/test_pair_tcp.cpp        |    4 ++--
 tests/test_reqrep_tcp.cpp      |    4 ++--
 tests/test_shutdown_stress.cpp |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

commit eb9bc1b0648d2132e612e2237a0ace47004d6f5c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Apr 30 06:48:18 2011 +0200

    Message atomicity problem in PUB socket fixed.
    
    Reaching the HWM caused breaking message atomicity when the
    flow was reestablished - initial parts of multipart messages
    may have been lost.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/dist.cpp |   73 ++++++++++++++++++++++++++++++++--------------------------
 src/dist.hpp |   20 ++++++++--------
 2 files changed, 49 insertions(+), 44 deletions(-)

commit fe2e772dd5d36024a91ce3abb86996599960e078
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Apr 30 06:47:36 2011 +0200

    pgm_socket uses binary version of UUID
    
    pgm_socket used textural form of UUID to generate GSIs.
    The recent patch that removed support for textual UUIDs
    broke the functionality. This patch fixes the problem.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_socket.cpp |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 96213d5735829bfbebfb544a584a34bb8c0081fa
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 29 07:23:30 2011 +0200

    WSAENETUNREACH is a valid networking error
    
    Till now, 0MQ asserted on Windows when connect () returned
    WSAENETUNREACH.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_connecter.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit b2eb84f8ca2fc2b8a2af6cd2c54c0abc4535cfc4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 29 07:19:22 2011 +0200

    Substantial simplification of uuid_t
    
    The string format of UUID is not used in 0MQ. Further on,
    it turns out that UUIDs have fixed microarchitecture-agnostic
    binary layout (see RFC4122). Thus, the conversion to string
    and back to binary can be avoided.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/socket_base.cpp |    4 +-
 src/uuid.cpp        |  193 +++++++--------------------------------------------
 src/uuid.hpp        |   84 +---------------------
 src/zmq_init.cpp    |    7 +-
 4 files changed, 33 insertions(+), 255 deletions(-)

commit 10fbc78e5cab494c3af727f5ea451fdced1c9d95
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 22 07:51:24 2011 +0200

    Assert during SUB socket termination fixed.
    
    Fair queueing algorithm was checking whether the current pipe
    is not closed in the middle of reading a multipart message.
    However, this is OK when the socket is closing down.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/fq.cpp |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

commit e0246e32d79d71f8e73207b43aed8b23648e4fc7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 21 22:27:48 2011 +0200

    Message-related functionality factored out into msg_t class.
    
    This patch addresses serveral issues:
    1. It gathers message related functionality scattered over whole
       codebase into a single class.
    2. It makes zmq_msg_t an opaque datatype. Internals of the class
       don't pollute zmq.h header file.
    3. zmq_msg_t size decreases from 48 to 32 bytes. That saves ~33%
       of memory in scenarios with large amount of small messages.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h         |   29 +-----
 src/config.hpp        |    4 +
 src/ctx.cpp           |   14 +--
 src/ctx.hpp           |    2 -
 src/decoder.cpp       |   18 ++--
 src/decoder.hpp       |    5 +-
 src/dist.cpp          |   66 ++++---------
 src/dist.hpp          |    6 +-
 src/encoder.cpp       |   24 +++--
 src/encoder.hpp       |    5 +-
 src/err.cpp           |    2 -
 src/err.hpp           |    3 +
 src/fq.cpp            |   13 +--
 src/fq.hpp            |    3 +-
 src/i_inout.hpp       |    7 +-
 src/io_thread.cpp     |    2 -
 src/ip.cpp            |    4 +-
 src/lb.cpp            |   28 +++---
 src/lb.hpp            |    2 +-
 src/msg.cpp           |  249 ++++++++++++++++++++++++++++++++-----------------
 src/msg.hpp           |  107 ++++++++++++++++++---
 src/object.hpp        |    2 -
 src/options.cpp       |    2 -
 src/pair.cpp          |   25 ++---
 src/pair.hpp          |    4 +-
 src/pipe.cpp          |   49 +++++-----
 src/pipe.hpp          |   13 ++-
 src/pub.cpp           |    1 +
 src/pull.cpp          |    5 +-
 src/pull.hpp          |    2 +-
 src/push.cpp          |    7 +-
 src/push.hpp          |    2 +-
 src/rep.cpp           |   15 ++-
 src/rep.hpp           |    4 +-
 src/req.cpp           |   23 +++--
 src/req.hpp           |    4 +-
 src/session.cpp       |   17 ++--
 src/session.hpp       |    4 +-
 src/socket_base.cpp   |   29 +++---
 src/socket_base.hpp   |   10 +-
 src/sub.cpp           |   17 ++--
 src/sub.hpp           |    2 +-
 src/tcp_connecter.cpp |    2 -
 src/tcp_listener.cpp  |    2 -
 src/xpub.cpp          |    9 +-
 src/xpub.hpp          |    4 +-
 src/xrep.cpp          |   69 +++++++-------
 src/xrep.hpp          |    7 +-
 src/xreq.cpp          |    7 +-
 src/xreq.hpp          |    4 +-
 src/xsub.cpp          |   41 ++++----
 src/xsub.hpp          |   11 +--
 src/zmq.cpp           |   52 ++++++++++-
 src/zmq_init.cpp      |   29 +++---
 src/zmq_init.hpp      |   13 ++-
 55 files changed, 606 insertions(+), 474 deletions(-)

commit 581697695aac72894f2d3fefac904b9d50b3ba67
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Apr 19 08:08:15 2011 +0200

    Message validity is checked in the runtime
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_msg_close.txt |    3 ++-
 doc/zmq_msg_copy.txt  |    3 ++-
 doc/zmq_msg_move.txt  |    3 ++-
 doc/zmq_recv.txt      |    2 ++
 doc/zmq_send.txt      |    2 ++
 include/zmq.h         |    1 +
 src/msg.cpp           |   40 ++++++++++++++++++++++++++++++++--------
 src/req.cpp           |    2 +-
 src/socket_base.cpp   |   14 ++++++++++++++
 src/xrep.cpp          |    2 +-
 10 files changed, 59 insertions(+), 13 deletions(-)

commit 20e0b7cdcb6e8095fbadb80765e9371803184060
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 18 09:11:45 2011 +0200

    zmq_socket(3) describes the EMFILE error code
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_socket.txt |    2 ++
 1 file changed, 2 insertions(+)

commit e3dc0b25d98eb072ab37aac842bba0802c87e3e6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 18 08:55:51 2011 +0200

    OpenPGM compilation error on OSX fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_socket.hpp |    4 ++++
 1 file changed, 4 insertions(+)

commit 452ea97f5bb1bdd4d5ba76279de4189e8b8e5662
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 15 08:03:26 2011 +0200

    zmq_send(3) manpage improved
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_send.txt |    4 ++++
 1 file changed, 4 insertions(+)

commit 590ad2510bb113fdcd36951f6321fc73be94944a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 15 07:59:28 2011 +0200

    Error handling for accept on Cygwin fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_listener.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 5444064c1a195daee5e57eb996157393a4eed796
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Apr 13 10:33:54 2011 +0200

    Minor cleanup of preprocessor definitions for OpenPGM
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_socket.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 933ace0919974628c8ac2f9ada67645fdf4c80e2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Apr 13 10:06:44 2011 +0200

    MSVC build fixed to reflect zmq.cpp split
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

commit 6191213a5737b774d83f341d4507b8baf702d381
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Apr 12 14:20:49 2011 +0200

    Code dealing with messages moved to msg.cpp
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am     |    3 +-
 src/dist.cpp        |    2 +-
 src/msg.cpp         |  159 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/msg.hpp         |   52 +++++++++++++++++
 src/msg_content.hpp |   52 -----------------
 src/zmq.cpp         |  131 ------------------------------------------
 6 files changed, 214 insertions(+), 185 deletions(-)

commit 3b636d7d185cd1a1fa300b4d9ca78d2587cb4bf5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Apr 12 10:00:29 2011 +0200

    zmq_utils implementation moved to zmq_utils.cpp
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am   |    3 ++-
 src/zmq.cpp       |   30 ---------------------------
 src/zmq_utils.cpp |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+), 31 deletions(-)

commit e6fd193760952fb7ad9ba787ff210993cf1c2031
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Apr 12 09:22:22 2011 +0200

    OpenPGM now doesn't redefine bool, we can drop the workaround
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_socket.hpp |    5 -----
 src/zmq.cpp        |    5 -----
 2 files changed, 10 deletions(-)

commit a3b49ca958be908b88b17ecc946006dccfbd2a75
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Apr 11 12:14:00 2011 +0200

    Fixed example
    
    Signed-off-by: Pieter Hintjens <ph@imatix.com>

 doc/zmq_getsockopt.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 0839cceac9dd29cc64cd9a634b9d3340cfbf3bbe
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Apr 9 09:46:59 2011 +0200

    Missing ENOTSOCK added on Win32
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    3 +++
 1 file changed, 3 insertions(+)

commit b96fe15bb666e59728b6aa02f28c5838020f6bf3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Apr 9 09:35:34 2011 +0200

    Run-time checking for context & socket validity added
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_bind.txt       |    4 ++--
 doc/zmq_close.txt      |    4 ++--
 doc/zmq_connect.txt    |    4 ++--
 doc/zmq_getsockopt.txt |    4 ++--
 doc/zmq_recv.txt       |    4 ++--
 doc/zmq_send.txt       |    4 ++--
 doc/zmq_setsockopt.txt |    4 ++--
 doc/zmq_socket.txt     |    2 +-
 doc/zmq_term.txt       |    2 +-
 src/ctx.cpp            |    9 +++++++++
 src/ctx.hpp            |    6 ++++++
 src/socket_base.cpp    |    9 +++++++++
 src/socket_base.hpp    |    6 ++++++
 src/zmq.cpp            |   32 ++++++++++++++++----------------
 14 files changed, 62 insertions(+), 32 deletions(-)

commit e62686aca57ab307e952c53fd3848acaad22735e
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sat Apr 9 08:45:12 2011 +0200

    RPM packaging improvements
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 Makefile.am                  |    1 -
 builds/redhat/zeromq.spec    |  137 -----------------------------------------
 builds/redhat/zeromq.spec.in |  138 ++++++++++++++++++++++++++++++++++++++++++
 configure.in                 |    3 +-
 4 files changed, 140 insertions(+), 139 deletions(-)

commit 6fd403c4d8d22cec6c47aad4b978b3cc78b956c4
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Mon Apr 4 22:52:02 2011 +0200

    Make pkg-config dependency conditional
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 autogen.sh   |    6 ------
 configure.in |   13 ++++++++-----
 2 files changed, 8 insertions(+), 11 deletions(-)

commit 4b52cf949fa02274ec8817f8e704eaa7cc66adbf
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 4 17:53:49 2011 +0200

    TCP and IPC connection initiation allow for multiple properties
    
    So far the only property passed on connection initiation was
    identity. The mechanism was now made extensible. Additional
    properties are needed to introduce functionality such as
    checking the peer's socket type, "subports" etc.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq_init.cpp |   98 +++++++++++++++++++++++++++++++++++++++---------------
 src/zmq_init.hpp |   18 ++++++++--
 2 files changed, 87 insertions(+), 29 deletions(-)

commit 8203c4dbb2e727ce608590e41c9e0d990c015b3e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 4 13:12:46 2011 +0200

    Another error handling issue on Win32 solved
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 perf/inproc_lat.cpp |    2 +-
 perf/inproc_thr.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 475ba3849dd6563ce7b70c4db4d0ac85ac83658d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 4 12:49:39 2011 +0200

    Issue with error checking on Win32 platform fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/thread.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1842628b9058b9243ebe037a6818c27ea1c8cd8d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 4 12:12:06 2011 +0200

    Unreferenced variable removed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_socket.cpp |    1 -
 1 file changed, 1 deletion(-)

commit 2c7af35827863b1e0a167298140a38180980502c
Author: Robert G. Jakabosky <bobby@sharedrealm.com>
Date:   Sun Apr 3 20:44:02 2011 +0200

    Add note about thread-safety to zmq_msg_init_data() manpage.
    
    Signed-off-by: Robert G. Jakabosky <bobby@sharedrealm.com>

 doc/zmq_msg_init_data.txt |    3 +++
 1 file changed, 3 insertions(+)

commit 54ea458f629cc380440e1a349ecf572eed2ecbd4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Apr 3 07:36:02 2011 +0200

    Git ignores .gcno files
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 .gitignore |    1 +
 1 file changed, 1 insertion(+)

commit a48b6cfc003833e40198442124d034942f9f41e3
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sun Apr 3 07:34:14 2011 +0200

    Additional gcov changes
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |   32 +++++++++++++++++++++-----------
 1 file changed, 21 insertions(+), 11 deletions(-)

commit 656b646bc634993bd9cb1b036a6838c5d0514fa8
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sat Apr 2 22:50:46 2011 +0200

    Large rename: AC_ZMQ_ to LIBZMQ_ and ac_zmq_ to libzmq_. Fixes "warning suspicious cache-id"
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |  340 +++++++++++++++++++++++++++++-----------------------------
 configure.in |   76 ++++++-------
 2 files changed, 208 insertions(+), 208 deletions(-)

commit bdeddb89f727c434ad499da5a349f3959eba3226
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sat Apr 2 22:49:41 2011 +0200

    Added code coverage checking
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |   32 ++++++++++++++++++++++++++++++++
 configure.in |    3 +++
 2 files changed, 35 insertions(+)

commit 7af18468f8ca0c14975ea12a1e6a549d42b81347
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sat Apr 2 22:48:52 2011 +0200

    Add option to build with system opepgm
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 autogen.sh   |    6 ++++++
 configure.in |   17 +++++++++++++++++
 2 files changed, 23 insertions(+)

commit 0e0e4559a0e1d37fdbf686056f5d869d7a8d0315
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Apr 2 19:32:44 2011 +0200

    Project location on github changed in README file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 README |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3e655227bd30d9845b2a0d8b877abe26c5524a3a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Apr 2 09:22:41 2011 +0200

    Fixed memory leak with threads on win32
    
    Signed-off-by: Pieter Hintjens <ph@imatix.com>

 src/thread.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 85c2a84036675d40af47b57c410309da04ef742b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Apr 2 09:50:35 2011 +0200

    inproc perf tests now work on Windows
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/inproc_lat/inproc_lat.vcproj |  174 ++++++++++++++++++++++++++++++
 builds/msvc/inproc_thr/inproc_thr.vcproj |  174 ++++++++++++++++++++++++++++++
 builds/msvc/msvc.sln                     |   22 ++++
 perf/inproc_lat.cpp                      |   46 +++++++-
 perf/inproc_thr.cpp                      |   46 +++++++-
 5 files changed, 458 insertions(+), 4 deletions(-)

commit 54830ac0f6869628e1e35cbae3434ca5e10ad600
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Apr 2 09:03:57 2011 +0200

    MSVC build system updated to match 3.0 changes
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   16 ----------------
 builds/msvc/msvc.sln             |   33 ---------------------------------
 2 files changed, 49 deletions(-)

commit ae90d3bdbe58d73dea5001b2f8cbf6ada9e53332
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 1 11:55:10 2011 +0200

    inproc_lat and inproc_thr added to .gitignore
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 .gitignore |    2 ++
 1 file changed, 2 insertions(+)

commit 599df5203ca3e4dfa39ea7617616b7886e95aff3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 1 11:53:51 2011 +0200

    PGM wire format specification improved in zmq_pgm(7)
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_pgm.txt |    5 +++++
 1 file changed, 5 insertions(+)

commit cce57617c7d4da78a3fd00e105d4920e34181a07
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 31 23:49:28 2011 +0200

    Ian Barber and Zed Shaw added to credits section
    
    talks on conferences, videos
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    2 ++
 1 file changed, 2 insertions(+)

commit 5142a1624bcf1659b5ed6b706b8396fc91ecbd00
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 31 23:16:14 2011 +0200

    Robert G. Jakabosky added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit d84558e172f51a9b96659f49c404147315e502f8
Author: Robert G. Jakabosky <bobby@sharedrealm.com>
Date:   Thu Mar 31 23:14:38 2011 +0200

    Adding thread latency/throughput perf. examples.
    
    Signed-off-by: Robert G. Jakabosky <bobby@sharedrealm.com>

 perf/Makefile.am    |    8 +-
 perf/inproc_lat.cpp |  190 +++++++++++++++++++++++++++++++++++++++++++++++
 perf/inproc_thr.cpp |  204 +++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 401 insertions(+), 1 deletion(-)

commit fbf1f5146860a2557f247cdb0f94bda647c75ceb
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Thu Mar 31 18:42:09 2011 +0200

    Upstream the openpgm build fixes. Add DSO symbol visibility to OpenPGM builds
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 .gitignore                                 |    1 +
 Makefile.am                                |   11 +-
 configure.in                               |  152 ++++++++--------------------
 foreign/openpgm/Makefile.am                |    8 ++
 foreign/openpgm/libpgm-5.0.92~dfsg.tar.gz  |  Bin 444700 -> 0 bytes
 foreign/openpgm/libpgm-5.1.115~dfsg.tar.gz |  Bin 0 -> 1054630 bytes
 src/Makefile.am                            |   95 +----------------
 7 files changed, 59 insertions(+), 208 deletions(-)

commit d36d9a378a9f3c561f2ae7849cee907c59d33b72
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Mar 27 19:41:32 2011 +0200

    Comments improvement
    
    related to fairness while reading/writing large messages
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq_engine.cpp |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit 17fdb5e3a8956887e76c487e36d1dc8b667ca248
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Mar 27 09:50:25 2011 +0200

    zmq_recv() returns size of the message even if it's truncated
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq.cpp |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit 82dbef360c1fd5b20c8b59e1fc7273af14f55502
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 26 11:05:55 2011 +0100

    Memory leak in zmq_recv fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq.cpp |    4 ++++
 1 file changed, 4 insertions(+)

commit abb184a051b592b6d4c99fd3299e78ea7c1da826
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 26 10:38:40 2011 +0100

    ZMQ_NOBLOCK renamed ZMQ_DONTWAIT
    
    Done because of POSIX compliance
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_recv.txt    |    2 +-
 doc/zmq_send.txt    |    2 +-
 include/zmq.h       |    2 +-
 src/socket_base.cpp |    4 ++--
 src/xsub.cpp        |    6 +++---
 tests/test_hwm.cpp  |    2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)

commit bc4a1ce3345f4e5904e4b13c618f90def21256a5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 16:47:33 2011 +0100

    ZMQ_HWM split into ZMQ_SNDHWM and ZMQ_RCVHWM
    
    These new options allow to control the maximum size of the
    inbound and outbound message pipe separately.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   42 ++++++++++++++++++++++++++++++++----------
 doc/zmq_setsockopt.txt |   36 +++++++++++++++++++++++++++++-------
 include/zmq.h          |    3 ++-
 src/options.cpp        |   30 ++++++++++++++++++++++++------
 src/options.hpp        |    5 +++--
 src/session.cpp        |    6 ++++--
 src/socket_base.cpp    |   21 +++++++++++++--------
 tests/test_hwm.cpp     |    4 ++--
 8 files changed, 109 insertions(+), 38 deletions(-)

commit 507718ee1a56e376c06389c513de3868297fec35
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 15:43:03 2011 +0100

    ZMQ_HWM type changed to int
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |    4 ++--
 doc/zmq_setsockopt.txt |    2 +-
 src/options.cpp        |    8 ++++----
 src/options.hpp        |    4 +++-
 src/pipe.cpp           |   11 +++++------
 src/pipe.hpp           |   17 ++++++++---------
 src/socket_base.cpp    |    2 +-
 tests/test_hwm.cpp     |    3 +--
 8 files changed, 25 insertions(+), 26 deletions(-)

commit bd9d7715ebe864d1aa85700d1b55b4f37568a1a4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 15:18:20 2011 +0100

    ZMQ_RATE and ZMQ_RECOVERY_IVL types cahnged to int
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |    4 ++--
 doc/zmq_setsockopt.txt |    4 ++--
 src/options.cpp        |   21 ++++++++++-----------
 src/options.hpp        |    5 +++--
 src/pgm_socket.cpp     |    4 ++--
 5 files changed, 19 insertions(+), 19 deletions(-)

commit d61f067f5bade1269213735b8628a92621b62c91
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 15:07:23 2011 +0100

    ZMQ_EVENTS type changed to int
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |    2 +-
 src/socket_base.cpp    |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

commit 23bd3726a57793b850cb26e22274fd188fb86e82
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 14:59:43 2011 +0100

    ZMQ_RCVMORE type changed to int
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |    2 +-
 src/socket_base.cpp    |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 17e82a361121dc81c90e17f1382dff678537b651
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 14:48:50 2011 +0100

    ZMQ_SNDBUF and ZMQ_RCVBUF type changed to int
    
    This mimics POSIX specification.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |    4 ++--
 doc/zmq_setsockopt.txt |    4 ++--
 src/options.cpp        |   22 +++++++++++-----------
 src/options.hpp        |    5 +++--
 src/tcp_socket.cpp     |   15 ++++++---------
 src/tcp_socket.hpp     |    2 +-
 6 files changed, 25 insertions(+), 27 deletions(-)

commit a2252de2bcecb672f09c8a5d0013cce23d1d404f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 14:36:40 2011 +0100

    ZMQ_RECOVERY_IVL and ZMQ_RECOVERY_IVL_MSEC reconciled
    
    There's only one option now -- ZMQ_RECOVRY_IVL --
    and it's measured in milliseconds.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   24 ++----------------------
 doc/zmq_setsockopt.txt |   31 +++----------------------------
 include/zmq.h          |    1 -
 src/options.cpp        |   22 ++--------------------
 src/options.hpp        |    4 +---
 src/pgm_socket.cpp     |   23 ++++-------------------
 6 files changed, 12 insertions(+), 93 deletions(-)

commit 8463b4d55e45ea29d5a23f867e7f1c0077279ee7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 12:27:06 2011 +0100

    SWAP functionality removed
    
    On-disk storage should be implemented in devices rather than
    in 0MQ core. 0MQ is a networking library and there's no point
    in storing network buffers on disk.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   16 ---
 doc/zmq_setsockopt.txt |   16 ---
 include/zmq.h          |    1 -
 src/Makefile.am        |    2 -
 src/config.hpp         |    4 -
 src/options.cpp        |   18 ---
 src/options.hpp        |    1 -
 src/pipe.cpp           |   93 ++------------
 src/pipe.hpp           |   30 ++---
 src/session.cpp        |    6 +-
 src/socket_base.cpp    |   20 ++-
 src/swap.cpp           |  325 ------------------------------------------------
 src/swap.hpp           |  123 ------------------
 13 files changed, 24 insertions(+), 631 deletions(-)

commit fb27a000d9383b503761d0124e7bd41115d70c9a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 11:53:55 2011 +0100

    send/recv was changed to send/recv/sendmsg/recvmsg
    
    send/recv now complies with POSIX by using raw buffers instead
    of message objects and by returning number of bytes sent/recvd
    instead of 0/-1.
    
    The return value is changed accordingly for sendmsg and recvmsg.
    
    Note that related man pages will be fixed in a separate patch.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h       |    6 ++++--
 perf/local_lat.cpp  |   12 +++++------
 perf/local_thr.cpp  |   12 +++++------
 perf/remote_lat.cpp |   12 +++++------
 perf/remote_thr.cpp |    6 +++---
 src/zmq.cpp         |   59 +++++++++++++++++++++++++++++++++++++++++++++++----
 tests/test_hwm.cpp  |   34 +++++------------------------
 tests/testutil.hpp  |   38 ++++++++++-----------------------
 8 files changed, 96 insertions(+), 83 deletions(-)

commit d4e83d26014f41eaa1698b4062de88fe7f36a669
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 10:18:06 2011 +0100

    C++ binding removed from the core
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/redhat/zeromq.spec |    1 -
 doc/Makefile.am           |    4 +-
 doc/zmq_cpp.txt           |  212 ---------------------------------
 include/zmq.hpp           |  289 ---------------------------------------------
 src/Makefile.am           |    2 +-
 5 files changed, 3 insertions(+), 505 deletions(-)

commit 7d87db05290e3fd742f381b6f419eb69518ca8cf
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 24 10:03:49 2011 +0100

    Auto-tests modified to use C API instead of C++ binding
    
    As a side effect, broker HWM test was fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 tests/test_hwm.cpp             |  107 +++++++++++++++++++++----------
 tests/test_pair_inproc.cpp     |   30 +++++++--
 tests/test_pair_ipc.cpp        |   30 +++++++--
 tests/test_pair_tcp.cpp        |   30 +++++++--
 tests/test_reqrep_inproc.cpp   |   30 +++++++--
 tests/test_reqrep_ipc.cpp      |   30 +++++++--
 tests/test_reqrep_tcp.cpp      |   30 +++++++--
 tests/test_shutdown_stress.cpp |    2 +-
 tests/testutil.hpp             |  139 +++++++++++-----------------------------
 9 files changed, 263 insertions(+), 165 deletions(-)

commit 941be8d2175332cb720f390f93d07a0870db8824
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 23 17:44:16 2011 +0100

    zmq_device removed
    
    Devices are basically applications on top of 0MQ stack. They
    should reside in separate libraties.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/redhat/zeromq.spec |    7 ---
 include/zmq.h             |   10 ----
 include/zmq.hpp           |    7 ---
 src/Makefile.am           |    2 -
 src/device.cpp            |  120 ---------------------------------------------
 src/device.hpp            |   32 ------------
 src/zmq.cpp               |   18 -------
 7 files changed, 196 deletions(-)

commit d4d184a750e2c09a39b95db9a54daf83aac5a446
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 23 17:33:07 2011 +0100

    Pre-compiled devices removed
    
    Along with the devices, xmlParser which is no longer needed
    is removed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 MAINTAINERS                             |    4 -
 Makefile.am                             |    8 +-
 configure.in                            |    2 -
 devices/Makefile.am                     |    3 -
 devices/zmq_forwarder/Makefile.am       |    8 -
 devices/zmq_forwarder/zmq_forwarder.cpp |  124 --
 devices/zmq_queue/Makefile.am           |    8 -
 devices/zmq_queue/zmq_queue.cpp         |  123 --
 devices/zmq_streamer/Makefile.am        |    8 -
 devices/zmq_streamer/zmq_streamer.cpp   |  123 --
 doc/Makefile.am                         |    6 +-
 doc/zmq_forwarder.txt                   |   33 -
 doc/zmq_queue.txt                       |   33 -
 doc/zmq_streamer.txt                    |   33 -
 foreign/xmlParser/xmlParser.cpp         | 2923 -------------------------------
 foreign/xmlParser/xmlParser.hpp         |  762 --------
 16 files changed, 5 insertions(+), 4196 deletions(-)

commit b45b68ae4ab90af1ce35deec52b0c0492a1f49d4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 23 17:01:39 2011 +0100

    ZMQ_MCAST_LOOP removed
    
    Multicast loopback is not a real multicast, rather a kernel-space
    simulation. Moreover, it tends to be rather unreliable and lossy.
    Removing the option will force users to use transports better
    suited for the job, such as inproc or ipc.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   17 -----------------
 doc/zmq_pgm.txt        |    5 ++---
 doc/zmq_setsockopt.txt |   17 -----------------
 include/zmq.h          |    1 -
 src/options.cpp        |   25 -------------------------
 src/options.hpp        |    3 ---
 src/pgm_socket.cpp     |    2 +-
 7 files changed, 3 insertions(+), 67 deletions(-)

commit f5e6d67948b8c71c2444046f6246aebab16546dc
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 23 15:50:18 2011 +0100

    Timeout in zmq_poll is in milliseconds
    
    The old timeout in microsecond haven't been compliant with
    POSIX and was impractical at the same time.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_poll.txt |    2 +-
 src/zmq.cpp      |   12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

commit e3cf6e9ced979464d30ad4cd63087cfbee33e9bd
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 23 15:40:35 2011 +0100

    Obsolete note removed from zmq_poll(3) manpage
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_poll.txt |    3 ---
 1 file changed, 3 deletions(-)

commit 34d7854199ab89faf2edfc3305932cc07b2030ab
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 23 15:26:47 2011 +0100

    Obsolete constants ZMQ_UPSTREAM and ZMQ_DOWNSTREAM removed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 devices/zmq_streamer/zmq_streamer.cpp |    4 ++--
 include/zmq.h                         |    2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

commit dee5f650dde07ec71f482e825984a31028467d1b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 23 15:24:18 2011 +0100

    Version bumped to 3.0.0
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 1619b3d84a04fe1886347fd83280a6070c9603f4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Mar 20 20:52:54 2011 +0100

    Message atomicity bug in load-balancer fixed
    
    If the peer getting the message have disconnected in the middle
    of multiplart message, the remaining part of the message went
    to a different peer. This patch fixes the issue.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/lb.cpp |   25 ++++++++++++++++++++++++-
 src/lb.hpp |    3 +++
 2 files changed, 27 insertions(+), 1 deletion(-)

commit 92c7c18367f91c6341fc617026f5e25000466b05
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Mar 20 11:50:51 2011 +0100

    Message atomicity problem solved in PUB socket
    
    When new peer connects to a PUB socket while it is in the middle
    of sending of multi-part messages, it gets just the remaining
    part of the message, i.e. message atomicity is broken.
    
    This patch drops the tail part of the message and starts sending
    to the peer only when new message is started.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/dist.cpp |   44 +++++++++++++++++++++++++++++++++++++++-----
 src/dist.hpp |   15 +++++++++++++++
 2 files changed, 54 insertions(+), 5 deletions(-)

commit fac9c2da56073d15cfe25ea2bb5833cb5b9cfff6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 16 16:32:31 2011 +0100

    zmq_socket(3) and zmq_setsockopt(3) man pages improved
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_setsockopt.txt |    3 ++-
 doc/zmq_socket.txt     |    8 +++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

commit f5015f4c933706f34dbe3cb78e7db29e2ab7f870
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 16 13:48:40 2011 +0100

    Incorrect errno reported from tcp_listener_t::set_address
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/tcp_listener.cpp |   20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

commit 32ded2b457b2102dba4c15e00363f031d212b1c4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 16 13:26:23 2011 +0100

    Duplicate identities now checked with zmq_connect
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/connect_session.cpp   |   45 +++++++++++++++++++++++++++++++++++++++++++--
 src/connect_session.hpp   |   10 +++++++++-
 src/named_session.cpp     |   12 +++++++++---
 src/named_session.hpp     |    2 +-
 src/session.cpp           |   38 ++++++++++++++++++++------------------
 src/session.hpp           |   12 ++++++++----
 src/socket_base.cpp       |    4 +++-
 src/transient_session.cpp |    4 +++-
 src/transient_session.hpp |    2 +-
 9 files changed, 97 insertions(+), 32 deletions(-)

commit b79d07b8bc844135c44c1ff8b84b50dc08f56925
Author: Jon Dyte <jon@totient.co.uk>
Date:   Wed Mar 16 09:54:03 2011 +0100

    reset socket state when identity message cannot be written to xrep
    
     Signed-off-by: Jon Dyte <jon@totient.co.uk>

 src/xrep.cpp |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 7045a4a21327f19170e282f6ba2d25caff13aa90
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 15 13:11:20 2011 +0100

    Dead code removed from named_session.cpp
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/named_session.cpp |   57 ++++++++++++++-----------------------------------
 src/named_session.hpp |    5 ++---
 2 files changed, 18 insertions(+), 44 deletions(-)

commit f987f4b3e28b24fd3e58408c568b688ad1306766
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Mar 14 20:29:00 2011 +0100

    FreeBSD complation error fixed
    
    There was an error in pgm_receiver wrt strict aliasing.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_receiver.cpp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 2970d6c30b1f57e9a75d46982378b103899bddbc
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Mar 14 07:11:30 2011 +0100

    Remove obsolete assert from pgm_socket.cpp
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_socket.cpp |    1 -
 1 file changed, 1 deletion(-)

commit d0c8edde3596f512d629c6b075289ebe86488ea9
Author: Guido Goldstein <github@a-nugget.de>
Date:   Sat Mar 12 17:16:27 2011 +0100

    Added missing close method w/ check if socket is already closed.
    
    Signed-off-by: Guido Goldstein <github@a-nugget.de>

 include/zmq.hpp |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

commit 7b95c5920c3318935b8cd8f3591cd5c65509f819
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 9 16:34:37 2011 +0100

    Windows build fixed
    
    Compilation of ip.cpp have failed because EPROTONOSUPPORT
    was undefined. Including zmq.h should help as the error
    code is defined there.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ip.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit b00be2651c39d0c08064f206b31a14e810ba0b22
Author: Brett Cameron <Brett.Cameron@hp.com>
Date:   Tue Mar 8 14:39:52 2011 +0100

    Different fixed to make OpenVMS port work.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS           |    2 +-
 src/ip.cpp        |   16 ++++++++++------
 src/ip.hpp        |    2 --
 src/semaphore.hpp |    2 ++
 src/stdint.hpp    |   10 +---------
 5 files changed, 14 insertions(+), 18 deletions(-)

commit 184bdb8e2bb6fe252af1bf4dd16d1c9ed8892f7a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 3 12:37:11 2011 +0100

    Bug caused by interaction of REQ/REP routing and HWM fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xrep.cpp |   16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

commit 97add1ec2f75858ee950fa19b266396147efa224
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Mar 3 12:15:08 2011 +0100

    Documentation wrt thread-safety cleaned up.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_init.txt   |    5 +++++
 doc/zmq_socket.txt |   13 +++----------
 2 files changed, 8 insertions(+), 10 deletions(-)

commit 18b9ebea32fbf4a4552b0435c8759e5e5c6fe219
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 2 16:30:40 2011 +0100

    The copyrights in file headers updated.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 autogen.sh                              |    8 +++++---
 builds/msvc/platform.hpp                |    3 ++-
 devices/zmq_forwarder/zmq_forwarder.cpp |    3 ++-
 devices/zmq_queue/zmq_queue.cpp         |    3 ++-
 devices/zmq_streamer/zmq_streamer.cpp   |    3 ++-
 include/zmq.h                           |    3 ++-
 include/zmq.hpp                         |    3 ++-
 include/zmq_utils.h                     |    3 ++-
 perf/local_lat.cpp                      |    3 ++-
 perf/local_thr.cpp                      |    3 ++-
 perf/remote_lat.cpp                     |    3 ++-
 perf/remote_thr.cpp                     |    3 ++-
 src/array.hpp                           |    3 ++-
 src/atomic_counter.hpp                  |    3 ++-
 src/atomic_ptr.hpp                      |    3 ++-
 src/blob.hpp                            |    3 ++-
 src/clock.cpp                           |    3 ++-
 src/clock.hpp                           |    3 ++-
 src/command.cpp                         |    3 ++-
 src/command.hpp                         |    3 ++-
 src/config.hpp                          |    3 ++-
 src/connect_session.cpp                 |    3 ++-
 src/connect_session.hpp                 |    3 ++-
 src/ctx.cpp                             |    3 ++-
 src/ctx.hpp                             |    3 ++-
 src/decoder.cpp                         |    3 ++-
 src/decoder.hpp                         |    3 ++-
 src/device.cpp                          |    3 ++-
 src/device.hpp                          |    3 ++-
 src/devpoll.cpp                         |    3 ++-
 src/devpoll.hpp                         |    3 ++-
 src/dist.cpp                            |    3 ++-
 src/dist.hpp                            |    3 ++-
 src/encoder.cpp                         |    3 ++-
 src/encoder.hpp                         |    3 ++-
 src/epoll.cpp                           |    3 ++-
 src/epoll.hpp                           |    3 ++-
 src/err.cpp                             |    3 ++-
 src/err.hpp                             |    3 ++-
 src/fd.hpp                              |    3 ++-
 src/fq.cpp                              |    3 ++-
 src/fq.hpp                              |    3 ++-
 src/i_engine.hpp                        |    3 ++-
 src/i_inout.hpp                         |    3 ++-
 src/i_poll_events.hpp                   |    3 ++-
 src/io_object.cpp                       |    3 ++-
 src/io_object.hpp                       |    3 ++-
 src/io_thread.cpp                       |    3 ++-
 src/io_thread.hpp                       |    3 ++-
 src/ip.cpp                              |    3 ++-
 src/ip.hpp                              |    3 ++-
 src/kqueue.cpp                          |    3 ++-
 src/kqueue.hpp                          |    3 ++-
 src/lb.cpp                              |    3 ++-
 src/lb.hpp                              |    3 ++-
 src/likely.hpp                          |    3 ++-
 src/mailbox.cpp                         |    3 ++-
 src/mailbox.hpp                         |    3 ++-
 src/msg_content.hpp                     |    3 ++-
 src/mutex.hpp                           |    3 ++-
 src/named_session.cpp                   |    3 ++-
 src/named_session.hpp                   |    3 ++-
 src/object.cpp                          |    3 ++-
 src/object.hpp                          |    3 ++-
 src/options.cpp                         |    3 ++-
 src/options.hpp                         |    3 ++-
 src/own.cpp                             |    3 ++-
 src/own.hpp                             |    3 ++-
 src/pair.cpp                            |    3 ++-
 src/pair.hpp                            |    3 ++-
 src/pgm_receiver.cpp                    |    3 ++-
 src/pgm_receiver.hpp                    |    3 ++-
 src/pgm_sender.cpp                      |    3 ++-
 src/pgm_sender.hpp                      |    3 ++-
 src/pgm_socket.cpp                      |    3 ++-
 src/pgm_socket.hpp                      |    3 ++-
 src/pipe.cpp                            |    3 ++-
 src/pipe.hpp                            |    3 ++-
 src/poll.cpp                            |    3 ++-
 src/poll.hpp                            |    3 ++-
 src/poller.hpp                          |    3 ++-
 src/poller_base.cpp                     |    3 ++-
 src/poller_base.hpp                     |    3 ++-
 src/pub.cpp                             |    3 ++-
 src/pub.hpp                             |    3 ++-
 src/pull.cpp                            |    3 ++-
 src/pull.hpp                            |    3 ++-
 src/push.cpp                            |    3 ++-
 src/push.hpp                            |    3 ++-
 src/reaper.cpp                          |    3 ++-
 src/reaper.hpp                          |    3 ++-
 src/rep.cpp                             |    3 ++-
 src/rep.hpp                             |    3 ++-
 src/req.cpp                             |    3 ++-
 src/req.hpp                             |    3 ++-
 src/select.cpp                          |    3 ++-
 src/select.hpp                          |    3 ++-
 src/semaphore.hpp                       |    3 ++-
 src/session.cpp                         |    3 ++-
 src/session.hpp                         |    3 ++-
 src/socket_base.cpp                     |    3 ++-
 src/socket_base.hpp                     |    3 ++-
 src/stdint.hpp                          |    3 ++-
 src/sub.cpp                             |    3 ++-
 src/sub.hpp                             |    3 ++-
 src/swap.cpp                            |    3 ++-
 src/swap.hpp                            |    3 ++-
 src/tcp_connecter.cpp                   |    3 ++-
 src/tcp_connecter.hpp                   |    3 ++-
 src/tcp_listener.cpp                    |    3 ++-
 src/tcp_listener.hpp                    |    3 ++-
 src/tcp_socket.cpp                      |    3 ++-
 src/tcp_socket.hpp                      |    3 ++-
 src/thread.cpp                          |    3 ++-
 src/thread.hpp                          |    3 ++-
 src/transient_session.cpp               |    3 ++-
 src/transient_session.hpp               |    3 ++-
 src/trie.cpp                            |    3 ++-
 src/trie.hpp                            |    3 ++-
 src/uuid.cpp                            |    3 ++-
 src/uuid.hpp                            |    3 ++-
 src/windows.hpp                         |    3 ++-
 src/wire.hpp                            |    3 ++-
 src/xpub.cpp                            |    3 ++-
 src/xpub.hpp                            |    3 ++-
 src/xrep.cpp                            |    3 ++-
 src/xrep.hpp                            |    3 ++-
 src/xreq.cpp                            |    3 ++-
 src/xreq.hpp                            |    4 +++-
 src/xsub.cpp                            |    3 ++-
 src/xsub.hpp                            |    3 ++-
 src/ypipe.hpp                           |    3 ++-
 src/yqueue.hpp                          |    3 ++-
 src/zmq.cpp                             |    3 ++-
 src/zmq_connecter.cpp                   |    3 ++-
 src/zmq_connecter.hpp                   |    3 ++-
 src/zmq_engine.cpp                      |    3 ++-
 src/zmq_engine.hpp                      |    3 ++-
 src/zmq_init.cpp                        |    3 ++-
 src/zmq_init.hpp                        |    3 ++-
 src/zmq_listener.cpp                    |    3 ++-
 src/zmq_listener.hpp                    |    3 ++-
 tests/test_hwm.cpp                      |    3 ++-
 tests/test_pair_inproc.cpp              |    3 ++-
 tests/test_pair_ipc.cpp                 |    3 ++-
 tests/test_pair_tcp.cpp                 |    3 ++-
 tests/test_reqrep_inproc.cpp            |    3 ++-
 tests/test_reqrep_ipc.cpp               |    3 ++-
 tests/test_reqrep_tcp.cpp               |    3 ++-
 tests/test_shutdown_stress.cpp          |    3 ++-
 tests/testutil.hpp                      |    3 ++-
 151 files changed, 306 insertions(+), 153 deletions(-)

commit 5fcef1cac4d9faf0279b83ba48899b0e17b8e2d5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 2 09:00:36 2011 +0100

    ZMQ_MAXMSGSIZE option added
    
    The new option allows user to guard against peers sending
    oversized messages. Connection to peer sending oversized message
    is dropped.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   14 ++++++++++++++
 doc/zmq_setsockopt.txt |   12 ++++++++++++
 include/zmq.h          |    1 +
 src/decoder.cpp        |   21 +++++++++++++++++----
 src/decoder.hpp        |    5 ++++-
 src/options.cpp        |   18 ++++++++++++++++++
 src/options.hpp        |    3 +++
 src/pgm_receiver.cpp   |    3 ++-
 src/zmq_engine.cpp     |    2 +-
 9 files changed, 72 insertions(+), 7 deletions(-)

commit 4c7446211a02937f3e2522aece163d417b4ad0b9
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 1 16:08:40 2011 +0100

    Explicit identities bug in inproc transport fixed.
    
    The identity of bound socket was not used. Instead, transient
    identity was generated.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 67b1f14190186f54fc5954a70f7214411d780aea
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Feb 26 08:42:20 2011 +0100

    Memory leak in PUB/XPUB sockets fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xpub.cpp |   14 ++++++--------
 src/xpub.hpp |    4 ----
 src/xsub.cpp |    7 ++-----
 src/xsub.hpp |    4 ----
 4 files changed, 8 insertions(+), 21 deletions(-)

commit d4e418f5f48a4d73e0a80a54593d11a6cd86d7bc
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 25 08:58:01 2011 +0100

    Socket with no owner objects is deallocated immediately
    
    Till now the deallocation of such socket was delayed
    till zmq_term() thus creating a "leak".
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/reaper.cpp      |    7 ++++---
 src/socket_base.cpp |   24 ++++++++++++++----------
 src/socket_base.hpp |    4 ++++
 3 files changed, 22 insertions(+), 13 deletions(-)

commit c22e52737a5f12f0edfe3f669fa2bfd6e372dec7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 24 16:57:53 2011 +0100

    Minor patch to zmq_getsockopt(3) man page
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 29e0e7dbadfcd0bab70feee119bd7c5e623b38d4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 23 11:48:49 2011 +0100

    Incorrect PGM sender/receiver creation fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/connect_session.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 820fec7f28b54dc5fc16a38eceb405e9af41260c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 22 21:43:52 2011 +0100

    Version bumped to 2.2.0
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 43e8868875e1d5287979e5b9060a9b16be45cc79
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 22 16:23:36 2011 +0100

    Added explicit error message in case of memory exhaustion
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/connect_session.cpp |    6 +++---
 src/ctx.cpp             |    6 +++---
 src/decoder.hpp         |    2 +-
 src/encoder.hpp         |    2 +-
 src/epoll.cpp           |    2 +-
 src/err.hpp             |   20 +++++++++++++-------
 src/io_thread.cpp       |    2 +-
 src/ip.cpp              |    2 +-
 src/kqueue.cpp          |    2 +-
 src/object.cpp          |    4 ++--
 src/pgm_receiver.cpp    |    1 +
 src/pgm_sender.cpp      |    2 +-
 src/pgm_socket.cpp      |    3 ++-
 src/pipe.cpp            |    8 ++++----
 src/reaper.cpp          |    2 +-
 src/session.cpp         |    2 --
 src/socket_base.cpp     |    6 +++---
 src/swap.cpp            |   13 ++++++++-----
 src/trie.cpp            |    6 +++---
 src/yqueue.hpp          |    4 ++--
 src/zmq.cpp             |    8 ++++----
 src/zmq_connecter.cpp   |    2 +-
 src/zmq_init.cpp        |    6 +++---
 src/zmq_listener.cpp    |    2 +-
 24 files changed, 61 insertions(+), 52 deletions(-)

commit 98ccff1a24a056aef15372b131eee1c1bf8f62ca
Author: Mikko Koppanen <mikko.koppanen@gmail.com>
Date:   Mon Feb 21 23:40:48 2011 +0100

    Fixes build on at least CentOS 5
    
    Signed-off-by: Mikko Koppanen <mikko.koppanen@gmail.com>

 builds/redhat/zeromq.spec |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

commit 0eea93526d210372c23041d50f4b401a94e3a006
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 21 17:49:12 2011 +0100

    Fix for memory leak caused by long identities
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq_init.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 5c0931121ba1854766599b6b7dbd1a7937febd6d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 21 11:22:54 2011 +0100

    Computation of buffer size for PGM fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_socket.cpp |   41 +++++++++++++++++++++++++++++------------
 src/pgm_socket.hpp |    3 +++
 2 files changed, 32 insertions(+), 12 deletions(-)

commit 12486fecc4f8d9a3bed37cf3d732b1250b075e24
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 18 17:57:59 2011 +0100

    Fix MSVC and SunStudio builds with OpenPGM
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_socket.hpp |    5 +++++
 src/zmq.cpp        |    6 ++++++
 2 files changed, 11 insertions(+)

commit 17e2ca71b4f6db76a4848d366defa36f1b19bdd7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 18 14:15:10 2011 +0100

    Logging of duplicit identities added
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ctx.cpp     |   12 ++++++++++--
 src/ctx.hpp     |    3 ++-
 src/object.cpp  |    8 ++++++--
 src/object.hpp  |    2 +-
 src/session.cpp |    1 +
 5 files changed, 20 insertions(+), 6 deletions(-)

commit 1f536b2d3820ba5435086a77ad34d86a432b94c7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 17 14:20:19 2011 +0100

    Init object is child of listener
    
    This means that all the handshaking while accepting incoming
    connection is done exclusively in I/O threads, thus it won't
    overload the application thread's mailbox.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq_listener.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 28f3e87fc6c8c5c7046234bf9a08ae62f26d7f3a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 17 10:33:38 2011 +0100

    Add delay before reconnecting
    
    So far ZMQ_RECONNECT_IVL delay was used only when TCP connect
    failed. Now it is used even if connect succeeds and the peer
    closes the connection afterwards.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/config.hpp          |    3 ---
 src/connect_session.cpp |    9 +++++----
 src/connect_session.hpp |    2 +-
 src/zmq_connecter.cpp   |    4 ++--
 src/zmq_connecter.hpp   |    2 +-
 5 files changed, 9 insertions(+), 11 deletions(-)

commit fbe5d859f461b0deaa6083fdee077e01e9b47b91
Author: Michael Compton <michael.compton@littleedge.co.uk>
Date:   Tue Feb 15 09:33:19 2011 +0100

    Added note regarding setting sockopt before bind/connect
    
    Signed-off-by: Michael Compton <michael.compton@littleedge.co.uk>

 AUTHORS                |    1 +
 doc/zmq_setsockopt.txt |    1 +
 2 files changed, 2 insertions(+)

commit ba26cc9938c33fe0837322ea34bcd438f9b7d207
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Feb 13 10:07:10 2011 +0100

    Build problem with OpenPGM and MSVC fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 14a0e147b2b89fc7fed92c7d9c806b6c53380400
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Feb 12 18:36:21 2011 +0100

    Fixed win32 issue with WSAStartup
    
     - ctx constructor was calling mailbox_t constructor implicitly
     - moved WSAStartup and WSACleanup to be outside constructor/destructor
    
    Signed-off-by: Pieter Hintjens <ph@imatix.com>

 src/ctx.cpp |   17 -----------------
 src/zmq.cpp |   19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 17 deletions(-)

commit e94790006ea6f4c64cc1df1c193aa1cf89a75100
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 9 22:33:57 2011 +0100

    reaper added to MSVC build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |    8 ++++++++
 1 file changed, 8 insertions(+)

commit 5b82b1ba30d136655c72f116ee2e372ded453952
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 9 22:23:21 2011 +0100

    Reaper thread waits for commands rather them retrieving them periodically
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/command.hpp     |    5 ++++
 src/object.cpp      |   20 ++++++++++++++++
 src/object.hpp      |    2 ++
 src/reaper.cpp      |   64 ++++++++++++++++++---------------------------------
 src/reaper.hpp      |   13 ++++-------
 src/socket_base.cpp |   53 ++++++++++++++++++++++++++++--------------
 src/socket_base.hpp |   21 +++++++++++++----
 7 files changed, 106 insertions(+), 72 deletions(-)

commit 80ac398bba928fa7f245d2e107071677a13185cf
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 9 15:32:15 2011 +0100

    Initial implementation of reaper thread.
    
    Reaper thread destroys the socket asynchronously.
    zmq_term() can be interrupted by a signal (EINTR).
    zmq_socket() will return ETERM after zmq_term() was called.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_socket.txt  |    3 +-
 doc/zmq_term.txt    |    2 +
 src/Makefile.am     |    2 +
 src/command.hpp     |   15 ++++-
 src/ctx.cpp         |  158 ++++++++++++++++++++++++---------------------------
 src/ctx.hpp         |   43 +++++++-------
 src/io_thread.cpp   |    2 +-
 src/io_thread.hpp   |    3 +
 src/object.cpp      |   42 ++++++++++++--
 src/object.hpp      |    8 +--
 src/reaper.cpp      |  139 ++++++++++++++++++++++++++++++++++++++++++++
 src/reaper.hpp      |   81 ++++++++++++++++++++++++++
 src/socket_base.cpp |   18 +++---
 src/socket_base.hpp |    8 ++-
 14 files changed, 394 insertions(+), 130 deletions(-)

commit 889424e675eecd9d9c7d1121456401d5c43029a5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 8 16:19:37 2011 +0100

    max_sockets honoured precisely
    
    The internal log socket was subtracted from the number of
    available sockets. So, if max_sockets was set to 100,
    you could create only 99 sockets. Fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ctx.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 5dcbc34396bb4d256916fafcbb2ddd646ad179e6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 8 14:46:27 2011 +0100

    zmq_poll with no fds behaves decently
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq.cpp |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

commit 908b39bf8309044913a34c632cd432958dcf6960
Author: Mikko Koppanen <mikko.koppanen@gmail.com>
Date:   Mon Feb 7 15:06:20 2011 +0100

    m4_esyscmd_s doesnt seem to be portable across different systems
    
    Signed-off-by: Mikko Koppanen <mikko.koppanen@gmail.com>

 configure.in |    2 +-
 version.sh   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit c8e5be87d82e73cfc8a6655d2c2b6779f7c223a5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Feb 5 15:04:15 2011 +0100

    test-hwm added to .gitignore
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 .gitignore |    1 +
 1 file changed, 1 insertion(+)

commit 4efead1bbb8f3d2b84ad8e1fc88b65bc621f987f
Author: Chris Rempel <csrl@gmx.com>
Date:   Sat Feb 5 14:42:21 2011 +0100

    Fixed autogen.sh warnings on Debian 6 systems.
    
    Signed-off-by: Chris Rempel <csrl@gmx.com>
    
    Please enter the commit message for your changes. Lines starting

 AUTHORS      |    1 +
 configure.in |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 042e34a5d99a9d39b0680d063878f13f5d7e7337
Author: Thijs Terlouw <thijsterlouw@gmail.com>
Date:   Fri Feb 4 16:44:13 2011 +0100

    operator void* () added to context_t.
    
    Makes it possible to share the context from C++ to C.
    
    Signed-off-by: Thijs Terlouw <thijsterlouw@gmail.com>

 include/zmq.hpp |    8 ++++++++
 1 file changed, 8 insertions(+)

commit 3f758ab2f45a07e3e77af4f1b32dc876f5a151ad
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 3 09:59:54 2011 +0100

    Don't use RLIMIT_NOFILES in devpoll_t.
    
    The patch allows for running 0MQ on Solaris and HP-UX
    even though ulimit for max number of file descriptors
    is set to unlimited.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/devpoll.cpp |   20 ++++++++++----------
 src/devpoll.hpp |    3 ++-
 2 files changed, 12 insertions(+), 11 deletions(-)

commit ca1acc340c256a35f0db58805bba7cb337d9a5a3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 3 08:46:04 2011 +0100

    RLIMIT_NOFILE not used in poll_t anymore
    
    The problem was that RLIMIT_NOFILE can be set to RLIM_INIFINITY
    (and that appears to be default on AIX) which caused 0MQ to fail.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/poll.cpp |   20 ++++++++++----------
 src/poll.hpp |    3 ++-
 2 files changed, 12 insertions(+), 11 deletions(-)

commit 1e0302633ea10766d21b2a70d62e6f16440c18d4
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sun Jan 30 12:43:17 2011 +0100

    Added WithOpenPGM configuration into MSVC builds
    
    Signed-off-by: Mikko Koppanen <mikko.koppanen@gmail.com>

 builds/msvc/libzmq/libzmq.vcproj |   77 ++++++++++++++++++++++++++++++++++++++
 builds/msvc/msvc.sln             |   17 +++++++++
 2 files changed, 94 insertions(+)

commit 72d320366f2a1076ced81f4e871c7affbb9ffb9d
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sun Jan 30 11:51:30 2011 +0100

    Added test for HWM
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 tests/Makefile.am  |    5 +++-
 tests/test_hwm.cpp |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+), 1 deletion(-)

commit 1b15eba9a9718adfeea5cecf499b8247596f6c71
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jan 28 07:50:21 2011 +0100

    Fixed the problem of subscription forwarding and PGM interaction
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/socket_base.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit f7f1dfc86dd649edbd789a5d157d74721338c912
Author: Thijs Terlouw <thijsterlouw@gmail.com>
Date:   Wed Jan 26 07:01:06 2011 +0100

    ZMQ_RECONNECT_IVL_MAX socket option added
    
    It allows for exponential back-off strategy when reconnecting.
    
    Signed-off-by: Thijs Terlouw <thijsterlouw@gmail.com>

 AUTHORS                |    1 +
 doc/zmq_getsockopt.txt |   23 ++++++++++++++++++--
 doc/zmq_setsockopt.txt |   24 ++++++++++++++++++---
 include/zmq.h          |    3 ++-
 src/options.cpp        |   22 +++++++++++++++++++
 src/options.hpp        |    6 +++++-
 src/zmq_connecter.cpp  |   55 +++++++++++++++++++++++++++++++++---------------
 src/zmq_connecter.hpp  |   12 +++++++++--
 8 files changed, 120 insertions(+), 26 deletions(-)

commit 8e61a11b398c95d829f24c388737eb122405c97b
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Thu Jan 20 22:13:01 2011 +0100

    Do not execute ipc tests under MinGW
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 tests/Makefile.am |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 8561a55d2ca3f99ef7d122cf621b2379924152a5
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Thu Jan 20 22:12:25 2011 +0100

    Remove unnecessary visibility pragmas
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 src/zmq.cpp |    9 ---------
 1 file changed, 9 deletions(-)

commit c91bf25645b27fb903886093b27fa153c60be2fd
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Thu Jan 20 07:52:40 2011 +0100

    Fix handle connection reset during session init
    
    Patch to handle nmap version probes.
    
    Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>

 src/decoder.hpp    |    4 ++++
 src/zmq_engine.cpp |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

commit 56bdba592cf336b2bd4241a2b8e331cd38a089e4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jan 18 15:57:45 2011 +0100

    Fix cppcheck warnings: 	Prefer prefix ++/-- operators for non-primitive types.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ctx.cpp          |    6 +++---
 src/epoll.cpp        |    4 ++--
 src/kqueue.cpp       |    2 +-
 src/own.cpp          |    2 +-
 src/pgm_receiver.cpp |    2 +-
 src/poller_base.cpp  |    2 +-
 src/select.cpp       |    4 ++--
 src/xrep.cpp         |    8 ++++----
 8 files changed, 15 insertions(+), 15 deletions(-)

commit b262f2fe9ba02a6d2749e286eaadc65d489600c9
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jan 17 14:51:01 2011 +0100

    Typo fixed in zmq_send(3) man page.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_send.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 667b247e322e2f0e99b680170a1d004f124b0568
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Jan 17 14:45:24 2011 +0100

    Cancel pending timers when decoder for PGM stalls
    
    Otherwise the timer event can raise an input event
    causing assertion on unprocessed data.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 src/pgm_receiver.cpp |    6 ++++++
 1 file changed, 6 insertions(+)

commit a249d152003d7a7ebf048c2a9a0307abc1adb704
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Jan 15 20:16:00 2011 +0100

    Fix MSVC build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |    8 ++++++++
 1 file changed, 8 insertions(+)

commit 59fa0c9b46a7f8291c68564ad71ef97dd0bae69e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jan 14 12:41:12 2011 +0100

    Gerard Toonstra added to the authors file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit a348d94c09ab93a19a57ec22a86782e45f1d06ac
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jan 14 12:38:07 2011 +0100

    Fair queueing of subscriptions added to XPUB socket
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xpub.cpp |   19 ++++++++++++++++---
 src/xpub.hpp |    6 ++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

commit 58c9830d90fc39727cec88e48f8985a499aa0ee7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jan 14 12:25:54 2011 +0100

    XSUB socket has a subscription distributor
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xsub.cpp |    7 +++++--
 src/xsub.hpp |    4 ++++
 2 files changed, 9 insertions(+), 2 deletions(-)

commit 8eae7d8507b1c96aec28bca20a157bb7537c3eb8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jan 14 12:05:10 2011 +0100

    'message distribution mechanism' separated from XPUB socket
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am |    2 +
 src/dist.cpp    |  161 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/dist.hpp    |   76 ++++++++++++++++++++++++++
 src/xpub.cpp    |  119 +++-------------------------------------
 src/xpub.hpp    |   23 ++------
 5 files changed, 249 insertions(+), 132 deletions(-)

commit 18f29ded6a83875c27395d254c25e3d152ae1cc6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jan 13 11:44:23 2011 +0100

    Make cppcheck not complain about "'operator=' should return something"
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/array.hpp             |    4 ++--
 src/atomic_counter.hpp    |    2 +-
 src/atomic_ptr.hpp        |    2 +-
 src/clock.hpp             |    2 +-
 src/connect_session.hpp   |    2 +-
 src/ctx.hpp               |    2 +-
 src/decoder.hpp           |    2 +-
 src/devpoll.hpp           |    2 +-
 src/encoder.hpp           |    2 +-
 src/epoll.hpp             |    2 +-
 src/fq.hpp                |    2 +-
 src/io_object.hpp         |    2 +-
 src/kqueue.hpp            |    2 +-
 src/lb.hpp                |    2 +-
 src/mailbox.hpp           |    2 +-
 src/mutex.hpp             |    2 +-
 src/named_session.hpp     |    2 +-
 src/object.hpp            |    2 +-
 src/own.hpp               |    2 +-
 src/pair.hpp              |    2 +-
 src/pgm_receiver.hpp      |    2 +-
 src/pgm_sender.hpp        |    2 +-
 src/pipe.hpp              |    4 ++--
 src/poll.hpp              |    2 +-
 src/poller_base.hpp       |    2 +-
 src/pub.hpp               |    2 +-
 src/pull.hpp              |    2 +-
 src/push.hpp              |    2 +-
 src/rep.hpp               |    2 +-
 src/req.hpp               |    2 +-
 src/select.hpp            |    2 +-
 src/semaphore.hpp         |    6 +++---
 src/session.hpp           |    2 +-
 src/socket_base.hpp       |    2 +-
 src/sub.hpp               |    2 +-
 src/swap.hpp              |    4 ++++
 src/tcp_connecter.hpp     |    2 +-
 src/tcp_listener.hpp      |    2 +-
 src/tcp_socket.hpp        |    2 +-
 src/thread.hpp            |    2 +-
 src/transient_session.hpp |    2 +-
 src/trie.hpp              |    2 +-
 src/xpub.hpp              |    2 +-
 src/xrep.hpp              |    2 +-
 src/xreq.hpp              |    2 +-
 src/xsub.hpp              |    2 +-
 src/ypipe.hpp             |    2 +-
 src/yqueue.hpp            |    2 +-
 src/zmq_connecter.hpp     |    2 +-
 src/zmq_engine.hpp        |    2 +-
 src/zmq_init.hpp          |    2 +-
 src/zmq_listener.hpp      |    2 +-
 52 files changed, 59 insertions(+), 55 deletions(-)

commit 70513871082462c957e46986040ebe7b10d64557
Author: Neale Ferguson <neale@sinenomine.net>
Date:   Wed Jan 12 09:22:25 2011 +0100

    Support dynamic generation of C preprocessor definitions for PGM rather than hardcoding them.
    
    Signed-off-by: Neale Ferguson <neale@sinenomine.net>

 AUTHORS         |    1 +
 configure.in    |   59 +++++++++++++++++++++++++++++++++++++++++++++++++------
 src/Makefile.am |   14 +------------
 src/clock.cpp   |    5 +++++
 4 files changed, 60 insertions(+), 19 deletions(-)

commit 725ebce13ca7871002063c4a254bf532d35ee878
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jan 11 21:12:51 2011 +0100

    Version bumped to 2.1.1
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit bd0ba6e89a709cc8afbd5a7c3c4f9f533c428249
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jan 10 13:53:30 2011 +0100

    Size of inproc hwm and swap is sum of peers' hwms and swaps
    
    The meat of the patch was contributed by Douglas Creager.
    Martin Sustrik implemented storing peer options in inproc
    endpoint repository.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS             |    1 +
 src/ctx.cpp         |   18 +++++++++---------
 src/ctx.hpp         |   15 ++++++++++++---
 src/object.cpp      |    6 +++---
 src/object.hpp      |    4 ++--
 src/socket_base.cpp |   34 +++++++++++++++++++++++++---------
 6 files changed, 52 insertions(+), 26 deletions(-)

commit babdf48aacc585d57457da8dec1fb6ce262bf719
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Fri Jan 7 13:28:35 2011 +0100

    Fix pipe writer termination
    
    Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>

 src/pipe.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 8e0049e2fb60d31c07786fffe39fdc9c63369dfa
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jan 7 12:59:48 2011 +0100

    Disable sending messages on SUB socket
    
    The ability was inherited from XSUB socket.
    Now it's properly disabled.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/sub.cpp |   15 ++++++++++++++-
 src/sub.hpp |    2 ++
 2 files changed, 16 insertions(+), 1 deletion(-)

commit 08cd2ce05da74143b6154f7d665756870077c38d
Author: Min Ragan-Kelley <benjaminrk@gmail.com>
Date:   Thu Jan 6 08:42:57 2011 +0100

    resolve "function declaration isn't a prototype"
    
    change two declarations in headers to form f(void); instead of f();
    which eliminates the warnings when compiling against zeromq
    
    Signed-off-by: MinRK <benjaminrk@gmail.com>

 AUTHORS             |    1 +
 include/zmq.h       |    2 +-
 include/zmq_utils.h |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

commit 472bdcd6b4995d2ab92e97aafa898f083ce1f3ba
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Jan 5 16:57:51 2011 +0100

    Return ETERM from getsockopt(ZMQ_EVETS) if zmq_term() was called
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 95eebbfffaf512d81721697026dbb5434c12c27d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jan 3 20:50:24 2011 +0100

    sunos/gcc3 compilation issue fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/sub.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 51d2d9b9f82526a9b471dda272c1d54b3d1b1152
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Dec 20 13:06:36 2010 +0100

    Yet one more fix for oversized messages.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/decoder.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 112d0cd52ec959a6bb4cf02ab03977bc22478246
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Dec 20 11:47:41 2010 +0100

    Fix the segfault when over-sized message is rejected.
    
    The in_progress message inside of decoder was left
    uninitialised in such a case.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/decoder.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit cbbb1e925d699c8b42b2724740d68839c81684c3
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sat Dec 18 12:13:10 2010 +0100

    Fix passing through CFLAGS/CPPFLAGS/CXXFLAGS when using --enable-debug
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |   12 ++++++------
 configure.in |    5 +++++
 2 files changed, 11 insertions(+), 6 deletions(-)

commit d15e881ea02232c3e875699b3c25f43ad2fd093c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Dec 17 16:30:42 2010 +0100

    unplugged engine tries to manipulate the pollset -- fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq_engine.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit b19ee99bb1a2b19a6bf78c7fa2159a85aa608a10
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Fri Dec 17 15:30:56 2010 +0100

    fix race condition in session init
    
    Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>

 src/zmq_engine.cpp |   22 +++++++++++++++++++---
 src/zmq_engine.hpp |    3 +++
 src/zmq_init.cpp   |   44 +++++++++++++++++++++++++++-----------------
 src/zmq_init.hpp   |    4 ++++
 4 files changed, 53 insertions(+), 20 deletions(-)

commit 27e83cc5258e191a7d5977e202046447df7896b9
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Wed Dec 15 20:10:27 2010 +0100

    Fixes assertion on pipe.cpp:237 when swap fills up.
    
    Fixes swap::full () functionality
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 src/lb.cpp   |    9 ++++++++-
 src/pair.cpp |    5 ++++-
 src/pipe.cpp |    8 ++++----
 src/pipe.hpp |    6 +++---
 src/swap.cpp |   15 ++++++++++++++-
 src/swap.hpp |    8 ++++++--
 6 files changed, 39 insertions(+), 12 deletions(-)

commit a46980babe076d34347629a54e9635466e6e2a9f
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Wed Dec 15 14:41:18 2010 +0100

    Remove assertions from devices
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 devices/zmq_forwarder/zmq_forwarder.cpp |    6 +++++-
 devices/zmq_queue/zmq_queue.cpp         |    6 +++++-
 devices/zmq_streamer/zmq_streamer.cpp   |    6 +++++-
 src/device.cpp                          |   33 +++++++++++--------------------
 4 files changed, 26 insertions(+), 25 deletions(-)

commit f749f2d21c1b47e6dcd626633acff764a4484b99
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Mon Dec 13 15:40:26 2010 +0100

    add basic uri validations
    
    Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>

 src/socket_base.cpp |   50 ++++++++++++++++++++++++++++----------------------
 src/socket_base.hpp |    4 ++++
 2 files changed, 32 insertions(+), 22 deletions(-)

commit 22b2b9a2b6e1dd18d58ef51f453d2b4777e71be4
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Mon Dec 13 14:18:47 2010 +0100

    fix overwriting errno on bind failure
    
    Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>

 src/tcp_listener.cpp |    7 +++++--
 src/tcp_listener.hpp |    3 +++
 2 files changed, 8 insertions(+), 2 deletions(-)

commit a9d969a73e303db2f6ddf436740d0bbef7e63dba
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Dec 9 21:44:15 2010 +0100

    Bob Beaty added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit fcfad5682ed7a7f5108853d2a7039aedfd9a9ac2
Author: Bob Beaty <rbeaty@peak6.com>
Date:   Thu Dec 9 21:42:58 2010 +0100

    Added Recovery Interval in Milliseconds
    
    For very high-speed message systems, the memory used for recovery can get to
    be very large. The corrent limitation on that reduction is the ZMQ_RECOVERY_IVL
    of 1 sec. I added in an additional option ZMQ_RECOVERY_IVL_MSEC, which is the
    Recovery Interval in milliseconds. If used, this will override the previous
    one, and allow you to set a sub-second recovery interval. If not set, the
    default behavior is to use ZMQ_RECOVERY_IVL.
    
    Signed-off-by: Bob Beaty <rbeaty@peak6.com>

 doc/zmq_getsockopt.txt |   20 ++++++++++++++++++++
 doc/zmq_setsockopt.txt |   24 ++++++++++++++++++++++++
 include/zmq.h          |    1 +
 src/options.cpp        |   18 ++++++++++++++++++
 src/options.hpp        |    2 ++
 src/pgm_socket.cpp     |   32 ++++++++++++++++++--------------
 6 files changed, 83 insertions(+), 14 deletions(-)

commit 1d81d2f1d4549c2cd0999c9544b059c29706f260
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Tue Dec 7 11:15:51 2010 +0100

    tar doesn't accept -C flag on solaris while extracting
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 configure.in |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit a3353150f845cf0f6e8f2355d3aad760bfba4b64
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Tue Dec 7 11:15:18 2010 +0100

    Fix werror flag store/restore
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit aed2eeafdc2fce93738368749b61b36f98ea6cd6
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Tue Dec 7 11:14:46 2010 +0100

    Fix visibility on rhel4
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |   48 ++++++++++++++++++++++++++++++++++++++++++++++--
 configure.in |   16 +++++++---------
 2 files changed, 53 insertions(+), 11 deletions(-)

commit 9bb5323a1abce0dcf8ed56734313a5249003d868
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Dec 7 11:10:21 2010 +0100

    Clarify zmq_send() operation for ZMQ_PUB sockets
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 doc/zmq_socket.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 73bbcb552d6fbd1b3744a1ee29202a19e4d2f46e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Dec 6 23:10:50 2010 +0100

    MSVC build fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   32 ++++++++------------------------
 1 file changed, 8 insertions(+), 24 deletions(-)

commit 8d6cafe06696e17afff03adf4b33bd504b55e277
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Dec 6 22:57:29 2010 +0100

    All devices conflated into a single implementation.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/Makefile.am   |    8 +---
 src/device.cpp    |  130 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/device.hpp    |   31 +++++++++++++
 src/forwarder.cpp |   60 -------------------------
 src/forwarder.hpp |   31 -------------
 src/queue.cpp     |  130 -----------------------------------------------------
 src/queue.hpp     |   31 -------------
 src/streamer.cpp  |   60 -------------------------
 src/streamer.hpp  |   31 -------------
 src/zmq.cpp       |   24 ++++------
 10 files changed, 172 insertions(+), 364 deletions(-)

commit ec61751e17fe4ceb62cc16750b12df6056c5962a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Dec 6 22:36:10 2010 +0100

    options.type correctly set for PUB/SUB/XPUB/XSUB
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pub.cpp  |    1 +
 src/sub.cpp  |    1 +
 src/xpub.cpp |    2 +-
 src/xsub.cpp |    2 +-
 4 files changed, 4 insertions(+), 2 deletions(-)

commit 8a6ff4ccd2ecbbfb7b2fd80fe621b8a05b0f9bbd
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Dec 6 09:44:23 2010 +0100

    xup and xsub files added to the MSVC build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit 2daa0bb49d52aeb1aa60c94505bdad72348e5d8e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Dec 5 09:48:52 2010 +0100

    XSUB accepts (un)subscriptions in form of messages.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/sub.cpp  |   31 +++++++++++++++++++++++++++++++
 src/sub.hpp  |    4 ++++
 src/xsub.cpp |   40 +++++++++++++++++++++++++---------------
 src/xsub.hpp |    3 ++-
 4 files changed, 62 insertions(+), 16 deletions(-)

commit c80e7b80cc726ca7c29493c2553c8d19792bb6e5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Dec 4 23:14:38 2010 +0100

    XPUB and XSUB socket types added.
    
    These are just placeholders. At the moment XPUB behaves th same
    as PUB and XSUB as SUB.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h       |    4 +-
 src/Makefile.am     |    4 ++
 src/pub.cpp         |  144 +------------------------------------------
 src/pub.hpp         |   34 +---------
 src/socket_base.cpp |   11 +++-
 src/sub.cpp         |  134 +---------------------------------------
 src/sub.hpp         |   38 +-----------
 src/xpub.cpp        |  171 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/xpub.hpp        |   73 ++++++++++++++++++++++
 src/xsub.cpp        |  161 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/xsub.hpp        |   78 +++++++++++++++++++++++
 11 files changed, 506 insertions(+), 346 deletions(-)

commit abc8b5e40c55deb96e7674b15629f2affa4eb92a
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Dec 1 11:55:56 2010 +0100

    Update NEWS file for 2.1.0 release
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 NEWS |   73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

commit 4a3ed39a22655406e17c49fab4912c4681f3d7bf
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Wed Dec 1 11:52:05 2010 +0100

    Bump OpenPGM to 5.0.92.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 configure.in                              |    2 +-
 foreign/openpgm/libpgm-5.0.91~dfsg.tar.gz |  Bin 444731 -> 0 bytes
 foreign/openpgm/libpgm-5.0.92~dfsg.tar.gz |  Bin 0 -> 444700 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)

commit 520d621016691bcb2a0551147aaa38a9891080b3
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Dec 1 11:11:25 2010 +0100

    Bump ABI version to 1:0:0 for ZeroMQ 2.1.0 release
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 configure.in |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit b70d628fad5ab97d24473b83fd18997b4e87477d
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Dec 1 10:57:37 2010 +0100

    Documentation updates for 2.1
    
    - Clarify ZMQ_LINGER, zmq_close (), zmq_term () relationship
    - New socket options
    - Clarify thread safety of sockets and migration between threads
    - Other minor and spelling fixes
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 doc/zmq.txt            |   12 +++--
 doc/zmq_close.txt      |   12 +++--
 doc/zmq_errno.txt      |    2 +-
 doc/zmq_getsockopt.txt |  116 ++++++++++++++++++++++++++++++++----------------
 doc/zmq_pgm.txt        |    6 +--
 doc/zmq_poll.txt       |   11 ++---
 doc/zmq_setsockopt.txt |   67 ++++++++++++++++++----------
 doc/zmq_socket.txt     |   24 +++++++---
 doc/zmq_tcp.txt        |    6 +--
 doc/zmq_term.txt       |   27 ++++++-----
 doc/zmq_version.txt    |    2 +-
 11 files changed, 186 insertions(+), 99 deletions(-)

commit 5bb0a339be31064900257e04e2ffd32e80911d63
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Wed Dec 1 10:33:07 2010 +0100

    Prefix variables with "ac_zmq_"
    
     - Added a macro for checking clang compiler
     - Moved basic compiler checks to a macro
     - Added a macro for checking if compiler supports a flag
     - Added --enable-debug flag
     - Added a macro for running normal autoconf check with compiler flags
     - Added a macro for checking for verbose flag for different compilers (-Wall)
     - Added a macro for turning on strict standards compliance
     - Added a macro for turning warnings to errors
     - Added a macro for checking if compiler supports given pragma
     - Most of the flags now go through checks if the compilers supports them
       rather than enumerating different compilers
     - Added DSO symbol visibility for sun compiler
     - Enabled verbose mode for sun compiler
     - Fixed build for ICC 12.x by adding -wd279 to size_t checks
     - Removed pkg-config checks as those don't seem to be used anywhere
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4        |  461 ++++++++++++++++++++++++++++++++++++++++++++++-----
 autogen.sh          |    6 -
 configure.in        |  212 +++++++++++------------
 include/zmq.h       |   14 +-
 include/zmq_utils.h |   14 +-
 5 files changed, 532 insertions(+), 175 deletions(-)

commit 17d7e6ede0f907461130302cf4bddcdf9e2737cf
Merge: 28db150 289b1f5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Dec 1 10:27:24 2010 +0100

    Merge branch 'maint'
    
    * maint:
      Remove unnecessary cast in kevent_delete
    
    Conflicts:
    	src/kqueue.cpp
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

commit 289b1f5ced492a2dc62edaba0016abde21093692
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Dec 1 10:25:31 2010 +0100

    Remove unnecessary cast in kevent_delete
    
    Fixes the build on NetBSD where the compiler complains about casting NULL
    to (int).
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 src/kqueue.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 28db150aaf7b1cffb996f1b27bc082f75acec261
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Nov 29 10:52:22 2010 +0100

    Fix thread thunker scope for MSVC.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 src/thread.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 325dd2f0914de502ae7687f94927fa98c20380c9
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 27 22:19:43 2010 +0100

    Functions passed to pthread_create are declared as extern "C"
    
    So far these were declared as C++ static functions which
    was incorrect and caused warnings with SunStudio.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/thread.cpp                 |   54 ++++++++++++++++++++++------------------
 src/thread.hpp                 |   10 ++++----
 tests/test_shutdown_stress.cpp |   19 ++++++++------
 3 files changed, 46 insertions(+), 37 deletions(-)

commit 0bc2a05d84dc8e496a60d0c8def7689783e08e01
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 27 12:51:43 2010 +0100

    .gitignore modified to ignore test executables
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 .gitignore |    7 +++++++
 1 file changed, 7 insertions(+)

commit c9584096e033850c77c4c3d4ee99e8073f7b26da
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Nov 25 17:12:31 2010 +0100

    Control symbol exports using -fvisibility
    
    On systems using GCC 4.0 or newer which support symbol visibility in shared
    libraries, use -fvisibility=hidden and only export explict API functions
    defined in zmq.cpp. We do not enable -fvisibility on MinGW since this uses a
    separate mechanism (__declspec).
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 configure.in        |   12 ++++++++++++
 include/zmq.h       |    8 ++++++++
 include/zmq_utils.h |    6 ++++++
 src/Makefile.am     |    3 +--
 src/zmq.cpp         |    8 ++++++++
 5 files changed, 35 insertions(+), 2 deletions(-)

commit 734624be760b3c7942eb26bea77fca918cb1540d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Nov 25 14:05:43 2010 +0100

    Typo fixed in a comment.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/i_engine.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 92618fd99ac19f3169552c25cbabffbe9e983f7f
Author: Sebastian Otaegui <feniix@gmail.com>
Date:   Thu Nov 25 14:04:53 2010 +0100

    Small fix for the rhel6 spec
    
    Signed-off-by: Sebastian Otaegui <feniix@gmail.com>

 builds/redhat/zeromq.spec |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit a689047de091b2ffbc58cde4a89e98119ae0f599
Merge: ac40680 83d9af9
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Nov 22 16:07:15 2010 +0100

    Merge branch 'maint'
    
    * maint:
      Mikko Koppanen becomes a maintainer of the build system.

commit 83d9af99516fc620ffdfa6cd5a226ab70673cb5d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Nov 22 16:06:20 2010 +0100

    Mikko Koppanen becomes a maintainer of the build system.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 MAINTAINERS |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ac40680ea2f6b32a3c451db1b606524e86a347dd
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Nov 19 12:35:06 2010 +0100

    Problem with blob_t initialisation fixed.
    
    HP's version of STL doesn't allow for initialisation of basic_string
    (blob_t) using NULL pointer, while SGI's implementation is OK with
    that. Fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/object.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit edf7c18d79b195001d7ed7d05ac30a4d7a64bce1
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Fri Nov 19 09:10:26 2010 +0100

    Add a check that the compiler actually works.
    
    The patch tests that the C and C++ compilers actually exist
    and work. autoconf seems to default to 'g++' when C++ compiler is not
    found, which causes the following error (when the compiler isn't
    there):
    
    checking for uuid_generate in -luuid... no
    configure: error: cannot link with -luuid, install uuid-dev.
    
    The config.log contains the real error message "g++ command not found"
    but the error message shown to the user is misleading.
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |   18 ++++++++++++++++++
 configure.in |    6 +++++-
 2 files changed, 23 insertions(+), 1 deletion(-)

commit 945c931daf0c053a9cdbfdbb3ec7d0e90c29fc10
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Thu Nov 18 11:51:27 2010 +0100

    Run autoupdate on the configure.in
    
    I ran autoupdate on the configure.in, which generated most of the
    patch attached. There is also a small manual fix in which removes the
    warning "Remember to add LT_INIT to configure.in" which I assume is
    because AC_PROG_LIBTOOL was called inside a macro.
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |    3 ---
 configure.in |   13 +++++++------
 2 files changed, 7 insertions(+), 9 deletions(-)

commit 72a7b93f124cdaee8082aff218f6497c366f53f9
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Wed Nov 17 15:10:43 2010 +0100

    Allow building without documentation.
    
    Allows building without documentation even if asciidoc and xmlto are
    installed. This eases up working with the build system because doc
    generation take quite a while on repeated builds.
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |   41 +++++++++++++++++++++++++----------------
 1 file changed, 25 insertions(+), 16 deletions(-)

commit c86375831d4002ac58501bacebb3fd12d5c651b8
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Wed Nov 17 15:09:06 2010 +0100

    Remove unneeded substitutions
    
    Couldn't find a place where these substs were actually used
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 configure.in |   15 ---------------
 1 file changed, 15 deletions(-)

commit b83d0a1bc077fdcc481fee40dcf4780669c3f3d2
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Wed Nov 17 15:07:59 2010 +0100

    Remove unnecessary conditional
    
    This conditional is unnecessary as BUILD_PGM can be negated in the test.
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 configure.in    |    1 -
 src/Makefile.am |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

commit 925595259b51dd84711b620afdf02245e537a38f
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Wed Nov 17 15:06:51 2010 +0100

    MinGW32 build fixes
    
    After long discussions in IRC we came to conclusion that there is no
    elegant way to handle static builds with MinGW32. This patch sets
    AC_DISABLE_STATIC by default on MinGW32 and Cygwin
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |   27 +++++++++++++++++++++++++++
 configure.in |   19 ++++++++++++++-----
 2 files changed, 41 insertions(+), 5 deletions(-)

commit 3dbd5d58723bdc31eb00a6ebf4f643059a432f8c
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Wed Nov 17 15:05:01 2010 +0100

    Fix mingw32 build
    
    MinGW32 defines __int64_t as long long, which causes the build to fail
    unless -Wno-long-long is used. In addition the shutdown_stress test
    isn't currently compatible with Win.
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 configure.in      |    3 ++-
 tests/Makefile.am |    9 +++++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

commit 34f50a6840fdf638bbd7887aa2438006baeb884d
Merge: bd0ecf4 152c64f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 16 14:26:04 2010 +0100

    Merge branch 'maint'
    
    * maint:
      FD_SETSIZE defaults to 1024 in MSVC build
    
    Conflicts:
    	builds/msvc/libzmq/libzmq.vcproj
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

commit bd0ecf478466b27103af92db33ffebc3948f2e4e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 16 14:15:29 2010 +0100

    FD_SETSIZE defaults to 1024 in MSVC build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit 152c64f25df9d037e7f51874d2d66724337aad38
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 16 14:04:55 2010 +0100

    FD_SETSIZE defaults to 1024 in MSVC build
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/libzmq/libzmq.vcproj |   36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

commit da3327cf8780ea4d454e0aa8904b5aab3c446b23
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Mon Nov 15 17:02:36 2010 +0100

    Build refactoring
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4    |   53 ++++++++++++++++++++++++++++++
 configure.in    |   97 +++++++++++++++++++++++++++++--------------------------
 src/Makefile.am |    3 +-
 3 files changed, 106 insertions(+), 47 deletions(-)

commit f77c8ca47ff77af44eab7b4b8538ed49ec428eda
Merge: a2500ae ffcb0ba
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 13 18:16:13 2010 +0100

    Merge branch 'maint'
    
    * maint:
      Couple of patches for AIX build

commit ffcb0baa735538b8b4a0f00799d1185adba2761f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 13 18:08:18 2010 +0100

    Couple of patches for AIX build
    
    - RAND_bytes function resides in crypto library
    - pollfd on AIX used 'reqevents' instead of events and 'retnevents'
      instead of 'revents'
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS      |    1 +
 configure.in |    1 +
 src/zmq.cpp  |   23 ++++++++++++++---------
 3 files changed, 16 insertions(+), 9 deletions(-)

commit a2500ae3485d6243778b832d22dc6dc02a00f025
Author: Chia-liang Kao <clkao@clkao.org>
Date:   Fri Nov 12 19:16:00 2010 +0100

    Fix a bug that zmq_poll's select backend spins when timeout=-1, due to
    ptimeout not properly recalculated after first pass.
    
    Signed-off-by: Chia-liang Kao <clkao@clkao.org>

 AUTHORS     |    1 +
 src/zmq.cpp |   32 ++++++++++++++++----------------
 2 files changed, 17 insertions(+), 16 deletions(-)

commit 8abe67357ab905c5c86191c1d9005666f66b6ca0
Merge: c021702 f7123de
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Nov 12 14:47:26 2010 +0100

    Merge branch 'maint'
    
    * maint:
      Fix socket_t::recv() hang scenario where initial call to process_commands() eats signal
    
    Conflicts:
    	src/socket_base.cpp

commit f7123de9434a96794e6a7cd83b398ceb18c9de8b
Author: Marc Rossi <mrossi19@gmail.com>
Date:   Fri Nov 12 14:38:25 2010 +0100

    Fix socket_t::recv() hang scenario where initial call to process_commands() eats signal
    
    Added block boolean var to second process_commands() invocation for blocking sockets
    instead of always using true.  This prevents the process_commands() call from hanging
    when a message is received with an empty queue after the call to xrecv() but
    prior to the initial call to process_commands() invoked when ++ticks == inbound_poll_rate.
    
    Signed-off-by: Marc Rossi <mrossi19@gmail.com>

 AUTHORS             |    1 +
 src/socket_base.cpp |    4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

commit c0217027ccd2267b05e017af436a842755d044b0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Nov 6 08:02:14 2010 +0100

    Coding style cleanup in mailbox.cpp
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/mailbox.cpp |   39 +++++++++++++++++++++------------------
 1 file changed, 21 insertions(+), 18 deletions(-)

commit 9da84a5239e5356e34d872c2b5af1d19b9c7eb4f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Nov 5 17:39:51 2010 +0100

    signaler renamed to mailbox
    
    For historical reasons queue to transfer commands between
    threads was called 'signaler'. Given that it was used to
    pass commands rather than signals it was renamed to 'mailbox',
    see Erlang mailboxes.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 MAINTAINERS                      |    2 +-
 builds/msvc/libzmq/libzmq.vcproj |    4 +-
 src/Makefile.am                  |    4 +-
 src/ctx.cpp                      |   14 +-
 src/ctx.hpp                      |    6 +-
 src/io_thread.cpp                |   12 +-
 src/io_thread.hpp                |   15 +-
 src/mailbox.cpp                  |  378 ++++++++++++++++++++++++++++++++++++++
 src/mailbox.hpp                  |   61 ++++++
 src/own.cpp                      |    2 +-
 src/signaler.cpp                 |  366 ------------------------------------
 src/signaler.hpp                 |   61 ------
 src/socket_base.cpp              |   12 +-
 src/socket_base.hpp              |   10 +-
 14 files changed, 479 insertions(+), 468 deletions(-)

commit 9cfdb441f45057c7106a101835d65164fce9470a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Nov 5 16:38:52 2010 +0100

    slots renamed to tids
    
    Threads were so far identified by integers called 'slots'.
    This patch renames them to more comprehensible 'tid's (thread IDs).
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ctx.cpp         |   12 ++++++------
 src/ctx.hpp         |    6 +++---
 src/io_thread.cpp   |    4 ++--
 src/io_thread.hpp   |    2 +-
 src/object.cpp      |   14 +++++++-------
 src/object.hpp      |    8 ++++----
 src/own.cpp         |    4 ++--
 src/own.hpp         |    2 +-
 src/pair.cpp        |    4 ++--
 src/pair.hpp        |    2 +-
 src/pub.cpp         |    4 ++--
 src/pub.hpp         |    2 +-
 src/pull.cpp        |    4 ++--
 src/pull.hpp        |    2 +-
 src/push.cpp        |    4 ++--
 src/push.hpp        |    2 +-
 src/rep.cpp         |    4 ++--
 src/rep.hpp         |    2 +-
 src/req.cpp         |    4 ++--
 src/req.hpp         |    2 +-
 src/socket_base.cpp |   24 ++++++++++++------------
 src/socket_base.hpp |    4 ++--
 src/sub.cpp         |    4 ++--
 src/sub.hpp         |    2 +-
 src/xrep.cpp        |    4 ++--
 src/xrep.hpp        |    2 +-
 src/xreq.cpp        |    4 ++--
 src/xreq.hpp        |    2 +-
 28 files changed, 67 insertions(+), 67 deletions(-)

commit 623a9c9f1b53bdda9ad61f58cdc7a286e3e474cd
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Nov 4 21:23:07 2010 +0100

    Jacob Rideout added to the AUTGORS file.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 0ada4f8e30088e6a91fef7a45fd7e5dd7bdb9d1d
Author: Jacob Rideout <jacob.rideout@returnpath.net>
Date:   Thu Nov 4 21:21:01 2010 +0100

    Fix documentation typos
    
    Signed-off-by: Jacob Rideout <jacob.rideout@returnpath.net>

 doc/zmq_getsockopt.txt |    6 +++---
 doc/zmq_setsockopt.txt |   12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

commit 1b39bcd88336ebed002e13a8ac3d4bc104b13718
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Nov 4 17:54:47 2010 +0100

    Automatically resize signalling socket buffer if full
    
    If the socketpair used by signaler_t fills up, this can lead to deadlock.
    This patch provides partial resolution by attempting to resize SO_SNDBUF on
    the writer side, and if that fails we shall at least assert rather than
    hang.
    
    I've also refactored the signaler_t code to make the platform-dependent
    parts clearer and have tested both the MSG_DONTWAIT and standard POSIX path
    in recv.
    
    The Win32 implementation currently does not implement resizing as I'm not
    convinced that it's safe, but it will also assert like other platforms if
    signaler_t::send() cannot succeed.
    
    The OpenVMS implementation has been carried forward but is untested.
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 src/config.hpp   |    4 -
 src/signaler.cpp |  403 ++++++++++++++++++++++++++----------------------------
 src/signaler.hpp |   18 +--
 3 files changed, 201 insertions(+), 224 deletions(-)

commit 756f7df8c8e82a67f033049af47a3f783ad951e1
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Nov 4 16:11:04 2010 +0100

    Previous FD_STSIZE patch reverted.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/select.cpp |    3 ---
 1 file changed, 3 deletions(-)

commit 2246689c8fcf37cd69bd8098b21dc28a9abbcdeb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Nov 4 13:12:40 2010 +0100

    FD_SETSIZE for internal polling defaults to 1024
    
    If, when compiling 0MQ you don't set FD_SETSIZE,
    it defaults to 1024 rather than to 64.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/select.cpp |    3 +++
 1 file changed, 3 insertions(+)

commit b90e621329688c83f21f26bbe0367966a245e607
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Nov 4 10:01:58 2010 +0100

    minor typo fixed
    
    Devpoll polling mechanism used ZMQ_HAVE_SOLRIS instead of
    ZMQ_HAVE_SOLARIS in one case. Fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/devpoll.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d4a41067d3e873ba4a87c4711ad2f755e7de9157
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 2 14:27:24 2010 +0100

    HP-UX has no OPEN_MAX defined
    
    devpoll_t used this constant to determine how many events to
    retrieve from the poller in one go. The implementation was
    changed not to depend on this constant.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/devpoll.cpp |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

commit de93f6359f061d08846cd203ad3ba4fda915e504
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Nov 2 13:30:20 2010 +0100

    crypto library is needed on HP-UX to generate UUIDs
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 configure.in |    1 +
 1 file changed, 1 insertion(+)

commit dbcd38252435ff69f1043649a94ec985e7f1ff5b
Merge: 0ad71f8 eb83678
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Nov 1 14:13:36 2010 +0100

    Merge branch 'maint'
    
    * maint:
      Add INSTALL to Git, thus making it a normal file

commit eb83678b2b5eaca07d6813cab5c7dea493ac4bc8
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Nov 1 14:12:33 2010 +0100

    Add INSTALL to Git, thus making it a normal file
    
    INSTALL gets added in somewhat magically by automake, or not. Adding it into
    Git ensures it's always included in the distribution.
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 .gitignore |    1 -
 INSTALL    |  237 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 237 insertions(+), 1 deletion(-)

commit 0ad71f88fe5531011c0354f22eeb070b1f729c7d
Author: Mikael Helbo Kjaer <mhk@designtech.dk>
Date:   Mon Nov 1 12:54:58 2010 +0100

    select now uses Erase-Remove idiom for retired fds
    
    Signed-off-by: Mikael Helbo Kjaer <mhk@designtech.dk>

 src/select.cpp |   17 ++++++++---------
 src/select.hpp |    3 +++
 2 files changed, 11 insertions(+), 9 deletions(-)

commit 085b709021c44673d9bf65a5d639e3c2e99703af
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 30 18:17:53 2010 +0200

    Documentation for zmq_close and zmq_term fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_close.txt |   12 ++++++------
 doc/zmq_term.txt  |   21 +++++++++------------
 2 files changed, 15 insertions(+), 18 deletions(-)

commit 3d8eb071a2a664d8de1e2e2fa7cb46a4f2764e5e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 30 16:17:08 2010 +0200

    Coding style fixed for pgm_socket
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_socket.cpp |  211 ++++++++++++++++++++++++++++++++--------------------
 src/pgm_socket.hpp |    5 +-
 2 files changed, 132 insertions(+), 84 deletions(-)

commit b358df9fffd6a4155318356024358b8a1e2b9c9c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 30 15:08:28 2010 +0200

    Name of "GNU Lesser Public License" corrected.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/platform.hpp                |    6 +++---
 devices/zmq_forwarder/zmq_forwarder.cpp |    6 +++---
 devices/zmq_queue/zmq_queue.cpp         |    6 +++---
 devices/zmq_streamer/zmq_streamer.cpp   |    6 +++---
 include/zmq.h                           |    6 +++---
 include/zmq.hpp                         |    6 +++---
 include/zmq_utils.h                     |    6 +++---
 perf/local_lat.cpp                      |    6 +++---
 perf/local_thr.cpp                      |    6 +++---
 perf/remote_lat.cpp                     |    6 +++---
 perf/remote_thr.cpp                     |    6 +++---
 src/array.hpp                           |    6 +++---
 src/atomic_counter.hpp                  |    6 +++---
 src/atomic_ptr.hpp                      |    6 +++---
 src/blob.hpp                            |    6 +++---
 src/clock.cpp                           |    6 +++---
 src/clock.hpp                           |    6 +++---
 src/command.cpp                         |    6 +++---
 src/command.hpp                         |    6 +++---
 src/config.hpp                          |    6 +++---
 src/connect_session.cpp                 |    6 +++---
 src/connect_session.hpp                 |    6 +++---
 src/ctx.cpp                             |    6 +++---
 src/ctx.hpp                             |    6 +++---
 src/decoder.cpp                         |    6 +++---
 src/decoder.hpp                         |    6 +++---
 src/devpoll.cpp                         |    6 +++---
 src/devpoll.hpp                         |    6 +++---
 src/encoder.cpp                         |    6 +++---
 src/encoder.hpp                         |    6 +++---
 src/epoll.cpp                           |    6 +++---
 src/epoll.hpp                           |    6 +++---
 src/err.cpp                             |    6 +++---
 src/err.hpp                             |    6 +++---
 src/fd.hpp                              |    6 +++---
 src/forwarder.cpp                       |    6 +++---
 src/forwarder.hpp                       |    6 +++---
 src/fq.cpp                              |    6 +++---
 src/fq.hpp                              |    6 +++---
 src/i_engine.hpp                        |    6 +++---
 src/i_inout.hpp                         |    6 +++---
 src/i_poll_events.hpp                   |   32 +++++++++++++++----------------
 src/io_object.cpp                       |    6 +++---
 src/io_object.hpp                       |    6 +++---
 src/io_thread.cpp                       |    6 +++---
 src/io_thread.hpp                       |    6 +++---
 src/ip.cpp                              |    6 +++---
 src/ip.hpp                              |    6 +++---
 src/kqueue.cpp                          |    6 +++---
 src/kqueue.hpp                          |    6 +++---
 src/lb.cpp                              |    6 +++---
 src/lb.hpp                              |    6 +++---
 src/likely.hpp                          |    6 +++---
 src/msg_content.hpp                     |    6 +++---
 src/mutex.hpp                           |    6 +++---
 src/named_session.cpp                   |    6 +++---
 src/named_session.hpp                   |    6 +++---
 src/object.cpp                          |    6 +++---
 src/object.hpp                          |    6 +++---
 src/options.cpp                         |    6 +++---
 src/options.hpp                         |    6 +++---
 src/own.cpp                             |    6 +++---
 src/own.hpp                             |    6 +++---
 src/pair.cpp                            |    6 +++---
 src/pair.hpp                            |    6 +++---
 src/pgm_receiver.cpp                    |    6 +++---
 src/pgm_receiver.hpp                    |    6 +++---
 src/pgm_sender.cpp                      |    6 +++---
 src/pgm_sender.hpp                      |    6 +++---
 src/pgm_socket.cpp                      |    6 +++---
 src/pgm_socket.hpp                      |    6 +++---
 src/pipe.cpp                            |    6 +++---
 src/pipe.hpp                            |    6 +++---
 src/poll.cpp                            |    6 +++---
 src/poll.hpp                            |    6 +++---
 src/poller.hpp                          |    6 +++---
 src/poller_base.cpp                     |    6 +++---
 src/poller_base.hpp                     |    6 +++---
 src/pub.cpp                             |    6 +++---
 src/pub.hpp                             |    6 +++---
 src/pull.cpp                            |    6 +++---
 src/pull.hpp                            |    6 +++---
 src/push.cpp                            |    6 +++---
 src/push.hpp                            |    6 +++---
 src/queue.cpp                           |    6 +++---
 src/queue.hpp                           |    6 +++---
 src/rep.cpp                             |    6 +++---
 src/rep.hpp                             |    6 +++---
 src/req.cpp                             |    6 +++---
 src/req.hpp                             |    6 +++---
 src/select.cpp                          |    6 +++---
 src/select.hpp                          |    6 +++---
 src/semaphore.hpp                       |    6 +++---
 src/session.cpp                         |    6 +++---
 src/session.hpp                         |    6 +++---
 src/signaler.cpp                        |    6 +++---
 src/signaler.hpp                        |    6 +++---
 src/socket_base.cpp                     |    6 +++---
 src/socket_base.hpp                     |    6 +++---
 src/stdint.hpp                          |    6 +++---
 src/streamer.cpp                        |    6 +++---
 src/streamer.hpp                        |    6 +++---
 src/sub.cpp                             |    6 +++---
 src/sub.hpp                             |    6 +++---
 src/swap.cpp                            |    6 +++---
 src/swap.hpp                            |    6 +++---
 src/tcp_connecter.cpp                   |    6 +++---
 src/tcp_connecter.hpp                   |    6 +++---
 src/tcp_listener.cpp                    |    6 +++---
 src/tcp_listener.hpp                    |    6 +++---
 src/tcp_socket.cpp                      |    6 +++---
 src/tcp_socket.hpp                      |    6 +++---
 src/thread.cpp                          |    6 +++---
 src/thread.hpp                          |    6 +++---
 src/transient_session.cpp               |    6 +++---
 src/transient_session.hpp               |    6 +++---
 src/trie.cpp                            |    6 +++---
 src/trie.hpp                            |    6 +++---
 src/uuid.cpp                            |   13 +++----------
 src/uuid.hpp                            |    6 +++---
 src/windows.hpp                         |    6 +++---
 src/wire.hpp                            |    6 +++---
 src/xrep.cpp                            |    6 +++---
 src/xrep.hpp                            |    6 +++---
 src/xreq.cpp                            |    6 +++---
 src/xreq.hpp                            |    6 +++---
 src/ypipe.hpp                           |    6 +++---
 src/yqueue.hpp                          |    6 +++---
 src/zmq.cpp                             |    6 +++---
 src/zmq_connecter.cpp                   |    6 +++---
 src/zmq_connecter.hpp                   |    6 +++---
 src/zmq_engine.cpp                      |    6 +++---
 src/zmq_engine.hpp                      |    6 +++---
 src/zmq_init.cpp                        |    6 +++---
 src/zmq_init.hpp                        |    6 +++---
 src/zmq_listener.cpp                    |    6 +++---
 src/zmq_listener.hpp                    |    6 +++---
 tests/test_pair_inproc.cpp              |    6 +++---
 tests/test_pair_ipc.cpp                 |    6 +++---
 tests/test_pair_tcp.cpp                 |    6 +++---
 tests/test_reqrep_inproc.cpp            |    6 +++---
 tests/test_reqrep_ipc.cpp               |    6 +++---
 tests/test_reqrep_tcp.cpp               |    6 +++---
 tests/test_shutdown_stress.cpp          |    6 +++---
 tests/testutil.hpp                      |    6 +++---
 145 files changed, 448 insertions(+), 455 deletions(-)

commit 3d01b929fe5e57311ea62fff4a37abbeaab1b3eb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 29 08:19:07 2010 +0200

    Peter Bourgon added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 9384faf7e5f2fb58d976df8b29f979402346207a
Author: Peter Bourgon <peter.bourgon@gmail.com>
Date:   Fri Oct 29 08:16:59 2010 +0200

    Add function to zmq::error_t to access errnum
    
    Signed-off-by: Peter Bourgon <peter.bourgon@gmail.com>

 include/zmq.hpp |    5 +++++
 1 file changed, 5 insertions(+)

commit dace2473f1cfea902dfd3be4a233f4092397d65a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Oct 28 08:44:53 2010 +0200

    Burak Arslan added to the AUTHORS file
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 3eb935ef6e211d2fa5094ae032777ed319253d11
Author: Burak Arslan <burak-github@arskom.com.tr>
Date:   Thu Oct 28 08:41:28 2010 +0200

    switch to c++-specific headers
    
    Signed-off-by: Burak Arslan <burak-github@arskom.com.tr>

 include/zmq.hpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 9a1d4df0fd29e040756bff6302cf9a134074d9b9
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Wed Oct 27 09:37:32 2010 +0200

    fix typo, destroy new engine
    
    Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>

 src/session.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 465da7b17eef4c86020a5def41a87977410b965a
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Tue Oct 26 16:02:47 2010 +0200

    drop connection requests with duplicate peer identity
    
    Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>

 src/session.cpp  |    9 +++++++--
 src/zmq_init.hpp |    2 +-
 2 files changed, 8 insertions(+), 3 deletions(-)

commit 401986e6bb565f94d975acaba9504eb6ee3c8598
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Oct 26 15:35:56 2010 +0200

    Build with MSVC2005 fixed
    
    To use __rdtsc() function MSVC2005 requires including intrin.h
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 AUTHORS       |    1 +
 src/clock.cpp |    4 ++++
 2 files changed, 5 insertions(+)

commit e1debf15bbdb0747cffb6013d59fb3f73462a600
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Tue Oct 26 14:24:07 2010 +0200

    Update to OpenPGM 5.0.91.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 configure.in                              |    2 +-
 foreign/openpgm/libpgm-5.0.78.tar.gz      |  Bin 511599 -> 0 bytes
 foreign/openpgm/libpgm-5.0.91~dfsg.tar.gz |  Bin 0 -> 444731 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)

commit 11af0fcc54d06052bbbf20c64a3ce31000d02f7d
Merge: 71bef33 8ef53c0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 23 22:12:47 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Fixes build on Linux using Sun Studio compiler

commit 8ef53c0dc6d625bdeb95b7f9626cf58cf6babfed
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Fri Oct 15 10:43:22 2010 +0200

    Fixes build on Linux using Sun Studio compiler
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 configure.in |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 71bef330fc9f09ee070c90d174fc0bcb7783b38d
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Sat Oct 23 20:59:54 2010 +0200

    handle decoding malformed messages
    
    Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>

 src/decoder.cpp    |   26 ++++++++++++++++++--------
 src/decoder.hpp    |   23 +++++++++++++++++++----
 src/zmq_engine.cpp |   26 ++++++++++++++++----------
 3 files changed, 53 insertions(+), 22 deletions(-)

commit 8d6979922efff7183ce03b49715472e5b2a6a1df
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Sat Oct 23 14:35:02 2010 +0200

    Changes for MSVC OpenPGM build.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 src/pgm_socket.cpp |    1 -
 src/pgm_socket.hpp |    1 +
 src/zmq.cpp        |    1 +
 3 files changed, 2 insertions(+), 1 deletion(-)

commit da59f8dd7a7f275eff98e5705767ac89ac503912
Merge: e73c96b 21b0c0b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 23 13:51:12 2010 +0200

    Merge branch 'maint'
    
    * maint:
      SunStudio fixed.

commit 21b0c0b4f7896facbfcaf10c8eb777e72a505a45
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 23 13:49:13 2010 +0200

    SunStudio fixed.
    
    With SunStudio's implementation of STL basic_string constructor
    doesn't accept NULL as a parameter even though size of string
    is set to zero. Fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/object.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e73c96ba30c5e9ada83592bc2289a56eeadf6155
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Oct 18 09:11:36 2010 +0200

    Minor comment improvement.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/session.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 0c86f90280d69bd360f7566f9549c904c26d5e42
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Oct 17 10:26:06 2010 +0200

    Minor typo fixed in zmq_getsockopt(3) man page.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a780833683ed1f5bc4a112644836973f8282434b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Oct 17 10:23:58 2010 +0200

    ZMQ_BACKLOG socket option added.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   13 +++++++++++++
 doc/zmq_setsockopt.txt |   13 +++++++++++++
 include/zmq.h          |    1 +
 src/config.hpp         |    4 ----
 src/options.cpp        |   19 +++++++++++++++++++
 src/options.hpp        |    3 +++
 src/tcp_listener.cpp   |   12 +++++++-----
 src/tcp_listener.hpp   |    3 ++-
 src/zmq_listener.cpp   |    2 +-
 9 files changed, 59 insertions(+), 11 deletions(-)

commit e8e2944f45eab3e22dc46ceac3225a886ca468ad
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Oct 17 09:54:12 2010 +0200

    ZMQ_RECONNECT_IVL socket options added.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   15 ++++++++++--
 doc/zmq_setsockopt.txt |   13 +++++++++++
 include/zmq.h          |    1 +
 src/config.hpp         |    3 ---
 src/options.cpp        |   59 +++++++++++++++++++++++++++++++++---------------
 src/options.hpp        |    3 +++
 src/zmq_connecter.cpp  |   15 ++++++------
 src/zmq_connecter.hpp  |    2 +-
 8 files changed, 80 insertions(+), 31 deletions(-)

commit 8b8837688a97c4d05aff01a6dea7ac5a35b21fa2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 16 17:56:25 2010 +0200

    Couple of bugs in zmq_poll fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq.cpp |   16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

commit 72b15a6dae6c199d847ebde5ac73de238f0ebf75
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 16 16:05:34 2010 +0200

    Implementation of zmq_strerror moved from zmq.cpp to err.cpp
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/err.cpp |   41 +++++++++++++++++++++++++++++++++++++++++
 src/err.hpp |    9 ++++++---
 src/zmq.cpp |   38 +-------------------------------------
 3 files changed, 48 insertions(+), 40 deletions(-)

commit 61d38fbeed89d69516b9976c60b7711fefed6411
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 16 14:48:06 2010 +0200

    Bug in low precision clock fixed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/clock.cpp |    4 ++--
 src/clock.hpp |    3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

commit 0a03e86e9547fa7c221b316a5a943467adea3dfd
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 16 10:53:29 2010 +0200

    ZMQ_LINGER socket option added.
    
        1. ZMQ_LINGER option can be set/get
        2. options are part of own_t base class rather than being declared
           separately by individual objects
        3. Linger option is propagated with "term" command so that the
           newest value of it is used rather than the stored old one.
        4. Session sets the linger timer if needed and terminates
           as soon as it expires.
        5. Corresponding documentation updated.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_getsockopt.txt |   16 ++++++++++++++++
 doc/zmq_setsockopt.txt |   16 ++++++++++++++++
 include/zmq.h          |    1 +
 src/command.hpp        |    1 +
 src/object.cpp         |    7 ++++---
 src/object.hpp         |    4 ++--
 src/options.cpp        |   18 ++++++++++++++++++
 src/options.hpp        |    3 +++
 src/own.cpp            |   20 ++++++++++++--------
 src/own.hpp            |    8 ++++++--
 src/pair.cpp           |    4 ++--
 src/pair.hpp           |    2 +-
 src/pub.cpp            |    4 ++--
 src/pub.hpp            |    2 +-
 src/pull.cpp           |    4 ++--
 src/pull.hpp           |    2 +-
 src/push.cpp           |    4 ++--
 src/push.hpp           |    2 +-
 src/session.cpp        |   40 ++++++++++++++++++++++++++++++++++++----
 src/session.hpp        |   17 ++++++++++++-----
 src/socket_base.cpp    |    4 ++--
 src/socket_base.hpp    |    6 +-----
 src/sub.cpp            |    4 ++--
 src/sub.hpp            |    2 +-
 src/xrep.cpp           |    4 ++--
 src/xrep.hpp           |    2 +-
 src/xreq.cpp           |    4 ++--
 src/xreq.hpp           |    2 +-
 src/zmq_connecter.cpp  |    5 ++---
 src/zmq_connecter.hpp  |    4 ----
 src/zmq_init.cpp       |    3 +--
 src/zmq_init.hpp       |    4 ----
 src/zmq_listener.cpp   |    7 +++----
 src/zmq_listener.hpp   |    6 +-----
 34 files changed, 158 insertions(+), 74 deletions(-)

commit a1474e305762d32df2b79300d124aac7fa0181c8
Author: Toralf Wittner <toralf.wittner@gmail.com>
Date:   Sat Oct 16 08:27:57 2010 +0200

    Cancel tx_timer_id in pgm_sender_t::out_event().
    
    Signed-off-by: Toralf Wittner <toralf.wittner@gmail.com>

 AUTHORS            |    1 +
 src/pgm_sender.cpp |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

commit 733c6780c557a0eaacdf17961fb8f3841c65f862
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 16 01:22:18 2010 +0200

    Minor code clean-up to keep clang compiler happy.
    
    "warning: extra ';' inside a struct or union [-pedantic]"
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pipe.hpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit b95f11aa0a7887f5eb8eb8e2e0f09532bc3604ba
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Sat Oct 16 01:05:15 2010 +0200

    Don't set pedantic to yes if using ICC
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 acinclude.m4 |   17 +++++++++++++++++
 configure.in |   13 +++++++++----
 2 files changed, 26 insertions(+), 4 deletions(-)

commit 48b0a901b8056957e36ba52ae4416d656971bb47
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 16 00:53:50 2010 +0200

    Obsolete compile-time option removed.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/config.hpp |    4 ----
 1 file changed, 4 deletions(-)

commit ae5a3c8a99a30b54d0b079bbd98be286685056e8
Merge: 18d46c8 710615c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 16 00:49:01 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Version number increased.
    
    Conflicts:
    	include/zmq.h
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

commit 710615cdab8c8e500c259bb27df2af70f5ae8275
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 16 00:47:31 2010 +0200

    Version number increased.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 include/zmq.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 18d46c81047fc2f8449a5b4ff3e41cc25bd1cfc2
Merge: 027eed4 53d1677
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 15 19:38:52 2010 +0200

    Merge branch 'maint'

commit 53d1677c8b0f85e309c6a067b47c80dedcffb5aa
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 15 19:37:41 2010 +0200

    Update NEWS for 2.0.10 release
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 NEWS |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

commit 027eed41b8bf16cb8b2f9f83be1fe286b39e4fd8
Merge: 2e9871c 6e95205
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 15 17:46:21 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Fix memory leak under Windows

commit 6e9520533395b19ed6f6a17de6f196aa5e93da9f
Author: Taras Shpot <taras.shpot@eleks.com>
Date:   Fri Oct 15 17:45:02 2010 +0200

    Fix memory leak under Windows
    
    The comment about memory ownership in uuid_t::to_string
    was misleading as on most platforms the buffer is a field
    of the object;
    The string allocated in UuidToString() wasn't properly freed
    with RpcStringFree()
    
    Signed-off-by: Taras Shpot <taras.shpot@eleks.com>

 AUTHORS      |    1 +
 src/uuid.cpp |    2 ++
 src/uuid.hpp |    2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

commit 2e9871ce34b5abc60ebc37c1887b76895537d62a
Merge: eeb8e7c 5b44025
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Oct 15 17:30:03 2010 +0200

    Merge branch 'maint'
    
    Conflicts:
    	configure.in
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

commit 5b44025602b6af952fc434a6e7bf8dff65a00be6
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Oct 15 17:27:10 2010 +0200

    maint: Upgrade OpenPGM to 2.1.28~dfsg
    
    Upgrade OpenPGM to version 2.1.28 for ZeroMQ 2.0.x. Now we also use the
    DFSG-compliant upstream release tarball.
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 configure.in                              |    2 +-
 foreign/openpgm/libpgm-2-1-28~dfsg.tar.gz |  Bin 0 -> 340501 bytes
 foreign/openpgm/libpgm-2.1.26.tar.gz      |  Bin 413863 -> 0 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)

commit eeb8e7c8beef83fe8c23bde888a1081fc9e8e3ec
Merge: 7b9e397 3cf01bf
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 15 17:13:36 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Makefile.am: Add missing files to distribution, improve maintainer-clean
      configure.in: Extract API version from zmq.h
      Added bin directory to ignore list.
    
    Conflicts:
    	configure.in
    	include/zmq.h

commit 3cf01bf56e66657da795e43f09fa2499b2381dc9
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Oct 15 15:30:10 2010 +0200

    Makefile.am: Add missing files to distribution, improve maintainer-clean
    
    Add missing files needed for regenerating configure to the distribution;
    add MAINTAINERS; improve maintainer-clean to produce a really clean tree.
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 Makefile.am |   18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

commit 3b3df731e60d604794538d0b9f6cb5b802a8745d
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Oct 15 15:05:54 2010 +0200

    configure.in: Extract API version from zmq.h
    
    * Added a version.sh and relevant changes to configure.in to extract the API
      version from zmq.h at the time autogen.sh is run.
    * Moved the version macros to be next to zmq_version in zmq.h and improved
      the comments.
    * Modified ZMQ_MAKE_VERSION to use (x) instead of plain x when expanding
      macro parameters.
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 Makefile.am   |    1 +
 configure.in  |    8 +++++---
 include/zmq.h |   21 +++++++++++----------
 version.sh    |   21 +++++++++++++++++++++
 4 files changed, 38 insertions(+), 13 deletions(-)

commit 7b9e39724eeecf33dde3b0e4fd9f205480afb977
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 15 11:31:20 2010 +0200

    Minor fix in devpoll.hpp
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/devpoll.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 17b0785744287d0897175ed13000fba710c2dc5b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 15 11:29:20 2010 +0200

    Destructor of poller_base_t made virtual.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/poller_base.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3e74a439c4b7901f3d3607a2d4142266bc1781b4
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Fri Oct 15 11:21:56 2010 +0200

    Cast execute_timers() result to int
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 src/devpoll.cpp |    2 +-
 src/epoll.cpp   |    2 +-
 src/kqueue.cpp  |    2 +-
 src/poll.cpp    |    2 +-
 src/select.cpp  |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

commit b64b50ae218dbbc362eaeb0571a337650f623e3c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 15 10:58:19 2010 +0200

    Timers correctly canceled by PGM engines on shutdown.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/pgm_receiver.cpp |   10 +++++++---
 src/pgm_sender.cpp   |   17 ++++++++++++++---
 src/pgm_sender.hpp   |    3 ++-
 3 files changed, 23 insertions(+), 7 deletions(-)

commit e288f7a347eb5a2fd38043d930fc67c8e8bcce9b
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Fri Oct 15 10:43:22 2010 +0200

    Fixes build on Linux using Sun Studio compiler
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 configure.in |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit e33e4d7650e36af7d09569de21f7f71b5670945c
Author: Mikko Koppanen <mkoppanen@php.net>
Date:   Fri Oct 15 10:38:09 2010 +0200

    ICC related qualifier fix
    
    Signed-off-by: Mikko Koppanen <mkoppanen@php.net>

 AUTHORS      |    1 +
 src/pipe.hpp |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

commit 03a18c27ace49cbcbb0c495e4c575c34b8f862a4
Author: Martin Pales <m.pales@gmail.com>
Date:   Thu Oct 14 16:31:58 2010 +0200

    zmq::clock_t : return correct value in rdtsc() on solaris
    
    Function clock_t::rdtsc() now returns correct value when compiled
    with sunstudio 12 compiler.
    
    Signed-off-by: Martin Pales <m.pales@gmail.com>

 src/clock.cpp |    8 ++++++++
 1 file changed, 8 insertions(+)

commit 26d7669464054a4aed3f0ee9643bffa0e01aab5c
Author: Gonzalo Diethelm <gonzalo.diethelm@diethelm.org>
Date:   Thu Oct 14 08:02:43 2010 -0300

    Added bin directory to ignore list.

 .gitignore |    1 +
 1 file changed, 1 insertion(+)

commit b7386f5b5031b2e75fb4370069935d7f6a0eedbb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Oct 14 12:13:52 2010 +0200

    To insert to associateive STL containers value_type used instead of make_pair
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/ctx.cpp          |    4 ++--
 src/pgm_receiver.cpp |    2 +-
 src/socket_base.cpp  |    2 +-
 src/xrep.cpp         |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

commit f9e6d94be56fab6d1d8e281e48bb5d6091562acb
Author: Martin Pales <m.pales@gmail.com>
Date:   Thu Oct 14 12:02:05 2010 +0200

    zmq::poller_base_t : workaround for sunstudio compiler in add_timer()
    
    A minor workaround to resolve compilation error with sunstudio compiler,
    which does not yet support member templates for std::multimap.
    
    Signed-off-by: Martin Pales <m.pales@gmail.com>

 src/poller_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit cafcdbbe2bc9c78899568bb6cb957b700e12c66b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Oct 14 09:34:09 2010 +0200

    Safety measure in zmq_msg_close implemented
    
    zmq_msg_close now empties the message on zmq_msg_close, thus not
    leaving random data in the structure, that may be mistaken for
    a valid message.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq.cpp |   32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)

commit b174ad2c45c746e56b41671a3d68ef496bba6b97
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Oct 14 09:16:49 2010 +0200

    zmq_poll man page fixed to reflect the precise timeout semantics.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 doc/zmq_poll.txt |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

commit da73b7c6f60f2ea1adc6fbd99e22576b9ce2f316
Author: Martin Pales <m.pales@gmail.com>
Date:   Thu Oct 14 08:38:11 2010 +0200

    zmq::devpoll_t : correct a typo in loop()
    
    A minor typo correction to resolve compilation error on Solaris.
    
    Signed-off-by: Martin Pales <m.pales@gmail.com>

 AUTHORS         |    1 +
 src/devpoll.cpp |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit e2167cecaefec6557c7a5712fb75e51487ff69a6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Oct 13 21:39:20 2010 +0200

    Precise timouts in zmq_poll implemented
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/zmq.cpp |  127 ++++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 90 insertions(+), 37 deletions(-)

commit 9d96e0037a9d027fd286f771fa2a8db5def485c8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Oct 13 10:09:46 2010 +0200

    Clean-up of the code related to attaching/detaching engines to sessions.
    
    Session base class now handles the engine events exclusively. It notifies
    derived session types using dedicated "attached" and "detached" events.
    
    Couple of bugs was fixed along the way.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/connect_session.cpp   |    9 ++++-----
 src/connect_session.hpp   |    3 ++-
 src/named_session.cpp     |   15 +++++----------
 src/named_session.hpp     |    5 +----
 src/session.cpp           |   18 ++++++++----------
 src/session.hpp           |   12 ++++++------
 src/transient_session.cpp |    4 ++++
 src/transient_session.hpp |    3 ++-
 8 files changed, 32 insertions(+), 37 deletions(-)

commit 5ae878b891fa5189f5202f1577d22bdb9ba51f77
Merge: 954d7f7 2568947
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Oct 13 08:01:13 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Add support for RHEL6 in the spec file

commit 2568947a71adc0e8ddad54b6054a3b3e532e1613
Author: Sebastian Otaegui <feniix@gmail.com>
Date:   Wed Oct 13 07:59:50 2010 +0200

    Add support for RHEL6 in the spec file
    
    Signed-off-by: Sebastian Otaegui <feniix@gmail.com>

 AUTHORS                   |    1 +
 builds/redhat/zeromq.spec |    7 +++++++
 2 files changed, 8 insertions(+)

commit 954d7f743dbc0c159794915c6deadc374dbf64d2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Oct 12 17:55:09 2010 +0200

    Avoid duplicate creation of pipes for a single session
    
    When a session is being closed down its inbound and outbound
    pipe pointers are set to null. If (re) connection happens at
    that time, session may try to reinistantiate the pipes which
    is wrong. This patch allows session to attach pipes only once
    in its lifetime.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/session.cpp |   40 ++++++++++++++++++++++++----------------
 src/session.hpp |    3 +++
 2 files changed, 27 insertions(+), 16 deletions(-)

commit c6d74e0a0345cae2c09c6fb29911159331c93e64
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Tue Oct 12 12:26:21 2010 +0200

    Drop PGM parameters to 100mb friendly range.
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 src/pgm_socket.cpp |   30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)

commit 5b8af52efc0ddf1df5506a2800aa69bc50a44ddb
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Oct 11 17:59:58 2010 +0200

    Fix assertion in PGM transports on cancel_timer
    
    Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>

 src/pgm_receiver.cpp |    2 ++
 src/pgm_sender.cpp   |   12 ++++++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

commit e168173162dd26238a799c19142bab8b7885ebb3
Merge: f22e85f 57428db
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Oct 11 16:42:10 2010 +0200

    Merge branch 'maint'
    
    * maint:
      configure.in: Do not patch libtool rpath handling
      Fixing the Red Hat packaging

commit 57428db89885631128cb9a48b334b050eb83a512
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Oct 11 16:39:48 2010 +0200

    configure.in: Do not patch libtool rpath handling
    
    For historic reasons (mainly compatbility with really old libtool), configure was
    patching libtool to not use rpath in binaries. This breaks (among other things)
    correct operation of "make check" since the test binaries may not be run with
    the correct shared library version.
    
    Current best practice as seen e.g. at http://wiki.debian.org/RpathIssue suggests
    that this is no longer an issue, so I'm removing the code that patches libtool.
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 configure.in |   11 -----------
 1 file changed, 11 deletions(-)

commit 6cd0867f0208b4fca4cfca2a2ff7bc0de5199d4a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Oct 11 16:32:27 2010 +0200

    Fixing the Red Hat packaging
    
    When adding ZMQ_VERSION macros, I incorrectly removed
    the PACKAGE_VERSION macro. Adding it back.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 configure.in |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit f22e85f19f2bf58285e4984e875487f17c85e791
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Oct 11 12:23:18 2010 +0200

    Reverting commit 1d431190f50c86f62460
    
    The patch was supposed to check that pipe writer sends messages
    in atomic fashion. However, it prevented the user to read
    half of a message and close the socket.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xrep.cpp |    7 -------
 1 file changed, 7 deletions(-)

commit 73e7ef37c2e72dd542d20ddc5be30cedce68e329
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Oct 10 09:23:37 2010 +0200

    When XREP silently drops message, it does not empty it -- fixed
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/xrep.cpp |   29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

commit f5030a93a52fc73292c16dae5f8e0e1b39732df0
Author: Christian Gudrian <christian.gudrian@fluidon.com>
Date:   Sat Oct 9 19:19:50 2010 +0200

    Execute the timers before pollset initialisation.
    
    Since executing the timers might modify the source pollsets we have
    to defer the initialisation until after the timers have executed.
    
    Signed-off-by: Christian Gudrian <christian.gudrian@fluidon.com>

 AUTHORS        |    1 +
 src/select.cpp |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

commit 318cdd1f24cd663702222cc182ae2ccac5e76870
Merge: 214b560 ef8db78
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 9 08:03:58 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Version macros added
    
    Conflicts:
    	builds/msvc/platform.hpp
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

commit ef8db789a1c97152e84ff03c9a7f6e1e77d95981
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Oct 9 07:53:24 2010 +0200

    Version macros added
    
    Macro ZMQ_VERSION represents the current version of 0MQ
    Macro ZMQ_MAKE_VERSION(major,minor,patch) allows to create
    a representation of the specified version.
    The versions can be compared using simple <, >, ==, etc.
    operators.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 builds/msvc/platform.hpp |    6 +-----
 configure.in             |   13 -------------
 include/zmq.h            |   10 ++++++++++
 src/zmq.cpp              |    6 +++---
 4 files changed, 14 insertions(+), 21 deletions(-)

commit 214b56077a7e5d12813c8034013171d33283566c
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Oct 8 22:06:41 2010 +0200

    Fix missing platform.hpp in zmq_connecter.cpp
    
    Missed testing on Win32
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 src/zmq_connecter.cpp |    1 +
 1 file changed, 1 insertion(+)

commit daf5d3273b1930af7e4c54ee597b89ecb3763000
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 8 21:42:55 2010 +0200

    More cleanup of session termination process.
    
    Fix in termination of session attached to a REP socket.
    Several fixes of session termination in case of disconnection.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/connect_session.cpp |    2 ++
 src/named_session.cpp   |    1 +
 src/session.cpp         |   10 ++++++++--
 3 files changed, 11 insertions(+), 2 deletions(-)

commit f90c8d957ea2a11c73a307aae2494a26d22c2f3b
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Oct 8 17:49:40 2010 +0200

    Scalability improvements for large amounts of connections
    
    Add signaler_sndbuf_size option to config.hpp which allows the user to
    increase the size of the send buffer used by the signalling socketpair.
    
    Implement random backoff for reconnection attempts using a primitive
    pseudo-random generation to prevent reconnection storms.
    
    Add wait_before_connect option to config.hpp to allow the user to enable
    random delay even on initial connect. Default is false for low latency.
    
    Signed-off-by: Martin Lucina <mato@kotelna.sk>

 src/config.hpp        |    9 ++++++++-
 src/signaler.cpp      |   39 ++++++++++++++++++++++++++++++++-------
 src/zmq_connecter.cpp |   25 +++++++++++++++++++++----
 src/zmq_connecter.hpp |    3 +++
 4 files changed, 64 insertions(+), 12 deletions(-)

commit 7a685b0f88386b11c4c1fcbb45324aa28f4e2eac
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 8 17:23:21 2010 +0200

    Clean-up of session termination process
    
    Specifically, shutdown of child objects is initiated *before* termination
    handshake with socket object.
    
    Signed-off-by: Martin Sustrik <sustrik@250bpm.com>

 src/fq.cpp      |    4 ++
 src/fq.hpp      |    1 +
 src/pair.cpp    |   12 ++++--
 src/pair.hpp    |    1 +
 src/pipe.cpp    |    7 ++++
 src/pipe.hpp    |    1 +
 src/session.cpp |  111 ++++++++++++++++++++++++++++---------------------------
 src/session.hpp |   25 ++++++++-----
 src/xrep.cpp    |    4 ++
 src/xrep.hpp    |    1 +
 10 files changed, 99 insertions(+), 68 deletions(-)

commit 965fb7755b50ca1522f076da46fa3651812126e1
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Oct 4 16:22:30 2010 +0200

    configure.in: OpenPGM no longer requires pkg-config

 configure.in |   14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

commit d62d721f1a6f7c9df627b3f3fa8e200ddc9bf5f5
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Mon Oct 4 16:14:57 2010 +0200

    configure.in: Add amd64 to OpenPGM supported platforms

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1d431190f50c86f624605ab11c1580b2d2f7ee06
Author: Nir Soffer <nirsof@gmail.com>
Date:   Sat Oct 2 10:01:18 2010 +0200

    make sure that reader does not terminate in the middle of a multipart message

 AUTHORS      |    1 +
 src/xrep.cpp |    7 +++++++
 2 files changed, 8 insertions(+)

commit 2142b8918a0cea79c79c8ed8ce5652148abe4a39
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 1 18:46:32 2010 +0200

    issue 92 -- Assertion failed: inpipe && outpipe (pair.cpp:86) -- fixed

 src/pair.cpp |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

commit 1a6cd59e8b423cdf3a4f4f854b37c5e0693baef6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 1 16:03:08 2010 +0200

    stress test for shutdown process added

 tests/Makefile.am              |    7 +++-
 tests/test_shutdown_stress.cpp |   83 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+), 2 deletions(-)

commit 2a85cce189ae915e85bb567b1401d063284e622f
Merge: 0bb76b6 8f9080e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 1 13:37:59 2010 +0200

    Merge branch 'master' of github.com:zeromq/zeromq2

commit 0bb76b667b277b143a9a2901e8bf407f34da469d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Oct 1 13:37:46 2010 +0200

    assert when xrep socket gets reconnected in the middle of the shutdown -- fixed

 src/xrep.cpp |   35 ++++++++++++++++++++++-------------
 1 file changed, 22 insertions(+), 13 deletions(-)

commit 8f9080ebb9ea5576c87a1412748aef1faf0653f6
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Sep 30 15:30:24 2010 +0200

    zmq_poll(): Fix busy-loop if timeout is zero
    
    Fix a case where zmq_poll() (poll-based version) could go off into a busy-loop
    if no revents are returned and the timeout passed in is zero.

 src/zmq.cpp |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

commit ac9b05c36b9d1f5bb3f8465b4c56478c399a01f3
Merge: 98fa2fa 79aea5f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 30 15:12:06 2010 +0200

    Merge branch 'maint'
    
    * maint:
      zmq_msg_move called on uninitialised message in xrep_t::xrecv -- fixed

commit 79aea5ffa61f969ec66205f7c9c8c1611a2fd8da
Author: Max Wolf <YIDIEPXGXGPN@spammotel.com>
Date:   Thu Sep 30 15:10:47 2010 +0200

    zmq_msg_move called on uninitialised message in xrep_t::xrecv -- fixed

 AUTHORS      |    1 +
 src/xrep.cpp |    7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

commit 98fa2fa802773252a2c569ffea99bce1c5f9cd4c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 30 14:03:54 2010 +0200

    fix in XREP's fair queueing mechanism

 src/xrep.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 7881ba1bcd2c940037e54a74d6aeb8376329cde4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 30 11:35:14 2010 +0200

    minor whitespace fix

 src/pgm_socket.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit eaa925eca7a3e0c64d184a4a96fec139166a7470
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Thu Sep 30 11:33:35 2010 +0200

    FreeBSD doesn't define MSG_ERRQUEUE -- now it's defined in 0MQ

 src/pgm_socket.cpp |    4 ++++
 1 file changed, 4 insertions(+)

commit ec2e85919e4a34a313e6d0df84cc421bc9682ad8
Author: Ilja Golshtein <ilejncs@narod.ru>
Date:   Wed Sep 29 10:09:03 2010 +0200

    C++ binding destructors don't throw exceptions

 AUTHORS         |    1 +
 include/zmq.hpp |    6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)

commit d14be62499478f31cf641399982ecdf4f6f158c4
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Tue Sep 28 22:46:56 2010 +0200

    more fixes to (e)pgm transport

 src/pgm_receiver.cpp |   21 ++++++++++++-
 src/pgm_receiver.hpp |    7 +++++
 src/pgm_sender.cpp   |   37 +++++++++++++++++++++--
 src/pgm_sender.hpp   |    7 +++++
 src/pgm_socket.cpp   |   81 +++++++++++++++++++++++++++++++++++++-------------
 src/pgm_socket.hpp   |    5 ++++
 6 files changed, 134 insertions(+), 24 deletions(-)

commit 96d85b20982926e60d5065cba3203971c9eeed63
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Tue Sep 28 16:58:51 2010 +0200

     * Add assertions to check for OpenPGM calls with invalid parameters.
     * Assertion to check that pgm_getaddrinfo is actually returning something.
     * Missing pgm_connect call.
     * Typo on TOS causing immediate abort.
     * Placeholder calls for timeouts whilst continuing spin loop functionality.
     * OpenPGM v5 now supports reference counting so remove init checks.
     * Duplicate UDP unicast port setting, requires one unicast and one multicast.
     * Incorrectly set socket rcvbuf size with sndbuf.
     * Replace std::lexicographical_compare of TSI's with long word integer comparisons.
     * pgm_socket_t::receive returns -1 on no data.

 src/pgm_receiver.cpp |    2 +-
 src/pgm_receiver.hpp |   12 +++---
 src/pgm_socket.cpp   |  109 ++++++++++++++++++++++++++++++++------------------
 src/zmq.cpp          |   24 +++++------
 4 files changed, 87 insertions(+), 60 deletions(-)

commit 00cd7d49c7f2b532b2349581b82577bc714f9bf8
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Tue Sep 28 16:35:29 2010 +0200

    Upgrade to OpenPGM-5.0.78

 configure.in                         |   16 +-
 foreign/openpgm/libpgm-2.1.26.tar.gz |  Bin 413863 -> 0 bytes
 foreign/openpgm/libpgm-5.0.78.tar.gz |  Bin 0 -> 511599 bytes
 src/Makefile.am                      |   96 +++---
 src/pgm_socket.cpp                   |  564 ++++++++++++++++++----------------
 src/pgm_socket.hpp                   |    2 +-
 src/zmq.cpp                          |   26 +-
 7 files changed, 364 insertions(+), 340 deletions(-)

commit 10bb9d0405169487cd53c6f109091e036577860e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Sep 28 15:32:12 2010 +0200

    Dhammika Pathirana was missing from the AUTOHRS file for some reason -- fixed

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 87beaaa00d49d216f856b8322f1ad04e4f9ecea3
Author: Gonzalo Diethelm <gdiethelm@dcv.cl>
Date:   Tue Sep 28 15:27:45 2010 +0200

    ZMQ_TYPE socket option added

 .gitignore             |    1 +
 doc/zmq_getsockopt.txt |   13 +++++++++++++
 include/zmq.h          |    1 +
 src/options.cpp        |   10 ++++++++++
 src/options.hpp        |    3 +++
 src/pair.cpp           |    1 +
 src/pub.cpp            |    1 +
 src/pull.cpp           |    1 +
 src/push.cpp           |    1 +
 src/rep.cpp            |    1 +
 src/req.cpp            |    1 +
 src/sub.cpp            |    1 +
 src/xrep.cpp           |    1 +
 src/xreq.cpp           |    1 +
 14 files changed, 37 insertions(+)

commit 6715f9b1858587db6aec826bdc9a7905bba8030e
Merge: 16c3884 c1deb22
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Sep 28 07:51:59 2010 +0200

    Merge branch 'maint'
    
    * maint:
      crash when closing an ypipe -- fixed

commit c1deb226f4d1bc94c158c050088813aae96775e9
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Tue Sep 28 07:46:17 2010 +0200

    crash when closing an ypipe -- fixed

 src/ypipe.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f61921d09679c4bed15204ec4e55d1c7313e3f6a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Sep 28 07:39:16 2010 +0200

    REQ socket can die when reply is delivered on wrong unerlying connection -- fixed

 src/req.cpp |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

commit 16c3884a61b146040277ec61bfdbc553c883b4d6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Sep 27 11:18:21 2010 +0200

    MSVC build fixed

 builds/msvc/libzmq/libzmq.vcproj |   42 +++++++++++++++++++++++++++++++++-----
 src/clock.cpp                    |    2 +-
 src/ctx.cpp                      |    6 ++++++
 src/select.cpp                   |    3 ++-
 4 files changed, 46 insertions(+), 7 deletions(-)

commit e2f834d2947ad7e7f4e6bfb5be653af8b8a2a576
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Sep 27 09:53:30 2010 +0200

    ZMQ_FD and ZMQ_EVENTS documentation added

 doc/zmq_getsockopt.txt |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

commit 30c1cba4e4276f4ddcb5a455fdd62d4d6bd1edd2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Sep 27 09:34:00 2010 +0200

    latency optimisation for the case where there are no timers

 src/poller_base.cpp |    4 ++++
 1 file changed, 4 insertions(+)

commit 238640a526c419392bf2df95de196db89ea6eb73
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 26 21:42:23 2010 +0200

    timers properly implemented

 src/config.hpp        |    4 ----
 src/devpoll.cpp       |   35 +++++----------------------------
 src/devpoll.hpp       |    6 ------
 src/epoll.cpp         |   43 +++++++---------------------------------
 src/epoll.hpp         |    6 ------
 src/kqueue.cpp        |   40 ++++++-------------------------------
 src/kqueue.hpp        |    6 ------
 src/poll.cpp          |   33 +++++++------------------------
 src/poll.hpp          |    6 ------
 src/poller_base.cpp   |   52 ++++++++++++++++++++++++++++++++++++++++++++++++-
 src/poller_base.hpp   |   27 +++++++++++++++++++++++++
 src/select.cpp        |   37 +++++++----------------------------
 src/select.hpp        |    6 ------
 src/zmq_connecter.cpp |    3 ++-
 src/zmq_connecter.hpp |    2 +-
 15 files changed, 113 insertions(+), 193 deletions(-)

commit 8d7bf6684cbb9625ec7c963b8867e2411b49eb57
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 26 19:22:33 2010 +0200

    common base for all pollers created; the only thing it handles at the moment is 'load'

 src/Makefile.am     |    2 ++
 src/devpoll.cpp     |   13 ++----------
 src/devpoll.hpp     |    9 ++-------
 src/epoll.cpp       |   12 ++---------
 src/epoll.hpp       |    9 ++-------
 src/kqueue.cpp      |   15 +++++---------
 src/kqueue.hpp      |    9 ++-------
 src/poll.cpp        |   12 ++---------
 src/poll.hpp        |    9 ++-------
 src/poller_base.cpp |   44 ++++++++++++++++++++++++++++++++++++++++
 src/poller_base.hpp |   56 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/select.cpp      |   12 ++---------
 src/select.hpp      |    9 ++-------
 13 files changed, 125 insertions(+), 86 deletions(-)

commit cf815e8c785254d97190f223765fbbd19a1e6d52
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 26 18:30:03 2010 +0200

    new interfaces for timers; the implementation is not changed yet

 src/config.hpp        |    4 ++++
 src/devpoll.cpp       |    6 +++---
 src/devpoll.hpp       |    7 +++----
 src/epoll.cpp         |    6 +++---
 src/epoll.hpp         |    4 ++--
 src/i_poll_events.hpp |    2 +-
 src/io_object.cpp     |   10 +++++-----
 src/io_object.hpp     |    6 +++---
 src/io_thread.cpp     |    2 +-
 src/io_thread.hpp     |    2 +-
 src/kqueue.cpp        |    6 +++---
 src/kqueue.hpp        |    4 ++--
 src/poll.cpp          |    6 +++---
 src/poll.hpp          |    4 ++--
 src/select.cpp        |    6 +++---
 src/select.hpp        |    4 ++--
 src/zmq_connecter.cpp |    8 ++++----
 src/zmq_connecter.hpp |    3 +++
 18 files changed, 48 insertions(+), 42 deletions(-)

commit be79a9fbc26a55c90b693485f69dfd17f710cb13
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 26 18:01:59 2010 +0200

    minor beautifications

 src/config.hpp            |    4 +++-
 src/connect_session.hpp   |    3 +++
 src/named_session.hpp     |    3 +++
 src/transient_session.hpp |    3 +++
 4 files changed, 12 insertions(+), 1 deletion(-)

commit 5dae27d0ed92aba070f824a4bf5dfa7845aa165d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 26 16:55:54 2010 +0200

    clock_t class added

 src/Makefile.am     |    2 ++
 src/clock.cpp       |  100 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/clock.hpp       |   56 +++++++++++++++++++++++++++++
 src/config.hpp      |    7 ++++
 src/socket_base.cpp |   38 ++++++--------------
 src/socket_base.hpp |    2 +-
 src/zmq.cpp         |   43 +++-------------------
 7 files changed, 181 insertions(+), 67 deletions(-)

commit 7d5061798c93655796b1cf64afd7f5b8146a7681
Merge: e478468 9129b79
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 26 13:36:05 2010 +0200

    Merge branch 'maint'
    
    * maint:
      if TSC jumps backwards (in case of migration to a different CPU core) latency peak may occur -- fixed
    
    Conflicts:
    	src/app_thread.cpp

commit 9129b792486b87d4f54607321427c2df783c9ec1
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 26 13:30:33 2010 +0200

    if TSC jumps backwards (in case of migration to a different CPU core) latency peak may occur -- fixed

 src/app_thread.cpp |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit e478468e52fcb085f9d429cee5dd6938c80343bc
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Sep 21 09:10:17 2010 +0200

    minor error in comment fixed

 src/socket_base.hpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 9c118866003277222173ea04916c3e3b82c88b95
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Sep 21 09:00:46 2010 +0200

    The flag in the socket has clear semantics now -- it tracks whether corresponding context was closed, it doesn't track whether zmq_close was called on the socket itself

 src/socket_base.cpp |   41 +++++++++++++----------------------------
 src/socket_base.hpp |    6 ++----
 2 files changed, 15 insertions(+), 32 deletions(-)

commit 4d51a52874b814f65a31a0c1b8e0a36cb671697c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Sep 20 17:25:04 2010 +0200

    zmq_poll (select version) now correctly assumes that ZMQ_FD is edge-trigerred

 src/zmq.cpp |   27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

commit f49b77eedcdacf9663050a20723ac964af7cdac0
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Sep 20 16:55:46 2010 +0200

    zmq_poll honours ZMQ_FORCE_POLL and ZMQ_FORCE_SELECT options

 src/zmq.cpp |   25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

commit 1abfc92d265bce4f60d63cd302319c451d2c451a
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Sep 20 16:45:25 2010 +0200

    minor problem in zmq_poll (select version) fixed

 src/zmq.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 328c92a0a70b98b4a3bf09132bd8f8041e4c8628
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Sep 20 00:06:05 2010 +0200

    problem with engine being attached to session while it's being terminated fixed

 src/encoder.hpp    |    2 +-
 src/session.cpp    |   40 ++++++++++++++++++++++++++++++++++++++--
 src/session.hpp    |    2 ++
 src/zmq_engine.hpp |    5 +----
 4 files changed, 42 insertions(+), 7 deletions(-)

commit 1d2399720b3fd06da5e7f9f4a211f30c57a9ce2d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 19 22:45:48 2010 +0200

    zmq_init_t destroyed zmq_engine_t before plugging it out from the poller first -- fixed

 src/zmq_engine.cpp |   10 +++++++++-
 src/zmq_engine.hpp |    7 ++++++-
 src/zmq_init.cpp   |    2 +-
 3 files changed, 16 insertions(+), 3 deletions(-)

commit cda3c96a7fed0ee603c13e787ac511a1ea171367
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 19 22:17:37 2010 +0200

    minor code reorganisation in ctx_t::terminate

 src/ctx.cpp |   31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

commit 938689a49128ca17d2bc9662f311c6dbb70240db
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 19 21:40:26 2010 +0200

    synchronisation problem fixed in ctx_t

 src/ctx.cpp      |    2 ++
 src/zmq_init.cpp |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 471013a59fc7f41b694c0bc0b11a459d4c19700d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 19 20:43:14 2010 +0200

    two races fixed in session creation

 src/zmq_init.cpp |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

commit 1f10208ad065c01e172669affdd48b6f2698ff4c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 19 08:42:19 2010 +0200

    termination of pipe via delimiter message could stuck when no data were read from the pipe (because connection wasn't active) -- fixed

 src/session.cpp |    7 +++++++
 1 file changed, 7 insertions(+)

commit 5153b6368be58d0fcaea262463a3fc08ea658f78
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Sep 19 08:39:53 2010 +0200

    obsolete 'active' flag removed from session_t

 src/session.cpp |   11 +++--------
 src/session.hpp |    3 ---
 2 files changed, 3 insertions(+), 11 deletions(-)

commit 4c6d07d3668558d910c9b1d19d52ccdeacc90574
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Sep 18 07:37:36 2010 +0200

    single term ack counting mechanism for every socket (no separate mechanisms for fq_t and lb_t)

 src/Makefile.am            |    1 -
 src/fq.cpp                 |   18 ++++++++----------
 src/fq.hpp                 |    4 ++--
 src/i_terminate_events.hpp |   38 --------------------------------------
 src/lb.cpp                 |   18 ++++++++----------
 src/lb.hpp                 |    4 ++--
 src/own.hpp                |   16 ++++++++--------
 src/pull.cpp               |    7 -------
 src/pull.hpp               |    6 +-----
 src/push.cpp               |    7 -------
 src/push.hpp               |    6 +-----
 src/sub.cpp                |    7 -------
 src/sub.hpp                |    6 +-----
 src/xreq.cpp               |    7 -------
 src/xreq.hpp               |    6 +-----
 15 files changed, 32 insertions(+), 119 deletions(-)

commit fb6ce536d96c82e8f4378a87a5d59aefcc57a96d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Sep 18 06:48:45 2010 +0200

    more details on launch_sibling in comments

 src/own.cpp |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit 0c215fada4f448788069e42bda34609f74c8b64b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Sep 18 06:42:46 2010 +0200

    potential duplicate termination of pipes removed

 src/fq.cpp          |    1 +
 src/lb.cpp          |    1 +
 src/socket_base.cpp |   10 ----------
 3 files changed, 2 insertions(+), 10 deletions(-)

commit c7b9ba3ccdd5a18afb22dda1afee16c938076c25
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Sep 17 12:58:20 2010 +0200

    reconnection process fixed when failure occurs during init phase

 src/command.hpp |    3 ++-
 src/session.cpp |    8 ++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

commit 85aa25e56cbf6f4194162235fc06bed8683b1bad
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Sep 17 12:32:46 2010 +0200

    bug in REQ+multipart fixed

 src/req.cpp |    1 +
 1 file changed, 1 insertion(+)

commit ff1080728f3a587ee472a64533fd7e44b365e6f0
Merge: be159b6 e2802d9
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 15 16:58:00 2010 +0200

    Merge branch 'maint'
    
    * maint:
      values of RATE, RECOVERY_IVL and SWAP options are checked for negative values

commit e2802d9a4b7e518c549e8dd95a34d2424058f086
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 15 16:44:57 2010 +0200

    values of RATE, RECOVERY_IVL and SWAP options are checked for negative values

 src/options.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit be159b63169474b644ebd38177bf4e808ebb5487
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Sep 13 13:27:48 2010 +0200

    zmq::writer_t: Add missing test for swap

 src/pipe.cpp |   34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

commit 92f9136ca6c69d2d1588ff5ff65e668e40e0f7eb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Sep 10 13:11:08 2010 +0200

    lefover assert removed

 src/lb.cpp |    3 ---
 1 file changed, 3 deletions(-)

commit a68e6739f4248e25a0f9a64c89729f55dfacb842
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 9 08:25:00 2010 +0200

    when no I/O threads are available error is raised instead of assertion

 doc/zmq_bind.txt        |    2 ++
 doc/zmq_connect.txt     |    2 ++
 include/zmq.h           |    2 +-
 src/connect_session.cpp |   15 ++++++++++-----
 src/ctx.cpp             |    7 +++++--
 src/ctx.hpp             |    5 +++--
 src/object.cpp          |    4 ++--
 src/object.hpp          |    2 +-
 src/socket_base.cpp     |   21 ++++++++++++++++++---
 src/zmq.cpp             |    2 ++
 src/zmq_connecter.cpp   |    9 +++++++--
 src/zmq_listener.cpp    |    9 +++++++--
 12 files changed, 60 insertions(+), 20 deletions(-)

commit 47e87b7e4b8dd6a0cfbc1f30ffcb06edfa83c853
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 8 15:45:59 2010 +0200

    EMTHREAD error code returned to zmq.h to ensure backward compatibility

 include/zmq.h |    1 +
 1 file changed, 1 insertion(+)

commit 91ea20464439b5359a5d803181141fc756fa817c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 8 08:39:27 2010 +0200

    EINTR returned from the blocking functions

 doc/zmq_getsockopt.txt |    2 ++
 doc/zmq_poll.txt       |    2 ++
 doc/zmq_recv.txt       |    3 ++
 doc/zmq_send.txt       |    3 ++
 doc/zmq_setsockopt.txt |    2 ++
 src/ctx.cpp            |    5 ----
 src/ctx.hpp            |    3 --
 src/io_thread.cpp      |    8 ++++--
 src/signaler.cpp       |   47 ++++++++++++++++----------------
 src/signaler.hpp       |    2 +-
 src/socket_base.cpp    |   71 ++++++++++++++++++++++++++----------------------
 src/socket_base.hpp    |    3 +-
 src/zmq.cpp            |   26 ++++++++----------
 13 files changed, 93 insertions(+), 84 deletions(-)

commit f374431ebe0f3e18a2b2adeafa8093ff59a9eac2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Sep 7 17:06:33 2010 +0200

    get rid of 'has virtual functions but non-virtual destructor' warnings in pipe.hpp

 src/pipe.hpp |    4 ++++
 1 file changed, 4 insertions(+)

commit 6d4ffd90dbda943e5d1215fb56d06eeac1b4420f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Sep 7 15:49:54 2010 +0200

    Bug in fq_t and lb_t (when used via ZMQ_EVENTS option) fixed

 src/fq.cpp |    7 +++++--
 src/lb.cpp |    6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

commit b4740c14e7fc68040037d65bdfac4233b08c5a08
Merge: d4c8de5 01c463c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Sep 4 19:10:17 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Version number incremented to 2.0.10
      NEWS updated for 2.0.9
    
    Conflicts:
    	builds/msvc/platform.hpp
    	configure.in

commit 01c463cc89626bf9d69500ab1f4957705663788e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Sep 4 19:08:55 2010 +0200

    Version number incremented to 2.0.10

 builds/msvc/platform.hpp |    2 +-
 configure.in             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit ebf3089735329f0d083a992c98a9fd63b128346e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Sep 4 18:38:20 2010 +0200

    NEWS updated for 2.0.9

 NEWS |   12 ++++++++++++
 1 file changed, 12 insertions(+)

commit d4c8de5050a183f4df72062ce3ff6ceca0128fdf
Merge: 76f2e5d 1e84519
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 17:49:40 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Update .gitignore
      doc: Add 0MQ version to XHTML11 backend footer
      build: Generate ChangeLog in 'make dist', ZIP automatically

commit 1e8451961e498abd1da61e64f5baf48890e1563e
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 17:44:11 2010 +0200

    Update .gitignore

 .gitignore |    2 ++
 1 file changed, 2 insertions(+)

commit 32fd916c731901944e01c0cb445d32ce0d162693
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 17:42:33 2010 +0200

    doc: Add 0MQ version to XHTML11 backend footer
    
    Thanks to Matt Weinstein for the suggestion.

 doc/asciidoc.conf |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

commit a6d3629fb4f87c018c7ba2f8c4ff69f7eda07790
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 17:26:36 2010 +0200

    build: Generate ChangeLog in 'make dist', ZIP automatically
    
    Change 'make dist' to generate the Git ChangeLog file, that way it doesn't
    have to be manually updated nor kept in Git which causes unnecessary work.
    
    Also change 'make dist' to invoke 'dist-zip' automatically to generate a
    ZIP as well as a .tar.gz.
    
    Thanks to http://live.gnome.org/Git/ChangeLog for the inspiration to
    automatically generate ChangeLog.

 ChangeLog    | 2724 ----------------------------------------------------------
 Makefile.am  |   20 +-
 configure.in |    2 +-
 3 files changed, 17 insertions(+), 2729 deletions(-)

commit 76f2e5d5442d3200c8ca09681a887830775c84c0
Merge: ca17612 db7fe85
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Sep 4 17:19:38 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Broken device numbering reverted
      assert on malformed messages
      forwarder and streamer devices handle multi-part messages correctly
      improved null checking in zmq_term
    
    Conflicts:
    	AUTHORS
    	include/zmq.h
    	src/zmq.cpp

commit db7fe858d6356988fb9a9270c235178e523b2370
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Sep 4 17:12:08 2010 +0200

    Broken device numbering reverted

 include/zmq.h |   64 ++++++++++++++++++++++++++++-----------------------------
 1 file changed, 32 insertions(+), 32 deletions(-)

commit 10227899b1ccdaecf709fbfc7b765e147baf3080
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Fri Aug 27 18:06:37 2010 +0200

    assert on malformed messages

 src/zmq_decoder.cpp |    7 +++++++
 1 file changed, 7 insertions(+)

commit c2f3b3b4458187085e148850068f9719c2567614
Author: Jon Dyte <jon@totient.co.uk>
Date:   Fri Aug 27 06:59:55 2010 +0200

    forwarder and streamer devices handle multi-part messages correctly

 src/forwarder.cpp |   17 ++++++++++++++---
 src/queue.cpp     |   15 ++++++++-------
 src/streamer.cpp  |   17 ++++++++++++++---
 3 files changed, 36 insertions(+), 13 deletions(-)

commit ae567be0c295d9c18da5ba4be4f8403cc844a9a3
Author: Ivo Danihelka <ivo@danihelka.net>
Date:   Thu Aug 26 12:14:53 2010 +0200

    improved null checking in zmq_term

 AUTHORS     |    1 +
 src/zmq.cpp |    7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

commit ca176121deb8dbdc62d8a37fec377c07fc786480
Merge: 2673a84 51a84c1
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 16:24:21 2010 +0200

    Merge branch 'maint'
    
    * maint:
      zmq::select_t, zmq_poll(): assert if FD_SETSIZE reached
      zmq.h: Fix typo and use of C99 comment
    
    Conflicts:
    	src/zmq.cpp

commit 51a84c15ded2d70985c9d971ebdf3f3c9c18d590
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 16:12:33 2010 +0200

    zmq::select_t, zmq_poll(): assert if FD_SETSIZE reached
    
    Ensure that 0MQ does not attempt to call select() on more than FD_SETSIZE
    file descriptors.

 src/select.cpp |    4 ++++
 src/zmq.cpp    |    4 ++++
 2 files changed, 8 insertions(+)

commit f850190c16df0d55015dc15cd5c0c50289db5dda
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 16:10:14 2010 +0200

    zmq.h: Fix typo and use of C99 comment

 include/zmq.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2673a84e07b93b8607958516c55341c2eb220a6e
Merge: 0a1f7e3 ee3444f
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 16:01:31 2010 +0200

    Merge branch 'maint'
    
    * maint:
      doc: Update zmq_socket(3) for 2.0.8 API changes
      Revert "Added man page for the zmq_device method"
      Revert "Added clean target that deletes generated man pages"
      Revert "Various changes to documentation project:"
      Revert "Reverting 'clean' change to Makefile"
      Revert "Removed empty man pages for old standalone devices"
      Revert "Further cleanups on reference manual"
      Revert "Small improvements to zmq_device(3) page"
      Revert "Removed wip zmq_deviced from master"

commit ee3444ff93888a052cd1ba48aa22892f7077a7a0
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 16:00:26 2010 +0200

    doc: Update zmq_socket(3) for 2.0.8 API changes

 doc/zmq_socket.txt |   40 ++++++++++++++++++++++------------------
 1 file changed, 22 insertions(+), 18 deletions(-)

commit 26b39bcdef390f45bb316c4488b51470c27086e2
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 15:55:41 2010 +0200

    Revert "Added man page for the zmq_device method"
    
    This reverts commit f575f252c99c99d3622f313d6bbad6635197a1e4.
    
    Conflicts:
    
    	doc/zmq_device.txt

 doc/zmq_device.txt |   99 ----------------------------------------------------
 1 file changed, 99 deletions(-)

commit 8800ac7de5d50426b0459ebea4568bb77954ea3d
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 15:55:19 2010 +0200

    Revert "Added clean target that deletes generated man pages"
    
    This reverts commit 6cd90304476c1c6873d67068009def63e520b848.

 doc/Makefile.am |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

commit 32baeb610e779862b58c56f66571b01599743a9e
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 15:55:11 2010 +0200

    Revert "Various changes to documentation project:"
    
    This reverts commit 77a3c36ff1f11215229a4efdb821a3cb83a9d6fc.

 doc/asciidoc.conf         |   15 ------
 doc/zmq.txt               |   19 +++++++
 doc/zmq_bind.txt          |    9 +++-
 doc/zmq_close.txt         |    4 ++
 doc/zmq_connect.txt       |    4 ++
 doc/zmq_cpp.txt           |    4 ++
 doc/zmq_deviced.txt       |  123 ---------------------------------------------
 doc/zmq_errno.txt         |    4 ++
 doc/zmq_forwarder.txt     |    4 ++
 doc/zmq_getsockopt.txt    |    4 ++
 doc/zmq_init.txt          |    4 ++
 doc/zmq_inproc.txt        |    4 ++
 doc/zmq_ipc.txt           |    4 ++
 doc/zmq_msg_close.txt     |    4 ++
 doc/zmq_msg_copy.txt      |    4 ++
 doc/zmq_msg_data.txt      |    4 ++
 doc/zmq_msg_init.txt      |    4 ++
 doc/zmq_msg_init_data.txt |    4 ++
 doc/zmq_msg_init_size.txt |    4 ++
 doc/zmq_msg_move.txt      |    4 ++
 doc/zmq_msg_size.txt      |    4 ++
 doc/zmq_pgm.txt           |    5 +-
 doc/zmq_poll.txt          |    4 ++
 doc/zmq_queue.txt         |    4 ++
 doc/zmq_recv.txt          |    4 ++
 doc/zmq_send.txt          |    4 ++
 doc/zmq_setsockopt.txt    |    4 ++
 doc/zmq_socket.txt        |   31 ++++++------
 doc/zmq_streamer.txt      |    4 ++
 doc/zmq_strerror.txt      |    4 ++
 doc/zmq_tcp.txt           |    4 ++
 doc/zmq_term.txt          |    5 ++
 doc/zmq_version.txt       |    4 ++
 33 files changed, 155 insertions(+), 156 deletions(-)

commit 4cb6dbd52f5ab65350a448ceb07ff77eacc2b84c
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 15:55:03 2010 +0200

    Revert "Reverting 'clean' change to Makefile"
    
    This reverts commit c51de31f2fd31f782e419bfac2fb8d40d689f3e3.

 doc/Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

commit 48d3e2d6607499b8c5feb1258c9bd40519923c69
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 15:54:53 2010 +0200

    Revert "Removed empty man pages for old standalone devices"
    
    This reverts commit 6ff193999d96487f7aa7e578980ab5554e61d8dc.

 doc/asciidoc.conf     |    2 +-
 doc/zmq_forwarder.txt |   29 +++++++++++++++++++++++++++++
 doc/zmq_queue.txt     |   29 +++++++++++++++++++++++++++++
 doc/zmq_streamer.txt  |   29 +++++++++++++++++++++++++++++
 4 files changed, 88 insertions(+), 1 deletion(-)

commit 6c393f53e28f41118eed9a8d034d8d46f2555572
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 15:54:34 2010 +0200

    Revert "Further cleanups on reference manual"
    
    This reverts commit 13f3481e127a6b2390e847af6b01ee88f1b4ae61.
    
    Conflicts:
    
    	doc/zmq_device.txt
    	doc/zmq_tcp.txt

 doc/zmq.txt            |   22 +++++++++++-------
 doc/zmq_bind.txt       |   13 ++++-------
 doc/zmq_connect.txt    |   13 ++++-------
 doc/zmq_device.txt     |   60 +++++++++++-------------------------------------
 doc/zmq_deviced.txt    |   50 +++++++++++-----------------------------
 doc/zmq_getsockopt.txt |    2 +-
 doc/zmq_pgm.txt        |    4 ++--
 doc/zmq_poll.txt       |    4 ++--
 doc/zmq_setsockopt.txt |    2 +-
 doc/zmq_tcp.txt        |    8 +++----
 10 files changed, 60 insertions(+), 118 deletions(-)

commit 6647e61243fdfbdc600ef3bfbd15b7c2ca6e853e
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 15:51:40 2010 +0200

    Revert "Small improvements to zmq_device(3) page"
    
    This reverts commit 96bcc9e6cf73781c31042278eb960c0363a78805.

 doc/zmq_device.txt |   32 ++++++++++----------------------
 1 file changed, 10 insertions(+), 22 deletions(-)

commit 83d253d72d4fe83f4a001a7cfb4059ccc52b04e0
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Sep 4 15:51:09 2010 +0200

    Revert "Removed wip zmq_deviced from master"
    
    This reverts commit de0173754cc82f6c08875a892892f043a804554c.

 doc/Makefile.am     |    2 +-
 doc/zmq.txt         |    4 +-
 doc/zmq_deviced.txt |  145 +++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 149 insertions(+), 2 deletions(-)

commit 0a1f7e3524338690551c04ebfccd896a0b96f399
Merge: a81a373 14853c2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 2 08:07:40 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Prior to this patch prefix_tree asserts.
      Fix for signaler_t on HP-UX and AIX platforms
      Mikael Kjaer added to AUTHORS
    
    Conflicts:
    	src/trie.cpp

commit 14853c2db528b3fd6eed84786053549e71f61bb7
Author: Jon Dyte <jon@totient.co.uk>
Date:   Thu Sep 2 07:52:02 2010 +0200

    Prior to this patch prefix_tree asserts.
    
    This is because as it adds the 255th element at a node it attempts to calculate
    the count member var which is an unsigned char via count = (255 -0) + 1; and
    pass the result to realloc. Unfortunately the result is zero and realloc returns
    null; the prefix_tree asserts. I have fixed it by making the count an unsigned
    short.

 src/prefix_tree.cpp |   12 ++++++------
 src/prefix_tree.hpp |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

commit 8ec0743c7551de3c76126d080961cece732370f1
Author: Bernd Melchers <melchers@ZEDAT.FU-Berlin.DE>
Date:   Thu Sep 2 07:33:57 2010 +0200

    Fix for signaler_t on HP-UX and AIX platforms

 AUTHORS          |    1 +
 src/signaler.cpp |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

commit d5b6f680a54c682da066e769c46075a4bc57bd55
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Sep 2 07:26:14 2010 +0200

    Mikael Kjaer added to AUTHORS

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit a81a37399b2ab4143aedf3ff4c442655b9e7e9b7
Merge: 47aaf10 59315eb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 1 18:42:15 2010 +0200

    Merge branch 'maint'
    
    * maint:
      Erasure of retired fd's in select.cpp causes an assertion in MSVC 2008 STL

commit 59315ebdcb565d23ba78ba0ca8581cef465fc9bd
Author: Mikael Helbo Kjær <mhk@designtech.dk>
Date:   Wed Sep 1 18:39:12 2010 +0200

    Erasure of retired fd's in select.cpp causes an assertion in MSVC 2008 STL
    
    I was hitting an issue with an SCL enabled STL library in connection with the
    way select_t::loop was erasing retired fd's. The problem as identified by the
    SCL assertion was that by the time the iterator given to the erase method was
    called it was considered invalid by the library. I am not sure this isn't just
    a "quirk" of the MSVC STL library as the other code looks valid to me as well.

 src/select.cpp |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

commit 47aaf10211a0f3380dc82942a8cb4eba8c3c7ea3
Merge: 0fe7d3c 99ddfa7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 1 18:35:48 2010 +0200

    Merge branch 'maint'
    
    * maint:
      maint: will become 2.0.9
    
    Conflicts:
    	builds/msvc/platform.hpp
    	configure.in

commit 99ddfa7d65a4556bdbb68fd1831e2de73595f0c7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 1 18:22:03 2010 +0200

    maint: will become 2.0.9

 builds/msvc/platform.hpp |    2 +-
 configure.in             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 0fe7d3c998f65fb93b0f3d15c40d8bc2fe0923ad
Merge: 651c1ad 6a0c323
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 1 15:29:19 2010 +0200

    conflicts resolved

commit 651c1adc80ddc724877f2ebedf07d18e21e363f6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 1 15:24:46 2010 +0200

    sys transport introdced; inproc://log moved to sys://log

 src/ctx.cpp         |    2 +-
 src/socket_base.cpp |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

commit 6a0c323bb231a2460c238cd0b93293fcd482f9bc
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 1 13:31:45 2010 +0200

    MSVC build fixed

 builds/msvc/libzmq/libzmq.vcproj |   24 ++++++++----------------
 src/ctx.cpp                      |    6 ++++--
 2 files changed, 12 insertions(+), 18 deletions(-)

commit ce0972dca3982538fd123b61fbae3928fad6d1e7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 1 07:57:38 2010 +0200

    context creates an inproc endpoint ('inproc://log') to distribute 0MQ's log messages

 src/ctx.cpp    |   25 +++++++++++++++++++++++--
 src/ctx.hpp    |   10 ++++++++++
 src/object.cpp |    5 +++++
 src/object.hpp |    5 +++++
 4 files changed, 43 insertions(+), 2 deletions(-)

commit db73c76314d7109da4b400a3edb107c4eda802a2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 1 07:56:04 2010 +0200

    assert when pipe attaches to PUB socket in process of termination -- fixed

 src/pub.cpp |    1 -
 1 file changed, 1 deletion(-)

commit aaa07613d3d7ff1eafcec3d38769f806fae5ac5c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 1 07:54:57 2010 +0200

    pipe being attached to the PAIR socket during its termination process is immediately asked to terminate itself

 src/pair.cpp |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 47c064f2eaa01c324e06588a4f07892762e78fcd
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Sep 1 07:35:15 2010 +0200

    hangup when closing socket with no pipes attached -- fixed

 src/fq.cpp |    5 +++++
 src/lb.cpp |    5 +++++
 2 files changed, 10 insertions(+)

commit 090e460d6f09b5611d34a4867efb6cf46dd44a34
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Aug 31 21:03:34 2010 +0200

    naming cleanup: yarray->array

 src/Makefile.am     |    3 +-
 src/array.hpp       |  146 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/ctx.hpp         |    4 +-
 src/fq.hpp          |    4 +-
 src/lb.hpp          |    4 +-
 src/pipe.hpp        |    6 +--
 src/pub.hpp         |    4 +-
 src/socket_base.hpp |    4 +-
 src/yarray.hpp      |  110 --------------------------------------
 src/yarray_item.hpp |   64 ----------------------
 10 files changed, 160 insertions(+), 189 deletions(-)

commit f5acbb5095901e56a9bfd29b9a8c1c7d3f165ce3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Aug 31 07:01:40 2010 +0200

    naming cleanup: zmq_encoder->encoder, zmq_decoder->decoder

 src/Makefile.am      |    6 +--
 src/decoder.cpp      |  114 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/decoder.hpp      |   47 +++++++++++++++++----
 src/encoder.cpp      |   89 +++++++++++++++++++++++++++++++++++++++
 src/encoder.hpp      |   39 +++++++++++++----
 src/pgm_receiver.cpp |    2 +-
 src/pgm_receiver.hpp |    6 +--
 src/pgm_sender.hpp   |    4 +-
 src/zmq_decoder.cpp  |  114 --------------------------------------------------
 src/zmq_decoder.hpp  |   59 --------------------------
 src/zmq_encoder.cpp  |   89 ---------------------------------------
 src/zmq_encoder.hpp  |   55 ------------------------
 src/zmq_engine.hpp   |    8 ++--
 13 files changed, 283 insertions(+), 349 deletions(-)

commit e45583c0f2b8fb11f119317e7c94052c07c24ea8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Aug 30 17:04:51 2010 +0200

    OSX build fixed -- semaphore replaced by mutex

 src/semaphore.hpp |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 53 insertions(+), 2 deletions(-)

commit f0a36f9994e0a4e6e509bdf4b6dd75af27f984bb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Aug 30 15:28:08 2010 +0200

    Minor patch to zmq_cpp(7)

 doc/zmq_cpp.txt |    2 ++
 1 file changed, 2 insertions(+)

commit fba90af8a7cc4a790cc9c77b6313fc253b51c36c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Aug 30 12:10:40 2010 +0200

    Issue 54 - socket_base.cpp:162 comparison error

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 68d62cfb4eb89549a3118e8e396531452b1174c3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 28 14:07:26 2010 +0200

    MSVC build fixed

 builds/msvc/libzmq/libzmq.vcproj |   32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

commit 0a8473deddae61a8c9221c3df089239ac2e2ca62
Author: Guido Goldstein <zmq@a-nugget.de>
Date:   Sat Aug 28 13:58:23 2010 +0200

    Added tests for transports per socket

 tests/Makefile.am            |   17 ++++++---
 tests/simple.cpp             |   32 -----------------
 tests/test_pair.cpp          |   78 ------------------------------------------
 tests/test_pair_inproc.cpp   |   30 ++++++++++++++++
 tests/test_pair_ipc.cpp      |   30 ++++++++++++++++
 tests/test_pair_tcp.cpp      |   30 ++++++++++++++++
 tests/test_reqrep.cpp        |   77 -----------------------------------------
 tests/test_reqrep_inproc.cpp |   30 ++++++++++++++++
 tests/test_reqrep_ipc.cpp    |   30 ++++++++++++++++
 tests/test_reqrep_tcp.cpp    |   30 ++++++++++++++++
 tests/testutil.hpp           |   69 ++++++++++++++++++++++++++++++++++---
 11 files changed, 258 insertions(+), 195 deletions(-)

commit 6ec783e7023b4c4d4d10a3870b4c560684ae7069
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 28 13:26:19 2010 +0200

    prefix_tree_t renamed to trie_t

 src/Makefile.am     |    4 +-
 src/prefix_tree.cpp |  180 ---------------------------------------------------
 src/prefix_tree.hpp |   55 ----------------
 src/sub.hpp         |    4 +-
 src/trie.cpp        |  180 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/trie.hpp        |   58 +++++++++++++++++
 6 files changed, 242 insertions(+), 239 deletions(-)

commit beea535f9d7ff210ea035de190c0d87184ee1963
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 28 13:18:53 2010 +0200

    swap's block size made into a compile-time parameter

 src/config.hpp |    4 ++++
 src/swap.cpp   |    5 +++--
 src/swap.hpp   |    2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

commit d8b975f4e73ae940c0c0f9c8c6c7aac1199fee09
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 28 13:14:45 2010 +0200

    msg_store_t renamed to swap_t

 src/Makefile.am   |    4 +-
 src/msg_store.cpp |  307 -----------------------------------------------------
 src/msg_store.hpp |  114 --------------------
 src/pipe.cpp      |    2 +-
 src/pipe.hpp      |    4 +-
 src/swap.cpp      |  307 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/swap.hpp      |  114 ++++++++++++++++++++
 7 files changed, 426 insertions(+), 426 deletions(-)

commit d90b4071151e3752208d3a9d49fb50845f89ab1b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 28 13:06:58 2010 +0200

    refactoring of pipe/swap interaction

 src/pipe.cpp |  194 ++++++++++++++++++++++++++++++----------------------------
 src/pipe.hpp |   39 ++++++------
 2 files changed, 120 insertions(+), 113 deletions(-)

commit 42000d2c4f988a164eaeb9b580a4f588d91e353e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 28 10:15:03 2010 +0200

    terminology unified: revive->activate

 src/command.hpp     |   13 ++++++-------
 src/fq.cpp          |    4 ++--
 src/object.cpp      |   26 +++++++++++++-------------
 src/object.hpp      |    8 ++++----
 src/pipe.cpp        |    8 ++++----
 src/pipe.hpp        |    4 ++--
 src/socket_base.cpp |    5 +++--
 7 files changed, 34 insertions(+), 34 deletions(-)

commit 92923cd40b645af844c5ed1055a0a45c6daa3c89
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 28 08:44:12 2010 +0200

    bug in pipe deactivation fixed

 src/pipe.cpp          |    8 +++-----
 src/socket_base.cpp   |    2 +-
 tests/test_pair.cpp   |    7 ++++---
 tests/test_reqrep.cpp |    4 ++--
 4 files changed, 10 insertions(+), 11 deletions(-)

commit 035c937ee7452708a9dd3abd851fda6a753808f4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 28 07:02:22 2010 +0200

    zmq_poll: account for the fact that ZMQ_FD is edge-triggered

 src/zmq.cpp |   31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)

commit 67aa788577fb49474dd7329b14316d25f1b3c08b
Author: Guido Goldstein <zmq@a-nugget.de>
Date:   Sat Aug 28 06:31:40 2010 +0200

    Fixed socket states in tests

 tests/test_pair.cpp   |    3 +++
 tests/test_reqrep.cpp |    3 +++
 tests/testutil.hpp    |    6 +++++-
 3 files changed, 11 insertions(+), 1 deletion(-)

commit 4d9b046977f895f8d61731672a5e84967ed85eb2
Author: Guido Goldstein <zmq@a-nugget.de>
Date:   Fri Aug 27 21:13:45 2010 +0200

    two tests added

 AUTHORS               |    1 +
 tests/Makefile.am     |    4 ++-
 tests/simple.cpp      |    2 +-
 tests/test_pair.cpp   |   74 +++++++++++++++++++++++++++++++++++++++++++++++++
 tests/test_reqrep.cpp |   74 +++++++++++++++++++++++++++++++++++++++++++++++++
 tests/testutil.hpp    |   64 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 217 insertions(+), 2 deletions(-)

commit 0b76f234a2c521194029c6708c394391dfc66ea7
Merge: 35cb1fa 98dc118
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Aug 27 18:41:10 2010 +0200

    Merge branch 'master' of github.com:zeromq/zeromq2

commit 35cb1fade62a92fdccc9fa0d75a3b69115c56c35
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Aug 27 18:35:59 2010 +0200

    Add a basic framework for a test suite
    
    The test suite uses the standard automake support. Tests are always built,
    but run only when you do a "make check".

 Makefile.am       |    4 ++--
 configure.in      |    2 +-
 tests/Makefile.am |    8 ++++++++
 tests/simple.cpp  |   32 ++++++++++++++++++++++++++++++++
 4 files changed, 43 insertions(+), 3 deletions(-)

commit 98dc11843e3234e3d70b50d4f650089e7cf99e63
Author: Dhammika Pathirana <dhammika@gmail.com>
Date:   Fri Aug 27 18:06:37 2010 +0200

    assert on malformed messages

 src/zmq_decoder.cpp |    7 +++++++
 1 file changed, 7 insertions(+)

commit 56faac7f19bf2a6d2c7b6e0c2e35fcb667a72a48
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Aug 27 15:01:38 2010 +0200

    zmq_poll returns prematurely even if infinite timeout is set - fixed

 src/zmq.cpp |  204 +++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 114 insertions(+), 90 deletions(-)

commit 3cb84b5ceac0f8652a99ec61152a865292e02cf1
Author: Jon Dyte <jon@totient.co.uk>
Date:   Fri Aug 27 06:59:55 2010 +0200

    forwarder and streamer devices handle multi-part messages correctly

 src/forwarder.cpp |   17 ++++++++++++++---
 src/queue.cpp     |   15 ++++++++-------
 src/streamer.cpp  |   17 ++++++++++++++---
 3 files changed, 36 insertions(+), 13 deletions(-)

commit 43f2c6ff5b15d6feae2bd608e50503f7d4c62682
Author: Ivo Danihelka <ivo@danihelka.net>
Date:   Thu Aug 26 12:14:53 2010 +0200

    improved null checking in zmq_term

 AUTHORS     |    1 +
 src/zmq.cpp |    7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

commit b608c19c5a28f0f49a106bfddf680f0a410df6c8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Aug 24 15:58:48 2010 +0200

    MSVC build fixed

 builds/msvc/libzmq/libzmq.vcproj |   52 +++++++++++++++++++++++++-------------
 src/pipe.hpp                     |    9 ++++---
 src/socket_base.cpp              |    1 +
 3 files changed, 40 insertions(+), 22 deletions(-)

commit 9b8993efb48ccbe3df917338cc078129b5af495b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Aug 24 11:19:22 2010 +0200

    elementary fixes to the named session

 src/named_session.cpp |   21 +++++++++++----------
 src/session.cpp       |   37 +++++++++++--------------------------
 src/session.hpp       |    9 ++++-----
 src/socket_base.cpp   |   12 ++++++------
 src/socket_base.hpp   |    7 +++----
 src/zmq_init.cpp      |    6 ++----
 6 files changed, 37 insertions(+), 55 deletions(-)

commit 46d70555659c05a0c8d95c6d7aa8c7e0cc5ebc66
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Aug 24 10:20:55 2010 +0200

    connecter object unregisters its fd correctly

 src/zmq_connecter.cpp |   12 ++++--------
 src/zmq_connecter.hpp |    1 -
 2 files changed, 4 insertions(+), 9 deletions(-)

commit 87655b0b9d9121465e0b2ea1976b0879b1b1f756
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Aug 24 09:57:15 2010 +0200

    listener object unregisters its fd correctly

 src/zmq_engine.cpp   |    3 ---
 src/zmq_listener.cpp |    5 ++---
 src/zmq_listener.hpp |    2 +-
 3 files changed, 3 insertions(+), 7 deletions(-)

commit 0d5f3ebbdad12a63e7cc28c53c38d750761a75e3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Aug 24 09:39:17 2010 +0200

    sessions created by listerner are correctly shut down

 src/session.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 5a731e73c855cd96040b3ecd55ef3b65606e1eb6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 14 08:53:52 2010 +0200

    added ZMQ_MAKE_VALGRIND_HAPPY compile-time option

 perf/remote_thr.cpp |    8 ++++++--
 src/object.cpp      |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 2 deletions(-)

commit 43e34d028115c43577713c0c3e1f0c33b0aac94a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 14 08:37:38 2010 +0200

    engine leak fixed; pgm compilation fixed

 src/connect_session.cpp |   20 ++++++++------------
 src/i_engine.hpp        |    4 ++++
 src/pgm_receiver.cpp    |   12 +++++++++---
 src/pgm_receiver.hpp    |    7 ++++---
 src/pgm_sender.cpp      |   12 +++++++++---
 src/pgm_sender.hpp      |    7 ++++---
 src/session.cpp         |    3 +++
 src/socket_base.cpp     |    2 --
 src/zmq_engine.cpp      |    6 ++++++
 src/zmq_engine.hpp      |    1 +
 10 files changed, 48 insertions(+), 26 deletions(-)

commit 45f83d78a56f4b3a812c87fec03a75558445b2ab
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Aug 12 15:03:51 2010 +0200

    one more dezombification bug fixed

 src/ctx.cpp         |   33 +++++++++------------------------
 src/ctx.hpp         |    7 +------
 src/object.cpp      |    5 -----
 src/object.hpp      |    3 ---
 src/own.cpp         |    7 ++++++-
 src/own.hpp         |    5 ++++-
 src/socket_base.cpp |   21 ++++++++++++++++-----
 src/socket_base.hpp |   12 ++++++++++--
 8 files changed, 46 insertions(+), 47 deletions(-)

commit 936dbf956b0f1471a96fc06bcba67765257dbc4a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Aug 12 08:16:18 2010 +0200

    dezombification procedure fixed

 src/ctx.cpp         |   46 ++++++++++++++++++++++++++++++++++------------
 src/ctx.hpp         |   12 ++++++++----
 src/object.cpp      |    5 +++++
 src/object.hpp      |    3 +++
 src/socket_base.cpp |   10 ++++++----
 src/socket_base.hpp |    4 ++--
 src/zmq.cpp         |    2 +-
 7 files changed, 59 insertions(+), 23 deletions(-)

commit 76bd6e73c335dbebd8bd30565f83a810058f2cc8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Aug 11 17:06:49 2010 +0200

    engine termination on disconnect fixed

 src/connect_session.cpp   |    2 +-
 src/connect_session.hpp   |    6 +++---
 src/session.cpp           |   14 ++++++++++++--
 src/session.hpp           |    1 +
 src/transient_session.cpp |    2 +-
 src/transient_session.hpp |    5 +++--
 6 files changed, 21 insertions(+), 9 deletions(-)

commit d13933bc62fce71b5a58118020e0dd3776e79aa9
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Aug 11 14:09:56 2010 +0200

    I/O object hierarchy implemented

 src/Makefile.am            |   11 +-
 src/command.hpp            |    4 +-
 src/connect_session.cpp    |  115 ++++++++++++
 src/connect_session.hpp    |   60 ++++++
 src/ctx.cpp                |    6 +-
 src/ctx.hpp                |    2 +-
 src/fq.cpp                 |   21 ++-
 src/fq.hpp                 |   11 +-
 src/i_engine.hpp           |   15 +-
 src/i_inout.hpp            |   21 +--
 src/i_terminate_events.hpp |   38 ++++
 src/io_object.cpp          |   22 ++-
 src/io_object.hpp          |   10 +-
 src/lb.cpp                 |   22 ++-
 src/lb.hpp                 |   11 +-
 src/named_session.cpp      |   87 +++++++++
 src/named_session.hpp      |   56 ++++++
 src/object.cpp             |   26 ++-
 src/object.hpp             |   23 +--
 src/own.cpp                |  198 ++++++++++++++++++++
 src/own.hpp                |  132 ++++++++++++++
 src/owned.cpp              |   77 --------
 src/owned.hpp              |   94 ----------
 src/pair.cpp               |   28 ++-
 src/pair.hpp               |    7 +-
 src/pub.cpp                |   26 ++-
 src/pub.hpp                |    8 +-
 src/pull.cpp               |   14 +-
 src/pull.hpp               |   17 +-
 src/push.cpp               |   14 +-
 src/push.hpp               |   17 +-
 src/session.cpp            |  161 ++++++----------
 src/session.hpp            |   73 +++++---
 src/socket_base.cpp        |  435 +++++++++++++-------------------------------
 src/socket_base.hpp        |   68 ++-----
 src/sub.cpp                |   12 +-
 src/sub.hpp                |   11 +-
 src/transient_session.cpp  |   36 ++++
 src/transient_session.hpp  |   46 +++++
 src/xrep.cpp               |   25 ++-
 src/xrep.hpp               |   12 +-
 src/xreq.cpp               |   17 +-
 src/xreq.hpp               |   13 +-
 src/zmq_connecter.cpp      |   38 ++--
 src/zmq_connecter.hpp      |   24 +--
 src/zmq_engine.cpp         |   52 +++---
 src/zmq_engine.hpp         |   14 +-
 src/zmq_init.cpp           |  142 +++++++--------
 src/zmq_init.hpp           |   33 ++--
 src/zmq_listener.cpp       |   19 +-
 src/zmq_listener.hpp       |   11 +-
 51 files changed, 1441 insertions(+), 994 deletions(-)

commit ee1f1af0091d9bdffa0e5ce1783da925b3cd7e56
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Aug 7 21:04:30 2010 +0200

    zmq_poll(): Fix some corner cases
    
    Trying to optimize out the case where items_[i]. events is 0 would
    result in a bogus pollfds[i]. Similarly in the select()-based impl,
    while not strictly necessary it's better to get ZMQ_FD even if
    events is 0 since that detects ETERM and friends.

 src/zmq.cpp |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

commit a85d1e51bff991a0d2f93ded2724e0ee290edf12
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Aug 7 20:35:42 2010 +0200

    zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt2
    
    Rewrite the select()-based zmq_poll() implementation to use
    ZMQ_FD and ZMQ_EVENTS.
    
    Also fix some corner cases: We should not pollute revents with
    unrequested events, and we don't need to poll on ZMQ_FD at all
    if a pollitem with no events set was passed in.

 src/zmq.cpp |  227 +++++++++++++++++++++++------------------------------------
 1 file changed, 90 insertions(+), 137 deletions(-)

commit 6b1ca2cb1e0adc9f28aae8d322b0832a3b174a04
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Aug 7 18:33:44 2010 +0200

    Fix whitespace
    
    Dunno where those <TAB>s came from...

 src/zmq.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit cd12508418530724f10a353fc3a14ab321d0be8e
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Aug 7 18:24:12 2010 +0200

    zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt1
    
    Rewrite zmq_poll() to use ZMQ_FD and ZMQ_EVENTS introduced on the
    wip-shutdown branch. Only do the poll()-based version of zmq_poll (), the
    select()-based version will not compile at the moment.

 src/zmq.cpp |  169 +++++++++++++++++++----------------------------------------
 1 file changed, 54 insertions(+), 115 deletions(-)

commit eb7b8a413a99b2e43e8feee410f2b860e99e7056
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 7 11:24:07 2010 +0200

    REP socket layered on top of XREP socket

 src/rep.cpp |  263 +++++++++--------------------------------------------------
 src/rep.hpp |   49 ++---------
 2 files changed, 45 insertions(+), 267 deletions(-)

commit 3e97c0fef49e511dcae400e134876581cdae43f3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Aug 7 09:52:34 2010 +0200

    REQ socket implementation is layered on top of XREQ

 src/fq.cpp   |    7 ++
 src/pipe.cpp |    6 +-
 src/req.cpp  |  243 ++++++++--------------------------------------------------
 src/req.hpp  |   54 ++-----------
 4 files changed, 47 insertions(+), 263 deletions(-)

commit f77edfce26bf50ab6eae6550d33f345c9785acca
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Aug 6 20:55:37 2010 +0200

    Destruction of session is delayed till both in & out pipes are closed

 src/pipe.cpp    |    5 -----
 src/pipe.hpp    |    4 ----
 src/session.cpp |    7 ++++---
 3 files changed, 4 insertions(+), 12 deletions(-)

commit 05d908492dc382941fc633ad7082b5bd86e84e67
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Aug 6 17:49:37 2010 +0200

    WIP: Socket migration between threads, new zmq_close() semantics
    
    Sockets may now be migrated between OS threads; sockets may not be used by
    more than one thread at any time. To migrate a socket to another thread the
    caller must ensure that a full memory barrier is called before using the
    socket from the target thread.
    
    The new zmq_close() semantics implement the behaviour discussed at:
    
    http://lists.zeromq.org/pipermail/zeromq-dev/2010-July/004244.html
    
    Specifically, zmq_close() is now deterministic and while it still returns
    immediately, it does not discard any data that may still be queued for
    sending. Further, zmq_term() will now block until all outstanding data has
    been sent.
    
    TODO: Many bugs have been introduced, needs testing. Further, SO_LINGER or
    an equivalent mechanism (possibly a configurable timeout to zmq_term())
    needs to be implemented.

 include/zmq.h       |   70 ++++----
 src/Makefile.am     |   15 +-
 src/app_thread.cpp  |  195 --------------------
 src/app_thread.hpp  |   88 ---------
 src/config.hpp      |    5 +-
 src/ctx.cpp         |  249 ++++++++++++--------------
 src/ctx.hpp         |   94 ++++------
 src/fq.cpp          |   29 +--
 src/fq.hpp          |   17 +-
 src/i_endpoint.hpp  |   43 -----
 src/io_thread.cpp   |    5 +-
 src/io_thread.hpp   |    2 +-
 src/lb.cpp          |   21 ++-
 src/lb.hpp          |   13 +-
 src/object.cpp      |   29 ++-
 src/object.hpp      |   14 +-
 src/owned.cpp       |   10 +-
 src/owned.hpp       |    9 +-
 src/pair.cpp        |   72 ++++----
 src/pair.hpp        |   26 ++-
 src/pipe.cpp        |  250 +++++++++++++++-----------
 src/pipe.hpp        |  111 +++++++-----
 src/pub.cpp         |   62 +++----
 src/pub.hpp         |   21 ++-
 src/pull.cpp        |   48 +----
 src/pull.hpp        |   16 +-
 src/push.cpp        |   50 +-----
 src/push.hpp        |   16 +-
 src/rep.cpp         |   81 ++++++---
 src/rep.hpp         |   30 ++--
 src/req.cpp         |   65 ++++---
 src/req.hpp         |   32 ++--
 src/semaphore.hpp   |  135 ++++++++++++++
 src/session.cpp     |   62 +++----
 src/session.hpp     |   26 ++-
 src/socket_base.cpp |  495 +++++++++++++++++++++++++++++++++++++--------------
 src/socket_base.hpp |  100 +++++++----
 src/sub.cpp         |   40 +----
 src/sub.hpp         |   11 +-
 src/thread.cpp      |   20 ---
 src/thread.hpp      |    9 -
 src/xrep.cpp        |   65 +++----
 src/xrep.hpp        |   26 ++-
 src/xreq.cpp        |   37 +---
 src/xreq.hpp        |   10 +-
 src/zmq.cpp         |    7 +-
 src/zmq_encoder.cpp |    2 +-
 47 files changed, 1427 insertions(+), 1406 deletions(-)

commit b7e0fa972f45d21e45cacb93a1a92d38fdc11f40
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Aug 25 15:38:43 2010 +0200

    'master' will become 2.1.x release

 builds/msvc/platform.hpp |    4 ++--
 configure.in             |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit 1e089f7163c8c59b60b39742ee4bc40e1ca843c5
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Aug 25 13:11:20 2010 +0200

    Update ChangeLog for v2.0.8

 ChangeLog |  493 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 493 insertions(+)

commit c9076c5d8b9b69f4e1bf797127735a563b712eb9
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Aug 25 12:50:16 2010 +0200

    Basic documentation for XREQ/XREP socket types
    
    Add some basic documentation for XREQ/XREP socket types, including
    a brief description of the most common use case (REQ -> XREP) and (XREQ ->
    REP).

 doc/zmq_socket.txt |   59 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

commit 6d275a8788ad06dda451845402877010f114d6d4
Merge: 98bea86 d788c1f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 25 12:09:55 2010 +0200

    Updated NEWS for stable 2.0.8 release

commit 98bea86240c3e2cb0c1c9832f5660994a0a11f34
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 25 11:43:52 2010 +0200

    Updated NEWS for stable 2.0.8 release

 NEWS |   54 ++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 48 insertions(+), 6 deletions(-)

commit d788c1f7e49305976f3e1d0540c5671c47348880
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 25 11:43:52 2010 +0200

    Updated NEWS for stable 2.0.8 release

 NEWS |   47 +++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 41 insertions(+), 6 deletions(-)

commit c06a3cc5101a36bf70c593937374371cafbacfc3
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Aug 25 11:24:24 2010 +0200

    Update version number to 2.0.8

 builds/msvc/platform.hpp |    2 +-
 configure.in             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit b66dd7afd20b82668a3d7756900c91680bd1d91e
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Aug 25 09:50:45 2010 +0200

    zmq_stopwatch_stop: Don't return EFAULT
    
    Function returning unsigned long int cannot return (-1)

 src/zmq.cpp |    4 ----
 1 file changed, 4 deletions(-)

commit 2b2accb8bf574bfb7d85893696f477d5bc6ca272
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Aug 21 15:47:10 2010 +0200

    Added calls to zmq_msg_close in examples

 doc/zmq_recv.txt |    3 +++
 1 file changed, 3 insertions(+)

commit c52d1f2d47ac93e391ff707b50245aa33d7e8323
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Aug 21 13:46:03 2010 +0200

    Fixed example for multipart zmq_recv()

 doc/zmq_recv.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 87612be91d4ff5252613196f061bd89d3bce25ec
Merge: de0035b 5be54b9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Aug 20 01:06:34 2010 +0200

    Merge branch '46_device_robustness'

commit de0035b6d9fc1c5423d10fbac468b0e17188510f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Aug 19 14:31:04 2010 +0200

    Fixed git URL in README

 README |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7aba2d10338727b030c3a9ff4ec34f7086ea5023
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Aug 18 12:00:26 2010 +0200

    documentation leftover from v2.0.6 cleaned in zmq(7)

 doc/zmq.txt |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit de0173754cc82f6c08875a892892f043a804554c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 11 21:12:10 2010 +0200

    Removed wip zmq_deviced from master

 doc/Makefile.am     |    2 +-
 doc/zmq.txt         |    4 +-
 doc/zmq_deviced.txt |  145 ---------------------------------------------------
 3 files changed, 2 insertions(+), 149 deletions(-)

commit 5be54b912029381736ee8b8798f95cc9a2544a70
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 11 17:05:19 2010 +0200

    46 - Devices vulnerable to invalid messages
    
    http://github.com/zeromq/zeromq2/issues#issue/46
    Invalid messages are now discarded silently, instead of causing an assertion
    failure.

 src/xrep.cpp |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit e74d350068e8a7d2becbd791f19e2c1ef20afae5
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 11 17:00:12 2010 +0200

    Fixed (un)signed type errors in get/setsockopt manual

 doc/zmq_getsockopt.txt |   10 +++++-----
 doc/zmq_setsockopt.txt |   10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

commit a12f446c4c160e6fb969c35ff01578e5f0965ecc
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Aug 10 12:36:56 2010 +0200

    Modified zmq_tcp(7) to emphasize wildcard interfaces

 doc/zmq_tcp.txt |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit b6cdd369e328ceca2c46758d92ad8ea6a1f59cd7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Aug 8 11:43:32 2010 +0200

    Added error checking (EFAULT) for null arguments
    
    * Fixed zmq_term, zmq_socket, zmq_close, zmq_setsockopt,
    * zmq_getsockopt, zmq_bind, zmq_connect, zmq_send,
    * zmq_recv, zmq_poll, zmq_device, zmq_stopwatch_stop
    * Updated Reference Manual for these methods

 doc/zmq_bind.txt       |    2 ++
 doc/zmq_close.txt      |    3 ++-
 doc/zmq_connect.txt    |    2 ++
 doc/zmq_device.txt     |   13 ++++++++--
 doc/zmq_getsockopt.txt |    2 ++
 doc/zmq_poll.txt       |    2 ++
 doc/zmq_recv.txt       |    2 ++
 doc/zmq_send.txt       |    2 ++
 doc/zmq_setsockopt.txt |    2 ++
 doc/zmq_socket.txt     |    3 ++-
 doc/zmq_term.txt       |    3 ++-
 src/zmq.cpp            |   63 ++++++++++++++++++++++++++++++++++++------------
 12 files changed, 79 insertions(+), 20 deletions(-)

commit 677b3d906acc97c26855bdc31126492878ad6292
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Aug 7 20:55:07 2010 +0200

    Added not-null assertions on pointer arguments in C API functions
    * zmq_term
    * zmq_socket
    * zmq_close
    * zmq_setsockopt
    * zmq_getsockopt
    * zmq_bind
    * zmq_connect
    * zmq_send
    * zmq_recv
    * zmq_poll
    * zmq_device
    * zmq_stopwatch_stop

 src/zmq.cpp |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit b579aa9510fe6897735ba2aae5db399ef89ad573
Merge: 6d35e82 2100a91
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Aug 6 12:01:40 2010 +0200

    Merge branch 'master' of github.com:zeromq/zeromq2

commit 6d35e82db4178b936b33c2eaa6a9f4a2b597e2f3
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Aug 6 12:00:57 2010 +0200

    Fix uninitialized use of nbytes in signaler fix

 src/signaler.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2100a9133312f7feecd22c4f809c8f3912c93274
Merge: 78e9ee8 16b43e6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Aug 6 11:09:29 2010 +0200

    Merge branch 'master' of github.com:zeromq/zeromq2

commit 16b43e657b44902b3b45fbb01228c813cf27ad39
Merge: 9ac2ff4 96bcc9e
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Aug 5 23:41:49 2010 +0200

    Merge branch 'master' of github.com:zeromq/zeromq2

commit 9ac2ff449ccfb71cb1f3c9d7b2cf67c440539228
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Aug 5 23:40:30 2010 +0200

    zmq::signaler_t: Restart syscalls on EINTR
    
    This patch restarts the send() or recv() inside zmq::signaler_t if the call fails
    due to EINTR.

 src/signaler.cpp |   22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

commit 78e9ee84bf0e89eeb7134771b1f501ea0f9ccd9d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Aug 5 18:49:49 2010 +0200

    Fixed MSVC project for PULL/PUSH

 builds/msvc/libzmq/libzmq.vcproj |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 96bcc9e6cf73781c31042278eb960c0363a78805
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 4 17:06:38 2010 +0200

    Small improvements to zmq_device(3) page
    
    * Clarified broker model and proxy model
    * Added example of proxy model

 doc/zmq_device.txt |   32 ++++++++++++++++++++++----------
 1 file changed, 22 insertions(+), 10 deletions(-)

commit 13f3481e127a6b2390e847af6b01ee88f1b4ae61
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 4 16:05:25 2010 +0200

    Further cleanups on reference manual
    
    - fixed unwrapped text in new man pages
    - fixed over-long lines in older pages, where possible
    - removed reference to old standalong devices from index page
    - added refernce to new zmq_device[3] documented from index page
    - some minor spelling corrections

 doc/zmq.txt            |   22 +++++++------------
 doc/zmq_bind.txt       |   13 +++++++----
 doc/zmq_connect.txt    |   13 +++++++----
 doc/zmq_device.txt     |   56 +++++++++++++++++++++++++++++++++++++-----------
 doc/zmq_deviced.txt    |   50 ++++++++++++++++++++++++++++++------------
 doc/zmq_getsockopt.txt |    2 +-
 doc/zmq_pgm.txt        |    4 ++--
 doc/zmq_poll.txt       |    4 ++--
 doc/zmq_setsockopt.txt |    2 +-
 doc/zmq_tcp.txt        |   11 +++++-----
 10 files changed, 117 insertions(+), 60 deletions(-)

commit 6ff193999d96487f7aa7e578980ab5554e61d8dc
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 4 15:07:15 2010 +0200

    Removed empty man pages for old standalone devices

 doc/asciidoc.conf     |    2 +-
 doc/zmq_forwarder.txt |   29 -----------------------------
 doc/zmq_queue.txt     |   29 -----------------------------
 doc/zmq_streamer.txt  |   29 -----------------------------
 4 files changed, 1 insertion(+), 88 deletions(-)

commit c51de31f2fd31f782e419bfac2fb8d40d689f3e3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 4 14:56:58 2010 +0200

    Reverting 'clean' change to Makefile

 doc/Makefile.am |    2 --
 1 file changed, 2 deletions(-)

commit 77a3c36ff1f11215229a4efdb821a3cb83a9d6fc
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 4 14:43:33 2010 +0200

    Various changes to documentation project:
    
    * Added documentation for zmq_deviced, which we're developing
    * Created consistent page footer in documentation template
    * Page footer notes doc authors and copyright statement

 doc/asciidoc.conf         |   15 ++++++
 doc/zmq.txt               |   19 -------
 doc/zmq_bind.txt          |    9 +---
 doc/zmq_close.txt         |    4 --
 doc/zmq_connect.txt       |    4 --
 doc/zmq_cpp.txt           |    4 --
 doc/zmq_deviced.txt       |  123 +++++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_errno.txt         |    4 --
 doc/zmq_forwarder.txt     |    4 --
 doc/zmq_getsockopt.txt    |    4 --
 doc/zmq_init.txt          |    4 --
 doc/zmq_inproc.txt        |    4 --
 doc/zmq_ipc.txt           |    4 --
 doc/zmq_msg_close.txt     |    4 --
 doc/zmq_msg_copy.txt      |    4 --
 doc/zmq_msg_data.txt      |    4 --
 doc/zmq_msg_init.txt      |    4 --
 doc/zmq_msg_init_data.txt |    4 --
 doc/zmq_msg_init_size.txt |    4 --
 doc/zmq_msg_move.txt      |    4 --
 doc/zmq_msg_size.txt      |    4 --
 doc/zmq_pgm.txt           |    5 +-
 doc/zmq_poll.txt          |    4 --
 doc/zmq_queue.txt         |    4 --
 doc/zmq_recv.txt          |    4 --
 doc/zmq_send.txt          |    4 --
 doc/zmq_setsockopt.txt    |    4 --
 doc/zmq_socket.txt        |   31 ++++++------
 doc/zmq_streamer.txt      |    4 --
 doc/zmq_strerror.txt      |    4 --
 doc/zmq_tcp.txt           |    4 --
 doc/zmq_term.txt          |    5 --
 doc/zmq_version.txt       |    4 --
 33 files changed, 156 insertions(+), 155 deletions(-)

commit 6cd90304476c1c6873d67068009def63e520b848
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 4 14:42:21 2010 +0200

    Added clean target that deletes generated man pages

 doc/Makefile.am |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit f575f252c99c99d3622f313d6bbad6635197a1e4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 4 14:41:43 2010 +0200

    Added man page for the zmq_device method

 doc/zmq_device.txt |   92 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)

commit 11a410b65827a3958fb5f417c29e95c1953a0b42
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 4 14:38:56 2010 +0200

    Renamed ZMQ_UPSTREAM to ZMQ_PULL, and ZMQ_DOWNSTREAM to ZMQ_PUSH.  Left the old
    definitions as aliases, to be removed in release 3.0.  Also renamed the source
    files implementing these two socket types.  This change does not break existing
    applications nor bindings, but allows us to fix the documentation and user guide
    now, rather than keeping the old (confusing) names.

 include/zmq.h      |   61 ++++++++++++++++---------------
 src/Makefile.am    |    8 ++---
 src/app_thread.cpp |   12 +++----
 src/downstream.cpp |  101 ----------------------------------------------------
 src/downstream.hpp |   61 -------------------------------
 src/pull.cpp       |   98 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/pull.hpp       |   62 ++++++++++++++++++++++++++++++++
 src/push.cpp       |  101 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/push.hpp       |   61 +++++++++++++++++++++++++++++++
 src/upstream.cpp   |   98 --------------------------------------------------
 src/upstream.hpp   |   62 --------------------------------
 11 files changed, 364 insertions(+), 361 deletions(-)

commit 544b36da68729daffefa8f40d2efed5945851a01
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jul 30 16:49:06 2010 +0200

    XREQ: Correct behaviour on hitting ZMQ_HWM
    
    This reverts part of commit 84e0c7991a9b316ed571533abc628cc1175750a3 to get
    correct ZMQ_HWM semantics with XREQ sockets:
    
    When sending a message to an XREQ socket, the underlying pipe is selected in
    a round-robin fashion. If an underlying pipe is full it is skipped. If there
    are no underlying pipes, or all underlying pipes are full then zmq_send()
    shall block or return EAGAIN, depending on whether or not the call is blocking.
    Messages are never dropped.

 src/xreq.cpp |   27 +++------------------------
 src/xreq.hpp |    3 ---
 2 files changed, 3 insertions(+), 27 deletions(-)

commit 66470b2c55d74fb137211f4264bbfc5e3f454534
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Jul 26 12:24:00 2010 +0200

    perf: fix typo

 perf/local_thr.cpp  |    2 +-
 perf/remote_thr.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 10533a560b4af1d3dae63c87c737e25bbdb78998
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Jul 14 18:31:17 2010 +0200

    pipe: check_read() should check for message delimiter

 src/pipe.cpp  |   27 ++++++++++++++++++++++-----
 src/pipe.hpp  |    3 +++
 src/ypipe.hpp |   11 +++++++++++
 3 files changed, 36 insertions(+), 5 deletions(-)

commit e1c596b37eef2c2c72c605d7bf4a5c97050add6b
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jul 24 16:57:13 2010 +0200

    Make sure lwm > 0 when hwm > 0

 src/pipe.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5b1a6a4bea1cebe860769f82702410f6c1d0ab1b
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Jul 21 17:33:40 2010 +0200

    Issue 42 - getaddrinfo() fails

 src/ip.cpp |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

commit aedf3f808befd8cf32a16e34b907c60c79eabfd7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jul 19 08:38:24 2010 +0200

    EHOSTUNREACH is a valid return value from recv()

 src/tcp_socket.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 269904361b565efa54a106e3eda96091320439bd
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jul 13 11:46:56 2010 +0200

    minor comment clarification

 src/tcp_connecter.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit da49e5a4dd4602bf893193a5e6e64af54695b51c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jul 13 07:57:29 2010 +0200

    devices exit in case of context termination

 src/forwarder.cpp |   15 +++++++++++++--
 src/queue.cpp     |   42 +++++++++++++++++++++++++++++++++++-------
 src/streamer.cpp  |   15 +++++++++++++--
 3 files changed, 61 insertions(+), 11 deletions(-)

commit ca057c7db8dcb2384e2498c938f3d83f64b78a7d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jul 10 22:57:47 2010 +0200

    Fix identity generation for transient inproc connections

 src/socket_base.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 1f61c87ac527e2a75cabbce4ea4c5f916f4532e7
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Jul 7 17:15:32 2010 +0200

    issue 40 - nbytes != -1 (tcp_socket.cpp:216)

 src/tcp_socket.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit fd707fedc59124ed627780efed081acf33f455d2
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Jul 6 22:47:07 2010 +0200

    issue 38 - Assertion failed: fetched (xrep.cpp:196)

 src/xrep.cpp |   20 ++++++++++++--------
 src/xrep.hpp |    6 ++++++
 2 files changed, 18 insertions(+), 8 deletions(-)

commit 805af8241d7450fe1e60174739a78325677897f6
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Jun 30 16:23:07 2010 +0200

    asciidoc.conf was missing from distribution tarball

 doc/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0ab65324195ad70205514d465b03d851a6de051c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jun 29 21:08:41 2010 +0200

    Prevent socket reuse by second bind, on win32

 src/tcp_listener.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 79a3d07c8587e840548791efc314b0184c584881
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jun 29 07:45:11 2010 +0200

    MSVC build fixed

 src/msg_store.cpp |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

commit ba91644fdb48cec97edc6965c4ca7ab564a3513f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Jun 26 20:11:40 2010 +0200

    msg_store added to MSVC build

 builds/msvc/libzmq/libzmq.vcproj |    8 ++++++++
 src/msg_store.cpp                |    2 ++
 2 files changed, 10 insertions(+)

commit 1dda8a2aaabd3b7705b0ecd67d6d9737d1978946
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 25 18:35:42 2010 +0200

    Used more expressive variable names

 src/msg_store.cpp |   73 +++++++++++++++++++++++------------------------------
 1 file changed, 32 insertions(+), 41 deletions(-)

commit fca2e8e8cc30bcd134839f6d0f5f9963323dad2b
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Jun 21 15:06:51 2010 +0200

    Add SWAP support

 src/Makefile.am     |    2 +
 src/msg_store.cpp   |  313 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/msg_store.hpp   |  114 +++++++++++++++++++
 src/pipe.cpp        |  114 +++++++++++++++----
 src/pipe.hpp        |   29 +++--
 src/session.cpp     |    4 +-
 src/socket_base.cpp |    8 +-
 7 files changed, 545 insertions(+), 39 deletions(-)

commit 10c28c1fc2f06c93e12a7c60f79a315cec7c5a52
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 19 20:46:16 2010 +0200

    Revive reader on pipe termination

 src/pipe.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2c3913bb19fa95e7decaa7967e2469dc428e46b0
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Sat Jun 19 19:46:35 2010 +0200

    fix double free error in PAIR socket

 src/pair.cpp |    3 +++
 1 file changed, 3 insertions(+)

commit cff7ba2315c0f62fa3679afa24ecea88da38a365
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jun 17 17:09:51 2010 +0200

    Windows build fixed

 builds/msvc/c_local_lat/c_local_lat.vcproj   |    4 ----
 builds/msvc/c_local_thr/c_local_thr.vcproj   |    4 ----
 builds/msvc/c_remote_lat/c_remote_lat.vcproj |    4 ----
 builds/msvc/c_remote_thr/c_remote_thr.vcproj |    4 ----
 include/zmq_utils.h                          |    8 ++++++++
 src/zmq.cpp                                  |    1 +
 6 files changed, 9 insertions(+), 16 deletions(-)

commit 7f01e9970d211235fc8057de6dc41ba8ceafe795
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jun 17 16:51:53 2010 +0200

    stopwatch returned to libzmq

 include/zmq.h       |    2 ++
 include/zmq_utils.h |   49 +++++++++++++++++++++++++++++
 perf/Makefile.am    |    9 +++---
 perf/helpers.cpp    |   86 ---------------------------------------------------
 perf/helpers.h      |   40 ------------------------
 perf/local_lat.cpp  |    4 +--
 perf/local_thr.cpp  |    6 ++--
 perf/remote_lat.cpp |    6 ++--
 perf/remote_thr.cpp |    4 +--
 src/Makefile.am     |    2 +-
 src/zmq.cpp         |   63 +++++++++++++++++++++++++++++++++++++
 11 files changed, 129 insertions(+), 142 deletions(-)

commit 4777fe4010572d381a2ad8eb63df2fc5fb7e6642
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Jun 17 12:45:14 2010 +0200

    pipe: fix bug in rollback() method
    
    The msgs_written variable keeps track how many complete
    messages have been written so far. The rollback operation drops all
    fragments of the last incomplete message so it shouldn't
    change this variable at all.

 src/pipe.cpp |    1 -
 1 file changed, 1 deletion(-)

commit 9151de38959a21829d4ab60324d6750d2e1a4357
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jun 17 11:01:18 2010 +0200

    generate identity for transient inproc connections

 src/socket_base.cpp |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

commit 341e8a267309179bbb8249845e7efb14faf93d4d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jun 15 14:01:44 2010 +0200

    test commit

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 9858447fad3260cb16b1f2e56a14cfe3db737a36
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jun 15 08:01:43 2010 +0200

    getsockopt documentation fixed

 doc/zmq_getsockopt.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit ac90b7e0ba497bfec09d7a69a2e01dc6d94a9c9a
Author: Brian Buchanan <bwb@holo.org>
Date:   Fri Jun 11 08:03:34 2010 +0200

    issue 35 - ZMQ_RCVMORE sometimes erroneously returns false

 AUTHORS             |    1 +
 src/socket_base.cpp |    9 ++++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit 5ee355d1880bc7391c199ea29adc620ceb0d96f1
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jun 11 07:02:36 2010 +0200

    if connect asserts, exact error is reported

 src/tcp_connecter.cpp |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit 27877d73ea7dd972a773c7e960706130daaf5925
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jun 11 06:55:30 2010 +0200

    EHOSTUNREACH is acceptable outcome from connect

 src/tcp_connecter.cpp |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit c818b14bbd261aa836400e9dfb4848117dd2edb6
Author: Piotr Trojanek <piotr.trojanek@gmail.com>
Date:   Thu Jun 10 12:57:42 2010 +0200

    clearing thread info structure

 src/ctx.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 74a3907be285891d90b82e2d315d03141a398752
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jun 10 12:36:27 2010 +0200

    couple of ICC warnings fixed

 src/encoder.hpp |    2 +-
 src/uuid.cpp    |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

commit 8782b4d696da7b1527f69e819d75d691bc3df105
Author: Piotr Trojanek <piotr.trojanek@gmail.com>
Date:   Thu Jun 10 07:34:11 2010 +0200

    -lcrypto added to linking flags for QNX

 configure.in |    1 +
 1 file changed, 1 insertion(+)

commit 76e0153d4f3ef1d5fef1a9b926e0e8e3ab2d9685
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jun 10 07:21:05 2010 +0200

    issue 33 - missing virtual destructors

 src/decoder.hpp     |    4 +++-
 src/encoder.hpp     |    2 ++
 src/yarray_item.hpp |    4 +++-
 src/ypipe.hpp       |    6 ++++++
 4 files changed, 14 insertions(+), 2 deletions(-)

commit d329c55da9c503e82831e940b0fc8dc9e5479975
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Jun 10 07:12:00 2010 +0200

    issue 31 - Assertion failed: err == ECONNREFUSED || err == ETIMEDOUT (tcp_connecter.cpp:296)

 src/tcp_connecter.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 604f7475ec1d19df416156879db3ddd3c90d5a13
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Jun 9 17:49:08 2010 +0200

    issue 32 - poll_t poller broken

 src/poll.cpp |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

commit 7a29e8594fb539e37b9d08982b1f491b0794b7d2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Jun 9 17:07:45 2010 +0200

    Piotr Trojanek added to AUTHORS file

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 751b60a18d028d9859394c7abe960cb1c42e605e
Author: Piotr Trojanek <piotr.trojanek@gmail.com>
Date:   Wed Jun 9 17:06:32 2010 +0200

    extra ';' inside a struct or union -- clang warnings fixed

 foreign/xmlParser/xmlParser.hpp |    2 +-
 src/i_poll_events.hpp           |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 240fc33f65c6cd9f1ed0a511daf4ad00ff37f163
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 7 20:23:48 2010 +0200

    minor comment clarification

 src/tcp_connecter.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 784e73a7c84f2c0a454f4a9ef69586755482a9d5
Merge: ce53d02 8f51a10
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 7 09:03:56 2010 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit ce53d02e0580755055245cc1050f1dd3a26a3f22
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Jun 7 09:03:40 2010 +0200

    C++ docs for zmq::poll function improved

 doc/zmq_cpp.txt |    4 ++++
 1 file changed, 4 insertions(+)

commit 8f51a10918d54e24818b863a9e3d530a00de21b5
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jun 4 19:30:47 2010 +0200

    Update ChangeLog for v2.0.7

 ChangeLog |  848 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 848 insertions(+)

commit 5c97ff9a2eb3e55007fd90b5c3a1c433de7bc60c
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jun 4 19:27:55 2010 +0200

    More NEWS for 2.0.7

 NEWS |    9 +++++++++
 1 file changed, 9 insertions(+)

commit e8a9614aaeb45fc619eed2983f93edb744b4cef4
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jun 4 19:20:37 2010 +0200

    Update NEWS for 2.0.7 release

 NEWS |   54 +++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 39 insertions(+), 15 deletions(-)

commit 9b8f902d72438752b00d4c1bb3887c40423777e0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jun 4 18:49:55 2010 +0200

    initial version of 2.0.7 NEWS

 NEWS |   25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

commit baf659fde5136c20f879ef713ec3effc34854ba6
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jun 4 17:12:51 2010 +0200

    Move news from ChangeLog into NEWS

 ChangeLog |  397 +-----------------------------------------------------------
 NEWS      |  398 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 400 insertions(+), 395 deletions(-)

commit 94dfe1368ac1cd4a456c86b8fc800d7c3911cfd3
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jun 4 17:02:16 2010 +0200

    Fix MINGW build
    
    Mingw seems to define NOMINMAX, so don't redefine it if already defined

 src/windows.hpp |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit cf048bb1f8a665370d9e39aee2a7363327911b08
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jun 4 16:29:36 2010 +0200

    platform.hpp for MSVC contains only very basic stuff

 builds/msvc/platform.hpp |   29 -----------------------------
 perf/helpers.cpp         |    4 +++-
 src/encoder.hpp          |    5 +++++
 src/prefix_tree.cpp      |    5 +++++
 src/uuid.cpp             |    1 -
 src/uuid.hpp             |    1 +
 src/windows.hpp          |    4 ++++
 src/zmq_engine.cpp       |    6 +++++-
 8 files changed, 23 insertions(+), 32 deletions(-)

commit 927993863eda325c66fc678810eeadd0c744cdf2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jun 4 15:47:22 2010 +0200

    MSVC build fixed

 builds/msvc/c_local_lat/c_local_lat.vcproj   |    4 ++++
 builds/msvc/c_local_thr/c_local_thr.vcproj   |    4 ++++
 builds/msvc/c_remote_lat/c_remote_lat.vcproj |    4 ++++
 builds/msvc/c_remote_thr/c_remote_thr.vcproj |    4 ++++
 foreign/xmlParser/xmlParser.cpp              |    2 +-
 perf/helpers.cpp                             |    4 +---
 6 files changed, 18 insertions(+), 4 deletions(-)

commit 621d7415b3cdee1f79787e2961f113b00d237615
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jun 4 15:35:14 2010 +0200

    Fix Solaris/NetBSD breakage in atomic_ptr.hpp

 src/atomic_ptr.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 67ca7dcbe6b072b74a112ce4df4529cda82c0f13
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Jun 4 15:24:06 2010 +0200

    obsolete API elements removed - this commit breaks backward compatibility

 devices/zmq_forwarder/zmq_forwarder.cpp |    2 +-
 devices/zmq_queue/zmq_queue.cpp         |    2 +-
 devices/zmq_streamer/zmq_streamer.cpp   |    2 +-
 include/zmq.h                           |   11 +----------
 include/zmq.hpp                         |    4 ++--
 perf/local_lat.cpp                      |    2 +-
 perf/local_thr.cpp                      |    2 +-
 perf/remote_lat.cpp                     |    2 +-
 perf/remote_thr.cpp                     |    2 +-
 src/zmq.cpp                             |    4 +---
 10 files changed, 11 insertions(+), 22 deletions(-)

commit d844a90690af357988b1c5ba027c740d4182d753
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jun 4 15:00:31 2010 +0200

    zmqd: Removing for now, not ready for 2.0.7

 Makefile.am      |    4 +-
 configure.in     |    2 +-
 zmqd/Makefile.am |    8 --
 zmqd/zmqd.cpp    |  364 ------------------------------------------------------
 4 files changed, 3 insertions(+), 375 deletions(-)

commit 606c77368cccd2a277437b5de8764772295fdf89
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jun 4 14:48:49 2010 +0200

    Move perf helper functions to perf/helpers.cpp

 include/zmq.h       |   17 ----------
 perf/Makefile.am    |    9 +++---
 perf/helpers.cpp    |   86 +++++++++++++++++++++++++++++++++++++++++++++++++++
 perf/helpers.h      |   40 ++++++++++++++++++++++++
 perf/local_lat.cpp  |    3 +-
 perf/local_thr.cpp  |    5 +--
 perf/remote_lat.cpp |    5 +--
 perf/remote_thr.cpp |    3 +-
 src/zmq.cpp         |   58 ----------------------------------
 9 files changed, 141 insertions(+), 85 deletions(-)

commit 05b4a7ae787760d5c24e048612b786fa0283854a
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jun 4 13:58:49 2010 +0200

    Remove PGM examples from build

 configure.in     |    9 -----
 perf/Makefile.am |  112 +-----------------------------------------------------
 2 files changed, 1 insertion(+), 120 deletions(-)

commit 4d65d7a5a98cbb95430a5b02706ab87d3fa0f56c
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Jun 4 13:53:40 2010 +0200

    Documentation: zmq_tcp(7) update for 2.0.7
    
    Document MORE bit in flags field

 doc/zmq_tcp.txt |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

commit 7fc15c21a17cfa58e60e4a513360cb12b542a570
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Jun 3 14:36:44 2010 +0200

    Documentation: zmq_cpp(7) update for 2.0.7

 doc/zmq_cpp.txt |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

commit 10f4bf3f35ab3da05fe5ca8a28cd131e3781249f
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Jun 3 14:15:05 2010 +0200

    Documentation: Cosmetic changes

 doc/zmq_getsockopt.txt |   10 ++++++++++
 doc/zmq_setsockopt.txt |   11 +++++++++++
 2 files changed, 21 insertions(+)

commit 8076fd1a3abece7dc91c2b2309dd0ecba57e882f
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Jun 3 14:08:36 2010 +0200

    Documentation: zmq_errno(3)

 doc/Makefile.am   |    2 +-
 doc/zmq.txt       |    9 ++++++---
 doc/zmq_errno.txt |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+), 4 deletions(-)

commit 7c9b09bc511236c8cc5f6cea7623a8b98fedf302
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Jun 2 18:36:34 2010 +0200

    Documentation: Flow control, zmq_socket(3)
    
    Mostly Flow control and additions to zmq_socket(3)
    Removed/changed lots of text regarding message queues
    More fixes for 2.0.7 changes

 doc/zmq.txt            |   18 ++---
 doc/zmq_getsockopt.txt |   23 ++++---
 doc/zmq_poll.txt       |   28 ++++----
 doc/zmq_recv.txt       |   22 +++----
 doc/zmq_send.txt       |    9 ++-
 doc/zmq_setsockopt.txt |   25 +++----
 doc/zmq_socket.txt     |  172 ++++++++++++++++++++++++++++++++++++++++--------
 7 files changed, 205 insertions(+), 92 deletions(-)

commit 9d00d300b0d6b45d2954792540cc95a0c3fb6a01
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Jun 1 22:22:50 2010 +0200

    Documentation: zmq_init() API changes for 2.0.7

 doc/zmq_init.txt |   19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

commit 8ba1d3c8ed32b39bb1133330d496587d96020e7e
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Jun 1 22:22:29 2010 +0200

    Documentation: zmq_term() and ETERM for 2.0.7

 doc/zmq_bind.txt       |    2 +-
 doc/zmq_connect.txt    |    2 +-
 doc/zmq_getsockopt.txt |    1 -
 doc/zmq_poll.txt       |    6 ++----
 doc/zmq_setsockopt.txt |    1 -
 doc/zmq_term.txt       |   20 +++++++++++++++++---
 6 files changed, 21 insertions(+), 11 deletions(-)

commit 74a03dfd7dbb762be5d50eca4df214f8825ad44a
Merge: 99e6179 8a77135
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Jun 1 21:49:50 2010 +0200

    Merge branch 'master' of github.com:sustrik/zeromq2

commit 8a771350795dc4f9aae6a89534f1391d7b63b10c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Jun 1 10:42:55 2010 +0200

    Pieter Hintjens added to 'authors' section

 AUTHORS |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0b0716661e99a2b55151650ec94cd5fd268d0334
Author: Pieter Hintjens <ph@itmatix.com>
Date:   Tue Jun 1 10:40:12 2010 +0200

    multiple vulnerabilities in xml paerser fixed

 foreign/xmlParser/xmlParser.cpp |   37 +++++++++++++++++++++++++++++++------
 1 file changed, 31 insertions(+), 6 deletions(-)

commit 99e6179edd9e3552fcdb7f4fce3306cd174f3359
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 31 17:24:50 2010 +0200

    Documentation updates
    
    The option_value parameter for zmq_getsockopt is in and out.

 doc/zmq_getsockopt.txt |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit b4f3e0acd72de97bc5ef46ea74d9cd7ed7f9efc2
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 31 17:21:51 2010 +0200

    Documentation updates
    
    Clarify multi-part messages

 doc/zmq_recv.txt |   16 ++++++++--------
 doc/zmq_send.txt |   13 ++++++-------
 2 files changed, 14 insertions(+), 15 deletions(-)

commit 7bbe754cb4987669d4273ec37f5f50d29b9931df
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 31 17:21:12 2010 +0200

    Documentation updates
    
    Clarify pipeline and exclusive pair patterns

 doc/zmq_socket.txt |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

commit 8a4df431de872623c761fdeb291748d3d153b8d1
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 31 14:18:51 2010 +0200

    Documentation updates
    
    Add getsockopt to Makefile.am

 doc/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dfbaf4f9668f0493649d6ba1328cced64e5340b0
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 31 14:18:37 2010 +0200

    Documentation updates
    
    Multi-part messages

 doc/zmq_recv.txt |    5 +++--
 doc/zmq_send.txt |    7 ++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

commit 0fa73b039462c1754d407de85306904e9b0c73be
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 31 14:13:41 2010 +0200

    Documentation updates
    
    Add getsockopt to index

 doc/zmq.txt |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit eb9ff1e77977c6199c0a0439f4dd35fa39f3bd3c
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 31 14:12:27 2010 +0200

    Documentation updates
    
    Multi-part messages

 doc/zmq_getsockopt.txt |   17 +++++++++++++++++
 doc/zmq_recv.txt       |   37 ++++++++++++++++++++++++++++++++++++-
 doc/zmq_send.txt       |   33 ++++++++++++++++++++++++++++++++-
 3 files changed, 85 insertions(+), 2 deletions(-)

commit 8becacf82c950af951f477e3dc3f7ac79e110fc1
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 31 12:53:40 2010 +0200

    Documentation updates
    
    Add zmq_getsockopt(3), clean up zmq_setsockopt(3).

 doc/zmq_getsockopt.txt |  209 ++++++++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_setsockopt.txt |   62 +++++++-------
 2 files changed, 241 insertions(+), 30 deletions(-)

commit be6019abd1ac6fe11c9c51dbadf9c72b37349c2a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 31 09:28:36 2010 +0200

    issue 28. - SNDMORE/ RCVMORE is dropping every other message

 src/req.cpp |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 2e9be56a4059cf230f6aa92eb1c71db5f1200b8e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 31 06:17:58 2010 +0200

    memory leak in REQ socket fixed

 src/req.cpp |   34 ++++------------------------------
 1 file changed, 4 insertions(+), 30 deletions(-)

commit 3bb60da0d085b1089ddec4617fcd40f2cda88567
Merge: 04fcd4d da37c45
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 31 06:11:42 2010 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 04fcd4d55b3b01e75d1d0d547987841811a2d610
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 31 06:11:20 2010 +0200

    memory leak in REP socket fixed

 src/rep.cpp |   34 ++++------------------------------
 1 file changed, 4 insertions(+), 30 deletions(-)

commit da37c45b0c7200eea96118952e671972b71df4ce
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri May 28 01:38:43 2010 +0200

    Clarify zmq_bind/zmq_connect
    
    Use the term 'endpoint' correctly, and drop the nonsense about local/remote addresses which doesn't clearly explain what is going on

 doc/zmq_bind.txt    |   28 +++++++++++++++-------------
 doc/zmq_connect.txt |   26 ++++++++++++++------------
 2 files changed, 29 insertions(+), 25 deletions(-)

commit 74f1a4a579d3b09b3420092d9f076827be31c4e7
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri May 28 00:55:04 2010 +0200

    RPM packaging cleanups
    
    - ditch -utils package
    - add descriptions from Debian packaging

 builds/redhat/zeromq.spec |   41 +++++++++++++++++------------------------
 1 file changed, 17 insertions(+), 24 deletions(-)

commit b4cc7b97ecaf743f3259f9df7d687558892b8a72
Author: Mikko Koppanen <mkoppanen@gameboy.config>
Date:   Fri Apr 16 10:26:22 2010 +0100

    dist-hook for copying zeromq.spec to top-level

 Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

commit 8bd3f743f50a61355b6cf18046d59c7d0289836b
Author: Mikko Koppanen <mkoppanen@gameboy.config>
Date:   Fri Apr 16 00:01:13 2010 +0100

    Import redhat packaging

 builds/redhat/zeromq.spec |  137 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 137 insertions(+)

commit 5219e4ce8f9aa082c5f91e248a9f66639c69727d
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri May 28 00:49:13 2010 +0200

    Clarify socket types in documentation, reinstate ZMQ_PAIR

 doc/zmq.txt            |    4 +--
 doc/zmq_setsockopt.txt |   14 ++++----
 doc/zmq_socket.txt     |   91 +++++++++++++++++++++++++++++-------------------
 3 files changed, 65 insertions(+), 44 deletions(-)

commit 8408ae066dce123fc93e4f53dbadb1f60b7f2e8a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue May 25 15:03:57 2010 +0200

    LWM is computed rather than explicitly specified by user

 doc/zmq_setsockopt.txt |   15 ---------------
 include/zmq.h          |    1 +
 src/config.hpp         |    5 ++++-
 src/options.cpp        |   18 ------------------
 src/options.hpp        |    1 -
 src/pipe.cpp           |   35 ++++++++++++++++++++++++++++++++---
 src/pipe.hpp           |    4 +++-
 src/session.cpp        |    6 ++----
 src/socket_base.cpp    |   12 ++++--------
 9 files changed, 46 insertions(+), 51 deletions(-)

commit f34a468a263c7b4013a267297ee7f121e12dfb9d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue May 25 10:57:54 2010 +0200

    coding style fixed in zmqd

 zmqd/zmqd.cpp |  426 ++++++++++++++++++++++++++++-----------------------------
 1 file changed, 211 insertions(+), 215 deletions(-)

commit 7773fdddfb357145cb15faaa5228fb3b2d0f6f78
Merge: 091e92a 89783c3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu May 20 18:02:34 2010 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 091e92a11dec353e674cbacbf2455a48bdb4e01d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu May 20 18:01:58 2010 +0200

    Pieter Hintjens added to AUTHORS file

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 89783c37d2b8a7b5519eab7922b460449aa0bf3f
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed May 19 06:31:57 2010 +0200

    incomplete messages can be stored in ypipe

 src/pipe.cpp  |   10 ++++------
 src/ypipe.hpp |   46 ++++++++++++++++++++++++++++------------------
 2 files changed, 32 insertions(+), 24 deletions(-)

commit f40ce4e500d32b4240395e09e0ce3359734f0189
Author: Jon Dyte <jon@totient.co.uk>
Date:   Sat May 15 12:37:45 2010 +0200

    single 0MQ daemon (zmqd) - initial version

 Makefile.am      |    4 +-
 configure.in     |    2 +-
 zmqd/Makefile.am |    8 ++
 zmqd/zmqd.cpp    |  368 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 379 insertions(+), 3 deletions(-)

commit 6705a3d5807542ee2ed8a1ef6e3d9f769e5d5a93
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Thu May 13 12:43:58 2010 +0200

    some more sanity checks in pgm_socket

 src/pgm_socket.cpp |    1 +
 1 file changed, 1 insertion(+)

commit ff9d3985556aa58a5d120a3eb72867c7ebea924d
Merge: 56262d7 f6c1c97
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu May 13 12:41:39 2010 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 56262d7ba79a9ba19fc1b89fdc07bca3894062f2
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Thu May 13 12:41:20 2010 +0200

    some more sanity checks in pgm_socket

 src/pgm_socket.cpp |    4 ++++
 1 file changed, 4 insertions(+)

commit f6c1c972428f15356af09d6922910ef44d1f6cb3
Merge: 52ef3f3 127cb89
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed May 12 16:49:49 2010 +0200

    Merge branch 'master' of github.com:sustrik/zeromq2

commit 52ef3f3f2c6f3ba1717b2e729556df713c022636
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed May 12 16:46:59 2010 +0200

    Revert commit 7cb076e, atomic ops cleanup
    
    Reverted to using atomic.h on NetBSD
    Removed GNU builtins (see http://lists.zeromq.org/pipermail/zeromq-dev/2010-May/003485.html)
    Removed SPARC native atomic ops as they are untested and have been commented out for years
    Add "memory" to asm clobber for X86 atomic_counter::sub()

 src/atomic_counter.hpp |   65 ++++++++----------------------------------------
 src/atomic_ptr.hpp     |   58 +++++++-----------------------------------
 2 files changed, 19 insertions(+), 104 deletions(-)

commit 127cb89ac1271bf85798294d450509b7c23019bd
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed May 12 16:46:07 2010 +0200

    MAINTAINERS file added

 MAINTAINERS |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

commit 8e5ac100c95e02ef60aa827b4199002f324617ed
Merge: 714a8d5 9fbb914
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed May 12 12:45:38 2010 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 714a8d50a03e773320a02247847c58020c96e867
Author: Brett Cameron <Brett.Cameron@hp.com>
Date:   Wed May 12 12:45:12 2010 +0200

    fixes for OpenVMS

 src/signaler.cpp      |    1 +
 src/tcp_connecter.cpp |   19 ++++++++++++++++---
 src/tcp_listener.cpp  |   31 +++++++++++++++++++++++++++----
 src/uuid.cpp          |   29 +++++++++++++++++++++++++++++
 src/uuid.hpp          |   11 ++++++++++-
 5 files changed, 83 insertions(+), 8 deletions(-)

commit 9fbb9141a8895ac83e8051ac568223a9e57a278d
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 10 16:39:09 2010 +0200

    Update historic include paths

 devices/zmq_forwarder/Makefile.am |    2 +-
 devices/zmq_queue/Makefile.am     |    2 +-
 devices/zmq_streamer/Makefile.am  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit 9d16a415cbfd33f89d2f5afd96ed7cd34a21a634
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 10 16:32:10 2010 +0200

    OpenPGM build flags cleanup
    
    Removed various exotic -Wxxx flags in the OpenPGM build to get us to what is actually
    required and reasonable; added in -fno-strict-aliasing since OpenPGM generates lots
    of warnings about dereferencing typed-punned pointers; removed the OpenPGM extra flags
    from libzmq_la_CXXFLAGS and left them only in libzmq_la_CFLAGS so that our code
    is not built with the OpenPGM extra flags.

 src/Makefile.am |   23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

commit 2cf9f04a460473ea10e901e68e66596583d0d286
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon May 10 16:24:53 2010 +0200

    Update OpenPGM to version 2.1.26

 configure.in                         |    2 +-
 foreign/openpgm/libpgm-2.0.24.tar.gz |  Bin 407110 -> 0 bytes
 foreign/openpgm/libpgm-2.1.26.tar.gz |  Bin 0 -> 413863 bytes
 src/Makefile.am                      |    2 ++
 4 files changed, 3 insertions(+), 1 deletion(-)

commit a25414e55caa975185ac6534c40bb601e5c38a9a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun May 9 16:59:15 2010 +0200

    Fix in zmq_poll (Windows version)

 src/zmq.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4d33c43913dd640853cec75ce21080c2b33d8526
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri May 7 21:53:55 2010 +0200

    caution about zmq_msg_init_* functions added to the docs

 doc/zmq_msg_init.txt      |    4 ++++
 doc/zmq_msg_init_data.txt |    4 ++++
 doc/zmq_msg_init_size.txt |    4 ++++
 3 files changed, 12 insertions(+)

commit 4a3b857c4cf35261751d562ad7e4acc5ecf58be0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri May 7 11:08:50 2010 +0200

    commands not processed immediatelly in some scenarios; fixed

 src/app_thread.cpp |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 36b044a0d5a9918841839edf12767b31bfec36a0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri May 7 09:21:15 2010 +0200

    ZMQ_PAIR socket removed from the documentation as it is unfinished yet

 doc/zmq_socket.txt |   13 -------------
 1 file changed, 13 deletions(-)

commit f60d891b2309cdc6f2cc1507a238cec85e4aa9e7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu May 6 10:33:01 2010 +0200

    Issue 23. zmq_init() crashes on illegal numbers

 src/zmq.cpp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 64c58662b7f491f2a3c8cb684f27ea1d5c549552
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed May 5 14:33:02 2010 +0200

    MSVC build fixed

 builds/msvc/libzmq/libzmq.vcproj |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 835e893e54598ff474067cc68b787440baf6b05c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed May 5 14:24:54 2010 +0200

    dispatcher_t class renamed to ctx_t

 src/Makefile.am     |    4 +-
 src/app_thread.cpp  |   10 +-
 src/app_thread.hpp  |    2 +-
 src/ctx.cpp         |  316 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/ctx.hpp         |  156 +++++++++++++++++++++++++
 src/dispatcher.cpp  |  316 ---------------------------------------------------
 src/dispatcher.hpp  |  153 -------------------------
 src/io_thread.cpp   |    6 +-
 src/io_thread.hpp   |    2 +-
 src/object.cpp      |   28 ++---
 src/object.hpp      |   10 +-
 src/socket_base.cpp |   11 +-
 src/zmq.cpp         |   17 ++-
 src/zmq_encoder.cpp |    2 +-
 14 files changed, 518 insertions(+), 515 deletions(-)

commit 10f5334f2891b187ce57f38186cf977406097ab0
Merge: 44dd005 3f5465a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed May 5 13:03:56 2010 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 44dd005ff05431b05a8e04858a23784b252da870
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed May 5 13:03:26 2010 +0200

    number of application threads to use 0MQ sockets is unlimited; app_threads parameter in zmq_init is unused and obsolete

 src/config.hpp     |    4 ++++
 src/dispatcher.cpp |   53 +++++++++++++++++++++++++++++-----------------------
 src/dispatcher.hpp |   15 +++------------
 src/zmq.cpp        |    6 ++++--
 4 files changed, 41 insertions(+), 37 deletions(-)

commit 3f5465ada1b465ac0e360d0416b8f42b0fddfab0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue May 4 10:37:10 2010 +0200

    Windows port fixed

 src/signaler.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 235ed3a3dcffb7c658cbc9253eae9de54db24533
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue May 4 10:22:16 2010 +0200

    signaler transports commands per se rather than one-bit signals

 src/app_thread.cpp |   20 ++---
 src/config.hpp     |    5 --
 src/dispatcher.cpp |   71 +++++++----------
 src/dispatcher.hpp |   30 ++-----
 src/io_thread.cpp  |   17 ++--
 src/object.cpp     |    6 +-
 src/pipe.hpp       |    2 +-
 src/signaler.cpp   |  224 ++++++++++++++++++++--------------------------------
 src/signaler.hpp   |   45 +++--------
 src/ypipe.hpp      |   83 +++++--------------
 10 files changed, 174 insertions(+), 329 deletions(-)

commit 8b9bd05726c3df56d7f437889abccba3cbbffdee
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon May 3 16:21:36 2010 +0200

    thread ID and dispatcher made private in object_t

 src/app_thread.cpp |    6 +++---
 src/io_thread.cpp  |    2 +-
 src/object.hpp     |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

commit 84e0c7991a9b316ed571533abc628cc1175750a3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun May 2 20:59:07 2010 +0200

    queue device fixed

 src/queue.cpp |   86 ++++++++++++++++++++++++++++-----------------------------
 src/xreq.cpp  |   27 ++++++++++++++++--
 src/xreq.hpp  |    3 ++
 3 files changed, 70 insertions(+), 46 deletions(-)

commit 4a6bac1deaedb3c111c7e28b2933ed98367cb193
Merge: acfd0f8 beb4da3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 30 04:54:10 2010 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit acfd0f8ca2d15111f35ae0034ed3ce130c96b910
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 30 04:53:41 2010 +0200

    prefix in XREP recv'd message misses MORE flag

 src/xrep.cpp |    1 +
 1 file changed, 1 insertion(+)

commit beb4da3c28cff501a33de34cec95ca110cd3084e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 29 20:53:46 2010 +0200

    windows port fixed

 builds/msvc/libzmq/libzmq.vcproj |   34 +++++-----------------------------
 src/signaler.cpp                 |    4 +---
 2 files changed, 6 insertions(+), 32 deletions(-)

commit ae93ed318a450d6d763a5f629d478467f7362b07
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 29 20:34:48 2010 +0200

    signaler rewritten in such a way that any number (>64) of threads can be used

 src/app_thread.cpp |   25 +++----
 src/app_thread.hpp |    2 +-
 src/config.hpp     |    4 ++
 src/dispatcher.cpp |   16 ++---
 src/dispatcher.hpp |   10 +--
 src/io_thread.cpp  |   30 ++++----
 src/io_thread.hpp  |    2 +-
 src/object.cpp     |   13 ++--
 src/object.hpp     |    9 +--
 src/signaler.cpp   |  200 +++++++++++++++++++++++++++++++---------------------
 src/signaler.hpp   |   24 +++++--
 src/zmq.cpp        |    2 +-
 12 files changed, 190 insertions(+), 147 deletions(-)

commit 1ffc6dd41f2e2ce45c67f3fe08780c5a09cf667d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 29 18:03:54 2010 +0200

    eventfd-style signaling removed

 configure.in     |   26 ------------------
 src/signaler.cpp |   78 +-----------------------------------------------------
 src/signaler.hpp |    6 -----
 3 files changed, 1 insertion(+), 109 deletions(-)

commit 37128b7b1aeed9ad2bf6816560b85b5f94dd5bec
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 29 17:31:57 2010 +0200

    fd_signaler_t renamed to signaler_t

 src/Makefile.am     |    4 +-
 src/app_thread.cpp  |    3 +-
 src/app_thread.hpp  |    6 +-
 src/dispatcher.hpp  |    4 +-
 src/fd_signaler.cpp |  432 ---------------------------------------------------
 src/fd_signaler.hpp |   80 ----------
 src/io_thread.cpp   |    2 +-
 src/io_thread.hpp   |    6 +-
 src/signaler.cpp    |  432 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/signaler.hpp    |   80 ++++++++++
 10 files changed, 524 insertions(+), 525 deletions(-)

commit c193fd146661b39027c5e3fa0776dcdf8c6af5e2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 29 17:20:23 2010 +0200

    lock-free polling removed; ZMQ_POLL flag removed

 doc/zmq_init.txt         |    8 +-
 include/zmq.h            |    1 +
 src/Makefile.am          |    5 -
 src/app_thread.cpp       |   22 +---
 src/app_thread.hpp       |    8 +-
 src/atomic_bitmap.hpp    |  310 ----------------------------------------------
 src/dispatcher.cpp       |    7 +-
 src/dispatcher.hpp       |    6 +-
 src/fd_signaler.hpp      |    3 +-
 src/i_signaler.hpp       |   55 --------
 src/io_thread.cpp        |    6 +-
 src/io_thread.hpp        |    5 +-
 src/object.cpp           |    1 -
 src/queue.cpp            |    5 +-
 src/simple_semaphore.hpp |  242 ------------------------------------
 src/ypollset.cpp         |   65 ----------
 src/ypollset.hpp         |   69 -----------
 src/zmq.cpp              |   11 +-
 18 files changed, 28 insertions(+), 801 deletions(-)

commit 7cb076e56a18cb76c49f17bd34bc73c11e01b705
Author: Steven McCoy <steven.mccoy@miru.hk>
Date:   Thu Apr 29 11:36:13 2010 +0200

    Defer NetBSD atomic ops to GCC builtins. Revert Sun atomic ops #define.

 src/atomic_bitmap.hpp  |   72 ++++++++++++++++++++++++++++++++----------------
 src/atomic_counter.hpp |   42 ++++++++++++++++++----------
 src/atomic_ptr.hpp     |   25 +++++++++++------
 3 files changed, 92 insertions(+), 47 deletions(-)

commit ad6fa9d0d4f1cf29ce63998d7efe337b1a784ef6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Apr 27 17:36:00 2010 +0200

    initial version of multi-hop REQ/REP

 src/rep.cpp  |   97 +++++++++++++++++++----------
 src/req.cpp  |   28 ++++++++-
 src/xrep.cpp |  195 +++++++++++++++++++++++++++++++++++++++++++++++-----------
 src/xrep.hpp |   35 +++++++++--
 4 files changed, 280 insertions(+), 75 deletions(-)

commit 1ad6ade0ed465030716ce720077f3aa31e6cd136
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 26 16:58:49 2010 +0200

    MSVC build fixed

 builds/msvc/libzmq/libzmq.vcproj |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit beffee92a8ec9e14cca21e5901970c4d03967c3d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 26 16:51:05 2010 +0200

    P2P renamed to PAIR

 doc/zmq_socket.txt |    8 +--
 include/zmq.h      |    4 +-
 src/Makefile.am    |    4 +-
 src/app_thread.cpp |    6 +--
 src/p2p.cpp        |  139 ----------------------------------------------------
 src/p2p.hpp        |   63 ------------------------
 src/pair.cpp       |  139 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/pair.hpp       |   63 ++++++++++++++++++++++++
 8 files changed, 214 insertions(+), 212 deletions(-)

commit 7d9603d722c9c2752dccd0c51f470e68d0e0c48c
Author: Jon Dyte <jon@totient.co.uk>
Date:   Sun Apr 25 15:04:23 2010 +0200

    Bug in zmq_queue fixed

 devices/zmq_queue/zmq_queue.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d524c4e15d3cfa21f265d2c21e8a76ac97bfee2d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 16 09:53:09 2010 +0200

    fix of documentation typo

 doc/zmq_setsockopt.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1c33941be9d564733c15fe0466906fdf0bbd46b8
Merge: ea18d30 370cde0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 15 07:32:49 2010 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit ea18d30c209cb4e3f0dd0bc5e4380345e81b6fb6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 15 07:32:25 2010 +0200

    atomic_ptr fix of Win64

 include/zmq.h      |    2 +-
 src/atomic_ptr.hpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 370cde09226d8a1b87eeac306fe97d64b4ea63a3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 12 17:00:11 2010 +0200

    win build fixed

 builds/msvc/libzmq/libzmq.vcproj |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 0024d290765f53428ff78eddc5a4bc675a13c6a7
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Apr 12 16:49:13 2010 +0200

    Build fixes for cross compiling and Win32

 configure.in                    |   27 ++++++++++++++++++---------
 foreign/xmlParser/xmlParser.cpp |    2 +-
 include/zmq.h                   |   14 ++++++++------
 src/Makefile.am                 |    2 +-
 4 files changed, 28 insertions(+), 17 deletions(-)

commit 34964769399825e45b3efd02e642af97355707ef
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 12 10:05:24 2010 +0200

    MSVC perf build fixed

 builds/msvc/c_local_lat/c_local_lat.vcproj   |    2 +-
 builds/msvc/c_local_thr/c_local_thr.vcproj   |    2 +-
 builds/msvc/c_remote_lat/c_remote_lat.vcproj |    2 +-
 builds/msvc/c_remote_thr/c_remote_thr.vcproj |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

commit 7668e7976dc6c3e18a314d991381f29f5cbcc6ef
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 12 09:57:34 2010 +0200

    zmq_poll returns ETERM in case of context termination

 doc/zmq_socket.txt |    3 ---
 src/zmq.cpp        |   11 +++++++++--
 2 files changed, 9 insertions(+), 5 deletions(-)

commit 3236cb1a54316206d14a0f925dfa79d5b35f70fc
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Apr 12 09:25:04 2010 +0200

    ETERM is accounted for in the documentation

 doc/zmq_bind.txt       |    2 ++
 doc/zmq_connect.txt    |    2 ++
 doc/zmq_poll.txt       |    3 ++-
 doc/zmq_recv.txt       |    2 ++
 doc/zmq_send.txt       |    2 ++
 doc/zmq_setsockopt.txt |    3 +++
 doc/zmq_socket.txt     |    3 +++
 7 files changed, 16 insertions(+), 1 deletion(-)

commit fba28c7c0cddd7c54fe45b38fc38ac6fe5a48438
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Apr 11 16:36:27 2010 +0200

    issue 1 - Change zmq_term semantics

 include/zmq.h       |    1 +
 src/app_thread.cpp  |   25 ++++++++++++++++++++++---
 src/app_thread.hpp  |   18 ++++++++++++++++--
 src/dispatcher.cpp  |    7 +++++++
 src/socket_base.cpp |   50 +++++++++++++++++++++++++++++++++++++++++++-------
 src/zmq.cpp         |    2 ++
 6 files changed, 91 insertions(+), 12 deletions(-)

commit dff79d778db46bebe1e3b0cbd28b328972b9adb8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Apr 11 14:20:00 2010 +0200

    version number bumped to 2.0.7 for MSVC build

 builds/msvc/platform.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6cf076510a39c8eb60b1ec2f28aa895b9fb6eaae
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Apr 11 14:00:40 2010 +0200

    C-style comments in zmq.h

 include/zmq.h |  128 +++++++++++++++++++++++++--------------------------------
 1 file changed, 57 insertions(+), 71 deletions(-)

commit 00cf3ceb8da8cb58b343cb75798a042588f09752
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Apr 11 10:26:47 2010 +0200

    multi-part message functionality available via ZMQ_SNDMORE and ZMQ_RCVMORE

 include/zmq.h       |    3 +++
 src/socket_base.cpp |   27 ++++++++++++++++++++++-----
 src/socket_base.hpp |    3 +++
 3 files changed, 28 insertions(+), 5 deletions(-)

commit 6fea42258348c8489d2cd64ca0e92981148134f8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Apr 11 07:59:03 2010 +0200

    getsockopt added to c++ binding

 include/zmq.hpp |    8 ++++++++
 1 file changed, 8 insertions(+)

commit b668387d917cd80c5d4b9631bc0008b6a014c083
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Apr 10 17:04:33 2010 +0200

    Remove -Wxxx gcc-isms from subdir Makefiles

 configure.in                      |    6 +++---
 devices/zmq_forwarder/Makefile.am |    1 -
 devices/zmq_queue/Makefile.am     |    1 -
 devices/zmq_streamer/Makefile.am  |    1 -
 perf/Makefile.am                  |    4 ----
 5 files changed, 3 insertions(+), 10 deletions(-)

commit f6fa41dd7b3677d0f7441db83cbd6c8a0283a499
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Apr 10 16:51:22 2010 +0200

    Compile perf tests with the C++ compiler
    
    This lets us build the binaries in a portable fashion w/o having to worry
    about how to link with the C++ runtime.

 configure.in        |    7 ---
 perf/Makefile.am    |    8 +--
 perf/local_lat.c    |  106 ---------------------------------------
 perf/local_lat.cpp  |  106 +++++++++++++++++++++++++++++++++++++++
 perf/local_thr.c    |  136 ---------------------------------------------------
 perf/local_thr.cpp  |  136 +++++++++++++++++++++++++++++++++++++++++++++++++++
 perf/remote_lat.c   |  119 --------------------------------------------
 perf/remote_lat.cpp |  119 ++++++++++++++++++++++++++++++++++++++++++++
 perf/remote_thr.c   |   98 -------------------------------------
 perf/remote_thr.cpp |   98 +++++++++++++++++++++++++++++++++++++
 10 files changed, 463 insertions(+), 470 deletions(-)

commit c214a24f06bb41885dfbd73e42acb6e043df05ef
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Apr 10 16:27:07 2010 +0200

    fix for Sun C++ 5.8

 src/forwarder.cpp |    2 ++
 src/queue.cpp     |    2 ++
 src/streamer.cpp  |    2 ++
 3 files changed, 6 insertions(+)

commit 770aedbd09fb1e11a4e4880da2603a517856c16c
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Apr 10 16:18:34 2010 +0200

    Build fixes for Solaris and non-GNU compilers
    
    Compiling C++ code with -D_POSIX_SOURCE on Solaris is unsupported, so remove it.
    Isolate GCC-isms inside checks that we are actually using GCC/G++.
    Only check for -lstdc++ when on GCC and doing static linking.

 configure.in    |   38 ++++++++++++++++++++++++++------------
 src/Makefile.am |    2 +-
 2 files changed, 27 insertions(+), 13 deletions(-)

commit 1dc0380e29fecd70f6299243d81f67db850db616
Author: Martin Lucina <mato@kotelna.sk>
Date:   Sat Apr 10 13:28:45 2010 +0200

    Debian packaging fixes suitable for 0MQ git
    
    Removed README.source, TODO.source since these are irrelevant to a generic
    git package.
    Fixed spelling in debian/copyright.
    Removed RFC check in debian/rules, again irrelevant to a generic git package.

 debian/README.source |   37 -------------------------------------
 debian/TODO.source   |    5 -----
 debian/copyright     |    2 +-
 debian/rules         |    6 ------
 4 files changed, 1 insertion(+), 49 deletions(-)

commit 8aa2acd0f8906b95232e765da805e3fab947b76b
Author: Adrian von Bidder <avbidder@fortytwo.ch>
Date:   Sat Apr 10 13:23:09 2010 +0200

    Debian packaging update from Adrian von Bidder

 debian/README.Debian            |   10 +-
 debian/README.source            |   37 ++++++++
 debian/TODO.source              |    5 +
 debian/changelog                |   24 ++++-
 debian/cl-zeromq.files          |    7 --
 debian/cl-zeromq.install        |    6 --
 debian/cl-zeromq.links          |    1 -
 debian/control                  |  195 +++++++++++----------------------------
 debian/copyright                |  105 +++++++++++++++++++--
 debian/dirs                     |    5 -
 debian/docs                     |    2 -
 debian/libzeromq-dev.files      |   37 --------
 debian/libzeromq-dev.install    |   19 ----
 debian/libzeromq-python.files   |    1 -
 debian/libzeromq-python.install |    1 -
 debian/libzeromq-ruby.files     |    1 -
 debian/libzeromq-ruby.install   |    1 -
 debian/libzeromq0.files         |    2 -
 debian/libzeromq0.install       |    1 -
 debian/libzmq-dev.install       |    5 +
 debian/libzmq-dev.manpages      |    2 +
 debian/libzmq0.install          |    1 +
 debian/libzmq0.manpages         |    5 +
 debian/rules                    |  126 +++++++++----------------
 debian/shlibs.local             |    1 -
 debian/source/format            |    1 +
 debian/source/options           |    1 +
 debian/zeromq-bin.install       |    3 +
 debian/zeromq-bin.manpages      |    3 +
 debian/zeromq-examples.files    |    2 -
 debian/zeromq-examples.install  |    2 -
 debian/zeromq-perf.files        |   10 --
 debian/zeromq-perf.install      |   10 --
 debian/zeromq-utils.files       |    6 --
 debian/zeromq-utils.install     |    6 --
 35 files changed, 283 insertions(+), 361 deletions(-)

commit 1d28dc9059d0014314ad22d98ddb7c6f21c151e7
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Apr 9 19:15:40 2010 +0200

    Fix for Issue #14
    
    Don't fail hard if an unreleased tarball is being built and asciidoc is
    not installed; instead just print a big fat warning

 configure.in |   23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

commit 6ea76e95736152e83f977ad860f40a231cedb1ef
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 9 16:24:21 2010 +0200

    version bumped to 2.0.7

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 716f4ac8714d33d21f9853f58482e35c1e3ad934
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Apr 9 13:04:15 2010 +0200

    zmq_getsockopt function added

 include/zmq.h       |    2 +
 src/options.cpp     |  106 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/options.hpp     |    1 +
 src/socket_base.cpp |    7 ++++
 src/socket_base.hpp |    4 +-
 src/zmq.cpp         |    6 +++
 6 files changed, 122 insertions(+), 4 deletions(-)

commit 027bb1d2a7c83c7c719f6bdc3100eb639019d2f0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 8 19:20:42 2010 +0200

    issue 10 - zmq_strerror problem on Windows

 src/zmq.cpp |    4 ++++
 1 file changed, 4 insertions(+)

commit 5cd9f74a70e2c8503c29aaca881c193a936b7b44
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 8 19:04:32 2010 +0200

    few fixed related to multi-part messages in REP socket

 src/rep.cpp |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

commit 77cbd18e9c0480a6c26fd29de5d70569762108be
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 8 11:07:22 2010 +0200

    issue 11 - Assertion failed: it != peers.end () (pgm_receiver.cpp:161)

 src/pgm_receiver.cpp |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

commit 38e9103e0c82bcbb61a9c23ed3a4ace1c7420f95
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Apr 8 08:33:38 2010 +0200

    issue 13 (Assertion failed: load.get () == 0 (epoll.cpp:49)) fixed

 src/object.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 0f7aab5212ef66f7e292fe4ca891660859972ec4
Merge: 745db9c b0250cc
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Apr 7 11:54:34 2010 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 745db9c574153160214470563bea3b53ab4c292a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Apr 7 11:54:09 2010 +0200

    unitialised member in seesion_t class - fixed

 src/session.cpp |    1 +
 1 file changed, 1 insertion(+)

commit b0250cc89df8d6c3d3fff7c8edc17a09ceaaa107
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Apr 7 10:41:11 2010 +0200

    Win32 build fixed

 builds/msvc/libzmq/libzmq.vcproj |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

commit 065e4d00ff628097ce693ac7d9056fbcaf23d0bc
Merge: edfd05d a7973a2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Apr 7 08:20:24 2010 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit edfd05df8ef58afc498795cb74906c07ee396f76
Author: Jon Dyte <jon@totient.co.uk>
Date:   Wed Apr 7 08:20:01 2010 +0200

    devices can be created via API

 devices/zmq_forwarder/zmq_forwarder.cpp |    6 +-
 devices/zmq_queue/zmq_queue.cpp         |  110 +------------------------------
 devices/zmq_streamer/zmq_streamer.cpp   |    6 +-
 include/zmq.h                           |   10 +++
 include/zmq.hpp                         |    7 ++
 src/Makefile.am                         |    6 ++
 src/forwarder.cpp                       |   36 ++++++++++
 src/forwarder.hpp                       |   31 +++++++++
 src/queue.cpp                           |   98 +++++++++++++++++++++++++++
 src/queue.hpp                           |   31 +++++++++
 src/streamer.cpp                        |   36 ++++++++++
 src/streamer.hpp                        |   31 +++++++++
 src/zmq.cpp                             |   20 ++++++
 13 files changed, 309 insertions(+), 119 deletions(-)

commit a7973a2c4997e2ff79126eb073dc675c574de917
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Apr 6 15:23:13 2010 +0200

    Documentation fixes

 doc/zmq_bind.txt       |    6 +++---
 doc/zmq_setsockopt.txt |    7 +++++--
 2 files changed, 8 insertions(+), 5 deletions(-)

commit 0777567e8911382ac42859f907730df023ebec26
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Apr 6 07:33:52 2010 +0200

    ENODEV from zmq_bind error described

 doc/zmq_bind.txt |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 37fd1a77a6927ae351e10fe8d5b68d0b0d525d22
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Mar 31 15:15:16 2010 +0200

    Handle full-pipe for REP sockets more gracefully

 src/rep.cpp |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

commit 2f219d7c287cd518bc77b576e507d7a17c9535e9
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 27 21:25:40 2010 +0100

    ZMQ_TBC renamed to ZMQ_MORE

 include/zmq.h       |    4 ++--
 src/fq.cpp          |   12 ++++++------
 src/fq.hpp          |    2 +-
 src/lb.cpp          |   12 ++++++------
 src/lb.hpp          |    2 +-
 src/pipe.cpp        |    6 +++---
 src/pub.cpp         |    2 +-
 src/rep.cpp         |   22 +++++++++++-----------
 src/rep.hpp         |    2 +-
 src/req.cpp         |   20 ++++++++++----------
 src/req.hpp         |    2 +-
 src/session.cpp     |    2 +-
 src/socket_base.cpp |    6 +++---
 src/sub.cpp         |   14 +++++++-------
 src/sub.hpp         |    2 +-
 src/zmq_encoder.cpp |    6 +++---
 16 files changed, 58 insertions(+), 58 deletions(-)

commit 842b4dd2e492459cbc0cc79ffdb34ddab8f0b528
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 27 14:57:56 2010 +0100

    muti-part message functionality available via API

 include/zmq.h       |    1 +
 src/socket_base.cpp |    5 +++++
 2 files changed, 6 insertions(+)

commit 8d8e0857be3d2ab941de443e436061ef82752c17
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 27 14:50:35 2010 +0100

    as advertised, zmq_flush and ZMQ_NOFLUSH were removed

 include/zmq.h |    2 --
 src/zmq.cpp   |    6 ------
 2 files changed, 8 deletions(-)

commit 06538fc11790a0cf895c43d137a33febf97f3a28
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 27 14:24:57 2010 +0100

    multi-part messages work with REQ/REP sockets

 src/rep.cpp |   71 +++++++++++++++++++++++++++++++++++++++--------------------
 src/rep.hpp |    9 ++++++--
 src/req.cpp |   61 ++++++++++++++++++++++++++++++++------------------
 src/req.hpp |    9 ++++++--
 4 files changed, 101 insertions(+), 49 deletions(-)

commit bbfac783f91f6692b7f9c0aa5392ac955f7b49bf
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 27 09:43:49 2010 +0100

    multi-part message work with UPSTREAM/DOWNSTREAM

 src/lb.cpp |   25 +++++++++++++++++++------
 src/lb.hpp |    3 +++
 2 files changed, 22 insertions(+), 6 deletions(-)

commit ed291b02516ac5c9fe01f328d505305d36fe6319
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 27 09:24:38 2010 +0100

    multi-part messages work with PUB/SUB

 src/fq.cpp    |   31 +++++++++++++++++++++++++------
 src/fq.hpp    |    4 ++++
 src/pipe.cpp  |   10 ++++++++--
 src/pub.cpp   |    3 ++-
 src/sub.cpp   |   27 +++++++++++++++++++++++++--
 src/sub.hpp   |    4 ++++
 src/ypipe.hpp |    2 +-
 7 files changed, 69 insertions(+), 12 deletions(-)

commit 0b9897b141ae03ccd00132a638d030a2521cf5b3
Merge: 0a53ff7 783463a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Mar 26 12:15:47 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 783463ac49aeb2d1be57dc9b3669d508187415a8
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Mar 25 17:31:18 2010 +0100

    Clarify use of poll() with C++ API, fix typo

 doc/zmq_cpp.txt |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit c802a72a0b4aae06cd65158af3c65e65e0dfc2e0
Author: Vitaly Mayatskikh <v.mayatskih@gmail.com>
Date:   Mon Mar 22 22:31:37 2010 +0100

    configure does not mention xmlto when missing

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0a53ff7b9f8a212793c540535c322bfaa93d3430
Merge: f031677 93bdb79
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 20 19:51:29 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 93bdb792a92b9bd235c7be47a13febf429568301
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 20 19:50:36 2010 +0100

    PUB socket was blocking occassionally - fixed

 src/pub.cpp |   84 +++++++++++++++++++++++++++--------------------------------
 src/pub.hpp |   17 ++++++------
 2 files changed, 47 insertions(+), 54 deletions(-)

commit f031677100b41347e09932fc973040097a2187e4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 20 15:04:30 2010 +0100

    rollback of half-processed messages in case of disconnection

 src/session.cpp |   27 ++++++++++++++++++++++++++-
 src/session.hpp |    4 ++++
 2 files changed, 30 insertions(+), 1 deletion(-)

commit dfdaff5eba1e6980adb3326c119d2070d0ad42bb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 20 10:58:59 2010 +0100

    XREP-style prefixing/trimming messages removed

 src/i_engine.hpp     |   10 ++--------
 src/options.cpp      |    3 +--
 src/options.hpp      |    3 ---
 src/pgm_receiver.cpp |   12 ------------
 src/pgm_receiver.hpp |    2 --
 src/pgm_sender.cpp   |   12 ------------
 src/pgm_sender.hpp   |    2 --
 src/session.cpp      |    5 -----
 src/xrep.cpp         |    5 ++---
 src/zmq_decoder.cpp  |   48 +++++++-----------------------------------------
 src/zmq_decoder.hpp  |    8 --------
 src/zmq_encoder.cpp  |   31 ++++---------------------------
 src/zmq_encoder.hpp  |    6 ------
 src/zmq_engine.cpp   |   10 ----------
 src/zmq_engine.hpp   |    2 --
 src/zmq_init.cpp     |    3 +--
 16 files changed, 17 insertions(+), 145 deletions(-)

commit cbaf10978a8ffa98d98161aeec8d020c517b127b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Mar 19 09:14:26 2010 +0100

    fixes for building with Sun CC

 src/dispatcher.cpp   |    3 ++-
 src/tcp_listener.cpp |    6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

commit ae35a1644cd8f2441de73f1260c46bb0da6a1605
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 16 19:02:50 2010 +0100

    fix include paths in perf on Win32

 perf/local_lat.c  |    2 +-
 perf/local_thr.c  |    2 +-
 perf/remote_lat.c |    2 +-
 perf/remote_thr.c |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

commit 49a30d49f37148db1be105615668998c8fb8ea86
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 16 17:49:39 2010 +0100

    Update contributors for 2.0.6

 AUTHORS   |   96 ++++++++++++++++++++++++++++++++-----------------------------
 ChangeLog |   19 +++++++-----
 2 files changed, 62 insertions(+), 53 deletions(-)

commit fe18ce1abab2ef43f97ef6f2b093a69f42cb7103
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 16 17:11:23 2010 +0100

    ChangeLog for v2.0.6

 ChangeLog | 1499 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 1499 insertions(+)

commit 38c942ae648115ac10320968eb4b5e235ef15674
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 16 17:07:17 2010 +0100

    Add Git location to README

 README |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 6d5a9e96400025044af8172887ef99589c0d1eb1
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 16 16:20:23 2010 +0100

    Update README

 README |   39 +++++++++++++++++++++++++++++++++++++--
 1 file changed, 37 insertions(+), 2 deletions(-)

commit ad75d0213483f3c585ce144386623e64e65eca0d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 16 15:48:16 2010 +0100

    Add MSVC build files to distribution

 .gitignore              |   12 ++++--------
 Makefile.am             |    2 +-
 builds/msvc/Makefile.am |   12 ++++++++++++
 configure.in            |    3 ++-
 4 files changed, 19 insertions(+), 10 deletions(-)

commit a9e0c3cd7e0c54f872749f387cf3d69b216bc613
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 16 15:37:47 2010 +0100

    Removing leftover MSVC builds

 builds/msvc/display/display.vcproj |  176 ------------------------------------
 builds/msvc/prompt/prompt.vcproj   |  176 ------------------------------------
 2 files changed, 352 deletions(-)

commit 5472861179ff232c55e7a7021a93da5c680f2017
Merge: 8a3f974 8fcf6ff
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 16 15:24:57 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 8a3f97400a2b3ef2ec088a00868087b85cfd81b6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 16 15:23:55 2010 +0100

    Clarify zmq_poll restrictions

 doc/zmq_poll.txt |    3 +++
 1 file changed, 3 insertions(+)

commit 1705ec224745b935e13d8f18ef81bcbef45ff143
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Mar 16 15:19:38 2010 +0100

    C++ interface documentation updates

 doc/zmq_cpp.txt |  195 ++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 151 insertions(+), 44 deletions(-)

commit 8fcf6ffb67aba2ff9f78f4ba327d29755f03535a
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Mar 15 15:47:17 2010 +0100

    Cleanups to autogen.sh

 autogen.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit fceba036279a0e9bb39aebd862b70ad1bb5b3f40
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Mar 15 15:45:38 2010 +0100

    Cleanups to autogen.sh
    
    Use POSIX "command -v" construct to test for prerequisite commands
    Clarify error messages on failure

 autogen.sh |   30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

commit 61ad236e9543a569fe066872a5fda4fa40ea7591
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 13 14:40:10 2010 +0100

    ZMQ_NOFLUSH and zmq_flush obsoleted

 doc/Makefile.am     |    2 +-
 doc/zmq.txt         |    1 -
 doc/zmq_flush.txt   |   55 ---------------------------------------------------
 doc/zmq_send.txt    |    8 --------
 doc/zmq_socket.txt  |    1 -
 include/zmq.hpp     |    7 -------
 src/downstream.cpp  |   10 ----------
 src/downstream.hpp  |    1 -
 src/lb.cpp          |    3 +--
 src/p2p.cpp         |   10 +---------
 src/p2p.hpp         |    1 -
 src/pub.cpp         |   17 +++-------------
 src/pub.hpp         |    1 -
 src/rep.cpp         |    6 ------
 src/rep.hpp         |    1 -
 src/req.cpp         |    6 ------
 src/req.hpp         |    1 -
 src/socket_base.cpp |    5 -----
 src/socket_base.hpp |    2 --
 src/sub.cpp         |    6 ------
 src/sub.hpp         |    1 -
 src/upstream.cpp    |    6 ------
 src/upstream.hpp    |    1 -
 src/xrep.cpp        |    6 ------
 src/xrep.hpp        |    1 -
 src/xreq.cpp        |    7 -------
 src/xreq.hpp        |    1 -
 src/zmq.cpp         |    3 ++-
 28 files changed, 8 insertions(+), 162 deletions(-)

commit c42343d3f027248514344aec9e3814dfe1047d59
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 13 12:34:55 2010 +0100

    pipe_t::rollback removes only unfinished message from the pipe rather than all unflushed messages

 src/pipe.cpp |    4 ++++
 src/pipe.hpp |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

commit dcb983699e52bf2e075baaeef250bcd3c82e4846
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 13 08:59:46 2010 +0100

    zmq_queue implementation added

 devices/zmq_queue/zmq_queue.cpp |  114 +++++++++++++++++++++++++++++++++++++--
 1 file changed, 109 insertions(+), 5 deletions(-)

commit 22db38bf3d9c96a840af50300632d44fd01ed3a8
Author: unknown <bundra@.(none)>
Date:   Fri Mar 12 20:20:25 2010 +0100

    MSVC build: C++ perf tests removed; all executables go into bin directory

 builds/msvc/c_local_lat/c_local_lat.vcproj       |    8 +-
 builds/msvc/c_local_thr/c_local_thr.vcproj       |    8 +-
 builds/msvc/c_remote_lat/c_remote_lat.vcproj     |    8 +-
 builds/msvc/c_remote_thr/c_remote_thr.vcproj     |    8 +-
 builds/msvc/cpp_local_lat/cpp_local_lat.vcproj   |  176 ----------------------
 builds/msvc/cpp_local_thr/cpp_local_thr.vcproj   |  176 ----------------------
 builds/msvc/cpp_remote_lat/cpp_remote_lat.vcproj |  176 ----------------------
 builds/msvc/cpp_remote_thr/cpp_remote_thr.vcproj |  176 ----------------------
 builds/msvc/msvc.sln                             |   44 +-----
 builds/msvc/zmq_forwarder/zmq_forwarder.vcproj   |    2 +
 builds/msvc/zmq_queue/zmq_queue.vcproj           |    2 +
 builds/msvc/zmq_streamer/zmq_streamer.vcproj     |    2 +
 12 files changed, 26 insertions(+), 760 deletions(-)

commit c08a7f8896e8fdae8379d2fce552b360daaeadc8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Mar 12 20:02:19 2010 +0100

    C perf tests are built non-optionally; C++ perf tests removed

 Makefile.am             |    6 +--
 configure.in            |   26 +--------
 perf/Makefile.am        |  131 ++++++++++++++++++++++++++++++++++++++++++++-
 perf/c/Makefile.am      |  129 --------------------------------------------
 perf/c/local_lat.c      |  106 ------------------------------------
 perf/c/local_thr.c      |  136 -----------------------------------------------
 perf/c/remote_lat.c     |  119 -----------------------------------------
 perf/c/remote_thr.c     |   98 ----------------------------------
 perf/cpp/Makefile.am    |   20 -------
 perf/cpp/local_lat.cpp  |   52 ------------------
 perf/cpp/local_thr.cpp  |   71 -------------------------
 perf/cpp/remote_lat.cpp |   63 ----------------------
 perf/cpp/remote_thr.cpp |   54 -------------------
 perf/local_lat.c        |  106 ++++++++++++++++++++++++++++++++++++
 perf/local_thr.c        |  136 +++++++++++++++++++++++++++++++++++++++++++++++
 perf/remote_lat.c       |  119 +++++++++++++++++++++++++++++++++++++++++
 perf/remote_thr.c       |   98 ++++++++++++++++++++++++++++++++++
 17 files changed, 590 insertions(+), 880 deletions(-)

commit 1fbeba2fe3c3bd6046eea4d6432791194d4238f2
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Mar 12 19:05:56 2010 +0100

    simplify configuration summary

 configure.in |   19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

commit 66b67fbdf2b047ef7adb8ec018a6fe89dd9cbfca
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Mar 12 18:58:29 2010 +0100

    devices are built unconditionally

 configure.in        |   34 ----------------------------------
 devices/Makefile.am |   13 +------------
 src/req.cpp         |    2 +-
 3 files changed, 2 insertions(+), 47 deletions(-)

commit 430aa533347dcbca57857d318a6898f480967cba
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Mar 12 18:42:38 2010 +0100

    text concerning language bindings removed from configure

 configure.in |    3 ---
 1 file changed, 3 deletions(-)

commit 54df388aced3ae059009eec3df66c7dea717747b
Author: unknown <bundra@.(none)>
Date:   Fri Mar 12 18:05:38 2010 +0100

    Java binding removed from MSVC build

 builds/msvc/j_local_lat/j_local_lat.vcproj   |   78 --------
 builds/msvc/j_local_thr/j_local_thr.vcproj   |   78 --------
 builds/msvc/j_remote_lat/j_remote_lat.vcproj |   78 --------
 builds/msvc/j_remote_thr/j_remote_thr.vcproj |   78 --------
 builds/msvc/java/java.vcproj                 |  272 --------------------------
 builds/msvc/msvc.sln                         |   45 -----
 6 files changed, 629 deletions(-)

commit 6badd204d5686de8b2a6e8ee88da78260c0ff949
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Mar 3 17:25:46 2010 +0100

    Implement flow control for ZMQ_REP sockets

 src/rep.cpp |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit 923609b0922c3bf07f16c8c99aba4fe98f08ef60
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Mar 2 22:23:34 2010 +0100

    Implement flow control for ZMQ_REQ sockets

 src/req.cpp |   98 ++++++++++++++++++++++++++++++++++++++++++++++-------------
 src/req.hpp |    3 ++
 2 files changed, 80 insertions(+), 21 deletions(-)

commit 42e575cb6b62fe1e5d12d2e4fb5c6874d47eb57e
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Mar 2 12:41:33 2010 +0100

    Implement flow control fox ZMQ_XREP sockets

 src/xrep.cpp |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit e34184acc327ae4b085a1a50ff6502e2dc148522
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Mar 2 11:15:50 2010 +0100

    Implement flow control for ZMQ_XREQ sockets

 src/xreq.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 06d7a447378c8e9f0805c219deaf8e7e7ef1eeb0
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Mar 2 10:48:30 2010 +0100

    Implement flow control for ZMQ_PUB sockets

 src/pub.cpp |   34 ++++++++++++++++++++++++++--------
 src/pub.hpp |    7 +++++++
 2 files changed, 33 insertions(+), 8 deletions(-)

commit f9c84a1a689f4f64cfa45cb22d4f02ec246c7f93
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Mar 1 17:21:23 2010 +0100

    Implement flow control for ZMQ_DOWNSTREAM sockets

 src/downstream.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5d4f6b18cd57897cc0e77e474118e104a0d5cfc3
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Mar 1 16:55:13 2010 +0100

    Implement flow control for ZMQ_P2P sockets

 src/p2p.cpp |   21 +++++++++++++++------
 src/p2p.hpp |    1 +
 2 files changed, 16 insertions(+), 6 deletions(-)

commit f9521c6b6a35103c03b742a311a34d7b04da0b84
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Tue Mar 2 09:02:40 2010 +0100

    PGM: implement flow control

 src/pgm_receiver.cpp |   50 ++++++++++++++++++++++++++++++++++++++++++++++----
 src/pgm_receiver.hpp |    9 +++++++++
 2 files changed, 55 insertions(+), 4 deletions(-)

commit 61ee6fae536a8000be87b5aaf271f6519a3b7d3f
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Mar 1 10:13:26 2010 +0100

    Implement flow control
    
    This commit introduces the necessary changes necessary
    for implementing flow control. None of the socket types
    implements the flow control yet. The code will crash when
    the flow control is enabled and the thw lwm is reached.
    
    The following commits will add flow-control support for
    individual socket types.

 src/command.hpp      |    8 +++++++
 src/downstream.cpp   |    6 +++++-
 src/downstream.hpp   |    1 +
 src/err.hpp          |    6 ++++++
 src/i_endpoint.hpp   |    1 +
 src/i_engine.hpp     |    2 ++
 src/lb.cpp           |   49 +++++++++++++++++++------------------------
 src/lb.hpp           |    1 -
 src/object.cpp       |   19 +++++++++++++++++
 src/object.hpp       |    3 +++
 src/options.cpp      |    8 +++----
 src/options.hpp      |    4 ++--
 src/p2p.cpp          |   11 ++++++----
 src/p2p.hpp          |    1 +
 src/pgm_receiver.cpp |    5 +++++
 src/pgm_receiver.hpp |    1 +
 src/pgm_sender.cpp   |    5 +++++
 src/pgm_sender.hpp   |    1 +
 src/pipe.cpp         |   57 ++++++++++++++++++++++++++++++++++++++++----------
 src/pipe.hpp         |   29 ++++++++++++++++---------
 src/pub.cpp          |   16 ++++++++++----
 src/pub.hpp          |    1 +
 src/rep.cpp          |   10 +++++++--
 src/rep.hpp          |    1 +
 src/req.cpp          |   11 ++++++----
 src/req.hpp          |    1 +
 src/session.cpp      |    7 +++++++
 src/session.hpp      |    1 +
 src/socket_base.cpp  |    5 +++++
 src/socket_base.hpp  |    2 ++
 src/sub.cpp          |    5 +++++
 src/sub.hpp          |    1 +
 src/upstream.cpp     |    5 +++++
 src/upstream.hpp     |    1 +
 src/xrep.cpp         |    8 ++++++-
 src/xrep.hpp         |    1 +
 src/xreq.cpp         |    6 +++++-
 src/xreq.hpp         |    1 +
 src/zmq_engine.cpp   |   17 ++++++++++-----
 src/zmq_engine.hpp   |    1 +
 40 files changed, 242 insertions(+), 77 deletions(-)

commit 31d36104aa7caead6f299f0c5cb58a9fde7cf9b0
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Mar 12 10:34:11 2010 +0100

    devices/ build fixed

 devices/zmq_forwarder/zmq_forwarder.cpp |    2 +-
 devices/zmq_queue/zmq_queue.cpp         |    2 +-
 devices/zmq_streamer/zmq_streamer.cpp   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit 10bbe6af9900b4609cfcadc031dcf4dcb8ebfb3b
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Mar 11 20:43:51 2010 +0100

    Cleanup .gitignore

 .gitignore |    6 ------
 1 file changed, 6 deletions(-)

commit 27e2d08449ea52649e2e42b263f76fbd5d8382c5
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Mar 11 20:33:27 2010 +0100

    Restructure language bindings
    
    C and C++ headers moved from bindings/ to include/, bindings/ removed
    --with-c and --with-cpp options to configure removed, C and C++ now built
    and installed by default

 bindings/c/zmq.h      |  249 ---------------------------------------------
 bindings/cpp/zmq.hpp  |  266 -------------------------------------------------
 configure.in          |   32 +-----
 include/zmq.h         |  249 +++++++++++++++++++++++++++++++++++++++++++++
 include/zmq.hpp       |  266 +++++++++++++++++++++++++++++++++++++++++++++++++
 perf/Makefile.am      |   10 +-
 perf/c/Makefile.am    |    2 +-
 perf/cpp/Makefile.am  |    2 +-
 src/Makefile.am       |   12 +--
 src/app_thread.cpp    |    2 +-
 src/dispatcher.cpp    |    2 +-
 src/downstream.cpp    |    2 +-
 src/err.cpp           |    2 +-
 src/fq.cpp            |    2 +-
 src/i_inout.hpp       |    2 +-
 src/io_thread.cpp     |    2 +-
 src/lb.cpp            |    2 +-
 src/msg_content.hpp   |    2 +-
 src/options.cpp       |    2 +-
 src/p2p.cpp           |    2 +-
 src/pipe.cpp          |    2 +-
 src/pipe.hpp          |    2 +-
 src/pub.cpp           |    2 +-
 src/rep.cpp           |    2 +-
 src/req.cpp           |    2 +-
 src/socket_base.cpp   |    2 +-
 src/socket_base.hpp   |    2 +-
 src/sub.cpp           |    2 +-
 src/sub.hpp           |    2 +-
 src/tcp_connecter.cpp |    2 +-
 src/tcp_listener.cpp  |    2 +-
 src/upstream.cpp      |    2 +-
 src/xrep.cpp          |    2 +-
 src/xreq.cpp          |    2 +-
 src/zmq.cpp           |    2 +-
 src/zmq_decoder.hpp   |    2 +-
 src/zmq_encoder.hpp   |    2 +-
 37 files changed, 549 insertions(+), 595 deletions(-)

commit 90944759b66771bbe399922eecedc5095fa2a509
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Mar 11 20:12:55 2010 +0100

    Removed Java binding from core distribution

 Makefile.am                        |    4 +-
 bindings/Makefile.am               |    7 -
 bindings/java/Context.cpp          |  112 ------------
 bindings/java/Makefile.am          |   72 --------
 bindings/java/Poller.cpp           |  126 -------------
 bindings/java/Socket.cpp           |  345 ------------------------------------
 bindings/java/org/zmq/Context.java |   58 ------
 bindings/java/org/zmq/Poller.java  |  135 --------------
 bindings/java/org/zmq/Socket.java  |  134 --------------
 configure.in                       |   73 +-------
 perf/Makefile.am                   |    8 +-
 perf/java/Makefile.am              |    5 -
 perf/java/local_lat.java           |   55 ------
 perf/java/local_thr.java           |   71 --------
 perf/java/remote_lat.java          |   60 -------
 perf/java/remote_thr.java          |   57 ------
 16 files changed, 9 insertions(+), 1313 deletions(-)

commit 9fda070e4d66d538e3c709c6cb8934cbf4442c29
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Mar 10 23:20:43 2010 +0100

    Typeset literal correctly

 doc/zmq_pgm.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 0a1e0beaa2849a51ea659eba0f142ce340d2cc6d
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Mar 10 23:18:08 2010 +0100

    Fixes to PGM wire format description

 doc/zmq_pgm.txt |   69 ++++++++++++++++++++++++++++++-------------------------
 1 file changed, 38 insertions(+), 31 deletions(-)

commit 5fef480aeb28424769d97c92f331d87f87b87c85
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Mar 10 13:52:41 2010 +0100

    Fixes to TCP wire format specification

 doc/zmq_tcp.txt |   42 ++++++++++++++++++++++++++----------------
 1 file changed, 26 insertions(+), 16 deletions(-)

commit 8f90ae8dfdf5efbb6c8429897dc95cad621af00b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Mar 10 12:40:13 2010 +0100

    wire formats in docs clarified

 doc/zmq_pgm.txt |   40 +++++++++++++++++++++++++++++++---------
 doc/zmq_tcp.txt |   22 +++++++++++++---------
 2 files changed, 44 insertions(+), 18 deletions(-)

commit 98801ebcaea1117ae596a3bae0653c3720a94359
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Mar 10 12:19:39 2010 +0100

    Documentation fixes

 doc/zmq.txt               |    3 ++-
 doc/zmq_bind.txt          |    4 ++--
 doc/zmq_close.txt         |    2 +-
 doc/zmq_connect.txt       |    4 ++--
 doc/zmq_flush.txt         |    2 +-
 doc/zmq_msg_close.txt     |    2 +-
 doc/zmq_msg_copy.txt      |    2 +-
 doc/zmq_msg_init.txt      |    2 +-
 doc/zmq_msg_init_data.txt |    2 +-
 doc/zmq_msg_init_size.txt |    2 +-
 doc/zmq_msg_move.txt      |    2 +-
 doc/zmq_poll.txt          |   13 +++++++------
 doc/zmq_recv.txt          |    2 +-
 doc/zmq_send.txt          |    2 +-
 doc/zmq_setsockopt.txt    |   18 ++++++++----------
 doc/zmq_socket.txt        |    7 ++++---
 doc/zmq_term.txt          |    2 +-
 17 files changed, 36 insertions(+), 35 deletions(-)

commit bc468b34513a0fd76e69e03f3f978abd7d8c3871
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Mar 9 19:29:41 2010 +0100

    Add missing section with zmq_version()

 doc/zmq.txt |    8 ++++++++
 1 file changed, 8 insertions(+)

commit edebff902a9785ecdb3a27f6a78ac7cc68b38a56
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Mar 9 18:58:59 2010 +0100

    Add dependency for zmq_epgm.7

 doc/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ca70b40383fd12ce866054dd87cecb3d732c8d9f
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Mar 9 18:53:42 2010 +0100

    Hack, zmq_epgm.7 needs to be copied from zmq_pgm.7

 doc/Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

commit 1aee86408d575d6572b071d7564da7f006d1757e
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Mar 9 18:47:31 2010 +0100

    Documentation rewrite

 doc/Makefile.am           |    4 +-
 doc/asciidoc.conf         |    8 ++
 doc/zmq.txt               |  227 +++++++++++++++++------------
 doc/zmq_bind.txt          |   60 +++++---
 doc/zmq_close.txt         |   37 +++--
 doc/zmq_connect.txt       |   60 +++++---
 doc/zmq_epgm.txt          |    1 +
 doc/zmq_flush.txt         |   48 +++----
 doc/zmq_forwarder.txt     |   17 +--
 doc/zmq_init.txt          |   52 ++++---
 doc/zmq_inproc.txt        |   85 ++++++++---
 doc/zmq_ipc.txt           |   72 +++++++---
 doc/zmq_java.txt          |   27 ----
 doc/zmq_msg_close.txt     |   43 +++---
 doc/zmq_msg_copy.txt      |   46 +++---
 doc/zmq_msg_data.txt      |   32 ++---
 doc/zmq_msg_init.txt      |   29 ++--
 doc/zmq_msg_init_data.txt |   51 ++++---
 doc/zmq_msg_init_size.txt |   51 +++----
 doc/zmq_msg_move.txt      |   38 +++--
 doc/zmq_msg_size.txt      |   35 ++---
 doc/zmq_pgm.txt           |  174 +++++++++++++----------
 doc/zmq_poll.txt          |  122 +++++++++++-----
 doc/zmq_queue.txt         |   17 +--
 doc/zmq_recv.txt          |   53 ++++---
 doc/zmq_send.txt          |   66 +++++----
 doc/zmq_setsockopt.txt    |  348 ++++++++++++++++++++++++++++++---------------
 doc/zmq_socket.txt        |  184 ++++++++++++------------
 doc/zmq_streamer.txt      |   17 +--
 doc/zmq_strerror.txt      |   25 ++--
 doc/zmq_tcp.txt           |  129 +++++++++++------
 doc/zmq_term.txt          |   33 ++---
 doc/zmq_udp.txt           |   56 --------
 doc/zmq_version.txt       |   23 +--
 34 files changed, 1297 insertions(+), 973 deletions(-)

commit d790940fd06060c8a2c624b0e41e470ad31ae0d8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 9 18:14:49 2010 +0100

    udp transport renamed to epgm

 configure.in        |    4 ++--
 src/socket_base.cpp |   10 ++++------
 2 files changed, 6 insertions(+), 8 deletions(-)

commit 5a776f5597cac632ca507e2d80ca0de064bba1d6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 9 17:34:28 2010 +0100

    PGM late joiners would start receiving a complete message rather than a message part

 src/zmq_encoder.cpp |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 0f891e091cc46775226ee1fe28784876395a7b92
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 9 17:24:42 2010 +0100

    message flags from the wire are written to zmq_msg_t and vice versa

 src/zmq_decoder.cpp |    4 ++--
 src/zmq_encoder.cpp |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 531c6af0d4df606ddef15da821dad20399b9480a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 9 16:56:53 2010 +0100

    message flags added to zmq_msg_t strcuture

 bindings/c/zmq.h |   14 +++++++++-----
 src/pipe.cpp     |    2 +-
 src/pub.cpp      |    4 ++--
 src/zmq.cpp      |   14 ++++++++------
 4 files changed, 20 insertions(+), 14 deletions(-)

commit 96ccc1c5fceb56bd7ffc2e6bef9ddab5347d722b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 9 15:10:44 2010 +0100

    'flags' fields added to the wire format

 src/zmq_decoder.cpp |   40 +++++++++++++++++++++++++++++-----------
 src/zmq_decoder.hpp |    1 +
 src/zmq_encoder.cpp |   11 ++++++++---
 src/zmq_encoder.hpp |    2 +-
 4 files changed, 39 insertions(+), 15 deletions(-)

commit e04e2cdbbaf351eb04164bdcd293fcb8fa22a9a4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Mar 9 08:43:20 2010 +0100

    rollback functionality added to pipe

 src/pipe.cpp   |   13 +++++++++++++
 src/pipe.hpp   |    3 +++
 src/ypipe.hpp  |   11 +++++++++++
 src/yqueue.hpp |   37 ++++++++++++++++++++++++++++++++++++-
 4 files changed, 63 insertions(+), 1 deletion(-)

commit 9481c69b0f60068f12aa26699588fed6a8faceec
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Mar 6 16:32:19 2010 +0100

    problem with NIC name resolution on OSX fixed

 src/ip.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 26b0aea24f9add0a1811e23f709d96b44b459571
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Mar 3 17:01:08 2010 +0100

    Win32 build fixes

 configure.in    |    8 ++++----
 src/Makefile.am |    4 ++++
 src/ip.hpp      |   10 +++++-----
 src/uuid.hpp    |    2 +-
 4 files changed, 14 insertions(+), 10 deletions(-)

commit 352da8ae8775f057a7ec67a7bd3f2270ac1c4d0f
Author: unknown <bundra@.(none)>
Date:   Wed Mar 3 15:47:21 2010 +0100

    type mismatch in tcp_listener (win version) fixed

 src/tcp_listener.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 14054ecce7d367d8e3d47f84f72d2fc748aec8e4
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Mar 3 09:41:57 2010 +0100

    Fix typo: zmq_close -> zmq_msg_close

 src/rep.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 708298d798693a19ace9a4811a3760d8de0a5c1d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Mar 3 00:08:11 2010 +0100

    Fix possible lockups when reading from ZMQ_REP sockets

 src/rep.cpp |   16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

commit 157a66fc42d46c79edc01f6feed8f482fb5d53f1
Author: unknown <bundra@.(none)>
Date:   Mon Mar 1 18:33:16 2010 +0100

    polling on POSIX sockets returns POLLERR (win32)

 src/zmq.cpp |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

commit 4e7158b67dcbbc307e76616a85aa34cc83ad6606
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Mar 1 17:40:39 2010 +0100

    return POLLERR from polling on POSIX sockets (linux version)

 src/zmq.cpp |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

commit 7442f53956e5d32d9c6a3543f8bef1664a773926
Merge: ea0a44c 83f85ea
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Feb 27 14:18:21 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit ea0a44c8a964cad4276ec216319d32e95e4a4bc0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Feb 27 14:18:02 2010 +0100

    Ruby binding removed

 bindings/Makefile.am      |    8 +-
 bindings/ruby/Makefile.am |   11 --
 bindings/ruby/extconf.rb  |   28 -----
 bindings/ruby/rbzmq.cpp   |  288 ---------------------------------------------
 configure.in              |   57 +--------
 perf/Makefile.am          |    8 +-
 perf/ruby/Makefile.am     |    1 -
 perf/ruby/local_lat.rb    |   41 -------
 perf/ruby/local_thr.rb    |   61 ----------
 perf/ruby/remote_lat.rb   |   53 ---------
 perf/ruby/remote_thr.rb   |   45 -------
 11 files changed, 7 insertions(+), 594 deletions(-)

commit 83f85ea51dee1fb2fcee22543a90361b860d6cb8
Author: unknown <bundra@.(none)>
Date:   Sat Feb 27 13:49:53 2010 +0100

    ruby binding removed from msvc build

 builds/msvc/msvc.sln         |    9 ------
 builds/msvc/ruby/ruby.vcproj |   68 ------------------------------------------
 2 files changed, 77 deletions(-)

commit 696ada883331359bee76b1ea996d8ac846624bea
Author: unknown <bundra@.(none)>
Date:   Sat Feb 27 13:36:52 2010 +0100

    python binding removed from nsvc build

 builds/msvc/msvc.sln             |    8 --
 builds/msvc/python/python.vcproj |  176 --------------------------------------
 2 files changed, 184 deletions(-)

commit 45414b5444db0a1f7e325c7dce92fbe84667d093
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Feb 27 12:23:22 2010 +0100

    python binding removed

 bindings/Makefile.am        |    8 +-
 bindings/python/Makefile.am |    7 -
 bindings/python/pyzmq.cpp   |  556 -------------------------------------------
 bindings/python/setup.py.in |   14 --
 configure.in                |   65 +----
 doc/Makefile.am             |    2 +-
 doc/zmq.txt                 |    3 -
 doc/zmq_python.txt          |   27 ---
 perf/Makefile.am            |    9 +-
 perf/python/Makefile.am     |    1 -
 perf/python/local_lat.py    |   49 ----
 perf/python/local_thr.py    |   70 ------
 perf/python/remote_lat.py   |   61 -----
 perf/python/remote_thr.py   |   53 -----
 14 files changed, 11 insertions(+), 914 deletions(-)

commit efefa069b2ce407a7da4328ab024c47920a76960
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Feb 26 20:03:58 2010 +0100

    Cygwin support

 configure.in |    7 +++++++
 src/uuid.cpp |    3 ++-
 src/uuid.hpp |    6 ++++--
 3 files changed, 13 insertions(+), 3 deletions(-)

commit deda7ca54a3c8f1ba735e8654ca87f8808606122
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 26 17:28:09 2010 +0100

    Java Poller patch

 .gitignore                         |    3 +
 bindings/java/Context.cpp          |  106 ------------------------------------
 bindings/java/Makefile.am          |   22 ++++++--
 bindings/java/org/zmq/Context.java |   18 ------
 4 files changed, 21 insertions(+), 128 deletions(-)

commit 4a1a83887d6faf36cb01f1c69142e6aafafe5eba
Author: unknown <bundra@.(none)>
Date:   Fri Feb 26 16:42:52 2010 +0100

    Win32 build of Java binding fixed

 builds/msvc/java/java.vcproj |   36 ++++++++++++++++++++++++++++++++----
 1 file changed, 32 insertions(+), 4 deletions(-)

commit 4440b13c359dab2c1ba55e31c604ac093172d68e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 26 15:55:36 2010 +0100

    Poller object implemented in Java binding

 bindings/java/Poller.cpp          |  126 ++++++++++++++++++++++++++++++++++
 bindings/java/org/zmq/Poller.java |  135 +++++++++++++++++++++++++++++++++++++
 2 files changed, 261 insertions(+)

commit 1c4daf79ce12da75acb8010c99b3c1d509a7a950
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 26 14:28:20 2010 +0100

    MIT license text added

 COPYING.LESSER |   31 ++++++++++++++++++++++++++++---
 1 file changed, 28 insertions(+), 3 deletions(-)

commit 57e057c825156b6effd15c07ee302f4ccdd2561c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 25 16:29:17 2010 +0100

    1st version of Java poll added

 bindings/java/Context.cpp          |  140 ++++++++++++++++++++++++++++++------
 bindings/java/Socket.cpp           |   89 +++++++++--------------
 bindings/java/org/zmq/Context.java |   21 +++++-
 bindings/java/org/zmq/Socket.java  |    5 +-
 4 files changed, 173 insertions(+), 82 deletions(-)

commit ed8fe68383ca94ca33a9919bc2ed5b5a5d62cab0
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 24 17:27:31 2010 +0100

    handle invalid PGM connection string decently

 src/pgm_socket.cpp |    6 ++++++
 1 file changed, 6 insertions(+)

commit be51cfa419bb6c75eb24d241769a7c5543c432a7
Merge: 0b4172b b7f01f9
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 24 16:19:53 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 0b4172b8689b60ce254c6823d69962bbdbd031d4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 24 16:19:14 2010 +0100

    minor cast issues on cygwin fixed

 src/ip.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit b7f01f9071c26292c30517bac18dae92efaf3ffb
Author: unknown <bundra@.(none)>
Date:   Wed Feb 24 15:33:03 2010 +0100

    chat example removed from win build; missing fd_signaler_t::poll on win added

 builds/msvc/msvc.sln |   18 ------------------
 src/fd_signaler.cpp  |   26 +++++++++++++++++++-------
 2 files changed, 19 insertions(+), 25 deletions(-)

commit 476ebde6280a428e2dd8fee7c70670aa449831c9
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 24 13:02:29 2010 +0100

    use binary UUIDs instead of string representation to save some bytes

 src/uuid.cpp     |   87 +++++++++++++++++++++++++++++++++++++++++++++++-------
 src/uuid.hpp     |   22 +++++++++++---
 src/zmq_init.cpp |    6 ++--
 3 files changed, 98 insertions(+), 17 deletions(-)

commit cc5c30f5dc2d6490c0199709ceb2d86e3cc3895d
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Feb 24 12:09:24 2010 +0100

    Fix: OpenPGM is now distributed as .tar.gz

 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit bba36e6ee6ecdee5f3ded30b9f11e7684393bfd2
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Feb 24 12:07:24 2010 +0100

    Disable IPv6 support
    
    The current IPv6 support is half-assed and breaks for too many people.
    Revert back to IPv4 only for now.

 src/ip.cpp |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

commit 39b89619742cf4aed25a5b3ccc5ff6d23d9d15cf
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Feb 24 09:41:10 2010 +0100

    Update OpenPGM to 2.0.24 (stable)

 .gitignore                               |    1 +
 configure.in                             |   16 ++++++++--------
 foreign/openpgm/libpgm-2.0.23rc8.tar.bz2 |  Bin 321822 -> 0 bytes
 foreign/openpgm/libpgm-2.0.24.tar.gz     |  Bin 0 -> 407110 bytes
 4 files changed, 9 insertions(+), 8 deletions(-)

commit ccd47f1ee8c9268b99478c6cce3d8b1aada62566
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 24 09:17:05 2010 +0100

    chat example moved to separate repo

 Makefile.am               |    4 +--
 configure.in              |   13 +--------
 examples/Makefile.am      |    7 -----
 examples/chat/Makefile.am |   11 --------
 examples/chat/README      |   42 ----------------------------
 examples/chat/display.cpp |   50 ---------------------------------
 examples/chat/prompt.cpp  |   67 ---------------------------------------------
 7 files changed, 3 insertions(+), 191 deletions(-)

commit 8980a985828579d03f031b18a1bebcd65eded417
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 24 08:29:29 2010 +0100

    zmq_error used from ruby binding

 bindings/ruby/rbzmq.cpp |   27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

commit 551fa104ffdb8c417b7d75ce70c463992e7d4652
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 23 23:43:31 2010 +0100

    zmq_errno used in C++ binding

 bindings/cpp/zmq.hpp |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

commit 95329719cda2b941e422d06daad3a7ba4c4a8829
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 23 23:37:05 2010 +0100

    zmq_errno is exported from the DLL

 bindings/c/zmq.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2441ef11a22170499d7ae12865dc98a61230f7ed
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 23 23:28:25 2010 +0100

    zmq_errno helper function added

 bindings/c/zmq.h |   10 ++++++++++
 src/zmq.cpp      |    5 +++++
 2 files changed, 15 insertions(+)

commit 2dd55605ea3956413cb25cab705ffdbdb2e00da5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 23 22:13:56 2010 +0100

    recv fails after polling for IN on REQ socket

 src/req.cpp |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit 025c9e173c58971993858ea66fb2eeaf08de195d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 23 17:22:52 2010 +0100

    execution disabled on certain source files; some comments on java binding; MSVC temp files added to .gitignore

 .gitignore                         |    9 +++++++++
 bindings/java/org/zmq/Context.java |    2 ++
 bindings/java/org/zmq/Socket.java  |    2 ++
 3 files changed, 13 insertions(+)

commit 71b4947f951f0120e4aadccb42f2452bb95dba06
Author: unknown <bundra@.(none)>
Date:   Tue Feb 23 12:02:55 2010 +0100

    Win32 build fixed

 builds/msvc/libzmq/libzmq.vcproj |    4 ++++
 1 file changed, 4 insertions(+)

commit 7c0df6ee02eb792c6afea7f047539840addb2f02
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 23 11:52:33 2010 +0100

    Java binding beautified, inline documentation added

 AUTHORS                            |    1 +
 bindings/java/Context.cpp          |  106 ++++++++++++-------
 bindings/java/Socket.cpp           |  197 +++++++++++++++++++++++++++---------
 bindings/java/org/zmq/Context.java |   17 ++--
 bindings/java/org/zmq/Socket.java  |   59 +++++++----
 5 files changed, 267 insertions(+), 113 deletions(-)

commit ef1b5974891a30b15299464859023a531c2328f8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 23 10:01:54 2010 +0100

    minor fix in zmq_socket(3) man page

 doc/zmq_socket.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b9a612ff3f74a3add607b054213d0f52e85cc426
Merge: f249555 61f0ef5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 22 18:19:51 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit f24955519ac0d3b0da5dd87fbb7bfc8cc1e24295
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 22 18:19:26 2010 +0100

    zmq_poll doesn't exit when infinite timeout is set and interrupt occurs

 src/zmq.cpp |   56 +++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 39 insertions(+), 17 deletions(-)

commit 61f0ef569b2f879b6b4e1f247253ceec08e774c7
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 22 18:16:40 2010 +0100

    NetBSD: Check for and use atomic_ops(3) if available

 configure.in |   18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

commit 3a69cca386a895313729f418ee44443794feed0f
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 22 16:42:13 2010 +0100

    Fix $build_doc/$install_man check yet again

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1294c1d33a1c73218eb94bf18ceb9ae873d08891
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Feb 21 16:58:53 2010 +0100

    typo in zmq_ipc(7) fixed

 doc/zmq_ipc.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit ff99d753ae30a7b5fef730fdcf1643e2928d9993
Author: malosek <malosek@fastmq.com>
Date:   Sat Feb 20 21:03:12 2010 +0100

    Minor buid system tunning

 autogen.sh   |    8 ++++++++
 configure.in |    1 -
 2 files changed, 8 insertions(+), 1 deletion(-)

commit 740e531fbb47ad324737c075251c674e9dced6f1
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Feb 20 09:11:30 2010 +0100

    Aleksey Yeschenko added to the credit section of AUTHORS file

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit 57148b1fdeec0080b77ecfa837add9557226261c
Author: Martin Lucina <mato@kotelna.sk>
Date:   Fri Feb 19 18:23:54 2010 +0100

    Add missing check for install_man=yes
    
    Fixes git builds w/o asciidoc, bug introduced in 46824abe

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8b86dcf81cc7b80267f334f4f26dfd319532ad25
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 19 17:50:47 2010 +0100

    build on cygwin enabled

 AUTHORS        |    1 +
 configure.in   |    3 +++
 src/poller.hpp |    2 ++
 3 files changed, 6 insertions(+)

commit 727054547f32680f7db098497c2d7b1a0b20e2d8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 19 17:02:07 2010 +0100

    don't check for identity, if the connection is anonymous

 src/session.cpp |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

commit aff1f6621ae13083c7f15f7f1f808560254a2dcb
Merge: 75f571c 2a79a94
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 19 15:25:05 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 75f571c8844231f4172f131e1dd6ba2348eb54e5
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 19 15:24:43 2010 +0100

    Multi-hop REQ/REP, part XII., generate unique identities for anonymous connections

 doc/zmq_setsockopt.txt |   10 ++++++----
 src/options.cpp        |    9 +++++++++
 src/session.cpp        |    6 +++---
 src/uuid.hpp           |    6 +++---
 src/zmq_encoder.cpp    |    1 -
 src/zmq_engine.cpp     |    4 +++-
 src/zmq_init.cpp       |   40 ++++++++++++++++++++--------------------
 7 files changed, 44 insertions(+), 32 deletions(-)

commit 2a79a943de417679c562cd4a917e1d1bc19b0d25
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Feb 18 19:38:15 2010 +0100

    Add NetBSD support

 configure.in           |   13 +++++++++++++
 src/atomic_bitmap.hpp  |   16 ++++++++--------
 src/atomic_counter.hpp |   14 +++++++-------
 src/atomic_ptr.hpp     |   14 +++++++-------
 src/ip.cpp             |   11 ++---------
 src/ip.hpp             |   10 ++++++++++
 src/kqueue.cpp         |   17 ++++++++++++++---
 src/kqueue.hpp         |    3 ++-
 src/poll.cpp           |    3 ++-
 src/poll.hpp           |    3 ++-
 src/poller.hpp         |    2 ++
 src/tcp_listener.cpp   |    2 +-
 src/uuid.cpp           |    2 +-
 src/uuid.hpp           |    4 ++--
 src/zmq.cpp            |    6 ++++--
 15 files changed, 77 insertions(+), 43 deletions(-)

commit 776b12633981fd95050e138daeeba00a65d9532b
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Feb 18 19:27:35 2010 +0100

    Fix typo

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ab27f84b14a317d78a9dd145ef5c82e0ef88f583
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Feb 18 19:27:15 2010 +0100

    libstdc++ depends on libm on some platforms

 configure.in |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 495f0d105f809a265c34aa9a0eb20af0dcdcf283
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Feb 18 17:29:14 2010 +0100

    Fix detection of libstdc++
    
    We only care about libstdc++ when using GNU C++.
    Further, libstdc++ depends on libm on some platforms, fix this.

 configure.in |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

commit 46824abeb2b016c51f406401d965816f71189aed
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Feb 18 17:25:49 2010 +0100

    Never build docs from tarball releases
    
    This fixes the build_doc logic to work as advertised and never
    try to (re)build documentation when working with a tarball release.

 configure.in    |   14 +++++++++++---
 doc/Makefile.am |    3 ++-
 2 files changed, 13 insertions(+), 4 deletions(-)

commit 8be491b7bdb8525eb37cebf355697c566a482e2d
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Feb 18 13:46:00 2010 +0100

    Use feature test macros more conservatively
    
    It turns out that feature test macros are a complete mess, and defining
    _GNU_SOURCE and _POSIX_C_SOURCE together breaks some systems. So we try
    and define the appropriate "make everything visible" combination specific
    to each system instead. This may still break something, so people should
    test their platforms and speak up if so.

 configure.in |   15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

commit d008637bc42da3fca50e423c2df0736be2745ac7
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 17 21:16:59 2010 +0100

    one more attempt to fix the previous win32 problem

 src/socket_base.cpp |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

commit f97da5e6449b183ad3ebb9b0ba8c37ff3dc17387
Merge: e385319 41354bf
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 17 20:33:46 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit e385319e5aaff6deafddfb216b24f026b461caa6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 17 20:33:00 2010 +0100

    recv returning -1 while errno=0 fixed

 src/socket_base.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit 41354bfa9820eb4495cf98342177d036df2a7dc7
Author: unknown <bundra@.(none)>
Date:   Wed Feb 17 20:16:19 2010 +0100

    zmq_version fixed on Win32 platform

 builds/msvc/platform.hpp |    5 +++++
 1 file changed, 5 insertions(+)

commit f745c96a9bcf930d10fe31de5f7b3e772cccfa83
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Feb 17 15:40:26 2010 +0100

    Add POSIX and GNU Feature Test Macros
    
    This should fix more exotic POSIX platforms such as HPUX which insist on
    having _POSIX_C_SOURCE defined to get proper threading behaviour. We also
    define _GNU_SOURCE so that we get any extensions on systems with glibc, e.g.
    eventfd.

 configure.in |   16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

commit 9d8623b28f09f5a6db94c7d69ae264984ef1fbe3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 17 08:30:27 2010 +0100

    ZMQII-76: Bug in how replies are handled when the REQ endpoint goes away

 src/rep.cpp |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

commit 33cb20a747a2ca2c7b0487b023cfd6548ffe11e8
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 16 23:31:17 2010 +0100

    ZMQII-77: Put librbzmq symbols into ZMQ module

 AUTHORS                 |    1 +
 bindings/ruby/rbzmq.cpp |   75 ++++++++++++++++++++++++-----------------------
 perf/ruby/local_lat.rb  |    4 +--
 perf/ruby/local_thr.rb  |    6 ++--
 perf/ruby/remote_lat.rb |    4 +--
 perf/ruby/remote_thr.rb |    4 +--
 6 files changed, 49 insertions(+), 45 deletions(-)

commit 1e7878489dc5d3013b5e5858fe404ab6b4a6947a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 16 23:02:59 2010 +0100

    exconf.rb checks for libzmq.so installation

 AUTHORS                  |    1 +
 bindings/ruby/extconf.rb |    8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 8214d386c3f10dcc7f034a1159e82aa2d470829f
Merge: 4190f64 96b2690
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 16 22:20:09 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 4190f64d8cfc3950bc456ea7793db72130d05feb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 16 22:19:33 2010 +0100

    Special exception clause added to LGPL license

 COPYING.LESSER |   17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

commit 96b2690716a811a4c782de0eccfb9affa398cfe4
Merge: 60ce5cc a2f9899
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Feb 16 19:59:32 2010 +0100

    Merge branch 'master' of github.com:sustrik/zeromq2

commit 60ce5cc82a48d5881cb493a5b6b3afba19bd0863
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Feb 16 19:58:55 2010 +0100

    PGM tarball should be removed on 'distclean', not 'clean'

 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b9caa319e279cd8cd367e0a64308b9e80c4ead3d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 16 18:30:38 2010 +0100

    Multi-hop REQ/REP, part XI., finalise the XREQ/XREP functionality

 src/downstream.cpp   |    2 +-
 src/downstream.hpp   |    3 ++-
 src/i_endpoint.hpp   |    4 +++-
 src/i_engine.hpp     |    9 +++++----
 src/p2p.cpp          |    2 +-
 src/p2p.hpp          |    3 ++-
 src/pgm_receiver.cpp |    8 +++++++-
 src/pgm_receiver.hpp |    3 ++-
 src/pgm_sender.cpp   |    8 +++++++-
 src/pgm_sender.hpp   |    3 ++-
 src/pub.cpp          |    2 +-
 src/pub.hpp          |    3 ++-
 src/rep.cpp          |    2 +-
 src/rep.hpp          |    3 ++-
 src/req.cpp          |    2 +-
 src/req.hpp          |    3 ++-
 src/session.cpp      |    7 ++++++-
 src/session.hpp      |    3 ++-
 src/socket_base.cpp  |   12 ++++++------
 src/socket_base.hpp  |    5 +++--
 src/sub.cpp          |    2 +-
 src/sub.hpp          |    3 ++-
 src/upstream.cpp     |    2 +-
 src/upstream.hpp     |    3 ++-
 src/xrep.cpp         |   51 ++++++++++++++++++++++++++++++++++++++++++++------
 src/xrep.hpp         |   10 +++++++++-
 src/xreq.cpp         |    2 +-
 src/xreq.hpp         |    3 ++-
 src/zmq_decoder.cpp  |   48 +++++++++++++++++++++++++++++------------------
 src/zmq_encoder.cpp  |   15 +++++++++++----
 src/zmq_engine.cpp   |    8 ++++++--
 src/zmq_engine.hpp   |    3 ++-
 src/zmq_init.cpp     |    6 +-----
 33 files changed, 171 insertions(+), 72 deletions(-)

commit 2ddce205350f11dacd8d8550f7d4e6e088c7fbcd
Merge: 43620b3 a2f9899
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 16 18:03:41 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit a2f9899f6a1fad3f9c73fc7599445bdde0b95ec4
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 16 17:50:36 2010 +0100

    missing COPYING file added

 .gitignore       |    1 -
 COPYING          |  674 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_poll.txt |    3 +-
 3 files changed, 676 insertions(+), 2 deletions(-)

commit afb526f31a82b8697b5f7e73e50b14705a3a74b2
Author: Martin Lucina <mato@kotelna.sk>
Date:   Tue Feb 16 00:11:38 2010 +0100

    Fix 'make dist' to work with no special magic

 bindings/java/Makefile.am |   13 +++++++------
 perf/c/Makefile.am        |    4 ++--
 2 files changed, 9 insertions(+), 8 deletions(-)

commit 8e9b78af271ae54882abf3010260d1e80ddd70f2
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 15 23:59:35 2010 +0100

    Correct path for pgm distclean

 Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit df0c18ca17aa0dcd0e9f3737666a794b943f0982
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 15 23:54:49 2010 +0100

    Missed one instance of pgm2

 Makefile.am |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit b09eeeb2fac380da1e3455cdf97278850842e1c8
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 15 23:52:08 2010 +0100

    Update gitignore

 .gitignore |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 80c820d758aa65d71fbf4a24fd59d11de1f72fa5
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 15 23:51:05 2010 +0100

    Cleaning up more PGM cruft

 Makefile.am        |    3 +++
 configure.in       |   65 +++++++++++++++++++---------------------------------
 perf/c/Makefile.am |    4 ++--
 src/Makefile.am    |   12 +++++++---
 4 files changed, 37 insertions(+), 47 deletions(-)

commit 635e314643885ce8508ee64632bed7d6228fe8b6
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 15 23:09:57 2010 +0100

    Clarify python.h messages

 configure.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 55800cea8c63ea84bd99e4c660ef1fd17a353e32
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 15 23:02:24 2010 +0100

    Fix typo

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5687661ba4a1ecf70e130047dc288cb6cff6f21a
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 15 22:58:45 2010 +0100

    Cleanup messages from configure.in

 configure.in |   44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

commit 48a90cfb347bc983362ce2bc021591d513d6a5ec
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 15 22:25:01 2010 +0100

    Replace check for sparc with host_cpu

 configure.in |   25 ++++++++-----------------
 1 file changed, 8 insertions(+), 17 deletions(-)

commit 0ded6c1973596436d7e5c54cfb89ada4d6c7473d
Author: Martin Lucina <mato@kotelna.sk>
Date:   Mon Feb 15 22:17:18 2010 +0100

    Multiple fixes to --with-pgm
    
    Disallow build --with-pgm on non-x86/AMB64 CPUs
    Check correctly for all dependencies required by --with-pgm
    Don't assume tar has -j
    Reorder --with-pgm checks

 configure.in |   70 +++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 42 insertions(+), 28 deletions(-)

commit 94c74d5c18183b49507d633c7b06713841cfcb03
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 15 21:04:34 2010 +0100

    Brian Granger added to credits list

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit f96f53c9687b5a032ef45ce42154a7f944492eec
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 15 21:03:11 2010 +0100

    ZMQ_POLLERR placeholder added to zmq.h

 bindings/c/zmq.h |    1 +
 1 file changed, 1 insertion(+)

commit 5041b0bc0bce43e5b6d8b6c6264141d33f3c2a7c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 15 20:35:00 2010 +0100

    fixing the previous commit :(

 src/ip.cpp |    1 -
 1 file changed, 1 deletion(-)

commit 7778010d76e6da534307ca3f0a3506d3d7f0ec5d
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 15 19:58:47 2010 +0100

    care taken of the fact that AI_NUMERICSERV is not defined on OSX 10.5

 src/ip.cpp |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

commit 817c89a78ea7b773046b010ca129fd1206e1c8f0
Author: malosek <malosek@fastmq.com>
Date:   Mon Feb 15 19:42:05 2010 +0100

    removed first dummy run of PKG_CHECK_EXISTS

 configure.in |    5 -----
 1 file changed, 5 deletions(-)

commit 43620b3d35e3f3a6e49046fdc0426651bf58dedb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Feb 14 13:34:48 2010 +0100

    Multi-hop REQ/REP, part X., optional delayed creation of pipes during connect

 src/options.cpp     |    1 +
 src/options.hpp     |    6 ++++++
 src/rep.cpp         |    5 +++++
 src/session.cpp     |   48 +++++++++++++++++++++-----------------------
 src/socket_base.cpp |   55 ++++++++++++++++++++++++++++++++-------------------
 src/xrep.cpp        |    4 ++++
 6 files changed, 74 insertions(+), 45 deletions(-)

commit 4405250d93a2ad6eb3940c4bc4fe8ea32bd52f9e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Feb 13 15:30:03 2010 +0100

    Multi-hop REQ/REP, part IX., pass the peer identity as far as socket_base_t

 src/command.cpp     |    4 ++++
 src/command.hpp     |    2 ++
 src/object.cpp      |   28 ++++++++++++++++++++++++----
 src/object.hpp      |    4 ++--
 src/options.cpp     |    2 +-
 src/options.hpp     |    5 ++---
 src/pgm_socket.cpp  |    7 +++++--
 src/session.cpp     |    2 +-
 src/socket_base.cpp |    5 +++--
 src/socket_base.hpp |    3 ++-
 10 files changed, 46 insertions(+), 16 deletions(-)

commit f5ce81f2893ec0707c2f4346740878e68b51e13a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Feb 13 14:07:30 2010 +0100

    Multi-hop REQ/REP, part VIII., new blob_t type used for holding identity

 src/Makefile.am      |    1 +
 src/blob.hpp         |   33 +++++++++++++++++++++++++++++++++
 src/i_engine.hpp     |    5 +++--
 src/object.cpp       |   19 +++++++++----------
 src/object.hpp       |    7 ++++---
 src/pgm_receiver.cpp |    3 +--
 src/pgm_receiver.hpp |    2 +-
 src/pgm_sender.cpp   |    3 +--
 src/pgm_sender.hpp   |    2 +-
 src/session.cpp      |   32 +++++++++++---------------------
 src/session.hpp      |   13 +++++--------
 src/socket_base.cpp  |   24 ++++++++++--------------
 src/socket_base.hpp  |   14 ++++++--------
 src/zmq_decoder.cpp  |   34 +++++++++++++---------------------
 src/zmq_decoder.hpp  |    6 +++---
 src/zmq_engine.cpp   |    5 ++---
 src/zmq_engine.hpp   |    2 +-
 src/zmq_init.cpp     |   17 ++++++-----------
 src/zmq_init.hpp     |    5 ++---
 19 files changed, 113 insertions(+), 114 deletions(-)

commit cdc2efe9b5f0d1f45065b1c32e5eabd7e9f78a12
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Feb 13 13:07:33 2010 +0100

    Multi-hop REQ/REP, part VII., identity-related algorithms rewritten

 src/session.cpp     |  114 +++++++++++++++++++++++++++++++--------------------
 src/session.hpp     |   10 +----
 src/socket_base.cpp |   25 ++++++-----
 src/socket_base.hpp |    9 ++--
 src/zmq_init.cpp    |    4 +-
 5 files changed, 93 insertions(+), 69 deletions(-)

commit 923eacd28a725a6b32de588fe7a54dbe252d84aa
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Feb 13 09:09:40 2010 +0100

    Multi-hop REQ/REP, part VI., session 'name' renamed to 'peer_identity'

 src/session.cpp  |   16 ++++++++--------
 src/session.hpp  |   14 +++++++++-----
 src/zmq_init.cpp |    7 ++++---
 3 files changed, 21 insertions(+), 16 deletions(-)

commit 2e78e48503375a415d95ee8df80df9c065172abc
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 12 20:49:00 2010 +0100

    Multi-hop REQ/REP, part V., peer identity is passed from init object to session

 src/command.cpp  |   10 ++++++++++
 src/command.hpp  |    2 ++
 src/object.cpp   |   22 ++++++++++++++++++++--
 src/object.hpp   |    6 ++++--
 src/session.cpp  |    3 ++-
 src/session.hpp  |    3 ++-
 src/zmq_init.cpp |    3 ++-
 7 files changed, 42 insertions(+), 7 deletions(-)

commit d8430f4b9a43bf8c99854298edc9f1bc35c0e8ec
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 12 20:03:02 2010 +0100

    Multi-hop REQ/REP, part IV., add command deallocation mechanism

 src/Makefile.am    |    1 +
 src/command.cpp    |   24 ++++++++++++++++++++++++
 src/command.hpp    |    3 +++
 src/dispatcher.cpp |    4 ++++
 src/object.cpp     |   18 +++++++++++-------
 5 files changed, 43 insertions(+), 7 deletions(-)

commit 313b5dfadd8753b341197cc109bce40e08856cf6
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 12 19:42:35 2010 +0100

    Multi-hop REQ/REP, part III., change 'type' in options to simple 'traceroute' flag

 src/downstream.cpp |    1 -
 src/options.cpp    |    4 ++--
 src/options.hpp    |    6 +++---
 src/p2p.cpp        |    1 -
 src/pub.cpp        |    1 -
 src/rep.cpp        |    1 -
 src/req.cpp        |    1 -
 src/sub.cpp        |    1 -
 src/upstream.cpp   |    1 -
 src/xrep.cpp       |    5 ++++-
 src/xreq.cpp       |    1 -
 src/zmq_init.cpp   |    2 +-
 12 files changed, 10 insertions(+), 15 deletions(-)

commit 96e0442332fcc680ddafdcaa8fcbdc6acd992c76
Merge: 36a5763 dc8f4b1
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 12 15:58:22 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 36a576370ccfed3c104850b5b95a6ed3870edbea
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 12 15:57:54 2010 +0100

    Multi-hop REQ/REP, part I., tracerouting switched on on XREP socket

 src/i_engine.hpp     |    8 ++++++++
 src/pgm_receiver.cpp |    9 ++++++++-
 src/pgm_receiver.hpp |    1 +
 src/pgm_sender.cpp   |    9 ++++++++-
 src/pgm_sender.hpp   |    1 +
 src/zmq_decoder.cpp  |   27 +++++++++++++--------------
 src/zmq_decoder.hpp  |    6 +++++-
 src/zmq_encoder.cpp  |   13 +++++++++----
 src/zmq_encoder.hpp  |    8 ++++++--
 src/zmq_engine.cpp   |   11 +++++++++--
 src/zmq_engine.hpp   |    1 +
 src/zmq_init.cpp     |    6 ++++++
 12 files changed, 75 insertions(+), 25 deletions(-)

commit dc8f4b1b761103784b422b7604bc8f36d429d3f4
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Feb 12 15:08:57 2010 +0100

    Fix memory leak in bind()

 src/socket_base.cpp  |    4 +++-
 src/zmq_listener.hpp |    3 +--
 2 files changed, 4 insertions(+), 3 deletions(-)

commit 7b4cf2a4d040057f6f378cac2cd125513a859c1b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 12 13:33:50 2010 +0100

    Multi-hop REQ/REP, part I., socket type is known to all associated objects

 src/downstream.cpp |    1 +
 src/options.cpp    |    1 +
 src/options.hpp    |    3 +++
 src/p2p.cpp        |    1 +
 src/pub.cpp        |    1 +
 src/rep.cpp        |    1 +
 src/req.cpp        |    1 +
 src/sub.cpp        |    1 +
 src/upstream.cpp   |    1 +
 src/xrep.cpp       |    1 +
 src/xreq.cpp       |    1 +
 11 files changed, 13 insertions(+)

commit cd7300fd4f25754f844b17a77685ec837ebecbbb
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Feb 12 12:12:49 2010 +0100

    Resolve command starvation in recv()

 src/socket_base.cpp |   38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

commit 7f7ac843d58b3d8a77f681fa4c35bd21726b6f31
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Feb 11 17:51:47 2010 +0100

    Next 0MQ release will be 2.0.6
    
    As decided on the mailing list, there have been five 2.x releases to
    date, so the upcoming release will be numbered 2.0.6.

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit de41c9da31246314bb2b0c55dfe3b2884d48df3b
Merge: 30b967e 92d0147
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Feb 11 17:51:08 2010 +0100

    Merge branch 'master' of github.com:sustrik/zeromq2

commit 30b967e2a439ce76b1141d34fa3c8ee9f87a88a8
Author: Martin Lucina <mato@kotelna.sk>
Date:   Thu Feb 11 17:49:40 2010 +0100

    Integrate version numbering into autoconf
    
    configure.in is now the master source for the package version number,
    this propagates to src/platform.hpp (for zmq_version) and doc/Makefile.am
    (for documentation generation) automagically.

 configure.in      |   28 +++++++++++++++++++++++++++-
 doc/Makefile.am   |    6 ++++--
 doc/asciidoc.conf |    2 +-
 src/config.hpp    |    5 -----
 src/zmq.cpp       |    6 +++---
 5 files changed, 35 insertions(+), 12 deletions(-)

commit 92d0147b20f77cad5d20e257aec502f628e7889e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 11 16:50:40 2010 +0100

    python binding build with 2.4 version of python fixed

 bindings/python/pyzmq.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 432fbd796bb4905fb19ceee802009b17e88e9256
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 11 10:43:59 2010 +0100

    ZMQII-72: Add zmq_version function (documentation)

 doc/Makefile.am     |    4 ++--
 doc/zmq_version.txt |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 2 deletions(-)

commit bd9213e71222df66634d59581264ffe67210222c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 11 10:29:33 2010 +0100

    ZMQII-72: Add zmq_version function

 bindings/c/zmq.h |    6 ++++++
 src/config.hpp   |    4 ++++
 src/zmq.cpp      |    8 ++++++++
 3 files changed, 18 insertions(+)

commit 7cab423fc20e46f54fa561e51b566cc8a63ca5c1
Merge: bc9b7f1 354efc5
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Feb 10 17:14:21 2010 +0100

    Merge branch 'master' of github.com:sustrik/zeromq2

commit bc9b7f1f54b9dcf754021f1f7eb766d71cc97f29
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Feb 10 12:48:04 2010 +0100

    lb: bugfix - never skip active pipe when sending msg

 src/lb.cpp |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

commit 6b3c1798e7554dd1ce63b2ad137e327f3f32fcf1
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Feb 10 12:47:34 2010 +0100

    fq: bugfix - don't read msg from inactive pipe

 src/fq.cpp |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 354efc513fdb4096f8830e6c2e3e8f1311303e61
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Feb 10 16:18:46 2010 +0100

    Convert documentation to AsciiDoc

 .gitignore                   |    5 ++
 Makefile.am                  |    8 +-
 configure.in                 |   19 ++++-
 doc/Makefile.am              |   41 ++++++++++
 doc/asciidoc.conf            |   34 ++++++++
 doc/zmq.txt                  |  175 ++++++++++++++++++++++++++++++++++++++++++
 doc/zmq_bind.txt             |   67 ++++++++++++++++
 doc/zmq_close.txt            |   52 +++++++++++++
 doc/zmq_connect.txt          |   63 +++++++++++++++
 doc/zmq_cpp.txt              |   89 +++++++++++++++++++++
 doc/zmq_flush.txt            |   59 ++++++++++++++
 doc/zmq_forwarder.txt        |   32 ++++++++
 doc/zmq_init.txt             |   61 +++++++++++++++
 doc/zmq_inproc.txt           |   50 ++++++++++++
 doc/zmq_ipc.txt              |   44 +++++++++++
 doc/zmq_java.txt             |   27 +++++++
 doc/zmq_msg_close.txt        |   53 +++++++++++++
 doc/zmq_msg_copy.txt         |   60 +++++++++++++++
 doc/zmq_msg_data.txt         |   50 ++++++++++++
 doc/zmq_msg_init.txt         |   54 +++++++++++++
 doc/zmq_msg_init_data.txt    |   67 ++++++++++++++++
 doc/zmq_msg_init_size.txt    |   61 +++++++++++++++
 doc/zmq_msg_move.txt         |   55 +++++++++++++
 doc/zmq_msg_size.txt         |   53 +++++++++++++
 doc/zmq_pgm.txt              |  106 +++++++++++++++++++++++++
 doc/zmq_poll.txt             |   85 ++++++++++++++++++++
 doc/zmq_python.txt           |   27 +++++++
 doc/zmq_queue.txt            |   32 ++++++++
 doc/zmq_recv.txt             |   66 ++++++++++++++++
 doc/zmq_send.txt             |   77 +++++++++++++++++++
 doc/zmq_setsockopt.txt       |  155 +++++++++++++++++++++++++++++++++++++
 doc/zmq_socket.txt           |  126 ++++++++++++++++++++++++++++++
 doc/zmq_streamer.txt         |   32 ++++++++
 doc/zmq_strerror.txt         |   50 ++++++++++++
 doc/zmq_tcp.txt              |   93 ++++++++++++++++++++++
 doc/zmq_term.txt             |   49 ++++++++++++
 doc/zmq_udp.txt              |   56 ++++++++++++++
 man/Makefile.am              |   22 ------
 man/convert2html.sh          |   55 -------------
 man/convert2pdf.sh           |   88 ---------------------
 man/man1/zmq_forwarder.1     |   11 ---
 man/man1/zmq_queue.1         |   11 ---
 man/man1/zmq_streamer.1      |   11 ---
 man/man3/zmq_bind.3          |   52 -------------
 man/man3/zmq_close.3         |   30 --------
 man/man3/zmq_connect.3       |   49 ------------
 man/man3/zmq_flush.3         |   37 ---------
 man/man3/zmq_init.3          |   40 ----------
 man/man3/zmq_msg_close.3     |   32 --------
 man/man3/zmq_msg_copy.3      |   43 -----------
 man/man3/zmq_msg_data.3      |   27 -------
 man/man3/zmq_msg_init.3      |   33 --------
 man/man3/zmq_msg_init_data.3 |   55 -------------
 man/man3/zmq_msg_init_size.3 |   44 -----------
 man/man3/zmq_msg_move.3      |   38 ---------
 man/man3/zmq_msg_size.3      |   30 --------
 man/man3/zmq_poll.3          |   71 -----------------
 man/man3/zmq_recv.3          |   52 -------------
 man/man3/zmq_send.3          |   64 ---------------
 man/man3/zmq_setsockopt.3    |  137 ---------------------------------
 man/man3/zmq_socket.3        |  110 --------------------------
 man/man3/zmq_strerror.3      |   27 -------
 man/man3/zmq_term.3          |   25 ------
 man/man7/zmq.7               |  151 ------------------------------------
 man/man7/zmq_cl.7            |  124 ------------------------------
 man/man7/zmq_cpp.7           |  103 -------------------------
 man/man7/zmq_inproc.7        |   42 ----------
 man/man7/zmq_ipc.7           |   34 --------
 man/man7/zmq_java.7          |    9 ---
 man/man7/zmq_pgm.7           |   98 -----------------------
 man/man7/zmq_python.7        |    9 ---
 man/man7/zmq_tcp.7           |   80 -------------------
 man/man7/zmq_udp.7           |   45 -----------
 73 files changed, 2224 insertions(+), 1898 deletions(-)

commit 2d44bf3644c8e12aa86c48e9da4df19bfa9ea703
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 10 11:04:28 2010 +0100

    ZMQII-69: Make 0MQ build on HP-UX

 src/fd_signaler.cpp   |    4 ++--
 src/tcp_connecter.cpp |    6 +++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

commit 8c25bab31d63bf5e2c4eec6d9084cf7d1c1e5dd3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 10 10:42:54 2010 +0100

    ZMQII-70: zmq_poll on win32 fails with EINVAL

 src/zmq.cpp |   27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

commit 8f86cac2f6721eec4b600383eb113f7fedf41ce1
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 9 19:23:15 2010 +0100

    ZMQII-69: Make 0MQ build on HP-UX

 src/fd_signaler.cpp   |   78 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/ip.cpp            |    4 +--
 src/tcp_connecter.hpp |    9 +++++-
 3 files changed, 87 insertions(+), 4 deletions(-)

commit fd673ae231119682a242967551cfa034fa32791a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 9 15:21:26 2010 +0100

    couple of typos in the documentation fixed

 examples/chat/README |    2 +-
 man/man3/zmq_term.3  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 6b2ca4e158c3394f5aba8f0f01ff1734423683f9
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 9 15:15:44 2010 +0100

    ZMQII-67: Build checks for python even if it's not needed

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4c870ede7fdecaf1f952b01096e09cc03a7c7aef
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 9 09:08:37 2010 +0100

    ZMQII-57: Shutdown OpenPGM library

 src/pgm_socket.cpp |   31 +------------------------------
 src/zmq.cpp        |   47 ++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 47 insertions(+), 31 deletions(-)

commit 396e41a2a4b31f91ef4c4458d53be9e3a9b4bb92
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 8 18:55:51 2010 +0100

    minor change to README

 README |    2 --
 1 file changed, 2 deletions(-)

commit 01533a5aefb49e23be95cab9cfa5ca32cd438d25
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 8 18:37:48 2010 +0100

    ZMQII-65: Two OS threads are mapped to the same app_thread_t

 src/app_thread.cpp |   23 +++------------
 src/app_thread.hpp |   19 -------------
 src/dispatcher.cpp |   79 +++++++++++++++++++++++++++++++++-------------------
 src/dispatcher.hpp |   29 ++++++++++++++-----
 4 files changed, 76 insertions(+), 74 deletions(-)

commit 7593d815ac57f2877480c5056b2f1aa65460f5c3
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Mon Feb 8 10:34:12 2010 +0100

     ZMQII-64: First message stuck in 0MQ in case of immediate disconnection

 src/zmq_engine.cpp |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 427bc3276aa236c8691fee7e634717d0579a3055
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Feb 7 16:24:14 2010 +0100

    minor code cleanup

 src/socket_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b0ee6b0c8ab8a5052a5e111dda24308dd00c0d62
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Feb 7 11:31:05 2010 +0100

    ZMQII-62: zmq_close after sending message via P2P socket fails

 src/p2p.cpp |    5 +++++
 1 file changed, 5 insertions(+)

commit bbaa494fb569d94c356ddecca7dbf249ffc217cf
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Feb 7 09:14:43 2010 +0100

    ZMQII-59: TCP server crashes sometimes when message is send and socket is closed immediately

 src/dispatcher.cpp |   23 +++++++++++++++++++++++
 src/dispatcher.hpp |   16 ++--------------
 src/object.cpp     |   12 +++++-------
 3 files changed, 30 insertions(+), 21 deletions(-)

commit d21bf21a362cf6d20d8d060bb91ee2fdca1dd88b
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Fri Feb 5 13:00:49 2010 +0100

    allow async connect on Win32 return WSAECONNABORTED

 src/tcp_connecter.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 0888fcd06f1c66ec3dfab744bfc24d1486737c7e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 4 23:58:41 2010 +0100

    yqueue_t uses malloc/free instead of new/delete

 src/yqueue.hpp |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit 30076c4f7a5b0c70ef0c5a6574cac531bc996f5e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 4 17:46:47 2010 +0100

    ZMQII-58: TCP connecting asserts on Win32 (same fix for POSIX)

 src/tcp_connecter.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c46b7ed1978ead346022577ff015b092f3257c84
Author: unknown <bundra@.(none)>
Date:   Thu Feb 4 17:40:04 2010 +0100

    ZMQII-58: TCP connecting asserts on Win32

 src/tcp_connecter.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b86483acbe109566f4e0fb43266fdd98e7648d55
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 4 14:50:59 2010 +0100

    ZMQII-50: Document Ruby Bindings

 man/Makefile.am     |    2 +-
 man/convert2html.sh |    1 -
 man/convert2pdf.sh  |    2 --
 man/man7/zmq_ruby.7 |    9 ---------
 4 files changed, 1 insertion(+), 13 deletions(-)

commit bc90231227a84f4b7dffe432a8efa70b75c19031
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Thu Feb 4 09:39:57 2010 +0100

    contrain interface name resolving in OpenPGM to IPv4 interfaces

 src/pgm_socket.cpp |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 0f697fe2b460dfbec7481f6d535b95f6b4cc2eac
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 3 20:04:44 2010 +0100

    ZMQII-56: Avoid allocation of chunk in yqueue.hpp by keeping a spare one

 AUTHORS        |    1 +
 src/yqueue.hpp |   31 ++++++++++++++++++++++++++-----
 2 files changed, 27 insertions(+), 5 deletions(-)

commit 72bbc92b70a67fab1dbba6fbd53f574944bdd8e4
Merge: 6502c16 4172fdd
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Feb 3 15:54:39 2010 +0100

    Merge branch 'master' of github.com:sustrik/zeromq2

commit 6502c16a7fd878e61f0672a47e2cdb4d56ab0eb2
Author: Martin Lucina <mato@kotelna.sk>
Date:   Wed Feb 3 15:52:11 2010 +0100

    Update OpenPGM to 2.0.23rc8

 configure.in                             |   10 +++++-----
 foreign/openpgm/libpgm-2.0.21rc6.tar.bz2 |  Bin 323697 -> 0 bytes
 foreign/openpgm/libpgm-2.0.23rc8.tar.bz2 |  Bin 0 -> 321822 bytes
 src/Makefile.am                          |    3 ++-
 4 files changed, 7 insertions(+), 6 deletions(-)

commit 4172fdd6970d4b42443442bf6633f9a9bd4c6f2b
Author: unknown <bundra@.(none)>
Date:   Wed Feb 3 14:55:46 2010 +0100

    Win32 build fixed

 builds/msvc/libzmq/libzmq.vcproj |    8 +++++
 builds/msvc/msvc.sln             |    9 +++++
 builds/msvc/ruby/ruby.vcproj     |   68 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 85 insertions(+)

commit 7c25feb51bdbc9563cc65ff4829f761ef7231483
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Wed Feb 3 13:06:34 2010 +0100

    ZMQII-55: At most one PGM/UDP transport can be opened

 src/pgm_socket.cpp |   38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

commit 9cee8f9c3e22f1e880988271ab1c31c92827efde
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 2 15:11:25 2010 +0100

    problem with PGM messages larger than 1 MTU fixed

 src/pgm_receiver.cpp |  104 ++++++++++++++++++++++++++------------------------
 1 file changed, 54 insertions(+), 50 deletions(-)

commit 27e47bdcc0358b84a57378e19359556e2dbcb50e
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 2 13:29:31 2010 +0100

    ZMQII-54: Affinity isn't honoured

 src/dispatcher.cpp |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

commit 5d16070ffcd426e81ea27520f6847d68e5e5af80
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 2 08:46:35 2010 +0100

    ZMQII-53: Memory leak when using invalid socket type

 src/dispatcher.cpp |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit a1e70f29575994798df1d57314193782f6d9cdcb
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 2 08:27:38 2010 +0100

    ZMQII-52: Asserion during reconnection

 src/zmq_init.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 528610ff55ef283b99cbcda007200a6b4092be59
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Tue Feb 2 08:14:23 2010 +0100

    typo in zmq_socket(3) man page fixed

 man/man3/zmq_socket.3 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 00b9a5dedeb47efd78aea59b579a4b5befba743a
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sun Jan 31 20:14:30 2010 +0100

    ZMQII-51: Implement O(1) topic matching

 src/Makefile.am     |    2 +
 src/prefix_tree.cpp |  175 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/prefix_tree.hpp |   55 ++++++++++++++++
 src/sub.cpp         |   44 ++-----------
 src/sub.hpp         |   13 ++--
 5 files changed, 242 insertions(+), 47 deletions(-)

commit 70ea8e9d4b88a1ecb1c076eccc2e9bd872c2230c
Author: Martin Sustrik <sustrik@250bpm.com>
Date:   Sat Jan 30 13:40:50 2010 +0100

    ZMQII-48: Implement P2P socket type

 src/p2p.cpp |   56 ++++++++++++++++++++++++++++++++++++++++++++------------
 src/p2p.hpp |    5 +++++
 2 files changed, 49 insertions(+), 12 deletions(-)

commit eb47c1b064ec2f433d3889b7fd4a297a965166bb
Merge: 2784f90 4d5e643
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Jan 29 08:39:36 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 2784f90d595a253e071244d440f78e667f6a957c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Jan 29 08:39:19 2010 +0100

    moving debian directory to the root of the project

 debian/README.Debian                     |    6 ++
 debian/changelog                         |    6 ++
 debian/cl-zeromq.files                   |    7 ++
 debian/cl-zeromq.install                 |    6 ++
 debian/cl-zeromq.links                   |    1 +
 debian/compat                            |    1 +
 debian/control                           |  161 ++++++++++++++++++++++++++++++
 debian/copyright                         |   18 ++++
 debian/dirs                              |    5 +
 debian/docs                              |    2 +
 debian/libzeromq-dev.files               |   37 +++++++
 debian/libzeromq-dev.install             |   19 ++++
 debian/libzeromq-python.files            |    1 +
 debian/libzeromq-python.install          |    1 +
 debian/libzeromq-ruby.files              |    1 +
 debian/libzeromq-ruby.install            |    1 +
 debian/libzeromq0.files                  |    2 +
 debian/libzeromq0.install                |    1 +
 debian/rules                             |  136 +++++++++++++++++++++++++
 debian/shlibs.local                      |    1 +
 debian/zeromq-examples.files             |    2 +
 debian/zeromq-examples.install           |    2 +
 debian/zeromq-perf.files                 |   10 ++
 debian/zeromq-perf.install               |   10 ++
 debian/zeromq-utils.files                |    6 ++
 debian/zeromq-utils.install              |    6 ++
 packages/debian/README.Debian            |    6 --
 packages/debian/changelog                |    6 --
 packages/debian/cl-zeromq.files          |    7 --
 packages/debian/cl-zeromq.install        |    6 --
 packages/debian/cl-zeromq.links          |    1 -
 packages/debian/compat                   |    1 -
 packages/debian/control                  |  161 ------------------------------
 packages/debian/copyright                |   18 ----
 packages/debian/dirs                     |    5 -
 packages/debian/docs                     |    2 -
 packages/debian/libzeromq-dev.files      |   37 -------
 packages/debian/libzeromq-dev.install    |   19 ----
 packages/debian/libzeromq-python.files   |    1 -
 packages/debian/libzeromq-python.install |    1 -
 packages/debian/libzeromq-ruby.files     |    1 -
 packages/debian/libzeromq-ruby.install   |    1 -
 packages/debian/libzeromq0.files         |    2 -
 packages/debian/libzeromq0.install       |    1 -
 packages/debian/rules                    |  136 -------------------------
 packages/debian/shlibs.local             |    1 -
 packages/debian/zeromq-examples.files    |    2 -
 packages/debian/zeromq-examples.install  |    2 -
 packages/debian/zeromq-perf.files        |   10 --
 packages/debian/zeromq-perf.install      |   10 --
 packages/debian/zeromq-utils.files       |    6 --
 packages/debian/zeromq-utils.install     |    6 --
 52 files changed, 449 insertions(+), 449 deletions(-)

commit 4d5e643299e22b53120173319490957b98c0199e
Author: malosek <malosek@fastmq.com>
Date:   Thu Jan 28 19:19:25 2010 +0100

    patching libtool script moved at the end of configure

 configure.in |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

commit 849095a042b8326f5789baa04d1dbb7ca36d4632
Merge: f17f0fa e5ff617
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jan 28 12:45:37 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit f17f0fa67bc5a373f3fc7964aaad4f08aa1dc761
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jan 28 12:45:12 2010 +0100

    CL binding ripped out of the tree

 .gitignore                  |    3 +
 bindings/Makefile.am        |    8 +-
 bindings/cl/Makefile.am     |    9 --
 bindings/cl/meta.lisp       |   59 ----------
 bindings/cl/package.lisp    |  108 -------------------
 bindings/cl/zeromq-api.lisp |  180 -------------------------------
 bindings/cl/zeromq.asd      |   38 -------
 bindings/cl/zeromq.lisp     |  250 -------------------------------------------
 configure.in                |   21 ----
 perf/Makefile.am            |    2 +-
 perf/cl/Makefile.am         |    2 -
 perf/cl/lat-parms.lisp      |   22 ----
 perf/cl/local-lat-poll.lisp |   43 --------
 perf/cl/local-lat.lisp      |   52 ---------
 perf/cl/local-thr.lisp      |   54 ----------
 perf/cl/remote-lat.lisp     |   50 ---------
 perf/cl/remote-thr.lisp     |   41 -------
 perf/cl/thr-parms.lisp      |   25 -----
 18 files changed, 6 insertions(+), 961 deletions(-)

commit e5ff617c4e061d29c9a019efa2292fd09c87a71e
Author: malosek <malosek@fastmq.com>
Date:   Wed Jan 27 20:58:40 2010 +0100

    fixed OpenPGM compilation on mingw32

 src/windows.hpp |    4 ++++
 1 file changed, 4 insertions(+)

commit 8f57ff4634ae44cd998bc0b864a8987f241e2fce
Author: malosek <malosek@fastmq.com>
Date:   Wed Jan 27 20:45:43 2010 +0100

    fixed OpenPGM compilation on mingw32

 perf/c/Makefile.am |    1 +
 src/Makefile.am    |    1 +
 2 files changed, 2 insertions(+)

commit 2056c888d2567ab96c3539fd60bfb652e19df335
Author: malosek <malosek@fastmq.com>
Date:   Wed Jan 27 18:29:45 2010 +0100

    changed version of the master branch back to dev

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0b97e7a4f23f7add763ac6e0fc945c9a342a7d32
Author: malosek <malosek@fastmq.com>
Date:   Wed Jan 27 11:30:22 2010 +0100

    libpgm updated to 2.6.21rc6

 configure.in                             |   12 ++++++------
 foreign/openpgm/libpgm-2.0.20rc5.tar.bz2 |  Bin 316958 -> 0 bytes
 foreign/openpgm/libpgm-2.0.21rc6.tar.bz2 |  Bin 0 -> 323697 bytes
 perf/c/Makefile.am                       |    6 ++++++
 src/Makefile.am                          |   13 +++++++++++--
 src/pgm_socket.cpp                       |   25 +++++++++++++++++++------
 6 files changed, 42 insertions(+), 14 deletions(-)

commit 943125bd12dbf181f4dfce7babddf1af7bcb7e18
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Jan 27 08:47:01 2010 +0100

    Hard-wired constant on OpenVMS replaced by symbolic constant

 src/fd_signaler.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit aa27034db5d47f4630f464da53f63a0e62c34daa
Author: unknown <bundra@.(none)>
Date:   Sun Jan 24 08:38:18 2010 +0100

    IPv6 patch - part V. (win32)

 src/ip.cpp |   21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)

commit adc5d7693d9279134c0494210b9d2b885e95d950
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Jan 24 08:19:02 2010 +0100

    IPv6 patch - part IV.

 src/ip.cpp |   41 ++++++++++++++++++++++++++++++++++-------
 1 file changed, 34 insertions(+), 7 deletions(-)

commit fca9a2159a1fb963901d11dc6f734a622baa92d6
Merge: 079d327 454f43a
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Jan 23 11:14:53 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 079d327670d9137d93f4dbe9eb6cfa6d4165b903
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Jan 23 11:14:30 2010 +0100

    IPv6 patch - part III.

 src/ip.cpp |   42 ++++++++++++++++++++++++------------------
 1 file changed, 24 insertions(+), 18 deletions(-)

commit 454f43a45b2d453b53984387e8a8a50cad568f41
Author: unknown <bundra@.(none)>
Date:   Sat Jan 23 09:08:31 2010 +0100

    IP address resolving on Win32 fixed

 src/ip.cpp |   20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

commit df4548aa76617314cb1a47e6d408cc663640cd70
Merge: 2634934 d762e1a
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Jan 23 08:20:01 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 2634934999408124837afceaf577b75ed58116d7
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Jan 23 08:19:30 2010 +0100

    IPv6 patch part 2/2

 src/ip.cpp            |   26 +++++++++++++++++++-------
 src/ip.hpp            |   11 +++++++----
 src/tcp_connecter.cpp |   17 ++++++++++-------
 src/tcp_connecter.hpp |    1 +
 src/tcp_listener.cpp  |   11 ++++++-----
 src/tcp_listener.hpp  |    1 +
 6 files changed, 44 insertions(+), 23 deletions(-)

commit 6aaf095dd259dc42d78cc7bd8c5a7f867eb23166
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Jan 22 16:32:48 2010 +0100

    IPv6 support -part II.

 src/ip.cpp |  158 +++++++++++++++++++++++-------------------------------------
 1 file changed, 60 insertions(+), 98 deletions(-)

commit d762e1a9c976680dde2d2f38dac9f5861bd82dad
Author: unknown <bundra@.(none)>
Date:   Fri Jan 22 13:29:46 2010 +0100

    Win32 build fixed

 bindings/cpp/zmq.hpp |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit 34d65e22c557671c74d6c51026b2434912966319
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Jan 22 13:13:52 2010 +0100

    Tero Marttila's Ipv6 patch - part I.

 src/fd_signaler.cpp   |    1 -
 src/ip.cpp            |   24 ++++++++++++++----------
 src/ip.hpp            |    6 +++---
 src/tcp_connecter.cpp |   17 +++++++++--------
 src/tcp_connecter.hpp |    2 +-
 src/tcp_listener.cpp  |   16 ++++++++--------
 6 files changed, 35 insertions(+), 31 deletions(-)

commit 6edec4fe93c60693a5faee7e4e8821eac4f43d4d
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Jan 22 11:38:17 2010 +0100

    zmq_udp(7) man page fixed

 man/man7/zmq_udp.7 |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 70601c243fa7e91f5cceaa80190d7b413940020b
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Jan 22 11:21:28 2010 +0100

    zmq_pgm(7) man page fixed

 man/man7/zmq_pgm.7 |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit d1e09578b275aca93c50cde078322a0348342c60
Author: unknown <bundra@.(none)>
Date:   Fri Jan 22 07:54:16 2010 +0100

    Hardcoded loopback address removed from fd_signaler

 AUTHORS             |    1 +
 src/fd_signaler.cpp |    4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

commit f4832faf29df6470bf59f1f1866c07fa4278a75b
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jan 21 16:30:42 2010 +0100

    small fix to man pages to comply with lintian

 man/Makefile.am       |    2 +-
 man/convert2html.sh   |    1 +
 man/convert2pdf.sh    |    2 ++
 man/man7/zmq_cl.7     |    2 +-
 man/man7/zmq_cpp.7    |    2 +-
 man/man7/zmq_inproc.7 |    2 +-
 man/man7/zmq_ipc.7    |    2 +-
 man/man7/zmq_java.7   |    9 +++++++++
 man/man7/zmq_pgm.7    |    2 +-
 man/man7/zmq_python.7 |    2 +-
 man/man7/zmq_ruby.7   |    2 +-
 man/man7/zmq_tcp.7    |    2 +-
 man/man7/zmq_udp.7    |    2 +-
 13 files changed, 22 insertions(+), 10 deletions(-)

commit b1b66df37c0b05ba05d9636234bad0cc02a1bd03
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jan 21 12:07:42 2010 +0100

    PGM man page improved

 man/man7/zmq_pgm.7 |    8 ++++++++
 1 file changed, 8 insertions(+)

commit 66ef22993f22a0d47703c1203f57d95c4316bc70
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jan 21 10:38:40 2010 +0100

    zmq_close man page improved

 man/man3/zmq_close.3 |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit a008af6088ef1ad3baf1b9e6ae699cc07367efa3
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jan 21 10:01:05 2010 +0100

    Asko Kauppi added to the list of authors

 AUTHORS |    1 +
 1 file changed, 1 insertion(+)

commit f0757c003eb232247a460631276b40e4fc02f3c9
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jan 21 09:58:49 2010 +0100

    ZMQII-43: Race condition when writing to pipe

 src/session.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6a46ca75e5970733cfe135ecf77074b69fdda34f
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Jan 20 09:22:41 2010 +0100

    ZMQ-42: Building with ICC fails

 src/tcp_connecter.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 111f0ff078372e8a0f5c0b98170d451d6561e85e
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Jan 20 09:19:03 2010 +0100

    ZMQII-41: Poll function in C++ binding doesn't convert errors to exceptions

 bindings/cpp/zmq.hpp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 6b0457fcaad3fa9a2e632b3799119c40da8dd6ca
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Jan 19 12:48:38 2010 +0100

    minor documentation patch

 man/man3/zmq_setsockopt.3 |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 7094edd6baf0d69c3879da7f16c7222388952931
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Jan 18 15:57:33 2010 +0100

    error handling in C perf tests improved

 perf/c/local_lat.c  |   51 ++++++++++++++++++++++++++++++++----------
 perf/c/local_thr.c  |   61 ++++++++++++++++++++++++++++++++++++++++-----------
 perf/c/remote_lat.c |   51 ++++++++++++++++++++++++++++++++----------
 perf/c/remote_thr.c |   41 ++++++++++++++++++++++++++--------
 4 files changed, 160 insertions(+), 44 deletions(-)

commit 4ceb83935062bb84fd5da702679a126d12aed8be
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Jan 18 13:16:14 2010 +0100

    typos in man pages fixed

 .gitignore             |   13 +++++++++++++
 man/man3/zmq_bind.3    |    2 +-
 man/man3/zmq_connect.3 |    2 +-
 man/man3/zmq_recv.3    |    2 +-
 man/man3/zmq_send.3    |    2 +-
 man/man3/zmq_socket.3  |    8 ++++----
 man/man7/zmq.7         |    4 ++--
 man/man7/zmq_cpp.7     |    2 +-
 man/man7/zmq_inproc.7  |    2 +-
 man/man7/zmq_ipc.7     |    8 ++++----
 man/man7/zmq_pgm.7     |   10 +++++-----
 man/man7/zmq_tcp.7     |    4 ++--
 man/man7/zmq_udp.7     |   12 ++++++------
 13 files changed, 42 insertions(+), 29 deletions(-)

commit bddff50271b7c4c15c34d7a0aa1c04f3e3e3c107
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Jan 18 11:01:41 2010 +0100

    ZMQII-40: wrong return code from recolve_ip_interface

 src/ip.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 55944729ed5527692b1ead17af553aa32c316781
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Jan 18 10:53:46 2010 +0100

    ChangeLog modified for 2.0-beta2 version

 ChangeLog |   11 +++++++++++
 1 file changed, 11 insertions(+)

commit f40e3a6931fb6463c349ef765d99515edc569fd7
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Jan 17 17:49:34 2010 +0100

    version number bumped

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 51e012c446b500fe3dfb46b6475ebf018ecfeaa0
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Jan 16 09:39:44 2010 +0100

    Solaris build fixed

 AUTHORS               |    1 +
 src/ip.cpp            |    2 +-
 src/tcp_connecter.cpp |    6 ++++--
 src/tcp_listener.cpp  |    7 +++----
 4 files changed, 9 insertions(+), 7 deletions(-)

commit a507d16e13fdd6b13e1e69d0d305750995513a1f
Author: unknown <bundra@.(none)>
Date:   Fri Jan 15 14:21:20 2010 +0100

    Win32 build fixed

 src/tcp_connecter.cpp |    2 ++
 src/tcp_listener.cpp  |    4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

commit 2bb57ac57ace37203c505ff17147210feca34d73
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Jan 15 14:11:39 2010 +0100

    ZMQII-39: Implement IPC transport

 man/Makefile.am       |    2 +-
 man/convert2html.sh   |    1 +
 man/convert2pdf.sh    |    2 +
 man/man7/zmq.7        |    3 +
 man/man7/zmq_inproc.7 |    3 +-
 man/man7/zmq_ipc.7    |   34 ++++++++++
 man/man7/zmq_pgm.7    |    1 +
 man/man7/zmq_tcp.7    |    1 +
 man/man7/zmq_udp.7    |    1 +
 src/ip.cpp            |   17 +++++
 src/ip.hpp            |    9 +++
 src/socket_base.cpp   |   23 +++++--
 src/tcp_connecter.cpp |  117 +++++++++++++++++++++++-----------
 src/tcp_connecter.hpp |    4 +-
 src/tcp_listener.cpp  |  166 ++++++++++++++++++++++++++++++++++---------------
 src/tcp_listener.hpp  |   10 ++-
 src/zmq_connecter.cpp |   10 +--
 src/zmq_connecter.hpp |    7 ++-
 src/zmq_engine.cpp    |    9 ++-
 src/zmq_engine.hpp    |    6 +-
 src/zmq_init.cpp      |    4 +-
 src/zmq_init.hpp      |    3 +-
 src/zmq_listener.cpp  |    6 +-
 src/zmq_listener.hpp  |    4 +-
 24 files changed, 323 insertions(+), 120 deletions(-)

commit 56c369272c279224562d11b0a66590ac7826f4f3
Merge: b9b0124 b60342a
Author: unknown <bundra@.(none)>
Date:   Thu Jan 14 15:50:54 2010 +0100

    Merge branch 'master' of github.com:sustrik/zeromq2

commit b9b0124d553b30932d8b78fb774ae258fa0d0f4d
Author: unknown <bundra@.(none)>
Date:   Thu Jan 14 15:50:12 2010 +0100

    ZMQII-34: ensure that poll won't return POLLIN event when the message will be filtered out anyway (Win32)

 src/zmq.cpp |   54 +++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 37 insertions(+), 17 deletions(-)

commit b60342ae1a95dbb303705f5b89a94b33805a3841
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jan 14 14:11:34 2010 +0100

    man pages are more specific on NIC name issue

 man/man3/zmq_bind.3    |   12 ++++++++----
 man/man3/zmq_connect.3 |   12 ++++++++----
 man/man7/zmq_pgm.7     |    5 +++++
 man/man7/zmq_tcp.7     |    5 +++++
 man/man7/zmq_udp.7     |    5 +++++
 5 files changed, 31 insertions(+), 8 deletions(-)

commit 067ba3b9f77a253d4ce58e05ef1fa7702c32b2a3
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Jan 13 19:21:23 2010 +0100

    ZMQII-34: ensure that poll won't return POLLIN event when the message will be filtered out anyway (POSIX)

 src/socket_base.cpp |    4 +--
 src/sub.cpp         |   92 +++++++++++++++++++++++++++++++++++++--------------
 src/sub.hpp         |   10 ++++++
 src/zmq.cpp         |   50 ++++++++++++++++++----------
 4 files changed, 110 insertions(+), 46 deletions(-)

commit 06105d164230800e8ea42ddd513e2f7fb27e6f2f
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Jan 13 15:15:01 2010 +0100

    transports man pages updated

 man/man7/zmq_inproc.7 |   34 +++++++++++++++++++++-
 man/man7/zmq_pgm.7    |   77 ++++++++++++++++++++++++++++++++++++++++++++++++-
 man/man7/zmq_tcp.7    |    5 ++++
 man/man7/zmq_udp.7    |   32 +++++++++++++++++++-
 4 files changed, 145 insertions(+), 3 deletions(-)

commit 30a107e06d48ebbc7a635ba4fb21a24e385cf4e4
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Jan 13 13:35:13 2010 +0100

    timeout parameter for zmq_poll added in cl binding

 bindings/cl/zeromq-api.lisp |   12 +++++++-----
 bindings/cl/zeromq.lisp     |    3 ++-
 2 files changed, 9 insertions(+), 6 deletions(-)

commit 20a8edcf5c2d9d5099d194e5a87c501d49c47328
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Jan 13 13:24:29 2010 +0100

    ZMQII-38: Compiler complains about missing virtual constructors

 src/i_endpoint.hpp |    2 ++
 src/i_inout.hpp    |    2 ++
 2 files changed, 4 insertions(+)

commit 76dbb4f3bb88f73bc40e3de72e258e321375cd2f
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Jan 12 13:08:37 2010 +0100

    zmq_tcp man page added

 man/man7/zmq_tcp.7 |   62 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 61 insertions(+), 1 deletion(-)

commit bcd278a5a5fa9c08af6786c6f3c1ec5fa974fadf
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Jan 12 08:14:55 2010 +0100

    ZMQII-37: SIGSEGV when polling on REQ socket

 src/req.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4c613b39faebe18af95cab07a7d5f687285c4655
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Jan 12 08:02:03 2010 +0100

    script to convert man pages to html added

 man/convert2html.sh |   54 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

commit 72b2f07a707724b353e9733f60cb4bade9b43966
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Jan 11 07:47:19 2010 +0100

    ZMQII-36: Chat example & forwarder broken because of changes subscribe semantics

 devices/zmq_forwarder/zmq_forwarder.cpp |    2 +-
 examples/chat/display.cpp               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 65f450f22e311d9a9251d05f8fb902a8fa2afe54
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Jan 10 17:41:59 2010 +0100

    minor man page fix

 man/man3/zmq_connect.3 |    2 --
 1 file changed, 2 deletions(-)

commit bd07baf0281ddb5f332bd03b06038fc0ac048285
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Jan 9 22:24:59 2010 +0100

    ZMQII-33: zmq_poll may exceed timeout if signal interrupts the waiting

 src/zmq.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e806615dd18e625b0b7fb1074cc4da5fda18529b
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Jan 8 15:44:51 2010 +0100

    ZMQII-31: memory leak in zmq_poll (on timeout)

 AUTHORS     |    1 +
 src/zmq.cpp |    4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

commit 9fc8827b8a8e9d842b85b7f7f9790fc0a2ef88f6
Merge: ddf5f75 e9a4ad3
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jan 7 14:45:13 2010 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit ddf5f75549f01a0615ee3f49b6b5d53aefd8fbd2
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jan 7 14:44:43 2010 +0100

    zmq.cpp build probelm on non-linux platforms fixed

 man/man3/zmq_setsockopt.3 |   10 ++++------
 src/zmq.cpp               |    5 ++++-
 2 files changed, 8 insertions(+), 7 deletions(-)

commit e9a4ad38ce04ee21a7f81d5a36e3c58cf7138f5d
Author: malosek <malosek@fastmq.com>
Date:   Wed Jan 6 20:10:27 2010 +0100

    updated version to 2.0-beta1 in configure.in

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7546526e667b35c05c80515d651e950a771813e1
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Jan 6 19:42:15 2010 +0100

    ChangeLog updated for 2.0-beta1

 ChangeLog |   10 ++++++++++
 1 file changed, 10 insertions(+)

commit e21b33e9cfe12725de23bf2ef44967f53bcb2a10
Author: malosek <malosek@fastmq.com>
Date:   Tue Jan 5 18:34:27 2010 +0100

    forced WINVER to 0x0501 for mingv32 build

 src/windows.hpp |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit ef049efe2ec56bb0ff5395ba8cba6e1722922e43
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Jan 5 14:45:10 2010 +0100

    perf tests modified to reflect change in subscription format

 perf/c/local_thr.c       |    2 +-
 perf/cl/local-thr.lisp   |    2 +-
 perf/cpp/local_thr.cpp   |    2 +-
 perf/java/local_thr.java |    2 +-
 perf/python/local_thr.py |    2 +-
 perf/ruby/local_thr.rb   |    2 +-
 src/zmq_engine.cpp       |    8 +++++---
 7 files changed, 11 insertions(+), 9 deletions(-)

commit 8d339e959694107df8f1666634a34f54ad76ae41
Author: malosek <malosek@fastmq.com>
Date:   Tue Jan 5 13:46:35 2010 +0100

    Fixed newer autotools warningng about AC_CONFIG_MACRO_DIR

 Makefile.am  |    2 ++
 configure.in |    1 +
 2 files changed, 3 insertions(+)

commit 11fec367d1a13c3f0248f8542eb805b8d9571685
Author: malosek <malosek@fastmq.com>
Date:   Tue Jan 5 11:22:14 2010 +0100

    added pending event fd handling by the pgm_sender

 src/pgm_sender.cpp |    9 ++++++++-
 src/pgm_sender.hpp |    1 +
 src/pgm_socket.cpp |   10 +++++++---
 src/pgm_socket.hpp |    2 +-
 4 files changed, 17 insertions(+), 5 deletions(-)

commit 472ddf8de2c93f750831d52b5473cdbed1db51e8
Merge: d10c605 4f6baf4
Author: malosek <malosek@fastmq.com>
Date:   Tue Jan 5 11:05:03 2010 +0100

    fixed failed merge with autogen.sh

commit d10c605fa94a8fe8265785043aeef63983e07f3f
Author: malosek <malosek@fastmq.com>
Date:   Tue Jan 5 10:51:54 2010 +0100

    updated to libpgm-2.0.20rc5

 configure.in                             |   10 +++++-----
 foreign/openpgm/libpgm-2.0.19rc4.tar.bz2 |  Bin 317223 -> 0 bytes
 foreign/openpgm/libpgm-2.0.20rc5.tar.bz2 |  Bin 0 -> 316958 bytes
 3 files changed, 5 insertions(+), 5 deletions(-)

commit 4f6baf4dde627656b63cc4e2acdb78a8577ba640
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Jan 5 08:29:35 2010 +0100

    Copyrights transferred from FastMQ to iMatix

 autogen.sh                              |    7 +------
 bindings/c/zmq.h                        |    2 +-
 bindings/cpp/zmq.hpp                    |    2 +-
 bindings/java/Context.cpp               |    2 +-
 bindings/java/Socket.cpp                |    2 +-
 bindings/java/org/zmq/Context.java      |    2 +-
 bindings/java/org/zmq/Socket.java       |    2 +-
 bindings/python/pyzmq.cpp               |    2 +-
 bindings/ruby/extconf.rb                |    2 +-
 bindings/ruby/rbzmq.cpp                 |    2 +-
 builds/msvc/platform.hpp                |    2 +-
 devices/zmq_forwarder/zmq_forwarder.cpp |    2 +-
 devices/zmq_queue/zmq_queue.cpp         |    2 +-
 devices/zmq_streamer/zmq_streamer.cpp   |    2 +-
 examples/chat/display.cpp               |    2 +-
 examples/chat/prompt.cpp                |    2 +-
 man/convert2pdf.sh                      |    2 +-
 man/man1/zmq_forwarder.1                |    2 +-
 man/man1/zmq_queue.1                    |    2 +-
 man/man1/zmq_streamer.1                 |    2 +-
 man/man3/zmq_bind.3                     |    2 +-
 man/man3/zmq_close.3                    |    2 +-
 man/man3/zmq_connect.3                  |    2 +-
 man/man3/zmq_flush.3                    |    2 +-
 man/man3/zmq_init.3                     |    2 +-
 man/man3/zmq_msg_close.3                |    2 +-
 man/man3/zmq_msg_copy.3                 |    2 +-
 man/man3/zmq_msg_data.3                 |    2 +-
 man/man3/zmq_msg_init.3                 |    2 +-
 man/man3/zmq_msg_init_data.3            |    2 +-
 man/man3/zmq_msg_init_size.3            |    2 +-
 man/man3/zmq_msg_move.3                 |    2 +-
 man/man3/zmq_msg_size.3                 |    2 +-
 man/man3/zmq_poll.3                     |    2 +-
 man/man3/zmq_recv.3                     |    2 +-
 man/man3/zmq_send.3                     |    2 +-
 man/man3/zmq_setsockopt.3               |    2 +-
 man/man3/zmq_socket.3                   |    2 +-
 man/man3/zmq_strerror.3                 |    2 +-
 man/man3/zmq_term.3                     |    2 +-
 man/man7/zmq.7                          |    2 +-
 man/man7/zmq_cl.7                       |    2 +-
 man/man7/zmq_cpp.7                      |    2 +-
 man/man7/zmq_inproc.7                   |    2 +-
 man/man7/zmq_pgm.7                      |    2 +-
 man/man7/zmq_python.7                   |    2 +-
 man/man7/zmq_ruby.7                     |    2 +-
 man/man7/zmq_tcp.7                      |    2 +-
 man/man7/zmq_udp.7                      |    2 +-
 packages/debian/copyright               |    2 +-
 perf/c/local_lat.c                      |    2 +-
 perf/c/local_thr.c                      |    2 +-
 perf/c/remote_lat.c                     |    2 +-
 perf/c/remote_thr.c                     |    2 +-
 perf/cpp/local_lat.cpp                  |    2 +-
 perf/cpp/local_thr.cpp                  |    2 +-
 perf/cpp/remote_lat.cpp                 |    2 +-
 perf/cpp/remote_thr.cpp                 |    2 +-
 perf/java/local_lat.java                |    2 +-
 perf/java/local_thr.java                |    2 +-
 perf/java/remote_lat.java               |    2 +-
 perf/java/remote_thr.java               |    2 +-
 perf/python/local_lat.py                |    2 +-
 perf/python/local_thr.py                |    2 +-
 perf/python/remote_lat.py               |    2 +-
 perf/python/remote_thr.py               |    2 +-
 perf/ruby/local_lat.rb                  |    2 +-
 perf/ruby/local_thr.rb                  |    2 +-
 perf/ruby/remote_lat.rb                 |    2 +-
 perf/ruby/remote_thr.rb                 |    2 +-
 src/app_thread.cpp                      |    2 +-
 src/app_thread.hpp                      |    2 +-
 src/atomic_bitmap.hpp                   |    2 +-
 src/atomic_counter.hpp                  |    2 +-
 src/atomic_ptr.hpp                      |    2 +-
 src/command.hpp                         |    2 +-
 src/config.hpp                          |    2 +-
 src/decoder.hpp                         |    2 +-
 src/devpoll.cpp                         |    2 +-
 src/devpoll.hpp                         |    2 +-
 src/dispatcher.cpp                      |    2 +-
 src/dispatcher.hpp                      |    2 +-
 src/downstream.cpp                      |    2 +-
 src/downstream.hpp                      |    2 +-
 src/encoder.hpp                         |    2 +-
 src/epoll.cpp                           |    2 +-
 src/epoll.hpp                           |    2 +-
 src/err.cpp                             |    2 +-
 src/err.hpp                             |    2 +-
 src/fd.hpp                              |    2 +-
 src/fd_signaler.cpp                     |    2 +-
 src/fd_signaler.hpp                     |    2 +-
 src/fq.cpp                              |    2 +-
 src/fq.hpp                              |    2 +-
 src/i_endpoint.hpp                      |    2 +-
 src/i_engine.hpp                        |    2 +-
 src/i_inout.hpp                         |    2 +-
 src/i_poll_events.hpp                   |    2 +-
 src/i_signaler.hpp                      |    2 +-
 src/io_object.cpp                       |    2 +-
 src/io_object.hpp                       |    2 +-
 src/io_thread.cpp                       |    2 +-
 src/io_thread.hpp                       |    2 +-
 src/ip.cpp                              |    2 +-
 src/ip.hpp                              |    2 +-
 src/kqueue.cpp                          |    2 +-
 src/kqueue.hpp                          |    2 +-
 src/lb.cpp                              |    2 +-
 src/lb.hpp                              |    2 +-
 src/likely.hpp                          |    2 +-
 src/msg_content.hpp                     |    2 +-
 src/mutex.hpp                           |    2 +-
 src/object.cpp                          |    2 +-
 src/object.hpp                          |    2 +-
 src/options.cpp                         |    2 +-
 src/options.hpp                         |    2 +-
 src/owned.cpp                           |    2 +-
 src/owned.hpp                           |    2 +-
 src/p2p.cpp                             |    2 +-
 src/p2p.hpp                             |    2 +-
 src/pgm_receiver.cpp                    |    2 +-
 src/pgm_receiver.hpp                    |    2 +-
 src/pgm_sender.cpp                      |    2 +-
 src/pgm_sender.hpp                      |    2 +-
 src/pgm_socket.cpp                      |    2 +-
 src/pgm_socket.hpp                      |    2 +-
 src/pipe.cpp                            |    2 +-
 src/pipe.hpp                            |    2 +-
 src/poll.cpp                            |    2 +-
 src/poll.hpp                            |    2 +-
 src/poller.hpp                          |    2 +-
 src/pub.cpp                             |    2 +-
 src/pub.hpp                             |    2 +-
 src/rep.cpp                             |    2 +-
 src/rep.hpp                             |    2 +-
 src/req.cpp                             |    2 +-
 src/req.hpp                             |    2 +-
 src/select.cpp                          |    2 +-
 src/select.hpp                          |    2 +-
 src/session.cpp                         |    2 +-
 src/session.hpp                         |    2 +-
 src/simple_semaphore.hpp                |    2 +-
 src/socket_base.cpp                     |    2 +-
 src/socket_base.hpp                     |    2 +-
 src/stdint.hpp                          |    2 +-
 src/sub.cpp                             |    2 +-
 src/sub.hpp                             |    2 +-
 src/tcp_connecter.cpp                   |    2 +-
 src/tcp_connecter.hpp                   |    2 +-
 src/tcp_listener.cpp                    |    2 +-
 src/tcp_listener.hpp                    |    2 +-
 src/tcp_socket.cpp                      |    2 +-
 src/tcp_socket.hpp                      |    2 +-
 src/thread.cpp                          |    2 +-
 src/thread.hpp                          |    2 +-
 src/upstream.cpp                        |    2 +-
 src/upstream.hpp                        |    2 +-
 src/uuid.cpp                            |    2 +-
 src/uuid.hpp                            |    2 +-
 src/windows.hpp                         |    2 +-
 src/wire.hpp                            |    2 +-
 src/xrep.cpp                            |    2 +-
 src/xrep.hpp                            |    2 +-
 src/xreq.cpp                            |    2 +-
 src/xreq.hpp                            |    2 +-
 src/yarray.hpp                          |    2 +-
 src/yarray_item.hpp                     |    2 +-
 src/ypipe.hpp                           |    2 +-
 src/ypollset.cpp                        |    2 +-
 src/ypollset.hpp                        |    2 +-
 src/yqueue.hpp                          |    2 +-
 src/zmq.cpp                             |    2 +-
 src/zmq_connecter.cpp                   |    2 +-
 src/zmq_connecter.hpp                   |    2 +-
 src/zmq_decoder.cpp                     |    2 +-
 src/zmq_decoder.hpp                     |    2 +-
 src/zmq_encoder.cpp                     |    2 +-
 src/zmq_encoder.hpp                     |    2 +-
 src/zmq_engine.cpp                      |    2 +-
 src/zmq_engine.hpp                      |    2 +-
 src/zmq_init.cpp                        |    2 +-
 src/zmq_init.hpp                        |    2 +-
 src/zmq_listener.cpp                    |    2 +-
 src/zmq_listener.hpp                    |    2 +-
 184 files changed, 184 insertions(+), 189 deletions(-)

commit bf01727f4b5d2e12daa5e4289c556fb3b7ade3f3
Author: malosek <malosek@fastmq.com>
Date:   Mon Jan 4 16:04:40 2010 +0100

    updated to libpgm 2.0.19rc4

 configure.in                             |   10 +++++-----
 foreign/openpgm/libpgm-2.0.18rc3.tar.bz2 |  Bin 315989 -> 0 bytes
 foreign/openpgm/libpgm-2.0.19rc4.tar.bz2 |  Bin 0 -> 317223 bytes
 3 files changed, 5 insertions(+), 5 deletions(-)

commit 1528edb963b2c9d292758f7704eeda336d358db2
Author: malosek <malosek@fastmq.com>
Date:   Mon Jan 4 16:03:49 2010 +0100

    fixed autogen.sh complaining about existing config dir

 autogen.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f2b235db165e459f7f265993477dae0dc987125a
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Jan 4 15:46:20 2010 +0100

    ZMQII-29: Add timeout to zmq_poll function

 bindings/c/zmq.h     |    2 +-
 bindings/cpp/zmq.hpp |    4 ++--
 man/man3/zmq_poll.3  |   10 ++++++++--
 src/zmq.cpp          |   23 ++++++++++++++++++-----
 4 files changed, 29 insertions(+), 10 deletions(-)

commit 7884f4541aa6f95b76e0b2429baaf11108c543a1
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Jan 4 15:13:04 2010 +0100

    problem with new version of autoreconf fixed

 autogen.sh |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 1b90e5f6f50ecb512b22f73850f763a9a009c483
Author: malosek <malosek@fastmq.com>
Date:   Thu Dec 31 16:53:00 2009 +0100

    added missing likely.hpp file into the dist

 src/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

commit 9bda63cd6378682af3b685dbbe0c47cdc4455295
Author: malosek <malosek@fastmq.com>
Date:   Thu Dec 31 16:35:04 2009 +0100

    fixed minor gcc warning in src/pgm_receiver.cpp

 src/pgm_receiver.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 819590c04cb24f1627b140883e4106bb8a6f62eb
Author: malosek <malosek@fastmq.com>
Date:   Thu Dec 31 16:31:13 2009 +0100

    libpgm updated to 2.0.18rc3

 configure.in                             |   10 +++++-----
 foreign/openpgm/libpgm-2.0.17rc2.tar.bz2 |  Bin 315051 -> 0 bytes
 foreign/openpgm/libpgm-2.0.18rc3.tar.bz2 |  Bin 0 -> 315989 bytes
 3 files changed, 5 insertions(+), 5 deletions(-)

commit 9fadf0b218b66e8448a2356f124dc1bb10f1f81d
Author: malosek <malosek@fastmq.com>
Date:   Thu Dec 31 16:18:45 2009 +0100

    fixed minor gcc warning in src/pgm_socket.cpp

 src/pgm_socket.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit d6da7903d0fc42356adbf4c43e04774a1b465632
Author: malosek <malosek@fastmq.com>
Date:   Thu Dec 31 15:47:44 2009 +0100

    removed unused foreign/openpgm/create_custom_gsi_1.patch file

 Makefile.am                               |    1 -
 foreign/openpgm/create_custom_gsi_1.patch |   43 -----------------------------
 2 files changed, 44 deletions(-)

commit 7cb02fb3e7cbe614caefbb5d9ab34936fba2724f
Author: malosek <malosek@fastmq.com>
Date:   Thu Dec 31 15:44:42 2009 +0100

    fixed make dist for non pgm configuration

 configure.in |    3 +++
 1 file changed, 3 insertions(+)

commit 102077471c5863242b5e9a2e063e272edd5b48ea
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 29 16:50:28 2009 +0100

    error in zmq_poll manpage fixed

 man/man3/zmq_poll.3 |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e9cebc86ed8eeff2cc5dde49807a4851b43d1232
Author: unknown <bundra@.(none)>
Date:   Tue Dec 29 16:42:56 2009 +0100

    EINPROGRESS definition added on Win32 platform

 bindings/c/zmq.h |    3 +++
 1 file changed, 3 insertions(+)

commit 23e5c3b342793ca871747b7d6681d445b34925bb
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 29 07:53:33 2009 +0100

    polling on SUB socket fixed

 src/sub.cpp |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

commit 72161fb075025410312c6735d681c3de9a36a4e5
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Dec 28 21:29:31 2009 +0100

    format of subscriptions changed (no * needed anymore)

 src/socket_base.cpp |   11 ++++---
 src/sub.cpp         |   90 +++++++++++++++++++++------------------------------
 src/sub.hpp         |    9 ++----
 src/zmq_engine.cpp  |    7 ++--
 4 files changed, 51 insertions(+), 66 deletions(-)

commit c97967ed4b70de700db38cc2661bbe43262bc029
Author: unknown <bundra@.(none)>
Date:   Mon Dec 28 16:20:21 2009 +0100

    MSVC build fixed

 builds/msvc/libzmq/libzmq.vcproj |   16 ++++------------
 src/zmq_init.cpp                 |    1 +
 2 files changed, 5 insertions(+), 12 deletions(-)

commit 5852db451a76905336601c5ba3e4f33006f007fb
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Dec 28 11:51:06 2009 +0100

    PGM code cleanup

 src/pgm_receiver.cpp |  148 ++++++++++++++++-------------------------
 src/pgm_receiver.hpp |   13 ++--
 src/pgm_sender.cpp   |   94 ++++++++++----------------
 src/pgm_sender.hpp   |   16 +----
 src/pgm_socket.cpp   |  178 +++++++++++++++-----------------------------------
 src/pgm_socket.hpp   |   37 ++---------
 6 files changed, 159 insertions(+), 327 deletions(-)

commit aebff623f36efddc0de7a3192832b61802f8cec8
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Dec 23 19:37:56 2009 +0100

    ZMQII-28: Bidirectional introduction on TCP connection establishment

 src/Makefile.am            |    8 +-
 src/i_inout.hpp            |    6 +-
 src/pgm_receiver.cpp       |    3 +-
 src/pgm_receiver.hpp       |    6 +-
 src/pgm_sender.cpp         |    3 +-
 src/pgm_sender.hpp         |    6 +-
 src/session.cpp            |   54 +++++++++---
 src/session.hpp            |   24 ++++--
 src/socket_base.cpp        |   83 +++++++++++++------
 src/socket_base.hpp        |   27 +++---
 src/zmq_connecter.cpp      |   15 ++--
 src/zmq_connecter.hpp      |    8 +-
 src/zmq_connecter_init.cpp |  132 ------------------------------
 src/zmq_connecter_init.hpp |   79 ------------------
 src/zmq_engine.cpp         |    2 +-
 src/zmq_init.cpp           |  195 ++++++++++++++++++++++++++++++++++++++++++++
 src/zmq_init.hpp           |   89 ++++++++++++++++++++
 src/zmq_listener.cpp       |    6 +-
 src/zmq_listener_init.cpp  |  137 -------------------------------
 src/zmq_listener_init.hpp  |   79 ------------------
 20 files changed, 445 insertions(+), 517 deletions(-)

commit b3bd4c15fe869de4f5c530ecc5942968677a85c3
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 22 09:01:01 2009 +0100

    OpenPGM error handling fixed

 src/pgm_socket.cpp |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

commit 7cf18a2aec8300099e3c3e236ac3cefa3be746d0
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Dec 21 20:45:52 2009 +0100

    minor fixes

 src/app_thread.cpp |    4 ++--
 src/object.hpp     |    4 ----
 2 files changed, 2 insertions(+), 6 deletions(-)

commit 5a0674dfeccf0d80dc92e77a8630be280c71fb84
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Dec 21 18:50:24 2009 +0100

    OpenPGM error handling improved

 bindings/python/pyzmq.cpp |    2 +-
 src/pgm_socket.cpp        |   64 +++++++++++++++++++++++++++++++++++----------
 src/pgm_socket.hpp        |   12 ++++-----
 3 files changed, 57 insertions(+), 21 deletions(-)

commit 990a1e8686bdeb3472a27d00cb2436936a4d0d26
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Dec 18 16:01:58 2009 +0100

    zmq_cl(7) man page added

 man/man7/zmq_cl.7 |  121 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 118 insertions(+), 3 deletions(-)

commit bad224251e97205abaf987e8e998bc14af32223c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Dec 18 15:46:21 2009 +0100

    minor errors in zmq_cpp man page fixed

 man/man7/zmq_cpp.7 |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit d50c7daf9eafe36ca2df7210ff2e82487e85f842
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Dec 18 14:34:57 2009 +0100

    hint parameter (zmq_free_fn) added to Lisp binding

 bindings/cl/zeromq.lisp |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit 1924cba88985a36cb1422efd2fb287292b41eb44
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Dec 18 14:33:22 2009 +0100

    memory management in Lisp binding fixed

 bindings/cl/zeromq-api.lisp |   59 ++++++++++++++++++++++++++++++-------------
 1 file changed, 41 insertions(+), 18 deletions(-)

commit 86d68cbcbd24e6dfe6dd1ed230c7806408b70668
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Dec 18 14:19:28 2009 +0100

    memory leaks related to OpenPGM errors fixed

 src/pgm_socket.cpp |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

commit 500d32a540d762d30a59e952a4f2216d73e4654c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Dec 16 17:19:20 2009 +0100

    examples & perf added to the Debian package

 packages/debian/control                 |   50 +++++++++++++++++++++++++++----
 packages/debian/dirs                    |    3 ++
 packages/debian/rules                   |    7 +++--
 packages/debian/zeromq-examples.files   |    2 ++
 packages/debian/zeromq-examples.install |    2 ++
 packages/debian/zeromq-perf.files       |   10 +++++++
 packages/debian/zeromq-perf.install     |   10 +++++++
 7 files changed, 75 insertions(+), 9 deletions(-)

commit 667d1a8280e2dedd7f3ccdbd39605263ba8e98d7
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Dec 16 15:20:14 2009 +0100

    man page updated to match change in zmq_free_fn

 man/man3/zmq_msg_init_data.3 |   23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

commit ab5abf6c7ec7668c4a8373d87c491d22d0db144d
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Dec 16 15:08:37 2009 +0100

    hint parameter added to zmq_free function

 bindings/c/zmq.h     |    4 ++--
 bindings/cpp/zmq.hpp |   10 ++++++----
 src/msg_content.hpp  |    1 +
 src/zmq.cpp          |    6 ++++--
 4 files changed, 13 insertions(+), 8 deletions(-)

commit 02202ec30ecca9e538cc807ce86b54d822c823bd
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Dec 16 14:54:11 2009 +0100

    addition to CREDITS section of AUTHORS file

 AUTHORS |    2 ++
 1 file changed, 2 insertions(+)

commit 5e77a1daa46f1b757b08f65895778f803575469c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Dec 16 14:43:50 2009 +0100

    debian package added

 packages/debian/README.Debian            |    6 ++
 packages/debian/changelog                |    6 ++
 packages/debian/cl-zeromq.files          |    7 ++
 packages/debian/cl-zeromq.install        |    6 ++
 packages/debian/cl-zeromq.links          |    1 +
 packages/debian/compat                   |    1 +
 packages/debian/control                  |  123 +++++++++++++++++++++++++++
 packages/debian/copyright                |   18 ++++
 packages/debian/dirs                     |    2 +
 packages/debian/docs                     |    2 +
 packages/debian/libzeromq-dev.files      |   37 ++++++++
 packages/debian/libzeromq-dev.install    |   19 +++++
 packages/debian/libzeromq-python.files   |    1 +
 packages/debian/libzeromq-python.install |    1 +
 packages/debian/libzeromq-ruby.files     |    1 +
 packages/debian/libzeromq-ruby.install   |    1 +
 packages/debian/libzeromq0.files         |    2 +
 packages/debian/libzeromq0.install       |    1 +
 packages/debian/rules                    |  135 ++++++++++++++++++++++++++++++
 packages/debian/shlibs.local             |    1 +
 packages/debian/zeromq-utils.files       |    6 ++
 packages/debian/zeromq-utils.install     |    6 ++
 22 files changed, 383 insertions(+)

commit 7479871cde46371c593f35c0ace3d9e984fddb1a
Merge: 8aa0908 3e64083
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 15 23:50:32 2009 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 8aa0908635f255e2d533539d5330b92b62dc88ba
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 15 23:49:55 2009 +0100

    all news converted to nothrow variant

 src/app_thread.cpp         |   23 ++++++++++++-----------
 src/dispatcher.cpp         |   12 ++++++++----
 src/epoll.cpp              |    3 ++-
 src/io_thread.cpp          |    4 +++-
 src/kqueue.cpp             |    3 ++-
 src/pgm_receiver.cpp       |    4 +++-
 src/pgm_socket.cpp         |    2 ++
 src/session.cpp            |    8 ++++++--
 src/socket_base.cpp        |   33 +++++++++++++++++++++------------
 src/tcp_listener.cpp       |    1 -
 src/yqueue.hpp             |    5 +++--
 src/zmq.cpp                |    4 ++--
 src/zmq_connecter.cpp      |    6 ++++--
 src/zmq_connecter_init.cpp |    5 ++++-
 src/zmq_engine.cpp         |    4 +++-
 src/zmq_listener.cpp       |    6 ++++--
 src/zmq_listener_init.cpp  |    9 ++++++---
 17 files changed, 85 insertions(+), 47 deletions(-)

commit 3e640836674872961f48efb4dc7badb20d736407
Author: unknown <bundra@.(none)>
Date:   Tue Dec 15 18:00:00 2009 +0100

    win32 build fixed

 builds/msvc/libzmq/libzmq.vcproj |   16 ++++++++++++++++
 src/zmq_listener_init.cpp        |    1 +
 2 files changed, 17 insertions(+)

commit 2cef05d86976784f4bc1083cb0fa548e267ac132
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 15 17:49:40 2009 +0100

    reconnection mechanism added to tcp transport

 src/i_inout.hpp            |   15 +++++++++++++--
 src/io_object.hpp          |    1 +
 src/io_thread.hpp          |    1 +
 src/object.hpp             |    5 +++--
 src/session.cpp            |   23 +++++++++++++++++++++--
 src/session.hpp            |    5 ++++-
 src/zmq_connecter.cpp      |   10 +++++++---
 src/zmq_connecter.hpp      |    5 ++++-
 src/zmq_connecter_init.cpp |   36 +++++++++++++++++++++---------------
 src/zmq_connecter_init.hpp |   11 +++++++----
 src/zmq_engine.cpp         |   23 ++++++++++++++++++++---
 src/zmq_engine.hpp         |    5 ++++-
 src/zmq_listener_init.cpp  |   22 ++++++++++++++++++++--
 src/zmq_listener_init.hpp  |    5 ++++-
 14 files changed, 130 insertions(+), 37 deletions(-)

commit 14b112301e62af5115ab870d97ae448c2e3deddb
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 15 13:58:21 2009 +0100

    handle error during connecting by eventual reconnection

 src/zmq_connecter.cpp |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit e49115224a7957b0e5d49326bc02ae6af186eaf9
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 15 09:09:19 2009 +0100

    zmq_encoder/decoder are able to add/trim prefixes from messages; fair queueing and load balancing algorithms factorised into separate classes

 src/Makefile.am      |    4 ++
 src/downstream.cpp   |   34 +++-------------
 src/downstream.hpp   |   10 ++---
 src/fq.cpp           |  106 +++++++++++++++++++++++++++++++++++++++++++++++
 src/fq.hpp           |   64 +++++++++++++++++++++++++++++
 src/lb.cpp           |  111 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/lb.hpp           |   63 ++++++++++++++++++++++++++++
 src/pgm_receiver.cpp |    2 +-
 src/pgm_sender.cpp   |    2 +-
 src/sub.cpp          |   50 ++++-------------------
 src/sub.hpp          |   21 +++-------
 src/upstream.cpp     |   58 ++++----------------------
 src/upstream.hpp     |   14 ++-----
 src/xrep.cpp         |   17 ++++----
 src/xrep.hpp         |    5 ++-
 src/xreq.cpp         |   28 ++++++-------
 src/xreq.hpp         |    8 +++-
 src/zmq_decoder.cpp  |   40 ++++++++++++++----
 src/zmq_decoder.hpp  |    7 +++-
 src/zmq_encoder.cpp  |   21 ++++++++--
 src/zmq_encoder.hpp  |    4 +-
 src/zmq_engine.cpp   |    4 +-
 22 files changed, 476 insertions(+), 197 deletions(-)

commit bd792faa9d6c78c375dbc52c6d773e157335da36
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Dec 14 11:46:30 2009 +0100

    ZMQ_SNDBUF and ZMQ_RCVBUF honoured in PGM transport

 src/pgm_socket.cpp |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

commit 68488215da8e03a74ca4da6b822e4cfa3b71d73a
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Dec 13 18:32:22 2009 +0100

    Man pages for XREQ/XREP/zmq_queue updated

 man/Makefile.am       |    2 +-
 man/convert2pdf.sh    |    2 ++
 man/man1/zmq_queue.1  |   11 +++++++++++
 man/man3/zmq_socket.3 |   37 +++++++++++++++++++++++++++++++++++--
 4 files changed, 49 insertions(+), 3 deletions(-)

commit 0637e06387ac0676e9595246eb60a6809664b01a
Author: unknown <bundra@.(none)>
Date:   Sun Dec 13 14:59:25 2009 +0100

    zmq_streamer & zmq_queue are built under MSVC

 builds/msvc/libzmq/libzmq.vcproj             |   20 ++-
 builds/msvc/msvc.sln                         |   18 +++
 builds/msvc/zmq_queue/zmq_queue.vcproj       |  174 ++++++++++++++++++++++++++
 builds/msvc/zmq_streamer/zmq_streamer.vcproj |  174 ++++++++++++++++++++++++++
 src/xrep.cpp                                 |    5 +
 src/xreq.cpp                                 |    5 +
 6 files changed, 394 insertions(+), 2 deletions(-)

commit fa6bf24d8030b0e54fd25b167064482e4cf08a36
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Dec 13 14:45:23 2009 +0100

    XREP & XREQ socket types added; zmq_queue device added

 bindings/c/zmq.h                        |    6 +-
 bindings/cl/zeromq.lisp                 |    6 +-
 bindings/java/org/zmq/Socket.java       |    6 +-
 bindings/python/pyzmq.cpp               |    6 ++
 bindings/ruby/rbzmq.cpp                 |    2 +
 configure.in                            |   15 +++-
 devices/Makefile.am                     |    8 +-
 devices/zmq_forwarder/Makefile.am       |    2 +-
 devices/zmq_forwarder/zmq_forwarder.cpp |    2 +-
 devices/zmq_queue/Makefile.am           |    9 +++
 devices/zmq_queue/zmq_queue.cpp         |  122 +++++++++++++++++++++++++++++++
 devices/zmq_streamer/Makefile.am        |    2 +-
 devices/zmq_streamer/zmq_streamer.cpp   |    2 +-
 src/Makefile.am                         |    4 +
 src/app_thread.cpp                      |    8 ++
 src/pgm_sender.cpp                      |    4 -
 src/xrep.cpp                            |   95 ++++++++++++++++++++++++
 src/xrep.hpp                            |   57 +++++++++++++++
 src/xreq.cpp                            |   95 ++++++++++++++++++++++++
 src/xreq.hpp                            |   57 +++++++++++++++
 20 files changed, 490 insertions(+), 18 deletions(-)

commit c43aded531014895973c283fdd82bb2e5e85c789
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Dec 13 11:27:43 2009 +0100

    debug code removed from PGM engines

 src/pgm_receiver.cpp |   21 ------------
 src/pgm_receiver.hpp |   10 +++---
 src/pgm_sender.cpp   |   33 ++----------------
 src/pgm_socket.cpp   |   92 +++++---------------------------------------------
 src/pgm_socket.hpp   |   24 +++++--------
 5 files changed, 24 insertions(+), 156 deletions(-)

commit f4ac8d7a443bd1afb35634d1cccb79943cc316e0
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Dec 13 09:56:02 2009 +0100

    OpenPGM v1 support removed

 Makefile.am                           |    4 +-
 configure.in                          |  134 ++-----------------
 foreign/openpgm/libpgm-1.2.14.tar.bz2 |  Bin 280029 -> 0 bytes
 foreign/openpgm/lost_data_tsi.patch   |   76 -----------
 src/Makefile.am                       |   59 ---------
 src/pgm_receiver.cpp                  |   10 --
 src/pgm_sender.cpp                    |   18 ---
 src/pgm_sender.hpp                    |    2 -
 src/pgm_socket.cpp                    |  226 +--------------------------------
 src/pgm_socket.hpp                    |   16 ---
 10 files changed, 18 insertions(+), 527 deletions(-)

commit 73b765e4b497f6a505cbf88c524085fa0e58e59c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Dec 13 09:11:08 2009 +0100

    PGM transport fixed

 src/encoder.hpp      |   26 ++++---
 src/pgm_receiver.cpp |    5 +-
 src/pgm_sender.cpp   |    6 +-
 src/pgm_socket.cpp   |  193 ++++++++++++++++++++------------------------------
 src/pgm_socket.hpp   |    5 +-
 src/zmq_engine.cpp   |    4 +-
 6 files changed, 105 insertions(+), 134 deletions(-)

commit d5670f34baa0751a5b4567a28caea4e4fa208727
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Dec 11 22:29:04 2009 +0100

    ZMQII-26: Use zero-copy for large messages (rx side)

 src/decoder.hpp     |   87 +++++++++++++++++++++++++++++++++--------
 src/encoder.hpp     |  107 ++++++++++++++++++++++++++++++---------------------
 src/zmq_decoder.cpp |    3 +-
 src/zmq_decoder.hpp |    2 +-
 src/zmq_encoder.cpp |    3 +-
 src/zmq_encoder.hpp |    2 +-
 src/zmq_engine.cpp  |   72 +++++++++++++++-------------------
 src/zmq_engine.hpp  |   13 ++-----
 8 files changed, 174 insertions(+), 115 deletions(-)

commit 770178724f9493e99c832863031aef016f143e9f
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Dec 10 21:34:40 2009 +0100

    errors are never predicted in branch prediction (likely/unlikely macros added)

 src/atomic_counter.hpp |    1 -
 src/err.hpp            |   91 +++++++++++++++++++++++++++++-------------------
 src/likely.hpp         |   32 +++++++++++++++++
 3 files changed, 87 insertions(+), 37 deletions(-)

commit d4fdc26efc6b21103e446f712a484af910a57f2f
Author: unknown <bundra@.(none)>
Date:   Thu Dec 10 16:46:22 2009 +0100

    zmq_poll implemented on Win32 platform

 bindings/c/zmq.h |    7 +++
 src/zmq.cpp      |  125 +++++++++++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 125 insertions(+), 7 deletions(-)

commit 986ab66b8f260614b2bd18f870ad98402c0f247a
Author: unknown <bundra@.(none)>
Date:   Thu Dec 10 10:39:24 2009 +0100

    ZMQII-27: Allow setting SNDBUF and RCVBUF size from 0MQ API (Win32)

 src/tcp_socket.cpp |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit 8d58643655b653c520fcdcc2a89b5067788f32fc
Author: unknown <bundra@.(none)>
Date:   Thu Dec 10 10:33:07 2009 +0100

    MSVC build for chat example added

 builds/msvc/display/display.vcproj |  176 ++++++++++++++++++++++++++++++++++++
 builds/msvc/msvc.sln               |   18 ++++
 builds/msvc/prompt/prompt.vcproj   |  176 ++++++++++++++++++++++++++++++++++++
 examples/chat/prompt.cpp           |    5 +
 4 files changed, 375 insertions(+)

commit 2e39f892c353851fe90261db0a0875abab50539f
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Dec 10 09:47:24 2009 +0100

    ZMQII-27: Allow setting SNDBUF and RCVBUF size from 0MQ API (POSIX)

 bindings/c/zmq.h                  |    2 ++
 bindings/cl/zeromq.lisp           |    2 ++
 bindings/java/org/zmq/Socket.java |    2 ++
 bindings/python/pyzmq.cpp         |    6 ++++++
 bindings/ruby/rbzmq.cpp           |    2 ++
 man/man3/zmq_setsockopt.3         |   24 ++++++++++++++++++++++++
 src/options.cpp                   |   18 ++++++++++++++++++
 src/options.hpp                   |    3 +++
 src/tcp_socket.cpp                |   17 +++++++++++++++--
 src/tcp_socket.hpp                |    3 ++-
 src/zmq_connecter_init.cpp        |    2 +-
 src/zmq_engine.cpp                |    8 +++++---
 src/zmq_engine.hpp                |    5 ++++-
 src/zmq_listener_init.cpp         |    2 +-
 14 files changed, 87 insertions(+), 9 deletions(-)

commit 72dacc35702a14ab0bb5a2650dffbb3bbda63175
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Dec 10 08:25:21 2009 +0100

    zero-copy on tx side optimised to minimise number of user/kernel space transitions

 src/encoder.hpp |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

commit 1c1dfb50f88002ce7a024f2d8980b968d3aee1ae
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Dec 9 14:12:25 2009 +0100

    zmq_cpp(7) man page filled in

 man/man7/zmq_cpp.7 |   97 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 95 insertions(+), 2 deletions(-)

commit cab5a4a1596e5019c7fd306ad49aac67209b467c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Dec 9 09:19:16 2009 +0100

    minor documentation updates

 examples/chat/README |    4 ++--
 src/encoder.hpp      |   12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

commit c98e29fb6e017a667452cd0a50536da691600353
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 8 21:48:39 2009 +0100

    README added to chat example

 examples/chat/README |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

commit 902d4f2282f4ed59f942be6fa1013b20dd964536
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 8 16:13:51 2009 +0100

    minor fix of zero-copy on tx side

 src/encoder.hpp |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

commit 9be877c68503c35f9f72c8b92bd11454e4fcad97
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 8 15:41:50 2009 +0100

    ZMQII-26: Use zero-copy for large messages

 src/encoder.hpp    |   28 +++++++++++++++++++++++-----
 src/zmq_engine.cpp |   21 +++++++++++++--------
 src/zmq_engine.hpp |   12 ++++++++----
 3 files changed, 44 insertions(+), 17 deletions(-)

commit bfef2fcd0ba590169ad46ea45da9d36dca1b5b97
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Dec 7 21:52:10 2009 +0100

    autotools build system builds chat example now

 Makefile.am               |    4 ++--
 configure.in              |   25 ++++++++++++++++++-------
 examples/Makefile.am      |    7 +++++++
 examples/chat/Makefile.am |   11 +++++++++++
 4 files changed, 38 insertions(+), 9 deletions(-)

commit a08a72dd082e5e62f0d043c71ea7d9b6fb80b57e
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Dec 7 21:06:54 2009 +0100

    chat example added

 examples/chat/display.cpp |   50 ++++++++++++++++++++++++++++++++++++
 examples/chat/prompt.cpp  |   62 +++++++++++++++++++++++++++++++++++++++++++++
 src/fd_signaler.cpp       |    2 +-
 3 files changed, 113 insertions(+), 1 deletion(-)

commit 82012667cca5249ba7aa16ac5880b86ac54f3e98
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Dec 7 17:28:43 2009 +0100

    Deadlock on zmq_close

 src/fd_signaler.cpp |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit 9f495942736bfc1c1ef5f0b23d5a1bdab56d3757
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Dec 5 11:20:57 2009 +0100

    C & C++ header files clean-up

 bindings/c/zmq.h     |  257 ++++----------------------------------------------
 bindings/cpp/zmq.hpp |   62 ++++++------
 src/ypipe.hpp        |   12 +--
 3 files changed, 53 insertions(+), 278 deletions(-)

commit 356ce8fe917c1b3b645555bcd2ff0ff989c6829a
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Dec 4 10:06:46 2009 +0100

    man pages updated

 man/man1/zmq_forwarder.1 |    2 +-
 man/man1/zmq_streamer.1  |    2 +-
 man/man7/zmq.7           |  145 +++++++++++++++++++++++++++++++++++++++++++++-
 man/man7/zmq_cl.7        |    2 +-
 man/man7/zmq_cpp.7       |    3 +-
 man/man7/zmq_inproc.7    |    2 +-
 man/man7/zmq_pgm.7       |    2 +-
 man/man7/zmq_python.7    |    2 +-
 man/man7/zmq_ruby.7      |    2 +-
 man/man7/zmq_tcp.7       |    2 +-
 man/man7/zmq_udp.7       |    2 +-
 11 files changed, 153 insertions(+), 13 deletions(-)

commit 3e051e874ad03299cc9a9693cf8f20d6e37af329
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Dec 4 10:03:38 2009 +0100

    Vitaly Mayatskikh added to authors section

 AUTHORS |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 721e37a371713ddb20c4dfcca253fe01f71a4af7
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Dec 4 10:02:25 2009 +0100

    platform.hpp.in removed from the codebase

 src/platform.hpp.in |  234 ---------------------------------------------------
 1 file changed, 234 deletions(-)

commit 734aaa2dcbd130cfc5d8ef0bd31bd259117f6c0c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Dec 3 12:58:16 2009 +0100

    placeholders for new man pages added

 man/Makefile.am         |    9 ++++++---
 man/convert2pdf.sh      |   18 ++++++++++++++++++
 man/man1/zmq_streamer.1 |   11 +++++++++++
 man/man7/zmq_cl.7       |    9 +++++++++
 man/man7/zmq_cpp.7      |    9 +++++++++
 man/man7/zmq_inproc.7   |    9 +++++++++
 man/man7/zmq_pgm.7      |    9 +++++++++
 man/man7/zmq_python.7   |    9 +++++++++
 man/man7/zmq_ruby.7     |    9 +++++++++
 man/man7/zmq_tcp.7      |    9 +++++++++
 man/man7/zmq_udp.7      |    9 +++++++++
 11 files changed, 107 insertions(+), 3 deletions(-)

commit 6fcdc5fa69ea44d38e5505c23a6e9645efd35027
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Dec 3 10:14:07 2009 +0100

    common lisp binding & perf tests added

 bindings/Makefile.am        |    8 +-
 bindings/cl/Makefile.am     |    9 ++
 bindings/cl/meta.lisp       |   59 +++++++++++
 bindings/cl/package.lisp    |  108 +++++++++++++++++++
 bindings/cl/zeromq-api.lisp |  155 +++++++++++++++++++++++++++
 bindings/cl/zeromq.asd      |   38 +++++++
 bindings/cl/zeromq.lisp     |  244 +++++++++++++++++++++++++++++++++++++++++++
 configure.in                |   21 ++++
 perf/Makefile.am            |    2 +-
 perf/cl/Makefile.am         |    2 +
 perf/cl/lat-parms.lisp      |   22 ++++
 perf/cl/local-lat-poll.lisp |   43 ++++++++
 perf/cl/local-lat.lisp      |   52 +++++++++
 perf/cl/local-thr.lisp      |   54 ++++++++++
 perf/cl/remote-lat.lisp     |   50 +++++++++
 perf/cl/remote-thr.lisp     |   41 ++++++++
 perf/cl/thr-parms.lisp      |   25 +++++
 17 files changed, 930 insertions(+), 3 deletions(-)

commit 7146ef85e96551ce6f7b80d014463f246d09c878
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Dec 2 21:26:47 2009 +0100

    seqnum mechanism automated

 src/dispatcher.cpp         |    2 ++
 src/object.cpp             |   27 ++++++++++++++++++++-------
 src/object.hpp             |   12 +++++++++---
 src/owned.cpp              |   26 ++++++++------------------
 src/owned.hpp              |   14 ++------------
 src/session.cpp            |    5 -----
 src/socket_base.cpp        |   12 ++++++------
 src/socket_base.hpp        |    1 +
 src/zmq_connecter.cpp      |    1 -
 src/zmq_connecter_init.cpp |    4 ++--
 src/zmq_listener.cpp       |    2 --
 src/zmq_listener_init.cpp  |    6 ++++--
 12 files changed, 54 insertions(+), 58 deletions(-)

commit cb84580bbced0b5d34ddcbac6e0aed5d0ad7cae6
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 1 19:09:58 2009 +0100

    harmless uninitialised memory read fixed

 src/yqueue.hpp |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 9bd309bda6522dfdd514dd0c4edae04322c83ed1
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 1 18:50:54 2009 +0100

    annoying optimisation in 'bind' command removed

 src/command.hpp     |    4 +---
 src/object.cpp      |   11 ++++-------
 src/object.hpp      |    6 +++---
 src/session.cpp     |    5 ++---
 src/socket_base.cpp |   13 +++----------
 src/socket_base.hpp |    3 +--
 6 files changed, 14 insertions(+), 28 deletions(-)

commit c04583ff6ca3c27de5628a61b6b6ce59fd13c9d9
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Dec 1 15:12:42 2009 +0100

    minor code beautification

 src/pipe.cpp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 0d704fceee5e1bd0fe9438fa380452b69cd29114
Author: unknown <bundra@.(none)>
Date:   Tue Dec 1 14:58:00 2009 +0100

    MSVC warnings fixed

 src/pipe.cpp |   32 ++++++++++++++++++++++++--------
 src/pipe.hpp |    6 ++++--
 2 files changed, 28 insertions(+), 10 deletions(-)

commit 9cff475af849897f669049fd7748f875fa1cd6c3
Author: malosek <malosek@fastmq.com>
Date:   Mon Nov 30 18:18:13 2009 +0100

    added libpgm-2.0.17rc2 into the dist package

 Makefile.am                              |    4 ++--
 configure.in                             |   21 +++++++++++++++------
 foreign/openpgm/libpgm-2.0.17rc2.tar.bz2 |  Bin 0 -> 315051 bytes
 3 files changed, 17 insertions(+), 8 deletions(-)

commit 82242f6a9e06d855ff2ac5616196a97868838a6c
Author: malosek <malosek@fastmq.com>
Date:   Mon Nov 30 17:48:16 2009 +0100

    minor formatting fix in zmq_init.3 man page

 man/man3/zmq_init.3 |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit c637bf292d0dc97be5c94c5c96a033c2d665576c
Merge: 9ccf2b4 fa1641a
Author: malosek <malosek@fastmq.com>
Date:   Mon Nov 30 16:45:36 2009 +0100

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 9ccf2b42cf932b4c29ea20cc9c6e3d5d8e7a62b4
Author: malosek <malosek@fastmq.com>
Date:   Mon Nov 30 16:45:18 2009 +0100

    minor tweaks in pgm code

 src/pgm_sender.cpp |    4 ++++
 src/pgm_socket.cpp |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

commit fa1641afc593be5926e558381861112b584e861a
Author: malosek <malosek@fastmq.com>
Date:   Fri Nov 27 14:30:48 2009 +0100

    msvc build fixed

 bindings/c/zmq.h                 |    3 +++
 builds/msvc/libzmq/libzmq.vcproj |   16 ++++++++++++++++
 2 files changed, 19 insertions(+)

commit 19ce7c0e77f703ed2ec3b54685ddf4a6f2329ffe
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Nov 26 12:41:50 2009 +0100

    zmq_msg_data.3 referenced twice in Makefile.am - fixed

 AUTHORS         |    1 +
 man/Makefile.am |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

commit 8d85638f77ec0aa886170ba6bb49763ef165393b
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Nov 26 12:01:26 2009 +0100

    memory leak in message encoder fixed

 AUTHORS                   |    1 +
 perf/c/local_thr.c        |    3 +++
 src/session.cpp           |    4 ----
 src/zmq_decoder.cpp       |    8 +++++++-
 src/zmq_encoder.cpp       |    7 ++++++-
 src/zmq_listener_init.cpp |    1 -
 6 files changed, 17 insertions(+), 7 deletions(-)

commit 92aa9e94e21b652839faa3dda27c67571bad315d
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Nov 25 08:55:03 2009 +0100

    experimental code to use futexes instead of mutexes added to simple_semapthore_t

 src/simple_semaphore.hpp |   60 +++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 57 insertions(+), 3 deletions(-)

commit c98fd6bc3f2a49d7cb0b820a07354168c98f60b7
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Nov 24 11:23:10 2009 +0100

    ZMQII-25: Implement streamed request/reply

 bindings/c/zmq.h                        |    6 ++
 bindings/java/org/zmq/Socket.java       |    2 +
 bindings/python/pyzmq.cpp               |    6 ++
 bindings/ruby/rbzmq.cpp                 |    2 +
 configure.in                            |   15 +++-
 devices/Makefile.am                     |    8 +-
 devices/zmq_forwarder/zmq_forwarder.cpp |    7 +-
 devices/zmq_streamer/Makefile.am        |    9 ++
 devices/zmq_streamer/zmq_streamer.cpp   |  122 ++++++++++++++++++++++++++
 man/man3/zmq_socket.3                   |    9 ++
 src/Makefile.am                         |    4 +
 src/app_thread.cpp                      |   14 ++-
 src/downstream.cpp                      |  131 ++++++++++++++++++++++++++++
 src/downstream.hpp                      |   64 ++++++++++++++
 src/p2p.hpp                             |    4 +-
 src/pub.hpp                             |    4 +-
 src/rep.cpp                             |    2 +-
 src/rep.hpp                             |    4 +-
 src/req.hpp                             |    4 +-
 src/sub.hpp                             |    4 +-
 src/upstream.cpp                        |  143 +++++++++++++++++++++++++++++++
 src/upstream.hpp                        |   69 +++++++++++++++
 22 files changed, 612 insertions(+), 21 deletions(-)

commit 5cd98bc575517ea72c435770a5313711484f7d34
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Nov 23 09:22:25 2009 +0100

    the rest of man3 man pages filled in

 man/man3/zmq_msg_close.3     |   20 ++++++++++++++++
 man/man3/zmq_msg_copy.3      |   31 ++++++++++++++++++++++++
 man/man3/zmq_msg_data.3      |   15 ++++++++++++
 man/man3/zmq_msg_init.3      |   21 +++++++++++++++++
 man/man3/zmq_msg_init_data.3 |   33 ++++++++++++++++++++++++++
 man/man3/zmq_msg_init_size.3 |   32 +++++++++++++++++++++++++
 man/man3/zmq_msg_move.3      |   26 +++++++++++++++++++++
 man/man3/zmq_msg_size.3      |   18 ++++++++++++++
 man/man3/zmq_poll.3          |   53 ++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 249 insertions(+)

commit e90ada0d044636201c57786307a49a52f9cf7643
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Nov 22 16:51:21 2009 +0100

    more man pages filled in

 bindings/c/zmq.h          |    2 +-
 man/man3/zmq_bind.3       |   36 ++++++++++++++++
 man/man3/zmq_close.3      |   15 +++++++
 man/man3/zmq_connect.3    |   37 +++++++++++++++-
 man/man3/zmq_flush.3      |   25 +++++++++++
 man/man3/zmq_init.3       |    3 +-
 man/man3/zmq_recv.3       |   40 ++++++++++++++++++
 man/man3/zmq_send.3       |   52 +++++++++++++++++++++++
 man/man3/zmq_setsockopt.3 |  103 +++++++++++++++++++++++++++++++++++++++++++++
 man/man3/zmq_socket.3     |   56 ++++++++++++++++++++++++
 man/man3/zmq_term.3       |    2 +
 11 files changed, 368 insertions(+), 3 deletions(-)

commit 6602cce9af93539df8f1c43235e7e7130a3df60d
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Nov 22 12:05:11 2009 +0100

    zmq_init, zmq_term & zmq_strerror man pages added

 man/Makefile.am         |    2 +-
 man/convert2pdf.sh      |    2 ++
 man/man3/zmq_init.3     |   26 ++++++++++++++++++++++++++
 man/man3/zmq_strerror.3 |   27 +++++++++++++++++++++++++++
 man/man3/zmq_term.3     |   11 +++++++++++
 5 files changed, 67 insertions(+), 1 deletion(-)

commit ed5563f75285197aa0cdbe8a0dc6f80c5bb1f89c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Nov 22 10:25:53 2009 +0100

    man pages (dummy) added for zmq_msg_* functions

 man/Makefile.am              |    5 ++++-
 man/convert2pdf.sh           |   16 ++++++++++++++++
 man/man3/zmq_msg_close.3     |   12 ++++++++++++
 man/man3/zmq_msg_copy.3      |   12 ++++++++++++
 man/man3/zmq_msg_data.3      |   12 ++++++++++++
 man/man3/zmq_msg_init.3      |   12 ++++++++++++
 man/man3/zmq_msg_init_data.3 |   15 +++++++++++++++
 man/man3/zmq_msg_init_size.3 |   12 ++++++++++++
 man/man3/zmq_msg_move.3      |   12 ++++++++++++
 man/man3/zmq_msg_size.3      |   12 ++++++++++++
 10 files changed, 119 insertions(+), 1 deletion(-)

commit 55b64a02e7f3b1ce9e512240a9f9a337ead3b54c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Nov 22 08:47:06 2009 +0100

    man pages - initial (dummy) version

 Makefile.am               |    8 ++++++--
 configure.in              |    8 +++++++-
 man/Makefile.am           |   16 +++++++++++++++
 man/convert2pdf.sh        |   48 +++++++++++++++++++++++++++++++++++++++++++++
 man/man1/zmq_forwarder.1  |   11 +++++++++++
 man/man3/zmq_bind.3       |   12 ++++++++++++
 man/man3/zmq_close.3      |   12 ++++++++++++
 man/man3/zmq_connect.3    |   12 ++++++++++++
 man/man3/zmq_flush.3      |   12 ++++++++++++
 man/man3/zmq_init.3       |   12 ++++++++++++
 man/man3/zmq_poll.3       |   12 ++++++++++++
 man/man3/zmq_recv.3       |   12 ++++++++++++
 man/man3/zmq_send.3       |   12 ++++++++++++
 man/man3/zmq_setsockopt.3 |   12 ++++++++++++
 man/man3/zmq_socket.3     |   12 ++++++++++++
 man/man3/zmq_term.3       |   12 ++++++++++++
 man/man7/zmq.7            |    9 +++++++++
 17 files changed, 229 insertions(+), 3 deletions(-)

commit c41daca3da6ffd033f93c3e24898414567f71eb3
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Nov 21 21:30:09 2009 +0100

    race condition in inproc transport shutdown fixed

 src/command.hpp     |    3 +++
 src/object.cpp      |    9 ++++++---
 src/object.hpp      |    6 +++---
 src/session.cpp     |    4 +++-
 src/socket_base.cpp |   16 ++++++++++++----
 src/socket_base.hpp |    3 ++-
 6 files changed, 29 insertions(+), 12 deletions(-)

commit 64634605b3ccb90d582cfdf380535c89bf900a0e
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Nov 21 21:13:29 2009 +0100

    obsolete parameter removed from 'bind' command

 src/command.hpp     |    1 -
 src/object.cpp      |    9 +++------
 src/object.hpp      |    6 +++---
 src/session.cpp     |    2 +-
 src/socket_base.cpp |    6 ++----
 src/socket_base.hpp |    3 +--
 6 files changed, 10 insertions(+), 17 deletions(-)

commit 0e9ab2e8a3f5bc22f2c331c14236a2918a5512a8
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Nov 21 20:59:55 2009 +0100

    inproc transport - initial commit

 src/dispatcher.cpp  |   56 ++++++++++++++++++++++++++++++++++++++++++++++
 src/dispatcher.hpp  |   12 ++++++++++
 src/object.cpp      |   15 +++++++++++++
 src/object.hpp      |    6 +++++
 src/socket_base.cpp |   62 +++++++++++++++++++++++++++++++++++++++++++++++++--
 src/socket_base.hpp |   12 ++++++++++
 src/zmq.cpp         |    6 +++--
 7 files changed, 165 insertions(+), 4 deletions(-)

commit 14f2fecdcd9732fe741c211138a4ba327816a937
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Nov 19 09:53:49 2009 +0100

    ZMQII-24: SEGFAULT when anonymous session disconnects

 src/pipe.cpp |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit c2e0661b0afb2f50f47e0275fa6603947f26d240
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Nov 19 08:06:52 2009 +0100

    uninitialised variable in devpoll_t and kqueue_t

 src/devpoll.cpp |    3 ++-
 src/kqueue.cpp  |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

commit 26ca5ed8c62f8a88a32106a5c9e003712f4ca655
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Nov 14 18:57:04 2009 +0100

    Fixing concurrency issue in rep.cpp resulting in broken connections with multiple requesters under heavy load.

 src/rep.cpp |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit 84585a9561b5e3bd39baa8d49b889455362334ea
Author: malosek <malosek@fastmq.com>
Date:   Wed Nov 4 18:59:19 2009 +0100

    pgm_transport_recvmsgv in process_upstream returns PGM_IO_STATUS_RATE_LIMITED on busy sender

 src/pgm_socket.cpp |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit c2cd7977f7a82e978d77b2d4d8e23d78f71e809c
Author: malosek <malosek@fastmq.com>
Date:   Tue Nov 3 19:54:43 2009 +0100

    update pgm_socket to recent openpgm2

 src/pgm_socket.cpp |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

commit 08b02a43ae21e833a04d274fb20ef3bbc73c0d09
Author: malosek <malosek@fastmq.com>
Date:   Tue Nov 3 14:11:53 2009 +0100

    fixed get_sender_fds and get_receiver_fds for openpgm2

 src/pgm_socket.cpp |   83 +++++++++++++++++++++++++++++++---------------------
 src/pgm_socket.hpp |    2 +-
 2 files changed, 51 insertions(+), 34 deletions(-)

commit 7d672d3ab8c74371b58b293f807db74760b18155
Author: malosek <malosek@fastmq.com>
Date:   Tue Nov 3 14:06:25 2009 +0100

    minor fixes for MSVC++ 2005 build

 src/app_thread.cpp |    3 +++
 src/fd.hpp         |    2 +-
 src/windows.hpp    |    5 +++++
 3 files changed, 9 insertions(+), 1 deletion(-)

commit 7cbdcc954213b715ce83316538403bbce1fac99f
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Oct 22 13:21:27 2009 +0200

    ZMQII-21: Problem with fd_signaler_t::poll on socket close

 src/fd_signaler.cpp |   31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)

commit 55acf365ea76b908388ca9726232bde90242cdcb
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Oct 20 18:44:17 2009 +0200

    releasing python global lock when doing blocking operations

 bindings/python/pyzmq.cpp |    5 +++++
 1 file changed, 5 insertions(+)

commit 8b08047cb08dd6ba7ae142007f82607183574ef6
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 19 19:00:04 2009 +0200

    added --with-pgm2-examples configure option

 configure.in       |   17 +++++++++
 perf/c/Makefile.am |  104 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/Makefile.am    |    4 +-
 3 files changed, 123 insertions(+), 2 deletions(-)

commit 71e455bfe5dd1df1220e9280e536be56238d2178
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 19 15:19:22 2009 +0200

    ZMQII-19: add --disable-eventfd configure option

 configure.in |   27 +++++++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)

commit 50c7d12be6c10c294143491b479c50349a3c84a3
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 12 22:53:11 2009 +0200

    added HAVE_LIBWS2_32 into platform.hpp.in

 src/platform.hpp.in |    3 +++
 1 file changed, 3 insertions(+)

commit 0ce02058ebc35184b91399eee35d44ef01cd9e38
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 12 22:51:41 2009 +0200

    updated 0MQ to recent OpenPGM2 rev.562

 src/Makefile.am    |    1 +
 src/pgm_socket.cpp |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit ea2f6558fd2a759b78364ded493c598f5ca5a2d3
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 12 22:50:01 2009 +0200

    mingw fixed winsock linking issue

 configure.in |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 7afc61ae7c4859fa1a6273e1964d378c00142746
Author: malosek <malosek@fastmq.com>
Date:   Tue Oct 6 12:57:24 2009 +0200

    0MQ compilable on winXP mingw with --with-pgm2 option

 configure.in         |   12 +++++++++---
 src/Makefile.am      |   53 ++++++++++++++++++++++++++++++++------------------
 src/pgm_receiver.cpp |    5 +++++
 src/pgm_receiver.hpp |    8 +++++++-
 src/pgm_sender.cpp   |    6 ++++--
 src/pgm_sender.hpp   |    4 ++++
 src/pgm_socket.cpp   |   23 ++++++++++++++--------
 src/pgm_socket.hpp   |   13 +++++--------
 src/platform.hpp.in  |    3 +++
 9 files changed, 86 insertions(+), 41 deletions(-)

commit ac83175ef0f0084f281a416785679f8b56f551b9
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 5 16:57:26 2009 +0200

    updated to recent PGM2 changes

 foreign/openpgm/create_custom_gsi_1.patch |    2 +-
 src/pgm_socket.cpp                        |   26 +++++++++++++++++---------
 2 files changed, 18 insertions(+), 10 deletions(-)

commit 3daeff2786ce1d6d8e58f0ad15e693f2c48c94f9
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 5 15:06:40 2009 +0200

    mingw port

 configure.in        |   13 ++++++++-----
 src/fd.hpp          |    4 ++--
 src/platform.hpp.in |    3 +++
 src/uuid.hpp        |    7 ++++++-
 src/windows.hpp     |    6 ++++++
 5 files changed, 25 insertions(+), 8 deletions(-)

commit de2e439a52e93a4cb17a19e9ef9cadfd5ebf2cea
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 5 15:06:08 2009 +0200

    1 minor change in xmlParser.cpp

 foreign/xmlParser/xmlParser.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 14dc1f45cd1a328415db09ef1e06def6179dae00
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 5 12:28:34 2009 +0200

    build system tuning - fixed make dist

 Makefile.am     |    7 ++++---
 configure.in    |   15 +++++++++++----
 src/Makefile.am |   11 ++++++-----
 3 files changed, 21 insertions(+), 12 deletions(-)

commit b0c97a5f8b88fca73338c1c173b446515e2ed366
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 5 10:37:49 2009 +0200

    build system tuning

 Makefile.am     |    1 +
 src/Makefile.am |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

commit d57ee0984ac3f8712063a7f83d7200be25ca5513
Merge: ff65e26 4efe236
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 5 10:22:31 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit ff65e26ce7567ea6a907e566f8530f4988231d68
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 5 10:22:12 2009 +0200

    create_custom_gsi.patch renamed to create_custom_gsi_1.patch

 configure.in                              |    4 +--
 foreign/openpgm/create_custom_gsi.patch   |   43 -----------------------------
 foreign/openpgm/create_custom_gsi_1.patch |   43 +++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 45 deletions(-)

commit e1b9fcd4b185cdcfd460a5d2ecb29d085856bb20
Author: malosek <malosek@fastmq.com>
Date:   Mon Oct 5 10:18:24 2009 +0200

    moved pgm_create_custom_gsi into PGM1 and drop ssl dependency

 configure.in                            |   18 ++++++-------
 foreign/openpgm/create_custom_gsi.patch |   43 +++++++++++++++++++++++++++++++
 foreign/openpgm/lost_data_tsi.patch     |    4 +--
 src/pgm_socket.cpp                      |   18 +------------
 src/pgm_socket.hpp                      |    3 ---
 src/platform.hpp.in                     |    6 -----
 6 files changed, 54 insertions(+), 38 deletions(-)

commit 4efe2366d7394e8969fc9aa64c50be6842d8455f
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Oct 2 10:46:36 2009 +0200

    poller is a concept now rather than virtualised class

 src/Makefile.am   |    2 +-
 src/devpoll.cpp   |   41 ++++++++++++--------------
 src/devpoll.hpp   |   13 +++++----
 src/epoll.cpp     |   16 +++++-----
 src/epoll.hpp     |   14 ++++-----
 src/i_poller.hpp  |   84 -----------------------------------------------------
 src/io_object.cpp |    2 +-
 src/io_object.hpp |    6 ++--
 src/io_thread.cpp |   41 ++------------------------
 src/io_thread.hpp |    8 ++---
 src/kqueue.cpp    |   17 +++++------
 src/kqueue.hpp    |   13 +++++----
 src/poll.cpp      |   18 +++++-------
 src/poll.hpp      |   13 +++++----
 src/poller.hpp    |   68 +++++++++++++++++++++++++++++++++++++++++++
 src/select.cpp    |   33 +++++++++------------
 src/select.hpp    |   13 +++++----
 17 files changed, 170 insertions(+), 232 deletions(-)

commit 4a3b4dadead8fe2af65443d0be4cc8462b9aa597
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Oct 2 09:42:13 2009 +0200

    ZMQII-9: Check and implement speculative reads & writes

 src/ypollset.cpp   |    1 -
 src/zmq_engine.cpp |    6 ++++++
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 49a9ef5fcb661827ee174415b4608e609bd0a65b
Author: unknown <sustrik@.(none)>
Date:   Thu Oct 1 13:48:04 2009 +0200

    windows error handling improved

 bindings/c/zmq.h      |   12 ++++++++++++
 src/err.cpp           |   43 +++++++++++++++++++++++++++++++++++++++++--
 src/err.hpp           |    1 +
 src/tcp_connecter.cpp |   10 +++++-----
 src/tcp_listener.cpp  |   17 ++++++++++++-----
 src/zmq.cpp           |    8 ++++++++
 6 files changed, 79 insertions(+), 12 deletions(-)

commit cc631c4c6649b0d67114db13386a949426e35dbf
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Oct 1 10:56:17 2009 +0200

    ZMQII-18: Implement I/O multiplexing (first approximation)

 bindings/c/zmq.h     |   33 ++++++++++++++
 bindings/cpp/zmq.hpp |    5 +++
 src/fd_signaler.hpp  |    2 -
 src/i_signaler.hpp   |    6 +++
 src/p2p.cpp          |   11 +++++
 src/p2p.hpp          |    2 +
 src/pub.cpp          |   11 +++++
 src/pub.hpp          |    2 +
 src/rep.cpp          |   17 ++++++++
 src/rep.hpp          |    2 +
 src/req.cpp          |   13 ++++++
 src/req.hpp          |    2 +
 src/socket_base.cpp  |   15 +++++++
 src/socket_base.hpp  |   12 ++++++
 src/sub.cpp          |   13 ++++++
 src/sub.hpp          |    2 +
 src/ypollset.cpp     |    6 +++
 src/ypollset.hpp     |    1 +
 src/zmq.cpp          |  117 +++++++++++++++++++++++++++++++++++++++++++++++++-
 19 files changed, 269 insertions(+), 3 deletions(-)

commit f2ff2c6e5c4e244dea28e1ac6ec3f886b7ebc356
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 30 10:08:35 2009 +0200

    checking for available messages added to ypipe/pipe

 src/pipe.cpp  |   11 +++++++++++
 src/pipe.hpp  |    3 +++
 src/ypipe.hpp |   24 ++++++++++++++++--------
 3 files changed, 30 insertions(+), 8 deletions(-)

commit 84d854a088d27b642355d4e835a2d93e405452ae
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Sep 29 15:40:29 2009 +0200

    documentation error in zmq.h fixed

 bindings/c/zmq.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 64e68e748607473befbcf2d96590d45dc7bc98db
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 29 13:56:19 2009 +0200

    detecting data loss for PGM2 receiver

 src/pgm_receiver.cpp |   10 ++++++++++
 src/pgm_socket.cpp   |   40 ++++++++++++++++++++++++++++++++++------
 2 files changed, 44 insertions(+), 6 deletions(-)

commit 39d915ded8ccb612ae1f9aaefcd93f349f4c8f4c
Author: malosek <malosek@fastmq.com>
Date:   Mon Sep 28 18:06:06 2009 +0200

    PGM2 sender

 src/pgm_receiver.cpp |    2 +-
 src/pgm_sender.cpp   |   26 +++++++++++++--
 src/pgm_sender.hpp   |    3 ++
 src/pgm_socket.cpp   |   85 +++++++++++++++++++++++++++++++++++++++-----------
 src/pgm_socket.hpp   |    8 +++--
 5 files changed, 100 insertions(+), 24 deletions(-)

commit cf6cc0128ff4d26e0059f399bbb8342ce259b996
Author: malosek <malosek@fastmq.com>
Date:   Fri Sep 25 17:50:12 2009 +0200

    pgm2 receiver working (partly)

 src/Makefile.am     |    3 +-
 src/pgm_socket.cpp  |  161 +++++++++++++++++++++++++++++++++++----------------
 src/pgm_socket.hpp  |   14 ++++-
 src/socket_base.cpp |    4 +-
 4 files changed, 129 insertions(+), 53 deletions(-)

commit 72c5c5fff42fc0b4c9d1eaaaebe9d6e1dd8824f2
Author: malosek <malosek@fastmq.com>
Date:   Thu Sep 24 16:23:49 2009 +0200

    --with-pgm2 compilable

 configure.in         |   10 +++---
 src/pgm_receiver.cpp |    2 +-
 src/pgm_receiver.hpp |    2 +-
 src/pgm_sender.cpp   |    2 +-
 src/pgm_sender.hpp   |    2 +-
 src/pgm_socket.cpp   |   91 +++++++++++++++++++++++++++++++++++++++++++-------
 src/pgm_socket.hpp   |    9 +----
 7 files changed, 89 insertions(+), 29 deletions(-)

commit 33afdcd1adccd19ebd9f4ec9cc6d23a37975d135
Author: malosek <malosek@fastmq.com>
Date:   Thu Sep 24 12:43:35 2009 +0200

    added --with-pgm2 into build system

 configure.in         |  116 +++++++++++++++++++++++++++++++++++++++++---------
 src/Makefile.am      |   89 ++++++++++++++++++++++++++++++++++++--
 src/pgm_receiver.cpp |    2 +-
 src/pgm_receiver.hpp |    2 +-
 src/pgm_sender.cpp   |    2 +-
 src/pgm_sender.hpp   |    2 +-
 src/pgm_socket.cpp   |    2 +-
 src/pgm_socket.hpp   |    2 +-
 src/platform.hpp.in  |    8 +++-
 src/socket_base.cpp  |    4 +-
 10 files changed, 196 insertions(+), 33 deletions(-)

commit 5aee5fd0cfc6351e843de1540eafa4e757066edc
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 23 12:14:44 2009 +0200

    Updated libzmq.vcproj file

 builds/msvc/libzmq/libzmq.vcproj |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

commit 27d8627cb5d8c91df2f09ecc1272e84be4fe3c80
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 23 11:31:03 2009 +0200

    Updated changelog for alpha3 release

 ChangeLog |   26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

commit b0a1a16fc2a84afa0eb2715f680297caef521b54
Merge: 088a2db 2521130
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 23 10:23:53 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 088a2db6746488c1ce4a73c357caaece50bbdf60
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 23 10:22:54 2009 +0200

    ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding

 bindings/c/zmq.h    |   24 ++++++++++++------------
 perf/c/local_lat.c  |    2 +-
 perf/c/local_thr.c  |    2 +-
 perf/c/remote_lat.c |    2 +-
 perf/c/remote_thr.c |    2 +-
 src/p2p.cpp         |    4 ++--
 src/p2p.hpp         |    4 ++--
 src/pipe.cpp        |    2 +-
 src/pipe.hpp        |    4 ++--
 src/pub.cpp         |    4 ++--
 src/pub.hpp         |    4 ++--
 src/rep.cpp         |    4 ++--
 src/rep.hpp         |    4 ++--
 src/req.cpp         |    4 ++--
 src/req.hpp         |    4 ++--
 src/socket_base.hpp |   10 ++++++----
 src/sub.cpp         |    4 ++--
 src/sub.hpp         |    6 +++---
 18 files changed, 46 insertions(+), 44 deletions(-)

commit 25211307696752acc17e91783aa662dc9e423b21
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 23 10:22:39 2009 +0200

    ZMQII-14: Change default for ZMQ_MCAST_LOOP to true

 src/options.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 85cbd7f83c10c70da8fa44fe7673143703f9710d
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 22 15:12:51 2009 +0200

    added PGM bus functionality

 Makefile.am                         |    1 +
 configure.in                        |   20 +++-
 foreign/openpgm/lost_data_tsi.patch |   76 +++++++++++++++
 src/pgm_receiver.cpp                |  176 ++++++++++++++++++-----------------
 src/pgm_receiver.hpp                |   37 +++++---
 src/pgm_socket.cpp                  |  159 ++++++++-----------------------
 src/pgm_socket.hpp                  |   19 ++--
 src/platform.hpp.in                 |    6 ++
 8 files changed, 265 insertions(+), 229 deletions(-)

commit 3bd8f83f6d412221e4673ceb90b8ca7fa74ff2f1
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Sep 22 13:00:05 2009 +0200

    language bindings use zmq_strerror instead of strerror

 bindings/cpp/zmq.hpp      |    9 +--------
 bindings/java/Context.cpp |   12 +++---------
 bindings/java/Socket.cpp  |   11 ++---------
 bindings/python/pyzmq.cpp |   20 ++++++++++----------
 bindings/ruby/rbzmq.cpp   |   18 +++++++++---------
 5 files changed, 25 insertions(+), 45 deletions(-)

commit a0db7f6b811e687eda452a7de9f5db112f715544
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Tue Sep 22 12:08:18 2009 +0200

    POSIX error codes unsupported on win platform faked

 bindings/c/zmq.h |   16 +++++++++++++---
 src/zmq.cpp      |   13 +++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)

commit e136d923b7060ef64d44264f88e49057e6638f31
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Sep 22 11:52:35 2009 +0200

    ZMQ-specific error codes added

 bindings/c/zmq.h    |   34 +++++++++++++++++++++++++++++-----
 src/dispatcher.cpp  |    2 +-
 src/err.cpp         |    5 +++++
 src/pub.cpp         |    2 +-
 src/rep.cpp         |    6 +++---
 src/req.cpp         |    8 ++++----
 src/socket_base.cpp |   10 +++++-----
 src/sub.cpp         |    4 ++--
 src/zmq.cpp         |   15 +++++++++++++++
 9 files changed, 65 insertions(+), 21 deletions(-)

commit cc8136896d30890efb24aadc2d3058652aa43d45
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Sep 22 10:57:46 2009 +0200

    documentation in zmq.h improved

 bindings/c/zmq.h     |  283 ++++++++++++++++++++++++++++++++++++--------------
 bindings/cpp/zmq.hpp |   13 ---
 src/zmq.cpp          |   28 +----
 3 files changed, 208 insertions(+), 116 deletions(-)

commit e6ca5da1815023e90306914dab101eeef4b6f199
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Tue Sep 22 08:30:15 2009 +0200

    Windows build fixed

 src/fd_signaler.cpp |   31 ++++++++++++++++---------------
 src/p2p.cpp         |    3 +++
 src/rep.cpp         |    2 ++
 3 files changed, 21 insertions(+), 15 deletions(-)

commit b15f695976d21300beabc3e0ecef87c1a0b4dc4c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Sep 21 17:20:13 2009 +0200

    different fixes to req/rep

 src/dispatcher.cpp  |    8 ++++----
 src/fd_signaler.cpp |   22 +++++++++++-----------
 src/options.cpp     |    4 +++-
 src/options.hpp     |    5 +++++
 src/p2p.cpp         |   14 +++-----------
 src/p2p.hpp         |    2 --
 src/pub.cpp         |   14 +++-----------
 src/pub.hpp         |    2 --
 src/rep.cpp         |   14 +++-----------
 src/rep.hpp         |    2 --
 src/req.cpp         |   14 +++-----------
 src/req.hpp         |    2 --
 src/session.cpp     |   36 ++++++++++++++++++++++++------------
 src/socket_base.cpp |   40 +++++++++++++---------------------------
 src/socket_base.hpp |   13 ++++---------
 src/sub.cpp         |   14 +++-----------
 src/sub.hpp         |    2 --
 17 files changed, 79 insertions(+), 129 deletions(-)

commit cb1b6fe32cbf3c7cf5961bb4156f2de743693a3a
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Sep 21 14:39:59 2009 +0200

    initial version of req/rep sockets

 src/Makefile.am     |    8 +
 src/app_thread.cpp  |   20 ++-
 src/app_thread.hpp  |    3 +-
 src/i_endpoint.hpp  |    7 +-
 src/options.cpp     |   80 +++++++++
 src/options.hpp     |    3 +
 src/p2p.cpp         |   92 +++++++++++
 src/p2p.hpp         |   56 +++++++
 src/pipe.cpp        |   28 +---
 src/pipe.hpp        |   19 +--
 src/pub.cpp         |  129 ++++++++++++++-
 src/pub.hpp         |   24 ++-
 src/rep.cpp         |  204 +++++++++++++++++++++++
 src/rep.hpp         |   79 +++++++++
 src/req.cpp         |  206 +++++++++++++++++++++++
 src/req.hpp         |   84 ++++++++++
 src/session.cpp     |   49 +++---
 src/session.hpp     |    6 +-
 src/socket_base.cpp |  460 ++++++++++++++-------------------------------------
 src/socket_base.hpp |   77 ++++-----
 src/sub.cpp         |   88 +++++++++-
 src/sub.hpp         |   38 ++++-
 src/yarray.hpp      |  110 ++++++++++++
 src/yarray_item.hpp |   62 +++++++
 24 files changed, 1460 insertions(+), 472 deletions(-)

commit 7668b246fc3cf4a2a3b3ee9b1283ad8a4b12ac4f
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Sep 20 12:03:14 2009 +0200

    ZMQ_POLL option forces fd_signaler to be used in app_thread

 src/app_thread.cpp  |   18 +++++++++++++++---
 src/app_thread.hpp  |    5 ++---
 src/fd_signaler.cpp |   39 ++++++++++++++++++++++++---------------
 src/fd_signaler.hpp |    3 ---
 src/i_signaler.hpp  |    4 ++--
 src/ypollset.cpp    |    4 ++++
 src/ypollset.hpp    |    2 +-
 7 files changed, 48 insertions(+), 27 deletions(-)

commit 495a2228cd08a29946f9e9ce2e0721e789203e35
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Sun Sep 20 10:58:00 2009 +0200

    MSVC warnings removed

 src/fd_signaler.cpp |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

commit f99b8fc921bc0e6aa55276d8c55e43c9d7f4375a
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Sep 20 10:47:27 2009 +0200

    receiving side of signaler virtualised

 src/app_thread.cpp  |    4 ++--
 src/fd_signaler.cpp |   55 +++++++++++++++++++++++++++++++++++++++------------
 src/fd_signaler.hpp |   12 +++--------
 src/i_signaler.hpp  |   11 +++++++++++
 src/io_thread.cpp   |    4 ++--
 src/ypollset.cpp    |    8 ++++----
 src/ypollset.hpp    |   18 ++++++-----------
 7 files changed, 70 insertions(+), 42 deletions(-)

commit 50a8b9ea0c4a819073b46449dee8fc839b837ae5
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Sep 20 10:14:21 2009 +0200

    'flags' parameter added to zmq_init

 bindings/c/zmq.h                   |    6 +++++-
 bindings/cpp/zmq.hpp               |    4 ++--
 bindings/java/Context.cpp          |    4 ++--
 bindings/java/org/zmq/Context.java |    8 +++++---
 bindings/python/pyzmq.cpp          |   13 ++++++++-----
 bindings/ruby/rbzmq.cpp            |   11 +++++++----
 perf/c/local_lat.c                 |    2 +-
 perf/c/local_thr.c                 |    2 +-
 perf/c/remote_lat.c                |    2 +-
 perf/c/remote_thr.c                |    2 +-
 perf/java/local_lat.java           |    2 +-
 perf/java/local_thr.java           |    2 +-
 perf/java/remote_lat.java          |    2 +-
 perf/java/remote_thr.java          |    2 +-
 perf/ruby/local_lat.rb             |    2 +-
 perf/ruby/local_thr.rb             |    2 +-
 perf/ruby/remote_lat.rb            |    2 +-
 perf/ruby/remote_thr.rb            |    2 +-
 src/app_thread.cpp                 |    3 ++-
 src/app_thread.hpp                 |    3 ++-
 src/dispatcher.cpp                 |    8 +++++---
 src/dispatcher.hpp                 |    2 +-
 src/fd_signaler.cpp                |    6 ++++++
 src/io_thread.cpp                  |    3 ++-
 src/io_thread.hpp                  |    3 ++-
 src/zmq.cpp                        |    8 ++++----
 26 files changed, 65 insertions(+), 41 deletions(-)

commit edecf75b611cf0e6b1c2658846cff013434edad4
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Sep 17 12:29:32 2009 +0200

    python binding checks ctx argument type

 bindings/python/pyzmq.cpp |   22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

commit 8cdf75327d847c464415ab32554d155febcf7c5e
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Sep 17 11:44:39 2009 +0200

    ChangeLog updated

 ChangeLog |  336 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 175 insertions(+), 161 deletions(-)

commit dffbdbb60c5d5caf01d13063a3d1babab0411338
Author: malosek <malosek@fastmq.com>
Date:   Thu Sep 17 11:31:28 2009 +0200

    fixed compiler warning cast from uint64 to bool in socket_base.cpp

 src/socket_base.cpp |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

commit 1bd6d5e0f6a6013b2d43abb2a82f0027a92fcc96
Author: malosek <malosek@fastmq.com>
Date:   Thu Sep 17 11:26:39 2009 +0200

    fixed missing xmlParser in dist package

 Makefile.am |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 2be152967c90834bf02ab84e39980281d3f05002
Author: malosek <malosek@fastmq.com>
Date:   Thu Sep 17 10:49:02 2009 +0200

    java binding Makefile.am cleanup

 bindings/java/Makefile.am |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit cff6eb43766ddbbc894237c1ffffc824ca3c79b6
Author: malosek <malosek@fastmq.com>
Date:   Thu Sep 17 10:29:02 2009 +0200

    msvc directory moved into builds dir

 bindings/java/Socket.cpp                         |    2 +-
 builds/msvc/c_local_lat/c_local_lat.vcproj       |  176 +++++++
 builds/msvc/c_local_thr/c_local_thr.vcproj       |  176 +++++++
 builds/msvc/c_remote_lat/c_remote_lat.vcproj     |  176 +++++++
 builds/msvc/c_remote_thr/c_remote_thr.vcproj     |  176 +++++++
 builds/msvc/cpp_local_lat/cpp_local_lat.vcproj   |  176 +++++++
 builds/msvc/cpp_local_thr/cpp_local_thr.vcproj   |  176 +++++++
 builds/msvc/cpp_remote_lat/cpp_remote_lat.vcproj |  176 +++++++
 builds/msvc/cpp_remote_thr/cpp_remote_thr.vcproj |  176 +++++++
 builds/msvc/j_local_lat/j_local_lat.vcproj       |   78 +++
 builds/msvc/j_local_thr/j_local_thr.vcproj       |   78 +++
 builds/msvc/j_remote_lat/j_remote_lat.vcproj     |   78 +++
 builds/msvc/j_remote_thr/j_remote_thr.vcproj     |   78 +++
 builds/msvc/java/java.vcproj                     |  244 ++++++++++
 builds/msvc/libzmq/libzmq.vcproj                 |  562 ++++++++++++++++++++++
 builds/msvc/msvc.sln                             |  154 ++++++
 builds/msvc/platform.hpp                         |   59 +++
 builds/msvc/python/python.vcproj                 |  176 +++++++
 builds/msvc/zmq_forwarder/zmq_forwarder.vcproj   |  174 +++++++
 msvc/c_local_lat/c_local_lat.vcproj              |  176 -------
 msvc/c_local_thr/c_local_thr.vcproj              |  176 -------
 msvc/c_remote_lat/c_remote_lat.vcproj            |  176 -------
 msvc/c_remote_thr/c_remote_thr.vcproj            |  176 -------
 msvc/cpp_local_lat/cpp_local_lat.vcproj          |  176 -------
 msvc/cpp_local_thr/cpp_local_thr.vcproj          |  176 -------
 msvc/cpp_remote_lat/cpp_remote_lat.vcproj        |  176 -------
 msvc/cpp_remote_thr/cpp_remote_thr.vcproj        |  176 -------
 msvc/j_local_lat/j_local_lat.vcproj              |   78 ---
 msvc/j_local_thr/j_local_thr.vcproj              |   78 ---
 msvc/j_remote_lat/j_remote_lat.vcproj            |   78 ---
 msvc/j_remote_thr/j_remote_thr.vcproj            |   78 ---
 msvc/java/java.vcproj                            |  244 ----------
 msvc/libzmq/libzmq.vcproj                        |  538 ---------------------
 msvc/msvc.sln                                    |  154 ------
 msvc/platform.hpp                                |   59 ---
 msvc/python/python.vcproj                        |  176 -------
 msvc/zmq_forwarder/zmq_forwarder.vcproj          |  174 -------
 37 files changed, 3090 insertions(+), 3066 deletions(-)

commit 3ebe9932f9c208966f8cb97d631d26df0367c151
Merge: 1a65504 d16b3bc
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 17:07:15 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 1a655045951c29edda0b616640b9dac507cda164
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 17:06:59 2009 +0200

    ruby directory moved into bindings dir

 Makefile.am               |    9 +-
 bindings/Makefile.am      |    8 +-
 bindings/ruby/Makefile.am |   11 ++
 bindings/ruby/extconf.rb  |   24 ++++
 bindings/ruby/rbzmq.cpp   |  277 +++++++++++++++++++++++++++++++++++++++++++++
 configure.in              |    2 +-
 ruby/Makefile.am          |   11 --
 ruby/extconf.rb           |   24 ----
 ruby/rbzmq.cpp            |  277 ---------------------------------------------
 9 files changed, 322 insertions(+), 321 deletions(-)

commit c63387ca3657848c0eaa8014a863148c1e6525ff
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 17:00:32 2009 +0200

    python directory moved into bindings dir

 Makefile.am                 |    8 +-
 bindings/Makefile.am        |   11 +
 bindings/python/Makefile.am |    7 +
 bindings/python/pyzmq.cpp   |  528 +++++++++++++++++++++++++++++++++++++++++++
 bindings/python/setup.py.in |   14 ++
 configure.in                |    3 +-
 python/Makefile.am          |    7 -
 python/pyzmq.cpp            |  528 -------------------------------------------
 python/setup.py.in          |   14 --
 9 files changed, 564 insertions(+), 556 deletions(-)

commit 1b2a426656134b85ff4c75cb0cccbc53f2b83447
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 16:49:09 2009 +0200

    c and cpp directories moved into bindings directory

 bindings/c/zmq.h                        |  216 +++++++++++++++++++++++
 bindings/cpp/zmq.hpp                    |  283 +++++++++++++++++++++++++++++++
 bindings/java/Makefile.am               |    2 +-
 c/zmq.h                                 |  216 -----------------------
 cpp/zmq.hpp                             |  283 -------------------------------
 devices/zmq_forwarder/Makefile.am       |    2 +-
 devices/zmq_forwarder/zmq_forwarder.cpp |    2 +-
 perf/c/Makefile.am                      |    2 +-
 perf/cpp/Makefile.am                    |    2 +-
 perf/java/Makefile.am                   |    2 +-
 src/Makefile.am                         |    4 +-
 src/app_thread.cpp                      |    2 +-
 src/dispatcher.cpp                      |    2 +-
 src/i_inout.hpp                         |    2 +-
 src/io_thread.cpp                       |    2 +-
 src/msg_content.hpp                     |    2 +-
 src/pipe.cpp                            |    2 +-
 src/pipe.hpp                            |    2 +-
 src/pub.cpp                             |    2 +-
 src/socket_base.cpp                     |    2 +-
 src/sub.cpp                             |    2 +-
 src/zmq.cpp                             |    2 +-
 src/zmq_decoder.hpp                     |    2 +-
 src/zmq_encoder.hpp                     |    2 +-
 24 files changed, 520 insertions(+), 520 deletions(-)

commit 6bfb9e6aaf0adad441d693a679c30ef30aeb5c14
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 16:22:23 2009 +0200

    java directory moved into bindings directory II

 Makefile.am               |    8 ++------
 bindings/java/Makefile.am |    2 +-
 configure.in              |    4 ++--
 3 files changed, 5 insertions(+), 9 deletions(-)

commit 3de435a07d460e7eb2423a75e71a409b0f1143e2
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 16:22:00 2009 +0200

    java directory moved into bindings directory

 bindings/java/Context.cpp          |   96 +++++++++++++
 bindings/java/Makefile.am          |   58 ++++++++
 bindings/java/Socket.cpp           |  272 ++++++++++++++++++++++++++++++++++++
 bindings/java/org/zmq/Context.java |   50 +++++++
 bindings/java/org/zmq/Socket.java  |  112 +++++++++++++++
 java/Context.cpp                   |   96 -------------
 java/Makefile.am                   |   58 --------
 java/Socket.cpp                    |  272 ------------------------------------
 java/org/zmq/Context.java          |   50 -------
 java/org/zmq/Socket.java           |  112 ---------------
 10 files changed, 588 insertions(+), 588 deletions(-)

commit d16b3bc0c93452a4be7d06525793ac5190e38031
Merge: 35c58dc 10dd8c5
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 16 15:52:39 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 35c58dc7331e3c5033b16829dff40437efe97a81
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 16 15:37:20 2009 +0200

    ZMQII-1: fix for devpoll, kqueue & poll

 src/devpoll.cpp |    3 ++-
 src/kqueue.cpp  |    3 ++-
 src/poll.cpp    |    4 ++--
 3 files changed, 6 insertions(+), 4 deletions(-)

commit 10dd8c53460a28849aacf7d2e24b63d7fae11ae0
Merge: 03d494d fc7715b
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 15:36:56 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 03d494d4f074a8707274e6d5fd21ac6dca917344
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 15:36:38 2009 +0200

    added udp:// transport prefix for PGM UDP encapsulation

 src/pgm_receiver.cpp |    4 ++--
 src/pgm_receiver.hpp |    2 +-
 src/pgm_sender.cpp   |   10 ++++------
 src/pgm_sender.hpp   |    2 +-
 src/pgm_socket.cpp   |   33 +++++++--------------------------
 src/pgm_socket.hpp   |    2 +-
 src/socket_base.cpp  |   13 +++++++++----
 7 files changed, 25 insertions(+), 41 deletions(-)

commit fc7715b4636be7a0d49f27234359ddfddce23f5b
Merge: f1c72d6 c6665f4
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Wed Sep 16 15:27:39 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit f1c72d693e3bd252866a1f78e575493573eb57fe
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Wed Sep 16 15:26:49 2009 +0200

    ZMQII-4: Failure in dev/poll poller

 src/zmq_connecter.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit c6665f46be7eb701866441087c35cdb1a08fc641
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 14:57:22 2009 +0200

    set rc to 0 in its declaration (pyzmq.cpp)

 python/pyzmq.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3b2c3cae095abf9b61cd72cf19f053071a8c614a
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 14:55:11 2009 +0200

    setsockopt cleanup in rbzmq

 perf/ruby/local_thr.rb |    2 +-
 ruby/rbzmq.cpp         |  106 +++++++++++++++++++-----------------------------
 2 files changed, 43 insertions(+), 65 deletions(-)

commit 3534732c0614a764731fbea2431247068fa63330
Merge: 17800ac a71d002
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 14:26:04 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 17800ac85e667d18124d0e90f9387d6c90887570
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 14:25:49 2009 +0200

    setsockopt cleanup in pyzmq.cpp

 python/pyzmq.cpp |   31 +++++++++++++++++++++++--------
 1 file changed, 23 insertions(+), 8 deletions(-)

commit a71d00288008b7ed1dc91b6ad3d5fdf25a5e683e
Merge: 4631fde 7a5db60
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 16 14:03:42 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 4631fde7e385ea31e85f41290614afb9bda391c9
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 16 14:02:43 2009 +0200

    ZMQII-8: Failure during orphan pipe deallocation

 src/dispatcher.cpp         |    4 ++--
 src/session.cpp            |    6 +++++-
 src/zmq_connecter_init.cpp |    6 +++++-
 3 files changed, 12 insertions(+), 4 deletions(-)

commit 7a5db6041f4f11ed502fa7446da900509dedb00f
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 12:22:36 2009 +0200

    added newly added socket options to all language bindings, P2P model changed to PUB/SUB for throughput tests

 c/zmq.h                   |    2 +-
 java/Socket.cpp           |    1 +
 java/org/zmq/Socket.java  |    1 +
 perf/c/local_thr.c        |    8 +++++-
 perf/c/remote_thr.c       |    5 +++-
 perf/cpp/local_thr.cpp    |    8 +++++-
 perf/cpp/remote_thr.cpp   |    6 +++-
 perf/java/local_thr.java  |   68 ++++++++++++++++++++++++---------------------
 perf/java/remote_thr.java |   60 ++++++++++++++++++++-------------------
 perf/python/local_thr.py  |    8 +++++-
 perf/python/remote_thr.py |    6 +++-
 perf/ruby/local_thr.rb    |    7 ++++-
 perf/ruby/remote_thr.rb   |    6 +++-
 python/pyzmq.cpp          |   18 +++++++++++-
 ruby/rbzmq.cpp            |    5 ++++
 src/socket_base.cpp       |   11 ++++++--
 16 files changed, 149 insertions(+), 71 deletions(-)

commit 9c522dccaf0b2c8074bd96fbfb4c968f45748ba4
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 16 11:02:18 2009 +0200

    reconnect added to zmq_connecter

 perf/c/remote_lat.c        |   10 ++++++----
 perf/cpp/remote_lat.cpp    |    5 ++++-
 src/session.cpp            |    9 ++++++---
 src/session.hpp            |    5 ++++-
 src/socket_base.cpp        |    4 ++--
 src/zmq_connecter.cpp      |   22 +++++++++++++++++-----
 src/zmq_connecter.hpp      |    5 ++++-
 src/zmq_connecter_init.cpp |   22 ++++++++++++++++++++--
 src/zmq_engine.cpp         |    1 +
 src/zmq_engine.hpp         |    1 +
 src/zmq_listener_init.cpp  |    2 +-
 11 files changed, 66 insertions(+), 20 deletions(-)

commit 6e03cb2f3eb083e1de8e7161d3ab21b52c87eece
Merge: bce2e60 9fbdcc7
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 16 10:56:55 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 9fbdcc7940823634d82f51d2b124ccfbca6e9b17
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 10:35:23 2009 +0200

    removed reset method from zmq_decoder_t

 src/pgm_receiver.cpp |   25 +++++++++++++++----------
 src/pgm_receiver.hpp |    2 +-
 src/zmq_decoder.cpp  |   10 ----------
 src/zmq_decoder.hpp  |    2 --
 4 files changed, 16 insertions(+), 23 deletions(-)

commit 969522bbf55467b6f6e8113be28451d087060843
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 16 10:11:01 2009 +0200

    added OpenPGM receiver - ZMQ_SUB

 c/zmq.h              |    1 +
 src/Makefile.am      |    2 +
 src/options.cpp      |    3 +-
 src/options.hpp      |    7 +-
 src/pgm_receiver.cpp |  202 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/pgm_receiver.hpp |   98 ++++++++++++++++++++++++
 src/pgm_sender.cpp   |    7 +-
 src/pgm_sender.hpp   |    2 +-
 src/pgm_socket.cpp   |   17 +++--
 src/socket_base.cpp  |   75 +++++++++++++++++--
 src/sub.cpp          |    6 ++
 11 files changed, 395 insertions(+), 25 deletions(-)

commit bce2e60bbb3b7f799a532d9b8f2e171c570b9fea
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 16 09:50:39 2009 +0200

    more errors from send & recv handled decently on windows

 src/tcp_socket.cpp |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

commit 0381a78c0484012e760d61051f325c71136df17e
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 15 13:47:15 2009 +0200

    added reset method into zmq_decoder_t class

 src/zmq_decoder.cpp |   10 ++++++++++
 src/zmq_decoder.hpp |    2 ++
 2 files changed, 12 insertions(+)

commit 79d4a6debf2f4a6970c1137f15426ba0c3535ac0
Merge: 7653f34 98b8e9b
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 15 12:01:07 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 7653f34df0aae4689d0ccc563a2f111f4793e539
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 15 12:00:48 2009 +0200

    fixed pub_t class creating ZMQ_SUB socket_base_t

 src/pub.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 98b8e9b54dd8c67006422106b478a3a6eab07869
Merge: a841774 3a3bcd3
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Tue Sep 15 10:06:42 2009 +0200

    Merge branch 'master' of github.com:sustrik/zeromq2

commit a841774cbd6363e6ddccc7a56e9a97d1c1481a76
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Tue Sep 15 10:04:43 2009 +0200

    forwarder renamed to zmq_forwarder (MSVC build)

 msvc/forwarder/forwarder.vcproj         |  174 -------------------------------
 msvc/msvc.sln                           |   10 +-
 msvc/zmq_forwarder/zmq_forwarder.vcproj |  174 +++++++++++++++++++++++++++++++
 3 files changed, 179 insertions(+), 179 deletions(-)

commit 3a3bcd337fb8000aef6c8f5ca3dd1b10475d7ab0
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 15 09:57:11 2009 +0200

    pgm_sender code beautiication

 src/pgm_sender.hpp |   11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

commit f44b215a60f50e8730a50522d7b9f2d5b4381d19
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 15 09:47:25 2009 +0200

    added out_event call into pgm_sender_t revive

 src/pgm_sender.cpp |   23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)

commit 712c7bd8954a801526e87e652840f7087f9af706
Merge: 3642813 35e82b4
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 15 09:46:08 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 35e82b460549e227f6c3409be32d2c657955628c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Tue Sep 15 09:45:32 2009 +0200

    forwarder renamed to zmq_forwarder

 configure.in                            |    2 +-
 devices/Makefile.am                     |    4 +-
 devices/forwarder/Makefile.am           |    9 ---
 devices/forwarder/forwarder.cpp         |  122 -------------------------------
 devices/zmq_forwarder/Makefile.am       |    9 +++
 devices/zmq_forwarder/zmq_forwarder.cpp |  122 +++++++++++++++++++++++++++++++
 6 files changed, 134 insertions(+), 134 deletions(-)

commit 364281343ce0fd03b25bc6b1b451ee7ba8db436b
Merge: bdf22e9 f7ad4a2
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 15 09:44:44 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit bdf22e9c2fe82366283f4edc02fd59c37fdb2c4b
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 15 09:43:42 2009 +0200

    deleted useles iostream include from socket_base.cpp

 src/socket_base.cpp |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

commit f7ad4a203ad184d97002111f4ffb8bfe6a8f7c01
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Mon Sep 14 17:04:57 2009 +0200

    forwarder device compilable on windows

 foreign/xmlParser/xmlParser.cpp |   12 ++-
 msvc/forwarder/forwarder.vcproj |  174 +++++++++++++++++++++++++++++++++++++++
 msvc/msvc.sln                   |    9 ++
 python/pyzmq.cpp                |    3 -
 ruby/rbzmq.cpp                  |    3 +-
 5 files changed, 196 insertions(+), 5 deletions(-)

commit 6cfd175e31eec44d215bbc237f2f1d94bfeac06d
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Sep 14 16:45:53 2009 +0200

    forwarder device added

 Makefile.am                     |    4 +-
 configure.in                    |   39 +++++++++----
 devices/Makefile.am             |    6 ++
 devices/forwarder/Makefile.am   |    9 +++
 devices/forwarder/forwarder.cpp |  122 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 168 insertions(+), 12 deletions(-)

commit e2900ce0a1b11ec212aeaf42bbefb26a54697c25
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Sep 14 14:30:15 2009 +0200

    xmlParser added

 foreign/xmlParser/xmlParser.cpp | 2888 +++++++++++++++++++++++++++++++++++++++
 foreign/xmlParser/xmlParser.hpp |  762 +++++++++++
 2 files changed, 3650 insertions(+)

commit 2bc9419ced21151fe90c530758dc85b7024fdb70
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Sep 14 13:54:30 2009 +0200

    ZMQII-10: Make connections interrupted during the init phase be closed silently

 src/zmq_decoder.cpp       |   13 +++++++++++--
 src/zmq_listener_init.cpp |    7 +++++--
 2 files changed, 16 insertions(+), 4 deletions(-)

commit 37cacc5700eaaaddbe2df6e3affeca4a335b023a
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Mon Sep 14 12:28:13 2009 +0200

    ZMQII-1: Win32 - failure on shutdown

 java/Socket.cpp           |    2 ++
 msvc/libzmq/libzmq.vcproj |    4 ++++
 src/select.cpp            |    4 ++--
 src/socket_base.cpp       |    2 +-
 4 files changed, 9 insertions(+), 3 deletions(-)

commit c806aabb2d3e6b1ba9e3f61319f23d45c7f9a007
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Sep 14 11:25:57 2009 +0200

    java binding sets socket options using setsockopt function

 c/zmq.h                  |   19 ++++----
 java/Socket.cpp          |  114 +++++++++++++++++++---------------------------
 java/org/zmq/Socket.java |   58 ++++++-----------------
 src/options.cpp          |    5 +-
 src/options.hpp          |    1 -
 src/socket_base.cpp      |   16 ++-----
 6 files changed, 77 insertions(+), 136 deletions(-)

commit 36707529a7d82b164b59d42fe0d5d8a35c3dd279
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Sep 14 09:40:35 2009 +0200

    minor merge problem corrected

 src/pub.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 89b1f2782ca6a1db9c68b7d642b5a41cc4d56414
Merge: 47350ad 1a4d6f9
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 11 18:18:25 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 47350adcb6ea48512d732bc323eb1835a5ac9908
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 11 18:16:47 2009 +0200

    separate class for PUB-style socket added

 c/zmq.h            |    6 +++---
 src/Makefile.am    |    2 ++
 src/app_thread.cpp |    5 ++++-
 src/pub.cpp        |   39 +++++++++++++++++++++++++++++++++++++++
 src/pub.hpp        |   41 +++++++++++++++++++++++++++++++++++++++++
 src/sub.cpp        |   12 ++++++++++++
 src/sub.hpp        |    2 ++
 7 files changed, 103 insertions(+), 4 deletions(-)

commit 1a4d6f91194c52795808baa07dcd61a20ff599be
Author: malosek <malosek@fastmq.com>
Date:   Fri Sep 11 17:58:37 2009 +0200

    added OpenPGM sender - ZMQ_PUB

 Makefile.am         |    4 +-
 c/zmq.h             |    2 +
 src/Makefile.am     |    6 +-
 src/app_thread.cpp  |    2 +-
 src/config.hpp      |    4 +-
 src/options.cpp     |    4 +-
 src/options.hpp     |    6 +
 src/pgm_sender.cpp  |  224 +++++++++++++++
 src/pgm_sender.hpp  |  109 ++++++++
 src/pgm_socket.cpp  |  754 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/pgm_socket.hpp  |  153 +++++++++++
 src/socket_base.cpp |  105 ++++++-
 src/socket_base.hpp |    5 +-
 src/sub.cpp         |    2 +-
 14 files changed, 1360 insertions(+), 20 deletions(-)

commit e940878b3f8ff332df534c4df463cfdf085cc787
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Fri Sep 11 16:59:47 2009 +0200

    build on win32 fixed

 msvc/libzmq/libzmq.vcproj |    8 ++++++++
 src/socket_base.cpp       |    2 +-
 src/tcp_connecter.cpp     |    2 +-
 3 files changed, 10 insertions(+), 2 deletions(-)

commit 7be7962f9802b48e66663416097eb76edfa83e1e
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 11 16:23:16 2009 +0200

    prefix-style message filtering added

 src/sub.cpp |   61 +++++++++++++++++++++++++++++++++++++++++++++--------------
 src/sub.hpp |   10 ++++++++--
 2 files changed, 55 insertions(+), 16 deletions(-)

commit 42ad2aa02d3b14eaa3c36c3f1a5a5789546ba411
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 11 15:51:35 2009 +0200

    ZMQII-7: Pipe detach fails on shutdown

 src/socket_base.cpp |    1 +
 1 file changed, 1 insertion(+)

commit 29c5930d0b9a4a1df3b90819bdfbfff6a66fedd0
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 11 14:17:57 2009 +0200

    asserts for invalid indexes in pipe reader & writer added

 src/pipe.cpp |    2 ++
 1 file changed, 2 insertions(+)

commit e0d1294c4bae51a2bc83a09225e89dddc9b6dcf4
Merge: 5daa0de a91b449
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 11 13:20:57 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 5daa0dec0f473c84aab6b12cdc5541335e74f07f
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 11 13:20:24 2009 +0200

    ZMQII-5: Only one consumer in a process gets the message

 src/session.cpp            |   23 ++++++++++++++---------
 src/zmq_connecter_init.cpp |    4 +++-
 src/zmq_engine.cpp         |    2 ++
 src/zmq_listener_init.cpp  |    4 +++-
 4 files changed, 22 insertions(+), 11 deletions(-)

commit a91b44977201e4b3891c70da0472a332f60a39fc
Author: malosek <malosek@fastmq.com>
Date:   Fri Sep 11 11:21:40 2009 +0200

    Revert "link libzmq with glib when congifured --with-pgm"
    
    This reverts commit 88695aaee607e6f4db1f4fd052e2596653fb18b2.

 c/zmq.h                 |    2 --
 perf/cpp/remote_thr.cpp |   13 +--------
 src/Makefile.am         |    6 +---
 src/config.hpp          |    4 +--
 src/options.cpp         |    4 +--
 src/options.hpp         |    6 ----
 src/socket_base.cpp     |   74 ++++++++---------------------------------------
 7 files changed, 16 insertions(+), 93 deletions(-)

commit 88695aaee607e6f4db1f4fd052e2596653fb18b2
Author: malosek <malosek@fastmq.com>
Date:   Fri Sep 11 11:13:15 2009 +0200

    link libzmq with glib when congifured --with-pgm

 c/zmq.h                 |    2 ++
 perf/cpp/remote_thr.cpp |   13 ++++++++-
 src/Makefile.am         |    6 +++-
 src/config.hpp          |    4 ++-
 src/options.cpp         |    4 ++-
 src/options.hpp         |    6 ++++
 src/socket_base.cpp     |   74 +++++++++++++++++++++++++++++++++++++++--------
 7 files changed, 93 insertions(+), 16 deletions(-)

commit f824b8a067c60b32260c56020742d6428ed3bb98
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Sep 10 16:59:22 2009 +0200

    classify error from async connect as network related or 0MQ bugs

 src/tcp_connecter.cpp |   10 ++++++++++
 1 file changed, 10 insertions(+)

commit f674c9269e04546da22e45ef6fff9303441680ea
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Sep 10 16:32:06 2009 +0200

    ZMQII-2: SIGSEGV in zmq_connecter_init_t::read

 src/zmq_decoder.cpp |    2 +-
 src/zmq_encoder.cpp |    2 +-
 src/zmq_engine.cpp  |    2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)

commit 93e70ee583489034c9f3b92fb87b374707afd5d5
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Sep 10 15:20:54 2009 +0200

    throughput tests use P2P sockets consistently

 perf/cpp/remote_thr.cpp   |    2 +-
 perf/java/local_thr.java  |    2 +-
 perf/java/remote_thr.java |    2 +-
 perf/ruby/local_thr.rb    |    2 +-
 perf/ruby/remote_thr.rb   |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

commit 95944551be93665fe4dcadbe00168da553b7d82f
Merge: 5acef9f b3f32e2
Author: malosek <malosek@fastmq.com>
Date:   Thu Sep 10 12:04:26 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit b3f32e219ec15a582b6fd03b155e0861443690f6
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Sep 10 12:00:47 2009 +0200

    ZMQII-3: cheap and nasty implementation of message filtering

 c/zmq.h             |    2 ++
 src/Makefile.am     |    2 ++
 src/app_thread.cpp  |   18 +++++++++--
 src/socket_base.cpp |    5 ++++
 src/socket_base.hpp |    2 +-
 src/sub.cpp         |   82 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/sub.hpp         |   51 ++++++++++++++++++++++++++++++++
 7 files changed, 159 insertions(+), 3 deletions(-)

commit 5acef9fc96280df934176b02de724eb904e4bba3
Author: malosek <malosek@fastmq.com>
Date:   Thu Sep 10 11:21:05 2009 +0200

    added --with-pgm option, libpgm-1.2.14 build within 0mq build system

 Makefile.am                           |    3 +
 configure.in                          |  119 +++++++++++++++++++++++++++++++--
 foreign/openpgm/libpgm-1.2.14.tar.bz2 |  Bin 0 -> 280029 bytes
 src/Makefile.am                       |   64 +++++++++++++++++-
 src/platform.hpp.in                   |    3 +
 5 files changed, 183 insertions(+), 6 deletions(-)

commit d81d3412520c9fed36f39462840c7d35815f4a87
Merge: 1864832 4cc923b
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Wed Sep 9 12:14:04 2009 +0200

    Merge branch 'master' of github.com:sustrik/zeromq2

commit 1864832adaa173b7c85d4321b8ff8c396ce6b9af
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Wed Sep 9 12:13:19 2009 +0200

    building zmq.jar on win32 fixed

 msvc/java/java.vcproj |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 4cc923b0252a0f1f0ee52508b7a3108e8e3c0950
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 9 11:19:05 2009 +0200

    Stop configure, when could not link with libuuid

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 65b8b2d2c78867ee2671f995f5f7c805abd00df2
Merge: 305b81d d743d97
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Wed Sep 9 11:08:39 2009 +0200

    Merge branch 'master' of github.com:sustrik/zeromq2

commit 305b81dbdf63ab1b66733a330b2c64a980712b8b
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Wed Sep 9 11:07:48 2009 +0200

    higher precision time measurement in python perf tests

 perf/python/local_thr.py  |    8 ++++----
 perf/python/remote_lat.py |   11 ++++++-----
 2 files changed, 10 insertions(+), 9 deletions(-)

commit d743d97e365b1d430b6c63de2782392a5f8f5305
Author: malosek <malosek@fastmq.com>
Date:   Wed Sep 9 10:37:40 2009 +0200

    Updated AUTHORS, ChangeLog, README and added COPYING.LESSER files

 AUTHORS        |   38 ++++++++++
 COPYING.LESSER |  166 ++++++++++++++++++++++++++++++++++++++++
 ChangeLog      |  231 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 README         |    4 +
 4 files changed, 439 insertions(+)

commit 4d07d7cabe1a865812cf5d95a84557880e3c3096
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Wed Sep 9 10:08:46 2009 +0200

    fix of async connect on win32

 src/tcp_connecter.cpp |    4 +++-
 src/zmq_connecter.cpp |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

commit c99f39abc669084fd3a94675ee98e235448ad5a4
Merge: 37d8371 cb78991
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Wed Sep 9 09:07:11 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 37d8371967308ab1e541cf58b91e368b3e0b526c
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Wed Sep 9 09:03:30 2009 +0200

    async connect bug fixed

 src/zmq_connecter.cpp |   19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

commit cb78991f8e20fa35d99fa209be659c0aed59de47
Merge: 734a62c d3fb9f9
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 8 16:55:28 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 734a62c12d2e2fb009ccf97d7d188060a474cc17
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 8 16:55:03 2009 +0200

    Sparc solaris port

 configure.in       |    1 +
 src/devpoll.cpp    |    6 ++++--
 src/object.hpp     |    2 +-
 src/tcp_socket.cpp |    3 ++-
 src/zmq.cpp        |    3 ++-
 5 files changed, 10 insertions(+), 5 deletions(-)

commit d3fb9f90af73a46e02b7e8780a8db95a31360d56
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Tue Sep 8 16:16:01 2009 +0200

    missing java MSVC project added

 msvc/java/java.vcproj |  244 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 244 insertions(+)

commit dadfd243649fbde768a24c677fa952f90d00589d
Merge: ef34c94 844b590
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Tue Sep 8 15:11:19 2009 +0200

    Merge branch 'master' of github.com:sustrik/zeromq2

commit ef34c94c3a9cbda87b0a4512ec56415b023aff0b
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Tue Sep 8 15:10:10 2009 +0200

    win build for python

 msvc/msvc.sln             |    8 +++
 msvc/python/python.vcproj |  176 +++++++++++++++++++++++++++++++++++++++++++++
 python/pyzmq.cpp          |    9 +++
 3 files changed, 193 insertions(+)

commit 844b590b5e348d8513ed574f6548cc0be41574af
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 8 15:06:08 2009 +0200

    added libzmq.pc.in file

 configure.in     |    2 +-
 src/Makefile.am  |    2 ++
 src/libzmq.pc.in |   10 ++++++++++
 3 files changed, 13 insertions(+), 1 deletion(-)

commit b3fc14522574ccad233bee02ea135d8a93fb2441
Merge: 2a4a10c 3069b6b
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 8 14:54:52 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 2a4a10c8be92c5ce6314378fc4de163888075279
Author: malosek <malosek@fastmq.com>
Date:   Tue Sep 8 14:54:04 2009 +0200

    build system tuning

 Makefile.am             |    8 ++++++--
 configure.in            |   37 +++++++++++++++++++++++++++++++++----
 java/Makefile.am        |    6 +++---
 perf/Makefile.am        |   25 +++++++++++++++++++++++--
 perf/java/Makefile.am   |    5 +++++
 perf/python/Makefile.am |    6 +-----
 perf/ruby/Makefile.am   |    1 +
 python/pyzmq.cpp        |    2 +-
 ruby/rbzmq.cpp          |    3 ++-
 src/Makefile.am         |    2 +-
 10 files changed, 76 insertions(+), 19 deletions(-)

commit 3069b6bd54486346f7bfcce58d6a5e34d129965c
Author: Martin Sustrik <sustrik@fastmq.com>
Date:   Tue Sep 8 13:55:13 2009 +0200

    win port of java binding + java perf tests

 java/Context.cpp                      |    7 ++
 java/Message.cpp                      |  138 ---------------------------------
 java/Socket.cpp                       |    7 ++
 java/org/zmq/Socket.java              |    2 +-
 msvc/j_local_lat/j_local_lat.vcproj   |   78 +++++++++++++++++++
 msvc/j_local_thr/j_local_thr.vcproj   |   78 +++++++++++++++++++
 msvc/j_remote_lat/j_remote_lat.vcproj |   78 +++++++++++++++++++
 msvc/j_remote_thr/j_remote_thr.vcproj |   78 +++++++++++++++++++
 msvc/msvc.sln                         |   45 +++++++++++
 perf/c/local_thr.c                    |    3 +-
 10 files changed, 374 insertions(+), 140 deletions(-)

commit ec6822a477b89ac77afc90425bf36c4829dbef3d
Author: unknown <sustrik@.(none)>
Date:   Tue Sep 8 11:30:49 2009 +0200

    win port for c and cpp perf tests

 c/zmq.h                                   |    8 +-
 cpp/zmq.hpp                               |    7 ++
 msvc/c_local_lat/c_local_lat.vcproj       |  176 +++++++++++++++++++++++++++++
 msvc/c_local_thr/c_local_thr.vcproj       |  176 +++++++++++++++++++++++++++++
 msvc/c_remote_lat/c_remote_lat.vcproj     |  176 +++++++++++++++++++++++++++++
 msvc/c_remote_thr/c_remote_thr.vcproj     |  176 +++++++++++++++++++++++++++++
 msvc/cpp_local_lat/cpp_local_lat.vcproj   |  176 +++++++++++++++++++++++++++++
 msvc/cpp_local_thr/cpp_local_thr.vcproj   |  176 +++++++++++++++++++++++++++++
 msvc/cpp_remote_lat/cpp_remote_lat.vcproj |  176 +++++++++++++++++++++++++++++
 msvc/cpp_remote_thr/cpp_remote_thr.vcproj |  176 +++++++++++++++++++++++++++++
 msvc/libzmq/libzmq.vcproj                 |   10 +-
 msvc/msvc.sln                             |   72 ++++++++++++
 perf/c/local_lat.c                        |    3 +-
 perf/c/local_thr.c                        |   24 ++--
 perf/c/remote_lat.c                       |   19 +---
 perf/c/remote_thr.c                       |    3 +-
 perf/cpp/local_lat.cpp                    |    3 +-
 perf/cpp/local_thr.cpp                    |   20 +---
 perf/cpp/remote_lat.cpp                   |   16 +--
 perf/cpp/remote_thr.cpp                   |    3 +-
 src/fd_signaler.cpp                       |    2 +-
 src/tcp_connecter.cpp                     |   18 ++-
 src/tcp_listener.cpp                      |   89 ++++++++++++++-
 src/tcp_socket.cpp                        |    5 +
 src/zmq.cpp                               |   67 ++++++++++-
 25 files changed, 1702 insertions(+), 75 deletions(-)

commit b71c3005e68d02f800ff09bcacece79d167bff75
Author: malosek <malosek@fastmq.com>
Date:   Mon Sep 7 17:06:47 2009 +0200

    include directory split into c and cpp dirs, added --with-c and --with-cpp configure options

 Makefile.am          |    2 -
 autogen.sh           |    8 +-
 c/zmq.h              |  206 +++++++++++++++++++++++++++++++++++++
 configure.in         |   45 +++++---
 cpp/zmq.hpp          |  276 ++++++++++++++++++++++++++++++++++++++++++++++++++
 include/zmq.h        |  206 -------------------------------------
 include/zmq.hpp      |  276 --------------------------------------------------
 perf/c/Makefile.am   |    4 +-
 perf/cpp/Makefile.am |    4 +-
 src/Makefile.am      |   15 ++-
 src/app_thread.cpp   |    2 +-
 src/dispatcher.cpp   |    2 +-
 src/i_inout.hpp      |    2 +-
 src/io_thread.cpp    |    2 +-
 src/msg_content.hpp  |    2 +-
 src/pipe.cpp         |    2 +-
 src/pipe.hpp         |    2 +-
 src/socket_base.cpp  |    2 +-
 src/zmq.cpp          |    2 +-
 src/zmq_decoder.hpp  |    2 +-
 src/zmq_encoder.hpp  |    2 +-
 21 files changed, 547 insertions(+), 517 deletions(-)

commit f895426c1885729f4a4a20b1eb543a92915aed85
Author: unknown <sustrik@.(none)>
Date:   Mon Sep 7 15:41:43 2009 +0200

    initial changes for win port

 include/zmq.h             |    5 +-
 msvc/libzmq/libzmq.vcproj |  520 +++++++++++++++++++++++++++++++++++++++++++++
 msvc/msvc.sln             |   20 ++
 msvc/platform.hpp         |   59 +++++
 src/app_thread.cpp        |    2 +
 src/fd_signaler.cpp       |    1 +
 src/options.hpp           |    2 +
 src/pipe.cpp              |    4 +-
 src/tcp_connecter.cpp     |   75 ++++++-
 src/tcp_listener.cpp      |    1 -
 src/tcp_socket.cpp        |   74 ++++++-
 src/uuid.cpp              |   13 +-
 src/uuid.hpp              |   11 +-
 src/zmq_connecter.cpp     |    2 +-
 14 files changed, 764 insertions(+), 25 deletions(-)

commit 87ccbb9fae0f9234f82f9a9ec6a215f5e73209d3
Merge: 67253f3 d62c742
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Sep 7 11:10:58 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit d62c74232a4c1edd38004933afd0c7dc119bd98b
Merge: 11a6cb9 63b56d7
Author: Martin Sustrik <sustrik@jozsi.(none)>
Date:   Mon Sep 7 11:01:42 2009 +0200

    Merge branch 'master' of git://github.com/sustrik/zeromq2

commit 11a6cb925f7ff3d17f48edccc886839b4d49ef0b
Author: Martin Sustrik <sustrik@jozsi.(none)>
Date:   Mon Sep 7 11:00:20 2009 +0200

    Ruby binding functional

 perf/ruby/local_lat.rb  |   66 ++-----
 perf/ruby/local_thr.rb  |   90 +++-------
 perf/ruby/remote_lat.rb |   64 +++----
 perf/ruby/remote_thr.rb |   48 ++---
 ruby/Makefile.am        |    2 +-
 ruby/rbzmq.cpp          |  292 ++++++++++++++++++++++++++++++
 ruby/zmq.cpp            |  460 -----------------------------------------------
 7 files changed, 382 insertions(+), 640 deletions(-)

commit 67253f3186488db93dee23bd9194419f58f0b1d3
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Sep 5 09:30:12 2009 +0200

    Java perf tests added

 java/Context.cpp          |   15 ++---
 java/Makefile.am          |   22 ++-----
 java/Socket.cpp           |  140 +++++++++++++++++++++++----------------------
 java/org/zmq/Context.java |    3 +
 java/org/zmq/Message.java |   66 ---------------------
 java/org/zmq/Socket.java  |   42 +++++++-------
 perf/cpp/local_thr.cpp    |    2 +-
 perf/cpp/remote_lat.cpp   |    6 +-
 perf/java/local_lat.java  |   55 ++++++++++++++++++
 perf/java/local_thr.java  |   65 +++++++++++++++++++++
 perf/java/remote_lat.java |   60 +++++++++++++++++++
 perf/java/remote_thr.java |   53 +++++++++++++++++
 12 files changed, 343 insertions(+), 186 deletions(-)

commit 63b56d7fb38624c32111f9188d54b6fefb10a0e5
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 4 16:21:39 2009 +0200

    python perf tests are included into distribution package

 configure.in            |    3 ++-
 perf/Makefile.am        |    4 ++--
 perf/python/Makefile.am |    5 +++++
 3 files changed, 9 insertions(+), 3 deletions(-)

commit 4307baf7bcc71ca91da0175e79cdfbf6cc1ad770
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 4 16:02:41 2009 +0200

    python binding functional

 perf/c/local_lat.c        |   11 +++++++----
 perf/c/local_thr.c        |   10 ++++++----
 perf/c/remote_lat.c       |   11 +++++++----
 perf/c/remote_thr.c       |   11 +++++++----
 perf/cpp/local_lat.cpp    |    8 ++++----
 perf/cpp/local_thr.cpp    |    8 ++++----
 perf/cpp/remote_lat.cpp   |    8 ++++----
 perf/cpp/remote_thr.cpp   |    8 ++++----
 perf/python/local_lat.py  |    6 +++---
 perf/python/remote_lat.py |    4 ++--
 perf/python/remote_thr.py |    2 +-
 src/app_thread.cpp        |    4 +---
 src/dispatcher.cpp        |   36 +++++++++++++++++++++++++++++++++++-
 src/dispatcher.hpp        |   25 ++++++++++++++++++++++---
 src/object.cpp            |    5 +++++
 src/object.hpp            |    1 +
 src/session.cpp           |    7 ++++++-
 src/socket_base.cpp       |   12 +++++++++++-
 src/zmq.cpp               |    3 +--
 19 files changed, 131 insertions(+), 49 deletions(-)

commit 450b31c3b263ee6ceea27517a2a969d0c74bcd7e
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 4 11:08:13 2009 +0200

    bug in python binding fixed

 python/pyzmq.cpp |   25 ++++++++-----------------
 1 file changed, 8 insertions(+), 17 deletions(-)

commit 103cbee6a509e55ff5def82eb5ec3ef7feb319a3
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Sep 4 09:51:42 2009 +0200

    couple of bugs fixed

 src/Makefile.am            |    6 +++++-
 src/tcp_socket.cpp         |    2 +-
 src/zmq_connecter_init.cpp |    1 -
 src/zmq_engine.cpp         |    7 ++-----
 src/zmq_listener_init.cpp  |    3 ++-
 5 files changed, 10 insertions(+), 9 deletions(-)

commit 4914e5c9d192ac6763e5da6fa28ea503ee769bf0
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 2 16:16:25 2009 +0200

    O(1) socket removal

 src/app_thread.cpp  |   12 ++++++------
 src/socket_base.cpp |   14 +++++++++++++-
 src/socket_base.hpp |    7 +++++++
 3 files changed, 26 insertions(+), 7 deletions(-)

commit f92de9b2a9ad73fd7cd966e65b5a06b725e779fc
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 2 14:59:53 2009 +0200

    bug during terminal shutdown fixed

 perf/c/local_lat.c      |   13 +++++++++----
 perf/c/local_thr.c      |    5 ++++-
 perf/c/remote_lat.c     |   15 ++++++++++-----
 perf/c/remote_thr.c     |    3 +++
 perf/cpp/local_thr.cpp  |    2 +-
 perf/cpp/remote_lat.cpp |    2 +-
 src/session.cpp         |   18 +++++++++++++-----
 7 files changed, 41 insertions(+), 17 deletions(-)

commit 702fdbb5dd6a83e7f656e8d1190e695ebb636765
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 2 11:58:39 2009 +0200

    messages that may have been received in the init phase are flushed immediately after engine is plugged in

 src/zmq_engine.cpp |    3 +++
 1 file changed, 3 insertions(+)

commit 75a5a8732cd5be1bb3bff608e352bf4ac624ffd4
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 2 10:59:31 2009 +0200

    --disable-shared & C perf tests: a better way

 configure.in        |    1 +
 perf/c/Makefile.am  |    8 ++++----
 src/platform.hpp.in |    3 +++
 3 files changed, 8 insertions(+), 4 deletions(-)

commit 947b46319314dfab0e545282e9ccfc708d6f57e3
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 2 10:46:10 2009 +0200

    building C perf tests with --disable-shared fixed

 perf/c/Makefile.am |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 5e08a89d1c0edf44e15f262dd0f27a1c03bcd699
Merge: 6a5120b 1f06d99
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 2 10:23:01 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 6a5120b1f1c48d19b777f76ac756b00fb624d110
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Sep 2 10:22:23 2009 +0200

    python extension & perf tests

 include/zmq.h             |    6 +-
 perf/c/local_thr.c        |    6 +-
 perf/cpp/local_thr.cpp    |    5 +-
 perf/python/local_lat.py  |   42 +--
 perf/python/local_thr.py  |   44 +--
 perf/python/remote_lat.py |   43 +--
 perf/python/remote_thr.py |   17 +-
 python/pyzmq.cpp          |  924 ++++++++++++++++-----------------------------
 src/i_endpoint.hpp        |    2 +
 src/session.cpp           |   29 +-
 src/session.hpp           |   13 +-
 src/socket_base.cpp       |   30 +-
 src/socket_base.hpp       |    2 +
 13 files changed, 452 insertions(+), 711 deletions(-)

commit 1f06d99a0f563fdc32e9c00392f9875ba3009593
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Aug 31 13:11:46 2009 +0200

    Add Java binding

 Makefile.am               |    8 +-
 configure.in              |   54 ++++++++-
 java/Context.cpp          |   92 +++++++++++++++
 java/Makefile.am          |   72 ++++++++++++
 java/Message.cpp          |  138 +++++++++++++++++++++++
 java/Socket.cpp           |  276 +++++++++++++++++++++++++++++++++++++++++++++
 java/org/zmq/Context.java |   47 ++++++++
 java/org/zmq/Message.java |   66 +++++++++++
 java/org/zmq/Socket.java  |  141 +++++++++++++++++++++++
 9 files changed, 891 insertions(+), 3 deletions(-)

commit 0aacee389fdb553ef9925d0135eefcb501a67726
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Aug 31 11:31:32 2009 +0200

    POSIX threads don't use errno to report errors
    
    Fix simple_semaphore to follow POSIX threads convention for reporting
    errors.

 src/err.hpp              |    9 +++++----
 src/simple_semaphore.hpp |   12 ++++++------
 2 files changed, 11 insertions(+), 10 deletions(-)

commit 72fdf47d16c8d3ecd9da657b4649978e414d775c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Aug 31 12:50:53 2009 +0200

    python perf tests added

 perf/python/local_lat.py  |   67 ++++++++++++++++++++++++++++++++++++++++++++
 perf/python/local_thr.py  |   68 +++++++++++++++++++++++++++++++++++++++++++++
 perf/python/remote_lat.py |   59 +++++++++++++++++++++++++++++++++++++++
 perf/python/remote_thr.py |   50 +++++++++++++++++++++++++++++++++
 4 files changed, 244 insertions(+)

commit b6d345f4a6402cf2e831a8b9d113f036b394a0bc
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Aug 31 12:45:42 2009 +0200

    Ruby perf tests added

 perf/ruby/local_lat.rb  |   75 +++++++++++++++++++++++++++++++++++++++
 perf/ruby/local_thr.rb  |   90 +++++++++++++++++++++++++++++++++++++++++++++++
 perf/ruby/remote_lat.rb |   61 ++++++++++++++++++++++++++++++++
 perf/ruby/remote_thr.rb |   55 +++++++++++++++++++++++++++++
 4 files changed, 281 insertions(+)

commit 314deb61851a0ddc37228d24e9f4eb106461370a
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Aug 30 15:47:39 2009 +0200

    build system for perf/C and perf/C++

 Makefile.am             |    4 ++--
 configure.in            |    3 ++-
 include/zmq.h           |   24 ++++++++++++------------
 perf/Makefile.am        |    2 ++
 perf/c/Makefile.am      |   20 ++++++++++++++++++++
 perf/c/local_lat.c      |    2 +-
 perf/c/local_thr.c      |   19 ++++++++++---------
 perf/c/remote_lat.c     |    7 +++----
 perf/c/remote_thr.c     |    4 ++--
 perf/cpp/Makefile.am    |   20 ++++++++++++++++++++
 perf/cpp/local_lat.cpp  |    3 ++-
 perf/cpp/local_thr.cpp  |   10 ++++++----
 perf/cpp/remote_lat.cpp |    3 ++-
 perf/cpp/remote_thr.cpp |    3 ++-
 14 files changed, 86 insertions(+), 38 deletions(-)

commit 6c36673949b2256158e8914119d218dce311c585
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Aug 30 15:03:16 2009 +0200

    C perf tests added

 perf/c/local_lat.c  |   70 +++++++++++++++++++++++++++++++++++++++
 perf/c/local_thr.c  |   91 +++++++++++++++++++++++++++++++++++++++++++++++++++
 perf/c/remote_lat.c |   90 ++++++++++++++++++++++++++++++++++++++++++++++++++
 perf/c/remote_thr.c |   67 +++++++++++++++++++++++++++++++++++++
 4 files changed, 318 insertions(+)

commit 4617fd9e9c50a9fa3a8cbf3b25e6061e3a8f10c8
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Aug 30 09:14:15 2009 +0200

    c++ perf tests added

 .gitignore              |   12 +++++++-
 perf/cpp/local_lat.cpp  |   52 ++++++++++++++++++++++++++++++++++
 perf/cpp/local_thr.cpp  |   72 +++++++++++++++++++++++++++++++++++++++++++++++
 perf/cpp/remote_lat.cpp |   69 +++++++++++++++++++++++++++++++++++++++++++++
 perf/cpp/remote_thr.cpp |   50 ++++++++++++++++++++++++++++++++
 5 files changed, 254 insertions(+), 1 deletion(-)

commit 176879e5bbce6115ff5741f2426f689bda312109
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Aug 30 08:18:31 2009 +0200

    engine virtualised; chatroom example removed

 .gitignore                 |    5 +++
 Makefile.am                |    5 ++-
 configure.in               |    3 +-
 examples/Makefile.am       |    2 --
 examples/chat/Makefile.am  |   15 ---------
 examples/chat/chatroom.cpp |   74 --------------------------------------------
 examples/chat/display.cpp  |   55 --------------------------------
 examples/chat/prompt.cpp   |   61 ------------------------------------
 src/Makefile.am            |    1 +
 src/command.hpp            |    2 +-
 src/i_engine.hpp           |   43 +++++++++++++++++++++++++
 src/object.cpp             |    5 ++-
 src/object.hpp             |    4 +--
 src/owned.cpp              |    2 +-
 src/owned.hpp              |    2 +-
 src/session.cpp            |    4 +--
 src/session.hpp            |    4 +--
 src/zmq_engine.hpp         |    9 +++---
 18 files changed, 67 insertions(+), 229 deletions(-)

commit 1d650934e477be32db9a3c64de077deed0416689
Author: tamara <tamara@jozsi.(none)>
Date:   Sat Aug 29 11:31:32 2009 +0200

    Ruby bidning added

 Makefile.am         |    8 +-
 configure.in        |   57 ++++++-
 ruby/Makefile.am    |   11 ++
 ruby/extconf.rb     |   24 +++
 ruby/zmq.cpp        |  460 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/platform.hpp.in |    3 +
 6 files changed, 559 insertions(+), 4 deletions(-)

commit 3666a49022f84b3d1888f630a78f3f8f28aadde1
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Aug 29 10:32:21 2009 +0200

    bug in identifying current thread fixed

 src/app_thread.cpp |    8 +++++---
 src/app_thread.hpp |    9 ++++++---
 src/thread.cpp     |   20 ++++++++++++++++++++
 src/thread.hpp     |    9 +++++++++
 4 files changed, 40 insertions(+), 6 deletions(-)

commit 6996ef6f1a0a50a754608df9444e425d0900b143
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Aug 29 09:41:50 2009 +0200

    improved error handling

 include/zmq.hpp      |  127 +++++++++++++++++++++-----------------------------
 src/ip.cpp           |    3 +-
 src/tcp_listener.cpp |    9 ++--
 src/tcp_listener.hpp |    5 +-
 src/zmq_listener.cpp |    4 --
 5 files changed, 61 insertions(+), 87 deletions(-)

commit cb09c6951e2c4405318b422a1f9213af3e4b6b8a
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Aug 28 16:51:46 2009 +0200

    pipe deallocation added

 src/command.hpp     |   11 +++++++
 src/dispatcher.cpp  |   20 +++++++++++++
 src/dispatcher.hpp  |   18 ++++++++++++
 src/i_endpoint.hpp  |    2 ++
 src/object.cpp      |   44 ++++++++++++++++++++++++++++
 src/object.hpp      |    8 +++++
 src/pipe.cpp        |   81 +++++++++++++++++++++++++++++++++++++++++++++++++--
 src/pipe.hpp        |   30 ++++++++++++++++---
 src/session.cpp     |   18 ++++++++++++
 src/session.hpp     |    2 ++
 src/socket_base.cpp |   80 +++++++++++++++++++++++++++++++++++++-------------
 src/socket_base.hpp |   13 +++------
 12 files changed, 290 insertions(+), 37 deletions(-)

commit 2dd501651592baa7f9e49f52e1321ae2b9b4e126
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Aug 27 16:24:21 2009 +0200

    multiple bugs fixed

 src/i_inout.hpp            |    8 ++++++++
 src/pipe.hpp               |    3 ++-
 src/session.cpp            |   13 ++++++++++++-
 src/session.hpp            |    1 +
 src/zmq_connecter_init.cpp |    6 ++++++
 src/zmq_connecter_init.hpp |    1 +
 src/zmq_encoder.cpp        |    1 -
 src/zmq_engine.cpp         |    5 ++++-
 src/zmq_listener_init.cpp  |   33 ++++++++++++++++++++++-----------
 src/zmq_listener_init.hpp  |    5 +++++
 10 files changed, 61 insertions(+), 15 deletions(-)

commit 67194267f89d63391288600f127205a2b7a8a5ae
Merge: 99c5d92 67c69f9
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Aug 27 10:55:26 2009 +0200

    Merge branch 'master' of git@github.com:sustrik/zeromq2

commit 99c5d9283622a0b37ee80f83ff4875c059fc5990
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Aug 27 10:54:28 2009 +0200

    pipes added

 include/zmq.h             |    2 +-
 src/Makefile.am           |    2 +
 src/app_thread.cpp        |   26 +++---
 src/app_thread.hpp        |    4 +-
 src/command.hpp           |   11 ++-
 src/config.hpp            |    8 ++
 src/i_endpoint.hpp        |   33 +++++++
 src/object.cpp            |   30 +++++-
 src/object.hpp            |    9 +-
 src/pipe.cpp              |  112 ++++++++++++++++++++++
 src/pipe.hpp              |  102 ++++++++++++++++++++
 src/session.cpp           |   56 ++++++++++-
 src/session.hpp           |   24 ++++-
 src/socket_base.cpp       |  227 +++++++++++++++++++++++++++++++++++++++++++--
 src/socket_base.hpp       |   42 ++++++++-
 src/ypipe.hpp             |   22 ++---
 src/yqueue.hpp            |    2 +-
 src/zmq_encoder.cpp       |    4 +-
 src/zmq_engine.cpp        |    7 +-
 src/zmq_engine.hpp        |    4 +
 src/zmq_listener_init.cpp |    3 +-
 21 files changed, 680 insertions(+), 50 deletions(-)

commit 67c69f952c956fb151c654726b4fc67e122722ff
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Aug 26 15:50:37 2009 +0200

    make configure respect --with-python option

 configure.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit aacdb7a454686bfac93164d0e67e785658d48a3c
Author: tamara <tamara@jozsi.(none)>
Date:   Mon Aug 24 12:04:15 2009 +0200

    python build fix

 Makefile.am |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 77bc3790fa9e781ad26ec881175d22d807e16acf
Author: tamara <tamara@jozsi.(none)>
Date:   Mon Aug 24 11:17:16 2009 +0200

    python extension added

 Makefile.am        |    4 +-
 configure.in       |   59 +++-
 python/Makefile.am |    7 +
 python/pyzmq.cpp   |  756 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 python/setup.py.in |   14 +
 5 files changed, 837 insertions(+), 3 deletions(-)

commit 6be4b0143793ab5ceebc5d9d6bbe5c2f1333a0d2
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Fri Aug 21 14:29:22 2009 +0200

    session management implemented

 include/zmq.h              |   28 +++++------
 include/zmq.hpp            |   11 +++--
 src/Makefile.am            |   10 ++--
 src/i_inout.hpp            |    4 +-
 src/msg.hpp                |   49 -------------------
 src/msg_content.hpp        |   50 ++++++++++++++++++++
 src/object.cpp             |    5 +-
 src/object.hpp             |    4 ++
 src/owned.cpp              |   10 +++-
 src/owned.hpp              |    4 ++
 src/pipe.hpp               |    2 +-
 src/session.cpp            |   39 +++++++++++----
 src/session.hpp            |   15 ++++--
 src/socket_base.cpp        |   77 ++++++++++++++++++++----------
 src/socket_base.hpp        |   24 ++++++----
 src/zmq.cpp                |  111 +++++++++++++++++++++++--------------------
 src/zmq_connecter.cpp      |   11 +++--
 src/zmq_connecter.hpp      |   10 ++--
 src/zmq_connecter_init.cpp |   94 +++++++++++++++++++++++++++++++++++++
 src/zmq_connecter_init.hpp |   75 +++++++++++++++++++++++++++++
 src/zmq_decoder.hpp        |    2 +-
 src/zmq_encoder.hpp        |    2 +-
 src/zmq_init.cpp           |  112 --------------------------------------------
 src/zmq_init.hpp           |   82 --------------------------------
 src/zmq_listener.cpp       |    5 +-
 src/zmq_listener_init.cpp  |   96 +++++++++++++++++++++++++++++++++++++
 src/zmq_listener_init.hpp  |   71 ++++++++++++++++++++++++++++
 27 files changed, 621 insertions(+), 382 deletions(-)

commit a801b6d8b37557ccfb53030dca22f89a3f99b59c
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Aug 20 11:32:23 2009 +0200

    couple of bugs in shutdown mechanism fixed

 src/command.hpp       |   11 +++++++---
 src/object.cpp        |   43 ++++++++++++++++++++++++++++++++-------
 src/object.hpp        |   19 +++++++++++-------
 src/owned.cpp         |   53 ++++++++++++++++++++++++-------------------------
 src/owned.hpp         |   33 ++++++++++++++++++++----------
 src/session.cpp       |    5 ++++-
 src/session.hpp       |    2 +-
 src/socket_base.cpp   |   40 +++++++++++++++++++++++++++++++++++--
 src/socket_base.hpp   |   26 +++++++++++++++++++++---
 src/zmq_connecter.cpp |    4 ++--
 src/zmq_connecter.hpp |    2 +-
 src/zmq_engine.cpp    |    3 +--
 src/zmq_init.cpp      |    8 +++++---
 src/zmq_init.hpp      |    2 +-
 src/zmq_listener.cpp  |    4 ++--
 src/zmq_listener.hpp  |    2 +-
 16 files changed, 184 insertions(+), 73 deletions(-)

commit 131f2e309668d1e64cfcb4aeb869665d8018bcfe
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Aug 17 14:07:34 2009 +0200

    subscribe API removed

 examples/chat/display.cpp |    1 -
 include/zmq.h             |    3 ---
 include/zmq.hpp           |    6 ------
 src/socket_base.cpp       |    5 -----
 src/socket_base.hpp       |    1 -
 src/zmq.cpp               |    5 -----
 6 files changed, 21 deletions(-)

commit 059beca59d39d90a8ee0e1b07f840994962ea89e
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Aug 12 09:40:16 2009 +0200

    listener/connecter/init/session added

 include/zmq.h         |    2 +-
 src/Makefile.am       |   13 +++
 src/atomic.hpp        |  310 -------------------------------------------------
 src/i_inout.hpp       |   37 ++++++
 src/io_object.cpp     |   47 +-------
 src/io_object.hpp     |   50 +++-----
 src/options.cpp       |   29 +++++
 src/options.hpp       |   42 +++++++
 src/owned.cpp         |   74 ++++++++++++
 src/owned.hpp         |   82 +++++++++++++
 src/session.cpp       |   58 +++++++++
 src/session.hpp       |   57 +++++++++
 src/socket_base.cpp   |   29 ++---
 src/socket_base.hpp   |    8 +-
 src/zmq_connecter.cpp |   36 +++---
 src/zmq_connecter.hpp |   17 ++-
 src/zmq_decoder.cpp   |   78 +++++++++++++
 src/zmq_decoder.hpp   |   57 +++++++++
 src/zmq_encoder.cpp   |   76 ++++++++++++
 src/zmq_encoder.hpp   |   55 +++++++++
 src/zmq_engine.cpp    |  107 ++++++++++++++++-
 src/zmq_engine.hpp    |   33 +++++-
 src/zmq_init.cpp      |  110 ++++++++++++++++++
 src/zmq_init.hpp      |   82 +++++++++++++
 src/zmq_listener.cpp  |   25 ++--
 src/zmq_listener.hpp  |   11 +-
 26 files changed, 1070 insertions(+), 455 deletions(-)

commit bda766ab401b6c565fe9c2d0bc80c11bbbe84488
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Aug 9 16:30:22 2009 +0200

    redundant interface (i_api) removed

 src/Makefile.am       |    2 --
 src/app_thread.cpp    |    5 ++---
 src/app_thread.hpp    |    6 ++---
 src/dispatcher.cpp    |    3 +--
 src/dispatcher.hpp    |    2 +-
 src/i_api.hpp         |   43 -----------------------------------
 src/i_poll_events.hpp |   60 ++++++++++++++++++++++++-------------------------
 src/socket_base.hpp   |   21 +++++++++--------
 src/zmq.cpp           |   19 ++++++++--------
 9 files changed, 57 insertions(+), 104 deletions(-)

commit 9f1f823b7b69ced56bdb0416feef71230cc7fd55
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Aug 9 16:12:09 2009 +0200

    zmq_listener/zmq_connecter implemented

 src/Makefile.am       |    2 +
 src/io_object.cpp     |   13 +++---
 src/io_object.hpp     |   18 ++++----
 src/socket_base.cpp   |   12 +++++-
 src/tcp_connecter.cpp |   24 ++++++-----
 src/tcp_connecter.hpp |    9 +++-
 src/zmq_connecter.cpp |  110 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/zmq_connecter.hpp |   70 +++++++++++++++++++++++++++++++
 src/zmq_listener.cpp  |    9 ++--
 src/zmq_listener.hpp  |    5 +--
 10 files changed, 239 insertions(+), 33 deletions(-)

commit 3147ff8523d9736039c4582f5f62c323b23940d1
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Aug 9 11:57:21 2009 +0200

    getsockopt implemented

 include/zmq.h       |    1 +
 src/socket_base.cpp |   69 +++++++++++++++++++++++++++++++++++++++++++++++----
 src/socket_base.hpp |   10 ++++++++
 3 files changed, 75 insertions(+), 5 deletions(-)

commit bde396f1561fb5e57e6e413a40d904586e186d42
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Aug 9 11:21:47 2009 +0200

    fix to 3-thread synchronisation algorithm

 src/io_object.cpp    |   48 +++++++++++++++++++++++++++++++++++++++++++++++-
 src/io_object.hpp    |   21 ++++++++++++++++++++-
 src/socket_base.cpp  |    6 +++++-
 src/tcp_listener.cpp |   19 +++++++++++--------
 src/tcp_listener.hpp |   11 +++++++++--
 src/zmq_listener.cpp |   36 +++++++++++++++++++++++++++++++++++-
 src/zmq_listener.hpp |   15 +++++++++++++++
 7 files changed, 142 insertions(+), 14 deletions(-)

commit 5b5b513330e96e3e08d0c2c60d03044091976420
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sun Aug 9 09:24:48 2009 +0200

    socket options interface modeled as in BSD sockets

 include/zmq.h        |   28 ++++++++++++++--------------
 include/zmq.hpp      |   14 ++++++++++----
 src/Makefile.am      |    2 ++
 src/epoll.cpp        |    4 +++-
 src/i_api.hpp        |    6 ++++--
 src/io_object.cpp    |   45 ++++++++++++++++++++++++++++++++++++++++++++-
 src/io_object.hpp    |   23 ++++++++++++++++++-----
 src/io_thread.hpp    |    2 +-
 src/socket_base.cpp  |   33 ++++++++++++++++++++-------------
 src/socket_base.hpp  |    9 +++++----
 src/zmq.cpp          |   13 +++++++++----
 src/zmq_engine.cpp   |   35 +++++++++++++++++++++++++++++++++++
 src/zmq_engine.hpp   |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 src/zmq_listener.cpp |    9 +++++++--
 src/zmq_listener.hpp |    5 +++--
 15 files changed, 222 insertions(+), 53 deletions(-)

commit a8b410e66c3c75809c8e9c01dd3e35c579f02347
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Sat Aug 8 16:01:58 2009 +0200

    lockfree interaction patter for 3 theads implemented

 include/zmq.hpp      |    8 +--
 src/Makefile.am      |   14 +++--
 src/app_thread.cpp   |   37 +++++++++---
 src/app_thread.hpp   |   13 +++--
 src/command.hpp      |   59 ++++++++-----------
 src/context.cpp      |  153 ------------------------------------------------
 src/context.hpp      |  122 --------------------------------------
 src/dispatcher.cpp   |  149 +++++++++++++++++++++++++++++++++++++++++++++++
 src/dispatcher.hpp   |  122 ++++++++++++++++++++++++++++++++++++++
 src/err.hpp          |    6 ++
 src/i_api.hpp        |   34 ++++++-----
 src/i_socket.hpp     |   36 ------------
 src/io_object.cpp    |   41 +++++++++++++
 src/io_object.hpp    |   62 ++++++++++++++++++++
 src/io_thread.cpp    |    8 +--
 src/io_thread.hpp    |    2 +-
 src/mutex.hpp        |   30 +++++-----
 src/object.cpp       |  158 +++++++++++++++-----------------------------------
 src/object.hpp       |   42 +++++---------
 src/socket_base.cpp  |  129 +++++++++++++++++++++++++++++++++++++++++
 src/socket_base.hpp  |   72 +++++++++++++++++++++++
 src/zmq.cpp          |   19 +++---
 src/zmq_listener.cpp |   35 +++++++++++
 src/zmq_listener.hpp |   46 +++++++++++++++
 24 files changed, 849 insertions(+), 548 deletions(-)

commit 0b5cc026fbe7ccc6de66907be29471562a2d344d
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Aug 6 12:51:32 2009 +0200

    clean up - session/socket/engine stuff removed

 src/Makefile.am           |   51 +--------
 src/app_thread.cpp        |  106 ++----------------
 src/app_thread.hpp        |   27 ++---
 src/connecter.cpp         |  189 -------------------------------
 src/connecter.hpp         |   99 ----------------
 src/context.cpp           |  139 +++--------------------
 src/context.hpp           |   52 +--------
 src/data_distributor.cpp  |  155 -------------------------
 src/data_distributor.hpp  |   70 ------------
 src/devpoll.cpp           |    9 +-
 src/devpoll.hpp           |    3 +-
 src/dummy_aggregator.cpp  |  111 ------------------
 src/dummy_aggregator.hpp  |   73 ------------
 src/dummy_distributor.cpp |   85 --------------
 src/dummy_distributor.hpp |   68 -----------
 src/epoll.cpp             |   10 +-
 src/epoll.hpp             |    3 +-
 src/fair_aggregator.cpp   |  143 ------------------------
 src/fair_aggregator.hpp   |   77 -------------
 src/i_api.hpp             |   42 +++----
 src/i_demux.hpp           |   57 ----------
 src/i_engine.hpp          |   53 ---------
 src/i_mux.hpp             |   60 ----------
 src/i_poller.hpp          |    7 +-
 src/i_session.hpp         |   37 ------
 src/i_socket.hpp          |   36 ++++++
 src/i_thread.hpp          |   38 -------
 src/io_object.cpp         |   37 ------
 src/io_object.hpp         |   51 ---------
 src/io_thread.cpp         |   31 -----
 src/io_thread.hpp         |   27 +----
 src/kqueue.cpp            |    9 +-
 src/kqueue.hpp            |    3 +-
 src/listener.cpp          |  170 ----------------------------
 src/listener.hpp          |  110 ------------------
 src/load_balancer.cpp     |  130 ---------------------
 src/load_balancer.hpp     |   73 ------------
 src/object.cpp            |   33 ------
 src/object.hpp            |    8 --
 src/p2p.cpp               |   29 -----
 src/p2p.hpp               |   42 -------
 src/pipe.cpp              |   47 --------
 src/pipe.hpp              |   23 +---
 src/pipe_reader.cpp       |  118 --------------------
 src/pipe_reader.hpp       |   89 ---------------
 src/pipe_writer.cpp       |  120 --------------------
 src/pipe_writer.hpp       |   88 ---------------
 src/poll.cpp              |   13 ++-
 src/poll.hpp              |    3 +-
 src/pub.cpp               |   38 -------
 src/pub.hpp               |   45 --------
 src/rep.cpp               |   29 -----
 src/rep.hpp               |   42 -------
 src/req.cpp               |   29 -----
 src/req.hpp               |   42 -------
 src/safe_object.cpp       |   76 -------------
 src/safe_object.hpp       |   68 -----------
 src/select.cpp            |   13 ++-
 src/select.hpp            |    2 +-
 src/session.cpp           |  273 ---------------------------------------------
 src/session.hpp           |  107 ------------------
 src/session_stub.cpp      |  110 ------------------
 src/session_stub.hpp      |   83 --------------
 src/socket_base.cpp       |  267 --------------------------------------------
 src/socket_base.hpp       |   96 ----------------
 src/sub.cpp               |   45 --------
 src/sub.hpp               |   46 --------
 src/zmq.cpp               |    2 +-
 src/zmq_decoder.cpp       |   79 -------------
 src/zmq_decoder.hpp       |   57 ----------
 src/zmq_encoder.cpp       |   75 -------------
 src/zmq_encoder.hpp       |   54 ---------
 src/zmq_tcp_engine.cpp    |  185 ------------------------------
 src/zmq_tcp_engine.hpp    |   92 ---------------
 74 files changed, 131 insertions(+), 4878 deletions(-)

commit b8b4acef4c2ba1a169ce84c1fb4c70a5676ebba3
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Aug 6 10:47:34 2009 +0200

    dispatcher renamed to context

 src/Makefile.am     |    4 +-
 src/app_thread.cpp  |    8 +-
 src/app_thread.hpp  |    4 +-
 src/context.cpp     |  266 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/context.hpp     |  170 ++++++++++++++++++++++++++++++++
 src/dispatcher.cpp  |  266 ---------------------------------------------------
 src/dispatcher.hpp  |  170 --------------------------------
 src/io_thread.cpp   |    8 +-
 src/io_thread.hpp   |    2 +-
 src/object.cpp      |   26 ++---
 src/object.hpp      |    6 +-
 src/pipe.hpp        |    8 +-
 src/pipe_reader.cpp |    2 +-
 src/pipe_reader.hpp |    6 +-
 src/pipe_writer.hpp |    6 +-
 src/safe_object.cpp |    6 +-
 src/safe_object.hpp |    2 +-
 src/zmq.cpp         |   15 ++-
 18 files changed, 487 insertions(+), 488 deletions(-)

commit 43fa72b7ee6b6d97b84a555ce8902cee855aeb72
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Aug 3 11:59:55 2009 +0200

    C++ binding uses exceptions to signal failure

 include/zmq.hpp |   83 ++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 73 insertions(+), 10 deletions(-)

commit cc3755a16f00026af882ed14d122cc8aa6d50e82
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Mon Aug 3 11:30:13 2009 +0200

    renamed from zs to zmq

 .gitignore                 |    3 +
 Makefile.am                |    2 +-
 configure.in               |   38 ++++----
 examples/chat/Makefile.am  |    6 +-
 examples/chat/chatroom.cpp |   12 +--
 examples/chat/display.cpp  |   10 +-
 examples/chat/prompt.cpp   |    8 +-
 include/zmq.h              |  207 +++++++++++++++++++++++++++++++++++++++
 include/zmq.hpp            |  231 ++++++++++++++++++++++++++++++++++++++++++++
 include/zs.h               |  206 ---------------------------------------
 include/zs.hpp             |  231 --------------------------------------------
 src/Makefile.am            |   10 +-
 src/app_thread.cpp         |   70 +++++++-------
 src/app_thread.hpp         |    8 +-
 src/atomic.hpp             |   62 ++++++------
 src/atomic_bitmap.hpp      |   82 ++++++++--------
 src/atomic_counter.hpp     |   72 +++++++-------
 src/atomic_ptr.hpp         |   72 +++++++-------
 src/command.hpp            |    6 +-
 src/config.hpp             |    6 +-
 src/connecter.cpp          |   48 ++++-----
 src/connecter.hpp          |   12 +--
 src/data_distributor.cpp   |   42 ++++----
 src/data_distributor.hpp   |   10 +-
 src/decoder.hpp            |    6 +-
 src/devpoll.cpp            |   38 ++++----
 src/devpoll.hpp            |    8 +-
 src/dispatcher.cpp         |   52 +++++-----
 src/dispatcher.hpp         |    8 +-
 src/dummy_aggregator.cpp   |   34 +++----
 src/dummy_aggregator.hpp   |    8 +-
 src/dummy_distributor.cpp  |   28 +++---
 src/dummy_distributor.hpp  |    8 +-
 src/encoder.hpp            |    6 +-
 src/epoll.cpp              |   36 +++----
 src/epoll.hpp              |    8 +-
 src/err.cpp                |    8 +-
 src/err.hpp                |   16 +--
 src/fair_aggregator.cpp    |   30 +++---
 src/fair_aggregator.hpp    |    8 +-
 src/fd.hpp                 |    8 +-
 src/fd_signaler.cpp        |   54 +++++------
 src/fd_signaler.hpp        |    8 +-
 src/i_api.hpp              |   14 +--
 src/i_demux.hpp            |   11 ++-
 src/i_engine.hpp           |    8 +-
 src/i_mux.hpp              |   11 ++-
 src/i_poll_events.hpp      |    6 +-
 src/i_poller.hpp           |    6 +-
 src/i_session.hpp          |   10 +-
 src/i_signaler.hpp         |    6 +-
 src/i_thread.hpp           |    6 +-
 src/io_object.cpp          |    6 +-
 src/io_object.hpp          |    6 +-
 src/io_thread.cpp          |   72 +++++++-------
 src/io_thread.hpp          |    8 +-
 src/ip.cpp                 |   36 +++----
 src/ip.hpp                 |    8 +-
 src/kqueue.cpp             |   40 ++++----
 src/kqueue.hpp             |    8 +-
 src/listener.cpp           |   42 ++++----
 src/listener.hpp           |    6 +-
 src/load_balancer.cpp      |   32 +++---
 src/load_balancer.hpp      |   10 +-
 src/msg.hpp                |   16 +--
 src/mutex.hpp              |   10 +-
 src/object.cpp             |   88 ++++++++---------
 src/object.hpp             |    6 +-
 src/p2p.cpp                |    4 +-
 src/p2p.hpp                |    6 +-
 src/pipe.cpp               |   14 +--
 src/pipe.hpp               |   10 +-
 src/pipe_reader.cpp        |   26 ++---
 src/pipe_reader.hpp        |    8 +-
 src/pipe_writer.cpp        |   30 +++---
 src/pipe_writer.hpp        |    8 +-
 src/platform.hpp.in        |   26 ++---
 src/poll.cpp               |   40 ++++----
 src/poll.hpp               |   14 +--
 src/pub.cpp                |    6 +-
 src/pub.hpp                |    8 +-
 src/rep.cpp                |    4 +-
 src/rep.hpp                |    6 +-
 src/req.cpp                |    4 +-
 src/req.hpp                |    6 +-
 src/safe_object.cpp        |   14 +--
 src/safe_object.hpp        |    6 +-
 src/select.cpp             |   40 ++++----
 src/select.hpp             |   10 +-
 src/session.cpp            |   46 ++++-----
 src/session.hpp            |   10 +-
 src/session_stub.cpp       |   30 +++---
 src/session_stub.hpp       |   10 +-
 src/simple_semaphore.hpp   |   12 +--
 src/socket_base.cpp        |   56 +++++------
 src/socket_base.hpp        |   14 +--
 src/stdint.hpp             |    6 +-
 src/sub.cpp                |    8 +-
 src/sub.hpp                |    8 +-
 src/tcp_connecter.cpp      |   20 ++--
 src/tcp_connecter.hpp      |    6 +-
 src/tcp_listener.cpp       |   20 ++--
 src/tcp_listener.hpp       |    6 +-
 src/tcp_socket.cpp         |   18 ++--
 src/tcp_socket.hpp         |    6 +-
 src/thread.cpp             |   14 +--
 src/thread.hpp             |   10 +-
 src/uuid.cpp               |   40 ++++----
 src/uuid.hpp               |   18 ++--
 src/windows.hpp            |    4 +-
 src/wire.hpp               |    6 +-
 src/ypipe.hpp              |    8 +-
 src/ypollset.cpp           |   10 +-
 src/ypollset.hpp           |    6 +-
 src/yqueue.hpp             |   10 +-
 src/zmq.cpp                |  223 ++++++++++++++++++++++++++++++++++++++++++
 src/zmq_decoder.cpp        |   25 ++---
 src/zmq_decoder.hpp        |   10 +-
 src/zmq_encoder.cpp        |   18 ++--
 src/zmq_encoder.hpp        |   10 +-
 src/zmq_tcp_engine.cpp     |   44 ++++-----
 src/zmq_tcp_engine.hpp     |    6 +-
 src/zs.cpp                 |  222 ------------------------------------------
 123 files changed, 1778 insertions(+), 1770 deletions(-)

commit 183b6887644ac05c951a3f9143248ed86e91052f
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Thu Jul 30 13:53:46 2009 +0200

    git ignoring intermediary files

 0 files changed

commit 4ed70a930202b103e7e80b8dc925e0aaa4622595
Author: Martin Sustrik <sustrik@fastmq.commkdir>
Date:   Wed Jul 29 12:07:54 2009 +0200

    initial commit

 Makefile.am                |    4 +
 autogen.sh                 |   29 +++++
 configure.in               |  188 +++++++++++++++++++++++++++
 examples/Makefile.am       |    2 +
 examples/chat/Makefile.am  |   15 +++
 examples/chat/chatroom.cpp |   74 +++++++++++
 examples/chat/display.cpp  |   56 ++++++++
 examples/chat/prompt.cpp   |   61 +++++++++
 include/zs.h               |  206 +++++++++++++++++++++++++++++
 include/zs.hpp             |  231 +++++++++++++++++++++++++++++++++
 src/Makefile.am            |  120 +++++++++++++++++
 src/app_thread.cpp         |  221 +++++++++++++++++++++++++++++++
 src/app_thread.hpp         |   95 ++++++++++++++
 src/atomic.hpp             |  310 ++++++++++++++++++++++++++++++++++++++++++++
 src/atomic_bitmap.hpp      |  286 ++++++++++++++++++++++++++++++++++++++++
 src/atomic_counter.hpp     |  197 ++++++++++++++++++++++++++++
 src/atomic_ptr.hpp         |  189 +++++++++++++++++++++++++++
 src/command.hpp            |   98 ++++++++++++++
 src/config.hpp             |   71 ++++++++++
 src/connecter.cpp          |  189 +++++++++++++++++++++++++++
 src/connecter.hpp          |   99 ++++++++++++++
 src/data_distributor.cpp   |  155 ++++++++++++++++++++++
 src/data_distributor.hpp   |   70 ++++++++++
 src/decoder.hpp            |  101 +++++++++++++++
 src/devpoll.cpp            |  224 ++++++++++++++++++++++++++++++++
 src/devpoll.hpp            |  110 ++++++++++++++++
 src/dispatcher.cpp         |  266 +++++++++++++++++++++++++++++++++++++
 src/dispatcher.hpp         |  170 ++++++++++++++++++++++++
 src/dummy_aggregator.cpp   |  111 ++++++++++++++++
 src/dummy_aggregator.hpp   |   73 +++++++++++
 src/dummy_distributor.cpp  |   85 ++++++++++++
 src/dummy_distributor.hpp  |   68 ++++++++++
 src/encoder.hpp            |  108 +++++++++++++++
 src/epoll.cpp              |  214 ++++++++++++++++++++++++++++++
 src/epoll.hpp              |  107 +++++++++++++++
 src/err.cpp                |  146 +++++++++++++++++++++
 src/err.hpp                |   90 +++++++++++++
 src/fair_aggregator.cpp    |  143 ++++++++++++++++++++
 src/fair_aggregator.hpp    |   77 +++++++++++
 src/fd.hpp                 |   44 +++++++
 src/fd_signaler.cpp        |  278 +++++++++++++++++++++++++++++++++++++++
 src/fd_signaler.hpp        |   92 +++++++++++++
 src/i_api.hpp              |   39 ++++++
 src/i_demux.hpp            |   56 ++++++++
 src/i_engine.hpp           |   53 ++++++++
 src/i_mux.hpp              |   59 +++++++++
 src/i_poll_events.hpp      |   45 +++++++
 src/i_poller.hpp           |   89 +++++++++++++
 src/i_session.hpp          |   37 ++++++
 src/i_signaler.hpp         |   38 ++++++
 src/i_thread.hpp           |   38 ++++++
 src/io_object.cpp          |   37 ++++++
 src/io_object.hpp          |   51 ++++++++
 src/io_thread.cpp          |  177 +++++++++++++++++++++++++
 src/io_thread.hpp          |   99 ++++++++++++++
 src/ip.cpp                 |  310 ++++++++++++++++++++++++++++++++++++++++++++
 src/ip.hpp                 |   47 +++++++
 src/kqueue.cpp             |  214 ++++++++++++++++++++++++++++++
 src/kqueue.hpp             |  112 ++++++++++++++++
 src/listener.cpp           |  170 ++++++++++++++++++++++++
 src/listener.hpp           |  110 ++++++++++++++++
 src/load_balancer.cpp      |  130 +++++++++++++++++++
 src/load_balancer.hpp      |   73 +++++++++++
 src/msg.hpp                |   49 +++++++
 src/mutex.hpp              |  116 +++++++++++++++++
 src/object.cpp             |  294 +++++++++++++++++++++++++++++++++++++++++
 src/object.hpp             |  105 +++++++++++++++
 src/p2p.cpp                |   29 +++++
 src/p2p.hpp                |   42 ++++++
 src/pipe.cpp               |   47 +++++++
 src/pipe.hpp               |   57 ++++++++
 src/pipe_reader.cpp        |  118 +++++++++++++++++
 src/pipe_reader.hpp        |   89 +++++++++++++
 src/pipe_writer.cpp        |  120 +++++++++++++++++
 src/pipe_writer.hpp        |   88 +++++++++++++
 src/platform.hpp.in        |  210 ++++++++++++++++++++++++++++++
 src/poll.cpp               |  205 +++++++++++++++++++++++++++++
 src/poll.hpp               |  112 ++++++++++++++++
 src/pub.cpp                |   38 ++++++
 src/pub.hpp                |   45 +++++++
 src/rep.cpp                |   29 +++++
 src/rep.hpp                |   42 ++++++
 src/req.cpp                |   29 +++++
 src/req.hpp                |   42 ++++++
 src/safe_object.cpp        |   76 +++++++++++
 src/safe_object.hpp        |   68 ++++++++++
 src/select.cpp             |  236 +++++++++++++++++++++++++++++++++
 src/select.hpp             |  122 +++++++++++++++++
 src/session.cpp            |  273 ++++++++++++++++++++++++++++++++++++++
 src/session.hpp            |  107 +++++++++++++++
 src/session_stub.cpp       |  110 ++++++++++++++++
 src/session_stub.hpp       |   83 ++++++++++++
 src/simple_semaphore.hpp   |  188 +++++++++++++++++++++++++++
 src/socket_base.cpp        |  267 ++++++++++++++++++++++++++++++++++++++
 src/socket_base.hpp        |   96 ++++++++++++++
 src/stdint.hpp             |   70 ++++++++++
 src/sub.cpp                |   45 +++++++
 src/sub.hpp                |   46 +++++++
 src/tcp_connecter.cpp      |  138 ++++++++++++++++++++
 src/tcp_connecter.hpp      |   65 ++++++++++
 src/tcp_listener.cpp       |  165 +++++++++++++++++++++++
 src/tcp_listener.hpp       |   65 ++++++++++
 src/tcp_socket.cpp         |  116 +++++++++++++++++
 src/tcp_socket.hpp         |   70 ++++++++++
 src/thread.cpp             |   88 +++++++++++++
 src/thread.hpp             |   77 +++++++++++
 src/uuid.cpp               |  136 +++++++++++++++++++
 src/uuid.hpp               |   82 ++++++++++++
 src/windows.hpp            |   56 ++++++++
 src/wire.hpp               |   98 ++++++++++++++
 src/ypipe.hpp              |  209 +++++++++++++++++++++++++++++
 src/ypollset.cpp           |   56 ++++++++
 src/ypollset.hpp           |   74 +++++++++++
 src/yqueue.hpp             |  138 ++++++++++++++++++++
 src/zmq_decoder.cpp        |   78 +++++++++++
 src/zmq_decoder.hpp        |   57 ++++++++
 src/zmq_encoder.cpp        |   75 +++++++++++
 src/zmq_encoder.hpp        |   54 ++++++++
 src/zmq_tcp_engine.cpp     |  185 ++++++++++++++++++++++++++
 src/zmq_tcp_engine.hpp     |   92 +++++++++++++
 src/zs.cpp                 |  222 +++++++++++++++++++++++++++++++
 121 files changed, 13546 insertions(+)