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
diff --git a/vim/plugin/ruby_debugger.vim b/vim/plugin/ruby_debugger.vim | |
index d9b1f47..7c838a0 100644 | |
--- a/vim/plugin/ruby_debugger.vim | |
+++ b/vim/plugin/ruby_debugger.vim | |
@@ -1464,6 +1464,9 @@ function! s:Server._get_pid_attempt(bind, port) | |
let netstat = system("netstat -anop tcp") | |
let pid_match = matchlist(netstat, ':' . a:port . '\s.\{-}LISTENING\s\+\(\d | |
\+\)') | |
let pid = len(pid_match) > 0 ? pid_match[1] : "" | |
+ elseif has("mac") |
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
diff --git a/autoload/proc.c b/autoload/proc.c | |
index 9f76fcf..3042476 100644 | |
--- a/autoload/proc.c | |
+++ b/autoload/proc.c | |
@@ -346,7 +346,7 @@ vp_pipe_open(char *args) | |
int npipe; | |
int argc; | |
char *argv[VP_ARGC_MAX]; | |
- int fd[2][3]; | |
+ int fd[3][2]; |
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
diff --git a/autoload/fakepoll.h b/autoload/fakepoll.h | |
new file mode 100644 | |
index 0000000..2b2bac7 | |
--- /dev/null | |
+++ b/autoload/fakepoll.h | |
@@ -0,0 +1,163 @@ | |
+// fakepoll.h | |
+// poll using select | |
+// Warning: a call to this poll() takes about 4K of stack space. | |
+ |
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
diff --git a/envsetup.sh b/envsetup.sh | |
index f8f20ab..ee58244 100644 | |
--- a/envsetup.sh | |
+++ b/envsetup.sh | |
@@ -739,7 +739,8 @@ function gdbclient() | |
echo >>"$OUT_ROOT/gdbclient.cmds" "target remote $PORT" | |
echo >>"$OUT_ROOT/gdbclient.cmds" "" | |
- arm-eabi-gdb -x "$OUT_ROOT/gdbclient.cmds" "$OUT_EXE_SYMBOLS/$EXE" | |
+ #arm-eabi-gdb -x "$OUT_ROOT/gdbclient.cmds" "$OUT_EXE_SYMBOLS/$EXE" |
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
diff --git a/envsetup.sh b/envsetup.sh | |
index f8f20ab..c54c1d5 100644 | |
--- a/envsetup.sh | |
+++ b/envsetup.sh | |
@@ -704,26 +704,26 @@ function gdbclient() | |
local OUT_EXE_SYMBOLS=$(get_abs_build_var TARGET_OUT_EXECUTABLES_UNSTRIPPED) | |
local PREBUILTS=$(get_abs_build_var ANDROID_PREBUILTS) | |
if [ "$OUT_ROOT" -a "$PREBUILTS" ]; then | |
- local EXE="$1" | |
+ local EXE="$2" |
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
--- autoload/acp.vim.orig 2009-09-15 22:54:34.000000000 +0900 | |
+++ autoload/acp.vim 2009-10-02 13:08:38.000000000 +0900 | |
@@ -136,6 +136,9 @@ | |
let s:posLast = getpos('.') | |
if !exists('posPrev') | |
return 1 | |
+ elseif has('gui_macvim') | |
+ return (posPrev[2] + 1 == s:posLast[2] || | |
+ \ posPrev[2] - 1 == s:posLast[2]) | |
elseif has('multi_byte_ime') |
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
diff --git a/libs/Box2D/Collision/b2Distance.cpp b/libs/Box2D/Collision/b2Distance.cpp | |
index f16a300..ff030fa 100644 | |
--- a/libs/Box2D/Collision/b2Distance.cpp | |
+++ b/libs/Box2D/Collision/b2Distance.cpp | |
@@ -67,7 +67,7 @@ struct b2Simplex | |
const b2DistanceProxy* proxyA, const b2Transform& transformA, | |
const b2DistanceProxy* proxyB, const b2Transform& transformB) | |
{ | |
- b2Assert(0 <= cache->count && cache->count <= 3); | |
+ b2Assert(/*0 <= cache->count && */cache->count <= 3); |
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
#import <Foundation/Foundation.h> | |
static inline NSMutableDictionary *newMutableNoRetainDictionary() | |
{ | |
CFDictionaryValueCallBacks dictionaryValueCallBacks = | |
kCFTypeDictionaryValueCallBacks; | |
dictionaryValueCallBacks.retain = NULL; | |
dictionaryValueCallBacks.release = NULL; | |
NSMutableDictionary *dictionary = | |
(NSMutableDictionary *)CFDictionaryCreateMutable(NULL, 0, |
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
require 'fileutils' | |
SDKS = %W|iphonesimulator3.1.2 iphoneos3.1.2| | |
CONFIGS = %W|Debug Release| | |
def xcodebuild(action) | |
system "security unlock-keychain $HOME/Library/Keychains/login.keychain" | |
SDKS.each do |sdk| | |
CONFIGS.each do |config| | |
system "xcodebuild -alltargets " + |
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
require 'optparse' | |
require 'pp' | |
def check(pbxproj, verbose) | |
plist = NSPropertyListSerialization.propertyListFromData( | |
NSData.dataWithContentsOfFile(pbxproj), | |
mutabilityOption:0, format:nil, errorDescription:nil) | |
objects = plist["objects"] | |
buildSettings = Hash.new | |
configs = Hash.new |
OlderNewer