File: ChangeLog

package info (click to toggle)
libpreludedb 5.2.0-2.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,232 kB
  • sloc: ansic: 29,652; cpp: 16,567; sh: 12,736; sql: 1,436; python: 449; makefile: 291; yacc: 227; lex: 106; xml: 36
file content (14991 lines) | stat: -rw-r--r-- 582,460 bytes parent folder | download | duplicates (3)
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
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
# Generated by Makefile. Do not edit.

commit b82df2fbb3a505fa2a21e58752a9cb7b5563a198
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Sep 9 13:27:49 2020 +0200

    Update NEWS, bump version
    
    Change-Id: Ia479dddbece217eb44d5df265436bcd31ae5f4a1

 NEWS         | 8 ++++++++
 configure.ac | 6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)

commit b0a21bc8aadb58b3b3f118261742d457d188c53f
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jul 30 20:00:10 2020 +0200

    [#4084] Change company name
    
    Change-Id: Ic1719ac5d3151b94495001b8abd447318e0022c3

 HACKING.README                                        | 4 ++--
 LICENSE.README                                        | 4 ++--
 README                                                | 6 +++---
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 4 ++--
 docs/manpages/libpreludedb-config.1                   | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-insert.h       | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin                                       | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-select.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection-parser.lex.c             | 2 +-
 src/preludedb-path-selection-parser.lex.l             | 2 +-
 src/preludedb-path-selection-parser.yac.y             | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-select.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 46 files changed, 51 insertions(+), 51 deletions(-)

commit 601cd5f9880c4e50d881504d25e8a8c810ea4784
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jul 23 15:17:01 2020 +0200

    Update NEWS, bump version
    
    Change-Id: I455c0b96be58782bcccc64c288677f5f2eafe110

 NEWS         | 1 +
 configure.ac | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

commit f5267cd2059480335ccd5b80b703e1ca360fe494
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Jun 30 16:51:24 2020 +0200

    Update NEWS, bump version
    
    Change-Id: I98d4307670d0fe4d90f78c7addd90b3c123b897b

 NEWS         | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit f2279d218981ff861fefb26123f89038b1b8c53c
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Sat Jun 20 15:03:17 2020 +0200

    Update NEWS, bump version
    
    Change-Id: Iff7195b1203c42ffdbd1c82e8436efba7873f8a0

 NEWS         | 18 ++++++++++++++++++
 configure.ac | 10 +++++-----
 2 files changed, 23 insertions(+), 5 deletions(-)

commit 63996691d0cb0e4aaa5ff82f4990a17302cdba87
Author: Francois POIROTTE <francois.poirotte@c-s.fr>
Date:   Wed Jan 8 11:04:14 2020 +0100

    [#3875] Remove superfluous brackets in AC_INIT
    
    Change-Id: Ibbc2014a98fdbc360478a2c168f574bb2c10c17a

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit f4c484cb4fc8bd1c194ed9cfe5301f841573db3a
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Jan 15 12:09:07 2020 +0100

    [#3878] Copyright year update
    
    Change-Id: I6352e43e7bc0773861fe4341efaa9564ce5a478e

 LICENSE.README                                        | 2 +-
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-insert.h       | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin                                       | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-select.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection-parser.lex.c             | 2 +-
 src/preludedb-path-selection-parser.lex.l             | 2 +-
 src/preludedb-path-selection-parser.yac.y             | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-select.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 43 files changed, 43 insertions(+), 43 deletions(-)

commit 0507fffa849f15887b4a9ac4e23ed84f7d6591d5
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Oct 15 14:22:55 2019 +0200

    [#3809] Add Python 3.7/3.8 support
    
    Change-Id: Iac074a09d89763cef3221ae544b7366815ba08bb

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5f6d1c1b322e54f67c2774d50577cb713f79ffab
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Oct 18 12:05:37 2019 +0200

    [#3809] Update to SWIG 4.0.1
    
    Change-Id: I06fb2b8947135b3a68e29b74dcf8fef6ec1c2623

 bindings/python/_preludedb.cxx | 18 ++++++------------
 bindings/python/preludedb.py   | 35 +++--------------------------------
 2 files changed, 9 insertions(+), 44 deletions(-)

commit 2235984bf8081d4eb6a679606e84587253cac6ed
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Sep 12 09:33:22 2019 +0200

    [#rel3743] Escaping fixes
    
    - Properly map special LIKE _ character to ?
    - \* is mapped to *, \? to ?
    
    Change-Id: I1451a2e781b773ecc6f41720885e751152cbe36d

 src/preludedb-sql.c | 26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)

commit c7e68a283e8e2cc73315000c03f6a3acf63f9382
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Sep 13 09:36:33 2019 +0200

    Update NEWS, bump version
    
    Change-Id: Ib92ec6947e4e09275bf67942a19262362e99308c

 NEWS         | 6 ++++++
 configure.ac | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

commit 60dd14e518af933a4d0cdad5150310e0614dd2b8
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Sep 4 16:40:29 2019 +0200

    Update NEWS, bump version
    
    Change-Id: Id7d37a8f470fe6c8d83dc75d471333c36c219dcd

 NEWS         | 8 ++++++++
 configure.ac | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit 5a60a422413dfcd51cd53149808fd9f762d3aae1
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Jun 11 09:13:17 2019 +0800

    [#3614] Rewrite preludedb-admin in python, multiprocess compatible
    
    Change-Id: Iba73858b59b74b7028e9d576a70ee8ff55e17d54

 Makefile.am                     |    8 +-
 docs/manpages/preludedb-admin.1 |   15 +-
 preludedb-admin                 |  596 ++++++++++++++++
 preludedb-admin.c               | 1422 ---------------------------------------
 4 files changed, 609 insertions(+), 1432 deletions(-)

commit 5d09c22c8884ea87773cbe888b0f4b56369ce0f8
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Aug 16 18:06:44 2019 +0200

    Update NEWS, bump version
    
    Change-Id: I3fc01406d653e4d2992c127b6921a0c8dfd23182

 NEWS         | 22 ++++++++++++++++++++++
 configure.ac | 14 +++++++-------
 2 files changed, 29 insertions(+), 7 deletions(-)

commit 9498611cb6f0cad87bf6d0e299b3ffa4ab4419d2
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jul 26 15:13:05 2019 +0200

    [#3697] Add binding for preludedb_sql_unescape_binary
    
    Change-Id: I60c729561dab340d4a217a5bd0bcd535214a6c05

 bindings/c++/include/preludedb-sql.hxx   | 11 ++++-
 bindings/c++/preludedb-sql.cxx           | 29 +++++++++++-
 bindings/python/_preludedb.cxx           | 79 ++++++++++++++++++++++++++------
 bindings/python/libpreludedbcpp-python.i | 13 ++++++
 4 files changed, 114 insertions(+), 18 deletions(-)

commit 6cc79359028eb88f9bef76c68215c99ca8c8a20d
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Aug 8 12:12:33 2019 +0200

    [#3647] Pull update from SWIG repository: fix possible crash on invalid unicode string
    
    Change-Id: I81bf666ee32281754446ea00008b75c0404088fe

 bindings/python/_preludedb.cxx | 64 +++++++++++++++++-----------------------
 bindings/python/pystrings.swg  | 66 ++++++++++++++++++------------------------
 2 files changed, 55 insertions(+), 75 deletions(-)

commit f4ec95aad9a4b0dfdd67b0b46c8dae1b26912b0f
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Aug 1 12:27:42 2019 +0200

    [#3723] Update to SWIG 4
    
    Change-Id: Ic3552bcb7dde1ede74fc8cc83c0b18a9a64bace6

 bindings/python/_preludedb.cxx | 2339 +++++++++++++++++-----------------------
 bindings/python/preludedb.py   |  103 +-
 2 files changed, 1033 insertions(+), 1409 deletions(-)

commit e2714fc82f493844d4baa16bb3d13dbaee41486d
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Jun 11 08:59:12 2019 +0800

    [#rel3614] Implement DB::get_sql()
    
    Change-Id: Id37603af7f0f307e9ab6ecfc0ae27eb9f9da2ab2

 bindings/c++/include/preludedb-sql.hxx |   6 +-
 bindings/c++/include/preludedb.hxx     |   1 +
 bindings/c++/preludedb-sql.cxx         |  20 +++-
 bindings/c++/preludedb.cxx             |   7 ++
 bindings/python/_preludedb.cxx         | 194 +++++++++++++++++++++++++++++----
 5 files changed, 205 insertions(+), 23 deletions(-)

commit e52944ba58b3eccb860688dfe42f353f0237c077
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Jun 11 08:58:15 2019 +0800

    [#rel3614] Provide bindings for DB object transaction
    
    Change-Id: I29bb9eeca698bb77335f6f08e1b2891f11224c17

 bindings/c++/include/preludedb.hxx |  4 ++
 bindings/c++/preludedb.cxx         | 31 +++++++++++++
 bindings/python/_preludedb.cxx     | 93 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 128 insertions(+)

commit 0e4eb5f6801eba85e2158e998fa3f3111bbf6d29
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Jul 2 12:55:45 2019 +0200

    [#rel3547] Support AVG function on integer fields
    
    Change-Id: Ied222d78ffe0f9671da59400503b8c37869ac44f

 src/preludedb-sql-select.c | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

commit 1055204099074e36525ccd1e8a65f8f2f80f6682
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Jun 19 14:46:42 2019 +0200

    [#3547] Support the SUM function
    
    Change-Id: I2b0fdee27dc7605cccc5ca348cb0da1f6b84c9e2

 src/include/preludedb-path-selection.h    |   1 +
 src/preludedb-path-selection-parser.lex.c | 842 +++++++++++++++++++-----------
 src/preludedb-path-selection-parser.lex.h | 485 ++++++++++++++---
 src/preludedb-path-selection-parser.yac.c | 295 ++++++-----
 src/preludedb-path-selection-parser.yac.h |  12 +-
 src/preludedb-path-selection-parser.yac.y |   1 +
 src/preludedb-path-selection.c            |  18 +
 src/preludedb-sql-select.c                |   3 +
 8 files changed, 1134 insertions(+), 523 deletions(-)

commit 93a4666bef0cb0395cf9e6b8fb6bcb024c890ec1
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Jun 11 08:45:00 2019 +0800

    [#rel3614] Make db->connect() and db->close() API public
    
    Change-Id: I9e50d4955649040c2e053ececdff1a22ff89d545

 bindings/c++/include/preludedb-sql.hxx |  2 +
 bindings/c++/preludedb-sql.cxx         | 20 ++++++++
 bindings/python/_preludedb.cxx         | 91 ++++++++++++++++++++++++++++------
 src/include/preludedb-sql.h            |  3 ++
 src/preludedb-sql.c                    | 22 +++++++-
 5 files changed, 120 insertions(+), 18 deletions(-)

commit 53ea5ba351d4ba5d171389a2f6518911b3a77c8f
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Jul 17 17:16:15 2019 +0200

    Update NEWS, bump version
    
    Change-Id: I0b93b61e4bfdbea20a740cc39fcb64fe88c46b45

 NEWS         | 12 ++++++++++++
 configure.ac |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

commit 5ac2ac1dbb21e6a4947538c0a7c73e341601690d
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jun 24 14:30:22 2019 +0200

    [#rel3614] Classic is now multiprocess safe
    
    Change-Id: I651603ef62dd368e60c3ab5901153e425bc3b159

 plugins/format/classic/classic-insert.c | 35 ++-------------------------------
 1 file changed, 2 insertions(+), 33 deletions(-)

commit 274871a0c49de3459efb96d60ca56c91f28bc977
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jun 24 14:52:29 2019 +0200

    [#rel3614] get_last_insert_ident support for sqlite3
    
    Change-Id: I8758f290a5815aae71ace180468c4b0856a94c8e

 plugins/sql/sqlite3/sqlite3.c | 8 ++++++++
 1 file changed, 8 insertions(+)

commit b0fc5882dfa4a0f909aaf9f752c4bd9c03a9290d
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Jun 11 08:55:30 2019 +0800

    [#rel3614] Fix invalid free with NULL selection
    
    Change-Id: Ibc3c012d2b4bd6a8f919aa5f2f722f50779a91b1

 bindings/c++/preludedb.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 9677949b00a4f27725adc53c1c400d7978b197c3
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Mar 15 14:26:56 2019 +0100

    Update NEWS, bump version
    
    Change-Id: Iee459d348a953ec04e39cd69d9bf5d19c1b496f8

 NEWS         | 12 ++++++++++++
 configure.ac | 10 +++++-----
 2 files changed, 17 insertions(+), 5 deletions(-)

commit b788c53f65d62db46f34c721bcf4e71e4aab9110
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jan 3 13:42:38 2019 +0100

    [#3381] Copyright year update
    
    Change-Id: I4c9246a12076c9fe616748b9070fb5ca3077848e

 LICENSE.README                                        | 2 +-
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-insert.h       | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin.c                                     | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-select.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection-parser.lex.l             | 2 +-
 src/preludedb-path-selection-parser.yac.y             | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-select.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 42 files changed, 42 insertions(+), 42 deletions(-)

commit dbfc183b7881ec8a55a7e80aece7ebd9f0fe7e0d
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Nov 6 17:01:39 2018 +0800

    [#3318] Prelude Table refcount overflow for selection with > 65535 rows
    
    Since each individual row reference the table, we can easily overflow the 16 bits
    refcount.
    
    Change-Id: I9cfe16422e706165da4d8aa3ff1c55a132207154

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 33d55a084619016e3b8751d57a996e92d14ecd44
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Sep 27 14:30:10 2018 +0200

    [#3293, #ext866] Fix manpage warning
    
    Change-Id: I2a5b71791b1f2eebb87e6acc8e0a45259bf31f71

 docs/manpages/libpreludedb-config.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c34830a793c8b670cfaaf0879b8a5a545ef33f59
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 3 11:04:58 2018 +0800

    [#rel3296] Add missing =*, !=* operator
    
    Change-Id: Ife0c4dbb3fe0a94d18abcb43ccab6412d448ce0f

 plugins/sql/pgsql/pgsql.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

commit 19620181344f87a4265dc0410516db525165b13e
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 11 16:01:18 2018 +0800

    [#3296] Support NOT criterion
    
    Change-Id: I76462c3556d58714b922fd4fb511edebcff25e85

 plugins/format/classic/classic-path-resolve.c | 22 +++++++++--------
 src/preludedb-sql.c                           | 35 +++++++++++----------------
 2 files changed, 26 insertions(+), 31 deletions(-)

commit a32ff6db979aec79f5bdec0999615244b794c945
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Sep 6 15:20:51 2018 +0200

    Update NEWS, bump version
    
    Change-Id: I63b8a330887feb2927d37a75286af75b24058919

 NEWS         | 8 ++++++++
 configure.ac | 6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)

commit 5b80291b4a93884bfd0e0aae740093585f5c402c
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Sep 4 14:42:12 2018 +0200

    [#3220] Update GnuLib code
    
    Based on commit 8b1d4a63e34f3893036d82f39c5680e845de5ddf (2018-09-03)
    
    Change-Id: I5a82ea5ef471673e7939130e6553ca7d242c32b0

 libmissing/Makefile.am                   | 29 +++++++++--
 libmissing/errno.in.h                    |  4 +-
 libmissing/glthread/lock.h               | 10 +++-
 libmissing/m4/extern-inline.m4           | 16 +++++-
 libmissing/m4/getpagesize.m4             | 23 +++++++--
 libmissing/m4/gnulib-cache.m4            | 21 +++++++-
 libmissing/m4/gnulib-common.m4           | 29 +++++++----
 libmissing/m4/gnulib-comp.m4             |  1 +
 libmissing/m4/host-cpu-c-abi.m4          | 89 +++++++++++++++++++++++++++++++-
 libmissing/m4/inttypes.m4                |  3 +-
 libmissing/m4/lib-link.m4                |  2 +-
 libmissing/m4/limits-h.m4                |  8 +++
 libmissing/m4/malloc.m4                  |  4 +-
 libmissing/m4/pthread_rwlock_rdlock.m4   |  8 +--
 libmissing/m4/pthread_sigmask.m4         | 70 ++++++++++++-------------
 libmissing/m4/stdint.m4                  |  5 +-
 libmissing/m4/stdio_h.m4                 |  4 +-
 libmissing/m4/threadlib.m4               | 82 ++++++++++++++++++++++++++++-
 libmissing/m4/unistd_h.m4                | 11 ++--
 libmissing/m4/warn-on-use.m4             | 40 +++++++-------
 libmissing/m4/wchar_h.m4                 | 10 ++--
 libmissing/printf-parse.c                |  2 +-
 libmissing/stdio.in.h                    |  4 +-
 libmissing/stdlib.in.h                   |  4 +-
 libmissing/sys_types.in.h                | 15 +++++-
 libmissing/tests/Makefile.am             | 11 ++--
 libmissing/tests/getpagesize.c           |  2 +-
 libmissing/tests/glthread/thread.h       | 19 ++++---
 libmissing/tests/intprops.h              | 16 +++---
 libmissing/tests/inttypes.in.h           |  6 ++-
 libmissing/tests/sigprocmask.c           |  2 +-
 libmissing/tests/sleep.c                 |  2 +-
 libmissing/tests/test-once.c             | 43 +++++++++++++++
 libmissing/tests/test-pthread_sigmask1.c |  2 +-
 libmissing/tests/test-sigprocmask.c      |  2 +-
 libmissing/tests/warn-on-use.h           | 64 +++++++++++++++--------
 libmissing/tests/zerosize-ptr.h          | 13 +++++
 libmissing/time.in.h                     |  2 +-
 libmissing/unistd.in.h                   | 44 +++++++++++++---
 libmissing/vasnprintf.c                  | 14 ++---
 libmissing/verify.h                      |  3 +-
 libmissing/warn-on-use.h                 | 64 +++++++++++++++--------
 42 files changed, 616 insertions(+), 187 deletions(-)

commit 35af745f8e7b5430e4b04eb6af6f1d86f7720aac
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Aug 17 10:07:23 2018 +0200

    Update NEWS, bump version
    
    Change-Id: I7abbcaf7e8ec48f5fc59341d3f48a9ac564f8926

 NEWS         | 16 ++++++++++++++++
 configure.ac |  4 ++--
 2 files changed, 18 insertions(+), 2 deletions(-)

commit 6eec6b60407b0fcc073c199fa4c543c7cfc53707
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Apr 19 12:30:49 2018 +0200

    [#2732] Add a unique identifier in the _format table
    
    Change-Id: I4f3157e4e366f265d5711640205e00027de3af88

 plugins/format/classic/Makefile.am            |   5 +-
 plugins/format/classic/classic.c              |   2 +-
 plugins/format/classic/mysql-update-14-8.sql  |   6 +
 plugins/format/classic/mysql.sql              |   5 +-
 plugins/format/classic/pgsql-update-14-8.sql  |   6 +
 plugins/format/classic/pgsql.sql              |   5 +-
 plugins/format/classic/sqlite-update-14-8.sql |   6 +
 plugins/format/classic/sqlite.sql             |   5 +-
 plugins/sql/mysql/mysql.c                     |  23 +++
 plugins/sql/pgsql/pgsql.c                     |  24 +++
 src/include/preludedb-plugin-sql.h            |   5 +
 src/include/preludedb-sql.h                   |  20 +++
 src/include/preludedb.h                       |   1 +
 src/preludedb-plugin-sql.c                    |  27 +++
 src/preludedb-sql.c                           | 231 +++++++++++++++++++++++++-
 src/preludedb.c                               | 114 +++++++++++--
 16 files changed, 461 insertions(+), 24 deletions(-)

commit 32783e1697feb2d98a5b25049f51e7519feb44df
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jun 7 12:05:22 2018 +0200

    [#3103] Adapt to IDMEF criteria API change
    
    Change-Id: I2f8d5eb224f5c28e15edcc8b039275061f703cc2

 plugins/format/classic/classic-path-resolve.c | 59 ++++++++++++---------------
 src/include/preludedb-sql.h                   |  2 +
 src/preludedb-sql.c                           | 20 +++++++++
 3 files changed, 49 insertions(+), 32 deletions(-)

commit ce25a1b68077e0d4e1ef4ac5a2eec669edacbfa8
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed May 23 14:30:16 2018 +0200

    [#2871] Fix SQL connection leak
    
    When an error occurred at the DB initialization
    (for instance, in case of a schema mismatch),
    the SQL object was not destroyed.
    
    Change-Id: Ifdc91d702c0eb8e7d142a2eeea78b64e14c1cc5c

 src/preludedb.c | 2 ++
 1 file changed, 2 insertions(+)

commit b43dbbff9196c3dcde7f2377047f4ad176e84cb9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jun 4 18:22:08 2018 +0800

    [#3078] Properly set top_class when there is no JOIN
    
    Change-Id: I40053f5e8c748bd05b1e232c7ee73c242419d4a2

 plugins/format/classic/classic-path-resolve.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 857de033329a002a0e87c8558b3a8adcbaab6479
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Feb 23 12:05:57 2018 +0700

    [#2897] Prevent failure on additional data type mismatch
    
    When we fail to read the data as a specific type, set the value as a string.
    
    Change-Id: I0a804df70e528d15f71d4f5e1a10b25957565aff

 plugins/format/classic/classic-get.c | 113 ++++++++++++++++++-----------------
 1 file changed, 58 insertions(+), 55 deletions(-)

commit bcb3bff1f597a6da07e3a64e6ea94c604ab0e369
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri May 4 10:09:18 2018 +0200

    Update NEWS, bump version
    
    Change-Id: Id739e0d6738ef3b0df3d5588b5967f502fe4868a

 NEWS         | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit d07cf2af999f2239586a10d8c265c1acd03f4867
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Apr 12 16:25:54 2018 +0200

    Update NEWS, bump version
    
    Change-Id: I2968a0843e5dc7dfe27c51c57fe58f929175d576

 NEWS         | 18 ++++++++++++++++++
 configure.ac | 12 ++++++------
 2 files changed, 24 insertions(+), 6 deletions(-)

commit fcc939ee7d16f28e0098c2586792a7bbb2deb3d7
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Feb 9 09:58:51 2018 +0100

    Update GnuLib code
    
    Based on commit 646a44e1b190c4a7f6a9f32c63230c619e38d251 (2018-02-04)
    
    Change-Id: Ia87f98940684f9749a30a68668b3b8c8fc3b64f9

 config.rpath                             |   2 +-
 libmissing/Makefile.am                   |  25 +-
 libmissing/alloca.in.h                   |   4 +-
 libmissing/arg-nonnull.h                 |   4 +-
 libmissing/asnprintf.c                   |   4 +-
 libmissing/c++defs.h                     |   8 +-
 libmissing/errno.in.h                    |   4 +-
 libmissing/float+.h                      |   4 +-
 libmissing/float.c                       |   4 +-
 libmissing/float.in.h                    |   8 +-
 libmissing/glthread/lock.c               |   4 +-
 libmissing/glthread/lock.h               |   4 +-
 libmissing/glthread/threadlib.c          |   4 +-
 libmissing/itold.c                       |   4 +-
 libmissing/limits.in.h                   |   4 +-
 libmissing/m4/00gnulib.m4                |   2 +-
 libmissing/m4/absolute-header.m4         |   2 +-
 libmissing/m4/alloca.m4                  |   6 +-
 libmissing/m4/asm-underscore.m4          |  72 +++++
 libmissing/m4/errno_h.m4                 |   2 +-
 libmissing/m4/exponentd.m4               |   2 +-
 libmissing/m4/extensions.m4              |  20 +-
 libmissing/m4/extern-inline.m4           |  10 +-
 libmissing/m4/fdopen.m4                  |   2 +-
 libmissing/m4/float_h.m4                 |  32 ++-
 libmissing/m4/fpieee.m4                  |   4 +-
 libmissing/m4/getpagesize.m4             |   2 +-
 libmissing/m4/gnulib-cache.m4            |   4 +-
 libmissing/m4/gnulib-common.m4           |   8 +-
 libmissing/m4/gnulib-comp.m4             |  48 +++-
 libmissing/m4/gnulib-tool.m4             |   2 +-
 libmissing/m4/host-cpu-c-abi.m4          | 369 ++++++++++++++++++++++++
 libmissing/m4/include_next.m4            |   2 +-
 libmissing/m4/intmax_t.m4                |   2 +-
 libmissing/m4/inttypes-pri.m4            |   2 +-
 libmissing/m4/inttypes.m4                |   2 +-
 libmissing/m4/inttypes_h.m4              |   2 +-
 libmissing/m4/lib-ld.m4                  |  35 ++-
 libmissing/m4/lib-link.m4                |   2 +-
 libmissing/m4/lib-prefix.m4              |  84 +++---
 libmissing/m4/limits-h.m4                |   2 +-
 libmissing/m4/lock.m4                    |   2 +-
 libmissing/m4/longlong.m4                |   2 +-
 libmissing/m4/malloc.m4                  |   8 +-
 libmissing/m4/math_h.m4                  |   5 +-
 libmissing/m4/memchr.m4                  |  33 ++-
 libmissing/m4/memrchr.m4                 |   2 +-
 libmissing/m4/mmap-anon.m4               |   2 +-
 libmissing/m4/msvc-inval.m4              |   2 +-
 libmissing/m4/multiarch.m4               |   2 +-
 libmissing/m4/off_t.m4                   |   2 +-
 libmissing/m4/onceonly.m4                |   4 +-
 libmissing/m4/printf.m4                  | 219 ++++++++++-----
 libmissing/m4/pthread_rwlock_rdlock.m4   |   2 +-
 libmissing/m4/pthread_sigmask.m4         | 279 +++++++++++++++++++
 libmissing/m4/raise.m4                   |  36 +++
 libmissing/m4/signal_h.m4                |  83 ++++++
 libmissing/m4/signalblocking.m4          |  25 ++
 libmissing/m4/size_max.m4                |   2 +-
 libmissing/m4/sleep.m4                   |  14 +-
 libmissing/m4/snprintf.m4                |   2 +-
 libmissing/m4/ssize_t.m4                 |   2 +-
 libmissing/m4/stdalign.m4                |   4 +-
 libmissing/m4/stdbool.m4                 |   6 +-
 libmissing/m4/stddef_h.m4                |   2 +-
 libmissing/m4/stdint.m4                  | 110 ++++----
 libmissing/m4/stdint_h.m4                |   2 +-
 libmissing/m4/stdio_h.m4                 |   2 +-
 libmissing/m4/stdlib_h.m4                |  17 +-
 libmissing/m4/strdup.m4                  |   2 +-
 libmissing/m4/string_h.m4                |  16 +-
 libmissing/m4/strndup.m4                 |   2 +-
 libmissing/m4/strnlen.m4                 |   2 +-
 libmissing/m4/sys_types_h.m4             |   8 +-
 libmissing/m4/thread.m4                  |   2 +-
 libmissing/m4/threadlib.m4               |  12 +-
 libmissing/m4/time_h.m4                  |   2 +-
 libmissing/m4/time_r.m4                  |   2 +-
 libmissing/m4/unistd_h.m4                |   5 +-
 libmissing/m4/usleep.m4                  |  14 +-
 libmissing/m4/vasnprintf.m4              |   2 +-
 libmissing/m4/vsnprintf.m4               |   2 +-
 libmissing/m4/warn-on-use.m4             |   2 +-
 libmissing/m4/wchar_h.m4                 |   8 +-
 libmissing/m4/wchar_t.m4                 |   2 +-
 libmissing/m4/wint_t.m4                  |   2 +-
 libmissing/m4/xsize.m4                   |   2 +-
 libmissing/m4/yield.m4                   |   2 +-
 libmissing/malloc.c                      |   4 +-
 libmissing/memchr.c                      |   4 +-
 libmissing/memrchr.c                     |   4 +-
 libmissing/printf-args.c                 |   4 +-
 libmissing/printf-args.h                 |   4 +-
 libmissing/printf-parse.c                |   4 +-
 libmissing/printf-parse.h                |   4 +-
 libmissing/size_max.h                    |   4 +-
 libmissing/snprintf.c                    |   4 +-
 libmissing/stddef.in.h                   |  22 +-
 libmissing/stdint.in.h                   |   4 +-
 libmissing/stdio.in.h                    |  12 +-
 libmissing/stdlib.in.h                   |  28 +-
 libmissing/strdup.c                      |   4 +-
 libmissing/string.in.h                   |  21 +-
 libmissing/strndup.c                     |   4 +-
 libmissing/strnlen.c                     |   4 +-
 libmissing/sys_types.in.h                |   4 +-
 libmissing/tests/Makefile.am             | 107 ++++++-
 libmissing/tests/arg-nonnull.h           |   4 +-
 libmissing/tests/c++defs.h               |   8 +-
 libmissing/tests/fdopen.c                |   4 +-
 libmissing/tests/fpucw.h                 |   8 +-
 libmissing/tests/getpagesize.c           |   4 +-
 libmissing/tests/glthread/thread.c       |   4 +-
 libmissing/tests/glthread/thread.h       |  12 +-
 libmissing/tests/glthread/yield.h        |   4 +-
 libmissing/tests/init.sh                 |  27 +-
 libmissing/tests/intprops.h              |  10 +-
 libmissing/tests/inttypes.in.h           |   4 +-
 libmissing/tests/macros.h                |   4 +-
 libmissing/tests/msvc-inval.c            |   4 +-
 libmissing/tests/msvc-inval.h            |   8 +-
 libmissing/tests/pthread_sigmask.c       |  92 ++++++
 libmissing/tests/raise.c                 |  81 ++++++
 libmissing/tests/signal.in.h             | 463 +++++++++++++++++++++++++++++++
 libmissing/tests/signature.h             |   4 +-
 libmissing/tests/sigprocmask.c           | 349 +++++++++++++++++++++++
 libmissing/tests/sleep.c                 |   4 +-
 libmissing/tests/stdalign.in.h           |   6 +-
 libmissing/tests/stdbool.in.h            |  10 +-
 libmissing/tests/test-alloca-opt.c       |   4 +-
 libmissing/tests/test-errno.c            |   4 +-
 libmissing/tests/test-fdopen.c           |   4 +-
 libmissing/tests/test-fgetc.c            |   4 +-
 libmissing/tests/test-float.c            |   4 +-
 libmissing/tests/test-fputc.c            |   4 +-
 libmissing/tests/test-fread.c            |   4 +-
 libmissing/tests/test-fwrite.c           |   4 +-
 libmissing/tests/test-init.sh            |   4 +-
 libmissing/tests/test-intprops.c         |   6 +-
 libmissing/tests/test-inttypes.c         |   4 +-
 libmissing/tests/test-limits-h.c         |   4 +-
 libmissing/tests/test-lock.c             |   4 +-
 libmissing/tests/test-memchr.c           |   4 +-
 libmissing/tests/test-memrchr.c          |   4 +-
 libmissing/tests/test-pthread_sigmask1.c |  95 +++++++
 libmissing/tests/test-pthread_sigmask2.c |  99 +++++++
 libmissing/tests/test-raise.c            |  50 ++++
 libmissing/tests/test-rwlock1.c          |   4 +-
 libmissing/tests/test-signal-h.c         | 129 +++++++++
 libmissing/tests/test-sigprocmask.c      | 102 +++++++
 libmissing/tests/test-sleep.c            |   4 +-
 libmissing/tests/test-snprintf.c         |   4 +-
 libmissing/tests/test-stdalign.c         |   6 +-
 libmissing/tests/test-stdbool.c          |  10 +-
 libmissing/tests/test-stddef.c           |   4 +-
 libmissing/tests/test-stdint.c           |   4 +-
 libmissing/tests/test-stdio.c            |   4 +-
 libmissing/tests/test-stdlib.c           |   4 +-
 libmissing/tests/test-string.c           |   4 +-
 libmissing/tests/test-strnlen.c          |   4 +-
 libmissing/tests/test-sys_types.c        |   4 +-
 libmissing/tests/test-sys_wait.h         |   4 +-
 libmissing/tests/test-thread_create.c    |   4 +-
 libmissing/tests/test-thread_self.c      |   4 +-
 libmissing/tests/test-time.c             |   4 +-
 libmissing/tests/test-unistd.c           |   4 +-
 libmissing/tests/test-usleep.c           |   4 +-
 libmissing/tests/test-vasnprintf.c       |   4 +-
 libmissing/tests/test-verify-try.c       |   4 +-
 libmissing/tests/test-verify.c           |   4 +-
 libmissing/tests/test-vsnprintf.c        |   4 +-
 libmissing/tests/test-wchar.c            |   4 +-
 libmissing/tests/usleep.c                |   4 +-
 libmissing/tests/warn-on-use.h           |   4 +-
 libmissing/tests/zerosize-ptr.h          |   4 +-
 libmissing/time.in.h                     |   4 +-
 libmissing/time_r.c                      |   4 +-
 libmissing/unistd.in.h                   |  36 ++-
 libmissing/vasnprintf.c                  |   8 +-
 libmissing/vasnprintf.h                  |   4 +-
 libmissing/verify.h                      |   4 +-
 libmissing/vsnprintf.c                   |   4 +-
 libmissing/warn-on-use.h                 |   4 +-
 libmissing/wchar.in.h                    |  11 +-
 libmissing/xsize.h                       |   4 +-
 185 files changed, 3286 insertions(+), 573 deletions(-)

commit 246bc5c045352b700130d8a296b537aa479c4b33
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Mar 5 16:37:26 2018 +0700

    [#rel2733] Support attaching data to preludedb_t and preludedb_sql_t object
    
    Change-Id: I03b36729726fbbd05840484bad20b66ba1f94c44

 src/include/preludedb-plugin-format-prv.h |  1 +
 src/include/preludedb-plugin-format.h     |  4 ++++
 src/include/preludedb-sql.h               |  4 ++++
 src/include/preludedb.h                   |  4 ++++
 src/preludedb-plugin-format.c             | 13 +++++++++++++
 src/preludedb-sql.c                       | 15 +++++++++++++++
 src/preludedb.c                           | 20 ++++++++++++++++++++
 7 files changed, 61 insertions(+)

commit 80ea0a0e0d7ad25f8bc9548f67e12843ae8b7150
Author: Thomas Andrejak <thomas.andrejak@c-s.fr>
Date:   Sat Mar 10 13:55:23 2018 +0100

    [#2939] Add python 3.6 support
    
    Change-Id: I7f0c1d17595e032c5cf687e235d2c000bbc8ef34

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3fb25f3876d875687711224c0dc1391c38d8e8f7
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Feb 14 10:01:03 2018 +0100

    [#2874] Fully support sorting in preludedb_get_message_idents()
    
    Introduce preludedb_get_(alert|hearbeat)_idents2 functions
    taking a path list as the order argument.
    
    Change-Id: I81907c4af5c78217d4b86acfcbacc04b982e1231

 bindings/c++/include/preludedb.hxx     |  10 +---
 bindings/c++/preludedb.cxx             |  22 +++++--
 bindings/python/_preludedb.cxx         |  55 ++++++++++-------
 plugins/format/classic/classic.c       |  35 ++++-------
 preludedb-admin.c                      |   8 +--
 src/include/preludedb-path-selection.h |   4 +-
 src/include/preludedb-plugin-format.h  |   4 +-
 src/include/preludedb.h                |   8 +++
 src/preludedb-path-selection.c         |   4 +-
 src/preludedb.c                        | 106 +++++++++++++++++++++++++++++++--
 10 files changed, 184 insertions(+), 72 deletions(-)

commit 622e8824cabd5779da4e0f4ac2512df7a5f11bb7
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Feb 9 10:48:03 2018 +0100

    Update NEWS, bump version
    
    Change-Id: Id46b5f759cc3fe5882d730f4805cc6ddc415772f

 NEWS         | 18 ++++++++++++++++++
 configure.ac | 14 +++++++-------
 2 files changed, 25 insertions(+), 7 deletions(-)

commit a86c71f34eb5cc66485918b8fd1f179fa9ae3b1c
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Jan 3 11:57:14 2018 +0100

    [#2795] Copyright year update
    
    Change-Id: I52b2f6a874f1c7922dd948707ab9a7557916a511

 LICENSE.README                                     |  2 +-
 bindings/c++/include/preludedb-error.hxx           |  2 +-
 bindings/c++/preludedb-error.cxx                   |  2 +-
 bindings/libpreludedbcpp.i                         |  2 +-
 bindings/python/setup.py.in                        |  2 +-
 docs/manpages/preludedb-admin.1                    |  2 +-
 plugins/format/classic/classic-delete.c            |  2 +-
 plugins/format/classic/classic-get.c               |  2 +-
 plugins/format/classic/classic-insert.c            |  2 +-
 plugins/format/classic/classic-path-resolve.c      |  2 +-
 plugins/format/classic/classic-sql-join.c          |  2 +-
 plugins/format/classic/classic.c                   |  2 +-
 plugins/format/classic/include/classic-delete.h    |  2 +-
 plugins/format/classic/include/classic-get.h       |  2 +-
 plugins/format/classic/include/classic-insert.h    |  6 +++---
 .../format/classic/include/classic-path-resolve.h  |  2 +-
 plugins/format/classic/include/classic-sql-join.h  |  2 +-
 plugins/sql/mysql/mysql.c                          |  2 +-
 plugins/sql/pgsql/pgsql.c                          |  2 +-
 plugins/sql/sqlite3/sqlite3.c                      |  2 +-
 preludedb-admin.c                                  |  2 +-
 src/include/preludedb-error.h                      |  2 +-
 src/include/preludedb-path-selection.h             |  2 +-
 src/include/preludedb-plugin-format-prv.h          |  2 +-
 src/include/preludedb-plugin-format.h              |  2 +-
 src/include/preludedb-plugin-sql.h                 |  2 +-
 src/include/preludedb-sql-select.h                 |  2 +-
 src/include/preludedb-sql-settings.h               |  2 +-
 src/include/preludedb-sql.h                        |  2 +-
 src/include/preludedb-version.h.in                 |  2 +-
 src/include/preludedb.h                            |  2 +-
 src/preludedb-error.c                              |  2 +-
 src/preludedb-path-selection-parser.lex.l          | 22 +++++++++++++++++++++
 src/preludedb-path-selection-parser.yac.y          | 23 ++++++++++++++++++++++
 src/preludedb-path-selection.c                     |  2 +-
 src/preludedb-plugin-format.c                      |  2 +-
 src/preludedb-plugin-sql.c                         |  2 +-
 src/preludedb-sql-select.c                         |  2 +-
 src/preludedb-sql-settings.c                       |  2 +-
 src/preludedb-sql.c                                |  2 +-
 src/preludedb-version.c                            |  2 +-
 src/preludedb.c                                    |  2 +-
 42 files changed, 87 insertions(+), 42 deletions(-)

commit d9a7aa7ba5c1208f08856a0d8162b807ede6855f
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Dec 11 16:35:45 2017 +0100

    [#2755] Fix the encoding error handler for Python 2
    
    Change-Id: I8e50cccfe04a67e3ed56829c7255dfe054d4914c

 bindings/python/_preludedb.cxx | 2 +-
 bindings/python/pystrings.swg  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 5ae65508c28b96f8c78d72f92442913ecd3edbea
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 11 21:13:53 2017 +0200

    [#rel2505] Fix memory leak in case of PQescapeStringConn() error
    
    Change-Id: I2e133cea908a17d96d3919785bbee278847fd045

 plugins/sql/pgsql/pgsql.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 11cd3d450ea0e2a0c74ed1323b9c4f549edd363f
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Aug 22 17:17:47 2017 +0200

    [#2705] Use 'DROP TABLE IF EXISTS' for PostgreSQL
    
    Change-Id: Ie4ad608eb757bd5ddeb40219063dd8f392c7650a

 plugins/format/classic/mysql2pgsql.sh |  1 -
 plugins/format/classic/pgsql.sql      | 74 +++++++++++++++++------------------
 2 files changed, 37 insertions(+), 38 deletions(-)

commit f746d3a8d5a3945c6157a17949daf36f7cc3ab52
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jul 28 18:03:41 2017 +0200

    [#2669] preludedb_sql_query() now return the number of affected rows
    
    High level bindings return the information through the Table.affected_rows member.
    
    Change-Id: I01417d064962fc764a1fc0ed00ec2ee0d8187c1c

 bindings/c++/include/preludedb-sql.hxx |  6 ++-
 bindings/c++/preludedb-sql.cxx         |  7 ++-
 bindings/python/_preludedb.cxx         | 93 +++++++++++++++++++++++++++-------
 bindings/python/preludedb.py           |  2 +-
 plugins/sql/mysql/mysql.c              |  8 +--
 plugins/sql/pgsql/pgsql.c              | 24 +++++----
 plugins/sql/sqlite3/sqlite3.c          |  1 +
 src/preludedb-sql.c                    |  8 +--
 8 files changed, 110 insertions(+), 39 deletions(-)

commit 115b5e9f5aac35d9fd158f980307aa02e9b953e0
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jul 21 17:55:06 2017 +0200

    Update NEWS, bump version
    
    Change-Id: I2893071acaafbad709924f68d1bf80e3e660ebec

 NEWS         | 6 ++++++
 configure.ac | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

commit 4b9b416f03925e9ce40011bfbf4789bfb13a930e
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jul 13 16:39:45 2017 +0200

    Update NEWS, bump version
    
    Change-Id: I89b24d77336014326fa87c6ea8d8d414ef807190

 NEWS         | 8 ++++++++
 configure.ac | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit 580a3f860f0172a87e2f7a6d96fcf4d600af10d8
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jul 10 15:11:10 2017 +0200

    [#2632] Update GnuLib code
    
    Change-Id: I34c36260c10439d88c679de17321cf4bf0893584

 libmissing/Makefile.am                 | 130 ++++----------
 libmissing/_Noreturn.h                 |  10 ++
 libmissing/arg-nonnull.h               |  26 +++
 libmissing/c++defs.h                   | 316 +++++++++++++++++++++++++++++++++
 libmissing/float.in.h                  |   2 +-
 libmissing/gettimeofday.c              | 154 ----------------
 libmissing/glthread/lock.c             | 182 ++++++++++++++++++-
 libmissing/glthread/lock.h             |  62 ++++++-
 libmissing/limits.in.h                 |  11 ++
 libmissing/m4/fdopen.m4                |  13 +-
 libmissing/m4/float_h.m4               |   6 +-
 libmissing/m4/gettimeofday.m4          | 138 --------------
 libmissing/m4/gnulib-common.m4         |  13 +-
 libmissing/m4/gnulib-comp.m4           |  56 +++---
 libmissing/m4/include_next.m4          |   5 +-
 libmissing/m4/lib-ld.m4                | 140 +++++++++------
 libmissing/m4/lib-prefix.m4            | 107 ++++++-----
 libmissing/m4/lock.m4                  |   9 +-
 libmissing/m4/printf.m4                |  13 +-
 libmissing/m4/pthread_rwlock_rdlock.m4 | 163 +++++++++++++++++
 libmissing/m4/sleep.m4                 |  62 +++++++
 libmissing/m4/stdalign.m4              |   4 +-
 libmissing/m4/sys_socket_h.m4          | 176 ------------------
 libmissing/m4/sys_time_h.m4            | 111 ------------
 libmissing/m4/sys_types_h.m4           |  13 +-
 libmissing/m4/time_h.m4                |  12 +-
 libmissing/m4/unistd_h.m4              |   9 +-
 libmissing/m4/usleep.m4                |  45 +++++
 libmissing/m4/wchar_h.m4               |   9 +-
 libmissing/m4/wint_t.m4                |  14 +-
 libmissing/stdint.in.h                 |  43 +++--
 libmissing/sys_time.in.h               | 220 -----------------------
 libmissing/sys_types.in.h              |  42 +++++
 libmissing/tests/Makefile.am           | 137 +++++++-------
 libmissing/tests/_Noreturn.h           |  10 ++
 libmissing/tests/arg-nonnull.h         |  26 +++
 libmissing/tests/c++defs.h             | 316 +++++++++++++++++++++++++++++++++
 libmissing/tests/glthread/thread.h     |  11 +-
 libmissing/tests/intprops.h            |  81 ++++-----
 libmissing/tests/macros.h              |   8 +
 libmissing/tests/sleep.c               |  76 ++++++++
 libmissing/tests/stdalign.in.h         |   2 +-
 libmissing/tests/test-fgetc.c          |   4 +-
 libmissing/tests/test-fputc.c          |   4 +-
 libmissing/tests/test-fread.c          |   4 +-
 libmissing/tests/test-fwrite.c         |   4 +-
 libmissing/tests/test-gettimeofday.c   |  47 -----
 libmissing/tests/test-intprops.c       |  21 +++
 libmissing/tests/test-lock.c           | 110 +++++++++++-
 libmissing/tests/test-rwlock1.c        | 157 ++++++++++++++++
 libmissing/tests/test-sleep.c          |  58 ++++++
 libmissing/tests/test-stdalign.c       |   5 +
 libmissing/tests/test-stddef.c         |   6 +-
 libmissing/tests/test-sys_time.c       |  34 ----
 libmissing/tests/test-usleep.c         |  40 +++++
 libmissing/tests/test-verify-try.c     |  21 +++
 libmissing/tests/test-verify.sh        |   9 +-
 libmissing/tests/usleep.c              |  58 ++++++
 libmissing/tests/warn-on-use.h         | 109 ++++++++++++
 libmissing/time.in.h                   |  59 +++++-
 libmissing/unistd.in.h                 |  48 ++++-
 libmissing/vasnprintf.c                |  45 +++--
 libmissing/verify.h                    |   7 +-
 libmissing/warn-on-use.h               | 109 ++++++++++++
 libmissing/wchar.in.h                  |  44 ++++-
 65 files changed, 2663 insertions(+), 1323 deletions(-)

commit 1c7b76e28ce7d293d0c4563b35ab9169a45846b6
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jun 30 15:35:08 2017 +0200

    Update NEWS, bump version
    
    Change-Id: I573de8e01efece94158e2dd44205bbd127c64345

 NEWS         | 8 ++++++++
 configure.ac | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit b19b1387360200dbc18dd822126c0e4d4e09a3f7
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jun 29 12:49:08 2017 +0200

    [#2226] Reconnect to the database automatically
    
    If the connection drop, attempt to reconnect at least once before giving up.
    
    Change-Id: I447e130ec85eee11f020916ee133d3d5b621258a

 src/preludedb-sql.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

commit b3ce37cea33ec7bc9954a4eacb544a66079c8b8c
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jun 23 19:11:38 2017 +0200

    Update NEWS, bump version
    
    Change-Id: I98fa097a63572423a51dbdd47b946136bcef27a9

 NEWS         | 8 ++++++++
 configure.ac | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit 99be7188599cd93234d1b0f2f3e06cd2fa960703
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jun 16 10:04:35 2017 +0200

    [#2035] Fix crash with tuple object as input
    
    Change-Id: If242cf90425f3e9721d39d143dfc7cebd3aaeadd

 bindings/python/_preludedb.cxx           | 63 ++++++++++++++++++++------------
 bindings/python/libpreludedbcpp-python.i | 21 +++++++----
 2 files changed, 52 insertions(+), 32 deletions(-)

commit 368abee5f99e40ae020ca7c175ca2a6b1b1b08f0
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jun 16 12:41:02 2017 +0200

    Update NEWS, bump version
    
    Change-Id: Icc4cf879cf69bd0e10bf171664442e2a4e9b3228

 NEWS         |  8 ++++++++
 configure.ac | 10 +++++-----
 2 files changed, 13 insertions(+), 5 deletions(-)

commit 040569bf5ffe0172562608dfda00c7d177171a5b
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon May 29 15:59:52 2017 +0700

    [#rel2386] fetching server version might require connection
    
    Change-Id: I39ae70732c9ea253895a03d5af5e7d4975bc5b9a

 src/include/preludedb-sql.h | 2 +-
 src/preludedb-sql.c         | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

commit 71aa439b0ae5dc2f3b9dc307602371409f23bc37
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Feb 15 15:45:40 2017 +0100

    Update NEWS, bump version
    
    Change-Id: I3a740035532339ceed1e35cc624d10cfeee079cb

 NEWS         | 6 ++++++
 configure.ac | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

commit 8d3c18e175790ecc7e10ceaaeff6af0e698c265a
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Feb 10 20:18:56 2017 +0100

    Update NEWS, bump version
    
    Change-Id: If6e059862dd74265854a6cd648bf979b61e944b0

 NEWS         | 8 ++++++++
 configure.ac | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit fc4c1b02b9c94db5bbd17223fc0c51ecbf26a0f1
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Feb 8 17:56:49 2017 +0700

    [#1739] Raise an error if timezone convertion is not supported
    
    Change-Id: Ic005359eb8be32e218b68fe36175dfe292d00a4f

 plugins/sql/mysql/mysql.c          | 63 +++++++++++++++++++++++++++++++-------
 plugins/sql/pgsql/pgsql.c          | 12 ++++----
 plugins/sql/sqlite3/sqlite3.c      | 12 ++++----
 src/include/preludedb-plugin-sql.h | 24 +++++++--------
 src/preludedb-plugin-sql.c         | 24 +++++++--------
 src/preludedb-sql.c                | 14 ++++-----
 6 files changed, 95 insertions(+), 54 deletions(-)

commit 3e5c7911310ddc82f72427b6b7ca3f84f4a926fa
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Feb 3 19:20:38 2017 +0100

    Update NEWS, bump version
    
    Change-Id: Ibd7425476dd62c3d54cb0534105a6e864c61e2d3

 NEWS         | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit 463769664783eab6ff138f212d42f9a743118876
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jan 26 18:28:17 2017 +0100

    Update NEWS, bump version
    
    Change-Id: I1702b144a7a48ad75066cf00f6d3ab06680a40eb

 NEWS         | 8 ++++++++
 configure.ac | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit 294144d5ecbaa0fcb5c14c31074125dd8531cd8c
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jan 25 10:38:46 2017 +0700

    [#1999] Fix getLastInsertIdent() crash on uninitialized session
    
    Change-Id: Ie70795230380e9cc50e1507a7d7379266ffaef3c

 src/preludedb-plugin-sql.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit cc2fb6c3af2f97a6049594082bcbc113b157a1ab
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jan 12 11:13:23 2017 +0100

    Copyright year update
    
    Change-Id: I9eaa70f88763c20b1f2a01c3bf7668a24a2e7154

 LICENSE.README                                        | 2 +-
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin.c                                     | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-select.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-select.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 39 files changed, 39 insertions(+), 39 deletions(-)

commit ca8ab0a09ad204b7e7e82e94d0de4ca0e66b1ddb
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jan 12 11:11:28 2017 +0100

    Update NEWS, bump version
    
    Change-Id: Ib0f0b5db3063ce9f9f83ced315a13d33c50a71a1

 NEWS         | 8 ++++++++
 configure.ac | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit 5d54355a39e9944374eeadc3dad4c576012e93da
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jan 4 17:12:30 2017 +0700

    [#2113] Update Gnulib & SWIG generated code
    
    Change-Id: I378ed6aca073cc35afc033f7f9efd546328a0637

 INSTALL                               |    4 +-
 bindings/python/_preludedb.cxx        | 2043 ++++++++++++++++++---------------
 bindings/python/preludedb.py          |   16 +-
 config.rpath                          |    2 +-
 gtk-doc.make                          |  100 +-
 libmissing/Makefile.am                |   36 +-
 libmissing/alloca.in.h                |    4 +-
 libmissing/asnprintf.c                |    2 +-
 libmissing/errno.in.h                 |    2 +-
 libmissing/float+.h                   |    2 +-
 libmissing/float.c                    |    2 +-
 libmissing/float.in.h                 |    2 +-
 libmissing/gettimeofday.c             |    2 +-
 libmissing/glthread/lock.c            |    2 +-
 libmissing/glthread/lock.h            |    2 +-
 libmissing/glthread/threadlib.c       |    2 +-
 libmissing/itold.c                    |    2 +-
 libmissing/limits.in.h                |   63 +
 libmissing/m4/00gnulib.m4             |    2 +-
 libmissing/m4/absolute-header.m4      |    2 +-
 libmissing/m4/alloca.m4               |    2 +-
 libmissing/m4/errno_h.m4              |    2 +-
 libmissing/m4/exponentd.m4            |    2 +-
 libmissing/m4/extensions.m4           |   46 +-
 libmissing/m4/extern-inline.m4        |    2 +-
 libmissing/m4/fdopen.m4               |    2 +-
 libmissing/m4/float_h.m4              |    2 +-
 libmissing/m4/fpieee.m4               |    2 +-
 libmissing/m4/getpagesize.m4          |    2 +-
 libmissing/m4/gettimeofday.m4         |    2 +-
 libmissing/m4/gnulib-cache.m4         |    2 +-
 libmissing/m4/gnulib-common.m4        |    2 +-
 libmissing/m4/gnulib-comp.m4          |   12 +-
 libmissing/m4/gnulib-tool.m4          |    2 +-
 libmissing/m4/include_next.m4         |    2 +-
 libmissing/m4/intmax_t.m4             |    2 +-
 libmissing/m4/inttypes-pri.m4         |    2 +-
 libmissing/m4/inttypes.m4             |    2 +-
 libmissing/m4/inttypes_h.m4           |    2 +-
 libmissing/m4/lib-ld.m4               |    2 +-
 libmissing/m4/lib-link.m4             |    2 +-
 libmissing/m4/lib-prefix.m4           |    2 +-
 libmissing/m4/limits-h.m4             |   31 +
 libmissing/m4/lock.m4                 |    2 +-
 libmissing/m4/longlong.m4             |    2 +-
 libmissing/m4/malloc.m4               |    2 +-
 libmissing/m4/math_h.m4               |   16 +-
 libmissing/m4/memchr.m4               |    2 +-
 libmissing/m4/memrchr.m4              |    2 +-
 libmissing/m4/mmap-anon.m4            |    2 +-
 libmissing/m4/msvc-inval.m4           |    2 +-
 libmissing/m4/multiarch.m4            |    2 +-
 libmissing/m4/off_t.m4                |    2 +-
 libmissing/m4/onceonly.m4             |    2 +-
 libmissing/m4/printf.m4               |    4 +-
 libmissing/m4/size_max.m4             |    2 +-
 libmissing/m4/snprintf.m4             |   12 +-
 libmissing/m4/ssize_t.m4              |    2 +-
 libmissing/m4/stdalign.m4             |    2 +-
 libmissing/m4/stdbool.m4              |   30 +-
 libmissing/m4/stddef_h.m4             |    2 +-
 libmissing/m4/stdint.m4               |   66 +-
 libmissing/m4/stdint_h.m4             |    2 +-
 libmissing/m4/stdio_h.m4              |   14 +-
 libmissing/m4/stdlib_h.m4             |    7 +-
 libmissing/m4/strdup.m4               |    2 +-
 libmissing/m4/string_h.m4             |    2 +-
 libmissing/m4/strndup.m4              |    2 +-
 libmissing/m4/strnlen.m4              |    2 +-
 libmissing/m4/sys_socket_h.m4         |    2 +-
 libmissing/m4/sys_time_h.m4           |    2 +-
 libmissing/m4/sys_types_h.m4          |   29 +-
 libmissing/m4/thread.m4               |    2 +-
 libmissing/m4/threadlib.m4            |    8 +-
 libmissing/m4/time_h.m4               |    2 +-
 libmissing/m4/time_r.m4               |    2 +-
 libmissing/m4/unistd_h.m4             |    5 +-
 libmissing/m4/vasnprintf.m4           |    2 +-
 libmissing/m4/vsnprintf.m4            |   12 +-
 libmissing/m4/warn-on-use.m4          |    2 +-
 libmissing/m4/wchar_h.m4              |   16 +-
 libmissing/m4/wchar_t.m4              |    2 +-
 libmissing/m4/wint_t.m4               |   36 +-
 libmissing/m4/xsize.m4                |    2 +-
 libmissing/m4/yield.m4                |    2 +-
 libmissing/malloc.c                   |    2 +-
 libmissing/memchr.c                   |    2 +-
 libmissing/memrchr.c                  |    2 +-
 libmissing/printf-args.c              |    2 +-
 libmissing/printf-args.h              |    2 +-
 libmissing/printf-parse.c             |    2 +-
 libmissing/printf-parse.h             |    2 +-
 libmissing/size_max.h                 |    2 +-
 libmissing/snprintf.c                 |    2 +-
 libmissing/stddef.in.h                |    2 +-
 libmissing/stdint.in.h                |  758 ++++++------
 libmissing/stdio.in.h                 |   22 +-
 libmissing/stdlib.in.h                |   17 +-
 libmissing/strdup.c                   |    2 +-
 libmissing/string.in.h                |   18 +-
 libmissing/strndup.c                  |    2 +-
 libmissing/strnlen.c                  |    2 +-
 libmissing/sys_time.in.h              |    9 +-
 libmissing/sys_types.in.h             |    2 +-
 libmissing/tests/Makefile.am          |   10 +-
 libmissing/tests/fdopen.c             |    2 +-
 libmissing/tests/fpucw.h              |    2 +-
 libmissing/tests/getpagesize.c        |    2 +-
 libmissing/tests/glthread/thread.c    |    4 +-
 libmissing/tests/glthread/thread.h    |   11 +-
 libmissing/tests/glthread/yield.h     |    2 +-
 libmissing/tests/init.sh              |   79 +-
 libmissing/tests/intprops.h           |  100 +-
 libmissing/tests/inttypes.in.h        |    2 +-
 libmissing/tests/macros.h             |    2 +-
 libmissing/tests/msvc-inval.c         |    2 +-
 libmissing/tests/msvc-inval.h         |    2 +-
 libmissing/tests/signature.h          |    2 +-
 libmissing/tests/stdalign.in.h        |    2 +-
 libmissing/tests/stdbool.in.h         |    2 +-
 libmissing/tests/test-alloca-opt.c    |    2 +-
 libmissing/tests/test-errno.c         |    2 +-
 libmissing/tests/test-fdopen.c        |    2 +-
 libmissing/tests/test-fgetc.c         |    2 +-
 libmissing/tests/test-float.c         |    2 +-
 libmissing/tests/test-fputc.c         |    2 +-
 libmissing/tests/test-fread.c         |    2 +-
 libmissing/tests/test-fwrite.c        |    2 +-
 libmissing/tests/test-gettimeofday.c  |    2 +-
 libmissing/tests/test-init.sh         |    5 +-
 libmissing/tests/test-intprops.c      |   11 +-
 libmissing/tests/test-inttypes.c      |    2 +-
 libmissing/tests/test-limits-h.c      |   50 +
 libmissing/tests/test-lock.c          |   81 +-
 libmissing/tests/test-memchr.c        |    2 +-
 libmissing/tests/test-memrchr.c       |    2 +-
 libmissing/tests/test-snprintf.c      |    2 +-
 libmissing/tests/test-stdalign.c      |    2 +-
 libmissing/tests/test-stdbool.c       |    2 +-
 libmissing/tests/test-stddef.c        |    2 +-
 libmissing/tests/test-stdint.c        |   69 +-
 libmissing/tests/test-stdio.c         |    2 +-
 libmissing/tests/test-stdlib.c        |    2 +-
 libmissing/tests/test-string.c        |    2 +-
 libmissing/tests/test-strnlen.c       |    2 +-
 libmissing/tests/test-sys_time.c      |    2 +-
 libmissing/tests/test-sys_types.c     |    2 +-
 libmissing/tests/test-sys_wait.h      |    2 +-
 libmissing/tests/test-thread_create.c |    2 +-
 libmissing/tests/test-thread_self.c   |    2 +-
 libmissing/tests/test-time.c          |    2 +-
 libmissing/tests/test-unistd.c        |    2 +-
 libmissing/tests/test-vasnprintf.c    |    2 +-
 libmissing/tests/test-verify.c        |    2 +-
 libmissing/tests/test-vsnprintf.c     |    2 +-
 libmissing/tests/test-wchar.c         |    2 +-
 libmissing/tests/zerosize-ptr.h       |    2 +-
 libmissing/time.in.h                  |    2 +-
 libmissing/time_r.c                   |    2 +-
 libmissing/unistd.in.h                |    8 +-
 libmissing/vasnprintf.c               |    4 +-
 libmissing/vasnprintf.h               |    2 +-
 libmissing/verify.h                   |    2 +-
 libmissing/vsnprintf.c                |    2 +-
 libmissing/wchar.in.h                 |    9 +-
 libmissing/xsize.h                    |    2 +-
 m4/gtk-doc.m4                         |   47 +-
 snippet/arg-nonnull.h                 |    2 +-
 snippet/c++defs.h                     |   89 +-
 snippet/warn-on-use.h                 |    2 +-
 170 files changed, 2601 insertions(+), 1664 deletions(-)

commit aba80d83135ba34623c9319d2c095b1c59fd3859
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Dec 23 11:03:53 2016 +0100

    Update NEWS, bump version
    
    Change-Id: I36923854157363411a0fa6cebf5c655eb8a0decd

 NEWS         | 21 +++++++++++++++++++++
 configure.ac | 18 +++++++++---------
 2 files changed, 30 insertions(+), 9 deletions(-)

commit 3ae76aa00b6203409461a1ceb36900f9fda5d3b9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Nov 7 18:25:58 2016 +0800

    [#2091] Implement preludedb_delete()
    
    Change-Id: Ife26f350c33756f131920a9becc62f37104ebfc2

 bindings/c++/include/preludedb.hxx        |  4 ++
 bindings/c++/preludedb.cxx                | 14 +++++++
 bindings/python/_preludedb.cxx            | 64 +++++++++++++++++++++++++++++++
 src/include/preludedb-plugin-format-prv.h |  1 +
 src/include/preludedb-plugin-format.h     |  3 ++
 src/include/preludedb.h                   |  2 +
 src/preludedb-plugin-format.c             |  6 +++
 src/preludedb.c                           | 46 ++++++++++++++++++++++
 8 files changed, 140 insertions(+)

commit 908ba03be23693b00f47046f5804f8e3aa7855a3
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Nov 21 22:40:42 2016 +0800

    [#rel2047] Implement preludedb.return_unicode(flags)
    
    When enabled, string returned from SWIG wrapped function will be
    converted to unicode.
    
    Change-Id: If640544b53f8e6fff76ef264066429777da14d8e

 bindings/python/_preludedb.cxx           | 213 +++++++++++++++++++++----------
 bindings/python/libpreludedbcpp-python.i |   8 +-
 bindings/python/pystrings.swg            | 146 +++++++++++++--------
 3 files changed, 247 insertions(+), 120 deletions(-)

commit c91e5fa3098156bc2060df694c2c5e6800f2a67d
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Oct 11 14:03:57 2016 +0200

    [#rel1943] Add binding for preludedb_get_last_insert_ident()
    
    Change-Id: I45141861cca7cdd93595add7894756c2f8e255b5

 bindings/c++/include/preludedb-sql.hxx |  1 +
 bindings/c++/preludedb-sql.cxx         | 12 ++++++++++++
 bindings/python/_preludedb.cxx         | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+)

commit b4c725452d81ef585d0f4df2d9a4a12f21d3f46d
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Sep 26 16:44:08 2016 +0200

    [#1925] Do not automatically regenerate SWIG bindings by default
    
    This is now consistent with the libprelude behavior.
    
    Change-Id: I628648edc4210af183e7bb468ae570fdfd9c5147

 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 2cbc6441c6027802a1272c13974afbdc62b31787
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Sep 14 19:29:15 2016 +0200

    [#rel1859] Add missing getServerVersion method to PreludeDB::SQL.
    
    This is needed for upsert() support in Prewikka.
    
    Change-Id: I6eee0c721e2118bf85b5184f7926afb11685424a

 bindings/c++/include/preludedb-sql.hxx |  2 ++
 bindings/c++/preludedb-sql.cxx         | 13 +++++++++++++
 bindings/python/_preludedb.cxx         | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+)

commit a5c754aa75f84478dc05d2074d8a0bc748879a1d
Author: Thomas ANDREJAK <thomas.andrejak@c-s.fr>
Date:   Wed Sep 14 00:49:04 2016 +0200

    Update NEWS, bump version
    
    Change-Id: Idc3ffa6f85baa7745f15e0eb7a61c4d6981a9ed0

 NEWS         | 9 +++++++++
 configure.ac | 6 +++---
 2 files changed, 12 insertions(+), 3 deletions(-)

commit 2fed3feeddff9b8127c584db144b5aec8d89c56d
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 13 11:36:28 2016 +0200

    [#1889] Support DISTINCT
    
    Change-Id: I6e3f9b27dbe0fe4edff87567c487ed02514e4477

 src/include/preludedb-path-selection.h    |   1 +
 src/preludedb-path-selection-parser.lex.c | 316 +++++++++++++++--------------
 src/preludedb-path-selection-parser.lex.h |   2 +-
 src/preludedb-path-selection-parser.lex.l |   1 +
 src/preludedb-path-selection-parser.yac.c | 324 ++++++++++++++++--------------
 src/preludedb-path-selection-parser.yac.h |  64 +++---
 src/preludedb-path-selection-parser.yac.y |   3 +-
 src/preludedb-path-selection.c            |   1 +
 src/preludedb-sql-select.c                |   3 +
 9 files changed, 374 insertions(+), 341 deletions(-)

commit 9946ac80d217e371f33915d9dc09c0ec279d89b8
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Aug 30 15:17:05 2016 +0200

    [#1888] Prefix Flex/Yacc public symbol
    
    Prevent compilation error on FreeBSD due to conflicting symbols with libprelude.
    
    Change-Id: I748feb0ab46148305efbd0fcfa89daf18edddc3d

 src/Makefile.am                           |   4 +-
 src/preludedb-path-selection-parser.lex.c | 506 ++++++++++++++++--------------
 src/preludedb-path-selection-parser.lex.h | 105 ++++---
 src/preludedb-path-selection-parser.lex.l |   4 +-
 src/preludedb-path-selection-parser.yac.c | 213 +++++++------
 src/preludedb-path-selection-parser.yac.h |  48 +--
 src/preludedb-path-selection-parser.yac.y |   9 +-
 7 files changed, 484 insertions(+), 405 deletions(-)

commit 2325b4633b937082e80b4eaec37ed94b2c8e1189
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Sep 1 08:36:41 2016 +0200

    Update NEWS, bump version
    
    Change-Id: I10edca00098fb3f4dbbf62368472a97dfaef6965

 NEWS         | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit d596e4a23e362d7de29d92dfe6b8c40b18b50121
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Aug 19 16:24:00 2016 +0200

    Update NEWS, bump version
    
    Change-Id: Ib4c08a1948203e51c8a9dcbed1d9840206ccb4e3

 NEWS         | 1 +
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 87f618a7811d68c4225ba83ee62611d52274a24e
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Aug 5 16:23:54 2016 +0200

    Update NEWS, bump version
    
    Change-Id: I81d464babf19d457caef888430901b598261efe5

 NEWS         | 25 +++++++++++++++++++++++++
 configure.ac |  8 ++++----
 2 files changed, 29 insertions(+), 4 deletions(-)

commit e288d3d55681314bca067eff50d69ae020e8ea44
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jul 22 11:29:50 2016 +0200

    Add --optimize delete operation parameter
    
    Change-Id: Ie09e8f4680f251567e98df4565a35ea8632e7087

 preludedb-admin.c | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

commit 691a2f68b4cc596de8af29cfc227b02765ff7d7d
Author: Thomas ANDREJAK <thomas.andrejak@c-s.fr>
Date:   Mon Jul 25 00:27:30 2016 +0200

    [#1784] Rename configure.in to configure.ac
    
    Change-Id: I5ec97beeef45d248560493c35bb285437c50ff6a

 configure.ac | 389 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 configure.in | 389 -----------------------------------------------------------
 2 files changed, 389 insertions(+), 389 deletions(-)

commit 65f70ef99f1bf7a34b658c5aee77ef9ed2eae74e
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jul 6 12:12:39 2016 +0200

    [rel#1758] Code cleanup, error handling improvement
    
    Change-Id: Ia898250956e5d65e86327a5cef2956fca56d98b2

 plugins/sql/pgsql/pgsql.c | 77 ++++++++++++++++++++++++++---------------------
 1 file changed, 43 insertions(+), 34 deletions(-)

commit 62949dc8f3b88a4ca2632cedf0ea87c602e64b40
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jul 6 10:30:54 2016 +0200

    [#1758,#ext781] check libpq / PostgreSQL server compatibility
    
    libpq < 9.0 is not capable of unescaping hexadecimal bytea output,
    which is the default in PostgreSQL server 9.0 and newer.
    
    Check whether the two systems are compatible, and if they are not
    return an error suggesting to upgrade libpq or to set bytea_output to
    'escape' on the PostgreSQL server side.
    
    Change-Id: I4c9dc58e6494cdac2d7a5ca4fe5b42f2a29f5d9c

 plugins/sql/pgsql/pgsql.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

commit 3eef25fc63f5a4f34ae5dbd8a0ec7449a7aa92f9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jun 16 17:25:22 2016 +0800

    Update SWIG code
    
    Change-Id: Idd05872d7a803a11a7a9f0ff23c560b467164374

 bindings/python/_preludedb.cxx | 924 ++++++++++++++++++++++++++++++++---------
 bindings/python/preludedb.py   |  56 ++-
 2 files changed, 771 insertions(+), 209 deletions(-)

commit 1cfe24f2dc5417b5d61ef146140cfd80d1986210
Author: Sélim Menouar <selim.menouar@c-s.fr>
Date:   Mon May 2 10:57:50 2016 +0200

    [#1685] Add libpreludedb-config man page
    
    Change-Id: Ibb755411543508232fdfb2694f348a6def5e4c3d

 docs/manpages/Makefile.am           |  2 +-
 docs/manpages/libpreludedb-config.1 | 74 +++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+), 1 deletion(-)

commit f688d316edf96373ee42e2410b1a996cea015187
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jun 16 15:57:58 2016 +0800

    Update GnuLib code
    
    Change-Id: I2444697b8fe222ac1478c9e6c6039e76645be783

 config.rpath                          |   2 +-
 libmissing/Makefile.am                |  10 +-
 libmissing/alloca.in.h                |   2 +-
 libmissing/asnprintf.c                |   2 +-
 libmissing/errno.in.h                 |   2 +-
 libmissing/float+.h                   |   2 +-
 libmissing/float.c                    |   2 +-
 libmissing/float.in.h                 |   2 +-
 libmissing/gettimeofday.c             |   2 +-
 libmissing/glthread/lock.c            |   2 +-
 libmissing/glthread/lock.h            |   2 +-
 libmissing/glthread/threadlib.c       |   2 +-
 libmissing/itold.c                    |   2 +-
 libmissing/m4/00gnulib.m4             |   2 +-
 libmissing/m4/absolute-header.m4      |   2 +-
 libmissing/m4/alloca.m4               |   2 +-
 libmissing/m4/errno_h.m4              |   2 +-
 libmissing/m4/exponentd.m4            |   2 +-
 libmissing/m4/extensions.m4           |   7 +-
 libmissing/m4/extern-inline.m4        |  15 +-
 libmissing/m4/fdopen.m4               |   2 +-
 libmissing/m4/float_h.m4              |   2 +-
 libmissing/m4/fpieee.m4               |   4 +-
 libmissing/m4/getpagesize.m4          |   2 +-
 libmissing/m4/gettimeofday.m4         |   2 +-
 libmissing/m4/gnulib-cache.m4         |   4 +-
 libmissing/m4/gnulib-common.m4        |  45 ++--
 libmissing/m4/gnulib-comp.m4          |  15 +-
 libmissing/m4/gnulib-tool.m4          |   2 +-
 libmissing/m4/include_next.m4         |   2 +-
 libmissing/m4/intmax_t.m4             |   2 +-
 libmissing/m4/inttypes-pri.m4         |   2 +-
 libmissing/m4/inttypes.m4             |   2 +-
 libmissing/m4/inttypes_h.m4           |   2 +-
 libmissing/m4/lib-ld.m4               |   2 +-
 libmissing/m4/lib-link.m4             |   2 +-
 libmissing/m4/lib-prefix.m4           |   2 +-
 libmissing/m4/lock.m4                 |   2 +-
 libmissing/m4/longlong.m4             |   2 +-
 libmissing/m4/malloc.m4               |  13 +-
 libmissing/m4/math_h.m4               |   2 +-
 libmissing/m4/memchr.m4               |   2 +-
 libmissing/m4/memrchr.m4              |   2 +-
 libmissing/m4/mmap-anon.m4            |   2 +-
 libmissing/m4/msvc-inval.m4           |   2 +-
 libmissing/m4/multiarch.m4            |   2 +-
 libmissing/m4/off_t.m4                |   2 +-
 libmissing/m4/onceonly.m4             |   2 +-
 libmissing/m4/printf.m4               |  51 ++---
 libmissing/m4/size_max.m4             |   2 +-
 libmissing/m4/snprintf.m4             |   2 +-
 libmissing/m4/ssize_t.m4              |   2 +-
 libmissing/m4/stdalign.m4             |  57 +++++
 libmissing/m4/stdbool.m4              |  36 ++--
 libmissing/m4/stddef_h.m4             |  10 +-
 libmissing/m4/stdint.m4               |  31 ++-
 libmissing/m4/stdint_h.m4             |   2 +-
 libmissing/m4/stdio_h.m4              |  31 ++-
 libmissing/m4/stdlib_h.m4             |   2 +-
 libmissing/m4/strdup.m4               |   2 +-
 libmissing/m4/string_h.m4             |   2 +-
 libmissing/m4/strndup.m4              |   9 +-
 libmissing/m4/strnlen.m4              |   2 +-
 libmissing/m4/sys_socket_h.m4         |   2 +-
 libmissing/m4/sys_time_h.m4           |   3 +-
 libmissing/m4/sys_types_h.m4          |   2 +-
 libmissing/m4/thread.m4               |   2 +-
 libmissing/m4/threadlib.m4            |   2 +-
 libmissing/m4/time_h.m4               |  22 +-
 libmissing/m4/time_r.m4               |   2 +-
 libmissing/m4/unistd_h.m4             |   6 +-
 libmissing/m4/vasnprintf.m4           |   2 +-
 libmissing/m4/vsnprintf.m4            |   2 +-
 libmissing/m4/warn-on-use.m4          |   2 +-
 libmissing/m4/wchar_h.m4              |   2 +-
 libmissing/m4/wchar_t.m4              |   2 +-
 libmissing/m4/wint_t.m4               |   2 +-
 libmissing/m4/xsize.m4                |   2 +-
 libmissing/m4/yield.m4                |   2 +-
 libmissing/malloc.c                   |   2 +-
 libmissing/memchr.c                   |   2 +-
 libmissing/memrchr.c                  |   2 +-
 libmissing/printf-args.c              |   2 +-
 libmissing/printf-args.h              |   2 +-
 libmissing/printf-parse.c             |   2 +-
 libmissing/printf-parse.h             |   2 +-
 libmissing/size_max.h                 |   2 +-
 libmissing/snprintf.c                 |   2 +-
 libmissing/stddef.in.h                |  56 +++--
 libmissing/stdint.in.h                |  16 +-
 libmissing/stdio.in.h                 |  12 +-
 libmissing/stdlib.in.h                |   2 +-
 libmissing/strdup.c                   |   2 +-
 libmissing/string.in.h                |  23 +-
 libmissing/strndup.c                  |   2 +-
 libmissing/strnlen.c                  |   2 +-
 libmissing/sys_time.in.h              |   2 +-
 libmissing/sys_types.in.h             |   2 +-
 libmissing/tests/Makefile.am          |  38 +++-
 libmissing/tests/fdopen.c             |   2 +-
 libmissing/tests/fpucw.h              |   4 +-
 libmissing/tests/getpagesize.c        |   2 +-
 libmissing/tests/glthread/thread.c    |   2 +-
 libmissing/tests/glthread/thread.h    |   2 +-
 libmissing/tests/glthread/yield.h     |   2 +-
 libmissing/tests/init.sh              |  57 +++--
 libmissing/tests/intprops.h           | 196 +++++++++++++----
 libmissing/tests/inttypes.in.h        |   6 +-
 libmissing/tests/macros.h             |   2 +-
 libmissing/tests/msvc-inval.c         |   2 +-
 libmissing/tests/msvc-inval.h         |   2 +-
 libmissing/tests/signature.h          |   2 +-
 libmissing/tests/stdalign.in.h        | 121 +++++++++++
 libmissing/tests/stdbool.in.h         |   2 +-
 libmissing/tests/test-alloca-opt.c    |   2 +-
 libmissing/tests/test-errno.c         |   2 +-
 libmissing/tests/test-fdopen.c        |   2 +-
 libmissing/tests/test-fgetc.c         |   2 +-
 libmissing/tests/test-float.c         |   2 +-
 libmissing/tests/test-fputc.c         |   2 +-
 libmissing/tests/test-fread.c         |   2 +-
 libmissing/tests/test-fwrite.c        |   2 +-
 libmissing/tests/test-gettimeofday.c  |   2 +-
 libmissing/tests/test-init.sh         |   2 +-
 libmissing/tests/test-intprops.c      | 394 +++++++++++++++++++++-------------
 libmissing/tests/test-inttypes.c      |   2 +-
 libmissing/tests/test-lock.c          |   2 +-
 libmissing/tests/test-memchr.c        |   2 +-
 libmissing/tests/test-memrchr.c       |   2 +-
 libmissing/tests/test-snprintf.c      |   2 +-
 libmissing/tests/test-stdalign.c      | 116 ++++++++++
 libmissing/tests/test-stdbool.c       |   2 +-
 libmissing/tests/test-stddef.c        |  25 ++-
 libmissing/tests/test-stdint.c        |   2 +-
 libmissing/tests/test-stdio.c         |   2 +-
 libmissing/tests/test-stdlib.c        |   2 +-
 libmissing/tests/test-string.c        |   2 +-
 libmissing/tests/test-strnlen.c       |   2 +-
 libmissing/tests/test-sys_time.c      |   2 +-
 libmissing/tests/test-sys_types.c     |   2 +-
 libmissing/tests/test-sys_wait.h      |   2 +-
 libmissing/tests/test-thread_create.c |   2 +-
 libmissing/tests/test-thread_self.c   |   2 +-
 libmissing/tests/test-time.c          |   2 +-
 libmissing/tests/test-unistd.c        |   2 +-
 libmissing/tests/test-vasnprintf.c    |   2 +-
 libmissing/tests/test-verify.c        |   2 +-
 libmissing/tests/test-vsnprintf.c     |   2 +-
 libmissing/tests/test-wchar.c         |   2 +-
 libmissing/tests/zerosize-ptr.h       |   2 +-
 libmissing/time.in.h                  |  31 ++-
 libmissing/time_r.c                   |   2 +-
 libmissing/unistd.c                   |   1 +
 libmissing/unistd.in.h                |  39 +++-
 libmissing/vasnprintf.c               |  27 +--
 libmissing/vasnprintf.h               |   2 +-
 libmissing/verify.h                   |   4 +-
 libmissing/vsnprintf.c                |   2 +-
 libmissing/wchar.in.h                 |  16 +-
 libmissing/xsize.h                    |   2 +-
 snippet/arg-nonnull.h                 |   2 +-
 snippet/c++defs.h                     |   2 +-
 snippet/warn-on-use.h                 |   2 +-
 163 files changed, 1304 insertions(+), 499 deletions(-)

commit e23a1ffcfd30a6e7e4eefe045877436ded39b318
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Apr 21 18:04:30 2016 +0200

    Update NEWS, bump version
    
    Change-Id: I7351e79f60f1f5fe12fa606e8408ad024e380b75

 NEWS         | 10 +++++++++-
 configure.in |  6 +++---
 2 files changed, 12 insertions(+), 4 deletions(-)

commit dbc9b665811cbe3b268027d9faffae673af43fe2
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Apr 15 17:26:50 2016 +0200

    Update NEWS, bump version
    
    Change-Id: Ia7386db52297bf2138b16a229e855639ffb83543

 NEWS         | 8 +++++++-
 configure.in | 8 ++++----
 2 files changed, 11 insertions(+), 5 deletions(-)

commit c2b176f92bdac1f08070c5ffc4e48d07d3eeb5b9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Sat Apr 16 01:23:56 2016 +0700

    Update SWIG bindings
    
    Change-Id: I6b460ed437d32a0548e4763e0f41704f2f9bdbcf

 bindings/python/_preludedb.cxx | 111 +++++++++++++++++++++++++++++++++--------
 bindings/python/preludedb.py   |   2 +-
 2 files changed, 91 insertions(+), 22 deletions(-)

commit e7e3d0a6ae62cf3387a4f188e4c85da8bad291c3
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Apr 8 12:32:36 2016 +0200

    Update NEWS, bump version
    
    Change-Id: I31153b37b4c3d363d958b5410caa8ef19f78c176

 NEWS         | 8 ++++++++
 configure.in | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit e13059a4f9d0dd3e0b1c4123d6e86fddd5d48882
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Apr 6 02:45:02 2016 +0700

    [#1557] Missing increment when adding static field
    
    Change-Id: Ibfd860ce7c494ea3e071063541e5165b585bc529

 src/preludedb-sql-select.c | 1 +
 1 file changed, 1 insertion(+)

commit 6939bc03243762703b0127b236d62054b303ee6e
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Apr 1 17:49:03 2016 +0200

    Update NEWS, bump version
    
    Change-Id: Iae2c88838176e27b9a65acf53555e5b535abfcbd

 NEWS         | 8 ++++++++
 configure.in | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit e06d0e3c89a2376e4627e48d8de46db46b543128
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Mar 30 12:56:50 2016 +0200

    [#rel1242] Standardize day of week extraction (monday=0, sunday=6).
    
    Change-Id: If22ccc290b0cad68f27d2a4285b8aeead8e76768

 plugins/sql/mysql/mysql.c     | 2 +-
 plugins/sql/pgsql/pgsql.c     | 2 +-
 plugins/sql/sqlite3/sqlite3.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit 95f02bdef0afcd6450c3bef455148d96ae4f9e54
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Mar 23 16:59:43 2016 +0100

    Update NEWS, bump version
    
    Change-Id: I6d029999e1d9ae2ec1a2d27fe4180464347a4de3

 NEWS         | 6 ++++++
 configure.in | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

commit a65da0d1d6dc79aac78ed3a3dc3f4bff89116136
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Mar 17 15:55:08 2016 +0100

    Update NEWS, bump version
    
    Change-Id: Icc937f3dee6d5497e6ac323ec6d80a7971600f66

 NEWS         | 8 ++++++++
 configure.in | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit ed6498c276b6dd00b973a717be5724e7b3775198
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Sun Mar 6 18:23:05 2016 +0100

    [#1242] Implement the SQL timezone() function
    
    Change-Id: Id38f4e059c9fe2f91de7611ae0364966bbd02873

 plugins/sql/mysql/mysql.c                 |   8 +
 plugins/sql/pgsql/pgsql.c                 |  10 +
 src/include/preludedb-path-selection.h    |   1 +
 src/include/preludedb-plugin-sql.h        |  10 +
 src/include/preludedb-sql.h               |   2 +
 src/preludedb-path-selection-parser.lex.c | 311 ++++++++++++++-------------
 src/preludedb-path-selection-parser.lex.h |   2 +-
 src/preludedb-path-selection-parser.lex.l |   1 +
 src/preludedb-path-selection-parser.yac.c | 344 ++++++++++++++++--------------
 src/preludedb-path-selection-parser.yac.h |  64 +++---
 src/preludedb-path-selection-parser.yac.y |  19 +-
 src/preludedb-path-selection.c            |  17 +-
 src/preludedb-plugin-sql.c                |  19 ++
 src/preludedb-sql-select.c                |  44 ++--
 src/preludedb-sql.c                       |   8 +
 15 files changed, 492 insertions(+), 368 deletions(-)

commit b32de92ce3c0e896999838272b16e543e9a06863
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Feb 26 10:52:35 2016 +0100

    Update NEWS, bump version
    
    Change-Id: If49d15cc794d42b9e495fe309df723b3046ca2c7

 NEWS         | 18 ++++++++++++++++++
 configure.in |  8 ++++----
 2 files changed, 22 insertions(+), 4 deletions(-)

commit a15040b185d86b77f50d0e2b7c30679ab6fb5654
Author: Louis-David GABET <louis-david.gabet@c-s.fr>
Date:   Tue Feb 23 15:17:20 2016 +0100

    [#1182] Document the "optimize" command
    
    Document the "optimize" command introduced in
    commit 8912325de6411afd8e7ab37aeb0a6557c5b0df08
    
    Change-Id: Ie1aaa133a38479db9c0c6233b051bce97e2f1fcf

 preludedb-admin.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

commit c313235e84395411bb8a0087b4d67a87ea04d449
Author: Abdel ELMILI <abdel.elmili@c-s.fr>
Date:   Fri Feb 5 18:42:26 2016 +0100

    [#1095] Fix URL and spelling mistakes
    
    Change-Id: Id1fdf92099d76735b663886864b6f731ea494cf6

 README | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit e36efb60e226635c19614d745f3ac15407581648
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jan 22 14:20:19 2016 +0100

    Missing config.h inclusion
    
    Change-Id: I1945b1dd1228120ede18f77cd71e5e31d79e6ef3

 src/preludedb-path-selection-parser.lex.c |  91 +++++++++---------
 src/preludedb-path-selection-parser.lex.h |   4 +-
 src/preludedb-path-selection-parser.lex.l |   2 +
 src/preludedb-path-selection-parser.yac.c | 147 +++++++++++++++---------------
 src/preludedb-path-selection-parser.yac.h |  12 ++-
 src/preludedb-path-selection-parser.yac.y |   1 +
 src/preludedb-plugin-format.c             |   2 +
 src/preludedb-plugin-sql.c                |   2 +
 8 files changed, 139 insertions(+), 122 deletions(-)

commit 1f3a617f758b2d64226d087ba4736a1192d09752
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jan 20 19:43:39 2016 +0100

    [#rel1035] preludedb_sql_field_t conversion performance improvement
    
    Use strto(u)(d|f|ll) in place of sscanf() for preludedb_sql_field_t type conversion.
    This provide massive performance improvement when batch converting a lot of field.
    
    Before the patch, retrieval of 544 correlation alert including a lot of sources
    took 12.30 seconds, after the patch : 5.10 seconds.
    
    Change-Id: I31d6138affaabfe89d564e6539c4e901d257e655

 src/preludedb-sql.c | 73 ++++++++++++++++++++++++++++++++---------------------
 1 file changed, 44 insertions(+), 29 deletions(-)

commit 690d8a598b2697640d6b05d0fae0e63426e094a8
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Jan 11 11:38:36 2016 +0100

    Update NEWS, bump version
    
    Change-Id: I55b0d3b2a49d08067d8949097beaeef1fd74a518

 NEWS         | 32 ++++++++++++++++++++++++++++++++
 configure.in | 16 ++++++++--------
 2 files changed, 40 insertions(+), 8 deletions(-)

commit 47dde469b3a5dcc7d7a399f54222b6cae0ed1f78
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Jan 12 14:37:03 2016 +0100

    [#1007] Copyright year update
    
    Change-Id: I4fe75cfdbebbf7afe3e5b8d7fd12afc7960e99a9

 LICENSE.README                                        | 2 +-
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin.c                                     | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-select.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-select.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 39 files changed, 39 insertions(+), 39 deletions(-)

commit 99cd43373b78fe444a7627f298d79d9743ba5182
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Dec 24 12:55:55 2015 +0100

    [#rel990] Implement preludedb_path_selection_set_column_count()
    
    Change to preludedb_path_selection_add_selected() so that the column count
    is retrieved only if it has not been manually set.
    
    Change-Id: I62ba9a4ab3995dfb64fe52e379beaee6da03a4ea

 src/include/preludedb-path-selection.h |  1 +
 src/preludedb-path-selection.c         | 20 +++++++++++++++++---
 2 files changed, 18 insertions(+), 3 deletions(-)

commit 8912325de6411afd8e7ab37aeb0a6557c5b0df08
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Dec 17 11:28:56 2015 +0100

    [#rel866] Support for format plugin initialization, optimize function
    
    Change-Id: Ia5c4c7fee81faba5a1308e7a6653e3cd25fb39ab

 bindings/c++/include/preludedb.hxx        |  2 +
 bindings/c++/preludedb.cxx                | 12 +++++
 preludedb-admin.c                         | 78 +++++++++++++++++++++++++++----
 src/include/preludedb-plugin-format-prv.h |  2 +
 src/include/preludedb-plugin-format.h     |  9 ++++
 src/include/preludedb.h                   |  2 +
 src/preludedb-plugin-format.c             | 27 +++++++++++
 src/preludedb.c                           | 24 ++++++++++
 8 files changed, 148 insertions(+), 8 deletions(-)

commit 376b3b49da6e3c76025fe4c88d33ea216e1dc55f
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Nov 13 20:08:40 2015 +0700

    [#rel866] MySQL support for multiple statement
    
    This allows multiple INSERT queries to be grouped in the same statement.
    Execution of multiple SELECT queries is also supported, but only the last
    result may be retrieved.
    
    Change-Id: I3405c2e75e4af53df205e6d278cee450e14bb7fd

 plugins/sql/mysql/mysql.c | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)

commit d936839d2c450ad0b3ad219328f94f91361ddd4a
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Dec 16 17:25:05 2015 +0100

    [#rel866]: implement preludedb_sql_get_settings()
    
    Implement missing preludedb_sql_get_settings() function, making it possible
    for the client to retrieve the settings used by the SQL object.
    
    Change-Id: If68c685ce5f19f4c009f054bfb247cbe14259811

 src/include/preludedb-sql.h |  2 ++
 src/preludedb-sql.c         | 14 ++++++++++++++
 2 files changed, 16 insertions(+)

commit 09ddd6d911ed9ed8115e6c1be1d219b7a91a1f67
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Nov 13 20:02:21 2015 +0700

    [rel#866]: Improved error reporting
    
    Change-Id: I738f88e120c821a6a3a58e9aec889c8fe4e37ea5

 plugins/sql/mysql/mysql.c     | 4 ++--
 plugins/sql/pgsql/pgsql.c     | 8 +++++++-
 plugins/sql/sqlite3/sqlite3.c | 2 +-
 3 files changed, 10 insertions(+), 4 deletions(-)

commit f97e9b75184fb925a90482a7e5e42c6b822de9c4
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Aug 11 14:57:40 2015 +0200

    [#777]: getValues() improvement
    
    - Moved to a Flex/Bison parser
    - Allow support for more complex request, with different level of code :
      max(extract(alert.create_time, "hour"))
    
    New public preludedb_sql_select_t API, deprecating classic_sql_select_t.
    
    Change-Id: I36ad67a98ed4a2c62ccbe54074cdfa09fd19c785

 configure.in                                       |    3 +
 plugins/format/classic/Makefile.am                 |    2 +-
 plugins/format/classic/classic-delete.c            |   24 +-
 plugins/format/classic/classic-get.c               |   11 +-
 plugins/format/classic/classic-insert.c            |    6 +-
 plugins/format/classic/classic-path-resolve.c      |   97 +-
 plugins/format/classic/classic-sql-select.c        |  190 --
 plugins/format/classic/classic.c                   |  114 +-
 plugins/format/classic/include/Makefile.am         |    2 +-
 plugins/format/classic/include/classic-delete.h    |   12 +-
 plugins/format/classic/include/classic-get.h       |    4 +-
 plugins/format/classic/include/classic-insert.h    |    2 +-
 .../format/classic/include/classic-path-resolve.h  |    8 +-
 .../format/classic/include/classic-sql-select.h    |   39 -
 plugins/sql/mysql/mysql.c                          |   52 +-
 plugins/sql/pgsql/pgsql.c                          |   55 +-
 plugins/sql/sqlite3/sqlite3.c                      |   48 +-
 src/Makefile.am                                    |    9 +
 src/include/Makefile.am                            |    1 +
 src/include/preludedb-path-selection.h             |   50 +-
 src/include/preludedb-plugin-format-prv.h          |    1 +
 src/include/preludedb-plugin-format.h              |   43 +-
 src/include/preludedb-plugin-sql.h                 |    7 +-
 src/include/preludedb-sql-select.h                 |   53 +
 src/include/preludedb-sql.h                        |   19 +-
 src/include/preludedb.h                            |    1 +
 src/preludedb-path-selection-parser.lex.c          | 2209 ++++++++++++++++++++
 src/preludedb-path-selection-parser.lex.h          |  344 +++
 src/preludedb-path-selection-parser.lex.l          |  101 +
 src/preludedb-path-selection-parser.yac.c          | 1885 +++++++++++++++++
 src/preludedb-path-selection-parser.yac.h          |  148 ++
 src/preludedb-path-selection-parser.yac.y          |  263 +++
 src/preludedb-path-selection.c                     |  445 ++--
 src/preludedb-plugin-format.c                      |   39 +-
 src/preludedb-plugin-sql.c                         |    5 +-
 src/preludedb-sql-select.c                         |  394 ++++
 src/preludedb-sql.c                                |    9 +
 src/preludedb.c                                    |   32 +-
 38 files changed, 6077 insertions(+), 650 deletions(-)

commit 18c502c3a168290e944619f9311ec83fe10bc24c
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Aug 4 17:50:03 2015 +0200

    [#866] Use UNIX database connection by default
    
    Change-Id: Iaccbd4d2efd8468d83d3fafd04477d7727aefadd

 src/preludedb-sql-settings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4556da4fe4e9d99fe55f983422cfebfe73e4c130
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Aug 4 15:30:18 2015 +0200

    [#866] New get_last_insert_ident() API
    
    Improve auto-incremented field retrieval performance for format plugin
    supporting this API.
    
    Change-Id: I1ae270f5b7e0958a59de3b0363d4005ef76daaf1

 plugins/sql/mysql/mysql.c          | 11 +++++++++++
 plugins/sql/pgsql/pgsql.c          | 30 ++++++++++++++++++++++++++++++
 src/include/preludedb-plugin-sql.h |  6 +++++-
 src/include/preludedb-sql.h        |  2 ++
 src/preludedb-plugin-sql.c         | 13 +++++++++++++
 src/preludedb-sql.c                | 20 ++++++++++++++++++++
 6 files changed, 81 insertions(+), 1 deletion(-)

commit 10d15a3d6903c5add7001f60a10f28e80d88ca19
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jul 31 09:43:55 2015 +0200

    Update NEWS, bump version
    
    Change-Id: I3e8f6265753a41bafc1bccb75577c4c8b2a1fe91

 NEWS         | 6 ++++++
 configure.in | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

commit 3f19ab8cb1df55f61a602385a6f2473b58b0246b
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Jul 27 10:07:38 2015 +0200

    Update NEWS, bump version
    
    Change-Id: Ife0f61bf751046b1d4e8d65f7990c779bfc8a3d1

 NEWS         | 44 ++++++++++++++++++++++++++++++++++++++++++++
 configure.in | 12 ++++++------
 2 files changed, 50 insertions(+), 6 deletions(-)

commit 3ac9b75b9f3210b890995748df58a9bfab2c8880
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Jul 29 15:21:13 2015 +0200

    [#720] Update from prelude-ids.org to prelude-siem.org
    
    Change mailing lists to forums.
    
    Change-Id: I222e5bb52eb7e28728aa93f9e14dbefbf0368133

 LICENSE.README                  |  2 +-
 README                          | 22 +++++++++-------------
 bindings/python/setup.py.in     |  2 +-
 docs/manpages/preludedb-admin.1 | 10 +++++-----
 m4/libprelude.m4                |  2 +-
 m4/libpreludedb.m4              |  2 +-
 6 files changed, 18 insertions(+), 22 deletions(-)

commit a808174302f24b1b263f0edf4b13f269fde07720
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jul 24 09:21:28 2015 +0200

    [#723]: fix version checking on 32 bits system
    
    prelude_simple_strtod() seems to trigger kind of a gcc problem.
    Additionally, we cannot really expect a version number to only have
    2 version level.
    
    Change-Id: Ie1c7e7dedbd554fabf66a494538ca2ae3bdd2876

 plugins/format/classic/classic.c | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

commit 9f3f88e5b3593e79af2f23a66d3f086e3228c059
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jul 17 10:15:09 2015 +0200

    [#rel:628] Handle type 'data' in value convertion
    
    Change-Id: I3a7efbc69d3871b989cbd406f6b157d234b396af

 bindings/python/_preludedb.cxx           | 1 +
 bindings/python/libpreludedbcpp-python.i | 1 +
 2 files changed, 2 insertions(+)

commit 864829142741f0ee6682cfc1aab892b96dbdcec6
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jul 9 07:17:28 2015 +0200

    [#650, #ext608] Fix warnings with PostgreSQL string insertion
    
    Never use the E'' syntax anymore : use standard escaping function and
    force standard_conforming_strings to on to avoid the double backslash
    warning on PostgreSQL < 9.1.
    
    - Turn standard_conforming_strings to ON for the connection.
    - Revert "Fix warnings and error on ByteA insertion", id d62e99d8c00480ed7529ac8a089352cb8f30a1b9.
    
    Change-Id: I9411d55642efea76fc668f5d6e9b6666ca9a162f

 configure.in              |  1 +
 plugins/sql/pgsql/pgsql.c | 66 +++++++++++++++++++----------------------------
 2 files changed, 27 insertions(+), 40 deletions(-)

commit 25d0db4a280e26ff32b27f3bfb37f1efc911a30e
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jul 8 11:09:00 2015 +0800

    [#628] Fix AdditionalData retrieval failure
    
    - When SQL function are used, the number of retrieved field is always 1.
    - Properly return untyped AdditionalData in situation where the type field is not available.
    
    Change-Id: Ibc3e16fbbf6b8a89d2160dcbde1e067b64d97086

 plugins/format/classic/classic.c | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

commit b9c3f5e3bea0291cfb08600d18577332e4ced32e
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jul 6 07:35:12 2015 +0800

    Add getType() wrapper for preludedb_sql_get_type() function
    
    Change-Id: I3773bb43a3400510f6ca5fd9140e22112c42b1b5

 bindings/c++/include/preludedb-sql.hxx |  1 +
 bindings/python/_preludedb.cxx         | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

commit 404ffd83a6a623646fb523c9d29a08d022a7f30c
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jul 8 11:13:46 2015 +0800

    Update SWIG generated code
    
    Use SWIG 3.0.6 to generate the bindings code
    
    Change-Id: I714cc50affe633d7ae021957737330e77425e2bf

 bindings/python/_preludedb.cxx | 120 +++++++++++++++++++++++++++++++++++------
 bindings/python/preludedb.py   |  64 ++++++++++++++--------
 2 files changed, 146 insertions(+), 38 deletions(-)

commit 305395f0544f9d17d0f69f28c4bd75f1c7762782
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jul 6 07:30:32 2015 +0800

    [#593] Year extraction was not working
    
    PRELUDEDB_SQL_TIME_CONSTRAINT_YEAR was defined as 0, which made it impossible to know
    when the flags was set. Set it to a new custom value, and preserve other flags values
    for backward compatibility.
    
    Change-Id: I77e992d1b055d6b447ff9939fb0c6f3b1c77a0f4

 src/include/preludedb-sql.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit 83c21c9371786d1abfa9a21b6d9e3e70e8eabfc4
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Jun 29 17:24:54 2015 +0200

    [#516] Copyright year update
    
    Change-Id: Iffacde1c2dd9242140d18b4fd19c4e0f15e4116a

 LICENSE.README                                        | 2 +-
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic-sql-select.c           | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/format/classic/include/classic-sql-select.h   | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin.c                                     | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 39 files changed, 39 insertions(+), 39 deletions(-)

commit 5c08cdcc3d6109087bf21dede055279e86c1511a
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Nov 5 16:50:22 2014 +0100

    SWIG Python now use builtin mode (massive performance improvements)
    
    Change-Id: Ic7522b53419007da101a34697eac125163b343f2

 bindings/c++/include/preludedb-sql.hxx   |     9 +-
 bindings/c++/include/preludedb.hxx       |    12 +-
 bindings/c++/preludedb-sql.cxx           |    58 +-
 bindings/c++/preludedb.cxx               |   102 +-
 bindings/libpreludedbcpp.i               |    34 +-
 bindings/python/Makefile.am              |     2 +-
 bindings/python/_preludedb.cxx           | 12225 +++++++++++++++++++++--------
 bindings/python/libpreludedbcpp-python.i |   401 +-
 bindings/python/preludedb.py             |   275 +-
 9 files changed, 9247 insertions(+), 3871 deletions(-)

commit b9c6bdf9e7e146cc89c57563ddc55b976b32c827
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Oct 27 13:51:38 2014 +0100

    Optimisation work : reduce the number of allocation
    
    When fetching a high number of rows/fields, it is sub-optimal to
    allocate a new field structure for each field.
    
    Make fields a flexible array member within the row structure, and
    allocate it dynamically.
    
    This also substentially reduce the preludedb_sql_field_t structure
    size.
    
    Change-Id: I52e3e1268e4f0f4807e176d6df927d968ae913d4

 src/preludedb-sql.c | 99 ++++++++++++++++++++++++-----------------------------
 1 file changed, 45 insertions(+), 54 deletions(-)

commit eeefab035bf0ce9cfc418cd80b7bf990788c8f7b
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Oct 27 13:34:46 2014 +0100

    Cache preludedb_sql_table_get_(row|column)_count()
    
    Depending on the backend, theses function might be slow : cache
    the return value.
    
    Change-Id: I11ba506cc9c051ba687ca1e807c9552bfa77b5a1

 src/preludedb-sql.c | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

commit b267fd6a1b85c16e078b5948207fdfbc877e7cb7
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 31 09:02:19 2014 +0100

    Add missing C++ operator
    
    Change-Id: I43a9d59c925585ed24ac6d2c2be30ec05133f792

 bindings/c++/include/preludedb-sql.hxx |  1 +
 bindings/c++/include/preludedb.hxx     |  2 +-
 bindings/c++/preludedb-sql.cxx         | 12 ++++++++++++
 bindings/c++/preludedb.cxx             | 14 +++++++++++++-
 4 files changed, 27 insertions(+), 2 deletions(-)

commit a3ef2feca08fe0ddfbe12ee64e2d6563222ca803
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Oct 30 12:30:41 2014 +0100

    Fix memory leak on AdditionalData retrieval
    
    Change-Id: I22e4553e34c888100b75edff047cf27a8d9911d2

 plugins/format/classic/classic-get.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit 6f7c57c7cf8afb9d26809176a448cb572b7339bb
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Oct 30 07:15:02 2014 +0100

    Fix getValues() AdditionalData handling
    
    AdditionalData returned through getValues() weren't unescaped, and were
    always of type string. We now automatically unescape the data, and
    retrieve the AdditionalData type from the database to return the
    correct value type.
    
    PreludeDB internal_value_cb is also modified in order to best handle byte
    string (use a prelude_string container, which is able to carry any string
    independantly from their content).
    
    Change-Id: Ic71aa54966cd93bd36b6a04364096fd9461a7b65

 plugins/format/classic/classic-get.c          |  64 ++++---------
 plugins/format/classic/classic-path-resolve.c |  17 +++-
 plugins/format/classic/classic.c              | 128 ++++++++++++++++++++++++--
 src/preludedb.c                               |  11 +++
 4 files changed, 165 insertions(+), 55 deletions(-)

commit 23104e0f396b8e6a19febb933406b46670c74cd7
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 29 17:00:02 2014 +0100

    Fix deprecation warnings
    
    Change-Id: Ia4ca53a1756d18628fb75dbe920f24e62677a008

 plugins/format/classic/classic-get.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit dae1623639ae086e45530fda7559d55c028e4eb3
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 29 12:53:44 2014 +0100

    preludedb-admin fixes
    
    preludedb-admin needed a few update to be on par with latest changes.
    
    Change-Id: Id7111e9d748793cd81b3f9533997fa274f1ee069

 preludedb-admin.c | 17 ++++++++++++-----
 src/preludedb.c   |  3 ++-
 2 files changed, 14 insertions(+), 6 deletions(-)

commit a2df5e85e60ce4d434b28142c07502586c84d9cd
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 29 11:06:24 2014 +0100

    New value fetch mode, remove deprecated API
    
    Introduce preludedb_result_values_get_field_direct() function, that can
    be used by libpreludedb bindings in order to optimize translation from
    C to target language value.
    
    Implement missing preludedb_result_values_get_db() function.
    
    Remove deprecated old *_get_next_* functions.
    Remove deprecated low-level bindings.
    
    Change-Id: Ia31938f1cf197e91c790cf179d42e795c0d443dd

 bindings/Makefile.am                            |     2 +-
 bindings/low-level/Makefile.am                  |    16 -
 bindings/low-level/libpreludedb.i               |   111 -
 bindings/low-level/python/Makefile.am           |    27 -
 bindings/low-level/python/_preludedbold.c       | 11352 ----------------------
 bindings/low-level/python/libpreludedb-python.i |   410 -
 bindings/low-level/python/preludedbold.py       |     9 -
 bindings/low-level/python/setup.py.in           |    90 -
 bindings/python/_preludedb.cxx                  |     8 +-
 configure.in                                    |     4 -
 plugins/format/classic/classic-delete.c         |     4 +-
 plugins/format/classic/classic.c                |   197 +-
 preludedb-admin.c                               |    22 +-
 src/include/preludedb-plugin-format-prv.h       |     2 -
 src/include/preludedb-plugin-format.h           |    12 +-
 src/include/preludedb.h                         |     9 +-
 src/preludedb-plugin-format.c                   |    22 +-
 src/preludedb.c                                 |    70 +-
 18 files changed, 132 insertions(+), 12235 deletions(-)

commit 86a3f8c0096559d9911658d1dc6c725fa66bf570
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Oct 27 10:42:03 2014 +0100

    Update NEWS, bump version
    
    Change-Id: I6a9e9c1979e7345657d3e56fbaba7b083d968490

 NEWS                                      | 44 +++++++++++++++++++++++++++++++
 bindings/low-level/python/_preludedbold.c |  6 ++---
 configure.in                              |  8 +++---
 3 files changed, 51 insertions(+), 7 deletions(-)

commit c7c477655968d64c87359e3a71b40b3612d4d730
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Sun Oct 26 10:57:47 2014 +0100

    MySQL: fix invalid field length
    
    mysql_fetch_lengths() is only valid for the current row of the result set.
    As a result, the lengths pointer we used to hold in preludedb_sql_row_t
    wasn't reflecting the given preludedb_sql_row_t fields lengths, but the
    current fields lengths.
    
    To fix this problem, we copy the MySQL lengths at preludedb_sql_row_t
    creation time. A flexible array member is used to avoid repeated call
    to malloc.
    
    Change-Id: Ia06302f5c23e4c99562aa810baab74067d7553ab

 plugins/sql/mysql/mysql.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

commit 7e9ff40e6e6116b7e706137a1bbb129566cde18a
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Oct 24 17:37:08 2014 +0200

    Force default include path for high-level Python binding
    
    Change-Id: I8b28fb49c819f858bb5247aa3e085cbd4695194b

 bindings/python/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit cefb5fa88e8b001add35cb882039f4d53caa7749
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Oct 24 10:35:48 2014 +0200

    Fix #436: allow serial_version to be 0 when level_version is final
    
    Change-Id: Ic071f781741f363379bfb905f19d40281d8c557e

 configure.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 9537609c012fa4f74eaedb428f0daffc40dc8cd7
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 24 14:07:10 2014 +0200

    Fix possible NULL pointer dereference
    
    In case we try to access a specific row, and that some preceding rows
    have not been fetched previously, they might be NULL.
    
    Change-Id: Ia01737d20f3efd868bb33866afc810ac6479acef

 src/preludedb-sql.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 037f81142367c7039854f3b1ddea4e008a2e7ef5
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Oct 23 21:16:44 2014 +0200

    Fix memory leak
    
    Change-Id: I398b27126fd82a856acd672764f9acc1992a02e9

 bindings/c++/preludedb.cxx | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

commit daba44a4f0edfc9b3c7efeaf5d6006b4a15f1c96
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 22 16:59:46 2014 +0200

    Fix memory (over) allocation for SQL fields
    
    We were allocating too much memory for the fields table, which could
    lead to very big memory usage in case of high number of rows / fields.
    
    Change-Id: Ia9838746c4d2c7226c83f236c0860e54a10d00c1

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c380c2aeb0b723503b8bf41ca8585fbb150861c1
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Oct 21 18:20:20 2014 +0200

    Support self argument to IDMEFValue_to_SWIG for future builtin compatibility
    
    Change-Id: I251248a340fbf04863ec877150d24edd29071fa0

 bindings/python/_preludedb.cxx           | 14 ++++++++------
 bindings/python/libpreludedbcpp-python.i |  1 +
 2 files changed, 9 insertions(+), 6 deletions(-)

commit a68419e36f55177344ab8590852a7b1546ae7a27
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Oct 21 10:55:39 2014 +0200

    Add API safety checks
    
    Change-Id: I84224a92ed74e5c3a7c751677ca7b4ea7a9dc61e

 src/preludedb.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 58 insertions(+), 1 deletion(-)

commit 55301b87e467c519bcdc316658672e4897b3662c
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Oct 21 10:54:38 2014 +0200

    Make sure the results are not empty when calling db backend function
    
    Change-Id: I9a6f3336e4501d4d761cbaf93966b14ce9ea41b6

 bindings/c++/preludedb.cxx | 9 +++++++++
 1 file changed, 9 insertions(+)

commit c9758d143de930a5baf449ea9077b651c8d2e851
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Oct 20 18:40:38 2014 +0200

    Update low-level bindings
    
    Change-Id: I1881d820177df34593524b1e755738cb4a268dff

 bindings/low-level/python/_preludedbold.c | 452 +++++++++++++++---------------
 1 file changed, 228 insertions(+), 224 deletions(-)

commit 26cc7a2537c816465894734b72579ee141a0870b
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Oct 20 18:43:54 2014 +0200

    Update GnuLib code to include memrchr
    
    Change-Id: Ia145b71b5bc0d4f6c108b9b05a71ff7eec1ca4f0

 libmissing/Makefile.am          |  11 ++-
 libmissing/alloca.in.h          |   2 +-
 libmissing/asnprintf.c          |   2 +-
 libmissing/errno.in.h           |   2 +-
 libmissing/float+.h             |   2 +-
 libmissing/float.c              |   2 +-
 libmissing/float.in.h           |   2 +-
 libmissing/gettimeofday.c       |   2 +-
 libmissing/glthread/lock.c      |   2 +-
 libmissing/glthread/lock.h      |   2 +-
 libmissing/glthread/threadlib.c |   2 +-
 libmissing/itold.c              |   2 +-
 libmissing/m4/gnulib-cache.m4   |   5 +-
 libmissing/m4/gnulib-comp.m4    |  14 ++++
 libmissing/m4/memrchr.m4        |  23 ++++++
 libmissing/malloc.c             |   2 +-
 libmissing/memchr.c             |   2 +-
 libmissing/memrchr.c            | 161 ++++++++++++++++++++++++++++++++++++++++
 libmissing/printf-args.c        |   2 +-
 libmissing/printf-args.h        |   2 +-
 libmissing/printf-parse.c       |   2 +-
 libmissing/printf-parse.h       |   2 +-
 libmissing/size_max.h           |   2 +-
 libmissing/snprintf.c           |   2 +-
 libmissing/stddef.in.h          |   2 +-
 libmissing/stdint.in.h          |   2 +-
 libmissing/stdio.in.h           |   2 +-
 libmissing/stdlib.in.h          |   2 +-
 libmissing/strdup.c             |   2 +-
 libmissing/string.in.h          |   2 +-
 libmissing/strndup.c            |   2 +-
 libmissing/strnlen.c            |   2 +-
 libmissing/sys_time.in.h        |   2 +-
 libmissing/sys_types.in.h       |   2 +-
 libmissing/tests/Makefile.am    |   8 ++
 libmissing/tests/test-memrchr.c |  91 +++++++++++++++++++++++
 libmissing/time.in.h            |   2 +-
 libmissing/time_r.c             |   2 +-
 libmissing/unistd.in.h          |   2 +-
 libmissing/vasnprintf.c         |   2 +-
 libmissing/vasnprintf.h         |   2 +-
 libmissing/verify.h             |   2 +-
 libmissing/vsnprintf.c          |   2 +-
 libmissing/wchar.in.h           |   2 +-
 libmissing/xsize.h              |   2 +-
 45 files changed, 348 insertions(+), 41 deletions(-)

commit 1625e3cd30e8c6e51a08d51c665cffafd51ee432
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Oct 20 09:17:15 2014 +0200

    Support time extraction on selected fields
    
    Change-Id: Ib7379170dc09ac4fcadc8f3875bfb4f4b056aba4

 plugins/format/classic/classic-path-resolve.c | 23 +++++++--
 plugins/format/classic/classic.c              |  4 +-
 plugins/sql/mysql/mysql.c                     | 67 +++++++++++++++------------
 plugins/sql/pgsql/pgsql.c                     | 63 ++++++++++++++-----------
 plugins/sql/sqlite3/sqlite3.c                 | 62 +++++++++++++++----------
 src/include/preludedb-plugin-sql.h            | 11 +++++
 src/include/preludedb-sql.h                   |  3 ++
 src/preludedb-path-selection.c                | 67 ++++++++++++++++++++++++---
 src/preludedb-plugin-sql.c                    | 22 +++++++++
 src/preludedb-sql.c                           |  7 +++
 10 files changed, 238 insertions(+), 91 deletions(-)

commit b396a70ae11f3da2434e2c9cc9963993236e18dd
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 17 18:47:02 2014 +0200

    When there are multiple field, apply order/group_by to each field
    
    Additionally, when a GROUP BY occur on create_time, ignore
    gmtoff and usec fields, since the result wouldn't be reliable.
    
    Also, since we now know the number of column used for each path,
    we don't need to insert dummy "O" field.
    
    Change-Id: Ie22c30edc00e4e2a299d5763af6fe4db47f5583f

 plugins/format/classic/classic-path-resolve.c      |  9 ++--
 plugins/format/classic/classic-sql-select.c        | 50 ++++++++++------------
 plugins/format/classic/classic.c                   |  3 +-
 .../format/classic/include/classic-sql-select.h    |  2 +-
 4 files changed, 32 insertions(+), 32 deletions(-)

commit 87221d71bc427c6f0406b5139b99f9b4292243e3
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 17 18:50:18 2014 +0200

    Fix issues with fields internally expanded to multiples fields
    
    Format plugins now have to register a "get_path_column_count"
    callback, that will return the number of field used for a given
    path.
    
    Fix a problem with invalid fields returned, in query on specific
    fields that were expanded to multiple fields.
    
    Change-Id: Ic210c0e270ea2344bc60c433af10fd23e3da71f6

 bindings/c++/Makefile.am                          |    2 +-
 bindings/c++/include/Makefile.am                  |    2 +-
 bindings/c++/include/preludedb-path-selection.hxx |   22 -
 bindings/c++/include/preludedb.hxx                |    5 +-
 bindings/c++/preludedb-path-selection.cxx         |   69 -
 bindings/c++/preludedb.cxx                        |   56 +-
 bindings/libpreludedbcpp.i                        |   32 -
 bindings/python/_preludedb.cxx                    |  655 +++------
 bindings/python/libpreludedbcpp-python.i          |    3 +-
 bindings/python/preludedb.py                      |   17 +-
 docs/api/libpreludedb-decl.txt                    | 1613 +++++++++++++--------
 docs/api/tmpl/libpreludedb-unused.sgml            |   16 +
 docs/api/tmpl/preludedb-error.sgml                |    1 +
 docs/api/tmpl/preludedb-path-selection.sgml       |    2 +
 docs/api/tmpl/preludedb-plugin-sql.sgml           |   30 +-
 docs/api/tmpl/preludedb.sgml                      |    4 +-
 plugins/format/classic/classic-path-resolve.c     |    2 +-
 plugins/format/classic/classic.c                  |   45 +-
 preludedb-admin.c                                 |   51 +-
 src/include/preludedb-path-selection.h            |   18 +-
 src/include/preludedb-plugin-format-prv.h         |    1 +
 src/include/preludedb-plugin-format.h             |    5 +
 src/include/preludedb.h                           |    3 +-
 src/preludedb-path-selection.c                    |   39 +-
 src/preludedb-plugin-format.c                     |    8 +
 src/preludedb.c                                   |    8 +-
 26 files changed, 1384 insertions(+), 1325 deletions(-)

commit 3b8e2f2d83ef2cf4c07f8225e27fbe0e617f83ff
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 17 15:06:33 2014 +0200

    Correctly throw PreludeDB exception in Python
    
    Throw PreludeDBError exception object rather than generic
    Python exception. Additionally, modify libpreludedbcpp.i
    so that PreludeDBError is derived from PreludeError.
    
    Change-Id: Id0aaeb94ee8dc7964082d1d7c2d398f384e89917

 bindings/libpreludedbcpp.i               |    2 +
 bindings/python/_preludedb.cxx           | 2454 ++++++++++++++++--------------
 bindings/python/libpreludedbcpp-python.i |   15 +
 bindings/python/preludedb.py             |    4 +-
 4 files changed, 1372 insertions(+), 1103 deletions(-)

commit 61ffa3a1ab0ad25ef82ad472f2a1048c6c6d9ca8
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 17 14:42:49 2014 +0200

    Fix memory leak on error
    
    Change-Id: Ib8f38ec29a27ab2467e7e938660a1a1c663b993a

 src/preludedb-sql.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit b4654fc99f1a9fe974af56ba5021fee8fa0ae878
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 17 12:06:23 2014 +0200

    Error checking fixes, use ENOSYS in place of ENOTSUP
    
    Check _preludedb_plugin_sql_get_row_count() return value with
    the prelude_error defined code so that we can workaround the
    case where the backend doesn't implement the function.
    
    Additionally, replace any instance of ENOTSUP with ENOSYS. ENOTSUP
    is not available everywhere (OpenBSD), so we used to define it to
    ENOTSUPP in case it wasn't. This made it harder to check for the
    libprelude mapped error code (which could be PRELUDE_ERROR_ENOTSUP
    or PRELUDE_ERROR_ENOTSUPP). Using ENOSYS, which seems portable,
    make it possible to avoid the problem.
    
    Change-Id: I1e261f2cb2414cf5a2424acf0ac8a731e0c45623

 src/preludedb-plugin-sql.c | 6 +-----
 src/preludedb-sql.c        | 2 +-
 src/preludedb.c            | 7 ++++---
 3 files changed, 6 insertions(+), 9 deletions(-)

commit 6bfb5c0ea567566abfdb80a5d27797192cc5a90d
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Oct 15 18:03:28 2014 +0200

    Update NEWS, bump version
    
    Change-Id: I861d70e0cf13fa86e6806749b2873e68dd93b962

 NEWS                                      | 24 ++++++++++++++++++++++++
 bindings/low-level/python/_preludedbold.c |  2 +-
 configure.in                              |  6 +++---
 3 files changed, 28 insertions(+), 4 deletions(-)

commit 0f7bc30a8ff296c2cd04a0148bc133a0658ba355
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Oct 14 16:32:13 2014 +0200

    Fix possible group_by/order_by index problem
    
    This can happen in case the previously selected field is an aggregate
    of multiple fields (like create_time).
    
    Change-Id: I01e01c9ab7e61fea7d6f78677bcff5c6b965b1d1

 plugins/format/classic/classic-sql-select.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit a396369dcf503ab4ac996011d7ebab87a501c137
Author: Camille GARDET <camille.gardet@c-s.fr>
Date:   Wed Oct 15 09:38:10 2014 +0200

    Fix #412 - Move dependencies in README file
    
    Change-Id: Ia415187a3c94eb1f204050cf1c64a6be5816a633

 INSTALL | 15 ---------------
 README  | 27 ++++++++++++++++++++++-----
 2 files changed, 22 insertions(+), 20 deletions(-)

commit bd3859afe35196757b0f7e6bcdefc661df964bd4
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Oct 9 02:06:25 2014 +0200

    Unlock Python GIL before calling libpreludedb function
    
    Some libpreludeDB function are blocking, so we don't want long
    request to completly lock the interpreter.
    
    Change-Id: I45dec7ea6441f137b0090fe6caaaf0dbee743375

 bindings/libpreludedbcpp.i     |   2 +
 bindings/python/_preludedb.cxx | 486 ++++++++++++++++++++++++++++++++++-------
 2 files changed, 407 insertions(+), 81 deletions(-)

commit d8e01e5478f9a38b502c373b12c8e6891697e555
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Oct 9 00:05:35 2014 +0200

    Prevent version check failure in case of localisation change
    
    Change-Id: Ia30c5affee9f21401107d6ad293844e635bbc23a

 plugins/format/classic/classic.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 0956a28a2c4b3eb67578e7bf56211556dfa6c54c
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 3 14:54:31 2014 +0200

    Use --lgpl=2 when invoking GnuLib, remove obsolete GnuLib files
    
    Change-Id: Ia7cce67c7daa766e964af7ddf37a7b56a25dbd6c

 libmissing/Makefile.am          |  2 +-
 libmissing/alloca.in.h          |  2 +-
 libmissing/asnprintf.c          |  2 +-
 libmissing/errno.in.h           |  2 +-
 libmissing/float+.h             |  2 +-
 libmissing/float.c              |  2 +-
 libmissing/float.in.h           |  2 +-
 libmissing/gettimeofday.c       |  2 +-
 libmissing/glthread/lock.c      |  2 +-
 libmissing/glthread/lock.h      |  2 +-
 libmissing/glthread/threadlib.c |  2 +-
 libmissing/itold.c              |  2 +-
 libmissing/m4/gnulib-cache.m4   |  4 ++--
 libmissing/malloc.c             |  2 +-
 libmissing/memchr.c             |  2 +-
 libmissing/printf-args.c        |  2 +-
 libmissing/printf-args.h        |  2 +-
 libmissing/printf-parse.c       |  2 +-
 libmissing/printf-parse.h       |  2 +-
 libmissing/size_max.h           |  2 +-
 libmissing/snprintf.c           |  2 +-
 libmissing/stddef.in.h          |  2 +-
 libmissing/stdint.in.h          |  2 +-
 libmissing/stdio.in.h           |  2 +-
 libmissing/stdlib.in.h          |  2 +-
 libmissing/strdup.c             |  2 +-
 libmissing/string.in.h          |  2 +-
 libmissing/strndup.c            |  2 +-
 libmissing/strnlen.c            |  2 +-
 libmissing/sys_time.in.h        |  2 +-
 libmissing/sys_types.in.h       |  2 +-
 libmissing/time.in.h            |  2 +-
 libmissing/time_r.c             |  2 +-
 libmissing/unistd.in.h          |  2 +-
 libmissing/vasnprintf.c         |  2 +-
 libmissing/vasnprintf.h         |  2 +-
 libmissing/verify.h             |  2 +-
 libmissing/vsnprintf.c          |  2 +-
 libmissing/wchar.in.h           |  2 +-
 libmissing/xsize.h              |  2 +-
 link-warning.h                  | 28 ----------------------------
 41 files changed, 41 insertions(+), 69 deletions(-)

commit d4b449fe50d5be8e73d949fcce0d9a681a1c0d11
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Sep 24 17:04:02 2014 +0200

    Include string.h for strcmp()
    
    Change-Id: Ibd49f3ce4b11ae74abd81feaeb80d0d3dbe9b368

 src/preludedb-version.c | 1 +
 1 file changed, 1 insertion(+)

commit 71a63ae0794a75ee6acd807809cb66cf11d11291
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Sep 1 14:07:27 2014 +0200

    PreludeDB high level C++ and Python bindings
    
    Implemented high level Python2 and 3 bindings for libpreludedb.
    The main API, DB and SQL are supported.
    
    Change-Id: I1bc6d4e645bcb4a6a35aa5f64b255fdb8923b730

 Makefile.am                                       |     2 +-
 bindings/Makefile.am                              |     9 +-
 bindings/c++/Makefile.am                          |    15 +
 bindings/c++/include/Makefile.am                  |     4 +
 bindings/c++/include/preludedb-error.hxx          |    39 +
 bindings/c++/include/preludedb-path-selection.hxx |    22 +
 bindings/c++/include/preludedb-sql.hxx            |    89 +
 bindings/c++/include/preludedb.hxx                |   120 +
 bindings/c++/preludedb-error.cxx                  |    45 +
 bindings/c++/preludedb-path-selection.cxx         |    69 +
 bindings/c++/preludedb-sql.cxx                    |   352 +
 bindings/c++/preludedb.cxx                        |   481 +
 bindings/libpreludedbcpp.i                        |   171 +
 bindings/low-level/python/Makefile.am             |    10 +-
 bindings/low-level/python/_preludedbold.c         |    27 +
 bindings/python/Makefile.am                       |    48 +
 bindings/python/_preludedb.cxx                    | 11271 ++++++++++++++++++++
 bindings/python/libpreludedbcpp-python.i          |   122 +
 bindings/python/preludedb.py                      |   368 +
 bindings/python/pystrings.swg                     |   111 +
 bindings/python/setup.py.in                       |   111 +
 configure.in                                      |    78 +-
 m4/ax_reset_headers_cache.m4                      |    23 +
 preludedb-admin.c                                 |    15 +-
 src/include/preludedb-plugin-format.h             |     6 +-
 src/include/preludedb-sql.h                       |     1 +
 src/include/preludedb.h                           |     6 +-
 src/preludedb-sql.c                               |     6 +
 src/preludedb.c                                   |     6 +-
 29 files changed, 13593 insertions(+), 34 deletions(-)

commit 621fd294a79da45583a40bb2cfee54e6d2d011bc
Author: Thomas ANDREJAK <thomas.andrejak@c-s.fr>
Date:   Wed Sep 24 23:15:19 2014 +0200

    Some distribution like CentOS do not use default include path from the system, force it for swig
    
    Change-Id: Icb318020b62798d107f06425c8ce44baddfa9f13

 bindings/low-level/python/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit caa836e19df57dcfc14e859058c642e6a38d67b7
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Sep 23 15:41:25 2014 +0200

    Update NEWS, bump version
    
    Change-Id: I961d73140843cca14fd8fc4b68fcf163403028f6

 NEWS                                      | 25 +++++++++++++++++++++++++
 bindings/low-level/python/_preludedbold.c |  2 +-
 configure.in                              |  8 ++++----
 3 files changed, 30 insertions(+), 5 deletions(-)

commit 114b67a7639423b998147c2830b77bd33ce1b3ce
Author: Camille GARDET <camille.gardet@c-s.fr>
Date:   Tue Sep 16 11:42:34 2014 +0200

    Add dependencies in INSTALL file
    
    Change-Id: Id45d266024bff31a9c50ad7a16da7fc142fba0c1

 INSTALL | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit 6042de43b3016183e283506c5db9b2d3355d005b
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 23 11:04:57 2014 +0200

    Fix insertion of the preludedbold module
    
    Change-Id: I1993daefc6ad6bb494aee649f8659659c768b094

 bindings/low-level/python/_preludedbold.c       | 2 +-
 bindings/low-level/python/libpreludedb-python.i | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 13bb279f7c15d530bd12a3f82f0fa66cfb191e44
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Sep 22 09:26:41 2014 +0200

    Correct autogen.sh output
    
    Change-Id: I3fdfe747a1d850a01abfead65bf9559b9f4ddf90

 autogen.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6d63146d6785a5545c87866629e92390456509c2
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Sep 22 03:40:51 2014 +0200

    Change update API so that it use idmef_path_t and idmef_value_t
    
    This change is needed so that the backend can handle the escaping of
    passed value. The caller has no knowledge of what need to be escaped.
    It also allow to update any type of value.
    
    Change-Id: I78da4c1afc857c4bd5de5668d323fd57173a8fa3

 bindings/low-level/python/_preludedbold.c       | 203 +++++++++++++++++-------
 bindings/low-level/python/libpreludedb-python.i |  27 +++-
 src/include/preludedb-plugin-format.h           |   6 +-
 src/include/preludedb.h                         |   6 +-
 src/preludedb.c                                 |   6 +-
 5 files changed, 173 insertions(+), 75 deletions(-)

commit 317f20ea7cb93dccc57609030a069c1ffdb41e22
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jul 17 15:49:34 2014 +0200

    Move old C based bindings to bindings/low-level directory
    
    This prepare the move to C++ bindings.
    
    Change-Id: I36e93980c5222fb2e6c1e41e246a7cb60a970b51

 bindings/Makefile.am                            |    71 +-
 bindings/generate.sh                            |     5 -
 bindings/libpreludedb.i                         |   111 -
 bindings/low-level/Makefile.am                  |    16 +
 bindings/low-level/libpreludedb.i               |   111 +
 bindings/low-level/python/Makefile.am           |    26 +
 bindings/low-level/python/_preludedbold.c       | 11238 ++++++++++++++++++++++
 bindings/low-level/python/libpreludedb-python.i |   395 +
 bindings/low-level/python/preludedbold.py       |     9 +
 bindings/low-level/python/setup.py.in           |    90 +
 bindings/perl/Makefile.PL.in                    |    45 -
 bindings/perl/PreludeDB.pm                      |    21 -
 bindings/perl/libpreludedb-perl.i               |   164 -
 bindings/python/Makefile.am                     |    26 -
 bindings/python/libpreludedb-python.i           |   395 -
 bindings/python/preludedb.py                    |     9 -
 bindings/python/setup.py.in                     |    90 -
 configure.in                                    |    53 +-
 18 files changed, 11890 insertions(+), 985 deletions(-)

commit 2069cdd4f029ec75db1b6f76169600cb7a2f2929
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 16 17:57:26 2014 +0200

    Update GnuLib code
    
    Change-Id: I94e1b0d0d2f961c3000dd744cbe69218344133bd

 config.rpath                          |   18 +-
 libmissing/Makefile.am                |  332 ++++++-
 libmissing/alloca.in.h                |    2 +-
 libmissing/asnprintf.c                |    2 +-
 libmissing/errno.in.h                 |    2 +-
 libmissing/float+.h                   |    2 +-
 libmissing/float.c                    |    2 +-
 libmissing/float.in.h                 |    2 +-
 libmissing/gettimeofday.c             |  154 ++++
 libmissing/glthread/lock.c            |    2 +-
 libmissing/glthread/lock.h            |    2 +-
 libmissing/glthread/threadlib.c       |    2 +-
 libmissing/itold.c                    |    2 +-
 libmissing/m4/00gnulib.m4             |   22 +-
 libmissing/m4/absolute-header.m4      |    2 +-
 libmissing/m4/alloca.m4               |    2 +-
 libmissing/m4/errno_h.m4              |    2 +-
 libmissing/m4/exponentd.m4            |    2 +-
 libmissing/m4/extensions.m4           |    2 +-
 libmissing/m4/extern-inline.m4        |   33 +-
 libmissing/m4/fdopen.m4               |    2 +-
 libmissing/m4/float_h.m4              |    2 +-
 libmissing/m4/fpieee.m4               |    2 +-
 libmissing/m4/getpagesize.m4          |    2 +-
 libmissing/m4/gettimeofday.m4         |  138 +++
 libmissing/m4/gnulib-cache.m4         |    6 +-
 libmissing/m4/gnulib-common.m4        |  120 ++-
 libmissing/m4/gnulib-comp.m4          |   50 +-
 libmissing/m4/gnulib-tool.m4          |    2 +-
 libmissing/m4/include_next.m4         |    2 +-
 libmissing/m4/intmax_t.m4             |    2 +-
 libmissing/m4/inttypes-pri.m4         |    2 +-
 libmissing/m4/inttypes.m4             |    2 +-
 libmissing/m4/inttypes_h.m4           |    2 +-
 libmissing/m4/lib-ld.m4               |    2 +-
 libmissing/m4/lib-link.m4             |    2 +-
 libmissing/m4/lib-prefix.m4           |    2 +-
 libmissing/m4/lock.m4                 |    2 +-
 libmissing/m4/longlong.m4             |    2 +-
 libmissing/m4/malloc.m4               |   98 +++
 libmissing/m4/math_h.m4               |    2 +-
 libmissing/m4/memchr.m4               |    2 +-
 libmissing/m4/mmap-anon.m4            |    2 +-
 libmissing/m4/msvc-inval.m4           |    2 +-
 libmissing/m4/multiarch.m4            |    2 +-
 libmissing/m4/off_t.m4                |    2 +-
 libmissing/m4/onceonly.m4             |    2 +-
 libmissing/m4/printf.m4               |   20 +-
 libmissing/m4/size_max.m4             |    2 +-
 libmissing/m4/snprintf.m4             |    2 +-
 libmissing/m4/ssize_t.m4              |    2 +-
 libmissing/m4/stdbool.m4              |    2 +-
 libmissing/m4/stddef_h.m4             |    2 +-
 libmissing/m4/stdint.m4               |    2 +-
 libmissing/m4/stdint_h.m4             |    2 +-
 libmissing/m4/stdio_h.m4              |    2 +-
 libmissing/m4/stdlib_h.m4             |  119 +++
 libmissing/m4/strdup.m4               |    2 +-
 libmissing/m4/string_h.m4             |    2 +-
 libmissing/m4/strndup.m4              |    2 +-
 libmissing/m4/strnlen.m4              |    2 +-
 libmissing/m4/sys_socket_h.m4         |  176 ++++
 libmissing/m4/sys_time_h.m4           |  110 +++
 libmissing/m4/sys_types_h.m4          |    2 +-
 libmissing/m4/thread.m4               |    2 +-
 libmissing/m4/threadlib.m4            |   40 +-
 libmissing/m4/time_h.m4               |   13 +-
 libmissing/m4/time_r.m4               |    2 +-
 libmissing/m4/unistd_h.m4             |    2 +-
 libmissing/m4/vasnprintf.m4           |    2 +-
 libmissing/m4/vsnprintf.m4            |    2 +-
 libmissing/m4/warn-on-use.m4          |    2 +-
 libmissing/m4/wchar_h.m4              |    2 +-
 libmissing/m4/wchar_t.m4              |    2 +-
 libmissing/m4/wint_t.m4               |    2 +-
 libmissing/m4/xsize.m4                |    2 +-
 libmissing/m4/yield.m4                |    2 +-
 libmissing/malloc.c                   |   56 ++
 libmissing/memchr.c                   |    2 +-
 libmissing/printf-args.c              |    2 +-
 libmissing/printf-args.h              |    2 +-
 libmissing/printf-parse.c             |    2 +-
 libmissing/printf-parse.h             |    2 +-
 libmissing/size_max.h                 |    2 +-
 libmissing/snprintf.c                 |    2 +-
 libmissing/stddef.in.h                |    2 +-
 libmissing/stdint.in.h                |    5 +-
 libmissing/stdio.in.h                 |    2 +-
 libmissing/stdlib.in.h                |  977 +++++++++++++++++++++
 libmissing/strdup.c                   |    2 +-
 libmissing/string.in.h                |    2 +-
 libmissing/strndup.c                  |    2 +-
 libmissing/strnlen.c                  |    2 +-
 libmissing/sys_time.in.h              |  213 +++++
 libmissing/sys_types.in.h             |    4 +-
 libmissing/tests/Makefile.am          |  191 +---
 libmissing/tests/fdopen.c             |    2 +-
 libmissing/tests/fpucw.h              |    2 +-
 libmissing/tests/getpagesize.c        |    2 +-
 libmissing/tests/glthread/thread.c    |    2 +-
 libmissing/tests/glthread/thread.h    |    2 +-
 libmissing/tests/glthread/yield.h     |    2 +-
 libmissing/tests/init.sh              |    4 +-
 libmissing/tests/intprops.h           |    2 +-
 libmissing/tests/inttypes.in.h        |    2 +-
 libmissing/tests/macros.h             |    2 +-
 libmissing/tests/msvc-inval.c         |    2 +-
 libmissing/tests/msvc-inval.h         |    2 +-
 libmissing/tests/signature.h          |    2 +-
 libmissing/tests/stdbool.in.h         |    2 +-
 libmissing/tests/test-alloca-opt.c    |    2 +-
 libmissing/tests/test-errno.c         |    2 +-
 libmissing/tests/test-fdopen.c        |   39 +-
 libmissing/tests/test-fgetc.c         |    2 +-
 libmissing/tests/test-float.c         |    2 +-
 libmissing/tests/test-fputc.c         |    2 +-
 libmissing/tests/test-fread.c         |    2 +-
 libmissing/tests/test-fwrite.c        |    2 +-
 libmissing/tests/test-gettimeofday.c  |   47 +
 libmissing/tests/test-init.sh         |    2 +-
 libmissing/tests/test-intprops.c      |    2 +-
 libmissing/tests/test-inttypes.c      |    2 +-
 libmissing/tests/test-lock.c          |    2 +-
 libmissing/tests/test-memchr.c        |    2 +-
 libmissing/tests/test-snprintf.c      |    2 +-
 libmissing/tests/test-stdbool.c       |    2 +-
 libmissing/tests/test-stddef.c        |    2 +-
 libmissing/tests/test-stdint.c        |    2 +-
 libmissing/tests/test-stdio.c         |    2 +-
 libmissing/tests/test-stdlib.c        |   54 ++
 libmissing/tests/test-string.c        |    2 +-
 libmissing/tests/test-strnlen.c       |    2 +-
 libmissing/tests/test-sys_time.c      |   34 +
 libmissing/tests/test-sys_types.c     |    2 +-
 libmissing/tests/test-sys_wait.h      |   53 ++
 libmissing/tests/test-thread_create.c |    2 +-
 libmissing/tests/test-thread_self.c   |    2 +-
 libmissing/tests/test-time.c          |    2 +-
 libmissing/tests/test-unistd.c        |    2 +-
 libmissing/tests/test-vasnprintf.c    |    2 +-
 libmissing/tests/test-verify.c        |    2 +-
 libmissing/tests/test-vsnprintf.c     |    2 +-
 libmissing/tests/test-wchar.c         |    2 +-
 libmissing/tests/unistd.c             |    3 -
 libmissing/tests/unistd.in.h          | 1542 --------------------------------
 libmissing/tests/zerosize-ptr.h       |    2 +-
 libmissing/time.in.h                  |   46 +-
 libmissing/time_r.c                   |    2 +-
 libmissing/unistd.c                   |    3 +
 libmissing/unistd.in.h                | 1557 +++++++++++++++++++++++++++++++++
 libmissing/vasnprintf.c               |  176 ++--
 libmissing/vasnprintf.h               |    2 +-
 libmissing/verify.h                   |    2 +-
 libmissing/vsnprintf.c                |    2 +-
 libmissing/wchar.in.h                 |    2 +-
 libmissing/xsize.h                    |    2 +-
 snippet/_Noreturn.h                   |   10 +
 snippet/arg-nonnull.h                 |    2 +-
 snippet/c++defs.h                     |    2 +-
 snippet/warn-on-use.h                 |    2 +-
 160 files changed, 4673 insertions(+), 2040 deletions(-)

commit 007535eeb27e9e33cb8698627202176c9fd0a618
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Sep 10 15:19:23 2014 +0200

    Change preludedb_strerror() so that it never return NULL
    
    Return "Unknown error code" in place of NULL.
    
    Change-Id: Ia20b180005bed54e9921eb32614c5bf6996398e7

 src/preludedb-error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 54ad06fe6839053c66eda406f866d72ad8c1b6ac
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 2 09:32:44 2014 +0200

    PreludeDB ResultValues / ResultIdents API update
    
    Previously, it was only possible to iterate ResultValues and ResultIdents
    object rows once. The new API make it possible to retrieve a specific row/field
    located at a given index. This is achieved by the following new function :
     - preludedb_result_values_get_row(): return the row at the given index
     - preludedb_result_values_get_field(): return the specified field at the given row
    
    The new ResultValues API provide the following new utility function :
    - preludedb_result_values_get_count(): return the number of row in the results
    - preludedb_result_values_get_field_count: return the number of field by row in the results
    - preludedb_result_values_get_selection: return the selection used to retrieve the current values
    - preludedb_result_values_get_data: low-level layer data pointer, used by format-plugin
    
    For ResultIdents object, one new function is introduced :
    - preludedb_result_idents_get: return the ident at the given index
    
    *** PathSelection API update :
    
    Update the preludedb_path_selection API, so that it use an
    array to store element, and make it possible to access each
    element in O(1) time.
    
    Introduce two new function to the API :
    - preludedb_path_selection_get_selected(), which retrieve a selected
      element at the index specified as argument.
    - preludedb_selected_path_get_index : return the index of a given selected element.
    
    This is done since the path_selection API is now directly used to
    access fields in ResultValues row object.
    
    *** Refcounting support
    The preludedb_t, prelude_result_values_t and prelude_result_idents_t
    object now provide refcounting support, and make use of refcounting
    themselve.
    
    Change-Id: Ifa332d8a26421bda3c5f7a77ac7239b75de98b88

 plugins/format/classic/classic.c          |  49 ++++++++++
 src/include/preludedb-path-selection.h    |   5 +-
 src/include/preludedb-plugin-format-prv.h |   4 +
 src/include/preludedb-plugin-format.h     |  20 ++++
 src/include/preludedb.h                   |  21 +++-
 src/preludedb-path-selection.c            |  58 ++++++++---
 src/preludedb-plugin-format.c             |  28 ++++++
 src/preludedb.c                           | 156 ++++++++++++++++++++++++++++--
 8 files changed, 315 insertions(+), 26 deletions(-)

commit 257ff2022fe94ccd25438a90d0bbca1c33882ae2
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Sep 1 14:03:01 2014 +0200

    SQL API / Plugin rework
    
    - New row_destroy, and field_destroy plugin callback.
    - resource_destroy callback is renamed to table_destroy.
    - The get_row callback now has the table, and the required row_index as argument.
    - The get_field callback now return a preludedb_sql_field_t structure, in place of just a char and size value.
    
    SQL plugins callback functions now take a preludedb_sql_table_t argument
    in place of a void resource pointer. The table argument has a data member
    which can contain the "real" plugin resource data needed.
    
    The fetch_row function now take a row_index argument, and the SQL plugin
    has to return the data at the given index. Note that libpreludedb will
    cache all the data, so once every rows / fields have been returned by
    the plugin, libpreludedb will use it's internal cache.
    
    Following this change SQL plugin now has complete flexibility in the way
    it can create the preludedb_sql_row_t or preludedb_sql_field_t object.
    For example if a given plugin (SQLite, MySQL) has to step from row 0 to
    10 to access row 10, the plugin can now instruct libpreludedb to create
    all the row in one fetch call.
    
    ** SQL API rework :
    
    Since the SQL plugin are now responsible for the creation of the table,
    row, and field object, new function are exposed :
    
    preludedb_sql_table_new(), preludedb_sql_row_new_field(), preludedb_sql_table_new_row(),
    preludedb_sql_row_(set|get)_data(), preludedb_sql_table_get_data()
    
    Table, row, and field object now support refcounting. Previously all resources where
    freed when a call to preludedb_sql_table_destroy() was issued. Now the caller might
    independantly reference any row object and destroy its parent :
    
    preludedb_sql_field_ref(),
    preludedb_sql_row_ref(),
    preludedb_sql_table_ref(),
    
    A new get row function is introduced, that support an additional row_index argument:
    - preludedb_sql_table_get_row().
    
    Also, preludedb_sql_row_fetch_field() is now an alias (marked as deprecated),
    for preludedb_sql_row_get_field(). The same apply for preludedb_sql_row_fetch_field_by_name()
    which is now an alias for preludedb_sql_row_get_field_by_name().
    
    Also, internal algorithm have been completly rewritten. The caller might now iterate
    as much as wanted on a table object, when previous version were iterate once and throw
    away after use.
    
    We now use an array in place of a linked list in order to store the fetched row
    and field, which make accessing a row/field O(1) once it is cached by libpreludedb.
    
    The table, row, and field structure have also been optimized for size.
    
    - Table is down from 40 to 32 bytes.
    - Row is down from 48 to 32 bytes.
    - Field is down from 48 to 32 bytes.
    
    ** SQL Plugin:
    
    PgSQL: adaptation to the new API. Since PgSQL provide results in an array
    the mapping is very natural.
    
    Sqlite3: use the new preludedb-sql API to store the row/field structure in
    place of doing it all internally.
    
    Change-Id: I2230b11fce6861e36cb953b1b213f92bc556b0bc

 bindings/libpreludedb.i                 |   2 +
 plugins/format/classic/classic-get.c    |  20 +-
 plugins/format/classic/classic-insert.c |   2 +-
 plugins/format/classic/classic.c        |   8 +-
 plugins/sql/mysql/mysql.c               | 134 +++++++----
 plugins/sql/pgsql/pgsql.c               | 110 +++++----
 plugins/sql/sqlite3/sqlite3.c           | 243 +++++--------------
 src/include/preludedb-error.h           |   4 +-
 src/include/preludedb-plugin-sql.h      |  48 ++--
 src/include/preludedb-sql.h             |  36 ++-
 src/preludedb-error.c                   |   3 +-
 src/preludedb-plugin-sql.c              |  71 ++++--
 src/preludedb-sql.c                     | 400 +++++++++++++++++++++++++-------
 src/preludedb.c                         |   4 +-
 14 files changed, 652 insertions(+), 433 deletions(-)

commit febb33bc671640980a6cbe94daaeeb2243e75f83
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jul 31 18:26:24 2014 +0200

    Refcount support for path-selection
    
    Change-Id: Id8cf575ed77ebf5619b1071c60758cc7dcdbb1de

 src/include/preludedb-path-selection.h |  4 ++++
 src/preludedb-path-selection.c         | 13 +++++++++++++
 2 files changed, 17 insertions(+)

commit 5ec68af227b18c3e28109fb9f4265a4a26f3a1a8
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jul 30 09:36:34 2014 +0200

    Whitespace police
    
    Change-Id: I28169f8a5ef6b355ed3a94f3284fabef161ec839

 src/include/preludedb-path-selection.h | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

commit 8c4083e42c6bcd06f83751c0ad99269506491498
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 16 13:40:25 2014 +0200

    Provide more version number information (major, minor, micro, level, serial)
    
    Generated preludedb-version.h header file now include separate major, minor,
    micro, serial, and level (read ahead), definition.
    
    The level information is used to tag a release as alpha, beta, rc, or final.
    We also provide a LIBPRELUDEDB_HEXVERSION definition, making it easy to add
    version checking in the code. For example, checking for libpreludedb higher
    than libpreludedb 1.2.5 would look like.
    
    Change-Id: Id878bd8265a23a9d6d4c3e1770724e5040c49be2

 configure.in                       | 29 +++++++++++++++-
 src/include/preludedb-version.h.in | 18 ++++++++++
 src/preludedb-version.c            | 68 ++++++++++++++++++++++++++++----------
 3 files changed, 97 insertions(+), 18 deletions(-)

commit 80546ae13487449084057d454fcbf42945d0c62e
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Sep 16 11:08:03 2014 +0200

    Update NEWS, bump version
    
    Change-Id: Ibd9de1034d0c719fcc1bb0be09c4256a93d9802b

 NEWS         | 21 +++++++++++++++++++++
 configure.in | 10 +++++-----
 2 files changed, 26 insertions(+), 5 deletions(-)

commit edc8ffa6ca265b6206a5491e16f6b7d55e070c45
Author: Thomas Andrejak <thomas.andrejak@c-s.fr>
Date:   Tue Jul 8 15:58:46 2014 +0200

    UPDATE API support
    
    This introduce 3 new public function in the API to support UPDATE commands :
    
    The paths and values argument are the list of paths and their respective
    values to be used for the update. The _from_list and _from_result_idents
    function apply the update to message identified by the provided idents.
    
    The _update() function will apply the UPDATE to any events matching the
    provided criteria / order / limit / offset.
    
    preludedb-admin is also updated so that the update commande can be used
    from the command line.
    
    ssize_t preludedb_update_from_list(preludedb_t *db,
                                       const char const * const *paths, const char const * const *values, size_t pvsize,
                                       uint64_t *idents, size_t size);
    
    ssize_t preludedb_update_from_result_idents(preludedb_t *db,
                                                const char const * const *paths, const char const * const *values, size_t pvsize,
                                                preludedb_result_idents_t *results);
    
    int preludedb_update(preludedb_t *db,
                         const char const * const *paths, const char const * const *values, size_t pvsize,
                         idmef_criteria_t *criteria, preludedb_path_selection_t *order, int limit, int offset);
    
    Change-Id: If72fadeb2a2ad279fe28841229e09f2d08cc7b4a

 bindings/python/libpreludedb-python.i     | 45 +++++++++++++++-
 preludedb-admin.c                         | 87 +++++++++++++++++++++++++++++++
 src/include/preludedb-plugin-format-prv.h |  7 ++-
 src/include/preludedb-plugin-format.h     | 29 ++++++++---
 src/include/preludedb.h                   | 15 +++++-
 src/preludedb-plugin-format.c             | 20 +++++++
 src/preludedb.c                           | 63 +++++++++++++++++++---
 7 files changed, 248 insertions(+), 18 deletions(-)

commit 7a9cdefef70c199fcc986aae496b61e1dfb26214
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jul 11 09:46:56 2014 +0200

    Support for retrieving database type, and server version
    
    Change-Id: I85240120ede3474ebd28e30b80d336e38f1db7df

 plugins/sql/mysql/mysql.c          |  8 ++++++++
 plugins/sql/pgsql/pgsql.c          |  8 ++++++++
 plugins/sql/sqlite3/sqlite3.c      |  8 ++++++++
 src/include/preludedb-plugin-sql.h | 12 +++++++++---
 src/include/preludedb-sql.h        |  5 +++++
 src/preludedb-plugin-sql.c         | 17 ++++++++++++++++-
 src/preludedb-sql.c                | 31 +++++++++++++++++++++++++++++++
 7 files changed, 85 insertions(+), 4 deletions(-)

commit 75a300a02b14d4551fd67b4e86cc5507799e94d9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jul 7 08:23:22 2014 +0200

    Whitespace police
    
    Change-Id: Idcd5014df38d9cdb62dd8ab27601e48f55ee24cf

 bindings/python/libpreludedb-python.i | 232 +++++++++++++++++-----------------
 src/include/preludedb-sql.h           |  34 ++---
 2 files changed, 133 insertions(+), 133 deletions(-)

commit 3850cf04ec80cb739f26aade63ac878722ba6cf7
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Jul 15 09:10:16 2014 +0200

    Update configure.in
    
    Change-Id: I51dfd6789ed27be846dec25fe647b624d1de44dc

 configure.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 378d4a47caabec8fac6cca0bc7147abb035574e8
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Jul 7 15:30:16 2014 +0200

    Update NEWS, bump version
    
    Change-Id: Ia532bb805679d8ea3e6ccb0f4a08f8f9b640f659

 NEWS                           | 32 ++++++++++++++++++++++++++++++++
 configure.in                   |  2 +-
 docs/api/libpreludedb-decl.txt |  2 +-
 3 files changed, 34 insertions(+), 2 deletions(-)

commit 7a3494000703f5fbba600b13702a6d26dedc9f71
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Apr 23 21:19:55 2014 -0300

    Fix AdditionalData insertion/retrieval
    
    * Insertion:
    
    - AdditionalData with the BYTE datatype are now treated like INTEGER datatype:
      The value is converted to an integer and inserted as a string.
    
    - When inserting string converted AdditionalData, we do not insert the
      terminating 0 anymore. This make filtering through theses AdditionalData
      type work. Adding the terminating 0 is done again at retrieval time.
    
    * Retrieval:
    
    - Always unescape the retrieved value, independantly from the data type, we
      can never expect the value to be unmodified after escaping.
    
    - In all AdditionalData retrieval case except byte-string and character,
      append a terminating 0 at the end of the string (see insertion change).
    
    * Actual effect:
    
    - MySQL:
      - old data : anything beyond datatype "string", "bytestring", and "character" fail
                   (this was already the case)
      - new data : search on everything work as expected.
    
    - PostgreSQL:
      - old data : anything beyond datatype "string", "bytestring", and "character"
                   would fail to insert, there is no such data in database (this is
                   fixed since recent commit d19c0b073da6696a76deb4a41e022ea30a86cd93).
      - new data : search on everything work as expected.
    
    Change-Id: Icea3f2a74f8866a5ab9922bf4471c8071d5f4cc5

 plugins/format/classic/classic-get.c    | 140 ++++++++++++++++++++------------
 plugins/format/classic/classic-insert.c |   3 +-
 2 files changed, 89 insertions(+), 54 deletions(-)

commit 1fff21f78d68735f7f2abe941f931710a4bd0ca2
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Apr 16 13:08:46 2014 +0200

    Use new libprelude PRELUDE_SCN* definition
    
    Fix compilation warnings.

 src/preludedb-sql.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit 2a49406dc60e1a7cd6f5b353e802afa5f20943c9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Apr 11 15:14:34 2014 +0200

    Handle NULL input on preludedb_sql_escape_fast() and preludedb_sql_escape_binary()
    
    BLOB field accept NULL input, so the preludedb_sql_escape_binary() function should
    handle this case.
    
    Additionally, handle NULL input on preludedb_sql_escape_fast() for safety, even
    though the function take a length parameter.

 src/preludedb-sql.c | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

commit 546a8862bd065d7b857cba7f6e36738d0b439602
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Apr 10 18:08:19 2014 +0200

    Use PQescapeStringConn() in place of PQescapeString() when available
    
    As suggested by the PostgreSQL documentation :
    "The only difference from PQescapeStringConn is that PQescapeString does not take
     PGconn or error parameters. Because of this, it cannot adjust its behavior
     depending on the connection properties (such as character encoding) and
     therefore it might give the wrong results. Also, it has no way to report error
     conditions."

 configure.in              |  1 +
 plugins/sql/pgsql/pgsql.c | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

commit d62e99d8c00480ed7529ac8a089352cb8f30a1b9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Apr 10 13:00:00 2014 +0200

    Fix warnings and error on ByteA insertion
    
    Using '%s' for inserting data escaped with PQescapeByteaConn() correctly
    work with latests PostgreSQL version. However, on version earlier than 9.1,
    this generate a warning (HINT:  Use the escape string syntax for backslashes,
    e.g., E'\\'. WARNING:  nonstandard use of \\ in a string literal) which
    require the user to activate the standard_conforming_strings variable.
    
    On the other end, using the E'%s' escape method is not compatible with
    the PQescapeByteaConn() function, we have noticed various error like :
     ERROR:  invalid byte sequence for encoding "UTF8": 0x00
     ERROR:  invalid input syntax for type bytea at character 145
    
    Confirmation of this incompatibility is given by Tom Lane on the PostgreSQL
    mailing lists :
    http://grokbase.com/t/postgresql/pgsql-general/11b2e9h9xm/postgresql-9-1-1-pqescapebyteaconn-generating-incorrectly-quoted-output
    
    "The result of PQescapeByteaConn has never been meant to be put into an E'' literal.
     You might have managed to get away with it so long as standard_conforming_strings
     was off in the server, but it's on by default in 9.1."
    
    As a result, and since we don't want to force the user to change his PostgreSQL
    server configuration, we now use the E'%s' ByteA insertion method in conjonction
    with our own escaping function. This function follow the escaping instruction
    provided in the PostgreSQL documentation :
    http://www.postgresql.org/docs/7.3/static/datatype-binary.html

 configure.in              |  1 -
 plugins/sql/pgsql/pgsql.c | 68 ++++++++++++++++++++++++++++-------------------
 2 files changed, 40 insertions(+), 29 deletions(-)

commit 2f152d02b636909c11237b36300675997d83ac9a
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Apr 10 12:58:55 2014 +0200

    Improve sscanf() error check

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7c4eec5623e261a238a1d6e5795103b4bf17d794
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Sun Apr 20 11:58:29 2014 +0200

    Let the compiler decide whether to inline this function

 plugins/format/classic/classic-insert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ff055621e045edb1b898a150ad7b70b9ec245f09
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Apr 10 09:45:49 2014 +0200

    Whitespace police

 plugins/format/classic/classic-insert.c | 1550 +++++++++++++++----------------
 1 file changed, 775 insertions(+), 775 deletions(-)

commit fb91684cda3efb7357c70f9f6f9e9746d2922629
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Feb 7 10:30:47 2014 +0100

    Fix possible ByteA insertion error
    
    Use PQescapeByteaConn() in place of PQescapeBytea() when available, to
    prevent possible insertion error.

 configure.in              | 1 +
 plugins/sql/pgsql/pgsql.c | 4 ++++
 2 files changed, 5 insertions(+)

commit 3070195c2acc6d510442a57a3f0872a6bb3caac0
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Feb 3 09:56:39 2014 +0100

    Removed rhel6 packaging

 pkg/rhel6/libpreludedb.spec | 267 --------------------------------------------
 1 file changed, 267 deletions(-)

commit b33c4abe9975c2e74ee4d3a52846a67f14eeea23
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jan 31 16:23:08 2014 +0100

    Fixed typo for PostgreSQL plugin compilation

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 67d54ffe0dc10697b85842517ea18a5fcd808b1b
Author: Thomas ANDREJAK <thomas.andrejak@c-s.fr>
Date:   Tue Jan 7 00:13:13 2014 +0100

    Provide AS_VAR_COPY, for system lacking it

 configure.in | 4 ++++
 1 file changed, 4 insertions(+)

commit 522f6b54f4df67ff7741ba068fec5065f4d69200
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Dec 17 13:11:15 2013 +0100

    Move Python command to a Python specific Makefile, filename fixes

 bindings/Makefile.am                  |  39 +---
 bindings/libpreludedb.i               |   4 +-
 bindings/libpreludedb_perl.i          | 164 ----------------
 bindings/libpreludedb_python.i        | 352 ----------------------------------
 bindings/perl/libpreludedb-perl.i     | 164 ++++++++++++++++
 bindings/python/Makefile.am           |  26 +++
 bindings/python/libpreludedb-python.i | 352 ++++++++++++++++++++++++++++++++++
 configure.in                          |   1 +
 8 files changed, 550 insertions(+), 552 deletions(-)

commit 7014f7b3f256df0eaeaebd955d6e08c21c4740cf
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Dec 17 12:42:04 2013 +0100

    Fix compile warnings

 plugins/format/classic/classic-insert.c | 18 ++++++------------
 src/preludedb-sql.c                     |  2 --
 2 files changed, 6 insertions(+), 14 deletions(-)

commit 611a5df2b4466c212ed65afc699355d1990db319
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Dec 17 12:41:46 2013 +0100

    Add missing Python package information

 bindings/python/setup.py.in | 5 +++++
 1 file changed, 5 insertions(+)

commit dd1cc76f26657645f36f7211da30fe236c0ee001
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Dec 17 12:39:48 2013 +0100

    Fix configure script generation, and update GnuLib code
    
    Modify configure.in to fit latest autoconf / automake change.
    Configure script generation and make distcheck now work again.
    Update GnuLib code.
    
    Update various autoconf macros, and gtk-doc build files.

 INSTALL                                     |   15 +-
 Makefile.am                                 |    2 +-
 arg-nonnull.h                               |   26 -
 config.rpath                                |  106 +-
 configure.in                                |   69 +-
 docs/api/Makefile.am                        |   47 +-
 docs/api/libpreludedb-docs.xml              |   43 +
 docs/api/tmpl/preludedb-error.sgml          |    5 +-
 docs/api/tmpl/preludedb-path-selection.sgml |    3 +
 docs/api/tmpl/preludedb-plugin-format.sgml  |    3 +
 docs/api/tmpl/preludedb-plugin-sql.sgml     |    3 +
 docs/api/tmpl/preludedb-sql-settings.sgml   |    3 +
 docs/api/tmpl/preludedb-sql.sgml            |    7 +-
 docs/api/tmpl/preludedb-version.sgml        |    3 +
 docs/api/tmpl/preludedb.sgml                |    5 +
 gtk-doc.make                                |  250 +++--
 libmissing/Makefile.am                      |  573 +++++++---
 libmissing/alloca.in.h                      |   17 +-
 libmissing/asnprintf.c                      |    5 +-
 libmissing/errno.in.h                       |  195 +++-
 libmissing/float+.h                         |   11 +-
 libmissing/float.c                          |   33 +
 libmissing/float.in.h                       |  138 ++-
 libmissing/glthread/lock.c                  |   13 +-
 libmissing/glthread/lock.h                  |   40 +-
 libmissing/glthread/threadlib.c             |    5 +-
 libmissing/itold.c                          |   28 +
 libmissing/m4/00gnulib.m4                   |    2 +-
 libmissing/m4/absolute-header.m4            |  102 ++
 libmissing/m4/alloca.m4                     |   86 +-
 libmissing/m4/errno_h.m4                    |   28 +-
 libmissing/m4/exponentd.m4                  |  116 ++
 libmissing/m4/extensions.m4                 |   56 +-
 libmissing/m4/extern-inline.m4              |   84 ++
 libmissing/m4/fdopen.m4                     |   47 +
 libmissing/m4/float_h.m4                    |   87 +-
 libmissing/m4/fpieee.m4                     |   54 +
 libmissing/m4/getpagesize.m4                |   32 +
 libmissing/m4/gnulib-cache.m4               |   29 +-
 libmissing/m4/gnulib-common.m4              |  260 ++++-
 libmissing/m4/gnulib-comp.m4                |  230 +++-
 libmissing/m4/gnulib-tool.m4                |    2 +-
 libmissing/m4/include_next.m4               |  120 ++-
 libmissing/m4/intmax_t.m4                   |   15 +-
 libmissing/m4/inttypes-pri.m4               |   42 +
 libmissing/m4/inttypes.m4                   |  158 +++
 libmissing/m4/inttypes_h.m4                 |   19 +-
 libmissing/m4/lib-ld.m4                     |   77 +-
 libmissing/m4/lib-link.m4                   |   55 +-
 libmissing/m4/lib-prefix.m4                 |    2 +-
 libmissing/m4/lock.m4                       |   25 +-
 libmissing/m4/longlong.m4                   |   87 +-
 libmissing/m4/math_h.m4                     |  353 ++++++
 libmissing/m4/memchr.m4                     |   32 +-
 libmissing/m4/mmap-anon.m4                  |   18 +-
 libmissing/m4/msvc-inval.m4                 |   19 +
 libmissing/m4/multiarch.m4                  |   11 +-
 libmissing/m4/off_t.m4                      |   18 +
 libmissing/m4/onceonly.m4                   |   33 +-
 libmissing/m4/printf.m4                     | 1046 ++++++++++--------
 libmissing/m4/size_max.m4                   |   16 +-
 libmissing/m4/snprintf.m4                   |   20 +-
 libmissing/m4/ssize_t.m4                    |   23 +
 libmissing/m4/stdbool.m4                    |  100 ++
 libmissing/m4/stddef_h.m4                   |   12 +-
 libmissing/m4/stdint.m4                     |   52 +-
 libmissing/m4/stdint_h.m4                   |   17 +-
 libmissing/m4/stdio_h.m4                    |  105 +-
 libmissing/m4/strdup.m4                     |   18 +-
 libmissing/m4/string_h.m4                   |   30 +-
 libmissing/m4/strndup.m4                    |   32 +-
 libmissing/m4/strnlen.m4                    |   26 +-
 libmissing/m4/sys_types_h.m4                |   24 +
 libmissing/m4/thread.m4                     |    5 +-
 libmissing/m4/threadlib.m4                  |  167 +--
 libmissing/m4/time_h.m4                     |   67 +-
 libmissing/m4/time_r.m4                     |   58 +-
 libmissing/m4/unistd_h.m4                   |  187 ++++
 libmissing/m4/vasnprintf.m4                 |   25 +-
 libmissing/m4/vsnprintf.m4                  |   20 +-
 libmissing/m4/warn-on-use.m4                |   18 +-
 libmissing/m4/wchar.m4                      |  150 ---
 libmissing/m4/wchar_h.m4                    |  225 ++++
 libmissing/m4/wchar_t.m4                    |   14 +-
 libmissing/m4/wint_t.m4                     |   14 +-
 libmissing/m4/xsize.m4                      |    5 +-
 libmissing/m4/yield.m4                      |    2 +-
 libmissing/memchr.c                         |    2 +-
 libmissing/printf-args.c                    |    5 +-
 libmissing/printf-args.h                    |    9 +-
 libmissing/printf-parse.c                   |   55 +-
 libmissing/printf-parse.h                   |   19 +-
 libmissing/size_max.h                       |    5 +-
 libmissing/snprintf.c                       |    5 +-
 libmissing/stddef.in.h                      |   20 +-
 libmissing/stdint.in.h                      |  293 +++--
 libmissing/stdio-write.c                    |  150 ---
 libmissing/stdio.in.h                       | 1196 ++++++++++++++++-----
 libmissing/strdup.c                         |    7 +-
 libmissing/string.in.h                      |  615 +++++++++--
 libmissing/strndup.c                        |    7 +-
 libmissing/strnlen.c                        |    5 +-
 libmissing/sys_types.in.h                   |   51 +
 libmissing/tests/Makefile.am                |  514 ++++++++-
 libmissing/tests/fdopen.c                   |   69 ++
 libmissing/tests/fpucw.h                    |  108 ++
 libmissing/tests/getpagesize.c              |   39 +
 libmissing/tests/glthread/thread.c          |   24 +-
 libmissing/tests/glthread/thread.h          |   64 +-
 libmissing/tests/glthread/yield.h           |   10 +-
 libmissing/tests/init.sh                    |  589 ++++++++++
 libmissing/tests/intprops.h                 |  319 +++++-
 libmissing/tests/inttypes.in.h              | 1140 ++++++++++++++++++++
 libmissing/tests/macros.h                   |   15 +-
 libmissing/tests/msvc-inval.c               |  129 +++
 libmissing/tests/msvc-inval.h               |  222 ++++
 libmissing/tests/signature.h                |    2 +-
 libmissing/tests/stdbool.in.h               |  132 +++
 libmissing/tests/test-alloca-opt.c          |    4 +-
 libmissing/tests/test-errno.c               |    4 +-
 libmissing/tests/test-fdopen.c              |   56 +
 libmissing/tests/test-fgetc.c               |   97 ++
 libmissing/tests/test-float.c               |  384 +++++++
 libmissing/tests/test-fputc.c               |   91 ++
 libmissing/tests/test-fread.c               |  100 ++
 libmissing/tests/test-fwrite.c              |   94 ++
 libmissing/tests/test-init.sh               |   73 ++
 libmissing/tests/test-intprops.c            |  275 +++++
 libmissing/tests/test-inttypes.c            |  118 ++
 libmissing/tests/test-lock.c                |   88 +-
 libmissing/tests/test-memchr.c              |   21 +-
 libmissing/tests/test-snprintf.c            |   20 +-
 libmissing/tests/test-stdbool.c             |  118 ++
 libmissing/tests/test-stddef.c              |   16 +-
 libmissing/tests/test-stdint.c              |    3 +-
 libmissing/tests/test-stdio.c               |    2 +-
 libmissing/tests/test-string.c              |    2 +-
 libmissing/tests/test-strnlen.c             |   68 ++
 libmissing/tests/test-sys_types.c           |   34 +
 libmissing/tests/test-thread_create.c       |   78 ++
 libmissing/tests/test-thread_self.c         |   34 +
 libmissing/tests/test-time.c                |   10 +-
 libmissing/tests/test-unistd.c              |   56 +
 libmissing/tests/test-vasnprintf.c          |   65 +-
 libmissing/tests/test-verify.c              |   69 ++
 libmissing/tests/test-verify.sh             |   24 +
 libmissing/tests/test-vsnprintf.c           |   20 +-
 libmissing/tests/test-wchar.c               |    2 +-
 libmissing/tests/unistd.c                   |    3 +
 libmissing/tests/unistd.in.h                | 1542 +++++++++++++++++++++++++++
 libmissing/tests/verify.h                   |  140 ---
 libmissing/tests/zerosize-ptr.h             |    2 +-
 libmissing/time.in.h                        |  214 +++-
 libmissing/time_r.c                         |    7 +-
 libmissing/vasnprintf.c                     |  737 +++++++------
 libmissing/vasnprintf.h                     |   19 +-
 libmissing/verify.h                         |  279 +++++
 libmissing/vsnprintf.c                      |    5 +-
 libmissing/wchar.in.h                       |  865 +++++++++++++--
 libmissing/xsize.c                          |    3 +
 libmissing/xsize.h                          |   25 +-
 m4/ax_c_check_flag.m4                       |   89 --
 m4/ax_check_compile_flag.m4                 |   74 ++
 m4/ax_check_link_flag.m4                    |   73 ++
 m4/ax_ld_check_flag.m4                      |   97 --
 m4/ax_lib_mysql.m4                          |   28 +-
 m4/ax_lib_postgresql.m4                     |   13 +-
 m4/ax_lib_sqlite3.m4                        |   19 +-
 m4/gtk-doc.m4                               |   84 +-
 plugins/sql/Makefile.am                     |    5 -
 snippet/arg-nonnull.h                       |   26 +
 snippet/c++defs.h                           |  271 +++++
 snippet/warn-on-use.h                       |  109 ++
 warn-on-use.h                               |   75 --
 174 files changed, 15650 insertions(+), 3425 deletions(-)

commit ca9cd1acf5f6bd5b52d26ff192fe359729dd61a1
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Sep 6 10:51:18 2012 +0200

    Updated URL info #2

 README                          | 2 +-
 docs/manpages/preludedb-admin.1 | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

commit 417d217f7d0e864f6733db45d309ebad0fdc9f40
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Aug 29 11:55:29 2012 +0200

    Updated URL info

 README | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit c8767b0f33ff76b3b0a2e9152a3415e8f77b818c
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Aug 13 16:11:59 2012 +0200

    Updated Free Software Foundation headers

 COPYING                                            | 41 +++++++++++-----------
 bindings/libpreludedb.i                            |  6 ++--
 bindings/libpreludedb_perl.i                       |  6 ++--
 bindings/libpreludedb_python.i                     |  6 ++--
 bindings/perl/PreludeDB.pm                         |  6 ++--
 m4/ax_c_check_flag.m4                              |  7 ++--
 m4/ax_ld_check_flag.m4                             |  7 ++--
 plugins/format/classic/classic-delete.c            |  6 ++--
 plugins/format/classic/classic-get.c               |  6 ++--
 plugins/format/classic/classic-insert.c            |  6 ++--
 plugins/format/classic/classic-path-resolve.c      |  6 ++--
 plugins/format/classic/classic-sql-join.c          |  6 ++--
 plugins/format/classic/classic-sql-select.c        |  6 ++--
 plugins/format/classic/classic.c                   |  6 ++--
 plugins/format/classic/include/classic-delete.h    |  6 ++--
 plugins/format/classic/include/classic-get.h       |  6 ++--
 plugins/format/classic/include/classic-insert.h    |  6 ++--
 .../format/classic/include/classic-path-resolve.h  |  6 ++--
 plugins/format/classic/include/classic-sql-join.h  |  6 ++--
 .../format/classic/include/classic-sql-select.h    |  6 ++--
 plugins/sql/mysql/mysql.c                          |  6 ++--
 plugins/sql/pgsql/pgsql.c                          |  6 ++--
 plugins/sql/sqlite3/sqlite3.c                      |  6 ++--
 preludedb-admin.c                                  |  6 ++--
 src/include/preludedb-error.h                      |  6 ++--
 src/include/preludedb-path-selection.h             |  6 ++--
 src/include/preludedb-plugin-format-prv.h          |  6 ++--
 src/include/preludedb-plugin-format.h              |  6 ++--
 src/include/preludedb-plugin-sql.h                 |  6 ++--
 src/include/preludedb-sql-settings.h               |  6 ++--
 src/include/preludedb-sql.h                        |  6 ++--
 src/include/preludedb-version.h.in                 |  6 ++--
 src/include/preludedb.h                            |  6 ++--
 src/preludedb-error.c                              |  6 ++--
 src/preludedb-path-selection.c                     |  6 ++--
 src/preludedb-plugin-format.c                      |  6 ++--
 src/preludedb-plugin-sql.c                         |  6 ++--
 src/preludedb-sql-settings.c                       |  6 ++--
 src/preludedb-sql.c                                |  6 ++--
 src/preludedb-version.c                            |  6 ++--
 src/preludedb.c                                    |  6 ++--
 41 files changed, 140 insertions(+), 143 deletions(-)

commit d2229d0c98efb829056acff1843b41b78f925e09
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Aug 8 15:41:46 2012 +0200

    Update NEWS, bump version

 NEWS                        | 4 ++--
 configure.in                | 2 +-
 pkg/rhel6/libpreludedb.spec | 7 +++++--
 3 files changed, 8 insertions(+), 5 deletions(-)

commit 2bad4b1cba88753df952654f69a085221bc90910
Author: Jean-Charles ROGEZ <jean-charles.rogez@c-s.fr>
Date:   Mon Jul 9 11:30:06 2012 +0200

    Change TYPE to ENGINE in mysql.sql (requires MySQL >= 4.0.18)

 NEWS                                   |  6 +++
 pkg/rhel6/libpreludedb.spec            |  2 +-
 plugins/format/classic/mysql.sql       | 72 +++++++++++++++++-----------------
 plugins/format/classic/mysql2pgsql.sh  |  2 +-
 plugins/format/classic/mysql2sqlite.sh |  2 +-
 5 files changed, 45 insertions(+), 39 deletions(-)

commit c56c2531048b69f3f5720f93f752af404325a388
Author: Jean-Charles ROGEZ <jean-charles.rogez@c-s.fr>
Date:   Fri Jun 1 18:02:08 2012 +0200

    Updated info URL

 README                          |  9 ++++-----
 docs/manpages/preludedb-admin.1 | 10 +++++-----
 m4/libpreludedb.m4              |  2 +-
 pkg/rhel6/libpreludedb.spec     |  4 ++--
 4 files changed, 12 insertions(+), 13 deletions(-)

commit 27465d0c37bad4d0502f0742479a310f1716e6d0
Author: Jean-Charles ROGEZ <jean-charles.rogez@c-s.fr>
Date:   Fri Jun 1 17:32:40 2012 +0200

    Update NEWS, documentation, bump version

 NEWS                             |  21 +
 configure.in                     |   2 +-
 docs/api/libpreludedb-decl.txt   | 848 +++++++++++++++++++--------------------
 docs/api/tmpl/preludedb-sql.sgml |   4 +-
 4 files changed, 448 insertions(+), 427 deletions(-)

commit 050c2d9dffc40036efac0196edd502ff549efced
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jun 1 14:20:32 2012 +0200

    Copyright change for README files

 HACKING.README | 8 ++++----
 LICENSE.README | 4 ++--
 README         | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

commit 0fd48c350dbe8ec81dbebec7bb777f8b052805a9
Author: root <root@localhost.localdomain>
Date:   Fri May 11 10:05:35 2012 +0200

    Copyright change for .h files

 bindings/libpreludedb.i                               | 2 +-
 bindings/libpreludedb_perl.i                          | 2 +-
 bindings/libpreludedb_python.i                        | 2 +-
 bindings/perl/PreludeDB.pm                            | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/format/classic/include/classic-sql-select.h   | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 19 files changed, 19 insertions(+), 19 deletions(-)

commit ef157e1d5f3fecb3ab7e83fd36d01de9bf16442b
Author: root <root@localhost.localdomain>
Date:   Thu May 10 16:28:43 2012 +0200

    Copyright change for .c and .py files

 plugins/format/classic/classic-delete.c       | 2 +-
 plugins/format/classic/classic-get.c          | 2 +-
 plugins/format/classic/classic-insert.c       | 2 +-
 plugins/format/classic/classic-path-resolve.c | 2 +-
 plugins/format/classic/classic-sql-join.c     | 2 +-
 plugins/format/classic/classic-sql-select.c   | 2 +-
 plugins/format/classic/classic.c              | 2 +-
 plugins/sql/mysql/mysql.c                     | 2 +-
 plugins/sql/pgsql/pgsql.c                     | 2 +-
 plugins/sql/sqlite3/sqlite3.c                 | 2 +-
 preludedb-admin.c                             | 2 +-
 src/preludedb-error.c                         | 2 +-
 src/preludedb-path-selection.c                | 2 +-
 src/preludedb-plugin-format.c                 | 2 +-
 src/preludedb-plugin-sql.c                    | 2 +-
 src/preludedb-sql-settings.c                  | 2 +-
 src/preludedb-sql.c                           | 2 +-
 src/preludedb-version.c                       | 2 +-
 src/preludedb.c                               | 2 +-
 19 files changed, 19 insertions(+), 19 deletions(-)

commit c85c6169912a613e4cd89d95631787c3adc857bc
Author: Jean-Charles ROGEZ <jean-charles.rogez@c-s.fr>
Date:   Mon Apr 2 15:55:45 2012 +0200

    Added packaging for rhel6

 pkg/rhel6/libpreludedb.spec | 264 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 264 insertions(+)

commit 6e02cae79e1cafdb725ed1520d13859c1e6a3944
Author: Yoann Vandoorselaere <yoann.v@prelude-technologies.com>
Date:   Thu Jan 13 09:20:48 2011 +0100

    Call prelude_transaction_abort() on empty IDMEF message.
    
    When trying to insert a message containing no alert/heartbeat,
    the database would remain locked since preludedb_transaction_abort()
    was not called.

 plugins/format/classic/classic-insert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b26bab33a618cdffae4f0d9da20040d30e8fa546
Author: Yoann Vandoorselaere <yoann.v@prelude-technologies.com>
Date:   Mon Oct 25 10:01:06 2010 +0200

    Whitespace police

 plugins/format/classic/classic.c | 718 +++++++++++++++++++--------------------
 1 file changed, 359 insertions(+), 359 deletions(-)

commit 1109068059501f5e7d5fbbae6bdcc1903117813e
Author: Yoann Vandoorselaere <yoann.v@prelude-technologies.com>
Date:   Tue Jun 22 12:19:52 2010 +0200

    C++ compilation fixes
    
    Include required dependencies, and add missing cast to preludedb-error.h

 src/include/preludedb-error.h | 4 ++--
 src/include/preludedb-sql.h   | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

commit 425c4dc86168e8bf8c2c47cac2e05e78baf8e77c
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date:   Fri Jun 18 13:45:50 2010 +0200

    preludedb: fix some compile errors with g++
    
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

 src/include/preludedb-error.h | 4 ++--
 src/include/preludedb-sql.h   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 0364971e171bc634c0ac6028bf758ec2aeee2859
Author: Yoann Vandoorselaere <yoann.v@prelude-technologies.com>
Date:   Tue Mar 16 15:55:31 2010 +0100

    Update NEWS, bump version

 NEWS         | 5 +++++
 configure.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 9c038260b90c3607a76276f628d9353b159c5baa
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 29 17:56:08 2010 +0100

    Update NEWS, bump version

 INSTALL                        | 97 ++++++++++++++++++++++++++++++++++--------
 NEWS                           | 25 +++++++++++
 configure.in                   | 10 ++---
 docs/api/libpreludedb-decl.txt |  2 +-
 4 files changed, 111 insertions(+), 23 deletions(-)

commit 3c9f4ebed4695392da975602422e2390e8254829
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 29 17:53:54 2010 +0100

    Update GnuLib code

 arg-nonnull.h                      |   26 +
 config.rpath                       |    2 +-
 libmissing/Makefile.am             |  318 +-
 libmissing/alloca.in.h             |    4 +-
 libmissing/asnprintf.c             |    2 +-
 libmissing/errno.in.h              |    2 +-
 libmissing/float+.h                |    2 +-
 libmissing/float.in.h              |    2 +-
 libmissing/getpagesize.c           |   39 -
 libmissing/glthread/lock.c         |  436 +-
 libmissing/glthread/lock.h         |    2 +-
 libmissing/glthread/threadlib.c    |   20 +-
 libmissing/m4/00gnulib.m4          |    2 +-
 libmissing/m4/alloca.m4            |    3 +-
 libmissing/m4/errno_h.m4           |    2 +-
 libmissing/m4/extensions.m4        |   22 +-
 libmissing/m4/float_h.m4           |    2 +-
 libmissing/m4/getpagesize.m4       |   29 -
 libmissing/m4/gnulib-cache.m4      |    2 +-
 libmissing/m4/gnulib-common.m4     |   35 +-
 libmissing/m4/gnulib-comp.m4       |   24 +-
 libmissing/m4/gnulib-tool.m4       |    2 +-
 libmissing/m4/include_next.m4      |   80 +-
 libmissing/m4/intmax_t.m4          |    3 +-
 libmissing/m4/inttypes_h.m4        |    2 +-
 libmissing/m4/lib-ld.m4            |    8 +-
 libmissing/m4/lib-link.m4          |    2 +-
 libmissing/m4/lib-prefix.m4        |    2 +-
 libmissing/m4/lock.m4              |    2 +-
 libmissing/m4/longlong.m4          |   66 +-
 libmissing/m4/memchr.m4            |   10 +-
 libmissing/m4/mmap-anon.m4         |    2 +-
 libmissing/m4/multiarch.m4         |    2 +-
 libmissing/m4/onceonly.m4          |    3 +-
 libmissing/m4/printf.m4            |    2 +-
 libmissing/m4/size_max.m4          |    2 +-
 libmissing/m4/snprintf.m4          |    2 +-
 libmissing/m4/stddef_h.m4          |   45 +
 libmissing/m4/stdint.m4            |   14 +-
 libmissing/m4/stdint_h.m4          |    2 +-
 libmissing/m4/stdio_h.m4           |  121 +-
 libmissing/m4/strdup.m4            |    2 +-
 libmissing/m4/string_h.m4          |   66 +-
 libmissing/m4/strndup.m4           |   48 +-
 libmissing/m4/strnlen.m4           |    3 +-
 libmissing/m4/thread.m4            |    2 +-
 libmissing/m4/threadlib.m4         |   15 +-
 libmissing/m4/time_h.m4            |   22 +-
 libmissing/m4/time_r.m4            |   21 +-
 libmissing/m4/unistd_h.m4          |   83 -
 libmissing/m4/vasnprintf.m4        |    2 +-
 libmissing/m4/vsnprintf.m4         |    2 +-
 libmissing/m4/warn-on-use.m4       |   45 +
 libmissing/m4/wchar.m4             |  100 +-
 libmissing/m4/wchar_t.m4           |    2 +-
 libmissing/m4/wint_t.m4            |    2 +-
 libmissing/m4/xsize.m4             |    2 +-
 libmissing/m4/yield.m4             |    2 +-
 libmissing/memchr.c                |   26 +-
 libmissing/printf-args.c           |  211 +-
 libmissing/printf-args.h           |   55 +-
 libmissing/printf-parse.c          |  940 ++---
 libmissing/printf-parse.h          |   21 +-
 libmissing/size_max.h              |    2 +-
 libmissing/snprintf.c              |   12 +-
 libmissing/stddef.in.h             |   86 +
 libmissing/stdint.in.h             |   10 +-
 libmissing/stdio-write.c           |   48 +-
 libmissing/stdio.in.h              |  849 ++--
 libmissing/strdup.c                |    4 +-
 libmissing/string.in.h             |  360 +-
 libmissing/strndup.c               |    4 +-
 libmissing/strnlen.c               |    2 +-
 libmissing/tests/Makefile.am       |   80 +-
 libmissing/tests/glthread/thread.c |   34 +-
 libmissing/tests/glthread/thread.h |    2 +-
 libmissing/tests/glthread/yield.h  |    2 +-
 libmissing/tests/intprops.h        |   50 +-
 libmissing/tests/macros.h          |   64 +
 libmissing/tests/signature.h       |   48 +
 libmissing/tests/test-alloca-opt.c |    2 +-
 libmissing/tests/test-errno.c      |    2 +-
 libmissing/tests/test-lock.c       |   58 +-
 libmissing/tests/test-memchr.c     |   71 +-
 libmissing/tests/test-snprintf.c   |   46 +-
 libmissing/tests/test-stddef.c     |   38 +
 libmissing/tests/test-stdint.c     |    4 +-
 libmissing/tests/test-stdio.c      |   11 +-
 libmissing/tests/test-string.c     |    4 +-
 libmissing/tests/test-time.c       |   10 +-
 libmissing/tests/test-unistd.c     |   56 -
 libmissing/tests/test-vasnprintf.c |   23 +-
 libmissing/tests/test-vsnprintf.c  |   46 +-
 libmissing/tests/test-wchar.c      |   10 +-
 libmissing/tests/verify.h          |    6 +-
 libmissing/tests/zerosize-ptr.h    |   10 +-
 libmissing/time.in.h               |   34 +-
 libmissing/time_r.c                |    2 +-
 libmissing/unistd.in.h             |  578 ---
 libmissing/vasnprintf.c            | 8063 ++++++++++++++++++------------------
 libmissing/vasnprintf.h            |   17 +-
 libmissing/vsnprintf.c             |   12 +-
 libmissing/wchar.in.h              |  121 +-
 libmissing/xsize.h                 |    2 +-
 src/Makefile.am                    |    2 +-
 warn-on-use.h                      |   75 +
 106 files changed, 6968 insertions(+), 7012 deletions(-)

commit fb152c4c92e96a2d5a26e4307300deefbfd5e1b4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 29 11:04:35 2010 +0100

    Correctly compare table name for IDMEFTime field
    
    The old implementation could use the CreateTime table, in place of
    the DetectTime table, when asked for the table handling a detect_time
    element.

 plugins/format/classic/classic-sql-join.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 3ef573868ba897dcfc817876894dd326e6964de8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 13:32:58 2010 +0100

    Force upgrading copied count before next database retrieval
    
    This fix a problem where the offset was not correctly calculated
    when retrieving alert to be copied, when the previous number of
    events copied didn't exceed events_per_transaction.

 preludedb-admin.c | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

commit b834aa8015f1fe529cb108bf9342f0fd152f5f8a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 13:02:53 2010 +0100

    Do not account for EOF return in loaded messages statistics

 preludedb-admin.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 8fd6982cab2c0eb6bbe1e269296cc7929f53bb55
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 11:43:13 2010 +0100

    Error return propagation fix
    
    Correctly propagate error return on prelude_msg_read() error, fix
    a possible crash in case of invalid input message.

 preludedb-admin.c | 2 ++
 1 file changed, 2 insertions(+)

commit e8ee0396b926e1edae26f69cf61d4cd2d3e24435
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 10:52:39 2010 +0100

    Fix events deletion/move bugs
    
    When deleting events without specifying the --count parameters, only
    half of the events would be deleted.
    
    When moving alert, only half of the alert would be moved.

 preludedb-admin.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit b7d60fbb66c09f0a188b5ce6387ed53c5efdcce7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 09:39:57 2010 +0100

    Fixes some warnings uncovered by -Wextra

 plugins/format/classic/classic-delete.c       | 5 ++---
 plugins/format/classic/classic-get.c          | 2 +-
 plugins/format/classic/classic-path-resolve.c | 2 +-
 plugins/format/classic/classic-sql-select.c   | 2 +-
 plugins/sql/mysql/mysql.c                     | 4 ++--
 plugins/sql/pgsql/pgsql.c                     | 8 +++++---
 plugins/sql/sqlite3/sqlite3.c                 | 5 +++--
 preludedb-admin.c                             | 2 +-
 src/preludedb-error.c                         | 2 +-
 src/preludedb-path-selection.c                | 4 ++--
 src/preludedb-plugin-sql.c                    | 2 +-
 src/preludedb-sql.c                           | 4 ++--
 src/preludedb.c                               | 2 +-
 13 files changed, 23 insertions(+), 21 deletions(-)

commit 3cd795ae63fee8a95b05f8f925200aab42e9d26c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 09:26:01 2010 +0100

    Whitespace police

 plugins/format/classic/classic-delete.c |  152 +-
 plugins/format/classic/classic-get.c    | 3192 +++++++++++++++----------------
 src/preludedb-error.c                   |   36 +-
 3 files changed, 1690 insertions(+), 1690 deletions(-)

commit 658a85e55df3cc7b4d123cb612df6be02814aa7d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jan 19 15:46:35 2010 +0100

    Fixes insertion failure for ProcessEnv

 plugins/format/classic/classic-insert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ee268850d6f44f8cb2cc1594f7ec954282a7858a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jul 15 09:50:54 2009 +0200

    Update NEWS, bump version

 NEWS         | 5 +++++
 configure.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit b659b5dbaba9fdd0f0253d7056253dc472c77dca
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jul 15 09:48:23 2009 +0200

    libpreludedb distribution was missing SWIG generated bindings

 bindings/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 89656057ba31c69ab0395243ff8a4c83d6952107
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 17:40:05 2009 +0200

    Remove deprecated

 bindings/perl/generate.sh   | 3 ---
 bindings/python/generate.sh | 3 ---
 2 files changed, 6 deletions(-)

commit 470ece71bf055781f77bb4e38ba605b68498651c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 11:53:14 2009 +0200

    Update NEWS, bump version number

 NEWS         | 11 +++++++++++
 configure.in |  4 ++--
 2 files changed, 13 insertions(+), 2 deletions(-)

commit 1bbcbf3dbe5b78305050c443406fc1295f3dd136
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 11:34:02 2009 +0200

    Pass make distcheck again

 bindings/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c03dd0f03f8cdfe9b05a5f8018ddb1c52740f9f5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 11:21:17 2009 +0200

    Update gtk-doc, documentation

 docs/api/libpreludedb-decl.txt | 856 ++++++++++++++++++++---------------------
 gtk-doc.make                   |  47 ++-
 2 files changed, 463 insertions(+), 440 deletions(-)

commit c1233caa1df20652c75ef4fec6539da8779c0007
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 11:20:43 2009 +0200

    Fix compilation warning

 plugins/sql/mysql/mysql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit df9cb12498651abfa53ee456c92d1f82da6aff7b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 10:49:54 2009 +0200

    Update MySQL, PostgreSQL, and SQLite3 detection method
    
    Update to newer detection method based on Autoconf Macros Archives macros.
    This should fixes a number of detection problem (64 bits libdir), and make
    it easier to cross compile libpreludedb.

 configure.in                    | 145 ++++++-------------------------------
 m4/ax_lib_mysql.m4              | 145 +++++++++++++++++++++++++++++++++++++
 m4/ax_lib_postgresql.m4         | 152 +++++++++++++++++++++++++++++++++++++++
 m4/ax_lib_sqlite3.m4            | 153 ++++++++++++++++++++++++++++++++++++++++
 plugins/sql/mysql/Makefile.am   |   2 +-
 plugins/sql/pgsql/Makefile.am   |   4 +-
 plugins/sql/sqlite3/Makefile.am |   2 +-
 7 files changed, 476 insertions(+), 127 deletions(-)

commit ea29614ae5ac2acc345bacb7404632f2d50a86dc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 10:36:06 2009 +0200

    Update autoconf generated files

 INSTALL | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 86 insertions(+), 21 deletions(-)

commit 29461dbe823796af968db56c2408fbdb3efa2c8f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 09:35:19 2009 +0200

    Remove libmissing.h dependency
    
    We used to have a single libmissing header including all GnuLib
    headers file. Now that GnuLib provides replacement for default
    system headers, there is no need to include "libmissing.h" in
    source code anymore.

 plugins/format/classic/classic-delete.c       |  2 +-
 plugins/format/classic/classic-get.c          |  2 +-
 plugins/format/classic/classic-insert.c       |  1 -
 plugins/format/classic/classic-path-resolve.c |  1 -
 plugins/format/classic/classic-sql-join.c     |  2 +-
 plugins/format/classic/classic-sql-select.c   |  2 +-
 plugins/format/classic/classic.c              |  2 +-
 plugins/sql/mysql/mysql.c                     |  1 -
 plugins/sql/pgsql/pgsql.c                     |  1 -
 plugins/sql/sqlite3/sqlite3.c                 |  1 -
 src/include/Makefile.am                       |  2 +-
 src/include/libmissing.h                      | 33 ---------------------------
 src/preludedb-path-selection.c                |  1 -
 src/preludedb-sql-settings.c                  |  1 -
 src/preludedb-sql.c                           |  1 -
 src/preludedb.c                               |  1 -
 16 files changed, 6 insertions(+), 48 deletions(-)

commit 4ec573b0304d10d66792f22b56e372a1c3a703b4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 10 14:27:04 2009 +0200

    GnuLib update

 libmissing/Makefile.am          |  95 ++++++-
 libmissing/errno.in.h           |   7 +-
 libmissing/getpagesize.c        |  39 +++
 libmissing/m4/errno_h.m4        |   5 +-
 libmissing/m4/getpagesize.m4    |  29 ++
 libmissing/m4/gnulib-comp.m4    |  16 ++
 libmissing/m4/include_next.m4   |  32 ++-
 libmissing/m4/lib-link.m4       |   7 +-
 libmissing/m4/memchr.m4         |  86 ++++++
 libmissing/m4/mmap-anon.m4      |  59 ++++
 libmissing/m4/size_max.m4       |  17 +-
 libmissing/m4/stdio_h.m4        |   5 +-
 libmissing/m4/string_h.m4       |   6 +-
 libmissing/m4/unistd_h.m4       |  83 ++++++
 libmissing/memchr.c             | 172 ++++++++++++
 libmissing/memchr.valgrind      |  14 +
 libmissing/stdio.in.h           |  20 +-
 libmissing/string.in.h          |  17 +-
 libmissing/tests/Makefile.am    |  19 +-
 libmissing/tests/test-memchr.c  | 130 +++++++++
 libmissing/tests/test-stdio.c   |   8 +-
 libmissing/tests/test-string.c  |   8 +-
 libmissing/tests/test-unistd.c  |  56 ++++
 libmissing/tests/zerosize-ptr.h |  68 +++++
 libmissing/unistd.in.h          | 578 ++++++++++++++++++++++++++++++++++++++++
 25 files changed, 1548 insertions(+), 28 deletions(-)

commit d1190f4b40007040c853e9d6b859a4dafc962756
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 13 11:52:08 2009 +0200

    Fix regression introduced in libpreludedb 0.9.15:
    libpreludedb-config --plugin-dir would return incorrect result.

 configure.in | 1 +
 1 file changed, 1 insertion(+)

commit d15d1cd066f5d5da409c6b0472de6766a2517bcc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 18:43:48 2009 +0200

    Add autogenerated file to the repository.

 docs/api/libpreludedb-overrides.txt | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

commit 540d9f3cec220325ba3a434b31411813256af769
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 18:37:19 2009 +0200

    Documentation update.

 docs/api/libpreludedb-decl.txt | 696 ++++++++++++++++++++---------------------
 1 file changed, 348 insertions(+), 348 deletions(-)

commit 4e8cf7a6d525e1a21d5a3761a56147fc830c2a7b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 17:15:04 2009 +0200

    Automatic gitignore generation.

 Makefile.am                                |  23 ++++
 bindings/Makefile.am                       |  11 +-
 docs/Makefile.am                           |   2 +
 docs/api/Makefile.am                       |   2 +
 docs/manpages/Makefile.am                  |   2 +
 git.mk                                     | 183 +++++++++++++++++++++++++++++
 libmissing/Makefile.am                     |   2 +
 libmissing/tests/Makefile.am               |   2 +
 m4/Makefile.am                             |   8 ++
 plugins/Makefile.am                        |   2 +
 plugins/format/Makefile.am                 |   2 +
 plugins/format/classic/Makefile.am         |   2 +
 plugins/format/classic/include/Makefile.am |   2 +
 plugins/sql/Makefile.am                    |   2 +
 plugins/sql/mysql/Makefile.am              |   2 +
 plugins/sql/pgsql/Makefile.am              |   2 +
 plugins/sql/sqlite3/Makefile.am            |   2 +
 src/Makefile.am                            |   2 +
 src/include/Makefile.am                    |   2 +
 19 files changed, 254 insertions(+), 1 deletion(-)

commit 931654dd6509992d872b6a155d070cb70a67858e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 16:59:11 2009 +0200

    Update autogenerated file.

 INSTALL | 53 +++++++++++++++++++++++++++--------------------------
 1 file changed, 27 insertions(+), 26 deletions(-)

commit 34b478bfa015db5ed64f5b53706e764826b8fb94
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 16:58:52 2009 +0200

    Automatically generate ChangeLog from git history.

 ChangeLog   | 1839 +----------------------------------------------------------
 Makefile.am |   13 +
 2 files changed, 16 insertions(+), 1836 deletions(-)

commit 8feffb192e83e004e042c2c048ab9bbe8198a9b5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 15:10:21 2009 +0200

    Update GnuLib code, add missing GnuLib generated files.

 config.rpath                       | 672 +++++++++++++++++++++++++++++++
 libmissing/Makefile.am             | 226 +++++------
 libmissing/errno.in.h              | 155 ++++++++
 libmissing/float.in.h              |   6 +-
 libmissing/glthread/lock.c         |   5 +
 libmissing/glthread/lock.h         |   6 +-
 libmissing/glthread/threadlib.c    |   7 +-
 libmissing/m4/00gnulib.m4          |  30 ++
 libmissing/m4/alloca.m4            |   6 +-
 libmissing/m4/eoverflow.m4         |  70 ----
 libmissing/m4/errno_h.m4           | 112 ++++++
 libmissing/m4/extensions.m4        |  32 +-
 libmissing/m4/gnulib-cache.m4      |   4 +-
 libmissing/m4/gnulib-common.m4     |  41 +-
 libmissing/m4/gnulib-comp.m4       |  26 +-
 libmissing/m4/include_next.m4      |  99 ++++-
 libmissing/m4/intmax_t.m4          |  16 +-
 libmissing/m4/inttypes_h.m4        |  12 +-
 libmissing/m4/lib-ld.m4            |  14 +-
 libmissing/m4/lib-link.m4          |  56 ++-
 libmissing/m4/lib-prefix.m4        |  91 +++--
 libmissing/m4/lock.m4              |   8 +-
 libmissing/m4/longlong.m4          |   8 +-
 libmissing/m4/malloc.m4            |  41 --
 libmissing/m4/multiarch.m4         |  65 +++
 libmissing/m4/printf.m4            | 249 ++++++++----
 libmissing/m4/size_max.m4          |  14 +-
 libmissing/m4/stdint.m4            |  95 ++++-
 libmissing/m4/stdint_h.m4          |  12 +-
 libmissing/m4/stdio_h.m4           | 140 ++++---
 libmissing/m4/stdlib_h.m4          |  47 ---
 libmissing/m4/strdup.m4            |  26 +-
 libmissing/m4/string_h.m4          |   9 +-
 libmissing/m4/strndup.m4           |   8 +-
 libmissing/m4/strnlen.m4           |   8 +-
 libmissing/m4/thread.m4            |   6 +-
 libmissing/m4/threadlib.m4         |  51 ++-
 libmissing/m4/unistd_h.m4          |  63 ---
 libmissing/m4/vasnprintf.m4        |  56 ++-
 libmissing/m4/wchar.m4             |  62 ++-
 libmissing/m4/wchar_t.m4           |  10 +-
 libmissing/m4/wint_t.m4            |  10 +-
 libmissing/m4/xsize.m4             |   6 +-
 libmissing/m4/yield.m4             |   8 +-
 libmissing/malloc.c                |  57 ---
 libmissing/stdint.in.h             | 123 ++++--
 libmissing/stdio-write.c           | 148 +++++++
 libmissing/stdio.in.h              | 122 ++++++
 libmissing/stdlib.in.h             | 240 -----------
 libmissing/string.in.h             |  10 +-
 libmissing/tests/Makefile.am       |  39 +-
 libmissing/tests/glthread/thread.c | 256 ++++++------
 libmissing/tests/glthread/thread.h |  23 +-
 libmissing/tests/test-EOVERFLOW.c  |  32 --
 libmissing/tests/test-errno.c      | 117 ++++++
 libmissing/tests/test-lock.c       |  56 ++-
 libmissing/tests/test-stdlib.c     |  37 --
 libmissing/tests/test-unistd.c     |  44 --
 libmissing/tests/test-wchar.c      |   6 +-
 libmissing/time.in.h               |   6 +-
 libmissing/unistd.in.h             | 340 ----------------
 libmissing/vasnprintf.c            | 796 +++++++++++++++++++++++++++++++++----
 libmissing/wchar.in.h              | 225 ++++++++++-
 link-warning.h                     |  28 ++
 plugins/format/classic/Makefile.am |   2 +-
 plugins/sql/mysql/Makefile.am      |   2 +-
 plugins/sql/pgsql/Makefile.am      |   2 +-
 plugins/sql/sqlite3/Makefile.am    |   2 +-
 src/Makefile.am                    |   2 +-
 69 files changed, 3675 insertions(+), 1728 deletions(-)

commit 408ca1ff428fcec96c3d1da0e2f8fd62a929fe01
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:59 2008 +0000

    Tags 0.9.15.1

commit 6cf60a6d1e69baf41228f113d6a663228402c676
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:39 2008 +0000

    Update NEWS, bump version

 NEWS         | 5 +++++
 configure.in | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 3cac3c8ff98b1dba737933e0d6c4b5d331cc3b2b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:37 2008 +0000

    Fix handling of the offset parameter.

 preludedb-admin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 17cd0b646ce73b1f1ad433d974d44187c94fdd56
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:35 2008 +0000

    Add a THREAD_SUPPORT argument to AM_PATH_LIBPRELUDEDB()

 m4/libpreludedb.m4 | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

commit 1f0e69fcf0c32c25f36a44e33eb00f56879c46ce
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:32 2008 +0000

    Add optional --thread option, to pull thread dependencies.

 libpreludedb-config.in | 43 ++++++++++++++++++++++++++++++++++++-------
 1 file changed, 36 insertions(+), 7 deletions(-)

commit dea95231adde83c79de358786e9710b4aa755f11
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:29 2008 +0000

    Explicitly disable libprelude thread dependencie.

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f6f266ed31562e305869c844a676934ce89e1e47
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:27 2008 +0000

    Update from libprelude.

 m4/libprelude.m4 | 46 +++++++++++++++++++++++++++-------------------
 1 file changed, 27 insertions(+), 19 deletions(-)

commit e1572b8a7af7c0bf4cc395305f94ddec6dbf1273
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 14:04:32 2008 +0000

    Update NEWS, doc, bump version number.

 NEWS                                       | 17 +++++++++++++++++
 configure.in                               |  6 +++---
 docs/api/libpreludedb-decl.txt             | 27 +--------------------------
 docs/api/tmpl/libpreludedb-unused.sgml     | 24 ++++++++++++++++++++++++
 docs/api/tmpl/preludedb-plugin-format.sgml | 24 ------------------------
 5 files changed, 45 insertions(+), 53 deletions(-)

commit c53c47d660d7b4f904b4ee74323766b18515653c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:50:27 2008 +0000

    Add tests subdir.

 libmissing/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit d64277db38e5b82d923edf19342515e06eea21dc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:46:47 2008 +0000

    Add missing m4 macros.

 m4/ax_c_check_flag.m4  | 90 ++++++++++++++++++++++++++++++++++++++++++++++
 m4/ax_ld_check_flag.m4 | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 188 insertions(+)

commit c5774ec9d956a10c814df35c766614d7b5c5a91f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:38:36 2008 +0000

    Add missing m4 macro.

 m4/as-ac-expand.m4 | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

commit e0c11c84f604b6293807c9e38d88b89b91e5e8b4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:36:46 2008 +0000

    Update GnuLib code.

 libmissing/Makefile.am       |  2 ++
 libmissing/m4/string_h.m4    |  4 +++-
 libmissing/m4/thread.m4      |  3 +++
 libmissing/string.in.h       | 12 ++++++++++++
 libmissing/tests/test-lock.c |  3 +++
 5 files changed, 23 insertions(+), 1 deletion(-)

commit 52e69fe20cde0380272cfa8731a808db8c588ffa
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:36:42 2008 +0000

    Build system cleanup.

 Makefile.am                        |   5 +-
 configure.in                       | 180 +++++++++++++++++++-----------------
 m4/ax_cflags_gcc_option.m4         | 183 -------------------------------------
 m4/gtk-doc.m4                      |   4 +-
 plugins/format/classic/Makefile.am |   2 +-
 plugins/sql/mysql/Makefile.am      |   2 +-
 plugins/sql/pgsql/Makefile.am      |   2 +-
 plugins/sql/sqlite3/Makefile.am    |   2 +-
 src/Makefile.am                    |   5 +-
 9 files changed, 107 insertions(+), 278 deletions(-)

commit efd3eb1a3fda21fcb560220d462d4dc8f0213635
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:36:38 2008 +0000

    Add description for the count command, describe more db settings arguments.

 preludedb-admin.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

commit 9f872d210c8cab23d067f7d31a39abc16d847691
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:36:36 2008 +0000

    Whitespace police.

 NEWS | 354 +++++++++++++++++++++++++++++++++----------------------------------
 1 file changed, 177 insertions(+), 177 deletions(-)

commit 6778986e3d773315b6c6765066687ce9dc77af76
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 15:20:30 2008 +0000

    Add missing tests.

 libmissing/glthread/lock.c      | 1053 +++++++++++++++++++++++++++++++++++++++
 libmissing/glthread/lock.h      |  927 ++++++++++++++++++++++++++++++++++
 libmissing/glthread/threadlib.c |   69 +++
 3 files changed, 2049 insertions(+)

commit f652acf811c34890fd8d0d53762119af8503414e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 15:12:52 2008 +0000

    Add GnuLib unit-tests.

 Makefile.am  | 3 +++
 configure.in | 1 +
 2 files changed, 4 insertions(+)

commit e9ce210f002e3b9bfef68dbc92193512f8e38eb8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 15:12:49 2008 +0000

    Update GnuLib code, update lock.h inclusion path, add LTLIBTHREAD to LDFLAGS.

 libmissing/Makefile.am             |   27 +-
 libmissing/lock.c                  |  938 --------------------------
 libmissing/lock.h                  | 1105 ------------------------------
 libmissing/m4/extensions.m4        |    6 +-
 libmissing/m4/gnulib-cache.m4      |   15 +-
 libmissing/m4/gnulib-common.m4     |   30 +-
 libmissing/m4/gnulib-comp.m4       |  102 ++-
 libmissing/m4/gnulib-tool.m4       |   28 +-
 libmissing/m4/include_next.m4      |    4 +-
 libmissing/m4/lock.m4              |  313 +--------
 libmissing/m4/onceonly.m4          |   90 +++
 libmissing/m4/onceonly_2_57.m4     |   86 ---
 libmissing/m4/printf.m4            | 1309 ++++++++++++++++++++++++++++++++++++
 libmissing/m4/snprintf.m4          |   15 +-
 libmissing/m4/stdint.m4            |   20 +-
 libmissing/m4/stdio_h.m4           |   14 +-
 libmissing/m4/stdlib_h.m4          |    9 +-
 libmissing/m4/string_h.m4          |    2 +
 libmissing/m4/strndup.m4           |    8 +-
 libmissing/m4/thread.m4            |   15 +
 libmissing/m4/threadlib.m4         |  314 +++++++++
 libmissing/m4/vasnprintf.m4        |    3 +-
 libmissing/m4/vsnprintf.m4         |   15 +-
 libmissing/m4/yield.m4             |   19 +
 libmissing/snprintf.c              |    7 +-
 libmissing/stdio.in.h              |   20 +
 libmissing/stdlib.in.h             |   34 +-
 libmissing/string.in.h             |   16 +
 libmissing/tests/Makefile.am       |  196 ++++++
 libmissing/tests/glthread/thread.c |  206 ++++++
 libmissing/tests/glthread/thread.h |  369 ++++++++++
 libmissing/tests/glthread/yield.h  |  121 ++++
 libmissing/tests/intprops.h        |   77 +++
 libmissing/tests/test-EOVERFLOW.c  |   32 +
 libmissing/tests/test-alloca-opt.c |   62 ++
 libmissing/tests/test-lock.c       |  554 +++++++++++++++
 libmissing/tests/test-snprintf.c   |   72 ++
 libmissing/tests/test-stdint.c     |  360 ++++++++++
 libmissing/tests/test-stdio.c      |   30 +
 libmissing/tests/test-stdlib.c     |   37 +
 libmissing/tests/test-string.c     |   27 +
 libmissing/tests/test-time.c       |   29 +
 libmissing/tests/test-unistd.c     |   44 ++
 libmissing/tests/test-vasnprintf.c |  128 ++++
 libmissing/tests/test-vsnprintf.c  |   85 +++
 libmissing/tests/test-wchar.c      |   27 +
 libmissing/tests/verify.h          |  140 ++++
 libmissing/vasnprintf.c            |  279 +++++---
 libmissing/vsnprintf.c             |    7 +-
 libmissing/wchar.in.h              |   11 +-
 src/Makefile.am                    |    3 +-
 src/preludedb-sql.c                |    2 +-
 52 files changed, 4869 insertions(+), 2593 deletions(-)

commit 9624d2edef0cd71d556036e56938e3bdd8ed216b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:53:53 2008 +0000

    Check PostgreSQL version and use new escape method if possible
    to avoid a warning.

 configure.in              | 6 ++++++
 plugins/sql/pgsql/pgsql.c | 2 ++
 2 files changed, 8 insertions(+)

commit 828a54a429f9c8c05396f25c3ae336491ed56638
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:53:50 2008 +0000

    Whitespace police.

 configure.in | 70 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

commit 50f9becca2ba9c256f120d08af48296dde665707
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:41:58 2008 +0000

    Add a count command, printing the result of a COUNT() on the database.
    
    Do not fetch more than 'events-per-transaction' idents at once, work
    in a loop (fix #220, refs #305).
    
    Code cleanup, improved handling of interrupted transaction.

 preludedb-admin.c | 288 ++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 192 insertions(+), 96 deletions(-)

commit 38e83215263cec9cdf56ee3103f4919db0a3a43f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:41:56 2008 +0000

    Update gtk-doc files.

 gtk-doc.make | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

commit 510d28efe2d1c99626fe88e5ab1b6f3a8a66fec3
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:41:54 2008 +0000

    Whitespace police.

 plugins/format/classic/classic-sql-select.c | 220 ++++++++++++++--------------
 1 file changed, 110 insertions(+), 110 deletions(-)

commit 03cbd9eb84d3f421b4b1114e4cc86957592ddf5d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:41:51 2008 +0000

    Whitespace police.

 plugins/format/classic/classic-sql-join.c | 386 +++++++++++++++---------------
 1 file changed, 193 insertions(+), 193 deletions(-)

commit 00232f5f713369be20e6bbab0bcfa3e8b19a47a1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:41:47 2008 +0000

    Whitespace police.

 plugins/format/classic/classic-path-resolve.c | 346 +++++++++++++-------------
 1 file changed, 173 insertions(+), 173 deletions(-)

commit a0653e72c6938dccb012a8b1b9aef1685b35771f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 18 16:26:54 2008 +0000

    Include patch from Uwe Schwartz <usx303 at googlemail.com>,
    fixing SQLite and MySQL detection under MacOSX. Fix #296.

 configure.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit c8c587480b2c3972b64965970b628413c679a004
Author: Sebastien Tricaud <s.tricaud@inl.fr>
Date:   Wed Apr 16 12:03:58 2008 +0000

    changed manpage to new use

 docs/manpages/preludedb-admin.1 | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

commit d8ba0546dfd55bff66e5d8a576f6820665b00fcc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 27 15:30:32 2008 +0000

    Update gtk-doc.make.

 gtk-doc.make | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

commit 7dc760cee1c1863ab0e682f7b36d18fc0c776343
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 27 15:30:23 2008 +0000

    Update gnulib code.

 libmissing/Makefile.am           | 19 +++++-----
 libmissing/alloca.in.h           |  4 ++-
 libmissing/m4/absolute-header.m4 | 49 -------------------------
 libmissing/m4/alloca.m4          |  8 ++---
 libmissing/m4/gnulib-cache.m4    |  2 +-
 libmissing/m4/gnulib-comp.m4     |  3 +-
 libmissing/m4/include_next.m4    |  7 ++--
 libmissing/m4/lib-link.m4        | 66 ++++++++++++++++++++++++----------
 libmissing/m4/string_h.m4        | 10 ++++--
 libmissing/m4/time_r.m4          |  6 ++--
 libmissing/m4/unistd_h.m4        |  6 ++--
 libmissing/m4/vasnprintf.m4      | 20 +++++++++--
 libmissing/printf-parse.c        | 40 ++++++++++++++++++++-
 libmissing/stdio.in.h            |  4 +--
 libmissing/string.in.h           | 78 +++++++++++++++++++++++++++++++---------
 libmissing/unistd.in.h           | 22 +++++++++++-
 libmissing/vasnprintf.c          | 55 +++++++++++++++++-----------
 libmissing/vasnprintf.h          |  4 +--
 libmissing/xsize.h               |  4 +--
 19 files changed, 266 insertions(+), 141 deletions(-)

commit 98ab0ed10307a9eeb5996451ebe5fdee68bdda49
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 5 11:16:13 2008 +0000

    Only use E'value' mode of escaping if PostgreSQL server version is
    higher or equal than 8.2.0.

 plugins/sql/pgsql/pgsql.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 5fc347765517c24c39ed98fdb039906e1e8c058e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 3 10:59:21 2008 +0000

    Update NEWS, bump version number.

 NEWS         | 5 +++++
 configure.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 747cb4e3072bada00fe62b8e0de3e83d38bbad0a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 3 10:59:12 2008 +0000

    Gnulib code update.

 libmissing/Makefile.am    |  7 +++++++
 libmissing/m4/stdlib_h.m4 |  7 ++++++-
 libmissing/m4/string_h.m4 |  3 +++
 libmissing/m4/unistd_h.m4 |  1 +
 libmissing/stdint.in.h    | 10 ++++++++--
 libmissing/stdlib.in.h    | 25 ++++++++++++++++++++++++-
 libmissing/string.in.h    |  5 ++++-
 libmissing/unistd.in.h    |  5 ++++-
 8 files changed, 57 insertions(+), 6 deletions(-)

commit 73305d7b4529a1b4a8d004f9007d3e8bceec0bca
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jan 2 12:46:29 2008 +0000

    Drop 'NOT NULL' constraint with a separate query (Fix #271).
    Thanks to Pierre Chifflier <p.chifflier@inl.fr> for pointing this out.

 plugins/format/classic/pgsql-update-14-7.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 55e8408711050b38ef7bd378635e5e1b5b5d9f83
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 19 15:32:31 2007 +0000

    Update NEWS, bump version number.

 NEWS         | 25 +++++++++++++++++++++++++
 configure.in |  4 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)

commit 7c47b4f30e7b1e464c1b0d0bc5e72733ad471eac
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 19 15:21:39 2007 +0000

    Configure the BINDINGS_CC variable, not modified by GnuLib autoconfiguration.

 configure.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit e9cf7b9eb9d5b9a482b0020d13fed567081fd299
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 19 15:20:03 2007 +0000

    Add missing sqlite-update-14-7.sql. Distribute schema update 14.7.
    Propagate CC variable for bindings compilation.

 bindings/Makefile.am                          | 6 +++---
 plugins/format/classic/Makefile.am            | 5 ++++-
 plugins/format/classic/sqlite-update-14-7.sql | 1 +
 3 files changed, 8 insertions(+), 4 deletions(-)

commit 581882da626033fdc2ce73ce767fe98f21fcbfcb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Dec 18 11:22:33 2007 +0000

    Use the GnuLib "lock" module to provide portable recursive mutex
    access different architecture. We now ensure that a single query
    or transaction is held at a time.

 src/preludedb-sql.c | 90 +++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 66 insertions(+), 24 deletions(-)

commit f25667e90f216af52034fa58d033d5e58b81cc53
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Dec 18 11:22:06 2007 +0000

    Add missing GnuLib module.

 libmissing/lock.c           |  938 ++++++++++++++++++++++++++++++++++++
 libmissing/lock.h           | 1105 +++++++++++++++++++++++++++++++++++++++++++
 libmissing/m4/lib-ld.m4     |  110 +++++
 libmissing/m4/lib-link.m4   |  709 +++++++++++++++++++++++++++
 libmissing/m4/lib-prefix.m4 |  185 ++++++++
 libmissing/m4/lock.m4       |  316 +++++++++++++
 6 files changed, 3363 insertions(+)

commit a92087c4807b2232580717fc0139cc936fa6777e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Dec 18 11:19:12 2007 +0000

    Update GnuLib code, include the lock module.

 libmissing/Makefile.am         |  31 +-
 libmissing/alloca.in.h         |   2 +-
 libmissing/asnprintf.c         |   2 +-
 libmissing/dummy.c             |  42 --
 libmissing/float+.h            |   2 +-
 libmissing/float.in.h          |   2 +-
 libmissing/m4/float_h.m4       |   4 +-
 libmissing/m4/gnulib-cache.m4  |   4 +-
 libmissing/m4/gnulib-common.m4 |  45 +-
 libmissing/m4/gnulib-comp.m4   |  81 +++-
 libmissing/m4/intmax_t.m4      |  12 +-
 libmissing/m4/longlong.m4      |  75 +++-
 libmissing/m4/stdio_h.m4       |  15 +-
 libmissing/m4/stdlib_h.m4      |   4 +-
 libmissing/m4/string_h.m4      |   2 -
 libmissing/m4/ulonglong.m4     |  51 ---
 libmissing/m4/unistd_h.m4      |   6 +-
 libmissing/m4/vasnprintf.m4    |  52 ++-
 libmissing/m4/wint_t.m4        |   2 +-
 libmissing/malloc.c            |   2 +-
 libmissing/printf-args.c       |   2 +-
 libmissing/printf-args.h       |   2 +-
 libmissing/printf-parse.c      |  25 +-
 libmissing/printf-parse.h      |   2 +-
 libmissing/size_max.h          |   2 +-
 libmissing/snprintf.c          |   2 +-
 libmissing/stdint.in.h         |   7 +-
 libmissing/stdio.in.h          |   2 +-
 libmissing/stdlib.in.h         |   9 +
 libmissing/strdup.c            |   2 +-
 libmissing/string.in.h         |  47 +--
 libmissing/strndup.c           |   2 +-
 libmissing/strnlen.c           |   2 +-
 libmissing/time.in.h           |   2 +-
 libmissing/time_r.c            |   2 +-
 libmissing/unistd.in.h         |  57 ++-
 libmissing/vasnprintf.c        | 904 ++++++++++++++++++++++++++++++++++++-----
 libmissing/vasnprintf.h        |   2 +-
 libmissing/vsnprintf.c         |   2 +-
 libmissing/wchar.in.h          |   2 +-
 libmissing/xsize.h             |   2 +-
 41 files changed, 1186 insertions(+), 329 deletions(-)

commit f2579bce080c9476fd38c132ea4ade085b5dd0be
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Nov 27 14:18:43 2007 +0000

    Fix a problem handling offset when using the "load" command.
    
    Additionnally, do not compute statistics by storing the number of useconds
    elapsed, since the statistics counter would wrap arround with long operation.

 preludedb-admin.c | 114 ++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 77 insertions(+), 37 deletions(-)

commit 642d5d510b89b5e1ef024ef60c436d8574422c79
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Nov 2 13:25:12 2007 +0000

    Use TEXT in place of VARCHAR for alert.assessment.impact.description (fix #265).

 plugins/format/classic/classic.c             | 2 +-
 plugins/format/classic/mysql-update-14-7.sql | 6 ++++++
 plugins/format/classic/mysql.sql             | 4 ++--
 plugins/format/classic/pgsql-update-14-7.sql | 6 ++++++
 plugins/format/classic/pgsql.sql             | 4 ++--
 plugins/format/classic/sqlite.sql            | 2 +-
 6 files changed, 18 insertions(+), 6 deletions(-)

commit 706cdc84d16a879c0bfcb60bf8258cfe03c30561
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 29 13:36:01 2007 +0000

    Fix OpenBSD compilation issue, thanks Alexandre Anriot <aanriot@atlantilde.com>
    for pointing out this (fix #227).

 src/preludedb-plugin-sql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit bdf468e120b1797f4cb22232481af02eb7a0809a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 25 13:23:45 2007 +0000

    Update GnuLib code.

 libmissing/Makefile.am           | 146 ++++++++--
 libmissing/alloca.in.h           |  54 ++++
 libmissing/alloca_.h             |  54 ----
 libmissing/dummy.c               |  10 +-
 libmissing/float.in.h            |  58 ++++
 libmissing/float_.h              |  59 ----
 libmissing/m4/absolute-header.m4 |  49 ++++
 libmissing/m4/extensions.m4      |  52 +++-
 libmissing/m4/gnulib-comp.m4     |  55 ++--
 libmissing/m4/longlong.m4        |  13 +-
 libmissing/m4/malloc.m4          |  41 +++
 libmissing/m4/stdint.m4          |   4 +-
 libmissing/m4/stdio_h.m4         |  11 +-
 libmissing/m4/stdlib_h.m4        |  35 +++
 libmissing/m4/string_h.m4        |   3 +
 libmissing/m4/strndup.m4         |   6 +-
 libmissing/m4/strnlen.m4         |   6 +-
 libmissing/m4/time_h.m4          |   2 +-
 libmissing/m4/ulonglong.m4       |  13 +-
 libmissing/m4/unistd_h.m4        |  56 ++++
 libmissing/malloc.c              |  57 ++++
 libmissing/printf-parse.c        |   2 +-
 libmissing/stdint.in.h           | 513 +++++++++++++++++++++++++++++++++++
 libmissing/stdint_.h             | 508 -----------------------------------
 libmissing/stdio.in.h            | 382 ++++++++++++++++++++++++++
 libmissing/stdio_.h              | 312 ----------------------
 libmissing/stdlib.in.h           | 176 ++++++++++++
 libmissing/string.in.h           | 563 +++++++++++++++++++++++++++++++++++++++
 libmissing/string_.h             | 548 -------------------------------------
 libmissing/time.in.h             | 114 ++++++++
 libmissing/time_.h               | 114 --------
 libmissing/unistd.in.h           | 262 ++++++++++++++++++
 libmissing/vasnprintf.c          |  45 +++-
 libmissing/wchar.in.h            |  82 ++++++
 libmissing/wchar_.h              |  82 ------
 35 files changed, 2720 insertions(+), 1767 deletions(-)

commit 18e81ba546d6944abf4f6e490e826d110293dcb8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 11 09:03:30 2007 +0000

    Handle case where an offset is set, but no limit were specified.

 plugins/sql/mysql/mysql.c     | 3 +++
 plugins/sql/pgsql/pgsql.c     | 5 ++++-
 plugins/sql/sqlite3/sqlite3.c | 5 ++++-
 3 files changed, 11 insertions(+), 2 deletions(-)

commit e16d16c7385a9910cbd29d9a5cb00c79b2692d84
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 11 09:03:24 2007 +0000

    Whitespace police.

 plugins/sql/sqlite3/sqlite3.c | 114 +++++++++++++++++++++---------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

commit d7c38decdbdb33551893c599eaa7322a61639fc0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 11 09:01:02 2007 +0000

    Whitespace police.

 plugins/sql/pgsql/pgsql.c | 46 +++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

commit 3d85bf5f7eb096ffbe9db58a7284c3934b0c4e8b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Sep 12 13:52:40 2007 +0000

    Prevent MySQL session from timing out after 8 hours of inactivity.
    
    Upon connection to the MySQL server, set the wait_timeout session
    variable to 31536000 seconds (365 days).

 plugins/sql/mysql/mysql.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 2d7b91e08e033c29937ab0af9d76b6c433c4eadb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Sep 12 13:48:17 2007 +0000

    Whitespace police.

 plugins/sql/mysql/mysql.c | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

commit caefe944dbf6774217592c65104b10614d770dbe
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 6 17:35:10 2007 +0000

    Fix postgreSQL warning when inseting binary data.

 plugins/sql/pgsql/pgsql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit aadc9eb19401878f9e390e677faa46c25117cdb9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 6 17:35:04 2007 +0000

    Allow Python thread to run, while entering libpreludedb C function.
    
    Avoid Python thread from stalling while blocking libpreludedb function
    are waiting.

 bindings/libpreludedb_python.i | 7 +++++++
 1 file changed, 7 insertions(+)

commit 1eb62b3c5081f048ea747007f484b277a36121db
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 20 15:37:25 2007 +0000

    Update NEWS, documentation, bump version number.

 NEWS                           | 25 +++++++++++++++++++++++++
 configure.in                   |  4 ++--
 docs/api/libpreludedb-decl.txt |  8 ++++----
 3 files changed, 31 insertions(+), 6 deletions(-)

commit 853bc7439c1d1ee84aeb6cc5fd7f43f54166bca9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 20 15:37:19 2007 +0000

    Make comparison for the type of operation case insensitive. Fix a typo.

 preludedb-admin.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit c332c96689f955f15b5a702d2306b97c5a80ef32
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Aug 16 12:15:04 2007 +0000

    Update GnuLib code, include missing files (fix #250).

 libmissing/float+.h           | 148 ++++++++++++
 libmissing/float_.h           |  59 +++++
 libmissing/m4/float_h.m4      |  19 ++
 libmissing/m4/include_next.m4 | 107 +++++++++
 libmissing/m4/stdint.m4       | 395 ++++++++++++++++++++++++++++++++
 libmissing/m4/ulonglong.m4    |  48 ++++
 libmissing/m4/wchar.m4        |  54 +++++
 libmissing/stdint_.h          | 508 ++++++++++++++++++++++++++++++++++++++++++
 libmissing/wchar_.h           |  82 +++++++
 9 files changed, 1420 insertions(+)

commit 8f468f509b32a859fa79844a5e95e60f189334b8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:12:42 2007 +0000

    Give the delete table a decent size.
    Make count and offset 64 bits, in place of 32 bits.
    Stop processing on certain error.
    Correct preludedb-admin print example, and improve error message on
    invalid message type.

 preludedb-admin.c | 89 ++++++++++++++++++++++++++++++-------------------------
 1 file changed, 48 insertions(+), 41 deletions(-)

commit 371cdb5da1a3095b9c1f9e98cf459631ef74a6a9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:12:33 2007 +0000

    Update GnuLib code.

 libmissing/Makefile.am           |  127 +-
 libmissing/alloca_.h             |    8 +-
 libmissing/m4/absolute-header.m4 |   44 -
 libmissing/m4/gnulib-cache.m4    |    2 +
 libmissing/m4/gnulib-comp.m4     |   14 +-
 libmissing/m4/longdouble.m4      |   31 -
 libmissing/m4/stdio_h.m4         |   42 +-
 libmissing/m4/string_h.m4        |    5 +-
 libmissing/m4/time_h.m4          |    4 +-
 libmissing/m4/vasnprintf.m4      |  137 +-
 libmissing/m4/wint_t.m4          |    2 +-
 libmissing/printf-args.c         |   56 +-
 libmissing/printf-args.h         |   28 +-
 libmissing/printf-parse.c        |   83 +-
 libmissing/printf-parse.h        |  115 +-
 libmissing/snprintf.h            |   29 -
 libmissing/stdio_.h              |  126 +-
 libmissing/string_.h             |   24 +-
 libmissing/time_.h               |   19 +-
 libmissing/vasnprintf.c          | 3147 ++++++++++++++++++++++++++++++++++----
 20 files changed, 3558 insertions(+), 485 deletions(-)

commit 2399d76f7c87daa6d9584a20b0e107cbb9602e82
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:12:16 2007 +0000

    Whitespace police.

 src/preludedb-sql.c | 184 ++++++++++++++++++++++++++--------------------------
 1 file changed, 92 insertions(+), 92 deletions(-)

commit d76560a6ce0697b135e67e03c0bf41e57149c3b9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:11:56 2007 +0000

    Whitespace police.

 src/preludedb-sql-settings.c | 154 +++++++++++++++++++++----------------------
 1 file changed, 77 insertions(+), 77 deletions(-)

commit e03ba52c0d57eda3f0c40864dffa1b1b4591749c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:11:47 2007 +0000

    Whitespace police.

 src/preludedb-plugin-sql.c | 54 +++++++++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

commit e14a5355972af7174ff7b44f20b9ba12a3424bd7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:11:33 2007 +0000

    Whitespace police.

 src/preludedb-plugin-format.c | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

commit fb6de82a906cb1a5e6df433150d99c64d4bbbeaf
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:11:23 2007 +0000

    Whitespace police.

 src/preludedb-path-selection.c | 224 ++++++++++++++++++++---------------------
 1 file changed, 112 insertions(+), 112 deletions(-)

commit bd051d68e4895906fa28c0f9f0a76a24f4778686
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 6 15:41:52 2007 +0000

    Add mising docs/manpages/Makefile.am.

 docs/manpages/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit a6b13a54504530ab60dfeb4ba1fef7cc7ead51b6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 6 15:41:30 2007 +0000

    Update.

 gtk-doc.make | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit b899bf33967f84d03da08a50ef81619a8bcff983
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Jun 9 07:29:13 2007 +0000

    preludedb-admin manpage, by Pierre Chifflier <chifflier@inl.fr> (fix #230).

 configure.in                    |  1 +
 docs/Makefile.am                |  2 +-
 docs/manpages/preludedb-admin.1 | 93 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 95 insertions(+), 1 deletion(-)

commit 85824ce61165b4452f0a05fd84991a1740f20cb7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Jun 9 07:28:59 2007 +0000

    Whitespace police.

 src/include/preludedb.h |  32 ++---
 src/preludedb.c         | 332 ++++++++++++++++++++++++------------------------
 2 files changed, 182 insertions(+), 182 deletions(-)

commit fc001483e8dbcc852b28823486fd3ebba77b9557
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 7 09:19:06 2007 +0000

    Fix sqlite-update-14-5.sql, thanks to Pierre Chifflier <chifflier@inl.fr>.

 plugins/format/classic/sqlite-update-14-5.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 25bfcb95c932628620a84231ee0040a1c92f14ed
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jun 6 12:48:29 2007 +0000

    Speedup / simplify PostgreSQL update, although this require newer PgSQL version.

 plugins/format/classic/pgsql-update-14-6.sql | 28 +++++-----------------------
 1 file changed, 5 insertions(+), 23 deletions(-)

commit ed003665ff18555160aa94913688e5509e48a948
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 5 11:30:32 2007 +0000

    Fix multiple preludedb-admin issues
    
    All command now take a type argument (value should be alert or heartbeat),
    This is done to have a coherent implementation of the --offset and --count options.
    
    Fix --offset with the load command.
    
    Whitespace police.

 preludedb-admin.c | 509 ++++++++++++++++++++++++++----------------------------
 1 file changed, 244 insertions(+), 265 deletions(-)

commit d743859eea4ecc13e9df5e013903ca584907fa0a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 5 08:08:50 2007 +0000

    Revert to schema version 14.6, which is not yet released (we
    previously bumped to 14.7 - that was not needed).

 plugins/format/classic/classic.c             |  2 +-
 plugins/format/classic/mysql.sql             |  2 +-
 plugins/format/classic/pgsql-update-14-6.sql | 35 ++++++++++++++++++++++++++
 plugins/format/classic/pgsql-update-14-7.sql | 37 ----------------------------
 plugins/format/classic/pgsql.sql             |  2 +-
 5 files changed, 38 insertions(+), 40 deletions(-)

commit 319218d78ceef35bc1216b2c31850c752c14e977
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat May 26 06:28:43 2007 +0000

    Patch by Pierre Chifflier <chifflier@inl.fr>, fixing
    type conversions preventing PostgreSQL to use indexes (fix #225).
    
    Additionally, update schema version number to 14.7.

 plugins/format/classic/classic.c             |  2 +-
 plugins/format/classic/mysql.sql             |  2 +-
 plugins/format/classic/mysql2pgsql.sh        |  2 +-
 plugins/format/classic/pgsql-update-14-7.sql | 37 +++++++++++++++
 plugins/format/classic/pgsql.sql             | 70 ++++++++++++++--------------
 5 files changed, 75 insertions(+), 38 deletions(-)

commit bec7116b56f776fde6e391e8cfba8f8f481a0c68
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 22 08:49:35 2007 +0000

    Fix compilation on system without ENOTSUP (fix #227):
    Include modified patch from Alexandre Anriot <aanriot@atlantilde.com>.

 src/preludedb-plugin-sql.c | 5 +++++
 1 file changed, 5 insertions(+)

commit 2448e136849fb5f6f8c595a9fa5e865d16cf6d8b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 22 08:49:32 2007 +0000

    More warnings.

 configure.in | 2 ++
 1 file changed, 2 insertions(+)

commit e9e8ff515ea1ecbf7c3cea755f3176db11ebae81
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 22 08:49:27 2007 +0000

    Slight optimisation: cache path count.

 src/preludedb-path-selection.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

commit ac660eef3e3210b16f3c6d8307606483ff2ca67a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 2 12:55:55 2007 +0000

    Fix column name.

 plugins/format/classic/pgsql-update-14-6.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 58e2045b5acc6c46fcabe635573d86f33ffb587a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 2 12:37:06 2007 +0000

    Track change in pgsql/sqlite.

 plugins/format/classic/pgsql.sql  | 522 ++++++++++++++++++++++++++++++++++++++
 plugins/format/classic/sqlite.sql | 485 +++++++++++++++++++++++++++++++++++
 2 files changed, 1007 insertions(+)

commit 4792353ab6bf8d1c7363bfab15d60537c99ea620
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 2 12:36:59 2007 +0000

    Bump schema version. Source and Target now use a 16 bits index (required for CorrelationAlert with large number of source/target). Correlation alert now use a 32 bits index (required to link large number of Alert together).

 plugins/format/classic/Makefile.am           |  5 +++-
 plugins/format/classic/classic.c             |  2 +-
 plugins/format/classic/mysql-update-14-6.sql | 29 +++++++++++++++++-
 plugins/format/classic/mysql.sql             | 44 ++++++++++++++--------------
 plugins/format/classic/pgsql-update-14-6.sql | 25 ++++++++++++++++
 5 files changed, 80 insertions(+), 25 deletions(-)

commit 236f78baa6c025df292fa1c4a03364da6c3d8369
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 2 12:36:52 2007 +0000

    Fix some convertion.

 plugins/format/classic/mysql-update-14-6.sql  | 2 ++
 plugins/format/classic/mysql2pgsql.sh         | 6 +++---
 plugins/format/classic/pgsql-update-14-6.sql  | 9 +++++++++
 plugins/format/classic/sqlite-update-14-6.sql | 1 +
 4 files changed, 15 insertions(+), 3 deletions(-)

commit 974734120dc70c7133ee23681a5b75eb079446fc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Apr 14 10:42:35 2007 +0000

    Module path migration: move /trunk/libpreludedb /libpreludedb/trunk

commit 9c3a46a4f8c46de0756530a2254070ee47bec47e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 17 15:19:38 2007 +0000

    Update NEWS, doc. Bump version number.

 NEWS                           | 25 ++++++++++++++++++++++++-
 configure.in                   |  4 ++--
 docs/api/libpreludedb-decl.txt |  4 ++--
 3 files changed, 28 insertions(+), 5 deletions(-)

commit eeba8ab0f098497f1c0e197d67f2cf7590588daf
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 17 12:11:46 2007 +0000

    Update GnuLib code.

 libmissing/Makefile.am       |  79 ++++++-
 libmissing/dummy.c           |  16 +-
 libmissing/m4/gnulib-comp.m4 |  15 +-
 libmissing/m4/minmax.m4      |  41 ----
 libmissing/m4/snprintf.m4    |  24 +-
 libmissing/m4/stdio_h.m4     |  43 ++++
 libmissing/m4/string_h.m4    |  46 ++--
 libmissing/m4/time_h.m4      |  76 +++++++
 libmissing/m4/time_r.m4      |  10 +-
 libmissing/m4/vasnprintf.m4  |  31 ++-
 libmissing/m4/vsnprintf.m4   |  24 +-
 libmissing/minmax.h          |  60 -----
 libmissing/snprintf.c        |   7 +-
 libmissing/stdio_.h          | 192 ++++++++++++++++
 libmissing/string_.h         | 183 +++++++++++-----
 libmissing/time_.h           | 107 +++++++++
 libmissing/time_r.c          |   4 +-
 libmissing/time_r.h          |  52 -----
 libmissing/vasnprintf.c      | 512 ++++++++++++++++++++++++++++++++++++++++++-
 libmissing/vasnprintf.h      |  10 +-
 libmissing/vsnprintf.c       |   7 +-
 libmissing/vsnprintf.h       |  31 ---
 src/include/libmissing.h     |   5 +-
 23 files changed, 1263 insertions(+), 312 deletions(-)

commit e32aa1966c56621a5f7e41e621200fa03efc546b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 17 10:33:39 2007 +0000

    Patch from Rob Holand <rob@inversepath.com>: The \? and + syntax for sed is not supported using "basic regular expressions" on at least Darwin and
    DragonFly BSD (I didn't test other OS). You can use the \{0,1\} and \{1,\} syntax to achieve the desired result.

 plugins/format/classic/mysql2pgsql.sh  | 6 +++---
 plugins/format/classic/mysql2sqlite.sh | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

commit 233cafa668d343dd32259176b5dda174b0710884
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 17 09:43:43 2007 +0000

    Fix a field shift bug that happened after trying to retrieve an empty time field.

 plugins/format/classic/classic.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

commit e5a5f68f5536a6cd908a12f218e972eab215d019
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 18:06:58 2007 +0000

    Handle case-insensitive regex using lower().

 plugins/sql/sqlite3/sqlite3.c | 3 +++
 1 file changed, 3 insertions(+)

commit 86baa2c01b3a5d5950072f1ed41a02d4bdcfa1b5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 16:53:40 2007 +0000

    Function declaration fix.

 src/include/preludedb-path-selection.h | 2 +-
 src/preludedb-path-selection.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 692b7c3f48d0c259362b1d676dc667518c7598cd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 16:46:23 2007 +0000

    Check format string if the compiler support it.

 src/include/preludedb-sql.h | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

commit b9eb4f22eb3d335cee5c0b40c251024339c9914a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 16:45:21 2007 +0000

    When a given SQL function is not implemented by the driver, return an error with the missing function.

 src/preludedb-plugin-sql.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

commit 16f070a0d73aca17908a6cedb223e8aa9065694b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 16:44:00 2007 +0000

    Doc update.

 src/preludedb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 587487f8c06ff2c1b2ccfdf3c873e73b1fa51332
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 16:43:29 2007 +0000

    Make preludedb_sql_query() return the number of rows instead of 1. Ability to build LIKE value from AdditionalData.

 src/preludedb-sql.c | 41 ++++++++++++++++++++++++++++++-----------
 1 file changed, 30 insertions(+), 11 deletions(-)

commit 5ed6913e069157161ec0c47ceb34b6728d25fe81
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 15:56:18 2007 +0000

    Implement loading of multiple file. Improved error/information reporting.

 preludedb-admin.c | 117 +++++++++++++++++++++++++++++-------------------------
 1 file changed, 63 insertions(+), 54 deletions(-)

commit 9884dc61ed4f2c7c09b67b4967b20decf28bc8a0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 14:47:14 2007 +0000

    Implement Python only preludedb_get_values2, preludedb_get_heartbeat_idents2, preludedb_get_alert_idents2. Return rows and number of rows in a tupple.

 bindings/libpreludedb_python.i | 102 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 102 insertions(+)

commit 628ee985fbe60fd65ccb2ace5ffb230a17dfdc23
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 11:08:30 2007 +0000

    Fix insertion issue for ProcessArg and File Linkage.

 plugins/format/classic/classic-insert.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 94f707c8d9d3f001470ff4e2b7b9d584d655ffe2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 6 21:09:53 2007 +0000

    Fix error handling.

 plugins/format/classic/classic-get.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

commit 39de088c79b43d615b28fbc84968ef6f2a13574a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 19 10:27:33 2007 +0000

    Make sure we have an exception to process. This fix a crash with Python bindings upon signal reception. Fix #200.

 bindings/libpreludedb_python.i | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 75c1e95ff7cabb3cb3a69d1f73065ac247317465
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 7 16:05:04 2007 +0000

    Update NEWS. Bump version number.

 NEWS         | 7 +++++++
 configure.in | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

commit 3e052759eaf9d58aa89ab823d78f04792930ad73
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 7 14:29:00 2007 +0000

    Update GnuLib code.

 libmissing/Makefile.am           |  64 +++++-
 libmissing/m4/absolute-header.m4 |  44 ++++
 libmissing/m4/gnulib-common.m4   |  22 ++
 libmissing/m4/gnulib-comp.m4     |  38 +---
 libmissing/m4/strdup.m4          |  11 +-
 libmissing/m4/string_h.m4        |  80 +++++++
 libmissing/m4/strndup.m4         |   9 +-
 libmissing/m4/strnlen.m4         |  14 +-
 libmissing/m4/wint_t.m4          |  14 +-
 libmissing/printf-args.c         |  12 +-
 libmissing/printf-args.h         |  26 +--
 libmissing/printf-parse.c        |  20 +-
 libmissing/strdup.c              |   8 +-
 libmissing/strdup.h              |  39 ----
 libmissing/string_.h             | 467 +++++++++++++++++++++++++++++++++++++++
 libmissing/strndup.c             |   8 +-
 libmissing/strndup.h             |  32 ---
 libmissing/strnlen.c             |   4 +-
 libmissing/strnlen.h             |  32 ---
 libmissing/vasnprintf.c          |  36 +--
 src/include/libmissing.h         |   3 +-
 21 files changed, 775 insertions(+), 208 deletions(-)

commit f9979f90421296d3de515cc53fab5f81171c9ae4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 7 14:28:33 2007 +0000

    Correct libmissing inclusion path.

 plugins/format/classic/Makefile.am | 2 +-
 plugins/sql/mysql/Makefile.am      | 4 ++--
 plugins/sql/pgsql/Makefile.am      | 2 +-
 plugins/sql/sqlite3/Makefile.am    | 2 +-
 src/Makefile.am                    | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

commit 27140a6978a450a47ed08417b312e9fc0207d95a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 7 14:12:13 2007 +0000

    Fix copy / move operation.

 preludedb-admin.c | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

commit 1fb11c35ae460d91178163133d70b74bb75c4382
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 7 14:07:55 2007 +0000

    Fix possible NULL free().

 plugins/sql/sqlite3/sqlite3.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 24db0addb87a48c214d74d03ebbc3ca837ad9e6e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 8 13:34:28 2007 +0000

    Version bump.

 NEWS         | 7 ++++++-
 configure.in | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)

commit beb163f8a1c816f7ac865999bc9f11bc99c1d9f7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 8 13:23:53 2007 +0000

    Fix make installation error when Perl bindings are disabled.

 bindings/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4273738e9ec2999ec003a07b2952b5dcc815d8d8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 5 17:20:54 2007 +0000

    Forgot to update NEWS.

 NEWS | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit 3dd55f6b5dc11f6742b3b0b851e2021d43d2d531
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 5 17:17:17 2007 +0000

    Update NEWS, documentation, Gnulib code. Bump version number.

 configure.in                  |  4 ++--
 libmissing/Makefile.am        |  2 +-
 libmissing/m4/gnulib-cache.m4 |  2 +-
 libmissing/m4/gnulib-comp.m4  | 28 +++++++++++++++++++++++++++-
 4 files changed, 31 insertions(+), 5 deletions(-)

commit fb67aaece41e17d4c89bbba6833f5ccc5de4a814
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 5 17:13:28 2007 +0000

    Fix make -j compilation. New configure --with-perl-installdirs flags: might be used to override default site perl installation.

 bindings/Makefile.am | 34 +++++++++++++++-------------------
 configure.in         | 14 ++++++++++++++
 2 files changed, 29 insertions(+), 19 deletions(-)

commit d1ba937f985dc5d3fb83215bb50173ae7e0a6ecc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 4 21:46:18 2007 +0000

    Small definition fix.

 plugins/sql/mysql/mysql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 148e166757b9a940a49c7ad95cfec7d55600391f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 30 14:57:31 2006 +0000

    Ignore inline keyword to prevent error with old SWIG version. Prevent preludedb_error_t redefinition error.

 bindings/libpreludedb.i                |  3 +++
 docs/api/libpreludedb-decl.txt         | 10 +---------
 docs/api/libpreludedb-sections.txt     |  1 -
 docs/api/tmpl/libpreludedb-unused.sgml |  9 +++++++++
 docs/api/tmpl/preludedb-sql.sgml       |  9 ---------
 5 files changed, 13 insertions(+), 19 deletions(-)

commit 8af470fac935adb497737f19b4b2761790b6c6da
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 29 12:51:17 2006 +0000

    Ooops.

 src/preludedb-sql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit d9dacbd965b7de5ff8ccddd1fc3890115918144b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 29 12:46:24 2006 +0000

    Make preludedb_sql_status_t a private bitfield, so that we can store multiple state.
    x

 src/include/preludedb-sql.h |  8 +----
 src/preludedb-sql.c         | 73 ++++++++++++++++++++++++---------------------
 2 files changed, 40 insertions(+), 41 deletions(-)

commit 7e21c2819b1f6acd6c01cd7d9d191f0e0d385d93
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 29 12:43:59 2006 +0000

    Generate bindings for the error handling API.

 bindings/libpreludedb.i | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

commit 18067e6413e7a22732f5fefec5d7cd402bce4cad
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 27 12:44:15 2006 +0000

    Don't duplicate call to update_sql_from_errno() and assert_connected, for function which call preludedb_sql_query() and preludedb_sql_escape().

 src/preludedb-sql.c | 32 +++++++-------------------------
 1 file changed, 7 insertions(+), 25 deletions(-)

commit de8f023ea8897cb8630d7e0fe329ac36ea6aaa23
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Dec 26 14:29:12 2006 +0000

    Fix possible memory leak on query error with transaction enabled. In case ROLLBACK fail, provide the original error as well as the ROLLBACK error.

 src/preludedb-sql.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

commit de9b8d30a4f31d787dea92735ff748e190ed8f8c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Dec 21 09:06:38 2006 +0000

    Small Perl/Python detection improvement. Fix #182.

 configure.in | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

commit 1b51637e71ba5df2856b1ed30b61746b00e54daa
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 20 20:33:59 2006 +0000

    Update GnuLib code, NEWS, documentation. Version bump.

 NEWS                           | 13 +++++++++++++
 configure.in                   |  4 ++--
 docs/api/libpreludedb-decl.txt |  2 +-
 libmissing/strdup.h            | 12 +++++++++++-
 4 files changed, 27 insertions(+), 4 deletions(-)

commit b290f98e0c647b9fe122102bb35610805e986b2e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 20 17:50:06 2006 +0000

    Enable -no-cpp-precomp on Dawin. Add a few check.

 configure.in | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

commit b2f3d48b5264f09522b0bef3b08f58abf56beed3
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 20 17:49:19 2006 +0000

    Remove deprecated, unportable inttypes.h inclusion. Fixe time.h inclusion.

 plugins/format/classic/classic-delete.c |  2 --
 plugins/format/classic/classic-get.c    |  1 -
 plugins/format/classic/classic-insert.c |  1 -
 plugins/format/classic/classic.c        |  1 -
 plugins/sql/mysql/mysql.c               |  2 --
 plugins/sql/pgsql/pgsql.c               |  2 --
 plugins/sql/sqlite3/sqlite3.c           |  1 -
 src/preludedb-sql.c                     | 14 +++++++++++---
 src/preludedb.c                         |  1 -
 9 files changed, 11 insertions(+), 14 deletions(-)

commit f1c0cdab056419c81caaafeacc7e462171daa807
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 17 10:08:23 2006 +0000

    Missing regexp include (no longer included from libmissing).

 plugins/sql/sqlite3/sqlite3.c | 1 +
 1 file changed, 1 insertion(+)

commit 3209101d8ba4210de0ffee8951ee4d6f4b24928e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 17 10:05:42 2006 +0000

    Update.

 src/include/libmissing.h | 17 -----------------
 1 file changed, 17 deletions(-)

commit 350d4d472fa855efd29402990f2c86f53ddd5c3f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 17 09:57:09 2006 +0000

    Update GnuLib code, remove un-needed dependencies.

 libmissing/Makefile.am           |  164 +-
 libmissing/alloca.c              |  489 -----
 libmissing/dummy.c               |   30 +
 libmissing/gettext.h             |  242 ---
 libmissing/m4/absolute-header.m4 |   44 -
 libmissing/m4/alloca.m4          |   28 +-
 libmissing/m4/codeset.m4         |   21 -
 libmissing/m4/eoverflow.m4       |   12 +-
 libmissing/m4/extensions.m4      |   64 +-
 libmissing/m4/gnulib-cache.m4    |    4 +-
 libmissing/m4/gnulib-comp.m4     |   87 +-
 libmissing/m4/longlong.m4        |   32 +-
 libmissing/m4/mbchar.m4          |   23 -
 libmissing/m4/mbiter.m4          |   17 -
 libmissing/m4/mbrtowc.m4         |   31 -
 libmissing/m4/memchr.m4          |   18 -
 libmissing/m4/regex.m4           |  199 --
 libmissing/m4/signed.m4          |   18 -
 libmissing/m4/size_max.m4        |   76 +-
 libmissing/m4/ssize_t.m4         |   21 -
 libmissing/m4/stdbool.m4         |  115 -
 libmissing/m4/stdint.m4          |  361 ----
 libmissing/m4/strcase.m4         |   39 -
 libmissing/m4/vasnprintf.m4      |   11 +-
 libmissing/m4/wcwidth.m4         |   30 -
 libmissing/malloc.c              |   35 -
 libmissing/mbchar.c              |   36 -
 libmissing/mbchar.h              |  478 -----
 libmissing/mbuiter.h             |  203 --
 libmissing/memchr.c              |  201 --
 libmissing/printf-args.c         |    4 +-
 libmissing/printf-args.h         |   10 +-
 libmissing/printf-parse.c        |   25 +-
 libmissing/regcomp.c             | 3858 ---------------------------------
 libmissing/regex.c               |   71 -
 libmissing/regex.h               |  668 ------
 libmissing/regex_internal.c      | 1742 ---------------
 libmissing/regex_internal.h      |  865 --------
 libmissing/regexec.c             | 4398 --------------------------------------
 libmissing/stdbool_.h            |  115 -
 libmissing/stdint_.h             |  456 ----
 libmissing/strcase.h             |   48 -
 libmissing/strcasecmp.c          |  103 -
 libmissing/strdup.c              |    4 +-
 libmissing/strncasecmp.c         |   63 -
 libmissing/strnlen1.c            |   36 -
 libmissing/strnlen1.h            |   40 -
 libmissing/vasnprintf.c          |   12 +-
 libmissing/wcwidth.h             |   77 -
 49 files changed, 296 insertions(+), 15428 deletions(-)

commit b39e98fab3d6cffdf4fa394c555515fa45518141
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 17 08:25:59 2006 +0000

    Map ssize_t to avoid a memory leak when calling preludedb_delete_alert|heartbeat_from_list().

 bindings/libpreludedb_python.i | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit 3f8160f25830ffb898a8b05a67540d7e2453ff11
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Nov 13 17:18:38 2006 +0000

    Print the filename... Not the file descriptor.

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 339f49816abc4f2f1a5c11b87d86c5c0f86573ac
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Oct 27 16:30:55 2006 +0000

    Apply modified patch from Alexandre Anriot <aanriot@atlantilde.com>: avoid using GNU sed extension.

 plugins/format/classic/mysql2sqlite.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4663eed4708290fc68f9233efd750ab60148571a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Oct 6 13:56:03 2006 +0000

    Update NEWS, documentation. Version bump.

 NEWS                                       |  9 ++++
 configure.in                               |  4 +-
 docs/api/libpreludedb-decl.txt             |  6 +--
 docs/api/libpreludedb-sections.txt         | 12 +++++
 docs/api/tmpl/preludedb-plugin-format.sgml | 78 ++++++++++++++++++++++++++++++
 docs/api/tmpl/preludedb.sgml               | 42 ++++++++++++++++
 6 files changed, 146 insertions(+), 5 deletions(-)

commit 6efd5200706e5448c32ae3c3217ee4fa3593d9c5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 5 15:41:42 2006 +0000

    Fix parameter name.

 src/include/preludedb.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 71d0d2ebf9e37bc6b1c56c2c49bff83a5e00059e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 5 12:34:12 2006 +0000

    Update gnulib code.

 libmissing/Makefile.am           |  79 ++++++-
 libmissing/alloca.c              |   4 +-
 libmissing/asnprintf.c           |   6 +-
 libmissing/m4/absolute-header.m4 |  44 ++++
 libmissing/m4/codeset.m4         |   6 +-
 libmissing/m4/extensions.m4      |  42 ++--
 libmissing/m4/gnulib-cache.m4    |   2 +
 libmissing/m4/gnulib-comp.m4     |   6 +
 libmissing/m4/intmax_t.m4        |   6 +-
 libmissing/m4/inttypes_h.m4      |   6 +-
 libmissing/m4/longlong.m4        |   6 +-
 libmissing/m4/mbchar.m4          |  13 +-
 libmissing/m4/regex.m4           |  38 +++-
 libmissing/m4/restrict.m4        |  38 ----
 libmissing/m4/signed.m4          |   7 +-
 libmissing/m4/stdint.m4          | 361 +++++++++++++++++++++++++++++++
 libmissing/m4/stdint_h.m4        |   6 +-
 libmissing/m4/strdup.m4          |   6 +-
 libmissing/m4/strndup.m4         |   9 +-
 libmissing/m4/strnlen.m4         |   6 +-
 libmissing/m4/time_r.m4          |   4 +-
 libmissing/malloc.c              |   7 +-
 libmissing/mbchar.c              |   6 +-
 libmissing/mbchar.h              |   5 +-
 libmissing/memchr.c              |   4 +-
 libmissing/printf-args.c         |   4 +-
 libmissing/printf-parse.c        |   6 +-
 libmissing/regex.c               |   4 +-
 libmissing/regex_internal.c      | 121 ++++++++---
 libmissing/regex_internal.h      |   4 +-
 libmissing/snprintf.c            |  14 +-
 libmissing/stdint_.h             | 456 +++++++++++++++++++++++++++++++++++++++
 libmissing/strcasecmp.c          |   6 +-
 libmissing/strdup.c              |   9 +-
 libmissing/strncasecmp.c         |   6 +-
 libmissing/strndup.c             |  43 +---
 libmissing/strndup.h             |  20 +-
 libmissing/strnlen.c             |   4 +-
 libmissing/strnlen1.c            |  23 +-
 libmissing/strnlen1.h            |  17 +-
 libmissing/time_r.c              |   4 +-
 libmissing/vasnprintf.c          |  26 +--
 libmissing/vsnprintf.c           |  35 ++-
 src/include/libmissing.h         |  21 +-
 44 files changed, 1241 insertions(+), 299 deletions(-)

commit 89d3a6ab6ee431d2cd53e7c2474cf5963d574b4d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 12 10:27:23 2006 +0000

 plugins/format/classic/pgsql-update-14-5.sql | 2 --
 1 file changed, 2 deletions(-)

commit 29a07e230a454ac16e90867469bb6f9f8cb4f2b7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 11 15:08:33 2006 +0000

    Only export symbol starting with preludedb_

 src/Makefile.am | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 79a89b8be6c765c9ba88287f0594073db2df22ef
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 11 15:07:36 2006 +0000

    Verbose error reporting in case of libpreludedb initialization failure.

 preludedb-admin.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit c0d95b6fb1c51119c5b8bf1ca6894a5b0261b588
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 16:05:22 2006 +0000

    Warning fix.

 preludedb-admin.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit feb50aa0944c9ab52e5f1cd2b245cdead250c97c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 15:16:10 2006 +0000

    Update documentation, GnuLib code, NEWS. Bump version number.

 NEWS                                       |  14 +++
 configure.in                               |  10 +-
 docs/api/libpreludedb-decl.txt             |  68 +++++++++++-
 docs/api/tmpl/preludedb-plugin-format.sgml |   4 +
 gtk-doc.make                               |  12 ++-
 libmissing/Makefile.am                     |   7 +-
 libmissing/gettext.h                       | 166 ++++++++++++++++++++++++++++-
 libmissing/m4/gnulib-cache.m4              |   3 +-
 libmissing/m4/gnulib-comp.m4               |   4 +-
 libmissing/m4/mbchar.m4                    |   6 +-
 libmissing/m4/onceonly_2_57.m4             |  12 +--
 libmissing/m4/regex.m4                     |   9 +-
 libmissing/m4/strndup.m4                   |  14 +--
 libmissing/m4/time_r.m4                    |   2 +-
 libmissing/m4/wcwidth.m4                   |  12 ++-
 libmissing/mbchar.h                        | 121 +++++++++++++++++++++
 libmissing/printf-args.c                   |  10 +-
 libmissing/regex.h                         |  11 +-
 libmissing/regex_internal.c                |  26 +++--
 libmissing/regex_internal.h                |   5 +-
 libmissing/snprintf.c                      |  32 ++++--
 libmissing/wcwidth.h                       |   9 +-
 22 files changed, 486 insertions(+), 71 deletions(-)

commit a171c4d9fbb0f62808319e64f8094b5dd5b45243
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 14:55:49 2006 +0000

    Datatype fixes. Error handling fixes.

 preludedb-admin.c | 46 ++++++++++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 20 deletions(-)

commit 704a00a5cdbe18735a7c77806711d4e25e43afb8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 14:55:09 2006 +0000

    Handle empty result idents case.

 plugins/format/classic/classic-delete.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit 1637c78988faef5c486a03f4a9b3b1052b5da4b0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 14:54:34 2006 +0000

    Return 0 if preludedb_delete_alert|heartbeat_from_list() size argument is 0.

 src/preludedb.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit 0e03e8b48a7921cc24ca7e23d471beb0f11bb4ac
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 14:31:53 2006 +0000

    Build compatibility fix for SWIG > 1.3.27.

 bindings/libpreludedb_python.i | 3 +++
 1 file changed, 3 insertions(+)

commit 2c32643ae1655f588e597971c00cd21b339ce86a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 13:22:27 2006 +0000

    Improved statistic handling. Use preludedb_alert|heartbeat_delete_from_list() to benefit
    from list deletion performance improvement.

 preludedb-admin.c | 378 +++++++++++++++++++++++++++---------------------------
 1 file changed, 192 insertions(+), 186 deletions(-)

commit 1e55c0435e46234d912a53c37beb5c4d912d45a0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 13:20:20 2006 +0000

    Delete from list function return ssize_t

 src/include/preludedb.h | 8 ++++----
 src/preludedb.c         | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

commit fc28ff6d3f8ba6b558f792167a6484f7818c6435
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 10:11:45 2006 +0000

    Code documentation fixes: alert->heartbeat.

 src/preludedb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit ec82223508786cfa1b9d8a218d4619eae906d73b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 09:48:56 2006 +0000

    Implement an idea from Lex van Roon <r3boot@r3blog.nl.eu.org> to make it possible
    to delete a list of ident in a given table, rather than iterating ident and droping
    one ident per table at a time.
    
    This introduce 4 new API function:
    - preludedb_delete_alert_from_list() / preludedb_delete_heartbeat_from_list()
    - preludedb_delete_alert_from_result_idents() / preludedb_delete_heartbeat_from_result_idents()
    
    Implement workaround to revert to the old implementation in case the format plugin in use does
    not export the necessary function. Using these function to delete list of alert/heartbeat increase
    delete time by about 3000%.
    
    These functions still need to be hooked in preludedb-admin and prewikka so that the user might
    see the deletion performance improvement.

 bindings/libpreludedb_python.i                  |  21 ++
 plugins/format/classic/classic-delete.c         | 273 +++++++++++++++++++-----
 plugins/format/classic/classic.c                |   9 +-
 plugins/format/classic/include/classic-delete.h |   8 +
 src/include/preludedb-plugin-format-prv.h       |   4 +
 src/include/preludedb-plugin-format.h           |  32 ++-
 src/include/preludedb.h                         |   9 +
 src/preludedb-plugin-format.c                   | 114 ++++++++++
 src/preludedb.c                                 |  65 +++++-
 9 files changed, 478 insertions(+), 57 deletions(-)

commit 1865f49bd1f3dd0564cbca7e4e62eaf38638a332
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 06:25:44 2006 +0000

    Fix --with-(perl|python|swig) detection path ordering

 configure.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 1ee9323a571479d32209d2aa551481475dd26a75
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 06:18:49 2006 +0000

    Coding style fixes.

 src/preludedb-sql-settings.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit 635a916af7e722efdd2a6c8207eeac47bcc6a0be
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 06:14:35 2006 +0000

    Coding styles fixes. Error reporting fixes.

 src/preludedb-sql.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit f88a762b86f8f461d4501bcb9ba3cbe710166a88
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 06:09:13 2006 +0000

    Slight optimisations. Improved error reporting. Coding style fixes.

 src/preludedb-path-selection.c | 86 +++++++++++++++++++-----------------------
 1 file changed, 38 insertions(+), 48 deletions(-)

commit 3eb7976847fcfb6b6c75db739e5b11a50527970a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 05:54:49 2006 +0000

    Verbose error reporting on logfile open problem

 src/preludedb-sql.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 3b8a6cd2036807f7c66587567bfd8485a7cd2e8e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 05:53:43 2006 +0000

    Fix warnings.

 plugins/format/classic/classic-insert.c | 3 ++-
 plugins/sql/sqlite3/sqlite3.c           | 4 ++--
 src/preludedb-plugin-sql.c              | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

commit 55688ef553351d9e209cf5f27d8cb35900dd262f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jul 27 10:28:40 2006 +0000

    Since we don't generate binding for prelude-inttypes, bind prelude_bool_t manually.

 bindings/libpreludedb.i | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit 34a48ccec0934be4230af7b75198ceb38d69b860
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jul 4 08:33:05 2006 +0000

    Bump version number, update NEWS/documentation.

 NEWS                           | 5 +++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

commit d81e94a5fccd3f2472edaa3dbc03987464625579
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 3 05:53:22 2006 +0000

    Update GnuLib code

 libmissing/Makefile.am       | 15 ++++++++++
 libmissing/alloca_.h         | 26 ++++++++--------
 libmissing/m4/gnulib-comp.m4 |  3 ++
 libmissing/m4/longlong.m4    | 39 ++++++++++++++++++------
 libmissing/m4/size_max.m4    | 45 ++++++++++++++--------------
 libmissing/m4/ssize_t.m4     | 21 +++++++++++++
 libmissing/m4/wcwidth.m4     | 26 ++++++++++++++++
 libmissing/mbchar.h          |  4 ++-
 libmissing/size_max.h        |  6 +++-
 libmissing/wcwidth.h         | 70 ++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 210 insertions(+), 45 deletions(-)

commit 6fd0a04f4fc4810911208f922c0a836c4f225208
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 3 05:52:22 2006 +0000

    Patch from Christian Wiese <cw@ixplanet.de>: update MySQL template schema version (fix #159)

 plugins/format/classic/mysql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a22c0d36c626c52a88f4ee9b0c9b26a70bba1324
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 6 08:46:07 2006 +0000

    Update GnuLib code, documentation, NEWS. Bump version number.

 NEWS                                    |  18 +
 configure.in                            |   4 +-
 docs/api/libpreludedb-decl.txt          |   2 +-
 docs/api/tmpl/preludedb-plugin-sql.sgml |   3 -
 libmissing/Makefile.am                  |  12 +-
 libmissing/m4/extensions.m4             |   3 +
 libmissing/m4/gnulib-cache.m4           |   3 +-
 libmissing/m4/gnulib-comp.m4            |   5 +-
 libmissing/m4/longdouble.m4             |   7 +-
 libmissing/m4/regex.m4                  |   8 +-
 libmissing/m4/stdbool.m4                |   4 +-
 libmissing/m4/strndup.m4                |  36 +-
 libmissing/m4/time_r.m4                 |   3 +-
 libmissing/printf-args.c                |  21 +-
 libmissing/regcomp.c                    | 629 +++++++++++++++++-------------
 libmissing/regex.c                      |   7 +-
 libmissing/regex.h                      | 500 ++++++++++--------------
 libmissing/regex_internal.c             | 271 ++++++-------
 libmissing/regex_internal.h             | 195 ++++------
 libmissing/regexec.c                    | 669 ++++++++++++++++++--------------
 libmissing/strndup.c                    |   4 +-
 21 files changed, 1245 insertions(+), 1159 deletions(-)

commit 53af12f93200992ff3a0a32f9f3646fdc437e39c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 6 08:42:36 2006 +0000

    Fix pgsql requirement check

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e619b38a332e672c6a3a4cc2e086195752438dd2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 6 08:25:02 2006 +0000

    Update requirement, fix sqlite3/pgsql detection

 configure.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit a358cd4a30e8082e5a11074084f288c3eacfc49c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 2 08:48:56 2006 +0000

    Use --with instead of --enable for activating different component. Sanitisation work

 configure.in | 255 ++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 130 insertions(+), 125 deletions(-)

commit 475ba1397aceac1aa59b2c31f0ccf3ecf5b92d1b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 2 07:43:51 2006 +0000

    Update libprelude* m4

 m4/libprelude.m4   | 6 +++---
 m4/libpreludedb.m4 | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

commit ecdf1c27540e167cbffbfc529dbf0449deba6999
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 2 07:38:56 2006 +0000

    Add update code for constraint check.

 plugins/format/classic/pgsql-update-14-5.sql | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 99caf1902b27a8c31aaaa2e02145a0799c5000cb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 1 15:38:23 2006 +0000

    Update for 14-5

 plugins/format/classic/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 583639aab5074e217bbb6272d632392c2dc53c6a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 1 14:49:04 2006 +0000

    Some more fixes.

 plugins/format/classic/classic-insert.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit d3ea5b1fb281a6975bfd13dd6ed19f096fd72fc6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 1 14:27:04 2006 +0000

    Always use prelude_escape_binary() when we're inserting additional data. This is
    important even in case we're inserting a string, since the database field might be
    of a type that require binary kind of escaping. Fix #143.

 plugins/format/classic/classic-insert.c | 31 ++++++++++++-------------------
 1 file changed, 12 insertions(+), 19 deletions(-)

commit d80cef0ee99a2d1aa29da563fb559b27bbd45295
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 1 14:25:23 2006 +0000

    Remove deprecated code.

 plugins/sql/pgsql/pgsql.c | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

commit d84f39edfed8a945fa5ffeeeaddf93387c53e5ec
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Apr 26 09:48:30 2006 +0000

    PostgreSQL typing fix.

 plugins/format/classic/pgsql-update-14-5.sql | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

commit 43da98073db04f258b526e677aed87736b146c92
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Apr 21 09:13:59 2006 +0000

    Update for IDMEFv16 SnmpService class modification.
    Fix a bug where Service->ip_version would not be read from database.

 plugins/format/classic/classic-get.c          | 39 ++++++++++++++++++---------
 plugins/format/classic/classic-insert.c       | 22 ++++++++-------
 plugins/format/classic/classic.c              |  2 +-
 plugins/format/classic/mysql-update-14-5.sql  |  6 +++++
 plugins/format/classic/mysql.sql              |  4 ++-
 plugins/format/classic/pgsql-update-14-5.sql  |  6 +++++
 plugins/format/classic/sqlite-update-14-5.sql | 25 +++++++++++++++++
 7 files changed, 79 insertions(+), 25 deletions(-)

commit bc89d514ed8354b57a90aa4859019351df8259a4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Apr 19 12:24:13 2006 +0000

    Fix warning

 plugins/sql/pgsql/pgsql.c | 66 +++++++++++++++++++++++------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

commit 47c08769b528ed3d79e81390196b88f569eaa53c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Apr 10 12:35:12 2006 +0000

    Return meaningful error in case of parsing problem.

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f5aaef0fa5eac6a7ea338bee46c54e1e54e96b48
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Apr 10 12:33:15 2006 +0000

    Upon connection to the database, set default date style to ISO (SET DATESTYLE TO 'ISO').
    This is needed since libpreludedb assume ISO format to parse database timestamp.
    
    Not doing this resulted in error when trying to read data from postgreSQL database
    if the user used specific lc_time setting in postgresql.conf.
    
    Fix #140.

 plugins/sql/pgsql/pgsql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dd6be853e9783e65dce82f7059fd869a4539c290
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 30 09:38:51 2006 +0000

    Update documentation, Gnulib code. Bump version number.

 NEWS                           |  9 +++++++++
 configure.in                   |  4 ++--
 docs/api/libpreludedb-decl.txt |  6 +++---
 libmissing/m4/regex.m4         | 36 ++++++++++++++++++------------------
 libmissing/time_r.c            |  8 --------
 5 files changed, 32 insertions(+), 31 deletions(-)

commit 8a21a148c7c54b9df54ec228293633d50f024d06
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 30 09:01:46 2006 +0000

    Replace --disable-global-transaction with --events-per-transaction.
    Restore global transaction on insert, but add a default global limit of 1000 events
    per transaction.

 preludedb-admin.c | 83 ++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 61 insertions(+), 22 deletions(-)

commit 4f74c354962082c289b44d17e20cd199468d0c3e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 29 13:38:23 2006 +0000

    Formatting tweak.

 src/preludedb-sql.c | 1 +
 1 file changed, 1 insertion(+)

commit c32edbff2852ec900aabd375fd55cc7eef77bc8a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 29 08:47:57 2006 +0000

    Flush the log descriptor.

 src/preludedb-sql.c | 1 +
 1 file changed, 1 insertion(+)

commit 18b4ad38a33e207c5a6d42a9827bd5244a91a815
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 28 17:25:13 2006 +0000

    Disable global transaction on insertion since it might get to heavy on memory.

 preludedb-admin.c | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

commit 8504edfd73f6e0fafbf0ef595016044ccbb59b25
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 24 17:54:10 2006 +0000

    Update NEWS, bump version number.

 NEWS                               | 24 ++++++++++++++++++++++++
 configure.in                       |  8 ++++----
 docs/api/libpreludedb-decl.txt     | 21 ++++++++++++++++++---
 docs/api/libpreludedb-sections.txt |  3 +++
 docs/api/tmpl/preludedb.sgml       | 27 +++++++++++++++++++++++++++
 gtk-doc.make                       | 12 ++++++------
 6 files changed, 82 insertions(+), 13 deletions(-)

commit b75c3d76ebe7e60e66d0b1ac465ccaba507fdacd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 24 16:58:32 2006 +0000

    Dynamic PostgreSQL schema generation (this fix certain inefficient
    datatype that were used in the old version). Update schema would be hard
    to do for all postgreSQL version, thus using preludedb-admin copy for
    the update is required.

 plugins/format/classic/Makefile.am    |   8 +-
 plugins/format/classic/mysql2pgsql.sh |  22 ++
 plugins/format/classic/pgsql.sql      | 520 ----------------------------------
 3 files changed, 28 insertions(+), 522 deletions(-)

commit c72ddc000e4940cad564612a5105146f192768e2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 24 15:25:27 2006 +0000

    Fix invalid query, reported when using PostgreSQL.

 plugins/format/classic/classic-get.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit b49ee18fcf1438c5803a02706f36502af45a216e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 24 10:06:43 2006 +0000

    Use a global transaction surrounding all database operation rather than a per
    events transaction. Also add a --disable-global-transaction option to cancel
    this behavior.

 preludedb-admin.c | 43 +++++++++++++++++++++++++++++++------------
 1 file changed, 31 insertions(+), 12 deletions(-)

commit e4db32aa25f518b4fd4664cfd2754ad0ea877ddb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 23 10:20:46 2006 +0000

    Wrap insert and delete in one big transaction. Should speed up preludedb-admin operation.

 preludedb-admin.c | 63 ++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 48 insertions(+), 15 deletions(-)

commit b931ad50c920d777b3ef46e6809979422c632164
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 22 17:45:00 2006 +0000

    Update GnuLib code.

 libmissing/m4/regex.m4 | 41 +++++++++--------------------------------
 libmissing/regex.h     | 14 ++++++++------
 libmissing/time_r.c    | 14 +-------------
 libmissing/time_r.h    | 21 ++++++++-------------
 4 files changed, 26 insertions(+), 64 deletions(-)

commit 069ce06e479a4ec3cdc4de3698504769232a5dad
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 22 17:42:36 2006 +0000

    Newer API permitting the caller to override default transaction handling
    (useful to speed up batch processing of events).

 src/include/preludedb.h |  10 +++++
 src/preludedb-sql.c     | 115 +++++++++++++++++++++++++++++++++++-------------
 src/preludedb.c         |  84 +++++++++++++++++++++++++++++++++++
 3 files changed, 178 insertions(+), 31 deletions(-)

commit d21288b344f0d6623cc7653c20c4a4b804049ceb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 21 16:25:24 2006 +0000

    We can't conditionally define the size of uint64_t since the typedef are directly
    handled by swig when generating the resulting source code. Thus revert to statically
    mapping int64_t to long long since it seem to work for everyone.

 bindings/libpreludedb.i | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

commit 7247b5f7d8612ed3552f641d4f13caee2da48ffd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 20 16:47:46 2006 +0000

    Wrap preludedb_check_version().

 bindings/libpreludedb.i | 2 ++
 1 file changed, 2 insertions(+)

commit 510f7e38df1d606f8fc11caf12a9fe3ccc9e93a2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 20 15:40:41 2006 +0000

    Use new IDMEF_LIST_APPEND primitive, require libprelude 0.9.6.

 configure.in                         |  2 +-
 plugins/format/classic/classic-get.c | 28 ++++++++++++++--------------
 2 files changed, 15 insertions(+), 15 deletions(-)

commit de60ad6224985eb90ac80ea2d357f5f91faba428
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 16 09:59:48 2006 +0000

    Add libprelude dependencie, since these plugin depend on libprelude symbols.

 plugins/sql/mysql/Makefile.am   | 4 ++--
 plugins/sql/pgsql/Makefile.am   | 4 ++--
 plugins/sql/sqlite3/Makefile.am | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

commit 24cb595e53c18c53eca856799a4f42827d022f8a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 8 11:54:09 2006 +0000

    Update GnuLib code, NEWS, bump version number.

 NEWS                        | 11 +++++++++++
 configure.in                |  2 +-
 libmissing/m4/extensions.m4 |  2 +-
 3 files changed, 13 insertions(+), 2 deletions(-)

commit 3cb387b0cad4f1bda174d776201c05865b9de17e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 8 11:27:45 2006 +0000

    Update base schema version number to 14.4, thanks to Sebastien Tricaud <sebastien.tricaud@wengo.fr>
    for reporting this.

 plugins/format/classic/mysql.sql | 2 +-
 plugins/format/classic/pgsql.sql | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 5928739d221383cc5276330ecef6f29ba720624e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 6 11:41:47 2006 +0000

    Prelude_AdditionalData data field is not NULL.

 plugins/format/classic/Makefile.am            |  5 ++++-
 plugins/format/classic/classic.c              |  2 +-
 plugins/format/classic/mysql-update-14-4.sql  |  2 ++
 plugins/format/classic/mysql.sql              |  3 ++-
 plugins/format/classic/pgsql-update-14-4.sql  |  2 ++
 plugins/format/classic/pgsql.sql              |  3 ++-
 plugins/format/classic/sqlite-update-14-4.sql | 20 ++++++++++++++++++++
 7 files changed, 33 insertions(+), 4 deletions(-)

commit bc53a048e9230b825c887c94e95a98cb9199c28e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 6 10:26:15 2006 +0000

    Set libprelude include path.

 bindings/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 57d9906cec1c47ba2c238f78d72be63bae8d61ba
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 6 10:25:36 2006 +0000

    Rely on prelude-inttypes.h for type mapping.

 bindings/libpreludedb.i | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

commit 06a8edb3d24d5b514907fdd5348fb12f2cde929c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 6 10:24:30 2006 +0000

    Fix query time calculation.

 src/preludedb-sql.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit 54f65e740ae01d858217b3e5732f2e76a735c8dc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 28 09:29:42 2006 +0000

    Revert [7799], replace it with a configure time check. Fix PostgreSQL compile issue (#136).

 configure.in              | 4 ++++
 plugins/sql/pgsql/pgsql.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

commit dfb18de1663f06dd54adea9da4a82be6ba95603f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 21:45:43 2006 +0000

    Bump version to 0.9.5.1, bug fix release.

 NEWS                           | 5 +++++
 configure.in                   | 4 ++--
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

commit 56e3416524faa6e83c27dbe62d9b90544cbfa3be
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 21:42:47 2006 +0000

    Correctly read database schema version.

 plugins/format/classic/classic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e24da3028439bb6b8f36f6f8912dee36395c6cb7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 18:19:34 2006 +0000

    Update NEWS, documentation, bump version number.

 NEWS                           | 14 ++++++++++++++
 configure.in                   |  4 ++--
 docs/api/libpreludedb-decl.txt |  2 +-
 3 files changed, 17 insertions(+), 3 deletions(-)

commit 3863f38b45a0758006bb9e651b2c4f3554eac0c9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 18:13:34 2006 +0000

    Use %g for double formatting.

 plugins/format/classic/classic.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 0fa9fa06e0a22e0c9d7561fcd2500ab5ecfaade5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 17:51:53 2006 +0000

    Only start incrementing count when we are at the provided offset.

 preludedb-admin.c | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

commit 4373964996f5be2cda06516590bf783a80c4afd1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 17:45:59 2006 +0000

    Remove unused typemap.

 bindings/libpreludedb_python.i | 62 ------------------------------------------
 1 file changed, 62 deletions(-)

commit a8f8bbe01ccc354e1d4adf937df3bee8a9377725
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 17:41:43 2006 +0000

    Remove unreachable code.

 plugins/format/classic/classic.c | 3 ---
 1 file changed, 3 deletions(-)

commit e0e4b166c823edc8185d138a385703d3bc3de47a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 17:35:10 2006 +0000

    Fix a possible leak. Make schema version error verbose.

 plugins/format/classic/classic.c | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

commit 16a7306520eb6539053cc0ca014fa6d1594f75e7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 19 22:27:08 2006 +0000

    Define type within libpreludedb.i to avoid duplication.

 bindings/libpreludedb.i        | 35 +++++++++++++++++++++++++++++++++++
 bindings/libpreludedb_perl.i   | 35 -----------------------------------
 bindings/libpreludedb_python.i | 35 -----------------------------------
 3 files changed, 35 insertions(+), 70 deletions(-)

commit 25ddd248f0ca912e5792700de0f014980e243132
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 19 22:16:14 2006 +0000

    Remove unused definition.

 src/preludedb-sql.c | 3 ---
 1 file changed, 3 deletions(-)

commit 18cf360223b1bc5bb7c21753c7372dcd3b856e2f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Feb 18 01:49:03 2006 +0000

    Fix important memory leak on Python preludedb_result_values_get_next().

 bindings/libpreludedb_python.i | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit b8c7eb94de74c5a1bb49a565696c0826e09188a6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 14 12:42:56 2006 +0000

    Include message count on error.

 preludedb-admin.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit ef916b944ddf48e6c072afbfe4941b3cf04ff0cf
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 14 01:28:35 2006 +0000

    Include patch from Emmanuel Saracco <esaracco@free.fr> to fix PostgreSQL
    header path.

 plugins/sql/pgsql/pgsql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9cdab2f9156faf3ec654a7e1afd5aec75579664d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 8 11:28:44 2006 +0000

    Update documentation, NEWS, bump version number

 NEWS                                    | 23 +++++++++++++++++++++++
 configure.in                            | 10 +++++-----
 docs/api/libpreludedb-decl.txt          | 22 ++++++----------------
 docs/api/libpreludedb-sections.txt      |  5 +----
 docs/api/tmpl/libpreludedb-unused.sgml  | 16 ++++++++++++++++
 docs/api/tmpl/preludedb-error.sgml      |  8 ++++----
 docs/api/tmpl/preludedb-plugin-sql.sgml | 21 ++-------------------
 7 files changed, 57 insertions(+), 48 deletions(-)

commit f7ea6529741fe9a1b67e3ce1ffb6180b33939841
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 8 11:02:57 2006 +0000

    Update GnuLib code.

 libmissing/m4/extensions.m4 | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

commit 15eb07778e861c9e1d3533af02696d905d5fee34
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 8 10:55:17 2006 +0000

    More fix for #129.

 src/preludedb-sql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3b6e9319b3c5fd406c6652a40110aecdd5a98efc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 8 10:45:28 2006 +0000

    Cleanup, fix #129.

 src/preludedb-sql.c | 44 ++++++++++++++++++++++++--------------------
 1 file changed, 24 insertions(+), 20 deletions(-)

commit 9cc58bc1651eb6dce641b9410395f0ea8c5f2210
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 15:09:21 2006 +0000

    Remove old bindings workaround used to catch preludedb error. This is un-needed
    since the latest error handling change introducing preludedb_strerror(). Error
    handling from bindings now work as expected.

 bindings/libpreludedb_perl.i   |  17 -----
 bindings/libpreludedb_python.i | 169 +----------------------------------------
 2 files changed, 2 insertions(+), 184 deletions(-)

commit c66ba825f049658addfafbb2eebce2bac584c7d8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 15:03:07 2006 +0000

    Restore preludedb_sql_plugin_get_error() for API compatibility purpose. Mark it as deprecated.

 src/include/preludedb-sql.h |  7 ++++++-
 src/preludedb-sql.c         | 19 +++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)

commit 3c4b81d6f3230f709cba80f6ace6cfcd1eb36496
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 14:56:28 2006 +0000

    Fix unused.

 preludedb-admin.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 29654feba144ca462fdd6405e81318720ff007c8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 13:51:23 2006 +0000

    Use preludedb_strerror() in place of errbuf.

 preludedb-admin.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

commit a023cb7c7d5a0fdf333acc3178dc0bda56201465
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 13:49:05 2006 +0000

    Check whether errbuf is set.

 src/preludedb.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit b6592d4524ee9520d5a3b6b0b0876f7050d931e6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 13:47:35 2006 +0000

    Rework error handling plugin API, so that it is suitable for any kind of driver,
    and provide more control over what's going on. The library API remain compatible,
    although the caller might now use preludedb_strerror() in order to get a detailed
    error instead of relying on errbuf or preludedb_get_error().

 plugins/sql/mysql/mysql.c          | 85 ++++++++++++++++++++------------------
 plugins/sql/pgsql/pgsql.c          | 61 +++++++++++++--------------
 plugins/sql/sqlite3/sqlite3.c      | 41 ++++++++----------
 src/include/preludedb-plugin-sql.h |  9 +---
 src/include/preludedb-sql.h        |  2 -
 src/preludedb-plugin-sql.c         | 21 +---------
 src/preludedb-sql.c                | 81 +++++++++++++++---------------------
 src/preludedb.c                    | 25 ++++-------
 8 files changed, 137 insertions(+), 188 deletions(-)

commit ed718d2efdb2c7c178d7a1e546d5fdb1f637bf51
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 13:40:56 2006 +0000

    Untabify.

 src/preludedb-sql.c | 642 ++++++++++++++++++++++++++--------------------------
 1 file changed, 321 insertions(+), 321 deletions(-)

commit 381d16f92f5ec262c719f87035b339fd6f3b5bba
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 02:13:31 2006 +0000

    Handle NULL logfile.

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0894c3605db721b2c99d91a420482ad8843652c1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 01:58:24 2006 +0000

    Documentation update.

 docs/api/libpreludedb-decl.txt             | 584 +++++++++++++++++------------
 docs/api/libpreludedb-sections.txt         |  54 ++-
 docs/api/tmpl/preludedb-plugin-format.sgml | 195 ++++++----
 docs/api/tmpl/preludedb-plugin-sql.sgml    | 355 ++++++++++++++----
 docs/api/tmpl/preludedb-sql-settings.sgml  |  26 ++
 docs/api/tmpl/preludedb-sql.sgml           |   1 +
 6 files changed, 819 insertions(+), 396 deletions(-)

commit eaca1c0be3da3267c40fe14792ef9180b13eb586
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 01:58:08 2006 +0000

    Implement "move" command. Make argument to --query-logging option optional:
    if no argument is provided, logging happen on stdout. "-" is also decoded as stdout.

 preludedb-admin.c | 154 ++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 114 insertions(+), 40 deletions(-)

commit ab9b4738b1323c44559f939ebfb83e133c95a9c1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 01:57:02 2006 +0000

    If argument is NULL, log to stdout.

 src/preludedb-sql.c | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

commit 3ff3b84d250731e847fee7d69e818175fb0cf511
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 6 15:54:07 2006 +0000

    Log query time.

 src/preludedb-sql.c | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

commit 117ed71fecc97e90826bcee6b86d55c2b795291e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 6 12:16:07 2006 +0000

    Dynamic plugin allocation, since plugin structure is now opaque.

 plugins/format/classic/classic-insert.c | 15 +++---
 plugins/format/classic/classic.c        | 45 +++++++++--------
 plugins/sql/mysql/mysql.c               | 51 ++++++++++---------
 plugins/sql/pgsql/pgsql.c               | 56 ++++++++++++---------
 plugins/sql/sqlite3/sqlite3.c           | 87 ++++++++++-----------------------
 5 files changed, 120 insertions(+), 134 deletions(-)

commit 84c20125fbe42c505ab93e165644f6b9e6c86ed5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 6 12:15:31 2006 +0000

    Add sqlite3 plugin to list of dlopened object (for pre-opening support).
    Make the plugins structure opaque, so that better binary compatibility is achieved.
    Add extern C declaration to all public header files.
    
    Modify preludedb_sql_time_to_timestamp() so that it take a preludedb_sql_t object as input,
    since the timestamp format depend on the implementation.
    
    Implement default fallback for escape, timestamp function.
    Verbose error reporting.

 src/Makefile.am                           |  10 +-
 src/include/Makefile.am                   |   2 +-
 src/include/preludedb-plugin-format-prv.h |  48 ++++
 src/include/preludedb-plugin-format.h     | 118 ++++-----
 src/include/preludedb-plugin-sql.h        | 187 ++++++++++-----
 src/include/preludedb-sql.h               |  12 +-
 src/preludedb-plugin-format.c             | 139 +++++++++++
 src/preludedb-plugin-sql.c                | 387 ++++++++++++++++++++++++++++++
 src/preludedb-sql.c                       | 133 ++++------
 src/preludedb.c                           |  28 ++-
 10 files changed, 849 insertions(+), 215 deletions(-)

commit 5dc29d8229387d280e7baf0eb3a7d9908bc324ec
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 5 22:15:53 2006 +0000

    Add extern C.

 src/include/preludedb-path-selection.h | 8 ++++++++
 src/include/preludedb-sql-settings.h   | 9 +++++++++
 2 files changed, 17 insertions(+)

commit b6ad85657ee9dafee9e6dae7008926037c21fceb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 5 22:15:25 2006 +0000

    Add extern C. Fix recursive header inclusion.

 src/include/preludedb-version.h.in | 8 ++++++++
 src/include/preludedb.h            | 9 ++++++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

commit a257771e6a1c57f2d382268fd5139811d4ba8a4e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 5 22:14:40 2006 +0000

    Verbose error handling.

 src/preludedb-error.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit f0f480a0fa99385501780b89fc9f49017cd7aadc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 5 22:14:16 2006 +0000

    Implement preludedb_error_verbose(). Add extern C.

 src/include/preludedb-error.h | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

commit a6bbb28be34668458a805ca7f8c85b9881083c31
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 5 22:00:36 2006 +0000

    Update gnulib code.

 libmissing/m4/stdbool.m4 | 31 +++++++++++++++++++++++++++++--
 libmissing/stdbool_.h    | 38 ++++++++++++++++++++++++++++++--------
 libmissing/strndup.c     | 23 ++++++++++++++++++-----
 libmissing/strnlen.c     | 27 ++++++---------------------
 libmissing/vasnprintf.c  | 46 ++++++++++++++++++++++++----------------------
 5 files changed, 107 insertions(+), 58 deletions(-)

commit bf73bc3e8013e9c99a54f39d79b22d0b7523b76c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Feb 2 14:19:13 2006 +0000

    Fix cast.

 plugins/format/classic/classic-get.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 2a31db4128fbf29a0e162f3216e87158eed5ed37
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Feb 2 13:46:53 2006 +0000

    Do not mangle the pos argument (resulting in it being uninitialized) for IDMEF function
    that support it. This fix a bug where retrieved object where un-ordered.

 plugins/format/classic/classic-get.c | 87 +++++++++++++++++++++++++-----------
 1 file changed, 61 insertions(+), 26 deletions(-)

commit a891a01b83f306f2f76e1c605219d5f2e8d45f06
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Feb 2 12:21:32 2006 +0000

    Enforce list ordering.

 plugins/format/classic/classic-get.c | 58 ++++++++++++++++++++++++------------
 1 file changed, 39 insertions(+), 19 deletions(-)

commit cf6bb290688a2b1687996caccc159efe4b4ac1ea
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 16 12:40:26 2006 +0000

    Version bump.

 INSTALL                        | 69 +++++++++++++++++++++++-------------------
 NEWS                           | 14 +++++++++
 configure.in                   |  6 ++--
 docs/api/libpreludedb-decl.txt | 14 +++++++++
 4 files changed, 69 insertions(+), 34 deletions(-)

commit e99708159ba4904faf77a83c2607d2cb52442173
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 16 12:30:45 2006 +0000

    Update gnulib code.

 libmissing/Makefile.am        |   53 +-
 libmissing/alloca.c           |  491 +++++
 libmissing/gettext.h          |   78 +
 libmissing/m4/codeset.m4      |   21 +
 libmissing/m4/gnulib-cache.m4 |    6 +-
 libmissing/m4/gnulib-comp.m4  |   41 +-
 libmissing/m4/mbchar.m4       |   20 +
 libmissing/m4/mbiter.m4       |   17 +
 libmissing/m4/mbrtowc.m4      |   31 +
 libmissing/m4/memchr.m4       |   18 +
 libmissing/m4/regex.m4        |  187 ++
 libmissing/m4/stdbool.m4      |   88 +
 libmissing/m4/strcase.m4      |   39 +
 libmissing/malloc.c           |   36 +
 libmissing/mbchar.c           |   38 +
 libmissing/mbchar.h           |  352 ++++
 libmissing/mbuiter.h          |  203 ++
 libmissing/memchr.c           |  201 ++
 libmissing/regcomp.c          | 3779 +++++++++++++++++++++++++++++++++++
 libmissing/regex.c            |   68 +
 libmissing/regex.h            |  769 ++++++++
 libmissing/regex_internal.c   | 1656 ++++++++++++++++
 libmissing/regex_internal.h   |  915 +++++++++
 libmissing/regexec.c          | 4333 +++++++++++++++++++++++++++++++++++++++++
 libmissing/stdbool_.h         |   93 +
 libmissing/strcase.h          |   48 +
 libmissing/strcasecmp.c       |  105 +
 libmissing/strncasecmp.c      |   65 +
 libmissing/strnlen1.c         |   39 +
 libmissing/strnlen1.h         |   41 +
 30 files changed, 13826 insertions(+), 5 deletions(-)

commit dff7456c82cf0065d2a9f0cee8040aa60c44babe
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 16 12:30:21 2006 +0000

    Remove hard <regex.h> dependencies, use libmissing provided dependencie/fallback rather.

 plugins/sql/sqlite3/sqlite3.c |  1 -
 src/include/libmissing.h      | 17 +++++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

commit d6e488071c22b86b9839a2aa4de3738a30698715
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Jan 14 09:43:29 2006 +0000

    Included modified SQLite3 patch from Rob Holland <rob@inversepath.com>,
    which implement the REGEXP operator, and SQLite3 compatible time constraint.

 plugins/sql/sqlite3/sqlite3.c | 106 ++++++++++++++++++++++++------------------
 1 file changed, 60 insertions(+), 46 deletions(-)

commit 04a3740f86eefb686ff67006f1fbf975fae16d4c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Jan 14 08:26:09 2006 +0000

    Fix sqlite3 check.

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 764992cb2224335fb0c018d5b51eae9dfe6eb006
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 12 20:22:57 2006 +0000

    Correctly use prelude_option_read() return value as the index for un-handled arguments.

 preludedb-admin.c | 66 ++++++++++++++++++++++++++++---------------------------
 1 file changed, 34 insertions(+), 32 deletions(-)

commit 9c0fbe80ec4a6a96680b47c952fdf47a1098dbfe
Author: Rob Holand <rob@inversepath.com>
Date:   Wed Jan 11 18:34:12 2006 +0000

    working extract code

 plugins/sql/sqlite3/sqlite3.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit 98e2d268e61252fd4b96a04faf0fdae51f7a690e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jan 10 08:52:48 2006 +0000

    Automatic sqlite.sql generation.

 plugins/format/classic/Makefile.am | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit 13ad7cc80094c37e49cf3e5de0dd57aa558716fb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 9 15:32:40 2006 +0000

    Fix mysql2sqlite.sh

 plugins/format/classic/mysql2sqlite.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 5d7b444f6c461af755f65e2ab775c3784fb2dfb3
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 9 15:31:00 2006 +0000

    Slight cleanup.

 plugins/sql/sqlite3/sqlite3.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

commit 5e062bad10d674f54a26477d7356d6f8560d5a1c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jan 3 23:41:19 2006 +0000

    Clearly state that linking from a GPL compatible program is okay.

 LICENSE.README | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

commit bdd541cb21f9ee81ae0ed94edfc269015175fd54
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 21 10:09:43 2005 +0000

    New experimental SQLite3 plugin, original implementation by
    Rob Holland <rob@inversepath.com>, with further work done by me.

 configure.in                           |  46 +++
 plugins/format/classic/Makefile.am     |  15 +-
 plugins/format/classic/mysql2sqlite.sh |  13 +
 plugins/sql/Makefile.am                |   2 +-
 plugins/sql/sqlite3/Makefile.am        |  11 +
 plugins/sql/sqlite3/sqlite3.c          | 620 +++++++++++++++++++++++++++++++++
 6 files changed, 704 insertions(+), 3 deletions(-)

commit 43c41a34aece249dcced79d5e588922dcd50e87a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 16 18:20:41 2005 +0000

    Use db_error() for accurate error reporting.

 preludedb-admin.c | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

commit 828e2d2725850bc3c1aa004bdd894fb33cdfa150
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 16 17:35:33 2005 +0000

    Oops

 src/preludedb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 95b5b40c44de33e26c1010f01701cd78971f7dae
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 16 17:33:06 2005 +0000

    Don't return NULL incase the buffer is too small. Truncate the error instead.

 src/preludedb.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit 7d2edf114f9e9e302f84eccab7949d885ee651d7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 16 11:17:54 2005 +0000

    Implement "file" setting, for file based database (sqlite for example).

 src/include/preludedb-sql-settings.h | 4 ++++
 src/preludedb-sql-settings.c         | 1 +
 2 files changed, 5 insertions(+)

commit 34c13d5dc4519b38208265bcc2e5e4ccb7ae51f6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 16 11:14:54 2005 +0000

    Avoid un-necessary call to strlen().

 src/preludedb-sql.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

commit b18b2296ec846d707b25582ea76476b4a5e4e1b5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 14 10:14:32 2005 +0000

    Schema sanitization and cleanup from Rob Holland <tigger@gentoo.org>.

 plugins/format/classic/mysql.sql | 123 ++++++++++++++++++++-------------------
 plugins/format/classic/pgsql.sql | 103 ++++++++++++++++----------------
 2 files changed, 113 insertions(+), 113 deletions(-)

commit d9ec22cb726b1c77c9b11f08c2b6fc9014db1f00
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Dec 12 09:28:13 2005 +0000

    Bump version number, update NEWS, documentation.

 NEWS                           | 7 +++++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

commit e18309dede223e3feb0bee5cf2f66f59b503729f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Dec 12 09:16:30 2005 +0000

    Set library soname.

 configure.in    | 9 +++++++++
 src/Makefile.am | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

commit 637e1b415276c58de3487b4e8c1f0dde56b88f4d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Dec 6 19:40:07 2005 +0000

    Fix character escape issue with multiple consecutive backslash. Keep
    a consistant state.

 src/preludedb-sql.c | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

commit 12c767d395a6687a62e19b6dd818d6b5af494a55
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Nov 28 14:23:51 2005 +0000

    Update NEWS. Bump version number.

 NEWS                           | 14 ++++++++++++++
 configure.in                   |  2 +-
 docs/api/libpreludedb-decl.txt |  2 +-
 libmissing/m4/gnulib-comp.m4   |  1 +
 4 files changed, 17 insertions(+), 2 deletions(-)

commit c00be489418d01976d390c0dce097941f1eab111
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Nov 28 14:04:21 2005 +0000

    Fix command help, and allow the save command to be used without specifying
    an output filename.

 preludedb-admin.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

commit b6ab92119acdfd9c628c40fa5dd8a94c747149ee
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Nov 27 12:59:17 2005 +0000

    For automated build.

 autogen.sh | 2 ++
 1 file changed, 2 insertions(+)

commit 10804d320f09c599789abc264e5cb4623f697128
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Nov 16 16:07:40 2005 +0000

    Fix path.

 src/include/preludedb.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit a1a212edb5314fd3471c246d104b8a1a374bf2bd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Nov 16 16:04:24 2005 +0000

    Include standard libpreludedb headers.

 src/include/preludedb.h | 6 ++++++
 1 file changed, 6 insertions(+)

commit 12f9a445edf0c7b459e6c3fbde8a97547bfdac3c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Nov 13 13:01:59 2005 +0000

    Make sure we return PRELUDEDB_ERROR_CONNECTION when the SQL query function
    return a server connection problem. So that the upper layer can trigger
    reconnection to the database.

 plugins/sql/mysql/mysql.c | 29 +++++++++++++++++++++++++++--
 plugins/sql/pgsql/pgsql.c |  4 +++-
 2 files changed, 30 insertions(+), 3 deletions(-)

commit d858d2a380f12a7a1001d5ead6afd45b6a06b756
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Nov 13 12:30:21 2005 +0000

    Untabify.

 plugins/sql/mysql/mysql.c | 312 +++++++++++++++++++++++-----------------------
 plugins/sql/pgsql/pgsql.c | 312 +++++++++++++++++++++++-----------------------
 2 files changed, 312 insertions(+), 312 deletions(-)

commit 8e7d697da718bacc1808b95987734a3b1751ff96
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Nov 3 12:37:52 2005 +0000

    Make the delete command safer to use: forbid deletion until a criteria is provided.

 preludedb-admin.c | 33 +++++++++++++++++++++------------
 1 file changed, 21 insertions(+), 12 deletions(-)

commit 1dbff223cfb5bb1cd139f5bec8ab97360f73696d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Oct 8 09:10:03 2005 +0000

    Oops

 bindings/perl/Makefile.PL.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c07424f51f7a1b47dc0044014ba1061aab3c0114
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Oct 8 09:03:20 2005 +0000

    Patch from Daniel Black <dragonheart@gentoo.org> to workaround invalid library run path added through MakeMaker? generated Makefile.

 bindings/perl/Makefile.PL.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 787bc8ae05c7d6b459b9465c739b384f4746bf26
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Oct 7 13:53:17 2005 +0000

    Patch from Daniel Black <dragonheart@gentoo.org> to fix Perl bindings Makefile
    generated with DESTDIR appended twice.

 bindings/perl/Makefile.PL.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 05e9bd0d1164582beda487b1c0f9810f2718536c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 3 09:14:47 2005 +0000

    Patch from Daniel Black <dragonheart@gentoo.org> to workaround invalid library run path added through MakeMaker generated Makefile.

 bindings/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit a6637d4b2c1267daa8d92b1cbfd56e952a51215f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 20 20:10:24 2005 +0000

    Bump to 0.9.0

 NEWS                           | 7 +++++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

commit 06cdd614be9122f9b9fedff3593002859f65180c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 19 20:38:09 2005 +0000

    Update GnuLib code.

 libmissing/m4/gnulib-cache.m4 | 3 +--
 libmissing/m4/gnulib-comp.m4  | 2 --
 libmissing/strndup.c          | 2 +-
 libmissing/strnlen.c          | 2 +-
 libmissing/time_r.c           | 2 +-
 5 files changed, 4 insertions(+), 7 deletions(-)

commit 14e7c345aab64ed8b5fb8925e678c836f21d870f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Sep 18 20:35:30 2005 +0000

    More arguments checkings.

 bindings/libpreludedb_perl.i   | 65 +++++++++++++++++++++++++++++-------------
 bindings/libpreludedb_python.i | 56 ++++++++++++++++++++++++++----------
 2 files changed, 86 insertions(+), 35 deletions(-)

commit 13f707e51359f96b9239087c6d576b57e65dcba2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 17:40:30 2005 +0000

    Version bump.

 NEWS                                   | 12 ++++++++++++
 configure.in                           |  2 +-
 docs/api/libpreludedb-decl.txt         |  7 +------
 docs/api/tmpl/libpreludedb-unused.sgml |  9 +++++++++
 docs/api/tmpl/preludedb-error.sgml     | 10 ----------
 5 files changed, 23 insertions(+), 17 deletions(-)

commit 4e59dad796190626beb80a112c701324aa4e05be
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 12:58:09 2005 +0000

    Fix warnings.

 src/preludedb-sql-settings.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 6893aacc48bace28cc884a4cb87fabe100efcace
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 12:52:32 2005 +0000

    Include config.h

 src/preludedb-error.c | 1 +
 1 file changed, 1 insertion(+)

commit 9a1cbe051ed6b632d23f81954b77b5768f08fde8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 12:52:07 2005 +0000

    Fix warning.

 src/include/preludedb-error.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dc3d11b0e45e278d7a78050afad0d8664246f23a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 12:51:35 2005 +0000

    Include libmissing.h

 plugins/format/classic/classic-delete.c     | 2 ++
 plugins/format/classic/classic-get.c        | 2 ++
 plugins/format/classic/classic-sql-join.c   | 2 ++
 plugins/format/classic/classic-sql-select.c | 2 ++
 plugins/format/classic/classic.c            | 2 ++
 5 files changed, 10 insertions(+)

commit af964c5f15a9b2154aa216f302242139cecd8a54
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 11:58:29 2005 +0000

    Compiler used to build Perl module might be different than compiler used to build libprelude.

 bindings/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a00287424a237bb0ad06f4ae1de5f6fc62ae16be
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Sep 14 15:01:46 2005 +0000

    Build fixes.

 bindings/perl/Makefile.PL.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c67165ef0ee39361e4332768d7ff070c5d06a8ce
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 12 14:41:17 2005 +0000

    Slight improvement.

 autogen.sh | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

commit fac1214828ac3821310f551f02e8cceaeb23c69c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 8 21:47:49 2005 +0000

    Trick to avoid overwritting exception on error.

 bindings/libpreludedb_python.i | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

commit 2cdc9f3972477c4fb99fc53e15f09e8cc15cd277
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Sep 7 12:52:31 2005 +0000

    Enforce --lgpl use when calling gnulib-tool.

 libmissing/Makefile.am        |  9 +++-
 libmissing/alloca_.h          |  6 +--
 libmissing/asnprintf.c        |  8 ++--
 libmissing/m4/gnulib-cache.m4 | 29 +++++++++++++
 libmissing/m4/gnulib-comp.m4  | 95 +++++++++++++++++++++++++++++++++++++++++++
 libmissing/m4/gnulib-tool.m4  | 33 +++++++++++++++
 libmissing/m4/gnulib.m4       | 54 ------------------------
 libmissing/m4/minmax.m4       | 17 ++++----
 libmissing/minmax.h           |  8 ++--
 libmissing/printf-args.c      |  8 ++--
 libmissing/printf-args.h      |  8 ++--
 libmissing/printf-parse.c     |  8 ++--
 libmissing/printf-parse.h     |  8 ++--
 libmissing/size_max.h         |  8 ++--
 libmissing/snprintf.c         |  8 ++--
 libmissing/snprintf.h         |  8 ++--
 libmissing/strdup.c           |  8 ++--
 libmissing/strdup.h           |  8 ++--
 libmissing/strndup.c          |  8 ++--
 libmissing/strndup.h          |  8 ++--
 libmissing/strnlen.c          |  8 ++--
 libmissing/strnlen.h          |  8 ++--
 libmissing/time_r.c           |  8 ++--
 libmissing/time_r.h           |  8 ++--
 libmissing/vasnprintf.c       |  8 ++--
 libmissing/vasnprintf.h       |  8 ++--
 libmissing/vsnprintf.c        |  8 ++--
 libmissing/vsnprintf.h        |  8 ++--
 libmissing/xsize.h            |  8 ++--
 src/include/libmissing.h      |  1 +
 30 files changed, 266 insertions(+), 154 deletions(-)

commit 1a5bd62d48848755548413910ba994412a0041ab
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Sep 7 12:52:03 2005 +0000

    Some reformatting.

 preludedb-admin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c06ee3f8bf664193c694cb9c91963da6592b65f6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 5 16:39:31 2005 +0000

    - Stats beautification.
    - Fix saving of alerts.
    - Fix help.

 preludedb-admin.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

commit 5db7dd0faa6965cfc5cc51f03345ec1f573f414e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 5 09:12:07 2005 +0000

    Add Copyright / License notice.

 HACKING.README | 16 ++++++++++++++++
 LICENSE.README | 19 +++++++++++++++++++
 Makefile.am    |  1 +
 3 files changed, 36 insertions(+)

commit dbd31b9d46677cb62421b83a7a8fdb9b09cb38cc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Aug 25 02:02:35 2005 +0000

    Bump version number

 NEWS                           | 7 +++++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

commit 95254184afc0f506d6609652be331c8edf3f4289
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Aug 25 01:41:49 2005 +0000

    Remove pthread dependencies.

 bindings/libpreludedb.i | 1 -
 src/preludedb-sql.c     | 1 -
 2 files changed, 2 deletions(-)

commit 6a974733dbd85d3e2ae6dfe46db5c5f75cc338df
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Aug 25 01:41:27 2005 +0000

    Update GnuLib code.

 libmissing/m4/gnulib.m4        |  3 +++
 libmissing/m4/onceonly_2_57.m4 |  4 ++--
 libmissing/m4/strndup.m4       |  6 ++----
 libmissing/m4/strnlen.m4       | 10 +++++++---
 libmissing/strndup.c           | 10 +++-------
 libmissing/strnlen.h           | 32 ++++++++++++++++++++++++++++++++
 6 files changed, 49 insertions(+), 16 deletions(-)

commit 9304f9a44a45324b14683b17c5df3ed8cfd4297c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 24 15:44:10 2005 +0000

    Make sure we link correctly the Perl bindings to libpreludedb.

 bindings/Makefile.am         | 2 +-
 bindings/perl/Makefile.PL.in | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit fd37f89a54fb7558e100b1ca5dcdf1d35b82faad
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 23:32:05 2005 +0000

    Fix broken compare.

 plugins/format/classic/classic-path-resolve.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 775015125de2b00b6c334966aa29a198dd488b0d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 17:48:22 2005 +0000

    Get rid of the gtk-doc dependencies for generating the configure script.

 gtk-doc.make | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 153 insertions(+)

commit c58998745522a9bb9aff4f2f9ad139a115e5c69f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 17:35:49 2005 +0000

    Add gtk-doc.m4, to avoid external dependencies.

 m4/gtk-doc.m4 | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

commit fae94009a914aa1c079e2e21e103eeddee0b28c3
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 11:06:17 2005 +0000

    Empty additional data are valid.

 plugins/format/classic/classic-get.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

commit 30b76c89c80fd2632d04b27755273349316d2fe5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 11:03:30 2005 +0000

    Oops, use prelude_error_get_code().

 plugins/format/classic/classic-sql-join.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4b68c13543d421d7947db0582da5805519571df9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 11:02:29 2005 +0000

    Remove deprecated.

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 790fa357fcbf33d193886c7d2a19f8e7658d7249
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Aug 20 17:56:18 2005 +0000

    Cleanup resolve_indexes() factor out some code.

 plugins/format/classic/classic-sql-join.c | 49 +++++++++++++++++--------------
 1 file changed, 27 insertions(+), 22 deletions(-)

commit ffec9fe5d9af71d3ebfa85ec5e2f1d698f8bca39
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Aug 20 17:54:16 2005 +0000

    Forgot to commit old version bump.

 NEWS         | 5 +++++
 configure.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit d4bb1a11fbb7c23ed4269e89a51a667ebba47d91
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 17 08:35:15 2005 +0000

    Explicit link from preludedb-admin to libprelude.

 Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 014cac81cb52a32538d988853281f353c418d48b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 23:26:54 2005 +0000

    Version bump.

 NEWS                                      |  22 ++++
 configure.in                              |   2 +-
 docs/api/libpreludedb-decl.txt            | 161 +++++++++++++-----------------
 docs/api/libpreludedb-sections.txt        |  25 ++---
 docs/api/tmpl/libpreludedb-unused.sgml    | 127 +++++++++++++++++++++++
 docs/api/tmpl/preludedb-plugin-sql.sgml   | 146 ++-------------------------
 docs/api/tmpl/preludedb-sql-settings.sgml |  52 ++++++++++
 docs/api/tmpl/preludedb-sql.sgml          |   9 --
 8 files changed, 289 insertions(+), 255 deletions(-)

commit 8b9c7e23d7a57e078542d65e9ae18ca505c10eef
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 23:11:54 2005 +0000

    Make sure the path have a minimum depth of 2.

 plugins/format/classic/classic-sql-join.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit e28cc881a93b4903fdf3c5fd4d4767d02ade4d24
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 16:43:28 2005 +0000

    Fix typos.

 bindings/libpreludedb_python.i | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a6dee5f52ed1ec760944143247f96436b6fad16f
Author: Rob Holand <rob@inversepath.com>
Date:   Tue Aug 16 12:48:22 2005 +0000

    Allow useful exceptions to be raised on preludedb errors

 bindings/libpreludedb_python.i | 138 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 137 insertions(+), 1 deletion(-)

commit a5a26b427d9263a027f278ea529ac667d5a0e3b1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 10:46:41 2005 +0000

    Re-establish signal handler for older *nix. Print statistics on SIGQUIT.

 preludedb-admin.c | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

commit f23678cde0ff55687a4323265503de5f14c9be14
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 09:55:04 2005 +0000

    Fix error check.

 preludedb-admin.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c9ad056d2f7dc37abdcedc7394fa1cf29f6ecf5c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 09:07:04 2005 +0000

    Fix FileAccess_Permission insertion.

 plugins/format/classic/classic-insert.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit ebe5303d738db3e14d6ad736c92315c469ae1f3f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 08:52:31 2005 +0000

    Get user_id tty when retrieving user_id.

 plugins/format/classic/classic-get.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit d3293556ee2c82af172b7e9592bb1e9e5b0b1c91
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 19:53:01 2005 +0000

    Always pre-process substr.

 src/preludedb-sql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 6238aec400f6726a72e267d5aac741437b84f6f5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 19:41:50 2005 +0000

    Always dump stats on success.

 preludedb-admin.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit e02270c89cf45362dc46cd5ac018ba4f29cdb5e1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 19:00:57 2005 +0000

    Fine grained libprelude operator now allow us to have similar behavior
    between different database implementation.
    
    MySQL: Default match become case insensitive, Implement REGEX matching.
    Implement case insensitive behavior for regexp/substr operation.
    
    PostgreSQL: Implement case insensitive behavior for the support operators,
    implement regexp() matching.
    
    Fix invalid UTC offset applied to broken down time match.

 plugins/sql/mysql/mysql.c          |  64 ++++++++++++++++------
 plugins/sql/pgsql/pgsql.c          |  69 +++++++++++++++++------
 src/include/preludedb-plugin-sql.h |   7 ++-
 src/include/preludedb-sql.h        |   2 -
 src/preludedb-sql.c                | 109 +++++++++++++++++++------------------
 5 files changed, 160 insertions(+), 91 deletions(-)

commit 0c27b1e05a8d112ac3f2376895cb7c34e7e9ec91
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 17:11:49 2005 +0000

    Improve error reporting.

 preludedb-admin.c | 69 +++++++++++++++++++++++++++++++++----------------------
 1 file changed, 42 insertions(+), 27 deletions(-)

commit 1143dee5f6cebfaa98787ee28ffca88fc50e894d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 16:24:57 2005 +0000

    Dump more statistics. Implement a print() command. Bug fixes.

 preludedb-admin.c | 272 +++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 230 insertions(+), 42 deletions(-)

commit e9b7d7fa79fec7b79199facc26f86d04bffe5372
Author: Rob Holand <rob@inversepath.com>
Date:   Mon Aug 15 13:31:00 2005 +0000

    fix include paths

 preludedb-admin.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit df985e8c71d4d31ec7ee6bc35734d327835b231d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 12:52:44 2005 +0000

    Fix include path.

 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit cd4600bff4ea0a1205a5e175da96d7004a180f77
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 12 08:36:25 2005 +0000

    Move idmef_criterion_operator_t to database operator translation to the SQL
    plugins, since these operator are not portable accross database. Implement
    the regex operator (which is different accros implementation and could not
    be done without this change).

 plugins/sql/mysql/mysql.c          | 35 ++++++++++++++-
 plugins/sql/pgsql/pgsql.c          | 32 +++++++++++++-
 src/include/preludedb-plugin-sql.h | 87 +++++++++++++++++++++++---------------
 src/include/preludedb-sql.h        |  2 +-
 src/preludedb-sql.c                | 33 +++------------
 5 files changed, 123 insertions(+), 66 deletions(-)

commit 8a71d8853e76a56e05103ed6e5d0a2fecb6e9fbe
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 10 10:37:59 2005 +0000

    Handle SIGINT and SIGTERM so that the current transaction is terminated before
    processing the signal. Print a specific message when exiting because we were interupted by a signal, and provide the necessary offset to be used to resume the transaction.
    
    Add a --offset option, to skip processing of events until the provided offset is reached. This is useful for resuming failed/interupted transaction.
    
    Implement the offset and count limit to the load operation.
    
    Fix memory leak on database copy.

 preludedb-admin.c | 132 +++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 97 insertions(+), 35 deletions(-)

commit 2904bf4e96a22e47832f1b63df7713ce1dbc2ac2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 8 21:14:22 2005 +0000

    New preludedb-admin tool. Allow save/load/delete/copy of PreludeDB database.

 Makefile.am       |   5 +-
 preludedb-admin.c | 639 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 643 insertions(+), 1 deletion(-)

commit 15031149de1e2e83474804908c92a594b425c339
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 8 21:12:47 2005 +0000

    Handle type/query logging provided from SQL settings.

 src/preludedb-sql.c | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

commit 569e3f96ddb2ed69520d9099da18098251f96e67
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 8 21:11:40 2005 +0000

    Fix broken user/pass defaulting to "prelude". This forbid the user to have, for
    example, an empty database password. Plus this is not intuitive for the user.
    
    Provide a way to set the type of database through preludedb_sql_settings_t. Ditto
    for the query logging feature.

 src/include/preludedb-sql-settings.h | 8 ++++++++
 src/preludedb-sql-settings.c         | 6 ++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

commit 236bc04a5bd3ce9027a50894586b3cd6d60b704d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 2 10:42:55 2005 +0000

    Include missing schema. Bump version number.

 NEWS                                         | 5 +++++
 configure.in                                 | 2 +-
 plugins/format/classic/Makefile.am           | 5 +++--
 plugins/format/classic/mysql-update-14-3.sql | 2 +-
 4 files changed, 10 insertions(+), 4 deletions(-)

commit 196e151f76e7e853a293f32773546b681f573fd1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 21:37:10 2005 +0000

    Update documentation, NEWS. Bump version number.

 NEWS                                        | 11 +++++++++++
 configure.in                                |  2 +-
 docs/api/libpreludedb-decl.txt              |  2 +-
 docs/api/tmpl/preludedb-error.sgml          |  3 +++
 docs/api/tmpl/preludedb-path-selection.sgml |  3 +++
 docs/api/tmpl/preludedb-plugin-format.sgml  |  3 +++
 docs/api/tmpl/preludedb-plugin-sql.sgml     |  3 +++
 docs/api/tmpl/preludedb-sql-settings.sgml   |  3 +++
 docs/api/tmpl/preludedb-sql.sgml            |  3 +++
 docs/api/tmpl/preludedb-version.sgml        |  3 +++
 docs/api/tmpl/preludedb.sgml                |  3 +++
 11 files changed, 37 insertions(+), 2 deletions(-)

commit 59aa5f7eb28bf5848ea50008a0461c9422fc183f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 16:40:31 2005 +0000

    Remode prelude-db-create reference.

 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 68cb74c9a2a0b20f94ffa3c877ec5994d69f6157
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 16:39:54 2005 +0000

    Remove obsolete prelude-db-create script.

 configure.in            |   3 -
 prelude-db-create.sh.in | 405 ------------------------------------------------
 2 files changed, 408 deletions(-)

commit 49d7a24100ed92e2b658496ff4468dcd890d38dc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 16:35:08 2005 +0000

    Update GnuLib code.

 libmissing/Makefile.am    |  5 ++---
 libmissing/m4/gnulib.m4   |  3 ++-
 libmissing/m4/size_max.m4 | 10 +++++-----
 libmissing/size_max.h     | 27 +++++++++++++++++++++++++++
 libmissing/time_r.h       | 13 ++++++++++++-
 5 files changed, 48 insertions(+), 10 deletions(-)

commit cf0c360c2d40035d50ae81973e74a15204f0faf2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 16:31:02 2005 +0000

    Rename Prelude_SNMPService to Prelude_SnmpService to avoid special case at place where
    we use this table. Fix SNMP table insertion error.
    
    Fix libpreludedb mapping for IDMEF FileAccess->permission member.
    Fix libpreludedb mapping for IDMEF WebService->arg member.
    
    Bump classic version to 14.3.
    
    
    Include MySQL and PostgreSQL schema upgrade by Sebastien Tricaud <toady@gscore.org>.

 plugins/format/classic/classic-delete.c       |  2 +-
 plugins/format/classic/classic-get.c          |  2 +-
 plugins/format/classic/classic-insert.c       |  4 ++--
 plugins/format/classic/classic-path-resolve.c | 32 ++++++++++++++++++++++++++-
 plugins/format/classic/classic.c              |  2 +-
 plugins/format/classic/mysql-update-14-3.sql  |  3 +++
 plugins/format/classic/mysql.sql              |  6 ++---
 plugins/format/classic/pgsql-update-14-3.sql  |  3 +++
 plugins/format/classic/pgsql.sql              |  6 ++---
 9 files changed, 48 insertions(+), 12 deletions(-)

commit 6d978394ab1c5d452c72971fbf7936da5238b04c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 14:50:39 2005 +0000

    Set FD_CLOEXEC on preludedb logfile.

 src/preludedb-sql.c | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

commit 928b2f652bb8b38f9a68b064e3d1fe47d0cad1a1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 22 11:18:52 2005 +0000

    Escape '%' character, since the caller is expected to use '*'.

 src/preludedb-sql.c | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

commit 746c3a59bd1d7eaa7789ee355a621bc7e0fda262
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 11 15:17:55 2005 +0000

    Forgot to check in rc8 bump.

 NEWS                           | 13 +++++++++++++
 configure.in                   |  2 +-
 docs/api/libpreludedb-decl.txt |  2 +-
 3 files changed, 15 insertions(+), 2 deletions(-)

commit 992729e9aae214984bc0b63d6fc7bb399bd5be12
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jul 7 16:05:43 2005 +0000

    Update GnuLib code. Include time_r module.

 libmissing/Makefile.am      | 10 +++++--
 libmissing/m4/extensions.m4 | 30 ++++++++++++++++++++
 libmissing/m4/gnulib.m4     |  8 ++++--
 libmissing/m4/restrict.m4   | 38 +++++++++++++++++++++++++
 libmissing/m4/time_r.m4     | 38 +++++++++++++++++++++++++
 libmissing/time_r.c         | 69 +++++++++++++++++++++++++++++++++++++++++++++
 libmissing/time_r.h         | 46 ++++++++++++++++++++++++++++++
 src/include/libmissing.h    | 28 ++++++++++++++++++
 8 files changed, 263 insertions(+), 4 deletions(-)

commit 18a5b1db737254d6fecbd45c50c46cdf951f8d4e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Jul 3 10:52:44 2005 +0000

    Workaround MakeMaker issue where generated Perl Makefile would be invalid
    when UTF-8 is enabled.

 bindings/Makefile.am | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

commit db5680d6604322165cf107cf6a8db76e70e9dbe1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 1 08:35:08 2005 +0000

    Build/Link libmissing.

 Makefile.am             | 2 +-
 configure.in            | 1 +
 src/Makefile.am         | 2 +-
 src/include/Makefile.am | 3 +--
 4 files changed, 4 insertions(+), 4 deletions(-)

commit a36ace390420e87567f4020ff71248bf2cc4c597
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 1 08:24:11 2005 +0000

    Support GnuLib for portability.

 Makefile.am                                   |   2 +-
 configure.in                                  |  20 +-
 libmissing/Makefile.am                        |  74 +++
 libmissing/alloca_.h                          |  52 ++
 libmissing/asnprintf.c                        |  37 ++
 libmissing/m4/alloca.m4                       |  42 ++
 libmissing/m4/eoverflow.m4                    |  64 ++
 libmissing/m4/gnulib.m4                       |  46 ++
 libmissing/m4/intmax_t.m4                     |  61 ++
 libmissing/m4/inttypes_h.m4                   |  26 +
 libmissing/m4/longdouble.m4                   |  28 +
 libmissing/m4/longlong.m4                     |  23 +
 libmissing/m4/minmax.m4                       |  38 ++
 libmissing/m4/onceonly_2_57.m4                |  86 +++
 libmissing/m4/signed.m4                       |  17 +
 libmissing/m4/size_max.m4                     |  59 ++
 libmissing/m4/snprintf.m4                     |  15 +
 libmissing/m4/stdint_h.m4                     |  26 +
 libmissing/m4/strdup.m4                       |  17 +
 libmissing/m4/strndup.m4                      |  23 +
 libmissing/m4/strnlen.m4                      |  25 +
 libmissing/m4/vasnprintf.m4                   |  58 ++
 libmissing/m4/vsnprintf.m4                    |  15 +
 libmissing/m4/wchar_t.m4                      |  20 +
 libmissing/m4/wint_t.m4                       |  20 +
 libmissing/m4/xsize.m4                        |  13 +
 libmissing/minmax.h                           |  60 ++
 libmissing/printf-args.c                      | 118 ++++
 libmissing/printf-args.h                      | 136 ++++
 libmissing/printf-parse.c                     | 536 +++++++++++++++
 libmissing/printf-parse.h                     |  74 +++
 libmissing/snprintf.c                         |  60 ++
 libmissing/snprintf.h                         |  29 +
 libmissing/strdup.c                           |  56 ++
 libmissing/strdup.h                           |  29 +
 libmissing/strndup.c                          |  55 ++
 libmissing/strndup.h                          |  30 +
 libmissing/strnlen.c                          |  48 ++
 libmissing/vasnprintf.c                       | 901 ++++++++++++++++++++++++++
 libmissing/vasnprintf.h                       |  77 +++
 libmissing/vsnprintf.c                        |  58 ++
 libmissing/vsnprintf.h                        |  31 +
 libmissing/xsize.h                            | 108 +++
 plugins/format/classic/Makefile.am            |   2 +-
 plugins/format/classic/classic-insert.c       |   3 +
 plugins/format/classic/classic-path-resolve.c |   3 +
 plugins/sql/mysql/Makefile.am                 |   2 +-
 plugins/sql/mysql/mysql.c                     |   5 +-
 plugins/sql/pgsql/Makefile.am                 |   2 +-
 plugins/sql/pgsql/pgsql.c                     |   1 +
 src/Makefile.am                               |   2 +-
 src/include/libmissing.h                      |  11 +
 src/preludedb-path-selection.c                |   3 +
 src/preludedb-sql-settings.c                  |  26 +-
 src/preludedb-sql.c                           |   2 +
 src/preludedb.c                               |   5 +-
 56 files changed, 3345 insertions(+), 35 deletions(-)

commit 06edfde3637b8728e773edc5adbc388eb4ecefdd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Jun 19 16:16:33 2005 +0000

    Fix PRELUDE_PRIu64 usage.

 plugins/format/classic/classic-get.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 778e572bf0aa690563aad2d8d92eba03cb13bd21
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 10 12:56:07 2005 +0000

    gcc4 shut up.

 plugins/format/classic/classic-get.c    | 2 +-
 plugins/format/classic/classic-insert.c | 4 ++--
 plugins/format/classic/classic.c        | 3 ++-
 plugins/sql/mysql/mysql.c               | 2 +-
 src/preludedb-sql-settings.c            | 2 +-
 5 files changed, 7 insertions(+), 6 deletions(-)

commit 509e5e0d6215a4eabdaee328eb72257883f108ea
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 10 12:55:45 2005 +0000

    gcc4 shut up. Fix a possible memory leak.

 plugins/sql/pgsql/pgsql.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 5693cc43c478257d129a18743dccb1662b444111
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 10 12:54:49 2005 +0000

    Remove file installed in platform specific prefix.

 bindings/python/setup.py.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 5028ed9412a99ed0940afc639c92ede4ccb015ba
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 3 11:43:48 2005 +0000

    Remove debug spew.

 src/preludedb-sql.c | 2 --
 1 file changed, 2 deletions(-)

commit bbfc09a64fe191850d253b3d8ec73c9b336c7fe6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 2 17:38:19 2005 +0000

    Handle broken down criteria match.

 src/preludedb-sql.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 110 insertions(+), 7 deletions(-)

commit 604a252e30cf3768ea159268060f0612b5650170
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 2 08:01:57 2005 +0000

    Improve error reporing in case plugin directory does not exist.

 src/preludedb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit cc3d253accdf0d427cd94c852b5c91f3b1acb8d7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jun 1 08:05:48 2005 +0000

    Forgot to commit last libpreludedb version bump.

 NEWS                           | 5 +++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

commit f7428369affe3b9b6872390482a54c6831f41b5e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 30 14:11:27 2005 +0000

    Missing comma.

 plugins/format/classic/classic-delete.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ed04747a7f3b32703aca406749f0a915daa3e972
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 30 14:09:34 2005 +0000

    Bump version number. Update docs.

 NEWS                           | 22 ++++++++++++++++++++++
 configure.in                   |  2 +-
 docs/api/libpreludedb-decl.txt |  2 +-
 3 files changed, 24 insertions(+), 2 deletions(-)

commit 05831c4146ebd24def6faa92c52619f0b839da2e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 30 07:39:13 2005 +0000

    Untabify.

 src/preludedb-sql-settings.c | 62 ++++++++++++++++++++++----------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

commit 87bfb3cb355af9107984de71379ad8c5ff991048
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 30 07:38:40 2005 +0000

    Fix warnings. Cleanup.

 src/preludedb-sql-settings.c | 34 +++++++++++++++++++++++++++++-----
 1 file changed, 29 insertions(+), 5 deletions(-)

commit e3f75aaf12b63957b1acdfa9e4de97bd0bf95e20
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 30 06:38:37 2005 +0000

    Cleanup default_table_name_resolver(), make it faster.
    Use time_without_usec_field_name_resolver() for Prelude_File time member.

 plugins/format/classic/classic-path-resolve.c | 57 ++++++++++++++++++---------
 1 file changed, 38 insertions(+), 19 deletions(-)

commit 250cd79ac86620951c792d1d3866cb75e9a328cd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun May 29 15:04:13 2005 +0000

    Fix warnings.

 src/preludedb-sql.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit daa271663107b48cac106eb6f7ad58657c494e2c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu May 26 16:56:36 2005 +0000

    Patch from Cedric Foll <cedric.foll@ac-rouen.fr>, that should reduce
    DELETE operation by a factor of 2.

 plugins/format/classic/classic-delete.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit 0ab0316af2910a0f4feddd0f0532f43ceab4e868
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu May 19 10:49:15 2005 +0000

    Patch from Nicolas Delon, fixing DetectTime SQL join generation. DetectTime
    has no parent_type.

 plugins/format/classic/classic-sql-join.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit feb064203b40923b786cebc73b7b573904da980c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 18 16:49:06 2005 +0000

    Remove duplicate inode_number get.
    Handle file_type insertion.

 plugins/format/classic/classic-insert.c | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

commit 512804c36339f2a1f8df1e0d1629a16ce4f7a935
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 18 16:47:27 2005 +0000

    Handle file_type get. s/and/AND/.

 plugins/format/classic/classic-get.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit b8c195f5da1c31cc712b2eed2438500ee59a24e6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 18 16:46:33 2005 +0000

    Update.

 plugins/format/classic/Makefile.am | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit c1ea555d0be53a05e06732d77ebf560e06bc04eb
Author: Sebastien Tricaud <s.tricaud@inl.fr>
Date:   Wed May 18 16:41:44 2005 +0000

    database upgrade and missing fields added to pgsql.sql

 ChangeLog                                    |   8 +
 plugins/format/classic/classic.c             |   2 +-
 plugins/format/classic/mysql-update-14-2.sql |  29 +++
 plugins/format/classic/mysql.sql             |   5 +-
 plugins/format/classic/pgsql-update-14-2.sql | 295 +++++++++++++++++++++++++++
 plugins/format/classic/pgsql.sql             | 115 ++++++-----
 6 files changed, 393 insertions(+), 61 deletions(-)

commit a00eb7c7306215f17f5637ccb9b6383dadcfb6a4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 18 15:35:38 2005 +0000

    Fix portability problem with generated request. PostgreSQL might fail if the
    operator is not separated from operand.

 plugins/format/classic/classic-sql-join.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 6315f2bba9cc969e7e15d4907323889cd4c1b7ac
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu May 12 15:45:42 2005 +0000

    Remove trailing \n from PgSQL error return.

 plugins/sql/pgsql/pgsql.c | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

commit b93eac614c903dcb5ba2ea33678cc7e663a043a0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 9 08:09:05 2005 +0000

    Avoid not portable %hh convertion specifier.

 plugins/format/classic/classic-insert.c | 14 +++++++++++++-
 src/preludedb-sql.c                     | 33 ++++++++++++++++++++++++++++-----
 2 files changed, 41 insertions(+), 6 deletions(-)

commit eb05e2a3aecbc2eee3e9f1da5eadcce6dbe259d9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Apr 23 12:11:48 2005 +0000

    Fix insertion of Prelude_FileAccess.

 plugins/format/classic/classic-insert.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 7a32e8d784b7f9338487dd5b3d619d88d0bd8160
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 19 14:39:01 2005 +0000

    fix bad indexes

 plugins/format/classic/mysql.sql | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

commit ed6b53aab22364d7d77822b31c504eae117aac03
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Apr 17 23:10:29 2005 +0000

    Bump version number, update documentation.

 NEWS                           | 15 +++++++++++++++
 configure.in                   |  7 ++++---
 docs/api/libpreludedb-decl.txt |  2 +-
 3 files changed, 20 insertions(+), 4 deletions(-)

commit 5af875120bae895afb9ebe396686ef77fab5bf8f
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 14 16:07:43 2005 +0000

    fix duplicated code

 plugins/format/classic/classic-get.c | 10 ----------
 1 file changed, 10 deletions(-)

commit 039a881efc81681b2f9a0532142621463282fdf5
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 14 09:17:42 2005 +0000

    fix returned values

 plugins/format/classic/classic-insert.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

commit 3b2734eddc8b608dab3a67eda4641bba838eb895
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 14 09:13:07 2005 +0000

    bug fix: confidence is a float, not an integer

 plugins/format/classic/classic-insert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f7b077de33e794a6c00f3164ba82988770026e19
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Apr 13 06:36:51 2005 +0000

    fix bad quoting (thanks to Ruben Alonso <1rualons@rigel.deusto.es> for
    pointing that out)

 plugins/format/classic/pgsql-update-14-1.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ad0dd980183a11feab4a36dd57f34325b372f0bf
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 12 16:05:40 2005 +0000

    update schema version

 plugins/format/classic/pgsql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit af3f4558a33eba1049e570a0f36331e286b01ee3
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 12 15:37:39 2005 +0000

    bug fix: gmtoff and usec fields were inverted while building the query string,
    that lead to bad usec/gmtoff values when doing a preludedb_get_values

 plugins/format/classic/classic-path-resolve.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c4168080ac8a03e89f1e33849811a9d6b0997b64
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 12 09:22:04 2005 +0000

    bug fix: forgot to insert checksum index in Prelude_Checksum table

 plugins/format/classic/classic-insert.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit b8ae18088fb5167ae6b5b146b16a48163f2d992e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Apr 10 17:58:11 2005 +0000

    bug fix: forgot to update the schema version

 plugins/format/classic/mysql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0792802e47a0ec4b9803d7ee4860e773d1daa687
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Apr 10 00:50:50 2005 +0000

    Update API documentation, NEWS. Bump version number.

 NEWS                                       | 29 ++++++++++++++++++-----
 configure.in                               |  3 ++-
 docs/api/libpreludedb-decl.txt             | 37 +++++++++++++++++++++++++++---
 docs/api/libpreludedb-sections.txt         |  7 +++++-
 docs/api/tmpl/libpreludedb-unused.sgml     |  8 +++++++
 docs/api/tmpl/preludedb-error.sgml         |  5 ++++
 docs/api/tmpl/preludedb-plugin-format.sgml | 18 +++++++++++++++
 docs/api/tmpl/preludedb.sgml               | 26 ++++++++++++++++++++-
 8 files changed, 121 insertions(+), 12 deletions(-)

commit 035bbae4c2bf36a674ef10eb7df8404fd73b73ff
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Apr 9 22:48:59 2005 +0000

    Fix MySQL header check.

 configure.in | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

commit b2691331cde8708e6bca6bf724bea2ce4e1fc513
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Apr 9 20:49:30 2005 +0000

    bug fix, bad function call

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d05b15df40f6374aa2756afc78437ca420147010
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Apr 9 12:13:48 2005 +0000

    manually define libprelude structures used by libpreludedb so that
    we are sure that the will be wrapped in libprelude and libpreludedb
    the same way (we got incompatibility errors between libprelude and
    libpreludedb with swig 1.3.24)

 bindings/libpreludedb.i | 6 ++++++
 1 file changed, 6 insertions(+)

commit ce7bef459298a735da07ec51bc86005c5da038cb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Apr 8 10:16:07 2005 +0000

    Fix GnuIsm...

 bindings/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3d2e23e06cece3f33c52b37301c4a2c4622e0f50
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 7 11:53:43 2005 +0000

    fix filenames

 plugins/format/classic/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 9ffb22887500cb86068911d668c775aeadaf3305
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 7 11:49:23 2005 +0000

    add schema version check
    add error codes for plugin load failure

 plugins/format/classic/classic.c             | 25 +++++++++++++
 plugins/format/classic/mysql-rc3_rc4.sql     |  1 -
 plugins/format/classic/mysql-update-14-1.sql |  2 ++
 plugins/format/classic/pgsql-update-14-1.sql |  1 +
 src/include/preludedb-error.h                |  8 ++++-
 src/include/preludedb-plugin-format.h        |  4 +++
 src/include/preludedb.h                      |  3 +-
 src/preludedb-error.c                        |  7 +++-
 src/preludedb-sql.c                          |  2 +-
 src/preludedb.c                              | 54 ++++++++++++++++++++--------
 10 files changed, 88 insertions(+), 19 deletions(-)

commit 33f9dc1f3f99eaea85c13899594a9427b677c2ce
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Apr 6 18:26:12 2005 +0000

    dist and install the new upgrade script

 plugins/format/classic/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit cf3ae7d7df6593729a33edfffd743907e8d37cc4
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Apr 6 18:23:44 2005 +0000

    add an update script to fix the missing info value in the enum
    field of Prelude_Impact.severity

 plugins/format/classic/mysql-rc3_rc4.sql | 1 +
 1 file changed, 1 insertion(+)

commit cdf8e2e7258e49d2e7948f978639b86c9494c3c8
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Apr 6 18:17:58 2005 +0000

    bug fix: forgot the 'info' value of severity

 plugins/format/classic/mysql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f4b3dbc00c4ba02d6162fab9c5e4289e120d8749
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Apr 6 16:55:20 2005 +0000

    Fit plugins system change (version handling / re-entrancy).

 plugins/format/classic/classic.c | 18 ++++++++++------
 plugins/sql/mysql/mysql.c        | 18 ++++++++++------
 plugins/sql/pgsql/pgsql.c        | 22 +++++++++++--------
 src/preludedb-sql.c              |  6 +++++-
 src/preludedb.c                  | 46 ++++++++++++++++++----------------------
 5 files changed, 61 insertions(+), 49 deletions(-)

commit 8e66d52a339571577c7e499e40f53d97487014de
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 5 20:20:38 2005 +0000

    fixes

 src/include/preludedb.h |  2 +-
 src/preludedb.c         | 14 ++++++++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)

commit 4e6cbb4a98dcfd919f7186a20aedbeb4b4ec990d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Apr 5 19:35:33 2005 +0000

    Fix libpreludedb detection.

 m4/libpreludedb.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1d4fa991564984c0bf0436bc702ebc4e04bc165d
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 5 18:38:03 2005 +0000

    add preludedb_init/preludedb_deinit to do plugins loading/unloading
    safely

 bindings/libpreludedb_python.i | 31 +++++++++++++++++++
 src/include/preludedb.h        |  2 ++
 src/preludedb-sql.c            | 35 +--------------------
 src/preludedb.c                | 69 ++++++++++++++++++++++++++++--------------
 4 files changed, 81 insertions(+), 56 deletions(-)

commit e59fda3ffa6b8408411ecbd41695e04a3c8f9a4d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Apr 5 16:46:16 2005 +0000

    Update.

 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 48667f48d84bcf4377ce4d506542b7d76886a0c7
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 5 11:09:52 2005 +0000

    remove preludedb-version.h dependancy, it caused the bindings to be
    always regenerated after the ./configure step (as preludedb-version.h
    is generated from preludedb-version.h.in)

 bindings/Makefile.am | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit dfe90ab9eebc1d4df6d7d74b7072fb938eb31209
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Apr 1 14:22:44 2005 +0000

    fix schema for mysql 3.23, it does not seem to support index length
    when the index is directly created in the table, thanks to
    Michael Kiessling <patter_xx@arcor.de> for pointing this out and for
    debugging help

 plugins/format/classic/mysql.sql | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit 076cc966dbc4cc0e67f648dcebb6e33038e8439a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 31 21:33:15 2005 +0000

    Bump to 0.9.0-rc3.

 NEWS         | 5 +++++
 configure.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit eee383e8fc5c51c529dcc1d0d739da948204d87c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 31 20:31:17 2005 +0000

    Fix Debian specific PgSQL plugin loading problem.

 plugins/sql/pgsql/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d348bc68dc2b290aa07ce5b0eea2d35ea326bb8b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 31 17:52:19 2005 +0000

    Bump version to libpreludedb-0.9.0-rc2. Update NEWS.

 NEWS         | 13 +++++++++++--
 configure.in |  2 +-
 2 files changed, 12 insertions(+), 3 deletions(-)

commit 7e6b98b7c7501fe6e4fd297ab848feb5dc1cd6c2
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Mar 31 17:14:39 2005 +0000

    fix library link path order, CFLAGS propagation and perl make clean

 bindings/Makefile.am         | 2 +-
 bindings/perl/Makefile.PL.in | 6 +++---
 bindings/python/setup.py.in  | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

commit 7f39cd8a5bb17e92aedea57970409954477d9e91
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Mar 29 16:17:28 2005 +0000

    add a version field to the _format table so that
    we can keep track of different versions of the same
    format

 plugins/format/classic/mysql.sql | 5 +++--
 plugins/format/classic/pgsql.sql | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

commit fbfe6d9dc491649c51f5ac43e6325fef64859e0b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 29 13:47:17 2005 +0000

    Fix schema location.

 configure.in                       | 2 ++
 plugins/format/classic/Makefile.am | 9 ++-------
 prelude-db-create.sh.in            | 8 ++++----
 3 files changed, 8 insertions(+), 11 deletions(-)

commit 5c1c228fc4541bb81f30a50d27ad7286770aa769
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 29 09:18:32 2005 +0000

    Update INSTALL

 INSTALL | 61 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 27 insertions(+), 34 deletions(-)

commit 67a7c968cf7ba0eb9b2ec2621783299d4e728cc1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 29 08:31:48 2005 +0000

    Bump version to 0.9.0-rc1. Update NEWS file.

 NEWS                           | 4 ++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

commit 3c4a0797a7e8cd27ba90136c67aa4f1fd7039d15
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 29 08:29:01 2005 +0000

    Print uptodate information, thanks to Sebastien Tricaud <toady@gscore.org>
    for pointing this out.

 prelude-db-create.sh.in | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)

commit 64e967f9278d91aa0e13ebda4336bca677381c07
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Mar 29 01:49:09 2005 +0000

    fixes

 README | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit c80dfe9fddbbdf6c8bea389a309e93229e239e77
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Mar 27 00:04:05 2005 +0000

    Use PRELUDE_PRIu* instead of PRIu*

 bindings/libpreludedb_perl.i            |  4 +-
 docs/api/libpreludedb-decl.txt          |  2 +-
 plugins/format/classic/classic-delete.c | 90 ++++++++++++++++-----------------
 plugins/format/classic/classic-get.c    | 72 +++++++++++++-------------
 plugins/format/classic/classic-insert.c | 70 ++++++++++++-------------
 src/preludedb-sql.c                     |  4 +-
 6 files changed, 121 insertions(+), 121 deletions(-)

commit e204f819504fa8d4b791eaefe2a60cda7af5ca3b
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Mar 26 13:16:56 2005 +0000

    bug fix, analyzerid is now an optional string field

 plugins/format/classic/pgsql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 23f934da78a7b5a869372194d75a7dc6c1b2ed5c
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Mar 26 12:58:10 2005 +0000

    * plugins/sql/pgsql/pgsql.c:
      cleanup row fetch handling
    
    * plugins/format/classic/mysql.sql:
      fixes
    
    * plugins/format/classic/pgsql.sql:
      update schema to the last classic plugin changes

 plugins/format/classic/mysql.sql |   4 +-
 plugins/format/classic/pgsql.sql | 120 ++++++++++++++++++++-------------------
 plugins/sql/pgsql/pgsql.c        | 104 +++++++++++++++++----------------
 3 files changed, 119 insertions(+), 109 deletions(-)

commit 705c9a57831a8ebc5f59d59ea8d3dcbef5c48b26
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 26 12:10:46 2005 +0000

    Include prelude.h

 bindings/libpreludedb.i | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d335c0138d13b4f0700ece548a437a1a238c5a37
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 20:14:44 2005 +0000

    remove debug message

 src/preludedb.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

commit d4f45b11b58ce9890d3757d95d6b78697b4f7971
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 19:37:21 2005 +0000

    minor fixes

 bindings/libpreludedb_perl.i   | 2 +-
 bindings/libpreludedb_python.i | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

commit 02322a348140fddc87bfc5c2648577b742b6c9cd
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 19:25:38 2005 +0000

    update plugin contact stuff

 plugins/format/classic/classic.c | 6 ++++--
 plugins/sql/mysql/mysql.c        | 2 +-
 plugins/sql/pgsql/pgsql.c        | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

commit f3cbeece057ec91004ec5ac1236aa18a5cdeb70a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 19:15:44 2005 +0000

    add README file

 README | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)

commit c34e2786deafe0d8a649654610982ddd7f9eb8fa
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 19:05:56 2005 +0000

    ========================================================
    libpreludedb-0.9.0-svn archives ready for distribution:
    libpreludedb-0.9.0-svn.tar.gz
    ========================================================

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dbc7efd0b6eeb742827d9e18ed069abe64e2d0c8
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 18:54:07 2005 +0000

    transfert copyrights to PreludeIDS Technologies

 plugins/format/classic/classic-delete.c               |  6 +++---
 plugins/format/classic/classic-get.c                  |  6 +++---
 plugins/format/classic/classic-insert.c               |  7 +++----
 plugins/format/classic/classic-path-resolve.c         |  6 +++---
 plugins/format/classic/classic-sql-join.c             |  6 +++---
 plugins/format/classic/classic-sql-select.c           |  6 +++---
 plugins/format/classic/classic.c                      |  6 +++---
 plugins/format/classic/include/classic-delete.h       |  6 +++---
 plugins/format/classic/include/classic-get.h          |  6 +++---
 plugins/format/classic/include/classic-path-resolve.h |  6 +++---
 plugins/format/classic/include/classic-sql-join.h     |  6 +++---
 plugins/format/classic/include/classic-sql-select.h   |  6 +++---
 plugins/sql/mysql/mysql.c                             |  8 +++-----
 plugins/sql/pgsql/pgsql.c                             |  7 +++----
 src/include/preludedb-error.h                         |  6 +++---
 src/include/preludedb-path-selection.h                |  6 +++---
 src/include/preludedb-plugin-format.h                 |  7 +++----
 src/include/preludedb-plugin-sql.h                    |  7 +++----
 src/include/preludedb-sql-settings.h                  |  6 +++---
 src/include/preludedb-sql.h                           |  6 +++---
 src/include/preludedb-version.h.in                    |  6 +++---
 src/include/preludedb.h                               |  6 +++---
 src/preludedb-error.c                                 |  6 +++---
 src/preludedb-path-selection.c                        |  6 +++---
 src/preludedb-sql-settings.c                          |  6 +++---
 src/preludedb-sql.c                                   |  7 +++----
 src/preludedb-version.c                               |  6 +++---
 src/preludedb.c                                       | 13 +++++++++----
 28 files changed, 90 insertions(+), 92 deletions(-)

commit 702a5357938b4713c16fb8a8c185af105f5b5a76
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:41:13 2005 +0000

    Update INSTALL file. Update libpreludedb.m4. Remove un-needed libtool.m4.

 INSTALL            |   11 +-
 m4/libpreludedb.m4 |    2 +-
 m4/libtool.m4      | 6108 ----------------------------------------------------
 3 files changed, 9 insertions(+), 6112 deletions(-)

commit 1ff8710d37a91477eac00126a1be26fc6a335bbb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:28:51 2005 +0000

    Cleanup perl file.

 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

commit 9babdd996d7eecf024bc9d1d1f70a828730d757e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:26:03 2005 +0000

    Restore LDFLAGS.

 m4/libpreludedb.m4 | 1 +
 1 file changed, 1 insertion(+)

commit 550594ce020f3b0b9d538bb361a76e6cbb5959a0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:22:55 2005 +0000

    Update.

 m4/libprelude.m4 | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

commit e86001f7839cf0a3e57da96a9a464532a4d08c73
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:21:51 2005 +0000

    Fix distcheck.

 src/include/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit c059ffc9851d16f7e911bec0f6da92bea0b7b7ad
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:20:59 2005 +0000

    Output cleanup.

 configure.in | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

commit 515f1d6516a6b5ea33198fae60f47be3df199e05
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:20:41 2005 +0000

    Fix distcheck.

 bindings/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4c824518bea173c2dfd5a513dd1b41160d4a5827
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 17:46:13 2005 +0000

    fix perl bindings

 bindings/Makefile.am           |   2 +-
 bindings/libpreludedb.i        | 319 +--------------------------
 bindings/libpreludedb_perl.i   | 191 +++++++++++++++++
 bindings/libpreludedb_python.i | 266 +++++++++++++++++++++++
 bindings/perl/PreludeDB.pm     | 475 +----------------------------------------
 5 files changed, 470 insertions(+), 783 deletions(-)

commit e46366f303b2c12bf3a51ff007a89d1f8bfdc4fd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 24 12:17:34 2005 +0000

    Fix warnings.

 plugins/format/classic/classic-path-resolve.c         | 14 +++++++-------
 plugins/format/classic/classic.c                      |  2 +-
 plugins/format/classic/include/classic-path-resolve.h |  6 +++---
 3 files changed, 11 insertions(+), 11 deletions(-)

commit 0293f8e5271c8f9d9f7cd0342c99e5a30d0f071b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 24 12:05:03 2005 +0000

    Correct gtk-doc support.

 docs/api/Makefile.am                        | 196 ++----
 docs/api/libpreludedb-decl.txt              | 893 ++++++++++++++++++++++++++++
 docs/api/libpreludedb-docs.sgml             |  20 +
 docs/api/libpreludedb-sections.txt          | 207 +++++++
 docs/api/tmpl/libpreludedb-unused.sgml      |   0
 docs/api/tmpl/preludedb-error.sgml          |  72 +++
 docs/api/tmpl/preludedb-path-selection.sgml | 134 +++++
 docs/api/tmpl/preludedb-plugin-format.sgml  | 256 ++++++++
 docs/api/tmpl/preludedb-plugin-sql.sgml     | 328 ++++++++++
 docs/api/tmpl/preludedb-sql-settings.sgml   | 210 +++++++
 docs/api/tmpl/preludedb-sql.sgml            | 494 +++++++++++++++
 docs/api/tmpl/preludedb-version.sgml        |  32 +
 docs/api/tmpl/preludedb.sgml                | 242 ++++++++
 13 files changed, 2923 insertions(+), 161 deletions(-)

commit c40a7a516a235c6ccf8f51b5a1d51a42018a68cb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 24 12:01:34 2005 +0000

    Fix gtk-doc support.

 Makefile.am  |  2 ++
 autogen.sh   |  1 +
 configure.in | 36 +-----------------------------------
 3 files changed, 4 insertions(+), 35 deletions(-)

commit 88e390fa133ae54843e7ede03174a5c0203b580b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 22 00:36:16 2005 +0000

    Don't use linked object unless you got a very good reason to do so.

 plugins/format/classic/classic-sql-join.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 93b590006a51a7a16925c7d12828a3804dea3bed
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Mar 15 13:52:00 2005 +0000

    bug fix: the output buffer must be allocated dynamically

 src/preludedb-sql.c | 47 ++++++++++++++++++++++++++++-------------------
 1 file changed, 28 insertions(+), 19 deletions(-)

commit e21f591be2760b4f35cb266d0cc405e15ca69ed2
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Mar 14 19:08:44 2005 +0000

    bug fix: handle '(' and ')' in selected_path strings

 src/preludedb-path-selection.c | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)

commit 09e67f40ad3766fc70c83df1ba7b12adebf8dfc9
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Mar 14 14:57:15 2005 +0000

    remove deprecated reference to IDMEF_TIME_MAX_STRING_SIZE

 plugins/format/classic/classic-insert.c | 14 +++++++-------
 src/include/preludedb-sql.h             |  2 ++
 src/preludedb-sql.c                     |  2 +-
 3 files changed, 10 insertions(+), 8 deletions(-)

commit 0c37187b72389e0d53c03e7299687801345a1c3f
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Mar 14 14:08:09 2005 +0000

    support for -1 list special indexes

 plugins/format/classic/classic-get.c      |  35 +--
 plugins/format/classic/classic-insert.c   | 404 ++++++++++++++++++++++--------
 plugins/format/classic/classic-sql-join.c |  37 +--
 plugins/format/classic/mysql.sql          |   2 +-
 4 files changed, 340 insertions(+), 138 deletions(-)

commit 8a9f6b1603489ddd520c5a831392246d1f4ff725
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Mar 14 08:36:40 2005 +0000

    bind stuff related to libpreludedb sql layer

 bindings/libpreludedb.i | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)

commit ac3697a63c23c782fe8c6b8c9999f3ea7ff30412
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Mar 13 17:31:11 2005 +0000

    filenames/structures/functions naming cleanup for the
    classic plugin

 plugins/format/classic/Makefile.am                 |    2 +-
 plugins/format/classic/classic-delete.c            |  129 ++
 plugins/format/classic/classic-get.c               | 2111 +++++++++++++++++++
 plugins/format/classic/classic-insert.c            | 1854 +++++++++++++++++
 plugins/format/classic/classic-path-resolve.c      |  400 ++++
 plugins/format/classic/classic-sql-join.c          |  373 ++++
 plugins/format/classic/classic-sql-select.c        |  186 ++
 plugins/format/classic/classic.c                   |  132 +-
 plugins/format/classic/idmef-db-delete.c           |  129 --
 plugins/format/classic/idmef-db-get.c              | 2113 --------------------
 plugins/format/classic/idmef-db-insert.c           | 1854 -----------------
 plugins/format/classic/idmef-db-path.c             |  976 ---------
 plugins/format/classic/include/Makefile.am         |    2 +-
 plugins/format/classic/include/classic-delete.h    |   31 +
 plugins/format/classic/include/classic-get.h       |   31 +
 plugins/format/classic/include/classic-insert.h    |   30 +
 .../format/classic/include/classic-path-resolve.h  |   39 +
 plugins/format/classic/include/classic-sql-join.h  |   43 +
 .../format/classic/include/classic-sql-select.h    |   39 +
 plugins/format/classic/include/db-path.h           |   54 -
 plugins/format/classic/include/idmef-db-delete.h   |   31 -
 plugins/format/classic/include/idmef-db-get.h      |   31 -
 plugins/format/classic/include/idmef-db-insert.h   |   31 -
 plugins/format/classic/include/idmef-db-path.h     |   53 -
 plugins/format/classic/include/idmef-db-select.h   |   50 -
 25 files changed, 5318 insertions(+), 5406 deletions(-)

commit 8863cdfee718ab1d38af0bdb85e17bafed18f234
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Mar 12 16:09:54 2005 +0000

    process retrieved data as string if it is not in specified format

 plugins/format/classic/idmef-db-get.c | 37 ++++++++++++++++++++++++-----------
 1 file changed, 26 insertions(+), 11 deletions(-)

commit fddb294e14743d4f98d38e6c887b98b843e63970
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 11 19:49:10 2005 +0000

    fit libprelude changes on idmef_criterion_value
    replace idmef-db-select.c/db-path.c/schema.txt by
    idmef-db-path.c that semi-automatically analyze idmef-path
    objects to build parts of sql queries, this mapper now
    supports index for lists

 plugins/format/classic/Makefile.am             |    5 +-
 plugins/format/classic/classic.c               |  234 +++++-
 plugins/format/classic/db-path.c               |  482 -----------
 plugins/format/classic/idmef-db-delete.c       |    2 +-
 plugins/format/classic/idmef-db-get.c          |   40 +-
 plugins/format/classic/idmef-db-insert.c       |  405 +++++----
 plugins/format/classic/idmef-db-path.c         |  976 ++++++++++++++++++++++
 plugins/format/classic/idmef-db-select.c       | 1064 ------------------------
 plugins/format/classic/include/idmef-db-path.h |   53 ++
 plugins/format/classic/mysql.sql               |  120 +--
 plugins/format/classic/schema.txt              |  209 -----
 plugins/sql/mysql/mysql.c                      |   28 +-
 plugins/sql/pgsql/pgsql.c                      |   28 +-
 src/include/preludedb-plugin-sql.h             |    2 +-
 src/include/preludedb-sql.h                    |    4 +-
 src/preludedb-path-selection.c                 |    2 +-
 src/preludedb-sql.c                            |  358 +-------
 17 files changed, 1647 insertions(+), 2365 deletions(-)

commit 55201ec5b48aed04adbf0cea7261e134bd991a76
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 4 12:40:26 2005 +0000

    bug fix

 plugins/format/classic/idmef-db-get.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

commit 839a8a033e419fef4223bd736f3995fbe3edae59
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 4 11:01:10 2005 +0000

    fit libprelude changes on analyzers handling

 plugins/format/classic/idmef-db-get.c    | 98 ++++++++++++++++----------------
 plugins/format/classic/idmef-db-insert.c | 38 ++++++-------
 plugins/format/classic/mysql.sql         |  4 +-
 plugins/format/classic/pgsql.sql         | 58 +++++++++----------
 plugins/format/classic/schema.txt        | 57 ++++++-------------
 5 files changed, 115 insertions(+), 140 deletions(-)

commit 9fd768ba8ab19566d45241995cb34a98f39d9ab6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 4 09:27:38 2005 +0000

    Modification for new kind of analyzer chaining. To be modified by Nicolas.

 plugins/format/classic/idmef-db-get.c    | 25 ++++++---------
 plugins/format/classic/idmef-db-insert.c | 52 +++++++++++++++++++++-----------
 plugins/format/classic/mysql.sql         |  2 +-
 plugins/format/classic/pgsql.sql         |  6 ++--
 4 files changed, 49 insertions(+), 36 deletions(-)

commit 8b5e15979993af1aa16ef83c6858b91327799a8f
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Feb 28 19:46:30 2005 +0000

    forgot a function

 plugins/format/classic/idmef-db-select.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 4adae72471ddd7c88a34f040461032fafd7b8581
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Feb 28 17:24:46 2005 +0000

    support for heartbeat-interval when retrieving alerts

 plugins/format/classic/idmef-db-get.c | 44 +++++++++++++++++++++++++++++------
 plugins/format/classic/schema.txt     |  2 ++
 2 files changed, 39 insertions(+), 7 deletions(-)

commit dd4eb711ceebe7e2d562cc57fe29271d0be8a32a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 28 16:24:43 2005 +0000

    Fix warning.

 plugins/format/classic/idmef-db-get.c | 1 -
 1 file changed, 1 deletion(-)

commit eab8520119431e07c8f6da97f69598fdf1446cb2
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Feb 28 16:14:24 2005 +0000

    bug fix: check messageid field validity

 plugins/format/classic/idmef-db-get.c | 30 ++++++------------------------
 1 file changed, 6 insertions(+), 24 deletions(-)

commit ab06521c179463fccefa59f052195da870d6975a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 28 13:51:49 2005 +0000

    Implement new IDMEFv14 attribute. Ident are now string. Update schema.

 plugins/format/classic/idmef-db-get.c    |  31 ++--
 plugins/format/classic/idmef-db-insert.c | 281 +++++++++++++++++++++----------
 plugins/format/classic/mysql.sql         |  30 ++--
 plugins/format/classic/pgsql.sql         |  21 +--
 4 files changed, 233 insertions(+), 130 deletions(-)

commit ecb14b0b50c1ad0b8f19bb69353152389d646477
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Feb 28 10:25:17 2005 +0000

    save last error message (if any) when doing a rollback so that we
    can retrieve the error message that triggered the rollback even if the
    sql backend clear the error buffer while doing the rollback query

 src/preludedb-sql.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

commit f56dd271e3cb6210e4ef8fcd8a642db958852b82
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Feb 25 10:07:20 2005 +0000

    improve tables indexes

 plugins/format/classic/mysql.sql | 38 ++++++++++++++++++++------------------
 plugins/format/classic/pgsql.sql | 29 +++++++++++++++--------------
 2 files changed, 35 insertions(+), 32 deletions(-)

commit 1a627e596efa00a9868b8ad96432b3c1b5fc90f4
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Feb 24 11:14:58 2005 +0000

    support for alert.analyzer.analyzer.* paths

 plugins/format/classic/schema.txt | 35 ++++++++++++++++++++++++++++++-----
 1 file changed, 30 insertions(+), 5 deletions(-)

commit 553ff5e048ca3355dd4227214fac9ddddd2c096e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Feb 22 16:50:46 2005 +0000

    bug fix: gmt offset are signed integers NOT unsigned

 plugins/format/classic/classic.c      |  4 ++--
 plugins/format/classic/idmef-db-get.c |  4 ++--
 plugins/format/classic/mysql.sql      | 14 +++++++-------
 src/include/preludedb-sql.h           |  2 +-
 src/preludedb-sql.c                   |  6 +++---
 5 files changed, 15 insertions(+), 15 deletions(-)

commit b86d65163c7b0b1865f16a7c17ff605304f6a919
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Feb 22 16:27:11 2005 +0000

    don't generate proxy classes, we don't need them

 bindings/Makefile.am         | 2 +-
 bindings/python/preludedb.py | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

commit 61318b73371bccb17a2f47689a8f656c08c6d48a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Feb 22 15:39:18 2005 +0000

    code cleanup: rewrite schema.txt parser

 plugins/format/classic/db-path.c | 330 ++++++++++++---------------------------
 1 file changed, 102 insertions(+), 228 deletions(-)

commit cd403569d0f488a6783a126adc5610db3a61bef2
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Feb 22 15:27:32 2005 +0000

    bug fix for idmef_time field retrieval

 plugins/format/classic/classic.c | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

commit 638461236990833f9c6e1e834a29967770d65e75
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Feb 22 15:09:46 2005 +0000

    bug fix, forgot to increment Py_None, it led to a python exception when
    its refcount reach 0

 bindings/libpreludedb.i | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 6c00223bb89801c668f04889ee6a7ad248244b41
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Feb 16 18:09:13 2005 +0000

    bug fix

 src/preludedb-sql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a39c3dfc21d22ab47f74aa91ffef8329ee1a7ca9
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Feb 16 17:07:01 2005 +0000

    for get_values replace right join by left join, it fix
    some applications problems when dealing with NULL field

 plugins/format/classic/idmef-db-select.c | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

commit d49f017a869e1e918cd4bd5dd903889d87c5e147
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Feb 16 14:37:18 2005 +0000

    bug fix, forgot a whitespace

 plugins/format/classic/idmef-db-select.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ef468bbfc6d8b333df485e88eee012d057298c45
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 03:51:33 2005 +0000

    Fix mysql/pgsql detection when MYSQL_CONFIG / PG_CONFIG are set.

 configure.in | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit 293ec384059171d057620c4407532d5e0e34fa21
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 02:31:26 2005 +0000

    Fix API doc generation. Remove debugging stuff.

 src/include/preludedb.h      |  2 +-
 src/preludedb-sql-settings.c | 15 +++++++--------
 src/preludedb-sql.c          |  8 +++++---
 src/preludedb.c              | 14 +++++++++-----
 4 files changed, 22 insertions(+), 17 deletions(-)

commit 5773fecf009c5709a8cc6f6f81c0a6bfa646d414
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 01:52:55 2005 +0000

    Remove deprecated definition.

 plugins/format/classic/idmef-db-select.c | 2 --
 1 file changed, 2 deletions(-)

commit bcc13bc356733b91e700fa625c4fd70de3e2385e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 01:51:21 2005 +0000

    remove deprecated idmef-util.h header inclusion;

 plugins/format/classic/idmef-db-insert.c | 1 -
 plugins/format/classic/idmef-db-select.c | 1 -
 2 files changed, 2 deletions(-)

commit 28c8046901d8cbd9ae4b59c1e4143b1af81daf0a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 01:50:11 2005 +0000

    remove deprecated idmef-util.h header file inclusion.

 src/preludedb-sql.c | 1 -
 1 file changed, 1 deletion(-)

commit fb98b5a04c340a8df9d3abe2cc637abb5fc0761d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 01:37:04 2005 +0000

     r7589@arwen (orig r5134):  yoann | 2005-02-16 02:36:18 +0100
     Fit libprelude API change.

 plugins/format/classic/classic.c |  48 ++++++++---------
 plugins/sql/mysql/mysql.c        |  59 +++++++++++----------
 plugins/sql/pgsql/pgsql.c        | 111 +++++++++++++++++++--------------------
 src/preludedb-sql.c              |   4 +-
 src/preludedb.c                  |   6 ++-
 5 files changed, 114 insertions(+), 114 deletions(-)

commit e6574ae402fbddc76b119bfcaace5765a48e2ff6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 14 19:15:48 2005 +0000

    Merge back pre-0-9-api-cleanup into trunk.

 INSTALL                                          |  52 +-
 bindings/Makefile.am                             |   4 +-
 bindings/libpreludedb.i                          | 177 ++++++-
 bindings/python/preludedb.py                     | 182 -------
 m4/libpreludedb.m4                               |  14 +-
 plugins/format/classic/Makefile.am               |   2 +-
 plugins/format/classic/classic.c                 |  54 +-
 plugins/format/classic/db-object.c               | 590 ----------------------
 plugins/format/classic/db-path.c                 | 608 +++++++++++++++++++++++
 plugins/format/classic/idmef-db-get.c            | 403 +++++++--------
 plugins/format/classic/idmef-db-insert.c         |  17 +-
 plugins/format/classic/idmef-db-select.c         | 537 ++++++++++----------
 plugins/format/classic/include/Makefile.am       |   2 +-
 plugins/format/classic/include/db-object.h       |  54 --
 plugins/format/classic/include/db-path.h         |  54 ++
 plugins/format/classic/include/idmef-db-select.h |   2 +-
 plugins/sql/mysql/mysql.c                        |  24 +-
 plugins/sql/pgsql/pgsql.c                        |  17 +-
 src/Makefile.am                                  |   2 +-
 src/include/Makefile.am                          |   2 +-
 src/include/preludedb-error.h                    |   4 +-
 src/include/preludedb-object-selection.h         |  58 ---
 src/include/preludedb-path-selection.h           |  59 +++
 src/include/preludedb-plugin-format.h            |   4 +-
 src/include/preludedb-plugin-sql.h               |   2 +-
 src/include/preludedb-sql-settings.h             |   4 +-
 src/include/preludedb.h                          |  35 +-
 src/preludedb-error.c                            |   4 +-
 src/preludedb-object-selection.c                 | 286 -----------
 src/preludedb-path-selection.c                   | 277 +++++++++++
 src/preludedb-sql-settings.c                     |  40 +-
 src/preludedb-sql.c                              |  50 +-
 src/preludedb.c                                  | 312 +++++++-----
 33 files changed, 1979 insertions(+), 1953 deletions(-)

commit f43f06d33b6064c1541e780e4c64485c6a637f8d
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Feb 10 14:32:19 2005 +0000

    remove outdated copyrights

 src/include/preludedb-plugin-format.h | 1 -
 src/include/preludedb-plugin-sql.h    | 1 -
 src/include/preludedb-sql.h           | 1 -
 src/include/preludedb.h               | 1 -
 src/preludedb-sql.c                   | 1 -
 src/preludedb.c                       | 1 -
 6 files changed, 6 deletions(-)

commit 7bda76c921b3dd2b91e8abf9cf79ad154cb0533a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Feb 5 03:48:47 2005 +0000

    bug fix: check value before attempting to destroy it

 bindings/python/preludedb.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 6c3a61771ff7b567582a282c4f8bea2941b2e37e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Feb 5 03:03:59 2005 +0000

    backport bug fix [5004] from pre-0-9-api-cleanup branch

 plugins/format/classic/classic.c | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

commit b2eacb341e58d6937d9a25cad82cb7a058a1b358
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Feb 5 03:02:51 2005 +0000

    check if the function returns no result

 src/preludedb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1b9a825b08a5850ca3d052bb240f76dc38125af0
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Jan 24 00:09:07 2005 +0000

    bug fix, rename indexes to avoid conflicting names

 plugins/format/classic/pgsql.sql | 46 ++++++++++++++++++++--------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

commit d75d672e344e5eaab7ee86c9d8f82ba49681e959
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 23 11:43:33 2005 +0000

    update the list of APIs to bind

 bindings/Makefile.am | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

commit 089feb6b6850378148782dda3cd765eb9f0c0a4e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 23 01:36:32 2005 +0000

    * src/include/preludedb-error.h:
    * src/preludedb-error.c:
    * src/preludedb.c:
    * plugins/sql/mysql/mysql.c:
    * plugins/sql/pgsql/pgsql.c:
      drop the two PRELUDEDB_ERROR_CANNOT_CONNECT and PRELUDEDB_ERROR_DISCONNECTED
      error codes and replace them by a single error code PRELUDEDB_ERROR_CONNECTION
      that is more generic
    
    * src/preludedb-sql.c:
    * src/preludedb.c:
    * src/include/preludedb.h:
    * src/include/preludedb-sql.h
      rework connection system, connection (and reconnection in case where disconnection
      happen) is now done automatically and transparently done in preludedb-sql layer.
    
    bug fixes

 bindings/python/preludedb.py  |  9 ------
 plugins/sql/mysql/mysql.c     |  2 +-
 plugins/sql/pgsql/pgsql.c     |  2 +-
 src/include/preludedb-error.h | 27 ++++++++--------
 src/include/preludedb-sql.h   |  3 --
 src/include/preludedb.h       |  5 ---
 src/preludedb-error.c         |  3 +-
 src/preludedb-sql.c           | 72 +++++++++++++++++--------------------------
 src/preludedb.c               | 27 ----------------
 9 files changed, 44 insertions(+), 106 deletions(-)

commit 0f834e92ca08252a0b24679e92dbc5dd5a23f659
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Jan 22 22:43:05 2005 +0000

    document part of the preludedb main API

 src/preludedb.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 82 insertions(+), 6 deletions(-)

commit 21bc208a61660d496dc1d5ecd5b4933d0cb98af9
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Jan 22 18:56:40 2005 +0000

    fix documentation errors for functions that can return three types
    of value (1 for results, 0 for no results or a negative value for errors)

 src/preludedb-sql.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

commit cab0c6240f090e7fb9d866ff879c0443f6c90605
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Jan 22 17:25:20 2005 +0000

    import gtk-doc documentation system from libprelude

 Makefile.am          |   2 +-
 configure.in         |  42 +++++++++++
 docs/Makefile.am     |   1 +
 docs/api/Makefile.am | 194 +++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 238 insertions(+), 1 deletion(-)

commit 3bbfaa74f6a090de77998126af50afd242d0395b
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jan 21 15:17:29 2005 +0000

    in preludedb_new, let the caller create his sql object, it allows him
    to have more control on it and ease error handling
    update python bindings accordingly

 bindings/libpreludedb.i      | 12 ++++++++++++
 bindings/python/preludedb.py | 20 ++++++++++++++------
 src/include/preludedb.h      |  3 +--
 src/preludedb.c              | 28 ++--------------------------
 4 files changed, 29 insertions(+), 34 deletions(-)

commit d6e61956abaecd4f0e9f2bd1cdf669fa6bed00f5
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Jan 20 19:44:39 2005 +0000

    merge the libpreludedb-api-rework back into trunk

 README                                           |   66 -
 bindings/Makefile.am                             |    6 +-
 bindings/libpreludedb.i                          |  126 +-
 bindings/python/preludedb.py                     |  527 +----
 configure.in                                     |    2 +-
 plugins/filters/Makefile.am                      |    5 -
 plugins/filters/skeleton/Makefile.am             |    6 -
 plugins/filters/skeleton/skeleton.c              |  163 --
 plugins/format/classic/classic.c                 |  467 ++---
 plugins/format/classic/db-object.c               |  198 +-
 plugins/format/classic/idmef-db-delete.c         |  192 +-
 plugins/format/classic/idmef-db-get.c            | 2417 ++++++++++------------
 plugins/format/classic/idmef-db-insert.c         | 1069 +++++-----
 plugins/format/classic/idmef-db-select.c         |  304 ++-
 plugins/format/classic/include/idmef-db-delete.h |    4 +-
 plugins/format/classic/include/idmef-db-get.h    |   10 +-
 plugins/format/classic/include/idmef-db-insert.h |    2 +-
 plugins/format/classic/include/idmef-db-select.h |   19 +-
 plugins/format/classic/mysql.sql                 |   15 +-
 plugins/format/classic/pgsql.sql                 |  772 ++++---
 plugins/format/classic/schema.txt                |    2 +-
 plugins/format/new/idmef-db-output.c             |  401 ----
 plugins/sql/mysql/mysql.c                        |  639 ++----
 plugins/sql/pgsql/pgsql.c                        |  601 ++----
 src/Makefile.am                                  |   19 +-
 src/db-connection-data.c                         |   92 -
 src/db-connection.c                              |   97 -
 src/db-interface-string.c                        |  137 --
 src/db-interface.c                               |  546 -----
 src/db-message-cache.c                           |  310 ---
 src/db-message-ident.c                           |   72 -
 src/db-object-selection.c                        |  270 ---
 src/db.c                                         |  107 -
 src/format-plugins.c                             |   81 -
 src/include/Makefile.am                          |   32 +-
 src/include/db-connection-data.h                 |   40 -
 src/include/db-connection.h                      |   40 -
 src/include/db-interface-string.h                |   29 -
 src/include/db-interface.h                       |  103 -
 src/include/db-message-cache.h                   |   37 -
 src/include/db-message-ident.h                   |   36 -
 src/include/db-object-selection.h                |   54 -
 src/include/db-type.h                            |   34 -
 src/include/db.h.in                              |   33 -
 src/include/param-string.h                       |   32 -
 src/include/plugin-filter.h                      |   88 -
 src/include/plugin-format.h                      |  120 --
 src/include/plugin-sql.h                         |  164 --
 src/include/preludedb-error.h                    |   73 +
 src/include/preludedb-object-selection.h         |   58 +
 src/include/preludedb-plugin-format.h            |   99 +
 src/include/preludedb-plugin-sql.h               |   97 +
 src/include/preludedb-sql-settings.h             |   62 +
 src/include/preludedb-sql.h                      |  120 ++
 src/include/preludedb-version.h.in               |   31 +
 src/include/preludedb.h                          |   87 +
 src/include/sql-connection-data.h                |   60 -
 src/include/sql.h                                |  123 --
 src/param-string.c                               |  221 --
 src/preludedb-error.c                            |   60 +
 src/preludedb-object-selection.c                 |  286 +++
 src/preludedb-sql-settings.c                     |  238 +++
 src/preludedb-sql.c                              | 1535 ++++++++++++++
 src/preludedb-version.c                          |   56 +
 src/preludedb.c                                  |  422 ++++
 src/sql-connection-data.c                        |  202 --
 src/sql-plugins.c                                |   75 -
 src/sql.c                                        | 1335 ------------
 68 files changed, 6404 insertions(+), 9422 deletions(-)

commit 8e47bb8d464dd9f6035c6f025e4448f190edef0d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 31 16:35:59 2004 +0000

    Update.

 m4/libtool.m4 | 471 ++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 276 insertions(+), 195 deletions(-)

commit fa076da84e42168996439bc5a2aa7f236ea6fa5e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Dec 30 22:54:32 2004 +0000

    fit last libprelude API changes

 plugins/format/classic/idmef-db-insert.c | 18 +++++++++++---
 src/sql.c                                | 42 ++++++++++++++++++++++++++------
 2 files changed, 49 insertions(+), 11 deletions(-)

commit 8afba82359a27acc9adf34742c705b8009aa2a49
Author: Rob Holand <rob@inversepath.com>
Date:   Thu Dec 23 11:31:02 2004 +0000

    don't try and clean perl stuff up if we did --disable-perl

 bindings/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

commit 7f08193562d9f3bc7d6d8c34bce9513f344ab0c8
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Dec 20 02:39:42 2004 +0000

    rename byte in byte-string in mysql.sql to conform last IDMEF changes
    make the sql layer handle the length of a field, that fix a bug happening
    when binary data contains a NULL byte.

 plugins/format/classic/idmef-db-get.c |  4 +--
 plugins/format/classic/mysql.sql      |  2 +-
 plugins/sql/mysql/mysql.c             | 49 ++++++++++++++++++++++-------------
 plugins/sql/pgsql/pgsql.c             | 33 +++++++++--------------
 src/include/plugin-sql.h              | 11 +++-----
 src/include/sql.h                     |  1 +
 src/sql.c                             | 39 ++++++++++++++++++----------
 7 files changed, 76 insertions(+), 63 deletions(-)

commit e68268bca67c471378aef6b4987bf824eb574341
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 19 16:44:51 2004 +0000

    bug fix: classification is not mandatory

 plugins/format/classic/idmef-db-insert.c | 3 +++
 1 file changed, 3 insertions(+)

commit c742e1c6fae36db21e09f70ebd7fb1310272b180
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Dec 17 06:11:20 2004 +0000

    fit additional data API changes

 plugins/format/classic/idmef-db-get.c    | 131 ++++++++++++++++++++++---------
 plugins/format/classic/idmef-db-insert.c |  77 ++++++++++--------
 2 files changed, 139 insertions(+), 69 deletions(-)

commit 25c2d1c9c6ed2ecd19a3f0f5e1c52eaffd639987
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 17 02:23:05 2004 +0000

    Fit prelude-msgbuf API change.

 src/db-message-cache.c | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)

commit 4fe674c58588e29c78315a4d9c67d825709a6f90
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Dec 11 02:57:02 2004 +0000

    fix memory leak

 plugins/format/classic/idmef-db-insert.c | 3 +++
 1 file changed, 3 insertions(+)

commit 9fdd7415cee6f7d3e0b8ac4023968a29a0e65afc
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Dec 9 14:05:27 2004 +0000

    fix bad sql table field name

 plugins/format/classic/idmef-db-get.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7e8c1849f1a306babefde0d4f0bbe5a7f2684325
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Dec 8 18:54:14 2004 +0000

    port delete code to the last schema changes

 INSTALL                                  |  2 +-
 plugins/format/classic/idmef-db-delete.c | 91 ++++++++++++++++----------------
 2 files changed, 47 insertions(+), 46 deletions(-)

commit 76a85662e462114d5d8c7ec5a19013ab62acdfc9
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Dec 8 11:03:22 2004 +0000

    handle missing field file.ident, file.fstype and file.checksum.*

 plugins/format/classic/idmef-db-get.c | 87 +++++++++++++++++++++++++++++++----
 1 file changed, 77 insertions(+), 10 deletions(-)

commit 421dfc3010f7630055cb8d369b81c204c5cc2cb7
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 5 17:47:26 2004 +0000

    support for name field in idmef_analyzer

 plugins/format/classic/idmef-db-get.c    | 17 ++++++++++-------
 plugins/format/classic/idmef-db-insert.c | 16 +++++++++++-----
 plugins/format/classic/mysql.sql         |  1 +
 plugins/format/classic/schema.txt        |  2 ++
 4 files changed, 24 insertions(+), 12 deletions(-)

commit b5965cb220bfec0c7717b781c72e0dd3adc2ab6f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 5 12:53:02 2004 +0000

    Use idmef_message_read() instead of calling idmef_alert_read() / idmef_heartbeat_read() manually.

 src/db-message-cache.c | 73 ++++++++------------------------------------------
 1 file changed, 11 insertions(+), 62 deletions(-)

commit 62c17fe6ebdedaf7d5b01ef2462f756e2fa43784
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 5 11:57:11 2004 +0000

    Remove deprecated header inclusion. Kill some warnings.

 plugins/format/classic/idmef-db-delete.c | 1 -
 plugins/format/classic/idmef-db-get.c    | 1 -
 plugins/format/classic/idmef-db-insert.c | 7 ++-----
 plugins/format/classic/idmef-db-select.c | 6 +++---
 plugins/sql/pgsql/pgsql.c                | 1 -
 src/db.c                                 | 2 --
 src/sql.c                                | 4 ++--
 7 files changed, 7 insertions(+), 15 deletions(-)

commit e86510cd40eee8fd929b849196aaaf7e8089cba5
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Dec 4 16:46:38 2004 +0000

    handle usec and gmtoff fields for idmef_time retrieved in get_values,
    these two fields are not supported when idmef_time is retrieved in a function
    like "max"

 plugins/format/classic/classic.c           |  23 +++++-
 plugins/format/classic/db-object.c         |  28 ++++++-
 plugins/format/classic/idmef-db-select.c   | 122 ++++++++++++++---------------
 plugins/format/classic/include/db-object.h |   4 +
 plugins/format/classic/schema.txt          |  14 ++--
 5 files changed, 119 insertions(+), 72 deletions(-)

commit e0a3d13df80fb87891be669465309b1a463cc749
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 3 18:27:15 2004 +0000

    Fit latest libprelude API change.

 INSTALL                                  | 2 +-
 plugins/format/classic/classic.c         | 3 ---
 plugins/format/classic/idmef-db-insert.c | 3 ---
 plugins/sql/pgsql/pgsql.c                | 4 ----
 src/db-message-cache.c                   | 2 +-
 src/db.c                                 | 2 --
 src/include/plugin-format.h              | 4 +---
 src/include/plugin-sql.h                 | 3 ---
 src/sql-plugins.c                        | 5 -----
 9 files changed, 3 insertions(+), 25 deletions(-)

commit 5ecfa01eb20a5052a95ceeb876b880d9fdd28908
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Dec 2 18:12:09 2004 +0000

    Merge idmef-v12-work change back in trunk.

 plugins/format/classic/classic.c         |   90 +--
 plugins/format/classic/idmef-db-get.c    |  872 +++++++++++-----------
 plugins/format/classic/idmef-db-insert.c | 1201 +++++++++++++++++-------------
 plugins/format/classic/idmef-db-select.c |   51 +-
 plugins/format/classic/mysql.sql         |  668 +++++++++--------
 plugins/format/classic/schema.txt        |  354 +++++----
 src/db-message-cache.c                   |    4 +-
 src/include/sql.h                        |    7 +
 src/sql.c                                |   99 ++-
 9 files changed, 1905 insertions(+), 1441 deletions(-)

commit bbae36427599859ba2a7e5c6935433caa795dc9f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Nov 21 04:32:03 2004 +0000

    Link to libpreludedb, so we don't end up with undefined reference..

 plugins/sql/mysql/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9bfea90732f0f9340f1eaf1f8820e4425a9ae942
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Nov 9 16:15:26 2004 +0000

    use full path of perl and python found by AC_PATH_PROG

 configure.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a5e231e39e685b65654cfb172f6832d643e9120a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Nov 9 16:04:01 2004 +0000

    restore perl and python detection code that have been removed
    by a bad guy (me)

 configure.in | 7 +++++++
 1 file changed, 7 insertions(+)

commit fcc04fa6707951ac5a7d81d7be5e87a2dec0f807
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Nov 9 13:01:30 2004 +0000

    make the compilation of the generated .c files depending on the
    wrapped .h files

 bindings/Makefile.am | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 55fbf76b1cd6de4b7f870153af9cd28e78d45c60
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Nov 9 02:27:20 2004 +0000

    Use prelude-string instead of idmef-string.

 plugins/format/classic/idmef-db-get.c    |  16 +--
 plugins/format/classic/idmef-db-insert.c |  12 +-
 plugins/format/classic/idmef-db-select.c | 199 ++++++++++++++++---------------
 plugins/format/new/idmef-db-output.c     |   2 +-
 plugins/sql/mysql/mysql.c                |  20 ++--
 plugins/sql/pgsql/pgsql.c                |  18 +--
 src/include/plugin-sql.h                 |   2 +-
 src/include/sql.h                        |   7 +-
 src/sql.c                                |  48 ++++----
 9 files changed, 168 insertions(+), 156 deletions(-)

commit 89ae5c4be5be32cf5450a201b556171fff8e2c06
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Nov 1 16:22:19 2004 +0000

    Update for idmef message read/write api change.

 src/db-message-cache.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit aaf6a0ecd0a8f2b3fcf4f20df065aa55059fcd1c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Nov 1 14:50:46 2004 +0000

    Fit IDMEF message read API change.

 src/db-message-cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e67895410208b4028d0963e45528b301c7d26f36
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Oct 28 15:00:03 2004 +0000

    bug fix: group by idents while fetching message ident list, this avoid possible
    ident duplication

 INSTALL                          | 2 +-
 plugins/format/classic/classic.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 62f4e59908e3f57e740698b2e3d363e395692aa3
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 21 13:25:59 2004 +0000

    Disable dlpreopening for plugins since it give a redondant dependencie problem...
    Will try to find a workaround later.

 Makefile.am     | 2 +-
 src/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 802f8ec82e2c3e788af63739c6257fb97e245480
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Oct 20 19:29:16 2004 +0000

    Use libpreludedb.la in order to link classic with libpreludedb.

 plugins/format/classic/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dac3981b2d54d67aec06e216f6053b9f8dd01437
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Oct 20 19:10:03 2004 +0000

    fix bad library path

 plugins/format/classic/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3addc2c5bf0f2b54f54dfc1c90823899493422e1
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Oct 19 22:48:19 2004 +0000

    bug fix: a blank space was missing

 plugins/format/classic/classic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6cf6e065e27e93475718b812dc97d0348fdbf699
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 13:39:33 2004 +0000

    Use @LIBPRELUDE_CFLAGS@

 bindings/perl/Makefile.PL.in | 2 +-
 bindings/python/setup.py.in  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 08b65ec862dd43d68c6669e8121c0fe6c3937c9a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 00:43:02 2004 +0000

 src/include/db.h | 33 ---------------------------------
 1 file changed, 33 deletions(-)

commit 62d4fbea543677623ee7e30e83137745ce6fc08b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 00:13:10 2004 +0000

    Add missing header file.

 src/include/db.h | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

commit df9a9f5e5bf56649e02156db7b40502127fee2fa
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 00:11:53 2004 +0000

    Remove swig generated source code.

 bindings/perl/PreludeDB.c    | 3674 ------------------------------------------
 bindings/python/_preludedb.c | 2491 ----------------------------
 2 files changed, 6165 deletions(-)

commit 293a86b0ae9dd050f00ba029f2089bd24d223e93
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 00:10:23 2004 +0000

    Revert previous commit enabling -export-dynamic, and link the classic format
    plugin to libprelude and libpreludedb.

 plugins/format/classic/Makefile.am | 5 +++--
 src/Makefile.am                    | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

commit 884d967aeab87348f98e4245ef10ab42b6a631f6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 00:01:58 2004 +0000

    Add missing space.

 bindings/python/setup.py.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 44bfe0821d66285b6b3c416f6d987bbcffa715c8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:57:14 2004 +0000

    Update to more recent swig, python and perl detection scheme.

 configure.in | 67 ++++++++++++++++++------------------------------------------
 1 file changed, 20 insertions(+), 47 deletions(-)

commit adba552dd85301fa65050f52d338c4530f657191
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:56:39 2004 +0000

    Port the bindings build system work done in libprelude to libpreludedb,
    so that bindings compile and install correctly.

 bindings/Makefile.am         | 75 +++++++++++++++++++++++++++++++++++++++-
 bindings/perl/Makefile.PL.in | 45 ++++++++++++++++++++++++
 bindings/perl/Makefile.am    | 27 ---------------
 bindings/python/Makefile.am  | 26 --------------
 bindings/python/setup.py.in  | 82 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 201 insertions(+), 54 deletions(-)

commit ee4fdaeddef4453ed9f9b1a6b51987fd6ffbc9b4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:55:00 2004 +0000

    Add mysql.sql, pgsql.sql, schema.txt to EXTRA_DIST, and create
    the uninstall-local target to remove them to fix make distcheck.

 plugins/format/classic/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

commit 8c0e38a3dd2bd78fa5d582e7acfb1fb3495a62fc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:49:40 2004 +0000

    Fix unresolved symbols. Untabify.

 plugins/format/classic/idmef-db-insert.c | 635 ++++++++++++++++---------------
 1 file changed, 318 insertions(+), 317 deletions(-)

commit abd19e0c0d88b2672fa4f5c918b305e6c0312f1e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:23:36 2004 +0000

    Add missing libtool.m4

 m4/libtool.m4 | 6027 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 6027 insertions(+)

commit 554b962f2aa2d55abe29c2d9f9132719951efdc2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:21:09 2004 +0000

    Fix link ordering.

 bindings/perl/Makefile.am   | 2 +-
 bindings/python/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 85d12390e746123e26c5710adba2a25b1ed91aa2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 21:38:14 2004 +0000

    Re activate -export-dynamic, which is needed for libpreludedb plugin.

 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f7d4077cae41b3ee1de80f01f3349f07f6f78ffc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 19:39:12 2004 +0000

    Include missing stdio.h.

 src/db-connection.c | 1 +
 1 file changed, 1 insertion(+)

commit f3c9cbac33309fe77abc0813ac47305008317e5a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Oct 16 13:25:00 2004 +0000

    Slight variable substitution fix.

 configure.in           | 6 ++++--
 libpreludedb-config.in | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

commit 9a32f439032c75ad3c0b60994331b1194d8b87e7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 14 12:09:58 2004 +0000

    Quote version string.

 src/include/db.h.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9d6d2153e22960897fcc01861fd2cd40deeed238
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 14 11:46:25 2004 +0000

    Commit missing file.

 plugins/format/classic/include/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit 84ef1cf7a8739ccaec4f226eedd795c97ad4ef17
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 14 11:35:21 2004 +0000

    Generate db.h from db.h.in, and substitute LIBPRELUDEDB_VERSION
    with the version number provided to automake. This fix a configure error
    with SVN snapshots where the headers LIBPRELUDEDB_VERSION version was different
    from the autoconf provided version.
    
    Thanks to Jochen Schlick <jochen.schlick@comsoft.de> for pointing the problem.

 configure.in            |  1 +
 src/include/Makefile.am |  3 ++-
 src/include/db.h        | 33 ---------------------------------
 src/include/db.h.in     | 33 +++++++++++++++++++++++++++++++++
 4 files changed, 36 insertions(+), 34 deletions(-)

commit e2115c0581d84ce9e35d2cd28778313a58b38215
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 11 00:07:35 2004 +0000

    Several build fix. Fixed libpreludedb-config so that static linking work.
    Provide libpreludedb.m4

 INSTALL                            | 131 +++++++++++++++++---------
 Makefile.am                        |   3 +-
 acinclude.m4                       | 149 ------------------------------
 autogen.sh                         |   9 +-
 configure.in                       |  29 +++---
 libpreludedb-config.in             |   8 +-
 m4/Makefile.am                     |   2 +
 m4/ax_cflags_gcc_option.m4         | 183 +++++++++++++++++++++++++++++++++++++
 m4/libprelude.m4                   | 168 ++++++++++++++++++++++++++++++++++
 m4/libpreludedb.m4                 | 168 ++++++++++++++++++++++++++++++++++
 plugins/Makefile.am                |   2 +-
 plugins/format/classic/Makefile.am |   4 +-
 plugins/sql/mysql/Makefile.am      |   2 +-
 plugins/sql/pgsql/Makefile.am      |   2 +-
 src/Makefile.am                    |   4 +-
 src/db.c                           |  30 ++++++
 src/format-plugins.c               |   2 +-
 src/include/db.h                   |   3 +
 src/sql-plugins.c                  |   1 -
 src/sql.c                          |   1 -
 20 files changed, 678 insertions(+), 223 deletions(-)

commit 6b7bfc4179404e36bf556c2d5f96ebb230ce36f9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 20 16:01:14 2004 +0000

    Fix format string when printing 64 bits integer on 64 bit system.

 bindings/libpreludedb.i   |    4 +-
 bindings/perl/PreludeDB.c | 1228 +++++++++++++++++++++++----------------------
 2 files changed, 633 insertions(+), 599 deletions(-)

commit 93cb049a92b6e299ac251703be8733a4833829dc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 20 15:56:52 2004 +0000

    Fix format string when printing 64 bits integer on 64 bit system.

 plugins/format/classic/classic.c         |  2 +-
 plugins/format/classic/idmef-db-delete.c | 92 ++++++++++++++++----------------
 plugins/format/classic/idmef-db-get.c    | 74 ++++++++++++-------------
 plugins/format/classic/idmef-db-insert.c | 69 ++++++++++++------------
 src/db-message-cache.c                   |  2 +-
 src/sql.c                                |  4 +-
 6 files changed, 122 insertions(+), 121 deletions(-)

commit ac5e6a1f4c27a78729428f8990afa3444be1fc73
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 20 11:45:45 2004 +0000

    Remove invalid dependency.

 plugins/format/classic/Makefile.am | 2 --
 1 file changed, 2 deletions(-)

commit 197e9e281f0b959b3faf6b9b4ad0410ba3378d07
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Sep 19 16:44:38 2004 +0000

    dlpreopening support.

 Makefile.am                      |  2 +-
 plugins/format/classic/classic.c |  6 +++++-
 plugins/sql/mysql/mysql.c        |  5 ++++-
 plugins/sql/pgsql/pgsql.c        |  3 ++-
 src/Makefile.am                  | 11 +++++++++++
 5 files changed, 23 insertions(+), 4 deletions(-)

commit 0318067bbaf707f31a90dc75a7af53ebc044a425
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jul 23 15:09:48 2004 +0000

    raise an exception when an {alert,heartbeat}/{delete,get} fail

 bindings/python/preludedb.py | 42 +++++++++++++++++++++++++++++++-----------
 1 file changed, 31 insertions(+), 11 deletions(-)

commit aa4742372f389622d7a9a0234aeb2352a448ef83
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 16 10:10:47 2004 +0000

    Fix leak on error in prelude_db_interface_new().

 src/db-interface.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit 96000f180b88750b45903e6450b794645c4c71b4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jul 13 22:17:49 2004 +0000

    Fix a leak on connection error.

 src/sql.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit 7ef6f891b3065249922ba791e49e9fdbd9b94bd5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 29 13:25:36 2004 +0000

    * plugins/sql/mysql/mysql.c: include <mysql.h> instead of <mysql/mysql.h>,
      as we already have the mysql include directory in the include path.

 plugins/sql/mysql/mysql.c | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

commit 3576343b40ed3b42f4e7d96f6d0da9f42c75579d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 25 09:33:12 2004 +0000

    revert SQL schema modification. They didn't meant to be commited

 plugins/format/classic/mysql.sql | 3 ---
 plugins/format/classic/pgsql.sql | 3 ---
 2 files changed, 6 deletions(-)

commit 5629245d3f679c2c8119d97ba9828c54ef28066c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 25 09:10:10 2004 +0000

    Applied patch from Rodolphe Ortalo <rodolphe.ortalo@cram-mp.fr>:
    
     Apparently, in order to build and install the latest libprelude an
     libpreludedb from a _separate_ build directory (as in: cd libprelude &&
     mkdir build && cd build && ../configure && make) one needs to apply the
     following modifications to some Makefile.am: see attached patches.
     Note the distinction between $(top_srcdir), $(top_builddir), $(srcdir) and
     . [$(builddir) in fact] in automake.

 Makefile.am                        | 2 +-
 bindings/perl/Makefile.am          | 4 ++--
 bindings/python/Makefile.am        | 4 ++--
 plugins/format/classic/Makefile.am | 8 ++++----
 plugins/format/classic/mysql.sql   | 3 +++
 plugins/format/classic/pgsql.sql   | 3 +++
 6 files changed, 15 insertions(+), 9 deletions(-)

commit aa6ba7f93f27b388a550dbd0f05c37801f6fd170
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Jun 22 14:40:47 2004 +0000

    bug fix for heartbeat handling

 bindings/python/preludedb.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit eacb5ddaf5037a88cd61a7257cb4bbb0884ac125
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 15 13:21:21 2004 +0000

    * dev/prelude/svn/trunk/libpreludedb/plugins/format/classic/mysql.sql:
      use unique index on analyzerid+alert_ident to insure we don't insert
      the same things twice.
    
    * dev/prelude/svn/trunk/libpreludedb/plugins/format/classic/pgsql.sql
      (): ditto... Need to be tested.

 plugins/format/classic/mysql.sql | 3 ++-
 plugins/format/classic/pgsql.sql | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 0506f03e267933518fdb1664671e288ad4d35958
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Jun 1 11:27:53 2004 +0000

    * bindings/perl/PreludeDB.c:
      regenerate the bindings with swig 1.3.19

 bindings/perl/PreludeDB.c | 1218 ++++++++++++++++++++++-----------------------
 1 file changed, 592 insertions(+), 626 deletions(-)

commit d98eb4d76f63aa6b4e28e41537c32b6a73f52018
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 31 11:32:11 2004 +0000

    * libpreludedb/configure.in
      (libprelude_db_cflags): expand prefix.

 configure.in | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

commit 2f02d4fab4d6f3b017f8aa7a94e0aa72c89e33cc
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri May 28 08:59:58 2004 +0000

    * support for alerts/heartbeats identified by the unique analzerid/{alert,heartbeat}_ident pair

 plugins/format/classic/classic.c                 | 100 ++++++++++++++++++++++-
 plugins/format/classic/idmef-db-delete.c         |  43 +---------
 plugins/format/classic/idmef-db-get.c            |  58 ++-----------
 plugins/format/classic/idmef-db-insert.c         |  80 ++++++++++++++++--
 plugins/format/classic/include/idmef-db-delete.h |   6 +-
 plugins/format/classic/include/idmef-db-get.h    |   2 +
 plugins/format/classic/mysql.sql                 |  12 ++-
 plugins/format/classic/schema.txt                |   4 +-
 8 files changed, 192 insertions(+), 113 deletions(-)

commit 21cd4a14fc3594a743a80aa61b9bc7f4e433d891
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu May 27 21:47:12 2004 +0000

    * update perl binding to the underlying C API

 bindings/perl/PreludeDB.pm | 41 ++---------------------------------------
 1 file changed, 2 insertions(+), 39 deletions(-)

commit 9da9218568045f11efebb9d7e086cf116fbc59f8
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu May 27 21:41:51 2004 +0000

    * fit last API changes of the underlying prelude_db_interface_get_{alert,heartbeat}
      C functions

 bindings/python/preludedb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 065214b12ff42686f92aa55371928077e51a665d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 24 17:40:27 2004 +0000

    * libpreludedb/configure.in:
      generate prelude-db-create.sh.
    
    * libpreludedb/prelude-db-create.sh.in:
      move and rename from prelude-manager. Adapt to libpreludedb.
    
    * libpreludedb/Makefile.am:
      install prelude-db-create.sh.
    
     * libpreludedb/plugins/format/classic/Makefile.am
      (install-data-local): install SQL schema.

 Makefile.am                        |   2 +-
 configure.in                       |   4 +-
 plugins/format/classic/Makefile.am |   1 +
 prelude-db-create.sh.in            | 413 +++++++++++++++++++++++++++++++++++++
 4 files changed, 418 insertions(+), 2 deletions(-)

commit 8ad24eeca7211a910ee36555e8b9aee209fcc416
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun May 23 18:06:03 2004 +0000

    * libpreludedb/plugins/format/classic/pgsql.sql:
      Support 64 bits unsigned int idents.

 plugins/format/classic/pgsql.sql | 126 +++++++++++++++++++--------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

commit e27b9f51c88a60e48ca2d321a259e3a8d7ce9496
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun May 23 17:56:14 2004 +0000

    port to new prelude-list.h API

 bindings/libpreludedb.i                  |  2 +-
 bindings/perl/PreludeDB.c                |  2 +-
 bindings/python/_preludedb.c             |  2 +-
 plugins/format/classic/db-object.c       | 29 +++++++++---------
 plugins/format/classic/idmef-db-insert.c |  1 -
 plugins/format/classic/idmef-db-select.c | 43 ++++++++++++++-------------
 plugins/sql/mysql/mysql.c                |  1 -
 plugins/sql/pgsql/pgsql.c                |  1 -
 src/db-interface-string.c                |  1 -
 src/db-interface.c                       |  6 +---
 src/db-object-selection.c                | 24 +++++++--------
 src/sql-plugins.c                        |  2 +-
 src/sql.c                                | 51 ++++++++++++++++++--------------
 13 files changed, 83 insertions(+), 82 deletions(-)

commit 67f6d2c985ae7d37b2e9787c800c75e5ef2940ee
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun May 23 11:55:18 2004 +0000

    * libpreludedb/plugins/format/classic/classic.c:
      remove a lot of obsolete code.
    
    * db-interface.c
      (prelude_db_interface_get_alert):
      (prelude_db_interface_get_heartbeat): remove obsoleted object_list parameter.
    
    * bindings: updated.

 bindings/perl/PreludeDB.c        |  77 ++++++---------
 bindings/python/_preludedb.c     |  67 ++++++-------
 plugins/format/classic/classic.c | 200 +--------------------------------------
 src/db-interface.c               |  10 +-
 src/include/db-interface.h       |   6 +-
 src/include/plugin-format.h      |  10 +-
 6 files changed, 74 insertions(+), 296 deletions(-)

commit eef52f9458159f1eac67ec26e986587607dc835f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat May 22 22:53:47 2004 +0000

    use BIGINT UNSIGNED for ident

 plugins/format/classic/mysql.sql | 126 +++++++++++++++++++--------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

commit 6bc2c291155673f61b34abba69c5f762a20b48a1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat May 22 13:15:46 2004 +0000

    Regenerated bindings

 bindings/perl/PreludeDB.c    | 1316 ++++++++++++++++++++++--------------------
 bindings/python/_preludedb.c |  372 +++++++-----
 2 files changed, 916 insertions(+), 772 deletions(-)

commit d9473488e6207683c58cfac064fbd8606b21a7e7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat May 22 13:15:29 2004 +0000

    * libpreludedb/src/sql.c: fit latest API change.
    
      (build_criterion_fixed_sql_like_value): cleanup parser, fix a possible
      off by one.
    
      (prelude_sql_idmef_relation_to_string): new relation naming, use a loop
      to find the matching relation.
    
    * libpreludedb/plugins/format/classic/idmef-db-select.c
      remove old/unused code.
      (criteria_to_sql:) update to work with new idmef-criteria implementation.

 plugins/format/classic/classic.c         |  12 +-
 plugins/format/classic/idmef-db-select.c | 200 +++++--------------------------
 plugins/sql/mysql/mysql.c                |   2 +-
 plugins/sql/pgsql/pgsql.c                |   2 +-
 src/db-interface.c                       |   4 +-
 src/include/db-interface.h               |   2 +-
 src/include/plugin-sql.h                 |   2 +-
 src/include/sql.h                        |   4 +-
 src/sql.c                                | 153 ++++++++++-------------
 9 files changed, 107 insertions(+), 274 deletions(-)

commit 6575838fb8da7bc3325cc51fd96cfd6a462473cb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat May 22 09:05:00 2004 +0000

    Merge pgsql plugins-instances port

 plugins/sql/pgsql/pgsql.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

commit d90ef6fb1816750d270a8f52852996d9cd5c3262
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri May 21 17:59:13 2004 +0000

    Merge back plugins-instances change into trunk

 plugins/format/classic/classic.c         |  12 +-
 plugins/format/classic/idmef-db-insert.c |   5 +-
 plugins/sql/mysql/mysql.c                |   9 +-
 src/db-interface.c                       |   4 +-
 src/db.c                                 |  21 +---
 src/filter-plugins.c                     | 202 -------------------------------
 src/format-plugins.c                     |   4 +-
 src/include/dispatch.h                   |  16 ---
 src/include/plugin-format.h              |  10 +-
 src/include/plugin-sql.h                 |  12 +-
 src/sql-plugins.c                        |  10 +-
 src/sql.c                                |   4 +-
 12 files changed, 39 insertions(+), 270 deletions(-)

commit fdb0c2b7482dae836d87318c3c19c2a88696bde9
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun May 16 12:11:18 2004 +0000

    fix a compilation error in the case libpreludedb
    is compiled without Perl/Python support

 bindings/perl/Makefile.am   | 4 +++-
 bindings/python/Makefile.am | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

commit 7a1bfddebf7bb870907e82090a734294b80c2571
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon May 10 16:23:37 2004 +0000

    bug fix (it could lead to a crash)

 bindings/python/preludedb.py | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

commit fc59cf776591ec0ec7cfb1ebb188995386c62997
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 1 09:42:55 2004 +0000

    	* plugins/format/classic/mysql.sql:
    	* plugins/format/classic/pgsql.sql:
    	bug fix, the service_ident field was missing in table Prelude_WebService

 plugins/format/classic/mysql.sql | 1 +
 plugins/format/classic/pgsql.sql | 1 +
 2 files changed, 2 insertions(+)

commit 1ff4c2060d1345fda9512894dd4c46a32170a247
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Mar 29 19:53:53 2004 +0000

    	* bindings/python/preludedb.py:
    	bug fix

 bindings/python/preludedb.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit b7e41c4265d6f8590b21ec77b6f0b3a733493289
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Mar 24 22:28:42 2004 +0000

    	* libpreludedb/configure.in:
    	fix wrong installation paths for libpreludedb (bindings
    	were installed in libprelude path instead of libpreludedb)
    
    	* libpreludedb/bindings/python/preludedb.py:
    	* libpreludedb/bindings/perl/PreludeDB.pm:
    	support of db message insertion for perl and python bindings

 bindings/perl/PreludeDB.pm   | 8 ++++++++
 bindings/python/preludedb.py | 5 +++++
 configure.in                 | 4 ++--
 3 files changed, 15 insertions(+), 2 deletions(-)

commit 75f44721f6258556f3de21b217a6a960dc235435
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 6 20:46:32 2004 +0000

    * dev/prelude/svn/trunk/libpreludedb/plugins/format/classic/idmef-db-get.c
      (get_target): use idmef_target_decoy_to_numeric().
      (get_source): use idmef_source_spoofed_to_numeric().
    
    * dev/prelude/svn/trunk/libpreludedb/plugins/format/classic/idmef-db-insert.c
      (insert_target): use idmef_target_decoy_to_string().
      (insert_source): use idmef_source_spoofed_to_string().

 plugins/format/classic/idmef-db-get.c    | 4 ++--
 plugins/format/classic/idmef-db-insert.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 3fc11d48086afe63900d6a320278cd4652316242
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 5 19:11:16 2004 +0000

    * db-message-cache.c
      (msg_to_heartbeat): idmef_recv_heartbeat() -> idmef_read_heartbeat().
      (msg_to_alert): idmef_recv_alert() -> idmef_read_alert().
      (write_message_to_cache): idmef_send_message() -> idmef_write_message().

 src/db-message-cache.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 5124e6c78ebc990d04103916990fe5ad45c3922e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 5 19:06:25 2004 +0000

    Fit libprelude IDMEF API change.

 plugins/format/classic/classic.c                 |  2 +-
 plugins/format/classic/idmef-db-insert.c         | 34 +++++++++++-------------
 plugins/format/classic/include/idmef-db-insert.h |  4 +--
 src/db-message-cache.c                           |  4 +--
 src/include/plugin-format.h                      |  2 +-
 5 files changed, 21 insertions(+), 25 deletions(-)

commit 27a0e40d36c80f5c59354602d0e7cd2726f15a0c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 5 19:06:04 2004 +0000

    remove deprecated autoconf file. Fix call to AC_DEFINE to shutup
    autoconf.

 acconfig.h   | 8 --------
 configure.in | 2 +-
 2 files changed, 1 insertion(+), 9 deletions(-)

commit 7636e62ca12462c4f2a18177c83fe83e37daf6f7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Feb 12 22:53:20 2004 +0000

    	* configure.in: correct test for python/perl.

 ChangeLog    |   4 +++
 configure.in | 106 +++++++++++++++++++++++++++++++----------------------------
 2 files changed, 59 insertions(+), 51 deletions(-)

commit 64cee2a574f84d603f69c00d24a6de94d4c9c5c8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Feb 6 00:46:15 2004 +0000

    	* plugins/format/classic/idmef-db-insert.c (insert_additional_data):
    	use the size returned by idmef_additionaldata_data_to_string().

 ChangeLog                                |  5 +++++
 plugins/format/classic/idmef-db-insert.c | 11 ++++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

commit 63056581bb1cc7cbd0c02bbf9f3ce52fbc30bf55
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 3 10:20:17 2004 +0000

    	* plugins/sql/pgsql/pgsql.c (db_build_time_constraint):
    	* plugins/sql/mysql/mysql.c (db_build_time_constraint):
    	remove call to prelude_get_gmt_offset(). gmt_offset is already
    	provided as an argument, and so it make no sense to compute it
    	again. Fix re-declaration of gmt_offset.
    
    	* src/sql.c (build_time_constraint, build_criterion_hour):
    	update call to prelude_get_gmt_offset() to fit API change.
    
    	* plugins/format/classic/idmef-db-insert.c (insert_additional_data):
    	back to using idmef_additionaldata_data_to_string(), which should
    	now work better.

 ChangeLog                 |  9 +++++++++
 plugins/sql/mysql/mysql.c |  7 +------
 plugins/sql/pgsql/pgsql.c |  4 ----
 src/sql.c                 | 13 +++++++------
 4 files changed, 17 insertions(+), 16 deletions(-)

commit cf296bbdf25dade85b6c064b2683c5671d23e654
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 3 00:20:01 2004 +0000

    	* plugins/format/classic/idmef-db-insert.c (insert_additional_data):
    	back to using idmef_additionaldata_data_to_string(), which should
    	now work better.

 ChangeLog                                |  6 ++++++
 plugins/format/classic/idmef-db-insert.c | 33 ++++++++++++++++++++------------
 2 files changed, 27 insertions(+), 12 deletions(-)

commit 3f7c29f88902e199452ba900c58236cf364bc0b0
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Feb 1 16:33:05 2004 +0000

    	* bindings/python/preludedb.py:
    	(PreludeDB.get_values)
    	bug fixes: wrong test for tmp, and destroy function call of
    	the wrong variable

 ChangeLog                    | 7 +++++++
 bindings/python/preludedb.py | 6 +++---
 2 files changed, 10 insertions(+), 3 deletions(-)

commit 4a94bb56653e6b402a493e992a2f516efe051428
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Jan 31 13:04:29 2004 +0000

    	* plugins/format/classic/idmef-db-insert.c (insert_additional_data):
    	remove call to idmef_additionaldata_data_to_string(). This function
    	does absolutly nothing useful, and it's removal is pending. Use
    	prelude_sql_escape_fast().

 ChangeLog                                |  7 +++++++
 plugins/format/classic/idmef-db-insert.c | 15 +++++++--------
 2 files changed, 14 insertions(+), 8 deletions(-)

commit ac4be614665a70c9b8583a345d722e59cf49f53f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 30 13:08:37 2004 +0000

    	* plugins/sql/mysql/mysql.c (db_escape):
    	s/string/buf/

 ChangeLog                 | 5 +++++
 plugins/sql/mysql/mysql.c | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

commit 9710ed309096e624dc966a26734495b0d6e5ffb8
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jan 30 07:44:20 2004 +0000

    	* src/sql.c:
    	(build_criterion_timestamp)
    	bug fix, handle the "<=" relation correctly

 ChangeLog | 6 ++++++
 src/sql.c | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

commit 037b39788ae65565a6aa83987c87a22431712bc6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jan 28 19:06:57 2004 +0000

    	* src/sql.c (prelude_sql_escape_fast):
    	implement. Same as prelude_sql_escape() but take
    	a size as argument.
    
    	* plugins/sql/pgsql/pgsql.c (db_escape):
    	* plugins/sql/mysql/mysql.c (db_escape):
    	now take a len argument. We doesn't compute len
    	by ourself anymore.

 ChangeLog                 | 11 +++++++++++
 plugins/sql/mysql/mysql.c |  8 +++-----
 plugins/sql/pgsql/pgsql.c |  6 ++----
 src/include/plugin-sql.h  |  2 +-
 src/include/sql.h         |  1 +
 src/sql.c                 | 22 ++++++++++++++++++----
 6 files changed, 36 insertions(+), 14 deletions(-)

commit 6b4696c94073f30fc67bc4c4d7b7bc9e362b65b1
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 25 18:11:53 2004 +0000

    	Add support of time manipulation functions to pgsql

 ChangeLog                 |   1 +
 plugins/sql/mysql/mysql.c |   2 +-
 plugins/sql/pgsql/pgsql.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 105 insertions(+), 1 deletion(-)

commit fb46d68228f65b99f05b1e1636bdbaf3060f8928
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 25 17:46:15 2004 +0000

    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/python/_preludedb.c:
    	regenerated
    
    	* bindings/python/preludedb.py:
    	add support for prelude_db_interface_get_*_ident_list_len
    
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	* plugins/format/classic/classic.c:
    	add the ability to get the len of a db message ident list
    
    	* plugins/format/classic/classic.c:
    	(classic_get_values)
    	bug fix, convert from UTC to localtime the time fields retrieved
    
    	* plugins/format/classic/idmef-db-select.c:
    	* src/sql.c:
    	* src/include/sql.h:
    	* src/include/plugin-sql.h
    	* plugins/sql/mysql/mysql.c:
    	add support for idmef-criterion-value

 ChangeLog                                |  28 ++
 bindings/perl/PreludeDB.c                | 216 +++++++++++++-
 bindings/python/_preludedb.c             | 133 ++++++++-
 bindings/python/preludedb.py             |  19 +-
 plugins/format/classic/classic.c         |  91 ++++--
 plugins/format/classic/idmef-db-select.c |  40 ++-
 plugins/sql/mysql/mysql.c                | 103 +++++++
 src/db-interface.c                       |  16 ++
 src/include/db-interface.h               |   4 +
 src/include/plugin-format.h              |   8 +
 src/include/plugin-sql.h                 |  24 +-
 src/include/sql.h                        |   5 +
 src/sql.c                                | 470 ++++++++++++++++++++++++++++++-
 13 files changed, 1090 insertions(+), 67 deletions(-)

commit f8a2c4106c5b0c565589601d8cf273cb90581e1a
Author: Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
Date:   Fri Jan 23 14:55:27 2004 +0000

    change parent_type fields from VARCHAR(1) to ENUM('S','T','H','A') in mysql schema

 plugins/format/classic/mysql.sql | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

commit a2c686b8e09cd12ec9b8c858d0a547f700a43ecc
Author: Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
Date:   Thu Jan 22 18:40:42 2004 +0000

    add keys to speed up piwi when database starts to be huge

 plugins/format/classic/mysql.sql | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

commit c3b04aca771e434a9a28c02957886cd79effb04f
Author: Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
Date:   Fri Jan 16 21:03:20 2004 +0000

    indent fix only, no content change
    tabs in .sql files are evil, replace by plain spaces

 plugins/format/classic/pgsql.sql | 48 ++++++++++++++++++++--------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

commit 18868747ae8f92a0873e0045206798f0c79a889c
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jan 14 21:53:54 2004 +0000

    	* plugins/format/classic/pgsql.sql:
    	bug fix, switch all time field in TIMESTAMP type
    	(instead of VARCHAR or DATE types)
    
    	* plugins/sql/pgsql/pgsql.c:
    	(db_field_fetch)
    	(db_field_fetch_by_name)
    	bug fix, return NULL if the field contains NULL

 ChangeLog                        | 11 +++++++++++
 plugins/format/classic/pgsql.sql | 14 +++++++-------
 plugins/sql/pgsql/pgsql.c        | 15 ++++++++-------
 3 files changed, 26 insertions(+), 14 deletions(-)

commit 9d43884e3f64616bf41ba213ab5a18f3018d7e6f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jan 14 18:24:53 2004 +0000

    	* plugins/sql/pgsql/pgsql.c (db_escape):
    	checking the wrong variable is bad for your health.

 ChangeLog                 | 5 +++++
 plugins/sql/pgsql/pgsql.c | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

commit a6c093d12ca282d6884d9398f7fe52d4d965b87a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 11 20:24:58 2004 +0000

    	test

 plugins/format/classic/db-object.c | 2 --
 1 file changed, 2 deletions(-)

commit 709d7ab664653731fbc0236927f2ba109ea3ce75
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 11 17:29:19 2004 +0000

    	* bindings/python/preludedb.py:
    	(PreludeDB.__get_message)
    	bug fix, return None if the underlying C function returns
    	NULL
    
    	* plugins/format/classic/idmef-db-get.c:
    	(get_userid)
    	bug fix, did not check correctly the return value of a
    	get_uint32
    	(get_user)
    	(get_process)
    	bug fix, forgot to set table to NULL after destroying it that could lead
    	to a double free
    	(get_alert)
    	(get_heartbeat)
    	check if the alert/heartbeat is present in the DB before trying to fetch it instead
    	of returning an empty idmef_message if it is not present

 ChangeLog                             | 20 +++++++++++++
 bindings/python/preludedb.py          |  3 ++
 plugins/format/classic/idmef-db-get.c | 54 ++++++++++++++++++++++++++++++++++-
 3 files changed, 76 insertions(+), 1 deletion(-)

commit 4840f10c5ffa1e818c09ba40c91fe7c937166198
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Jan 10 08:10:48 2004 +0000

            * bindings/perl/PreludeDB.pm:
            (get_message_ident_list)
            bug fix for criteria argument retrieval

 ChangeLog                  | 6 ++++++
 bindings/perl/PreludeDB.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit 3441f5e48d38634b430084cb89afd322685f5899
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jan 7 22:36:13 2004 +0000

    	Make yoann happy ;)

 plugins/format/classic/classic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 107306b81182dac12ad6f2259c8ab23b3ea57b65
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jan 7 16:49:49 2004 +0000

    	* plugins/format/classic/classic.c:
    	(get_message)
    	fit idmef_message changes

 ChangeLog                        |  6 ++++++
 plugins/format/classic/classic.c | 12 ++++++------
 2 files changed, 12 insertions(+), 6 deletions(-)

commit 93be93dec40a341c3314a59fc964443a20339ec6
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jan 2 21:55:23 2004 +0000

    	* plugins/format/classic/idmef-db-get.c:
    	(get_timestamp)
    	use idmef_time_set_db_timestamp
    	(*)
    	handle correctly NULL value: don't create empty object
    	for NULL value anymore
    	cleanup

 ChangeLog                             |  10 +
 plugins/format/classic/idmef-db-get.c | 973 ++++++++++++----------------------
 2 files changed, 338 insertions(+), 645 deletions(-)

commit ff62956b08e557fe3b7a8462d8a9dd5af416a816
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Jan 1 23:18:39 2004 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	(insert_inode)
    	(insert_file)
    	bug fix: insertion failed if there was no *time fields
    	fit idmef_time_get_db_timestamp changes
    	(insert_additional_data)
    	bug fix: insertion failed if the len of the data embedded in
    	additional_data was superior to 1024 bytes
    	fit idmef_additionaldata_data_to_string changes
    	(insert_createtime)
    	(insert_detecttime)
    	(insert_analyzertime)
    	fit idmef_time_get_db_timestamp changes

 ChangeLog                                |  20 +++-
 plugins/format/classic/idmef-db-insert.c | 166 ++++++++++---------------------
 2 files changed, 72 insertions(+), 114 deletions(-)

commit c340ec031e03f6bc3ed602a784073d1f117a3219
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 31 14:17:51 2003 +0000

    *** empty log message ***

 ChangeLog                 | 5 +++++
 plugins/sql/pgsql/pgsql.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit d353df9273989bd2e5ae0dffaa8ac9d58eb03af6
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Dec 31 11:53:45 2003 +0000

    	* plugins/format/classic/classic.c:
    	fix some warnings
    
    	* plugins/format/classic/idmef-db-get.c:
    	(get_ntp_timestamp)
    	remove unused variables
    
    	* plugins/sql/pgsql/pgsql.c:
    	bug fix: db_limit_offset was assigned to the escape func
    	entry of the plugin
    
    	* src/param-string.c:
    	fix some warnings

 ChangeLog                             | 16 ++++++++++++++++
 plugins/format/classic/classic.c      |  3 +++
 plugins/format/classic/idmef-db-get.c |  1 -
 plugins/sql/pgsql/pgsql.c             |  4 +++-
 src/param-string.c                    | 31 +++++++++++++++++--------------
 5 files changed, 39 insertions(+), 16 deletions(-)

commit 18adbf685eeaf5c48ff414f693b9c0e54378f071
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Dec 29 18:37:29 2003 +0000

    	* plugins/format/classic/idmef-db-get.c:
    	(get_ntp_timestamp)
    	bug fix: avoid (possibly buggy) code duplication, use
    	idmef_time_new_ntp_timestamp to convert ntp stamptime
    	to idmef_time
    
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/sql/mysql/mysql.c:
    	* plugins/sql/pgsql/pgsql.c:
    	* src/sql.c:
    	* src/include/plugin-sql.h:
    	* src/include/sql.h:
    	make sql limit and offset the sql plugin' job to have a better
    	portability (libpreludedb should re-work with MySQL 3.2x)

 ChangeLog                                | 17 +++++++
 plugins/format/classic/idmef-db-get.c    | 14 +-----
 plugins/format/classic/idmef-db-select.c | 82 +++++++++++++++++---------------
 plugins/sql/mysql/mysql.c                | 19 ++++++++
 plugins/sql/pgsql/pgsql.c                | 20 ++++++++
 src/include/plugin-sql.h                 |  3 ++
 src/include/sql.h                        |  1 +
 src/sql.c                                |  9 ++++
 8 files changed, 114 insertions(+), 51 deletions(-)

commit dcd0a3666674fbfc9c85842d58eb70dfe321cbef
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Dec 29 13:54:40 2003 +0000

    	Cleanup

 ChangeLog                    |   1 +
 bindings/python/preludedb.py | 148 +++++++++++++++++++++++--------------------
 2 files changed, 79 insertions(+), 70 deletions(-)

commit 78f0f78d1277a80f1784c48d0abd4e435f0c1158
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Dec 29 11:20:29 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	(PreludeDBSQL)
    	remove the "close" method (it should not be directly accessed)
    
    	* bindings/python/preludedb.py:
    	documentation written
    	remove the "close" method (see above)

 ChangeLog                    | 10 +++++
 bindings/perl/PreludeDB.pm   |  8 ----
 bindings/python/preludedb.py | 93 +++++++++++++++++++++++++++++++++++++-------
 3 files changed, 90 insertions(+), 21 deletions(-)

commit 260ac5095eb5d0e97547d8fa3be2c7232a58cb1f
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 28 22:21:30 2003 +0000

    	Fixes

 plugins/format/classic/idmef-db-select.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit eeafdb5b1e1ac7c3c228217052c8625c56854ebe
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 28 16:10:08 2003 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	insert an empty string ("") if a MUST-BE-PRESENT string
    	does not contain anything

 ChangeLog                                |  6 ++
 plugins/format/classic/idmef-db-insert.c | 94 +++++++++++++++++++-------------
 2 files changed, 61 insertions(+), 39 deletions(-)

commit ae908c25abeaaa8386822c0b83e7a14cbafa24fa
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 28 15:18:55 2003 +0000

    	* plugins/format/classic/idmef-db-select.c:
    	(relation_to_sql)
    	fit last changes of prelude_sql_escape (and underlying
    	db_escape sql plugin functions): the value is already quoted
    	cleanup

 ChangeLog                                |  8 +++
 plugins/format/classic/idmef-db-select.c | 92 +++++++++++++++++---------------
 plugins/sql/mysql/mysql.c                |  2 +-
 3 files changed, 59 insertions(+), 43 deletions(-)

commit b53b82243916bd541c9c8b0216fafbf680ffa5e0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 27 23:55:39 2003 +0000

    Ooops

 plugins/sql/mysql/mysql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 9b7d87e0f0628d03fc3908a99fbacb263d1e35ef
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Dec 27 16:29:09 2003 +0000

    	* bindings/python/preludedb.py:
    	fixes

 ChangeLog                    |  5 +++++
 bindings/python/preludedb.py | 25 +++++++++++++++++++++++--
 2 files changed, 28 insertions(+), 2 deletions(-)

commit 9c1732301b6af90c0250d808da4f33f630dfe8a1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 27 16:26:14 2003 +0000

    *** empty log message ***

 plugins/sql/pgsql/pgsql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 68bcecd44a661ff7ce1bc4c2a9a52145dbb70061
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 27 16:17:47 2003 +0000

            * src/include/Makefile.am (noinst_HEADERS):
            * src/Makefile.am (libpreludedb_la_SOURCES):
            * src/include/gdb.h:
            * src/gdb.c:
            removed.

 ChangeLog               | 20 +++++++++++++-------
 src/Makefile.am         |  1 -
 src/gdb.c               | 39 ---------------------------------------
 src/include/Makefile.am |  1 -
 src/include/gdb.h       |  7 -------
 5 files changed, 13 insertions(+), 55 deletions(-)

commit 5a9bd27484417fbbe4be9686dd1757eea5a0dc48
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 27 16:08:12 2003 +0000

            * plugins/sql/mysql/mysql.c (cleanup):
            * plugins/sql/pgsql/pgsql.c (cleanup):
            fix possible NULL pointer dereference on cleanup.
    
            * plugins/sql/mysql/mysql.c (db_escape):
            * plugins/sql/pgsql/pgsql.c (db_escape):
            updated. Return "NULL" if input is NULL. Else, quote
            the string using '' characters. Please note that this
            plugin is seriously updated compared to 0-8 version
            and that it should be synced asap.
    
            * plugins/format/classic/idmef-db-insert.c (insert_address):
            (insert_node): (insert_userid): (insert_user): (insert_process):
            (insert_snmp_service): (insert_service): (insert_inode):
            (insert_linkage): (insert_analyzer): (insert_target):
            (insert_source): (insert_file): (insert_classification):
            (insert_additional_data): (insert_createtime): (insert_detecttime):
            (insert_impact): (insert_analyzertime): (insert_action):
            (insert_confidence): (insert_overflow_alert): (insert_tool_alert):
            (insert_correlation_alert):
    
            Restore fix already applied to 0-8 branch, where the
            responssability to quote (' ') a string is up to the database plugin.
    
            This avoid insertion of quoted NULL entry in the database, which
            would be considered as valid string.

 ChangeLog                                |  27 +++
 plugins/format/classic/idmef-db-delete.c |   2 +-
 plugins/format/classic/idmef-db-get.c    |   5 +-
 plugins/format/classic/idmef-db-insert.c | 277 ++++++++++++++++++-------------
 plugins/sql/mysql/mysql.c                |  45 +++--
 plugins/sql/pgsql/pgsql.c                |  46 +++--
 6 files changed, 261 insertions(+), 141 deletions(-)

commit 754a4579236a57e1599b7749d7f4b79cf2cf5077
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 27 12:27:40 2003 +0000

            * src/include/Makefile.am (include_HEADERS):
            * src/Makefile.am (libpreludedb_la_SOURCES):
            remove strbuf.[ch].
    
            * plugins/format/classic/idmef-db-select.c:
            use prelude-strbuf instead of libpreludedb own strbuf
            implementation.

 ChangeLog                                |  10 ++
 plugins/format/classic/idmef-db-select.c | 253 ++++++++++++++++---------------
 src/Makefile.am                          |   1 -
 src/include/Makefile.am                  |   3 -
 src/include/strbuf.h                     |  43 ------
 src/strbuf.c                             | 139 -----------------
 6 files changed, 137 insertions(+), 312 deletions(-)

commit 6b87d3bcb31fd4abb2d1a2cd7fa867bb87c67a24
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Dec 26 21:28:12 2003 +0000

    	* plugins/format/classic/db-object.c:
    	* src/db.c:
    	only print debug message if in debug mode

 ChangeLog                          | 4 ++++
 plugins/format/classic/db-object.c | 5 ++++-
 src/db.c                           | 4 +++-
 3 files changed, 11 insertions(+), 2 deletions(-)

commit ee1050036e3f7ac1d8a4b6394595d71303a0cdd0
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Dec 26 21:17:04 2003 +0000

    	* configure.in:
    	don't regenerate the .c source files of bindings during
    	./configure

 ChangeLog    | 6 ++++++
 configure.in | 4 ----
 2 files changed, 6 insertions(+), 4 deletions(-)

commit 4ff6abd39c7e819ec82ba4b11bc917dd0886a65a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Dec 26 18:30:44 2003 +0000

    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/perl/PreludeDB.pm:
    	cleanup
    	(PreludeDBSelection)
    	modified to use the new prelude_db_selected_object_new_string
    	function (the function has been rewritten from Perl to C so that
    	it can be also used from Python)
    
    	* bindings/perl/PreludeDB.i:
    	moved in bindings/libpreludedb.i
    
    	* src/db-connection.c:
    	* src/include/db-connection.h:
    	(prelude_db_connection_get_sql)
    	new function
    
    	* src/db-object-selection.c:
    	* src/include/db-object-selection.h:
    	(prelude_db_selected_object_new_string)
    	new function, it should be used by the bindings
    
    	* bindings/python/*:
    	new files
    	python binding support

 ChangeLog                         |   29 +
 bindings/Makefile.am              |    2 +-
 bindings/generate.sh              |    5 +
 bindings/libpreludedb.i           |  145 +++
 bindings/perl/PreludeDB.c         |  185 ++-
 bindings/perl/PreludeDB.i         |  154 ---
 bindings/perl/PreludeDB.pm        |   65 +-
 bindings/perl/generate.sh         |    2 +-
 bindings/python/Makefile.am       |   24 +
 bindings/python/_preludedb.c      | 2317 +++++++++++++++++++++++++++++++++++++
 bindings/python/generate.sh       |    3 +
 bindings/python/preludedb.py      |  402 +++++++
 configure.in                      |   42 +-
 plugins/format/classic/classic.c  |    3 +-
 src/db-connection.c               |   13 +
 src/db-interface-string.c         |    1 +
 src/db-object-selection.c         |  141 +++
 src/include/db-connection.h       |    2 +-
 src/include/db-interface.h        |    2 +-
 src/include/db-object-selection.h |    1 +
 20 files changed, 3219 insertions(+), 319 deletions(-)

commit 5edf5f0fb16501a3b1fca7d9e71b541aeec750da
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 21 22:36:29 2003 +0000

    	add an "offset" parameter to the prelude_db_interface_select_values
    	function

 ChangeLog                        |  2 ++
 bindings/perl/PreludeDB.c        | 10 ++++++----
 bindings/perl/PreludeDB.pm       |  6 ++++--
 plugins/format/classic/classic.c |  4 ++--
 src/db-interface.c               |  4 ++--
 src/include/db-interface.h       |  2 +-
 src/include/plugin-format.h      |  2 +-
 7 files changed, 18 insertions(+), 12 deletions(-)

commit 1bacaaeea53d54ae9853a781ba607ff5ada5a011
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 21 19:40:23 2003 +0000

    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/format/classic/include/idmef-db-select.h:
    	* plugins/format/classic/classic.c:
    	add a "limit" and an "offset" parameter to the
    	prelude_db_interface_get_{alert,heartbeat}_ident_list functions
    
    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/perl/PreludeDB.pm:
    	fit changes of limit and offset stuff

 ChangeLog                                        | 17 +++++++++++++++
 bindings/perl/PreludeDB.c                        | 22 +++++++++++++------
 bindings/perl/PreludeDB.pm                       | 11 ++++++++--
 plugins/format/classic/classic.c                 | 17 +++++++++------
 plugins/format/classic/idmef-db-select.c         | 27 ++++++++++++++++++------
 plugins/format/classic/include/idmef-db-select.h |  3 +++
 src/db-interface.c                               | 18 ++++++++++------
 src/include/db-interface.h                       |  6 ++++--
 src/include/plugin-format.h                      |  6 ++++--
 9 files changed, 95 insertions(+), 32 deletions(-)

commit 500a6a31bc9ab309f71fa95657013db952e75b6e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Dec 19 14:14:13 2003 +0000

    	* plugins/format/classic/idmef-db-select.c:
    	(relation_to_sql)
    	bug fix for substr relation

 ChangeLog                                | 6 ++++++
 bindings/perl/PreludeDB.c                | 2 +-
 plugins/format/classic/idmef-db-select.c | 4 ++--
 3 files changed, 9 insertions(+), 3 deletions(-)

commit 0c2c39f909b7857bb0ff6ac881f562d7623d7402
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Dec 18 23:45:45 2003 +0000

    	* plugins/format/classic/schema.txt:
    	add support for {alert,heartbeat}.analyzer.{node,process}* objects

 ChangeLog                         |  5 +++++
 plugins/format/classic/schema.txt | 35 +++++++++++++++++++++++++++++++----
 2 files changed, 36 insertions(+), 4 deletions(-)

commit 6e0127004da7e839ee7c0cc1906be12eced803f6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 14 18:45:58 2003 +0000

    * src/db-message-cache.c (cache_write_cb):
    	fix a NULL pointer dereference in the messaging subsystem
    	that would trigger if the cached alert we were written was
    	to big. Return the recycled message.

 ChangeLog              | 7 +++++++
 src/db-message-cache.c | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

commit 141313a2304bda8f6a6d3ec6e967ce2ec0f6dcab
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 14 18:25:18 2003 +0000

    	don't set default path for cache

 bindings/perl/PreludeDB.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8d36a802c7a5b920e167291122486ac82255c9a3
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 14 18:11:49 2003 +0000

    	* src/db-cache.c:
    	renamed in src/db-message-cache.c
    	little code cleanup
    
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	make db-interface use db-message-cache
    
    	* bindings/perl/Prelude.c:
    	regenerated
    
    	* bindings/perl/Prelude.pm:
    	updated to use cache feature of db-interface

 ChangeLog                      |  16 ++
 bindings/perl/PreludeDB.c      | 119 +++++++++----
 bindings/perl/PreludeDB.pm     |   8 +
 src/Makefile.am                |   2 +-
 src/db-cache.c                 | 377 -----------------------------------------
 src/db-interface.c             |  93 +++++++---
 src/db-message-cache.c         | 369 ++++++++++++++++++++++++++++++++++++++++
 src/include/Makefile.am        |   2 +-
 src/include/db-cache.h         |  33 ----
 src/include/db-interface.h     |   9 +-
 src/include/db-message-cache.h |  37 ++++
 11 files changed, 603 insertions(+), 462 deletions(-)

commit fd76b73bf97c2839c78ad82dd010cb9d17488e5d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:37:19 2003 +0000

    *** empty log message ***

 src/db-cache.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

commit 6a962b17b9773934bb4cee0325775799ef83f8e1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:36:38 2003 +0000

    *** empty log message ***

 src/db-cache.c | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

commit 336f2588751b0ddd2ab77217273d9dad37bc4957
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:17:32 2003 +0000

    *** empty log message ***

 src/db-cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit fad0f550a58c414b7ae8d3134de4533c7df09a80
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:14:47 2003 +0000

    *** empty log message ***

 src/db-cache.c | 1 -
 1 file changed, 1 deletion(-)

commit deef51d5671d8cdcd12a1595997296ed8ccd6197
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:14:09 2003 +0000

    *** empty log message ***

 src/db-cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c4c3584562d61d0fc88021b3e1e875e7d71d678e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:06:27 2003 +0000

    *** empty log message ***

 src/db-cache.c | 41 ++++++++++++++++++-----------------------
 1 file changed, 18 insertions(+), 23 deletions(-)

commit 4719a44bcade0a8a27a033f1b93887c95ad33d6a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 15:45:45 2003 +0000

    more db-cache work...

 src/db-cache.c | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

commit f00f3f1c7df024e8a9577cf0d4f3c64a9dab80d6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 14:34:42 2003 +0000

    	* configure.in:
    	stop overwritting user provided CFLAGS.
    
    	* src/sql-connection-data.c:
    	remove useless NULL check.
    
    	* src/include/Makefile.am (includedir):
    	* src/Makefile.am (libpreludedb_la_SOURCES):
    	* src/include/db-cache.h:
    	* src/db-cache.c:
    	database caching mechanism implementation.

 ChangeLog                 |  14 ++
 configure.in              |   8 +-
 src/Makefile.am           |   1 +
 src/db-cache.c            | 372 ++++++++++++++++++++++++++++++++++++++++++++++
 src/include/Makefile.am   |   1 +
 src/include/db-cache.h    |  33 ++++
 src/sql-connection-data.c |  54 ++-----
 7 files changed, 437 insertions(+), 46 deletions(-)

commit d7067f84006785a2e1ba3cb9f93dc1406c2bba27
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Dec 10 17:58:55 2003 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	* plugins/format/classic/idmef-db-select.c:
    	fit last changes of libprelude (stuff moved from
    	idmef-util.c to idmef-time.c)

 ChangeLog                                |  7 +++++++
 bindings/perl/PreludeDB.c                |  2 +-
 plugins/format/classic/idmef-db-insert.c | 20 ++++++++++----------
 plugins/format/classic/idmef-db-select.c |  2 +-
 4 files changed, 19 insertions(+), 12 deletions(-)

commit 67e5557274b92efe2d025103cffc504bbb7b8bba
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Nov 30 12:44:26 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	(PreludeDB::delete_alert)
    	(PreludeDB::delete_heartbeat)
    	bug fix, forgot to port this two functions to the
    	last changes of the libpreludedb C API

 ChangeLog                  |  8 ++++++++
 bindings/perl/PreludeDB.pm | 27 ++++++++++++++++++++-------
 2 files changed, 28 insertions(+), 7 deletions(-)

commit a8bd1147215d2855cbae3a1743637fed61f47616
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Nov 24 07:01:25 2003 +0000

    forgot to remove the include of db-uident.h ...

 plugins/format/classic/idmef-db-get.c | 1 -
 1 file changed, 1 deletion(-)

commit 89c5719e10fd95b3ca9cea0873535006fe79a631
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Nov 23 23:23:08 2003 +0000

    I forgot to add/remove some files...

 src/db-message-ident.c         | 72 ++++++++++++++++++++++++++++++++++++++++++
 src/include/db-message-ident.h | 36 +++++++++++++++++++++
 src/include/db-uident.h        | 37 ----------------------
 3 files changed, 108 insertions(+), 37 deletions(-)

commit 40c4b26377e57475fcaee183a9a43e8889a40306
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Nov 23 19:46:13 2003 +0000

    	* bindings/perl/PreludeDB.i:
    	updated to fit the new db-message-ident.[ch]
    
    	* bindings/perl/PreludeDB.pm:
    	updated to fit the new db-message-ident.c and the API
    	changes of format plugin
    	code cleanup
    
    	* plugins/format/classic/classic.c:
    	updated to fit the new db-message-ident.c
    	code cleanup
    
    	* plugins/format/classic/idmef-db-delete.c:
    	* plugins/format/classic/include/idmef-db-delete.h:
    	updated to fit the new db-message-ident.c
    
    	* plugins/format/classic/idmef-db-select.c:
    	bug fix, handle correctly is_null and is_not_null relations
    
    	* plugins/sql/mysql/mysql.c:
    	remove the double queries limitation
    
    	* plugins/sql/pgsql/pgsql.c:
    	remove the double queries limitation
    	bug fix, db_query did not return NULL for table with 0 row
    
    	* src/db-message-ident.c:
    	* src/include/db-message-ident.h:
    	new files
    	provide message ident manipulation functions
    
    	* src/db-interface-string.c:
    	include db-message-ident.h
    
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	the API for alert ident list retrieving has been changed in order
    	to be more efficient
    	code cleanup
    
    	* src/db.c:
    	* src/include/db.h:
    	include db-message-ident.h
    	prelude_db_shutdown now returns void instead of int
    
    	* src/format-plugins.c:
    	include db-message-ident.h
    
    	* src/include/plugin-format.h:
    	API has been changed to provide a more efficient to way
    	to handle alert lists
    
    	* bindings/perl/PreludeDB.c:
    	regenerated

 ChangeLog                                        |  57 +++
 bindings/perl/PreludeDB.c                        | 539 +++++++++++------------
 bindings/perl/PreludeDB.i                        | 143 +-----
 bindings/perl/PreludeDB.pm                       |  99 +++--
 plugins/format/classic/classic.c                 | 188 +++-----
 plugins/format/classic/idmef-db-delete.c         |  10 +-
 plugins/format/classic/idmef-db-select.c         |  10 +-
 plugins/format/classic/include/idmef-db-delete.h |   4 +-
 plugins/sql/mysql/mysql.c                        |  34 +-
 plugins/sql/pgsql/pgsql.c                        |  42 +-
 src/Makefile.am                                  |   1 +
 src/db-interface-string.c                        |   2 +-
 src/db-interface.c                               | 202 ++++-----
 src/db.c                                         |   6 +-
 src/format-plugins.c                             |   2 +-
 src/include/Makefile.am                          |   2 +-
 src/include/db-interface.h                       |  26 +-
 src/include/db.h                                 |   2 +-
 src/include/plugin-format.h                      |  46 +-
 19 files changed, 595 insertions(+), 820 deletions(-)

commit 4273bdf890674ea7e03a04d82d0f98877a7ad5b0
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Nov 19 20:09:58 2003 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	bug fix, idmef_source_spoofed_to_string does not
    	exist anymore, replace it by idmef_spoofed_to_string
    	thanks to John Green for pointing that out

 ChangeLog                                | 7 +++++++
 plugins/format/classic/idmef-db-insert.c | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

commit 838e5ad99c5c39b36a5f0bcbeb2c344784d7005f
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Nov 18 00:10:27 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	bug fix (IDMEFSelection did not longer exist)

 ChangeLog                  |  5 +++++
 bindings/perl/PreludeDB.c  |  2 +-
 bindings/perl/PreludeDB.pm | 52 +++++++++++++++++++++++++++++++++++-----------
 3 files changed, 46 insertions(+), 13 deletions(-)

commit 28e96ad956c0a8d220d11b235fcc8604960065a0
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Nov 17 00:15:20 2003 +0000

    	* src/db-object-selection.c:
    	* src/include/db-object-selection.h:
    	new files
    	replace idmef-selection
    
    	* bindings/perl/PreludeDB.i:
    	* bindings/perl/PreludeDB.pm:
    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/format/classic/include/idmef-db-select.h:
    	* src/db-interface-string.c:
    	* src/db-interface-string.c:
    	* src/db-interface.c:
    	* src/db.c:
    	* src/format-plugins.c:
    	* src/include/plugin-format.h:
    	fit new selection stuff changes
    
    	* bindings/perl/PreludeDB.c:
    	regenerated

 ChangeLog                                        |  23 ++
 bindings/perl/PreludeDB.c                        | 358 +++++++++++++++++++----
 bindings/perl/PreludeDB.i                        |   2 +
 bindings/perl/PreludeDB.pm                       | 103 ++++++-
 plugins/format/classic/classic.c                 | 144 ++++++---
 plugins/format/classic/idmef-db-select.c         |  90 +++---
 plugins/format/classic/include/idmef-db-select.h |   2 +-
 src/Makefile.am                                  |   1 +
 src/db-interface-string.c                        |   2 +
 src/db-interface.c                               |  19 +-
 src/db-object-selection.c                        | 129 ++++++++
 src/db.c                                         |   1 +
 src/format-plugins.c                             |   2 +
 src/include/Makefile.am                          |   1 +
 src/include/db-interface.h                       |   8 +-
 src/include/db-object-selection.h                |  53 ++++
 src/include/plugin-format.h                      |   8 +-
 17 files changed, 784 insertions(+), 162 deletions(-)

commit eafe5c33e3f4f236c4d2d839d76045050a179d9c
Author: Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
Date:   Sat Nov 15 16:44:31 2003 +0000

    remove 'strip'ping of perl binding
    correct case on table name (Prelude_UserId not Prelude_UserID)

 bindings/perl/Makefile.am             | 2 +-
 plugins/format/classic/idmef-db-get.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit f3c81df0aecdd5d411f49942852e9e31636525bb
Author: Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
Date:   Fri Nov 14 22:49:03 2003 +0000

    fix installation problems on gentoo and perhaps other distribs

 bindings/perl/Makefile.am | 8 ++++----
 libpreludedb-config.in    | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

commit a667655d9c63b428e04dc3067da5a333f1a786fb
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Nov 5 20:04:15 2003 +0000

    	* plugins/format/classic/idmef-db-get.c:
    	fit libprelude changes (*_find_{string,numeric} functions
    	renamed in *_to_{string,numeric})

 ChangeLog                             |  6 ++++++
 bindings/perl/PreludeDB.c             |  2 +-
 plugins/format/classic/idmef-db-get.c | 30 +++++++++++++++---------------
 3 files changed, 22 insertions(+), 16 deletions(-)

commit 3cf119295e86485c5b70a3677f4d249ae7ac1eb1
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Oct 25 22:16:19 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	remove idmef_selection build related code
    	use new libprelude perl's IDMEFSelection

 ChangeLog                  |   6 ++
 bindings/perl/PreludeDB.c  |   2 +-
 bindings/perl/PreludeDB.pm | 138 ++++++---------------------------------------
 3 files changed, 23 insertions(+), 123 deletions(-)

commit f05057ec53eaa4bc57faba69ea70bfcba55f4a39
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Oct 25 07:54:18 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	(PreludeDB::get_values)
    	updated to use distinct stuff
    
    	* plugins/format/classic/idmef-db-select.c:
    	(build_request)
    	fix a bug introduced when "SELECT DISTINCT" has
    	been reintroduced: the two last arguments of
    	strbuf_sprintf where not took into account because
    	two "%s" where missing in the format string

 ChangeLog                                | 16 ++++++++++++++--
 bindings/perl/PreludeDB.c                |  2 +-
 bindings/perl/PreludeDB.pm               |  5 ++++-
 plugins/format/classic/idmef-db-select.c |  4 ++--
 4 files changed, 21 insertions(+), 6 deletions(-)

commit 44aa9c410c23d89492a19e1a1f8ece627cf59cbf
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Oct 23 22:04:54 2003 +0000

    	* plugins/format/classic/idmef-db-get.c:
    	* plugins/format/classic/idmef-db-insert.c:
    	fit idmef-tree last changes

 ChangeLog                                |  7 +++++
 bindings/perl/PreludeDB.c                |  2 +-
 plugins/format/classic/idmef-db-get.c    | 45 +++++++-------------------------
 plugins/format/classic/idmef-db-insert.c |  8 +++---
 4 files changed, 22 insertions(+), 40 deletions(-)

commit b44ffde568dfab593e480b246ef35509b65f59cf
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Oct 21 15:38:24 2003 +0000

            * src/include/plugin-format.h:
            * src/include/db-interface.c:
            * src/db-interface.c:
            * plugins/format/classic/classic.c:
            * plugins/format/classic/idmef-db-select.c:
            * plugins/format/classic/include/idmef-db-select.h:
            reintroduced support for "SELECT DISTINCT".
    
            * plugins/format/classic/include/idmef-db-select.h:
            #define'd some useful symbolic names for three int parameters of
            idmef_db_select().
    
            * bindings/perl/PreludeDB.c:
            regenerated.

 ChangeLog                                        | 17 +++++++++++++++++
 bindings/perl/PreludeDB.c                        | 10 ++++++----
 plugins/format/classic/classic.c                 | 10 +++++++---
 plugins/format/classic/idmef-db-select.c         |  7 +++++--
 plugins/format/classic/include/idmef-db-select.h |  9 +++++++++
 src/db-interface.c                               |  3 ++-
 src/include/db-interface.h                       |  1 +
 src/include/plugin-format.h                      |  1 +
 8 files changed, 48 insertions(+), 10 deletions(-)

commit cabf9d19d585c9a62ff605a4bde1fb18dbd5c110
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Oct 21 14:53:09 2003 +0000

    2003-10-21  Krzysztof Zaraska  <kzaraska@student.uci.agh.edu.pl>
    
            * plugins/format/classic/idmef-db-select.c:
            (table_list_to_strbuf): renamed to table_list_to_strbuf_for_alerts().
            (table_list_to_strbuf_for_values): implemented. This function uses
            right joins as opposed to table_list_to_strbuf_for_alerts().
            (build_request):
            (idmef_db_select): take a parameter specifying if we are extracting
            complete alerts or values accross the alerts; use left and right
            joins respectively
    
            * plugins/format/classic/idmef-db-select.h:
            * plugins/format/classic/classic.c:
            modified accordingly.

 ChangeLog                                        |  15 +++
 plugins/format/classic/classic.c                 |   6 +-
 plugins/format/classic/idmef-db-select.c         | 124 +++++++++++++++++++++--
 plugins/format/classic/include/idmef-db-select.h |   3 +-
 4 files changed, 134 insertions(+), 14 deletions(-)

commit 201beea5485de2e293ecdf878f5bdea1337a4a0a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Oct 20 07:35:11 2003 +0000

    	* bindings/perl/PreludeDB.i:
    	* bindings/perl/PreludeDB.pm:
    	code review: fixes and cleanup
    
    	* bindings/perl/PreludeDB.c:
    	regenerated

 ChangeLog                  |   9 ++
 bindings/perl/PreludeDB.c  | 243 ++++++++++++++++++++++++++++++++-------------
 bindings/perl/PreludeDB.i  | 151 +++++++++++++++++++---------
 bindings/perl/PreludeDB.pm |  45 ++++++---
 4 files changed, 320 insertions(+), 128 deletions(-)

commit d9b47c4caa554c60eeed8be16e3a3284a15d22c5
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Oct 18 06:59:41 2003 +0000

    	* plugins/format/classic/classic.c:
    	bug fix: build value the right way

 ChangeLog                        |  5 +++++
 bindings/perl/PreludeDB.i        |  4 ++++
 plugins/format/classic/classic.c | 27 ++++++++++++++++++++++-----
 3 files changed, 31 insertions(+), 5 deletions(-)

commit b9241548f488ffee895f44e7ba5bee4f5558cfba
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Oct 12 17:53:27 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	(PreludeDB::DESTROY)
    	(PreludeDBSQLRow::DESTROY)
    	<<<grab from the ChangeLog of libprelude, we have
    	exactly the same problem in libpreludedb>>>
    	"bug" fix/workaround
    	some code like this:
    	perl -e "use Prelude; $message = new IDMEFMessage"
    	(note that I did not use "my")
    	leads to call IDMEFMessage::DESTROY -> idmef_message_destroy with a NULL
    	pointer (because the swig intermediate object has been destroyed before
    	the top IDMEFMessage::DESTROY is called itself)
    	this is very bizarre, and only happen for non-my variable at perl exit stage,
    	perl -e "use Prelude; my $message = new IDMEFMessage" will work
    	perl -e "use Prelude; $message = new IDMEFMessage; $message = undef" will also work
    	indeed, perl is great language ;)

 ChangeLog                  | 19 +++++++++++++++++++
 bindings/perl/PreludeDB.pm |  4 ++--
 2 files changed, 21 insertions(+), 2 deletions(-)

commit f7cfad3ef300b6b4959280b78641613bafc2c47d
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Oct 12 13:15:48 2003 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	(insert_additional_data)
    	fit idmef_additional_data_to_string changes

 ChangeLog                                |  6 ++++++
 plugins/format/classic/idmef-db-insert.c | 15 +++++----------
 2 files changed, 11 insertions(+), 10 deletions(-)

commit 0c88efb8269cc778599064067390669e2b2599b4
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Oct 8 09:59:07 2003 +0000

    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/perl/PreludeDB.pm:
    	fit idmef-criteria changes
    
    	* plugins/format/classic/classic.c:
    	fit idmef-criteria changes
    
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/format/classic/include/idmef-db-select.h
    	fit idmef-criteria changes
    	criterion_to_sql has been splited up in two
    	functions: criteria_to_sql and criterion_to_sql
    
    	* plugins/format/classic/schema.txt:
    	add the support of the following objects:
    	heartbeat.create_time
    	heartbeat.analyzer_time
    	alert.create_time
    	alert.analyzer_time
    
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	fit idmef-criteria changes
    
    	* src/sql.c:
    	fit idmef-criteria changes
    
    	* src/include/plugin-format.h:
    	fit idmef-criteria changes

 ChangeLog                                        |  34 +++++
 bindings/perl/PreludeDB.c                        | 141 ++++++++++++++------
 bindings/perl/PreludeDB.pm                       |  18 +--
 plugins/format/classic/classic.c                 |  45 +++++--
 plugins/format/classic/idmef-db-select.c         | 160 +++++++++++------------
 plugins/format/classic/include/idmef-db-select.h |   2 +-
 plugins/format/classic/schema.txt                |   6 +
 src/db-interface.c                               |  10 +-
 src/include/db-interface.h                       |   6 +-
 src/include/plugin-format.h                      |   6 +-
 10 files changed, 274 insertions(+), 154 deletions(-)

commit cdd37296bcd3e46cea7298263cb3a4a5df6cf347
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Sep 21 13:33:35 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	(get_alert_uident_list)
    	(get_heartbeat_uident_list)
    	(get_values)
    	those functions can accept directly a criterion string
    	as a criterion
    
    	* plugins/format/classic/idmef-db-insert.c:
    	check return value of idmef_get_db_timestamp and
    	idmef_get_ntp_timestamp functions
    
    	* plugins/format/classic/idmef-db-select.c:
    	(value_to_sql)
    	new function
    	support for idmef_date in idmef_criterion
    
    	* plugins/format/classic/schema.txt:
    	add support of alert.detect_time object

 ChangeLog                                | 21 +++++++++++
 bindings/perl/PreludeDB.pm               | 21 +++++++----
 plugins/format/classic/idmef-db-insert.c | 61 +++++++++++++++++++-------------
 plugins/format/classic/idmef-db-select.c | 34 ++++++++++++++----
 plugins/format/classic/schema.txt        |  2 ++
 5 files changed, 102 insertions(+), 37 deletions(-)

commit 8d05f992e746a7d053a2eebdb2234942efc1ca97
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Sep 19 21:51:05 2003 +0000

    	* bindings/perl/PreludeDB.pm
    	(PreludeDB::get_values)
    	bug fix

 ChangeLog                  | 6 ++++++
 bindings/perl/PreludeDB.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit 46200c2f0886748937628fc2d1ae91798528617c
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Sep 19 07:39:48 2003 +0000

    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/perl/PreludeDB.pm:
    	add the get_values function
    
    	* plugins/format/classic/classic.c:
    	check idmef_object_value_new's return value and destroy objval
    	when idmef_object_value_list_add failed

 ChangeLog                                |  12 +++
 bindings/perl/PreludeDB.c                |  81 +++----------------
 bindings/perl/PreludeDB.pm               | 135 +++++++++++++++++++++++++++++--
 plugins/format/classic/classic.c         |   8 +-
 plugins/format/classic/idmef-db-select.c |  10 +--
 5 files changed, 165 insertions(+), 81 deletions(-)

commit 949092993fe2c56fb1c4781d7bc1a6cb51f8438e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Sep 18 06:55:57 2003 +0000

    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* plugins/format/classic/classic.c:
    	modifications to fit changes of idmef_db_select's prototype
    	(classic_get_values)
    	skip empty lines (lines where all fields are NULL)
    	don't build value depending of object because of sql functions
    	(for example, count for a string field returns a number)
    
    	* plugins/format/classic/idmef-db-select.c:
    	lot of changes and cleanup to support GROUP BY, ORDER BY and LIMIT
    	distinct is not used anymore, use group by instead
    
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	(prelude_db_interface_select_values)
    	(format_select_values)
    	function's prototype changes, remove distinct and add limit argument

 ChangeLog                                        |  23 +++
 bindings/perl/PreludeDB.c                        |  20 +-
 plugins/format/classic/classic.c                 |  44 +++--
 plugins/format/classic/idmef-db-select.c         | 241 +++++++++++++++--------
 plugins/format/classic/include/idmef-db-select.h |   8 +-
 plugins/sql/mysql/mysql.c                        |   2 +-
 src/db-interface.c                               |   8 +-
 src/include/db-interface.h                       |   6 +-
 src/include/plugin-format.h                      |   6 +-
 9 files changed, 234 insertions(+), 124 deletions(-)

commit 50fc4e9a7843c4d706dcaf7f52215db474003a9a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Sep 15 08:41:58 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/idmef-db-select.c:
    	changes to fit modifications in libprelude's idmef_selection

 ChangeLog                                |  7 +++++++
 bindings/perl/PreludeDB.pm               |  2 +-
 plugins/format/classic/classic.c         | 24 ++++++++++++------------
 plugins/format/classic/idmef-db-select.c | 23 +++++++++++++----------
 4 files changed, 33 insertions(+), 23 deletions(-)

commit 97aebd9c07061aa3d285e8475e0d705983562504
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Sep 12 14:30:05 2003 +0000

            * bindings/perl/PreludeDB.i:
            cleanup, do not cut & paste the prototypes of functions used,
            instead, include directly the needed headers
    
            * bindings/perl/PreludeDB.c:
            regenerated
    
            * bindings/perl/PreludeDB.pm:
            some fixes in sql related functions

 ChangeLog                  |   12 +
 bindings/perl/PreludeDB.c  | 1503 +++++++++++++++++++++++++++++++++++---------
 bindings/perl/PreludeDB.i  |   93 +--
 bindings/perl/PreludeDB.pm |   12 +-
 4 files changed, 1239 insertions(+), 381 deletions(-)

commit fa04806ed0765de3f3a5a2d5d1fc000c6730f474
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 8 09:48:45 2003 +0000

    	* src/db-interface.c (prelude_db_interface_new):
    	check for NULL strdup return value.

 ChangeLog          | 5 ++++-
 src/db-interface.c | 7 ++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

commit 5300a9779655654c29e228b3fcc0b4a8d2a93dce
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 8 00:58:50 2003 +0000

    *** empty log message ***

 ChangeLog                  |  30 +++++++
 src/db-interface.c         | 214 +++++++++++++++++++--------------------------
 src/include/db-interface.h |   4 -
 3 files changed, 119 insertions(+), 129 deletions(-)

commit 71fc24572227d5a43258e298701d390c22268a7e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 2 09:20:55 2003 +0000

    *** empty log message ***

 src/db.c | 2 ++
 1 file changed, 2 insertions(+)

commit 1154b73fbc05f1f60858850b1bc2dcc579ba5710
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 2 09:19:34 2003 +0000

    * src/db-interface-string.c (get_sql_connection_data):
    reworked this function so that it is easy to add new
    parameters. You now just have to add a parameters name and
    handling function to the array of structure in order for
    the parameter to be taken into account.

 ChangeLog                 |   8 +++
 src/db-interface-string.c | 130 +++++++++++++++-------------------------------
 2 files changed, 50 insertions(+), 88 deletions(-)

commit 14d0b021f5fcd1df6863ae1b8f52e80da122298c
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Aug 30 19:16:21 2003 +0000

    	* bindings/perl/PreludeDB.i:
    	update the binding interface to the last API changes
    
    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/perl/PreludeDB.pm:
    	(PreludeDB::new)
    	restore the removed constructor code and also accept directly
    	connection string
    	update the binding interface to the last API changes
    	(PreludeDB::get_alert)
    	restore the old function's implementation which already
    	"treat empty @object_list as undefined"
    	(PreludeDB::get_heartbeat)
    	some fixes
    
    	* plugins/format/classic/idmef-db-select.c:
    	(table_list_destroy)
    	fix a memory leak (tlist->top_table was not freed)
    
    	* plugins/format/classic/classic.c:
    	(classic_select_values)
    	some modifications to fit the last idmef_object_value_new's changes
    
    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/idmef-db-delete.c:
    	* plugins/format/classic/idmef-db-get.c:
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/format/classic/include/idmef-db-delete.h:
    	* src/db-interface-string.c:
    	* src/db-interface.c:
    	* src/db.c:
    	* src/format-plugins.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	* src/include/db-uident.h:
    	API changes, an alert/heartbeat was previously identified by its ident field
    	which is an uint64_t, however IDMEF tell:
    	"""
    	The "ident" attribute by itself provides a unique identifier only
    	among all the "ident" values sent by a particular analyzer.  But
    	when combined with the "analyzerid" value for the analyzer, a
    	value that is unique across the intrusion detection environment is
    	created.
    	"""
    	so now, an alert is identified by the couple analyzerid + alert_ident
    	which MUST be unique among the others in the db
    	the current db schema does not respect this, but the new one will

 ChangeLog                                        |  52 ++++
 bindings/perl/PreludeDB.c                        | 349 +++++++++++++++++------
 bindings/perl/PreludeDB.i                        | 119 +++++++-
 bindings/perl/PreludeDB.pm                       | 103 ++++---
 plugins/format/classic/classic.c                 | 206 +++++++------
 plugins/format/classic/idmef-db-delete.c         |  13 +-
 plugins/format/classic/idmef-db-get.c            |  11 +-
 plugins/format/classic/idmef-db-select.c         |  11 +-
 plugins/format/classic/include/idmef-db-delete.h |   7 +-
 src/db-interface-string.c                        |   1 +
 src/db-interface.c                               | 146 +++++++---
 src/db.c                                         |   3 +-
 src/format-plugins.c                             |   1 +
 src/include/Makefile.am                          |   1 +
 src/include/db-interface.h                       |  35 ++-
 src/include/db-uident.h                          |  37 +++
 src/include/plugin-format.h                      |  38 ++-
 17 files changed, 830 insertions(+), 303 deletions(-)

commit 22cee17dab9dcaf8f2ae8267c498a2aedfd81a76
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 17:26:27 2003 +0000

    *** empty log message ***

 src/strbuf.c | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

commit c99ff51a355658074f0d4c9dcbf4764833753e4c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 17:24:11 2003 +0000

    	* src/strbuf.c (strbuf_new):
    	use similar OOM warning as we have in other place in the code.
    
    	coding style fix.

 ChangeLog | 7 +++++++
 1 file changed, 7 insertions(+)

commit 01bb488d1aa690bac8c163abc4c311e73a2c3695
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Aug 14 13:41:59 2003 +0000

            * bindings/perl/PreludeDB.pm:
            (PreludeDB::new): pass connection string directly to
            prelude_db_interface_new_string(), instead of parsing
            (since parser does not seem to work anyhow).
            (_convert_object_list): adapted to changed idmef-selection API
            (get_alert): treat empty @object_list as undefined
    
            * plugins/format/classic/classic.c:
            (classic_get_alert): fixed an idiotic bug in handling NULL selection.

 ChangeLog                        | 12 ++++++++++++
 bindings/perl/PreludeDB.pm       | 35 ++++++++++-------------------------
 plugins/format/classic/classic.c |  2 +-
 3 files changed, 23 insertions(+), 26 deletions(-)

commit 5f3e2a880e10f6628c2bd46d3aeb6b7d909ff68e
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Wed Aug 13 22:03:42 2003 +0000

            * bindings/perl/PreludeDB.i:
            modified to reflect recent API changes.
    
            * bindings/perl/PreludeDB.c:
            regenerated.

 ChangeLog                 |   9 +++-
 bindings/perl/PreludeDB.c | 107 +++++++++++++++++++++++++++++++++++++++++++---
 bindings/perl/PreludeDB.i |   8 ++++
 3 files changed, 116 insertions(+), 8 deletions(-)

commit b428c80a98cf53c30d2d1b89d77716f1c991032c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Aug 12 10:55:20 2003 +0000

            * plugins/format/classic/idmef-db-select.c:
            (aggregate_function_to_sql): implemented.
            (add_field):
            (relation_to_sql): handle aggregate functions
            (build_request):
            (idmef_db_select): handle 'distinct' parameter
    
            *  plugins/format/classic/classic.c:
            handle aggregate functions.
            (classic_select_values):
            (classic_get_values): implemented.
            (classic_get_alert):
            (classic_get_heartbeat):
            force full alert extraction under conditions where partial extraction
            can produce incorrect results
    
            * src/include/db-interface.h:
            * src/db-interface.c:
            style fixes
            (prelude_db_interface_select_values):
            (prelude_db_interface_get_values):
            implemented
    
            * src/include/plugin-format.h:
            added format_select_values and format_get_values callbacks

 ChangeLog                                        |  29 +++++
 plugins/format/classic/classic.c                 | 142 ++++++++++++++++++++---
 plugins/format/classic/idmef-db-select.c         |  63 ++++++++--
 plugins/format/classic/include/idmef-db-select.h |   1 +
 src/db-interface.c                               |  33 +++++-
 src/include/db-interface.h                       |   9 ++
 src/include/plugin-format.h                      |  23 +++-
 7 files changed, 267 insertions(+), 33 deletions(-)

commit 89a8d7a8ea90c0d6958c3b356f556aba19439f81
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Aug 2 21:54:33 2003 +0000

    	* plugins/format/classic/idmef-db-select.c:
    	(table_entry_new):
    	bug fix: free entry AFTER its fields have been freed
    
    	* plugins/sql/mysql/mysql.c:
    	(db_begin)
    	check session's status before doing anything
    
    	* plugins/sql/pgsql/pgsql.c:
    	(db_begin)
    	check session's status before doing anything

 ChangeLog                                | 20 ++++++++++
 bindings/perl/PreludeDB.c                | 65 +++++++++++++++++++++++++++++++-
 plugins/format/classic/idmef-db-select.c |  5 ++-
 plugins/sql/mysql/mysql.c                | 14 +++++++
 plugins/sql/pgsql/pgsql.c                | 14 +++++++
 5 files changed, 114 insertions(+), 4 deletions(-)

commit 38fb09d3a4a5ccd62012ec7bbd2ee91ee7be3288
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Jul 14 10:33:00 2003 +0000

    	* src/db-interface.c:
    	(prelude_db_interface_disconnect)
    	fix a bug, interface->db_connection was not set to NULL
    	after it has been destroyed
    
    	* bindings/perl/PreludeDB.i:
    	* bindings/perl/PreludeDB.pm:
    	(PreludeDB)
    	add the disconnect function
    
    	* bindings/perl/PreludeDB.c:
    	regenerated

 ChangeLog                  | 15 +++++++++++++++
 bindings/perl/PreludeDB.c  | 34 ++++++++++++++++++++++++++++++++--
 bindings/perl/PreludeDB.i  |  3 ++-
 bindings/perl/PreludeDB.pm |  7 +++++++
 src/db-interface.c         |  1 +
 5 files changed, 57 insertions(+), 3 deletions(-)

commit 9da9cc4828568e1eeb07c9e77b0089e98168e185
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jul 9 20:32:37 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	return value of function like PreludeDB::init that returns an
    	integer to indicate if the function failed or not has changed:
    	before the changes, functions returned a value < 0 if the function failed
    	or a value >= 0 otherwise
    	now, the functions return 0 if the function failed or another value otherwise
    	this choice has been done to follow the perl's "conventions" in this domain

 ChangeLog                  | 10 ++++++++++
 bindings/perl/PreludeDB.pm | 24 +++++++++---------------
 2 files changed, 19 insertions(+), 15 deletions(-)

commit 4593e87adf76514eda92d2f3fab3d1ce5d3b9fbf
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jul 9 08:48:55 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	add a 1 (true value) at the end of the package's code
    
    	* plugins/format/classic/idmef-db-get.c:
    	(get_user)
    	bug fix, "parent" was passed as parent argument of function get_userid
    	instead of "user"

 ChangeLog                             | 10 ++++++++++
 bindings/perl/PreludeDB.pm            |  2 ++
 plugins/format/classic/idmef-db-get.c |  2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

commit 2d838fc5b079a7a8e6c396dc91213818eab2ad92
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Jul 8 08:43:56 2003 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	bug fix, code cleanup, port to the new IDMEF API
    
    	* plugins/format/classic/schema.txt:
    	add the alert.target.service.port object

 ChangeLog                                |    8 +
 plugins/format/classic/idmef-db-insert.c | 1118 +++++++++++++++---------------
 plugins/format/classic/schema.txt        |    1 +
 3 files changed, 568 insertions(+), 559 deletions(-)

commit b2410b9040ca172e5090662c26a0f5f9c192afba
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Jul 7 18:58:55 2003 +0000

    ChangeLog has not been commited the last two times

 ChangeLog | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

commit d4057926dcc2a20e9a84de921d9fe02a1452fdf6
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jul 6 14:24:04 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	support full message fetching
    
    	* plugin/format/classic/idmef-db-delete.c:
    	fix two bugs in alert/heartbeat deletion code
    	(bad test for deletion of Prelude_Address row,
    	and Prelude_Heartbeat rows were not deleted in
    	classic_delete_heartbeat)

 bindings/perl/PreludeDB.c                |  2 +-
 bindings/perl/PreludeDB.pm               | 11 ++++++++---
 plugins/format/classic/idmef-db-delete.c |  3 ++-
 3 files changed, 11 insertions(+), 5 deletions(-)

commit 25f25226919d6cbb4e26144cea08bdd2166454c6
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jul 4 20:56:48 2003 +0000

    	* plugins/format/classic/idmef-db-delete.c:
    	* plugins/format/classic/include/idmef-db-delete.c:
    	new files
    	* bindings/perl/PreludeDB.c:
    	regenerated
    	* bindings/perl/PreludeDB.i:
    	* bindings/perl/PreludeDB.pm:
    	* plugins/format/classic/classic.c:
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	support the deletion of alert/heartbeat

 bindings/perl/PreludeDB.c                        |  78 ++++++++-
 bindings/perl/PreludeDB.i                        |   6 +-
 bindings/perl/PreludeDB.pm                       |  24 ++-
 plugins/format/classic/Makefile.am               |   2 +-
 plugins/format/classic/classic.c                 |   3 +
 plugins/format/classic/idmef-db-delete.c         | 192 +++++++++++++++++++++++
 plugins/format/classic/include/idmef-db-delete.h |  30 ++++
 src/db-interface.c                               |  27 +++-
 src/include/db-interface.h                       |   4 +
 src/include/plugin-format.h                      |   9 ++
 10 files changed, 364 insertions(+), 11 deletions(-)

commit bf45f9ba119ae89a5c3f17bb1a10a86687b82986
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Wed Jul 2 22:29:25 2003 +0000

            * plugins/format/classic/classic.c:
            include "idmef-db-get.h"
    
            * plugins/format/classic/idmef-db-get.c:
            (get_user): fixed error detection.
    
            * plugins/format/classic/schema.txt:
            newer version.

 ChangeLog                             | 11 ++++++
 plugins/format/classic/classic.c      |  1 +
 plugins/format/classic/idmef-db-get.c |  2 +-
 plugins/format/classic/schema.txt     | 68 +++++++++++++++++++++++++++++++++++
 4 files changed, 81 insertions(+), 1 deletion(-)

commit aca804afab83f4d81d37fc51b9d1bc7f53951adf
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jul 2 19:44:29 2003 +0000

    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/schema.txt:
    	support whole message fetching for heartbeat

 ChangeLog                         |  6 ++++++
 plugins/format/classic/classic.c  |  4 +++-
 plugins/format/classic/schema.txt | 10 +++++++++-
 3 files changed, 18 insertions(+), 2 deletions(-)

commit 8253ed4bbdcf14434c2dd650db3f1f651038816a
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Wed Jul 2 10:38:45 2003 +0000

            * plugins/format/classic/idmef-db-select.c:
            (normalize_condition): implemented.
            (table_entry_new): copy criteria into table entry structure.
            Fixed memory leaks in error handling.
            (table_list_to_strbuf): put condition in bracket (just in case)
            (add_table): normalize condition before matching with condition
            in the table entry structure
            (criterion_to_sql): use aliased table names.
            (build_request): compile table list after processing criteria
    
            * plugins/format/classic/schema.txt:
            new version of database schema file, courtesy of Davor Ocelic
            <docelic@mail.inet.hr>.

 ChangeLog                                |  16 +++
 plugins/format/classic/idmef-db-select.c | 163 ++++++++++++++++++++++---------
 plugins/format/classic/schema.txt        |  79 +++++++--------
 3 files changed, 169 insertions(+), 89 deletions(-)

commit 773f8fe61194ed189ba792ecd914f097524f438e
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Jul 1 11:13:04 2003 +0000

    *** empty log message ***

 ChangeLog | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 0a5f23d9403aa066b6809b480545beb4b8e74e58
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Jul 1 11:11:41 2003 +0000

            * plugins/format/classic/classic.c:
            (get_message): more readable debug messages :). Handle 1-to-N
            relations better ( still not perfect :( ). Don't check if
            selection is NULL, the calling function already does that.
    
            * plugins/format/classic/idmef-db-select.c:
            don't try to build the FROM ... LEFT JOIN ... statements at once;
            instead, first build a table list and then compile to SQL.
            Alias all tables. That should make extracting values with 1-to-N
            relations work correctly. Add a debug messsage containing a number
            of rows extracted.

 ChangeLog                                |  19 +-
 plugins/format/classic/classic.c         |  35 +-
 plugins/format/classic/idmef-db-select.c | 570 +++++++++++++++++++------------
 3 files changed, 396 insertions(+), 228 deletions(-)

commit ab9bdd8f0d2edb4f437285aaf044ccf3960c9468
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Jun 30 22:15:40 2003 +0000

    	* plugins/format/classic/idmef-db-get.c:
    	* plugins/format/classic/include/idmef-db-get.h:
    	new files
    	add the support of a whole message fetching
    
    	* plugins/format/classic/classic.c:
    	(classic_get_alert)
    	call get_alert when the selection argument is NULL in order
    	to fetch the whole message

 ChangeLog                                     |   20 +
 bindings/perl/PreludeDB.c                     |    2 +-
 plugins/format/classic/Makefile.am            |    2 +-
 plugins/format/classic/classic.c              |    4 +-
 plugins/format/classic/idmef-db-get.c         | 2556 +++++++++++++++++++++++++
 plugins/format/classic/idmef-db-insert.c      |    2 +-
 plugins/format/classic/include/idmef-db-get.h |   33 +
 src/sql.c                                     |    2 +
 8 files changed, 2617 insertions(+), 4 deletions(-)

commit 0c6b86a7b788f42f822b9b5e5bd5a880539a9276
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jun 27 07:30:43 2003 +0000

    	* src/sql.c:
    	* src/include/sql.h:
    	(prelude_sql_field_value_int16)
    	(prelude_sql_field_value_uint16)
    	new functions

 src/include/sql.h |  2 ++
 src/sql.c         | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

commit 6446d4e04ef7dc40c1c11d2e0598a77a6d021323
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Jun 23 22:10:46 2003 +0000

    *** empty log message ***

 plugins/format/classic/classic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 55e149b41bbcab03ffcfb137391ce53339fe9e61
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Jun 23 21:46:12 2003 +0000

            * plugins/format/classic/classic.c:
            (get_message): add some log() statements to help debugging.

 ChangeLog                        |  5 +++++
 plugins/format/classic/classic.c | 25 +++++++++++++++++++++++--
 2 files changed, 28 insertions(+), 2 deletions(-)

commit ab5cdcfe4a520ce8ee837dd365220be2c9bf4a8c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Jun 23 20:47:44 2003 +0000

            * plugins/format/classic/classic.c:
            (get_message): handle NULL fields correctly.
    
            * plugins/format/classic/idmef-db-select.c:
            build query differently, using LEFT JOIN statements. This allows
            to handle empty tables / records correctly when used along with
            filled ones.

 ChangeLog                                | 10 ++++
 plugins/format/classic/classic.c         |  8 ++-
 plugins/format/classic/idmef-db-select.c | 96 +++++++++-----------------------
 3 files changed, 42 insertions(+), 72 deletions(-)

commit 6c663cfb506cbe0cc894f19c536c213227fb375f
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Jun 22 23:21:05 2003 +0000

            * plugins/format/classic/classic.c:
            (get_message): call idmef_selection_set_object_iterator()
            before processing each row. Use idmef_value_new_for_object()
            instead of idmef_value_new_generic() to handle enums
            correctly.

 ChangeLog                        |  8 ++++++++
 plugins/format/classic/classic.c | 11 ++++-------
 2 files changed, 12 insertions(+), 7 deletions(-)

commit 3242075b88429b6eba2aa42d39de72d8dcba77ec
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Jun 22 13:32:21 2003 +0000

            * plugins/format/classic/classic.c:
            (get_message): don't use prelude_sql_field_idmef_value(),
            do convertion manually, obtaining variable type via
            idmef_object_get_type(). This is caused by some braindead
            type mappings (uint64_t as STRING, eh?).

 ChangeLog                        | 8 ++++++++
 plugins/format/classic/classic.c | 7 ++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

commit a5e69ac3b0c553c6bcaa9d7b8e4ae5f1ebcc3cce
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Jun 1 17:20:09 2003 +0000

            * plugins/format/classic/idmef-db-select.c:
            (objects_to_sql):
            remove unneeded cached_obj variable.

 ChangeLog                                | 6 ++++++
 plugins/format/classic/idmef-db-select.c | 1 -
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 7220abc443ddfe28ae2fb20b1d1613a20b8f2df3
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu May 29 20:32:31 2003 +0000

    	* bindings/perl/PreludeDB/*:
    	removed
    
    	* bindings/perl/*:
    	new files, the perl binding has been rewritten using swig
    
    	* configure.in:
    	* Makefile.am:
    	modified to support the perl binding in the build process
    
    	* plugins/format/classic/idmef-db-select.c:
    	in criterion_to_sql, check if db_object_find's return value is NULL
    	rename idmef_object_get_num function's call in idmef_object_get_numeric
    	because idmef_object_get_num does not exist

 ChangeLog                                |   17 +
 Makefile.am                              |    2 +-
 bindings/Makefile.am                     |    1 +
 bindings/perl/Makefile.am                |   25 +
 bindings/perl/PreludeDB.c                | 1697 ++++++++++++++++++++++++++++++
 bindings/perl/PreludeDB.i                |  165 +++
 bindings/perl/PreludeDB.pm               |  334 ++++++
 bindings/perl/PreludeDB/Changes          |    6 -
 bindings/perl/PreludeDB/MANIFEST         |    8 -
 bindings/perl/PreludeDB/Makefile.PL      |   17 -
 bindings/perl/PreludeDB/PreludeDB.pm     |  131 ---
 bindings/perl/PreludeDB/PreludeDB.xs     |  338 ------
 bindings/perl/PreludeDB/README           |   38 -
 bindings/perl/PreludeDB/ppport.h         |  540 ----------
 bindings/perl/PreludeDB/test.pl          |   97 --
 bindings/perl/PreludeDB/typemap          |    5 -
 bindings/perl/generate.sh                |    3 +
 configure.in                             |   40 +
 plugins/format/classic/idmef-db-select.c |   11 +-
 src/db-interface.c                       |    3 +-
 20 files changed, 2294 insertions(+), 1184 deletions(-)

commit 919f0ee4e75dfbe0a414cbc99bfa75975839238c
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon May 19 20:06:17 2003 +0000

    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/format/classic/include/idmef-db-select.h:
    	* src/sql.c:
    	* src/include/sql.h:
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	libpreludedb API changes, idmef_cache is not used anymore,
    	idmef_selection is now used for object selection and
    	idmef_message is used to store the fetched fields

 ChangeLog                                        |  14 ++
 plugins/format/classic/classic.c                 | 261 ++++++++++-------------
 plugins/format/classic/idmef-db-select.c         |  54 +++--
 plugins/format/classic/include/idmef-db-select.h |   3 +-
 src/db-interface.c                               | 113 ++++------
 src/include/db-interface.h                       |  20 +-
 src/include/plugin-format.h                      |  49 ++---
 src/include/sql.h                                |   2 +-
 src/sql.c                                        |  19 +-
 9 files changed, 235 insertions(+), 300 deletions(-)

commit b739568917913c3b5496745a58e65b47dedd3734
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun May 18 17:17:08 2003 +0000

    	* plugins/format/classic/schema.txt:
    	minor modification to fit idmef_data's last changes
    
    	* plugins/format/classic/classic.c:
    	minor modifications to fit the idmef_criterion_new's
    	changes

 ChangeLog                         | 9 +++++++++
 plugins/format/classic/classic.c  | 2 --
 plugins/format/classic/schema.txt | 2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

commit a6130d5890fa5f2c1ff4708241942bdaefae0077
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed May 14 08:31:32 2003 +0000

            * src/sql-plugins.c:
            * src/sql.c:
            minor modifications to fit idmef_string's last changes

 ChangeLog | 6 ++++++
 1 file changed, 6 insertions(+)

commit a3f3ac9fb2d0a66e7ea66bd56d7fe501af21d9f5
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed May 14 08:09:45 2003 +0000

            * src/sql-plugins.c:
            * src/sql.c:
            minor modifications to fit idmef_string's last changes

 src/sql-plugins.c | 1 +
 src/sql.c         | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

commit 36d1f139b7eb30a7b971b148cd0b29014fdb76b9
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu May 8 19:21:36 2003 +0000

            * plugins/format/classic/include/idmef-db-select.h:
            * plugins/format/classic/include/idmef-db-insert.h:
            change #define'd constants names to match file names.

 ChangeLog                                        | 8 +++++++-
 plugins/format/classic/include/idmef-db-insert.h | 6 +++---
 plugins/format/classic/include/idmef-db-select.h | 6 +++---
 3 files changed, 13 insertions(+), 7 deletions(-)

commit 8e69029590e38064379e9e0f2f1b2ce3f27bd01d
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu May 8 19:14:05 2003 +0000

            (these modifications should have been checked in on 2003-05-05)
    
            * plugins/format/classic/include/idmef-db-output.h:
            renamed to idmef-db-insert.h
    
            * plugins/format/classic/include/idmef-db-read.h:
            renamed to idmef-db-select.h
    
            * plugins/forma/classic/include/idmef-db-select.h:
            apply modifications corresponding to those in
            idmef-db-select.c

 ChangeLog                                        | 15 ++++++++++-
 plugins/format/classic/include/idmef-db-insert.h | 31 +++++++++++++++++++++++
 plugins/format/classic/include/idmef-db-output.h | 30 ----------------------
 plugins/format/classic/include/idmef-db-read.h   | 32 ------------------------
 plugins/format/classic/include/idmef-db-select.h | 32 ++++++++++++++++++++++++
 5 files changed, 77 insertions(+), 63 deletions(-)

commit d7f8312cb24301bfea27edf93d8cecfb39767688
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon May 5 21:35:35 2003 +0000

            * plugins/format/classic/idmef-db-select.c:
            (objects_to_sql):
            avoid a SIGSEGV in a situation when a requested object
            is not present in database schema.

 ChangeLog                                |  7 +++++++
 plugins/format/classic/idmef-db-select.c | 11 +++++++++++
 2 files changed, 18 insertions(+)

commit 9410593cb87e29f99155e1f17d9b6ee3e87443bb
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon May 5 21:03:12 2003 +0000

            * plugins/sql/mysql/mysql.c(db_query):
            fix a bug that returned a non-null pointer for select that
            returns no rows (this bug was introduced in the last mysql.c
            modification by using mysql_store_result which has not the same
            behaviour that mysql_use_result
    
            * plugins/format/classic/Makefile.am:
            the last fix did not work, this one works
    
            * src/db-interface.c:
            * src/include/db-interface.h:
            a lot of modifications, now, we provide a higher level (easier to use,
            more efficient) of abstraction on top of the sql database
    
            * plugins/format/classic/idmef-db-output.c:
            has been renamed in idmef-db-insert.c
    
            * plugins/format/classic/idmef-db-read.c:
            has been renamed in idmef-db-select.c
    
            * plugins/format/classic/classic.c:
            * plugins/format/classic/idmef-db-insert.c:
            * plugins/format/classic/idmef-db-select.c:
            a lot of modifications to fit the new format plugin API

 ChangeLog                                |   28 +
 plugins/format/classic/Makefile.am       |    7 +-
 plugins/format/classic/classic.c         |  263 ++++--
 plugins/format/classic/idmef-db-insert.c | 1353 ++++++++++++++++++++++++++++++
 plugins/format/classic/idmef-db-output.c | 1352 -----------------------------
 plugins/format/classic/idmef-db-read.c   |  819 ------------------
 plugins/format/classic/idmef-db-select.c |  629 ++++++++++++++
 plugins/sql/mysql/mysql.c                |    9 +-
 src/db-interface.c                       |  194 ++++-
 src/include/db-interface.h               |   25 +-
 src/include/plugin-format.h              |   54 +-
 11 files changed, 2419 insertions(+), 2314 deletions(-)

commit e94ea5341fab96b79414a52446f8a68ec5b015fa
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon May 5 17:20:54 2003 +0000

            * src/sql.c:
            (prelude_sql_field_idmef_value):
            modify to accomodate a change in idmef_string_new() syntax.

 ChangeLog | 6 ++++++
 src/sql.c | 3 +--
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 142d94c13cd910857c797f6251226e511178122e
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Apr 27 21:40:25 2003 +0000

            * plugins/format/classic/idmef-db-read.c:
            fix compilation warnings.
            (objects_to_sql):
            fix possible use of uninitialized values on error.
            (criterion_to_sql):
            modified to reflect recent libprelude API changes
            (relation_less, relation_greater).
    
            * src/gdb.c:
            fix warnings.

 ChangeLog                              | 13 +++++++++++++
 configure.in                           |  2 +-
 plugins/format/classic/idmef-db-read.c | 34 ++++++++++++++++++++--------------
 src/gdb.c                              |  7 ++++++-
 4 files changed, 40 insertions(+), 16 deletions(-)

commit 2d9c3f130bea22109b45993c51d3b096ebf60c20
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Apr 15 21:10:37 2003 +0000

    *** empty log message ***

 src/include/queue.h | 39 ---------------------------------------
 1 file changed, 39 deletions(-)

commit f5242a0f3fdefa561060029bd99253804f35e1cc
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Apr 1 20:46:22 2003 +0000

    	* plugins/format/classic/classic.c(add_criterion):
    	use idmef_value_ref() instead of idmef_value_clone()

 ChangeLog                        | 5 +++++
 plugins/format/classic/classic.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 80f399c86c357e246fd3b872d5fff25a1b365aee
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Mar 16 13:13:57 2003 +0000

    *** empty log message ***

 ChangeLog | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit 8edd2b1572c59706ab6b64c99e062488de77b2cc
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Mar 16 13:13:34 2003 +0000

            * plugins/format/classic/idmef-db-read.c:
            (build_request): handle queries without WHERE clause

 plugins/format/classic/idmef-db-read.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit feb4afaa5117824771b841e40304b981ecbb3066
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Mar 16 13:01:53 2003 +0000

    2003-03-16  Krzysztof Zaraska  <kzaraska@student.uci.agh.edu.pl>
    
            * plugins/format/classic/idmef-db-read.c
            (criterion_to_sql): handle empty criteria chain correctly
    
    2003-03-14  Nicolas Delon  <delon.nicolas@wanadoo.fr>
    
            * plugins/format/classic/Makefile.am
            fix a compilation rule error

 plugins/format/classic/Makefile.am     |  2 +-
 plugins/format/classic/idmef-db-read.c | 17 +++++++++++------
 2 files changed, 12 insertions(+), 7 deletions(-)

commit 727be0b221fcf39d73b8993faabb5e392083b326
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Feb 22 00:24:51 2003 +0000

    	* plugins/sql/mysql/mysql.c:
    	functions prelude_sql_{fields,rows}_num works now,
    	mysql_use_result has been replaced by mysql_store_result
    	Thanks to Vincent Glaume for the bug report.
    
    	* src/include/sql.h:
    	add a comment to explain what does the return value of the
    	prelude_sql_field_fetch mean
    
    	* plugins/format/classic/Makefile.am:
    	link classic.so against libpreludedb in order to make the
    	perl binding working

 ChangeLog                          | 15 +++++++++++++++
 bindings/perl/PreludeDB/test.pl    |  4 +++-
 plugins/format/classic/Makefile.am |  2 +-
 plugins/sql/mysql/mysql.c          |  5 +----
 src/include/sql.h                  |  9 +++++++++
 5 files changed, 29 insertions(+), 6 deletions(-)

commit 4ef7f0bf43abc9754581366302d924a1e46b88e7
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Feb 18 22:42:32 2003 +0000

    	* plugins/format/classic/pgsql.sql:
    	included a patch from Herve Debar <herve.debar@francetelecom.com>
    	(a syntax fix)

 ChangeLog                        | 6 ++++++
 plugins/format/classic/pgsql.sql | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

commit ddc22a5979426e91f0ddbbb7c2e54d8bb8b38795
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Feb 15 08:01:34 2003 +0000

    *** empty log message ***

 ChangeLog | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

commit aa793918f97dff5b936d5f3fb4703df319707303
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Feb 15 08:00:47 2003 +0000

            * plugins/format/classic/idmef-db-read.c:
            use SELECT DISTINCT instead of SELECT (eliminates duplicates
            introduced by 1-to-N relations).

 plugins/format/classic/idmef-db-read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6b72b6308979cfc98b97dd9826caac4d1ba54930
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Feb 15 06:03:40 2003 +0000

    	* plugins/format/classic/idmef-db-read.c:
    	fix handling of 1-to-N relations
    
    	* src/idmef-object-list.c:
    	* src/include/idmef-object-list.h:
    	removed.
    
    	* src/Makefile.am:
    	* src/include/Makefile.am:
    	updated accordingly.

 plugins/format/classic/idmef-db-read.c |  81 ++++++++++++----------
 src/Makefile.am                        |   1 -
 src/idmef-object-list.c                | 121 ---------------------------------
 src/include/Makefile.am                |   1 -
 src/include/idmef-object-list.h        |  39 -----------
 5 files changed, 46 insertions(+), 197 deletions(-)

commit 88948db90af6b5c63cd84ccb878c12708fa116ff
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Feb 14 14:09:53 2003 +0000

            * configure.in:
            add a variable for directory for holding configuration of
            format plugins
    
            * plugins/format/classic/Makefile.am:
            add plugin and config directories to DEFS.
            compile db-object.c.
            install schema.txt.
    
            * plugins/format/classic/include/db-object.h
            * plugins/format/classic/db-object.c:
            * plugins/format/classic/schema.txt:
            new file. Parser and config file for describing database structure
    
            * plugins/format/classic/include/idmef-db-read.h:
            * plugins/format/classic/idmef-db-read.c:
            * plugins/format/classic/classic.c:
            add IDMEF message reading support.
    
            * src/idmef-db-values.c:
            * src/include/idmef-db-values.h:
            Removed. idmef_cache_t used instead.
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            updated accordingly
    
            * src/db-interface-string.c:
            * src/db-interface.c:
            * src/db.c
            * src/format-plugins.c:
            * src/include/db-interface.h:
            * src/include/plugin-format.h:
            modify to reflect used API.
    
            * src/include/param-string.h
            * src/param-string.c:
            fix various bugs resulting in SIGSEGVs
            (strbuf_sprintf): handle empty strings correctly
            (strbuf_string):
            (strbug_empty):
            (strbuf_clear): implemented
    
            * src/db.c:
            change comment to indicate that reinitialization attempts are OK

 ChangeLog    | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 configure.in |  3 +++
 2 files changed, 52 insertions(+)

commit 68aa87ab2c1a5b262843e7ee2a9cb62449a066f1
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Feb 14 14:08:05 2003 +0000

            * configure.in:
            add a variable for directory for holding configuration of
            format plugins
    
            * plugins/format/classic/Makefile.am:
            add plugin and config directories to DEFS.
            compile db-object.c.
            install schema.txt.
    
            * plugins/format/classic/include/db-object.h
            * plugins/format/classic/db-object.c:
            * plugins/format/classic/schema.txt:
            new file. Parser and config file for describing database structure
    
            * plugins/format/classic/include/idmef-db-read.h:
            * plugins/format/classic/idmef-db-read.c:
            * plugins/format/classic/classic.c:
            add IDMEF message reading support.
    
            * src/idmef-db-values.c:
            * src/include/idmef-db-values.h:
            Removed. idmef_cache_t used instead.
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            updated accordingly
    
            * src/db-interface-string.c:
            * src/db-interface.c:
            * src/db.c
            * src/format-plugins.c:
            * src/include/db-interface.h:
            * src/include/plugin-format.h:
            modify to reflect used API.
    
    	* src/include/param-string.h
            * src/param-string.c:
            fix various bugs resulting in SIGSEGVs
            (strbuf_sprintf): handle empty strings correctly
            (strbuf_string):
            (strbug_empty):
            (strbuf_clear): implemented
    
            * src/db.c:
            change comment to indicate that reinitialization attempts are OK

 plugins/format/classic/Makefile.am             |   9 +-
 plugins/format/classic/classic.c               | 147 ++++-
 plugins/format/classic/db-object.c             | 376 ++++++++++++
 plugins/format/classic/idmef-db-read.c         | 753 ++++++++++++++++++++++++-
 plugins/format/classic/include/db-object.h     |  50 ++
 plugins/format/classic/include/idmef-db-read.h |   6 +-
 plugins/format/classic/schema.txt              |  44 ++
 src/Makefile.am                                |   1 -
 src/db-interface-string.c                      |   2 -
 src/db-interface.c                             |  35 +-
 src/db.c                                       |  12 +-
 src/format-plugins.c                           |   2 -
 src/idmef-db-values.c                          |  32 --
 src/include/Makefile.am                        |   1 -
 src/include/db-interface.h                     |   9 +-
 src/include/idmef-db-values.h                  |  33 --
 src/include/plugin-format.h                    |  10 +-
 src/include/strbuf.h                           |   6 +
 src/param-string.c                             |  17 +-
 src/strbuf.c                                   |  28 +-
 20 files changed, 1457 insertions(+), 116 deletions(-)

commit 53a72e60840d4f54c9119c204b7d207aff1c16df
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Jan 17 23:26:57 2003 +0000

    fix a mistake in ChangeLog

 ChangeLog | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a4db2b5e2c0a7ee0bff65f59a7aaeb565b46653f
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Jan 17 23:25:50 2003 +0000

    2003-01-17  Krzysztof Zaraska  <kzaraska@student.uci.agh.edu.pl>
    
    	* plugins/format/classic/classic.c:
            remove obsoleted call to set_state() (so the code compiles ;P)

 ChangeLog | 5 +++++
 1 file changed, 5 insertions(+)

commit d08f093c8c46e85d02ed7ddd77eebccf4c7c8e18
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Jan 17 22:18:16 2003 +0000

    plugins/format/classic/classic.c:
    remove obsoleted call to set_state()

 plugins/format/classic/classic.c | 2 --
 1 file changed, 2 deletions(-)

commit 3caa21101f590eedd3b4d0e8eff528aa51113579
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Jan 16 22:05:03 2003 +0000

    correct URL

 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit be3a7b4069b7bdcb885efaabe9e1f7e1a3617f67
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Jan 16 22:02:29 2003 +0000

            * plugins/format/classic/classic:
            removed unnecessary plugin (un)subscription code.

 ChangeLog                        |  5 +++++
 plugins/format/classic/classic.c | 31 +++----------------------------
 2 files changed, 8 insertions(+), 28 deletions(-)

commit 4faada04df04932d66158658342db0c6d53a8490
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Jan 11 21:38:52 2003 +0000

            * plugins/format/classic/Makefile.am:
            link the plugin dynamically against libprelude to avoid linker
            errors when used from Perl.
    
            * bindings/*:
            new files. Perl 5.8 bindings from Nicolas Delon
            <delon.nicolas@wanadoo.fr>

 ChangeLog                            |  10 +
 bindings/perl/PreludeDB/Changes      |   6 +
 bindings/perl/PreludeDB/MANIFEST     |   8 +
 bindings/perl/PreludeDB/Makefile.PL  |  17 ++
 bindings/perl/PreludeDB/PreludeDB.pm | 131 +++++++++
 bindings/perl/PreludeDB/PreludeDB.xs | 338 ++++++++++++++++++++++
 bindings/perl/PreludeDB/README       |  38 +++
 bindings/perl/PreludeDB/ppport.h     | 540 +++++++++++++++++++++++++++++++++++
 bindings/perl/PreludeDB/test.pl      |  95 ++++++
 bindings/perl/PreludeDB/typemap      |   5 +
 plugins/format/classic/Makefile.am   |   1 +
 11 files changed, 1189 insertions(+)

commit 71029ebaf5b51f9100e67b5b78f184f31df29a71
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Jan 7 23:16:25 2003 +0000

            * plugins/sql/mysql.c:
            * plugins/sql/pgsql.c:
            (db_query): don't change session status to st_query if there are
            no results. Remove unneeded st_transaction state (backend will
            check these things anyhow). Patch from Nicolas Delon
            <delon.nicolas@wanadoo.fr> (with my cooperation ;)).
    
            * src/sql.c:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            (prelude_sql_insert):
            fix bug in error handling.
            (prelude_sql_row_free):
            Check for NULL argument.
            (prelude_sql_field_info_type):
            Implemented.
    
            * src/include/sql.h:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            updated accordingly.
    
            * plugins/format/classic/idmef-db-output.c:
            added error handling. Added transaction support: BEGIN; at the
            start, COMMIT; when we're done or ROLLBACK on error. Finally :)
    
            * src/idmef-db-values.c:
            * src/include/idmef-db-values.h:
            new file. Implementation of container datatype for data read
            from database will be placed here.
    
            * src/strbuf.c:
            * src/include/strbuf.h:
            new file. Provides a dynamically resizable char * buffer.
    
            * src/idmef-object-list.c:
            * src/include/idmef-object-list.h:
            new file. Local implementation of lists of idmef_object_t objects.
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            modified accordingly
    
            * src/plugin-format.h:
            API change: add hooks for alert reading function.
    
            * plugins/format/classic/idmef-db-read.c:
            * plugins/format/classic/include/idmef-db-read.h:
            new file. Alert reading code will be placed here.
    
            * plugins/format/classic/classic.c:
            register callback for alert reading. Remove check for database
            type duplicating the one from idmef-db-output.c.
    
            * plugins/format/classic/Makefile.am:
            modified accordingly.
    
            * plugins/format/classic/include/idmef-db-output.h:
            change preprocessor macros to avoid names clash.
    
            * plugins/format/classic/classic.c:
            add support for alert reading API.
    
            * src/db-interface.c:
            * src/include/db-interface.c:
            (prelude_db_interface_read_idmef_objects): implemented.
    
            * src/db.c:
            fix includes adapting to new API. Update copyright notice.
    
            * src/format-plugins.c:
            fix includes adapting to new API.

 ChangeLog | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

commit 930a14d516549dc6e11c7637fcd92cff0cf04907
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Jan 7 23:15:16 2003 +0000

            * plugins/sql/pgsql.c:
            (db_query): don't change session status to st_query if there are
            no results. Remove unneeded st_transaction state (backend will
            check these things anyhow). Patch from Nicolas Delon
            <delon.nicolas@wanadoo.fr> (with my cooperation ;)).
    
            * src/sql.c:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            (prelude_sql_insert):
            fix bug in error handling.
            (prelude_sql_row_free):
            Check for NULL argument.
            (prelude_sql_field_info_type):
            Implemented.
    
            * src/include/sql.h:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            updated accordingly.
    
            * plugins/format/classic/idmef-db-output.c:
            added error handling. Added transaction support: BEGIN; at the
            start, COMMIT; when we're done or ROLLBACK on error. Finally :)
    
            * src/idmef-db-values.c:
            * src/include/idmef-db-values.h:
            new file. Implementation of container datatype for data read
            from database will be placed here.
    
            * src/strbuf.c:
            * src/include/strbuf.h:
            new file. Provides a dynamically resizable char * buffer.
    
            * src/idmef-object-list.c:
            * src/include/idmef-object-list.h:
            new file. Local implementation of lists of idmef_object_t objects.
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            modified accordingly
    
            * src/plugin-format.h:
            API change: add hooks for alert reading function.
    
            * plugins/format/classic/idmef-db-read.c:
            * plugins/format/classic/include/idmef-db-read.h:
            new file. Alert reading code will be placed here.
    
            * plugins/format/classic/classic.c:
            register callback for alert reading. Remove check for database
            type duplicating the one from idmef-db-output.c.
    
            * plugins/format/classic/Makefile.am:
            modified accordingly.
    
            * plugins/format/classic/include/idmef-db-output.h:
            change preprocessor macros to avoid names clash.
    
            * plugins/format/classic/classic.c:
            add support for alert reading API.
    
            * src/db-interface.c:
            * src/include/db-interface.c:
            (prelude_db_interface_read_idmef_objects): implemented.
    
            * src/db.c:
            fix includes adapting to new API. Update copyright notice.
    
            * src/format-plugins.c:
            fix includes adapting to new API.
    
    --------------------------------------------------------------------

 plugins/format/classic/idmef-db-read.c         |  57 ++++++++++++
 plugins/format/classic/include/idmef-db-read.h |  32 +++++++
 src/idmef-object-list.c                        | 121 +++++++++++++++++++++++++
 src/include/idmef-object-list.h                |  39 ++++++++
 4 files changed, 249 insertions(+)

commit 6f742aa2e8d02dd60b974693735a494addab8ecc
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Jan 7 23:12:42 2003 +0000

            * plugins/sql/pgsql.c:
            (db_query): don't change session status to st_query if there are
            no results. Remove unneeded st_transaction state (backend will
            check these things anyhow). Patch from Nicolas Delon
            <delon.nicolas@wanadoo.fr> (with my cooperation ;)).
    
            * src/sql.c:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            (prelude_sql_insert):
            fix bug in error handling.
            (prelude_sql_row_free):
            Check for NULL argument.
            (prelude_sql_field_info_type):
            Implemented.
    
            * src/include/sql.h:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            updated accordingly.
    
            * plugins/format/classic/idmef-db-output.c:
            added error handling. Added transaction support: BEGIN; at the
            start, COMMIT; when we're done or ROLLBACK on error. Finally :)
    
            * src/idmef-db-values.c:
            * src/include/idmef-db-values.h:
            new file. Implementation of container datatype for data read
            from database will be placed here.
    
            * src/strbuf.c:
            * src/include/strbuf.h:
            new file. Provides a dynamically resizable char * buffer.
    
            * src/idmef-object-list.c:
            * src/include/idmef-object-list.h:
            new file. Local implementation of lists of idmef_object_t objects.
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            modified accordingly
    
            * src/plugin-format.h:
            API change: add hooks for alert reading function.
    
            * plugins/format/classic/idmef-db-read.c:
            * plugins/format/classic/include/idmef-db-read.h:
            new file. Alert reading code will be placed here.
    
            * plugins/format/classic/classic.c:
            register callback for alert reading. Remove check for database
            type duplicating the one from idmef-db-output.c.
    
            * plugins/format/classic/Makefile.am:
            modified accordingly.
    
            * plugins/format/classic/include/idmef-db-output.h:
            change preprocessor macros to avoid names clash.
    
            * plugins/format/classic/classic.c:
            add support for alert reading API.
    
            * src/db-interface.c:
            * src/include/db-interface.c:
            (prelude_db_interface_read_idmef_objects): implemented.
    
            * src/db.c:
            fix includes adapting to new API. Update copyright notice.
    
            * src/format-plugins.c:
            fix includes adapting to new API.
    
    
    --------------------------------------------------------------------

 plugins/format/classic/Makefile.am               |   2 +-
 plugins/format/classic/classic.c                 |  25 +-
 plugins/format/classic/idmef-db-output.c         | 276 +++++++++++++++--------
 plugins/format/classic/include/idmef-db-output.h |   6 +-
 plugins/sql/mysql/mysql.c                        |  94 ++------
 plugins/sql/pgsql/pgsql.c                        |  62 ++---
 src/Makefile.am                                  |   3 +
 src/db-interface-string.c                        |   4 +-
 src/db-interface.c                               |  34 ++-
 src/db.c                                         |   9 +-
 src/format-plugins.c                             |   5 +-
 src/gdb.c                                        |   1 +
 src/idmef-db-values.c                            |  32 +++
 src/include/Makefile.am                          |   4 +
 src/include/db-interface.h                       |   4 +
 src/include/idmef-db-values.h                    |  33 +++
 src/include/plugin-format.h                      |   7 +
 src/include/sql.h                                |   1 +
 src/include/strbuf.h                             |  37 +++
 src/sql.c                                        |  12 +-
 src/strbuf.c                                     | 110 +++++++++
 21 files changed, 529 insertions(+), 232 deletions(-)

commit 64fc9fadb92b30e7b864c7d8d467389753c5f0d2
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Jan 4 20:17:07 2003 +0000

    cleanup

 src/dispatch.c | 89 ----------------------------------------------------------
 1 file changed, 89 deletions(-)

commit e023a62c1b47fa8ef04a7a6dbb29c8880247fbbb
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Jan 4 17:43:30 2003 +0000

            * plugins/sql/mysql/mysql.c:
            * plugins/sql/pgsql/pgsql.c:
            * src/include/plugin-sql.h:
            * src/include/sql.h:
            * src/sql.c:
            updated copyright notices
    
            * src/sql.c(prelude_sql_field_value_idmef):
            call idmef_value_have_own_data() after bulding idmef_string_t
            object.
    
            * src/include/plugin-sql.h:
            sql plugin API re-designed
            we no longer convert the database result in our own format
            we no longer use the errno global variable, instead of this,
            the sql plugin must maintain an internal errno-type variable
    
            * src/{sql.c,include/sql.h}:
            a lot of changes to fit the new sql plugin API
    
            * src/{sql-table.c,include/sql-table.h}:
            as we are not doing results conversion anymore, those files
            have been deleted
    
            * plugins/sql/mysql/mysql.c:
            a lot of changes to fit the new sql plugin API
            dbport argument in db_setup is supported
            code cleanup, we no longer use mysql API deprecated functions
            we no longer fetch the query result in one time, instead of this,
            we fetch the result row by row
    
            * plugins/sql/pgsql/pgsql.c
            a lot of changes to fit the new sql plugin API

 ChangeLog                                |  38 ++
 plugins/format/classic/classic.c         |   1 -
 plugins/format/classic/idmef-db-output.c |   1 -
 plugins/sql/mysql/mysql.c                | 630 ++++++++++++++++++++-----------
 plugins/sql/pgsql/pgsql.c                | 542 ++++++++++++++++----------
 src/Makefile.am                          |   3 +-
 src/db-interface.c                       |   1 -
 src/db-write.c                           |   0
 src/db.c                                 |   2 +-
 src/format-plugins.c                     |   2 +-
 src/include/Makefile.am                  |   6 +-
 src/include/plugin-sql.h                 |  81 ++--
 src/include/sql-table.h                  |  73 ----
 src/include/sql.h                        |  69 +++-
 src/message-queue.c                      |  60 ---
 src/queue.c                              | 181 ---------
 src/sql-plugins.c                        |   3 +-
 src/sql-table.c                          | 371 ------------------
 src/sql.c                                | 447 ++++++++++++++++++++--
 19 files changed, 1322 insertions(+), 1189 deletions(-)

commit 6c4e677b96fec7eb735c6b0bd0a9f232ed15696f
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Wed Jan 1 12:57:05 2003 +0000

            * src/db-interface-string.c(get_sql_connection_data):
            free 'data' structure correctly on error.
            Happy New Year :)

 ChangeLog                 |  6 ++++++
 src/db-interface-string.c | 14 +++++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)

commit 5ff1d12255a44d307bd12dee46ade26766b341cc
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Dec 31 17:18:14 2002 +0000

            * src/db-interface-string.c(get_sql_connection_data):
            fix memory leaks on errors.

 ChangeLog                 | 5 +++++
 src/db-interface-string.c | 6 ++++++
 2 files changed, 11 insertions(+)

commit ec9205eee18b2c42e34a30f7fca21be1a2529c51
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Dec 31 16:04:40 2002 +0000

            * src/db-interface-string.c(get_sql_connection_data):
            add handling of "port" keyword.
    
    
            Happy New Year :)

 ChangeLog | 5 +++++
 1 file changed, 5 insertions(+)

commit 2c33900af31a91374b5f1cc5843c67ce7565e682
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Dec 31 16:04:05 2002 +0000

    	* src/db-interface-string.c(get_sql_connection_data):
    	add handling of "port" keyword.
    
    
    	Happy New Year :)

 src/db-interface-string.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit cbcfbe07e6fe3f36b3ca9bc2bd015a273225dc00
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Dec 20 13:34:54 2002 +0000

            * plugins/sql/pgsql.c(db_query):
            fix a memory leak and a possible NULL pointer dereference on error.
            Thanks to Nicolas Delon <delon.nicolas@wanadoo.fr> for pointing
            this out.

 ChangeLog | 7 +++++++
 1 file changed, 7 insertions(+)

commit c13b76389d17f8aba837653a2c4d26b5afa10de2
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Dec 20 13:33:25 2002 +0000

    	* plugins/sql/pgsql.c(db_query):
    	fix a memory leak and a possible NULL pointer dereference on error.
    	Thanks to Nicolas Delon <delon.nicolas@wanadoo.fr> for pointing
    	this out.

 plugins/sql/pgsql/pgsql.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit fa2ab54d4bd9e074b9097fbaae6221270cc7a790
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Dec 19 21:41:01 2002 +0000

            * plugins/sql/mysql.c
            Remove no longer used connection_closed state.
            (db_connect):
            modify accordingly
            (db_cleanup):
            rename to cleanup. Change type to void. Remove unneeded check
            for connection state.
            (db_close):
            call cleanup().
    
            * plugins/pgsql/pgsql.c:
            ditto.
    
            * src/db-connection-data.c(prelude_db_connection_data_destroy):
            add missing call to free the structure.
    
            * src/db-connection.c:
            * src/include/db-connection.h:
            (prelude_db_connection_destroy):
            implemented.
    
            * src/db-interface-string.c:
            fix memory leaks related to calls to parameter_value()
    
            * src/db-interface.c
            (prelude_db_interface_new):
            set interface state to active after creating
            (prelude_db_interface_destroy):
            don't abort on prelude_db_interface_deactivate() error
            add missing call to prelude_db_connection_destroy()
    
            * src/sql.c
            (prelude_sql_escape):
            style fix.
            (prelude_sql_close):
            free() the structure

 ChangeLog                   | 39 ++++++++++++++++++++++++
 plugins/sql/mysql/mysql.c   | 18 ++++--------
 plugins/sql/pgsql/pgsql.c   | 18 ++++--------
 src/db-connection-data.c    |  2 ++
 src/db-connection.c         |  9 ++++++
 src/db-interface-string.c   | 72 +++++++++++++++++++++++++++++----------------
 src/db-interface.c          | 18 ++++++------
 src/include/db-connection.h |  2 +-
 src/sql.c                   |  4 ++-
 9 files changed, 122 insertions(+), 60 deletions(-)

commit 8877c186591a920581b4439b1a3efeb66ce2811c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Dec 19 13:14:39 2002 +0000

    	* plugins/sql/mysql/mysql.c:
    	implement handling of queries returning results
    	(this has been done by Nicolas Delon <delon.nicolas@wanadoo.fr>)

 ChangeLog                 |   6 +++
 plugins/sql/mysql/mysql.c | 118 +++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 122 insertions(+), 2 deletions(-)

commit e756875f3193392fd3735034f98f1abecb7831d7
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 14 16:55:25 2002 +0000

    	* src/sql-table.c:
    	add missing copyright notice.

 ChangeLog       |  5 +++++
 src/sql-table.c | 23 +++++++++++++++++++++++
 2 files changed, 28 insertions(+)

commit 4c2884244fffe161bb4688c0cfd4e5f8470d4c25
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Dec 13 23:33:59 2002 +0000

            * src/db-interface.c:
            allow interface specification with format = NULL
    
            * src/db-interface.c:
            * src/include/db-interface-h:
            (prelude_db_interface_get_connection)
            (prelude_db_interface_get_connection_data)
            new function.
    
            * src/sql-table.c:
            * src/include/sql-table.h:
            rename prelude_sql_row_add_field() to prelude_sql_row_set_field()
            to reflect actual behavior. Add new function
            prelude_sql_row_get_width().
    
            * plugins/sql/pgsql/pgsql.c(get_query_result):
            fix a bug preventing function from working :-)
            (add missing call to prelude_sql_row_set_field())

 ChangeLog                  | 21 +++++++++++++++++++++
 plugins/sql/pgsql/pgsql.c  |  2 ++
 src/db-interface.c         | 47 ++++++++++++++++++++++++++++++----------------
 src/include/db-interface.h |  4 ++++
 src/include/sql-table.h    |  3 ++-
 src/sql-table.c            | 11 +++++++++--
 6 files changed, 69 insertions(+), 19 deletions(-)

commit 9c87234736aee3fbd2eac2c4c82b2454723b61fc
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Dec 9 22:57:01 2002 +0000

    *** empty log message ***

 src/include/param-string.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit e980c913d30d57bfdebdd92238fd2166573e29d2
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Dec 9 22:55:20 2002 +0000

            * src/include/sql.h:
            * src/include/sql-table.h:
            * src/include/param-string.h:
            add missing copyright notice
    
            * src/include/param-string.h:
            add missing #ifdef

 ChangeLog                  | 10 ++++++++++
 src/include/param-string.h | 29 +++++++++++++++++++++++++++++
 src/include/sql-table.h    | 23 +++++++++++++++++++++++
 src/include/sql.h          | 23 +++++++++++++++++++++++
 4 files changed, 85 insertions(+)

commit 965e546901a66e416b01c47625cea39ec947cd0c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Dec 9 22:16:47 2002 +0000

            * src/sql-table.c:
            * src/include/sql-table.h:
            prefix public functions and structures with prelude_
            (so all public SQL functions are now prefixed with prelude_sql_)
    
            * plugins/sql/mysql/mysql.c:
            * plugins/sql/pgsql/pgsql.c:
            * src/sql.c:
            * src/include/sql.h:
            * src/include/plugin-sql.h:
            update accordingly.
    
            * src/include/plugin-sql.h:
            add missing plugin_init() prototype.
    
            * src/include/format.h:
            removed.

 ChangeLog                 | 23 +++++++++++++++--
 plugins/sql/mysql/mysql.c |  2 +-
 plugins/sql/pgsql/pgsql.c | 22 ++++++++--------
 src/include/format.h      | 15 -----------
 src/include/plugin-sql.h  |  5 ++--
 src/include/sql-table.h   | 38 +++++++++++++--------------
 src/include/sql.h         |  2 +-
 src/sql-table.c           | 66 +++++++++++++++++++++++------------------------
 src/sql.c                 |  4 +--
 9 files changed, 91 insertions(+), 86 deletions(-)

commit f9284b9dacd9dda9507bc167719201fc5bb6d6e4
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Dec 9 21:30:40 2002 +0000

            * src/include/format.h:
            * src/sql.c:
            prefix public functions with prelude_ (so all public SQL functions
            are now prefixed with prelude_sql_)
    
            * src/include/format.h:
            * src/db-interface.c:
            * plugins/format/classic/idmef-db-output.c:
            modified accordingly

 ChangeLog                                |  12 ++
 plugins/format/classic/idmef-db-output.c | 230 +++++++++++++++----------------
 src/db-interface.c                       |   6 +-
 src/include/format.h                     |   2 +-
 src/include/sql.h                        |  18 +--
 src/sql.c                                |  22 +--
 6 files changed, 151 insertions(+), 139 deletions(-)

commit f8b3c234d5bbfba6ade9bcf4e0f73ad797a1c2ac
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Dec 9 20:43:03 2002 +0000

    	* src/include/sql.h:
    	* src/sql.c:
    	SQL connection handling code from sql-plugins.c. sql_connection_t
    	structure made opaque. sql.h is a public header, offering
    	application access to our SQL layer.
    
    	* src/sql-plugins.c:
    	* src/include/plugin-sql.h:
    	remove code moved to sql.[ch].
    
    	* src/Makefile.am:
    	* src/include/Makefile.am:
    	modified accordingly
    
    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/idmef-db-output.c:
    	* src/db-interface.c:
    	include "sql.h" instead of "plugin-sql.h"

 ChangeLog                                |  22 +++
 plugins/format/classic/classic.c         |   2 +-
 plugins/format/classic/idmef-db-output.c |   2 +-
 src/Makefile.am                          |   1 +
 src/db-interface.c                       |   2 +-
 src/include/Makefile.am                  |   1 +
 src/include/plugin-sql.h                 |  28 ---
 src/include/sql.h                        |  27 +++
 src/sql-plugins.c                        | 268 --------------------------
 src/sql.c                                | 319 +++++++++++++++++++++++++++++++
 10 files changed, 373 insertions(+), 299 deletions(-)

commit b6928de35ee93fba8eb6a1422f3fa2538ba629ca
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 21:11:56 2002 +0000

    	* src/db-interface-string.c:
    	remove unneeded includes.

 ChangeLog                 | 5 +++++
 src/db-interface-string.c | 4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)

commit b9278d319a0c4d01e43db527809650019b0ab285
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 20:54:34 2002 +0000

    	* src/db-interface.c(prelude_db_interface_connect):
    	add missing "break" statement
    
    	* src/db-interface-string.c:
    	* src/include/db-interface-string.h:
    	new file. Reintroducing "ODBC-style" constructor for
    	prelude_db_interface_t.
    
    	* src/Makefile.am:
    	* src/include/Makefile.am:
    	update accordingly.

 ChangeLog                         |  14 ++++
 src/Makefile.am                   |   1 +
 src/db-interface-string.c         | 142 ++++++++++++++++++++++++++++++++++++++
 src/db-interface.c                |   2 +
 src/include/Makefile.am           |   1 +
 src/include/db-interface-string.h |  29 ++++++++
 6 files changed, 189 insertions(+)

commit 6c66af1dd75b32aa8a339b10948e6f8f972a82bd
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 20:37:28 2002 +0000

            * src/sql-connection-data.c:
            handle NULL parameter values correctly in all functions
    
            * src/include/db-type.h:
            define prelude_db_type_invalid

 ChangeLog | 8 ++++++++
 1 file changed, 8 insertions(+)

commit 25611510b726e68213f54f8e1c78f019c7c2f24a
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 20:36:06 2002 +0000

    	* src/sql-connection-data.c:
    	handle NULL parameter values correctly in all functions
    
    	* src/include/db-type.h:
    	define prelude_db_type_invalid
    
    	* src/include/db-connection-data.c:
    	* src/include/db-interface.c:
    	removed (fixing wrong commit)

 src/db-connection-data.c         | 90 ++++++++++++++++++++++++++++++++++++++++
 src/include/db-connection-data.c | 85 -------------------------------------
 src/include/db-interface.c       |  0
 src/include/db-type.h            |  1 +
 src/sql-connection-data.c        | 56 ++++++++++++++++++-------
 5 files changed, 133 insertions(+), 99 deletions(-)

commit b5b70a60183d8d47efb2c7adafad6c5d775046b3
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 18:24:45 2002 +0000

            * src/db-interface.c:
            don't include "param-string.h"

 ChangeLog          | 5 +++++
 src/db-interface.c | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

commit 797daad9a8d304abdb29b36010a49fe1d77dee2a
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 18:15:55 2002 +0000

            * src/db-interface.c(prelude_db_interface_new):
            avoid problems when 'format' or 'name' parameter is NULL

 ChangeLog          | 5 +++++
 src/db-interface.c | 9 ++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

commit 4036f81b6437bd5aee4c97f1b6ee4096d7cec9fd
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 16:19:32 2002 +0000

            * src/include/db-type.h:
            new file. prelude_db_type_t moved from db-connection.h
    
            * src/include/db-connection.h:
            modified accordingly.
    
            * src/include/Makefile.am:
            modified accordingly.
    
            * plugins/format/classic/classic.c:
            * plugins/format/classic/idmef-db-output.c:
            * src/db-connection.c:
            * src/db-interface.c:
            * src/db.c:
            * src/format-plugins.c:
            * src/sql-plugins.c:
            include "db-type.h"
    
            * src/sql-connection-data.c:
            * src/include/sql-connection-data.h:
            (prelude_sql_connection_data_set_name):
            (prelude_sql_connection_data_get_name):
            implemented.
    
            * src/param-string.c:
            declare local functions as static

 ChangeLog                                | 29 ++++++++++++++++++++++++++++
 plugins/format/classic/classic.c         |  1 +
 plugins/format/classic/idmef-db-output.c |  1 +
 src/db-connection.c                      |  1 +
 src/db-interface.c                       |  1 +
 src/db.c                                 |  1 +
 src/format-plugins.c                     |  1 +
 src/include/Makefile.am                  |  1 +
 src/include/db-connection-data.h         |  3 ++-
 src/include/db-connection.h              |  6 ------
 src/include/db-type.h                    | 33 ++++++++++++++++++++++++++++++++
 src/include/sql-connection-data.h        |  6 +++++-
 src/param-string.c                       | 10 +++++-----
 src/sql-connection-data.c                | 18 +++++++++++++++++
 src/sql-plugins.c                        |  1 +
 15 files changed, 100 insertions(+), 13 deletions(-)

commit 421ca95fa687a7886a9c4f4ecb59c6fa052497b0
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 15:44:32 2002 +0000

    	* src/db-interface.c:
    	* src/include/db-connection-data.c:
    	add missing copyright notice

 ChangeLog                        |  6 ++++++
 src/db-interface.c               | 22 ++++++++++++++++++++++
 src/include/db-connection-data.c | 23 +++++++++++++++++++++++
 3 files changed, 51 insertions(+)

commit be401069b1765d7e8e6f24862d79681a26e22923
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 15:33:54 2002 +0000

            * src/db-connection-data.c
            * src/include/db-connection-data.c
            * src/db-interface.c
            * src/include/db-interface.h
            * src/sql-connection-data.c
            * src/include/sql-connection-data.h
            new files. Object model for connection management has been totally
            reworked using opaque datatypes and should finally be correct.
    
            * src/db-connection.c:
            * src/include/db-connection.h:
            remove code regaring interface object (moved to db-interface.[ch]).
            Change structure of prelude_db_connection_t and make opaque.
    
            * src/db.c:
            * src/include/db.h:
            don't include anything in .h
    
            * plugins/format/classic/classic.c:
            * plugins/format/classic/idmef-db-output.c:
            modify code as necessary
    
            * plugins/sql/mysql/mysql.c:
            * plugins/sql/pgsql/pgsql.c:
            fix includes accordingly
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            modify accordingly

 ChangeLog                                |  32 ++++
 plugins/format/classic/classic.c         |   3 +-
 plugins/format/classic/idmef-db-output.c |  10 +-
 plugins/sql/mysql/mysql.c                |  15 +-
 plugins/sql/pgsql/pgsql.c                |  19 ++-
 src/Makefile.am                          |   3 +
 src/db-connection-data.c                 |   0
 src/db-connection.c                      | 253 +++---------------------------
 src/db-interface.c                       | 254 +++++++++++++++++++++++++++++++
 src/db.c                                 |  15 +-
 src/format-plugins.c                     |   1 +
 src/include/Makefile.am                  |   6 +
 src/include/db-connection-data.c         |  62 ++++++++
 src/include/db-connection-data.h         |  39 +++++
 src/include/db-connection.h              |  45 ++----
 src/include/db-interface.c               |   0
 src/include/db-interface.h               |  51 +++++++
 src/include/db.h                         |  18 ---
 src/include/plugin-sql.h                 |   4 +-
 src/include/sql-connection-data.h        |  56 +++++++
 src/sql-connection-data.c                | 180 ++++++++++++++++++++++
 src/sql-plugins.c                        |  16 +-
 22 files changed, 775 insertions(+), 307 deletions(-)

commit 7dadeee523611893730570008558ba0afd4c9c7f
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Dec 1 18:50:14 2002 +0000

    sync with old changes to HEAD

 ChangeLog                                |  23 ++++++
 plugins/format/classic/idmef-db-output.c |  35 +++++-----
 plugins/format/classic/mysql.sql         |  14 ++--
 plugins/format/classic/pgsql.sql         | 116 ++++++++++++++++---------------
 4 files changed, 109 insertions(+), 79 deletions(-)

commit a3357fffca40d500884965584dc72f83643e59d9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 24 15:35:57 2002 +0000

    *** empty log message ***

 src/include/db-connection.h | 7 -------
 1 file changed, 7 deletions(-)

commit 19031714c145e09f2f7654a1730b8487389f173f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 24 15:34:12 2002 +0000

    *** empty log message ***

 ChangeLog                   |  16 ++++
 src/db-connection.c         | 217 +++++++++++++++++++++++---------------------
 src/include/db-connection.h |  16 ++++
 3 files changed, 147 insertions(+), 102 deletions(-)

commit 40b0942461fd4cdb95144e048ebd869057312537
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Sep 16 20:25:23 2002 +0000

    *** empty log message ***

 ChangeLog | 7 +++++++
 1 file changed, 7 insertions(+)

commit 73f06d40143dea1c77b83d2a3d65e34aa9bf552c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Sep 16 20:24:59 2002 +0000

    moved *.sql to plugins/format/classic

 plugins/format/classic/mysql.sql | 389 +++++++++++++++++++++++++++++++++++++++
 plugins/format/classic/pgsql.sql | 374 +++++++++++++++++++++++++++++++++++++
 plugins/sql/mysql/mysql.sql      | 389 ---------------------------------------
 plugins/sql/pgsql/postgres.sql   | 374 -------------------------------------
 4 files changed, 763 insertions(+), 763 deletions(-)

commit e170508e5f6e1e2cd9f47d2dc799749ace28275f
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Sep 15 20:52:17 2002 +0000

    fix transaction handling. remove db_insert().

 ChangeLog                 |  13 +++++
 plugins/sql/mysql/mysql.c | 118 +++++++++++++++++++---------------------------
 plugins/sql/pgsql/pgsql.c |  78 ++++++++++++------------------
 src/include/plugin-sql.h  |   6 +--
 src/sql-plugins.c         |   4 +-
 5 files changed, 96 insertions(+), 123 deletions(-)

commit 0948cb136edd510ccb59618ab3d1556ed652b969
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Sep 12 07:28:14 2002 +0000

    *** empty log message ***

 ChangeLog    | 21 +++++++++++++++++++++
 README       | 42 ++++++++++++++++++++++++++++++++++++++----
 configure.in | 16 ++++++++++++++++
 3 files changed, 75 insertions(+), 4 deletions(-)

commit 537d1715309210bfb34b20f102878bd792ff28a2
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Sep 12 07:17:46 2002 +0000

            * src/db-connection.c:
            * src/include/db-connection.h:
            removed support for connection lists. This should be done
            in the application.
    
            Added a new ODBC-style common connection interface
            (prelude_db_connect).
    
            * src/param-string.c
            * src/include/param-string.h:
            Functions needed for parsing connection configuration strings.
    
            * src/sql-table.c: made sql_field_t, sql_row_t, sql_table_t
            be opaque datatype, for the sake of binary compatibility.
    
            * lot of cleanup, handle session the right way (tm).

 plugins/format/classic/classic.c         |   2 +-
 plugins/format/classic/idmef-db-output.c |   2 +-
 plugins/sql/mysql/mysql.c                | 344 +++++++++------------
 plugins/sql/pgsql/pgsql.c                | 512 +++++++++++++++----------------
 src/Makefile.am                          |   5 +-
 src/db-connection.c                      | 213 +++++++------
 src/db.c                                 |  38 +--
 src/format-plugins.c                     |  39 +--
 src/include/Makefile.am                  |   2 +
 src/include/db-connection.h              |  18 +-
 src/include/db.h                         |   3 +-
 src/include/param-string.h               |   1 +
 src/include/plugin-format.h              |   8 +-
 src/include/plugin-sql.h                 |  26 +-
 src/include/sql-table.h                  |  59 ++--
 src/param-string.c                       | 211 +++++++++++++
 src/sql-plugins.c                        |  72 ++---
 src/sql-table.c                          | 262 +++++++++++-----
 18 files changed, 1003 insertions(+), 814 deletions(-)

commit 0e9b4da3ff12f762f8fa75faaf74e4988d55980c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 26 09:43:25 2002 +0000

    	* src/sql-plugins.c:
    	if va_copy isn't defined (C99), check for __va_copy (C89).
    
    	If __va_copy isn't available, then fallback on the memcpy()
    	method, but give a compile warning as well explaining this
    	might result in undefined behavior on certain architecture.
    
    	generate_query(): copy the variable argument list in case
    	generate_dynamic_query() is to be called. This avoid undefined
    	behavior on some architecture, where you can't use a variable
    	argument list twice.

 ChangeLog         | 12 ++++++++++++
 src/sql-plugins.c | 32 +++++++++++++++++++++++++++++++-
 2 files changed, 43 insertions(+), 1 deletion(-)

commit 9b3d6221000542b44052a82f197758ecaeb22025
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 26 08:23:45 2002 +0000

    2002-08-26  Yoann Vandoorselaere  <yoann@mandrakesoft.com>
    
    	* src/sql-plugins.c (sql_query):
    	(sql_insert): kill code duplication, use generate_query().
    
    	(generate_query): new function. Fix an off by one in
    	sql_insert() and sql_query.

 ChangeLog         |   6 +++
 src/sql-plugins.c | 140 ++++++++++++++++++++++++------------------------------
 2 files changed, 67 insertions(+), 79 deletions(-)

commit 58d96f56f7c8b8d4f80c517d7f83b55c6a32f644
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 25 22:39:05 2002 +0000

    *** empty log message ***

 ChangeLog    | 4 ++++
 configure.in | 1 +
 2 files changed, 5 insertions(+)

commit 3f396fdab8e224650ed50080f429f8ea1fefb3bb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 25 14:06:58 2002 +0000

    2002-08-25  Yoann Vandoorselaere  <yoann@mandrakesoft.com>
    
    	* src/format-plugins.c: avoid using global variable when
    	possible. Style fix.

 ChangeLog            |  5 +++++
 src/format-plugins.c | 18 ++++++++++--------
 2 files changed, 15 insertions(+), 8 deletions(-)

commit 810783cd42383f2a0a2d7d8ec09125945839793c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Aug 23 22:02:02 2002 +0000

    removed rh artifacts ;-)

 autogen.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 25ba5165252697d95c4a7397d41a37abbcf89095
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Aug 23 21:15:44 2002 +0000

    *** empty log message ***

 ChangeLog | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 README    | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+), 1 deletion(-)

commit 32a0fc085b51eb90945cc91ec6facb15b2644a22
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Aug 23 21:14:35 2002 +0000

    mysql plugin ported. README file added.

 plugins/format/classic/classic.c |   8 -
 plugins/sql/Makefile.am          |   3 +-
 plugins/sql/mysql/Makefile.am    |   2 +-
 plugins/sql/mysql/mysql.c        | 343 +++++++++++++++++++++++++++++----------
 plugins/sql/pgsql/pgsql.c        |  31 ++--
 src/db-connection.c              |  16 +-
 src/include/plugin-sql.h         |   4 +-
 src/sql-plugins.c                |   7 +-
 8 files changed, 285 insertions(+), 129 deletions(-)

commit b188cbca62acf9619b0ee93a628780e8cb4d50e3
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Aug 22 17:24:36 2002 +0000

    clean up. improve interface handling code.

 plugins/format/classic/classic.c                 |   4 +-
 plugins/format/classic/idmef-db-output.c         |   4 +-
 plugins/format/classic/include/idmef-db-output.h |   2 +-
 src/db-connection.c                              | 163 ++++++++++++++++++-----
 src/db.c                                         |  67 ++++++----
 src/include/db-connection.h                      |  59 +++++++-
 src/include/db.h                                 |   8 +-
 src/include/plugin-format.h                      |   2 +-
 8 files changed, 228 insertions(+), 81 deletions(-)

commit e3305bf6602287a7e98bb15927076dcbf7f21068
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Aug 22 15:25:50 2002 +0000

    initial db-work commit

 ChangeLog | 5 +++++
 1 file changed, 5 insertions(+)

commit 2a1439f82ecc3675fd2b677a82afdc08bb3a25e3
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Aug 22 15:13:04 2002 +0000

    *** empty log message ***

 plugins/format/classic/classic.c         |  2 +
 plugins/format/classic/idmef-db-output.c | 96 ++++++++++++++++----------------
 src/db-connection.c                      |  6 ++
 src/include/plugin-sql.h                 | 16 +++---
 src/sql-plugins.c                        | 38 +++----------
 5 files changed, 74 insertions(+), 84 deletions(-)

commit fb7e88026bfe27a02d69b7d8ae42806f8b97d441
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Wed Aug 21 23:19:21 2002 +0000

    Initial revision

 AUTHORS                                          |    0
 COPYING                                          |  340 ++++++
 ChangeLog                                        |    0
 INSTALL                                          |  182 ++++
 Makefile.am                                      |    3 +
 NEWS                                             |    0
 README                                           |    0
 acconfig.h                                       |    8 +
 acinclude.m4                                     |  149 +++
 autogen.sh                                       |    6 +
 configure.in                                     |  183 ++++
 libpreludedb-config.in                           |   71 ++
 plugins/Makefile.am                              |    1 +
 plugins/filters/Makefile.am                      |    5 +
 plugins/filters/skeleton/Makefile.am             |    6 +
 plugins/filters/skeleton/skeleton.c              |  163 +++
 plugins/format/Makefile.am                       |    1 +
 plugins/format/classic/Makefile.am               |    6 +
 plugins/format/classic/classic.c                 |  104 ++
 plugins/format/classic/idmef-db-output.c         | 1255 ++++++++++++++++++++++
 plugins/format/classic/include/idmef-db-output.h |   30 +
 plugins/format/new/idmef-db-output.c             |  401 +++++++
 plugins/sql/Makefile.am                          |    6 +
 plugins/sql/mysql/Makefile.am                    |   11 +
 plugins/sql/mysql/mysql.c                        |  260 +++++
 plugins/sql/mysql/mysql.sql                      |  389 +++++++
 plugins/sql/pgsql/Makefile.am                    |   12 +
 plugins/sql/pgsql/pgsql.c                        |  482 +++++++++
 plugins/sql/pgsql/postgres.sql                   |  374 +++++++
 src/Makefile.am                                  |   16 +
 src/db-connection.c                              |  167 +++
 src/db-write.c                                   |    0
 src/db.c                                         |   74 ++
 src/dispatch.c                                   |   89 ++
 src/filter-plugins.c                             |  202 ++++
 src/format-plugins.c                             |  112 ++
 src/gdb.c                                        |   33 +
 src/include/Makefile.am                          |   15 +
 src/include/db-connection.h                      |   19 +
 src/include/db.h                                 |   49 +
 src/include/dispatch.h                           |   16 +
 src/include/format.h                             |   15 +
 src/include/gdb.h                                |    7 +
 src/include/plugin-filter.h                      |   88 ++
 src/include/plugin-format.h                      |   51 +
 src/include/plugin-sql.h                         |  133 +++
 src/include/queue.h                              |   39 +
 src/include/sql-table.h                          |   66 ++
 src/message-queue.c                              |   60 ++
 src/queue.c                                      |  181 ++++
 src/sql-plugins.c                                |  357 ++++++
 src/sql-table.c                                  |  225 ++++
 52 files changed, 6462 insertions(+)