1. 23 Jun, 2003 9 commits
    • Henrik Brix Andersen's avatar
      Added a per image configurable grid. · edd5c339
      Henrik Brix Andersen authored
      This fixes bug #65198
      
      * app/core/Makefile.am
      * app/core/core-types.h:
      * app/core/gimpgrid.[ch]: added new class GimpGrid.
      
      * app/core/core-enums.[ch]: added new enum GimpGridType.
      
      * app/core/gimpimage-guides.[ch]: removed the gimp_image_snap_*()
      functions...
      
      * app/core/gimpimage-snap.[ch]: ...and added them here since they
      are no longer guide specific.
      
      * app/core/gimpimage-undo-push.[ch]: added
      gimp_image_undo_push_image_grid()
      
      * app/display/gimpdisplayshell-handlers.c:
      * app/core/gimpimage.[ch]: added grid member to _GimpImage. Added
      new signal "grid_changed", added gimp_image_grid_changed(),
      gimp_image_get_grid() and gimp_image_set_grid().
      
      * app/display/gimpdisplayshell-appearance.[ch]: added
      gimp_display_shell_set_show_grid(),
      gimp_display_shell_get_show_grid(),
      gimp_display_shell_set_snap_to_grid() and
      gimp_display_shell_get_snap_to_grid().
      
      * app/display/gimpdisplayshell-callbacks.c: added call to
      gimp_display_shell_draw_grid()
      
      * app/display/gimpdisplayshell.[ch]: added grid member to
      _GimpDisplayShellVisibility, added snap_to_grid and grid_dialog
      members to _GimpDisplayShell, added
      gimp_display_shell_draw_grid(), modified
      gimp_display_shell_snap_coords() to use the new
      gimp_image_snap_*() functions.
      
      * app/gui/image-menu.c: added grid entries to
      image_menu_entries[].
      
      * app/gui/view-commands.[ch]: added
      view_configure_grid_cmd_callback(),
      view_toggle_grid_cmd_callback() and
      view_snap_to_grid_cmd_callback().
      
      * app/gui/Makefile.am
      * app/gui/grid-dialog.[ch]: added a grid dialog.
      edd5c339
    • Michael Natterer's avatar
      added separate GMainLoops for waiting for extension_ack and for · ba91aeb8
      Michael Natterer authored
      2003-06-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in.[ch]: added separate GMainLoops for waiting
      	for extension_ack and for procedure_run's return value. The stack
      	of main loops is currently unused, it will be used for temp_proc
      	return values (which are currently disabled for no good reason).
      	Removed the boolean "recurse" and "starting_ext" states because
      	they are redundant now (we check for the presence of the dedicated
      	main loops instead).
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-progress.c
      	* app/plug-in/plug-in-run.c: changed accordingly.
      ba91aeb8
    • Sven Neumann's avatar
      announce the fact that we understand URI lists as command-line parameters. · 1d5127df
      Sven Neumann authored
      2003-06-23  Sven Neumann  <sven@gimp.org>
      
      	* data/misc/gimp.desktop.in.in: announce the fact that we
      	understand URI lists as command-line parameters.
      1d5127df
    • Michael Natterer's avatar
      enabled passing of file: URIs as command line parameters. · e6507ad5
      Michael Natterer authored
      2003-06-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c (app_init): enabled passing of file: URIs
      	as command line parameters.
      e6507ad5
    • Sven Neumann's avatar
      mention all changed files · badb8c25
      Sven Neumann authored
      badb8c25
    • Sven Neumann's avatar
      INSTALL renamed --with-gnome-datadir configure option to · 230abae0
      Sven Neumann authored
      2003-06-23  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL
      	* configure.in: renamed --with-gnome-datadir configure option to
      	--with-desktop-dir because it is not GNOME specific.
      
      	Removed "sr" and "sr@Latn" from ALL_LINGUAS until all required po
      	files have been added.
      230abae0
    • Danilo Šegan's avatar
      Added "sr" and "sr@Latn" to ALL_LINGUAS. · 588b313f
      Danilo Šegan authored
      2003-06-23  Danilo Šegan  <dsegan@gmx.net>
      
      	* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
      
      	* po/sr.po, po/sr@Latn.po: Added Serbian translation by Serbian
      	team (Prevod.org).
      588b313f
    • Sven Neumann's avatar
      updated NEWS · 4b5bdadc
      Sven Neumann authored
      4b5bdadc
    • Sven Neumann's avatar
      simplified exif check by using PKG_CHECK_MODULES(). · 742d5546
      Sven Neumann authored
      2003-06-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: simplified exif check by using PKG_CHECK_MODULES().
      
      	* plug-ins/common/mkgen.pl: allow for multiple library dependencies.
      
      	* plug-ins/common/plugin-defs.pl: added exif dependency to the
      	jpeg plug-in.
      
      	* plug-ins/common/Makefile.am: regenerated.
      742d5546
  2. 22 Jun, 2003 4 commits
    • Dave Neary's avatar
      configure.in plug-ins/common/Makefile.am Add support for the keeping of · 1abfa8da
      Dave Neary authored
      
      
      2003-06-22  Dave Neary  <bolsh@gimp.org>
      
      	* configure.in
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/jpeg.c: Add support for the keeping of EXIF
      	information in jpeg files. This is step 1 in the overall plan to
      	an all-singing, all-dancing metadata editor. Next step is to do
      	the same thing for TIFFs, then to do both properly as a number of
      	parasites rather than one big one, and then to allow a generic
      	metadata editor, as well as (possibly) adding a nice way to
      	manipulate exif data in the jpeg plug-in while saving.
      
      	This is a modified patch of one posted to the devel list by Lutz
      	Muller in February 2002, and subsequently added to bug #56443.
      	Sorry it took so long Lutz.
      1abfa8da
    • Dave Neary's avatar
      Increased default tile cache to 64 MB. · f4c1777a
      Dave Neary authored
      
      
      2003-06-22  Dave Neary  <bolsh@gimp.org>
      
      	* app/config/gimpbaseconfig.c: Increased default tile cache
      	to 64 MB.
      f4c1777a
    • Sven Neumann's avatar
      added Encoding, StartupNotify and Bugzilla entries. · c7312921
      Sven Neumann authored
      2003-06-22  Sven Neumann  <sven@gimp.org>
      
      	* data/misc/gimp.desktop.in.in: added Encoding, StartupNotify and
      	Bugzilla entries.
      c7312921
    • Sven Neumann's avatar
      an updated version of PotatoShop keybindings contributed by Eric Pierce · 80a47eb0
      Sven Neumann authored
      2003-06-22  Sven Neumann  <sven@gimp.org>
      
      	* etc/ps-menurc: an updated version of PotatoShop keybindings
      	contributed by Eric Pierce <epierce@sdf.lonestar.org>.
      80a47eb0
  3. 21 Jun, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpcontainergridview.c disable workarounds for bugs #110737 · 00bf02f5
      Michael Natterer authored
      2003-06-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c: disable workarounds for
      	bugs #110737 and #108956 for GTK+ >= 2.2.2. Will remove them as
      	soon as we depend on 2.2.2.
      
      	* app/widgets/gimpcontainertreeview.c
      	(gimp_container_tree_view_select_item): disabled optimization
      	which didn't select an already selected iter because it broke the
      	fix for #108956. Cleanup.
      00bf02f5
  4. 20 Jun, 2003 9 commits
  5. 19 Jun, 2003 6 commits
    • Sven Neumann's avatar
      documentation fixes. · 9ab621e7
      Sven Neumann authored
      2003-06-19  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimp.[ch]: documentation fixes.
      9ab621e7
    • Michael Natterer's avatar
      libgimp/libgimp-sections.txt libgimp/tmpl/gimp.sgml updated/regenerated. · db765b88
      Michael Natterer authored
      2003-06-19  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimp.sgml
      	* libgimp/tmpl/gimptile.sgml: updated/regenerated.
      db765b88
    • Michael Natterer's avatar
      Changed the semantics of GIMP_EXTENSION and (to some extent) of · ecb0b584
      Michael Natterer authored
      2003-06-19  Michael Natterer  <mitch@gimp.org>
      
      	Changed the semantics of GIMP_EXTENSION and (to some extent)
      	of GIMP_PLUGIN:
      
      	The old meaning of EXTENSION was "I live in the toolbox" and
      	PLUGIN meant "I take RUN-MODE,IMAGE,DRAWABLE args (but only if I
      	am invoked interactively)". This is completely useless, since
      	living in the toolbox means having "<Toolbox>" in the menu_path
      	and taking RUN-MODE,IMAGE,DRAWABLE means just that, regardless of
      	what type of procedure we are.
      
      	The new meaning of GIMP_PLUGIN is just "I am an ordinary procedure,
      	I am invoked, do my job and finish", while GIMP_EXTENSION means
      	"I will install temporary procedures and I will keep running to
      	keep them available".
      
      	(A GIMP_EXTENSION *must* call gimp_extension_ack() now to tell the
      	core that it's ready to run, or the core will block waiting for
      	the message !!!).
      
      	* configure.in: bumped version number to 1.3.16.
      
      	* libgimpbase/gimpprotocol.h: increased protocol version number so
      	old extensions will refuse to load.
      
      	* app/gui/plug-in-commands.c (plug_in_run_cmd_callback): don't
      	blindly pass RUN-MODE,IMAGE,DRAWABLE to GIMP_PLUGIN procedures but
      	look at their parameters and pass them either RUN-MODE, or
      	RUN-MODE,IMAGE, or RUN-MODE,IMAGE,DRAWABLE.
      
      	* app/pdb/procedural_db.c: cleaned up, better error reporting,
      	replaced an impossible error message by g_return_if_fail()
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install):
      	better error messages.
      
      	* app/plug-in/plug-in-params.c: allocate parameter arrays using
      	g_new0() so we don't have to worry about uninitialized stuff
      	later.
      
      	* app/plug-in/plug-in-run.c (plug_in_run): wait for
      	gimp_extension_ack() installation confirmation for ALL extensions,
      	not just for automatically started ones.
      
      	* app/plug-in/plug-ins.c: cleanup.
      
      	* libgimp/gimp.[ch]: cleaned up and API-documented massively. Made
      	all magic values given in the GPConfig message static and added
      	accessor functions for them. Added gimp_tile_width()/height().
      	Added new function gimp_extension_enable() which turns on
      	asynchronous processing of temp_proc run requests without having
      	to enter an endless gimp_extension_process() loop. Moved all
      	private functions to the end of the file. Added tons of
      	g_return_if_fail() all over the place.  Call gimp_run_procedure2()
      	from gimp_run_procedure() instead of duplicating the
      	code. Indentation, spacing, stuff...
      
      	* libgimp/gimptile.[ch]: removed gimp_tile_width()/height().
      
      	* libgimp/gimpdrawable.c
      	* libgimp/gimppixelrgn.c
      	* libgimp/gimptile.c: use the gimp_tile_width()/height() accessor
      	functions.
      
      	* libgimp/gimp.def: added gimp_extension_enable.
      
      	* libgimp/gimpmenu.c: removed evil code which connected to
      	_readchannel manually and use gimp_extension_enable() for watching
      	temp_procs.
      
      	* plug-ins/helpbrowser/helpbrowser.c: removed the same evil code
      	here and call gimp_extension_enable(). Call gimp_extension_ack()
      	to let the core know that the temp_proc is installed.
      
      	* plug-ins/script-fu/script-fu.c: made all procedures except the
      	permanently running "extension_script_fu" ordinary GIMP_PLUGIN
      	procedures.
      
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/common/winclipboard.c
      	* plug-ins/dbbrowser/dbbrowser.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/twain/twain.c
      	* plug-ins/webbrowser/webbrowser.c
      	* plug-ins/winsnap/winsnap.c: made them all ordinary GIMP_PLUGIN
      	procedures and renamed them from "extension_*" to "plug_in_*".
      	Random cleanups.
      
      	* app/widgets/gimphelp.c
      	* plug-ins/maze/maze_face.c: call "plug_in_web_browser" now.
      ecb0b584
    • Sven Neumann's avatar
      when idle dispatching calls to plug-ins, use the data from the last call, · 267ea34a
      Sven Neumann authored
      2003-06-19  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpmenu.c: when idle dispatching calls to plug-ins, use
      	the data from the last call, not the first one. This fixes some
      	weird behaviour that the brush/font/gradient/pattern selection
      	widgets showed under certain circumstances.
      
      	* plug-ins/gfig/gfig.c (select_brush_callback): removed debugging
      	output that I forgot to remove before my last commit.
      267ea34a
    • Sven Neumann's avatar
      plug-ins/FractalExplorer/Dialogs.c plug-ins/common/film.c adapt to libgimp · ba647d5e
      Sven Neumann authored
      2003-06-19  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/common/film.c
      	* plug-ins/script-fu/script-fu-scripts.c: adapt to libgimp API
      	changes.
      ba647d5e
    • Hans Breuer's avatar
      replace the win9x specific cd .... with the portable cd ..\..\.. · 9768e4be
      Hans Breuer authored
      2003-06-19  Hans Breuer  <hans@breuer.org>
      
      	* makefile.msc : replace the win9x specific cd ....
      	with the portable cd ..\..\..
      
      	* **/makefile.msc : updated
      
      	* plug-ins/xjt/xjt.c plug-ins/common/psd_save.c :
      	there is still no unistd.h with msvc build
      9768e4be
  6. 18 Jun, 2003 3 commits
  7. 17 Jun, 2003 5 commits
    • Sven Neumann's avatar
      raise the brush selection dialog if there is one already; various code · d1cdae22
      Sven Neumann authored
      2003-06-17  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gfig/gfig.c: raise the brush selection dialog if there
      	is one already; various code cleanups. Fixes #82475.
      d1cdae22
    • Sven Neumann's avatar
      added a missing call to gimp-drawable-fill for the RGB case. Fixed · 3aae9ed6
      Sven Neumann authored
      2003-06-17  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/select-to-brush.scm: added a missing
      	call to gimp-drawable-fill for the RGB case. Fixed description,
      	restore selection and delete the temporary channel. Fixes bug
      	#115350.
      3aae9ed6
    • Sven Neumann's avatar
      fixed description. · f92033d7
      Sven Neumann authored
      2003-06-17  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/select-to-brush.scm: fixed description.
      f92033d7
    • Sven Neumann's avatar
      libgimp/gimpfontmenu.c libgimp/gimpgradientmenu.c minor cleanups. · f8ebd89b
      Sven Neumann authored
      2003-06-17  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpfontmenu.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpmenu.h: minor cleanups.
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimppatternmenu.c: destroy the popup window instead of
      	hiding it on button_release.
      f8ebd89b
    • Sven Neumann's avatar
      update the BrushSelect "object" when the brush opacity is changed. · 1fd0eb07
      Sven Neumann authored
      2003-06-17  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/brush-select.c (opacity_scale_update): update the
      	BrushSelect "object" when the brush opacity is changed.
      
      	* libgimp/gimpmenu.[ch]
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpfontmenu.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimppatternmenu.c: raise selection dialogs when being
      	called again, marked strings for translation, added lots of const
      	qualifiers, cleaned up code.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/patterns.pdb: use g_memdup() instead of
      	g_memmove().
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      
      2003-06-17  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: added files with newly marked strings.
      
      	* de.po: updated.
      1fd0eb07
  8. 16 Jun, 2003 3 commits