Skip to content

Instantly share code, notes, and snippets.

View splhack's full-sized avatar

Kazuki Sakamoto splhack

View GitHub Profile
diff --git a/Untitled0-Info.plist b/Untitled0-Info.plist
index a45013d..b8705ab 100644
--- a/Untitled0-Info.plist
+++ b/Untitled0-Info.plist
@@ -28,5 +28,12 @@
<string>MainWindow</string>
<key>UIStatusBarHidden</key>
<true/>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 30200
BOOL isIPad = UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad ? YES : NO;
#else /* __IPHONE_OS_VERSION_MAX_ALLOWED >= 30200 */
BOOL isIPad = NO;
#endif /* __IPHONE_OS_VERSION_MAX_ALLOWED >= 30200 */
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIconFiles</key>
<array>
<string>Icon@2x.png</string>
<string>Icon-72.png</string>
<string>Icon.png</string>
</array>
@splhack
splhack / MacVim_vs_MacVim-KaoriYa.diff
Created December 14, 2010 02:11
MacVimとMacVim-KaoriYaの差分
diff --git a/src/MacVim/MMAppController.h b/src/MacVim/MMAppController.h
index 289c1cd..62f27e0 100644
--- a/src/MacVim/MMAppController.h
+++ b/src/MacVim/MMAppController.h
@@ -53,6 +53,7 @@
- (IBAction)selectPreviousWindow:(id)sender;
- (IBAction)orderFrontPreferencePanel:(id)sender;
- (IBAction)openWebsite:(id)sender;
+- (IBAction)openWebsiteKaoriYa:(id)sender;
- (IBAction)showVimHelp:(id)sender;
diff --git a/common.mk b/common.mk
index 3582c70..da3ae6d 100644
--- a/common.mk
+++ b/common.mk
@@ -126,9 +126,9 @@ BOOTSTRAPRUBY = $(BASERUBY)
COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb
-all: main docs
+all: main
#!/bin/sh
IOSROOT=/Developer/Platforms/iPhoneSimulator.platform/Developer
IOSSDK=$IOSROOT/SDKs/iPhoneSimulator4.2.sdk
GCCPATH=$IOSROOT/usr/bin
BUILDARCH=i386-apple-darwin10
ARCH=i686-apple-darwin10
GCCVERSION=4.2.1
##gcc
export CPP="$GCCPATH/$ARCH-gcc-$GCCVERSION -march=i386 -E"
export CC="$GCCPATH/$ARCH-gcc-$GCCVERSION -march=i386"
#!/bin/sh
IOSROOT=/Developer/Platforms/iPhoneOS.platform/Developer
IOSSDK=$IOSROOT/SDKs/iPhoneOS4.2.sdk
GCCPATH=$IOSROOT/usr/bin
BUILDARCH=i386-apple-darwin10
ARCH=arm-apple-darwin10
GCCVERSION=4.2.1
##gcc
export CPP="$GCCPATH/$ARCH-gcc-$GCCVERSION -march=armv6 -E"
export CC="$GCCPATH/$ARCH-gcc-$GCCVERSION -march=armv6"
diff --git a/src/if_ruby.c b/src/if_ruby.c
index 18e43f4..1d82f29 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -235,6 +249,12 @@ static void ruby_vim_init(void);
# define ruby_init_stack dll_ruby_init_stack
#endif
+#ifdef FEAT_GUI_MACVIM
+# define rb_fix2int dll_rb_fix2int
#!/bin/sh
IOSSDKVERSION=4.3
GCCVERSION=4.2.1
DEPLOYMENTTARGET=4.0
case $0 in
*iphonesim*)
IOSTARGET=iPhoneSimulator
HOSTARCH=i686-apple-darwin10
ARCH=i386
From 1cc2564e89714d1eb99f6fc5c32760d9cef3a8bd Mon Sep 17 00:00:00 2001
From: Kazuki Sakamoto <sakamoto@splhack.org>
Date: Wed, 9 Feb 2011 23:00:24 +0900
Subject: [PATCH] sync iPhone with trunk
---
.../iPhone/Box2D.xcodeproj/project.pbxproj | 620 --------------------
Contributions/Platforms/iPhone/Box2D_Prefix.pch | 8 -
Contributions/Platforms/iPhone/CMakeLists.txt | 36 ++