1. 06 Apr, 2003 3 commits
    • Michael Natterer's avatar
      added gimp_list_uniquefy_name() utility function. · 9827ceac
      Michael Natterer authored
      2003-04-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplist.[ch]: added gimp_list_uniquefy_name() utility
      	function.
      
      	* app/core/gimpdatalist.c
      	* app/core/gimpitem.c: use it here instead of duplicating almost
      	the same code.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptemplateview.[ch]: new widget for editing the
      	template list.
      
      	* app/gui/dialogs-constructors.c: use it.
      
      	* app/gui/Makefile.am
      	* app/gui/templates-commands.[ch]
      	* app/gui/templates-menu.[ch]: new files implementing the context
      	menu for the template list.
      
      	* app/gui/menus.c: register the new menu with the menu factory.
      
      	* app/gui/file-commands.c (file_new_template_callback): uniquefy
      	the new template's name.
      
      	* app/gui/documents-commands.c: fixed typo.
      9827ceac
    • Michael Natterer's avatar
      fixed bug spotted by Pedro Gimeno by moving the alpha calculation to the · b0defba6
      Michael Natterer authored
      2003-04-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpgradient.c (gimp_gradient_get_color_at): fixed bug
      	spotted by Pedro Gimeno by moving the alpha calculation to the
      	bottom so it is not affected by rgb->hsv->rgb conversions
      	(bug #110053).
      b0defba6
    • Duarte Loreto's avatar
      Updated Portuguese translation. · e78ce365
      Duarte Loreto authored
      2003-04-06  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      e78ce365
  2. 05 Apr, 2003 6 commits
  3. 04 Apr, 2003 18 commits
    • Sven Neumann's avatar
      applied a patch from Pedro Gimeno that fixes incorrect drawing of the · 55d80752
      Sven Neumann authored
      2003-04-05  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-selection.c: applied a patch from
      	Pedro Gimeno that fixes incorrect drawing of the selection border
      	caused by overflowing 16bit X coordinates (bug #110014).
      55d80752
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · fd4743a9
      Sven Neumann authored
      2003-04-04  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-gradient-bilinear-16.png
      	* themes/Default/images/stock-gradient-conical-asymmetric-16.png
      	* themes/Default/images/stock-gradient-conical-symmetric-16.png
      	* themes/Default/images/stock-gradient-linear-16.png
      	* themes/Default/images/stock-gradient-radial-16.png
      	* themes/Default/images/stock-gradient-shapeburst-angular-16.png
      	* themes/Default/images/stock-gradient-shapeburst-dimpled-16.png
      	* themes/Default/images/stock-gradient-shapeburst-spherical-16.png
      	* themes/Default/images/stock-gradient-spiral-anticlockwise-16.png
      	* themes/Default/images/stock-gradient-spiral-clockwise-16.png
      	* themes/Default/images/stock-gradient-square-16.png
      	* libgimpwidgets/gimpstock.[ch]: added new icons drawn by Jimmac.
      
      	* app/tools/gimpblendoptions.c (gimp_blend_options_gui): use the
      	new icons in the gradient type menu.
      fd4743a9
    • Michael Natterer's avatar
      removed tree_view->preview_border_width. · ff0ce48c
      Michael Natterer authored
      2003-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainertreeview.[ch]: removed
      	tree_view->preview_border_width.
      
      	* app/widgets/gimpcontainermenu.[ch]
      	* app/widgets/gimpcontainerview.[ch]: and added it here so it is
      	configurable in all views. Synced the changes in both classes.
      
      	* app/widgets/gimpcontainermenuimpl.[ch]
      	* app/widgets/gimpmenuitem.[ch]: made preview_border_size
      	configurable here, too.
      
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpimagedock.c
      	* app/gui/palette-import-dialog.c: changed accordingly.
      
      	* app/gui/file-new-dialog.c: Removed the border from the template
      	menu previews.
      ff0ce48c
    • Michael Natterer's avatar
      #define GIMP_UNDO_PREVIEW_SIZE 64 · c27429c8
      Michael Natterer authored
      2003-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpundo.h: #define GIMP_UNDO_PREVIEW_SIZE 64
      
      	* app/core/gimpundo.c (gimp_undo_create_preview_private):
      	* app/widgets/gimpundoeditor.c (gimp_undo_editor_init): use it.
      c27429c8
    • Sven Neumann's avatar
      made "stock-id" a property of the GimpViewable object. · 1ba5fb8d
      Sven Neumann authored
      2003-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpviewable.c: made "stock-id" a property of the
      	GimpViewable object.
      1ba5fb8d
    • Sven Neumann's avatar
      etc/Makefile.am added a short templaterc. · fc6b3319
      Sven Neumann authored
      2003-04-04  Sven Neumann  <sven@gimp.org>
      
      	* etc/Makefile.am
      	* etc/templaterc: added a short templaterc.
      
      	* app/gui/user-install-dialog.c: copy templaterc to ~/.gimp-1.3
      	and create a templates directory on user installation.
      fc6b3319
    • Michael Natterer's avatar
      applied another patch from Pedro Gimeno that fixes even the most evil zoom · 9d5998c9
      Michael Natterer authored
      2003-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpnavigationpreview.c
      	(gimp_navigation_preview_move_to): applied another patch from Pedro
      	Gimeno that fixes even the most evil zoom ratios.
      
      	(gimp_navigation_preview_draw_marker): fixed marker drawing for
      	very large zoom ratios.
      9d5998c9
    • Sven Neumann's avatar
      this should work on 64bit system as well. · 3645cb71
      Sven Neumann authored
      2003-04-04  Sven Neumann  <sven@gimp.org>
      
              * libgimpbase/gimputils.c (gimp_memsize_to_string): this should
              work on 64bit system as well.
      3645cb71
    • Michael Natterer's avatar
      libgimpbase/libgimpbase-sections.txt added gimp_memsize_to_string() · 93b50614
      Michael Natterer authored
      2003-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/libgimpbase-sections.txt
      	* libgimpbase/tmpl/gimputils.sgml: added gimp_memsize_to_string()
      93b50614
    • Michael Natterer's avatar
      reduced GIMP_MAX_IMAGE_SIZE to 2^18. · 650b70cf
      Michael Natterer authored
      2003-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimplimits.h: reduced GIMP_MAX_IMAGE_SIZE to 2^18.
      
      	* libgimpbase/gimputils.[ch]: added gimp_memsize_to_string()
      	utility function (which is definitely broken on 64bit systems).
      
      	* app/core/gimpimage-new.[ch]: removed
      	gimp_image_new_get_memsize_string() and gimp_image_new_create_image().
      	Renamed gimp_image_new_template_new() to
      	gimp_image_new_get_last_template().
      
      	* app/core/gimpimagefile.c
      	* app/display/gimpdisplayshell-title.c: changed accordingly.
      
      	* app/core/gimp-templates.c: changed filename from "templates"
      	to "templaterc".
      
      	* app/core/gimp.[ch]
      	* app/core/gimpimage-duplicate.c: don't include "gimpimage-new.h".
      
      	* app/core/gimptemplate.[ch]: removed
      	gimp_template_calc_memsize().  Instead, added the size and a
      	boolean indicating that it is valid to the GimpTemplate
      	struct. Added GObject::notify() implementation and update the
      	values there.
      
      	* app/widgets/gimppropwidgets.c: connect to the unit property
      	correctly.
      
      	* app/gui/file-new-dialog.c: changed accordingly. Disconnect
      	from the template's "notify" signal while changing all values.
      650b70cf
    • Sven Neumann's avatar
      app/gui/image-menu.c (image_menu_set_zoom) fixed an issue with the new · 6e736cf6
      Sven Neumann authored
      2003-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/image-menu.c (image_menu_set_zoom)
      	* app/gui/view-commands.c (view_zoom_other_cmd_callback): fixed
      	an issue with the new Zoom Ratio dialog.
      6e736cf6
    • Sven Neumann's avatar
      include stdlib.h for abs(). · 8ea11afa
      Sven Neumann authored
      2003-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-transform.c: include stdlib.h for abs().
      8ea11afa
    • Sven Neumann's avatar
      updated NEWS · a7c42847
      Sven Neumann authored
      a7c42847
    • Sven Neumann's avatar
      applied a patch from Pedro Gimeno that fixes the display render problems · 2c1b4f78
      Sven Neumann authored
      2003-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-render.c: applied a patch from
      	Pedro Gimeno that fixes the display render problems at high zoom
      	levels (bug #109933).
      2c1b4f78
    • Sven Neumann's avatar
      Applied a patch from Øyvind Kolås that adds supersampling to the transform · a11fd461
      Sven Neumann authored
      2003-04-04  Sven Neumann  <sven@gimp.org>
      
      	Applied a patch from Øyvind Kolås that adds supersampling to the
      	transform operations (bug #109817):
      
      	* app/base/tile-manager-private.h
      	* app/base/tile-manager.[ch]: cache the last accessed tile and use
      	it to optimize read_pixel_data_1().
      
      	* app/core/gimpdrawable-transform-utils.c
      	* app/core/gimpdrawable-transform.c: changed the resampling
      	behavior when scaling down.
      a11fd461
    • Michael Natterer's avatar
      the "color" option's label was saying "Size". Changed it to "Color". · 9820b157
      Michael Natterer authored
      2003-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/paint_options.c (pressure_options_gui): the "color"
      	option's label was saying "Size". Changed it to "Color".
      9820b157
    • Michael Natterer's avatar
      use "", not NULL for "no accelerator", since NULL will show the · 0d61c288
      Michael Natterer authored
      2003-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/documents-menu.c: use "", not NULL for "no accelerator",
      	since NULL will show the stock_item's accelerator.
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: added a "Document History..." menu item
      	at the bottom of the "Open Recent" submenus.
      
      	* app/gui/menus.c (menus_last_opened_add): reorder the dynamically
      	created entries to the top of the menu. Cleanup.
      0d61c288
    • Sven Neumann's avatar
      extended range of possible zoom ratios like in the other scaling routines. · 70094157
      Sven Neumann authored
      2003-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_scale_fit): extended range of possible zoom
      	ratios like in the other scaling routines.
      
      	* app/display/gimpdisplayshell-scale.[ch]
      	* app/display/gimpdisplayshell.[ch]
      	* app/gui/image-menu.c
      	* app/gui/view-commands.[ch]: added a dialog to menually enter the
      	zoom ratio. Fixes bug #65057.
      70094157
  4. 03 Apr, 2003 7 commits
    • Sven Neumann's avatar
      libgimpwidgets/libgimpwidgets-sections.txt even more icons. · 745566f0
      Sven Neumann authored
      2003-04-03  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimpstock.sgml: even more icons.
      745566f0
    • Michael Natterer's avatar
      Added preliminary support for image templates. Not finished yet. Addresses · a018b06a
      Michael Natterer authored
      2003-04-03  Michael Natterer  <mitch@gimp.org>
      
      	Added preliminary support for image templates. Not finished
      	yet. Addresses bug #96059. Now we need a volunteer to create
      	a nice collection of default templates...
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimptemplate.[ch]
      	* app/core/gimp-templates.[ch]: new files implementing the new
      	GimpTemplate object and the list of available image templates.
      
      	* app/core/gimp.[ch]: keep a container of templates around.
      
      	* app/core/gimpimage-new.[ch]: ported to use GimpTemplate. Removed
      	struct GimpImageNewValues.
      
      	* app/widgets/gimpcontainermenuimpl.c: changed to show the
      	"(none)" item for a NULL selection also, not only for an empty
      	container.
      
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_size_entry_connect() which connects an externally
      	created GimpSizeEntry to object properties. Fixed the size entry
      	code to actually work.
      
      	* app/gui/image-menu.c
      	* app/gui/file-commands.[ch]: added "Save as Template" which
      	creates a new template from any image's properties.
      
      	* app/gui/file-new-dialog.c: use prop_widgets and GimpTemplate.
      	Offer the available templates in a menu at the top of the dialog.
      a018b06a
    • Michael Natterer's avatar
      don't forget to resume the selection after cancelling a guide drag. · 4865105f
      Michael Natterer authored
      2003-04-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpmovetool.c (gimp_move_tool_button_release): don't
      	forget to resume the selection after cancelling a guide drag.
      	Spotted by Pedro Gimeno.
      4865105f
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · c556c957
      Sven Neumann authored
      2003-04-03  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-template-16.png
      	* themes/Default/images/stock-texture-64.png: new icons by Jimmac.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      
      	* app/widgets/gimppreview.[ch]: added the possibility to set a
      	background pixmap on the preview widget.
      
      	* app/gui/dialogs-constructors.c
      	* app/display/gimpnavigationview.[ch]
      	* app/widgets/gimpselectioneditor.[ch]: set a background on the
      	navigation and selection previews when layer previews are disabled
      	in the preferences.
      c556c957
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · cf84c4c0
      Pablo Gonzalo del Campo authored
      2003-04-03  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
              * es.po: Updated Spanish translation.
      cf84c4c0
    • Sven Neumann's avatar
      docs/Makefile.am removed this hopelessly outdated file. · 20641f27
      Sven Neumann authored
      2003-04-03  Sven Neumann  <sven@gimp.org>
      
      	* docs/Makefile.am
      	* cheat_sheet.txt: removed this hopelessly outdated file.
      20641f27
    • Sven Neumann's avatar
      updated keybindings provided by Owen <oc@webone.com.au>. · 59ddcd12
      Sven Neumann authored
      2003-04-03  Sven Neumann  <sven@gimp.org>
      
      	* docs/keybindings.txt: updated keybindings provided by Owen
      	<oc@webone.com.au>.
      59ddcd12
  5. 02 Apr, 2003 6 commits