Commit graph

18 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
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
eacd88bf3f Added the ability to query the safe area (#404) 2019-11-24 23:47:35 +01:00
Mirko
cc62c3c56e Fixes missing WKWebView (#392) 2019-09-25 17:29:43 +02:00
Mathieu Virbel
5a175f44a0
Fixes ITMS-90809 about UIWebView deprecation (#390) 2019-09-22 19:52:42 +02:00
Mathieu Virbel
7c8a2c6c4b rework toolchain for python 3, new possibility to have a specific name for the include directory (like the recipe libffi install in ffi directory, not libffi), and new pyobjus recipe (works with new-ios-toolchain branch). 2018-11-09 17:54:56 +01:00
Mathieu Virbel
811cbd48a7 add alias for hostpython/python, that point to either 2 or 3 version depending of the previous compiled state.
This allows the recipe to point on an versionless python.
2018-11-02 11:44:25 +01:00
Shivani Bhardwaj
c212f02167 Make webview window size customizable
Webview window size can now be passed as a parameter to `open` function of IOSWebview.
2017-06-05 14:31:44 +05:30
Shivani Bhardwaj
399694e0df Add class IOSWebView and wrapper functions 2017-02-27 18:15:20 +05:30
Shivani Bhardwaj
d46da92cc6 Include webview in header 2017-02-27 18:15:01 +05:30
Shivani Bhardwaj
9944c82c7c src: ios_browser: Add support for webview
Add webview support for kivy-ios. Any URL can be opened in webview by
just doing the following:

```
import ios
url = "http://www.google.com"
ios.IOSWebView().open(url)
```

Tested:OK
2017-02-27 18:11:20 +05:30
akshayaurora
2d174322da take account device density, for softinput_mode 2016-05-26 03:09:31 +05:30
akshayaurora
72cbbd9710 WIP:Initial implementation of keyboard_height, we get correct height.
Moving window part is still not tested, fixed.
2016-05-25 02:37:00 +05:30
Mathieu Virbel
f23f86dfef recipes: update all Cython/Python recipe to use new classes 2015-02-25 13:37:52 +01:00
Mathieu Virbel
6238831a83 toolchain: factorize cythonize_build, cythonize and big link 2015-02-23 22:51:16 +01:00
Mathieu Virbel
e51be2eec8 toolchain: handle addition of frameworks/libraries within the Xcode project depending of the compiled recipes.
Done automatically during the creation time, or use the update command
2015-02-23 11:34:36 +01:00
Mathieu Virbel
6ec26f957b ios: add iOS recipe 2015-02-12 00:51:54 +01:00