- 13 Jan, 2003 2 commits
-
-
Michael Natterer authored
2003-01-13 Michael Natterer <mitch@gimp.org> * app/gui/brushes-menu.[ch] * app/gui/buffers-menu.[ch] * app/gui/channels-menu.[ch] * app/gui/colormap-editor-menu.[ch] * app/gui/dialogs-menu.[ch] * app/gui/documents-menu.[ch] * app/gui/file-open-menu.[ch] * app/gui/file-save-menu.[ch] * app/gui/gradient-editor-menu.[ch] * app/gui/gradients-menu.[ch] * app/gui/image-menu.[ch] * app/gui/images-menu.[ch] * app/gui/layers-menu.[ch] * app/gui/palette-editor-menu.[ch] * app/gui/palettes-menu.[ch] * app/gui/patterns-menu.[ch] * app/gui/qmask-menu.[ch] * app/gui/toolbox-menu.[ch] * app/gui/vectors-menu.[ch]: new files, one per GimpItemFactory, containing the menu entries and their setup and update funcs. * app/gui/brushes-commands.[ch] * app/gui/patterns-commands.[ch]: removed because they contained only update funcs. * app/gui/Makefile.am: changed accordingly. Split the huge SOURCES list in smaller ones for menus and dialogs. * app/gui/menus.[ch]: removed the menu entries and setup funcs. Added MENU_SEPARATOR() and MENU_BRANCH() macros to the header. Made some utility functions public. * app/display/gimpdisplayshell.[ch] * app/gui/buffers-commands.[ch] * app/gui/channels-commands.[ch] * app/gui/colormap-editor-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/images-commands.[ch] * app/gui/layers-commands.[ch] * app/gui/palette-editor-commands.[ch] * app/gui/palettes-commands.[ch] * app/gui/qmask-commands.[ch] * app/gui/vectors-commands.[ch]: removed the update funcs. * app/gui/plug-in-menus.[ch]: renamed plug_in_set_menu_sensitivity() to plug_in_menus_update(). Cleanup. * app/gui/paths-dialog.[ch]: added the <Paths> entries here so they will go away together with these files. * app/gui/dialogs-constructors.c * app/gui/drawable-commands.c: removed useless #includes.
-
Sven Neumann authored
2003-01-13 Sven Neumann <sven@gimp.org> Changed my mind again and decided that gimpconfig-dump should create gimprc-1.3.5.in and have configure process it. * app/config/Makefile.am * app/config/gimpconfig-dump.c: create gimprc-1.3.5.in to be processed by configure. * configure.in * docs/Makefile.am * docs/gimprc-1.3.5: removed again ... * docs/gimprc-1.3.5.in: ... and replaced with a new version generated by gimpconfig-dump.
-
- 12 Jan, 2003 6 commits
-
-
Sven Neumann authored
2003-01-13 Sven Neumann <sven@gimp.org> * app/config/Makefile.am * app/config/gimpconfig-dump.c * app/config/gimpconfig-serialize.c: more work on gimpconfig-dump. * configure.in * docs/Makefile.am * docs/gimprc-1.3.5.in: removed ... * docs/gimprc-1.3.5: ... and replaced with a new version generated using gimpconfig-dump (although it's not perfect yet).
-
Dave Neary authored
2003-01-12 Dave Neary <bolsh@gimp.org> * plug-ins/common/plugin-def.pl * plug-ins/common/psd_save.c * plug-ins/common/Makefile.am * plug-ins/common/.cvsignore: Finally added PSD save support
-
Manish Singh authored
2003-01-12 Manish Singh <yosh@gimp.org> * plug-ins/common/plugin-def.pl * plug-ins/common/Makefile.am * plug-ins/common/.cvsignore: Commented out the psd_save.c bit for now, looks like bolsh forgot to cvs add the file.
-
Jan Morén authored
2003-01-12 Jan Morén <jan.moren@lucs.lu.se> * sv.po: Updated Swedish translation.
-
Michael Natterer authored
2003-01-12 Michael Natterer <mitch@gimp.org> * app/widgets/gimpitemlistview.c: pass the GimpItemListView as "data" to the item_factory callbacks, not just a "Gimp" pointer. * app/display/gimpdisplayshell.c: use gtk_window_add_accel_group(), not gimp_window_add_accel_group() because we now attach the menubar's accel group, which has the GimpDisplay as callback data. * app/display/gimpdisplayshell-callbacks.c: pass the GimpDisplay as "popup_data" to *_item_factory_popup_with_data(). * app/gui/channels-commands.c * app/gui/drawable-commands.c * app/gui/layers-commands.c * app/gui/vectors-commands.c: changed accordingly. * app/widgets/gimpwidgets-utils.[ch]: removed gimp_window_[add|remove]_accel_group() and gimp_widget_get_callback_context() because they were evil hacks which are no longer needed now that all item_factories have proper callback data (no just Gimp pointers).
-
Dave Neary authored
2003-01-12 Dave Neary <bolsh@gimp.org> * plug-ins/common/plugin-def.pl * plug-ins/common/psd_save.c * plug-ins/common/Makefile.am * plug-ins/common/.cvsignore: Added PSD save support (alpha) to devel branch, from a plug-in written by Monignotes (?). This should be integrated into the main PSD plug-in before 1.4 - or should at least use the same PsdImage structure.
-
- 11 Jan, 2003 5 commits
-
-
Christian Rose authored
2003-01-11 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation.
-
Sven Neumann authored
2003-01-11 Sven Neumann <sven@gimp.org> * app/config/Makefile.am: reverted my latest change since it broke the build in a fresh CVS checkout. Instead added make targets to create a man-page and a default gimprc that take care of building gimpconfig-dump. * app/config/gimpconfig-dump.c: started to work on the man-page dump functionality.
-
Michael Natterer authored
-
Michael Natterer authored
2003-01-11 Michael Natterer <mitch@gimp.org> * app/widgets/gimpdialogfactory.c * app/widgets/gimptoolbox.c: removed GDK_HINT_USER_POS and GDK_HINT_USER_SIZE again because they caused problems with some window managers Instead, set the window's size with gtk_window_parse_geometry().
-
Sven Neumann authored
2003-01-11 Sven Neumann <sven@gimp.org> * app/config/Makefile.am: always build gimpconfig-dump. * app/config/gimpconfig-params.[ch]: added an enum to specify the type of path with GIMP_PARAM_SPEC_PATH. * app/config/gimpconfig-dump.c: document the different types of paths differently. * app/config/gimpbaseconfig.c * app/config/gimpcoreconfig.c * app/config/gimpguiconfig.c * app/config/gimppluginconfig.c: register the path types. * etc/gimprc: generated a new system gimprc. * plug-ins/common/tiff.c: added missing spaces in warning and removed trailing newlines in strings passed to g_message().
-
- 10 Jan, 2003 15 commits
-
-
Maurits Rijk authored
-
Maurits Rijk authored
-
Sven Neumann authored
2003-01-10 Sven Neumann <sven@gimp.org> * app/app_procs.c (app_init) * app/core/gimp.c (gimp_set_config): delayed the activation of gimprc-autosave so we don't write the monitor resolution obtained from GDK back to the gimprc on each startup. * app/gui/gui.c (gui_get_screen_resolution): round values to get rid of rounding errors introduced earlier. Looks better in the prefs dialog. * app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale): merged fix for bug #94979 from stable branch. Go even further and don't limit the zoom ratio between 1:16 and 16:1. * app/display/gimpdisplayshell.c (gimp_display_shell_new): merged fix for bug #103030 from stable branch.
-
Maurits Rijk authored
-
Michael Natterer authored
2003-01-10 Michael Natterer <mitch@gimp.org> * app/widgets/gimpcolormapeditor.c * app/widgets/gimpcontainereditor.[ch] * app/widgets/gimpdataeditor.c: pass the editor widget as callback_data to GtkItemFactory callbacks, not a "Gimp" pointer. * app/gui/buffers-commands.c * app/gui/colormap-editor-commands.c * app/gui/data-commands.c * app/gui/documents-commands.c * app/gui/gradient-editor-commands.c * app/gui/gradients-commands.c * app/gui/images-commands.c * app/gui/palette-editor-commands.c * app/gui/palettes-commands.c * app/gui/patterns-commands.c: simply cast the passed "data" pointer instead of calling gimp_widget_get_callback_context(). Don't #include "widgets/gimpwidgets-utils.h".
-
Michael Natterer authored
2003-01-10 Michael Natterer <mitch@gimp.org> Move away from creating all item_factories statically in menus_init() but create a new one for each place where one is needed: * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpmenufactory.[ch]: new factory which creates and configures the GimpItemFactories it knows about on-the-fly. * app/widgets/gimpitemfactory.[ch]: added gimp_item_factory_update() which calls the "update_func". Added "gboolean update_on_popup" so item_factories can be configured to require manual updates (used for the <Image> factory). * app/gui/menus.[ch]: create a "global_menu_factory" and register all menus we have with it. Added various setup functions which do stuff like adding the "Open Recent" menu or reorder plug-in menu entries. Removed the debugging stuff... * app/gui/Makefile.am * app/gui/debug-commands.[ch]: ...and added it here. * app/gui/gui.c: create the <Toolbox>, the popup-<Image> and the <Paths> factories here because they are still global. * app/gui/plug-in-menus.[ch]: changed the "image_factory" parameters to "item_factory" and create/update the entries for the passed item_factory only. Makes the whole stuff much more straightforward. * app/plug-in/plug-ins.c: don't call plug_in_make_menu(). * app/display/gimpdisplay.[ch] * app/display/gimpdisplayshell.[ch]: added "menu_factory" and "popup_factory" parameters to gimp_display_new() and gimp_display_shell_new(). Create the menubar_factory and the qmask_factory dynamically. Pass the shell, not a Gimp to the QMask callbacks. Changed gimp_display_shell_set_menu_sensitivity() to gimp_display_shell_menu_update() and don't call it directly (it's a GimpItemFactory update_func now). Call gimp_item_factory_update() on the resp. factories instead. * app/gui/qmask-commands.c * app/display/gimpdisplayshell-callbacks.c * app/tools/gimpimagemaptool.c: changed accordingly. * app/widgets/gimpbrusheditor.c * app/widgets/gimpbrushfactoryview.[ch] * app/widgets/gimpbufferview.[ch] * app/widgets/gimpcolormapeditor.[ch] * app/widgets/gimpcontainereditor.[ch] * app/widgets/gimpdataeditor.[ch] * app/widgets/gimpdatafactoryview.[ch] * app/widgets/gimpdialogfactory.[ch] * app/widgets/gimpdock.c * app/widgets/gimpdockbook.[ch] * app/widgets/gimpdocumentview.[ch] * app/widgets/gimpgradienteditor.[ch] * app/widgets/gimpimageview.[ch] * app/widgets/gimpitemlistview.[ch] * app/widgets/gimppaletteeditor.[ch]: pass around lots of GimpMenuFactory pointers and menu_identifiers so all views can create their item_factories themselves. Unref the factories when they are no longer needed because they belong to the views now. * app/gui/dialogs-commands.c * app/gui/dialogs-constructors.c * app/gui/dialogs.c * app/gui/brush-select.c * app/gui/gradient-select.c * app/gui/palette-select.c * app/gui/pattern-select.c: changed accordingly. * app/gui/file-dialog-utils.[ch] (file_dialog_new): require menu_factory and menu_identifier parameters. * app/gui/file-open-dialog.[ch] * app/gui/file-save-dialog.[ch]: removed file_*_dialog_menu_init() (they went to menus.c as setup_funcs). Added file_*_dialog_set_type() and moved the <Load> and <Save> factory callbacks to file-commands.c * app/gui/file-commands.[ch]: changed accordingly. * app/gui/view-commands.c: changed the statusbar, menubar, rulers and guides callbacks to do their job only if the setting has actually changed. Don't update whole item factories afterwards. Instead, just change the state of the items that actually need update. Unrelated: * app/core/gimpchannel.c (gimp_channel_init): set "bounds_known" and friends to FALSE since we don't know that the new channel will be empty (fixes QMask and probably other stuff). * app/gui/image-commands.c * app/gui/vectors-commands.c: cleanup.
-
Dom Lachowicz authored
-
Christian Rose authored
2003-01-10 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation.
-
Sven Neumann authored
2003-01-10 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpstock.c (gimp_stock_init): fixed my last commit.
-
Maurits Rijk authored
-
Michael Natterer authored
2003-01-10 Michael Natterer <mitch@gimp.org> * app/tools/gimpvectortool.c (gimp_vector_tool_button_press): create a new GimpVectors object if the tool has none. Cleanup.
-
Sven Neumann authored
-
Sven Neumann authored
2003-01-10 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpstock.[ch]: prefixed ALL, NONE, GROW and SHRINK with SELECTION_ since they should only be used for in a selection context. Register a few icons in dialog size as well. * app/gui/menus.c * app/widgets/gimpselectioneditor.c: changed accordingly. * themes/Default/images: renamed icons accordingly. * plug-ins/common/uniteditor.c: use stock items.
-
Jan Morén authored
2003-01-10 Jan Morén <jan.moren@lucs.lu.se> * sv.po: Updated Swedish translation.
-
Daniel Yacob authored
-
- 09 Jan, 2003 11 commits
-
-
Sven Neumann authored
2003-01-10 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.c: fixed a compiler warning. * plug-ins/gfig/gfig.c: fixed preview code so that the plug-in is at least a bit useful again. Misc minor cleanups, still a mess.
-
Sven Neumann authored
2003-01-09 Sven Neumann <sven@gimp.org> * app/app_procs.c: fixed typos. * app/tools/xinput_airbrush.[ch]: removed from CVS; can always be resurrected from the Attic. The files kept getting in the way when grepping the source.
-
Maurits Rijk authored
-
Christian Neumair authored
-
Sven Neumann authored
2003-01-09 Sven Neumann <sven@gimp.org> * app/config/gimprc-blurbs.h: fixed typo. * app/pdb/procedural_db.c (procedural_db_run_proc): always set the number of returned values, even in case of an error. * app/widgets/gimphelp.c: fix #65789 similar to how Tor did it in the stable branch.
-
Sven Neumann authored
2003-01-09 Sven Neumann <sven@gimp.org> * plug-ins/gfig/images/Makefile.am * plug-ins/gfig/images/stock-logo.png: new Gfig logo courtesy of Owen <oc@webone.com.au>. * plug-ins/gfig/gfig-stock.[ch] * plug-ins/gfig/gfig.c: use the new logo icon. * plug-ins/gfig/pix_data.h: removed the old one.
-
Jakub Steiner authored
2003-01-09 Jakub Steiner <jimmac@ximian.com> * data/images/gimp_splash.png: new splash
-
Sven Neumann authored
2003-01-09 Sven Neumann <sven@gimp.org> * app/main.c (main) * app/app_procs.c (app_init): combined console output into single messages to allow for better translation.
-
Sven Neumann authored
2003-01-09 Sven Neumann <sven@gimp.org> * app/core/gimpdrawable.c (gimp_drawable_configure): use _("Unnamed") if no name was given. Fixes bug #89328 in a more general way. * plug-ins/common/psd.c: simply pass NULL as layer and channel name if the PSD file provides none.
-
Christian Rose authored
2003-01-09 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation.
-
Daniel Yacob authored
-
- 08 Jan, 2003 1 commit
-
-
Manish Singh authored
2003-01-08 Manish Singh <yosh@gimp.org> * plug-ins/gimpcons.py: import gtkcons only when we're about to use it. This and below allows plug-in query to work even without an interface. * plug-ins/pdbbrowse.py: define BrowseWin (which needs gtk) only when we need it and are guaranteed a gui setup.
-