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
|
2007-11-01 Johan Dahlin <johan@gnome.org>
* gst/gst.override:
* gst/gst-0.10.15.ignore:
Make sure it still builds with GStreamer 0.10.14.
2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
* gst/gst.defs:
* gst/gst.override:
Patch from Alessandro Decina adding get_type_full and
get_protocols_full private vfuncs to the URIHandler interface
to allow bindings to support creating URI handlers.
Partially fixes: #339279
2007-10-18 Jan Schmidt <Jan.Schmidt@sun.com>
* examples/play.py:
Fix the sample player slightly so that the expose method
actually gets called by pyGTK.
2007-10-18 Edward Hervey <bilboed@bilboed.com>
* gst/gst.defs:
* gst/gst.override:
Thanks to Sebastien Merle for resurrecting a patch I'd forgotten about
that adds a constructor method for gst.GError, so you can create
error gst.Message.
Added a few GIL releases for overrides.
2007-10-13 Edward Hervey <bilboed@bilboed.com>
* gst/gstobject.override:
Release the GIL when calling gst_object_get_path_string() since it can
cause deadlocks with new pygobject behaviour.
2007-10-11 Edward Hervey <bilboed@bilboed.com>
* gst/gstmodule.c: (init_gst):
Added new gst.TAG_COMPOSER constant that appeared in core 0.10.15.
2007-10-09 Edward Hervey <bilboed@bilboed.com>
* gst/base.defs:
* gst/libs.defs:
* gst/gst.defs:
* gst/gst.override:
Update API definitions for GStreamer core and gst-plugins-base.
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.15.ignore:
* gst/gst-pb-0.10.15.ignore:
* gst/gstversion.override.in:
New .ignore for 0.10.14.* API
2007-10-09 Edward Hervey <bilboed@bilboed.com>
* testsuite/common.py:
* testsuite/test_bin.py:
* testsuite/test_element.py:
* testsuite/test_ghostpad.py:
* testsuite/test_pad.py:
* testsuite/test_pipeline.py:
Fix unit tests for pygobject >= 2.13.0
See the pygobject bug #320428 for more information about the changes.
2007-10-08 Sebastien Moutte <sebastien@moutte.net>
* gst/pygstminiobject.c: (pygstminiobject_dealloc):
Move up variable declaration to the top of the function.
* win32/vs6/gst_python.dsw:
* win32/vs6/libgstpython.dsp:
* win32/vs6/pygenfiles.dsp:
* win32/MANIFEST
Add new project files to build with VS6.
2007-09-11 Andy Wingo <wingo@pobox.com>
* gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit).
Atexit handlers are run after python has finalized (see Py_Exit in
pythonrun.c), but gst_deinit can potentially call back into python
e.g. for python-defined plugins. Not sure how other people are
avoiding this segfault, but I see it all the time on Gusty x86-64
with Flumotion.
2007-08-16 Stefan Kost <ensonic@users.sf.net>
* ChangeLog:
* gst/pygstminiobject.c:
Make ro memory to share.
2007-08-01 Edward Hervey <bilboed@bilboed.com>
* configure.ac:
Back to development cycle.
=== release 0.10.8 ===
2007-08-01 Edward Hervey <bilboed@bilboed.com>
* configure.ac:
releasing 0.10.8, "This time I know our side will win."
2007-07-30 Edward Hervey <bilboed@bilboed.com>
* configure.ac:
0.10.7.2 pre-release
2007-07-30 Edward Hervey <bilboed@bilboed.com>
* gst/gst.override:
And the dataqueue header only landed in 0.10.11 too.
2007-07-30 Edward Hervey <bilboed@bilboed.com>
* gst/gst-0.10.11.ignore:
GstDataQueue was added in gstreamer-0.10.11
* gst/gst-0.10.14.ignore:
some GstDataQueue methods were added in 0.10.14
2007-07-28 Edward Hervey <bilboed@bilboed.com>
* gst/base.defs:
* gst/gst.defs:
* gst/interfaces.defs:
* gst/libs.defs:
* gst/gst.override:
* gst/gstmodule.c: (init_gst):
Adding new API additions
* gst/gstmessage.override:
wrap GstMessage.parse_buffering.
* gst/interfaces.override:
wrap gst_mixer_message_parse_*() functions.
wrap GstVideoOrientation::get_*() methods.
2007-07-28 Edward Hervey <bilboed@bilboed.com>
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.14.ignore:
* gst/gst-pb-0.10.14.ignore:
* gst/gstversion.override.in:
Adding version overrides for new core/base releases.
2007-07-28 Edward Hervey <bilboed@bilboed.com>
* gst/interfaces.override:
Add more threadsafety in the overrides.
2007-07-27 Edward Hervey <bilboed@bilboed.com>
* Makefile.am:
* configure.ac:
* win32/MANIFEST:
* win32/common/.cvsignore:
* win32/common/config.h.in:
Add win32 requirements.
Fixes #433375
2007-07-27 Rene Stadler <mail@renestadler.de>
reviewed by: Edward Hervey <bilboed@bilboed.com>
* gst/gst.defs:
Make .get_uri_type() methods return a GstURIType enum instead of an
integer.
Fixes #436620
2007-07-27 Sebastien Merle <sylane@gmail.com>
reviewed by: Edward Hervey <bilboed@bilboed.com>
* gst/extend/discoverer.py:
New parameter to the discoverer to change the default maximum frame
interleave.
Fixes #418222
2007-07-27 Aidan Delaney <a.j.delaney@brighton.ac.uk>
reviewed by: Edward Hervey <bilboed@bilboed.com>
* examples/gst-discover:
Show duration of audio/video streams.
Specify units for values.
Fixes #432521
2007-07-20 Stefan Kost <ensonic@users.sf.net>
* gst/gst-disable-loadsave.ignore:
Override more when having no xml.
2007-07-09 Edward Hervey <bilboed@bilboed.com>
* gst/gstelement.override:
Override the proxy method for GstElement::request_new_pad virtual
methods since it can be called with NULL as the name.
Fixes #454259
2007-07-09 Edward Hervey <bilboed@bilboed.com>
Patch by: Zaheer Abbas Merali <zaheermerali@gmail.com>
* gst/gstevent.override:
Copy the GstStructure given as argument to gst_event_new_custom
and gst_event_new_navigation, else it would be freed when the python
object wrapping that structure goes out of scope.
Fixes #450117
2007-07-05 Edward Hervey <bilboed@bilboed.com>
Patch by: Rene Stadler <mail@renestadler.de>
* gst/arg-types.py:
* gst/gst.defs:
* gst/gst.override:
Handle 'gchar**' (GStrv) arguments in a uniform way.
Fixes #385841
2007-06-27 Edward Hervey <edward@fluendo.com>
* gst/gstbuffer.override:
whoapadoooo wabada bada ...
nothing here... :)
Fixes #451645
2007-06-16 Edward Hervey <edward@fluendo.com>
* gst/extend/jukebox.py:
* gst/extend/sources.py:
Fixes for thread-safety, changes in behaviour with gst.Pad and
cleanup. Still has some issues.
2007-06-14 Edward Hervey <edward@fluendo.com>
* gst/__init__.py:
Cleaner way of checking for existence of symbols in gst module.
2007-06-14 Jan Schmidt <thaytan@mad.scientist.com>
* examples/sinkelement-registry.py:
A quick modification of the sinkelement.py example that
shows how to register a pure-python gst.Element into the
registry for use in autoplugging or parse_launch lines.
2007-06-12 Edward Hervey <edward@fluendo.com>
* gst/__init__.py:
Fix API cleanups that cause API breakage.
Fixes #446674
2007-06-11 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstpad.override:
Wrap gst_pad_set_blocked_async in pyg thread unlock/lock.
2007-06-08 Edward Hervey <edward@fluendo.com>
Patch by : Michael Smith <msmith@fluendo.com>
* gst/extend/discoverer.py:
Better support for demuxers that don't create all pads at startup.
Fixes #380966
2007-06-08 Edward Hervey <edward@fluendo.com>
* gst/gst-0.10.12.ignore:
Add more API additions that weren't explicit in the release notes.
* gst/gst-0.10.13.ignore:
Personal note : remember to save file before commiting it.
2007-06-08 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.12.ignore:
* gst/gst-0.10.13.ignore:
* gst/gstversion.override.in:
Updating ignores for API additions
* gst/base.defs:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/interfaces.defs:
* gst/libs.defs:
Massive wrapping of new API additions
* gst/gstbase.override:
* gst/gstevent.override:
* gst/gstmessage.override:
* gst/gstquery.override:
Overrides for methods with return values as arguments.
* gst/xwindowlistener.defs:
What the $#@# is this file still doing here ?? Removing it.
2007-05-23 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
* gst/gst-disable-loadsave.ignore:
* gst/gstversion.override.in:
Example of how to properly ignore methods that aren't available if
some feature is disabled in GStreamer core.
2007-04-23 Stefan Kost <ensonic@users.sf.net>
* configure.ac:
Add example for the new AG_GST_PARSE_SUBSYSTEM_DISABLE macro.
2007-04-19 Edward Hervey <edward@fluendo.com>
* gst/gstbin.override:
Release the GIL in GstBin overrides.
2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstelement.override:
Release the python lock when performing GStreamer calls that might
result in callbacks into python.
2007-04-11 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstbase.override:
Unroll the GIL state in an error case where it was missing.
2007-04-11 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstpad.override:
Release the GIL lock while executing queries in GStreamer.
2007-04-10 Jan Schmidt <thaytan@mad.scientist.com>
* examples/pyidentity.py:
* gst/common.h:
* gst/gstpad.override:
Implement pad query proxying so that python elements can
answer pad queries. Fixes: #428299
2007-04-10 Jan Schmidt <thaytan@mad.scientist.com>
* examples/pyidentity.py:
Add a simple example that implements an identity-like element in
python and passes buffers through. It lacks buffer-alloc & query
handling at the moment, because the required gstreamer funcs aren't
wrapped.
* examples/sinkelement.py:
Make sure to call gobject.threads_init() in the example.
2007-04-04 Edward Hervey <edward@fluendo.com>
* codegen/codegen.py:
Also ignore pointers and boxed if they're in ignore-type.
* gst/gst-0.10.7.ignore:
Add gst_type_find_factory_call_function to functions ignored before
0.10.7 since it requires GstTypeFind arguments.
2007-04-04 Jan Schmidt <thaytan@mad.scientist.com>
* gst/common.h:
* gst/gst.override:
* gst/gstbuffer.override:
* gst/gstcaps.override:
* gst/gststructure.override:
* gst/gsttaglist.override:
* gst/interfaces.override:
Fix the build for x86_64 when compiling against Python 2.5.
Keeps backwards compatibility with Python 2.4. Tested on Ubuntu
Edgy 32-bit with python 2.4 & Feisty 64-bit with Python 2.4 & 2.5
Fixes #415003.
2007-03-25 Tim-Philipp Müller <tim at centricular dot net>
* gst/interfaces.defs:
GstTunerChannel and GstTunerNorm are not GstObjects, only GObjects.
2007-03-18 Johan Dahlin <jdahlin@async.com.br>
* gst/common.h:
* gst/gsttaglist.override:
Make it compilable on Python 2.4 and Python 2.5
2007-03-18 Johan Dahlin <jdahlin@async.com.br>
reviewed by: Edward Hervey <edward@fluendo.com>
* gst/__init__.py: Implement multiplication, divison and float
coercing for fractions.
* testsuite/test_fraction.py:
Add fraction tests
2007-03-17 Johan Dahlin <jdahlin@async.com.br>
* gst/gsttaglist.override (_wrap_gst_tag_list_contains):
* testsuite/test_taglist.py (TestTagList.testKeys):
Implement sq_contains and add tests for gst.TagList.
2007-03-02 Edward Hervey <edward@fluendo.com>
* gst/__init__.py:
Import libxml2 (if available) at import time with GLOBAL and LAZY flags.
Fixes #398567
2007-03-01 Edward Hervey <edward@fluendo.com>
* gst/__init__.py:
Added __eq__ method to fractions so we can check if two fractions are
equal.
* gst/pygstvalue.c: (my_gcd), (pygst_value_from_pyobject):
Attempt to simplify gst.Fraction before filling in a GValue.
Fixes #381243
* testsuite/test_caps.py:
* testsuite/test_struct.py:
Minor beauty fixes. framerates are fractions, not floats.
2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
reviewed by: Edward Hervey <edward@fluendo.com>
* gst/interfacesmodule.c: (initinterfaces):
initialize pygobject in the gst.interfaces modules. The absence of it
causes segfaults on Solaris and MIPS machines.
Fixes #343980
2007-02-27 Michael Smith <msmith@fluendo.com>
* gst/base.defs:
Limitations in the code generator mean that we can't handle PushSrc
in a way which works, so just comment this out until someone wants
to tackle this more completely.
2007-02-25 Michael Smith <msmith@fluendo.com>
* gst/pygstvalue.c: (pygst_value_init_for_pyobject),
(pygst_value_from_pyobject):
Make buffers-in-gvalues more generic: handle all miniobjects
* testsuite/test_caps.py:
Add a bit to one the test for buffers in caps.
2007-02-24 Michael Smith <msmith@fluendo.com>
* testsuite/test_caps.py:
Add test for gst.Buffer in caps.
2007-02-22 Michael Smith <msmith@fluendo.com>
* gst/pygstvalue.c: (pygst_value_as_pyobject),
(pygst_value_init_for_pyobject), (pygst_value_from_pyobject):
Implement gst.Buffer support in GValues (e.g. for caps containing
buffers)
2007-02-15 David Schleef <ds@schleef.org>
* Makefile.am: Add ACLOCAL_AMFLAGS
2007-02-04 Edward Hervey <edward@fluendo.com>
* testsuite/common.py:
A private variable of unittest.TestCase changed name in python 2.5.
This fixes make check with python2.5
2007-02-04 Rene Stadler <mail@renestadler.de>
reviewed by: Edward Hervey <edward@fluendo.com>
* gst/gstpad.override:
Allow removing the negotiated pads of a cap by setting them to None.
* testsuite/test_pad.py:
Added un-negotian of pads' caps to test above patch.
Fixes #363795
2007-02-04 Edward Hervey <edward@fluendo.com>
* gst/interfaces.override:
Gracefully handle the case where gst_property_probe_get_values_name()
returns NULL.
2007-02-04 Johan Dahlin <johan@gnome.org>
reviewed by: Edward Hervey <edward@fluendo.com>
* gst/interfaces.defs:
* gst/interfaces.override:
* testsuite/test_interface.py:
Fully implement GstPropertyProbe interface, with unit test.
Fixes #376996
2007-01-31 Edward Hervey <edward@fluendo.com>
* configure.ac:
Back to development cycle.
=== release 0.10.7 ===
2007-01-31 Edward Hervey <edward@fluendo.com>
* configure.ac:
* NEWS:
* RELEASE:
releasing 0.10.7, "You want to feel sorry for yourself, don't you ?"
2007-01-29 Edward Hervey <edward@fluendo.com>
* codegen/codegen.py:
Don't register interface if it is ignored
* configure.ac:
GST_PB_MINOR_VERSION doesn't appear by magic, you actually have to
parse it from pkg-config !
* gst/gst-pb-0.10.11.ignore:
Ignore GstVideoOrientation type altogether.
* gst/interfaces.override:
Include gstversion.override so that non-existent API is properly ignored.
Should fix #401051 once and for good now.
2007-01-29 Edward Hervey <edward@fluendo.com>
* configure.ac:
0.10.6.2 pre-release
2007-01-29 Edward Hervey <edward@fluendo.com>
* configure.ac:
Check for availability of video-orientation interface
* gst/gst.override:
don't forget to increment the refcount of Py_None before returning it.
* gst/interfaces.override:
If video-orientation interface isn't available, don't include the
header.
Fixes #401051
2007-01-26 Edward Hervey <edward@fluendo.com>
* configure.ac:
0.10.6.1 pre-release
2007-01-26 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
* gst/gstversion.override.in:
* gst/gst-0.10.12.ignore:
Add ignore file for 0.10.12 API additions
* gst/gst.defs:
* gst/base.defs:
* gst/gst-types.defs:
Add new API definitions
* gst/gst-0.10.10.ignore:
* gst/gst-0.10.11.ignore:
Fixup ignore files.
* testsuite/test_segment.py:
The update return value is uncertain and will soon be deprecated, don't
check against it anymore.
2007-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/mixer.py:
* gst/interfaces.override:
wrap mixer set_volume, use tuple to match get_volume
2007-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/pygstexception.c: (element_not_found_error_init),
(pygst_exceptions_register_classes):
* gst/pygstexception.h:
gst.element_factory_make should raise ElementNotFoundError.
Subclass it from PluginNotFoundError so we can add it compatibly
and remove the wrong one later.
* gst/gstelementfactory.override:
raise ElementNotFoundError
2007-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/interfaces.defs:
* gst/interfaces.override:
wrap mixer get_volume
* examples/Makefile.am:
* examples/mixer.py:
add an example using it
2007-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
fix use of PKG_CHECK_MODULES
check for a pygobject of at least 2.11 for a value_from_pyobject fix
* gst/gstobject.override:
use it
2007-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/extend/discoverer.py:
this is a module, not a program, so don't require versions
2007-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
check for stuff added in gst-pb 0.10.11
* gst/Makefile.am:
* gst/interfaces.defs:
* gst/interfaces.override:
add video orientation interface
2007-01-11 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Add declaration of gst_object_set_property so we can use our MT-safe
version of set_property().
* gst/gstobject.override:
Implement a MT-safe version of g_object_set_property for GstObject.
The problem is that currently g_object_set_property is called in
pygobject with the GIL lock taken. This can cause deadlocks.
Remove this hack once bug #395048 is fixed in pygobject and we depend on
the fixed version.
Thanks to Lord Wingo of the "realm.py haters club" for proposing the
idea.
2007-01-10 Edward Hervey <edward@fluendo.com>
* codegen/codegen.py:
When chaining up to the parent class methods from python to C, we need
to allow threads (i.e. release the GIL).
* gst/gstbase.override:
* gst/gstbin.override:
Modify __do_*() overrides in the same way as above.
2007-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/extend/discoverer.py:
No shebang line needed since there is no main code.
2006-12-19 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Update API definitions.
* gst/common.h:
* gst/gstpad.override:
Add wrapper functions for settings activate, activatepull and
activatepush functions on pads.
* gst/gst.override:
Wrapper for gst_segment_set_seek() and gst_segment_clip()
Remove global ignore for *_init(), allows gst_segment_init() to be
properly code-generated.
* testsuite/Makefile.am:
* testsuite/test_segment.py:
Add unit test for gst.Segment object.
2006-12-16 Edward Hervey <edward@fluendo.com>
* testsuite/test_pad.py:
Activate pads before using them.
2006-12-16 Edward Hervey <edward@fluendo.com>
* RELEASE:
Commit 0.10.6 RELEASE file. Better late than never :(
2006-12-16 Edward Hervey <edward@fluendo.com>
* codegen/argtypes.py:
* gst/arg-types.py:
Move GstIterator ArgType definition and usage for the codegenerator
to gst/arg-types.py. It has nothing to do in the codegenerator code.
2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
* Makefile.am:
* gst-python.doap:
* gst-python.spec.in:
add doap file
2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
* gst/interfaces.defs:
GstColorBalanceChannel is a GObject, not a GstObject. Fixes #383805.
2006-12-04 Edward Hervey <edward@fluendo.com>
* configure.ac:
Back to development cycle
=== release 0.10.6 ===
2006-12-04 Edward Hervey <edward@fluendo.com>
* configure.ac:
* NEWS:
releasing 0.10.6, "You're not very subtle, but you are effective"
2006-12-01 Edward Hervey <edward@fluendo.com>
* configure.ac:
0.10.5.4 pre-release
2006-12-01 Edward Hervey <edward@fluendo.com>
* gst/common.h:
* gst/gstpad.override:
Add implementation of gst.Pad.set_setcaps_function().
2006-11-28 Edward Hervey <edward@fluendo.com>
* configure.ac:
0.10.5.3 pre-release
2006-11-22 Edward Hervey <edward@fluendo.com>
* examples/audio-controller.py:
Fix example, use proper property name. Doesn't change anything to the
way it used to work, but since it's an example it should be done
properly.
2006-11-22 Edward Hervey <edward@fluendo.com>
* codegen/override.py:
Fix the lookup of override files in the specified search directories.
* gst/Makefile.am:
Don't distribute gstversion.override
Fixup .defs => .c make instructions
All the above fixes the cases where you're building in a directory
different from the source directory.
2006-11-15 Michael Smith <msmith@fluendo.com>
* gst/extend/discoverer.py:
Avoid buffering infinite amounts of decoded data if a decoder is
feeding us data without a duration (or with bad duration values).
2006-11-07 Edward Hervey <edward@fluendo.com>
* gst/extend/discoverer.py: Make the queue buffer up 1s of data before
outputting to the sinks. This should give time for some demuxers like
mpegdemux or fluasfdemux to discover a bit more about the muxed
stream and add the correct pads.
Fixes #371969
2006-11-07 Andy Wingo <wingo@pobox.com>
* examples/Makefile.am (examples_DATA):
* examples/gst-discover: New tool, runs the discoverer on a file
and prints out what we get.
2006-11-03 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
Use a copy of the caps.
2006-10-20 Edward Hervey <edward@fluendo.com>
* configure.ac:
0.10.5.2 pre-release
2006-10-20 Edward Hervey <edward@fluendo.com>
* gst/gst-0.10.10.ignore:
Added symbols added in 0.10.10
* gst/gst-0.10.6.ignore:
gst_dp_packetizer_new() addition
* gst/gst.defs:
Updated API for 0.10.10 symbols
* gst/gstmodule.c: (init_gst):
Added GST_TAG_EXTENDED_COMMENT which appeared in 0.10.10
* gst/libs.defs:
Added gst_dp_packetizer_new() which was added in 0.10.6. It still won't
work because GstDPPacketizer is a pointer. It needs to have a GBoxed
definition in order to be used properly within gst-python.
Also added controller-related additions
2006-10-20 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.11.ignore:
* gst/gstversion.override.in:
Added ignore files for 0.10.11 gstreamer core
* gst/base.defs:
Updated API for base libs
* gst/gst.defs:
Updated API for core
* gst/gst.override:
remove #ifdef for methods which weren't available in versions of pygtk
we don't support anymore.
* gst/gstbase.override:
Added overrides for GstBaseSink::get_times() virtual method
* gst/gstbin.override:
Added override for GstBin::handle_message() virtual method
2006-10-20 Edward Hervey <edward@fluendo.com>
* examples/Makefile.am:
Remove gst123 and vorbisplay.py from sources, and add decodebin.py
2006-10-20 Jason Gerard DeRose <jderose@jasonderose.org>
reviewed by: Edward Hervey <edward@fluendo.com>
* examples/decodebin.py:
* examples/gst123:
* examples/vorbisplay.py:
Removed gst123 and vorbisplay examples which weren't working with
0.10, and replaced them with decodebin.py
Closes #362183 and #362202
2006-10-20 Edward Hervey <edward@fluendo.com>
* examples/audioconcat.py:
* examples/cp.py:
Port to 0.10 by Jason Gerard DeRose <jderose@jasonderose.org>
Closes #362290 and #362272
* examples/bps.py:
Indentation fixes by Jason Gerard DeRose <jderose@jasonderose.org>
Closes #362011
Also small fix for Usage string
2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
* gst/gst.defs:
Don't use 'interface' as variable name, MingW doesn't like that
(fixes #359375).
2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
* gst/pygstiterator.c: (pygst_iterator_new):
Printf format fix.
2006-10-03 Edward Hervey <edward@fluendo.com>
* codegen/argtypes.py:
Revert the UInt64Arg modifications from upstream. It forces us to give
a PyLong, whereas we can directly use the 'K' argument parsing for that.
2006-09-29 Edward Hervey <edward@fluendo.com>
* ltihooks.py:
Removed
* testsuite/common.py:
ltihooks is dead, long live gstltihooks. This should complete thomas'
fix of #357310.
2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
* gst/Makefile.am:
Explicitly export _PyGObject_API from our modules, as it's apparently
needed for import. Previously we implicitly relied on a bug in the
core providing --export-dynamic as a link flag.
2006-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
* Makefile.am:
* gst/__init__.py:
* gstltihooks.py:
Fix #357310
2006-09-22 Edward Hervey <edward@fluendo.com>
Patch by: Rene Stadler <mail@renestadler.de>
* gst/gstlibs.override:
Fixes for GstController creation
memleak fixes.
2006-09-12 Edward Hervey <edward@fluendo.com>
* gst/extend/Makefile.am:
Forgot to add 3 previous files to the Makefile so they get
installed.
2006-09-12 Edward Hervey <edward@fluendo.com>
* gst/extend/jukebox.py:
* gst/extend/leveller.py:
* gst/extend/sources.py:
Revival of the jukebox (and leveller) using 0.10 and gnonlin.
Still needs a bit of love, but functionnal enough.
2006-09-10 Edward Hervey <edward@fluendo.com>
Patch by: Rene Stadler <mail@renestadler.de>
* gst/libs.defs:
Add definition for GstParamFlags, extension of the GParamFlags.
Only contains one flag, gst.PARAM_CONTROLLABLE.
Closes #355150
2006-08-31 Edward Hervey <edward@fluendo.com>
* gst/gst-0.10.10.ignore:
API addition
* gst/gst.defs:
Added new ghostpad functions.
2006-08-29 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
We don't own a reference on the elements contained in the list
returned by gst_xml_get_topelements().
2006-08-29 Edward Hervey <edward@fluendo.com>
* testsuite/test_pad.py:
The bug was not a bug. Fixed the typo.
2006-08-29 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_pad.py:
add a test for event probes - shows a bug, for which I commented
the failUnless out
2006-08-21 Edward Hervey <edward@fluendo.com>
* configure.ac:
Whoops, typo error :)
2006-08-21 Edward Hervey <edward@fluendo.com>
* configure.ac:
attempt to fix build.
2006-08-21 Edward Hervey <edward@fluendo.com>
* configure.ac:
If pygobject is available, only build with it, else try to find pygtk
to stay compatible with older version.
* gst/Makefile.am:
Switch to pygobject CFLAGS.
* testsuite/Makefile.am:
Switch to pygobject CFLAGS.
2006-08-08 Edward Hervey <edward@fluendo.com>
* codegen/codegen.py:
newer pygobject's pyg_constant_strip_prefix() now return a const gchar *
whereas PyModule_AddIntConstant() takes a normal gchar*.
Closes #349623
2006-08-05 Andy Wingo <wingo@pobox.com>
* examples/synchronizer.py: Actually appears to work now, will
have to try with guadec videos on Monday.
* examples/remuxer.py (PlayerWindow.create_ui): Disable the
auto-adjusting of cut in and cut out times, it's annoying.
2006-08-04 Andy Wingo <wingo@pobox.com>
* examples/synchronizer.py: New file, a bit of a hack to
remuxer.py, but for resyncing a bad ogg. Only UI at the moment..
2006-07-28 Andy Wingo <wingo@pobox.com>
* examples/remuxer.py (RemuxBin._do_seek, Remuxer._bus_watch): Use
normal seeks instead of segment seeks so that EOS is handled
properly. Patch by James "Doc" Livingston <doclivingston at
gmail.com>. (#348416)
* examples/remuxer.py (RemuxBin._new_demuxed_pad): Increase the
buffer size for dealing with terribly muxed files.
2006-07-20 Edward Hervey <edward@fluendo.com>
* configure.ac:
Back to development cycle
=== release 0.10.5 ===
2006-07-20 <>
* configure.ac:
releasing 0.10.5, "My Little Poney wants some Funk"
2006-07-19 Edward Hervey <edward@fluendo.com>
* configure.ac: 0.10.4.2 pre-release
2006-07-18 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.10.ignore:
* gst/gstversion.override.in:
Add new ignore for 0.10.10 API additions
* gst/gst.defs:
Added definitions for new segtrap functions
2006-07-05 Edward Hervey <edward@fluendo.com>
* gst/gstmodule.c: (init_gst):
Added gst.BUFFER_OFFSET_NONE for proper (guint64) -1 conversion between
python and C.
2006-07-03 Edward Hervey <edward@fluendo.com>
* gst/gstelement.override:
* gst/gstevent.override:
* gst/gstmessage.override:
* gst/gstquery.override:
Repeat 100 times : "I shouldn't commit patches without checking
them thoroughly, especially if they come from someone I trust".
Fix the broken Py_BuildValue.
2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
* Makefile.am:
* configure.ac:
* gst/Makefile.am:
add gcov stuff
2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstmodule.c: (init_gst):
don't crash when error is NULL
2006-07-03 Edward Hervey <edward@fluendo.com>
* gst/gstmessage.override:
State change is a list and not a tuple
* gst/gstpad.override:
query_position() got busted in previous commit.
2006-07-03 Johan Dahlin <jdahlin@async.com.br>
reviewed by: Edward Hervey <edward@fluendo.com>
* gst/gstelement.override:
* gst/gstevent.override:
* gst/gstmessage.override:
* gst/gstpad.override:
* gst/gstquery.override:
Use Py_BuildValue to construct tuples.
Use tuples for collection of different objects.
See http://www.python.org/doc/faq/general/#why-are-there-separate-tuple-and-list-data-types
* testsuite/test_event.py:
[message|query|event].parse_* now return tuples and not list.
Fixes #334548
2006-07-02 Edward Hervey <edward@fluendo.com>
Removal of all glib < 2.8 cruft since GStreamer core now requires
glib >= 2.8
* codegen/argtypes.py:
remove gstobject cruft from ObjectArg
* configure.ac:
Require glib >= 2.8.0
* gst/Makefile.am:
* gst/pygstobject.c:
* gst/pygstobject.h:
Remove pygstobject.[ch]
* gst/common.h:
Don't include removed header file.
* gst/gst.override:
* gst/gstbin.override:
* gst/gstbus.override:
* gst/gstelement.override:
* gst/gstelementfactory.override:
* gst/gstmessage.override:
* gst/gstobject.override:
* gst/gstpad.override:
* gst/interfaces.override:
* gst/pygstiterator.c: (pygst_iterator_iter_next):
Switch from using pygstobject* functions to using pygobject* functions.
* gst/gstmodule.c: (sink_gstobject), (init_gst):
Move GstObject sink function here and use standard gobject refcounting.
2006-06-22 Edward Hervey <edward@fluendo.com>
* configure.ac: (GST_LIBS):
0.10.7 ignore file is for 0.10.7 AND 0.10.8 (due to brown paperbag
release).
2006-06-15 Edward Hervey <edward@fluendo.com>
* codegen/codegen.py:
Always unblock threads when going to C.
* gst/gst.defs:
Revert unblock-threads noise.
2006-06-14 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
Added fields for GstPadTemplate.
* gst/gst.defs:
Made gst_element_class_get_template_list a GstElement method.
* gst/gstelement.override:
Override for gst.Element.get_template_list()
* gst/gstpad.override:
Override getter for GstStaticPadTemplate.static_caps so that it uses
the correct pointer.
2006-06-13 Edward Hervey <edward@fluendo.com>
* testsuite/gstpython.supp:
Keeping suppresions
2006-06-13 Edward Hervey <edward@fluendo.com>
* testsuite/gstpython.supp:
Tim might have fixed this suppression. Commenting it.
2006-06-13 Edward Hervey <edward@fluendo.com>
* testsuite/gstpython.supp:
One more suppression added to bug #344761
2006-06-13 Edward Hervey <edward@fluendo.com>
* .cvsignore:
Ignore more files
2006-06-13 Edward Hervey <edward@fluendo.com>
* testsuite/gstpython.supp:
Added suppresion for leaks of bug #344761.
2006-06-13 Edward Hervey <edward@fluendo.com>
* .cvsignore:
* testsuite/.cvsignore:
Ignore log files.
2006-06-13 Edward Hervey <edward@fluendo.com>
* Makefile.am: (CLEANFILES):
Cleanup pygst.pyc file.
2006-06-13 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Add 'unblock-threads #t' for critical functions/methods.
2006-06-12 Edward Hervey <edward@fluendo.com>
* testsuite/Makefile.am:
* testsuite/runtests.py:
* testsuite/cleanup.py:
Added cleanup file to initialize registry before running checks.
Added G_DEBUG=gc-friendly to valgrinding
Only test test_*.py files
2006-06-11 Edward Hervey <edward@fluendo.com>
* .cvsignore:
more files to ignore
2006-06-09 Edward Hervey <edward@fluendo.com>
* pygst.py.in:
Raise RequiredVersionError(ValueError, AssertionError) wherever
applicable. This makes the new system (raising an error) compatible
with the old system (assertions).
Fixes #341114
2006-06-09 Edward Hervey <edward@fluendo.com>
* pygst.py.in:
Don't import non-used modules
* testsuite/Makefile.am:
Heavy valgrinding por favor !
(%.valgrind): with always-malloc for GSlice
2006-06-09 Edward Hervey <edward@fluendo.com>
* codegen/Makefile.am:
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* codegen/defsconvert.py:
* codegen/defsparser.py:
* codegen/docextract.py:
* codegen/docextract_to_xml.py:
* codegen/docgen.py:
* codegen/h2def.py:
* codegen/mergedefs.py:
* codegen/missingdefs.py:
* codegen/mkskel.py:
* codegen/override.py:
* codegen/reversewrapper.py:
Updated codegenerator to current pygtk one.
* gst/gst.defs:
* gst/gst.override:
* gst/gstpad.override:
Update defs for new constructor definition.
* testsuite/test_bin.py:
With new constructors, pygobject will try to convert the argument to the
proper GType (here a string).
2006-06-09 Edward Hervey <edward@fluendo.com>
* gst/base.defs:
* gst/gst-0.10.7.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gstbase.override:
* gst/libs.defs:
Update for API additions.
* gst/gstmodule.c: (init_gst):
Added new GST_TAG_IMAGE and GST_TAG_PREVIEW_IMAGE
2006-05-27 Yuri Pankov <yuri.pankov@gmail.com>
reviewed by: Edward Hervey <edward@fluendo.com>
* gst/__init__.py:
Make gst-python work on OS without dl.so
Fixes #341799
2006-04-27 Johan Rydberg <jrydberg@gnu.org>
reviewed by: Edward Hervey <edward@fluendo.com>
* examples/filesrc.py: Port to 0.10.
2006-05-27 Edward Hervey <edward@fluendo.com>
* examples/audio-controller.py:
Make it work with 0.10, still had cruft from 0.9
2006-05-19 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.7.ignore:
* gst/gstversion.override.in:
Added ignore file for core 0.10.7
* gst/base.defs:
Added gst_adapter_take_buffer
* gst/gst-0.10.6.ignore:
Filed API addition for 0.10.6
* gst/gst-types.defs:
Added GstTypeFind pointer definition
* gst/gst.defs:
* gst/gst.override:
Added fake function gst_type_find_new() to create a GstTypeFind that can
be used in all typefinding function.
GstTypeFind *
gst_type_find_new(data, peekfunction, suggestfunction [, getlenghtfunction])
2006-05-09 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.6.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
Update for API changes.
Added ignore files for core 0.10.6 API additions.
2006-05-09 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
Reverting previous patches for conditional ignore.
It can't be done from within override files.
The only one left is the python gst_debug_log function
which will do nothing #ifdef GST_DISABLE_GST_DEBUG.
Also removed the conditional ignore for API changes since it didn't
have any effect either.
2006-05-09 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
Better conditional ignore for types and methods.
2006-05-09 Edward Hervey <edward@fluendo.com>
* codegen/codegen.py:
* codegen/override.py:
Added code to ignore type and the function/methods/classes that use
them.
* gst/gst.override:
ignore methods/classes/types depending on how GStreamer core was built:
_ GST_DISABLE_GST_DEBUG
_ GST_DISABLE_LOADSAVE
_ GST_DISABLE_PARSE
2006-05-09 Edward Hervey <edward@fluendo.com>
* testsuite/python.supp:
Added suppressions for FC5 64 bit
2006-05-08 Edward Hervey <edward@fluendo.com>
* autogen.sh: (CONFIGURE_DEF_OPT):
libtoolize on Darwin/MacOSX is called glibtoolize
2006-05-05 Andy Wingo <wingo@pobox.com>
* examples/remuxer.py (PlayerWindow.update_scale_cb): Fix a race
condition getting the initial cutin time via inserting whitespace.
(all over): UI fixes to make Mike happy.
* examples/remuxer.py: Updates! Nothing gstreamery, it's all ui,
so I won't bother you with the details.
2006-04-29 Edward Hervey <edward@fluendo.com>
* examples/gstfile.py:
Threaded application, we NEED gobject.threads_init().
This should finally gets rid of the crashes when used on single files.
* gst/extend/discoverer.py:
Re-order the imports.
2006-04-28 Edward Hervey <edward@fluendo.com>
* gst/arg-types.py:
Caps used as arguments of virtual methods should keep their initial
refcount when calling the python methods.
This is similar to the patch done for GstMiniObjects.
* gst/gstbase.override:
Adjust the gst.BaseTransform.get_unit_size() virtual method for above
fix.
2006-04-28 Артём Попов <artfwo@gmail.com>
reviewed by: Edward Hervey <edward@fluendo.com>
* gst/gstbase.override:
gst.BaseTransform.get_unit_size() virtual method override.
Closes #339248
2006-04-28 Edward Hervey <edward@fluendo.com>
* gst/arg-types.py:
GstMiniObject used as virtual methods parameters should be unreffed
before calling the method and the ref-ed.
Added Params and Returns for const-gchar*, GType and gulong so the
code generator can generate more virtual methods handlers/proxys.
* gst/gst-types.defs:
* gst/gst.defs:
* gst/interfaces.defs:
Added vtable and virtual method definition for interfaces so we can properly use virtual
methods from those interfaces in python.
2006-04-28 Edward Hervey <edward@fluendo.com>
* gst/gstmodule.c: (init_gst):
Wrap the gstreamer error domains quark.
Fixes #339040
2006-04-19 Andy Wingo <wingo@pobox.com>
* gst/gstpad.override: (pad_block_callback_marshal)
(_wrap_gst_pad_set_blocked_async): Fix refcounting problems and
indent.
Fixes #338982
2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
back to HEAD
=== release 0.10.4 ===
2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
releasing 0.10.4, "Alegre"
2006-04-19 Andy Wingo <wingo@pobox.com>
* gst/arg-types.py (GstCapsArg.write_const_param)
(GstCapsArg.write_param): If there is a default value, initialize
the py_caps variable to NULL. PyArgs_Parse* doesn't touch c
variables if the optional arg isn't there. Fixes #339010.
2006-04-19 Andy Wingo <wingo@pobox.com>
* examples/remuxer.py (GstPlayer.seek): Don't do accurate seeks,
because the output won't be readable without a keyframe anyway.
2006-04-19 Andy Wingo <wingo@pobox.com>
* examples/remuxer.py: Another code dump. I know it breaks the
freeze but it's just a wee example :)
2006-04-10 Edward Hervey <edward@fluendo.com>
* gst/gsttaglist.override: (tag_foreach_func_list):
Return tag value if present more than once (instead of exactly once).
Fixes #337876
2006-04-10 Edward Hervey <edward@fluendo.com>
* codegen/argtypes.py:
Update from upstream codegen for UInt argtype.
* gst/gst-types.defs:
Added GstIndexEntry boxed type.
* gst/gstbase.override:
Wrapped gst.BaseSrc::get_times() and gst.PushSrc::create() virtual
methods.
gst.BaseSrc and gst.PushSrc virtual methods are now completely wrapped.
2006-04-08 Stefan Kost <ensonic@users.sf.net>
* testsuite/test-object.h:
Fix broken GObject macros
2006-04-07 Andy Wingo <wingo@pobox.com>
* examples/remuxer.py: Code dump, work in progress...
2006-04-07 Edward Hervey <edward@fluendo.com>
* testsuite/test_ghostpad.py:
more assertions to figure out an speed issue.
2006-04-07 Andy Wingo <wingo@pobox.com>
* gst/arg-types.py (GstCapsArg.beforenull): py_caps can be NULL if
it is an optional argument. Translate this python non-value to the
C NULL.
* gst/gst.defs (get_compatible_pad): Filter caps is optional and
can be None. It defaults to None.
2006-04-07 Edward Hervey <edward@fluendo.com>
* Makefile.am:
make check-valgrind calls make valgrind in the testsuite directory.
* testsuite/Makefile.am:
prepend $(top_srcdir) to PYTHONPATH for all tests so it uses the built
library and not the installed one.
* testsuite/python.supp:
Added suppressions discovered on x86/gentoo.
2006-04-07 Andy Wingo <wingo@pobox.com>
* gst/gstelement.override (_wrap_gst_element_link): Allow errors
parsing the optional filter caps to propagate up.
* gst/gst.defs (element_make_from_uri): Element name is optional
and can be None. It defaults to None.
2006-04-05 Edward Hervey <edward@fluendo.com>
* testsuite/test_message.py:
GstBus is flushing in NULL, so we need to set the pipeline to READY in
order to receive the messages in the bus watch.
2006-04-05 Andy Wingo <wingo@pobox.com>
* configure.ac (PYGST_MICRO_VERSION): Doc fix.
(PYGST_NANO_VERSION): New define.
* gst/__init__.py (version): Add as an alias for get_gst_version.
Should use the deprecation infrastructure here.
* gst/gst.defs: Add defs for the new wrapped functions.
* gst/gst.override (_wrap_gst_get_pygst_version)
(_wrap_gst_get_gst_version): New overrides, functions to access
the gstreamer and pygst versions. The first used to be called
gst_version(); we ignore gst_version now.
API: gst.get_gst_version()
API: gst.get_pygst_version()
* gst/gstpad.override (_wrap_gst_pad_set_blocked_async):
PyObject_IsTrue, not PyBool_Check. Grr.
2006-04-04 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
gst_element_post_message: Adding keep-refcount tag to the message since
the function will unref it.
2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
use AS_VERSION and AS_NANO
2006-03-31 Andy Wingo <wingo@pobox.com>
* examples/remuxer.py: Example GUI for a remuxer, unfinished --
dropping it here while I hack on it. Based on player.py.
* examples/Makefile.am (examples_DATA): Add remuxer.py, reorder
list.
2006-03-29 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac:
Better empty string test fix for "Fixes to how we figure out what API
to ignore"
2006-03-24 Edward Hervey <edward@fluendo.com>
* configure.ac:
Fixes in how we figure out what API to ignore
* gst/Makefile.am:
* gst/gst-0.10.5.ignore:
* gst/gstversion.override.in:
Added file for handling API additions for gstreamer 0.10.5
* gst/base.defs:
* gst/gst.defs:
New API
* gst/gstpad.override:
Overrides for gst.Pad.query_peer_*()
=== release 0.10.3 ===
2006-03-21 Jan Schmidt <thaytan@mad.scientist.com>
* configure.ac:
releasing 0.10.3, "Maybe not today. Maybe not tomorrow, but soon..."
2006-03-21 Jan Schmidt <thaytan@mad.scientist.com>
* testsuite/test_ghostpad.py:
* testsuite/test_pad.py:
Another attempt at making the tests deterministic on the buildbots
2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
* configure.ac:
pre-release 0.10.2.2
2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
* testsuite/test_ghostpad.py:
Add while loop in teardown to wait for the pipeline state
to hit NULL. Hopefully this will ensure the refcount has always hit 1.
2006-03-14 Edward Hervey <edward@fluendo.com>
* configure.ac:
Only require GStreamer core >= 0.10.2
Detect version of core the bindings are being compiled against and
write gst/gstversion.override file with eventual API additions that
should be ignored.
* gst/Makefile.am:
* gst/base.defs:
Added gst_base_sync_[set|get]_[sync|max_lateness]() and
gst_type_find_helper_get_range() definitions
* gst/gst-0.10.3.ignore:
API added in gstreamer core 0.10.3
* gst/gst-0.10.4.ignore:
API added in gstreamer core 0.10.4
* gst/gst.override:
Include gstversion.override.
* gst/gstversion.override.in:
Magic file for API additions to ignore.
2006-03-14 Edward Hervey <edward@fluendo.com>
* codegen/codegen.py:
* codegen/override.py:
New --extendpath option for codegenerator so we can add
extra path to search for included override files.
2006-03-13 Edward Hervey <edward@fluendo.com>
* gst/Makefile.am:
* gst/gst.override:
* gst/gstbase.override:
Added base elements override file.
* gst/gstpad.override:
Added override for gst_pad_alloc_buffer_and_set_caps
2006-03-10 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
Commited a bit too much :)
2006-03-10 Edward Hervey <edward@fluendo.com>
* gst/base.defs:
typo fix for gst_type_find_helper()
Added new API : gst_type_find_helper_for_buffer()
* gst/gst.override:
override for gst.type_find_helper_for_buffer()
2006-03-10 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
* gst/gst.defs:
Added new API:
gst_pipeline_[get|set]_auto_flush_bus()
gst_uri_has_protocol()
GST_RESOURCE_ERROR_NO_SPACE_LEFT
2006-03-07 Edward Hervey <edward@fluendo.com>
* gst/arg-types.py:
Add ReturnType and Parameter for GstCaps.
This allows the codegenerator to wrap properly more virtual proxies.
2006-03-07 Edward Hervey <edward@fluendo.com>
* gst/base.defs:
Update for new check_get_range virtual method in GstBaseSrc
2006-03-06 Michael Smith <msmith@fluendo.com>
* gst/gststructure.override:
* gst/gsttaglist.override:
Don't leak PyObjects wrapping GValues when indexing into a
GStStructure. Also fix a copy/paste identical bug in taglists.
2006-03-02 Edward Hervey <edward@fluendo.com>
* gst/pygstminiobject.h:
Some crack distributions do weirdo stuff with PYGIL_API_IS_BUGGY.
Let's keep our own detection.
Closes #333055
2006-02-28 Jan Schmidt <thaytan@mad.scientist.com>
* pygst.py.in:
Fix a silly logic inversion typo
2006-02-27 Edward Hervey <edward@fluendo.com>
* pygst.py.in:
use 'raise StandardError' instead of 'assert' so that compiled code
raise a noticeable exception.
Closes #332586
2006-02-22 Joe Wreschnig <piman@sacredchao.net>
reviewed by: Edward Hervey <edward@fluendo.com>
* gst/gstmodule.c: (init_gst):
gst.gst_version uses the result of gst_version() rather than use
the GST_VERSION_* hardcoded values.
Closes #331616
2006-02-20 Edward Hervey <edward@fluendo.com>
* examples/vumeter.py:
In fact it wasn't an application message, but an element message :)
2006-02-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* examples/vumeter.py:
Fix vumeter example
2006-02-17 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
* gst/gstquery.override:
Updated and properly wrapped new GstQuery formats API.
2006-02-10 Andy Wingo <wingo@pobox.com>
* gst/gst.defs (disable_sync_message_emission)
(enable_sync_message_emission): Wrap new functions from GStreamer
CVS.
* configure.ac (GST_REQ): Require GStreamer 0.10.3.1.
* examples/play.py: A bit of refactoring. Make use of the
sync-message signals. Reacts to events on the bus. Keeps aspect
ratio. Better scrubbing, play/pause button instead of
play+pause+stop. Not a bad player now, although the code still
lacks cleanliness.
* examples/play.py (GstPlayer.query_position)
(PlayerWindow.update_scale_cb): Only return position, duration
from query_position -- fixes a bugaboo.
(main): Add some input validation.
* examples/pipeline-tester (data): Add a pipeline to test software
scaling.
2006-02-07 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
* gst/gstmodule.c: (python_do_pending_calls):
Remove deprecated code dating back from 0.8 era.
2006-02-06 Andy Wingo <wingo@pobox.com>
* codegen/argtypes.py (UInt64Arg.write_param): Parse long
arguments using ParseTuple and friends; allows ints to passed for
longs as a side benefit.
2006-02-02 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
(gst.TIME_ARGS) return "CLOCK_TIME_NONE" for invalid times instead of
outputing gibberish value.
2006-02-02 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Update for current GStreamer core API
2006-02-01 Edward Hervey <edward@fluendo.com>
* testsuite/test_event.py:
Properly use tempfile
2006-02-01 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
When using gst.Element.send_event() and gst.Pad.send_event() we keep
a refcount on the sent event.
* testsuite/test_event.py:
Uncomment test to prove above fix
2006-02-01 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_event.py:
add a test case for autoplugging behaviour:
create a source, connect probes, store new-segment event,
add element in buffer probe callback, and forward event
Currently fails due to refcounting on the stored new-segment
event
2006-02-01 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_element.py:
add another link test
2006-01-30 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
Link against Gst Data protocol libraries.
* gst/__init__.py:
Restore dlopenflags after importing gst.
Closes #329110
=== release 0.10.2 ===
2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
releasing 0.10.2, "And if the devil is six"
2006-01-13 Edward Hervey <edward@fluendo.com>
* gst/gstlibs.override:
GstController : don't use values that are now in non-public API.
2006-01-09 Edward Hervey <edward@fluendo.com>
* gst/base.defs:
Revert guint8* to gchar* modifications for the adapter
* gst/gst.defs:
Cleanups and API additions
2006-01-08 Martin Soto <martinsoto@users.sourceforge.net>
* gst/gststructure.override: (_wrap_gst_structure_set_value):
Properly check for gstvalue data types. This makes it possible to
set fields with fractions.
* testsuite/test_caps.py:
* testsuite/test_struct.py:
Test for above modifications
2006-01-05 Edward Hervey <edward@fluendo.com>
* gst/base.defs:
Use gchar* instead of guint8* for GstAdapter
Added virtual methods definitions for base classes.
Still have to override some functions, and figure
out how to properly add reverse wrappers to the codegenerator.
2006-01-01 Edward Hervey <edward@fluendo.com>
First step at wrapping base elements in gst-python
* configure.ac:
Commenting out weird debugging statement dating from gst-python's
and which causes problems with gstbasesrc.h anonymous union.
* gst/Makefile.am:
Added base.defs
* gst/base.defs:
New base elements definition files
* gst/gst.defs:
* gst/gst.override:
Add base elements
=== release 0.10.1 ===
2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
releasing 0.10.1, "Krisimas Yakanaka"
2005-12-22 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
* gst/Makefile.am:
* gst/extend/Makefile.am:
install in pyexecdir as well
2005-12-22 Thomas Vander Stichele <thomas at apestaart dot org>
* pygst.py.in: give the correct error when not finding the version
2005-12-20 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
Added GstStaticCaps and GstStaticPadTemplate, using the new GType.
* gst/gst.defs:
Doesn't return a const anymore.
* gst/gstelementfactory.override:
Wrapped gst_element_factory_get_static_pad_templates()
2005-12-19 Martin Soto <martinsoto@users.sourceforge.net>
* gst/gstbus.override (_wrap_gst_bus_add_watch): This function
incorrectly returned self, which was causing the message bus to
get prematurely destroyed by the Python interpreter. Now returns
Py_None.
2005-12-19 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
ignore gst_object_sink
2005-12-19 Edward Hervey <edward@fluendo.com>
* gst/gstlibs.override:
* gst/libs.defs:
Properly wrap the gst_dp_* functions (cast gchar* to guint8*).
2005-12-18 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
ignore gst_plugin_get_module, GModule aren't wrapped in
pygtk anyway.
wrap gst_clock_get_calibration
* gst/gstbus.override:
Ignore the following:
gst_bus_create_watch, since GSource aren't wrapped in pygtk
gst_bus_sync_signal_handler and gst_bus_async_signal_func since
these functions are used by the default bus handler anyway.
* gst/gstevent.override:
wrapped gst_event_parse_buffer_size
* gst/libs.defs:
Replace all guint8* for gst_dp_ functions by gchar * since they
are the same, but at least get generated properly by the code
generator.
2005-12-18 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
gst_object_sink is a method of GstObject
const of enums is a stupidity (_element_make_from_uri)
* gst/gst.override:
Ignore more functions that have no place in bindings or have better
python equivalents (list filtering for example)
Wrapped gst_version() and gst_type_find_factory_get_list()
* gst/gststructure.override:
More ignores
* gst/gsttaglist.override:
ignore gst_is_tag_list.
* gst/interfaces.override:
wrap gst_mixer_options_get_values()
2005-12-16 Andy Wingo <wingo@pobox.com>
* gst/gstpad.override (handle_event_function_exception)
(handle_chain_function_exception): GCC told me I needed braces
here.
2005-12-14 Thomas Vander Stichele <thomas at apestaart dot org>
* Makefile.am:
* configure.ac:
Follow pygtk's lead in installing pygst.py and .pth in pyexecdir -
this will do the right thing on multilib 64 bit
2005-12-12 Edward Hervey <edward@fluendo.com>
* examples/gstfile.py:
Moved the Discoverer class to gst.extend
Now works asynchronous... bl**dy fast :)
* gst/extend/Makefile.am:
* gst/extend/discoverer.py:
Discoverer has landed in extend and is now asynchronous.
It emits a 'discovered' signal when it has finished.
2005-12-09 Edward Hervey <edward@fluendo.com>
* gst/arg-types.py:
This covers for the codegenerator not being able to handle
(unsigned) int64 as parameters and return values.
2005-12-09 Edward Hervey <edward@fluendo.com>
* gst/arg-types.py:
Added (reverse_)wrapper for GBoxed and GstMiniObject
* gst/gst.defs:
push_event() and chain() takes the reference on the
MiniObject.
2005-12-07 Edward Hervey <edward@fluendo.com>
* gst/gstmessage.override:
Fix for memleak
=== release 0.10.0 ===
2005-12-05 <thomas (at) apestaart (dot) org>
* configure.ac:
releasing 0.10.0, "Reblochon"
2005-12-05 Edward Hervey <edward@fluendo.com>
* gst/gst.defs: (alloc_buffer_and_set_caps):
Wrapped last pre-0.10 API update (I hope...)
* examples/gstfile.py: (Discoverer._new_decoded_pad_cb):
Fix for fractional framerates.
2005-12-05 Andy Wingo <wingo@pobox.com>
* testsuite/test_registry.py (RegistryTest.testPluginList): Look
for staticelements, not gstcoreelements.
=== release 0.9.7 ===
2005-12-01 <thomas (at) apestaart (dot) org>
* configure.ac:
releasing 0.9.7, "Mon Chien N'a Pas De Nez"
2005-12-01 Andy Wingo <wingo@pobox.com>
* configure.ac (GST_PLUGINS_BASE_LIBS): Check for
gstreamer-plugins-base.pc, the one that has the interfaces etc.
* gst/Makefile.am (interfaces_la_CFLAGS, interfaces_la_LDFLAGS):
PLUGINS_BASE, not BASE.
2005-11-30 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
gst-interfaces-0.9.pc is no more, update to new use
* testsuite/test_element.py:
Fix for queue modification
2005-11-30 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
Queue is now a plugin, remove static references
2005-11-29 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Update for API changes
* gst/gstquery.override:
wrapper for query_parse_seeking()
2005-11-24 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
Ignore all *_full functions/methods
* gst/gstbus.override:
Wrapper for gst_bus_add_signal_watch that now takes an optional
priority argument
2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: back to HEAD
=== release 0.9.6 ===
2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
releasing 0.9.6, "We'll always have Paris. We got it back last night."
2005-11-23 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
* gst/gst.defs:
And more API updated, pom po do pom pom pom....
2005-11-23 Edward Hervey <edward@fluendo.com>
* gst/interfaces.defs:
Update for Interfaces API changes
2005-11-22 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
* gst/gst.defs:
API updates
2005-11-22 Edward Hervey <edward@fluendo.com>
* gst/pygstvalue.c: (pygst_value_as_pyobject),
(pygst_value_init_for_pyobject), (pygst_value_from_pyobject),
(pygst_value_init):
* gst/__init__.py:
Added FractionRange type
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
API updates
2005-11-22 Andy Wingo <wingo@pobox.com>
* gst/gst.defs:
* gst/gstevent.override: Run update-funcnames.
2005-11-22 Edward Hervey <edward@fluendo.com>
* gst/xoverlay.defs:
Update for API changes in XOverlay interface
2005-11-21 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/cutter.py:
Add an example for the cutter element
2005-11-21 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
GstSegment is properly wrapped
* gst/gst.defs:
Add GstBin::handle_message virtual method
2005-11-21 Edward Hervey <edward@fluendo.com>
* gst/gst.override: (_wrap_GST_TIME_ARGS):
Take either int or longs and return unsigned long long
2005-11-21 Edward Hervey <edward@fluendo.com>
* examples/gstfile.py:
Cleanup
* gst/gst-types.defs:
* gst/gst.defs:
API update.
More fixes to follow.
2005-11-21 Andy Wingo <wingo@pobox.com>
* gst/gst.defs (net_client_clock_new): Add some defaults.
2005-11-21 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
* gst/gst.defs:
API updates
* gst/pygstvalue.c: (pygst_value_as_pyobject),
(pygst_value_from_pyobject):
Fixes for gst_value_array and GST_FOURCC_FORMAT
2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gst.defs:
Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
(#322027)
2005-11-21 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
* gst/gst.defs:
Update for latest API changes
Still have to make GstSegment properly wrappable (GBoxed?)
2005-11-18 Andy Wingo <wingo@pobox.com>
* gst/Makefile.am: Add GST_NET libs.
* gst/gst.defs (gst_net_time_provider_new)
(gst_net_client_clock_new): Add constructors
* configure.ac: Check for gstreamer-net as well.
* gst/gst.override: Include gst/net/gstnet.h.
* gst/gst-types.defs (NetTimeProvider, NetClientClock): Added new
types.
2005-11-15 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Keep refcount for the message of gst_bus_post()
* gst/gststructure.override:
Don't free a structure on dealloc (the parent does that)
* testsuite/test_message.py:
Proper testing of bus functionnality with a mainloop
2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: back to HEAD
=== release 0.9.5 ===
2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
releasing 0.9.5, "96-bit Audio"
2005-11-10 Edward Hervey <edward@fluendo.com>
* gst/gsttaglist.override:
put the gst.TagList.keys() method back.
2005-11-10 Edward Hervey <edward@fluendo.com>
* gst/gstmodule.c: (init_gst):
Added GST_TAG_* string constants
* gst/gstpad.override:
Make probe handler return TRUE if the Python callback doesn't return
anything.
* gst/gsttaglist.override:
Cleaned up gst.TagList, works as a dictionary.
2005-11-08 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
* gst/gst.override:
Added new function gst.TIME_ARGS which returns the string
representation of a GstClockTime
2005-11-04 Edward Hervey <edward@fluendo.com>
* gst/gstelement.override:
So apparently 0 != O :)
2005-11-04 Edward Hervey <edward@fluendo.com>
* gst/gstpad.override:
works better now we set the item to the proper position...
2005-11-04 Edward Hervey <edward@fluendo.com>
* gst/gstpad.override:
Use proper GValue <-> MiniObject conversion function
* examples/Makefile.am:
* examples/sinkelement.py:
New example showing how to create a sink element in python.
2005-11-04 Edward Hervey <edward@fluendo.com>
* examples/play.py:
Fixed the play example to work with 0.9.4 API
2005-11-01 Edward Hervey <edward@fluendo.com>
* gst/gstelement.override:
added wrapper for gst_element_query_duration()
* gst/gstpad.override:
added wrapper for gst_pad_query_duration()
Also converted some functions using fixed size PyList to use
PyList_SetItem instead of PyList_Append
Closes bug #320357
2005-11-01 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
Updated modification from API
* gst/gstquery.override:
Added gst_query_parse_duration override
* examples/gstfile.py:
Now use duration query
Cleanups
2005-10-27 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Added 'caller-owns-return' to all gst_[message|event|query]_new_*()
wrappers
2005-10-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
* gst/gstelement.override:
* gst/pygstexception.c:
* gst/pygstexception.h:
* testsuite/test_element.py:
add gst.QueryError and use it
* testsuite/test_pad.py:
add some tests that show comparison between two different
Python objects wrapping the same MiniObject
2005-10-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
* gst/gst.override:
* gst/pygstminiobject.c:
remove the hash table for miniobjects - since we can't get notified
when they get destroyed, we shouldn't be caching pointer mappings
* testsuite/test_pad.py:
update refcount tests because mini objects now have a ref for
each time an object is made for it
2005-10-26 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_bus.py:
fix race condition because of state thread
2005-10-26 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_event.py:
fix race condition because of state thread
2005-10-26 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_bin.py:
fix race condition because of state thread
2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
back to HEAD
=== release 0.9.4 ===
2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
Releasing 0.9.4, "Stegosaurus"
2005-10-22 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Cleaned-up symbols which still had the gst_ prefix
* gst/gst.override:
add gst_deinit to the ignore list
2005-10-20 Andy Wingo <wingo@pobox.com>
* gst/gstbin.override (_wrap_gst_bin_get_by_name): Dude, like
totally don't unref NULL objects.
2005-10-19 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
* gst/gst.defs:
Update (hopefully) final API modifications
* gst/gstelement.override:
* gst/gstpad.override:
* gst/gstquery.override:
Updated position querying/parsing
Removed useless debug line
* testsuite/test_element.py:
Updated test for new API
2005-10-19 Edward Hervey <edward@fluendo.com>
* gst/gstmessage.override:
Added wrappers for parsing CLOCK_PROVIDE, CLOCK_LOST, NEW_CLOCK and
DURATION messages
Fixed a few Tuple constructors
Last commit from me unless huge breakage, got better things to do now
(and it doesn't involve 'my little pony' comics) !
2005-10-19 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
* gst/gst-types.defs:
Updated API
* gst/gstelement.override:
_wrap_gst_element_get_state: made wrapper behave more like codegen-ed
functions.
It now only takes an int or long as optional timeout argument, and if
there's no argument it will use GST_CLOCK_TIME_NONE
* testsuite/test_bin.py:
* testsuite/test_event.py:
* testsuite/test_ghostpad.py:
* testsuite/test_pipeline.py:
Updated testsuites for element.get_state() modifications
Added event parsing checks
Commented out test_ghostpad.PipeTest.testProbedLink til I find out why
"while self._handoffs < 10: pass" doesn't exit although it reaches
values way over 10
2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gstmessage.override:
update for latest API changes
* gst/gstelement.override:
use GstClockTime for get_state
* testsuite/test_pad.py:
add logging
2005-10-18 Andy Wingo <wingo@pobox.com>
* examples/pipeline-tester: Fix for state change changes.
* gst/gstmessage.override (_wrap_gst_message_tp_repr): Add a repr
for messages.
(_wrap_gst_message_tp_repr): Is your message repr t00 sma11?
2005-10-14 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Updated to new API
2005-10-14 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
Added GstDate boxed type
* gst/gst.override:
Added setters and getters for GstDate's day/month/year
Added tp_repr for GstDate
2005-10-14 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Update for new API
* gst/gst.override:
Added unreffing for gst.Registry.get_plugin_list and .get_feature_list
* testsuite/common.py:
removed crude hack for gst.Registry and gst.Plugin
* testsuite/test_interface.py:
* testsuite/test_caps.py:
* testsuite/test_struct.py:
* testsuite/test_xml.py:
converted to using common's TestCase class
* testsuite/test_event.py:
Enabled/fixed previously non working test
* testsuite/test_registry.py:
Now uses common's TestCase class,
added special case setUp()
2005-10-13 Edward Hervey <edward@fluendo.com>
* gst/Makefile.am: (noinst_HEADERS):
Added pygstexception.h
2005-10-13 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
* gst/gst.defs:
Updated to new API
* gst/gstbus.override:
bus.add_watch() now uses gst_bus_add_watch_full() using
pyg_destroy_notify as the DestroyNotify function, thus enabling
proper python garbage collection.
* testsuite/common.py:
Let's check refcounting of ALL gst.Object
* testsuite/test_bin.py:
Added debug
* testsuite/test_bus.py:
Added "message" signal version of test
2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstelement.override:
* testsuite/test_event.py:
fix up test a little
2005-10-13 Alessandro Decina <alessandro@nnva.org>
Reviewed by Edward Hervey <edward@fluendo.com>
* gst/gst.override:
* gst/gstevent.override:
* gst/gstpad.override:
* gst/gstquery.override:
Use PyList_SetItem() instead of PyList_Append() for faster list creation
and proper python refcounting.
Closes bug #318684
2005-10-13 Alessandro Decina <alessandro@nnva.org>
Reviewed by Edward Hervey <edward@fluendo.com>
* gst/gstobject.override: (_wrap_gst_object_tp_traverse):
Py_VISIT() might make code cleaner... but it doesn't work with
python < 2.4
Closes bug #318692
2005-10-13 Edward Hervey <edward@fluendo.com>
* examples/gstfile.py:
misc fixes
* gst/Makefile.am:
* gst/pygstexception.c:
* gst/pygstexception.h:
* gst/gstelementfactory.override:
* gst/gst.override:
* gst/gstpad.override:
* gst/gstmodule.c: (init_gst):
Added exceptions system by Alessandro Decina <alessandro@nnva.org>
Closes bug #315433
* gst/gstbus.override:
* gst/gstelement.override:
Fix for _wrap_gst_element_get_state()
* gst/gstobject.override:
More debug
2005-10-12 Andy Wingo <wingo@pobox.com>
* autogen.sh (CONFIGURE_DEF_OPT): Check for automake 1.9 and 1.8,
but not for 1.5.
* gst/gst-types.defs: Fix flags wrongly declared as enums.
* gst/gst-extrafuncs.defs (flags, set_flag, unset_flag): Fix for
core updates.
* gst/gstmodule.c (init_gst): Give a better error message.
* gst/gst.defs (gst_registry_scan_paths)
(gst_element_abort_preroll, gst_plugin_check_file)
(gst_element_finish_preroll): Removed undefined symbols.
* gst/gstelement.override (_wrap_gst_element_get_state): Fix for
GstClockTime api change.
2005-10-12 Julien MOUTTE <julien@moutte.net>
* gst/gst-argtypes.c:
* gst/pygstminiobject.c:
* testsuite/testhelpermodule.c: Reordering header inclusion order to
fix build on my machine.
2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gstevent.override:
update for new API
2005-10-11 Edward Hervey <edward@fluendo.com>
* gst/common.h:
cleanup
* gst/gst-types.defs:
* gst/gst.defs:
Updated defs file to current gstreamer core
* gst/gst.override:
Added useless function (at least from python bindings) and little
correction on _wrap_gst_xml_get_topelements()
* gst/gstbin.override:
* gst/gstbuffer.override:
Fix memleak in gst.Buffer.set_caps()
* gst/gstevent.override:
Added wrapper for remaining gst_event_parse_*()
* gst/gstlibs.override:
Wrapped more gst.Controller methods
* gst/gstmodule.c: (init_gst):
new gst_init()
Added atexit(gst_deinit)
* gst/gstpad.override:
Fix memleak in gst.Pad.set_caps()
* gst/gstquery.override:
add gst.Query.parse_segment()
* gst/libs.defs:
Updated to current gst-libs
* gst/pygstminiobject.c: (pygstminiobject_register_wrapper),
(pygstminiobject_new), (pygstminiobject_dealloc):
Added debug
* testsuite/Makefile.am:
* testsuite/common.py:
* testsuite/gstpython.supp:
* testsuite/python.supp:
* testsuite/test_bin.py:
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_ghostpad.py:
* testsuite/test_iterator.py:
* testsuite/test_message.py:
* testsuite/test_pipeline.py:
Proper valgrind testing,
Updated tests to new API
2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/play.py:
update to current API and state of seek example
2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstelement.override:
* testsuite/test_event.py:
now we can send events to elements again
2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gstmessage.override:
fix for pending state being added to state message
* testsuite/test_buffer.py:
* testsuite/test_pipeline.py:
update
2005-10-07 Andy Wingo <wingo@pobox.com>
* gst/gstelement.override (_wrap_gst_element_get_state): Drop the
python lock while in get_state.
* gst/__init__.py: Check the right module (i.e., the same check as
pygtk does).
2005-10-07 Edward Hervey <edward@fluendo.com>
* gst/pygstiterator.c:
Unref the return value, since the iterator refs them.
* testsuite/test_iterator.py:
Added more test cases, re-enabled gcverify now the bug is fixed
* gst/pygstminiobject.c: (pygstminiobject_register_wrapper),
(pygstminiobject_new), (pygstminiobject_dealloc):
Comments to better track the creation/destruction of PyGstMiniObject
Fixed naming (gst.GstMiniObject => gst.MiniObject)
* testsuite/python.supp:
Updated python specific valgrind suppressions to latest version and
added x86_64 cases
* testsuite/gstpython.supp:
Series of suppressions for errors/leaks not solvable within gst-python
* testsuite/Makefile.am:
Added gstpython.supp
2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
* testsuite/Makefile.am:
* testsuite/python.supp:
add valgrind checking to the testsuite
2005-10-06 Johan Dahlin <johan@gnome.org>
* gst/common.h:
* gst/gstmodule.c: (init_gst):
* gst/pygstiterator.c: (pygst_iterator_iter_next),
(pygst_iterator_next), (pygst_iterator_push),
(pygst_iterator_resync):
Even more bored tonight: Implement next/resync/push.
Register type so we can call methods and so.
2005-10-06 Johan Dahlin <johan@gnome.org>
* codegen/argtypes.py:
* gst/Makefile.am:
* gst/common.h:
* gst/gst.defs:
* gst/gstbin.override:
* gst/gstelement.override:
* gst/pygstiterator.c: (pygst_iterator_dealloc),
(pygst_iterator_iter_next), (pygst_iterator_new):
* testsuite/test_iterator.py:
Add GstIterator wrapping and tests.
2005-10-06 Edward Hervey <edward@fluendo.com>
* gst/gstpad.override:
* gst/gststructure.override:
* testsuite/testhelpermodule.c: (_wrap_emit_event):
memleak fixes. Thanks valgrind :)
2005-10-06 Edward Hervey <edward@fluendo.com>
* gst-python.spec.in:
Wow, that file hasn't been updated in a long long time.
* gst/gstcaps.override: (_wrap_gst_caps_new_empty):
new caps should be freed on dealloc...
2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstcaps.override:
some more debugging
* gst/gstevent.override:
represent using the string for the type
2005-10-06 Edward Hervey <edward@fluendo.com>
* gst/gstbuffer.override: (_wrap_gst_buffer__get_caps):
Proper wrapping of the GstBuffer.caps attribute
* gst/gstmodule.c: (init_gst):
* gst/pygstminiobject.c: (pygstminiobject_register_class):
gst-debug initialisation should happen before anything else if we
want the debugging functions to work.
2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
need at least 2.6.3, because that contains the code that
converts signal closure arguments to the correct Gst
types
* gst/gstpad.override:
log name of probe handlers we call
* testsuite/test_pad.py:
fix up tests; use TestCase base class methods
2005-10-06 Edward Hervey <edward@fluendo.com>
* gst/pygstminiobject.c:
Dooh, PyGstMiniObject doesn't need cyclic garbage collection !
Bye, bye Python refcounting (and refcounting bugs).
2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_ghostpad.py:
add handoff to count received buffers
2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.override:
accurate line numbers for logging
* testsuite/common.py:
log when TestCase.setUp() and .tearDown() get called
* testsuite/test_ghostpad.py:
rework
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/Makefile.am:
* testsuite/test_ghostpad.py:
add new testsuite for ghost pad behaviour
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
gst.Bin constructor can take no arguments
* testsuite/test_bin.py:
add constructor tests
* testsuite/test_element.py:
add same link test with no pads
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst-types.defs:
* gst/gstcaps.override:
* testsuite/test_caps.py:
add gst.Caps.__refcount__
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_pad.py:
add a test that shows we can link a pad in a buffer probe
callback. yay !
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstobject.override:
don't try and unref objects that are already finalizing
* gst/gstpad.override:
fix up the set_chainfunc method
* testsuite/common.py:
* testsuite/test_pad.py:
add linked/unlinked tests with no/true/false bufferprobes
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* codegen/argtypes.py:
act on the mini object properly, not on the py object
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstbuffer.override:
a buffer is not a boxed
* gst/gstobject.override:
use Py_VISIT for cleaner and more pythonic code
do not visit GstObjects that still have a parent
2005-10-05 Edward Hervey <edward@fluendo.com>
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* gst/arg-types.py:
Added 'keeprefcount' argument for function/method parameters in order to
cope with functions/methods that decrement the refcount of the given
parameter
* gst/gst.defs:
Added 'keeprefcount' for buffer argument of gst_pad_push() wrapper.
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/__init__.py:
only pygtk.require if pygtk wasn't imported yet
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/__init__.py:
don't import gobject
revert ltihooks change from Johan - if it throws an exception
there is a bug and I want to fix it
2005-10-04 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
* gst/Makefile.am:
* gst/extend/Makefile.am:
* gst/extend/__init__.py:
* gst/extend/pygobject.py:
* gst/extend/utils.py:
move over some of the extend stuff that I want to use right now
2005-10-04 Edward Hervey <edward@fluendo.com>
* codegen/codegen.py:
Added pyg_[begin|end]_allow_threads before and after call of C methods
in python methods wrappers.
This should get rid of more threading issues...
Should we also do that for function calls ?
2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
back to development
=== release 0.9.3 ===
2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
Releasing 0.9.3, "For the Virgin"
2005-10-02 Johan Dahlin <johan@gnome.org>
* gst/gst.defs: Remove gst_element_*_preroll functions.
2005-09-30 Edward Hervey <edward@fluendo.com>
* gst/gstpad.override:
Removed overriding of gst_caps_get_negotiated_caps, the codegenerator
handles it much better (hint:don't copy)
2005-09-30 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gst.override:
* gst/gstbin.override:
deprecate add_many/remove_many, fold into add/remove
* gst/gstmodule.c: (init_gst):
add AddError and RemoveError
* testsuite/Makefile.am:
remove fatal warnings, until we can wrap log handlers
and catch our expected add/remove errors
* testsuite/test_bin.py:
add tests for new add/remove semantics
* testsuite/test_pad.py:
* testsuite/test_pipeline.py:
fix up
2005-09-29 Johan Dahlin <johan@gnome.org>
* gst/gstelement.override (_wrap_gst_element_get_state): return an
enum instead of an int.
2005-09-29 Andy Wingo <wingo@pobox.com>
* gst/__init__.py: Don't pygtk.require() if pygtk is already loaded.
* examples/pipeline-tester (Window.play):
* examples/vumeter.py (Window.run): Updates for bus API.
2005-09-29 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Definitions update
2005-09-29 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
* gst/gstlibs.override:
Proper wrapping of GstController
* examples/Makefile.am:
* examples/audio-controller.py:
Example to show how to use gst.Controller
2005-09-29 Edward Hervey <edward@fluendo.com>
* examples/gstfile.py:
Update gstfile example so that... it works :)
2005-09-29 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
* gst/gstbus.override:
* testsuite/test_bus.py:
* testsuite/test_pipeline.py:
Updated definitions, wrapper and testsuite for changes in GstBus API
2005-09-29 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Updated definitions
* gst/gst.override:
ignoring _init, gst_param_spec* and gst_iterator_new_list functions
* gst/gststructure.override:
ignore gst_structure_get_enum
* testsuite/test_struct.py:
Updated test for boolean
2005-09-28 Johan Dahlin <johan@gnome.org>
* gst/gstelement.override (_wrap_gst_element_get_state): Set the
timeout to 0 as default
2005-09-28 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
* gst/libs.defs:
Updated definitions
* gst/gst.override:
* gst/gststructure.override:
Added functions not to be used from python, or that have better
existing equivalents, to the ignore list.
2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/common.py:
provide a default setUp/tearDown
* testsuite/test_bin.py:
* testsuite/test_bus.py:
* testsuite/test_element.py:
* testsuite/test_pipeline.py:
adding/updating tests and gc tracking
2005-09-28 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
* gst/gstbin.override:
* gst/gstbuffer.override:
* gst/gstevent.override:
Remove dead code
* gst/gstelement.override:
Remove dead code and re-enable link with filtering and _send_event()
2005-09-28 Edward Hervey <edward@fluendo.com>
* gst/Makefile.am:
* gst/gst.override:
* gst/gsttaglist.override:
* gst/gstobject.override:
Let's split up gst.override,
Added gsttaglist.override and gstobject.override
* gst/arg-types.py:
* gst/gst-argtypes.c:
Cleanup, removed deprecated GstData related functions
* gst/gst-extrafuncs.defs:
* gst/gst.defs:
Moved debug functions to gst-extrafuncs.defs
2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
parse_launch also owns the return ref
* gst/gstbin.override:
fix a leak in get_by_name()
* testsuite/common.py:
loop when garbage collecting; necessary when deleting, say,
a pipeline, that contains elements, to ensure the elements
also get collected
* testsuite/test_element.py:
* testsuite/test_pipeline.py:
test for garbage collection
2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/common.py:
add a common.TestCase class that has methods to track and verify
garbage collection of GstObject
* testsuite/test_pad.py:
use it
2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/Makefile.am:
* gst/common.h:
* gst/pygstobject.c: (pygstobject_sink), (pygstobject_new),
(pygst_object_unref):
* gst/pygstobject.h:
* gst/gstmodule.c: (init_gst):
add/move some code to handle wrapping/refcounting of possible
GstObject
* codegen/argtypes.py:
* gst/gstbin.override:
* gst/gstbus.override:
* gst/gstelement.override:
* gst/gstpad.override:
* gst/interfaces.override:
use this reffing code
* gst/gst-types.defs:
* gst/gst.override:
add a __gstrefcount__ field to GstObject types
add tp_traverse, tp_dealloc and tp_clear, so we handle refcounting
properly related to garbage collection
* testsuite/test_element.py:
* testsuite/test_pad.py:
add more tests, add some refcount checks
2005-09-28 Edward Hervey <edward@fluendo.com>
* codegen/argtypes.py:
Proper handling of 'caller-owns-return' for miniobjects
* gst/gst-types.defs:
Updating parenting of classes,
added/removed/updated flags&enums
* gst/gst.defs:
Updated to current core cvs,
Added 'caller-owns-return' properties for functions/methods that require
it
* gst/gst.override:
Don't make *_[un]ref() accessible
* gst/gstbuffer.override:
* gst/gstevent.override:
* gst/gstmessage.override:
* gst/gstquery.override:
Removed hack-ish wrappers since codegenerator handles
'caller-owns-return' methods/functions
* gst/gstmodule.c: (sink_gstobject), (init_gst):
Re-enabled sink function
* gst/libs.defs:
Updated to current core cvs
Removed Adapter
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
removed _new_noref() hack
2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstpad.override:
don't leak the parent when repr'ing pads
2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/__init__.py:
require pygtk 2.0 when importing gst
it only works with 2.0, and it sets up the path correctly
when running against a pygtk compiled into a different prefix
2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gstquery.override:
* gst/libs.defs:
update for API removals and changes
2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/fvumeter.py:
condense code by using table and loop
* examples/vumeter.py:
fix up example for new API for both bus and level element
2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gst.override:
add another registry method
* testsuite/Makefile.am:
add check-verbose
* testsuite/runtests.py:
check for VERBOSE env var
* testsuite/test_pad.py:
refactor a test and add one more for probes
2005-09-22 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstbuffer.override:
Revert Buffer.caps change, since wingo fixed it upstream
2005-09-22 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstbuffer.override:
Increment the refcount when fetching GST_BUFFER_CAPS.
Python gurus, please fix if there's a better way this should be done.
2005-09-21 Andy Wingo <wingo@pobox.com>
* testsuite/test_pad.py (PadProbeTest.testRemovingProbe): Add
probe removal test. Passes, but some other test sporadically fails
-- will check that later.
* gst/gst.defs: Update for probe removal api
* gst/gstpad.override (_wrap_gst_pad_remove_data_probe)
(_wrap_gst_pad_remove_event_probe)
(_wrap_gst_pad_remove_buffer_probe): Removed, upstream does the
right thing now.
(_wrap_gst_pad_add_data_probe, _wrap_gst_pad_add_event_probe)
(_wrap_gst_pad_add_buffer_probe): Indent.
2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gststructure.override:
* testsuite/test_struct.py:
add a .keys() method to gst.Structure, plus test
2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gstbus.override:
* testsuite/test_pipeline.py:
* testsuite/test_bus.py:
fix up for new bus API
2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
* gst/gst.defs:
* gst/gst.override:
* gst/gstmodule.c: (init_gst):
* testsuite/test_registry.py:
update for new plugin API
2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst-types.defs:
* gst/gst.override:
* testsuite/test_registry.py:
commit intermediate wrapper updates
2005-09-16 Andy Wingo <wingo@pobox.com>
* gst/gst.defs (registry_get_default): Renamed from
gst_registry_get_default.
2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
remove a function that went away
2005-09-15 Andy Wingo <wingo@pobox.com>
* gst/gst-types.defs:
* gst/gst.defs: Update for registry/plugin/pluginfeature API changes.
2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstbus.override:
fix wrong decrefs
2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* testsuite/test_pipeline.py:
wrap state_change_async and show that it works
2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/vumeter.py:
update for property name change
* gst/gst.override:
* testsuite/test_element.py:
actually log on objects, yay
2005-09-12 Andy Wingo <wingo@pobox.com>
* testsuite/test_element.py (ElementName.testElementStateGetName):
s/NONE/VOID/.
2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.override:
fix for header changes
2005-09-08 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_element.py:
* testsuite/test_pipeline.py:
fix other tests as well
2005-09-08 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstelement.override:
* testsuite/test_bin.py:
wrap gst.Element.get_state, returning a tuple
add tests for it
2005-09-08 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gst.override:
* testsuite/test_element.py:
add debug methods to gst.Object
2005-09-08 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
add gst.ghost_pad_new_notarget
* gst/gstpad.override:
change wrap_gst_pad_new a little and add logging
* testsuite/test_pad.py:
add tests for constructors of gst.Pad
2005-09-05 Andy Wingo <wingo@pobox.com>
* examples/pipeline-tester: Update pipelines. The fixed-rate v4l
one doesn't work here, but the rest of them do.
2005-09-05 Edward Hervey <edward@fluendo.com>
* examples/pipeline-tester: (Window.play):
New API: STATE_SUCCESS -> STATE_CHANGE_SUCCESS
2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
wrap gst.Plugin.get_source()
2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.override:
don't mangle plugin.get_version() to a tuple of int; it segfaults
when the version contains non-ints like '-'
2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_bin.py:
fix state change test
2005-09-02 Andy Wingo <wingo@pobox.com>
* gst/gstmessage.override:
* gst/gst-types.defs (State, StateChangeReturn, StateChange):
* gst/gst.defs (change_state): Update for core changes.
2005-09-01 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
make gst.event_new_* available
2005-09-01 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/Makefile.am:
* testsuite/test_bin.py:
add an example of a bin that overrides the change_state vmethod
2005-09-01 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/Makefile.am:
* testsuite/test_caps.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pad.py:
* testsuite/test_pipeline.py:
* testsuite/test_struct.py:
updated/bits commented out
* testsuite/test_probe.py:
removed
2005-09-01 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst-types.defs:
* gst/gstbuffer.override:
* gst/pygstminiobject.c: (pygstminiobject_new_noref):
* testsuite/test_buffer.py:
add a .data to buffers; it feels more natural to me than doing
str(buffer) compared to the other properties.
make sub_buffer test for data
2005-09-01 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.override:
* gst/gstmodule.c: (init_gst):
add a pygst debug category for bindings themselves to use
* gst/gstbuffer.override:
add a repr method; add some assertions
* gst/pygstminiobject.c: (pygst_miniobject_init),
(pygstminiobject_register_wrapper), (pygstminiobject_new),
(pygstminiobject_new_noref), (pygstminiobject_dealloc),
(pygstminiobject_clear):
make the miniobjs hash private with an underscore
add debugging for inserting/removal in hash
fix pygstminiobject_clear - it also needs to remove
from the global hash. Fixes a nasty race problem in
test_buffer
* testsuite/test_buffer.py:
expand on the subbuffer test
2005-09-01 Andy Wingo <wingo@pobox.com>
* examples/Makefile.am (examples_DATA): Dist fixer.
* examples/debugslider.py: Renamed from debug-slider.py so it can
be imported.
* examples/pipeline-tester: Add a debugslider.
* pygst.py.in (require): If pygst.require() is called multiple
times, don't pollute sys.path with unneeded path entries.
2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/__init__.py:
del ltihooks properly; fixes loading of testhelper in testsuite
* gst/gst.defs:
wrap link_filtered
2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
require base and controller as well since we wrap them
* gst/__init__.py:
if using ltihooks, import interfaces and then uninstall our
module importer so we don't crap all over someone else's
2005-08-19 Andy Wingo <wingo@pobox.com>
* gst/interfaces.defs (MixerTrack): MixerTrack is a GObject. How
did this ever work before?
* gst/interfaces.override (_wrap_gst_tuner_list_channels)
(_wrap_gst_tuner_list_norms, _wrap_gst_mixer_list_tracks)
(_wrap_gst_color_balance_list_channels): Catch programming errors
without segfaults, as glib would do.
2005-08-18 Andy Wingo <wingo@pobox.com>
* examples/debug-slider.py: New file.
* examples/Makefile.am (examples_DATA): Dist it, foolios.
2005-08-17 Andy Wingo <wingo@pobox.com>
* gst/gst.defs (watch_for_state_change): Added wrapper from CVS.
2005-08-16 Andy Wingo <wingo@pobox.com>
* gst/gst.defs (get_pad_template): Change to operate on elements
and not their classes so it can be wrapped in pygtk 2.6.
* gst/gstelement.override (_wrap_gst_element_get_pad_template):
New override.
2005-08-11 Edward Hervey <edward@fluendo.com>
* gst/gst.override: (pygst_debug_log):
Only display the filename and not the full path
2005-08-10 Edward Hervey <edward@fluendo.com>
* gst/gstmodule.c: (init_gst):
changed debug category name from 'gst-python' to 'python'
* gst/gst.override: (pygst_debug_log):
gchar is way smaller than an int... resulting in negative line numbers
in debug.
2005-08-10 Edward Hervey <edward@fluendo.com>
* gst/gst.override: (pygst_debug_log):
printf("urlencoded%20space") != printf("%s", "urlencoded%20space")
Funny how a lot of problems have gone since that's fixed :)
2005-08-09 Edward Hervey <edward@fluendo.com>
* gst/gstpad.override: (_wrap_gst_pad_query_position):
Long != LongLong ....
2005-08-08 Edward Hervey <edward@fluendo.com>
* codegen/codegen.py:
* codegen/argtypes.py:
Updates from pygtk's codegen and typo fix
2005-08-04 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
* gst/gst.override:
* gst/gstmodule.c:
We now have debugging in gst-python ;)
gst.[log|debug|info|warning|error]()
2005-08-03 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
* gst/gstlibs.override:
* gst/gst.defs:
* gst/libs.defs:
* gst/gst.override:
* gst/gstlibs.override:
bindings now wrap the gstreamer extra libs (adapter, controller,...)
2005-08-03 Andy Wingo <wingo@pobox.com>
* gst/gstmessage.override (_wrap_gst_message_parse_error): Always
return a tuple of length 2.
* examples/pipeline-tester: Commit some updates I had.
* configure.ac (PYGST_CFLAGS): pygst.py generation is handled by
the makefile.
2005-08-01 Edward Hervey <edward@fluendo.com>
* README-docs:
* configure.ac:
* Makefile.am:
Remove old documentation system
* gst/gst.defs:
* gst/gst-types.defs:
Updating defs files
* gst/gst.override:
Wrapped gst_flow_get_name() for const-gchar *
* gst/gstelement.override:
I really should test everything on 32 AND 64 bits systems...
* gst/gstevent.override:
Updated gst_event_new_seek() wrapper
Added gst_event_get_structure() wrapper
* gst/gstmodule.c:
Changed definition of gst.CLOCK_TIME_NONE to wrap GST_CLOCK_TIME_NONE
* testsuite/testhelpermodule.c:
gst_event_new --> gst_event_new_custom
2005-07-25 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs: (GhostPad):
Added GhostPad type
* gst/interfaces.defs:
Added MixerTrackFlags, TunerChannelFlags and MixerOptions
Want the rest of the poem ? ;)
2005-07-23 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
* gst/interfaces.defs:
* gst/interfaces.override:
* gst/xoverlay.override:
It seems that, somewhere along the way, I forgot to make sure interfaces
were binded too :)
2005-07-21 Edward Hervey <edward@fluendo.com>
* gst/gstmessage.override:
wrapped gst_message_parse_segment_start() and
gst_message_parse_segment_done()
* gst/gst.defs:
I'm bored with writing "Updating defs file", so I'll just write a poem
by Charles Baudelaire, "L'invitation au voyage" :
Mon enfant, ma soeur,
Songe à la douceur
D'aller là-bas vivre ensemble !
Aimer à loisir,
Aimer et mourir
Au pays qui te ressemble !
Les soleils mouillés
De ces ciels brouillés
Pour mon esprit ont les charmes
Si mystérieux
De tes traîtres yeux,
Brillant à travers leurs larmes.
The rest at the next defs update :)
2005-07-20 Edward Hervey <edward@fluendo.com>
* gst/pygstvalue.c:
FixedList -> Array
* gst/gst.defs:
Updating defs file.
2005-07-18 Edward Hervey <edward@fluendo.com>
* gst/gstpad.override: misc fixes for change in gst_pad_get_parent()
* gst/gst-types.defs:
* gst/gst.defs: Updating defs file even more :)
2005-07-18 Edward Hervey <edward@fluendo.com>
* gst/gst.defs: Updating defs file
2005-07-13 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs: (MessageType):
updating to current core for 2 new GstMessageType's
* gst/gstbus.override: (bus_sync_handler),(bus_handler):
properly unref the message python wrapper...
2005-07-13 Andy Wingo <wingo@pobox.com>
* examples/pipeline-tester (Window.on_message): Handle errors.
(Window.play): Drain messages from bus before setting pipe to
NULL.
2005-07-13 Edward Hervey <edward@fluendo.com>
* Makefile.am: (install-data-local):
PYGSTDIR typo fix
* examples/bps.py:
* examples/f2f.py:
* examples/gstfile.py:
Updated some examples to 0.9
2005-07-13 Andy Wingo <wingo@pobox.com>
* examples/vumeter.py: New file, a VU meter application that reads
from alsasrc.
* examples/fvumeter.py: New file, imported from Flumotion and
relicensed under the LGPL. Implements a simple VU meter widget.
2005-07-13 Edward Hervey <edward@fluendo.com>
* gst/gstbus.override: (bus_handler) (bus_sync_handler):
Raise an exception if the callback doesn't return anything
* gst/pygstminiobject.c:
removed the 'ref' and 'unref' methods
2005-07-13 Andy Wingo <wingo@pobox.com>
* examples/pipeline-tester: Tweaks, show messages.
2005-07-12 Edward Hervey <edward@fluendo.com>
* gst/gst.override:
removed deprecated wrappers (gst_event_new_any*)
* gst/gstbuffer.override:
* gst/gstquery.override:
* gst/gstmessage.override:
* gst/gstevent.override:
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
Correct wrapping of functions 'creating' mini-objects
* gst/gstelement.override: (_wrap_gst_element_get_state):
More meaningful exception message
* gst/gstpad.override:
wrapped gst_pad_alloc_buffer(), gst_pad_pull_range(),
gst_pad_get_range(), gst_pad_get_internal_links(),
gst_pad_get_internal_links_default(), gst_pad_get_query_types(),
gst_pad_get_query_types_default()
2005-07-12 Andy Wingo <wingo@pobox.com>
* examples/pipeline-tester: New file, tests out gstreamer
pipelines. The pipelines are a bit broken right now tho.
* env: New script, munges PYTHONPATH for uninstalled usage, and
also $PACKAGES which is useful if you add `print-packages` to your
$PS1 and drop http://wingolog.org/pub/print-packages into your
$PATH.
* configure.ac (AC_CONFIG_FILES): The makefile handles pygst.py
now.
* Makefile.am (install-data-local): Actually install pygst.pth to
the pythondir, not pyexecdir. Also install a properly sedded
pygst.py.
(pygst.py): Sed the builddir into pygst.py, and set not writable
(to avoid any confusion about which file to edit).
* pygst.py.in (_pygst_dir): Set _pygst_dir from one variable,
@PYGSTDIR@, which is manually sedded in from the Makefile, so that
it works both installed and uninstalled.
* configure.ac (AC_CONFIG_FILES):
* examples/: Moved all examples up from examples/gst/ into
examples/.
* examples/gstplay: Removed examples for old gstplay.
2005-07-12 Edward Hervey <edward@fluendo.com>
* gst/gstmessage.override:
fixes in .parse_state_changed() and parse_tag()
2005-07-12 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-05 Edward Hervey <edward@fluendo.com>
* gst/gstmodule.c:
* gst/pygstminiobject.c:
Proper registration of PyGstMiniObject classes in order to be able to
create Event, Messages, Buffers from python.
More corrections on miniobject's refcounting
* gst/gstevent.override:
* gst/gstbuffer.override:
Removed overloaded overrides
* gst/gst.defs:
updated
2005-07-01 Edward Hervey <edward@fluendo.com>
* configure.ac:
* Makefile.am:
* gst/Makefile.am:
* examples/Makefile.am:
* testsuite/common.py:
gst.play is gone in 0.9...
2005-07-01 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
* gst/gst.override:
Probes are gone...
* Makefile.am:
* configure.ac:
* gst/Makefile.am:
* pygst.py.in:
Modifications to have parallel-installable gst-python
Works more or less in the same way as pygtk:
import pygst
pygst.require('0.9')
import gst
2005-06-28 Edward Hervey <edward@fluendo.com>
* gst/pygstminiobject.c:
thread safe handling of mini-objects
* codegen/codegen.py: (GstMiniObjectWrapper.constructor_tmpl):
let's not forget to wrap the MiniObject :)
* gst/gst-types.defs:
* gst/gst.defs:
Always keep up to date with the core
* gst/gstelement.override:
override for gst_element_query_position
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
* gst/gst.override:
PyGstMiniObject now properly wrap GstMiniObject and are referenced in a
global hash table
2005-06-26 Edward Hervey <edward@fluendo.com>
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* codegen/defsparser.py:
* codegen/h2def.py:
* codegen/mergedefs.py:
* codegen/reversewrapper.py:
Backport pygtk 2.6.2 codegen
* gst/gst-types.defs:
Added fields for Buffer, Event, Message and Query
Added pre-roll for enum ElementStateReturn
* gst/gst.defs:
Added (define-method for gst_structure_nth_field_name()
* gst/gstelement.override:
Added override for gst_element_get_state
* gst/gstcaps.override:
re-enabled structure functions
2005-06-26 Edward Hervey <edward@fluendo.com>
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* codegen/defsparser.py:
* codegen/defsconvert.py:
* codegen/docgen.py:
Updated codegen to support miniobject
* gst/Makefile.am:
Use the included (and modified) codegen for code generation.
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
* gst/pygstminiobject-private.h:
New GstMiniObject inspired from pygobject.[ch] code
* gst/common.h:
* gst/gst-types.defs:
* gst/gst.override:
* gst/gstbuffer.override:
* gst/gstcaps.override:
* gst/gstmodule.c:
* gst/gstpad.override:
Modifications to support MiniObject
* gst/gst.defs:
Allow null second parameter for ElementFactory.create()
and gst.element_factory_make()
2005-06-20 Edward Hervey <edward@fluendo.com>
* gst/arg-types.py:
* gst/common.h:
* gst/gst-argtypes.c:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
* gst/gstcaps.override:
* gst/gstelement.override:
* gst/gstmodule.c:
* gst/gstpad.override:
* gst/gststructure.override:
commented-out deprecated code,
compiles at last, and works for pipeline creation and state change
* configure.ac:
updated requirement of GStream (0.9.0), pygtk (2.6.1)
bumped version number (0.9.0.1)
2005-06-17 Edward Hervey <bilboed@bilboed.com>
* Backport of bugfixes/new features from 0.8 branch to HEAD
* gst/gst.defs:
* gst/gst-types.defs:
New defs files generated from 0.9 GStreamer
PORTING-TODO will follow
2005-06-17 Andy Wingo <wingo@pobox.com>
* gst/gstcaps.override (_wrap_gst_caps_tp_richcompare): Increment
the refcount of the return value in all cases, even for Py_True
and Py_False. Lines of code per day hovering around 1.3.
2005-06-14 Edward Hervey <bilboed@bilboed.com>
* gst/gstcaps.override: (_wrap_gst_caps_tp_str):
reverting previous fix, was incorrect
* configure.ac:
0.8.1.2 pre-release
* gst/gst.override: (probe_handler_marshal):
bye bye probe memleak
2005-06-14 Edward Hervey <bilboed@bilboed.com>
* gst/Makefile.am: (defs_DATA) (GST_OVERRIDES):
* gst/gst.defs:
* gst/gst.override:
* gst/gst-extrafuncs.defs:
* gst/gstbuffer.override:
* gst/gstevent.override:
* gst/gst-types.defs: (Buffer) (Event):
Added support for element flags (list, set, unset)
Added gst.Buffer duration field
Added gst.Event fields
2005-06-14 Andy Wingo <wingo@pobox.com>
* gst/gstcaps.override (_wrap_gst_caps_tp_richcompare): Fixes for
== and != when the second arg is not a caps.
* testsuite/test_caps.py (CapsTest.testComparisons): Fix name.
2005-06-14 Edward Hervey <bilboed@bilboed.com>
* gst/gstcaps.override: (_wrap_gst_caps_tp_str):
proper repr of GstCaps : <GstCaps at <adress> : '<caps.to_string>'>
2005-06-09 Edward Hervey <bilboed@bilboed.com>
* examples/gst/gstfile.py: (Discoverer.discover):
whoops, pipeline was being run twice :)
2005-06-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* examples/gst/gstfile.py: fix typo
2005-06-08 Edward Hervey <bilboed@bilboed.com>
* examples/gst/Makefile.am:
* examples/gst/gstfile.py:
renamed gst-file.py to gstfile.py and made the Discoverer class useable
in other applications/scripts
* examples/gst/audioconcat.py:
Example application that uses the Discoverer and the gnonlin elements to
concatenate several audio files to one single one
2005-06-07 Edward Hervey <bilboed@bilboed.com>
* examples/gst/Makefile.am:
* examples/gst/gst-file.py:
New example that shows how to use gst-python in an object-oriented way,
and how to override existing methods
2005-06-02 Edward Hervey <edward@fluendo.com>
* gst/gstbuffer.override (_wrap_gst_buffer_set_data):
gcc 4.x bugfixes
2005-05-04 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gst.defs:
factory.create doesn't need a name
* gst/gst.override:
implement tp_str and tp_repr gst.Object and gst.PluginFeature
* gst/gstelement.override:
implement factory.get_pad_templates and make element.link_pads
take NULL, pads or strings as the pad argument
* gst/gstpad.override:
implement tp_getattr for GstPadTemplate
2005-05-03 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst/pygstvalue.c: (pygst_value_from_pyobject):
stupid, stupid, stupid
2005-05-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstcaps.override:
fix uninitialized warning and refactor function
2005-05-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/pygstvalue.c:
* gst/gst-argtypes.c:
* gst/gst.override:
define NO_IMPORT_PYGOBJECT to have a correct extern declaration
reenable _pygst_element_init and ifdef it correctly
* gst/arg-types.py:
check errors
* gst/gstcaps.override:
- remove list append functionality. Sets don't support the +
operator
- implement richcompare and coerce, nonzero, or, xor and subtract
number functions
* testsuite/test_caps.py:
add tests for the new stuff
2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/Makefile.am:
* testsuite/common.py:
rework common so that it behaves a bit more sanely
make the inner workings more clear
2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
add Wall and Werror just like other modules
* gst/gst.override:
* gst/gstelement.override:
fix compile problems for Wall Werror
* testsuite/common.py:
* Makefile.am:
* gst/Makefile.am:
* gst/ltihooks.py:
* ltihooks.py:
move ltihooks to root; having it in gst was a bad hack and
breaks distcheck
2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/common.py: ltihooks only needed for uninstalled (?)
2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/runtests.py: a much nicer way of getting all the tests
2005-05-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
* testsuite/Makefile.am:
run tests with GST_DEBUG=*:0 so they don't produce any debugging
output
* testsuite/test_element.py:
don't disable stderr
* gst/gstbuffer.override:
initialize size correctly
2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/runtests.py: also return exit code 1 in case of errors
2005-05-02 Edward Hervey <bilboed@bilboed.com>
* testsuite/common.py: Added case for 64bit-system that don't have
the dl module
2005-05-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/Makefile.am:
running the code generator depends on the files it uses
* gst/arg-types.py:
add GstCaps parsing
* gst/gstelement.override:
make element.link take an optional caps parameter, deprecate
element.link_filtered
* testsuite/test_caps.py:
replace caps.get_strcuture(i) calls with caps[i], the deprecation
warnings are annoying
2005-05-01 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_interface.py:
do not do stuff in a testsuite that isn't guaranteed to be there.
could do with some way of detecting and skipping.
2005-05-01 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gst-types.c:
remove, it's called gst-argtypes.c these days
* gst/common.h:
* gst/gst-argtypes.c: (pygst_caps_from_pyobject):
add function to transform a PyObject to a GstCaps*
* gst/gstcaps.override:
implement more sequence functions, deprecate caps.get_structure() in
favour of caps[i] and make the structure-by-reference stuff work
* gst/gststructure.override:
make structures from caps work by reference but don't die a horrible
death if the caps get removed before the structure is
* testsuite/Makefile.am:
run with G_DEBUG=fatal_warnings so we crash on g_warnings in C code
* testsuite/test_caps.py:
add some checks
2005-04-30 Benjamin Otte <otte@gnome.org>
* gst/gst.override:
pyg_register_class_init is new API, so only use it when available.
If not available gst.element_register won't work either, but I just
won't care about that right now.
2005-04-30 Benjamin Otte <otte@gnome.org>
* gst/arg-types.py:
ref the GstData we get in conversions as pygst_data_from_pyobject
doesn't do that
* gst/gst-types.c: (pygst_data_from_pyobject),
(pygst_data_to_pyobject), (PyGstData_from_value),
(PyGstData_to_value):
make GstData <=> GValue conversions use the correct G_VALUE_TYPE and
don't copy the values, but just ref them. Avoids mad buffer copying
* gst/common.h:
include GstData <=> PyObject conversion funcs
* gst/gst.override:
- wrap gst.element_register
- add _pygst_get_plugin to query the plugin used by Python.
Necessary preparation for a Python plugin loader. Returns NULL if
no plugin, in that case gst.element_register registers the element
as part of the running app.
- add a class initializer for gst.Element subtypes, that checks the
variables __gsttemplates__ and __gstdetails__ and makes the correct
gst_element_class_set_element_details and
gst_element_class_add_pad_templates calls from them. Note: This
has issues when virtual methods are enabled.
- add _pygst_element_check_error. This functions checks if Python
code raised an exception and if so calls gst_element_error on the
element and clears the error. Very useful in
loop/chain/get-functions
* gst/gstbuffer.override:
- implement buffer.copy_on_write()
- implement sq_(ass_)[item|slice] functions for GstBuffer
- fix PyBufferProcs to allow writing when buffer is writable
* gst/gstpad.override:
- wrap gst.Pad to call gst_pad_new or gst_pad_new_from_template
automatically based on arguments
- don't attach private pad data to the element private, use
g_object_set_data instead
- make attaching functions to pads use closures. Allows garbage
collecting pads where handlers have been set
- fix _repr function to only print parent element's name if parent
exists
* gst/gstmodule.c: (init_gst):
register GstData <=> GValue conversion
2005-04-28 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstbuffer.override:
Let's unref the buffer we created - prevents gst.Buffer from leaking
2005-04-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstbuffer.override:
throw TypeError if bufsize < data size. Fixes testsuite
2005-04-26 Johan Dahlin <jdahlin@async.com.br>
* testsuite/runtests.py: Return exit code 1 if we have any failures
2005-04-26 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstbuffer.override:
make Buffer() not use memory it doesn't own
* testsuite/test_buffer.py:
check that it doesn't
2005-04-19 Edward Hervey <bilboed@bilboed.com>
* gst/gststructure.override: (_wrap_gst_structure_get_double):
Forgot to convert the returned value to a PyFloat...
2005-04-19 Edward Hervey <bilboed@bilboed.com>
* gst/gststructure.override: (_wrap_gst_structure_get_double):
Added overriding function for getting double values from a gst.Structure
2005-04-16 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: bumped back required version of pygtk; we can backport
or copy over the code generator for what we need
2005-04-16 Jan Schmidt <thaytan@mad.scientist.com>
* configure.ac:
Bump GStreamer core requirement to 0.8.9 for
gst_pad_set_active_recursive.
* gst/gst.defs:
Wrap gst_pad_set_active_recursive
2005-04-14 Edward Hervey <bilboed@bilboed.com>
* gst/gst.defs:
Added definitions for methods of GstObject, GstElement, GstBin and Clock
so you can create derived classes with more functionnalities.
* configure.ac: (ACLOCAL):
bumped required version of PYGTK to 2.6.0
2005-04-14 Andy Wingo <wingo@pobox.com>
* gst/__init__.py (Value, Fourcc, IntRange, DoubleRange)
(Fraction): New classes.
* gst/gst.override (_wrap_gst_tag_list_get)
(_wrap_gst_tag_list_get_value_index)
(tag_foreach_func_dict)
(_wrap_gst_tag_list_subscript): Use gstvalue procs.
(init): Initialize the pygstvalue stuff (which involves accessing
definitions from gst/__init__.py).
* gst/gststructure.override (_wrap_gst_structure_ass_subscript):
Just use the pygstvalue functions to do conversion. As it is right
now, it's an incompatible change with the previous behavior,
because it doesn't try to parse field values like "(fourcc)XVID".
We can restore that previous behaviour if there is a need for it.
(_wrap_gst_structure_subscript): Use gstvalue functions to do the
conversion.
* gst/Makefile.am: Add in pygstvalue.[ch].
* gst/pygstvalue.h:
* gst/pygstvalue.c: New files.
(pygst_value_as_pyobject): Wraps pyg_value_as_pyobject, handling
gstvalues as well.
(pygst_value_init_for_pyobject): Sniffs a pyobject for a type and
initializes a GValue appropriately.
(pygst_value_from_pyobject): Wraps pyg_value_from_pyobject,
handling gvalues as well.
* testsuite/test_struct.py (StructureTest.testStructureChange)
(StructureTest.testGstValue): Add some tests for GstValue wrapping.
2005-04-25 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstbuffer.override:
handle the data correctly
2005-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gst.override:
wrap gst_plugin_get_version so it returns a tuple
2005-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/test_probe.py:
add test for probes
2005-03-15 Richard Hult <richard@imendio.com>
* gst/gst.defs (element_factory_make): Caller owns return, fixes leak
(get_caps): Ditto
* gst/gst.override (_wrap_gst_tag_list_get): Leak fix
(_wrap_gst_tag_list_subscript): Ditto
Reviewed by: Johan Dahlin <johan@gnome.org>
2005-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
* gst/arg-types.py:
* gst/gst-types.defs:
* gst/gst.override:
* testsuite/test_probe.py:
first pass at wrapping GstProbe
2005-01-01 Johan Dahlin <johan@gnome.org>
* gst/Makefile.am:
* gst/gst.override:
* gst/gstcaps.override:
* gst/gstelement.override:
* gst/gstpad-handlers.override:
* gst/gstpad.override:
* gst/gststructure.override:
Split out gst.override to a few more files.
Rename gstpad-handlers.override to gstpad.override
Include more information for some LinkError exceptions
2004-12-14 Johan Dahlin <johan@gnome.org>
* gst/gst-types.defs:
* gst/gstbuffer.override:
* testsuite/test_buffer.py:
Improve support GstBuffer attributes, r/w support for timestamp.
2004-11-29 Johan Dahlin <johan@gnome.org>
* configure.ac: Post release version bump
=== release 0.8.1 ===
2004-11-29 Johan Dahlin <johan@gnome.org>
* configure.ac: Bump version
* gst/interfaces.defs:
* gst/interfaces.override (_wrap_gst_color_balance_list_channels):
Apply patch from Zaheer Abbas Merali to implement this method. Not
that it's not .list_channels() due to conflict with a method of
the same name in the GstTuner interface
* gst/gstmodule.c:
* gst/gst.override: Apply patch from Brian Warner to throw a link
error when element and pad linking fails.
2004-11-27 Martin Soto <martinsoto@users.sourceforge.net>
* gst/gst.override (_wrap_gst_event_new_any)
(_wrap_gst_event_new_discontinuous)
(_wrap_gst_event_any_get_structure)
(_wrap_gst_registry_pool_plugin_list):
* gst/gst.defs (get_data, event_new_any, any_get_structure):
Added basic support for "ANY" (navigation) events.
Added basic support for discont events (only one value for now,
we are limited by the GStreamer API).
Now it is possible to access data in a GstBuffer as a string
Added a definition for method get_data of GstBuffer.
* gst/gst.override (_wrap_gst_structure_set_value): Add an
optional parameter to allow selection of the right G_TYPE. If no
type is specified, make an educated guess.
2004-11-25 Johan Dahlin <johan@gnome.org>
* gst/interfaces.override:
* gst/xoverlay.override:
redefine broken implement casting macros to something saner
2004-11-23 Johan Dahlin <johan@gnome.org>
* testsuite/*: Put test_ prefix on all test filenames
2004-11-23 Johan Dahlin <johan@gnome.org>
* gst/gstmodule.c: sink GstObject, much like GtkObject
2004-11-23 Johan Dahlin <johan@gnome.org>
* examples/gst/play.py:
* gst/gst-types.defs:
* gst/gst.override:
* testsuite/Makefile.am:
* testsuite/common.py:
* testsuite/event.py:
* testsuite/test_event.py:
Use gst.element_factory_make in play example
Use boxed instead of pointer for gst.Event, it was such an ugly
hack.
Ref the event when sending using gst.element_send_event.
Add a bunch of testcases (and a C module), renamed event to
test_event.py
=== release 0.8.0 ===
2004-11-15 Johan Dahlin <johan@gnome.org>
* configure.ac: bump
* gst/gst.override (_wrap_gst_tag_setter_get_list): Override, to
avoid compiler warning.
* gst/gstmodule.c (init_gst): Reset LC_NUMERIC, since it might
change in gst_init_check. Fixes 100% CPU usage in flumotion
when using a non C locale.
2004-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
* pkgconfig/gst-python-uninstalled.pc.in:
set pyexecdir for uninstalled as well
=== release 0.7.94 ===
2004-11-05 Thomas Vander Stichele <thomas at apestaart dot org>
* .cvsignore:
* examples/Makefile.am:
remove gstplay
2004-11-04 Johan Dahlin <johan@gnome.org>
* gst/gst.override (tag_foreach_func_list): Disable lists instead
of raising an exception.
* gst/gst-types.defs (ImplementsInterface, TagSetter): Define
these here.
* gst/interfaces.override (_wrap_gst_mixer_list_tracks): Impl.
(_wrap_gst_tuner_list_norms, _wrap_gst_tuner_list_channels): Plug
leaks.
=== release 0.7.93 ===
2004-10-11 Johan Dahlin <johan@gnome.org>
* configure.ac: Bump version number
2004-10-11 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst/gst.defs:
* gst/gst.override:
Fixes element_unlink_many and adds a set_buffer_data method to GstBuffer
Fixes bug #154451 and #154692
2004-10-11 Johan Dahlin <johan@gnome.org>
* gst/arg-types.py:
* gst/gst.defs:
* gst/gst.override:
GstXML support, based on patch by poelzi.
2004-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst/gstmodule.c: (init_gst):
Make gst-python not hang on import when embedded.
Fixes bug #155041
2004-10-04 Johan Dahlin <johan@gnome.org>
* gst/interfaces.defs: Add proper fiels to GstTunerNorm. Also
remove parent property from all interfaces.
Revert, since we have code which depends on this "feature"
2004-09-29 Johan Dahlin <johan@gnome.org>
* gst/gstmodule.c (python_do_pending_calls): Use
PyOS_InterruptOccurred and only hold the GIL during
PyErr_SetNone. Use _pygst_main_quit to avoid errors/aborts. Also
use the pygtk provided gil macros instead of the python ones.
2004-09-22 Johan Dahlin <johan@gnome.org>
* gst/gst.override: use new threading API
2004-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/__init__.py:
* gst/gstreamer.py:
* gst/arg-types.py:
fix headers
* gst/gst.override:
change GstPad repr
* gst/ltihooks.py:
fix distcheck for uninstalled by only adding .libs when needed
2004-08-30 Johan Dahlin <johan@gnome.org>
* gst/gst.override (_wrap_gst_structure_ass_subscript): Some more
fixes, doesn't quite work as it should yet though.x
(_wrap_gst_caps_tp_str): Plug leak
* gst/interfaces.defs (Mixer, MixerTrack): Add mixer fields here.
* testsuite/element.py (QueueTest.testConstruct): Some basic test,
one disabled for the moment
2004-08-12 Johan Dahlin <johan@gnome.org>
* gst/interfaces.defs (TunerNorm, TunerChannel): Add fields.
* gst/interfaces.override (_wrap_gst_tuner_list_norms)
(_wrap_gst_tuner_list_channels): Impl.
2004-08-06 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.override:
* testsuite/caps.py:
one item list with structure is valid too
2004-08-06 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
* gst/gst.override:
* testsuite/caps.py:
add a constructor for caps that wraps _new_empty, _from_string
and an alternative to _new_full.
add tests for them.
2004-08-06 Johan Dahlin <johan@gnome.org>
* gst/gst.override (_wrap_gst_structure_from_string): Impl.
(_wrap_gst_tag_list_has_key): Impl.
(_wrap_gst_caps_get_structure): Don't copy or free me
* testsuite/struct.py (StructureTest.testStructureChange): Enable
some tests.
Improve tests
* gst/gst.override (_wrap_gst_structure_ass_subscript): Impl
2004-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/struct.py:
add a testsuite for structs, not yet active
2004-08-03 Johan Dahlin <johan@gnome.org>
* configure.ac: Require python 2.3
* gst/gstmodule.c (python_do_pending_calls): Use PyGILState and
friends here.
* gst/gst.override (_pygst_main_quit, _pygst_main): Use these two
instead of gst_main/gst_main_quit so we can check if we're in a
mainloop or not.
2004-08-02 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:
allow no name for thread and pipeline as well
2004-07-16 Johan Dahlin <johan@gnome.org>
* pkgconfig/gst-python.pc.in (pyexecdir): Add and remove comments
for all other variables.
2004-07-15 Johan Dahlin <johan@gnome.org>
* testsuite/registry.py: Add some basic tests
* gst/gst.override: Don't ignore all gst_registry_* symbols
(_wrap_gst_registry_pool_plugin_list): Impl.
(_wrap_gst_registry_pool_feature_list): Impl.
* gst/gst-types.defs (Plugin): Add as a boxed
* gst/__init__.py: Use DLFCN instead of dl to help python
installations without the dl module (gentoo for instance)
2004-07-13 Johan Dahlin <johan@gnome.org>
* gst/gst.override (_wrap_gst_pad_query, _wrap_gst_element_query)
(_wrap_gst_pad_convert): Remove exceptions, return Long values
(and convert from LongLongs) and clean up a little)
* testsuite/element.py (QueryTest.testQuery): Another small test
* gst/gst.override (_wrap_gst_element_query): Ditto
(_wrap_gst_pad_convert): Ditto
* testsuite/event.py (EventFileSrcTest.setUp): Start the pipeline,
so we don't get warnings when sending events
(EventTest.setUp): Ditto.
* testsuite/pad.py: New test, only testing simple pad queries so far.
* testsuite/Makefile.am (tests): Add missing tests
* gst/gst.override (_wrap_gst_pad_query): Raise RuntimeError if
the return value is False and only return the queried value.
2004-07-02 David Schleef <ds@schleef.org>
* configure.ac: Correctly check for XML tools. Correctly set
BUILD_DOCS variable depending on tools.
* docs/Makefile.am: Use XML variables.
2004-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: back to cvs
=== release 0.7.92 ===
2004-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/Makefile.am:
* testsuite/common.py:
passed make distcheck, ready to go
2004-06-21 Johan Dahlin <johan@gnome.org>
* gst/Makefile.am (EXTRA_DIST): Add ltihooks.py
2004-06-18 Johan Dahlin <johan@gnome.org>
* testsuite/runtests.py (dir): Change to srcdir before running the
test, should make it pass distcheck
2004-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/__init__.py:
* testsuite/Makefile.am:
* testsuite/caps.py:
adding a caps test
2004-06-09 Johan Dahlin <johan@gnome.org>
* gst/gstbuffer.override (_wrap_gst_buffer_flag_is_set)
(_wrap_gst_buffer_flag_set, _wrap_gst_buffer_flag_unset): Impl.
* testsuite/buffer.py (BufferTest.testBufferFlagIsSet): New test
2004-05-24 Johan Dahlin <johan@gnome.org>
* testsuite/interface.py (Availability.testXOverlay): Extend to
test method calling on interfaces
* testsuite/common.py: call pygtk.require first
* gst/gstbin.override (_wrap_gst_bin_get_by_name): Add a
keyword argument recurse and remove
_wrap_gst_bin_get_by_name_recurse_up.
* gst/gst.override (_wrap_gst_element_get_pad_list): Split out bin
functions to ...
* gst/gstbin.override: .. this file
* gst/gst.defs (bin_new): allow NULL for first argument.
(child_state_change): Remove, it's private.
2004-05-04 Johan Dahlin <johan@gnome.org>
* gst/gst-types.defs (Buffer): Add some fields
* gst/gstbuffer.override: Move out from gst.override, add
tp_as_sequence support and reorganize the code
* testsuite/buffer.py (BufferTest): Add new tests
2004-05-03 Johan Dahlin <johan@gnome.org>
* gst/__init__.py: Remove pygtk import and import gobject
directly. It's up the app to call pygtk.require and no the
library.
* testsuite/event.py, testsuite/buffer.py: New tests.
* testsuite/common.py (run_silent): New function to enable stderr
even if an exception is raised.
* testsuite/element.py (FakeSinkTest.checkError): Better
state-error checking.
* gst/common.h: Add some parenthesises
* gst/play.override: Include common.h
* configure.ac: Use different prefix for the new check of PyGtk so
we're not overwriting the good PYGTK_CFLAGS
* gst/Makefile.am (INCLUDES): Move PYGTK_CFLAGS to common_cflags
instead of INCLUDES
* configure.ac: define HAVE_OLD_PYGTK if we're on pygtk 2.3.91 or
earlier and disable editor checks
* gst/common.h: Add backwards compatible typedef for python < 2.3
and pygtk < 2.3.92
* codegen/codegen.py: Resync (add support for tp_as_buffer)
* gst/gst.override: Support buffer interface for GstBuffer. Move
stuff into common.h, fix wrapping for
gst_pad_template_get_caps_by_name
2004-05-01 Johan Dahlin <johan@gnome.org>
* testsuite/runtests.py (gettestnames): Cleanup
* testsuite/element.py (FakeSinkTest): Enable again and disable
stderr while changing state to ready
(ElementName.testElementStateGetName): New function to test
gst.element_state_get_name.
* testsuite/common.py (path): Don't import ltihooks and proper
check for gst module. Add --gst-debug-no-color as a global option
(disable_stderr, enable_stderr): New functions to disable stdout
called from non python
2004-04-30 Johan Dahlin <johan@gnome.org>
* gst/gst.defs (element_state_get_name): Add.
2004-04-21 Johan Dahlin <johan@gnome.org>
* testsuite/runtests.py (tests): Run all tests in one TestSuite
instead of several.
* testsuite/element.py (FakeSinkTest.setUp): Disable StateError
tests until there is a way to disable element error output.
2004-04-16 Johan Dahlin <johan@gnome.org>
* configure.ac (PYGTK_CODEGEN): Use built in code generator again
and don't require 2.3.91, 2.0.0 should do fine (FC1 ok, RH9 isn't)
* TODO: Update
* gst/interfaces.override, gst/play.override: Add typedef for
python < 2.3
* codegen/codegen.py: Readd :/
* testsuite/pipeline.py (PipelineConstructor.testGoodConstructor)
(PipelineConstructor.testBadConstruct)
(ThreadConstructor.testCreate): New tests
* testsuite/element.py (ElementTest.testGoodConstructor): Add
isinstance(element, gst.Element) test
* testsuite/common.py: Clean up, use ltihooks
* gst/gst.override (_wrap_gst_element_tp_new): New, just pointing
to _wrap_gst_element_factory_make
(_wrap_gst_element_tp_new): Stub, return 1 so tp_new can be used.
(init) Assign tp_new for pipeline and thread to PyType_GenericNew
for now.
* gst/gst.defs (element_factory_make): Remove is-constructor-of
GstElement.
* codegen/: Remove and use the codegen from pygtk instead
* configure.ac (ACLOCAL): Require 2.3.91 of PyGTK
2004-04-06 Johan Dahlin <johan@gnome.org>
* examples/gstplay/videoplayer.py: New example, simple video
player embedded in a gtk+ widget.
=== release 0.7.91 ===
2004-03-31 Johan Dahlin <johan@gnome.org>
* configure.ac (ACLOCAL): Bump version
* gst/Makefile.am (EXTRA_DIST): And make sure we have all defs here.
* gst/ltihooks.py: New file
* gst/__init__.py: try to import ltihooks.py
* gst/Makefile.am: Only install gst-types.defs
* Makefile.am (EXTRA_DIST): Add codegen/* Can't believe distcheck passed
=== release 0.7.90 ===
2004-03-30 Johan Dahlin <johan@gnome.org>
* docs/NEWS.xml: Update
2004-03-29 Johan Dahlin <johan@gnome.org>
* examples/gst/wavenc.py: New example
* Makefile.am (EXTRA_DIST): Add wavenc.py
2004-03-24 Johan Dahlin <johan@gnome.org>
* gst/gstmodule.c (init_gst): Add constants for GST_*SECOND.
(python_do_pending_calls): New idler handler, similar to pygtk, so
python events (eg KeyboardInterrupt) can be raised during mainloop
* gst/gst.override (_wrap_gst_bin_get_list):
(_wrap_gst_pad_tp_repr, caps_length, caps_item)
(structure_length, structure_subscript)
(_wrap_gst_structure_tp_repr): Impl.
(_wrap_gst_main): Override with threading blocking.
* gst/gst-types.defs (Object): add flags field.
(Structure): Add copy/release funcs
* gst/__init__.py (devloc): Don't initialize threads
* gst/Makefile.am: clean up
* examples/gst/player.py: Prettify and simplify. Uses GstThread now.
* examples/gstplay/player.py: Update to new api and make it work.
2004-03-18 Johan Dahlin <johan@gnome.org>
* configure.ac: s/GST_*_INCLUDES/GST_*_LIBS/
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/Makefile.am: fix automake don'ts
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/gst/player.py:
update for new API. Use Enter to pause pipeline.
* examples/gst/vorbisplay.py:
update for new API
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
subst GST_MAJORMINOR
* docs/Makefile.am:
disable docs checks until they satisfy make distcheck
2004-03-17 Johan Dahlin <johan@gnome.org>
* testsuite/Makefile.am (check-local): distcheck fixes
* testsuite/common.py: Put in a couple of hacks to make distcheck
pass make check
* testsuite/interface.py: New test
* gst/gst.defs: Remove unused functions.
* gst/gst.override: Ditto
* gst/__init__.py (devloc): delete dl
* Makefile.am (DIST_SUBDIRS): Remove PLAYDIR
2004-03-16 Johan Dahlin <johan@gnome.org>
* configure.ac: Support build without gstplay and gstinterfaces
* gst/Makefile.am: Move the gstplay bindings over here
* Makefile.am, configure.ac: Remove examples/ and put them in
EXTRA_DIST here
* gst/gst.defs (element_make_from_uri): Remove const from enum
here, should be fixed upstream too.
* gst/gst.override (_wrap_gst_bin_remove_many)
(_wrap_gst_element_unlink_many): Impl.
(_wrap_gst_element_get_pad_list): Impl.
: Add a number of new ignores for functions/methods we won't wrap anyway
2004-03-15 Johan Dahlin <johan@gnome.org>
* gst/*: Move interfaces over here, make it build, remove gstreamer.py
2004-03-12 Johan Dahlin <johan@gnome.org>
* configure.ac: PyGtk 1.99.14 should be okay (Shipped with RH9),
AC_SUBST GStreamer and PyGTK flags
* Makefile.am (PLAYDIR): Disable for now
* configure.ac: Build against 0.8
* gstinterfaces/Makefile.am: clean up a little bit
* gstinterfaces/__init__.py (devloc): s/gstreamer/gst/
* codegen: Resync and appy my interface constructor patch
2004-03-09 Johan Dahlin <johan@gnome.org>
* gst/gst.override (_wrap_gst_g_error_tp_str)
(_wrap_gst_g_error_tp_str): Impl.
* gst/gst-types.defs (GError): Add
* gst/Makefile.am (defs_DATA): Install defs
* codegen/*: Resync
2004-03-05 Johan Dahlin <johan@gnome.org>
* testsuite/element.py: Update to new api
* codegen/*: Copy PyGTK code generator here, to avoid depending on
latest version.
* configure.ac: Add versioning, ala pygtk, and use the internal
code generator instead of the installed one
2004-03-04 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
* examples/Makefile.am:
* gst/Makefile.am:
* gstinterfaces/Makefile.am:
* gstplay/Makefile.am:
* testsuite/Makefile.am:
fix make distcheck
move examples/gstreamer to examples/gst
2004-03-04 Thomas Vander Stichele <thomas at apestaart dot org>
* Makefile.am:
* autogen.sh:
* configure.ac:
* gst/__init__.py:
* gst/gstmodule.c: (init_gst):
move gstreamer/ to gst/ by cvs surgery so we can work uninstalled
more changes to be able to run uninstalled
2004-02-27 Johan Dahlin <johan@gnome.org>
* gstreamer/: All over the place, more rename work (gstreamer -> gst)
* examples/gstreamer/filesrc.py,player.py: New examples
* gstreamer/gstreamer.override: Add a dict like interface to GstTagList
* gstreamer/gstpad-handlers.override: New file, split out from gstreamer.override
* gstreamer/gst-types.defs: Don't use
gst_buffer_free/gst_data_free, use gst_data_unref instead.
* gstreamer/gst-types.c (PyGstData_to_value): Don't send address here.
* gstreamer/arg-types.py (GstDataPtrArg.write_param): Send the
address to stuff, since we really want to avoid segfaults :)
* gstreamer/0.6.[c,defs,h,override]: Remove, we're focusing on 0.7
* gstreamer/0.7.[c,defs,h,override]: Remove, merge with
gstreamer.*
* gstreamer/Makefile.am: Clean up, remove versioning support.
2004-02-25 Johan Dahlin <johan@gnome.org>
* gstreamer/gstreamer.override:
* gstreamer/gstreamermodule.c: Rename some more things to gst
* gstreamer/arg-types.py: Clean up and add GstData handling
* gstreamer/gstreamer.defs:
* gstreamer/gst-types.defs: Split out types to a separate defs
* gstreamer/gst-types.c: New file to handle custom GstData conversions.
2004-02-24 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/0.7.override:
* gstreamer/common.h:
GstStructure and GstTagList foreach() support.
* examples/gstplay/player.py:
Use TagList.foreach() to print tags.
2004-02-24 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/common.override:
Attempt to handle GstBuffer vs GstData better.
2004-02-24 Johan Dahlin <johan@gnome.org>
* gstreamer/gstreamer.defs: rename all functions, remove
gst_ suffix.
* gstreamer/examples/gstreamer/*.py: Update to new API.
2004-02-23 Johan Dahlin <johan@gnome.org>
* gstreamer/gstreamer.defs (element_link_many): This is function
and not a method, despite popular belief
(gst_element_factory_make): Make it the constructor of GstElement,
so we can avoid dirty hacks.
* gstreamer/gstreamer.override (_wrap_gst_element_link_many): Wrap
(_wrap_gst_element_link_many): Wrap
* gstreamer/common.defs:
* gstreamer/common.override:
* gstreamer/Makefile.am: Beginning of reorganization, to include
gstreamer.defs and override (eg, not auto generate them)
* examples/gstreamer/cp.py: Prettify and pythonify. Will do the
other examples later
* gstreamer/gstreamer.py: Backwards compatibility module
* gstreamer/gstreamermodule.c:
* gstreamer/Makefile.am: Rename the module to gst
2004-02-18 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/0.7.defs:
Wrap GstTagList.
2004-02-18 David I. Lehn <dlehn@users.sourceforge.net>
* gstinterfaces/0.7.c:
* gstinterfaces/0.7.h:
* gstinterfaces/0.7.override:
* gstinterfaces/__init__.py:
* gstinterfaces/arg-types.py:
* gstinterfaces/common.c:
* gstinterfaces/common.h:
* gstinterfaces/common.override:
* gstinterfaces/gstinterfacesmodule.c:
* gstplay/0.7.c:
* gstplay/0.7.h:
* gstplay/0.7.override:
* gstplay/__init__.py:
* gstplay/arg-types.py:
* gstplay/common.c:
* gstplay/common.h:
* gstplay/common.override:
Adjust date to 2004.
2004-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
* acinclude.m4:
fix underquotedness
2004-02-03 David I. Lehn <dlehn@users.sourceforge.net>
* gstinterfaces/.cvsignore:
* gstinterfaces/0.7.defs:
* gstinterfaces/Makefile.am:
* gstinterfaces/common.defs:
* gstinterfaces/common.override:
* gstinterfaces/gstinterfacesmodule.c: (init_gstinterfaces):
* gstplay/.cvsignore:
* gstplay/0.7.c:
* gstplay/0.7.defs:
* gstplay/0.7.h:
* gstplay/0.7.override:
* gstplay/Makefile.am:
* gstplay/__init__.py:
* gstplay/arg-types.py:
* gstplay/common.c:
* gstplay/common.h:
* gstplay/common.override:
* gstplay/gstplaymodule.c: (init_gstplay):
* gstreamer/Makefile.am:
* gstreamer/__init__.py:
* gstreamer/common.override:
Support GstPlay, bug fixes, updates.
* examples/gstplay/player.py:
GstPlay example.
* Makefile.am:
Support GstPlay build.
* configure.ac:
Support GstPlay build, remove AC_SUBST() calls that
PKG_CHECK_MODULES does automagically.
2004-01-27 David I. Lehn <dlehn@users.sourceforge.net>
* Makefile.am: add gstinterfaces dir
* configure.ac: get interfaces include dirs
* gstreamer/.cvsignore: add .py[co]
* gstreamer/0.6.defs:
* gstreamer/0.6.override:
* gstreamer/0.7.defs:
* gstreamer/0.7.override:
* gstreamer/common.defs:
* gstreamer/common.override: rearrange code for both 0.6 and 0.7
support
* gstreamer/Makefile.am: add -fno-strict-aliasing due to python
issues
* gstinterfaces/.cvsignore:
* gstinterfaces/0.7.c:
* gstinterfaces/0.7.defs:
* gstinterfaces/0.7.h:
* gstinterfaces/0.7.override:
* gstinterfaces/Makefile.am:
* gstinterfaces/__init__.py:
* gstinterfaces/arg-types.py:
* gstinterfaces/common.c:
* gstinterfaces/common.defs:
* gstinterfaces/common.h:
* gstinterfaces/common.override:
* gstinterfaces/gstinterfacesmodule.c: messy start of interfaces
handling
2003-12-07 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
* gstreamer/common.override
(_wrap_gst_element_factory_make_element): Make name argument
optional.
2003-10-10 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac, gstreamer/Makefile.am, gstreamer/*: Mass change to
support compiling for both 0.6 and 0.7. Common support is now in
common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files
are merged and/or used as needed.
* gstreamer/common.override: add gst_version
* examples/gstreamer/ilat.py: add annoying version check for 0.6 API
2003-10-09 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: require autoconf 2.57 and pygtk 2.0.0.
* gstreamer/Makefile.am: fix libtool 1.5 build by fixing export
symbol typo s/initgstreamer/init_gstreamer/
* gstreamer/examples/ilat.py: 4 space indents
2003-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/gstreamer/*.py: use Element over gst_element_factory_make
2003-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
* gstreamer/gstreamermodule.c: (init_gstreamer):
use gst_init_check () with argc and argv (see pygtk)
2003-10-04 Thomas Vander Stichele <thomas at apestaart dot org>
* Makefile.am: add testsuite dir
* configure.ac: bump to cvs version nano, add testsuite Makefile
* testsuite/Makefile.am: testsuite
* testsuite/element.py: test for Element class
* gstreamer/gstreamer.overrides: add a wrapper for Element ()
* gstreamer/gstreamer-extra.defs: add a constructor for Element
2003-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
* gstreamer/gstrearem.override: fix Py_BuildValue for 64 bit ints
2003-07-10 David I. Lehn <dlehn@users.sourceforge.net>
* AUTHORS, NEWS, README, TODO, README-docs, Makefile.am, configure.ac,
docs/Makefile.am, docs/NEWS.xml, docs/README.xml, docs/RELNOTES.xml,
docs/gst-python.ent.in, docs/notes/release: distcheck and final
release prep fixes
2003-07-09 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: check for xmlcatalog for docs build (probably not
strictly needed for general use but fixes non-srcdir builds)
* Makefile.am: conditionally build docs
* README.docs, Makefile.am: info on where doc sources are located
* docs/gst-python.xml: removed (split into partial files)
* README, AUTHORS, NEWS, TODO: removed (generated from docs/*)
* .cvsignore, docs/.cvsignore: add generated files
* docs/{AUTHORS.xml, NEWS.xml, README.xml, RELNOTES.xml, TODO.xml,
gst-python.ent.in, common.xsl, full.xsl, part.xsl, Makefile.am}: redo
autobuilt docs system with fancy XInclude features
* README.docs, README-docs: rename
* docs/notes/release: add release checklist
* docs/gst-python.ent.in: update pubdate
2003-06-26 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac, AUTHORS, NEWS, README, TODO, docs/Makefile.am,
docs/HEAD.in docs/docutils.conf, docs/gst-python.css:
kill docutils based docs (easy come, easy go)
* AUTHORS, NEWS, README, TODO, docs/Makefile.am, docs/gst-python.xml,
docs/common.xsl, docs/html.xsl, docs/pdf.xsl, docs/gst-python.css:
docbook based docs
2003-06-25 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/Makefile.am: fix up line continuations
* configure.ac, Makefile.am, pkgconfig/*: add pkgconfig support
* configure.ac, Makefile.am, AUTHORS, NEWS, README, TODO,
docs/HEAD.in, docs/Makefile.am, docs/docutils.conf,
docs/gst-python.css: docutils based docs
2003-06-11 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-python.spec.in: fix
* Makefile.am, autogen.sh, configure.ac: convert to same style as
other GStreamer modules
2003-02-10 David I. Lehn <dlehn@users.sourceforge.net>
* TODO: add TODO list
2003-02-08 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/Makefile.am: make distcheck fixification
2003-02-06 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/gstreamer-extra.defs, gstreamer/gstreamer.override: add
wrapper for gst_props_entry_gst_list() and method gst_list() to
GstProps to access properties list
* gstreamer/gstreamer-extra.defs, gstreamer/gstreamer-fixes.[ch]: add
alias for gst_props_entry_get_type as _get_props_type() since
_get_type() is recognized as a GObject type function
* examples/gstreamer/oggplay.py: rename to vorbisplay.py
* examples/gstreamer/vorbisplay.py: print out meta/stream info
* gstreamer/Makefile.am: add gstreamer.defs to CLEANFILES
2003-02-05 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: require GStreamer core 0.6.0
* examples/gstreamer/bps.py: added buffers-per-second test
* gstreamer/gstreamer-fixes.[ch]: add functions for optimized bin
iteration (may move or rename):
- id add_iterate_bin(bin)
- remove_iterate_bin(id)
- iterate_bin_all(bin)
2003-01-22 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: require GStreamer core 0.5.2
2003-01-09 David I. Lehn <dlehn@users.sourceforge.net>
* examples/gstreamer/*, gstreamer/gstreamer.override: update to new
GstPad/GstElement link API and remove old hacks to call GObject
connect method
* gstreamer/Makefile.am: ignore gstcompat.h
* configure.ac: require GStreamer core 0.5.1.1
2003-01-04 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/gstreamer.override, gstreamer/gstreamer-extra.defs: add
GstPropsEntry and wrappers for most of get_* methods
* gstreamer/gstreamer-arg-types.py: add GstClockID as a pointer arg
type (not too useful, really need to make it a boxed type)
2003-01-02 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/__init__.py: add threads_init() function
* gstreamer/gstreamer.override: add pad and element query and convert
methods
2002-12-31 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: require PyGTK 1.99.14
* pygtk.diff: integrated upstream, remove patch
* gstreamer/Makefile.am: filter out gstatomic_impl.h from includes
used to create defs
* examples/gstreamer/oggplay.py: s/vorbisdec/vorbisfile/ (Thanks to
Kenichi Sato <ksato@users.sourceforge.net>)
2002-12-22 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: fix include dir check and fail if not found
2002-12-21 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/gstreamer.override (call_connect_function,
call_chain_function): block/unblock threads before entering Python
interpreter
* gstreamer/gstreamer.override: indent
2002-12-17 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/gstreamer.override: add wrapper for gst_element_set_state
to release GIT lock
2002-12-14 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: bump gstreamer version to 0.5.0
* *: update to use sourceforge email address
2002-11-07 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: bump gstreamer version to 0.4.2, bump pygtk version to
1.99.13
* gstreamer/__init__.py: add "import pygtk; pygtk.require('2.0')"
* examples/gstreamer/dvdplay.py: updated to maybe work with threads
* pygtk.diff: add work-in-progress PyGTK threading improvements diff
2002-10-23 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/gstreamer.override: override gst_bin_iterate() to unblock
threads since this call can cause exacution to re-enter the
interpreter.
2002-10-04 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/gstreamer.override, gstreamer/gstreamer-fixes.h: add
temporary hack to fix 0.4.1 s/gst/get/ typo in GST_TYPE_CAPS/PROPS()
2002-10-04 David I. Lehn <dlehn@users.sourceforge.net>
* README: basic info.
* COPYING: remove the literal "^L" strings.
* configure.ac: require GStreamer core 0.4.1.
* gstreamer/gstreamer-extra.defs: add boxed type defs, convert buffer
get/set_data to methods vs functions.
* gstreamer/gstreamer.overrides: remove boxed type generated code,
adapt rest to boxed types.
* examples/gstreamer/*: set interpreter to "python" vs "python2.2",
adapt to newer generated code (Pipeline vs gst_pipeline_new()), adapt
to newer api.
2002-05-09 David I. Lehn <dlehn@users.sourceforge.net>
* examples/gstreamer/dvdplay.py: adjust state changes,
use sdlvideosink (videosink segfaulting for me right now)
* gstreamer/gstreamer.defs: remove
* gstreamer/gstreamer-base.defs,
gstreamer/gstreamer-xtra.defs,
Makefile.am:
create gstreamer.defs from h2defs.py output and local hacks
2002-04-15 David I. Lehn <dlehn@users.sourceforge.net>
* examples/gstreamer/*.py: use new element connect api
* gstreamer/__init__.py: use dl module flags
in particular, RTLD_GLOBAL flags is required
2002-04-14 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: depend on gstreamer 0.3.4
* examples/gstreamer/*.py: s/elementfactory/element_factory/
* gstreamer/gstreamer-fixes.h, gstreamer/gstreamer-fixes.c:
remove defs no longer needed due to upstream changes
* gstreamer/gstreamer.defs: regen for 0.3.4
2002-03-24 David I. Lehn <dlehn@users.sourceforge.net>
* examples/gstreamer/: add cp.py oggplay.py f2f.py dvdplay.py
* gstreamer/gstreamermodule.c: strip GST_ prefix
* gstreamer/__init__.py: find libtool lib hack
2002-03-23 David I. Lehn <dlehn@users.sourceforge.net>
* stole binding framework from gnome-python && gconf
* adapted to gstreamer
|