1. 25 Nov, 1999 1 commit
    • Michael Natterer's avatar
      Removed the definitions of the tearoff menu items and build them on the · 720518b3
      Michael Natterer authored
      1999-11-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus.c: Removed the definitions of the tearoff menu items
      	and build them on the fly. Added N_()-marked submenus instead so
      	they get properly translated. Removed N_() from all separators.
      
      	Hacked menu_translate(): Don't try to translate separators,
      	tearoffs and the /File/MRUxx entries. Avoid multiple lookups in
      	the "gimp-std-plugins" domain. Translating plug-in menu entries is
      	still broken.
      
      	Defined all filter categories for proper translation and a first
      	try to order them and to add separators (please comment...).
      
      	New Category /Filters/Web.
      
      	(Did 'make update-po' in the po* directories and updated the
      	german translations.)
      
      	* app/about_dialog.c
      	* app/brush_select.c
      	* app/drawable.c
      	* app/errors.c
      	* app/free_select.c
      	* app/gradient.c
      	* app/info_dialog.c
      	* app/plug_in.c
      	* app/tool_options.c: minor i18n updates like removing _() from
      	some error messages.
      
      	* app/context_manager.c: a private context for the Xinput Airbrush.
      
      	* plug-ins/common/video.c: Register under /Filters/Distorts
      
      	* plug-ins/imagemap/imap_main.c: Register under /Filters/Web
      	(Marc, what about putting "prepare for gif" and "webify" there?)
      
      	* plug-ins/perl/po/de.po: s/Xtn/Xtns/g
      720518b3
  2. 24 Nov, 1999 1 commit
  3. 23 Nov, 1999 3 commits
  4. 22 Nov, 1999 3 commits
    • Sven Neumann's avatar
      i18n stuff · 399e35b6
      Sven Neumann authored
      
      --Sven
      399e35b6
    • Michael Natterer's avatar
      move all sub-sub-menus of <Image>/Filters to the top of their menu shells · 7a14ed3e
      Michael Natterer authored
      1999-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus.c: move all sub-sub-menus of <Image>/Filters to the
      	top of their menu shells and add a separator after them.
      7a14ed3e
    • Michael Natterer's avatar
      app/brightness_contrast.[ch] app/by_color_select.[ch] · 3711f558
      Michael Natterer authored
      1999-11-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/brightness_contrast.[ch]
      	* app/by_color_select.[ch]
      	* app/color_balance.[ch]
      	* app/curves.[ch]
      	* app/histogram_tool.[ch]
      	* app/hue_saturation.[ch]
      	* app/levels.[ch]
      	* app/posterize.[ch]
      	* app/threshold.[ch]: spinbuttons and cleaned up ui for all
      	dialog-tools. Added a "Reset" button to all dialogs.
      
      	* app/color_notebook.c: fixed a compiler warning.
      
      	* app/gimpui.[ch]: made gimp_radio_group_new() more general.
      
      	* app/menus.c: removed the <Toolbox>/File/Help submenu.
      
      	* app/tools.c: restored the old behaviour of "tools_initialize()"
      	(force the emission of the "tool_changed" signal)
      3711f558
  5. 21 Nov, 1999 1 commit
  6. 20 Nov, 1999 5 commits
    • Michael Natterer's avatar
      s/sprintf/g_snprintf · e5aad8b8
      Michael Natterer authored
      1999-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/devices.c: s/sprintf/g_snprintf
      
      	* app/color_balance.[ch]: spinbuttons instead of text entries.
      e5aad8b8
    • Michael Natterer's avatar
      app/menus.c moved "Filter all Layers.." to the main "Filters" menu. · 1168a413
      Michael Natterer authored
      1999-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus.c
      	* plug-ins/gap/gap_filter_main.c: moved "Filter all Layers.." to
      	the main "Filters" menu.
      1168a413
    • Michael Natterer's avatar
      new prefs. page "Help System" because there will soon be more widgets · 50fe2885
      Michael Natterer authored
      1999-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/preferences_dialog.c: new prefs. page "Help System" because
      	there will soon be more widgets there (browser selection etc.)
      	Cleaned up the "Display" and "Interface" pages a bit.
      
      	* app/menus.c
      	* plug-ins/common/plugindetails.c: add "...".
      
      	* libgimp/gimpfileselection.c
      	* libgimp/gimppatheditor.c: a widget shouldn't connect to it's own
      	"realize" signal. Set widget_class->realize = <widget>_realize
      	instead.
      50fe2885
    • Michael Natterer's avatar
      Reorganized the core menu items (everything except <Image>/Filters). · e46eaf86
      Michael Natterer authored
      1999-11-20  Michael Natterer  <mitch@gimp.org>
      
      	Reorganized the core menu items (everything except
      	<Image>/Filters). Everything is of course trivial to change again,
      	so please comment on the new "menu feeling" ;-)
      
      	* app/menus.[ch]:
      
      	- Applied the suggestions collected by Olof.
      	- Added "..." to all items which open a dialog.
      	- Introduced some additional separators (e.g. in "Dialogs").
      	- Reorder some plugins and the color correct tools after
      	  initialisation.
      	- A menu entry to invoke the tooltips inspector.
      	- A debugging menu entry which dumps the menu paths and their help
      	  pages (will of course go away when the help sys is consistent).
      
      	There are currently two identical "Help" menus because
      	<Toolbox>/Help trashes the menu bar if the toolbox is too narrow
      	(gtk doesn't seem to support multi-line menubars, any idea?)
      
      	* app/app_procs.c: call menus_reorder_plugins() after loading the
      	plugins to beautify the "Xtns" menu.
      
      	* app/commands.[ch]: reordered some functions to match the new
      	menu structure (for easier source navigation) and renamed some to
      	be consistent (e.g. all help functions are now called help_*).
      
      	Show/Hide the rulers with ordinary gtk_widget_[show|hide]()
      	commands. I've tested it several times and it looks exactly the
      	same as the old code which used internal gtk knowledge.
      
      	* app/gdisplay.c: applied the menu changes to
      	gdisplay_set_menu_sensitivity().
      
      	* app/gimphelp.[ch]: new public function gimp_context_help() which
      	invokes the tooltips inspector. Code cleanup.
      
      	* app/resize.c: changed the dialogs' titles to match the menu entries.
      
      	* app/session.c: renamed the gradient selection cmd callback to be
      	consistent with brushes/patterns.
      
      	* app/tools.c: added "..." to the menu paths of the tools which
      	have dialogs.
      
      	* app/fileops.c
      	* app/channels_dialog.c
      	* app/layers_dialog.c
      	* app/paths_dialog.c: added some "...".
      
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/autostretch_hsv.c
      	* plug-ins/common/c_astretch.c
      	* plug-ins/common/color_enhance.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/normalize.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/dbbrowser/dbbrowser.c
      	* plug-ins/fp/fp.c
      	* plug-ins/print/print.c
      	* plug-ins/rcm/rcm.c: changed the menu paths and added "...".
      e46eaf86
    • GMT 1999 Andy Thomas's avatar
      2nd Try.. First failed due to problems at my end.... · 48fb5c09
      GMT 1999 Andy Thomas authored
      
      2nd Try.. First failed due to problems at my end....
      
      Sat Nov 20 00:27:26 GMT 1999 Andy Thomas <alt@gimp.org>
      
      	* app/commands.c
      	* app/gdisplay.c
      	* app/gimprc.c
      	* app/gimprc.h
      	* app/nav_window.c
      	* app/nav_window.h
      	* app/preferences_dialog.c
      	* app/scale.c
      	* app/scroll.c
      
      	Nav dialog now follows auto. There is an option in the
      	preferences dialog (interface) that allow you to switch
      	between this behaviour and the "original" way of having
      	one nav dialog per display.
      48fb5c09
  7. 14 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/airbrush.c app/apptypes.h app/brushes_cmds.c · 0c922cd3
      Michael Natterer authored
      1999-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/airbrush.c
      	* app/apptypes.h
      	* app/brushes_cmds.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* app/bucket_fill.c
      	* app/clone.c
      	* app/gimpbrushpipe.c
      	* app/paint_core.c
      	* app/patterns.h
      	* app/patterns_cmds.c
      	* tools/pdbgen/pdb/patterns.pdb: removed the GimpBrushP and
      	GPatternP types and use ordinary pointers instead.
      
      	The following stuff makes the "no_data" behaviour consistent. As a
      	side-effect it should make the gimp work when there are _really_ no
      	brushes/patterns/gradients.
      
      	* app/brush_select.c
      	* app/pattern_select.c: set the initial brush/pattern name to "No
      	Brushes/Patterns available" instead of "Active".
      
      	* app/devices.c: set the device contexts' brush/pattern/gradient
      	names if we started with no_data, so we find them on refresh.
      
      	* app/gimpbrushlist.c: set the name of the standard_brush to
      	"Standard".
      
      	* app/gimpcontext.c: don't replace the current
      	brush/pattern/gradient's name if the new one to be set is the
      	standard one. Together with the change in devices.c, this ensures
      	that we get what is set in devicerc. Minor fixes.
      
      	* app/gradient.c: changed gradients_init() to work like the other
      	data init functions. Only insert a default gradient in the
      	gradients list when the editor is opened (this means that the
      	gradients now behave like brushes/patterns when we start with
      	"no_data").
      	New function gradient_update() avoids tons of useless redraws of
      	all clist gradient previews whenever the gradient editor wants to
      	update it's large preview.
      
      	* app/gradient_select.c: don't segfault when the user tries to
      	drag from an empty gradient list.
      
      	* app/patterns.c: set the index of the standard_pattern to -1 to
      	indicate that it's not part of the pattern list.
      0c922cd3
  8. 12 Nov, 1999 1 commit
  9. 09 Nov, 1999 3 commits
    • Tor Lillqvist's avatar
    • Tor Lillqvist's avatar
      Must call gimp_set_remove_handler() to remove the browser_info_update · 5c614c42
      Tor Lillqvist authored
      1999-11-09  Tor Lillqvist  <tml@iki.fi>
      
      * app/module_db.c (browser_destroy_callback): Must call
      gimp_set_remove_handler() to remove the browser_info_update
      handler from the GimpSet 'modules'.
      
      Otherwise if we bring up the module browser, then close it, this
      will call browser_destroy_callback(), which will free the
      'browser_st' struct. Later when we exit the GIMP, the modules will
      be unloaded, which will cause browser_info_update() to be called,
      and passed the pointer to the already freed 'browser_st'. Whoopee.
      Thanks to Electric Fence for pointing this out.
      
      * app/makefile.{cygwin,msc}: Remove actionarea.
      
      * libgimp/gimp.h: Change declaration of nonexistent function
      gimp_layer_attach_new_parasite() to declaration of
      gimp_drawable_attach_new_parasite(), which was missing.
      
      * libgimp/gimpui.def
      * libgimp/makefile.{cygwin,msc}: Add gimpcolorbutton.
      
      * plug-ins/makefile.{cygwin,msc}: Add gap_filter and gap_plugins.
      
      * plug-ins/common/gz.c: Fix renamed variable in Win32 part.
      
      * plug-ins/gap/gap_lib.c: Use G_DIR_SEPARATOR_S.
      
      * plug-ins/gdyntext/font_selection.c: When compiling with current
      CVS GTk+ (i.e., on Win32 most likely) use the gdk_font_list_*
      functions instead of Xlib's XListFonts() and XFreeFontNames().
      
      * plug-ins/gdyntext/gdyntext.c: Use G_PI.
      
      * plug-ins/gdyntext/gdyntext_ui.c: Guard inclusion of
      unistd.h. Don't unnecessarily include gdkx.h and Xlib.h
      
      * plug-ins/winsnap/winsnap.c: Fix rectangle orientation.
      5c614c42
    • Sven Neumann's avatar
      take margin into account when deciding if popping up a preview is · cd65099a
      Sven Neumann authored
             * app/brush_select.c: take margin into account when deciding if
              popping up a preview is necessary
      
      --Sven
      cd65099a
  10. 07 Nov, 1999 2 commits
    • GMT 1999  Austin Donnelly's avatar
      delay the showing of the full-size pattern, brush or gradient by 150ms as · 4d93809f
      GMT 1999 Austin Donnelly authored
      Sun Nov  7 18:59:22 GMT 1999  Austin Donnelly  <austin@gimp.org>
      
      	* app/gimpcontextpreview.c: delay the showing of the full-size
      	    pattern, brush or gradient by 150ms as the brush and pattern
      	    selector dialogs currently do.  Also, only generate a "click"
      	    event if the user has clicked quickly, ie, the mouse up event
      	    came before the timeout caused the popup to be displayed).
      
      	* app/gimprc.c: default image size now 983x857, in an attempt to
      	    flush out problems to do with large images, images with
      	    incomplete tiles around the edges, and images with
      	    width != height.  Non-square pixels and other resolution stuff
      	    will come in at a later stage when we've got the first round
      	    of problems fixed.
      
      	* app/gradient.c: don't allow two gradients with the same name -
      	    replace the first.  Mainly this stops us having two "Default"
      	    gradients if you start up with --no-data.
      
      	* app/interface.c: can now create an indicator panel in the
      	    toolbox even if we have --no-data, since we have built-in
      	    defaults now.
      4d93809f
    • GMT 1999  Austin Donnelly's avatar
      fix button resize behaviour. Closes Bug#3350. Also, i18n stuff for state · c64eb45e
      GMT 1999 Austin Donnelly authored
      Sun Nov  7 15:41:07 GMT 1999  Austin Donnelly  <austin@gimp.org>
      
      	* app/module_db.c: fix button resize behaviour.  Closes Bug#3350.
      	    Also, i18n stuff for state names, and make them a little
      	    prettier.
      c64eb45e
  11. 06 Nov, 1999 2 commits
    • Sven Neumann's avatar
      plugged more memleaks · a265c91c
      Sven Neumann authored
      --Sven
      a265c91c
    • Sven Neumann's avatar
      fixed a crash on Cancel that occured due to bad list handling · 3333ca34
      Sven Neumann authored
             * app/gdisplay_color_ui.c: fixed a crash on Cancel that occured
              due to bad list handling
      
              * app/module_db.c: indentation madness, no changes
      
              * app/nav_window.c: set the zoom label and slider first, then
              update the preview. Gives better user feedback. This is now what
              bugreport #3354 suggest, but it comes close.
      
              * plug-ins/common/plugindetails.c: tried to fix the strange resizing
              of the dialog. Should fix bug #3352.
      
      --Sven
      3333ca34
  12. 05 Nov, 1999 1 commit
    • Sven Neumann's avatar
      when moving layers/masks freeze the undo after the first move to avoid · 558271ff
      Sven Neumann authored
              * app/edit_selection.c: when moving layers/masks freeze the undo
              after the first move to avoid that each and every small movements
              puts an undo on the stack. Significantly speeds up layer moves
              and especially the undo of a layer move.
      
              * app/gdisplay.h: correct rounding errors
      
              * app/gimpimage.c: correctly display floating selections in the
              composite_preview instead of ignoring them
      
              * app/channels_dialog.c
              * app/layers_dialog.c
              * app/lc_dialog.c: s/gtk_widget_draw/gtk_widget_queue_draw/
      
      --Sven
      558271ff
  13. 04 Nov, 1999 1 commit
  14. 03 Nov, 1999 2 commits
    • Michael Natterer's avatar
      connect to the "realize" signal of the dialog's top-level eventbox, not · 58877ccd
      Michael Natterer authored
      1999-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/paths_dialog.c: connect to the "realize" signal of the
      	dialog's top-level eventbox, not the vbox.
      58877ccd
    • Michael Natterer's avatar
      app/brush_select.[ch] app/gradient.c app/gradient_select.[ch] · 0302ed0a
      Michael Natterer authored
      1999-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/brush_select.[ch]
      	* app/gradient.c
      	* app/gradient_select.[ch]
      	* app/interface.[ch]
      	* app/palette.c
      	* app/pattern_select.[ch]: allow dragging a brush/pattern/... from
      	the selections with mouse2 without changing the active element in
      	the dialog.
      
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_panel.c
      	* app/color_select.c
      	* app/colormap_dialog.i.c
      	* app/devices.c
      	* app/gimpcontextpreview.[ch]
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]
      	* app/indicator_area.c
      	* app/interface.[ch]
      	* app/layers_dialog.c
      	* app/lc_dialog.c
      	* app/ops_buttons.[ch]
      	* app/paths_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.[ch]: wrapped gtk_tooltips_set_tip() with
      	gimp_help_set_help_data() and moved it to gimphelp.[ch].
      
      	This should (hopefully) be the final state of the help system. The
      	New function allows a "private tip" to be set without a visible
      	tooltip. This way the tooltips inspector (shift+F1) can search for
      	help data in the parent containers of the clicked widget. E.g. the
      	ops buttons in the layers dialog have private tips like
      	"#new_layer" which gets composed with the help data of the layers
      	dialog notebook page resulting in a complete help path.
      
      	Allow mouse2 for all dnd operations. Mouse1 still works like before.
      0302ed0a
  15. 31 Oct, 1999 1 commit
  16. 30 Oct, 1999 3 commits
    • Michael Natterer's avatar
      app/gimpdnd.c remove the remaining defines of GRAD_CHECK_SIZE and include · 56d10ac4
      Michael Natterer authored
      1999-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdnd.c
      	* app/undo_history.c: remove the remaining defines of
      	GRAD_CHECK_SIZE and include libgimp/gimplimits.h instead.
      
      	* app/undo_history.c: connect to the image's "rename" signal to
      	update the window title.
      
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/info_window.[ch]: did the same for the info dialog.
      	The info window has to remember the gdisplay to disconnect from
      	the image's "rename" signal, so I removed the gdisplay parameter
      	from the update functions.
      56d10ac4
    • Michael Natterer's avatar
      added a private tooltip to the ops_buttons structure. Removed · 8d371c19
      Michael Natterer authored
      1999-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/ops_buttons.[ch]: added a private tooltip to the
      	ops_buttons structure. Removed ops_buttons_set_insensitive().
      
      	* app/channels_dialog.c
      	* app/layers_dialog.c
      	* app/paths_dialog.c
      	* app/lc_dialog.c: let the ops button's private tips point at the
      	already existing help pages. Minor fixes.
      8d371c19
    • Michael Natterer's avatar
      app_procs.c app/commands.[ch] app/interface.c app/menus.c app/session.c · b3144e7c
      Michael Natterer authored
      1999-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* app_procs.c
      	* app/commands.[ch]
      	* app/interface.c
      	* app/menus.c
      	* app/session.c
      	* app/tools.[ch]: namespace cleanups: changed the
      	"tools_options_*" functions to "tool_options_*" and prefixed all
      	dialog menu callbacks with "dialogs_*".
      	Allow dropping a tool to the tool options dialog.
      
      	* app/bezier_select.c: change the active tool using context
      	functions.
      
      	* app/dialog_handler.[ch]: replaced the uppercase datatype names
      	by standard mixed upper/lowercase ones. Provide a function to
      	register the fileload dialog instead of accessing it as global
      	variable.
      
      	* app/disp_callbacks.c: switch to the move tool using context
      	functions. Fixed the drop color/pattern functions to convert the
      	dropped thing to the dest. image's color space.
      
      	* app/fileops.c: don't export the fileload dialog as global
      	variable but register it with the dialog handler instead.
      
      	* app/paths_dialog.[ch]: replaced all the uppercase struct names
      	defined here by mixed upper/lowercase. Introduced a
      	"set_menu_sensitivity" function like in layers/channels instead of
      	calling single button on/off functions from various places.
      	Added a menu entry for "Selection to Path".
      b3144e7c
  17. 29 Oct, 1999 1 commit
    • Michael Natterer's avatar
      app/brush_select.c app/gradient_select.c call the PDB callback from the · 4a3a57f8
      Michael Natterer authored
      1999-10-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/brush_select.c
      	* app/gradient_select.c
      	* app/pattern_select.c: call the PDB callback from the context
      	callback because it gets called on every change.
      
      	* app/interface.c: the tool buttons had the wrong private tooltips
      	attached.
      
      	* app/gimphelp.c: call the help browser with plug_in_run() instead
      	of procedural_db_execute() to make it really ansynchronous.
      	Added a GtkTipsQuery tooltips inspector which gets invoked by
      	<Shift>+F1. Did some illegal juggling with the tips_query's
      	"parent" pointer which may cause problems, so I made the stuff
      	disable-able with #ifdef's.
      	Is there a proper way to create a tips_query widget without having
      	to show it somewhere??
      4a3a57f8
  18. 28 Oct, 1999 1 commit
  19. 27 Oct, 1999 2 commits
  20. 26 Oct, 1999 1 commit
  21. 24 Oct, 1999 1 commit
  22. 23 Oct, 1999 1 commit
  23. 19 Oct, 1999 2 commits
    • Michael Natterer's avatar
      changed the "parent context" implementation: · b74d2569
      Michael Natterer authored
      1999-10-19  Michael Natterer  <mitch@gimp.org>
      
      	* gimpcontext.[ch]: changed the "parent context" implementation:
      
      	- Automatically connect/disconnect the "*_changed" signals when
      	  changing the parent and when setting the "defined" flag of the
      	  attributes.
      	- Store the former *_defined booleans in a single guint32.
      	- Added generic functions to set the "defined" flags of the
      	  attributes and to copy attributes between contexts.
      
      	The contexts now correctly handle disappearing images and
      	displays, so we don't have to explicitly reset them any more.
      
      	* context_manager.[ch]: adopted to the changed context
      	implementation, connect to the user context's "tool_changed"
      	signal to switch the per-tool contexts, don't connect to the
      	"removed" signal of the image context.
      
      	* brush_select.c
      	* tool_options.c: use LayerModeEffects instead of int when calling
      	gimp_context_set_paint_mode().
      
      	* gdisplay.c: no need to reset the active display when deleting it
      	because the context connects to the "destroy" signal of the shell
      	now.
      
      	* menus.c: a shortcut for the navigation window. Moved
      	<Image>/Image/Colors/Desaturate before the separator.
      
      	* tools.c: tools_select(): set the active tool of the user context
      	instead of calling a special context manager function.
      b74d2569
    • Nick Lamb /GIMP's avatar
      Really fixed #2152 this time. Yosh asked me to rename *_OK as PLUG_IN_* · 500f5ae2
      Nick Lamb /GIMP authored
      so that's also changed this time.
      500f5ae2