1. 31 Jan, 2007 1 commit
  2. 19 Aug, 2006 2 commits
    • Scott Lembcke's avatar
      Changed all single quotes to double quotes. · ed6653f4
      Scott Lembcke authored
      2006-08-19  Scott Lembcke <slembcke@cvs.gnome.org>
      
              * plug-ins/*.rb: Changed all single quotes to double quotes.
      
              * ext/rbgimpdialog.c: Added an exception when using non-dialog
                friendly types.
      ed6653f4
    • Scott Lembcke's avatar
      Fixed my email address. · 8ba62814
      Scott Lembcke authored
      2006-08-14  Scott Lembcke <slembcke@cvs.gnome.org>
      
              * ChangeLog: Fixed my email address.
      
              * ext/: Merged ids.c and structures.c into definitions.c. Removed
                rbgimpcolorcmyk.c and rbgimpcolorhsv.c.
      
              * ext/Makefile.am: Changes to reflect changes in ext/. Disabled
                rbgimpcolorspace.c.
      
              * ext/conversion.c: Removed conversions for the Gimp::HSV and
                Gimp::CMYK classes.
      
              * ext/rbgimp.*: Minor formating changes. Removed init functions for
                removed/disabled modules.
      
              * ext/rbgimpconstants.c: Moved the line that defines the
                Gimp::EnumNames module outside the loop. Removed the check for the
                "GIMP_" prefix. Added directory constants.
      
              * ext/rbgimpdialog.c: Removed the nothing() function. In
                handle_string_types() removed the 'data' variable and replaced it
                with NULL. Removed gettext() calls as it can now be called
                dynamically from Ruby.
      
              * Changed the way that rb_gimp_main() is used so that plugins that
                don't use an init or quit callback don't define empty callbacks.
      
              * ext/rub-fu-console.c: Added a gettext() call for the window name.
                Added some commenting and rearranged some code for readability.
      
              * gimp-lib/rubyfu.rb: Menu items are now registered using
                RubyFu.menu_register(). Added some constants for common RubyFu
                menupaths. Minor readability changes.
      
              * Added plug-ins/rubyfu_menu.rb to define the Ruby-Fu menu subpaths.
      
              * Removed plug-ins/coolmetal-logo.rb. It's outlived it's usefulness
                for testing.
      
              * plug-ins/Makefile.am: Changes to reflect changes in plug-ins/
      
              * plug-ins/*.rb: Got all non-test plugins gettext ready. Changed all
                to use the new menu registering scheme.
      
              * plug-ins/runfile.rb: Some fixes were needed due to changes in
                gimp-lib/rubyfu.rb.
      
              * plug-ins/sphere.rb: Reconverted so that it uses more of the newer
                features.
      
              * plug-ins/sunset.rb: Changed not to use Context.push/pop. There
                seems to be a bug that prevents custom mode from working correctly
                after the context has been pushed.
      8ba62814
  3. 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
  4. 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
  5. 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
  6. 04 Aug, 2006 3 commits
  7. 03 Aug, 2006 1 commit
    • Scott Lembcke's avatar
      Now sets $KCODE to UTF8. Removed rubyfu.rb from list of loaded modules. · e2d11fd0
      Scott Lembcke authored
      2006-08-03  Scott Lembcke <lemb0029@gnome.org>
      
              * gimp-lib/gimp.rb: Now sets $KCODE to UTF8. Removed rubyfu.rb from list
                of loaded modules.
      
              * gimp-lib/rubyfu.rb: Now loads gimp.rb as a dependency. Creates and END
                block to automatically call RubyFu.main. Added conversion to object
                types for procedure arguments.
      
              * gimp-lib/gimp_oo.rb: Added a Gimp::Param#transform method to convert
                parameters to object types if possible.
      
              * gimp-lib/pdb.rb: Added a call to Gimp::Param#transform on return
                values if possible.
      
              * plug-ins/*.rb: Updated to reflect changes in gimp-lib.
      
              * ext/Makefile.am: Added DLOCALEDIR to AM_CFLAGS.
      
              * ext/rbgimpdialog.c: Added gettext() calls.
      
              * ext/rbgimpmain.c: Added Gettext initialization calls.
      e2d11fd0
  8. 31 Jul, 2006 1 commit
    • Scott Lembcke's avatar
      Added plug-ins/irbconsole.rb. · 7d8a0318
      Scott Lembcke authored
      2006-07-28  Scott Lembcke <lemb0029@gnome.org>
      
              * Added plug-ins/irbconsole.rb.
      
              * plug-ins/Makefile.am: Added irbconsole.rb to the plugins list.
      7d8a0318
  9. 21 Jul, 2006 3 commits
    • Kevin Cozens's avatar
      ext/rbgimp.h Added newline at end of file to quiet compiler. · 29b37cc9
      Kevin Cozens authored
      2006-07-21  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* ext/rbgimp.h
      	* ext/conversion.c: Added newline at end of file to quiet compiler.
      
      	* plug-ins/coolmetal-logo.rb.c: Use ParamDef.FONT instead of
      	ParamDef.STRING to specify the default font to be used.
      29b37cc9
    • 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
    • Scott Lembcke's avatar
      Changed spacing, padding and alignment of the widgets. Also fixed some · a6c827b8
      Scott Lembcke authored
      2006-07-21  Scott Lembcke <lemb0029@gnome.org>
      
              * ext/rbgimpdialog.c: Changed spacing, padding and alignment of the
                widgets. Also fixed some memory leaks where the dialog was not
                destroyed, and collect_results() was not getting called to free
                parameter data.
      
              * plug-ins/test.rb: Filled in parameter descriptions for dialog
                functions.
      a6c827b8
  10. 20 Jul, 2006 1 commit
    • Scott Lembcke's avatar
      Even more parameter types added. · 14b3d80c
      Scott Lembcke authored
      2006-07-20  Scott Lembcke <lemb0029@gnome.org>
      
              * ext/rbgimpdialog.c: Even more parameter types added.
      
              * plug-ins/test.rb: Split the dialog test into two seperate procedures.
                Added the new parameter types to the tests.
      
              * gimp-lib/gimp.rb: Made Gimp.Color a module function so that it's
                available without including the Gimp module.
      
              * gimp-lib/gimp_oo.rb: Put ensure blocks on the paired procedures.
      
              * plug-ins/sphere.rb: Updated to use OO types and new parameter types.
      14b3d80c
  11. 19 Jul, 2006 2 commits
    • Scott Lembcke's avatar
      More parameter types added. · 7ef336d0
      Scott Lembcke authored
      2006-07-19  Scott Lembcke <lemb0029@gnome.org>
      
              * ext/rbgimpdialog.c: More parameter types added.
      
              * plug-ins/test.rb: Added more parameter types to the dialog test
                procedure.
      7ef336d0
    • Scott Lembcke's avatar
      More parameter types added. · 9e8cf164
      Scott Lembcke authored
      2006-07-19  Scott Lembcke <lemb0029@gnome.org>
      
              * ext/rbgimpdialog.c: More parameter types added.
      
              * gimp-lib/rubyfu.rb: Added RubyFu::ParamDef subtypes. Connected the
                dialog code to run for interactive mode.
      
              * plug-ins/test.rb: Added more parameter types to the dialog test
                procedure.
      9e8cf164
  12. 18 Jul, 2006 1 commit
    • Scott Lembcke's avatar
      Added ext/rbgimpdialog.c. · 21c35246
      Scott Lembcke authored
      2006-07-18  Scott Lembcke <lemb0029@gnome.org>
      
              * ext/Makefile.am: Added ext/rbgimpdialog.c.
      
              * Added ext/rbgimpdialog.c.
      
              * ext/conversion.c: Removed some stray blank lines.
      
              * ext/rbgimp.c: Added a call to initialize the dialog code.
      
              * ext/rbgimp.h: Added the dialog init function prototype.
      
              * plug-ins/test.rb: Added a procedure to run the dialog.
      21c35246
  13. 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
  14. 05 Jul, 2006 1 commit
  15. 02 Jul, 2006 2 commits
  16. 01 Jul, 2006 2 commits
    • 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
    • Kevin Cozens's avatar
      Minor reformatting to stop long lines from wrapping. · 24286346
      Kevin Cozens authored
      2006-07-01  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* ChangeLog: Minor reformatting to stop long lines from wrapping.
      
      	* configure.in: Require GIMP > 2.3.0 as it should have been all along.
      
      	* plug-ins/Makefile.am: Moved hello.rb to the list of test scripts.
      	  Changed a tab to spaces.
      24286346
  17. 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
  18. 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
  19. 20 Jun, 2006 2 commits