Commits

Show all
Author Commit Message Labels Comments Date
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.
Ronald Oussoren
- detab the CodeGenerator scripts - add some missing files - make sure buildpkg.py works with the newly added InstallationCheck (untested)
Just van Rossum
add another refcounting gotcha
Ronald Oussoren
Import new version of FieldGraph Make sure CodeGenerator scripts work when the target doesn't exist Add self attribute to selectors
Just van Rossum
added link to buildapp.py explanation
Just van Rossum
Converted to reST. Cocoa examples link to the example directories; this does just what you want in Safari: it opens the directory in the Finder.
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).
  1. Prev
  2. Next