Commit Graph

12926 Commits

Author SHA1 Message Date
Mirko Galimberti 203f5501ff
Ensure `benchmarks` artifact names are unique, as required by `actions/upload-artifacts@v4` [build wheel] (#8710)
* Ensure benchmarks artifact names are unique, as required by actions/upload-artifacts@v4

* Always perform benchmarks
2024-05-02 18:24:28 +02:00
Mirko Galimberti 04b0fab8c2
Make proper changes for `action/upload-artifact@v4` (wheels) (#8712)
* Make proper changes for action/upload-artifact@v4 in windows_wheels

* Add comment about sdist and avoid downloading all the wheels when testing

* Fix upload/download locations also for manylinux and rpi

* kivy-examples are needed

* Use a valid name for armv7l_wheels
2024-05-01 19:36:02 +02:00
Mirko Galimberti 9bb694f9e6
Sunset `apple-silicon-m1` self-hosted runner, as now is supported by Github Hosted runners via `macos-latest` tag. Use `macos-13` for runs on Intel macs (#8713) 2024-05-01 15:10:46 +02:00
Mirko Galimberti 413533b216
Remove unused `sphinxcontrib-*diag` dependencies (and `funcparserlib`) (#8711) 2024-05-01 14:35:13 +02:00
Mak Sim 53bed70326
Fix typo and mistake at FAQ.md (#8544)
* fix typos and errors

* Add link to installation guide

* Use https link
2024-05-01 10:43:59 +02:00
renovate[bot] e5c5144060
Update GitHub Artifact Actions to v4 (#8699)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 10:28:21 +02:00
renovate[bot] d25c257bb5
Update softprops/action-gh-release action to v2 (#8706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 10:21:49 +02:00
renovate[bot] 4a8caf561c
Update actions/checkout action to v4 (#8702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 18:42:09 +02:00
renovate[bot] 5bc7d85155
Update actions/setup-python action to v5 (#8703)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 18:40:09 +02:00
renovate[bot] 3185941275
Update docker/setup-qemu-action action to v3 (#8705)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-26 11:56:48 +02:00
Akshay Arora 8a4bb3c3bd
Update `monitor` module to use `dp` (#8677) 2024-04-26 11:52:39 +02:00
Mirko Galimberti 1f7f5b5d9b
`mock` gl backend egl context should not be managed by `sdl` (#8694) 2024-04-22 19:07:56 +02:00
renovate[bot] 4ea394da6b
Update actions/cache action to v4 (#8700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 18:53:05 +02:00
renovate[bot] 998ec22091
Update softprops/action-gh-release action to v0.1.15 (#8696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 18:43:37 +02:00
renovate[bot] 8bdfa9a7f7
Add renovate.json (#8688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-21 12:11:23 +02:00
Mirko Galimberti ccc61047e3
Use PyPA `build` package to perform `bdist` and `kivy-examples`, to take advantage of build isolation (#8690)
* Use python build package to perform bdist and kivy-examples builds to keep build isolation

* Do not use setup.py in Makefile

* Install coveralls where needed
2024-04-21 11:45:53 +02:00
Robert Niederreiter 677071ebd1
Fix dropped motion events in mtdev provider (#8207)
* Fix dropped motion events in mtdev provider.

* Fix already fixed typo

* process changes in mtdev provider when receiving MTDEV_TYPE_EV_SYN instead of waiting for an unused slot.
2024-04-21 11:28:41 +02:00
Mirko Galimberti e910b6e7f4
Pin build-time requirements versions, renovatebot will take care of the updates (#8689) 2024-04-20 17:04:14 +02:00
clayote e97c3e561d
Fix `xsel` import when clipboard is empty, and add timeout failsafe (#8682)
* Add timeout to `clipboard_xsel` at import time

* Call '--version' in `xsel` subprocess

Guarantees some return value, even if the clipboard is empty.

* Remove meaningless try/except
2024-04-20 14:00:56 +02:00
Mirko Galimberti f546e9abd3
Update `cibuildwheel` pinned version to `2.17.0` (#8687) 2024-04-20 13:43:06 +02:00
marinelay 9a0d7ec691
Fix `ConfigParser.write` error with when `--save` is supplied as an argument (#8681)
* fix a type error by Config.write when given --save

* Delete unnecessary open for Config.write

---------

Co-authored-by: marinelay <marinelay@gmail.com>
2024-04-19 19:06:07 +02:00
Mirko Galimberti b30ec498c6
Bump macOS ANGLE version to `chromium-6367_rev1` (#8680) 2024-04-19 19:05:16 +02:00
Patrik Dufresne c0d4894384
`Label`: Prevent overwriting `disabled_color` attribute when `color` is updated (#8667)
Ensure that when setting rules for color and disabled_color, refrain from overwriting color attributes if the label is disabled, allowing the label to be drawn using the disabled_color value.
2024-04-08 19:01:53 +02:00
Mirko Galimberti c795305e29
Graphics: Use indexed `GL_TRIANGLES` instead of `GL_TRIANGLE_FAN` to draw `Ellipse` (#8662) 2024-04-08 18:54:43 +02:00
Mak Sim d28bcb8a02
Add example for `Smooth*` graphics instructions (#8545)
* Create antialiasing.py

Add example

* Add description

* Fix typos

* Fix typo
2024-04-06 11:58:28 +02:00
Patrik Dufresne 7172d9d9b1
Fix issue with `CompoundSelectionBehavior` silently ignoring `ValueError` in `on_selected_nodes` event (#8673) 2024-04-06 10:57:11 +02:00
Patrik Dufresne 5d17b27dbf
Fix `PyInstaller` hooks to work with `pyinstaller>=6.x.x` #8653 (#8654) 2024-04-02 18:22:24 +02:00
lee-rice 3846952165 Updated broken links in documentation. 2024-04-02 12:09:17 +05:30
Mirko Galimberti a6f69d595b
Remove the deprecated `pygame` window provider (#8320) 2024-03-31 11:15:23 +02:00
Valinor dcd8fb2a6a
Remove all the compatibility code for Python 2.x (#8610)
* Cleanup compat.py

* Apply suggestions from code review

* Avoid trickery for next iterator

* Minor improvement

* It still makes sense to test this method, just rename the test case

* Rename test fbo filename

* Removed PY3 helper

---------

Co-authored-by: Valynor <2079654+Valinor@users.noreply.github.com>
Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
2024-03-23 17:25:24 +01:00
Arnold Loubriat b6d12ccc86
Expose a `native_handle` property on `WindowBase` (#8650)
* Expose a `native_handle` on `WindowBase`

* Don't use conditional compilation

* Add a test

* Use relative imports inside `get_native_handle``
2024-03-23 11:13:37 +01:00
Mirko Galimberti a1e159785a
Keep (or move) mandatory dependencies only in `install_requires` (#8656) 2024-03-23 10:04:12 +01:00
Mirko Galimberti 78d5c7de80
`CameraAVFoundation`: Move things around reducing boilerplate for upcoming changes (#8643) 2024-03-18 18:20:05 +01:00
Mirko Galimberti 8cc881c1ae
Introduce `ANGLE` GL provider on Apple platforms on top of SDL2 window backend (#8534)
* Disable OpenGL for SDL2 window backend and introduce ANGLE egl_backend

* Allow to build with legacy OpenGL provided from Apple and add docs

* Apply code review suggestions
2024-03-13 18:16:20 +01:00
Asalerm 17319904d2
Rename `CaptureDelegate` to `KivyCaptureDelegate` in `AVFoundationCamera` to avoid duplicated symbols (#8385)
Co-authored-by: psychowasp <psychowaspx@gmail.com>
2024-03-10 12:08:40 +01:00
chemelnucfin 28ca16fb34
New <Getting started> link for Apple Developer in Docs (#8642)
https://help.apple.com/developer-account/

has moved to 

https://developer.apple.com/help/account/
2024-03-10 10:25:14 +01:00
Xovaryu 20e38cec4f
Typo: Docs grammar issue in loader.py (been/be) (#8640)
Fixed a typo, been/be
2024-03-05 19:28:04 +01:00
Kenechukwu Akubue 7e6d86197a
Use `filetype` as `imghdr` built-in module is deprecated and slated for removal in Python 3.13 (#8581)
* Ensure Imghdr compatibility with Kivy

* Use iletype to get file extension

* Reformat file and Refactor string formats

* Delete kivy/lib/imghdr.py

* Add filetype to `full`

* fix PEP8_test

* Fix integer bug
2024-03-05 19:23:22 +01:00
Mirko Galimberti 6bb27a91cb
Add `Window.unrotated_size`, simplify, clean-up and fix `Window.size` and `Window._density` logic (#8630) 2024-03-02 14:37:39 +01:00
Xovaryu 3de06c3d8f
Fix Typo: `kiby` instead of `kivy` in global variable in `_text_pango.pyx` (#8633)
This is just a typo fix for the line `global kiby_fontfamily_cache`, the kiby instead of kivy being the typo.
I don't use Pango myself and it seems a little odd that this typo is in the code when it looks like it might break something? Someone may want to have a look into this.
2024-03-02 10:41:38 +01:00
Stephen Littman 2f6b8cad4f
Update python-for-android link in packaging-android.rst (#8638)
Added the correct link to avoid 404 error.
2024-03-02 09:07:35 +01:00
Mirko Galimberti 340ea0d625
ImageIO: Include `CoreServices` header (fixes iOS build) (#8629) 2024-02-24 10:21:25 +01:00
Mirko Galimberti c039371ea1
ImageIO provider: Retrieve supported image sources file extensions during runtime (#8623)
* ImageIO provider: Get supported sources file extensions during runtime

* Remove visionOS as is not available on older XCode versions. * will be enough as this API is supported from visionOS 1.0 onwards
2024-02-22 18:11:04 +01:00
Mirko Galimberti dc7fd3d8ae
Refactor SDL2 window creation to avoid DRY violations (#8616) 2024-02-18 10:24:01 +01:00
Mirko Galimberti 1ca6948c34
Allow using `c++` mode for Cython files on Android and iOS (#8619)
* Allow using c++ mode for Cython files on Android and iOS

* Fix PEP8 violation
2024-02-18 10:23:25 +01:00
Mirko Galimberti ff80a2213a
Remove Windows 32-bit support (tests, builds, docs) (#8617)
* Remove Windows 32-bit support (tests, builds)

* Remove fancy rules for dependencies and remove docs regarding fancy rules
2024-02-18 10:22:35 +01:00
Mirko Galimberti 1e32d45425
Fix flaky pyinstaller video widget test (#8618)
* Fix flaky pyinstaller video widget test

* Fix flaky pyinstaller video widget test
2024-02-17 15:03:40 +01:00
Nidhi Nishad 15f1db0394
Remove Python `3.7` from supported matrix and set minimum supported version to `3.8` (#8587) 2024-01-31 21:05:00 +01:00
Akshay Arora 72d2767d0a
Fix spelling on `unicode_textinput.py` (#8594) 2024-01-29 21:35:56 +01:00
Stas Zytkiewicz 5df8304480 Updated ES vkeyboard layout to resemble a real ES keyboard layout 2024-01-05 21:40:52 +05:30