1. 29 Jun, 2003 2 commits
  2. 28 Jun, 2003 5 commits
    • Dave Neary's avatar
      Save patterns with alpha channels, and remove warning while loading · 46ca5a78
      Dave Neary authored
      
      
      
      2003-06-28  Dave Neary  <bolsh@gimp.org>
      
              * plug-ins/common/pat.c: Save patterns with alpha
              channels, and remove warning while loading patterns
              with an alpha channel.
      
              * app/core/gimppattern.c
              * app/core/gimpdrawable-bucket-fill.c
              * app/paint/gimpclone.c: Make cloning from a pattern
              source, and bucket filling with a pattern, work when
              there's an alpha channel present in the pattern.
      
              I'm not particularly happy with this, because the only
              way to tell whether there's an alpha channel or not is
              by the number of bytes in the TempBuf the clone and
              bucketfill routines get passed, which is rather
              restrictive. It would be nice if a TempBuf had a
              _has_alpha () method.
      46ca5a78
    • Michael Natterer's avatar
      removed enum GimpContextPropType and enum GimpContextPropMask. · e14e158e
      Michael Natterer authored
      2003-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.h: removed enum GimpContextPropType and
      	enum GimpContextPropMask.
      
      	* app/core/core-enums.[ch]: added them here.
      
      	* app/core/gimptoolinfo.[ch]: replaced "gboolean tool_context"
      	member by "GimpContextPropMask context_props" so each tool can
      	specify exactly which context properties it wants to have
      	persistently remembered.
      
      	* app/tools/tools-types.h: changed typedef GimpToolRegisterCallback
      	accordingly.
      
      	* app/tools/tool_manager.[ch] (tool_manager_register_tool): ditto.
      
      	Removed the "global_tool_context" and initialize all tool info
      	objects from the user_context after creation. Removed the
      	PAINT_OPTIONS_MASK #define and use the new context_props stored in
      	tool_info insted.
      
      	* app/tools/gimppainttool.h: #define the common properties of the
      	paint tools as GIMP_PAINT_TOOL_OPTIONS_MASK (which is OPACITY |
      	PAINT_MODE | BRUSH).
      
      	* app/tools/[all tools].c (gimp_*_tool_register): replaced the
      	"use_context" boolean by the actual mask of context properties the
      	tools need.
      e14e158e
    • Michael Natterer's avatar
      fixed Czech translation so it doesn't break the build. · e39f334f
      Michael Natterer authored
      2003-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* cs.po: fixed Czech translation so it doesn't break the build.
      e39f334f
    • Manish Singh's avatar
      fix date · 36d6509b
      Manish Singh authored
      36d6509b
    • Manish Singh's avatar
      Missing self. reference. Fixes #115714. · c1e165d3
      Manish Singh authored
      2003-06-26  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/gimpui.py: Missing self. reference. Fixes #115714.
      
              * plug-ins/pygimp/gimpui.py: Move item.show() in Selector so that all
              items are shown. Fixes bug #115715. Thanks to Dave Corrie for catching
              both these.
      
              * plug-ins/pygimp/gimpfu.py: Always register as type PLUGIN, to
              reflect the recent changes in semantics.
      
              * plug-ins/pygimp/plug-ins/gimpcons.py
              * plug-ins/pygimp/plug-ins/pdbbrowse.py: s/extension/plug_in/ to
              reflect above, for consistency.
      
              * plug-ins/pygimp/gimpfu.py: Add a fail method which uses
              gimp.message and then raises an error.
      
              * plug-ins/pygimp/gimpmodule.c: remove declarations for
              gimp_extension_ack and gimp_extension_process, they are in gimp.h.
      
              * plug-ins/pygimp/gimpfu.py
              * plug-ins/pygimp/gimpui.py
              * plug-ins/pygimp/plug-ins/gimpcons.py
              * plug-ins/pygimp/plug-ins/pdbbrowse.py: Added pygtk.require('2.0').
              Fixes bug #115545.
      c1e165d3
  3. 27 Jun, 2003 10 commits
  4. 26 Jun, 2003 6 commits
  5. 25 Jun, 2003 9 commits
  6. 24 Jun, 2003 8 commits
    • Simon Budig's avatar
      If an control handle gets converted to an edge simply move it to its next · ca506437
      Simon Budig authored
      2003-06-25  Simon Budig  <simon@gimp.org>
      
              * app/vectors/gimpbezierstroke.c: If an control handle gets
              converted to an edge simply move it to its next anchor.
      
              * app/tools/gimpvectortool.c: Improved interactive handling
              of vectors. Still work in progress, esp. I am not sure about
              the assignment of the modifier keys. Right now it is:
      
                 Drag (Anchor/Handle): Regular Movement
                 Shift-Click (Anchor): select multiple anchors (does not work yet)
                 Shift-Drag: (Handle): move opposite handle symmetrically
                 Ctrl-Drag (Anchor): Drag out control point
                 S-C-Click: (Anchor/Handle): Convert to Edge
      ca506437
    • Sven Neumann's avatar
      added new function gimp_config_serialize_to_fd() for the sake of · 7a6a908a
      Sven Neumann authored
      2003-06-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig.[ch]: added new function
      	gimp_config_serialize_to_fd() for the sake of completeness and
      	since it's a nice way to generate debugging output.
      
      	* app/text/Makefile.am
      	* app/text/gimptext-xlfd.[ch]: new files with routines to handle X
      	Logical Font Descriptions in an attempt to improve backwards
      	compatibility.
      
      	* app/text/gimptext-parasite.[ch]
      	* app/xcf/xcf-load.c: promote layers with GDynText parasite to
      	GimpTextLayer. Work in progress, we need to improve font matching.
      7a6a908a
    • Michael Natterer's avatar
      put back the hack which calls gtk_tree_selection_select_iter() in addition · b5c689a2
      Michael Natterer authored
      2003-06-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainertreeview.c
      	(gimp_container_tree_view_select_item): put back the hack which
      	calls gtk_tree_selection_select_iter() in addition to
      	gtk_tree_view_set_cursor() until bug #115871 is fixed.
      b5c689a2
    • Sven Neumann's avatar
      ChangeLog fixes, NEWS updates · a5e1a2d4
      Sven Neumann authored
      a5e1a2d4
    • Sven Neumann's avatar
      broken pipe in the middle of the last commit... · 35a57d01
      Sven Neumann authored
      	* app/xcf/xcf-save.c: when saving a text layer, store an extra
      	parasite that holds all information about the text.
      
      	* app/xcf/xcf-load.c: if a "gimp-text-layer" parasite is found and
      	it can be successfully deserialized to a GimpText object, convert
      	the layer to a text layer and remove the parasite.
      
      	* devel-docs/parasites.txt: documented the new "gimp-text-layer"
      	parasite.
      35a57d01
    • Sven Neumann's avatar
      Added persistent storage of text layers in XCF files. We use a parasite in · 6b5e42de
      Sven Neumann authored
      2003-06-24  Sven Neumann  <sven@gimp.org>
      
              Added persistent storage of text layers in XCF files. We use a
      	parasite in order to keep the file format backwards compatible.
      	Fixes bug #111781.
      
      	* app/text/Makefile.am
      	* app/text/gimptext-parasite.[ch]: new files that hold functions
      	to convert a GimpText object to a GimpParasite and back.
      
      	* app/text/gimptextlayer.[ch]: added an ugly hack that allows to
      	convert a normal layer to a text layer.
      
      	* app/xcf/xcf-save.c: when saving a text layer, store an extra
      	parasite that holds all information about the text.
      
      	* app/xcf/xcf-load.c: if a "gimp-text-layer" parasite is found and
      	it can be successfully deserialized to a GimpText object, convert
      	the layer to a text layer and remove the parasite.
      
      	* app/Makefile.am: had to change linkage order.
      
      	* devel-docs/parasites.txt: documented the new "gimp-text-layer"
      	parasite.
      
      	* app/text/gimptext-parasite.[ch]
      	* app/gui/session.c (session_save): plugged minor memory leaks.
      6b5e42de
    • Sven Neumann's avatar
      Allow negative margin values. · 82bb65c3
      Sven Neumann authored
      82bb65c3
    • Sven Neumann's avatar
      store file descriptor and filename in a private struct instead of using · 7c503b81
      Sven Neumann authored
      2003-06-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpscanner.c: store file descriptor and filename in
      	a private struct instead of using internals of GScanner. Should
      	fix problems on Win32 reported by Hans Breuer.
      7c503b81