- 07 Sep, 2002 4 commits
-
-
Michael Natterer authored
2002-09-07 Michael Natterer <mitch@gimp.org> * app/gui/file-new-dialog.c * app/gui/offset-dialog.c * app/gui/preferences-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/user-install-dialog.c: replaced some more pixel sizes by char sizes. Tweaked table spacings. Mnemonics. * app/gui/info-dialog.[ch]: internal cleanup. * app/gui/resize-dialog.[ch]: same here. Removed the "cancel_cb" from the API and simply destroy the dialog on "Cancel". Makes the dialog construction less weird. * app/gui/image-commands.c * app/gui/layers-commands.c: changed accordingly. Same cleanups as above.
-
Michael Natterer authored
2002-09-07 Michael Natterer <mitch@gimp.org> * plug-ins/FractalExplorer/Dialogs.c * plug-ins/FractalExplorer/FractalExplorer.c: some stock items. * plug-ins/MapObject/mapobject_ui.c: moved toggle button into frame title, added mnemonics. * plug-ins/common/curve_bend.c: reorganized the GUI completely to be more usable. Added mnemonics and stock items. * plug-ins/common/checkerboard.c * plug-ins/common/film.c * plug-ins/common/illusion.c * plug-ins/common/plasma.c * plug-ins/flame/flame.c: minor cleanups (spacing, stock items).
-
Christian Neumair authored
-
Dave Neary authored
2002-09-07 Dave Neary <bolsh@gimp.org> * app/xcf/xcf-load.c: Unref layer mask rather than layer when adding the mask. Fixes bug #92693.
-
- 06 Sep, 2002 4 commits
-
-
Hans Breuer authored
2002-09-06 Hans Breuer <hans@breuer.org> * */*/makefile.msc : updated * libgimptool/makefile.msc : new file, libgimptool is currently build as static lib due to references into app/core * themes/Default/makefile.msc : removed * themes/Default/images/makefile.msc : new file * libgimpwidgets/makefile.msc libgimpwidgets/gimpwidgets.c updated (externals) * app/paint-funcs.c : replaced gccism varibale size array on stack with portable alloca, removed sizeof(buf) check which must fail now. * app/config/gimpconfig.c : get write/close protos on win32 from io.h * app/config/gimprc.c : dito and <string.h> * app/config/gimpscanner.c : <string.h> only * app/core/gimpcontainer.c : workaround for clumsy compilers not supporting vararg macros * app/core/gimpdocumentlist.c app/core/gimpparasitelist.c include <io.h> on win32 * app/widgets/gimpdocumentview.c app/widgets/gimpimagedock.c app/widgets/gimppreview.c : add #ifdef __GNUC__ to avoid breaking on non standard pragma #warning. * app/gui/session.c : include <string.h> * regexrepl/makefile.msc : build as dll * plug-ins/makefile.msc : updated * plug-ins/common/pix.c : open file binary * plug-ins/common/spheredesigner.c : avoid error 'incompatible types' while assigning, use memcpy()
-
Michael Natterer authored
2002-09-06 Michael Natterer <mitch@gimp.org> * app/gui/convert-dialog.c: changed "Number of Colors" to "Max Number of Colors" to clarify what this parameter does. (fixes #92194). * app/gui/menus.c: use GIMP_STOCK_INFO for "View/Info Window". Specify spibutton sizes in chars, not pixels (eek) all over the place. Also removed explicit sizes where the GtkSpinButton default size does not disturbe tabular widget layouts. * libgimpwidgets/gimpwidgets.c: removed the hardcoded width of 75 pixels in gimp_spin_button_new(). Changed gimp_scale_entry_new() and gimp_coordinates_new() to interpret their "spinbutton_width" parameters as chars if < 16, and as pixels otherwise. This gives reasonable results and doesn't cause unchanged plug-ins to suddenly have spinbuttons of dozens of chars width :) * libgimpwidgets/gimpsizeentry.c: added the same heuristic here. * libgimpwidgets/gimpquerybox.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/tools/gimpairbrushtool.c * app/tools/gimpblendtool.c * app/tools/gimpbrightnesscontrasttool.c * app/tools/gimpbucketfilltool.c * app/tools/gimpcolorbalancetool.c * app/tools/gimpcolorpickertool.c * app/tools/gimpconvolvetool.c * app/tools/gimpdodgeburntool.c * app/tools/gimphuesaturationtool.c * app/tools/gimpinktool.c * app/tools/gimplevelstool.c * app/tools/gimpmagnifytool.c * app/tools/gimpposterizetool.c * app/tools/gimpsmudgetool.c * app/tools/gimptexttool.c * app/tools/gimpthresholdtool.c * app/tools/paint_options.c * app/tools/selection_options.c * app/widgets/gimpbrusheditor.c * app/widgets/gimpbrushfactoryview.c * app/widgets/gimppaletteeditor.c: changed accordingly. * plug-ins/FractalExplorer/Dialogs.c * plug-ins/FractalExplorer/FractalExplorer.c * plug-ins/Lighting/lighting_ui.c * plug-ins/common/AlienMap.c * plug-ins/common/AlienMap2.c * plug-ins/common/CML_explorer.c * plug-ins/common/bumpmap.c * plug-ins/common/checkerboard.c * plug-ins/common/cubism.c * plug-ins/common/curve_bend.c * plug-ins/common/depthmerge.c * plug-ins/common/despeckle.c * plug-ins/common/diffraction.c * plug-ins/common/emboss.c * plug-ins/common/film.c * plug-ins/common/flarefx.c * plug-ins/common/fractaltrace.c * plug-ins/common/gauss_iir.c * plug-ins/common/gauss_rle.c * plug-ins/common/glasstile.c * plug-ins/common/grid.c * plug-ins/common/illusion.c * plug-ins/common/iwarp.c * plug-ins/common/jigsaw.c * plug-ins/common/lic.c * plug-ins/common/max_rgb.c * plug-ins/common/mblur.c * plug-ins/common/newsprint.c * plug-ins/common/nova.c * plug-ins/common/pixelize.c * plug-ins/common/sample_colorize.c * plug-ins/common/scatter_hsv.c * plug-ins/common/shift.c * plug-ins/common/sinus.c * plug-ins/common/sparkle.c * plug-ins/common/spread.c * plug-ins/common/tile.c * plug-ins/common/tileit.c * plug-ins/common/unsharp.c * plug-ins/common/vpropagate.c * plug-ins/common/waves.c * plug-ins/common/whirlpinch.c * plug-ins/gflare/gflare.c * plug-ins/mosaic/mosaic.c * plug-ins/rcm/rcm_dialog.c: changed accordingly, which involves removals of gtk_widget_set_size_request(spinbutton), removal of lots of explicit spinbutton sizes in gimp_scale_entry_new(), and adding of new ones because GtkSpinButton's auto-size trashed tabular layouts. Lots of cleanup & indentation while browsing the plug-ins' code. Changed spacings, moved toggle buttons into frame titles, use stock items, stuff...
-
Maurits Rijk authored
-
Manish Singh authored
2002-09-05 Manish Singh <yosh@gimp.org> * acinclude.m4: emptied * autogen.sh: support for automake version special casing, error out on aclocal failure. * m4compat/1.4/pysupport.m4 * m4compat/1.6/pysupport.m4 * configure.in * plug-ins/Makefile.am: pygimp autoconf support, just to get it some testing. We'll figure out policy later.
-
- 05 Sep, 2002 3 commits
-
-
Christian Neumair authored
-
Michael Natterer authored
2002-09-05 Michael Natterer <mitch@gimp.org> * app/tools/gimpcroptool.c (crop_tool_crop_image): call gimp_image_flush() after cropping. Fixes #90977 (Thanks to Toby Smith).
-
Michael Natterer authored
2002-09-05 Michael Natterer <mitch@gimp.org> * app/core/gimpdrawable-bucket-fill.c: put the call to gimp_drawable_mask_bounds() back because we always need the region to apply the fill (fixes non-seed-fill fills). Also take "sample_merged" into account when intersecting the resulting mask with the image's selection. Fixed unrelated bug: * app/core/gimpimage-contiguous-region.c: need to use gimp_image_projection_bytes(), not drawable->bytes if "sample_marged" is TRUE.
-
- 04 Sep, 2002 4 commits
-
-
Maurits Rijk authored
-
Dave Neary authored
2002-09-04 Dave Neary <bolsh@gimp.org> * app/core/gimpdrawable-bucket-fill.c: Small patch to modify the behaviour of the bucket fill tool if there is an active selection. Question: Should the bucket fill only work if clicked inside the selection? Currently a click anywhere works, and stuff gets drawn if the region intersects the selection. This patch closes bug #72896.
-
Michael Natterer authored
2002-09-04 Michael Natterer <mitch@gimp.org> More color correction stuff cleanup: * app/base/Makefile.am * app/base/base-types.h * app/base/levels.[ch]: new files containing levels_lut_func(), a new "Levels" parameter struct and the "auto levels" stuff. * app/base/lut-funcs.[ch]: removed the levels stuff here, added lots of g_return_if_fail(). * app/base/color-balance.[ch] * app/base/hue-saturation.[ch]: added init() and reset() functions so we don't need to duplicate this code in the tool and the pdb wrappers. * app/base/curves.[ch]: s/gint/GimpHistogramChannel/g, made curves_channel_reset() initialize the curves array. * app/tools/gimpcolorbalancetool.[ch]: use the new functions, moved the "Range" frame to the top, added a per-range "Reset" button, made the global "Reset" button reset all ranges and the "Preserve Luminosity" toggle. * app/tools/gimpcurvestool.[ch]: don't initialize the curves array manually, as curves_channel_reset() does that, s/gint/GimpHistogramChannel/g. * app/tools/gimphuesaturationtool.c: use the new functions, added a per-channel "Reset" button and made the global "Reset" button reset all channels, cleaned up the GUI update function. * app/tools/gimplevelstool.[ch]: changed to use the new Levels parameter struct and it's utility functions. Removed stuff which now lives in base/levels.c * app/tools/gimpimagemaptool.c: align the "Preview" button bottom-left, not bottom-right. * tools/pdbgen/pdb/color.pdb: use the new stuff and removed uglyness because using the "Levels" struct makes the code more straightforward. * app/pdb/color_cmds.c: regenerated.
-
Michael Natterer authored
2002-09-04 Michael Natterer <mitch@gimp.org> * app/gui/color-select.c * app/widgets/gimpselectioneditor.c * app/widgets/gimptoolbox.c: removed some leftover GtkTargetEntry arrays.
-
- 03 Sep, 2002 2 commits
-
-
Ole Laursen authored
2002-09-03 Ole Laursen <olau@hardworking.dk> * da.po: Updated Danish translation.
-
Sven Neumann authored
2002-09-03 Sven Neumann <sven@gimp.org> * plug-ins/gimpressionist/ppmtool.c (saveppm): merged fix for bug #92394 from stable branch.
-
- 02 Sep, 2002 7 commits
-
-
Michael Natterer authored
2002-09-02 Michael Natterer <mitch@gimp.org> * app/core/gimpviewable.c: small speedup: use g_object_[get|set]_qdata() instead of g_object_[set|set]_data().
-
Michael Natterer authored
2002-09-02 Michael Natterer <mitch@gimp.org> * app/core/gimpviewable.c (gimp_viewable_real_invalidate_preview): remove the attached preview pixbuf just as the preview temp_buf.
-
Michael Natterer authored
2002-09-02 Michael Natterer <mitch@gimp.org> DND cleanup part 1: * app/widgets/gimpdnd.[ch]: changed all gimp_dnd_*_dest_set() and _unset() functions to _dest_add() and _dest_remove(). Switch from using static arrays of GtkTargetEntries to dynamic GtkTargetLists. The _add() and _remove() functions configure the drag dest automatically if not already done, so there is no need to call gtk_drag_dest_set() on the widget any more. Drag source cleanup will follow... Renamed silly function names gimp_gtk_* to gimp_dnd_* * app/display/gimpdisplayshell.c * app/tools/gimpblendtool.c * app/widgets/gimpcolormapeditor.c * app/widgets/gimpcontainerview.c * app/widgets/gimpgradienteditor.c * app/widgets/gimplistitem.c * app/widgets/gimpmenuitem.c * app/widgets/gimppreview.c * app/widgets/gimppaletteeditor.c * app/widgets/gimpselectioneditor.c * app/widgets/gimptoolbox-color-area.c * app/widgets/gimptoolbox-indicator-area.c * app/widgets/gimptoolbox.c * app/gui/about-dialog.c * app/gui/color-select.c * app/gui/device-status-dialog.c * app/gui/tool-options-dialog.c: changed accordingly. Removed all calls to gtk_drag_dest_set() and their GtkTargetEntry tables. * app/widgets/gimpchannellistitem.c: enabled some commented out dnd code (which will not work since dnd needs more love...) * app/widgets/gimpitemlistview.[ch]: added a third "gboolean interactive" parameter to GimpItemNewFunc. * app/gui/channels-commands.[ch] * app/gui/layers-commands.[ch] * app/gui/vectors-commands.[ch]: if the new_item_func is called with "interactive == FALSE", don't pop up a dialog but silently create a new item of the image's size. * app/widgets/gimpdrawablelistview.c: use the new feature to allow color and pattern drops to the "New" button, which creates a new layer/channel filled with the color/pattern. (special feature for drc ;-) * app/widgets/gimppaletteeditor.c: fixed event handling so we see the context menu again. Also, don't redraw on "expose", since GtkPreview does that for us.
-
Michael Natterer authored
2002-09-02 Michael Natterer <mitch@gimp.org> * app/widgets/gimpviewabledialog.c: use GimpContainerView's get_name_func utility stuff instead of reinventing the wheel. (They should probably be renamed because they are not at all GimpContainerView related).
-
Michael Natterer authored
2002-09-02 Michael Natterer <mitch@gimp.org> * app/gui/info-window.c: don't display Alpha twice, more cleanup.
-
Michael Natterer authored
2002-09-02 Michael Natterer <mitch@gimp.org> * app/tools/gimpclonetool.c (gimp_clone_tool_draw): manually add the src_drawable's offsets instead of implicitly using the offsets of the active_drawable (fixes #92311).
-
Christian Neumair authored
-
- 01 Sep, 2002 5 commits
-
-
Michael Natterer authored
2002-09-01 Michael Natterer <mitch@gimp.org> GimpViewableDialogs everywhere, cleanup: * libgimpwidgets/gimpstock.c: added texts for the RESIZE, SCALE and CROP stock items. * app/widgets/gimpviewabledialog.c: update the title when the viewable's name changes. * app/gui/color-notebook.[ch]: added color_notebook_viewable_new() which creates a GimpViewableDialog. * app/widgets/gimpgradienteditor.[ch] * app/gui/colormap-editor-commands.c * app/gui/file-new-dialog.c * app/gui/gradient-editor-commands.c * app/gui/palette-editor-commands.c * app/undo_history.c: use GimpViewableDialogs and the new color_notebook constructor. * app/gui/convert-dialog.c: #include "widgets/gimpviewabledialog.h" * app/gui/image-commands.c * app/gui/info-dialog.c * app/gui/resize-dialog.c: minor cleanups. * app/gui/info-window.c: cleaned up the whole thing, esp. the "Extended" page. Added HSV color display to the color picker frame. Set the icons as frame titles, stuff... * app/tools/gimpimagemaptool.[ch]: removed "shell_title", "shell_name" and "stock_id" from the GimpImageMapTool struct because they can be obtained from the tool's GimpToolInfo object. * app/tools/gimpbrightnesscontrasttool.c * app/tools/gimpcolorbalancetool.c * app/tools/gimpcurvestool.c * app/tools/gimphuesaturationtool.c * app/tools/gimplevelstool.c * app/tools/gimpposterizetool.c * app/tools/gimpthresholdtool.c: changed accordingly. * app/tools/gimphistogramtool.c: same here: take values from tool->tool_info instead of hardcoding them. * app/tools/gimpcroptool.[ch]: removed the static crop dialog variables and added them to the GimpCropTool struct. Feels safer and makes the callback code much simpler. Use stock items for the dialog's "Resize" and "Crop" buttons. * app/tools/gimpmeasuretool.c * app/tools/gimprotatetool.c: for consistency don't name the tools "Blah Tool", also the dialog titles need to match the menu entries. Unrelated: * libgimpwidgets/gimpwidgets.c: the recently changed, gtk-doc comment was correct, as gtk-doc takes the parameter names from the header, not the .c file. * app/tools/gimptransformtool.c: set the transform tool's state to TRANSFORM_CREATING after changing displays, so the initial matrix components are saved correctly for the "Reset" function.
-
Manish Singh authored
2002-09-01 Manish Singh <yosh@gimp.org> * modules/Makefile.am: use AM_CPPFLAGS instead of CPPFLAGS * modules/cdisplay_gamma.c * modules/cdisplay_highcontrast.c: changed deprecated calls * modules/colorsel_triangle.c: #undef GTK_DISABLE_DEPRECATED, still needs to be fixed for use of GtkPreview
-
Michael Natterer authored
2002-09-01 Michael Natterer <mitch@gimp.org> * app/gui/file-commands.[ch]: oops, the callback's name has changed too :)
-
Michael Natterer authored
2002-09-01 Michael Natterer <mitch@gimp.org> * app/gui/menus.c: HIG compliance: changed "Save a Copy as..." to "Save a Copy...". * app/gui/file-dialog-utils.c * app/display/gimpdisplayshell.c: changed accordingly.
-
Michael Natterer authored
2002-09-01 Michael Natterer <mitch@gimp.org> Refcount layer masks correctly. Fixes layer mask undo. * app/core/gimplayer.c (gimp_layer_add_mask): ref the mask. * app/xcf/xcf-load.c * app/gui/layers-commands.c * tools/pdbgen/pdb/image.pdb: unref layer masks after adding them. * app/pdb/image_cmds.c: regenerated.
-
- 31 Aug, 2002 3 commits
-
-
Christian Neumair authored
-
Christian Neumair authored
-
James Henstridge authored
-
- 30 Aug, 2002 8 commits
-
-
Michael Natterer authored
2002-08-30 Michael Natterer <mitch@gimp.org> * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpviewabledialog.[ch]: new dialog widget featuring a title bar containing a stock icon, a description, the viewable's name and a preview. Will be used for all viewable related dialogs and serves as a common place to control their look & feel. * app/tools/gimpimagemaptool.[ch]: removed the code which did almost the same and use GimpViewableDialog. * app/gui/info-dialog.[ch]: extended the API so it has enough information to create a GimpViewableDialog. * app/gui/channels-commands.c * app/gui/convert-dialog.c * app/gui/gradient-editor-commands.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/offset-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimphistogramtool.c * app/tools/gimpmeasuretool.c * app/tools/gimpperspectivetool.c * app/tools/gimprotatetool.c * app/tools/gimpscaletool.c * app/tools/gimpsheartool.c: use GimpViewableDialogs * themes/Default/gtkrc: apply the dialog style to "*Gimp*Dialog*", not only "*GimpDialog*" so it covers GimpViewableDialog.
-
James Henstridge authored
-
James Henstridge authored
2002-08-31 James Henstridge <james@daa.com.au> * gimpfu.py (RadioEntry): add PF_RADIO support to gimpfu based on Yosh's patch.
-
James Henstridge authored
2002-08-31 James Henstridge <james@daa.com.au> * libgimp/gimp.c (gimp_run_procedure): handle GIMP_PDB_COLOR correctly. This fixes gimp_palette_set_{back,fore}ground.
-
James Henstridge authored
-
James Henstridge authored
2002-08-30 James Henstridge <james@daa.com.au> * pygimp-*.c: update to list all methods. Convert no arg functions to METH_NOARG (slight code size reduction).
-
James Henstridge authored
2002-08-30 James Henstridge <james@daa.com.au> * pygimp-drawable.c (PyGimpDrawable_Type): add getsets for common drawable attributes. (PyGimpLayer_Type): convert getattr and setattr to getsets. (PyGimpChannel_Type): convert to getsets. * gimpmodule.c (new_parasite): remove. Superceded by gimp.Parasite constructor. (pygimp_image_list): rename to match actual API. * pygimp-parasite.c (PyGimpParasite_Type): switch to getsets. (para_init): add constructor.
-
James Henstridge authored
2002-08-30 James Henstridge <james@daa.com.au> * pygimp-tile.c (PyGimpPixelRgn_Type): convert to use getsets. (PyGimpTile_Type): convert to use getsets. * pygimp-image.c (PyGimpImage_Type): convert getattr and setattr routines into getsets.
-