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
|
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Switched printing and gui.
* backend/ebook/e-book-view-listener.h,
backend/ebook/e-book-view.h, backend/ebook/e-book.h,
backend/ebook/e-card-cursor.h, backend/ebook/e-card-list.h,
backend/ebook/e-card-simple.h, backend/ebook/e-card.h: Fixed the
#defines to work elsewhere in evolution.
* gui/component/Makefile.am: Added linking to libecontactprint.
* gui/component/addressbook.c: Added a menu item to print the
current query.
* printing/Makefile.am: Add linking to libebook and requirements.
Add installation of ecps files.
* printing/e-contact-print.c, printing/e-contact-print.h: Changed
this to use real data from an EBook.
* printing/test-print.c: Made this pass NULL, NULL to
e_contact_print_dialog_new so that it will compile.
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-save-as.c: Fixed some memory leaks.
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/Makefile.am: Added e-contact-editor-save-as.c and
e-contact-editor-save-as.h.
* contact-editor/e-contact-save-as.c,
contact-editor/e-contact-save-as.h: New files that display a save
as dialog and then save the given card to that file.
* gui/minicard/e-minicard.c: Call e_contact_save_as in a right
click menu.
2000-05-19 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c,
gui/component/e-addressbook-model.c: Added initialize_value and
value_is_empty callbacks.
2000-05-19 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Fixed a bug that broke
address field support.
2000-05-19 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Added support for arbitrary
fields in the contact editor.
2000-05-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Fixed e_card_name_copy and
e_card_arbitrary_copy to deal correctly with a passed NULL.
* contact-editor/Makefile.am: Removed imagesdir stuff.
* contact-editor/arrow.png: Made this transparent.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Renamed some widgets
and added custom widgets for all of the images.
* contact-editor/e-contact-editor.c: Worked on making this work
decently well with messed up glade files. Cleaned up a lot of code.
2000-05-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Fixed the code to write out and read in
arbitrary fields.
2000-05-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h,
backend/ebook/e-card-types.h, backend/ebook/e-card.c,
backend/ebook/e-card.h: Implemented "MAILER" field. Added
arbitrary field support.
* contact-editor/e-contact-editor-categories.c: Fixed a warning.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Added E_CARD_SIMPLE_FIELD_MAILER. Not implemented yet.
2000-05-16 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (construct_email_list): convert to use ECardSimple.
(poll_ldap): same.
2000-05-16 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-book.h: add typedefs for the can_write
functions, and add parameters to pas_book_new.
* backend/pas/pas-book.c (pas_book_construct): add can_write/can_write_card params.
(pas_book_new): same.
(impl_Evolution_Book_can_write): new function.
(impl_Evolution_Book_can_write_card): same.
(pas_book_get_epv): assign the can_write/can_write_card slots in the epv.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_can_write): new function.
(pas_backend_ldap_can_write_card): same.
(pas_backend_ldap_add_client): add can_write/can_write_card to pas_book_new call.
* backend/pas/pas-backend-file.c (pas_backend_file_can_write_card): new function, calls can_write.
(pas_backend_file_can_write): same.
(can_write): return TRUE if we can write to the addressbook file.
(pas_backend_file_add_client): add can_write/can_write_card to pas_book_new call.
* backend/idl/addressbook.idl (Evolution): add can_write and
can_write_card permission requests.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c (e_card_get_vcard): Fixed a large memory leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c (add_list_unique): Fixed another memory
leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/pas/pas-backend-file.c,
contact-editor/e-contact-editor.c, ename/e-name-western.c,
gui/component/addressbook.c, gui/minicard/e-minicard-view.c: Fixed
some memory leaks.
* backend/ebook/e-card.c: Rearranged some code.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Fixed a reference
leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Fixed a compile
error.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Got rid of a
memory leak. Rearranged a couple functions.
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard-view.h:
Added some code to stop watching the EBook when the canvas is
destroyed (apparently the canvas is destroyed before our widget is
destroyed.)
2000-05-14 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Use the correct
policy for resize.
2000-05-14 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added libeutil for e-card's support
for categories.
* backend/ebook/e-card-list.c, backend/ebook/e-card-list.h: Added
a function to get the length.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added categories
support (accessible either as "categories" or "category_list".)
* contact-editor/Makefile.am: Added e-table and all of the
categories files.
* contact-editor/categories.glade,
contact-editor/categories-strings.h,
contact-editor/e-contact-editor-categories.c,
contact-editor/e-contact-editor-categories.h:
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Rearranged this dialog.
* contact-editor/e-contact-editor.c: Rearranged dialog a bit.
Added opening of categories dialog.
* gui/component/Makefile.am: Rearranged libraries so that
libetable would be available for the contact editor categories
dialog.
* gui/component/addressbook.c: Fix for new ETable resizing. Make
contact editor dialog resizable.
* gui/minicard/Makefile.am: Added libetable contact editor
categories dialog.
* gui/minicard/e-minicard.c: Make contact editor dialog resizable.
2000-05-12 Miguel de Icaza <miguel@gnu.org>
* contact-editor/fulname.glade: Use accelerators here.
2000-05-13 Valek Filippov <frob@df.ru>
* gui/component/ldap-server-dialog.glade: save translatable strings
* gui/component/ldap-server-dialog.glade.h: file with strings
* printing/e-contact-print.glade: save translatable strings
* printing/e-contact-print.glade.h: file with strings
2000-05-11 Dan Winship <danw@helixcode.com>
* gui/component/addressbook.c (control_activate): Now that we
depend on recent gnome-libs we can make the toolbar detachable
again.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Make the table view be sorted by
name initially.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-book-factory.c: Send a proper response when you
can't find the ldap URI.
* gui/component/addressbook.c: Cleaned up the open error dialog a
bit.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Added a dialog for when you can't
open an addressbook.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h,
e-card-types.h.
* backend/pas/Makefile.am: Added pas-backend-ldap.h.
* contact-editor/Makefile.am: Added a proper EXTRA_DIST section.
Removed some old defines.
* ename/Makefile.am: Added e-name-western-tables.h.
* gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added
a proper EXTRA_DIST section.
* gui/minicard/e-reflow.c: Added a missed cast.
* printing/Makefile.am: Added a proper EXTRA_DIST section.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Make sure that the canvas
doesn't intercept keyboard focus.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Use new art.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Replaced the Address
button with a label and rearranged the address area a bit.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard.c: Reenable editting.
* gui/minicard/e-reflow-sorted.c: Make reflow flow on deletion.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Destroy the view object when
leaving the minicard view.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-reflow-sorted.c: Fixed reflow sorting to call
reflow_request when sorting on an item changes.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Make File As change if name or
company are changed pretty much anywhere.
* gui/minicard/e-minicard.c: Turned off having minicard editing
effect anything since it's so crashy.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-ldap.c: Enabled a couple more fields
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c: Added a default card to all new
file backends.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-addressbook-model.c: Rearranged order of things
getting destroyed.
* gui/minicard/e-minicard-view.c: Rearranged order of things
getting destroyed. Don't set attributes of non-null or destroyed
items. Destroy parent object when destroyed. Maintain ref_count
of items in list.
* gui/minicard/e-minicard.c: Don't set attributes of non-null
items.
* gui/minicard/e-reflow-sorted.c: Maintain ref_count of items in
list.
* gui/minicard/e-reflow.c: Maintain ref_count of items in list.
Destroy parent object when destroyed.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Fixed some indentation.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Changed Email to
Primary Email.
* contact-editor/e-contact-editor.c: Added checkmarks to indicate
if data exists in the pull down menus for the phone, address, and
email fields.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Fixed the string duplication
problem. Fixed the business/home address string mix up.
* gui/component/addressbook.c: Made the minicard view the default
view.
2000-05-08 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Fixed this up a bit. Syncing
should work better now.
2000-05-08 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c,
gui/minicard/e-minicard.h, gui/minicard/e-reflow-sorted.c,
gui/minicard/e-reflow-sorted.h: Made a minimal number of things be
destroyed and recreated when updating a field.
2000-05-07 <toshok@the-dot-in.helixcode.com>
* gui/minicard/e-minicard.c (remodel): make sure to free the
return value of e_card_simple_get.
* gui/component/addressbook.c (teardown_table_view): destroy the
ECardSimple here, plug memory leak.
(create_table_view): use view->simple so we can destroy the
ECardSimple later on.
2000-05-07 Chris Toshok <toshok@helixcode.com>
* ename/e-name-western.c (e_name_western_extract_middle): comment
function, and fix an ABR.
2000-05-07 Chris Toshok <toshok@helixcode.com>
* ename/e-name-western.c (e_name_western_cleanup_string): comment
function, and fix an ABR.
2000-05-08 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard.c: Added saving in minicard view.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c: Fixed an off by 2 error.
2000-05-07 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (set_prop): don't create a new
ebook. instead, unload the current uri (if there is one) and load
the new one.
(addressbook_factory): create the ebook once.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-addressbook-model.c: Replaced some model_changed
calls with row_inserted calls.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c:
Removed some code that was notifying too many clients at the wrong
times.
* gui/component/addressbook.c: Set view->book. Unreffed
view->book. Unreffed the model instead of destroying it. Removed
the /tmp/test.db stuff.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Make the addressbook create the
correct file uri. Added a default query. Initialize view->model
and view->view to NULL.
* gui/component/e-addressbook-model.c,
gui/minicard/e-minicard-view.c: Only call get_book_view if both
book and query and non-null.
2000-05-06 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (control_deactivate): remove the
separator and toggle view items as well.
(toggle_view_as_cb): callback for the "/View/Toggle View" menu
item.
(get_query): getter for the query string that takes into account
the two view types.
(set_query): setter for the query string that takes into account
the two view types.
(set_book): setter for the EBook type - not really a setter, since
the book is kept in the AddressbookView, but this method actually
sets the "book" property on the current view.
(find_contact_cb): make use of get/set_query
(search_entry_activated): make use of set_query.
(control_activate): add a menu separator and an item to toggle
between view types.
(book_open_cb): make use of set_book.
(ebook_create): no longer needs to return the EBook, since we set
the book field in our view.
(teardown_minicard_view): destructor function for the minicard
specific ui.
(create_minicard_view): constructor function for the minicard
specific ui.
(teardown_table_view): destructor function for the e-table
specific ui.
(create_table_view): constructor function for the e-table specific
ui.
(change_view_type): destroy the old and create the new view ui,
change the label of the Toggle View menu item, and reset the book
and query on the new view type.
(addressbook_factory): create an all-encompassing vbox that the
view uses to create the bonobo control, which contains 1 widget
per ui specific view (the e-table in the table case, and another
vbox in the minicard case.) use change_view_type to create the
initial view.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-book.c: Made a NULL callback just mean to not
call back.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Reordered fields. Added a get_const function to get a constant
string that persists until the simple is destroyed.
* gui/component/Makefile.am: Added e-addressbook-model.c and
e-addressbook-model.h and all of the libraries and includes that
they are dependent on.
* gui/component/addressbook-factory.c: Initialize e cursors.
* gui/component/addressbook.c: Added inactive code to display an
ETable view of the addressbook.
* gui/component/e-addressbook-model.c,
gui/component/e-addressbook-model.h: New files to implement an
ETable model with a EBook back end.
2000-05-06 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Mostly finished ECardSimple.
* contact-editor/e-contact-editor.c: Changed this to match with
some of the changes to ECardSimple.
* gui/component/addressbook.c: Changed this to look for
"addressbook.db" in the given directory if it doesn't find the
file "uri".
* gui/minicard/e-minicard.c, gui/minicard/e-minicard.h: Changed
this to use ECardSimple.
2000-05-06 Chris Toshok <toshok@helixcode.com>
* gui/component/.cvsignore: ignore evolution-addressbook.pure
* gui/component/Makefile.am: add support for generating
evolution-addressbook.pure.
2000-05-06 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_load_uri): if a
port isn't specified in the uri default to 389.
2000-05-06 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Made this take a uri through its
property bag.
2000-05-05 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added e-card-simple.c and
e-card-simple.h.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
New card wrapper class to simplify things.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Changed e-contact-editor to use
ECardSimple a bit.
2000-05-03 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (control_deactivate): #ifdef
HAVE_LDAP the ldap specific stuff.
(null_cb): same.
(control_activate): same.
2000-05-02 Ettore Perazzoli <ettore@helixcode.com>
* backend/ebook/Makefile.am (INCLUDES): Add
`-I$(top_srcdir)/addressbook/ename'.
2000-05-02 Matt Loper <matt@helixcode.com>
* demo/Makefile.am: set G_LOG_DOMAIN.
* printing/Makefile.am: same.
2000-05-01 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-book-factory.c: Add back in the
CORBA_Object_release.
* backend/pas/pas-book.c: Properly duplicate and release the
listener passed to us.
2000-05-01 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c:
Made uri slightly better managed.
* backend/pas/pas-book-factory.c
(pas_book_factory_process_request): Remove this
CORBA_Object_release that causes things not to work. This is just
a temporary fix until we figure out what's actually wrong.
* backend/pas/pas-book.c: Fixed a copy and paste error in a warning.
2000-05-01 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Switched the subdirs order since backend depends on
ename.
2000-05-01 Larry Ewing <lewing@helixcode.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_remove_client):
fix a typo in the for loop.
2000-05-01 Michael Meeks <michael@helixcode.com>
* backend/pas/pas-book-factory.c: include gtk.
2000-04-30 Federico Mena Quintero <federico@helixcode.com>
* backend/ebook/e-book-types.h (EBookStatus): Added new status
values for the IDL stuff.
* backend/pas/pas-book-factory.h (PASBookFactoryClass): New
"last_book_gone" signal.
* backend/pas/pas-book-factory.c
(pas_book_factory_launch_backend): Better error handling.
(pas_book_factory_process_queue): Let
pas_book_factory_process_request() free the request.
(pas_book_factory_process_request): Free the request here.
Perform better error handling.
(free_active_server_map_entry): Free an active server map entry;
free the URI key and unref the backend value. This function was
renamed; the old one was trying to CORBA_Object_unref() a GTK+
object!
(remove_backends_entry): Free a backend table entry; free the URI
key.
(backend_last_client_gone_cb): Remove the backend from the active
server map and emit the "last_book_gone" signal if appropriate.
(pas_book_factory_get_n_backends): New function to query the
number of running backends in an addressbook factory.
* backend/idl/addressbook.idl (BookListener::CallStatus): Added a
ProtocolNotSupported code. This is for when the addressbook
factory cannot find a provider for the requested URI.
* backend/pas/pas-backend.h (PASBackendClass): New
"last_client_gone" signal.
(PASBackendClass): New get_uri virtual method.
* backend/pas/pas-backend.c (pas_backend_load_uri): Return a
gboolean success code.
(pas_backend_add_client): Return a gboolean success code.
(pas_backend_last_client_gone): New function used by backend
implementations to notify upwards when the backend's last client
is destroyed.
(pas_backend_get_uri): New function to get the URI of a backend.
* backend/pas/pas-backend-file.c (pas_backend_file_add_client):
Pass the backend as the closure data to the "destroy" handler of
the book. We cannot call pas_book_get_backend() in the callback
since the book's private data has already been destroyed when the
callback is invoked. Alternatively, we could move the private
data destruction step to the book's ::finalize() method.
(pas_backend_file_book_destroy_cb): Get the backend from the
callback's data, not from the book.
(pas_backend_file_remove_client): Remove the book from the list of
clients. When all clients go away, call
pas_backend_last_client_gone().
(PASBackendFilePrivate): Added an uri field.
(pas_backend_file_get_uri): Implement the get_uri method.
(pas_backend_file_load_uri): Return a gboolean success code.
Also, store the URI in the private structure.
(pas_backend_file_add_client): Return a gboolean success code.
Also, call pas_backend_last_client_gone() if appropriate.
(pas_backend_file_destroy): Free the bf->priv->uri.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client):
Pass the backend as the closure data to the "destroy" handler of
the book. See above for rationale.
(pas_backend_ldap_book_destroy_cb): Get the backend from the
callback's data.
(pas_backend_ldap_remove_client): Remove the book from the list of
clients. When all clients go away, call
pas_backend_last_client_gone().
(pas_backend_ldap_load_uri): Return a gboolean success code.
(pas_backend_ldap_add_client): Return a gboolean success code.
Also, call pas_backend_last_client_gone() if appropriate.
(PASBackendLDAPPrivate): New uri field.
(pas_backend_ldap_get_uri): Implement the get_uri method.
(pas_backend_ldap_load_uri): Store the uri in the private
structure.
(pas_backend_ldap_destroy): Free the bl->priv->uri.
2000-04-30 Chris Toshok <toshok@helixcode.com>
* gui/component/Makefile.am (evolution_addressbook_SOURCES): added
e-ldap-server-dialog.c
(glade_DATA): added ldap-server-dialog.glade
* gui/component/ldap-server-dialog.glade: new file.
* gui/component/e-ldap-server-dialog.h: new file.
* gui/component/e-ldap-server-dialog.c: new file, contains logic
associated with ldap server dialog.
* gui/component/addressbook.c (control_deactivate): remove the
directory server menu item.
(null_cb): do nothing callback for e_book_load_uri call. should
change to (at the very least) pop up a dialog if there was an
error.
(new_server_cb): new function - really just switches to a
particular ldap server, since the information isn't saved
anywhere.
(control_activate): add directory server menu item.
2000-04-30 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-book.c (e_book_load_uri): create the book
listener here, since it's destroyed in unload_uri.
(e_book_construct): remove the book listener construction here.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/.cvsignore: Added load-pine-addressbook.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor.c, gui/minicard/e-minicard.c: Made
some fields invisible that were visible before.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Make file as not have the : after it if
it's empty. If there's no name, or file_as, fill in these fields
with defaults based on full_name or name respectively.
* backend/ebook/load-pine-addressbook.c: New file to do import of
pine .addressbook files.
* backend/pas/pas-backend-file.c: Made empty fields act as the
empty string for searches.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Made the File As field update
properly as you edit the name and company fields. Added the pull
down list of File As choices. Made sure that all fields will
be set to NULL if they are deleted to the empty string.
* gui/minicard/e-minicard.c: Use the File As field instead of the
Full Name field for the header. Make identical compares on the
File As field do a compare on the uid.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-fullname.c,
contact-editor/fullname.glade: Fixed a string mismatch.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added ename includes and libs.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
e_card_name_from_string. Added header for
e_card_delivery_address_from_string, even though it's not
implemented yet.
* contact-editor/Makefile.am: Removed the ename includes since we
no longer use ename directly here.
* contact-editor/e-contact-editor.c: Fixed this to properly save
the address labels displayed. Updated this to use the function
e_card_name_from_string instead of doing it by hand.
* contact-editor/fullname-strings.h,
contact-editor/fullname.glade: Deleted an unused field. Changed
the set of prefixes and suffixes.
2000-04-30 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_ensure_connected): add support for a rootdn in
the uri.
(pas_backend_ldap_build_all_cards_list): make use of the rootdn in
the call to ldap_search_s.
(pas_backend_ldap_search): same.
(pas_backend_ldap_load_uri): get the rootdn out of the passed in uri.
2000-04-29 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
e_card_phone_new e_card_delivery_address_new,
e_card_delivery_address_to_string, e_card_name_copy,
e_card_name_new, e_card_name_to_string, and made e_card_name_free
public. Removed some unused code.
* backend/pas/pas-backend-file.c: Fixed a warning.
* contact-editor/Makefile.am: Added e-contact-editor-fullname.[ch]
and fullname.glade. Added e-name libs and includes.
* contact-editor/e-contact-editor-fullname.c,
contact-editor/e-contact-editor-fullname.h,
contact-editor/fullname-strings.h, contact-editor/fullname.glade:
New dialog for editing the fields of a name separately.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Create an
EContactEditorFullname when you click on the Full Name button.
Maintain a parsed name at all times.
* gui/component/Makefile.am, gui/minicard/Makefile.am: Added
e-name libs.
2000-04-28 Larry Ewing <lewing@helixcode.com>
* backend/pas/pas-book-factory.c (register_factory): fix the
`USING_OAF' changes so that they work for when we are not using
oaf.
2000-04-27 Ettore Perazzoli <ettore@helixcode.com>
* ename/Makefile.am
(gnome_libs): Use `BONOBO_GNOME_LIBS'.
(INCLUDES): Add `-I$(srcdir)/..'.
* backend/pas/pas-book-factory.c
(register_factory): New function to register the factory.
Implementation different according to `USING_OAF'.
(pas_book_factory_activate): Use `register_factory()'.
* gui/component/addressbook.c: New #define `CONTROL_FACTORY_ID',
varying depending on whether we are `USING_OAF'.
(addressbook_factory_init): Use `CONTROL_FACTORY_ID'.
* backend/ebook/test-client.c (init_corba): New function,
implemented differently according to the `USING_OAF' #define.
* backend/ebook/e-book.c: New #define `CARDSERVER_OAF_ID'.
(e_book_construct): Work with OAF #if `USING_OAF'.
* backend/ebook/Makefile.am (gnome_libs): Removed.
(corbadir): Removed.
(ebook_libs): Removed.
(test_client_LDADD): Just add `libebook.la'.
(test_card_LDADD): Likewise.
(test_client_list_LDADD): Likewise.
* gui/component/addressbook-factory.c
(init_corba): New helper function, implemented differently
according to `USING_OAF'.
(main): Call `init_corba()'.
2000-04-27 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added file as,
office, manager, assistant, spouse, and anniversary fields. These
all use "X-EVOLUTION-" fields in the VCards.
* backend/pas/pas-backend-file.c: Added all the new fields (except
anniversary) to the list of fields.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Fixed some misnamed
fields and fixed the placement of the comments field.
* contact-editor/e-contact-editor.c: Made the newly added fields
display properly.
* Makefile.am: Added ename.
* ename/e-name-western.h, ename/test-ename-western-gtk.c,
ename/test-ename-western.c: Fixed up some #includes.
* ename/.cvsignore: Added .cvsignore.
2000-04-26 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-types.h, backend/ebook/e-card.c,
backend/ebook/e-card.h: Added an address label field.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Got rid of some unused
fields.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Added the address label field.
Load only. Editing these fields seems to mess things up.
2000-04-26 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Added proper handling of the
email field.
2000-04-26 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-types.h, backend/ebook/e-card.c,
gui/minicard/e-minicard.c: Prefixed the ADDR_ flags.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Edited the glade file.
Removed all the fields that we don't use.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Made the phone fields work
properly. The address and email fields are temporarily turned off
until they can be made to work as the phone fields do.
2000-04-25 Ettore Perazzoli <ettore@helixcode.com>
* gui/minicard/Makefile.am (INCLUDES): Use
`$(BONOBO_GNOME_CFLAGS)'.
* backend/pas/Makefile.am (idl_flags): Add `-I $(datadir)/idl' to
pick up IDL files in the installation prefix as well.
(INCLUDES): Use `$(BONOBO_GNOME_CFLAGS)'.
* backend/ebook/Makefile.am (ORBIT_IDL): Use `-I $(datadir)/idl'
to get the IDLs from the installation prefix as well.
(INCLUDES): Add `$(BONOBO_GNOME_CFLAGS)'.
(test_client_LDADD): Use `$(BONOBO_GNOME_LIBS)' instead of
hardcoding `-lbonobo'! Also get rid of some other useless flags,
as `$(BONOBO_GNOME_LIBS)' really has all what we need.
(test_client_list_LDADD): Likewise.
(test_card_LDADD): Likewise.
2000-04-18 Federico Mena Quintero <federico@helixcode.com>
* gui/minicard/Makefile.am (INCLUDES): Use "e-minicard" as the log
domain.
* gui/component/Makefile.am (INCLUDES): Use
"evolution-addressbook" as the log domain.
* backend/pas/Makefile.am: Build libpas.a, not a shared library.
Do not install any header files.
(INCLUDES): Remove spurious include paths.
* backend/pas/*.[ch]: Fix includes.
* backend/ebook/Makefile.am: Do not install the test programs.
Fixed some include weirdness.
* backend/ebook/*.[ch]: Fix includes.
* contact-editor/Makefile.am (INCLUDES): Set the log domain to
"contact-editor".
(INCLUDES): Fix.
* contact-editor/*.[ch]: Fix includes.
* gui/minicard/*.[ch]: Fix includes.
* ChangeLog: Started a ChangeLog here.
|