1. 09 Nov, 2008 1 commit
    • Martin Nordholts's avatar
      Prepare GimpCursorView for a dependency to GimpDisplayShell. · 983c3751
      Martin Nordholts authored
      * app/widgets/gimpcursorview.[ch]: Move from here...
      
      * app/display/gimpcursorview.[ch]: ...to here.
      
      * app/widgets/Makefile.am
      * app/display/Makefile.am: Change accordingly.
      
      * app/actions/cursor-info-actions.c
      * app/dialogs/dialogs-constructors.c
      * app/actions/cursor-info-commands.c
      * app/display/gimpdisplayshell-cursor.c: Update includes.
      
      svn path=/trunk/; revision=27581
      983c3751
  2. 06 Nov, 2008 1 commit
    • Sven Neumann's avatar
      use NC_() to mark enum values for translation. Use a lower-case short form · 02817081
      Sven Neumann authored
      2008-11-06  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-mkenums: use NC_() to mark enum values for 
      translation.
      	Use a lower-case short form of the type name as translation 
      context.
      
      	* libgimp/libgimp-intl.h: define the NC_() macro as noop.
      
      	* libgimpbase/gimpbasetypes.[ch]
      	* libgimpbase/gimpbase.def: added new functions to set and
      	get a translation context on an enum type.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am:
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: register the translation context
      	with the enum types.
      
      	* app/display/display-enums.h
      	* libgimpbase/gimpbaseenums.h
      	* libgimpconfig/gimpcolorconfig-enums.h: removed old-style 
      explicit
      	translation context.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27562
      02817081
  3. 03 Nov, 2008 1 commit
    • Sven Neumann's avatar
      app/base/Makefile.am app/core/Makefile.am app/display/Makefile.am · fe520925
      Sven Neumann authored
      2008-11-03  Sven Neumann  <sven@gimp.org>
      
      	
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am: 
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: micro-optimization in the 
      generated
      	enum registration code.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27538
      fe520925
  4. 07 Oct, 2008 1 commit
  5. 16 Aug, 2008 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am app/display/gimpdisplayshell-scale.[ch] split · f9ebb8c9
      Sven Neumann authored
      2008-08-16  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-scale.[ch]
      	* app/display/gimpdisplayshell-scale-dialog.[ch]: split scale
      	dialog into a new file.
      
      	* app/actions/view-commands.c: changed accordingly.
      
      svn path=/trunk/; revision=26590
      f9ebb8c9
  6. 10 Aug, 2008 1 commit
    • Martin Nordholts's avatar
      Renamed gimp_display_shell_scroll_private() to gimp_display_shell_scroll() · 4bbe4c81
      Martin Nordholts authored
      2008-08-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]: Renamed
      	gimp_display_shell_scroll_private() to gimp_display_shell_scroll()
      	and keep it here.
      
      	* app/display/gimpdisplayshell-private.h: Removed.
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-autoscroll.c: Adapt.
      
      svn path=/trunk/; revision=26480
      4bbe4c81
  7. 10 Jul, 2008 1 commit
    • Martin Nordholts's avatar
      Make gimp_display_shell_scroll() a sane public interface for scrolling and · 8f212645
      Martin Nordholts authored
      2008-07-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]: Make
      	gimp_display_shell_scroll() a sane public interface for scrolling
      	and call the old version gimp_display_shell_scroll_private()
      
      	* app/display/gimpnavigationeditor.c: Adapt to the saner version
      	of gimp_display_shell_scroll()
      
      	* app/display/gimpdisplayshell-callbacks.c: 
      	* app/display/gimpdisplayshell-autoscroll.c: Use the private
      	version of gimp_display_shell_scroll()
      
      	* app/display/Makefile.am: Added gimpdisplayshell-private.h
      
      svn path=/trunk/; revision=26110
      8f212645
  8. 25 Mar, 2008 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am split icon code to its own file. · bfd94e8e
      Sven Neumann authored
      2008-03-25  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-icon.[ch]: split icon code to its
      	own file.
      
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-handlers.c: changed accordingly.
      
      svn path=/trunk/; revision=25227
      bfd94e8e
  9. 29 Dec, 2007 1 commit
  10. 25 Jun, 2007 1 commit
  11. 07 Jun, 2007 1 commit
    • Sven Neumann's avatar
      app/text/Makefile.am app/core/Makefile.am app/tools/Makefile.am · f3228540
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/text/Makefile.am
      	* app/core/Makefile.am
      	* app/tools/Makefile.am
      	* app/display/Makefile.am
      	* app/widgets/Makefile.am
      	* app/base/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpthumb/Makefile.am
      	* tools/pdbgen/Makefile.am
      	* libgimpwidgets/Makefile.am: applied the remaining parts of the
      	patch from Daniel Richard G. to fix out-of-source-tree builds
      	(bug #444960).
      
      svn path=/trunk/; revision=22735
      f3228540
  12. 29 Jun, 2006 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am new files, implementing the GimpProgress interface · 353ca7ad
      Sven Neumann authored
      2006-06-29  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-progress.[ch]: new files,
      	implementing the GimpProgress interface by delegation to
      	GimpStatusbar.
      
      	* app/display/gimpdisplayshell.c (G_DEFINE_TYPE): call
      	gimp_display_shell_progress_iface_init().
      
      	* app/display/gimpdisplay.c: delegate progress calls to
      	GimpDisplayShell instead of shell->statusbar.
      353ca7ad
  13. 27 Feb, 2005 1 commit
    • Daniel Egger's avatar
      app/base/Makefile.am app/composite/*akefile.am app/config/*akefile.am · 0add6029
      Daniel Egger authored
      2005-02-27  Daniel Egger  <de@axiros.com>
      
      	* app/base/Makefile.am
      	* app/composite/*akefile.am
      	* app/config/*akefile.am
      	* app/core/*akefile.am
      	* app/display/*akefile.am
      	* app/file/*akefile.am
      	* app/paint-funcs/*akefile.am
      	* app/pdb/*akefile.am
      	* app/plug-in/*akefile.am
      	* app/text/*akefile.am
      	* app/tools/*akefile.am
      	* app/vectors/*akefile.am
      	* app/xcf/*akefile.am: Commonized include paths to always look
      	in the builddir also to cater for srcdir != builddir builds.
      0add6029
  14. 13 Feb, 2005 1 commit
    • Sven Neumann's avatar
      check for gthread-2.0 unless the --disable-mp option is given. · 9511753a
      Sven Neumann authored
      2005-02-13  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: check for gthread-2.0 unless the --disable-mp
      	option is given.
      
      	* app/app_procs.c (app_libs_init): call g_thread_init().
      
      	* app/base/pixel-processor.c: ported to GThread.
      
      	* app/Makefile.am
      	* app/*/Makefile.am: use @GTHREAD_CFLAGS@.
      9511753a
  15. 02 Jan, 2005 1 commit
    • Michael Natterer's avatar
      app/display/Makefile.am app/display/gimpdisplayshell-autoscroll.[ch] new · aef1cf93
      Michael Natterer authored
      2005-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-autoscroll.[ch]
      	* app/display/gimpdisplayshell-coords.[ch]: new files factored out
      	of gimpdisplayshell-callbacks.c
      
      	* app/display/gimpdisplayshell.h (struct GimpDisplayShell): added
      	"gpointer scroll_info" needed by autoscroll.
      
      	* app/display/gimpdisplayshell-callbacks.c: removed the stuff
      	above. Also removed the static autoscroll struct because it's not
      	needed any longer.
      aef1cf93
  16. 25 Oct, 2004 1 commit
    • Michael Natterer's avatar
      Don't store human readable and translatable enum/flag strings in · 67116466
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	Don't store human readable and translatable enum/flag strings in
      	GEnumValue's and GTypeValue's fields but attach them to their
      	GType using separate structs and utility functions:
      
      	* tools/gimp-mkenums: added params and perl voodoo to support
      	generating a second array of values, which is used by the
      	Makefiles below to create and register arrays of value
      	descriptions.
      
      	* libgimpbase/gimpbasetypes.[ch]: added API to attach/retreive
      	arrays of translatable strings to/from enum and flags types. Added
      	structs GimpEnumDesc and GimpFlagsDesc for that purpose.
      
      	* libgimpbase/gimputils.[ch]: changed existing enum utility
      	functions, added new ones and added a symmetric API for flags.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am: changed *-enums.c generation rules
      	accordingly.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c: regenerated.
      
      	* app/widgets/gimpenumstore.c
      	* app/widgets/gimpenumwidgets.c
      	* app/widgets/gimptemplateeditor.c
      	* libgimpwidgets/gimppreviewarea.c: follow the enum utility
      	function API changes.
      67116466
  17. 25 Aug, 2004 1 commit
    • David Odin's avatar
      app/display/gimpnavigationview.c renamed these files to... · f168881c
      David Odin authored
      * app/display/gimpnavigationview.c
      * app/display/gimpnavigationview.h: renamed these files to...
      
      * app/display/gimpnavigationeditor.c
      * app/display/gimpnavigationeditor.h: ... these files, and of course
        changed GimpNavigationView to GimpNavigationEditor since it is really
        inherited from GimpEditor anyway.
      
      This will leave the gimp_navigation_view namespace for the renaming
      from gimp_navigation_preview.
      
      * app/display/Makefile.am
      * app/display/display-types.h
      * app/display/gimpdisplayshell-callbacks.c
      * app/gui/dialogs-constructors.c: Changed accordlingly.
      f168881c
  18. 10 Aug, 2004 1 commit
    • Michael Natterer's avatar
      Redid the whole internal progress stuff: don't pass around · 02d2b990
      Michael Natterer authored
      2004-08-10  Michael Natterer  <mitch@gimp.org>
      
      	Redid the whole internal progress stuff: don't pass around
      	progress_callback and progress_data; instead, provide a
      	pointer to a GimpProgressInterface which can be implemented
      	by a variety of backends.
      
      	Addresses (but not yet fixes) bugs #6010, #97266 and #135185.
      
      	* app/display/Makefile.am
      	* app/display/gimpprogress.[ch]: removed the old progress hack.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpprogress.[ch]: implement GimpProgressInterface.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpprogressdialog.[ch]: the standalone progress
      	dialog as widget implementing GimpProgressInterface.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpstatusbar.[ch]
      	* app/widgets/gimpfiledialog.[ch]
      	* app/widgets/gimpthumbbox.[ch]: added GimpProgressInterface
      	implementation to these classes.
      
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c: replaced the old progress vtable entries
      	by two new to create and destroy a GimpProgressDialog in case
      	no other progress is available.
      
      	* app/pdb/procedural_db.[ch]
      	* app/plug-in/plug-in-run.[ch]
      	* tools/pdbgen/app.pl: pass a GimpProgress to all PDB wrappers and
      	all plug-ins.
      
      	* app/plug-in/plug-in.[ch]
      	* app/plug-in/plug-ins.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-progress.c: handle the case there the
      	plug-in was crated with a progress as well as the case where it
      	wasn't.
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/xcf/xcf.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c: changed accordingly.
      
      	* app/core/gimpimagefile.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-open-location-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c: pass a GimpProgress to all file
      	related functions. Embed the progress in the file dialog where
      	possible.
      
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-convert.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage-scale.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c: replaced callback/data by GimpProgress.
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimptransformtool.c
      	* app/gui/convert-dialog.c
      	* app/actions/documents-commands.c
      	* app/actions/file-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed callers accordingly.
      
      	* app/pdb/*_cmds.c: regenerated.
      02d2b990
  19. 28 Jul, 2004 1 commit
    • Michael Natterer's avatar
      added still unused flags type GimpDirtyMask. · ee42d8f5
      Michael Natterer authored
      2004-07-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.h: added still unused flags type
      	GimpDirtyMask.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimpthumb/Makefile.am: changed calls to gimp-mkenums to
      	support GTypeFlags and to make the value arrays private to the
      	get_type() functions.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c: regenerated.
      ee42d8f5
  20. 14 Jul, 2004 1 commit
    • Michael Natterer's avatar
      app/display/Makefile.am new files for gimp_display_shell_close() and its · 2226ddf7
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-close.[ch]: new files for
      	gimp_display_shell_close() and its dialog & callback.
      
      	* app/display/gimpdisplayshell.[ch]: removed from here.
      
      	* app/actions/view-actions.c (view_close_view_cmd_callback):
      	changed accordingly.
      2226ddf7
  21. 13 Jul, 2004 1 commit
  22. 13 Jun, 2004 1 commit
    • Philip Lafleur's avatar
      Fixed incorrect logic that caused perfect-but-slow pointer tracking to be · afb3f5c1
      Philip Lafleur authored
      2004-06-12  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/display/gimpdisplayshell-callbacks.c: Fixed incorrect logic that
      	caused perfect-but-slow pointer tracking to be used in tools that
      	don't request exact mode.
      
      	* app/display/Makefile.am:
      	* app/display/gimpdisplayshell-appearance.[ch]:
      	* app/display/gimpdisplayshell-callbacks.c:
      	* app/display/gimpdisplayshell.[ch]:
      	* app/display/gimpdisplayshell-preview.[ch]: added
      	* app/tools/gimpperspectivetool.c:
      	* app/tools/gimprotatetool.c:
      	* app/tools/gimpscaletool.c:
      	* app/tools/gimpsheartool.c:
      	* app/tools/gimptransformoptions.[ch]:
      	* app/tools/gimptransformtool.[ch]: Implemented live transformation
      	previews, available through tool options. Fixes bug #108172.
      afb3f5c1
  23. 10 May, 2004 1 commit
    • Sven Neumann's avatar
      added a stock icon for "view-zoom-1-1". · a08d648a
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/view-actions.c: added a stock icon for "view-zoom-1-1".
      
      	* app/widgets/gimpunitcombobox.[ch]: added functions to get and
      	set the active unit.
      
      	* app/widgets/gimpunitstore.c (gimp_unit_store_tree_model_get_value):
      	need to special case GIMP_UNIT_PIXEL.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpscalecombobox.[ch]: new widget to be used in the
      	display's statusbar.
      
      	* app/display/gimpdisplayshell-cursor.[ch]: always display the
      	cursor position, not only if the cursor is inside the image. Added
      	new function gimp_display_shell_clear_cursor() to clear the cursor
      	label.
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/display/gimpstatusbar.[ch]
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c: do not explicitely resize
      	the statusbar cursor label, connect to GimpDisplayShell::scaled
      	instead. Added a GimpScaleComboBox to the status bar.
      a08d648a
  24. 07 Feb, 2004 1 commit
    • Michael Natterer's avatar
      removed all drawing functions. The file was still too large. · bfe203c2
      Michael Natterer authored
      2004-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.[ch]: removed all drawing functions.
      	The file was still too large.
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-draw.[ch]: new files containing
      	the drawing functions.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/tools/gimpmovetool.c: changed #includes accordingly.
      
      	* app/display/gimpdisplay-handlers.c
      	(gimp_display_size_changed_handler): added some #if 0'ed code I'm
      	not sure about. Actually, some of the handlers in this file could
      	need the same code, so it could be abstracted as
      	gimp_display_stop_draw() or something. Please have a look.
      bfe203c2
  25. 13 Dec, 2003 1 commit
    • Hans Breuer's avatar
      [ I've postponed my reservations against pangoft2/fontconfig/freetype2 · 1baa2d45
      Hans Breuer authored
      2003-12-12  Hans Breuer  <hans@breuer.org>
      
      	[
      	 I've postponed my reservations against pangoft2/fontconfig/freetype2
      	 usage, so The Gimp should now build with msvc without patching it.
      	]
      
      	* app/makefile.msc app/text/makefile.msc : use $(PANGOFT2_CFLAGS) etc.
      
      	* libgimpthumb/makefile.msc : (new file)
      	* makefile.msc : added libgimpthumb
      
      	* libgimpthumb/gimpthumbnail.c : include gimpwin32-io.h
      	* libgimpthumb/gimpthumb-utils.c : don't compare size pointer
      	with GIMP_THUMB_SIZE_FAIL but *size
      
      	* plug-ins/makefile.msc : handle libgimpoldpreview
      
      	* plug-ins/common/decompose.c : define cbrt() if not __GLIBC__
      
      	* plug-ins/common/winclipboard.c : make it compile without gimpcompat.h
      
      	* plug-ins/imagemap/imagemap_csim_lex.c : its a generated file
      	but still win32/msvc has no unistd.h
      
      	* plug-ins/pygimp/makefile.msc : (new file) to use the binary you
      	need to patch glib, see bug #98737
      
      	* plug-ins/libgimpoldpreview.c : use <libgimp/gimp.h> instead of "gimp.h"
      
      	* **/Makefile.am : added makefile.msc to EXTRA_DIST
      1baa2d45
  26. 11 Nov, 2003 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am removed this file. · 4b165b47
      Sven Neumann authored
      2003-11-11  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-marching-ants.h: removed this file.
      
      	* app/display/gimpcanvas.[ch]: generalized creation of GCs. Added
      	styles for drawing the selection and layer boundaries. Also added
      	support for changing stipple masks as was used by an older
      	implementation of the marching ants (see below).
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c: don't create the Selection when
      	the canvas is realized but only once when it is created.
      
      	* app/display/gimpdisplayshell-selection.[ch]: removed all GC code
      	and draw by means of GimpCanvas. Also resurrected a different
      	implementation of the marching ants that was lost since 1.2
      	(#undef USE_DRAWPOINTS).
      4b165b47
  27. 09 Nov, 2003 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am app/display/display-types.h added GimpCanvas, · 621c5832
      Sven Neumann authored
      2003-11-10  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpcanvas.[ch]: added GimpCanvas, derived from
      	GtkDrawingArea.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell.[ch]
      621c5832
  28. 22 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am new files that implement a GimpConfig object with · e3480536
      Sven Neumann authored
      2003-10-22  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayoptions.[ch]: new files that implement
      	a GimpConfig object with GimpDisplayShell and GimpCanvas options.
      	Actually two classes, one for the normal view, a derived one with
      	different default values for fullscreen mode.
      
      	* app/display/display-enums.[ch]: renamed GimpDisplayPadding enum
      	to GimpCanvasPadding.
      
      	* app/config/config-types.h: added the GimpDisplayOptions typedef.
      
      	* app/config/gimprc-blurbs.h
      	* app/config/gimpdisplayconfig.[ch]: replaced a bunch of properties
      	with two instances of GimpDisplayOptions.
      
      	* app/display/gimpdisplayshell.[ch]: replaced the
      	GimpDisplayShellAppearance struct with GimpDisplayOptions.
      
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.[ch]
      	* app/gui/image-menu.c: changed accordingly.
      
      	* app/gui/preferences-dialog.c: added a convenience function that
      	creates a view on a GimpDisplayOptions object. Not all values are
      	configurable here yet.
      
      	* docs/gimprc-1.3.5.in
      	* etc/gimprc: regenerated to document the gimprc format changes.
      e3480536
  29. 07 Sep, 2003 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am app/gui/Makefile.am app/paint/Makefile.am · 6f1a0df8
      Sven Neumann authored
      2003-09-07  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint/Makefile.am
      	* app/pdb/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am (INCLUDES): removed $(LIBART_CFLAGS) again.
      6f1a0df8
  30. 06 Sep, 2003 1 commit
  31. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      include locale.h for setlocale(). · 208915d4
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptext.c: include locale.h for setlocale().
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/widgets/Makefile.am: changed rules that generate enums code
      	to include gimp-intl.h instead of libgimp-intl.h.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/*.pdb: include gimp-intl.h.
      208915d4
  32. 11 Mar, 2003 1 commit
    • Michael Natterer's avatar
      app/display/Makefile.am new files implementing canvas padding, fullscreen · b36590e6
      Michael Natterer authored
      2003-03-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-appearance.[ch]: new files
      	implementing canvas padding, fullscreen toggling and utility
      	functions to show/hide GimpDisplayShell components (menubar,
      	statusbar, ...) Added the possibility to show/hide the scrollbars.
      
      	* app/display/gimpdisplayshell.[ch]: added struct
      	GimpDisplayShellVisibility which stores the GUI components'
      	visibility. Added two such structs to the GimpDisplayShell struct:
      	one for normal mode and one for fullscreen mode. Default to
      	"everything invisible" for fullscreen.  Fixes bug #74383.
      
      	* app/display/gimpdisplayshell-callbacks.c: fiddle with the
      	two visibility structs when toggling fullscreen.
      
      	* app/display/gimpdisplayshell-handlers.c: #include
      	"gimpdisplayshell-appearance.h"
      
      	* app/gui/image-menu.c
      	* app/gui/view-commands.[ch]: added a "Show Scrollbars" menu entry,
      	use the new widget show/hide utility functions.
      b36590e6
  33. 03 Feb, 2003 1 commit
    • Michael Natterer's avatar
      removed the "truly ugly hack"... · f7a91117
      Michael Natterer authored
      2003-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am: removed the "truly ugly hack"...
      
      	* app/Makefile.am: ...and changed the linking order instead.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/paint/Makefile.am
      	* app/widgets/Makefile.am: fixed typo.
      f7a91117
  34. 03 Jan, 2003 1 commit
    • Sven Neumann's avatar
      bumped the version number to 1.3.12. · ec6c9865
      Sven Neumann authored
      2003-01-03  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped the version number to 1.3.12.
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-cursor.[ch]
      	* app/display/gimpdisplayshell-title.[ch]
      	* app/display/gimpdisplayshell-transform.[ch]: new files with code
      	that used to live in gimpdisplayshell.c.
      
      	* app/display/gimpdisplay-foreach.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimptool.c: changed accordingly.
      ec6c9865
  35. 18 Nov, 2002 1 commit
    • Sven Neumann's avatar
      Finally landed the new GimpConfig based gimprc parser. It's not finished · 073e533a
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	Finally landed the new GimpConfig based gimprc parser. It's not
      	finished yet but we need to start somewhere. This release removes
      	the old gimprc.[ch] files. The gimprc format changes slightly, but
      	the changes are minimal. The Preferences dialog is temporarily
      	disabled since it still needs to be ported. If you are are afraid,
      	stay away from CVS for a few days ;-)
      
      	* app/Makefile.am
      	* app/gimprc.[ch]: removed the old gimprc system.
      
      	* app/base/Makefile.am
      	* app/base/base-config.[ch]: removed these files in favor of
      	config/gimpbaseconfig.[ch].
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: removed these files in favor of
      	config/gimpcoreconfig.[ch].
      
      	* app/config/Makefile.am
      	* app/config/config-types.h: moved typedefs into this new file.
      
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc.[ch]
      	* app/config/test-config.c: brought into shape for real use.
      
      	* app/base/base-types.h: include config/config-types.h here. Added
      	a global GimpBaseConfig *base_config variable to ease migration.
      
      	* app/gui/Makefile.am: temporarily disabled the preferences dialog.
      
      	* app/app_procs.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/base/base.[ch]
      	* app/base/gimphistogram.c
      	* app/base/pixel-processor.c
      	* app/base/temp-buf.c
      	* app/base/tile-cache.c
      	* app/core/core-types.h
      	* app/core/gimp-documents.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpmodules.c
      	* app/core/gimppattern.c
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpnavigationview.c
      	* app/file/file-save.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/session.c
      	* app/gui/test-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/tips-dialog.h
      	* app/gui/user-install-dialog.c
      	* app/gui/view-commands.c
      	* app/paint/gimppaintcore.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimptexttool.[ch]
      	* app/tools/selection_options.c
      	* app/tools/tools.c
      	* app/tools/transform_options.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimpselectioneditor.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: use the new config system
      	instead of the old gimprc stuff.
      
      	* etc/gimprc.in
      	* etc/gimprc_user.in: adapted to the new gimprc format. Will update
      	the man-page later...
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpgimprc_pdb.c: regenerated.
      073e533a
  36. 07 Jun, 2002 1 commit
    • Sven Neumann's avatar
      app/base/Makefile.am automake-1.6 seems to use yet another variable to · 3aae3940
      Sven Neumann authored
      2002-06-08  Sven Neumann  <sven@gimp.org>
      
      	* app/base/Makefile.am
      	* app/paint-funcs/Makefile.am: automake-1.6 seems to use yet another
      	variable to pass flags to the assembler (bug #84514). Define
      	AM_CCASFLAGS like AM_ASFLAGS to satisfy all versions of automake.
      
      	* configure.in
      	* all Makefiles: removed STRIP_BEGIN and STRIP_END since it's a
      	GNU make extension that we don't really need and newer versions of
      	automake don't seem to like it.
      3aae3940
  37. 07 May, 2002 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · b6c56ff9
      Michael Natterer authored
      2002-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/nav_window.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpnavigationview.[ch]: new widget partially based
      	on the removed nav_window.
      
      	* libgimpproxy/gimpproxytypes.h: regnenerated.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_nav_preview_resized(). The new config system will allow
      	us to get notified of changes.
      
      	* app/display/gimpdisplayshell.[ch]: added "scaled" and "scrolled"
      	signals.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c: emit "scaled" and
      	"scrolled" appropriately. Removed nav_window stuff.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c: made the navigation dialog dockable.
      
      	* app/gui/view-commands.c: changed the nav_dialog callback accordingly.
      
      	* app/gui/preferences-dialog.c
      	* app/gimprc.[ch]
      	* app/config/gimpguiconfig.[ch]: removed "nav_window_per_display"
      	as it's now a dockable and it's state is saved in sessionrc.
      
      	* app/widgets/gimpnavigationpreview.[ch]: added context sensitive
      	mouse cursors.
      
      	* app/widgets/gimpimagedock.c: made it capable of holding
      	display-related dialogs (like GimpNavigationView) by connecting
      	to the context's "display_changed" signal.
      
      	* app/widgets/widgets-types.h: removed inclusion of
      	"display/display-types.h".
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpitemlistitem.c
      	* app/widgets/gimpitemlistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimpvectorslistview.c: warn about inclusion of
      	"display/display-types.h".
      b6c56ff9
  38. 20 Mar, 2002 1 commit
    • Michael Natterer's avatar
      badly chopped into the new files below. Pass around much more "PlugIn" and · 47c5473e
      Michael Natterer authored
      2002-03-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in.[ch]: badly chopped into the new files below.
      	Pass around much more "PlugIn" and "Gimp" pointers instead of
      	using "current_plug_in" and "the_gimp". Needs much more hacking
      	though... :(
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-def.[ch]
      	* app/plug-in/plug-in-params.[ch]
      	* app/plug-in/plug-in-progress.[ch]
      	* app/plug-in/plug-ins.[ch]: new files.
      
      	* app/gui/Makefile.am
      	* app/gui/plug-in-commands.[ch]
      	* app/gui/plug-in-menus.[ch]: ditto.
      
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-in-types.h: changed accordingly.
      
      	* app/pdb/procedural_db.c: changed procedural_db_destroy_args()
      	so it can be used from plug_in_args_destroy(). Fixed a parasite
      	memory leak (or introduced a new SEGV, we'll see...).
      
      	* app/display/Makefile.am: another "truly ugly hack" until the
      	plug-in menu stuff is chopped even more...
      
      	* app/gui/commands.[ch]: removed filters_repeat_cmd_callback() here,
      	it is now in plug-in-commands.[ch].
      
      	* app/widgets/gimpitemfactory.[ch]: removed all gimp_menu_item_*()
      	hacks. We have a GimpItemFactory available in most cases we used
      	to call this functions, and can use gimp_item_factors_from_path()
      	in all other cases. The item factory stuff needs more work
      	anyway...
      
      	* app/app_procs.c
      	* app/gimphelp.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly (includes,
      	renamed functions and gimp_menu_item_*() removal).
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      47c5473e
  39. 17 Mar, 2002 1 commit
    • Sven Neumann's avatar
      new function to set the sensitivity of an option_menu. · 7aaa80ef
      Sven Neumann authored
      2002-03-17  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.[ch]: new function to set the sensitivity
      	of an option_menu.
      
      	* app/base/base-enums.[ch]: register and describe GimpHistogramChannel.
      
      	* app/core/Makefile.am
      	* app/core/core-enums.[ch]: build with gimp-mkenums, added core-enums.c
      	to CVS, added descriptions for GimpPreviewSize.
      
      	* app/display/Makefile.am
      	* app/display/display-enums.[ch]: build with gimp-mkenums, added
      	display-enums.c to CVS, added descriptions for GimpCursorMode.
      
      	* app/gui/preferences-dialog.c: more GimpEnumMenus.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimplevelstool.c: use a GimpEnumMenu for the Channel menu.
      	Allow alpha channel in HistogramView. These tools needs more work...
      7aaa80ef
  40. 14 Mar, 2002 1 commit
    • Michael Natterer's avatar
      Re-enabled the display filters. They work exactly the same way as before · 5e17408c
      Michael Natterer authored
      2002-03-14  Michael Natterer  <mitch@gimp.org>
      
      	Re-enabled the display filters. They work exactly the same way
      	as before except for the color_area pseudo-display. More stuff
      	to come...
      
      	* app/display/Makefile.am: build them again.
      
      	* app/display/gimpdisplayshell-filter-dialog.[ch]
      	* app/display/gimpdisplayshell-filter.[ch]: changed to the new
      	namespace, work on GimpDisplayShell instead of GimpDisplay.
      
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell.[ch]: changed accordingly.
      
      	* app/gui/dialogs-constructors.c: enabled the dialog constructor.
      
      	* app/gui/gui.c: call the init() function.
      
      	* app/gui/menus.c: enabled the menu entry, but moved it to
      	<Image>/View. Moved "Undo History..." to <Image>/Image.
      
      	* modules/Makefile.am: build and install the modules.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c: made them compile with minimal
      	changes.
      
      	Unrelated:
      
      	* app/undo_history.c: connect to the image's "disconnect", not
      	"destroy" signal.
      
      	* app/tools/gimpselectiontool.c: mask out the irrelevant parts of
      	the "state" passed to the modifier_key() func, so tool_options
      	button toggling works with other modifiers (e.g. num_lock)
      	pressed.
      5e17408c