Skip to content
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.

Commit

Permalink
updated doc; new image; new installer; ML headers; new binary; new se…
Browse files Browse the repository at this point in the history
…ttings; V0.97

Signed-off-by: Pooria Azimi <pooriaazimi@me.com>
  • Loading branch information
pooriaazimi committed Jul 28, 2012
1 parent b7c9fd0 commit 165032c
Show file tree
Hide file tree
Showing 54 changed files with 1,673 additions and 209 deletions.
2 changes: 1 addition & 1 deletion BetterDictionary.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "### Close all instances of Dictionary.app\nkillall Dictionary\n\n### Remove the existing bundle from SIMBL plugins folder\nrm -rf ~/Library/Application\\ Support/SIMBL/Plugins/${PRODUCT_NAME}.bundle\nrm -rd ${SRCROOT}/${PRODUCT_NAME}.bundle\n\n### Get version from Info.plist\nVERSION=$(/usr/libexec/PlistBuddy -c \"Print CFBundleVersion\" BetterDictionary/BetterDictionary-Info.plist)\n\n### Copy the bundle to SIMBL plugins folder, and to bundle source folder\ncp -R ${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.bundle ~/Library/Application\\ Support/SIMBL/Plugins/${PRODUCT_NAME}.bundle\ncp -R ${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.bundle ${SRCROOT}/${PRODUCT_NAME}.bundle\n\n### Run Dictionary.app\n#open /Applications/Dictionary.app/\n\n### Zip bundle and installer\n#rm -f ${PRODUCT_NAME}.zip\n#zip -r ${PRODUCT_NAME}.zip ${PRODUCT_NAME}.bundle\n\n### Create installer package\n# -----------------\n## Lion, Snow Leopard\n#/Developer/usr/bin/packagemaker --doc Installers/Installer.pmdoc/ --out Installers/BetterDictionary-${VERSION}.pkg\n# -----------------\n## Mountain Lion\npkgbuild --analyze --root ${SRCROOT}/${PRODUCT_NAME}.bundle/ ${SRCROOT}/${PRODUCT_NAME}.bundle/Contents/BetterDictionaryComponents.plist\npkgbuild --root ${SRCROOT}/${PRODUCT_NAME}.bundle/ --component-plist ${SRCROOT}/${PRODUCT_NAME}.bundle/Contents/BetterDictionaryComponents.plist --version ${VERSION} --install-location ~/Library/Application\\ Support/SIMBL/Plugins/${PRODUCT_NAME}.bundle/ Installers/${PRODUCT_NAME}-${VERSION}.pkg\n\n\n";
shellScript = "### Close all instances of Dictionary.app\nkillall Dictionary\n\n### Remove the existing bundle from SIMBL plugins folder\n#rm -rf ~/Library/Application\\ Support/SIMBL/Plugins/${PRODUCT_NAME}.bundle\nrm -rd ${SRCROOT}/${PRODUCT_NAME}.bundle\n\n### Get version from Info.plist\nVERSION=$(/usr/libexec/PlistBuddy -c \"Print CFBundleVersion\" BetterDictionary/BetterDictionary-Info.plist)\n\n### Copy the bundle to SIMBL plugins folder, and to bundle source folder\ncp -R ${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.bundle ~/Library/Application\\ Support/SIMBL/Plugins/${PRODUCT_NAME}.bundle\ncp -R ${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.bundle ${SRCROOT}/${PRODUCT_NAME}.bundle\n\n### Run Dictionary.app\n#open /Applications/Dictionary.app/\n\n### Zip bundle and installer\n#rm -f ${PRODUCT_NAME}.zip\n#zip -r ${PRODUCT_NAME}.zip ${PRODUCT_NAME}.bundle\n\n### Create installer package\n# -----------------\n## Lion, Snow Leopard\n#/Developer/usr/bin/packagemaker --doc Installers/Installer.pmdoc/ --out Installers/BetterDictionary-${VERSION}.pkg\n# -----------------\n## Mountain Lion\npkgbuild --analyze --root ${SRCROOT}/${PRODUCT_NAME}.bundle/ ${SRCROOT}/${PRODUCT_NAME}.bundle/Contents/BetterDictionaryComponents.plist\npkgbuild --root ${SRCROOT}/${PRODUCT_NAME}.bundle/ --component-plist ${SRCROOT}/${PRODUCT_NAME}.bundle/Contents/BetterDictionaryComponents.plist --version ${VERSION} --install-location ~/Library/Application\\ Support/SIMBL/Plugins/${PRODUCT_NAME}.bundle/ Installers/${PRODUCT_NAME}-${VERSION}.pkg\n\n\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down
66 changes: 66 additions & 0 deletions Headers/Mountain Lion/ApplicationController.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/

#import "NSObject.h"

@class NSMutableArray, NSString;

@interface ApplicationController : NSObject
{
NSMutableArray *_availableDictionaries;
BOOL _appInitializeDone;
BOOL _appTerminatedOnceInTAL;
NSString *_activeDictionaryGlobalVars;
}

+ (id)sharedAppController;
@property(readonly) BOOL appInitializeDone; // @synthesize appInitializeDone=_appInitializeDone;
- (void)application:(id)arg1 runTest:(unsigned long long)arg2 duration:(double)arg3;
- (void)doLookupService:(id)arg1 userData:(id)arg2 error:(id *)arg3;
- (void)_prepareWindowsForTAL;
- (void)_prepareTerminationForTAL;
- (void)_changeTextSize:(id)arg1;
- (BOOL)_shouldOpenNewWindowForExternalRequest;
- (long long)_generateWindowIDForWindow:(id)arg1;
- (BOOL)_restoreSavedWindows:(id)arg1 foundNewDicts:(char *)arg2;
- (void)_prepareWindows;
- (void)_saveWindowStatesWithSettings:(id)arg1;
- (BOOL)validateMenuItem:(id)arg1;
- (BOOL)panel:(id)arg1 shouldShowFilename:(id)arg2;
- (void)activeDictionariesDidChanged:(id)arg1;
- (void)clearWebKitCacheDebug:(id)arg1;
- (id)dictionaryWindowList;
- (id)userAgentName;
- (void)updatePreference;
- (void)saveWindowStatesWithSettings:(BOOL)arg1 afterDelay:(double)arg2;
- (void)updateScopebarForAllWindows;
@property(readonly) NSString *activeDictionaryGlobalVars; // @synthesize activeDictionaryGlobalVars=_activeDictionaryGlobalVars;
- (void)upodateDictionaries:(id)arg1 inWindow:(id)arg2;
- (void)setAvailableDictionaries:(id)arg1;
- (id)availableDictionaries;
- (void)selectSearchField:(id)arg1;
- (void)doPrint:(id)arg1;
- (void)doPageSetup:(id)arg1;
- (void)openDictionaryFolder:(id)arg1;
- (void)showPreferences:(id)arg1;
- (void)selectPrevDictionary:(id)arg1;
- (void)selectNextDictionary:(id)arg1;
- (void)forwardHistory:(id)arg1;
- (void)backHistory:(id)arg1;
- (void)selectDictionary:(id)arg1;
- (void)newBrowserWindow:(id)arg1;
- (void)showAboutBox:(id)arg1;
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(id)arg1;
- (void)applicationWillTerminate:(id)arg1;
- (BOOL)_handleSearchTextAppleEvent;
- (BOOL)applicationShouldHandleReopen:(id)arg1 hasVisibleWindows:(BOOL)arg2;
- (void)_delayedDidFinishLaunching;
- (id)_prepareMyPreferences;
- (void)applicationDidFinishLaunching:(id)arg1;
- (void)awakeFromNib;

@end

142 changes: 142 additions & 0 deletions Headers/Mountain Lion/BrowserWindowController.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/

#import "NSWindowController.h"

#import "DictionaryHistoryDelegate-Protocol.h"

@class DictionaryController, DictionaryHistory, DictionaryScopeBar, DictionarySearchField, NSDictionary, NSMutableArray, NSObjectController, NSPageController, NSPrintInfo, NSProgressIndicator, NSSegmentedControl, NSTextField, NSWindow;

@interface BrowserWindowController : NSWindowController <DictionaryHistoryDelegate>
{
NSSegmentedControl *_backForwardBtn;
NSSegmentedControl *_textSizeBtn;
NSWindow *_dictionaryLabelSheet;
NSTextField *_dictionaryLabelField;
DictionarySearchField *_searchField;
NSProgressIndicator *_searchProgressSpinner;
DictionaryScopeBar *_scopeBar;
NSObjectController *_dictionaryControllerController;
NSPageController *_pageContoller;
DictionaryController *_dictionaryController;
long long _selectedDictionaryIndex;
DictionaryHistory *_historyManager;
NSDictionary *_reproducingSnapShot;
NSMutableArray *_queuedAlertRequests;
struct CGRect _imageWindowFrame;
struct CGRect _imageWindowParentFrame;
BOOL _disableResumeCache;
long long _windowID;
BOOL _rewindingHistory;
BOOL _adjustingHistory;
BOOL _needToHideHistoryTransition;
BOOL _delayHideHistoryTransition;
BOOL _showHiddenIndexForSnapshot;
BOOL _resumingCache;
NSPrintInfo *printInfo;
BOOL _isInSelfTest;
}

+ (BOOL)_reinitializeFrontMatterMenu;
+ (void)_reinitializeSearchMenu;
+ (void)validateAllMenuEquivalents;
+ (id)defaultWindowTitle;
+ (id)activeWindowController;
@property(readonly) DictionaryController *dictionaryController; // @synthesize dictionaryController=_dictionaryController;
- (void)_setAccessibilityDescription:(id)arg1 forControl:(id)arg2 segment:(long long)arg3;
- (void)alertDidEnd:(id)arg1 returnCode:(long long)arg2 contextInfo:(void *)arg3;
- (void)_showAlertFromDictionary:(id)arg1;
- (void)_dictionaryWindowCountChanged:(id)arg1;
- (void)_revertDictionaryLabel:(id)arg1;
- (void)closeEditLabelSheet:(id)arg1;
- (void)_editLabelSheetDidEnd:(id)arg1 returnCode:(long long)arg2 contextInfo:(void *)arg3;
- (void)_editDictionaryLabel:(id)arg1;
- (void)_updateDictionaryController;
- (id)_dictionaryController;
- (void)_chooseDictionaryByDictionaryIndex:(long long)arg1 byUser:(BOOL)arg2;
- (void)_changeTextSize:(BOOL)arg1;
- (id)_resumeCacheURLWithFolderCreation:(BOOL)arg1;
- (id)_loadResumeCacheData;
- (id)_menuFromIndex:(long long)arg1 forBack:(BOOL)arg2;
- (void)_updateBackForwardMenu;
- (void)_reproduceSnapshot:(id)arg1;
- (void)_backOrForwardHistory:(long long)arg1;
- (void)_navigateToHistoryIndex:(long long)arg1;
- (void)_updateCurrentSnapshot;
- (void)_snapback:(id)arg1;
- (BOOL)needStopTransitionBeforeUpdate;
- (void)dictionaryHistoryDidEndLiveTransitionWithCancelled:(BOOL)arg1;
- (void)dictionaryHistoryWillStartLiveTransition;
- (void)dictionaryHistorySelectedIndexDidChanged;
- (void)displayDictionaryHistory:(id)arg1;
- (void)forwardInvocation:(id)arg1;
- (id)methodSignatureForSelector:(SEL)arg1;
- (BOOL)respondsToSelector:(SEL)arg1;
- (void)setSelfTestFlag:(BOOL)arg1;
- (BOOL)isInSelfTest;
- (void)runPerformanceTest:(id)arg1;
- (void)runDefaultTestSuite:(id)arg1;
- (id)toolbarAllowedItemIdentifiers:(id)arg1;
- (id)toolbarDefaultItemIdentifiers:(id)arg1;
- (void)windowDidBecomeMain:(id)arg1;
- (BOOL)windowShouldClose:(id)arg1;
- (void)windowWillClose:(id)arg1;
- (void)windowDidBecomeKey:(id)arg1;
- (void)windowDidMove:(id)arg1;
- (void)windowDidResize:(id)arg1;
- (struct CGSize)windowWillResize:(id)arg1 toSize:(struct CGSize)arg2;
- (void)dictionarySearchFieldConfirmed:(id)arg1;
- (void)dictionarySearchFieldMethodDidChanged:(id)arg1;
- (void)dictionarySearchFieldStringDidChanged:(id)arg1;
- (void)takeCurrentSnapshotByLinkFromDictionary:(id)arg1;
- (void)saveResumeCache;
- (void)finishReproducingSnapshot;
- (long long)windowID;
- (void)setWindowID:(long long)arg1;
- (BOOL)hasInlineInputArea;
- (BOOL)hasSearchedText;
- (void)printContents;
- (void)didEndPageLayout:(id)arg1 returnCode:(long long)arg2 contextInfo:(void *)arg3;
- (void)doPageLayout;
- (void)printInfoUpdated;
- (void)setPrintInfo:(id)arg1;
- (id)printInfo;
- (void)validateTextSizeBtnCanBigger:(BOOL)arg1 canSmaller:(BOOL)arg2;
- (void)clearHistories;
- (void)historyAvailableForBack:(char *)arg1 forward:(char *)arg2;
- (id)contextualMenuForDictionary:(id)arg1 target:(id)arg2 editAction:(SEL)arg3 revertAction:(SEL)arg4;
- (void)setImageWindowFrame:(struct CGRect)arg1;
- (void)imageWindowFrame:(struct CGRect *)arg1 onParentFrame:(struct CGRect *)arg2;
- (BOOL)validateMenuItem:(id)arg1;
- (BOOL)processedSpecialEvent:(id)arg1;
- (void)addDictionary:(id)arg1;
- (void)setDictionaryList:(id)arg1;
- (id)dictionaryList;
- (void)stopProgressAnimation;
- (void)startProgressAnimation;
- (void)updateScopebar;
- (void)toggleDictionary:(BOOL)arg1;
- (void)chooseDictionaryIndex:(long long)arg1;
- (void)setSelectedDictionaryIndex:(long long)arg1;
- (void)showRequestedStringLongest:(id)arg1 inDictionary:(id)arg2;
- (void)showRequestedURL:(id)arg1 label:(id)arg2 inDictionary:(id)arg3;
- (void)setSearchStringValue:(id)arg1 displayString:(id)arg2 triggerSearch:(BOOL)arg3;
- (void)showFrontMatterPage:(id)arg1;
- (void)changeTextSize:(id)arg1;
- (void)chooseDictionary:(id)arg1;
- (void)backOrForwardMenu:(id)arg1;
- (void)forwardHistory:(id)arg1;
- (void)backHistory:(id)arg1;
- (void)backOrForward:(id)arg1;
- (void)showWindow:(id)arg1;
- (void)dealloc;
- (void)windowDidLoad;
- (id)retrieveProperty;
- (BOOL)setupWithProperty:(id)arg1 frame:(id)arg2;
- (void)setupWithDictionaryList:(id)arg1;

@end

28 changes: 28 additions & 0 deletions Headers/Mountain Lion/CDStructures.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/

#pragma mark Named Structures

struct CGPoint {
double x;
double y;
};

struct CGRect {
struct CGPoint origin;
struct CGSize size;
};

struct CGSize {
double width;
double height;
};

struct _NSRange {
unsigned long long _field1;
unsigned long long _field2;
};

29 changes: 29 additions & 0 deletions Headers/Mountain Lion/DSFindPanelController.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/

#import "NSObject.h"

@class NSPanel, NSTextField;

@interface DSFindPanelController : NSObject
{
NSPanel *_findPanel;
NSTextField *_findTextField;
NSTextField *_statusTextField;
BOOL _notificationRegistered;
}

- (void)_applicationDidBecomeActive:(id)arg1;
- (BOOL)validateMenuItem:(id)arg1;
- (void)_findOnDirection:(BOOL)arg1;
- (void)jumpToSelection:(id)arg1;
- (void)enterSelection:(id)arg1;
- (void)findPrevious:(id)arg1;
- (void)findNext:(id)arg1;
- (void)showFindPanel:(id)arg1;

@end

19 changes: 19 additions & 0 deletions Headers/Mountain Lion/DSImageView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/

#import "NSImageView.h"

@interface DSImageView : NSImageView
{
}

- (BOOL)acceptsFirstResponder;
- (BOOL)acceptsFirstMouse:(id)arg1;
- (void)viewDidEndLiveResize;
- (void)drawRect:(struct CGRect)arg1;

@end

20 changes: 20 additions & 0 deletions Headers/Mountain Lion/DSIndexHeaderCell.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/

#import "NSTextFieldCell.h"

@class NSTableView;

@interface DSIndexHeaderCell : NSTextFieldCell
{
NSTableView *_relatedTableView;
}

@property NSTableView *relatedTableView; // @synthesize relatedTableView=_relatedTableView;
- (void)drawInteriorWithFrame:(struct CGRect)arg1 inView:(id)arg2;

@end

17 changes: 17 additions & 0 deletions Headers/Mountain Lion/DSIndexSplitView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/

#import "NSSplitView.h"

@interface DSIndexSplitView : NSSplitView
{
}

- (id)accessibilityAttributeValue:(id)arg1;
- (id)dividerColor;

@end

21 changes: 21 additions & 0 deletions Headers/Mountain Lion/DSIndexTableCell.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/

#import "NSTextFieldCell.h"

@interface DSIndexTableCell : NSTextFieldCell
{
}

+ (id)_simplifiedChineseAttrWithBaseFont:(id)arg1 forPinyin:(BOOL)arg2;
- (id)_boldedAttributedStringForBaseString:(id)arg1;
- (id)_myAttributedStringValueWithController:(id)arg1 forTopLabel:(BOOL)arg2;
- (void)drawInteriorWithFrame:(struct CGRect)arg1 inView:(id)arg2;
- (void)drawWithExpansionFrame:(struct CGRect)arg1 inView:(id)arg2;
- (struct CGRect)expansionFrameWithFrame:(struct CGRect)arg1 inView:(id)arg2;

@end

19 changes: 19 additions & 0 deletions Headers/Mountain Lion/DSIndexTableView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/

#import "NSTableView.h"

@interface DSIndexTableView : NSTableView
{
BOOL _showingSpellCorrectedWords;
}

@property BOOL showingSpellCorrectedWords; // @synthesize showingSpellCorrectedWords=_showingSpellCorrectedWords;
- (void)highlightSelectionInClipRect:(struct CGRect)arg1;
- (void)drawBackgroundInClipRect:(struct CGRect)arg1;

@end

Loading

0 comments on commit 165032c

Please sign in to comment.