Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/kivy/pyobjus
Access Objective-C classes from Python
https://github.com/kivy/pyobjus
Merge pull request #11 from trivedigaurav/patch-2
Update pyobjus.pyx
c5e135b8fd86a506d1ff4e67521d86a0024e6353 authored over 10 years ago
Update pyobjus.pyx
Fixed language errors in exception strings.
dac571c527b961763f358a90691d4497b0e72e20 authored over 10 years ago
rework delegate storage: a delegate is now created per class instance and not per class definition. And added experimental "symbol()" function to lookup extern symbol declared in some libraries.
f06c18fa3fd45eb4d0442985eee4d8f93732870a authored almost 11 years ago
f06c18fa3fd45eb4d0442985eee4d8f93732870a authored almost 11 years ago
enhance setup and Makefile to not force compilation of pyobjus, only use depends changes.
ef1d55f8e63a149ef2b049432218a76ae24a7673 authored almost 11 years ago
ef1d55f8e63a149ef2b049432218a76ae24a7673 authored almost 11 years ago
automatic conversion of python object within methods into NSobject, is a nsobject is asked in the signature. + fix recursive call of ObjcMethod.
75f7aaacd6fb2b992d7760b8f5a90b681f484de4 authored almost 11 years ago
75f7aaacd6fb2b992d7760b8f5a90b681f484de4 authored almost 11 years ago
returned nil instance should be exposed as None and not 0.
f3cbf4f960581c6b15e7e66c84ed2f60ea92f51a authored almost 11 years ago
f3cbf4f960581c6b15e7e66c84ed2f60ea92f51a authored almost 11 years ago
delegate: fix conversion of returned value into python (invalid pointer dereference, means we wasnt able to use any object from delegate arguments) + basic support for tagged pointer
7cd262ac2f7e6b9880dc5b3573b55f20ac2a5386 authored almost 11 years ago
7cd262ac2f7e6b9880dc5b3573b55f20ac2a5386 authored almost 11 years ago
experimental protocols discovery from System frameworks / Headers.
481ffb83d2a67b29863da445cebd51a8d0b7e77d authored almost 11 years ago
481ffb83d2a67b29863da445cebd51a8d0b7e77d authored almost 11 years ago
typos
1957aa75bc046ed22144c1cfc327b6012c6eb3e4 authored almost 11 years ago
1957aa75bc046ed22144c1cfc327b6012c6eb3e4 authored almost 11 years ago
fix dev_platform symbol declaration
b0a8d8a5beb45ea1f5939e3a30a4f71d51cb7115 authored almost 11 years ago
b0a8d8a5beb45ea1f5939e3a30a4f71d51cb7115 authored almost 11 years ago
setup: avoid line_prepend, and prefer to generate a configuration file instead.
f97efbf806feb820d0eaadcbaa7ff85f2a3a9001 authored almost 11 years ago
f97efbf806feb820d0eaadcbaa7ff85f2a3a9001 authored almost 11 years ago
enhance debug to use system env
447e4c003d262e399549fe627653e7be81af0600 authored almost 11 years ago
447e4c003d262e399549fe627653e7be81af0600 authored almost 11 years ago
Use @protocol to declare delegate implementation. Ensure that class can be used as delegate, if we have at least one @protocol decorated method. (+ support None as nil for id)
0a73bc2ca7bdea0ef3b68b7ec87bf82c8e0e06f5 authored almost 11 years ago
0a73bc2ca7bdea0ef3b68b7ec87bf82c8e0e06f5 authored almost 11 years ago
Implements Objective C delegate support.
The delegate support is achieved by a objc_delegate() function that converts a Python object to ...
dc51dfee65c7586bec62c9c82c6575757a4c2890 authored about 11 years ago
Merge pull request #6 from ivpusic/master
dylib_manager, objc literals, some bug fixes, docs...
53516dd42f3bd822f9c4264366e53488dcea6eff authored over 11 years ago
added warming about first line of pyobjus.pyx script
fa1d15934c7c38fd6d95901efaa59dd05413f676 authored over 11 years ago
fa1d15934c7c38fd6d95901efaa59dd05413f676 authored over 11 years ago
added varargs docs. updated INCLUDE dict docs
acab3bcae3a442354141f56e6bed16db70805a89 authored over 11 years ago
acab3bcae3a442354141f56e6bed16db70805a89 authored over 11 years ago
added frameworks to INCLUDE dict
9e930c3a20db0c440e509ffb3557e6e6be960947 authored over 11 years ago
9e930c3a20db0c440e509ffb3557e6e6be960947 authored over 11 years ago
added enum types to api.rst
7cce3b1425f0da2b4eeb28f1a67c40bad0f9ffcb authored over 11 years ago
7cce3b1425f0da2b4eeb28f1a67c40bad0f9ffcb authored over 11 years ago
docs for carrray. Little update of rest documentation.
eeb652dd1f801d6e706503b738cbfbf84e2c494a authored over 11 years ago
eeb652dd1f801d6e706503b738cbfbf84e2c494a authored over 11 years ago
corrected pyobjus_ios.rst grammar
242370f4e063d40dc5164cf5ba06da6bbad5aaa7 authored over 11 years ago
242370f4e063d40dc5164cf5ba06da6bbad5aaa7 authored over 11 years ago
fixed grammar mistakes in docs
763759ab64a2f6f4b7491e3285c2f417b099b653 authored over 11 years ago
763759ab64a2f6f4b7491e3285c2f417b099b653 authored over 11 years ago
added example of moving ball with ios accelerometer.
f0e06b34e011486ae54bb233accce42159b1d86c authored over 11 years ago
f0e06b34e011486ae54bb233accce42159b1d86c authored over 11 years ago
added docs for enum types
f27890bba14d988a8b6ccc52ba141c38f49aea3f authored over 11 years ago
f27890bba14d988a8b6ccc52ba141c38f49aea3f authored over 11 years ago
some grammatical mistakes are been corrected
fca195902ca4b60847737db65298a160b02d5924 authored over 11 years ago
fca195902ca4b60847737db65298a160b02d5924 authored over 11 years ago
added pyobjus-ball example to docs
62d0d157eac030f8764d90a432ac45f2c5c4b8f6 authored over 11 years ago
62d0d157eac030f8764d90a432ac45f2c5c4b8f6 authored over 11 years ago
removed unused variable
49fb68216096709d43fb78c9a92f8673e87a5f79 authored over 11 years ago
49fb68216096709d43fb78c9a92f8673e87a5f79 authored over 11 years ago
fixed CGRect on iOS.
70afdec47fe582ee54b6ad2fb22e2c23990a8549 authored over 11 years ago
70afdec47fe582ee54b6ad2fb22e2c23990a8549 authored over 11 years ago
added doc for pyobjus objc types, dylib_manager and pyobjus struct types
aee5c7766e31078f0be4678878e6d4f0cd3fff7b authored over 11 years ago
aee5c7766e31078f0be4678878e6d4f0cd3fff7b authored over 11 years ago
added .rst page which will hold remarks, for eg. issues or todo things. Also fixed some typos inside pyobjus_ios.rst
b9b9fd72b1ffdbf8ae643d95d7b6911118fc509b authored over 11 years ago
b9b9fd72b1ffdbf8ae643d95d7b6911118fc509b authored over 11 years ago
started api doc for objc <-> pyobjus types
8cf330acc4fe1cdda8abb87e04e45275e668de12 authored over 11 years ago
8cf330acc4fe1cdda8abb87e04e45275e668de12 authored over 11 years ago
updated api docs
640d3421db9709cca6610ba89b9eb015110f94b9 authored over 11 years ago
640d3421db9709cca6610ba89b9eb015110f94b9 authored over 11 years ago
added example of accessing magnetometer
d4ecedeb82f4d1780e5ab2231518cd0a7c775254 authored over 11 years ago
d4ecedeb82f4d1780e5ab2231518cd0a7c775254 authored over 11 years ago
added docs for using gyro data with pyobjus
45d13abedc3fb4c793ad1e26ea274df32f9692a7 authored over 11 years ago
45d13abedc3fb4c793ad1e26ea274df32f9692a7 authored over 11 years ago
updated pyobjus-ios docs
2ce7164c06f8a6aee04a2b8a78297e3deea706d0 authored over 11 years ago
2ce7164c06f8a6aee04a2b8a78297e3deea706d0 authored over 11 years ago
added some basic exapmles to docs, how to build pyobjus with kivy-ios
09a090d72fd13471026eac24bb330dfd2e364855 authored over 11 years ago
09a090d72fd13471026eac24bb330dfd2e364855 authored over 11 years ago
added release to object inside bridge class
4034983675e1e5ff15311b4da1629f5843ad3e93 authored over 11 years ago
4034983675e1e5ff15311b4da1629f5843ad3e93 authored over 11 years ago
bridge class updated
3ef7ef9a104e362f988781de528ee966856f28f6 authored over 11 years ago
3ef7ef9a104e362f988781de528ee966856f28f6 authored over 11 years ago
removed first line from pyobjus.pyx. This is critical error is this line is present, because objc_msgSend won't work property if we are running on ios and we have platform='darwin' for the first line
0bec6251d6f6658ed502d96e77ca5d0b4db0e5f9 authored over 11 years ago
0bec6251d6f6658ed502d96e77ca5d0b4db0e5f9 authored over 11 years ago
added test for accelerometer
e79b937f114ce5ac0c1f3d934f9e58dc8893380e authored over 11 years ago
e79b937f114ce5ac0c1f3d934f9e58dc8893380e authored over 11 years ago
new small code reorganization
ec6a0f25d66bef65c683f77b382ce4687d8f5ecf authored over 11 years ago
ec6a0f25d66bef65c683f77b382ce4687d8f5ecf authored over 11 years ago
renames for files and dirs. Added objc_aux dir, which will hold classes which are needed to get work some parts of cocoa api with pyobjus. This will usually be some wrapper functions
e2bcd9f071e93f1c6d5a447157a0073be15d3d32 authored over 11 years ago
e2bcd9f071e93f1c6d5a447157a0073be15d3d32 authored over 11 years ago
small code clean in test for carray
33959cadda84354fe07937beea112bbbfc0fc8ee authored over 11 years ago
33959cadda84354fe07937beea112bbbfc0fc8ee authored over 11 years ago
Merge pull request #7 from ivpusic/carray_impl
Carray impl
738608f01c41f8edd8030d1623f81925a4c5fa07 authored over 11 years ago
resolved conflict
24c5befb2336cff7c37b1badd8cf0c892ec49914 authored over 11 years ago
24c5befb2336cff7c37b1badd8cf0c892ec49914 authored over 11 years ago
Edge case for rounding float decimal tested, additional work is needed
936448442a1a579a3077bdd8b9ea755507512f55 authored over 11 years ago
936448442a1a579a3077bdd8b9ea755507512f55 authored over 11 years ago
Added tests for carray
f34bac61489d23f90b62d7fdf1b759c7e0585423 authored over 11 years ago
f34bac61489d23f90b62d7fdf1b759c7e0585423 authored over 11 years ago
Small code cleanup in example using carray
696329494c48613f15ebca661e03289b7ed65491 authored over 11 years ago
696329494c48613f15ebca661e03289b7ed65491 authored over 11 years ago
Small code cleanup in example using carray
1761cb421da4d298c57ab675f8796ecad5137d44 authored over 11 years ago
1761cb421da4d298c57ab675f8796ecad5137d44 authored over 11 years ago
Fixed returning struct type as array
3d5b69843e44584c09afbd5f79e7351c1c5c60c3 authored over 11 years ago
3d5b69843e44584c09afbd5f79e7351c1c5c60c3 authored over 11 years ago
Struct signature for setting fixed.
71c8f7c7e6c23e53f830c7be9e28fc19c2303903 authored over 11 years ago
71c8f7c7e6c23e53f830c7be9e28fc19c2303903 authored over 11 years ago
Fixed struct signature for array.
5ae0ff41205bd219a62775fff51a604e3584c281 authored over 11 years ago
5ae0ff41205bd219a62775fff51a604e3584c281 authored over 11 years ago
modified: ../objc_usr_classes/CArrayTestlib.dylib
modified: ../pyobjus/objc_py_types.py
modified: ../pyobjus/pyobjus_conversions.pxi
modifie...
Added struct support - still buggy.
a438a8a61ac9f40ea6605693040db14ba947b981 authored over 11 years ago
a438a8a61ac9f40ea6605693040db14ba947b981 authored over 11 years ago
small optimisation inside setup.py
5945657a5e62280da4345a814c32ad94db4827f9 authored over 11 years ago
5945657a5e62280da4345a814c32ad94db4827f9 authored over 11 years ago
removed hardcoded line for indicating platform
d84cf8072f5969d77e7662004d42e2d44b8782bc authored over 11 years ago
d84cf8072f5969d77e7662004d42e2d44b8782bc authored over 11 years ago
some fixes to get work pyobjus structs on arm
8edaf53de2c9ec289fce6ee73bee7c5639b27cba authored over 11 years ago
8edaf53de2c9ec289fce6ee73bee7c5639b27cba authored over 11 years ago
Small code cleanup for multidimensional array.
79b9886b099cf940e6847f75a71fece0a7161f74 authored over 11 years ago
79b9886b099cf940e6847f75a71fece0a7161f74 authored over 11 years ago
Multidimensional array
bd170f4f21bb19946668547fcfde62f835f0e090 authored over 11 years ago
bd170f4f21bb19946668547fcfde62f835f0e090 authored over 11 years ago
Multidimensional partitioning fixed
cbabee7c61a622d7b94340e3b07b2de048f68064 authored over 11 years ago
cbabee7c61a622d7b94340e3b07b2de048f68064 authored over 11 years ago
Merge branch 'master' of https://github.com/ivpusic/pyobjus into carray_impl
330c5626ee8befc15118e3363c2b730cfa6f03d2 authored over 11 years ago
330c5626ee8befc15118e3363c2b730cfa6f03d2 authored over 11 years ago
Merge pull request #6 from ivpusic/test_on_device
Test on device
af2d2a6df5989d6ea419d1c66cf6b553ea361773 authored over 11 years ago
cases for osx/ios setup.py compilation
bc33eb2ded051320018ffed3af1ce8d8d1f8a3e0 authored over 11 years ago
bc33eb2ded051320018ffed3af1ce8d8d1f8a3e0 authored over 11 years ago
test for determinating platform
fbabc833890fc124c8e7703ef6650bad4b053e32 authored over 11 years ago
fbabc833890fc124c8e7703ef6650bad4b053e32 authored over 11 years ago
Additional tests for SEL signature added.
f73b844f39e657dff765ea4f57f716442d6e0ae1 authored over 11 years ago
f73b844f39e657dff765ea4f57f716442d6e0ae1 authored over 11 years ago
DS_Store blacklisted and removed
92ab41061941d4b1054df7985752ee596a457a99 authored over 11 years ago
92ab41061941d4b1054df7985752ee596a457a99 authored over 11 years ago
.DS_Store ignore fixup in .gitignore and remove
8a213e9a452b255f69c4bcb0670d36754a298031 authored over 11 years ago
8a213e9a452b255f69c4bcb0670d36754a298031 authored over 11 years ago
Fixed documentation in using_carray example
cf69ab61b1147a38d7fb804eb1ed45578d17c701 authored over 11 years ago
cf69ab61b1147a38d7fb804eb1ed45578d17c701 authored over 11 years ago
Implemented signature : for array
8f17d6b2b808a102f85a2ba5ac8d916b36a8b582 authored over 11 years ago
8f17d6b2b808a102f85a2ba5ac8d916b36a8b582 authored over 11 years ago
Implemented signature # for array.
4668c4ce15023053785e237bcacb10d0be99d446 authored over 11 years ago
4668c4ce15023053785e237bcacb10d0be99d446 authored over 11 years ago
Implemented all signatures up to @ for array
07595969b8f664fd1596c1cd03df563d8979d313 authored over 11 years ago
07595969b8f664fd1596c1cd03df563d8979d313 authored over 11 years ago
replaced objc-runtime.h with message.h in _runtime.h. Added ffi to libraries list
1d0f458e64ae7a96a4bf803765a6498a8f969e13 authored over 11 years ago
1d0f458e64ae7a96a4bf803765a6498a8f969e13 authored over 11 years ago
Update setup.py
dc6e2bd3a12c5e5bfd270debf58805f411eb1acc authored over 11 years ago
dc6e2bd3a12c5e5bfd270debf58805f411eb1acc authored over 11 years ago
modified setup.py for kivy-ios
a21c12f60f4055aea5aa6115a7b7f41a242483fe authored over 11 years ago
a21c12f60f4055aea5aa6115a7b7f41a242483fe authored over 11 years ago
Small fixup for unittests compatibility with carray
df03f7f55fef1fb13e6500776c438a038e84aba4 authored over 11 years ago
df03f7f55fef1fb13e6500776c438a038e84aba4 authored over 11 years ago
Small code cleanup
3e0cf600b7b062fb1419e9172d891624a7900e04 authored over 11 years ago
3e0cf600b7b062fb1419e9172d891624a7900e04 authored over 11 years ago
modified: ../pyobjus/debug.py
modified: ../pyobjus/pyobjus.pyx
modified: ../pyobjus/pyobjus_conversions.pxi
modified: ...
Fixed second way of dereferencing carray. For methods which return carray and multiple value via "references"
781e816577e744cf93abcef31abf85ef921901de authored over 11 years ago
781e816577e744cf93abcef31abf85ef921901de authored over 11 years ago
added docs tutorials for class and selectors
dd897c76bf0deb96872f5e5fdce8845f9498bd0e authored over 11 years ago
dd897c76bf0deb96872f5e5fdce8845f9498bd0e authored over 11 years ago
Added docs for objc literals. Also added docs for unknown types
5c436a0e1c1897cc566537bdb68a0dd275081cfe authored over 11 years ago
5c436a0e1c1897cc566537bdb68a0dd275081cfe authored over 11 years ago
Added test for dereference function. Added docs for pointers with pyobjus, for struct, started making docs for pyobjus literals
922da4ee88e47f91a18078d5910494b32ce1dc83 authored over 11 years ago
922da4ee88e47f91a18078d5910494b32ce1dc83 authored over 11 years ago
Update README.md
f7ab098a5ba4774658504e0aea9201150c9bcbdf authored over 11 years ago
f7ab098a5ba4774658504e0aea9201150c9bcbdf authored over 11 years ago
Fixed bug in make_dylib function. Added docs for dylib_manager.
59b1f6c57c7402576c68f8f90390a23548a216b4 authored over 11 years ago
59b1f6c57c7402576c68f8f90390a23548a216b4 authored over 11 years ago
Added doc file for explaining how to use autoclass function, and how to call Objective C methods from pyobjus
2622c2fed27e206da9180407b4714a83a5eaafdf authored over 11 years ago
2622c2fed27e206da9180407b4714a83a5eaafdf authored over 11 years ago
Started to write docs for pyobjus new features. Currently added examples of using NSArray and NSDictoinary. Also showed examples of using this classes with pyobjus literals -> Objective C literals equvivalent
b96b828e8b5b85714543b45d7018ee4622a4f9a3 authored over 11 years ago
b96b828e8b5b85714543b45d7018ee4622a4f9a3 authored over 11 years ago
Small code clean
271d9c0346d2ba227a2a76c1fb2986caa53dada9 authored over 11 years ago
271d9c0346d2ba227a2a76c1fb2986caa53dada9 authored over 11 years ago
Examples and tests for pyobjus literals feature
014e8502a000aa5adbe84ec91bf9551085d91724 authored over 11 years ago
014e8502a000aa5adbe84ec91bf9551085d91724 authored over 11 years ago
Added some equvivalent feature to pyobjus for objective c literals. Small bug fix with char signature
3bbee5a4edd02d6ca8a17bdb92ac645f4d5eaea4 authored over 11 years ago
3bbee5a4edd02d6ca8a17bdb92ac645f4d5eaea4 authored over 11 years ago
Added test and example of using new pyobjus feature -> Limiting methods which will be loaded. Also fixed few small bugs in current implementation of that feature
cfb6f402e4b387ee3340e768a716cf29a98d1166 authored over 11 years ago
cfb6f402e4b387ee3340e768a716cf29a98d1166 authored over 11 years ago
Added support for loading only few of the class and/or instance methods of some class. With this objects have less subobjects, so it is more efficient to work with autoclass if it is possible for current user situation.
d4af2d2bf7c93b61a3995f73b5af156d2467f734 authored over 11 years ago
d4af2d2bf7c93b61a3995f73b5af156d2467f734 authored over 11 years ago
Added make_dylib function for making .dylib for user. Also added example of using this feature
118ec008c3c8b84ee0567d7d7792cb87472a1fc7 authored over 11 years ago
118ec008c3c8b84ee0567d7d7792cb87472a1fc7 authored over 11 years ago
Work on dylib_manager. Added load_framework function. Small code cleanup.
056d754803aadc441a64f6c7366a2705d06bb05d authored over 11 years ago
056d754803aadc441a64f6c7366a2705d06bb05d authored over 11 years ago
Removed unused imports
716f4348cdeee7a43019733be1924896826f8f3b authored over 11 years ago
716f4348cdeee7a43019733be1924896826f8f3b authored over 11 years ago
Pyobjus is now under MIT license
0bd346466faf1f463b2b4c0c6f43d94caeab6b2c authored over 11 years ago
0bd346466faf1f463b2b4c0c6f43d94caeab6b2c authored over 11 years ago
Merge pull request #5 from ivpusic/master
objective c <-> pyobjus properties implementation
9f97dcec4650c6e38af41c76aacdd34e79551050 authored over 11 years ago
Merge pull request #5 from ivpusic/issue_replacing_collon
Issue replacing collon
ccecafd7dbba182a6f9cb00953634cc106338218 authored over 11 years ago
Fixed issue related to replacing : with _ and vice versa in method names
bd030a4d0497a898ff8e5470d8c2fef2a63b2cca authored over 11 years ago
bd030a4d0497a898ff8e5470d8c2fef2a63b2cca authored over 11 years ago
Merge pull request #4 from ivpusic/ivars_implementation
Ivars implementation
6343b9a4c0b76cab2a10de54ce556f7660497adf authored over 11 years ago
Added missing filed from last commit
f7456a663522ebbe1b3cd9fa16a395f888781b15 authored over 11 years ago
f7456a663522ebbe1b3cd9fa16a395f888781b15 authored over 11 years ago
Added tests and example of using pyobjus properties feature. Also I made dylib_manager.py file, I don't now currently if this will be very usefull feature, but maybe will be great to user to have option to compile, and load his dylibs without dealing directly with ctypes. Instead of that, maybe it will be easyer to him, to simply call function from our dylib_manager.py
8461fc26265e9b91f3edf52eb692317d5c6df052 authored over 11 years ago
8461fc26265e9b91f3edf52eb692317d5c6df052 authored over 11 years ago