1. 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
  2. 26 Apr, 2005 1 commit
  3. 25 Apr, 2005 3 commits
  4. 24 Apr, 2005 3 commits
  5. 21 Apr, 2005 1 commit
  6. 19 Apr, 2005 3 commits
  7. 18 Apr, 2005 2 commits
  8. 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
  9. 16 Apr, 2005 7 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
    • Sven Neumann's avatar
      let pdbgen create the code to initialize the variables. · ffd655fe
      Sven Neumann authored
      2005-04-16  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/vectors.pdb: let pdbgen create the code to
      	initialize the variables.
      
      	* app/pdb/vectors_cmds.c: regenerated.
      ffd655fe
  10. 15 Apr, 2005 3 commits
    • Michael Natterer's avatar
    • Michael Natterer's avatar
      Added loading of Photoshop brushes. Fixes bug #163047: · 4ffe1f03
      Michael Natterer authored
      2005-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Added loading of Photoshop brushes. Fixes bug #163047:
      
      	* app/core/Makefile.am
      	* app/core/gimpbrush-load.[ch]: new files holding all brush
      	loading code. Added .abr loader based on a patch by Adrian
      	Likins. Didn't add a new brush subclass as in the original patch,
      	but only a loading function which loads the brushes into standard
      	GimpBrush objects. Did misc fixes to the code, needs further
      	cleanup.
      
      	* app/core/gimpbrush.[ch]: removed brush loading code here.
      
      	* app/core/gimpbrushpipe.c: changed #includes accordingly.
      
      	* app/core/gimp.c (gimp_real_initialize): register the new load
      	functions and their extensions with the brush factory.
      4ffe1f03
    • Simon Budig's avatar
      NULLified the Keyboard Shortcut for the new rect select tool (clash with · 7295b9ce
      Simon Budig authored
      2005-04-15  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpnewrectselecttool.c: NULLified the Keyboard
      	Shortcut for the new rect select tool (clash with the Crop tool).
      7295b9ce
  11. 14 Apr, 2005 7 commits
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 5a9dbb44
      William Skaggs authored
      	* app/dialogs/image-new-dialog.c
      	* app/dialogs/image-scale-dialog.c
      	* app/widgets/gtkhwrapbox.c
      	* app/widgets/gtkvwrapbox.c: s/choosen/chosen/g; fixes bug #300608.
      5a9dbb44
    • Sven Neumann's avatar
      don't call gimp_display_shell_scale() if the display isn't completely · 1f137406
      Sven Neumann authored
      2005-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_set_property):
      	don't call gimp_display_shell_scale() if the display isn't
      	completely setup yet.
      
      	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
      	hack around to find out whether we should pass the pointer location
      	or the center of the display to gimp_display_shell_scale_to().
      1f137406
    • Sven Neumann's avatar
      6d471b92
    • Sven Neumann's avatar
      changed to use the location of the pointer instead of the display center. · 2f753123
      Sven Neumann authored
      2005-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
      	changed to use the location of the pointer instead of the display
      	center. This is the behaviour requested in bug #79384.
      2f753123
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-callbacks.c reduced code duplication. · f595dfa7
      Sven Neumann authored
      2005-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-scale.[ch]: reduced code duplication.
      f595dfa7
    • Sven Neumann's avatar
      changed to keep the point under the mouse at the same location, rather · 2db22a50
      Sven Neumann authored
      2005-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale_to):
      	changed to keep the point under the mouse at the same location,
      	rather than to center it. Also added API docs.
      2db22a50
    • Simon Budig's avatar
      Started a PDB api for vectors/strokes. Not yet functional, this commit is · 5658edd0
      Simon Budig authored
      2005-04-14  Simon Budig  <simon@gimp.org>
      
      	Started a PDB api for vectors/strokes. Not yet functional, this
      	commit is to get the infrastructure up and running.
      
      	* app/vectors/gimpstroke.[ch]
      	* app/vectors/gimpvectors.[ch]: Added IDs to the strokes
      
      	* tools/pdbgen/pdb.pl: corrected "vectors" type, deleted "path" type.
      	* tools/pdbgen/pdb/image.pdb: added gimp_image_get_vectors()
      	* tools/pdbgen/pdb/vectors.pdb: New file for the vectors API
      	(just a stub for now)
      
      	* tools/pdbgen/Makefile.am: Added vectors.pdb
      	* tools/pdbgen/groups.pl: regenerated.
      
      	* plug-ins/script-fu/siod-wrapper.c: Enable the Path/Vectors type.
      
      	* libgimp/gimpvectors_pdb.[ch]
      	* app/pdb/vectors_cmds.c: new autogenerated files.
      
      	* libgimp/Makefile.am
      	* app/pdb/Makefile.am: Added new autogenerated file.
      
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpimage_pdb.[ch]
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c: regenerated.
      5658edd0