1. 28 Apr, 2011 1 commit
    • Michael Natterer's avatar
      libgimp*: add guards that #error out if individual files are included · 844df2b4
      Michael Natterer authored
      This only helps to maintain proper includes in app/ and shouldn't
      affect plug-ins at all, because these are supposed to only include the
      main headers from libgimp/ since the beginning of time.
      
      The gimpfootypes.h files do not have these guards, so we can continue
      to maintain app/'s include policy that is very likely to error out if
      wrong things are included.
      844df2b4
  2. 14 Oct, 2010 1 commit
  3. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  4. 23 May, 2008 1 commit
    • Michael Natterer's avatar
      Stop including single headers from gtk+ to be prepared for the upcoming · 598da617
      Michael Natterer authored
      2008-05-23  Michael Natterer  <mitch@gimp.org>
      
      	Stop including single headers from gtk+ to be prepared
      	for the upcoming GTK_DISABLE_SINGLE_INCLUDES:
      
      	* configure.in: add -DGTK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
      
      	* app/display/gimpcanvas.h
      	* app/display/gimpscalecombobox.h
      	* app/display/gimpstatusbar.h
      	* app/widgets/*.h
      	* libgimp/gimpprogressbar.h
      	* libgimp/gimpselectbutton.h
      	* libgimpwidgets/*.h
      	* libgimpwidgets/gimpstock.c
      	* plug-ins/uri/gimpmountoperation.h: remove inclusion of parent
      	classes and single files from gtk+.
      
      	* app/widgets/gtkwrapbox.h
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpfontmenu.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimppalettemenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpselectbutton.c: #include <gtk/gtk.h>
      
      	* plug-ins/common/poppler.c: undef GTK_DISABLE_SINGLE_INCLUDES
      	when including <poppler.h>.
      
      
      svn path=/trunk/; revision=25781
      598da617
  5. 04 Nov, 2004 1 commit
    • Michael Natterer's avatar
      #undef GTK_DISABLE_DEPRECATED · 01bc7c92
      Michael Natterer authored
      2004-11-04  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpoldwidgets.c: #undef GTK_DISABLE_DEPRECATED
      
      	* libgimpwidgets/gimpunitmenu.h: #include <gtk/gtkoptionmenu.h>
      	explicitely and #undef GTK_DISABLE_DEPRECATED only around the
      	inclusion if it was defined before.
      01bc7c92
  6. 29 Jan, 2004 1 commit
    • Michael Natterer's avatar
      reset binary age because of struct changes below. require GIMP 1.3.26. · e8843a23
      Michael Natterer authored
      2004-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: reset binary age because of struct changes below.
      	* m4macros/gimp-2.0.m4: require GIMP 1.3.26.
      
      	* libgimpmodule/gimpmodule.h
      	* libgimpmodule/gimpmoduledb.h
      	* libgimpthumb/gimpthumbnail.h
      	* libgimpwidgets/gimpbutton.h
      	* libgimpwidgets/gimpchainbutton.h
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimpcolorbutton.h
      	* libgimpwidgets/gimpcolordisplay.h
      	* libgimpwidgets/gimpcolordisplaystack.h
      	* libgimpwidgets/gimpcolornotebook.h
      	* libgimpwidgets/gimpcolorscale.h
      	* libgimpwidgets/gimpcolorselection.h
      	* libgimpwidgets/gimpcolorselector.h
      	* libgimpwidgets/gimpdialog.h
      	* libgimpwidgets/gimpfileentry.h
      	* libgimpwidgets/gimpmemsizeentry.h
      	* libgimpwidgets/gimpoffsetarea.h
      	* libgimpwidgets/gimppickbutton.h
      	* libgimpwidgets/gimppixmap.h
      	* libgimpwidgets/gimpsizeentry.h
      	* libgimpwidgets/gimpunitmenu.h: added 4 function pointers padding
      	to all class structures.
      e8843a23
  7. 30 Sep, 2003 1 commit
    • Sven Neumann's avatar
      added an API to allow for sub-pixel sizes in spinbuttons connected to a · 2f855afa
      Sven Neumann authored
      2003-10-01  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpunitmenu.[ch]:
      	* libgimpwidgets/gimpwidgets.c: added an API to allow for
      	sub-pixel sizes in spinbuttons connected to a GimpUnitMenu.
      	Make GimpUnitMenu emit "unit-changed" when the unit is changed
      	programmatically.
      
      	* libgimpwidgets/gimpsizeentry.[ch}: added a similar API here.
      	Make GimpSizeEntry emit "unit-changed" when the unit is changed
      	programmatically. The other signals will need similar changes.
      
      	* plug-ins/common/gauss_rle.c
      	* plug-ins/common/gauss_iir.c
      	* app/widgets/gimpstrokeeditor.c: use the new API.
      2f855afa
  8. 10 Feb, 2003 1 commit
  9. 22 Nov, 2001 1 commit
    • Sven Neumann's avatar
      bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. · 757017a8
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.1.
      	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
      	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
      	exist any longer.
      
      	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
      	be frozen now.
      
      	* HACKING: removed reference to RELEASE-TO-CVS.patch
      
      	* app/gui/menus.c
      	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
      	to the new GTK+/Pango API.
      
      	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
      
      	* app/core/gimpmarshal.list: added all marshallers we use.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.
      
      	* data/images/
      	* app/app_procs.c
      	* app/gui/splash.c:
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.
      
      	* app/gimprc.c
      	* plug-ins/common/ps.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gdyntext/gdyntextcompat.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
      	of gimp_strescape() and gimpstrcompress().
      
      	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
      	all _get_type function as G_GNUC_CONST.
      
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/lib.pl: make them generate header files using
      	G_BEGIN_DECLS/G_END_DECLS.
      
      	* pixmaps/Makefile.am
      	* pixmaps/wilber3.xpm: removed ...
      	* data/images/tips_wilber.png: ... and added here as PNG
      
      	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
      
      	* data/images/gimp_splash.ppm: removed ...
      	* data/images/gimp_splash.png: ... and added as PNG
      
      	* app/app_procs.c
      	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.
      
      	* app/gui/about-dialog.c: sink the GtkPreview.
      757017a8
  10. 11 Nov, 2001 1 commit
    • Manish Singh's avatar
      configure.in app/Makefile.am app/plug-in/Makefile.am plug-ins/Makefile.am · 7117483f
      Manish Singh authored
      2001-11-11  Manish Singh  <yosh@gimp.org>
      
              * configure.in
              * app/Makefile.am
              * app/plug-in/Makefile.am
              * plug-ins/Makefile.am
              * modules/Makefile.am: fixes to build with automake 1.5 (just hacks
              to get it to work, real fixes to come later)
      
              * app/gui/preferences-dialog.c: unset GValue from tree model when
              we're done with it.
      
              * libgimpwidgets/gimpcolorarea.c
              * libgimpwidgets/gimpcolorbutton.c
              * libgimpwidgets/gimpsizeentry.[ch]
              * libgimpwidgets/gimpwidgets.[ch]
              * plug-ins/common/animationplay.c
              * plug-ins/common/colorify.c
              * plug-ins/common/curve_bend.c
              * plug-ins/common/diffraction.c
              * plug-ins/common/film.c
              * plug-ins/common/gbr.c
              * plug-ins/common/gee.c
              * plug-ins/common/gee_zoom.c
              * plug-ins/common/gicon.c
              * plug-ins/common/gih.c
              * plug-ins/common/gtm.c
              * plug-ins/common/jpeg.c
              * plug-ins/common/mail.c
              * plug-ins/common/pat.c
              * plug-ins/common/plugindetails.c
              * plug-ins/common/png.c
              * plug-ins/common/ps.c
              * plug-ins/common/sample_colorize.c
              * plug-ins/common/sinus.c
              * plug-ins/common/spheredesigner.c
              * plug-ins/common/tileit.c
              * plug-ins/common/uniteditor.c
              * plug-ins/common/xbm.c: gtk_widget_set_usize is deprecated. Use
              gtk_widget_set_size_request instead.
      
              * libgimpwidgets/gimpunitmenu.[ch]: changed to use GtkTreeView.
      7117483f
  11. 03 Aug, 2001 1 commit
  12. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  13. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  14. 18 Nov, 2000 1 commit
    • Michael Natterer's avatar
      app/fileops.c Make sure that we don't try to destroy query_boxes twice or · cdd0a514
      Michael Natterer authored
      2000-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/fileops.c
      	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
      	query_boxes twice or try to disconnect not-any-more connected
      	handlers.
      
      	* app/color_notebook.c
      	* app/gimpcontext.[ch]
      	* app/gimphelp.[ch]
      	* app/lc_dialog.[ch]
      	* app/menus.h
      	* app/preferences_dialog.c
      	* app/tools.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpexport.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpui.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
      	and many other strings passed to UI functions to (const gchar *).
      	As a consequence, I had to fix lots of warnings ;)
      
      	* plug-ins/common/tga.c
      	* plug-ins/imagemap/imap_main.c: fixed warnings.
      
      	Code cleanup and indentation all over the place.
      cdd0a514
  15. 30 May, 2000 1 commit
  16. 26 Feb, 2000 1 commit
  17. 07 Feb, 2000 1 commit
    • Michael Natterer's avatar
      app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and · ef178669
      Michael Natterer authored
      2000-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/*
      	* libgimp/*
      	* plug-ins/*
      	* tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and
      	s/GimpSizeEntryUP/GimpSizeEntryUpdatePolicy/
      
      	* libgimp/gimpcolorspace.c: renamed the parameter names to match
      	the names in the header.
      
      	* libgimp/gimphelpui.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpmatrix.h
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: added documentation and use g* types
      	all over the place (enables cross-referencing with the glib and
      	gtk+ html documentation).
      
      	* plug-ins/common/exchange.c
      	* plug-ins/common/max_rgb.c: small cleanups.
      
      	* plug-ins/common/mapcolor.c: the color buttons were attached in
      	the wrong order.
      ef178669
  18. 26 Dec, 1999 1 commit
    • Manish Singh's avatar
      added spec file to EXTRA_DIST · b8e03bd1
      Manish Singh authored
      * Makefile.am: added spec file to EXTRA_DIST
      
      * docs/Makefile.am: added undo.txt to EXTRA_DIST
      
      * app/interface.c: removed the DODGY warning, doesn't look dodgy to me
      
      * libgimp/*.h: missed an s/Library/Lesser/
      
      * tools/pdbgen/*: lots of work on the libgimp portion
      
      -Yosh
      b8e03bd1
  19. 17 Nov, 1999 1 commit
  20. 17 Jun, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new files. Does nothing yet. Checked in because I found · aaa3ef21
      Michael Natterer authored
      1999-06-17  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/Makefile.am
      	* app/gimpcontext.[ch]: new files. Does nothing yet. Checked in
      	because I found some bugs while hacking it:
      
      	* libgimp/gimpchainbutton.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]: fixed some cut & paste bugs and some
      	gtk 1.0 artefacts in the object class initialisation code.
      aaa3ef21
  21. 05 Apr, 1999 1 commit
    • Michael Natterer's avatar
      #include <gtk/gtk.h>. · 24ffa60f
      Michael Natterer authored
      1999-04-05  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/action_area.h: #include <gtk/gtk.h>.
      
      	* app/devices.c: made the "Input Devices" dialog follow the action
      	area conventions. Grab pointer in the pattern/brush preview popups.
      
      	* app/errorconsole.c: use the actionarea functions.
      
      	* app/gimpunit.c: had the wrong copyright header.
      
      	* app/info_dialog.c: correctly set the spinbuttons' digits.
      
      	* app/perspectice_tool.c: removed #include <stdio.h> again but
      	didn't forget to s/sprintf/g_snprintf/ this time.
      
      	* app/preferences_dialog.c: unified order of varible definitions,
      	removed some unused variables.
      
      	* app/crop.c
      	* app/file_new_dialog.c
      	* app/info_dialog.[ch]
      	* app/interface.c
      	* app/preferences_dialog.c
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]: prepared for "percent" in size
      	entries.
      24ffa60f
  22. 16 Mar, 1999 1 commit
    • Michael Natterer's avatar
      This implements the rest of the unit system (unitrc loading and saving and · 5e8ee554
      Michael Natterer authored
      1999-03-16  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              This implements the rest of the unit system (unitrc loading and
              saving and full PDB interface)
      
              * Makefile.am
              * gimp.1
              * user_install
              * user_install.bat
              * unitrc: new file (default unit database) and some documentation
      
              * app/Makefile.am
              * app/gimpunit.c
              * app/gimpunit_cmds.h
              * app/unitrc.h: new files enabling the unit database and PDB
              access to the unit system
      
              * app/app_procs.c: parse and save unitrc
              * app/gimprc.[ch]: enable unit parsing. New function
              init_parse_buffers() to enable unitrc to be loaded before gimprc
      
              * app/gimage_cmds.[ch]: new PDB procedures which set/return an
              image's unit
      
              * app/install.c: mention unitrc installation
      
              * app/xcf.c: new xcf property for user defined units. An image's
              unit is saved as either an integer ID (built in units) or as
              a full unit definition without any ID
      
              * libgimp/Makefile.am: moved gimpunit.o from libgimpi.a to
              libgimp.a
      
              * libgimp/gimp.h
              * libgimp/gimpimage.c: get/set an image's unit with PDB calls
      
              * libgimp/gimpunit.h: this file is now the header for both
              app/gimpunit.c and libgimp/gimpunit.c
      
              * libgimp/gimpunit.c: does the unit calls as PDB calls now
      
              * libgimp/gimpunitmenu.[ch]: enable user unit functionality and a
              unit selection dialog
      
              * libgimp/gimpsizeentry.c: disble hilighting on focus_in_event and
              minor bugfixes
      
              * plug-ins/tiff/tiff.c: set image unit to "mm" if tiff unit is
              "cm", save "cm" if image unit is metric
      5e8ee554
  23. 12 Mar, 1999 1 commit
    • Michael Natterer's avatar
      This is mostly unit stuff and code cleanup · 7fd5b7c1
      Michael Natterer authored
      1999-03-12  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              This is mostly unit stuff and code cleanup
      
              * libgimp/gimpi.def: add some functions
      
              * libgimp/gimpsizeentry.[ch]: new function
              gimp_size_entry_set_refval_digits() which allows for float pixel
              input. SIGFPE bugfix from Yasuhiro Shirasaki
              <yasuhiro@awa.tohoku.ac.jp>, minor bugfixes.
      
              * libgimp/gimpunitmenu.[ch]: add a separator after "pixels",
              bugfixes.
      
              * app/interface.[ch]: split up the old query_string_box() into
              query_[string|int|float|size]_box(). All functions take an
              optional GtkObject* parameter and connect to that object's
              "destroy" signal, this fixes some segfaults. And a global
              s/container_border_width/container_set_border_width/
      
              * app/commands.s: grow, shrink, border, feather now use the
              query_size_box. Used MIN(xres,yres) for now for the pixel<->unit
              calculations. Fixed some memory leaks.
      
              * app/global_edit.c
              * app/gradient.c
              * app/palette.c
              * app/paths_dialog.c: changed the query_string_box() calls
      7fd5b7c1
  24. 21 Feb, 1999 1 commit