1. 07 May, 2004 1 commit
    • Michael Natterer's avatar
      Changed plug-in menu registration again to allow passing just the menu · ca179a77
      Michael Natterer authored
      2004-05-07  Michael Natterer  <mitch@gimp.org>
      
      	Changed plug-in menu registration again to allow passing just the
      	menu item's label (not the full path) in gimp_install_procedure()
      	and only the path (excluding the item's label) in
      	gimp_plugin_menu_register(). Matches the internal action system
      	better and makes translating the menu paths much easier.
      
      	(Of yourse it's still possible to use the old syntax for backward
      	compatibility).
      
      	* app/plug-in/plug-in-proc.[ch]: added "gchar *menu_label".
      
      	* app/plug-in/plug-in-params.[ch]: added new functions
      	plug_in_param_defs_check() and plug_in_proc_args_check() which
      	check if a procedure's parameters match its menu location
      	(e.g. <Image> needs RUN-MODE, IMAGE, DRAWABLE).
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install): if
      	registering an old-style (full) menu_path, use
      	plug_in_param_defs_check(), set proc_def->menu_label otherwise.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register): use
      	plug_in_proc_args_check() on the passed menu_path and make sugre
      	old and new style menu registration are not mixed.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      
      	* app/plug-in/plug-in-rc.c: save/restore "menu_label".
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c
      	* app/menus/plug-in-menus.c: changed action/menu creation
      	accordingly. Some hacks needed to allow both old and new style
      	menu_label/menu_paths.
      
      	* app/plug-in/plug-in.c
      	* app/widgets/gimpfiledialog.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/animoptimize.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/autocrop.c
      	* plug-ins/common/autostretch_hsv.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/c_astretch.c
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/channel_mixer.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/color_enhance.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/edge.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/engrave.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/flarefx.c
      	* plug-ins/common/fractaltrace.c
      	* plug-ins/common/screenshot.c: ported the first few plug-ins
      	to the new registration scheme.
      ca179a77
  2. 06 May, 2004 17 commits
    • Marco Ciampa's avatar
      Updated italian translation · 4844990e
      Marco Ciampa authored
      4844990e
    • Manish Singh's avatar
      Regenerated · 99da6e2e
      Manish Singh authored
      99da6e2e
    • Manish Singh's avatar
      make libgimp* headers always included before any app headers. · 61a3b048
      Manish Singh authored
      2004-05-06  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/app.pl: make libgimp* headers always included
              before any app headers.
      
              * tools/pdbgen/pdb/paint_tools.pdb: Fix silly "Dodgebure" typo.
      
              * app/pdb/*_cmds.c: regenerated.
      61a3b048
    • Maurits Rijk's avatar
    • Sven Neumann's avatar
      app/core/gimpdrawable-preview.c added sanity so we don't just plain crash · 2e76c29d
      Sven Neumann authored
      2004-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpimage-projection.c: added sanity so we don't just
      	plain crash when an indexed image doesn't have a colormap.
      
      	* plug-ins/common/png.c: keep at least one entry in the colormap.
      	Fixes bug #142029.
      2e76c29d
    • Maurits Rijk's avatar
      Clean-up of filter pack plug-in · 4549d5a9
      Maurits Rijk authored
      4549d5a9
    • Marco Ciampa's avatar
      Updated italian translation · c4bd3139
      Marco Ciampa authored
      c4bd3139
    • Sven Neumann's avatar
      fixed the fix · 480d8664
      Sven Neumann authored
      480d8664
    • Sven Neumann's avatar
      center the about dialog on the monitor, not on the screen. Fixes window · eb79e15e
      Sven Neumann authored
      2004-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/about-dialog.c: center the about dialog on the monitor,
      	not on the screen. Fixes window position on xinerama setups.
      eb79e15e
    • Michael Natterer's avatar
      added gimp_plugin_menu_register(). · ab2ff561
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt: added gimp_plugin_menu_register().
      
      	* devel-docs/libgimp/tmpl/gimpplugin.sgml: regenerated.
      ab2ff561
    • Michael Natterer's avatar
      renamed gimp_plugin_menu_add() to gimp_plugin_menu_register() for · de791034
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/plug_in.pdb: renamed gimp_plugin_menu_add() to
      	gimp_plugin_menu_register() for consistency with other
      	gimp_plugin_foo_register() functions which can be called during
      	query().
      
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/winsnap/winsnap.c: changed accordingly.
      de791034
    • Michael Natterer's avatar
      Enabled multiple menu entries per plug-in procedure: · 7b943b64
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      
      	Enabled multiple menu entries per plug-in procedure:
      
      	* app/plug-in/plug-in-proc.[ch]: changed "gchar *menu_path" to
      	"GList *menu_paths".
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/menus/menus.c
      	* app/widgets/gimpfiledialog.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c: create an action for the first
      	element of proc_def->menu_paths.
      
      	* app/gui/gui-vtable.c
      	* app/menus/plug-in-menus.[ch]: create proxy widgets for each
      	element of proc_def->menu_paths.
      
      	* tools/pdbgen/pdb/plug_in.pdb: added new function
      	gimp_plugin_menu_add() which can be called during query() and adds
      	a menu path to a procedure registered by the calling plugin.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* menus/image-menu.xml.in
      	* menus/toolbox-menu.xml.in: added lots of <placeholder>s for
      	logical groups (like Image/Resize, Image/Scale, Image/Crop
      	etc.). Added empty placeholder File/Send for stuff like print and
      	mail. Added an "Acquire" menu under <Image>/File
      
      	* plug-ins/common/mail.c
      	* plug-ins/print/print.c
      	* plug-ins/common/winprint.c: register under File/Send.
      
      	* plug-ins/common/screenshot.c
      	* plug-ins/winsnap/winsnap.c: also register under
      	<Image>/File/Acquire.
      
      	* plug-ins/common/autocrop.c
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/zealouscrop.c: register additional menu entries
      	under placeholders in the "Image" and "Layer" menus. This is not
      	meant to be final but just a hint to keep in mind when
      	reorganizing the plug-in menus.
      7b943b64
    • Sven Neumann's avatar
      ooops, should recompile before committing · 0582f559
      Sven Neumann authored
      0582f559
    • Sven Neumann's avatar
      cleaned up variable names and external API. Still quite a mess. · 8008d532
      Sven Neumann authored
      2004-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/resize-dialog.[ch]: cleaned up variable names and
      	external API. Still quite a mess.
      
      	* app/Makefile.am
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c: changed accordingly.
      8008d532
    • Sven Neumann's avatar
      no need for including gimp-intl.h. · 5ef73e87
      Sven Neumann authored
      2004-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/menus/menus.c: no need for including gimp-intl.h.
      5ef73e87
    • Sven Neumann's avatar
      removed files that disappeared. · 3ab0e56b
      Sven Neumann authored
      2004-05-06  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: removed files that disappeared.
      3ab0e56b
    • Michael Natterer's avatar
      configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am · d3439fc3
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/menus/.cvsignore
      	* app/menus/Makefile.am
      	* app/menus/menus-types.h
      	* app/menus/menus.[ch]
      	* app/menus/file-open-menu.[ch]
      	* app/menus/file-save-menu.[ch]
      	* app/menus/image-menu.[ch]
      	* app/menus/plug-in-menus.[ch]
      	* app/menus/tool-options-menu.[ch]
      	* app/menus/toolbox-menu.[ch]: moved all menus files to their
      	own directory.
      
      	* app/gui/Makefile.am
      	* app/gui/menus.[ch]
      	* app/gui/file-open-menu.[ch]
      	* app/gui/file-save-menu.[ch]
      	* app/gui/image-menu.[ch]
      	* app/gui/plug-in-menus.[ch]
      	* app/gui/tool-options-menu.[ch]
      	* app/gui/toolbox-menu.[ch]: removed them here.
      
      	* app/actions/debug-commands.c
      	* app/actions/file-commands.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c: changed #includes accordingly.
      d3439fc3
  3. 05 May, 2004 10 commits
    • Sven Neumann's avatar
      use a normal GimpDialog instead of a GimpViewableDialog that never has a · 98f6cfa9
      Sven Neumann authored
      2004-05-05  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/file-new-dialog.c: use a normal GimpDialog instead of a
      	GimpViewableDialog that never has a viewable set.
      98f6cfa9
    • Marco Ciampa's avatar
      Updated italian translation · e237846b
      Marco Ciampa authored
      e237846b
    • Michael Natterer's avatar
      reordered parameters so the first four are the same for all · a377cc7c
      Michael Natterer authored
      2004-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/brush-select.[ch] (brush_select_new): reordered parameters
      	so the first four are the same for all foo_select_new() functions.
      
      	* tools/pdbgen/pdb/brush_select.pdb: changed accordingly.
      
      	* app/pdb/brush_select_cmds.c: regenerated.
      
      	* app/gui/font-select.c (font_select_new): set the vbox'
      	border width to 6 to match the other foo_select dialogs.
      a377cc7c
    • Michael Natterer's avatar
      app/actions/debug-actions.c app/actions/debug-commands.[ch] added action & · 9d08d3ed
      Michael Natterer authored
      2004-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/debug-actions.c
      	* app/actions/debug-commands.[ch]
      	* menus/toolbox-menu.xml.in: added action & callback which XML-dump
      	all UI managers.
      9d08d3ed
    • Michael Natterer's avatar
      fixed bug which would have leaked broken menu translations. · 03d8d827
      Michael Natterer authored
      2004-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/plug-in-actions.c (plug_in_actions_add_proc): fixed
      	bug which would have leaked broken menu translations.
      
      	* app/gui/plug-in-menus.c: removed useless #includes.
      03d8d827
    • Michael Natterer's avatar
      app/actions/file-actions.c remove "file-close" action and callback... · 96ba0235
      Michael Natterer authored
      2004-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]: remove "file-close" action and
      	callback...
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: ...and added it here as
      	"view-close" because that's what it does.
      
      	* app/actions/qmask-actions.c
      	* app/actions/qmask-commands.c: s/QMask/QuickMask/g
      
      	* app/gui/menus.c: add the "channels" action group to the <Image>
      	and <Dock> UI managers, renamed UI manager <Dialogs> to
      	<Dockable>.
      
      	* app/widgets/gimpdockbook.c: s/<Dialogs>/<Dockable>/.
      
      	* menus/image-menu.xml.in: s/file-close/view-close/, added
      	separators at the end of most menus, moved the bottom group of the
      	"View" menu after the zoom group.
      96ba0235
    • Michael Natterer's avatar
      removed action "select-by-color". · 6bed6902
      Michael Natterer authored
      2004-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/select-actions.c: removed action "select-by-color".
      
      	* app/tools/gimpbycolorselecttool.c: add the shortcut here.
      
      	* app/actions/tools-actions.c: added alternative tool actions for
      	"by-color-select" and "rotate" which are identical to the ones
      	generated from the GimpToolInfo except for their label. Make sure
      	they have the same accelerators as the generated ones.
      
      	* menus/image-menu.xml.in: use the alternative actions for
      	"<Image>/Select/By Color" and
      	"<Layer>/Transform/Arbitrary Rotation...".
      6bed6902
    • Sven Neumann's avatar
      documentation. · ebbc8e13
      Sven Neumann authored
      2004-05-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimphelpui.c: documentation.
      
      2004-05-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/libgimpwidgets-sections.txt: updated.
      
      	* devel-docs/libgimpwidgets/tmpl/gimpframe.sgml
      	* devel-docs/libgimpwidgets/tmpl/gimphelpui.sgml
      	* devel-docs/libgimpwidgets/tmpl/gimpoffsetarea.sgml: regenerated.
      ebbc8e13
    • Michael Natterer's avatar
      Finally enable global accelerators in all docks: · cd8243e1
      Michael Natterer authored
      2004-05-05  Michael Natterer  <mitch@gimp.org>
      
      	Finally enable global accelerators in all docks:
      
      	* app/widgets/gimpimagedock.c (gimp_image_dock_constructor):
      	iterate all of the UI manager's actions and enable their
      	accelerators manually. Fixes bug #119878.
      cd8243e1
    • Sven Neumann's avatar
      added construct properties to make it possible to derive from · 58bcea08
      Sven Neumann authored
      2004-05-05  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewabledialog.c: added construct properties to
      	make it possible to derive from GimpViewableDialog.
      
      	* app/widgets/gimptooldialog.[ch]: make GimpToolDialog a real
      	object, not just a convenience constructor.
      
      	* themes/Default/gtkrc
      	* themes/Small/gtkrc: set a smaller border_width of 6 pixels for
      	the action area of tool dialogs.
      
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpimagemaptool.c: set a smaller border_width of 6
      	pixels on tool dialogs to make them more compact.
      58bcea08
  4. 04 May, 2004 12 commits
    • Michael Natterer's avatar
      added new function gimp_offset_area_set_pixbuf(). Started to clean up the · 144e5999
      Michael Natterer authored
      2004-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpoffsetarea.[ch]: added new function
      	gimp_offset_area_set_pixbuf(). Started to clean up the
      	code a bit.
      
      	* app/gui/resize-dialog.c (resize_widget_new): use the new feature
      	and set a preview of the image. Fixes bug #78733.
      144e5999
    • Sven Neumann's avatar
      app/gui/info-dialog.c app/tools/gimpcolorbalancetool.c · 97dd0a8e
      Sven Neumann authored
      2004-05-05  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/info-dialog.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c: use GimpFrame widgets, changed spacings.
      
      	* app/widgets/gimptexteditor.c: tweaked.
      97dd0a8e
    • Jakub Steiner's avatar
      ustable splash · 95ca9b90
      Jakub Steiner authored
      2004-05-05  Jakub Steiner <jimmac@ximian.com>
      
      * data/images/gimp_splash.png: ustable splash
      95ca9b90
    • Michael Natterer's avatar
      register a <Dock> UI manager which has all action groups <Image> has · d8962eca
      Michael Natterer authored
      2004-05-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/menus.c: register a <Dock> UI manager which has all
      	action groups <Image> has except "view".
      
      	* app/widgets/gimpimagedock.[ch]: re-enabled the global shortcuts,
      	using UI manager instead of item factory. Unfortunately actions
      	without proxy widgets can't be activated so this change is pretty
      	useless. Oh well, will find a hack to work around this later...
      d8962eca
    • Sven Neumann's avatar
      app/tools/gimpblendoptions.c app/tools/gimpbucketfilloptions.c · 6fd0eeac
      Sven Neumann authored
      2004-05-04  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpinkoptions.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptooloptions-gui.c
      	* app/tools/gimptransformoptions.c: use GimpFrames where GtkFrame
      	was used. Put "Pressure Sensitivity" frame into a GtkExpander.
      6fd0eeac
    • Sven Neumann's avatar
      added a style property to control boldening of the frame title. · a94e7291
      Sven Neumann authored
      2004-05-04  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpframe.c: added a style property to control
      	boldening of the frame title.
      
      	* themes/Default/gtkrc
      	* themes/Small/gtkrc: suppress the bold title for GimpFrames in
      	GimpDockables,
      a94e7291
    • Sven Neumann's avatar
      allocate the full width for the label widget, looks better and is more · ca18cc54
      Sven Neumann authored
      2004-05-04  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpframe.c (gimp_frame_size_allocate): allocate
      	the full width for the label widget, looks better and is more
      	convenient to use with activatable widgets such as toggle buttons.
      ca18cc54
    • Michael Natterer's avatar
      removed debugging output, added #warning about runtime version check that · 90438eaa
      Michael Natterer authored
      2004-05-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpfiledialog.c: removed debugging output, added
      	#warning about runtime version check that can be removed as soon
      	as we depend on GTK+ 2.4.1.
      90438eaa
    • Michael Natterer's avatar
      don't forget to set the action's accelerator. · 6b55a849
      Michael Natterer authored
      2004-05-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-dialog-actions.c (file_dialog_actions_setup):
      	don't forget to set the action's accelerator.
      6b55a849
    • Sven Neumann's avatar
      app/actions/channels-commands.c app/actions/gradient-editor-commands.c · 122e2c78
      Sven Neumann authored
      2004-05-04  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/channels-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/qmask-commands.c
      	* app/actions/templates-commands.c
      	* app/actions/vectors-commands.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/tips-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/widgets/gimpwidgets-utils.c
      	* libgimpwidgets/gimpquerybox.c: set dialog border spacing to 12.
      122e2c78
    • Sven Neumann's avatar
      app/gui/preferences-dialog.c app/widgets/widgets-enums.[ch] added new · 2c2f46ae
      Sven Neumann authored
      2004-05-04  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/preferences-dialog.c
      	* app/widgets/widgets-enums.[ch]
      	* app/widgets/gimpwidgets-utils.c (gimp_window_set_hint): added
      	new window hint "keep-above" to force toolbox and/or dock windows
      	to be kept above (if the WM supports this hint). Fixes bug #131672.
      2c2f46ae
    • Michael Natterer's avatar
      Fix bug #141719: · 29e4cf34
      Michael Natterer authored
      2004-05-04  Michael Natterer  <mitch@gimp.org>
      
      	Fix bug #141719:
      
      	* app/tools/gimpmovetool.c (gimp_move_tool_motion): use RINT()
      	instead of ROUND() to round double coords to guide positions.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_tool_events): pass RINT()-rounded
      	coords to gimp_display_shell_update_cursor() instead of implicitly
      	truncating by casting to int.
      29e4cf34