Commit graph

28401 commits

Author SHA1 Message Date
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
Michael Natterer 2a965a8a78 app: argh, don't include the .c file 2010-10-06 22:49:53 +02:00
Michael Natterer a16fc33c43 app: add new() copy() and free() API around GimpBezierDesc
and use it instead of manually (de)allocating. Will also be used in a
new canvas path item.
2010-10-06 22:37:07 +02:00
Rupert Weber e986310e3e Bug 630201 - remove unused layer-modes.c in app/paint-funcs
The compositing functions in layer-modes.c have been obsolete
for seven years now, since gimp-composite was made default
by 1b33a15e03 in 2003.
2010-10-06 21:26:14 +02:00
Martin Nordholts 08a3a1dca7 build/buildbot: Suppress pygimp gimp_drawable_transform_* warnings 2010-10-06 20:04:37 +02:00
Martin Nordholts 4a32f3e500 plug-ins: Port common/file-tiff-load.c to new item transform API
We don't need to use gimp_context_set_transform_resize() since we flip
around the center.

Note that the current code will never work before we try to rotate the
layer before it is added to the image, but that's a different bug...
2010-10-06 19:55:33 +02:00
Martin Nordholts 719e04f5d9 plug-ins: Port common/curve-bend.c to new item transform API 2010-10-06 19:55:33 +02:00
Michael Natterer 2e9b6625e8 pdb: document that the context's inteprolation defaults to the gimprc value 2010-10-05 21:12:04 +02:00