1. 28 Feb, 2002 2 commits
    • Sven Neumann's avatar
      take an optional pixbuf as eye-candy. · 4ba6229e
      Sven Neumann authored
      2002-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/resolution-calibrate-dialog.[ch]: take an optional pixbuf
      	as eye-candy.
      
      	* app/gui/preferences-dialog.c
      	* app/gui/user-install-dialog.c: changed accordingly.
      4ba6229e
    • Michael Natterer's avatar
      Sven Naumann <sven@gimp.org> · 744726d4
      Michael Natterer authored
      2002-02-28  Michael Natterer  <mitch@gimp.org>
                  Sven Naumann  <sven@gimp.org>
      
      	* configure.in
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/preferences/Makefile.am: new directory
      	for themeable preferences icons.
      
      	* themes/Default/images/preferences/default-comment.png
      	* themes/Default/images/preferences/display.png
      	* themes/Default/images/preferences/environment.png
      	* themes/Default/images/preferences/folders.png
      	* themes/Default/images/preferences/help-system.png
      	* themes/Default/images/preferences/image-windows.png
      	* themes/Default/images/preferences/interface.png
      	* themes/Default/images/preferences/monitor.png
      	* themes/Default/images/preferences/new-image.png
      	* themes/Default/images/preferences/session.png
      	* themes/Default/images/preferences/tool-options.png: added some
      	GPL icons from Jimmac's site (http://jimmac.musichall.cz/).
      
      	* app/gui/gui.[ch]: added gui_themes_get_theme_dir() so we can find
      	icons which are loaded on demand.
      
      	* app/gui/preferences-dialog.c: added the icons to the tree and
      	the notebook page headers. Cleaned up and reduced the code a lot
      	by adding utility functions prefs_table_new() and
      	prefs_check_button_new().
      
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-callbacks.[ch]: added a "Default"
      	menu entry to the display's color button context menu so we can
      	reset the padding color to the theme's bg color.
      744726d4
  2. 26 Feb, 2002 3 commits
    • Sven Neumann's avatar
      app/gui/tips-dialog.c added support for simple text markup. · 3ed06437
      Sven Neumann authored
      2002-02-26  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/tips-dialog.c
      	* app/gui/tips-parser.c: added support for simple text markup.
      
      	* tips/gimp-tips.xml.in: document and use the new markup tags.
      3ed06437
    • Michael Natterer's avatar
      added a "item_activate_func" to the struct and the constructor so we can · 17c27e5e
      Michael Natterer authored
      2002-02-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpitemlistview.[ch]: added a "item_activate_func"
      	to the struct and the constructor so we can distinguish double
      	click from right click in the callbacks.
      
      	* app/widgets/gimpvectorslistview.[ch]: added a "item_stroke_func".
      
      	* app/widgets/gimpchannellistview.c: reorder the "To Selection" button.
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      
      	* app/gui/menus.c: added separators and some new items to the
      	vectors menu. Use the SELECTION_REPLACE, _ADD, ... icons for
      	the resp. menu items.
      
      	* app/gui/vectors-commands.[ch]: added empty callbacks for the new
      	menu items, put the stroke stuff to an own function which is used
      	as "item_stroke_func" when creating GimpVectorsListViews.
      17c27e5e
    • Sven Neumann's avatar
      some documentation can't hurt. · 9c9b152c
      Sven Neumann authored
      2002-02-26  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/tips-parser.c: some documentation can't hurt.
      
      	* app/tools/Makefile.am
      	* app/paint/Makfile.am
      	* app/vectors/Makfile.am
      	* plug-ins/tools/Makefile.am: fixed dist target.
      9c9b152c
  3. 25 Feb, 2002 6 commits
    • Sven Neumann's avatar
      changed dot to underscore in implementation of gimp_temp_name(). Fixes bug · b95b4884
      Sven Neumann authored
      2002-02-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/fileops.pdb: changed dot to underscore in
      	implementation of gimp_temp_name(). Fixes bug #72324.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      
      	* Makefile.am
      	* tips/update.sh: added a script to update po files.
      b95b4884
    • Sven Neumann's avatar
      app/gui/tips-dialog.c added proper error handling. This completes the new · feeed3ab
      Sven Neumann authored
      2002-02-25  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/tips-dialog.c
      	* app/gui/tips-parser.c: added proper error handling. This completes
      	the new XML-based tips system that closes bug #68846.
      feeed3ab
    • Sven Neumann's avatar
      updated · 80aa8233
      Sven Neumann authored
      2002-02-25  Sven Neumann  <sven@gimp.org>
      
      	* README.i18n: updated
      
      	* app/gui/tips-dialog.c
      	* app/gui/tips-parser.[ch]: dropped the locale matching magic since
      	it would never work for all cases. Instead introduced a special
      	message so translators can specify the exact tips locale.
      80aa8233
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new base class for something · cdf2a90b
      Michael Natterer authored
      2002-02-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpitem.[ch]: new base class for something which is a
      	child of an image, has a PDB ID, a tattoo, parasites and emits
      	a "removed" signal.
      
      	* app/core/gimpdrawable.[ch]
      	* app/vectors/gimpvectors.[ch]: derive from GimpItem. Removed
      	lots of stuff from GimpDrawable.
      
      	* app/core/gimp.[ch]: changed gimp->drawable_table and
      	gimp->next_drawable_ID to gimp->item_table and gimp->next_item_id.
      
      	* app/undo.[ch]: s/undo_push_drawable_parasite/undo_push_item_parasite/,
      	minor cleanups.
      
      	* app/core/gimplayer.[ch]: changed gimp_layer_new_from_tiles() and
      	gimp_layer_new_from_drawable() to take the "dest_gimage" as
      	second, not first parameter.
      
      	* app/image_map.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-histogram.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-pick-color.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-save.c
      	* app/gui/channels-commands.c
      	* app/gui/file-save-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/toolbox.c
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/plug-in/plug-in.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimppainttool.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/widgets/gimpdrawablepreview.c: changed accordingly.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpitemlistview.[ch]: new widget implementing most
      	of the stuff formerly done by GimpDrawableListView.
      
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimplayerlistview.c: changed accordingly.
      
      	* app/widgets/gimpdnd.[ch]: added a vectors DND type.
      
      	* app/gui/menus.c
      	* app/gui/dialogs.c
      	* app/gui/dialogs-constructors.[ch]: added a vectors dialog and
      	a vectors item_factory.
      
      	* app/gui/Makefile.am
      	* app/gui/vectors-commands.[ch]: new files implementing the
      	callbacks for the new vectors dialog and item_factory.
      
      	* app/pdb/pdb_glue.h: some more ugly hacks to keep intermediate
      	perl code working...
      
      	* tools/pdbgen/pdb.pl: added a vectors type, use GimpItem for all
      	ID lookups.
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/misc_tools.pdb
      	* tools/pdbgen/pdb/parasite.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: misc changes according to
      	stuff above.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      cdf2a90b
    • Sven Neumann's avatar
      strip newlines, tabs and adjacent spaces from string values. Added a naive · c3efdd2a
      Sven Neumann authored
      2002-02-25  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/tips-parser.[ch]: strip newlines, tabs and adjacent spaces
      	from string values. Added a naive locale match algorithm. We'll see
      	how well it works in real life...
      
      	* app/gui/tips-dialog.c: call gimp_tips_from_file() with current
      	locale. Let GTK+ do the line breaks, assorted cosmetic changes.
      
      	* tips/de.po: stripped newlines from translation.
      c3efdd2a
    • Sven Neumann's avatar
      app/gui/Makefile.am new files. A simple XML parser for the gimp-tips.xml · d7127846
      Sven Neumann authored
      2002-02-25  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/Makefile.am
      	* app/gui/tips-parser.[ch]: new files. A simple XML parser for the
      	gimp-tips.xml file.
      
      	* app/gui/tips-dialog.c: Removed old gimp_tips.txt parsing code and
      	switched to use gimp-tips.xml with the new parser. This needs some
      	more work ...
      d7127846
  4. 17 Feb, 2002 1 commit
  5. 12 Feb, 2002 4 commits
    • Michael Natterer's avatar
      merged fix for #63741 from stable branch, minor cleanup. · fd30019a
      Michael Natterer authored
      2002-02-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/resize-dialog.c: merged fix for #63741 from stable
      	branch, minor cleanup.
      fd30019a
    • Sven Neumann's avatar
      app/gui/preferences-dialog.c changed "Nearest Neighbor" interpolation to · bc6fd092
      Sven Neumann authored
      2002-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c: changed "Nearest Neighbor" interpolation
      	to "None".
      bc6fd092
    • Sven Neumann's avatar
      renamed GimpInterpolationType values to something sane and unexported it · 04c995fb
      Sven Neumann authored
      2002-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base-enums.h: renamed GimpInterpolationType values to
      	something sane and unexported it from the PDB since it was never
      	used in any PDB calls.
      
      	* app/gimprc.c
      	* app/config/gimpcoreconfig.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimplayer.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/paint-funcs/paint-funcs.c
      	* app/pdb/transform_tools_cmds.c
      	* app/tools/transform_options.c
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      04c995fb
    • Michael Natterer's avatar
      Made the interpolation type configurable in the scale and transform · 733d6335
      Michael Natterer authored
      2002-02-12  Michael Natterer  <mitch@gimp.org>
      
      	Made the interpolation type configurable in the scale and
      	transform options dialogs (#69251):
      
      	* app/base/base-config.[ch]
      	* app/config/gimpbaseconfig.[ch]: removed interpolation_type here...
      
      	* app/core/gimpcoreconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]: ...and added it here.
      
      	* app/gimprc.c
      	* app/gui/preferences-dialog.c: changed accordingly.
      
      	* app/paint-funcs/paint-funcs.[ch]: scale_region: take an
      	interpolation_type parameter.
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-scale.[ch]
      	* app/core/gimplayer.[ch]: pass interpolation_type parameters to all
      	scale and transform functions.
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      
      	* app/gui/resize-dialog.[ch]
      	* app/tools/transform_options.[ch]: added an interpolation_type menu.
      
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      733d6335
  6. 11 Feb, 2002 2 commits
    • Michael Natterer's avatar
      app/gimprc.[ch] app/config/gimpdisplayconfig.[ch] made the string which · 9e2f662a
      Michael Natterer authored
      2002-02-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimprc.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/gui/preferences-dialog.c: made the string which appears in
      	the display's statusbar configurable separately from the title
      	string. They still both have the same default value.
      
      	* app/display/gimpdisplayshell.c: changed accordingly.
      
      	Also added lots of new % expansions which implement all stuff
      	mentioned in #5843. Didn't apply the original patch because it is
      	overly complicated (the same can be acheived using %D and %C).
      	Instead, applied a changed version of gimp-quinet-000618-0.patch.
      	Added %Cx, which expands to 'x' if the image is clean.
      
      	* docs/gimprc-1.3.5.in
      	* etc/gimprc.in
      	* etc/gimprc.win32: added documentation for the new stuff.
      9e2f662a
    • Nate Summers's avatar
      s/directory/folder/ and other bex-approved proofreads · fd276bef
      Nate Summers authored
      
       	* gui/preferences-dialog.c: s/directory/folder/ and other
       	bex-approved proofreads
      fd276bef
  7. 10 Feb, 2002 1 commit
    • Sven Neumann's avatar
      app/batch.c app/general.c app/core/gimpbrushgenerated.c · bda6939c
      Sven Neumann authored
      2002-02-10  Sven Neumann  <sven@gimp.org>
      
      	* app/batch.c
      	* app/general.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdata.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/file/file-utils.c: don't include ctype.h, use g_ascii_*
      	functions from GLib instead.
      
      	* app/gui/file-open-dialog.c: disabled multiple selection in the
      	file open dialog until this is fixed in GTK+.
      bda6939c
  8. 08 Feb, 2002 2 commits
    • Sven Neumann's avatar
      app/gui/tips-dialog.c app/gui/user-install-dialog.c · 310e0e98
      Sven Neumann authored
      2002-02-08  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/tips-dialog.c
      	* app/gui/user-install-dialog.c
      	* libgimpwidgets/gimpfileselection.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/script-fu/script-fu-scripts.c: use the term Folder instead
      	of Directory (bug #56194).
      
      	* etc/gimprc.in
      	* etc/gimprc.win32: added global palettes folder to the palettes
      	search path.
      
      	* data/misc/user_install: don't copy palettes into users ~/.gimp-1.3.
      310e0e98
    • Nate Summers's avatar
      app/gimprc.c app/config/gimpcoreconfig.[ch] app/core/gimpcoreconfig.[ch] · 561eebcd
      Nate Summers authored
      
       	* app/gimprc.c
       	* app/config/gimpcoreconfig.[ch]
       	* app/core/gimpcoreconfig.[ch]
       	* app/gui/preferences-dialog.[ch]
       	* etc/gimprc.in:
       	add a preferences option for tool plug-ins. Tool plug-ins should
       	be in a separate directory so that the plug-in code can distinguish
       	them.
      561eebcd
  9. 07 Feb, 2002 3 commits
    • Michael Natterer's avatar
      renamed the image size utility functions from foo_size_bar() to · 72ca4d3e
      Michael Natterer authored
      2002-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-new.[ch]: renamed the image size utility
      	functions from foo_size_bar() to foo_memsize_bar(), use "gsize"
      	instead of "gdouble". Also take the selection mask into account
      	for the initial image size.
      
      	* app/display/gimpdisplayshell.c
      	* app/gui/file-new-dialog.c: changed accordingly.
      
      	* app/display/gimpdisplayshell-handlers.c: connect to "undo_event",
      	not "dirty" and "clean" to dirty the image title.
      
      	* app/tools/gimpmovetool.c: factored common code out to
      	gimp_move_tool_start_guide(), also set a useful cursor there.
      72ca4d3e
    • Sven Neumann's avatar
      app/gui/file-new-dialog.c app/gui/resize-dialog.c · c51c98d9
      Sven Neumann authored
      2002-02-07  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/file-new-dialog.c
      	* app/gui/resize-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c: moved Cancel button to the left.
      
      	* data/images/Makefile.am
      	* data/images/tips_wilber.png: removed ...
      	* data/images/wilber-tips.png: ... and readded under a new name.
      
      	* app/gui/tips-dialog.c: changed accordingly.
      
      	* data/images/wilber-wizard.png: new wilber for the user installation
      	dialog.
      
      	* app/gui/user-install-dialog.c: use the new wilber icon. We still
      	need a good new eeek wilber.
      
      	* themes/Default/gtkrc: don't change the default font size.
      c51c98d9
    • Michael Natterer's avatar
      made the gimp_object_get_memsize() debugging output configurable by a · 758de05b
      Michael Natterer authored
      2002-02-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.c: made the gimp_object_get_memsize()
      	debugging output configurable by a global "gimp_debug_memsize"
      	boolean.
      
      	* app/display/gimpdisplay.c: removed duplicated prototype.
      
      	* app/display/gimpdisplayshell.[ch]: renamed the various cursor
      	functions to be more consistent and shorter. Compress window title
      	updates by adding a "gboolean title_dirty" and updating the title
      	in gimp_display_shell_flush().  Added "%m" (memory size) to the
      	possible title string substitutions.
      
      	* app/display/gimpdisplay-foreach.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimptool.c: changed accordingly.
      
      	* app/display/gimpdisplayshell-callbacks.c: forgot to grab the
      	pointer when dragging guides from the rulers. Coincidentially,
      	this also fixes the buggy offset between guide and mouse
      	pointer...
      	Cleaned up the main tool event callback a but more.
      
      	* app/widgets/gimppreview.c
      	* app/gui/commands.c: set the new global "gimp_debug_memsize"
      	toggle to TRUE while calling gimp_object_get_memsize().
      
      	* app/gui/preferences-dialog.c: added a image title example
      	containing the new "%m" feature.
      
      	* docs/gimprc-1.3.5.in: document "%m" in the manpage.
      
      	* app/tools/gimpbezierselecttool.c: reordered some statements.
      
      	* app/tools/gimpdrawtool.[ch]: store the GimpDisplay passed to
      	gimp_draw_tool_start() in draw_tool->gdisp and use it for
      	coordinate transfomration. This way we can paint on a display
      	which is not tool->gdisp.
      
      	* app/tools/gimppainttool.c: changed the gimp_draw_tool_foo()
      	calls needed to make the straight_line preview work in a way
      	that does not interfere with paint_tool subclasses which want
      	to do their own drawing (like the clone tool).
      
      	Also changed the paint_tools PRETRACE_PAINT and POSTTRACE_PAINT
      	flags usage in a way that subclasses can use them without major
      	hackery: don't simply wrap gimp_display_flush_now() with
      	PRETRACE/POSTTRACE calls, but wrap the actual painting calls, so
      	subclasses are able to do useful things with paint_tool->*_coords.
      
      	* app/tools/gimpclonetool.c: removed poking around in draw_tool
      	internals and simply suspend()/resume() it in
      	PRETRACE_PAINT/POSTTRACE_PAINT to get the clone_src indicator
      	drawn correctly.
      758de05b
  10. 03 Feb, 2002 1 commit
    • Michael Natterer's avatar
      app/display/Makefile.am app/display/display-types.h new widget derived · 0440bbbf
      Michael Natterer authored
      2002-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpstatusbar.[ch]: new widget derived from
      	GtkStatusbar.  Contains the coordinates display, a progress bar
      	which is also used for status message display and a cancel button.
      	Added a simplified API for pushing/popping messages which takes a
      	string as context_id and does the conversion to guint internally
      	on each call.
      
      	* app/display/gimpdisplayshell.[ch]: removed the status bar code.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/gui/view-commands.c
      	* app/gimpprogress.c: changed accordingly.
      
      	Removed knowledge about GimpDisplayShell from tools:
      
      	* app/tools/gimptool.[ch]: added gimp_tool_push_status() and
      	gimp_tool_pop_status() so tools don't need to fiddle with
      	display details.
      
      	* app/tools/gimpdrawtool.[ch]: pass a GimpDisplay instead of
      	a GdkWindow to gimp_draw_tool_start() (the window passed was
      	always gdisp->shell->canvas->window).
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.[ch]
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.[ch]
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimppathtool.c
      	* app/tools/gimprectselecttool.[ch]
      	* app/tools/gimptransformtool.c: changed accordingly:
      
      	- pass GimpDisplay to gimp_draw_tool_start().
      	- use GimpTool's new status push/pop functions.
      	- removed the statusbar context_id from all tool structs.
      
      	* app/gui/dialogs-constructors.[ch]: a bit cleanup in preparation
      	of dockable editor dialogs.
      0440bbbf
  11. 31 Jan, 2002 1 commit
  12. 30 Jan, 2002 4 commits
    • Sven Neumann's avatar
      GDK_RGB_DITHER_NORMAL should be good enough. · 251fe649
      Sven Neumann authored
      2002-01-30  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/about-dialog.c: GDK_RGB_DITHER_NORMAL should be good enough.
      
      	* app/gui/preferences-dialog.c: undef GTK_DISABLE_DEPRECATED for
      	GtkListItem.
      
      	* app/widgets/gimpcomponentlistitem.c: don't use GtkPreview methods
      	on a GimpPreview. The component views are still broken but at least
      	the warnings are gone.
      
      	* app/widgets/gimpfontselection.c: fixed warnings by hardcoding a
      	font size when validating a font name :-(
      
      	* app/widgets/gimppreview.c: set allocation to desired size.
      
      	* libgimpwidgets/gimpcolorarea.c: flipped so it looks like before
      	the port to GtkDrawingArea. Use GDK_RGB_DITHER_MAX to render.
      251fe649
    • Michael Natterer's avatar
      derive from GtkDrawingArea instead of deprecated GtkPreview. · 074b1cda
      Michael Natterer authored
      2002-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppreview.[ch]: derive from GtkDrawingArea
      	instead of deprecated GtkPreview.
      
      	* app/gui/buffers-commands.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/indicator-area.c
      	* app/gui/info-window.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palettes-commands.c
      	* app/gui/test-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimpmenuitem.c: removed #undef GTK_DISABLE_DEPRECATED.
      074b1cda
    • Sven Neumann's avatar
      derive from GtkDrawingArea instead of deprecated GtkPreview. · b8fcfd9a
      Sven Neumann authored
      2002-01-30  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolorarea.[ch]: derive from GtkDrawingArea
      	instead of deprecated GtkPreview.
      
      	* app/nav_window.c
      	* app/gui/brush-editor.c
      	* app/gui/buffers-commands.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-open-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/indicator-area.c
      	* app/gui/info-window.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palettes-commands.c
      	* app/gui/test-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.c
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/flarefx.c
      	* plug-ins/common/fractaltrace.c
      	* plug-ins/common/glasstile.c
      	* plug-ins/common/gqbist.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/newsprint.c
      	* plug-ins/common/nlfilt.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/nova.c
      	* plug-ins/common/plasma.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/sample_colorize.c
      	* plug-ins/common/scatter_hsv.c
      	* plug-ins/common/sharpen.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/tileit.c
      	* plug-ins/common/video.c
      	* plug-ins/common/waves.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/common/wind.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/gimpressionist/brush.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/rcm/rcm_dialog.c: define GTK_DISABLE_DEPRECATED to make
      	it compile.
      
      	We really need a generic plug-in preview system that doesn't use
      	GtkPreview.
      b8fcfd9a
    • Manish Singh's avatar
      ported to the new treeviewized file selection widget. Unfortunately, · 220b7a2f
      Manish Singh authored
      2002-01-30  Manish Singh  <yosh@gimp.org>
      
              * app/gui/file-open-dialog.c: ported to the new treeviewized file
              selection widget. Unfortunately, multiple selections aren't supported
              anymore so it's still broke. I'll make a patch to gtk to address this
              after I get some sleep.
      
              * app/widgets/gimppreview.h
              * libgimpwidgets/gimpcolorarea.h
              * plug-ins/FractalExplorer/Events.c
              * plug-ins/common/film.c
              * plug-ins/common/plugindetails.c
              * plug-ins/fp/fp_misc.c
              * plug-ins/rcm/rcm_callback.c
              * plug-ins/rcm/rcm_misc.c: REALLY REALLY ugly hack to get things to
              build under the latest enum deprecations. Of course, we'll remove
              these when these files compile with deprecation turned on
      
              * plug-ins/dbbrowser/dbbrowser_utils.c: warning cleanup
      
              * libgimpwidgets/Makefile.am
              * libgimpwidgets/gimpoffsetarea.c: need a custom marshaller for
              our signal since the gtk marshaller we used went away.
      220b7a2f
  13. 27 Jan, 2002 1 commit
  14. 25 Jan, 2002 1 commit
    • Michael Natterer's avatar
      CPPFLAGS: added -DGTK_DISABLE_DEPRECATED · 9dd403f7
      Michael Natterer authored
      2002-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: CPPFLAGS: added -DGTK_DISABLE_DEPRECATED
      
      	* libgimpwidgets/gimpdialog.c: still use the deprecated
      	gtk_window_set_policy() but spit out a #warning.
      
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpitemfactory.[ch]: made it a GtkItemFactory
      	subclass. This way we can reproduce the effect of
      	gtk_item_factory_get_from_path() which is deprectated for good
      	reasons.  For GIMP, using it its perfectly OK since we only have
      	one item factory per "<prefix>".
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdialogfactory.[ch]
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimppreview.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]: pass around GimpItemFactory
      	pointers instead of "const gchar *" item factory identifiers.
      	Replaced gtk_window_set_policy() by gtk_window_set_resizable()
      	and other recommended stuff.
      
      	* app/gui/about-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c: lots of
      	s/gtk_item_factory_from_path/gimp_item_factory_from_path/,
      	gtk_window_set_policy() replacements, misc fixes.
      
      	* plug-ins/gdyntext/charmap_window.c
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_main.c: replaced gtk_window_set_policy().
      9dd403f7
  15. 14 Jan, 2002 1 commit
  16. 09 Jan, 2002 1 commit
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · 448f4b4d
      Sven Neumann authored
      2002-01-09  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/gimp-dialog-error.png
      	* themes/Default/images/gimp-dialog-info.png
      	* themes/Default/images/gimp-dialog-question.png
      	* themes/Default/images/gimp-dialog-warning.png: new stock icons to
      	override the standard gtk-dialog icons.
      
      	* themes/Default/images/gimp-dialog-icons.xcf.gz: XCF version of the
      	new dialog icons.
      
      	* themes/Default/gtkrc: override the standard gtk-dialog icons with
      	our versions.
      
      	* libgimpwidgets/gimpquerybox.[ch]: allow to pass a stock_id instead
      	of the boolean eek.
      
      	* app/widgets/gimpwidgets-utils.c: added an icon to the gimp_message
      	dialog. We need to add an API to declare the severity of the message
      	or allow to pass a stock_id. For now all messages habe the Info icon.
      
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c: pass a suitable(?) stock_id to
      	gimp_query_boolean_box().
      448f4b4d
  17. 31 Dec, 2001 1 commit
    • Manish Singh's avatar
      add a shadow to the scrolled window, so it looks nicer · f4d59f28
      Manish Singh authored
      2001-12-30  Manish Singh  <yosh@gimp.org>
      
              * app/gui/module-browser.c: add a shadow to the scrolled window, so
              it looks nicer
      
              * libgimpwidgets/gimpbutton.c: try to restore gtk_widget_draw behavior
      
              * libgimpwidgets/gimpoffsetarea.c
              * libgimpwidgets/gimppixmap.[ch]: compile with GTK_DISABLE_DEPRECATED
      
      -Yosh
      f4d59f28
  18. 30 Dec, 2001 1 commit
  19. 29 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c · 14d0a3ff
      Michael Natterer authored
      2001-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpprogress.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/undo_history.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/channels-commands.c
      	* app/gui/color-area.c
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/device-status-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpconstrainedhwrapbox.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerlistview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimphistogramview.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview.[ch]
      	* app/widgets/gtkhwrapbox.c
      	* app/widgets/gtkvwrapbox.c
      	* app/widgets/gtkwrapbox.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpexport.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimpwidgets/gimpbutton.c
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimppixmap.h
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpstock.[ch]
      	* libgimpwidgets/gimpwidgets.h
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/Events.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/dbbrowser/dbbrowser_utils.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/fp/fp_misc.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/gimpressionist/*.c
      	* plug-ins/imagemap/*.[ch]
      	* plug-ins/maze/maze_face.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/print/print_gimp.h
      	* plug-ins/rcm/rcm_callback.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/rcm/rcm_misc.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/sel2path/sel2path.c
      	* plug-ins/sel2path/sel2path_adv_dialog.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/webbrowser/webbrowser.c
      	* plug-ins/xjt/xjt.c
      	* plug-ins/common/[A-n]*.c: compile with GTK_DISABLE_DEPRECATED
      	defined. Not everything is fully ported yet, had to #undef
      	GTK_DISABLE_DEPRECATED in many places and added #warnings when
      	doing so.
      
      	* pixmaps/Makefile.am
      	* pixmaps/chain.xpm: removed.
      
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-button-hchain-broken.png
      	* themes/Default/images/stock-button-hchain.png
      	* themes/Default/images/stock-button-vchain-broken.png
      	* themes/Default/images/stock-button-vchain.png: new stock icons.
      14d0a3ff
  20. 19 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/plug-in/Makefile.am new files. Started to split plug-in.c into smaller · 774caf0e
      Sven Neumann authored
      2001-12-19  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in-proc/plug-in-proc.[ch]: new files. Started to split
      	plug-in.c into smaller pieces.
      
      	* app/plug-in/plug-in-types.h: namespacified GimpRunModeType enum and
      	renamed it to GimpRunMode.
      
      	* app/plug-in/plug-in.[ch]
      	* app/gimphelp.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/file/file-utils.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
      
      	* app/pdb/fileops_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* libgimp/gimpfileops_pdb.[ch]
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcompat.h: added gimpcompat.h mostly as a place to
      	document plug-in API changes.
      
      	* plug-ins/*: changed all occurences of GimpRunModeType to GimpRunMode.
      774caf0e
  21. 18 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am new file with GimpCursorMode enum. · 39ab860e
      Sven Neumann authored
      2001-12-18  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/display-enums.h: new file with GimpCursorMode enum.
      
      	* app/display/display-types.h: removed CursorMode enum here, include
      	display-enums.h.
      
      	* app/gimprc.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/preferences-dialog.c: changed accordingly.
      
      	* app/config/Makefile.am
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]: implemented the remaining properties.
      39ab860e
  22. 17 Dec, 2001 1 commit
    • Michael Natterer's avatar
      added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS. · be1215a2
      Michael Natterer authored
      2001-12-18  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS.
      
      	* app/core/gimpbuffer.[ch]: gimp_buffer_get_[width|height]:
      	added "const" to the GimpBuffer parameter.
      
      	* app/core/gimpchannel.c: indentation and comment changes.
      
      	* app/core/gimpdrawable-desaturate.c: don't include
      	"paint-funcs/paint-funcs.h".
      
      	* app/display/gimpdisplayshell.c: don't include "base/temp-buf.h".
      
      	* app/gui/gui.c: removed the image container's "name_changed"
      	handler.
      
      	* app/gui/palette-import-dialog.[ch]: use GimpPreview and
      	GimpContainerMenu instead of doing the same manually. Removed lots
      	of code. Not perfect yet.
      
      	* app/tools/gimpfuzzyselecttool.c: no need to include tile stuff.
      
      	* app/widgets/gimpcontainerview-utils.c: better g_warning() message.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: don't include
      	"base/tile-manager.h".
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* data/images/Makefile.am
      	* data/images/gimp_logo.ppm: removed...
      	* data/images/gimp_logo.png: ...and added as PNG.
      
      	* app/gui/about-dialog.c: use gdk_pixbuf_new_from_file() to load
      	the PNG logo instead of manually parsing the PPM.
      be1215a2