1. 20 Feb, 2000 1 commit
  2. 08 Feb, 2000 2 commits
  3. 06 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/[all files using the dialog or action area constructors] added a · 884f2235
      Michael Natterer authored
      2000-01-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/[all files using the dialog or action area constructors]
      	* libgimp/gimpdialog.[ch]: added a "slot_object" agrument to the
      	constructors' va_args lists to allow the action area buttons to be
      	connected wich gtk_signal_connect_object().
      
      	* libgimp/gimphelp.c: show the correct help page for plugins.
      
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/aa.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/grid.c
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/helpbrowser.c: use the dialog constructor
      	and enable the "F1" help key.
      884f2235
  4. 22 Nov, 1999 1 commit
  5. 20 Nov, 1999 1 commit
    • Michael Natterer's avatar
      s/sprintf/g_snprintf · e5aad8b8
      Michael Natterer authored
      1999-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/devices.c: s/sprintf/g_snprintf
      
      	* app/color_balance.[ch]: spinbuttons instead of text entries.
      e5aad8b8
  6. 14 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/airbrush.c app/apptypes.h app/brushes_cmds.c · 0c922cd3
      Michael Natterer authored
      1999-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/airbrush.c
      	* app/apptypes.h
      	* app/brushes_cmds.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* app/bucket_fill.c
      	* app/clone.c
      	* app/gimpbrushpipe.c
      	* app/paint_core.c
      	* app/patterns.h
      	* app/patterns_cmds.c
      	* tools/pdbgen/pdb/patterns.pdb: removed the GimpBrushP and
      	GPatternP types and use ordinary pointers instead.
      
      	The following stuff makes the "no_data" behaviour consistent. As a
      	side-effect it should make the gimp work when there are _really_ no
      	brushes/patterns/gradients.
      
      	* app/brush_select.c
      	* app/pattern_select.c: set the initial brush/pattern name to "No
      	Brushes/Patterns available" instead of "Active".
      
      	* app/devices.c: set the device contexts' brush/pattern/gradient
      	names if we started with no_data, so we find them on refresh.
      
      	* app/gimpbrushlist.c: set the name of the standard_brush to
      	"Standard".
      
      	* app/gimpcontext.c: don't replace the current
      	brush/pattern/gradient's name if the new one to be set is the
      	standard one. Together with the change in devices.c, this ensures
      	that we get what is set in devicerc. Minor fixes.
      
      	* app/gradient.c: changed gradients_init() to work like the other
      	data init functions. Only insert a default gradient in the
      	gradients list when the editor is opened (this means that the
      	gradients now behave like brushes/patterns when we start with
      	"no_data").
      	New function gradient_update() avoids tons of useless redraws of
      	all clist gradient previews whenever the gradient editor wants to
      	update it's large preview.
      
      	* app/gradient_select.c: don't segfault when the user tries to
      	drag from an empty gradient list.
      
      	* app/patterns.c: set the index of the standard_pattern to -1 to
      	indicate that it's not part of the pattern list.
      0c922cd3
  7. 03 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/brush_select.[ch] app/gradient.c app/gradient_select.[ch] · 0302ed0a
      Michael Natterer authored
      1999-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/brush_select.[ch]
      	* app/gradient.c
      	* app/gradient_select.[ch]
      	* app/interface.[ch]
      	* app/palette.c
      	* app/pattern_select.[ch]: allow dragging a brush/pattern/... from
      	the selections with mouse2 without changing the active element in
      	the dialog.
      
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_panel.c
      	* app/color_select.c
      	* app/colormap_dialog.i.c
      	* app/devices.c
      	* app/gimpcontextpreview.[ch]
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]
      	* app/indicator_area.c
      	* app/interface.[ch]
      	* app/layers_dialog.c
      	* app/lc_dialog.c
      	* app/ops_buttons.[ch]
      	* app/paths_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.[ch]: wrapped gtk_tooltips_set_tip() with
      	gimp_help_set_help_data() and moved it to gimphelp.[ch].
      
      	This should (hopefully) be the final state of the help system. The
      	New function allows a "private tip" to be set without a visible
      	tooltip. This way the tooltips inspector (shift+F1) can search for
      	help data in the parent containers of the clicked widget. E.g. the
      	ops buttons in the layers dialog have private tips like
      	"#new_layer" which gets composed with the help data of the layers
      	dialog notebook page resulting in a complete help path.
      
      	Allow mouse2 for all dnd operations. Mouse1 still works like before.
      0302ed0a
  8. 28 Oct, 1999 1 commit
  9. 26 Oct, 1999 1 commit
  10. 09 Oct, 1999 1 commit
  11. 03 Oct, 1999 1 commit
    • Michael Natterer's avatar
      The GIMP Help System part II: press "F1" while browsing a menu to show the · a11f3334
      Michael Natterer authored
      1999-10-03  Michael Natterer  <mitch@gimp.org>
      
      	The GIMP Help System part II: press "F1" while browsing a menu
      	to show the help page for the menu entry you're currently over
      	with the mouse.
      
      	* app/color_notebook.c: all color selectors have to register with
      	a help page now.
      
      	* app/color_select.[ch]: register with a help string. Removed
      	the dialog part of the files because it's use was deprecated
      	anyway (use color notebooks instead).
      
      	* app/colormap_dialog.i.c
      	* app/colormap_dialog.p.h
      	* app/palette.c
      	* app/palette_select.c: use a color notebook instead of a color
      	selector.
      
      	* app/gimphelp.c
      	* app/gimpui.c: minor changes.
      
      	* app/gimprc.c: "use help" defaults to TRUE now.
      
      	* app/lc_dialog.c
      	* app/lc_dialogP.h: a special help function which shows the help
      	for the currently selected notebook page.
      
      	* app/menus.c: some weird code which catches "key_press_event"
      	in all menu shells and pops up the corresp. help page for the
      	selected item. Embedded the GtkItemFactoryEntry in a new
      	GimpItemFactoryEntry to allow a help path to be stored.
      	Will be partially exported and moved to gimphelp.[ch] later to
      	catch key_press for plug-in menu items (don't try this now ;-)
      
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/file_new_dialog.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gdisplay_color.c
      	* app/gdisplay_color_ui.c
      	* app/gdisplay_ops.c
      	* app/global_edit.c
      	* app/gradient.c
      	* app/gradient_select.c
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/module_db.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/preferences_dialog.c
      	* app/qmask.c
      	* app/resize.c
      	* app/undo_history.c: changed all dialog constructors to point
      	to the right place in the new help file structure.
      
      	* configure.in
      	* help/*: the basic new help file structure.
      
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: register a help page.
      
      	* plug-ins/helpbrowser/helpbrowser.c: load the help files
      	according to the new help file structure.
      a11f3334
  12. 27 Sep, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimphelp.[ch] new files · 002aa905
      Michael Natterer authored
      1999-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]: new files
      
      	* app/interface.[ch]
      	* app/preferences_dialog.[ch]
      
      	The GIMP Help System part 1: Press "F1" in any dialog to pop up
      	the help page for this dialog.
      
      	Moved the widget constructors from preferences_dialog.[ch] and the
      	query boxes from interface.[ch] to gimpui.[ch].
      
      	The dialog constructors take a help_func and a help_data
      	parameter and install the "F1" accelerator which emits the new
      	"help" signal.
      
      	The "help" signal callback calls help_func(help_data) which finally
      	has to call gimp_help() which in turn invokes the help browser.
      
      	Still have to find a proper way to (1) prevent "F1" being assigned
      	to some menu item and (2) to catch "F1" while browsing the menu
      	trees in order to pop up the help for the selected item.
      
      	* app/menus.c: a <Toolbox>/File/Help... menu item.
      	* app/commands.[ch]: a command callback for the "Help..." menu item.
      
      	* app/gimprc.[ch]: new boolean gimprc variable "use_help".
      
      	* app/info_dialog.[ch]: pass a help function and data to the info
      	dialog constructor.
      
      	* app/tools.[ch]: store the tools help page names in the tool info
      	structure. Export a special tools_help_func() which shows the help
      	page for the active tool.
      
      	* app/[all files calling a dialog constructor]: pass the dialog's
      	help page to the constructor.
      
      	Most dialogs are now created by gimp_dialog_new() which also sets
      	up the action_area and the WM delete event callback, so I removed
      	the resp. code from these files.
      
      	Fixed some minor bugs and did some other stuff but didn't change
      	any logic except dialog creation.
      
      	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
      	help browser and don't install any menu path (all done in
      	app/gimphelp.[ch] now).
      002aa905
  13. 05 Sep, 1999 1 commit
  14. 04 Sep, 1999 3 commits
  15. 01 Sep, 1999 1 commit
  16. 30 Aug, 1999 1 commit
  17. 18 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Actually use the enum types GimpImageType, GimpImageBaseType, · f6858e21
      Tor Lillqvist authored
      	* app/*.[ch]: Actually use the enum types GimpImageType,
      	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
      	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
      	of just int or gint. Hopefully I catched most of the places
      	where these should be used.
      
      	Add an enum ConvolutionType, suffix the too general constants
      	NORMAL, ABSOLUTE and NEGATIVE with _CONVOL. Use NORMAL_MODE
      	instead of NORMAL in some places (this was what was intended). Fix
      	some minor gccisms.
      
      	* app/apptypes.h: New file. This file contains the above
      	enumeration types, and some opaque struct typedefs. It was
      	necessary to collect these in one header that doesn't include
      	other headers, because when we started using the above mentioned
      	types in the headers, all hell broke loose because of the
      	spaghetti-like cross-inclusion mess between headers.
      
      	(An example: Header A includes header B, which includes header C
      	which includes A. B uses a type defined in A. This is not defined,
      	because A hasn't defined it yet at the point where it includes B,
      	and A included from B of course is skipped as we already are
      	reading A.)
      f6858e21
  18. 12 Aug, 1999 1 commit
  19. 22 Jul, 1999 1 commit
    • Michael Natterer's avatar
      new ui for the "Layer Offset" dialog. · a4c1e8a5
      Michael Natterer authored
      1999-07-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channel_ops.[ch]: new ui for the "Layer Offset" dialog.
      
      	* app/channels_dialog.c
      	* app/layers_dialog.c: major code cleanup: Folded some callbacks
      	into common ones, "widget" instead of "w", indentation, ...
      
      	* app/commands.c
      	* app/interface.[ch]
      	* app/global_edit.c: the query boxes must be shown by the caller
      	now. There's no need to split up the string for the message box
      	manually as the Gtk 1.2 label widget handles newlines corectly.
      	Added the "edge_lock" toggle to the "Shrink Selection" dialog.
      	Nicer spacings for the query and message boxes.
      
      	* app/ink.c: tried to grab the pointer in the blob preview but
      	failed. Left the code there as a reminder (commented out).
      
      	* app/menus.c: reordered <Image>/Select.
      
      	I was bored and grep-ed the sources for ancient or deprecated stuff:
      
      	* app/about_dialog.[ch]
      	* app/actionarea.[ch]
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/color_select.c
      	* app/convert.c
      	* app/devices.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/histogram_tool.[ch]
      	* app/info_window.c
      	* app/install.c
      	* app/ops_buttons.c
      	* app/palette.c
      	* app/palette_select.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/resize.c
      	* app/scale_toolc.c
      	* app/text_tool.c:
      	s/container_border_width/container_set_border_width/g,
      	s/sprintf/g_snprintf/g, replaced some constant string lengths with
      	strlen(x).
      
      	* app/bezier_select.c
      	* app/blend.c
      	* app/boundary.c
      	* app/errors.[ch]
      	* app/free_select.c
      	* app/gimpbrushlist.c
      	* app/gimprc.c
      	* app/iscissors.c
      	* app/main.c
      	* app/patterns.[ch]
      	* app/text_tool.c: namespace fanaticism: prefixed all gimp error
      	functions with "gimp_" and formated the messages more uniformly.
      
      	* app/gradient.c
      	* app/gradient_select.c: same stuff as above for the ui
      	code. There are still some sub-dialogs which need cleanup.
      
      	Did some cleanup in most of these files: prototypes, removed tons
      	of #include's, i18n fixes, s/w/widget/ as above, indentation, ...
      a4c1e8a5
  20. 19 Jun, 1999 2 commits
  21. 18 Jun, 1999 1 commit
  22. 14 Jun, 1999 1 commit
    • Seth Burgess's avatar
      Added ability to turn off the brush and pattern indicators. · 8c954467
      Seth Burgess authored
      Also fixed a small bug in the pattern code that let a pattern stay
      up if the user focussed on another widget before releasing mouse button.
      
      Modified Files:
       	ChangeLog app/devices.c app/gimprc.c app/gimprc.h
       	app/interface.c app/preferences_dialog.c app/indicator_area.c
      8c954467
  23. 03 Jun, 1999 1 commit
  24. 02 Jun, 1999 1 commit
  25. 05 Apr, 1999 1 commit
    • Michael Natterer's avatar
      #include <gtk/gtk.h>. · 24ffa60f
      Michael Natterer authored
      1999-04-05  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/action_area.h: #include <gtk/gtk.h>.
      
      	* app/devices.c: made the "Input Devices" dialog follow the action
      	area conventions. Grab pointer in the pattern/brush preview popups.
      
      	* app/errorconsole.c: use the actionarea functions.
      
      	* app/gimpunit.c: had the wrong copyright header.
      
      	* app/info_dialog.c: correctly set the spinbuttons' digits.
      
      	* app/perspectice_tool.c: removed #include <stdio.h> again but
      	didn't forget to s/sprintf/g_snprintf/ this time.
      
      	* app/preferences_dialog.c: unified order of varible definitions,
      	removed some unused variables.
      
      	* app/crop.c
      	* app/file_new_dialog.c
      	* app/info_dialog.[ch]
      	* app/interface.c
      	* app/preferences_dialog.c
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]: prepared for "percent" in size
      	entries.
      24ffa60f
  26. 27 Mar, 1999 1 commit
    • Michael Natterer's avatar
      app/brush_select.c app/channels_dialog.c app/color_select.c app/devices.c · 2f34216a
      Michael Natterer authored
      1999-03-27  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              * app/brush_select.c
              * app/channels_dialog.c
              * app/color_select.c
              * app/devices.c
              * app/file_new_dialog.c
              * app/gradient_select.c
              * app/palette_select.c
              * app/pattern_select.c: applied a patch from Marco Lamberto
              <lm@geocities.com> which unifies actionareas ("Cancel" rightmost
              and default). Did the same in some more dialogs.
      
              * libgimp/gimpfileselection.c
              * libgimp/gimppatheditor.c
              * app/preferences_dialog.[ch]: completely reworked the preferences
              dialog:
      
              - select the notebook's pages with a tree.
              - reordered the categories. Please give me feedback, this really
                needs to be intuitive.
              - removed lots of unused #include's.
              - turned the prefs. dialog into a test site for new convenience
                constructors. These changes are however not visible. Flame me
                until they're perfect ;) When finished, this stuff can save
                *many* lines of gtk+ code.
      
              * modules/colorsel_gtk.c: made it circular.
      2f34216a
  27. 11 Mar, 1999 1 commit
  28. 08 Mar, 1999 1 commit
    • Tor Lillqvist's avatar
      A line had been deleted by mistake. · c8f7dfc8
      Tor Lillqvist authored
      * app/devices.c (devices_write_rc): A line had been deleted by
        mistake.
      
      * app/frac.c: Removed some CRs.
      
      * app/install.c (install_run): Typo.
      
      * modules/module.def: New file.
      
      * Makefile.am app/Makefile.am libgimp/Makefile.am
        modules/Makefile.am: Added Win32 implementation files to
        distributed file set.
      c8f7dfc8
  29. 07 Mar, 1999 1 commit
  30. 06 Feb, 1999 1 commit
    • GMT 1999 Andy Thomas's avatar
      Changed:- plug-ins/plugindetails/plugindetails.c app/devices.c · 21b8bcde
      GMT 1999 Andy Thomas authored
      
      Sat Feb  6 16:22:36 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>
      
      	Changed:-
      		plug-ins/plugindetails/plugindetails.c
      		app/devices.c
      
      	Tidy up of plugindesc UI. Can now resize correctly.
      
      	Fixed problem with session saving. If the active dialog
      	was not one on the toolbox (eg Histogram) then an error would
      	be produced the next time gimp is run up.
      21b8bcde
  31. 10 Jan, 1999 1 commit
    • GMT 1999 Andy Thomas's avatar
      New app/dialog_handler.c app/dialog_handler.h · 01d2a205
      GMT 1999 Andy Thomas authored
      
      Sun Jan 10 22:41:51 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>
      
      	New
      	* app/dialog_handler.c
      	* app/dialog_handler.h
      
      	Changed
      	* app/disp_callbacks.c
      	* app/gradient_select.c
      	* app/tools.c
      	* app/interface.c
      	* app/patterns.c
      	* app/gimpbrushlist.c
      	* app/palette.c
      	* app/layers_dialog.c
      	* app/devices.c
      	* app/errorconsole.c
      
      	Can now hide/show all main dialogs using the TAB key in any window.
      	However....
      	there is a bug in gtk that causes the Gimp the crash if you show
      	and then hide a lot of dialogs (eg if you have all dialogs visible
      	and press the TAB key repeatedly). I have email-ed an example to
      	the gtk bug list.
      	Also I can't seem to be able to catch the SHIFT-TAB combination
      	(suggestions welcome ;-) so the first press of the tab hide all
      	dialogs the second press reshows only the toolbox and the third
      	press reshows all. Comments please if you find this behaviour
      	non-intuitive.
      01d2a205
  32. 25 Dec, 1998 1 commit
  33. 27 Nov, 1998 1 commit
  34. 26 Nov, 1998 1 commit
  35. 25 Oct, 1998 1 commit
  36. 14 Oct, 1998 1 commit
    • EDT 1998 Adrian Likins's avatar
      Lots of ii8n stuff here and some additions to the de.po. Applied · 25721826
      EDT 1998 Adrian Likins authored
      Wed Oct 14 17:46:15 EDT 1998 Adrian Likins <adrian@gimp.org>
      
              * app/*, po/de.po, de/POTFILES.in, libgimp/gimpintl.h:
              Lots of ii8n stuff here and some additions to the de.po.
              Applied gimp-egger-981005-1 ,gimp-egger-981006-1,
              gimp-egger-981007-1, gimp-egger-981008-1,
              gimp-egger-981009-1.patch, gimp-egger-981010-1.patch
      
              * plug-in/guillotine/guillotine.c: added the coordinates
              of the split images from the original image to the title.
              ie foo.jpg (0,0) for the image in the topleft.
      
              * plug-in/script-fu/scripts/neon-logo.scm,
              perspective-shadow.scm, predator.scm,rendermap.scm,
              ripply-anim.scm, select_to_image.scm,swirltile.scm,
              xach-effect.scm: updated scripts to use new script-fu stuff
      
      wooo boy! a big un!
      
      	in testing this, it looks like some of the po files are busted.
      but the code stuff seems okay.
      
      -adrian
      25721826