Commits

Ronald Oussoren  committed f440532

update metadata

  • Participants
  • Parent commits eb1d928

Comments (0)

Files changed (8)

File pyobjc-framework-PreferencePanes/Lib/PreferencePanes/_metadata.py

 # This file is generated by objective.metadata
 #
-# Last update: Fri May 25 17:46:49 2012
+# Last update: Mon Sep 24 10:31:58 2012
 
 import objc, sys
 
 }
 constants = '''$NSPrefPaneHelpMenuAnchorKey$NSPrefPaneHelpMenuInfoPListKey$NSPrefPaneHelpMenuTitleKey$NSPreferencePaneCancelUnselectNotification$NSPreferencePaneDoUnselectNotification$'''
 enums = '''$NSUnselectCancel@0$NSUnselectLater@2$NSUnselectNow@1$'''
-misc.update({'kNSPrefPaneHelpMenuAnchorKey': 'anchor', 'kNSPrefPaneHelpMenuTitleKey': 'title', 'kNSPrefPaneHelpMenuInfoPListKey': 'NSPrefPaneHelpAnchors'})
+misc.update({'kNSPrefPaneHelpMenuAnchorKey': b'anchor'.decode("utf-8"), 'kNSPrefPaneHelpMenuTitleKey': b'title'.decode("utf-8"), 'kNSPrefPaneHelpMenuInfoPListKey': b'NSPrefPaneHelpAnchors'.decode("utf-8")})
 r = objc.registerMetaDataForSelector
 objc._updatingMetadata(True)
 try:

File pyobjc-framework-PreferencePanes/PyObjCTest/test_nspreferencepane.py

         self.assertEqual(kNSPrefPaneHelpMenuTitleKey, "title")
         self.assertEqual(kNSPrefPaneHelpMenuAnchorKey, "anchor")
 
+    @min_os_level('10.7')
+    def testConstants10_7(self):
+        self.assertIsInstance(NSPrefPaneHelpMenuInfoPListKey, unicode)
+        self.assertIsInstance(NSPrefPaneHelpMenuTitleKey, unicode)
+        self.assertIsInstance(NSPrefPaneHelpMenuAnchorKey, unicode)
+
     def testClasses(self):
         self.assertArgIsBOOL(NSPreferencePane.replyToShouldUnselect_, 0)
         self.assertResultIsBOOL(NSPreferencePane.autoSaveTextFields)

File pyobjc-framework-PreferencePanes/metadata/raw/i386-10.6.fwinfo

   "functions": {}, 
   "informal_protocols": {}, 
   "literals": {
-   "kNSPrefPaneHelpMenuAnchorKey": "anchor", 
-   "kNSPrefPaneHelpMenuInfoPListKey": "NSPrefPaneHelpAnchors", 
-   "kNSPrefPaneHelpMenuTitleKey": "title"
+   "kNSPrefPaneHelpMenuAnchorKey": { "unicode": true, "value": "anchor" }, 
+   "kNSPrefPaneHelpMenuInfoPListKey": { "unicode": true, "value": "NSPrefPaneHelpAnchors" }, 
+   "kNSPrefPaneHelpMenuTitleKey": { "unicode": true, "value": "title" }
   }, 
   "structs": {}
  }, 
  ], 
  "release": "10.7.3", 
  "sdk": "/Developer/SDKs/MacOSX10.6.sdk"
-}
+}

File pyobjc-framework-PreferencePanes/metadata/raw/i386-10.7.fwinfo

   "functions": {}, 
   "informal_protocols": {}, 
   "literals": {
-   "kNSPrefPaneHelpMenuAnchorKey": "anchor", 
-   "kNSPrefPaneHelpMenuInfoPListKey": "NSPrefPaneHelpAnchors", 
-   "kNSPrefPaneHelpMenuTitleKey": "title"
+   "kNSPrefPaneHelpMenuAnchorKey": { "unicode": true, "value": "anchor" }, 
+   "kNSPrefPaneHelpMenuInfoPListKey": { "unicode": true, "value": "NSPrefPaneHelpAnchors" }, 
+   "kNSPrefPaneHelpMenuTitleKey": { "unicode": true, "value": "title" }
   }, 
   "structs": {}
  }, 
  ], 
  "release": "10.7.3", 
  "sdk": "/Developer/SDKs/MacOSX10.7.sdk"
-}
+}

File pyobjc-framework-PreferencePanes/metadata/raw/i386-10.8.fwinfo

+#             GENERATED FILE DO NOT EDIT
+#
+# This file was generated by objective.metadata
+# Last update: Mon Sep 24 10:22:07 2012
+{
+ "arch": "i386", 
+ "definitions": {
+  "aliases": {}, 
+  "called_definitions": {}, 
+  "cftypes": {}, 
+  "classes": {
+   "NSPreferencePane": {
+    "categories": [], 
+    "methods": [
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "initWithBundle:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "bundle", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "loadMainView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "mainViewDidLoad", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "mainNibName", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "assignMainView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "willSelect", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "didSelect", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "i", 
+       "typestr_special": false
+      }, 
+      "selector": "shouldUnselect", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "Z", 
+        "typestr_special": true
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "replyToShouldUnselect:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "willUnselect", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "didUnselect", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "setMainView:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "mainView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "initialKeyView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "setInitialKeyView:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "firstKeyView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "setFirstKeyView:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "lastKeyView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "setLastKeyView:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "Z", 
+       "typestr_special": true
+      }, 
+      "selector": "autoSaveTextFields", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "Z", 
+       "typestr_special": true
+      }, 
+      "selector": "isSelected", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "updateHelpMenuWithArray:", 
+      "visibility": "public"
+     }
+    ], 
+    "name": "NSPreferencePane", 
+    "properties": [], 
+    "protocols": [], 
+    "super": "NSObject"
+   }
+  }, 
+  "enum": {
+   "NSUnselectCancel": 0, 
+   "NSUnselectLater": 2, 
+   "NSUnselectNow": 1
+  }, 
+  "expressions": {}, 
+  "externs": {
+   "NSPrefPaneHelpMenuAnchorKey": {
+    "typestr": "@"
+   }, 
+   "NSPrefPaneHelpMenuInfoPListKey": {
+    "typestr": "@"
+   }, 
+   "NSPrefPaneHelpMenuTitleKey": {
+    "typestr": "@"
+   }, 
+   "NSPreferencePaneCancelUnselectNotification": {
+    "typestr": "@"
+   }, 
+   "NSPreferencePaneDoUnselectNotification": {
+    "typestr": "@"
+   }
+  }, 
+  "formal_protocols": {}, 
+  "func_macros": {}, 
+  "functions": {}, 
+  "informal_protocols": {}, 
+  "literals": {
+   "kNSPrefPaneHelpMenuAnchorKey": {
+    "unicode": true, 
+    "value": "anchor"
+   }, 
+   "kNSPrefPaneHelpMenuInfoPListKey": {
+    "unicode": true, 
+    "value": "NSPrefPaneHelpAnchors"
+   }, 
+   "kNSPrefPaneHelpMenuTitleKey": {
+    "unicode": true, 
+    "value": "title"
+   }
+  }, 
+  "structs": {}
+ }, 
+ "framework": "PreferencePanes", 
+ "headers": [
+  "NSPreferencePane.h"
+ ], 
+ "release": "10.8.2", 
+ "sdk": "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"
+}

File pyobjc-framework-PreferencePanes/metadata/raw/x86_64-10.6.fwinfo

   "functions": {}, 
   "informal_protocols": {}, 
   "literals": {
-   "kNSPrefPaneHelpMenuAnchorKey": "anchor", 
-   "kNSPrefPaneHelpMenuInfoPListKey": "NSPrefPaneHelpAnchors", 
-   "kNSPrefPaneHelpMenuTitleKey": "title"
+   "kNSPrefPaneHelpMenuAnchorKey": { "unicode": true, "value": "anchor" }, 
+   "kNSPrefPaneHelpMenuInfoPListKey": { "unicode": true, "value": "NSPrefPaneHelpAnchors" }, 
+   "kNSPrefPaneHelpMenuTitleKey": { "unicode": true, "value": "title" }
   }, 
   "structs": {}
  }, 
  ], 
  "release": "10.7.3", 
  "sdk": "/Developer/SDKs/MacOSX10.6.sdk"
-}
+}

File pyobjc-framework-PreferencePanes/metadata/raw/x86_64-10.7.fwinfo

   "functions": {}, 
   "informal_protocols": {}, 
   "literals": {
-   "kNSPrefPaneHelpMenuAnchorKey": "anchor", 
-   "kNSPrefPaneHelpMenuInfoPListKey": "NSPrefPaneHelpAnchors", 
-   "kNSPrefPaneHelpMenuTitleKey": "title"
+   "kNSPrefPaneHelpMenuAnchorKey": { "unicode": true, "value": "anchor" }, 
+   "kNSPrefPaneHelpMenuInfoPListKey": { "unicode": true, "value": "NSPrefPaneHelpAnchors" }, 
+   "kNSPrefPaneHelpMenuTitleKey": { "unicode": true, "value": "title" }
   }, 
   "structs": {}
  }, 
  ], 
  "release": "10.7.3", 
  "sdk": "/Developer/SDKs/MacOSX10.7.sdk"
-}
+}

File pyobjc-framework-PreferencePanes/metadata/raw/x86_64-10.8.fwinfo

+#             GENERATED FILE DO NOT EDIT
+#
+# This file was generated by objective.metadata
+# Last update: Mon Sep 24 10:22:38 2012
+{
+ "arch": "x86_64", 
+ "definitions": {
+  "aliases": {}, 
+  "called_definitions": {}, 
+  "cftypes": {}, 
+  "classes": {
+   "NSPreferencePane": {
+    "categories": [], 
+    "methods": [
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "initWithBundle:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "bundle", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "loadMainView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "mainViewDidLoad", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "mainNibName", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "assignMainView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "willSelect", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "didSelect", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "i", 
+       "typestr_special": false
+      }, 
+      "selector": "shouldUnselect", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "Z", 
+        "typestr_special": true
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "replyToShouldUnselect:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "willUnselect", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "didUnselect", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "setMainView:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "mainView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "initialKeyView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "setInitialKeyView:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "firstKeyView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "setFirstKeyView:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "@", 
+       "typestr_special": false
+      }, 
+      "selector": "lastKeyView", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "setLastKeyView:", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "Z", 
+       "typestr_special": true
+      }, 
+      "selector": "autoSaveTextFields", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "Z", 
+       "typestr_special": true
+      }, 
+      "selector": "isSelected", 
+      "visibility": "public"
+     }, 
+     {
+      "args": [
+       {
+        "typestr": "@", 
+        "typestr_special": false
+       }
+      ], 
+      "class_method": false, 
+      "retval": {
+       "typestr": "v", 
+       "typestr_special": false
+      }, 
+      "selector": "updateHelpMenuWithArray:", 
+      "visibility": "public"
+     }
+    ], 
+    "name": "NSPreferencePane", 
+    "properties": [], 
+    "protocols": [], 
+    "super": "NSObject"
+   }
+  }, 
+  "enum": {
+   "NSUnselectCancel": 0, 
+   "NSUnselectLater": 2, 
+   "NSUnselectNow": 1
+  }, 
+  "expressions": {}, 
+  "externs": {
+   "NSPrefPaneHelpMenuAnchorKey": {
+    "typestr": "@"
+   }, 
+   "NSPrefPaneHelpMenuInfoPListKey": {
+    "typestr": "@"
+   }, 
+   "NSPrefPaneHelpMenuTitleKey": {
+    "typestr": "@"
+   }, 
+   "NSPreferencePaneCancelUnselectNotification": {
+    "typestr": "@"
+   }, 
+   "NSPreferencePaneDoUnselectNotification": {
+    "typestr": "@"
+   }
+  }, 
+  "formal_protocols": {}, 
+  "func_macros": {}, 
+  "functions": {}, 
+  "informal_protocols": {}, 
+  "literals": {
+   "kNSPrefPaneHelpMenuAnchorKey": {
+    "unicode": true, 
+    "value": "anchor"
+   }, 
+   "kNSPrefPaneHelpMenuInfoPListKey": {
+    "unicode": true, 
+    "value": "NSPrefPaneHelpAnchors"
+   }, 
+   "kNSPrefPaneHelpMenuTitleKey": {
+    "unicode": true, 
+    "value": "title"
+   }
+  }, 
+  "structs": {}
+ }, 
+ "framework": "PreferencePanes", 
+ "headers": [
+  "NSPreferencePane.h"
+ ], 
+ "release": "10.8.2", 
+ "sdk": "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"
+}