Commit graph

8833 commits

Author SHA1 Message Date
Simon Budig 1a80262e7e rewrote gimp_bezier_stroke_extend for the case when the neighbor is not
2003-06-26  Simon Budig  <simon@gimp.org>

        * app/vectors/gimpbezierstroke.c: rewrote gimp_bezier_stroke_extend
        for the case when the neighbor is not really an end point of the
        stroke, but close enough to the end to still be acceptable.

        * app/tools/gimpvectortool.c: Make the tool behave sanely
        and more symetrically (both ends of a stroke behave basically the
        same now), gimp_draw_on_handle () now prefers the anchor passed
        into it via the *ret_anchor parameter over other preferred anchors.
2003-06-26 09:54:56 +00:00
Sven Neumann 4e4b91eda1 attempt to convert text from locale encoding.
2003-06-25  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-parasite.c (gimp_text_from_gdyntext_parasite):
	attempt to convert text from locale encoding.

	* app/vectors/gimpvectors-compat.c (gimp_vectors_compat_new):
	allow paths with zero points (bug # 115955).

	* plug-ins/script-fu/script-fu-server.c: if a connection to a
	client is lost, invalidate file descriptors in the command queue.
	Plugged a couple of memleaks.
2003-06-25 21:18:45 +00:00
Sven Neumann 043bfd25b3 added app/text/gimptext-parasite.c.
2003-06-25  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added app/text/gimptext-parasite.c.

	* de.po: updated.
2003-06-25 19:11:15 +00:00
Sven Neumann 9ab74cad7a some minor fixes.
2003-06-25  Sven Neumann  <sven@gimp.org>

	* gimp-tips.xml.in: some minor fixes.

	* de.po: updated German translation.
2003-06-25 19:10:27 +00:00
Sven Neumann 81c62c5865 added convenience function gimp_text_set_font_from_xlfd(). Improved and
2003-06-25  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-xlfd.[ch]: added convenience function
	gimp_text_set_font_from_xlfd(). Improved and documented XLFD parsing.

	* app/text/gimptext-parasite.c: use the new function.
2003-06-25 11:43:36 +00:00
Jan Morén e3efdc1e07 Updated Swedish translation.
2003-06-25  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-25 10:48:29 +00:00
Michael Natterer 0008e8329d modules/cdisplay_colorblind.c (cdisplay_colorblind_load_state)
2003-06-25  Michael Natterer  <mitch@gimp.org>

	* modules/cdisplay_colorblind.c (cdisplay_colorblind_load_state)
	* modules/cdisplay_gamma.c (cdisplay_gamma_load_state)
	* modules/cdisplay_highcontrast.c (cdisplay_contrast_load_state):
	gimp_parasite_data() returns a pointer to const data now.
2003-06-25 10:07:01 +00:00
Sven Neumann c0d677bcf2 removed "id" from ALL_LINGUAS until all required po files have been added.
2003-06-25  Sven Neumann  <sven@gimp.org>

	* configure.in: removed "id" from ALL_LINGUAS until all required
	po files have been added.
2003-06-25 08:18:00 +00:00
Mohammad DAMT 21adfbbfd5 Added Indonesian translation Added "id" to ALL_LINGUAS
2003-06-25  Mohammad DAMT  <mdamt@bisnisweb.com>

	* po/id.po: Added Indonesian translation
	* configure.in: Added "id" to ALL_LINGUAS
2003-06-25 07:18:15 +00:00
Mohammad DAMT 4d9bd4c68f Added Indonesian translation
2003-06-25  Mohammad DAMT  <mdamt@bisnisweb.com>

	* id.po: Added Indonesian translation
2003-06-25 06:59:36 +00:00
Simon Budig ca50643729 If an control handle gets converted to an edge simply move it to its next
2003-06-25  Simon Budig  <simon@gimp.org>

        * app/vectors/gimpbezierstroke.c: If an control handle gets
        converted to an edge simply move it to its next anchor.

        * app/tools/gimpvectortool.c: Improved interactive handling
        of vectors. Still work in progress, esp. I am not sure about
        the assignment of the modifier keys. Right now it is:

           Drag (Anchor/Handle): Regular Movement
           Shift-Click (Anchor): select multiple anchors (does not work yet)
           Shift-Drag: (Handle): move opposite handle symmetrically
           Ctrl-Drag (Anchor): Drag out control point
           S-C-Click: (Anchor/Handle): Convert to Edge
2003-06-24 23:11:13 +00:00
Sven Neumann 7a6a908ad2 added new function gimp_config_serialize_to_fd() for the sake of
2003-06-24  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.[ch]: added new function
	gimp_config_serialize_to_fd() for the sake of completeness and
	since it's a nice way to generate debugging output.

	* app/text/Makefile.am
	* app/text/gimptext-xlfd.[ch]: new files with routines to handle X
	Logical Font Descriptions in an attempt to improve backwards
	compatibility.

	* app/text/gimptext-parasite.[ch]
	* app/xcf/xcf-load.c: promote layers with GDynText parasite to
	GimpTextLayer. Work in progress, we need to improve font matching.
2003-06-24 19:45:55 +00:00
Michael Natterer b5c689a29a put back the hack which calls gtk_tree_selection_select_iter() in addition
2003-06-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_select_item): put back the hack which
	calls gtk_tree_selection_select_iter() in addition to
	gtk_tree_view_set_cursor() until bug #115871 is fixed.
2003-06-24 17:42:57 +00:00
Sven Neumann a5e1a2d437 ChangeLog fixes, NEWS updates 2003-06-24 15:05:46 +00:00
Sven Neumann 35a57d0148 broken pipe in the middle of the last commit...
* app/xcf/xcf-save.c: when saving a text layer, store an extra
	parasite that holds all information about the text.

	* app/xcf/xcf-load.c: if a "gimp-text-layer" parasite is found and
	it can be successfully deserialized to a GimpText object, convert
	the layer to a text layer and remove the parasite.

	* devel-docs/parasites.txt: documented the new "gimp-text-layer"
	parasite.
2003-06-24 13:59:36 +00:00
Sven Neumann 6b5e42def3 Added persistent storage of text layers in XCF files. We use a parasite in
2003-06-24  Sven Neumann  <sven@gimp.org>

        Added persistent storage of text layers in XCF files. We use a
	parasite in order to keep the file format backwards compatible.
	Fixes bug #111781.

	* app/text/Makefile.am
	* app/text/gimptext-parasite.[ch]: new files that hold functions
	to convert a GimpText object to a GimpParasite and back.

	* app/text/gimptextlayer.[ch]: added an ugly hack that allows to
	convert a normal layer to a text layer.

	* app/xcf/xcf-save.c: when saving a text layer, store an extra
	parasite that holds all information about the text.

	* app/xcf/xcf-load.c: if a "gimp-text-layer" parasite is found and
	it can be successfully deserialized to a GimpText object, convert
	the layer to a text layer and remove the parasite.

	* app/Makefile.am: had to change linkage order.

	* devel-docs/parasites.txt: documented the new "gimp-text-layer"
	parasite.

	* app/text/gimptext-parasite.[ch]
	* app/gui/session.c (session_save): plugged minor memory leaks.
2003-06-24 13:58:34 +00:00
Sven Neumann 82bb65c3cb Allow negative margin values. 2003-06-24 11:51:51 +00:00
Sven Neumann 7c503b81a6 store file descriptor and filename in a private struct instead of using
2003-06-24  Sven Neumann  <sven@gimp.org>

	* app/config/gimpscanner.c: store file descriptor and filename in
	a private struct instead of using internals of GScanner. Should
	fix problems on Win32 reported by Hans Breuer.
2003-06-24 11:46:19 +00:00
Sven Neumann 7ecebde9a0 plug-ins/script-fu/scripts/Makefile.am
2003-06-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/spyrogimp.scm
	* plug-ins/script-fu/scripts/trochoid.scm: replaced Trochoid
	script with the more advanced Spyrogimp (bug #115290).

	* plug-ins/script-fu/scripts/grid-system.scm: renamed menu entry.
2003-06-24 11:08:39 +00:00
Jan Morén 4b07d5cbab Updated Swedish translation.
2003-06-24  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-24 08:12:44 +00:00
Sven Neumann b7bfa4e538 changed the maximum preview dimensions in gimp_image_get_thumbnail() to
2003-06-24  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb: changed the maximum preview
	dimensions in gimp_image_get_thumbnail() to the limit implied by
	the core preview system (GIMP_VIEWABLE_MAX_PREVIEW_SIZE). Fixes
	bug #115464.

	* libgimp/gimpimage_pdb.c
	* app/pdb/image_cmds.c: regenerated.
2003-06-24 07:52:32 +00:00
Sven Neumann 166543510e more updates to the german translation 2003-06-23 23:55:48 +00:00
Michael Natterer a1c1fe4c70 app/core/gimpimage-undo-push.c (undo_pop_image_grid) ref/unref the grid.
2003-06-24  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-undo-push.c (undo_pop_image_grid)
	* app/core/gimpimage.c (gimp_image_set_grid): ref/unref the grid.

	* app/gui/view-commands.c (view_configure_grid_cmd_callback): set
	the dialog transient for the shell, make shell->grid_dialog a
	weak pointer of the grid dialog.

	* app/gui/grid-dialog.c: don't set shell->grid_dialog to NULL
	here, attach the grid using g_object_set_data_full() and don't
	unref it explicitely. Use gimp_config_is_equal_to() instead of
	gimp_config_diff().
2003-06-23 23:34:50 +00:00
Sven Neumann bd9231c940 update the preview when the intersection color changes.
2003-06-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c (dialog): update the preview when the
	intersection color changes.
2003-06-23 23:18:32 +00:00
Henrik Brix Andersen fb6f4fc240 removed superflous call to gimp_image_grid_changed().
* app/core/gimpimage-undo-push.c (undo_pop_image_grid): removed
superflous call to gimp_image_grid_changed().
2003-06-23 22:34:59 +00:00
Henrik Brix Andersen e985b88ee1 derive GimpGrid from GimpObject (not GObject) allowing us to use
* app/core/gimpgrid.[ch]: derive GimpGrid from GimpObject (not
GObject) allowing us to use gimp_object_get_memsize(). Added
missing copyright notice.

* app/core/gimpimage.c: only call gimp_object_get_memsize() if
gimage->grid != NULL.

* app/gui/grid-dialog.c: added mnemonics, set shell->grid_dialog
to NULL when destroyed.

* app/gui/view-commands.c (view_configure_grid_cmd_callback):
added call to gtk_window_present().
2003-06-23 22:27:54 +00:00
Sven Neumann f30586d112 app/config/gimpconfig.[ch] app/config/gimpconfigwriter.[ch] added support
2003-06-23  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.[ch]
	* app/config/gimpconfigwriter.[ch]
	* app/config/gimpscanner.[ch]: added support for serializing to
	and deserializing from strings. Had to do some smaller changes to
	the GimpConfig API.

	* app/config/test-config.c: added a simple test for the new
	functions.

	* app/config/gimpconfig-dump.c
	* app/config/gimprc.c
	* app/core/gimp-documents.c
	* app/core/gimp-parasites.c
	* app/core/gimp-templates.c
	* app/core/gimpunits.c
	* app/gui/session.c
	* app/plug-in/plug-in-rc.c
	* app/tools/tool_options.c
	* app/widgets/gimpdevices.c: follow GimpConfig API changes.

	* libgimpbase/gimpparasite.[ch]: declared the return value of
	gimp_parasite_data() as gconstpointer.
2003-06-23 22:02:56 +00:00
Sven Neumann dffe80c29a added app/gui/grid-dialog.c.
2003-06-23  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added app/gui/grid-dialog.c.

	* de.po: updated.
2003-06-23 20:17:52 +00:00
Henrik Brix Andersen edd5c33923 Added a per image configurable grid.
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.
2003-06-23 19:34:48 +00:00
Michael Natterer ba91aeb86b added separate GMainLoops for waiting for extension_ack and for
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.
2003-06-23 18:27:03 +00:00
Sven Neumann 1d5127dfe9 announce the fact that we understand URI lists as command-line parameters.
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.
2003-06-23 13:48:18 +00:00
Michael Natterer e6507ad5c5 enabled passing of file: URIs as command line parameters.
2003-06-23  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c (app_init): enabled passing of file: URIs
	as command line parameters.
2003-06-23 13:42:31 +00:00
Sven Neumann badb8c2573 mention all changed files 2003-06-23 10:26:42 +00:00
Sven Neumann 230abae02d INSTALL renamed --with-gnome-datadir configure option to
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.
2003-06-23 10:25:42 +00:00
Danilo Šegan 588b313f48 Added "sr" and "sr@Latn" to ALL_LINGUAS.
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).
2003-06-23 10:05:48 +00:00
Sven Neumann 4b5bdadc8d updated NEWS 2003-06-23 08:49:58 +00:00
Sven Neumann 742d55466f simplified exif check by using PKG_CHECK_MODULES().
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.
2003-06-23 08:26:25 +00:00
Dave Neary 1abfa8da27 configure.in plug-ins/common/Makefile.am Add support for the keeping of
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.
2003-06-22 20:41:22 +00:00
Dave Neary f4c1777a44 Increased default tile cache to 64 MB.
2003-06-22  Dave Neary  <bolsh@gimp.org>

	* app/config/gimpbaseconfig.c: Increased default tile cache
	to 64 MB.
2003-06-22 16:36:31 +00:00
Sven Neumann c73129215e added Encoding, StartupNotify and Bugzilla entries.
2003-06-22  Sven Neumann  <sven@gimp.org>

	* data/misc/gimp.desktop.in.in: added Encoding, StartupNotify and
	Bugzilla entries.
2003-06-22 11:34:33 +00:00
Sven Neumann 80a47eb076 an updated version of PotatoShop keybindings contributed by Eric Pierce
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>.
2003-06-22 10:56:39 +00:00
Michael Natterer 00bf02f52d app/widgets/gimpcontainergridview.c disable workarounds for bugs #110737
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.
2003-06-21 14:51:31 +00:00
Sven Neumann f32424aac5 removed calls to ROUND() in two places where they should not have been
2003-06-21  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpcolorspace.c (gimp_hsv_to_rgb_int): removed
	calls to ROUND() in two places where they should not have been
	added. Fixes bug #115626.
2003-06-20 22:12:18 +00:00
Dave Neary 86c1870f00 Enable menus on image windows by default.
2003-06-20  Dave Neary  <bolsh@gimp.org>

	* app/config/gimpdisplayconfig.c: Enable menus on 
	image windows by default.
2003-06-20 16:02:01 +00:00
Pablo Gonzalo del Campo f865ad2348 Updated Spanish translation.
2003-06-20  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-06-20 16:01:17 +00:00
Pablo Gonzalo del Campo 5ed67f586a Updated Spanish translation.
2003-06-20  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-06-20 16:00:45 +00:00
Michael Natterer 119356a692 use plug_in_get_undo_desc() instead of duplicating its code.
2003-06-20  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/message.pdb (message): use
	plug_in_get_undo_desc() instead of duplicating its code.

	* app/pdb/message_cmds.c: regenerated.
2003-06-20 14:13:15 +00:00
Michael Natterer 6684bb8aa8 pass the gdisp_ID to plug_in_run() again. Broke this with my last
2003-06-20  Michael Natterer  <mitch@gimp.org>

	* app/gui/plug-in-commands.c (plug_in_run_cmd_callback): pass the
	gdisp_ID to plug_in_run() again. Broke this with my last commit...
2003-06-20 14:05:17 +00:00
Sven Neumann 335c71c4e5 fixed error messages.
2003-06-20  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.c (gimp_config): fixed error messages.

	* app/widgets/gimpwidgets-utils.c (gimp_message_box): use a
	selectable label so you can copy from message dialogs.
2003-06-20 11:04:11 +00:00
Michael Natterer 3b1f805bb1 Really commit the changes this time:
2003-06-20  Michael Natterer  <mitch@gimp.org>

	Really commit the changes this time:

	* configure.in: bumped version number to 1.3.16.

	* libgimpbase/gimpprotocol.h: increased protocol version number so
	old extensions will refuse to load.
2003-06-20 10:36:28 +00:00