Commits

Show all
Author Commit Message Labels Comments Date
Ronald Oussoren
Add 'callable' attribute to selectors, giving access to the python function implementing the method. TODO: Check if there are other non-exported attributes of selectors. Use this new attribute to implement classAdMethod in Python.
Just van Rossum
one more typo
Just van Rossum
various tweaks, expanded the bundlebuilder part considerably
Ronald Oussoren
- Minor documentation updates, the real updates have to wait for a print-out - Fix the key-value encoding stuff (that is: uninttest pass). I don't like the solution yet. - Make sure examples actually work. - CodeGenerator script should only emit code if the current version is stale, hack this in using 'dupfile'.
Just van Rossum
link to .html, not .txt
Just van Rossum
explain why the delegate must be retained
Just van Rossum
fix HelloWorld.py: keep a reference to the app delegate
Ronald Oussoren
Added script for checking if we're installing on a supported version of MacOS X. Mostly untested.
Bill Bumgarner
forgot some files for key/value coding support.
Bill Bumgarner
Added classAddMethod() -- with testing. It allows the developer to add a method to any class under a different name than the one specified in the method object itself. Starting to add Key/Value coding support.
Just van Rossum
syncing with Python CVS (post 2.3b2, though!): - added --semi-standalone option for making compact distributable apps that will use Jaguar's Python 2.2 - better support for nested extension modules, neater .so organization in Contents/Resources/ExtensionModules/ (only with 2.3/zipimport) TODO: I should write a "Building apps without PB" documentation chapter.
Just van Rossum
use AppHelper.runEventLoop()
Ronald Oussoren
- Enable package-building in Scripts/make_distrib.py - Regenerate documentation - Minor updates to tutorial_reading.txt: It was not valid ReST - Layout changes to tutorial_embed.txt, add a comment. I've verified that you'll end up with a working proram when following steps the tutorial.
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
Jack Jansen
Unfinished tutorial on reading someone else's PyObjC code. Checking it in mainly to get it off my laptop.
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.
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)
Just van Rossum
new doc-based example
Ronald Oussoren
- Some documentation cleanups - Localized Examples/EnvironmentPrefs (English and Dutch) - __dict__ of 'uninitialized' classes is no longer empty - Added custom wrappers for NSWindow (-windowRef and -initWithWindowRef:) - Regenerated wrappers scripts on a system with Safari 1.0 & WebCore SDK, this adds the constants that are necessary for development using webcore. NOTE: This means you have to install webcore SDK before bui…
Just van Rossum
synced with Python CVS tree (detabbed, lots of stuff)
Just van Rossum
Adapted to Ronalds recent PyObjC optimization: classes get initialized lazily, meaning cls.__dict__ is empty for uninitialized classes.
Ronald Oussoren
Another, more usefull, preference-pane example. This one allows you to edit ~/.MacOSX/environment.plist. This file is used by loginwindow to initialize your environment.
Ronald Oussoren
Change the ObjC code for Python based plugin bundles. We used to call PyRun_SimpleFile, but that can cause problems when using multiple modules. The new code builts a module with an __path__ attribute. That way you can use multiple modules in the Resources directory without changing sys.path and hopefully without interfering with modules in other Python based plugins.
Ronald Oussoren
- Remove the experimantal performance improvement, it doesn't really work. - Some documentation cleanup - Fix NSEndSheetMethod -> endSheetMethod + fix implementation - The Python interpreter tries to access a number of special attributes during normal operation, such as subclassing. This caused an unnecessary methodscan for lots of classes, special-case those methods. This significantly speeds up "python -c 'import AppKit'" (30% faster).
Just van Rossum
detabbed
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
Just van Rossum
removed redundant imports; use AppHelper.runEventLoop()
Just van Rossum
various changes from me and Dan
Ronald Oussoren
- Import the FieldGraph example by Dan Grassi - Remove method-weirdness.py, this wasn't a real example. A future checkin will add it again as part of the unittests. - Add HTML version of the readme.
Jack Jansen
Fixed various bugs and unclear items that showed up when actually doing the tutorial once all the way through.
  1. Prev
  2. Next