├── .gitignore ├── .gitmodules ├── .travis.yml ├── Application.icns ├── Codeine.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ ├── Codeine.xccheckout │ │ └── Codeine.xcscmblueprint │ └── xcuserdata │ │ └── .gitignore ├── xcshareddata │ └── xcschemes │ │ ├── Codeine - Debug.xcscheme │ │ └── Codeine - Release.xcscheme └── xcuserdata │ └── .gitignore ├── Codeine ├── Application Support │ ├── Licenses │ │ ├── Closed Source.txt │ │ ├── Open Source - APSL.txt │ │ ├── Open Source - BOOST.txt │ │ ├── Open Source - BSD.txt │ │ ├── Open Source - GPL.txt │ │ └── Open Source - MIT.txt │ ├── Templates │ │ ├── C++.txt │ │ ├── C.txt │ │ ├── Header.txt │ │ ├── Objective-C++.txt │ │ └── Objective-C.txt │ └── Themes │ │ ├── BareBones.plist │ │ ├── Codeine - Dark.plist │ │ ├── Codeine - Light.plist │ │ ├── Dusk.plist │ │ ├── Sunset.plist │ │ └── Xcode.plist ├── CEMacros.h ├── CETypes.h ├── CEWarnings.h ├── Clang.bundle │ └── Contents │ │ ├── Info.plist │ │ ├── Resources │ │ └── include │ │ │ ├── .dir │ │ │ ├── __wmmintrin_aes.h │ │ │ ├── __wmmintrin_pclmul.h │ │ │ ├── altivec.h │ │ │ ├── ammintrin.h │ │ │ ├── arm_neon.h │ │ │ ├── avx2intrin.h │ │ │ ├── avxintrin.h │ │ │ ├── bmi2intrin.h │ │ │ ├── bmiintrin.h │ │ │ ├── cpuid.h │ │ │ ├── emmintrin.h │ │ │ ├── f16cintrin.h │ │ │ ├── float.h │ │ │ ├── fma4intrin.h │ │ │ ├── fmaintrin.h │ │ │ ├── immintrin.h │ │ │ ├── iso646.h │ │ │ ├── limits.h │ │ │ ├── lzcntintrin.h │ │ │ ├── mm3dnow.h │ │ │ ├── mm_malloc.h │ │ │ ├── mmintrin.h │ │ │ ├── module.map │ │ │ ├── nmmintrin.h │ │ │ ├── pmmintrin.h │ │ │ ├── popcntintrin.h │ │ │ ├── prfchwintrin.h │ │ │ ├── rdseedintrin.h │ │ │ ├── rtmintrin.h │ │ │ ├── smmintrin.h │ │ │ ├── stdalign.h │ │ │ ├── stdarg.h │ │ │ ├── stdbool.h │ │ │ ├── stddef.h │ │ │ ├── stdint.h │ │ │ ├── stdnoreturn.h │ │ │ ├── tgmath.h │ │ │ ├── tmmintrin.h │ │ │ ├── unwind.h │ │ │ ├── varargs.h │ │ │ ├── wmmintrin.h │ │ │ ├── x86intrin.h │ │ │ ├── xmmintrin.h │ │ │ └── xopintrin.h │ │ └── version.plist ├── Classes │ ├── About │ │ ├── CEAboutWindowController.h │ │ ├── CEAboutWindowController.m │ │ ├── CEAlternateAboutWindowController.h │ │ └── CEAlternateAboutWindowController.m │ ├── Application │ │ ├── CEApplicationDelegate+NSOpenSavePanelDelegate.h │ │ ├── CEApplicationDelegate+NSOpenSavePanelDelegate.m │ │ ├── CEApplicationDelegate+Private.h │ │ ├── CEApplicationDelegate+Private.m │ │ ├── CEApplicationDelegate.h │ │ └── CEApplicationDelegate.m │ ├── Base │ │ ├── CEMutableOrderedDictionary.h │ │ ├── CEMutableOrderedDictionary.m │ │ ├── CEOrderedDictionary.h │ │ ├── CEOrderedDictionary.m │ │ ├── CETableView.h │ │ ├── CETableView.m │ │ ├── CETableViewDelegate.h │ │ ├── CEViewController.h │ │ ├── CEViewController.m │ │ ├── CEWindowController+Private.h │ │ ├── CEWindowController+Private.m │ │ ├── CEWindowController.h │ │ └── CEWindowController.m │ ├── Categories │ │ ├── NSApplication+CE.h │ │ ├── NSApplication+CE.m │ │ ├── NSBundle+CE.h │ │ ├── NSBundle+CE.m │ │ ├── NSFileManager+CE.h │ │ ├── NSFileManager+CE.m │ │ ├── NSImage+CE.h │ │ ├── NSImage+CE.m │ │ ├── NSString+CE.h │ │ ├── NSString+CE.m │ │ ├── NSTextView+CE.h │ │ ├── NSTextView+CE.m │ │ ├── NSView+CE.h │ │ └── NSView+CE.m │ ├── Code Completion │ │ ├── CECodeCompletionViewController+NSTableViewDataSource.h │ │ ├── CECodeCompletionViewController+NSTableViewDataSource.m │ │ ├── CECodeCompletionViewController+NSTableViewDelegate.h │ │ ├── CECodeCompletionViewController+NSTableViewDelegate.m │ │ ├── CECodeCompletionViewController+Private.h │ │ ├── CECodeCompletionViewController+Private.m │ │ ├── CECodeCompletionViewController.h │ │ └── CECodeCompletionViewController.m │ ├── Console │ │ ├── CEConsoleViewController+Private.h │ │ ├── CEConsoleViewController+Private.m │ │ ├── CEConsoleViewController.h │ │ └── CEConsoleViewController.m │ ├── Debug │ │ ├── CEDebugViewController+CEVerticalTabViewDelegate.h │ │ ├── CEDebugViewController+CEVerticalTabViewDelegate.m │ │ ├── CEDebugViewController+Private.h │ │ ├── CEDebugViewController+Private.m │ │ ├── CEDebugViewController.h │ │ └── CEDebugViewController.m │ ├── Diagnostics │ │ ├── CEDiagnosticWrapper.h │ │ ├── CEDiagnosticWrapper.m │ │ ├── CEDiagnosticsCell.h │ │ ├── CEDiagnosticsCell.m │ │ ├── CEDiagnosticsTableView.h │ │ ├── CEDiagnosticsTableView.m │ │ ├── CEDiagnosticsViewController+CETableViewDelegate.h │ │ ├── CEDiagnosticsViewController+CETableViewDelegate.m │ │ ├── CEDiagnosticsViewController+NSTableViewDataSource.h │ │ ├── CEDiagnosticsViewController+NSTableViewDataSource.m │ │ ├── CEDiagnosticsViewController+NSTableViewDelegate.h │ │ ├── CEDiagnosticsViewController+NSTableViewDelegate.m │ │ ├── CEDiagnosticsViewController+Private.h │ │ ├── CEDiagnosticsViewController+Private.m │ │ ├── CEDiagnosticsViewController.h │ │ └── CEDiagnosticsViewController.m │ ├── Editor │ │ ├── CEEditorLayoutManager+Private.h │ │ ├── CEEditorLayoutManager+Private.m │ │ ├── CEEditorLayoutManager.h │ │ ├── CEEditorLayoutManager.m │ │ ├── CEEditorMarker.h │ │ ├── CEEditorMarker.m │ │ ├── CEEditorRulerView+Private.h │ │ ├── CEEditorRulerView+Private.m │ │ ├── CEEditorRulerView.h │ │ ├── CEEditorRulerView.m │ │ ├── CEEditorTextView+Private.h │ │ ├── CEEditorTextView+Private.m │ │ ├── CEEditorTextView.h │ │ ├── CEEditorTextView.m │ │ ├── CEEditorTextViewDelegate.h │ │ ├── CEEditorViewController+CEEditorTextViewDelegate.h │ │ ├── CEEditorViewController+CEEditorTextViewDelegate.m │ │ ├── CEEditorViewController+NSTextViewDelegate.h │ │ ├── CEEditorViewController+NSTextViewDelegate.m │ │ ├── CEEditorViewController+Private.h │ │ ├── CEEditorViewController+Private.m │ │ ├── CEEditorViewController.h │ │ └── CEEditorViewController.m │ ├── File Details │ │ ├── CEFileDetailsViewController.h │ │ └── CEFileDetailsViewController.m │ ├── Files │ │ ├── CEFilesOutlineView+Private.h │ │ ├── CEFilesOutlineView+Private.m │ │ ├── CEFilesOutlineView.h │ │ ├── CEFilesOutlineView.m │ │ ├── CEFilesOutlineViewDelegate.h │ │ ├── CEFilesViewCell.h │ │ ├── CEFilesViewCell.m │ │ ├── CEFilesViewController+NSOutlineViewDataSource.h │ │ ├── CEFilesViewController+NSOutlineViewDataSource.m │ │ ├── CEFilesViewController+NSOutlineViewDelegate.h │ │ ├── CEFilesViewController+NSOutlineViewDelegate.m │ │ ├── CEFilesViewController+Private.h │ │ ├── CEFilesViewController+Private.m │ │ ├── CEFilesViewController.h │ │ ├── CEFilesViewController.m │ │ ├── CEFilesViewItem.h │ │ ├── CEFilesViewItem.m │ │ ├── CEFilesViewItemBookmark.h │ │ ├── CEFilesViewItemBookmark.m │ │ ├── CEFilesViewItemDocument.h │ │ ├── CEFilesViewItemDocument.m │ │ ├── CEFilesViewItemFS.h │ │ ├── CEFilesViewItemFS.m │ │ ├── CEFilesViewItemSection.h │ │ └── CEFilesViewItemSection.m │ ├── FixIt │ │ ├── CEFixItViewController.h │ │ └── CEFixItViewController.m │ ├── Helpers │ │ ├── CEBuilder.h │ │ ├── CEBuilder.m │ │ ├── CEColorTheme+Private.h │ │ ├── CEColorTheme+Private.m │ │ ├── CEColorTheme.h │ │ ├── CEColorTheme.m │ │ ├── CEDocument+Private.h │ │ ├── CEDocument+Private.m │ │ ├── CEDocument.h │ │ ├── CEDocument.m │ │ ├── CEFile+Private.h │ │ ├── CEFile+Private.m │ │ ├── CEFile.h │ │ ├── CEFile.m │ │ ├── CELinkerObject.h │ │ ├── CELinkerObject.m │ │ ├── CEQuickLookItem.h │ │ ├── CEQuickLookItem.m │ │ ├── CESourceFile.h │ │ ├── CESourceFile.m │ │ ├── CESyntaxHighlighter+Private.h │ │ ├── CESyntaxHighlighter+Private.m │ │ ├── CESyntaxHighlighter.h │ │ ├── CESyntaxHighlighter.m │ │ ├── CESystemIconsHelper.h │ │ ├── CESystemIconsHelper.m │ │ ├── CETextEncoding.h │ │ └── CETextEncoding.m │ ├── Info Window │ │ ├── CEInfoWindowCell.h │ │ ├── CEInfoWindowCell.m │ │ ├── CEInfoWindowController+NSOutlineViewDataSource.h │ │ ├── CEInfoWindowController+NSOutlineViewDataSource.m │ │ ├── CEInfoWindowController+NSOutlineViewDelegate.h │ │ ├── CEInfoWindowController+NSOutlineViewDelegate.m │ │ ├── CEInfoWindowController+Private.h │ │ ├── CEInfoWindowController+Private.m │ │ ├── CEInfoWindowController.h │ │ ├── CEInfoWindowController.m │ │ ├── CEInfoWindowOutlineView.h │ │ ├── CEInfoWindowOutlineView.m │ │ ├── CEInfoWindowView.h │ │ └── CEInfoWindowView.m │ ├── Language Window │ │ ├── CELanguageWindowController+NSTableViewDataSource.h │ │ ├── CELanguageWindowController+NSTableViewDataSource.m │ │ ├── CELanguageWindowController+NSTableViewDelegate.h │ │ ├── CELanguageWindowController+NSTableViewDelegate.m │ │ ├── CELanguageWindowController+Private.h │ │ ├── CELanguageWindowController+Private.m │ │ ├── CELanguageWindowController.h │ │ ├── CELanguageWindowController.m │ │ ├── CELanguageWindowTableView.h │ │ ├── CELanguageWindowTableView.m │ │ ├── CELanguageWindowTitleCell.h │ │ └── CELanguageWindowTitleCell.m │ ├── Main Window │ │ ├── CEMainWindowController+NSOpenSavePanelDelegate.h │ │ ├── CEMainWindowController+NSOpenSavePanelDelegate.m │ │ ├── CEMainWindowController+NSSplitViewDelegate.h │ │ ├── CEMainWindowController+NSSplitViewDelegate.m │ │ ├── CEMainWindowController+Private.h │ │ ├── CEMainWindowController+Private.m │ │ ├── CEMainWindowController.h │ │ └── CEMainWindowController.m │ ├── Preferences │ │ ├── CEPreferences+Private.h │ │ ├── CEPreferences+Private.m │ │ ├── CEPreferences.h │ │ ├── CEPreferences.m │ │ ├── CEPreferencesWindowController+Private.h │ │ ├── CEPreferencesWindowController+Private.m │ │ ├── CEPreferencesWindowController.h │ │ ├── CEPreferencesWindowController.m │ │ ├── Compiler │ │ │ ├── CEPreferencesCompilerOptionsViewController+NSTableViewDataSource.h │ │ │ ├── CEPreferencesCompilerOptionsViewController+NSTableViewDataSource.m │ │ │ ├── CEPreferencesCompilerOptionsViewController+NSTableViewDelegate.h │ │ │ ├── CEPreferencesCompilerOptionsViewController+NSTableViewDelegate.m │ │ │ ├── CEPreferencesCompilerOptionsViewController+Private.h │ │ │ ├── CEPreferencesCompilerOptionsViewController+Private.m │ │ │ ├── CEPreferencesCompilerOptionsViewController.h │ │ │ └── CEPreferencesCompilerOptionsViewController.m │ │ ├── Editor │ │ │ ├── CEPreferencesEditorOptionsViewController.h │ │ │ └── CEPreferencesEditorOptionsViewController.m │ │ ├── File Types │ │ │ ├── CEPreferencesFileTypesAddNewViewController.h │ │ │ ├── CEPreferencesFileTypesAddNewViewController.m │ │ │ ├── CEPreferencesFileTypesOptionsViewController+NSTableViewDataSource.h │ │ │ ├── CEPreferencesFileTypesOptionsViewController+NSTableViewDataSource.m │ │ │ ├── CEPreferencesFileTypesOptionsViewController+NSTableViewDelegate.h │ │ │ ├── CEPreferencesFileTypesOptionsViewController+NSTableViewDelegate.m │ │ │ ├── CEPreferencesFileTypesOptionsViewController+Private.h │ │ │ ├── CEPreferencesFileTypesOptionsViewController+Private.m │ │ │ ├── CEPreferencesFileTypesOptionsViewController.h │ │ │ └── CEPreferencesFileTypesOptionsViewController.m │ │ ├── Fonts And Colors │ │ │ ├── CEPreferencesFontsAndColorsOptionsViewController+CEColorChooserViewDelegate.h │ │ │ ├── CEPreferencesFontsAndColorsOptionsViewController+CEColorChooserViewDelegate.m │ │ │ ├── CEPreferencesFontsAndColorsOptionsViewController+NSTableViewDataSource.h │ │ │ ├── CEPreferencesFontsAndColorsOptionsViewController+NSTableViewDataSource.m │ │ │ ├── CEPreferencesFontsAndColorsOptionsViewController+NSTableViewDelegate.h │ │ │ ├── CEPreferencesFontsAndColorsOptionsViewController+NSTableViewDelegate.m │ │ │ ├── CEPreferencesFontsAndColorsOptionsViewController+Private.h │ │ │ ├── CEPreferencesFontsAndColorsOptionsViewController+Private.m │ │ │ ├── CEPreferencesFontsAndColorsOptionsViewController.h │ │ │ └── CEPreferencesFontsAndColorsOptionsViewController.m │ │ ├── General │ │ │ ├── CEPreferencesGeneralOptionsViewController.h │ │ │ └── CEPreferencesGeneralOptionsViewController.m │ │ ├── Linker │ │ │ ├── CEPreferencesLinkerOptionsViewController+NSOpenSavePanelDelegate.h │ │ │ ├── CEPreferencesLinkerOptionsViewController+NSOpenSavePanelDelegate.m │ │ │ ├── CEPreferencesLinkerOptionsViewController+NSTableViewDataSource.h │ │ │ ├── CEPreferencesLinkerOptionsViewController+NSTableViewDataSource.m │ │ │ ├── CEPreferencesLinkerOptionsViewController+NSTableViewDelegate.h │ │ │ ├── CEPreferencesLinkerOptionsViewController+NSTableViewDelegate.m │ │ │ ├── CEPreferencesLinkerOptionsViewController+Private.h │ │ │ ├── CEPreferencesLinkerOptionsViewController+Private.m │ │ │ ├── CEPreferencesLinkerOptionsViewController.h │ │ │ └── CEPreferencesLinkerOptionsViewController.m │ │ └── User Interface │ │ │ ├── CEPreferencesUserInterfaceOptionsViewController.h │ │ │ └── CEPreferencesUserInterfaceOptionsViewController.m │ ├── Registration Window │ │ ├── CERegistrationWindowController.h │ │ └── CERegistrationWindowController.m │ └── UI Elements │ │ ├── CEBackgroundView.h │ │ ├── CEBackgroundView.m │ │ ├── CEColorChooserView+Private.h │ │ ├── CEColorChooserView+Private.m │ │ ├── CEColorChooserView.h │ │ ├── CEColorChooserView.m │ │ ├── CEColorChooserViewDelegate.h │ │ ├── CEColorLabelMenuItem+CEColorLabelViewDelegate.h │ │ ├── CEColorLabelMenuItem+CEColorLabelViewDelegate.m │ │ ├── CEColorLabelMenuItem.h │ │ ├── CEColorLabelMenuItem.m │ │ ├── CEColorLabelView.h │ │ ├── CEColorLabelView.m │ │ ├── CEColorLabelViewDelegate.h │ │ ├── CEHUDView.h │ │ ├── CEHUDView.m │ │ ├── CELicensePopUpButton+Private.h │ │ ├── CELicensePopUpButton+Private.m │ │ ├── CELicensePopUpButton.h │ │ ├── CELicensePopUpButton.m │ │ ├── CETextEncodingPopUpButton+Private.h │ │ ├── CETextEncodingPopUpButton+Private.m │ │ ├── CETextEncodingPopUpButton.h │ │ ├── CETextEncodingPopUpButton.m │ │ ├── CEVerticalTabBar+Private.h │ │ ├── CEVerticalTabBar+Private.m │ │ ├── CEVerticalTabBar.h │ │ ├── CEVerticalTabBar.m │ │ ├── CEVerticalTabBarDelegate.h │ │ ├── CEVerticalTabView+CEVerticalTabBarDelegate.h │ │ ├── CEVerticalTabView+CEVerticalTabBarDelegate.m │ │ ├── CEVerticalTabView.h │ │ ├── CEVerticalTabView.m │ │ ├── CEVerticalTabViewDelegate.h │ │ ├── CEWindowBadge+Private.h │ │ ├── CEWindowBadge+Private.m │ │ ├── CEWindowBadge.h │ │ └── CEWindowBadge.m ├── Codeine-Info.plist ├── Codeine-Prefix.pch ├── Defaults.plist ├── UI │ ├── Images │ │ ├── Console.icns │ │ ├── Diagnostics.icns │ │ ├── Error.icns │ │ ├── Fatal.icns │ │ ├── Notice.icns │ │ ├── ShowDebugger-On.png │ │ ├── ShowDebugger-On@2x.png │ │ ├── ShowDebugger.png │ │ ├── ShowDebugger@2x.png │ │ ├── ShowFiles-On.png │ │ ├── ShowFiles-On@2x.png │ │ ├── ShowFiles.png │ │ ├── ShowFiles@2x.png │ │ ├── Unicorn.png │ │ ├── Unicorn@2x.png │ │ └── Warning.icns │ └── en.lproj │ │ ├── CEAboutWindow.xib │ │ ├── CEAlternateAboutWindow.xib │ │ ├── CECodeCompletionView.xib │ │ ├── CEConsoleView.xib │ │ ├── CEDebugView.xib │ │ ├── CEDiagnosticsView.xib │ │ ├── CEEditorView.xib │ │ ├── CEFileDetailsView.xib │ │ ├── CEFilesView.xib │ │ ├── CEFixItView.xib │ │ ├── CEInfoWindow.xib │ │ ├── CELanguageWindow.xib │ │ ├── CEMainMenu.xib │ │ ├── CEMainWindow.xib │ │ ├── CEPreferencesCompilerOptionsView.xib │ │ ├── CEPreferencesEditorOptionsView.xib │ │ ├── CEPreferencesFileTypesAddNewView.xib │ │ ├── CEPreferencesFileTypesOptionsView.xib │ │ ├── CEPreferencesFontsAndColorsOptionsView.xib │ │ ├── CEPreferencesGeneralOptionsView.xib │ │ ├── CEPreferencesLinkerOptionsView.xib │ │ ├── CEPreferencesUserInterfaceOptionsView.xib │ │ ├── CEPreferencesWindow.xib │ │ ├── CERegistrationWindow.xib │ │ └── Localizable.strings ├── en.lproj │ └── InfoPlist.strings └── main.m └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Mac Finder 2 | .DS_Store 3 | Icon? 4 | 5 | # Thumbnails 6 | ._* 7 | 8 | # Files that might appear on external disk 9 | .Spotlight-V100 10 | .Trashes 11 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "ClangKit"] 2 | path = ClangKit 3 | url = https://github.com/macmade/ClangKit 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | xcode_project: Codeine.xcodeproj 3 | xcode_scheme: Codeine - Release 4 | -------------------------------------------------------------------------------- /Application.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Application.icns -------------------------------------------------------------------------------- /Codeine.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Codeine.xcodeproj/project.xcworkspace/xcuserdata/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /Codeine.xcodeproj/xcuserdata/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /Codeine/Application Support/Licenses/Closed Source.txt: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) ${YEAR}, ${USER_NAME} 3 | * All rights reserved 4 | ******************************************************************************/ 5 | -------------------------------------------------------------------------------- /Codeine/Application Support/Licenses/Open Source - APSL.txt: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) ${YEAR}, ${USER_NAME} 3 | * All rights reserved 4 | * 5 | * This file contains Original Code and/or Modifications of Original Code as 6 | * defined in and that are subject to the Apple Public Source License Version 7 | * 2.0 (the 'License'). You may not use this file except in compliance with 8 | * the License. Please obtain a copy of the License at 9 | * http://www.opensource.apple.com/apsl/ and read it before using this file. 10 | * 11 | * The Original Code and all software distributed under the License are 12 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS 13 | * OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT 14 | * LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 15 | * PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 16 | * Please see the License for the specific language governing rights and 17 | * limitations under the License." 18 | ******************************************************************************/ 19 | -------------------------------------------------------------------------------- /Codeine/Application Support/Licenses/Open Source - BOOST.txt: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) ${YEAR}, ${USER_NAME} 3 | * All rights reserved. 4 | * 5 | * Boost Software License - Version 1.0 - August 17th, 2003 6 | * 7 | * Permission is hereby granted, free of charge, to any person or organization 8 | * obtaining a copy of the software and accompanying documentation covered by 9 | * this license (the "Software") to use, reproduce, display, distribute, 10 | * execute, and transmit the Software, and to prepare derivative works of the 11 | * Software, and to permit third-parties to whom the Software is furnished to 12 | * do so, all subject to the following: 13 | * 14 | * The copyright notices in the Software and this entire statement, including 15 | * the above license grant, this restriction and the following disclaimer, 16 | * must be included in all copies of the Software, in whole or in part, and 17 | * all derivative works of the Software, unless such copies or derivative 18 | * works are solely in the form of machine-executable object code generated by 19 | * a source language processor. 20 | * 21 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 22 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 23 | * FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT 24 | * SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE 25 | * FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, 26 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 27 | * DEALINGS IN THE SOFTWARE. 28 | ******************************************************************************/ 29 | -------------------------------------------------------------------------------- /Codeine/Application Support/Licenses/Open Source - BSD.txt: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) ${YEAR}, ${USER_NAME} 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 18 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24 | * POSSIBILITY OF SUCH DAMAGE. 25 | ******************************************************************************/ 26 | -------------------------------------------------------------------------------- /Codeine/Application Support/Licenses/Open Source - GPL.txt: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) ${YEAR}, ${USER_NAME} 3 | * All rights reserved 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | ******************************************************************************/ 18 | -------------------------------------------------------------------------------- /Codeine/Application Support/Licenses/Open Source - MIT.txt: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) ${YEAR}, ${USER_NAME} 3 | * All rights reserved 4 | * 5 | * Permission is hereby granted, free of charge, to any person obtaining a copy 6 | * of this software and associated documentation files (the "Software"), to deal 7 | * in the Software without restriction, including without limitation the rights 8 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | * copies of the Software, and to permit persons to whom the Software is 10 | * furnished to do so, subject to the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included in 13 | * all copies or substantial portions of the Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | * THE SOFTWARE. 22 | ******************************************************************************/ 23 | -------------------------------------------------------------------------------- /Codeine/Application Support/Templates/C++.txt: -------------------------------------------------------------------------------- 1 | ${LICENSE} 2 | 3 | #include 4 | 5 | int main( int argc, char * argv[] ) 6 | { 7 | ( void )argc; 8 | ( void )argv; 9 | 10 | std::cout << "hello, world" << std::endl; 11 | 12 | return EXIT_SUCCESS; 13 | } 14 | -------------------------------------------------------------------------------- /Codeine/Application Support/Templates/C.txt: -------------------------------------------------------------------------------- 1 | ${LICENSE} 2 | 3 | #include 4 | #include 5 | #include 6 | 7 | int main( int argc, char * argv[] ) 8 | { 9 | ( void )argc; 10 | ( void )argv; 11 | 12 | printf( "hello, world\n" ); 13 | 14 | return EXIT_SUCCESS; 15 | } 16 | -------------------------------------------------------------------------------- /Codeine/Application Support/Templates/Header.txt: -------------------------------------------------------------------------------- 1 | ${LICENSE} 2 | 3 | #ifndef HEADER_H 4 | #define HEADER_H 5 | 6 | 7 | 8 | #endif /* HEADER_H */ 9 | -------------------------------------------------------------------------------- /Codeine/Application Support/Templates/Objective-C++.txt: -------------------------------------------------------------------------------- 1 | ${LICENSE} 2 | 3 | #include 4 | #include 5 | 6 | int main( int argc, char * argv[] ) 7 | { 8 | @autoreleasepool 9 | { 10 | ( void )argc; 11 | ( void )argv; 12 | 13 | NSLog( @"hello, world" ); 14 | 15 | std::cout << "hello, world" << std::endl; 16 | } 17 | 18 | return EXIT_SUCCESS; 19 | } 20 | -------------------------------------------------------------------------------- /Codeine/Application Support/Templates/Objective-C.txt: -------------------------------------------------------------------------------- 1 | ${LICENSE} 2 | 3 | #include 4 | 5 | int main( int argc, char * argv[] ) 6 | { 7 | @autoreleasepool 8 | { 9 | ( void )argc; 10 | ( void )argv; 11 | 12 | NSLog( @"hello, world" ); 13 | } 14 | 15 | return EXIT_SUCCESS; 16 | } 17 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/Clang.bundle/Contents/Info.plist -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/.dir: -------------------------------------------------------------------------------- 1 | Sun May 5 17:35:24 CEST 2013 2 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/__wmmintrin_pclmul.h: -------------------------------------------------------------------------------- 1 | /*===---- __wmmintrin_pclmul.h - AES intrinsics ----------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | #ifndef _WMMINTRIN_PCLMUL_H 24 | #define _WMMINTRIN_PCLMUL_H 25 | 26 | #if !defined (__PCLMUL__) 27 | # error "PCLMUL instruction is not enabled" 28 | #else 29 | #define _mm_clmulepi64_si128(__X, __Y, __I) \ 30 | ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \ 31 | (__v2di)(__m128i)(__Y), (char)(__I))) 32 | #endif 33 | 34 | #endif /* _WMMINTRIN_PCLMUL_H */ 35 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/cpuid.h: -------------------------------------------------------------------------------- 1 | /*===---- cpuid.h - X86 cpu model detection --------------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #if !(__x86_64__ || __i386__) 25 | #error this header is for x86 only 26 | #endif 27 | 28 | static __inline int __get_cpuid (unsigned int __level, unsigned int *__eax, 29 | unsigned int *__ebx, unsigned int *__ecx, 30 | unsigned int *__edx) { 31 | __asm("cpuid" : "=a"(*__eax), "=b" (*__ebx), "=c"(*__ecx), "=d"(*__edx) 32 | : "0"(__level)); 33 | return 1; 34 | } 35 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/iso646.h: -------------------------------------------------------------------------------- 1 | /*===---- iso646.h - Standard header for alternate spellings of operators---=== 2 | * 3 | * Copyright (c) 2008 Eli Friedman 4 | * 5 | * Permission is hereby granted, free of charge, to any person obtaining a copy 6 | * of this software and associated documentation files (the "Software"), to deal 7 | * in the Software without restriction, including without limitation the rights 8 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | * copies of the Software, and to permit persons to whom the Software is 10 | * furnished to do so, subject to the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included in 13 | * all copies or substantial portions of the Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | * THE SOFTWARE. 22 | * 23 | *===-----------------------------------------------------------------------=== 24 | */ 25 | 26 | #ifndef __ISO646_H 27 | #define __ISO646_H 28 | 29 | #ifndef __cplusplus 30 | #define and && 31 | #define and_eq &= 32 | #define bitand & 33 | #define bitor | 34 | #define compl ~ 35 | #define not ! 36 | #define not_eq != 37 | #define or || 38 | #define or_eq |= 39 | #define xor ^ 40 | #define xor_eq ^= 41 | #endif 42 | 43 | #endif /* __ISO646_H */ 44 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/nmmintrin.h: -------------------------------------------------------------------------------- 1 | /*===---- nmmintrin.h - SSE4 intrinsics ------------------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #ifndef _NMMINTRIN_H 25 | #define _NMMINTRIN_H 26 | 27 | #ifndef __SSE4_2__ 28 | #error "SSE4.2 instruction set not enabled" 29 | #else 30 | 31 | /* To match expectations of gcc we put the sse4.2 definitions into smmintrin.h, 32 | just include it now then. */ 33 | #include 34 | #endif /* __SSE4_2__ */ 35 | #endif /* _NMMINTRIN_H */ 36 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/popcntintrin.h: -------------------------------------------------------------------------------- 1 | /*===---- popcntintrin.h - POPCNT intrinsics -------------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #ifndef __POPCNT__ 25 | #error "POPCNT instruction set not enabled" 26 | #endif 27 | 28 | #ifndef _POPCNTINTRIN_H 29 | #define _POPCNTINTRIN_H 30 | 31 | static __inline__ int __attribute__((__always_inline__, __nodebug__)) 32 | _mm_popcnt_u32(unsigned int __A) 33 | { 34 | return __builtin_popcount(__A); 35 | } 36 | 37 | #ifdef __x86_64__ 38 | static __inline__ long long __attribute__((__always_inline__, __nodebug__)) 39 | _mm_popcnt_u64(unsigned long long __A) 40 | { 41 | return __builtin_popcountll(__A); 42 | } 43 | #endif /* __x86_64__ */ 44 | 45 | #endif /* _POPCNTINTRIN_H */ 46 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/prfchwintrin.h: -------------------------------------------------------------------------------- 1 | /*===---- prfchwintrin.h - PREFETCHW intrinsic -----------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #if !defined(__X86INTRIN_H) && !defined(_MM3DNOW_H_INCLUDED) 25 | #error "Never use directly; include or instead." 26 | #endif 27 | 28 | #if defined(__PRFCHW__) || defined(__3dNOW__) 29 | static __inline__ void __attribute__((__always_inline__, __nodebug__)) 30 | _m_prefetchw(void *__P) 31 | { 32 | __builtin_prefetch (__P, 1, 3 /* _MM_HINT_T0 */); 33 | } 34 | #endif 35 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/rdseedintrin.h: -------------------------------------------------------------------------------- 1 | /*===---- rdseedintrin.h - RDSEED intrinsics -------------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #ifndef __X86INTRIN_H 25 | #error "Never use directly; include instead." 26 | #endif 27 | 28 | #ifdef __RDSEED__ 29 | static __inline__ int __attribute__((__always_inline__, __nodebug__)) 30 | _rdseed16_step(unsigned short *__p) 31 | { 32 | return __builtin_ia32_rdseed16_step(__p); 33 | } 34 | 35 | static __inline__ int __attribute__((__always_inline__, __nodebug__)) 36 | _rdseed32_step(unsigned int *__p) 37 | { 38 | return __builtin_ia32_rdseed32_step(__p); 39 | } 40 | 41 | #ifdef __x86_64__ 42 | static __inline__ int __attribute__((__always_inline__, __nodebug__)) 43 | _rdseed64_step(unsigned long long *__p) 44 | { 45 | return __builtin_ia32_rdseed64_step(__p); 46 | } 47 | #endif 48 | #endif /* __RDSEED__ */ 49 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/rtmintrin.h: -------------------------------------------------------------------------------- 1 | /*===---- rtmintrin.h - RTM intrinsics -------------------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #ifndef __IMMINTRIN_H 25 | #error "Never use directly; include instead." 26 | #endif 27 | 28 | #define _XBEGIN_STARTED (~0u) 29 | #define _XABORT_EXPLICIT (1 << 0) 30 | #define _XABORT_RETRY (1 << 1) 31 | #define _XABORT_CONFLICT (1 << 2) 32 | #define _XABORT_CAPACITY (1 << 3) 33 | #define _XABORT_DEBUG (1 << 4) 34 | #define _XABORT_NESTED (1 << 5) 35 | #define _XABORT_CODE(x) (((x) >> 24) & 0xFF) 36 | 37 | static __inline__ unsigned int __attribute__((__always_inline__, __nodebug__)) 38 | _xbegin(void) 39 | { 40 | return __builtin_ia32_xbegin(); 41 | } 42 | 43 | static __inline__ void __attribute__((__always_inline__, __nodebug__)) 44 | _xend(void) 45 | { 46 | __builtin_ia32_xend(); 47 | } 48 | 49 | #define _xabort(imm) __builtin_ia32_xabort((imm)) 50 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/stdalign.h: -------------------------------------------------------------------------------- 1 | /*===---- stdalign.h - Standard header for alignment ------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #ifndef __STDALIGN_H 25 | #define __STDALIGN_H 26 | 27 | #ifndef __cplusplus 28 | #define alignas _Alignas 29 | #define alignof _Alignof 30 | #endif 31 | 32 | #define __alignas_is_defined 1 33 | #define __alignof_is_defined 1 34 | 35 | #endif /* __STDALIGN_H */ 36 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/stdbool.h: -------------------------------------------------------------------------------- 1 | /*===---- stdbool.h - Standard header for booleans -------------------------=== 2 | * 3 | * Copyright (c) 2008 Eli Friedman 4 | * 5 | * Permission is hereby granted, free of charge, to any person obtaining a copy 6 | * of this software and associated documentation files (the "Software"), to deal 7 | * in the Software without restriction, including without limitation the rights 8 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | * copies of the Software, and to permit persons to whom the Software is 10 | * furnished to do so, subject to the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included in 13 | * all copies or substantial portions of the Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | * THE SOFTWARE. 22 | * 23 | *===-----------------------------------------------------------------------=== 24 | */ 25 | 26 | #ifndef __STDBOOL_H 27 | #define __STDBOOL_H 28 | 29 | /* Don't define bool, true, and false in C++, except as a GNU extension. */ 30 | #ifndef __cplusplus 31 | #define bool _Bool 32 | #define true 1 33 | #define false 0 34 | #elif defined(__GNUC__) && !defined(__STRICT_ANSI__) 35 | /* Define _Bool, bool, false, true as a GNU extension. */ 36 | #define _Bool bool 37 | #define bool bool 38 | #define false false 39 | #define true true 40 | #endif 41 | 42 | #define __bool_true_false_are_defined 1 43 | 44 | #endif /* __STDBOOL_H */ 45 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/stdnoreturn.h: -------------------------------------------------------------------------------- 1 | /*===---- stdnoreturn.h - Standard header for noreturn macro ---------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #ifndef __STDNORETURN_H 25 | #define __STDNORETURN_H 26 | 27 | #define noreturn _Noreturn 28 | #define __noreturn_is_defined 1 29 | 30 | #endif /* __STDNORETURN_H */ 31 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/varargs.h: -------------------------------------------------------------------------------- 1 | /*===---- varargs.h - Variable argument handling -------------------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | #ifndef __VARARGS_H 24 | #define __VARARGS_H 25 | #error "Please use instead of " 26 | #endif 27 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/Resources/include/wmmintrin.h: -------------------------------------------------------------------------------- 1 | /*===---- wmmintrin.h - AES intrinsics ------------------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #ifndef _WMMINTRIN_H 25 | #define _WMMINTRIN_H 26 | 27 | #include 28 | 29 | #if !defined (__AES__) && !defined (__PCLMUL__) 30 | # error "AES/PCLMUL instructions not enabled" 31 | #else 32 | 33 | #ifdef __AES__ 34 | #include <__wmmintrin_aes.h> 35 | #endif /* __AES__ */ 36 | 37 | #ifdef __PCLMUL__ 38 | #include <__wmmintrin_pclmul.h> 39 | #endif /* __PCLMUL__ */ 40 | 41 | #endif /* __AES__ || __PCLMUL__ */ 42 | #endif /* _WMMINTRIN_H */ 43 | -------------------------------------------------------------------------------- /Codeine/Clang.bundle/Contents/version.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildVersion 6 | 1 7 | CFBundleShortVersionString 8 | 1.0 9 | CFBundleVersion 10 | 1.0 11 | ProjectName 12 | Clang 13 | SourceVersion 14 | 1.0 15 | 16 | 17 | -------------------------------------------------------------------------------- /Codeine/Classes/About/CEAlternateAboutWindowController.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEAlternateAboutWindowController.h" 33 | 34 | @implementation CEAlternateAboutWindowController 35 | 36 | - ( void )dealloc 37 | { 38 | [ super dealloc ]; 39 | } 40 | 41 | - ( void )awakeFromNib 42 | {} 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /Codeine/Classes/Application/CEApplicationDelegate+NSOpenSavePanelDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEApplicationDelegate.h" 33 | 34 | @interface CEApplicationDelegate( NSOpenSavePanelDelegate ) < NSOpenSavePanelDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Base/CETableView.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CETableViewDelegate.h" 33 | 34 | @interface CETableView: NSTableView 35 | { 36 | @protected 37 | 38 | 39 | 40 | @private 41 | 42 | RESERVED_IVARS( CETableView, 5 ); 43 | } 44 | 45 | 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Codeine/Classes/Base/CEWindowController+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEWindowController.h" 33 | 34 | @interface CEWindowController( Private ) 35 | 36 | - ( void )windowWillClose: ( NSNotification * )notification; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Categories/NSApplication+CE.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import 33 | 34 | @interface NSApplication( CE ) < QLPreviewPanelDataSource > 35 | 36 | - ( void )showQuickLookPanelForItemAtPath: ( NSString * )path sender: ( id )sender; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Categories/NSImage+CE.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface NSImage( CE ) 33 | 34 | - ( NSImage * )imageWithSize: ( CGFloat )size; 35 | - ( NSImage * )grayscaleImage; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Codeine/Classes/Categories/NSTextView+CE.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface NSTextView( CE ) 33 | 34 | - ( NSUInteger )numberOfHardLines; 35 | - ( NSUInteger )numberOfSoftLines; 36 | - ( void )enableSoftWrap; 37 | - ( void )disableSoftWrap; 38 | - ( NSInteger )currentLine; 39 | - ( NSInteger )currentColumn; 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /Codeine/Classes/Categories/NSView+CE.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface NSView( CE ) 33 | 34 | - ( void )centerInSuperview; 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Codeine/Classes/Code Completion/CECodeCompletionViewController+NSTableViewDataSource.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CECodeCompletionViewController.h" 33 | 34 | @interface CECodeCompletionViewController( NSTableViewDataSource ) < NSTableViewDataSource > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Code Completion/CECodeCompletionViewController+NSTableViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CECodeCompletionViewController.h" 33 | 34 | @interface CECodeCompletionViewController( NSTableViewDelegate ) < NSTableViewDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Code Completion/CECodeCompletionViewController+NSTableViewDelegate.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CECodeCompletionViewController+NSTableViewDelegate.h" 33 | 34 | @implementation CECodeCompletionViewController( NSTableViewDelegate ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Code Completion/CECodeCompletionViewController+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CECodeCompletionViewController.h" 33 | 34 | @interface CECodeCompletionViewController( Private ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Code Completion/CECodeCompletionViewController+Private.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CECodeCompletionViewController+Private.h" 33 | 34 | @implementation CECodeCompletionViewController( Private ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Console/CEConsoleViewController+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEConsoleViewController.h" 33 | 34 | @interface CEConsoleViewController( Private ) 35 | 36 | - ( void )updateView; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Debug/CEDebugViewController+CEVerticalTabViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEDebugViewController.h" 33 | #import "CEVerticalTabViewDelegate.h" 34 | 35 | @interface CEDebugViewController( CEVerticalTabViewDelegate ) < CEVerticalTabViewDelegate > 36 | 37 | 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Codeine/Classes/Debug/CEDebugViewController+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEDebugViewController.h" 33 | 34 | @interface CEDebugViewController( Private ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Debug/CEDebugViewController+Private.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEDebugViewController+Private.h" 33 | #import "CEPreferences.h" 34 | 35 | @implementation CEDebugViewController( Private ) 36 | 37 | 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Codeine/Classes/Diagnostics/CEDiagnosticsCell.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface CEDiagnosticsCell: NSTextFieldCell 33 | { 34 | @protected 35 | 36 | 37 | 38 | @private 39 | 40 | RESERVED_IVARS( CEDiagnosticsCell, 5 ); 41 | } 42 | 43 | 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Codeine/Classes/Diagnostics/CEDiagnosticsTableView.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CETableView.h" 33 | 34 | @interface CEDiagnosticsTableView: CETableView 35 | { 36 | @protected 37 | 38 | 39 | 40 | @private 41 | 42 | RESERVED_IVARS( CEDiagnosticsTableView, 5 ); 43 | } 44 | 45 | 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Codeine/Classes/Diagnostics/CEDiagnosticsTableView.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEDiagnosticsTableView.h" 33 | 34 | @implementation CEDiagnosticsTableView 35 | 36 | - ( void )highlightSelectionInClipRect: ( NSRect )rect 37 | { 38 | ( void )rect; 39 | } 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /Codeine/Classes/Diagnostics/CEDiagnosticsViewController+CETableViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEDiagnosticsViewController.h" 33 | #import "CETableViewDelegate.h" 34 | 35 | @interface CEDiagnosticsViewController( CETableViewDelegate ) < CETableViewDelegate > 36 | 37 | 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Codeine/Classes/Diagnostics/CEDiagnosticsViewController+NSTableViewDataSource.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEDiagnosticsViewController.h" 33 | 34 | @interface CEDiagnosticsViewController( NSTableViewDataSource ) < NSTableViewDataSource > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Diagnostics/CEDiagnosticsViewController+NSTableViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEDiagnosticsViewController.h" 33 | 34 | @interface CEDiagnosticsViewController( NSTableViewDelegate ) < NSTableViewDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Editor/CEEditorLayoutManager+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEEditorLayoutManager.h" 33 | 34 | @interface CEEditorLayoutManager( Private ) 35 | 36 | - ( void )updateDummyTextView; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Editor/CEEditorMarker.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface CEEditorMarker: NSRulerMarker 33 | { 34 | @protected 35 | 36 | 37 | 38 | @private 39 | 40 | RESERVED_IVARS( CEEditorMarker, 5 ); 41 | } 42 | 43 | 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Codeine/Classes/Editor/CEEditorTextView.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface CEEditorTextView: NSTextView 33 | { 34 | @protected 35 | 36 | 37 | 38 | @private 39 | 40 | RESERVED_IVARS( CEEditorTextView, 5 ); 41 | } 42 | 43 | 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Codeine/Classes/Editor/CEEditorTextViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @class CEEditorTextView; 33 | 34 | @protocol CEEditorTextViewDelegate < NSTextViewDelegate > 35 | 36 | @optional 37 | 38 | - ( BOOL )textView: ( CEEditorTextView * )textView complete: ( id )sender; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Codeine/Classes/Editor/CEEditorViewController+CEEditorTextViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEEditorViewController.h" 33 | #import "CEEditorTextViewDelegate.h" 34 | 35 | @interface CEEditorViewController( CEEditorTextViewDelegate ) < CEEditorTextViewDelegate > 36 | 37 | 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Codeine/Classes/Editor/CEEditorViewController+NSTextViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEEditorViewController.h" 33 | 34 | @interface CEEditorViewController( NSTextViewDelegate ) < NSTextViewDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Files/CEFilesOutlineView+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEFilesOutlineView.h" 33 | 34 | @interface CEFilesOutlineView( Private ) 35 | 36 | - ( void )applicationStateDidChange: ( NSNotification * )notification; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Files/CEFilesOutlineView.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEFilesOutlineViewDelegate.h" 33 | 34 | @interface CEFilesOutlineView: NSOutlineView 35 | { 36 | @protected 37 | 38 | 39 | 40 | @private 41 | 42 | RESERVED_IVARS( CEFilesOutlineView, 5 ); 43 | } 44 | 45 | 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Codeine/Classes/Files/CEFilesViewCell.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface CEFilesViewCell: NSTextFieldCell 33 | { 34 | @protected 35 | 36 | 37 | 38 | @private 39 | 40 | RESERVED_IVARS( CEFileViewCell, 5 ); 41 | } 42 | 43 | + ( id )prototypeCell; 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Codeine/Classes/Files/CEFilesViewController+NSOutlineViewDataSource.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEFilesViewController.h" 33 | 34 | @interface CEFilesViewController( NSOutlineViewDataSource ) < NSOutlineViewDataSource > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Files/CEFilesViewController+NSOutlineViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEFilesViewController.h" 33 | #import "CEFilesOutlineViewDelegate.h" 34 | 35 | @interface CEFilesViewController( NSOutlineViewDelegate ) < CEFilesOutlineViewDelegate > 36 | 37 | 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Codeine/Classes/Files/CEFilesViewController+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEFilesViewController.h" 33 | 34 | @interface CEFilesViewController( Private ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Files/CEFilesViewItemBookmark.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEFilesViewItemFS.h" 33 | 34 | @interface CEFilesViewItemBookmark: CEFilesViewItemFS 35 | { 36 | @protected 37 | 38 | 39 | 40 | @private 41 | 42 | RESERVED_IVARS( CEFileViewItemBookmark, 5 ); 43 | } 44 | 45 | 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Codeine/Classes/Files/CEFilesViewItemBookmark.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEFilesViewItemBookmark.h" 33 | 34 | @implementation CEFilesViewItemBookmark 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Files/CEFilesViewItemDocument.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEFilesViewItem.h" 33 | 34 | @interface CEFilesViewItemDocument: CEFilesViewItem 35 | { 36 | @protected 37 | 38 | 39 | 40 | @private 41 | 42 | RESERVED_IVARS( CEFileViewItemDocument, 5 ); 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Codeine/Classes/Files/CEFilesViewItemSection.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEFilesViewItem.h" 33 | 34 | @interface CEFilesViewItemSection: CEFilesViewItem 35 | { 36 | @protected 37 | 38 | 39 | 40 | @private 41 | 42 | RESERVED_IVARS( CEFileViewItemSection, 5 ); 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Codeine/Classes/Helpers/CEColorTheme+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEColorTheme.h" 33 | 34 | @interface CEColorTheme( Private ) 35 | 36 | - ( void )setColorFromDictionary: ( NSDictionary * )dict name: ( NSString * )name selector: ( SEL )selector; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Helpers/CEDocument+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEDocument.h" 33 | 34 | @interface CEDocument( Private ) 35 | 36 | - ( NSString * )nameForNewDocument; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Helpers/CEFile+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEFile.h" 33 | 34 | @interface CEFile( Private ) 35 | 36 | - ( void )getPermissions; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Helpers/CESyntaxHighlighter+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CESyntaxHighlighter.h" 33 | 34 | @interface CESyntaxHighlighter( Private ) 35 | 36 | - ( void )updateText; 37 | - ( void )textDidChange: ( NSNotification * )notification; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Codeine/Classes/Info Window/CEInfoWindowCell.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface CEInfoWindowCell: NSCell 33 | { 34 | @protected 35 | 36 | NSView * _view; 37 | } 38 | 39 | @property( atomic, readwrite, retain ) NSView * view; 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /Codeine/Classes/Info Window/CEInfoWindowController+NSOutlineViewDataSource.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEInfoWindowController.h" 33 | 34 | @interface CEInfoWindowController( NSOutlineViewDataSource ) < NSOutlineViewDataSource > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Info Window/CEInfoWindowController+NSOutlineViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEInfoWindowController.h" 33 | 34 | @interface CEInfoWindowController( NSOutlineViewDelegate ) < NSOutlineViewDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Info Window/CEInfoWindowController+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEInfoWindowController.h" 33 | 34 | @interface CEInfoWindowController( Private ) 35 | 36 | - ( void )resizeWindow: ( BOOL )animate; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Info Window/CEInfoWindowOutlineView.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface CEInfoWindowOutlineView: NSOutlineView 33 | { 34 | @protected 35 | 36 | 37 | 38 | @private 39 | 40 | RESERVED_IVARS( CEInfoWindowOutlineView, 5 ); 41 | } 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Codeine/Classes/Info Window/CEInfoWindowView.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface CEInfoWindowView: NSView 33 | { 34 | @protected 35 | 36 | 37 | 38 | @private 39 | 40 | RESERVED_IVARS( CEInfoWindowView, 5 ); 41 | } 42 | 43 | 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Codeine/Classes/Info Window/CEInfoWindowView.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEInfoWindowView.h" 33 | 34 | @implementation CEInfoWindowView 35 | 36 | - ( void )drawRect: ( NSRect )rect 37 | { 38 | [ self.window.backgroundColor setFill ]; 39 | 40 | NSRectFill( rect ); 41 | } 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Codeine/Classes/Language Window/CELanguageWindowController+NSTableViewDataSource.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CELanguageWindowController.h" 33 | 34 | @interface CELanguageWindowController( NSTableViewDataSource ) < NSTableViewDataSource > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Language Window/CELanguageWindowController+NSTableViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CELanguageWindowController.h" 33 | 34 | @interface CELanguageWindowController( NSTableViewDelegate ) < NSTableViewDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Language Window/CELanguageWindowController+NSTableViewDelegate.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CELanguageWindowController+NSTableViewDelegate.h" 33 | 34 | @implementation CELanguageWindowController( NSTableViewDelegate ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Language Window/CELanguageWindowController+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CELanguageWindowController.h" 33 | 34 | @interface CELanguageWindowController( Private ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Language Window/CELanguageWindowController+Private.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CELanguageWindowController+Private.h" 33 | 34 | @implementation CELanguageWindowController( Private ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Language Window/CELanguageWindowTableView.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface CELanguageWindowTableView: NSTableView 33 | { 34 | @protected 35 | 36 | 37 | 38 | @private 39 | 40 | RESERVED_IVARS( CELanguageWindowTableView, 5 ); 41 | } 42 | 43 | 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Codeine/Classes/Language Window/CELanguageWindowTitleCell.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @interface CELanguageWindowTitleCell: NSTextFieldCell 33 | { 34 | @protected 35 | 36 | 37 | 38 | @private 39 | 40 | RESERVED_IVARS( CELanguageWindowTitleCell, 5 ); 41 | } 42 | 43 | 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Codeine/Classes/Main Window/CEMainWindowController+NSOpenSavePanelDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEMainWindowController.h" 33 | 34 | @interface CEMainWindowController( NSOpenSavePanelDelegate ) < NSOpenSavePanelDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Main Window/CEMainWindowController+NSSplitViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEMainWindowController.h" 33 | 34 | @interface CEMainWindowController( NSSplitViewDelegate ) < NSSplitViewDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/CEPreferencesWindowController+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesWindowController.h" 33 | 34 | @interface CEPreferencesWindowController( Private ) 35 | 36 | - ( void )showView: ( NSView * )view; 37 | - ( void )windowDidClose: ( NSNotification * )notification; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/Compiler/CEPreferencesCompilerOptionsViewController+NSTableViewDataSource.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesCompilerOptionsViewController.h" 33 | 34 | @interface CEPreferencesCompilerOptionsViewController( NSTableViewDataSource ) < NSTableViewDataSource > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/Compiler/CEPreferencesCompilerOptionsViewController+NSTableViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesCompilerOptionsViewController.h" 33 | 34 | @interface CEPreferencesCompilerOptionsViewController( NSTableViewDelegate ) < NSTableViewDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/Compiler/CEPreferencesCompilerOptionsViewController+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesCompilerOptionsViewController.h" 33 | 34 | @interface CEPreferencesCompilerOptionsViewController( Private ) 35 | 36 | - ( void )getWarningFlags; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/Editor/CEPreferencesEditorOptionsViewController.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesEditorOptionsViewController.h" 33 | 34 | @implementation CEPreferencesEditorOptionsViewController 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/File Types/CEPreferencesFileTypesOptionsViewController+NSTableViewDataSource.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesFileTypesOptionsViewController.h" 33 | 34 | @interface CEPreferencesFileTypesOptionsViewController( NSTableViewDataSource ) < NSTableViewDataSource > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/File Types/CEPreferencesFileTypesOptionsViewController+NSTableViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesFileTypesOptionsViewController.h" 33 | 34 | @interface CEPreferencesFileTypesOptionsViewController( NSTableViewDelegate ) < NSTableViewDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/Linker/CEPreferencesLinkerOptionsViewController+NSOpenSavePanelDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesLinkerOptionsViewController.h" 33 | 34 | @interface CEPreferencesLinkerOptionsViewController( NSOpenSavePanelDelegate ) < NSOpenSavePanelDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/Linker/CEPreferencesLinkerOptionsViewController+NSTableViewDataSource.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesLinkerOptionsViewController.h" 33 | 34 | @interface CEPreferencesLinkerOptionsViewController( NSTableViewDataSource ) < NSTableViewDataSource > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/Linker/CEPreferencesLinkerOptionsViewController+NSTableViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesLinkerOptionsViewController.h" 33 | 34 | @interface CEPreferencesLinkerOptionsViewController( NSTableViewDelegate ) < NSTableViewDelegate > 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/Linker/CEPreferencesLinkerOptionsViewController+NSTableViewDelegate.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesLinkerOptionsViewController+NSTableViewDelegate.h" 33 | 34 | @implementation CEPreferencesLinkerOptionsViewController( NSTableViewDelegate ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/Linker/CEPreferencesLinkerOptionsViewController+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesLinkerOptionsViewController.h" 33 | 34 | @interface CEPreferencesLinkerOptionsViewController( Private ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/Preferences/Linker/CEPreferencesLinkerOptionsViewController+Private.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEPreferencesLinkerOptionsViewController+Private.h" 33 | 34 | @implementation CEPreferencesLinkerOptionsViewController( Private ) 35 | 36 | 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CEColorChooserView+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEColorChooserView.h" 33 | 34 | @interface CEColorChooserView( Private ) 35 | 36 | - ( void )changeColor: ( id )sender; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CEColorChooserViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @class CEColorChooserView; 33 | 34 | @protocol CEColorChooserViewDelegate < NSObject > 35 | 36 | - ( void )colorChooserView: ( CEColorChooserView * )view didChooseColor: ( NSColor * )color; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CEColorLabelMenuItem+CEColorLabelViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEColorLabelMenuItem.h" 33 | #import "CEColorLabelViewDelegate.h" 34 | 35 | @interface CEColorLabelMenuItem( CEColorLabelViewDelegate ) < CEColorLabelViewDelegate > 36 | 37 | 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CEColorLabelViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @class CEColorLabelView; 33 | 34 | @protocol CEColorLabelViewDelegate< NSObject > 35 | 36 | @optional 37 | 38 | - ( void )colorLabelView: ( CEColorLabelView * )view didSelectColor: ( NSColor * )color; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CELicensePopUpButton+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CELicensePopUpButton.h" 33 | 34 | @interface CELicensePopUpButton( Private ) 35 | 36 | - ( void )fillItems; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CETextEncodingPopUpButton+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CETextEncodingPopUpButton.h" 33 | 34 | @interface CETextEncodingPopUpButton( Private ) 35 | 36 | - ( void )fillItems; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CEVerticalTabBar+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEVerticalTabBar.h" 33 | 34 | @interface CEVerticalTabBar( Private ) 35 | 36 | - ( void )setTrackingAreas; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CEVerticalTabBarDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @class CEVerticalTabBar; 33 | 34 | @protocol CEVerticalTabBarDelegate < NSObject > 35 | 36 | @optional 37 | 38 | - ( void )verticalTabBar: ( CEVerticalTabBar * )tabBar didSelectItemAtIndex: ( NSUInteger )index; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CEVerticalTabView+CEVerticalTabBarDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEVerticalTabView.h" 33 | #import "CEVerticalTabBarDelegate.h" 34 | 35 | @interface CEVerticalTabView( CEVerticalTabBarDelegate ) < CEVerticalTabBarDelegate > 36 | 37 | 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CEVerticalTabViewDelegate.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | @class CEVerticalTabView; 33 | 34 | @protocol CEVerticalTabViewDelegate < NSObject > 35 | 36 | @optional 37 | 38 | - ( void )verticalTabView: ( CEVerticalTabView * )view didSelectViewAtIndex: ( NSUInteger )index; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Codeine/Classes/UI Elements/CEWindowBadge+Private.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | #import "CEWindowBadge.h" 33 | 34 | @interface CEWindowBadge( Private ) 35 | 36 | - ( void )applicationStateDidChange: ( NSNotification * )notification; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Codeine/UI/Images/Console.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/Console.icns -------------------------------------------------------------------------------- /Codeine/UI/Images/Diagnostics.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/Diagnostics.icns -------------------------------------------------------------------------------- /Codeine/UI/Images/Error.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/Error.icns -------------------------------------------------------------------------------- /Codeine/UI/Images/Fatal.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/Fatal.icns -------------------------------------------------------------------------------- /Codeine/UI/Images/Notice.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/Notice.icns -------------------------------------------------------------------------------- /Codeine/UI/Images/ShowDebugger-On.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/ShowDebugger-On.png -------------------------------------------------------------------------------- /Codeine/UI/Images/ShowDebugger-On@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/ShowDebugger-On@2x.png -------------------------------------------------------------------------------- /Codeine/UI/Images/ShowDebugger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/ShowDebugger.png -------------------------------------------------------------------------------- /Codeine/UI/Images/ShowDebugger@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/ShowDebugger@2x.png -------------------------------------------------------------------------------- /Codeine/UI/Images/ShowFiles-On.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/ShowFiles-On.png -------------------------------------------------------------------------------- /Codeine/UI/Images/ShowFiles-On@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/ShowFiles-On@2x.png -------------------------------------------------------------------------------- /Codeine/UI/Images/ShowFiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/ShowFiles.png -------------------------------------------------------------------------------- /Codeine/UI/Images/ShowFiles@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/ShowFiles@2x.png -------------------------------------------------------------------------------- /Codeine/UI/Images/Unicorn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/Unicorn.png -------------------------------------------------------------------------------- /Codeine/UI/Images/Unicorn@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/Unicorn@2x.png -------------------------------------------------------------------------------- /Codeine/UI/Images/Warning.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macmade/Codeine/b3c7a7d894b595a6a8a27e3c4521623f9d9c639f/Codeine/UI/Images/Warning.icns -------------------------------------------------------------------------------- /Codeine/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | -------------------------------------------------------------------------------- /Codeine/main.m: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * 8 | * - Redistributions of source code must retain the above copyright notice, 9 | * this list of conditions and the following disclaimer. 10 | * - Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * - Neither the name of 'Jean-David Gadina' nor the names of its 14 | * contributors may be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | ******************************************************************************/ 29 | 30 | /* $Id$ */ 31 | 32 | int main( int argc, const char * argv[] ) 33 | { 34 | return NSApplicationMain( argc, argv ); 35 | } 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Codeine 2 | ======= 3 | 4 | [![Build Status](https://img.shields.io/travis/macmade/Codeine.svg?branch=master&style=flat)](https://travis-ci.org/macmade/Codeine) 5 | [![Issues](http://img.shields.io/github/issues/macmade/Codeine.svg?style=flat)](https://github.com/macmade/Codeine/issues) 6 | ![Status](https://img.shields.io/badge/status-active-brightgreen.svg?style=flat) 7 | ![License](https://img.shields.io/badge/license-bsd-brightgreen.svg?style=flat) 8 | [![Contact](https://img.shields.io/badge/contact-@macmade-blue.svg?style=flat)](https://twitter.com/macmade) 9 | [![Donate-Patreon](https://img.shields.io/badge/donate-patreon-yellow.svg?style=flat)](https://patreon.com/macmade) 10 | [![Donate-Gratipay](https://img.shields.io/badge/donate-gratipay-yellow.svg?style=flat)](https://www.gratipay.com/macmade) 11 | [![Donate-Paypal](https://img.shields.io/badge/donate-paypal-yellow.svg?style=flat)](https://paypal.me/xslabs) 12 | 13 | About 14 | ----- 15 | 16 | Codeine is a new code editor for Mac, allowing editing, building, running and debugging C, C++ and Objective-C code. 17 | 18 | While not an IDE (yet), Codeine aims to evolve to support complex application projects. 19 | 20 | Codeine uses the latest technologies in source code compilation to provide users with the best environment to build and run software on the Mac platform. 21 | 22 | Project home 23 | ------------ 24 | 25 | Project home can be found at: http://www.xs-labs.com/en/projects/codeine/ 26 | 27 | License 28 | ------- 29 | 30 | Codeine is released under the terms of the BSD license. 31 | 32 | Repository Infos 33 | ---------------- 34 | 35 | Owner: Jean-David Gadina - XS-Labs 36 | Web: www.xs-labs.com 37 | Blog: www.noxeos.com 38 | Twitter: @macmade 39 | GitHub: github.com/macmade 40 | LinkedIn: ch.linkedin.com/in/macmade/ 41 | StackOverflow: stackoverflow.com/users/182676/macmade 42 | --------------------------------------------------------------------------------