Commit a08c4f97 authored by Scott Lembcke's avatar Scott Lembcke Committed by Scott Lembcke

Added the GPL notification to all source files.

2006-08-03  Scott Lembcke <lemb0029@gnome.org>

        * Added the GPL notification to all source files.

        * plug-ins/test.rb: Fixed a spelling error.
parent 1536ca2c
2006-08-04 Scott Lembcke <lemb0029@gnome.org>
* Added the GPL notification to all source files.
* plug-ins/test.rb: Fixed a spelling error.
2006-08-04 Kevin Cozens <kcozens@cvs.gnome.org>
* po/POTFILES.in: Updated list of files
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <ruby.h>
#include <libgimp/gimp.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <ruby.h>
#include <libgimp/gimp.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
/* modules */
extern VALUE mGimp;
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <ruby.h>
#include <libgimp/gimp.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <ruby.h>
#include <libgimp/gimp.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <ruby.h>
#include <libgimp/gimp.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <ruby.h>
#include <libgimp/gimp.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <ruby.h>
#include <libgimp/gimp.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <ruby.h>
#include <gtk/gtk.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <stdlib.h>
#include <stdio.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <ruby.h>
#include <libgimp/gimp.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
......
/* GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
* Copyright (C) 2006 Scott Lembcke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
* 02110-1301, USA.
*/
#include <ruby.h>
#include <libgimp/gimp.h>
......
# GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
# Copyright (C) 2006 Scott Lembcke
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
# 02110-1301, USA.
$KCODE = "UTF8"
require 'gimpext'
......
# GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
# Copyright (C) 2006 Scott Lembcke
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
# 02110-1301, USA.
module Gimp
module GimpOO
module ProcList
......
# GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
# Copyright (C) 2006 Scott Lembcke
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
# 02110-1301, USA.
module PDB
class PDBException < RuntimeError
end
......
# GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
# Copyright (C) 2006 Scott Lembcke
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
# 02110-1301, USA.
require 'gimp.rb'
module RubyFu
......
#!/usr/bin/env ruby
# GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
# Copyright (C) 2006 Scott Lembcke
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
# 02110-1301, USA.
require "rubyfu"
include Gimp
include RubyFu
......
require 'rubyfu'
# GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
# Copyright (C) 2006 Scott Lembcke
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
# 02110-1301, USA.
RubyFu.register(
'ruby-fu-console', #procedure name
'Starts an irb session in a console.', #blurb
......
#!/usr/bin/env ruby
# GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
# Copyright (C) 2006 Scott Lembcke
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
# 02110-1301, USA.
=begin
Translated into Ruby by Masahiro Sakai <s01397ms@sfc.keio.acjp>, 26th Feb 2001
=end
......
#!/usr/bin/env ruby
# GIMP-Ruby -- Allows GIMP plugins to be written in Ruby.
# Copyright (C) 2006 Scott Lembcke
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA
# 02110-1301, USA.
require 'rubyfu'
RubyFu.register(
......@@ -230,7 +248,7 @@ RubyFu.register(
# PDB.plug_in_script_fu_eval(Gimp::Interactive, '(ruby-fu-test-crash 123)')
#end
printf 'Exucution error ... '
printf 'Execution error ... '
test_exception(PDB::ExecutionError){PDB.ruby_fu_test_crash}
Gimp.message('Tests ' + ($failure ? 'failed' : 'successful') + ":\n" + $stdout.string)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment