1. 06 Sep, 2003 4 commits
    • Michael Natterer's avatar
      app/display/Makefile.am app/gui/Makefile.am app/paint/Makefile.am · b28c2361
      Michael Natterer authored
      2003-09-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint/Makefile.am
      	* app/pdb/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am (INCLUDES): add $(LIBART_CFLAGS) here too.
      b28c2361
    • Dave Neary's avatar
      Include libart headers app/vectors/gimpvectors.[ch] · 0508bdcc
      Dave Neary authored
      
      
      2003-09-06  Dave Neary  <bolsh@gimp.org>
      
      	* app/vectors/Makefile.am: Include libart headers
      	* app/vectors/gimpvectors.[ch]
      	* app/vectors/gimpstroke.[ch]
      	* app/vectors/gimpbezierstroke.[ch]: Committing unfinished,
      	useless stub code for converting a GimpVectors object to a
      	libart vector path. Will pad this out later.
      0508bdcc
    • Michael Natterer's avatar
      made my last commit compile. Sorry. · 27ad396d
      Michael Natterer authored
      2003-09-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_fill): made my last
      	commit compile. Sorry.
      27ad396d
    • Michael Natterer's avatar
      code cleanup. (gimp_drawable_fill): use the INTENSITY() of the passed · 31b754df
      Michael Natterer authored
      2003-09-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.c: code cleanup.
      	(gimp_drawable_fill): use the INTENSITY() of the passed GimpRGB to
      	fill GIMP_GRAY drawables, not just the RED_PIX. Cleanup.
      
      	* app/core/gimpimage.c (gimp_image_transform_color):
      	added assertion for src_type != GIMP_INDEXED.
      31b754df
  2. 05 Sep, 2003 11 commits
    • Sven Neumann's avatar
      access the grid structure directly instead of using g_object_get() and · a7f00f06
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid):
      	access the grid structure directly instead of using g_object_get()
      	and leaking the returned values. Release the GC object instead of
      	leaking it (the GC should probably become part of the display).
      
      	* app/gui/grid-dialog.c (grid_dialog_new): removed an extraneous
      	reference count from grid_backup.
      a7f00f06
    • Michael Natterer's avatar
      removed function map_to_color() since it does not belong here and the two · aaf84a73
      Michael Natterer authored
      2003-09-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs.[ch]: removed function map_to_color()
      	since it does not belong here and the two places using it look much
      	cleaner when doing that stuff themselves.
      
      	* app/core/gimpdrawable-preview.c: cleanup.
      	(gimp_drawable_preview_scale): do the indexed palette lookup here
      	instead of calling map_to_color().
      
      	* app/core/gimpimage.c (gimp_image_get_color): transform the
      	colors here instead of calling map_to_color().
      
      	* app/core/gimpimage.[ch] (gimp_image_get_color): reordered
      	parameters src parameters are before dest parameters.
      	Made the src color const.
      
      	(gimp_image_transform_color): reordered so src parameters are
      	*after* dest parameters (since this function operates on the dest
      	image and it makes sense to have the dest parameters
      	together). Made the src color const here, too.
      
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimagemap.c
      	* app/core/gimplayer.c
      	* app/core/gimppalette-import.c
      	* app/paint/gimpclone.c
      	* app/paint/gimppaintcore.c: changed accordingly.
      
      	* app/core/gimpedit.c (gimp_edit_cut,copy): simplified by
      	moving the "cropped" variable to a local scope.
      
      	* app/core/gimpimage-mask.c: calling gimp_image_update() followed
      	by gimp_viewable_imvalidate_preview(drawable) is equal to calling
      	gimp_drawable_update() directly.
      aaf84a73
    • Sven Neumann's avatar
      code cleanup. Removed the PreviewCache struct that used to wrap TempBuf · 3a3a5701
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppreviewcache.[ch]: code cleanup. Removed the
      	PreviewCache struct that used to wrap TempBuf but didn't add any
      	additional information. Actually free the cached temp_buf when
      	removing an entry from cache. Free the GSList when invalidating
      	the preview cache.
      3a3a5701
    • Hasbullah Bin Pit's avatar
      Added Translation by MIMOS Open Source Development Group <ismas@mimos.my> · 86133ac6
      Hasbullah Bin Pit authored
      2003-09-02  Hasbullah Bin Pit <sebol@ikhlas.com>
      
              * ms.po: Added Translation by
                      MIMOS Open Source Development Group <ismas@mimos.my>
      86133ac6
    • Helvetix Victorinox's avatar
      Fixed another bug in initialising the compositing context for the special · d16097c2
      Helvetix Victorinox authored
      * app/paint-funcs/paint-funcs.c (initial_sub_region): Fixed
        another bug in initialising the compositing context for the
        special case of dissolve mode.  A further attempt to fix bug
        #121438.
      
      * app/composite/gimp-composite-generic.c
        (gimp_composite_dissolve_any_any_any_generic): Fixed bug in
        calculating whether the destination has an alpha channel (or
        not).
      d16097c2
    • Sven Neumann's avatar
      unref the parasite list before assigning a copy. · 5cfcf048
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-merge.c (gimp_image_merge_layers): unref
      	the parasite list before assigning a copy.
      5cfcf048
    • Sven Neumann's avatar
      fixed loop boundaries, spotted by Wolfgang Hofer (bug #121521). · 15fa89ba
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/base/temp-buf.c (temp_buf_new_check): fixed loop boundaries,
      	spotted by Wolfgang Hofer (bug #121521).
      15fa89ba
    • Manish Singh's avatar
      Fix a couple dates · c3bdbdad
      Manish Singh authored
      c3bdbdad
    • Sven Neumann's avatar
      make it actually compile... · b66e3ddd
      Sven Neumann authored
      b66e3ddd
    • Sven Neumann's avatar
      removed a superfluous g_strdup(); made GimpQueryStringCallback take a · f77975a9
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpquerybox.[ch] (string_query_box_ok_callback):
      	removed a superfluous g_strdup(); made GimpQueryStringCallback take
      	a const gchar* pointer.
      
      	* plug-ins/gflare/gflare.c: changed accordingly.
      f77975a9
    • Sven Neumann's avatar
      free the memory allocated for the GimpLut structure. Removed trailing · 8e38f70b
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/base/gimplut.[ch] (gimp_lut_free): free the memory allocated
      	for the GimpLut structure. Removed trailing whitespace.
      
      	* app/core/gimpbuffer.c: cosmetics.
      
      	* app/core/gimpedit.[ch]: let gimp_edit_cut() and gimp_edit_copy()
      	return a pointer to the global cut buffer instead of creating a
      	GimpBuffer which was leaked by most callers.
      
      	* app/gui/edit-commands.c: changed accordingly.
      
      	* libgimpwidgets/gimpquerybox.[ch] (string_query_box_ok_callback):
      	removed a superfluous g_strdup(); made GimpQueryStringCallback take
      	a const gchar* pointer.
      
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/palettes-commands.c: changed accordingly.
      8e38f70b
  3. 04 Sep, 2003 25 commits
    • Sven Neumann's avatar
      don't fiddle with the spin-buttons, the defaults are fine. Removed · 7dc961ad
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
      	don't fiddle with the spin-buttons, the defaults are fine.
      	Removed trailing whitespace.
      7dc961ad
    • Manish Singh's avatar
      null-terminate string for vendor comparisions. · 40882695
      Manish Singh authored
      2003-09-04  Manish Singh  <yosh@gimp.org>
      
              * app/base/cpu-accel.c: null-terminate string for vendor comparisions.
      40882695
    • Manish Singh's avatar
      arg, committed wrong version of file · e72c69ee
      Manish Singh authored
      e72c69ee
    • Manish Singh's avatar
      rewrote the x86 tests, moved debug printout from base.c to here. · 0c511104
      Manish Singh authored
      2003-09-04  Manish Singh  <yosh@gimp.org>
      
              * app/base/cpu-accel.[ch]: rewrote the x86 tests, moved debug printout
              from base.c to here.
      
              * test-cpu-accel.c: simple test program to test the above.
      
              * app/base/base.c: use cpu_accel_print_results ()
      
              * app/base/Makefile.am: added test-cpu-accel to TESTS.
      
              * data/Makefile.am: make site local font directory on install.
      0c511104
    • Sven Neumann's avatar
      Render the specified text by default, added optional font labels. · 5ada4dfa
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/font-map.scm (script-fu-font-map):
      	Render the specified text by default, added optional font labels.
      5ada4dfa
    • Michael Natterer's avatar
      removed gimp_channel_load(). · e2e04908
      Michael Natterer authored
      2003-09-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.[ch]: removed gimp_channel_load().
      
      	* app/core/gimpimage-mask.[ch]: removed gimp_image_mask_load()
      	and _save().
      
      	* app/core/gimpselection.[ch]: added gimp_selection_load() and
      	_save() since these functions are specific to the selection.
      
      	* app/core/gimpimage-qmask.c
      	* app/gui/select-commands.c
      	* app/widgets/gimpselectioneditor.c
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/selection_cmds.c: regenerated.
      e2e04908
    • Sven Neumann's avatar
      forgot to add gimpfonts_pdb.[ch]. · dd2e938b
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/Makefile.am: forgot to add gimpfonts_pdb.[ch].
      dd2e938b
    • Marco Ciampa's avatar
      Update italian translation. · 799cba78
      Marco Ciampa authored
      799cba78
    • Sven Neumann's avatar
      Keep text layers instead of merging them down. Allow to specify a text to · 501f84b1
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/font-map.scm (script-fu-font-map):
      	Keep text layers instead of merging them down. Allow to specify a
      	text to render in place of the font names.
      501f84b1
    • Marco Ciampa's avatar
      Updated italian translation. · 203d8629
      Marco Ciampa authored
      203d8629
    • Sven Neumann's avatar
      changed to 1.5 since win32 libtool doesn't seem to be reporting the micro · 5c600a7c
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* autogen.sh (LIBTOOL_WIN32): changed to 1.5 since win32 libtool
      	doesn't seem to be reporting the micro version number.
      5c600a7c
    • Sven Neumann's avatar
      removed duplicate entry · f611f482
      Sven Neumann authored
      
      removed duplicate entry
      f611f482
    • Manish Singh's avatar
      init path_list to quell gcc warning. · 8c710b06
      Manish Singh authored
      2003-09-04  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/paths.pdb: init path_list to quell gcc warning.
      
              * app/pdb/paths_cmds.c: regenerated.
      8c710b06
    • Manish Singh's avatar
      use gimp_drawable_invalidate_boundary now. · 49179f88
      Manish Singh authored
      2003-09-04  Manish Singh  <yosh@gimp.org>
      
              * app/text/gimptextlayer-transform.c: use
              gimp_drawable_invalidate_boundary now.
      49179f88
    • Manish Singh's avatar
      #define ARCH_X86 on x86-64 too. · d2c709b3
      Manish Singh authored
      2003-09-04  Manish Singh  <yosh@gimp.org>
      
              * configure.in: #define ARCH_X86 on x86-64 too.
      
              * app/composite/gimp-composite-sse2.c: dererference pointers outside
              of asm() construct.
      
              Now this stuff builds on x86-64, but fails some of the tests. Need
              to fix it later.
      d2c709b3
    • Manish Singh's avatar
      tools/pdbgen/pdb/brushes.pdb tools/pdbgen/pdb/fonts.pdb · b982386f
      Manish Singh authored
      2003-09-04  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/brushes.pdb
              * tools/pdbgen/pdb/fonts.pdb
              * tools/pdbgen/pdb/gradients.pdb
              * tools/pdbgen/pdb/palettes.pdb
              * tools/pdbgen/pdb/patterns.pdb: init pattern_list to quell gcc
              warning.
      
              * app/pdb/brushes_cmds.c
              * app/pdb/fonts_cmds.c
              * app/pdb/gradients_cmds.c
              * app/pdb/palettes_cmds.c
              * app/pdb/patterns_cmds.c: regenerated.
      b982386f
    • Sven Neumann's avatar
      use regfree() instead of accessing regex_t directly. · 02fcd79b
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugins_query): use regfree()
      	instead of accessing regex_t directly.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      02fcd79b
    • Sven Neumann's avatar
      app/core/Makefile.am app/core/core-types.h added filter functionality for · 85adefe7
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpcontainer-filter.[ch]: added filter functionality
      	for GimpContainers.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/fonts.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: made the gimp_foo_get_list()
      	PDB function somewhat useful by adding a filter parameter that
      	allows to specify a regular expression to be used on the list.
      
      	* app/pdb/Makefile.am: had to uglify the ugly hack even more :(
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/fonts_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpfonts_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* plug-ins/gflare/gflare.c
      	* plug-ins/pygimp/gimpmodule.c: changed accordingly.
      
      	* plug-ins/script-fu/scripts/font-map.scm: replaced the font list
      	parameter with a more useful regexp filter on the available fonts.
      85adefe7
    • Sven Neumann's avatar
      fixed a bug in the implementation. Changed gimp_container_foreach() to · e6ab3106
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcontainer.[ch] (gimp_container_get_name_array):
      	fixed a bug in the implementation.
      	Changed gimp_container_foreach() to take a const container.
      e6ab3106
    • Michael Natterer's avatar
      app/core/gimpchannel.[ch] reordered GimpChannel::is_empty() after · ce437b58
      Michael Natterer authored
      2003-09-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpselection.c: reordered GimpChannel::is_empty()
      	after GimpChannel::boudary() and GimpChannel::bounds() because it
      	belongs to that group of functions.
      ce437b58
    • Simon Budig's avatar
      Bah. Fixed stupid error from my last commit. · 430b96b6
      Simon Budig authored
      2003-09-04  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpbezierstroke.c: Bah. Fixed stupid error from
      	my last commit.
      430b96b6
    • Sven Neumann's avatar
      ported from gimp-text to gimp-text-fontname API. · c52a96e0
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/font-map.scm: ported from gimp-text
      	to gimp-text-fontname API.
      c52a96e0
    • Michael Natterer's avatar
      app/core/Makefile.am new files split out of gimpchannel.[ch]. · 3911d511
      Michael Natterer authored
      2003-09-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpchannel-combine.[ch]: new files split out of
      	gimpchannel.[ch].
      
      	* app/core/gimpchannel.[ch]: removed the combine functions here.
      
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-mask-select.c
      	* tools/pdbgen/pdb/channel.pdb: changed #includes accordingly.
      
      	* app/pdb/channel_cmds.c: regenerated.
      3911d511
    • Sven Neumann's avatar
      libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt added docs for new · 0186c13e
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpfonts.sgml: added docs for new fonts API.
      0186c13e
    • Sven Neumann's avatar
      added new function gimp_container_get_name_array(). · 0acc96d9
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcontainer.[ch]: added new function
      	gimp_container_get_name_array().
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/patterns.pdb: use the new GimpContainer function
      	instead of duplicating this code over and over again.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpgradients_pdb.c: regenerated.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/fonts.pdb: added new file that defines a simple
      	PDB API for fonts.
      
      	* tools/pdbgen/groups.pl
      	* app/pdb/Makefile.am
      	* app/pdb/fonts_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpfonts_pdb.[ch]: (re)generated.
      0acc96d9