summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 842957105b478bdb224b3a597a6a8ed0dd67890e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2009-07-05  Frederic Culot  <frederic@culot.org>

	* src/utils.c (getstring): prevent character deletion before the
	beginning of the string (thanks Martin for reporting the bug)

	* configure.ac: switched to 2.6
	Add a check for regex.h header

	* src/args.c: support for search based on regex added (many thanks
	to Erik for providing the patch)

	* README: Erik Saule added to the list of contributors

	* src/calcurse.1: manpage updated with the -S flag description
	
2009-06-28  Frederic Culot  <frederic@culot.org>

	* src/io.c (io_save_apts, io_save_conf, io_save_todo)
	(io_save_keys): new functions

	* src/args.c (parse_args): simplified the way data files are
	loaded and saved

	* src/args.c: it is now possible to export data from a given
	apts file even if the user does not have any home directory
	(thanks Ben for reporting this bug)
	
2009-06-27  Frederic Culot  <frederic@culot.org>

	* src/io.c: do not export completed tasks

	* src/help.c (help_screen): help page updated for the flag command

	* src/args.c (help_arg): help updated for the -t command line flag

	* src/calcurse.1: updated the -t flag description

	* src/manual_*.html: html manuals updated
	
2009-06-26  Frederic Culot  <frederic@culot.org>

	* src/args.c: do not print todo items twice if -d and -t flags are
	given (thanks Timo for reporting the bug)

	* src/todo.c (todo_flag): new function

	* src/args.c (todo_arg): function adapted to display completed
	tasks
	
	* src/todo.c: todos can now be flagged as completed

	* src/wins.c (wins_status_bar): flag command added in todo panel
	
2009-06-23  Frederic Culot  <frederic@culot.org>

	* src/io.c: missing 'T' letter added in DURATION field for ical
	export (thanks cuz for reporting this)

	* src/utils.c (exit_calcurse): remove lock only if interactive
	mode was launched

	* src/args.c (parse_args): make the argument given to -r or -s
	flags optional
	
2009-06-22  Frederic Culot  <frederic@culot.org>

	* autogen.sh: check for gettextize added
	
2009-06-21  Frederic Culot  <frederic@culot.org>

	* src/notify.c (notify_free_app): new function

	* src/utils.c (exit_calcurse): free memory associated with
	structure used for appointments notification

	* src/utils.c: fixed a memory leak caused by a wrong usage of the
	notify_app structure

	* src/io.c (io_set_lock, io_unset_lock): new functions to
	implement a basic locking mechanism in order to avoid having two
	calcurse instances running at the same time
	
2009-06-20  Frederic Culot  <frederic@culot.org>

	* src/custom.c (set_confwin_attr): new function

	* src/custom.c: fix a bug that caused calcurse to freeze under
	OpenBSD when changing theme color from within the configuration
	screen

	* src/calendar.c (calendar_update_panel): day names and selected
	date are now in the same colour as user's theme inside calendar
	panel

	* src/args.c (version_args): Copyright date updated
	
2009-06-01  Frederic Culot  <frederic@culot.org>

	* src/io.c: patch submitted by Francois Boulogne to fix gcc
	'format-security' issue (thanks Francois for reporting this)
	
2009-05-22  Frederic Culot  <frederic@culot.org>

	* src/apoint.c 
	* src/event.c
	* src/recur.c: make use of stdio's BUFSIZ instead of my own define
	
2009-01-25  Frederic Culot  <frederic@culot.org>

	* === Released 2.5 ===

	* NEWS: updated

2009-01-24  Frederic Culot  <frederic@culot.org>

	* src/keys.c: make it possible to use KEY_HOME and KEY_END to
	define new key bindings

	* src/keys.c (custom_keys_config): prevent user from assigning a
	non-recognized key

	* src/utils.c (warnbox): new function

	* src/utils.h (WARN_MSG): new macro

	* doc/manual_*.html: manuals updated for 2.5 version

	* configure.ac: switch to 2.5

	* src/calcurse.1: manpage updated for 2.5 version

	* src/args.c (parse_args): load keys even in non-interactive mode
	to avoid the loss of user configured key bindings

	* src/calendar.c (calendar_stop_date_thread): do not crash when
	canceling the thread if it was not started before
	
2009-01-23  Frederic Culot  <frederic@culot.org>

	* configure.ac: improve configuration script to be able to link
	with ncursesw if ncurses is not available
	
2009-01-22  Frederic Culot  <frederic@culot.org>

	* src/notify.c (notify_stop_main_thread): avoid a possible
	segfault if this function is called before the thread was launched
	(thanks Jan for reporting this)

	* configure.ac: switch to 2.5_beta
	
2009-01-05  Frederic Culot  <frederic@culot.org>

	* src/custom.c (custom_general_config, print_general_options): 
	iso date format (yyyy-mm-dd) added

	* src/utils.c (parse_date)
	* src/custom.c (custom_load_conf)
	* src/io.c (io_save_cal): iso date format added

	* TODO: updated
	
2009-01-04  Frederic Culot  <frederic@culot.org>

	* src/help.c (help_screen): help page added to describe the cut
	and paste feature

	* doc/manual_*.html: information about periodic saves added in
	manuals
	
2009-01-03  Frederic Culot  <frederic@culot.org>

	* src/day.c (day_saved_item_init, day_saved_item_free): suppressed

	* src/utils.c (status_bar): moved to wins_status_bar
	* src/utils.c (erase_status_bar): moved to wins_erase_status_bar	
	* src/utils.c (other_status_page): moved to wins_other_status_page
	* src/utils.c (reset_status_page): moved to wins_reset_status_page

	* src/mem.c (dbg_realloc): wrong copy from old memory area to
	newly allocated one fixed + other fixes
	
2009-01-02  Frederic Culot  <frederic@culot.org>

	* src/io.c (io_stop_pthread_save): do not crash when canceling the
	thread if it was not started before

	* src/vars.c (vars_free): suppressed

	* src/notify.c (notify_free_vars, notify_free_bar): suppressed

2009-01-01  Frederic Culot  <frederic@culot.org>

	* src/event.c (event_free_bkp, event_llist_free): new functions
	
	* src/apoint.c (apoint_dup, apoint_paste_item, apoint_free_bkp):
	new functions

	* src/recur.c (recur_event_free_bkp, recur_event_dup)
	(recur_event_paste_item, recur_event_llist_free, recur_add_exc)
	(exc_dup, recur_apoint_free_bkp, recur_apoint_dup): new functions

	* src/utils.c (get_item_time, get_item_hour, get_item_min): new
	functions

	* src/recur.c: fixed a two-years old bug (appeared in version 1.5)
	that made repeated items with exceptions load uncorrectly in
	some cases (thanks Jan for reporting it)

	* TODO: updated (it is now possible to move an item from one date
	to another by using the cut/paste feature)
	
2008-12-30  Frederic Culot  <frederic@culot.org>

	* src/keys.c: added key bindings for cut and paste

	* src/keys.c (keys_fill_missing): new function

	* src/io.c (io_load_keys): load default key bindings for missing
	keys (meaning they were added with new version of calcurse)

	* src/utils.c (status_bar): added status bar labels for cut and
	paste commands

	* src/calcurse.c: handle cut and paste commands

	* src/apoint.c (apoint_cut, apoint_paste): new functions

	* src/day.c (day_cut_item, day_paste_item): new functions

	* src/event.c (event_dup, event_paste_item): new functions
	
2008-12-28  Frederic Culot  <frederic@culot.org>

	* mem.[ch]: new files to build wrappers around libc's memory
	management functions

	* configure.c: enable-memory-debug compilation option added

	* src/utils.c (mem_free): function removed

	* src/apoint.c (apoint_llist_free): new function

	* src/day.c (day_saved_item_init, day_saved_item_free): new
	functions

	* src/todo.c (todo_free_list): new_function

	* src/recur.c (recur_apoint_llist_free, free_exc): new functions

	* src/notify.c (notify_free_vars, notify_free_bar): new functions

	* src/vars.c (vars_free): new function

	* src/io.c
	* src/custom.c: new option to periodically save data

	* io.c (io_start_psave_thread, io_stop_psave_thread)
	(io_psave_thread, display_mark): new functions to implement
	periodic saves

	* TODO: updated (auto-save functionality added)
	
2008-12-27  Frederic Culot  <frederic@culot.org>

	* === Released 2.4 ===

	* NEWS
	* configure.ac: update for 2.4
	
2008-12-20  Frederic Culot  <frederic@culot.org>

	* TODO: update for 2.4

	* src/custom.c (custom_layout_config, display_layout_config)
	(layout_selection_bar): new functions
	
2008-12-18  Frederic Culot  <frederic@culot.org>

	* src/notify.c (notify_check_next_app): create thread detached to
	avoid a memory leak
	
2008-12-15  Frederic Culot  <frederic@culot.org>

	* src/todo.c (todo_delete)
	* src/day.c (day_edit_item): fixed a bug that prevented from
	editing an item

	* src/keys.c: generic-escape renamed into generic-cancel

	* src/utils.c (getstring): make the escape key work again to
	cancel editing

	* src/apoint.c (apoint_delete_bynum)	
	* src/day.c (day_erase_item): fixed a possible freeze when
	deleting an appointment's note
	
2008-12-14  Frederic Culot  <frederic@culot.org>

	* === Released 2.4_beta ===
	
	* NEWS: update for 2.4_beta
	
	* src/recur.c (recur_day_is_exc): suppressed

	* src/recur.c (foreach_date_dump): exception dates are now
	properly taken into account

	* src/apoint.c
	* src/calendar.c
	* src/custom.c
	* src/event.c
	* src/io.c
	* src/recur.c: make use of error handling macros

	* src/utils.c (status_bar): do not show 'credits' key binding
	inside status bar

	* src/custom.c (custom_general_config): make it possible to scroll
	up and down again
	
2008-12-13  Frederic Culot  <frederic@culot.org>

	* src/recur.c (recur_item_inday) 
	* src/utils.c (date_sec_change): daylight saving time unwanted
	offset fixed (thanks youshe and Jan for reporting the problem)
	
2008-12-12  Frederic Culot  <frederic@culot.org>

	* src/utils.c (mycpy): suppressed and replaced by strdup

	* src/utils.c (aerror, ierror): suppressed

	* src/utils.c (warnbox): moved to fatalbox

	* src/utils.h (ERROR_MSG): file name and line number added to
	displayed error message

	* src/utils.h (ASSERT): suppressed
	
2008-12-09  Frederic Culot  <frederic@culot.org>

	* src/calcurse.1: manpage update for 2.4

	* doc/manual_*.html: update for 2.4
	
2008-12-08  Frederic Culot  <frederic@culot.org>

	* src/custom.c (custom_color_config_bar): new function

	* configure.ac
	* TODO: update for 2.4_beta

	* configure.ac: do not overwrite CFLAGS

	* src/i18n.h: include locale.h in case we have ENABLE_NLS
	
2008-12-07  Frederic Culot  <frederic@culot.org>

	* src/keys.c: arrow keys can now also be used to define key
	bindings

	* src/keys.c (keys_check_missing_bindings): new function
	
2008-12-06  Frederic Culot  <frederic@culot.org>

	* src/io.c (io_load_keys): use of a temporary file to log errors
	when loading user-defined key bindings

	* src/io.c (io_log_init, io_log_dislpay, io_log_free)
	(io_log_print): new functions
	
2008-12-03  Frederic Culot  <frederic@culot.org>

	* src/help.c (help_screen): help texts size overflow fixed

	* src/io.c (io_export_data): progress bar now displayed properly
	when exporting data
	
2008-12-02  Frederic Culot  <frederic@culot.org>

	* src/help.c (help_screen): help pages updated
	
2008-11-30  Frederic Culot  <frederic@culot.org>

	* src/io.c (is_blank): new function
	
2008-11-29  Frederic Culot  <frederic@culot.org>

	* src/help.c (help_write_pad): updated to display key bindings
	
2008-11-26  Frederic Culot  <frederic@culot.org>

	* src/help.c (help_screen): updated to display user-defined keys
	
2008-11-25  Frederic Culot  <frederic@culot.org>

	* src/io.c (io_save_cal): updated to save user-defined keys

	* src/keys.c (keys_save_bindings): new function
	
2008-11-23  Frederic Culot  <frederic@culot.org>

	* src/keys.c (keys_popup_info, keys_action_count_keys): new
	function

	* src/utils.c (popup): updated to take a message to be displayed
	as extra argument
	
2008-11-22  Frederic Culot  <frederic@culot.org>

	* src/custom.c (custom_keys_config_bar): new function

	* src/keys.c (keys_display_bindings_bar)
	(keys_action_nkey): new functions

	* src/utils.c (format_key): moved to keys_format_label
	
2008-11-16  Frederic Culot  <frederic@culot.org>

	* src/custom.c (config_bar): renamed into custom_config_bar and
	updated to display key configuration menu

	* src/custom.c (general_conf_set_scrsize): renamed into
	conf_set_scrsize

	* src/custom.c (custom_keys_config, print_keys_bindings)
	(print_key_incolor, print_key_reverse): new functions

	* src/utils.c (print_option_incolor): renamed into
	print_bool_option_incolor

	* src/wins.c (wins_scrollwin_up, wins_scrollwin_down): amount of
	lines to be scrolled can now be specified
	
2008-11-15  Frederic Culot  <frederic@culot.org>

	* src/keys.c (keys_dump_defaults, dump_intro, keys_str2int)
	(keys_int2str, keys_init, add_key_str, del_key_str): new functions

	* src/io.c (key_to_ascii): moved to src/keys.c

	* src/utils.c (status_bar): updated to display user keybindings
	* src/utils.c (format_key): new function

2008-11-09  Frederic Culot  <frederic@culot.org>

	* src/io.c (io_load_keys, key_to_ascii): new function

	* src/keys.c (keys_assign_binding, keys_remove_binding)
	(keys_get_key): new functions
	
2008-11-08  Frederic Culot  <frederic@culot.org>

	* src/keys.[ch]: new files to manage user-definable keybindings

	* src/htable.h: hash table project imported

	* src/Makefile.am: keys.[ch], htable.h added
	* po/POTFILES: keys.c added

2008-10-15  Frederic Culot  <frederic@culot.org>

	* === Released 2.3 ===

	* doc/manual_nl.html
	* po/nl.po: Dutch translation and manual updated, thanks Jeremy
	
	* NEWS
	* configure.ac
	* TODO: update for 2.3

2008-09-29  Frederic Culot  <frederic@culot.org>

	* === Released 2.3_beta ===
	
	* NEWS: update for 2.3_beta

	* io.c (ical_read_rrule): interval is now correctly retrieved,
	wherever it is inside ical RRULE property

	* io.c (ical_compute_rpt_until): new function
	
2008-09-24  Frederic Culot  <frederic@culot.org>

	* src/io.c (ical_read_note): do not create note if it has zero
	length

	* src/io.c (ical_datetime2long): function rewritten
	
2008-09-23  Frederic Culot  <frederic@culot.org>

	* src/io.c: some fixes after ical import tests

	* src/io.c (ical_unfold_content, ical_unformat_line): new
	functions

	* po/fr.po: translation updated

	* src/utils.c (mem_free): new function
	
2008-09-21  Frederic Culot  <frederic@culot.org>

	* src/utils.c (status_bar): 'I' keybinding added to import data

	* src/help.c (help_screen, wanted_page): import function help text
	added

	* src/args.c (usage, help_arg, parse_args): import flag added

	* src/io.c (io_save_cal): ui mode (command line or curses mode)
	taken into account

	* src/utils.h: DISPLAY macro renamed into ERROR_MSG

	* src/calcurse.1: manpage updated

	* doc/manual_*.html: manuals updated

	* po/fr.po: translation updated

	* configure.ac
	* TODO: update for 2.3_beta
	
2008-09-20  Frederic Culot  <frederic@culot.org>

	* src/io.c (io_import_data): temporary log file created to store
	import process report

	* src/io.c (ical_log_init, ical_log): new functions

	* src/utils.c (warnbox): new function

	* src/utils.h: DISPLAY, EXIT, EXIT_IF, RETURN_IF and RETVAL_IF
	macros defined

	* src/vars.c: global variable ui_mode added
	
2008-09-16  Frederic Culot  <frederic@culot.org>

	* src/io.c (ical_read_note): file created to store ical item
	description

	* src/io.c (ical_store_todo, ical_store_event, ical_store_apoint)
	(get_import_stream): new functions
	
2008-09-15  Frederic Culot  <frederic@culot.org>

	* src/io.h: import_type_t added, export_mode_t changed to
	io_mode_t

	* src/utils.c (str_toupper): new function
	
	* src/io.c (ical_chk_header, ical_datetime2long)
	(ical_durtime2long, ical_durlong, ical_read_rrule, ical_add_exc)
	(ical_read_exdate, ical_read_note, ical_read_event)
	(ical_read_todo, io_import_data): new functions to handle
	icalendar import
	
2008-08-28  Frederic Culot  <frederic@culot.org>

	* === Released 2.2 ===

	* configure.ac
	* NEWS: update
	
2008-08-18  Frederic Culot  <frederic@culot.org>

	* src/io.c (io_init): wrong data path init fixed (thanks Herbert
	for reporting it)
	
2008-08-12  Frederic Culot  <frederic@culot.org>

	* === Released 2.2_beta ===
	
	* po/fr.po: translation updated

	* configure.ac
	* TODO
	* NEWS: update for 2.2_beta
	
2008-08-11  Frederic Culot  <frederic@culot.org>

	* src/utils.c (date_sec2ical_*): functions replaced by
	date_sec2date_fmt()

	* src/args.c (parse_args, usage, help_arg): option added to '-x'
	flag to choose export format

	* src/help.c (help_screen): help text updated with pcal export

	* src/calcurse.1: manpage updated

	* doc/manual_*.html: manuals updated
	
2008-08-10  Frederic Culot  <frederic@culot.org>

	* src/calcurse.c: new menu added presenting export format
	selection

	* src/io.c (io_export_bar, pcal_export_header)
	(pcal_export_recur_events, pcal_export_events)
	(pcal_export_recur_apoints, pcal_export_apoints)
	(pcal_export_todo, pcal_export_footer, foreach_date_dump): new
	functions

	* src/io.c (io_export_data, get_export_stream)
	(pcal_dump_event): handling of pcal export
	
	* src/io.h: export_type_t type defined

	* src/utils.c (date_sec2date_fmt, date_sec_change): new functions

	* src/calendar.c (calendar_start_of_year, calendar_end_of_year):
	new functions

	* src/recur.c (recur_day_is_exc): new function
	
2008-08-08  Frederic Culot  <frederic@culot.org>

	* src/calcurse.1: manpage updated with new command line options
	* doc/manual_*.html: manuals updated with new command line options
	
2008-08-06  Frederic Culot  <frederic@culot.org>

	* src/args.c (parse_args, help_arg, usage): '-s', '-r' and '-D'
	flags added (thanks Erik for submiting the patch)
	* src/args.c (date_arg_extended, more_info, display_app): new
	functions to handle '-s' and '-r' flags

	* src/io.c (io_init): handling of '-D' option

	* src/vars.h: new way of defining default paths

2008-08-03  Frederic Culot  <frederic@culot.org>

	* src/calendar.c (calendar_goto_today): new function

	* src/calcurse.c: CTRL-G, '0' and '$' keybindings added
	* src/help.c (help_screen, wanted_page): help text updated
	* src/utils.c (status_bar): new bindings added
	* src/utils.c (other_status_page): fixed a bug in status page
	number calculation
	
2008-05-17  Frederic Culot  <frederic@culot.org>

	* === Released 2.1 ===

	* NEWS: update

2008-05-03  Frederic Culot  <frederic@culot.org>

	* src/recur.c: typo fixed (thanks Jeremy for reporting it)

	* po/nl.po: Dutch translation updated, thanks Jeremy

	* src/recur.c (recur_apoint_new, recur_event_new): memory leak
	fixed (thanks Tony for reporting it)
	
2008-04-26  Frederic Culot  <frederic@culot.org>

	* === Released 2.1_beta ===
	
	* NEWS: update

	* ChangeLog: format changed

	* src/calcurse.c: unuseful call to notify_check_next_app
	suppressed
	
2008-04-20  Frederic Culot  <frederic@culot.org>

	* po/fr.po: updates

	* src/help.c: correction done in the '>' command help text

	* doc/*.html: html manuals updated with date format configuration
	options

2008-04-19  Frederic Culot  <frederic@culot.org>

	* src/custom.c: scrollbar added in general configuration menu
	
	* some memory leaks fixed using valgrind

	* minor code cleanup

2008-04-18  Frederic Culot  <frederic@culot.org>	

	* Generic functions to handle scrolling windows created

2008-04-12  Frederic Culot  <frederic@culot.org>

	* src/*: Yet another style for source code. GNU style now used (I
	am fed up with tabs...)

2008-04-09  Frederic Culot  <frederic@culot.org>

	* Tony's patch concerning date format configuration imported, many
	thanks to him

	* TODO: list updated

2008-04-05  Frederic Culot  <frederic@culot.org>

	* '-N' flag added, which allows the display of note contents in 
	non-interactive mode (many thanks to Erik Saule for submiting 
	this patch)
	
	* src/calcurse.1: updates
	* doc/*.html: updates

2008-04-04  Frederic Culot  <frederic@culot.org>

	* 'o' sign no longer used to display events in non-interactive mode
	(that was annoying because it means 'about' in Polish, thanks
	fEnIo for reporting the problem)
	
	* bugfix: correct number of lines now skipped when displaying
	appointments using '-d' option (thanks Tony for reporting the bug)
	
	* bugfix: no more segfault when changing a todo item priority which
	did not have any notes attached to it (fixes Debian Bug #469297)

2008-03-30  Frederic Culot  <frederic@culot.org>

	* doc/manual_it.html: Italian manual added, many thanks to Leandro
	Noferini

2008-03-02  Frederic Culot  <frederic@culot.org>
	
	* === Released 2.0 ===	

	* NEWS: update

	* po/*.po: updates
	
	* doc/manual_nl.html
	* po/nl.po: Dutch manual and translation updated, thanks Jeremy

2008-02-16  Frederic Culot  <frederic@culot.org>

	* === Released 2.0_beta ===

	* bugfix: check for null pointer added when drawing color
	configuration window (which could remain invisible otherwise)
	
	* po/calcurse.pot: updates for version 2.0
	
	* NEWS: update

2008-02-14  Frederic Culot  <frederic@culot.org>

	* doc/*.html: manuals updated with parts related to notes

2008-02-13  Frederic Culot  <frederic@culot.org>

	* src/calcurse.1: manpage updated

	* NOTESIZ shortened to be 6 characters long, as only 6 'X' are
	used in the glibc version of mkstemp(3).
	
	* src/wins.c (wins_launch_external): fixed a wrong calculated len
	which lead to erroneus note file name

2008-02-11  Frederic Culot  <frederic@culot.org>

	* TODO: list updated

	* src/utils.c: status bar updated to display the new 'N' (edit
	note) and '>' (view note) keybindings
	
	* src/help.c: online help pages added for 'N' and '>' keybindings

2008-02-10  Frederic Culot  <frederic@culot.org>

	* doc/*.html: manuals updated to make use of css style sheet
	
	* src/notify.c (notify_thread_app): memory leak fixed

	* configure.ac: check for limits.h header added

	* src/wins.c (wins_launch_external): asprintf() call replaced as
	it is not fully portable
	
2008-02-03  Frederic Culot  <frederic@culot.org>

	* doc/manual.css: css style sheet added for manuals

	* doc/manual_fr.html: update to make use of css style sheet

2008-01-26  Frederic Culot  <frederic@culot.org>

	* configure.ac: linking against pthread instead of lpthread
	(thanks ajacoutot@)
	check for errno.h presence added

2008-01-20  Frederic Culot  <frederic@culot.org>

	* src/day.c (day_edit_item): complete rewrite so that there is no
	need to first delete the item and then recreate it

	* src/event.c (event_get): new function
	* src/apoint.c (apoint_get): new function

2008-01-17  Frederic Culot  <frederic@culot.org>

	* src/utils.c (exit_calcurse): screen is now cleared completely
	when calcurse exits

	* src/io.c (io_export_data): it is now possible to cancel calendar
	export

	* src/day.c (day_edit_item): null-terminating character missing

2008-01-13  Frederic Culot  <frederic@culot.org>

	* Ability to attach notes to appointments and events added

2007-12-31  Frederic Culot  <frederic@culot.org>

	* Notes attached to todos can now be suppressed

2008-12-30  Frederic Culot  <frederic@culot.org>

	* src/todo.c: Ability to attach notes to todo items added

	* Call to an external editor or pager to edit/view notes implemented

	* 'N' and '>' keystrokes added to edit or view notes

	* src/utils.h (ierror): function improved

2007-12-09  Frederic Culot  <frederic@culot.org>

	* src/recur.c (recur_item_inday): leap years should now
	be properly handled
	
	* src/calendar.c (calendar_move_up, calendar_move_down)
	(calendar_move_left, calendar_move_right): modifications to
	properly handle leap years and gathered together into
	calendar_move()
	
	* src/calendar.c (date_change): new function

2007-10-22  Frederic Culot  <frederic@culot.org>

	* === Released 1.9 ===

	* TODO:
	* NEWS: updates

	* po/*.po: updates

2007-10-21  Frederic Culot  <frederic@culot.org>

	* src/wins.h: window_t structure updated to store WINDOW pointer
	window_e enum updated to shorten names, winprop_e and wins_prop()
	suppressed
	cwin, awin, twin, swin variables suppressed

	* src/help.c (help_screen): update to make automatic resize
	available inside help screens (thanks Sebastian for reporting the
	problem)
	* src/help.c (help_wins_reset, help_wins_init, help_wins_reinit)
	(wanted_page): new functions
	* src/help.c: help_pages_e enum added

	* src/custom.c (custom_general_config):
	* src/notify.c (notify_config_bar): updates to handle basic window
	resizing
	
	* src/custom.c (custom_confwin_init, display_color_config): new
	functions

	* src/custom.c (custom_color_config): rewrite

2007-10-14  Frederic Culot  <frederic@culot.org>

	* src/args.c (next_arg): rewrite
	* src/args.c (date_arg): improvements

	* src/wins.c (wins_reset): avoid blank screen when resizing under
	Linux
	
	* src/notify.c (notify_config_bar) no need to stop thread if it
	was not started before
	
	* src/calendar.c (calendar_change_day, calendar_move_*): prevent
	user from entering an unsupported date

2007-10-08  Frederic Culot  <frederic@culot.org>

	* doc/manual_nl.html:
	* po/nl.po: Dutch manual and translation updated, many thanks to
	Jeremy
	
	* bugfix: possible problem when using -n flag without any upcoming
	appointment (thanks Herbert for reporting this problem)

2007-10-07  Frederic Culot  <frederic@culot.org>

	* src/sigs.c: handling of SIGWINCH improved

	* doc/manual_de.html:
	* po/de.po: German manual and translation updated, many thanks to
	Michael Schulz

2007-09-16  Frederic Culot  <frederic@culot.org>

	* configure.ac: bugfix: wrong symbol used for pthread library
	(thanks Michael for noticing this bug)
	
	* src/utils.c (popup): keypad() used, to avoid possible unwanted
	interactions (status bar could change for example when viewing an
	item description and pressing an arrow key)
	
	* export to /tmp/calcurse.ics is now performed in case $HOME is
	not set

2007-09-01  Frederic Culot  <frederic@culot.org>

	* src/args.c (date_arg): fixed a shift in date_arg(), thanks
	Herbert for reporting this bug

2007-08-31  Frederic Culot  <frederic@culot.org>

	* === Released 1.9_beta ===

	* NEWS: update

2007-08-19  Frederic Culot  <frederic@culot.org>

	* src/wins.c (wins_reset): update to handle notification bar reset

	* src/calcurse.c: no more check for terminal size in main loop
	
	* src/io.c: avoid core when trying to load a calendar file from
	current directory

	* doc/*.html: manuals updated with part related to moon phase
	calculation

	* po/fr.po: french translation updated

	* TODO:
	* README: updates

2007-08-15  Frederic Culot  <frederic@culot.org>

	* src/sigs.c: handling of SIGWINCH added

	* src/wins.c (wins_prop, wins_layout, wins_set_layout)
	(wins_reset): new functions
	layout is not part of conf_t type anymore, and becomes a static
	variable in wins.c

	* src/apoint.c (apoint_hilt, apoint_hilt_set)
	(apoint_hilt_decrease, apoint_hilt_increase): new functions
	scroll_pad_down and scroll_pad_up moved to apoint_scroll_pad_down
	and apoint_scroll_pad_up
	
	* src/todo.c (todo_hilt, todo_hilt_set, todo_hilt_decrease)
	(todo_hilt_increase, todo_saved_mesg, todo_nb, todo_set_nb)
	(todo_set_first, todo_first_increase, todo_first_decrease)
	(todo_hilt_pos): new functions

2007-08-12  Frederic Culot  <frederic@culot.org>

	* Moon phase calculation added

	* src/calendar.c (calendar_get_pom, pom, potm, dotr, adj360):
	new functions added, based on the OpenBSD version of pom(6)
	
	* TODO: list updated

2007-08-04  Frederic Culot  <frederic@culot.org>

	* src/utils.h: ASSERT macro created
	* src/utils.h (aerror, ierror) new functions created to improve
	error handling while in ncurses mode
	
	* src/utils.c (exit_calcurse): update to take exit code as
	argument
	
	* src/day.c (day_item_s2apoint_s): memory leak fixed

2007-07-29  Frederic Culot  <frederic@culot.org>

	* compiler warnings fixed

2007-07-28  Frederic Culot  <frederic@culot.org>

	* doc/manual_nl.html:
	* po/nl.po: Dutch manual and po file added, many thanks to Jeremy
	Roon
	
	* configure.ac:
	* Makefile.am:
	* src/Makefile.am: various improvements
	
	* src/*: unuseful headers removed
	some functions became static

	* src/utils.c (check_date):  moved to utils.c
	
	* src/wins.c (border_color, border_nocolor): moved to wins.c

2007-07-26  Frederic Culot  <frederic@culot.org>

	* src/calcurse.c: global variables suppressed

2007-07-22  Frederic Culot  <frederic@culot.org>

	* src/utils.c (exit_calcurse): new function

	* src/wins.c (wins_slctd_init, wins_slctd_set, wins_slctd_next)
	(wins_slctd): new functions
	
	* src/sigs.[ch]: new files to store signal handling routines

	* src/calcurse.c: which_pan global variable suppressed

2007-07-21  Frederic Culot  <frederic@culot.org>

	* src/wins.[ch]: new files to store windows handling related
	routines
	window handling routines moved to wins.c and wins.h
	
	* src/utils.c (erase_status_bar): new function
	
	* several routines moved from calcurse.c to more appropriate
	source files:
	        update_app_panel() moved to apoint_update_panel()
		update_todo_panel() moved to todo_update_panel()
		add_item() moved to apoint_add()
		del_item() split into apoint_delete() and todo_delete()
		init_vars() moved to vars_init()
		print_notify_options() moved to notify_print_options()
		config_notify_bar() moved to notify_config_bar()

2007-07-20  Frederic Culot  <frederic@culot.org>

	* src/day.c (day_process_storage): store_day moved to
	day_process_storage
	
	* src/vars.h: enum window_number moved to vars.h and became
	window_e
	window_t type created

	* src/day.h: day_items_nb_t added

	* src/*: several routines updated to make use of the newly created
	window_t type

2007-07-01  Frederic Culot  <frederic@culot.org>

	* src/calendar.c (calendar_date_thread): new function to check for
	day changes (thanks Jupp for reporting the problem)
	
	* src/calendar.[ch]: code cleanup: global variables today and
	slctd_day moved to calendar.c and date_t type created
	
	* src/calendar.c (calendar_store_current_date)
	(calendar_get_slctd_day, calendar_get_slctd_day_sec)
	(calendar_init_slctd_day, calendar_move_up, calendar_move_down)
	(calendar_move_left, calendar_move_right)
	(calendar_set_first_day_of_week)
	(calendar_change_first_day_of_week)
	(calendar_week_begins_on_monday): new functions

2007-05-22  Frederic Culot  <frederic@culot.org>

	* === Released 1.8 ===

	* NEWS: 
	* doc/*.html:
	* po/*.po: updates

2007-05-12  Frederic Culot  <frederic@culot.org>

	* doc/manual_fr.html:
	* doc/manual_en.html: French and English manuals updated

2007-05-06  Frederic Culot  <frederic@culot.org>

	* src/utils.c (del_char): make use of memmove
	
	* src/vars.h: layout variable added to conf_t type

	* src/custom.c (custom_load_conf): code cleanup
	
	* bugfixes:
	    layout is now correctly restored (thanks Jose for reporting
	    that bug)
	    getstring() now properly handles erasing of characters
	    apad width is now correctly updated when changing layout
	    notify bar init sequence modified to avoid a possible segfault
	    right part of progress bar now properly displayed
	    item ending time is now assigned to correct day in day_edit_item()

2007-04-24  Frederic Culot  <frederic@culot.org>

	* src/custom.c (custom_color_config): made more robust regarding
	values returned by pair_content()
	Many thanks to Herbert for reporting bugs related to color
	configuration

2007-04-22  Frederic Culot  <frederic@culot.org>

	* src/custom.c (custom_color_theme_name): update to handle ncurses
	different returned values (depending on if ncurses was compiled
	with --enable-ext-funcs)

2007-04-21  Frederic Culot  <frederic@culot.org>

	* src/custom.c (custom_color_config): modified to take terminal's
	vertical length into account
	
	* src/custom.c (custom_color_theme_name): update to handle
	colorless theme

2007-04-15  Frederic Culot  <frederic@culot.org>

	* === Released 1.8_beta ===

	* src/args.c (help_arg): updated to display help for the --export
	argument
	
	* src/args.c (usage): update
	
	* src/calcurse.1: manpage updated
	
	* doc/manual_en.html: english manual updated
	
	* configure.ac: updated to check for new header files

2007-04-14  Frederic Culot  <frederic@culot.org>

	* bugfixes:
	    wrong define used in notify_update_bar()
	    recurrent appointment description is now loaded correctly while the
	    item contains exceptions
	    item state is now saved for endless recurrent appointments
	    correct item is now highligthed when changing day inside appointment
	    panel with CTRL keys

	* src/notify.c (notify_catch_children, notify_thread_children):
	function suppressed, because zombie processes are now catched
	using signals
	* src/calcurse.c (sigchld_handler, init_sighandler): new functions

2007-04-04  Frederic Culot  <frederic@culot.org>

	* src/*: MAX_LENGTH replaced by stdio.h's BUFSIZ
	use of MININSEC and DAYINSEC defines

	* src/day.c (day_edit_item): typestr size corrected
	
	* src/utils.c (date_sec2date_str): bugfix: 01/01/1970 is not
	returned anymore if 0 is given to date_sec2date_str() 

2007-03-24  Frederic Culot  <frederic@culot.org>

	* TODO: update

	* src/help.c: online help updated to add the export and flag
	command
	
	* src/args.c (parse_args): '-x' flag added to export data in
	non-interactive mode
	
	* src/notify.c (notify_init_vars): init_notify_bar() moved from
	calcurse.c to notify_init_vars()
	
	* src/custom.c (custom_load_conf): load_conf() moved from
	calcurse.c to custom_load_conf()
	fill_config_var() moved from calcurse.c to custom.c
	
	* src/io.c (io_extract_data, io_save_cal): extract_data() renamed
	to io_extract_data() and save_cal() to io_save_cal()
	
	* src/vars.h: conf_t type created

2007-03-19  Frederic Culot  <frederic@culot.org>

	* src/utils.c (status_bar): update to add 'X' and '!' keybindings

2007-03-17  Frederic Culot  <frederic@culot.org>

	* src/vars.h: HOURINSEC and MININSEC defined

	* src/io.c (io_export_events, io_export_recur_events)
	(io_export_recur_apoints, io_recur_type, io_export_valarm): new
	functions

	* src/io.c (progress_bar): update to display a bar when exporting
	data
	
2007-03-12  Frederic Culot  <frederic@culot.org>

	* src/utils.c (date_sec2ical_datetime, date_sec2ical_date): new
	functions

	* src/io.c (io_export_apoints): update to call
	date_sec2ical_datetime()
	
2007-03-11  Frederic Culot  <frederic@culot.org>

	* src/calcurse.c: 'X' command added, to export data in iCal format
	
	* src/io.c (io_export_data, io_get_export_stream)
	(io_export_header, io_export_footer, io_export_todo)
	(io_export_apoints): new functions
	
2007-03-10  Frederic Culot  <frederic@culot.org>

	* src/calcurse.c: global variable 'colr' suppressed
	
	* src/io.c (save_cal): modified to save new version of
	user-defined color theme
	
	* src/custom.c (custom_color_theme_name): new function to return
	color theme name
	
	* src/custom.c (custom_load_color): update to load new version of
	user-defined color theme

	* src/recur.c (recur_item_inday): improved, thanks to Tony's patch

2007-03-04  Frederic Culot  <frederic@culot.org>

	* src/custom.c (custom_color_config): color_config() rewritten and
	changed to custom_color_config(), to allow more color choices and
	the use of terminal's default background color
	
	* src/custom.c (custom_load_color): new function
	
	* border_color() and border_nocolor() updated to take into account new
	color definitions 
	update_windows() updated to avoid the use of the 'colr' variable
	
2007-02-28  Frederic Culot  <frederic@culot.org>

	* bugfix: CTRL-D problems while editing items fixed
	Thanks Toucouch for reporting this bug

2007-02-25  Frederic Culot  <frederic@culot.org>

	* src/notify.c (init_notify_bar): update to get user shell

	* src/notify.c (notify_launch_cmd): new function to launch
	user-defined command by forking a new process
	
	* src/notify.c (notify_catch_children, notify_thread_children):
	new functions to avoid zombie processes when launching
	user-defined command
	
2007-02-24  Frederic Culot  <frederic@culot.org>

	* src/calcurse.c: '!' command added, to switch appointment
	notification state
	
	* init_notify_bar(), config_notify_bar() and print_notify_options()
	modified to add the notification command option

	* src/apoint.c (apoint_switch_notify): new function

	* src/recur.c (recur_apoint_switch_notify): new function

	* src/day.c (day_item_nb): new function
	
	* save_cal(), recur_apoint_write(), and apoint_write() updated 
	to save item state to disk
	
	* load_app(), load_conf(), apoint_scan(), recur_apoint_scan(), 
	apoint_new() and recur_apoint_new() updated to read item state

2007-01-20  Frederic Culot  <frederic@culot.org>

	* === Released 1.7 ===

	* TODO: list updated
	
	* NEWS: file updated

2007-01-17  Frederic Culot  <frederic@culot.org>

	* doc/manual_es.html:
	* po/es.po: Spanish manual and translation updated, many thanks to
	Jose
	
2007-01-16  Frederic Culot  <frederic@culot.org>

	* src/utils.c (getstring): better handling of return values to
	take into account user canceling

	* po/de.po: German translation updated

	* TODO: file updated
	
	* calcurse version updated to 1.7 and copyright extended to 2007
	
	* doc/*.html: html manuals updated because 'calcurse -ta' cannot
	be used any longer

2007-01-10  Frederic Culot  <frederic@culot.org>

	* doc/manual_de.html:
	* po/de.po: German manual and translation updated, many thanks to
	Chris M.
	
	* bugfix: Edit command no longer crashes when trying to edit an
	unexisting item
	
	* bugfix: pressing 'CTRL-T' while inside appointment panel no
	longers create an appointment but a todo, as expected
	
	* src/calendar.c (goto_day): better checking of the entered date

2006-01-05  Frederic Culot  <frederic@culot.org>

	* src/args.c (next_arg): newline suppressed

2006-12-21  Frederic Culot  <frederic@culot.org>

	* src/day.c (day_write_pad): 
	* src/calcurse.c (update_todo_panel): display adjustments

2006-12-19  Frederic Culot  <frederic@culot.org>

	* bugfix in init_wins(): max label length is now MAX_LENGTH

	* src/day.c (day_edit_item): bugfix: end time does not change if
	start time is edited
	
	* po/fr.po: french translation updated
	
	* README: update

2006-12-18  Frederic Culot  <frederic@culot.org>

	* === Released 1.7_beta ===
	
	* src/utils.c (getstring): CTRL-K now works properly

2006-12-15  Frederic Culot  <frederic@culot.org>

	* TODO: file updated: one more thing to improve...
	
	* small bugfixes

2006-12-14  Frederic Culot  <frederic@culot.org>

	* improvements in the memory deallocation in day_edit_item(),
	updatestring(), next_arg()

	* src/utils.c (updatestring): now returns a value indicating if
	there was a canceling when modifying text
	
	* TODO: update

2006-12-13  Frederic Culot  <frederic@culot.org>

	* src/todo.c (todo_new_item): call to getstring() corrected
	
	* doc/*.html: documentation about the built-in input line editor
	added

	* src/utils.c (item_in_popup): improved to replace the scroller()
	function by an ncurses pad
	scroller() function suppressed

2006-12-12  Frederic Culot  <frederic@culot.org>

	* doc/manual_en.html:
	* doc/manual_fr.html: english and french html manuals updated
	
	* src/help.c: help screen updated for repeat command

2006-12-11  Frederic Culot  <frederic@culot.org>

	* src/help.c (help_arg): updated to take long options into account
	
	* src/calcurse.1: manpage updated

2006-12-10  Frederic Culot  <frederic@culot.org>

	* src/help.c: help screen added for the 'Edit Item' command
	
	* date format modified for the 'Go To' command 

2006-12-08  Frederic Culot  <frederic@culot.org>

	* src/day.c (day_edit_item): finished
	* src/day.c (day_edit_time): new function
	* src/day.c (day_erase_item): updated to add the 'force_erase'
	flag
	
	* src/recur.c (recur_get_event, recur_get_apoint): new functions
	
	* datesec2str() changed to date_sec2hour_str(), and
	date_sec2date_str() created
	update_time_in_date() created

2006-12-01  Frederic Culot  <frederic@culot.org>

	* datesec2str() created

2006-11-30  Frederic Culot  <frederic@culot.org>

	* 'Edit Itm' command added in the status bar

	* src/day.c (day_edit_item): new function

2006-11-28  Frederic Culot  <frederic@culot.org>

	* add_char() modified to use memmove() instead of memcpy()

2006-11-02  Frederic Culot  <frederic@culot.org>

	* getstring() modified to take the max string length as an
	argument
	
	* updatestring() and todo_edit_item() created
	
	* add_char() simplified, using memcpy()
	
	* 'E' key added to edit already existing items

2006-10-28  Frederic Culot  <frederic@culot.org>

	* getstring() improved to allow the modification of an existing
	string
	
	* showstring(), showcursor(), add_char() and delete_char() created
	
	* getstring() calls in todo_new_item(), recur_repeat_item(),
	goto_day(), config_notify_bar() and add_item() updated
	
	* display_item(), display_item_date() and day_write_pad() updated
	to add an asterisk in front of recurrent items 

2006-10-17  Frederic Culot  <frederic@culot.org>

	* src/args.c (parse_args): use of getopt_long() instead of getopt,
	to make the '-t' priority number optional, and to allow the use of
	long options 
	
	* configure.ac: check for getopt.h header file added

2006-10-16  Frederic Culot  <frederic@culot.org>

	* bugfix: when creating a recurrent item, the entered end-date is
	now included again
	
	* '-t' flag now takes a priority number for argument

2006-10-01  Frederic Culot  <frederic@culot.org>

	* === Released 1.6 ===
	
	* doc/manual_de.html:
	* po/de.po: german manual and translation updated by Chris M.
	
	* bugfix: CTRL-J now works properly

	* bugfix: a number of minutes can no longer be entered while
	creating a new appointment
	
	* TODO: list updated

	* NEWS: file updated

2006-09-25  Frederic Culot  <frederic@culot.org>

	* doc/manual_es.html:
	* po/es.po: spanish translation and manual updated by Jose Lopez

2006-09-22  Frederic Culot  <frederic@culot.org>

	* doc/manual_es.html: spanish manual updated by Jose Lopez
	
	* src/Makefile.am: bugfix: LOCALEDIR is now defined in
	src/Makefile.am instead of configure.ac, to prevent from
	conflicting definitions. Thanks to Jose for reporting that bug.
	
2006-09-19  Frederic Culot  <frederic@culot.org>

	* doc/manual_fr.html:
	* doc/manual_de.html:
	* doc/manual_es.html: french, german and spanish manuals updated

2006-09-18  Frederic Culot  <frederic@culot.org>

	* added test on warning time interval in config_notify_bar()
	
	* print_general_options() modified to print text one line upper
	
	* bugfix: pressing enter no longer switches to next week in
	calendar panel
	
	* doc/manual_en.html: update

2006-09-17  Frederic Culot  <frederic@culot.org>

	* config_notify_bar() improved

	* getstring() improved to check for escape sequence

	* src/help.c (help_screen): update
	
	* po/fr.po: french translation updated

2006-09-16  Frederic Culot  <frederic@culot.org>

	* '-n' flag implemented

	* src/args.c (parse_args, help_arg, usage): updates

	* next_arg(), now() created

	* src/calcurse.1: manpage updated
	
	* notify_app_s structure updated

	* apoint_check_next(), recur_apoint_check_next() and
	recur_repeat_item() updated
	
	* config_notify_bar() and print_notify_options() improved
	
	* src/utils.c (mycpy): new function

2006-09-15  Frederic Culot  <frederic@culot.org>

	* nbar_s structure created to store notify-bar settings
	
	* save_cal() and load_conf() updated to write and read the user
	configuration concerning the notify-bar
	
	* init_var(), help_screen() and config_bar() updated
	
	* config_notify_bar(), print_notify_options(), init_notify_bar(),
	notify_bar(), notify_start_main_thread() and
	notify_stop_main_thread() created
	
2006-09-14  Frederic Culot  <frederic@culot.org>

	* fixed a bug which caused the recurrent appointments not to show
	up in the notify-bar
	
	* added the time left before next appointment inside notify-bar
	
	* fixed a bug in recur_item_inday() which caused the appointments
	to have a wrong start time when repeated
	
	* bugfix: no more deletion of the wrong recurrent appointment
	
	* today() created
	
	* notify_check_added(), notify_check_repeated() and
	notify_same_item(), notify_same_recur_item() created

2006-09-12  Frederic Culot  <frederic@culot.org>

	* implementation of a mutex lock to protect the appointment linked
	lists from race conditions
	
	* src/apoint.c (apoint_llist_init): new function

	* src/recur.c (recur_apoint_llist_init): new function

	* several routines in apoint.c and recur.c updated to take those
	new lists structure into account	

2006-09-11  Frederic Culot  <frederic@culot.org>

	* po/es.po: small bugfixes
	
	* src/vars.h: DAYINSEC moved from recur.c to vars.h
	
	* src/apoint.c (apoint_check_next): new function

	* src/recur.c (recur_apoint_check_next): new function

	* src/notify.c (notify_check_next_app, notify_thread_app): new
	functions

2006-09-09  Frederic Culot  <frederic@culot.org>

	* src/Makefile.am: update to take notify.h and .c into account,
	and link to lpthread added
	
	* configure.ac: added test for pthread library and switched to 1.6
	
	* help window size updated to take notification bar into account
	
	* src/notify.[ch]: new files

	* src/notify.c (notify_init_bar, notify_reinit_bar)
	(notify_update_bar, notify_extract_aptsfile, notify_thread_sub):
	new functions
	
	* Makefile.am: updated to add the spanish manual
	
	* doc/manual_es.html:
	* po/es.po: spanish manual and translations added, many thanks to
	Jose for providing them
	
	* doc/*.html: manuals updated (thanks section)

2006-09-08  Frederic Culot  <frederic@culot.org>

	* fixed a bug appearing when trying to delete a newly repeated
	item
	
2006-09-07  Frederic Culot  <frederic@culot.org>

	* fixed a bug which prevented status bar keybindings from being
	translated
	
	* src/recur.c (recur_repeat_item): the repeated end date can no
	longer be before the item start time. Thanks Chris for reporting
	that bug
	
	* po/fr.po: french translation updated
	
	* TODO: list updated

2006-09-06  Frederic Culot  <frederic@culot.org>

	* src/utils.c (status_bar): rewritten from scratch to allow more
	than one page of keybindings
	* src/utils.c (reset_status_page, other_status_page): new
	functions
	
	* src/calcurse.c: 'O' keybinding added to switch between status
	bar pages

	* general keybindings added which apply whatever panel is selected
	(^A, ^T, ^H, ^J, ^K, ^L)
	
	* changed the redraw keybinding from ^L to ^R

	* src/help.c: added help pages concerning the general bindings and
	the 'O' command
	
2006-09-03  Frederic Culot  <frederic@culot.org>

	* src/args.c (todo_args): update to display priorities

	* po/fr.po: new entries translated and fixed 'fuzzy' translations
	
	* layout_config() improved, and new layout configurations added
	
	* get_screen_config() updated to take new layouts into account
	
	* TODO: list updated

2006-09-02  Frederic Culot  <frederic@culot.org>

	* src/help.c: help text added for the 'Priority' function and
	updated for the 'Add' function
	
	* src/todo.c (todo_get_position): fixed a possible infinite loop
	
	* src/calcurse.c: improved the ToDo panel scrolling while changing
	item priority
	
	* src/day.c (day_write_pad): fixed a bug which could cause a
	misplacement of the line between events and appointments

2006-08-31  Frederic Culot  <frederic@culot.org>

	* src/todo.c (todo_chg_priority, todo_get_item)
	(todo_get_position): new functions
	* src/todo.c (todo_insert): suppressed
	* src/todo.c (todo_new_item): updated to ask for priority
	* src/todo.c (todo_add): updated to sort items by priority order
	* src/todo.c (update_todo_panel): updated to display todo priority
	
	* '+/-' menu added to handle todo priorities

2006-08-30  Frederic Culot  <frederic@culot.org>

	* 'id' added to todo_s structure
	* load_todo() and save_cal() updated to take this id into account

	* src/todo.c (todo_new_item): moved add_todo() from calcurse.c to
	todo_new_item()
	
	* bugfix: pressing 'R' while no item was selected caused a
	segfault. Thanks to Chris for reporting that bug

2006-08-26  Frederic Culot  <frederic@culot.org>

	* === Released 1.5 ===

2006-08-25  Frederic Culot  <frederic@culot.org>

	* src/io.c (load_app): fixed a data format bug
	
	* src/day.c: events and appointments are now sorted properly
	
2006-08-24  Frederic Culot  <frederic@culot.org>

	* src/recur.c: forgot to wait for user's key pressed...
	
	* repeat command disabled for todo panel

	* configure.ac:
	* src/calcurse.1: switched to version number 1.5
	
	* doc/*.html: manuals thanks section updated

2006-08-23  Frederic Culot  <frederic@culot.org>

	* independant status bar created for the todo panel
	
	* src/day.c: fixed a memory allocation problem
	
	* src/help.c: online help text updated for the repeat and delete
	commands
	
2006-08-22  Frederic Culot  <frederic@culot.org>

	* src/recur.c: compilation warnings corrected
	
	* src/calcurse.c (add_item): screen refreshing process ameliorated
	
2006-08-21  Frederic Culot  <frederic@culot.org>

	* po/en.po:
	* po/de.po: English and German translation added
	
2006-08-19  Frederic Culot  <frederic@culot.org>

	* src/io.c: fixed a bug that could cause a fatal error when
	loading from file an endless recurrent item with non-repeated days 
	
	* src/recur.c: fixed a bug which could result in an infinite loop
	when saving multiple days 
	
	* src/calcurse.c: a newly created appointment or event is now
	correctly highlighted
	
	* src/recur.c (recur_repeat_item): updated to check if the
	frequence is valid
	
2006-08-16  Frederic Culot  <frederic@culot.org>

	* src/recur.c (recur_exc_scan): new function

	* src/recur.c (recur_event_new, recur_apoint_new): update to take
	non-repeated days into account

2006-08-06  Frederic Culot  <frederic@culot.org>

	* src/recur.c (recur_item_inday): update to take non-repeated days
	into account
	
	* src/recur.c (recur_repeat_item, day_get_item): new functions
	
	* 'R' menu key added to repeat an event or an appointment
	
2006-08-02  Frederic Culot  <frederic@culot.org>

	* bugfix: Debian bug #377543 fixed, thanks to Neil for reporting
	it
	
	* src/recur.c (recur_event_erase, recur_apoint_erase)
	(recur_write_exc): new functions
	* src/recur.c (recur_event_write, recur_apoint_write): update to
	call recur_writ_exc() if there are exceptions to be written
	
	* src/day.c (day_erase_item, del_item): updates
	
	* ESCAPE key definition added

2006-08-01  Frederic Culot  <frederic@culot.org>

	* src/day.h: MAX_TYPES added
	
	* src/day.c (day_erase_item): new function

	* del_apoint() renamed to del_item and updated to take recurrent
	items into account 

2006-07-27  Frederic Culot  <frederic@culot.org>

	* back to work after my ibook's logic board crash :(
	
	* autogen.sh: new file

2006-06-25  Frederic Culot  <frederic@culot.org>

	* src/args.c (app_arg): updated to take recurrent items into
	account
	
	* src/recur.c (recur_apoint_s2apoint_s): new function
	
	* added help text concerning possible formats to be entered when
	using '-h' flag in non-interactive mode
	
	* fixed a bug related to localtime() which returns a statically
	allocated structure that can be overwritten by subsequent calls
	to the function (which was the case with recurrent items)
	
	* load_app(), recur_event_scan(), recur_apoint_scan(),
	recur_item_inday(), recur_event_write() and recur_apoint_write()
	updated to take endless recurrent items into account
	
2006-06-24  Frederic Culot  <frederic@culot.org>

	* cvs keywords added inside source files
	
	* apoint_sec2str() and display_item_date() modified to take
	recurrent items into account
	
	* src/day.c (day_check_if_item): new function
	
2006-06-18  Frederic Culot  <frederic@culot.org>

	* src/day.c (day_store_recur_events, day_store_recur_apoints): new
	functions
	
	* src/recur.c (recur_item_inday): new function
	
2006-06-17  Frederic Culot  <frederic@culot.org>

	* src/day.c (day_popup_item): new function

	* src/day.c (day_store_items): pointers to number_events_inday and
	number_apoints_inday passed to day_store_items()
	
	* src/day.c (day_write_pad): update to reallocate memory for
	day_saved_item structure
	
2006-06-16  Frederic Culot  <frederic@culot.org>

	* src/day.c (day_free_list): free_aday() and free_eday()
	suppressed and replaced by day_free_list()
	
	* src/day.c (day_store_items): new function
	
	* store_day() updated to call day_store_items()
	
	* src/day.c (day_store_events, day_store_apoints): eday_store()
	and aday_store suppressed and replaced by day_store_events() and
	day_store_apoints()
	
	* src/day.c (day_add_event, day_add_apoint): edayadd() and
	edayadd() suppressed and replaced by day_add_event() and
	day_add_apoint()
	
	* src/day.c (day_write_pad): write_app_pad() suppressed and
	replaced by day_write_pad()
	
	* src/day.c (day_item_s2apoint_s): new function

2006-06-14  Frederic Culot  <frederic@culot.org>

	* src/day.[ch]: new files created to store processes related to
	the currently selected day inside calendar (this is to ease the
	implementation of recursive items)
	
	* src/Makefile.am: update

2006-06-08  Frederic Culot  <frederic@culot.org>

	* src/recur.c (recur_save_data, recur_char2def): new functions
	
2006-06-07  Frederic Culot  <frederic@culot.org>

	* src/recur.c (recur_apoint_scan, recur_event_scan): new functions
	
	* load_app() updated to read recursive events from file

2006-06-06  Frederic Culot  <frederic@culot.org>

	* bugfix: Debian Bug Report #369550 regarding the segfault which
	appeared when calcurse was launched in non-interactive mode
	without data files
	
	* src/recur.[ch]: new files added to implement recursive events
	
	* src/Makefile.am: update
	
	* src/recur.c (recur_event_new, recur_apoint_new, recur_def2char)
	(recur_apoint_write, recur_event_write): new functions

2006-05-15  Frederic Culot  <frederic@culot.org>

	* === Released 1.4 ===
	
	* TODO: 
	* README: 
	* src/calcurse.1:
	* doc/*.html: updates

2006-05-13  Frederic Culot  <frederic@culot.org>

	* NEWS: file updated

2006-05-11  Frederic Culot  <frederic@culot.org>

	* doc/manual_de.html: manual finished, many thanks to Michael
	Schulz
	
	* doc/manual_fr.html: update

2006-05-08  Frederic Culot  <frederic@culot.org>	

	* doc/manual_en.html: update
	
	* bugfix: added test at the end of color_config() to check the
	need of using colorization or not
	
2006-05-07  Frederic Culot  <frederic@culot.org>

	* po/fr.po: french translation finished
	
	* src/calcurse.1: manpage updated
	
2006-06-05  Frederic Culot  <frederic@culot.org>

	* configure.ac: added LOCALEDIR definition
	
	* usage_try() created

2006-04-27  Frederic Culot  <frederic@culot.org>

	* configure.ac:
	* src/vars.h: removed VERSION definition from vars.h to only use
	the one from configure.ac
	
	* src/calcurse.c: include config.h
	
2006-04-26  Frederic Culot  <frederic@culot.org>

	* updated exit() calls by using EXIT_SUCCESS and EXIT_FAILURE
	
	* end of source preparation for i18n
	
	* replaced required confirmation string from 'yes' and 'no' to 'y'
	and 'n'
	
	* 'gettextization' of source package:
	  Makefile.am (SUBDIRS): Add po.
	  (ACLOCAL_AMFLAGS): New variable.
	  (EXTRA_DIST): Add config.rpath, mkinstalldirs, m4/ChangeLog.
	  configure.ac (AC_OUTPUT): Add po/Makefile.in.

2006-04-25  Frederic Culot  <frederic@culot.org>

	* updated parts related to general config variables to handle
	i18n:
	   general config variables type changed to boolean
	   fill_config_var() created
	   switch_option() suppressed

2006-04-23  Frederic Culot  <frederic@culot.org>

	* progress_bar() modified to better fit the data file structure
	
	* user_conf_t created to allow translation of configuration
	variables
	
2006-04-22  Frederic Culot  <frederic@culot.org>

	* translatable strings marked for i18n
	
	* doc/manual_de.html: new manual (german translation of calcurse
	manual, thanks to Michael Schultz)
	
2006-04-20  Frederic Culot  <frederic@culot.org>

	* src/i18n.h: new file added to prepare for internationalization
	
	* src/Makefile.am: update
	
2006-04-18  Frederic Culot  <frederic@culot.org>

	* code cleanup: color_config() simplified
	
2006-04-17  Frederic Culot  <frederic@culot.org>	

	* variable 'colorize' added
	
	* color number '0' added to be able to run calcurse in black&white
	even on color terminals

2006-04-16  Frederic Culot  <frederic@culot.org>

	* border_nocolor() created to correctly handle panel borders in
	non-color terminals
	
	* 'week_begins_on_monday' option added, giving the ability to
	change the first day of the week (thanks to Joe's remarks)
	
2006-04-09  Frederic Culot  <frederic@culot.org>	

	* bugfix: stderr replaced by stdout in version_arg(), help_arg(),
	todo_arg(), app_arg(), date_arg(), arg_print_date(), usage()
	(thanks go to Soren for reporting that bug)
	
2006-04-08  Frederic Culot  <frederic@culot.org>

	* doc/manual_fr.html: new file containing the french manual
	translation

2006-04-05  Frederic Culot  <frederic@culot.org>

	* README: file rewritten to take into account the new
	documentation structure

2006-04-02  Frederic Culot  <frederic@culot.org>

	* support for non-color terminals added :
		window attribute levels defined in vars.h
		attribute_s structure created in custom.h
		custom_init_attr(), custom_apply_attr(), and 
		custom_remove_attr() created in custom.c
		init_vars() updated in calcurse.c
	
2006-03-30  Frederic Culot  <frederic@culot.org>

	* doc/: repertory created to contain calcurse documentation and
	its translations. 
	* Makefile.am: update to take the new repertory into
	account

2006-03-23  Frederic Culot  <frederic@culot.org>

	* manual_en.html: new file created, in order to replace the actual
	documentation contained in the README file
	
2006-03-17  Frederic Culot  <frederic@culot.org>

	* === Released 1.3 ===

	* bugfix: newpad added in init_vars to correct a bug causing core
	dump on Solaris
	
	* bugfix: no more wrong event duration when entering end time in
	[hh:mm] format
	
	* bugfix: first_todo_onscreen corrected to avoid the disappearing
	of todo items
	
	* updated the copyright text which appears with the -v flag
	
	* manpage updated
	
	* README updated
	
	* online help updated
	
	* TODO list updated

2006-03-14  Frederic Culot  <frederic@culot.org>

	* replaced true and false #define by stdbool.h

2006-03-13  Frederic Culot  <frederic@culot.org>

	* online help screens updated

2006-03-09  Frederic Culot  <frederic@culot.org>

	* typedef help_page_t added to add a title to each help page
	
	* help_screen() and write_help_pad() updated to use new
	help_page_t type

2006-03-07  Frederic Culot  <frederic@culot.org>

	* src/var.h: #define true and false added
	
	* online help screens updated
	
2006-03-06  Frederic Culot  <frederic@culot.org>

	* source file headers updated

2006-02-26  Frederic Culot  <frederic@culot.org>

	* get_help_lines() created
	
	* scrollbar added inside help screens
	
2006-02-25  Frederic Culot  <frederic@culot.org>

	* help_screen() updated, now using a pad to display help screens
	
	* write_help_pad() created
	
2006-02-19  Frederic Culot  <frederic@culot.org>

	* display structure updated to take into account the scrollbars
	
	* previous_item_mark() and next_item_mark() suppressed, scrollbar
	used instead
	
	* bugfix: hilt_tod and hilt_app were not updated when deleting an
	item
	
	* day_changed variable added and store_day() updated
	
	* bugfix: pad scrolling was not updated when deleting an item in
	the appointment panel
	
	* bugfix: scrollbar length and top position were not correct in
	some cases

2006-02-18  Frederic Culot  <frederic@culot.org>

	* enum window_number created
	
	* bugfix: start and end time now properly displayed when viewing
	an appointment in popup window
	
	* bugfix: wrong highlited item when changing day fixed
	
	* draw_scrollbar() created to display a real bar inside panels
	instead of 'v' and '^' marks
	
	* update_todo_panel() and update_app_panel updated to display the
	scrollbar
	
2006-02-16  Frederic Culot  <frederic@culot.org>

	* del_apoint() updated to take events into account
	
2006-02-11  Frederic Culot  <frederic@culot.org>

	* configure.ac: AC_HEADR_STDBOOL added
	
	* init_vars() created
	
	* do_storage variable added to check if we really need to update
	the appointment panel items inside pad
	
	* free_aday() and free_eday() created
	
2006-02-09  Frederic Culot  <frederic@culot.org>

	* pad_s structure created
	
	* get_item_line(), scroll_pad_down() and scroll_pad_up() created
	
2006-02-05  Frederic Culot  <frederic@culot.org>

	* get_item_line() created

2006-02-04  Frederic Culot  <frederic@culot.org>

	* work on the way appointment panel scrolls
	
	* updated the way appointments are displayed in popup windows
	
2006-01-28  Frederic Culot  <frederic@culot.org>

	* write_app_pad() improved
	
2006-01-26  Frederic Culot  <frederic@culot.org>

	* improved the windows refresh order in update_windows()
	
2006-01-25  Frederic Culot  <frederic@culot.org>

	* changed MAX_LENGTH to 512
	
	* the pad used to display appointments has a fixed length now
	
2006-01-14  Frederic Culot  <frederic@culot.org>	

	* store_day() created to speed up the appointment panel update
	
	* create_app_pad(), write_app_pad(), show_app_pad() created to
	improve the way appointment panel scrolls 

2006-01-10  Frederic Culot  <frederic@culot.org>

	* added ifndef..define tests at the beginning of .h

2006-01-08  Frederic Culot  <frederic@culot.org>

	* added definition of CTRL keys in vars.h
	
	* added the ability to erase characters with CTRL-H when entering
	text (to fix a problem reported by Brendan who was not able to
	delete with its English keyboard)
	
2006-01-07  Frederic Culot  <frederic@culot.org>

	* progress_bar() created in order to see progression while saving
	data to file
	
	* 'skip_progress_bar' option added
	
	* changed color 5 to be yellow on black and color 7 to be black on
	yellow (this is to draw the newly created progress bar)
	
2005-12-31  Frederic Culot  <frederic@culot.org>	

	* src/Makefile.am: removed the -lpanel
	
	* README: update
	
	* add_item() and check_time() modified so that :
		o an appointment start time can now be entered in both
		  hh:mm and h:mm formats
		o for the appointment end time, either a duration in
		  minutes or the appointment end time can be entered
	
	* help_arg() and app_arg() updated to take events into account
	when running calcurse in non-interactive mode
	
	* arg_print_date() created to simplify app_arg() structure
	
2005-12-27  Frederic Culot  <frederic@culot.org>

	* work on a better way to handle appointment and todo panels with
	the use of ncurses scrolling functions
	
2005-12-26  Frederic Culot  <frederic@culot.org>

	* bugfix: fixed compiler warnings, thanks to Uwe
	
2005-12-11  Frederic Culot  <frederic@culot.org>

	* bugfix: fixed the January 0 bug
	
	* bugfix: current date is no longer highlighted in every year of
	the future and the past (thanks to Michael for reporting that bug)
	
	* improved the way items are shown inside popup windows (variable
	'show_apoint' removed, call to item_in_popup added when 'V'
	pressed)
	
2005-12-10  Frederic Culot  <frederic@culot.org>

	* update_app_panel() and update_todo_panel() improved
	
2005-12-04  Frederic Culot  <frederic@culot.org>

	* update_app_panel() updated to show events: now events are
	displayed first in the appointment panel, followed by an
	horizontal line

	* update_cal_panel() updated to highlight days containing events
	in calendar view 

2005-12-03  Frederic Culot  <frederic@culot.org>

	* Loading of events implemented: load_app() updated
	
2005-11-30  Frederic Culot  <frederic@culot.org>	

	* Saving of events implemented 

2005-11-29  Frederic Culot  <frederic@culot.org>

	* Continuation of events item implementation
	
	* add_apts() updated (it is now called add_item) to check if
	an appointment or an event is entered
	
2005-11-28  Frederic Culot  <frederic@culot.org>

	* Replaced everything related to 'event' by 'apoint'
	to prepare the incoming event items (meaning all-day long items)
	
	* src/event.[ch]: new files to deal with events
	
	* Makefile.am: update

2005-11-26  Frederic Culot  <frederic@culot.org>

	* === Released 1.2 ===

	* Fixed problems with scroller() within the help screen
	
2005-11-20  Frederic Culot  <frederic@culot.org>

	* Improved the way help screens are refreshed
	
	* Removed call to doupdate() inside scroller(), to prevent
	redondancy
	
	* config_bar() and check_data_files() updated
	
	* 'skip_system_dialogs' option added
	
2005-11-19  Frederic Culot  <frederic@culot.org>	

	* reinit_wins() created to redraw windows after resizing or layout
	change
	
	* redraw_screen() improved and renamed it into get_screen_config()
	
	* fixed cursor position (did not manage to hide it :-(
	
2005-11-08  Frederic Culot  <frederic@culot.org>	

	* changed all mvprintvw() calls to mvwprintw(), to improve the way
	calcurse interface is refreshed. 

2005-11-06  Frederic Culot  <frederic@culot.org>

	* Work on window handling :
		o erase_panel() suppressed because no longer used

2005-11-05  Frederic Culot  <frederic@culot.org>

	* Handling of status bar improved :
		o creation of an ncurses window instead of using stdscr
		o erase_status_bar() replaced by erase_window_part()
	
	* cal_error() replaced by status_mesg()

2005-11-03  Frederic Culot  <frederic@culot.org>

	* ncurses library use improved: screen no longer flickers when
	refreshed

2005-11-02  Frederic Culot  <frederic@culot.org>

	* erase_window_part() written to erase parts of windows
	
2005-11-01  Frederic Culot  <frederic@culot.org>	

	* changed abbreviation for 'Wednesday' from 'Wen' to 'Wed'
	
	* panel library removed, calcurse does not use it anymore
	
	* work on the windows refreshing process : update_all() created
	
2005-10-29  Frederic Culot  <frederic@culot.org>

	* === Released 1.1 ===	

	* source code cleanup

2005-10-25  Frederic Culot  <frederic@culot.org>

	* bugfix : Debian Bug Report #335430 regarding the GoTo today
	function which goes to the day calcurse was started instead of
	the current day is now fixed

2005-10-23  Frederic Culot  <frederic@culot.org>

	* '-c' flag added to allow the use of multiple calendars

2005-10-20  Frederic Culot  <frederic@culot.org>

	* src/calcurse.1:
	* README: updates
	
	* configure.ac: improved with the help of Michael

2005-10-19  Frederic Culot  <frederic@culot.org>

	* '-d' flag added to list appointments for the N upcoming days or
	for a given day

2005-10-15  Frederic Culot  <frederic@culot.org>

	* Cleaning up of the source code so that it follows the K&R style
	
	* '-t' flag added to list todos in non interactive mode
	
	* '-a' flag added to list current day's appointments in non
	interactive mode

2005-10-13  Frederic Culot  <frederic@culot.org>

	* src/args.[ch]: functions created to handle command-line
	arguments

	* '-h' and -'v' flag added to display help and version in non
	interactive mode
	
2005-10-08  Frederic Culot  <frederic@culot.org>

	* === Released 1.0 (first stable release) ===		

	* help screen updated
	
	* manpage and TODO updated
	
2005-10-06  Frederic Culot  <frederic@culot.org>	

	* bugfix : Debian Bug Report #330869 regarding the October 0 which
	does not exist, is now fixed

2005-10-05  Frederic Culot  <frederic@culot.org>

	* default options "auto-save", "confirm-quit", and
	"confirm-delete" set to "yes"
	
2005-10-03  Frederic Culot  <frederic@culot.org>

	* manpage written
	
	* README updated
	
2005-09-13  Frederic Culot  <frederic@culot.org>

	* === Released 1.0rc4 ===	

	* bugfix release :
	   o  some people reported a segfault while changing general
	      options in the config screen, this no longer happens
	   o  the Makefile was not linking to proper library (-lcurse
	      instead of -lncurse), this is fixed
	   o  Calcurse no longer ends while trying to delete an event
	      which was just created (thanks to Alex's patch)
	   o  changed date format to be like September 13, 2005 instead
	      of September, 13 2005 

2005-09-11  Frederic Culot  <frederic@culot.org>

	* === Released 1.0rc3 (first public release) ===

	* adding of licence header in source files

2005-09-04  Frederic Culot  <frederic@culot.org>

	* source code splitted : creation of custom.c, custom.h

	* update of the Makefile
	
	* layout_config() : previous layout is now saved to restore it if
	no choice is made
	
	* color_config() : previous colour is also saved as in
	layout_config()
	
2005-08-31  Frederic Culot  <frederic@culot.org>

	* source code splitted : creation of vars.c, vars.h, io.c, io.h,
	help.c, help.h

	* update of the Makefile
	
	* modification of the cal_error function
	
2005-08-30  Frederic Culot  <frederic@culot.org>

	* source code splitted : creation of calendar.c & calendar.h

	* update of the Makefile

2005-08-29  Frederic Culot  <frederic@culot.org>

	* source code splitted : creation of utils.c & utils.h, update of
	the Makefile

2005-07-03  Frederic Culot  <frederic@culot.org>

	* redraw_screen() created for initialization of screen
	
	* draw_screen() optimization for slow machine
	
2005-07-02  Frederic Culot  <frederic@culot.org>

	* help screen updated
	
	* is_all_digit() created to check if a string is made of digits
	
	* check_event_time() created to check a new appointment time
	format
	
	* bugfixes:
	  * when 'G' pressed, no crash when invalid day is entered
 	  * when 'V' pressed, no crash when no event is highlited
	  * Calcurse is now started in calendar view
	  * scrolling problems fixed in app or todo view
	  * first event is highlited if it is the first time a panel is
	  visited
	  * check if an new appointment format is valid
	  * we can now move from year to year in calendar view
	  * config screen is ok in OpenBSD too now

2005-06-26  Frederic Culot  <frederic@culot.org>

	* === Version 1.0rc2 ===

	* translation of the Changelog
	
	* writing of the README file
	
	* comments in the code
	
	* use of gnu autotools for building CalCurse package

2005-06-19  Frederic Culot  <frederic@culot.org>

	* scroller() improvement : the line is cut at the end of the last
	word, not in the middle of it, and the 'next page' and 'previous
	page' function was added
	
	* bug concerning the event printing in popup windows solved

2005-06-18  Frederic Culot  <frederic@culot.org>

	* help improved

2005-06-17  Frederic Culot  <frederic@culot.org>

	* writing of a function to erase appointments

2005-06-14  Frederic Culot  <frederic@culot.org>

	* writing of a function to erase todo events
	
	* adding of the confirm_delete variable
	
2005-06-12  Frederic Culot  <frederic@culot.org>

	* improvement of the status bar, it is now dependant of the
	terminal size
	
	* adding of the terminal minimum size test
	
	* adding of a scrolling function in the ToDo panel if there is
	more events than the panel lines
	
	* creation of the ~/.calcurse repertory if it does not exist when
	CalCurse is launched

2005-06-04  Frederic Culot  <frederic@culot.org>

	* colorization of the selected event
	
	* view function created to print out an event in a popup window
	(ok for ToDo events)
	
	* active panel is now colorized
	
2005-05-26  Frederic Culot  <frederic@culot.org>

	* update_todo_panel() now improved :) (3 dots are added at the end
	of the event if it is longer than the panel size)
	
	* erase_tod() created to erase the todo panel
	
	* erase_tod(), erase_app() and erase_cal() linked in one single
	function : erase_panel()
	
	* popup() created to print a popup window

2005-05-25  Frederic Culot  <frederic@culot.org>

	* tries for improving update_todo_panel() :(

2005-05-18  Frederic Culot  <frederic@culot.org>

	* changing of the status bar (different bars for calendar and
	other panels)
	
2005-05-14  Frederic Culot  <frederic@culot.org>

	* possibility to change the selected panel with TAB key

2005-05-12  Frederic Culot  <frederic@culot.org>

	* scroller() improved
	
2005-04-20  Frederic Culot  <frederic@culot.org>

	* scroller() function created

	* help screen improved, with scroller description
	
2005-04-10  Frederic Culot  <frederic@culot.org>

	* the bug concerning the erasing of calendar lines is solved : a
	refresh() was missing :(
	
	* -> CalCurse testing version is now almost over :)

2005-04-08  Frederic Culot  <frederic@culot.org>

	* help menu improved, with a description for each possible action
	in Calcurse

2005-04-07  Frederic Culot  <frederic@culot.org>

	* adding of the auto-save and auto-confirm variables with tests
	when quitting Calcurse
	
	* adding of general options in the config menu (auto-save and
	confirm-quit added)
	
	* writing of general_config(), print_general_options(),
	switch_options and print_option_incolor()
	
	* improvement of functions to read and save user config, to take
	those two new options into account

2005-04-02  Frederic Culot  <frederic@culot.org>

	* === Version 1.0rc1 ===

	* test function (e key) suppressed
	
	* add_apts() finished
	
	* goto_day() finished (we can now enter any day to go to)
	
	* -> CalCurse v. 1.0rc1 ;)

2005-04-01  Frederic Culot  <frederic@culot.org>

	* work with Alex :
		* ToDo events are put in right order
		* writing of todo.h and todo.c
		* writing of date2sec()
		* improvement of the function to create and print the
		Appointments, which are now put in right order
		* writing of event_delete_bynum()
		* writing of a function to colorize a day which contains
		an event
		* improvement of the Makefile

2005-03-27  Frederic Culot  <frederic@culot.org>

	* do_modifs_todo() finished : the ToDo events are now properly
	erased

2005-03-06  Frederic Culot  <frederic@culot.org>

	* improvements of do_modifs_todo()

2005-03-05  Frederic Culot  <frederic@culot.org>

	* extract_data() created to read the user conf from file
	
	* extract_todo() becomes extract_data() -> the user config is now
	properly read
	
2005-03-03  Frederic Culot  <frederic@culot.org>

	* load_conf() created to load the user config

2005-03-02  Frederic Culot  <frederic@culot.org>

	* improvement of save_cal() to save the user configuration
	(creation of the file .calcurse/conf, update of check_data_files)
	
2005-03-01  Frederic Culot  <frederic@culot.org>

	* improvement of do_modifs_todo()
	
	* writing of the test function (when 'e' is pressed)
	
2005-02-27  Frederic Culot  <frederic@culot.org>

	* layout_config() finished
	
	* adding of the GPL licence

2005-02-26  Frederic Culot  <frederic@culot.org>

	* adding of the layout variable
	
	* writing of layout_config() started

2005-02-25  Frederic Culot  <frederic@culot.org>

	* adding of a DEFINE for version number
	
	* creation of the help page
	
	* creation of the configuration menu, with color changing for now
	on
	
2004-03-15  Frederic Culot  <frederic@culot.org>

	* beginning of the project