Commit Graph

9619 Commits

Author SHA1 Message Date
Sven Neumann 7772ca4606 allow to optionally export all paths from an image into a single SVG file.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-export.[ch]: allow to optionally export
	all paths from an image into a single SVG file.

	* app/gui/vectors-commands.c: changed accordingly.
2003-09-11 01:23:58 +00:00
Sven Neumann 918651ad72 added new function gimp_drawable_transform_matrix_flip().
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-transform-utils.[ch]: added new function
	gimp_drawable_transform_matrix_flip().

	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpvectors.c: don't push the complex GimpItem
	transformation API down to GimpStroke. Instead setup the matrices
	in GimpVectors and use a simpler API for GimpStroke.

	* app/vectors/gimpvectors-import.c: changed accordingly.

	* app/vectors/gimpvectors-export.c: close the <path> element.
2003-09-11 01:23:58 +00:00
Simon Budig b04af97000 Implemented gimp_bezier_stroke_arcto () that creates an elliptical arc in
2003-09-11  Simon Budig  <simon@gimp.org>

	* vectors/gimpbezierstroke.[ch]: Implemented
	gimp_bezier_stroke_arcto () that creates an elliptical arc
	in the way SVG works.

	* vectors/gimpvectors-import.c: use it.
2003-09-11 01:23:58 +00:00
Sven Neumann f8ea814c69 added new function gimp_drawable_transform_matrix_flip().
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-transform-utils.[ch]: added new function
	gimp_drawable_transform_matrix_flip().

	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpvectors.c: don't push the complex GimpItem
	transformation API down to GimpStroke. Instead setup the matrices
	in GimpVectors and use a simpler API for GimpStroke.

	* app/vectors/gimpvectors-import.c: changed accordingly.

	* app/vectors/gimpvectors-export.c: close the <path> element.
2003-09-11 01:23:58 +00:00
Sven Neumann defe15e00b removed lots of redundant casts.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: removed lots of redundant casts.
2003-09-11 01:23:56 +00:00
Sven Neumann e32d80b241 allow to optionally export all paths from an image into a single SVG file.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-export.[ch]: allow to optionally export
	all paths from an image into a single SVG file.

	* app/gui/vectors-commands.c: changed accordingly.
2003-09-11 01:23:56 +00:00
Sven Neumann 22168a6a47 define PANGO_DISABLE_DEPRECATED.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/text/Makefile.am: define PANGO_DISABLE_DEPRECATED.

	* app/text/gimptext-compat.c: avoid deprecated API.
2003-09-11 01:23:56 +00:00
Sven Neumann d804cdaee6 added new function gimp_drawable_transform_matrix_flip().
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-transform-utils.[ch]: added new function
	gimp_drawable_transform_matrix_flip().

	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpvectors.c: don't push the complex GimpItem
	transformation API down to GimpStroke. Instead setup the matrices
	in GimpVectors and use a simpler API for GimpStroke.

	* app/vectors/gimpvectors-import.c: changed accordingly.

	* app/vectors/gimpvectors-export.c: close the <path> element.
2003-09-11 01:23:56 +00:00
Sven Neumann 30a258639d link the screenshot plug-in explicitely against X11 (bug #121942).
2003-09-11  Sven Neumann  <sven@gimp.org>

	* configure.in: link the screenshot plug-in explicitely against X11
	(bug #121942).
2003-09-11 00:02:18 +00:00
Michael Natterer 82321d4a2f app/gui/Makefile.am new files.
2003-09-11  Michael Natterer  <mitch@gimp.org>

	* app/gui/Makefile.am
	* app/gui/themes.[ch]: new files.

	* app/gui/gui.[ch]: code taken from here. It was getting too large.

	* app/gui/preferences-dialog.c; changed accordingly.
2003-09-10 23:42:59 +00:00
Sven Neumann 2e33617669 replaced GTK_CFLAGS by GDK_PIXBUF_CFLAGS.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/vectors/Makefile.am (INCLUDES): replaced GTK_CFLAGS by
	GDK_PIXBUF_CFLAGS.

	* app/vectors/gimpvectors-export.c: added a first draft of
	GimpVectors SVG export.

	* app/gui/vectors-commands.c (vectors_export_cmd_callback): call
	gimp_vectors_export() with a hardcoded filename.
2003-09-10 23:00:45 +00:00
Sven Neumann 2ae38423af allow to optionally export all paths from an image into a single SVG file.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-export.[ch]: allow to optionally export
	all paths from an image into a single SVG file.

	* app/gui/vectors-commands.c: changed accordingly.
2003-09-10 23:00:44 +00:00
Sven Neumann 3e96247853 replaced GTK_CFLAGS by GDK_PIXBUF_CFLAGS.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/vectors/Makefile.am (INCLUDES): replaced GTK_CFLAGS by
	GDK_PIXBUF_CFLAGS.

	* app/vectors/gimpvectors-export.c: added a first draft of
	GimpVectors SVG export.

	* app/gui/vectors-commands.c (vectors_export_cmd_callback): call
	gimp_vectors_export() with a hardcoded filename.
2003-09-10 23:00:44 +00:00
Manish Singh b9d2950e8f include text-types.h instead of core-types.h
2003-09-10  Manish Singh  <yosh@gimp.org>

        * app/text/gimpfonts.c: include text-types.h instead of core-types.h
2003-09-10 22:27:43 +00:00
Sven Neumann 0037f5a7ea app/vectors/gimpvectors-import.[ch] allow to optionally create a
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-import.[ch]
	* app/gui/vectors-commands.c: allow to optionally create a
	GimpVectors object per <path> element. Made this the default until
	there's a GUI for this.
2003-09-10 22:11:02 +00:00
Michael Natterer 268c4fb1ce added lots more "GimpFooFunc gui_foo_func" vtable entries to the Gimp
2003-09-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp.[ch]: added lots more "GimpFooFunc gui_foo_func"
	vtable entries to the Gimp struct and wrapper function for them.
	They cover plug-in menu creation and plug-in progress utilities.

	* app/gui/gui.c: fill in the funtion pointers and dispatch
	to the actual functions.

	* app/pdb/Makefile.am (libapppdb_a_LIBADD): removed most hacks
	since the symbols are referenced within libappgui.a now.

	Removed any GTK+ dependency from the plug-ins/ directory:

	* app/plug-in/Makefile.am (INCLUDES): replaces GTK_CFLAGS by
	GDK_PIXBUF_CFLAGS.

	* app/plug-in/plug-in-progress.c
	* app/plug-in/plug-ins.c: replaced gui function calls to create
	menus and progress bars by calls to the wrappers.

	* app/plug-in/plug-in.c (plug_in_close): check dangling PDB
	dialogs using the new wrapper.

	* app/plug-in/plug-in-def.c
	* app/plug-in/plug-in-rc.c
	* app/plug-in/plug-in-run.c: removed trailing whitespace.
2003-09-10 22:06:45 +00:00
Manish Singh eeadbee0bb AC_SUBST the GDK_PIXBUF vars, to workaround automake 1.6 brokedness.
2003-09-10  Manish Singh  <yosh@gimp.org>

        * configure.in: AC_SUBST the GDK_PIXBUF vars, to workaround automake
        1.6 brokedness.
2003-09-10 21:01:48 +00:00
Sven Neumann 693b9011c1 finished basic SVG path import.
2003-09-10  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-import.c: finished basic SVG path import.
2003-09-10 20:27:20 +00:00
Manish Singh 2deb4c975c libgimpcolor/Makefile.am add a dependency on libgimpbase.la so they get
2003-09-10  Manish Singh  <yosh@gimp.org>

        * libgimpcolor/Makefile.am
        * libgimpmath/Makefile.am: add a dependency on libgimpbase.la so
        they get rebuilt when the version number changes.

        * Makefile.am: build libgimpbase before the above
2003-09-10 19:56:24 +00:00
Jan Morén c868c5cb96 Updated Swedish translation.
2003-09-10  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-09-10 19:07:53 +00:00
Michael Natterer 037198c82f switch layers immediately, not when finishing layer_select, so the layer
2003-09-10  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-layer-select.c: switch layers
	immediately, not when finishing layer_select, so the layer
	boundary and the layers dialog are updated, which makes this
	feature much more useful. Fixes bug #119234.
2003-09-10 17:00:35 +00:00
Sven Neumann 0700992ea4 call gimp_vectors_import(). Hardcoded filename to path.svg for now.
2003-09-10  Sven Neumann  <sven@gimp.org>

	* app/gui/vectors-commands.c (vectors_import_cmd_callback): call
	gimp_vectors_import(). Hardcoded filename to path.svg for now.

	* app/vectors/gimpvectors-import.c: more work on the SVG parser.
2003-09-10 16:52:45 +00:00
Michael Natterer 01a0f1f686 changed the various xcf_write_*_error() macros to take an XcfInfo pointer
2003-09-10  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf-save.c: changed the various xcf_write_*_error()
	macros to take an XcfInfo pointer as first parameter, not
	info->fp. Simplifies all callers a bit since they don't have to
	dereference it themselves.
2003-09-10 16:33:59 +00:00
Michael Natterer b724e662ff enabled error checking for GimpParasite saving and factored
2003-09-10  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf-save.c: enabled error checking for GimpParasite
	saving and factored GimpParasiteList saving out to a new
	function. Cleaned up the (still disabled) PROP_VECTORS saving
	code and save the vector's parasites.

	* app/xcf/xcf-load.c: changed PROP_VECTORS loading accordingly.

	Note that the PROP_VECTORS changes are completely untested since
	Simon can judge its correctness much better than myself.
2003-09-10 16:22:33 +00:00
Sven Neumann 9506c7570e started to add framework for SVG parser.
2003-09-10  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-import.c: started to add framework for
	SVG parser.
2003-09-10 14:55:54 +00:00
Michael Natterer d19e49c449 when opening fails, show the same error message as all file plug-ins.
2003-09-10  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf.c (xcf_save_invoker): when opening fails, show the
	same error message as all file plug-ins.
2003-09-10 14:33:11 +00:00
Sven Neumann eb790849de app/vectors/Makefile.am app/vectors/gimpvectors-export.[ch] added stubs
2003-09-10  Sven Neumann  <sven@gimp.org>

	* app/vectors/Makefile.am
	* app/vectors/gimpvectors-export.[ch]
	* app/vectors/gimpvectors-import.[ch]: added stubs for
	import/export of paths.

	* app/vectors/gimpvectors-preview.h: cosmetics.
2003-09-10 13:05:00 +00:00
Sven Neumann 4a4fa137d0 allow to optionally export all paths from an image into a single SVG file.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-export.[ch]: allow to optionally export
	all paths from an image into a single SVG file.

	* app/gui/vectors-commands.c: changed accordingly.
2003-09-10 13:05:00 +00:00
Sven Neumann 62cd231745 app/vectors/Makefile.am app/vectors/gimpvectors-export.[ch] added stubs
2003-09-10  Sven Neumann  <sven@gimp.org>

	* app/vectors/Makefile.am
	* app/vectors/gimpvectors-export.[ch]
	* app/vectors/gimpvectors-import.[ch]: added stubs for
	import/export of paths.

	* app/vectors/gimpvectors-preview.h: cosmetics.
2003-09-10 13:05:00 +00:00
Michael Natterer 17bce42486 app/xcf/xcf-load.c app/xcf/xcf-read.c app/xcf/xcf-save.c
2003-09-10  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf-load.c
	* app/xcf/xcf-read.c
	* app/xcf/xcf-save.c
	* app/xcf/xcf-seek.c
	* app/xcf/xcf-write.c
	* app/xcf/xcf.c: whitespace cleanup.
2003-09-10 10:40:57 +00:00
Tor Lillqvist 3d59718921 Tell it's outdated.
2003-09-10  Tor Lillqvist  <tml@iki.fi>

	* config.h.win32: Tell it's outdated.

	* app/errors.c (gimp_eek): [Win32] Use full_prog_name, show also
	reason.

	* app/xcf/xcf.c (xcf_load_args, xcf_save_arge): Document that
	filename is in the on-disk charset and encoding, and raw_filename
	is just the basename, in UTF-8.
	(xcf_save_invoker): Convert filename to UTF-8 before passing to
	g_message().
2003-09-10 04:07:53 +00:00
Michael Natterer b202fb8555 require fontconfig >= 2.2.0 (bug #121752), check for gdk-pixbuf-2.0
2003-09-10  Michael Natterer  <mitch@gimp.org>

	* configure.in: require fontconfig >= 2.2.0 (bug #121752), check
	for gdk-pixbuf-2.0 explicitly, added --enable-gimp-console
	configure option, bumped version number to 1.3.21.

	* app/core/Makefile.am: replaced GTK_CFLAGS by GDK_PIXBUF_CFLAGS.

	* app/Makefile.am: removed -export-dynamic from LDFLAGS since we
	don't export symbols to modules or libraries any more. Reordered
	SUBDIRS a bit.

	If --enable-gimp-console is given, try to build a second binary
	called gimp-console-1.3 which does not link against GTK+.
	Of course this fails badly since core/ui separation is not
	complete yet, but the output of the failing linker is a nice list
	of what needs to be done.
2003-09-10 02:56:01 +00:00
Tor Lillqvist a280beda03 Add comment that the file is outdated. 2003-09-10 02:46:31 +00:00
Marco Ciampa 52d165218a Updated italian translation. 2003-09-10 02:08:54 +00:00
Michael Natterer da27248654 removed redundant "Gimp" parameter, cleanup.
2003-09-09  Michael Natterer  <mitch@gimp.org>

	* app/gui/menus.c (menus_last_opened_add): removed redundant
	"Gimp" parameter, cleanup.

	* app/gui/image-menu.c (image_menu_setup)
	* app/gui/toolbox-menu.c (toolbox_menu_setup): changed accordingly.
2003-09-09 21:32:00 +00:00
Duarte Loreto 253121ea5a Updated Portuguese translation.
2003-09-09  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2003-09-09 21:00:27 +00:00
Marco Ciampa e627b057fa Updated italian translation. 2003-09-09 18:59:21 +00:00
Michael Natterer 2ccacdf53d added IDs to all <chapter>s so they are generated with useful names
2003-09-09  Michael Natterer  <mitch@gimp.org>

	* app/app-docs.sgml: added IDs to all <chapter>s so they are
	generated with useful names instead of chxx.html.
2003-09-09 17:41:39 +00:00
Duarte Loreto 410f2c5103 Updated Portuguese translation.
2003-09-09  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2003-09-09 17:32:53 +00:00
Danilo Šegan c3881a4dd4 Updated Serbian translation.
2003-09-11  Danilo Šegan  <dsegan@gmx.net>

	* po-script-fu/sr.po, po-script-fu/sr@Latn.po: Updated Serbian
	translation.
2003-09-09 17:32:49 +00:00
Duarte Loreto e6e936105d Updated Portuguese translation.
2003-09-09  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2003-09-09 17:32:49 +00:00
Michael Natterer 747dc31019 app/app-docs.sgml removed references to "appenv.h".
2003-09-09  Michael Natterer  <mitch@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: removed references to "appenv.h".
2003-09-09 16:51:13 +00:00
Michael Natterer 85dfbe46c2 Got rid of the last global variables except the_gimp:
2003-09-09  Michael Natterer  <mitch@gimp.org>

	Got rid of the last global variables except the_gimp:

	* app/Makefile.am
	* app/appenv.h: removed this file.

	* app/errors.[ch] (gimp_errors_init): new function which lets the
	error system know about "full_prog_name", "stack_trace_mode" and
	"debug_handlers". Remember these values privately.

	* app/app_procs.[ch] (app_init): added "full_prog_name" and
	"stack_trace_mode" parameters here too.

	* app/main.c (main): call gimp_errors_init() and pass the
	additional parameters to app_init().
2003-09-09 16:47:59 +00:00
Duarte Loreto 8ca0050a52 Updated Portuguese translation.
2003-09-09  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2003-09-09 16:23:10 +00:00
Updated ja.po. T.Aihana cf94c956ac 2003-09-09 Updated ja.po. T.Aihana <aihana@gnome.gr.jp> 2003-09-09 16:15:57 +00:00
Simon Budig a0cc73de42 Made gimp_vectors_compat_get_points accept more paths gracefully. It now
2003-09-09  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors-compat.[ch]: Made
	gimp_vectors_compat_get_points accept more paths gracefully. It
	now is sufficient if there is up to one open stroke in the
	vectors object - it does not have to be the last one.

	Added function to determine if all vectors can be saved in
	compatibility mode.

	* app/vectors/gimpanchor.[ch]: Made GimpAnchor a boxed type.
	* app/vectors/gimpstroke.[ch]: Add two properties to gimpstroke:
	"closed" and "control-points" (the latter is
	G_PARAM_CONSTRUCT_ONLY). Added functions to get the points that
	determine the shape of the stroke - necessary for proper saving.

	* app/xcf/xcf-private.h: added new PROP_VECTORS and XcfStrokeType.

	* app/xcf/xcf-load.c: Be able to load PROP_VECTORS, make loading
	of PROP_PATHS ignore empty paths.

	* app/xcf/xcf-save.c: Added code for saving PROP_VECTORS,
	disabled by default. Define NEW_SAVE_CODE if you want to test
	it. No guarantees are made about the forward compatibility of
	the format used.
2003-09-09 15:46:59 +00:00
Sven Neumann 555d25b775 updated.
2003-09-09  Sven Neumann  <sven@gimp.org>

	* app/app-sections.txt: updated.
2003-09-09 14:41:52 +00:00
Sven Neumann 5f3bbc768d removed lots of redundant casts.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: removed lots of redundant casts.
2003-09-09 14:32:39 +00:00
Sven Neumann 4189010d9e need to detach from the drawable or the tile cache won't be flushed (bug
2003-09-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (create_image): need to detach from
	the drawable or the tile cache won't be flushed (bug #121788).
2003-09-09 14:32:39 +00:00
Sven Neumann 56438a7b9b app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.c
2003-09-09  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell.c
	* app/display/gimpnavigationview.c
	* app/gui/resolution-calibrate-dialog.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimpdialogfactory.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimppreview-popup.c
	* app/widgets/gimpwidgets-utils.c: get the size from the current
	screen, not always from the default one.

	* plug-ins/common/wmf.c: ask GIMP for the monitor resolution instead
	of taking the value from GDK.
2003-09-09 11:35:27 +00:00