1. 09 May, 1999 1 commit
    • Michael Natterer's avatar
      libgimp/Makefile.am new file. Currently contains constants for image size · 5711df6a
      Michael Natterer authored
      1999-05-09  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* libgimp/Makefile.am
      	* libgimp/gimplimits.h: new file. Currently contains constants for
      	image size and resolution.
      
      	* app/file_new_dialog.c
      	* app/resize.c: use the new constants.
      
      	* app/layers_dialog.c: use a sizeentry in the "New Layer" query
      	box. Folded the "Layer Fill Type" callbacks into one function.
      
      	* app/text_tool.c
      	* app/text_tool_cmds.c
      	* tools/pdbgen/pdb/text_tool.pdb: did the calculations for
      	resolutions < 1.0 right this time.
      
      	* app/gimage_cmds.c
      	* tool/pdbgen/pdb/gimage.pdb: fixed a typo.
      5711df6a
  2. 06 May, 1999 1 commit
    • Michael Natterer's avatar
      app/channel.[ch] app/commands.c app/gimage_mask.[ch] · c0b24ce9
      Michael Natterer authored
      1999-05-07  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channel.[ch]
      	* app/commands.c
      	* app/gimage_mask.[ch]
      	* app/gimage_mask_cmds.c
      	* tools/pdbgen/pdb/gimage_mask.pdb
      	* app/interface.c: propagated the indepentent x/y values for
      	shrink/grow/border to the interface but not yet to the PDB.
      
      	* app/*_select.c
      	* app/paint_funcs.[ch]: implemented indep. x/y feather. It seems
      	that cut-and-paste was sufficient, but I didn't really understand
      	the code. Jay, could you have a look at this please?
      
      	If the feather/shrink/... amount is specified in pixels,
      	everything behaves like before.
      	I'm not sure how the built-in feather option of the selection
      	tools should behave, so it still defaults to 'pixel' mode.
      	Moved the static feather/shrink/... values from gimage_mask.c to
      	commands.c because they belong to the interface.
      
      	* app/text_tool_cmds.c
      	* tools/pdbgen/pdb/text_tool.pdb: prepared for resolution
      	support, but didn't enable it yet.
      
      	* app/unit_cmds.c
      	* tool/pdbgen/pdb/unit.pdb: fixed a help text.
      c0b24ce9
  3. 04 May, 1999 1 commit
    • Tor Lillqvist's avatar
      Win32 portability changes: · 1dea4958
      Tor Lillqvist authored
      	* config.h.win32, README.win32: Small changes.
      
      	* tools/pdbgen/pdb/*.pdb: Include <string.h>.
      
      	* app/*_cmds.c: Autogenerated files reflect above changes.
      
      	* libgimp/makefile.msc app/makefile.msc: Various updates,
       	including new object files. Gtk+ directory now should be called
       	gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
       	now should be called just glib.
      
      	* libgimp/gimp.def: Updates.
      
      	* libgimp/gimpfeatures.h.win32: Made current with
       	gimpfeatures.h.in.
      
      	* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
       	necessary.
      
      	* tools/pdbgen/pdb/fileops.pdb: Must have a
       	statement (even an empty one) after a label.
      
      	* app/fileops_cmds.c: Autogenerated file reflects above changes.
      
      	* app/crop.c: Include <string.h>.
      
      	* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
       	plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
       	_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
       	runtime, even if we might be compiling with gcc.)
      
      	* app/fileops.c: Don't include <process.h> here.
      
      	* app/fileops.h: Do include <process.h> here.
      
      	* app/gimpparasite.c: Include config.h, guard inclusion of
       	<unistd.h>. (Is the inclusion of unistd.h in source files all over
       	the place really necessary?)
      
      	* app/ink.c: MSC doesn't handle conversion from unsigned __int64
       	to double, so cast to signed.
      
      	* app/lut_funcs.c: Include config.h, and define rint() if necessary.
      
      	* app/pixel_processor.c: Include config.h without "..", like in
       	all the other places. Include <string.h>
      
      	* app/text_tool.c: Guard the "POINTS" identifier that clashes with
       	<windows.h>, sigh.
      1dea4958
  4. 30 Apr, 1999 1 commit
    • Manish Singh's avatar
      listed tools first in SUBDIRS, so xgettext can grab the autogenned files · 8b11c6c1
      Manish Singh authored
      * Makefile.am: listed tools first in SUBDIRS, so xgettext can grab
      the autogenned files
      
      * acconfig.h: removed unused HAVE_XSHM_H
      
      * tools/pdbgen/app.pl: added proc invoke method, nicer header
      formatting
      
      * tools/pdbgen/pdb/layer.pdb: use layer_mask type for return value
      for layer_create_mask
      
      * tools/pdbgen/pdb/misc.pdb: added quit proc
      
      * tools/pdbgen/pdb/tools.pdb: added ink proc, but not added to @procs
      since it's incomplete
      
      * tools/pdbgen/pdb/fileops.pdb: new file
      
      * app/Makefile.am: added fileops_cmds.c
      
      * app/app_procs.c
      * app/fileops.c
      * app/ink.c: removed PDB procs (the one in ink.c was incomplete)
      
      * app/fileops.h: exported load_procs, save_procs, and file_proc_find()
      
      * app/plug_in.h: exported enum, #include <sys/types.h>
      
      * app/brushes_cmds.c
      * app/fileops_cmds.c
      * app/layer_cmds.c
      * app/misc_cmds.c
      * app/parasite_cmds.c
      * app/patterns_cmds.c
      * app/procedural_db_cmds.c
      * app/text_tool_cmds.c
      * app/internal_procs.c: pdbgen updates
      
      * app/paint_funcs.c: the glibc 2.1 docs say using SVID threadsafe
      random functions are preferable to rand_r, so use them instead of
      a mutex
      
      -Yosh
      8b11c6c1
  5. 24 Apr, 1999 1 commit
    • Manish Singh's avatar
      pdbgened, header file removed · 107038e5
      Manish Singh authored
      * app/layer_cmds.[ch]: pdbgened, header file removed
      
      * app/internal_procs.c: use pdbgen register for layer funcs
      
      * app/*_cmds.c: various pdbgen formatting fixes
      
      * app/Makefile.am: removed layer_cmds.h
      
      * app/layer.c
      * app/layerF.h: changed AddMaskType enum to capitals
      
      -Yosh
      107038e5
  6. 23 Apr, 1999 1 commit
    • Manish Singh's avatar
      gave parasite undo a MISC_UNDO class for now so it compiles · b8c19394
      Manish Singh authored
      * app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
      so it compiles
      
      * app/tools_cmds.c: fix crop invoker to give correct args to
      crop_image
      
      * app/color_cmds.c: s/GRAY/GRAY_LUT/g;
      
      * app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
      brush_select_dialog, s/active_dialogs/brush_active_dialogs/
      
      * app/gimage_cmds.[ch]
      * app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
      function from gimage_cmds to channel_ops, export offset and duplicate
      
      * app/gimpbrushlist.[ch]: removed PDB procs
      
      * app/gradient.[ch]: removed PDB procs,
      
      * app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
      grad_active_dialogs, gradient_select_dialog
      
      * app/gradient_select.c: removed PDB procs,
      s/active_dialogs/grad_active_dialogs/
      
      * app/patterns.[ch]: removed PDB procs
      
      * app/pattern_select.[ch]: removed PDB procs,
      s/active_dialogs/pattern_active_dialogs/
      
      * app/procedural_db.c: removed PDB procs and supporting functions
      
      * app/procedrual_db.h: fiddled with enums
      
      * app/channel_cmds.[ch]
      * app/drawable_cmds.[ch]
      * app/parasite_cmds.[ch]: pdbgenned now, removed header files
      
      * app/gimpparasite.c: minor cleanup
      
      * app/internal_procs.c: use pdbgen stuff
      
      * app/tools_cmds.c
      * app/text_tool_cmds.c: updated from pdbgen
      
      * app/brushes_cmds.c
      * app/brush_select_cmds.c
      * app/gradient_cmds.c
      * app/gradient_select_cmds.c
      * app/patterns_cmds.c
      * app/pattern_select_cmds.c
      * app/procedural_db_cmds.c: new pdbgen files
      
      * app/Makefile.am: file shuffle (see above)
      
      -Yosh
      b8c19394
  7. 18 Apr, 1999 1 commit
    • Manish Singh's avatar
      new file, containes the PDB stuff for most of the tools · ccac10a4
      Manish Singh authored
      * app/tools_cmds.c: new file, containes the PDB stuff for most
      of the tools
      
      * app/gimprc_cmds.c: new file, PDB interface stuff for gimprc
      access
      
      * app/Makefile.am: added tools_cmds.c and gimprc_cmds.c
      
      * app/airbrush.[ch]
      * app/blend.[ch]
      * app/bucket_fill.[ch]
      * app/by_color_select.[ch]
      * app/clone.[ch]
      * app/color_picker.[ch]
      * app/convolve.[ch]
      * app/crop.[ch]
      * app/ellipse_select.[ch]
      * app/eraser.[ch]
      * app/flip_tool.[ch]
      * app/free_select.[ch]
      * app/fuzzy_select.[ch]
      * app/gimprc.[ch]
      * app/paintbrush.[ch]
      * app/pencil.[ch]
      * app/perspective_tool.[ch]
      * app/rect_select.c app/rect_select.h
      * app/rotate_tool.[ch]
      * app/scale_tool.[ch]
      * app/shear_tool.[ch]: bye bye PDB stuff (exported necessary enums
      functions, vars, etc.)
      
      * app/internal_procs.c: use register_foo functions
      
      * app/blend.[ch]: GradientType enum case changed
      
      * app/bucket_fill.[ch]: s/FillMode/BucketFillMode/, made the enum
      more consistent
      
      * app/clone.[ch]: capitalized the CloneType enum
      
      * app/color_picker.[ch]: changed get_color to pick_color so we don't
      conflict with colormaps.c get_color
      
      * app/convolve.[ch]: capitalized the ConvolveType enum
      
      * app/paint_core.h: made a GradientPaintMode enum
      
      * app/transform_core.h: BoundingBox enum
      
      * app/scale_tool.c: use the generic bounding box enum for X1, Y1, etc.
      
      * app/shear_tool.[ch]: turned HORZ and VERT into a ShearType enum
      
      -Yosh
      ccac10a4
  8. 17 Apr, 1999 1 commit
  9. 10 Apr, 1999 2 commits
    • Manish Singh's avatar
      doh, XLFD stuff is in decipoints · c5559888
      Manish Singh authored
      * app/text_tool_cmds.c: doh, XLFD stuff is in decipoints
      
      * app/color_cmds.h: removed
      
      * app/color_cmds.c: pdbgened file now
      
      * app/lut_funcs.h: export ChannelLutType enum
      
      * app/internal_procs.c: register pdbgened color procs
      
      * app/menus.c: reverted keyboard underlines since they need more discussion
      
      -Yosh
      c5559888
    • Manish Singh's avatar
      new file (from pdbgen) · d6116b8d
      Manish Singh authored
      * text_tool_cmds.c: new file (from pdbgen)
      
      * Makefile.am: add new file, use AM_CPPFLAGS instead of CPPFLAGS
      
      * internal_procs.c: register pdbgened text_tool procs
      
      * text_tool.c: remove PDB stuff, export text_render and
      text_get_extents and SizeType and SUPERSAMPLE symbols
      
      * text_tool.c: remove PDB stuff
      
      * blend.[ch]
      * bucket_fill.[ch]
      * clone.[ch]
      * convolve.[ch]: export some enums
      
      * channel.h
      * paint_core.h: #define->enum
      
      * channel.c
      * gimpparasite.c
      * parasitelist.c
      * pixel_processor.c: warning cleanup
      
      * convert_cmds.c
      * paths_cmds.c: slight pdbgen changes
      
      -Yosh
      d6116b8d