8cefb2913e
app: use g_strcmp0() where strings can be NULL instead of checking manually
2010-06-06 19:15:49 +02:00
6d67ffd6f0
app: some cleanup in GimpFilteredContainer
2010-06-06 18:55:07 +02:00
72bcb72c44
app: rename gimp_template_create_image() to gimp_image_new_from_template()
...
and move it from gimptemplate.c to gimpimage-new.c
2010-06-05 22:42:00 +02:00
649bd8f678
Bug 619131 - Attempting to flip FG/BG hard-edge gradient locks up GIMP
...
Don't have the "prev" pointer of the right gradient segment point to
itself, causing an infinite loop when iterating the gradient reversed.
2010-05-20 10:11:18 +02:00
b0d02666a3
app: A few more generic aspect ratio fixes
2010-05-14 20:58:27 +03:00
74f907ca33
app: Fix curve application to tilt aspect ratio maping
2010-05-10 00:22:39 +03:00
4816a61dcb
app: Aspect ratio fixes
2010-05-10 00:21:55 +03:00
0cb1ada818
app: convert aspect ratio to scale_x&scale_y just before matrix transform
2010-05-10 00:11:07 +03:00
506469f9f9
app: minor formatting cleanup
2010-04-26 18:52:49 +02:00
5e1c9d228c
app: Fix tool preset editor init
2010-04-24 18:51:42 +03:00
06c1b290d0
app: Add tool preset editor to controll what elements get applied
...
I had to remove the asserrt in tool preset constructor, because with it
it wasnt possible to initalize an empty model object for the editor.
At init time the gimp object passed to the constructor is not yet available.
2010-04-24 17:55:54 +03:00
93ab387fb4
app: add use flags to tool preset
2010-04-24 15:54:35 +03:00
8f813ec52b
app: print a warning if a wrong tool is set on a GimpToolOptions object
...
Use a real g_warning() because this is a programming error. Please
report all warnings.
2010-04-21 20:53:16 +02:00
bb00c53bf5
app: make sure tool options are created with the right tool set
2010-04-20 20:04:24 +02:00
c835fad2c9
app: make sure GimpToolOptions always have the right GimpToolInfo set
...
Override GimpContext's "tool" property and add an evil function that
makes sure we don't set a tool that doesn't match the options. Needed
because tool options are read from disk and thus unreliable per se,
additional we were stupid and wrote wrong tool options to disk.
2010-04-20 20:00:34 +02:00
5c3cf19095
Revert "app: Make drawable updates happen at fixed framerate"
...
This reverts commit 32aca3c8b6 .
Clearly needs more review, thinking and discussion.
2010-04-18 15:03:16 +02:00
32aca3c8b6
app: Make drawable updates happen at fixed framerate
2010-04-18 15:53:22 +03:00
4c4c861aa1
app: make sure GimpToolPreset got the "gimp" construct property passed
...
and pass a Gimp when creating the preset editor's local model.
2010-04-11 16:18:21 +02:00
b676a1add0
app: make tool preset loading work
...
- add "Gimp" property to GimpToolPreset
- implement GimpConfigInterface::deserialize_property() and deserialize
the "tool-options" locally so we can pass the required "gimp" construct
property.
2010-04-11 15:43:29 +02:00
caad58d203
app: add a GimpContext parameter to GimpDataLoadFunc
2010-04-11 13:12:41 +02:00
4fcf34699f
app: flip context and name parameters in GimpDataNewFunc
2010-04-10 19:55:42 +02:00
78a4cae2d5
app: Rewire the the feature formely known as harndess back to gui as force
2010-04-09 00:44:52 +03:00
9ed712ddc4
app: Fix ceil/floor amplifying errors in transform size calculation
2010-04-08 00:31:40 +03:00
430b0e5517
app: add a GimpContext parameter to all functions which create GimpData
...
and pass a context whereever needed. Fix up gimp_tool_preset_new()
to actually make a copy of the context's active tool's options.
2010-04-05 13:26:31 +02:00
98a5e77200
app: formatting
2010-04-04 18:56:40 +02:00
efed2bf623
app: some cleanup and fixes in the tool preset infrastructure
2010-04-04 13:58:55 +02:00
29f7fe87b0
Base infra for tool presets.
2010-04-03 21:06:15 +03:00
4da60dd1b3
app: add context->dynamics_name to the context's memsize
2010-04-01 20:46:31 +02:00
021a49ce73
Add tile_manager_duplicate() which does quick tile-by-tile COW copy
...
and use it instead of duplicating the same code twice less efficiently.
2010-03-19 19:18:18 +01:00
de583d4c28
Make gimp_buffer_new() ref the passed tiles
...
and clean up gimp-edit.c a bit as a result.
2010-03-19 19:18:18 +01:00
8688037a58
Optionally make a copy of the drawable's tiles in GimpDrawableModUndo
...
instead of simply reffing drawable->tiles. Add boolean property "copy-tiles"
and a boolean parameter to gimp_image_undo_push_drawable_mod() to control
the new feature. However, pass FALSE in gimp_drawable_real_set_tiles() (which
currently is the undo's only user)
2010-03-18 10:25:18 +01:00
e30cdddeb0
app: include gegl-plugin.h in gimpdrawable.c
...
GimpDrawable uses gegl_operation_invalidate () which is part of the
plug-in/operation API, not the core GEGL API.
2010-03-17 22:26:40 +00:00
3607a73744
app: Make sure outline and brush transform use the same kind of matrix
2010-03-17 19:49:21 +02:00
336de7935f
app: Add dynamics to airbrush Flow
2010-03-14 19:09:55 +02:00
f1a1114ed7
app: Order dynamics in editor a bit more sensibly
2010-03-14 18:12:24 +02:00
5fda650281
app: Support for wheel input found in highend wacom tablets&tools
2010-03-09 22:23:44 +02:00
20d77451fd
app: Fix brush tools behavior at very small scale values
...
Tiny scale value now results in no stamp.
2010-03-07 15:56:38 +02:00
6650693d29
app: move gimp_image_pick_layer() to its own file
...
and add a (still unused) text layer picking function.
2010-03-07 01:55:31 +01:00
73b86bd9c9
app: Fix GimpTag reference handling
2010-03-03 23:35:20 +02:00
e9abde75ee
app: if there is no "text", generate the layer name from "markup"
...
Add gimp_markup_extract_text() which does just what it says (includes
code stolen from gmarkup.c), and use it if the layer's text object
doesn't have any text set.
2010-03-02 21:19:57 +01:00
15081a3a73
app: Make catmul-rom coords intepolation clamp pressure
2010-02-24 02:15:50 +02:00
7ea07c884b
app: some code cleanup
...
- move curve creation and signal connection to a utility function
- formatting cleanup
2010-02-23 20:59:10 +01:00
ced0c1af79
app: Fix some code ugliness intoduced by my last commit
2010-02-23 21:16:35 +02:00
0e1715fae2
app: Make the curve changes have immedate effect and have a working curve
2010-02-23 20:16:28 +02:00
3a8c234261
app: Make all inputs for an output respect curves
2010-02-23 17:41:01 +02:00
902e49fcc8
app: Make dynamics output curve getting work right.
2010-02-23 17:41:01 +02:00
62c0472ca5
Bug 600316 - Animated brushes, angle calculation
...
This was just a small bug in the angle->index calculation.
2010-02-23 14:32:24 +01:00
bdf4269e30
app: Add props for curves
2010-02-22 20:34:11 +02:00
652c6756c4
app: cosmetic cleanups in the new dynamics stuff in core/
2010-02-22 08:53:50 +01:00
468b30b585
app: Add type for dynamics output
2010-02-22 01:00:16 +02:00