Commit graph

9808 commits

Author SHA1 Message Date
Michael Natterer 7d2c75940f don't scan "app/tools/tools-enums.h" for PDB types since the PDB doesn't
2003-09-26  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/Makefile.am: don't scan "app/tools/tools-enums.h"
	for PDB types since the PDB doesn't depend on app/tools/ any more.

	* app/tools/tools-enums.h: removed lengthy "skip" vs. "pdb-skip"
	comment. Removed "pdb-skip" from all enums. Renamed GimpCropType
	to GimpCropMode, renamed the enum's values to GIMP_CROP_MODE_*.

	* app/tools/tools-enums.c: regenerated.

	* app/tools/gimpcropoptions.[ch]
	* app/tools/gimpcroptool.c: changed accordingly.
2003-09-26 16:20:05 +00:00
Simon Budig 10a5269e22 New Object, holding the Options for a Libart-Stroke.
2003-09-26  Simon Budig  <simon@gimp.org>

	* app/core/gimpstrokeoptions.[ch]: New Object, holding the
	Options for a Libart-Stroke.

	* app/core/Makefile.am
	* app/core/core-types.h: Changed accordingly.

	* app/core/gimpitem.[ch]: Changed the Signature of
	gimp_item_stroke to accept a GimpObject instead of a
	GimpPaintInfo. This enables us to pass GimpStrokeOptions
	to it. To be cleaned up for 2.2.

	* app/core/gimpselection.c
	* app/core/gimpchannel.c
	* app/vectors/gimpvectors.c: Changed accordingly

	* app/gui/edit-commands.c
	* app/gui/vectors-commands.c
	* app/pdb/edit_cmds.c
	* app/pdb/paths_cmds.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpvectorstreeview.c: Fixed warnings by
	casting the GimpPaintInfo to GimpObject.
2003-09-26 15:37:53 +00:00
Michael Natterer fc58b707a3 removed inclusion of "gimptoolbox-color-area.h".
2003-09-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteeditor.c: removed inclusion of
	"gimptoolbox-color-area.h".
2003-09-26 15:17:39 +00:00
Michael Natterer e13afaf260 Cleaned up all places which pick colors to work consistently: the concept
2003-09-26  Michael Natterer  <mitch@gimp.org>

	Cleaned up all places which pick colors to work consistently: the
	concept of an "active color" has disappeared, instead <ctrl> picks
	the BG color all over the place (fixes bug #122931).

	* app/tools/tools-enums.[ch]: added enum GimpColorPickMode which
	can be one of { FOREGROUND, BACKGROUND }. Reordered enums so
	non-registered ones are at the end of the file. Removed trailing
	whitespace.

	* app/tools/gimpcolorpickeroptions.[ch]: added a "pick-mode"
	property and a GUI for it. Renamed the "update-active" property to
	"update-toolbox".

	* app/tools/gimpcolorpickertool.c: honor the new option. Toggle
	pick-mode on <ctrl>.

	* app/tools/gimpcolortool.[ch]: added pick_mode member and change
	the cursor accordingly.

	* app/widgets/gimpcolormapeditor.[ch]: added "GdkModifierType
	state" to the "selected" signal. Removed the signal's default
	implementation.

	* app/gui/dialogs-constructors.c: fixed the signal handler which
	lives here and set BG if <ctrl> was pressed.

	* app/widgets/gimppaletteeditor.c: removed weird <ctrl> <->
	active_color interaction and pick BG on <ctrl>. Don't change the
	toolbox color when editing a color in the palette.

	* app/widgets/gimptoolbox-color-area.[ch]: made the whole
	active_color stuff private. Will remove these artefacts soon...

	* app/gui/colormap-editor-menu.c
	* app/gui/palette-editor-menu.c: added separate menu entries
	for adding a color from the current FG and BG.

	* app/gui/colormap-editor-commands.c
	* app/gui/palette-editor-commands.[ch]: changed callbacks
	accordingly.

	* cursors/background.xbm
	* cursors/background_mask.xbm
	* cursors/foreground.xbm
	* cursors/foreground_mask.xbm
	* cursors/gimp-tool-cursors.xcf: moved the FG/BG cursor modifiers
	closer to the upper right corner.

	* app/widgets/gimpcursor.c: ignore the cursor modifiers' hotspots
	since they are not relevant and I didn't save the hotspot in the
	updated cursor files for that reason.
2003-09-26 13:33:54 +00:00
Sven Neumann a1d495b99c added more missing files.
2003-09-26  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added more missing files.
2003-09-26 10:31:31 +00:00
Kwok-Koon Cheung cc2994e31e Add missing file and remove non-existant file from POTFILES.in 2003-09-26 09:50:21 +00:00
Simon Budig 8172df9a15 Add some parameters to gimp_scan_convert_stroke () to expose the
2003-09-26  Simon Budig  <simon@gimp.org>

	* app/core/gimpscanconvert.[ch]: Add some parameters to
	gimp_scan_convert_stroke () to expose the Miter-Setting
	and enable dashing of vectors.

	* app/core/gimpdrawable-stroke.c: Use the dashing feature.

	* app/vectors/gimpvectors.c: Expose a bad hack (opacity
	controls the libart-stroke width) in a #define. Default
	is not enabled.
2003-09-26 00:41:10 +00:00
Tor Lillqvist 897a161fbf Add a couple of missing entries.
2003-09-25  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimp.def: Add a couple of missing entries.
2003-09-25 23:24:04 +00:00
Tor Lillqvist 95bb69bdf6 Add gimp_parameter_settings_new.
2003-09-25  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimpui.def: Add gimp_parameter_settings_new.
2003-09-25 23:18:10 +00:00
David Odin 5141181e73 small gui fixes in the select printer dialog. 2003-09-25 18:05:53 +00:00
Sven Neumann 7c1c335754 removed debugging output.
2003-09-25  Sven Neumann  <sven@gimp.org>

	* app/config/gimpxmlparser.c (gimp_xml_parser_parse_io_channel):
	removed debugging output.

	* app/vectors/gimpvectors-import.c: simplified viewport handling
	and make it adhere to the spec again (hopefully my interpretation
	of the spec is right).
2003-09-25 15:40:10 +00:00
Sven Neumann b2ad956b0f optionally scale the imported SVG to fit the image.
2003-09-25  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-import.[ch]: optionally scale the
	imported SVG to fit the image.

	* app/gui/vectors-commands.c: changed accordingly.

	* tools/pdbgen/pdb/paths.pdb: export the new scale parameter to
	the PDB.

	* app/pdb/paths_cmds.c
	* libgimp/gimppaths_pdb.[ch]: regenerated.

	* plug-ins/common/svg.c: scale the imported vectors to image size.
	This makes them always fit :)
2003-09-25 00:39:46 +00:00
Maurits Rijk dc441cc925 Fix for #72874 (Incorrect RGBA resampling in Illusion plug-in) 2003-09-24 22:01:53 +00:00
Maurits Rijk 88e21ce291 Code clean-up, indentation, fixes for #72874 (Incorrect RGBA resample in Illusion plug-in) and #122379 (relocate sinus plug-in). 2003-09-24 20:17:43 +00:00
Sven Neumann 4862438857 app/Makefile.am app/app-docs.sgml udpated.
2003-09-24  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am
	* app/app-docs.sgml
	* app/app-sections.txt: udpated.
2003-09-24 19:53:04 +00:00
Sven Neumann 0e09f3e19d list what's new since the last release.
2003-09-24  Sven Neumann  <sven@gimp.org>

	* NEWS: list what's new since the last release.

	* app/core/core-enums.h: fixed a typo.
2003-09-24 19:47:59 +00:00
Dave Neary d67f3d705e Set default value for toggle, and only have it span one table cell.
2003-09-24  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/jpeg.c: Set default value for toggle, and
        only have it span one table cell.
2003-09-24 17:07:54 +00:00
Michael Natterer 55f938fa01 using gimp_container_view_get_by_dockable() was a bad idea since not all
2003-09-24  Michael Natterer  <mitch@gimp.org>

	* app/gui/dialogs-constructors.c (dialogs_get_view_menu_func):
	using gimp_container_view_get_by_dockable() was a bad idea since
	not all our GimpEditor subclasses actually are GimpContainerViews.
	Find the right GimpEditor manually instead (fixes missing popup
	menus).

	* app/gui/colormap-editor-menu.c (colormap_editor_menu_update):
	make the menu entries insensitive if the image is not indexed.
	fixes bug #123066.
2003-09-24 15:11:29 +00:00
Michael Natterer 968d257bf7 app/widgets/gimpwidgets-utils.c (gimp_menu_position) more menus which pop
2003-09-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.c (gimp_menu_position)
	* app/widgets/gimpcontainerpopup.c (gimp_container_popup_show):
	more menus which pop up correctly with RTL languages.
2003-09-24 14:23:32 +00:00
Sven Neumann 67f97bbb6e use a hbox instead of an alignment.
2003-09-24  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned): use a
	hbox instead of an alignment.
2003-09-24 13:23:20 +00:00
Sven Neumann 973ae7b5dc added missing slashes in menu path translations.
2003-09-24  Sven Neumann  <sven@gimp.org>

	* he.po: added missing slashes in menu path translations.
2003-09-24 11:43:00 +00:00
Sven Neumann 008769d5ac app/gui/resize-dialog.c app/widgets/gimptemplateeditor.c use horizontal
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/gui/resize-dialog.c
	* app/widgets/gimptemplateeditor.c
	* plug-ins/common/svg.c: use horizontal boxes instead of alignments.
	Fixes dialog layout for RTL rendering.

	* plug-ins/common/png.c (save_dialog): only set the comment toggle
	active if there's a comment to save.
2003-09-23 21:51:08 +00:00
Pablo Gonzalo del Campo 84ab2c3426 Updated Spanish translation.
2003-09-23  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-09-23 21:13:38 +00:00
Miloslav Trmac fa3dad6a54 Update Czech translation 2003-09-23 21:06:58 +00:00
Dave Neary 5e1b112725 Fixed minor mistake in last commit.
2003-09-23  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/jpeg.c: Fixed minor mistake in last commit.
2003-09-23 20:57:30 +00:00
Dave Neary b3140f4d57 Allow discarding of exif data if HAVE_EXIF is enabled, and the user
2003-09-23  Dave Neary  <bolsh@gimp.org>

	* plug-ins/common/jpeg.c: Allow discarding of exif data if
	HAVE_EXIF is enabled, and the user doesn't want to keep it.
	Closes bug #118384.
2003-09-23 20:51:05 +00:00
Sven Neumann e0f2efdc29 added a utility function that positions a menu that pops up from a button
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: added a utility function
	that positions a menu that pops up from a button widget.

	* app/display/gimpdisplayshell-callbacks.c
	* app/widgets/gimpdockable.c: use the new utility function instead
	of duplicating the code.
2003-09-23 20:27:12 +00:00
Sven Neumann a46b9f3380 pack the widgets without using an alignment. Looks better and works in RTL
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_init):
	pack the widgets without using an alignment. Looks better and
	works in RTL mode as well.
2003-09-23 18:39:02 +00:00
Sven Neumann a52de434be added the title pango layout to the GimpDockable struct. Made
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.[ch]: added the title pango layout to
	the GimpDockable struct. Made gimp_dockable_menu_position() handle
	RTL layout correctly.

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_origin_menu_position): handle RTL layout.
2003-09-23 18:11:09 +00:00
Sven Neumann 9407b3bc42 fixed rendering for RTL layout.
2003-09-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpchainbutton.c (gimp_chain_button_draw_lines):
	fixed rendering for RTL layout.
2003-09-23 17:01:38 +00:00
Michael Natterer 60f3f3b64b forgot to commit this my last commit:
2003-09-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpmenufactory.[ch]: added a "menu_title" which is
	registered with each menu.
2003-09-23 16:26:02 +00:00
Michael Natterer c5fd48f2fb added a "menu_title" which is registered with each menu.
2003-09-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpmenufactory.[ch]: added a "menu_title" which is
	registered with each menu.

	* app/widgets/gimpitemfactory.[ch]: added the title to the
	constructor and to the GimpItemFactory struct.

	* app/gui/menus.c: register titles with all menus.

	* app/widgets/gimpdockable.[ch]: show the tab menu, not the
	contained dialog's menu when clicking on the menu button.
	Embed the dialog's menu as submenu. Use the item_factory's
	title and the dockable's stock_id for the submenu entry.

	* app/widgets/gimpeditor.c: removed GtkWidget:popup_menu()
	implementation since that's done by GimpDockable now.

	* app/widgets/gimpdockbook.c: set the new menu item invisible
	when showing the menu as tab menu.

	* app/widgets/gimphelp-ids.h: added GIMP_HELP_DOCK_TAB_DETACH
	and renamed _TAB_REMOVE to _TAB_CLOSE.

	* app/gui/dialogs-menu.c: added the new menu entry for showing the
	dialog's sub-menu. Added a "Detach" menu item, renamed "Remove" to
	"Close". Accept both a GimpDockbook and a GimpDockable pointer as
	"data" in dialogs_menu_update().

	* app/gui/dialogs-commands.[ch]: changed accordingly. Never use
	gtk_item_factory_popup_data_from_widget() but always the "data"
	passed to the callbacks. Take care to not set the already active
	preview_size, tab_style and list/grid type in the resp. callbacks
	to avoid being called from dialogs_menu_update().

	* app/gui/dialogs-constructors.c: removed separate
	set_context_funcs and get_menu_funcs for GimpContainerView and
	GimpContainerEditor widgets and simply use
	gimp_container_view_get_by_dockable() to find the right widget.
2003-09-23 16:17:25 +00:00
Michael Natterer a8ed5f6bf5 pass the menu_factory of the newly created dock to gimp_dockbook_new(),
2003-09-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.c
	(gimp_dialog_factories_restore_foreach): pass the menu_factory of
	the newly created dock to gimp_dockbook_new(), not the one of the
	dialog_factory we are restoring (doesn't matter since we have only
	one global_menu_factory, but this code should still not do wrong
	things)
2003-09-23 15:58:07 +00:00
Sven Neumann a06c96e5bc workaround for GLib bug #116617: set GimpConfigError before calling
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/config/gimpscanner.c (gimp_scanner_new_file): workaround for
	GLib bug #116617: set GimpConfigError before calling g_strerror().
	Fixes bug #122939.
2003-09-23 15:22:30 +00:00
Sven Neumann f55261c2c1 add a shortcut of Ctrl-0 for the 10th entry.
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/gui/menus.c (menus_last_opened_add): add a shortcut of
	Ctrl-0 for the 10th entry.

	* app/config/gimpguiconfig.c: increased the default
	last-opened-size from 4 to 10; increased the max-new-image-size
	from 32M to 64M.
2003-09-23 14:05:03 +00:00
Michael Natterer ccc51697ab Fixed italian translation. Please check if your changes compile before
2003-09-23  Michael Natterer  <mitch@gimp.org>

	* it.po: Fixed italian translation. Please check if your
	changes compile before committing!
2003-09-23 13:46:10 +00:00
Sven Neumann 14b5681a46 fixed the direction of the translation applied for viewBox offsets.
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-import.c (parse_svg_viewbox): fixed the
	direction of the translation applied for viewBox offsets.
2003-09-23 13:38:40 +00:00
Marco Ciampa e2786ca863 Updated italian translation. 2003-09-23 13:33:40 +00:00
Sven Neumann dab5b6e6db themes/Default/images/Makefile.am removed...
2003-09-23  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-menu-12.png: removed...

	* themes/Default/images/stock-menu-left-12.png
	* themes/Default/images/stock-menu-right-12.png: and added again
	together with a flipped version.

	* libgimpwidgets/gimpstock.[ch]: register GIMP_STOCK_MENU_LEFT and
	GIMP_STOCK_MENU_RIGHT instead of GIMP_STOCK_MENU and swap the
	images for RTL layout.

	* app/widgets/gimpdockable.c: use GIMP_STOCK_MENU_LEFT here.

	* app/display/gimpdisplayshell.c: replaced the arrow in the
	display origin with the GIMP_STOCK_MENU_RIGHT icon.
2003-09-23 12:30:53 +00:00
Sven Neumann 3f70732ef0 show the pixel size specified by the SVG file and inform the user if it
2003-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: show the pixel size specified by the SVG
	file and inform the user if it failed to provide one.
2003-09-23 10:23:33 +00:00
Jakub Steiner b38b46af5e themes/Default/images/stock-close-12.png perhaps the last version looked
2003-09-23  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-close-12.png
* themes/Default/images/stock-menu-12.png: perhaps the last
  version looked too much like a disabled item.
2003-09-23 00:50:04 +00:00
Sven Neumann f56486c598 removed redundant calculations.
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/gui/resize-dialog.c (ratio_callback): removed redundant
	calculations.

	* plug-ins/common/svg.c: use a default size to handle the case
	when librsvg cannot determine the SVG size.
2003-09-23 00:45:18 +00:00
Jakub Steiner 6fe792b6d5 a tiny tribute to the path tool
2003-09-23  Jakub Steiner <jimmac@ximian.com>

* data/images/gimp_splash.png: a tiny tribute to the path tool
2003-09-23 00:27:15 +00:00
Jakub Steiner 30a56dfd57 a tiny tribute to the path tool
2003-09-23  Jakub Steiner <jimmac@ximian.com>

* data/images/gimp_splash.png: a tiny tribute to the path tool

ChangeLog
2003-09-23 00:26:09 +00:00
Sven Neumann 57949a8981 added ratio entries and a chain button so you can scale the SVG file while
2003-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added ratio entries and a chain button so
	you can scale the SVG file while keeping the aspect ratio intact.
	Query the SVG pixel size on resolution changes.
2003-09-22 23:46:16 +00:00
Simon Budig 2c212214fe Fixed vectors stroking on GRAY* and INDEXED* layers.
2003-09-23  Simon Budig  <simon@gimp.org>

	* app/core/gimpdrawable-stroke.c: Fixed vectors stroking on
	GRAY* and INDEXED* layers.

	* app/tools/gimpvectortool.c: Made the polygonal mode more
	consistent.
2003-09-22 23:19:22 +00:00
Jakub Steiner 02998f38d1 themes/Default/images/stock-close-12.png nicer, but hopefully still theme
2003-09-23  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-close-12.png
* themes/Default/images/stock-menu-12.png: nicer, but hopefully
  still theme indepenedent somehow
2003-09-22 22:33:56 +00:00
Sven Neumann b58e0121af UTF-8 validate the value set using gimprc_set(); mention this in the
2003-09-22  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/gimprc.pdb: UTF-8 validate the value set using
	gimprc_set(); mention this in the documentation.

	* app/pdb/gimprc_cmds.c
	* libgimp/gimpgimprc_pdb.c: regenerated.

	* app/config/gimpconfig-path.c (gimp_config_path_expand): added
	inline docs since this function is really not self-explanatory.
2003-09-22 21:20:17 +00:00
Henrik Brix Andersen 6a27a3f5f9 removed the old netscape-dependent web browser plug-in
2003-09-22  Henrik Brix Andersen <brix@gimp.org>

* plug-ins/webbrowser/.cvsignore: removed the old netscape-dependent
web browser plug-in
2003-09-22 20:15:40 +00:00
Henrik Brix Andersen 9b3bc08eb6 Replaced the netscape-dependent web browser plug-in with a user
2003-09-22 Henrik Brix Andersen <brix@gimp.org>

Replaced the netscape-dependent web browser plug-in with a user
configureable plug-in. This fixes bug #119120:

* app/config/gimpguiconfig.[ch]: added gchar *web_browser member

* app/config/gimprc-blurbs.h: added web browser blurb

* etc/gimprc
* docs/gimprc-1.3.5.in: regenerated using gimpconfig-dump

* app/gui/preferences-dialog.c (prefs_dialog_new): added UI for
specifying external web browser

* configure.in
* plug-ins/Makefile.am
* plug-ins/webbrowser/Makefile.am
* plug-ins/webbrowser/README
* plug-ins/webbrowser/web-browser.scm
* plug-ins/webbrowser/webbrowser.c : removed the old netscape-dependent
web browser plug-in

* po-plug-ins/POTFILES.in
* plug-ins/common/plugin-defs.pl
* plug-ins/common/webbrowser.c: added a new web browser plug-in

* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am: regenerated

* app/widgets/gimphelp.c
* app/widgets/widget-enums.[ch]
* plug-ins/helpbrowser/dialog.c
* plug-ins/maze/maze_face.c: changed accordingly + whitespace
clean-up

* po-script-fu/POTFILES.in
* plug-ins/script-fu/scripts/Makefile.am
* plug-ins/script-fu/scripts/web-browser.scm: use the new web
browser plug-in to add menu entries to <Toolbox>/Help/
2003-09-22 20:04:39 +00:00