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 6 commits
  3. 29 Jan, 2004 10 commits
    • Michael Schumacher's avatar
    • Michael Schumacher's avatar
      added missing symbols · 272a2f7a
      Michael Schumacher authored
      272a2f7a
    • 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
    • Sven Neumann's avatar
      updated NEWS · eca5c99e
      Sven Neumann authored
      eca5c99e
    • 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
    • Stanislav Visnovsky's avatar
      Revert last commit to get the right version. · a479831b
      Stanislav Visnovsky authored
      2004-01-29  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
              * sk.po: Revert last commit to get the right version.
      a479831b
    • 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 14 commits
    • Michael Natterer's avatar
      libgimpbase/tmpl/gimpdatafiles.sgml · 9887f197
      Michael Natterer authored
      2004-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/tmpl/gimpdatafiles.sgml
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimppatheditor.sgml: updated.
      9887f197
    • 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
    • David Neary's avatar
      Correct typo. · 6ab5abcd
      David Neary authored
      
      
      Correct typo.
      6ab5abcd
    • 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 9 commits