1. 30 Nov, 2002 5 commits
    • Michael Natterer's avatar
      no need to include "appenv.h" · 7fe6f39f
      Michael Natterer authored
      2002-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpnavigationview.c: no need to include "appenv.h"
      
      	* app/tools/gimpinktool.c: pass InkOptions as user_data to the
      	ink_type_update() callback so we don't need to get them from
      	"the_gimp". Removed inclusion of "app_procs.h".
      7fe6f39f
    • Michael Natterer's avatar
      added "gboolean use_mmx" parameter to paint_funcs_setup(). Don't #include · 2342bae8
      Michael Natterer authored
      2002-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs.[ch]: added "gboolean use_mmx"
      	parameter to paint_funcs_setup(). Don't #include "appenv.h".
      
      	* app/base/base.c: pass "use_mmx" to paint_funcs_setup().
      2342bae8
    • Jan Morn's avatar
      Updated Swedish translation. · 314d4579
      Jan Morn authored
      2002-11-30  Jan Morn  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      314d4579
    • Michael Natterer's avatar
      removed the global "base_config" variable. · 5c86e639
      Michael Natterer authored
      2002-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-types.h: removed the global "base_config" variable.
      
      	* app/base/base.[ch]: added "gboolean use_mmx" to base_init().
      	Don't #include "appenv.h". Pass around more parameters to reduce
      	the usage of the global "paint_options" pointer.
      
      	* app/app_procs.c: pass "use_mmx" to base_init().
      
      	* app/base/temp-buf.c: pass "temp_path" around internally. Declare
      	"base_config" extern and added a #warning.
      
      	* app/core/gimpdata.[ch]
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpgradient.[ch]
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch]: added "gboolean stingy_memory_use"
      	parameters to all _new(), _load() and _duplicate() functions.
      
      	* app/core/gimpmarshal.list: GimpData::duplicate needs an
      	OBJECT__BOOLEAN marshaller now.
      
      	* app/core/gimpdatafactory.[ch]: added a "Gimp" pointer so the
      	factory can find the config. Pass base_config->stingy_memory_use
      	to the GimpData functions changed above.
      
      	* app/core/gimp-gradients.c
      	* app/core/gimp.c
      	* app/core/gimppalette-import.c
      	* app/gui/palettes-commands.c
      	* app/widgets/gimpdatafactoryview.c: changed accordingly.
      
      	* app/core/gimpcontext.c: get "stingy_memory_use" from
      	context->gimp->config.
      5c86e639
    • Michael Natterer's avatar
      added gimp->edit_config which is a copy of gimp->config except for · 64eb7d74
      Michael Natterer authored
      2002-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: added gimp->edit_config which is a copy of
      	gimp->config except for GIMP_PARAM_RESTRT options. Create it in
      	gimp_set_config() which must be called before anything else after
      	gimp_new(). Install "notify" handlers between the both to keep
      	them up-to-date. Enable auto saving for the edit_config.
      
      	* app/app_procs.c: call gimp_set_config().
      
      	* tools/pdbgen/pdb/gimprc.pdb: use gimp->edit_config here so we
      	don't accidentially change GIMP_PARAM_RESTART values from the PDB.
      
      	* app/pdb/gimprc_cmds.c: regenerated.
      
      	* app/gui/preferences-dialog.c: use gimp->edit_config as the base
      	for all prefs operations. Disable auto saving while the prefs
      	dialog is open. No need any more to parse the saved gimprc to get
      	GIMP_PARAM_RESTART values. Removed GIMP_PARAM_RESTART special
      	hacks because edit_config handles them transparently for us.
      
      	Unrelated:
      
      	* app/core/gimpimage.c (gimp_image_init): initialize active_vectors.
      
      	* app/gui/gui.c (gui_image_disconect): when the last image
      	disappears, show the toolbox only if the image had a display.
      64eb7d74
  2. 29 Nov, 2002 3 commits
    • Michael Natterer's avatar
      more useful debugging output. · b1706da9
      Michael Natterer authored
      2002-11-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.c: more useful debugging output.
      b1706da9
    • Michael Natterer's avatar
      use gtk_label_new_with_mnemonic(): · 41c5ac54
      Michael Natterer authored
      2002-11-29  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.c (gimp_pixmap_button_new):
      	use gtk_label_new_with_mnemonic():
      
      	* plug-ins/common/uniteditor.c: Treeviewized and undeprecated.
      	Removed all static variables. Cleanup.
      41c5ac54
    • Jan Morén's avatar
      Updated Swedish translation. · 2ed7b029
      Jan Morén authored
      2002-11-29  Jan Morén  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      2ed7b029
  3. 28 Nov, 2002 5 commits
    • Christian Rose's avatar
      Updated Swedish translation. · e1f37426
      Christian Rose authored
      2002-11-28  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      e1f37426
    • Sven Neumann's avatar
      oops · 5cb7cbf8
      Sven Neumann authored
      5cb7cbf8
    • Sven Neumann's avatar
      app/config/Makefile.am removed ... ... and readded under this name. · b92d38ce
      Sven Neumann authored
      2002-11-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-params-blurbs.h: removed ...
      	* app/config/gimpconfig-blurbs.h: ... and readded under this name.
      	Defined all missing blurb definitions to NULL.
      
      	* app/config/gimpconfig-params.h: added a blurb parameter to all
      	GIMP_CONFIG_INSTALL_PROP_* macros.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimpguiconfig.c: register blurbs with the GimpRc
      	properties.
      
      	* app/config/gimpconfig-serialize.c: do proper line-breaking for
      	comments.
      
      	* app/core/gimpcontext.c
      	* app/widgets/gimpdeviceinfo.c: register NULL blurbs here.
      b92d38ce
    • Michael Natterer's avatar
      app/config/Makefile.am new file defining blurbs for config param specs. · ca06598e
      Michael Natterer authored
      2002-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-params-blurbs.h: new file defining
      	blurbs for config param specs. Not used yet.
      ca06598e
    • Sven Neumann's avatar
      app/config/Makefile.am added the basic infrastructure for a utitily that · 0a69e9c5
      Sven Neumann authored
      2002-11-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-dump.c: added the basic infrastructure for
      	a utitily that dumps the GimpRc object.
      
      	* app/config/gimpconfig-serialize.c: dump object blurbs as comments.
      0a69e9c5
  4. 27 Nov, 2002 5 commits
    • Michael Natterer's avatar
      app/paint/gimpairbrush.[ch] app/paint/gimpclone.[ch] · 4d2cc645
      Michael Natterer authored
      2002-11-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintoptions.[ch]
      	* app/paint/gimpsmudge.[ch]: it's hard to paint without a context
      	to get color, brush etc. from. Added "context" parameters to
      	all paint options constructors.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: pass gimp_get_current_context()
      	to the constructors. Fixes bug #99557.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpsmudgetool.c: changed accordingly.
      
      	* app/tools/paint_options.c: ditto. Don't set
      	paint_options->context here because we also need it in the
      	no-interface case above.
      4d2cc645
    • Maurits Rijk's avatar
      401c35f7
    • Sven Neumann's avatar
      added (yet unused) autosave feature. · cfd1c729
      Sven Neumann authored
      2002-11-27  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc.[ch]: added (yet unused) autosave feature.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c: simplified user-visible messages.
      cfd1c729
    • Sven Neumann's avatar
      *** empty log message *** · 34eb2bc5
      Sven Neumann authored
      34eb2bc5
    • Sven Neumann's avatar
      fixed a compiler warning · 092f855f
      Sven Neumann authored
      092f855f
  5. 26 Nov, 2002 5 commits
  6. 25 Nov, 2002 8 commits
    • Maurits Rijk's avatar
      Moved a few more functions to gimpmisc (timing functions, 2 general pixel... · 80a5be2d
      Maurits Rijk authored
      Moved a few more functions to gimpmisc (timing functions, 2 general pixel region iterator funcs, etc) and changed a few plug-ins accordingly.
      80a5be2d
    • Sven Neumann's avatar
      removed app/gimprc.c, added new files · 767a019b
      Sven Neumann authored
      767a019b
    • Michael Natterer's avatar
      changed order of calls to gimp_dnd_data_dest_add() so that "text/uri-list" · 7a1f26c9
      Michael Natterer authored
      2002-11-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): changed order of
      	calls to gimp_dnd_data_dest_add() so that "text/uri-list" is
      	preferred over "text/plain" and "_NETSCAPE_URL". Fixes dropping
      	multiple files from nautilus.
      7a1f26c9
    • Michael Natterer's avatar
      added gimp_config_diff() which returns the difference beween two · 1229d8c8
      Michael Natterer authored
      2002-11-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch]: added gimp_config_diff()
      	which returns the difference beween two GimpConfig objects
      	as a GList of GParamSpecs.
      
      	* app/config/gimpconfig-params.c (gimp_param_color_cmp): compare
      	the colors as integers to get rid of rounding foobar.
      
      	* app/config/gimpconfig-serialize.c: use gimp_config_diff().
      
      	* app/display/gimpdisplayshell-handlers.c: only need to call
      	gimp_display_shell_scale_setup() on resolution change if the
      	display is not in dot-for-dot mode.
      
      	* app/display/gimpdisplayshell.c: changed a separator in the
      	padding color menu.
      
      	* app/gui/dialogs.c: made the prefs dialog a singleton again.
      
      	* app/gui/preferences-dialog.c: Should be fully functional again:
      	Apply GIMP_PARAM_CONFIRM properties on "OK". Save gimprc on "OK".
      	Parse a temporaty GimpRc on dialog creation to get the current
      	GIMP_PARAM_RESTART values. Use gimp_config_diff() for all config
      	comparisons.
      1229d8c8
    • Christian Rose's avatar
      Updated Swedish translation. · 91f2f3b1
      Christian Rose authored
      2002-11-25  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      91f2f3b1
    • Manish Singh's avatar
      using a union like that may not be completely portable. Use a guint8 array · e1de2dbc
      Manish Singh authored
      2002-11-25  Manish Singh  <yosh@gimp.org>
      
              * libgimpbase/gimpwire.c: using a union like that may not be
              completely portable. Use a guint8 array instead. One wonders
              if we really need to support the off-chance someone will make
              a distributed gimp framework with this current incarnation
              of the wire protocol.
      e1de2dbc
    • Manish Singh's avatar
      use a union instead of separate types to read/write doubles so we don't · 0c06eda8
      Manish Singh authored
      2002-11-25  Manish Singh  <yosh@gimp.org>
      
              * libgimpbase/gimpwire.c: use a union instead of separate types to
              read/write doubles so we don't violate C's aliasing rules. Fixes
              bug #85249.
      0c06eda8
    • Manish Singh's avatar
      moved FINITE definition to $extra code. Changed to use #elif, much · 2b16283b
      Manish Singh authored
      2002-11-24  Manish Singh <yosh@gimp.org>
      
              * tools/pdbgen/pdb/image.pdb: moved FINITE definition to $extra
              code. Changed to use #elif, much cleaner.
      
              * app/pdb/image_cmds.c: regenerated
      
              * app/core/gimpenvirontable.[ch]: added support for app internal
              environment variable settings. These override any *.env files if
              there are collisions. Not sure on that policy. Also, envp is now
              generated on the first get_envp call.
      
              * app/gui/gui.[ch]: added gui_environ_init, which uses
              gimp_environ_table_add. Moved the setting of DISPLAY to here.
              Added setting of GDK_DISPLAY instead for the fb backends. Hm,
              perhaps GDK should do this itself...
      
              * app_procs.c: call gui_environ_init.
      
              * libgimpwidgets/gimpcolorscale.c
              * libgimpwidgets/gimpcolorscales.c: #include <string.h> for
              strlen and memcpy.
      
      -Yosh
      2b16283b
  7. 24 Nov, 2002 9 commits
    • Sven Neumann's avatar
      README updated · 086cf578
      Sven Neumann authored
      2002-11-24  Sven Neumann  <sven@gimp.org>
      
      	* README
      	* README.gtkdoc: updated
      086cf578
    • Jan Morén's avatar
      Updated Swedish translation. · da888cfb
      Jan Morén authored
      2002-11-24  Jan Morén  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      da888cfb
    • Sven Neumann's avatar
      libgimpwidgets/libgimpwidgets-sections.txt updated. · 3ba4105a
      Sven Neumann authored
      2002-11-24  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimpwidgets.sgml: updated.
      3ba4105a
    • Dave Neary's avatar
      libgimpwidgets/gimpwidgets.c libgimpwidgets/gimpwidgets.h · da5b08e8
      Dave Neary authored
      
      2002-11-24  Dave Neary  <bolsh@gimp.org>
      
              * libgimpwidgets/gimpwidgets.c
              * libgimpwidgets/gimpwidgets.h
              * plug-ins/common/blur.c
              * plug-ins/common/plasma.c
              * plug-ins/common/randomize.c
              * plug-ins/common/sinus.c
              * plug-ins/common/snoise.c
              * plug-ins/gflare/gflare.c
              * plug-ins/maze/algorithms.c
              * plug-ins/maze/maze.c
              * plug-ins/maze/maze.h
              * plug-ins/maze/maze_face.c: Changed the gimp random seed
              widget's behaviour and made associated changes in
              plug-ins that use it.
      da5b08e8
    • Dave Neary's avatar
      libgimpwidgets/gimpwidgets.c libgimpwidgets/gimpwidgets.h · ba9c7fe9
      Dave Neary authored
      
      
      2002-11-24  Dave Neary  <bolsh@gimp.org>
      
              * libgimpwidgets/gimpwidgets.c
              * libgimpwidgets/gimpwidgets.h
              * plug-ins/common/blur.c
              * plug-ins/common/plasma.c
              * plug-ins/common/randomize.c
              * plug-ins/common/sinus.c
              * plug-ins/common/snoise.c
              * plug-ins/gflare/gflare.c
              * plug-ins/maze/algorithms.c
              * plug-ins/maze/maze.c
              * plug-ins/maze/maze.h
              * plug-ins/maze/maze_face.c: Changed the gimp random seed
              widget's behaviour and made associated changes in
              plug-ins that use it.
      ba9c7fe9
    • Jan Morén's avatar
      Updated Swedish translation. · 5f28cddf
      Jan Morén authored
      2002-11-24  Jan Morén  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      5f28cddf
    • Jan Morén's avatar
      Updated Swedish translation. · 53e321e9
      Jan Morén authored
      2002-11-24  Jan Morén  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      53e321e9
    • Daniel Yacob's avatar
      Fixed Amharic translation. · f752dd8f
      Daniel Yacob authored
      f752dd8f
    • Sven Neumann's avatar
      fixed menu path. · b23e1fb5
      Sven Neumann authored
      2002-11-24  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_color_button_press): fixed menu path.
      b23e1fb5