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
|
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 dictionnary.
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
=== gst-python 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
=== gst-python 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
=== gst-python 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
|