Permalink
Browse files

Avoid label values when using LLVM

  • Loading branch information...
1 parent ec92f75 commit 5666b63a80b3e7d71e1f2c2b3344d08a706cd4d6 @feeley feeley committed Oct 17, 2011
Showing with 32,219 additions and 1,580 deletions.
  1. +6 −6 configure
  2. +2 −2 configure.ac
  3. +80 −36 examples/iOS/AccessoryView.xib
  4. +1 −3 examples/iOS/AppDelegate.m
  5. BIN examples/iOS/GambitREPL.xcodeproj.tgz
  6. +5 −3 examples/iOS/Info.plist
  7. +45 −24 examples/iOS/MainWindow.xib
  8. +58 −14 examples/iOS/ViewController.h
  9. +417 −113 examples/iOS/ViewController.m
  10. +539 −28 examples/iOS/ViewController.xib
  11. +4 −3 examples/iOS/build-gambit-iOS
  12. BIN examples/iOS/button-abc.png
  13. BIN examples/iOS/button-cancel.png
  14. BIN examples/iOS/button-compass.png
  15. BIN examples/iOS/button-empty.png
  16. BIN examples/iOS/button-left-left.png
  17. BIN examples/iOS/button-left.png
  18. BIN examples/iOS/button-question.png
  19. BIN examples/iOS/button-right-right.png
  20. BIN examples/iOS/button-right.png
  21. BIN examples/iOS/button-up-arrow.png
  22. BIN examples/iOS/button-up.png
  23. +19,641 −0 examples/iOS/gambit-c.html
  24. +100 −0 examples/iOS/help.html
  25. +2 −1 examples/iOS/html.scm
  26. +115 −0 examples/iOS/intf#.scm
  27. +16 −0 examples/iOS/intf.h
  28. +681 −0 examples/iOS/intf.scm
  29. +27 −12 examples/iOS/makefile.in
  30. +0 −16 examples/iOS/program.h
  31. +652 −1,295 examples/iOS/program.scm
  32. +9,309 −0 examples/iOS/r5rs.html
  33. BIN examples/iOS/r5rs.pdf
  34. +15 −0 examples/iOS/repl-server#.scm
  35. +155 −0 examples/iOS/repl-server.scm
  36. +18 −0 examples/iOS/repo#.scm
  37. +71 −0 examples/iOS/repo.scm
  38. +27 −0 examples/iOS/script#.scm
  39. +175 −0 examples/iOS/script.scm
  40. +2 −1 examples/iOS/wiki#.scm
  41. +50 −21 examples/iOS/wiki.scm
  42. +5 −1 include/gambit.h.in
  43. +1 −1 makefile.in
View
@@ -2192,7 +2192,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
- for ac_prog in i686-apple-darwin11-gcc-4.2.1 gcc cc
+ for ac_prog in gcc cc
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
@@ -2236,7 +2236,7 @@ fi
fi
if test -z "$CC"; then
ac_ct_CC=$CC
- for ac_prog in i686-apple-darwin11-gcc-4.2.1 gcc cc
+ for ac_prog in gcc cc
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -2908,7 +2908,7 @@ ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- # Try to avoid LLVM gcc
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3159,7 +3159,7 @@ if test -z "$CXX"; then
CXX=$CCC
else
if test -n "$ac_tool_prefix"; then
- for ac_prog in i686-apple-darwin11-g++-4.2.1 g++
+ for ac_prog in g++
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
@@ -3203,7 +3203,7 @@ fi
fi
if test -z "$CXX"; then
ac_ct_CXX=$CXX
- for ac_prog in i686-apple-darwin11-g++-4.2.1 g++
+ for ac_prog in g++
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -3512,7 +3512,7 @@ ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- # Try to avoid LLVM gcc
+
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
View
@@ -77,14 +77,14 @@ if test "${LDFLAGS+set}" != set; then
fi
AC_LANG(C)
-AC_PROG_CC([i686-apple-darwin11-gcc-4.2.1 gcc cc]) # Try to avoid LLVM gcc
+AC_PROG_CC([gcc cc])
AC_PROG_CPP
C_COMPILER=$CC
C_PREPROC=$CPP
if test "$ENABLE_CPLUSPLUS" = yes; then
AC_LANG(C++)
- AC_PROG_CXX([i686-apple-darwin11-g++-4.2.1 g++]) # Try to avoid LLVM gcc
+ AC_PROG_CXX([g++])
AC_PROG_CXXCPP
C_COMPILER=$CXX
C_PREPROC=$CXXCPP
@@ -2,9 +2,9 @@
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1056</int>
- <string key="IBDocument.SystemVersion">10J869</string>
+ <string key="IBDocument.SystemVersion">10K540</string>
<string key="IBDocument.InterfaceBuilderVersion">1305</string>
- <string key="IBDocument.AppKitVersion">1038.35</string>
+ <string key="IBDocument.AppKitVersion">1038.36</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -197,13 +197,13 @@
<string key="NSResourceName">key-quote-46x42.png</string>
</object>
</object>
- <object class="IBUIButton" id="420911439">
+ <object class="IBUIButton" id="47015903">
<reference key="NSNextResponder" ref="795231795"/>
<int key="NSvFlags">297</int>
- <string key="NSFrame">{{593, 2}, {46, 42}}</string>
+ <string key="NSFrame">{{545, 2}, {46, 42}}</string>
<reference key="NSSuperview" ref="795231795"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="965625217"/>
+ <reference key="NSNextKeyView" ref="420911439"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">2</int>
<bytes key="NSRGB">MC42MTE3NjQ3MjkgMC42MDc4NDMxNjA2IDAuNjUwOTgwNDEzAA</bytes>
@@ -213,7 +213,11 @@
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
- <reference key="IBUIFont" ref="262793430"/>
+ <object class="NSFont" key="IBUIFont">
+ <string key="NSName">CourierNewPS-BoldMT</string>
+ <double key="NSSize">14</double>
+ <int key="NSfFlags">16</int>
+ </object>
<string key="IBUINormalTitle">STOP</string>
<reference key="IBUIHighlightedTitleColor" ref="107046278"/>
<object class="NSColor" key="IBUINormalTitleColor">
@@ -226,13 +230,13 @@
<string key="NSResourceName">key-stop-46x42.png</string>
</object>
</object>
- <object class="IBUIButton" id="47015903">
+ <object class="IBUIButton" id="420911439">
<reference key="NSNextResponder" ref="795231795"/>
<int key="NSvFlags">297</int>
- <string key="NSFrame">{{545, 2}, {46, 42}}</string>
+ <string key="NSFrame">{{593, 2}, {46, 42}}</string>
<reference key="NSSuperview" ref="795231795"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="420911439"/>
+ <reference key="NSNextKeyView" ref="965625217"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">2</int>
<bytes key="NSRGB">MC42MTE3NjQ3MjkgMC42MDc4NDMxNjA2IDAuNjUwOTgwNDEzAA</bytes>
@@ -242,22 +246,19 @@
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
- <object class="NSFont" key="IBUIFont">
- <string key="NSName">CourierNewPS-BoldMT</string>
- <double key="NSSize">14</double>
- <int key="NSfFlags">16</int>
- </object>
- <string key="IBUINormalTitle">EDIT</string>
+ <reference key="IBUIFont" ref="262793430"/>
+ <string key="IBUINormalTitle">COMMA</string>
<reference key="IBUIHighlightedTitleColor" ref="107046278"/>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">2</int>
<bytes key="NSRGB">MC4yMzkyMTU3MDE4IDAuMjM5MjE1NzAxOCAwLjI0MzEzNzI3MDIAA</bytes>
</object>
<reference key="IBUINormalTitleShadowColor" ref="811716299"/>
- <object class="NSCustomResource" key="IBUINormalImage">
+ <object class="NSCustomResource" key="IBUINormalImage" id="561697142">
<string key="NSClassName">NSImage</string>
- <string key="NSResourceName">key-edit-46x42.png</string>
+ <string key="NSResourceName">key-comma-46x42.png</string>
</object>
+ <reference key="IBUINormalBackgroundImage" ref="561697142"/>
</object>
<object class="IBUIButton" id="949690578">
<reference key="NSNextResponder" ref="795231795"/>
@@ -1044,15 +1045,6 @@
</object>
<int key="connectionID">161</int>
</object>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchEventConnection" key="connection">
- <string key="label">touch_up_F13:</string>
- <reference key="source" ref="420911439"/>
- <reference key="destination" ref="372490531"/>
- <int key="IBEventType">7</int>
- </object>
- <int key="connectionID">162</int>
- </object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">touch_up_QUOTE:</string>
@@ -1071,6 +1063,15 @@
</object>
<int key="connectionID">164</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">touch_up_COMMA:</string>
+ <reference key="source" ref="420911439"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">165</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -1104,7 +1105,6 @@
<reference ref="933032107"/>
<reference ref="214816834"/>
<reference ref="965625217"/>
- <reference ref="420911439"/>
<reference ref="47015903"/>
<reference ref="949690578"/>
<reference ref="237724049"/>
@@ -1118,6 +1118,7 @@
<reference ref="996814062"/>
<reference ref="305193239"/>
<reference ref="1057799585"/>
+ <reference ref="420911439"/>
</object>
<reference key="parent" ref="0"/>
</object>
@@ -1160,6 +1161,7 @@
<int key="objectID">57</int>
<reference key="object" ref="420911439"/>
<reference key="parent" ref="795231795"/>
+ <string key="objectName">Button - COMMA</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">60</int>
@@ -1215,7 +1217,7 @@
<int key="objectID">118</int>
<reference key="object" ref="996814062"/>
<reference key="parent" ref="795231795"/>
- <string key="objectName">Button</string>
+ <string key="objectName">Button - F2</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">121</int>
@@ -1388,7 +1390,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">164</int>
+ <int key="maxID">165</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -1400,6 +1402,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>navigation_changed:</string>
<string>touch_down:</string>
<string>touch_up_COMMA:</string>
<string>touch_up_DQUOTE:</string>
@@ -1451,12 +1454,14 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>navigation_changed:</string>
<string>touch_down:</string>
<string>touch_up_COMMA:</string>
<string>touch_up_DQUOTE:</string>
@@ -1484,6 +1489,10 @@
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBActionInfo">
+ <string key="name">navigation_changed:</string>
+ <string key="candidateClassName">id</string>
+ </object>
<object class="IBActionInfo">
<string key="name">touch_down:</string>
<string key="candidateClassName">id</string>
@@ -1587,13 +1596,23 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>accessoryView</string>
- <string>textView</string>
- <string>webView</string>
+ <string>imageView0</string>
+ <string>imageView1</string>
+ <string>segmCtrl</string>
+ <string>textView0</string>
+ <string>textView1</string>
+ <string>webView0</string>
+ <string>webView1</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>UIView</string>
+ <string>UIImageView</string>
+ <string>UIImageView</string>
+ <string>UISegmentedControl</string>
<string>UITextView</string>
+ <string>UITextView</string>
+ <string>UIWebView</string>
<string>UIWebView</string>
</object>
</object>
@@ -1602,8 +1621,13 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>accessoryView</string>
- <string>textView</string>
- <string>webView</string>
+ <string>imageView0</string>
+ <string>imageView1</string>
+ <string>segmCtrl</string>
+ <string>textView0</string>
+ <string>textView1</string>
+ <string>webView0</string>
+ <string>webView1</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -1612,11 +1636,31 @@
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo">
- <string key="name">textView</string>
+ <string key="name">imageView0</string>
+ <string key="candidateClassName">UIImageView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">imageView1</string>
+ <string key="candidateClassName">UIImageView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">segmCtrl</string>
+ <string key="candidateClassName">UISegmentedControl</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">textView0</string>
+ <string key="candidateClassName">UITextView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">textView1</string>
<string key="candidateClassName">UITextView</string>
</object>
<object class="IBToOneOutletInfo">
- <string key="name">webView</string>
+ <string key="name">webView0</string>
+ <string key="candidateClassName">UIWebView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">webView1</string>
<string key="candidateClassName">UIWebView</string>
</object>
</object>
@@ -1644,8 +1688,8 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>key-comma-46x42.png</string>
<string>key-doublequote-46x42.png</string>
- <string>key-edit-46x42.png</string>
<string>key-f1-46x42.png</string>
<string>key-f10-46x42.png</string>
<string>key-f11-46x42.png</string>
@@ -23,8 +23,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[window addSubview:viewController.view];
[window makeKeyAndVisible];
- viewController.keyboardSounds = -1;
-
return YES;
}
@@ -73,7 +71,7 @@ Restart any tasks that were paused (or not yet started) while the
the background, optionally refresh the user interface.
*/
- viewController.keyboardSounds = -1; // delay check of user preferences
+ [viewController app_become_active];
}
Binary file not shown.
Oops, something went wrong.

0 comments on commit 5666b63

Please sign in to comment.