http://code.google.com/p/xar/source/detail?r=226
Deleted:
/trunk/xarql/xar.xcodeproj/bbraun.mode1v3
/trunk/xarql/xar.xcodeproj/bbraun.pbxuser
Modified:
/trunk/xarql/GeneratePreviewForURL.c
/trunk/xarql/xar.xcodeproj/project.pbxproj
=======================================
--- /trunk/xarql/xar.xcodeproj/bbraun.mode1v3 Sun Jun 17 13:38:10 2007
+++ /dev/null
@@ -1,1318 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST
1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>ActivePerspectiveName</key>
- <string>Project</string>
- <key>AllowedModules</key>
- <array>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>PBXSmartGroupTreeModule</string>
- <key>Name</key>
- <string>Groups and Files Outline View</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>PBXNavigatorGroup</string>
- <key>Name</key>
- <string>Editor</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>XCTaskListModule</string>
- <key>Name</key>
- <string>Task List</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>XCDetailModule</string>
- <key>Name</key>
- <string>File and Smart Group Detail Viewer</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>1</string>
- <key>Module</key>
- <string>PBXBuildResultsModule</string>
- <key>Name</key>
- <string>Detailed Build Results Viewer</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>1</string>
- <key>Module</key>
- <string>PBXProjectFindModule</string>
- <key>Name</key>
- <string>Project Batch Find Tool</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>PBXBookmarksModule</string>
- <key>Name</key>
- <string>Bookmarks Tool</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>PBXClassBrowserModule</string>
- <key>Name</key>
- <string>Class Browser</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>PBXCVSModule</string>
- <key>Name</key>
- <string>Source Code Control Tool</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>PBXDebugBreakpointsModule</string>
- <key>Name</key>
- <string>Debug Breakpoints Tool</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>XCDockableInspector</string>
- <key>Name</key>
- <string>Inspector</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>PBXOpenQuicklyModule</string>
- <key>Name</key>
- <string>Open Quickly Tool</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>1</string>
- <key>Module</key>
- <string>PBXDebugSessionModule</string>
- <key>Name</key>
- <string>Debugger</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>1</string>
- <key>Module</key>
- <string>PBXDebugCLIModule</string>
- <key>Name</key>
- <string>Debug Console</string>
- </dict>
- <dict>
- <key>BundleLoadPath</key>
- <string></string>
- <key>MaxInstances</key>
- <string>n</string>
- <key>Module</key>
- <string>XCSnapshotModule</string>
- <key>Name</key>
- <string>Snapshots Tool</string>
- </dict>
- </array>
- <key>BundlePath</key>
-
<string>/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources</string>
- <key>Description</key>
- <string>DefaultDescriptionKey</string>
- <key>DockingSystemVisible</key>
- <false/>
- <key>Extension</key>
- <string>mode1v3</string>
- <key>FavBarConfig</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>3EF7039B0C25AB2D00328CE9</string>
- <key>XCBarModuleItemNames</key>
- <dict/>
- <key>XCBarModuleItems</key>
- <array/>
- </dict>
- <key>FirstTimeWindowDisplayed</key>
- <false/>
- <key>Identifier</key>
- <string>com.apple.perspectives.project.mode1v3</string>
- <key>MajorVersion</key>
- <integer>32</integer>
- <key>MinorVersion</key>
- <integer>1</integer>
- <key>Name</key>
- <string>Default</string>
- <key>Notifications</key>
- <array/>
- <key>OpenEditors</key>
- <array/>
- <key>PerspectiveWidths</key>
- <array>
- <integer>-1</integer>
- <integer>-1</integer>
- </array>
- <key>Perspectives</key>
- <array>
- <dict>
- <key>ChosenToolbarItems</key>
- <array>
- <string>active-target-popup</string>
- <string>active-buildstyle-popup</string>
- <string>action</string>
- <string>NSToolbarFlexibleSpaceItem</string>
- <string>buildOrClean</string>
- <string>build-and-goOrGo</string>
- <string>com.apple.ide.PBXToolbarStopButton</string>
- <string>get-info</string>
- <string>toggle-editor</string>
- <string>NSToolbarFlexibleSpaceItem</string>
- <string>com.apple.pbx.toolbar.searchfield</string>
- </array>
- <key>ControllerClassBaseName</key>
- <string></string>
- <key>IconName</key>
- <string>WindowOfProjectWithEditor</string>
- <key>Identifier</key>
- <string>perspective.project</string>
- <key>IsVertical</key>
- <false/>
- <key>Layout</key>
- <array>
- <dict>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXBottomSmartGroupGIDs</key>
- <array>
- <string>1C37FBAC04509CD000000102</string>
- <string>1C37FAAC04509CD000000102</string>
- <string>1C08E77C0454961000C914BD</string>
- <string>1C37FABC05509CD000000102</string>
- <string>1C37FABC05539CD112110102</string>
- <string>E2644B35053B69B200211256</string>
- <string>1C37FABC04509CD000100104</string>
- <string>1CC0EA4004350EF90044410B</string>
- <string>1CC0EA4004350EF90041110B</string>
- </array>
- <key>PBXProjectModuleGUID</key>
- <string>1CE0B1FE06471DED0097A5F4</string>
- <key>PBXProjectModuleLabel</key>
- <string>Files</string>
- <key>PBXProjectStructureProvided</key>
- <string>yes</string>
- <key>PBXSmartGroupTreeModuleColumnData</key>
- <dict>
- <key>PBXSmartGroupTreeModuleColumnWidthsKey</key>
- <array>
- <real>186</real>
- </array>
- <key>PBXSmartGroupTreeModuleColumnsKey_v4</key>
- <array>
- <string>MainColumn</string>
- </array>
- </dict>
- <key>PBXSmartGroupTreeModuleOutlineStateKey_v7</key>
- <dict>
- <key>PBXSmartGroupTreeModuleOutlineStateExpansionKey</key>
- <array>
- <string>089C166AFE841209C02AAC07</string>
- <string>1C37FBAC04509CD000000102</string>
- <string>1C37FABC05509CD000000102</string>
- </array>
- <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
- <array>
- <array>
- <integer>0</integer>
- </array>
- </array>
- <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key>
- <string>{{0, 0}, {186, 338}}</string>
- </dict>
- <key>PBXTopSmartGroupGIDs</key>
- <array/>
- <key>XCIncludePerspectivesSwitch</key>
- <true/>
- <key>XCSharingToken</key>
- <string>com.apple.Xcode.GFSharingToken</string>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>Frame</key>
- <string>{{0, 0}, {203, 356}}</string>
- <key>GroupTreeTableConfiguration</key>
- <array>
- <string>MainColumn</string>
- <real>186</real>
- </array>
- <key>RubberWindowFrame</key>
- <string>295 341 690 397 0 0 1280 832 </string>
- </dict>
- <key>Module</key>
- <string>PBXSmartGroupTreeModule</string>
- <key>Proportion</key>
- <string>203pt</string>
- </dict>
- <dict>
- <key>Dock</key>
- <array>
- <dict>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1CE0B20306471E060097A5F4</string>
- <key>PBXProjectModuleLabel</key>
- <string>MyNewFile14.java</string>
- <key>PBXSplitModuleInNavigatorKey</key>
- <dict>
- <key>Split0</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1CE0B20406471E060097A5F4</string>
- <key>PBXProjectModuleLabel</key>
- <string>MyNewFile14.java</string>
- </dict>
- <key>SplitCount</key>
- <string>1</string>
- </dict>
- <key>StatusBarVisibility</key>
- <true/>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>Frame</key>
- <string>{{0, 0}, {482, 0}}</string>
- <key>RubberWindowFrame</key>
- <string>295 341 690 397 0 0 1280 832 </string>
- </dict>
- <key>Module</key>
- <string>PBXNavigatorGroup</string>
- <key>Proportion</key>
- <string>0pt</string>
- </dict>
- <dict>
- <key>BecomeActive</key>
- <true/>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1CE0B20506471E060097A5F4</string>
- <key>PBXProjectModuleLabel</key>
- <string>Detail</string>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>Frame</key>
- <string>{{0, 5}, {482, 351}}</string>
- <key>RubberWindowFrame</key>
- <string>295 341 690 397 0 0 1280 832 </string>
- </dict>
- <key>Module</key>
- <string>XCDetailModule</string>
- <key>Proportion</key>
- <string>351pt</string>
- </dict>
- </array>
- <key>Proportion</key>
- <string>482pt</string>
- </dict>
- </array>
- <key>Name</key>
- <string>Project</string>
- <key>ServiceClasses</key>
- <array>
- <string>XCModuleDock</string>
- <string>PBXSmartGroupTreeModule</string>
- <string>XCModuleDock</string>
- <string>PBXNavigatorGroup</string>
- <string>XCDetailModule</string>
- </array>
- <key>TableOfContents</key>
- <array>
- <string>3E161D360C25ABDC0071F417</string>
- <string>1CE0B1FE06471DED0097A5F4</string>
- <string>3E161D370C25ABDC0071F417</string>
- <string>1CE0B20306471E060097A5F4</string>
- <string>1CE0B20506471E060097A5F4</string>
- </array>
- <key>ToolbarConfiguration</key>
- <string>xcode.toolbar.config.defaultV3</string>
- </dict>
- <dict>
- <key>ControllerClassBaseName</key>
- <string></string>
- <key>IconName</key>
- <string>WindowOfProject</string>
- <key>Identifier</key>
- <string>perspective.morph</string>
- <key>IsVertical</key>
- <integer>0</integer>
- <key>Layout</key>
- <array>
- <dict>
- <key>BecomeActive</key>
- <integer>1</integer>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXBottomSmartGroupGIDs</key>
- <array>
- <string>1C37FBAC04509CD000000102</string>
- <string>1C37FAAC04509CD000000102</string>
- <string>1C08E77C0454961000C914BD</string>
- <string>1C37FABC05509CD000000102</string>
- <string>1C37FABC05539CD112110102</string>
- <string>E2644B35053B69B200211256</string>
- <string>1C37FABC04509CD000100104</string>
- <string>1CC0EA4004350EF90044410B</string>
- <string>1CC0EA4004350EF90041110B</string>
- </array>
- <key>PBXProjectModuleGUID</key>
- <string>11E0B1FE06471DED0097A5F4</string>
- <key>PBXProjectModuleLabel</key>
- <string>Files</string>
- <key>PBXProjectStructureProvided</key>
- <string>yes</string>
- <key>PBXSmartGroupTreeModuleColumnData</key>
- <dict>
- <key>PBXSmartGroupTreeModuleColumnWidthsKey</key>
- <array>
- <real>186</real>
- </array>
- <key>PBXSmartGroupTreeModuleColumnsKey_v4</key>
- <array>
- <string>MainColumn</string>
- </array>
- </dict>
- <key>PBXSmartGroupTreeModuleOutlineStateKey_v7</key>
- <dict>
- <key>PBXSmartGroupTreeModuleOutlineStateExpansionKey</key>
- <array>
- <string>29B97314FDCFA39411CA2CEA</string>
- <string>1C37FABC05509CD000000102</string>
- </array>
- <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
- <array>
- <array>
- <integer>0</integer>
- </array>
- </array>
- <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key>
- <string>{{0, 0}, {186, 337}}</string>
- </dict>
- <key>PBXTopSmartGroupGIDs</key>
- <array/>
- <key>XCIncludePerspectivesSwitch</key>
- <integer>1</integer>
- <key>XCSharingToken</key>
- <string>com.apple.Xcode.GFSharingToken</string>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>Frame</key>
- <string>{{0, 0}, {203, 355}}</string>
- <key>GroupTreeTableConfiguration</key>
- <array>
- <string>MainColumn</string>
- <real>186</real>
- </array>
- <key>RubberWindowFrame</key>
- <string>373 269 690 397 0 0 1440 878 </string>
- </dict>
- <key>Module</key>
- <string>PBXSmartGroupTreeModule</string>
- <key>Proportion</key>
- <string>100%</string>
- </dict>
- </array>
- <key>Name</key>
- <string>Morph</string>
- <key>PreferredWidth</key>
- <integer>300</integer>
- <key>ServiceClasses</key>
- <array>
- <string>XCModuleDock</string>
- <string>PBXSmartGroupTreeModule</string>
- </array>
- <key>TableOfContents</key>
- <array>
- <string>11E0B1FE06471DED0097A5F4</string>
- </array>
- <key>ToolbarConfiguration</key>
- <string>xcode.toolbar.config.default.shortV3</string>
- </dict>
- </array>
- <key>PerspectivesBarVisible</key>
- <false/>
- <key>ShelfIsVisible</key>
- <false/>
- <key>SourceDescription</key>
- <string>file
at '/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/XCPerspectivesSpecificationMode1.xcperspec'</string>
- <key>StatusbarIsVisible</key>
- <true/>
- <key>TimeStamp</key>
- <real>0.0</real>
- <key>ToolbarDisplayMode</key>
- <integer>1</integer>
- <key>ToolbarIsVisible</key>
- <true/>
- <key>ToolbarSizeMode</key>
- <integer>1</integer>
- <key>Type</key>
- <string>Perspectives</string>
- <key>UpdateMessage</key>
- <string>The Default Workspace in this version of Xcode now includes
support to hide and show the detail view (what has been referred to as
the "Metro-Morph" feature). You must discard your current Default
Workspace settings and update to the latest Default Workspace in order to
gain this feature. Do you wish to update to the latest Workspace defaults
for project '%@'?</string>
- <key>WindowJustification</key>
- <integer>5</integer>
- <key>WindowOrderList</key>
- <array>
- <string>3E161D530C25D2A40071F417</string>
- <string>3E161D540C25D2A40071F417</string>
- <string>3E161D380C25ABDC0071F417</string>
- <string>3E161D3B0C25ABDC0071F417</string>
- <string>3E161D3D0C25ABDC0071F417</string>
- <string>3EF7039F0C25AB4300328CE9</string>
- <string>/Users/bbraun/xarql/xar.xcodeproj</string>
- </array>
- <key>WindowString</key>
- <string>295 341 690 397 0 0 1280 832 </string>
- <key>WindowToolsV3</key>
- <array>
- <dict>
- <key>FirstTimeWindowDisplayed</key>
- <false/>
- <key>Identifier</key>
- <string>windowTool.build</string>
- <key>IsVertical</key>
- <true/>
- <key>Layout</key>
- <array>
- <dict>
- <key>Dock</key>
- <array>
- <dict>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1CD0528F0623707200166675</string>
- <key>PBXProjectModuleLabel</key>
- <string></string>
- <key>StatusBarVisibility</key>
- <true/>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>Frame</key>
- <string>{{0, 0}, {500, 218}}</string>
- <key>RubberWindowFrame</key>
- <string>316 215 500 500 0 0 1280 832 </string>
- </dict>
- <key>Module</key>
- <string>PBXNavigatorGroup</string>
- <key>Proportion</key>
- <string>218pt</string>
- </dict>
- <dict>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>XCMainBuildResultsModuleGUID</string>
- <key>PBXProjectModuleLabel</key>
- <string>Build</string>
- <key>XCBuildResultsTrigger_Collapse</key>
- <integer>1021</integer>
- <key>XCBuildResultsTrigger_Open</key>
- <integer>1011</integer>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>Frame</key>
- <string>{{0, 223}, {500, 236}}</string>
- <key>RubberWindowFrame</key>
- <string>316 215 500 500 0 0 1280 832 </string>
- </dict>
- <key>Module</key>
- <string>PBXBuildResultsModule</string>
- <key>Proportion</key>
- <string>236pt</string>
- </dict>
- </array>
- <key>Proportion</key>
- <string>459pt</string>
- </dict>
- </array>
- <key>Name</key>
- <string>Build Results</string>
- <key>ServiceClasses</key>
- <array>
- <string>PBXBuildResultsModule</string>
- </array>
- <key>StatusbarIsVisible</key>
- <true/>
- <key>TableOfContents</key>
- <array>
- <string>3E161D3B0C25ABDC0071F417</string>
- <string>3E161D3C0C25ABDC0071F417</string>
- <string>1CD0528F0623707200166675</string>
- <string>XCMainBuildResultsModuleGUID</string>
- </array>
- <key>ToolbarConfiguration</key>
- <string>xcode.toolbar.config.buildV3</string>
- <key>WindowString</key>
- <string>316 215 500 500 0 0 1280 832 </string>
- <key>WindowToolGUID</key>
- <string>3E161D3B0C25ABDC0071F417</string>
- <key>WindowToolIsVisible</key>
- <false/>
- </dict>
- <dict>
- <key>Identifier</key>
- <string>windowTool.debugger</string>
- <key>Layout</key>
- <array>
- <dict>
- <key>Dock</key>
- <array>
- <dict>
- <key>ContentConfiguration</key>
- <dict>
- <key>Debugger</key>
- <dict>
- <key>HorizontalSplitView</key>
- <dict>
- <key>_collapsingFrameDimension</key>
- <real>0.0</real>
- <key>_indexOfCollapsedView</key>
- <integer>0</integer>
- <key>_percentageOfCollapsedView</key>
- <real>0.0</real>
- <key>isCollapsed</key>
- <string>yes</string>
- <key>sizes</key>
- <array>
- <string>{{0, 0}, {317, 164}}</string>
- <string>{{317, 0}, {377, 164}}</string>
- </array>
- </dict>
- <key>VerticalSplitView</key>
- <dict>
- <key>_collapsingFrameDimension</key>
- <real>0.0</real>
- <key>_indexOfCollapsedView</key>
- <integer>0</integer>
- <key>_percentageOfCollapsedView</key>
- <real>0.0</real>
- <key>isCollapsed</key>
- <string>yes</string>
- <key>sizes</key>
- <array>
- <string>{{0, 0}, {694, 164}}</string>
- <string>{{0, 164}, {694, 216}}</string>
- </array>
- </dict>
- </dict>
- <key>LauncherConfigVersion</key>
- <string>8</string>
- <key>PBXProjectModuleGUID</key>
- <string>1C162984064C10D400B95A72</string>
- <key>PBXProjectModuleLabel</key>
- <string>Debug - GLUTExamples (Underwater)</string>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>DebugConsoleDrawerSize</key>
- <string>{100, 120}</string>
- <key>DebugConsoleVisible</key>
- <string>None</string>
- <key>DebugConsoleWindowFrame</key>
- <string>{{200, 200}, {500, 300}}</string>
- <key>DebugSTDIOWindowFrame</key>
- <string>{{200, 200}, {500, 300}}</string>
- <key>Frame</key>
- <string>{{0, 0}, {694, 380}}</string>
- <key>RubberWindowFrame</key>
- <string>321 238 694 422 0 0 1440 878 </string>
- </dict>
- <key>Module</key>
- <string>PBXDebugSessionModule</string>
- <key>Proportion</key>
- <string>100%</string>
- </dict>
- </array>
- <key>Proportion</key>
- <string>100%</string>
- </dict>
- </array>
- <key>Name</key>
- <string>Debugger</string>
- <key>ServiceClasses</key>
- <array>
- <string>PBXDebugSessionModule</string>
- </array>
- <key>StatusbarIsVisible</key>
- <integer>1</integer>
- <key>TableOfContents</key>
- <array>
- <string>1CD10A99069EF8BA00B06720</string>
- <string>1C0AD2AB069F1E9B00FABCE6</string>
- <string>1C162984064C10D400B95A72</string>
- <string>1C0AD2AC069F1E9B00FABCE6</string>
- </array>
- <key>ToolbarConfiguration</key>
- <string>xcode.toolbar.config.debugV3</string>
- <key>WindowString</key>
- <string>321 238 694 422 0 0 1440 878 </string>
- <key>WindowToolGUID</key>
- <string>1CD10A99069EF8BA00B06720</string>
- <key>WindowToolIsVisible</key>
- <integer>0</integer>
- </dict>
- <dict>
- <key>Identifier</key>
- <string>windowTool.find</string>
- <key>Layout</key>
- <array>
- <dict>
- <key>Dock</key>
- <array>
- <dict>
- <key>Dock</key>
- <array>
- <dict>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1CDD528C0622207200134675</string>
- <key>PBXProjectModuleLabel</key>
- <string><No Editor></string>
- <key>PBXSplitModuleInNavigatorKey</key>
- <dict>
- <key>Split0</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1CD0528D0623707200166675</string>
- </dict>
- <key>SplitCount</key>
- <string>1</string>
- </dict>
- <key>StatusBarVisibility</key>
- <integer>1</integer>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>Frame</key>
- <string>{{0, 0}, {781, 167}}</string>
- <key>RubberWindowFrame</key>
- <string>62 385 781 470 0 0 1440 878 </string>
- </dict>
- <key>Module</key>
- <string>PBXNavigatorGroup</string>
- <key>Proportion</key>
- <string>781pt</string>
- </dict>
- </array>
- <key>Proportion</key>
- <string>50%</string>
- </dict>
- <dict>
- <key>BecomeActive</key>
- <integer>1</integer>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1CD0528E0623707200166675</string>
- <key>PBXProjectModuleLabel</key>
- <string>Project Find</string>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>Frame</key>
- <string>{{8, 0}, {773, 254}}</string>
- <key>RubberWindowFrame</key>
- <string>62 385 781 470 0 0 1440 878 </string>
- </dict>
- <key>Module</key>
- <string>PBXProjectFindModule</string>
- <key>Proportion</key>
- <string>50%</string>
- </dict>
- </array>
- <key>Proportion</key>
- <string>428pt</string>
- </dict>
- </array>
- <key>Name</key>
- <string>Project Find</string>
- <key>ServiceClasses</key>
- <array>
- <string>PBXProjectFindModule</string>
- </array>
- <key>StatusbarIsVisible</key>
- <integer>1</integer>
- <key>TableOfContents</key>
- <array>
- <string>1C530D57069F1CE1000CFCEE</string>
- <string>1C530D58069F1CE1000CFCEE</string>
- <string>1C530D59069F1CE1000CFCEE</string>
- <string>1CDD528C0622207200134675</string>
- <string>1C530D5A069F1CE1000CFCEE</string>
- <string>1CE0B1FE06471DED0097A5F4</string>
- <string>1CD0528E0623707200166675</string>
- </array>
- <key>WindowString</key>
- <string>62 385 781 470 0 0 1440 878 </string>
- <key>WindowToolGUID</key>
- <string>1C530D57069F1CE1000CFCEE</string>
- <key>WindowToolIsVisible</key>
- <integer>0</integer>
- </dict>
- <dict>
- <key>Identifier</key>
- <string>MENUSEPARATOR</string>
- </dict>
- <dict>
- <key>Identifier</key>
- <string>windowTool.debuggerConsole</string>
- <key>Layout</key>
- <array>
- <dict>
- <key>Dock</key>
- <array>
- <dict>
- <key>BecomeActive</key>
- <integer>1</integer>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1C78EAAC065D492600B07095</string>
- <key>PBXProjectModuleLabel</key>
- <string>Debugger Console</string>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>Frame</key>
- <string>{{0, 0}, {650, 250}}</string>
- <key>RubberWindowFrame</key>
- <string>650 41 650 250 0 0 1280 1002 </string>
- </dict>
- <key>Module</key>
- <string>PBXDebugCLIModule</string>
- <key>Proportion</key>
- <string>358pt</string>
- </dict>
- </array>
- <key>Proportion</key>
- <string>358pt</string>
- </dict>
- </array>
- <key>Name</key>
- <string>Debugger Console</string>
- <key>ServiceClasses</key>
- <array>
- <string>PBXDebugCLIModule</string>
- </array>
- <key>StatusbarIsVisible</key>
- <integer>1</integer>
- <key>TableOfContents</key>
- <array>
- <string>1C78EAAD065D492600B07095</string>
- <string>1C78EAAE065D492600B07095</string>
- <string>1C78EAAC065D492600B07095</string>
- </array>
- <key>ToolbarConfiguration</key>
- <string>xcode.toolbar.config.consoleV3</string>
- <key>WindowString</key>
- <string>650 41 650 250 0 0 1280 1002 </string>
- <key>WindowToolGUID</key>
- <string>1C78EAAD065D492600B07095</string>
- <key>WindowToolIsVisible</key>
- <integer>0</integer>
- </dict>
- <dict>
- <key>Identifier</key>
- <string>windowTool.snapshots</string>
- <key>Layout</key>
- <array>
- <dict>
- <key>Dock</key>
- <array>
- <dict>
- <key>Module</key>
- <string>XCSnapshotModule</string>
- <key>Proportion</key>
- <string>100%</string>
- </dict>
- </array>
- <key>Proportion</key>
- <string>100%</string>
- </dict>
- </array>
- <key>Name</key>
- <string>Snapshots</string>
- <key>ServiceClasses</key>
- <array>
- <string>XCSnapshotModule</string>
- </array>
- <key>StatusbarIsVisible</key>
- <string>Yes</string>
- <key>ToolbarConfiguration</key>
- <string>xcode.toolbar.config.snapshots</string>
- <key>WindowString</key>
- <string>315 824 300 550 0 0 1440 878 </string>
- <key>WindowToolIsVisible</key>
- <string>Yes</string>
- </dict>
- <dict>
- <key>Identifier</key>
- <string>windowTool.scm</string>
- <key>Layout</key>
- <array>
- <dict>
- <key>Dock</key>
- <array>
- <dict>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1C78EAB2065D492600B07095</string>
- <key>PBXProjectModuleLabel</key>
- <string><No Editor></string>
- <key>PBXSplitModuleInNavigatorKey</key>
- <dict>
- <key>Split0</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1C78EAB3065D492600B07095</string>
- </dict>
- <key>SplitCount</key>
- <string>1</string>
- </dict>
- <key>StatusBarVisibility</key>
- <integer>1</integer>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>Frame</key>
- <string>{{0, 0}, {452, 0}}</string>
- <key>RubberWindowFrame</key>
- <string>743 379 452 308 0 0 1280 1002 </string>
- </dict>
- <key>Module</key>
- <string>PBXNavigatorGroup</string>
- <key>Proportion</key>
- <string>0pt</string>
- </dict>
- <dict>
- <key>BecomeActive</key>
- <integer>1</integer>
- <key>ContentConfiguration</key>
- <dict>
- <key>PBXProjectModuleGUID</key>
- <string>1CD052920623707200166675</string>
- <key>PBXProjectModuleLabel</key>
- <string>SCM</string>
- </dict>
- <key>GeometryConfiguration</key>
- <dict>
- <key>ConsoleFrame</key>
- <string>{{0, 259}, {452, 0}}</string>
- <key>Frame</key>
- <string>{{0, 7}, {452, 259}}</string>
- <key>RubberWindowFrame</key>
- <string>743 379 452 308 0 0 1280 1002 </string>
- <key>TableConfiguration</key>
- <array>
- <string>Status</string>
- <real>30</real>
- <string>FileName</string>
- <real>199</real>
- <string>Path</string>
- <real>197.09500122070312</real>
- </array>
- <key>TableFrame</key>
- <string>{{0, 0}, {452, 250}}</string>
- </dict>
- <key>Module</key>
- <string>PBXCVSModule</string>
- <key>Proportion</key>
- <string>262pt</string>
- </dict>
- </array>
- <key>Proportion</key>
- <string>266pt</string>
- </dict>
- </array>
- <key>Name</key>
- <string>SCM</string>
- <key>ServiceClasses</key>
- <array>
- <string>PBXCVSModule</string>
- </array>
- <key>StatusbarIsVisible</key>
- <integer>1</integer>
- <key>TableOfContents</key>
- <array>
- <string>1C78EAB4065D492600B07095</string>
- <string>1C78EAB5065D492600B07095</string>
- <string>1C78EAB2065D492600B07095</string>
- <string>1CD052920623707200166675</string>
- </array>
***The diff for this file has been truncated for email.***
=======================================
--- /trunk/xarql/xar.xcodeproj/bbraun.pbxuser Sun Jun 17 13:38:10 2007
+++ /dev/null
@@ -1,101 +0,0 @@
-// !$*UTF8*$!
-{
- 089C1669FE841209C02AAC07 /* Project object */ = {
- activeArchitecture = ppc;
- activeBuildConfigurationName = Release;
- activeTarget = 8D57630D048677EA00EA77CD /* xar */;
- addToTargets = (
- 8D57630D048677EA00EA77CD /* xar */,
- );
- codeSenseManager = 3EF7039D0C25AB2D00328CE9 /* Code sense */;
- perUserDictionary = {
- PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = {
- PBXFileTableDataSourceColumnSortingDirectionKey = "-1";
- PBXFileTableDataSourceColumnSortingKey =
PBXFileDataSource_Filename_ColumnID;
- PBXFileTableDataSourceColumnWidthsKey = (
- 20,
- 243,
- 20,
- 48,
- 43,
- 43,
- 20,
- );
- PBXFileTableDataSourceColumnsKey = (
- PBXFileDataSource_FiletypeID,
- PBXFileDataSource_Filename_ColumnID,
- PBXFileDataSource_Built_ColumnID,
- PBXFileDataSource_ObjectSize_ColumnID,
- PBXFileDataSource_Errors_ColumnID,
- PBXFileDataSource_Warnings_ColumnID,
- PBXFileDataSource_Target_ColumnID,
- );
- };
- PBXConfiguration.PBXTargetDataSource.PBXTargetDataSource = {
- PBXFileTableDataSourceColumnSortingDirectionKey = "-1";
- PBXFileTableDataSourceColumnSortingKey =
PBXFileDataSource_Filename_ColumnID;
- PBXFileTableDataSourceColumnWidthsKey = (
- 20,
- 203,
- 60,
- 20,
- 48.16259765625,
- 43,
- 43,
- );
- PBXFileTableDataSourceColumnsKey = (
- PBXFileDataSource_FiletypeID,
- PBXFileDataSource_Filename_ColumnID,
- PBXTargetDataSource_PrimaryAttribute,
- PBXFileDataSource_Built_ColumnID,
- PBXFileDataSource_ObjectSize_ColumnID,
- PBXFileDataSource_Errors_ColumnID,
- PBXFileDataSource_Warnings_ColumnID,
- );
- };
- PBXPerProjectTemplateStateSaveDate = 203795299;
- PBXWorkspaceStateSaveDate = 203795299;
- };
- sourceControlManager = 3EF7039C0C25AB2D00328CE9 /* Source Control */;
- userBuildSettings = {
- };
- };
- 2C05A19B06CAA52B00D84F6F /* GeneratePreviewForURL.c */ = {
- uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {890, 1358}}";
- sepNavSelRange = "{1387, 0}";
- sepNavVisRange = "{0, 1289}";
- sepNavWindowFrame = "{{15, 46}, {708, 781}}";
- };
- };
- 3EF7039C0C25AB2D00328CE9 /* Source Control */ = {
- isa = PBXSourceControlManager;
- fallbackIsa = XCSourceControlManager;
- isSCMEnabled = 0;
- scmConfiguration = {
- };
- };
- 3EF7039D0C25AB2D00328CE9 /* Code sense */ = {
- isa = PBXCodeSenseManager;
- indexTemplatePath = "";
- };
- 61E3BCFA0870B4F2002186A0 /* GenerateThumbnailForURL.c */ = {
- uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1022, 1246}}";
- sepNavSelRange = "{1434, 0}";
- sepNavVisRange = "{0, 1348}";
- sepNavWindowFrame = "{{330, 51}, {708, 781}}";
- };
- };
- 8D57630D048677EA00EA77CD /* xar */ = {
- activeExec = 0;
- };
- 8D576317048677EA00EA77CD /* Info.plist */ = {
- uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {686, 966}}";
- sepNavSelRange = "{422, 0}";
- sepNavVisRange = "{0, 1350}";
- sepNavWindowFrame = "{{38, 25}, {708, 781}}";
- };
- };
-}
=======================================
--- /trunk/xarql/GeneratePreviewForURL.c Sun Jun 17 13:38:10 2007
+++ /trunk/xarql/GeneratePreviewForURL.c Thu Sep 24 07:59:14 2009
@@ -3,6 +3,151 @@
#include <QuickLook/QuickLook.h>
#include <xar/xar.h>
+#include <stdint.h>
+#include <inttypes.h>
+#include <libxml/xmlreader.h>
+#include <zlib.h>
+#include <syslog.h>
+
+static int gCount = 0;
+static int gMax = 30;
+
+struct decomp {
+ size_t offset;
+ struct xar_header header;
+ size_t readbuf_len;
+ size_t toc_count;
+ char *readbuf;
+ int fd;
+ z_stream zs;
+};
+
+static int toc_read_callback(void *context, char *buffer, int len) {
+ struct decomp *x = (struct decomp *)context;
+ int ret, off = 0;
+
+ if ( ((!x->offset) || (x->offset == x->readbuf_len)) &&
(x->toc_count != x->header.toc_length_compressed) ) {
+ x->offset = 0;
+ if( (x->readbuf_len - off) + x->toc_count >
x->header.toc_length_compressed )
+ ret = read(x->fd, x->readbuf, x->header.toc_length_compressed
- x->toc_count);
+ else
+ ret = read(x->fd, x->readbuf, x->readbuf_len);
+ if ( ret == -1 )
+ return ret;
+
+ x->toc_count += ret;
+ off += ret;
+ }
+
+ if( off && (off < x->readbuf_len) )
+ x->readbuf_len = off;
+ x->zs.next_in = ((unsigned char *)x->readbuf) + x->offset;
+ x->zs.avail_in = x->readbuf_len - x->offset;
+ x->zs.next_out = (void *)buffer;
+ x->zs.avail_out = len;
+
+ ret = inflate(&x->zs, Z_SYNC_FLUSH);
+ if( ret < 0 )
+ return -1;
+ x->offset = x->readbuf_len - x->zs.avail_in;
+
+ return len - x->zs.avail_out;
+}
+
+static int close_callback(void *context) {
+ return 0;
+}
+
+static uint64_t ntoh64(uint64_t num) {
+ int t = 1234;
+ union conv {
+ uint64_t i64;
+ uint32_t i32[2];
+ } *in, out;
+
+ if( ntohl(t) == t ) {
+ out.i64 = num;
+ return out.i64;
+ }
+ in = (union conv *)#
+ out.i32[1] = ntohl(in->i32[0]);
+ out.i32[0] = ntohl(in->i32[1]);
+ return(out.i64);
+}
+
+static struct xar_header *get_header(int fd)
+{
+ char buf[sizeof(struct xar_header)];
+
+ if( read(fd, buf, 28) < 28 ) {
+ return NULL;
+ }
+
+ struct xar_header *ret = malloc(sizeof(struct xar_header));
+ if( !ret ) return NULL;
+
+ ret->magic = ntohl(*(uint32_t *)buf);
+ ret->size = ntohs(*(uint16_t *)(buf+4));
+ ret->version = ntohs(*(uint16_t *)(buf+6));
+ ret->toc_length_compressed = ntoh64(*(uint64_t *)(buf+8));
+ ret->toc_length_uncompressed = ntoh64(*(uint64_t *)(buf+16));
+ ret->cksum_alg = ntohl(*(uint32_t *)(buf+24));
+
+ return ret;
+}
+
+static char *parse_file(xmlTextReaderPtr reader, char *str, int depth)
+{
+ char *ret = str;
+ int type;
+ const char *name;
+
+ if( gCount > gMax ) return str;
+
+ while( xmlTextReaderRead(reader) == 1 ) {
+ type = xmlTextReaderNodeType(reader);
+ name = (const char *)xmlTextReaderConstLocalName(reader);
+ if( (type == XML_READER_TYPE_END_ELEMENT) &&
(strcmp(name, "file")==0) ) {
+ return ret;
+ }
+
+ if( type == XML_READER_TYPE_ELEMENT ) {
+ if( strcmp(name, "file") == 0 ) {
+ ret = parse_file(reader, ret, depth+1);
+ syslog(LOG_ERR, "parse_file: parse_file returned %s", ret);
+ } else if( strcmp(name, "name") == 0 ) {
+ while( xmlTextReaderRead(reader) == 1 ) {
+ type = xmlTextReaderNodeType(reader);
+ name = (const char *)xmlTextReaderConstLocalName(reader);
+ if( type == XML_READER_TYPE_TEXT ) {
+ char * value, *tabs;
+ value = (char *)xmlTextReaderConstValue(reader);
+ tabs = calloc(1, depth+1);
+ memset(tabs, '\t', depth);
+ asprintf(&ret, "%s%s%s\n", ret, tabs, value);
+ }
+ if( (type == XML_READER_TYPE_END_ELEMENT) &&
(strcmp(name, "name")==0) ) {
+ break;
+ }
+ }
+ gCount++;
+ } else {
+ while( xmlTextReaderRead(reader) == 1 ) {
+ int newtype = xmlTextReaderNodeType(reader);
+ const char *newname = (const char
*)xmlTextReaderConstLocalName(reader);
+ if( (newtype == XML_READER_TYPE_END_ELEMENT) && (strcmp(name,
newname)==0) ) {
+ break;
+ }
+
+ }
+ }
+ }
+ if( gCount > gMax ) return ret;
+ }
+
+ // Should never be reached
+ return ret;
+}
/*
-----------------------------------------------------------------------------
Generate a preview for file
@@ -12,14 +157,11 @@
OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef
preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options)
{
- CFMutableStringRef htmlresp, textresp;
+ CFMutableStringRef textresp;
CFStringRef cfpathref;
CFMutableDictionaryRef dict;
CFDataRef qldata;
char cpath[PATH_MAX];
- xar_t x;
- xar_file_t f;
- xar_iter_t i;
if (QLPreviewRequestIsCancelled(preview))
return noErr;
@@ -33,50 +175,109 @@
return noErr;
}
CFRelease(cfpathref);
-
- x = xar_open(cpath, READ);
- if( !x )
- return noErr;
-
+
+ int fd = open(cpath, O_RDONLY);
+ struct xar_header *h = get_header(fd);
+
textresp = CFStringCreateMutable(NULL, 0);
- htmlresp = CFStringCreateMutable(NULL, 0);
- if( !htmlresp ) {
- xar_close(x);
- return noErr;
- }
-
- CFStringAppendCString(htmlresp, "<html>\n", kCFStringEncodingUTF8);
- CFStringAppendCString(htmlresp, "<body>\n", kCFStringEncodingUTF8);
- CFStringAppendCString(htmlresp, "<pre>\n", kCFStringEncodingUTF8);
-
- i = xar_iter_new();
- for(f = xar_file_first(x, i); f; f = xar_file_next(i)) {
- char *path;
- path = xar_get_path(f);
- if( path ) {
- CFStringAppendCString(htmlresp, path, kCFStringEncodingUTF8);
- CFStringAppendCString(htmlresp, "\n", kCFStringEncodingUTF8);
-
- CFStringAppendCString(textresp, path, kCFStringEncodingUTF8);
- CFStringAppendCString(textresp, "\n", kCFStringEncodingUTF8);
- free(path);
- }
- }
- CFStringAppendCString(htmlresp, "</pre>", kCFStringEncodingUTF8);
- CFStringAppendCString(htmlresp, "</body>\n", kCFStringEncodingUTF8);
- CFStringAppendCString(htmlresp, "</html>\n", kCFStringEncodingUTF8);
-
- xar_close(x);
-
-
+
+ char *headerstr = NULL;
+ asprintf(&headerstr, "Magic: 0x%x\n", h->magic);
+ asprintf(&headerstr, "%sSize: %" PRIu16 "\n",
headerstr,h->size);
+ asprintf(&headerstr, "%sVersion: %" PRIu16 "\n",
headerstr,h->version);
+ asprintf(&headerstr, "%sCompressed TOC Length: %" PRId64 "\n",
headerstr,h->toc_length_compressed);
+ asprintf(&headerstr, "%sUncompressed TOC Length: %" PRId64 "\n",
headerstr,h->toc_length_uncompressed);
+ asprintf(&headerstr, "%sChecksum Algorithm: %" PRIu32 "\n",
headerstr,h->cksum_alg);
+ free(h);
+ CFStringAppendCString(textresp, headerstr, kCFStringEncodingUTF8);
+ free(headerstr);
+
+ struct decomp *d = calloc(1, sizeof(struct decomp));
+ memcpy(&d->header, h, sizeof(struct xar_header));
+ d->readbuf_len = 4096;
+ d->readbuf = malloc(d->readbuf_len);
+ d->fd = fd;
+ inflateInit(&d->zs);
+ xmlTextReaderPtr reader;
+ const xmlChar *name;
+ int type, noattr, ret;
+ char *filelist = strdup("");
+ const char *creatdate = NULL;
+
+ reader = xmlReaderForIO(toc_read_callback, close_callback, d, NULL, NULL,
0);
+
+ while( (ret = xmlTextReaderRead(reader)) == 1 ) {
+ type = xmlTextReaderNodeType(reader);
+ noattr = xmlTextReaderAttributeCount(reader);
+ name = xmlTextReaderConstLocalName(reader);
+ if( type != XML_READER_TYPE_ELEMENT )
+ continue;
+ if(strcmp((const char*)name, "xar") != 0)
+ continue;
+ while( (ret = xmlTextReaderRead(reader)) == 1 ) {
+ type = xmlTextReaderNodeType(reader);
+ noattr = xmlTextReaderAttributeCount(reader);
+ name = xmlTextReaderConstLocalName(reader);
+ if( type == XML_READER_TYPE_ELEMENT ) {
+ if(strcmp((const char*)name, "toc") == 0) {
+ while( (ret = xmlTextReaderRead(reader)) == 1 ) {
+ type = xmlTextReaderNodeType(reader);
+ noattr = xmlTextReaderAttributeCount(reader);
+ name = xmlTextReaderConstLocalName(reader);
+ if( type == XML_READER_TYPE_ELEMENT ) {
+ if( strcmp((const char *)name, "creation-time") == 0 ) {
+ while( xmlTextReaderRead(reader) == 1 ) {
+ type = xmlTextReaderNodeType(reader);
+ name = xmlTextReaderConstLocalName(reader);
+ if( type == XML_READER_TYPE_TEXT ) {
+ creatdate = strdup((char *)xmlTextReaderConstValue(reader));
+ }
+ if( (type == XML_READER_TYPE_END_ELEMENT) && (strcmp((const char
*)name, "creation-time")==0) ) {
+ break;
+ }
+ }
+ } else if( strcmp((const char*)name, "file") == 0) {
+ asprintf(&filelist, "%s%s", filelist, parse_file(reader, "", 0));
+ }
+ if( gCount > gMax )
+ goto done;
+ }
+ }
+ if( ret == -1 ) {
+ xmlFreeTextReader(reader);
+ xmlDictCleanup();
+ xmlCleanupCharEncodingHandlers();
+ return -1;
+ }
+ }
+ }
+ if( (type == XML_READER_TYPE_END_ELEMENT) && (strcmp((const
char *)name, "toc")==0) ) {
+ break;
+ }
+ }
+ if( ret == -1 ) {
+ xmlFreeTextReader(reader);
+ xmlDictCleanup();
+ xmlCleanupCharEncodingHandlers();
+ break;
+ }
+ }
+done:
+ if( creatdate ) {
+ CFStringAppendCString(textresp, "Creation Time: ",
kCFStringEncodingUTF8);
+ CFStringAppendCString(textresp, creatdate, kCFStringEncodingUTF8);
+ CFStringAppendCString(textresp, "\n", kCFStringEncodingUTF8);
+ }
+ CFStringAppendCString(textresp, "\nFile List:\n", kCFStringEncodingUTF8);
+ CFStringAppendCString(textresp, filelist, kCFStringEncodingUTF8);
+ free(filelist);
dict = CFDictionaryCreateMutable(NULL, 0, NULL, NULL);
if( !dict ) {
- CFRelease(htmlresp);
return noErr;
}
CFDictionarySetValue(dict, kQLPreviewPropertyTextEncodingNameKey,
CFSTR("UTF-8"));
- CFDictionarySetValue(dict, kQLPreviewPropertyMIMETypeKey,
CFSTR("text/html"));
+ CFDictionarySetValue(dict, kQLPreviewPropertyMIMETypeKey,
CFSTR("text/plain"));
//qldata = CFStringCreateExternalRepresentation(NULL, htmlresp,
kCFStringEncodingUTF8, 0);
@@ -84,7 +285,6 @@
qldata = CFStringCreateExternalRepresentation(NULL, textresp,
kCFStringEncodingUTF8, 0);
QLPreviewRequestSetDataRepresentation(preview, qldata,
kUTTypeUTF8PlainText, NULL);
- CFRelease(htmlresp);
CFRelease(textresp);
CFRelease(dict);
CFRelease(qldata);
=======================================
--- /trunk/xarql/xar.xcodeproj/project.pbxproj Sun Jun 17 13:38:10 2007
+++ /trunk/xarql/xar.xcodeproj/project.pbxproj Thu Sep 24 07:59:14 2009
@@ -3,12 +3,14 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 43;
+ objectVersion = 44;
objects = {
/* Begin PBXBuildFile section */
2C05A19C06CAA52B00D84F6F /* GeneratePreviewForURL.c in Sources */ = {isa
= PBXBuildFile; fileRef = 2C05A19B06CAA52B00D84F6F /*
GeneratePreviewForURL.c */; };
3E161D2F0C25AB9F0071F417 /* libxar.dylib in Frameworks */ = {isa =
PBXBuildFile; fileRef = 3E161D2E0C25AB9F0071F417 /* libxar.dylib */; };
+ 3E82DF4E106A700D005D1E54 /* libxml2.dylib in Frameworks */ = {isa =
PBXBuildFile; fileRef = 3E82DF4D106A700D005D1E54 /* libxml2.dylib */; };
+ 3E82DF50106A7028005D1E54 /* libz.dylib in Frameworks */ = {isa =
PBXBuildFile; fileRef = 3E82DF4F106A7028005D1E54 /* libz.dylib */; };
61E3BCFB0870B4F2002186A0 /* GenerateThumbnailForURL.c in Sources */ =
{isa = PBXBuildFile; fileRef = 61E3BCFA0870B4F2002186A0 /*
GenerateThumbnailForURL.c */; };
8D576312048677EA00EA77CD /* main.c in Sources */ = {isa = PBXBuildFile;
fileRef = 08FB77B6FE84183AC02AAC07 /* main.c */; settings = {ATTRIBUTES =
(); }; };
8D576314048677EA00EA77CD /* CoreFoundation.framework in Frameworks */ =
{isa = PBXBuildFile; fileRef = 0AA1909FFE8422F4C02AAC07 /*
CoreFoundation.framework */; };
@@ -24,6 +26,8 @@
0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */ = {isa =
PBXFileReference; lastKnownFileType = wrapper.framework; name =
CoreFoundation.framework; path =
/System/Library/Frameworks/CoreFoundation.framework; sourceTree
= "<absolute>"; };
2C05A19B06CAA52B00D84F6F /* GeneratePreviewForURL.c */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c;
path = GeneratePreviewForURL.c; sourceTree = "<group>"; };
3E161D2E0C25AB9F0071F417 /* libxar.dylib */ = {isa = PBXFileReference;
lastKnownFileType = "compiled.mach-o.dylib"; name = libxar.dylib; path =
/usr/lib/libxar.dylib; sourceTree = "<absolute>"; };
+ 3E82DF4D106A700D005D1E54 /* libxml2.dylib */ = {isa = PBXFileReference;
lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path =
/usr/lib/libxml2.dylib; sourceTree = "<absolute>"; };
+ 3E82DF4F106A7028005D1E54 /* libz.dylib */ = {isa = PBXFileReference;
lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path =
/usr/lib/libz.dylib; sourceTree = "<absolute>"; };
61E3BCFA0870B4F2002186A0 /* GenerateThumbnailForURL.c */ = {isa =
PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c;
path = GenerateThumbnailForURL.c; sourceTree = "<group>"; };
8D576316048677EA00EA77CD /* xar.qlgenerator */ = {isa =
PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0;
path = xar.qlgenerator; sourceTree = BUILT_PRODUCTS_DIR; };
8D576317048677EA00EA77CD /* Info.plist */ = {isa = PBXFileReference;
fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist;
sourceTree = "<group>"; };
@@ -42,6 +46,8 @@
F28CFBFD0A3EC0AF000ABFF5 /* ApplicationServices.framework in
Frameworks */,
F28CFC030A3EC0C6000ABFF5 /* QuickLook.framework in Frameworks */,
3E161D2F0C25AB9F0071F417 /* libxar.dylib in Frameworks */,
+ 3E82DF4E106A700D005D1E54 /* libxml2.dylib in Frameworks */,
+ 3E82DF50106A7028005D1E54 /* libz.dylib in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -51,6 +57,8 @@
089C166AFE841209C02AAC07 /* xar */ = {
isa = PBXGroup;
children = (
+ 3E82DF4F106A7028005D1E54 /* libz.dylib */,
+ 3E82DF4D106A700D005D1E54 /* libxml2.dylib */,
3E161D2E0C25AB9F0071F417 /* libxar.dylib */,
08FB77AFFE84173DC02AAC07 /* Source */,
089C167CFE841241C02AAC07 /* Resources */,
@@ -235,7 +243,8 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
- SDKROOTS = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
+ SDKROOT = "";
+ USER_HEADER_SEARCH_PATHS = /usr/include/libxml2;
};
name = Debug;
};
@@ -246,7 +255,8 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
- SDKROOTS = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
+ SDKROOT = "";
+ USER_HEADER_SEARCH_PATHS = /usr/include/libxml2;
};
name = Release;
};