1. 13 May, 2002 1 commit
    • Sven Neumann's avatar
      registered GimpFillType enum and added translatable names to · 16e8b1be
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: registered GimpFillType enum and added
      	translatable names to GimpImageBaseType.
      
      	* app/core/gimp.[ch]
      	* app/core/gimpedit.c
      	* app/core/gimpimage-new.[ch]: removed gimp_image_new_[init|exit]()
      	where we used to create names for the enums mentioned above. Dropped
      	gimp_image_new_set_have_current_cut_buffer() in favor of accessing
      	the value directly.
      
      	* app/gui/file-new-dialog.c (file_new_dialog_create)
      	* app/gui/layers-commands.c (layers_new_layer_query): use
      	GimpEnumMenus to choose the base_type and fill_type.
      16e8b1be
  2. 07 Feb, 2002 1 commit
    • Michael Natterer's avatar
      renamed the image size utility functions from foo_size_bar() to · 72ca4d3e
      Michael Natterer authored
      2002-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-new.[ch]: renamed the image size utility
      	functions from foo_size_bar() to foo_memsize_bar(), use "gsize"
      	instead of "gdouble". Also take the selection mask into account
      	for the initial image size.
      
      	* app/display/gimpdisplayshell.c
      	* app/gui/file-new-dialog.c: changed accordingly.
      
      	* app/display/gimpdisplayshell-handlers.c: connect to "undo_event",
      	not "dirty" and "clean" to dirty the image title.
      
      	* app/tools/gimpmovetool.c: factored common code out to
      	gimp_move_tool_start_guide(), also set a useful cursor there.
      72ca4d3e
  3. 05 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed... · a0014f7e
      Michael Natterer authored
      2001-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/image_new.[ch]: removed...
      
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimage-new.[ch]: ...and (partly) added here.
      
      	* app/core/gimp.[ch]: added gimp_create_image() which will be the
      	_only_ place to get new images from soon.
      	Added  a "create_display_func" function pointer...
      
      	* app/gui/gui.[ch]: ...which gets initialized here.
      
      	This way the core can create displays without depending on the
      	interface.
      
      	* app/app_procs.c
      	* app/apptypes.h
      	* app/core/gimpedit.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.[ch]: changed accordingly.
      a0014f7e
  4. 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
  5. 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
  6. 14 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · fbfdf4b3
      Michael Natterer authored
      2000-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/tool_options_ui.h: removed.
      
      	* app/tool_options.c
      	* libgimp/gimpwidgets.[ch]: moved some more ui utility functions
      	to libgimp.
      
      	* app/airbrush.c
      	* app/blend.c
      	* app/bucket_fill.c
      	* app/channel_ops.c
      	* app/clone.c
      	* app/color_picker.c
      	* app/convolve.c
      	* app/crop.c
      	* app/dodgeburn.c
      	* app/eraser.c
      	* app/file_new_dialog.[ch]
      	* app/flip_tool.c
      	* app/image_new.[ch]
      	* app/ink.c
      	* app/layers_dialog.c
      	* app/magnify.c
      	* app/measure.c
      	* app/paintbrush.c
      	* app/pencil.c
      	* app/smudge.c
      	* app/text_tool.c
      	* app/tool_options.c
      	* app/transform_tool.c
      	* app/xinput_airbrush.c: use the libgimp functions (esp. the radio
      	button group constructor), some code cleanup.
      
      	* plug-ins/common/csource.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/png.c
      	* plug-ins/unsharp/unsharp.c: more plugin ui tuning.
      
      	* plug-ins/unsharp/Makefile.am
      	* plug-ins/unsharp/dialog_f.[ch]
      	* plug-ins/unsharp/dialog_i.[ch]: removed.
      fbfdf4b3
  7. 26 Aug, 1999 1 commit
    • 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