-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
4393 lines (3189 loc) · 155 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
2008-12-22 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-io.c (inf_io_event_get_type): Null-terminate
the list of flags values.
2008-12-21 Armin Burgmeier <[email protected]>
* libinfgtk/inf-gtk-browser-view.c
(inf_gtk_browser_view_row_changed_cb): Removed two unused variables.
* libinftextgtk/inf-text-gtk-buffer.c
(inf_text_gtk_buffer_buffer_init): Connect the get_modified and
set_modified buffer implementations to the InfBufferIface.
* libinftextgtk/inf-text-gtk-hue-chooser.c:
(inf_text_gtk_hue_chooser_class_init): Install the dispose and
finalize handlers.
* infinoted/infinoted-creds.c
(infinoted_creds_create_self_signed_certificate_impl): Removed an
unused variable.
* infinoted/infinoted-main.c (infinoted_main): Removed an unused
variable.
2008-12-21 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-cert-util.c: Include inf-error.h to avoid a
warning.
* libinfinity/adopted/inf-adopted-request-log.c
(inf_adopted_request_log_is_empty): Use g_return_val_if_reached
instead of g_return_if_reached, to avoid a warning.
(inf_adopted_request_log_add_request): Cast the log to GObject before
calling g_object_notify_freeze, to avoid a warning.
2008-12-21 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_send_chars): Fix a warning caused by += being
used on a void pointer.
(inf_xmpp_connection_process_features): Cast a xmlChar* to const char*
before passing to strcmp(), to avoid a warning.
2008-12-21 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-xmpp-connection.c: Added ctype.h inclusion.
2008-12-13 Armin Burgmeier <[email protected]>
* test/inf-test-text-replay.c: Allow multiple record files to be
passed.
2008-12-07 Armin Burgmeier <[email protected]>
* infinoted/infinoted-run.c: Record sessions into
~/.infinoted-records.
2008-12-02 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-buffer.h:
* libinfinity/common/inf-buffer.c: Added a "modified" property, and
get_modified/set_modified accessors.
* libinftext/inf-text-default-buffer.c: Implement the property of the
InfBuffer interface.
* libinftextgtk/inf-text-gtk-buffer.c: Implement the "modified"
property, keep it synchronized with the GtkTextBuffer's "modified"
property.
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added
infd_directory_iter_peek_session(), infd_directory_iter_get_name() and
infd_directory_iter_get_path().
* libinfinity/adopted/inf-adopted-algorithm.c: Track modification
status of the buffer. If the buffer is considered not modified in a
certain state, then set it modified if the buffer changes, but set it
non-modified again when all users undid their changes since the last
time when the buffer was considered non-modified.
* infinoted/infinoted-autosave.h:
* infinoted/infinoted-autosave.c:
* infinoted/Makefile.am: Added an autosaver for infinoted.
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c: Added an autosave-interval option.
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Instantiate the autosaver when the
autosave-interval is nonzero.
* infinoted/infinoted-main.c: Added vim modelines.
2008-11-27 Armin Burgmeier <[email protected]>
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added
infd_directory_iter_save_session(), and the "add-session" and
"remove-session" signals.
2008-11-14 Armin Burgmeier <[email protected]>
* libinftextgtk/inf-text-gtk-hue-chooser.c: Don't use
cairo_format_stride_for_width, so we don't need cairo 1.6 (Bug #393).
2008-11-08 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-request-log.c: Added
inf_adopted_request_log_set_begin() and
inf_adopted_request_log_is_empty().
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_is_component_reachable): Added an assertion
that the request is either contained in the user's request log, or
is to be added.
* libinfinity/adopted/inf-adopted-session.c: Upon successful
synchronization, set begin index of empty request logs to the
corresponding user's time of the current state vector (#389, Matthias
Prinz).
* test/replay/replay-05.record.xml: Added a test for this.
2008-11-08 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-user-table.c: Fixed a typo that prevented
inf_user_table_foreach_user to appear in the documentation.
2008-11-08 Benjamin Herr <[email protected]>
* libinfinity/inf-xmpp-connection.c: Properly advance data pointer
on partial writes (fixed bug #387).
2008-11-05 Armin Burgmeier <[email protected]>
* libinftext/inf-text-move-operation.h:
* libinftext/inf-text-move-operation.c: Added a left_gravity parameter
to inf_text_move_operation_transform_insert(). Always set it to TRUE
in inf_text_move_operation_transform(), assuming a remote operation.
* libinftext/inf-text-session.c: Interpret all requests as non-caret
versions by default. Use right gravity when adjusting the author's
cursor on an insert operation.
* libinftextgtk/inf-text-gtk-buffer.c: Block selection-changed signal
handler of active user in inf_text_gtk_buffer_insert_text_cb() and
inf_text_gtk_buffer_delete_range_cb() since GtkTextBuffer already
takes care of adjusting the buffer marks in response to index changes
on insert or delete operations.
These changes fix pasting text over selected text (#390, Georg
Kapeller).
2008-11-02 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-discovery-avahi.c: Added a documentation note
that this class is only available when LIBINFINITY_HAVE_AVAHI is
defined.
2008-11-02 Armin Burgmeier <[email protected]>
* configure.ac: Add LIBINFINITY_HAVI_AVAHI as an AM_CONDITIONAL.
* docs/reference/libinfinity/Makefile.am: Add inf-discovery-avahi.h to
the header files to ignore, and pass --rebuild-types to gtkdoc-scan.
This way, inf_discovery_avahi_get_type is not listed in the .types
file when avahi support is not enabled (#386, Gregory Haynes).
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am: Also added --rebuild-types
to gtkdoc-scan.
* docs/reference/libinfinity/libinfinity.types:
* docs/reference/libinftext/libinftext.types:
* docs/reference/libinfgtk/libinfgtk.types:
* docs/reference/libinftextgtk/libinftextgtk.types: Removed, since
these are now autogenerated.
2008-11-02 Armin Burgmeier <[email protected]>
* infinoted/note-plugins/text/Makefile.am:
* libinfinity/methods/local-central/Makefile.am: Changed module
installation path to be versioned.
* infinoted/Makefile.am:
* libinfinity/common/Makefile.am: Adapt module lookup path
accordingly.
2008-10-30 Armin Burgmeier <[email protected]>
* libinfgtk/inf-gtk-browser-store.c
(inf_gtk_browser_store_tree_model_iter_children): Make sure parent is
not dereferenced for an assertion check if it is NULL, preventing a
crash when this function was called with NULL parent and assertions
enabled (#388).
2008-10-25 Philipp Kern <[email protected]>
* configure.ac: check for MSG_NOSIGNAL
* libinfinity/common/inf-tcp-connection.c: conditionally define
INF_TCP_CONNECTION_SENDRECV_FLAGS
2008-10-19 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-connection-manager.c: Added #InfMethodManager
to @see_also in section documentation.
* libinfinity/common/inf-discovery-avahi.c: Added #InfLocalPublisher
to @see_also in section documentation.
* libinfinity/common/inf-discovery.h: Make virtual functions of the
InfDiscoveryIface struct appear in the documentation.
* libinfinity/server/infd-directory.c
(infd_directory_set_method_manager): Added a clarifying comment.
* libinfinity/common/inf-io.h:
* libinfinity/common/inf-io.c:
* libinfinity/common/inf-ip-address.h:
* libinfinity/common/inf-ip-address.c:
* libinfinity/common/inf-local-publisher.h:
* libinfinity/common/inf-local-publisher.c:
* libinfinity/common/inf-method-manager.h:
* libinfinity/common/inf-method-manager.c:
* libinfinity/common/inf-net-object.h:
* libinfinity/common/inf-net-object.c:
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Added class and section
documentation.
2008-10-19 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-connection-manager.c:
* libinfinity/common/inf-connection-manager.h: Removed some obsolete
commented-out code.
* libinfinity/common/inf-certificate-chain.h: Document the
InfCertificateChain symbol.
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c:
* libinfinity/common/inf-discovery.h:
* libinfinity/common/inf-discovery.c:
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added class and section
documentation.
2008-10-18 Armin Burgmeier <[email protected]>
* libinfinity/inf-i18n.c: Set localedir relative to libinfinity DLL on
Windows, so i18n is properly relocatable.
2008-10-18 Armin Burgmeier <[email protected]>
* configure.ac: Post-release bump to 0.2.0.
2008-10-18 Armin Burgmeier <[email protected]>
* === Released 0.1.0 ===
2008-10-18 Armin Burgmeier <[email protected]>
* infinoted/infinoted-creds.c: Don't set the SAN to $hostname.local
since the common name is no longer checked when a SAN is present.
* infinoted/infinoted-startup.c (infinoted_startup_load_certificate):
Error out if a self-signed certificate could not be created.
2008-10-17 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_send_ctrl): Fixed an assignment in an
assertion that should be a comparison.
(inf_connection_manager_group_real_send): Removed an unused variable.
* libinfinity/common/inf-discovery-avahi.c
(inf_discovery_avahi_client_callback): Removed an unused variable.
2008-10-17 Armin Burgmeier <[email protected]>
* configure.ac: Don't require avahi-glib for avahi support, as we
don't use it.
2008-10-17 Armin Burgmeier <[email protected]>
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am: Added underlying libraries
as --extra-dir to FIXXREF_ARGS.
* docs/reference/libinfinity/libinfinity-docs.sgml:
* docs/reference/libinftext/libinftext-docs.sgml:
* docs/reference/libinfgtk/libinfgtk-docs.sgml:
* docs/reference/libinftextgtk/libinftextgtk-docs.sgml: Adjust online
location.
2008-10-17 Armin Burgmeier <[email protected]>
* libinfinity/client/infc-browser.c: Add sync-in before emitting the
NODE_ADDED signal, so that the signal handler can access the sync-in
via infc_browser_iter_get_sync_in(). This allows InfGtkBrowserView to
show progress for sync-ins.
* libinfgtk/inf-gtk-browser-view: Removed a TODO comment about showing
progress for sync-ins.
2008-10-17 Armin Burgmeier <[email protected]>
* infinoted/infinoted-options.c: Don't crash when reading options from
config files.
2008-10-17 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_group_real_send): Removed debug logs.
2008-10-16 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-tcp-connection.c: Consider INF_IO_ERROR with
no error code as an ordinary disconnection. This is currently the way
to be notified about disconnection on Windows, because InfGtkIo maps
G_IO_HUP to INF_IO_ERROR.
* libinfgtk/inf-gtk-io.c: Also watch for G_IO_HUP in addition to
G_IO_ERR when INF_IO_ERROR is requested.
2008-10-16 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_group_real_send): Make sure all queued
messages are sent, even if the callback for the last item adds new
messages to the queue.
2008-10-16 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-session.c (inf_session_close): Make sure the
session's status is not already closed via a g_return_if_fail(), to
prevent a failing assertion in the default handler.
2008-10-16 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_handle_message): Make sure a group's object is
only finalized after we have unrefed the group, to prevent warnings
when a received handler releases the NetObject.
2008-10-16 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-tcp-connection.c (inf_tcp_connection_send):
Always queue data we could not sent immediately. There was a bug that
data wasn't queued if more than the half of it has been sent already.
2008-10-16 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_received_cb): Don't call gnutls_record_recv with
a NULL session when a TLS error occured.
2008-10-16 Armin Burgmeier <[email protected]>
* infinoted/infinoted-note-plugin.c
(infinoted_note_plugin_load_directory): Added missing return value in
success case.
2008-10-16 Armin Burgmeier <[email protected]>
* libinftextgtk/inf-text-gtk-buffer.c: Fixed a stupid type error in
the setter for the wake-on-cursor-movement property.
2008-10-16 Armin Burgmeier <[email protected]>
* libinfinity/Makefile.am:
* libinfinity/common/Makefile.am:
* libinfinity/adopted/Makefile.am:
* libinfinity/client/Makefile.am:
* libinfinity/server/Makefile.am:
* libinfinity/methods/local-central/Makefile.am:
* libinftext/Makefile.am:
* libinfgtk/Makefile.am:
* libinftextgtk/Makefile.am:
* infinoted/Makefile.am:
* infinoted/note-plugins/text/Makefile.am:
* test/Makefile.am: Moved -I$(top_srcdir) from AM_CPPFLAGS to
$lib_CPPFLAGS, because the former is not used when the latter is
present. This is required for `make distcheck'.
* docs/reference/Makefile.am: Added version.xml.in to EXTRA_DIST.
* docs/reference/libinfinity/Makefile.am:
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am: Added ../version.xml to
content_files, to fix `make distcheck'.
* docs/reference/libinfinity/libinfinity-docs.sgml: Reordered
documentation sections.
2008-10-16 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-tcp-connection.c: Make sure that calling
inf_tcp_connection_send() in a SENT callback does send things in a
different order, or even breaks consistency of the queue.
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_group_real_send): Fixed a memory corruption
problem.
2008-10-16 Armin Burgmeier <[email protected]>
* infinoted/infinoted-note-plugin.h:
* infinoted/infinoted-note-plugin.c: Print a warning when no note
plugins could be loaded.
* infinoted/infinoted-startup.c: Don't start the server if there are
no note plugins available.
2008-10-16 Armin Burgmeier <[email protected]>
* NEWS: Update for initial release.
2008-10-16 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-xmpp-connection.c: Removed network traffic
output.
2008-10-16 Armin Burgmeier <[email protected]>
* all source files: Fixed copyright period in GPL header, and changed
the package description.
2008-10-15 Armin Burgmeier <[email protected]>
* configure.ac: Changed some occurences of infinote to libinfinity
where the implementation rather than the protocol is meant. This
changes the INFINOTE_HAVE_AVAHI define to LIBINFINITY_HAVE_AVAHI.
* libinfinity/inf-config.h.in:
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c:
* infinoted/infinoted-run.c:
* test/inf-test-daemon.c:
* test/inf-test-gtk-browser.c:
* doc/reference/version.xml.in: Adapt to the changes.
2008-10-15 Armin Burgmeier <[email protected]>
* libinfinity/inf-dll.h:
* libinfinity/inf-dll.c:
* libinfinity/Makefile.am: Added new files that implement DllMain() on
Windows, to save the DLL Handle. This can be used with
g_win32_get_package_installation_directory_of_module().
* libinfinity/common/Makefile.am: Split the METHODS_PATH define in
METHODS_LIBDIR and METHODS_BASEDIR, where METHODS_BASEDIR is the
application-specific part of the path.
* libinfinity/common/inf-method-manager.c: On Windows, locate the
methods relative to the libinfinity DLL instead of using a hardcoded
path.
* libinfinity/methods/local-central/Makefile.am: Added a comment about
renaming renaming the directory into which the methods are stored.
However, this doesn't work yet because of some evil libtool weirdness.
2008-10-15 Armin Burgmeier <[email protected]>
* libinfinity/inf-i18n.h: Fixed a misleading comment in the first
line, originating from a copy+paste from inf-config.h.
2008-10-15 Armin Burgmeier <[email protected]>
* libinfinity/client/infc-browser.c: Make sure signals are emitted
before data any is sent out for various operations.
2008-10-15 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-tcp-connection.c: Only queue new data if it
can't be sent directly. This allows a call to
inf_tcp_connection_send() to emit the "sent" signal directly.
* libinfinity/common/inf-xmpp-connection.c:
* libinfinity/common/inf-connection-manager.c: Fixes to honor this.
2008-10-14 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-tcp-connection.c: Changed
INF_TCP_CONNECTION_EINPROGRESS to be WSAEWOULDBLOCK on Windows because
this is what connect() yields for non-blocking sockets.
2008-10-14 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-connection-manager.c:
* libinfinity/common/inf-error.c:
* libinfinity/common/inf-init.c:
* libinfinity/common/inf-io.h:
* libinfinity/common/inf-ip-address.c:
* libinfinity/common/inf-standalone-io.c:
* libinfinity/common/inf-tcp-connection.c:
* libinfinity/server/infd-tcp-server.c: Fixed the build on Windows.
InfStandaloneIo only has a stub implementation for now. GtkIo does not
work correctly with glib 2.18, though I believe that's a regression in
glib because it works with glib 2.16. Let's see whether I can track
that down.
* configure.ac: Don't require libuuid on Windows since we use native
Windows API there.
2008-10-14 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-init.h: Include only <glib.h> for
G_BEGIN_DECLS and G_END_DECLS, removed inculdes that we don't need in
inf-init.h.
2008-10-14 Armin Burgmeier <[email protected]>
* libinfinity/Makefile.am:
* libinftext/Makefile.am:
* libinfgtk/Makefile.am:
* libinftextgtk/Makefile.am:
* infinoted/Makefile.am:
* libinftextgtk/Makefile.am: Fixed linking order so that libraries
that depend on others appear first in the command line.
2008-10-14 Armin Burgmeier <[email protected]>
* libinfinity/methods/local-central/Makefile.am:
* infinoted/note-plugins/text/Makefile.am: Added -avoid-version,
-module and -no-undefined LDFLAGS. Also fixed the linking order.
2008-10-14 Armin Burgmeier <[email protected]>
* infinoted/infinoted-options.c:
* infinoted/infinoted-startup.c: Fixed a few warnings.
2008-10-14 Armin Burgmeier <[email protected]>
* po/LINGUAS: Added a file that lists all languages, as required by
`make dist'.
* configure.ac: Use that file to set ALL_LINGUAS.
2008-10-14 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-init.h:
* libinfinity/common/inf-init.c
* libinfinity/common/Makefile.am: New file that contains a function to
initialize the library.
* infinoted/infinoted-main.c: Don't call g_type_init() anymore in
main().
* infinoted/infinoted-startup.c: Instead, call inf_init() which does
g_type_init in startup.
* libinfinity/inf-i18n.h:
* libinfinity/inf-i18n.c: Rely on gettext being initialized all the
time. This means inf_init() needs to have been called before.
2008-10-14 Armin Burgmeier <[email protected]>
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added
inf_text_gtk_buffer_get_wake_on_cursor_movement() and
inf_text_gtk_buffer_set_wake_on_cursor_movement(). This setting
specifies whether to make inactive users active when the cursor
position of the underlying TextBuffer changes, or to resync when the
user is explicitely set to be active.
2008-10-13 Armin Burgmeier <[email protected]>
* libinftextgtk/inf-text-gtk-buffer.c: Make sure only one author tag
can be applied to a range of text. Applying multiple tags could still
occur when copying and pasting text from the same buffer.
2008-10-13 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_handle_message): Keep a reference on the
group that is currently processed, and unref at the end. This prevents
a crash when net_object_received() does a final unref on the group.
2008-10-12 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_group_unref): Allow final unref of groups not
in the tree (because of duplicate IDs). This is a temporary workaround
until the handling of such groups has been fixed.
2008-10-12 Armin Burgmeier <[email protected]>
* libinfgtk/inf-gtk-browser-store.c: Removed an unnecessary
gtk_tree_model_row_changed() call.
* libinfgtk/inf-gtk-browser-view.c: Fixed automatic expansion of root
node when multiple views show the same model.
2008-10-11 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-session.c
(inf_adopted_session_process_xml_sync): Don't leak the processed
request.
* inf_adopted_split_operation_revert
(inf_adopted_split_operation_revert): Don't leak the two reverted
child operations.
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_group_free): Don't leak the
InfConnectionManagerMethodInstance instance.
(inf_connection_manager_handle_message): Don't leak scope_attr.
* libinfinity/common/inf-session.c
(inf_session_get_xml_user_props_impl): Don't leak status.
* libinftext/inf-text-session.c (inf_text_session_process_xml_sync):
Don't leak the GIconv conversion descriptor.
(inf_text_session_process_xml_sync): Don't leak text.
2008-10-09 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-discovery-avahi.c: Don't assert when the
avahi client could not be created. Even though we pass
AVAHI_CLIENT_NO_FAIL, sometimes the client still can't be created it
seems.
2008-10-09 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-state-vector.c
(inf_adopted_state_vector_vdiff): Changed an assertion that
effectively checks an input parameter to a g_return_val_if_fail.
* libinftext/inf-text-chunk.c: Disable chunk integrity check by
default.
* libinftext/inf-text-default-delete-operation.c: Disable text match
check by default.
2008-10-09 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-algorithm.c: Don't let unavailable
users prevent cleanup.
2008-10-09 Armin Burgmeier <[email protected]>
* libinftext/inf-text-session.c: Send undo-caret and redo-caret. We
still don't make a difference internally, but let's be gentle to
implementations which do.
* libinftextgtk/inf-text-gtk-buffer.c: Update "insert" and
"selection-bound" markers when the active user's selection changes.
2008-10-09 Armin Burgmeier <[email protected]>
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Moved server running code from
infinoted-main.c to a new file.
* infinoted/infinoted-signal.h:
* infinoted/infinoted-signal.c: New files to handle SIGINT and SIGTERM
properly by saving the directory and then shutting down.
* infinoted/infinoted-main.c: Register the signals, call into
infinoted-run.
* infinoted/Makefile.am: Add the new files to the build.
* libinfinity/common/inf-standalone-io.c
(inf_standalone_io_iteration_impl): Return if poll returned EINTR, to
allow shutting down the server in a signal handler.
* libinfinity/server/infd-server-pool.c
(infd_server_pool_entry_unpublish_with): Fixed unwanted fallthrough in
a switch statement.
* libinfinity/common/inf-discovery-avahi.c
(inf_discovery_avahi_unpublish): Fixed an assertion.
* libinfinity/adopted/inf-adopted-split-operation.c: Fixed a typo in a
comment.
2008-10-08 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-user.h:
* libinfinity/adopted/inf-adopted-user.h:
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-algorithm.h:
* libinfinity/common/inf-user.c:
* libinfinity/adopted/inf-adopted-user.c:
* libinfinity/adopted/inf-adopted-request.c:
* libinfinity/adopted/inf-adopted-request-log.c:
* libinfinity/adopted/inf-adopted-algorithm.c: Added a priv pointer to
the instance struct, initialize it in instance_init and use this
instead of calling g_type_instance_get_private all the time. This
gets us a performance gain of about 9%.
2008-10-08 Armin Burgmeier <[email protected]>
* infinoted/infinoted-creds.c: Set the subject alternatime name to
hostname.local for newly created self-signed certificates, because
this is what avahi discovers in a local network.
2008-10-08 Armin Burgmeier <[email protected]>
* libinfgtk/inf-gtk-certificate-dialog.c: Fixed messages when the
certificate has changed. The normal message and the one shown when the
old certificate has expired were swapped.
2008-10-08 Armin Burgmeier <[email protected]>
* libinfgtk/inf-gtk-certificate-manager.c: Don't crash when no
certificate warnings are shown, but just go on without showing a
dialog.
2008-10-08 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-discovery-avahi.c: Emit undiscovered signals
on correct discovery infos.
2008-10-08 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c: Added a sasl-mechanisms
property that specifies what mechanisms to accept or offer,
respectively, for authentication.
* libinfinity/server/infd-xmpp-server.h:
* libinfinity/server/infd-xmpp-server.c:
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c: Added the same property,
and forward to created connections.
* infinoted/infinoted-main.c:
* test/inf-test-browser.c:
* test/inf-test-daemon.c:
* test/inf-test-gtk-browser.c:
* test/inf-test-xmpp-connection.c: Adapt to API changes.
* libinfinity/client/infc-browser.c: Don't unref the default method
manager.
2008-10-07 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-state-vector.h:
* libinfinity/adopted/inf-adopted-state-vector.c: Added
inf_adopted_state_vector_vdiff().
* libinfinity/adopted/inf-adopted-algorithm.c: Use that function to
calculate required vdiffs, instead of a slower, own implementation.
2008-10-07 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-state-vector.h:
* libinfinity/adopted/inf-adopted-state-vector.c: Added
inf_adopted_state_vector_causally_before_inc().
* libinfinity/adopted/inf-adopted-algorithm.c: Use this new function,
to save some copies.
* test/inf-test-state-vector.c: Verify that
inf_adopted_state_vector_causally_before_inc(<empty state vector>,
<empty state vector>, 1) yields FALSE.
2008-10-07 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-state-vector.c: Fixed an assertion
in inf_adopted_state_vector_add().
* libinfinity/adopted/inf-adopted-algorithm.c: Cleaned up the code in
inf_adopted_translate_request(), don't make a copy of the 'to'
parameter anymore.
2008-10-07 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_translate_request): Don't leak v when a cached
request is returned.
(inf_adopted_algorithm_execute_request): Don't leak log_request when
the request must be made reversible.
* libinfinity/adopted/inf-adopted-request.c
(inf_adopted_request_transform), (inf_adopted_request_mirror): Don't
leak the newly created operations.
* libinftext/inf-text-session.c (inf_text_session_xml_to_request):
Don't leak the parsed operation.
* test/inf-test-chunk.c: Don't leak the two chunks.
* test/inf-test-text-operations.c: Don't leak the users array.
* test/util/inf-test-util.c: Don't leak the XML content of <segment>
nodes for buffers.
2008-10-07 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-algorithm.c: Removed the ugly
can_cache paramatere for inf_adopted_algorithm_translate_request() and
inf_adopted_algorithm_transform_request(). Instead, translate_request
checks itself whether a request is cachable or not.
2008-10-07 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-request.c: Made InfAdoptedRequest
immutable, which means that the request cannot be altered anymore once
created. The functions inf_adopted_request_transform(),
inf_adopted_request_mirror() and inf_adopted_request_fold() now return
new requests instead of modifying the given one.
* libinfinity/adopted/inf-adopted-algorithm.c: Adapt to that change.
Given that requests are now immutable, we can save a few copies. This
speeds up inf-test-text-session about 11%.
2008-10-07 Armin Burgmeier <[email protected]>
* test/util/inf-test-util.c (inf_test_dir_util_foreach): Iterate
alphabetically through the file names.
* test/inf-test-text-session.c: Actually make setting a random seed
work, added time measurement.
2008-10-06 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-session-record.c: Fixed a few
warnings.
* configure.ac: Added check-news to AM_INIT_AUTOMAKE.
* NEWS: Removed the dummy entry, so I don't forget to create a real
one for the release.
2008-10-06 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-operation.h:
* libinfinity/adopted/inf-adopted-operation.c: Added two new virtual
functions, need_concurrency_id() and get_concurrency_id(). These are
used to correctly handle situations when two requests insert text at
the same position concurrently.
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-request.c: Added
inf_adopted_request_need_concurrency_id() and
inf_adopted_request_get_concurrency_id() which are simple wrapper
functions for the underlying operation functions.
* libinfinity/adopted/inf-adopted-algorithm.c: If a concurrency ID is
needed during transformation, then acquire one from the same requests
in a previous state.
* libinfinity/adopted/inf-adopted-no-operation.c:
* libinfinity/adopted/inf-adopted-split-operation.c: Implement the two
new virtual functions.
* libinftext/inf-text-pword.h:
* libinftext/inf-text-pword.c: Removed, since pwords are no longer
used. These did not handle the situation described above well enough,
since the algorithm did not pass one of the tests in test/session
since the request cache has been introduced (see my change from
2008-02-22). The test in question is now test #28.
Also, the adOPTed algorithm relies on the fact that it must not matter
on which path a request has been transformed to reach a certain state.
The pword concept did not fulfill this requirement.
* libinftext/Makefile.am: Removed the files from the build.
* libinftext/inf-text-insert-operation.h:
* libinftext/inf-text-insert-operation.c: Added
inf_text_insert_operation_need_concurrency_id() and
inf_text_insert_operation_get_concurrency_id(), and replaced the
get_pword() virtual function by get_position().
* libinftext/inf-text-delete-operation.h:
* libinftext/inf-text-delete-operation.c: Added
inf_text_delete_operation_need_concurrency_id() and
inf_text_delete_operation_get_concurrency_id().
* libinftext/inf-text-default-insert-operation.c:
* libinftext/inf-text-default-delete-operation.c:
* libinftext/inf-text-remote-delete-operation.c:
* libinftext/inf-text-move-operation.c: Implement the two new
virtual functions from InfAdoptedOperation, and adapt to the
get_pword() -> get_position() change in InfTextDefaultInsertOperation.
* test/inf-test-text-operations.c: Correctly supply concurrency IDs
for the C2 tests to pass.
* test/inf-test-text-session.c: Always show the random seed used, also
if given.
* test/session/*.xml: Regenerated tests.
* test/session/Makefile.am: Added the new files to the distribution.
2008-10-06 Armin Burgmeier <[email protected]>
* libinfinity/inf-i18n.h:
* libinfinity/inf-i18n.c: Added vim modelines.
* libinfinity/adopted/inf-adopted-concurrency-warning.h:
* libinfinity/adopted/inf-adopted-concurrency-warning.c: Helper files
that contain a function to print a warning used in the upcoming
modification of the algorithm when a concurrency ID is requested for
types that don't support it yet.
* libinfinity/adopted/Makefile.am: Add the files to the build.
2008-10-03 Armin Burgmeier <[email protected]>
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_translate_request): Simplified the code a bit.
2008-10-01 Armin Burgmeier <[email protected]>
* libinfinity/inf-i18n.h:
* libinfinity/inf-i18n.c: Added _inf_gettext_init() in case somebody
needs the infinote gettext translation domain being set without having
called _inf_gettext() before.
* infinoted/infinoted-creds.h:
* infinoted/infinoted-creds.c: Fixed a typo.
* infinoted/infinoted-options.h:
* infinoted/infinoted-startup.h:
* infinoted/infinoted-options.c:
* infinoted/infinoted-startup.c: New files, containing some
functionality from infinoted-main.c, due to code refactorings.
* infinoted/infinoted-main.c: Adapt.
* infinoted/Makefile.am: Build the new files.
* README:
* configure.ac: Require at least glib 2.16.
2008-09-29 Armin Burgmeier <[email protected]>
* libinfinity/common/inf-cert-util.c (inf_cert_util_save_file): Fixed
storage of more than one certificate.
2008-09-25 Armin Burgmeier <[email protected]>
* libinftext/inf-text-chunk.c: Fixed another problem when a chunk was
inserted into another chunk between two segments when the last part
could be merged.
* test/replay/replay-03.record.xml:
* test/replay/replay-04.record.xml: Added two new records, to test the
the InfTextChunk.
2008-09-23 Armin Burgmeier <[email protected]>
* libinftext/inf-text-chunk.c: Fixed a problem when a chunk was
inserted into another chunk between two segments, and the last part
could not be merged.
* test/inf-test-text-replay.c: Cleaned up the code a bit.
2008-09-22 Armin Burgmeier <[email protected]>
* libinftext/inf-text-chunk.c (inf_text_chunk_erase): Fixed a problem
that the erase operation did not produce a correct result when both
the first and the last segment of the erasure bounds were in
different segments of the same author.
* test/inf-test-text-replay.c: Added code to set a breakpoint just
before the algorithm applies a request, to be able to debug the
InfTextChunk internals.
2008-09-22 Armin Burgmeier <[email protected]>
* test/inf-test-text-replay.c: Added functionality to check for
InfTextChunk errors by performing all the buffer operations on an
(ascii-only) GString and comparing the result with the buffer.
* libinfinity/adopted/inf-adopted-algorithm.c: Documented a missing
parameter in InfAdoptedAlgorithm::execute-request.
* test/replay/replay-01.record.xml:
* test/replay/replay-02.record.xml: Added two records that currently
fail to replay correctly.
2008-09-22 Armin Burgmeier <[email protected]>
* libinftext/inf-text-session.h:
* libinftext/inf-text-session.c: Reorganized the code a bit, added
inf_text_session_flush_requests_for_user().
2008-09-21 Armin Burgmeier <[email protected]>
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added
inf_text_gtk_buffer_ensure_author_tags_priority().
2008-09-21 Armin Burgmeier <[email protected]>