* Highlight parenthetical expression with hyphens
The expression "and source code files for each step" was only partially
in a parenthesis: there wasn't a closing comma after the word "step" to
highlight that the expression was extra information in the sentence.
This commit changes the punctuation around the parenthetical expression
to use hyphpens to make it stand out more and adds the missing closing
punctuation.
* Add missing full stop at end of note sentence
Since this note is a sentence, it probably should have a full-stop at
the end.
* Mention source location consistently in pong tutorial
The two notes mentioning the source code location were formatted
differently. To be consistent, they both now use the same formatting.
Trailing whitespace is forbidden in source code for this project
(implemented as part of the PEP8 checks), however the documentation
source files contained trailing whitespace. It seemed appropriate to
remove trailing whitespace in the documentation source files as well.
* Android pause on back key/gesture
Replaces previous divergence between Android and Kivy state machines.
* Android exit app when on_pause returns False
Corrects previous behavior where Kivy app stops, but Android does not stop.
* stop() - set Android state
Let Kivy app state follow Android state.
* Add pause()
* typo
* Disambiguate
It is unclear it "default case" refers to existence of a return statement, or existence of a method.
* add versionadded
* pep8
* pep8
* pep8
* Update kivy/app.py
Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
* Update app.py
Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
Found via `codespell -q 3 -S ./doc/sources/changelog.rst -L als,ba,childrens,childs,co-ordinate,co-ordinates,datas,enew,everytime,inout,iself,quitted,tesselate,tesselated,tesselator,ths`
* Use the `USE_RPI` env variable to force the platform to `rpi`
* Update doc/sources/installation/installation-rpi.rst
Co-authored-by: Matt Einhorn <matt@einhorn.dev>
* Introduce new env variable `FORCE_RPI_VERSION` for forcing `egl_rpi`
instead of reusing `USE_RPI`, which has a different connotation.
* Update docs for `FORCE_RPI_VERSION` variable
* Update setup.py
Co-authored-by: Matt Einhorn <matt@einhorn.dev>
* Rename variable to `KIVY_RPI_VERSION`
Co-authored-by: Matt Einhorn <matt@einhorn.dev>
Co-authored-by: Matt Einhorn <matt@einhorn.dev>
* added dark theme css
* merged both theme files; removed dark.css
* removed unrequired variable
* add fuction to switch themes
* add button to switch themes; removed dark.css; load fresh.css after pygements.css;
* Update doc/sources/.templates/layout.html
* add jquery to keep the current 'active' element on API reference be always in center
* remove DRY voilations; beautify css
* removed unnecessary rules
* add toggle button to switch between themes
* add button callback; store prefered theme in localStorage
* made theme toggle button responsive
* improved alingment for mobile screens
* removed unnecessary css; added comments; formated css
* use prefers-color-scheme when localStorage is not initlized
* fix FOIT
* removed code to center active li element in api index (left side panel)
* fixes#7720; see sphinx-doc/sphinx#8320 for reference
* applied vendor prefix for safari
* use ::before pseudo element to make line numbers unselectable
* removed trim
* css cleanup; moved the rule to appropriate posotion
* more descriptive comment
`python -m pip install kivy[base] kivy_examples --no-binary kivy` throws the error `zsh: no matches found: kivy[base]`, you need to use `python -m pip install "kivy[base]" kivy_examples --no-binary kivy` instead
* 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>
* 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>