Changeset 36

Show
Ignore:
Timestamp:
07/17/05 21:26:55 (3 years ago)
Author:
gnue
Message:

add internal text encoding convert for NSOF
add file "NewtIconv.c", "NewtIconv.h"
add link libiconv

Location:
NEWT0/trunk
Files:
2 added
19 modified

Legend:

Unmodified
Added
Removed
  • NEWT0/trunk/Makefile.in

    r29 r36  
    2222EXEEXT = @EXEEXT@ 
    2323LDIMPORT = @NEWT_LDIMPORT@ 
    24 LDFLAGS = $(DEBUG) -O2 @NEWT_LDFLAGS@ 
     24LDFLAGS = $(DEBUG) -O2 @LDFLAGS@ @NEWT_LDFLAGS@ 
    2525LDSHARED = @LIBNEWT_LDSHARED@ 
    2626 
    2727 
    2828VPATH = $(core) 
    29 INCS = -I. -I$(srcdir) -I$(core)/incs -I$(srcdir)/parser -I$(yytmp) 
    3029STRIP = strip -x 
    3130CFLAGS = $(DEBUG) $(DEFS) -O2 -pipe 
     31CPPFLAGS = -I. -I$(srcdir) -I$(core)/incs -I$(srcdir)/parser -I$(yytmp) @CPPFLAGS@ 
    3232 
    3333 
     
    6363 
    6464.c.o: 
    65     $(CC) $(CFLAGS) $(INCS) -c -o $@ $< 
     65    $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< 
    6666 
    6767 
     
    9595 
    9696$(MAINOBJ): $(srcdir)/main.c $(srcdir)/version.h 
    97     $(CC) $(CFLAGS) $(INCS) -c -o $@ $(srcdir)/main.c 
     97    $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/main.c 
    9898 
    9999 
     
    101101 
    102102$(objdir)/endian_utils.o: $(utils)/endian_utils.c $(utils)/endian_utils.h 
    103     $(CC) $(CFLAGS) $(INCS) -c -o $@ $(utils)/endian_utils.c 
     103    $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(utils)/endian_utils.c 
    104104 
    105105 
     
    113113 
    114114$(objdir)/lookup_words.o: $(parser)/lookup_words.c $(parser)/lookup_words.h 
    115     $(CC) $(CFLAGS) $(INCS) -c -o $@ $(parser)/lookup_words.c 
     115    $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(parser)/lookup_words.c 
    116116 
    117117 
     
    119119 
    120120$(COREOBJS):: 
    121     $(CC) $(CFLAGS) $(INCS) -c -o $@ $(core)/$(*F).c 
     121    $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(core)/$(*F).c 
    122122 
    123123 
  • NEWT0/trunk/configure

    r19 r36  
    312312#endif" 
    313313 
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT YACC LEX LEXLIB LEX_OUTPUT_ROOT CPP EGREP LIBOBJS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os LIBREGEX NEWT_LDIMPORT NEWT_LDFLAGS LIBNEWT_LDSHARED LINK_NEWT_APP_ DLEXT LTLIBOBJS' 
     314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT YACC LEX LEXLIB LEX_OUTPUT_ROOT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CPP EGREP LIBOBJS LIBREGEX NEWT_LDIMPORT NEWT_LDFLAGS LIBNEWT_LDSHARED LINK_NEWT_APP_ DLEXT LTLIBOBJS' 
    315315ac_subst_files='' 
    316316 
     
    25572557fi 
    25582558 
     2559 
     2560# 
     2561ac_aux_dir= 
     2562for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 
     2563  if test -f $ac_dir/install-sh; then 
     2564    ac_aux_dir=$ac_dir 
     2565    ac_install_sh="$ac_aux_dir/install-sh -c" 
     2566    break 
     2567  elif test -f $ac_dir/install.sh; then 
     2568    ac_aux_dir=$ac_dir 
     2569    ac_install_sh="$ac_aux_dir/install.sh -c" 
     2570    break 
     2571  elif test -f $ac_dir/shtool; then 
     2572    ac_aux_dir=$ac_dir 
     2573    ac_install_sh="$ac_aux_dir/shtool install -c" 
     2574    break 
     2575  fi 
     2576done 
     2577if test -z "$ac_aux_dir"; then 
     2578  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
     2579echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 
     2580   { (exit 1); exit 1; }; } 
     2581fi 
     2582ac_config_guess="$SHELL $ac_aux_dir/config.guess" 
     2583ac_config_sub="$SHELL $ac_aux_dir/config.sub" 
     2584ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 
     2585 
     2586# Make sure we can run config.sub. 
     2587$ac_config_sub sun4 >/dev/null 2>&1 || 
     2588  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 
     2589echo "$as_me: error: cannot run $ac_config_sub" >&2;} 
     2590   { (exit 1); exit 1; }; } 
     2591 
     2592echo "$as_me:$LINENO: checking build system type" >&5 
     2593echo $ECHO_N "checking build system type... $ECHO_C" >&6 
     2594if test "${ac_cv_build+set}" = set; then 
     2595  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2596else 
     2597  ac_cv_build_alias=$build_alias 
     2598test -z "$ac_cv_build_alias" && 
     2599  ac_cv_build_alias=`$ac_config_guess` 
     2600test -z "$ac_cv_build_alias" && 
     2601  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
     2602echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
     2603   { (exit 1); exit 1; }; } 
     2604ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 
     2605  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 
     2606echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 
     2607   { (exit 1); exit 1; }; } 
     2608 
     2609fi 
     2610echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
     2611echo "${ECHO_T}$ac_cv_build" >&6 
     2612build=$ac_cv_build 
     2613build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
     2614build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
     2615build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
     2616 
     2617 
     2618echo "$as_me:$LINENO: checking host system type" >&5 
     2619echo $ECHO_N "checking host system type... $ECHO_C" >&6 
     2620if test "${ac_cv_host+set}" = set; then 
     2621  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2622else 
     2623  ac_cv_host_alias=$host_alias 
     2624test -z "$ac_cv_host_alias" && 
     2625  ac_cv_host_alias=$ac_cv_build_alias 
     2626ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 
     2627  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
     2628echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 
     2629   { (exit 1); exit 1; }; } 
     2630 
     2631fi 
     2632echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
     2633echo "${ECHO_T}$ac_cv_host" >&6 
     2634host=$ac_cv_host 
     2635host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
     2636host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
     2637host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
     2638 
     2639 
     2640echo "$as_me:$LINENO: checking target system type" >&5 
     2641echo $ECHO_N "checking target system type... $ECHO_C" >&6 
     2642if test "${ac_cv_target+set}" = set; then 
     2643  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2644else 
     2645  ac_cv_target_alias=$target_alias 
     2646test "x$ac_cv_target_alias" = "x" && 
     2647  ac_cv_target_alias=$ac_cv_host_alias 
     2648ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 
     2649  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 
     2650echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 
     2651   { (exit 1); exit 1; }; } 
     2652 
     2653fi 
     2654echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
     2655echo "${ECHO_T}$ac_cv_target" >&6 
     2656target=$ac_cv_target 
     2657target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
     2658target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
     2659target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
     2660 
     2661 
     2662# The aliases save the names the user supplied, while $host etc. 
     2663# will get canonicalized. 
     2664test -n "$target_alias" && 
     2665  test "$program_prefix$program_suffix$program_transform_name" = \ 
     2666    NONENONEs,x,x, && 
     2667  program_prefix=${target_alias}- 
     2668 
     2669case "$target_os" in 
     2670  freebsd*) 
     2671    export LDFLAGS=-L/usr/local/lib 
     2672    export CPPFLAGS=-I/usr/local/include 
     2673    ;; 
     2674esac 
     2675 
     2676 
    25592677# Checks for libraries. 
     2678#AC_CHECK_LIB(iconv, iconv_open) 
     2679 
     2680SAVE_LIBS="$LIBS" 
     2681LIBS="$LIBS -liconv" 
     2682cat >conftest.$ac_ext <<_ACEOF 
     2683/* confdefs.h.  */ 
     2684_ACEOF 
     2685cat confdefs.h >>conftest.$ac_ext 
     2686cat >>conftest.$ac_ext <<_ACEOF 
     2687/* end confdefs.h.  */ 
     2688 
     2689    #include <stdlib.h> 
     2690    #include <iconv.h> 
     2691 
     2692int 
     2693main () 
     2694{ 
     2695 
     2696    iconv_t cd = iconv_open("", ""); 
     2697    iconv(cd, NULL, NULL, NULL, NULL); 
     2698    iconv_close(cd); 
     2699 
     2700  ; 
     2701  return 0; 
     2702} 
     2703_ACEOF 
     2704rm -f conftest.$ac_objext conftest$ac_exeext 
     2705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2706  (eval $ac_link) 2>conftest.er1 
     2707  ac_status=$? 
     2708  grep -v '^ *+' conftest.er1 >conftest.err 
     2709  rm -f conftest.er1 
     2710  cat conftest.err >&5 
     2711  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2712  (exit $ac_status); } && 
     2713     { ac_try='test -z "$ac_c_werror_flag" 
     2714             || test ! -s conftest.err' 
     2715  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2716  (eval $ac_try) 2>&5 
     2717  ac_status=$? 
     2718  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2719  (exit $ac_status); }; } && 
     2720     { ac_try='test -s conftest$ac_exeext' 
     2721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2722  (eval $ac_try) 2>&5 
     2723  ac_status=$? 
     2724  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2725  (exit $ac_status); }; }; then 
     2726  cat >>confdefs.h <<\_ACEOF 
     2727#define HAVE_LIBICONV 1 
     2728_ACEOF 
     2729 
     2730else 
     2731  echo "$as_me: failed program was:" >&5 
     2732sed 's/^/| /' conftest.$ac_ext >&5 
     2733 
     2734LIBS="$SAVE_LIBS" 
     2735fi 
     2736rm -f conftest.err conftest.$ac_objext \ 
     2737      conftest$ac_exeext conftest.$ac_ext 
    25602738 
    25612739# Checks for header files. 
     
    43944572 
    43954573 
    4396 ac_aux_dir= 
    4397 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 
    4398   if test -f $ac_dir/install-sh; then 
    4399     ac_aux_dir=$ac_dir 
    4400     ac_install_sh="$ac_aux_dir/install-sh -c" 
    4401     break 
    4402   elif test -f $ac_dir/install.sh; then 
    4403     ac_aux_dir=$ac_dir 
    4404     ac_install_sh="$ac_aux_dir/install.sh -c" 
    4405     break 
    4406   elif test -f $ac_dir/shtool; then 
    4407     ac_aux_dir=$ac_dir 
    4408     ac_install_sh="$ac_aux_dir/shtool install -c" 
    4409     break 
    4410   fi 
    4411 done 
    4412 if test -z "$ac_aux_dir"; then 
    4413   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
    4414 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 
    4415    { (exit 1); exit 1; }; } 
    4416 fi 
    4417 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 
    4418 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 
    4419 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 
    4420  
    4421 # Make sure we can run config.sub. 
    4422 $ac_config_sub sun4 >/dev/null 2>&1 || 
    4423   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 
    4424 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 
    4425    { (exit 1); exit 1; }; } 
    4426  
    4427 echo "$as_me:$LINENO: checking build system type" >&5 
    4428 echo $ECHO_N "checking build system type... $ECHO_C" >&6 
    4429 if test "${ac_cv_build+set}" = set; then 
    4430   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4431 else 
    4432   ac_cv_build_alias=$build_alias 
    4433 test -z "$ac_cv_build_alias" && 
    4434   ac_cv_build_alias=`$ac_config_guess` 
    4435 test -z "$ac_cv_build_alias" && 
    4436   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    4437 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    4438    { (exit 1); exit 1; }; } 
    4439 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 
    4440   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 
    4441 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 
    4442    { (exit 1); exit 1; }; } 
    4443  
    4444 fi 
    4445 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    4446 echo "${ECHO_T}$ac_cv_build" >&6 
    4447 build=$ac_cv_build 
    4448 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
    4449 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    4450 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    4451  
    4452  
    4453 echo "$as_me:$LINENO: checking host system type" >&5 
    4454 echo $ECHO_N "checking host system type... $ECHO_C" >&6 
    4455 if test "${ac_cv_host+set}" = set; then 
    4456   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4457 else 
    4458   ac_cv_host_alias=$host_alias 
    4459 test -z "$ac_cv_host_alias" && 
    4460   ac_cv_host_alias=$ac_cv_build_alias 
    4461 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 
    4462   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
    4463 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 
    4464    { (exit 1); exit 1; }; } 
    4465  
    4466 fi 
    4467 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    4468 echo "${ECHO_T}$ac_cv_host" >&6 
    4469 host=$ac_cv_host 
    4470 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
    4471 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    4472 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    4473  
    4474  
    4475 echo "$as_me:$LINENO: checking target system type" >&5 
    4476 echo $ECHO_N "checking target system type... $ECHO_C" >&6 
    4477 if test "${ac_cv_target+set}" = set; then 
    4478   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4479 else 
    4480   ac_cv_target_alias=$target_alias 
    4481 test "x$ac_cv_target_alias" = "x" && 
    4482   ac_cv_target_alias=$ac_cv_host_alias 
    4483 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 
    4484   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 
    4485 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 
    4486    { (exit 1); exit 1; }; } 
    4487  
    4488 fi 
    4489 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    4490 echo "${ECHO_T}$ac_cv_target" >&6 
    4491 target=$ac_cv_target 
    4492 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
    4493 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    4494 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    4495  
    4496  
    4497 # The aliases save the names the user supplied, while $host etc. 
    4498 # will get canonicalized. 
    4499 test -n "$target_alias" && 
    4500   test "$program_prefix$program_suffix$program_transform_name" = \ 
    4501     NONENONEs,x,x, && 
    4502   program_prefix=${target_alias}- 
    4503  
    4504  
     4574# 
     4575# AC_CANONICAL_SYSTEM 
    45054576 
    45064577case "$target_os" in 
     
    51865257s,@LEXLIB@,$LEXLIB,;t t 
    51875258s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t 
    5188 s,@CPP@,$CPP,;t t 
    5189 s,@EGREP@,$EGREP,;t t 
    5190 s,@LIBOBJS@,$LIBOBJS,;t t 
    51915259s,@build@,$build,;t t 
    51925260s,@build_cpu@,$build_cpu,;t t 
     
    52015269s,@target_vendor@,$target_vendor,;t t 
    52025270s,@target_os@,$target_os,;t t 
     5271s,@CPP@,$CPP,;t t 
     5272s,@EGREP@,$EGREP,;t t 
     5273s,@LIBOBJS@,$LIBOBJS,;t t 
    52035274s,@LIBREGEX@,$LIBREGEX,;t t 
    52045275s,@NEWT_LDIMPORT@,$NEWT_LDIMPORT,;t t 
  • NEWT0/trunk/configure.in

    r18 r36  
    1212AC_PROG_LEX 
    1313 
     14 
     15# 
     16AC_CANONICAL_SYSTEM 
     17 
     18case "$target_os" in 
     19  freebsd*) 
     20    export LDFLAGS=-L/usr/local/lib 
     21    export CPPFLAGS=-I/usr/local/include 
     22    ;; 
     23esac 
     24 
     25 
    1426# Checks for libraries. 
     27#AC_CHECK_LIB(iconv, iconv_open) 
     28 
     29SAVE_LIBS="$LIBS" 
     30LIBS="$LIBS -liconv" 
     31AC_TRY_LINK([ 
     32    #include <stdlib.h> 
     33    #include <iconv.h> 
     34    ], [ 
     35    iconv_t cd = iconv_open("", ""); 
     36    iconv(cd, NULL, NULL, NULL, NULL); 
     37    iconv_close(cd); 
     38    ], 
     39    AC_DEFINE(HAVE_LIBICONV), 
     40    LIBS="$SAVE_LIBS") 
    1541 
    1642# Checks for header files. 
     
    3157 
    3258 
    33 AC_CANONICAL_SYSTEM 
    34  
    35  
     59# 
     60# AC_CANONICAL_SYSTEM 
    3661 
    3762case "$target_os" in 
  • NEWT0/trunk/documents/01_howto.txt

    r1 r36  
    4848        Rethrow() 
    4949        CurrentException() 
    50         PrimClassOf(obj) 
     50        PrimClassOf(obj) 
    5151        TotalClone(obj) 
    5252        HasSubclass(sub, super) 
     
    6666        Intern(str) 
    6767        MakeBinary(length, class) 
    68         SetLength(obj, len) 
    69         HasSlot(frame, slot) 
    70         GetSlot(frame, slot) 
    71         SetSlot(frame, slot, v) 
    72         GetVariable(frame, slot) 
    73         SetVariable(frame, slot, v) 
    74         GetRoot() 
    75         GetGlobals() 
    76         GC() 
     68        SetLength(obj, len) 
     69        HasSlot(frame, slot) 
     70        GetSlot(frame, slot) 
     71        SetSlot(frame, slot, v) 
     72        GetVariable(frame, slot) 
     73        SetVariable(frame, slot, v) 
     74        GetRoot() 
     75        GetGlobals() 
     76        GC() 
    7777        Compile(str) 
    78         GetGlobalFn(symbol) 
    79         GetGlobalVar(symbol) 
    80         GlobalFnExists(symbol) 
    81         GlobalVarExists(symbol) 
    82         UndefGlobalFn(symbol) 
    83         UndefGlobalVar(symbol) 
    84         Chr(integer) 
    85         Ord(char) 
    86         StrLen(str) 
    87         SubStr(str, start, count) 
    88         StrEqual(a, b) 
    89         StrExactCompare(a, b) 
    90         StrCat(str1, str2)                      �c  �������������������(*2) 
    91         SPrintObject(obj) 
    92         SymbolCompareLex(symbol1, symbol2) 
     78        GetGlobalFn(symbol) 
     79        GetGlobalVar(symbol) 
     80        GlobalFnExists(symbol) 
     81        GlobalVarExists(symbol) 
     82        UndefGlobalFn(symbol) 
     83        UndefGlobalVar(symbol) 
     84        Chr(integer) 
     85        Ord(char) 
     86        StrLen(str) 
     87        SubStr(str, start, count) 
     88        StrEqual(a, b) 
     89        StrExactCompare(a, b) 
     90        StrCat(str1, str2)                      �c  �������������������(*2) 
     91        SPrintObject(obj) 
     92        SymbolCompareLex(symbol1, symbol2) 
    9393        P(obj)                                  �c  �I�u�W�F�N�g����`�Ńv�����g�B������Print �֐��ɑ��� 
    9494        Print(obj)                              �c  �I�u�W�F�N�g������g�B�O�� " �͏o�͂�������) 
     
    120120        Clone(obj)                              �c  (*5) 
    121121        ClassOf(obj)                            �c  (*5) 
    122         Length(obj)                             �c  (*5) 
     122        Length(obj)                             �c  (*5) 
    123123 
    124124      *2) �Ǝ��g���̊֐� 
  • NEWT0/trunk/ext.xcode/gnue.mode1

    r18 r36  
    198198            <array> 
    199199                <string>active-target-popup</string> 
    200                 <string>action</string> 
     200                <string>active-buildstyle-popup</string> 
    201201                <string>NSToolbarFlexibleSpaceItem</string> 
    202202                <string>buildOrClean</string> 
     
    368368            <key>TableOfContents</key> 
    369369            <array> 
    370                 <string>F5A1C521082C3C6D006F0B48</string> 
     370                <string>F59B846C0867E55200683824</string> 
    371371                <string>1CE0B1FE06471DED0097A5F4</string> 
    372                 <string>F5A1C522082C3C6D006F0B48</string> 
     372                <string>F59B846D0867E55200683824</string> 
    373373                <string>1CE0B20306471E060097A5F4</string> 
    374374                <string>1CE0B20506471E060097A5F4</string> 
     
    504504    <key>WindowOrderList</key> 
    505505    <array> 
    506         <string>/Users/gnue/Desktop/NEWT0/ext.xcode</string> 
     506        <string>/Volumes/Pawn/User/Development/Newt/NEWT0/ext.xcode</string> 
    507507    </array> 
    508508    <key>WindowString</key> 
  • NEWT0/trunk/ext.xcode/gnue.pbxuser

    r18 r36  
    120120                ); 
    121121            }; 
    122             PBXPerProjectTemplateStateSaveDate = 137116725; 
     122            PBXPerProjectTemplateStateSaveDate = 141026618; 
    123123            PBXPrepackagedSmartGroups_v2 = ( 
    124124                { 
     
    544544                RubberWindowFrame = "238 139 776 607 0 0 1024 746 "; 
    545545            }; 
    546             PBXWorkspaceStateSaveDate = 137116725; 
     546            PBXWorkspaceStateSaveDate = 141026618; 
    547547        }; 
    548548        sourceControlManager = F53BDA5B06784447005AE1FA; 
  • NEWT0/trunk/ext/protoFILE/Makefile.in

    r20 r36  
    1414LEX = @LEX@ 
    1515DEFS = @DEFS@ 
    16 LIBS = @LIBS@ 
     16LIBS = 
    1717DLEXT = @DLEXT@ 
    1818EXEEXT = @EXEEXT@ 
  • NEWT0/trunk/ext/protoREGEX/Makefile.in

    r20 r36  
    1818LEX = @LEX@ 
    1919DEFS = @DEFS@ 
    20 LIBS = @LIBS@ 
     20LIBS = 
    2121DLEXT = @DLEXT@ 
    2222EXEEXT = @EXEEXT@ 
  • NEWT0/trunk/newt.xcode/gnue.mode1

    r33 r36  
    261261                                <string>F5ACB05206412D4900DB6CF9</string> 
    262262                                <string>F5DE1344082AD4A500BB42A5</string> 
    263                                 <string>F541CF5007D8582D0071DCE6</string> 
     263                                <string>F5E14B0805798559009742A2</string> 
    264264                                <string>1C37FBAC04509CD000000102</string> 
    265265                                <string>1C37FAAC04509CD000000102</string> 
     
    269269                            <array> 
    270270                                <array> 
    271                                     <integer>48</integer> 
     271                                    <integer>51</integer> 
    272272                                    <integer>1</integer> 
    273273                                    <integer>0</integer> 
     
    275275                            </array> 
    276276                            <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key> 
    277                             <string>{{0, 582}, {186, 506}}</string> 
     277                            <string>{{0, 496}, {186, 506}}</string> 
    278278                        </dict> 
    279279                        <key>PBXTopSmartGroupGIDs</key> 
     
    294294                        </array> 
    295295                        <key>RubberWindowFrame</key> 
    296                         <string>271 135 815 565 0 0 1024 746 </string> 
     296                        <string>174 162 815 565 0 0 1024 746 </string> 
    297297                    </dict> 
    298298                    <key>Module</key> 
     
    312312                                <string>1CE0B20306471E060097A5F4</string> 
    313313                                <key>PBXProjectModuleLabel</key> 
    314                                 <string>NewtObj.h</string> 
     314                                <string>version.h</string> 
    315315                                <key>PBXSplitModuleInNavigatorKey</key> 
    316316                                <dict> 
     
    320320                                        <string>1CE0B20406471E060097A5F4</string> 
    321321                                        <key>PBXProjectModuleLabel</key> 
    322                                         <string>NewtObj.h</string> 
     322                                        <string>version.h</string> 
    323323                                        <key>_historyCapacity</key> 
    324324                                        <integer>0</integer> 
    325325                                        <key>bookmark</key> 
    326                                         <string>F5F9B42108696A5D006C7E5E</string> 
     326                                        <string>F55475AD088A83B6001E9DDF</string> 
    327327                                        <key>history</key> 
    328328                                        <array> 
    329                                             <string>F5F9B41E08696A5D006C7E5E</string> 
    330                                             <string>F5F9B41F08696A5D006C7E5E</string> 
     329                                            <string>F5547480088A7A9B001E9DDF</string> 
     330                                            <string>F5547481088A7A9B001E9DDF</string> 
     331              &nb