1. 19 Feb, 2000 1 commit
    • Sven Neumann's avatar
      ignore motion_events in a time-window of 100ms after the last event. Was · c878108f
      Sven Neumann authored
      * app/fuzzy_select.c: ignore motion_events in a time-window of
        100ms after the last event. Was intended as a workaround for bug
        #5949, but IMO it makes the tool more responsive and easier to
        control.
      
      * app/nav_window.c: as a workaround for bug #5955 move the
        navigation popup on screen if used to close to the screen borders.
        Moving the cursor will make the image scroll by a large amount
        eventually, but IMHO this is better than having a nonfunctional
        navigation popup.
      
      * plug-ins/common/curve_bend.c
      * plug-ins/gap/gap_decode_xanim.c: fixed typos
      
      
      --Sven
      c878108f
  2. 18 Feb, 2000 1 commit
    • Michael Natterer's avatar
      libgimp/Makefile.am simple widget which creates a pixmap from XPM data · f9f4411f
      Michael Natterer authored
      2000-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimppixmap.[ch]: simple widget which creates a pixmap
      	from XPM data without the need to worry about it's parent's
      	"realized" state and other stuff.
      
      	* libgimp/gimpcolorbutton.c: removed a gtk-doc comment from an
      	internal function.
      
      	* libgimp/gimpwidgets.[ch]: new function gimp_pixmap_button_new().
      
      	* app/gimpui.h
      	* libgimp/gimpui.h: include gimppixmap.h.
      
      	* app/gradient.c
      	* app/nav_window.c
      	* app/palette.c
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimppatheditor.c
      	* libgimp/gimpquerybox.c
      	* plug-ins/FractalExplorer/FractalExplorer.c: use GimpPixmaps.
      
      	* plug-ins/Lighting/*
      	* plug-ins/MapObject/*: some more cleanups: reduced # of includes,
      	made private functions static, use GimpPixmaps.
      
      	* plug-ins/libgck/Makefile.am
      	* plug-ins/libgck/NEWS
      	* plug-ins/libgck/README
      	* plug-ins/libgck/TODO
      	* plug-ins/libgck/docs/html/gck.html
      	* plug-ins/libgck/docs/html/gck_application_window.html
      	* plug-ins/libgck/docs/html/gck_dialog_window.html
      	* plug-ins/libgck/docs/html/gckmath.html
      	* plug-ins/libgck/docs/html/gckui.html
      	* plug-ins/libgck/docs/html/gckvector.html: removed because they
      	documented files which don't exist any more.
      f9f4411f
  3. 08 Feb, 2000 1 commit
  4. 07 Feb, 2000 1 commit
  5. 06 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/[all files using the dialog or action area constructors] added a · 884f2235
      Michael Natterer authored
      2000-01-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/[all files using the dialog or action area constructors]
      	* libgimp/gimpdialog.[ch]: added a "slot_object" agrument to the
      	constructors' va_args lists to allow the action area buttons to be
      	connected wich gtk_signal_connect_object().
      
      	* libgimp/gimphelp.c: show the correct help page for plugins.
      
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/aa.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/csource.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/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/grid.c
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/helpbrowser.c: use the dialog constructor
      	and enable the "F1" help key.
      884f2235
  6. 02 Jan, 2000 1 commit
    • Manish Singh's avatar
      cosmetic fix · a5f9b334
      Manish Singh authored
      * Makefile.am: cosmetic fix
      
      * libgimp/color_display.h
      * modules/cdisplay_gamma.c: add clone method
      
      * app/color_area.[ch]
      * app/gdisplay.[ch]
      * app/gdisplay_color.c
      * app/gdisplay_color_ui.c: preliminary support for color_area filter
      (really just a sync to home machine)
      
      * app/nav_window.c: minor cleanup
      
      * tools/pdbgen/app.pl: initialize gbooleans to FALSE, not 0
      
      * tools/pdbgen/lib.pl: some more arg work
      
      -Yosh
      a5f9b334
  7. 15 Dec, 1999 1 commit
  8. 14 Dec, 1999 2 commits
  9. 06 Dec, 1999 1 commit
  10. 20 Nov, 1999 3 commits
    • GMT 1999 Andy Thomas's avatar
      app/nav_window.c · 55747274
      GMT 1999 Andy Thomas authored
      Sat Nov 20 23:31:19 GMT 1999 Andy Thomas <alt@gimp.org>
      
      	* app/nav_window.c
      
      
      	Forgot to clear the timer_id flag after the timer
      	has fired.
      55747274
    • GMT 1999 Andy Thomas's avatar
      app/nav_window.c · 0ea4660f
      GMT 1999 Andy Thomas authored
      
      Sat Nov 20 22:10:15 GMT 1999 Andy Thomas <alt@gimp.org>
      
      	* app/nav_window.c
      
      	Removed timer when windows are deleted. Removes
      	potential race conditions when closing images.
      0ea4660f
    • 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
  11. 10 Nov, 1999 1 commit
    • GMT 1999 Andy Thomas's avatar
      app/nav_window.c · fda8a689
      GMT 1999 Andy Thomas authored
      Wed Nov 10 23:03:33 GMT 1999 Andy Thomas <alt@gimp.org>
      
      	* app/nav_window.c
      
      	Nav preview now really does work with !sqr pixels & dot_for_dot
      	off...
      	Nav preview for small images fixed.
      fda8a689
  12. 09 Nov, 1999 1 commit
  13. 06 Nov, 1999 1 commit
    • 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
  14. 26 Oct, 1999 1 commit
  15. 21 Oct, 1999 1 commit
    • Sven Neumann's avatar
      handle CAN_HANDLE_LAYERS_AS_ANIMATIONS correctly · c3a17870
      Sven Neumann authored
      * libgimp/gimpexport.c: handle CAN_HANDLE_LAYERS_AS_ANIMATIONS
        correctly
      
      * app/scan_convert.c: trivial optimizations
      
      * app/nav_window.c: applied the patch from Shuji Narazaki that makes
        the navigation window work with tablets. Fixed some rounding errors
        and stopped the flicker.
      
      
      --Sven
      c3a17870
  16. 20 Oct, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/nav_window.c · 5e790645
      BST 1999 Andy Thomas authored
      Wed Oct 20 23:08:31 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/nav_window.c
      
      	Now works correctly with non-square pixels. (dot-for-dot off
      	and xres != yres).
      5e790645
  17. 16 Oct, 1999 1 commit
  18. 27 Sep, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimphelp.[ch] new files · 002aa905
      Michael Natterer authored
      1999-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]: new files
      
      	* app/interface.[ch]
      	* app/preferences_dialog.[ch]
      
      	The GIMP Help System part 1: Press "F1" in any dialog to pop up
      	the help page for this dialog.
      
      	Moved the widget constructors from preferences_dialog.[ch] and the
      	query boxes from interface.[ch] to gimpui.[ch].
      
      	The dialog constructors take a help_func and a help_data
      	parameter and install the "F1" accelerator which emits the new
      	"help" signal.
      
      	The "help" signal callback calls help_func(help_data) which finally
      	has to call gimp_help() which in turn invokes the help browser.
      
      	Still have to find a proper way to (1) prevent "F1" being assigned
      	to some menu item and (2) to catch "F1" while browsing the menu
      	trees in order to pop up the help for the selected item.
      
      	* app/menus.c: a <Toolbox>/File/Help... menu item.
      	* app/commands.[ch]: a command callback for the "Help..." menu item.
      
      	* app/gimprc.[ch]: new boolean gimprc variable "use_help".
      
      	* app/info_dialog.[ch]: pass a help function and data to the info
      	dialog constructor.
      
      	* app/tools.[ch]: store the tools help page names in the tool info
      	structure. Export a special tools_help_func() which shows the help
      	page for the active tool.
      
      	* app/[all files calling a dialog constructor]: pass the dialog's
      	help page to the constructor.
      
      	Most dialogs are now created by gimp_dialog_new() which also sets
      	up the action_area and the WM delete event callback, so I removed
      	the resp. code from these files.
      
      	Fixed some minor bugs and did some other stuff but didn't change
      	any logic except dialog creation.
      
      	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
      	help browser and don't install any menu path (all done in
      	app/gimphelp.[ch] now).
      002aa905
  19. 20 Sep, 1999 1 commit
    • EDT 1999  Austin Donnelly's avatar
      Honest, guv, it's not a feature - it's a tightly integrated package of · bf8db4ad
      EDT 1999 Austin Donnelly authored
      Mon Sep 20 12:51:30 EDT 1999  Austin Donnelly  <austin@gimp.org>
      
      	Honest, guv, it's not a feature - it's a tightly integrated
      	package of undo system cleanups and fixes.
      
      	NEW FILES:
      	* app/undo_history.c: window showing recent undo (and redo) steps
      	    available.
      	* app/undo_types.h: broken out of undo.h to fix circular includes.
      
      	MODIFIED FILES:
      	* app/Makefile.am: compile undo_history.c
      	* app/channel.h: use enum for channel undo type, not just magic
      	    numbers.
      	* app/layer.h: same for layer undos.
      	* app/commands.c: edit_show_undo_history_cmd_callback() function to
      	    pull up undo history window.
      	* app/commands.h: prototype for above.
      	* app/gdisplay.c: make undo / redo menu items sensitive according
      	    to whether they would do anything.  Would be easy to change
      	    the text to say what would be undone/redone, but I don't know
      	    the GTK.
      	* app/gimpimage.c: new signal emitted by gimage:
      	    UNDO_EVENT. gimp_image_undo_event() function to emit it.
      	* app/gimpimage.h: prototype for above.
      	* app/gimpimageP.h: pushing_undo_group member is now an undo_type,
      	    not an int.  Keep undo history widget here too (if created).
      	* app/menus.c: add "Edit/Undo history..." to image menu.
      	* app/undo.c: new types: enums undo_type and undo_state rather than
      	    ints and magic numbers.  All undo_pop_* and undo_free_*
      	    functions made static.  New static function
      	    undo_type_to_name().  Issue undo event signals on various
      	    important events (eg undo pushed, undo popped etc).
      	    undo_push() now takes a "dirties_image" arg to say whether
      	    image should be dirtied.  Layer moves now dirty the image.  A
      	    couple of g_return_if_fails () on undo_pop and undo_redo to
      	    assert we're not in the middle of an undo group.
      	    undo_get_{undo,redo}_name() to peek at names of top items on
      	    undo and redo stacks resp.   undo_map_over_{undo,redo}_stack()
      	    to run a function for each item or group on stack.  Layer and
      	    channel undos use symbolic names rather than 0 or 1.  Array
      	    mapping undo types to names.
      	* app/undo.h: split out undo types to undo_types.h.  Prototypes
      	    for functions described above.  undo_event_t enum.
      	    undo_history_new() prototype lives here too.
      
      	Random other fixes:
      	* app/gimpdrawable.c
      	* app/image_render.c: default labels in switches to keep egcs happy.
      
      	* app/nav_window.c: some fixes to (sort of) cope with image res !=
      	    screen res.  Still needs work to handle non-square pixels
      	    properly.
      
      	* app/paths_dialog.c: bad idea to call gimp_image_dirty()
      	    directly.  Even though it's currently commented out.
      bf8db4ad
  20. 11 Sep, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/nav_window.c app/floating_sel.c · d045b966
      BST 1999 Andy Thomas authored
      Sat Sep 11 22:45:12 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/nav_window.c
      	* app/floating_sel.c
      
      	Hopefully fix for nav_popup when using tablets.
      	Also applied the patch supplied by Garry R. Osgood. Thanks.
      d045b966
  21. 06 Sep, 1999 1 commit
  22. 04 Sep, 1999 1 commit
  23. 01 Sep, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/gdisplay.c app/gdisplay.h app/interface.c app/nav_window.c · f380edd7
      BST 1999 Andy Thomas authored
      Wed Sep  1 23:18:21 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/gdisplay.c
      	* app/gdisplay.h
      	* app/interface.c
      	* app/nav_window.c
      	* app/nav_window.h
      	* pixmap/navbutton.xpm (new)
      
      	New popup navigation window. press the icon that appears in
      	the bottom right-hand corner of the image display. A navigation
      	window will appear that will allow you to scroll around the image if
      	the area shown is smaller than the overall image size. Thanks to tml
              for the idea.
      f380edd7
  24. 27 Aug, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/nav_window.c app/nav_window.h app/gimppreviewcache.h app/layer.c · df7ad092
      BST 1999 Andy Thomas authored
      Fri Aug 27 18:57:50 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/nav_window.c
      	* app/nav_window.h
      	* app/gimppreviewcache.h
      	* app/layer.c
      	* app/channel.c
      	* app/commands.c
      
      	Added some controls to the nav window. Yep. I know that the
      	buttons are toooo biGGG.
      
      	Preview cache changes. Now prime preview cache with a image
      	so that later we have a better chance of a hit. Still
      	needs to be more intelligent at doing this (needs to pick largest
      	out of the cache & use its size as the size to prime with).
      df7ad092
  25. 24 Aug, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/nav_window.c · 74f46664
      BST 1999 Andy Thomas authored
      
      Tue Aug 24 22:50:28 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/nav_window.c
      
      	Preview now updated when image is modified. Done on a two second +
      	idle timer. However the preview cache needs modifying since
      	the tiles are transversed twice. Once for small previews then for
      	larger ones. Should only be done once.
      74f46664
  26. 23 Aug, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/menus.c app/nav_window.c · 487642b0
      BST 1999 Andy Thomas authored
      Mon Aug 23 23:25:05 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/menus.c
      	* app/nav_window.c
      
      	Nav window code now handles boundary conditions correctly (ie
      	you can scroll to the edges of the image now).
      	It also has some key bindings:-
      
      	1) Arrow keys work as expected
      	2) =/- keys perform zoomin/zoomout. Note these keys are hardcoded
      	at present until (if) I find away of finding out how to get the
      	current accel. keys for these functions.
      	3) Space will raise the display window to the top of the window stack.
      	It also updates the preview. This will be changed to happen
      	automatically RSN.
      
      	Tearoff menus are now popped up and down (like other dialogs) when
      	the tab key is pressed in the image window.
      487642b0
  27. 21 Aug, 1999 1 commit
  28. 20 Aug, 1999 2 commits
  29. 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
  30. 12 Aug, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/commands.c app/commands.h app/disp_callbacks.c app/gdisplay.c · 2557c517
      BST 1999 Andy Thomas authored
      Thu Aug 12 21:38:53 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/commands.c
      	* app/commands.h
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gdisplay.h
      	* app/info_dialog.c
      	* app/info_dialog.h
      	* app/info_window.c
      	* app/info_window.h
      	* app/menus.c
      	* app/scale.c
      	* app/scroll.c
      	* app/scroll.h
      	* app/nav_window.c (new)
      	* app/nav_window.h (new)
      	* pixmap/dropper.xpm (new)
      
      	New "navigator" image (accessed via <Image>/Window Nav..). This gives
      	an outline of the location of the current view on an image. Eg if your
      	image window is only showing part of an image then the Window Navigation	window will outline the area viewed. You can "drag" the outlined
      	square around the viewport and the main image will scroll. Additional
      	a single click outside the square will center the image at that
      	location.
      
      	Also started to add additional information to a new page inside the
      	Window information dialog (currently only pixel value is shown).
      
      	Both these features are currently work in progress and unfinished.
      	In particular the Navigator does not keep in step with changes
      	to the basic image (however it does keep in step with image size changes	and if you modify the size of the image viewing window). It also
      	does not display the transparent areas of images very nicely.
      2557c517