1. 15 Nov, 2008 9 commits
  2. 14 Nov, 2008 3 commits
    • Michael Natterer's avatar
      add member "gboolean floating_selection_changed". · f275cddb
      Michael Natterer authored
      2008-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch] (struct GimpImageFlushAccumulator):
      	add member "gboolean floating_selection_changed".
      
      	(gimp_image_set_floating_selection): new function which sets
      	the image's floating_sel pointer and sets the flag in the
      	accumulator to TRUE for later signal emission on flush.
      
      	(gimp_image_projectable_flush): emit "floating-selection-changed"
      	if the flag in the accumulator is TRUE.
      
      	* app/core/gimpimage.c (gimp_image_add,remove_layer)
      	* app/core/gimpfloatingselundo.c (gimp_floating_sel_undo_pop)
      	* app/core/gimplayer-floating-sel.c (floating_sel_to_layer): use
      	gimp_image_set_floating_selection() instead of setting
      	image->floating_sel menually and remove all calls to
      	gimp_image_floating_selection_changed().
      
      
      svn path=/trunk/; revision=27650
      f275cddb
    • Michael Natterer's avatar
      rename gimp_image_floating_sel() to gimp_image_get_floating_selection(). · fb1660a4
      Michael Natterer authored
      2008-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: rename gimp_image_floating_sel() to
      	gimp_image_get_floating_selection().
      
      	* app/actions/channels-actions.c
      	* app/actions/image-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/select-actions.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimpregionselecttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/image.pdb: changed accordingly, replaced some
      	instances of direct acces by the accessor.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27649
      fb1660a4
    • Sven Neumann's avatar
      Merged from gimp-2-6 branch: · 7a790830
      Sven Neumann authored
      2008-11-14  Sven Neumann  <sven@gimp.org>
      
      	Merged from gimp-2-6 branch:
      
      	Bug 559490 – Wrong lang tags for 'no'
      
      	* nb.po
      	* nn.po: fixed tips locales.
      
      
      svn path=/trunk/; revision=27646
      7a790830
  3. 13 Nov, 2008 8 commits
    • Sven Neumann's avatar
      removed function gimp_display_shell_scroll_get_scaled_viewport_offset() as · 47c39d6c
      Sven Neumann authored
      2008-11-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]: removed function
      	gimp_display_shell_scroll_get_scaled_viewport_offset() as it was
      	only returning -shell->offset_x and -shell->offset_y and it
      	started to show up in profiles.
      
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell-scale.c: use the shell offsets
      	directly.
      
      
      svn path=/trunk/; revision=27644
      47c39d6c
    • Sven Neumann's avatar
      check that the resulting area has positive width and height. · 987824b3
      Sven Neumann authored
      2008-11-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-preview.c
      	(gimp_display_shell_draw_quad): check that the resulting area 
      has
      	positive width and height.
      
      
      svn path=/trunk/; revision=27642
      987824b3
    • Martin Nordholts's avatar
      Move the instance struct to the header but add a typed opaque priv pointer · efb5c20e
      Martin Nordholts authored
      * app/display/gimpcursorview.[ch]: Move the instance struct to the
      header but add a typed opaque priv pointer to it so we can avoid
      exposing implementation details. Also move the class struct to the
      header.
      
      svn path=/trunk/; revision=27641
      efb5c20e
    • Sven Neumann's avatar
      removed spurious newline · ae1ac742
      Sven Neumann authored
      svn path=/trunk/; revision=27640
      ae1ac742
    • Michael Natterer's avatar
      get rid of useless casts. · 4599c75c
      Michael Natterer authored
      2008-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb (image_floating_sel_attached_to): get
      	rid of useless casts.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27639
      4599c75c
    • Michael Natterer's avatar
      add read-only boolean properties "visible" and "linked". · 9476973c
      Michael Natterer authored
      2008-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.c: add read-only boolean properties "visible"
      	and "linked".
      
      
      svn path=/trunk/; revision=27638
      9476973c
    • Sven Neumann's avatar
      added gimp_image_get_display_name(). · ada83368
      Sven Neumann authored
      2008-11-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage.[ch]: added gimp_image_get_display_name().
      
      	* app/dialogs/palette-import-dialog.c
      	* app/display/gimpdisplayshell-close.c
      	* app/display/gimpdisplayshell-title.c
      	* app/pdb/gimppdb-utils.c
      
      	* app/widgets/gimpviewabledialog.c: use the new method instead 
      of
      	getting the image URI and mangling it with
      	file_utils_uri_display_basename().
      
      
      svn path=/trunk/; revision=27637
      ada83368
    • Sven Neumann's avatar
      Bug 559292 – SOTA Chrome cannot accept different textures · f26fb06d
      Sven Neumann authored
      2008-11-13  Sven Neumann  <sven@gimp.org>
      
      	Bug 559292 – SOTA Chrome cannot accept different textures
      
      	* app/pdb/gimppdb-utils.c (gimp_pdb_image_is_base_type)
      	(gimp_pdb_image_is_not_base_type): gimp_object_get_name() may 
      	return NULL for images. Use gimp_image_get_uri() instead.
      
      
      svn path=/trunk/; revision=27635
      f26fb06d
  4. 12 Nov, 2008 10 commits
    • Daniel Nylander's avatar
      sv.po: Updated Swedish translation · ee911bdc
      Daniel Nylander authored
      svn path=/trunk/; revision=27634
      ee911bdc
    • Øyvind Kolås's avatar
      cleaned up format name and more in commit message · 80a0d8f3
      Øyvind Kolås authored
      svn path=/trunk/; revision=27633
      80a0d8f3
    • Øyvind Kolås's avatar
      cache the data in "RaGaBa A" float instead as a copy of the tile managers · f742f213
      Øyvind Kolås authored
      * app/gegl/gimpoperationtilesource.c:
      (gimp_operation_tile_source_prepare),
      (gimp_operation_tile_source_process): cache the data in "RaGaBa A"
      float instead as a copy of the tile managers exact data, this allows
      more direct tile data access at projection compositing time.
      
      svn path=/trunk/; revision=27632
      f742f213
    • Sven Neumann's avatar
      sorted. updated. · d9904570
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbase.def: sorted.
      	* libgimpmodule/gimpmodule.def: updated.
      
      
      svn path=/trunk/; revision=27631
      d9904570
    • Sven Neumann's avatar
      set the error in the GIMP_CONFIG_ERROR domain. · a9b1b41e
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-path.c 
      (gimp_config_path_expand_only):
      	set the error in the GIMP_CONFIG_ERROR domain.
      
      
      svn path=/trunk/; revision=27630
      a9b1b41e
    • Sven Neumann's avatar
      added GIMP_MODULE_ERROR domain. · 7fa22ebf
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmodule/gimpmodule.[ch]: added GIMP_MODULE_ERROR domain.
      
      	* modules/gimpinputdevicestore-hal.c
      	* modules/gimpinputdevicestore-dx.c
      	* modules/controller-dx-dinput.c: use GIMP_MODULE_ERROR as error
      	domain instead of 0.
      
      
      svn path=/trunk/; revision=27629
      7fa22ebf
    • Sven Neumann's avatar
      app/core/Makefile.am added GIMP_ERROR as general error domain. · b37c8bcf
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimperror.[ch]: added GIMP_ERROR as general error 
      domain.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/core/gimptooloptions.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimpperspectiveclone.c
      	* app/paint/gimpsourcecore.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpgegltool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/vectors/gimpvectors-import.c: use GIMP_ERROR as error 
      domain
      	instead of 0, which is not accepted by g_set_error_literal().
      
      	* app/gui/session.c
      	* app/menus/menus.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpdevices.c: use G_FILE_ERROR as error domain 
      for
      	file errors.
      
      
      svn path=/trunk/; revision=27628
      b37c8bcf
    • Sven Neumann's avatar
      use the GIMP_PLUG_IN_ERROR domain. · c61f6775
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/plug-in-icc-profile.c: use the GIMP_PLUG_IN_ERROR
      	domain.
      
      
      svn path=/trunk/; revision=27627
      c61f6775
    • Sven Neumann's avatar
      app/pdb/gimppdberror.h added generic error codes. · 33eb18a4
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/gimppdberror.h
      	* app/plug-in/gimppluginerror.h: added generic error codes.
      
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/gimppluginprocedure.c: use the GIMP_PDB_ERROR and
      	GIMP_PLUG_IN_ERROR domains.
      
      
      svn path=/trunk/; revision=27626
      33eb18a4
    • Martin Nordholts's avatar
      Align static function prototypes. · d85d7ac7
      Martin Nordholts authored
      * app/tools/gimptransformtool.c: Align static function prototypes.
      
      svn path=/trunk/; revision=27625
      d85d7ac7
  5. 11 Nov, 2008 9 commits
    • Sven Neumann's avatar
      Bug 557830 – PDB browser chokes as you are entering regex characters · 239ae58c
      Sven Neumann authored
      2008-11-11  Sven Neumann  <sven@gimp.org>
      
      	Bug 557830 – PDB browser chokes as you are entering regex
      	characters
      
      	* libgimp/gimpprocbrowserdialog.c: check if the query is a valid
      	regex before calling gimp_procedural_db_query().
      
      
      svn path=/trunk/; revision=27624
      239ae58c
    • Michael Natterer's avatar
      add read-only "offset-x" and "offset-y" properties. Call · 65b2a604
      Michael Natterer authored
      2008-11-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.c: add read-only "offset-x" and "offset-y"
      	properties. Call gimp_item_set_offset() from all places that set
      	offset_x and offset_y in this file. Freeze and thaw GObject
      	notification around all calls to virtual functions which might
      	emit notify. Add missing notifications whenever width and height
      	change.
      
      	* app/core/gimpimage-rotate.c: use gimp_item_set_offset() instead
      	of setting the values manually.
      
      
      svn path=/trunk/; revision=27623
      65b2a604
    • Sven Neumann's avatar
      Bug 560300 – Document History did not clear when "Keep record of used · cee9feca
      Sven Neumann authored
      2008-11-11  Sven Neumann  <sven@gimp.org>
      
      	Bug 560300 – Document History did not clear when "Keep record of
      	used files" was unchecked
      	
      	* app/actions/documents-commands.c 
      (documents_clear_cmd_callback):
      	don't purge the entire GtkRecentManager, but only clear items
      	added by GIMP. Do this regardless of the "save-document-history"
      	gimprc option.
      
      
      svn path=/trunk/; revision=27622
      cee9feca
    • Sven Neumann's avatar
      Bug 560375 – Clearing an already empty document history crashes GIMP · c2c41835
      Sven Neumann authored
      2008-11-11  Sven Neumann  <sven@gimp.org>
      
      	Bug 560375 – Clearing an already empty document history crashes 
      GIMP
      
      	* app/actions/documents-commands.c 
      (documents_clear_cmd_callback):
      	gtk_recent_manager_purge_items() may return 0 but not set an
      	error.
      
      
      svn path=/trunk/; revision=27620
      c2c41835
    • Mugurel Tudor's avatar
      Updated Romanian translation by Cristian Secară <cristi AT secarica DOT · 7db49f47
      Mugurel Tudor authored
      2008-11-11  Mugurel Tudor  <mugurelu@gnome.ro>
      
      	* ro.po: Updated Romanian translation
      	by Cristian Secară <cristi AT secarica DOT ro>
      
      svn path=/trunk/; revision=27618
      7db49f47
    • Mugurel Tudor's avatar
      Updated Romanian translation by Cristian Secară <cristi AT secarica DOT · 5df81b4a
      Mugurel Tudor authored
      2008-11-11  Mugurel Tudor  <mugurelu@gnome.ro>
      
      	* ro.po: Updated Romanian translation
      	by Cristian Secară <cristi AT secarica DOT ro>
      
      svn path=/trunk/; revision=27617
      5df81b4a
    • Michael Natterer's avatar
      Bug 559580 – Image windows need better default locations · c02822ea
      Michael Natterer authored
      2008-11-11  Michael Natterer  <mitch@gimp.org>
      
      	Bug 559580 – Image windows need better default locations
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
      	Only set GDK_HINT_USER_POS on the empty display because it gets a
      	position set by gimp. All other displays should be placed by the
      	window manager. Fixes all displays appearing at 0,0.
      
      
      svn path=/trunk/; revision=27615
      c02822ea
    • Sven Neumann's avatar
      Bug 558797 – "Export Path" doesn't remember last used folder · 52c583cd
      Sven Neumann authored
      2008-11-11  Sven Neumann  <sven@gimp.org>
      
      	Bug 558797 – "Export Path" doesn't remember last used folder
      
      	* app/actions/vectors-commands.c: remember last-used folders in
      	the Path Import and Export dialogs.
      
      
      svn path=/trunk/; revision=27614
      52c583cd
    • Sven Neumann's avatar
      Bug 560283 – "Scale image..." causes distortion around edges. · 8ad82efc
      Sven Neumann authored
      2008-11-11  Sven Neumann  <sven@gimp.org>
      
      	Bug 560283 – "Scale image..." causes distortion around edges.
      
      	* app/paint-funcs/scale-region.c (scale): corrected fix for
      	bug #556248.
      
      
      svn path=/trunk/; revision=27612
      8ad82efc
  6. 10 Nov, 2008 1 commit