1. 25 Mar, 2003 15 commits
    • Michael Natterer's avatar
      added "gchar *default_font". and its blurb. · 47419bbc
      Michael Natterer authored
      2003-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpcoreconfig.[ch]: added "gchar *default_font".
      	* app/config/gimprc-blurbs.h: and its blurb.
      
      	* app/core/gimp.[ch]: keep a GimpFontList around.
      
      	* app/core/gimpcontext.[ch]: added a GimpFont and all needed
      	fonctions to let it work like brush, pattern etc.
      
      	* app/core/gimpdatalist.c: cosmetic.
      47419bbc
    • Michael Natterer's avatar
      app/text/Makefile.am app/text/text-types.h new GimpList subclass. · bc9676e4
      Michael Natterer authored
      2003-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/text/Makefile.am
      	* app/text/text-types.h
      	* app/text/gimpfontlist.[ch]: new GimpList subclass. Unused...
      
      	* app/text/gimpfont.[ch]: added gimp_font_get_standard().
      bc9676e4
    • Michael Natterer's avatar
      added GIMP_CONTEXT_PATTERN_MASK to the context properties which are · 8ed375a4
      Michael Natterer authored
      2003-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_manager.c: added GIMP_CONTEXT_PATTERN_MASK to the
      	context properties which are remembered per tool options.
      
      	* app/tools/paint_options.[ch]
      	* app/tools/gimpblendoptions.c: attach the brush and gradient
      	preview to the GtkTable that holds opacity and paint mode.
      
      	* app/tools/gimpbucketfilloptions.c: added a pattern preview
      	and popup.
      8ed375a4
    • Michael Natterer's avatar
      app/text/Makefile.am app/text/text-types.h new object. Does nothing yet. · f4364f1a
      Michael Natterer authored
      2003-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/text/Makefile.am
      	* app/text/text-types.h
      	* app/text/gimpfont.[ch]: new object. Does nothing yet.
      f4364f1a
    • Sven Neumann's avatar
      fixed my ChangeLog entry · 4a581d82
      Sven Neumann authored
      4a581d82
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 6c103bf6
      Pablo Gonzalo del Campo authored
      2003-03-25  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
              * es.po: Updated Spanish translation.
      6c103bf6
    • Sven Neumann's avatar
      more gimp-intl.h fixes · 9967893f
      Sven Neumann authored
      9967893f
    • Sven Neumann's avatar
      libgimptool/Makefile.am include libgimp-intl.h here. · 16f265aa
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimptool/Makefile.am
      	* gimptoolenums.c: include libgimp-intl.h here.
      16f265aa
    • Sven Neumann's avatar
      include locale.h for setlocale(). · 208915d4
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptext.c: include locale.h for setlocale().
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/widgets/Makefile.am: changed rules that generate enums code
      	to include gimp-intl.h instead of libgimp-intl.h.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/*.pdb: include gimp-intl.h.
      208915d4
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
    • Michael Natterer's avatar
      added new functions gimp_image_active_[layer|channel|vectors]_changed() · dfd7df9a
      Michael Natterer authored
      2003-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: added new functions
      	gimp_image_active_[layer|channel|vectors]_changed() which emit the
      	resp. signals.
      
      	* app/core/gimpimage-undo-push.c (undo_pop_layer,channel,vectors):
      	fixed them to not leave the image's active layer, channel, vectors
      	pointers undefined (fixes bug #109110). Call gimp_item_removed()
      	from all of them.
      
      	* app/core/gimpimage-qmask.c: cleanup.
      dfd7df9a
    • Michael Natterer's avatar
      cast batch_cmds to (const gchar **) when passing them to batch_init(). · b7190b25
      Michael Natterer authored
      2003-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c (app_init): cast batch_cmds to (const gchar **)
      	when passing them to batch_init().
      
      	* app/widgets/gimpcontainertreeview.c
      	(gimp_container_tree_view_button_press): moved the call just added
      	inside the if(view->container) because it will fail if selecting
      	the item destroyed the widget.
      b7190b25
    • Michael Natterer's avatar
      don't use gimp_context_copy_property() but gimp_context_get_by_type() · d7f1b640
      Michael Natterer authored
      2003-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainerpopup.c
      	(gimp_container_popup_real_confirm): don't use
      	gimp_context_copy_property() but gimp_context_get_by_type()
      	followed by gimp_context_set_by_type() because GimpContext's
      	"copy" functions are special and skip the normal parent_context
      	logic intentionally (fixes bug #109115).
      d7f1b640
    • Sven Neumann's avatar
      configure.in removed traces of gap which was moved to a separate CVS · 3dd44bf2
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* plug-ins/Makefile.am: removed traces of gap which was moved to a
      	separate CVS module and bumped the version to 1.3.14.
      
      	* pixmaps/Makefile.am: removed a couple of pixmaps that are not
      	used any longer.
      3dd44bf2
    • Michael Natterer's avatar
      need to call gtk_tree_view_column_cell_set_cell_data() again after · ea8e22bb
      Michael Natterer authored
      2003-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainertreeview.c
      	(gimp_container_tree_view_button_press): need to call
      	gtk_tree_view_column_cell_set_cell_data() again after fiddling
      	with the GtkTreeView (fixes bug #109121).
      ea8e22bb
  2. 24 Mar, 2003 10 commits
    • Michael Natterer's avatar
      ignore double clicks on toggle cells (fixes bug #109114). · 74887c86
      Michael Natterer authored
      2003-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainertreeview.c
      	(gimp_container_tree_view_button_press): ignore double clicks on
      	toggle cells (fixes bug #109114).
      74887c86
    • Manish Singh's avatar
      moved to gimp-gap · d0e2755a
      Manish Singh authored
      d0e2755a
    • Sven Neumann's avatar
      added new functions gimp_enum_menu_set_stock_prefix() and · 7f22c349
      Sven Neumann authored
      2003-03-24  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpenummenu.[ch]: added new functions
      	gimp_enum_menu_set_stock_prefix() and
      	gimp_enum_option_menu_set_stock_prefix() that allow to
      	conveniently add stock icons to enum menus.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimplevelstool.c: use the new functions here.
      7f22c349
    • Michael Natterer's avatar
      don't try to reorder dockables in a dock containing exactly one dockable · d48936b9
      Michael Natterer authored
      2003-03-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdock.c (gimp_dock_separator_drag_drop): don't
      	try to reorder dockables in a dock containing exactly one dockable
      	(fixes bug #109042)
      d48936b9
    • Michael Natterer's avatar
      register GimpPaintApplicationMode with the type system. · c40a6f99
      Michael Natterer authored
      2003-03-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/paint-enums.[ch]: register GimpPaintApplicationMode
      	with the type system.
      
      	* app/paint/gimppaintoptions.[ch]: replaced "gboolean incremental"
      	with "GimpPaintApplicationMode application_mode"
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppencil.c: changed accordingly.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: ditto. Set all paint options
      	values using g_object_set().
      
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_enum_check_button_new() which can represent two
      	specified enum values and renders itself "inconsistent" for all
      	other values.
      
      	* app/tools/paint_options.c: use it for the "Incremental" toggle.
      
      	* app/pdb/paint_tools_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
      c40a6f99
    • Dom Lachowicz's avatar
      improvements on the gimp plugin - allow for non-interactive use, image... · 3d8cc9a2
      Dom Lachowicz authored
      improvements on the gimp plugin - allow for non-interactive use, image resolution dialog, and some other goodies
      3d8cc9a2
    • Sven Neumann's avatar
      added some stock icons to the dialog. · 706de319
      Sven Neumann authored
      2003-03-24  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/compose.c: added some stock icons to the dialog.
      706de319
    • Michael Natterer's avatar
      use GIMP_STOCK_IMAGE as default_stock_id. · 248afa55
      Michael Natterer authored
      2003-03-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c: use GIMP_STOCK_IMAGE as default_stock_id.
      
      	* app/widgets/gimppreviewrendererimage.[ch]: use GimpChannelType
      	to specify the channel to render and convert it to the pixel index
      	using gimp_image_get_component_index() when needed. Use the new
      	red, green, blue, gray and alpha icons when layer_previews is
      	FALSE.
      
      	* app/widgets/gimpcomponenteditor.c: changed accordingly.
      248afa55
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am new icons by Jimmac. · 51991ecc
      Sven Neumann authored
      2003-03-24  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-image-[16|24].png: new icons by Jimmac.
      
      	* themes/Default/images/stock-images-16.png: changed by Jimmac to
      	make it look different than the new image icon.
      
      	* themes/Default/images/stock-channel-red-[16|24].png
      	* themes/Default/images/stock-channel-green-[16|24].png
      	* themes/Default/images/stock-channel-blue-[16|24].png
      	* themes/Default/images/stock-channel-gray-[16|24].png
      	* themes/Default/images/stock-channel-alpha-[16|24].png: new icons
      	derived from the generic channel icon.
      
      	* themes/Default/images/stock-channel-[16|24].png: changed the
      	color so they look different than the new green channel icon.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      51991ecc
    • Michael Natterer's avatar
      app/core/Makefile.am moved the image preview code to separate files. · d2a1fcd7
      Michael Natterer authored
      2003-03-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-preview.[ch]: moved the image preview code
      	to separate files.
      
      	* app/core/gimpimage.c: removed the functions here. Removed the
      	new utility function gimp_image_previews_resize() because it
      	did exactly what gimp_image_size_changed() should do. Moved
      	the missing bits to gimp_image_size_changed().
      
      	* app/core/gimplayer.c (gimp_layer_apply_mask): call
      	gimp_viewable_invalidate_preview() only if we don't call
      	gimp_drawable_update(). Calling them both is redundant.
      d2a1fcd7
  3. 23 Mar, 2003 3 commits
  4. 22 Mar, 2003 8 commits
    • Michael Natterer's avatar
      app/core/gimpdrawable-preview.c return square dimensions in · 06a2f8b1
      Michael Natterer authored
      2003-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpimage.c (get_preview_size): return square
      	dimensions in config->layer_previews is FALSE (except if the size
      	is requested for a popup).
      	(get_popup_size): don't crete popups if config->layer_previews
      	is FALSE.
      
      	* app/core/gimpimage.c: added utility function
      	gimp_image_previews_resize() and call it on "notify::layer-previews".
      	Calls gimp_viewable_size_changed() on all drawables of the image
      	and on the image itself. Ensures that drawable/image previews
      	toggle their size correctly when toggling layer_previews.
      
      	* app/widgets/gimpselectioneditor.c: create the selection preview
      	as a popup so it keeps the image's aspect ratio when
      	layer_previews is FALSE.
      06a2f8b1
    • Sven Neumann's avatar
      a8ccd18b
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · df27f346
      Sven Neumann authored
      2003-03-22  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-channels-24.png
      	* themes/Default/images/stock-images-24.png
      	* themes/Default/images/stock-layers-24.png
      	* themes/Default/images/stock-paths-22.png: added larger versions of
      	some icons (provided by Jimmac).
      
      	* libgimpwidgets/gimpstock.c: added the new icons. Register icons
      	in dialog size first.
      df27f346
    • Sven Neumann's avatar
      always flush the image when applying or discarding a layer mask. The · b455d0c8
      Sven Neumann authored
      2003-03-22  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/layers-commands.c: always flush the image when applying
      	or discarding a layer mask. The active drawable may change and
      	make a menu update necessary (fixes bug #108958).
      
      	* app/widgets/gimplayertreeview.c: call gimp_image_flush() when
      	switching between layer and mask editing so the menus get updated.
      b455d0c8
    • Michael Natterer's avatar
      allow to create a GimpContainerEditor without a popup menu. · d1c99bee
      Michael Natterer authored
      2003-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainereditor.c: allow to create a
      	GimpContainerEditor without a popup menu.
      
      	* app/widgets/gimpcellrendererviewable.c: free the event we
      	got from gdk_get_current_event().
      
      	* app/widgets/gimpcontainerview.c: check view->hash_table for
      	being non-NULL before using it. Be prepared to be destroyed by as
      	a result of calling gimp_context_set_foo(view->context, foo).
      
      	* app/widgets/gimpcontainertreeview.[ch]: added
      	tree_view->editable_cells and handle *all* mouse clicks in
      	gimp_container_tree_view_button_press() (by returning TRUE). Start
      	editing on double-click only. Use gtk_tree_view_set_cursor()
      	instead of gtk_tree_selection_select_path() to avoid
      	selected/focus confusion when the focus enters the widget. Be
      	prepeared to be destroyed as a result of item selection.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontainerpopup.[ch]: new GtkWindow derived
      	widget which pops up a selection of any GimpContainer/GimpContext
      	combo.
      
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpitemtreeview.c: add the name cell to
      	tree_view->editable_cells so it becomes editable.
      
      	* app/tools/gimpblendoptions.c
      	* app/tools/paint_options.c: use the new container popup for
      	selecting brushes and gradients.
      d1c99bee
    • Jakub Steiner's avatar
      sharp icons · 31d3651d
      Jakub Steiner authored
      2003-03-22  Jakub Steiner <jimmac@ximian.com>
      
      * themes/Default/images/stock-linked-12.png:
      * themes/Default/images/stock-eye-12.png: sharp icons
      31d3651d
    • Manish Singh's avatar
      always quote the filename, since system/popen uses the shell. Also, never · 200e6596
      Manish Singh authored
      2003-03-21  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/ps.c: always quote the filename, since system/popen
              uses the shell. Also, never quote the filename if we are reading from
              a parameter file (only in the win32 case). Fixes #108648.
      
              * plug-ins/dbbrowser/dbbrowser_utils.c: double click on a list item
              files Apply, if applicable. Remove the existing model in the treeview
              (which will deallocate it) instead of clearing it.
      200e6596
    • Sven Neumann's avatar
      themes/Default/images/stock-channel-16.png · 6d960a0e
      Sven Neumann authored
      2003-03-22  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/stock-channel-16.png
      	* themes/Default/images/stock-channel-24.png
      	* themes/Default/images/stock-layer-16.png
      	* themes/Default/images/stock-layer-24.png: new icons provided by
      	Jimmac.
      
      	* themes/Default/images/stock-eye-12.png
      	* themes/Default/images/stock-linked-12.png: tiny visibility and
      	linked icons that I created from Jimmac's small versions by
      	scaling them down. Should probably be redone.
      
      	* libgimpwidgets/gimpstock.[ch]: allow to register multiple sizes
      	for the same stock_id. Added new icons.
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c: set default stock_ids so the new icons are
      	used when layer previews are disabled.
      6d960a0e
  5. 21 Mar, 2003 4 commits