1. 13 Jan, 2003 2 commits
    • Michael Natterer's avatar
      app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] · 6f29b766
      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.
      6f29b766
    • Sven Neumann's avatar
      Changed my mind again and decided that gimpconfig-dump should create · 2e591534
      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.
      2e591534
  2. 12 Jan, 2003 6 commits
    • Sven Neumann's avatar
      app/config/Makefile.am app/config/gimpconfig-dump.c more work on · e0ea1dbc
      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).
      e0ea1dbc
    • Dave Neary's avatar
      plug-ins/common/plugin-def.pl plug-ins/common/psd_save.c · 033778fe
      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
      033778fe
    • Manish Singh's avatar
      plug-ins/common/plugin-def.pl plug-ins/common/Makefile.am Commented out · 6767e671
      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.
      6767e671
    • Jan Morén's avatar
      Updated Swedish translation. · 1c0d7e33
      Jan Morén authored
      2003-01-12  Jan Morén  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      1c0d7e33
    • Michael Natterer's avatar
      pass the GimpItemListView as "data" to the item_factory callbacks, not · f44500aa
      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).
      f44500aa
    • Dave Neary's avatar
      plug-ins/common/plugin-def.pl plug-ins/common/psd_save.c · 6098d871
      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.
      6098d871
  3. 11 Jan, 2003 5 commits
    • Christian Rose's avatar
      Updated Swedish translation. · c44a93c2
      Christian Rose authored
      2003-01-11  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      c44a93c2
    • Sven Neumann's avatar
      reverted my latest change since it broke the build in a fresh CVS · 1e8a49d2
      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.
      1e8a49d2
    • Michael Natterer's avatar
      fixed my last ChangeLog entry. · eaa4eeba
      Michael Natterer authored
      eaa4eeba
    • Michael Natterer's avatar
      app/widgets/gimpdialogfactory.c removed GDK_HINT_USER_POS and · 28da5054
      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().
      28da5054
    • Sven Neumann's avatar
      always build gimpconfig-dump. · bf12a078
      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().
      bf12a078
  4. 10 Jan, 2003 15 commits
    • Maurits Rijk's avatar
      Fixing dumb mistake in my last commit. · 72bcaa38
      Maurits Rijk authored
      72bcaa38
    • Maurits Rijk's avatar
      Fix for #95737 · 28ade0ed
      Maurits Rijk authored
      28ade0ed
    • Sven Neumann's avatar
      app/app_procs.c (app_init) delayed the activation of gimprc-autosave so we · ed312c95
      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.
      ed312c95
    • Maurits Rijk's avatar
      Fix for #96611 (again) · 891520c4
      Maurits Rijk authored
      891520c4
    • Michael Natterer's avatar
      app/widgets/gimpcolormapeditor.c app/widgets/gimpcontainereditor.[ch] pass · dd27eb1e
      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".
      dd27eb1e
    • Michael Natterer's avatar
      Move away from creating all item_factories statically in menus_init() but · 8d86ec25
      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.
      8d86ec25
    • Dom Lachowicz's avatar
      2a6d3edd
    • Christian Rose's avatar
      Updated Swedish translation. · 31cc0629
      Christian Rose authored
      2003-01-10  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      31cc0629
    • Sven Neumann's avatar
      fixed my last commit. · 5894ea34
      Sven Neumann authored
      2003-01-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpstock.c (gimp_stock_init): fixed my last commit.
      5894ea34
    • Maurits Rijk's avatar
      Fix for #96611 · bfd02e4d
      Maurits Rijk authored
      bfd02e4d
    • Michael Natterer's avatar
      create a new GimpVectors object if the tool has none. Cleanup. · 415f54d1
      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.
      415f54d1
    • Sven Neumann's avatar
      added inline pics for the renamed icons · 13b8bf53
      Sven Neumann authored
      13b8bf53
    • Sven Neumann's avatar
      prefixed ALL, NONE, GROW and SHRINK with SELECTION_ since they should only · a4630504
      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.
      a4630504
    • Jan Morén's avatar
      Updated Swedish translation. · e4a4952d
      Jan Morén authored
      2003-01-10  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      e4a4952d
    • Daniel Yacob's avatar
      Updating Amharic translation. · 9929157c
      Daniel Yacob authored
      9929157c
  5. 09 Jan, 2003 11 commits
  6. 08 Jan, 2003 1 commit
    • Manish Singh's avatar
      import gtkcons only when we're about to use it. This and below allows · 6423b268
      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.
      6423b268