2007-01-20 Michael Natterer <mitch@gimp.org>
Close the display after "Save as" when invoked via the "Close
Without Saving" dialog. Fixes bug #383700.
* app/actions/actions-types.h: added enum GimpSaveMode { SAVE,
SAVE_AS, SAVE_A_COPY, SAVE_AND_CLOSE }.
* app/actions/file-actions.c: changed the 4 save actions into
GimpEnumActions with above enum as values.
* app/actions/file-commands.[ch]: merged the save callbacks into
one and pass a "close_after_saving" boolean to
file_save_dialog_show().
* app/widgets/gimpfiledialog.[ch]: added "gboolean
close_after_saving" parameter to gimp_file_dialog_set_image() and
to the GimpFileDialog struct.
* app/dialogs/file-save-dialog.c: if the file was saved
successfully and close_after_saving is TRUE, close the display if
the image has not become dirty again in the meantime.
svn path=/trunk/; revision=21743
2007-01-20 Mukund Sivaraman <muks@mukund.org>
* configure.in: Lowered required dbus-glib version from 0.71 to
0.70 to make it build with stock FC6 (tested to work properly).
svn path=/trunk/; revision=21741
2007-01-19 Sven Neumann <sven@gimp.org>
* app/main.c: call gdk_notify_startup_complete() when we have
delegated the work to another GIMP instance and are about to
quit.
svn path=/trunk/; revision=21738
2007-01-19 Sven Neumann <sven@gimp.org>
* INSTALL
* configure.in: check for D-Bus GLib bindings.
* app/Makefile.am
* app/main.c: check if an interactive GIMP instance proposes
itself on the D-Bus and delegate to it. Allow this behaviour to be
overridden by using the --new-instance command-line option.
* app/widgets/Makefile.am
* app/widgets/gimpdbusservice.[ch]
* app/widgets/dbus-service.xml: added an object that offers a
D-Bus service.
* app/gui/Makefile.am
* app/gui/gui.c: connect to the D-Bus and export the GimpDBusService.
svn path=/trunk/; revision=21737
2007-01-19 Sven Neumann <sven@gimp.org>
* app/file/file-utils.[ch]: let the filename -> uri functions take
a Gimp parameter instead of the list of load procedures.
* app/core/gimpimage.c
* app/app_procs.c
* app/dialogs/file-open-location-dialog.c
* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
* app/pdb/fileops_cmds.c: regenerated.
svn path=/trunk/; revision=21736
2007-01-19 Sven Neumann <sven@gimp.org>
* app/app_procs.c
* app/file/file-utils.[ch]: moved code from app_procs.c to file-utils.
svn path=/trunk/; revision=21735
2007-01-19 Raphael Quinet <raphael@gimp.org>
* app/tools/gimpiscissorstool.h
* app/tools/gimpiscissorstool.c: Added some status bar messages.
Use ISCISSORS_OP_CONNECT to let the user know when the cursor is
above the first point and the user can connect and close the
curve. Allow the user to press Enter or Escape to confirm the
selection or cancel the tool. Fixes bug #398309.
svn path=/trunk/; revision=21734
2007-01-18 Kevin Cozens <kcozens@cvs.gnome.org>
* tools/pdbgen/pdb/color.pdb: allow low value to be equal to the high
value for PDB call to gimp-threshold. From a patch by Dave Gowers.
Fixes bug #397903.
svn path=/trunk/; revision=21731
2007-01-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/curve_bend.c (bender_type_callback): check data
before accessing it to avoid crashing while the dialog is being
constructed. Fixes bug #395798.
svn path=/trunk/; revision=21729
2007-01-16 Sven Neumann <sven@gimp.org>
* app/actions/file-commands.c (file_open_dialog_show): use the
toplevel widget as transient parent.
svn path=/trunk/; revision=21724
2007-01-16 Sven Neumann <sven@gimp.org>
* app/widgets/gimpprofilechooserdialog.c: use GTK_RESPONSE_ACCEPT
to make it work properly with GtkFileChooserButton.
svn path=/trunk/; revision=21723
2007-01-16 Sven Neumann <sven@gimp.org>
* app/widgets/gimpprofilechooserdialog.c: include *.icm files in
the filter. Add a shortcut to the systemwide color profile
folder.
svn path=/trunk/; revision=21722
2007-01-15 Michael Natterer <mitch@gimp.org>
* app/base/pixel-region.c (pixel_region_set,get_row): add support
for non-tiled regions.
* app/paint/gimpperspectiveclone.[ch]: replace handmade
transformation code by a call to gimp_transform_region(). Fix
getting the original pixels for src_pickable != dest_drawable
(bug #394610). Various small fixes and cleanups.
svn path=/trunk/; revision=21720
2007-01-15 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-exif.c (jpeg_exif_rotate_query): ellipsize
the image name displayed below the thumbnail.
svn path=/trunk/; revision=21717
2007-01-15 Sven Neumann <sven@gimp.org>
* app/actions/file-commands.[ch]
* app/actions/file-actions.c
* menus/image-menu.xml.in: removed "file-open-from-image" action
and simply use "file-open-image" from both File menus. Makes the
behavior more predictable and removes unneeded complexity.
svn path=/trunk/; revision=21716
2007-01-15 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-close.c (gimp_time_since): round up
to full hours for time periods over two hours.
svn path=/trunk/; revision=21714
2007-01-15 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-close.c: use ngettext() for the
close dialog. Fixes bug #396513.
svn path=/trunk/; revision=21709
2007-01-14 Hans Breuer <hans@breuer.org>
* plug-ins/script-fu/tinyscheme/scheme.[ch] : to make it compile with
msvc redefine stricmp after including <string.h> and protect gccism
#warning with #ifdef __GNUC__, also some more exports
* plug-ins/script-fu/scheme-wrapper.c : simple 'extern' does not work
to get variables across modules boundaries for msvc, use SCHEME_EXPORT
Together fixes bug #396268
svn path=/trunk/; revision=21707
2007-01-13 Sven Neumann <sven@gimp.org>
* app/widgets/gimpfiledialog.c
* app/widgets/gimpthumbbox.[ch]: save some string copies by
changing gimp_thumb_box_set_uri() to gimp_thumb_box_take_uri().
svn path=/trunk/; revision=21701
2007-01-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/compose.c
* plug-ins/common/decompose.c: applied patch from Robert Krawitz
that adds HSL support (bug #395928).
svn path=/trunk/; revision=21700
2007-01-12 Michael Natterer <mitch@gimp.org>
* app/core/gimpdashpattern.[ch]: register GIMP_TYPE_DASH_PATTERN
as boxed type. Added "new" to function names which create dash
patterns. Changed and renamed GValue functions to functions which
convert the dash pattern between GArray and GValueArray.
* app/core/gimpstrokeoptions.c
* app/widgets/gimpcellrendererdashes.c
* app/widgets/gimpstrokeeditor.c: changed accordingly.
* app/widgets/gimpdasheditor.c: ditto. Get rid of the recently
added manual memory management. The list store manages boxed types
all by itself.
svn path=/trunk/; revision=21698
2007-01-12 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpenumstore.c: added a construct-only property
to specify the enum-type.
svn path=/trunk/; revision=21695
2007-01-12 Sven Neumann <sven@gimp.org>
* app/about.h (GIMP_COPYRIGHT): updated copyright.
* app/main.c: use application name as summary in the help output.
svn path=/trunk/; revision=21694