1. 30 Sep, 2003 2 commits
  2. 29 Sep, 2003 16 commits
    • Simon Budig's avatar
      Added support for setting X- and Y-resolution for stroking paths. The · 37614628
      Simon Budig authored
      2003-09-30  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpscanconvert.[ch]: Added support for setting
      	X- and Y-resolution for stroking paths. The width of a path
      	has to be given in pixels, using X-resolution.
      
      	* app/core/gimpstrokeoptions.[ch]: Added "resolution" property,
      	so that conversion between various width-units can happen.
      	Should be set to the target images X-resolution.
      
      	* app/gui/stroke-dialog.c: set the resolution of the options.
      
      	* app/core/gimpdrawable-stroke.c: Use that stuff, cleanup.
      37614628
    • Sven Neumann's avatar
      app/core/Makefile.am new files with preview code factored out of · 489cff53
      Sven Neumann authored
      2003-09-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpitem-preview.[ch]: new files with preview code
      	factored out of GimpDrawable.
      
      	* app/core/gimpdrawable-preview.[ch]: code removed here.
      
      	* app/core/gimpdrawable.c
      	* app/core/gimpitem.c: let GimpItem implement
      	GimpViewable::get_preview_size and GimpViewable::get_popup_size.
      
      	* app/widgets/gimppreviewrenderervectors.c: simple scale to the
      	renderer's size; it already respects the aspect ratio.
      489cff53
    • Michael Natterer's avatar
      connect to the "add" and "remove" signals of the current tool_option's · 6a7a69ee
      Michael Natterer authored
      2003-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimptooloptionseditor.c: connect to the "add" and
      	"remove" signals of the current tool_option's presets container
      	and set the "Restore" and "Delete" buttons insensitive when there
      	are no saved tool options. Also show the "Enter Name" dialog
      	directly instead of popping up a menu with only one item.
      6a7a69ee
    • Michael Natterer's avatar
      new function for stuff which needs to be done once, not on every · dedbe33b
      Michael Natterer authored
      2003-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/tool-options-menu.[ch] (tool_options_menu_setup): new
      	function for stuff which needs to be done once, not on every
      	tool_options_menu_update(). Cleanup.
      
      	* app/gui/menus.c: register it as setup_func of <ToolOptions>.
      
      	* app/gui/tool-options-commands.c: removed the "Reset"
      	implementations and activate GimpToolOptionsEditor's buttons
      	accordingly.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_TOOL_OPTIONS_DELETE.
      
      	* app/widgets/gimptooloptionseditor.[ch]: moved "Reset"
      	implementations to this file. Added "Delete" button. Pop up the
      	"Save", "Restore" and "Delete" submenus of the <ToolOptions>
      	item_factory when the resp. buttons are clicked.
      dedbe33b
    • Michael Natterer's avatar
      follow tool_options file moving/adding. · 695fb982
      Michael Natterer authored
      2003-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: follow tool_options file moving/adding.
      695fb982
    • Michael Natterer's avatar
      added a GimpContainer of tool options presets. · d1ba8704
      Michael Natterer authored
      2003-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimptoolinfo.[ch]: added a GimpContainer of tool
      	options presets.
      
      	* app/core/gimptooloptions.[ch] (gimp_tool_options_set_property):
      	silently accept setting the *same* tool_info again.
      
      	(gimp_tool_options_build_filename): is public now.
      
      	* app/tools/gimp-tools.c (gimp_tools_restore,save): load and save
      	the presets container.
      
      	* app/gui/tool-options-dialog.[ch]: removed.
      
      	* app/gui/tool-options-commands.[ch]
      	* app/gui/tool-options-menu.[ch]: new files implementing a menu
      	for the new GimpToolOptionsEditor widget. Has submenus for saving,
      	loading, and deleting tool options to/from the
      	tool_info->options_presets container.
      
      	* app/gui/Makefile.am
      	* app/gui/dialogs-constructors.c
      	* app/gui/menus.c: changed accordingly.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptooloptionseditor.[ch]: the tool options dialog
      	as proper widget. The "Load" and "Save" buttons still do the same
      	stuff as before. Will make them use the new presets since making
      	them do something useful was the reason for this whole change.
      
      	* app/widgets/gimphelp-ids.h: added missing help IDs for the tool
      	options dialog.
      d1ba8704
    • Michael Natterer's avatar
      Fixed handling of G_PARAM_CONSTRUCT_ONLY properties: · 017d1839
      Michael Natterer authored
      2003-09-29  Michael Natterer  <mitch@gimp.org>
      
      	Fixed handling of G_PARAM_CONSTRUCT_ONLY properties:
      
      	* app/config/gimpconfig.c (gimp_config_iface_duplicate): build
      	a GParameter array of G_PARAM_CONSTRUCT_ONLY properties and
      	use g_object_newv() instead of g_object_new() to create the
      	copy.
      
      	* app/config/gimpconfig-utils.c
      	(gimp_config_copy_properties)
      	(gimp_consif_reset_properties): don't try to copy/reset
      	G_PARAM_CONSTRUCT_ONLY properties because it is impossible.
      
      	(gimp_config_connect_notify): ditto. Also don't try to read
      	from unreadable or write to unwritable properties.
      017d1839
    • Michael Natterer's avatar
      minor cleanups. · 2b57062c
      Michael Natterer authored
      2003-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpcroptool.c: minor cleanups.
      
      	(gimp_crop_tool_modifier_key): s/crop-type/crop-mode/. Fixes tool
      	toggling which was broken after my GimpCropMode change.
      
      	(crop_tool_crop_image): replaced parameter "gboolean crop_layers"
      	by "GimpCropMode crop_mode". Makes its callers simpler and more
      	readable.
      2b57062c
    • Simon Budig's avatar
      Fixed a bad crash (Thanks to Sven for spotting that). Minor cleanups. · dada777a
      Simon Budig authored
      2003-09-29  Simon Budig  <simon@gimp.org>
      
      	* app/widgets/gimppreviewrenderervectors.c: Fixed a bad
      	crash (Thanks to Sven for spotting that). Minor cleanups.
      dada777a
    • Simon Budig's avatar
      Made the preview respect the aspect ratio and resolutions of the image. · 02f375b8
      Simon Budig authored
      2003-09-29  Simon Budig  <simon@gimp.org>
      
      	* app/widgets/gimppreviewrenderervectors.c: Made the preview
      	respect the aspect ratio and resolutions of the image. There
      	apparently still is an off-by-one error in it.
      
      	* app/tools/gimpvectortool.c: (Hopefully) fixed a crash when a new
      	image gets opened with the vectors tool active.
      02f375b8
    • Marco Ciampa's avatar
      Updated italian translation. · 6f061970
      Marco Ciampa authored
      6f061970
    • Marco Ciampa's avatar
      Updated italian translation. · a28d33ee
      Marco Ciampa authored
      a28d33ee
    • Sven Neumann's avatar
      made draw a virtual method of GimpPreviewRenderer. Draw the border in the · 9b3f8b06
      Sven Neumann authored
      2003-09-29  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimppreviewrenderer.[ch]: made draw a virtual method
      	of GimpPreviewRenderer. Draw the border in the wrapper function.
      
      	* app/widgets/gimppreviewrenderervectors.c: implement
      	GimpPreviewRenderer::draw instead of GimpPreviewRenderer::render.
      9b3f8b06
    • Simon Budig's avatar
      Made these widgets show a preview of the vectors object. Does not work · eb489c44
      Simon Budig authored
      2003-09-29  Simon Budig  <simon@gimp.org>
      
      	* app/widgets/gimppreviewrenderervectors.c: Made these widgets
      	show a preview of the vectors object. Does not work everywhere
      	right now, also most probably has scaling issues for non-square
      	images.
      
      	* app/tools/gimpdrawtool.c: Fixed Svens fix.
      eb489c44
    • Sven Neumann's avatar
      removed "dash-unit" property and renamed "width-unit" to "unit". · 55a0c4c9
      Sven Neumann authored
      2003-09-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpstrokeoptions.[ch]: removed "dash-unit" property and
      	renamed "width-unit" to "unit".
      
      	* app/core/gimpdrawable-stroke.c
      	* app/widgets/gimpstrokeeditor.c: changed accordingly.
      55a0c4c9
    • Marco Ciampa's avatar
      Updated italian translation. · fdad9048
      Marco Ciampa authored
      fdad9048
  3. 28 Sep, 2003 17 commits
    • Ville Pätsi's avatar
      blarg. · 4353008d
      Ville Pätsi authored
      4353008d
    • Simon Budig's avatar
      Fixed glitch to enable dashed strokes with width < 1.0. · 4fce9804
      Simon Budig authored
      2003-09-29  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpscanconvert.c: Fixed glitch to enable dashed
      	strokes with width < 1.0.
      
      	* app/core/gimpdrawable-stroke.c: Actually pass the miter
      	limit to gimp_scan_convert_stroke ().
      4fce9804
    • Ville Pätsi's avatar
      b823aa0d
    • Sven Neumann's avatar
      as a temporary hack, let the Stroke Dialog remember the last used stroke · 14d3b014
      Sven Neumann authored
      2003-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/stroke-dialog.c (stroke_dialog_new): as a temporary hack,
      	let the Stroke Dialog remember the last used stroke options.
      14d3b014
    • Sven Neumann's avatar
      also duplicate vectors and grid. · 36e57e4b
      Sven Neumann authored
      2003-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-duplicate.c (gimp_image_duplicate): also
      	duplicate vectors and grid.
      36e57e4b
    • Ville Pätsi's avatar
      gimp.spec.in: disable stripping · 856f2ece
      Ville Pätsi authored
      856f2ece
    • Sven Neumann's avatar
      plugged memleaks and added some sanity checks. · 30a4f721
      Sven Neumann authored
      2003-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpscanconvert.c (gimp_scan_convert_free)
      	(gimp_scan_convert_finish): plugged memleaks and added some sanity
      	checks.
      
      	* app/base/pixel-region.c
      	* app/core/gimpdrawable-preview.c: removed trailing whitespace.
      
      	* app/tools/gimpdrawtool.c (gimp_draw_tool_on_vectors_curve):
      	gimp_stroke_nearest_point_get() doesn't set cur_pos when there are
      	no strokes; don't use the uninitialized variable.
      30a4f721
    • Ville Pätsi's avatar
      themes/Default/images/stock-join-round-16.png · 515dfaaa
      Ville Pätsi authored
              * themes/Default/images/stock-join-round-16.png
              * themes/Default/images/stock-join-miter-16.png
              * themes/Default/images/stock-join-bevel-16.png
              * themes/Default/images/stock-cap-square-16.png
              * themes/Default/images/stock-cap-round-16.png
              * themes/Default/images/stock-cap-butt-16.png: Changed these icons.
      515dfaaa
    • Sven Neumann's avatar
      app/app-docs.sgml app/app-sections.txt updated. · 049b4ad0
      Sven Neumann authored
      2003-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt
      	* app/app.types: updated.
      049b4ad0
    • Sven Neumann's avatar
      fixed inline documentation. · b80427e6
      Sven Neumann authored
      2003-09-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmath/gimpvector.c: fixed inline documentation.
      b80427e6
    • Jan Morén's avatar
      Updated Swedish translation. · 6f8fd54f
      Jan Morén authored
      2003-09-28  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      6f8fd54f
    • Simon Budig's avatar
      Fabian Franz <debian@fabian-franz.de> · 7cc6ed6d
      Simon Budig authored
      2003-09-28  Simon Budig  <simon@gimp.org>
                  Fabian Franz  <debian@fabian-franz.de>
      
      	Ok, this time for real...   :-)
      
      	* plug-ins/common/animoptimize.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/smooth_palette.c
      	* plug-ins/common/tile.c: Fixed Undo issues. Plugins creating
      	new images should create an empty undo history. Sprinkeling
      	gimp_image_enable_undo() at the end of the plugins operations
      	does the trick. It makes sense to do this *before* you add
      	a display to the image, otherwise the UI gets out of sync.
      7cc6ed6d
    • Simon Budig's avatar
      Oops, forgot to add my name to the file-header. · 07bfd081
      Simon Budig authored
      2003-09-28  Simon Budig  <simon@gimp.org>
      
      	* app/widgets/gimppreviewrenderervectors.c: Oops, forgot to
      	add my name to the file-header.
      07bfd081
    • Simon Budig's avatar
      "The last of the Oldenburg commits" · 7c3b4559
      Simon Budig authored
      2003-09-28  Simon Budig  <simon@gimp.org>
      
      	"The last of the Oldenburg commits"
      
      	Thanks to the team of the Oldenburg Linux Developers Meeting 2003
      	for providing a nice hacking environment.
      
      	* app/vectors/gimpvectors.c: Add a default stock_id.
      
      	* app/widgets/gimppreviewrenderervectors.[ch]: New Widget
      	to render the preview of vectors. Just renders a stock item
      	now, since I was unable to figure out how to properly draw
      	in the GtkWidget.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h: Changed accordingly.
      
      	* app/widgets/gimppreviewrenderer-utils.c: Use the new widget.
      
      	* app/core/gimpscanconvert.c
      	* app/core/gimpdrawable-stroke.c: Use higher prescision for
      	libart-stroking vectors. Reduces artefacts.
      
      	* app/pdb/paths_cmds.c
      	* libgimp/gimppaths_pdb.c: Regenerated after Tors changes.
      7c3b4559
    • Tor Lillqvist's avatar
      Fix some documentation strings. · 9bbb61d9
      Tor Lillqvist authored
      2003-09-28  Tor Lillqvist  <tml@iki.fi>
      
      	* tools/pdbgen/pdb/paths.pdb: Fix some documentation strings.
      9bbb61d9
    • Duarte Loreto's avatar
      Updated Portuguese translation. · e4060d21
      Duarte Loreto authored
      2003-09-28  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation.
      e4060d21
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 50f76fd3
      Duarte Loreto authored
      2003-09-27  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation.
      50f76fd3
  4. 27 Sep, 2003 5 commits