Author: ronaldoussoren
Date: Sun Apr 12 06:41:19 2009
New Revision: 2145
Log:
* Examples tested with pyobjc 2.2
* All tests pass (on leopard)
* Update version to 2.2b2
Added:
trunk/pyobjc/pyobjc-framework-CalendarStore/Lib/CalendarStore/PyObjC.bridgesupport
Modified:
trunk/pyobjc/pyobjc-framework-CalendarStore/ (props changed)
trunk/pyobjc/pyobjc-framework-CalendarStore/Examples/Coding Headstart/main.py
trunk/pyobjc/pyobjc-framework-CalendarStore/Examples/Scripts/add_wwdc_to_calendar.py
trunk/pyobjc/pyobjc-framework-CalendarStore/Lib/ (props changed)
trunk/pyobjc/pyobjc-framework-CalendarStore/setup.py
Modified: trunk/pyobjc/pyobjc-framework-CalendarStore/Examples/Coding Headstart/main.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-CalendarStore/Examples/Coding Headstart/main.py (original)
+++ trunk/pyobjc/pyobjc-framework-CalendarStore/Examples/Coding Headstart/main.py Sun Apr 12 06:41:19 2009
@@ -1,4 +1,4 @@
-from PyObjCTools import NibClassBuilder, AppHelper
+from PyObjCTools import AppHelper
import objc; objc.setVerbose(True)
import AppController
Modified: trunk/pyobjc/pyobjc-framework-CalendarStore/Examples/Scripts/add_wwdc_to_calendar.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-CalendarStore/Examples/Scripts/add_wwdc_to_calendar.py (original)
+++ trunk/pyobjc/pyobjc-framework-CalendarStore/Examples/Scripts/add_wwdc_to_calendar.py Sun Apr 12 06:41:19 2009
@@ -9,7 +9,7 @@
if cal._.title == u"Work":
event = CalEvent.event()
event._.calendar = cal
- event._.title = "WWDC 2007"
+ event._.title = "WWDC 2009"
event._.notes = textwrap.dedent('''\
This June, the center of the Mac universe will be at Moscone
West in downtown San Francisco, as developers and IT
@@ -21,11 +21,11 @@
week getting the kind of inspiration you won't find anywhere
else.
''')
- event._.url = NSURL.URLWithString_('http://developer.apple.com/wwdc/')
+ event._.url = NSURL.URLWithString_('http://www.apple.com/wwdc/')
event._.location = "Moscone West, San Francisco, CA, USA"
event._.isAllDay = True
- start = NSDate.dateWithString_("2007-06-11 00:00:00 +0600")
- stop = NSDate.dateWithString_("2007-06-15 23:59:59 +0600")
+ start = NSDate.dateWithString_("2009-06-8 00:00:00 +0600")
+ stop = NSDate.dateWithString_("2009-06-12 23:59:59 +0600")
event._.startDate = start
event._.endDate = stop
res, err = store.saveEvent_span_error_(event, 0, None)
Modified: trunk/pyobjc/pyobjc-framework-CalendarStore/setup.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-CalendarStore/setup.py (original)
+++ trunk/pyobjc/pyobjc-framework-CalendarStore/setup.py Sun Apr 12 06:41:19 2009
@@ -18,7 +18,7 @@
setup(
name='pyobjc-framework-CalendarStore',
- version='2.2b1',
+ version='2.2b2',
description = "Wrappers for the framework CalendarStore on Mac OS X",
long_description = __doc__,
author='Ronald Oussoren',
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.