1. 13 Nov, 2001 1 commit
    • Michael Natterer's avatar
      small fix. · 3413a9ef
      Michael Natterer authored
      2001-11-12  Michael Natterer  <mitch@gimp.org>
      
      	* HACKING: small fix.
      
      	* configure.in: changed --disable-perl to --enable-perl because
      	it doesn't build properly at the moment.
      
      	* pixmaps/Makefile.am: removed stuff which is no longer there
      	from EXTRA_DIST.
      
      	* plug-ins/Makefile.am: put back the $(GIMP_PERL) line in SUBDIRS.
      
      	* app/widgets/gimpmenuitem.c. include "libgimpwidgets/gimpwidgets.h".
      
      	* data/Makefile.am
      	* data/brushes/Makefile.am
      	* data/gradients/Makefile.am
      	* data/palettes/Makefile.am
      	* data/patterns/Makefile.am: removed the old "files" hack and put
      	the stuff to EXTRA_DIST.
      
      	* app/Makefile.am
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint-funcs/Makefile.am
      	* app/pdb/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* app/widgets/gimpmenuitem.c
      	* app/xcf/Makefile.am
      	* cursors/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* m4macros/Makefile.am
      	* themes/Makefile.am
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/Makefile.am: removed "files" target.
      3413a9ef
  2. 22 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 70ce7bae
      Michael Natterer authored
      2001-10-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/docindex.[ch]: removed.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpdocumentview.[ch]: new widget as replacement.
      
      	* app/core/gimpcontext.[ch]: added context->imagefile property.
      
      	* app/app_procs.c
      	* app/file-save.c
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/test-commands.c: changed accordingly.
      
      	* app/widgets/gimpcontainerview.[ch]: added "gboolean reorderable"
      	property which needs to be set by subclasses.
      
      	* app/widgets/gimpdrawablelistview.c: removed the "insert_item"
      	implementation which was used to make the items reorderable.
      
      	* app/widgets/gimpcontainerlistview.[ch]: make the list items
      	reorderable depending on view->reorderable.
      
      	* app/widgets/gimpbufferview.c: made it reorderable.
      
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpdatafactoryview.c: changed accordingly.
      70ce7bae
  3. 19 Aug, 2001 1 commit
  4. 11 Aug, 2001 1 commit
    • Sven Neumann's avatar
      added dependency on PangoFT2 (Pango compiled with FreeType2 support). · df8a3120
      Sven Neumann authored
      2001-08-11  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: added dependency on PangoFT2 (Pango compiled with
      	FreeType2 support).
      
      	* app/Makefile.am: link against PangoFT2.
      
      	* app/tools/Makefile.am
      	* app/tools/gimptexttool.[ch]: rudimentary new text tool. Still needs
      	lots of work.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h:
      	* app/widgets/gimpfontselection-dialog.[ch]
      	* app/widgets/gimpfontselection.[ch]: added font selection widgets.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpfontselection.[ch]: removed font selection code
      	from here since the fonts need to be selected from the core's
      	PangoContext. Will add PDB-controlled font selection later.
      df8a3120
  5. 29 Jun, 2001 1 commit
    • Michael Natterer's avatar
      removed GimpFillType. · d81b47ce
      Michael Natterer authored
      2001-06-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h: removed GimpFillType.
      
      	* app/gimprc.c: parse the session-info's new "aux-info" field.
      
      	* app/global_edit.[ch]: removed the old "Paste Named" dialog and
      	prefixed all functions with "gimp_".
      
      	* app/core/core-types.h: added GimpFillType.
      
      	* app/core/gimpbrush.[ch]: new signal "spacing_changed".
      
      	* app/gui/Makefile.am
      	* app/gui/tools-commands.[ch]: one more file cut out of commands.[ch].
      
      	* app/gui/commands.[ch]: removed the tools stuff here.
      
      	* app/gui/brush-select.[ch]
      	* app/gui/dialogs-constructors.c: use the new GimpBrushFactoryView
      	(see below).
      
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/menus.[ch]:
      
      	- Made it 64bit safe again by passing the dialog factory's
      	  identifiers as GQuarks, not as guints created by GPOINTER_TO_UINT().
      	- Added a "gchar *quark_string" field to GimpItemFactoryEntry
      	  which gets transformed into a GQuark by menus_create_item().
      	- Added SEPARATOR() and BRANCH() macros which make the *_entries[]
      	  arrays more readable.
      	- Added a menu item to show/hide GimpImageDock's image menu.
      	- Removed file_last_opened_cmd_callback().
      
      	* app/gui/edit-commands.c: the global_edit functions are "gimp_"
      	prefixed now.
      
      	* app/gui/file-commands.[ch]: added file_last_opened_cmd_callback()
      	here.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpbrushfactoryview.[ch]: new widget: a
      	GimpDataFactory subclass with a "spacing" scale.
      
      	* app/widgets/gimpcontainereditor.[ch]:
      
      	- Connect to the GimpContainerView's "select_item",
      	  "activate_item" and "context_item" signals here once instead of
      	  in each subclass and dispatch them via new virtual functions.
      	- Added a convenience function which makes DND to the buttons much
      	  less painful for subclasses.
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpdatafactoryview.[ch]: changed accordingly.
      
      	* app/widgets/gimpdialogfactory.[ch]:
      
      	- Added gimp_dialog_factory_dialog_raise() which can raise
      	  toplevel dialogs _and_ dockables (and creates them if they are
      	  not open yet).
      	- Keep track of all created dialogs (not only toplevels).
      	- Added an "aux_info" field to GimpSessionInfo which is a GList of
      	  gchar* and is saved in sessionrc.
      	- Remember if GimpImageDock's image menu is visible by using an
      	  aux_info string.
      	- The code did not become nicer with all those new constraints. I
      	  have to add comments before I forget how it works.
      
      	* app/widgets/gimpdockbook.c: set the state of the "Show Image Menu"
      	menu item before popping up the item factory.
      
      	* app/widgets/gimpimagedock.[ch]: added
      	gimp_image_dock_set_show_image_meu().
      
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/perl/examples/fit-text
      	* plug-ins/perl/examples/terral_text
      	* plug-ins/perl/examples/tex-to-float: register all text rendering
      	plug-ins under <Image>/Filters/Text
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/enums.pl
      	* po/POTFILES.in: changed according to all the stuff above.
      d81b47ce
  6. 26 Jun, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · d26c2668
      Michael Natterer authored
      2001-06-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/color_transfer.[ch]: removed.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpcolorbalancetool-transfer.[ch]: added.
      
      	* app/tools/gimpcolorbalancetool.c: changed accordingly.
      
      	* app/base/Makefile.am
      	* app/base/tile-manager-crop.[ch]: formerly known as crop_buffer().
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/context_manager.[ch]: added the global clipboard and the
      	named buffer list here.
      
      	* app/app_procs.c: don't call color_transfer_init() and don't free
      	the buffer stuff (done by the context manager now).
      
      	* app/errorconsole.c: don't #include "gui/commands.h"
      
      	* app/global_edit.[ch]: removed lots of stuff which is now done by
      	gui/edit-commands.* or the new GimpBuffer object. The "paste
      	named" dialog will go away and this file will be moved to core/
      	soon.
      
      	* app/image_new.c: no need to declare the global_buffer extern any
      	more.
      
      	* app/qmask.c: don't #include "global_edit.h"
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpbuffer.[ch]: new object (aka named buffer)
      
      	* app/core/gimpcontext.[ch]: added a GimpBuffer attribute.
      
      	* app/core/gimpimage.[ch]: one s/int/gboolean/.
      
      	* app/core/gimppattern.c: hmm...
      
      	* app/gui/commands.[ch]: split up in small files:
      
      	* app/gui/Makefile.am
      	* app/gui/edit-commands.[ch]
      	* app/gui/file-commands.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/select-commands.[ch]
      	* app/gui/view-commands.[ch]: new files.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added the named buffer list & grid.
      
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/test-commands.c: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* tools/pdbgen/pdb/edit.pdb: changed for the global_edit stuff.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpbufferpreview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]: new widgets.
      
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/widgets-types.h: changed accordingly for the new
      	GimpBuffer object and it's views, misc. cleanups.
      
      	* pixmaps/Makefile.am
      	* pixmaps/paste-as-new.xpm
      	* pixmaps/paste-into.xpm
      	* pixmaps/paste.xpm: new pixmaps (they all look the same... Tigert? ;-)
      
      	* po/POTFILES.in: added the new files.
      d26c2668
  7. 18 Jun, 2001 1 commit
    • Michael Natterer's avatar
      major cleanup. After being finished, I decided that it needs to be · 3ef20cd8
      Michael Natterer authored
      2001-06-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/nav_window.[ch]: major cleanup. After being finished, I
      	decided that it needs to be factored out to a widget (see below),
      	so like 90% of this file will go away soon.
      
      	* app/apptypes.h: added opaque NavigationDialog typedef.
      
      	* app/gdisplay.[ch]: Added gdisplay_selection_visibility() which
      	is called from gdisplays_selection_visibility(). Capitalized the
      	SelectionControl enum values. Cleaned up the GDisplay struct and
      	it's initialisation while i was on it.
      
      	* app/gimage.c: gimage_size_changed_handler(): removed stuff which
      	is now done by GimpImage itself.
      
      	* app/scale.c
      	* app/scroll.c: also update the navigation popup, not only the
      	dialog.
      
      	* app/selection.[ch]: major indentation & cleanup attack. Maybe
      	found the "Selection vanishes" bug (the timeout id was assinged to
      	a gint, not a _guint_).
      
      	* app/undo.c: s/gimp_image_size_changed/gimp_viweable_size_changed/
      
      	* app/core/gimpdrawable.c: invalidate the image's preview from our
      	"invalidate_preview" implementation. This means that the image's
      	preview is invalidated way too often currently, which cries for
      	some general freeze/thaw mechanism on the GimpViewable level.
      	(Note that previews are rendered in the idle loop, so this is not
      	really a major performance impact, it's just ugly).
      
      	* app/core/gimpimage.[ch]: removed the "size_changed" signal...
      
      	* app/core/gimpviewable.[ch]: ...and added it here.
      
      	* app/core/gimplayer.c: invalidate_preview(): always chain up,
      	also if it's a floating selection.
      
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.c: minor cleanups.
      
      	* app/gui/preferences-dialog.c: no need to invalidate the image
      	after we have invalidated all it's layers.
      
      	* app/core/gimpimage-mask.c
      	* app/gui/commands.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c: capitalized the SelectionCommand enum
      	values.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpnavigationpreview.[ch]: new widget.
      
      	* app/widgets/gimppreview.[ch]: added a non-working
      	non-dot-for-dot mode. Added xres/yres params to the
      	gimp_preview_calc_size() helper function.
      
      	Cache the "size" value which was passed to the simple function
      	variants (gimp_preview_new() and gimp_preview_set_size()) so we
      	can re-calculate the preview's extents on the underlying
      	viewable's "size_changed" signal and on gimp_preview_set_viewable().
      
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimpimagepreview.c: changed accordingly.
      3ef20cd8
  8. 07 Jun, 2001 1 commit
    • Michael Natterer's avatar
      added zh_TW.Big5 to ALL_LINGUAS. Added the STRIP_BEGIN and STRIP_END · 69491ddc
      Michael Natterer authored
      2001-06-07  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added zh_TW.Big5 to ALL_LINGUAS. Added the
      	STRIP_BEGIN and STRIP_END macros from gtk+.
      
      	* app/base/makefile.msc: unmodified copy of app/core/makefile.msc
      	(just to make "make dist" work).
      
      	* */Makefile.am: use @STRIP_BEGIN@ and @STRIP_END@ all over the
      	place. The Makefiles are a bit uglier now but it makes compiling
      	output much more readable.
      69491ddc
  9. 05 Jun, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/base/Makefile.am app/core/Makefile.am · 3b5ad3ab
      Michael Natterer authored
      2001-06-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint-funcs/Makefile.am
      	* app/pdb/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am: no need to build .la objects for
      	convenience libraries which are never linked into another dynamic
      	library. Create simple .a files instead. Reduces compilation time
      	of app/ by about 50%.
      3b5ad3ab
  10. 25 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 746fc519
      Michael Natterer authored
      2001-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpui.[ch]: removed.
      
      	* app/tools/paint_options.[ch]: removed paint_mode_menu_new().
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpwidgets-constructors.[ch]
      	* app/widgets/gimpwidgets-utils.[ch]: added here.
      
      	* app/disp_callbacks.c
      	* app/errors.c
      	* app/gimphelp.c
      	* app/interface.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimplayerlistview.c: changed accordingly.
      746fc519
  11. 13 May, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. Stuff now lives in app_procs.[ch] and in · 0cbbef40
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/cursorutil.[ch]: removed. Stuff now lives in app_procs.[ch]
      	and in widgets/gimpcursor.[ch]
      
      	* app/appenv.h: added the "gimp_busy" boolean.
      
      	* app/app_procs.[ch]: added the "busy" stuff here.
      
      	* app/gui/gui.[ch]: "busy" stuff for the gui.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcursor.[ch]: exports only one function:
      	gimp_cursor_new() which returns a GdkCursor which has to be
      	destroyed.
      
      	* app/apptypes.h
      	* app/appenums.h: removed the cursor types.
      	* app/widgets/widgets-types.h: added here.
      
      	* app/tools/gimpeditselectiontool.[ch]: added
      	gtkutil_compress_motion() here (will go to some utils file in
      	widgets/).
      
      	* app/tools/tools-types.h: #include "widgets/widgets-types.h"
      
      	* app/dialog_handler.c
      	* app/disp_callbacks.c
      	* app/gdisplay.[ch]
      	* app/nav_window.c
      	* app/scroll.c
      	* app/xcf.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/gui/file-open-dialog.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimptransformtool.c
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c: use the new cursor and "busy" functions.
      
      	* app/gdisplay.h
      	* app/core/gimpbrush.c: added some ugly cross-includes.
      
      	* app/context_manager.c
      	* app/gdisplay_ops.c
      	* app/gimprc.c
      	* app/core/gimpdrawable-offset.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/preferences-dialog.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpselectiontool.c: removed inclusion of "cursorutil.h"
      0cbbef40
    • Michael Natterer's avatar
      some percentage updates. · 1a5a50d9
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: some percentage updates.
      
      	* autogen.sh: correctly parse latest autoconf's broken "--version"
      	string.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcontainerview-utils.[ch]: new files which
      	provide a set of built-in get_name_func()s for GimpContainerView
      	and GimpContainerMenu.
      
      	* app/widgets/gimpcontainermenu.c
      	* app/widgets/gimpcontainerview.c: use them.
      
      	* app/widgets/gimpimagedock.c
      	* app/gui/dialogs-constructors.c: removed the get_name_func()s here.
      1a5a50d9
  12. 08 May, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · 9ecde4ea
      Michael Natterer authored
      2001-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpdnd.[ch]: removed.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdnd.[ch]: and moved here.
      
      	* app/devices.c
      	* app/docindex.c
      	* app/interface.c
      	* app/gui/about-dialog.c
      	* app/gui/channels-dialog.c
      	* app/gui/color-area.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/indicator-area.c
      	* app/gui/layers-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/toolbox.c
      	* app/tools/gimpblendtool.c
      	* app/tools/tool_manager.c
      	* app/tools/tool_options_dialog.c: changed #includes accordingly.
      9ecde4ea
    • Michael Natterer's avatar
      new signal "floating_selection_changed", removed ancient declaration of · f63cd1d9
      Michael Natterer authored
      2001-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpimage.[hc]: new signal "floating_selection_changed",
      	removed ancient declaration of _GimpImageRepaintArg.
      
      	* app/floating_sel.c
      	* app/undo.c: emit "floating_selection_changed" where approptiate.
      
      	* app/gimage_mask.c: s/"Floated Layer"/"Floating Selection"/
      	because we view this layer directly now (not some thing with an
      	"L" icon).
      
      	* app/gui/layers-commands.c: don't use confusing boolean variables
      	which indicate that something is not true (reversed their logic).
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpchannellistitem.[ch]: new widget. Does nothing yet.
      
      	* app/widgets/gimpchannellistview.c: set the button box
      	insensitive when there is a floating selection.
      
      	* app/widgets/gimpdrawablelistitem.c: made channel DND work again.
      	Very ugly btw.
      
      	* app/widgets/gimpdrawablelistview.c: connect to
      	"floating_selection_changed". Fake a change of the active drawable
      	so the button boxes get updated correctly.
      
      	* app/widgets/gimplayerlistview.c: set the sensitivity of the
      	buttons correctly.
      
      	* app/widgets/gimplistitem.c: create GimpChannelListItems for
      	channels.  Some very ugly code to work around broken
      	GTK_STATE_INSENSITIVE propagation in list items.
      f63cd1d9
  13. 03 May, 2001 2 commits
    • Michael Natterer's avatar
      removed typedefs from the widgets/ subdir. · f5f8acf3
      Michael Natterer authored
      2001-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h: removed typedefs from the widgets/ subdir.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h: new file.
      
      	* app/widgets/gimpcontainermenu.[ch]
      	* app/widgets/gimpcontainerview.[ch]: synced them again and added a
      	"get_name_func"
      
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimpmenuitem.[ch]: add a "get_name_func" and use it
      	to get the item's name.
      
      	* app/widgets/gimpcontainerlistview.c
      	* app/widgets/gimpcontainermenuimpl.c: pass the get_name_func to
      	the created items.
      
      	* app/widgets/gimpchannellistview.c: gtk_widget_queue_resize() the
      	component frame after changing the image.
      
      	* app/widgets/gimpcomponentlistitem.c: set a custom
      	get_name_func() so the components are named Red, Green, ... again.
      
      	* app/widgets/gimpimagedock.c: set a custom get_name_func() which
      	returns names like in the old L&C dialog's image menu.
      
      	* tools/pdbgen/Makefile.am: don't scan apptypes.h for enums.
      f5f8acf3
    • Michael Natterer's avatar
      don't #include "gui/color-select.h" · 07b8ffd4
      Michael Natterer authored
      2001-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: don't #include "gui/color-select.h"
      
      	* app/disp_callbacks.[ch]: renamed gdisplay_drop_viewable() to
      	gdisplay_drop_pattern().
      
      	* app/gimpimage.[ch]: added new signals
      	"component_visibility_changed" and "component_active_changed" and
      	emit them in the resp. accessors.
      
      	* app/interface.c: removed old GimpPreview test code.
      
      	* app/widgets/Makefile.am
      	* app/apptypes.h
      	* app/widgets/gimpchannellistview.[ch]
      	* app/widgets/gimpcomponentlistitem.[ch]: new (unfinished) widgets.
      
      	* app/widgets/gimpdockbook.c: switch to the right-clicked notebook
      	page before showing the menu.
      
      	* app/widgets/gimpdrawablelistitem.[ch]: removed the protected
      	functions which make the toggle buttons look nicer...
      
      	* app/widgets/gimplistitem.[ch]: ...and added them here.
      
      	* app/widgets/gimpdrawablelistview.[ch]: virtualized set_image()
      	so subclasses can properly (dis)connect on image change.
      
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimpimagepreview.[ch]: removed the calc_size()
      	functions which calculate the preview's aspect ratio...
      
      	* app/widgets/gimppreview.[ch]: ...and added then here as
      	protected functions.
      
      	* app/widgets/gimplayerlistitem.c: flush displays after changing
      	the layer mask's "apply" or "show" state.
      07b8ffd4
  14. 22 Apr, 2001 1 commit
    • Michael Natterer's avatar
      cleanup. · 90e8b4d7
      Michael Natterer authored
      2001-04-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: cleanup.
      
      	* app/interface.c: #include "gimpui.h"
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c
      	* app/gui/test-commands.[ch]: changes for the image menu below.
      
      	* app/apptypes.h
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcontainermenu.[ch]
      	* app/widgets/gimpcontainermenuimpl.[ch]: new widgets. The actual
      	implemtation lives in a separate file because
      	gimpcontainermenu.c's code is identical to gimpcontainerview.c's
      	except for the base class. This will become an interface with Gtk 2.0.
      
      	* app/widgets/gimpimagedock.[ch]: a dock with an image menu. The
      	pages still don't follow the context correctly.
      
      	* app/widgets/gimpmenuitem.[ch]: a menu item with a preview.
      
      	* app/widgets/gimpdialogfactory.[ch]: pass a dock constructor to
      	the constructor and provide a method to create a new dock within
      	this factory's context.
      
      	* app/widgets/gimpdock.[ch]: removed the constructor because we
      	create only image docks now. Put the vbox into a main_vbox (which
      	also contains the image menu).
      
      	* app/widgets/gimpdockbook.[ch]: create new docks with the dialog
      	factory.
      
      	* app/gimpcontainer.[ch]
      	* app/gimpdata.[ch]
      	* app/gimpdatafactory.[ch]
      	* app/gimpdatalist.[ch]
      	* app/gimplist.[ch]
      	* app/gimpviewable.[ch]
      	* app/widgets/gimpbrushpreview.[ch]
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpcontainerlistview.[ch]
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdockable.[ch]
      	* app/widgets/gimpdrawablelistitem.[ch]
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimpdrawablepreview.[ch]
      	* app/widgets/gimplayerlistitem.[ch]
      	* app/widgets/gimplayerlistview.[ch]
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimppalettepreview.[ch]
      	* app/widgets/gimppatternpreview.[ch]
      	* app/widgets/gimppreview.[ch]: ass-sign some copyrights.
      90e8b4d7
  15. 14 Apr, 2001 1 commit
    • Michael Natterer's avatar
      added some more dialog types. · 3fafbbe1
      Michael Natterer authored
      2001-04-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus.c: added some more dialog types.
      
      	* app/gui/Makefile.am
      	* app/gui/gimpdialogfactory.[ch]: removed again...
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdialogfactory.[ch]: ...and added where it belongs.
      
      	* app/gui/dialogs.c
      	* app/widgets/gimpdock.c: changed #include's
      
      	* app/gui/dialogs-commands.c: dialogs can be removed via the menu
      	now.
      
      	* app/widgets/gimpdockbook.c: ref the dockbook while the item
      	factory is active because an item factory callback may destroy it
      	(we need to add the hijacked GtkNotebook menu back to the
      	notebook).
      3fafbbe1
  16. 11 Apr, 2001 1 commit
    • Michael Natterer's avatar
      configure.in new directory containing all widgets. Some of them will go to · 594496b1
      Michael Natterer authored
      2001-04-11  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/widgets/*: new directory containing all widgets. Some of them
      	will go to libgimpwidgets.
      
      	* app/color_panel.[ch]
      	* app/gimpbrushpreview.[ch]
      	* app/gimpconstrainedhwrapbox.[ch]
      	* app/gimpcontainergridview.[ch]
      	* app/gimpcontainerlistview.[ch]
      	* app/gimpcontainerview.[ch]
      	* app/gimpdatafactoryview.[ch]
      	* app/gimpdock.[ch]
      	* app/gimpdockable.[ch]
      	* app/gimpdockbook.[ch]
      	* app/gimpdrawablelistitem.[ch]
      	* app/gimpdrawablelistview.[ch]
      	* app/gimpdrawablepreview.[ch]
      	* app/gimpgradientpreview.[ch]
      	* app/gimpimagepreview.[ch]
      	* app/gimplayerlistitem.[ch]
      	* app/gimplayerlistview.{ch]
      	* app/gimplistitem.[ch]
      	* app/gimppalettepreview.[ch]
      	* app/gimppatternpreview.[ch]
      	* app/gimppreview.[ch]
      	* app/gimptoolinfopreview.[ch]
      	* app/gtkhwrapbox.[ch]
      	* app/gtkvwrapbox.[ch]
      	* app/gtkwrapbox.[ch]
      	* app/histogramwidget.[ch]: removed from here.
      
      	* app/Makefile.am
      	* app/appenums.h
      	* app/brush_select.c
      	* app/channels_dialog.c
      	* app/devices.c
      	* app/gimpdnd.c
      	* app/gimpdrawable-preview.c
      	* app/gimphistogram.h
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/indicator_area.c
      	* app/info_window.c
      	* app/palette.c
      	* app/palette_select.c
      	* app/pattern_select.c
      	* app/qmask.c
      	* app/test_commands.c
      	* app/toolbox.c
      	* app/pdb/color_cmds.c
      	* app/tools/paint_options.c
      	* app/tools/tool_options_dialog.c
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      594496b1
  17. 10 Apr, 2001 1 commit