esruby 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +22 -0
- data/bin/esruby +34 -0
- data/lib/esruby.rb +26 -0
- data/lib/esruby/build.rb +140 -0
- data/lib/esruby/build/configuration.rb +77 -0
- data/lib/esruby/gem.rb +5 -0
- data/lib/esruby/gem/specification.rb +35 -0
- data/resources/build_config.eruby +53 -0
- data/resources/cpp/esruby.cpp +64 -0
- data/resources/cpp/esruby.hpp +42 -0
- data/resources/cpp/main.cpp +9 -0
- data/resources/js/esruby.js +45 -0
- data/resources/mruby/AUTHORS +40 -0
- data/resources/mruby/CONTRIBUTING.md +68 -0
- data/resources/mruby/LEGAL +6 -0
- data/resources/mruby/MITL +20 -0
- data/resources/mruby/Makefile +17 -0
- data/resources/mruby/NEWS +13 -0
- data/resources/mruby/README.md +92 -0
- data/resources/mruby/Rakefile +152 -0
- data/resources/mruby/TODO +10 -0
- data/resources/mruby/appveyor.yml +38 -0
- data/resources/mruby/appveyor_config.rb +50 -0
- data/resources/mruby/benchmark/bm_ao_render.rb +314 -0
- data/resources/mruby/benchmark/bm_app_lc_fizzbuzz.rb +52 -0
- data/resources/mruby/benchmark/bm_fib.rb +7 -0
- data/resources/mruby/benchmark/bm_so_lists.rb +47 -0
- data/resources/mruby/benchmark/build_config_boxing.rb +28 -0
- data/resources/mruby/benchmark/build_config_cc.rb +13 -0
- data/resources/mruby/benchmark/plot.gpl +5 -0
- data/resources/mruby/bin/mirb +0 -0
- data/resources/mruby/bin/mrbc +0 -0
- data/resources/mruby/bin/mruby +0 -0
- data/resources/mruby/bin/mruby-strip +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/README.md +82 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/mrbgem.rake +63 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/mrblib/regexp_pcre.rb +232 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/mrblib/string_pcre.rb +333 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/132html +313 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/AUTHORS +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/CMakeLists.txt +959 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/COPYING +5 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/ChangeLog +4981 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/CheckMan +67 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/CleanTxt +113 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/Detrail +35 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/HACKING +473 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/INSTALL +370 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/LICENCE +92 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/Makefile.am +877 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/Makefile.in +2917 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/NEWS +611 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/NON-AUTOTOOLS-BUILD +639 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/NON-UNIX-USE +7 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/PrepareRelease +253 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/README +935 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/RunGrepTest +551 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/RunTest +1015 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/RunTest.bat +616 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/aclocal.m4 +1230 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/output.0 +21280 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/output.1 +21280 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/requests +273 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/traces.0 +2421 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/traces.1 +1144 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/COPYING-CMAKE-SCRIPTS +22 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/FindEditline.cmake +17 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/FindPackageHandleStandardArgs.cmake +58 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/FindReadline.cmake +29 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/compile +343 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config-cmake.h.in +54 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.guess +1552 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.h +392 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.h.generic +392 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.h.in +343 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.sub +1804 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/configure +21280 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/configure.ac +1082 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/depcomp +708 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/dftables.c +212 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/index.html +180 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre-config.html +109 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre.html +204 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre16.html +383 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_assign_jit_stack.html +76 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_compile.html +108 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_compile2.html +112 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_config.html +91 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_copy_named_substring.html +65 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_copy_substring.html +61 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_dfa_exec.html +128 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_exec.html +110 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_free_study.html +46 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_free_substring.html +46 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_free_substring_list.html +46 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_fullinfo.html +108 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_named_substring.html +68 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_stringnumber.html +57 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_stringtable_entries.html +60 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_substring.html +64 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_substring_list.html +61 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_jit_exec.html +108 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_jit_stack_alloc.html +55 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_jit_stack_free.html +48 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_maketables.html +48 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_pattern_to_host_byte_order.html +58 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_refcount.html +51 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_study.html +68 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_utf16_to_host_byte_order.html +57 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_version.html +46 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreapi.html +2786 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrebuild.html +517 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrecallout.html +243 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrecompat.html +216 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrecpp.html +368 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcredemo.html +426 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcregrep.html +757 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrejit.html +458 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrelimits.html +86 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrematching.html +233 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrepartial.html +474 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrepattern.html +2953 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreperform.html +195 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreposix.html +292 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreprecompile.html +158 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcresample.html +110 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrestack.html +225 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcresyntax.html +521 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcretest.html +1082 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreunicode.html +270 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/index.html.src +180 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre-config.1 +92 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre-config.txt +86 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre.3 +202 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre.txt +9909 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre16.3 +390 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre32.3 +389 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_assign_jit_stack.3 +61 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_compile.3 +98 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_compile2.3 +106 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_config.3 +76 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_copy_named_substring.3 +59 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_copy_substring.3 +52 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_dfa_exec.3 +125 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_exec.3 +103 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_free_study.3 +31 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_free_substring.3 +31 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_free_substring_list.3 +31 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_fullinfo.3 +95 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_named_substring.3 +62 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_stringnumber.3 +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_stringtable_entries.3 +48 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_substring.3 +55 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_substring_list.3 +49 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_jit_exec.3 +104 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_jit_stack_alloc.3 +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_jit_stack_free.3 +35 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_maketables.3 +33 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_pattern_to_host_byte_order.3 +46 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_refcount.3 +36 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_study.3 +56 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_utf16_to_host_byte_order.3 +46 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_utf32_to_host_byte_order.3 +46 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_version.3 +31 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreapi.3 +2823 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrebuild.3 +520 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrecallout.3 +214 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrecompat.3 +185 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrecpp.3 +348 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcregrep.1 +679 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcregrep.txt +740 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrejit.3 +437 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrelimits.3 +67 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrematching.3 +206 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrepartial.3 +445 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrepattern.3 +2983 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreperform.3 +177 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreposix.3 +270 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreprecompile.3 +151 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcresample.3 +99 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrestack.3 +215 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcresyntax.3 +496 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcretest.1 +1079 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcretest.txt +1012 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreunicode.3 +255 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/perltest.txt +42 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/install-sh +527 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcre.pc.in +12 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcre16.pc.in +12 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcre32.pc.in +12 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcrecpp.pc.in +12 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcreposix.pc.in +13 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/ltmain.sh +9636 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ax_pthread.m4 +309 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/libtool.m4 +7844 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ltoptions.m4 +369 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ltsugar.m4 +123 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ltversion.m4 +23 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/lt~obsolete.m4 +98 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/pcre_visibility.m4 +89 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/makevp.bat +66 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/makevp_c.txt +20 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/makevp_l.txt +20 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/missing +331 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre-config.in +133 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre.h +653 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre.h.generic +653 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre.h.in +653 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_byte_order.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_chartables.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_compile.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_config.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_dfa_exec.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_exec.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_fullinfo.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_get.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_globals.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_jit_compile.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_maketables.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_newline.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_ord2utf16.c +90 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_printint.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_refcount.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_string_utils.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_study.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_tables.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_ucd.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_utf16_utils.c +130 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_valid_utf16.c +156 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_version.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_xclass.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_byte_order.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_chartables.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_compile.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_config.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_dfa_exec.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_exec.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_fullinfo.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_get.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_globals.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_jit_compile.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_maketables.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_newline.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_ord2utf32.c +82 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_printint.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_refcount.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_string_utils.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_study.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_tables.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_ucd.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_utf32_utils.c +141 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_valid_utf32.c +131 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_version.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_xclass.c +45 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_byte_order.c +318 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_chartables.c +198 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_chartables.c.dist +198 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_compile.c +8386 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_config.c +186 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_dfa_exec.c +3582 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_exec.c +7049 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_fullinfo.c +231 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_get.c +662 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_globals.c +84 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_internal.h +2744 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_jit_compile.c +8560 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_jit_test.c +1614 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_maketables.c +151 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_newline.c +210 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_ord2utf8.c +94 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_printint.c +766 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_refcount.c +92 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_scanner.cc +199 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_scanner.h +172 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_scanner_unittest.cc +159 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_string_utils.c +211 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_stringpiece.cc +43 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_stringpiece.h.in +179 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_stringpiece_unittest.cc +150 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_study.c +1562 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_tables.c +655 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_ucd.c +3298 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_valid_utf8.c +312 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_version.c +98 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_xclass.c +198 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp.cc +922 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp.h +710 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp_internal.h +71 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp_unittest.cc +1291 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpparg.h.in +174 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcredemo.c +406 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcregexp.pas +845 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcregrep.c +3180 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcreposix.c +419 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcreposix.h +146 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcretest.c +5488 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/perltest.pl +237 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitConfig.h +110 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitConfigInternal.h +484 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitExecAllocator.c +289 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitLir.c +1766 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitLir.h +985 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeARM_Thumb2.c +2008 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeARM_v5.c +2515 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeMIPS_32.c +404 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeMIPS_common.c +1881 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativePPC_32.c +269 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativePPC_64.c +421 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativePPC_common.c +2014 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeSPARC_32.c +164 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeSPARC_common.c +1348 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeX86_32.c +547 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeX86_64.c +810 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeX86_common.c +2836 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitUtils.c +332 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepbinary +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepfilelist +3 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinput +611 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinput3 +15 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinput8 +11 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinputv +4 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinputx +43 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/greplist +7 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepoutput +707 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepoutput8 +12 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepoutputN +16 -1
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/greppatN4 +2 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16BE-1 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16BE-2 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16LE-1 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16LE-2 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32BE-1 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32BE-2 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32LE-1 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32LE-2 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved8 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput1 +5306 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput10 +1337 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput11 +135 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput12 +89 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput13 +9 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput14 +329 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput15 +430 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput16 +35 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput17 +296 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput18 +296 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput19 +22 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput2 +3813 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput20 +19 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput21 +16 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput22 +13 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput23 +16 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput24 +77 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput25 +32 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput26 +80 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput3 +95 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput4 +624 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput5 +772 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput6 +1319 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput7 +672 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput8 +4801 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput9 +717 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinputEBC +121 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput1 +8798 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput10 +2726 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput11-16 +713 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput11-32 +713 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput11-8 +713 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput12 +181 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput13 +21 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput14 +476 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput15 +1269 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput16 +121 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput17 +505 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput18-16 +1022 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput18-32 +1019 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput19 +88 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput2 +12484 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput20 +27 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput21-16 +90 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput21-32 +90 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput22-16 +71 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput22-32 +71 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput23 +42 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput24 +145 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput25 +79 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput26 +148 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput3 +169 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput4 +1094 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput5 +1849 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput6 +2137 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput7 +1473 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput8 +8019 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput9 +1371 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutputEBC +182 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/wintestinput3 +91 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/wintestoutput3 +166 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/ucp.h +197 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/run_test.rb +23 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/src/mruby_regexp_pcre.c +364 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/test/matchdata.rb +94 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/test/regexp.rb +264 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/test/string.rb +201 -0
- data/resources/mruby/build_config.rb +152 -0
- data/resources/mruby/doc/guides/compile.md +488 -0
- data/resources/mruby/doc/guides/debugger.md +370 -0
- data/resources/mruby/doc/guides/gc-arena-howto.md +177 -0
- data/resources/mruby/doc/guides/mrbconf.md +146 -0
- data/resources/mruby/doc/guides/mrbgems.md +340 -0
- data/resources/mruby/doc/limitations.md +187 -0
- data/resources/mruby/examples/mrbgems/c_and_ruby_extension_example/README.md +4 -0
- data/resources/mruby/examples/mrbgems/c_and_ruby_extension_example/mrbgem.rake +23 -0
- data/resources/mruby/examples/mrbgems/c_and_ruby_extension_example/mrblib/example.rb +5 -0
- data/resources/mruby/examples/mrbgems/c_and_ruby_extension_example/src/example.c +20 -0
- data/resources/mruby/examples/mrbgems/c_and_ruby_extension_example/test/example.rb +7 -0
- data/resources/mruby/examples/mrbgems/c_extension_example/README.md +4 -0
- data/resources/mruby/examples/mrbgems/c_extension_example/mrbgem.rake +23 -0
- data/resources/mruby/examples/mrbgems/c_extension_example/src/example.c +20 -0
- data/resources/mruby/examples/mrbgems/c_extension_example/test/example.c +7 -0
- data/resources/mruby/examples/mrbgems/c_extension_example/test/example.rb +3 -0
- data/resources/mruby/examples/mrbgems/ruby_extension_example/README.md +4 -0
- data/resources/mruby/examples/mrbgems/ruby_extension_example/mrbgem.rake +25 -0
- data/resources/mruby/examples/mrbgems/ruby_extension_example/mrblib/example.rb +5 -0
- data/resources/mruby/examples/mrbgems/ruby_extension_example/test/example.rb +3 -0
- data/resources/mruby/examples/targets/build_config_ArduinoDue.rb +90 -0
- data/resources/mruby/examples/targets/build_config_IntelEdison.rb +69 -0
- data/resources/mruby/examples/targets/build_config_IntelGalileo.rb +106 -0
- data/resources/mruby/examples/targets/build_config_RX630.rb +81 -0
- data/resources/mruby/examples/targets/build_config_android_arm64-v8a.rb +26 -0
- data/resources/mruby/examples/targets/build_config_android_armeabi.rb +26 -0
- data/resources/mruby/examples/targets/build_config_android_armeabi_v7a_neon_hard.rb +28 -0
- data/resources/mruby/examples/targets/build_config_chipKITMax32.rb +86 -0
- data/resources/mruby/include/mrbconf.h +145 -0
- data/resources/mruby/include/mruby.h +1280 -0
- data/resources/mruby/include/mruby/array.h +279 -0
- data/resources/mruby/include/mruby/boxing_nan.h +102 -0
- data/resources/mruby/include/mruby/boxing_no.h +56 -0
- data/resources/mruby/include/mruby/boxing_word.h +136 -0
- data/resources/mruby/include/mruby/class.h +94 -0
- data/resources/mruby/include/mruby/common.h +72 -0
- data/resources/mruby/include/mruby/compile.h +194 -0
- data/resources/mruby/include/mruby/data.h +75 -0
- data/resources/mruby/include/mruby/debug.h +66 -0
- data/resources/mruby/include/mruby/dump.h +196 -0
- data/resources/mruby/include/mruby/error.h +75 -0
- data/resources/mruby/include/mruby/gc.h +91 -0
- data/resources/mruby/include/mruby/hash.h +182 -0
- data/resources/mruby/include/mruby/irep.h +62 -0
- data/resources/mruby/include/mruby/istruct.h +47 -0
- data/resources/mruby/include/mruby/khash.h +274 -0
- data/resources/mruby/include/mruby/numeric.h +161 -0
- data/resources/mruby/include/mruby/object.h +45 -0
- data/resources/mruby/include/mruby/opcode.h +161 -0
- data/resources/mruby/include/mruby/proc.h +131 -0
- data/resources/mruby/include/mruby/range.h +49 -0
- data/resources/mruby/include/mruby/re.h +16 -0
- data/resources/mruby/include/mruby/string.h +440 -0
- data/resources/mruby/include/mruby/throw.h +55 -0
- data/resources/mruby/include/mruby/value.h +309 -0
- data/resources/mruby/include/mruby/variable.h +138 -0
- data/resources/mruby/include/mruby/version.h +110 -0
- data/resources/mruby/lib/mruby-core-ext.rb +79 -0
- data/resources/mruby/lib/mruby/build.rb +355 -0
- data/resources/mruby/lib/mruby/build/command.rb +324 -0
- data/resources/mruby/lib/mruby/build/load_gems.rb +122 -0
- data/resources/mruby/lib/mruby/gem.rb +459 -0
- data/resources/mruby/lib/mruby/source.rb +30 -0
- data/resources/mruby/minirake +484 -0
- data/resources/mruby/mrbgems/default.gembox +82 -0
- data/resources/mruby/mrbgems/full-core.gembox +9 -0
- data/resources/mruby/mrbgems/mruby-array-ext/mrbgem.rake +6 -0
- data/resources/mruby/mrbgems/mruby-array-ext/mrblib/array.rb +935 -0
- data/resources/mruby/mrbgems/mruby-array-ext/src/array.c +246 -0
- data/resources/mruby/mrbgems/mruby-array-ext/test/array.rb +422 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/bintest/mrdb.rb +286 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/bintest/print.rb +701 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/mrbgem.rake +9 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c +505 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.h +26 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c +240 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.h +14 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.c +78 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.h +13 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c +436 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c +502 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdprint.c +58 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c +64 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c +759 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h +165 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h +16 -0
- data/resources/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdberror.h +20 -0
- data/resources/mruby/mrbgems/mruby-bin-mirb/bintest/mirb.rb +12 -0
- data/resources/mruby/mrbgems/mruby-bin-mirb/mrbgem.rake +33 -0
- data/resources/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +611 -0
- data/resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake +16 -0
- data/resources/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c +336 -0
- data/resources/mruby/mrbgems/mruby-bin-mruby-config/mrbgem.rake +30 -0
- data/resources/mruby/mrbgems/mruby-bin-mruby-config/mruby-config +20 -0
- data/resources/mruby/mrbgems/mruby-bin-mruby-config/mruby-config.bat +42 -0
- data/resources/mruby/mrbgems/mruby-bin-mruby/bintest/mruby.rb +60 -0
- data/resources/mruby/mrbgems/mruby-bin-mruby/mrbgem.rake +12 -0
- data/resources/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c +254 -0
- data/resources/mruby/mrbgems/mruby-bin-strip/bintest/mruby-strip.rb +73 -0
- data/resources/mruby/mrbgems/mruby-bin-strip/mrbgem.rake +6 -0
- data/resources/mruby/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c +155 -0
- data/resources/mruby/mrbgems/mruby-class-ext/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-class-ext/src/class.c +68 -0
- data/resources/mruby/mrbgems/mruby-class-ext/test/module.rb +55 -0
- data/resources/mruby/mrbgems/mruby-compar-ext/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-compar-ext/mrblib/compar.rb +31 -0
- data/resources/mruby/mrbgems/mruby-compiler/bintest/mrbc.rb +30 -0
- data/resources/mruby/mrbgems/mruby-compiler/core/codegen.c +3083 -0
- data/resources/mruby/mrbgems/mruby-compiler/core/keywords +50 -0
- data/resources/mruby/mrbgems/mruby-compiler/core/lex.def +211 -0
- data/resources/mruby/mrbgems/mruby-compiler/core/node.h +118 -0
- data/resources/mruby/mrbgems/mruby-compiler/core/parse.y +6661 -0
- data/resources/mruby/mrbgems/mruby-compiler/mrbgem.rake +40 -0
- data/resources/mruby/mrbgems/mruby-enum-ext/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-enum-ext/mrblib/enum.rb +813 -0
- data/resources/mruby/mrbgems/mruby-enum-ext/test/enum.rb +185 -0
- data/resources/mruby/mrbgems/mruby-enum-lazy/mrbgem.rake +7 -0
- data/resources/mruby/mrbgems/mruby-enum-lazy/mrblib/lazy.rb +178 -0
- data/resources/mruby/mrbgems/mruby-enum-lazy/test/lazy.rb +53 -0
- data/resources/mruby/mrbgems/mruby-enumerator/mrbgem.rake +7 -0
- data/resources/mruby/mrbgems/mruby-enumerator/mrblib/enumerator.rb +645 -0
- data/resources/mruby/mrbgems/mruby-enumerator/test/enumerator.rb +546 -0
- data/resources/mruby/mrbgems/mruby-error/mrbgem.rake +10 -0
- data/resources/mruby/mrbgems/mruby-error/src/exception.c +100 -0
- data/resources/mruby/mrbgems/mruby-error/test/exception.c +59 -0
- data/resources/mruby/mrbgems/mruby-error/test/exception.rb +55 -0
- data/resources/mruby/mrbgems/mruby-eval/mrbgem.rake +7 -0
- data/resources/mruby/mrbgems/mruby-eval/src/eval.c +346 -0
- data/resources/mruby/mrbgems/mruby-eval/test/eval.rb +101 -0
- data/resources/mruby/mrbgems/mruby-exit/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-exit/src/mruby-exit.c +24 -0
- data/resources/mruby/mrbgems/mruby-fiber/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-fiber/src/fiber.c +420 -0
- data/resources/mruby/mrbgems/mruby-fiber/test/fiber.rb +208 -0
- data/resources/mruby/mrbgems/mruby-hash-ext/mrbgem.rake +8 -0
- data/resources/mruby/mrbgems/mruby-hash-ext/mrblib/hash.rb +502 -0
- data/resources/mruby/mrbgems/mruby-hash-ext/src/hash-ext.c +128 -0
- data/resources/mruby/mrbgems/mruby-hash-ext/test/hash.rb +300 -0
- data/resources/mruby/mrbgems/mruby-inline-struct/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-inline-struct/test/inline.c +83 -0
- data/resources/mruby/mrbgems/mruby-inline-struct/test/inline.rb +151 -0
- data/resources/mruby/mrbgems/mruby-io/README.md +193 -0
- data/resources/mruby/mrbgems/mruby-io/include/mruby/ext/io.h +38 -0
- data/resources/mruby/mrbgems/mruby-io/mrbgem.rake +17 -0
- data/resources/mruby/mrbgems/mruby-io/mrblib/file.rb +208 -0
- data/resources/mruby/mrbgems/mruby-io/mrblib/file_constants.rb +29 -0
- data/resources/mruby/mrbgems/mruby-io/mrblib/io.rb +387 -0
- data/resources/mruby/mrbgems/mruby-io/mrblib/kernel.rb +15 -0
- data/resources/mruby/mrbgems/mruby-io/run_test.rb +26 -0
- data/resources/mruby/mrbgems/mruby-io/src/file.c +489 -0
- data/resources/mruby/mrbgems/mruby-io/src/file_test.c +381 -0
- data/resources/mruby/mrbgems/mruby-io/src/io.c +1320 -0
- data/resources/mruby/mrbgems/mruby-io/src/mruby_io_gem.c +20 -0
- data/resources/mruby/mrbgems/mruby-io/test/file.rb +197 -0
- data/resources/mruby/mrbgems/mruby-io/test/file_test.rb +117 -0
- data/resources/mruby/mrbgems/mruby-io/test/gc_filedes.sh +4 -0
- data/resources/mruby/mrbgems/mruby-io/test/io.rb +642 -0
- data/resources/mruby/mrbgems/mruby-io/test/mruby_io_test.c +256 -0
- data/resources/mruby/mrbgems/mruby-kernel-ext/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-kernel-ext/mrblib/kernel.rb +13 -0
- data/resources/mruby/mrbgems/mruby-kernel-ext/src/kernel.c +264 -0
- data/resources/mruby/mrbgems/mruby-kernel-ext/test/kernel.rb +86 -0
- data/resources/mruby/mrbgems/mruby-math/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-math/src/math.c +783 -0
- data/resources/mruby/mrbgems/mruby-math/test/math.rb +152 -0
- data/resources/mruby/mrbgems/mruby-method/README.md +59 -0
- data/resources/mruby/mrbgems/mruby-method/mrbgem.rake +7 -0
- data/resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb +9 -0
- data/resources/mruby/mrbgems/mruby-method/mrblib/method.rb +20 -0
- data/resources/mruby/mrbgems/mruby-method/mrblib/unbound_method.rb +9 -0
- data/resources/mruby/mrbgems/mruby-method/src/method.c +418 -0
- data/resources/mruby/mrbgems/mruby-method/test/method.rb +425 -0
- data/resources/mruby/mrbgems/mruby-numeric-ext/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb +25 -0
- data/resources/mruby/mrbgems/mruby-numeric-ext/src/numeric_ext.c +102 -0
- data/resources/mruby/mrbgems/mruby-numeric-ext/test/numeric.rb +28 -0
- data/resources/mruby/mrbgems/mruby-object-ext/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-object-ext/mrblib/object.rb +19 -0
- data/resources/mruby/mrbgems/mruby-object-ext/src/object.c +112 -0
- data/resources/mruby/mrbgems/mruby-object-ext/test/nil.rb +11 -0
- data/resources/mruby/mrbgems/mruby-object-ext/test/object.rb +53 -0
- data/resources/mruby/mrbgems/mruby-objectspace/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-objectspace/src/mruby_objectspace.c +187 -0
- data/resources/mruby/mrbgems/mruby-objectspace/test/objectspace.rb +60 -0
- data/resources/mruby/mrbgems/mruby-pack/README.md +70 -0
- data/resources/mruby/mrbgems/mruby-pack/mrbgem.rake +7 -0
- data/resources/mruby/mrbgems/mruby-pack/packtest.rb +157 -0
- data/resources/mruby/mrbgems/mruby-pack/run_test.rb +26 -0
- data/resources/mruby/mrbgems/mruby-pack/src/pack.c +1281 -0
- data/resources/mruby/mrbgems/mruby-pack/test/pack.rb +165 -0
- data/resources/mruby/mrbgems/mruby-print/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-print/mrblib/print.rb +64 -0
- data/resources/mruby/mrbgems/mruby-print/src/print.c +64 -0
- data/resources/mruby/mrbgems/mruby-proc-ext/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-proc-ext/mrblib/proc.rb +42 -0
- data/resources/mruby/mrbgems/mruby-proc-ext/src/proc.c +173 -0
- data/resources/mruby/mrbgems/mruby-proc-ext/test/proc.c +62 -0
- data/resources/mruby/mrbgems/mruby-proc-ext/test/proc.rb +96 -0
- data/resources/mruby/mrbgems/mruby-random/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-random/src/mt19937ar.c +224 -0
- data/resources/mruby/mrbgems/mruby-random/src/mt19937ar.h +80 -0
- data/resources/mruby/mrbgems/mruby-random/src/random.c +349 -0
- data/resources/mruby/mrbgems/mruby-random/src/random.h +12 -0
- data/resources/mruby/mrbgems/mruby-random/test/random.rb +88 -0
- data/resources/mruby/mrbgems/mruby-range-ext/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-range-ext/mrblib/range.rb +31 -0
- data/resources/mruby/mrbgems/mruby-range-ext/src/range.c +176 -0
- data/resources/mruby/mrbgems/mruby-range-ext/test/range.rb +32 -0
- data/resources/mruby/mrbgems/mruby-socket/README.md +55 -0
- data/resources/mruby/mrbgems/mruby-socket/mrbgem.rake +17 -0
- data/resources/mruby/mrbgems/mruby-socket/mrblib/socket.rb +621 -0
- data/resources/mruby/mrbgems/mruby-socket/run_test.rb +28 -0
- data/resources/mruby/mrbgems/mruby-socket/src/const.cstub +453 -0
- data/resources/mruby/mrbgems/mruby-socket/src/const.def +163 -0
- data/resources/mruby/mrbgems/mruby-socket/src/gen.rb +17 -0
- data/resources/mruby/mrbgems/mruby-socket/src/socket.c +928 -0
- data/resources/mruby/mrbgems/mruby-socket/test/addrinfo.rb +91 -0
- data/resources/mruby/mrbgems/mruby-socket/test/basicsocket.rb +17 -0
- data/resources/mruby/mrbgems/mruby-socket/test/ipsocket.rb +44 -0
- data/resources/mruby/mrbgems/mruby-socket/test/socket.rb +38 -0
- data/resources/mruby/mrbgems/mruby-socket/test/sockettest.c +46 -0
- data/resources/mruby/mrbgems/mruby-socket/test/tcpsocket.rb +4 -0
- data/resources/mruby/mrbgems/mruby-socket/test/udpsocket.rb +16 -0
- data/resources/mruby/mrbgems/mruby-socket/test/unix.rb +130 -0
- data/resources/mruby/mrbgems/mruby-sprintf/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-sprintf/mrblib/string.rb +9 -0
- data/resources/mruby/mrbgems/mruby-sprintf/src/kernel.c +30 -0
- data/resources/mruby/mrbgems/mruby-sprintf/src/sprintf.c +1126 -0
- data/resources/mruby/mrbgems/mruby-sprintf/test/sprintf.rb +110 -0
- data/resources/mruby/mrbgems/mruby-string-ext/mrbgem.rake +6 -0
- data/resources/mruby/mrbgems/mruby-string-ext/mrblib/string.rb +368 -0
- data/resources/mruby/mrbgems/mruby-string-ext/src/string.c +804 -0
- data/resources/mruby/mrbgems/mruby-string-ext/test/string.rb +682 -0
- data/resources/mruby/mrbgems/mruby-struct/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-struct/mrblib/struct.rb +103 -0
- data/resources/mruby/mrbgems/mruby-struct/src/struct.c +726 -0
- data/resources/mruby/mrbgems/mruby-struct/test/struct.rb +205 -0
- data/resources/mruby/mrbgems/mruby-symbol-ext/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-symbol-ext/mrblib/symbol.rb +78 -0
- data/resources/mruby/mrbgems/mruby-symbol-ext/src/symbol.c +64 -0
- data/resources/mruby/mrbgems/mruby-symbol-ext/test/symbol.rb +48 -0
- data/resources/mruby/mrbgems/mruby-test/README.md +7 -0
- data/resources/mruby/mrbgems/mruby-test/driver.c +175 -0
- data/resources/mruby/mrbgems/mruby-test/init_mrbtest.c +38 -0
- data/resources/mruby/mrbgems/mruby-test/mrbgem.rake +191 -0
- data/resources/mruby/mrbgems/mruby-time/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-time/mrblib/time.rb +9 -0
- data/resources/mruby/mrbgems/mruby-time/src/time.c +869 -0
- data/resources/mruby/mrbgems/mruby-time/test/time.rb +228 -0
- data/resources/mruby/mrbgems/mruby-toplevel-ext/mrbgem.rake +5 -0
- data/resources/mruby/mrbgems/mruby-toplevel-ext/mrblib/toplevel.rb +11 -0
- data/resources/mruby/mrbgems/mruby-toplevel-ext/test/toplevel.rb +24 -0
- data/resources/mruby/mrblib/00class.rb +29 -0
- data/resources/mruby/mrblib/10error.rb +59 -0
- data/resources/mruby/mrblib/array.rb +243 -0
- data/resources/mruby/mrblib/compar.rb +84 -0
- data/resources/mruby/mrblib/enum.rb +348 -0
- data/resources/mruby/mrblib/float.rb +9 -0
- data/resources/mruby/mrblib/hash.rb +358 -0
- data/resources/mruby/mrblib/init_mrblib.c +11 -0
- data/resources/mruby/mrblib/kernel.rb +50 -0
- data/resources/mruby/mrblib/mrblib.rake +21 -0
- data/resources/mruby/mrblib/numeric.rb +163 -0
- data/resources/mruby/mrblib/range.rb +67 -0
- data/resources/mruby/mrblib/string.rb +275 -0
- data/resources/mruby/mruby-source.gemspec +18 -0
- data/resources/mruby/src/array.c +1251 -0
- data/resources/mruby/src/backtrace.c +285 -0
- data/resources/mruby/src/class.c +2546 -0
- data/resources/mruby/src/codedump.c +477 -0
- data/resources/mruby/src/compar.c +13 -0
- data/resources/mruby/src/crc.c +39 -0
- data/resources/mruby/src/debug.c +217 -0
- data/resources/mruby/src/dump.c +1106 -0
- data/resources/mruby/src/enum.c +14 -0
- data/resources/mruby/src/error.c +513 -0
- data/resources/mruby/src/error.h +3 -0
- data/resources/mruby/src/etc.c +246 -0
- data/resources/mruby/src/fmt_fp.c +374 -0
- data/resources/mruby/src/gc.c +1835 -0
- data/resources/mruby/src/hash.c +916 -0
- data/resources/mruby/src/init.c +51 -0
- data/resources/mruby/src/kernel.c +1264 -0
- data/resources/mruby/src/load.c +706 -0
- data/resources/mruby/src/mruby_core.rake +20 -0
- data/resources/mruby/src/numeric.c +1574 -0
- data/resources/mruby/src/object.c +618 -0
- data/resources/mruby/src/opcode.h +2 -0
- data/resources/mruby/src/pool.c +209 -0
- data/resources/mruby/src/print.c +47 -0
- data/resources/mruby/src/proc.c +313 -0
- data/resources/mruby/src/range.c +446 -0
- data/resources/mruby/src/state.c +307 -0
- data/resources/mruby/src/string.c +3025 -0
- data/resources/mruby/src/symbol.c +494 -0
- data/resources/mruby/src/value_array.h +27 -0
- data/resources/mruby/src/variable.c +982 -0
- data/resources/mruby/src/version.c +17 -0
- data/resources/mruby/src/vm.c +3020 -0
- data/resources/mruby/tasks/benchmark.rake +91 -0
- data/resources/mruby/tasks/gitlab.rake +118 -0
- data/resources/mruby/tasks/libmruby.rake +24 -0
- data/resources/mruby/tasks/mrbgems.rake +98 -0
- data/resources/mruby/tasks/toolchains/android.rake +321 -0
- data/resources/mruby/tasks/toolchains/clang.rake +9 -0
- data/resources/mruby/tasks/toolchains/gcc.rake +66 -0
- data/resources/mruby/tasks/toolchains/openwrt.rake +38 -0
- data/resources/mruby/tasks/toolchains/visualcpp.rake +68 -0
- data/resources/mruby/test/assert.rb +249 -0
- data/resources/mruby/test/bintest.rb +33 -0
- data/resources/mruby/test/report.rb +4 -0
- data/resources/mruby/test/t/argumenterror.rb +16 -0
- data/resources/mruby/test/t/array.rb +394 -0
- data/resources/mruby/test/t/basicobject.rb +11 -0
- data/resources/mruby/test/t/bs_block.rb +521 -0
- data/resources/mruby/test/t/bs_literal.rb +38 -0
- data/resources/mruby/test/t/class.rb +451 -0
- data/resources/mruby/test/t/codegen.rb +197 -0
- data/resources/mruby/test/t/comparable.rb +80 -0
- data/resources/mruby/test/t/ensure.rb +54 -0
- data/resources/mruby/test/t/enumerable.rb +134 -0
- data/resources/mruby/test/t/exception.rb +422 -0
- data/resources/mruby/test/t/false.rb +31 -0
- data/resources/mruby/test/t/float.rb +209 -0
- data/resources/mruby/test/t/gc.rb +45 -0
- data/resources/mruby/test/t/hash.rb +375 -0
- data/resources/mruby/test/t/indexerror.rb +6 -0
- data/resources/mruby/test/t/integer.rb +277 -0
- data/resources/mruby/test/t/iterations.rb +61 -0
- data/resources/mruby/test/t/kernel.rb +600 -0
- data/resources/mruby/test/t/lang.rb +74 -0
- data/resources/mruby/test/t/literals.rb +337 -0
- data/resources/mruby/test/t/localjumperror.rb +13 -0
- data/resources/mruby/test/t/methods.rb +109 -0
- data/resources/mruby/test/t/module.rb +914 -0
- data/resources/mruby/test/t/nameerror.rb +28 -0
- data/resources/mruby/test/t/nil.rb +39 -0
- data/resources/mruby/test/t/nomethoderror.rb +22 -0
- data/resources/mruby/test/t/numeric.rb +43 -0
- data/resources/mruby/test/t/object.rb +11 -0
- data/resources/mruby/test/t/proc.rb +180 -0
- data/resources/mruby/test/t/range.rb +95 -0
- data/resources/mruby/test/t/rangeerror.rb +6 -0
- data/resources/mruby/test/t/regexperror.rb +4 -0
- data/resources/mruby/test/t/runtimeerror.rb +6 -0
- data/resources/mruby/test/t/standarderror.rb +6 -0
- data/resources/mruby/test/t/string.rb +728 -0
- data/resources/mruby/test/t/superclass.rb +47 -0
- data/resources/mruby/test/t/symbol.rb +30 -0
- data/resources/mruby/test/t/syntax.rb +468 -0
- data/resources/mruby/test/t/true.rb +31 -0
- data/resources/mruby/test/t/typeerror.rb +6 -0
- data/resources/mruby/test/t/unicode.rb +39 -0
- data/resources/mruby/travis_config.rb +53 -0
- metadata +806 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
.TH PCREUNICODE 3 "11 November 2012" "PCRE 8.32"
|
|
2
|
+
.SH NAME
|
|
3
|
+
PCRE - Perl-compatible regular expressions
|
|
4
|
+
.SH "UTF-8, UTF-16, UTF-32, AND UNICODE PROPERTY SUPPORT"
|
|
5
|
+
.rs
|
|
6
|
+
.sp
|
|
7
|
+
As well as UTF-8 support, PCRE also supports UTF-16 (from release 8.30) and
|
|
8
|
+
UTF-32 (from release 8.32), by means of two additional libraries. They can be
|
|
9
|
+
built as well as, or instead of, the 8-bit library.
|
|
10
|
+
.
|
|
11
|
+
.
|
|
12
|
+
.SH "UTF-8 SUPPORT"
|
|
13
|
+
.rs
|
|
14
|
+
.sp
|
|
15
|
+
In order process UTF-8 strings, you must build PCRE's 8-bit library with UTF
|
|
16
|
+
support, and, in addition, you must call
|
|
17
|
+
.\" HREF
|
|
18
|
+
\fBpcre_compile()\fP
|
|
19
|
+
.\"
|
|
20
|
+
with the PCRE_UTF8 option flag, or the pattern must start with the sequence
|
|
21
|
+
(*UTF8) or (*UTF). When either of these is the case, both the pattern and any
|
|
22
|
+
subject strings that are matched against it are treated as UTF-8 strings
|
|
23
|
+
instead of strings of individual 1-byte characters.
|
|
24
|
+
.
|
|
25
|
+
.
|
|
26
|
+
.SH "UTF-16 AND UTF-32 SUPPORT"
|
|
27
|
+
.rs
|
|
28
|
+
.sp
|
|
29
|
+
In order process UTF-16 or UTF-32 strings, you must build PCRE's 16-bit or
|
|
30
|
+
32-bit library with UTF support, and, in addition, you must call
|
|
31
|
+
.\" HREF
|
|
32
|
+
\fBpcre16_compile()\fP
|
|
33
|
+
.\"
|
|
34
|
+
or
|
|
35
|
+
.\" HREF
|
|
36
|
+
\fBpcre32_compile()\fP
|
|
37
|
+
.\"
|
|
38
|
+
with the PCRE_UTF16 or PCRE_UTF32 option flag, as appropriate. Alternatively,
|
|
39
|
+
the pattern must start with the sequence (*UTF16), (*UTF32), as appropriate, or
|
|
40
|
+
(*UTF), which can be used with either library. When UTF mode is set, both the
|
|
41
|
+
pattern and any subject strings that are matched against it are treated as
|
|
42
|
+
UTF-16 or UTF-32 strings instead of strings of individual 16-bit or 32-bit
|
|
43
|
+
characters.
|
|
44
|
+
.
|
|
45
|
+
.
|
|
46
|
+
.SH "UTF SUPPORT OVERHEAD"
|
|
47
|
+
.rs
|
|
48
|
+
.sp
|
|
49
|
+
If you compile PCRE with UTF support, but do not use it at run time, the
|
|
50
|
+
library will be a bit bigger, but the additional run time overhead is limited
|
|
51
|
+
to testing the PCRE_UTF[8|16|32] flag occasionally, so should not be very big.
|
|
52
|
+
.
|
|
53
|
+
.
|
|
54
|
+
.SH "UNICODE PROPERTY SUPPORT"
|
|
55
|
+
.rs
|
|
56
|
+
.sp
|
|
57
|
+
If PCRE is built with Unicode character property support (which implies UTF
|
|
58
|
+
support), the escape sequences \ep{..}, \eP{..}, and \eX can be used.
|
|
59
|
+
The available properties that can be tested are limited to the general
|
|
60
|
+
category properties such as Lu for an upper case letter or Nd for a decimal
|
|
61
|
+
number, the Unicode script names such as Arabic or Han, and the derived
|
|
62
|
+
properties Any and L&. Full lists is given in the
|
|
63
|
+
.\" HREF
|
|
64
|
+
\fBpcrepattern\fP
|
|
65
|
+
.\"
|
|
66
|
+
and
|
|
67
|
+
.\" HREF
|
|
68
|
+
\fBpcresyntax\fP
|
|
69
|
+
.\"
|
|
70
|
+
documentation. Only the short names for properties are supported. For example,
|
|
71
|
+
\ep{L} matches a letter. Its Perl synonym, \ep{Letter}, is not supported.
|
|
72
|
+
Furthermore, in Perl, many properties may optionally be prefixed by "Is", for
|
|
73
|
+
compatibility with Perl 5.6. PCRE does not support this.
|
|
74
|
+
.
|
|
75
|
+
.
|
|
76
|
+
.\" HTML <a name="utf8strings"></a>
|
|
77
|
+
.SS "Validity of UTF-8 strings"
|
|
78
|
+
.rs
|
|
79
|
+
.sp
|
|
80
|
+
When you set the PCRE_UTF8 flag, the byte strings passed as patterns and
|
|
81
|
+
subjects are (by default) checked for validity on entry to the relevant
|
|
82
|
+
functions. The entire string is checked before any other processing takes
|
|
83
|
+
place. From release 7.3 of PCRE, the check is according the rules of RFC 3629,
|
|
84
|
+
which are themselves derived from the Unicode specification. Earlier releases
|
|
85
|
+
of PCRE followed the rules of RFC 2279, which allows the full range of 31-bit
|
|
86
|
+
values (0 to 0x7FFFFFFF). The current check allows only values in the range U+0
|
|
87
|
+
to U+10FFFF, excluding the surrogate area and the non-characters.
|
|
88
|
+
.P
|
|
89
|
+
Characters in the "Surrogate Area" of Unicode are reserved for use by UTF-16,
|
|
90
|
+
where they are used in pairs to encode codepoints with values greater than
|
|
91
|
+
0xFFFF. The code points that are encoded by UTF-16 pairs are available
|
|
92
|
+
independently in the UTF-8 and UTF-32 encodings. (In other words, the whole
|
|
93
|
+
surrogate thing is a fudge for UTF-16 which unfortunately messes up UTF-8 and
|
|
94
|
+
UTF-32.)
|
|
95
|
+
.P
|
|
96
|
+
Also excluded are the "Non-Character" code points, which are U+FDD0 to U+FDEF
|
|
97
|
+
and the last two code points in each plane, U+??FFFE and U+??FFFF.
|
|
98
|
+
.P
|
|
99
|
+
If an invalid UTF-8 string is passed to PCRE, an error return is given. At
|
|
100
|
+
compile time, the only additional information is the offset to the first byte
|
|
101
|
+
of the failing character. The run-time functions \fBpcre_exec()\fP and
|
|
102
|
+
\fBpcre_dfa_exec()\fP also pass back this information, as well as a more
|
|
103
|
+
detailed reason code if the caller has provided memory in which to do this.
|
|
104
|
+
.P
|
|
105
|
+
In some situations, you may already know that your strings are valid, and
|
|
106
|
+
therefore want to skip these checks in order to improve performance, for
|
|
107
|
+
example in the case of a long subject string that is being scanned repeatedly.
|
|
108
|
+
If you set the PCRE_NO_UTF8_CHECK flag at compile time or at run time, PCRE
|
|
109
|
+
assumes that the pattern or subject it is given (respectively) contains only
|
|
110
|
+
valid UTF-8 codes. In this case, it does not diagnose an invalid UTF-8 string.
|
|
111
|
+
.P
|
|
112
|
+
Note that passing PCRE_NO_UTF8_CHECK to \fBpcre_compile()\fP just disables the
|
|
113
|
+
check for the pattern; it does not also apply to subject strings. If you want
|
|
114
|
+
to disable the check for a subject string you must pass this option to
|
|
115
|
+
\fBpcre_exec()\fP or \fBpcre_dfa_exec()\fP.
|
|
116
|
+
.P
|
|
117
|
+
If you pass an invalid UTF-8 string when PCRE_NO_UTF8_CHECK is set, the result
|
|
118
|
+
is undefined and your program may crash.
|
|
119
|
+
.
|
|
120
|
+
.
|
|
121
|
+
.\" HTML <a name="utf16strings"></a>
|
|
122
|
+
.SS "Validity of UTF-16 strings"
|
|
123
|
+
.rs
|
|
124
|
+
.sp
|
|
125
|
+
When you set the PCRE_UTF16 flag, the strings of 16-bit data units that are
|
|
126
|
+
passed as patterns and subjects are (by default) checked for validity on entry
|
|
127
|
+
to the relevant functions. Values other than those in the surrogate range
|
|
128
|
+
U+D800 to U+DFFF are independent code points. Values in the surrogate range
|
|
129
|
+
must be used in pairs in the correct manner.
|
|
130
|
+
.P
|
|
131
|
+
Excluded are the "Non-Character" code points, which are U+FDD0 to U+FDEF
|
|
132
|
+
and the last two code points in each plane, U+??FFFE and U+??FFFF.
|
|
133
|
+
.P
|
|
134
|
+
If an invalid UTF-16 string is passed to PCRE, an error return is given. At
|
|
135
|
+
compile time, the only additional information is the offset to the first data
|
|
136
|
+
unit of the failing character. The run-time functions \fBpcre16_exec()\fP and
|
|
137
|
+
\fBpcre16_dfa_exec()\fP also pass back this information, as well as a more
|
|
138
|
+
detailed reason code if the caller has provided memory in which to do this.
|
|
139
|
+
.P
|
|
140
|
+
In some situations, you may already know that your strings are valid, and
|
|
141
|
+
therefore want to skip these checks in order to improve performance. If you set
|
|
142
|
+
the PCRE_NO_UTF16_CHECK flag at compile time or at run time, PCRE assumes that
|
|
143
|
+
the pattern or subject it is given (respectively) contains only valid UTF-16
|
|
144
|
+
sequences. In this case, it does not diagnose an invalid UTF-16 string.
|
|
145
|
+
However, if an invalid string is passed, the result is undefined.
|
|
146
|
+
.
|
|
147
|
+
.
|
|
148
|
+
.\" HTML <a name="utf32strings"></a>
|
|
149
|
+
.SS "Validity of UTF-32 strings"
|
|
150
|
+
.rs
|
|
151
|
+
.sp
|
|
152
|
+
When you set the PCRE_UTF32 flag, the strings of 32-bit data units that are
|
|
153
|
+
passed as patterns and subjects are (by default) checked for validity on entry
|
|
154
|
+
to the relevant functions. This check allows only values in the range U+0
|
|
155
|
+
to U+10FFFF, excluding the surrogate area U+D800 to U+DFFF, and the
|
|
156
|
+
"Non-Character" code points, which are U+FDD0 to U+FDEF and the last two
|
|
157
|
+
characters in each plane, U+??FFFE and U+??FFFF.
|
|
158
|
+
.P
|
|
159
|
+
If an invalid UTF-32 string is passed to PCRE, an error return is given. At
|
|
160
|
+
compile time, the only additional information is the offset to the first data
|
|
161
|
+
unit of the failing character. The run-time functions \fBpcre32_exec()\fP and
|
|
162
|
+
\fBpcre32_dfa_exec()\fP also pass back this information, as well as a more
|
|
163
|
+
detailed reason code if the caller has provided memory in which to do this.
|
|
164
|
+
.P
|
|
165
|
+
In some situations, you may already know that your strings are valid, and
|
|
166
|
+
therefore want to skip these checks in order to improve performance. If you set
|
|
167
|
+
the PCRE_NO_UTF32_CHECK flag at compile time or at run time, PCRE assumes that
|
|
168
|
+
the pattern or subject it is given (respectively) contains only valid UTF-32
|
|
169
|
+
sequences. In this case, it does not diagnose an invalid UTF-32 string.
|
|
170
|
+
However, if an invalid string is passed, the result is undefined.
|
|
171
|
+
.
|
|
172
|
+
.
|
|
173
|
+
.SS "General comments about UTF modes"
|
|
174
|
+
.rs
|
|
175
|
+
.sp
|
|
176
|
+
1. Codepoints less than 256 can be specified in patterns by either braced or
|
|
177
|
+
unbraced hexadecimal escape sequences (for example, \ex{b3} or \exb3). Larger
|
|
178
|
+
values have to use braced sequences.
|
|
179
|
+
.P
|
|
180
|
+
2. Octal numbers up to \e777 are recognized, and in UTF-8 mode they match
|
|
181
|
+
two-byte characters for values greater than \e177.
|
|
182
|
+
.P
|
|
183
|
+
3. Repeat quantifiers apply to complete UTF characters, not to individual
|
|
184
|
+
data units, for example: \ex{100}{3}.
|
|
185
|
+
.P
|
|
186
|
+
4. The dot metacharacter matches one UTF character instead of a single data
|
|
187
|
+
unit.
|
|
188
|
+
.P
|
|
189
|
+
5. The escape sequence \eC can be used to match a single byte in UTF-8 mode, or
|
|
190
|
+
a single 16-bit data unit in UTF-16 mode, or a single 32-bit data unit in
|
|
191
|
+
UTF-32 mode, but its use can lead to some strange effects because it breaks up
|
|
192
|
+
multi-unit characters (see the description of \eC in the
|
|
193
|
+
.\" HREF
|
|
194
|
+
\fBpcrepattern\fP
|
|
195
|
+
.\"
|
|
196
|
+
documentation). The use of \eC is not supported in the alternative matching
|
|
197
|
+
function \fBpcre[16|32]_dfa_exec()\fP, nor is it supported in UTF mode by the
|
|
198
|
+
JIT optimization of \fBpcre[16|32]_exec()\fP. If JIT optimization is requested
|
|
199
|
+
for a UTF pattern that contains \eC, it will not succeed, and so the matching
|
|
200
|
+
will be carried out by the normal interpretive function.
|
|
201
|
+
.P
|
|
202
|
+
6. The character escapes \eb, \eB, \ed, \eD, \es, \eS, \ew, and \eW correctly
|
|
203
|
+
test characters of any code value, but, by default, the characters that PCRE
|
|
204
|
+
recognizes as digits, spaces, or word characters remain the same set as in
|
|
205
|
+
non-UTF mode, all with values less than 256. This remains true even when PCRE
|
|
206
|
+
is built to include Unicode property support, because to do otherwise would
|
|
207
|
+
slow down PCRE in many common cases. Note in particular that this applies to
|
|
208
|
+
\eb and \eB, because they are defined in terms of \ew and \eW. If you really
|
|
209
|
+
want to test for a wider sense of, say, "digit", you can use explicit Unicode
|
|
210
|
+
property tests such as \ep{Nd}. Alternatively, if you set the PCRE_UCP option,
|
|
211
|
+
the way that the character escapes work is changed so that Unicode properties
|
|
212
|
+
are used to determine which characters match. There are more details in the
|
|
213
|
+
section on
|
|
214
|
+
.\" HTML <a href="pcrepattern.html#genericchartypes">
|
|
215
|
+
.\" </a>
|
|
216
|
+
generic character types
|
|
217
|
+
.\"
|
|
218
|
+
in the
|
|
219
|
+
.\" HREF
|
|
220
|
+
\fBpcrepattern\fP
|
|
221
|
+
.\"
|
|
222
|
+
documentation.
|
|
223
|
+
.P
|
|
224
|
+
7. Similarly, characters that match the POSIX named character classes are all
|
|
225
|
+
low-valued characters, unless the PCRE_UCP option is set.
|
|
226
|
+
.P
|
|
227
|
+
8. However, the horizontal and vertical white space matching escapes (\eh, \eH,
|
|
228
|
+
\ev, and \eV) do match all the appropriate Unicode characters, whether or not
|
|
229
|
+
PCRE_UCP is set.
|
|
230
|
+
.P
|
|
231
|
+
9. Case-insensitive matching applies only to characters whose values are less
|
|
232
|
+
than 128, unless PCRE is built with Unicode property support. A few Unicode
|
|
233
|
+
characters such as Greek sigma have more than two codepoints that are
|
|
234
|
+
case-equivalent. Up to and including PCRE release 8.31, only one-to-one case
|
|
235
|
+
mappings were supported, but later releases (with Unicode property support) do
|
|
236
|
+
treat as case-equivalent all versions of characters such as Greek sigma.
|
|
237
|
+
.
|
|
238
|
+
.
|
|
239
|
+
.SH AUTHOR
|
|
240
|
+
.rs
|
|
241
|
+
.sp
|
|
242
|
+
.nf
|
|
243
|
+
Philip Hazel
|
|
244
|
+
University Computing Service
|
|
245
|
+
Cambridge CB2 3QH, England.
|
|
246
|
+
.fi
|
|
247
|
+
.
|
|
248
|
+
.
|
|
249
|
+
.SH REVISION
|
|
250
|
+
.rs
|
|
251
|
+
.sp
|
|
252
|
+
.nf
|
|
253
|
+
Last updated: 11 November 2012
|
|
254
|
+
Copyright (c) 1997-2012 University of Cambridge.
|
|
255
|
+
.fi
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
The perltest program
|
|
2
|
+
--------------------
|
|
3
|
+
|
|
4
|
+
The perltest.pl script tests Perl's regular expressions; it has the same
|
|
5
|
+
specification as pcretest, and so can be given identical input, except that
|
|
6
|
+
input patterns can be followed only by Perl's lower case modifiers and certain
|
|
7
|
+
other pcretest modifiers that are either handled or ignored:
|
|
8
|
+
|
|
9
|
+
/+ recognized and handled by perltest
|
|
10
|
+
/++ the second + is ignored
|
|
11
|
+
/8 recognized and handled by perltest
|
|
12
|
+
/J ignored
|
|
13
|
+
/K ignored
|
|
14
|
+
/W ignored
|
|
15
|
+
/S ignored
|
|
16
|
+
/SS ignored
|
|
17
|
+
/Y ignored
|
|
18
|
+
|
|
19
|
+
The pcretest \Y escape in data lines is removed before matching. The data lines
|
|
20
|
+
are processed as Perl double-quoted strings, so if they contain " $ or @
|
|
21
|
+
characters, these have to be escaped. For this reason, all such characters in
|
|
22
|
+
the Perl-compatible testinput1 file are escaped so that they can be used for
|
|
23
|
+
perltest as well as for pcretest. The special upper case pattern modifiers such
|
|
24
|
+
as /A that pcretest recognizes, and its special data line escapes, are not used
|
|
25
|
+
in the Perl-compatible test file. The output should be identical, apart from
|
|
26
|
+
the initial identifying banner.
|
|
27
|
+
|
|
28
|
+
The perltest.pl script can also test UTF-8 features. It recognizes the special
|
|
29
|
+
modifier /8 that pcretest uses to invoke UTF-8 functionality. The testinput4
|
|
30
|
+
and testinput6 files can be fed to perltest to run compatible UTF-8 tests.
|
|
31
|
+
However, it is necessary to add "use utf8; require Encode" to the script to
|
|
32
|
+
make this work correctly. I have not managed to find a way to handle this
|
|
33
|
+
automatically.
|
|
34
|
+
|
|
35
|
+
The other testinput files are not suitable for feeding to perltest.pl, since
|
|
36
|
+
they make use of the special upper case modifiers and escapes that pcretest
|
|
37
|
+
uses to test certain features of PCRE. Some of these files also contain
|
|
38
|
+
malformed regular expressions, in order to check that PCRE diagnoses them
|
|
39
|
+
correctly.
|
|
40
|
+
|
|
41
|
+
Philip Hazel
|
|
42
|
+
January 2012
|
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# install - install a program, script, or datafile
|
|
3
|
+
|
|
4
|
+
scriptversion=2011-01-19.21; # UTC
|
|
5
|
+
|
|
6
|
+
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
|
7
|
+
# later released in X11R6 (xc/config/util/install.sh) with the
|
|
8
|
+
# following copyright and license.
|
|
9
|
+
#
|
|
10
|
+
# Copyright (C) 1994 X Consortium
|
|
11
|
+
#
|
|
12
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
# of this software and associated documentation files (the "Software"), to
|
|
14
|
+
# deal in the Software without restriction, including without limitation the
|
|
15
|
+
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
16
|
+
# sell copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
# furnished to do so, subject to the following conditions:
|
|
18
|
+
#
|
|
19
|
+
# The above copyright notice and this permission notice shall be included in
|
|
20
|
+
# all copies or substantial portions of the Software.
|
|
21
|
+
#
|
|
22
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
26
|
+
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
|
27
|
+
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
28
|
+
#
|
|
29
|
+
# Except as contained in this notice, the name of the X Consortium shall not
|
|
30
|
+
# be used in advertising or otherwise to promote the sale, use or other deal-
|
|
31
|
+
# ings in this Software without prior written authorization from the X Consor-
|
|
32
|
+
# tium.
|
|
33
|
+
#
|
|
34
|
+
#
|
|
35
|
+
# FSF changes to this file are in the public domain.
|
|
36
|
+
#
|
|
37
|
+
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
38
|
+
# `make' implicit rules from creating a file called install from it
|
|
39
|
+
# when there is no Makefile.
|
|
40
|
+
#
|
|
41
|
+
# This script is compatible with the BSD install script, but was written
|
|
42
|
+
# from scratch.
|
|
43
|
+
|
|
44
|
+
nl='
|
|
45
|
+
'
|
|
46
|
+
IFS=" "" $nl"
|
|
47
|
+
|
|
48
|
+
# set DOITPROG to echo to test this script
|
|
49
|
+
|
|
50
|
+
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
51
|
+
doit=${DOITPROG-}
|
|
52
|
+
if test -z "$doit"; then
|
|
53
|
+
doit_exec=exec
|
|
54
|
+
else
|
|
55
|
+
doit_exec=$doit
|
|
56
|
+
fi
|
|
57
|
+
|
|
58
|
+
# Put in absolute file names if you don't have them in your path;
|
|
59
|
+
# or use environment vars.
|
|
60
|
+
|
|
61
|
+
chgrpprog=${CHGRPPROG-chgrp}
|
|
62
|
+
chmodprog=${CHMODPROG-chmod}
|
|
63
|
+
chownprog=${CHOWNPROG-chown}
|
|
64
|
+
cmpprog=${CMPPROG-cmp}
|
|
65
|
+
cpprog=${CPPROG-cp}
|
|
66
|
+
mkdirprog=${MKDIRPROG-mkdir}
|
|
67
|
+
mvprog=${MVPROG-mv}
|
|
68
|
+
rmprog=${RMPROG-rm}
|
|
69
|
+
stripprog=${STRIPPROG-strip}
|
|
70
|
+
|
|
71
|
+
posix_glob='?'
|
|
72
|
+
initialize_posix_glob='
|
|
73
|
+
test "$posix_glob" != "?" || {
|
|
74
|
+
if (set -f) 2>/dev/null; then
|
|
75
|
+
posix_glob=
|
|
76
|
+
else
|
|
77
|
+
posix_glob=:
|
|
78
|
+
fi
|
|
79
|
+
}
|
|
80
|
+
'
|
|
81
|
+
|
|
82
|
+
posix_mkdir=
|
|
83
|
+
|
|
84
|
+
# Desired mode of installed file.
|
|
85
|
+
mode=0755
|
|
86
|
+
|
|
87
|
+
chgrpcmd=
|
|
88
|
+
chmodcmd=$chmodprog
|
|
89
|
+
chowncmd=
|
|
90
|
+
mvcmd=$mvprog
|
|
91
|
+
rmcmd="$rmprog -f"
|
|
92
|
+
stripcmd=
|
|
93
|
+
|
|
94
|
+
src=
|
|
95
|
+
dst=
|
|
96
|
+
dir_arg=
|
|
97
|
+
dst_arg=
|
|
98
|
+
|
|
99
|
+
copy_on_change=false
|
|
100
|
+
no_target_directory=
|
|
101
|
+
|
|
102
|
+
usage="\
|
|
103
|
+
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
|
104
|
+
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
|
105
|
+
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
|
106
|
+
or: $0 [OPTION]... -d DIRECTORIES...
|
|
107
|
+
|
|
108
|
+
In the 1st form, copy SRCFILE to DSTFILE.
|
|
109
|
+
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
110
|
+
In the 4th, create DIRECTORIES.
|
|
111
|
+
|
|
112
|
+
Options:
|
|
113
|
+
--help display this help and exit.
|
|
114
|
+
--version display version info and exit.
|
|
115
|
+
|
|
116
|
+
-c (ignored)
|
|
117
|
+
-C install only if different (preserve the last data modification time)
|
|
118
|
+
-d create directories instead of installing files.
|
|
119
|
+
-g GROUP $chgrpprog installed files to GROUP.
|
|
120
|
+
-m MODE $chmodprog installed files to MODE.
|
|
121
|
+
-o USER $chownprog installed files to USER.
|
|
122
|
+
-s $stripprog installed files.
|
|
123
|
+
-t DIRECTORY install into DIRECTORY.
|
|
124
|
+
-T report an error if DSTFILE is a directory.
|
|
125
|
+
|
|
126
|
+
Environment variables override the default commands:
|
|
127
|
+
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
|
128
|
+
RMPROG STRIPPROG
|
|
129
|
+
"
|
|
130
|
+
|
|
131
|
+
while test $# -ne 0; do
|
|
132
|
+
case $1 in
|
|
133
|
+
-c) ;;
|
|
134
|
+
|
|
135
|
+
-C) copy_on_change=true;;
|
|
136
|
+
|
|
137
|
+
-d) dir_arg=true;;
|
|
138
|
+
|
|
139
|
+
-g) chgrpcmd="$chgrpprog $2"
|
|
140
|
+
shift;;
|
|
141
|
+
|
|
142
|
+
--help) echo "$usage"; exit $?;;
|
|
143
|
+
|
|
144
|
+
-m) mode=$2
|
|
145
|
+
case $mode in
|
|
146
|
+
*' '* | *' '* | *'
|
|
147
|
+
'* | *'*'* | *'?'* | *'['*)
|
|
148
|
+
echo "$0: invalid mode: $mode" >&2
|
|
149
|
+
exit 1;;
|
|
150
|
+
esac
|
|
151
|
+
shift;;
|
|
152
|
+
|
|
153
|
+
-o) chowncmd="$chownprog $2"
|
|
154
|
+
shift;;
|
|
155
|
+
|
|
156
|
+
-s) stripcmd=$stripprog;;
|
|
157
|
+
|
|
158
|
+
-t) dst_arg=$2
|
|
159
|
+
# Protect names problematic for `test' and other utilities.
|
|
160
|
+
case $dst_arg in
|
|
161
|
+
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
|
162
|
+
esac
|
|
163
|
+
shift;;
|
|
164
|
+
|
|
165
|
+
-T) no_target_directory=true;;
|
|
166
|
+
|
|
167
|
+
--version) echo "$0 $scriptversion"; exit $?;;
|
|
168
|
+
|
|
169
|
+
--) shift
|
|
170
|
+
break;;
|
|
171
|
+
|
|
172
|
+
-*) echo "$0: invalid option: $1" >&2
|
|
173
|
+
exit 1;;
|
|
174
|
+
|
|
175
|
+
*) break;;
|
|
176
|
+
esac
|
|
177
|
+
shift
|
|
178
|
+
done
|
|
179
|
+
|
|
180
|
+
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
|
181
|
+
# When -d is used, all remaining arguments are directories to create.
|
|
182
|
+
# When -t is used, the destination is already specified.
|
|
183
|
+
# Otherwise, the last argument is the destination. Remove it from $@.
|
|
184
|
+
for arg
|
|
185
|
+
do
|
|
186
|
+
if test -n "$dst_arg"; then
|
|
187
|
+
# $@ is not empty: it contains at least $arg.
|
|
188
|
+
set fnord "$@" "$dst_arg"
|
|
189
|
+
shift # fnord
|
|
190
|
+
fi
|
|
191
|
+
shift # arg
|
|
192
|
+
dst_arg=$arg
|
|
193
|
+
# Protect names problematic for `test' and other utilities.
|
|
194
|
+
case $dst_arg in
|
|
195
|
+
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
|
196
|
+
esac
|
|
197
|
+
done
|
|
198
|
+
fi
|
|
199
|
+
|
|
200
|
+
if test $# -eq 0; then
|
|
201
|
+
if test -z "$dir_arg"; then
|
|
202
|
+
echo "$0: no input file specified." >&2
|
|
203
|
+
exit 1
|
|
204
|
+
fi
|
|
205
|
+
# It's OK to call `install-sh -d' without argument.
|
|
206
|
+
# This can happen when creating conditional directories.
|
|
207
|
+
exit 0
|
|
208
|
+
fi
|
|
209
|
+
|
|
210
|
+
if test -z "$dir_arg"; then
|
|
211
|
+
do_exit='(exit $ret); exit $ret'
|
|
212
|
+
trap "ret=129; $do_exit" 1
|
|
213
|
+
trap "ret=130; $do_exit" 2
|
|
214
|
+
trap "ret=141; $do_exit" 13
|
|
215
|
+
trap "ret=143; $do_exit" 15
|
|
216
|
+
|
|
217
|
+
# Set umask so as not to create temps with too-generous modes.
|
|
218
|
+
# However, 'strip' requires both read and write access to temps.
|
|
219
|
+
case $mode in
|
|
220
|
+
# Optimize common cases.
|
|
221
|
+
*644) cp_umask=133;;
|
|
222
|
+
*755) cp_umask=22;;
|
|
223
|
+
|
|
224
|
+
*[0-7])
|
|
225
|
+
if test -z "$stripcmd"; then
|
|
226
|
+
u_plus_rw=
|
|
227
|
+
else
|
|
228
|
+
u_plus_rw='% 200'
|
|
229
|
+
fi
|
|
230
|
+
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
|
231
|
+
*)
|
|
232
|
+
if test -z "$stripcmd"; then
|
|
233
|
+
u_plus_rw=
|
|
234
|
+
else
|
|
235
|
+
u_plus_rw=,u+rw
|
|
236
|
+
fi
|
|
237
|
+
cp_umask=$mode$u_plus_rw;;
|
|
238
|
+
esac
|
|
239
|
+
fi
|
|
240
|
+
|
|
241
|
+
for src
|
|
242
|
+
do
|
|
243
|
+
# Protect names problematic for `test' and other utilities.
|
|
244
|
+
case $src in
|
|
245
|
+
-* | [=\(\)!]) src=./$src;;
|
|
246
|
+
esac
|
|
247
|
+
|
|
248
|
+
if test -n "$dir_arg"; then
|
|
249
|
+
dst=$src
|
|
250
|
+
dstdir=$dst
|
|
251
|
+
test -d "$dstdir"
|
|
252
|
+
dstdir_status=$?
|
|
253
|
+
else
|
|
254
|
+
|
|
255
|
+
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
|
256
|
+
# might cause directories to be created, which would be especially bad
|
|
257
|
+
# if $src (and thus $dsttmp) contains '*'.
|
|
258
|
+
if test ! -f "$src" && test ! -d "$src"; then
|
|
259
|
+
echo "$0: $src does not exist." >&2
|
|
260
|
+
exit 1
|
|
261
|
+
fi
|
|
262
|
+
|
|
263
|
+
if test -z "$dst_arg"; then
|
|
264
|
+
echo "$0: no destination specified." >&2
|
|
265
|
+
exit 1
|
|
266
|
+
fi
|
|
267
|
+
dst=$dst_arg
|
|
268
|
+
|
|
269
|
+
# If destination is a directory, append the input filename; won't work
|
|
270
|
+
# if double slashes aren't ignored.
|
|
271
|
+
if test -d "$dst"; then
|
|
272
|
+
if test -n "$no_target_directory"; then
|
|
273
|
+
echo "$0: $dst_arg: Is a directory" >&2
|
|
274
|
+
exit 1
|
|
275
|
+
fi
|
|
276
|
+
dstdir=$dst
|
|
277
|
+
dst=$dstdir/`basename "$src"`
|
|
278
|
+
dstdir_status=0
|
|
279
|
+
else
|
|
280
|
+
# Prefer dirname, but fall back on a substitute if dirname fails.
|
|
281
|
+
dstdir=`
|
|
282
|
+
(dirname "$dst") 2>/dev/null ||
|
|
283
|
+
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
284
|
+
X"$dst" : 'X\(//\)[^/]' \| \
|
|
285
|
+
X"$dst" : 'X\(//\)$' \| \
|
|
286
|
+
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
|
287
|
+
echo X"$dst" |
|
|
288
|
+
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
289
|
+
s//\1/
|
|
290
|
+
q
|
|
291
|
+
}
|
|
292
|
+
/^X\(\/\/\)[^/].*/{
|
|
293
|
+
s//\1/
|
|
294
|
+
q
|
|
295
|
+
}
|
|
296
|
+
/^X\(\/\/\)$/{
|
|
297
|
+
s//\1/
|
|
298
|
+
q
|
|
299
|
+
}
|
|
300
|
+
/^X\(\/\).*/{
|
|
301
|
+
s//\1/
|
|
302
|
+
q
|
|
303
|
+
}
|
|
304
|
+
s/.*/./; q'
|
|
305
|
+
`
|
|
306
|
+
|
|
307
|
+
test -d "$dstdir"
|
|
308
|
+
dstdir_status=$?
|
|
309
|
+
fi
|
|
310
|
+
fi
|
|
311
|
+
|
|
312
|
+
obsolete_mkdir_used=false
|
|
313
|
+
|
|
314
|
+
if test $dstdir_status != 0; then
|
|
315
|
+
case $posix_mkdir in
|
|
316
|
+
'')
|
|
317
|
+
# Create intermediate dirs using mode 755 as modified by the umask.
|
|
318
|
+
# This is like FreeBSD 'install' as of 1997-10-28.
|
|
319
|
+
umask=`umask`
|
|
320
|
+
case $stripcmd.$umask in
|
|
321
|
+
# Optimize common cases.
|
|
322
|
+
*[2367][2367]) mkdir_umask=$umask;;
|
|
323
|
+
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
|
324
|
+
|
|
325
|
+
*[0-7])
|
|
326
|
+
mkdir_umask=`expr $umask + 22 \
|
|
327
|
+
- $umask % 100 % 40 + $umask % 20 \
|
|
328
|
+
- $umask % 10 % 4 + $umask % 2
|
|
329
|
+
`;;
|
|
330
|
+
*) mkdir_umask=$umask,go-w;;
|
|
331
|
+
esac
|
|
332
|
+
|
|
333
|
+
# With -d, create the new directory with the user-specified mode.
|
|
334
|
+
# Otherwise, rely on $mkdir_umask.
|
|
335
|
+
if test -n "$dir_arg"; then
|
|
336
|
+
mkdir_mode=-m$mode
|
|
337
|
+
else
|
|
338
|
+
mkdir_mode=
|
|
339
|
+
fi
|
|
340
|
+
|
|
341
|
+
posix_mkdir=false
|
|
342
|
+
case $umask in
|
|
343
|
+
*[123567][0-7][0-7])
|
|
344
|
+
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
|
345
|
+
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
|
346
|
+
;;
|
|
347
|
+
*)
|
|
348
|
+
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
|
349
|
+
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
|
350
|
+
|
|
351
|
+
if (umask $mkdir_umask &&
|
|
352
|
+
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
|
353
|
+
then
|
|
354
|
+
if test -z "$dir_arg" || {
|
|
355
|
+
# Check for POSIX incompatibilities with -m.
|
|
356
|
+
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
|
357
|
+
# other-writeable bit of parent directory when it shouldn't.
|
|
358
|
+
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
|
359
|
+
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
|
360
|
+
case $ls_ld_tmpdir in
|
|
361
|
+
d????-?r-*) different_mode=700;;
|
|
362
|
+
d????-?--*) different_mode=755;;
|
|
363
|
+
*) false;;
|
|
364
|
+
esac &&
|
|
365
|
+
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
|
366
|
+
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
|
367
|
+
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
then posix_mkdir=:
|
|
371
|
+
fi
|
|
372
|
+
rmdir "$tmpdir/d" "$tmpdir"
|
|
373
|
+
else
|
|
374
|
+
# Remove any dirs left behind by ancient mkdir implementations.
|
|
375
|
+
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
|
376
|
+
fi
|
|
377
|
+
trap '' 0;;
|
|
378
|
+
esac;;
|
|
379
|
+
esac
|
|
380
|
+
|
|
381
|
+
if
|
|
382
|
+
$posix_mkdir && (
|
|
383
|
+
umask $mkdir_umask &&
|
|
384
|
+
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
|
385
|
+
)
|
|
386
|
+
then :
|
|
387
|
+
else
|
|
388
|
+
|
|
389
|
+
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
|
390
|
+
# or it failed possibly due to a race condition. Create the
|
|
391
|
+
# directory the slow way, step by step, checking for races as we go.
|
|
392
|
+
|
|
393
|
+
case $dstdir in
|
|
394
|
+
/*) prefix='/';;
|
|
395
|
+
[-=\(\)!]*) prefix='./';;
|
|
396
|
+
*) prefix='';;
|
|
397
|
+
esac
|
|
398
|
+
|
|
399
|
+
eval "$initialize_posix_glob"
|
|
400
|
+
|
|
401
|
+
oIFS=$IFS
|
|
402
|
+
IFS=/
|
|
403
|
+
$posix_glob set -f
|
|
404
|
+
set fnord $dstdir
|
|
405
|
+
shift
|
|
406
|
+
$posix_glob set +f
|
|
407
|
+
IFS=$oIFS
|
|
408
|
+
|
|
409
|
+
prefixes=
|
|
410
|
+
|
|
411
|
+
for d
|
|
412
|
+
do
|
|
413
|
+
test X"$d" = X && continue
|
|
414
|
+
|
|
415
|
+
prefix=$prefix$d
|
|
416
|
+
if test -d "$prefix"; then
|
|
417
|
+
prefixes=
|
|
418
|
+
else
|
|
419
|
+
if $posix_mkdir; then
|
|
420
|
+
(umask=$mkdir_umask &&
|
|
421
|
+
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
|
422
|
+
# Don't fail if two instances are running concurrently.
|
|
423
|
+
test -d "$prefix" || exit 1
|
|
424
|
+
else
|
|
425
|
+
case $prefix in
|
|
426
|
+
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
|
427
|
+
*) qprefix=$prefix;;
|
|
428
|
+
esac
|
|
429
|
+
prefixes="$prefixes '$qprefix'"
|
|
430
|
+
fi
|
|
431
|
+
fi
|
|
432
|
+
prefix=$prefix/
|
|
433
|
+
done
|
|
434
|
+
|
|
435
|
+
if test -n "$prefixes"; then
|
|
436
|
+
# Don't fail if two instances are running concurrently.
|
|
437
|
+
(umask $mkdir_umask &&
|
|
438
|
+
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
|
439
|
+
test -d "$dstdir" || exit 1
|
|
440
|
+
obsolete_mkdir_used=true
|
|
441
|
+
fi
|
|
442
|
+
fi
|
|
443
|
+
fi
|
|
444
|
+
|
|
445
|
+
if test -n "$dir_arg"; then
|
|
446
|
+
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
|
447
|
+
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
|
448
|
+
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
|
449
|
+
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
|
450
|
+
else
|
|
451
|
+
|
|
452
|
+
# Make a couple of temp file names in the proper directory.
|
|
453
|
+
dsttmp=$dstdir/_inst.$$_
|
|
454
|
+
rmtmp=$dstdir/_rm.$$_
|
|
455
|
+
|
|
456
|
+
# Trap to clean up those temp files at exit.
|
|
457
|
+
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
|
458
|
+
|
|
459
|
+
# Copy the file name to the temp name.
|
|
460
|
+
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
|
461
|
+
|
|
462
|
+
# and set any options; do chmod last to preserve setuid bits.
|
|
463
|
+
#
|
|
464
|
+
# If any of these fail, we abort the whole thing. If we want to
|
|
465
|
+
# ignore errors from any of these, just make sure not to ignore
|
|
466
|
+
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
|
467
|
+
#
|
|
468
|
+
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
|
469
|
+
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
|
470
|
+
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
|
471
|
+
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
|
472
|
+
|
|
473
|
+
# If -C, don't bother to copy if it wouldn't change the file.
|
|
474
|
+
if $copy_on_change &&
|
|
475
|
+
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
|
476
|
+
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
|
477
|
+
|
|
478
|
+
eval "$initialize_posix_glob" &&
|
|
479
|
+
$posix_glob set -f &&
|
|
480
|
+
set X $old && old=:$2:$4:$5:$6 &&
|
|
481
|
+
set X $new && new=:$2:$4:$5:$6 &&
|
|
482
|
+
$posix_glob set +f &&
|
|
483
|
+
|
|
484
|
+
test "$old" = "$new" &&
|
|
485
|
+
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
|
486
|
+
then
|
|
487
|
+
rm -f "$dsttmp"
|
|
488
|
+
else
|
|
489
|
+
# Rename the file to the real destination.
|
|
490
|
+
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
|
491
|
+
|
|
492
|
+
# The rename failed, perhaps because mv can't rename something else
|
|
493
|
+
# to itself, or perhaps because mv is so ancient that it does not
|
|
494
|
+
# support -f.
|
|
495
|
+
{
|
|
496
|
+
# Now remove or move aside any old file at destination location.
|
|
497
|
+
# We try this two ways since rm can't unlink itself on some
|
|
498
|
+
# systems and the destination file might be busy for other
|
|
499
|
+
# reasons. In this case, the final cleanup might fail but the new
|
|
500
|
+
# file should still install successfully.
|
|
501
|
+
{
|
|
502
|
+
test ! -f "$dst" ||
|
|
503
|
+
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
|
504
|
+
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
|
505
|
+
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
|
506
|
+
} ||
|
|
507
|
+
{ echo "$0: cannot unlink or rename $dst" >&2
|
|
508
|
+
(exit 1); exit 1
|
|
509
|
+
}
|
|
510
|
+
} &&
|
|
511
|
+
|
|
512
|
+
# Now rename the file to the real destination.
|
|
513
|
+
$doit $mvcmd "$dsttmp" "$dst"
|
|
514
|
+
}
|
|
515
|
+
fi || exit 1
|
|
516
|
+
|
|
517
|
+
trap '' 0
|
|
518
|
+
fi
|
|
519
|
+
done
|
|
520
|
+
|
|
521
|
+
# Local variables:
|
|
522
|
+
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
523
|
+
# time-stamp-start: "scriptversion="
|
|
524
|
+
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
525
|
+
# time-stamp-time-zone: "UTC"
|
|
526
|
+
# time-stamp-end: "; # UTC"
|
|
527
|
+
# End:
|