1. 14 Jul, 2004 19 commits
    • Michael Natterer's avatar
      app/app-docs.sgml app/app-sections.txt updated and reviewed. · 8098af32
      Michael Natterer authored
      2004-07-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt
      	* app/app.types: updated and reviewed.
      8098af32
    • Philip Lafleur's avatar
      Fixed erroneously reported warning message when saving indexed layers with · 6f6c71d0
      Philip Lafleur authored
      2004-07-14  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* plug-ins/common/png.c:
      	* plug-ins/common/mng.c: Fixed erroneously reported warning
      	message when saving indexed layers with an alpha channel but
      	no transparent pixels.
      6f6c71d0
    • Sven Neumann's avatar
      register a log handler for the "Gimp-Actions" domain. · deb8f7bf
      Sven Neumann authored
      2004-07-14  Sven Neumann  <sven@gimp.org>
      
      	* app/app_procs.c (app_run): register a log handler for the
      	"Gimp-Actions" domain.
      deb8f7bf
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · b7e75c5d
      William Skaggs authored
      	* devel-docs/objects.txt: . . . and removed because it is
      	redundant with devel-docs/app/app.hierarchy.
      b7e75c5d
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 8aeb8191
      William Skaggs authored
      	* devel-docs/objects.txt:  added file containing a map of Gimp's
      	GObject hierarchy.
      8aeb8191
    • Michael Natterer's avatar
      massively changed: removed message_ids, the message mem chunk and all · 178d7d3f
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpstatusbar.[ch]: massively changed: removed
      	message_ids, the message mem chunk and all signals. Added new
      	function gimp_statusbar_replace() which updates a message without
      	moving it to the top of the stack. Fixes bug #120175.
      
      	* app/display/gimpdisplayshell-title.[ch]: renamed
      	gimp_display_shell_update_title() to
      	gimp_display_shell_title_update() and switched from pop()/push()
      	to replace() so the title message keeps its place in the stack.
      	Added new function gimp_display_shell_title_init() which push()es
      	the title message to the stack.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): call
      	gimp_display_shell_title_init() so the "title" message is at the
      	bottom of the stack.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c: changed accordingly.
      178d7d3f
    • Sven Neumann's avatar
      plug-ins/script-fu/script-fu-console.[ch] plug-ins/script-fu/script-fu.c · 6d4d038f
      Sven Neumann authored
      2004-07-14  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-console.[ch]
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/script-fu/siod-wrapper.[ch]
      	* plug-ins/script-fu/siod/slib.c: applied a patch from Kevin
      	Cozens that removes an unneeded pipe which was causing problems
      	on long output from the SIOD interpreter (bug #139200). Also
      	shortened the welcome message.
      6d4d038f
    • Sven Neumann's avatar
      GUI polishing. · 7314f2d7
      Sven Neumann authored
      2004-07-14  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/pagecurl/pagecurl.c: GUI polishing.
      7314f2d7
    • Shlomi Fish's avatar
      Added more underscores to identifiers. Fixed some of the style (added · 9c8fd71d
      Shlomi Fish authored
      * plug-ins/gimpressionist/: Added more underscores to identifiers.
      Fixed some of the style (added whitespace before the '(' in function
      calls)
      9c8fd71d
    • Philip Lafleur's avatar
      Now writes a global palette chunk, and empty palette chunks for the frames · df393e06
      Philip Lafleur authored
      2004-07-14  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* plug-ins/common/mng.c: Now writes a global palette chunk, and
      	empty palette chunks for the frames that use it. This saves a
      	bit of diskspace.
      df393e06
    • Michael Natterer's avatar
      added properties "gimp", "id", "width", "height" and "base-type". Moved · 87b5322f
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c: added properties "gimp", "id", "width",
      	"height" and "base-type". Moved all code from gimp_image_new()
      	to GObject::constructor().
      
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo-push.c: set "width", "height" and
      	"base-type" with g_object_set() so "notify" is emitted on the
      	properties.
      
      	* app/core/gimpimage-undo.c (gimp_image_undo_pop_stack):
      	freeze/thaw property notifications around undoing/redoing so they
      	are not emitted in the middle of the undo operation.
      87b5322f
    • Michael Natterer's avatar
      converted tabs to spaces, cleanup, reviewed new API docs. · 8e2e464f
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.c: converted tabs to spaces, cleanup,
      	reviewed new API docs.
      8e2e464f
    • Sven Neumann's avatar
      applied a patch done by Brion Vibber and Philip Lafleur that fixes loading · 00fed8dc
      Sven Neumann authored
      2004-07-14  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/tiff.c: applied a patch done by Brion Vibber
      	and Philip Lafleur that fixes loading of CMYK TIFF images on
      	big-endian hardware (bug #147328).
      00fed8dc
    • Philip Lafleur's avatar
      Properly check the return value of find_unused_ia_color(). The plugin will · cf6ae919
      Philip Lafleur authored
      2004-07-14  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* plug-ins/common/mng.c (respin_cmap): Properly check the return
      	value of find_unused_ia_color(). The plugin will now save indexed
      	MNGs correctly; fixes bug #139947. Also converted tabs to spaces.
      cf6ae919
    • Michael Natterer's avatar
      Code review & cleanup: · fe9d9be6
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	Code review & cleanup:
      
      	* app/config/gimpguiconfig.[ch]: removed transparency-size,
      	transparency-type and snap-distance properties...
      
      	* app/config/gimpdisplayconfig.[ch]: ...and added them here.
      
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpmovetool.c: changed accordingly.
      
      	* app/core/gimpimage-scale.[ch] (gimp_layer_scale_check): added a
      	"max_memsize" parameter instead of looking it up in GimpGuiConfig.
      
      	* app/actions/image-commands.c: changed accordingly.
      
      	* app/core/gimparea.c
      	* app/core/gimpdrawable.c: converted tabs to spaces, cleanup.
      
      	* app/core/gimpprojection.[ch]: renamed IdleRenderStruct to
      	GimpProjectionIdleRender, reordered functions, cleanup.
      
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplay.c: removed unused #includes.
      
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpdisplayshell-close.c: renamed
      	shell->warning_dialog to shell->close_dialog, some random
      	cleanups.
      
      	* app/display/gimpdisplayshell-handlers.c
      	* app/widgets/gimpselectioneditor.c: minor coding style cleanup.
      fe9d9be6
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 53249872
      William Skaggs authored
      	* app/core/gimpitem.c: added documentation comments to some
      	of the functions.
      53249872
    • Michael Natterer's avatar
      fixed broken formatting. · 17f1dc11
      Michael Natterer authored
      17f1dc11
    • Michael Natterer's avatar
      updated. · 79645185
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: updated.
      79645185
    • Michael Natterer's avatar
      app/display/Makefile.am new files for gimp_display_shell_close() and its · 2226ddf7
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-close.[ch]: new files for
      	gimp_display_shell_close() and its dialog & callback.
      
      	* app/display/gimpdisplayshell.[ch]: removed from here.
      
      	* app/actions/view-actions.c (view_close_view_cmd_callback):
      	changed accordingly.
      2226ddf7
  2. 13 Jul, 2004 21 commits
    • Sven Neumann's avatar
      more code cleanup and some GUI polishing · 4d91ca54
      Sven Neumann authored
      4d91ca54
    • Sven Neumann's avatar
      code cleanup. Use enums instead of a plethora of booleans. Added some · 2f16b5f8
      Sven Neumann authored
      2004-07-14  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/pagecurl/pagecurl.c: code cleanup. Use enums instead of
      	a plethora of booleans. Added some macros for readability. Allow
      	to use a reversed gradient for colorizing the curl.
      2f16b5f8
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new interface which has · 54cc251b
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimppickable.[ch]: new interface which has
      	get_image_type(), get_tiles() and get_color_at() methods.
      
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimagemap.[ch]
      	* app/core/gimpprojection.[ch]: implement GimpPickableInterface
      	and removed public get_colot_at() functions.
      
      	* app/core/gimpimage-pick-color.[ch]: removed typedef
      	GimpImagePickColorFunc and gimp_image_pick_color_by_func(). Use
      	gimp_pickable_pick_color() instead.
      
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-crop.c
      	* app/gui/info-window.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/widgets/gimpselectioneditor.c: use GimpPickable functions
      	instead of the various get_color_at() functions. Simplifies code
      	which has a "sample_merged" boolean. Various cleanups.
      54cc251b
    • Shlomi Fish's avatar
      plug-ins/gimpressionist/presets.c: Added underscores between · 0c3377bc
      Shlomi Fish authored
      words in function names according to the GIMP's (and common
      sense) convention.
      0c3377bc
    • Shlomi Fish's avatar
      Moved the global declarations of img_has_alpha and create_colorpage to · 8252d388
      Shlomi Fish authored
      * plug-ins/gimpressionist/: Moved the global declarations of
      img_has_alpha and create_colorpage to more specialized headers.
      8252d388
    • Shlomi Fish's avatar
      Added the paper.h header for the functions defined in the paper.c module. · 3aa90e28
      Shlomi Fish authored
      * plug-ins/gimpressionist/: Added the paper.h header for the functions
      defined in the paper.c module. (thus removing more declarations
      from gimpressionist.h)
      3aa90e28
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 784dde64
      William Skaggs authored
      	* plug-ins/gfig/gfig-dialog.c
      	* plug-ins/gfig/gfig-preview.[ch}
      	* plug-ins/gfig/gfig.h: Made Cancel work properly.  Moved "show grid",
      	"snap to grid", and "show image" checkbuttons back onto main
      	interface.  Eliminated GtkPreview and removed undef of
      	GTK_DISABLE_DEPRECATED from gfig-preview.c.  Removed some
      	unused code.
      784dde64
    • Sven Neumann's avatar
      use gtk_widget_queue_draw_area() instead of the deprecated · 93d329db
      Sven Neumann authored
      2004-07-13  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gflare/gflare.c (preview_handle_idle): use
      	gtk_widget_queue_draw_area() instead of the deprecated
      	gtk_widget_draw() routine.
      
      	* plug-ins/gimpressionist/orientmap.c
      	* plug-ins/gimpressionist/paper.c
      	* plug-ins/gimpressionist/sizemap.c: use gtk_widget_queue_draw()
      	instead of the deprecated gtk_widget_draw() routine.
      93d329db
    • Shlomi Fish's avatar
      plug-ins/gimpressionist/preview.c Eliminated two compile-time warnings. · ce4319ca
      Shlomi Fish authored
      * plug-ins/gimpressionist/preview.c
      * plug-ins/gimpressionist/sizemap.c:
      Eliminated two compile-time warnings.
      ce4319ca
    • Michael Natterer's avatar
      *** empty log message *** · c5ec0d4f
      Michael Natterer authored
      c5ec0d4f
    • Sven Neumann's avatar
      added file_open_location_dialog_show to make the scanner link again. · f1706f09
      Sven Neumann authored
      2004-07-13  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am (unused_symbols): added
      	file_open_location_dialog_show to make the scanner link again.
      f1706f09
    • Sven Neumann's avatar
      declared GimpPixmap as deprecated. · 28cbe15e
      Sven Neumann authored
      2004-07-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppixmap.[ch]: declared GimpPixmap as deprecated.
      
      	* libgimpwidgets/gimpwidgets.[ch]: ditto for gimp_pixmap_button_new().
      
      	* plug-ins/Lighting/ChangeLog: removed outdated and unused ChangeLog.
      
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/Lighting/*.xpm: removed XPM files...
      
      	* configure.in
      	* plug-ins/Lighting/images: ... and added them as PNG images here.
      	These should be redone with antialiased edges.
      
      	* plug-ins/Lighting/lighting_stock.[ch]
      	* plug-ins/Lighting/lighting_ui.c: register stock icons and use
      	those instead of GimpPixmaps.
      
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/MapObject/*.xpm: removed duplicated XPM files.
      
      	* plug-ins/MapObject/mapobject_stock.[ch]: register stock icons
      	reusing the generated header from the Lighting plug-in.
      
      	* plug-ins/MapObject/mapobject_ui.c: use them.
      
      	* plug-ins/pagecurl/pagecurl.c: undef GIMP_DISABLE_DEPRECATED until
      	GimpPixmap has been replaced here as well.
      28cbe15e
    • Shlomi Fish's avatar
      fixed Bug # 147483 (gimpressionist will delete global presets if the user · 00645d10
      Shlomi Fish authored
      * plug-ins/gimpressionist/presets.c: fixed Bug # 147483 (gimpressionist
      will delete global presets if the user running GIMP has priviliges to
      do so ). This was done by creating a function to check if a preset is
      global, and by making sure the delete button is in-sensitive when this
      is the case.
      00645d10
    • Sven Neumann's avatar
      libgimpwidgets/gimpcolorbutton.c libgimpwidgets/gimpcolornotebook.c · 45a7f5e4
      Sven Neumann authored
      2004-07-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpcolornotebook.c
      	* libgimpwidgets/gimpcolorscale.c
      	* libgimpwidgets/gimpcolorscales.c
      	* libgimpwidgets/gimpcolorselect.c
      	* libgimpwidgets/gimpcolorselection.c
      	* libgimpwidgets/gimpframe.c
      	* libgimpwidgets/gimppickbutton.c
      	* libgimpwidgets/gimpunitmenu.c: some code review and cosmetics.
      45a7f5e4
    • Shlomi Fish's avatar
      normalized some of brush.c's identifiers (= variable names and function · 6d3d2129
      Shlomi Fish authored
      * plug-ins/gimpressionist/*.[ch]: normalized some of brush.c's
      identifiers (= variable names and function name)
      6d3d2129
    • Sven Neumann's avatar
      handle NULL string values. · 6e77b577
      Sven Neumann authored
      2004-07-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-utils.c (gimp_g_value_get_memsize): handle NULL
      	string values.
      6e77b577
    • Sven Neumann's avatar
      override the output_message error handler in order to propagate warnings · c7f25d0c
      Sven Neumann authored
      2004-07-13  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/jpeg.c: override the output_message error
      	handler in order to propagate warnings to the user interface
      	(related to bug #145212).
      c7f25d0c
    • Sven Neumann's avatar
    • Sven Neumann's avatar
      added new function gimp_g_value_get_memsize() that attempts to calculate · f274dce2
      Sven Neumann authored
      2004-07-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-utils.[ch]: added new function
      	gimp_g_value_get_memsize() that attempts to calculate the memory
      	requirements for a GValue.
      
      	* app/text/gimptextundo.c (gimp_text_undo_get_memsize): use the
      	new function to obtain a better estimate for the size of the text
      	undo.
      f274dce2
    • Sven Neumann's avatar
      plugged a tiny memory leak. · 11795e78
      Sven Neumann authored
      2004-07-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_create_layer): plugged
      	a tiny memory leak.
      11795e78
    • Sven Neumann's avatar
      resurrected some bit-rotting debug code. Might become useful one day. · 5cff1016
      Sven Neumann authored
      2004-07-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-undo.c: resurrected some bit-rotting debug
      	code. Might become useful one day.
      5cff1016