1. 14 Oct, 2003 15 commits
    • Sven Neumann's avatar
      app/app-docs.sgml updated. · bf2abc08
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt: updated.
      bf2abc08
    • Michael Natterer's avatar
      fixed warning (missing GIMP_TEMPLATE() cast). · 9782629f
      Michael Natterer authored
      2003-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimptemplateeditor.c (gimp_template_editor_new):
      	fixed warning (missing GIMP_TEMPLATE() cast).
      9782629f
    • Sven Neumann's avatar
      added blurbs for most properties. · 7759f7ea
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimptemplate.c (gimp_template_class_init): added blurbs
      	for most properties.
      
      	* app/config/gimprc-blurbs.h: removed an unused blurb.
      7759f7ea
    • Sven Neumann's avatar
      made "perfect-mouse" the default and changed defaults for image title and · 459bebba
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpdisplayconfig.c: made "perfect-mouse" the default
      	and changed defaults for image title and image statusbar.
      459bebba
    • Michael Natterer's avatar
      add the new context to gimp->context_list in gimp_context_constructor(), · e8508ded
      Michael Natterer authored
      2003-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.c: add the new context to gimp->context_list
      	in gimp_context_constructor(), not in set_property(). Cleanup.
      
      	* app/tools/gimptextoptions.c: added finalizer so we don't leak
      	the options' GtkTextBuffer and GimpText objects. Cleanup.
      e8508ded
    • Sven Neumann's avatar
      set the initial stock icon on the viewable-button. · d9e5024a
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimptemplateeditor.c (gimp_template_editor_new):
      	set the initial stock icon on the viewable-button.
      d9e5024a
    • Helvetix Victorinox's avatar
      app/composite/gimp-composite-generic.c Tweaked a few more documentation · 487324b3
      Helvetix Victorinox authored
      * app/composite/gimp-composite-generic.c
      * app/composite/gimp-composite.c:
        Tweaked a few more documentation comments.
      487324b3
    • Sven Neumann's avatar
      app/core/gimpimage-grid.c app/core/gimpimage.[ch] removed the · 3ac7d14d
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-grid.c
      	* app/core/gimpimage.[ch]
      	* app/gui/grid-dialog.c: removed the "grid_changed" signal from
      	GimpImage.
      
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notifications from the image grid instead.
      3ac7d14d
    • Sven Neumann's avatar
      removed gimp_config_copy_properties() and added the more intelligent · 737da424
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch]: removed
      	gimp_config_copy_properties() and added the more intelligent
      	gimp_config_sync() instead.
      
      	* app/config/Makefile.am
      	* app/config/config-types.h
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: replaced default image properties
      	with a single GimpTemplate object property. Changed the
      	set_property function to not replace aggregate objects but call
      	gimp_config_sync() instead.
      
      	* app/tools/gimptextoptions.c (gimp_text_options_set_property):
      	same change here.
      
      	* app/config/gimpconfig.[ch]: changed return value of
      	gimp_config_duplicate() to gpointer to avoid some casts that only
      	made the code harder to read.
      
      	* app/widgets/gimptemplateeditor.[ch]: don't keep an internal copy
      	here but edit the GimpTemplate passed when the editor was
      	constructed.
      
      	* app/gui/preferences-dialog.c: use a GimpTemplateEditor to allow
      	editing of the default image paramaters.
      
      	* app/config/gimprc.c
      	* app/core/core-types.h
      	* app/core/gimp.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-grid.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage.c
      	* app/core/gimptemplate.[ch]
      	* app/gui/file-new-dialog.c
      	* app/gui/grid-dialog.c
      	* app/gui/info-window.c
      	* app/gui/resize-dialog.c
      	* app/gui/templates-commands.[ch]
      	* app/gui/tool-options-commands.c
      	* app/text/gimptextlayer.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimptemplateview.c
      	* app/xcf/xcf-load.c: changed accordingly.
      737da424
    • Sven Neumann's avatar
      removed "grid_changed" signal. The user of GimpGridEditor can connect to · f0e8517e
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpgrideditor.[ch]: removed "grid_changed" signal.
      	The user of GimpGridEditor can connect to notifications of the
      	grid that is being edited. There is no need for a proxy signal.
      
      	* app/core/gimpimage-grid.c (gimp_image_set_grid): don't exchange
      	the image's grid object, it is part of the image. Copy all grid
      	properties instead.
      
      	* app/core/gimpimage-undo-push.c
      	* app/gui/grid-dialog.c: changed accordingly.
      f0e8517e
    • Simon Budig's avatar
      Fixed a few incarnations of drc's name in the Changelog · 93f2394f
      Simon Budig authored
      2003-10-14  Simon Budig  <simon@gimp.org>
      
      	Fixed a few incarnations of drc's name in the Changelog
      93f2394f
    • Michael Natterer's avatar
      Refactored modifier handling of displays and tools. Hopefully finally · b19deeb3
      Michael Natterer authored
      2003-10-14  Michael Natterer  <mitch@gimp.org>
      
      	Refactored modifier handling of displays and tools. Hopefully
      	finally fixes bug #124135.
      
      	* app/tools/gimptool.[ch] (struct GimpTool): added private members
      	"focus_display" and "modifier_state" so tools are aware of their
      	modifier state.
      
      	* app/tools/gimptool.[ch]
      	* app/tools/tool_manager.[ch]: removed all public modifier_key()
      	API and added set_focus_display() and set_modifier_state()
      	instead.
      
      	* app/tools/tool_manager.c (tool_manager_select_tool)
      	* app/display/gimpdisplay.c (gimp_display_delete): set the
      	active_tool's focus_display to NULL.
      
      	* app/display/gimpdisplayshell.[ch] (struct GimpDisplayShell):
      	added almost the whole stuff that used to be static variables of
      	gimp_display_shell_tool_events(). Cleaned up the struct a bit.
      
      	* app/display/gimpdisplayshell-callbacks.c: removed utility
      	function gimp_display_shell_update_tool_modifiers().
      
      	(gimp_display_shell_tool_events):
      
      	- Replaced all calls to gimp_display_shell_update_tool_modifiers()
      	  and tool_manager_modifier_key_active() by
      	  tool_manager_modifier_state_active().
      
      	- Call tool_manager_focus_display_active() before setting the
      	  tool's modifier_state. Set the tool's focus_display to NULL when
      	  we get a focus_out event.
      
      	- Don't grab/ungrab the keyboard twice when <space>-selecting the
      	  move tool.
      
      	- Removed most static variables and use the new members of
      	  GimpDisplayShell. Don't remember any old modifier states since
      	  GimpTool does that by itself now.
      b19deeb3
    • Dmitry Mastrukov's avatar
    • Sven Neumann's avatar
      added a missing icon. · d4f367fa
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/tmpl/gimpstock.sgml: added a missing icon.
      d4f367fa
    • Manish Singh's avatar
      add $(libgimp) to libgimpui_1_3_la_DEPENDENCIES so -jN builds work better. · 3e50b47a
      Manish Singh authored
      2003-10-13  Manish Singh  <yosh@gimp.org>
      
              * libgimp/Makefile.am: add $(libgimp) to libgimpui_1_3_la_DEPENDENCIES
              so -jN builds work better.
      3e50b47a
  2. 13 Oct, 2003 13 commits
  3. 12 Oct, 2003 9 commits
    • Manish Singh's avatar
      app/widgets/gimpitemtreeview.c split out indexed assignment and increment · ded25bbc
      Manish Singh authored
      2003-10-12  Manish Singh  <yosh@gimp.org>
      
              * app/widgets/gimpitemtreeview.c
              * app/widgets/gimplayertreeview.c: split out indexed assignment and
              increment to avoid miscompilation by gcc on ppc and ia64. Fixes
              bug #113144.
      ded25bbc
    • Seth Burgess's avatar
      fix for bug #72053 · b057bf66
      Seth Burgess authored
      b057bf66
    • Pedro Gimeno's avatar
      Set the default aspect ratio of the toolbox wrap box to 5:6. · b6a2c076
      Pedro Gimeno authored
      2003-10-10  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* app/widgets/gimptoolbox.c (gimp_toolbox_init): Set the default
      	aspect ratio of the toolbox wrap box to 5:6.
      	(gimp_toolbox_set_geometry): Don't enforce min_height in the
      	toolbox window. Fixes bug #116937 and works around bug #113228.
      
      	* plug-ins/common/png.c (save_image): Round the values passed to
      	png_set_pHYs so that they don't decrease on every save.
      b6a2c076
    • Sven Neumann's avatar
      fixed dependencies for test-config. · 350f9882
      Sven Neumann authored
      2003-10-12  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am: fixed dependencies for test-config.
      
      	* app/config/gimpconfigwriter.[ch]: code cleanup and documentation.
      
      	* app/composite/gimp-composite-generic.[ch]: made prototype for
      	gimp_composite_color_any_any_any_generic() match the implementation.
      
      	* app/composite/gimp-composite.c: fixed some issues with the
      	comment templates.
      350f9882
    • Sven Neumann's avatar
      allow to use mnemonics in SF-TOGGLE. · 0b2b9e19
      Sven Neumann authored
      2003-10-12  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
      	allow to use mnemonics in SF-TOGGLE.
      
      	* plug-ins/script-fu/scripts/font-map.scm: allow to choose the color
      	scheme to use for the font map; added mnemonics.
      0b2b9e19
    • Sven Neumann's avatar
      removed debugging output that shouldd have never been committed. · ddfe7575
      Sven Neumann authored
      2003-10-12  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintcore.c: removed debugging output that shouldd
      	have never been committed.
      ddfe7575
    • Michael Natterer's avatar
      HALT the active tool before reconnecting. Fixes bug #124388. · abf13dd1
      Michael Natterer authored
      2003-10-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay.c (gimp_display_reconnect): HALT the
      	active tool before reconnecting. Fixes bug #124388.
      abf13dd1
    • Sven Neumann's avatar
      removed function gimp_config_serialize_comment()... · 4ea392ef
      Sven Neumann authored
      2003-10-12  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-serialize.[ch]: removed function
      	gimp_config_serialize_comment()...
      
      	* app/config/gimpconfig-utils.[ch]: removed function
      	gimp_config_string_indent()...
      
      	* app/config/gimpconfigwriter.[ch]: ... and implement both here.
      	Added a comment mode to GimpConfigWriter.
      
      	* app/config/gimpconfig-dump.c: handle GimpConfig properties.
      
      	* doc/gimprc-1.3.5.in
      	* etc/gimprc: regenerated by gimpconfig-dump.
      4ea392ef
    • Helvetix Victorinox's avatar
      app/composite/gimp-composite.h app/composite/gimp-composite-generic.h · 7b7b3c3f
      Helvetix Victorinox authored
      *	app/composite/gimp-composite.h
      * app/composite/gimp-composite-generic.h
      * app/composite/gimp-composite-regression.h: Reformatted to include
        argument names in function prototypes.
      
      * app/composite/gimp-composite.c
      * app/composite/gimp-composite-generic.c
      * app/composite/gimp-composite-regression.c: Added gtk-doc templates for functions.
      
      * app/composite/make-install.py: migrated to new (trimmer) code and
        removed dead code.  Some beautification for generated code.
      
      * app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis,generic}.{c,h}:
        All init() functions are also a run-time check and now expected to
        return TRUE/FALSE if the particular set of compositing functions can
        be used.
      
      * app/composite/gimp-composite.c: No longer has to determine if
        the particular set of compositing functions can be used.
      
      * app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-{install,test}.c:
        Regenerated
      
      * app/composite/test-composite.c: Deprecated, removed.  All tests are automatically
        generated and the code is in app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-test.c:
      
      * app/composite/Makefile.am: removed unused references to test-composite.c
      7b7b3c3f
  4. 11 Oct, 2003 3 commits
    • Michael Natterer's avatar
      added utility function gimp_session_info_aux_new(). · 158aa7f2
      Michael Natterer authored
      2003-10-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpsessioninfo.[ch]: added utility function
      	gimp_session_info_aux_new().
      
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpimagedock.c (get_aux_info): use it.
      158aa7f2
    • Michael Natterer's avatar
      app/widgets/widgets-types.h added new struct GimpSessionInfoAux which · b136228d
      Michael Natterer authored
      2003-10-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpsessioninfo.[ch]: added new struct
      	GimpSessionInfoAux which contains "gchar *name" and "gchar *value".
      	Changed sessionrc "aux-info" format again to be really extendable
      	this time. Also breaks everybody's sessionrc again.
      
      	* app/widgets/gimpimagedock.c
      	* etc/sessionrc: changed accordingly.
      
      	Implemented the stuff suggested in bug #122964. Fixes bug #122964
      	and bug #52206:
      
      	* app/widgets/gimpdataeditor.[ch]: replaced the "Gimp" member by a
      	"GimpDataFactory" and changed gimp_data_editor_construct()
      	accordingly. Implement GimpDockedInterface::set_aux_info() and
      	get_aux_info() and remember the currently edited data across
      	sessions.
      
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradient-editor-menu.c
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* app/widgets/gimpcoloreditor.c: remember the active color
      	selector across sessions.
      b136228d
    • Sven Neumann's avatar
      when deserializing a GimpContainer child, use the child's GimpConfig · 3aa0b64e
      Sven Neumann authored
      2003-10-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcontainer.c (gimp_container_deserialize): when
      	deserializing a GimpContainer child, use the child's GimpConfig
      	implementation, not the container's.
      3aa0b64e