Commit Graph

9973 Commits

Author SHA1 Message Date
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
Sven Neumann c9ef4b23f7 removed gimprc checks; let the functions always do what they are supposed
2003-09-22  Sven Neumann  <sven@gimp.org>

	* app/gui/menus.c (menus_restore) (menus_save): removed gimprc
	checks; let the functions always do what they are supposed to do.

	* app/gui/gui.c: check gimprc settings here and decide what to
	restore on startup and save on exit. Fixes bug #122930.
2003-09-22 15:31:54 +00:00
Sven Neumann 8240ef1ccc constrain popup size to GIMP_VIEWABLE_MAX_POPUP_SIZE but keep the aspect
2003-09-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimpviewable.c (gimp_viewable_get_popup_size):
	constrain popup size to GIMP_VIEWABLE_MAX_POPUP_SIZE but keep the
	aspect ratio intact. Fixes bug #122923.

	* app/text/gimpfont.c: use a smaller font size for popups so we
	don't exceed the maximum size.
2003-09-22 14:23:03 +00:00
Sven Neumann 7440dfd8fc added a hack to work around the insufficiency of the librsvg API. Still
2003-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added a hack to work around the
	insufficiency of the librsvg API. Still unfinished ...
2003-09-22 13:00:17 +00:00
Sven Neumann 78099232f4 added a chapter id to get a reasonable name for the generated HTML file.
2003-09-21  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-docs.sgml: added a chapter id to
	get a reasonable name for the generated HTML file.

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: added new icons.
2003-09-21 20:02:06 +00:00
Michael Natterer 47b1e3eef8 added a title bar showing the dockable's name, a "close" and a "menu"
2003-09-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockable.[ch]: added a title bar showing the
	dockable's name, a "close" and a "menu" button. Not quite
	finished, but almost...

	* app/gui/dialogs-constructors.c: changed accordingly.

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-close-12.png
	* themes/Default/images/stock-menu-12.png: new icons for the above.

	* libgimpwidgets/gimpstock.[ch]: register them.

	* themes/Default/gtkrc: remove any focus spacing from the
	dockables' new buttons since they can't get the focus anyway.
2003-09-21 19:35:54 +00:00
Michael Natterer db979650f0 fixed typo.
2003-09-21  Michael Natterer  <mitch@gimp.org>

	* app/gui/images-menu.c (images_menu_update): fixed typo.
2003-09-21 19:21:12 +00:00
Simon Budig d2f346e9e5 Enable the new save code by default.
2003-09-21  Simon Budig  <simon@gimp.org>

	* app/xcf/xcf-save.c: Enable the new save code by default.
2003-09-21 19:15:28 +00:00
Simon Budig fa450f09b5 Previous commit got a broken pipe. 2003-09-21 19:09:56 +00:00
Simon Budig 460b3e84e5 Adjusted to make sure that no successive LINETOs to the same coordinate
2003-09-21  Simon Budig  <simon@gimp.org>

	* app/core/gimpscanconvert.c: Adjusted to make sure that
	no successive LINETOs to the same coordinate are in the
	path. Libart chokes on that.

	* app/core/gimpdrawable-stroke.c: Respect the offsets of the
	target drawable.

	* app/tools/gimpvectortool.c: Removed status message in
	VECTORS_FINISHED mode as requested by Ville Ptsi.

	* app/vectors/gimpvectors.c: Determine the stroke parameters
	from the current context (opacity/color/paint_mode).
	The other parameters are not yet supported.
2003-09-21 19:07:48 +00:00
Sven Neumann 8c0012c50d oops, forgot to commit these 2003-09-21 19:03:10 +00:00
Dave Neary d92c11d358 Changed default shortcut for Redo to Ctrl-Shift-Z, following a
2003-09-21  Dave Neary  <bolsh@gimp.org>

        * app/gui/image-menu.c: Changed default shortcut for Redo to
        Ctrl-Shift-Z, following a reccommendation of the GNOME HIG.
2003-09-21 18:39:48 +00:00
Sven Neumann 47bd472e77 added a preliminary PDB API for vectors import. Will change when the new
2003-09-21  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/paths.pdb: added a preliminary PDB API for
	vectors import. Will change when the new vectors PDB API gets
	added.

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

	* plug-ins/common/svg.c: allow to import paths when rendering a
	SVG file.
2003-09-21 17:29:12 +00:00
Sven Neumann 75cf42f85c added a resolution entry and implemented PDB parameter parsing.
2003-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added a resolution entry and implemented
	PDB parameter parsing.
2003-09-21 15:24:36 +00:00
Michael Natterer 0a20036a1c removed the useless padding from the label which shows the name of the
2003-09-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainergridview.c
	(gimp_container_grid_view_init): removed the useless padding from
	the label which shows the name of the selected item, so it's
	properly aligned with the widget's left border now.
2003-09-21 14:57:30 +00:00
Sven Neumann 3ee7c4d0e0 renamed new enums to use "style" instead of the overloaded term "type".
2003-09-21  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]: renamed new enums to use "style" instead
	of the overloaded term "type". Also renamed GimpGridType while I was
	on it.

	* app/core/gimpdrawable-stroke.[ch]
	* app/core/gimpgrid.[ch]
	* app/core/gimpscanconvert.[ch]
	* app/display/gimpdisplayshell.c
	* app/vectors/gimpvectors.c
	* app/gui/grid-dialog.c: changed accordingly.
2003-09-21 10:45:19 +00:00
Danilo Šegan 6206f28ab2 Updated Serbian translation.
2003-09-21  Danilo Šegan  <dsegan@gmx.net>

	* sr.po, sr@Latn.po: Updated Serbian translation.
2003-09-21 04:40:12 +00:00
Duarte Loreto 6ba4d98c85 Updated Portuguese translation.
2003-09-21  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2003-09-21 02:05:23 +00:00
Simon Budig 09630e45f9 Dave Neary <bolsh@gimp.org>
2003-09-21  Simon Budig  <simon@gimp.org>
            Dave Neary  <bolsh@gimp.org>

	* app/core/gimpdrawable-stroke.c: gimp_image_apply_image () must
	not get the pixel Region twice, use NULL for src1_tiles, which
	then defaults to the drawables tiles. Also pixel_region_init()
	does not take the offsets set by tile_manager_set_offsets into
	account. Use 0,0 instead of x1,y1. Fixes bad crashes.

	* app/core/gimpscanconvert.c: fixed crash for the same reason.

	* app/vectors/gimpvectors.c: Enabled the new stroking by default.
	Of course there should be a dialog to tweak the settings...  :-)
2003-09-21 00:58:04 +00:00
Simon Budig ca07f5ddb2 Dave Neary <bolsh@gimp.org>
2003-09-20  Simon Budig  <simon@gimp.org>
            Dave Neary  <bolsh@gimp.org>

	First steps towards Libart stroking. Right now the code
	crashes and thus is disabled by default. If you want to
	test it, change the #define LIBART_STROKE  in
	app/vectors/gimpvectors.c. Then a click on the stroke button
	in the paths dialog invokes the new code.
	The crash is in gimpdrawable-stroke.c - apparently I did not
	yet get the TileManager stuff correctly.

	* app/core/gimpscanconvert.[ch]: Rewritten to be more clear
	and have an easier API. Now can handle open Paths and
	libart-stroke the (open/closed) polygons defined earlier.

	* app/core/core-enums.h: Added Enums for LineJoin-Type and
	EndCap-Type for stroking.

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

	* app/core/gimpimage-mask-select.c: Use the new API of
	GimpScanConvert where appropriate.

	* app/vectors/gimpvectors.c: Added #define to enable the libart
	stroking. Disabled by default because of the crash mentioned
	above...

	* app/vectors/gimpbezierstroke.c
	* app/vectors/gimpstroke.c
	* app/vectors/gimpvectors.[ch]: Removed Libart stuff here.
	Libart usage now lives exclusively in GimpScanConvert.

	* app/core/gimpdrawable-stroke.[ch]: New files for the libart
	stroking (right now just vector objects).
	* app/core/Makefile.am: changed accordingly.

	* app/Makefile.am: Needed to tweak linking.  :-/
2003-09-20 19:58:26 +00:00
Miloslav Trmac 09837f7add Update Czech translation 2003-09-20 17:47:42 +00:00
Henrik Brix Andersen 99aff7e50e removed reference to the "module-load-inhibit" property
2003-09-20 Henrik Brix Andersen <brix@gimp.org>

* app/config/gimpconfig-dump.c (dump_gimprc): removed reference to
the "module-load-inhibit" property
2003-09-20 14:54:26 +00:00
Christian Neumair 584cbf9890 Updated German translation. 2003-09-20 12:07:49 +00:00
Helvetix Victorinox 5c3f28232e Replaced the improper use of the pminub instruction with the macro which
* app/composite/gimp-composite-mmx.c
  (gimp_composite_difference_rgba8_rgba8_rgba8_mmx): Replaced the
  improper use of the pminub instruction with the macro which does the
  same using only mmx instructions.
2003-09-20 04:05:41 +00:00
Sven Neumann a6b9aad7d4 added framework for size negotiation. Not really useful yet but compiles
2003-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added framework for size negotiation. Not
	really useful yet but compiles and sortof works even.
2003-09-20 00:49:39 +00:00
Danilo Šegan 2e9883c2f9 Updated Serbian translation.
2003-09-20  Danilo Šegan  <dsegan@gmx.net>

	* sr.po, sr@Latn.po: Updated Serbian translation.
2003-09-20 00:46:34 +00:00
Sven Neumann c23a2c479f app/vectors/gimpbezierstroke.c made "closed" a construct_only property and
2003-09-19  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpbezierstroke.c
	* app/vectors/gimpstroke.c: made "closed" a construct_only property
	and make sure that notify is emitted correctly when it is changed.
2003-09-19 19:19:09 +00:00
Sven Neumann dad3321ea6 revert to the old implementation that is ugly but should work more
2003-09-19  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-import.c (parse_svg_viewbox): revert to
	the old implementation that is ugly but should work more reliably
	in locales that use ',' as the decimal separator. Disable rendering
	of elements with a zero viewBox.
	(parse_svg_length): fixed handling of width and height parameters.
2003-09-19 17:14:05 +00:00
Sven Neumann 2ff5fc7b72 do not rely on librsvg setting GError on failure, it doesn't :(
2003-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c (load_image): do not rely on librsvg
	setting GError on failure, it doesn't :(
2003-09-19 16:13:33 +00:00
Marco Ciampa 88f7280682 Updated italian translation. 2003-09-19 15:32:38 +00:00
Marco Ciampa 45130bfe32 Updated italian translation. 2003-09-19 14:35:39 +00:00
Michael Natterer f8d46710e1 session_info->widget is not a GimpDeviceStatus but its parent
2003-09-19  Michael Natterer  <mitch@gimp.org>

	* app/gui/gui.c (gui_device_change_notify): session_info->widget
	is not a GimpDeviceStatus but its parent GimpDockable. Use the
	dockable's child instead. Fixes bug #122684.
2003-09-19 12:38:30 +00:00
Michael Natterer da6c31af1f moved the call to gimp_color_tool_enable() from GimpTool::initialize() to
2003-09-19  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcolorpickertool.c: moved the call to
	gimp_color_tool_enable() from GimpTool::initialize() to
	GObject::constructor() so the right cursor is shown before the
	first button_press. Fixes bug #122693.
2003-09-19 12:11:04 +00:00
Sven Neumann d6a606b9fc changed the hex entry to look and feel like the hex entry in the
2003-09-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolormapeditor.c: changed the hex entry to look
	and feel like the hex entry in the GimpColorScales widget. Fixes
	bug #122692.
2003-09-19 12:05:28 +00:00
Michael Natterer 9e7a2b2aeb Fix for bug #122695:
2003-09-19  Michael Natterer  <mitch@gimp.org>

	Fix for bug #122695:

	* app/widgets/gimpcolormapeditor.c
	(gimp_colormap_hex_entry_activate): call gimp_image_flush() after
	gimp_image_set_colormap_entry() so the projection gets updated.

	Cleanup / consistency with other dialogs:

	* app/widgets/gimphelp-ids.h: added help IDs for the colormap
	editor's menu items and buttons.

	* app/gui/colormap-editor-menu.c (colormap_editor_menu_entries):
	use the new help IDs.

	* app/widgets/gimpcolormapeditor.[ch]: added buttons for "Edit Color"
	and "Add Color" and moved the color_notebook code to this file.

	* app/gui/colormap-editor-commands.[ch]: removed almost all code
	and simply emit "clicked" from the editor's buttons so their
	callbacks are invoked.
2003-09-19 11:40:12 +00:00
Seth Burgess 586d5ae8cd fixed parameter order for callers of gimp_image_mask_select_channel 2003-09-19 04:01:42 +00:00