1. 03 Dec, 2002 6 commits
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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