forked from scymtym/rudel
/
ChangeLog
3824 lines (3229 loc) · 156 KB
/
ChangeLog
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
2010-03-12 Jan Moringen <scymtym@users.sourceforge.net>
Added modes for auto-mode-setting, -publishing and -subscribing
* rudel-mode.el (header): updated copyright
(rudel-auto-publish-exclude-regexp): new customization option;
control which buffers are excluded from auto-publishing
(rudel-auto-publish-predicate): new customization option;
function called to decide whether to auto-publish buffers
(rudel-auto-subscribe-predicate): new customization option;
function called to decide whether to auto-subscribe to documents
(rudel-auto-adjust-mode): new function; automatically adjust major
mode of a buffer
(global-rudel-auto-choose-mode-minor-mode): new global minor mode;
adjust major mode of buffers after subscribing
(rudel-auto-publish-not-exluded-p): new function; predicate which
determines whether a buffer should be excluded from
auto-publishing
(rudel-auto-maybe-publish-buffer): new function; publish buffer if
appropriate
(rudel-publish-all-buffers): new function; publish all appropriate
buffers
(global-rudel-auto-publish-minor-mode): new global minor mode;
auto-publish appropriate buffers
(rudel-auto-subscribe-not-excluded-p): new function; predicate
which determines whether a document should be subscribed
(rudel-auto-maybe-subscribe-to-document): new function; subscribe
to a document if appropriate
(rudel-subscribe-to-all-documents): new function; subscribe to all
appropriate documents
(global-rudel-auto-subscribe-minor-mode): new global minor modes;
subscribe to all appropriate documents as they become available
(rudel-minor-menu): added entries for
`global-rudel-auto-choose-mode-minor-mode',
`global-rudel-auto-publish-minor-mode' and
`global-rudel-auto-subscribe-minor-mode'
2010-03-10 Jan Moringen <scymtym@users.sourceforge.net>
Improved some error messages in infinote backend
* infinote/rudel-infinote-client.el
(rudel-infinote-client-connection::rudel-receive):
(rudel-infinote-client-connection::rudel-add-document): improved
error messages
Added tasks concerning data queuing and new hooks to TODO
* TODO (Future): new task, provide additional hooks; new task,
always queue outgoing data first; new task, display queued data
Added draft of package diagram describing Rudel's architecture
* doc/architecture.svg: new draft of a package diagram;
architectural overview
* doc/architecture.png: generated
Improved some error messages in obby backend
* obby/rudel-obby-state.el (header): updated copyright
(rudel-obby-document-handler::rudel-obby/obby_document): improved
error message
* obby/rudel-obby-client.el (header): updated copyright
(rudel-obby-client-state-idle::rudel-obby/net6_client_part):
(rudel-obby-client-state-idle::rudel-obby/obby_document_remove):
(rudel-obby-client-state-idle::rudel-obby/obby_document/record):
improved error messages
Handle all object types when writing to debug streams
* rudel-debug.el (rudel-debug-write-to-stream): handle objects
types other than string and object by calling `prin1-to-string'
2010-03-01 Jan Moringen <scymtym@users.sourceforge.net>
Require rudel-infinote-state, not rudel-infinote-states
* infinote/rudel-infinote-group.el (require rudel-infinote-state):
fixed require rudel-infinote-states -> rudel-infinote-state
Infinote mock user has to be of class rudel-infinote-user
* infinote/rudel-infinote-client.el (require rudel-infinote-user):
required for mock user creation
(rudel-infinote-client-connection::initialize-instance): mock user
has to be an object of class rudel-infinote-user
Extended capability list of infinote backend
* infinote/rudel-infinote.el
(rudel-infinote-backend::capabilities): added group-undo
capability
(rudel-infinote-backend::rudel-connect): better object name for
the created connection object
Added "Commentary" comment to infinote/rudel-infinote-group.el
* infinote/rudel-infinote-group.el (header): added a "Commentary"
comment
Added task to investigate XEP 0047 for xmpp tunnel to TODO
* TODO (Future): added task to investigate XEP 0047 for xmpp
tunnel
Added standard draft for XEP-0047: In-Band Bytestreams to xmpp/doc
* xmpp/doc/xep-0047.html: new file; standard draft for XEP-0047:
In-Band Bytestreams
Fixed docstring typo in infinote/rudel-infinote.el
* infinote/rudel-infinote.el (rudel-connect): fixed typo in
docstring obby -> infinote
Provide customization to append chat messages at top or bottom
* rudel-chat.el (header): updated copyright
(rudel-chat-handler-function): split "log into buffer" behavior
into "append at bottom" and "appending at top"
(rudel-chat-handle-buffer-top): renamed `rudel-chat-handle-buffer
-> `rudel-chat-handle-buffer-top
(rudel-chat-handle-buffer-bottom): new function; append chat
messages at bottom of target buffer
2010-02-06 Jan Moringen <scymtym@users.sourceforge.net>
Fixed use of rudel-state-wait in infinote/rudel-infinote-client.el
* infinote/rudel-infinote-client.el
(rudel-infinote-client-connection::rudel-publish): added a comment
(rudel-infinote-client-connection::rudel-subscribe-to): fixed use
of `rudel-state-wait'; added more comments
Fixed some comments in infinote/rudel-infinote-client.el
* infinote/rudel-infinote-client.el
(rudel-infinote-client-connection::rudel-publish):
(rudel-infinote-client-connection::rudel-subscribe-to): fixed
comments
2010-02-04 Jan Moringen <scymtym@users.sourceforge.net>
Extended rudel-infinote-client-connection::rudel-receive
* infinote/rudel-infinote-client.el (header): fixed X-RCS field
(rudel-receive): enabled handler code; use `display-warning'
instead of `warn'
Added docstrings in infinote/rudel-infinote-group-directory.el
* infinote/rudel-infinote-group-directory.el
(rudel-infinote-directory-state-idle): added documentation string
(rudel-infinote-directory-state-idle::rudel-infinote/sync-in):
return nil to avoid state switch
(rudel-infinote-directory-state-exploring): added documentation
string
(rudel-infinote-directory-state-subscribing): added documentation
string
2010-02-02 Jan Moringen <scymtym@users.sourceforge.net>
Initial import of infinote backend
* Project.ede (target autoloads): added infinote directory
* rudel-compile.el (top level autoload):
(top level): added infinote directory
* infinote/Project.ede: mew file; project file for
* infinote/rudel-infinote.el: new file; infinote backend main file
* infinote/rudel-infinote-util.el: new file; infinote backend
miscellaneous functions
* infinote/rudel-infinote-user.el: new file; infinote user class
* infinote/rudel-infinote-text-document.el: new file; infinote
text document class
* infinote/rudel-infinote-state.el: new file; infinote state base
classes
* infinote/rudel-infinote-group.el: new file; infinote
communication group base class
* infinote/rudel-infinote-group-text-document.el: new file; text
document communication group class
* infinote/rudel-infinote-group-document.el: new file; document
communication group class
* infinote/rudel-infinote-group-directory.el: new file; directory
communication group class
* infinote/rudel-infinote-document.el: new file; infinote document
class
* infinote/rudel-infinote-directory-document.el: new file;
infinote directory document class
* infinote/rudel-infinote-client.el: new file; infinote client
functionality
Added operation classes for point, range, cursor and selection
* rudel-operations.el (header): updated copyright; fixed and
extended commentary section; bumped version to 0.2
(rudel-point-operation): new abstract class; base class for
point-type operations
(rudel-range-operation): new abstract class; base class for
range-type operations
(rudel-insert-op): now subclass of rudel-point-operation
(rudel-delete-op): now subclass of rudel-range-operation
(rudel-delete-op::slot-missing): moved to `rudel-range-op'
(rudel-move-cursor-op): new class; objects represent cursor
movements
(rudel-move-selection-op): new class; objects represent movements
of the selection
2010-01-31 Jan Moringen <scymtym@users.sourceforge.net>
Initial import of Adopted algorithm
* Project.ede (autoloads): added adopted directory
* rudel-compile.el (header): updated copyright
(top level autoload):
(top level): added adopted directory
* adopted/Project.ede: new file; project file adopted subdirectory
* adopted/adopted.el: new file; Adopted algorithm entry point
* adopted/adopted-operation.el: new file; Adopted operation base class
* adopted/adopted-nop.el: new file; Adopted no operation class
* adopted/adopted-insert.el: new file; Adopted insert operation
* adopted/adopted-delete.el: new file; Adopted delete operation
* adopted/adopted-compound.el: new file Adapted compound operation
2010-01-27 Jan Moringen <scymtym@users.sourceforge.net>
Integrated new debugging framework
* rudel-debug.el (header): updated copyright; fixed keywords;
extended commentary section; added 0.2 to history section
(require rudel-transport-util):
(require rudel-socket): now required, since we install methods
(rudel-debug-tag-faces): changed from constant to variable
(rudel-state-change :before):
(rudel-debug-stream-name):
(rudel-debug-stream-insert): removed; replaced by
`rudel-debug-write-to-stream' and `rudel-debug-write'
(rudel-debug-target): new generic function; determine debug stream
for an object
(rudel-debug-write-to-stream): new function; write information to
debug stream
(rudel-debug-write): new function; write information to debug
stream for a specific object
(rudel-debug-old-state):
(rudel-state-machine::rudel-switch :before):
(rudel-state-machine::rudel-switch :after): new variable/methods;
state machine debugging
(rudel-assembling-transport-filter::rudel-set-assembly-function :before):
(rudel-assembling-transport-filter::rudel-set-filter):
(rudel-assembling-transport-filter::rudel-send :before): new
methods; debugging for `rudel-assembling-transport-filter'
(rudel-parsing-transport-filter::rudel-set-parse-function :before):
(rudel-parsing-transport-filter::rudel-set-generate-function :before):
(rudel-parsing-transport-filter::rudel-set-filter):
(rudel-parsing-transport-filter::rudel-send :before): new methods;
debugging for `rudel-parsing-transport-filter'
(rudel-socket-transport::rudel-set-filter):
(rudel-socket-transport::rudel-send :before): new methods;
debugging for `rudel-socket-transport'
* xmpp/rudel-xmpp-debug.el (header): fixed keywords; added 0.2 to
history section
(require rudel-xmpp-state): now required, since we install methods
(rudel-xmpp-debug-old-state):
(rudel-xmpp-transport::rudel-send :before):
(rudel-xmpp-transport::rudel-accept :before):
(rudel-xmpp-transport::rudel-switch :before):
(rudel-xmpp-transport::rudel-switch :after): removed; handled by
generic stuff in rudel-debug.el now
(rudel-xmpp-state::rudel-debug-target): new method; debug target
for XMPP states
(rudel-xmpp-state-sasl-mechanism-step::rudel-send):
(rudel-xmpp-state-sasl-mechanism-step::rudel-send :after):
(rudel-xmpp-state-sasl-mechanism-step::rudel-accept :before):
rewritten for new debugging framework
* obby/rudel-obby-debug.el (header): updated copyright; added 0.2
to history section
(require eieio):
(require rudel-obby-util): removed; no longer needed
(require rudel-obby-server): now required, since we install
methods on server classes
(rudel-obby-debug-old-state):
(rudel-obby-connection::rudel-send :before):
(rudel-obby-connection::rudel-accept :before):
(rudel-obby-connection::rudel-switch :before):
(rudel-obby-connection::rudel-switch :after): removed; handled by
generic stuff in rudel-debug.el now
(rudel-obby-connection::rudel-debug-target): new method; debug
target for `rudel-obby-connection'
(rudel-obby-client::rudel-debug-target): new method; debug target
for `rudel-obby-client'
* TODO (Milestone 0.3): integrate new debugging framework is DONE
Updated TODO
* TODO (Future):
(Milestone 0.4): minor adjustments
(Milestone 0.3): new task, integrate new debugging framework; new
task, add XMPP transport backend; minor adjustments
Better error and response data handling in xmpp/rudel-xmpp-sasl.el
* xmpp/rudel-xmpp-sasl.el
(rudel-xmpp-state-sasl-mechanism-start::rudel-enter): send
"initial response" in auth element, if the mechanism wants that
(rudel-xmpp-state-sasl-mechanism-step::rudel-accept): handle
invalid-authzid; use `xml-node-name' instead of `xml-tag-name'
Fix use of XML library in rudel-xmpp-state::rudel-accept
* xmpp/rudel-xmpp-state.el (rudel-xmpp-state::rudel-accept): use
`xml-node-name' instead of `xml-tag-name'; tag name is
'stream:error, not "stream:error"
2010-01-26 Jan Moringen <scymtym@users.sourceforge.net>
Switch stream to string mode in rudel-xmpp-state-we-finalize
* xmpp/rudel-xmpp.el
(rudel-xmpp-state-negotiate-stream::rudel-accept): fixed a comment
(rudel-xmpp-state-we-finalize::rudel-enter): set generate function
to identity before trying to send a string
Repair filter in rudel-start-tls-transport::initialize-instance
* tls/rudel-tls.el
(rudel-start-tls-transport::initialize-instance): reinstall
`rudel-tls-wait-init' which get overwritten by the superclass
Prevent byte-compilation of xmpp/rudel-xmpp-debug.el
* xmpp/rudel-xmpp-debug.el (local variables): prevent byte-compilation
2010-01-24 Jan Moringen <scymtym@users.sourceforge.net>
Fixed require for rudel-socket in xmpp/rudel-xmpp.el
* xmpp/rudel-xmpp.el (require rudel-socket): changed rudel-tcp ->
rudel-socket
Removed require base64 from xmpp/rudel-xmpp-tunnel.el
* xmpp/rudel-xmpp-tunnel.el (require base64): removed; fantasy
library does not exist
2010-01-23 Jan Moringen <scymtym@users.sourceforge.net>
Add SASL XMPP states when rudel-xmpp gets loaded
* xmpp/rudel-xmpp-sasl.el (state registration): add SASL states to
state list after loading of rudel-xmpp
Minor improvement in xmpp/rudel-xmpp.el
* xmpp/rudel-xmpp.el (rudel-xmpp-backend::rudel-make-connection):
better object name for transport object
(rudel-xmpp-state-established): added documentation string
(rudel-xmpp-state-established::rudel-accept): use filter slot of
the transport object
Removed require base64 from xmpp/rudel-xmpp-debug.el
* xmpp/rudel-xmpp-debug.el (require base64): removed; fantasy
library does not exist
Updated header of xmpp/rudel-xmpp-debug.el
* xmpp/rudel-xmpp-debug.el (header): added xmpp keyword; fixed
commentary
Added connect capability to XMPP backend
* xmpp/rudel-xmpp.el (rudel-xmpp-backend::capabilities): added
capability connect
2010-01-22 Jan Moringen <scymtym@users.sourceforge.net>
Analyze XMPP failures in rudel-xmpp-state-sasl-mechanism-step
* xmpp/rudel-xmpp-sasl.el (require base64):removed; nonsense
(rudel-xmpp-state-sasl-mechanism-step::rudel-accept): analyze
failure responses more thoroughly
Improved rudel-xmpp-backend::rudel-make-connection
* xmpp/rudel-xmpp.el (rudel-xmpp-backend::rudel-make-connection):
call info-callback when info elements are missing; improved
documentation string; added comments
XMPP backend improvements
* xmpp/rudel-xmpp.el (header): added commentary section
(require rudel-state-machine): required for the state classes
(require rudel-tcp): required since the TCP transport underlies
the XMPP transport
(rudel-xmpp-transport-version): bumped to 0.2
(rudel-xmpp-backend): added documentation string
(rudel-xmpp-backend::initialize-instance): removed &rest from
slots; added documentation string
(rudel-xmpp-backend::rudel-make-connection): improved
documentation string; cosmetic changes
(rudel-xmpp-state-new::rudel-enter): pass jid and server name to
successor state; added documentation string
(rudel-xmpp-state-negotiate-stream::success-state): changed type
to include list
(rudel-xmpp-state-negotiate-stream::rudel-enter): some cleanup
(rudel-xmpp-state-negotiate-stream::rudel-leave): added
documentation string; improved comment
(rudel-xmpp-state-negotiate-stream::rudel-accept): handle symbol
and list successor state specification
(rudel-xmpp-state-authenticated::rudel-enter): pass server- and
username to successor state; hack
(rudel-xmpp-state-authentication-failed::rudel-enter): new method;
switch to we-finalize
(rudel-xmpp-states): added documentation string
(rudel-xmpp-transport::initialize-instance): some cleanup
(rudel-xmpp-transport::rudel-register-state): call next method in
a safe manner
(rudel-xmpp-transport::rudel-close): switch to closing state;
added documentation string
(rudel-xmpp-transport::rudel-disconnect): removed; obsolete
Removed function rudel-xmpp-state::rudel-set-assembly-function
* xmpp/rudel-xmpp-state.el
(rudel-xmpp-state::rudel-set-assembly-function): obsolete; removed
Improved XMPP SASL implementation
* xmpp/rudel-xmpp-sasl.el
(rudel-xmpp-state-sasl-start::rudel-enter): accept additional
arguments and pass them to sasl-try-one successor
(rudel-xmpp-state-sasl-try-one::rudel-enter): accept additional
arguments name and server and pass them to sasl-try-one when
self-transitioning
(rudel-xmpp-state-sasl-mechanism-start::rudel-enter): accept
additional arguments name and server and use them when calling
`sasl-make-client'; also pass them to sasl-mechanism-step
(rudel-xmpp-state-sasl-mechanism-step::name): new slot; stores
username
(rudel-xmpp-state-sasl-mechanism-step::server): new slot; stores
server name
(rudel-xmpp-state-sasl-mechanism-step::schema): added
documentation string
(rudel-xmpp-state-sasl-mechanism-step::client): added
documentation string
(rudel-xmpp-state-sasl-mechanism-step::step): added documentation
string
(rudel-xmpp-state-sasl-mechanism-step::rest): added documentation
string
(this rudel-xmpp-state-sasl-mechanism-step::rudel-enter): accept
arguments name and server and store them
(rudel-xmpp-state-sasl-mechanism-step::rudel-accept): pass name
and server to sasl-try-one and to sasl-mechanism-step when
self-transitioning
2010-01-21 Jan Moringen <scymtym@users.sourceforge.net>
Support specifying a host and JID in the XMPP transport
* xmpp/rudel-xmpp.el (rudel-xmpp-backend::rudel-ask-connect-info):
ask for JID and return it
(rudel-xmpp-backend::rudel-make-connection): extract jid property;
pass host, jid and start state to transport constructor
(rudel-xmpp-state-new::rudel-enter): accept arguments to and jid;
pass to negotiate-stream state
(rudel-xmpp-state-negotiate-stream::rudel-enter): accept to and
jid arguments; use to and jid when constructing opening stream
tag; added documentation string; cleanup
(rudel-xmpp-state-negotiate-stream::rudel-accept): added comment
(rudel-xmpp-state-authenticated::rudel-enter): added comment
(rudel-xmpp-transport::initialize-instance): removed &rest from
slots argument
Fixed license of xmpp/rudel-xmpp.el
* xmpp/rudel-xmpp.el (header): fixed license
Added notes file to xmpp documentation
* xmpp/doc/notes.org: new file; notes concerning the XMPP backend
Minor cleanup in xmpp/rudel-xmpp-sasl.el
* xmpp/rudel-xmpp-sasl.el
(rudel-xmpp-state-sasl-mechanism-step::rudel-accept): minor
cleanup
Added RFC 3921 to xmpp documentation
* xmpp/doc/rfc3921: new file; XMPP messaging and presence RFC
Fixed error in rudel-xmpp-state-sasl-start::rudel-enter
* xmpp/rudel-xmpp-sasl.el
(rudel-xmpp-state-sasl-start::rudel-enter): use `let*' instead of
`let'
(rudel-xmpp-sasl-states): added documentation string
New class rudel-xmpp-state-tls-start
* xmpp/rudel-xmpp-tls.el (header): added commentary
(require rudel-tls): removed; require it when needed
(rudel-xmpp-state-tls-start): new class; state used to enable TLS
encryption for a connection
(rudel-xmpp-state-tls-start::rudel-enter): new method; enable TLS
encryption for the associated connection and switch to
authenticated state
(add-to-list rudel-xmpp-states): fixed typo
2010-01-20 Jan Moringen <scymtym@users.sourceforge.net>
Handle invalid color on the obby protocol level
* obby/rudel-obby.el (rudel-connect): check for
`rudel-obby-invalid-color' and reset the color value in that case
* obby/rudel-obby-server.el (header): updated copyright
(rudel-check-username-and-color): send value of
`rudel-obby-error-color' when the color is invalid
* obby/rudel-obby-errors.el (header): updated copyright
(rudel-obby-invalid-color): new condition symbol; used to
indicated an invalid color
(rudel-obby-error-color-invalid): new constant; proposed obby
protocol error code for invalid color
* obby/rudel-obby-client.el (rudel-obby/net6_login_failed): check
for reason rudel-obby-error-color-invalid and return appropriate
error
Fixed error symbol rudel-obby-username-invalid in obby client
* obby/rudel-obby.el (header): updated copyright
(rudel-obby-backend::rudel-connect): fixed error symbol
rudel-obby-username-invalid -> rudel-obby-invalid-username
* obby/rudel-obby-client.el (header): updated copyright
(rudel-obby-client-state-joining::rudel-obby/net6_login_failed):
fixed error symbol rudel-obby-username-invalid ->
rudel-obby-invalid-username
2010-01-17 Jan Moringen <scymtym@users.sourceforge.net>
Fixed a typo in documentation string of rudel-make-connection
* rudel-transport.el
(rudel-transport-backend::rudel-make-connection): fixed a typo in
the documentation string
Fixed problems in rudel-after-major-mode-change
* rudel.el (rudel-after-major-mode-change): when repairing
document <-> buffer relations, ignore deleted buffers; reset
`rudel-mode-changed-buffers' after all buffers have been processed
Fixed typo in rudel-collecting-transport-filter::delay
* rudel-transport-util.el
(rudel-collecting-transport-filter::delay): fixed typo in
:initform
2010-01-16 Jan Moringen <scymtym@users.sourceforge.net>
New collecting transport filter
* rudel-transport-util.el (header): mention collecting transport
filter in commentary and history section
(rudel-collecting-transport-filter): new class; queue data until a
certain amount is available for transmission
2010-01-14 Jan Moringen <scymtym@users.sourceforge.net>
Fixed call to object-run-hook... in rudel-detach-from-buffer
* rudel.el (rudel-document::rudel-detach-from-buffer): pass the
saved buffer to `object-run-hook-with-args' properly
Let transport ask for connect info in rudel-join-session
* rudel.el (rudel-join-session): use `rudel-ask-connect-info' as
info-callback when calling `rudel-make-connection'
Improved robustness of rudel-session-initiation-discover
* rudel-session-initiation.el (rudel-session-initiation-discover):
try to find specified backend in primary and fallback backend
lists
Let transport ask for connect info in rudel-ask-protocol-backend
* rudel-session-initiation.el
(rudel-ask-protocol-backend::rudel-discover): call
`rudel-ask-connect-info' of the transport backend in addition to
the protocol backend
Added rudel-ask-connect-info for transport backends
* rudel-transport.el (rudel-ask-connect-info): new generic
function; obtain required information for making a connection
* socket/rudel-socket.el
(rudel-tcp-backend::rudel-ask-connect-info):
* tls/rudel-tls.el (rudel-start-tls-backend::rudel-ask-connect-info):
* xmpp/rudel-xmpp.el (rudel-xmpp-backend::rudel-ask-connect-info):
new method; ask for hostname and port
2010-01-10 Jan Moringen <scymtym@users.sourceforge.net>
Added writer for rudel-set-dispatcher in socket/rudel-socket.el
* socket/rudel-socket.el (header): updated copyright
(rudel-socket-listener::dispatch): added writer
`rudel-set-dispatcher'
(rudel-socket-listener::rudel-set-dispatcher): removed; replaced
by automatic writer
Fix rudel-progress-reporting-transport-filter
* rudel-transport-util.el (header): updated copyright; updated
commentary section
(rudel-progress-reporting-transport-filter::initialize-instance):
install a handler in the underlying transport
Added autoload cookie to rudel-xmpp-backend
* xmpp/rudel-xmpp.el (rudel-xmpp-backend): added autoload cookie
Minor fixes in rudel-session-initiation.el
* rudel-session-initiation.el (header): updated copyright
(rudel-session-initiation-discover): fixed documentation string
(rudel-ask-protocol-backend::initialize-instance):
(rudel-configured-sessions-backend::initialize-instance): removed
&rest from slots argument
Added sanity check to rudel-{join, host}-session
* rudel-errors.el (rudel-incomplete-info): new error symbol
* rudel.el (rudel-join-session): added sanity checks for info
argument
(rudel-host-session): added sanity checks for info argument
2010-01-06 Jan Moringen <scymtym@users.sourceforge.net>
Added state list to xmpp/rudel-xmpp-tls.el
* xmpp/rudel-xmpp-tls.el (rudel-xmpp-tls-states): new variable;
list of TLS-related states
(rudel-xmpp-states): use `add-to-list' to add the states
Renamed rudel-connect -> rudel-make-connection in xmpp/rudel-xmpp.el
* xmpp/rudel-xmpp.el (rudel-xmpp-backend::rudel-make-connection):
renamed `rudel-connect' -> `rudel-make-connection'
(rudel-xmpp-state-new): added documentation string
(rudel-xmpp-state-negotiate-stream): added documentation string
(rudel-xmpp-state-negotiate-stream::success-state): added
documentation string
(rudel-xmpp-state-negotiate-stream::rudel-enter): fixed stream
Cosmetic changes in xmpp/rudel-xmpp-sasl.el
* xmpp/rudel-xmpp-sasl.el
(rudel-xmpp-state-sasl-start::rudel-enter): added documentation
string; cosmetic changes
(rudel-xmpp-state-sasl-try-one::rudel-enter): added documentation
string
(rudel-xmpp-state-sasl-mechanism-step::rudel-enter): added
documentation string
(rudel-xmpp-state-sasl-mechanism-step::rudel-accept): added
documentation string; added some comments
(rudel-xmpp-sasl-states): new variable; list of states used by the
SASL implementation; states are added to `rudel-xmpp-states'
Added line breaks in long comment in rudel-xmpp-util.el
* xmpp/rudel-xmpp-util.el (rudel-xmpp-assemble-stream): added line
breaks in long comment
2010-01-05 Jan Moringen <scymtym@users.sourceforge.net>
Added task for comment functionality
* TODO (Future): added task for comment functionality
Removed last traces of progress reporters
* rudel-state-machine.el (header): updated copyright
(require rudel-compat): removed; no longer required
(rudel-state-wait): mention callback instead of progress reporter
in comment
Do not detach documents that have no buffer
* rudel.el (header): updated copyright
(rudel-session::rudel-remove-document): use
`rudel-maybe-detach-from-buffer' instead of an explicit check
(rudel-client-session::rudel-end): use
`rudel-maybe-detach-from-buffer' instead of blindly detaching all
documents
(rudel-document::rudel-detach-from-buffer): do not check whether
buffer is non-nil; it is now an error to call this method when
buffer is nil
(rudel-document::rudel-maybe-detach-from-buffer): new method; call
`rudel-detach-from-buffer' is the document is attached
2010-01-04 Jan Moringen <scymtym@users.sourceforge.net>
Added XMPP backend
* Project.ede (target autoloads): added directory xmpp
* xmpp/Project.ede: new file; project file for xmpp subproject
* xmpp/rudel-xmpp-debug.el: new file; XMPP debugging functions
* xmpp/rudel-xmpp-sasl.el: new file; SALS authentication
mechanisms
* xmpp/rudel-xmpp-state.el: new file; base class for XMPP state
machine states
* xmpp/rudel-xmpp-tls.el: new file; TLS encryption for XMPP
transport
* xmpp/rudel-xmpp-tunnel.el: new file; XMPP tunnel transport
backend
* xmpp/rudel-xmpp-util.el: new file; XMPP utility functions
* xmpp/rudel-xmpp.el: new file; XMPP transport backend
* xmpp/doc/rfc3920: new file; XMPP RFC
* xmpp/doc/xmpp-states.cogre: new file; state transition diagram
* xmpp/doc/xmpp-states.png: new file; state transition diagram;
image
Added `rudel-xml-assemble-tags'
* rudel-xml.el (rudel-xml-assemble-tags): assemble complete XML
tags from strings
Added pretty-print argument to `xml->string'
* rudel-xml.el (xml->string): added optional argument pretty-print
2010-01-01 Jan Moringen <scymtym@users.sourceforge.net>
Include XMPP backend in compilation and autoload generation
* rudel-compile.el (top level autoload):
(top level): added xmpp directory
Some cleanup in rudel-xml.el
* rudel-xml.el (header): started commentary section
(do-tag-children): use `nth' instead of `car' and `cadr'
(rudel-xml-toplevel-tag-positions):
(rudel-xml-toplevel-tags): added documentation string
Added rudel-xml.el
* Project.ede (target compile): added rudel-xml.el
* rudel-xml.el: new file; XML functions for Rudel
2009-12-31 Jan Moringen <scymtym@users.sourceforge.net>
Load file name determination
* rudel-compile.el (top level autoload):
(top level): changed load file name determination
* TODO (Milestone 0.3): connection reset problem fixed
Autoload load path manipulation
* rudel-compile.el (top level): added autoloaded form that adds
Rudel directories to `load-path'
2009-12-30 Jan Moringen <scymtym@users.sourceforge.net>
Removed unused functions
* rudel-util.el (rudel-process-object):
(rudel-set-process-object): removed; this is handled by
`process-get' and `process-put'
Use `process-put' and `process-get' instead
`rudel-set-process-object' and `rudel-process-object'
* tls/rudel-tls.el (rudel-tls-make-process):
(rudel-tls-start-tls):
(rudel-tls-wait-init):
(rudel-tls-wait-handshake):
(rudel-tls-established): use `process-put' and `process-get'
instead `rudel-set-process-object' and `rudel-process-object'
Better handling of session termination and connection aborts
* obby/rudel-obby.el (rudel-obby-backend::rudel-connect): new
error states we-finalized and disconnect; signal proper errors for
error states they-finalized and we-finalized
* obby/rudel-obby-server.el
(rudel-obby-client::initialize-instance): install a sentinel that
closes the connection
* obby/rudel-obby-client.el
(rudel-obby-client-state-we-finalized): used to indicate that we
closed the connection
(rudel-obby-client-state-they-finalized::reason): new slot; stores
for finalization
(rudel-obby-client-state-they-finalized::rudel-enter): new method;
store reason and cleanup connection
(rudel-obby-client-state-disconnected): new class; used to
indicated that the connection is closed
(rudel-obby-client-connection-states): added `we-finalized' and
`disconnected'
(rudel-obby-connection::initialize-instance): install a sentinel
that closes the connection
(rudel-obby-connection::rudel-disconnect): switch to `we-finalize'
and wait for `disconnected'; added documentation string
(rudel-obby-connection::rudel-close): added documentation string
(rudel-obby-connection::rudel-subscribe-to): handle new error
states
* rudel-debug.el (require rudel-state-machine): required since
state machine methods are instrumented
* socket/rudel-socket.el
(rudel-socket-transport::initialize-instance): in sentinel,
include finished in the list of "close indicators"
2009-12-29 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-transport-util.el
(rudel-assembling-transport-filter::initialize-instance):
(rudel-parsing-transport-filter::initialize-instance):
(rudel-buffering-transport-filter::initialize-instance): forward
sentinel events to user-provided handler
* TODO (Future): added backend factory hooks
(Milestone 0.3): added read-only buffer problem and srecode field
edit problem
* rudel-compile.el (local variables): prevent byte-compilation
* socket/rudel-socket.el (rudel-socket-transport::filter): new
slot; store original filter function
(rudel-socket-transport::sentinel): new slot; store original
sentinel function
(rudel-socket-transport::initialize-instance): new method; install
dispatch functions for filter and sentinel
(rudel-socket-transport::rudel-filter):
(rudel-socket-transport::rudel-set-filter):
(rudel-socket-transport::rudel-sentinel):
(rudel-socket-transport::rudel-set-sentinel): removed; we can use
automatic readers and writers now
* tls/rudel-tls.el (rudel-start-tls-backend): added capability
encrypt
* tls/rudel-tls.el (rudel-tls-make-process): stop the process
object after creation
2009-12-28 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-icons.el (rudel-icons-directory): compute icons directory
name based on load file name of rudel-icons.el
2009-12-26 Jan Moringen <scymtym@users.sourceforge.net>
* TODO (Milestone 0.4): new task integrate unit tests
2009-12-24 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-document::rudel-insert):
(rudel-document::rudel-delete): use `with-current-buffer' and
`save-excursion' instead of `save-excursion' and `set-buffer'
* rudel-backend.el (rudel-backend-dump): removed pointless use of
`save-excursion'
2009-12-21 Jan Moringen <scymtym@users.sourceforge.net>
* rudel-speedbar.el (header): fixed history
(rudel-speedbar-key-map): updated documentation string
(rudel-speedbar-menu): renamed Compile -> Subscribed; dummy entry
for now
(rudel-find-nearest-file-line):
(rudel-session::eieio-speedbar-derive-line-path):
(rudel-session::eieio-speedbar-description):
(rudel-project::eieio-speedbar-object-buttonname):
(rudel-project::eieio-speedbar-object-children):
(rudel-file-find):
(rudel-create-tag-buttons):
(rudel-tag-expand):
(rudel-tag-find): removed; obsolete
* rudel-session-initiation.el
(rudel-ask-protocol-backend::rudel-discover): pass partial info
list to `rudel-ask-connect-info' instead of append the lists
manually
* obby/rudel-obby.el (rudel-obby-user::rudel-display-string):
removed; now in obby/rudel-obby-display.el
* rudel-mode.el (require rudel-display): required for
`rudel-display-string'
* rudel-display.el (require rudel): required to ensure
`rudel-user' and `rudel-document' are defined
* obby/rudel-obby.el (require rudel-obby-display): make sure
`rudel-display-string' is defined for obby classes
* obby/rudel-obby-display.el (require rudel-obby): required to
ensure `rudel-obby-user' is defined
2009-12-20 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-state.el (header): fixed history
(rudel-obby-document-handler::rudel-obby/obby_document): go
through the connection object for now
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::document-container-slot):
(rudel-obby-client-state-subscribing::document-container-slot):
(rudel-obby-client-state-document-synching::document-container-slot):
set initial value to 'session
* rudel.el (rudel-user::rudel-display-string): moved to
rudel-display.el
* rudel-display.el: new file; functions that create text
representations of Rudel objects
* obby/rudel-obby-display.el: new file; functions that create text
representations of obby objects
* obby/Project.ede (target obby): added rudel-display.el
* Project.ede (target rudel): added rudel-display.el
* TODO (Future): removed duplicate task SubEthaEdit client
functionality
(Milestone 0.3): use transports is done
* obby/rudel-obby-server.el
(rudel-obby-server-state-idle::rudel-obby/obby_document):
(rudel-obby-server-state-idle::rudel-obby/obby_document/record):
use `rudel-dispatch' instead of `rudel-obby-dispatch'
* INSTALL (INSTALLING): link to REQUIREMENTS
(COMPILING): link to rudel-compile.el
* doc/notes-for-developers.org: new file; some notes which may be
relevant for Rudel developers
* rudel-debug.el (local variables): prevent byte-compilation
* obby/rudel-obby-debug.el (header): downcased keywords
(local variables): prevent byte-compilation
* rudel.el (rudel-user::rudel-change-notify): new method; run
change hook
* obby/rudel-obby-server.el
(rudel-obby-server-state-idle::rudel-obby/obby_user_colour): call
`rudel-change-notify' instead of `object-run-hook-with-args' after
modifying the user object
* obby/rudel-obby-client.el
(rudel-obby-client-state-idle::rudel-rudel-obby/net6_client_join):
call `rudel-change-notify' after modifying the user object
2009-12-19 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby.el (rudel-ask-connect-info): when extracting
properties from info list, there is no need to ensure info being
non-nil
* rudel.el (rudel-host-session): pass partial info list to
`rudel-ask-host-info'; cleanup; extended documentation string
* obby/rudel-obby.el (rudel-obby-backend::rudel-ask-host-info):
try extract address and port from info list before prompting
* TODO (Future): added display of error message property,
synchronization of objects; moved BEEP transport to 0.4
(Milestone 0.3): added TLS does not start in stopped state,
zeroconf delay, connection reset problem, use transports
* rudel-util.el (rudel-impersonator::slot-missing): fixed slot
name `impersonating-target-slot' -> `impersonation-target-slot'
* rudel-compile.el (require bytecomp): make sure we can redefine
`byte-compile-cl-warn'
(top level): redefine `byte-compile-cl-warn' to silence
byte-compiler
* rudel-backend.el (rudel-backend-choose): mention which kind of
backend we are asking for
2009-12-17 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-host-session): use cdrs of backend cells
* rudel.el (rudel-host-session): added mandatory argument info;
interactive specification uses `rudel-backend-choose' and
`rudel-ask-host-info' to assemble a suitable value for info
2009-12-06 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-errors.el (require rudel-errors): not really
required, but logical
(rudel-obby-invalid-username):
(rudel-obby-username-in-use):
(rudel-obby-color-in-use): new error symbols
* obby/rudel-obby-util.el (header): updated keywords; extended
commentary section; cosmetic changes to history section
(rudel-obby-dispatch): removed; obsolete
* obby/rudel-obby-state.el (header): updated keywords
(rudel-obby-document-handler): make abstract
(rudel-obby-document-handler::document-container-slot): new slot;
name of slot which holds the object with the document list
(rudel-obby-document-handler::rudel-obby/obby_document): find
document list in the named slot
* socket/rudel-socket.el (require cl): added `eval-when-compile'
to the require
* rudel-util.el (rudel-delegator): removed base class
`rudel-state'; should not have been there
* rudel-util.el (header): expanded commentary section; bumped
version to 0.2
(rudel-impersonator): new class; allows derived classes to
transparently access slots of a target object
(rudel-delegator): new class; allows derived classes to let
methods of a target object appear as their own
2009-12-05 Jan Moringen <scymtym@users.sourceforge.net>
* obby/rudel-obby-server.el
(rudel-obby-client::initialize-instance): removed &rest from slots
argument; updated documentation string
(rudel-obby-client::rudel-broadcast): renamed argument arguments
-> args; updated documentation string
(rudel-obby-server::initialize-instance): removed &rest from slots
argument; added documentation string
2009-12-04 Jan Moringen <scymtym@users.sourceforge.net>
* socket/rudel-socket.el (rudel-socket-listener): new class;
implements `rudel-listener'
(rudel-tcp-backend::rudel-wait-for-connections): removed argument
dispatch-callback; added argument info-callback; ensure info
contains required properties; create a listener socket and pass it
to a new listener object
* rudel.el (rudel-host-session): added argument info; generate
empty info list in interactive form; create a listener object and
pass it to the protocol backend
* rudel-transport.el (rudel-listener): new abstract class; generic
functionality for accepting incoming connections
(rudel-transport-backend::rudel-wait-for-connections): removed
argument dispatch-callback; added argument info-callback; updated
documentation string
* rudel-protocol.el
(rudel-protocol-backend::rudel-ask-connect-info): added optional
argument info; updated documentation string
(rudel-protocol-backend::rudel-ask-host-info): added optional
argument info; updated documentation string
* obby/rudel-obby.el (rudel-obby-backend::rudel-ask-host-info):
added optional argument info
(rudel-obby-backend::rudel-host): renamed argument
`transport-backend' -> `listener'; do not install dispatch
function; the server does this itself
* obby/rudel-obby-server.el (require rudel-obby): required to
silence the byte-compiler
(rudel-obby-server::listener): new slot; stores listener object of
the server
(rudel-obby-server::initialize-instance): install
`rudel-add-client' into the listener as dispatch function
2009-12-03 Jan Moringen <scymtym@users.sourceforge.net>
* rudel.el (rudel-host-session): determine a transport and a
protocol backend; ask the protocol backend to create the session
* rudel-util.el (rudel-socket-owner):
(rudel-filter-dispatch):
(rudel-sentinel-dispatch): removed; made obsolete by transports
* rudel-protocol.el (rudel-protocol-backend::rudel-host): added
backend argument, which is the transport backend; updated
documentation string
* rudel-debug.el (rudel-state-machine::rudel-state-change):
attached method to `rudel-state-machine' instead of
`rudel-socket-owner'
(rudel-debug-stream-name): determine the name from a transport
object instead of a socket
* obby/rudel-obby.el (require rudel-transport): required for
transports
(rudel-obby-backend::rudel-connect): use a transport object
instead of a socket
(rudel-obby-backend::rudel-ask-host-info): added :address property
(rudel-obby-backend::rudel-host): added transport-backend
argument; do not create a socket but call the
`rudel-wait-for-connections' method of the transport backend
(rudel-obby-send): removed; made obsolete by transports
(rudel-obby-generate-message): new function; used in parsing