Commit graph

192 commits

Author SHA1 Message Date
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
Richard Larkin
93c792e5e9 Add pyobjus dependency. closes #229 2016-12-14 13:42:57 +02:00
Richard Larkin
81121838c9 Merge pull request #204 from sighthoundinc/master
Update python loader to load from frameworks as well as main exe (i.e…
2016-11-09 23:28:49 +02:00
Henrique Dias
5a07f17f86 The recipe don't download the archive.
If I try download the archive manually, this url "http://vorboss.dl.sourceforge.net/project/libpng/libpng16/1.6.24/libpng-1.6.24.tar.gz" redirect to "https://sourceforge.net/projects/libpng/files/"

...
Extract libpng
Extract libpng for i386
Traceback (most recent call last):
  File "./toolchain.py", line 1311, in <module>
    ToolchainCL()
  File "./toolchain.py", line 1082, in __init__
    getattr(self, args.command)()
  File "./toolchain.py", line 1106, in build
    build_recipes(args.recipe, ctx)
  File "./toolchain.py", line 974, in build_recipes
    recipe.execute()
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 585, in execute
    self.extract()
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 56, in _cache_execution
    f(self, *args, **kwargs)
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 621, in extract
    self.extract_arch(arch.arch)
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 625, in extract_arch
    dest_dir = join(build_dir, self.archive_root)
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 577, in archive_root
    value = self.get_archive_rootdir(self.archive_fn)
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 442, in get_archive_rootdir
    archive = tarfile.open(filename)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tarfile.py", line 1673, in open
    return func(name, "r", fileobj, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tarfile.py", line 1738, in gzopen
    fileobj = gzip.GzipFile(name, mode, compresslevel, fileobj)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gzip.py", line 94, in __init__
    fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
IOError: [Errno 2] No such file or directory: '/Users/prrcarvalho/Development/kivy-ios-master/.cache/libpng-libpng-1.6.24.tar.gz'
2016-11-09 18:24:16 +00:00
Richard Larkin
77d8d52e59 Merge pull request #209 from filipefigcorreia/libpng-recipe
New recipe for libpng
2016-11-09 20:00:57 +02:00
Robert Niederreiter
7cca79030a Avoid errors from setuptools if installed as egg with .pth mapping on subsequent package installs with hostpython 2016-10-14 16:46:33 +02:00
Robert Niederreiter
d79e7cf1a9 fix host_setuptools
reset kivy download url
2016-10-14 11:02:34 +02:00
Robert Niederreiter
d6f2e3f8d2 merge kivy master 2016-10-12 15:23:51 +02:00
Filipe Correia
48761f778d Recipe for libpng. 2016-09-06 00:04:08 +01:00
Liu Chao
bbf6896423 add sed command for replace setuptools to distutils.core. 2016-07-30 10:52:11 +08:00
Liu Chao
fcae0e45bc Merge remote-tracking branch 'upstream/master' 2016-07-29 15:14:27 +08:00
Richard Larkin
fe5add1699 Merge pull request #176 from strakh/master
pyyaml recipe
2016-07-28 08:36:50 +02:00
Richard Larkin
982b79b232 Merge pull request #146 from cbenhagen/patch-3
build ffpyplayer version 3.2 instead of master
2016-07-24 03:53:24 +02:00
Richard Larkin
a92f98ec5e Merge pull request #202 from kivy/ast_fix
Redirect Python-ast lookup to 'hostpython'. Fixes #201
2016-07-13 11:58:30 +02:00
Richard Larkin
503adbd376 Merge pull request #194 from kivy/keyboard_height
Keyboard height
2016-07-12 22:21:23 +02:00
Zen-CODE
3e4eb4bfed Grammar tweaks 2016-07-11 21:43:44 +02:00
RJ Burnham
987314376b Update python loader to load from frameworks as well as main exe (i.e. we have kivy embedded in a framework) 2016-07-11 15:00:03 -04:00
Richard Larkin
320c0808c0 Added explanatory note 2016-07-11 15:10:46 +02:00
Richard Larkin
24b3ded916 Redirect Python-ast lookup to 'hostpython'. Fixes #201 2016-07-04 12:00:39 +02:00
Richard Larkin
1a6d513099 Merge branch 'master' of git://github.com/kivy/kivy-ios 2016-06-28 15:57:55 +02:00
Richard Larkin
7080a9dadc Updated version of openssl 2016-06-28 15:54:38 +02:00
Richard Larkin
b64efeef31 Merge pull request #182 from ericatkin/master
Remove .exe suffix on make target
2016-06-28 15:50:36 +02:00
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
Ryan Pessa
2dd764f8db add ccache support 2016-04-16 23:15:15 -05:00
ericatkin
220c0747e1 Remove .exe suffix on make target 2016-04-05 22:56:20 -06:00
Robert Niederreiter
cc8a8a1393 working openssl version 2016-03-08 08:06:09 +01:00
Robert Niederreiter
270160d2cf merge latest master 2016-03-04 09:28:08 +01:00
Ben Hagen
856af14050 build version 3.2 instead of master 2016-02-21 20:19:44 +01:00
Akshay Arora
78a870c5f3 Update openssl version 2016-02-17 19:52:45 +05:30
Stepan Rakhimov
d00ad73752 distriute recipe, may be useless since distribute is already in python 2016-02-14 14:50:43 +01:00
Stepan Rakhimov
3a3cb22666 my failed try to fix setuptools 2016-02-14 14:49:25 +01:00
Stepan Rakhimov
6b09dacfba numpy fix to provide includes for other recipes 2016-02-14 14:47:35 +01:00
Stepan Rakhimov
9c828b2932 pyyaml cleanup 2016-02-14 14:42:47 +01:00
Stepan Rakhimov
0df3712980 PyYaml recipe 2016-01-26 22:37:33 +01:00
Zen-CODE
5fc587901b Updated Kivy version to 1.9.1
Tested and working on iPad, iOS 9.2
2016-01-14 10:52:49 +02:00
Zen-CODE
ea335f77a6 Updated to latest version of OpenSLL 2016-01-13 17:00:02 +02:00
Liu Chao
421ff0df0b add flask and flask depend recipes. 2015-11-27 00:24:35 -08:00
Mathieu Virbel
20e30b1668 Merge pull request #154 from kivy/photolibrary
New Photolibrary recipe for accessing gallery and camera
2015-11-16 15:23:42 +01:00
Mathieu Virbel
727b193bb4 Merge pull request #151 from kivy/pycrypto_recipe
New Pycrypto recipe
2015-11-16 15:23:19 +01:00
Mathieu Virbel
390090b457 Merge pull request #164 from cbenhagen/patch-1
remove duplicate declaration of options
2015-11-16 15:22:27 +01:00
Joe deBlaquiere
29b4aeec5e cleanup; builds for xcode 6 and 7 2015-11-01 15:27:21 -05:00
Joe deBlaquiere
1ef0fd54e3 set PYTHONHOME for hostpython 2015-10-28 21:00:21 -04:00
Joe deBlaquiere
88b5b22e67 changes to build python for target 2015-10-27 14:34:25 -04:00
Joe deBlaquiere
6443c155f1 build hostpython using MacOS libffi instead of cross-compiled ffi 2015-10-27 13:29:22 -04:00
Ben Hagen
7aa1daa352 remove duplicate declaration of options 2015-10-21 15:02:42 +02:00
Mathieu Virbel
07e12fd2b8 sdl2: add a feature that make the SDL2 GL context transparent (non-opaque) if UIKIT_TRANSPARENT is set in the environ. (this must be done before the window creation, so main.m is a good place) 2015-08-20 17:37:00 +02:00
Mathieu Virbel
3f83bbffab ffmpeg: activate openssl if compiled 2015-08-14 16:11:59 +02:00
Mathieu Virbel
7cb22bd0ec recipes: add openssl optional recipe for ffmpeg and python 2015-08-14 12:18:15 +02:00
Mathieu Virbel
7bab19f837 fix ffmpeg compilation issue and reduce ffmpeg size by compiling just h264/aac like android 2015-08-14 02:32:10 +02:00
Mathieu Virbel
2c04994b71 Merge pull request #130 from cbenhagen/ffmpeg-fix
move LDFLAG -undefined dynamic_lookup to python recipe
2015-08-08 00:09:31 +02:00
akshayaurora
296d331935 Python recipe: Make openssl module optional 2015-08-07 22:44:44 +05:30
Akshay Arora
46d24567bd Merge pull request #132 from cbenhagen/openssl
add openssl recipe
2015-08-07 22:40:58 +05:30
Mathieu Virbel
e3fc0af6a3 python: add csv module by default 2015-08-07 18:07:49 +02:00
akshayaurora
67a440561a New Photolibrary recipe for accessing gallery and camera 2015-07-27 20:46:20 +05:30
akshayaurora
2f5f17b578 pycrypto use setup.py --prefix instead of easy_install 2015-07-19 23:32:50 +05:30
akshayaurora
0985301591 include target_dir option to apply_patch` method 2015-07-18 00:00:22 +05:30
akshayaurora
70d2b43e2a New Pycrypto recipe 2015-07-17 17:02:27 +05:30
Ben Hagen
8b1c94153d update openssl version to 1.0.2d 2015-07-15 17:54:40 +02:00
Robert Niederreiter
50f4cfbfd5 update openssl version 2015-07-14 22:11:28 +02:00
Robert Niederreiter
3912d37c49 kivy download url and version 2015-07-03 09:21:42 +02:00
Robert Niederreiter
20a6815b3b use rnixx fork of kivy 2015-07-02 15:02:57 +02:00
Robert Niederreiter
f9eb90918e Merge branch 'openssl' of https://github.com/cbenhagen/kivy-ios 2015-07-02 13:41:54 +02:00
Mathieu Virbel
9826a7cba0 Merge pull request #143 from cbenhagen/patch-1
build kivy version 1.9.0 instead of master
2015-06-30 21:20:41 +02:00
Mathieu Virbel
aaa05a5724 Merge pull request #144 from cbenhagen/patch-2
update ffmpeg version to 2.6.3
2015-06-30 21:20:26 +02:00
akshayaurora
9700c87c87 fix egg permission error on actual device. 2015-06-30 22:53:17 +05:30
Ben Hagen
83de01938a update ffmpeg version to 2.6.3 2015-06-14 20:11:34 +02:00
Ben Hagen
07d9c4fa2b update openssl version to 1.0.2c 2015-06-14 19:50:28 +02:00
Ben Hagen
ac04e98388 build kivy version 1.9.0 instead of master 2015-06-14 19:30:25 +02:00
Ben Hagen
87d2c8b9fc don't enforce python to compile SSL 2015-06-12 14:31:34 +02:00
Ben Hagen
a241a524b1 update openssl version 2015-06-12 14:13:08 +02:00
Ivan Petukhov
0699ec691c Fix "SDL.h" dnot found 2015-06-01 22:09:13 +03:00
Mathieu Virbel
e70185dfdb Merge pull request #131 from cbenhagen/ffmpeg-update
FFmpeg update
2015-05-15 14:02:24 +02:00
Mathieu Virbel
a9b85cfe78 few fixes to prevent rejection from the app store. Closes #133 2015-04-30 19:51:01 +02:00
Ben Hagen
4c14123e53 add openssl dependency to python
maybe this should be optional?
2015-04-29 02:44:29 +02:00
Ben Hagen
f5ca504a39 add openssl recipe 2015-04-29 01:35:39 +02:00
Ben Hagen
e87cb0286f compile ffmpeg with -j4 as the other recipes
maybe this could be set dynamically by the toolchain?
2015-04-28 18:41:47 +02:00
Ben Hagen
1258bf9791 bump version to 2.6.2 2015-04-28 18:41:47 +02:00
Ben Hagen
ddf50b38b5 move LDFLAG -undefined dynamic_lookup to python recipe
Fixes the compilation problems of ffmpeg and allows the removal of an
hotfix in the ffmpeg recipe.
2015-04-28 18:19:50 +02:00
Mathieu Virbel
77f5bf0ac3 prevent numpy to cythonize or _initmtrand will mess up 2015-04-05 10:17:25 +02:00
Mathieu Virbel
657da67003 kivy: point the kivy recipe to master, ios-poly-arch is merged 2015-03-16 15:19:14 +01:00
Mathieu Virbel
e05c8dab0f audiostream: add missing sdl2_mixer dependency 2015-03-04 16:42:32 +01:00
Mathieu Virbel
12c9b009a3 pymoodstocks: fix url 2015-02-27 19:57:47 +01:00
Mathieu Virbel
554c1cef64 moodstocks/pymoodstocks: add recipes for supporting the moodstocks SDK and pymoodstocks (powered by Kivy!) 2015-02-27 18:55:04 +01:00
Mathieu Virbel
d04fd46bf2 Merge pull request #119 from kivy/pil
Include the pkgresources version that works with pil instead of taking i...
2015-02-27 15:49:34 +01:00
akshayaurora
91e24a0afa Include the pkgresources version that works with pil instead of taking it from the system where it might not exist. 2015-02-27 20:15:29 +05:30
Mathieu Virbel
49c67b2291 Merge branch 'poly-arch' of ssh://github.com/kivy/kivy-ios into poly-arch 2015-02-27 10:49:32 +01:00
Mathieu Virbel
e1273532f9 pyobjus: fix compilation, cythonize changes methods and pyobjus cannot work after that. 2015-02-27 10:49:04 +01:00
Mathieu Virbel
381fb1f2c1 Merge pull request #118 from kivy/pil
Pil
2015-02-27 09:12:24 +01:00
akshayaurora
69813cd5da recipes for pillow, libjpeg, host_setuptools, pkgresources 2015-02-27 04:07:19 +05:30
akshayaurora
f353960298 New: libjpeg and libz recipes, pil recipe WIP 2015-02-27 04:07:19 +05:30
Mathieu Virbel
c9231773b1 kivy: fix recipe 2015-02-25 18:51:03 +01:00
Mathieu Virbel
854ab2f8ca Merge branch 'poly-arch' of ssh://github.com/kivy/kivy-ios into poly-arch 2015-02-25 13:44:13 +01:00
Mathieu Virbel
00affb6b94 plyer: new recipe 2015-02-25 13:41:08 +01:00
Mathieu Virbel
f23f86dfef recipes: update all Cython/Python recipe to use new classes 2015-02-25 13:37:52 +01:00
Mathieu Virbel
c0f5cae59a toolchain: provide a PythonRecipe and CythonRecipe for simpler recipe implementation 2015-02-25 13:37:26 +01:00
Sylvain Alborini
5c0938d388 share and bin are directories 2015-02-24 12:52:26 +01:00
Mathieu Virbel
107bc6a49a numpy: new numpy 1.9.1 recipe 2015-02-24 12:02:31 +01:00