Source

pyobjc / setup.py

The branch 'pyobjc-ancient' does not exist.
Author Commit Message Labels Comments Date
Ronald Oussoren
- Update documentation for the new example - Deprecate objc.pyobjc_unicode.syncNSString - Some gnustep fixes
Branches
pyobjc-ancient
Bob Ippolito
test for bug #836247
Branches
pyobjc-ancient
Ronald Oussoren
2 major changes: - Support for GNUstep - Support for PEP311 Also: - Add wrappers for SecurityInterface framework - Add simple unittests for all frameworks, to be sure that the wrappers can be used. - Add wrappers for newly introduced difficult methods (and some old) - Add annotation to method signatures (in, out, inout) where applicable. - Add partial support for PEP311: it is now always save to call from Objective-C into Python using easy methods (e.g…
Branches
pyobjc-ancient
Ronald Oussoren
- Fix NSRectFillList - Prepare for 1.0rc3
Branches
pyobjc-ancient
Ronald Oussoren
Getting ready for 1.0rc2
Branches
pyobjc-ancient
Ronald Oussoren
- Try to clear up a number of exception messages - OC_PythonObject methods -valueForKey and -takeValue:forKey: are now implemented using getKey and setKey from PyObjCTools.KeyValueCoding. - Remove the KeyValueCodingMixIn class from that module, it's not necessary. - Make Doc/wrapping.txt slightly less confusing, based on input by Pierce T. Wetter III <pierce (at) twinforces (dot) com> - the getKey function now checks if object.key is a metho…
Branches
pyobjc-ancient
Bill Bumgarner
Added tests for key/value coding compliance that is in line with the Objective-C implementation. Added mix-in class to KeyValueCoding.py that can be added to any Python class to make it compatible with key/value coding when passed across the bridge into Python-- for performance reasons, it might make more sense to implement said code in the bridge itself.
Branches
pyobjc-ancient
Ronald Oussoren
- Much improved NSKeyValueCoding support, including a python module that makes it possible to use Key-Value Coding with unmodified plain python classes. Lightly tested, but including unittests. - Adapted Scripts/CodeGenerators to deal with 'static inline' functions (in Foundation), and some more basic C types. - Fix names in objc.module (recycle_autorelease_pool -> recycleAutoreleasePool, and simularly for some other internal functions) - Move some 'convert' functions from Scripts/CodeGenerators to the PyObjC API. - Start documentation for PyObjCTools package, and updates for the…
Branches
pyobjc-ancient
Ronald Oussoren
- unicode-object.m, NEWS: Add pickling support, we pickle in such way that our unicode objects are restored as normal unicode objects - objc-object.m, NEWS: Add __reduce__ method to make sure pickling won't work, not even with protocol version 2. Without this fix, pickling with protocol version 2 would dump incomplete objects. - setup.py: Fix dependencies and PyPI information - class-builder.m: Workaround for undocumented runtime feature: the method lists us…
Branches
pyobjc-ancient
Ronald Oussoren
- Fix release-date in the NEWS file - Add notes about WebKit to the Install.txt - coding-style.html was updated when I recreated the HTML (?) - website.lst: Update for the 1.0b1 release on our website - make_distrib.py, postflight: Move nibclassbuilder to the right location after installation, instead of installing it directly into /usr/local/bin (solves #741782) - update setup.py to enable builds on system with Safari 1.0 but w…
Branches
pyobjc-ancient
Ronald Oussoren
- Updates for the 10.1 port. - The generator scripts work just fine on 10.1, therefore the generated files can be removed from CVS. The 10.1 port is not fully functional (it crashes during the unittests), but should be good enough to write usefulll programs.
Branches
pyobjc-ancient
Ronald Oussoren
- detab the CodeGenerator scripts - add some missing files - make sure buildpkg.py works with the newly added InstallationCheck (untested)
Branches
pyobjc-ancient
Ronald Oussoren
- Make the generator script less verbose, to avoid scaring users - Make sure the generator script works correctly on systems without PyObjC - Get ready for a 1.0b1 release - Find NSString constants using CFBundle functions, this way a PyObjC build on a system with WebCore SDK can be used on a system without Safari 1.0
Branches
pyobjc-ancient
Bill Bumgarner
Modified build to always invoke inc generator; this ensures that a build on any given system will include the appropriate enumerated types, etc, for that specific system. Fixed a naming error in coco_generator; was generating the wrong named inc files for preference panes. Removed inc files that are auto-generated.
Branches
pyobjc-ancient
Ronald Oussoren
Add more WebKit stuff, including support for the actual WebKit.framework. The latter should not give builderrors on systems without WebKit (not that this is very helpfull given the build-errors for Foundation on such systems)
Branches
pyobjc-ancient
Ronald Oussoren
- Regenerate HTML - Trying to speed up framework initialization: * Add a list of class names to the __init__.py. During initialization of the bundle we don't lookup the items in the list, but assume that these really are defined in the bundle. This seems to be a bit faster on my box. - test_weirdness.py used to be in Examples
Branches
pyobjc-ancient
Ronald Oussoren
- Add function to add the right signature to an NSSheet callback to AppKit/__init__.py. - Scan Foundation for methods that cannot be handled automaticly, the script is Scripts/find-raw-pointers.py. - Add (stubs) for the methods that need to be processed manually. The stubs have to be completed, and the same thing has to be done for the other wrapped frameworks. We also have to add unittests for all methods that are treated specially. - Update api-notes-m…
Branches
pyobjc-ancient
Ronald Oussoren
* Remove usage of informal_protocol objects from the examples * Add in/out/inout annotations for a number of methods * Added generic support for converting "opaque" pointers to/from Python and used this to wrap methods using NSZone and CF types. * Fix for subclassing of the 'difficult' methods of NSBezierPath * Added support for some of the difficult methods of NSDictionary * Added empty file that will contain the support for difficult methods of NSArray…
Branches
pyobjc-ancient
Ronald Oussoren
/tmp/cvs9NJIkx
Branches
pyobjc-ancient
Ronald Oussoren
Updated protocol handling. It is no longer necessary to specify the list of protocols defined by a class, the bridge will calculate this list based on the methods implemented by a class. Also fix the definition of a number of protocols. This implements some more methods on NS{Mutable,}Dictionary to make it more dict-like. The 'poseAsClass:' method is disabled because it crashes the brige due to the implementation of that method in Objective-C. Given the other problems of poseAs I don't think it would be usefull to fix this right now.
Branches
pyobjc-ancient
Ronald Oussoren
- Enable more warnings during compilation, and fix the resulting messages - Add wrappers for decoding of plain ObjC types (NSCoding) - Add NS{Mutable,}Dictionary.items() - Regenerate Doc/*.html - Add a document that will contain information about how the Cocoa API's as exposed by PyObjC are different from the Objective-C API's. - Add script to run all tests in 1 python session, this is a script by Dinu Gherman with minor updates by me.
Branches
pyobjc-ancient
Ronald Oussoren
This reenables the informal protocol checking code (but introduces a limited memory leak: We never clean up entries in the selector-to-protocol mapping). More importantly this adds an incomplete rewrite of Lib/objc/test_methods.py, this version is generated to make it easier and less error-prone to update these tests. Currently this only tests calls from Python to Objective-C, but the C code for testing calls from Objective-C to Python is already present. These new testcases uncovered some bugs w.r.t multiple-argument method-calls, mostly having t…
Branches
pyobjc-ancient
Ronald Oussoren
Don't try to compile code that doesn't exist yet
Branches
pyobjc-ancient
Ronald Oussoren
the func_builder.py script generated bad calls to PyArg_Parse...(): It tested the result for '< 0' instead of treating the return value as a boolean. This bug has been present for a very long time (as in 'from the start').
Branches
pyobjc-ancient
Ronald Oussoren
+-----+ | * * | <-- Ronald in a brown paper bag :-( | | I found the culprit for the problems I was having with the +-----+ move of instance state to Objective-C: Some bogus code in | | class-builder.m. This patch also cleans up the unittests (remove 'suite' definitions, these weren't used anyway). Dinu's allTestsTogether.py caused some crashes, these are also fixed.
Branches
pyobjc-ancient
Ronald Oussoren
- Temporarily move instance state back into Python, the newer code is not stable enough. - Enable more compiler warnings, and fix at least some of them
Branches
pyobjc-ancient
Ronald Oussoren
- Instance-state is completely stored in Objective-C, we no longer have a "siamese twin" pair of ObjC and Python objects. - As a side-effect of the previous item it is now possible to use poseAs: (as in "it doesn't crash", I haven't tested if this actually works). - Pure objective-C objects no longer have a __dict__, the __dict__ of proxies was a bug. This code is pretty rough, and there are some bugs left. Most importantly: __del__ is called when the last reference from Python goes away, and not when the object dies. As a work-around you can use __pyobjcdel__ instead, I'm working on a better fix.
Branches
pyobjc-ancient
Ronald Oussoren
- Completely remove non-libffi support, including some code cleanups. This removes a lot of code (not only the entire file register.m, but also lots of duplicate code in Modules/{Foundation,AppKit}. - Minor update to test_nsnumber.py to make sure it works on MacOS X 10.1 - Added tests for Objective-C instance variables. - Add custom wrappers for NSMovie.initWithMovie_ and NSMovie.QTMovie. Actually using these requires MacPython 2.3. - Update NEWS file for thes…
Branches
pyobjc-ancient
Ronald Oussoren
- Add some documentation on how to do releases (thanks to Jack for the idea) - Make sure the NEWS update will be mostly correct around the time we want to do the next release - Add meta-data defintions to setup.py, helps with PyPI registrations. This needs some more work. - Add support for (semi-)automatic conversions between Objective-C objects and CoreFoundation objects (wrapped by Carbon.CF types). This probably requires MacPython 2.3. I don't like the fact that…
Branches
pyobjc-ancient
Ronald Oussoren
- Cleanup MacOS X 10.1 support - Libffi does compile on 10.1, only the test program 'ffitest.c' fails, more updates for an libffi-enabled build on 10.1. - objc_support.h should not be used outside of Modules/objc, two functions to pyobjc-api.h that make this possible. Also update the other modules. - 10.1 support is making progress, some tests pass. Mosts tests (and real programs) give segmentation faults.
Branches
pyobjc-ancient
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. Next