- 18 Mar, 2003 6 commits
-
-
Michael Natterer authored
2003-03-18 Michael Natterer <mitch@gimp.org> * app/core/gimpimage-mask.[ch] (gimp_image_mask_translate) * app/core/gimplayer.[ch] (gimp_layer_translate): added "gboolean push_undo" parameters. * app/core/gimpimage-crop.c * app/core/gimpimage-resize.c * app/display/gimpdisplayshell-dnd.c * app/gui/layers-commands.c * app/widgets/gimptoolbox.c * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/selection.pdb: changed accordingly. * app/pdb/layer_cmds.c * app/pdb/selection_cmds.c: regenerated. * app/core/gimpimage-undo-push.c (undo_pop_layer_displace): call gimp_layer_translate() with "push_undo == FALSE" instead of duplicating gimp_layer_translate()'s code. Use GimpItemUndo for GIMP_UNDO_MASK. * app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_cursor_key): check if the top undo on the stack is of exactly the same type as the undo we would push and just don't push it then (compresses layer translate undos and fixes bug #86362). Changed stuff work with CAPS_LOCK or other modifiers pressed.
-
Dom Lachowicz authored
-
Pablo Gonzalo del Campo authored
2003-03-18 Pablo Gonzalo del Campo <pablodc@bigfoot.com> * es.po: Updated Spanish translation.
-
Michael Natterer authored
2003-03-18 Michael Natterer <mitch@gimp.org> Added an API for image colormap manupulation and made colormap changes undoable (fixes bug #25963). * app/core/Makefile.am * app/core/gimpimage-colormap.[ch]: new files implementing colormap getters/setters. The setters push undos using the new function below. * app/core/core-enums.[ch]: added GIMP_UNDO_IMAGE_COLORMAP. * app/core/gimpimage-undo-push.[ch]: added gimp_image_undo_push_image_colormap(). Use GimpItemUndo even more often. Cleanup. * app/core/gimpimage.[ch]: removed gimp_image_get_colormap() here. * app/core/gimpimage-convert.c * app/gui/colormap-editor-commands.c * app/widgets/gimpcolormapeditor.c * app/widgets/gimptoolbox.c * tools/pdbgen/pdb/image.pdb: use the new API. * app/pdb/image_cmds.c: regenerated. * plug-ins/common/vinvert.c: removed the comment about the bug, cosmetic cleanup. Unrelated: * app/gui/splash.c: added a frame around the splash. Please eek if it doesn't please you.
-
Dom Lachowicz authored
-
Dom Lachowicz authored
-
- 17 Mar, 2003 8 commits
-
-
Sven Neumann authored
2003-03-17 Sven Neumann <sven@gimp.org> * data/images/gimp_splash.png: new splash thanks to Jimmac.
-
Michael Natterer authored
2003-03-17 Michael Natterer <mitch@gimp.org> Made drawable/layer properties (visibility, opacity etc.) undoable (fixes bug #73893). * app/core/core-enums.[ch]: added undo types/groups for visibility, mode, opacity, linked and preserve_trans. * app/core/Makefile.am * app/core/core-types.h * app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a ref'ed GimpItem pointer so (1) this doesn't need to be done by all undo steps related to an item and (2) the item the undo step is for can be determined from outside the undo system. * app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item() which returns a new GimpItemUndo. * app/core/gimpimage-undo-push.[ch]: use it for all item related undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable and GimpVectors pointers from the private undo structs. Added undo push functions for the new undo types added above. * app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added "gboolean push_undo" parameter. * app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode, _preserve_trans, _linked): added "gboolean push_undo" parameters. * app/core/gimpimage-mask.c * app/core/gimpimage-merge.c * app/core/gimplayer-floating-sel.c * app/tools/gimpmovetool.c * app/xcf/xcf-load.c * app/widgets/gimpdrawablelistitem.c * app/widgets/gimplayerlistitem.c * app/widgets/gimplayerlistview.c: changed accordingly. * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to the foo_accessors() functions. Removed $func from foo_accesors() because we don't manipulate items without using getters/setters any longer. * app/pdb/channel_cmds.c * app/pdb/layer_cmds.c: regenerated. * app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal which carries an additional "GdkModifierType state" parameter as in GimpCellRendererViewable . * app/widgets/gimpcontainertreeview.c: emit "clicked" from the toggle renderer, not "toggled" so the callbacks get the modifier state. * app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive visible by <shift>+click" feature as in 1.2. * app/widgets/gimplayertreeview.c: compress layer opacity undos by looking at the top of the undo stack and not pushing an undo if there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active layer.
-
Sven Neumann authored
2003-03-17 Sven Neumann <sven@gimp.org> * plug-ins/ifscompose/ifscompose.c (run): put the actual effect and the attachment of a parasite into an undo group so that only a single undo step is pushed when the plug-in is run.
-
Sven Neumann authored
2003-03-17 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-utils.[ch]: added the new function gimp_config_string_append_escaped(), see inline docs. * app/config/gimpconfig-serialize.c * app/config/gimpconfigwriter.c * app/core/gimpcontainer.c: use the new function instead of g_strescape().
-
Sven Neumann authored
2003-03-17 Sven Neumann <sven@gimp.org> Applied patches from David Necas <yeti@physics.muni.cz> that fix incorrect RGBA resampling in a number of plug-ins: * plug-ins/common/fractaltrace.c: fixes bug #72873. * plug-ins/common/tiler.c: fixes bug #72875. * plug-ins/common/waves.c: fixes bug #72870. * plug-ins/common/whirlpinch.c: fixes bug #72871.
-
Michael Natterer authored
2003-03-17 Michael Natterer <mitch@gimp.org> * app/core/core-enums.[ch]: added GIMP_UNDO_CHANNEL_COLOR. * app/core/gimpchannel.[ch]: added "gboolean push_undo" to gimp_channel_set_color(). * app/core/gimpimage-undo-push.[ch]: added gimp_image_undo_push_channel_color(). * app/core/gimpimage-qmask.c * app/gui/qmask-commands.c * app/widgets/gimpchannellistitem.c * tools/pdbgen/pdb/channel.pdb: changed accordingly. * app/gui/channels-commands.c * app/gui/layers-commands.c * app/gui/vectors-commands.c: ditto. Use gimp_item_rename(). * app/pdb/channel_cmds.c: regenerated.
-
Manish Singh authored
2003-03-17 Manish Singh <yosh@gimp.org> * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/layer.pdb: use gimp_item_rename for set_name. * app/pdb/channel_cmds.c * app/pdb/layer_cmds.c: regenerated * libgimpproxy/Makefile.am: use $(top_srcdir)
-
Michael Natterer authored
2003-03-17 Michael Natterer <mitch@gimp.org> * app/core/gimpitem.[ch]: added virtual function rename() which pushes an item rename undo. Added "default_name" and "rename_desc" to the GimpItemClass struct which are used as default values. * app/core/gimplayer.c: implement it and special-case floating selections. set item_clas->default_name and item_class->rename_desc. * app/core/gimpchannel.c * app/vectors/gimpvectors.c: set item_class->default_name and item_class->rename_desc. * app/widgets/gimpitemtreeview.[ch]: removed rename_item() virtual function and call gimp_item_rename(). * app/widgets/gimpchanneltreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimpvectorstreeview.c: changed accordingly.
-
- 16 Mar, 2003 6 commits
-
-
Sven Neumann authored
2003-03-16 Sven Neumann <sven@gimp.org> * app/gui/file-save-dialog.c (file_save_overwrite): set the dialog transient to the file selection dialog (see bug #61092).
-
Sven Neumann authored
2003-03-16 Sven Neumann <sven@gimp.org> * app/gui/info-dialog.c: set a window type hint of GDK_WINDOW_TYPE_HINT_UTILITY for info windows (fixes bug #92175). * app/tools/gimpcolorpickertool.c: give the color area more space.
-
Sven Neumann authored
2003-03-16 Sven Neumann <sven@gimp.org> * configure.in: check for gdk-pixbuf-csource and allow to override it by setting the GDK_PIXBUF_CSOURCE environment variable. * themes/Default/images/Makefile.am: use the gdk-pixbuf-csource executable that was found at configure time. * app/base/levels.c: cosmetic change. * app/tools/gimplevelstool.c: allow to pick white, gray and black point for all channels. Allows for easy white-point balancing. * plug-ins/script-fu/scripts/3dTruchet.scm: restore the foreground color when the script is done (see bug #108473).
-
Miloslav Trmac authored
-
Michael Natterer authored
2003-03-16 Michael Natterer <mitch@gimp.org> * app/widgets/gimpcontainertreeview.[ch]: added utility function gimp_container_tree_view_find_click_cell(). Don't select the row if one of tree_view->toggle_cells was clicked. Removed "GList *toggle_columns" from the struct. * app/widgets/gimpdrawabletreeview.[ch]: added a GtkTreeSelectionFunc which ensures that nothing but the floating selection can be selected. Removed the "eye_column" from the struct. * app/widgets/gimpitemtreeview.[ch]: added virtual function rename_item() and a default implementation. * app/widgets/gimplayertreeview.[ch]: implement rename_item() and special case floating selections. Added gimp_layer_tree_view_mask_update() utility function to factor out duplicated code. Removed "chain_column" from the struct. Cleanup.
-
Michael Natterer authored
2003-03-16 Michael Natterer <mitch@gimp.org> Added GtkTreeView versions of layers/channels/vectors: * app/core/core-enums.[ch]: renamed GIMP_UNDO_GROUP_LAYER_PROPERTIES to GIMP_UNDO_GROUP_ITEM_PROPERTIES. * app/core/gimpcontainer.c (gimp_container_reorder): don't try to reorder containers with num_children == 1. * app/core/gimpmarshal.list: added VOID: STRING, UINT marshaller. * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpchanneltreeview.[ch] * app/widgets/gimpdrawabletreeview.[ch] * app/widgets/gimpitemtreeview.[ch] * app/widgets/gimplayertreeview.[ch] * app/widgets/gimpvectorstreeview.[ch]: new widgets. * app/widgets/gimpcellrenderertoggle.c: draw the frame only if the cell is prelit. * app/widgets/gimpcellrendererviewable.[ch]: added "clicked" signal, unref the renderer in finalize(). Set the renderer's border color to black if the cell is not selected (a hack that saves tons of code in GimpLayerTreeView). * app/widgets/gimpcomponenteditor.c: no need to gtk_list_store_set() stuff we just got from the store. * app/widgets/gimpcontainertreeview.[ch]: added lots of state used by the new subclasses to the GimpContainerTreeView struct. Create the GtkListStore/GtkTreeView in GObject::constructor() and only collect parameters in init() so subclasses can modify store/view creation. Do most of the button_press_event stuff manually and return TRUE from the handler. * app/widgets/gimpcontainerview.c: cleanup. * app/widgets/gimpitemlistview.h * app/widgets/gimpvectorslistview.h: temp hacks before they die. * app/widgets/gimppreviewrenderer.[ch]: added gimp_preview_renderer_update_idle() which idle-emits "update" without invalidating. * app/gui/dialogs-constructors.[ch] * app/gui/dialogs.c: added constructors for the new dialogs. * app/gui/channels-commands.c * app/gui/channels-menu.c * app/gui/layers-commands.c * app/gui/layers-menu.c * app/gui/vectors-commands.c * app/gui/vectors-menu.c: accept tree views as callback data.
-
- 15 Mar, 2003 5 commits
-
-
Miloslav Trmac authored
-
Sven Neumann authored
2003-03-15 Sven Neumann <sven@gimp.org> * app/base/levels.c (levels_adjust_by_colors): implemented this function which used to be a an empty stub. * app/tools/gimplevelstool.c: implemented the missing functionality behind the color picker buttons I added some time ago.
-
Sven Neumann authored
2003-03-15 Sven Neumann <sven@gimp.org> * app/widgets/gimpitemfactory.c (gimp_item_factory_translate_func): simplified. * app/gui/image-menu.c: some minor menu cleanups.
-
Sven Neumann authored
-
Sven Neumann authored
2003-03-15 Sven Neumann <sven@gimp.org> * structure.xml: added short notes about all the top-level directories.
-
- 14 Mar, 2003 6 commits
-
-
Sven Neumann authored
2003-03-14 Sven Neumann <sven@gimp.org> * themes/Default/images/Makefile.am * themes/Default/images/stock-curve-free-16.png * themes/Default/images/stock-curve-smooth-16.png: added new icons provided by Tuomas Kuosmanen <tigert@gimp.org>. * libgimpwidgets/gimpstock.[ch]: register the new icons. * app/tools/gimpcurvestool.[ch]: use radio buttons with the new curve type icons.
-
Sven Neumann authored
-
Sven Neumann authored
2003-03-14 Sven Neumann <sven@gimp.org> * app/base/base-enums.[ch] * app/base/curves.[ch]: changed CurvesType enum GimpCurveType and register it with the type system. * app/tools/gimpcurvestool.c: use an enum menu here.
-
Sven Neumann authored
2003-03-14 Sven Neumann <sven@gimp.org> * app/widgets/gimpdock.c: fiddle with the color of the dock separator to make the drop area stand out. Added a tooltip. * etc/gtkrc_user: document how the color can be customized.
-
Sven Neumann authored
2003-03-14 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpcolorarea.[ch]: let GimpColorArea optionally draw a thin border around itself. * app/widgets/gimpitemfactory.c (gimp_item_factory_set_color): use a GimpColorArea instead of a deprecated GtkPreview.
-
Sven Neumann authored
2003-03-14 Sven Neumann <sven@gimp.org> * app/tools/gimpcurvestool.[ch]: some cleanup to event handling and drawing code. Doesn't draw outside the expose_event handler any longer but could still be improved.
-
- 13 Mar, 2003 8 commits
-
-
Michael Natterer authored
2003-03-13 Michael Natterer <mitch@gimp.org> * app/widgets/gimpcomponenteditor.c: disable expensive column auto-resizing and call gtk_tree_view_columns_autosize() in gimp_component_editor_set_preview_size(). * app/widgets/gimpcontainertreeview.[ch]: ditto. Changed the GtkListStore pointer in the GimpContainerTreeView struct to GtkTreeModel.
-
Ole Laursen authored
2003-03-13 Ole Laursen <olau@hardworking.dk> * da.po: Updated Danish translation.
-
Sven Neumann authored
2003-03-13 Sven Neumann <sven@gimp.org> * app/gui/splash.c (splash_create): suppress notifcation of startup completion from the splash screen.
-
Sven Neumann authored
2003-03-13 Sven Neumann <sven@gimp.org> * app/widgets/gimptoolbox.c (gimp_toolbox_init): set a window type hint of GDK_WINDOW_TYPE_HINT_NORMAL for the toolbox since UTILITY doesn't match here.
-
Sven Neumann authored
2003-03-13 Sven Neumann <sven@gimp.org> * app/gui/channels-commands.c: don't expose the internal term "component", use "channel" instead. 2003-03-13 Sven Neumann <sven@gimp.org> * POTFILES.in * de.po: updated.
-
Sven Neumann authored
2003-03-13 Sven Neumann <sven@gimp.org> * app/widgets/gimpcellrenderertoggle.c * app/widgets/gimpcellrendererviewable.c: handle RTL layout.
-
Michael Natterer authored
2003-03-13 Michael Natterer <mitch@gimp.org> * app/widgets/gimpcellrenderertoggle.c: fixed size calculation, removed padding and the spacing between the icon and the frame around it. * app/widgets/gimpwidgets-utils.[ch]: added gimp_get_icon_size() which returns the best matching icon size for a given allocation. * app/widgets/gimpcomponenteditor.[ch]: adjust the eye icon's size according to the preview_size. * app/widgets/gimppreviewrenderer.c (gimp_preview_renderer_default_render_stock): use gimp_get_icon_size() * app/widgets/gimpcomponenteditor.c * app/widgets/gimpcontainertreeview.c: iterate the tree model using a for() loop instead of nested if() { do { } while() } stuff.
-
Sven Neumann authored
2003-03-13 Sven Neumann <sven@gimp.org> * app/core/core-enums.h: made the GimpPreviewSize enum values a little bit smaller. What used to be small is now called medium. * app/config/gimpcoreconfig.c * app/gui/dialogs.c: changed accordingly.
-
- 12 Mar, 2003 1 commit
-
-
Sven Neumann authored
2003-03-12 Sven Neumann <sven@gimp.org> * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpcellrenderertoggle.[ch]: added a new cell_renderer derived from GtkCellRendererToggle. * app/widgets/gimpcomponenteditor.c: use the new cell_renderer. * app/widgets/gimpcellrendererviewable.[ch]: fixed a few typos and removed some redundant casts.
-