1. 18 Mar, 2011 2 commits
  2. 25 Feb, 2010 1 commit
  3. 17 Feb, 2010 2 commits
  4. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  5. 27 Oct, 2008 2 commits
    • Michael Natterer's avatar
      menus/text-tool-menu.xml app/actions/text-tool-actions.c add "Text along · c0cb7c14
      Michael Natterer authored
      2008-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* menus/text-tool-menu.xml
      	* app/actions/text-tool-actions.c
      	* app/actions/text-tool-commands.[ch]: add "Text along Path" to the
      	text tool context menu.
      
      	* app/tools/gimptextoptions.[ch]: remove the text along path
      	button here.
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/tools/gimptexttool.[ch]: move public functions together,
      	move all virtual function implementations together and put them in
      	order, made the text along path function public, factor out
      	gimp_text_tool_xy_to_offset() instead of duplicaing this code
      	three times, remove gimp_rectangle_tool_frame_item() because it
      	doesn't belong here.
      
      	* app/tools/gimprectangletool.[ch]: add
      	gimp_rectangle_tool_frame_item() here. Enselic, please process ;)
      
      
      svn path=/trunk/; revision=27444
      c0cb7c14
    • Sven Neumann's avatar
      added new enum GimpTextHintStyle. · 033fcf16
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]: added new enum 
      GimpTextHintStyle.
      
      	* libgimp/gimpenums.c.tail
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/text/gimptext.[ch]: added new property "hint-style". 
      Removed
      	"autohint" property and mapped the boolean property "hinting" to
      	the new enum property "hint-style".
      
      	* app/text/gimptextlayout-render.c 
      (gimp_text_layout_render_flags):
      	use "hint-style".
      
      	* app/tools/gimptextoptions.[ch]: changed tool options 
      accordingly.
      
      	* tools/pdbgen/pdb/text_layer.pdb: deprecated the "hinting" API
      	and introduced getters and setters for "hint-style".
      
      	* app/pdb/text-layer-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimptextlayer_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=27432
      033fcf16
  6. 26 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Merge on-canvas GSoC project: · ee414d9e
      Michael Natterer authored
      2008-10-26  Michael Natterer  <mitch@gimp.org>
      
      	Merge on-canvas GSoC project:
      
      	* configure.in: check for pangocairo.
      
      	* app/Makefile.am
      	* app/text/Makefile.am: add its CFLAGS and LIBS.
      
      	* app/text/gimptext-bitmap.[ch]
      	* app/text/gimptext-private.h
      	* app/text/gimptext-vectors.[ch]
      	* app/text/gimptextlayer.c
      	* app/text/gimptextlayout-render.c
      	* app/text/gimptextlayout.c: port to pangocairo.
      
      	* menus/Makefile.am
      	* menus/text-tool-menu.xml
      	* app/menus/menus.c
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/actions/text-tool-actions.[ch]
      	* app/actions/text-tool-commands.[ch]: add a context menu for the
      	text tool similar to GtkEntry's context menu.
      
      	* app/tools/gimprectangletool.[ch]: add "narrow-mode" property.
      
      	* app/tools/gimptextoptions.[ch]
      	* app/widgets/gimptexteditor.[ch]: take a text buffer for the
      	standalone text editor window instead of creating one internally.
      
      	* app/tools/gimptexttool.[ch]: all the new wonderful on-canvas
      	text editing logic. Wheee!
      
      
      svn path=/trunk/; revision=27419
      ee414d9e
  7. 09 Dec, 2006 1 commit
  8. 28 Aug, 2006 1 commit
  9. 18 May, 2006 1 commit
    • Michael Natterer's avatar
      add tooltips to all hue partition radio buttons. · ac20627c
      Michael Natterer authored
      2006-05-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimphuesaturationtool.c: add tooltips to all hue
      	partition radio buttons.
      
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimpvectoroptions.[ch]: add the widgets that are
      	needed by the tools as members to the options structs instead of
      	attaching them with g_object_set_data().
      
      	* app/tools/gimptexttool.c
      	* app/tools/gimpvectortool.c: access the struct members instead of
      	using g_object_get_data().
      ac20627c
  10. 14 Jan, 2006 1 commit
    • Michael Natterer's avatar
      variant of gimp_config_connect() which allows the connected objects to · 5d8b25a2
      Michael Natterer authored
      2006-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch] (gimp_config_connect_full):
      	variant of gimp_config_connect() which allows the connected
      	objects to have different propertynames.
      
      	* app/widgets/widgets-enums.[ch]: removed enum GimpViewType...
      
      	* app/core/core-enums.[ch]: ...and added it here.
      
      	* app/widgets/gimpviewablebutton.[ch] (gimp_viewable_button_new):
      	added "button_preview_size" parameter so the button and popup
      	preview sizes can be specified separately.
      
      	* app/widgets/gimptemplateeditor.c: changed accordingly.
      
      	* app/widgets/gimpviewablebox.[ch] (gimp_prop_*_box_new):
      	new functions which take additional "view_type_prop" and
      	"view_size_prop" parameters and sync the passed context's
      	properties with the resp. properties of the viewable button.
      
      	* app/paint/gimppaintoptions.[ch]
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimptextoptions.[ch]: added view-type and view-size
      	properties to the options objects and use the new viewable box
      	constructors so the selected view types and sizes are persistant
      	across sessions. Fixes bug #315443.
      5d8b25a2
  11. 02 Mar, 2005 1 commit
  12. 22 Nov, 2004 1 commit
    • Michael Natterer's avatar
      added a "menu_factory" parameter instead of trying to get it from the · 512b1120
      Michael Natterer authored
      2004-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptextoptions.[ch] (gimp_text_options_editor_new):
      	added a "menu_factory" parameter instead of trying to get it from
      	the toplevel GimpDock (which does not exists if the tool options
      	dialog does not exist). Fixes bug #159071.
      
      	* app/tools/gimptexttool.c (gimp_text_tool_editor): pass the
      	menu_factory.
      
      	* app/dialogs/dialogs.c (dialogs_init): pass the global menu
      	factory also when constructing the "toplevel" dialog factory so
      	the above works.
      512b1120
  13. 14 Mar, 2004 1 commit
  14. 13 Mar, 2004 1 commit
    • Sven Neumann's avatar
      use a GimpSizeEntry for the font size. · 285b58de
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptextoptions.[ch]: use a GimpSizeEntry for the
      	font size.
      
      	* app/tools/gimptexttool.c: set the size entry's resolution to the
      	image resolution. Fixes bug #118356.
      285b58de
  15. 11 Mar, 2004 2 commits
    • Sven Neumann's avatar
      redid the color handling. Still not perfect, but it is somewhat cleaner. · fb2d9928
      Sven Neumann authored
      2004-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptextoptions.[ch]: redid the color handling.
      	Still not perfect, but it is somewhat cleaner.
      fb2d9928
    • Sven Neumann's avatar
      made gimp_config_sync() and gimp_config_connect() also work on objects of · 21f26743
      Sven Neumann authored
      2004-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.c: made gimp_config_sync() and
      	gimp_config_connect() also work on objects of different types.
      	Properties with the same name and the same type are synced /
      	connected.
      
      	* app/core/gimpcontext.[ch]: added convenience functions to get/set
      	the font by name.
      
      	* app/tools/gimptextoptions.[ch]: don't hold a GimpText object
      	that duplicates properties like font and color which are in
      	GimpContext already. Instead added all text properties that are
      	controlled from the text tool options.  Handling of the foreground
      	color is somewhat broken and needs a GimpContext wizard (Mitch!).
      
      	* app/text/gimptext.c: blurbs are not any longer needed now that
      	the property widgets are created from the GimpTextOptions.
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/widgets/gimptexteditor.[ch]: use an internal GtkTextBuffer
      	and emit "text-changed" when it changes.
      21f26743
  16. 29 Jun, 2003 1 commit
    • Michael Natterer's avatar
      Getting rid of some legacy filenames: · 8dd2e807
      Michael Natterer authored
      2003-06-29  Michael Natterer  <mitch@gimp.org>
      
      	Getting rid of some legacy filenames:
      
      	* app/core/Makefile.am
      	* app/core/gimptooloptions.[ch]: new files.
      
      	* app/paint/gimppaintoptions.h: changed #include accordingly.
      	#define GIMP_PAINT_OPTIONS_CONTEXT_MASK here.
      
      	* app/tools/paint_options.[ch]
      	* app/tools/tool_options.[ch]: removed these files.
      
      	* app/tools/gimppaintoptions-gui.[ch]
      	* app/tools/gimptooloptions-gui.[ch]: new files.
      
      	* app/tools/gimppainttool.h: removed GIMP_PAINT_TOOL_OPTIONS_MASK
      	define again.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcoloroptions.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.c
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpselectionoptions.[ch]
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimptransformoptions.[ch]
      	* app/tools/tool_manager.c
      	* app/gui/tool-options-dialog.c: changed accordingly.
      
      	* app/tools/tools.c: moved the vector tool before iscissors.
      8dd2e807
  17. 31 Mar, 2003 1 commit
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · a93e91f3
      Sven Neumann authored
      2003-03-31  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-text-dir-ltr-24.png
      	* themes/Default/images/stock-text-dir-rtl-24.png: placeholders
      	for new icons.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      
      	* themes/Default/gtkrc: tweak GtkDialog in "gimp-default-style".
      
      	* app/text/text-enums.[ch]
      	* app/text/gimptext.[ch]
      	* app/text/gimptextlayout.c: added new enum GimpTextDirection and
      	use it instead of PangoDirection.
      
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptexteditor.[ch]: made GimpTextEditor a real widget
      	and added buttons to switch the text direction.
      
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimptexttool.c: moved creation of the text editor to the
      	text tool options, take care of GimpText::base-direction here.
      a93e91f3
  18. 09 Feb, 2003 1 commit
    • Michael Natterer's avatar
      simplified everything a lot by merging the public GimpContextPropType enum · eb6e907b
      Michael Natterer authored
      2003-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.[ch]: simplified everything a lot by
      	merging the public GimpContextPropType enum with the internal
      	anonymous object property id enum. Removed the internal copy_prop
      	functions and handle property copying in a big switch() in
      	gimp_context_copy_property(). Removed the separate signal
      	connections for each property of the parent context and do the
      	same using a single "notify" handler. Emit "notify" signals all
      	over the place.  Removed internal arrays which are no longer
      	needed due to enum merge and copy_property simplification.
      	Removed the array of signal names and use g_signal_name().
      	Removed gimp_context_unset_parent() and allow "parent" being NULL
      	in gimp_context_set_parent().
      
      	* app/tools/tool_manager.c
      	* app/widgets/gimpdevices.c: changed accordingly.
      
      	* libgimptool/gimptooltypes.h: changed GimpToolOptionsGUIFunc to
      	return a GtkWidget (the created tool options widget).
      
      	* libgimptool/gimptoolmodule.c: #include <gtk/gtk.h>
      
      	* app/tools/tool_options.[ch]: removed the "main_vbox" from the
      	GimpToolOptions struct. Changed gimp_tool_options_gui() to create
      	and return the main_vbox.
      
      	* app/tools/tool_manager.c: create the "This Tool has no Options"
      	label here if NULL was passed as "options_gui_func". Attach the
      	options widget to the tool_options object using
      	g_object_set_data().
      
      	* app/gui/tool-options-dialog.c: changed accordingly.
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.[ch]
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimpselectionoptions.[ch]
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimptransformoptions.[ch]
      	* app/tools/gimpvectoroptions.[ch]
      	* app/tools/paint_options.[ch]: return the options vbox from
      	all tool_options_gui functions.
      eb6e907b
  19. 05 Feb, 2003 1 commit
    • Michael Natterer's avatar
      Made GimpToolOptions a GimpContext subclass and objectified all tool · aa9f82d1
      Michael Natterer authored
      2003-02-05  Michael Natterer  <mitch@gimp.org>
      
      	Made GimpToolOptions a GimpContext subclass and objectified
      	all tool options types.
      
      	* app/core/core-types.h: replaced GimpToolOptionsNewFunc by
      	GimpToolOptionsGUIFunc.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* app/core/gimppaintinfo.[ch]: added "GType paint_options_type".
      
      	* app/core/gimptoolinfo.[ch]: added "GType tool_options_type",
      	removed tool_info->context since GimpToolOptions are a GimpContext
      	now. Added "gboolean use_context" as a temp_hack.
      
      	* libgimptool/gimptooltypes.h: added the tool_options_type to
      	the tool registering callback.
      
      	* app/tools/tool_options.[ch]: is a real GimpContext subclass now.
      
      	* app/paint/paint-types.h
      	* app/paint/paint.c: added the paint_options_type to the paint
      	registering stuff.
      
      	* app/paint/gimppaintoptions.[ch]: is a real GimpToolOptions
      	subclass now.
      
      	* app/paint/Makefile.am
      	* app/paint/gimpairbrushoptions.[ch]
      	* app/paint/gimpcloneoptions.[ch]
      	* app/paint/gimpconvolveoptions.[ch]
      	* app/paint/gimpdodgeburnoptions.[ch]
      	* app/paint/gimperaseroptions.[ch]
      	* app/paint/gimpsmudgeoptions.[ch]: new files holding
      	GimpPaintOptions subclasses.
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.[ch]
      	* app/paint/gimpsmudge.[ch]: removed paint options stuff, lots
      	of related changed & cleanups.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.[ch]
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimpvectoroptions.[ch]: new files holding the various
      	tool options classes.
      
      	* app/tools/selection_options.[ch]
      	* app/tools/transform_options.[ch]: made them objects.
      
      	* app/tools/paint_options.[ch]: contains only the paint_options
      	GUI and reset stuff.
      
      	* app/tools/tools-types.h: removed SelectionOptions typedef for
      	now.
      
      	* app/tools/[all tools]: removed the tool options stuff except
      	some GUI constructors. Tons of related changes.
      
      	* app/tools/tool_manager.[ch]: changed tool registration / restore /
      	switching accordingly.
      
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpselectioneditor.c: changed accordingly.
      aa9f82d1