From: <lr...@us...> - 2006-12-13 13:02:53
|
Revision: 1276 http://svn.sourceforge.net/rubycocoa/?rev=1276&view=rev Author: lrz Date: 2006-12-13 05:02:47 -0800 (Wed, 13 Dec 2006) Log Message: ----------- 2006-12-13 Laurent Sansonetti <lsa...@ap...> * sample/RubyCGPDFViewer: New sample code, a Ruby port of /Developer/Examples/Quartz/PDF/CGPDFViewer, a pure CoreGraphics-based PDF viewer. * framework/post-config.rb: Re-generate the bridge support files if the generator is younger than the files. * framework/bridge-support-exceptions/AppKit.xml, framework/bridge-support-exceptions/CoreFoundation.xml, framework/src/ruby/osx/objc/oc_import.rb, framework/src/objc/BridgeSupportLexer.h, framework/src/objc/BridgeSupport.h, framework/src/objc/BridgeSupport.m, framework/src/objc/BridgeSupport.gperf, framework/src/objc/mdl_objwrapper.m, framework/src/objc/ocdata_conv.h, framework/src/objc/ocdata_conv.m, framework/tool/gen_bridge_metadata.rb, tests/tc_passbyref.rb: - Removed the predicate attribute and now explicitely mark functions/methods returning boolean types with the _C_BOOL encoding ; - Replaced cftype's typeid attribute by gettypeid_func, we can't rely on hardcoded TypeID because their value isn't fixed (e.g. it depends on the order the frameworks are loaded) ; - Removed duplicate cftype elements in the exceptions ; - Introduced a function_retval sub-element to store information about the return value of functions, and moved the returns attribute there ; - Exceptions can now document methods where the return or argument values should be coerced to a certain type (e.g. NSGraphicsContext#graphicsPort should return a CGContextRef and not a void *). * sample/RubyPDFKitViewer/Info.plist: Changed the bundle identifier to avoid conflicts with the original Objective-C project. * sample/circle.rb: Not necessary to require CoreGraphics anymore, as it's pre-loaded. Modified Paths: -------------- branches/apple-unstable/src/ChangeLog branches/apple-unstable/src/framework/bridge-support-exceptions/AppKit.xml branches/apple-unstable/src/framework/bridge-support-exceptions/CoreFoundation.xml branches/apple-unstable/src/framework/post-config.rb branches/apple-unstable/src/framework/src/objc/BridgeSupport.gperf branches/apple-unstable/src/framework/src/objc/BridgeSupport.h branches/apple-unstable/src/framework/src/objc/BridgeSupport.m branches/apple-unstable/src/framework/src/objc/BridgeSupportLexer.h branches/apple-unstable/src/framework/src/objc/mdl_objwrapper.m branches/apple-unstable/src/framework/src/objc/ocdata_conv.h branches/apple-unstable/src/framework/src/objc/ocdata_conv.m branches/apple-unstable/src/framework/src/ruby/osx/objc/oc_import.rb branches/apple-unstable/src/framework/tool/gen_bridge_metadata.rb branches/apple-unstable/src/sample/RubyPDFKitViewer/Info.plist branches/apple-unstable/src/sample/circle.rb branches/apple-unstable/src/tests/tc_passbyref.rb Added Paths: ----------- branches/apple-unstable/src/sample/RubyCGPDFViewer/ branches/apple-unstable/src/sample/RubyCGPDFViewer/CGPDFViewer.xcodeproj/ branches/apple-unstable/src/sample/RubyCGPDFViewer/CGPDFViewer.xcodeproj/project.pbxproj branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/ branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/InfoPlist.strings branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/Localizable.strings branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/MainMenu.nib/ branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/MainMenu.nib/classes.nib branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/MainMenu.nib/info.nib branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/MainMenu.nib/objects.nib branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/MyDocument.nib/ branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/MyDocument.nib/classes.nib branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/MyDocument.nib/info.nib branches/apple-unstable/src/sample/RubyCGPDFViewer/English.lproj/MyDocument.nib/objects.nib branches/apple-unstable/src/sample/RubyCGPDFViewer/Images/ branches/apple-unstable/src/sample/RubyCGPDFViewer/Images/PageDownToolbarImage.tiff branches/apple-unstable/src/sample/RubyCGPDFViewer/Images/PageUpToolbarImage.tiff branches/apple-unstable/src/sample/RubyCGPDFViewer/Images/RotateLeftToolbarImage.tiff branches/apple-unstable/src/sample/RubyCGPDFViewer/Images/RotateRightToolbarImage.tiff branches/apple-unstable/src/sample/RubyCGPDFViewer/Info.plist branches/apple-unstable/src/sample/RubyCGPDFViewer/MainController.rb branches/apple-unstable/src/sample/RubyCGPDFViewer/MyDocument.rb branches/apple-unstable/src/sample/RubyCGPDFViewer/PDFView.rb branches/apple-unstable/src/sample/RubyCGPDFViewer/main.m branches/apple-unstable/src/sample/RubyCGPDFViewer/rb_main.rb branches/apple-unstable/src/sample/RubyCGPDFViewer/version.plist This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |