mirrored from git://anongit.freedesktop.org/gstreamer/gst-python
-
Notifications
You must be signed in to change notification settings - Fork 72
/
ChangeLog
7668 lines (5776 loc) · 239 KB
/
ChangeLog
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
=== release 1.19.2 ===
2021-09-23 01:35:45 +0100 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* gst-python.doap:
* meson.build:
Release 1.19.2
2021-06-01 15:29:12 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
Back to development
=== release 1.19.1 ===
2021-06-01 00:16:12 +0100 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* gst-python.doap:
* meson.build:
Release 1.19.1
2021-05-11 17:14:41 -0400 Stirling Westrup <stirling.westrup@userful.com>
* meson.build:
Fixed meson.build to correctly use libdir
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/45>
2020-10-09 14:34:12 +0200 Stéphane Cerveau <scerveau@collabora.com>
* meson.build:
* plugin/meson.build:
gstreamer-full: plugin can be registered statically.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/43>
2020-10-08 12:56:10 +0200 Andoni Morales Alastruey <ylatuya@gmail.com>
* meson.build:
macOS: Fix plugin link with Python 3.8
see: https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/28
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/42>
2020-09-08 17:30:59 +0100 Tim-Philipp Müller <tim@centricular.com>
* .gitlab-ci.yml:
ci: include template from gst-ci master branch again
2020-09-08 16:59:04 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
Back to development
=== release 1.18.0 ===
2020-09-08 00:09:33 +0100 Tim-Philipp Müller <tim@centricular.com>
* .gitlab-ci.yml:
* ChangeLog:
* NEWS:
* RELEASE:
* gst-python.doap:
* meson.build:
Release 1.18.0
2020-08-20 16:03:36 -0400 Thibault Saunier <tsaunier@igalia.com>
* plugin/gstpythonplugin.c:
Fix distcheck by setting up overrides in plugin init
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/40>
=== release 1.17.90 ===
2020-08-20 16:16:07 +0100 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* gst-python.doap:
* meson.build:
Release 1.17.90
2020-08-14 19:43:41 -0400 Thibault Saunier <tsaunier@igalia.com>
* gi/overrides/Gst.py:
overrides: Fix buffer API break
When introducing zero copy buffers/memory mapping we broke the API,
this brings back the exact same API as before for all the previously
handled cases but still raises an exception when using a context
to map buffers.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/40
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/39>
2020-05-08 22:01:50 +0100 Jose Quaresma <quaresma.jose@gmail.com>
* gi/overrides/gstmodule.c:
overrides: memory and buffer unmap code can be shared
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/35>
2020-05-08 21:25:03 +0100 Jose Quaresma <quaresma.jose@gmail.com>
* gi/overrides/gstmodule.c:
overrides: _remap: refactor to avoid memory leaks with PyObject
- unref PyObject on exit with Py_XDECREF
- better error handling
- free memory view in case of erros
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/34>
2020-06-14 16:54:28 +0100 Jose Quaresma <quaresma.jose@gmail.com>
* gi/overrides/Gst.py:
Gst.py: raise an error if we can't unmap the memory
2020-06-14 16:48:45 +0100 Jose Quaresma <quaresma.jose@gmail.com>
* gi/overrides/Gst.py:
Gst.py: unref __parent__ on unmap otherwise it cause a memory leak
2020-06-14 16:34:50 +0100 Jose Quaresma <quaresma.jose@gmail.com>
* gi/overrides/gstmodule.c:
overrides: fix memory leak in pyg_boxed_new
pyg_boxed_new cause a memory leak if it hold a copy of the boxed wrapper and freed when the wrapper is deallocated.
use the boxed wrapper value itself and don't hold a copy of the value.
2020-07-03 02:04:10 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
Back to development
=== release 1.17.2 ===
2020-07-03 00:36:19 +0100 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* gst-python.doap:
* meson.build:
Release 1.17.2
2020-06-20 00:28:33 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
Back to development
=== release 1.17.1 ===
2020-06-19 19:26:52 +0100 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* gst-python.doap:
* meson.build:
Release 1.17.1
2020-03-16 14:04:35 -0300 Thibault Saunier <tsaunier@igalia.com>
* examples/record_sound.py:
Add an example to record audio
2019-11-13 00:52:04 +0100 Andoni Morales Alastruey <ylatuya@gmail.com>
* meson.build:
Fix configure python lib detection in macOS
pylib_loc = python.get_variable('LIBPL', '') alreay returns
the correct path for python's library dir
2020-02-26 13:53:17 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gi/overrides/gstmodule.c:
gstmodule: Fix reference counts of Py_True and Py_False
When returning those values, extensions must take a new reference.
Fixes #33
2020-01-07 18:16:51 +0530 Guillaume Desmottes <guillaume.desmottes@collabora.com>
* testsuite/cleanup.py:
testsuite: remove cleanup
It's no longer used.
2017-05-21 17:03:48 +0200 Olivier Crête <olivier.crete@collabora.com>
* testsuite/meson.build:
* testsuite/python/identity.py:
* testsuite/test_plugin.py:
test: Add test for the plugin loader
Fix #8
2017-05-21 16:56:16 +0200 Olivier Crête <olivier.crete@collabora.com>
* plugin/gstpythonplugin.c:
plugin: Also look at GST_PLUGIN_PATH_1_0
2019-12-10 16:59:16 -0300 Thibault Saunier <tsaunier@igalia.com>
* gi/overrides/gstmodule.c:
Do not declare mix declaration and code
2019-12-13 10:46:20 +0200 Sebastian Dröge <sebastian@centricular.com>
* meson.build:
Fix build with Python 3.8 by also checking for python-3.X-embed.pc
Since Python 3.8 the normal checks don't include the Python libraries
anymore and linking of the gst-python module would fail.
See also https://github.com/mesonbuild/meson/issues/5629
Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28
2019-12-11 08:14:16 -0300 Thibault Saunier <tsaunier@igalia.com>
* examples/plugins/python/py_audiotestsrc.py:
example: Use do_fill in AudioTestSrc instead of do_create
With the new mapping API we can efficiently use the ->fill vmethod
which is sensibly better.
2019-12-10 11:58:01 -0300 Thibault Saunier <tsaunier@igalia.com>
* examples/plugins/python/exampleTransform.py:
* gi/overrides/Gst.py:
* gi/overrides/gstmodule.c:
Subclass Exception for mapping and unmapping errors
And minor cleanup in the way errors are handled
2019-10-17 17:31:41 +0200 Philipp Zabel <philipp.zabel@gmail.com>
* testsuite/test_gst.py:
tests: Add buffer map/unmap tests
2019-04-05 15:58:38 +0200 Daniel Klamt <graphics@pengutronix.de>
* examples/plugins/python/exampleTransform.py:
* gi/overrides/Gst.py:
* gi/overrides/gstmodule.c:
Changes the mapinfo so that the mapped data is writable
The Problem is, that in the current state it is not easily possible to
edit the buffer data in a gstreamer python element since you get a copy
of the real buffer.
This patch overrides the mapinfo and the function generating it in a way
so that mapinfo.data is now a memoryview pointing to the real buffer.
Depending on the flags given for this buffer the memoryview is r/w.
2019-11-28 10:18:44 -0300 Thibault Saunier <tsaunier@igalia.com>
* gi/overrides/gstmodule.c:
* plugin/gstpythonplugin.c:
python: Fix type type qualifiers issues
2019-11-19 10:07:09 -0300 Thibault Saunier <tsaunier@igalia.com>
* gi/overrides/Gst.py:
* gi/overrides/gstmodule.c:
* meson.build:
Remove python2 support
We have notified application developers this would happen a long time
ago and python2 is going to be deprecated very soon now, before 1.18
is going to be released.
2019-10-14 19:08:47 +0100 Tim-Philipp Müller <tim@centricular.com>
* .gitignore:
* .gitmodules:
* Makefile.am:
* acinclude.m4:
* autogen.sh:
* common:
* configure.ac:
* env:
* gi/Makefile.am:
* gi/overrides/Makefile.am:
* old_examples/.gitignore:
* old_examples/Makefile.am:
* plugin/Makefile.am:
* pygst.py.in:
* testsuite/.gitignore:
* testsuite/Makefile.am:
Remove autotools build
2019-09-02 18:11:56 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gi/overrides/Gst.py:
overrides: fix callback setter overrides (bis)
The previous commit broke those by trying to pass weak refs
through pygobject, but we should probably have tested the elements
beyond instantiation: weakref.WeakMethod returns a callable, but
that callable when called only returns the ephemeral bound method,
which is the object we want to call, but pygobject has no support
for that.
Instead, fix the memory leaks we were going after by decoupling the
lifecycle of the callback and that of the pad, by passing functors
to pygobject.
2019-08-09 01:03:17 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gi/overrides/Gst.py:
overrides: fix callback setter overrides
Use weakref to avoid leaks, and remove refcount hack as the actual
issue has been fixed in pygobject
2019-08-07 18:23:50 -0400 Thibault Saunier <tsaunier@igalia.com>
* testsuite/python.supp:
suppr: Add a supression on wrong jump in python from fedora 30
2019-05-26 16:20:08 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* plugin/meson.build:
meson: expose plugins variable
2019-05-06 11:29:53 -0400 Thibault Saunier <tsaunier@igalia.com>
* gi/overrides/Gst.py:
* testsuite/test_gst.py:
override Element before Bin so we can access element fields of bins
And add a test
See https://gitlab.gnome.org/GNOME/pygobject/issues/325
2019-04-11 00:42:49 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gi/overrides/Gst.py:
Gst.py: add high-level helpers
2019-04-19 10:42:45 +0100 Tim-Philipp Müller <tim@centricular.com>
* RELEASE:
* configure.ac:
* meson.build:
Back to development
=== release 1.16.0 ===
2019-04-19 00:37:16 +0100 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.16.0
2019-04-11 15:00:15 -0400 Luis de Bethencourt <luisbg@amazon.com>
* TODO:
Update TODO
=== release 1.15.90 ===
2019-04-11 00:38:39 +0100 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.15.90
2019-03-04 09:15:26 +0000 Tim-Philipp Müller <tim@centricular.com>
* NEWS:
* RELEASE:
* configure.ac:
* meson.build:
Back to development
=== release 1.15.2 ===
2019-02-26 12:00:58 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.15.2
2019-01-30 15:45:21 -0300 Thibault Saunier <tsaunier@igalia.com>
* gi/overrides/Gst.py:
* gi/overrides/GstPbutils.py:
Gst.init() has to be called before GstPbutils is imported
This makes sure that we do not try to use GstPbutils before Gst is init
and in case GstPbutils is imported while Gst is not imported, use the
`GstPbutils.pb_utils_init()` function to have the oportunity to
initialize the overrides.
Not that we also introduce a `GstPbutils.init()` variant because
`GstPbutils.pb_utils_init()` is an ugly name.
2019-01-22 16:59:02 -0300 Thibault Saunier <tsaunier@igalia.com>
* meson.build:
* meson_options.txt:
meson: Re add workarounds to detect libpython path
This was removed all together in af4ade37435fcc31c8489f4d7c7496fef5f74b05
"meson: use new python module".
And add `-Dlibpython-dir` option for the cases the logic fails.
=== release 1.15.1 ===
2019-01-17 02:33:52 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.15.1
2019-01-09 11:39:19 +0100 Antonio Ospite <ao2@ao2.it>
* gi/overrides/Gst.py:
overrides: add a set_caps() method to the Pad override
The C API provides the gst_pad_set_caps() helper which makes it easier
to set caps on pads (see gst/gstcompat.h in gstreamer core).
Add such handy helper to the python bindings too.
The implementation follows as close as possible the one in gstcompat.h
with two changes:
1. the type check on the pad has been removed because self is
guaranteed to be a Gst.Pad in python.
2. the null check on the caps has been extended to be a type check.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/issues/19
2018-12-30 23:53:03 +0000 Tim-Philipp Müller <tim@centricular.com>
* autogen.sh:
autogen.sh: update to match updated common submodule
Unbreaks the autotools build and fixes #15.
2018-12-15 13:55:07 +0000 Tim-Philipp Müller <tim@centricular.com>
* testsuite/old/test-object.c:
* testsuite/old/testhelpermodule.c:
Fix indentation of .c files
Required to make gst-indent linter on CI happy.
2018-12-05 18:43:06 -0300 Thibault Saunier <tsaunier@igalia.com>
* common:
Update common submodule
2018-11-12 13:26:58 +0200 Jordan Petridis <jordan@centricular.com>
* .gitlab-ci.yml:
Add Gitlab CI configuration
This commit adds a .gitlab-ci.yml file, which uses a feature
to fetch the config from a centralized repository. The intent is
to have all the gstreamer modules use the same configuration.
The configuration is currently hosted at the gst-ci repository
under the gitlab/ci_template.yml path.
Part of https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/29
2018-11-05 05:51:05 +0000 Matthew Waters <matthew@centricular.com>
* .gitmodules:
* gst-python.doap:
Update git locations to gitlab
2018-10-31 17:02:24 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* testsuite/overrides_hack.py:
Tests: the sys.meta_path trick does not work for python2
Instead, for python2 revert to manipulating gi.overrides.__path__
2018-10-31 00:41:31 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gi/overrides/Gst.py:
* gi/overrides/meson.build:
* testsuite/Makefile.am:
* testsuite/meson.build:
* testsuite/overrides_hack.py:
Tests: refactor testing approach
Instead of fiddling with sys.path, we instead use a custom
sys.meta_path importer
2018-10-28 17:52:33 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* Makefile.am:
* meson.build:
meson: address python module port comments
2018-05-14 10:05:15 +0200 Havard Graff <havard.graff@gmail.com>
* gi/overrides/Gst.py:
* gi/overrides/meson.build:
* meson.build:
* meson_options.txt:
* plugin/meson.build:
* scripts/pythondetector:
* testsuite/meson.build:
meson: use new python module
This patch makes the tests pass running uninstalled and installed, with
python2 and python3 on linux, windows and osx.
The main gist is to use the new python-module to do the lifting done
by pythondetector, and with that add support for python2 and windows.
2018-10-28 17:51:44 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gi/Makefile.am:
* gi/overrides/Makefile.am:
automake: remove __init__.py's
2018-10-28 14:14:09 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gi/__init__.py:
* gi/overrides/__init__.py:
Remove __init__.py files
They were not installed, and were simply used for our
uninstalled setup, which we now implement differently.
2018-10-27 18:04:11 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* meson.build:
meson: add pygobject fallback
2018-07-29 20:06:09 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* examples/plugins/python/py_audiotestsrc.py:
* examples/requirements.txt:
Examples: add audiotestsrc plugin example
2018-07-29 20:00:43 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* examples/plugins/python/audioplot.py:
* examples/requirements.txt:
Examples: add audioplot plugin example
2018-07-29 19:51:34 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* examples/README.md:
* examples/plugins/python/mixer.py:
* examples/requirements.txt:
Examples: add mixer plugin example
2018-07-20 17:00:22 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* examples/dynamic_src.py:
examples: add a dynamic pipeline example
2018-07-20 15:58:35 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* examples/helloworld.py:
helloworld: fix typo
2018-03-20 08:54:24 +0100 Havard Graff <havard.graff@gmail.com>
* gi/overrides/gstmodule.c:
gstmodule: fix warning when building against python2
PyMapping_GetItemString’ discards ‘const’ qualifier from pointer target type
https://bugzilla.gnome.org/show_bug.cgi?id=796093
2018-05-01 15:01:11 +0100 Tim-Philipp Müller <tim@centricular.com>
* Makefile.am:
Fix distcheck
2018-05-01 12:08:54 +0100 Tim-Philipp Müller <tim@centricular.com>
* config.h.meson:
* meson.build:
meson: drop config.h.meson template
2018-04-25 15:11:31 -0300 Thibault Saunier <tsaunier@igalia.com>
* configure.ac:
* meson.build:
Bump pygobject dependency to 3.8
2018-04-25 19:47:19 +0200 Emilio Pozuelo Monfort <pochu27@gmail.com>
* gi/overrides/Gst.py:
* gi/overrides/GstPbutils.py:
overrides: use get_introspection_module
https://bugzilla.gnome.org/show_bug.cgi?id=795555
2018-04-07 21:46:07 -0300 Thibault Saunier <tsaunier@igalia.com>
* gi/overrides/Gst.py:
overrides: Fix mixup between query function and chain one
2018-04-03 13:28:16 +0100 Tim-Philipp Müller <tim@centricular.com>
* Makefile.am:
Dist autogen.sh and configure.ac
2018-03-20 10:27:38 +0000 Tim-Philipp Müller <tim@centricular.com>
* NEWS:
* RELEASE:
* configure.ac:
* meson.build:
Back to development
=== release 1.14.0 ===
2018-03-19 20:29:28 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.14.0
=== release 1.13.91 ===
2018-03-13 19:31:04 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.13.91
=== release 1.13.90 ===
2018-03-03 22:55:56 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.13.90
2018-02-23 14:40:37 +0100 Edward Hervey <edward@centricular.com>
* configure.ac:
configure.ac: Don't use runtime location of overrides by default
If someone wants to put the overrides in a non-standard location,
they can use the --with-pygi-overrides-dir option.
The default is to put them in ${pyexecdir}/gi/overrides
Fixes make distcheck
https://bugzilla.gnome.org/show_bug.cgi?id=793756
2018-02-18 10:00:48 -0500 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* Makefile.am:
* gi/Makefile.am:
* gi/overrides/Makefile.am:
* testsuite/Makefile.am:
makefiles: Add missing dist files
https://bugzilla.gnome.org/show_bug.cgi?id=793560
2018-02-22 08:05:24 -0300 Thibault Saunier <tsaunier@igalia.com>
* gi/overrides/Gst.py:
* testsuite/test_types.py:
bitmask: Do not use long() directly with python3
It doesn't exist anymore there
2017-09-24 21:43:49 -0300 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gi/overrides/Gst.py:
gi: Check Gst has not been initialized before loading bindings
It can have been initialized by some C code (in a C app with plugins
for example).
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=788088
2018-02-22 10:58:48 +0100 Sebastian Dröge <sebastian@centricular.com>
* gi/overrides/Gst.py:
* testsuite/test_types.py:
Allow Bitmask to be created from ints and longs but always store as long
We need a 64 bit integer, and previously the test failed because it was
already created from longs in various cases (e.g. when reading from a
GstStructure).
2018-02-15 19:44:33 +0000 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
* meson.build:
Back to development
2018-02-15 20:08:38 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gi/overrides/Gst.py:
overrides: accept Gst.Structure in Caps.__new__
Also rename misleading parameter (*kwargs -> *args)
https://bugzilla.gnome.org/show_bug.cgi?id=793493
=== release 1.13.1 ===
2018-02-15 17:24:36 +0000 Tim-Philipp Müller <tim@centricular.com>
* NEWS:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.13.1
2018-02-14 10:13:36 +0200 Sebastian Dröge <sebastian@centricular.com>
* plugin/gstpythonplugin.c:
Print Python version after initialization
2018-02-14 10:10:39 +0200 Sebastian Dröge <sebastian@centricular.com>
* plugin/gstpythonplugin.c:
pluginloader: Print Python library path that is tried to be loaded
2018-01-23 19:32:18 +0200 Sebastian Dröge <sebastian@centricular.com>
* Makefile.am:
* gi/Makefile.am:
* gi/overrides/Makefile.am:
* plugin/Makefile.am:
* testsuite/Makefile.am:
Ship meson build system in autotools generated tarballs
2017-08-01 09:57:57 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gi/overrides/__init__.py:
* scripts/pythondetector:
meson: Fix detection of overrides path in some cases
2017-07-29 23:05:22 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* plugin/gstpythonplugin.c:
plugin: Always initialize GIL state
gcc warns about possibly unintialized use of it
(even if it can't actually happen)
2017-07-25 16:18:26 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gi/overrides/meson.build:
* meson.build:
* scripts/pythondetector:
* testsuite/meson.build:
* testsuite/overrides_hack.py:
Fix simply running testsuite in meson
- Make sure to never have root folder in sys.path when running meson,
as pythondetector won't be able to access gi._overridesdir
- Generate a mesonconfig.py file that will be used by the testsuite to
know where meson generated files, making `python -m unittest` working.
2017-07-25 16:17:54 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gi/overrides/Gst.py:
* gi/overrides/gstmodule.c:
* testsuite/test_types.py:
Add support for Gst.Bitmask
2017-07-25 14:35:01 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* testsuite/test_types.py:
tests: Stop using deprecated assertion methods
2017-07-25 14:29:19 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* testsuite/Makefile.am:
* testsuite/meson.build:
* testsuite/test_doublerange.py:
* testsuite/test_fraction.py:
* testsuite/test_fractionrange.py:
* testsuite/test_int64range.py:
* testsuite/test_intrange.py:
* testsuite/test_types.py:
* testsuite/test_valuearray.py:
* testsuite/test_valuelist.py:
tests: Move all Fundamental types tests in a file
No reason to have one file per type and it makes it more complicated
to handle.
2017-07-25 13:00:08 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gi/overrides/Gst.py:
structure: Add a .keys() method and implement __str__
We are making it behave like a dict, so we should provide the
same kind of utilities.
2017-07-24 17:06:06 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gi/overrides/Gst.py:
* gi/overrides/gstmodule.c:
Return a Gst.*Range instead of a python range converting from GValue to python
Otherwise we lose the information about what type of range it is, which
is mandatory, especially when dealing with Structure and Caps.
2017-07-24 12:13:13 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gi/overrides/Gst.py:
* testsuite/test_gst.py:
structures: Override __new__ to make it more pythonic
2017-05-21 18:06:25 +0200 Olivier Crête <olivier.crete@collabora.com>
* gi/overrides/Gst.py:
* testsuite/test_int64range.py:
* testsuite/test_intrange.py:
overrides: Remove IntRange And Int64Range on Python2
They use the range() built-in type which is a Python 3 change.
https://bugzilla.gnome.org/show_bug.cgi?id=782927
2017-05-21 13:16:02 +0200 Olivier Crête <olivier.crete@collabora.com>
* plugin/Makefile.am:
* plugin/meson.build:
pythonplugin: Rename plugin file to match plugin name
This is required by the new loader macro.
2017-05-04 19:00:37 +0300 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
* meson.build:
Back to development
=== release 1.12.0 ===
2017-05-04 15:40:29 +0300 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.12.0
=== release 1.11.91 ===
2017-04-27 17:37:36 +0300 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.11.91
=== release 1.11.90 ===
2017-04-07 16:35:42 +0300 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
* meson.build:
Release 1.11.90
2017-03-27 14:59:24 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* gi/overrides/gstmodule.c:
* testsuite/test_valuearray.py:
* testsuite/test_valuelist.py:
array/list: Make gvalue conversion symmetric
This is needed to support matrix. Otherwise, getting
a matrix would remove the rows envelopess, which would
make the "cast" fails, since it would not know if the
internal rows are ValueArray or ValueList. I think reading,
modifying and setting back the matrix is an important use
case.
2017-03-27 14:52:24 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* gi/overrides/gstmodule.c:
gstmodule: Factor out gst type creation
This reduces a lot the boiler plate all over. At the same
time, use N instead of O when passing PyObject to fix
the objects leaks.
2017-03-24 13:28:35 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* .gitignore:
Add /build and install to the gitignore
2017-03-23 12:21:32 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* gi/overrides/Gst.py:
* gi/overrides/gstmodule.c:
* testsuite/Makefile.am:
* testsuite/common.py:
* testsuite/meson.build:
* testsuite/test_doublerange.py:
* testsuite/test_fraction.py:
* testsuite/test_fractionrange.py:
* testsuite/test_int64range.py:
* testsuite/test_intrange.py:
* testsuite/test_valuearray.py:
* testsuite/test_valuelist.py:
overrides: Add more GstValue overrides
This patch adds overrides to support IntRange, Int64Range, DoubleRange,
FractionRange, Array and List. For integer ranges, it maps this
to python 'range'. Gst.IntRange() and Gst.Int64Range() are simple cast
to let the underlying code know which GType to use. To set such range in
python you will do:
structure["range"] = Gst.IntRange(range(0,10,2)))
Same for the 64 bit variant. And when you do:
r = structure.get_value("range")
A range will be returned directly, without the wrapper. For DoubleRange
and FractionRange, there is no native support in python. So the usage
will be:
structure["range"] = Gst.DoubleRange(0,10.0)
structure["range"] =
Gst.FractionRange(Gst.Fraction(1/30), Gst.Fraction(1/5)
When getting this value, Gst.DoubleRange and Gst.FractionRange class are
returned. They both have start/stop members. The naming was taken from
range type.
For Array and List, both uses the native list type, though they can be
constructed from any python sequence. So again, the class is just like
a cast, to let it pick the right GType and python list are being
returned.
structure["list"] = Gst.ValueList([1,2,3,4])
structure["array"] = Gst.ValueArray([1,2,3,4)
Using string and tuple could also work. Since Gst.ValueList/Array are
sequence, you can convert one to the other with:
list = Gst.ValueList([1,2,3,4])
array = Gst.ValueArray (list)
https://bugzilla.gnome.org/show_bug.cgi?id=753754
2017-03-23 12:09:05 -0300 Thibault Saunier <thibault.saunier@osg.samsung.com>
* meson.build:
* scripts/pythondetector:
meson: Install in gi._overidesdir only if we are installing in right prefix
And make sure python detector did not fail
https://bugzilla.gnome.org/show_bug.cgi?id=780369
2017-02-24 16:01:39 +0200 Sebastian Dröge <sebastian@centricular.com>
* meson.build:
meson: Update version
2017-02-24 15:38:09 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.11.2 ===
2017-02-24 15:09:54 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
Release 1.11.2
2017-02-24 12:08:48 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
2017-02-21 22:02:14 +1100 Jan Schmidt <jan@centricular.com>
* examples/helloworld.py:
Port old helloworld.py example to GI
2017-02-15 10:48:58 -0300 Thibault Saunier <thibault.saunier@osg.samsung.com>
* meson.build:
* meson_options.txt:
python: Add an option to set where to install pygi overrides
2017-01-13 12:51:11 +0000 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: bump version and bump meson requirement
Adjust meson requirement to same as used in other modules.
=== release 1.11.1 ===
2017-01-12 16:15:50 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-python.doap:
Release 1.11.1
2016-12-16 17:43:11 +0000 Tim-Philipp Müller <tim@centricular.com>
* .gitignore:
* gst-python.spec.in:
Remove bitrotten and unused gst-python.spec.in file
2016-11-26 11:28:30 +0000 Tim-Philipp Müller <tim@centricular.com>
* .gitmodules:
common: use https protocol for common submodule
https://bugzilla.gnome.org/show_bug.cgi?id=775110
2016-11-03 11:49:15 -0300 Thibault Saunier <thibault.saunier@osg.samsung.com>
* testsuite/overrides_hack.py: