1. 15 Sep, 2003 2 commits
  2. 14 Sep, 2003 11 commits
  3. 13 Sep, 2003 7 commits
  4. 12 Sep, 2003 14 commits
    • Sven Neumann's avatar
      moved the visibility toggle before the linked toggle again. · 47257498
      Sven Neumann authored
      2003-09-13  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpitemtreeview.c: moved the visibility toggle
      	before the linked toggle again.
      
      	* app/core/gimpdrawable.c (gimp_drawable_configure)
      	* app/core/gimpitem.c (gimp_item_init): quick fix for bug #122153:
      	don't make the item visible in gimp_drawable_configure() since that
      	breaks duplicate(); instead create all items as visible.
      47257498
    • Sven Neumann's avatar
      rewrote large parts of the SVG parser. It now handles nested groups and · 804315b8
      Sven Neumann authored
      2003-09-13  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-import.c: rewrote large parts of the SVG
      	parser. It now handles nested groups and transformations. Still not
      	perfect but close.
      804315b8
    • Helvetix Victorinox's avatar
      Added a proper implementation of the BEHIND drawing mode. This should fix · e76b7556
      Helvetix Victorinox authored
      * app/composite/gimp-composite-generic.[ch]: Added a proper
        implementation of the BEHIND drawing mode.  This should fix bug
        #121889
      
      * app/composite/gimp-composite-generic-installer.c: regenerated
      e76b7556
    • Sven Neumann's avatar
      return a transformation matrix in preparation for nested transforms. · 2360c02c
      Sven Neumann authored
      2003-09-12  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-import.c (parse_svg_viewbox): return a
      	transformation matrix in preparation for nested transforms.
      2360c02c
    • Michael Natterer's avatar
      added new functions gimp_draw_tool_on_vectors_handle() and · 5b33524a
      Michael Natterer authored
      2003-09-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpdrawtool.[ch]: added new functions
      	gimp_draw_tool_on_vectors_handle() and _on_vectors_curve()
      	so they can be used by all GimpDrawTool subclasses.
      
      	* app/tools/gimpvectortool.[ch]: removed the _on_handle() and
      	_on_curve() functions here. Connect to "active_vectors_changed" of
      	the active_vector's image, so once it has been avtivated, the tool
      	follows the path which is selected in the paths dialog.
      5b33524a
    • Sven Neumann's avatar
      app/core/gimpselection.c app/gui/images-menus.c string fixes. · 3f885c7f
      Sven Neumann authored
      2003-09-12  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpselection.c
      	* app/gui/images-menus.c
      	* app/gui/session.c: string fixes.
      
      	* app/gui/images-commands.[ch]: changed the function names
      	accordingly..
      3f885c7f
    • Christian Neumair's avatar
      added missing ngettext calls to MENU_BRANCH calls' argument. · 7a935458
      Christian Neumair authored
      2003-09-12  Christian Neumair  <chris@gnome-de.org>
      
      	* app/gui/dialogs-menu.c: added missing ngettext calls to MENU_BRANCH
      	calls' argument.
      7a935458
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 5cacdfa6
      Duarte Loreto authored
      2003-09-12  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation.
      5cacdfa6
    • Sven Neumann's avatar
      added gimp_matrix3_affine(). · 7dd98d21
      Sven Neumann authored
      2003-09-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmath/gimpmatrix.[ch]: added gimp_matrix3_affine().
      
      	* app/vectors/gimpvectors-import.c: added (yet unused) funtion to
      	parse SVG transform attributes.
      
      	* app/vectors/gimpvectors-export.c: fixed a stupid bug.
      7dd98d21
    • Michael Natterer's avatar
      app/core/gimpimage-mask-select.c (gimp_image_mask_select_vectors) · 9c13b724
      Michael Natterer authored
      2003-09-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-mask-select.c (gimp_image_mask_select_vectors)
      	* app/paint/gimppaintcore-stroke.c (gimp_paint_core_stroke_vectors)
      	* app/display/gimpdisplayshell.c (gimp_display_shell_draw_vector)
      	* app/tools/gimpdrawtool.c (gimp_draw_tool_real_draw)
      	* app/tools/gimptransformtool.c (gimp_transform_tool_draw)
      	* app/tools/gimpvectortool.c (gimp_vector_tool_vectors_visible)
      	(gimp_vector_tool_draw): all callers of gimp_stroke_interpolate():
      	don't leak the returned GimpCoords array and don't crash if it's
      	NULL.
      
      	* app/tools/gimpvectortool.[ch]: added VECTORS_SELECT_VECTOR state
      	which enables activating any visible GimpVectors on any display.
      
      	(gimp_vector_tool_on_handle)
      	(gimp_vector_tool_on_curve): added a GimpVectors parameter so we
      	can check for vectors which are not vector_tool->vectors.
      
      	(gimp_vector_tool_oper_update): iterate gdisp->gimage->vectors
      	to figure if we are hovering any visible vectors and set
      	VECTORS_SELECT_VECTOR.
      
      	(gimp_vector_tool_button_press): catch VECTORS_SELECT_VECTOR and
      	start editing the selected vectors. Also make it the image's
      	active_vectors.
      
      	(gimp_vector_tool_button_release): removed unneeded call to
      	gimp_viewable_invalidate_preview(vectors).
      
      	Random cleanup all over the place.
      9c13b724
    • Simon Budig's avatar
      Don't lose the last segment of closed paths when exporting... · 8de81054
      Simon Budig authored
      2003-09-12  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpvectors-export.c: Don't lose the last
      	segment of closed paths when exporting...
      8de81054
    • Dmitry Mastrukov's avatar
    • Simon Budig's avatar
      Implemented more useful SVG export. · f549e694
      Simon Budig authored
      2003-09-12  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpvectors-export.c: Implemented more useful
      	SVG export.
      f549e694
    • Michael Natterer's avatar
      removed all calls to gimp_tool_control_set_preserve() so the tool doesn't · 3f437bb7
      Michael Natterer authored
      2003-09-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpvectortool.c: removed all calls to
      	gimp_tool_control_set_preserve() so the tool doesn't get
      	confused by the image being dirtied.
      
      	Made it aware of visible vectors:
      
      	(gimp_vector_tool_draw): don't draw the stroke itself if the
      	current vectors is visible.
      
      	(gimp_vector_tool_vectors_visible): new callback which just draws
      	the stroke itself when the vectors changes visibility.
      
      	(gimp_vector_tool_set_vectors): connect the new callback.
      3f437bb7
  5. 11 Sep, 2003 6 commits
    • Updated ja.po. T.Aihana's avatar
      · 2b6eadfe
      Updated ja.po. T.Aihana authored
      2003-09-12 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
      2b6eadfe
    • Michael Natterer's avatar
      Added support for permanently showing the visible vectors, not only when · a0d33a53
      Michael Natterer authored
      2003-09-12  Michael Natterer  <mitch@gimp.org>
      
      	Added support for permanently showing the visible vectors, not
      	only when the vectors tool is active:
      
      	* app/display/gimpdisplayshell.[ch]: added
      	gimp_display_shell_draw_vector() which draws a single GimpVectors
      	object and gimp_display_shell_draw_vectors() which draws all
      	visible ones. Added "gint paused_count" and new functions
      	gimp_display_shell_paunse()/resume(). Pause/resume the active tool
      	and draw/undraw the visible vectors when paused_count changes from
      	0 to 1 and from 1 to 0.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c: call the new
      	freeze()/thaw() functions instead of calling the tool_manager
      	directly. Removes the tools/ sependency from the scale and scroll
      	files. Also draw the vectors once when the canvas is realized so
      	XOR drawing is in the correct state.
      
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	image->vectors' "add" and "remove" signal and to the "freeze",
      	"thaw" and "visibility_changed" signals of all vectors in
      	image->vectors and update vectors drawing accordingly.
      a0d33a53
    • Michael Natterer's avatar
      removed "visible" and all its API... · 7cf4eb46
      Michael Natterer authored
      2003-09-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: removed "visible" and all its API...
      
      	* app/core/gimpitem.[ch]: ...and added it here.
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]: changed the drawable
      	visibility undo to be an item visibility undo.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: save it in PROP_VECTORS and changed channel
      	and layer loading/saving accordingly.
      
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/text/gimptextlayer.c
      	* app/gui/channels-commands.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c: regenerated.
      
      	* app/widgets/gimpdrawabletreeview.[ch]: removed the eye icon...
      
      	* app/widgets/gimpitemtreeview.[ch]: ...and added it here.
      7cf4eb46
    • Jakub Steiner's avatar
      proper icons · 53d4915c
      Jakub Steiner authored
      2003-09-11  Jakub Steiner <jimmac@ximian.com>
      
      * themes/Default/images/preferences/folders-fonts.png:
      * themes/Default/images/preferences/folders-scripts.png:
        proper icons
      53d4915c
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am new icon. · 4aabfe7b
      Sven Neumann authored
      2003-09-11  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-transparency-[16|24].png: new icon.
      
      	* libgimpwidgets/gimpstock.[ch]: register as GIMP_STOCK_TRANSPARENCY.
      
      	* app/gui/image-menu.c
      	* app/gui/layers-menu.c: use the new icon for "Add Alpha Channel".
      
      	* app/widgets/gimplayertreeview.c: replaced the "Keep Trans."
      	button with a check button plus the new icon (bug #121784).
      4aabfe7b
    • Michael Natterer's avatar
      made gimp_item_linked_get_list() and the GimpItemLinkedMask enum public. · c7414c12
      Michael Natterer authored
      2003-09-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem-linked.[ch]: made gimp_item_linked_get_list()
      	and the GimpItemLinkedMask enum public. Hiding them just causes
      	code duplication.
      
      	* app/tools/gimpdrawtool.[ch]: added a GList of GimpVectors and a
      	GimpMatrix3 transformation matrix for them. Just set them with
      	gimp_draw_tool_set_vectors() and gimp_draw_tool_set_transform()
      	and chain up in your tools's GimpdrawTool::draw() implementation
      	to get the vectors drawn.
      
      	* app/tools/gimpeditselectiontool.c: use
      	gimp_item_linked_get_list() instead of traversing image->layers,
      	->channels and ->vectors manually to find the linked items.
      	Use gimp_draw_tool_set_vectors() and _set_transform() to show
      	the linked vectors while moving.
      
      	(gimp_edit_selection_tool_arrow_key): transform all linked items,
      	not just the linked layers.
      c7414c12