1. 10 Dec, 2002 3 commits
    • Michael Natterer's avatar
      The unbelievable happened: a menu bar per display (optionally) · b1ebd9cd
      Michael Natterer authored
      2002-12-10  Michael Natterer  <mitch@gimp.org>
      
      	The unbelievable happened: a menu bar per display (optionally)
      
      	* app/widgets/gimpitemfactory.[ch]: Added the possibility to have
      	more than one item factory per <Prefix>. Added
      	gimp_item_factories_set_foobar() variants of all functions which
      	set menu item properties (label, sensitive, ...). Removed
      	the #ifndef ENABLE_NLS code since that's no longer possible.
      
      	* app/widgets/gimptoolbox.c: made it robust againt the <Image>
      	factory not existing at the time of toolbox creation.
      
      	* app/config/gimpconfig-blurbs.h
      	* app/config/gimpdisplayconfig.[ch]: added boolean
      	"menu_bar_per_display" property.
      
      	* app/gui/preferences-dialog.c: added a toggle for the new option.
      
      	* app/gui/menus.[ch]: added menus_get_new_image_factory() as
      	temporary solution. Will add a GimpMenuFactory which creates the
      	item factories soon.
      
      	* app/display/gimpdisplayshell.c: add the menu bar if requested.
      	Changed widget packing slightly for the menu bar case.
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      	Currently there is no right-click popup menu when we have a menu
      	bar. This will change soon.
      
      	* app/gui/file-dialog-utils.c
      	* app/gui/gui.c: use gimp_item_factories_set_foo().
      
      	* app/gui/channels-commands.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/plug-in-commands.c
      	* app/gui/select-commands.c
      	* app/gui/tools-commands.c
      	* app/gui/vectors-commands.c
      	* app/gui/view-commands.c: per-display item factories pass the
      	GimpDisplay as user_data to callbacks, not a Gimp. Changed all
      	return_if_no_foo() macros to handle both cases.
      
      	Cleaned up the plug-in menu stuff:
      
      	* app/plug-in/plug-in-types.h: removed PlugInMenuEntry type.
      
      	* app/plug-in/plug-ins.[ch]: added plug_ins_proc_def_add() as
      	counterpart to plug_ins_proc_def_remove(). Added
      	plug_ins_locale_domain() as counterpart to plug_ins_help_path().
      	Remember the locale domains just as the help paths. Changed
      	plug-in initialization so that their menus can be created multiple
      	times.
      
      	* app/plug-in/plug-in.[ch]: use plug_ins_proc_def_add() instead of
      	doing it manually.
      
      	* app/gui/plug-in-menus.[ch]: added plug_in_menus_init() which
      	just registers the locale domains. Changed plug_in_make_menu() to
      	take a list of proc_defs, not plug_ins_defs so it can be used
      	after plug-in query.
      b1ebd9cd
    • Michael Natterer's avatar
      fixed typo, use "gimp->no_interface" instead of simply "no_interface" in · cd858c5a
      Michael Natterer authored
      2002-12-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: fixed typo, use "gimp->no_interface" instead of
      	simply "no_interface" in the "exit" handler.
      cd858c5a
    • Maurits Rijk's avatar
      More changes to fix #81963 · f8243352
      Maurits Rijk authored
      f8243352
  2. 08 Dec, 2002 1 commit
  3. 06 Dec, 2002 2 commits
  4. 05 Dec, 2002 2 commits
    • Michael Natterer's avatar
      Cleaned up the exit process: · b2c3f018
      Michael Natterer authored
      2002-12-05  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up the exit process:
      
      	* app/core/gimp.[ch]: added an "exit" signal which carries a
      	"gboolean kill_it" parameter and has a boolean return value.
      	Added gimp_boolean_handled_accumulator() so the emission of "exit"
      	can be stopped by returning TRUE from a callback.  Removed
      	gimp_shutdown() from the public API and made it "exit"'s default
      	implementation. Addec gimp_exit() to emit the signal.
      
      	* app/core/gimpmarshal.list: added BOOLEAN__BOOLEAN marshaller.
      
      	* app/gui/gui.[ch]: Replaced public functions gui_shutdown() and
      	gui_exit() by "exit" callbacks. g_signal_connect_after() the
      	latter so the shutdown order is correct.
      
      	* app/app_procs.[ch]: removed app_exit() and connect to "exit".
      	Split the exit stuff into normal and connect_after callbacks as
      	above.
      
      	* app/batch.c
      	* app/gui/file-commands.c
      	* tools/pdbgen/pdb/misc.pdb
      	* app/widgets/gimptoolbox.c: call gimp_exit() instead of
      	app_exit(). Don't #include "app_procs.h".
      
      	* app/pdb/misc_cmds.c: regenerated.
      b2c3f018
    • Sven Neumann's avatar
      use the same string as in gimpbrushpipe.c to reduce the number of · bb7ff29e
      Sven Neumann authored
      2002-12-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpbrushpipe.c: use the same string as in
      	gimpbrushpipe.c to reduce the number of translatable strings.
      bb7ff29e
  5. 04 Dec, 2002 3 commits
    • Sven Neumann's avatar
      removed useless assignments. · 8a678c09
      Sven Neumann authored
      2002-12-04  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-render.c (render_image_tile_fault):
      	removed useless assignments.
      
      	* plug-ins/common/aa.c: removed wrong assertions that caused the
      	plug-in to crash on images with odd width or height (#100344).
      	Added support for RGB images as well as alpha channel while I was
      	on it.
      8a678c09
    • 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
  6. 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
  7. 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
  8. 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
  9. 30 Nov, 2002 2 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