1. 04 May, 2005 2 commits
    • Michael Natterer's avatar
      new function which finds a proc_def in a GSList by its procedure name. · 4f2e5afc
      Michael Natterer authored
      2005-05-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-proc-def.[ch] (plug_in_proc_def_find): new
      	function which finds a proc_def in a GSList by its procedure name.
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* tools/pdbgen/pdb/plug_in.pdb: use it instead of iterating and
      	comparing manually.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      
      	* app/plug-in/plug-in-def.c: minor cleanups.
      4f2e5afc
    • Sven Neumann's avatar
      emit "color-clicked" on first click. · 33a06ab5
      Sven Neumann authored
      2005-05-04  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpfgbgeditor.c (gimp_fg_bg_editor_button_press):
      	emit "color-clicked" on first click.
      
      	* app/widgets/gimptoolbox.c: changed tooltip accordingly.
      33a06ab5
  2. 03 May, 2005 2 commits
    • Michael Natterer's avatar
      new function. · e103a880
      Michael Natterer authored
      2005-05-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-proc-def.[ch] (plug_in_proc_def_set_icon):
      	new function.
      
      	* tools/pdbgen/pdb/plug_in.pdb: removed the same code here and use
      	the new function.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      e103a880
    • Michael Natterer's avatar
      include the parent class, not gimpeditor.h · 3184148c
      Michael Natterer authored
      2005-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolordisplayeditor.h: include the parent class,
      	not gimpeditor.h
      
      	* app/widgets/gimpcolordisplayeditor.c: include gimpeditor.h here
      3184148c
  3. 29 Apr, 2005 3 commits
  4. 28 Apr, 2005 4 commits
  5. 27 Apr, 2005 9 commits
    • Sven Neumann's avatar
      spare a few CPU cycles. · 5953d527
      Sven Neumann authored
      2005-04-28  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-render.c: spare a few CPU cycles.
      5953d527
    • Sven Neumann's avatar
      removed redundant check. · 928b4f23
      Sven Neumann authored
      2005-04-27  Sven Neumann  <sven@gimp.org>
      
      	* app/base/tile-manager.c (tile_manager_get_tile): removed
      	redundant check.
      
      	* app/display/gimpdisplayshell-render.c: don't access the next
      	tile if we are at the end of the render loop anyway.
      928b4f23
    • Sven Neumann's avatar
      removed unused byte_order variables. · 1b142e3b
      Sven Neumann authored
      2005-04-27  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-render.c: removed unused byte_order
      	variables.
      1b142e3b
    • Sven Neumann's avatar
      declared the return value of gimp_image_get_colormap() as const. · 61d6c935
      Sven Neumann authored
      2005-04-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-colormap.[ch]: declared the return value of
      	gimp_image_get_colormap() as const.
      
      	* app/display/gimpdisplayshell-render.c: added some const qualifiers.
      61d6c935
    • Sven Neumann's avatar
      free all memory allocated for GimpClipboard. · 55be97a0
      Sven Neumann authored
      2005-04-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpclipboard.c (gimp_clipboard_free): free all
      	memory allocated for GimpClipboard.
      
      	* libgimpwidgets/gimppatheditor.c (gimp_path_editor_set_path):
      	always free old_path.
      55be97a0
    • Sven Neumann's avatar
      don't call va_arg() too often. · 5978e395
      Sven Neumann authored
      2005-04-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpunitstore.c: don't call va_arg() too often.
      
      	* libgimpconfig/gimpcolorconfig.c (gimp_color_config_finalize):
      	free the string allocated for the display module.
      5978e395
    • Sven Neumann's avatar
      plugged a small memleak. · cc3c29be
      Sven Neumann authored
      2005-04-27  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: plugged a small memleak.
      
      	* app/pdb/image_cmds.c: regenerated.
      cc3c29be
    • Sven Neumann's avatar
      app/actions/context-actions.c applied a patch from Aron Stansvik that adds · 63e7eac7
      Sven Neumann authored
      2005-04-27  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/context-actions.c
      	* app/actions/context-commands.[ch]: applied a patch from Aron
      	Stansvik that adds actions to control hue, saturation and value
      	of the foreground and background colors.
      63e7eac7
    • Sven Neumann's avatar
      use the same terms for the checkerboard parameters as used in the · 9979c3b5
      Sven Neumann authored
      2005-04-27  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/preferences-dialog.c: use the same terms for the
      	checkerboard parameters as used in the GimpPreviewArea popup menu
      	(bug #302141).
      9979c3b5
  6. 26 Apr, 2005 1 commit
  7. 25 Apr, 2005 3 commits
  8. 24 Apr, 2005 3 commits
  9. 21 Apr, 2005 1 commit
  10. 19 Apr, 2005 3 commits
  11. 18 Apr, 2005 2 commits
  12. 17 Apr, 2005 1 commit
    • Sven Neumann's avatar
      use gimp_spin_button_new() which calls gtk_spin_button_set_numeric() for · b73e908c
      Sven Neumann authored
      2005-04-17  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpsizeentry.c: use gimp_spin_button_new() which
      	calls gtk_spin_button_set_numeric() for us. Part of a fix for bug
      	#300935.
      
      	* libgimpwidgets/gimpwidgets.c: improved the API docs for
      	gimp_spin_button_new().
      
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimplevelstool.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/script-fu/script-fu-interface.c
      	* plug-ins/winsnap/winsnap.c: use gimp_spin_button_new().
      b73e908c
  13. 16 Apr, 2005 6 commits
    • Sven Neumann's avatar
      app/widgets/gimpaction.h app/widgets/gimpactiongroup.h · 1967e63d
      Sven Neumann authored
      2005-04-17  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpaction.h
      	* app/widgets/gimpactiongroup.h
      	* app/widgets/gimpcellrendereraccel.h
      	* app/widgets/gimpenumaction.h
      	* app/widgets/gimppluginaction.h
      	* app/widgets/gimpstringaction.h
      	* app/widgets/gimpuimanager.h: declare get_type() function as
      	G_GNUC_CONST.
      1967e63d
    • Michael Natterer's avatar
      no need to get base_config twice in the same function. · 4e92a6cf
      Michael Natterer authored
      2005-04-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.c (gimp_context_real_set_brush)
      	(gimp_context_real_set_pattern): no need to get base_config twice
      	in the same function.
      
      	* app/widgets/gimpblobeditor.h: include the parent class.
      
      	* app/widgets/gimpdataeditor.c (gimp_data_editor_init): set the
      	name entry insensitive.
      4e92a6cf
    • Michael Natterer's avatar
      implement GimpDocked::get_title() and add "(read only)" to the dialog's · b8e8822c
      Michael Natterer authored
      2005-04-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdataeditor.[ch]: implement
      	GimpDocked::get_title() and add "(read only)" to the dialog's
      	title if the data is not editable. Fixes bug #164003.
      
      	(gimp_data_editor_real_set_data): call gimp_docked_title_changed()
      	when the editable state changes.
      
      	(struct GimpDataEditorClass): added "const gchar *title" member.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppaletteeditor.c (class_init): set titles.
      b8e8822c
    • Sven Neumann's avatar
      use a GimpFileEntry to configure the web-browser setting. · 83234bda
      Sven Neumann authored
      2005-04-16  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/preferences-dialog.c: use a GimpFileEntry to
      	configure the web-browser setting. GtkFileChooserButton just
      	doesn't work for it.
      83234bda
    • Sven Neumann's avatar
      added an icon to the action button. · 971c7212
      Sven Neumann authored
      2005-04-16  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/desaturate-dialog.c: added an icon to the action
      	button.
      
      	* app/vectors/gimpvectors-import.c: reduce the number of string
      	comparisons by using switches on the first character.
      971c7212
    • Sven Neumann's avatar
      Applied a patch (with minor modifications) from Karine Delvare that makes · b7ad665c
      Sven Neumann authored
      2005-04-16  Sven Neumann  <sven@gimp.org>
      
      	Applied a patch (with minor modifications) from Karine Delvare
      	that makes it possible to choose between various ways to remove
      	color from a drawable (bug #155507):
      
      	* libgimpbase/gimpbaseenums.h: added new enum GimpDesaturateMode.
      
      	* libgimpbase/gimpbaseenums.c
      	* libgimp/gimpenums.c.tail
      	* plug-ins/pygimp/gimpenums.py
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/gimpdrawable-desaturate.[ch]: implement other formulas
      	to remove colors from a drawable.
      
      	* tools/pdbgen/pdb/color.pdb: let gimp_desaturate() call
      	gimp_drawable_desaturate() with GIMP_DESATURATE_LIGHTNESS so that
      	it behaves like it always did.
      
      	* app/pdb/color_cmds.c: regenerated.
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/desaturate-dialog.[ch]: new files that define a simple
      	dialog to choose a mode for desaturation.
      
      	* app/actions/drawable-actions.[ch]: use the new dialog.
      b7ad665c