Michael Natterer
f3c2a75e44
app: overwrite cursors can have negative widths in RTL text
2010-10-14 02:43:37 +02:00
Michael Natterer
0c7ec05035
app: honor text direction when moving the cursor
...
Use pango_layout_move_cursor_visually() instead of e.g. simply using
gtk_text_iter_forward_cursor_position() when "right" was pressed.
This is much more correct now but still not 100% right.
2010-10-14 01:01:33 +02:00
Michael Natterer
56c50741d3
app: honor the "gtk-show-input-method-menu" setting
...
and hide the input method menu when it's FALSE.
2010-10-14 00:13:35 +02:00
Sven Neumann
beef765b4f
Bug 631885 - GIMP fails to import a path from SVG
...
If a moveto is followed by multiple pairs of coordinates, the
subsequent pairs are supposed to be treated as implicit lineto
commands.
The parser used to ignore this part of the SVG specification and
treated subsequent pairs of coordinates as moveto commands (which
is correct in general, but for moveto commands there is this
explicit exception of the general rule).
2010-10-13 22:01:58 +02:00
Sven Neumann
4236990351
app/vectors: formatting
2010-10-13 21:52:10 +02:00
Barak Itkin
8cf6695a50
Fix Bug 631742 - Can't change color of first letter
...
Fix the bug by making sure we set the base color before setting the markup which
contains color for specific regions. This is a temporary fix, it solves Bug
631742 and introduces a less critical bug (which is described as part of Bug
631934) that will be solved with upcoming design changes.
2010-10-12 02:13:28 +02:00
Michael Natterer
c79deb40dd
app: don't use a timeout for delaying display flushing
...
because it might never be called. Instead, check the time since
the last flush_now and make sure they are at least 20 ms apart.
2010-10-11 23:33:33 +02:00
Michael Natterer
be2037ce03
app: limit realtime image updates to about 50 fps
...
which increases responsiveness while painting quite a bit.
2010-10-11 22:49:10 +02:00
Michael Natterer
11bc11d2f7
app: add back the draw timeout
2010-10-11 22:27:32 +02:00
Michael Natterer
38153d7476
app: gimp_paint_tool_oper_update(): stop/start the draw tool only when needed
2010-10-11 22:26:52 +02:00
Christian Krippendorf
ff03681bdf
Bug 627328 - GIMP 2.6.10 segfaults when CTRL-left click on a layer mask
...
Move the g_signal_emit() to the end, because the cell->renderer could
be changed and cause a segfault. Also check cell->renderer before
dereferencing it.
2010-10-10 22:32:22 +02:00
Alexandre Prokoudine
fee17f8712
Cleanup of recent changes in porting scripts to new API. Marked layer names in carved-logo.scm for translation while at that
2010-10-10 21:07:24 +04:00
Sven Neumann
0a7e3f929f
po-script-fu: add contact-sheet.scm to POTFILES.skip instead
2010-10-10 17:48:19 +02:00
Sven Neumann
388c654319
Revert "Added forgotten contactsheet.scm script to the list of translatables"
...
as the script isn't distributed.
This reverts commit 8f7e1ac8dc
.
2010-10-10 17:45:49 +02:00
Alexandre Prokoudine
8f7e1ac8dc
Added forgotten contactsheet.scm script to the list of translatables
2010-10-10 18:41:30 +04:00
Alexandre Prokoudine
3abf6de944
Porting scripts to new API, marking layer names for translation
2010-10-10 17:59:29 +04:00
Sven Neumann
4d18135b46
script-fu: use "Rule" instead of "Hrule"
2010-10-10 01:56:00 +02:00
Sven Neumann
9100fd1c62
script-fu: don't include whitespace used as separator in translatable string
...
Actually we should use a printf()-like syntax here to make such strings
translatable.
2010-10-10 01:54:11 +02:00
Alexandre Prokoudine
0a4657ae9f
Porting scripts to new API, marking layer names for translation
2010-10-10 03:52:15 +04:00
Alexandre Prokoudine
e1a705c125
Marking layer names for translation
2010-10-10 03:41:21 +04:00
Alexandre Prokoudine
e062acbc64
Porting scripts to new API, marking layer names for translation
2010-10-10 03:40:59 +04:00
Alexandre Prokoudine
466523f732
Porting scripts to new API
2010-10-10 02:40:48 +04:00
Sven Neumann
bf6a2e6451
app/base: formatting
2010-10-10 00:32:30 +02:00
Alexandre Prokoudine
bb9c1210b3
Porting to new API: add-[layer|channel] > insert-[layer|channel] and more, perspective-shadow.scm will need revisiting re. new item transformation API
2010-10-10 02:14:53 +04:00
Michael Natterer
3de4d7263a
app: Bug 631619 - Drawing artifacts spread by paintbrush outline on canvas
...
Add a transform matrix to GimpCanvasBoundary and get rid of the whole
BoundSeg transform code in boundary.c and gimpbrushcore.c, it was
impossible to get this right on that level. Also fix te extents of
GimpCanvasBoundary os it leaves no artifacts.
2010-10-09 22:00:19 +02:00
Michael Natterer
f8d6821790
app: get rid of selection_control() in core/ and display/
...
- replace gimp_display_shell_selection_control() by undraw() and restart()
which actually say what they are doing
- remove enum GimpSelectionControl
- replace GimpImage::selection_control() by ::selection_invalidate()
because none of the other enum values was used any longer
2010-10-09 20:28:37 +02:00
Martin Nordholts
c1c42f193d
app: Remove 'use_cpu_accel' from gimp_init_for_{,gui_}testing()
...
Remove silly 'use_cpu_accel' parameter from gimp_init_for_testing()
and gimp_init_for_gui_testing().
2010-10-09 18:50:34 +02:00
Barak Itkin
9805ed7dd8
i18n: Add Hebrew and Ukrainian to po-tags/LINGUAS
2010-10-09 18:11:57 +02:00
Michael Natterer
cc8c546ed0
app: turn "edit-mask" into a property of GimpCanvasLayerBoundary
2010-10-09 15:34:20 +02:00
Michael Natterer
545e65dda6
app: add gimp_display_shell_selection_pause() and _resume()
...
and use them instead of gimp_display_shell_selection_control() with
the resp. enum values. Remove the GIMP_SELECTION_PAUSE and _RESUME
enums values and thus the presence of this concept in the core.
2010-10-09 14:26:33 +02:00
Michael Natterer
e11ca44ba0
app: use gimp_display_shell_selection_control() in the paint tool
...
not gimp_image_selection_control(). The image dealing with that
is an artifact that is going to die.
2010-10-09 14:07:04 +02:00
Michael Natterer
71a50bc58a
app: rename selection member "hidden" to "show_selection"
...
and invert its meaning. This has confused me long enough now...
2010-10-09 12:55:11 +02:00
Michael Natterer
0cae0f2fca
app: rename selection member "visible" to "shell_visible"
2010-10-09 12:51:20 +02:00
Mukund Sivaraman
7a9793ba6e
plug-ins: Use the correct enum value in file-psp
2010-10-08 22:56:53 +05:30
Michael Natterer
6b8141d548
app: wrap GimpBezierDesc in a boxed type to make property handling easier
2010-10-08 18:52:28 +02:00
Michael Natterer
914ac9aa11
app: no need to cairo_save()/restore() around drawing a canvas item
2010-10-08 16:13:21 +02:00
Michael Natterer
b59196c245
app: set shell->vectors to NULL in gimp_display_shell_items_free()
2010-10-08 15:46:00 +02:00
Michael Natterer
9828f6db20
app: remove unused variables in gimp_brush_core_create_bound_segs()
2010-10-08 12:09:33 +02:00
Baurzhan Muftakhidinov
cc88bafe8c
Initial translation of libgimp to Kazakh
2010-10-08 09:43:22 +06:00
Baurzhan Muftakhidinov
29e66b7384
Initial translation to Kazakh
2010-10-08 09:35:11 +06:00
Michael Natterer
55f01bf6f3
app: remove gimp_display_shell_draw_vectors()
...
which is the last bit of non-item drawing of stuff that is not
somehow the image itself... wheee!
This involves reverting commit
6bce0641d4
and adding back all the
vectors handlers that were in gimpdisplayshell-callbacks.c before.
Change the callbacks to manage proxy items for all the image's
vectors.
2010-10-08 01:03:56 +02:00
Sven Neumann
db72c72c1f
Bug 631609 - [regression] no transparency on antialiased fonts
...
Render the layout into an ARGB32 surface and convert the text layer
pixel format from that.
2010-10-07 22:21:49 +02:00
Sven Neumann
20ec80b20e
app: formatting
2010-10-07 22:21:32 +02:00
Nils Philippsen
51b1775ff7
configure.ac: fix building screenshot plugin without libXmu
...
Set SCREENSHOT_LIBS="$XMU_LIBS" only if libXmu development files are
available.
2010-10-07 18:19:24 +02:00
Mukund Sivaraman
9853df88a1
plug-ins: Increase size of values array in file-xmc to allow for values[5] access
2010-10-07 17:55:36 +05:30
Mukund Sivaraman
cfe6e3a00e
plug-ins: Increase size of values array in file-gih to allow for values[1] access
2010-10-07 17:52:13 +05:30
Mukund Sivaraman
ea29074bf8
plug-ins: Increase size of values array to allow for values[3] access
2010-10-07 17:50:36 +05:30
Michael Natterer
54a65fa9c3
app: add gimp_draw_tool_add_path() and use it in the vector tool
...
Also clean up gimp_vector_tool_draw() a bit.
2010-10-07 14:10:57 +02:00
Michael Natterer
0b078d3dad
app: several GimpCanvasPath fixes
...
- fix get_extents()
- don't use cairo_path_destroy() for a path we allocated ourselves
- pass a const GimpBezierDesc to new()
2010-10-07 14:08:48 +02:00
Michael Natterer
149ba1ec4b
app: add a path canvas item class based on cairo_path_t (GimpBezierDesc)
...
and use it in gimp_display_shell_draw_vectors().
2010-10-06 23:02:16 +02:00