mirror of https://github.com/GNOME/gimp.git
148 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
![]() |
b8fcfd9af1 |
derive from GtkDrawingArea instead of deprecated GtkPreview.
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. |
|
![]() |
9dd403f7b2 |
CPPFLAGS: added -DGTK_DISABLE_DEPRECATED
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(). |
|
![]() |
14d0a3ff07 |
app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c
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. |
|
![]() |
bcd208d9f4 |
app/Makefile.am removed, chopped...
2001-12-07 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/devices.[ch]: removed, chopped... * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/gui/Makefile.am * app/widgets/gimpdeviceinfo.[ch] * app/widgets/gimpdevices.[ch] * app/gui/device-status-dialog.[ch] * app/gui/input-dialog.[ch]: ...and added here. Made GimpToolInfo a GimpContext subclass. Create a GimpDeviceManager struct in gimpdevices.c and attach it to the Gimp instance. * app/core/gimp.[ch]: removed gimp_create_context(). It was a bad idea in the first place beause it prevented GimpContext subclasses from being be properly registered with their Gimp instance. * app/core/gimpcontext.c: moved the stuff which used to be in gimp_create_context() back here. Added a "gimp" property which must be set on construction. Added a "dispose" implementation which removes the context from it's Gimp's context_list. * app/gimprc.c * app/core/gimptoolinfo.[ch] * app/display/gimpdisplayshell-callbacks.c * app/gui/brush-select.c * app/gui/dialogs-constructors.c * app/gui/gradient-editor.c * app/gui/gradient-select.c * app/gui/gui.c * app/gui/menus.c * app/gui/palette-editor.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/toolbox.c * app/tools/gimppainttool.c * app/tools/tool_manager.c * app/widgets/gimpimagedock.c: changed accordingly. * app/gui/tools-commands.[ch]: made all callback signatures the same. * app/gui/preferences-dialog.c: cleaned up the display_format_string GtkCombo code. |
|
![]() |
83468fca06 |
use g_tree_foreach() instead of deprecated g_tree_traverse().
2001-12-02 Sven Neumann <sven@gimp.org> * app/plug-in/plug-in.c: use g_tree_foreach() instead of deprecated g_tree_traverse(). * app/undo_history.c * app/display/gimpdisplayshell-selection.c * app/display/gimpdisplayshell.c * app/gui/about-dialog.c * app/gui/color-area.c * app/gui/color-select.c * app/gui/gradient-editor.c * app/gui/gui.c * app/gui/paths-dialog.c * app/gui/user-install-dialog.c * app/tools/gimpcurvestool.c * app/tools/gimpinktool.c * app/widgets/gimpcursor.c * app/widgets/gimpnavigationpreview.c * libgimpwidgets/gimpchainbutton.c * libgimpwidgets/gimppixmap.c * plug-ins/common/animationplay.c * plug-ins/common/uniteditor.c * plug-ins/ifscompose/ifscompose.c: s/gdk_gc_unref/g_object_unref/, s/gdk_drawable_unref/g_object_unref/ |
|
![]() |
bba8413773 |
app/core/Makefile.am new files: the QMask stuff stripped from GUI code.
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". |
|
![]() |
09a51f2193 |
GType is a pointer now, not a guint.
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". |
|
![]() |
d3047f570b |
don't draw resize_grip in status bar (patch from Guillermo S. Romero).
2001-11-23 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell.c: don't draw resize_grip in status bar (patch from Guillermo S. Romero). * app/devices.c * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-qmask.c * app/display/gimpdisplayshell.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/error-console-dialog.c * app/gui/file-new-dialog.c * app/gui/gradient-editor.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/preferences-dialog.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/user-install-dialog.c * 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 * app/widgets/gimpfontselection-dialog.c * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c * modules/cdisplay_gamma.c * modules/cdisplay_highcontrast.c: changed button order to follow the new GTK+ style: confirmative is right-most (for LTR rendering). |
|
![]() |
1c27bdcc4f |
gtk_item_factory_parse_rc->gtk_accel_map_load,
2001-11-14 Manish Singh <yosh@gimp.org> * RELEASE-TO-CVS.patch: gtk_item_factory_parse_rc->gtk_accel_map_load, gtk_item_factory_dump_rc->gtk_accel_map_save * configure.in: fixes for newer autoconf, AC_INIT with etc/gimprc.in now * app/core/gimpcontainer.c: g_type_instance_is_a is private (and got renamed recently), use G_TYPE_CHECK_INSTANCE_TYPE instead * app/gui/gradient-editor.c: use gtk_accel_label_set_accel_widget instead of gtk_accel_label_set_accel_object * app/gui/module-browser.c: replaced CList with a TreeView |
|
![]() |
4e9fcfa632 |
app/colormaps.c app/gdisplay.c app/nav_window.c app/scroll.c
2001-08-31 Thomas Canty <tommydal@optushome.com.au> * app/colormaps.c * app/gdisplay.c * app/nav_window.c * app/scroll.c * app/selection.c * app/undo.c * app/gui/about-dialog.c * app/gui/color-area.c * app/gui/color-select.c * app/gui/gradient-editor.c * app/gui/gui.c * app/gui/splash.c * app/tools/gimpcurvestool.c * plug-ins/Lighting/lighting_preview.c * plug-ins/Lighting/lighting_ui.c * plug-ins/MapObject/mapobject_preview.c * plug-ins/MapObject/mapobject_ui.c * plug-ins/common/animationplay.c * plug-ins/common/curve_bend.c * plug-ins/gap/gap_navigator_dialog.c * plug-ins/gfig/gfig.c * plug-ins/gimpressionist/gimpressionist.c * plug-ins/ifscompose/ifscompose.c * plug-ins/imagemap/imap_main.c * plug-ins/imagemap/imap_preferences.c * plug-ins/imagemap/imap_preview.c: replaced some deprecated GDK functions |
|
![]() |
98410c35a9 |
added -DG_DISABLE_DEPRECATED and -DGDK_DISABLE_COMPAT_H.
2001-08-29 Michael Natterer <mitch@gimp.org> * configure.in: added -DG_DISABLE_DEPRECATED and -DGDK_DISABLE_COMPAT_H. * app/batch.c * app/file-utils.c * app/gdisplay.c * app/gdisplay_ops.c * app/gimprc.[ch] * app/module_db.c * app/nav_window.c * app/undo_history.c * app/core/gimpgradient.c * app/core/gimpimagefile.c * app/core/gimppalette.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/error-console-dialog.c * app/gui/file-commands.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c * app/gui/gradient-editor.c * app/gui/info-window.c * app/gui/menus.c * app/gui/palette-import-dialog.c * app/tools/gimpbycolorselecttool.c * app/widgets/gimpcontainerview-utils.c * app/widgets/gimpdatafactoryview.c * libgimp/gimpmenu.c * plug-ins/common/bz2.c * plug-ins/common/compose.c * plug-ins/common/csource.c * plug-ins/common/decompose.c * plug-ins/common/gz.c * plug-ins/common/uniteditor.c * plug-ins/common/wmf.c * plug-ins/common/xbm.c * plug-ins/rcm/rcm_dialog.c * plug-ins/script-fu/interp_slib.c * plug-ins/script-fu/script-fu-console.c * plug-ins/script-fu/script-fu-scripts.c * tools/pdbgen/pdb/fileops.pdb * tools/pdbgen/pdb/gimprc.pdb * app/pdb/fileops_cmds.c * app/pdb/gimprc_cmds.c: removed deprecated stuff like g_basename(), g_dirname(), g_strup() and friends. Added some "const gchar *" declarations while I was on it. Added some G_N_ELEMENTS() macros instead of declaring a useless variable for the number of items. * app/widgets/gtkhwrapbox.[ch] * app/widgets/gtkvwrapbox.[ch] * app/widgets/gtkwrapbox.[ch]: replaced with the latest versions from GLE, ported by the master himself. * app/gui/toolbox.c: changed accordingly. * app/plug_in.c * libgimp/gimp.c * libgimpbase/gimpwire.[ch]: use evil hacks to get binary mode from the new GIOChannel implementation (upstream bugreport already posted). |
|
![]() |
01b780d682 |
added app/display/ and app/plug-in/. Empty for now except for the types
2001-08-17 Michael Natterer <mitch@gimp.org> * configure.in: added app/display/ and app/plug-in/. Empty for now except for the types files. * app/Makefile.am * app/appenums.h * app/apptypes.h: removed. * app/display/Makefile.am * app/display/display-types.h * app/plug-in/Makefile.am * app/plug-in/plug-in-types.h * app/gui/Makefile.am * app/gui/gui-types.h * app/pdb/Makefile.am * app/pdb/pdb-types.h: new files for typedefs. * app/appenv.h: added MessageHandlerType and StackTraceMode here. * app/undo_types.h: moved undo struct typedefs here. * app/tools/tools-types.h * app/core/core-types.h: added some enums and Tattoo here (renamed to GimpTattoo). * app/gdisplay.h: temp_hack: #include "display/display-types.h" * app/gimphelp.c: s/gtk_idle_add/g_idle_add/ * app/gimprc.c: don't use "gimprc" in token handlers but the passed "val1p" and "val2p". * app/image_map.[ch]: cleanup in preparation of making a GObject out of it. * app/base/pixel-region.[ch]: no need to pass the PixelRegionIterator around as void pointer. * app/core/gimp.[ch] * app/core/gimpcontext.[ch] * app/core/gimptoolinfo.[ch] * app/tools/tool_manager.c * app/widgets/gimpdnd.c: added the standard_tool_info to the Gimp object. * app/batch.c * app/file-open.c * app/file-save.c * app/file-utils.c * app/interface.c * app/main.c * app/path.[ch] * app/pathP.h * app/plug_in.h * app/core/gimpdrawable.[ch] * app/core/gimpimage-mask.c * app/core/gimpimage.[ch] * app/core/gimplayer.c * app/gui/color-area.c * app/gui/color-notebook.c * app/gui/colormap-dialog.c * app/gui/dialogs-commands.c * app/gui/dialogs-constructors.c * app/gui/error-console-dialog.c * app/gui/gradient-editor.c * app/gui/gradient-select.c * app/gui/indicator-area.c * app/gui/info-dialog.c * app/gui/palette-editor.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/session.c * app/gui/splash.c * app/gui/view-commands.c * app/tools/gimpinktool-blob.c * app/widgets/gimpcolorpanel.c * app/widgets/gimpdockbook.c * app/widgets/gimppreview.c * app/xcf/xcf-load.c * app/xcf/xcf-save.c * app/xcf/xcf.c: changed accordingly: s/Tattoo/GimpTattoo/, include the new types files, include <glib-object.h> instead of >gtk/gtk.h>. Bad hacks to get rid of SELECTION_OFF and friends in core/ (will be replaced ba a signal soon). * tools/pdbgen/Makefile.am: changed list of headers scanned for enums accordingly. * app/pdb/procedural_db.c * tools/pdbgen/app.pl * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/display.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/pattern_select.pdb: same fixes as above, added hacks to ensure that all foo-types.h files are included before all other gimp internal includes, include "pdb-types.h" unconditionally. * tools/pdbgen/enums.pl * app/pdb/*_cmds.c: regenerated. |
|
![]() |
cf6221600c |
app/interface.c app/gui/about-dialog.c app/gui/brush-editor.c
2001-08-14 Michael Natterer <mitch@gimp.org> * app/interface.c * app/gui/about-dialog.c * app/gui/brush-editor.c * app/gui/brush-select.c * app/gui/color-notebook.c * app/gui/color-select.c * app/gui/convert-dialog.c * app/gui/file-commands.c * app/gui/file-dialog-utils.c * app/gui/file-dialog-utils.h * 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/gradients-commands.c * app/gui/gui.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layer-select.c * app/gui/menus.c * app/gui/paths-dialog.c * app/gui/preferences-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/select-commands.c * app/gui/splash.c * app/gui/test-commands.c * app/gui/tips-dialog.c * app/tools/gimpthresholdtool.c * app/tools/paint_options.c * app/widgets/gimpdock.c * app/widgets/gimpdockbook.c: got rid of all gtk_object_[get|set]_data() and almost all gtk_signal_foo() function calls. |
|
![]() |
457854317a |
removed GIMP_ZOOM_TYPE,
2001-08-09 Michael Natterer <mitch@gimp.org> * app/appenums.h: removed GIMP_ZOOM_TYPE, * app/widgets/widgets-types.h: added it here. * app/disp_callbacks.c * app/widgets/gimpnavigationpreview.[ch] * app/gui/gradient-editor.c: removed old cruft which expects wheel events as button_4 and button_5 and connect to GdkEventScroll instead. * app/nav_window.c: connect to GimpNavigationPreview's new "scroll" and "zoom" signals. * app/gui/error-console-dialog.c: remove wheel scrol stuff (done by GtkScrolledWindow now). * app/gui/color-notebook.c * app/gui/gradient-editor.c: removed GtkPixmap stuff and use GtkImage instead. Looks a bit ugly in the color_notebook (seems we need more icon sizes). * app/gui/indicator-area.c: GObject porting. * app/gui/menus.c_ some more menu icons. * app/gui/toolbox.c: pass a GimpContext around as callback data and use context->gimp instead of accessing the global "the_gimp" variable. |
|
![]() |
a824143b20 |
set style properties for dockables.
2001-08-03 Michael Natterer <mitch@gimp.org> * gtkrc: set style properties for dockables. * app/main.c: some #if 0'ed code for mem profiling. * app/gui/commands.[ch] * app/gui/menus.c: added a mem profiling menu entry + callback. * app/gui/palette-editor.c: added a #warning as reminder, use gtk_dialog_set_has_separator(). * app/widgets/gimpcontainereditor.[ch] * app/widgets/gimpcontainerview.[ch] * app/widgets/gimpdockable.[ch] * app/widgets/gimpdrawablelistview.[ch]: added some style properties to set GimpDockable and friends' borders and spacings. * libgimpwidgets/gimppixmap.[ch] * libgimpwidgets/gimpsizeentry.[ch] * libgimpwidgets/gimpunitmenu.[ch]: GObject stuff, cleanup. * app/docindex.c * app/errorconsole.c * app/gdisplay_color_ui.c * app/gimpprogress.c * app/module_db.c * app/undo_history.c * app/user_install.c * app/gui/channels-commands.c * app/gui/gradient-editor.c * app/gui/info-window.c * app/gui/tips-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/gimphistogramtool.c * app/tools/gimphuesaturationtool.c * app/tools/gimplevelstool.c * app/tools/gimpmeasuretool.c * app/tools/gimpposterizetool.c * app/tools/gimpthresholdtool.c * app/widgets/gimpdatafactoryview.c * libgimp/gimpexport.c * modules/cdisplay_gamma.c * modules/cdisplay_highcontrast.c * plug-ins/[lots of files]: Some perl mass processing applying s/_("Foo")/GTK_STOCK_FOO/g, minor manual cleanup in some files. |
|
![]() |
8fae094e90 |
set the width of the scrollbar slider to the same value as our default
2001-07-30 Michael Natterer <mitch@gimp.org> * gtkrc: set the width of the scrollbar slider to the same value as our default font size so the sliders are nicely aligned with their descriptive labels. * libgimpwidgets/gimpdialog.[ch] * libgimpwidgets/gimpquerybox.[ch]: use GLib-isms and create the dialogs' action_area buttons with gtk_dialog_add_button() so we can use the GTK_STOCK_FOO buttons and plug in our own icon factory later. * app/qmask.[ch]: fixed the qmask buttons by applying proper GdkEvent callback conventions. * libgimpwidgets/gimpcolorbutton.c: NULLify all pointers in "destroy". * app/gdisplay_ops.c * app/gimphelp.c * app/interface.c * app/gui/brush-editor.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/dialogs-constructors.c * app/gui/file-commands.c * app/gui/file-new-dialog.c * app/gui/file-save-dialog.c * app/gui/gradient-editor.c * app/gui/gui.c * app/gui/image-commands.c * app/gui/layers-commands.c * app/gui/offset-dialog.c * app/gui/palette-editor.c * app/gui/palette-import-dialog.c * app/gui/preferences-dialog.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/tool-options-dialog.c * app/widgets/gimpwidgets-utils.c * libgimpwidgets/gimpunitmenu.c: g_signal_* and GObject stuff, use lots of GTK_STOCK_OK and friends instead of _("OK") etc., misc minor cleanups. |
|
![]() |
b906b3947f |
app/devices.c app/disp_callbacks.c app/docindex.[ch] app/file-save.c
2001-07-29 Sven Neumann <sven@gimp.org> * app/devices.c * app/disp_callbacks.c * app/docindex.[ch] * app/file-save.c * app/gdisplay.c * app/gimpprogress.[ch] * app/gimprc.c * app/plug_in.c * app/gui/gradient-editor.c * app/gui/menus.[ch]: more GObject and const changes. |
|
![]() |
98f9812ebb |
fixed typo.
2001-07-25 Sven Neumann <sven@gimp.org> * app/devices.c: fixed typo. * app/gdisplay.c * app/undo_history.c * app/user_install.c * app/gui/about-dialog.c * app/gui/color-area.c * app/gui/gradient-editor.c * app/gui/gui.c * app/gui/paths-dialog.c * app/gui/splash.c * app/tools/gimpcurvestool.c * app/tools/gimpinktool.c * app/tools/gimptexttool.c: s/gdk_[bit|pix]map_unref/gdk_drawable_unref/ * app/xcf/xcf-load.c: use GObject functions * plug-ins/common/animationplay.c: include GDK backend specific headers |
|
![]() |
06b16890ba |
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
2001-07-24 Michael Natterer <mitch@gimp.org> Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) * configure.in: require glib/gtk+ >= 1.3.7, commented out the gtkxmhtml stuff. From now on, you will need glib, pango, atk and gtk+ HEAD from CVS to hack or use GIMP HEAD. Beware, it crashes randomly :) * app/core/Makefile.am * app/core/gimpmarshal.list: new file plus rules to generate gimpmarshal.[ch] from it. * app/core/* * app/tools/* * app/widgets/* * libgimpwidgets/*: started to use the glib object system. All core/ objects are still gtk objects however. All signals are created using g_signal_new(). There are many gtk+ artefacts left. Finally, we will _not_ use the gtk_signal_foo() wrappers and friends any more. * app/colormaps.c * app/devices.[ch] * app/disp_callbacks.c * app/errorconsole.c * app/file-save.[ch] * app/interface.c * app/module_db.c * app/nav_window.c * app/ops_buttons.c * app/scroll.c * app/user_install.c * app/gui/about-dialog.c * app/gui/brush-editor.c * app/gui/brushes-commands.c * app/gui/color-notebook.c * app/gui/colormap-dialog.c * app/gui/dialogs-commands.c * app/gui/dialogs-constructors.c * app/gui/file-commands.c * app/gui/file-dialog-utils.c * app/gui/file-new-dialog.c * app/gui/file-open-dialog.[ch] * app/gui/file-save-dialog.c * app/gui/gradient-editor.c * app/gui/gradients-commands.c * app/gui/image-commands.c * app/gui/info-dialog.[ch] * app/gui/layer-select.c * app/gui/layers-commands.c * app/gui/menus.c * app/gui/offset-dialog.c * app/gui/palette-editor.c * app/gui/palettes-commands.c * app/gui/patterns-commands.c * app/gui/preferences-dialog.c * app/gui/resize-dialog.[ch] * app/gui/splash.c * app/gui/tips-dialog.c * app/gui/tool-options-dialog.c * app/gui/toolbox.c * app/gui/tools-commands.c * libgimp/gimpbrushmenu.c * libgimp/gimpmenu.c * libgimp/gimppatternmenu.c * libgimp/gimpui.c * libgimpbase/gimpenv.c: tons and tons of changes like "const gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete and currently disables), lots of s/gtk_signal/g_signal/, removal/replacement of deprecated stuff, s/GtkSignalFunc/GCallback/ and lots of small changes and fixes while I was on it, zillions of warnings left... * modules/Makefile.am: disabled the water color selector temporarily (XInput issues). * plug-ins/Makefile.am * plug-ins/common/.cvsignore * plug-ins/common/Makefile.am * plug-ins/common/plugin-defs.pl: simply excluded all plug-ins which did not build (including Script-Fu). They are trivial to fix. |
|
![]() |
b280b493c7 |
don't use the global "the_gimp" variable.
2001-07-15 Michael Natterer <mitch@gimp.org> * app/core/gimp.c: don't use the global "the_gimp" variable. * app/core/gimpimage-convert.c: don't update the display here. * app/gui/gui.c: connect to the images' "mode_changed" signal and update here. * app/gui/brush-editor.[ch] * app/gui/gradient-editor.[ch] * app/gui/palette-editor.[ch]: pass a "Gimp" pointer to all editors. Added an palette_name entry to the palette editor. * app/gui/colormap-dialog.[ch]: removed all the dialog stuff and made the constructor return a vbox so it can be integrated in a dockable. Lots of cleanup and removal of anqiuqe aretfacts. * app/gui/dialogs-constructors.[ch]: wrap the colormap dialog in a dockable. * app/gui/dialogs-commands.[ch] * app/gui/dialogs.c * app/gui/menus.c: integrate the new dockable, made the "Brushes.." etc. menu entries create dockbles. Moved the old dialogs and the test menu entries to "Old + Testing" and removed N_() so the .po files stay cruft-free. * app/gui/test-commands.[ch]: removed lots of stuff which is not "testing" any more. |
|
![]() |
c56094201d |
the active_tool may change in the middle of gdisplay_canvas_events(), so
2001-07-08 Michael Natterer <mitch@gimp.org> * app/disp_callbacks.c: the active_tool may change in the middle of gdisplay_canvas_events(), so re-get it after using it for cursor_update. * app/base/boundary.c: made some global variables local. * app/core/gimpdrawable.c: don't call gimp_drawable_set_visible() in gimp_drawable_configure() because we don't want signal emissions while configuring the drawable. * app/gui/Makefile.am * app/gui/brushes-commands.[ch] * app/gui/data-commands.[ch] * app/gui/gradients-commands.[ch] * app/gui/palettes-commands.[ch] * app/gui/patterns-commands.[ch]: new files for new new item factories' callbacks. * app/gui/menus.[ch]: added context menus for brushes, patterns, ... * app/gui/gradient-editor.c * app/gui/palette-editor.c: removed the "Save as POV", "Import Palette" and "Merge Palattes" buttons as they are item factory callbacks now. * app/widgets/gimpbrushfactoryview.[ch] * app/widgets/gimpbufferview.[ch] * app/widgets/gimpcontainereditor.[ch] * app/widgets/gimpdatafactoryview.[ch]: pass a "GimpContainerContextFunc" pointer to all GimpContainerEditor subclasses' constructors. Use the function to show the context menu. * app/widgets/gimpcontainergridview.c: dispatch the previews' "context" signal. * app/widgets/gimppreview.[ch]: new signal "context" which is emitted on right-click. * app/gui/brush-select.c * app/gui/dialogs-constructors.c * app/gui/gradient-select.c * app/gui/layers-commands.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/test-commands.c: changed accordingly. |
|
![]() |
1bcd3e1834 |
app/Makefile.am removed.
2001-07-07 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/context_manager.[ch]: removed. * app/app_procs.c: call tool_mananger instead of context_manager functions, pass "the_gimp" to some more functions. * app/drawable.[ch]: pass a GimpContext to drawable_fill(). * app/errors.c: behave according to "stack_trace_mode" when using the debugging signal handler. * app/gimprc.[ch]: removed the core/ config variables. * app/selection.c: set the selection's state to INVISIBLE in selection_pause(). * app/core/Makefile.am * app/core/gimpcoreconfig.[ch]: new files (the configuration variables used by core/). * app/core/gimpcontext.[ch]: removed the global contexts (user, default, ...) and their functions. It's no longer possible to pass NULL to the context functions to manipulate the current context (gimpcontext.c doesn't know the current context any more). * app/core/gimp.[ch]: added them here. The functions are now called gimp_[set|get]_*_context(). Added gimp_create_context() which is the only function to create contexts now. * app/gui/dialogs.[ch] * app/gui/gui.[ch]: pass "gimp" to all functions. * app/tools/tool_manager.[ch] * app/tools/tools.[ch]: pass "gimp" to lots of functions. Added the "global_tool_context" logic and the global/non-global paint options switching from the context_manager. Pass "gimp" to all tools' "register" functions. * app/tools/*: changed accordingly. * app/devices.c * app/disp_callbacks.c * app/file-open.[ch] * app/file-save.c * app/gdisplay.c * app/gimage.c * app/libgimp_glue.c * app/module_db.c * app/nav_window.c * app/plug_in.c * app/qmask.c * app/undo.c * app/base/base-config.c * app/core/gimpbrushpipe.c * app/core/gimpdrawable-offset.c * app/core/gimpgradient.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-mask.c * app/core/gimpimage-new.c * app/core/gimpimage.c * app/core/gimppalette.c * app/core/gimptoolinfo.[ch] * app/core/gimpundo.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-area.c * app/gui/dialogs-constructors.c * app/gui/file-new-dialog.c * app/gui/file-open-dialog.c * app/gui/gradient-editor.c * app/gui/gradient-select.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/menus.c * app/gui/palette-editor.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/paths-dialog.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/resize-dialog.c * app/gui/test-commands.c * app/gui/tool-options-dialog.c * app/gui/toolbox.c * app/gui/tools-commands.c * app/xcf/xcf-load.c * app/xcf/xcf-save.c * app/widgets/gimpchannellistview.c * app/widgets/gimpdnd.c * app/widgets/gimpdrawablelistview.[ch] * app/widgets/gimpimagedock.c * app/widgets/gimplayerlistview.c * app/pdb/brushes_cmds.c * app/pdb/drawable_cmds.c * app/pdb/gradient_select_cmds.c * app/pdb/gradients_cmds.c * app/pdb/palette_cmds.c * app/pdb/patterns_cmds.c * app/pdb/procedural_db.c * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/palette.pdb * tools/pdbgen/pdb/patterns.pdb: changed accordingly: remove usage of gimp_context_[get|set]_*(NULL), create contexts with gimp_create_context(). Get the user/current context with gimp_get_[user|current]_context(). Added/removed access to the global "the_gimp" variable in some places. Get the core's config variables from "core_config". |
|
![]() |
0164596064 |
app/core/Makefile.am app/core/core-types.h added an "application object"
2001-07-04 Michael Natterer <mitch@gimp.org> * app/core/Makefile.am * app/core/core-types.h * app/core/gimp.[ch]: added an "application object" called Gimp. Currently, it contains the image list, the clipboard, the data factories, the procedural hashtable and the tool info list. It's the toplevel object of the core object system. Finally, creating a Gimp object will return a standalone gimp core engine instance with no other global states/variables involved. * app/app_procs.[ch]: allocate a "Gimp" instance called "the_gimp" :) Removed stuff which is now done by the "Gimp" object. Merged gimp_init() into app_init() because gimp_init() is taken now. * app/context_manager.[ch]: removed stuff done by "Gimp". * app/batch.[ch] * app/gimage.[ch] * app/xcf/xcf-load.[ch] * app/xcf/xcf.[ch] * app/core/gimpedit.[ch] * app/tools/tool_manager.[ch]: pass around an additional "Gimp" argument. * app/pdb/procedural_db.[ch]: pass a "Gimp" pointer as first parameter to all internal procedures and to all procedural_db_* functions. * app/core/gimpcontext.[ch] * app/core/gimpimage.[ch]: added a "Gimp" pointer to the structs. * app/devices.c * app/errors.c * app/file-open.c * app/file-save.c * app/gimphelp.c * app/gimpunit.c * app/image_new.c * app/main.c * app/nav_window.c * app/plug_in.c * app/base/base.c * app/core/gimpdatafactory.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-mask.c * app/core/gimptoolinfo.[ch] * app/gui/brush-select.c * app/gui/convert-dialog.c * app/gui/dialogs-constructors.c * app/gui/edit-commands.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c * app/gui/gradient-editor.c * app/gui/gradient-select.c * app/gui/gui.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/menus.c * app/gui/palette-editor.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/paths-dialog.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/test-commands.c * app/gui/toolbox.c * app/gui/tools-commands.c * app/tools/gimpbezierselecttool.c * app/tools/gimpbucketfilltool.c * app/tools/gimppainttool.h * app/tools/gimptexttool.c * app/tools/gimptransformtool.h * app/widgets/gimpbufferview.c * app/widgets/gimpcontainerview-utils.c * app/widgets/gimpcursor.c * app/widgets/gimpdnd.c * app/widgets/gimpimagedock.c: changed accordingly. Cleaned up lots of includes. Many files still access the global "the_gimp" variable exported by app_procs.h. * tools/pdbgen/app.pl * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/edit.pdb * tools/pdbgen/pdb/fileops.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/palette.pdb * tools/pdbgen/pdb/pattern_select.pdb * tools/pdbgen/pdb/patterns.pdb * tools/pdbgen/pdb/procedural_db.pdb: changed accordingly. Don't use "the_gimp" here because all procedures get passed a "Gimp" pointer now. * app/pdb/*: regenerated. |
|
![]() |
dd4b03ec29 |
app/app_procs.c app/datafiles.c app/devices.c app/docindex.c
2001-05-21 Michael Natterer <mitch@gimp.org> * app/app_procs.c * app/datafiles.c * app/devices.c * app/docindex.c * app/gdisplay_color.c * app/gdisplay_color_ui.c * app/gimphelp.c * app/main.c * app/module_db.c * app/plug_in.c * app/resize.c * app/resolution_calibrate.c * app/undo_history.c * app/user_install.c * app/core/gimpbrushpipe.c * app/core/gimpdata.c * app/core/gimpgradient.c * app/core/gimppalette.c * app/gui/about-dialog.c * app/gui/file-new-dialog.c * app/gui/gradient-editor.c * app/gui/layers-commands.c * app/gui/menus.c * app/gui/palette-editor.c * app/gui/session.c * app/gui/splash.c * app/gui/tips-dialog.c * app/pdb/image_cmds.c * app/pdb/text_tool_cmds.c * app/tools/curves.c * app/tools/gimptexttool.c * app/tools/levels.c * app/widgets/gimpdnd.c * app/widgets/gimppreview.c * libgimp/gimpcolordisplay.h * libgimpbase/gimpbase.h * libgimpwidgets/gimpcolorarea.c * libgimpwidgets/libgimp-glue.c * plug-ins/common/gih.c * plug-ins/common/psp.c * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/text_tool.pdb: last checkin didn't get all #include "libgimp/i_dont_exist_any_more.h". This one should make it compile again without old crap hanging around in <prefix>/include. |
|
![]() |
0cbbef4025 |
app/Makefile.am removed. Stuff now lives in app_procs.[ch] and in
2001-05-13 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/cursorutil.[ch]: removed. Stuff now lives in app_procs.[ch] and in widgets/gimpcursor.[ch] * app/appenv.h: added the "gimp_busy" boolean. * app/app_procs.[ch]: added the "busy" stuff here. * app/gui/gui.[ch]: "busy" stuff for the gui. * app/widgets/Makefile.am * app/widgets/gimpcursor.[ch]: exports only one function: gimp_cursor_new() which returns a GdkCursor which has to be destroyed. * app/apptypes.h * app/appenums.h: removed the cursor types. * app/widgets/widgets-types.h: added here. * app/tools/gimpeditselectiontool.[ch]: added gtkutil_compress_motion() here (will go to some utils file in widgets/). * app/tools/tools-types.h: #include "widgets/widgets-types.h" * app/dialog_handler.c * app/disp_callbacks.c * app/gdisplay.[ch] * app/nav_window.c * app/scroll.c * app/xcf.c * app/core/gimpimage-convert.c * app/core/gimpimage-duplicate.c * app/core/gimpimage.c * app/gui/file-open-dialog.c * app/tools/gimpblendtool.c * app/tools/gimpbucketfilltool.c * app/tools/gimpcroptool.c * app/tools/gimpfuzzyselecttool.c * app/tools/gimptransformtool.c * tools/pdbgen/pdb/image.pdb * app/pdb/image_cmds.c: use the new cursor and "busy" functions. * app/gdisplay.h * app/core/gimpbrush.c: added some ugly cross-includes. * app/context_manager.c * app/gdisplay_ops.c * app/gimprc.c * app/core/gimpdrawable-offset.c * app/gui/file-save-dialog.c * app/gui/gradient-editor.c * app/gui/preferences-dialog.c * app/tools/gimpbezierselecttool.c * app/tools/gimpbycolorselecttool.c * app/tools/gimpclonetool.c * app/tools/gimpcolorpickertool.c * app/tools/gimperasertool.c * app/tools/gimpfliptool.c * app/tools/gimpinktool.c * app/tools/gimpiscissorstool.c * app/tools/gimpmagnifytool.c * app/tools/gimpmeasuretool.c * app/tools/gimpmovetool.c * app/tools/gimppainttool.c * app/tools/gimprectselecttool.c * app/tools/gimprotatetool.c * app/tools/gimpselectiontool.c: removed inclusion of "cursorutil.h" |
|
![]() |
d1022c34b6 |
app/Makefile.am removed.
2001-05-10 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/asupsample.[ch]: removed. * app/core/Makefile.am * app/core/core-types.h * app/tools/Makefile.am * app/tools/tools-types.h: new files. * app/tools/gimptoolinfo.[ch]: removed. * app/core/gimptoolinfo.[ch]: added here. * libgimp/Makefile.am * libgimp/gimp.h * libgimp/gimpadaptivesupersample.[ch] * libgimp/gimpbilinear.[ch]: removed here... * libgimpcolor/Makefile.am * libgimpcolor/gimpcolortypes.h * libgimpcolor/gimpadaptivesupersample.[ch] * libgimpcolor/gimpbilinear.[ch]: ..and added here. * tools/pdbgen/app.pl * tools/pdbgen/pdb/paths.pdb * app/*.c: changed tons of #include's |
|
![]() |
8985b107c3 |
configure.in added new directory app/core/ for the core object system.
2001-05-09 Michael Natterer <mitch@gimp.org> * configure.in * app/Makefile.am: added new directory app/core/ for the core object system. * app/gimage_mask.[ch] * app/gimpbrush-header.h * app/gimpbrush.[ch] * app/gimpbrushgenerated.[ch] * app/gimpbrushpipe.[ch] * app/gimpchannel.[ch] * app/gimpcontainer.[ch] * app/gimpcontext.[ch] * app/gimpdata.[ch] * app/gimpdatafactory.[ch] * app/gimpdatalist.h * app/gimpdrawable-desaturate.[ch] * app/gimpdrawable-equalize.[ch] * app/gimpdrawable-invert.[ch] * app/gimpdrawable-offset.[ch] * app/gimpdrawable-preview.[ch] * app/gimpdrawable.[ch] * app/gimpgradient.[ch] * app/gimpimage-convert.[ch] * app/gimpimage-duplicate.[ch] * app/gimpimage-undo.[ch] * app/gimpimage.[ch] * app/gimplayer.[ch] * app/gimplayermask.[ch] * app/gimplist.[ch] * app/gimpmarshal.[ch] * app/gimpobject.[ch] * app/gimppalette-import.[ch] * app/gimppalette.[ch] * app/gimppattern-header.h * app/gimppattern.[ch] * app/gimpundo.[ch] * app/gimpundostack.[ch] * app/gimpviewable.[ch]: removed these files... * app/core/*: ...and added them here. * app/*.c * app/gui/*.c * app/pdb/*.c * app/tools/*.c * app/widgets/*.c * plug-ins/common/gbr.c * plug-ins/common/gih.c * plug-ins/common/pat.c * po/POTFILES.in * tools/pdbgen/Makefile.am * tools/pdbgen/enums.pl * tools/pdbgen/pdb.pl * tools/pdbgen/pdb/*.pdb: changed accordingly. |
|
![]() |
9ecde4ea49 |
app/Makefile.am removed.
2001-05-08 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/gimpdnd.[ch]: removed. * app/widgets/Makefile.am * app/widgets/gimpdnd.[ch]: and moved here. * app/devices.c * app/docindex.c * app/interface.c * app/gui/about-dialog.c * app/gui/channels-dialog.c * app/gui/color-area.c * app/gui/color-select.c * app/gui/colormap-dialog.c * app/gui/gradient-editor.c * app/gui/indicator-area.c * app/gui/layers-dialog.c * app/gui/palette-editor.c * app/gui/palette-select.c * app/gui/toolbox.c * app/tools/gimpblendtool.c * app/tools/tool_manager.c * app/tools/tool_options_dialog.c: changed #includes accordingly. |
|
![]() |
a229702dfe |
added ChannelType. removed ChannelType. regenerated.
2001-05-08 Michael Natterer <mitch@gimp.org> * app/appenums.h: added ChannelType. * app/gimpimage.h: removed ChannelType. * tools/pdbgen/enums.pl: regenerated. * app/apptypes.h: don't include libgimpwidgets/gimpwidgetstypes.h and widgets/widgets-types.h any more. * app/devices.c * app/gimpdnd.c * app/gimprc.c * app/lc_dialog.c * app/gui/[many].c: include widgets/widgets-types.h * app/tools/histogram_tool.h: include widgets/widgets-types.h here because of an ugly dependency from pdb/color_cmds.c * app/tools/tool_options_dialog.c * app/widgets/widgets-types.h: include libgimpwidgets/gimpwidgetstypes.h and apptypes.h so files in widgets/ only have to include this file. * app/widgets/*.c: include widgets-types.h instead of apptypes.h * app/gimpdrawable-preview.c * app/gui/gradient-editor.c: removed useless #includes. |
|
![]() |
ddc9145256 |
app/Makefile.am app/gui/Makefile.am app/about_dialog.[ch]
2001-04-17 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/gui/Makefile.am * app/about_dialog.[ch] * app/brush_edit.[ch] * app/brush_select.[ch] * app/channels_dialog.[ch] * app/color_area.[ch] * app/color_notebook.[ch] * app/color_select.[ch] * app/colormap_dialog.[ch] * app/commands.[ch] * app/file_new_dialog.[ch] * app/gradient_editor.[ch] * app/gradient_select.[ch] * app/indicator_area.[ch] * app/info_dialog.[ch] * app/info_window.[ch] * app/layer_select.[ch] * app/layers_dialog.[ch] * app/menus.[ch] * app/palette.[ch] * app/palette_import.[ch] * app/palette_select.[ch] * app/paths_dialog.[ch] * app/pattern_select.[ch] * app/preferences_dialog.[ch] * app/session.[ch] * app/test_commands.[ch] * app/tips_dialog.[ch] * app/toolbox.[ch]: moved to gui/ (s/_/-/ and some more useful filenames on the way). * app/app_procs.c * app/context_manager.c * app/convert.c * app/disp_callbacks.c * app/errorconsole.c * app/file-open.c * app/file-save.c * app/file-utils.c * app/gdisplay.c * app/gimage.c * app/gimprc.c * app/image_new.c * app/interface.c * app/nav_window.c * app/path.c * app/plug_in.c * app/gui/dialogs-constructors.c * app/pdb/brush_select_cmds.c * app/pdb/convert_cmds.c * app/pdb/gradient_select_cmds.c * app/pdb/pattern_select_cmds.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpmagnifytool.c * app/tools/gimpmeasuretool.c * app/tools/gimpscaletool.c * app/tools/gimptransformtool.c * app/widgets/gimpcolorpanel.c * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/pattern_select.pdb * po/POTFILES.in: changed accordingly. |
|
![]() |
594496b132 |
configure.in new directory containing all widgets. Some of them will go to
2001-04-11 Michael Natterer <mitch@gimp.org> * configure.in * app/widgets/*: new directory containing all widgets. Some of them will go to libgimpwidgets. * app/color_panel.[ch] * app/gimpbrushpreview.[ch] * app/gimpconstrainedhwrapbox.[ch] * app/gimpcontainergridview.[ch] * app/gimpcontainerlistview.[ch] * app/gimpcontainerview.[ch] * app/gimpdatafactoryview.[ch] * app/gimpdock.[ch] * app/gimpdockable.[ch] * app/gimpdockbook.[ch] * app/gimpdrawablelistitem.[ch] * app/gimpdrawablelistview.[ch] * app/gimpdrawablepreview.[ch] * app/gimpgradientpreview.[ch] * app/gimpimagepreview.[ch] * app/gimplayerlistitem.[ch] * app/gimplayerlistview.{ch] * app/gimplistitem.[ch] * app/gimppalettepreview.[ch] * app/gimppatternpreview.[ch] * app/gimppreview.[ch] * app/gimptoolinfopreview.[ch] * app/gtkhwrapbox.[ch] * app/gtkvwrapbox.[ch] * app/gtkwrapbox.[ch] * app/histogramwidget.[ch]: removed from here. * app/Makefile.am * app/appenums.h * app/brush_select.c * app/channels_dialog.c * app/devices.c * app/gimpdnd.c * app/gimpdrawable-preview.c * app/gimphistogram.h * app/gradient_editor.c * app/gradient_select.c * app/indicator_area.c * app/info_window.c * app/palette.c * app/palette_select.c * app/pattern_select.c * app/qmask.c * app/test_commands.c * app/toolbox.c * app/pdb/color_cmds.c * app/tools/paint_options.c * app/tools/tool_options_dialog.c * tools/pdbgen/pdb/color.pdb: changed accordingly. |
|
![]() |
ce51c440f6 |
some random cleanups in pre-historic code.
2001-03-30 Michael Natterer <mitch@gimp.org> * app/app_procs.[ch]: some random cleanups in pre-historic code. * app/fileops.c: useless cleanup (will be split into file-open.[ch] and file-save.[ch] soon). * app/gimppattern.c: implement GimpData's "duplicate" method. * app/global_edit.c: cleanup in preparation for making a view on a GimpContainer of cut buffers out of it. * app/gradient_editor.c: don't let the name entry expand vertically. * app/menus.c: typos. |
|
![]() |
2beabbaf04 |
gimp.m4 removed.
2001-02-19 Michael Natterer <mitch@gimp.org> * gimp.m4 * gimptool.in: removed. * gimp-1.4.m4 * gimptool-1.4.in: added modified versions. gimp-1.4.m4 is untested. The m4 macro is now called AM_PATH_GIMP_1_4() * .cvsignore * Makefile.am * configure.in: changed accordingly. * libgimp/Makefile.am * libgimpcolor/Makefile.am * libgimpmath/Makefile.am * libgimpwidgets/Makefile.am: install the header files in $includedir/gimp-MAJOR.MINOR/<libname> * app/brush_edit.c: increased toplevel container border size to 4. * app/gimpdatafactoryview.c: don't generate multiple "copy"s when duplicating data objects. * app/gradient_editor.c: cleaned up the GUI. * app/lc_dialog.c: removed the "Close" button. |
|
![]() |
a80dd4d071 |
added DND source functions which work by GtkType.
2001-02-18 Michael Natterer <mitch@gimp.org> * app/gimpdnd.[ch]: added DND source functions which work by GtkType. * app/commands.c * app/brush_select.c * app/gradient_select.[ch] * app/pattern_select.c: removed the DND code here because it's all done by the GimpContainerView now. * app/gimpbrushpreview.c * app/gimpgradientpreview.c * app/gimppalettepreview.c * app/gimppatternpreview.c: use the DND by-type connect functions. * app/gimpbrushgenerated.c: implemented "duplicate", cleanup. * app/gimpcontainergridview.c * app/gimpcontainerlistview.c * app/gimpcontainerview.[ch]: added a "activate_item" signal method which is emitted by the subclasses to indicate double click. * app/gimpdatafactoryview.c: connect to "activate_item" and show the editor. * app/convert.c * app/gimppalette.[ch] * app/palette.c * app/paletteP.h * app/palette_import.c * app/palette_select.[ch]: major cleanup: Behaves like the other datatypes now: DND, context stuff, GimpContainerListViews in the dialogs etc. Mostly just removal of code. * app/gradient_editor.c: fixed signal blocking/unblocking. * plug-ins/script-fu/scripts/Makefile.am: install the "Test Sphere" script again. |
|
![]() |
2f6f9bdd0b |
app/gimpcontainer.[ch] app/gimpcontainergridview.c
2001-02-17 Michael Natterer <mitch@gimp.org> * app/gimpcontainer.[ch] * app/gimpcontainergridview.c * app/gimpcontainerlistview.c * app/gimpcontainerview.[ch] * app/gimplist.c * app/gimpmarshal.[ch]: the GimpContainer has a new virtual "reorder" method which is much more eficient then the current remove/add braindeadness when renaming data objects. Changed the views to connect to "reorder" and call the GimpContainerView's new "reorder_item" method which then does the right thing in the view subclasses. * app/gimpdatafactory.c * app/gimpdatafactoryview.c * app/gimpdatalist.[ch]: removed the data list loading and saving stuff from GimpDataList because that's the job of the GimpDataFactory. * app/brush_edit.[ch] * app/brush_select.c: cleanup. * app/gradient_editor.[ch]: changed it to work like the brush editor: return a GradientEditor pointer in the constructor and statically store this pointer in the gradient selection file. Removed the global "g_editor" variable and added tons of GradientEditor* variables to function calls so they know their context without the global variable. * app/gradient_select.c: changed accordingly. |
|
![]() |
22371de3e7 |
added a note about apptype.h and about not including headers in headers.
2001-02-14 Michael Natterer <mitch@gimp.org> * HACKING: added a note about apptype.h and about not including headers in headers. * app/apptypes.h: added GimpTool and BitmapCursor. * app/cursorutil.h * app/devices.h * app/draw_core.h * app/tools/color_picker.h * app/tools/tool.h * app/tools/tool_options.h * app/gimpcontext.h: removed includes of "tools/tool.h" * app/gimprc.[ch]: indentadion cleanup, added "module_db_load_inhibit". * app/module_db.c: removed the above variable here. * app/gimpdata.[ch]: added a vitrual "duplicate" method. * app/gimpbrush.[ch] * app/gimpbrushgenerated.[ch] * app/gimpbrushpipe.[ch] * app/gimpgradient.[ch] * app/gimppalette.[ch] * app/gimppattern.[ch]: all "load", "new" and "get_standard" functions return a GimpData pointer now. * app/gimpdatafactory.[ch]: made some stuff const. * app/gimpdatafactoryview.c: activate the "duplicate" button and set the initial button sensitivity correctly. * app/brush_select.c * app/gradient_select.c * app/pattern_select.c: use the new GimpDataFactoryView. * libgimp/Makefile.am: grouped the file to sort out what _may_ go to subdirs or separate libs. * libgimp/gimpenv.[ch]: added many "const". * app/app_procs.c * app/brush_edit.c * app/gimpcontext.c * app/gimpdnd.c * app/gradient_editor.c * app/palette.c * app/palette_import.c * app/user_install.c: many related changes. * libgimpmath/gimpmathtypes.h * libgimpmath/gimpvector.[ch]: minor cleanups. * plug-ins/script-fu/script-fu.c: gimp_data_directory() is const now. |
|
![]() |
a97e433ba2 |
app/Makefile.am po/POTFILES.in app/brushes.[ch] app/gradients.[ch]
2001-02-14 Michael Natterer <mitch@gimp.org> * app/Makefile.am * po/POTFILES.in * app/brushes.[ch] * app/gradients.[ch] * app/palettes.[ch] * app/patterns.[ch]: removed. * app/gimpdatafactory.[ch]: completely manage the data lists, including loading with different callbacks per extension. * app/gimpdatafactoryview.[ch]: enabled "new", "edit", "delete" and "refresh". * app/context_manager.c: initisalize the data factories. * app/gimpcontext.c: fixed some bad bugs introduced yesterday. * app/gradient_editor.[ch]: removed the public "create" function and create the editor implicitly on "set_gradient" * app/app_procs.c * app/apptypes.h * app/brush_edit.h * app/brush_select.c * app/commands.c * app/convert.c * app/devices.c * app/gimpbrushpipe.c * app/gimpcontainerview.h * app/gimpgradient.c * app/gimppattern.c * app/gradient_select.c * app/palette.c * app/pattern_select.c * app/pdb/brush_select_cmds.c * app/pdb/brushes_cmds.c * app/pdb/convert_cmds.c * app/pdb/gradient_select_cmds.c * app/pdb/gradients_cmds.c * app/pdb/palette_cmds.c * app/pdb/pattern_select_cmds.c * app/pdb/patterns_cmds.c * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/palette.pdb * tools/pdbgen/pdb/pattern_select.pdb * tools/pdbgen/pdb/patterns.pdb: um, much stuff, mostly "changed accordingly" ;-) |
|
![]() |
b5d8536f3f |
gimprc.in user_install user_install.bat app/gimprc.[ch] removed the
2001-02-13 Michael Natterer <mitch@gimp.org> * gimprc.in * user_install * user_install.bat * app/gimprc.[ch] * app/preferences_dialog.c: removed the "brush_vbr_path" variable, because all data types will be editable and saveable soon. * app/Makefile.am * app/apptypes.h * app/gimpdatafactory.[ch]: new object which holds a data list and knows how to create, edit, duplicate etc. the items in it. Will completely replace the brushes.[ch], patterns.[ch], ... files soon. * po/POTFILES.in * app/gimpdatacontainerview.[ch]: removed. * app/gimpdatafactoryview.[ch]: added. A view on the GimpDataFactory with a GUI for creating, editing, deleting etc. items (mostly unimplemented). * app/context_manager.[ch]: replaced the global data lists by global data factories. * app/brush_select.c * app/brushes.[ch] * app/commands.c * app/convert.c * app/devices.c * app/gimpbrush.[ch] * app/gimpbrushgenerated.c * app/gimpcontext.c * app/gimpdata.[ch] * app/gimpdatalist.[ch] * app/gimpdnd.c * app/gimpgradient.[ch] * app/gimppalette.[ch] * app/gimppattern.[ch] * app/gradient_editor.c * app/gradient_select.c * app/gradients.[ch] * app/indicator_area.c * app/palette.c * app/palette_import.c * app/palette_select.c * app/palettes.[ch] * app/pattern_select.c * app/patterns.[ch] * app/pdb/brush_select_cmds.c * app/pdb/brushes_cmds.c * app/pdb/convert_cmds.c * app/pdb/gradient_select_cmds.c * app/pdb/gradients_cmds.c * app/pdb/pattern_select_cmds.c * app/pdb/patterns_cmds.c * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/pattern_select.pdb * tools/pdbgen/pdb/patterns.pdb: changed accordingly. |
|
![]() |
656d1fae86 |
app/gradient_editor.[ch] use GimpContainerListView instead of cooking an
2001-02-13 Michael Natterer <mitch@gimp.org> * app/gradient_editor.[ch] * app/gradient_select.[ch]: use GimpContainerListView instead of cooking an own list. * app/gimpgradient.[ch]: removed the GdkPixmap from the gradient. * app/gimpcontainerlistview.c: connect the viewable's "name_changed" signal to the label. * app/gimpmarshal.[ch] * app/gimppreview.[ch]: new virtual function "get_size", * app/gimpgradientpreview.c: implement "get_size" and return a 3:1 aspect ratio. * app/gradients.c * app/palette_select.[ch] * app/palettes.c: removed the dialog freeze/thaw functions. * app/brush_select.c * app/pattern_select.c * app/plug_in.c: stuff. |
|
![]() |
d6a2d391e9 |
took gimpcontextpreview.[ch] out of the build but still left the sources
2001-02-12 Michael Natterer <mitch@gimp.org> * app/Makefile.am: took gimpcontextpreview.[ch] out of the build but still left the sources there as reference. * app/app_procs.c: initialize the render stuff before creating the toolbox (needed for the previews). * app/devices.c * app/indicator_area.c: use GimpPreviews instead of GimpContextPreviews. * app/context_manager.[ch]: create the global data lists here because they now must exist before any context is created. * app/brushes.[ch] * app/gradients.[ch] * app/palettes.[ch] * app/patterns.[ch]: removed them here. * app/gimpcontainer.[ch]: added a "freeze_count" and emit the "freeze" and "thaw" signals accordingly. * app/gimpcontext.[ch]: greatly simplified the way how the contexts connect to the data lists (simply keep them connected all the time). Also removed all those ugly explicit update functions because "thaw" callbacks do this job now. * app/gimpdata.c: a GimpData object now becomes dirty on "name_changed"; "dirty" now triggers "invalidate_preview" because the context does not dispatch these signals any more soon. * app/brush_select.c * app/convert.c * app/gimpdnd.c * app/gradient_editor.c * app/gradient_select.c * app/pattern_select.c * app/gradient_editor.c * app/gradient_select.c * app/gradients.[ch] * app/pdb/brush_select_cmds.c * app/pdb/brushes_cmds.c * app/pdb/convert_cmds.c * app/pdb/gradient_select_cmds.c * app/pdb/gradients_cmds.c * app/pdb/pattern_select_cmds.c * app/pdb/patterns_cmds.c * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/pattern_select.pdb * tools/pdbgen/pdb/patterns.pdb: changed accordingly. |
|
![]() |
e4bb2f938a |
app/Makefile.am app/apptypes.h new abstract base class for everything
2001-02-11 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/apptypes.h * app/gimpdata.[ch]: new abstract base class for everything (except images) which has a filename and can become dirty and must be saved. * app/gimpbrush.[ch] * app/gimpgradient.[ch] * app/gimppattern.[ch]: all derived from GimpData now. * app/gimpbrushgenerated.[ch] * app/brush_select.c * app/brushes.c * app/gimpbrushpipe.c * app/gradient_editor.c * app/gradients.c * app/patterns.c: removed lots of code duplication due to common file save magic. The gradient file format has changed: it now contains the gradient's name (no more ugly underscores). The files have the extension ".ggr". * app/gimpgradient.[ch]: save new gradients, load new and old gradients. * data/gradients/*: removed all old gradients and added the new ones. |
|
![]() |
e66f2bd7be |
app/Makefile.am renamed...
2001-02-10 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/gradient.[ch]: renamed... * app/gradient_editor.[ch]: ...to this * app/gradient_select.c: changed #include |
|
![]() |
07300cf385 |
app/Makefile.am app/gradientP.h removed.
2001-02-10 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/gradientP.h * app/gradient_header.h: removed. * app/gimpgradient.[ch]: new object -- bye bye "gradient_t" * app/gradients.[ch]: new files for managing the gradient list. * app/gradient.[ch]: containes only the gradient editor now (which still badly poked aroung in the GimpGradient structure). * app/app_procs.c * app/apptypes.h * app/devices.c * app/gimpcontainerlistview.c * app/gimpcontext.[ch] * app/gimpcontextpreview.[ch] * app/gimpdnd.[ch] * app/gradient_select.[ch] * app/indicator_area.c * app/palette_import.c * app/pdb/gradient_select_cmds.c * app/pdb/gradients_cmds.c * app/tools/airbrush.c * app/tools/blend.c * app/tools/paint_core.c * app/tools/paintbrush.c * app/tools/pencil.c * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb: changed accordingly, some changes to the preview and view stuff. * app/gimppreview.[ch]: removed the "context" attribute again because it was overkill (a simple gtk_signal-connect_object does the same as doing the autoconnection magic inside the GimpPreview object). * app/commands.[ch] * app/menus.c: example views on the gradient container. |
|
![]() |
7a4260da70 |
Makefile.am configure.in added the new library below.
2001-01-24 Michael Natterer <mitch@gimp.org> * Makefile.am * configure.in * gimptool.in: added the new library below. * libgimpwidgets/Makefile.am * libgimpwidgets/gimpchainbutton.[ch] * libgimpwidgets/gimpcolorarea.[ch] * libgimpwidgets/gimpcolorbutton.[ch] * libgimpwidgets/gimpdialog.[ch] * libgimpwidgets/gimpfileselection.[ch] * libgimpwidgets/gimphelpui.[ch] * libgimpwidgets/gimppatheditor.[ch] * libgimpwidgets/gimppixmap.[ch] * libgimpwidgets/gimpquerybox.[ch] * libgimpwidgets/gimpsizeentry.[ch] * libgimpwidgets/gimpunitmenu.[ch] * libgimpwidgets/gimpwidgets.[ch] * libgimpwidgets/gimpwidgets.def * libgimpwidgets/gimpwidgetstypes.h: new shared library. Currently there are some ugly dependencies into libgimp. These will be removed and go to a "libgimpglue" library which will be a library for functions which share a common interface between plug-ins and the app but have different implementations. Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h" to simulate this upcoming separation. * libgimp/Makefile.am * libgimp/gimpchainbutton.[ch] * libgimp/gimpcolorarea.[ch] * libgimp/gimpcolorbutton.[ch] * libgimp/gimpdialog.[ch] * libgimp/gimpfileselection.[ch] * libgimp/gimphelpui.[ch] * libgimp/gimppatheditor.[ch] * libgimp/gimppixmap.[ch] * libgimp/gimpquerybox.[ch] * libgimp/gimpsizeentry.[ch] * libgimp/gimpunitmenu.[ch] * libgimp/gimpwidgets.[ch]: removed from here. * libgimp/gimpui.h * libgimp/gimpuitypes.h * libgimp/makefile.mingw.in * libgimp/makefile.msc: changed accordingly. * app/[all ui files] * app/pdb/palette_cmds.c * app/pdb/tools_cmds.c * tools/pdbgen/pdb/palette.pdb * tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h" and removed useless includes. * app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h" * app/Makefile.am * plug-ins/[all makefiles which link against libgimpui]: link against libgimpwidgets.la * po-libgimp/POTFILES.in: changed file locations. |
|
![]() |
cb16697229 |
Makefile.am configure.in added stuff for the new library below.
2001-01-24 Michael Natterer <mitch@gimp.org> * Makefile.am * configure.in * gimptool.in: added stuff for the new library below. * libgimpmath/.cvsignore * libgimpmath/Makefile.am * libgimpmath/gimpmath.def * libgimpmath/gimpmath.h * libgimpmath/gimpmathtypes.h * libgimpmath/gimpmatrix.c * libgimpmath/gimpmatrix.h * libgimpmath/gimpvector.c * libgimpmath/gimpvector.h * libgimpmath/makefile.mingw.in * libgimpmath/makefile.msc: new shared library. Depends on glib only. * libgimp/Makefile.am * libgimp/gimp.def * libgimp/gimp.h: removed the math stuff. * libgimp/gimpmath.h * libgimp/gimpmatrix.[ch] * libgimp/gimpvector.[ch]: removed. * app/Makefile.am * plug-ins/Lighting/Makefile.am * plug-ins/MapObject/Makefile.am * plug-ins/pagecurl/Makefile.am: link against libgimpmath.la * app/[many files] * libgimpcolor/gimpcolorspace.c * libgimpcolor/gimprgb.c * libgimp/gimpadaptivesupersample.c * libgimp/gimpbilinear.c * libgimp/gimpwidgets.c * modules/colorsel_gtk.c * modules/colorsel_triangle.c * modules/colorsel_water.c * plug-ins/libgck/gck/gckcolor.c * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h", removed the remaining includes of the old color stuff. |
|
![]() |
e803beddd4 |
Makefile.am configure.in added stuff for the new library below.
2001-01-23 Michael Natterer <mitch@gimp.org> * Makefile.am * configure.in * gimptool.in: added stuff for the new library below. * libgimpcolor/.cvsignore * libgimpcolor/Makefile.am * libgimpcolor/gimpcolor.h * libgimpcolor/gimpcolorspace.c * libgimpcolor/gimpcolorspace.h * libgimpcolor/gimpcolortypes.h * libgimpcolor/gimphsv.c * libgimpcolor/gimphsv.h * libgimpcolor/gimprgb.c * libgimpcolor/gimprgb.h: new shared library which both the app and plug-ins link against. The library depends only on glib. * libgimpcolor/gimpcolor.def * libgimpcolor/makefile.mingw.in * libgimpcolor/makefile.msc: added Win32 build files which definitely don't work. * libgimp/Makefile.am * libgimp/gimpcolor.[ch] * libgimp/gimpcolorspace.[ch]: removed. * libgimp/gimp.h * libgimp/gimpadaptivesupersample.c * libgimp/gimpbilinear.c * libgimp/gimppalette.c * libgimp/gimptypes.h: include the stuff from libgimpcolor. Plug-Ins don't need to include <libgimpcolor/gimpcolor.h> explicitely. LibGimp depends on libgimpcolor and thus also includes it's headers. * libgimp/gimp.def * libgimp/makefile.mingw.in: fiddled around with Win32 stuff... * app/Makefile.am: link against libgimpcolor.la * app/apptypes.h: include "libgimpcolor/gimpcolortypes.h" * app/asupsample.c * app/channels_dialog.c * app/colormap_dialog.c * app/commands.c * app/convert.c * app/devices.c * app/disp_callbacks.c * app/drawable.c * app/gimpcontext.c * app/gimpdnd.c * app/gimpimage.c * app/gimppalette.c * app/gimprc.c * app/gradient.c * app/libgimp_glue.c * app/palette.c * app/palette_import.c * app/qmask.c * app/xcf.c * app/tools/paint_core.c * app/tools/paintbrush.c * app/tools/pencil.c: include "libgimpcolor/gimpcolor.h" before all gimp includes because it's a standalone library. * plug-ins/FractalExplorer/Makefile.am * plug-ins/Lighting/Makefile.am * plug-ins/MapObject/Makefile.am * plug-ins/bmp/Makefile.am * plug-ins/common/Makefile.am * plug-ins/common/mkgen.pl * plug-ins/dbbrowser/Makefile.am * plug-ins/faxg3/Makefile.am * plug-ins/fits/Makefile.am * plug-ins/flame/Makefile.am * plug-ins/fp/Makefile.am * plug-ins/gap/Makefile.am * plug-ins/gdyntext/Makefile.am * plug-ins/gfig/Makefile.am * plug-ins/gflare/Makefile.am * plug-ins/gfli/Makefile.am * plug-ins/gimpressionist/Makefile.am * plug-ins/helpbrowser/Makefile.am * plug-ins/ifscompose/Makefile.am * plug-ins/imagemap/Makefile.am * plug-ins/maze/Makefile.am * plug-ins/mosaic/Makefile.am * plug-ins/pagecurl/Makefile.am * plug-ins/print/Makefile.am * plug-ins/rcm/Makefile.am * plug-ins/script-fu/Makefile.am * plug-ins/sel2path/Makefile.am * plug-ins/sgi/Makefile.am * plug-ins/webbrowser/Makefile.am * plug-ins/xjt/Makefile.am: add libgimpcolor.la to LDADD. * INSTALL: don't recommend to --disable-shared for development. * TODO.xml: increased some percentages, added plug-in help stuff. |
|
![]() |
afebbc2f86 |
app/Makefile.am new files containing most of the code from
2001-01-22 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/toolbox.[ch]: new files containing most of the code from app/interface.[ch] * app/interface.[ch]: only contains create_display_shell() now. Needs to be somehow merged with other arbitrarily named display files around. * app/app_procs.c * app/menus.c * po/POTFILES.in: changed accordingly. * app/asupsample.c * app/gradient.c * app/tile.c: cleanup. |
|
![]() |
f96d3776fe |
added a "title" parameter to the constructor. Pass a pointer to the
2001-01-21 Michael Natterer <mitch@gimp.org> * app/color_notebook.[ch]: added a "title" parameter to the constructor. Pass a pointer to the ColorNotebook to the callback. Added a _get_color() function. * app/color_panel.[ch]: added a "title" parameter which is used for the notebook. * app/channels_dialog.c * app/color_area.c * app/colormap_dialog.c * app/convert.c * app/palette_select.c * app/qmask.c: changed the calls to color_notebook_new(), color_panel_new() and the ColorNotebook callbacks. * app/gradient.c: use a ColorNotebook instead of GtkColorSelection. * app/palette.c * app/palette_entries.h: use GimpRGB to store the color in the PaletteEntry. * po/POTFILES.in: added app/color_area.c |
|
![]() |
c31d2639e3 |
made gradient_get_color_at() use GimpRGB.
2001-01-20 Michael Natterer <mitch@gimp.org> * app/gradient.[ch]: made gradient_get_color_at() use GimpRGB. * app/airbrush.c * app/blend.c * app/gimpcontextpreview.c * app/gradient_select.c * app/paint_core.[ch] * app/paintbrush.c * app/palette.c * app/pencil.c * app/gradients_cmds.c * app/gradient_select_cmds.c * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb: changed accordingly. |
|
![]() |
8571f45c77 |
app/color_notebook.[ch] app/gimpcontext.[ch] made the _set_color() and
2001-01-20 Michael Natterer <mitch@gimp.org> * app/color_notebook.[ch] * app/gimpcontext.[ch] * app/gimpdnd.h: made the _set_color() and _drop_color() functions take a "const GimpRGB *" parameter. * app/by_color_select.c * app/channels_dialog.c * app/color_area.c * app/color_panel.c * app/color_picker.c * app/color_select.c * app/colormap_dialog.c * app/disp_callbacks.[ch] * app/gimpimage.h * app/palette.c: changed accordingly. * app/gradient.c * app/gradientP.h * app/gradient_header.h: use GimpRGB internally. |