1. 28 Feb, 2011 2 commits
    • Michael Natterer's avatar
      app: GimpDeviceManager refactoring part two · ee844c63
      Michael Natterer authored
      - change gimp_devices_get_list() to gimp_devices_get_manager()
      - remove gimp_devices_get_current()
      - let GimpDeviceStatus connect to the manager's "notify::current-device"
        directly and remove device status updating code from gui.c
      - cleanup in gimpdevices.c
      ee844c63
    • Michael Natterer's avatar
      app: device manager refactoring part one · 21a0e550
      Michael Natterer authored
      Add a GimpDeviceManager object and take over most code from
      gimpdevices.c, but leave all functions in gimpdevices.c there as
      wrappers in order to make rebasing in gtk3-port simpler.
      21a0e550
  2. 19 Dec, 2010 1 commit
    • Michael Natterer's avatar
      app: add gimp_devices_add_widget() · 62b0e966
      Michael Natterer authored
      which is supposed to set up a widget for tablet events and make sure
      the context changes on device changes. "supposed" because everything
      is currently horribly broken on GTK+ 2.x. Use the function for all
      affected widgets except for the canvas.
      62b0e966
  3. 06 Dec, 2010 2 commits
  4. 16 Feb, 2010 1 commit
  5. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  6. 09 Dec, 2006 1 commit
  7. 27 Nov, 2005 1 commit
    • Michael Natterer's avatar
      added GdkDisplay member since there is no way fo figure the display a · 84fed896
      Michael Natterer authored
      2005-11-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdeviceinfo.[ch]: added GdkDisplay member since
      	there is no way fo figure the display a GdkDevice exists on.
      	Minor cleanups.
      
      	* app/widgets/gimpdevices.[ch]: connect to the GdkDeviceManager
      	and add input devices when displays are opened. Added API to get
      	the GimpContainer of devices.
      
      	* app/widgets/gimpdevicestatus.[ch]: don't just show the devices
      	of the default display. Instead get the device container from the
      	new API above and update the GUI when devices are added/removed.
      	Cleaned up the whole file quite a bit.
      84fed896
  8. 21 Jul, 2004 1 commit
    • Michael Natterer's avatar
      Enabled the various "Clear saved foobar now" buttons in prefs: · cc6288a4
      Michael Natterer authored
      2004-07-21  Michael Natterer  <mitch@gimp.org>
      
      	Enabled the various "Clear saved foobar now" buttons in prefs:
      
      	* app/gui/session.[ch]
      	* app/menus/menus.[ch]
      	* app/widgets/gimpdevices.[ch]: implemented the _clear()
      	functions: unlink() the rc file and set an internal flag that it
      	has been deleted. Added "gboolean always_save" parameter to the
      	_save() functions and don't save anything if it is FALSE and the
      	internal deletion flag has been set.
      
      	* app/gui/gui.c
      	* app/widgets/gimpdevicestatus.c: changed accordingly.
      
      	* app/gui/preferences-dialog.c: added callbacks for all "Save now"
      	and "Clear now" buttons and show error messages if clearing fails.
      	Inform the user that she has to restart GIMP to see the effect of
      	the clearing.
      cc6288a4
  9. 26 Oct, 2003 1 commit
    • Henrik Brix Andersen's avatar
      gimp/app/widgets/gimphelp-ids.h · e047cd8b
      Henrik Brix Andersen authored
      2003-10-26 Henrik Brix Andersen <brix@gimp.org>
      
      * gimp/app/widgets/gimphelp-ids.h
      * gimp/app/gui/preferences-dialog.c:
      - moved all session related settings to a new Session Management page
      - moved Web Browser setting to Help System page
      - changed Configure Input Devices to Configure Extended Input Devices
      
      * gimp/themes/Default/images/preferences/Makefile.am
      * gimp/themes/Default/images/preferences/session.png: re-added
      session.png
      
      * gimp/app/widgets/gimpdevices.h
      * gimp/app/widgets/gimpdevices.c (gimp_devices_clear): function
      added to be consistent with the rest of the session management
      routines. This function needs to be filled in.
      
      * gimp/app/widgets/gimptemplateeditor.c
      * gimp/app/widgets/gimpgrideditor.c: fixed spacing between widgets
      e047cd8b
  10. 28 May, 2002 1 commit
    • Michael Natterer's avatar
      override GObjectClass->constructor() and do the setup stuff there, not in · b7e3c716
      Michael Natterer authored
      2002-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.c: override GObjectClass->constructor() and
      	do the setup stuff there, not in gimp_context_new(). This way we
      	can create properly initialized contexts with g_object_new().
      
      	* app/widgets/gimpdeviceinfo.c: Removed the "gimp" property
      	again. Added a constructor() implementation and moved stuff there
      	from gimp_device_info_set_property(PROP_GIMP).
      
      	* app/config/gimpconfig-deserialize.c: made deserialization of
      	value arrays work by actually using the array any not just leaking
      	it ;)
      
      	* app/core/gimpcontainer.c: removed debugging output. Call
      	config_iface->deserialize(child, ...) again instead of calling
      	gimp_config_deserialize_properties() directly.
      
      	* app/widgets/gimpdevices.c: switch to using the new stuff for
      	devicerc.
      
      	* app/widgets/gimpdeviceinfo.[ch]
      	* app/widgets/gimpdevices.[ch]
      	* app/gimprc.c: removed all old gimprc-style devicerc stuff.
      
      	* app/gui/menus.c
      	* app/gui/test-commands.[ch]: removed devicerc testing entries
      	and callbacks.
      b7e3c716
  11. 24 May, 2002 1 commit
    • Michael Natterer's avatar
      app/config/gimpconfig.[ch] added "gint indent_level" to all serialization · b10ade1a
      Michael Natterer authored
      2002-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-serialize.[ch]: added "gint indent_level"
      	to all serialization functions. Added gimp_config_string_indent()
      	which indents a GString.
      
      	* app/config/gimprc.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpparasitelist.c: changed accordingly.
      
      	* app/core/gimpcontext.c: don't crash when serializing NULL object
      	properties.
      
      	* app/config/gimpscanner.[ch]: added gimp_scanner_parse_identifier().
      
      	* app/core/gimpcontainer.c: implement GimpConfigInterface.
      	Container serialization works, deserialization is not implemented yet.
      
      	* app/widgets/gimpdevices.[ch]: made
      	GimpDeviceManager->device_info_list a GimpList, not GList, added
      	testing functions for (de)serializing it.
      
      	* app/gui/menus.c
      	* app/gui/test-commands.[ch]: call the new test functions from
      	the <Toolbox>/File/Debug menu.
      b10ade1a
  12. 07 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed, chopped... · bcd208d9
      Michael Natterer authored
      2001-12-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/devices.[ch]: removed, chopped...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/gui/Makefile.am
      
      	* app/widgets/gimpdeviceinfo.[ch]
      	* app/widgets/gimpdevices.[ch]
      	* app/gui/device-status-dialog.[ch]
      	* app/gui/input-dialog.[ch]: ...and added here.
      
      	Made GimpToolInfo a GimpContext subclass. Create a GimpDeviceManager
      	struct in gimpdevices.c and attach it to the Gimp instance.
      
      	* app/core/gimp.[ch]: removed gimp_create_context(). It was a bad
      	idea in the first place beause it prevented GimpContext subclasses
      	from being be properly registered with their Gimp instance.
      
      	* app/core/gimpcontext.c: moved the stuff which used to be in
      	gimp_create_context() back here. Added a "gimp" property which
      	must be set on construction. Added a "dispose" implementation
      	which removes the context from it's Gimp's context_list.
      
      	* app/gimprc.c
      	* app/core/gimptoolinfo.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/toolbox.c
      	* app/tools/gimppainttool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpimagedock.c: changed accordingly.
      
      	* app/gui/tools-commands.[ch]: made all callback signatures
      	the same.
      
      	* app/gui/preferences-dialog.c: cleaned up the
      	display_format_string GtkCombo code.
      bcd208d9
  13. 01 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/main.c moved "message_handler" from here... · f77c7ade
      Michael Natterer authored
      2001-12-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/main.c
      	* app/appenv.h: moved "message_handler" from here...
      
      	* app/core/gimp.[ch]: ...to here. Added gimp_message() and a
      	"gui_message_func" pointer...
      
      	* app/gui/gui.c: ...which gets set here to gui_message().
      
      	* app/errors.c: don't include any gui stuff but simply call
      	gimp_message().
      
      	* app/app_procs.c: don't set "message_handler" here, it's done in
      	gui.c now.
      
      	* app/gui/error-console-dialog.[ch]: use gimp->message_handler.
      
      	* app/gui/dialogs-constructors.c: pass a Gimp pointer to
      	error_console_create().
      
      	* app/widgets/gimpwidgets-utils.[ch]: made the "message" parameter
      	of gimp_message_box() a const gchar*, not just gchar*.
      
      	* tools/pdbgen/pdb/message.pdb: use gimp->message_handler, don't
      	include "appenv.h".
      
      	* app/pdb/message_cmds.c: regenerated.
      
      	* app/devices.[ch]: cleanup before chopping: removed global
      	variable "current_device", added devices_get_current(), pass lots
      	of Gimp pointers around.
      
      	* app/gimprc.c: pass a Gimp pointer to devices_rc_update().
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/toolbox.c
      	* app/tools/gimppainttool.c: use devices_get_current(), pass Gimp
      	pointers to all devices_foo() functions.
      
      	* app/core/gimpimage-mask.c: no need to include "pdb/pdb-types.h".
      f77c7ade
  14. 17 Nov, 2001 1 commit
    • Michael Natterer's avatar
      Made --no-interface not calling gtk_init() (and thus not contacting the X · 14098dc0
      Michael Natterer authored
      2001-11-17  Michael Natterer  <mitch@gimp.org>
      
      	Made --no-interface not calling gtk_init() (and thus not
      	contacting the X server) any more. (Fixes #58961).
      
      	* app/core/gimp.[ch]: added two new function pointers
      	"gui_main_loop_func" and "gui_main_loop_quit_func" and an own
      	stack of GMainLoops which is used if they are not set.
      
      	* app/gui/gui.[ch]: added main loop functions here and set them as
      	pointers in the Gimp instance. Separated gui_libs_init() from
      	gui_themes_init() so it can be used as replacement for gtk_init()
      	and be called before command line parsing.
      
      	* app/main.c: check for "--no-interface" before initializing
      	anything. Added a "--g-fatal-warnings" option (cut'n'paste from
      	gtkmain.c). Added a check for "--" (end of options).
      
      	* app/app_procs.c: call the new gimp_main_loop() functions,
      	call gui_themes_init().
      
      	* app/devices.[ch]: reduce usage of "the_gimp" by passing "Gimp"
      	pointers to some functions.
      
      	* app/plug_in.c: some ugly checks for the_gimp->no_interface which
      	will go away once this file is core/ui chopped. Call
      	gimp_main_loop() stuff instead of gtk_main().
      
      	* app/core/gimptoolinfo.c: allow passing a NUL GdkPixbuf pointer.
      14098dc0
  15. 19 Aug, 2001 1 commit
    • Sven Neumann's avatar
      app/devices.h app/disp_callbacks.c applied a patch from · d896cf59
      Sven Neumann authored
      2001-08-19  Sven Neumann  <sven@gimp.org>
      
      	* app/devices.h
      	* app/disp_callbacks.c
      	* app/interface.c: applied a patch from <David.Odin@bigfoot.com> that
      	changes some function prototype to return gboolean instead of gint.
      
      	* app/tools/gimpblendtool.c: pixel_regions_register() and
      	pixel_regions_process() return a gpointer, not (gpointer *).
      d896cf59
  16. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  17. 18 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] · 91471766
      Michael Natterer authored
      2001-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/devices.[ch]
      	* app/gui/about-dialog.[ch]
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/tips-dialog.[ch]: return a GtkWidget from the constructor.
      
      	* app/gui/dialogs.c
      	* app/gui/dialogs-constructors.[ch]: register them with the dialog
      	factory.
      
      	* app/gui/commands.[ch]
      	* app/gui/menus.c: removed their old callbacks.
      
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-editor.[ch]: no need to show or raise the shell
      	(that's done by the dialog factory now).
      
      	* app/widgets/gimpdialogfactory.c: actually do what the
      	"singleton" and "session_managed" flags say.
      91471766
  18. 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
  19. 21 Feb, 2001 1 commit
    • Michael Natterer's avatar
      Made the tool system work again and integrated it back with the · 99c52018
      Michael Natterer authored
      2001-02-21  Michael Natterer  <mitch@gimp.org>
      
      	Made the tool system work again and integrated it back with the
      	GimpContext. It's a hack between old, new and freshly hacked
      	stuff. There are still lots of warnings but at least we can switch
      	tools again.
      
      	* app/tools/Makefile.am
      	* app/tools/gimptoolinfo.[ch]: resurrected as real object.
      	The GimpToolInfo objects are derived from GimpData, which gives
      	us the tool icon stuff for free. Also, we need a list of _objects_
      	which is allocated all the time. All tools are required to have
      	a "register" function which registers themselves with the list
      	of GimpToolInfo objects which is maintained by the tool manager.
      
      	* app/tools/tool.[ch]: made a real GtkObject with properly named
      	functions out of it. The former "active_tool_control" is of
      	course not the default implementation of the tool's "control"
      	method but a hack _around_ it, so it went to the tool manager.
      
      	* app/tools/color_picker.[ch]
      	* app/tools/measure.[ch]: ditto. Added "register" functions and
      	"destroy" implementations so the tools go away after use.
      
      	* app/tools/tool_manager.[ch]: badly hacked at the moment to keep
      	both the list of class structures _and_ the tool info list.
      
      	* app/tools/tools.c: call the tools' register functions.
      
      	* app/gimpcontext.[ch]: store a pointer to a GimpToolInfo object
      	as "active_tool" in the context, so we're independent of tools
      	being allocated or not. It's treated just like a brush or pattern
      	now.
      
      	* app/gimpdnd.[ch]: made tool DND work like all other DND types.
      
      	* app/devices.[ch]: also here: the tool is just a normal data object
      	now, resulting in removal of lots of code.
      
      	* app/commands.c
      	* app/context_manager.c: updated the tool select and context stuff
      	to work again.
      
      	* app/toolbox.c: removed the old pixmap buttons and put GimpPreviews
      	inside the tool buttons. Still needs an own preview type to
      	look nice.
      
      	* app/disp_callbacks.c
      	* app/about_dialog.c
      	* app/app_procs.c
      	* app/appenums.h
      	* app/apptypes.h
      	* app/gimage.c
      	* app/gimppalette.c
      	* app/gimppreview.c
      	* app/gimprc.c
      	* app/info_window.c
      	* app/menus.c
      	* app/palette_select.h
      	* app/scale.c
      	* app/scroll.c: lots of changes to make it work again.
      99c52018
  20. 14 Feb, 2001 2 commits
    • Michael Natterer's avatar
      added a note about apptype.h and about not including headers in headers. · 22371de3
      Michael Natterer authored
      2001-02-14  Michael Natterer  <mitch@gimp.org>
      
      	* HACKING: added a note about apptype.h and about not including
      	headers in headers.
      
      	* app/apptypes.h: added GimpTool and BitmapCursor.
      
      	* app/cursorutil.h
      	* app/devices.h
      	* app/draw_core.h
      	* app/tools/color_picker.h
      	* app/tools/tool.h
      	* app/tools/tool_options.h
      	* app/gimpcontext.h: removed includes of "tools/tool.h"
      
      	* app/gimprc.[ch]: indentadion cleanup, added
      	"module_db_load_inhibit".
      
      	* app/module_db.c: removed the above variable here.
      
      	* app/gimpdata.[ch]: added a vitrual "duplicate" method.
      
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern.[ch]: all "load", "new" and "get_standard"
      	functions return a GimpData pointer now.
      
      	* app/gimpdatafactory.[ch]: made some stuff const.
      
      	* app/gimpdatafactoryview.c: activate the "duplicate" button and
      	set the initial button sensitivity correctly.
      
      	* app/brush_select.c
      	* app/gradient_select.c
      	* app/pattern_select.c: use the new GimpDataFactoryView.
      
      	* libgimp/Makefile.am: grouped the file to sort out what _may_
      	go to subdirs or separate libs.
      
      	* libgimp/gimpenv.[ch]: added many "const".
      
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/gradient_editor.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/user_install.c: many related changes.
      
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpvector.[ch]: minor cleanups.
      
      	* plug-ins/script-fu/script-fu.c: gimp_data_directory() is const now.
      22371de3
    • Nate Summers's avatar
      prototype for an extension that allows gmodules as plugins. Known bug: · 35ac032f
      Nate Summers authored
              * plug-ins/plugin-helper/*: prototype for an extension that allows
              gmodules as plugins.  Known bug: crashes on gmodules with a static "query" function
      
              * app/tools/tool.c
              * app/tools/tool.h: created new GimpTool object.  Did away with ToolInfo.
              Most tools still need to be ported over to the new api.
              * plug-ins/script-fu/script-fu-scripts.c: fixed typo in comment.  Pathetic, huh?
      35ac032f
  21. 15 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/color_notebook.[ch] app/color_panel.[ch] app/gimpcontext.[ch] use · dc9cf1a2
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_panel.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpdnd.[ch]: use GimpRGB instead of a random selection out of
      	guchar, gint, guchar[], blah...
      
      	* app/blend.c
      	* app/by_color_select.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_picker.c
      	* app/color_select.c
      	* app/colormap_dialog.c
      	* app/commands.c
      	* app/devices.[ch]
      	* app/disp_callbacks.[ch]
      	* app/drawable.c
      	* app/gimpimage.c
      	* app/gimprc.c
      	* app/gradient.c
      	* app/paint_core.c
      	* app/palette.c
      	* app/palette_cmds.c
      	* app/qmask.c
      	* tools/pdbgen/pdb/palette.pdb: changed accordingly.
      dc9cf1a2
  22. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  23. 26 Oct, 1999 1 commit
  24. 14 Jan, 1999 1 commit
    • Manish Singh's avatar
      app/colormaps.c app/devices.h minor cleanups · a1d5f3ab
      Manish Singh authored
      * app/colormaps.c
      * app/devices.h
      * app/tips_dialog.h: minor cleanups
      
      * app/gimpimage.c: the dirty/clean handling seemed weird, and wasn't
      correct in all cases. Just do a straight increment/decrement to
      try to fix it.
      
      -Yosh
      a1d5f3ab
  25. 25 Oct, 1998 1 commit
  26. 13 Aug, 1998 1 commit
  27. 31 Jul, 1998 1 commit
  28. 21 Jul, 1998 1 commit
  29. 06 Jun, 1998 1 commit