1. 04 Jan, 2009 1 commit
    • Martin Nordholts's avatar
      Make instance members private. · 7c964523
      Martin Nordholts authored
      * app/widgets/gimpdock.[ch]: Make instance members private.
      
      (gimp_dock_get_context)
      (gimp_dock_get_dialog_factory)
      (gimp_dock_get_dockbooks)
      (gimp_dock_get_main_vbox)
      (gimp_dock_get_vbox)
      (gimp_dock_get_id): New getters.
      
      * app/actions/actions.c
      * app/actions/dockable-actions.c
      * app/actions/dockable-commands.c
      * app/actions/windows-actions.c
      * app/menus/windows-menu.c
      * app/widgets/gimpdialogfactory.c
      * app/widgets/gimpdock.c
      * app/widgets/gimpdock.h
      * app/widgets/gimpdockable.c
      * app/widgets/gimpdockbook.c
      * app/widgets/gimpdockseparator.c
      * app/widgets/gimpimagedock.c
      * app/widgets/gimpmenudock.c
      * app/widgets/gimpsessioninfo-book.c
      * app/widgets/gimpsessioninfo-dock.c
      * app/widgets/gimpsessioninfo-dockable.c
      * app/widgets/gimptoolbox-color-area.c
      * app/widgets/gimptoolbox-dnd.c
      * app/widgets/gimptoolbox-image-area.c
      * app/widgets/gimptoolbox-indicator-area.c
      * app/widgets/gimptoolbox.c: Use new getters.
      
      svn path=/trunk/; revision=27881
      7c964523
  2. 30 Dec, 2008 1 commit
  3. 25 Dec, 2008 1 commit
    • Martin Nordholts's avatar
      Make instance member private and add getter that didn't already exist. · 571ce865
      Martin Nordholts authored
      * app/widgets/gimpitemtreeview.[ch]: Make instance member private
      and add getter that didn't already exist.
      
      (gimp_item_tree_view_get_new_button)
      (gimp_item_tree_view_get_edit_button): New getters.
      
      * app/actions/actions.c
      * app/widgets/gimpvectorstreeview.c
      * app/widgets/gimplayertreeview.c
      * app/widgets/gimpdrawabletreeview.c
      * app/widgets/gimpchanneltreeview.c: Use new getters.
      
      svn path=/trunk/; revision=27827
      571ce865
  4. 20 Dec, 2008 2 commits
    • Martin Nordholts's avatar
      New helper functions to lesser level of indirection in client code. · a4b0297b
      Martin Nordholts authored
      * app/widgets/gimpdatafactoryview.[ch]
      (gimp_data_factory_view_have)
      (gimp_data_factory_view_get_children_type)
      (gimp_data_factory_view_has_data_new_func): New helper functions
      to lesser level of indirection in client code.
      
      * app/actions/data-commands.c: Use them.
      
      svn path=/trunk/; revision=27814
      a4b0297b
    • Martin Nordholts's avatar
      Make instance members private and add getters for accessed members. · 7f733cee
      Martin Nordholts authored
      * app/widgets/gimpdatafactoryview.[ch]: Make instance members
      private and add getters for accessed members.
      
      (gimp_data_factory_view_get_edit_button)
      (gimp_data_factory_view_get_duplicate_button)
      (gimp_data_factory_view_get_data_factory): New getters.
      
      * app/actions/data-commands.c
      * app/widgets/gimppatternfactoryview.c: Use new getters.
      
      svn path=/trunk/; revision=27813
      7f733cee
  5. 19 Dec, 2008 1 commit
    • Martin Nordholts's avatar
      Make instance members private and add getters for required members. · 4981816c
      Martin Nordholts authored
      * app/core/gimpdatafactory.[ch]: Make instance members private and
      add getters for required members.
      
      (gimp_data_factory_get_container)
      (gimp_data_factory_get_gimp)
      (gimp_data_factory_has_data_new_func): The new getters.
      
      * app/actions/context-commands.c
      * app/actions/data-commands.c
      * app/core/gimp-gradients.c
      * app/core/gimp.c
      * app/core/gimpcontext.c
      * app/core/gimpdatafactory.c
      * app/core/gimpdatafactory.h
      * app/dialogs/convert-dialog.c
      * app/dialogs/palette-import-dialog.c
      * app/pdb/gimppdb-utils.c
      * app/widgets/gimpbrushfactoryview.c
      * app/widgets/gimpdataeditor.c
      * app/widgets/gimpdatafactoryview.c
      * app/widgets/gimpselectiondata.c
      * app/widgets/gimpviewablebox.c
      * tools/pdbgen/pdb/brush_select.pdb
      * tools/pdbgen/pdb/brushes.pdb
      * tools/pdbgen/pdb/gradient_select.pdb
      * tools/pdbgen/pdb/gradients.pdb
      * tools/pdbgen/pdb/palette_select.pdb
      * tools/pdbgen/pdb/palettes.pdb
      * tools/pdbgen/pdb/pattern_select.pdb
      * tools/pdbgen/pdb/patterns.pdb: Use the getters.
      
      
      * app/pdb/brush-select-cmds.c
      * app/pdb/brushes-cmds.c
      * app/pdb/gradient-select-cmds.c
      * app/pdb/gradients-cmds.c
      * app/pdb/palette-select-cmds.c
      * app/pdb/palettes-cmds.c
      * app/pdb/pattern-select-cmds.c
      * app/pdb/patterns-cmds.c: Regenerated.
      
      svn path=/trunk/; revision=27812
      4981816c
  6. 04 Dec, 2008 3 commits
  7. 03 Dec, 2008 1 commit
    • Sven Neumann's avatar
      added an extra parameter for the translation context to all · 74e76f2c
      Sven Neumann authored
      2008-12-03  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpactiongroup.[ch]: added an extra parameter for
      	the translation context to all gimp_action_group_add methods.
      
      	* app/actions/*.c: added a translation context to all action
      	labels. Also unified and improved the labels and tooltips in a 
      few
      	places.
      
      
      svn path=/trunk/; revision=27754
      74e76f2c
  8. 22 Nov, 2008 1 commit
    • Michael Natterer's avatar
      make the entire selection API take GimpSelection arguments, not · 558e2e17
      Michael Natterer authored
      2008-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpselection.[ch]: make the entire selection
      	API take GimpSelection arguments, not GimpChannel.
      	Clean up gimp_selection_load() a bit.
      
      	* app/actions/select-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-quick-mask.c
      	* app/tools/gimpeditselectiontool.c
      	* tools/pdbgen/pdb/selection.pdb: add the needed casts.
      
      	* app/pdb/selection-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27711
      558e2e17
  9. 20 Nov, 2008 2 commits
    • Martin Nordholts's avatar
      Use GimpContainer getters instead of poking into the class · 2f25fb13
      Martin Nordholts authored
      instance struct.
      
      * app/actions/context-commands.c
      * app/actions/data-commands.c
      * app/actions/plug-in-commands.c
      * app/actions/templates-commands.c
      * app/core/gimp-utils.c
      * app/core/gimpdrawablestack.c
      * app/core/gimpitemstack.c
      * app/core/gimplist.c
      * app/gui/gui-vtable.c
      * app/widgets/gimpcontainerbox.c
      * app/widgets/gimpcontainercombobox.c
      * app/widgets/gimpcontainereditor.c
      * app/widgets/gimpcontainerentry.c
      * app/widgets/gimpcontainergridview.c
      * app/widgets/gimpcontainerpopup.c
      * app/widgets/gimpcontainertreeview-dnd.c
      * app/widgets/gimpcontainertreeview.c
      * app/widgets/gimpcontainerview-utils.c
      * app/widgets/gimpcontainerview.c
      * app/widgets/gimpdataeditor.c
      * app/widgets/gimpdatafactoryview.c
      * app/widgets/gimpsettingsbox.c
      * app/widgets/gimpviewablebutton.c
      
      svn path=/trunk/; revision=27693
      2f25fb13
    • Martin Nordholts's avatar
      s/gimp_container_children_type/gimp_container_get_children_type/ · 5aeb5686
      Martin Nordholts authored
      s/gimp_container_policy/gimp_container_get_policy/
      s/gimp_container_num_children/gimp_container_get_n_children/
      
      * app/actions/actions.c
      * app/actions/file-actions.c
      * app/actions/file-commands.c
      * app/actions/tool-options-actions.c
      * app/actions/tools-actions.c
      * app/actions/tools-commands.c
      * app/actions/vectors-actions.c
      * app/core/gimpcontainer-filter.c
      * app/core/gimpcontainer.c
      * app/core/gimpcontainer.h
      * app/core/gimpimage-convert.c
      * app/core/gimpimage-flip.c
      * app/core/gimpimage-merge.c
      * app/core/gimpimage-resize.c
      * app/core/gimpimage-rotate.c
      * app/core/gimpimage-scale.c
      * app/core/gimpimage-undo.c
      * app/core/gimpimage.c
      * app/core/gimpimagefile.c
      * app/core/gimplist.c
      * app/core/gimpundostack.c
      * app/dialogs/palette-import-dialog.c
      * app/dialogs/quit-dialog.c
      * app/display/gimpdisplay.c
      * app/display/gimpdisplayshell-layer-select.c
      * app/display/gimpdisplayshell-title.c
      * app/gui/gui-vtable.c
      * app/menus/tool-options-menu.c
      * app/tools/gimp-tools.c
      * app/widgets/gimpcontrollerlist.c
      * app/widgets/gimpimagepropview.c
      * app/widgets/gimpsettingsbox.c
      * app/widgets/gimpviewablebutton.c
      * app/xcf/xcf-load.c
      * app/xcf/xcf-save.c
      
      svn path=/trunk/; revision=27692
      5aeb5686
  10. 15 Nov, 2008 3 commits
    • Sven Neumann's avatar
      run the benchmark in an idle callback. · f2665fe3
      Sven Neumann authored
      2008-11-15  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/debug-commands.c
      	(debug_benchmark_projection_cmd_callback): run the benchmark in 
      an
      	idle callback.
      
      
      svn path=/trunk/; revision=27657
      f2665fe3
    • Martin Nordholts's avatar
      Fix mnemonics for the Debug sub menu and the Benchmark Projection item. · a8c54971
      Martin Nordholts authored
      * app/actions/debug-actions.c: Fix mnemonics for the Debug sub
      menu and the Benchmark Projection item.
      
      svn path=/trunk/; revision=27656
      a8c54971
    • Martin Nordholts's avatar
      Bug 560903 – Explicit zooming with e.g. '1' should handle · 1dd185c3
      Martin Nordholts authored
      zoom-focus better
      
      * app/display/display-enums.h: Added
      GIMP_ZOOM_FOCUS_RETAIN_CENTERING_ELSE_BEST_GUESS.
      
      * app/display/gimpdisplayshell-scale.c
      (gimp_display_shell_scale_get_zoom_focus): Take the new enum into
      account; if the image is centered, keep it centered, else use the
      best-guess method.
      
      * app/actions/view-commands.c (view_zoom_explicit_cmd_callback):
      Use the new enum for explicit zooming.
      
      * app/display/display-enums.c: Regenerated.
      
      svn path=/trunk/; revision=27653
      1dd185c3
  11. 14 Nov, 2008 1 commit
    • 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
  12. 11 Nov, 2008 3 commits
    • 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
    • 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
  13. 10 Nov, 2008 1 commit
    • Sven Neumann's avatar
      added missing mnemonic. · ff5e76cf
      Sven Neumann authored
      2008-11-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/text-tool-actions.c (text_tool_actions): added
      	missing mnemonic.
      
      
      svn path=/trunk/; revision=27598
      ff5e76cf
  14. 09 Nov, 2008 2 commits
    • Michael Natterer's avatar
      remove floating_sel_remove() and reorder one function. · 1cdf6c5b
      Michael Natterer authored
      2008-11-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer-floating-sel.[ch]: remove
      	floating_sel_remove() and reorder one function.
      
      	* app/core/gimpimage.c (gimp_image_remove_layer): add the single
      	line of special code that needs to be done when removing a
      	floating selection.
      
      	* app/core/gimpselection.c
      	* app/actions/layers-commands.c
      	* tools/pdbgen/pdb/floating_sel.pdb: changed accordingly.
      
      	* app/pdb/floating-sel-cmds.c: regenerated.
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo.c: remove enum value
      	GIMP_UNDO_GROUP_FS_REMOVE.
      
      
      svn path=/trunk/; revision=27583
      1cdf6c5b
    • Martin Nordholts's avatar
      Prepare GimpCursorView for a dependency to GimpDisplayShell. · 983c3751
      Martin Nordholts authored
      * app/widgets/gimpcursorview.[ch]: Move from here...
      
      * app/display/gimpcursorview.[ch]: ...to here.
      
      * app/widgets/Makefile.am
      * app/display/Makefile.am: Change accordingly.
      
      * app/actions/cursor-info-actions.c
      * app/dialogs/dialogs-constructors.c
      * app/actions/cursor-info-commands.c
      * app/display/gimpdisplayshell-cursor.c: Update includes.
      
      svn path=/trunk/; revision=27581
      983c3751
  15. 04 Nov, 2008 3 commits
    • Sven Neumann's avatar
      added missing include. · cc7222d8
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplay-foreach.c: added missing include.
      
      	* app/actions/debug-commands.c
      	* plug-ins/common/lcms.c
      	* plug-ins/common/mail.c
      	* plug-ins/file-bmp/bmp-write.c
      	* plug-ins/file-fits/fits.c
      	* plug-ins/file-jpeg/jpeg.c
      	* plug-ins/file-uri/uri.c
      	* plug-ins/help/gimphelpdomain.c
      	* plug-ins/ifs-compose/ifs-compose.c
      	* plug-ins/print/print.c: fixed use of g_message() with literal
      	strings.
      
      
      svn path=/trunk/; revision=27551
      cc7222d8
    • Sven Neumann's avatar
      bumped minimum required version of GLib to 2.18.0. · 4762b734
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@sven>
      
      	* configure.in: bumped minimum required version of GLib to 
      2.18.0.
      
      	* INSTALL: document the updated dependency.
      
      	* app/core/gimp.[ch]: introduced gimp_message_literal(), a 
      variant
      	of gimp_message() that takes a literal string.
      
      	* app/errors.[ch]: removed format arguments from 
      gimp_fatal_error()
      	and gimp_terminate() and let them take a literal string instead.
      
      	* app/tools/gimptool.[ch]: introduced 
      gimp_tool_message_literal(),
      	a variant of gimp_tool_message() that takes a literal string.
      
      	* app/actions/documents-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/error-console-commands.c
      	* app/actions/file-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/plug-in-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/config/gimprc.c
      	* app/core/gimp-modules.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp-units.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer-filter.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/dialogs/convert-dialog.c
      	* app/dialogs/dialogs.c
      	* app/dialogs/palette-import-dialog.c
      	* app/dialogs/preferences-dialog.c
      	* app/dialogs/quit-dialog.c
      	* app/dialogs/stroke-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/file/file-procedure.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gegl/gimpcurvesconfig.c
      	* app/gegl/gimplevelsconfig.c
      	* app/gui/gui-message.c
      	* app/gui/gui.c
      	* app/gui/session.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimpperspectiveclone.c
      	* app/paint/gimpsourcecore.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/gimpplugin-message.c
      	* app/plug-in/gimpplugin.c
      	* app/plug-in/gimppluginmanager-restore.c
      	* app/plug-in/gimppluginprocedure.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimp-tools.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpgegltool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool-settings.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsourcetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpactionview.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimpcontrollers.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimperrordialog.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppdbdialog.c
      	* app/widgets/gimpsettingsbox.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/image.pdb: use the _literal variants for
      	g_set_error(), gimp_message() and gimp_tool_message().
      
      	* app/pdb/convert-cmds.c
      	* app/pdb/edit-cmds.c
      	* app/pdb/floating-sel-cmds.c
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27548
      4762b734
    • Michael Natterer's avatar
      remove public functions get_tiles(), get_image(), get_image_type() and · 87dc343b
      Michael Natterer authored
      2008-11-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpprojection.[ch]: remove public functions
      	get_tiles(), get_image(), get_image_type() and get_bytes().
      
      	* app/actions/debug-commands.c
      	* app/actions/layers-commands.c
      	* app/core/gimpprojection-construct.c
      	* app/display/gimpdisplayshell-render.c
      	* app/paint/gimppaintcore.c
      	* tools/pdbgen/pdb/layer.pdb: use the GimpPickable API insatead.
      
      	* app/pdb/layer-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27547
      87dc343b
  16. 03 Nov, 2008 2 commits
    • Michael Natterer's avatar
      include "gimpcontainer.h". · 50f8d85c
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/vectors-actions.c: include "gimpcontainer.h".
      
      
      svn path=/trunk/; revision=27536
      50f8d85c
    • Michael Natterer's avatar
      renamed gimp_item_width() to gimp_item_get_width() and gimp_item_height() · 740ab5e6
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: renamed
      	gimp_item_width() to gimp_item_get_width() and
      	gimp_item_height() to gimp_item_get_height().
      
      	* app/actions/channels-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/layers-commands.c
      	* app/core/<many>.c
      	* app/dialogs/offset-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/dialogs/scale-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimpink.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimpsmudge.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimpregionselecttool.c
      	* app/tools/gimptexttool.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderervectors.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly.
      
      	* app/pdb/drawable-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27531
      740ab5e6
  17. 02 Nov, 2008 3 commits
    • Michael Natterer's avatar
      renamed gimp_item_offsets() to gimp_item_get_offset() and · 5b68a1d0
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: renamed
      	gimp_item_offsets() to gimp_item_get_offset() and
      	gimp_item_set_offsets() to gimp_item_set_offset().
      
      	* app/actions/drawable-commands.c
      	* app/actions/layers-commands.c
      	* app/core/<many>.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-preview.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimpsourcecore.c
      	* app/text/gimptextlayer-xcf.c
      	* app/tools/<many>.c
      	* app/widgets/gimptoolbox-dnd.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb
      	* tools/pdbgen/pdb/vectors.pdb: changed accordingly.
      
      	* app/pdb/drawable-cmds.c
      	* app/pdb/drawable-transform-cmds.c
      	* app/pdb/selection-cmds.c
      	* app/pdb/vectors-cmds.c
      	* app/pdb/transform-tools-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27529
      5b68a1d0
    • Michael Natterer's avatar
      add new functions gimp_get_image_iter(), display_iter() and · a748e3f5
      Michael Natterer authored
      2008-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: add new functions gimp_get_image_iter(),
      	display_iter() and tool_info_iter().
      
      	* app/tools/gimp-tools.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpvectortool.c
      	* app/dialogs/quit-dialog.c
      	* app/gui/gui.c
      	* app/menus/windows-menu.c
      	* app/actions/images-commands.c
      	* app/actions/tools-actions.c
      	* app/actions/windows-actions.c
      	* app/actions/tool-options-commands.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplay-foreach.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/image.pdb: use them here.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27526
      a748e3f5
    • Michael Natterer's avatar
      add new functions gimp_image_get_layer_iter(), channel_iter() and · d1ca165b
      Michael Natterer authored
      2008-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: add new functions
      	gimp_image_get_layer_iter(), channel_iter() and vectors_iter()
      	which return the GList inside the resp. GimpList.
      
      	* app/actions/channels-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/vectors-actions.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-item-list.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimpimage.h
      	* app/core/gimpprojection-construct.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/file/file-open.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpdrawtool.c
      	* app/vectors/gimpvectors-compat.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimplayertreeview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/image.pdb: use the new functions instead of
      	peeking both into the image and the list. Remove inclusions of
      	"gimplist.h" or change them into "gimpcontainer.h" if needed.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27524
      d1ca165b
  18. 31 Oct, 2008 1 commit
  19. 30 Oct, 2008 1 commit
    • Michael Natterer's avatar
      remove lots of unused variables, apparently my builds were without proper · 7ee008bc
      Michael Natterer authored
      2008-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c: remove lots of unused variables,
      	apparently my builds were without proper warnings for some time.
      	Some formatting cleanup and code reordering.
      
      	* app/actions/text-tool-actions.c
      	* menus/text-tool-menu.xml: rename "text-tool-input-methods"
      	to "text-tool-input-methods-menu".
      
      
      svn path=/trunk/; revision=27482
      7ee008bc
  20. 27 Oct, 2008 5 commits
    • Michael Natterer's avatar
      app/actions/text-tool-actions.c app/actions/text-tool-commands.[ch] rename · bf97eab4
      Michael Natterer authored
      2008-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/text-tool-actions.c
      	* app/actions/text-tool-commands.[ch]
      	* menus/text-tool-menu.xml: rename action "path-from-text" to
      	"text-to-path".
      
      
      svn path=/trunk/; revision=27445
      bf97eab4
    • Michael Natterer's avatar
      menus/text-tool-menu.xml app/actions/text-tool-actions.c add "Text along · c0cb7c14
      Michael Natterer authored
      2008-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* menus/text-tool-menu.xml
      	* app/actions/text-tool-actions.c
      	* app/actions/text-tool-commands.[ch]: add "Text along Path" to the
      	text tool context menu.
      
      	* app/tools/gimptextoptions.[ch]: remove the text along path
      	button here.
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/tools/gimptexttool.[ch]: move public functions together,
      	move all virtual function implementations together and put them in
      	order, made the text along path function public, factor out
      	gimp_text_tool_xy_to_offset() instead of duplicaing this code
      	three times, remove gimp_rectangle_tool_frame_item() because it
      	doesn't belong here.
      
      	* app/tools/gimprectangletool.[ch]: add
      	gimp_rectangle_tool_frame_item() here. Enselic, please process ;)
      
      
      svn path=/trunk/; revision=27444
      c0cb7c14
    • Sven Neumann's avatar
      changed menu labels. · ae42ff5f
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/text-tool-actions.c: changed menu labels.
      
      
      svn path=/trunk/; revision=27443
      ae42ff5f
    • Sven Neumann's avatar
      hide the file dialog instead of destroying it. · 855bc3af
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/text-editor-commands.c 
      (text_editor_load_response):
      	hide the file dialog instead of destroying it.
      
      
      svn path=/trunk/; revision=27442
      855bc3af
    • Sven Neumann's avatar
      removed unused includes. · 4ce3a625
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c: removed unused includes.
      
      	* app/actions/text-tool-commands.c 
      (text_tool_load_cmd_callback):
      	fixed file dialog for opening text files.
      
      
      svn path=/trunk/; revision=27441
      4ce3a625
  21. 26 Oct, 2008 2 commits
    • Michael Natterer's avatar
      some formatting cleanup. · ef66f542
      Michael Natterer authored
      2008-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c: some formatting cleanup.
      
      	* app/tools/gimprectangletool.c: add one space.
      
      	* app/actions/text-tool-actions.c: look at GDK_SELECTION_CLIPBOARD,
      	not PRIMARY, to set the sensitivity of "Paste".
      
      
      svn path=/trunk/; revision=27424
      ef66f542
    • Michael Natterer's avatar
      some general formatting cleanup. · 3a51f9b7
      Michael Natterer authored
      2008-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.[ch]: some general formatting cleanup.
      
      	(gimp_text_tool_key_press): implement ctrl-moving the cursor by
      	words, handle Delete.
      
      	(gimp_text_tool_delete_text): add boolean "backspace" parameter
      	and delete forward when it's FALSE.
      
      	* app/actions/text-tool-commands.c: pass an arbitrary TRUE to
      	gimp_text_tool_delete_text() (it's not used because when called
      	from here, there is always a selection).
      
      
      svn path=/trunk/; revision=27423
      3a51f9b7