aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/CHANGELOG
blob: 0c5a6678c9bdf613b286467904bbb79a4379c986 (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
ChangeLog:

nxcomp-3.4.0-1

- Opened the 3.4.0 branch based on nxcomp-3.3.0-4.

- Changed version number.

- Updated copyright to year 2009.

nxcomp-3.3.0-4

- Check if the variable storing the ping time exceeded the maximum
  integer value.

- Recover incorrect sequence number when the proxy is not connected
  to an agent.

nxcomp-3.3.0-3

- Removed a condition in ClientChannel that caused a loss in event
  sequence numbers.

nxcomp-3.3.0-2

- Updated VERSION.

nxcomp-3.3.0-1

- Opened the 3.3.0 branch based on nxcomp-3.2.0-7.

nxcomp-3.2.0-7

- Solved a compilation problem on GCC 4.3.

nxcomp-3.2.0-6

- Changes considering that unsetenv() returns void on Mac OS X.

nxcomp-3.2.0-5

- Fixed TR03F02024. Assume the launchd unix socket as X socket.

- Changed the authorization cookie retrieval when using the launchd
  socket on MacOSX, in order to wait for the X server start.

nxcomp-3.2.0-4

- Fixed TR03F02026. Unset environment variable LD_LIBRARY_PATH before
  calling the exec function running nxclient.

nxcomp-3.2.0-3

- Fix addMsTimestamp() and subMsTimestamp(). Remove the check for
  a valid input in diffTimestamp() and diffUsTimestamp().

nxcomp-3.2.0-2

- Fixed TR12E01973. Now the correct number of bits are used for the
  number of points in a X_FillPoly request.

nxcomp-3.2.0-1

- Opened the 3.2.0 branch based on nxcomp-3.1.0-6.

nxcomp-3.1.0-6

- Always use a timeout of 50 ms to update the congestion counter.

nxcomp-3.1.0-5

- Solve the possible deadlock caused by both proxies running out of
  tokens at the same time.

- In ServerProxy::handleCheckDrop() copy the list since the function
  can delete the elements.

nxcomp-3.1.0-4

- Classes ProxyReadBuffer and ServerReadBuffer returned an invalid
  number of characters to read in the case of a readable() failure.

- Connections to proxy versions newer than 3.0.0 were not accepted.

- Reading options from file could fail if options contained spaces
  or other characters interrupting the fscanf()'s matching of input.

- The proxy link could not be flushed if a ping request was replied
  after the end of the read loop.

nxcomp-3.1.0-3

- Fixed a compilation warning on GCC 2.95.
  
nxcomp-3.1.0-2

- Solved TR09E01852. Modified the encoding of the number of rects
  in the XSetClipRectangles request.
  
nxcomp-3.1.0-1

- Opened the 3.1.0 branch based on nxcomp-3.0.0-46.

nxcomp-3.0.0-46

- Fixed TR09E01865 and TR08E01831. Assume the old behavior of compr-
  essing the CUPS, SMB, HTTP and Font channels when connected to an
  old proxy version.

nxcomp-3.0.0-45

- Retry the fork() 30 times, but only on Cygwin (Sob!).

nxcomp-3.0.0-44

- In the case of an error, try again to fork() after a second, for
  a maximum of 5 times. This seems to constitute a valid workaround
  to the intermittent fork() failures observed on Windows.
  
- Fixed NXTransDestroy() to show the 'broken connection' dialog in
  the case of a link failure on the client.

- Handled the 'terminating' and 'terminated' messages as new proxy
  stages.

- Force all the directories and files created by the library to be
  readable only by the user.

- Don't complain if the shared memory segment can't be initialized
  on Windows.

nxcomp-3.0.0-43

- Prevent the reallocation of the read buffer in the proxy and the
  agent transport if the buffer was borrowed by an upper layer.

- Let the house-keeping process remove the cache directories that
  are empty and have not be used since more than 30 days.

- Added the missing destruction of the ZLIB stream used for image
  decompression at proxy shutdown.

nxcomp-3.0.0-42

- In handleFastWriteReply(), moved the initialization of the 'next'
  pointer inside the '#ifndef __sun' block. This should fix the re-
  maining encoding problems on SPARCs.

nxcomp-3.0.0-41

- VMWare virtual machines can have the system timer deadly broken.
  In the case of timeout, try to send a ping regardless we are the
  client or the server proxy to force a write by the remote.

- Removed the messages 'Info: Using image cache parameters...' and
  'Info: Using image streaming parameters...' from the session log
  if the image cache is not enabled.

nxcomp-3.0.0-40

- Removed the messages 'Info: Shutting down the NX transport' and
  'Info: End of NX transport requested by...' at the session tear
  down.

- Removed the remaining log output.

nxcomp-3.0.0-39

- Don't reset the timer on proxy shutdown.

nxcomp-3.0.0-38

- Don't reinstall the signal handler if the signal was enabled and
  the NXTransSignal() action is NX_SIGNAL_FORWARD.

nxcomp-3.0.0-37

- Return a congestion level 9 if the agent channel is in congestion
  state.

- Set the idle timeout (used to update the congestion state) based
  on the link type. The timeout is 0 ms with link LAN and 50 ms in
  the case of MODEM, with the other values in the between.

nxcomp-3.0.0-36

- Changed the encoding of the RenderCompositeGlyphs requests. Use
  a separate cache for X and Y. Send a single bit for offset X and
  offset Y if they match the source coordinates.

- Always use the memcpy() in the handleFastWrite*() on Sun, as the
  alternative code doesn't work on SPARC if the buffer is not word
  aligned.

nxcomp-3.0.0-35

- Ensure a smooth transition between different congestion states.
  If the current congestion counter is greater than the previous,
  ramp up the value quickly by taking the current counter. If the
  new congestion counter is less than the previous, ramp down the
  reported value slowly by calculating the average of the last 8
  updates. Reset the congestion counter to 0 if no token reply is
  pending and the proxy is idle until a timeout.

nxcomp-3.0.0-34

- Calculate the current congestion as the average of the last 3
  frames sent.

nxcomp-3.0.0-33

- When sending a X_RenderCompositeGlyph update, send a single bit
  if the source X and Y match the values in cache.

- Save the check on the bytes readable from the proxy descriptor
  after the select.

nxcomp-3.0.0-32

- Send the X_GetImage replies uncompressed to better leverage the
  stream compression.

- Before entering in congestion state, force a read to see whether
  the remote proxy aborted the connection.

nxcomp-3.0.0-31

- Try to avoid using memcpy() in the channels' handleFastWrite*().

- Changed the copyright notices at the beginning of the files that
  were referring to NXPROXY to refer to NXCOMP.

nxcomp-3.0.0-30

- Set the agent and proxy descriptors as ready, when appropriate,
  also in the case of an interrupt.

nxcomp-3.0.0-29

- On the X server side, read more events from the X server just be-
  fore and just after having written some data. On the X client si-
  de, apply the same to the proxy link.

- X11 channels originate a congestion control code as soon as the-
  re is some data left from the previous write.

nxcomp-3.0.0-28

- Displaced automatically the "channel unresponsive" and "no data
  received from remote" dialogs if the error condition is ceased.

- Rewritten the channel drain procedure.

- Tried a different approach to the channel congestion handling.
  The X11 channels are not drained after a blocking write but only
  if a further write is requested and the channel is still in con-
  gestion state. Benchmarks show that this is still sub-optimal,
  compared to sending the congestion code immediately also for X11
  channels. See the next version.

nxcomp-3.0.0-27

- Ignored the agent option 'defer'.

- Dropped support for the 1.4.0 versions.

- More fixes to support the 1.5.0.

nxcomp-3.0.0-26

- The channel read buffer can inherit the data to be encoded from
  the caller, instead of taking it from the transport. This is le-
  veraged by the agent channel to save the copy.

- Ignored the agent option 'clients'.

- Removed the deprecated code checking the CPU limits.

- Removed the counters that were duplicated in the Statistics and
  the Control classes.

nxcomp-3.0.0-25

- Improved the effectiveness of the caching of the RenderComposite-
  Glyphs by using a differential encoding for the length, delta x
  and delta y of the first string.

- Better handle the compatibility between different formats of the
  cache files.

nxcomp-3.0.0-24

- Fixed the compatibility problem with the 1.5.0 versions.

- Removed the constants NXDisplayReadable, NXDisplayFlushable and
  NXDisplayCongestion. Now nxcompext has three distinct functions.

nxcomp-3.0.0-23

- Removed support for Rdp, Tight and Hextile packed images decod-
  ing since they have been made obsolete by the new NX server.

- Use the value 0 for the action is_hit and 1 for is_added. This
  increases the frequency of zeroes in the encode buffer, giving
  better compression.

- Changed the copyright attribution from Medialogic to NoMachine.

nxcomp-3.0.0-22

- Implemented an alternate encoding reducing the size of the int
  caches to 16 elements and transmitting the values in blocks of
  4 bits. Although this encoding reduces the effectiveness of
  the differential compression, it allows better compression of
  the final stream, resulting in a 10% to 20% gain in all condi-
  tions. The new encoding is experimental, as it would make the
  3.0.0 incompatible with all the previous NX versions. Use this
  package as a reference for future implementations.

nxcomp-3.0.0-21

- Encode the first two coordinates of a FillPoly message by using
  a differential encoding, thus the origin of the polygon is not
  included in the checksum. This is aimed to work in combination
  with the agent converting all the FillPoly requests to the rela-
  tive coordinate mode.

- Add the coordinate mode to the checksum of the PolyPoint and Po-
  lyLine messages so that it doesn't need to be encoded separately.

- Disable the streaming for all messages. This saves the encoding
  of a boolean for each message that could potentially be streamed.

- Don't try to match the block size when encoding a value based on
  an IntCache. This saves the additional bool in 90% of the cases.
 
- Removed support for the former RDP and RFB session types. 

- Due to the above changes, this version is incompatible with the
  previous 3.0.0 releases.

nxcomp-3.0.0-20

- Added support for the 'lossy', 'lossless' and 'adaptive' pack me-
  thod literals. These values activate the dynamic selection of the
  pack method by the agent.

- Made the 'adaptive' pack method the default for all link types.

- The default stream compression level is now 6 for link type ISDN,
  4 for ADSL and 1 for WAN. The default data compression level is
  always 1, except for LAN that is 0.

nxcomp-3.0.0-19

- Print in the session log the X11 display that the proxy is imper-
  sonating or where it is forwarding the connections.

nxcomp-3.0.0-18

- Implemented decoding of the PACK_BITMAP_16M_COLORS pack method.
  This is a very simple encoder removing the 4th byte in 32 bits-
  per-plane images. This encoder is intended to better leverage
  the stream compression on low bandwidth links.

- Removed the code cleaning the padding bytes in RenderAddGlyphs
  and RenderCompositeGlyphs as the operation is now performed in
  Xrender.

- Removed the "Info: Synchronizing local and remote caches." and
  "Info: Using remote server '...'." lines from the session log.

nxcomp-3.0.0-17

- Determine the CPU endianess at compile time only on Linux and
  Cygwin.

nxcomp-3.0.0-16

- Optimized the memory allocation of the ReadBuffer classes. The
  buffers from the Transport classes are used, when possible, to
  avoid the copy.

nxcomp-3.0.0-15

- Reworked the code dealing with the channel congestion control
  messages for increased efficiency.

- Removed the pending_ flag from the proxy and channel class mem-
  bers. If needed, the classes will query the transport buffers
  to see whether there is data pending.

- Removed the additional parameter from NXTransFlush().

- The proxy doesn't issue anymore a sync control message on a X
  reply. Anyway it will respond to the request for compatibility
  with older versions.

- Removed the dynamic selection of the encoding method for the
  X_QueryColors request and X_ListFonts, X_QueryColors, X_Query-
  Font replies. Now all of them use the differential encoding to
  better leverage the stream compression.

- Fixed to build on SUNs where we don't have endian.h.

nxcomp-3.0.0-14

- When handling partial proxy messages, don't try to determine how
  many bytes still need to be read if the ZLIB stream compression
  is enabled.

- If a message can't be located, the ReadBuffer class checks if it
  is possible to consume the data already in the transport buffer.

- Optimize the MD5 routines by determining the CPU endianess at
  compile time.

- Force Drawable and GContext to be CARD32 in NXproto.h.
  
nxcomp-3.0.0-13

- Changed the semantic of the NXDisplayFlushHandler callback. The
  function is called when new data is sent to the remote proxy or,
  with a 0 length, upon receiving a new token reply, so that the
  agent can update its congestion state.

- Added the NXTransCongestion() function. It returns a value bet-
  ween 0 and 9 indicating the congestion level based on the tokens
  remaining. A value of 9 means that the link is congested and no
  further data can be sent.

- Removed the congestion and synchronization callbacks. They are
  superseded by the new NXTransCongestion() implementation.

nxcomp-3.0.0-12

- Send the token replies at the end of the encode loop instead of
  flushing the buffer immediately.

- Fixed TR05E01687. Correctly detect CTRL-ALT-SHIFT-ESC keystrokes.

- Renamed the option 'block' as 'tile'.

- Ignored the option 'menu', targeting the X11 agent.

nxcomp-3.0.0-11

- Removed the 'interactive' attribute from generic channels. We now
  use the 'prioritized' attribute which yields the same result.

- Simplified the channels' read loop by always reading only once.

- The channels flush the link as soon as the token is exceeded even
  if the flush policy is set to deferred.

- Reserved more cache memory for the images when running a shadow
  session.

nxcomp-3.0.0-10

- Added the NXDisplayWriteHandler callback definition.

- Removed the code that forced the proxy to retain in the cache the
  images referenced at session startup.

- Disabled the persistent image cache since this is not supported
  by the current agent. This will save the overhead caused by the
  image house-keeping process.

nxcomp-3.0.0-9

- Fixed a cast problem in GetBytesReadable().

nxcomp-3.0.0-8

- Added the NXTransTime() utility. It return the time in milliseconds
  elapsed since the last call to the same function. Useful for bench-
  marking the Xlib layer.

- Ignored the option 'block' targeting the X11 agent.

nxcomp-3.0.0-7

- Ignored the options 'shadow', 'shadowmode' targeting the X11 agent.

- Added the session type 'shadow'.

nxcomp-3.0.0-6

- Fixed TR08D01484. Fixed a bug in the cleanup of the RenderAddGlyphs
  messages. We clean up only the glyphs with depth 8, width greater
  than 1 and pixmap byte pad 4.

- Added file COPYING.

nxcomp-3.0.0-5

- Updated the copyright notices to the current year.

nxcomp-3.0.0-4

- Imported changes up to nxcomp-2.1.0-6.

- Fixed TR12D01563. Changed the configure script to always build the
  library with the -fPIC option. This is related to the way SELinux
  works.

- Fixed the dependency from local endianess for 16-bit color RDP un-
  packing functions. This caused wrong colors to be displayed when the
  proxy and the X server were running on two separate machines having 
  different endianess.

- Fixed TR10D01523. The Channel::handleDrain() method now accounts
  for the fact that agent connections can't be drained.

- Changed the Tight and Hextile decoding functions to use the X ser-
  ver's byte order.

nxcomp-3.0.0-3

- Changed the main loop to handle the 3.0.0 version.

nxcomp-3.0.0-2

- Updated the file VERSION.

nxcomp-3.0.0-1

- Opened the 3.0.0 branch based on nxcomp-2.0.0-81.

nxcomp-2.0.0-81

- Fixed the dependency from local endianess for JPEG and PNG decomp-
  ression functions. This caused wrong colors to be displayed when
  the proxy and the X server were running on two separate machines
  having different endianess.

- Fixed the number of entries in the handleColormap() function.

nxcomp-2.0.0-80

- Fixed TR06D01404. Removed the warning issued when calling the
  AgentTransport::drain() method.

nxcomp-2.0.0-79

- Updated copyright to year 2006.

nxcomp-2.0.0-78

- Fixed a bug in the cleanup of the RenderAddGlyphs messages.

- Minor improvements to the encoding of the RenderCompositeGlyphs
  and RenderComposite requests.

- Added 'client' to the list of the ignored options.

nxcomp-2.0.0-77

- Added cleanup of the padding bytes in the RenderCompositeGlyphs
  and RenderAddGlyphs requests.

nxcomp-2.0.0-76

- Before adding the frame's bytes to the tokens, the frame length
  is normalized based on the stream compression ratio of the last
  frame sent. This avoids entering the drain loop too early when
  the data is highly compressible. 

- Moved the render messages' private data in a union to reduce the
  footprint of the render store.

nxcomp-2.0.0-75

- The action performed on the remote message store and the affected
  position are encoded as a single value. This saves approximately
  1 bit per each message.

- Created more Compat classes to handle the backward compatibility
  with the 1.4.0 and 1.5.0 versions.

nxcomp-2.0.0-74

- Added support for the RLE pack method and made it the default if
  the selected link type is LAN.

- Removed the legacy support for the 'render' option provided at X
  server side.

- When defining LAME in ClientChannel.h, the channel has the chance
  of suppressing more opcodes by the handleTaintLameRequest() call.
  This is for test purposes.

nxcomp-2.0.0-73

- The X_NXSetUnpackColormap and X_NXSetUnpackAlpha now carry their
  data in compressed form. The alpha data is compressed using the
  ZLIB RLE encoding, while the colormap data is compressed using
  the default ZLIB deflate.

- Thanks to the above changes, ZLIB data compression of all messa-
  ges which do not have a specific encoding is turned off, so that
  we can make better use of the final stream compression.

- Created new message structures to handle the compatibility with
  the old proxy versions. When connected to an old proxy version
  the agent should use the NXSetUnpackColormapCompat() and NXSet-
  UnpackAlpha() interfaces.

nxcomp-2.0.0-72

- Solved a compatibility problem with the 1.X.X versions due to the
  new render encodings.

nxcomp-2.0.0-71

- Improvements to X_RenderSetPictureClipRectangles.

- Fixed handleUnpack() to pass the correct byte order parameter to
  to the unpack alpha function.

- Added the --parent parameter to the client even in pulldown mode.

- Fixed a deallocation bug in StaticCompressor.

nxcomp-2.0.0-70

- Added compression of X_RenderSetPictureFilter, X_RenderSetPicture-
  Transform, X_RenderTrapezoids and X_RenderTriangles.

nxcomp-2.0.0-69

- Changed the format of the persistent cache to accomodate the new
  encoding of the render opcodes. Caches from the 1.4.0 and 1.5.0
  should be still loaded and saved correctly when connected to and
  old version of the library.

- Improved the encoding of the X_CreatePixmap, X_ChangeGC, X_Render-
  CompositeGlyphs, X_RenderComposite, X_RenderCreateGlyphSet, X_Rend-
  erFreePicture and X_RenderCreatePicture messages. Added new classes
  to handle the backward compatibility.

- Made the static compression and decompression code reside in the
  same class.

nxcomp-2.0.0-68

- Improved the encoding of the X_RenderCreateGlyphSet and X_Render-
  FreeGlyphSet requests.

nxcomp-2.0.0-67

- Modified the following session messages:

  From: "Session: Session starting at..."
  To:   "Session: Starting session at..."

  From: "Session: Session terminating at..."
  To:   "Session: Terminating session at..."

- Improved the encoding of the requests creating or freeing an XID.
  This affects X_CreateGC, X_CreateWindow, X_CreatePixmap, X_Render-
  CreatePicture, X_FreeGC, X_DestroyWindow, X_FreePixmap, X_Render-
  FreePicture.

- Added 'streaming' and 'backingstore' to the list of options used
  by agents.

- Modified the info messages to print the ZLIB compression paramet-
  ers to be more compact and only use two lines.

nxcomp-2.0.0-66

- When part of an agent, the proxy will wait for the NXTransDestroy()
  function to initiate the shutdown.

nxcomp-2.0.0-65

- Starting from this version the NX client can control the behaviour
  of the client proxy by monitoring the messages marked as "Session".

  At the early initialization the proxy will print:

  "Session: Session starting at '...'.

  The ellipsis here represent the current timestamp, as reported by
  the POSIX function ctime():

  Once the session is running, the proxy will print:

  "Session: Session started at '...'.

  At the time the session is being shut down, the proxy will print:

  "Session: Session terminating at '...'.

  Followed by:

  Session: Session terminated at '...'.

  The message "Info: Starting X protocol compression." is removed,
  replaced by the message 'Session started at...' with the same
  meaning. 

  Once the message 'Session: Session terminated at..." is read from
  the output, the client can optionally wait for the proxy process
  to complete and terminate with an exit code 0.

- The "Session" messages are not printed when the proxy is running
  on the NX server side, as part of an agent.

nxcomp-2.0.0-64

- Reduced the default token limit from 32 to 24. The synchronizat-
  ion callback is triggered by the tokens going below half the li-
  mit.

nxcomp-2.0.0-63

- Added -I/usr/include/c++ to makedepend.

nxcomp-2.0.0-62

- The house-keeping process is now started upon the initialization,
  if the memory cache is enabled, and, on the X server side, when
  the remote actually requested access to the image cache.

nxcomp-2.0.0-61

- Added a NX_HANDLER_SYNCHRONIZATION callback to NXTransHandler().
  The handler is called when the agent can use the available band-
  width to synchronize X objects that are corrupted or incomplete.

  The reason can be:

  NX_SYNCHRONIZATION_BEGIN:   The synchronizationis is allowed.

  NX_SYNCHRONIZATION_END:     The synchronizationis must stop.

  The reason can be determined by agents by using the NXBeginSynch-
  ronization and NXEndSynchronization values defined in NXvars.h.

- Bytes from 14 to 24 in the X_NXGetControlParameters reply report,
  respectively, the frame timeout, the ping timeout, the preferred
  image split mode and the split size threshold.

nxcomp-2.0.0-60

- The following messages used by the NX client and server have been
  changed. The NX client and server should be modified accordingly.

  From: "Info: Shutting down the link and exiting."
  To:   "Info: Shutting down the NX transport."

  From: "Info: End of session requested by remote proxy."
  To:   "Info: End of NX transport requested by remote"

  From: "Info: End of session requested by agent termination."
  To:   "Info: End of NX transport requested by agent."

  From: "Info: End of session requested by signal '...'."
  To:   "Info: End of NX transport requested by signal '...'."

  From: "Info: Shutting down the link and exiting."
  To:   "Info: Shutting down the NX transport."

  From: "Info: Waiting for cleanup timeout to complete."
  To:   "Info: Waiting the cleanup timeout to complete."

  From: "Info: Waiting for watchdog process to complete."
  To:   "Info: Waiting the watchdog process to complete."

nxcomp-2.0.0-59

- Added more debug information regarding the timing of packets sent
  and received.

- Added the possibility to redirect the log output to a file that can
  be later shared with nxssh running in "binder" mode. This is useful
  when testing the forwarding of the SSHD connection by nxssh to the
  agent. Activated by defining BINDER in Loop.cpp.

nxcomp-2.0.0-58

- Fixed the unpack alpha procedure to only rely on the image's byte
  order.

- Solved the X_PutImage encoding problem introduced in the 2.0.0-56
  version and restored the compatibility with the 1.5.0 version.

nxcomp-2.0.0-57

- Added a NXTransFile() function. It returns the name of the files
  used by the proxy for the current session.

  The type parameter can be:

  NX_FILE_SESSION:  Usually the file 'session' in the user's session
                    directory.

  NX_FILE_ERRORS:   The file used for the diagnostic output. Usually
                    the file 'errors' in the session directory.

  NX_FILE_OPTIONS:  The file containing the NX options, if any.
 
  NX_FILE_STATS:    The file used for the statistics output.

  The returned string is allocated in static memory. The caller must
  copy the string upon returning from the function, without freeing
  the pointer.

- Fixed the PANIC in the handling of the abort split messages.

- The encode and decode routines may write one byte past the nominal
  end of the encode buffer. This additional byte is now included in
  the payload. This is actually a bug, but harmless.

nxcomp-2.0.0-56

- Added the X_NXAbortSplit request. It can be used to interrupt the
  streaming of all the messages currently in the split store for
  the specified resource. Depending if the split store did or did
  not contain split messages, the client will receive an immediate
  end-split or no-split notification.

- Removed the split modes NXSplitModeEager and NXSplitModeLazy. The
  available modes are now NXSplitModeSync and NXSplitModeAsync. The
  mode NXSplitModeAsync replaces the two old modes and is now the
  default. Similarly to NXSplitModeEager, it makes the proxy split
  only messages that exceed a size threshold, but the threshold is
  generally smaller than in the previous versions.

  #define NXSplitModeDefault  0
  #define NXSplitModeAsync    1
  #define NXSplitModeSync     2

- Renamed X_NXSplit to X_NXSplitData, X_NXAbortSplit to X_NXSplitEv-
  ent.

- The proxy now enters a drain loop, when in congestion state, and
  waits until the decongestion. Also the X channels are drained if
  blocked.

- The select is restarted immediately if only the proxy is selected
  and the data read doesn't make a complete message.

- The size of the shared memory segment used by the X server proxy
  is now negotiated at startup and the selected value is printed in
  the session log.

- Added the option 'encrypted'. It tells the local proxy if it is
  running as part of a program providing encryption of the point to
  point communication. This is useful to determine if the proxy can
  block waiting for data or needs to yield to the client to let it
  handle the remote connection.

nxcomp-2.0.0-55

- Fixed handleRestart() to correctly send the end-split event only
  after the split sequence has been closed by the client.

- Fixed a possible memory error in the Keeper class occurring if the
  image caches were erased while in the middle of a loop.

nxcomp-2.0.0-54

- Added a '--parent' option when running the client in dialog mode.
  This is the process id that needs to be signaled in the case the
  user chooses to do so.

nxcomp-2.0.0-53

- Solved a bug in the abort split procedure. The procedure assumed
  that the split had to be at the head of the list. This may not be
  the case if the split was loaded from disk asynchronously, after
  a different split with the same checksum was recomposed.

- By defining STRICT in Loop.cpp, the number of available tokens is
  set to 1. This can be used to trigger the congestion more often
  than it would possible when testing the software with the default
  settings.

- Added more debug output to the procedures handling the streaming
  of the images.

- Reset the channel's split pending and congestion flags in the fin-
  ish procedure. Not doing so caused some additional loops at chan-
  nel shutdown.

- Fixed a bug on Cygwin that prevented the log files to be succes-
  sfully reopened when the size limit was exceeded.

- Failures to write to the agent transport are reported sooner when
  the channel is finished. This saves a few more loops at session
  shutdown.

nxcomp-2.0.0-52

- Started implementing a new handler to let the agent include arbit-
  rary data in the transport statistics. The parameter, in this case,
  is a pointer to a pointer to a null terminated string. The pointer
  is set at the time the handler is registered. The pointed string
  will have to be filled by the agent with its statistics data. For
  now, only the interfaces and the stubs exist.

- Disabled the timestamp cache as it still causes rounding problems
  when calculating the current bitrate.

nxcomp-2.0.0-51

- Removed SelectPackMethod(), not used anymore, from Pack.c.

nxcomp-2.0.0-50

- Added the X_NXFinishSplit request. It forces the proxy to comple-
  tely transfer all the split messages for the given resource, and
  then notify the agent.

- Fixed the statistics to not account the split bits to the control
  token.

nxcomp-2.0.0-49

- Fixed a bug that caused the split timeout to be reset even if a
  different channel had splits to send.

- Removed an error condition that arose when a split operation was
  requested by a different channel than the first to connect. The
  reason is that an auxiliary channel (like the one created by the
  server to store the keyboard configuration) can be the first to
  open a connection to the X server, then can come the agent, that
  is actually using the NX opcodes. The proxy will now simply print
  a debug message. 

- Removed a further error condition that was assumed by the proxy
  if a pending flush was detected while no channel was selected for
  output. This can actually happen if the channel was dropped and,
  in the meanwhile, the user requested the proxy statistics.

nxcomp-2.0.0-48

- Added a 'type' parameter to NXTransFlush(). The new NX_FLUSH_IDLE
  type should be used by agents when they have finished handling all
  their clients and are going to wait for more input. This is the
  case, for example, of the X agent returning from WaitForSomething()
  after having set a small timeout to find out if there are clients
  ready, or the case of a RDP agent finding that there are no opcodes
  to read from the RDP server. The 'idle' flush should be requested
  also when the X11 agent is waiting for a split to complete. When
  the flag is used, the proxy uses the available bandwidth to encode
  more low-priority data, like the payload of images being streamed.

nxcomp-2.0.0-47

- Added a new RGB image encoder. For now the encoder uses a static
  Z stream to compress the image data in the destination buffer and
  allows the agent to use the simplest encoding by still separating
  the alpha channel from the image data. The new encoder can be the
  the base for implementing color reduction by dithering or a color-
  mapped translation of the image similar to PNG, but without the
  PNG overhead and with the colormap being sent to the client using
  the NXSetUnpackColormap() opcode.

- Put the routines implementing static deflating and inflating of
  a ZLIB buffer from the Compressor and Decompressor classes to Z.h
  and Z.cpp, so that they can be reused by the new RGB encoder.

nxcomp-2.0.0-46

- Fixed a segfault arising when trying to start a child without the
  NX transport.

nxcomp-2.0.0-45

- Undefined the MATCH directive.

nxcomp-2.0.0-44

- Changed the encoding of the X_CreatePixmap, X_CreateGC, X_Render-
  CreatePicture, X_CreateWindow, RenderCreateGlyphSet.cpp. The Xid
  of the drawable is included in the checksum of the X_CreateGC and
  X_CreatePixmap message. This leverages the way GC and Pixmaps are
  allocated in the X agent to obtain better compression.

- Removed the code handling the reset of the proxy connection. This
  functionality was unused since when the persistence is handled by
  the agent.

- Added a specific section in the statistics output for the render
  extension.

nxcomp-2.0.0-43

- Fixed a bug that could have caused the sending of multiple 'end
  split' messages for the same split sequence.

- Added handling of the option 'strict'.

nxcomp-2.0.0-42

- Added a missing channel switch directive when encoding abort split
  messages at the server side. This could cause a decoding error on
  the client.

nxcomp-2.0.0-41

- Ensured that the link is flushed immediately on the X server side
  when important keyboard or mouse activity is detected in input.

- Implemented a timestamp cache to avoid calling gettimeofday() when
  it is enough to use the last timestamp gotten from the system. The
  cache can be disabled by undefining CACHE_TIMESTAMP in Timestamp.h.

nxcomp-2.0.0-40

- Added the karma delay field to the X_NXGetControlParameters reply.

- Solved a bug with the decoding of split messages likely to happen
  only when using link type LAN.

nxcomp-2.0.0-39

- Implemented separate flow control for the generic channels and the
  image streaming data.

- Improved the split procedure to load a message from the disk cache
  if found after it was originally discarded because locked.

nxcomp-2.0.0-38

- Renamed the 'shmem' option as 'shseg'. The 'shmem' option becomes
  specific to the agent and will be used together with 'shpix' option
  to indicate if, respectively, the shared memory extension and the
  use of the shared pixmaps must be enabled in the agent server. The
  new option will be instead used by the proxy to determine the size
  of the memory segment shared between the proxy and the X server.

- Added the 'shmem', 'shpix', 'keyboard' and 'clipboard' to the list
  of ignored options. The 'keyboard' option should become a synonym
  of 'kbtype'. The 'clipboard' option will tell the NX agent if the
  clipboard support should be disabled for security reasons.

nxcomp-2.0.0-37

- Ensured that, when running a raw session, the persistent cache is
  loaded and saved only once in the session lifetime.

- Added the 'product' keyword to the list of recognized options. The
  option is ignored by the proxy, but can be used by the client or
  server to facilitate the support.

nxcomp-2.0.0-36

- Added the remote version number in the X_NXGetControlParameters
  reply.

- Solved a bug related to the removal of the split stores.

- Removed the unused code dealing with the flush timeouts.

nxcomp-2.0.0-35

- Added an alert to notify the user about the failure of the XDMCP
  session.

nxcomp-2.0.0-34

- The active channels and the agent resources are now stored in a
  list container.

- Added the X_NXFreeSplit request. The request is currently unused
  because the split store is freed automatically when it becomes
  empty, but can be useful in future if we want to implement other
  otpimizations.

nxcomp-2.0.0-33

- There is now a split store for each agent resource. This allows
  the proxy to divide the bandwidth among the agent resources.

- A simple round-robin load-balancing is implemented, dividing the
  bandwidth equally among all the split stores.

- If there is a previous request being streamed for the same res-
  ource, cached messages are appended to the split store and then
  committed in the original order. This makes possible to stream
  the colormap and the alpha channel data even if the split invol-
  ves multiple PutImage or PutPackedImage operations in a single
  start-split/end-split sequence.

- Implemented the commit store class. Made the commit store expand
  the message in the final buffer, instead of leveraging the mes-
  sage store.

- Channels having a drop command pending are checked before trying
  to load or save the cache. This prevents a potential problem with
  the protocol violation error that could be reported by the client
  side proxy.

- The current bitrate is now calculated at the time the transport
  actually writes the data to the network, not at the time the data
  is appended to the transport by the upper layers. The reason is
  that the data can be compressed by the stream compressor and so
  we can calculate the real bitrate only after having flushed the
  ZLIB stream. This fixes the wrong numbers that could be reported
  by the statistics in the previous versions.

nxcomp-2.0.0-32

- More progress in the implementation of the new image streaming.
  This version has been tested to work when connecting to an 1.5.0
  server. Due to the significant changes in the way the streaming
  works in the newer versions, split is never activated by a 2.0.0
  server connecting to a 1.5.0 client.

- Fixed the NXTransClose() function to check if the fd matches the
  NX agent connection.

- Fixed the includes in Socket.h to compile on Solaris and MacOSX.

nxcomp-2.0.0-31

- Changed the NX transport functions that didn't require a NX fd
  parameter to include one. The value can be NX_FD_ANY to signify
  any running NX transport.

nxcomp-2.0.0-30

- More progress in the new implementation of image streaming.

- This version is apparently compatible with the 1.5.0 client but
  needs further testing.

nxcomp-2.0.0-29

- Implemented the NXTransHandler() interface and made the proxy
  use the callback, when it is installed, instead of the notifi-
  cation events.

- Modified the agent transport to report an EOF condition as soon
  as the channel is dropped, instead of reporting the error only
  after the proxy shutdown. This allows the agent to handle its
  clients while the proxy is handling the grace timeout.

- Added a test facility to verify if the client and server caches
  match at shutdown.

- More advances in the new implementation of streaming.

nxcomp-2.0.0-28

- Made the session shutdown faster, normally below 1 second. The
  grace time is now 500 ms once all channels have been dropped.

nxcomp-2.0.0-27

- The house-keeping process will now run a number of iterations
  (currently 100) and then will exit. The proxy will check the
  exit code and, if it was requested by the child, will restart
  it. This is intended to keep the memory consumption low, as I
  noted that after a big number of iterations the performance of
  the allocator start to degrade quickly.

nxcomp-2.0.0-26

- Started implementing the NXTransHandler() interface to let the X
  application hook a callback and be notified by the proxy when an
  event occurs. At the moment only congestion events are supported.
  The interface makes possible for the caller to provide a generic
  parameter. This parameter is passed back to the handler function.
  The parameter is expected to be the Xlib display pointer, given
  that the proxy doesn't have access to the Xlib structures.

- Moved all the internal variables shared between Xlib, nxcompext
  and the X server in nxcomp. Declarations and function prototypes
  moved to NXvars.h.

- Removed the NXGetCleanupParameters() and NXGetImageParameters()
  interfaces and the remaining references to the unused display
  buffer and image cleanup functions.

- In this version the images streaming functionality is disabled.
  Because of that, expect compatibility problems when connecting
  to a different nxcomp version.

nxcomp-2.0.0-25

- Forced the end of the session earlier if a shutdown has been re-
  quested by the local side but the remote proxy is not responding.

nxcomp-2.0.0-24

- Changed the loop deleting the file items in Keeper to pick the
  first element instead of looping through the iterator.

- More problems with the libstdc++ allocators. During the tests, I
  found that the Keeper class can leak industrial amounts of memory.
  Valgrind says that the objects that are not freed are the File
  items we allocate in collect(). As this looked suspicious, I log-
  ged the constructors and destructors and can say that everything
  is OK on our side. Unfortunately, by removing the spleeps used
  to let the program work silently in background, one can find that
  the memory occupation still grows by a MB every few seconds. This
  is less a problem on Windows, where the memory occupation remains
  almost constant. See the comment on __USE_MALLOC below.

- Increased the maximum size of a message that the proxy is allo-
  wed to cache to 4MB. This makes possible to cache many replies
  (like the X_QueryFont replies) that often exceeded the previous
  limit.

nxcomp-2.0.0-23

- Fixed a compatibility problem with the 1.5.0 that arose when
  encoding an image with caching and streaming temporarily disa-
  bled.

- Removed the __USE_MALLOC define in Types.h because this is what
  the g++ developers want. I'll try to avoid flames and will not
  comment on this.

- Added a --with-use-malloc configure option. This option should
  be used when building the release packages on GCC versions that
  support it.

- Started fixing the commit procedure to be able to deal with the
  alpha channel.

nxcomp-2.0.0-22

- Prevented channels from being dropped while in the middle of a
  read loop.

- Added a small utility ensuring that the SIGCHLD we receive in
  the main loop can be always identified as pertaining to an our
  child.

- Increased the space available for the control messages at the
  beginning of the encode buffer and ensured that there is always
  enough space for adding a token message, in the case this is
  required by the flush procedure.

- Made all cache files readable only by the user.

nxcomp-2.0.0-21

- Solved a bug in the streaming of images that caused the agent's
  clients to never resume when connected to an old proxy version.

nxcomp-2.0.0-20

- Disabled again streaming of the alpha channel data. By enabling
  it, the agent randomly fails to repaint the exposed regions. The
  reason is to be investigated.

nxcomp-2.0.0-19

- Implemented the split mode NXSplitModeSync. When this mode is
  selected, the proxy will not send data for the split at the head
  of the list until the  remote peer has confirmed that the message
  is not available in the image cache. This is going to be useful
  in combination with the lazy encoding.

- Improved the error detection in the case of failure when saving
  a recomposed split on disk.

- Added X_NXSetUnpackAlpha to the set of requests that is possible
  to stream.

nxcomp-2.0.0-18

- Enabled the 2.0.0 features that were disabled for test purposes.

- Changed the LICENSE file to state that the software is only made
  available under the version 2 of the GPL.

nxcomp-2.0.0-17

- Introduced a new channel of type 'slave'. Opening a slave channel
  should let the proxy fork a new NX client instance (or whatever
  is in the NX_SLAVE environment) and pass to it the channel's desc-
  riptors. This client instance should authenticate the peer, for
  example using the proxy cookie (see how this is implemented in
  nxsensor) and then negotiate the service to be used on the channel.
  This can be used to implement forwarding of arbitrary ports or ad-
  ditional services, like a simple file transfer protocol. For now
  the implementation is incomplete. Opening a slave channel will
  result in the remote proxy just dropping the channel connection.

- The proxy is forcibly flushed at the end of each loop. This is a
  temporary fix until the agents are updated to flush the proxy link
  on demand.

- Added a new alert to be used in the case the RDP session is closed
  and replaced with a new session using the same Windows account.

- Added a forward declaration of class RenderMinorExtensionStore in
  file RenderExtension.h to compile using gcc 4.0.X.

- Added removal of all .orig file when running a 'make clean'.

- The code uses again the 2.0.0 style shutdown (the one waiting for
  the watchdog process to terminate).

nxcomp-2.0.0-16

- Added the NXTransChannel() interface to allow agents to create
  new channels connected to the port that will be forwarded by the
  remote proxy. The function returns 1 on success, 0 if the NX
  transport is not running, or -1 in the case of error. On success,
  the descriptor provided by the caller can be used for all the
  subsequent I/O, including selecting the descriptor to check if
  I/O is possible. The type parameter not only tells to the proxy
  the remote port where the channel has to be connected, but gives
  a hint about the type of data that will be carried by the channel,
  so that the proxy can optimize the compression and schedule the
  traffic on the slow link.

  The type can be:

  NX_CHANNEL_X:     The channel will carry X traffic and it
                    will be connected to the remote X display.

  NX_CHANNEL_CUPS:  The channel will carry CUPS/IPP protocol.

  NX_CHANNEL_SMB:   The channel will carry SMB/CIFS protocol.

  NX_CHANNEL_MEDIA: The channel will transport audio or other
                    multimedia data.

  NX_CHANNEL_HTTP:  The channel will carry HTTP protocol.

  NX_CHANNEL_FONT:  The channel will forward a X font server
                    connection.

  Only the proxy running at the NX server/X client side will be
  able to create a X, CUPS, SMB, MEDIA and HTTP channel. A proxy
  running at the NX client/X server side can create font server
  connections. The channel creation will also fail if the remote
  end was not set up to forward the connection.

  To create a new channel the agent will have to set up a socket-
  pair and pass to the proxy one of the socket descriptors.

  Example:

  #include <sys/types.h>
  #include <sys/socket.h>

  int fds[2];

  if (socketpair(PF_LOCAL, SOCK_STREAM, 0, fds) < 0)
  {
    ...
  }
  else
  {
    //
    // Use fds[0] locally and let the
    // proxy use fds[1].
    //

    if (NXTransChannel(fds[1], NX_CHANNEL_X) <= 0)
    {
      ...
    }

    //
    // The agent can now use fds[0] in
    // read(), write() and select()
    // system calls.
    //

    ...
  }

  Note that all the I/O on the descriptor should be non-blocking,
  to give a chance to the NX transport to run in the background
  and handle the data that will be fed to the agent's side of the
  socketpair. This will happen automatically, as long as the agent
  uses the XSelect() version of the select() function (as it is
  normal whenever performing Xlib I/O). In all the other cases,
  like presumably in the agent's main loop, the agent will have
  to loop through NXTransPrepare(), NXTransSelect() and NXTrans-
  Execute() functions explicitly, adding to the sets the descript-
  ors that are awaited by the agent. Please check the implementa-
  tion of _XSelect() in nx-X11/lib/X11/XlibInt.c for an example.

nxcomp-2.0.0-15

- Some changes aimed at finding a workaround to the unreliability
  of the font server connections. The X server seems to be really
  picky about the network latency, so we try to read immediately
  from the channel just being created, instead of waiting for a
  new loop. Additionally the proxy will keep reading from the font
  server connections even after the maximum length of the frame
  is exceeded, in the hope that it will be able to send a complete
  message in a single frame.

- updated the various internal consistency tests run when the TEST
  or INFO flags are enabled.

nxcomp-2.0.0-14

- It seems that the closure of the socket sometimes takes several
  seconds, on Windows, after the connection is broken, with the
  result that the alert can be shown long after the user has gone
  after the failed session. We now skip the closure of the proxy
  link on Windows if we are about to exit.

- The code uses the 1.5.0 style shutdown (the one waiting for the
  term signal in the main process) to be able to test the library
  with the old server. To activate the new shutdown procedure be
  sure the define SHUTDOWN_COMPATIBLE_1_5_0 is unset.

nxcomp-2.0.0-13

- Ensured that static members in channels are reset at the time a
  new proxy is created.

- Adjusted the token parameters for link modes other than modem.

nxcomp-2.0.0-12

- Handled compatibility with 1.X.X versions not sending the count
  field in the token.

- The proxy link is now flushed automatically if the agent has not
  set the deferred flush mode.

nxcomp-2.0.0-11

- Significant modifications to allow the proxy to keep data in the
  encode buffer across multiple loops, until the data is flushed
  because an explicit request by the agent or. Besides maximizing
  the amount of data sent in a single frame, this makes it possi-
  ble to move any packet coalescence strategy in the agent, while
  still using an 'immediate' flush policy.

- Modified the procedure handling the proxy congestion. Each token
  now carries a counter which represents the multiple of TokenBytes
  data bytes that need to be confirmed by the remote end. The ser-
  ver side proxy will need to reply by including the value of the
  counter. When sending a new token, the tokens are decremented by
  the counter and the client side proxy enters in congestion when
  the available tokens becomes zero or negative.

nxcomp-2.0.0-10

- Implemented specific encoding of the X_NXSetCacheParameters
  request.

- Handled the compatibility with older versions not supporting the
  new request. In this case the request is handled at the local si-
  de, preventing the X requests to be cached or split, even without
  the cooperation of the remote side.

nxcomp-2.0.0-9

- Modified the shutdown procedure to not rely on the TERM signal
  when the proxy needs to wait for the server to complete. We will
  now print the following message in the session log:

  Info: Watchdog running with pid 'n'.
  Info: Waiting for watchdog process to complete.

  The NX server will have to kill the process with the given pid
  to mandate the proxy shutdown. This solves the TR11C01192.

- Added the X_NXSetCacheParameters request. It tells to the proxy
  how to handle caching of X requests, namely if requests should
  be stored in the memory cache, split in smaller data chunks and,
  in the case of images, saved on disk in the persistent image
  cache. The request affects all the X messages until the proxy
  is further configured.

- Enabling and disabling loading and saving of persistent images
  due to a X_NXSetCacheParameters is still to be implemented.

- Implemented font channel compatibility with older versions. If
  the font port is queried and the remote proxy doesn't support
  the tunneling of font server connections, an empty string is
  returned.

- The option 'resize', used by agents, is now silently ignored.
  This solves the TR10C01061.

- Added the missing reference to TR08C000981.

nxcomp-2.0.0-8

- Discarded the first idea of setting the font path implicitly in
  the X server side proxy, by means of a multi-pass operation and
  added the NXGetFontParameters() request and reply. If the proxy
  has been configured accordingly, the request returns the X font
  path that can be set by the agent to tunnel the font server con-
  nections through the NX link.

- Changed the parsing of the font server port to be able to handle
  the defaults.

nxcomp-2.0.0-7

- More work on tunneling of font server connections.

- The synchronization requests are now replied at the same time
  as a new request is received, by checking if the channel has
  already gone past the awaited sequence number. This avoids the
  delay caused by the previous versions in the case the expected
  reply had been handled asynchronously, inside the write loop.

nxcomp-2.0.0-6

- The display is again passed to the client using the -display
  parameter.

- The option 'type' is now ignored at X server side. Support at
  the X server side had been left for compatibility with older
  versions of the proxy.

- Added direct support for more session types, namely 'unix-cde',
  'unix-xdm', 'unix-console', 'unix-default'. The 'unix-console'
  and 'unix-default', similarly to 'unix-application', will now
  trigger the 'raw' mode.

nxcomp-2.0.0-5

- Renamed Png.h and Png.cpp to Pgn.h and Pgn.cpp to avoid name
  clashes on Windows.

- The distclean target now removes the autom4te.cache directory.

nxcomp-2.0.0-4

- Added the 'kill=n' option to let the proxy add the process to
  the list of daemons that must be terminated at session shutdown.
  Multiple 'kill=n' options can be specified. The proxy will send
  to each process a SIGTERM signal before exiting.

- Removed the code that forcibly disabled the RENDER extension on
  Solaris. Eventual compatibility problems will be now handled in
  the NX agent.

- The path to the client executable is now assumed to be in the
  NX_CLIENT environment. If the variable is not set, the proxy
  will guess the location based on the target platform. This is
  part of the FR11C01215.

nxcomp-2.0.0-3

- More code cleanup. Protocol step 5 and cache step 2 are assumed
  by default. This allows us to remove the various channel caches
  that are not used anymore.

- Removed the outdated encodeBegin() and encodeEnd() methods.

nxcomp-2.0.0-2

- Added compatibility with the 1.5.0 and 1.4.0 versions. Protocol
  version older than the 1.4.0 will cause the proxy to drop the
  connection.

- Rewritten the version negotiatiation logic to better handle the
  compatibility between the local and the remote version.

- Removed the conditional code handling the compatibility with
  the protocol encodings from 1 to 4.

- Small adjustments to the session negotiation procedure to give
  more hints in the case of errors. A dialog is now issued if the
  remote proxy drops the connection due to a probable authentica-
  tion failure or when the remote proxy version is not compatible
  with our version.

nxcomp-2.0.0-1

- Opened the 2.0.0 branch based on nxcomp-1.5.0-80.

nxcomp-1.5.0-80

- Fixed a bug that prevented the Unix socket to be created in the
  right directory. This affected the ability of the server to run
  NX sessions without the agent encoding.
  
nxcomp-1.5.0-79

- Solved a bug in the 15 to 16 bpp conversion for RDP sessions.

- Corrected a typo in the PANIC message of Unpack16To24 function.

- Optimized the 16 bpp RDP decompression routine.

nxcomp-1.5.0-78

- Implemented the FR11C01215. The following environment variables
  are checked to determine the location of the relevant NX direct-
  ories:

  $NX_ROOT   The root NX directory is the place where the session
             directory and the cache files are created. This is
             usually overridden by passing the 'root=' option. By
             default, the root NX directory is assumed to be the
             directory '.nx' in the user's home.

  $NX_SYSTEM The directory where NX programs and libraries reside.
             If not set, the value is assumed to be '/usr/NX'.
             Programs, libraries and data files are respectedly
             searched in the 'bin', 'lib' and 'share' subdirecto-
             ries.

  $NX_HOME   The NX user's home directory. If $NX_ROOT is not set
             or invalid, the user's NX directory is created here.

  $NX_TEMP   The directory where the X11 Unix Domain Sockets and
             all temporary files are to be created.

  $NX_CLIENT The full path to the nxclient executable. If the va-
             riable is not set, the nxclient executable will be
             run assuming that the program is in the system path.
             This can be useful on platforms like Windows and the
             Mac where nxclient is located in a different direct-
             ory compared to the other programs, to make easier
             for the user to execute the program from the shell.

  Other environment variables:

  $HOME      The variable is checked in the case $NX_HOME is not
             set, null or invalid.

  $TEMP      The variable is checked whenever the $NX_TEMP direct-
             ory is not set, null or invalid.

  $PATH      The path where all executables are searched, except
             nxclient. If $NX_CLIENT is not set, also the client
             executable is searched in the system path.

  $XAUTHORITY
             This is the file containing the X11 authorization
             cookies. If not set, the file is assumed to be in
             the user's home (either $NX_HOME or $HOME).

  $LD_LIBRARY_PATH
             System-wide library search order. This should be set
             by the program invoking the proxy.

- Extended the usage message to document the relevant environment.

- Made the WaitChild() function interruptible. This allows the user
  to terminate the connection procedure immediately, by sending a
  signal to the proxy process while an abort dialog is shown in the
  foreground. This is part of the solution to the TR11C01216.

- Implementation of the FR11C01215 is not yet complete. The client
  program and the nxauth/xauth are still searched using the previ-
  ous logic. In particular, the NX_CLIENT variable is ignored.
	
nxcomp-1.5.0-77

- Corrected the typo in the alert dealing with VNC authentication
  failures. This solves the TR11C01199.

nxcomp-1.5.0-76

- Added the missing initialization in the client and server proxy
  constructors.

nxcomp-1.5.0-75

- Starting from this version the build procedure will automatically
  create a DLL on Windows.

- Disabled exceptions in the compiled code.

- Disabled run-time type information to further reduce the size of
  the executable.

- Compiling with GCC 4.0.0 and -fno-exceptions produces a warning
  in some files, due to control apparently reaching the end of a
  non void function. This is bogus and has been confirmed to be a
  GCC 4.0.0 bug solved in more recent versions.

nxcomp-1.5.0-74

- Imported changes from nxcomp-1.6.0-4.

- Solved a compilation error on Solaris and MacOSX platforms.

- The 'font' option now accepts either a numeric value (for a TCP
  port) or a 'unix/:port' or 'tcp/:port' specification. In the case
  of Unix ports, we assume that a port specification "unix/:7100"
  corresponds to the "/tmp/.font-unix/fs7100" socket and a port like
  "unix/:-1" corresponds to "/tmp/.font-unix/fs-1".

- An absolute file path is also accepted as a valid socket. This is
  useful to test the forwarding of the font server connection, for
  example by running a normal X client and pointing the socket to
  the X server.

- Protocol step 7 is now only assumed when connecting to a remote
  proxy version 1.6.0 or later.

nxcomp-1.5.0-73

- Use the include files from nx-X11 if the nx-X11/include directory
  is found. The previous configure checked the presence of nx-X11/
  exports/include, that might not be built at the time this library
  is compiled.

nxcomp-1.5.0-72

- Fixed a problem on AMD64 due to the size of the area pointed by
  the argument of NXTransReadable(). The ioctl() requires a pointer
  to an int, at least on Linux. The original _X11TransBytesReadable()
  function simply calls the ioctl() by passing the pointer that is
  provided. Returning the value assuming a pointer to a long crashes
  some applications, among them xterm. Now NXTransReadable() follows
  the same schema of the ioctl() call and stores the result assuming
  a pointer to an int.

nxcomp-1.5.0-71

- Ensured that the NX trasport is destroyed on NXTransExit() even if
  the parent has overridden our signal handlers.

- Added attribute 'noreturn' to NXTransExit().

- Small change to the shutdown procedure to send the "Waiting for a
  further signal" just after the watchdog is started.

nxcomp-1.5.0-70

- Added the definition of protocol step 7. The new protocol step is
  implicitly assumed when activating the font server channel, so that
  NX clients and servers may decide what to do by verifying the patch
  version of the peer software. This makes possible to activate the
  feature without stepping up the 1.5.0 version of the software.

nxcomp-1.5.0-69

- Added the -fPIC GCC flag when compiling on AMD64 architectures.

- Small changes to configure.in to have specific CFLAGS.

- Created a new configure using autoconf 2.59.

- Added the 'mask=n' option to determine how channel ids are distri-
  buted between client ans server. By default, channels whose ids are
  multiple of 8 (starting from 0) are reserved for the client side.
  All other channels can be allocated at the NX server side.

- A check is missing on the protocol supported by the remote side,
  so it is likely that mixing this version with older 1.5.0 will not
  work.

- The release has the debug logs enabled.

nxcomp-1.5.0-68

- Added provision for opening new channels on both client and server
  side. This required small changes to the way channel ids are mapped
  and retrieved, so that both sides now support bidirectional mapping
  of file descriptors to channels.

- Made the code handling allocation of new generic channels to reside
  in the base Proxy class.

nxcomp-1.5.0-67

- Renamed the 'embedded keyboard' channels as 'aux' channel.

- Renamed 'samba' channels as 'smb'.

- The 'samba' and 'smb' options can now be used interchangeably. The
  same applies to the 'keybd' and 'aux' options, used to set up the
  auxiliary X channel.

- Added a new font channel. The channel is used to forward X font
  server connections from the X server on the NX client to the remote
  NX server. The channel is not yet functional and requires change to
  the channel allocation mechanism.

- Added a common interface to create new listening sockets. This is
  currently used for additional services, but not for the X display
  sockets.

- Simplified the interface used to accept new connections to channels 
  being forwarded.

- Removed the -V option as nxproxy is not using dlopen() anymore.

- Removed the inclusion of ClientChannel.h in Proxy.cpp that caused
  test symbols to be reverted to undefined.

nxcomp-1.5.0-66

- Made failures setting the IPTOS_LOWDELAY on the proxy socket to
  cause a warning, instead of an error.

- Made the clean target delete the Cygwin specific libraries.

- Updated the configure and Message.h to deal with GCC 4. Solves the
  TR08C000981.

nxcomp-1.5.0-65

- Removed the warning issued on parsing the agent option 'rootless'.
  Solves the TR08C00959.

- MacOSX 10.4 defines socklen_t. Made the definition conditional so
  that we can still support older versions. Solves the TR07C00926.

- Updated the ChangeLog to include references to the solved TRs.

nxcomp-1.5.0-64

- Imported the 1.6.0 changes in the maintenance 1.5.0.

- Removed a wrong assertion that might cause the session to fail
  when the software was compiled with TEST enabled in Proxy.cpp.

- The nxclient dialog process is signaled with SIGKILL on Windows,
  as the SIGTERM is ignored. This solves the TR07C00929.

- Ensured the JPEG error flag is always set before jumping out of
  the Jpeg decompression.

- Skipped errors encontered setting the TCP_NODELAY flag on Mac.
  Solves TR08C00940.

- Few cosmetic changes.

nxcomp-1.5.0-63

- Ensured that the parent is checked often in the keeper process,
  so that, in the case of a premature death, the child is exited
  earlier.

nxcomp-1.5.0-62

- Some performance tuning of the LAN and WAN link modes.

nxcomp-1.5.0-61

- Fixed the problems arisen with loading or saving the image files
  on Windows by forcing the streams to be opened in binary mode.
  These problems have been triggered by the recent Cygwin upgrade.

- Removed the logs that had be left enabled for test purposes.

nxcomp-1.5.0-60

- Made all errors encountered while unpacking an image just print
  a warning in the session log. Such errors are not fatal but the
  client monitors the state of the session at startup, so that by
  marking image decompression errors as such may cause the session
  to be aborted.

- Marked as warnings also errors encountered by trying to load an
  image from disk.

nxcomp-1.5.0-59

- When detected, the CTRL+ALT+SHIFT+ESC sequence is removed from
  the event stream.

- Also modified the message in the session log to issue a warning,
  instead of an error.

nxcomp-1.5.0-58

- Added a setjmp() before yielding the control to the JPEG library.
  This makes possible to recover from the JPEG decompression errors
  that were previously fatal.

- In the commit split request, the client id is now encoded by the
  client channel beside the propagate flag. The client id is igno-
  red by the decoding party. As in the old protocol versions, the
  committing client is taken from the client id that was originally
  sent together with the packed image.

- Fixed the compilation problem when defining OPCODES in Misc.cpp.

- Skipped the synchronous flush of the proxy link when connecting
  to a previous NX version.

- Ensured that the new alerts are only requested when connected to
  a compatible proxy.

- Ignored the option 'fullscreen', targeting the agents.

nxcomp-1.5.0-57

- Added more alerts and changed the name of those dealing with the
  resume of a session.

- Added the MIXED define. When set, the proxy will let all logs go
  to the standard error. This is useful to interleave the Xlib log
  output with the proxy output in a single file.

- Added a new alert to report an I/O error at agent reconnection.
  This is one of those alert that can't be actually shown, but are
  included to offer a consistent view to the agent implementation.

nxcomp-1.5.0-56

- Added the split mode NXSplitModeSync. By selecting this mode,
  the proxy will try to empty the split store immediately, until
  all messages marked in such mode will be synchronized. The im-
  plementation is left to future versions.

  #define NXSplitModeSync     3

- Added the messages specific to RDP and VNC sessions in NXalert.h.
  Included are also a few alerts related to changes to the color
  depth and desktop geometry that may be eventually mandated by the
  remote server.

- Corrected a typo in NXalert.h

nxcomp-1.5.0-55

- Added the 'mode' field in the X_NXStartSplit request. It determi-
  nes the strategy that the proxy will adopt to handle the image.
  If set to 'eager', the proxy will only split the messages whose
  size exceeds the split threshold (the threshold can be found in
  the X_NXGetControlParameters reply). If mode is set to lazy, the
  proxy will split any image that it is not able to find in its
  cache.

  The opcode and the two available modes are defined in NXproto.h,
  currently:

  #define NXSplitModeDefault  0
  #define NXSplitModeEager    1
  #define NXSplitModeLazy     2

- All requests related to image streaming now carry a 'resource' id.
  The id is currently ignored by the proxy in the case of X_NXCom-
  mitSplit requests.

- Added a new NXSetSplitMode() request. It determines the strategy
  that the proxy will adopt to stream the images. If set to 'eager'
  the proxy will only split the messages whose size exceeds the
  split threshold, otherwise it will  split all the images, regard-
  less their size. This is in preparation of the lazy encoding in
  agent.

- Slightly decreased the startup timeout compared to the value it
  had in the 1.4.0. This timeout is used to retain the images used
  during session startup in the persistent cache.

nxcomp-1.5.0-54

- Modified the text of the begin-reconnection alert to mention the
  speed of the connection detected by the agent.

nxcomp-1.5.0-53

- Reworked the handling of the abort-split events issued by the re-
  remote proxy so that we now finalize the procedure and restart the
  client asynchronously, in the middle of the write loop.

nxcomp-1.5.0-52

- Rewritten the internal interface to the notification events. There
  are now five different split notification events:

  NXNoSplitNotify        The operation didn't cause any actual split.
                         The client can be immediately restarted.

  NXStartSplitNotify     A split is ongoing. The client should be
                         suspended until the end of the split.

  NXCommitSplitNotify    A complete request has been recomposed. The
                         client can commit the given request to the
                          X server.

  NXEndSplitNotify       The split operation was duly completed. The
                         client can be restarted.

  NXEmptySplitNotify     No more split operation are pending. The
                         agent can use this information to implement
                         specific strategies, requiring for example
                         that all messages have been recomposed at
                         the remote end. This can include updating
                         the drawables that were not synchronized
                         because of the lazy encoding.

- Removed the X_NXSync and X_NXKarma operations, not used anymore by
  the NX agents.

- Increasing or decreasing a timeout makes it respectively equal to
  the base timeout or to the base timeout / 4.

nxcomp-1.5.0-51

- Improved the mechanism by which synchronization replies are sent
  to the X client proxy.

- Using the leftPad field as passed by the nxagent 1.5.0-58 doesn't
  seem to work with the MIT-SHM. The workaround is to disable the
  MIT-SHM operation in the case of 1 bpp images.

- Removed the limitation on the size of the shared memory segment
  that had been introduced for test purposes.

nxcomp-1.5.0-50

- Solved compilation problem when --with-info was not given.

nxcomp-1.5.0-49

- Improved support for color matching from 15 and 16 bpp to 24 and
  32 bpp in RDP sessions.

- Solved TR05C00910. This was about "shadows" that might appear in
  RDP sessions when small elements like tooltips were drawn.

nxcomp-1.5.0-48

- Added a 'commit' field in X_NXCommitSplit request. When zero, the
  X server side proxy will unlock the message in the message store,
  without actually committing the image to the X server. The new
  field required changes to the encoding. This means that this ver-
  sion is not compatible with older 1.5.0 nxcomp releases.

- Added a new control message. This is used by NXTransFlush() to for-
  ce a roundtrip between the proxies and speed-up the handling of
  the synchronous replies.

nxcomp-1.5.0-47

- Made the timeouts dynamic, based on the user input and the current
  bitrate.

- Set the available tokens to 8. This allows for 16 KB to be sent on
  a modem before having to wait for a reply.

- Added provision for removing a dialog on the remote end. This can
  be used, for example, to get rid of a message that was displayed
  by the agent at the beginning of a lengthy operation.

- Fixed a fault that arose when trying to run the proxy on a display
  whose name began with the 'nx' string.

- Running a client or server session on a display host beginning with
  'nx' should be now possible.

- Flush is now always immediate when there is already data queued in
  the TCP socket.

nxcomp-1.5.0-46

- Created the NXalert.h header from Alert.h to share the alert codes
  with the agents. The new NXTransAlert() interface can be used to
  start an alert on the remote side.

- Created the NXTransParse*() and NXTransCleanup() wrappers.

- Temporarily using the single-dash style when passing parameters to
  nxclient until the double-dash style is fixed.

nxcomp-1.5.0-45

- Motion events are now flushed at the time the X server channel is
  sending the token reply.

- Renamed NXDialog() to NXTransDialog() and added a window ID parame-
  ter, to be used by the agent when starting the "pulldown" dialogs.

- Also renamed the other NX utility functions.

nxcomp-1.5.0-44

- Solved a bug that prevented auxiliary X connections from working
  with the agent.

- Added the missing check on the proxy pointer in HandleTimer() as
  it may be actually called before the proxy is created.

nxcomp-1.5.0-43

- Started tuning the performance. For now, the available tokens are
  set to an improbable value of 10000.

nxcomp-1.5.0-42

- Disabled the X server side remote expose events for test purposes.
  This is intended uncover the display problems introduced by the
  new handling of exposures in the X11 agent.

- Fixed some timestamp related functions to avoid rounding problems.

- Moved the timestamps of split, frame and flush from the Control
  to the Proxy class.

- Made the X server side proxy to skip updating the counters related
  to token management.

- Made also the X server side use deferred flushes.

- Modified handleFrame() to manage both pings and data frames and
  send the token before the actual write operation.

- Cleaned the pseudo-files used to load the control parameters.

- Cleaned up the FIXME's in the lower layers. More FIXME's remain in
  the frontend classes.

- Added a further counter to the statistics tracking the number of
  network writes performed on the proxy link.

nxcomp-1.5.0-41

- Now the watchdog process doesn't kill the parent. The termination
  event is determined by monitoring the child. This is advisable to
  avoid interfering with the signal handling in agent.
 
- The house-keeping process is not started if differential compres-
  sion (and thus caching of images) is disabled.

- Wait for the watchdog to terminate before starting the house-keep-
  ing process.

- Fixed the problem of gray stripes in white areas when using 15bpp
  RDP compression. This solves the TR06C00916.

- Added a log in Message.cpp to tell when an image is removed from
  the memory cache.

- Removed most of the logs. Only left the logs directly related to
  the deferred flushes.

- Removed a warning due to a missing definition in NX.h.

nxcomp-1.5.0-40

- Added the signal '12' to the set of blocked signal on Cygwin. This
  is what is delivered to the application when it tries to create a
  shared memory segment when the cygserver is not running. The call
  later returns "Operation not implemented", only useful if you have
  survived to the signal.

- Modified the configure script to not link against cygipc.

- Improved error handling in the negotiation phase.

- Reset the last signal received when aborting a connection attempt.
  Not doing that might cause a warning.

nxcomp-1.5.0-39

- Both channels and proxy can now deal with incomplete messages by
  waiting for the full data to become available. This is not going
  to work when the transport is connected to an agent that is run-
  ning in-process, so the timeout must be really small.

- Made the main loop more compact by letting a single function read
  from proxy and channels. The same change applies to writing to
  descriptors that are reported to be ready.
  
- Optimized the loop to report as ready the agent descriptors that
  have become available after the proxy execution phase. 

- Now the proxy will try to asynchronously read from its descriptor
  after having read from the channel.

- Unified the routine setting the routines setting the read and write
  descriptors and the timeouts.

- Unified the routine handling the channel events.

- Reintroduced the last ping timestamp to avoid sending more than a
  single ping every PingTimeout milliseconds.

- The cleanup procedure now waits for the watchdog and house-keeping
  processes to terminate.

- Reverted the change occurred in 1.5.0-35 about the byte-ordering
  problem in decompression of PNG and JPEG images.

- More coding about deferred flushes.

- Relevant debug logs are enabled in the main loop, in the proxy and
  in the channel classes, so use only for testing.

nxcomp-1.5.0-38

- Started the implementation of deferred writes based on the new NX
  transport.

- Solved a problem with the statistics file affecting the Windows
  platform. Basically it seems that Cygwin or the stdc++ library
  don't deal correctly with files that are reopened just after
  having unlinked them.

- Implemented support for 15 bpp RDP bitmaps.

- Added "rdpcolors" and "rdpcache" to the list of parameters that
  are ignored in ParseEnviromentOptions().

- This version has lot of logs enabled and some forced cleanups in
  the case of unexpected conditions. Avoid to use it for long-last-
  ing test sessions.

nxcomp-1.5.0-37

- Now splitting of images is fully disabled when running with link
  LAN. Previously the split was not executed by the proxy, but the
  agent was configured to send the start/end sequence.

- Added the check protecting the proxy from token underflow. In the
  previous code the check was left out to verify the conditions un-
  der which this event might be encountered.

- NXTransWrite() and NXTransWriteVector() allocate a context before
  calling handleRead(), so they can correctly return in the case of
  a cleanup.

nxcomp-1.5.0-36

- Modified the channel write loop to interleave abort split events
  between the writes to the X server socket.

nxcomp-1.5.0-35

- Solved a byte-ordering problem in decompression of PNG and JPEG
  images.

- Changed the handleToken() interface to make explicit if a token
  must be issued because of a ping.

- Small fix to prevent a warning in Jpeg.cpp when TEST is enabled.

nxcomp-1.5.0-34

- Solved a few problems introduced by the rewrite of the read loops
  in channels.

- Added definition of NXCollectInputFocusNotify.

nxcomp-1.5.0-33

- Implemented a new control flow system based on tokens exchanged bet-
  ween the proxies. When the clint side runs out of tokens it stops
  sending data until a new token is returned. Tokens are sent whenever
  the data written to the socket exceeds the amount of data set for a
  scheduled write, so the proxy is free to send a number of smaller
  frames before running out of tokens.

- The reason the new system is introduced is because the old method
  had two outstanding problems:

  - It worked very well when the proxies were directly connected,
    but couldn't reliably detect a link congestion when tunneled
    over SSH.

  - In the attempt of reducing the data queued to the TCP layer, it
    didn't leverage all the available bandwidth.

- Moved the final check on the state of the session at the end of
  execution stage, instead of the beginning. The signals sent by the
  user to request the statistics could be reset before the proxy had
  entered the right procedure.

- Added the session type 'unix-rootless', to be used for single apps
  run with the agent in rootless mode.

nxcomp-1.5.0-32

- Modified the main loop to skip the select when I/O is possible on
  any of the agent descriptors or the proxy link.

- Now the house-keeping process is allocated in the heap instead of
  the stack.

nxcomp-1.5.0-31

- The server channel now performs asynchronous reads from the display
  by interleaving them with data decoded from the remote proxy.

- Improved the handling of the memory-to-memory transport.

nxcomp-1.5.0-30

- Redesigned the handling of the congestion events to work more re-
  liably and to report the events to the remote peer earlier.

- Increased the size of the shared memory segment when the MIT-SHM
  extension is activated.

- Solved a bug that prevented the ping timeout to work as expected.

- Ensured that, when entering the main select(), neither the chan-
  nels or the proxy have pending messages in the read buffers.

- There is now only a single case where we can have pending messa-
  ges, namely in the handling of the MIT-SHM events.

- Solved a bug introduced by the 1.5.0-29 that made the proxy en-
  ter the select with a null timeout.

- Renamed LINK_TYPE_AUTO to LINK_TYPE_NONE in NXproto.h.

nxcomp-1.5.0-29

- Now encoding data from the agent descriptors happens in the same
  context as data is written to the buffer.

- Optimized the handling of the congestion events to avoid running
  further unneeded loops.

- Added timer handling utilities.

nxcomp-1.5.0-28

- Added code providing information about the reason of the failure
  encountered connecting to the local X server. This greatly helps
  when troubleshooting X authorization problems.

- On connection failure a warning message is printed in the session
  log.

- Removed the warning that was previously printed when the MIT-SHM
  extension failed to be initialized on Windows. Shared memory has
  problems on Cygwin and it currently doesn't work in NXWin.

- Reworked the message printed in the case of link failure.

nxcomp-1.5.0-27

- Solved a bug in the connection procedure introduced by 1.5.0-25.

nxcomp-1.5.0-26

- Transformed the errors printed on failure of the fork() creating
  the children into warnings. This can happen quite often on Win-
  dows, due to well known Cygwin problems. See also the ChangeLog
  entry for nxcomp 1.4.0-28. This patch closes the TRSL052278 but
  it's obviously not a long-term solution.

- Set the sticky bit when creating the '/tmp/.X11-unix' directory.

- Modified the Makefile.in to remove the *.out.* files generated by
  Valgrind.

- Updated the README files.

nxcomp-1.5.0-25

- Changed the directory where the client for the Mac is searched if
  it is not found in the system path.

- Modified Auth.cpp to use nxauth also on the Mac.

- Reworked the procedure showing the alert dialog when a timeout is
  encountered in the initial connection.

- Removed the experimental code from the official 1.5.0 branch.

nxcomp-1.5.0-24

- Implemented more experimental classes.

nxcomp-1.5.0-23

- Added the NX_SIGNAL_FORWARD action to NXTransSignal(). This can
  be used to let the proxy call the original signal handler of the
  agent after having blocked the signal.

nxcomp-1.5.0-22

- Ensured that we always have a context, even before creating the
  transport.

- Suppressed the error message printed when passing the -h option.

- Added the experimental code that is currently under development.

nxcomp-1.5.0-21

- Enabled the fake X cookie authentication. This requires checking
  the remote proxy version to verify that the server supports the
  new authorization mechanism.

- It's worth noting that the X client side proxy doesn't care which
  cookie is sent over the connection. The problem is that clients
  connecting to 1.4.0 servers don't have a method to force the ser-
  ver to use the fake cookie. This means that we have to solve the
  problem by letting the proxy check the remote version so that it
  can omit to replace the cookie when connecting to older servers.

nxcomp-1.5.0-20

- Added the NXTransCongestion() function. It returns true if proxy
  is in congestion state.

- Removed an incorrect warning that was printed when calling force()
  for the memory-to-memory transport. The agent could actually re-
  quire multiple loops to read all data queued for it.

nxcomp-1.5.0-19

- Small optimization in NXTransReadable() to run a new NXTransConti-
  nue() loop only after at least RetryTimeout milliseconds are pas-
  sed since the last call and still no data is available. This cuts
  the number of unneeded loops to 1/4th of the total, probably more,
  on faster machines.

- Added NXCollectGrabPointerNotify to NXproto.h.

nxcomp-1.5.0-18

- Minor changes to NXTransContinue().

nxcomp-1.5.0-17

- Moved respawning of a new nxclient instance in the cleanup procedu-
  re. This ensures that the respawn is executed whatever is the rea-
  son of the session shutdown.

- Added a method to force closure of a given channel in proxy.

- Removed code handling the special case triggered on Windows by the
  presence of a NX_SESSION variable in the environment.

nxcomp-1.5.0-16

- Added the NXTransSignal() function to let agents tell to the proxy
  how to handle the standard POSIX signals. Given the SIGINT signal,
  for example, the caller can specify any of the following actions.

  NX_SIGNAL_ENABLE:  A signal handler will have to be installed by
                     the library, so that it can be intercepted by
                     the proxy.

  NX_SIGNAL_DISABLE: The signal will be handled by the caller and,
                     eventually, forwarded to the proxy by calling
                     NXTransSignal() explicitly.

  NX_SIGNAL_RAISE:   The signal must be handled now, as if it had
                     been delivered by the operating system. This
                     function can be called by the agent with the
                     purpose of propagating a signal to the proxy.

  As a rule of thumb, agents should let the proxy handle SIGUSR1 and
  SIGUSR2, used for producing the NX protocol statistics, and SIGHUP,
  used for disconnecting the NX transport.

- The following signals are blocked by default upon creation of the
  NX transport:

  SIGCHLD    These signals should be always put under the control
  SIGUSR1    of the proxy. If agents are intercepting them, agents
  SIGUSR2    should later call NXTransSignal(..., NX_SIGNAL_RAISE)
  SIGHUP     to forward the signal to the proxy.

  SIGINT     These signals should be intercepted by agents. Agents
  SIGTERM    should ensure that NXTransDestroy() is called before
             exiting, to give the proxy a chance to shut down the
             NX transport.

  SIGPIPE    This signal is blocked by the proxy, but not used to
             implement any functionality. It can be handled by the
             NX agent without affecting the proxy.

  SIGALRM    This is not blocked by the proxy, but could be used
             in future.

  SIGVTALRM  These signals are not used and should not be used in
  SIGWINCH   future versions of the library.
  SIGIO
  SIGTSTP
  SIGTTIN
  SIGTTOU

- By calling NXTransSignal(..., NX_SIGNAL_DISABLE) nxcomp will res-
  tore the signal handler that was saved at the time the proxy hand-
  ler was installed. This means that you should call the function
  just after the XOpenDisplay() or any other function used to init-
  ialize the NX transport.

nxcomp-1.5.0-15

- In NXTransContinue(), if the transport is gone, return immediately,
  that is without having to wait until the NXTransSelect() timeout.

- Ensure that NXTransCreate() has a jump context, just in the case
  a subsequent operation would cause a cleanup.

nxcomp-1.5.0-14

- Solved a problem with requests left in the agent's buffer when run-
  ning the NX transport. The agent could have enqueued data to our
  side and checked the available events but requests could not be
  written to the proxy because proxy might not have had a chance to
  enter a new select. We found that this behaviour was triggered by
  _XEventsQueued, so now a new loop is forced when agent is calling
  _X11TransDataReadable. The procedure can be optimized, by avoiding
  an expensive loop when no critical I/O is pending.

- Added a few additional logs to ClientChannel and ServerChannel.

nxcomp-1.5.0-13

- Added the code handling the special cases of an user not specifying
  a proxy cookie or the case of the X authorization file not contain-
  ing a value matching the display. In the first case we'll forward
  the same cookie that was feeded to the proxy, in the second case we
  will forward to the X server a random generated cookie, similarly to
  what SSH does in this same condition.

- Rewritten the command line parser. Removed all the command line
  options parsed on behalf of nxproxy except:

  -C          Specify that nxproxy has to run on the "X client"
              side, listening for connections and impersonating
              an X server.\n\

  -S          Specify that nxproxy has to run in "X server" mode,
              thus forwarding the connections to daemons running
              on the client.\n\

  -V n.n.n    Request nxproxy to load the given nxcomp version.
              This option is only present on Solaris and Linux.

  -v          Print version information.

  host:port   Put at the end, specifies the host and port of the
              listening proxy.

  value=name  Set the NX option to the provided value.

  Multiple NX options can be specified in the DISPLAY environment or
  on the command line, by using the nx/nx,name=value notation.

- The above information is printed on the console when incurring in
  a parse error, together with a list of the available option=value
  parameters.

- Renamed the 'log' option to 'errors'. This makes sense as the de-
  fault name for the log file is actually 'errors'.

- Now the "Established X server connection" message is printed to
  the session log only after the X connection has passed the X auth-
  entication phase. This means that the NX client should become able
  to show the details of the session log whenever the session fails
  due to a cookie problem.

- When selecting the additional services without specifying a port,
  the client proxy will now automatically forward the connections to
  the corresponding well-known ports of the CUPS, SMB and HTTP servi-
  ces. Embedded X keyboard connections will be automatically forward-
  ed to the same display port used to connect to the X server. The
  user will still have to specify the port to be used for the media
  connections as we don't have a suitable well-known port.

- Starting from this version, connections to the keybd port will cre-
  ate real X connection channels. This is required to let connections
  leverage the fake authorization cookie.

- By testing the forwarding of keybd connections I found that, when
  letting X clients connect to the port, it is required to provide
  the X cookie for the unix display. Adding only the TCP cookie will
  not work. For example, by creating a cookie as in:

  xauth add localhost:2009  MIT-MAGIC-COOKIE-1  6f...f4

  And running:

  xterm xterm -display localhost:2009

  You will get the following error:

  Xlib: connection to "localhost:2009.0" refused by server
  Xlib: No protocol specified

  Adding also the unix cookie will fix it:

  xauth add localhost/unix:2009  MIT-MAGIC-COOKIE-1  6f...f4

  This seems to be a Xlib problem, with Xlib trying to get the cookie
  for the UDS port even if the TCP port was requested by the user.

- Fixed a bug that prevented the nxclient dialog to be displayed when
  the session was abruptedly shut down.

- Fixed the compilation error on Apple MacOSX due to the sa_restorer
  field in sigaction. As long as this field is present on Linux we
  will keep following the safer route and will set it explicitly to
  NULL.

- Included what needs to be included in Process.cpp to compile with
  older gcc.

nxcomp-1.5.0-12

- Implemented a replacement for the popen() and pclose() that do not
  rely on a shell to run the command. They were required on Windows,
  where we don't ship a suitable shell in the install.

- Removed code forcing the PATH to include the bin directory on
  Windows.

nxcomp-1.5.0-11

- Forced Auth.cpp on Windows to have the directory containing the
  nxauth executable in the PATH. This is just for testing, until
  nxclient is fixed.

- Fixed compilation errors on Cygwin and Sun.

- Removed the NX_FORCE_* stubs.

nxcomp-1.5.0-10

- Modified the memory management policies in ReadBuffer to fit all
  the available bytes in a single buffer allocation.

- The locateMessage() methods now give hints on the amount of data
  that has to be read.

- The read loop in channel now doesn't yield in the case of prio-
  ritized messages. This is experimental.

- Removed the check on isTimeToYield() between encodings of multi-
  ple messages. This is aimed at reducing the risk of leaving pen-
  ding messages in channels.

- Modified the channels' read loop to always read all the available
  data.

- Disabled the log output that was selected when compiling with the
  configure option --with-info. This leaves space for other log out-
  put to be selected for more up-to-date scopes.

- Implemented the NXTransReadVector() and the NXTransWriteVector()
  functions to replace READV() and WRITEV().

- Implemented memory-to-memory communication between the agent and
  the NX proxy by making use of the NXTransAgent() interface in the
  nx-X11/lib/X11/Xtranssock.c file.

- Added a check in NXTransSelect() for the EBADF and, on Solaris,
  the EINVAL errors. It can happen in the X11 code that a descript-
  or has become invalid before it is removed from the managed set 

- Rewritten the signal handling functions to restore the old actions
  and masks when the NX transport is destroyed.

- Added a NXTransAgent() function to let agents tell the proxy which
  descriptor must be used for the controlling connection. Setting a
  controlling connection has the effect of disabling further X client
  connections and makes the proxy terminate when the channel is shut
  down.

- Solved a problem with setting the initial timeout in the select().

- Modified the Makefile.in to not include -Wno-deprecated when compi-
  ling C programs.

nxcomp-1.5.0-9

- Fixed a problem that prevented the 1.5.0-8 to work on the NX server
  side.

- This version has NX_FORCE_NULL_LISTEN_OPTION and NX_FORCE_NEW_SES-
  SION_OPTION undefined, so it should work in a way that is compati-
  ble with the old nxcomp.

nxcomp-1.5.0-8

- The new code comes with a preliminary integration of nxcomp with
  SSH. It is now possible to create the NX transport by just calling
  the "switch" command as in the following example:

  NX> 299 Switching connection to: NX options: ...

- Other possible forms for the NX switch command are:

  NX> 299 Switching connection to: NX mode: ...

  NX> 299 Switching connection to: NX mode: ... options: ...

  Or just:

  NX> 299 Switching connection to: NX

  The "mode" parameter is there to provide a way to run both enc-
  rypted and unencrypted connections. Possible values are "encrypt-
  ed", "unencrypted" or "default", the latter being an alias for
  "encrypted". Unfortunately I was not able to test unencrypted
  connections, so this may or may not work.

- The top-level process can create the NX transport layer by calling
  NXTransCreate(). The user has to set up a socket pair and pass the
  higher descriptor to nxcomp. nxcomp will later monitor its end, by
  reading and writing NX-encoded traffic. The user has to call the
  NXTransExecute() function as often as it is possible, by letting
  first NXTransPrepare() combine the sets of NX descriptors with the
  descriptors that are used inside its process. A custom NXTransSel-
  ect() is provided to optionally replace the original select(). This
  function saves the original error code and the number of selected
  descriptors upon exit, so the user can call it, restore the original
  values as they were returned by the select() and run the rest of
  the loop unmodified.

- Future versions of the library should provide appropriate methods
  for passing data to and from the proxy by means of a memcpy(), so
  that it will be possible to remove the even minimal TCP overhead.

- Note that integration is far from complete. More work is required
  especially to manage the shutdown cleanly, in a way that gives to
  SSH a chance to free its resources, and on adding facilities for
  handling SSH and NX signals in a single function.

- Rewritten the initialization procedure to make possible to run the
  proxy in-process in an arbitrary connection manager, like SSH or a
  HTTP utility. The same functionality can be used to embed nxcomp in
  the NX agents, so that nxcomp has not to run in a separate process.

- A new state-machine handles the advances through the connection
  stages until the remote proxy (or the forwarder process ) is auth-
  enticated, options have been negotiated and the session is started.

- The option "session" is now used to pass the name of the session
  file to the proxy. The parameter was previously used to pass the
  literal name of the session, as set by the user, and was ignored
  by the proxy. By default the session log is the standard error of
  the process. It is anyway required to set the option when running
  inside SSH, otherwise output will go to the same file as the SSH
  output. In the NX client this would be the 'sshlog' file.

- This version can be easily crafted to test the new integration by
  setting the following define:

  NX_FORCE_NULL_LISTEN_OPTION

  This makes possible to test the nxcomp/nxssh integration by using
  any production 1.4.0 client. To run this version you are required
  to use nxproxy 1.5.0-4 and nxssh-1.5.0-6.

- New functions handling enabling and disabling signals, based on
  sigprocmask().

- Improved error reporting when failures are encountered while ne-
  gotiating the session.

nxcomp-1.5.0-7

- Caches are saved with a version identifier 1.4.0 so that they are
  not discarded after upgrading the software to the 1.5.0.

- Made values of T_* enumerations to be all lower case.

- Updated copyright to year 2005.

- Started working on an interface for running nxcomp in-process, as
  a additional transport layer of nxssh or nxagent.

nxcomp-1.5.0-6

- Modified the configure script and the makefiles to not include the
  -Wstrict-prototypes and -Wmissing-prototypes compilation flags. The
  -Wnested-externs and -Wmissing-declarations flags are not included
  when using GCC 3.

- Removed the initial newline from string "NXPROXY - Version" printed
  at program startup.
  
- Made X authentication compatible with 1.4.0 clients. This is a tem-
  porary solution while code is updated to handle the new X authori-
  zation scheme.

nxcomp-1.5.0-5

- Added an Auth class to handle the X authentication. The NX server
  should now use the same proxie cookie that is passed by the client
  at session startup. The X server side proxy will forward the autho-
  rization credentials by replacing the fake cookie with the real co-
  okie, as it is read from the auth file using the xauth utility. The
  implementation is based on the corresponding code found in the SSH
  client and comes with the same limitations: only MIT-MAGIC-COOKIE-1
  cookies are checked and the authorization file is read only once,
  at the time the instance is initialized. If the auth file changes
  along the life of the session, the old cookie will still be used.
  This works with X servers because of an undocumented "feature".
  See also nx-X11.

nxcomp-1.5.0-4

- Adjusted for alarm(0) returning an inconsistent value in ConnectTo-
  Remote().

- Small changes to Types.h, Jpeg.cpp and Png.cpp to compile with gcc
  3.4.2.

- Cosmetic changes to the ChangeLog file.

nxcomp-1.5.0-3

- Removed test code from ServerChannel.cpp.

- Small cosmetic change in Loop.cpp.

- Tested for compatibility against 1.4.1-8.

nxcomp-1.5.0-2

- Changed VERSION file according to TRCL052336.

nxcomp-1.5.0-1

- Opened the 1.5.0 branch based on 1.4.1-9.

nxcomp-1.4.1-9

- Implemented methods PACK_RDP_PLAIN_64K_COLORS and PACK_RDP_PLAIN_-
  16M_COLORS. It seems that 16 bpp plain bitmaps can be seldom recei-
  ved. This doesn't seem to be the case of 24 bpp bitmaps.

nxcomp-1.4.1-8

- The new code enables use of 16 bpp and 32 bpp RDP bitmaps. This re-
  quired modifications to the following files:

  Misc.h
  Misc.cpp
  Loop.cpp
  Control.cpp
  ServerChannel.cpp
  Unpack.h
  Unpack.cpp

- Lots of cosmetic changes compared to the original code in 1.4.1-7.

- Merged the 1.4.0 and the 1.4.1 branches by importing changes up to
  the 1.4.1-7.

nxcomp-1.4.0-30

- Modified the function checking the Unix socket where X connections
  will be forwarded. The function will not fail if the socket itself
  doesn't exist yet. This solves the TRCL042203.

- Moved the code checking for the CTRL+ALT+SHIFT+ESC sequence to a
  separate function. The implementation will now look for a different
  sequence on the MacOS/X platform. This should solve the TRCL042182.

nxcomp-1.4.0-29

- Solved a bug that could cause proxy to stop reading data from the
  X channels due to an incorrect calculation of the bytes queued on
  the proxy link. The bug only affected Linux kernels of the 2.0/2.2
  series.

- Fixed a problem in the proxy class that could let the select time-
  out to become zero.

nxcomp-1.4.0-28

- Prevented the main proxy process from quitting when the fork() of
  any of the children fails. This can actually happen on Windows due
  to conflicts in reallocating any of the Cygwin DLLs.

- Reworked handling of the priority flag in channels when dealing
  with the X_InternAtoms and X_AllocColor requests to reduce the time
  of session startup. Priority is never set in case of X_InternAtom
  requests and replies as we assume that most clients use the appro-
  priate Xlib function to pipeline multiple requests in a single net-
  work operation.

- The timeout after which proxy will abort the peer connection is
  still 120 seconds. An alert dialog will be shown earlier, after 30
  seconds instead of 60.

nxcomp-1.4.0-27

- Removed the code setting priority on channels on ButtonPress and
  Button release events. It seems preferrable to delay the flush and
  pack more events in a single frame. This makes possible to get the
  ButtonRelease together with the ButtonPress.

- Fixed error detection in SetNoDelay() where a positive result
  could produce a 'not supported' message in debug mode.

nxcomp-1.4.0-26

- Reworked the check aimed at detecting the clock drifts. The previ-
  ous code, introduced in 1.3.2-2, had the undesired side-effect of
  resetting the proxy timeout. This could cause the proxy to never
  detect that the other end had been killed.

- The default behaviour of proxy is now to terminate the session at
  the time an error is encountered. This includes network failures.

- Added a new dialog to be shown to the user whenever the session
  is terminated abnormally.

nxcomp-1.4.0-25

- Fixed a bug in handling of suppression of errors generated by
  committing the image splits. Other errors, unrelated to the commit
  of split, could be suppressed. This might cause the hangup of the
  session when the suppressed error was matching a reply.

nxcomp-1.4.0-24

- When killing the proxy process -9 the watchdog could remain alive.
  This caused the SSH link to keep the stderr open, with the effect
  that former proxy message were not flushed to the session log.
  Now the watchdog checks every second if the parent is dead, so
  that file descriptors can be closed as soon as possible.

- SetupDisplaySocket() tried to force the connections to the X
  server on the UNIX port whenever the display was set to localhost.
  This patch was intended to fix a bug in nxclient, using the TCP
  port even when the display was set to a UNIX socket. This beha-
  viour caused problems when running nxclient on a remote host by
  means of a ssh -X. Proxy will now adhere to the display setting.

nxcomp-1.4.0-23

- Added the possibility to respawn nxclient at the end of session.
  This is an useful feature when powering thin-clients where NX
  is the only application made available.

- This configuration applies system-wide to the local client ins-
  tallation. By default it is disabled. It can be enabled by the
  by creating a 'noexit' file in the directory '/usr/NX/share',
  or at compile time, by setting ENABLE_RESTART_ON_SHUTDOWN to 1.

- Note that the solution is not perfect yet, as there are cases
  where session could die without going through HandleShutdown(),
  for example if a decoding error is raised in the communication
  with the remote peer and the subsequent restore of the proxy
  link fails to succeed.

nxcomp-1.4.0-22

- Corrected typos in Timestamp.h and Loop.cpp.

nxcomp-1.4.0-21

- Tuned the handling of RenderCompositeGlyphs. Now compression of
  RENDER shows an average ratio of 8:1. This is a steady increase
  compared to the 5:1 of the 1.3.2 version. The overall advantage
  when running clients displaying a large amount of text is 30%.

nxcomp-1.4.0-20

- Added a new message store for the CreatePixmap request.

- Fixed handleCopy() to only send the data part past the offset.
  This fix can save a significant amount of traffic, especially
  when sending many small images whose size doesn't reach the
  threshold set for compressing them.

nxcomp-1.4.0-19

- Added tuning of all the RENDER requests. RenderCompositeGlyphs
  will require further work.

- Completed porting of the RENDER requests to the new templates.

nxcomp-1.4.0-18

- Tuned the handling of RenderCreatePicture and RenderFreePicture.

- Created a new template system for writing new message encoders.

- Renamed getBits() in EncodeBuffer with diffBits(). The getBits()
  method now returns the bits actually allocated in the buffer and
  can be called multiple times.

nxcomp-1.4.0-17

- Provided specific encoding of the remaining RENDER requests and
  added compression of RenderCreateGlyphSet.

nxcomp-1.4.0-16

- Code underwent through 7 different patch versions but seems to
  be stable now. It still needs to provide specific encoding for
  RenderCreatePicture RenderChangePicture and RenderFreePicture.
  Code will likely include incompatible changes at any new version
  until the new encoding will stabilize, so be sure that you use
  the same nxcomp version at both sides.

- Created the infrastructure for compressing extension messages
  based on the minor opcode. A new class, MinorMessageStore, has
  to be inherited by stores requiring specific compression, so
  that all the encoding methods of the parent can be redirected
  to it. The RENDER extension is now compressed using this new
  class.

- Managed to maintain the compatibility with caches created by the
  1.3.X version. Caches will be saved using the old format if the
  remote version is not a 1.4.x. When restoring a cache created
  by the 1.3.x with both proxies being the newest version, RENDER
  mesages will be discarded without having to discard the whole
  cache.

- Added a member to the message class to store the identity size.
  This field is now used instead of the default data offset to
  manage the message data, that is the part of message after the
  identity.

- Removed the warnings printed in the session log when passing the
  'kbtype' and the 'geometry' options to the proxy. These options
  are actually used by agents.

nxcomp-1.4.0-15

- Started implementation of the new framework for handling enco-
  ding of X extensions.

- Renamed the overloaded methods handleEncode() and handleDecode()
  to handleEncodeCached(), handleEncodeIdentity() and handleDecode-
  Cached(), handleDecodeIdentity().

- Updated the copyright notice to year 2004.

nxcomp-1.4.0-14

- Added the new channel for HTTP connections. This channel can be
  used to let applications running on the NX server get access to
  data and applications made available by a HTTP daemon running at
  the client side.

  This channel is not used at the moment by nxclient. It can be
  activated by passing http=1 to the NX server side proxy and the
  value http=80 to the NX client side.

nxcomp-1.4.0-13

- Quick patch to run on MacOS/X where inet_addr("127.0.0.1")
  alone seems to fail to return a valid interface.

nxcomp-1.4.0-12

- Few cosmetic changes to logging.

- Removed the debug output.

nxcomp-1.4.0-11

- Removed code used for simulating the new forwarding function-
  ality without client and server support.

nxcomp-1.4.0-10

- Implemented authentication of the forwarder to the listening
  proxy. If a session cookie is required, the forwarder must
  provide the cookie upon connection.

  An authentication phase at the time the forwarder connects
  to the NX client side is strongly suggested because it is usu-
  ally this side that sends the authorization cookie. Without
  such a forwarder authentication, the local peer would reveal
  the cookie to the first process connecting to the port.

- If no cookie is specified in the switch command, the forward-
  er is required to skip the authentication phase. This can be
  useful when running the programs on the command line.

- The implementation required appropriate changes to session
  negotiation in nxssh. This version requires nxssh-1.4.0-8.

nxcomp-1.4.0-9

- Fixed the startup procedure to correctly negotiate the cookie
  when the X server side proxy is listening for a forwarder.

- When listening for a local forwarder (that is when the listen
  option is enabled at X server side), proxy will listen for the
  forwarder on the localhost interface.

- This version has ports and and other parameters hardcoded for
  testing purposes and is not intended for normal use.

nxcomp-1.4.0-8

- Slightly modified the text of FAILED_PROXY_CONNECTION alert.

nxcomp-1.4.0-7

- Added provision for leaving a running dialog showing an OK box
  if proxy is exiting abnormally. This seems to fail to yield the
  expected results as, at the present moment, client checks if
  parent has exited.

- Added a Binder class invoked when calling proxy with -B option.
  It would serve as a replacement of the modifications I'm doing
  in nxssh. The class is just a framework and the implementation
  is unfinished.

nxcomp-1.4.0-6

- Added a line in the session log if the connection procedure is
  aborted due to a signal.

- Fixed ParseHostOption() to let it take in account the proxy
  port offset when passing 'host:port' as the last parameter at
  X server side.

nxcomp-1.4.0-5

- Lowered the default port offsets used for CUPS and SMB services
  to 2000 and 3000. Arbitrary ports can be used by passing the ser-
  vice's port at proxy startup. By default, anyway, the port is at
  the same offset of the proxied display. Considering that the NX
  server uses to start the first session at display 1000, we must
  lower some of the defaults to avoid interference with the normal
  X sessions run on the server.

  Session at display ":1000" will have:

  . Forwarding of CUPS connections at 3000.

  . Forwarding of SMB connections at 4000.

  . The listening proxy (at NX server side) at 5000. This
    port is not used when enabling SSH tunneling

  . The proxied X display (NX agent or proxy) at 7000.

  . Forwarding of multimedia channels at 8000.

  . Forwarding of embedded keyboard connections at 9000.

- Turned off the log output.

nxcomp-1.4.0-4

- Managed to get the X client side proxy connect to the remote
  peer. This means that some parameters that were implicitly
  assumed based on the proxied port simulating the X display
  must be now specified in the NX display string.

- The 'port' parameter now specifies the remote TCP port where
  the local proxy will connect to the remote peer. In previous
  versions this parameter also affected the proxied port. This
  was mainly a side effect, as the remote peer was always con-
  tacted at port 4000 plus the proxied display offset.

- Added the 'listen' parameter to tell to the proxy that is go-
  ing to accept the peer connection on which port it will be
  contacted. By default, similarly to the previous version, the
  proxy will listen at the proxied display offset.

- A check has been added in order to disallow passing both the
  'accept' and the 'connect' parameter at the same time. A simi-
  lar check affects the 'listen' parameter.

- Renamed the previously unused 'sync' channel as 'cups'.

nxcomp-1.4.0-3

- Preserved the ability of version 1.3.2 to load caches generated
  by this version.

nxcomp-1.4.0-2

- Small fixes to compile under Solaris 8.

nxcomp-1.4.0-1

- Opened the 1.4.0 branch.

nxcomp-1.3.2-4

- Fixed a problem with shmget(). Code in ServerChannel checked
  the return value for being greater then 0, while 0 can actual-
  ly be a valid segment.

- When memory cache is disabled, nxcomp will explicitly set the
  appropriate control variables dealing with loading and saving
  of the persistent cache. This can be considered a cosmetic
  change as nxcomp will disable NX delta compression if memory
  cache is not available and this has an implicit effect on the
  ability to load and save such a cache.

nxcomp-1.3.2-3

- Removed inclusion of zlib.h in Png.cpp. Conflicting symbols
  with zlib.h from nx-X11 could cause compilation to fail.

nxcomp-1.3.2-2

- Added a function to take into account the clock drifts at the
  time we check the ping from the remote proxy. This can be
  caused by the user changing the system time or by small adjust-
  ments introduced by the operating system making the clock go
  backward. Such events could cause the proxy link to be shut
  down and reconnected.

- Reduced the length of lines printed in statistics when showing
  the details of X protocol's opcodes. This is intended to help
  nxclient to keep the whole statistics in the 'details' window,
  so that users don't have to use the scrollbars.

nxcomp-1.3.2-1

- Opened the 1.3.2 branch.

nxcomp-1.3.1-5

- It seems that Solaris can return an EINVAL error selecting a
  shutdown descriptor even before we actually close the socket.
  We now ignore the condition on Solaris. This is definitely a
  Solaris bug. 

nxcomp-1.3.1-4

- Increased the timeout after which proxy will abort the peer
  connection to 120 seconds. An alert dialog will now be shown
  after 60 seconds, instead of the 30 seconds being the default
  in the previous version. Some users reported the timeout to
  be too short in the case of temporary network failures.

nxcomp-1.3.1-3

- Some optimizations in the cache house-keeping process. Now it
  runs at lower system priority in respect to the parent. Any 2
  iterations through directories and images, it also sleeps for
  a tiny amount of time. This further decreases the system load.

- Removed the underline characters and added a colon in the
  title of this ChangeLog to fully comply with format used in
  the release notices.

nxcomp-1.3.1-2

- Fixed a crash when running both client and server on the SPARC
  Solaris. An optimization used to avoid byte-swapping when both
  hosts have the same endianess doesn't work on SPARC if buffer
  is not aligned to word boundary. A better version of the code
  should check the CPU, not the OS, as this probably applies to
  other processors.

nxcomp-1.3.1-1

- Opened the 1.3.1 branch.

nxcomp-1.3.0-50

- Disabled the processor limit in X client side proxy. In previous
  versions the processor load limit was set to an idle time ratio
  of 2. This was likely to cause an unwanted slowdown on very old
  hardware or when running the server as guest OS inside a VMWare
  virtual machine.

nxcomp-1.3.0-49

- Last minute update on proxy shutdown bug on Cygwin. A stack
  trace reveals that faillure happens in the static destructor of
  the BlockCacheSet class. It seems that problem appeared just
  after having upgraded to the latest version of Cygwin DLL. Now
  the destructor is skipped at shutdown.

nxcomp-1.3.0-48

- Further fix to overcome the shutdown problem on Windows.

nxcomp-1.3.0-47

- Used T_files::value_type() in Keeper.cpp. The form without the
  explicit constructor fails to compile with GCC 2.91 on RH 6.2.

- Fixed '==' -> '=' in configure.in to build under RH 6.2 and
  probably other platforms.

nxcomp-1.3.0-46

- The cleanup procedure now skips deletion of the IO streams
  under Windows. This is intended to overcome a strange segfault
  occurring at random time, at the time proxy is being shutdown.

nxcomp-1.3.0-45

- Newer versions of the stdlibc++ do not seem to be able to deal
  with NULL strings or non printable characters. This caused the
  standard error stream to get sometimes corrupted in the case
  TEST and DEBUG logs were enabled in Loop.cpp.

nxcomp-1.3.0-44

- Disabled TEST and DEBUG logs in ServerChannel.

nxcomp-1.3.0-43

- Fixed a crash when unpacking an image in server proxy in the
  case the unpack state for the given channel had not been
  previously created.

nxcomp-1.3.0-42

- Small modification to setSchedule() to not account previous
  data accumulated in the encode buffer. The new code seems to
  allow better use of the available bandwidth.

nxcomp-1.3.0-41

- Further fix in Tight decompression. Content of the main write
  buffer was not removed before flushing the unpacked data to
  the X server link.

nxcomp-1.3.0-40

- Removed the code marked as FIXME in Loop and ServerChannel.
  Code was used in previous version to override any pack method
  other than NO_PACK and to disable initialization of the shared
  memory.

nxcomp-1.3.0-39

- Solved the problem with unpacking of RDP text on big-endian
  architectures. The width field in PutPackedImage was put as
  16 bits and extracted as 32 bits at decoding side.

- Moved the code checking if any of the children has exited in a
  specific function. This function is now called any time signals
  are newly enabled. This works even on Solaris.

- Enabled use of shared memory with Tight image decompression.

- Added event NXCollectPropertyNotify to NXproto.h.

nxcomp-1.3.0-38

- Message locks are now checked before splitting a message.

nxcomp-1.3.0-37

- Added a further counter to yield encoding data if the amount 
  of output bytes to be written to channels exceeds a threshold.

- Modified proxy to write data immediately if the encoding loop
  was interrupted.

nxcomp-1.3.0-36

- Further fix required by Tight decompression. By handling mul-
  tiple writes in the Tight class we may flush the main write
  buffer in the wrong order. If Tight decompression is enabled,
  the buffer is now flushed before decoding the packed image.

- A SIGCHLD is raised any time signals are newly enabled. This
  allows the main loop to wait() the pid of children that had
  exited while signals were disabled.

nxcomp-1.3.0-35

- Fixed Tight decompression by handling multiple writes to the
  channel's transport inside the decompression function.

- Made Tight decompressor in ServerChannel a pointer instead of
  an instance of the class. Class is allocated the first time it
  is referenced.

- Rewritten handleUnpack() in ServerChannel to use a switch()
  on the pack method instead of multiple if().

nxcomp-1.3.0-34

- Disabled RENDER extension when running X agent sessions on
  the Solaris client. Problems seem to be caused by incompati-
  bilities in the implementation of RENDER on the Sun X server
  shipped by default. We did not test NX with the XFree86 X
  server, but it seems that, when using the Sun X server, even
  plain X clients don't make full use of the extension.

nxcomp-1.3.0-33

- Added 4 new fields to the X_NXGetControlParameters reply.
  A dialog should be shown by agent if proxy was not able to
  negotiate a persistent cache or if a cache was selected but
  not loaded because incompatible or corrupted.

- Fixed a bug on Solaris where socket() must be recreated if
  the first connect() fails. Not a problem. The strange thing
  is that if you reuse the socket(), the subsequent connect()
  is successful and the program fails as soon as you try to
  write to it.

nxcomp-1.3.0-32

- Added request X_NXFreeUnpack to free the resources allocated
  by the remote proxy to unpack images for the given agent's
  client

- Added an alert at X server side if proxies were not able to
  negotiate a persistent cache or if a cache was selected but
  not loaded at X server side (that means that probably cache
  was not compatible or corrupted). The alert is not enabled
  at the moment. Before enabling it, we need to find a way to
  deal with full-screen mode.

- Tuning of MIT-SHM parameters.

nxcomp-1.3.0-31

- Modified the following requests to carry the id of the
  agent's client:

  - X_NXSetUnpackGeometry
  - X_NXSetUnpackColormap
  - X_NXSetUnpackAlpha
  - X_NXPutPackedImage

  Now each agent's client has its own record pointing to the
  geometry, colormap and alpha channel that will be used to
  unpack the image. Code is not finished yet so it is advisable
  that agents' writers keep using client id 0. Note also that
  the final solution will require some changes to the way split
  notifications are sent to agent that I plan to implement in
  the next versions.

- The X_NXSetUnpackGeometry request has now a message store.
  This should reduce the overhead to the minimum even in the
  case of dumb agents not checking if the current geometry
  matches the image to be unpacked.

nxcomp-1.3.0-30

- Improved handling of short-circuited replies at X client
  side. Request opcodes are now pushed in the sequence queue
  to determine if a reply is expected. In this case tainting
  of reply is skipped to preserve the sequence ordering of
  any event or error that could have generated by the reply.
  This seems to solve all the problems reported by people
  running a NX session in virtual desktop mode nested in an
  existing session being run in single application mode.

- Modified the cleanup procedure to print the 'Waiting for'
  message in the session log only at the time all X channels
  have been actually shut down. This message can be used by
  the NX server to find out the appropriate time to close
  the session.

- Added the selected session type to the 'Using pack method'
  message printed at startup.

- Added the option to close down the proxy link and perform
  a clean shutdown of the session, re-read the whole session
  configuration or restart the proxy link when a SIGHUP is
  delivered to the proxy process. The default behaviour is
  to close down the session. The new default (the old one was
  to restart the link) is a required feature to let users run
  full sessions using single application mode f.e. in a LTSP
  environment. I noted that when the controlling terminal of
  the X session is closed, a SIGHUP is delivered to the X
  server side proxy (probably it is delivered to all the con-
  nected clients, and, thus for NX, only to the proxy). This
  signal can be used to terminate the whole session.

nxcomp-1.3.0-29

- Changed defaults to disable image masks when running proxy
  in single application mode. The new configuration requires
  changes in NX server and in NX X11 library. Users should
  experience much better image quality when using NX on slow
  links. This comes at the cost of slightly worse compression
  ratios.

nxcomp-1.3.0-28

- Opcode of request was not rewritten by server channel when
  using link LAN. This caused problems with taint of replies.

nxcomp-1.3.0-27

- Modified the split store and the split procedures in client
  channel to always return the client id in the notification
  events. The new field is added to event at byte offset 28
  to preserve compatibility with previous agent releases. The
  modification permits to agent to match the commit of alpha
  channel with the original image, if requests are split by
  proxy.

- Temporarily set the timeout used to poll MIT-SHM completion
  events coming from X server to 0. More testing is required.

- Fixed an inconsistent message generated in statistics due to
  a division by 0.

nxcomp-1.3.0-26

- Modified pending timeout from 1 to 0 milliseconds. This means
  that both channels and proxy are now immediately restarted to
  let them consume all data left in their read buffer.

- When querying the X server for MIT-SHM support, size of name
  in X_QueryExtension request was sent as 32 bits instead of 16.
  This caused request to fail on big endian architectures.

- Modified the MIT-SHM initialization procedure to always send
  all the 3 protocol requests also in the case of early failures.

nxcomp-1.3.0-25

- Implemented handling of the new X_NXSetUnpackAlpha message.
  Performances are very satisfactory. Using most of the current
  GNOME and KDE applications, caching reaches 90% of the total
  messages.

- Modified the persistent cache management routines to handle
  backward compatibility with proxy versions prior of 1.3.0.

- It has been made possible to send both X_NXSetUnpackColormap
  and X_NXSetUnpackAlpha messages with 0 entries to temporarily
  disable use of the colormap or the alpha channel and free the
  resources allocated by the server channel class.

- Added function UnpackAlpha() to Unpack.cpp.

nxcomp-1.3.0-24

- Using WriteBuffer::registerPointer() to track growing of the
  write buffer in handleFastWrite() functions. This problem
  existed even in 1.2.2 but never shown up because we didn't
  have to use the pointer after data had been written to the
  write buffer. Now, instead, we have to post-process the write
  buffer to copy data to the shared segment.

- Optimized memory allocations running with link LAN to save a
  memcpy() any time new data is allocated in the scratch buffer.

- When running with link LAN the scratch buffer is now used only
  when:

  - A further allocation would case growing of the write buffer
    (and, thus, a memcpy() of the previous content).

  - When data to added is bigger than the write threshold.

  In previous versions the scratch buffer was used any time the 
  total amount of data to be written (write buffer + scratch
  buffer) exceeded the scheduled write threshold. This caused
  small writes to be appended even when a single write could
  be  obtained without reallocating the buffer.

- Preliminary support for transporting the alpha channel in a
  separate message in case of 32 bits displays using the RENDER
  extension.

nxcomp-1.3.0-23

- Modified the mask used to open the shared memory segment on
  OS/X to 0777. We have to better investigate why the previous
  0600 mask doesn't work even if the user running the proxy is
  the same user running the X server.

nxcomp-1.3.0-22

- Implemented MIT-SHM support on LAN connections.

- More MIT-SHM bug fixes.

nxcomp-1.3.0-21

- Better use of the shared segment through an improved
  algorithm leveraging the offset field of the X_ShmPutImage
  request. The new algorithm greatly reduces the amount of
  polls the proxy needs to perform to find if the completion
  event has arrived.

- Implemented MIT-SHM support for X_PutImage requests.

- Implemented option shmem=value. Use of this option is anyway
  discouraged. Proxy will allocate the shared memory segment
  based on the size of the in-memory cache set by the user.
  Use of MIT-SHM is disabled when user did set a memory cache
  smaller than 2MB (for example on the embedded client).

- Rewritten post-processing of images in server channel loop.

- Improved error handling to ensure we intercept all MIT-SHM
  X errors before they reach the NX agent.

- Solved a problem that was causing channels to not reflect
  shared memory support flags set in control.

nxcomp-1.3.0-20

- Solved a compatibility problem when mixing proxy versions
  1.2.2 and 1.3.0.

nxcomp-1.3.0-18

- Rewritten interfaces to shared memory initialization in
  client and server channel.

- Server channel checks for the completion event until a
  timeout before reusing the shared memory segment.

- Flush flag was not cleared after the write buffer had been
  flushed in handleWrite() of both client and server channels.
  This could lead to multiple fragmented writes, affecting
  the performances.

- Added -lcygipc to linking on Windows platform.

- Added a check on GCC version to see if -Wnested-externs
  -Wmissing-declarations are valid options.

nxcomp-1.3.0-17

- Implemented initial support for MIT-SHM extension in the
  network path between the X server proxy and the real X
  server. Presently it works only for X_NXPutPackedImages.

- Modified configure.in to compile under FreeBSD.

- Small changes to sources due to FreeBSD support.

nxcomp-1.3.0-16

- Fixed caching of RENDER extension on MacOS/X and Solaris.

- Under Solaris an explicit call to EnableSignal() is needed
  at the end of the signal handler as raising a signal seems
  to reset the previous settings.

- Can't find a way to get bytes queued for write on Solaris as
  both FIONWRITE and TIOCOUTQ don't seem to be available. This
  means that NX server on Solaris is only able to detect con-
  gestions on proxy link at the time a write fails with error
  EAGAIN.

- Starting from this version, render extension messages are not
  automatically discarded from cache when running agent based X
  sessions. This is in preparation of render support introduced
  in this release.

nxcomp-1.3.0-15

- Changed default to force writes if X channels exceed buffer
  limits. This change was suggested by benchmarks performed on
  Win32.

- Wrapped IO on cache files in functions performing better error
  checking.

- General cleanup in handling of socket options for MacOS/X and
  Solaris.

nxcomp-1.3.0-14

- Corrupted persistent caches were not deleted in case loading
  of any of the message stores failed. To run further sessions
  on the same host, user had to delete the cache file manually.

- Improved error handling in JPEG decompression. Now connection
  is reset in case of failure.

- Before performing JPEG or PNG decompression, image is better
  checked to verify if loading from disk failed.

- Improved error handling in case of failure loading persistent
  cache from disk. On MacOS/X istream -> fail() doesn't seem to
  work properly. This needs further investigation.

- The default installation path of nxclient is searched under
  MacOS/X at the time nxclient is invoked in dialog mode.

nxcomp-1.3.0-13

- Fixed a (further) compilation problem under Solaris. Now static
  libraries are first searched under /usr/sfw/lib (in case Sun
  would decide to include them in future releases).

nxcomp-1.3.0-12

- Fixed parsing of command line when passing option -V.

- Correctly detected ENOPROTOOPT when setting TCP_NODELAY socket
  option on MacOS/X and Solaris.

nxcomp-1.3.0-11

- Given option in configure to specify what needs to be built
  statically:

  --with-static-png     enable static linking of PNG library
  --with-static-jpeg    enable static linking of JPEG library
  --with-static-z       enable static linking of Z library

nxcomp-1.3.0-10

- Fixed a problem in saving of persistent cache on big-endian
  machines.

nxcomp-1.3.0-9

- Testing with different settings to check if it's possible to
  increase the performances under Windows.

- Solved a problem in parsing of options that prevented proxy
  to connect to a remote session running at port offset 0.

- Fixed two warnings compiling on Solaris.

- Changed configure.in to first check for nx-X11 includes
  and libraries. Added "/usr/openwin/bin/makedepend" to path
  searched for the executable.

nxcomp-1.3.0-8

- Small cleanup in configure.in and files modified by Gregorz
  Kryza to add support for Solaris.

- A new configure script has been generated using autoconf-2.57-3.

nxcomp-1.3.0-7

- Added support for detection of Solaris in configure script.
  Now Makefile.in uses ranlib instead of ar.

- Small changes in source and header files to support Solaris.

nxcomp-1.3.0-4

- Corrected a bug that could cause priority on proxy and channels 
  to be not taken in account at the time proxy tries to determine 
  if it's time to flush the proxy link.

- Better implementation of abort split notification by X server
  proxy to its remote peer. The new implementation doesn't
  need to set a timeout and permits notifications to be received
  earlier.

- Improved support for 'tainting' XSync() messages coming from 
  X clients in single application mode. Now a X_GetInputFocus
  is sent to the real X server any n such messages received by
  proxy. 

- Included support for 15 bpp displays. It seems that handling
  them as 16 bpp it's OK.