1. 04 Dec, 2002 2 commits
    • Christian Rose's avatar
      Updated Swedish translation. · 7e87f779
      Christian Rose authored
      2002-12-04  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      7e87f779
    • Michael Natterer's avatar
      added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. · d79ac249
      Michael Natterer authored
      2002-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: added -DGIMP_APP_GLUE_COMPILATION to
      	AM_CPPFLAGS.
      
      	* app/appenv.h
      	* app/batch.h
      	* app/errors.h: #error if it is not defined to keep these files
      	from being included from anywhere else.
      
      	* app/app_procs.h: added just a #warning because some places still
      	need "the_gimp" and app_exit().
      
      	* app/libgimp_glue.h: #ifdef the #error the same way as the other
      	headers do.
      d79ac249
  2. 03 Dec, 2002 11 commits
    • Michael Natterer's avatar
      renamed gdisplays_reconnect() to gimp_displays_reconnect() and added a · 9775e144
      Michael Natterer authored
      2002-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay-foreach.[ch]: renamed
      	gdisplays_reconnect() to gimp_displays_reconnect() and added a
      	"Gimp" parameter.
      
      	* app/gui/file-commands.c
      	* tools/pdbgen/pdb/display.pdb: changed accordingly.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: some irrelevant
      	code cleanups to make them look the same.
      
      	* tools/pdbgen/pdb/message.pdb: changed $desc from "Interface"
      	to "Message procedures".
      
      	* tools/pdbgen/pdb/transform_tools.pdb: changed $desc from
      	"Tool procedures" to "Transform Tool procedures".
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/pattern_select_cmds.c: regenerated.
      9775e144
    • Michael Natterer's avatar
      named the menu separator "/fg-bg-separator", not just "/---". · 9eb748ad
      Michael Natterer authored
      2002-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorbutton.c: named the menu separator
      	"/fg-bg-separator", not just "/---".
      
      	* app/widgets/gimpcolorpanel.[ch]: added a GimpContext pointer to
      	get FG/BG from. Don't use "the_gimp" and don't include
      	"app_procs.h".  Added gimp_color_panel_set_context(). Hide the
      	FG/BG menu entries if we have no context.
      
      	* app/gui/channels-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/qmask-commands.c
      	* app/display/gimpdisplayshell.c: set the color_panel's context.
      9eb748ad
    • Sven Neumann's avatar
      made it a lot less deprecated. · 99df95f2
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/ifscompose/ifscompose.c: made it a lot less deprecated.
      99df95f2
    • Sven Neumann's avatar
      removed broken code that used to update the preview when the user releases · 0ecb40fa
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/ifscompose/ifscompose.c: removed broken code that used
      	to update the preview when the user releases the button after
      	moving a slider. Instead set the range to UPDATE_DELAYED and
      	update the preview on "value_changed". Fixes bug #97350.
      0ecb40fa
    • Sven Neumann's avatar
      tools/pdbgen/pdb/display.pdb applied a modified version of a patch from · 2193d83a
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/layer.pdb: applied a modified version of a
      	patch from Wolfgang Hofer <hof@gimp.org> that adds two new PDB
      	functions needed for GAP: gimp_displays_reconnect() and
      	gimp_layer_new_from_drawable() (bug #77508).
      
      	* app/pdb/display_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpdisplay_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      2193d83a
    • Sven Neumann's avatar
      check for gdisp != NULL to avoid to crash when being called from · 1c60f4e0
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/tool_manager.c (tool_manager_control_active): check
      	for gdisp != NULL to avoid to crash when being called from
      	indexed_ok_callback().
      1c60f4e0
    • Christian Rose's avatar
      Updated Swedish translation. · d88c1181
      Christian Rose authored
      2002-12-03  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      d88c1181
    • Sven Neumann's avatar
      updated gtk-doc URL · f1f83ef5
      Sven Neumann authored
      f1f83ef5
    • Sven Neumann's avatar
      applied a patch from Akkana that adds short descriptions to all libgimp · e206bb21
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
              * libgimp/tmpl/*.sgml: applied a patch from Akkana that adds short
              descriptions to all libgimp pages (#100187).
      e206bb21
    • Sven Neumann's avatar
      079f44ac
    • Sven Neumann's avatar
      do as the gtk+ folks did and replace the gtk-doc version check with an · 707ece73
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: do as the gtk+ folks did and replace the gtk-doc
      	version check with an all-sh version (#99216).
      707ece73
  3. 02 Dec, 2002 6 commits
    • Sven Neumann's avatar
      updated. · d281156e
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* README.gtkdoc: updated.
      d281156e
    • Sven Neumann's avatar
      don't check filename for internal GimpData objects because they are never · cdeba56b
      Sven Neumann authored
      2002-12-02  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdata.c (gimp_data_save): don't check filename for
      	internal GimpData objects because they are never saved.
      
      	* app/config/gimprc.c: made verbose an object property so that its
      	value is copied by gimp_config_duplicate().
      cdeba56b
    • Sven Neumann's avatar
      app/config/gimpconfig-blurbs.h minor changes. · 8aaf226d
      Sven Neumann authored
      2002-12-02  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-blurbs.h
      	* app/config/gimpconfig-dump.c: minor changes.
      8aaf226d
    • Sven Neumann's avatar
      oops · d999dda8
      Sven Neumann authored
      d999dda8
    • Sven Neumann's avatar
      fixed serialization of empty string properties that I broke yesterday. · c297913a
      Sven Neumann authored
      2002-12-02  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-serialize.c: fixed serialization of empty
      	string properties that I broke yesterday.
      c297913a
    • Michael Natterer's avatar
      use GError for reporting load/save errors. Added gimp_data_error_quark() · 4ccd0f0a
      Michael Natterer authored
      2002-12-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdata.[ch]: use GError for reporting load/save
      	errors. Added gimp_data_error_quark() and a GimpDataError enum.
      	Made simple virtual functions out of save(), get_extension()
      	and duplicate() because they don't need to be signals.
      
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpgradient.[ch]
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch]: changed accordingly. Set data->dirty
      	to FALSE in each _load() function.
      
      	* app/core/gimpdatafactory.[ch]: report GError messages here.
      	Changed the ugly factory->path pointer location hack to
      	factory->path_property_name and get the path from
      	factory->gimp->config. Added gimp_data_factory_data_duplicate()
      	implementation which was already declared in the header.
      
      	* app/core/gimp.c: pass the path property name to
      	gimp_data_factory_new().
      
      	* app/widgets/gimpdatafactoryview.c: removed the duplicate
      	implementation and call gimp_data_factory_data_duplicate().
      
      	* app/core/gimpgradient.[ch]: added gimp_gradient_save_as_pov().
      
      	* app/gui/gradients-commands.c: removed save_as_pov implementation
      	and call gimp_gradient_save_as_pov().
      4ccd0f0a
  4. 01 Dec, 2002 10 commits
    • Sven Neumann's avatar
      ignore gimpmiscui.h. · 558e3a24
      Sven Neumann authored
      2002-12-01  Sven Neumann  <neo@wintermute>
      
      	* libgimp/Makefile.am (IGNORE_HFILES): ignore gimpmiscui.h.
      558e3a24
    • Sven Neumann's avatar
      small cleanup. · 62be2fff
      Sven Neumann authored
      2002-12-01  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-blurbs.h: small cleanup.
      
      	* app/config/gimpconfig-serialize.[ch]: export more functionality.
      
      	* app/config/gimpconfig-dump.c: added some code to dump a
      	commented version of the system-wide gimprc with default values.
      
      2002-12-01  Sven Neumann  <neo@wintermute>
      
      	* libgimp/Makefile.am (IGNORE_HFILES): ignore gimpmiscui.h.
      62be2fff
    • Sven Neumann's avatar
      acb7bac0
    • Maurits Rijk's avatar
      Moved a lot of generic preview code to the new files gimpmiscui.[ch] so it... · 978e0f76
      Maurits Rijk authored
      Moved a lot of generic preview code to the new files gimpmiscui.[ch] so it will be easier later to port these plug-ins to the new (not yet finished) effect preview widget.
      978e0f76
    • Sven Neumann's avatar
      updated NEWS · 8513998e
      Sven Neumann authored
      8513998e
    • Sven Neumann's avatar
      prefix PIXELS and POINTS with GIMP instead of SIZE so we don't break the · c838165e
      Sven Neumann authored
      2002-12-01  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: prefix PIXELS and POINTS with GIMP
      	instead of SIZE so we don't break the libgimp API without a good
      	reason.
      
      	* app/pdb/text_tool_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/gimpmisc.[ch]: removed gimp_timer functions since the
      	GTimer API is simple enough and doesn't need to be wrapped.
      
      	* plug-ins/common/newsprint.c
      	* plug-ins/common/unsharp.c: use GTimer.
      c838165e
    • Gustavo Maciel Dias Vieira's avatar
      Updated Brazilian Portuguese translation by Alexandre Folle de Menezes · 06e1d93f
      Gustavo Maciel Dias Vieira authored
      2002-12-01  Gustavo Maciel Dias Vieira  <gdvieira@zaz.com.br>
      
              * pt_BR.po: Updated Brazilian Portuguese translation by Alexandre
              Folle de Menezes <afmenez@terra.com.br>.
      06e1d93f
    • Michael Natterer's avatar
      s/S_ISLINK/S_ISNLK/ (was never compiled before Hans fixed the #ifdef). · 7cc8eb21
      Michael Natterer authored
      2002-12-01  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpdatafiles.c: s/S_ISLINK/S_ISNLK/ (was never
      	compiled before Hans fixed the #ifdef).
      7cc8eb21
    • Hans Breuer's avatar
      updated · 7c7ff46c
      Hans Breuer authored
      2002-11-30  Hans Breuer  <hans@breuer.org>
      
      	* */makefile.msc */*/makefile.msc : updated
      
      	* themes/Default/images/makefile.msc : new file
      	* themes/Default/makefile.msc : removed
      
      	* libgimpwidgets/gimpwidgets.def : updated
      
      	* app/core/core-types.h : renamed PIXELS and POINTS
      	to SIZE_* to avoid clashes with system headers
      	* app/pdb/text_tool_cmds.c : updated ...
      	* tools/pdbgen/enums.py : ... by renaming here too.
      
      	* app/widgets/gimphistogrambox.c : <string.h> for memcpy()
      	* app/widgets/gimppropwidgets.c : <string.h> for strlen()
      
      	* app/config/gimpconfig.c : on win32 rename always fails
      	if the destination file exists. Delete it first.
      
      	* libgimp/gimp.def : removed all '_'-prefixed exports
      	* plug-ins/common/iwarp.c : replace _gimp_layer_copy()
      	with gimp_layer_copy(), gimp_layer_add_alpha()
      
      	* libgimp/gimpmisc.c : ported gimp_timer funcs to use
      	g_timer to be more portable
      
      	* libgimpbase/gimpdatafiles.c : there are no symlinks on
      	win32, inverted to #ifndef G_OS_WIN32 as it was meant.
      
      	* libgimpbase/gimpbase.def libgimpmodule/gimpmodule.def
      	  libgimpwidgets/gimpwidgets.def : updated externals
      
      	* plug-ins/common/randomize.c plug-ins/common/sinus.c :
      	don't initialize more than the defined struct size
      
      	* plug-ins/common/warp.c : removed unneeded unistd.h and
      	signal.h include
      
      	* regexrepl/regexrepl.def : (new file) needed to build
      	as DLL
      7c7ff46c
    • Michael Natterer's avatar
      added "gboolean use_shm" to the Gimp struct and to gimp_new(). · 319173b1
      Michael Natterer authored
      2002-12-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: added "gboolean use_shm" to the Gimp struct
      	and to gimp_new().
      
      	* app/app_procs.c: pass "use_shm" to gimp_new().
      
      	* app/plug-in/plug-in.c (plug_in_init): get "use_shm" from the
      	passed "gimp".  Don't include "appenv.h" and "app_procs.h".
      319173b1
  5. 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
  6. 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
  7. 28 Nov, 2002 3 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