Commit Graph

1478 Commits

Author SHA1 Message Date
André Sbrocco Figueiredo a02efa311f
TabbedPanel: Doc calling `switch_to` from `__init__` (#7342)
* Fixed reference

Previous reference didn't link to anywhere, and now it links to the
dev-install page.

* Added link for example usage

As discussed in the issue #3493, when calling this method from the
python script, it has to be scheduled to the next clock cycle.

* Update kivy/uix/tabbedpanel.py

Co-authored-by: matham <moiein2000@gmail.com>

Co-authored-by: matham <moiein2000@gmail.com>
2021-01-24 04:45:34 -05:00
pwoolvett 88dee323b7
Fix/disable kivy no args (#7326)
* FIX: Disable `KIVY_NO_ARGS` depending on its value

This fix enables the environment value `KIVY_NO_ARGS` to be present but still
not disabling kivy cli parsing.

Before this, kivy only checked for `KIVY_NO_ARGS` environment variable to be
existent, wihout checking its value. Setting it to a "falsy" value (eg 0,
"false", etc) would still disable cli arg parsing, which is could be
misleading.

With this fix, only setting it to one of ('true', '1', 'yes') actually
disables it.

* TEST: passing unit tests

Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>

* implemented suggestions

* updated patchenv func
* added `KIVY_ENVS_TO_EXCLUDE = ('KIVY_UNITTEST', 'KIVY_PACKAGING')` because `__init__.py` treats them equal. 
* removed remanent lower

* FIX: web edit typos

Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>

* PEP8

Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>

* FMT: auto (black) + unused imports

Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>

* PEP8

Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>

* FIX: nonzero exit on subprocess import

Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com>

* Update kivy/tests/test_environ_cli.py

Co-authored-by: matham <moiein2000@gmail.com>

* Update kivy/tests/test_environ_cli.py

Co-authored-by: matham <moiein2000@gmail.com>

Co-authored-by: matham <moiein2000@gmail.com>
2021-01-11 19:16:20 -05:00
Lindström Mathias 3e37301b29
Doc cleanups (#7295)
* ⬆️ Removed the last part of pw.js/pw.php

* ⬆️ Removed the last part of pw.js/pw.php
2020-12-29 10:53:27 -05:00
Mirko Galimberti 36582222cd Update docs for kivy-ios 2020-12-25 16:50:37 +01:00
Eero af Heurlin df5b2c16d5
Add pre-commit.com framework hooks (#7176)
* Add pre-commit hooks for basic standards conformity checking

* These should not be marked as executable

* These lack shebangs so marking them executable did not do anyone any good

* add pre-commit to dev requirements

* use pre-commit framework for the hook

* Move the pre-commit config outside of root

As discusses in https://github.com/kivy/kivy/pull/7176#discussion_r511240059

* Document that pre-commit is used and how to skip checks if needed

* Mark the old hook script as deprecated
2020-12-09 22:48:48 -05:00
Matthew Einhorn a8d76ce04e Add 2.0.0 changelog. 2020-12-09 04:56:51 -05:00
matham b714003ffb
Merge pull request #7241 from matham/install
Docs: Add changelog to docs
2020-11-28 17:43:08 -05:00
Matthew Einhorn 036d86eb46 Add changelog and fix install table. 2020-11-28 17:40:57 -05:00
matham 2195a7881f
Merge pull request #7240 from matham/install
Docs: Re-write install docs.
2020-11-28 03:56:08 -05:00
Matthew Einhorn 1e03ffd3a7 Re-write install docs. 2020-11-28 03:36:39 -05:00
Asad Rauf 7cc8942029 minor typo fix in layout docs 2020-11-16 19:22:14 +05:00
matham 9ac3c9a70b
Use python3 if it's present. 2020-10-16 13:41:57 -04:00
matham d13e221671
Generate Kivy.app on the CI (#7080)
* Re-enable osx app build[build app osx]

* app directory should be in root [build app osx]

* Use re-worked sdk syntax. [build app osx]

* No need to build kivy. [build app osx]

* Use kivy version, not ref name. [build app osx]

* Include examples and use fixes syntax. [build app osx]

* Split app create and test. [build app osx]

* Split app create and test. [build app osx]

* Externalize kivy-examples. [build app osx] [build wheel]

* Externalize kivy-examples. [build app osx] [build wheel]

* No need to download pip manually anymore. [build app osx]

* Fix osx font test from seg-faulting. [build app osx]

* [build app osx] [build wheel osx]

* Don't copy in recursive cycles. [build app osx]

* Don't copy in recursive cycles. [build app osx]

* Set gst regsitery to fix test.

* Update docs. [build app osx] [build wheel]

* Fix gstreamer path [build app osx]

* Use mock only when testing [build app osx][build wheel osx]

* There's no reason to use older xcode, but specifically use osx 10.15. [build app osx]

* Set the gst variables to fix gst not working. [build app osx]

* Set the gst variables to fix gst not working. [build app osx]

* Set the gst variables to fix gst not working. [build app osx][build wheel osx]

* Fix broken tests. [build app osx][build wheel osx]

* Add missing hidapi library to fix osx wheel.

* Fix app environment. [build app osx] [build wheel osx]

* Need to resign hidapi after changing paths. [build app osx] [build wheel osx]
2020-09-15 21:50:34 -04:00
fruitbat a3603027aa Remove duplicate python3-pip 2020-07-05 12:34:03 +02:00
fruitbat b9820c9391 ⬆️ Update the dev installation instructions 2020-07-04 09:51:08 +02:00
matham 6cd0e97310
Merge pull request #6924 from Julian-O/patch-1
Buildozer is now in Beta.
2020-06-14 12:41:06 -04:00
sanderland 0df48543a6
Improvements to kv lang docs (#6927)
* logger fix

* pep

* encoding, test

* black

* mock locale

* fix

* tests / encoding as param

* less 한국어

* improve documentation for kv lang

* link?

* link mod properly
2020-06-08 15:45:48 -04:00
Julian 2c3a5b44d4
Buildozer is now in Beta.
Updating reference to Buildozer's project status.
2020-06-08 02:19:15 +10:00
Andre Miras f62d4b37ba Migrates to the new install procedure
It's now possible to install via `pip install kivy-ios`.
Also drops Python 2 support and minor consistency fixes.
2020-05-07 00:38:21 +02:00
Kristian Sloth Lauszus 5663f8d836 Make it clear that SDL2 should not be installed with apt if the user has compiled it manually 2020-03-16 00:35:38 +01:00
Kristian Sloth Lauszus f1d82f0e03 Updated Raspberry Pi 4 documentation on how to ensure that the renderer is hardware accelerated 2020-03-14 20:40:55 +01:00
Kristian Sloth Lauszus fa19d95497
Kivy now works on the Raspberry Pi 4 without X11 (#6769)
* Added 'KIVY_SDL_GL_ALPHA_SIZE' environmental variable, so X11 is not required when using SDL2 in a headless environment

Thanks to @ddimensia for figuring it out

* Updated the installation instructions for Raspberry Pi 4 headless installation on Raspbian Buster, as it no longer requires X11 to be installed

* Automatically set the SDL_GL_ALPHA_SIZE to 0 when running on a Raspberry Pi

* Set 'KIVY_SDL_GL_ALPHA_SIZE=0' when building using the CI, so cross compiling of the wheels works

* Make sure KIVY_SDL_GL_ALPHA_SIZE is an int
2020-03-13 11:15:45 -04:00
vicendithas 9398c8d5d2
Update packaging-windows.rst (#6750)
* Update packaging-windows.rst

Added sections detailing packaging using --onefile and for bundling data files.

* Update packaging-windows.rst
2020-02-29 14:58:46 +01:00
Nils-Hero Lindemann 3187203609 Revisit of the Windows installation instructions (#6712) 2020-01-28 12:39:19 -05:00
Mirko Galimberti c8e0c3de0d Fix css on docs 2020-01-17 13:39:22 +01:00
matham be7ae35700
Merge pull request #6662 from Lauszus/rpi123_wheel
Compile wheels for Raspberry Pi 1-3 using the CI
2020-01-11 02:15:22 -05:00
Kristian Sloth Lauszus ae6ff5d803 Added table with an overview of the supported window providers and GL backends 2020-01-11 01:39:29 +01:00
Kristian Sloth Lauszus f26da7a242 We can use the same wheel on the Raspberry Pi 4 by ignoring the egl_rpi window provider 2020-01-11 01:32:35 +01:00
Kristian Sloth Lauszus 844f3a8627 Updated the documentation, as wheels are now also available for the Raspberry Pi 1-3 2020-01-09 20:44:08 +01:00
Matthew Einhorn cfa6b78f99 Update windows docs for new release. 2019-12-29 17:11:29 -05:00
Matthew Einhorn 0867471178 Move gallery to tools. 2019-12-28 00:02:05 -05:00
Kristian Sloth Lauszus 59facf6e6f Cross compile wheel for armv7l (Raspberry Pi 4) using Github Actions CI (#6568)
* Cross compile wheel for armv7l (Raspberry Pi 4) using Github Actions CI

Fixes #6567

* Added instruction on how to install Kivy on a Raspberry Pi 4

* Do not package the examples in the wheel

* We can not upload armv7l wheels to PyPI

* Remove all references to KivyPie

* Merge the installations instructions for Raspberry Pi's together

* Build the armv7l wheel on Stretch as well

* Create a copy of the wheel with a armv6l suffix

* The wheels are Raspberry Pi specific
2019-12-21 15:29:04 -05:00
Rafa 588d8deaec fix docs 2019-12-06 13:16:37 +01:00
Gabriel Pettier 95a6bf2798
add missing `*args` in draw_my_stuff example 2019-11-11 11:10:37 +01:00
Gabriel Pettier 8eb721a2c9 update note about kivy-ios python version (#6511) 2019-09-11 10:38:47 +02:00
水戸う納豆齋(Nattōsai Mitō) cefc5a7211
Merge pull request #6485 from gottadiveintopython/fix_6484
fix KIVY_EVENTLOOP doc
2019-08-24 16:08:40 +09:00
gottadiveintopython a154180cfc fix KIVY_EVENTLOOP doc 2019-08-24 11:11:26 +09:00
Zen-CODE bd2393151b doc: Added kivy to pip install 2019-08-17 22:16:27 +02:00
Zen-CODE 5201e82c03 :doc: Add back the --no-binary flag with missing . parameter 2019-08-17 21:08:13 +02:00
Zen-CODE 37d6599d30 doc: Fix typos, gramamr in install instructions 2019-08-17 14:04:38 +02:00
Gabriel Pettier 8feb268bc1
Merge pull request #6436 from Chadys/6435_correct_colorwheel_angles
Remove bug in algorithm to compute arcs of colorwheel (#6435)
2019-08-10 19:36:11 +02:00
matham e8a091420d
Merge pull request #6368 from matham/async-support
Add async support to kivy App
2019-07-27 08:15:58 -06:00
chadys df54604fe8 Remove bug in algorithm to compute arcs of colorwheel (#6435) 2019-07-24 11:55:48 +02:00
luphord cdd514f4f0 add comment on required pip version 2019-07-18 12:38:10 -04:00
gottadiveintopython 578f1dac93 rename the value of KIVY_EVENTLOOP from 'async' to 'asyncio' 2019-07-07 14:38:50 +09:00
Matthew Einhorn 3f573d5d96 Complete docs. 2019-06-28 01:11:59 -04:00
Matthew Einhorn 9bcfcbadce Merge branch 'master' of github.com:kivy/kivy into async-support 2019-06-25 19:35:42 -04:00
Mathias Lindström a25b50cbf4 Link edit 2019-06-25 11:03:54 -04:00
Matthew Einhorn 0fc38a4495 Fix linux install docs and use 1.11.1 as stable version. 2019-06-19 02:10:48 -04:00
Matthew Einhorn dccba9534e Update install docs for rpi. 2019-06-13 18:41:30 -04:00