Commit Graph

12912 Commits

Author SHA1 Message Date
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
Mirko Galimberti 618a80212a
Bump to `3.0.0.dev0` for development (#8554) 2024-01-05 15:28:13 +01:00
Mirko Galimberti 9ef2180271
Bump version to `2.3.0` (#8551) 2024-01-05 10:40:12 +01:00
Mirko Galimberti 5826696dc6
Update CHANGELOG for `2.3.0` (#8550) 2024-01-05 10:35:18 +01:00
Mirko Galimberti c1d89471bb
Bump to `2.3.0rc3` (#8543) 2024-01-01 12:06:40 +01:00
Mirko Galimberti decde20ea5
Happy new year! Updated copyright year to 2024 (#8542) 2024-01-01 12:02:34 +01:00
Dexer 1d8fdc39bf
`PIL` text provider: Do not render text if font size is `< 1` (#8540)
* disable rendering if font_size < 1

* flake8
2023-12-30 11:21:51 +01:00
Mirko Galimberti f04f4f47fe
Bump to `2.3.0rc2` (#8536) 2023-12-29 10:12:47 +01:00
Elliot Garbus f380b28e15
Fix text attributes not changing after the settings panel is opened (#8535) 2023-12-29 10:06:52 +01:00
Mirko Galimberti 7146d0fb08
Bump to `2.3.0rc1` (#8533) 2023-12-28 13:54:57 +01:00
Mirko Galimberti a7aafd868b
Request `--only-binary` for Pillow on Windows when testing wheels (#8529) 2023-12-27 11:22:08 +01:00
Dexer 9576cf756f
New feature: Add `limit_render_to_text_bbox` to `Label` to limit text rendering to the text bounding box, improving `Label` alignments. (#8510)
* add limit_render_to_text_bbox

* flake8
2023-12-26 18:52:37 +01:00
Dexer 5e5cfe445b
`PIL` text provider: Ensure consistent text height to prevent text from bouncing when typing (#8511)
* fix incorrect text height

* flake8
2023-12-26 16:06:54 +01:00
Stas Zytkiewicz 26456cc7e2 Fixed title and description spanish vkeyboard layout 2023-12-18 13:13:58 +05:30
Stas Zytkiewicz 9f76591442 Added spanish layout json for the vkeyboard 2023-12-18 13:13:58 +05:30