Commit graph

683 commits

Author SHA1 Message Date
Richard Larkin
64bd692632
Flake8 CI fixes (#451)
* Pep8 fixes

* tox Pep8 compliance

* Excluded external tools folder from flake 8 tests

* Added Flake 8 exclusions

* Pep8 fixes

* Pep8 fixes

* Corrected type

* Pep8 fixes

* Pep 8 compliance

* Pep8 fixes

* Pep8  fixes

* Pep8 fixes

* Pep8 fixes

* Pep 8 fixes

* Pep 8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8

* Pep8

* Pep 8

* Pep 8

* Pep8 fixes

* Pep8

* Pep8

* Pep8

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Revert chagnes

* Revert changes to kivy/__init.py

* Revert changes

* REvert changes

* Revert changes

* Revert changes to toolchain

* Add files exclusions to tox.ini

* Added exclusions for alias recipes

* Remove dead code

* Added py extension to recipes

* Removed recipe build skip

* Improves recipe matching

Previous expression was matching all the following three lines of a `git diff --name-only` output.
```
recipes/hostlibffi/__init__.py
recipes/hostpython.py
recipes/hostpython2/__init__.py
```
This was resulting to a bug when later splitting with `recipe = file_path.split('/')[1]` the `recipes/hostpython.py` string would return including the `\n` new line char, see:
 ```
>>> 'recipes/hostpython.py\n'.split('/')[1]
'hostpython.py\n'
>>> 'recipes/hostlibffi/__init__.py\n'.split('/')[1]
'hostlibffi'
>>> 
```

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-25 18:28:16 +02:00
Andre Miras
85f849e187
Merge pull request #445 from misl6/add-flake8
Add flake8
2020-04-14 23:57:39 +02:00
Mirko Galimberti
78c36997b1 Add flake8 2020-04-14 18:38:15 +02:00
Andre Miras
161b0bf132
Merge pull request #439 from misl6/fix-openssl
Update (and fixes) openssl to 1.1.1f
2020-04-11 19:37:49 +02:00
Mirko Galimberti
b47cddddad Fixes openssl compilation + bumps version 2020-04-11 19:21:28 +02:00
Andre Miras
2275362350
Merge pull request #440 from misl6/github-actions
Add Github Actions on kivy-ios
2020-04-11 19:10:34 +02:00
Mirko Galimberti
57afc7d8f9 Github Actions on kivy-ios 2020-04-11 18:51:22 +02:00
Richard Larkin
a583d5db07
Add NativeImagePicker class for use from the player IOS FileChooser class (#428)
Co-authored-by: richard <richard@dotmodus>
2020-03-10 21:24:31 +02:00
Mirko
558f987d9d Moved some utils to ios_utils, webview accepts x,y coords, improved get_scale and get_dpi (#415) 2020-01-12 12:21:16 +01:00
Mirko
2e8e9a1709 Add IOS_IS_WINDOWED env switch + update SDL2 (#414)
* Add IOS_IS_WINDOWED env switch + update SDL2

* updated kivy hash
2020-01-12 12:20:06 +01:00
Mirko
921f6b209d Fixes missing sqlite3 module in python3 (#398)
Cleanup
2019-11-24 23:49:08 +01:00
Mirko
eacd88bf3f Added the ability to query the safe area (#404) 2019-11-24 23:47:35 +01:00
Mirko
493e9c63af Update ffmpeg and ffpyplayer recipes (#403) 2019-11-24 22:34:18 +01:00
Richard Larkin
06e6e0b8b5
Document lack of multiprocess / async functionality (#402)
* docs: Added note regarding iOS multiprocess/tghreading limitations

* Fix typo

* Tweaked wording

* 🔧 Refine accuracy of multiprocess docs

*  Fix typo
2019-11-07 21:46:54 +02:00
Mathieu Virbel
2e2d52e203 Merge branch 'master' of github.com:kivy/kivy-ios 2019-09-29 12:00:20 +02:00
Mathieu Virbel
f288af58d5 launchimage: sips is broken, code using Pillow
sips issues:
- -Z apply on the destination
- -p doesn't work anymore
- --padColor is ignored

Reimplementation using Pillow also allow us to detect the lower/left pixel to determinate background color
of the launchimages.
2019-09-29 12:00:07 +02:00
Mathieu Virbel
dc695b1392 kivy: pin kivy version to have FBO fixes 2019-09-29 11:58:27 +02:00
richard
75f77fcf4e Update numpy version number 2019-09-28 22:05:16 +02:00
Mathieu Virbel
dff4995035 xcode: fix traceback showed for numpy.
This is supposed to be for debug only.
2019-09-28 18:08:33 +02:00
Mathieu Virbel
06d0c78575 tests: testing library app
By compiling this, we can check if the compilation result is actually
working.
2019-09-28 18:07:25 +02:00
Mathieu Virbel
e58fef85c3 update numpy to 1.16.4
Fixes #327
2019-09-28 18:06:36 +02:00
Mathieu Virbel
49b16c6f0d toolchain: have a better installation method
Instead of installing on a temporary directory, and copying only what
we want, this install directly in the dist,
and the recipe can clean itself in
reduce_python_package().

This prevent the fix for kivy recipes using bdist_egg and easy_install.
2019-09-28 18:04:36 +02:00
Mathieu Virbel
180ad7ebd0 xcode: fix error on missing frameworks directory 2019-09-28 18:02:36 +02:00
Richard Larkin
1d01005ba5 Python3 pillow recipe (#394)
* Pillow 6.1.0 building for python 3

* Added tiff disabling

* Removed prefix patch

* Removed darwin patch

* Removed standard locations patch

* Removed patch file altogether

* Removed easy_install, renamed to libpillow.a

* Added back destdir prefix

* Switched to python3 directory

* Removed commented code

* Remove pkgresources dependency

* Adde pillow 6.1.0 to docs
2019-09-27 23:59:42 +02:00
Mirko
a2de53bc85 Add gif to KIVY_IMAGE in template (#393) 2019-09-25 17:30:13 +02:00
Mirko
cc62c3c56e Fixes missing WKWebView (#392) 2019-09-25 17:29:43 +02:00
Mathieu Virbel
8b463f7c88 fixes missing symbol on subprocess.
Fixes #361
Fixes #372
2019-09-22 23:30:37 +02:00
Mathieu Virbel
51e92ba2ee toolchain: reintroduce junk cleaning
Fixes #388
2019-09-22 23:25:54 +02:00
Mathieu Virbel
0523593c0d kivy: remove unused files on iOS (examples, tools, tests) 2019-09-22 23:25:18 +02:00
Mathieu Virbel
3d76c34ec8 fixes missing CoreMedia and CoreVideo when using Kivy 2019-09-22 19:56:58 +02:00
Mathieu Virbel
f8916b95f5 supports assets for Xcode 10.3 2019-09-22 19:54:37 +02:00
Mathieu Virbel
5a175f44a0
Fixes ITMS-90809 about UIWebView deprecation (#390) 2019-09-22 19:52:42 +02:00
Mirko
2ec7cb5ce0 Updated sdl2, sdl2_image, sdl2_mixer, sdl2_ttf, kivy (#370)
* Updated sdl2, sdl2_image, sdl2_mixer, sdl2_ttf, kivy

* bump kivy version to 1.11.0
2019-09-22 16:48:49 +02:00
Richard Larkin
232f3ba867 Move to explicit python3 usage (#387) 2019-09-19 12:32:25 +02:00
richard
c032abdf83 Added support for pip3 to the toolchain 2019-09-18 22:06:28 +02:00
mahomahomaho
1fc58cb392 Cymunk py3 (#354)
* - recipe which make cymunk build (but doesn't work)

* - cymunk not only builds, but also can be imported

* - python3=>python in cymunk recipe

* - and even single ['python']
2019-09-16 19:54:49 +02:00
GoBig87
c4852a4b97 Adding Zbar Light and Libzbar recipes (#359)
* Adding receipes for zbar camera

Adding recipes for libzbar and zbarlight for ios bar code scanning.

* removed shprint

Removed unnecessary shprint
2019-09-16 19:53:56 +02:00
Benoît HERVIER
ee7abed8dc Fix python recipe folder with the right python folder (python2 or python3) #363 (#364) 2019-09-16 19:53:14 +02:00
Mathieu Virbel
178c696879
Merge pull request #385 from kivy/fix/module_path
Fix inabililty to find included modules
2019-09-16 19:51:50 +02:00
richard
85263a773b Fix inabililty to find included modules 2019-09-16 15:46:31 +02:00
Mathieu Virbel
4ebcfa4a96
Merge pull request #383 from kivy/recipe-curly
add curly and libcurl recipes
2019-09-04 19:47:20 +02:00
Mathieu Virbel
5e4b561d55 add curly and libcurl recipes 2019-09-04 19:46:27 +02:00
Mathieu Virbel
e3fa7a300f
Merge pull request #358 from hackalog/add_info
Add build_info subcommand
2019-02-07 15:48:06 +01:00
Mathieu Virbel
bd2f7da36c
Merge pull request #349 from ssolari/pip_install_fix
fix pip install of modules existing in environment
2019-02-07 10:03:29 +01:00
Hackalog
7dd350c75b Use python logging infrastructure (#357) 2019-02-07 10:00:22 +01:00
Mathieu Virbel
ec7a47513a
Add an example about using pip 2019-02-07 09:59:40 +01:00
Kjell Wooding
7b58f0f6cc clean up output somewhat and add to usage 2019-02-06 23:35:48 -05:00
Kjell Wooding
0e163f4560 Add an info target to display arch/context information 2019-02-06 23:15:25 -05:00
Peter Badida
8f87410cf5
Merge pull request #353 from kivy/opencollective-ad
Update README.md to add opencollective
2019-02-03 13:27:14 +01:00
Mathieu Virbel
a1bec6cfbf Update README.md to add Opencollective (and convert rst->md) 2019-02-03 10:56:45 +01:00