aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/ChangeLog
blob: d6e07deabd11b22ddd3419eed75fcaeeb0dcca20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
1999-08-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calendar.c (calendar_object_changed): Modify the
    object->last_mod field.
    (calendar_add_object): Ditto.

    Closes bug #676
    
    * main.c (save_calendar_cmd): Fix problem in which we warned the
    user about the calendar being modified the first time the calendar
    was used. 

1999-08-22  Tomas Ogren  <stric@ing.umu.se>

    * gnomecal.gnorba: "GenericFactoy" is wrong...

1999-08-15  Miguel de Icaza  <miguel@gnu.org>

    * calobj.c (ical_gen_uid): Fix the hostname part.

1999-08-07  Peter Teichman  <pat4@acpub.duke.edu>

    * calendar-pilot-sync.c (sync_pilot): sync correctly for objects
    created on the pilot, but not dirty (because they have been synced
    with some other program in the past)

1999-07-30  Miguel de Icaza  <miguel@gnu.org>

    * month-view.c (month_view_init): Release points here. 

1999-08-02  Peter Teichman  <pat4@acpub.duke.edu>

    * Makefile.am (libcalendar_conduit_la_LDFLAGS):
    libcalendar_conduit now installs

    * calendar-pilot-sync.c (sync_pilot): do deletion of appointments
    correctly, when they are deleted on the pilot
    (conduit_free_Appointment): protect against double-freeing parts
    of the Appointment structure
    (update_record): all-day events from the pilot are handled a bit
    more reasonably

1999-08-01  Peter Teichman  <pat4@acpub.duke.edu>

    * calendar-pilot-sync.c (sync_object_to_pilot): The multi-day
    appointment corruption bug is dead. Whoo!

1999-07-31  Peter Teichman  <pat4@acpub.duke.edu>

    * Makefile.am: fixed this up slightly with respect to pilot conduits

1999-07-30  Jonathan Blandford  <jrb@redhat.com>

    * Makefile.am (libcalendar_conduit_la_LIBADD): More autoconf-stuff

1999-07-29  Jonathan Blandford  <jrb@redhat.com>

    * gnome-cal.c (setup_widgets): Add scrolling to the yearview.

1999-07-28  Miguel de Icaza  <miguel@gnu.org>

    * calendar-pilot-sync.c: (sync_object_to_pilot): If the enddate is
    not set, set the repeatForever to 1.  This fixes all of the
    birthdays problems I had.

    Make the code not take arguments
    (sync_cal_to_pilot): Nice event update information

    * calendar.c (calendar_new): Add Event UID hash table.
    (calendar_add_object): Add events to the hash table here.
    (calendar_remove_object): Remove events here.
    (calendar_object_find_event): Use the hash table here.

    * main.c (save_calendar_cmd): The object is already destroyed by
    gnome_dialog_run. 

    * calendar-pilot-sync.c (sync_object_to_pilot): Do not turn
    archived bit on. 

    * calobj.c (ical_gen_uid): Use the hostname, not the domain name.
    (ical_gen_uid): Add a serial number.  Isodates can be small.

    * corba-cal.c (cal_repo_update_pilot_id): New method to update the
    pilot status.
    (cal_repo_get_updated_objects): New method.  Returns a list of
    modified and not-sycned objects

    * calendar-pilot-sync.c (sync_cal_to_pilot): New function to sync
    from the GnomeCalendar to the pilot.
    (sync_object_to_pilot): Sync a single event to the pilot.
    (try_alarm): Alarm syncing code.

1999-07-27  Miguel de Icaza  <miguel@gnu.org>

    * calendar-pilot-sync.c: New file.  Implements PalmPilot
    syncronization with the Gnome Calendar.
    
    * calobj.c (ical_object_new_from_string): New function.  Creates
    an iCalObject from a vCalendar string that is supposed to contain
    only one vEvent.

    * calendar.c:
    (calendar_save): Split this routine in two.

    * gnome-cal.c (gnome_calendar_new): Create the corba server here.

    * main.c: Include gnorba.h, and corba-cal-factory.h here
    (close_cmd): Kill the calendar server on shutdown.

    * calobj.c (load_recur_yearly_day): Added a fixme comment.  WE
    need to handle intervals in the years.

    * calendar.c (calendar_object_find_in_list, calendar_object_find,
    calendar_object_find_todo, calendar_object_find_event): New
    functions for looking up information.

    * main.c (gnome_calendar_locate): New function.

    * corba-cal.c (calendar_create_object): New file.  Implements the
    corba server.

    * calendar.c (calendar_object_changed): Flag pilot-status as changed.

    * calobj.c (ical_object_to_vobject): Save pilot information for syncing.
    (ical_object_create_from_vobject): Load syncing information for
    pilot.  Do it in a way compatible with KOrganizer.

1999-07-26  Miguel de Icaza  <miguel@gnu.org>

    * calobj.c (ical_object_create_from_vobject): Generate unique IDs
    on Vevents we load that lack it.  WE need this for the old
    gnome calendar generated files (ie, before now :-).

    Required to sync with the Palm

1999-07-26  Miguel de Icaza  <miguel@gnu.org>

    * calobj.c (ical_object_create_from_vobject): Generate unique IDs
    on Vevents we load that lack it.  WE need this for the old
    gnome calendar generated files (ie, before now :-).

    Required to sync with the Palm

1999-07-19  Matt Martin <matt@abacusnet.net>

    * timeutil.c (time_from_isodate): Handle the 'Z' parameter to the
    ISO date format to convert from GMT time.

1999-07-17  Nat Friedman  <nat@gnome-support.com>

    * calendar.c (calendar_add_object): Copy the new UID into the
    iCalObject structure.

1999-07-16  Miguel de Icaza  <miguel@gnu.org>

    * gnome-month-item.c (gnome_month_item_set_arg): Merge fix from
    gnome-pim-1-0: Fixed cut&paste bug for day fontsets.

1999-07-14  Miguel de Icaza  <miguel@gnu.org>

    * calobj.c (ical_gen_uid): Returns a UID.
    (ical_object_new): Use a UID when creating an event.  Should get
    syncing done easier.

1999-07-14  Nicholas J Kreucher <nick@poetic.com>

    * calobj.c (skip_numbers): Actually skip over the numbers.
    (ical_object_to_vobject): Test the proper variable for storing the
    proper information.

1999-07-14  Jean-Noel Guiheneuf <jean-noel.guiheneuf@wanadoo.fr>

    * timeutil.c (time_add_month): Fixed the problem with next month
    going from a 31-day to a 30-day by adjusting the date to the
    closest day at the end of the month.

1999-06-07  Mike McEwan  <mike@lotusland.demon.co.uk>

        * timeutil.c (time_add_month): Tell ktime' that we don't know
        about daylight saving time so that it does *not* make adjustments
        when we traverse a DST boundary.
        (time_year_begin): ditto.
        (time_year_end): ditto.
        (time_month_begin): ditto.
        (time_month_end): ditto.

1999-06-16  Anders Carlsson  <anders.carlsson@tordata.se>

    * main.c (new_calendar): Realize the toplevel widget when
    --hidden is passed to gnomecal. This fixes a segfault.

1999-06-04  Robert Brady  <rwb197@ecs.soton.ac.uk>

    * gnome-cal.h, gnome-cal.c: Fix abort() problem with the year view.
    (Bug #1367). Thanks to Owen Cliffe <oc197@ecs.soton.ac.uk> for
    helping track it down.

1999-06-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calobj.c (daynumberlist): One line bug fix from Sergey I Panov.

1999-06-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * view-utils.c (nicetime): Use %H instead of %k, as %k is a GNU
    extension, not available in other systems.

1999-06-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calobj.c (daynumberlist): Work around broken software that
    writes a broken month-of-day as "zero".  Use the dtstart date for
    this on this event.

1999-05-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * Makefile.am (install-data-local): help files be gone.  They are
    now installed from the Docbook stuff.

1999-05-26  Russell Steinthal  <steintr@condor.penguinpowered.com>

    * gncal-todo.c main.c main.h prop.c: Added support for priorities
    for todo items.  Doesn't do much, but you can set them and sort by
    them.  (Use the properties box to enable them; should they be on
    by default?)

1999-05-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * main.c (parse_an_arg): Added missing break here.  It was causing
    core dumps when invoked with --userfile.

    * gnome-cal.c (gnome_calendar_set_view): Add some assertions here,
    to pin point the bug reported on gnome-list.

    * calobj.c (load_recurrence): Make intervals always exist.  a 0
    interval is wrong.

1999-05-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * year-view.c: Removed unused macro CALENDAR_HEIGHT.

1999-05-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * year-view.c (idle_handler): Set the canvas scroll region here,
    not in size_allocate().  Also, use the correct width and height
    based on the allocation and the precomputed minimum width/height
    values.

    * gnome-cal.c (setup_widgets): Set the scrollbar policy of the
    scrolled window.

    * main.c (setup_appbar): Use the correct type for the appbar.

    * gncal-day-view.c: Removed unused function switch_to_day().

    * gncal-day-panel.c (calendar_day_selected): Removed unused variable.

1999-05-25  Nat Friedman  <nat@nat.org>

    * doc/C/gnomecal.sgml: Fixed a typo.

    * gnome-cal.c (setup_widgets): Added a scrolled window widget into
    which the year view is placed.

    * year-view.c (CALENDAR_HEIGHT): The height of the total year view
    inside the scrolled window.
    (idle_handler): Set the height of the year view to
    CALENDAR_HEIGHT.
    (year_view_size_allocate): Set the scroll region of the year view
    canvas to allocation->width, CALENDAR_HEIGHT.

1999-04-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * main.c (dump_todo): Add --todo flag to dump the todo contents.

1999-04-19  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-todo.c (add_activated): Use same hack used in edit_activated

1999-04-16  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-todo.c (edit_activated): Kill all grabs from the CList
    before running the new dialog box.  

    This fixes the problem of button-3/Edit on the todo item blocking
    the GUI (actually, the main window responds, but not the todo
    window). 

1999-04-08  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-todo.c (gncal_todo_init): Make sure we can get events for
    button3.  The code for the nice popup menu was there but was not
    getting invoked.

1999-04-01 Steve Murphy <murf@e-tools.com>

    * calobj.c (weekdaynum): Added this routine so Monthly recurrences
    use the weekday field as a simple integer for a single weekday.

    * calobj.c (load_recur_monthly_pos): Call weekdaynum instead of
    weekdaylist. The interface only lets the user input a single value
    anyway.

    * calobj.c (ical_object_to_vobject): instead of code to output day
    names from a bit array, use instead the value as an int and output
    a single dayname.

    * calobj.c (ical_object_generate_events): first_week_day gets the
    day int instead of the first entry in the bit field. I inserted a
    fair chunk of code to avoid calling generate if the day is out of
    range for a month. It may be unneccessary, because mktime will
    turn the extra days into a valid date the next month. But not all
    mktimes are equal, I fear.

    * eventedit.c (ee_store_recur_rule_to_ical): For case 3,
    (Monthly), I added code to set the interval slot of the recur
    struct; without this value, selecting a monthly recursing, by
    date, would lead to an infinite loop broken only by a failure to
    alloc more memory. Also, in the "by position" case, both
    u.month_pos and u.month_day were being assigned values. This is a
    mistake, as they are both part of an union, and the same
    thing. The weekday field should get the recur_rr_month_weekday
    value.

    * eventedit.c (ee_rp_init_rule): set default day from the weekday
    field instead of the u.month_day field, which is really the
    month_pos value.

    * gnome-cal.c (gnome_calendar_tag_calendar): Month days start with
    1, not 0; thus, setting tm.tm_mday = 0, and then calling mktime
    will generate a time corresponding to the end of the previous
    month, which may have a mday anywhere from 28 to 31. The end time
    just adds 1 to the month, so your end time may not cover the last
    few days of this month, depending on what the biggest mday of last
    month was. I changed it so tm_mday is set to 1 instead.

1999-03-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-todo.c (convert_time_t_to_char): Made static.  Make it use
    the full year format for strftime().

1999-03-27  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

    * calobj.c: Include <config.h> So that strings get translated.

1999-03-26  Tomas Ogren  <stric@ing.umu.se>

    * prop.c (build_hours_menu): Made it respect 12/24h settings..
    Doesn't show until next time you open the dialog.. yet..

1999-03-24  Tomas Ogren  <stric@ing.umu.se>

    * gncal-week-view.c (gncal_week_view_set): Did some i18n work
    * eventedit.c (get_exception_string): Did some i18n work

1999-03-24  Tomas Ogren  <stric@ing.umu.se>

    * gncal-todo.c (gncal_todo_init): Made clist titles i18n:able
    * main.c (poptOption): Added which views that are possible for
    --view in the --help text (closes #367)
    * main.c (dump_events): Added (short) month to the strftime and made
    the strings i18n:able

1999-03-23  Tomas Ogren  <stric@ing.umu.se>

    * gncal/calobj.c: Added 2 paranthesis..
    "foobar = d / 60*60" is _NOT_ the same as "foobar = d / (60*60)"
    which caused heavy alarm-corruption with alarms between 2 hrs and
    2 days.

1999-03-23  Nat Friedman  <nat@nat.org>

    * eventedit.c (ee_store_recur_rule_to_ical): Set the
    recur->interval to the value of the recur_rr_month_period spin
    button if the event is being set "by day."  This closes bug #675
    as reported by bagfors@hpc2n.umu.se.  Thanks for the report!

1999-03-10  Clifford R. Conover <rconover@montana.edu>

    * gncal-todo.c (simple_todo_editor): Add support for Due Date when
    adding a TODO item here.
    (column_resized): New function
    (init_column_sorting): New function.
    (todo_click_column): New function.
    (convert_time_t_to_char, make_overdue_todo_style): New functions.

    * gnome-cal.c (gnome_calendar_todo_properties_changed): New
    function used to update the TODO when the properties have been
    chagned for it.

    * prop.c (prop_apply_todo): Apply TODO properties.

    * gncal-day-panel.c (todo_list_properties_changed): Update the
    TODO display here.

    * eventedit.c (date_edit_new): Made public

1999-03-10  Craig A Soules (soules+@andrew.cmu.edu)

    * timeutil.c, calendar.c, calobj.c, gncal-day-panel.c: Add support
    for daylight time savings.

1999-02-28  Martin Baulig  <martin@home-of-linux.org>

    * gncal-full-day.c (recompute_motion): For DRAG_MOVE, DRAG_SIZE_TOP
    and DRAG_SIZE_BOTTOM: call child_focus_out () if the child currently
    has the focus.

1999-02-27  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

    * quick-view.c (QUICK_VIEW_FONTSET): Added Korean font to the
    fontset string.
    * mark.h (*_FONTSET): Likewise.

1999-02-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calobj.c (ical_object_to_vobject): Save the owner/organizer of
    the event. 
    (ical_object_create_from_vobject): Load the owner/organizer of the event.

    * gncal-full-day.c (delete_occurance): Assign child to data (fixes
    crash on "delete this occurrance").

1999-02-22  Timur Bakeyev  <mc@bat.ru>

    * calendar.c: According to configured values, use either tm.tm_zone
    or tzname. In last case, also declare it extern.
    
    * prop.c: langinfo.h not available everywhere. Wrapped. BTW, works
    fine without it.

1999-02-20  Tomas Ogren  <stric@ing.umu.se>

    * main.c (init_username): Made use of g_get_{user,real}_name() instead
    of our own home-brew...

1999-02-17  Sergey Panov <sipan@mit.edu>

    * gnome-month-item.c,gnome-month-item.h,goto.c,mark.h,
    month-view.c,prop.c,quick-view.c,year-view.c: will define 
    fonts via fontset. Friendlier to locales that use iso8859-[^1]
    and koi8-r encodings. Does not solve problem for Asian languiges
    --- better solution is needed (e.g. standart GNOME fontstyles
    defined in gtkrc).  
    
1999-02-16  Sergey Panov <sipan@mit.edu>

    * main.c: Use N_() macro for color settings labels in
    color_props structure.
    
1999-02-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * goto.c (goto_dialog): Indentation fixes.

1999-02-15  Tomas Ogren  <stric@ing.umu.se>

    * goto.c: Made a private copy of what localtime() returns, to be able
    to keep the data after more calls to localtime().

1999-02-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * main.c (save_default_calendar): New function.  Saves the
    calendar if it is the user's default calendar

    * gncal-full-day.c (unrecur_appointment): 
    * gncal-day-panel.c (day_view_range_activated): 
    * eventedit.c (ee_ok): 
    * gncal-todo.c (ok_button): Added autosave for the default
    calendar. 

1999-02-09  Tomas Ogren  <stric@ing.umu.se>

    * main.c: Removed the gtk_widget_realize call.

1999-02-06  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

    * gncal.desktop: Added Korean translations.

1999-02-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * eventedit.c (date_edit_new): New convenience function to create
    a properly-configured date editor widget.

1999-02-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-week-view.c (gncal_week_view_new): Make the calendar start
    weeks on Monday if appropriate.
    (gncal_week_view_time_format_changed): New function to notify the
    week view that the time format has changed.

    * gncal-day-panel.c (gncal_day_panel_new): Make the calendar start
    weeks on Monday if appropriate.
    (gncal_day_panel_time_format_changed): New function to notify the
    day panel that the time format has changed.

    * gnome-cal.c (gnome_calendar_time_format_changed): Tell the day
    and week views that the time format has changed.

1999-02-01  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * eventedit.c (event_editor_init): Set the title of the event
    editor window.

1999-01-31  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-day-view.c (gncal_day_view_expose): Do not remove the
    clipping rectangle here.

    * view-utils.c (view_utils_draw_events): Remove the clipping
    rectangle here, since the user of this function should not know
    about it.

1999-01-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * view-utils.c (view_utils_draw_events): Improve this draw
    routine.  Now it can split the text in lines and fit as many
    events as possible.
    (nicetime): Return strings without spaces at the beginning.
    
    * gncal-day-view.c (gncal_day_view_expose): Move clip-clear
    operation here.

1999-01-29 Jason Tackaberry <tack@dok.org>

    * gncal-full-day.c (child_popup_menu): if the user clicks on an
        event that is an occurance, the menu will allow the user to delete
        all occurances of this event, or just the selected occurance.
        (delete_occurance): added.

        * eventedit.c (append_exception): force the clist to select the
        new exception.  (fixes segfault)
        (delete_exception): if the last exception in the clist is deleted,
        move the selection index up. (fixes segfault)

1999-01-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * main.c (parse_an_arg): Add --hidden key to hide the calendar at
    startup. Only works with GNOME window managers though :-(

    * calendar.c (calendar_day_change): Reschedule alarms for the new day.

    (calendar_init_alarms): Schedule an alarm for midnight to change
    the calendar_day_begin/calendar_day_end.

    * alarm.c (alarm_ready): If we reschedule, there is no need to
    activate any pending alarms.

1999-01-28  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c (child_new): Insert the summary text here.
    (child_focus_in): No need to raise the window, since we have
    Spiffo(tm) layout code.  Boy, this is old code.
    (gncal_full_day_focus_child): Now that GtkText works better, we
    can avoid synthesizing a click which was causing grief, anyway.
    (child_button_press): Grab the focus before popping up the menu.

    * layout.c (find_index): Added a sanity check.

    * gncal-full-day.c (child_destroy): Unmap and unrealize the child
    before unparenting/destroying it.
    (child_unrealize): Unrealize the widget.  What was I thinking?
    (child_new): Save the focus_out_event signal connection id in
    Child structure (in a new field).
    (child_destroy): Disconnect from the focus_out_event signal, since
    we don't want to get such an event when the widget is destroyed.
    (gncal_full_day_destroy): Destroy the children properly; it was
    leaking memory.

1999-01-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * main.c (save_calendar_cmd): Warn if the calendar file has
    changed. 

    * calendar.c (calendar_load, calendar_save): Keep track of the
    modification time for the calendar file.

1999-01-20  Nat Friedman  <nat@nat.org>

    * gncal-full-day.c (gncal_full_day_key_press): Only trap printable
    characters such that hotkeys work.
    (UNSELECT_TIMEOUT): Changed to 0.  Much saner behavior.

    * prop.c (properties): Connect gnome_help_pbox_display to the
    GnomePropertyBox help button.

1999-01-19  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * quick-view.c (quick_view_do_popup): Do not grab the mouse here
    (it was being grabbed incorrectly, anyways).
    (quick_view_map_event): Grab the mouse when the window is mapped.
    This avoids the ugly "while (xGrabPointer () != Success)" hack.
    (quick_view_button_release): Handle button releases here.

1999-01-19  Tomas Ogren  <stric@ing.umu.se>

    * main.c: do gtk_widget_realize on the toplevel window..

1999-01-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-day-panel.c (gncal_day_panel_new): Make the little
    calendar start up with the correct date.

    * gncal-week-view.c (gncal_week_view_set): Add the month to the
    date range display label.

1999-01-08  Nat Friedman  <nat@nat.org>

    * main.c: Converted some more stuff to use the standards.

1999-01-08  Nat Friedman  <nat@nat.org>

    * main.c (setup_appbar): New function to create the status bar.
    (setup_menu): Install menu hints.

    Menu items updated to match the standards.  New Settings menu
    created.

1998-12-30  Jeff Garzik  <jgarzik@pobox.com>

    * gncal/calendar.c, gncal/gnome-cal.c, gncal/main.c,
      gncal/quick-view.c:
    s/g_copy_strings/g_strconcat/

1998-12-16  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    Rewrote the old and broken alarm system.  It never actually
    worked properly.  Now it works properly, and I figured a nice way
    to get the Audio alarm do something nicer (it is now like an alarm
    clock :-). 
    
    * gnome-cal.c (calendar_notify): Now we take a CalendarAlarm to
    actually distinguish which alarm was triggered.

    * alarm.c (alarm_ready): The code was only activating the first
    alarm.  Reschedule the timer upon delivery of an alarm.

1998-12-14  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * year-view.c (idle_handler): Use the allocation size instead of
    the old fields in the canvas structure.

    * goto.c (create_days): Use gtk_widget_set_usize() instead of
    gnome_canvas_set_size().
    * quick-view.c (setup_event_list): Likewise.

1998-12-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-todo.c (simple_todo_editor): Use gnome_dialog_set_parent. 
    * goto.c (goto_dialog): ditto
    * prop.c (properties): ditto.

1998-11-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * eventedit.c (ee_rp_init_exceptions): Update GtkClist usage. 

1998-11-23  Andrew T. Veliath  <andrewtv@usa.net>

    * gncal-day-panel.c (gncal_day_panel_new): Use
    gtk_scrolled_window_add_with_viewport instead of
    gtk_container_add (gtk changes).

1998-11-23  Herbert V. Riedel <hvr@hvrlab.ml.org>

    * eventedit.c: use GPOINTER_TO_INT 

    * gncal-todo.c: same.

1998-11-22  Matthew Wilson  <msw@redhat.com>

    * main.c: Fixed the popt event parsing callback to have the
    correct number of arguments.  This stops it from segfaulting.

1998-11-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * eventedit.c (ee_classification_widgets): Doh.  Fixed stupid bug
    where the classification buttons were not being set correctly.
    (ee_store_general_values_to_ical): Take into account the fact that
    radio group lists are stored in reverse order of insertion.

    * gncal-todo.c (gncal_todo_init): Use a scrolled window to put the
    clist into.

1998-11-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calendar.c (calendar_save): Backup the old file before saving
    the caledar.

1998-11-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calobj.c: Add ctype.h

1998-10-31  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gnome-cal.c (gnome_calendar_direction): Add the offset from the
    beginning of the current time unit (day/month/etc), otherwise it
    does not work right, for example, you are on the 31st day of a
    month and the next month is a 30-day one and you jump to the next
    month.

1998-10-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * month-view.c: Changed a lot of stuff not to use the layout code
    -- the month view's days are too small to display layout
    usefully.  Now they display a little list of the events in each
    day.  We also have a popup menu for the days in the month view.

    * calendar.c (calendar_get_objects_in_range): Reverse the list so
    that it is returned in increasing order.

    * eventedit.c (event_editor_new_whole_day): New public function to
    create an event for the complete span of day_begin to day_end.

    * year-view.c (new_appointment): Use event_editor_new_whole_day().

    * year-view.c (yv_popup_menu): Mark strings for i18n.

1998-10-12  Ji Lee <g@ucsd.edu>

    * eventedit.c (ee_store_recur_rule_to_ical): The interval was
    never being loaded from the spin button.

1998-10-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * month-view.c (month_view_update): Create a list of children and
    lay them out nicely.  Lots of functions added for this purpose.
    (adjust_segment): Main event segment adjustment routine.
    (adjust_children): Adjusts all the children in the month view.
    (child_create_segments): Creates the segments for a particular event.
    (layout_children): Uses the generic layout engine to organize the children.

1998-10-08  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-todo.c (clist_row_selected): Set the sensitivity of the
    edit/delete buttons.
    (gncal_todo_update): Likewise.  Thanks to Dirk Luetjens for the
    bug report.

    * layout.c: Do some cleanup; now we pass a struct with the layout
    algorithm's state instead of passing a trillion parameters around.

    * gncal-full-day.c (layout_children): Use the new generic layout
    engine.
    (child_compare): Sort keys are start time then end time, not just
    start time.  This produces somewhat nicer results for the layout
    algorithm.

    The new layout code uses a partition of the time range occupied by
    the events, rather than using a fixed time granularity.  This is
    better since the different parts of the program that use the
    layout module will have different semantics regarding snapping the
    event bounds to a fixed "time grid".

1998-10-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * layout.[ch]: New files that abstract the event layout code from
    gncal-full-day.c into something useful for other parts of the
    program.  Now all event layout is done here.

    * Makefile.am (gnomecal_SOURCES): Added layout.[ch] to the list of
    sources.

1998-10-07  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

    * main.c (main): Replaced the 'gnome_client_new_default' call with
    'gnome_master_client'.

1998-10-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * timeutil.c (time_day_begin): Changed name from
    time_start_of_day() to be consistent with the other begin/end functions.
    (time_day_end): Likewise.

    * calobj.c (ical_object_get_first_weekday): New public function to
    get the first toggled day in a weekday mask.  Since we do not
    support multiple weekdays in a monthly-by-pos rule, we just fetch
    the first toggled one.
    (ical_object_generate_events): Added a missing break statement.

    * timeutil.c (time_month_end): Made it consistent with the rest of
    the time begin/end functions -- now it returns the first second of
    the *next* month.
    (time_week_end): Actually implemented this function.  It will be
    used when the week view is rewritten.

    * calobj.c (time_in_range): Fix off-by-one in the comparison of
    the time against the end time.

    * gncal-full-day.c (expand_space): Fixed bug where the columns not
    were being expanded due to a missing "slot + j".

1998-10-01  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * month-view.c (month_view_init): Use the font #defines.
    (month_view_new): Set the colors of the month view upon creation.
    (mark_current_day): New function to mark the current day in the
    month view.
    (month_view_set): Mark the current day.
    (month_view_colors_changed): Mark the current day and colorify the
    month item appropriately.

    * month-view.h: Added year and month fields to the MonthView
    structure.

    * main.c: Renamed the Appointments color property, since it will
    be used by the month view as well.

    * goto.c (update): Set the current day's font and color.

    * year-view.c (year_view_init): Set the fonts of the month items
    when creating them.

    * mark.h: Added new #defines for HEADING_FONT and TITLE_FONT.

    * year-view.c (year_view_init): Use the new font #defines.

    * prop.c (prop_apply_colors): Fixed to work with the
    I-am-paranoid-and-I-need-to-size-my-ints changes to
    GnomeColorPicker.
    (color_spec_from_picker): Likewise.

1998-09-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * goto.c (create_days): Colorify the month item and prepare it for
    prelighting here.

    * main.c (color_props):  Changed the default colors to something
    not dull.

    * year-view.c (compute_min_size): New function to compute the
    minimum size of the year view properly.
    (year_view_size_request): Added two new fields to the year view
    structure that contain the minimum size.  Return this in the
    size_request method.
    (year_view_new): Call compute_min_size to save the minimum size
    for later use.
    (idle_handler): Make it resize the items correctly.

    * gnome-month-item.c (gnome_month_item_set_arg): Reshape when
    necessary.  This is needed becaues we now actually calculate a
    minimum size for the month item based on the font sizes and paddings.
    (check_heading_sizes): New function to calculate a minimum size
    based on the headings' dimensions.
    (check_day_sizes): New function to calculate a minimum size based
    on the day number labels' dimensions.
    (check_sizes): New function that computes a minimum size for the
    month item.
    (reshape): Now calls check_sizes() to ensure a minimum size for
    the month item.

    * year-view.c (mark_current_day): New function to mark the current
    day in the year view.

    * mark.c: Removed mark_current_day from here.

1998-09-29  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * prop.c (fetch_color_spec): Changed name from fetch_prelight_spec
    and made it conform to the new prelighting mechanism.
    (fake_mark_days): Set the proper day attributes.
    (reconfigure_month): Use colorify_month_item().
    (fake_mark_days): Use mark_month_item_index().

    * mark.c (colorify_month_item): New public function to reset the
    colors in a month item.
    (get_attributes): New internal function that creates an array of
    attributes for the days in a month item.  This is the basis of all
    the new optimizations to month item marking.
    (unmark_month_item): Now it uses the attributes array to unmark
    only the days that need unmarking.
    (mark_event_in_month): Update the day attributes array.
    (month_item_prepare_prelight): Changed the definition of the
    prelight color query function.  Use the new function.
    (day_event): Do color changes based on the day attributes array.
    (mark_month_item_index): New public function to mark a single day
    by index.
    (mark_event_in_month): Use mark_month_item_index().

    * gnome-month-item.c (gnome_month_item_num2child): Now takes an
    int, not a GnomeMonthItemChild.
    (gnome_month_item_child2num): Now returns an int, not a
    GnomeMonthItemChild.
    (gnome_month_item_num2day): Now takes an int, not a
    GnomeMonthItemChild.

    * goto.c (goto_dialog): Create the days before the year spin
    button, because the year_changed callback expects the month item
    to be created.  The new semantics of the spin button cause it to
    emit a value_changed signal on the adjustment upon creation -- is
    this the behavior we want from it?
    (goto_dialog): Use gtk_window_set_modal() instead of the
    deprectaed gnome_dialog_set_modal().

    * quick-view.c (quick_view_new): Make it look not as crappy by
    putting the title inside the frame.
    (quick_view_do_popup): Fixed the pointer grab and added a cursor.
    (create_items_for_event): Query the text width/height from the
    text item using the new object arguments, so that the size of the
    popup window can be set properly.

    * year-view.c (do_quick_view_popup): Calculate a nice date string
    for the popup window.

1998-09-28  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * quick-view.[ch]: New file that presents a quick view of the
    events in a particular day when the mouse is clicked on the year
    view.  Work in progress.

    * year-view.c (do_quick_view_popup): New function that creates a
    quick view for the events in a day.

    * Makefile.am (gnomecal_SOURCES): Added quick-view.[ch] to the
    list of sources.

1998-09-27  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * main.c: Hotkey for File/Exit should be C-q, not C-x.

1998-09-24  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * year-view.c (do_popup_menu): New function to execute the popup
    menu in the year view.
    (day_event): Invoke the popup menu with the context set to days.
    (new_appointment): New function to create a new appointment from
    the year view.
    (do_jump): New function to do the appropriate view/date jumping
    from the popup menu.

    * main.c: Fixed two icons in the File menu.

1998-09-21  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * main.c: Added underlined shortcuts and accelerators to the main menu.

1998-09-16  Raja R Harinath  <harinath@cs.umn.edu>

    * gncal-week-view.c (<gtk/gtklabel.h>): Include.
    * gncal-week-view.h (<gtk/gtkvbox.h>): Include.

1998-09-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gnome-cal.c (mail_notify): Fixed the bug reported about the mail
    notification not beint sent until the program was terminated.

1998-09-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c (gncal_full_day_forall): Updated foreach ->
    forall from Gtk changes, bleah.

    * year-view.c (day_event): New function to handle events from
    days.  Jumps to the day that is clicked.

    * main.c: Use a watch cursor while the previous/today/next
    functions are doing their job.

    * mark.c (month_item_prepare_prelight): New public utility
    function to prepare a month item for prelighting.  It will store
    the proper prelight information and attach the appropriate signals.
    (mark_current_day): Make the current day bold as well (useful for
    color-blind people, I guess).

    * prop.c (set_current_day): Reset the date in the sample calendar
    and mark the current day.
    (fake_mark_days): Mark fake events in the sample calendar.

    * year-view.c (year_view_set): Use the general prelighting engine.

    * goto.c (day_event): Just process button presses, as prelighting
    is done behind the scenes now.
    (update): Use the general prelighting engine.

    * prop.c (create_colors_page): We can now configure the colors of
    the monthly calendars!  Wheeeeee!  There are still some nits to be
    fixed, which are listed in the TODO file.
    (build_color_spec): New function to build color specifications.
    (parse_color_spec): New function to parse color specifications.

    * mark.c: Modified all functions to use the configured colors.
    * goto.c: Likewise.

    * main.c (colors_changed): New function that notifies all
    calendars that colors have changed.

    * gnome-cal.c (gnome_calendar_colors_changed): New function that
    notifies all the views that the colors have changed.

    * month-view.c (month_view_colors_changed): New function that
    notifies the month view that colors have changed.

    * year-view.c (year_view_colors_changed): New function that
    notifies the year view that colors have changed.

    * gnome-month-item.h (struct _GnomeMonthItem): Added fields for
    outline and day box colors.

    * gnome-month-item.c (gnome_month_item_set_arg): Added
    outline_color, outline_color_gdk, day_box_color, and
    day_box_color_gdk arguments to month items.  These are convenient
    to quickly set the colors of the month item.
    (gnome_month_item_get_arg): Likewise.

    * main.[ch]: Added a global array of structures for color preferences.

1998-08-31  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * goto.c: Small code cleanup.
    (day_event): Upon receiving a LeaveNotify event, Reset the day's
    background to the correct color.

1998-08-29  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * mark.[ch]: New files with utility functions to mark calendars
    with their events.

    * mark.c (mark_month_item): New public function to mark a month
    item with events.
    (unmark_month_item): New public function to unmark all the days in
    a month item to their default appearance.

    * year-view.c (year_view_set): Use the new unmark_month_item() and
    mark_month_item() to mark the months with events.

    * goto.c (update): New function that updates the calendar in the
    Go-to dialog by marking the days.

    * timeutil.c (time_year_begin): Modified to take a time_t value.
    (time_year_end): Likewise.
    (time_month_begin): Actually implemented this function, which was
    in the header file but not here.
    (time_days_in_month): New public function that returns the number
    of days in a month.

    * Makefile.am (gnomecal_SOURCES): Added mark.[ch] to the sources.

    * year-view.c (unmark_days): Use unmark_month_item().

    * gncal-full-day.c (gncal_full_day_destroy): Fixed crash when
    destroying the full day view.  The full day's destroy method is
    unusual in that it destroys the list of child widgets itself, as
    it does not have a remove method, so it needs to reset the list to
    NULL.

1998-08-27  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gnome-month-item.c (build_month): Now does the correct thing
    when the user wants weeks to start on Monday.  Now all the Monday
    special casing, as far as day numbering is concerned, is only in
    this function.

    * year-view.c (mark_days): This function marks the days that have
    events in them.  It also fixes a memory leak in the old
    implementation (it was leaking the whole list).
    (unmark_days): New function used to unmark all the days in the
    year view.
    (mark_event): New function that marks all the days that are
    spanned by a time range.  It also fixes the bug in the old
    implementation where it could possibly mark days past the ends of
    the year (if the event crosses year boundaries, for example).

    * timeutil.c (time_year_begin): Take the year parameter since year
    1, not 1900.
    (time_year_end): Likewise.

    * year-view.c (year_view_size_allocate): Now changing the size of
    the calendars is done in the idle loop.
    (idle_handler): This function actually does the resizing of the items.

    * year-view.h (struct _YearView): Added idle_id and need_resize
    fields.

1998-08-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * year-view.c: Beginning of the new year view.  Sizing and event
    marking needs to be finished.

    * gnome-cal.c: Updated for year-view.
    (gnome_calendar_time_format_changed): Use year_view_time_format_changed().

    * year-view.[ch]: Renamed the gncal-year-view.[ch] files to
    year-view.[ch].

    * Makefile.am (gnomecal_SOURCES): Updated year-view.[ch] in the
    list of source files.

1998-08-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * goto.c (create_days): Set the heading color of the month item.

    * main.c: Use GNOME_STOCK_PIXMAP_JUMP_TO, now that it exists,
    instead of goto.xpm.  Also, removed goto.xpm from cvs.

    * gnome-month-item.h (struct _GnomeMonthItem): Added fields for
    the heading and day number fonts.  Added fields for heading and
    day number label colors.

    * gnome-month-item.c (gnome_month_item_class_init): ARG_DAY_NAMES
    should be write-only.  Also, added arguments for heading and day
    number fonts.  Added arguments for heading and day number colors.

1998-08-24  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * prop.c (build_two_radio_group): Doh.  Set the state of the radio
    buttons properly.

    * month-view.c (month_view_time_format_changed): New public
    function that notifies the month view of a time format change.

    * gnome-cal.c (gnome_calendar_time_format_changed): New public
    function that notifies the calendar of a time format change.

    * main.c (time_format_changed): Use gnome_calendar_time_format_changed().

    * month-view.c (month_view_update): New public function to update
    the month view when an event changes.  This is still unfinished.
    (month_view_set): New public function to set the month in the
    month view.

    * gnome-cal.c (gnome_calendar_direction): Add case for month view.
    (gnome_calendar_set_view): Likewise.
    (gnome_calendar_update_all): Likewise.

    * timeutil.c (time_add_week): Implemented the time_add_week()
    function, which was on the header file.
    (time_add_month): Added public month-adding routine.

    * gnome-cal.c (gnome_calendar_get_current_view_name): Add case for
    month view.
    (gnome_calendar_goto): Likewise, and set the time on the month view.

    * month-view.c (month_view_new): Now it takes the calendar plus
    the time_t representing the month.

    * gnome-month-item.h: Added documentation on the object arguments
    for the month item.

    * month-view.c (month_view_init): Added a month/year heading to
    the month view.

    * TODO: Updated the TODO list a bit.

    * main.c (gnome_cal_file_menu): The preferences menu option should
    go in the File menu.
    (gnome_cal_edit_menu): Added stock pixmaps to the menu items.
    (gnome_cal_menu): Renamed the Calendar menu to Edit.
    (gnome_cal_help_menu): Use "About Gnomecal", not just "About".

    * prop.c (hour_activated): Notify the property box that it has changed.

    * main.c: Changed the Properties menu item to Preferences.  These
    are global application preferences, not a single calendar's
    properties.

    * prop.c (prop_apply): Save the week_starts_on_monday flag to the
    configuration file.
    (properties): Added a check button for weeks starting on Monday.
    (properties): Beautified the Preferences dialog.

    * month-view.c (month_view_init):
    * goto.c (create_days): Set the month item to start weeks on
    Monday if appropriate.

    * main.c (init_calendar): A boolean is not an hour, so don't
    range_check_hour() on it.
    (init_calendar): Added a global week_starts_on_monday flag.

    * main.h: Added global week_starts_on_monday flag.

1998-08-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calobj.c (ical_object_create_from_vobject): If mail alarm or
    program alarm are missing the action, then set an empty default.

1998-08-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gnome-month-item.c (gnome_month_item_day2index): New public
    function to get the displayed day index of the specified date.

    * gnome-cal.c (gnome_calendar_goto_today): New public function to
    jump to the current day.

    * goto.c (day_event): Jump to the selected day when the user
    clicks the mouse, and prelight days as appropriate.

    * timeutil.c (time_from_day): New public function to build a
    time_t from a year/month/day triplet.

    * gnome-month-item.c (gnome_month_item_num2child):
    (gnome_month_item_child2num): New public functions to convert an
    index into a child and vice-versa, respectively.
    (gnome_month_item_num2day): New public function to convert a child
    number into a displayed day number.

    * goto.c (goto_dialog): Doh, use gnome-dialog properly :-)

    * gnome-month-item.c (create_items): Use g_strdup()ed day names
    from the start.

1998-08-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * main.c (gnome_toolbar): Made it use goto.xpm.

    * Makefile.am (EXTRA_DIST): Added goto.xpm to the list of files.

1998-08-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gnome-month-item.c (gnome_month_item_set_arg): Doh.  Actually
    recalculate the days using the month and year.

    * main.c: Added "Go to" button to quickly jump to a specific date.

    * goto.c: New file that defines the quick go-to date dialog.

    * Makefile.am (gnomecal_SOURCES): Added goto.c to the sources.

1998-08-11  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

    * main.c (new_calendar): Made title i18n friendly. This was bug
    #215.

    * eventedit.c (ee_store_recur_end_to_ical): Set recur->enddate to
    recur->_enddate, not to itself, when adding recurring event and
    supplying an end date. This fixes (at least part of) bug #99.

1998-08-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * month-view.[ch]: Start of the month view widget.  This will use
    the generic month item and extend it to have the semantics desired
    for the gnomecal month view.

    * gnome-month-item.[ch]: New generic canvas item for the month
    view and the "small calendars".  This is intended to be a
    high-level display engine for monthly calendars.  This is a work
    in progress.

    * gnome-cal.h (GnomeCalendar): Added a month_view field.

    * gnome-cal.c (setup_widgets): Create the month view and insert it
    into the notebook.

    * Makefile.am: Added month-view.[ch] and gnome-month-item.[ch] to
    the sources.

1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * main.c (about_calendar_cmd): Use an array of const strings to
    keep gcc happy.

    * alarm.c (alarm_compare_by_time): Use gconstpointer to keep gcc happy.
    * calendar.c (calendar_object_compare_by_start): Likewise.
    * gncal-full-day.c (child_compare_by_start): Likewise.

1998-07-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * main.c: Add support for --view flag.
    (session_save_state): Save the view mode;
    (new_calendar): Now takes a view mode flag.

    * gnome-cal.c (gnome_calendar_get_current_view_name): New
    function for enhancing the session management support for
    gnomecal.
    (gnome_calendar_set_view): New function that makes a given page
    active.

1998-07-01  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

    * gncal.desktop: Added Portuguese translation.

Mon Jun 22 13:01:16 1998  Havoc Pennington  <hp@pobox.com>

    * main.c (session_save_state): Use gnome_geometry_string to get
    the geometry string.

1998-06-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * eventedit.c (ee_rp_init_rule): Do not subtract 1 from
    tm->tm_mday for the default_day.

    * gnome-cal.c (gnome_calendar_new):
    (gnome_calendar_goto): Use the start of the day -- things expect
    it to be that way.

1998-05-27  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

    * eventedit.c (ee_store_recur_rule_to_ical): Fill in
    ical->recur->interval from value in spin_button. This ixed an
    infinnite loop.

1998-05-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c (child_draw): Paint the decorations correctly.
    (child_draw_decor): Paint the recurrence/bell icons correctly.

1998-05-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * eventedit.c (ee_rp_init_rule): Use the contents of
    ee->ical->dtstart for computing the predefined values of the recurrence.

    * gncal-full-day.c (gncal_full_day_unrealize): Fix the gc
    destruction in the unrealization code and fix the pixmap unrefing.

    * main.c (close_cmd): Remove a bad hack that disabled calendar
    widget destruction.

    * calobj.c (ical_object_generate_events): Fix for the weekly event
    generation.  Was reported on the bug tracking system.

1998-05-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-full-day.c (layout_children): Implemented ultra-cool
    layout for the events that share the same time range.  Gals and
    guys you can now drop Outlook on the recycle bin.

    Which reminds me.  We do not have a recycle bin.  How could that
    happen in a project as cool as this one?  Someone explain this to
    me.

1998-05-18  Federico Mena  <federico@nuclecu.unam.mx>

    * gncal-full-day.c (paint_back): Eliminated unnecessary border repainting.

Sun May 17 17:55:03 1998  Havoc Pennington  <hp@pobox.com>

    * gncal-todo.c (simple_todo_editor): Close dialog when return is pressed.

1998-05-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gnome-cal.c (mark_gtk_calendar_day): Bug free version of the
    range computation in place.

    * gncal-year-view.c (year_view_mark_day): Use the same new version
    of the range computation here.

    * calobj.c (ical_object_generate_events): Fix the begin/end
    condition.

1998-05-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * timeutil.c (isodate_from_time_t): Do not add the spurious
    padding.

    * calobj.c (store_date_list): Bug fix:  I was using the wrong
    pointer when saving the exception date list.
    (set_date_list): Bug fix:  load correctly the complete exception
    date list.
    (set_date_list): Use ',' for the exception date separator as the
    versit people can not get their standard right.

    * gncal-full-day.c (unrecur_appointment): Support for making an
    existing recurrent event `movable' for a day.

    * calobj.c (ical_object_add_exdate): New routine, used to add
    exception dates.
    (ical_object_duplicate): New routine:  used to do the magic
    recur->no-recur event.

1998-05-08  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-full-day.c (new_appointment): Use gtk_calendar freeze/thaw

    * gncal-year-view.c (gncal_year_view_set_year): Use gtkcalendar freeze/thaw.

    * eventedit.c (event_editor_init): Use gnome_dialog_set_close to
    avoid the ugly warning.

    * main.c (display_objedit): Default to the day the user is looking
    at.

1998-05-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-day-panel.c (full_day_size_allocated): Do not emit a value
    changed signal if the value is the same.

1998-05-04  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * prop.c (prop_apply): Only run the apply code once.

1998-05-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-day-panel.c (update): Draw the day at startup.
    (gncal_day_panel_set): Fix selected-day display.
    (gncal_day_panel_new): Switch day on double clicks, not on single
    clicks.

    * calobj.c (ical_object_compute_end): Removed debug messages.

1998-04-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * prop.c (prop_apply): Do not call prop_cancel, ths is now using
    GnomePropertyDialog.

1998-04-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-week-view.c (sync_week): Use gnome_calendar_tag_calendar.

    * gnome-cal.c (gnome_calendar_tag_calendar): New routine used to
    fill a gtk_calendar with the events on a GnomeCalendar object.

    * gncal-week-view.c (gncal_week_view_new): Set the week to the day
    we double clicked.

1998-04-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gnome-cal.c (calendar_notify): Apply black magic to get mail
    notifications to work.

    * gncal-full-day.c (child_focus_out): Temporary optimization, the
    child_focus_out is constantly calling the
    gnome_calendar_object_changed when the property editor has been
    invoked.  This happens every time the mouse moves crosses the main
    window.

    * calendar.c (calendar_object_changed): Reschedule alarms when a
    calendar object has changed its times.

Sat Apr 25 22:20:45 1998  Havoc Pennington  <hp@pobox.com>

    * eventedit.c, eventedit.h: Descend from GnomeDialog. Took vbox
    out of class structure; use GnomeDialog vbox
    instead. gnome_dialog_set_destroy instead of destroying in button
    callbacks. Don't create buttons, separator, or vbox manually.
    #include <libgnomeui/gnome-dialog.h>.

1998-04-24  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calobj.c (ical_object_create_from_vobject): Fixed alarm loading;
    Load snooze time and snooze count

1998-04-23  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * calendar.c (calendar_save): Actually save the to-do entries.

    * gncal-todo.c (simple_todo_editor): Now you can add and edit
    to-do entries.

1998-04-22  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c: Made it use popup_menu().

    * popup-menu.c: New file with utility functions for creating popup
    menus.  Maybe such a thing would be useful in libgnomeui, a la
    gnome-app-helper?

    * Makefile.am (gnomecal_SOURCES): Added popup-menu.[ch] to the sources.

1998-04-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * prop.c (properties): Added Calendar properties editor.
    (properties): Make the code use a propery box.

    * main.c: Save/load properties (fix to old commit).

1998-04-21  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-todo.c: New widget for editing TODO lists.  This will be
    worked on a lot.

    * Makefile.am (gnomecal_SOURCES): Added gncal-todo.[ch] to the sources.

    * gncal-day-panel.c: Make it use the new TODO widget.

1998-04-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * timeutil.c (isodate_from_time_t): Do not save with the global
    time flag (Z at the end of the isodate).  When we figure out a way
    to load times in GMT time, we will add this back

    * view-utils.c (popup_menu): Moved this routine here as there are
    more users of this code.

    * gncal-day-view.c (gncal_day_view_class_init): Add button press
    handler.
    (new_appointment): New routine for creating appointments on a day.



    * main.c (save_ok): Added call to gtk_window_set_wmclass.

    * gncal-day-panel.c (calendar_day_selected): Fix, years for mktime
    should substract 1900 and gtk_calendar stores years relative to
    year 0.

    * gncal-week-view.c (gncal_week_view_new): Make the week view
    descend from VBox so that we can add a label to it.
    (gncal_week_view_set): Display the ending day of the week
    correctly.

    Added a label that displays the week range.

1998-04-21  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gnome-cal.c: Made it use GncalDayPanel.

    * gncal-day-panel.c: New widget for the day view in the main
    calendar toplevel.  It basically takes care of everything
    gnome-cal did by hand with respect to the day view.

    * Makefile.am (gnomecal_SOURCES): Added gncal-day-panel.[ch] to
    the rules.

    * main.c: Added a separator between the About menu item and the
    help topics.

1998-04-20  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * eventedit.c (ee_ok): Mark the event as non-new after accepting changes.

1998-04-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c (gncal_full_day_get_day_start_yoffset): New
    public function that returns the y offset for the row
    corresponding to the "day begin" time.

    * gncal-full-day.c (gncal_full_day_key_press): Now any printable
    keystroke (not just Return) will activate the selected range.

    * gncal-full-day.c (paint_back): Made it use the new paint_row
    function instead of painting everything directly.  We calculate
    areas in a smarter way so there is even less flicker than before,
    especially when selecting regions.

    * eventedit.c: Sensitize recurrence widgets properly.

    * calobj.c (duration_callback): Pass the correct pointer type to
    is_date_in_list().

1998-04-20  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calobj.c (duration_callback): Take exception dates into
    account.

    * gncal-full-day.c (new_appointment): Setup the event editor dates
    to those of the currently displayed day.
    (gncal_full_day_selection_range): Use sensible values in the case
    no range is selected.
    (new_appointment): Events now use the current day for event creation.

    * view-utils.c: Pretty up the time display.

    * calobj.c (ical_object_compute_end): Initialize
    ico->recur->enddate, otherwise we loop forever during final date computation.

    * eventedit.c: Now recurrence is toggled by a radio button in the
    recurrence page, as the checkbox is confusing.

    * calobj.c (is_date_in_list): Add support for the exclussion
    dates.

1998-04-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-year-view.c (double_click): Fix this routine as well.

    * gncal-week-view.c (jump_to_day): Bind the gtkcalendar signals to
    the week.

    * gncal-year-view.c (gncal_year_view_set_year): Put things in the
    proper range.  Now the year view actually matches this year.

    * gnome-cal.html: Added small documentation.

    * main.c: Add more icons to the menus;  Rename some menubar
    entries;  Add `new' icon to the toolbar.
    (dump_events): Added argument handling and dumping of events from
    the command line.  Extremely cool.

    * getdate.y: Taken from the CVS source code.  Used for date
    parsing in the command line.

    Internationalized getdate.y.  Wee!  It even works with spanish.

    * calobj.c (ical_object_to_vobject): Add Quoted printable property
    to items containing new lines.
    (duration): Use unsigned integers, to work around buggy calendar
    files generated by korganizer.

    * main.c (save_calendar_cmd): Do not ask for file name if we are
    saving.
    (save_as_calendar_cmd): New command.


1998-04-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * alarm.c (alarm_kill, alarm_init, alarm_add): Implement the alarm
    management framework.

1998-04-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * calobj.c (ical_new): Added mandatory status property.
    (ical_object_to_vobject): Only store "related" list if it exists.
    (store_list): Add terminating null char and free the correct data.

    * main.c (save_calendar_cmd): Implemented calendar saving.
    (open_calendar_cmd): Implemented calendar loading.
    (new_calendar_cmd): Implemented calendar creation.
    (new_calendar): Don't load our test calendar by default.

    * gncal-full-day.c (delete_appointment): Delete appointment implemented.

    * eventedit.c (ee_store_recur_values_to_ical): Free/create
    ical's recurrence appropriately.
    (ee_rp_init_rule): Initialize all missing parameters from ical.
    (ee_rp_init_ending_date): Initialize missing fields from ical.

1998-04-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gnome-cal.c (gnome_calendar_remove_object): Add support for
    removing objects.

1998-04-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * eventedit.c (ee_init_recurrence_page): New function that creates
    the recurrence page in the toplevel notebook.
    (ee_store_recur_values_to_ical): Now we can also store the recurrences.

1998-04-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calobj.c (ical_object_generate_events): Implement
    RECUR_MONTHLY_BY_POS implemented.
    (ical_object_create_from_vobject): Fix the alarm
    initialization code.
    (save_alarm): Save alarms.
    (ical_object_generate_events): Fixed the recurrent code to take
    into account the recur->endate field (if at all specified).

    (ical_object_to_vobject): Implement recurrence rule saving.

1998-04-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * eventedit.c (ee_store_alarm): Use menu_shell->children, not
    menu->children.  Why does GtkMenu have a children field in the
    object structure?
    (check_dates): New function that insures that start_date < end_date.
    (check_times): In addition to checking whether the event spans the
    whole day, now it insures that start_time < end_time.

    * gncal-full-day.c (child_set_size): Now children get bigger
    temporarily while they are focused.  This allows the handles not
    to "overlap" the rows used by the child and thus allow editing of
    very thin events.
    (recompute_motion): Fix for new child coordinates.
    (gncal_full_day_expose): Make it use find_child_by_window()
    instead of looking for it by hand.

    * bell.xpm recur.xpm: XPM files for events with alarm and
    recurrence, respectively.

1998-04-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c (button_1): Preserve the up/down cursor while dragging.

    * gncal-full-day.c (child_draw): Now children have a vertical
    handle as well.  This can be used to move the child anytime, not
    only when it is focused.
    (recompute_motion): Modified for new drag behavior.

    * eventedit.c (ee_init_general_page): The general_owner may be
    null.  Do the proper thing when creating the label.
    (ee_ok): Update the gnome calendar appropriately.

    * timeutil.h:
    * gncal-year-view.h: Add some missing prototypes.

    * gncal-full-day.c (child_popup_menu): Set the sensitivity of menu
    items according to whether the ical object is being edited or not.

    * eventedit.c (event_editor_new): Set the "being edited" flag on
    the ical object (stored as the ical object's user data).
    (event_editor_destroy): Release the flag.

    * calobj.h: The iCalObject structure now has a generic user_data pointer.
    * calobj.c (ical_object_set_user_data ical_object_get_user_data):
    Functions to set this data.

    * gncal-full-day.c (child_button_press): Do child popup menu correctly.

    * main.c (about_calendar_cmd): Fixed my address and added Arturo
    to the authors in the about box.

    * gncal-full-day.c (find_child_by_window): Compare child's widget
    windows by user_data (which will be the parent widget, that is,
    the text widget).  We cannot assume that child->widget->window
    will be *the* window we are interested on because there may be
    child widgets with multiple windows.

1998-04-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * calobj.c (ical_foreach): Define iterator routine.

1998-04-15  Arturo Espinosa Aldama  <arturo@nuclecu.unam.mx>

    * gncal-year-view.[hc]: Now using time_t for new and set.
      Random fixes, as well.

1998-04-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c (button_3): New popup menus activated with
    mouse button 3.
    (create_appointment): Create a new appointment from the popup
    menus.  See the FIXME.

1998-04-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-full-day.c (layout_kill_rows): Routine to destory rows
    array properly.

    * gncal-year-view.c (gncal_year_view_new): Add missing year in
    call to strftime.

    * calobj.c (ical_object_create_from_vobject): Fixed memory leaks
    from the return values of versit's fakeCString.

1998-04-14  Arturo Espinosa Aldama  <arturo@nuclecu.unam.mx>

    * gncal-year-view.[hc]: New widget for the year view.
    * Makefile.am: added required compilation of the new files.

1998-04-14  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * eventedit.c (event_editor_setup_time_frame): Fixed some table
    expansions to make the dialog look nicer when resized.

    * calobj.c (ignore_space): Fixed compiler warning about unused
    computed value.
    (ocurrencelist): Replace str by p confusion.  Removed unused
    variables value and q.
    (daynumber): Fixed a couple of warnings about unused values.
    (load_recurrence): Removed unused variable c.  Added a default
    clause to the switch(type).

    * eventedit.c (ee_rp_init_frequency): Removed unused variable content.
    Fixed a compiler warning by adding a missing cast.

    * calobj.c (ical_object_create_from_vobject): Make the
    load_recurrence() part work correctly.  Eliminated use of
    syntax_error variable.

1998-04-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c (child_key_press): Unfocus the child and focus
    the parent fullday widget when the user presses Esc.

    * gncal-week-view.c (gncal_week_view_update): Now takes object and
    flags parameters.
    * gncal-day-view.c (gncal_day_view_update): Likewise.
    * gncal-full-day.c (gncal_full_day_update): Likewise.
    (child_focus_in): New function.  In conjunction with
    child_focus_out(), these only display the handles in the child
    when it is focused.  The result is that the user can see more of
    the child's text when nothing is focused, and we can also display
    fatter and nicer drag handles.

    * gnome-cal.c (gnome_calendar_object_changed): Now takes an
    additional flags parameter
    (gnome_calendar_update_all): Made function static.  Now takes
    changed object and flags parameters as well.
    (gnome_calendar_object_changed): Now takes additional flags
    parameter to indicate what changed in the specified object.

    * calobj.h (CalObjectChange): New enum with flags to describe what
    has been changed in an object.

    * gncal-full-day.h:
    * gncal-full-day.c (gncal_full_day_focus_child): New function to
    let the outside world decide which child to focus.
    (gncal_full_day_focus_child): Bleah.  We have to synthesize a
    click because GtkText will not set the cursor when you focus it.

    * gnome-cal.c (day_view_range_activated): Focus the new child in
    the full day widget.

    * eventedit.c (event_editor_setup_time_frame): Re-aligned some
    widgets to make it look prettier.
    (ee_alarm_widgets): Likewise.
    (ee_init_general_page): Likewise.
    (ee_classification_widgets): Likewise.
    (event_editor_init_widgets): Likewise.

    * gnome-cal.c (day_view_range_activated): Create new object and
    add it to the calendar.  You can now select a range in the
    full-day view, hit Return, and a new event will be added at the
    selected range.  I still have to figure out how to focus this new child.

    * gncal-full-day.c (paint_back): Rewrote function to avoid
    painting an area more than once -- eliminate flicker.
    (paint_back_rows): New function that calls paint_back() only for
    the area of the specified rows.
    (gncal_full_day_button_press):
    (gncal_full_day_button_release):
    (gncal_full_day_motion): Made these functions use
    paint_back_rows() instead of paint_back(), to eliminate flicker.  Wheee!

1998-04-12  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gnome-cal.c (setup_day_view): We now connect to the
    range_activated signal of the fullday widget instead of catching
    key presses ourselves.
    (day_view_range_activated): New function that creates a new
    iCalObject and inserts it into the calendar, not finished yet.

1998-04-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c (get_time_from_rows): New function, calculates
    a pair of time_t values from the specified start and number of rows.

    * gncal-full-day.h (GncalFullDayClass): New signal
    "range_activated".  It is emitted when a range is selected and the
    user hits Return.
    (gncal_full_day_selection_range): New function, returns the
    selected range.

    * gncal-full-day.c (struct drag_info): Moved selection information
    to their own fields instead of sharing the child's drag fields.
    This allows us to keep the selection when a child is moved.
    (recompute_motion): Made the case when (row < di->sel_click_row)
    work correctly.

1998-04-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gnome-cal.c (gnome_calendar_goto): Add support for navigating
    on the day view.

    * timeutil.c (time_start_of_day, time_end_of_day, time_day_hour):
    New time manipulation functions.

    * eventedit.c (ee_rp_init_frequency): Add the different frequency
    editors to a notebook.  Make the notebook startup on the entry
    selected recurrence type;

1998-04-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c (recompute_motion): Now we support selecting a
    range in the main window (by clicking+dragging).  It flickers
    horribly and is not perfect, but it is a start.

1998-04-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c: #include <string.h>

    * gncal-full-day.c (child_map): Show instead of just map the child
    widget (otherwise the text widget gets confused and will not focus).

    * calobj.c (ical_object_to_vobject): Quote chars as 'x', not "x".

    * calobj.h: Added prototype for ical_object_to_vobject().

    * gnome-cal.c (gnome_calendar_object_changed): New function.  This
    should be called when a calendar object is changed.

    * gncal-full-day.c (update_from_drag_info): Call
    gnome_calendar_object_changed() instead of updating manually.

    * calendar.c (calendar_add_object):
    (calendar_remove_object): Set the modified flag to true.

    * gncal-full-day.c (gncal_full_day_draw): Finished implementing
    this function.

1998-04-08  Raja R Harinath  <harinath@cs.umn.edu>

    * gncal.c (update_calendar): Say `#if 0', not `#ifdef 0'.

1998-04-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * eventedit.c: Removed unused global variable parent_class.

    * eventedit.h: Renamed gtk_window field to window.
    Made the parent_class field in the EventEditorClass structure be a
    GtkWindowClass, not a gnome property box class.
    Added prototype for event_editor_get_type().

1998-04-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-week-view.c (gncal_week_view_new): Use the new
    gtk_table_set_homogeneous() instead of setting the variable directly.

1998-04-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * eventedit.c (ee_create_ae): Make it return void.
    (ee_alarm_widgets): Remove some unused variables.
    (ee_store_alarm): Make it return void.
    #include <string.h>

    * eventedit.h: #include "gnome-cal.h"

    * calobj.c (list_free): Don't use g_free in the g_list_foreach.

    * calendar.h: Add prototype for calendar_load().

    * timeutil.h: Add prototypes for time_add_*().

    * calendar.c:
    * calobj.c:
    * eventedit.c:
    * gnome-cal.c: #include "timeutil.h"

    * gncal-day-view.c (gncal_day_view_size_request): Make the minimum
    width equal or larger to the title width.

    * main.c: #include "eventedit.h"
    (main): Add a return statement.
    (new_calendar): Show stuff *after* the calendar has been loaded.

    * gnome-cal.c (gnome_calendar_load): Update the day view.
    (setup_widgets): Hackish setup of a day view widget - will fix later.
    (gnome_calendar_init): Initialize all fields.

    * gnome-cal.h: Added day_view field.  Maybe this should be changed
    when the a complete day view panel is complete.

    * gncal-day-view.c (gncal_day_view_update): Draw after update, not
    before.

1998-04-06  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

    * versit/.cvsignore: New file.

Fri Apr  3 22:31:54 1998  Tom Tromey  <tromey@cygnus.com>

    * calendar.c: Include <config.h>.

1998-04-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * timeutil.c (time_add_year, time_add_year, time_add_week):
    Routines for time manipulation.

    * calobj.c (ical_object_destroy): Full destruction of the object.

    * eventedit.c: Finished the main event editor form;  It still
    lacks the details and the recurrence bits.  It now adds events
    and cancels.

1998-04-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * view-utils.c (view_utils_draw_events): The "better" format
    string for strftime() wasn't better, after all :-(

1998-04-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-full-day.c: New full-day widget.  It is still a work in
    progress.  It will be similar to M$ Schedule's nifty full day view
    widget, but with Gtk's elegance :-)

    * Makefile.am (gnomecal_SOURCES): Added gncal-full-day.[ch] to the sources.

1998-04-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * eventedit.c: Object editor widget.  We dropped ObjEdit.

    * timeutil.c (time_from_isodate): Fix.

    * view-utils.c (view_utils_draw_events): Changed the display
    formats.

1998-04-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * view-utils.c (view_utils_draw_events): Use better format
    specifier for strftime().
    (view_utils_draw_textured_frame): Ultra-nifty function to draw
    textured "metal" frames, like Netscape's handles.

1998-04-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * gncal-day-view.c (gncal_day_view_update): Day events are now
    cached inside the widget.  They get initialized at this time.

    * view-utils.c (view_utils_draw_events): Use the list of events.

1998-04-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-day-view.c (gncal_day_view_set_shadow): New customization
    function.  We can't decide on a stupid border type :-)
    (gncal_day_view_init): Made GTK_SHADOW_ETCHED_IN be the default
    shadow type.  Looks good.

1998-04-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * main.c: New main program that uses our new datatypes and
    objects.

    * calendar.c (calendar_load_from_vobject, calendar_load):
    Implement loading of vCalendar objects and vCalendar files.

    * calobj.c (ical_object_create_from_vobject): Implement loading of
    vCalendar event and todo objects.

    * timeutil.c (isodate_from_time_t): New function.

    * gnome-cal.c, gnome-cal.h: Implement a toplevel widget, derived
    from GnomeApp.  It holds all of the day views and arbitrates the
    display.

1998-04-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-week-view.[ch]: New week view composite widget.  This
    provides a full week view (7 day views plus busy time display --
    the latter is currently unimplemented).

1998-04-01  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal-day-view.c: New day view widget.  It is intended to be a
    child widget of the week view composite widget.

    * calendar.c (calendar_get_objects_in_range):
    (calendar_get_events_in_range):
    (calendar_get_journal_in_range):
    (calendar_get_journal_in_range): These functions now take a
    sort_func parameter, which is of type GCompareFunc.  If the
    specified value is non-NULL, it will return a sorted list.
    Otherwise, it will return an unordered list.
    (calendar_compare_by_dtstart): Provide a generic sorting routine
    for calendar objects.

1998-04-01 Miguel de Icaza <miguel@kernel.org>

    * Start from scratch

Tue Mar 31 23:46:50 1998  Tom Tromey  <tromey@cygnus.com>

    * timeutil.c (format_simple_hour): `buf' now static.

1998-03-31  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal.c: Removed #include "gtkcalendar.h", because it now comes
    from libgnomeui.

    * Makefile.am (gncal_SOURCES): Added new source files to the rules.

    * timeutil.c (format_simple_hour): New function, formats an
    hour/am_pm pair into a string of the form "3am", "12pm", "05h",
    "19h", etc.  It is used by the day view widget for its labels.

1998-03-31 Craig Small <csmall@small.dropbear.id.au>

    * Now has (non working) session maangement
    * Uses a clist for the dailylist like gtt

Sat Mar 21 15:43:20 1998  Tom Tromey  <tromey@cygnus.com>

    * gncal.c: Use gnome_message_box_*, not gnome_messagebox_*.

1998-03-12  Craig Small <csmall@small.dropbear.id.au>

    * Now linked (in some horrible way) to the gtkcalendar widget.

Sun Mar  8 16:38:10 1998  Tom Tromey  <tromey@cygnus.com>

    * Makefile.am (INCLUDES): Added GNOME_INCLUDEDIR.
    (gncal_LDADD): Don't include libsupport.a.

    * gncal.c (main): Use new gnome_init.

1998-02-19  Federico Mena Quintero  <federico@nuclecu.unam.mx>

    * gncal.c (main): Added app_id "gncal".

1998-02-19  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

    * Makefile.am (gncal_LDADD): Added '$(INTLLIBS)'

1998-02-18  Raja R Harinath  <harinath@cs.umn.edu>

    * Makefile.am (gncal_LDADD): Include `libsupport.a'.

    * calcs.c (month_atoi): Replace buggy explicit loop string compare
    with strcasecmp.
    (day_atoi): Likewise.

Sun Jan 25 23:38:30 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * menus.c: Replace "Quit" with "Exit".