1. 02 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/gui/dialogs-commands.[ch] added dialogs_toggle_auto_cmd_callback() · 8a6f5a10
      Michael Natterer authored
      2001-07-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/menus.c: added dialogs_toggle_auto_cmd_callback() which
      	toggles GimpImageDock's "Auto" button.
      
      	* app/gui/dialogs.c: ref/sink the global dialog factories.
      
      	* app/widgets/gimpdialogfactory.[ch]: added some comments, some
      	cleanups and additional checks. Factored out the "aux-info" stuff
      	to separate functions.
      
      	* app/widgets/gimpdockbook.c: set the state of the "Auto Follow
      	Active Image" menu item.
      
      	* app/widgets/gimpimagedock.[ch]: added a gboolean for
      	"show_image_menu" so we don't need to fiddle around with the
      	widgets to get this info. Added
      	gimp_image_dock_set_auto_follow_active().
      8a6f5a10
  2. 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
  3. 11 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am taken behind the curtain and shot. (famous words of Seth · 3bd0b97e
      Michael Natterer authored
      2001-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/lc_dialog.[ch]: taken behind the curtain and shot.
      	(famous words of Seth Burgess on #gimp)
      
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gui/commands.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c: don't #include it or call it's
      	functions any more.
      
      	* app/gui/dialogs-commands.[ch]: added a constructor for a dock
      	which looks like the old L&C dialog (taken from test-commands.*)
      
      	* app/gui/test-commands.[ch]: removed here.
      
      	* app/gui/dialogs-constructors.[ch]: wrapped the old
      	paths-dialog.* stuff in a dockable which can be created only
      	once. Will go away as soon as the new path stuff is there.
      
      	* app/gui/dialogs.c: added the paths dockable, removed lc_dialog.
      
      	* app/gui/paths-dialog.c: some changes to make it work without the
      	lc_dialog around it. Will probably crash randomly and refuse to
      	update it's contents properly (scheduled for removal).
      3bd0b97e
  4. 08 May, 2001 1 commit
    • Michael Natterer's avatar
      added ChannelType. removed ChannelType. regenerated. · a229702d
      Michael Natterer authored
      2001-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h: added ChannelType.
      	* app/gimpimage.h: removed ChannelType.
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/apptypes.h: don't include libgimpwidgets/gimpwidgetstypes.h
      	and widgets/widgets-types.h any more.
      
      	* app/devices.c
      	* app/gimpdnd.c
      	* app/gimprc.c
      	* app/lc_dialog.c
      	* app/gui/[many].c: include widgets/widgets-types.h
      
      	* app/tools/histogram_tool.h: include widgets/widgets-types.h here
      	because of an ugly dependency from pdb/color_cmds.c
      
      	* app/tools/tool_options_dialog.c
      
      	* app/widgets/widgets-types.h: include
      	libgimpwidgets/gimpwidgetstypes.h and apptypes.h so files in
      	widgets/ only have to include this file.
      
      	* app/widgets/*.c: include widgets-types.h instead of apptypes.h
      
      	* app/gimpdrawable-preview.c
      	* app/gui/gradient-editor.c: removed useless #includes.
      a229702d
  5. 23 Apr, 2001 1 commit
    • Michael Natterer's avatar
      some minor fixes / cleanup. · 714f4b14
      Michael Natterer authored
      2001-04-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpcontext.[ch]: some minor fixes / cleanup.
      
      	* app/gimpdata.c: forgot to gtk_object_class_add_signals() in
      	class_init().
      
      	* app/gui/dialogs-constructors.[ch]: added a tool_tab_func() so
      	the notebook tab shows a tool preview, pass a GimpContext to all
      	dialog constructors and added set_context() functions for all
      	dockable based dialogs so they can be configured to use the
      	context of the destination dock when dragging them around.
      
      	* app/widgets/gimpcontainermenuimpl.c: removed debugging output.
      
      	* app/widgets/gimpdialogfactory.[ch]: add a method to create
      	dockables (which gets passed the dock the dockable will be added
      	to) so the dockables can be created in the right context.
      
      	* app/widgets/gimpdock.[ch]: added a GimpContext attribute, remove
      	the dockbooks explicitely in destroy().
      
      	* app/widgets/gimpdockable.[ch]: dockables now know about their
      	set_context_func() and can thus be dragged between different
      	contexts.
      
      	* app/widgets/gimpdockbook.c: gimp_dockbook_add(): refuse to add
      	dockables to dockbooks which are not part of a dock, set the
      	dockable's context after adding it.
      
      	* app/widgets/gimpimagedock.[ch]: image docks now keep a pointer
      	to the global image list which is passed to them on construction
      	so they don't need to know about the global "image_context"
      	variable, added an "Auto" button like in L&C.
      
      	* app/gui/dialogs-commands.c: changed accordingly.
      714f4b14
  6. 17 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/session.[ch] removed the old dialog session management code... · f283b957
      Michael Natterer authored
      2001-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/session.[ch]
      	* app/gimprc.c: removed the old dialog session management code...
      
      	* app/widgets/gimpdialogfactory.[ch]: ...and manage all dialogs here.
      
      	* app/gui/dialogs-constructors.[ch]: dialog factory compliant
      	constructors for all session managed toplevel dialogs.
      
      	* app/brush_select.[ch]
      	* app/devices.[ch]
      	* app/docindex.[ch]
      	* app/errorconsole.[ch]
      	* app/gradient_select.[ch]
      	* app/info_dialog.c
      	* app/lc_dialog.[ch]
      	* app/palette.[ch]
      	* app/pattern_select.[ch]
      	* app/toolbox.[ch]
      	* app/tools/tool_options_dialog.[ch]: all dialog constructors have
      	to return the dialog now (even the legacy ones that will go away).
      	Removed the session management code as this is now done for the
      	dialogs, not by them.
      
      	* app/app_procs.c
      	* app/color_select.c
      	* app/commands.[ch]
      	* app/indicator_area.c
      	* app/menus.c
      	* app/palette_select.c
      	* app/preferences_dialog.c
      	* app/gui/dialogs.c
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/gui.c
      	* app/tools/gimptool.c
      	* app/widgets/gimpdock.c: changed accordingly.
      f283b957
  7. 16 Apr, 2001 1 commit
    • Michael Natterer's avatar
      First attempt to get the docks session managed: · 059e7773
      Michael Natterer authored
      2001-04-16  Michael Natterer  <mitch@gimp.org>
      
      	First attempt to get the docks session managed:
      
      	* app/gimprc.c: new gimprc type "new-session-info" which will soon
      	replace the original one.
      
      	* app/menus.c
      	* app/gui/dialogs.c: s/_/-/g in all dialog identifier strings.
      
      	* app/session.[ch]: call the dialog factory's session functions.
      
      	* app/test_commands.c: use the dialog factory to create the tabs.
      
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.[ch]: the constructors return widgets,
      	not dockables now.
      
      	* app/widgets/gimpdialogfactory.[ch]: maintain a list of dialog
      	factories in the class struct. Added ugly code to do the GimpDock
      	session management.
      
      	* app/gui/gui.c
      	* app/widgets/gimpdock.c: changed accordingly.
      059e7773
  8. 14 Apr, 2001 2 commits
    • 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
    • Michael Natterer's avatar
      configure.in app/Makefile.am new directory which will contain all gui code · 517de92a
      Michael Natterer authored
      2001-04-14  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/gui/Makefile.am: new directory which will contain all gui code
      	except widgets (I was tired off adding new files to app/).
      
      	* app/apptypes.h
      	* app/gui/gimpdialogfactory.[ch]: factory which produces dialogs
      	from string descriptions. Should maybe go to widgets/.
      
      	* app/gui/dialogs-commands.[ch]: callbacks for the new menu
      	factory below.
      
      	* app/gui/dialogs-constructors.[ch]: dialog constructors which are
      	registered with the dialog factory.
      
      	* app/gui/dialogs.[ch]: register the dialogs with the factory.
      
      	* app/app_procs.c: call dialogs_register().
      
      	* app/menus.[ch]: a new item factory for creating dialogs.
      
      	* app/test_commands.c
      	* app/widgets/gimpdock.[ch]: added a dialog factory pointer to the
      	GimpDock struct.
      
      	* app/widgets/gimpdockbook.[ch]: badly (badly!) fiddle around with
      	GtkNotebook's menu to get it integrated in the GtkItemFactory
      	which produces new dialogs.
      517de92a
  9. 05 Mar, 2001 1 commit
    • Sven Neumann's avatar
      app/Makefile.am app/apptypes.h app/gimpimage-undo.[ch] app/gimpundo.[ch] · 75e8e387
      Sven Neumann authored
      2001-03-05  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpimage-undo.[ch]
      	* app/gimpundo.[ch]
      	* app/gimpundostack.[ch]: added new GimpUndo and GimpUndoStack objects
      	which will be used for the upcoming new undo system. Actually my
      	current plan for the undo system is to keep it pretty much as it is...
      
      	* app/gimpimage.[ch]: added new GimpUndoStacks but temporarily kept
      	old GSLists around, so I don't break everything now.
      75e8e387
  10. 28 Apr, 2000 1 commit
  11. 06 Nov, 1998 1 commit
    • Manish Singh's avatar
      added MAINTAINERS to EXTRA_DIST · 85757183
      Manish Singh authored
      * Makefile.am: added MAINTAINERS to EXTRA_DIST
      
      * configure.in: nicer -Wall, -ansi, etc. adding for CFLAGS with gcc
      
      * libgimp/parasite*.h
      * libgimp/gimpintl.h
      * app/Makefile.am
      * po/Makefile.in.in
      * configure.in: portablity, locale patch (gimp-joke-981028-0)
      
      * configure.in
      * plug-ins/Makefile.am: added lic, mapcolor, and xbm plug-ins
      
      * app/app_procs.c
      * app/menus.c: cosmetic message fixes
      
      * libgimp/parasite.c: use %p to print pointers
      
      * plug-ins/dbbrowser/dbbrowser_utils.[ch]: changes for new clist stuff
      
      * plug-ins/script-fu/script-fu-enums.h
      * plug-ins/script-fu/script-fu-scripts.c
      * plug-ins/script-fu/script-fu.c
      * plug-ins/script-fu/scripts/carved-logo.scm
      * plug-ins/script-fu/scripts/chrome-it.scm
      * plug-ins/script-fu/scripts/crystal-logo.scm
      * plug-ins/script-fu/scripts/neon-logo.scm
      * plug-ins/script-fu/scripts/sota-chrome-logo.scm: applied gimp-ruth-981103-0,
      adds a filesel to script-fu and SF-FILENAME param type. Make some scripts use
      this.
      
      -Yosh
      85757183
  12. 31 Oct, 1998 1 commit
    • GMT 1998 Andy Thomas's avatar
      app/gradient.c app/gradient.h app/internal_procs.c app/plug_in.c · d4ccd85a
      GMT 1998 Andy Thomas authored
      
      Sat Oct 31 14:57:40 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>
      
      	* app/gradient.c
      	* app/gradient.h
      	* app/internal_procs.c
      	* app/plug_in.c
      	* app/session.c
      	* app/session.h
      	* libgimp/Makefile.am
      	* libgimp/gimpmenu.h
      	* libgimp/app/gimprc.c
      	* libgimp/libgimpmenu.c
      	* plug-ins/script-fu/scripts/test-sphere.scm
      	* plug-ins/script-fu/script-fu-enums.h
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/script-fu/script-fu-scripts.c
      
      	New file:-
      
      	* libgimp/gimpgradientmenu.c
      
      	New gradient selector widget (smaller than the editor). This can now
      	be controlled via the PDB.
      
      	New widget which gives easy way to do gradient selections. This
      	new widget is used by script-fu (see the test->sphere script).
      
      	gradient.c needs to be split up (source is almost already split
      	I will complete this RSN).
      d4ccd85a
  13. 20 Oct, 1998 1 commit
    • BST 1998 Andy Thomas's avatar
      app/brush_select.h app/brush_select.c app/internal_procs.c · af5cdfbd
      BST 1998 Andy Thomas authored
      
      Tue Oct 20 23:20:40 BST 1998 Andy Thomas <alt@picnic.demon.co.uk>
      
      
      	* app/brush_select.h
      	* app/brush_select.c
      	* app/internal_procs.c
      	* app/gimpbrushlist.c
      	* libgimp/Makefile.am
      	* libgimp/gimpmenu.h
      	* libgimp/gimpmenu.c
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/test-sphere.scm
      	* plug-ins/script-fu/scripts/trochoid.scm
      	* plug-ins/script-fu/script-fu-enums.h
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu.c
      
      	New file libgimp/gimpbrushmneu.c.
      
      	Brush dialog can now be fully controlled via the PDB. New widget (not
      	true widget) type added to libgimpui (gimp_brush_select_widget()).
      	Plugins should easily be able to control & select brushes. Script-fu
      	updated to use new widget. See the test script for example.
      
      	Started to change some of the scripts to use the new widget types.
      af5cdfbd
  14. 01 Oct, 1998 1 commit
    • BST 1998 Andy Thomas's avatar
      app/patterns.c app/pattern_select.c app/internal_procs.c app/patterns.h · e99f37ab
      BST 1998 Andy Thomas authored
      
      Thu Oct  1 22:39:14 BST 1998 Andy Thomas <alt@picnic.demon.co.uk>
      
      	* app/patterns.c app/pattern_select.c app/internal_procs.c
      	* app/patterns.h app/pattern_select.h app/plug_in.c
      	* libgimp/gimpmenu.h libgimp/gimpmenu.c libgimp/Makefile.am
      	* plug-ins/gfig/gfig.c plug-ins/script-fu/scripts/test-sphere.scm
      	* plug-ins/script-fu/script-fu.c plug-ins/script-fu/script-fu-enums.h
      	* plug-ins/script-fu/script-fu-scripts.c
      
      	* New libgimp/gimppatternmenu.c
      
      	Pattern dialog can now be controlled via the PDB. New widget (not true
      	widget) type added to libgimpui (gimp_pattern_select_widget()). Plugins
      	should easily be able to control & select patterns. Script-fu
      	updated to use new widget. See the test script for example.
      e99f37ab
  15. 10 Aug, 1998 1 commit
  16. 06 Aug, 1998 1 commit
  17. 05 Aug, 1998 1 commit
  18. 13 Apr, 1998 1 commit
  19. 24 Nov, 1997 1 commit