-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
502 changed files
with
26,728 additions
and
73 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
######################### | ||
# http://stackoverflow.com/a/12021580/187954 | ||
# .gitignore file for Xcode4 / OS X Source projects | ||
# | ||
# NB: if you are storing "built" products, this WILL NOT WORK, | ||
# and you should use a different .gitignore (or none at all) | ||
# This file is for SOURCE projects, where there are many extra | ||
# files that we want to exclude | ||
# | ||
# For updates, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | ||
######################### | ||
|
||
##### | ||
# OS X temporary files that should never be committed | ||
|
||
.DS_Store | ||
*.swp | ||
*.lock | ||
profile | ||
|
||
|
||
#### | ||
# Xcode temporary files that should never be committed | ||
# | ||
# NB: NIB/XIB files still exist even on Storyboard projects, so we want this... | ||
|
||
*~.nib | ||
|
||
|
||
#### | ||
# Xcode build files - | ||
# | ||
# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "DerivedData" | ||
|
||
DerivedData/ | ||
|
||
# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build" | ||
|
||
Build/Intermediates | ||
Build/Products/Debug | ||
|
||
|
||
##### | ||
# Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups) | ||
# | ||
# This is complicated: | ||
# | ||
# SOMETIMES you need to put this file in version control. | ||
# Apple designed it poorly - if you use "custom executables", they are | ||
# saved in this file. | ||
# 99% of projects do NOT use those, so they do NOT want to version control this file. | ||
# ..but if you're in the 1%, comment out the line "*.pbxuser" | ||
|
||
*.pbxuser | ||
*.mode1v3 | ||
*.mode2v3 | ||
*.perspectivev3 | ||
# NB: also, whitelist the default ones, some projects need to use these | ||
!default.pbxuser | ||
!default.mode1v3 | ||
!default.mode2v3 | ||
!default.perspectivev3 | ||
|
||
|
||
#### | ||
# Xcode 4 - semi-personal settings, often included in workspaces | ||
# | ||
# You can safely ignore the xcuserdata files - but do NOT ignore the files next to them | ||
# | ||
|
||
xcuserdata | ||
|
||
|
||
#### | ||
# XCode 4 workspaces - more detailed | ||
# | ||
# Workspaces are important! They are a core feature of Xcode - don't exclude them :) | ||
# | ||
# Workspace layout is quite spammy. For reference: | ||
# | ||
# (root)/ | ||
# (project-name).xcodeproj/ | ||
# project.pbxproj | ||
# project.xcworkspace/ | ||
# contents.xcworkspacedata | ||
# xcuserdata/ | ||
# (your name)/xcuserdatad/ | ||
# xcuserdata/ | ||
# (your name)/xcuserdatad/ | ||
# | ||
# | ||
# | ||
# Xcode 4 workspaces - SHARED | ||
# | ||
# This is UNDOCUMENTED (google: "developer.apple.com xcshareddata" - 0 results | ||
# But if you're going to kill personal workspaces, at least keep the shared ones... | ||
# | ||
# | ||
!xcshareddata | ||
|
||
|
||
#### | ||
# Xcode 4 - Deprecated classes | ||
# | ||
# Allegedly, if you manually "deprecate" your classes, they get moved here. | ||
# | ||
# We're using source-control, so this is a "feature" that we do not want! | ||
|
||
*.moved-aside | ||
|
||
|
||
#### | ||
# UNKNOWN: recommended by others, but I can't discover what these files are | ||
# | ||
# ...none. Everything is now explained. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "ACEView/Dependencies/ace"] | ||
path = ACEView/Dependencies/ace | ||
url = https://github.com/ajaxorg/ace-builds.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
language: objective-c | ||
env: | ||
# This is what 10.8.x comes with and we want to support that. | ||
- RVM_RUBY_VERSION=system NOEXEC_DISABLE=1 RUBY_VERSION_SPECIFIC='sudo gem update --system && sudo gem install bundler --no-ri --no-rdoc' | ||
- RVM_RUBY_VERSION=1.9.3 NOEXEC_DISABLE=1 RUBY_VERSION_SPECIFIC='sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2 && curl http://curl.haxx.se/ca/cacert.pem -o /usr/local/share/cacert.pem' SSL_CERT_FILE=/usr/local/share/cacert.pem | ||
before_install: source ~/.rvm/scripts/rvm && rvm use $RVM_RUBY_VERSION | ||
install: eval $RUBY_VERSION_SPECIFIC && rake bootstrap | ||
script: bundle exec rake spec:ci |
36 changes: 36 additions & 0 deletions
36
External/ACEView/ACE View Example/ACE View Example-Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>${EXECUTABLE_NAME}</string> | ||
<key>CFBundleIconFile</key> | ||
<string></string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.codeofinterest.${PRODUCT_NAME:rfc1034identifier}</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>${PRODUCT_NAME}</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>LSApplicationCategoryType</key> | ||
<string>public.app-category.utilities</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>${MACOSX_DEPLOYMENT_TARGET}</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>Copyright © 2012 Code of Interest. All rights reserved.</string> | ||
<key>NSMainNibFile</key> | ||
<string>MainMenu</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
</dict> | ||
</plist> |
7 changes: 7 additions & 0 deletions
7
External/ACEView/ACE View Example/ACE View Example-Prefix.pch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// | ||
// Prefix header for all source files of the 'ACE View Example' target in the 'ACE View Example' project | ||
// | ||
|
||
#ifdef __OBJC__ | ||
#import <Cocoa/Cocoa.h> | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// AppDelegate.h | ||
// ACE View Example | ||
// | ||
// Created by Michael Robinson on 26/08/12. | ||
// Copyright (c) 2012 Code of Interest. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
#import <ACEView/ACEView.h> | ||
|
||
@interface ACEViewAppDelegate : NSObject <NSApplicationDelegate, ACEViewDelegate> { | ||
IBOutlet ACEView *aceView; | ||
|
||
IBOutlet NSPopUpButton *syntaxMode; | ||
IBOutlet NSPopUpButton *theme; | ||
} | ||
|
||
@property (assign) IBOutlet NSWindow *window; | ||
@property (nonatomic) IBOutlet ACEView *aceView; | ||
|
||
- (IBAction) syntaxModeChanged:(id)sender; | ||
- (IBAction) themeChanged:(id)sender; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// | ||
// AppDelegate.m | ||
// ACE View Example | ||
// | ||
// Created by Michael Robinson on 26/08/12. | ||
// Copyright (c) 2012 Code of Interest. All rights reserved. | ||
// | ||
|
||
#import "ACEViewAppDelegate.h" | ||
#import "ACEView/ACEView.h" | ||
#import "ACEView/ACEModeNames.h" | ||
#import "ACEView/ACEThemeNames.h" | ||
|
||
@implementation ACEViewAppDelegate | ||
|
||
@synthesize aceView; | ||
|
||
- (void) applicationDidFinishLaunching:(NSNotification *)aNotification { | ||
NSString *htmlFilePath = [[NSBundle bundleForClass:[self class]] pathForResource:@"HTML5" ofType:@"html"]; | ||
NSString *html = [NSString stringWithContentsOfFile:htmlFilePath encoding:NSUTF8StringEncoding error:nil]; | ||
[aceView setString:html]; | ||
// [aceView setString:[NSString stringWithContentsOfURL:[NSURL URLWithString:@"https://github.com/faceleg/ACEView"] encoding:NSUTF8StringEncoding | ||
// error:nil]]; | ||
[aceView setDelegate:self]; | ||
[aceView setMode:ACEModeHTML]; | ||
[aceView setTheme:ACEThemeXcode]; | ||
[aceView setShowPrintMargin:NO]; | ||
[aceView setShowInvisibles:YES]; | ||
} | ||
|
||
- (void) awakeFromNib { | ||
[syntaxMode addItemsWithTitles:[ACEModeNames humanModeNames]]; | ||
[syntaxMode selectItemAtIndex:ACEModeHTML]; | ||
|
||
[theme addItemsWithTitles:[ACEThemeNames humanThemeNames]]; | ||
[theme selectItemAtIndex:ACEThemeXcode]; | ||
} | ||
|
||
- (IBAction) syntaxModeChanged:(id)sender { | ||
[aceView setMode:[syntaxMode indexOfSelectedItem]]; | ||
} | ||
|
||
- (IBAction) themeChanged:(id)sender { | ||
[aceView setTheme:[theme indexOfSelectedItem]]; | ||
} | ||
|
||
- (void) textDidChange:(NSNotification *)notification { | ||
// Handle text changes | ||
NSLog(@"%s", __PRETTY_FUNCTION__); | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
<!DOCTYPE html> | ||
<!--[if lt IE 7 ]> <html class="ie ie6 no-js" lang="en"> <![endif]--> | ||
<!--[if IE 7 ]> <html class="ie ie7 no-js" lang="en"> <![endif]--> | ||
<!--[if IE 8 ]> <html class="ie ie8 no-js" lang="en"> <![endif]--> | ||
<!--[if IE 9 ]> <html class="ie ie9 no-js" lang="en"> <![endif]--> | ||
<!--[if gt IE 9]><!--> | ||
|
||
<html class="no-js" lang="en"> | ||
<!--<![endif]--> | ||
<!-- the "no-js" class is for Modernizr. --> | ||
|
||
<head data-template-set="html5-reset" id="www-sitename-com"> | ||
<meta charset="utf-8"> | ||
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame --> | ||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> | ||
|
||
<title></title> | ||
<meta content="" name="title"> | ||
<meta content="" name="description"> | ||
<!-- Google will often use this as its description of your page/site. Make it good. --> | ||
<meta content="" name="google-site-verification"> | ||
<!-- Speaking of Google, don't forget to set your site up: http://google.com/webmasters --> | ||
<meta content="Your Name Here" name="author"> | ||
<meta content="Copyright Your Name Here 2011. All Rights Reserved." name= | ||
"Copyright"><!-- Dublin Core Metadata : http://dublincore.org/ --> | ||
<meta content="Project Name" name="DC.title"> | ||
<meta content="What you're about." name="DC.subject"> | ||
<meta content="Who made this site." name="DC.creator"> | ||
<!-- Mobile Viewport Fix | ||
j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag | ||
device-width : Occupy full width of the screen in its current orientation | ||
initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height | ||
maximum-scale = 1.0 retains dimensions instead of zooming in if page width < device width | ||
--> | ||
<!-- Uncomment to use; use thoughtfully! | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> | ||
--> | ||
<link href="_/img/favicon.ico" rel="shortcut icon"> | ||
<!-- This is the traditional favicon. | ||
- size: 16x16 or 32x32 | ||
- transparency is OK | ||
- see wikipedia for info on browser support: http://mky.be/favicon/ | ||
--> | ||
<link href="_/img/apple-touch-icon.png" rel="apple-touch-icon"> | ||
<!-- The is the icon for iOS's Web Clip. | ||
- size: 57x57 for older iPhones, 72x72 for iPads, 114x114 for iPhone4's retina display (IMHO, just go ahead and use the biggest one) | ||
- To prevent iOS from applying its styles to the icon name it thusly: apple-touch-icon-precomposed.png | ||
- Transparency is not recommended (iOS will put a black BG behind the icon) --> | ||
<!-- CSS: screen, mobile & print are all in the same file --> | ||
<link href="_/css/style.css" rel="stylesheet"> | ||
<!-- all our JS is at the bottom of the page, except for Modernizr. --> | ||
|
||
<script src="_/js/modernizr-1.7.min.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div class="wrapper"> | ||
<!-- not needed? up to you: http://camendesign.com/code/developpeurs_sans_frontieres --> | ||
|
||
<header> | ||
<h1><a href="/">Page Title</a></h1> | ||
|
||
<nav> | ||
<ol> | ||
<li><a href="">Nav Link 1</a></li> | ||
|
||
<li><a href="">Nav Link 2</a></li> | ||
|
||
<li><a href="">Nav Link 3</a></li> | ||
</ol> | ||
</nav> | ||
</header> | ||
|
||
<article> | ||
<h1>Article Header</h1> | ||
|
||
<p>Etiam pretium odio eu mi convallis vitae varius neque pharetra. | ||
Nulla vestibulum nisi ut sem cursus sed mattis nisi egestas.</p> | ||
|
||
<h2>Article Subhead</h2> | ||
|
||
<p>Vestibulum lacus erat, volutpat vel dignissim at, fringilla ut | ||
felis.</p> | ||
</article> | ||
|
||
<aside> | ||
<h2>Sidebar Content</h2> | ||
</aside> | ||
|
||
<footer> | ||
<p><small>© Copyright Your Name Here 2011. All Rights | ||
Reserved.</small></p> | ||
</footer> | ||
</div><!-- here comes the javascript --> | ||
<!-- Grab Google CDN's jQuery. fall back to local if necessary --> | ||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script><script> | ||
window.jQuery || document.write("<script src='_/js/jquery-1.5.1.min.js'>\x3C/script>")<\/script> | ||
|
||
<!-- this is where we put our custom functions --> | ||
<script src="_/js/functions.js"><\/script> | ||
|
||
<!-- Asynchronous google analytics; this is the official snippet. | ||
Replace UA-XXXXXX-XX with your site's ID and uncomment to enable. | ||
|
||
<script> | ||
|
||
var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', 'UA-XXXXXX-XX']); | ||
_gaq.push(['_trackPageview']); | ||
|
||
(function() { | ||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.