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
|
2009-10-22 Jan Moringen <scymtym@users.sourceforge.net>
* TODO (Future): added BEEP and SubEthaEdit tasks
2009-10-15 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-version): bumped to 0.3
* Project.ede (project rudel): bumped version to 0.3
* TODO: whitespace fixes
(Milestone rudel-0.4): new; focus on telepathy transport
(Milestone rudel-0.3): added infinote, document trees
2009-10-13 Jan Moringen <scymtym@users.sourceforge.net>
* TODO: new file; TODO items for future development and releases
2009-10-12 Phil Hagelberg <phil@enigma>
* rudel-mode.el
(rudel-mode-line-publish-state--add-indicator-to-mode-line):
Replace reference to mode-line indicator that was not present in
Emacs 22.
* rudel-compat.el: add rudel-get-coding-system wrapper function.
* rudel-obby-util.el (with-parsed-args): Replace call to
Emacs23-specific coding-system-from-name function with
rudel-get-coding-system.
rudel-compat.el: Add string-match-p if not present. (< Emacs 23)
* rudel-mode.el, rudel-overlay.el: Move use of :safe flag from
defcustom to a separate put. Required for Emacs 22 compatibility.
* rudel-loaddefs.el: Only require rudel-zeroconf if zeroconf is
available.
2009-10-12 Jan Moringen <scymtym@users.sourceforge.net>
* jupiter/jupiter-delete.el (jupiter-delete::jupiter-transform):
fixed error message
2009-10-08 Jan Moringen <scymtym@users.sourceforge.net>
* jupiter/jupiter.el (header): downcased keywords
(object-print): new method; add revisions and log length to string
* jupiter/jupiter-nop.el (header): downcased keywords; cosmetic
representation changes to "commentary" section
* jupiter/jupiter-insert.el (header): downcased keywords; cosmetic
changes to "commentary" section
(object-print): new method; add start, end, length and data to
string representation
* jupiter/jupiter-delete.el (header): downcased keywords; cosmetic
changes to "commentary" section
(jupiter-transform): cosmetic changes
(object-print): new method; add position and length to string
representation
* jupiter/jupiter-compound.el (header): downcased keywords;
cosmetic changes to "commentary" section
(object-print): new method; add number of children to string
representation
2009-10-07 Jan Moringen <scymtym@users.sourceforge.net>
* doc/card.tex (Session Initiation): mention configured sessions;
explain Zeroconf-advertised session in more detail
2009-10-06 Jan Moringen <scymtym@users.sourceforge.net>
* doc/card.tex (Joining a Session ...): added global and user
passwords
* rudel.el (rudel-version): use list representation instead of
float
(rudel-allocate-buffer-function): added documentation string
* INSTALL (COMPILING): fixed typo
2009-10-06 Phil Hagelberg <phil@enigma>
* README (JOINING): Mention `rudel-configured-sessions'
customization.
* README (INTRODUCTION): emphasize obby backend being the only
supported one so far
(JOINING): update example session with passwords.
* rudel-loaddefs.el: Add autoloads for rudel-host-session and
rudel-speedbar
2009-10-05 Phil Hagelberg <phil@enigma>
* README: Mention Eshell issue and license.
2009-10-03 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-compat.el (make-pulsing-progress-reporter): removed;
`make-progress-reporter' is sufficient
(progress-reporter-pulse): store index in the car of the reporter;
set last update time of the reporter
* obby/rudel-obby.el (rudel-connect): use `make-progress-reporter'
instead of `make-pulsing-progress-reporter'
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-subscribe-to): cosmetic changes in
status messages
* ChangeLog: updated
2009-10-02 Phil Hagelberg <phil@enigma>
* INSTALL: Mention CEDET's inclusion in Emacs
* rudel-state-machine.el (rudel-state-wait): update progress
reporter usage to match rudel-compat.el
* rudel-compat.el: Use updated progress reporters
(progress-reporter-update): may be used by pulsing reporters too
(make-progress-reporter): nil max value returns pulsing reporter
(progress-reporter-force-update): may be used by pulsing reporters
too
(progress-reporter-pulsing-p): added
(progress-reporter-pulse): removed message change option
2009-10-02 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-state-machine.el (rudel-state-wait): accept callback
function instead of message; adjusted documentation string
* obby/rudel-obby.el (rudel-obby-backend::rudel-connect): when
calling `rudel-state-wait', provide a callback; the callback
controls a progress reporter
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-subscribe-to): when calling
`rudel-state-wait', provide a callback; the callback controls a
progress reporter
* rudel-compat.el (progress-reporter-pulse): store index as float
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::rudel-obby/obby_document_create):
cosmetic changes of printed messages
(rudel-obby-client-state-idle::rudel-obby/obby_document_remove):
cosmetic changes of printed messages
* rudel.el (rudel-session::rudel-remove-document): when necessary,
detach document first; added documentation string
(rudel-document::rudel-attached-p): new method; return non-nil
when document is attached to a buffer
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::rudel-obby/net6_client_part):
promoted warning severity to :warning
(rudel-obby-client-state-idle::rudel-obby/obby_document_remove):
fixed lookup of document; added warning message in case it is not
found
(rudel-obby-client-state-idle::rudel-obby/obby_document/rename):
promoted warning severity to :warning
(rudel-obby-connection::rudel-unpublish): new method; ask server
to remove a document
2009-10-01 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-state-machine.el (rudel-state-wait): fixed progress range
[0, 100] -> [0, 1]; fixed reference to reporter object
* obby/rudel-obby.el (rudel-obby-send): removed remnants of calls
to `working-*' functions; call `progress-reporter-pulse' just
before `progress-reporter-done'
2009-09-30 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-compat.el: only define pulsing progress reporter when
Emacs does not have one itself
(header): downcased keywords
(make-pulsing-progress-reporter): renamed
`make-progress-reporter-pulse' ->
`make-pulsing-progress-reporter'; cosmetic changes; explanatory
comment
(progress-reporter-pulse): added documentation string
Suggested by Phil Hagelberg
* rudel-compat.el (progress-pulse-values): new variable; indicator
strings used by pulsing progress reporter
(make-progress-reporter-pulse): new function; creates pulsing
progress reporter
(progress-reporter-pulse): new function; updates pulsing progress
reporter
Suggested by Phil Hagelberg
2009-09-29 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-server.el
(rudel-obby-server-state-before-join::rudel-obby/net6_client_login):
accept two additional arguments: global-password and user-password
* rudel-session-initiation.el (rudel-configured-sessions):
improved documentation string
2009-09-29 Jan Moringen <scymtym@users.sourceforge.net>
* INSTALL (REQUIREMENTS): wording
(INSTALLING): mention other things that cause rudel to be
autoloaded; minor cosmetic changes
(COMPILING): fixed filename compile.el -> rudel-compile.el
* rudel-compile.el (header): added copyright and meta data
(code): let-bind rudel-dir; call `byte-recompile-directory' just
once since it operates recursively
2009-09-28 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-server.el (header): better documentation
(require rudel-state-machine): now required for state machine
style handling of client connections
(require rudel-obby-state): now required; provides base class for
states
(rudel-obby-server-state-new): new class; client connection state
new
(rudel-obby-server-state-encryption-negotiate): new class; client connection state
for negotiating encryption
(rudel-obby-server-state-before-join): new class; client connection state
for waiting for login request
(rudel-obby-server-state-new): new class; client connection state
entered after session setup and joining is complete
(rudel-obby-server-connection-states): new variable; list of
states and their symbolic names
(rudel-obby-client): now derived from rudel-state-machine
* obby/rudel-obby.el (rudel-obby-backend::rudel-ask-connect-info):
check for :global-password and :user-password correctly; do not
put them into the list when they are ""
(rudel-obby-backend::rudel-connect): comment
* rudel-session-initiation.el
(rudel-configured-sessions-backend::rudel-discover): let
`rudel-session-initiation-adjust-info' do the heavy lifting
(rudel-session-initiation-adjust-info): new function; adjust
arguments that need adjusting in a session information property
list
* rudel-session-initiation.el (rudel-configured-sessions): more
precise specification of the customization type
2009-09-27 Phil Hagelberg <technomancy@gmail.com>
* compile.el: renamed compile.el -> rudel-compile.el
* INSTALL: Mention new install process using compile.el and
rudel-loaddefs.el.
* rudel-loaddefs.el: Autoload rudel as one unit instead of
piece-by-piece. Remove eieio dependency from autoloads.
* compile.el: Perform compilation from Elisp
* Makefile: Remove error-prone CEDET-autogenerated build scripts.
2009-09-27 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-session-initiation.el
(rudel-configured-sessions-backend::rudel-discover): fixed a bug
that dropped the last option in each configured session
* rudel-session-initiation.el (rudel-configured-sessions): new
customization option; contains a list of session information lists
(rudel-ask-protocol-backend::initialize-instance): maybe call next
method
(rudel-configured-sessions-version): new constant; version of the
configured-sessions backend
(rudel-configured-sessions-backend): new class;
configured-sessions backend
(rudel-configured-sessions-backend::initialize-instance): new
method; set version slot
(rudel-configured-sessions-backend::rudel-discover): new method;
"discover" configured sessions
(autoload rudel-add-backend): register
rudel-configured-sessions-backend as a protocol backend
* rudel-chat.el (rudel-chat-buffer-name): new constant; name chat
log buffer
(rudel-chat-handle-buffer): raise buffer when logging a chat
message
* rudel-debug.el (header): fixed meta-data and license
(rudel-debug-sent-data-face): added documentation string
(rudel-debug-received-data-face): added documentation string
(rudel-debug-received-processed-data-face): added documentation
string
(rudel-debug-state-face): added documentation string
(rudel-debug-special-face): added documentation string
(rudel-suspend-session-socket): added documentation string
(rudel-resume-session-socket): added documentation string
* obby/rudel-obby-util.el (rudel-obby-dispatch): use
`display-warning' instead of `warn'
* obby/rudel-obby-state.el (rudel-obby-state::rudel-accept): use
`display-warning' instead of `warn'
(rudel-obby-document-handler::rudel-obby/obby_document): use
`display-warning' instead of `warn'
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::rudel-obby/net6_client_part): use
`display-warning' instead of `warn'
(rudel-obby-client-state-idle::rudel-obby/obby_document/record):
use `display-warning' instead of `warn'
* rudel-backend.el (rudel-backend-factory::rudel-load-backends):
use `display-warning' instead of `warn'
* obby/rudel-obby-client.el (require rudel-chat): used when
handling chat messages
(rudel-obby-client-state-idle::rudel-obby/obby_message): new
method; handles obby 'message' messages by dispatching to
`rudel-chat-dispatch-message'
* rudel-chat.el (whole file): new file; handling of incoming chat
messages
* Project.ede (target rudel): added rudel-chat.el
* Makefile (target rudel_LISP): added rudel-chat.el
2009-09-26 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-state.el (rudel-obby-server-connection-state):
new class; base class for server connection states
(rudel-obby-server-connection-state::rudel-broadcast): new method;
broadcast message to a set of receivers
2009-09-25 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (rudel-obby-backend::rudel-connect): new
error state they-finalized; handle join-failed error specially
* obby/rudel-obby-client.el (rudel-obby-client-state-join-failed):
improved comments
(rudel-obby-client-state-they-finalized): new state class; used to
indicate that the connection was closed by the peer
(rudel-obby-client-connection-states): added they-finalized
(rudel-obby-connection::rudel-close): switch state machine to
they-finalized
(rudel-obby-connection::rudel-subscribe-to): new error state
they-finalized
* rudel.el (rudel-client-session::connection): allow nil value
(rudel-client-session::rudel-end): only try to disconnect the
connection if it is non-nil; ignore errors during disconnect
* obby/rudel-obby-client.el
(rudel-obby-client-state-encryption-start::rudel-obby/net6_encryption_begin):
do not require rudel-tls; do not try to start TLS encryption if
the connection does not support it
* rudel-tls.el (rudel-tls-make-process): mark process as
supporting TLS encryption
* obby/rudel-obby-state.el (rudel-obby/net6_ping): return nil to
prevent erratic behavior of the state machine
* rudel-interactive.el (rudel-allocate-buffer-clear-existing):
added missing whitespace in prompt string
2009-09-24 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-tls.el (rudel-tls-start-tls): changed displayed message
(rudel-tls-wait-init): ignore all lines until "- Simple Client
Mode.*" is received; then switch back old filter
(rudel-tls-wait-handshake): ignore all lines until "-
Compression.*" is received; then switch to established filter
(rudel-tls-established): do not ignore any lines other than
"- Peer has closed the GNUTLS connection"
* obby/rudel-obby.el (rudel-ask-connect-info): ask for global and
user passwords
* obby/rudel-obby-client.el
(rudel-obby-client-state-joining::rudel-enter): transmit global
and user passwords when available
* obby/rudel-obby-errors.el
(rudel-obby-error-wrong-global-password): fixed error code
(rudel-obby-error-wrong-user-password): fixed error code
(rudel-obby-error-protocol-version-mismatch): fixed error code
(rudel-obby-error-not-encrypted): fixed error code
* obby/rudel-obby-client.el
(rudel-obby-client-state-joining::rudel-obby/net6_login_failed):
recognize wrong global/user password error codes
* obby/rudel-obby-debug.el (whole file): new file; debugging
functions for the obby backend
* rudel-debug.el (whole file): new file; debugging functions
* obby/rudel-obby-errors.el
(rudel-obby-error-wrong-global-password): new constant; error code
for wrong global password
(rudel-obby-error-wrong-user-password): new constant; error code
for wrong user password
(rudel-obby-error-protocol-version-mismatch): new constant; error
code for protocol version mismatch
(rudel-obby-error-not-encrypted): new constant; error code for not
encrypted
* Project.ede (target rudel): added rudel-transport.el
* Makefile (target rudel_LISP): added rudel-transport.el
* rudel-transport.el (whole file): new file; interface for
transport backends
2009-09-20 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-remote-operation): added byte -> char
conversion before the operation is applied to the server-side
document; updated comments
* obby/rudel-obby-server.el (rudel-obby-client::rudel-broadcast):
cosmetic changes
(rudel-obby-client::rudel-obby/net6_client_login): cosmetic
changes; improved comments
(rudel-obby-client::rudel-obby/obby_document): changed
documentation string; cosmetic changes
(rudel-obby-client::rudel-obby/obby_document/record): added a
comment
(rudel-obby-client::rudel-remote-operation): improved comments
* obby/rudel-obby-server.el (header): added header comment
(rudel-obby-client::rudel-obby/obby_document_create): changed
documentation comment
(rudel-obby-client::rudel-obby/obby_document/subscribe): changed
documentation comment; cosmetic changes
(rudel-obby-client::rudel-obby/obby_document/unsubscribe):
cosmetic changes
(rudel-obby-server::initialize-instance): do not run :after; call
next method
(rudel-obby-server::rudel-broadcast): signal wrong-type-argument
instead of just error; cosmetic changes
(rudel-obby-server::rudel-check-username-and-color): changed
comments
(rudel-obby-server::object-print): new method; generate string
representation with number of clients
2009-09-19 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_document/record/ins):
construct the operation and use `rudel-remote-operation'
(rudel-obby-client::rudel-obby/obby_document/record/del):
construct the operation and use `rudel-remote-operation'
(rudel-obby-client::rudel-remote-operation): new method; transform
and apply an operation object to the server-side document; send
operation to all other clients
(rudel-obby-server::rudel-broadcast): cosmetic changes
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_document/record/del): swapped
local and remote revisions in the operation name to be consistent
with record/ins; does not affect behavior
2009-09-12 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-mode.el (rudel-header-subscriptions--update-from-document):
force mode line update
(rudel-header-subscriptions--update-from-buffer): force mode line
update
(rudel-header-subscriptions-minor-mode): force mode line update
* rudel-mode.el
(rudel-mode-line-publish-state-unpublished-string): new
customization option; string used to indicate that a buffer is not
published
(rudel-mode-line-publish-state-published-string): new
customization option; string used to indicate that a buffer is
published
(rudel-mode-line-publish-state--update-string): use
`rudel-mode-line-publish-state-unpublished-string' and
`rudel-mode-line-publish-state-unpublished-string'
* rudel.el (rudel-session::end-hook): new slot; stores handlers of
the end hook
(rudel-session::rudel-end): run end hook
(rudel-session::rudel-join-session): install handler on session
end hook to set `rudel-current-session' to nil
(rudel-session::rudel-end-session): no need to run
rudel-session-end-hook or reset `rudel-current-session'
* rudel-hooks.el (rudel-hooks--session-start): add handler for the
end hook of the session
(rudel-hooks--session-end): remove the handler from end hook of
the session; run the rudel-session-end hook
(rudel-hooks--install-handlers): do install handler for
rudel-session-end hook; this is now done by installing the in the
session object
(rudel-hooks--uninstall-handlers): no need to remove
rudel-session-end hook
* rudel-util.el (rudel-socket-owner::rudel-state-change): cover
more states
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::rudel-obby/obby_document_remove):
implemented, was stub; untested though
2009-09-10 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::rudel-obby/net6_client_join): check
whether we have a user object for the specified user id; modify
the existing object if there is one
2009-09-09 Jan Moringen <scymtym@users.sourceforge.net>
* zeroconf/Makefile (whole file): regenerated
* wave/Makefile (whole file): regenerated
* Makefile (target all): build target doc
(target doc): new target; build documentation
(target tags): build target tags in doc directory
(target dist): build target dist in doc directory
2009-09-06 Jan Moringen <scymtym@users.sourceforge.net>
* telepathy/rudel-telepathy.el (header): fixes
(require rudel-backend): required, since we define a backend
(require rudel-transport): it is a transport backend
(class rudel-telepathy-backend): derived from
rudel-transport-backend
(rudel-telepathy-backend::initialize-instance): new method; set
version slot
(autoloading): upgraded to new backend registration style
* INSTALL (REQUIREMENTS): mention Avahi
2009-09-05 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (require rudel-util): required for `rudel-hook-object'
* rudel-util.el (property svn:executable): removed property
* rudel-overlay.el (property svn:executable): removed property
* doc/Project.ede (whole file): new file; project file for the
documentation directory
* doc/Makefile (whole file): new file; generated Makefile for the
documentation directory
* doc/card.tex (whole file): new file; reference card for Rudel;
source
* doc/card.pdf (whole file): new file; reference card for Rudel;
PDF
2009-09-04 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-interactive.el (rudel-read-document): added comment
(rudel-allocate-buffer-clear-existing): handle the case in which
case a buffer with the desired name exists and is attached to a
different document; added some comments
* rudel-mode.el (header): list all provided modes; bump version
(require rudel-hooks): required for global hooks
(rudel-mode-line-publish-state-string): new variable; buffer
local, holds publish state string for buffer
(rudel-mode-line-publish-state--add-indicator-to-mode-line): new
function; add publish state indicator to mode line
(rudel-mode-line-publish-state--remove-indicator-from-mode-line):
new function; remove publish state indicator from mode line
(rudel-mode-line-publish-state--update-string): new function;
update publish state indicator according to buffer state
(rudel-mode-line-publish-state--document-attach): new function;
handle document attaching to buffer
(rudel-mode-line-publish-state--document-detach): new function;
handle document detaching from buffer
(rudel-mode-line-publish-state-minor-mode): new minor mode;
displays publish state of buffer in mode line
(global-rudel-mode-line-publish-state-mode): new minor mode;
globalization of `rudel-mode-line-publish-state-minor-mode'
(rudel-minor-keymap): menu entries for buffer local and global
mode line publish state mode
* rudel.el (require rudel-hooks): required or hook variables
(rudel-session-start-hook): moved to rudel-hooks.el
(rudel-session-end-hook): moved to rudel-hooks.el
* rudel-hooks.el (whole file): new file; contains hook variables
and mapping from object hooks to global hooks
* Project.ede (target rudel): added file rudel-hooks.el
* Makefile (target rudel_LISP): added file rudel-hooks.el
2009-09-03 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-mode.el (rudel-header-subscriptions-minor-mode): improved
documentation string
2009-08-30 Jan Moringen <scymtym@users.sourceforge.net>
* zeroconf/Makefile (whole file): new file; generated Makefile for
the zeroconf subproject
* wave/rudel-wave.el (whole file): new file; main class of the
wave backend
* wave/Project.ede (whole file): new file; project file for the
wave subproject
* wave/Makefile (whole file): new file; generated Makefile for the
wave subproject
* Project.ede (target autoloads): added wave directory
* Makefile (LOADDIRS): added wave and zeroconf directories
(VERSION): bumped to 0.2
(target all): added wave and zeroconf
(tags): descend into zeroconf and wave directories
(dist): descend into zeroconf and wave directories
2009-08-28 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-change-color): run the change hook of the self
user
* rudel-overlay.el (rudel-overlay-set-face-attributes): check the
face actually exists
2009-08-27 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-mode.el (rudel-header-subscriptions-use-images): new
variable; controls whether images are used when formatting user
names
(rudel-header-subscriptions-separator): new variable; separator
used when formatting user names
(rudel-header-subscriptions--make-format): new function; make a
format object for header line
(rudel-header-subscriptions--update-from-document): new function;
update header line from document
(rudel-header-subscriptions--update-from-buffer): new function;
update header line from buffer
(rudel-header-subscriptions--options-changed): new function;
update header line in all buffers that have
rudel-header-subscriptions-minor-mode enabled after customization
option change
(rudel-header-subscriptions--user-change): new function; update
header line after a user object change
(rudel-header-subscriptions--add-user): new function; watch newly
subscribed user and update header line
(rudel-header-subscriptions--remove-user): new function; stop
watching user and update header line
(minor mode rudel-header-subscriptions-minor-mode): new minor
mode; display subscribed users in buffer's header line
(rudel-header-subscriptions--attach): new function; enable header
subscription minor mode when attaching
(rudel-header-subscriptions--detach): new function; disable header
subscription minor mode when detaching
(rudel-header-subscriptions--add-document): new function; monitor
attaching/detaching of new document
(rudel-header-subscriptions--remove-document): new function; stop
monitoring attaching/detaching of new document
(rudel-header-subscriptions--session-start): new function; watch
documents being added/removed to/from the session
(rudel-header-subscriptions--session-end): new function; stop
watching documents being added/removed to/from the session
(minor mode global-rudel-header-subscriptions-mode): global minor
mode that controls `rudel-header-subscriptions-minor-mode' in
buffers
(advice global-rudel-header-subscriptions-mode): controls
adding/removing watches for added/removed documents when the
global mode is enabled/disabled
(rudel-minor-keymap): Added entries for
`rudel-header-subscriptions-minor-mode' and
`global-rudel-header-subscriptions-mode'
2009-08-26 Jan Moringen <scymtym@users.sourceforge.net>
* . (property svn:ignore): added patterns
* jupiter (property svn:ignore): added patterns
* obby (property svn:ignore): added patterns
* rudel.el (rudel-session::add-user-hook): new slot; add user hook
function list
(rudel-session::remove-user-hook): new slot; remove user hook
function list
(rudel-session::add-document-hook): updated documentation string
(rudel-session::remove-document-hook): updated documentation
string
(rudel-session::rudel-add-user): run add user hook
(rudel-session::rudel-remove-user): run remove user hook
* rudel.el (rudel-session-start-hook): new variable; session start
hook function list
(rudel-session-end-hook): new variable; session end hook function
list
(rudel-join-session): run session start hook
(rudel-end-session): run session end hook
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_document_create): call
`generate-new-buffer-name' on complete buffer name; not just name
part
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_document/subscribe): send
number of bytes instead of number of characters
* obby/rudel-obby-client.el
(rudel-obby-client-state-document-synching::remaining-bytes):
fixed initarg num-bytes -> remaining-bytes
* rudel.el (rudel-session::add-document-hook): new slot; run when
a document gets added to the session
(rudel-session::remove-document-hook): new slot; run when a
document gets removed from the session
(rudel-session::rudel-add-document): run add document hook
(rudel-session::rudel-remove-document): run remove document hook
(rudel-document::unsubscribe-hook): fixed initarg subscribe-hook
-> unsubscribe-hook
2009-08-25 Jan Moringen <scymtym@users.sourceforge.net>
* www/index.html (Download): link to http://bazaar-vcs.org;
improved wording
* www/index.html (Download): changed link to source; add browse
source link for bzr
* INSTALL (REQUIREMENTS): precise CEDET release version
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_user_colour): run change hook
after setting slot
(rudel-obby-server::rudel-remove-client): run change hook after
setting slot
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::rudel-obby/net6_client_part): run
change hook after setting slots
(rudel-obby-client-state-idle::rudel-obby/obby_user_colour): run
change hook after setting slot
* rudel.el (class rudel-user): derive from `rudel-hook-object'
(rudel-user::change-hook): new slot; stores change hook functions
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_user_colour): cosmetic changes
(rudel-obby-client::rudel-obby/obby_document/subscribe): use
`rudel-add-user'
(rudel-obby-client::rudel-obby/obby_document/unsubscribe): use
`rudel-remove-user'
(rudel-obby-server::rudel-check-username-and-color): whitespace
fixes
2009-08-23 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-document::attach-hook): new slot; attach hook
function list
(rudel-document::detach-hook): new slot; detach hook function list
(rudel-document::rudel-attach-to-buffer): run hook `attach-hook'
(rudel-document::rudel-detach-from-buffer): run hook `detach-hook'
(rudel-document::rudel-add-user): improved documentation string
(rudel-document::rudel-remove-user): improved documentation string
* obby/rudel-obby.el
(rudel-obby-user::eieio-speedbar-object-buttonname): fixed typo
2009-08-21 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::rudel-obby/obby_document/subscribe):
call `rudel-add-user'
(rudel-obby-client-state-idle::rudel-obby/obby_document/unsubscribe):
call `rudel-remove-user'
* rudel.el (class rudel-document): mixin rudel-hook-object
(rudel-document::subscribe-hook): new slot; subscribe-hook
function list
(rudel-document::unsubscribe-hook): new slot; unsubscribe-hook
function list
(rudel-document::rudel-add-user): new method; add user to list of
subscribed users and run subscribe-hook
(rudel-document::rudel-remove-user): new method; remove user from
list of subscribed users and run unsubscribe-hook
* obby/rudel-obby.el (header): cosmetic changes
(include rudel-icons): `rudel-display-string' uses icons
(rudel-obby-user::eieio-speedbar-object-buttonname): use
`rudel-display-string'
(rudel-obby-user::rudel-display-string): new method; textual
representation of user object
(rudel-obby-parse-message): cosmetic changes
* rudel.el (include rudel-icons): `rudel-display-string' uses
icons
(rudel-user::rudel-display-string): new method; textual
representation of user object
* rudel-util.el (rudel-hook-object): new class; abstract mixin for
classes that offer hooks
(rudel-hook-object::object-add-hook): new method; add function to
hook list
(rudel-hook-object::object-remove-hook): new method; remove
function from hook list
(rudel-hook-object::object-run-hook-with-args): new method; run
hook functions
2009-08-20 Jan Moringen <scymtym@users.sourceforge.net>
* icons/plaintext.svg (new file): plaintext icon
* icons/person.svg (new file): person icon
* icons/encrypted.svg (new file): encrypted icon
* icons/document.svg (new file): document icon
* icons/disconnected.svg (new file): disconnected icon
* icons/connected.svg (new file): connected icon
* rudel-icons.el (new file): loading icons
* Project.ede (target rudel): added rudel-icons.el
2009-08-19 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-join-session): renamed local variable backend to
session-initiation-backend
2009-08-17 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-state.el (rudel-obby-state::rudel-accept): fixed
format of warning message
* rudel-state-machine.el (require working): needed by
`rudel-state-wait'
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::rudel-obby/obby_user_colour): set
face attributes
* rudel.el (rudel-change-color): set face attributes
* rudel-overlay.el (rudel-overlay-make-face): use
`rudel-overlay-set-face-attributes'
(rudel-overlay-set-face-attributes): new function; set face
attributes
* rudel-overlay.el (rudel-overlay-author-set-properties): call
`rudel-overlay-make-face-symbol'
(rudel-overlay-make-face-symbol): new function; return face symbol
2009-08-16 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-overlay.el (rudel-overlay-author-display): option that
controls display of author overlays
(rudel-make-author-overlay): call
`rudel-overlay-author-set-properties' to set the overlay
properties
(rudel-overlay-author-set-properties): new function; set overlay
properties; respects rudel-overlay-author-display
(rudel-overlay-author-update): new function; update overlay
properties based on associated user object
(rudel-overlay-options-changed): new function; call
`rudel-overlay-author-update' on all Rudel overlays in all buffers
* rudel-mode.el (header): cosmetic changes
(rudel-minor-menu): added menu entry to toggle display of author
overlays
* rudel-overlay.el (rudel-make-author-overlay): use `intern'
instead of `make-symbol' when allocating the face name; this way,
faces can actually be created lazily
(rudel-overlay-make-face): call `make-face' for the new face
* obby/rudel-obby-client.el
(rudel-obby-client-state-document-synching::object-print): fixed
slot name remaining-bytes
* rudel.el (rudel-host-session): the backend object is the cdr of
the result of `rudel-backend-choose'
2009-08-15 Jan Moringen <scymtym@users.sourceforge.net>
* telepathy/rudel-telepathy.el (header): added file comment
* obby/rudel-obby-state.el (header): fixed email address
(whole file): whitespace fixes
* jupiter/jupiter.el (header): cosmetic changes
(whole file): whitespace fixes
* rudel-util.el (header): cosmetic changes
* rudel-mode.el (header): cosmetic changes
* rudel-errors.el (header): fixed type
(whole file): whitespace fixes
* obby/rudel-obby.el (rudel-ask-connect-info): added optional
argument info; do not ask for things that are already specified in
info
(autoload): register obby service with the Zeroconf backend
* zeroconf/rudel-zeroconf.el (new file): Zeroconf session
initiation for Rudel
* zeroconf/Project.ede (new file): subproject zeroconf
* rudel.el (rudel-join-session): call `rudel-ask-info' to augment
connect info
* Project.ede (target autoloads): added directory zeroconf
* INSTALL (INSTALLING): mention zeroconf subdirectory
(COMPILING): mention zeroconf target
* rudel-backend.el (rudel-backend-factory::rudel-get-backend):
return backend as a cons
(rudel-backend-get): new function; convenience function for
getting backends
* obby/rudel-obby.el (header): extended commentary and history
(rudel-obby-version): bumped to 0.2
(rudel-obby-backend::initialize-instance): set :version slot in
constructor instead of using obsolete lambda expression in
initform
2009-08-14 Jan Moringen <scymtym@users.sourceforge.net>
* Project.ede (project rudel): bumped version to 0.2; added
mailing list and path to web files
* rudel-backend.el (rudel-backend-factory): do not initialize
backends with lambda expression
(rudel-backend-factory::initialize-instance): new method;
initialize backends
(rudel-backend-cons-p): use `object-p' instead of `eieio-object-p'
(rudel-backend-dump): changed format slightly
2009-08-13 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (include rudel-session-initiation): required for
`rudel-join-session'
(rudel-join-session): mostly rewritten; moved user interaction to
`interactive' form
* rudel-session-initiation.el (new file): session initiation
backend interface and high-level programming interface
* Project.ede (target rudel): added rudel-session-initiation.el
* Makefile (rudel_LISP): added rudel-session-initiation.el
* rudel-interactive.el (rudel-read-session): discriminate sessions
vs. session generating objects using `rudel-backend-cons-p'
* rudel-backend.el (rudel-backend-cons-p): new function; checks
whether a cons consists of a backend name and object
2009-08-12 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-interactive.el (rudel-read-session): new function; read
session by name and return it
* rudel-interactive.el (rudel-read-backend): argument backends is
no longer optional; always return a cons of backend name and
object; updated documentation string
(whole file): whitespace fixes
* rudel-backend.el (rudel-backend-choose): always return a cons of
backend name and object; updated documentation string
2009-08-11 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (file header): added project URL
(whole file): improved some comments
2009-08-10 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (include eieio-base): needed for eieio-named
2009-08-04 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-state-machine.el (header section commentary): updated
(rudel-state-machine::initialize-instance): use
`rudel--switch-to-return-value' to allow immediate switch to
another state
(rudel-state-machine::rudel-switch): use
`rudel--switch-to-return-value' to switch to successor state
(rudel-state-machine::rudel--switch-to-return-value): new function
switch to successor state for different kinds of specifications of
the successor state
2009-08-03 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (require rudel-backend): now necessary
(require rudel-protocol): now necessary
(class rudel-obby-backend): now derived from `rudel-backend';
autoloaded
(autoloading): use `rudel-add-backend'
* rudel.el (require rudel-backend): backends have their own file
(class rudel-backend): moved to rudel-backend.el
(rudel-load-backends): moved to rudel-backend.el
(rudel-suitable-backends): moved to rudel-backend.el
(rudel-choose-backend): moved to rudel-backend.el
(rudel-join-session): use `rudel-backend-choose'
(rudel-host-session): use `rudel-backend-choose'
* rudel-protocol.el (new file): interface for Rudel protocol
backends
* Project.ede (target rudel): added rudel-protocol.el
* Makefile (rudel_LISP): added rudel-protocol.el
* rudel-backend.el (rudel-backend-factory::rudel-get-backend):
improved documentation string
(rudel-backend-factory::rudel-suitable-backends): improved
documentation string
(rudel-backend-suitable-backends): improved documentation string
(rudel-backend-choose): When only one backend matches, do not
check interactivity using `interactive-p', that does not work;
call `sit-for' correctly
2009-08-02 Jan Moringen <scymtym@users.sourceforge.net>
* jupiter/Makefile (whole file): regenerated; reflects CEDET
changes
* rudel-backend.el (new file): generic backend management, query
and loading functions
* Project.ede (target rudel): added rudel-backend.el to sources
* Makefile (rudel_LISP): added rudel-backend.el
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/net6_client_login): use slot
:object-name instead of calling object-name-string
(rudel-obby-server::rudel-add-context): use slot :object-name
instead of calling object-name-string
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::rudel-obby/obby_document/rename):
use slot :object-name instead of calling object-name-string
(rudel-obby-connection::rudel-add-context): use slot :object-name
instead of calling object-name-string
(rudel-obby-connection::rudel-publish): use slot :object-name
instead of calling object-name-string
* rudel.el (class rudel-user): added base class eieio-named for
virtual slot :object-name; made abstract
(class rudel-document): added base class eieio-named for virtual
slot :object-name
* rudel-overlay.el (rudel-make-author-overlay): use slot
:object-name instead of calling object-name-string
* rudel-state-machine.el
(rudel-state-machine::initialize-instance): use &rest slots
instead of just slots
2009-07-15 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-document::rudel-detach-from-buffer): call
`rudel-overlays-remove-all'; remove `rudel-unpublish-buffer' hook
early
* rudel-overlay.el (rudel-overlays-remove-all): new function;
remove all overlays from the current buffer
(whole file): cosmetic changes; typo fixes; whitespace fixes
* obby/rudel-obby.el (rudel-obby-document::rudel-unique-name):
Check `next-method-p' before calling the next method
* obby/rudel-obby-client.el
(rudel-obby-connection::initialize-instance): Check
`next-method-p' before calling the next method
(rudel-obby-connection::rudel-register-state): Check
`next-method-p' before calling the next method
(rudel-obby-connection::rudel-disconnect): Check
`next-method-p' before calling the next method
* rudel.el (rudel-client-session::rudel-end): Check
`next-method-p' before calling the next method
2009-07-13 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (rudel-obby-backend::rudel-connect): only
start the network process after everything is ready; wait for the
connection state machine to reach a success or error state
(rudel-obby-backend::rudel-host): cosmetic changes
(class rudel-obby-user): cosmetic changes
* rudel.el (rudel-join-session): reversed order of creation for
session and connection; do not catch errors to give error messages
a chance
* jupiter/jupiter-insert.el (jupiter-insert::jupiter-transform):
cosmetic changes
(whole file): whitespace fixes
* rudel.el (rudel-session::rudel-find-user): added documentation
string; cosmetic changes
(rudel-session::rudel-find-document): added documentation string;
cosmetic changes
(whole file): whitespace fixes
2009-07-12 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-speedbar.el (eieio-speedbar-object-buttonname): use
`rudel-unique-name' instead of `object-name-string'
* obby/rudel-obby-state.el (rudel-enter): return nil
* obby/rudel-obby-client.el
(rudel-obby-client-state-joining::rudel-enter): return nil
(rudel-obby-client-state-join-failed::rudel-enter): return nil
(rudel-obby-client-state-session-synching::rudel-enter): return
nil
(rudel-obby-client-state-session-synching::object-print): new
method; add number of remaining items to string representation
(rudel-obby-client-state-subscribing::rudel-enter): nil
(rudel-obby-client-state-document-synching::rudel-enter): nil
(rudel-obby-client-state-document-synching::object-print): new
method; add number of remaining bytes to string representation
2009-07-11 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-util.el (with-parsed-arguments): added debug
declaration
(whole file): whitespace fixes
* rudel-util.el (rudel-assemble-line-fragments): added debug
declaration
(rudel-loop-lines): added debug declaration
(rudel-loop-chunks): fixed documentation string; added debug
declaration
* rudel-state-machine.el (rudel-no-start-state): new error symbol
(rudel-state-machine::initialize-instance): try hard to find a
suitable start sate; call `rudel-switch' instead of just
`rudel-enter'
(rudel-state-machine::rudel-switch): always return the new current
state; accept successor state from `rudel-enter'
(rudel-state-machine::object-print): new method; add current state
of state machine to string representation
(rudel-state-machine::rudel-state-wait): whitespace fixes
2009-07-07 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (class rudel-obby-backend): better
documentation string
(rudel-obby-backend::rudel-ask-connect-info): added documentation
string
(rudel-obby-backend::rudel-connect): added documentation string
(rudel-obby-backend::rudel-ask-host-info): added documentation
string
(rudel-obby-backend::rudel-host): added documentation string
(rudel-obby-backend::rudel-make-document): added documentation
string
(rudel-obby-send): cosmetic changes
(whole file): whitespace fixes
2009-07-05 Jan Moringen <scymtym@users.sourceforge.net>
* INSTALL (REQUIREMENTS): added Emacs itself and GNUTls
* rudel-tls.el (rudel-tls-start-tls): added a message
(rudel-tls-wait-handshake): switch to filter
`rudel-tls-established' instead of restoring the original filter
(rudel-tls-established): new function; filters GNUTls messages in
encrypted connections
(whole file): whitespace fixes
2009-07-04 Jan Moringen <scymtym@users.sourceforge.net>
* README (INTRODUCTION): extended a bit
(JOINING A SESSION): added prompt/input example and an explanation
of encryption issues in the obby backend
(KNOWN BUGS): new section; no known bugs yet, though
2009-06-17 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-client.el (require rudel-state-machine): the
connection now is a state machine
(require rudel-obby-errors): used when analyzing login failures
(require rudel-obby-state): useful base classes for states
(rudel-obby-client-state-new): new class; initial state of new
connections
(rudel-obby-client-state-encryption-negotiate): new class;
first encryption state
(rudel-obby-client-state-encryption-start): new class; second
encryption state
(rudel-obby-client-state-joining): new class
(rudel-obby-client-state-join-failed): new class; entered after
failed login attempt
(rudel-obby-client-state idle): new class; default state of
established connections
(rudel-obby-client-state-session-synching): new class;
synchronizing session state to client
(rudel-obby-client-state-subscribing): new class; first state of
document subscription
(rudel-obby-client-state-document-synching): new class;
synchronizing document state to client
(rudel-obby-client-connection-states): new variable; alist of
name symbols and associated state classes
(rudel-obby-connection::initialize-instance): register states
(rudel-obby-connection::rudel-register-state): new method; set
connection slot of state to its connection
(rudel-obby-connection::rudel-add-context): cleanup
(rudel-obby-connection::rudel-message): dispatch message using
`rudel-accept'
(rudel-obby-connection::rudel-subscribe-to): initiate subscription
by switching to state 'subscribing'
* obby/rudel-obby-state.el (rudel-obby-document-handler): new
class; mixin class that provides handling of obby 'document'
messages
* rudel-state-machine.el
(rudel-state-machine::initialize-instance): find start state in
slots and switch into it
(while-file): whitespace fixes
2009-06-15 Jan Moringen <scymtym@users.sourceforge.net>
* www/index.html (section download): fixed link to download area
(whole file): whitespace cleanup
* obby/rudel-obby-state.el (new file): finite state machine states
for the rudel backend
* obby/Project.ede (target rudel/obby): added rudel-obby-state.el
* obby/Makefile (target obby_LISP): added rudel-obby-state.el
* rudel-util.el (require rudel-errors): required for dispatch
errors
(symbol rudel-dispatch-error): new condition symbol for dispatch
errors
(rudel-dispatch): new function; dispatch to method based on method
name
(whole file): whitespace fixes
2009-06-14 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-mode.el (global-rudel-minor-mode): removed; the variable
is created by `define-minor-mode'
(minor-mode-alist): managed by `define-minor-mode'
* rudel-mode.el (require easy-mmode): used to define global rudel
minor mode
(rudel-minor-keymap): cosmetic changes
(global-rudel-minor-mode): use `define-minor-mode' to define the
mode
(whole file): whitespace cleanup
* rudel-telepathy.el (whole file): moved to
telepathy/rudel-telepathy.el
* telepathy/rudel-telepathy.el (whole file): moved from
rudel-telepathy.el
* obby/rudel-obby-server.el (whole file): whitespace cleanup
* obby/rudel-obby-client.el (require rudel-obby): removed;
unnecessary
(rudel-obby-connection::initialize-instance): use &rest for `slots'
argument; cosmetic changes
(rudel-obby-connection::rudel-change-color-): use own `rudel-send'
method instead of the socket's
(rudel-obby-connection::rudel-subscribe-to): cosmetic changes
(rudel-obby-connection::rudel-unsubscribe-from): cosmetic changes
(rudel-obby-connection::rudel-local-operation): cosmetic changes
(whole file): whitespace cleanup
2009-06-13 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-errors.el (new file): error data
* rudel-state-machine.el (new file): a simple finite state machine
implementation
* Project.ede (target rudel): added rudel-errors.el and
rudel-state-machine.el
* Makefile (target rudel_LISP): added rudel-errors.el and
rudel-state-machine.el
2009-06-12 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-server.el (require rudel-obby-errors): now
required
(rudel-obby-client::rudel-obby/net6_client_login): check username
and color before adding the client
(rudel-obby-server::rudel-check-username-and-color): new method;
make sure username and color are valid and there are no duplicates
* obby/rudel-obby-errors.el (new file): error data for the obby
backend
* obby/Project.ede (rudel/obby): added rudel-obby-errors.el
* obby/Makefile (obby_LISP): added rudel-obby-errors.el
* rudel.el (rudel-user::rudel-color): added accessor `rudel-color'
* obby/rudel-obby-server.el (require cl): required
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/net6_client_login): send suffices
of synchronized documents
2009-06-11 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_document_create): send
document/rename message to client when the document suffix changes
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/net6_client_login): use
`with-parsed-arguments'
(rudel-obby-client::rudel-obby/obby_user_colour): use
`with-parsed-arguments'
(rudel-obby-client::rudel-obby/obby_document_create): use
`with-parsed-arguments'
(rudel-obby-client::rudel-obby/obby_document): use
`with-parsed-arguments'
(rudel-obby-client::rudel-obby/obby_document/subscribe): use
`with-parsed-arguments'
(rudel-obby-client::rudel-obby/obby_document/unsubscribe): use
`with-parsed-arguments'
(rudel-obby-client::rudel-obby/obby_document/record): use
`with-parsed-arguments'
(rudel-obby-client::rudel-obby/obby_document/record/ins): use
`with-parsed-arguments'
(rudel-obby-client::rudel-obby/obby_document/record/del): use
`with-parsed-arguments'
* obby/rudel-obby-server.el (header): fixed version
2009-06-10 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-local-operation): fixed wording in
comment
* www/images/development.png (whole file): changed size 48x48 ->
64x64
* www/images/development.svg (whole file): changed size 48x48 ->
64x64
* www/images/download.png (whole file): changed size 48x48 ->
64x64
* www/images/download.svg (whole file): changed size 48x48 ->
64x64
* www/images/info.png (whole file): changed size 48x48 -> 64x64
* www/images/info.svg (whole file): changed size 48x48 -> 64x64
* index.html (section introduction): wording fixes; link to Gobby
(whole file): removed external link class for sourceforge links
(section download): added link to INSTALL file in svn code browser
(section footer): fixed copyright
* compatibility.html (section footer): fixed copyright
2009-06-09 Jan Moringen <scymtym@users.sourceforge.net>
* INSTALL (section REQUIREMENTS): removed ERT which is not
currently used
(section INSTALL): some wording and file name fixes
(section COMPILING): precise make command
* www/index.html (section development): fixed mailing list and
issue tracker links; removed email address
* www/compatibility.html (head): fixed charset
(section semantic): added missing <p> tag
* www/compatibility.html (new file): compatibility information
* www/index.html (new file): start page
* www/style.css (new file): stylesheet
* www/images/development.png (new file): development icon
* www/images/development.svg (new file): development icon
* www/images/download.png (new file): download icon
* www/images/download.svg (new file): download icon
* www/images/email-link.png (new file): icon for email links
* www/images/external-link.png (new file): icon for external links
* www/images/info.png (new file): info icon
* www/images/info.svg (new file): info icon
* www/images/screenshot.png (new file): screenshot for the start
page
* obby/rudel-obby-serverl.el
(rudel-obby-client::rudel-obby/obby_document_create): find unique
suffix for the new document; send suffix to clients
* obby/rudel-obby.el (header): fixed license text
* obby/rudel-obby-util.el (header): fixed license text
* obby/rudel-obby-server.el (header): fixed license text
* obby/rudel-obby-client.el (header): fixed license text
* jupiter/jupiter.el (header): fixed license text
* jupiter/jupiter-operation.el (header): fixed license text
* jupiter/jupiter-nop.el (header): fixed license text
* jupiter/jupiter-insert.el (header): fixed license text
* jupiter/jupiter-delete.el (header): fixed license text
* jupiter/jupiter-compound.el (header): fixed license text
* rudel.el (header): fixed license text
* rudel-util.el (header): fixed license text
* rudel-tls.el (header): fixed license text
* rudel-telepathy.e (header): fixed license text
* rudel-speedbar.el (header): fixed license text
* rudel-overlay.el (header): fixed license text
* rudel-operators.el (header): fixed license text
* rudel-operations.el (header): fixed license text
* rudel-mode.el (header): fixed license text
* rudel-interactive.el (header): fixed license text
* rudel-compat.el (header): fixed license text
* obby/rudel-obby-util.el (require cl): now required
(generic rudel-obby-char->byte): new generic; char positions ->
byte positions
(jupiter-insert::rudel-obby-char->byte): new method; char
positions -> byte positions
(jupiter-delete::rudel-obby-char->byte): new method; char
positions -> byte positions
(jupiter-compound::rudel-obby-char->byte): new method; char
positions -> byte positions
(jupiter-nop::rudel-obby-char->byte): new method; char positions
-> byte positions
(generic rudel-obby-byte->char): new generic; byte positions ->
char positions
(jupiter-insert::rudel-obby-byte->char): new method; byte
positions -> char positions
(jupiter-delete::rudel-obby-byte->char): new method; byte
positions -> char positions
(jupiter-compound::rudel-obby-byte->char): new method; byte
positions -> char positions
(jupiter-nop::rudel-obby-byte->char): new method; byte positions
-> char positions
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-local-operation): call
`rudel-obby-char->byte' before processing
(rudel-obby-connection::rudel-remote-operation): call
`rudel-obby-byte->char' before processing
* rudel.el (rudel-buffer-change-workaround-data): new variable;
holds change data for later use
(rudel-document::rudel-attach-to-buffer): add
`rudel-buffer-change-workaround' to 'before-change-functions'
(rudel-document::rudel-detach-from-buffer): remove
`rudel-buffer-change-workaround' from 'before-change-functions'
(rudel-buffer-change-workaround): new function; stores change data
for later use
2009-06-07 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-obby/net6_client_join): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/net6_client_part): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_welcome): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_sync_init): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_sync_usertable_user): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_user_colour): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_sync_doclist_document):
use `with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_document_create): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_document_remove): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_document): use
`with-parsed-arguments'; cleanup
(rudel-obby-connection::rudel-obby/obby_document/rename): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_document/subscribe): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_document/unsubscribe): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_document/sync_chunk): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_document/record): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_document/record/ins): use
`with-parsed-arguments'
(rudel-obby-connection::rudel-obby/obby_document/record/del): use
`with-parsed-arguments'
2009-06-06 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-obby/net6_client_part): use `eql',
not `=' when calling `rudel-find-user' since the client id can be
nil
* obby/rudel-obby-util.el (require jupiter): silence byte compiler
* obby/rudel-obby-util.el (rudel-obby-dispatch): moved inside file
(with-parsed-arguments): new macro; executed forms with variables
bound to parsed arguments
2009-06-04 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (require rudel-interactive): interactive functions use
`rudel-read-backend' and `rudel-read-document'
* rudel.el (rudel-buffer-document): mark as permanent local
variable to prevent deletion in the event of a major-mode change
(rudel-document::rudel-attach-to-buffer): add (buffer-locally)
`rudel-handle-major-mode-change' to 'change-major-mode-hook' such
that it can repair damage caused by major-mode changes
(rudel-document::rudel-detach-from-buffer): remove
`rudel-handle-major-mode-change' from 'change-major-mode-hook'
(rudel-mode-changed-buffers) new variable; temporarily stores
buffers that underwent major-mode changes
(rudel-handle-major-mode-change): new function; schedules buffers
for repair after major-mode changes
(rudel-after-major-mode-change): new function; repairs buffer
objects after major-mode changes
2009-06-03 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-buffer-has-document-p): use `buffer-local-value'
(rudel-buffer-document): use `buffer-local-value'
(rudel-set-buffer-document): added documentation string
2009-06-02 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-handle-buffer-change): There are three cases
now: insert, delete and arbitrary changes; arbitrary changes
generate a delete and insert operation
* rudel-mode.el (rudel-minor-keymap): added some comments
(global-rudel-minor-mode): extended documentation string; cleaned
up code; added comments
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-obby/net6_client_part): fixed typo
in variable name client-id-numeric
2009-05-28 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-util.el (header): Fixed version (1.0 -> 0.1)
* obby/rudel-obby-client.el (header): Fixed version (1.0 -> 0.1)
(rudel-obby-connection::rudel-obby/obby_document/record/split):
introduced temporary variable
2009-??-?? Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-buffer-document): removed; replaced by
rudel-buffer-documents hash-table
(rudel-buffer-documents): new variable; a hash-table, which
associates documents to buffers
(rudel-buffer-has-document-p):
(rudel-buffer-document):
(rudel-set-buffer-document):
2009-03-16 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-obby/net6_client_part): do not crash
if the client id cannot be found
* obby/rudel-obby.el (rudel-obby-backend::rudel-make-document):
specify value 1 for slot suffix
(rudel-obby-document::suffix): new slot; contains the suffix
number of the document
(rudel-obby-document::rudel-unique-name): new method; return
unique name based on document name and suffix
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-obby/obby_sync_doclist_document): do
not ignore the suffix when creating the document object
(rudel-obby-connection::rudel-obby/obby_document_create): do not
ignore the suffix when creating the document object
(rudel-obby-connection::rudel-obby/obby_document/rename): change
document name and suffix as requested
* rudel.el (rudel-document::rudel-unique-name): new method;
returns a unique name for the document
(rudel-document::rudel-suggested-buffer-name): new method; returns
a suggested name for the buffer attached to the document
(rudel-subscribe): use `rudel-suggested-buffer-name' instead of
the object name
* rudel-interactive.el (rudel-read-document): use the unique names
of the documents instead of the object names
2009-02-27 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-document::rudel-attach-to-buffer): add hook to
detach document from the buffer when the buffer is killed
(rudel-document::rudel-detach-from-buffer): remove unpublish
function kill buffer hook
2009-02-23 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-document): minor cleanup
(rudel-document::rudel-attach-to-buffer): stylistic changes
(rudel-document::rudel-detach-from-buffer): fixed argument order in
call to `rudel-set-buffer-document'
* obby/rudel-obby-server.el
(rudel-obby-server::rudel-remove-client): Make sure there is a
user object before setting the status to offline
* obby/rudel-obby-client.el (rudel-obby/net6_encryption_failed):
only fail if encryption has been requested in the first
place. otherwise, just carry on
* rudel.el (rudel-document::rudel-attach-to-buffer): use
`rudel-set-buffer-document'
(rudel-document::rudel-detach-from-buffer): use
`rudel-set-buffer-document'
(rudel-buffer-has-document-p): new function; test whether a buffer
has an associated document object
(rudel-buffer-document): new function; returns associated document
object of a buffer
(rudel-set-buffer-document): new functions; sets associated
document object of a buffer
(rudel-handle-buffer-change): use `rudel-buffer-has-document-p'
(rudel-publish-buffer): use `rudel-buffer-has-document-p'
(rudel-unpublish-buffer): use `rudel-buffer-has-document-p' and
`rudel-buffer-document'
* rudel-mode.el (rudel-minor-keymap): use
`rudel-buffer-has-document-p'
* obby/rudel-obby-client.el (rudel-obby/obby_document/rename):
new method; dummy implementation
* obby/rudel-obby-client.el (rudel-obby/net6_client_join):
stylistic change
2009-02-21 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-util.el (generic rudel-operation->message): new
generic function; serializes an operation
(jupiter-insert::rudel-operation->message): new method
(jupiter-delete::rudel-operation->message): new method
(jupiter-compound::rudel-operation->message): new method
(jupiter-nop::rudel-operation->message): new method
(rudel-message->operation): new function; deserializes an
operation from a received message
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-local-insert): do not construct
message string; use `rudel-operation->message'
(rudel-obby-connection::rudel-local-delete): do not construct
message string; use `rudel-operation->message'
(rudel-obby-connection::rudel-local-operation): new method;
handles operation objects that represent local operations
(rudel-obby-connection::rudel-remote-operation): new method;
handles operation objects that represent remote operations
(rudel-obby-connection::rudel-obby/obby_document/record/ins):
construct operation name correctly; do not call jupiter context to
transform operation
(rudel-obby-connection::rudel-obby/obby_document/record/del):
construct operation name correctly; do not call jupiter context to
transform operation
(rudel-obby-connection::rudel-obby/obby_document/record/split):
new method; handles split operation messages
(rudel-obby-connection::rudel-obby/obby_document/record/noop): new
method; handles nop messages
2009-02-12 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (rudel-obby-backend::rudel-ask-connect-info):
ask whether to encrypt the connection
(rudel-obby-backend::rudel-connect): create connection object
capable of StartTLS encryption when encryption was requested
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-obby/net6_encryption): do not fail
when the server requests encryption
(rudel-obby-connection::rudel-obby/net6_encryption_begin): start
TLS encryption for the connection
(rudel-obby-connection::rudel-obby/net6_encryption_failed): new
method; stub
* rudel-tls.el (new file): StartTLS encryption for Rudel
* Project.ede ("rudel"): added rudel-tls.el
* Makefile (rudel_LISP): added rudel-tls.el
2009-02-06 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-compat.el (header): fixed email address, keywords, legal
notice and file commentary
2009-02-05 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (rudel-compat): require rudel-compat for
`read-color'
* rudel.el (rudel-compat): require rudel-compat for `read-color'
* rudel-interactive.el (rudel-compat): require rudel-compat for
`read-color'
* rudel-compat.el (new file): compatibility code
* Project.ede (rudel): added rudel-compat.el
* Makefile (rudel_LISP): regenerated: added rudel-compat.el
2009-02-04 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (require rudel)
* obby/rudel-obby-util.el (require rudel)
* obby/rudel-obby-client.el (require rudel-obby): make compilation
succeed
* rudel.el (include eieio-speedbar): I need it for now; I should
get rid of it later
* INSTALL (REQUIREMENTS): added note that CVS version of cedet is
required
(INSTALLING): added subdirectories jupiter and obby in load path
listing; fixed name of autoload file
2009-02-02 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (rudel-obby-backend::rudel-ask-connect-info)
(rudel-obby-backend::rudel-host, rudel-obby-replace-in-string)
* obby/rudel-obby-util.el (rudel-obby-dispatch)
* obby/rudel-obby-server.el (rudel-obby-client::rudel-obby/obby_document)
(rudel-obby-server::rudel-broadcast, rudel-obby-server::rudel-make-user)
* obby/rudel-obby-client.el (rudel-obby-connection::rudel-obby/net6_client_join)
(rudel-obby-connection::rudel-obby/obby_document)
* jupiter/jupiter-operation.el (jupiter-operation)
* rudel.el (rudel-backend, rudel-session, rudel-server-session)
(rudel-connection, rudel-document)
(rudel-document::rudel-attach-to-buffer)
(rudel-document::rudel-detach-from-buffer)
(rudel-document::rudel-insert, rudel-document::rudel-delete)
(rudel-change-color)
* rudel-util.el (rudel-assemble-line-fragments, rudel-loop-lines)
* rudel-overlay.el (rudel-make-author-overlay)
* rudel-interactive.el (rudel-read-backend, rudel-read-user-color)
(rudel-read-user, rudel-read-document): replaced 't by t
* rudel-operators.el (rudel-overlay-operators::rudel-insert):
Fixed computation of insertion offset when appending to the end of
the buffer string
* rudel.el (rudel-document::rudel-chunks): fixed invalid access to
last chunk for empty buffer
* rudel.el (rudel-document::rudel-attach-to-buffer): fixed
incorrect slot reference
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_document/subscribe): minor
rearrangement of expressions
(rudel-obby-client::rudel-obby/obby_document/unsubscribe): minor
rearrangement of expressions
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_document/record/ins): added
documentation string
(rudel-obby-client::rudel-obby/obby_document/record/del): added
documentation string
(rudel-obby-server): cosmetic change
* jupiter/jupiter.el (jupiter-context::jupiter-remote-operation):
improved documentation string; cosmetic changes
* jupiter/jupiter-insert.el (jupiter-insert::jupiter-transform):
improved some comments
* rudel.el (rudel-document::rudel-attach-to-buffer): renamed
some variables; added documentation string
(rudel-document::rudel-insert): improved documentation string
(rudel-document::rudel-chunks): do not create chunks when buffer
string is empty; improved comments
(rudel-choose-backend): compare number using `=' not `eq'
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_document/record/ins): use
`rudel-remote-operation' instead of `rudel-remote-insert'
(rudel-obby-client::rudel-obby/obby_document/record/del): use
`rudel-remote-operation' instead of `rudel-remote-delete'
* obby/rudel-obby-client.el (include rudel-operations): for
rudel-insert-op and rudel-delete-op
(rudel-obby-connection::rudel-obby/obby_document/sync_chunk): use
`rudel-remote-operation' with rudel-insert-op to insert chunks
(rudel-obby-connection::rudel-obby/obby_document/record/ins): use
`rudel-remote-operation' instead of `rudel-remote-insert'
(rudel-obby-connection::rudel-obby/obby_document/record/del): use
`rudel-remote-operation' instead of `rudel-remote-delete'
* jupiter/jupiter-operation.el (include rudel-operations): for
rudel-operation
(jupiter-operation): derived from rudel-operation
(jupiter-operation::jupiter-apply): removed; replaced by generic
`rudel-apply'
* jupiter/jupiter-nop.el (jupiter-nop::jupiter-apply): removed;
replaced by `rudel-apply'
(jupiter-nop::rudel-apply): new method; implements generic
`rudel-apply'
* jupiter/jupiter-insert.el (include rudel-operations): for
jupiter-insert-op
(jupiter-insert): derived from jupiter-insert-op
(jupiter-insert::jupiter-apply): removed; inherited from
jupiter-insert-op
(jupiter-insert::slot-missing): removed; inherited from
jupiter-insert-op
* jupiter/jupiter-delete.el (include rudel-operations): for
jupiter-delete-op
(jupiter-delete): derived from jupiter-delete-op
(jupiter-delete::jupiter-apply): removed; inherited from
jupiter-delete-op
(jupiter-delete::slot-missing): removed; inherited from
jupiter-delete-op
* jupiter/jupiter-compound.el (jupiter-compound::jupiter-apply):
removed; replaced by `rudel-apply'
(jupiter-compound::rudel-apply): new method; implements generic
`rudel-apply'
* rudel.el (include rudel-operations): everything is represented
in terms of operations
(include rudel-operators): operations apply changes to objects
through operators
(rudel-document::rudel-insert): new method; performs insert
operation
(rudel-document::rudel-delete): new method; performs delete
operation
(rudel-document::rudel-local-insert): removed; document does not
deal with aspects other than the actual insert and delete
(rudel-document::rudel-local-delete): removed; document does not
deal with aspects other than the actual insert and delete
(rudel-document::rudel-remote-insert): removed; document does not
deal with aspects other than the actual insert and delete
(rudel-document::rudel-remote-delete): removed; document does not
deal with aspects other than the actual insert and delete
(rudel-document::rudel-local-operation): new method; apply
operation using overlay and connection operators
(rudel-document::rudel-remote-operation): new method; apply
operation using document and overlay operators
(rudel-handle-buffer-change): realize buffer changes using
operations
* rudel-operators.el (new file): collections of operations on
Rudel data types
* rudel-operations.el (new file): operation classes
2009-02-01 Jan Moringen <scymtym@users.sourceforge.net>
* jupiter/jupiter-insert.el (jupiter-insert::jupiter-transform):
handle jupiter-nop
* jupiter/jupiter-delete.el (jupiter-delete::jupiter-transform):
in inner cond, use matching pattern but empty body for
no-operation cases; in outer cond, handle jupiter-nop
* jupiter/jupiter-compound.el (jupiter-compound): now derived from
jupiter-operation; should have been right from the start
2009-01-31 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-default-username): Default name used when
prompting for user name; required by rudel-interactive
* rudel-interactive.el (rudel-read-backend): fixed typo
2009-01-30 Jan Moringen <scymtym@users.sourceforge.net>
* jupiter/jupiter-insert.el (jupiter-insert::jupiter-transform):
fixed two offset calculations
* jupiter/jupiter-delete.el (jupiter-delete::jupiter-transform):
fixed offset calculation
* rudel.el (rudel-backend::rudel-ask-connect-info): changed from
method to generic
(rudel-backend::rudel-connect): changed from method to generic
(rudel-backend::rudel-ask-host-info): changed from method to
generic
(rudel-backend::rudel-host): changed from method to generic
(rudel-backend::rudel-make-document): changed from method to
generic
(rudel-session::rudel-disconnect): changed from method to generic
(rudel-session::rudel-change-color-): changed from method to
generic
(rudel-session::rudel-publish): changed from method to generic
(rudel-session::rudel-subscribe-to): changed from method to
generic
(rudel-session::rudel-unsubscribe-from): changed from method to
generic
(rudel-session::rudel-local-insert): changed from method to
generic
(rudel-session::rudel-local-delete): changed from method to
generic
(rudel-session::rudel-remote-insert): changed from method to
generic
(rudel-session::rudel-remote-delete): changed from method to
generic
2009-01-28 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-overlay.el (header): fixed version
(whole file): cosmetic changes
(rudel-author-overlay-p): added documentation string
(rudel-author-overlays): added documentation string
* rudel-mode.el (rudel-minor-keymap): cosmetic changes
* rudel-mode.el (rudel-minor-keymap): Separated session
participation and hosting items
* obby/rudel-obby.el (rudel-obby-long-message-threshold): Added
documentation string
(rudel-obby-long-message-chunk-size): Added documentation string
(rudel-obby-backend::rudel-connect): Do not set process object;
this is done in the `initialize-instance' method of the base class
(rudel-obby-format-color): retrieve color components with
`color-values'
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-remove-context): improved
documentation string
(rudel-obby-connection::rudel-publish): added a comment
(rudel-obby-connection::rudel-subscribe-to): added some comments;
cleaned up code
(rudel-obby-connection::rudel-unsubscribe-from): added a comment
(rudel-obby-connection::rudel-obby/net6_ping): added documentation
string
(rudel-obby-connection::rudel-obby/net6_encryption): added
documentation string
(rudel-obby-connection::rudel-obby/net6_login_failed): added
documentation string
(rudel-obby-connection::rudel-obby/net6_client_part): use `='
instead of `eq' to compare client ids; fixed documentation string;
improved comments
(rudel-obby-connection::rudel-obby/obby_user_colour): use `='
instead of `eq' to compare user ids
(rudel-obby-connection::rudel-obby/obby_document/sync_chunk): use
`=' instead of `eq' to compare user ids; use accessor
`user-id-numeric'
* obby/rudel-obby-util.el (rudel-obby-dispatch): new functions;
dispatches to class methods based on message name; handles errors
properly
* obby/rudel-obby-server.el (rudel-obby-client::rudel-message):
use `rudel-obby-dispatch' to dispatch message
(rudel-obby-client::rudel-obby/obby_document): use
`rudel-obby-dispatch' to dispatch message
(rudel-obby-client::rudel-obby/obby_document/record): use
`rudel-obby-dispatch' to dispatch message
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-message): use `rudel-obby-dispatch'
to dispatch message; moved to a different location
(rudel-obby-connection::rudel-obby/obby_document): use
`rudel-obby-dispatch' to dispatch message
(rudel-obby-connection::rudel-obby/obby_document/record): use
`rudel-obby-dispatch' to dispatch message
* obby/rudel-obby-util.el (generic rudel-message): made the method
a generic function and updated the documentation string
2009-01-26 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (rudel-obby-document::revision): removed; The
slot is no longer needed
* obby/rudel-obby-server.el (require jupiter): uses jupiter
algorithm
(rudel-obby-client::rudel-obby/obby_document_create): add a
jupiter context for the document
(rudel-obby-client::rudel-obby/obby_document/subscribe): add a
jupiter context for the document
(rudel-obby-client::rudel-obby/obby_document/unsubscribe): remove
the jupiter context associated to the document
(rudel-obby-client::rudel-obby/obby_document/record/ins):
transformed the operation before applying it to the buffer; use
the respective jupiter contexts of the receivers when sending the
operation
(rudel-obby-client::rudel-obby/obby_document/record/del):
transformed the operation before applying it to the buffer; use
the respective jupiter contexts of the receivers when sending the
operation
(rudel-obby-server::contexts): new slot; stores jupiter contexts
for pairs of clients and documents
(rudel-obby-server::initialize-instance): new method; store an
empty hash-table in the `contexts' slot
(rudel-obby-server::rudel-find-context): find the jupiter context
for a pair of a client and a document
(rudel-obby-server::rudel-add-context): add a jupiter context for
a pair of a client and a document
(rudel-obby-server::rudel-remove-context): remove the jupiter
context for a pair of a client and a document
(rudel-obby-context-key): return a list of client id and document
id
* obby/rudel-obby-client.el (require jupiter): uses jupiter
algorithm
(rudel-obby-connection::contexts): new slot; stores jupiter
contexts for documents
(rudel-obby-connection::initialize-instance): new method; store an
empty hash-table in the `contexts' slot
(rudel-obby-connection::rudel-find-context): new method; return
the jupiter context for a document
(rudel-obby-connection::rudel-add-context): new method; add a
jupiter context for a document
(rudel-obby-connection::rudel-remove-context): new method; remove
the jupiter context for a document
(rudel-obby-connection::rudel-publish): add a jupiter context for
the new document
(rudel-obby-connection::rudel-subscribe-to): add a jupiter context
for the new document
(rudel-obby-connection::rudel-unsubscribe-from): remove the
jupiter context associated to the document
(rudel-obby-connection::rudel-local-insert): use revision
information from the jupiter context instead of the document;
supply the operation to the jupiter context
(rudel-obby-connection::rudel-local-delete): use revision
information from the jupiter context instead of the document;
supply the operation to the jupiter context
(rudel-obby-connection::rudel-obby/obby_document/record/ins):
transform the operation using the jupiter context instead of using
it unmodified
(rudel-obby-connection::rudel-obby/obby_document/record/del):
transform the operation using the jupiter context instead of using
it unmodified
2009-01-22 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-client.el (rudel-obby-connection): removed
redundant slot `socket' (inherited from base class)
2009-01-21 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-interactive.el (rudel-read-user): added comments
(rudel-allocate-buffer-clear-existing): added documentation string
(rudel-allocate-buffer-make-unique): added documentation string
2009-01-19 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el, rudel-util.el, rudel-telepathy.el, rudel-speedbar.el,
rudel-overlay.el, rudel-mode.el, jupiter/jupiter.el,
jupiter/jupiter-operation.el, jupiter/jupiter-nop.el,
jupiter/jupiter-insert.el, jupiter/jupiter-delete.el,
jupiter/jupiter-compound.el, obby/rudel-obby.el,
obby/rudel-obby-util.el, obby/rudel-obby-server.el,
obby/rudel-obby-client.el (header): changed email address
<scymtym@users.sourceforge.net> ->
<scymtym@users.sourceforge.net>
* rudel-interactive.el (header): added keywords to file header
comment
* jupiter/jupiter.el (new file): core Jupiter algorithm
* jupiter/jupiter-operation.el (new file): base class for Jupiter
operations
* jupiter/jupiter-insert.el (new file): insert operation for
Jupiter algorithm
* jupiter/jupiter-delete.el (new file): delete operation for
Jupiter algorithm
* jupiter/jupiter-nop.el (new file): no-operation for Jupiter
algorithm
* jupiter/jupiter-compound.el (new file): compound operation for
Jupiter algorithm
2009-01-11 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (rudel-obby-user::client-id): added rationale
for type (or null integer)
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-obby/net6_client_join): added
documentation string; cosmetic changes
(rudel-obby-connection::rudel-obby/net6_client_part): use accessor
`rudel-client-id' when searching for the user object; set
client-id to nil in the user object; added documentation string
(rudel-obby-connection::rudel-obby/obby_sync_usertable_user):
store parsed user-id and color in temporaries
(rudel-obby-connection::rudel-obby/obby_user_colour):store parsed
color in a temporary; use accessor `rudel-id' when finding the
user object
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-change-color-): new function;
implements changing the color
* obby/rudel-obby-util.el
(rudel-obby-socket-owner::rudel-receive): improved documentation
string
2009-01-05 Jan Moringen <scymtym@users.sourceforge.net>
* INSTALL (REQUIREMENTS): proper list of requirements and sources
from which they can be obtained
(INSTALLING): initial version of installation instructions
(COMPLETING): some notes about compiling
* README (INTRODUCTION): short introduction
(GETTING STARTED): some notes about enabling Rudel, joining and
hosting sessions
2009-01-04 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (rudel-obby-long-message-threshold): new
variable; threshold for message size, above which messages are
sent in multiple chunks
(rudel-obby-long-message-chunk-size): Chunk size used, when
chunking long messages.
(rudel-obby-user::client-id): allow value nil; added accessor;
added documentation string
(rudel-obby-send): new function; handles low-level aspects of
sending obby protocol messages
* obby/rudel-obby-util.el: new file; contains helper
functionality, mainly the class `rudel-obby-socket-owner', which
handles sending and receiving message
* obby/rudel-obby-server.el (includes): replaced rudel-obby with
rudel-obby-util, since it contains `rudel-obby-socket-owner'
(class rudel-obby-client): added base class
`rudel-obby-socket-owner'
(rudel-obby-client::rudel-receive): deleted, the functionality is
provided by the base class `rudel-obby-socket-owner'
(rudel-obby-client::rudel-send): deleted, the functionality is
provided by the base class `rudel-obby-socket-owner'
(rudel-obby-client::rudel-message): new method; called by base
class when a message is received; dispatches to appropriate
handler method
(rudel-obby-client::rudel-obby/obby_user_colour): minor change in
documentation string
* obby/rudel-obby-client.el (includes): replaced rudel-obby with
rudel-obby-util, since it contains `rudel-obby-socket-owner'
(class rudel-obby-connection): added base class
`rudel-obby-socket-owner'
(rudel-obby-connection::rudel-disconnect): just call next method;
it does what this method formerly did
(rudel-obby-connection::rudel-close): new method; end the session,
when the connection is closed
(rudel-obby-connection::rudel-receive): deleted, the functionality
is provided by the base class `rudel-obby-socket-owner'
(rudel-obby-connection::rudel-send): deleted, the functionality is
provided by the base class `rudel-obby-socket-owner'
(rudel-obby-connection::rudel-message): new method; called by
base class when a message is received; dispatches to appropriate
handler method
* rudel.el (rudel-document::rudel-detach-from-buffer): do nothing,
if the document is not attached to any buffer
* obby/rudel-obby.el (rudel-obby-user): added missing accessor
`rudel-connected'
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/net6_client_login): transmit number
of synchronization items; transmit list of disconnected users
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_document/record/ins):
broadcast only to clients, which are subscribed to the document;
send user id of author instead of client id
(rudel-obby-client::rudel-obby/obby_document/record/del):
broadcast only to clients, which are subscribed to the document;
send user id of author instead of client id
(rudel-obby-client::rudel-subscribed-clients-not-self): new
method; return a list of clients subscribed to a document
excluding the client itself.
* obby/rudel-obby-server.el (rudel-obby-server::next-client-id):
first id should be 1, not 0; fixed initform accordingly
(rudel-obby-server::next-user-id):
first id should be 1, not 0; fixed initform accordingly
* rudel.el (rudel-document::rudel-chunks): fixed void variable
`chunks-' -> `augmented-chunks'
* obby/rudel-obby-server.el
(rudel-obby-client::rudel-obby/obby_document/subscribe): send
individual buffer chunks with their respective authors instead of
one large string without author information
* rudel.el (rudel-document::rudel-chunks): new method; return a
list of buffer position ranges and the respective authors, that
wrote the text
2009-01-03 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (rudel-obby-backend::rudel-host): cleanup
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-local-insert): accept arguments
`position' and `data' instead of `from', `to' and `what'; since
position is zero-based, transmit it literally
(rudel-obby-connection::rudel-local-delete): instead of `from' and
`to' accept argument `position'; since position is
zero-based. transmit it literally
(rudel-obby-connection::rudel-obby/obby_document/record):
identified remaining arguments; dispatch actions to appropriate
methods; identify methods by interning their symbols
(rudel-obby-connection::rudel-obby/obby_document/record/ins): new
method; handle remote insert actions
(rudel-obby-connection::rudel-obby/obby_document/record/del): new
method; handle remote delete actions
* rudel.el (includes): include rudel-overlay
(rudel-document::rudel-detach-from-buffer): improved readability
(rudel-document::rudel-local-insert): instead of redundant
arguments `from', `to' and `what' accept only `position' and
`data'; update overlays
(rudel-document::rudel-local-delete): instead of redundant
arguments `from', `to' and `length' accept only `position' and
`length'; update overlays
(rudel-document::rudel-remote-insert): renamed arguments `from' ->
`position', `what' -> `data'; update overlays
(rudel-document::rudel-remote-delete): replaced arguments `from'
and `to' by `position'; update overlays
(rudel-handle-buffer-change): call rudel-local-{insert, delete}
with changed arguments
2009-01-01 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-session::rudel-unsubscribed-documents): new
method; returns documents, to which the user associated with the
session is not yet subscribed
(rudel-subscribe): when called interactively, use
`rudel-unsubscribed-documents' to offer only unsubscribed
documents in completing read
* rudel-interactive.el (rudel-read-user-name): new function; read
a user name; could be used to enforce certain constraints on the
name
(rudel-read-user-color): new function; read a user color; could be
used to enforce certain constraints on the color
* obby/rudel-obby.el (rudel-obby-backend::rudel-ask-host-info):
new method; ask user for port number
(rudel-obby-backend::rudel-host): new method; require obby server
component, make the network process and construct the server
* obby/rudel-obby-server.el (new file): initial revision of obby
server for rudel
* obby/rudel-obby-client.el (header section): added keyword and
x-rcs
(rudel-obby-connection::rudel-publish): new method; send document
to server
(rudel-obby-connection::rudel-unsubscribe-from): send unsubscribe
notification to server
(rudel-obby-connection::rudel-local-insert): cleanup
(rudel-obby-connection::rudel-local-delete): new method; send
delete record to server and increase local revision
(rudel-obby-connection::rudel-obby/obby_document/sync_chunk):
improved user locating code; do not complain, when the user is not
found
(rudel-obby-connection::rudel-obby/obby_document/record): removed
useless debug message
* rudel.el (class rudel-session): update documentation string
(class rudel-server-session): new class; base class for server
sessions
(rudel-choose-backend): fixed void-variable when called
interactively
(rudel-host-session): provided initial implementation, which uses
the selected backend to create a server
(rudel-subscribe): call `set-window-buffer' instead of
`show-buffer'
* obby/rudel-obby.el (header section): fixed history
(rudel-obby-version): new constant; holds version of the obby
backend
(rudel-obby-protocol-version): new constant; holds the obby
protocol version understood by the backend
(rudel-obby-document::rudel-both-ids): new method; useful when
locating documents by means of owner and document id
* rudel-mode.el (header section): added keywords
* rudel-interactive.el (header section): added file comment
2008-12-30 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (class rudel-session): converted to base class for
other session classes; removed slots `connection' and `self' which
are specific for client sessions
(rudel-session::rudel-end): empty now; derived classes do the work
(rudel-session::rudel-add-user): use `object-add-to-list'
(rudel-session::rudel-remove-user): use `object-remove-from-list'
(rudel-session::rudel-add-document): use `object-add-to-list'
(rudel-session::rudel-remove-document): use
`object-remove-from-list'
(class rudel-client-session): derived from `rudel-session';
additional slots `connection' and `self'
(rudel-client-session::rudel-end): detach buffers from documents
and call `rudel-disconnect' on connection
(class rudel-connection): documentation string
(rudel-connection::rudel-disconnect): remove hook
`after-change-functions' only locally
(rudel-join-session): construct a proper session name; store
backend object in the session; some comments
* obby/rudel-obby.el (rudel-obby-document): cleanup; improved
documentation strings
* rudel-overlay.el (new file): functions for managing overlays,
which indicate the authors of contributions in collaborative
buffers
* rudel.el (rudel-allocate-buffer-function): customization option
for buffer allocation function
(rudel-subscribe): call buffer allocation function instead of just
using the provided name
* rudel-interactive.el (rudel-allocate-buffer-clear-existing): new
function; in case of a conflict, allocate buffer for subscription
by clearing the existing buffer
(rudel-allocate-buffer-make-unique): new function; in case of a
conflict, allocate buffer for subscription by producing a unique
name
* rudel.el (customization): added customization group definition
for `rudel'
* obby/rudel-obby.el (includes): require `rudel-util' instead of
`rudel'
(rudel-connect): attach connection to socket object
(rudel-obby-document): removed slot `subscribed' as it is now
contained in the base class `rudel-document'
(rudel-obby-escape-string): call `rudel-obby-replace-in-string'
instead of `obby-replace-in-string'
(rudel-obby-unescape-string): call `rudel-obby-replace-in-string'
instead of `obby-replace-in-string'
* obby/rudel-obby-client.el
(rudel-obby-connection::rudel-state-change): required by
`rudel-sentinel-dispatch'
(rudel-obby-connection::rudel-subscribe-to): do not touch slot
`subscribed'
(rudel-obby-connection::rudel-obby/obby_sync_doclist_document):
retrieve subscribed users and add to `subscribed' slot
(rudel-obby-connection::rudel-obby/obby_document_create): add
document owner to `subscribed' slot
(rudel-obby-connection::rudel-obby/obby_document/subscribe): add
user to `subscribed' slot
(rudel-obby-connection::rudel-obby/obby_document/unsubscribe):
remove user from `subscribed' slot
* rudel.el (rudel-document): added slot `subscribed' which
contains a list of subscribed users
(rudel-subscribe): do not use `rudel-unsubscribed-documents';
instead list all documents for now
(rudel-publish-buffer): add self to `subscribed' slot
* rudel-util.el (rudel-state-change): cleanup; added comments
* rudel-mode.el (rudel-minor-keymap): Fixed invalid menu
definition
* obby/rudel-obby.el (whole file): moved class
`rudel-obby-connection' and related methods into file
`rudel-obby-client.el'
(rudel-obby-backend): added capability `track-subscriptions'
(rudel-obby-backend::rudel-connect): require `rudel-obby-client'
before constructing the connection object
* obby/rudel-obby-client.el (new file): moved class
`rudel-obby-connection' and related methods into this file
2008-12-29 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-connection::rudel-change-color-): new method
handles color changes
(rudel-change-color): added basic implementation, which checks the
backend, asks the user for a new color and calls the connection
object
* rudel-util.el (rudel-socket-owner::rudel-state-change): called
when the state of the connection changes
(rudel-socket-owner::rudel-close): called when the connection is
closed
(rudel-sentinel-dispatch): the argument is a message, not the
actual state, the state is retrieved with `process-state'
* rudel-speedbar.el (whole file): cleanup; improved comments
* rudel-mode.el (whole file): improved comments
(rudel-read-{backend, document}): moved to rudel-interactive.el
(rudel-minor-keymap): added key binding for `rudel-change-color';
added `options' menu item
* rudel-interactive.el (whole file): user interaction functions
used by all Rudel components
* rudel-util.el (whole file): utility functions used by all Rudel
components
* rudel.el (whole file): improved comments
(rudel-backend::make-document): new function create an appropriate
document object for the backend
(rudel-session::rudel-end): added documentation string
(rudel-session::rudel-add-user): added documentation string
(rudel-session::rudel-remove-user): added documentation string
(rudel-session::rudel-remove-document): new method; remove
document from session
(rudel-connection::rudel-publish): new function; called when a
buffer is published
(rudel-connection::rudel-unsubscribe-from): new function; called
when a subscription is canceled
(class rudel-user): added documentation strings
(class rudel-document): added documentation strings
(rudel-document::rudel-attach-to-buffer): add to
`after-change-functions' hook only for the buffer in question;
added some comments
(rudel-document::rudel-detach-from-buffer): cleanup
(rudel-document::rudel-remote-insert): added comments
(rudel-document::rudel-remote-delete): added comments
(rudel-handle-buffer-change): added comments
(rudel-choose-backend): added comments
(rudel-end-session): additional error check
(rudel-subscribe): call `rudel-unsubscribed-documents' when
completing document name; added comments
(rudel-unpublish-buffer): call `rudel-detach-from-buffer' and
`rudel-unsubscribe-from'; added comments
* obby/rudel-obby.el (whole file): improved comments
(rudel-obby-backend::rudel-ask-connect-info): removed :override
tag; added comments
(rudel-obby-backend::rudel-connect): removed :override tag; use
`make-network-process' instead of `open-network-stream' and attach
filter and sentinel right away; removed some debug code
(rudel-obby-backend::rudel-disconnect): removed :override tag
(rudel-obby-backend::rudel-subscribe-to): removed :override tag
(rudel-obby-backend::rudel-local-insert): removed :override tag
(rudel-obby-backend::rudel-local-delete): removed :override tag
(rudel-obby-backend::rudel-make-document): new method; creates a
new rudel-obby-document object
(rudel-obby-backend::rudel-available-document-id): obtains an
unused document id, which can be assigned to a new document
(class rudel-obby-connection): removed useless `host' and `port'
slots
(rudel-obby-connection::rudel-receive): removed some debug code
(rudel-obby-connection::rudel-send): removed some debug code
(rudel-obby-connection::rudel-obby/net6_client_join): fixed syntax
error
(class rudel-obby-user): added accessors for slots `client-id' and
`user-id'
(rudel-obby-user::eieio-speedbar-description): removed :override
tag
(rudel-obby-user::eieio-speedbar-object-buttonname): removed
:override tag
(class rudel-obby-document): added accessors and documentation for
slot `id'
(rudel-obby-document::eieio-speedbar-object-buttonname): removed
:override tag
(rudel-obby-replace-in-string): new function; replace a set of
patterns in a string
(rudel-obby-escape-string): new function; replace obby control
characters with their escape sequences
(rudel-obby-unescape-string): new function; inverse of
`rudel-obby-escape-string'
(rudel-obby-parse-color): added documentation
(rudel-obby-format-color): added documentation
(rudel-obby-assemble-message): properly escape message components
(rudel-obby-parse-message): properly unescape message components
* README (whole file): some initial notes
* INSTALL (whole file): some initial notes
2008-12-02 Jan Moringen <scymtym@users.sourceforge.net>
* obby (directory): new directory for files belonging to the obby
backend
* rudel-obby.el (whole file): moved to `obby' directory
* obby/rudel-obby.el (whole file): moved here from parent
directory
* Changelog (whole file): renamed to `ChangeLog?'
* ChangeLog? (whole file): fixed name
* INSTALL (whole file): added
* rudel.el (whole file): fixed some comments, removed some test
code
(rudel-version): new variable; global Rudel version
(rudel-sessions): removed; we only allow one session for now
(rudel-session): cleaned up
(rudel-session::rudel-end): cleaned up; added some comments
(rudel-session::rudel-add-user): cosmetic changes
(rudel-session::rudel-remove-user): cosmetic changes
(rudel-session::rudel-find-user): cosmetic changes
(rudel-session::rudel-add-document): cosmetic changes
(rudel-session::rudel-find-document): cosmetic changes
(rudel-backend::rudel-connect): improved documentation string
(rudel-backend::rudel-ask-host-info): renamed from
`rudel-ask-listen-info'
(rudel-backend::rudel-host): renamed from `rudel-listen'
(rudel-document::rudel-attach-to-buffer): cosmetic changes
(rudel-document::rudel-remote-insert): cleaned up
(rudel-document::rudel-remote-delete): cleaned up
(rudel-load-backends): cosmetic changes
(rudel-choose-backend): fixed message display
(rudel-host-session): improved documentation string
(rudel-change-color): raise an error since this is not yet
implemented
(rudel-subscribe): added comments
(rudel-unpublish-buffer): raise an error if the buffer has not
been published
* rudel.el (whole file): cleanup up some obsolete code
|