Changeset 3739
- Timestamp:
- Jul 3, 2013 8:39:28 AM (10 years ago)
- Location:
- branches/1.3
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/Makefile.in
r3717 r3739 45 45 46 46 all: $(TARGETS) 47 for i in $(TARGETS) ; do \ 48 $(MAKE) -C $$i all || exit 1 ;\ 49 done 47 48 $(TARGETS): 49 $(MAKE) -C $@ all 50 50 51 test: 51 52 $(MAKE) -C test all -
branches/1.3/configure
r3717 r3739 671 671 OCTAVE_VERSION_MAJOR 672 672 OCTAVE_VERSION 673 SVN_VERSION 673 674 MKOCTFILE3 674 675 MKOCTFILE2 … … 7287 7288 7288 7289 7290 SVN_VERSION=`svnversion $srcdir` 7291 7289 7292 make_command="" 7290 7293 for m in "$MAKE" make gmake gnumake ; do … … 10150 10153 10151 10154 10155 10152 10156 ac_configure_args="--disable-threads --enable-shared" 10153 10157 … … 10156 10160 10157 10161 10158 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/copy_rappture_examples gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile gui/src/Makefile builder/Makefile builder/pkgIndex.tcl builder/scripts/Makefile tester/Makefile tester/pkgIndex.tcl tester/scripts/Makefile lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/R/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/s rc/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/octave2/Makefile examples/app-fermi/octave/octave3/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/app-fermi/R/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/curve/Makefile examples/zoo/drawing/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/histogram/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/log/Makefile examples/zoo/mesh/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile video/Makefile video/pkgIndex.tcl oldtest/Makefile oldtest/src/Makefile"10162 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/copy_rappture_examples gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile gui/src/Makefile builder/Makefile builder/pkgIndex.tcl builder/scripts/Makefile tester/Makefile tester/pkgIndex.tcl tester/scripts/Makefile lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/R/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/scripts/Makefile lang/tcl/src/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/octave2/Makefile examples/app-fermi/octave/octave3/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/app-fermi/R/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/curve/Makefile examples/zoo/drawing/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/histogram/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/log/Makefile examples/zoo/mesh/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile video/Makefile video/pkgIndex.tcl oldtest/Makefile oldtest/src/Makefile" 10159 10163 10160 10164 cat >confcache <<\_ACEOF … … 10895 10899 "lang/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/Makefile" ;; 10896 10900 "lang/tcl/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES lang/tcl/pkgIndex.tcl" ;; 10901 "lang/tcl/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/scripts/Makefile" ;; 10897 10902 "lang/tcl/src/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/src/Makefile" ;; 10898 "lang/tcl/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/scripts/Makefile" ;;10899 10903 "lang/tcl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/tests/Makefile" ;; 10900 10904 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; -
branches/1.3/configure.in
r3717 r3739 106 106 107 107 SC_CONFIG_CFLAGS 108 109 SVN_VERSION=`svnversion $srcdir` 108 110 109 111 make_command="" … … 360 362 AC_SUBST(MKOCTFILE2) 361 363 AC_SUBST(MKOCTFILE3) 364 AC_SUBST(SVN_VERSION) 362 365 AC_SUBST(OCTAVE_VERSION) 363 366 AC_SUBST(OCTAVE_VERSION_MAJOR) … … 471 474 lang/tcl/Makefile 472 475 lang/tcl/pkgIndex.tcl 476 lang/tcl/scripts/Makefile 473 477 lang/tcl/src/Makefile 474 lang/tcl/scripts/Makefile475 478 lang/tcl/tests/Makefile 476 479 lib/Makefile -
branches/1.3/examples/Makefile.in
r3471 r3739 31 31 .PHONY: all install clean distclean $(SUBDIRS) 32 32 33 all: 34 for i in $(SUBDIRS) ; do \ 35 $(MAKE) -C $$i all || exit 1 ; \ 36 done33 all: $(SUBDIRS) 34 35 $(SUBDIRS): 36 $(MAKE) -C $@ all 37 37 38 38 install: -
branches/1.3/examples/zoo/mesh/mesh.m
r3735 r3739 13 13 14 14 switch meshtype 15 case 'unirect2d'16 mesh = 'output.unirect2d';17 rpLibPutString(lib, 'output.unirect2d.about.label', \18 'unirect2d mesh (deprecated)', 0);19 rpLibPutString(lib, 'output.unirect2d.dim', '2', 0);20 rpLibPutString(lib, 'output.unirect2d.units', 'm', 0);21 rpLibPutString(lib, 'output.unirect2d.hide', 'yes', 0);22 23 % Create a unirect2d mesh. The mesh will be used in the 'field'24 % object below. We will specify a mesh and then provide the data25 % points to the field.26 27 rpLibPutString(lib, 'output.unirect2d.xaxis.label', 'Fermi-Dirac Factor',0);28 rpLibPutString(lib, 'output.unirect2d.yaxis.label', 'Energy', 0);29 30 % The uniform grid that we are specifying is a mesh of 50 points on31 % the x-axis and 50 points on the y-axis. The 50 points are32 % equidistant between 0.0 and 1.033 34 % Specify the x-axis of the mesh35 rpLibPutString(lib, 'output.unirect2d.xaxis.min', '0.0', 0);36 rpLibPutString(lib, 'output.unirect2d.xaxis.max', '1.0', 0);37 rpLibPutString(lib, 'output.unirect2d.xaxis.numpoints', '50', 0);38 39 % Specify the y-axis of the mesh40 rpLibPutString(lib, 'output.unirect2d.yaxis.min', '0.0', 0);41 rpLibPutString(lib, 'output.unirect2d.yaxis.max', '1.0', 0);42 rpLibPutString(lib, 'output.unirect2d.yaxis.numpoints', '50', 0);43 44 case 'oldcloud'45 mesh = 'output.cloud';46 rpLibPutString(lib, 'output.cloud.about.label', 'cloud (deprecated)', 0);47 rpLibPutString(lib, 'output.cloud.dim', '2', 0);48 rpLibPutString(lib, 'output.cloud.units', 'm', 0);49 rpLibPutString(lib, 'output.cloud.hide', 'yes', 0);50 51 xv = linspace(0, 1, 50)52 for i = 1:5053 for j = 1:5054 string = sprintf('%12g %12g\n', xv(i), xv(j));55 rpLibPutString(lib, 'output.cloud.points', string, 1);56 endfor57 endfor58 59 15 case 'cloud' 60 16 mesh = 'output.mesh'; -
branches/1.3/examples/zoo/mesh/mesh.tcl
r3735 r3739 22 22 23 23 switch -- $meshtype { 24 "unirect2d" {25 set mesh "output.unirect2d"26 27 $driver put $mesh.about.label "unirect2d mesh"28 $driver put $mesh.dim 229 $driver put $mesh.units "m"30 $driver put $mesh.hide "yes"31 32 # Create a unirect2d mesh. The mesh will be used in the "field"33 # object below. We will specify a mesh and then provide the data34 # points to the field.35 36 $driver put $mesh.xaxis.label "Fermi-Dirac Factor"37 $driver put $mesh.yaxis.label "Energy"38 39 # The uniform grid that we are specifying is a mesh of 50 points on40 # the x-axis # and 50 points on the y-axis. The 50 points are41 # equidistant between 0.0 and # 1.042 43 # Specify the x-axis of the mesh44 $driver put $mesh.xaxis.min 0.045 $driver put $mesh.xaxis.max 1.046 $driver put $mesh.xaxis.numpoints 5047 48 # Specify the y-axis of the mesh49 $driver put $mesh.yaxis.min 0.050 $driver put $mesh.yaxis.max 1.051 $driver put $mesh.yaxis.numpoints 5052 }53 "oldcloud" {54 set mesh output.cloud55 $driver put $mesh.about.label "cloud (deprecated)"56 $driver put $mesh.dim 257 $driver put $mesh.units "m"58 $driver put $mesh.hide "yes"59 60 set points {}61 foreach y [$xv range 0 end] {62 foreach x [$xv range 0 end] {63 append points "$x $y\n"64 }65 }66 67 # Test old-style cloud element.68 $driver put $mesh.units "m"69 $driver put $mesh.points $points70 }71 24 "cloud" { 72 25 set mesh output.mesh -
branches/1.3/examples/zoo/mesh/tool.xml
r3483 r3739 7 7 <input> 8 8 <choice id="mesh"> 9 <option>10 <about>11 <label>unirect2d (deprecated)</label>12 <description>Uniform 2D grid using old-style unirect2d element.</description>13 </about>14 <value>unirect2d</value>15 </option>16 <option>17 <about>18 <label>cloud (deprecated)</label>19 <description>2 dimensional cloud of points using old-style cloud element.</description>20 </about>21 <value>oldcloud</value>22 </option>23 9 <option> 24 10 <about> -
branches/1.3/examples/zoo/mesh/tool2.xml
r3735 r3739 7 7 <input> 8 8 <choice id="mesh"> 9 <option>10 <about>11 <label>unirect2d (deprecated)</label>12 <description>Uniform 2D grid using old-style unirect2d element.</description>13 </about>14 <value>unirect2d</value>15 </option>16 <option>17 <about>18 <label>cloud (deprecated)</label>19 <description>2 dimensional cloud of points using old-style cloud element.</description>20 </about>21 <value>oldcloud</value>22 9 </option> 23 10 <option> -
branches/1.3/gui/scripts/drawingentry.tcl
r3671 r3739 125 125 126 126 # scan through all variables and attach notifications for changes 127 foreach cpath [$_xmlobj children -as path -type variable $_path.substitutions] { 127 set subs [$_xmlobj children -as path -type variable $_path.substitutions] 128 foreach cpath $subs { 128 129 set map "" 129 130 set name "" … … 171 172 172 173 # find all embedded controls and build a popup for each hotspot 173 foreach cpath [$_xmlobj children -type hotspot -as path $_path.components] { 174 set hotspots [$_xmlobj children -type hotspot -as path $_path.components] 175 foreach cpath $hotspots { 174 176 set listOfControls [$_xmlobj children -type controls $cpath] 175 177 if {[llength $listOfControls] > 0} { … … 190 192 } 191 193 } 192 193 194 set c $itk_component(drawing) 194 foreach cpath [$_xmlobj children -type text -as path $_path.components] { 195 set texts [$_xmlobj children -type text -as path $_path.components] 196 foreach cpath $texts { 195 197 set popup "" 196 198 set mode [XmlGetSubst $cpath.hotspot] … … 601 603 set width [expr [image width $img] / 4] 602 604 } else { 603 set width [expr [ScreenX $w] - [ScreenX 0]]605 set width [expr int([ScreenX $w] - [ScreenX 0])] 604 606 } 605 607 set h [XmlGetSubst $cpath.height] … … 607 609 set height [expr [image height $img] / 4] 608 610 } else { 609 set height [expr [ScreenY $h] - [ScreenY 0]]611 set height [expr int([ScreenY $h] - [ScreenY 0])] 610 612 } 611 613 if { $width != [image width $img] || $height != [image height $img] } { 612 614 set dst [image create photo -width $width -height $height] 613 blt::winop resample $img $dst 615 blt::winop resample $img $dst box 614 616 image delete $img 615 617 set img $dst … … 627 629 set x2 $tmp 628 630 } 629 set width [expr { $x2 - $x1 + 1}]630 set height [expr { $y2 - $y1 + 1}]631 set width [expr {int($x2 - $x1 + 1)}] 632 set height [expr {int($y2 - $y1 + 1)}] 631 633 if { $width != [image width $img] || $height != [image height $img] } { 632 634 set dst [image create photo -width $width -height $height] 633 blt::winop resample $img $dst 635 blt::winop resample $img $dst box 634 636 image delete $img 635 637 set img $dst … … 639 641 set height [expr [image height $img] / 4] 640 642 set dst [image create photo -width $width -height $height] 641 blt::winop resample $img $dst 643 blt::winop resample $img $dst box 642 644 image delete $img 643 645 set img $dst … … 971 973 972 974 if {$bad ne ""} { 973 puts "WARNING: $bad"974 puts "assuming default \"0 0 1 1\" coordinates"975 puts stderr "WARNING: $bad" 976 puts stderr "assuming default \"0 0 1 1\" coordinates" 975 977 array set xvals {1 0 2 1} 976 978 array set yvals {1 0 2 1} … … 1031 1033 } 1032 1034 default { 1033 puts "WARNING: don't understand \"$elem\" in $_path"1035 puts stderr "WARNING: don't understand \"$elem\" in $_path" 1034 1036 } 1035 1037 } … … 1042 1044 itcl::body Rappture::DrawingEntry::Invoke {cpath x y} { 1043 1045 if {![info exists _cpath2popup($cpath)]} { 1044 puts "WARNING: no controls for hotspot at $cpath"1046 puts stderr "WARNING: no controls for hotspot at $cpath" 1045 1047 return 1046 1048 } -
branches/1.3/gui/scripts/gauge.tcl
r3654 r3739 462 462 463 463 if {$state} { 464 $itk_component($comp) configure -relief solid464 $itk_component($comp) configure -relief flat 465 465 } else { 466 466 if {$comp eq "presets"} { -
branches/1.3/gui/scripts/vtkglyphviewer.tcl
r3694 r3739 1999 1999 set tag $dataobj-$cname 2000 2000 set contents [$dataobj vtkdata $cname] 2001 append bytes "$contents\n \n"2001 append bytes "$contents\n" 2002 2002 } 2003 2003 } … … 2117 2117 SendCmd "glyphs add arrow $tag" 2118 2118 SendCmd "glyphs edges $style(-edges) $tag" 2119 SendCmd "glyphs gscale 20 $tag" 2119 # normscale=1 and gscale=1 are defaults 2120 #SendCmd "glyphs normscale 1 $tag" 2121 #SendCmd "glyphs gscale 1 $tag" 2120 2122 SendCmd "outline add $tag" 2121 2123 SendCmd "outline color [Color2RGB $itk_option(-plotforeground)] $tag" -
branches/1.3/gui/scripts/vtkheightmapviewer.tcl
r3656 r3739 389 389 390 390 set _image(download) [image create photo] 391 391 puts stderr "args=$args" 392 392 eval itk_initialize $args 393 393 Connect -
branches/1.3/lang/Makefile.in
r3603 r3739 52 52 endif 53 53 54 .PHONY: all install test clean distclean tcl octave matlab perl python ruby java R54 .PHONY: all install test clean distclean $(LANGS) 55 55 56 all: 57 for i in $(LANGS) ; do \ 58 $(MAKE) -C $$i all || exit 1 ;\ 59 done 56 57 all: $(LANGS) 58 59 $(LANGS): 60 $(MAKE) -C $@ all 60 61 61 62 install: -
branches/1.3/lang/R/Makefile.in
r3717 r3739 21 21 R = @R@ 22 22 23 coresrcdir = ${PWD}/ ../../rappture/src/core24 corelibdir = ${PWD}/../ src/core25 R_flags = --configure-args='--with-rappture-include=$(coresrcdir) \23 coresrcdir = ${PWD}/$(srcdir)/../../src/core 24 corelibdir = ${PWD}/../../src/core 25 R_flags = --configure-args='--with-rappture-include=$(coresrcdir) \ 26 26 --with-rappture-lib=$(corelibdir)' 27 27 28 R lib = $(libdir)/R28 RLIB = R 29 29 30 30 # $(MKDIR_P) -m 0755 ${PWD}/build 31 31 # tar -C ${PWD}/build -clf - . | tar -C $(Rlib) -xpf - 32 32 33 all: 34 $(R) CMD build $(srcdir)/Rappture 35 tar xvzf Rappture_1.0.tar.gz 33 all: $(RLIB) 36 34 37 install: 38 $(MKDIR_P) -m 0755 $(Rlib) 39 $(R) CMD INSTALL $(R_flags) --library=$(Rlib) Rappture 35 $(RLIB): 36 tar -C $(srcdir) -clf - Rappture | tar -xpf - 37 $(MKDIR_P) -m 0755 $(RLIB) 38 $(R) CMD build Rappture 39 LD_LIBRARY_PATH=$(libdir) $(R) CMD INSTALL $(R_flags) --library=$(RLIB) Rappture 40 41 install: $(RLIB) 42 $(RM) -rf $(libdir)/$(RLIB) 43 $(MKDIR_P) -m 0755 $(RLIB) 44 tar -clf - $(RLIB) | tar -C $(libdir) -xpf - 40 45 41 46 clean: 42 $(RM) -rf Rappture ${PWD}/build 47 $(RM) -r $(RLIB) 48 $(RM) -rf Rappture Rappture_1.0.tar.gz 43 49 44 50 distclean: clean -
branches/1.3/lang/R/Rappture/man/Rappture-package.Rd
r2709 r3739 31 31 ~~ Literature or other references for background information ~~ 32 32 } 33 ~~ Optionally other standard keywords, one per line, from file KEYWORDS in ~~34 ~~ the R documentation directory ~~35 33 \keyword{ package } 36 34 \seealso{ -
branches/1.3/lang/R/Rappture/src/RpLibraryRInterface.cc
r3177 r3739 24 24 rp_lib_finalizer(SEXP ptr) 25 25 { 26 RpLibrary* lib = NULL;27 26 if (!R_ExternalPtrAddr(ptr)) { 28 27 return; 29 28 } 30 lib = (RpLibrary *) R_ExternalPtrAddr(ptr); 29 #ifdef notdef 30 /* Until we figure this out, don't delete the library object. R is 31 * calling the finalizer on every method of the library object. This is a 32 * problem only if someone explicitly deletes the library object from 33 * R. */ 34 RpLibrary* lib; 35 lib = (RpLibrary *)R_ExternalPtrAddr(ptr); 31 36 if (lib != NULL) { 32 37 delete lib; 33 lib = NULL;34 } 38 } 39 #endif 35 40 R_ClearExternalPtr(ptr); 36 37 41 } 38 42 … … 92 96 SEXP path) // null terminated path 93 97 { 94 RpLibrary* lib = NULL;98 RpLibrary* lib; 95 99 SEXP ans; 96 100 int handleVal = -1; … … 123 127 124 128 lib = (RpLibrary*) getObject_Void(handleVal); 125 126 129 if (lib == NULL) { 127 130 error("invalid Rappture Library Object"); -
branches/1.3/lang/tcl/pkgIndex.tcl.in
r2298 r3739 5 5 namespace eval Rappture { 6 6 variable version $version 7 variable build "@SVN_VERSION@" 7 8 variable installdir [file normalize $dir] 8 9 } … … 14 15 package provide Rappture $version 15 16 } $dir] 17 -
branches/1.3/lang/tcl/src/Makefile.in
r3729 r3739 40 40 -I$(includedir) 41 41 RAPPTURE_VERSION = @PACKAGE_VERSION@ 42 SVN_VERSION 43 DEFINES 44 42 SVN_VERSION := $(shell svnversion $(srcdir)) 43 DEFINES = -DSVN_VERSION=\"$(SVN_VERSION)\" \ 44 -DRAPPTURE_VERSION=\"$(RAPPTURE_VERSION)\" 45 45 46 46 RANLIB = @RANLIB@ -
branches/1.3/lang/tcl/src/Rappture_Init.c
r3729 r3739 53 53 return TCL_ERROR; 54 54 } 55 if (Tcl_SetVar(interp, "::Rappture::version", RAPPTURE_VERSION,56 TCL_GLOBAL_ONLY | TCL_LEAVE_ERR_MSG) == NULL) {57 return TCL_ERROR;58 }59 if (Tcl_SetVar(interp, "::Rappture::build", SVN_VERSION,60 TCL_GLOBAL_ONLY | TCL_LEAVE_ERR_MSG) == NULL) {61 return TCL_ERROR;62 }63 55 #ifdef notdef 64 56 if (RpLibrary_Init(interp) != TCL_OK) {
Note: See TracChangeset
for help on using the changeset viewer.