Olli Wang
3761cf233d
Updates print and open file statements for Python3 compatibility.
...
Replaces print statement as print() and replaces file() with open() to resolve error occurred when running the `tools/build-ios.sh` script under Python 3 environment.
Signed-off-by: Olli Wang <olliwang@ollix.com>
2014-02-03 13:58:11 +08:00
Mathieu Virbel
dbec08b234
Merge pull request #79 from olliwang/master
...
Fixes the bug that MFMailComposeViewController not presented properly.
2014-01-31 06:36:30 -08:00
Olli Wang
a5015a746b
Fixes the bug that MFMailComposeViewController not presented properly.
...
The get_viewcontroller() function assumed the SDL window is always the first window in the shared application. However, it is not there. This commit assumes the SDL window is the keyWindow of the shared application.
In the mailComposeController:didFinishWithResult:error: method. The code originally uses the same get_viewcontroller() function to dismiss the modal view. However, uses [controller presentingViewController] is more promising to make sure the view controller that presents the MFMailComposeViewController.
There are also errors showed in the log if animation is disabled. So I changed to use animation on both presenting and dismissing. And the errors in log gone.
Signed-off-by: Olli Wang <olliwang@ollix.com>
2014-01-29 17:07:13 +08:00
Mathieu Virbel
cdd79ab77c
ensure byte-compiling py->pyo will work. closes #71
2013-10-27 13:24:14 +01:00
Thomas Hansen
28d7042856
Fixes for changes introduced by installing new XCode5 CommandLineTools, which put system headers in /usr/local. This change makes sure that the hostpython is using the system sdk, and PIL does not explicitly include /usr/include etc. as the highest priority path to look for headers in...that wont work if we are cross compiling.
2013-10-25 15:23:44 -05:00
Mathieu Virbel
7f247d4af3
fixes bad path resolution in Python setup.py (zlib.h is not located into /usr/include anymore.)
2013-10-25 17:33:47 +02:00
Mathieu Virbel
71a81a6924
force environ when opening a subprocess (cythonize)
2013-10-22 13:29:45 +02:00
Mathieu Virbel
d82802f277
Merge pull request #66 from shadowmint/master
...
Fixed PIL build flags and Tremor import path
2013-10-18 04:54:42 -07:00
Mathieu Virbel
bf9725d684
Merge pull request #67 from Zen-CODE/pyobjus
...
fix: correct permission issue in cloning repo
2013-10-18 04:54:28 -07:00
Richard Larkin
0c21ea6f77
fix: correct permission issue in cloning repo
2013-10-16 20:28:04 +02:00
doug
45aee82636
libtremor download is now more robust on failure
2013-10-16 09:21:03 +08:00
doug
36d27030dd
Fixed PIL build flags and Tremor import path
2013-10-12 20:47:35 +08:00
Mathieu Virbel
9b35cdbaa2
activate pyobjus again
2013-10-08 11:07:24 +02:00
Mathieu Virbel
395c40b9af
first pass to move from llvm-gcc-4.2 to clang
2013-10-08 11:02:05 +02:00
Mathieu Virbel
07944c3a70
pyobjus: replace the ivpusic repo to kivy repo
2013-09-28 00:04:52 +02:00
Mathieu Virbel
7eb5961d88
Merge pull request #61 from ivpusic/master
...
pyobjus support
2013-09-27 15:03:33 -07:00
Mathieu Virbel
2eb4a926c9
Merge pull request #64 from Zen-CODE/sed_fix
...
fix: prevent 'illegal byte code sequence' when parsing png files
2013-09-27 15:03:19 -07:00
Richard Larkin
b3a9b5bee5
fix: prevent 'illegal byte code sequence' when parsing png files
2013-09-27 14:38:31 +02:00
ivpusic
5df6c725a9
updated project template. Also updated script for building pyobjus. Script now copy bridge.m/h files to templates dir, so they can be included by default as some start template for new projects. It contains code for accelerometer
2013-09-04 01:53:33 +02:00
ivpusic
37d718c20f
removed cythonizing from build-pyobjus. cythonizing is now donne inside setup.py
2013-08-28 04:29:55 +02:00
ivpusic
16f0618c0e
small fix
2013-08-27 14:05:56 +02:00
ivpusic
4fae87d527
updated project template
2013-08-27 14:00:29 +02:00
ivpusic
aca9a0eab7
added missing patches
2013-08-27 00:33:42 +02:00
ivpusic
21efbbe530
added fix for message -> sed: RE error: illegal byte sequence
2013-08-26 23:39:35 +02:00
ivpusic
612d0925c7
updated template project. Added libffi.a and libpyobjus to link with binaries section
2013-08-26 23:22:49 +02:00
ivpusic
330c1974b6
pyobjus is getting code from ivpusic/master instead of ivpusic/test_on_device branch
2013-08-26 20:52:24 +02:00
ivpusic
8217ea4a55
fixed ctypes error. Added .patch files for required modifications to get working pyobjus on iOS.
2013-08-26 20:39:29 +02:00
ivpusic
a2aeb88386
fix for _ctypes compilation on device
2013-08-26 04:07:09 +02:00
ivpusic
43b613d9fa
some patches for _ctypes compilation. Still it doesn't works.
2013-08-23 14:16:31 +02:00
ivpusic
aedcd4e9eb
added build libffi script, and fix of pyobjus script
2013-08-22 19:14:21 +02:00
ivpusic
a4b5540d3e
added build-pyobjus.sh script
2013-08-21 14:09:25 +02:00
Mathieu Virbel
490b7d45b2
manually add /usr/local/share/aclocal to find pkg.m4.
2013-08-02 13:35:48 +02:00
Mathieu Virbel
07aafa03ba
Kivy-ios is now under MIT license
2013-08-01 16:35:52 +02:00
Mathieu Virbel
f6d19de71e
Merge pull request #53 from tonibagur/master
...
Adding PIL support(with jpeg+png) to kivy-ios
2013-07-21 04:14:52 -07:00
Mathieu Virbel
e0aea626f7
Merge pull request #50 from beanandbean/master
...
Remove type error in README.rst
2013-07-13 10:13:49 -07:00
Toni Bagur
3f37ca6d52
Modifying the main build script in order to include the jpeg and pil building processes
...
modified: build-all.sh
2013-07-13 11:17:39 +02:00
Toni Bagur
02278679df
modified: src/jpeg_files/jpeg_makefile.patch
...
modified: src/pil_files/patch_pil.patch
modified: tools/build-libjpeg.sh
2013-07-12 15:11:30 +02:00
Toni Bagur
443cce7076
Fixing some problems in the libjpeg building process
...
new file: ../../src/jpeg_files/jpeg_makefile.patch
modified: ../../tools/build-libjpeg.sh
2013-07-12 14:31:01 +02:00
Toni Bagur
5561d15db5
Adding scripts to build PIL for kivy-ios
...
new file: pil_files/patch_pil.patch
new file: ../tools/build-libjpeg.sh
new file: ../tools/build-pil.sh
2013-07-12 11:16:34 +02:00
Mathieu Virbel
1f975c73cf
use stable kivy branch by default
2013-05-13 10:39:32 +02:00
Mathieu Virbel
4a132275cb
avoid listing non-existing path in PATH.
2013-05-07 08:48:16 +02:00
beanandbean
38e438ebe5
Update REANME.rst: change build_all.sh to build-all.sh
2013-05-05 10:19:08 +08:00
Mathieu Virbel
da698b29a6
ios bootstrap: if we dont detect xcode environment, fake stdout/stderr to not crash on print, Logger, and anything that could use sys.stdout/err.
2013-04-26 12:13:23 +02:00
Mathieu Virbel
cc4577186a
force setting to not strip the product on installation (STRIP_INSTALLED_PRODUCT = NO)
2013-04-15 15:35:01 +02:00
Mathieu Virbel
bca88cbb8d
fix DEBUG -> ifndef. condition was inverted ?!!!!
2013-04-15 15:28:02 +02:00
Mathieu Virbel
7b44cdefc3
make cython check optional
2013-04-15 08:51:42 +02:00
Mathieu Virbel
6b5c3a691c
env: add manually /usr/local/bin to the PATH, seems like on some setup, its not included by default.
2013-04-11 23:09:12 +02:00
Mathieu Virbel
4fbea35e17
allow "tex" image loader by default, and add DEBUG=1 for showing the log in the console, only in debug mode.
2013-03-08 00:07:55 +01:00
Mathieu Virbel
6af1a56be6
update to latest SDL master. keyboard API changed, kivy need to be updated as well.
2013-03-03 06:34:46 +01:00
Mathieu Virbel
066e868534
add requirements check for autoconf, automake, libtool, pkg-config, hg
2013-03-01 18:40:51 +01:00