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. 26 Oct, 1999 1 commit
  3. 22 Aug, 1999 1 commit
    • Michael Natterer's avatar
      app/color_area.[ch] app/color_panel.[ch] enabled dnd for colors · 1e08aa1e
      Michael Natterer authored
      1999-08-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/color_area.[ch]
      	* app/color_panel.[ch]
      	* app/gimpdnd.[ch]: enabled dnd for colors (compatible with the
      	standard gtk/gnome color dnd). The color selection is now invoked
      	on a real click, not on button_down to avoid confusion with dnd.
      
      	* app/channels_dialog.c
      	* app/disp_callbacks.c
      	* app/interface.c
      	* app/layers_dialog.c: minor dnd updates/fixes.
      
      	* app/channel.[ch]
      	* app/channel_pvt.h
      	* app/docindex.[ch]
      	* app/docindexif.[ch]
      	* app/drawable.[ch]
      	* app/floating_sel.c
      	* app/gimage.[ch]
      	* app/gimage_mask.c
      	* app/gimpdrawable.[ch]
      	* app/gimpdrawableP.h
      	* app/gimpimage.[ch]
      	* app/gimpimageP.h
      	* app/layer.[ch]
      	* app/layer_pvt.h
      	* app/undo.c
      	* app/xcf.c: wanted to do some s/int/gboolean/ in the layer files
      	where appropriate and found myself spending the whole night doing
      	a big code review for layers/channels/drawables/images:
      	s/int/gboolean/, s/<type>/g<type>/, lots of indentation, removed
      	some old global variables and deprecated functions, #include
      	cleanups, proper prototypes, copyright headers, ...
      1e08aa1e
  4. 18 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Actually use the enum types GimpImageType, GimpImageBaseType, · f6858e21
      Tor Lillqvist authored
      	* app/*.[ch]: Actually use the enum types GimpImageType,
      	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
      	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
      	of just int or gint. Hopefully I catched most of the places
      	where these should be used.
      
      	Add an enum ConvolutionType, suffix the too general constants
      	NORMAL, ABSOLUTE and NEGATIVE with _CONVOL. Use NORMAL_MODE
      	instead of NORMAL in some places (this was what was intended). Fix
      	some minor gccisms.
      
      	* app/apptypes.h: New file. This file contains the above
      	enumeration types, and some opaque struct typedefs. It was
      	necessary to collect these in one header that doesn't include
      	other headers, because when we started using the above mentioned
      	types in the headers, all hell broke loose because of the
      	spaghetti-like cross-inclusion mess between headers.
      
      	(An example: Header A includes header B, which includes header C
      	which includes A. B uses a type defined in A. This is not defined,
      	because A hasn't defined it yet at the point where it includes B,
      	and A included from B of course is skipped as we already are
      	reading A.)
      f6858e21
  5. 16 Dec, 1998 2 commits
    • jaycox's avatar
      libgimp/gserialize.c Changed the enum values to allow for simpler future · fe3fa4e2
      jaycox authored
      
      	* libgimp/gserialize.c
      	* libgimp/gserialize.h: Changed the enum values to allow for
       	simpler future expansion.
      
      	* libgimp/parasite.c
      	* libgimp/parasite.h: s/persistant/persistent/.
       	new accessor functions for parasites.  #defines for new flags.
      
      	* app/paintbrush.c: added timeing code for brush strokes.
        	It is #ifed out, and is only valid for shift clicks.
      
      	* app/parasite_cmds.h: fixed a warning
      
      	* app/parasitelist.h
      	* app/parasitelist.c: added _for_each and _length functions
      
      	* app/gimpdrawable.c:  set the dirty flag when adding or removing a
       	persistent parasite
      
      	* app/gimpimage.c: set the dirty flag when adding or removing a
       	persistent parasite.  Fixed bug and removed debug statements in
       	merge_down.
      
      	* app/xcf.c: save and load resolution, parasites, and tattoos.
      
      	* app/main.c: updated the deserialize test.
      
      	* plug-ins/tiff/tiff.c
      	* plug-ins/gif/gif.c: use PARASITE_PERSISTENT define instead of 1
      
      	* plug-ins/bmp/bmp.c
      	* plug-ins/bmp/bmp.h: declare some struct variable as extern.
      
      	* app/paint_funcs.c: Lots of optimizations aimed at speeding up
       	painting.  Should see a 2-4X speed up on most painting
       	(depending on paint modes, brush size etc.)
      
      	* app/drawable.c: check for NULL drawable in drawable_ID.
        	this stops us from being crashed by ill-behaved plug-ins
      fe3fa4e2
    • Manish Singh's avatar
      stuff from patches/i18n by Daniel Egger · d2ea549d
      Manish Singh authored
      * app/*: stuff from patches/i18n by Daniel Egger
      
      * app/channels_dialog.c: fixes minor buglets in the channels dialog
      
      -Yosh
      d2ea549d
  6. 26 Sep, 1998 1 commit
    • BST 1998  Adam D. Moss's avatar
      Moved the idlerender stuff into gdisplay.c. Implemented idlerender when · d1d3697c
      BST 1998 Adam D. Moss authored
      Sat Sep 26 20:46:18 BST 1998  Adam D. Moss <adam@gimp.org>
      
      	* app/channel.c app/channel_ops.c app/drawable.c
      	app/floating_sel.c app/gdisplay.c app/gdisplay.h
      	app/gimpimage.c app/layers_dialog.c app/undo.c:
      
      	Moved the idlerender stuff into gdisplay.c.  Implemented
      	idlerender when doing floating_sel->layer, and undoing/redoing
      	layer deletion.
      
      	idlerender would be useful in many other places for improving
      	interactivity, if it weren't for the following problems:
      
      		* By definition, idlerender doesn't wait for a
      		gdisplays_update() call	before starting work - it just
      		runs in idle time, which due to CPU contention with
      		plugins may not	be genuinely available idle time when
      		things are 'noninteractive'.
      
      		* Most GIMP functions don't know whether they're
      		being run interactively or not.  idlerender only
      		makes sense for interactive work.  This is why
      		it is currently only applied to those functions which
      		would normally only be activated manually.
      
      		* Mixing idlerender and drawable_update() /
      		gdisplays_update_area() calls can lead to a region
      		being rerendered twice.
      
      	Hence, some slogwork is needed before idlerender can be
      	applied in the more general case.
      d1d3697c
  7. 28 Jul, 1998 1 commit
  8. 01 Jul, 1998 1 commit
  9. 30 Jun, 1998 1 commit
    • Lauri Alanko's avatar
      start collecting some core stuff to libgimpim.a · ef3e162e
      Lauri Alanko authored
      	Started separating crud out of drawables.
      
      	Isolated the id system of images entirely within pdb. Even the
      	window titles and menus use pointers instead of ids. Should at
      	least remind people that this is a developers' version. :)
      ef3e162e
  10. 29 Jun, 1998 1 commit
  11. 28 Jun, 1998 1 commit
    • Tim Janik's avatar
      return a GtkType value and initialize the GtkTypeInfo structure correctly. · 81d0e430
      Tim Janik authored
      Sun Jun 28 08:32:20 1998  Tim Janik  <timj@gtk.org>
      
              * app/layer.c (gimp_layer_mask_get_type):
              (gimp_layer_get_type):
              * app/drawable.c (gimp_drawable_get_type):
              * app/channel.c (gimp_channel_get_type):
              return a GtkType value and initialize the GtkTypeInfo structure
              correctly.
      
              * app/layer.h:
              * app/drawable.h:
              * app/channel.h:
              provide GIMP_TYPE_* and GIMP_IS_*_CLASS() macros.
      81d0e430
  12. 10 Jun, 1998 1 commit
    • Owen Taylor's avatar
      app/brushes.c app/drawable.c app/patterns.c app/procedural_db.c · c639350d
      Owen Taylor authored
      Tue Jun  9 19:47:19 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* app/brushes.c app/drawable.c app/patterns.c
      	  app/procedural_db.c plug-ins/script-fu/script_fu_server.c
      
      	Fixes for warnings generated by changing GCompareFunc
      	and GHashFunc to take const arguments.
      c639350d
  13. 28 May, 1998 1 commit
    • Manish Singh's avatar
      gimp_message. libgimp also overrides g_message for all plugins. Converted · 1d95a05a
      Manish Singh authored
      * redid the error message handling. g_message now calls message_box or prints
      to console depending on whether the no_interface is set or not. gimp-message
      is also exported to the PDB as a wrapper to g_message, and libgimp has a new
      API: gimp_message. libgimp also overrides g_message for all plugins. Converted
      lots of messages in app/* to g_message. Made script-fu a little friendlier.
      
      * updated the regex code from grep 2.2
      
      * said goodbye to the old script-fu logo in script-fu.h
      
      -Yosh
      1d95a05a
  14. 13 Apr, 1998 1 commit
  15. 19 Mar, 1998 2 commits
  16. 25 Jan, 1998 1 commit
    • Manish Singh's avatar
      Misc changes for .18 · 2ce0e150
      Manish Singh authored
              * app/indexed_palette.c: fix for wrong color selected in indexed
              palette dialog
      
              * app/xcf.c: don't crash on bad input (0 byte files)
      
              * app/plug_in.h
              * app/plug_in.c: fixes Gimp's most obscure bug. Failed plugin
              queries are handle correctly now
      
              * app/commands.c: added marching ants speed to preferences
      
              * plug-ins/tiff/tiff.c: correction for inversion for MINISWHITE
              images without alpha
      
              * plug-ins/pcx/pcx.c: updated to new version
      
              * app/paint_funcs.h: changed OPAQUE and TRANSPARENT to
              OPAQUE_OPACITY and TRANSPARENT_OPACITY to avoid possible
              conflicts. All affects .c files changed.
      
      -Yosh
      2ce0e150
  17. 22 Jan, 1998 2 commits
  18. 24 Nov, 1997 1 commit