-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathWHATSNEW
2502 lines (1880 loc) · 84.3 KB
/
WHATSNEW
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
# This is a list of changes in pygame's history.
#
# SVN revision numbers, and CVS tag names are placed before the date
# BREAK = change breaks existing code
# BUG = fixed a bug that was (or could have been) crashing
[HG 3623:096eec484a72] Jan 08, 2017
Build newer versions of libogg and libvorbis into Linux base images
[HG 3619:48b78eed3d5d] Jan 01, 2017
Add Python 3.6 to Appveyor build
[HG 3618:8316c8995b14] Jan 01, 2017
Add Python 3.6 for manylinux build
[HG 3617:d9be8e370bc3] Dec 29, 2017
Add Python 3.6 (Linux) on Travis
[HG 3615:a7661dbc576c] Dec 18, 2017
Include version.py.in in sdist
[HG 3578:2b59043d4151] Aug 05, 2016
Manylinux wheel support. Binary wheels for linux.
[HG 3548:2cee182f6ccf] Jul 21, 2016
Travisci config for OSX binary wheel building.
[HG 3545:197a07b9fe49] Jul 14, 2016
Slow down the liquid example a bit
Minor fixes for glcube example
[HG 3542:7b2c232deee4] Jul 10, 2016
Remove test for font object state after re-initing with nonexistant path.
[HG 3540:287b8ed256bb] Jul 01, 2016
Open files using unicode paths on Windows
[HG 3539:518bc4de88a6] Jul 01, 2016
Use filesystem encoding rather to decode paths rather than unicode_escape codec
[HG 3537:8daaa6846e73] Jun 13, 2016
Allow for portmidi library to contain porttime, as on Fedora.
[HG 3536:594db78c15c8] Jun 01, 2016
Only disable optimisations for msvc14
[HG 3535:76a2ed848073] Jun 01, 2016
Try disabling optimisations for average_color function
[HG 3522:a456af4b268f] Jun 01, 2016
Update appveyor link and badges in readme.rst
[HG 3521:b6f7d0ebcc43] May 31, 2016
appveyor.yml edited online with Bitbucket
[HG 3520:345a411689f6] May 31, 2016
Appveyor building of windows binary wheels.
[HG 3497:52d5f9fca5d7] Sep 18, 2012
Ensure local directories are specified last for precedence for Unix
[HG 3496:575c7a74d85a] May 17, 2016
Fix some command line option handling
Tidy up command line options for tests
Clean up some code we're no longer using
Restore non-zero exit code when tests fail
Remove unused test_not_implemented function
Remove pygame's copy of unittest, and monkeypatches for unittest
Use standard Python unittest module
Show end of failing test runner output as well as beginning
[HG 3485:fba8622a39e8] May 17, 2016
Remove the very ancient numeric(pre numpy) support.
[HG 3480:723e04797af4] Jun 07, 2014
fastevent corrected lock protection of all condition signaling
[HG 3477:b5aaa063a03e] May 06, 2016
Exit with status 1 if sdl-config missing
[HG 3476:f5c0e59c3397] May 06, 2016
Merge with avoid-internal-unittest
[HG 3475:e926bc8c7d0e] May 06, 2016
Run the tests in a temporary working directory rather than the pygame package
Use correct import name of test runner module when installed
Run the subprocess test_runner by module name
[HG 3471:60c959451153] Mar 05, 2016
Pull out ffmpeg and smpeg dependencies
[HG 3469:58f7736edf45] Dec 16, 2014
Update docs with link to PEP 0440 version scheme standard.
[HG 3464:5b28fbd5f717] May 05, 2016
Remove some references to numeric in overview docs
Remove numeric from array tests
Remove some more miscellaneous references to Numeric
Remove _numericsurfarray
Remove _numericsndarray
[HG 3458:a46c0aeb905f] May 05, 2016
Setup/configure shouldn't prompt for input when non-interactive
[HG 3456:a2d31e438e70] Dec 20, 2014
Use stdlib assertAlmostEqual instead of numpy's assert_almost_equal
[HG 3455:e84e36098779] May 05, 2016
Add Python 3.5 to Travis
[HG 3453:744e582a4ec2] Dec 16, 2014
On Travis-CI build for Python 2.7 and Python 3.4.
[HG 3452:6ae6738583ba] May 04, 2016
Check lowercased fs encoding against lowercase constant
[HG 3450:28ddc7a3196a] Mar 05, 2016
Allow running tests on Python 3.5
[HG 3449:d61ea8eabd56] Dec 05, 2015
BUG: PixelArray memory leak when using multiple indexes
[HG 3448:ba6678fd5412] Nov 28, 2015
For Surface, Rect, and Color types, resolve Issue #280
[HG 3447:9e734fb59d01] Nov 28, 2015
BUG: pygame.Color('white') % pygame.Color('black') halts Python
[HG 3445:5525f3e30956] Nov 25, 2015
Resolve Issue For Python 3.4, Color arithmetic does not argument type checking
[HG 3444:96203be1d815] Nov 24, 2015
BUG: some_Rect.unionall_ip( [] ) returns a new Rect instead of None
[HG 3443:cdb77d20ee8e] Nov 11, 2015
pygame.scrap on X11, fix copying into PRIMARY selection
[HG 3442:30ee31659166] Oct 24, 2015
Weird English in colour key description
[HG 3441:69f8bb62b679] Oct 24, 2015
PyColor OverflowError on HSVA with hue value of 360
[HG 3440:572050f55835] Oct 22, 2015
on launchpad, getfilesystemencoding returns 'ANSI_X3.4-1968'.
[HG 3439:d5552c9d653d] Sep 27, 2015
Added a build badge for launchpad.
[HG 3438:8bdcd449963f] Sep 11, 2015
Correct AppVeyor build badge.
[HG 3436:92167dd513cd] Sep 11, 2015
Adding pypi, and python2 + 3 badges to readme.
[HG 3434:de10e1f00edc] Sep 10, 2015
Move the prebuilt build tools to their own pygame/build-external-dlls project
[HG 3433:ea3b3bb8714a] Sep 07, 2015
remove some overlooked movie files
[HG 3432:01a14aca0cf0] Sep 07, 2015
fix minor doc issues for playmus.py
[HG 3431:f6f0834fd480] Sep 07, 2015
Add a music player example that used pygame.mixer.music
[HG 3430:951fa2b681ce] Sep 07, 2015
Add a machine the suffix to the Windows prebuilt directory
[HG 3429:b41bf2d9da56] Sep 07, 2015
Fix a Python 2/3 compatibility problem in a font_text.py unit test
[HG 3428:e6b39ce99474] Sep 07, 2015
Remove (FILE *) sharing between rwobject C module and external libraries
[HG 3427:d4ff4b9179f9] Sep 05, 2015
Link the travisci build badge to the build page.
[HG 3425:faa5879a7e6b] Jul 19, 2015
Warn developers about automatic window stretching. Close issue #245.
[HG 3424:e01d70daadb9] Jul 04, 2015
Do some freetype module cleanup.
[HG 3423:6bd96b0a1b25] Jul 04, 2015
Remove two overlooked old doc pages
[HG 3422:8b608af0f35d] Jul 03, 2015
Clarify documentation for a full SDL event queue: resolve Issue #168
[HG 3421:e6a646891264] Jul 02, 2015
Remove Pygame's neglected, and broken, movie support: resolve Issue #238
[HG 3420:db0804838ff0] Jun 29, 2015
Expand the docs for pygame.music.mixer.set_pos(): Resolve Issue #241
[HG 3419:b0117d331d33] Jun 26, 2015
Fix Issue #246: Surface test fails on x86_64 Ubuntu
[HG 3418:5b80352ee412] Jun 26, 2015
Reformat PySurface_Blit in surface.c debugging Issue #246
[HG 3417:751b612df1d1] Jun 21, 2015
Fix a new buffer bug in the mixer module
[HG 3416:5974ff8dae3c] May 02, 2015
Fix bug where pygame.color fails the unit test for x86-32 Linux
[HG 3415:9ac6c2d577fc] May 02, 2015
Fix a bug in sysfont.py exposed by commit ae2e36d
[HG 3414:dc57da440ac3] Apr 30, 2015
Decapitate zombie bug 52 (Motherhampster Bugzilla)
[HG 3413:c95e75c79e21] Apr 29, 2015
A possible solution to Issue #131
[HG 3412:ae2e36dc3f4c] Apr 27, 2015
Removed hard-coded font lists. They're not necessary,
and updating them every time that a new OS is released would be a burden.
Now, sysfont will depend on the registry (on Windows) or X11 fc-list (on any other OS)
to generate a system's font list.
[HG 3411:7b227f4892f2] Apr 23, 2015
Reindent alphablit.c
[HG 3410:c080fc971853] Apr 13, 2015
Close Issue #243, For a string with trailing spaces, freetype ignores the last space in boundary calculations
[HG 3409:1418130101df] Apr 10, 2015
Close Issue #237, Memory overrun when text without descenders is rendered with underlining
[HG 3408:128931b1d70f] Apr 07, 2015
Close Issue #242, freetype.Font.get_rect() ignores style defaults when the style argument is not given
[HG 3403:db5966ca2b4d] Feb 15, 2015
Process lib/__init__.py with autopep8.
[HG 3402:78fa571425e3] Feb 14, 2015
Replace try...except blocks with if...else blocks in lib/compat.py because they execute slightly more quickly.
[HG 3400:21d229a4c181] Feb 07, 2015
remove some gcc 4.8.2 compiler warnings for imageext.c
[HG 3399:3b3ba7749842] Jan 18, 2015
Close Issue #165, ResourceWarning: unclosed file for pygame_icon.bmp
[HG 3398:727f7033ffe6] Jan 11, 2015
Close Issue #186, Test_freetype_Font_get_rect fails with freetype-2.5.1
[HG 3397:ab487ab966a4] Jan 11, 2015
Make the pygame.freetype.init() cache_size argument actually work
[HG 3396:5f22727d07e6] Jan 11, 2015
pygame.freetype.init() would crash on error
[HG 3395:7213968d5e81] Dec 31, 2014
A fix for Issue 187: Pygame.tests.freetype_test segfaults on Python 3.4b1
[HG 3393:b26e6d95fe72] Dec 29, 2014
Fix bug where PyBuffer_Release is called after a Python error is raised
[HG 3392:b7609599015d] Dec 28, 2014
Include gcc libaries in the Pygame Windows install
[HG 3390:9260d857774e] Dec 27, 2014
Color masks in jpeg save code on big endian fixed. Applies to issue #221;
[HG 3389:e6407e81be55] Dec 23, 2014
Reconfigure the msys_build_deps.py build chain to link only to msvcrt.dll
[HG 3388:08c495db0c53] Dec 22, 2014
Remove cross library FILE * dependencies in imageext.c
[HG 3386:da5514cb5675] Dec 16, 2014
Fix for issue #230. Skip test_image_convert_bug_131 for headless tests.
[HG 3384:b08471ecc2a0] Dec 15, 2014
Fix for issue 226, FontTest.test_render_args unit test fails on headless machine
[HG 3382:64f9038c292d] Dec 17, 2014
Use UTF-8 filenames on Linux systems claiming that the filesystem encoding is
[HG 3379:04d8563ce724] Dec 14, 2014
Fix issue 227. test_array_keyword in mixer_test.py fails when using disk as audio driver
[HG 3376:f92be56108cb] Dec 14, 2014
Fix issue 225. test_set_grab_and_get_symmetric unit test fails on automated build bot without a display
[HG 3371:8a7a6ce2a852] Dec 15, 2014
Update to only skip tests if we have a dummy video driver.
[HG 3370:676f8d6cbb8a] Dec 15, 2014
Conditionally skip Freetype tests using subprocess_ignore
[HG 3362:ca4834ff9372] Apr 22, 2014
Bug fix: Red and green channels inversion on AMD 64 (see issue #39).
[HG 3361:e3ae850caa1e] Nov 03, 2014
fix issue 214, math.Vector2.rotate fails on certain inputs
[HG 3353:567f3cc4f554] Sep 09, 2014
Pre-declare src/dstdiff64 variables--otherwise this module fails to compile using C90 mode in gcc
[HG 3350:fd200cdb6897] Oct 12, 2014
Fix draw↔blit typo in the example code in MoveIt tutorial
[HG 3349:823708f24a3a] Apr 28, 2014
Fix testcase failure when using Python's unittest module.
[HG 3346:78ee68c7ede6] Jan 31, 2014
Fixes to always compile SCRAP on MacOSX.
[HG 3345:ee208d86eb98] Jan 23, 2014
For issue #165, on quit tell it that the icon has not been set.
[HG 3344:cd66fb7efeec] Jan 23, 2014
Added unit tests for pygame.math inplace operators. Fixes #172
[HG 3343:32919bdd25e9] Jan 22, 2014
Catch NotImplementedError when pkg_resources fails.. Fixes #184
[HG 3342:6adea40ae4f7] Jan 21, 2014
Fix typo in doc index: closes issue #190
[HG 3341:4ed9cb765867] Jan 16, 2014
A fix for the SysFont hang on OS X 10.9 mentioned in issue #179
[HG 3340:90f8019b31d2] Nov 08, 2013
Add a pygame.freetype module code point unit test (closes Issue #75)
[HG 3339:46ed0161021c] Nov 08, 2013
Finish freetype module doc page (towards Issue #75)
[HG 3338:3299e2cc3c4c] Nov 05, 2013
fix problem in PixelArray with sequence item access
[HG 3337:b59ccbbd4586] Nov 01, 2013
For BufferProxy old buffer support, handle (void *) better.
[HG 3336:56e0eadfc267] Oct 28, 2013
Bug fix: Segfault on surface.get_bounding_rect(). Closes Issue #180
[HG 3335:c80631c9c518] Oct 26, 2013
_freetype.c msvc compatibility for Issue #181
[HG 3334:e352941a02d1] Oct 26, 2013
add a fgcolor property to freetype.Font (towards Issue #75)
[HG 3333:e0a9058d639d] Oct 25, 2013
enable freetype.Font.get_rect() to reuse layouts with render methods (towards Issue #75)
[HG 3332:bb1dac8cba21] Oct 21, 2013
for bitmap files freetype.Font uses first available size as default (towards Issue #75)
[HG 3331:3c84a0ef193a] Oct 20, 2013
Use real fixed width font in test_freetype_Font_init (towards issue #75)
[HG 3330:2e27cc842430] Oct 20, 2013
enable ucs4 unit tests for freetype.Font.get_rect() (towards Issue #75)
[HG 3329:96fe757a54ce] Oct 20, 2013
allow (width, height) freetype.Font size values (towards Issue #75)
[HG 3328:054dbe9b0457] Oct 20, 2013
handle size errors consistently for freetype.Font sized methods (toward Issue #75)
[HG 3327:2bf12751af9c] Oct 19, 2013
changeset d2feb84c6b76 broke freetype_misc.py example, fix
[HG 3326:419b0740d3df] Oct 18, 2013
error check pygame.freetype.Font scalable font properties (toward Issue #75)
[HG 3325:25010374a4e4] Oct 17, 2013
SDL_SOUNDFONTS handling in base_test.py
[HG 3324:d2feb84c6b76] Oct 17, 2013
improve pygame.freetype.Font text rotation handling (towards Issue #75)
[HG 3323:b0f518dee138] Oct 17, 2013
improve pygame.freetype.Font font size handling (towards Issue #75)
[HG 3322:8f252e8487ca] Oct 16, 2013
reduce pygame.freetype.Font.__init__ args (towards Issue #75)
[HG 3321:0d2fb51b889b] Oct 15, 2013
add use_bitmap_strike property to pygame.freetype.Font (towards Issue #75)
[HG 3320:2aa48db2cbcf] Oct 14, 2013
add bitmap size introspection to pygame.freetype.Font (toward Issue #75)
[HG 3319:4459d217993f] Oct 11, 2013
some small document changes
[HG 3318:9fd0e65e51c0] Oct 10, 2013
make setup.py work with Python 2.5 (again)
[HG 3317:d739db5c3152] Oct 10, 2013
Make hg ignore /docs/_images
[HG 3316:642e892bffeb] Oct 10, 2013
Add hg identifier to MSI installer filename
[HG 3315:ea8244e1ad8f] Oct 10, 2013
Automatically generate the version module with setup.py
[HG 3314:a6f89747b551] Oct 09, 2013
Remove some gcc compiler warnings for freetype module
[HG 3313:1750c209cb17] Oct 09, 2013
Fix reference counting problems with array interface
[HG 3312:1092594179b4] Oct 06, 2013
Fix some CPyChecker warnings for pixelcopy (toward issue #171)
[HG 3311:91ac7a674af5] Oct 06, 2013
Fix some CPyChecker warnings for pixelarray (toward issue #171)
[HG 3310:9e222e19d04f] Oct 03, 2013
Start of 1.9.2 alpha releases
[HG 3309:6edd09029351] Oct 02, 2013
Fix some CPyChecker detected bugs in imageext.c and font.c
[HG 3308:12de2da43ecb] Sep 30, 2013
Better document EventType properties: closes issue #166
[HG 3307:bf49fd02a920] Sep 28, 2013
Font issue for mac on PPC, Address issue #177 (untested)
[HG 3306:c4a65a9b8049] Sep 26, 2013
merge in Mac specific fixes
[HG 3304:1e135264f0ab, 3303:9ccc6160cc6d, 3302:b51cd33153a7] Sep 20, 2013
Fix bug introduced into little-endian code in changeset b51cd33153a7
Big-endian fixes to pygame.PixelArray
Big-endian fixes for pygame.Surface
[HG 3301:c86a02a3a516] Sep 16, 2013
Some big-endian fixes (ppc)
[HG 3300:f97ba2662193] Sep 10, 2013
Add c_ssize_t to ctypes module if not already present
[HG 3299:82f658d7596b] Sep 26, 2013
Another bug fix towards issue #175
[HG 3298:746036fc6f60] Sep 26, 2013
Fix bug in PyPixelArray tp_new function where weakrefs C field is clobbered
[HG 3297:610dbf3cd11d] Sep 21, 2013
Possible fix for issue #175, uncomfirmed
[HG 3296:8c69d1a163a5] Sep 21, 2013
Bug fix of pygame.PixelArray involving returned repr string
[HG 3295:b6e948d2e8e3] Sep 10, 2013
Make the Surface.get_at_mapped method value consistent with Surface.map_rgb
[HG 3294:e5f2ccbf7965, 3293:9cac2ec83346] Sep 10, 2013
Fix for font error on x86_64
[HG 3292:851743cb4c5a] Aug 19, 2013
Fix memory overrun bug with pygame.freetype.render_raw()
[HG 3291:35b62579fd70] Aug 13, 2013
A patch for issue #172 from Lorenz Quack for inplace operators in Math.Vector2.
[HG 3290:62f61425b394] Jul 28, 2013
Fix pygame.pixelcopy function problems with big-endian processors
[HG 3289:c780a5d7db49] Jul 28, 2013
Allow switching the byte order of a Python int to big or little endian
[HG 3288:927d431d16fc] Jul 28, 2013
Add an Array test type to pygame.tests.test_utils.arrinter
[HG 3286:52175e810e1c] Jul 13, 2013
Bring in corrections to assert statements
[HG 3285:ac4f6f62660e] Jul 10, 2013
Correct faulty assertions added to the C code in changeset 67f1c85 and later
[HG 3284:9b8c3950b131] Jul 10, 2013
Tiny typo fix for weird endian machines.
[HG 3283:11e8afc09495] Jul 02, 2013
Refactor the casting between the C (Py_buffer *) and (Pg_buffer *) types
[HG 3282:5e00ad848732] Jul 02, 2013
Remove unused Pg_buffer_d typedef
[HG 3281:23f848d95c8b] Jun 29, 2013
Clean up white space in C source files
[HG 3280:8610c95e23e2] Jun 28, 2013
Add class pygame.BufferProxy to Pygame's public Python API
[HG 3279:5435417840f7] Jun 15, 2013
Restore the Surface.get_view() method
[HG 3278:0cac3d110a96] Jun 14, 2013
fix a new buffer format bug involving an item count of 1: Part 2
[HG 3277:0a029b48c303] Jun 14, 2013
Extend buftools.Exporter to allow an arbitrary format when an itemsize is given
[HG 3276:e452a8d244b9] Jun 14, 2013
Enhance buftools.Exporter to support negative strides
[HG 3275:888562b53dfa] Jun 12, 2013
replace another ambiguous switch statement default clause
[HG 3274:35c6f1cb33b5] Jun 11, 2013
replace ambiguous switch statement default clauses with specific comments
[HG 3273:9b76f5fe1984] Jun 11, 2013
Fix Python 3.x compatibility issue introduced in changeset f7a9049e3b31
[HG 3272:f7a9049e3b31] Jun 08, 2013
Fix handling of new buffer format verification in base.c
[HG 3271:8e732f6e912d] Jun 08, 2013
verify pygame.tests.test_utils.buftools.Exporter supports boolean arrays
[HG 3270:0ecf23052547] Jun 08, 2013
fix a new buffer format bug involving an item count of 1
[HG 962e528796ab] May 26, 2013
Add full Python new buffer protocol support to Pygame 1.9.2. In addition
Python level array interface support is added to several Pygame objects
and function. This changeset marks the end of a series of commits,
starting with revision 98e3a61592c1 on September 8, 2012.
Affected Pygame buffer exporting objects are BufferProxy, Surface
(through method get_buffer), Sound, PixelArray, and Color. Affected
importers are Sound, freetype.Font, BufferProxy, and the
pixelcopy module functions (array_to_surface, surface_to_array, map_array,
and make_surface).
Internally, Pygame has been rewritten to use the C Py_buffer to represent
external array objects. For Python 2.5 and earlier, which do not support
the new buffer protocol, Py_buffer is defined in pygame.h. The details
of translating between Py_buffer and the array interface are now found
in only on C file, base.c. Consequently, the base module exports several new
Pygame C api functions and a new exception: PgBuffer_AsArrayInterface,
PgBuffer_AsArrayStruct, PgObject_GetBuffer, PgBuffer_Release,
PgDict_AsBuffer, and PgExc_BufferError. These api additions also reduce
the amount of conditional compilation code required to support Python
versions which lack the new buffer protocol.
Finally, for proper testing, additions are made to the unit test framework.
A new extension module, pygame.newbuffer, adds new classes for importing
and exporting the new buffer interface at the Python level. It is built
conditionally. The new pygame.tests.test_utils.buftools Python module
implements the high level classes used in the actual unit tests. Also,
a new class in pygame.tests.test_utils.arrinter exports a C level
array interface from the Python level.
[SVN 3062] Mar 30, 2011
Port scrap module to Python 3.x (merge with branches/port_scrap_py3).
Accidently committed in rev 3061.
[SVN 3057-3061]
Update Pygame Event type to have mutable attributes as per feature request
62 on Motherhamster's Bugzilla
[SVN 3006] Feb 24, 2011
[BUG] Fix hanging pointer problem in color.c.
Add deprecation warning for Numeric in surfarray and sndarray.
[SVN 3003-3005] Feb 21-24, 2011
Enhance array support in pixelcopy methods. map_array now accepts
a three byte integer for target array. Surface.get_view now
allows a 2D view for 24 bitsized arrays, even though not accepted
by numpy. Color objects now export an array struct interface.
Various bug fixes for Python 3.1.
[SVN 3000-3002] Feb 20, 2011
Merge the surface_buffer branch back into trunk.
1) Rename module _arraysurfarray to pixelcopy, which implements
array_to_surface (blit_surface), surface_to_array, and map_array.
2) Reimplement _numpysurfarray methods array2d, array3d, array_alpha,
array_colorkey, and map_surface to use new pixelcopy methods.
Module pixelcopy reimplements _numericsurfarray using generic
copy methods that accept objects exporting an array struct interface.
Along with Surface views, it moves almost all of the _numpysurfarray.py
functionality into C code. pixelcopy is also independent of NumPy,
so can work with other array like objects.
[SVN 2983-2987] Feb 08, 2011
Merge the buffer branch back into trunk.
1) Extend pygame.mixer.Sound() to load samples from an object with
an array struct interface or the new buffer protocol. Exports
an array struct interface.
2) Update sndarray to use the new Sound features on numpy arrays,
removing the Python array manipulation code.
3) Add a new Type, pygame._view.View as a proxy for exporting an
array struct interface.
4) Add the pygame.Surface.get_view() method, which returns a View instance.
Besides creating views describing pixel2d, pixels3d, and pixels_alpha
arrays, new pixels_red, pixels_green, and pixels_blue views have been
added.
5) Update the pixels surfarray methods to use Surface.get_view() for
numpy arrays, removing the Python array manipulation code. Add new
methods returning red, green, and blue pixels arrays.
[SVN 2977] Feb 06, 2011
Add Python 3.2 __pycache__ directories to ignore list.
[SVN 2958] Jan 19, 2011
Add proof-of-concept pygame.freetype.render_raw method to show one way to
correctly calculate text size.
[SVN 2957] Jan 14, 2011
Fix freetype.c build bug involving PyFREETYPE_C_API not defined.
[SVN 2952-2954] Jan 05, 2011
[bug] GroupSingle memory leak posted in mailing list by Tobias Steinrücken.
[SVN 2951] Nov 14, 2010
Reenable the camera module for linux.
[SVN 2936, 2938, 2944] Sep 28, 2010
Pygame now builds for Python 3.2. Capsule objects are used in preference
to CObject objects.
[SVN 2937] September 23, 2010
[BUG] Bugzilla 54: pygame.examples.movieplayer causes
"PyThreadState_Get: no current thread".
Movie module now works under Python 3.2.
[SVN 2934] September 16, 2010
[BUG] Fix some MSVC warnings in hope of solving an error raised in font_test.py.
[SVN 2923] September 16, 2010
[BUG] Fix error in movie.c that prevents MSVC from compiling the module.
[SVN 2922] September 15, 2010
[BUG] Mac builds fail: maybe using older versions of SDL_ttf or
SDL_mixer. Restore version conditional code in font and music modules.
[SVN 2921] September 15, 2010
Merge fsencoding branch back into trunk. This adds corrected Unicode file path
handling to Pygame. File paths can contain any UTF-32 character, except \x00,
provided the file system encoding can handle it. It is also one more step
towards a full Python 3.1 port of Pygame.
[SVN 2914, 2916] September 15, 2010
Preparation for merge with fsencoding branch
[SVN 2900-2910] August 31-September 11, 2010
Preparations to freetype for release:
- fix a bug with base.register_quit import that kept freetype
from loading
- improve Unicode handling so can handle all UTF-32 characters
- enable encode_raw Font method
- import exception messages
- add missing error checks of memory allocations
- attempt to fix text boundary calculation bug that causes
memory access violations in some cases. Unfinished.
[SVN 2897] August 30, 2010
update docs to reflect changes in r2855
[SVN 2858] August 18, 2010
Remove distracting '"_POSIX_C_SOURCE" redefined' GCC warnings from linux builds.
[SVN 2857] August 17, 2010
[BUG] fix rwobject memory leak when raising a memory error
[SVN 2856] August 15, 2010
font.c, rwobject.c, font_test.py: Update/correct Python3 svn property
to better reflect Python 3.1 compatibility
[SVN 2855] August 15, 2010
font module: improve unicode text handling: can now render Unicode
characters up to U+FFFF.
[SVN 2854] August 9, 2010
remove distracting "'PyGAME_C_API' defined but not used" gcc warnings
from Pygame build
[SVN 2853] August 9, 2010
mixer.Sound: fix spelling error in an error message and add no-arguments
check to the unit tests
[SVN 2852] August 9, 2010
[BUG] mixer.c: move a variable declaration to the beginning of a block
to keep MSVC happy
[SVN 2851] August 9, 2010
add keyword arguments to mixer.Sound and improve Unicode strings/
Python 3.x bytes handling
[SVN 2850] August 9, 2010
make _movie module unit tests conditional on the presence of the module.
[SVN 2849] August 8, 2010
compat.py: add more Python 3.x compatibility features; add unit tests
[SVN 2848] August 8, 2010
allow RWopsFromPython to accept a Python 3.x bytes object as a file path
(for compatibilty with open())
[SVN 2847] August 8, 2010
[BUG] Font loading from file object patch, and test. Thanks Janosch Graf
[SVN 2828-2845] July 10-28, 2010
Update Windows dependency build chain to build the latest versions of the libraries.
Uses MinGW gcc 4.5.0 and Msys 1.0.11. Dependencies can now be built with Python 3.1.
[SVN 2824-2825] June 9-10, 2010
Update ffmpeg building with msys on Windows.
[SVN 2824] June 9, 2010
[BUG] Undo bug introduced into Setup.in for ffmpeg
[SVN 2823] June 9, 2010
[BUG] Fix missing Windows drive in docs.__main__.py
[SVN 2822] June 9, 2010
Update Windows dependencies build for MinGW GCC 4.5.0.
Some newer dependency libraries are used, notably SDL-1.2.14,
and the addition of FFMPEG has been completed. This update leaves
msys_build_deps.py in a working, but transitional, state.
[SVN 2816] June 3, 2010
[BUG] docs.__main__: Fix problem with spaces in Windows directory names.
[SVN 2815] May 31, 2010
[BUG] Fix a _movie module bug where the module fails to build under Debian Linux
because the libavformat and libswscale header subdirectories are in ffmpeg.
The changes makes the module's ffmpeg includes consistent with ffmpeg itself.
[SVN 2810] May 24, 2010
[BUG] Let mixer.music.play accept keyword arguments
[SVN 2809] May 24, 2010
[BUG] Add set_pos method to pygame.music.mixer that calls Mix_SetMusicPosition
SDL_mixer function. As per the feature request by Mark Reed on the
mailing list (16/05/10).
[SVN 2808] May 24, 2010
[BUG] Fixes bug in pygame.draw.line where the wrong rectangle was returned
for a line with width > 1 and the end point y value less than the
start point y value. Identified by Aaron Brady on mailing list, 10/10/09.
[SVN 2573] August 6, 2009
[BUG] missing readme.html in MANIFEST.in causes install to fail
on pythons with setuptools installed.
[SVN 2519] July 17, 2009
[BUG] fix pygame.font.get_fonts() bug for Python 3.1 and Windows.
[SVN 2517-2518] July 17, 2009
[BUG] unit test framework fails for Python 3.1 on Windows due
to str/bytes confusion
[SVN 2516] July 16, 2009
Pygame dependency build now replaces the configure
generated SDL_config.py, which MSVC can not use, with
SDL_config_win32.py
[SVN 2515] July 15, 2009
[BUG] surface docs typo patch submitted by Lorenz Quack
[SVN 2503-2505] July 13, 2009
[BUG] bugzilla 29, patch to use SDL_VIDEO_DRIVER_X11 DISABLE_X11. Thanks Robert A. Lerche.
So can compile pygame without X11 again.
[BUG] fixed bad midi test.
[BUG] pygame.gfxdraw docstrings were not there. Now... they... are.
[SVN 2491-2495] July 9, 2009
[BUG] Fixed up quit bug in eventlist.py example. Thanks Evan Kroske!
[BUG] Made the test code more compatible with python2.3.
[BUG] python3.1 support for OSX.
[SVN 2486-2488] July 8, 2009
[BUG] 64bit issues with Surface.get_masks and UintFromObj.
thanks Lorenz Quack!
[BUG] Color slicing works with python3 now too.
[SVN 2481] July 7, 2009
[BUG] typo in examples/sound_array_demos.py Thanks Evan Kroske!
[SVN 2472] July 6, 2009
[BUG]Fixed some failing tests for Color and LONG_MAX on 64bit python.
From Campbell Barton.FloatFromObj speedup.
register_quit cleanup.
PyErr_Format used in CheckSDLVersions.
[SVN 2454] July 2, 2009
[BUG] Patch to work around cpu detection bugs in SDL 64bit from Lenard.
Thanks to Lorenz for bug hunting.
[SVN 2380-2381] Jun 19, 2009
Color.set_length method... to change Color length to 1,2,3 or 4.
Surface.get_palette(_at) return Color with length 3.
[SVN 2366] Jun 17, 2009
[BUG] Memory leak in a few modules. Thanks Lorenz Quack.
[SVN 2365] Jun 16, 2009
Started to add basic slice support to Color type.
[SVN 2311] Jun 4, 2009
Fixed another Color regression... colors are now tasty again when pickled.
[SVN 2305] Jun 2, 2009
Make pygame.tests.__init__.py import __main__.py. This is done
consistently with other pygame.tests modules.
[SVN 2294-2303] Jun 1, 2009
Added some notes about Color instead of tuple for some Surface functions.
Midi, no abort on dealloc by default. have explicit close/abort available.
Updated midi docs.
Sysfont tests pass ok on OSX now(and windows+linux etc).
Sysfont on OSX more resiliant. Broke up tests to find broken ones more
easily.
Updated test/README.TXT for tags files... eg: some_module_tags.py.
Added a little tool to help with creating WHATSNEW from svn logs.
Add a little TODO to svn_log_to_whatsnew.py to make its WHATSNEW output
nicer.
[SVN 2289-2293] May 31, 2009
Fix midi_test.py so Python3 compiles it without errors.
Let Surface methods accept and return Color instances.
Minor type correction in Rect docs.
Extend background unit test default timeout to 2 minutes.
Add gfxdraw unit tests and fix uncovered bugs.
[SVN 2284-2287] May 30, 2009
Sysfont, added fallback for OSX that doesn't have X11.
Tests and fixes for midi. Better validation Input/Output to avoid crashes.
Fixed up test which was failing on ubuntu with python2.x.
[SVN 2278] May 29, 2009
Fixed test to not fail on OSX which doesn't have midi devices by default.
[SVN 2264-2269] May 27, 2009
Enable font_test.py on Windows.
Add svn properties to track which files are converted to Python 3.x.
Updated docs for cursors.load_xbm, thanks Saul Spatz, and Thomas Ibbotson.
Cursors update note.
[SVN 2248-2261] May 26, 2009
Disable debug printing for Windows build of portmidi.
Symbian Launcher:
- Removed unneeded buffer to save memory
- Removed fade from slide animations to improve performance
- Increased heap size to 100k,4Mb
- Don't byte compile regular scripts so they can be easily edited.
Symbian other:
- The pygame library is now zipped as well for better performance.
Removed color.py warning from Symbian. It is used as wrapper for the
native module.
Camera module and computer vision tutorial.
Cleaning camera module documentation and makeref on transform.
Added palette_colors to mask.from_threshold. TODO notes to some
functions.
[BUG] surflock.c PySurface_LockBy was leaking weakrefs.
Thanks Tom Rothamel.
[SVN 2242-2245] May 25, 2009
Added a palette_colors option to average_surfaces... which doesn't handle
palette using surfaces correctly(yet).
Fixed possible memory leak. Made some comments about return values.
Recompile pymp.pyx with Cython. Enable Python 3.x support of midi module.
Enable midi_test.py for Python 3.x.
[SVN 2230-2237] May 24, 2009
Added some more midi tests.
Python 3.x: disable midi_test.py and clean out movieext from setup.py.
A tool for generating .doc docs from .py docstrings, and new midi.doc.
Shortened midi.get_default_*_device_id to get_default_*_id.
Fixed up create_doc_from_py and updated a few documentation items.
Updated a doc for pygame.midi.time.
[SVN 2216-2219] May 23, 2009
Simplified sysfont.initsysfonts_win() fonts directory scan.
In init functions: fix minor Python 3.x related memory leaks and clean up
indentation.
Fix sndarray_test.py problem where failed to detect unsupported formats.
[SVN 2201-2212] May 22, 2009
Added missing gfxdraw wrapper for Symbian.
Fixed to work on PyS60 1.9.4 The pygame python files are compiled into
byte-code. Feature of scons-for-symbian.
Have sysfont.py search the Windows font directory default fonts before
checking the registry.
Added another possible registry key where there might be fonts on win.
Fix possible problem with WINDIR, windir environment variable name.
[SVN 2193-2199] May 21, 2009
Small svn prop tweak with run_tests.py and ignore font_test.py for Python
3.x on Windows.
More font unit tests and a unit test bug fix.
Add some interactive font unit tests to fill in some holes.
Move locals.doc and remove redundant constant descriptions. instead refer
to other module pages.
Add TIMER_RESOLUTION description to time.doc.
[SVN 2183-2189] May 20, 2009
Remove defunct movieext.c (ancient non-working ffmpeg movie module).
Clean up props/modes on lib/midi.py.
Undo unintended changes in r 2184.
Partial support for OSX sysfont... 10.5.x onwards. just use unix method.
Additions to font_test.py and sysfont.py.
[SVN 2165-2180] May 19, 2009
Minor doc corrections to midi example's output_main.
Add setmods script missing from r 2129.
Added -x on lib files... Should this be moved into the setup.py ?.
Make python -m pygame.docs bring up the docs in a browser. also fix Python
3 issues with executable packages.
Add gfxdraw docs.
Marked camera, gfxdraw, and scrap as experimental in the docs.
House_lo.mp3 crashes smpeg on Debian Linux. Remove from unit tests and add
MP3 warning to docs.
Finished midi docs.
Added the start of some midi tests... all stubs.
Updated generated docs.
[SVN 2163] May 18, 2009
Fix midi.py examples quit() bug.
[SVN 2154-2161] May 17, 2009
Added channel argument to note_on and note_off methods.
Fixing up spacing between functions.
Fix midi.py example init bug for --list option.
Fix midi channels changed default channel to 0 added to note_on and
set_instrument.
Starting to add docs in the pygame style to midi module.
[SVN 2126-2132] May 14, 2009
Add pygame.examples.go shortcut.
Add movieplayer example to the documents.
Some doc updates for test tags and python -m option.
Remove svn:executable tags and add setmods script to set executable
permissions.
Allowed the use of python -m pygame.tests.
[SVN 2117-2122] May 13, 2009
A little tag test with the examples.
Undo prop change in rev 2120 test.
[BUG] Fixed bug in font.c where pygame.font.Font returned the wrong
exception type and message when a font file was not found.
Thanks Bo Jangeborg.
[SVN 2113-2115] May 11, 2009
Fixed color.c for Symbian Updated Symbian build instructions Updated
makeref.py with '--no-code-docs' feature to set empty module docstrings.
Add <module>_tags.py modules to pygame.tests. This is an alternative
module level __tags__ globals in the unit test <module>_test.py files
themselves. The __tags__ global is placed in the corresponding
<module>_tags.py file instead. This means test modules can be skipped
by the pygame.tests.go test framework without actually loading the
test module and running possibly problematic code. It also means
the test framework can report on which test modules were skipped
and why.
[SVN 2110-2112] May 10, 2009
Adapt run_tests.py test framework to Python 3.1.
Add automatic skip of unimplemented modules to run_tests.py framework.
Undo broken rev 2111.
[SVN 2103-2106] May 9, 2009
Minor fixes for symbian merge.
Merging from symbian branch.
[BUG] pygame.transform.threshold behaved incorrectly when passed a
Python long for the threshold argument.
[SVN 2078-2102] May 8, 2009
Starting to merge in sybian_s60 branch.
Pygame unit test framework now works with Python 3.1. This includes the
run_tests__tests submodule.
Increase timeout limit to 2 min. for run_tests.py subprocesses.
This allows surface_test.py more time to complete (timed out on
automated build sites Mac.)
All standard Pygame extension modules compile and run with Python 3.
For a Python 3 build setup.py skips unsupported modules.
[SVN 2074-2077] May 7, 2009
Just skip the scrap not-init test completely; Figure out how to test for
OS X later. scrap not properly supported on OS X anyway
Fix string comprehension bug in sndarray_test.py.
Try to allow scrap test in base_test.py on non-OS X platforms.
[SVN 2065-2073] May 06, 2009
Adapt fastevent module for Python 3.1.
OS X now passes tests. See if the problem in base_test.py is with scrap.
Allow all Python modules to install with Python 3.1, though some may not
work correctly.
Update python 3.1 README to reflect current status.
Adapt overlay for python 3.1; untested though importing doesn't crash
anything.