[Gridflow-cvs] [svn] commit: r3297 - in /trunk: Makefile base/main.rb

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Mar 26 11:44:00 EDT 2008


Author: matju
Date: Wed Mar 26 11:43:59 2008
New Revision: 3297

Log:
[#in] and [#out] will become abstractions

Modified:
    trunk/Makefile
    trunk/base/main.rb

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Mar 26 11:43:59 2008
@@ -26,7 +26,7 @@
 
 
 OBJS2 = base/main.o base/grid.o base/bitpacking.o base/flow_objects.o \
-base/number.1.o base/number.2.o base/number.3.o base/number.4.o
+base/number.1.o base/number.2.o base/number.3.o base/number.4.o format/main.o
 
 SYSTEM = $(shell uname -s | sed -e 's/^MINGW.*/NT/')
 DLLIB = gridflow.$(DLEXT)
@@ -121,7 +121,7 @@
 deprecated/@fade.pd: abstractions/\#fade.pd
 	for z in camera_control motion_detection color mouse fade scale_to \
 	apply_colormap_channelwise checkers contrast posterize ravel remap_image solarize spread \
-	rgb_to_greyscale greyscale_to_rgb rgb_to_yuv yuv_to_rgb rotate; do \
+	rgb_to_greyscale greyscale_to_rgb rgb_to_yuv yuv_to_rgb rotate in out; do \
 		cp abstractions/\#$$z.pd deprecated/\@$$z.pd; done
 
 #--------#--------#--------#--------#--------#--------#--------#--------
@@ -135,4 +135,4 @@
 #--------#--------#--------#--------#--------#--------#--------#--------
 
 kloc::
-	wc configure */*.rb
+	wc configure base/*.rb format/*.rb rubyext.rb

Modified: trunk/base/main.rb
==============================================================================
--- trunk/base/main.rb (original)
+++ trunk/base/main.rb Wed Mar 26 11:43:59 2008
@@ -155,7 +155,8 @@
 		for x in ms do r.send_in(-2, *x) end
 		r
 	end
-	def inspect; if args then "[#{args}]" else super end end
+	#def inspect; if args then "[#{args}]" else super end end
+	def inspect; "some object" end
 	def initialize(*argv)
 		@properties = {}
 		@init_messages = []
@@ -238,7 +239,6 @@
   #grade #redim #import #export #export_list #cast
   #scale_by #downscale_by #draw_polygon #draw_image #layer
   #print #pack #export_symbol
-  #in #out
 ).each {|k|
  #rotate
 	GridFlow::FObject.name_lookup(k).add_creator k.gsub(/#/,"@")
@@ -255,7 +255,6 @@
     oc = GridFlow::FObject
     obj = (case obj; when oc; self.args; else self      .inspect end)
     qla = (case obj; when oc; self.args; else self.class.inspect end)
-    #begin raise; rescue Exception => e; end
     raise NameError, "undefined method \"#{name}\" for #{obj} in class #{qla}"#, ["hello"]+e.backtrace
   end
 end



More information about the Gridflow-cvs mailing list