Commits

Show all
Author Commit Message Labels Comments Date
Ronald Oussoren
Add right date for 0.9 release.
Tags
pyobjc-0.9
Ronald Oussoren
- Lib/Foundation/__init__.py: When processing PYOBJCFRAMEWORKS convert the strings added to sys.path to plain strings, Python 2.2 doesn't seem to like our unicode subclass. - Fix bug in 'Cocoa-Python-ObjC Application' template that was introduced during the move of NibClassBuilder to PyObjCTools.
Ronald Oussoren
- Added empty __slots__ definition to test-class in test_posing.py, this way it has some remote change of ever working (without it the class will always get a new instance variable: __dict__). - Fixed Cocoa-Python Document-based Application template: bug introduced during move of NibClassBuilder to PyObjCTools
Bill Bumgarner
undid change that was never intended to make it to repos.
Bill Bumgarner
Moved ProjectBuilder Extras back to /Developer because of a bug in PBX>
Bill Bumgarner
Consolidated post_install and post_upgrade into preflight script. It is safer to delete legacy cruft prior to installing new cruft. Integrated removal of examples and templates from the pre-0.9 location of /Developer. Finished moving templates and language specifications to /Library/Developer as per Apple's informal/unsupported recommendation. Documentation and Examples can also be found in /Library/Developer now.
Bill Bumgarner
Restructured ProjectBuilder support files to no longer install in /Developer/. Added ProjectBuilder language specifications for Python. Updated MANIFEST and make_distrib.py script.
Just van Rossum
don't crash when we're not really installing
Ronald Oussoren
Quick fix for problem with unicode objects. Before this patch the following expression was False: hash(u"") == hash(NSString.stringWithString_('')) even though: u"" == NSString.stringWithString_('') There is no unittest for our unicode objects, I noticed this while checking the failure for the unittest for PyObjCTools.Conversion.
Ronald Oussoren
- Add more news - Make sure the return value is not deallocated before the caller can get its hands on it. Perform '[[value retain] autorelease]' iff the Python version of value has a refcnt of 1 (meaning it will get deallocated after at the end of the conversion). - Actually convert the return value for calls to python of methods with pass-by-reference output arguments. (E.g. unittests are not complete) - Fix for WebServicesTool, seems to work just fine on my system. BTW. While working on de WebServicesTool I noticed that I cannot edit python files in PB, double-clicking starts PythonLauncher!
Bill Bumgarner
Committing the obvious that Jack pointed out. Doh!
Bill Bumgarner
Added some self-documentation to setup.py when the FFI source is missing.
Just van Rossum
fixed a few typos, expanded the string section a bit
Ronald Oussoren
Make sure examples also work with Python 2.2
Just van Rossum
hard wrap a paragraph, updated Lib/ overview
Just van Rossum
expand a bit
Ronald Oussoren
Add HTML documentation to the CVS repository. These are generated files, need to automate generation (yet another file in Scripts) other than by generating a release.
Ronald Oussoren
Fix bit rot.
Ronald Oussoren
- More documentation updates - Remove unnecessary comment from addressbook.py - Cleanup iClass example - method-accessor.py now recognizes special attributes ('__name') and shortcuts there evaluation (only __class__ is really supported, others will raise an AttributeError. Needed for iClass: type(NSFault.pyobjc_instanceMethods) would crash. - AppHelper: Move call to NSLog inside the if-statement, for slightly nicer en…
Just van Rossum
- Use a flag instead of a function object (makes the intention clearer) - Always print the traceback, not only when the user decides to quit. It's always a bug in the program when this happens, so I don't care about the stdout/Console.app clutter. - Do an NSLog() before printing the traceback.
Just van Rossum
style police.
Just van Rossum
Come to think of it, why output imports that are not used?
Just van Rossum
detabbed
Just van Rossum
Prevent nonsense like: "from Foundation import NSObject, NSObject, NSObject"
Just van Rossum
Fixed problem caused by moving NibClassBuilder outside of AppKit: AppKit was always there, so super classes from AppKit would always be found. Fixed by importing AppKit. Also import Foundation instead of showing off by doing objc.lookupClass().
Just van Rossum
removed redundant line.
Ronald Oussoren
Install all project templates.
Ronald Oussoren
Use runEventLoop in examples
Ronald Oussoren
- Fix copy-paste bug in NibClassBuilder - Update tutorial in line with recent updates to the bridge
Ronald Oussoren
Add default argument to runEventLoop
  1. Prev
  2. Next