2007-01-23 Kevin Cozens <kcozens@cvs.gnome.org>
* app/actions/context-actions.c
* app/actions/tools-actions.c: s/minumum/minimum/ typo
spotted by Joao S. O. Bueno Calligaris.
svn path=/trunk/; revision=21772
2007-01-23 Sven Neumann <sven@gimp.org>
* docs/gimp.1.in
* docs/gimp-remote.1.in: document the new behaviour and
command-line parameter.
svn path=/trunk/; revision=21762
2007-01-23 Sven Neumann <sven@gimp.org>
* app/widgets/dbus-service.xml: added Activate method.
* app/widgets/gimpdbusservice.[ch]: raise the toolbox from the
Activate method. Do nothing when no URIs are passed
* app/main.c: try the Activate method on the org.gimp.GIMP
service
when being called without any filenames on the command-lines.
svn path=/trunk/; revision=21761
2007-01-22 Sven Neumann <sven@gimp.org>
* app/file/file-open.[ch]: added utility function that handles
opening files passed on the command-line.
* app/app_procs.c
* app/widgets/gimpdbusservice.c: use the new function instead of
duplicating the code.
svn path=/trunk/; revision=21759
2007-01-22 Sven Neumann <sven@gimp.org>
* libgimp/gimppixbuf.c (gimp_pixbuf_from_data): free the
thumbnail
data that used to be leaked for grayscale thumbnails.
svn path=/trunk/; revision=21758
2007-01-22 Sven Neumann <sven@gimp.org>
* libgimp/gimpui.c (gimp_ui_init): no need to construct (and
leak)
command-line arguments when initializing GTK+.
svn path=/trunk/; revision=21757
2007-01-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdatafactoryview.c: don't add the open-as-image
button to all data factory views.
* app/widgets/gimppatternfactoryview.c: but do it here for the
Pattern dialog.
svn path=/trunk/; revision=21755
2007-01-22 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/script-fu/scripts/guides-new-percent.scm: replaced
license statement according to bug #119667.
svn path=/trunk/; revision=21750
2007-01-21 Michael Natterer <mitch@gimp.org>
* app/tools/gimpdrawtool.[ch]: maintain an is_drawn boolean which
indicates whether the drawn stuff is currently visible. Added
gimp_draw_tool_is_drawn() to obtain it.
* app/tools/gimpbrushtool.c (gimp_brush_tool_draw): don't create
the brush outline segments for the purpose of undrawing (if we
don't have the segments, we can hardly have drawn them before).
Fixes artifacts when the brush is being scaled or changed.
* app/core/gimpbrush.c: don't call brush_scale_mask() and
brush_scale_pixmap() with zero width or height. Fixes warnings
from these functions.
svn path=/trunk/; revision=21749
2007-01-21 Tor Lillqvist <tml@novell.com>
* configure.in: Add AC_MSG_RESULT([no]) to the fail branch of
PKG_CHECK_MODULES tests to make the output from configure
cleaner. Add proper quotes around $have_gnomevfs in a test to
avoid "test: too many arguments" warning. Add fail branch to the
test for dbus-glib so that it isn't a hard requirement.
svn path=/trunk/; revision=21748
2007-01-21 Michael Natterer <mitch@gimp.org>
* modules/controller_midi.c (midi_set_device): set the name
of the alsa client to "GIMP" and the name of the port to
"GIMP MIDI Input Controller". Provides reasonable strings in
apps which display "client::port" as well as in apps which
display only "port".
svn path=/trunk/; revision=21747
2007-01-21 Raphael Quinet <raphael@gimp.org>
* app/display/gimpstatusbar.[ch]
* app/tools/gimptool.[ch]: add optional help text at the end of
the messages generated by gimp_statusbar_push_coords() and
gimp_statusbar_push_length().
* app/tools/gimpcolortool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpmovetool.c
* app/tools/gimprectangletool.c: use the updated functions.
* app/tools/gimpblendtool.c
* app/tools/gimpcolorpickertool.c: added status bar messages.
svn path=/trunk/; revision=21745
2007-01-20 Raphael Quinet <raphael@gimp.org>
* app/tools/gimppainttool.c (gimp_paint_tool_control): pop the
status bar message when the tool is halted. This fixes a bug that
was leaving messages in the status bar if the mouse pointer was in
the image and the user switched to another tool with the keyboard.
svn path=/trunk/; revision=21744
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