Index: trunk/ChameleonPrefPane/Sources/AdvancedSetupController.mm =================================================================== --- trunk/ChameleonPrefPane/Sources/AdvancedSetupController.mm (revision 431) +++ trunk/ChameleonPrefPane/Sources/AdvancedSetupController.mm (revision 432) @@ -27,6 +27,7 @@ BootProp::instance().addOptionDesc(mCPU, mCPUText, OptionKernel, "cpus", ""); BootProp::instance().addOptionDesc(mBusRatio, mBusRatioText, OptionKernel, "busratio", ""); BootProp::instance().addOptionDesc(mDebug, mDebugText, OptionKernel, "debug", ""); + BootProp::instance().addOptionDesc(mDarkWake, mDarkWakeText, OptionKernel, "darkwake", ""); BootProp::instance().addOptionDesc(mIO, mIOText, OptionString, "io", ""); BootProp::instance().addOptionDesc(mDisableKextsBlacklisting, nil, OptionUnix, "blacklist=0", ""); BootProp::instance().addOptionDesc(mDSDTFile, mDSDTFileText, OptionFileString, "DSDT", ""); Index: trunk/ChameleonPrefPane/Sources/AdvancedSetupController.h =================================================================== --- trunk/ChameleonPrefPane/Sources/AdvancedSetupController.h (revision 431) +++ trunk/ChameleonPrefPane/Sources/AdvancedSetupController.h (revision 432) @@ -19,18 +19,20 @@ IBOutlet NSTextField* mDeviceRdText; IBOutlet NSButton* mArch; - IBOutlet NSComboBox* mArchText; + IBOutlet NSComboBox* mArchText; IBOutlet NSButton* mCPU; - IBOutlet NSComboBox* mCPUText; + IBOutlet NSComboBox* mCPUText; IBOutlet NSButton* mBusRatio; - IBOutlet NSComboBox* mBusRatioText; + IBOutlet NSComboBox* mBusRatioText; IBOutlet NSButton* mSystemType; - IBOutlet NSComboBox* mSystemTypeText; + IBOutlet NSComboBox* mSystemTypeText; IBOutlet NSButton* mDebug; - IBOutlet NSComboBox* mDebugText; + IBOutlet NSComboBox* mDebugText; + IBOutlet NSButton* mDarkWake; + IBOutlet NSComboBox* mDarkWakeText; IBOutlet NSButton* mIO; - IBOutlet NSComboBox* mIOText; + IBOutlet NSComboBox* mIOText; IBOutlet NSButton* mDisableKextsBlacklisting; IBOutlet NSButton* mDSDTFile; Index: trunk/ChameleonPrefPane/Sources/KernOptionsParser.cpp =================================================================== --- trunk/ChameleonPrefPane/Sources/KernOptionsParser.cpp (revision 431) +++ trunk/ChameleonPrefPane/Sources/KernOptionsParser.cpp (revision 432) @@ -66,7 +66,7 @@ std::string::size_type found = _options.find(f); if (found==std::string::npos) return; // find the end of the flag - for ( pos=found+flag.length(); pos YES - + YES @@ -293,7 +293,7 @@ Item 1 - + 292 YES @@ -1000,6 +1000,7 @@ {541, 408} + 2 Startup Disk @@ -1580,7 +1581,7 @@ Item 3 - + 256 YES @@ -1876,7 +1877,7 @@ 274 - {13, 210} + {13, 231} YES @@ -2176,7 +2177,6 @@ {541, 408} - 2 Boot Flags @@ -2866,6 +2866,29 @@ 25 + + + 268 + {{277, 46}, {205, 23}} + + 2 + YES + + 67239424 + 0 + Dark Wake + + + 1211912703 + 2 + + + + + 200 + 25 + + 268 @@ -2930,6 +2953,87 @@ 25 + + + 268 + {{378, 46}, {76, 26}} + + 2 + YES + + 343014976 + 272630784 + + + + YES + + + 2 + YES + + YES + 0 + 1 + + + + + 274 + {13, 63} + + + YES + + YES + + 10 + 10 + 1000 + + 75628032 + 0 + + + + 3 + MC4zMzMzMzI5ODU2AA + + + + + 338820672 + 268436480 + + + YES + + + + 3 + YES + + + + 3 + 2 + + + 19 + tableViewAction: + -765427712 + + + + 1 + 15 + 0 + YES + 0 + 1 + + + {{1, 1}, {509, 78}} @@ -4595,14 +4699,14 @@ - + 268435462 YES YES YES - + @@ -6368,6 +6472,38 @@ 1427 + + + onCheckButtonChange: + + + + 1430 + + + + onTextFiedChange: + + + + 1433 + + + + mDarkWake + + + + 1434 + + + + mDarkWakeText + + + + 1435 + @@ -8044,6 +8180,8 @@ + + @@ -8437,6 +8575,34 @@ + + 1428 + + + YES + + + + + + 1429 + + + + + 1431 + + + YES + + + + + + 1432 + + + @@ -8581,6 +8747,13 @@ 1424.IBPluginDependency 1424.IBViewBoundsToFrameTransform 1425.IBPluginDependency + 1428.IBAttributePlaceholdersKey + 1428.IBPluginDependency + 1428.IBViewBoundsToFrameTransform + 1429.IBPluginDependency + 1431.IBPluginDependency + 1431.IBViewBoundsToFrameTransform + 1432.IBPluginDependency 158.IBPluginDependency 160.IBPluginDependency 172.IBAttributePlaceholdersKey @@ -8715,6 +8888,7 @@ 562.IBPluginDependency 563.IBAttributePlaceholdersKey 563.IBPluginDependency + 563.IBViewBoundsToFrameTransform 566.IBPluginDependency 567.IBPluginDependency 568.IBPluginDependency @@ -8791,6 +8965,7 @@ 847.IBPluginDependency 848.IBPluginDependency 851.IBPluginDependency + 851.IBViewBoundsToFrameTransform 852.IBPluginDependency 855.IBPluginDependency 856.IBPluginDependency @@ -9057,9 +9232,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{938, 770}, {668, 439}} + {{344, 343}, {668, 439}} com.apple.InterfaceBuilder.CocoaPlugin - {{938, 770}, {668, 439}} + {{344, 343}, {668, 439}} {224.66399999999999, 10} com.apple.InterfaceBuilder.CocoaPlugin @@ -9185,8 +9360,26 @@ P4AAAL+AAABDUQAAwy4AAA com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Force using the sleepimage (default=No) + + com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABDJgAAwnwAAA + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABDvYAAwoYAAA + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin InitialTabViewItem @@ -9584,6 +9777,9 @@ com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABDIQAAwogAAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -9753,6 +9949,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABCzAAAwyYAAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -9845,7 +10044,7 @@ - 1427 + 1435 @@ -9928,6 +10127,8 @@ mDSDTDrop mDSDTFile mDSDTFileText + mDarkWake + mDarkWakeText mDebug mDebugText mDeviceRd @@ -9966,6 +10167,8 @@ NSButton NSComboBox NSButton + NSComboBox + NSButton NSTextField NSButton NSButton @@ -10001,6 +10204,8 @@ mDSDTDrop mDSDTFile mDSDTFileText + mDarkWake + mDarkWakeText mDebug mDebugText mDeviceRd @@ -10064,6 +10269,14 @@ NSTextField + mDarkWake + NSButton + + + mDarkWakeText + NSComboBox + + mDebug NSButton