Skip to content

Commit 36c27b2

Browse files
committed
Merge branch 'main' into support-sdlwindowid
2 parents cf9e213 + 7075280 commit 36c27b2

File tree

192 files changed

+7254
-8639
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+7254
-8639
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
# Check for updates to GitHub Actions every week
7+
interval: "weekly"

.github/workflows/build-debian-multiarch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/[email protected]
5151

5252
- name: Build sources and run tests
53-
uses: uraimo/run-on-arch-action@v2.3.0
53+
uses: uraimo/run-on-arch-action@v2.5.0
5454
id: build
5555
with:
5656
arch: ${{ matrix.arch }}

.github/workflows/build-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
CIBW_BUILD_VERBOSITY: 2
150150

151151
steps:
152-
- uses: actions/checkout@v3.0.2
152+
- uses: actions/checkout@v3.3.0
153153

154154
- name: pip cache
155155
uses: actions/[email protected]
@@ -165,7 +165,7 @@ jobs:
165165
key: macdep-${{ hashFiles('buildconfig/manylinux-build/**') }}-${{ hashFiles('buildconfig/macdependencies/*.sh') }}-${{ matrix.macarch }}
166166

167167
- name: Build and test wheels
168-
uses: pypa/[email protected].0
168+
uses: pypa/[email protected].1
169169

170170
- uses: actions/upload-artifact@v3
171171
with:

.github/workflows/build-manylinux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
- uses: actions/[email protected]
8383

8484
- name: Log in to the Container registry
85-
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
85+
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
8686
with:
8787
registry: ghcr.io
8888
username: ${{ github.actor }}
@@ -95,14 +95,14 @@ jobs:
9595

9696
- name: Extract metadata (tags, labels) for Docker
9797
id: meta
98-
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
98+
uses: docker/metadata-action@507c2f2dc502c992ad446e3d7a5dfbe311567a96
9999
with:
100100
images: ghcr.io/${{ github.repository }}_${{ matrix.arch }}
101101
tags: type=raw,value=${{ hashFiles('buildconfig/manylinux-build/**') }}
102102

103103
- name: Build and push Docker image
104104
if: steps.inspect.outcome == 'failure'
105-
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
105+
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
106106
with:
107107
context: ${{ github.workspace }}/buildconfig/manylinux-build/docker_base
108108
file: ${{ github.workspace }}/buildconfig/manylinux-build/docker_base/Dockerfile-${{ matrix.arch }}
@@ -118,7 +118,7 @@ jobs:
118118
CIBW_MANYLINUX_I686_IMAGE: ghcr.io/${{ github.repository }}_i686:${{ steps.meta.outputs.version }}
119119
CIBW_MANYLINUX_PYPY_I686_IMAGE: ghcr.io/${{ github.repository }}_i686:${{ steps.meta.outputs.version }}
120120

121-
uses: pypa/[email protected].0
121+
uses: pypa/[email protected].1
122122

123123
# We upload the generated files under github actions assets
124124
- name: Upload dist

.github/workflows/build-ubuntu-sdist.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ jobs:
5757
# install numpy from pip and not apt because the one from pip is newer,
5858
# and has typestubs
5959
run: |
60-
sudo apt-mark hold grub-efi-amd64-signed
6160
sudo apt-get update --fix-missing
6261
sudo apt-get upgrade
6362
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev libjpeg-dev python3-setuptools python3-dev

.github/workflows/cppcheck.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626

2727
- name: Install deps
2828
run: |
29-
sudo apt-mark hold grub-efi-amd64-signed
3029
sudo apt-get update --fix-missing
3130
sudo apt-get upgrade
3231
sudo apt install cppcheck

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Pygame build process: config.py setup.py
1+
# pygame-ce build process: config.py setup.py
22
/Setup
33
*.pyc
44
/build/
@@ -35,6 +35,7 @@
3535
# Other
3636
envdev*
3737
.virtualenv*
38+
*venv*
3839
buildconfig/manylinux-build/wheelhouse/
3940
anenv
4041
dist

README.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
:target: https://pyga.me/
44

55

6+
|DocsStatus|
67
|PyPiVersion| |PyPiLicense|
78
|Python3| |GithubCommits| |BlackFormatBadge|
89

@@ -178,9 +179,12 @@ See docs/licenses for licenses of dependencies.
178179

179180
.. |Python3| image:: https://img.shields.io/badge/python-3-blue.svg?v=1
180181

181-
.. |GithubCommits| image:: https://img.shields.io/github/commits-since/pygame-community/pygame-ce/2.1.3.svg
182-
:target: https://github.com/pygame-community/pygame-ce/compare/2.1.3...main
182+
.. |GithubCommits| image:: https://img.shields.io/github/commits-since/pygame-community/pygame-ce/2.1.4.svg
183+
:target: https://github.com/pygame-community/pygame-ce/compare/2.1.4...main
183184

185+
.. |DocsStatus| image:: https://img.shields.io/website?down_message=offline&label=docs&up_message=online&url=https%3A%2F%2Fpyga.me%2Fdocs%2F
186+
:target: https://pyga.me/docs/
187+
184188
.. |BlackFormatBadge| image:: https://img.shields.io/badge/code%20style-black-000000.svg
185189
:target: https://github.com/psf/black
186190

buildconfig/Setup.Emscripten.SDL2.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ image src_c/void.c
4242
base src_c/void.c
4343
bufferproxy src_c/void.c
4444
color src_c/void.c
45-
controller src_c/void.c
45+
controller_old src_c/void.c
4646
display src_c/void.c
4747
draw src_c/void.c
4848
event src_c/void.c
@@ -60,9 +60,10 @@ surface src_c/void.c
6060
surflock src_c/void.c
6161
rect src_c/void.c
6262
rwobject src_c/void.c
63+
system src_c/void.c
6364

6465
#_sdl2.controller src_c/_sdl2/controller.c $(SDL) $(DEBUG) -Isrc_c
65-
_sdl2.controller src_c/void.c
66+
_sdl2.controller_old src_c/void.c
6667

6768
#_sdl2.touch src_c/_sdl2/touch.c $(SDL) $(DEBUG) -Isrc_c
6869
_sdl2.touch src_c/void.c

buildconfig/Setup.SDL2.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ _sdl2.audio src_c/_sdl2/audio.c $(SDL) $(DEBUG) -Isrc_c
3737
_sdl2.video src_c/_sdl2/video.c src_c/pgcompat.c $(SDL) $(DEBUG) -Isrc_c
3838
_sdl2.mixer src_c/_sdl2/mixer.c $(SDL) $(MIXER) $(DEBUG) -Isrc_c
3939
_sdl2.touch src_c/_sdl2/touch.c $(SDL) $(DEBUG) -Isrc_c
40-
_sdl2.controller src_c/_sdl2/controller.c $(SDL) $(DEBUG) -Isrc_c
40+
_sdl2.controller_old src_c/_sdl2/controller_old.c $(SDL) $(DEBUG) -Isrc_c
4141

4242
GFX = src_c/SDL_gfx/SDL_gfxPrimitives.c
4343
#GFX = src_c/SDL_gfx/SDL_gfxBlitFunc.c src_c/SDL_gfx/SDL_gfxPrimitives.c
@@ -74,3 +74,4 @@ pixelarray src_c/pixelarray.c $(SDL) $(DEBUG)
7474
math src_c/math.c $(SDL) $(DEBUG)
7575
pixelcopy src_c/pixelcopy.c $(SDL) $(DEBUG)
7676
newbuffer src_c/newbuffer.c $(SDL) $(DEBUG)
77+
system src_c/system.c $(SDL) $(DEBUG)

0 commit comments

Comments
 (0)