1. 26 Nov, 2004 7 commits
  2. 25 Nov, 2004 2 commits
  3. 24 Nov, 2004 10 commits
    • Michael Natterer's avatar
      typo. · 99b12ef8
      Michael Natterer authored
      99b12ef8
    • Michael Natterer's avatar
      if the active display becomes NULL (e.g. by closing a view), don't leave · cdb16587
      Michael Natterer authored
      2004-11-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/gui.c (gui_display_changed): if the active display
      	becomes NULL (e.g. by closing a view), don't leave the user
      	context with an image but no display. Instead, try to find another
      	display of the same image instead and if that fails set the image
      	to NULL.
      
      	Prevents the various foo_actions_update() functions from being
      	called with a NULL display while there is still an active image in
      	the context.
      
      	Fixes bug #159304.
      
      	(Removed #warning about being misplaced from that function because
      	it's a typical piece of ugly glue code that belongs exactly here).
      cdb16587
    • Simon Budig's avatar
      Accept >= 0 return values of the ioctl() to figure out the device name. · b349746f
      Simon Budig authored
      2004-11-24  Simon Budig  <simon@gimp.org>
      
      	* modules/controller_linux_input.c: Accept >= 0 return values of the
      	ioctl() to figure out the device name. Apparently it is the number of
      	bytes written to the string, so we might omit the strlen() following,
      	but I don't like to rely on that...
      b349746f
    • Michael Natterer's avatar
      define GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION · cfcb716d
      Michael Natterer authored
      2004-11-24  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/Makefile.am (GTKDOC_CFLAGS): define
      	GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION
      
      	* libgimpwidgets/libgimpwidgets.types: #include
      	<libgimpwidgets/gimpcontroller.h> separately.
      cfcb716d
    • Cai Qian's avatar
      updated Simplified Chinese translation. · 52a58b39
      Cai Qian authored
      2004-11-24  Cai Qian  <caiqian@gnome.org>
      
              * zh_CN.po: updated Simplified Chinese translation.
      52a58b39
    • Dmitry Mastrukov's avatar
    • Sven Neumann's avatar
      fixes · dd245c44
      Sven Neumann authored
      dd245c44
    • Sven Neumann's avatar
      app/app-docs.sgml updated. · 1b627bd0
      Sven Neumann authored
      2004-11-24  Sven Neumann  <sven@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt: updated.
      1b627bd0
    • Michael Natterer's avatar
      regenerated. · 808cbc53
      Michael Natterer authored
      2004-11-24  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/tmpl/gimpcontroller.sgml: regenerated.
      
      	* libgimpwidgets/libgimpwidgets-docs.sgml: added note about the
      	"work in progress" controller API.
      808cbc53
    • Michael Natterer's avatar
      guarded the whole header with GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION · 6d63d500
      Michael Natterer authored
      2004-11-24  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcontroller.[ch]: guarded the whole header
      	with GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION because it's no
      	fixed API yet. Added a "state" property bacause "name" was abused
      	as the controller's state. Added "help_domain" to the controller
      	class.
      
      	* libgimpwidgets/gimpwidgets.h: don't include gimpcontroller.h
      
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: set the "name" property to the name
      	retrieved from the device, or to a default string if no name is
      	available. Store the status in the "state" property. Added and
      	changed some strings, but it's better to have the controller
      	strings untranslated than to have no tooltips at all or misleading
      	labels.
      
      	* app/widgets/gimpcontrollerkeyboard.c
      	* app/widgets/gimpcontrollerwheel.c: set default strings for both.
      
      	* app/widgets/gimpcontrollereditor.c: added a GUI for the "state"
      	property.
      
      	* app/widgets/gimpcontrollerkeyboard.h
      	* app/widgets/gimpcontrollerwheel.h
      	* app/widgets/gimpcontrollerinfo.c
      	* app/widgets/gimpcontrollers.c: #define
      	GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION (just as in all files
      	above).
      
      	* app/widgets/gimphelp-ids.h: added the IDs of all controller
      	modules and also of all other modules. The defines are not
      	actually used, but this file is the canonical place to collect all
      	the core's help IDs.
      6d63d500
  4. 23 Nov, 2004 10 commits
    • Sven Neumann's avatar
      app/core/gimp-templates.[ch] merge the migrated user templaterc with the · 7eed9323
      Sven Neumann authored
      2004-11-23  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-templates.[ch]
      	* app/dialogs/user-install-dialog.c: merge the migrated user
      	templaterc with the system templaterc so the users who have used
      	gimp-2.0 before get our changes to the default templates.
      7eed9323
    • Michael Natterer's avatar
      added new function gimp_toggle_button_set_visible() which can be used as · d8a5ca6c
      Michael Natterer authored
      2004-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch]: added new function
      	gimp_toggle_button_set_visible() which can be used as "toggled"
      	callback on a GtkToggleButton and sets a widget (in)visible
      	according to the toggle's "active" state.
      
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpselectionoptions.c: use it to hide (rather than
      	just insensitize) the seldomly used "Feather edges", "Autoshrink
      	selection", "Adaptive supersampling", "Fade out" and "Use color
      	from gradient" widgets when their enabling toggle is unchecked.
      	Makes the affected tool options much less crowded and noisy in
      	their default appearance. Fixes bug #159008.
      d8a5ca6c
    • Michael Natterer's avatar
      create dynamic sub-menus using a separate, ui-manager-global merge_id · 518ab86b
      Michael Natterer authored
      2004-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus/plug-in-menus.c (plug_in_menus_add_proc): create
      	dynamic sub-menus using a separate, ui-manager-global merge_id
      	instead of the procedure's merge_id. Has the effect that the ui
      	manager keeps around these sub-menus forever, even if the
      	procedure that initially registered them is unregistered.
      	Fixes menu ordering after Script-Fu->Refresh.
      518ab86b
    • Michael Natterer's avatar
      cosmetics, untabified. · bd577006
      Michael Natterer authored
      2004-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpparasitelist.c: cosmetics, untabified.
      
      	* libgimpbase/gimpparasiteio.[ch]: added g_return_if_fail()'s
      	to all functions.
      
      	(gimp_pixpipe_params_parse): changed "gchar*" param to "const
      	gchar*" (sortof API change, but these files are most probably only
      	used by GIMP itself). Still uses strtok() on the internal copy,
      	but at least not on the passed string.
      
      	* plug-ins/common/csource.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/png.c
      	* plug-ins/common/tiff.c: use parasite getters instead of
      	accessing the scruct members directly. Always use g_strndup()
      	instead of just g_strdup() to get strings stored in parasites
      	because there is no guarantee that they are nul-terminated.
      bd577006
    • Sven Neumann's avatar
      do actually use a save dialog here. Fixes bug #159194. · f6288226
      Sven Neumann authored
      2004-11-23  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): do
      	actually use a save dialog here. Fixes bug #159194.
      f6288226
    • Sven Neumann's avatar
      do nothing if the size doesn't change. This keeps text layers from being · f653295e
      Sven Neumann authored
      2004-11-23  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_resize): do nothing if
      	the size doesn't change. This keeps text layers from being
      	modified when an image is cropped and the layer is entirely inside
      	the cropped area.
      
      	* menus/image-menu.xml.in: put the Quit item back for now. We
      	should think about this again in the next development cycle.
      f653295e
    • Jan Morén's avatar
      Updated Swedish translation. · cacacb8e
      Jan Morén authored
      2004-11-23  Jan Morén  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      cacacb8e
    • Kevin Cozens's avatar
      Fixed incorrect comparison in if statement. Partial(?) fix for bug · 6f7d0f51
      Kevin Cozens authored
      2004-11-21  Kevin Cozens  <kcozens@cvs.gimp.org>
      
      	* plug-ins/script-fu/scripts/copy-visible.scm: Fixed incorrect
      	comparison in if statement. Partial(?) fix for bug #138662.
      6f7d0f51
    • Kevin Cozens's avatar
      Updated all scripts to use script-fu-menu-register and pass just the menu · d4120fe1
      Kevin Cozens authored
      2004-11-22  Kevin Cozens  <kcozens@cvs.gimp.org>
      
      	* scripts/*.sct: Updated all scripts to use script-fu-menu-register
      	and pass just the menu label in script-fu-register.
      
      	Updates based on changes made by Michael Natterer to Script-Fu.
      
      	* tiny-fu/tiny-fu-scripts.c: Pass untranslated menu_paths to the
      	core, not translated ones. Don't store the scripts directly in the
      	"script_list" tree but use a list of scripts per key because there
      	can be identical keys for different scripts now. Renamed variable
      	"script_list" to "script_tree" because it's a GTree. Sort the SFMenu
      	structs by their menu_paths *and* the procedure's menu_labels. Fixes
      	menu item sorting after "Refresh".
      d4120fe1
    • Manish Singh's avatar
      plug-ins/pygimp/Makefile.am New pygimp logo, by Carol Spears. · e995d8d6
      Manish Singh authored
      2004-11-22  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/Makefile.am
              * plug-ins/pygimp/pygimp-logo.png: New pygimp logo, by Carol Spears.
      
              * plug-ins/pygimp/gimpfu.py: Use new external logo file, some layout
              tweaks.
      e995d8d6
  5. 22 Nov, 2004 11 commits