1. 04 Sep, 2005 2 commits
  2. 03 Sep, 2005 8 commits
    • Michael Natterer's avatar
      do new_size calculation only when needed. · 874c832a
      Michael Natterer authored
      2005-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/temp-buf.c (temp_buf_resize): do new_size calculation
      	only when needed.
      874c832a
    • Michael Natterer's avatar
      replaced manual calculation of the offset of a pixel in a tile (marked as · 8dcebeaa
      Michael Natterer authored
      2005-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.c (gimp_paint_core_get_orig_image)
      	(gimp_paint_core_get_orig_proj): replaced manual calculation of
      	the offset of a pixel in a tile (marked as /* dubious... */ for a
      	reason) by simply using the offset parameters of tile_data_pointer().
      8dcebeaa
    • Karine Delvare's avatar
      app/tools/gimprectangletool.[ch] code cleanup, replace virtualization · b94ecff5
      Karine Delvare authored
      2005-09-03  Karine Delvare  <kdelvare@nerim.net>
      
        * app/tools/gimprectangletool.[ch]
        * app/tools/gimprectangleoptions.[ch]: code cleanup, replace
        virtualization functions with interface properties.
      
        * app/tools/gimpcroptool.[ch]
        * app/tools/gimpnewrectselecttool.[ch]
        * app/tools/gimpcropoptions.[ch]
        * app/tools/gimpnewrectselectoptions.[ch]: code cleanup, use said
        interface properties.
      b94ecff5
    • Michael Natterer's avatar
      s/row_stride/rowstride/g. · 34975e19
      Michael Natterer authored
      2005-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/pixel-surround.c: s/row_stride/rowstride/g.
      34975e19
    • Michael Natterer's avatar
      some general cleanup. · 09454fb2
      Michael Natterer authored
      2005-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/pixel-region.[ch]: some general cleanup.
      
      	(pixel_region_init_temp_buf)
      	(pixel_region_init_data): new functions which initialize pixel
      	regions on TempBufs and on raw contiguous arrays of pixel data.
      
      	(pixel_region_configure): fixed a bug that has probably been there
      	forever: when processing contiguous (non-tiled) data, interpret
      	the original x and y coordinates of the region as offsets into
      	the data. Before this fix, the initial x and y were simply ignored
      	(by using them in a broken way), thus always forcing the upper
      	left corner of the region being the beginning of the passed data.
      
      	Lots of code was working around this problem by setting the
      	pixel_region's data pointer to the proper starting pixel of the
      	region in the middle the buffer.
      
      	* libgimp/gimppixelrgn.c: some general cleanup.
      
      	(gimp_pixel_rgn_configure): same fix as above. Fortunately, nobody
      	seems to know that libgimp pixel regions can be used on arrays of
      	data, just as core ones. Only two plug-ins were using this
      	feature, and they are antique and written by spencer and federico,
      	respectively. They both don't use offsets into the buffers and are
      	not affected by this change. It's highly unlikely that anybody out
      	there knows/uses this feature, so it can IMHO be safely changed.
      
      	* app/base/temp-buf.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-combine.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimplayer.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimppainttool.c: use the pixel_region_init_foo()
      	functions instead of initializing regions of TempBufs and raw data
      	manually. Removed lots of workarounds for the broken offset
      	handling. The changed places of code are much more readable now.
      09454fb2
    • Sven Neumann's avatar
      app/tools/gimpcolorbalancetool.c app/tools/gimphuesaturationtool.c minor · 760a2eca
      Sven Neumann authored
      2005-09-03  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimptextoptions.c: minor strings changes.
      760a2eca
    • Seth Burgess's avatar
      c8c61455
    • Sven Neumann's avatar
      added new functions. · bf6ed418
      Sven Neumann authored
      2005-09-03  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-sections.txt: added new functions.
      
      	* libgimp/tmpl/gimpedit.sgml: regenerated.
      bf6ed418
  3. 02 Sep, 2005 11 commits
    • Michael Natterer's avatar
      don't create a display here. · 89bb3fff
      Michael Natterer authored
      2005-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-edit.[ch] (gimp_edit_paste_as_new): don't create a
      	display here.
      
      	(gimp_edit_named_cut)
      	(gimp_edit_named_copy)
      	(gimp_edit_named_copy_visible): new functions containing named
      	buffer wrappers around the functions affecting the global buffer
      	only.
      
      	* app/actions/edit-commands.c: use the new functions instead of
      	implementing them here, create a display for the image returned
      	by paste as new.
      
      	* app/actions/buffers-commands.c
      	* app/widgets/gimptoolbox-dnd.c: create displays here too.
      
      	* tools/pdbgen/pdb/edit.pdb: added wrappers for paste as new and
      	wrappers for all the cut/copy/paste named stuff.
      	Fixes bug #315130. Cleaned up and de-obfuscated.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpedit_pdb.[ch]: regenerated.
      89bb3fff
    • Sven Neumann's avatar
      app/widgets/gimpcontainergridview.c allow to popup menus on empty · 5f2904f9
      Sven Neumann authored
      2005-09-02  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c: allow to popup menus on
      	empty container views using the standard Shift-F10 keybinding.
      5f2904f9
    • Sven Neumann's avatar
      applied patch that fixes a build issue on Cygwin (bug #314893). · b1feae90
      Sven Neumann authored
      2005-09-02  Sven Neumann  <sven@gimp.org>
      
      	* modules/Makefile.am: applied patch that fixes a build issue on
      	Cygwin (bug #314893).
      b1feae90
    • Sven Neumann's avatar
      app/tools/gimptextoptions.c dropped the labels from text tool options that · 32d5c889
      Sven Neumann authored
      2005-09-02  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptextoptions.c
      	* app/widgets/gimpwidgets-utils.[ch]: dropped the labels from text
      	tool options that have icons. Reduces visual clutter.
      32d5c889
    • Sven Neumann's avatar
      draw guides over the grid. · c482da67
      Sven Neumann authored
      2005-09-02  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_expose): draw guides over the grid.
      c482da67
    • Michael Natterer's avatar
      don't quit the main loop after transferring the data to GTK, it needs a · 93c5843f
      Michael Natterer authored
      2005-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* tools/test-clipboard.c (test_clipboard_copy_callback): don't
      	quit the main loop after transferring the data to GTK, it needs a
      	running main loop to get the chunks tranferred to X.
      93c5843f
    • Sven Neumann's avatar
      app/dialogs/convert-dialog.c app/dialogs/image-merge-layers-dialog.c · b98c560f
      Sven Neumann authored
      2005-09-02  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/convert-dialog.c
      	* app/dialogs/image-merge-layers-dialog.c
      	* app/dialogs/layer-add-mask-dialog.c
      	* app/dialogs/offset-dialog.c: use verbs instead of "OK" in the
      	confirmative dialog button.
      b98c560f
    • Sven Neumann's avatar
      AUTHORS regenerated. · 2fb4aa26
      Sven Neumann authored
      2005-09-02  Sven Neumann  <sven@gimp.org>
      
      	* AUTHORS
      	* app/dialogs/authors.h: regenerated.
      2fb4aa26
    • Sven Neumann's avatar
      plug-ins/bmp/bmpwrite.c plug-ins/common/aa.c plug-ins/common/csource.c · 1a7beee0
      Sven Neumann authored
      2005-09-02  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/common/aa.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/gtm.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/pat.c
      	* plug-ins/common/png.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/postscript.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/raw.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/svg.c
      	* plug-ins/common/tga.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/fits/fits.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/jpeg/jpeg-save.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/winicon/icodialog.c
      	* plug-ins/xjt/xjt.c: use verbs instead of "OK" in the
      	confirmative dialog button.
      1a7beee0
    • Tor Lillqvist's avatar
      Mark people as documenter or artist, based on ChangeLogs and other · 9f505013
      Tor Lillqvist authored
      2005-09-02  Tor Lillqvist  <tml@novell.com>
      
      	* authors.xml: Mark people as documenter or artist, based on
      	ChangeLogs and other information. Remove translator names, they
      	are in the respective .po files.
      9f505013
    • Sven Neumann's avatar
      plug-ins/jpeg/jpeg-load.c (load_image) removed tile cache again, it · c0de2b76
      Sven Neumann authored
      2005-09-02  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/jpeg/jpeg-load.c (load_image)
      	* plug-ins/jpeg/jpeg-save.c (save_image): removed tile cache again,
      	it doesn't help for the way the plug-in accesses the pixels.
      c0de2b76
  4. 01 Sep, 2005 4 commits
  5. 31 Aug, 2005 3 commits
  6. 30 Aug, 2005 2 commits
  7. 29 Aug, 2005 4 commits
    • Michael Natterer's avatar
      The previous commit added tons of code just to completely break clone · c32827a7
      Michael Natterer authored
      2005-08-29  Michael Natterer  <mitch@gimp.org>
      
      	The previous commit added tons of code just to completely break
      	clone align behavior. Reverted lots of the changes and do the
      	sample-merged stuff at the innermost place (gimp_clone_motion).
      	This change also enables changing sample-merged between paint
      	strokes.
      
      	* app/paint/gimpclone.[ch] (struct GimpClone): changed member
      	"src_pickable" back to "src_drawable".
      
      	(gimp_clone_paint): completely reverted.
      
      	(gimp_clone_motion): do the drawable/projection -> pickable
      	stuff and drawable offset handling here.
      
      	Fixed signal handling to connect to the drawable's "removed"
      	signal (not "disconnect", eek). Disconnect from the signal once
      	the drawable has been removed.
      
      	* app/tools/gimpclonetool.c: changed accordingly.
      c32827a7
    • Michael Natterer's avatar
      added toggles which allow to always use the frame delay and disposal · 3426f7a9
      Michael Natterer authored
      2005-08-29  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/gif.c: added toggles which allow to always use
      	the frame delay and disposal entered in the dialog, overriding the
      	ones specified in the layer names. Fixes bug #314726. Also fixed
      	missing and non-working mnemonics.
      3426f7a9
    • Karine Delvare's avatar
      fix canceling the tool. · 0df9d1cd
      Karine Delvare authored
      2005-08-29  Karine Delvare  <kdelvare@nerim.net>
      
        * app/tools/gimprectangletool.c: fix canceling the tool.
      0df9d1cd
    • Sven Neumann's avatar
      retitled dialog to "Import from PDF" and changed the confirmative button · ad892902
      Sven Neumann authored
      2005-08-29  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/poppler.c: retitled dialog to "Import from PDF"
      	and changed the confirmative button label to "Import".
      ad892902
  8. 28 Aug, 2005 3 commits
    • Michael Natterer's avatar
      Correction in last entry. · 700c1116
      Michael Natterer authored
      700c1116
    • Michael Natterer's avatar
      Immplement "Sample Merged" for the clone tool. Fixes bug #123627. · 26374e81
      Michael Natterer authored
      2005-08-28  Michael Natterer  <mitch@gimp.org>
      
      	Immplement "Sample Merged" for the clone tool. Fixes bug #123627.
      
      	* app/paint/gimppaintcore.[ch] (struct GimpPaintCore): added
      	members "saved_proj_tiles" which stores the unmodified projection,
      	"orig_proj_buf" which stores the unmodified temp paint application
      	buf and "use_saved_proj" which controls if all the additional
      	stuff should be allocated and managed.
      
      	(gimp_paint_core_start): allocate the saved_proj_tiles if needed.
      
      	(gimp_paint_core_get_orig_proj): new function like
      	gimp_paint_core_get_orig_image() which returns unmodified
      	projection pixels for paint application.
      
      	(gimp_paint_core_validate_saved_proj_tiles): new function like
      	gimp_paint_core_validate_undo_tiles() which copies the tiles that
      	will be dirtied to saved_proj_tiles.
      
      	(gimp_paint_core_paste): call above save_proj_tiles() so
      	projection tiles are saved before dirtying them.
      
      	* app/paint/gimpclone.[ch]: replaced member src_drawable by
      	src_pickable and use the image's projection if sample_merged it
      	TRUE. Adjust src offsets accordingly and use GimpPaintCore's new
      	get_orig_proj() API to get the src pixels.
      
      	* app/paint/gimpcloneoptions.[ch]: added boolean "sample_merged"
      	property.
      
      	* app/tools/gimpclonetool.c: follow GimpClone's src_drawable ->
      	src_pickable change.
      
      	(gimp_clone_tool_button_press): set the paint_core's
      	"use_saved_proj" boolean before chaining up.
      
      	(gimp_clone_options_gui): add a "Sample Merged" toggle button.
      26374e81
    • Manish Singh's avatar
      python headers on Win32 don't live in a versioned subdir. Handle that · 19ea8868
      Manish Singh authored
      2005-08-28  Manish Singh  <yosh@gimp.org>
      
              * m4macros/pythondev.m4: python headers on Win32 don't live in a
              versioned subdir. Handle that case.
      19ea8868
  9. 27 Aug, 2005 3 commits