1. 26 Aug, 1999 2 commits
    • Tor Lillqvist's avatar
      Add a flags field and corresponding type ToolFlags to PaintCore. The only · 387002c0
      Tor Lillqvist authored
      1999-08-27  Tor Lillqvist  <tml@iki.fi>
      * app/paint_core.h: Add a flags field and corresponding type
      ToolFlags to PaintCore. The only flag bit defined so far is
      TOOL_CAN_HANDLE_CHANGING_BRUSH, which those tools who don't mind
      if the brush changes while painting (as in the case of pixmap pipe
      * app/paint_core.c: Test above flag before calling the brush's
      select_brush method.
      * app/airbrush.c
      * app/paintbrush.c
      * app/pencil.c: Set above flag.
      * app/makefile.{cygwin,msc}: Add latest additions.
    • 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.
  2. 24 Aug, 1999 1 commit
    • 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.
  3. 22 Aug, 1999 1 commit
    • 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
      * 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.
  4. 21 Aug, 1999 1 commit
    • 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.
  5. 17 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Fix it. Now the hose itself, interpreted as a pixmap brush (which the hose · 4b22d03f
      Tor Lillqvist authored
      	* app/gimpbrushhose.c (gimp_brush_hose_load): Fix it. Now the hose
      	itself, interpreted as a pixmap brush (which the hose is a
      	subclass of), is the first brush in its list. The rest of the
      	pixmap brushes in the list are separately allocated ones. Don't
      	read the pattern names into dummy buffers, just seek past.
      	* app/pixmapbrush.c (pixmapbrush_motion): Now works better, and
      	actually steps through the pixmaps in the hose's list. The
      	paint_core->brush (which points to a brush hose in the cases we're
      	interested in) is temporarily replaced with the current pixmap
      	brush to use, and restored after applying the pixmap brush.
      	* app/makefile.{cygwin,msc}: Add new files.
  6. 16 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Add G_SQRT2. · b5d790e6
      Tor Lillqvist authored
      	* app/appenv.h: Add G_SQRT2.
      	* app/iscissors.c: Use it.
      	* app/makefile.{cygwin,msc}: Add new files.
      	* */makefile.{cygwin,msc}: Use libintl extracted from glibc from a
      	separate directory, not from gettext, because of licensing issues
      	(we want to use the LGPL version in GTk+, so use it here, too).
  7. 12 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Add newest files. · cac72d12
      Tor Lillqvist authored
      	* app/makefile.{cygwin,msc} (gimp_OBJECTS): Add newest files.
      	* plug-ins/common/winclipboard.c: Speed up by using
      	* app/gimprc.c
      	* plug-ins/script-fu/script-fu-scripts.c: Guard
      	use of GLIB_CHECK_VERSION from old GLibs that don't have it.
  8. 29 Jul, 1999 2 commits
  9. 21 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      Update gcc instructions. Remove warning about gettext being GPL, as the · 0aeb6370
      Tor Lillqvist authored
      	* README.win32: Update gcc instructions. Remove warning about
       	gettext being GPL, as the GIMP is GPL, too, of course, and it
       	thus doesn't matter.
      	* user_install.bat: Rename the template user gtkrc to gtkrc_user,
       	to reduce user confusion.
      	* app/main.c: Small change for gcc on Win32 compilation.
      	* */makefile.cygwin
      	* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
       	no need to have differently named DLLs (including modules) for
       	(built by) gcc and MSVC.
      	* app/module_db.c: Use g_strdup_printf() instead of
       	strlen(), g_malloc() and g_snprintf()
      	* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
       	the suitable gimpfeatures.h is built when making the dist.
      	* libgimp/gimpfeatures.h.win32: Removed.
      	* libgimp/makefile.cygwin
      	* libgimp/makefile.msc: Remove gimpfeatures.h.win32.
      	* libgimp/gimp.h: Win32 startup code changed a bit.
      	* plug-ins/makefile.cygwin
      	* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
      	clashing declarations because these guys include gdkx.h (which
      	includes windows.h), and gimp.h also declares WinMain on its own.
  10. 14 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      app/makefile.cygwin app/makefile.msc plug-ins/makefile.cygwin · fe1cc678
      Tor Lillqvist authored
      	* app/makefile.cygwin
      	* app/makefile.msc
      	* plug-ins/makefile.cygwin
      	* plug-ins/makefile.msc
      	* modules/makefile.cygwin
      	* modules/makefile.msc
      	* tools/gcg/makefile.cygwin: Various updates. GCC-compiled DLL
      	name change.
      	* app/context_manager.c: Include paint_options.h for prototype.
      	* app/gimpimage.c (gimp_image_initialize_projection): Break out of
       	loop as soon as possible.
      	* app/menus.c (menus_last_opened_cmd_callback): Check if referring
       	to entry not in list.
      	* app/module_db.c (valid_module_name): (Win32) Require module DLL
       	names to include name of compiler built with.
      	* app/paths_dialog.c (paths_draw_segment_points): No use to draw
       	lines if we have less that two points.
      	* app/qmask.c: Include stdio.h and floating_sel.h.
      	* libgimp/makefile.cygwin: New file.
      	* libgimp/Makefile.am:  Distribute above file.
      	* libgimp/gimp.def: Update.
      	* libgimp/gimpenv.c (gimp_directory): Don't warn about missing
       	home directory on Win32, it is perfectly natural.
      	* plug-ins/sel2path/global.h: Bypass unused declarations, some
      	of which clash with functions in MSVCRT.
      	* plug-ins/sel2path/math.c
      	* modules/colorsel_water.c: Define M_PI if necessary.
      	* plug-ins/sel2path/sel2path.c: Include config.h and
       	glib.h. Define rint() if needed.
      	* plug-ins/sel2path/vector.c: Include glib.h (for hypot() renaming
       	on Win32; In the MS C runtime, as hypot() is non-ANSI, it's called
       	_hypot(), sigh).
      	* plug-ins/sinus/sinus_logo.h: Use indexed format, it is easier on
       	some compilers than the huge string.
  11. 03 Jul, 1999 1 commit