1. 26 Aug, 1999 6 commits
    • Manish Singh's avatar
    • Sven Neumann's avatar
      new widgets for brush and pattern preview · b62419a6
      Sven Neumann authored
      
      --Sven
      b62419a6
    • CDT 1999 Shawn T. Amundson's avatar
      Added new files, the UI independant part of new image dialog. · c6eec632
      CDT 1999 Shawn T. Amundson authored
      Wed Aug 25 02:40:39 CDT 1999 Shawn T. Amundson <amundson@gimp.org>
      
              * app/image_new.[ch]: Added new files, the UI independant part of
                new image dialog.
      
              * app/file_new_dialog.[ch]: uses image_new stuff now.  Alot
                changed.  No UI changed.  Different behavior is a bug, as
                this is only for UI separation.
      
              * app/gimpimage.[ch]: Added gimp_image_get_width () and
                gimp_image_get_height ().
      
              * app/global_edit.c: Call a function in image_new instead of
                file_new_dialog for updating the status of the cut buffe.
      c6eec632
    • Tor Lillqvist's avatar
      New file. · 6dae68bd
      Tor Lillqvist authored
      * app/gimpbrushpipeP.h: New file.
      6dae68bd
    • Tor Lillqvist's avatar
      Remove these files as I said. · 1d759012
      Tor Lillqvist authored
      1d759012
    • Tor Lillqvist's avatar
      Overhaul of pixmap brushes and pipes: No separate pixmap pipe · 868bdfff
      Tor Lillqvist authored
      brush tool any longer. The paintbrush, airbrush and pencil
      tools, which already knew how to handle the single-pixmap
      brushes now also handle the pipes as well.
      
      * app/pixmapbrush.{h,c}
      * app/gimpbrushpixmap.{h,c}: Removed these files.
      
      * app/Makefile.am
      * app/makefile.{cygwin,msc}: Remove from here, too.
      
      * app/gimpbrushpipe.{h,c}: Total overhaul.
      
      * app/paint_core.h
      * app/apptypes.h: Some more types moved to apptypes.h
      
      * app/context_manager.c
      * app/tool_options.c
      * app/tools.c
      * app/toolsF.h: Remove PIXMAPBRUSH tool.
      
      * app/gimpbrush.h: New method: select_brush. Used to change the
      brush in paint_core, for pipe brushes.
      
      * app/gimpbrush.c: Add gimp_brush_select_brush, which is dummy for
      the normal brushes (returns the same brush).
      
      * app/paint_core.c: Call the brush's select_brush method to get a
      potential new brush before calling the paint_func.
      
      * app/gimpbrushlist.c: Various changes related to the pixmap and
      pipe overhaul.
      
      * app/airbrush.c
      * app/pencil.c: Reorder code a bit in the tool motion function to
      avoid executing unnecessary code in the case of a pixmap brush.
      
      Other changes in the same commit:
      
      * app/install.c: Make quote_spaces extern.
      
      * app/appenv.h: Declare it.
      
      * libgimp/gimpui.def: Add missing entry points.
      
      * libgimp/makefile.{cygwin,msc}: Add missing objects to gimpui.
      868bdfff
  2. 25 Aug, 1999 3 commits
  3. 24 Aug, 1999 7 commits
    • 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
    • Manish Singh's avatar
      big i18n fix patch from SHIRASAKI Yasuhiro <yasuhiro@awa.tohoku.ac.jp>. Fixes · 3423edf7
      Manish Singh authored
      those pesky menu problems
      
      -Yosh
      3423edf7
    • jaycox's avatar
      fixed bug in scale_region that caused what looks like scan line swapping. · 25271d18
      jaycox authored
      
      	* app/paint_funcs.c: fixed bug in scale_region that caused what
      	looks like scan line swapping.
      25271d18
    • Tor Lillqvist's avatar
      Added saving of .gih files. · 416aa56f
      Tor Lillqvist authored
      1999-08-24  Tor Lillqvist  <tml@iki.fi>
      
      * plug-ins/common/gpb.c: Added saving of .gih files.
      
      * plug-ins/common/psp.c: Small changes, renamed the parasite.
      
      * docs/parasites.txt: Suggesta a parasite for pixmap brush pipes.
      
      * docs/gih.txt: Add the above parasite on the second line after
      the number of brushes. Suggest how to edit brush pipes.
      
      * docs/gpb.txt: Mention the gpb plug-in.
      
      * app/pixmapbrush.c: Small clarification.
      
      Fixes by Hans Breuer:
      
      * libgimp/gimp.def: Add missing entries.
      
      * app/gimpimage.h: Added declaration of	gimp_image_{freeze,thaw}_undo.
      
      * modules/makefile.msc: Drop the .msvc from dll names.
      
      * plug-ins/common/jpeg.c: Guard inclusion of
      unistd.h. (save_dialog): Restrict text box height to help people
      with small displays.
      416aa56f
    • Michael Natterer's avatar
      ooops · 766e1483
      Michael Natterer authored
      766e1483
    • Michael Natterer's avatar
      new function color_panel_set_color(). · ed7da929
      Michael Natterer authored
      1999-08-24  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/color_panel.[ch]: new function color_panel_set_color().
      
      	* app/color_picker.c: added a color panel to the color picker info
      	dialog and a toggle button to the color picker's tool options
      	which allows color updates to be effective in the info dialog
      	only.
      
      	* app/info_dialog.[ch]: changed the packing parameters of the info
      	table. Small fixes.
      
      	* app/palette.c: the name created for dropped colors contained " "
      	instead of "0".
      ed7da929
    • Michael Natterer's avatar
      app/channels_dialog.c app/color_area.c app/color_panel.c · bb0447f1
      Michael Natterer authored
      1999-08-24  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_panel.c
      	* app/color_select.c
      	* app/disp_callbacks.[ch]
      	* app/gimpdnd.[ch]: pass the widget to the color dnd callbacks.
      
      	* app/palette.c: color dnd for the palette dialog. Shift+click
      	toggles setting the FG/BG color now.
      bb0447f1
  4. 23 Aug, 1999 7 commits
    • Michael Natterer's avatar
      color dnd for the standard color selection widget (the "GIMP" color · 90178ccb
      Michael Natterer authored
      1999-08-24  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/color_select.[ch]: color dnd for the standard color
      	selection widget (the "GIMP" color notebook page).
      90178ccb
    • 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
    • Sven Neumann's avatar
      fixed display of distance in the info window · bb59f41a
      Sven Neumann authored
      
      --Sven
      bb59f41a
    • EDT 1999  Austin Donnelly's avatar
      Dirty flag now correct in all cases. Can be displayed in image window · 0a7dca91
      EDT 1999 Austin Donnelly authored
      Mon Aug 23 10:15:32 EDT 1999  Austin Donnelly  <austin@gimp.org>
      
      	Dirty flag now correct in all cases.  Can be displayed in image
      	window title too.  See NOTE near gimp_image_dirty() for details.
      
      	* app/fileops.c: gimp_image_clean_all() after reverting an image.
      	* app/gdisplay.c: register handlers for gimage dirty and clean
      	    signals to update image title.  New image-title-format
      	    expansion: %Dx expands to x if the image is dirty.
      	* app/gdisplay_ops.c: gimage->dirty flags != 0 is the correct
      	    condition to test to see if an image is dirty.
      	* app/gimpdrawable.c: gimp_image_dirty() should never be called
      	    except from an undo_push_* function.  Call
      	    undo_push_cantundo() if you want to dirty the image but can't
      	    be bothered writing an undo handler (be ashamed of yourself!).
      	* app/gimpimage.c: new gimage signal: clean.  Emitted when an undo
      	    operation takes place.  Gimage changes when either dirty or
      	    clean is emitted, so if you need to update previews etc, look
      	    for both!  Move group_count into gimage structure, since
      	    leaving it as a static in undo.c is bad if two undo groups are
      	    started on different images at the same time.  More changes
      	    of gimp_image_dirty() to undo_push_cantundo()
      	    (parasite-related, plus layer moves).  See the NOTE on dirty
      	    counter near gimp_image_dirty() for the full story.
      	    gimp_image_dirty() and gimp_image_clean() simplified - counter
      	    can go negative.
      	* app/gimpimageP.h: group_count moved from undo.c
      	* app/layers_dialog.c: push undo for layer name change, rather
      	    than dirtying the image.
      	* app/undo.c: layer rename undo functions
      	    added. undo_push_cantundo() convenience functions added.
      	    group_count made per-gimage since everything else is.  When
      	    blowing away redo stack, make image infinitely dirty if redo
      	    info contained file save point.
      	* app/undo.h: added undo_push_layer_rename() and
      	    undo_push_cantundo().
      	* TODO: added idea for undo history window.
      0a7dca91
    • Michael Natterer's avatar
      export bucket_fill_region(). · ef4cb06b
      Michael Natterer authored
      1999-08-23  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/bucket_fill.[ch]: export bucket_fill_region().
      
      	* app/channels_dialog.c: enabled dropping a color to a channel.
      
      	* app/color_area.c
      	* app/color_panel.c
      	* app/gimpdnd.[ch]: the whole color dnd is now done in a generic
      	function in gimpdnd.c (dnd of other types is still hacked in at
      	various places but will go to generic functions and callbacks as
      	well).
      
      	* app/disp_callbacks.[ch]
      	* app/interface.c: drop a color to the display to bucket fill the
      	selected region.
      ef4cb06b
    • jaycox's avatar
      fixed a couple of bugs in the scale_region code. · 5f2d497b
      jaycox authored
      
      	* app/paint_funcs.c: fixed a couple of bugs in the scale_region code.
      5f2d497b
    • EDT 1999 Adrian Likins's avatar
      app/gimpbrushhose.c removed. app/gimpbrushpipe.c New files to replace the · 5c61305f
      EDT 1999 Adrian Likins authored
      Mon Aug 23 00:56:59 EDT 1999 Adrian Likins <alikins@redhat.com>
      
              * app/gimpbrushhose.c
              * app/gimpbrushhose.h:
                      removed.
              * app/gimpbrushpipe.c
              * app/gimpbrushpipe.h:
                      New files to replace the above
              * app/gimpbrushlist.c
              * app/paintbrush.c
              * app/pixmapbrush.c
              * app/Makefile.am:
                      s/hose/pipe. Seems someone else uses that name,
              so change it to pipe.
      
              * app/gimpbrush.c
              * app/gimpbrush.h
              * app/gimpbrushpixmap.c
              * app/patterns.c
              * app/patterns.h
              * app/pixmapbrush.c:
                      Added functions to do the actual loading of
              brush/pattern data. Use them where approriate instead
              of cut&pasting the same code all over the place.
      
              * app/pixmapbrush.c: Fix the bug where masks and brush
              data werent aligned. I didnt quite notice that
              paint_core_get_paint_area returns an area with a 1 pixel
              border larger than the brush. Ooops.
      
              * TODO: just update a few things while I'm at it
              (pixmap/pipe stuff in particular)
      5c61305f
  5. 22 Aug, 1999 6 commits
    • Tor Lillqvist's avatar
      Use g_message, not gimp_message. g_message calls gimp_message eventually. · 7a56ef95
      Tor Lillqvist authored
      1999-08-22  Tor Lillqvist  <tml@iki.fi>
      
      * plug-ins/common/psp.c: Use g_message, not gimp_message.
      g_message calls gimp_message eventually.
      
      * plug-ins/common/gpb.c: New plug-in for saving Adrian's gpb files
      (pixmap brushes) from an RGBA image. Probably just of temporary
      value.
      
      * plug-ins/makefile.{cygwin,msc}: Add it.
      
      * plug-ins/common/gbr.c: Use g_message instead of printf.
      
      * app/makefile.{cygwin,msc}: Comment out the gcg stuff here,
      too. Remove frac.o.
      7a56ef95
    • 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
    • Tomas Ogren's avatar
      app/bucket_fill.c app/clone.c app/convolve.c app/flip_tool.c app/measure.c · 51f7bf23
      Tomas Ogren authored
      1999-08-22  Tomas Ogren  <stric@ing.umu.se>
      
      * app/bucket_fill.c
      * app/clone.c
      * app/convolve.c
      * app/flip_tool.c
      * app/measure.c
      * app/pixmapbrush.c: i18n fixes
      51f7bf23
    • Tomas Ogren's avatar
      Remember kids, "Options" is spelled "Options", not "Ootions" · cdad1e01
      Tomas Ogren authored
      1999-08-22  Tomas Ogren  <stric@ing.umu.se>
      
      * app/tool_options.c: Remember kids, "Options" is spelled "Options",
      not "Ootions"
      cdad1e01
    • Tor Lillqvist's avatar
      Use spinbutton for number of colours. · 32879baf
      Tor Lillqvist authored
      1999-08-22  Tor Lillqvist  <tml@iki.fi>
      
      * app/convert.c: Use spinbutton for number of colours.
      
      * app/preferences_dialog.h: Export gimp_spin_button_new. Not the
      most logical place for it, though.
      32879baf
    • Manish Singh's avatar
      version number bump · e0dc5cd9
      Manish Singh authored
      * configure.in: version number bump
      
      * autogen.sh
      * configure.in
      * app/Makefile.am: comment out gcg stuff, nobody seems to be using it
      
      * app/colormap_dialog.*: added generated files
      
      -Yosh
      e0dc5cd9
  6. 21 Aug, 1999 9 commits
    • Sven Neumann's avatar
      RGB brush scaling · d5cc2ac5
      Sven Neumann authored
      
      --Sven
      d5cc2ac5
    • BST 1999  Adam D. Moss's avatar
      Eradicated. · 6ac43482
      BST 1999 Adam D. Moss authored
      
      Sat Aug 21 20:30:48 BST 1999  Adam D. Moss  <adam@gimp.org>
      
      	* app/frac.[ch]: Eradicated.
      
      	* app/xcf.c: In mourning.
      6ac43482
    • Adam D. Moss's avatar
      Add to the PDB the right way! · abad4162
      Adam D. Moss authored
      abad4162
    • Tor Lillqvist's avatar
      Also provide a Clear button. · 1c19f04c
      Tor Lillqvist authored
      1999-08-21  Tor Lillqvist  <tml@iki.fi>
      
      * app/errorconsole.c: Also provide a Clear button.
      
      * app/gimprc.c: Add a missing static function declaration.
      
      * app/makefile.{cygwin,msc}: Add new files.
      
      * libgimp/gimp.def: Add new entry points.
      
      * plug-ins/common/jpeg.c: Must include glib.h first. You don't
      want to know why.
      
      * plug-ins/common/psp.c: New file. This plug-in Loads Paint Shop
      Pro files (.psp and .tub). Doesn't yet save them. Handles only 24-
      bit images (with or without alpha) correctly so far.
      
      * plug-ins/makefile.{cygwin,msc}: Build psp. Somebody please add
      it to the auto* build system, too. I guess a test for zlib (which it
      needs) is needed in configure.in.
      1c19f04c
    • BST 1999  Adam D. Moss's avatar
      Preview layers need to be alpha-padded, since they're not on the bottom of · 24032473
      BST 1999 Adam D. Moss authored
      Sat Aug 21 16:53:17 BST 1999  Adam D. Moss  <adam@gimp.org>
      
      	* plug-ins/common/jpeg.c:  Preview layers need to be alpha-padded,
      	since they're not on the bottom of the stack.  That's a GIMP rule.
      
      	Plus... use new API functions gimp_image_{freeze,thaw}_undo() to avoid
      	the dilemma of either consuming a squillion superfluous tiles or
      	clobbering the whole undo stack.
      
      	* app/gimage.h
      	* app/gimage_cmds.c
      	* app/gimpimage.c
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c: New API functions
      	gimp_image_{freeze,thaw}_undo()	to avoid the above twin	evils.
      	Similar to gimp_image_{disable,enable}_undo() but without
      	clobbering the undo stack (I would have simply changed the latter,
      	but too many plugins seem to rely on that behaviour).  See the PDB
      	docs for slightly more information.
      24032473
    • Sven Neumann's avatar
      I promise to never say 'perfect' again... · c53c8f41
      Sven Neumann authored
      
      --Sven
      c53c8f41
    • Sven Neumann's avatar
      the measure tool is now perfect, IMO · b79e8e29
      Sven Neumann authored
      
      --Sven
      b79e8e29
    • jaycox's avatar
      removed cubic_interpolation variable. use the interpolation_type variable · 12246d3a
      jaycox authored
      
      	* app/gimprc.[ch]: removed cubic_interpolation variable.
      	* app/transform_core.c: use the interpolation_type variable
      	instead of the old cubic_interpolation variable.
      12246d3a
    • BST 1999  Adam D. Moss's avatar
      Navigation window shows checkmarked alpha, also previews correctly for · 2d654284
      BST 1999 Adam D. Moss authored
      Sat Aug 21 01:06:53 BST 1999  Adam D. Moss  <adam@gimp.org>
      
      	* app/nav_window.c: Navigation window shows checkmarked alpha,
      	also previews correctly for greyscale images now.
      2d654284
  7. 20 Aug, 1999 2 commits