1. 17 Sep, 2003 9 commits
    • Michael Natterer's avatar
      Added nomis' favorite feature ;) · 2ce758b8
      Michael Natterer authored
      2003-09-17  Michael Natterer  <mitch@gimp.org>
      
      	Added nomis' favorite feature ;)
      
      	* app/paint/gimppaintcore.[ch]: added gimp_paint_core_cancel()
      	which can be called instead of gimp_paint_core_finish().
      	It simply copies core->undo_tiles back to the drawable instead of
      	pushing them to the undo stack.
      
      	* app/tools/gimppainttool.c (gimp_paint_core_button_release): call
      	_cancel() instead of _finish() if the right mouse button is
      	pressed.
      2ce758b8
    • Michael Natterer's avatar
      added "GimpVectorMode saved_mode" to the GimpVectorTool struct. · 69e11c9a
      Michael Natterer authored
      2003-09-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpvectortool.[ch]: added "GimpVectorMode saved_mode"
      	to the GimpVectorTool struct.
      
      	(gimp_vector_tool_modifier_key): use it to correctly keep track of
      	the modifier state.
      
      	* app/tools/gimpselectiontool.c (gimp_selection_tool_modifier_key):
      	moved variable to local scope.
      69e11c9a
    • Sven Neumann's avatar
      fixed the fix. · 2b47b79b
      Sven Neumann authored
      2003-09-17  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-path.c (gimp_config_path_expand): fixed
      	the fix.
      2b47b79b
    • Michael Natterer's avatar
      cursors/hand.xbm removed. · f4942b72
      Michael Natterer authored
      2003-09-17  Michael Natterer  <mitch@gimp.org>
      
      	* cursors/hand.xbm
      	* cursors/hand_mask.xbm: removed.
      
      	* cursors/hand_small.xbm
      	* cursors/hand_small_mask.xbm: ...and added under new names.
      
      	* cursors/Makefile.am
      	* cursors/gimp-tool-cursors.xcf: changed accordingly.
      
      	* app/widgets/widgets-enums.h
      	* app/widgets/gimpcursor.c: removed HAND from the GimpCursorModifier
      	enum and added it to the GimpToolCursorType enum. We don't have a
      	hand tool but this way the hand cursor (which is in the lower
      	right corner) can be used together with other cursor modifiers
      	(which are in the upper right corner).
      
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpvectortool.c: show cursor modifers with the hand
      	cursor where appropriate.
      f4942b72
    • Helvetix Victorinox's avatar
      Regenerated. · 9c64fde3
      Helvetix Victorinox authored
      * app/composite/gimp-composite-{mmx,sse,sse2,altivec,vis}.c: Regenerated.
      
      * app/composite/gimp-composite-regression.[ch]: Ensure all ints
        are now unsigned longs.
      
      * app/composite/gimp-composite-sse2.c (gimp_composite_addition_rgba8_rgba8_rgba8_sse2):
        Enclosed the troublesome (rather dense) asm construct in
        __OPTIMIZE__ in which case the compiler can successfully
        allocate enough registers to load up the asm()
      9c64fde3
    • Seth Burgess's avatar
      Fixes bug 50911. Details there. · d9996103
      Seth Burgess authored
      files: plug-ins/common/sparkle.c
      d9996103
    • Danilo Šegan's avatar
      Minor update to Serbian translation. · 72c5bb6c
      Danilo Šegan authored
      2003-09-17  Danilo Šegan  <dsegan@gmx.net>
      
      	* sr.po, sr@Latn.po: Minor update to Serbian translation.
      72c5bb6c
    • Danilo Šegan's avatar
      Updated Serbian translation. · ab889610
      Danilo Šegan authored
      2003-09-17  Danilo Šegan  <dsegan@gmx.net>
      
      	* sr.po, sr@Latn.po: Updated Serbian translation.
      ab889610
    • Simon Budig's avatar
      Ok, since the obsolete undo step is invalid the undo_event of the image · a2f699f8
      Simon Budig authored
      2003-09-17  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpvectortool.c: Ok, since the obsolete undo
      	step is invalid the undo_event of the image probably should be
      	GIMP_UNDO_EVENT_UNDO_EXPIRED. This fixes at least the undo
      	history...
      a2f699f8
  2. 16 Sep, 2003 14 commits
    • Simon Budig's avatar
      Restored Mitchs favourite feature :-) (now the cursor indicates if you · 790c11ec
      Simon Budig authored
      2003-09-17  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpvectortool.[ch]: Restored Mitchs favourite
      	feature :-)  (now the cursor indicates if you hover over
      	a vectors object when no other one is active...). Also added
      	more descriptive Undo names and RMB-Cancel for the Vectors tool.
      
      	Please note, that the RMB-Cancel is implemented using the Undo
      	System. I do not really have a clue on that and so right now
      	there is an oddity - the undo-object popped from the undo
      	stack does not get removed from e.g. the Undo History Dialog.
      
      	Someone with a clue please have a look at that...  :-)
      790c11ec
    • Dave Neary's avatar
      Fixed a seg fault in an earlier commit. · da6dfbd5
      Dave Neary authored
      
      
      2003-09-16  Dave Neary  <bolsh@gimp.org>
      
              * app/config/gimpconfig-path.c: Fixed a seg fault in an earlier
              commit.
      da6dfbd5
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 148d52c8
      Duarte Loreto authored
      2003-09-16  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation.
      148d52c8
    • Stanislav Visnovsky's avatar
      Updated Slovak translation by Zdenko Podobny <zdpo@mailbox.sk>. · c23ab081
      Stanislav Visnovsky authored
      2003-09-16  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
      	* sk.po: Updated Slovak translation by Zdenko Podobny <zdpo@mailbox.sk>.
      c23ab081
    • Michael Natterer's avatar
      app/gui/brushes-menu.c app/gui/colormap-editor-menu.c · 431f9122
      Michael Natterer authored
      2003-09-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/brushes-menu.c
      	* app/gui/colormap-editor-menu.c
      	* app/gui/dialogs-menu.c
      	* app/gui/documents-menu.c
      	* app/gui/gradients-menu.c
      	* app/gui/palettes-menu.c
      	* app/gui/patterns-menu.c: suppress more standard GTK+ stock item
      	accelerators in popup menus by specifying "" instead of NULL as
      	accelerator.
      431f9122
    • Michael Natterer's avatar
      changed "gboolean move_mask" to "GimpTransformType move_type" and added an · 94dddc18
      Michael Natterer authored
      2003-09-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpmoveoptions.[ch]: changed "gboolean move_mask" to
      	"GimpTransformType move_type" and added an "Affect:" stock radio
      	box so it offers the same LAYER,SELECTION,PATH choice as the other
      	transform tools.
      
      	* app/tools/gimpmovetool.[ch]: honor the new tool option, made
      	cursor_update() show more different cursors which describe the
      	state of the tool more closely, fixed some cases where the
      	GimpeditSelectionTool was invoked with meaningless values
      	(like requesting a selection transform when there is no
      	selection).
      
      	Changed modifiers:
      
      	- Made <Shift> toggle "move current layer".
      	- Made <Control> switch to path moving.
      	- <Alt> switched to selection moving as before.
      
      	* app/tools/gimpeditselectiontool.[ch]: added EDIT_VECTORS_TRANSLATE
      	operation mode and honor it all over the place. Unified the code
      	which transforms layers and vectors since it's essentially the same.
      
      	(gimp_edit_selection_tool_cursor_key): simplified selection moving
      	code and added support for moving paths (using <Control>).
      94dddc18
    • Helvetix Victorinox's avatar
      Removed code that caused gcc to complain can't find a register in class · c8a23c45
      Helvetix Victorinox authored
      * app/composite/gimp-composite-sse2.c: Removed code that caused
        gcc to complain can't find a register in class `GENERAL_REGS' To
        be revisited later.
      c8a23c45
    • Sven Neumann's avatar
      app/composite/gimp-composite-generic.c app/composite/gimp-composite-mmx.c · 555038de
      Sven Neumann authored
      2003-09-16  Sven Neumann  <sven@gimp.org>
      
      	* app/composite/gimp-composite-generic.c
      	* app/composite/gimp-composite-mmx.c
      	* app/composite/gimp-composite-sse.c
      	* app/composite/gimp-composite-sse2.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-path.c
      	* app/config/gimpconfig-serialize.c
      	* app/core/cpercep.c
      	* app/core/gimpunit.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/plug-in-menus.c
      	* app/paint-funcs/paint-funcs-generic.h
      	* app/paint-funcs/paint-funcs.c
      	* app/pdb/procedural_db.c
      	* app/text/gimptextlayout-render.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/widgets/gimpcursor.c: some trivial code cleanups: avoid
      	casts that discard const qualifiers and avoid useless comparisons
      	on unsigned variables. Also reordered qualifiers in function
      	declarations (static comes before const).
      555038de
    • Simon Budig's avatar
      Fixed stupid bug (for getting the bounding box you also have to use · ba69b4bd
      Simon Budig authored
      2003-09-16  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpvectors.[ch]: Fixed stupid bug (for getting
      	the bounding box you also have to use MAX...).
      ba69b4bd
    • Michael Natterer's avatar
      transform the channel's bounding box later so we really update the · d620e799
      Michael Natterer authored
      2003-09-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.c (gimp_channel_translate): transform the
      	channel's bounding box later so we really update the channel's new
      	*and* old area.
      d620e799
    • Stanislav Visnovsky's avatar
      Updated Slovak translation by Zdenko Podobny <zdpo@mailbox.sk>. · fe864f99
      Stanislav Visnovsky authored
      2003-09-16  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
              * sk.po: Updated Slovak translation by Zdenko Podobny <zdpo@mailbox.sk>.
      fe864f99
    • Sven Neumann's avatar
      changed buffer size and improved encoding detection. · 9249371b
      Sven Neumann authored
      2003-09-16  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpxmlparser.c: changed buffer size and improved
      	encoding detection.
      9249371b
    • Helvetix Victorinox's avatar
      gimp-composite-mmx-{test,installer}.c · 930d2615
      Helvetix Victorinox authored
      * gimp-composite-mmx-{test,installer}.c
      
      * gimp-composite-sse-{test,installer}.c
      
      * gimp-composite-sse2-{test,installer}.c
      
      * make-installer.py: sort test output by mode name
      
      * gimp-composite-sse2.[ch]: New compositing mode implementations
        darken
        difference
        grain_extract
        lighten
      
      * gimp-composite-x86.h: added
      
      * gimp-composite-{sse,mmx,sse2}.[ch]: Tightening declarations of clobbered registers.
      930d2615
    • Manish Singh's avatar
      use -u to prevent garbage collection of symbols prematurely. I wonder if · dd35944d
      Manish Singh authored
      2003-09-16  Manish Singh  <yosh@gimp.org>
      
              * app/Makefile.am: use -u to prevent garbage collection of symbols
              prematurely. I wonder if this works everywhere...
      
              * app/pdb/Makefile.am
              * app/vectors/Makefile.am: remove gross hacks
      dd35944d
  3. 15 Sep, 2003 14 commits
    • Danilo Šegan's avatar
      Updated Serbian translation. · 5563bdad
      Danilo Šegan authored
      2003-09-16  Danilo Šegan  <dsegan@gmx.net>
      
      	* sr.po, sr@Latn.po: Updated Serbian translation.
      
      	* POTFILES.in: A couple of files have been renamed.
      5563bdad
    • Simon Budig's avatar
      Implemented an (unused/untested) gimp_vectors_bounds () that returns the · e899c701
      Simon Budig authored
      2003-09-16  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpvectors.[ch]: Implemented an (unused/untested)
      	gimp_vectors_bounds () that returns the bounding box of an vectors
      	object.
      
      	* app/tools/gimpdrawtool.[ch]: made gimp_draw_tool_on_vectors()
      	ignore handles/anchors, since they are not visible when that
      	function gets used.
      e899c701
    • Simon Budig's avatar
      fixed bogus gimp_item_set_image (GIMP_ITEM (vectors), NULL); · 0e407cba
      Simon Budig authored
      2003-09-15  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpimage.c: fixed bogus
      	gimp_item_set_image (GIMP_ITEM (vectors), NULL);
      
      	* app/tools/gimpdrawtool.[ch]: added gimp_draw_tool_on_vectors:
      	checks if the given coordinate is on any vectors object of the image.
      
      	* app/tools/gimpvectortool.[ch]: Changed the tool modes.
      	VECTORS_SELECT_VECTORS now is active when the tool does not
      	have a current vectors object or the gdisplay is different
      	than the one the tool is drawing on. Also the Move mode now
      	uses it, when clicking outside the current vectors object.
      
      	Factored out the sanity check of the internal state
      	(gimp_vector_tool_verify_state).
      0e407cba
    • Michael Natterer's avatar
      app/app-docs.sgml updated for recent core file moving. · 229c5ea8
      Michael Natterer authored
      2003-09-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt: updated for recent core file moving.
      229c5ea8
    • Sven Neumann's avatar
      removed... · b4cc25eb
      Sven Neumann authored
      2003-09-15  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-transform-utils.[ch]: removed...
      
      	* app/core/gimp-transform-utils.[ch]: ...and added under new names
      	because these functions are not at all related to GimpDrawable.
      	Changed the function names accordingly.
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/vectors/gimpstroke.c
      	* app/vectors/gimpvectors.c
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      
      	* app/pdb/transform_tools_cmds.c: regenerated.
      b4cc25eb
    • Michael Natterer's avatar
      app/core/gimpedit.[ch] app/core/gimpmodules.[ch] app/core/gimpunits.[ch] · 28d6f0a2
      Michael Natterer authored
      2003-09-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpedit.[ch]
      	* app/core/gimpmodules.[ch]
      	* app/core/gimpunits.[ch]
      	* app/text/gimpfonts.[ch]: removed...
      
      	* app/core/gimp-edit.[ch]
      	* app/core/gimp-modules.[ch]
      	* app/core/gimp-units.[ch]
      	* app/text/gimp-fonts.[ch]: ...and added with new names because
      	these files operate on members of a Gimp instance and are
      	therefore methods of the Gimp object.
      
      	* app/core/Makefile.am
      	* app/text/Makefile.am
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/edit-commands.c
      	* app/gui/module-browser.c
      	* app/gui/preferences-dialog.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/app_procs.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/fonts.pdb: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/fonts_cmds.c: regenerated.
      
      	* app/core/gimp.c (gimp_init): don't create gimp->fonts.
      	(gimp_initialize): call gimp_fonts_init().
      	(gimp_restore): call gimp_fonts_load() instead of _init().
      
      	* app/text/gimp-fonts.c (gimp_fonts_init): don't call
      	gimp_fonts_load(), just create gimp->fonts and connect to
      	"notify::font-path" of gimp->config.
      28d6f0a2
    • Marco Ciampa's avatar
      Update italian translation. · fac3b964
      Marco Ciampa authored
      fac3b964
    • Marco Ciampa's avatar
      Updated italian translation. · 49cbd0a4
      Marco Ciampa authored
      49cbd0a4
    • Sven Neumann's avatar
      fixed inline documentation. · 304ac0fd
      Sven Neumann authored
      2003-09-15  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpxmlparser.c: fixed inline documentation.
      
      	* app/vectors/gimpstroke.h: added a missing newline.
      
      2003-09-15  Sven Neumann  <sven@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt: updated.
      304ac0fd
    • Sven Neumann's avatar
      app/config/Makefile.am app/config/config-types.h new files that hold a · 80bd6f1c
      Sven Neumann authored
      2003-09-15  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/config-types.h
      	* app/config/gimpxmlparser.[ch]: new files that hold a simple XML
      	parser based on GMarkupParser. It's not a full-featured XML parser;
      	it only adds transparent handling of encodings to GMarkupParser
      	and provides a convenient API to deal with files or IO channels.
      
      	* app/vectors/gimpvectors-import.c: use the new GimpXmlParser.
      
      	* app/vectors/gimpvectors-export.c: write encoding attribute.
      
      	* app/tips-dialog.c
      	* app/tips-parser.c: use the new GimpXmlParser.
      
      	* app/vectors/Makefile.am: had to add one of those truly ugly
      	hacks here in order to get the application linked.
      80bd6f1c
    • Michael Natterer's avatar
      order the "visible" and "linked" columns by inserting them with the right · b83e77dc
      Michael Natterer authored
      2003-09-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpitemtreeview.c (gimp_item_tree_view_constructor):
      	order the "visible" and "linked" columns by inserting them with
      	the right index, not by reordering code.
      
      	(gimp_item_tree_view_set_container): set the handler_ids to 0
      	after disconnecting them.
      b83e77dc
    • Sven Neumann's avatar
      name the vectors after the path id as found in the SVG. · 00c7d7b4
      Sven Neumann authored
      2003-09-15  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-import.c: name the vectors after the
      	path id as found in the SVG.
      
      	* app/vectors/gimpvectors-export.c: further improved formatting.
      00c7d7b4
    • Artur Flinta's avatar
      Updated Polish translation. · d885f251
      Artur Flinta authored
      2003-09-15  Artur Flinta  <aflinta@cvs.gnome.org>
      
      	* pl.po: Updated Polish translation.
      d885f251
    • Simon Budig's avatar
      Save an id-attribute using the vector objects name. Slightly adjusted · 3e50f57b
      Simon Budig authored
      2003-09-15  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpvectors-export.c: Save an id-attribute
      	using the vector objects name. Slightly adjusted formatting.
      3e50f57b
  4. 14 Sep, 2003 3 commits