Commits

Author Commit Message Labels Comments Date
illume
Link the travisci build badge to the build page.
illume
Added travisci build badge. Showing build status.
Jason Marshall
Warn developers about automatic window stretching. Close issue #245.
Lenard Lindstrom
Do some freetype module cleanup. Explicitly import objects from pygame._freetype into pygame.freetype (see comments for Issue #189). This also removes some unused constants. Correct the docs for non-existent STYLE_NONE. Add STYLE_DEFAULT constant to freetype module for completeness. Allow it to be assigned to a Font object's style property.
Lenard Lindstrom
Remove two overlooked old doc pages
Lenard Lindstrom
Clarify documentation for a full SDL event queue: resolve Issue #168 Move the vague full event queue exception reference in the general event module description to the poll function doc where it belongs. Be more descriptive and specific about event queue overflow.
Lenard Lindstrom
Remove Pygame's neglected, and broken, movie support: resolve Issue #238 Though not properly documented, the pygame.movie module has been deprecated for some time, and was no longer built by default. The documented instructions for converting video files to MPEG1 using ffmpeg are outdated. I built the movie module was built and tested on 32-bit Linux Mint 17.1 (Ubuntu 14.04.2 LTS, Trusty Tahr) and tested it on a movie converted from MPEG4 using avconv (a fork of ffmpeg…
Comments 1
Lenard Lindstrom
Expand the docs for pygame.music.mixer.set_pos(): Resolve Issue #241 Note that set_pos() was added to Pygame 1.9.2. Also elaborate on the use of the "pos" argument for supported file types (taken from SDL_mixer 1.2.10 doc for Mix_SetMusicPosition).
Lenard Lindstrom
Fix Issue #246: Surface test fails on x86_64 Ubuntu Unit tests SurfaceSelfBlitTest.test_colorkey and SurfaceSelfBlitTest.test_blanket_alpha of surface_test.py failed when running the unit tests with the video driver set to dummy. In particular, the blit to the 8-bit surface tmp of the 32 bit surface comp failed to copy the pixel colors correctly. The pygame.Surface.blit() method avoids blitting a per-pixel alpha surface to an 8-bit indexed surface…
Lenard Lindstrom
Reformat PySurface_Blit in surface.c debugging Issue #246
Lenard Lindstrom
Fix a new buffer bug in the mixer module For the Py_buffer.format field, the 'i' and 'I' type identifiers were associated with the wrong C types. This triggered an unexpected ValueError("Array item size 8 does not match format 'I'") exception in the test_array_keyword test method of mixer_test.py on x86_64 Linux.
Lenard Lindstrom
Fix bug where pygame.color fails the unit test for x86-32 Linux See changeset dc57da440ac3 for the same problem with pygame.math For gcc 4.4 to at least gcc 4.8.2, -O2 optimization reduces the precision of floating point arithmetic on doubles, compared to unoptimized code. This caused two test cases in color_test.py to fail.
Lenard Lindstrom
Fix a bug in sysfont.py exposed by commit ae2e36d For Python 3.x, raw font information was incorrectly converted back to byte strings. This caused incorrect parsing of the information, which showed up as failed unit tests. This corrects the bug, Raw data is not converted to unicode strings for both Python 2.x and 3.x.
Lenard Lindstrom
Decapitate zombie bug 52 (Motherhampster Bugzilla) It came back. A gcc 4.4 floating point optimization changes the precision of floating point arithmetic for doubles. The altered precision slightly changes the results of calculations, showing up as unit test fails. The bug fix, however, was quite specific in its application, only enabled for gcc version 4.4. Guess what? The problem still exists with gcc 4.8.2. This commit broadens the scope of the…
Lenard Lindstrom
A possible solution to Issue #131 In surface.c the surf_convert function uses memcpy to copy the source format to the target format. This includes the palette pointer. If the target format has a non-NULL palette pointer, the palette is checked to ensure at least one palette color is not black. It does not matter if the target pixel format actually uses a palette or not. So unless the target has a palette, make sure the palette poi…
Jason Marshall
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. Ad-hoc tested sysfont changes on Windows 7 with Python 2.4 and 3.4. Tested on Mac OS X 10.4 with Python 2.7. Close #179. Processed with autopep8.
Lenard Lindstrom
Reindent alphablit.c Make alphablit.c control structures easier to follow. This will help when converting it to SDL 2.
Lenard Lindstrom
Close Issue #243 Issue #243: For a string with trailing spaces, freetype ignores the last space in boundary calculations After the layout loop, determine if the last character in the text string is a space by checking if its bitmap is width 0. If so, update the text boundaries — min_x, max_x, min_y, max_y — with the current pen position, which already includes the space's advance. Also update change …
Lenard Lindstrom
Close Issue #273 Issue #273: Memory overrun when text without descenders is rendered with underlining When the fractional top and bottom of an underlining fit within a single row, the difference between the line bottom and the lower pixel boundary, a negative number, was misinterpreted as meaning there was a second row to fill. If the line was already at the bottom row of the surface, then the next ro…
Lenard Lindstrom
Close Issue #242 Issue #242: freetype.Font.get_rect() ignores style defaults when the style argument is not given Make the default value of the style argument be FT_STYLE_DEFAULT, as documented for get_rect().
Lenard Lindstrom
Now a separate projects.
Branches
trackmod
Lenard Lindstrom
Now a separate project.
Branches
msi
Lenard Lindstrom
No longer need. Useful tools were incorporated into Pygame proper.
Branches
testtools
Lenard Lindstrom
msg.txt
Comments 1
Jason Marshall
Process with autopep8.
Jason Marshall
Replace try...except blocks with if...else blocks because they execute slightly more quickly. Process with autopep8.
J...@jmmdesk4
Replace try...except blocks with if...else blocks because they execute slightly more quickly. Process with autopep8.
Lenard Lindstrom
remove some gcc 4.8.2 compiler warnings for imageext.c
Lenard Lindstrom
Close Issue #165 The icon file is opened as a Python file object to check if it exists, and, presumably, to retrieve it's full path name. Then the file object is released, and replaced with the path name, a Python string. The string is passed to pygame.image.load_basic() to retrieve the icon image. This patch adds a close() method call on the file object before it is released.
Lenard Lindstrom
Close Issue #186 Fix faulty unit test in freetype_test.py. When the freetype.Font.get_size() method was replaced to get_rect(), the assertions in the the surrogate pair test were not changed to compare Rects rather that (w, h) tuples.
  1. Prev
  2. Next