1. 31 Jan, 2004 1 commit
    • Manish Singh's avatar
      define ARCH_X86_64 globally. · 95590589
      Manish Singh authored
      2004-01-31  Manish Singh  <yosh@gimp.org>
      
              * configure.in: define ARCH_X86_64 globally.
      
              * app/base/cpu-accel.c: remove local definition.
      95590589
  2. 30 Jan, 2004 4 commits
  3. 29 Jan, 2004 6 commits
    • Simon Budig's avatar
      Mention fixed bugs in NEWS and Changelog · 6e99d930
      Simon Budig authored
      6e99d930
    • Simon Budig's avatar
      Store the zoom factor as float, not as a ratio. · 645a1ab6
      Simon Budig authored
      2004-01-29  Simon Budig  <simon@gimp.org>
      
      	* app/display/gimpdisplayshell.[ch]: Store the zoom factor as
      	float, not as a ratio.
      
      	* app/display/gimpdisplayshell-scale.[ch]: change the API to
      	expose the Float instead a weirdly encoded integer. Implement
      	functions to get a ratio from the scale factor. Implement a set
      	as presets as discussed on the mailinglist. Changed Zoom->Other
      	dialog to enable entering a float.
      
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpnavigationview.c
      	* app/gui/image-menu.c
      	* app/gui/info-window.c
      	* app/tools/gimpmagnifytool.c: changed accordingly.
      
      	* app/core/gimp.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/gui/gui-vtable.c
      	* app/widgets/widgets-enums.h: Made the various display-creating
      	functions accept a float for the scale. Introduce a new
      	GimpZoomType: GIMP_ZOOM_TO. Generally adjust the API to use
      	floats instead of weird integers.
      
      	* app/core/gimp-edit.c
      	* app/core/gimptemplate.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/file/file-open.c
      	* app/gui/image-commands.c
      	* app/gui/view-commands.[ch]
      	* tools/pdbgen/pdb/display.pdb
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimptoolbox-dnd.c: changed accordingly
      
      	* app/pdb/display_cmds.c: regenerated
      645a1ab6
    • Michael Natterer's avatar
      removed the last artefact of context signal handling from 1.2: · c798f967
      Michael Natterer authored
      2004-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.[ch]: removed the last artefact of context
      	signal handling from 1.2:
      
      	GimpContext used to connect to e.g. the current brush's
      	"invalidate_preview" and "name_changed" signals and emitted
      	"brush_changed" when the callback was invoked. This was needed to
      	make 1.2 work, but is conceptually broken with the real model <->
      	view approach implemented in the current code.
      	This change also optimizes things quite a bit because lots of
      	signal emissions are saved.
      
      	Added utility function which finds a container's current object
      	after a freeze/thaw.
      
      	* app/widgets/gimpcontainerview.[ch]: added new virtual function
      	GimpContainerView::rename_item(). Connect to "name_changed" of the
      	corrent container's children and invoke rename_item() accordingly.
      
      	* app/widgets/gimpcontainertreeview.[ch]: removed name_changed
      	handler and implement GimpContainerView::rename_item().
      
      	* app/widgets/gimpcontainergridview.c: ditto. the grid view was
      	still relying on the removed GimpContext behaviour for updating
      	the label showing the sleected item's name.
      c798f967
    • Michael Natterer's avatar
      GimpData code review: · 44cac5ae
      Michael Natterer authored
      2004-01-29  Michael Natterer  <mitch@gimp.org>
      
      	GimpData code review:
      
      	* app/core/gimpdata.c (gimp_data_init): default to
      	writable = FALSE and dirty = TRUE.
      
      	* app/core/gimpbrushgenerated.[ch]: added "const gchar *name" to
      	gimp_brush_generated_new().
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpgradient.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c: set all standard datas to clean and
      	internal, check for g_path_is_absolute() in all load functions,
      	pass the data's name as construct property to g_object_new()
      	instead of calling gimp_object_set_name() after creation, fixed
      	some UTF-8 handling, spacing, indentation, coding style, general
      	cleanup.
      44cac5ae
    • Sven Neumann's avatar
      app/tools/gimpcurvestool.c app/tools/gimpinkoptions.c removed explicit · 4591bc1a
      Sven Neumann authored
      2004-01-29  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpinkoptions.c
      	* app/tools/gimplevelstool.c: removed explicit grabs. The pointer
      	is already implicitely grabbed while the button is pressed.
      4591bc1a
    • Michael Natterer's avatar
      reset binary age because of struct changes below. require GIMP 1.3.26. · e8843a23
      Michael Natterer authored
      2004-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: reset binary age because of struct changes below.
      	* m4macros/gimp-2.0.m4: require GIMP 1.3.26.
      
      	* libgimpmodule/gimpmodule.h
      	* libgimpmodule/gimpmoduledb.h
      	* libgimpthumb/gimpthumbnail.h
      	* libgimpwidgets/gimpbutton.h
      	* libgimpwidgets/gimpchainbutton.h
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimpcolorbutton.h
      	* libgimpwidgets/gimpcolordisplay.h
      	* libgimpwidgets/gimpcolordisplaystack.h
      	* libgimpwidgets/gimpcolornotebook.h
      	* libgimpwidgets/gimpcolorscale.h
      	* libgimpwidgets/gimpcolorselection.h
      	* libgimpwidgets/gimpcolorselector.h
      	* libgimpwidgets/gimpdialog.h
      	* libgimpwidgets/gimpfileentry.h
      	* libgimpwidgets/gimpmemsizeentry.h
      	* libgimpwidgets/gimpoffsetarea.h
      	* libgimpwidgets/gimppickbutton.h
      	* libgimpwidgets/gimppixmap.h
      	* libgimpwidgets/gimpsizeentry.h
      	* libgimpwidgets/gimpunitmenu.h: added 4 function pointers padding
      	to all class structures.
      e8843a23
  4. 28 Jan, 2004 12 commits
    • Michael Natterer's avatar
      Added infrastructure to make sure we don't write to the global brush, · 894cf70d
      Michael Natterer authored
      2004-01-28  Michael Natterer  <mitch@gimp.org>
      
      	Added infrastructure to make sure we don't write to the global
      	brush, pattern etc. directories. Needed to make this configurable
      	because we can't rely on the global directories being read-only,
      	having certain names or being otherwise detectable at runtime in a
      	sane way. Fixes bug #132214.
      
      	* libgimpbase/gimpdatafiles.[ch]: added "const gchar *dirname" to
      	the GimpDataFileData struct so callbacks don't need to call
      	g_path_get_dirname() for each file.
      
      	* libgimpwidgets/gimpfileentry.c: made it work with non UTF-8
      	encoded filenames.
      
      	* libgimpwidgets/gimppatheditor.[ch]: ditto. Added GUI and API for
      	setting/getting a second "writable_path". The widget makes sure
      	that the writable_path is always a subset of the path.
      
      	* app/config/gimpconfig-utils.[ch]: added new function
      	gimp_config_build_writable_path().
      
      	* app/config/gimpcoreconfig.[ch]: added separate properties for
      	the writable brush, pattern, gradient, palette and font paths.
      
      	* app/config/gimprc-blurbs.h: added (still empty) blurbs for the
      	new properties.
      
      	* app/core/gimpdata.[ch] (gimp_data_set_filename): added parameter
      	"gboolean writable". Set data->writable to FALSE by default. If
      	"writable" is passed as TRUE, still check if we can write to the
      	file before setting data->writable to TRUE.
      
      	(gimp_data_create_filename): changed "data_path" parameter to
      	"dest_dir" and assume dest_dir is writable.
      
      	(gimp_data_duplicate): set data->dirty to TRUE to make sure
      	duplicated things will be saved.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpgradient.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c: don't set the data's filename and don't
      	touch data->dirty in the _load() functions because that's done by
      	the data factory now. Don't touch data->dirty in the _duplicate()
      	functions because that's done by gimp_data_duplicate() itself now.
      
      	* app/core/gimpdatafactory.[ch] (gimp_data_factory_new): added
      	"writable_property_name" and remember it.
      	Added utility function gimp_data_factory_get_save_dir() which
      	determines the directory to save new datas to.
      	Added public function gimp_data_factory_data_save_single() which
      	saves a single data object.
      	Make sure new things get saved to the first writable directory
      	as specified in preferences.
      
      	* app/core/gimp.c (gimp_real_initialize): pass the writable_paths'
      	property names to gimp_data_factory_new().
      
      	* app/widgets/gimpdataeditor.c (gimp_data_editor_save_dirty): use
      	gimp_data_factory_data_save_single() instead of implementing
      	saving here.
      
      	* app/widgets/gimppropwidgets.[ch] (gimp_prop_path_editor_new):
      	added "const gchar *writable_property_name" parameter (can be
      	NULL).
      
      	Added the needed callbacks to handle the writable_path and made
      	the path_editor and file_entry code aware of non UTF-8 filename
      	encodings. Some general cleanup.
      
      	* app/gui/preferences-dialog.c: changed accordingly.
      894cf70d
    • Sven Neumann's avatar
      according to the automake docs, we need to add $(EXEEXT) explicitely for · 70077c09
      Sven Neumann authored
      2004-01-28  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: according to the automake docs, we need to add
      	$(EXEEXT) explicitely for programs that are conditionally built
      	using configure substitutions instead of automake conditionals.
      70077c09
    • Michael Natterer's avatar
      return early if gimp_config_path_expand_only() fails. · 9c28c229
      Michael Natterer authored
      2004-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-path.c (gimp_config_path_expand): return
      	early if gimp_config_path_expand_only() fails.
      9c28c229
    • Dave Neary's avatar
      Removed duplicate TIFF entry from save dialog, and made the save handler · 87e1ea55
      Dave Neary authored
      
      2004-01-28  Dave Neary  <bolsh@gimp.org>
      
              * plug-ins/common/tiff.c: Removed duplicate TIFF entry from save
              dialog, and made the save handler point to the one that doesn't
              pre-multiply by alpha. Reported on gimp-user by misfit-x. Also
              changed default value to not destroy data on save.
      87e1ea55
    • Pedro Gimeno's avatar
      Fix typo that prevented using the inverse of the golden ratio (1/g) as a · a0b7d6d5
      Pedro Gimeno authored
      2004-01-28  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* plug-ins/script-fu/scripts/grid-system.scm: Fix typo that prevented
      	using the inverse of the golden ratio (1/g) as a weight in the list.
      a0b7d6d5
    • Michael Natterer's avatar
      updated help IDs for new/reordered pages in the prefs dialog. · c07bbf82
      Michael Natterer authored
      2004-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimphelp-ids.h: updated help IDs for new/reordered
      	pages in the prefs dialog.
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): changed
      	accordingly.
      c07bbf82
    • Manish Singh's avatar
      validate the types of the individual list members when passing parasites. · 86a24621
      Manish Singh authored
      2004-01-28  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call): validate
              the types of the individual list members when passing parasites.
              Fixes #93806.
      86a24621
    • Manish Singh's avatar
      inlined rotate_pointers, changed prototypes and casts around so that we're · 27d43d86
      Manish Singh authored
      2004-01-27  Manish Singh  <yosh@gimp.org>
      
              * app/paint-funcs/paint-funcs.c: inlined rotate_pointers, changed
              prototypes and casts around so that we're compliant with C99 aliasing
              rules.
      27d43d86
    • Manish Singh's avatar
      app/composite/gimp-composite-generic.c · 0f338c4c
      Manish Singh authored
      2004-01-27  Manish Singh  <yosh@gimp.org>
      
              * app/composite/gimp-composite-generic.c
              (gimp_composite_overlay_any_any_any_generic)
              * app/paint-funcs/paint-funcs-generic.h (overlay_pixels): use more
              than one temporary when stacking INT_MULTs, to avoid undefined
              values.
      0f338c4c
    • Manish Singh's avatar
      Use a real GimpVector2 for vector operations, instead of stuffing · 38a2656c
      Manish Singh authored
      2004-01-27  Manish Singh  <yosh@gimp.org>
      
              * app/paint/gimppaintcore.c (gimp_paint_core_interpolate): Use a real
              GimpVector2 for vector operations, instead of stuffing everything
              into a GimpCoords. C99 aliasing fix.
      38a2656c
    • Manish Singh's avatar
      removed unused variable. · 1a8bbe30
      Manish Singh authored
      2004-01-27  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/plugindetails.c: removed unused variable.
      
              * plug-ins/common/nlfilt.c: declare nlfiltRow as inline in the
              function definition as well.
      1a8bbe30
    • Manish Singh's avatar
      use AM_PATH_GIMPPRINT to get some additional sanity checks. · 21c03691
      Manish Singh authored
      2004-01-27  Manish Singh  <yosh@gimp.org>
      
              * configure.in: use AM_PATH_GIMPPRINT to get some additional
              sanity checks.
      
              * acinclude.m4: define AM_PATH_GIMPPRINT here, so we don't have
              add a new autogen dependency.
      
              * plug-ins/print/Makefile.am: Use GIMPPRINT_{CFLAGS,LIBS}
      21c03691
  5. 27 Jan, 2004 15 commits
    • Simon Budig's avatar
      Argh, this is getting silly. · 857d114a
      Simon Budig authored
      2004-01-28  Simon Budig  <simon@gimp.org>
      
      	Argh, this is getting silly.
      
      	* app/core/gimpscanconvert.c: Fix dumb bug I introduced
      	while fixing bug #132036. Instead of always closing a
      	polyline to the first point of the vpath close to the
      	first point of the current polyline
      
      	I'll close #132036 for the third time now, feel free to
      	reopen it when bugs appear...
      857d114a
    • Dave Neary's avatar
      Apply patch from Andrey Kiselev to improve defaults when there is no · e498c097
      Dave Neary authored
      
      2004-01-27  Dave Neary  <bolsh@gimp.org>
      
              * plug-ins/common/tiff.c: Apply patch from Andrey Kiselev to
              improve defaults when there is no photometric specified for
      	CCITT encoded tiffs. Closes bug #131902.
      e498c097
    • Michael Natterer's avatar
      use the new GIMP_STOCK_LAYER_MASK icon for "Add Layer Mask" dialog. · 402c5533
      Michael Natterer authored
      2004-01-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/layers-commands.c (layers_add_mask_query): use the
      	new GIMP_STOCK_LAYER_MASK icon for "Add Layer Mask" dialog.
      402c5533
    • Jakub Steiner's avatar
      themes/Default/images/stock-channel-indexed-16.png · 58ad14a2
      Jakub Steiner authored
      2004-01-27  Jakub Steiner <jimmac@ximian.com>
      
      * themes/Default/images/stock-channel-indexed-16.png
      * themes/Default/images/stock-channel-indexed-24.png
      * themes/Default/images/stock-channel-indexed-32.png
      * themes/Default/images/stock-channel-indexed-48.png: replacing
        placeholders
      58ad14a2
    • Michael Natterer's avatar
      Re-enabled filling the whole selection using the bucket fill tool. Fixes · b2606b51
      Michael Natterer authored
      2004-01-27  Michael Natterer  <mitch@gimp.org>
      
      	Re-enabled filling the whole selection using the bucket fill
      	tool. Fixes bug #132649.
      
      	* app/tools/gimpbucketfilloptions.[ch]: added boolean property
      	"fill-selection" and a GUI for it.
      
      	* app/tools/gimpbucketfilltool.c: changed accordingly.
      b2606b51
    • Michael Natterer's avatar
      app/gui/image-menu.c (image_menu_entries) use the new · 1d71eaa1
      Michael Natterer authored
      2004-01-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/image-menu.c (image_menu_entries)
      	* app/gui/layers-menu.c (layers_menu_entries): use the new
      	GIMP_STOCK_LAYER_MASK icons for "Add Layer Mask".
      1d71eaa1
    • Michael Natterer's avatar
      themes/Default/images/Makefile.am · b8bc2483
      Michael Natterer authored
      2004-01-27  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-channel-indexed-16.png
      	* themes/Default/images/stock-channel-indexed-24.png
      	* themes/Default/images/stock-channel-indexed-32.png
      	* themes/Default/images/stock-channel-indexed-48.png
      	* libgimpwidgets/gimpstock.[ch]: added placeholders for an INDEXED
      	channel icon (copied from the GRAY channel icon). To be replaced...
      
      	* app/widgets/gimppreviewrendererimage.c: use
      	GIMP_STOCK_CHANNEL_INDEXED instead of GIMP_STOCK_QUESTION for the
      	indexed channel.
      b8bc2483
    • Sven Neumann's avatar
      applied a patch from Pedro Gimeno to make the logo behave more like it · eb7f89b9
      Sven Neumann authored
      2004-01-27  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/comic-logo.scm: applied a patch from
      	Pedro Gimeno to make the logo behave more like it used to in 1.2
      	(bug #132493).
      eb7f89b9
    • Michael Natterer's avatar
      added '%P' which expands to the PDB id of the active drawable. Moved local · c92a4e69
      Michael Natterer authored
      2004-01-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-title.c
      	(gimp_display_shell_format_title): added '%P' which expands to the
      	PDB id of the active drawable. Moved local variables to local
      	scopes where they are needed.
      
      	* app/config/gimpconfig-dump.c: document it.
      c92a4e69
    • Michael Natterer's avatar
      some cleanup. · f406b73d
      Michael Natterer authored
      2004-01-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-dnd.c: some cleanup.
      
      	(gimp_display_shell_bucket_fill): don't use the bucket fill
      	options but behave like "Edit -> Fill" and fill with NORMAL/100%.
      	Fixes bug #132596.
      f406b73d
    • Manish Singh's avatar
      use new versioning defines. · f84cc1f4
      Manish Singh authored
      2004-01-26  Manish Singh  <yosh@gimp.org>
      
              * gimp-zip.in: use new versioning defines.
      f84cc1f4
    • Manish Singh's avatar
      add m4_defines for gimp_unstable and gimp_full_name, and define a · e8d62cff
      Manish Singh authored
      2004-01-26  Manish Singh  <yosh@gimp.org>
      
              * configure.in: add m4_defines for gimp_unstable and gimp_full_name,
              and define a GIMP_VISIBLE_NAME based on that.
      
              * data/misc/Makefile.am
              * data/misc/gimp.applications.in
              * data/misc/gimp.keys.in: made these configured files, so they can
              use GIMP_APP_VERSION and GIMP_VISIBLE_NAME.
      
              * data/misc/gimp.desktop.in.in: use GIMP_APP_VERSION and
              GIMP_VISIBLE_NAME.
      e8d62cff
    • Jakub Steiner's avatar
      themes/Default/images/stock-layer-mask-32.png replaced the placeholders · ac9a2935
      Jakub Steiner authored
      2004-01-27  Jakub Steiner <jimmac@ximian.com>
      
      * themes/Default/images/stock-layer-mask-32.png
      * themes/Default/images/stock-layer-mask-48.png: replaced the
        placeholders
      ac9a2935
    • Michael Natterer's avatar
      themes/Default/images/Makefile.am · d0c75eb5
      Michael Natterer authored
      2004-01-27  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-layer-mask-16.png
      	* themes/Default/images/stock-layer-mask-24.png
      	* themes/Default/images/stock-layer-mask-32.png
      	* themes/Default/images/stock-layer-mask-48.png
      	* themes/Default/images/stock-selection-border-16.png
      	* libgimpwidgets/gimpstock.[ch]: added forgotten layer mask and
      	new "border selection" icons from Jimmac (-32 and -48 ones to be
      	updated, they are currently copies of the channel icons).
      
      	* app/core/gimplayermask.c (gimp_layer_mask_class_init)
      	* app/gui/image-menu.c (image_menu_entries): use them.
      d0c75eb5
    • Sven Neumann's avatar
      plug-ins/gimpressionist/brush.c plug-ins/gimpressionist/gimp.c · e753735a
      Sven Neumann authored
      2004-01-27  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gimpressionist/brush.c
      	* plug-ins/gimpressionist/gimp.c
      	* plug-ins/gimpressionist/gimpressionist.[ch]
      	* plug-ins/gimpressionist/paper.c
      	* plug-ins/gimpressionist/presets.c: fixed a crash (bug #132027),
      	got rid of some possible buffer overflows and fixed platform issues
      	like hardcoding '/' as the path separator.
      e753735a
  6. 26 Jan, 2004 2 commits