- 02 Dec, 2001 1 commit
-
-
Daniel Egger authored
2001-12-02 Daniel Egger <degger@fhm.edu> * app/gimprc.c: Convert ugly comments into named structure fields. Much cleaner and less errorprone though may cause troubles on older compilers and then needs to be reverted. Please report! * app/base/base-types.h: Add FIXME reminder. * app/base/gimplut.c: Use CLAMP macro instead of if-cascade. * app/base/temp-buf.c: Remove duplicated calculations and simplify checks. * app/base/tile-manager.c: - (tile_manager_get_tile_num): Return success and take an additional pointer for the tilenumber. - Simplify logic in the rest of the file as a result. - Remove rotten debugging cruft. * app/core/gimpbrushgenerated.c: Fix two stylistic nits. * app/app_procs.c: Include <stdlib.h> for exit () prototype. * app/core/gimpdrawable-blend.c: Include <stdlib.h> for abs () prototype. * app/display/gimpdisplay.c: Include <string.h> for memcpy () prototype. * app/core/gimpimage-convert.c: (HIST_RGB): First parameter is not const. Fixes a gcc warning for a wrong return value. * libgimpwidgets/gimpunitmenu.c * app/core/gimpunit.c: Add suggested (by gcc 3.1 cvs) parentheses to group correct logic tests together. * app/paint-funcs/paint-funcs-generic.h: Fix my HAS_ALPHA macro to avoid gcc 3.1 cvs warning. * app/gimprc.h * pathP.h * base-config.h * app/base/boundary.h * app/base/gimplut.[ch] * app/base/pixel-region.h * app/base/pixel-surround.[ch] * app/base/temp-buf.[ch] * app/base/tile-manager-private.h * app/base/tile-manager.c * app/base/tile-private.h * app/base/tile.[ch] * app/core/gimp.h * app/core/gimpbrushgenerated.h * app/core/gimpbrushpipe.h * app/core/gimpchannel.[ch] * app/core/gimpcontainer.h * app/core/gimpcoreconfig.h * app/core/gimpdata.h * app/core/gimpdatafactory.[ch] * app/core/gimpdrawable-blend.c * app/core/gimpdrawable.[ch] * app/core/gimpimage.h * app/core/gimpimagefile.h * app/core/gimplayer.h * app/core/gimplayermask.h * app/core/gimpmoduleinfo.h * app/core/gimppalette.h * app/core/gimpundo.h * app/display/gimpdisplay.h * app/display/gimpdisplayshell-selection.h * app/display/gimpdisplayshell.h * app/gui/brush-select.h * app/gui/gradient-editor.h * app/gui/gradient-select.h * app/gui/info-dialog.h * app/gui/resize-dialog.h * app/tools/gimpbezierselecttool.h * app/tools/gimpcolorbalancetool.h * app/tools/gimpcolorpickertool.h * app/tools/gimpcurvestool.h * app/tools/gimpdodgeburntool.c * app/tools/gimpfreeselecttool.h * app/tools/gimpfuzzyselecttool.h * app/tools/gimphuesaturationtool.h * app/tools/gimpinktool-blob.h * app/tools/gimpinktool.h * app/tools/gimpiscissorstool.h * app/tools/gimpmagnifytool.h * app/tools/gimpmeasuretool.h * app/tools/gimppainttool.h * app/tools/gimppathtool.h * app/tools/gimprectselecttool.h * app/tools/gimpthresholdtool.h * app/tools/gimptool.h * app/tools/gimptransformtool.h * app/tools/path_toolP.h * app/widgets/gimpbrushfactoryview.h * app/widgets/gimpconstrainedhwrapbox.h * app/widgets/gimpcontainermenu.h * app/widgets/gimpcontainerview.h * app/widgets/gimpdialogfactory.h * app/widgets/gimpimagedock.h * app/widgets/gimplistitem.h * app/widgets/gimpmenuitem.h * app/widgets/gimpnavigationpreview.h * app/widgets/gimppreview.h: Unsignify lots of variables and parameters and use bitfields in structs where possible. First part of a huge cleanup all over the code...
-
- 01 Dec, 2001 5 commits
-
-
Michael Natterer authored
2001-12-01 Michael Natterer <mitch@gimp.org> * app/errors.c: forgot a "return". * app/gui/error-console-dialog.c: the menu item signals were connected "swapped", which is wrong. * app/tools/gimperasertool.c: added a cursor_update_func(), update the "toggled" state there and chain up. Fixes wrong cursor updating. Made brush_pipe slection work again, removed the #warnings: * app/core/gimpbrush.[ch] * app/core/gimpbrushpipe.c: changed brush_class->select_brush() and brush_class->want_null_motion() to be proper virtual functions. Pass last_coords and cur_coords to them. * app/tools/gimppainttool.c: call the functions again.
-
Michael Natterer authored
2001-12-01 Michael Natterer <mitch@gimp.org> * app/main.c * app/appenv.h: moved "message_handler" from here... * app/core/gimp.[ch]: ...to here. Added gimp_message() and a "gui_message_func" pointer... * app/gui/gui.c: ...which gets set here to gui_message(). * app/errors.c: don't include any gui stuff but simply call gimp_message(). * app/app_procs.c: don't set "message_handler" here, it's done in gui.c now. * app/gui/error-console-dialog.[ch]: use gimp->message_handler. * app/gui/dialogs-constructors.c: pass a Gimp pointer to error_console_create(). * app/widgets/gimpwidgets-utils.[ch]: made the "message" parameter of gimp_message_box() a const gchar*, not just gchar*. * tools/pdbgen/pdb/message.pdb: use gimp->message_handler, don't include "appenv.h". * app/pdb/message_cmds.c: regenerated. * app/devices.[ch]: cleanup before chopping: removed global variable "current_device", added devices_get_current(), pass lots of Gimp pointers around. * app/gimprc.c: pass a Gimp pointer to devices_rc_update(). * app/display/gimpdisplayshell-callbacks.c * app/gui/toolbox.c * app/tools/gimppainttool.c: use devices_get_current(), pass Gimp pointers to all devices_foo() functions. * app/core/gimpimage-mask.c: no need to include "pdb/pdb-types.h".
-
Daniel Egger authored
2001-12-01 Daniel Egger <degger@fhm.edu> * app/core/Makefile.am * libgimp/Makefile.am * libgimpbase/Makefile.am * libgimpcolor/Makefile.am * libgimpmath/Makefile.am * libgimpwidgets/Makefile.am * modules/Makefile.am * themes/Default/Makefile.am: Don't try to concatenate something to a variable not used before but simply assign it. Shuts up annoying automake warnings for me.
-
Kwok-Koon Cheung authored
-
Michael Natterer authored
2001-11-30 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/plug_in.[ch]: removed... * app/plug-in/Makefile.am * app/plug-in/plug-in-types.h * app/plug-in/plug-in.[ch]: ...and added here. * app/appenv.h: removed StackTraceMode and MessageHandlerType... * libgimpbase/gimpbasetypes.h: ...and added them here. * tools/pdbgen/Makefile.am: don't scan "app/apptypes.h" for enums. * tools/pdbgen/enumcode.pl: added a general check to prevent enums which are defined in libgimp* from being written to "libgimp/gimpenums.c". * libgimp/gimpenums.h * plug-ins/script-fu/script-fu-constants.c * tools/pdbgen/enums.pl: regenerated. * app/core/core-types.h: include "pdb/pdb-types.h" so including "core/core-types.h" gets the whole core type space. * app/core/gimp.[ch]: added a "stack_trace_mode" parameter to the constructor and store it in the Gimp struct because the value is also passed to plug-ins and nobody should include "appenv.h". * app/gimprc.[ch]: pass the alternate_system_gimprc and alternate_gimprc filenames from the command line to gimprc_prase() so we don't need to include "appenv.h". * app/batch.[ch]: pass the "batch_cmds" as parameter, don't include "append.h". * app/app_procs.c: pass more parameters around. * app/devices.c * app/errors.c * app/gimphelp.c * app/main.c * app/core/gimpgradient.c * app/display/gimpdisplay.c * app/display/gimpdisplayshell.c * app/file/file-open.c * app/file/file-save.c * app/file/file-utils.c * app/gui/commands.c * app/gui/error-console-dialog.c * app/gui/file-dialog-utils.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c * app/gui/paths-dialog.c * app/gui/user-install-dialog.c * app/tools/gimpbezierselecttool.c * app/tools/xinput_airbrush.c * app/xcf/xcf.c * tools/pdbgen/pdb/fileops.pdb * tools/pdbgen/pdb/help.pdb * tools/pdbgen/pdb/message.pdb * tools/pdbgen/pdb/plug_in.pdb: changed accordingly: - changed "plug-in.h" include where needed. - don't call gimp_fatal_error() directly, it's called via the log handler when calling g_error(). - don't incude "errors.h" except from main.c. - changed stack_trace and message_handler enum names. - get "stack_trace_mode" from Gimp. - removed many inclusions of "appenv.h". * app/pdb/fileops_cmds.c * app/pdb/help_cmds.c * app/pdb/message_cmds.c * app/pdb/plug_in_cmds.c * app/pdb/procedural_db.c: regenerated.
-
- 30 Nov, 2001 4 commits
-
-
Michael Natterer authored
2001-11-30 Michael Natterer <mitch@gimp.org> * app/display/Makefile.am * app/display/gximage.[ch]: removed. It was a wrapper around nothing since we use GdkRGB. * app/display/gimpdisplayshell-render.[ch]: added the render buf size defines here, added the #if 0'ed display filter stuff and the actual GdkRGB render stuff here too. * app/display/gimpdisplayshell.[ch]: added shell->render_buf as replacement for the global gximage buffer, renamed shell->scroll_gc to shell->render_gc and use it all over the place when rendering image data. * app/display/gimpdisplayshell-callbacks.c * app/display/gimpdisplayshell-scroll.c: changed accordingly. * app/gui/gui.c: don't call gximage init/exit stuff.
-
Rebecca Walter authored
2001-11-30 Rebecca Walter <bex@gimp.org> * app/gui/gradient-select.c * app/gui/gui.c * app/gui/indicator-area.c * app/gui/info-dialog.c * app/gui/info-window.c: More proofreading. In cooperation with Marco Wessel (CyBeR)
-
Michael Natterer authored
2001-11-30 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/colormaps.[ch]: removed. * app/app_procs.c: don't call it. * app/gui/gui.c: configure GdkRGB here. * app/display/gimpdisplayshell.c * app/display/gximage.c * app/gui/color-notebook.c * app/gui/color-select.c * app/gui/colormap-dialog.c * app/gui/info-window.c * app/gui/preferences-dialog.c * app/tools/gimpmovetool.c * app/display/gimpdisplayshell-selection.c: changed accordingly (simply removed the unneded include or use gdk_gc_set_rgb_[fg|bg]_color() instead). * app/display/gimpdisplayshell.c * app/display/gimpdisplayshell-callbacks.[ch]: chopped gimp_display_shell_canvas_events() in smaller callbacks. Only the events that trigger tool actions are handled in a single callback.
-
Michael Natterer authored
2001-11-30 Michael Natterer <mitch@gimp.org> * app/core/Makefile.am * app/core/gimpimage-qmask.[ch]: new files: the QMask stuff stripped from GUI code. Added gimp_image_qmask_invert(). * app/core/gimpimage.[ch]: removed the QMask functions. * app/display/Makefile.am * app/display/gimpdisplayshell-qmask.[ch]: removed. * app/gui/Makefile.am * app/gui/qmask-commands.[ch]: new files for the new QMask item factory callbacks and the qmask query dialog. * app/gui/menus.c: added a context menu for the QMask button. * app/display/gimpdisplayshell.c * app/display/gimpdisplayshell-handlers.c: don't include the qmask stuff. * app/display/gimpdisplayshell-callbacks.[ch]: Moved the 2 qmask callbacks here. Don't popup the dialog on double_click. Show the contect menu on right-click. * app/display/gimpdisplayshell-callbacks.[ch]: gimp_display_shell_canvas_events(): removed the hack of conntecting "key_press_event" to gtk_true() while a tool is active. Instead, check for (event & GDK_BUTTON1_MASK) in the key_press and key_release handlers and stop signal emission. Save the modifier state on "button_press" and restore it after "button_release". Changed the way context menus are updated/shown: - removed GimpContainerContextFunc. - pass around item factory identifiers (e.g. "<Brushes>") - added voodoo to update the menus before showing them. * app/widgets/gimpitemfactory.[ch]: gimp_item_factory_new(): take a GimpItemFactoryUpdateFunc parameter, attach it as data to the factory and use it to update the menu in gimp_item_factory_popup_with_date(). * app/widgets/gimpwidgets-utils.[ch]: removed gimp_item_factory_popup_with_data() here. * app/widgets/gimpbrushfactoryview.[ch] * app/widgets/gimpbufferview.[ch] * app/widgets/gimpcontainereditor.[ch] * app/widgets/gimpdatafactoryview.[ch] * app/widgets/gimpdocumentview.[ch] * app/widgets/gimpdrawablelistview.[ch]: use item_factory identifier strings all over the place. * app/widgets/gimpdockbook.c: removed the menu update code, it's now in gui/dialogs-commands.c. * app/gui/brushes-commands.[ch] * app/gui/buffers-commands.[c] * app/gui/channels-commands.[ch] * app/gui/dialogs-commands.[ch] * app/gui/documents-commands.[ch] * app/gui/gradient-editor-commands.[ch] * app/gui/gradients-commands.[ch] * app/gui/layers-commands.[ch] * app/gui/palettes-commands.[ch] * app/gui/patterns-commands.[ch]: removed all show_context_menu() functions and made the update functions public. Changed all update functions to use the gimp_item_factory_set_foo() methods instead of gimp_menu_item_set_foo(). * app/gui/menus.c: pass the update functions to the gimp_item_factory_new(). * app/gui/dialogs-constructors.c: pass item factory identifiers to all view constructors. * app/gui/gradient-editor.c: show the context menu using the new method. * app/gui/toolbox.c: no need to include "dialogs-commands.h".
-
- 29 Nov, 2001 10 commits
-
-
Sven Neumann authored
2001-11-29 Sven Neumann <sven@gimp.org> * app/config/gimpconfig.c (gimp_config_serialize): ooops.
-
Michael Natterer authored
2001-11-29 Michael Natterer <mitch@gimp.org> * app/gui/menus.c: set the accelerators for the "Open Recent" items > 10 to "" instead of NULL so gtk+ doesn't use the stock item's default accel. * app/widgets/gimpdock.c * app/widgets/gimpimagedock.c: set the docks' titles to "Gimp Dock #<n>" instead of just "Gimp" so they can be distinguished in the WM's window list or dock or whatever.
-
Michael Natterer authored
2001-11-29 Michael Natterer <mitch@gimp.org> * app/gui/menus.c: put the last_opened menu entries in a submenu called "Open Recent", added items to create a dock with some useful tabs in it ("Brushes, Patterns & Stuff..."), * app/gui/dialogs-commands.[ch]: added a callback for the new "Stuff" menu entry. * app/gui/dialogs-constructors.h: removed dialogs_lc_get() declaration because it doesn't exist.
-
Michael Natterer authored
2001-11-29 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell.[ch]: replaced the QMask radio buttons ba a single check button. Still needs some tuning. * app/display/gimpdisplayshell-handlers.c * app/display/gimpdisplayshell-qmask.[ch]: changed accordingly. * app/tools/gimptool.[ch]: added "gboolean handle_empty_image" to the GimpTool structure. * app/tools/gimpmovetool.c: set it to TRUE. * app/tools/gimpfuzzyselecttool.c: don't gimp_[set|unset]_busy() while calculating the selection but set the busy cursor on the display manually (we have the pointer grabbed anyway). * app/display/gimpdisplayshell-callbacks.c: don't check for GIMP_IS_MODE_TOOL(active_tool) but look at active_tool->handle_empty_image. Removed the checks for GIMP_IS_FUZZY_SELECT_TOOL(active_tool) because fuzzy_select doesn't set GIMP busy while it's active any more. * app/tools/transform_options.[ch] * app/tools/gimptransformtool.c * app/tools/gimprotatetool.c * app/tools/gimpscaletool.c: added widgets for the transform tools' constraints (one more #51108 issue fixed). * app/tools/gimperasertool.c: cosmetic. * app/widgets/gimpdockbook.c: don't hardcode GtkNotebook's tab_border to 0 but add a style property for it... * themes/Default/gtkrc: ...and set it to 0 here.
-
Sven Neumann authored
2001-11-29 Sven Neumann <sven@gimp.org> * libgimpbase/gimpenv.c * plug-ins/helpbrowser/helpbrowser.c * plug-ins/imagemap/imap_preferences.c: use g_build_filename(). * plug-ins/script-fu/script-fu-scripts.c: use new GDir functions, g_build_filename() and g_file_test() to make code more portable. Don't use deprecated gdk_font functions. We don't use X fonts any longer.
-
Sven Neumann authored
2001-11-29 Sven Neumann <sven@gimp.org> * app/gimprc.c (save_gimprc_strings): reverted list handling for unknown_tokens to the code used in 1.2 which has the advantage that it doesn't crash.
-
Sven Neumann authored
2001-11-29 Sven Neumann <sven@gimp.org> * m4macros/gimp-1.4.m4: use gimptool-1.3. * app/display/gimpdisplayshell.c * app/gui/gui.c: cosmetic changes from Guillermo S. Romero. * plug-ins/common/*.c * plug-ins/script-fu/script-fu-scripts.c: applied patches from Guillermo S. Romero that change the button ordering. I had to redo some of the changes by hand since the patches didn't apply cleanly. Hopefully got it all right...
-
Kelly Martin authored
* base/pixel-region.c base/tile-manager.c: a couple more interesting off-by-one errors. it appears to work now, though.
-
Kelly Martin authored
* base/pixel-region.c: corrected an off-by-one error, sorry :)
-
Kelly Martin authored
* app/undo.c: Fixed another use of array of gpointer in place of a proper struct, this time in undo_(push|pop)_channel_mod. * base/base-types.h * base/tile-manager.h * base/tile-manager-private.h * base/tile-manager.c: added PixelDataHandle as an abstraction on top of tiles. PixelDataHandles either return a pointer into the tile data, or create a temporary buffer so the calling function can access data from disparate tiles using a single buffer. This is a step in reducing the dependence of core image functions being aware of tiles as well as a step toward having a single abstraction for pixel data. * app/image_map.c: changed to use read_pixel_data_1 * app/pixel-region.c: changed to use the read_pixel_data and write_pixel_data where practical.
-
- 28 Nov, 2001 5 commits
-
-
Michael Natterer authored
2001-11-28 Michael Natterer <mitch@gimp.org> * app/core/gimpimage-mask.[ch]: s/gimage_mask/gimp_image_mask/g * app/floating_sel.c * app/undo.c * app/undo_history.c * app/core/gimpchannel.c * app/core/gimpdrawable-blend.c * app/core/gimpdrawable-transform.c * app/core/gimpdrawable.c * app/core/gimpedit.c * app/core/gimpimage-crop.c * app/core/gimpimage-mask-select.c * app/core/gimpimage-resize.c * app/core/gimpimage-scale.c * app/core/gimpimage.c * app/display/gimpdisplayshell-qmask.c * app/display/gimpdisplayshell-selection.c * app/display/gimpdisplayshell.c * app/gui/channels-commands.c * app/gui/edit-commands.c * app/gui/layers-commands.c * app/gui/select-commands.c * app/tools/gimpbucketfilltool.c * app/tools/gimpbycolorselecttool.c * app/tools/gimpclonetool.c * app/tools/gimpcroptool.c * app/tools/gimpeditselectiontool.c * app/tools/gimpfliptool.c * app/tools/gimpfreeselecttool.c * app/tools/gimpinktool.c * app/tools/gimpmovetool.c * app/tools/gimppainttool.c * app/tools/gimprectselecttool.c * app/tools/gimpselectiontool.c * app/tools/gimptexttool.c * app/tools/gimptransformtool.c * app/widgets/gimpchannellistview.c * app/xcf/xcf-save.c * tools/pdbgen/pdb/edit.pdb * tools/pdbgen/pdb/selection.pdb: changed accordingly. * app/pdb/edit_cmds.c * app/pdb/selection_cmds.c: regenerated.
-
Michael Natterer authored
2001-11-28 Michael Natterer <mitch@gimp.org> * app/base/base-types.h: include the new "paint-funcs/paint-funcs-types.h". * app/paint-funcs/Makefile.am * app/paint-funcs/paint-funcs-types.h: new file. Includes "base/base-types.h". * app/paint-funcs/paint-funcs.[ch]: removed the enums here, include "paint-funcs-types.h". * app/widgets/widgets-types.h: include "display/display-types.h" * app/display/display-types.h: include "widgets/widgets-types.h". * app/tools/tools-types.h: include "display/display-types.h" * app/gui/gui-types.h: include "tools/tools-types.h". The order of namespaces/dependencies should be (but is not): (base, paint-funcs) -> (core, file, xcf, pdb) -> (widgets, display) -> tools -> gui * app/path.c: include "tools/tools-types.h". * app/core/Makefile.am * app/core/gimpimage-guides.[ch] * app/core/gimpimage-merge.[ch] * app/core/gimpimage-resize.[ch] * app/core/gimpimage-scale.[ch]: new files. * app/core/gimpimage.[ch]: removed the stuff which is in the new files. Reordered all functions in both the .h and .c files, commented the groups of functions. * app/core/gimpcontainer.c: create the handler_id using a counter, not the address of a pointer, because the address *may* be the same twice, added debugging output. * app/core/gimpviewable.[ch]: added primitive support for getting a preview GdkPixbuf. * app/nav_window.c * app/undo.c * app/undo_history.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-mask.[ch] * app/display/gimpdisplay.c * app/display/gimpdisplayshell-callbacks.c * app/display/gimpdisplayshell-dnd.c * app/display/gimpdisplayshell-render.c * app/display/gimpdisplayshell-scale.c * app/display/gimpdisplayshell-scroll.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/palette-import-dialog.c * app/tools/gimpbycolorselecttool.c * app/tools/gimpeditselectiontool.c * app/tools/gimpmeasuretool.c * app/tools/gimpmovetool.c * app/widgets/gimpcontainerview-utils.c * app/xcf/xcf-load.c: changed accordingly, some cleanup. * tools/pdbgen/pdb/guides.pdb * tools/pdbgen/pdb/image.pdb: changed accordingly, reordered functions. * app/plug_in.c: set the labels of the "Repeat" and "Re-Show" menu items to the name of the last plug-in (Fixes #50986). * app/display/gimpdisplayshell.[ch]: set the labels of "Undo" and "Redo" to the resp. undo names. Much simplified the WM icon stuff by removing most code and using gimp_viewable_get_new_preview_pixbuf(). * app/widgets/gimpbrushfactoryview.c: forgot to assign the GQuark returned by gimp_container_add_handler(). * app/pdb/guides_cmds.c * app/pdb/image_cmds.c * libgimp/gimpimage_pdb.[ch]: regenerated.
-
Kelly Martin authored
* app/undo.c: Fixed evil<tm> double casting of enum to glong to gpointer for layer_mod undo by using a struct instead of an array of gpointer (!!!) for storing layer_mod undo data. Also moved layer offset undo information out of the undo tile manager. * app/image_map.c: Moved layer offset undo information out of the undo tile manager. Above changes may break image_map and layer_mod undos, please test as I haven't. :)
-
Michael Natterer authored
2001-11-28 Michael Natterer <mitch@gimp.org> * app/core/Makefile.am * app/core/gimpimage-projection.[ch]: new files. Changed function names to be consistent. * app/core/gimpimage.[ch]: removed the projection stuff here. Removed the gimp_image_composite_blah() functions becauee they were just calling the resp. gimp_image_projection ones. * app/core/gimpimage-contiguous-region.c * app/core/gimpimage-convert.c * app/core/gimpimage-crop.c * app/core/gimppalette-import.c * app/undo.c * app/display/gimpdisplay.c * app/display/gimpdisplayshell-render.c * app/gui/info-window.c * app/tools/gimpbycolorselecttool.c * app/tools/gimpcolorpickertool.c * app/tools/gimpiscissorstool.c: changed accordingly.
-
Michael Natterer authored
2001-11-28 Michael Natterer <mitch@gimp.org> * themes/Default/images/Makefile.am * themes/Default/images/stock-wilber-16x16.png * themes/Default/images/stock-wilber-32x32.png * themes/Default/images/stock-wilber-48x48.png * themes/Default/images/stock-wilber-64x64.png: new files. * themes/Default/Makefile.am: create gimp-wilber-pixbufs.h * libgimpwidgets/gimpdialog.[ch]: removed gimp_dialog_set_icon(). * libgimpwidgets/gimpwidgets.[ch]: added gimp_widgets_init() which calls gimp_stock_init() and calls gtk_window_set_default_icon_list() with the above set of inlined pixbufs. * libgimp/gimpui.c * app/gui/gui.c: call gimp_widgets_init(). * app/display/gimpdisplayshell.c: removed the fallback icon stuff. * app/gui/splash.c * app/gui/user-install-dialog.c * app/widgets/gimpdock.c * app/widgets/gimpitemfactory.c * libgimpwidgets/gimphelpui.c * plug-ins/imagemap/imap_default_dialog.c * plug-ins/imagemap/imap_file.c: don't call gimp_dialog_set_icon(). * plug-ins/common/uniteditor.c: wanted to start hacking here... Nothing really changed.
-
- 27 Nov, 2001 5 commits
-
-
Michael Natterer authored
2001-11-28 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpbutton.c * libgimpwidgets/gimpcolorarea.c * libgimpwidgets/gimpcolorbutton.c * libgimpwidgets/gimpoffsetarea.c: fixed button_press event handling, removed double g_return_if_fail()s, misc. cleanup. * app/display/gimpdisplayshell.c: removed the SET_COLOR() stuff here... * app/gui/menus.c: ...and added it here so it actually works. * app/widgets/gimpcolorpanel.c: add color previews to the item_factory. * app/widgets/gimpdockbook.c: use the item_factory functions now that they are in widgets/. * app/widgets/gimpitemfactory.[ch]: nothing, we just want to keep the RCS hirtory.
-
Daniel Egger authored
2001-11-27 Daniel Egger <degger@fhm.edu> * app/paint-funcs/paint-funcs-generic.h * app/paint-funcs/paint-funcs.c * app/paint-funcs/paint-funcs.h: Unsignified lots of arguments and misc cleanups.
-
Michael Natterer authored
2001-11-27 Michael Natterer <mitch@gimp.org> * app/widgets/Makefile.am * app/widgets/gimpitemfactory.[ch]: put the whole generic stuff from gui/menus.[ch] here (where generic == less_evil because it at least does not depend on particular menu entries). * app/gui/menus.[ch]: removed the stuff here. Only the global menu definitions and bad hacks to adjust them to our needs left. Removed all menus_get_foobar_factory() functions because we can use gtk_item_factory_from_path("<FooBar>") all over the place. * app/plug_in.c * app/display/gimpdisplayshell.c * app/gui/brushes-commands.c * app/gui/buffers-commands.c * app/gui/channels-commands.c * app/gui/dialogs.c * app/gui/documents-commands.c * app/gui/file-dialog-utils.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c * app/gui/gradient-editor-commands.c * app/gui/gradients-commands.c * app/gui/gui.c * app/gui/layers-commands.c * app/gui/palettes-commands.c * app/gui/paths-dialog.c * app/gui/patterns-commands.c * app/gui/toolbox.c: changed accordingly. None of these files except gui/gui.c includes gui/menus.h any more.
-
Michael Natterer authored
2001-11-27 Michael Natterer <mitch@gimp.org> * app/core/gimpcontainer.c: GType is a pointer now, not a guint. * app/widgets/gimpdock.c: chain up in widget_class->style_set(). Gradient Editor chopping plus merging of bex' proofreading: (fixes #62278). * app/core/core-types.h: moved the gradient related enums here. * app/core/gimpgradient.[ch]: removed the enums, added gradient segment utility functions from the gradient_editor. * app/gui/gui-types.h: added the GradientEditor typedef here. * app/gui/Makefile.am * app/gui/gradient-editor-commands.[ch]: new files implementing callbacks and menu_update stuff for the new gradient_editor item factory. * app/gui/gradient-editor.[ch]: removed tons of code, namespace cleanup, stuff... * app/gui/menus.[ch]: added the gradient_editor menu stuff here. Added menus_set_color() which creates & updates a color menu item (will soon be used in other places too). Renamed menus_set_state() to menus_set_active(). The editor's menu code is ugly as before, only different and evil the same way as the rest of the menu stuff, so it's at least consistent :) * app/display/gimpdisplayshell.c: changed accordingly. * app/gui/test-commands.c: don't include "gradient-editor.h".
-
Sven Neumann authored
2001-11-27 Sven Neumann <sven@gimp.org> * configure.in * app/Makefile.am * app/config/gimpconfig.[ch] * app/config/gimpconfig-serialize.[ch] * app/config/gimpconfig-deserialize.[ch]: added new base class GimpConfig that knows how to serialize and deserialize it's properties in sexp format. Contains two example properties that will go into derived classes once this is really used. * app/main.c: deserialize and serialize the test GimpConfig object to ~/.gimp-1.3/foorc (only for debugging). * app/widgets/widgets-types.h * app/core/core-types.h: moved GimpPreviewSize enum to core-types. * app/core/core-types.h: don't include gdk-pixbuf.h. * app/core/gimptoolinfo.h * app/core/gimpimagefile.c: include gdk-pixbuf.h. * app/core/gimpimage.[ch]: made construct_flag a gboolean. * app/core/gimpdrawable-invert.c * app/core/gimpunit.c * tools/pdbgen/pdb/plug_in.pdb * app/pdb/plug_in_cmds.c: removed unused variables. * app/display/Makefile.am: removed .PHONY and files cruft * app/Makefile.am * libgimp/Makefile.am * libgimpbase/Makefile.am * libgimpcolor/Makefile.am * libgimpmath/Makefile.am * libgimpwidgets/Makefile.am * plug-ins/Makefile.am: removed commented out makefile.mingw rules. If we ever need them again, they can easily be resurrected from CVS.
-
- 26 Nov, 2001 4 commits
-
-
Kelly Martin authored
2001-11-26 Kelly Martin <kmartin@pyrzqxgl.org> * app/Makefile.am * libgimp/Makefile.am * libgimpbase/Makefile.am * libgimpcolor/Makefile.am * libgimpmath/Makefile.am * libgimpwidgets/Makefile.am * plug-ins/Makefile.am: Commented out makefile.mingw rules in Makefile.am. These conflict with the default rules generated by automake and generate annoying warnings. tml doesn't think they're needed anymore. If it turns out they are, they can be added back.
-
Rebecca Walter authored
2001-11-26 Rebecca Walter <rjp@mail.tele.dk> * app/gui/convert-dialog.c * app/gui/dialogs-constructors.c * app/gui/error-console-dialog.c * app/gui/file-commands.c * app/gui/file-new-dialog.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c: More of my extensive proofing. Someone needs to check bex comments and do some hacking.
-
Michael Natterer authored
2001-11-26 Michael Natterer <mitch@gimp.org> * app/core/gimpimage.c: gimp_image_construct_layers/channels(): actually free the reverse_list after projecting the drawables. (Spotted by Kelly Martin).
-
Michael Natterer authored
2001-11-26 Michael Natterer <mitch@gimp.org> * tools/authorsgen/contributors: added Rebecca Walter (bex). * AUTHORS * app/gui/authors.h: regenerated. * app/widgets/widgets-types.h: added GimpPreviewSize enum. * app/gimprc.c * app/gui/menus.c * app/gui/preferences-dialog.c * app/widgets/gimpdockbook.c: use the new enum. * app/tools/gimpbucketfilltool.c * app/tools/gimpconvolvetool.c * app/tools/gimpcroptool.c * app/tools/gimpdodgeburntool.c * app/tools/gimperasertool.c * app/tools/gimpfliptool.c * app/tools/gimpmagnifytool.c: added "(<Ctrl>)" and "(<Alt>)" to some tool options strings. * app/tools/gimpmovetool.c: some more widgets for hidden tool options (#51108). * app/tools/transform_options.c: renamed to "Tool Paradigm" stuff to something more understandable. * app/widgets/gimpdock.c: added a style property for the height of the separator. * themes/Default/gtkrc: show how to use the new property. * app/widgets/gimpcontainerview.c * app/widgets/gimpdockable.c * app/widgets/gimplayerlistview.c: waste less lines when calling gtk_widget_style_get().
-
- 25 Nov, 2001 6 commits
-
-
Simon Budig authored
2001-11-25 Simon Budig <simon@gimp.org> * app/tools/gimperasertool.c * app/tools/gimperasertool.h * tools/pdbgen/pdb/tools.pdb: Removed the color_erase option of the eraser. * app/pdb/tools_cmds.c: regenerated.
-
Simon Budig authored
2001-11-25 Simon Budig <simon@gimp.org> * app/paint-funcs/paint-funcs.c: ANTI_ERASE had wrong layer mode information (according to the comments). Changed it to something sane. I did test it and no errors occurred. I wonder why they did not happen earlier...
-
Sven Neumann authored
2001-11-25 Sven Neumann <sven@gimp.org> * Made 1.3.1 release.
-
Sven Neumann authored
2001-11-25 Sven Neumann <sven@gimp.org> * app/paint-funcs/Makefile.am * data/misc/Makefile.am: made 'make dist' happy.
-
Sven Neumann authored
-
Sven Neumann authored
2001-11-25 Sven Neumann <sven@gimp.org> * Makefile.am * configure.in * gimp-1.3.pc.in * gimpui-1.3.pc.in: added pkg-config files for gimp-1.3. * gimptool-1.4.in: renamed to gimptool-1.3.in * docs/Makefile.am * docs/gimptool-1.4.1.in renamed to docs/gimptool-1.3.1.in. Disabled installation of man-pages; they need to be updated and should probably be renamed. * app/Makefile.am: generate binary called gimp-1.3 sp we don't clash with older gimp installations. * gimp-1.3.pc.in * gimpui-1.3.pc.in: added pkg-config files for gimp-1.3. * INSTALL * NEWS: updated
-