1. 02 May, 2003 4 commits
    • Michael Natterer's avatar
      added new function gimp_dialog_factory_add_foreign() which adds a dialog · fefaf61b
      Michael Natterer authored
      2003-05-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: added new function
      	gimp_dialog_factory_add_foreign() which adds a dialog that was not
      	created by the factory itself. Its identifier however must be
      	registered with the factory. Connect to all toplevel dialogs'
      	"configure_event" and remember the resulting window geometry so we
      	get session management for *all* dialogs, not only for those which
      	were open on exit.
      
      	* app/gui/dialogs.c: added the "File New" dialog. Added foreign
      	entries (without constructor) for all dialogs opened by tools.
      
      	* app/gui/dialogs-constructors.[ch]: added a constructor for
      	the file_new dialog.
      
      	* app/gui/file-new-dialog.[ch]: renamed file_new_dialog_create()
      	to file_new_dialog_new() and removed the gimage and template
      	paramaters. Adder new function file_new_dialog_set() to set
      	gimage and template after creation.
      
      	* app/gui/file-commands.c
      	* app/gui/templates-commands.c: changed accordingly.
      
      	* app/tools/gimpimagemaptool.[ch]
      	* app/tools/gimptransformtool.[ch]: added
      	"const gchar *shell_identifier" to the tool structs. Register the
      	tool dialogs using gimp_dialog_factory_add_foreign().
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpthresholdtool.c: set "shell_identifier" so the
      	dialogs become session managed. Fixes bug #61091.
      
      	* app/tools/gimpcroptool.c: register the crop dialog with the
      	dialog factory. Fixes bug #52849.
      
      	* app/tools/gimpcolorpickertool.c: ditto.
      
      	Unrelated:
      
      	* app/tools/gimptool.c: no need to cast the return value of
      	g_object_new().
      fefaf61b
    • Pedro Gimeno's avatar
      Save brush pointer before first stroke and restore it after. Fixes bug · a115c7b5
      Pedro Gimeno authored
      2003-05-02  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* app/paint/gimppaintcore-stroke.c (gimp_paint_core_stroke,
      	gimp_paint_core_stroke_vectors): Save brush pointer before first
      	stroke and restore it after. Fixes bug #102162.
      
      	* plug-ins/common/flarefx.c (FlareFX): Use
      	gimp_fixme_preview_do_row instead of memcpy. Fixes bug #112042 for
      	this plug-in.
      
      	* plug-ins/common/jigsaw.c: Several cleanups.
      	(jigsaw_values_changed): New function as a result of the cleanups.
      	(jigsaw): Use gimp_fixme_preview_do_row instead of memcpy.
      	Together with the fix to flarefx, fixes bug #112042.
      	(draw_jigsaw): Warn if passed a NULL buffer (solves the crash
      	reported in bug #112012).
      
      	* plug-ins/gimpressionist/orientation.c: Slightly reformatted.
      	(create_orientationpage): Modify orientfirst/orientlast instead of
      	sizefirst/sizelast in the corresponding adjustments. Fixes bug
      	#112061.
      a115c7b5
    • Manish Singh's avatar
      Query fontconfig directly for the font list, avoiding scanning the · 35111238
      Manish Singh authored
      2003-05-01  Manish Singh  <yosh@gimp.org>
      
              * app/text/gimpfontlist.c: Query fontconfig directly for the font
              list, avoiding scanning the internal fontconfig list over and over
              again. There are differences in the font list that the old and new
              code produce however. The new code will generate descriptions for
              more fonts, and some of the styles will be different. Also, pango
              font description strings aren't specific enough for all cases, so
              a font name may appear more than once in the list. I'm not sure
              how to solve this best, but this code is Good Enough (TM) for now.
      35111238
    • Vincent van Adrighem's avatar
      Dutch translation updated by Branko Collin. · d985eb5e
      Vincent van Adrighem authored
      2003-05-02  Vincent van Adrighem  <V.vanAdrighem@dirck.mine.nu>
      
      	* nl.po: Dutch translation updated by Branko Collin.
      d985eb5e
  2. 30 Apr, 2003 2 commits
  3. 29 Apr, 2003 3 commits
  4. 28 Apr, 2003 4 commits
  5. 27 Apr, 2003 2 commits
  6. 26 Apr, 2003 1 commit
  7. 25 Apr, 2003 3 commits
  8. 23 Apr, 2003 3 commits
  9. 22 Apr, 2003 1 commit
  10. 20 Apr, 2003 2 commits
  11. 19 Apr, 2003 1 commit
  12. 18 Apr, 2003 1 commit
  13. 17 Apr, 2003 6 commits
    • Duarte Loreto's avatar
      Updated Portuguese translation. · c76586f5
      Duarte Loreto authored
      2003-04-17  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      c76586f5
    • Sven Neumann's avatar
      applied a modified version of a patch from Branko Collins that makes the · fdf36749
      Sven Neumann authored
      2003-04-17  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/old-photo.scm: applied a modified
      	version of a patch from Branko Collins that makes the border size
      	configurable (bug #62087).
      fdf36749
    • Sven Neumann's avatar
      applied patch from Pedro Gimeno that fixes bug #51883. · 2e2f9fcf
      Sven Neumann authored
      2003-04-17  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-contiguous-region.c
      	(find_contiguous_region_helper): applied patch from Pedro Gimeno
      	that fixes bug #51883.
      
      	* plug-ins/common/bumpmap.c (bumpmap): applied patch from Pedro
      	Gimeno that fixes bug #52543.
      2e2f9fcf
    • Michael Natterer's avatar
      typo. · 016d1a8c
      Michael Natterer authored
      016d1a8c
    • Michael Natterer's avatar
      new functions snapping to one axis only. (gimp_image_snap_rectangle): use · 2a55fbed
      Michael Natterer authored
      2003-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-guides.c (gimp_image_add_x,y): new functions
      	snapping to one axis only.
      	(gimp_image_snap_rectangle): use them to enable snapping the
      	rectangle to all its corners, not just the NW and SE one.
      2a55fbed
    • Michael Natterer's avatar
      added an API to specify a "snap_offset" and a "snap_width/height". Needed · d5edd530
      Michael Natterer authored
      2003-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptoolcontrol.[ch]: added an API to specify a
      	"snap_offset" and a "snap_width/height". Needed for tools which
      	want to snap to a rectangle and/or a position which is not the
      	current cursor position.
      
      	* app/display/gimpdisplayshell.[ch]: removed
      	gimp_display_shell_find_guide(), gimp_display_shell_snap_point()
      	and gimp_display_shell_snap_rectangle().
      	Added gimp_display_shell_snap_coords() which works on GimpCoords
      	and gets passed the above snap offsets.
      
      	* app/display/gimpdisplayshell-callbacks.c: use the new snap
      	function, using the values from GimpToolControl.
      
      	* app/tools/gimpcroptool.c: set snap offsets so the handles can be
      	guide-aligned after creating. Fixes bug #110957.
      
      	* app/tools/gimpeditselectiontool.c: removed snapping code (which
      	was broken anyway) and set appropriate snap offsets in
      	init_edit_selection().
      d5edd530
  14. 16 Apr, 2003 2 commits
  15. 15 Apr, 2003 5 commits
    • Ole Laursen's avatar
      Updated Danish translation. · 3ad7f880
      Ole Laursen authored
      2003-04-15  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      3ad7f880
    • Michael Natterer's avatar
      check for GIMP_IS_DISPLAY(gdisp) again. · 8cee4963
      Michael Natterer authored
      2003-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.c: check for GIMP_IS_DISPLAY(gdisp) again.
      
      	* app/tools/gimptool.h: don't #include "gimptoolcontrol.h"
      
      	* app/tools/[all tools].c: #include "gimptoolcontrol.h"
      8cee4963
    • Sven Neumann's avatar
      really remove them this time... · 6899ca21
      Sven Neumann authored
      6899ca21
    • Sven Neumann's avatar
      app/tools/Makefile.am app/tools/gimptoolgui.[ch] removed unused files. · 032c1309
      Sven Neumann authored
      2003-04-15  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/gimptoolgui.[ch]
      	* app/tools/gimptoolmodule.[ch]: removed unused files.
      032c1309
    • Sven Neumann's avatar
      Removed support for pluggable tools: · 0c399e5c
      Sven Neumann authored
      2003-04-15  Sven Neumann  <sven@gimp.org>
      
      	Removed support for pluggable tools:
      
      	* configure.in: bumped version number to 1.3.15.
      
      	* Makefile.am
      	* libgimpproxy
      	* libgimptool
      	* plug-ins/Makefile.am
      	* plug-ins/plugin-helper
      	* plug-ins/tools: removed libgimpproxy, libgimptool and plug-ins
      	that used it.
      
      	* tools/Makefile.am
      	* tools/gimp-mkproxy: removed tool that used to generate
      	libgimpproxy.
      
      	* app/core/core-enums.h
      	* app/core/gimpchannel.h
      	* app/display/display-types.h
      	* app/widgets/widgets-enums.h: removed proxy-skip/resume stuff.
      
      	* app/core/gimpobject.c: use gimp marshallers.
      
      	* app/tools/Makefile.am
      	* app/tools/gimptool.h
      	* app/tools/tools-enums.[ch]: moved these files back from
      	libgimptool.
      
      	* app/tools/gimptool.c
      	* app/tools/gimptoolcontrol.h: merged back functionality from
      	libgimptool.
      
      	* app/Makefile.am
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/tools-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbucketfilltool.h
      	* app/tools/gimpdrawtool.h
      	* app/tools/gimpimagemaptool.h
      	* app/tools/gimpinktool.h
      	* app/tools/gimptoolmodule.c
      	* app/tools/tool_manager.c
      	* app/tools/tools-types.h
      	* app/tools/tools.c
      	* tools/pdbgen/Makefile.am: changed accordingly.
      0c399e5c