Commit Graph

35055 Commits

Author SHA1 Message Date
Jehan 77b04551c8 app: clean compilation with external libmypaint.
The work-in-progress was using a source tree of libmypaint embedded
into GIMP tree. This is a cleaning with pkg-config test in configure,
and correct includes.
2015-03-30 22:38:35 +02:00
Michael Natterer 2594c09e41 app: make the mypaint tool brush outline size follow the settings instantly 2015-03-30 22:38:35 +02:00
Michael Natterer 6ea9b5c3cf app: connect the MyPaint brush radius to the tool tip size action 2015-03-30 22:38:35 +02:00
Michael Natterer 5ccea24952 app: let gimppaintoptions-gui.c know about the MyPaint brush tool
and disable stuff accordingly.
2015-03-30 22:38:35 +02:00
Michael Natterer 628593ae5a app: port the MyPaint brush to GimpPaintTool::get_outline() 2015-03-30 22:38:35 +02:00
Michael Natterer dd767bca37 app: use gimp_paint_tool_set_draw_circle() in the MyPaint brush tool 2015-03-30 22:38:34 +02:00
Michael Natterer 9629befec6 app: make a copy of the drawable's buffer in MyPaint native format 2015-03-30 22:38:34 +02:00
Michael Natterer 071ede915a app: first draft of GimpMybrushTool, which uses MyPaint brushes 2015-03-30 22:38:34 +02:00
Baurzhan Muftakhidinov 7c37b84653 Updated Kazakh translation 2015-03-30 07:12:01 +00:00
Michael Natterer 974ce0b6d1 app: GimpHandleTransformTool: remove shortcuts in is_handle_position_valid()
The check should not depend on trans_info[NUM] because the code that
has the division by zero to avoid doesn't either. Closes bug #721009.
2015-03-30 00:12:16 +02:00
Michael Natterer 9b6bacc0d8 Bug 723901 - Add open in file manager button in Folders settings
Add the button, using the new gimp_file_show_in_file_manager() API.
2015-03-29 23:52:11 +02:00
Michael Natterer 2e316a342e app: change the image window icon size from 32x32 to 64x64, because it's 2015 2015-03-29 21:50:34 +02:00
Michael Natterer c90bcccd3a plug-ins: use gtk_window_set_icon_name() in the help browser
instead of loading all icons from the theme manually and setting them
as icon_list-.
2015-03-29 21:42:03 +02:00
Michael Natterer f8a9f39466 libgimpwidgets: use gtk_window_set_default_icon_name()
instead of gtk_window_set_default_icon_list() which requires having
actual GdkPixbufs around. Move the 32x32 and 48x48 wilber images to
the icon theme, and remove all inline pixbuf generation stuff from
libgimpwidgets.
2015-03-29 21:00:11 +02:00
Michael Natterer a5edc76c76 app: Iscissors: actually set the state to REMOVE so the right cursor appears 2015-03-28 22:46:49 +01:00
Michael Natterer f2c4b9317f app: Iscissors: allow to remove points with Control-Click 2015-03-28 22:41:43 +01:00
Michael Natterer bd75ed6bf0 app: Iscissors: don't crash when cancelling the initial point 2015-03-28 21:52:26 +01:00
Michael Natterer 4842e2a14f Bug 670031 - Would like to undo intelligent scissors selections in progress
Add undo to the Isissors tool, along with some refactoring:

- Always modify the actual curve, instead of a set of obscure states
  kept around in the tool instance
- On cancel, simply go back to the curve on the undo stack
- Draw handles on top of curve segments
- Draw the currently edited segments and handles in the highlight color
2015-03-28 21:31:03 +01:00
Michael Natterer 565b0af74d app: IScissors: add struct ICurve for the entire curve and its state 2015-03-27 21:37:57 +01:00
Michael Natterer e6fe3ed3b0 app: Iscissors: rename struct ICurve to ISegment 2015-03-27 10:45:28 +01:00
Michael Natterer 36ca4d03f1 app: some cleanup in GimpTransformTool and subclasses
- formatting
- rename some GimpTransformTool members
- add member "does_persoective" and don't include subclasses
- handle drawing cleanup
2015-03-23 23:18:28 +01:00
Michael Natterer 94a872f051 app: some cleanup in the Iscissors tool
Create utility functions to create and free ICurve segments, improves
readability. And some random code cleanup.
2015-03-20 21:18:23 +01:00
Michael Henning ef08e6934b app: Fix gimp_gegl_convolve to not abuse gegl_buffer_iterator
Iterators might only give us a small chunk of the source buffer,
but until now convolve assumed it gave us the entire buffer at once.
This simply switches to gegl_buffer_get so we always have the
entire buffer.

This fixes iscissors.
2015-03-18 02:59:26 -04:00
Michael Natterer d11f83a640 app: resurrect the Iscissors tool to a zombie state
The interaction is fully restored, it's also ported to the new halt()
and commit() API of tools and semi-properly GEGLized: the gradient map
is now constructed on the fly using a GimpTileHandlerValidate
subclass.

The only problem is that it doesn't find any edges in the image and is
totally useless. Pushing anyway to put an end to the bitrot, any help
with debugging is greatly appreciated...
2015-03-17 22:24:56 +01:00
Michael Natterer 8c6e890835 app: rename GimpTileHandlerProjection to GimpTileHandlerValidate
Add virtual function validate() so subclasses can construct arbitrary
buffers on-the-fly. The default implementation blits from the
projection graph like before. Add boolean property "whole-tile" which
allows for switching between always validating entire tiles, and
validating the parts of the tile that are actually dirty.
2015-03-15 22:09:04 +01:00
Dimitris Spingos 8e58e1ec2e Updated Greek translation 2015-03-15 21:21:31 +02:00
Samir Ribic 11e49b4719 Added Bosnian translation 2015-03-14 16:48:24 +00:00
Samir Ribic 6fd5e1d315 Added Bosnian translation 2015-03-14 16:47:46 +00:00
Samir Ribic 32415621c4 Added Bosnian translation 2015-03-14 16:45:20 +00:00
Samir Ribic efb8db0442 Added Bosnian translation 2015-03-14 16:44:58 +00:00
Samir Ribic a6270d503c Added Bosnian translation 2015-03-14 16:39:12 +00:00
Samir Ribic 720b52e6fc Added Bosnian translation 2015-03-14 16:36:26 +00:00
Samir Ribic e08643af48 Added Bosnian translation 2015-03-13 21:34:03 +00:00
Mukund Sivaraman 2c80affe4c app: Include commit hash in display shell message 2015-03-12 12:07:45 +05:30
Dušan Kazik 0fdde98f6d Updated Slovak translation 2015-03-11 18:30:33 +00:00
Hartmut Kuhse ef66ea296d app: don't assign variable before checking the validity 2015-03-09 08:28:33 +01:00
Marco Ciampa 968477def7 Updated Italian tranlation 2015-03-09 00:53:38 +01:00
Michael Natterer 4dcd48fff2 app: move the handle transform tool to the playground 2015-03-08 17:21:11 +01:00
Michael Natterer 8f4fe89309 app: some more cleanup in the handle transform tool 2015-03-08 17:12:13 +01:00
Michael Natterer 60d0fa009c authors.xml: add Elle Stone 2015-03-05 12:58:52 +01:00
Michael Natterer 8c5e9b23ad authors.xml: Marek is an author not a documenter 2015-03-05 12:57:06 +01:00
Michael Natterer 9f7700b155 authors.xml: add Marek Dvoroznak 2015-03-05 12:56:04 +01:00
Michael Natterer d522305ce2 authors.xml: add Johannes Matschke 2015-03-05 12:54:39 +01:00
Michael Natterer 47b7a7be29 authors.xml: add Thomas Manni 2015-03-05 12:52:20 +01:00
Michael Natterer 231f605986 authors.xml: add Kristian Rietveld 2015-03-05 12:50:43 +01:00
Johannes Matschke 2989bad35a Bug 721009 - new transform tool with freely placeable handles
Add new tool GimpHandleTransformTool which allows to freely place up
to 4 handles on the image, then move any one of them, which transforms
the image so that the remaining handles keep their position.

Did quite some cleanup on the code before pushing --Mitch
2015-03-05 12:36:59 +01:00
Michael Natterer 67673e0b09 app: oops, fix last commit 2015-03-05 10:28:50 +01:00
Michael Natterer 8236068982 app: add struct GimpTransformOptionsClass
instead of simply typedefing it to the parent class struct.
2015-03-05 09:57:23 +01:00
Michael Natterer e1baaa0677 Bug 742821 - Grayscale-mode image malformed when exported as planar raw image data
Fix saving of planar data by taking the actual number of components of
the drawable into account, instead of always assuming 3 (RGB).
2015-03-04 22:32:07 +01:00
Marco Ciampa b2682741cd Updated Italian translation 2015-03-03 23:52:32 +01:00