1. 29 Oct, 2008 6 commits
  2. 28 Oct, 2008 6 commits
    • Michael Natterer's avatar
      turn nested if()s into a switch(release_type). · 5530ef63
      Michael Natterer authored
      2008-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpmagnifytool.c (gimp_magnify_tool_button_release):
      	turn nested if()s into a switch(release_type).
      
      
      svn path=/trunk/; revision=27455
      5530ef63
    • Martin Nordholts's avatar
      Fix ChangeLog entry. · df6ab7d2
      Martin Nordholts authored
      svn path=/trunk/; revision=27453
      df6ab7d2
    • Martin Nordholts's avatar
      Bug 556603 – Zoom region always zooms in center of image · cf660f3e
      Martin Nordholts authored
      * app/tools/gimpmagnifytool.c (gimp_magnify_tool_button_release):
      When zooming with a click, use gimp_display_shell_scale() instead
      of local zoom logic.
      
      svn path=/trunk/; revision=27452
      cf660f3e
    • Michael Natterer's avatar
      Correct my last log entry. · 807a12b1
      Michael Natterer authored
      
      svn path=/trunk/; revision=27451
      807a12b1
    • Michael Natterer's avatar
      added "gboolean below" to gimp_enum_radio_frame_add() and · 88db2994
      Michael Natterer authored
      2008-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch]: added "gboolean below" to
      	gimp_enum_radio_frame_add() and gimp_enum_radio_box_add() and
      	place the widget right of the radio button unless "below" is TRUE.
      
      	* app/dialogs/convert-dialog.c
      	* app/dialogs/layer-add-mask-dialog.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/widgets/gimpfilleditor.c: pass TRUE so everything stays as-is.
      
      
      svn path=/trunk/; revision=27450
      88db2994
    • Martin Nordholts's avatar
      Put the existing blend formulas in expanded switch cases again. We need to · 9631635f
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c
      (gimp_operation_point_layer_mode_process): Put the existing blend
      formulas in expanded switch cases again. We need to keep the more
      complicated layer modes like Hue, Value and Saturation in expanded
      switch cases anyway.
      
      svn path=/trunk/; revision=27449
      9631635f
  3. 27 Oct, 2008 17 commits
    • Petr Kovář's avatar
      Fixed Czech translation (bug #517967). · 18b1a781
      Petr Kovář authored
      svn path=/trunk/; revision=27448
      18b1a781
    • Michael Natterer's avatar
      some minor cleanups. · 73410cef
      Michael Natterer authored
      2008-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c: some minor cleanups.
      
      	(gimp_text_tool_draw): draw a cursor of two pixels width which is
      	between glyphs so it is visible both at the left and the right
      	border or the rectangle. Also make it look a little more
      	cursor-like.
      
      
      svn path=/trunk/; revision=27446
      73410cef
    • 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
    • Michael Natterer's avatar
      take the layout line's x coordinate into account so the stuff works for · b258af7a
      Michael Natterer authored
      2008-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_key_press): take the
      	layout line's x coordinate into account so the stuff works for
      	right-aligned or centered text.
      
      
      svn path=/trunk/; revision=27440
      b258af7a
    • Michael Natterer's avatar
      argh, need to speak in byte offsets not character offsets. Do so and avoid · 50f043c3
      Michael Natterer authored
      2008-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_key_press): argh, need
      	to speak in byte offsets not character offsets. Do so and avoid
      	getting the buffer's text on each keystroke just to do the
      	char/byte conversion. Will use the same method for all the other
      	places which do similar things.
      
      	(gimp_text_tool_connect): minor cleanup.
      
      
      svn path=/trunk/; revision=27439
      50f043c3
    • Sven Neumann's avatar
      iterate over the tiles instead of rendering row-by-row. · edf9690e
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptextlayer.c (gimp_text_layer_render_layout):
      	iterate over the tiles instead of rendering row-by-row.
      
      
      svn path=/trunk/; revision=27438
      edf9690e
    • Sven Neumann's avatar
      no need to define PANGO_ENABLE_ENGINE · a725329c
      Sven Neumann authored
      svn path=/trunk/; revision=27437
      a725329c
    • Sven Neumann's avatar
      use the Y resolution when creating the fontmap. · 63f6dcb1
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptextlayout.c (gimp_text_get_pango_context): use 
      the
      	Y resolution when creating the fontmap.
      
      
      svn path=/trunk/; revision=27436
      63f6dcb1
    • Sven Neumann's avatar
      removed unused defines · 71c94ca5
      Sven Neumann authored
      svn path=/trunk/; revision=27435
      71c94ca5
    • Sven Neumann's avatar
      minor cleanup. · 819c5a66
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptextlayout-render.c 
      (gimp_text_layout_render_trafo):
      	minor cleanup.
      
      
      svn path=/trunk/; revision=27434
      819c5a66
    • Sven Neumann's avatar
      cleanup, removed unused includes. · edec220d
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptext-bitmap.c: cleanup, removed unused includes.
      
      
      svn path=/trunk/; revision=27433
      edec220d
    • Sven Neumann's avatar
      added new enum GimpTextHintStyle. · 033fcf16
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]: added new enum 
      GimpTextHintStyle.
      
      	* libgimp/gimpenums.c.tail
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/text/gimptext.[ch]: added new property "hint-style". 
      Removed
      	"autohint" property and mapped the boolean property "hinting" to
      	the new enum property "hint-style".
      
      	* app/text/gimptextlayout-render.c 
      (gimp_text_layout_render_flags):
      	use "hint-style".
      
      	* app/tools/gimptextoptions.[ch]: changed tool options 
      accordingly.
      
      	* tools/pdbgen/pdb/text_layer.pdb: deprecated the "hinting" API
      	and introduced getters and setters for "hint-style".
      
      	* app/pdb/text-layer-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimptextlayer_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=27432
      033fcf16
    • Michael Natterer's avatar
      add gimp_draw_tool_set_clip_rect() which transforms the passed in · cd088551
      Michael Natterer authored
      2008-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpdrawtool.[ch]: add gimp_draw_tool_set_clip_rect()
      	which transforms the passed in GdkRectangle before setting it
      	on the canvas.
      
      	* app/tools/gimptexttool.c (gimp_text_tool_draw): use it instead
      	of gimp_canvas_set_clip_rect().
      
      
      svn path=/trunk/; revision=27431
      cd088551
  4. 26 Oct, 2008 11 commits
    • Michael Natterer's avatar
      add integer x_pos member to remember the x cursor position when moving up · e16b9229
      Michael Natterer authored
      2008-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.h: add integer x_pos member to remember
      	the x cursor position when moving up and down across shorter
      	lines.
      
      	* app/tools/gimptexttool.c (gimp_text_tool_key_press): implement
      	moving the cursor up and down. The x_pos probably needs to be
      	reset in a few more places but it seems to work pretty nicely
      	already.
      
      
      svn path=/trunk/; revision=27430
      e16b9229
    • Michael Natterer's avatar
      handle Tab, some more cleanup. · cabd5212
      Michael Natterer authored
      2008-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c: handle Tab, some more cleanup.
      
      
      svn path=/trunk/; revision=27429
      cabd5212
    • Sven Neumann's avatar
      comments · 22249861
      Sven Neumann authored
      svn path=/trunk/; revision=27428
      22249861
    • Sven Neumann's avatar
      formatting. · 81e76098
      Sven Neumann authored
      2008-10-26  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptextlayout-render.c 
      (gimp_text_layout_render_flags):
      	formatting.
      
      
      svn path=/trunk/; revision=27427
      81e76098
    • Michael Natterer's avatar
      more cleanup, mostly formatting. · 63b67cc7
      Michael Natterer authored
      2008-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c: more cleanup, mostly formatting.
      
      
      svn path=/trunk/; revision=27426
      63b67cc7
    • Martin Nordholts's avatar
      Clamp Grain Extract, Grain Merge and Divide. · c13cfffa
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c: Clamp Grain Extract,
      Grain Merge and Divide.
      
      svn path=/trunk/; revision=27425
      c13cfffa
    • 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
    • Martin Nordholts's avatar
      Remove braces in formulas, makes everything look cleaner. · f9502d5a
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c: Remove braces in
      formulas, makes everything look cleaner.
      
      svn path=/trunk/; revision=27422
      f9502d5a
    • Martin Nordholts's avatar
      Clamp Addition and Subtract so that we acheieve consistent blending · 5bb194a2
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c: Clamp Addition and
      Subtract so that we acheieve consistent blending results. Also,
      our Addition is fine, it is the formula for 'plus' in the SVG 1.2
      draft that is wrong as far as I can see.
      
      svn path=/trunk/; revision=27421
      5bb194a2
    • Martin Nordholts's avatar
      Continue the quest of overviewable and readable blend formulas. The macro · 65714a8c
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c: Continue the quest of
      overviewable and readable blend formulas. The macro now expands to
      entire case-statements.
      
      svn path=/trunk/; revision=27420
      65714a8c