1. 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
  2. 06 Nov, 1999 1 commit
  3. 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
  4. 04 Sep, 1999 1 commit
  5. 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
  6. 28 Aug, 1999 1 commit
  7. 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
  8. 28 Jul, 1999 1 commit
    • Manish Singh's avatar
      add sample_colorize and curve_bend defs · 7cb07a90
      Manish Singh authored
      * plug-ins/common/plugin-defs.pl: add sample_colorize and
      curve_bend defs
      
      * libgimp/color_selector.h: minor consistency cleanup
      
      * libgimp/gimpchainbutton.[ch]: use new style gtk object helper macros
      
      * libgimp/gimpfileselection.c
      * libgimp/gimpmatrix.h: minor cleanup
      
      * libgimp/gimpintl.h: resync with gnome-i18n.h
      
      
      * libgimp/color_display.h
      * app/gimp.sym
      * app/gdisplay_color.[ch]
      * app/app_procs.c
      * app/gdisplay.h
      * app/image_render.c: color display transformation code. Still
      unfinished, so it's not activated yet.
      
      * app/buildmenu.h: remove unused defines (PULLDOWN, POPUP, OPTION)
      
      * app/colormaps.[ch]
      * app/image_render.c: remove vestigal dithering stuff
      
      * app/convolve.h
      * app/gimpdrawable.h
      * app/gimpimage.h
      * app/lut_funcs.h
      * app/paint_funcs.h
      * app/plug_in.h: enum nick changes from Marc
      
      * app/channel_ops.c
      * app/crop.c
      * app/gdisplay.c
      * app/gimpimage.[ch]
      * app/move.c: s/([A-Z]+)_GUIDE/ORIENTATION_$1/
      
      * app/flip_tool.[ch]
      * app/shear_tool.[ch]: use ORIENTATION_* constants instead of our own
      
      * app/disp_callbacks.c: remove HORIZONTAL and VERTICAL #defines
      
      * app/general.h: enumified TOKEN_* symbols
      
      * app/lc_dialog.c
      * app/paint_funcs.c: remove unused variables
      
      * tools/pdbgen/lib.pl: autogen gimpenums.h (unfinished)
      
      * tools/pdbgen/stddefs.pdb: new std_orientation_enum, remove
      layer_mode shortcut since we've skipped it in app/
      
      * tools/pdbgen/pdb/brush_select.pdb
      * tools/pdbgen/pdb/brushes.pdb
      * tools/pdbgen/pdb/drawable.pdb
      * tools/pdbgen/pdb/gimage.pdb
      * tools/pdbgen/pdb/guides.pdb
      * tools/pdbgen/pdb/layer.pdb
      * tools/pdbgen/pdb/tools.pdb: reflect above enum changes, whitespace
      cleanups
      
      * tools/pdbgen/enums.pl
      * app/brush_select_cmds.c
      * app/brushes_cmds.c
      * app/color_cmds.c
      * app/drawable_cmds.c
      * app/gimage_cmds.c
      * app/layer_cmds.c
      * app/procedural_db_cmds.c
      * app/tools_cmds.c: reflect pdb and enum nick changes above
      
      -Yosh
      7cb07a90
  9. 07 Jul, 1999 1 commit
    • Seth Burgess's avatar
      Added Qmasks 7-6-99 <sjburges@gimp.org> · 7058d4c6
      Seth Burgess authored
       	* pixmaps/qmasknosel.xpm
              * pixmaps/qmasksel.xpm: Ugly pixmaps that tigert promised to replace
      
              * app/channel.[ch]
              * app/channel_cmds.c : made some of the private structures accessible
                through exported functions to keep things a bit clean
      
              * app/interface.c
              * app/gdisplay.[ch]
              * app/gimpimageP.h
              * app/gimpimage.[ch]
              * app/undo.[ch]: added qmasks
      
              * app/Makefile.am
              * app/qmask.[ch]: added new files for qmask support
      
              * tools/pdbgen/pdb/channel.pdb: changed some channel stuff to keep
                things a bit more private
      7058d4c6
  10. 22 May, 1999 1 commit
    • Michael Natterer's avatar
      app/[all files with resolution info] libgimp/gimp.h libgimp/gimpimage.c · dcfb450b
      Michael Natterer authored
      1999-05-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/[all files with resolution info]
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* plug-ins/newsprint/newsprint.c
      	* plug-ins/pgn/png.c
      	* plug-ins/tiff/tiff.c: double instead of float for all resolution
      	and unit-factor variables.
      
      	* app/commands.c
      	* app/crop.c
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/move_tool.c
      	* app/resize.c
      	* app/rotate_tool.c
      	* app/scale_tool.c: pass the image's unit *and* gdisp->dot_for_dot
      	to all functions which create sizeentries. Never create a
      	sizeentry with UNIT_PIXEL but with the image's unit and set it's
      	unit to UNIT_PIXEL after creation if dot_for_dot is on.
      	This way the image's unit can always be picked from the menu
      	without selecting "More...".
      
      	* app/interface.c: made the query_*_box() functions use the
      	ActionArea.
      
      	* plug-ins/gimpunitmenu.c: GTK_WIN_POS_MOUSE for the unit
      	selection dialog.
      dcfb450b
  11. 13 May, 1999 1 commit
    • jaycox's avatar
      set the fg or bg color if ctrl or alt is held. use the new dropper cursor. · 628e07eb
      jaycox authored
      
      	* app/paint_core.[ch]: set the fg or bg color if ctrl or alt is
       	held.  use the new dropper cursor.
      
      	* app/cursorutil.[ch], app/gdisplay.[ch], app/rect_select.c: Use
       	GimpCursorType enum values > GDK_CURSOR_LAST instead of seperate
       	functions to choose between cursor types.
      
      	* app/color_picker.c: use the new dropper cursor.
      
      	* app/paintbrush.c, app/airbrush.c, app/paintbrush.c: use the new
       	color picking feature of paint_core.
      
      	* cursors/dropper, cursors/droppermsk: new cursor for the color
       	picker tool. (this cursor is REALLY ugly, someone should fix it)
      628e07eb
  12. 05 May, 1999 1 commit
    • jaycox's avatar
      new bitmap files containing the new mouse cursors. · 18835a76
      jaycox authored
      
      	* pixmaps/mouse1*: new bitmap files containing the new mouse cursors.
      
      	* app/parasitelist.c: use g_str_equal instead of parasite_compare_func.
      
      	* app/paint_core.c: interpret perfectmouse right way round.
      
      	* app/rect_select{P,}.[ch]: set custom cursors when the operation type
       	changes.  Centralize the calculation of op based on the modifier
       	keys being held.
      
      	* app/fuzzy_select.c, app/free_select.c: allow the rect_select
       	functions calculate the operation type.
      
      	* app/ellipse_select.c: use the SelectionOps typedefs.
      
      	* app/edit_selection.c: convert MaskToLayerTranslate into
       	FloatingSelTranslate if there is already a floating selection in
       	init_edit_selection.
      
      	* app/disp_callbacks.c: fixed the calculation of state.
      
      	* app/gdisplay.[ch], app/cursorutil.[ch]: new functions to allow
       	the loading of customized cursors.
      
      	* app/paint_funcs.[ch], app/channel.c: border_region now accepts
       	seperate xradius and yradius arguments.
      18835a76
  13. 20 Mar, 1999 1 commit
  14. 16 Mar, 1999 1 commit
  15. 05 Mar, 1999 1 commit
    • GMT 1999 Andy Thomas's avatar
      This is a bit of a biggy. Added paths to layers & channels dialog. This is · 2252863e
      GMT 1999 Andy Thomas authored
      Fri Mar  5 21:45:39 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>
      
      	This is a bit of a biggy. Added paths to layers & channels
      	dialog. This is not complete yet (it still has some rough edges ;-)
      
      	New:-
      
      	* paths_dialog.c
      	* paths_dialog.h
      	* pathsP.h
      
      	These are the core parts of the paths dialog & interaction.
      
      	* tools/penadd.xpm
      	* tools/pendel.xpm
      	* tools/pennorm.xpm
      	* tools/penedit.xpm
      	* tools/penstroke.xpm
      
      	New images found in the dialog. Maybe someone with a better
      	artistic flair could replace these?
      
      	Changed:-
      
      	* Makefile.am
      
      	Added new files for build
      
      	* layers_dialog.c
      
      	Added new tab for paths.
      
      	* bezier_select.h
      	* bezier_selectP.h
      	* bezier_select.c
      
      	Rearrangement & fixes. Not finished yet.
      
      	* iscissors.c
      
      	Header file changes. (Need to include more headers).
      
      	* gdisplay.c
      	* gdisplay.h
      
      	Hmmm... Added a function that did a mapping from gimage to gdisp.
      	This is a little bit of a "hack", but it was needed.. really.
      
      	* ops_buttons.h
      	* ops_buttons.c
      
      	Enhanced to create more types of button ops. Used in the paths dialog.
      
      	* channels_dialog.c
      
      	Header file changes?
      
      	* xcf.c
      
      	Paths stored in new PROP. Yosh.. I did as you and Adam suggested.
      
      	* gimpimage.c
      	* gimpimage.h
      	* gimpimageP.h
      
      	Added paths items to the image structures.
      2252863e
  16. 27 Feb, 1999 1 commit
  17. 06 Feb, 1999 1 commit
    • GMT 1999  Austin Donnelly's avatar
      gdisplay_format_title now parses a format string set by the user to · 5d92f178
      GMT 1999 Austin Donnelly authored
      Sat Feb  6 18:16:57 GMT 1999  Austin Donnelly  <austin@gimp.org>
      
      	* app/gdisplay.c: gdisplay_format_title now parses a format string
      	      set by the user to control what goes in the image window
      	      titles.
      	* app/gdisplay.h: gdisplay_update_title() prototype.
      	* app/gimprc.c
      	* app/gimprc.h: image-title-format added.
      	* app/scale.c: update a display's title when zooming in/out
      
      	* gimprc.in: sample image-title-format setting
      5d92f178
  18. 25 Jan, 1999 1 commit
    • GMT 1999  Austin Donnelly's avatar
      create modules/ directory in user's ~/.gimp-1.1 dir include description of · b1af71cf
      GMT 1999 Austin Donnelly authored
      Mon Jan 25 20:40:26 GMT 1999  Austin Donnelly  <austin@gimp.org>
      
      	* user_install: create modules/ directory in user's ~/.gimp-1.1 dir
      	* app/install.c: include description of ~/.gimp-1.1/modules, plus
      	    scroll info back to top when done inserting text since it
      	    looks nicer.  Also make window that holds result of running
      	    user_install a little larger so we see all messages at once.
      
      	* app/gdisplay.h: FUNSCALE_{X,Y} macros for floating point
      	    unscales.
      	* app/scale.c: show rulers in real-world units (inches/cm/pixels)
      	    if dot-for-dot is turned off, plus smoother ruler updates by
      	    using FUNSCALE so we don't jump in pixel steps at high
      	    magnification factors.
      	* app/interface.c: don't set the ruler metrics for now - it's
       	    easier to do the calculations in pixels.  Need to rethink this
       	    a little anyway.
      
      	* docs/parasites.txt: added jpeg parasite info.
      b1af71cf
  19. 17 Jan, 1999 1 commit
    • GMT 1999 Adam D. Moss's avatar
      An image's projection is now copy-on-write duplicated upon duplication of · 5a493d60
      GMT 1999 Adam D. Moss authored
      Sun Jan 17 22:42:26 GMT 1999 Adam D. Moss <adam@gimp.org>
      
      	* app/gdisplay.c app/gdisplay.h app/gimage_cmds.c:
      
      	An image's projection is now copy-on-write duplicated
      	upon duplication of the image.  This should save some
      	time and memory for 'duplicate'.
      
      	This needed a new function which is prototyped in gdisplay.h:
      	gdisplays_finish_draw() which completes all outstanding
      	idlerendered-projections (we don't want to c-o-w an
      	incomplete projection).
      
      	* app/interface.c: #include "dialog_handler.h"
      5a493d60
  20. 12 Jan, 1999 1 commit
  21. 10 Jan, 1999 1 commit
    • GMT 1999 Adam D. Moss's avatar
      Most lengthy UI-blocking operations now put up an hourglass so the user · bf0dbb20
      GMT 1999 Adam D. Moss authored
      Sun Jan 10 23:31:45 GMT 1999 Adam D. Moss <adam@gimp.org>
      
      	* app/blend.c app/bucket_fill.c app/convert.c app/crop.c
      	app/cursorutil.c app/cursorutil.h app/fuzzy_select.c
      	app/gdisplay.c app/gdisplay.h app/gimage_cmds.c
      	app/gimpimage.c app/transform_core.c app/xcf.c:
      
      	Most lengthy UI-blocking operations now put up an
      	hourglass so the user can see that GIMP is working.
      	Let me know if there are other vital cases.
      bf0dbb20
  22. 13 Dec, 1998 1 commit
  23. 05 Dec, 1998 1 commit
    • GMT 1998  Austin Donnelly's avatar
      app/commands.[ch] app/edit_selection.c app/gdisplay.[ch] · ccfeb254
      GMT 1998 Austin Donnelly authored
      Sat Dec  5 21:31:57 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>
      
      	* app/commands.[ch]
      	* app/edit_selection.c
      	* app/gdisplay.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/image_render.c
      	* app/info_window.c
      	* app/magnify.c
      	* app/menus.c
      	* app/scale.c: image rendering now happens with float scale
      	factors, independent in X and Y axes.  Turning on dot-for-dot in view
      	menu does what gimp always used to do (ie one image pixel becomes
      	one monitor pixel).  Dot-for-dot is on by default so people
      	shouldn't notice any difference unless they load an image that's
      	not at 72 dpi and also turn off dot-for-dot.
      
      	* app/app_procs.c
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: new gimprc options
      	(monitor-xresolution <float>) and corresponding
       	(monitor-yresolution <float>).  Uglyness in preferences dialog to
      	add a "Monitor" page to the notebook, allowing user to set their
      	monitor's resolution or take it from the X server instead.  This
      	badly needs cleaned up :(
      
      	* plug-ins/newsprint/newsprint.c: oops - this hasn't been working
      	for grayscale images since my last checkin.  Now fixed.
      ccfeb254
  24. 19 Nov, 1998 1 commit
  25. 15 Nov, 1998 1 commit
  26. 13 Nov, 1998 1 commit
  27. 03 Oct, 1998 1 commit
    • BST 1998 Adam D. Moss's avatar
      Resizing image canvases should be less horrible to look at. I've removed · c3d66ee2
      BST 1998 Adam D. Moss authored
      Sat Oct  3 21:01:34 BST 1998 Adam D. Moss <adam@gimp.org>
      
      	* app/channel.c app/channel_ops.c app/disp_callbacks.c
      	app/floating_sel.c app/gdisplay.c app/gdisplay.h
      	app/gdisplay_ops.c app/gimpimage.c app/image_map.c
      	app/interface.c app/layers_dialog.c app/plug_in.c app/undo.c
      	app/xcf.c:
      
      	Resizing image canvases should be less horrible to look at.
      	I've removed the implicit clear of the whole area when a
      	window is resized by the user, and clear the exposed area around
      	the image manually when appropriate.
      
      	Dialogs which want synchronous updates for previews and
      	such use displays_update_now().
      
      	Removed some old debugging nonsense which I don't want any more.
      c3d66ee2
  28. 01 Oct, 1998 2 commits
    • BST 1998 Adam D. Moss's avatar
      Okay, that didn't take quite as long as expected. This is the first cut at · c615f15e
      BST 1998 Adam D. Moss authored
      Thu Oct  1 17:10:32 BST 1998 Adam D. Moss <adam@gimp.org>
      
      	* app/gdisplay.c app/gdisplay.h: Okay, that didn't
      	take quite as long as expected.  This is the first cut at
      	a gimp-wide IdleRender in place of the previously synchronous
      	displays_update().  A synchronous displays_update_now() is
      	implemented for stuff like brushes, but it isn't used right
      	now.  (Seems to go pretty well without.)
      
      	I need feedback and (previously nonexistant!) bug reports...
      	please. =)
      c615f15e
    • BST 1998 Adam D. Moss's avatar
      Temporarily disabled IdleRender code whilst working on a more centralised · 769bfa6e
      BST 1998 Adam D. Moss authored
      Thu Oct  1 12:44:19 BST 1998 Adam D. Moss <adam@gimp.org>
      
      	* app/floating_sel.c app/gdisplay.c app/gdisplay.h
      	app/gimpimage.c app/layers_dialog.c app/undo.c:
      	Temporarily disabled IdleRender code whilst working
      	on a more centralised approach.
      769bfa6e
  29. 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
  30. 16 Aug, 1998 1 commit
  31. 05 Aug, 1998 1 commit
  32. 24 Jul, 1998 1 commit
  33. 16 Jul, 1998 1 commit
  34. 12 Jul, 1998 1 commit
  35. 29 Jun, 1998 1 commit
  36. 15 Jun, 1998 1 commit
  37. 06 Jun, 1998 1 commit
    • Owen Taylor's avatar
      app/Makefile.am app/app_procs.c app/brushes.c app/commands.[ch] · f6a5a938
      Owen Taylor authored
      Fri Jun  5 22:37:40 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* app/Makefile.am app/app_procs.c app/brushes.c app/commands.[ch]
      	  app/disp_callbacks.c app/gdisplay.[ch] app/gimprc.c
      	  app/interface.[ch] app/menus.c app/paint_core.[ch]
      	  app/paintbrush.c app/palette.c app/scroll.c
      	  app/tools.[ch] app/undo.c
      
      	- Added two new dialogs - input devices; (GtkInputDialog)
      	  and DeviceStatus - which shows the tool/color for
      	  each device.
      
      	- Added device_status_update() call that gets called
      	  whenever the tool/color etc. are changed.
      
      	- Added ~/.gimp/devicerc file to store settings
      
      	- Code to draw cursor on canvas for non XFree86 XInput
      	  where device can't control cursor and extended input
      	  device simultaneously.
      
      	- Changed input handling so that we always use the pointer
      	  position from the device, not from gdk_input_window_get_cursor,
      	  so that motion and cursor position sync.
      
      	- Various changes so things work with non-integer coordinates
      
      	- Pay attention to pressure and tilt in basic tool support.
      
              - New paint mode PRESSURE that changes the brush based on
      	  the brush pressure
      
      	- Left in a few XInput hacks that should be removed, but I no longer
      	  remember what they are.
      f6a5a938
  38. 13 Apr, 1998 1 commit
  39. 29 Jan, 1998 1 commit