1. 21 Aug, 2006 1 commit
  2. 14 Aug, 2006 1 commit
    • Scott Lembcke's avatar
      Renamed bool2int_filter() to ruby2int_filter() and added support for nil · 43c68e81
      Scott Lembcke authored
      2006-08-14  Scott Lembcke <lemb0029@cvs.gnome.org>
      
              * gimp-lib/gimp.rb: Renamed bool2int_filter() to ruby2int_filter() and
                added support for nil values. Added Drawables to the
                Param#transform() method. Changed the marshal functions for
                Gimp::RGB to use #marshal_load() and #marshal_dump instead of the
                old marshaling methods. Minor reformatting.
      
              * gimp-lib/gimp_oo.rb: Added the ability to blacklist certain methods
                when creating classes to prevent deprecated procedures from becoming
                methods or to avoid name collisions.
                Removed GimpOO::ClassTemplate#add_constructor() as it's no longer
                needed.
      
              * gimp-lib/gimp_oo_*.rb: Added method blacklists for deprecated
                methods.
      
              * gimp-lib/pdb.rb: Changed verbose mode to also display arguments to
                PDB calls. Some refactoring of the PDB::Procedure class. Interactive
                procedures are now automatically in non-interactive mode. Added a
                PDB.call_interactive() method to call PDB procedures interactively.
      
              * gimp-lib/rubyfu.rb: Procedures with no menu now have their menu
                label defined as their procedure name. Changed return value
                validation to ignore accidental return values for procedures that
                return no values. Minor reformatting.
      
              * deleted plug-ins/rerunfile.rb.
      
              * plug-ins/runfile.rb: Added the ruby-fu-rerunfile procedure from
                rerunfile.rb.
      
              * removed plug-ins/helloworld.rb. This was intended as a tutorial
                and shouldn't have been added in the first place.
      
              * plug-ins/Makefile.am: Removed helloworld.rb and rerunfile.rb.
      
              * plug-ins/*.rb: Added the GPL license to files that were missing it.
                Minor reformatting and updates to reflect changes in
                gimp-lib/pdb.rb.
      43c68e81
  3. 09 Aug, 2006 1 commit
    • Scott Lembcke's avatar
      Moved OO type class definitions to gimp.rb. · e8452778
      Scott Lembcke authored
      2006-08-08  Scott Lembcke <lemb0029@gnome.org>
      
              * gimp-lib/gimp_oo.rb: Moved OO type class definitions to gimp.rb.
      
              * gimp-lib/gimp.rb: Added autoload handles for all OO classes. Added
                Moved conversion of object types into the Gimp::Param class. Added
                the bool2int_filter() method to convert bools into C style bools.
      
              * Added files for OO types. (gimp-lib/gimp_oo_*.rb)
      
              * gimp-lib/Makefile.am: Added OO type files.
      
              * gimp-lib/pdb.rb: Added a call to bool2int() when converting pdb
                arguments. Now true/false can be used when calling procedures.
      
              * gimp-lib/rubyfu.rb: Fixed a bug when registering <Image> plugins.
                Moved the call to open the dialog befor converting any parameter
                types. Added support for running a procedure with the last values.
                Added a call to bool2int_filter() so ruby-fu procedures can return
                booleans.
      
              * plug-ins/: Added new example plugins: gloom.rb, helloworld.rb,
                sunset.rb. Added runfile.rb/rerunfile.rb plugins to aid in plug-in
                development. Added speed.rb plugin to the test scripts.
      
              * gimp-lib/Makefile.am: Added new plugins.
      e8452778
  4. 05 Aug, 2006 1 commit
    • Kevin Cozens's avatar
      Added po directory to the SUBDIRS list. · 77d3a8e6
      Kevin Cozens authored
      2006-08-05  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* Makefile.am: Added po directory to the SUBDIRS list.
      
      	* configure.in: Changed list of supported languages to only en_CA
      	and en_GB until other translations are available.
      
      	* po/POTFILES.in: Added gimp-lib/*.rb files to the list of files
      	that might contain strings requiring translation.
      
      	* po/ChangeLog
      	* po/en_CA.po
      	* po/en_GB.po: Added
      
      	* plug-ins/coolmetal-logo.rb:
      	* plug-ins/sphere.rb: Marked some strings for translation.
      
      	* todo.txt: Removed some completed items. Reordered some items
      	and added a couple of new items.
      77d3a8e6
  5. 03 Aug, 2006 1 commit
    • Kevin Cozens's avatar
      Added some additional items. · 942fb95b
      Kevin Cozens authored
      2006-08-03  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* todo.txt: Added some additional items.
      
      	* Makefile.am
      	* ext/Makefile.am: Updated to build/install ruby-fu-console file
      	needed by irbconsole.rb file.
      
      	* ext/ruby-fu-console.c: Added support file needed by irbconsole.rb
      942fb95b
  6. 28 Jul, 2006 1 commit
  7. 21 Jul, 2006 1 commit
    • Scott Lembcke's avatar
      Removed some unnecesary code. Clicking 'cancel' in the dialog will now · 144431ff
      Scott Lembcke authored
      2006-07-21  Scott Lembcke <lemb0029@gnome.org>
      
              * gimp-lib/rubyfu.rb: Removed some unnecesary code. Clicking 'cancel' in
                the dialog will now work correctly. Interactive procedures that take
                no parameters don't trigger the dialog.
      
              * ext/rbgimpdialog.c: Added a enumeration popup widget. show_dialog()
                now takes an extra parameter for the menu name. The procedure name
                is used as the help_id, and the menu name is used in the dialog title.
                Parameter names now have a ':' appended to their labels.
      
              * plug-ins/test.rb: Added the new parameter type.
      144431ff
  8. 08 Jul, 2006 1 commit
    • Scott Lembcke's avatar
      Added plug-in/test.rb. · b98cc29a
      Scott Lembcke authored
      2006-07-08  Scott Lembcke <lemb0029@gnome.org>
      
              * Added plug-in/test.rb.
      
              * gimp-lib/gimp_oo.rb: Complete re-implementation of gimp OO types.
      
              * gimp-lib/pdb.rb: Changed Exception handling to more closely mirror
                GIMP procedure errors. Added a verbose mode that echoes procedure
                calls.
      
              * Removed plug-ins/hello.rb.
      
              * plug-ins/Makefile.am: Removed plug-ins/hello.rb.
      
              * gimp-lib/gimp.rb: Changes in error handling to reflect
                gimp-lib/pdb.rb.
      b98cc29a
  9. 01 Jul, 2006 1 commit
    • Scott Lembcke's avatar
      Added an id for 'flags'. · 6221bcf9
      Scott Lembcke authored
      2006-07-01  Scott Lembcke <lemb0029@gnome.org>
      
              * ext/ids.c: Added an id for 'flags'.
      
              * ext/structures.c: Added Gimp::Parasite.
      
              * ext/rbgimp.h: Added the new id and structure.
      
              * Added plug-ins/test.rb.
      
              * gimp-lib/gimp.rb: Moved the PDB module to gimp-lib/pdb.rb. Added some
                utility methods to the Gimp::Rgb class. Added Gimp.Color as a shortcut
                for Gimp::Rgb.new. Added the Gimp::Shelf module for persistent
                storage.
      
              * ext/*: Removed // style comments.
      
      	* Deleted enumconvert.rb: Didn't realize that this was still lurking
      	  around. Should never have been submited to CVS in the first place.
      
      	* ext/conversion.c: Removed an accidental debugging change for
      	  converting strings. Began adding functions for parasite conversion.
      6221bcf9
  10. 30 Jun, 2006 1 commit
    • Scott Lembcke's avatar
      Removed all references to array stubs. Arrays are now converted in place. · 39778159
      Scott Lembcke authored
      2006-06-30  Scott Lembcke <lemb0029@gnome.org>
      	* ext/: Removed all references to array stubs. Arrays are now converted in
      	  place.
      
      	* ext/conversion.c: Array conversion changed to be done in place, not
      	  usings stubs.
      
      	* ext/conversion.c: int8arrays are now converted to Ruby strings. That way
      	  they are more usable as data.
      
      	* ext/rbgimpmain.c: Changes is ext/conversion.c no longer requires the
      	  GimpParam arrays to be handled by the GC. They are now immediately
      	  destroyed.
      
      	* ext/: Removed Gimp::ParamRegion structs.
      39778159
  11. 27 Jun, 2006 1 commit
    • Scott Lembcke's avatar
      Added #to_proc to PDB::Procedure. · 3a1520cd
      Scott Lembcke authored
      2006-06-27  Scott Lembcke <lemb0029@gnome.org>
      
      	* gimp-lib/gimp.rb: Added #to_proc to PDB::Procedure.
      
      	* gimp-lib/rubyfu.rb: Added RubyFu::ParamDef with support for default
      	  parameters. Also, required parameters were changed to be added
      	  automatically.
      
      	* plug-ins/*: Minor changes to reflect the changes applied to rubyfu.rb.
      3a1520cd
  12. 25 Jun, 2006 1 commit
    • Scott Lembcke's avatar
      Added ext/arraytypes.c. · fa2936ca
      Scott Lembcke authored
      2006-06-24  Scott Lembcke <lemb0029@gnome.org>
      
      	* ext/Makefile.am: Added ext/arraytypes.c.
      
      	* ext/arraytypes.c: Added ext/arraytypes.c which contains stubs to wrap
           array pointers.
      
      	* ext/conversion.c: Added support for array conversion and ParamRegions,
      	 and changed the behavior of GimpParams2rb() to return an array of
      	 Gimp::Param structs.
      
      	* ext/ids.c: Added additional ids for use with Gimp::ParamRegion structs.
      
      	* ext/rbgimp.c: Moved constant definitions to rbgimpconstants.c and added
      	 additional module functions.
      
      	* ext/rbgimpconstants.c: Enumerations are now defined using
      	 gimp_enums_get_names(). Added additional constants.
      
      	* ext/rbgimpmain.c: GimpParam arrays are now registered with the Ruby GC
      	 so that they are freed at exit. Fixed a couple of bugs pertaining to
      	 exception handling and return values.
      
      	* gimp-lib/gimp.rb.c: Changed code for definition of Gimp::Param and
      	 Gimp::ParamDef. Added type checking abilities to Gimp::Param and
      	 Gimp::ParamDef. Fixed bugs in the type checking and parameter handling of
      	 the PDB module.
      
      	* plug-ins/Makefile.am: Added coolmetal-logo.rb.
      
      	* plug-ins/coolmetal-logo.rb.c: Tried porting the old ruby plugin, still
      	 has some issues with the reflection.
      fa2936ca
  13. 20 Jun, 2006 1 commit