rice 1.7.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/missing CHANGED
@@ -1,9 +1,9 @@
1
1
  #! /bin/sh
2
2
  # Common wrapper for a few potentially missing GNU programs.
3
3
 
4
- scriptversion=2012-06-26.16; # UTC
4
+ scriptversion=2013-10-28.13; # UTC
5
5
 
6
- # Copyright (C) 1996-2013 Free Software Foundation, Inc.
6
+ # Copyright (C) 1996-2014 Free Software Foundation, Inc.
7
7
  # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
8
8
 
9
9
  # This program is free software; you can redistribute it and/or modify
@@ -160,7 +160,7 @@ give_advice ()
160
160
  ;;
161
161
  autom4te*)
162
162
  echo "You might have modified some maintainer files that require"
163
- echo "the 'automa4te' program to be rebuilt."
163
+ echo "the 'autom4te' program to be rebuilt."
164
164
  program_details 'autom4te'
165
165
  ;;
166
166
  bison*|yacc*)
@@ -11,7 +11,6 @@ Object.cpp \
11
11
  String.cpp \
12
12
  Struct.cpp \
13
13
  Symbol.cpp \
14
- VM.cpp \
15
14
  Arg_operators.cpp \
16
15
  Address_Registration_Guard.cpp \
17
16
  detail/check_ruby_type.cpp \
@@ -35,8 +34,6 @@ Class.hpp \
35
34
  Class.ipp \
36
35
  Class_defn.hpp \
37
36
  Constructor.hpp \
38
- Critical_Guard.hpp \
39
- Critical_Guard.ipp \
40
37
  Data_Object.hpp \
41
38
  Data_Object.ipp \
42
39
  Data_Object_defn.hpp \
@@ -72,7 +69,6 @@ Struct.hpp \
72
69
  Struct.ipp \
73
70
  Symbol.hpp \
74
71
  Symbol.ipp \
75
- VM.hpp \
76
72
  global_function.hpp \
77
73
  global_function.ipp \
78
74
  protect.hpp \
@@ -111,7 +107,6 @@ detail/object_call.hpp \
111
107
  detail/object_call.ipp \
112
108
  detail/protect.hpp \
113
109
  detail/ruby.hpp \
114
- detail/rubysig.hpp \
115
110
  detail/st.hpp \
116
111
  detail/traits.hpp \
117
112
  detail/to_ruby.hpp \
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.14.1 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -16,7 +16,17 @@
16
16
 
17
17
 
18
18
  VPATH = @srcdir@
19
- am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19
+ am__is_gnu_make = { \
20
+ if test -z '$(MAKELEVEL)'; then \
21
+ false; \
22
+ elif test -n '$(MAKE_HOST)'; then \
23
+ true; \
24
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
25
+ true; \
26
+ else \
27
+ false; \
28
+ fi; \
29
+ }
20
30
  am__make_running_with_option = \
21
31
  case $${target_option-} in \
22
32
  ?) ;; \
@@ -80,15 +90,14 @@ POST_UNINSTALL = :
80
90
  build_triplet = @build@
81
91
  host_triplet = @host@
82
92
  subdir = rice
83
- DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
84
- $(srcdir)/config.hpp.in $(top_srcdir)/depcomp \
85
- $(nobase_include_HEADERS)
86
93
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
87
94
  am__aclocal_m4_deps = $(top_srcdir)/check_stdcxx_11.ac \
88
95
  $(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
89
96
  $(top_srcdir)/configure.ac
90
97
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
91
98
  $(ACLOCAL_M4)
99
+ DIST_COMMON = $(srcdir)/Makefile.am $(nobase_include_HEADERS) \
100
+ $(am__DIST_COMMON)
92
101
  mkinstalldirs = $(install_sh) -d
93
102
  CONFIG_HEADER = config.hpp
94
103
  CONFIG_CLEAN_FILES =
@@ -134,8 +143,8 @@ am__dirstamp = $(am__leading_dot)dirstamp
134
143
  am_librice_a_OBJECTS = Class.$(OBJEXT) Data_Type.$(OBJEXT) \
135
144
  Director.$(OBJEXT) Exception.$(OBJEXT) Identifier.$(OBJEXT) \
136
145
  Module.$(OBJEXT) Object.$(OBJEXT) String.$(OBJEXT) \
137
- Struct.$(OBJEXT) Symbol.$(OBJEXT) VM.$(OBJEXT) \
138
- Arg_operators.$(OBJEXT) Address_Registration_Guard.$(OBJEXT) \
146
+ Struct.$(OBJEXT) Symbol.$(OBJEXT) Arg_operators.$(OBJEXT) \
147
+ Address_Registration_Guard.$(OBJEXT) \
139
148
  detail/check_ruby_type.$(OBJEXT) detail/demangle.$(OBJEXT) \
140
149
  detail/method_data.$(OBJEXT) detail/protect.$(OBJEXT)
141
150
  librice_a_OBJECTS = $(am_librice_a_OBJECTS)
@@ -196,6 +205,8 @@ am__define_uniq_tagged_files = \
196
205
  done | $(am__uniquify_input)`
197
206
  ETAGS = etags
198
207
  CTAGS = ctags
208
+ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.hpp.in \
209
+ $(top_srcdir)/depcomp
199
210
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
200
211
  ACLOCAL = @ACLOCAL@
201
212
  AMTAR = @AMTAR@
@@ -342,7 +353,6 @@ Object.cpp \
342
353
  String.cpp \
343
354
  Struct.cpp \
344
355
  Symbol.cpp \
345
- VM.cpp \
346
356
  Arg_operators.cpp \
347
357
  Address_Registration_Guard.cpp \
348
358
  detail/check_ruby_type.cpp \
@@ -366,8 +376,6 @@ Class.hpp \
366
376
  Class.ipp \
367
377
  Class_defn.hpp \
368
378
  Constructor.hpp \
369
- Critical_Guard.hpp \
370
- Critical_Guard.ipp \
371
379
  Data_Object.hpp \
372
380
  Data_Object.ipp \
373
381
  Data_Object_defn.hpp \
@@ -403,7 +411,6 @@ Struct.hpp \
403
411
  Struct.ipp \
404
412
  Symbol.hpp \
405
413
  Symbol.ipp \
406
- VM.hpp \
407
414
  global_function.hpp \
408
415
  global_function.ipp \
409
416
  protect.hpp \
@@ -442,7 +449,6 @@ detail/object_call.hpp \
442
449
  detail/object_call.ipp \
443
450
  detail/protect.hpp \
444
451
  detail/ruby.hpp \
445
- detail/rubysig.hpp \
446
452
  detail/st.hpp \
447
453
  detail/traits.hpp \
448
454
  detail/to_ruby.hpp \
@@ -471,7 +477,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
471
477
  echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu rice/Makefile'; \
472
478
  $(am__cd) $(top_srcdir) && \
473
479
  $(AUTOMAKE) --gnu rice/Makefile
474
- .PRECIOUS: Makefile
475
480
  Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
476
481
  @case '$?' in \
477
482
  *config.status*) \
@@ -574,7 +579,6 @@ distclean-compile:
574
579
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/String.Po@am__quote@
575
580
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Struct.Po@am__quote@
576
581
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Symbol.Po@am__quote@
577
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/VM.Po@am__quote@
578
582
  @AMDEP_TRUE@@am__include@ @am__quote@detail/$(DEPDIR)/check_ruby_type.Po@am__quote@
579
583
  @AMDEP_TRUE@@am__include@ @am__quote@detail/$(DEPDIR)/demangle.Po@am__quote@
580
584
  @AMDEP_TRUE@@am__include@ @am__quote@detail/$(DEPDIR)/method_data.Po@am__quote@
@@ -827,6 +831,8 @@ uninstall-am: uninstall-libLIBRARIES uninstall-nobase_includeHEADERS
827
831
  tags tags-am uninstall uninstall-am uninstall-libLIBRARIES \
828
832
  uninstall-nobase_includeHEADERS
829
833
 
834
+ .PRECIOUS: Makefile
835
+
830
836
 
831
837
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
832
838
  # Otherwise a system limit (for SysV at least) may be exceeded.
@@ -6,14 +6,6 @@
6
6
  * not have extern "C"
7
7
  */
8
8
 
9
- // TODO: Won't work on ruby 1.9
10
-
11
9
  #include "ruby_version_code.hpp"
12
10
 
13
- #if RICE__RUBY_VERSION_CODE < 190
14
- extern "C" {
15
- #include "env.h"
16
- }
17
- #endif
18
-
19
11
  #endif
@@ -8,26 +8,6 @@
8
8
  #undef PACKAGE_VERSION
9
9
  #include "../config.hpp"
10
10
 
11
- /* 1.8.6 compatibility */
12
- #ifndef RCLASS_M_TBL
13
- #define RCLASS_M_TBL(x) (RCLASS(x)->m_tbl)
14
- #endif
15
-
16
-
17
- #ifndef RUBY_VM
18
- /* pre-YARV */
19
- #include <node.h>
20
- #include "env.hpp"
21
-
22
- namespace {
23
- int rb_frame_method_id_and_class(ID *idp, VALUE *klassp) {
24
- *klassp = ruby_frame->last_class;
25
- *idp = ruby_frame->last_func;
26
- return 1;
27
- }
28
- }
29
- #endif
30
-
31
11
  #define RICE_ID rb_intern("__rice__")
32
12
 
33
13
  VALUE
@@ -67,19 +67,6 @@ extern "C" typedef VALUE (*RUBY_VALUE_FUNC)(VALUE);
67
67
  #undef bind
68
68
  #endif
69
69
 
70
- #if RICE__RUBY_VERSION_CODE < 190
71
- namespace Rice
72
- {
73
- namespace detail
74
- {
75
- inline VALUE rb_errinfo() { return ruby_errinfo; }
76
- inline void rb_set_errinfo(VALUE exc) { ruby_errinfo = exc; }
77
- } // detail
78
- } // Rice
79
- #define rb_errinfo() ::Rice::detail::rb_errinfo()
80
- #define rb_set_errinfo(exc) ::Rice::detail::rb_set_errinfo(exc)
81
- #endif
82
-
83
70
  #ifdef HAVE_CXX11
84
71
  #define std_unique_ptr std::unique_ptr
85
72
  #else
@@ -1,6 +1,6 @@
1
1
  #ifndef Rice__detail__ruby_version_code__hpp
2
2
  #define Rice__detail__ruby_version_code__hpp
3
3
 
4
- #define RICE__RUBY_VERSION_CODE 220
4
+ #define RICE__RUBY_VERSION_CODE 223
5
5
 
6
6
  #endif // Rice__detail__ruby_version_code__hpp
data/ruby.ac CHANGED
@@ -39,14 +39,9 @@ RUBY_CONFIG_LIBRUBYARG=`RUBY_CONFIG(LIBRUBYARG)`
39
39
  RUBY_CONFIG_LIBRUBYARG_STATIC=`RUBY_CONFIG(LIBRUBYARG_STATIC)`
40
40
  RUBY_CONFIG_CCDLFLAGS=`RUBY_CONFIG(CCDLFLAGS)`
41
41
 
42
- if test "x${RUBY_CONFIG_RUBYHDRDIR}x" != "xx"; then
43
- # 1.9
44
- RUBY_CPPFLAGS="-I${RUBY_CONFIG_RUBYHDRDIR}"
45
- RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYHDRDIR}/${RUBY_CONFIG_ARCH}"
46
- else
47
- # 1.8
48
- RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
49
- fi
42
+ RUBY_CPPFLAGS="-I${RUBY_CONFIG_RUBYHDRDIR}"
43
+ RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYHDRDIR}/${RUBY_CONFIG_ARCH}"
44
+
50
45
  if test "x${RUBY_CONFIG_RUBYARCHHDRDIR}x" != "xx"; then
51
46
  RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYARCHHDRDIR}"
52
47
  fi
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.14.1 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -14,7 +14,17 @@
14
14
 
15
15
  @SET_MAKE@
16
16
  VPATH = @srcdir@
17
- am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
17
+ am__is_gnu_make = { \
18
+ if test -z '$(MAKELEVEL)'; then \
19
+ false; \
20
+ elif test -n '$(MAKE_HOST)'; then \
21
+ true; \
22
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23
+ true; \
24
+ else \
25
+ false; \
26
+ fi; \
27
+ }
18
28
  am__make_running_with_option = \
19
29
  case $${target_option-} in \
20
30
  ?) ;; \
@@ -78,13 +88,13 @@ POST_UNINSTALL = :
78
88
  build_triplet = @build@
79
89
  host_triplet = @host@
80
90
  subdir = ruby
81
- DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
82
91
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
83
92
  am__aclocal_m4_deps = $(top_srcdir)/check_stdcxx_11.ac \
84
93
  $(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
85
94
  $(top_srcdir)/configure.ac
86
95
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
87
96
  $(ACLOCAL_M4)
97
+ DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
88
98
  mkinstalldirs = $(install_sh) -d
89
99
  CONFIG_HEADER = $(top_builddir)/rice/config.hpp
90
100
  CONFIG_CLEAN_FILES =
@@ -144,6 +154,7 @@ am__define_uniq_tagged_files = \
144
154
  ETAGS = etags
145
155
  CTAGS = ctags
146
156
  DIST_SUBDIRS = $(SUBDIRS)
157
+ am__DIST_COMMON = $(srcdir)/Makefile.in
147
158
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
148
159
  am__relativize = \
149
160
  dir0=`pwd`; \
@@ -319,7 +330,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
319
330
  echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ruby/Makefile'; \
320
331
  $(am__cd) $(top_srcdir) && \
321
332
  $(AUTOMAKE) --gnu ruby/Makefile
322
- .PRECIOUS: Makefile
323
333
  Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
324
334
  @case '$?' in \
325
335
  *config.status*) \
@@ -607,6 +617,8 @@ uninstall-am:
607
617
  maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
608
618
  pdf-am ps ps-am tags tags-am uninstall uninstall-am
609
619
 
620
+ .PRECIOUS: Makefile
621
+
610
622
 
611
623
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
612
624
  # Otherwise a system limit (for SysV at least) may be exceeded.
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.14.1 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -15,7 +15,17 @@
15
15
  @SET_MAKE@
16
16
 
17
17
  VPATH = @srcdir@
18
- am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
18
+ am__is_gnu_make = { \
19
+ if test -z '$(MAKELEVEL)'; then \
20
+ false; \
21
+ elif test -n '$(MAKE_HOST)'; then \
22
+ true; \
23
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24
+ true; \
25
+ else \
26
+ false; \
27
+ fi; \
28
+ }
19
29
  am__make_running_with_option = \
20
30
  case $${target_option-} in \
21
31
  ?) ;; \
@@ -79,14 +89,13 @@ POST_UNINSTALL = :
79
89
  build_triplet = @build@
80
90
  host_triplet = @host@
81
91
  subdir = ruby/lib
82
- DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83
- $(srcdir)/mkmf-rice.rb.in
84
92
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
85
93
  am__aclocal_m4_deps = $(top_srcdir)/check_stdcxx_11.ac \
86
94
  $(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
87
95
  $(top_srcdir)/configure.ac
88
96
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
89
97
  $(ACLOCAL_M4)
98
+ DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
90
99
  mkinstalldirs = $(install_sh) -d
91
100
  CONFIG_HEADER = $(top_builddir)/rice/config.hpp
92
101
  CONFIG_CLEAN_FILES = mkmf-rice.rb
@@ -140,6 +149,7 @@ am__uninstall_files_from_dir = { \
140
149
  am__installdirs = "$(DESTDIR)$(rubydir)"
141
150
  DATA = $(ruby_DATA)
142
151
  am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
152
+ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/mkmf-rice.rb.in
143
153
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
144
154
  ACLOCAL = @ACLOCAL@
145
155
  AMTAR = @AMTAR@
@@ -291,7 +301,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
291
301
  echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ruby/lib/Makefile'; \
292
302
  $(am__cd) $(top_srcdir) && \
293
303
  $(AUTOMAKE) --gnu ruby/lib/Makefile
294
- .PRECIOUS: Makefile
295
304
  Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
296
305
  @case '$?' in \
297
306
  *config.status*) \
@@ -486,6 +495,8 @@ uninstall-am: uninstall-rubyDATA
486
495
  pdf-am ps ps-am tags-am uninstall uninstall-am \
487
496
  uninstall-rubyDATA
488
497
 
498
+ .PRECIOUS: Makefile
499
+
489
500
 
490
501
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
491
502
  # Otherwise a system limit (for SysV at least) may be exceeded.
@@ -1,9 +1,11 @@
1
- # Make sure that archflags does not include ppc if we're
2
- # on Intel x86 processor on Mac, and that we use the proper
3
- # arch depending on 10.5 or 10.6
1
+ # Make sure that archflags does not include ppc if we're
2
+ # on Intel x86 processor on Mac, and that we use the proper arch
4
3
  if `uname`.chomp == "Darwin"
5
- arch =
6
- if RUBY_PLATFORM =~ /darwin10/
4
+ RUBY_PLATFORM =~ /darwin(\d+)/
5
+ darwin_version = $1.to_i
6
+
7
+ arch =
8
+ if darwin_version >= 10
7
9
  'x86_64'
8
10
  else
9
11
  `uname -p`.chomp
@@ -15,7 +17,7 @@ end
15
17
  require 'mkmf'
16
18
  require 'rbconfig'
17
19
 
18
- #
20
+ #
19
21
  # A script to override some defaults in mkmf.rb for C++ code
20
22
  # compilation.
21
23
  #
@@ -31,19 +33,13 @@ def init_mkmf_rice(config = CONFIG)
31
33
  $LIBRUBYARG_STATIC = "@RUBY_LIBRUBYARG_STATIC@"
32
34
  $RICE_CPPFLAGS = "@RICE_CPPFLAGS@"
33
35
  $RICE_LDFLAGS = "@RICE_LDFLAGS@"
34
- $RICE_PREFIX = "@prefix@"
36
+ $RICE_PREFIX = File.join(File.dirname(File.expand_path(__FILE__)))
35
37
 
36
38
  $RICE_USING_MINGW32 = @RICE_USING_MINGW32@
37
39
 
38
- # Ruby < 1.8.6 does not have $DEFLIBPATH
39
- $DEFLIBPATH ||= []
40
-
41
40
  # We use this for the samples
42
41
  $DEFLIBPATH.unshift(with_config('libpath')) if with_config('libpath')
43
42
 
44
- # Ruby 1.8.6 uses $preload without setting it
45
- $preload ||= nil
46
-
47
43
  lib_dirs = []
48
44
 
49
45
  lib_dir = "#{$RICE_PREFIX}/lib"
@@ -1,3 +1,3 @@
1
1
  module Rice
2
- VERSION = "1.7.0"
2
+ VERSION = "2.0.0"
3
3
  end