Commit Graph

29133 Commits

Author SHA1 Message Date
Michael Natterer ecbfb4a9e8 app: add a GimpText property and construct param to GimpTextStyleEditor
which will be used to get default values from.
2011-03-18 21:16:53 +01:00
Michael Natterer 10893e6bfa Revert "Add some extra compiler warnings to CFLAGS"
This reverts commit f47645dc51.
Sorry, but the new warnings are not useful.
2011-03-18 20:41:38 +01:00
Mukund Sivaraman f47645dc51 Add some extra compiler warnings to CFLAGS 2011-03-18 22:18:31 +05:30
Michael Natterer 61aa1854fd app: make GimpSpinScale's slow part change the value 10x slower than the fast part 2011-03-18 15:42:50 +01:00
Michael Natterer f1d1bb610d app: experimentally add fine-tuning to GimpSpinScale
by making the lower part change things in small steps.
2011-03-18 15:07:44 +01:00
Michael Natterer df731912a5 app: add a GimpTextStyleEditor to the text tool's editor dialog
so it's an alternative to on-screen editing for esoteric use cases
that can do everything on-screen editing is capable of.
2011-03-18 12:58:32 +01:00
Michael Natterer 6e45d788f8 plug-ins: undeprecate most of file-xjt 2011-03-18 09:27:54 +01:00
Kevin Cozens 422248d42a Fixed cut and paste error that put R5RS fix before the setting of a variable. 2011-03-17 21:43:48 -04:00
Michael Natterer f13abfa3f0 app: change image parameter in gimp_text_layout_new() to xres,yres
Because GimpTextLayout doesn't depend on any image, it only needs a
resolution.
2011-03-18 02:31:20 +01:00
Michael Natterer 1c8149a553 Bug 632568 - 'gimp-drawable-transform-rotate-simple' makes GIMP crash in some cases
Applied modified patch from Massimo that makes sure we don't use
negative width/height if source and dest regions don't overlap.
2011-03-18 00:53:21 +01:00
Mukund Sivaraman 94fa7a0471 file-jpeg: Validate ExifRational.denominator before division 2011-03-18 03:44:08 +05:30
Mukund Sivaraman 9538f4d61f file-jpeg: Bug #594282 - Set image resolution from EXIF if available 2011-03-18 03:39:05 +05:30
Kevin Cozens 97bf01569a Minor R5RS compatibility fix for the expt procedure. 2011-03-17 17:47:45 -04:00
Kevin Cozens 5c07d3b52d Added a getenv procedure to the ftx extension of Script-Fu. 2011-03-17 17:47:44 -04:00
Michael Natterer e24795f167 Bug 600554 - Implement layer group transforms
Same fix for the PDB: if the item to transform is a group layer, call
gimp_item_transform()/rotate()/... directly instead of going through
the wrong cut/transform/paste code path.
2011-03-17 22:00:38 +01:00
Michael Natterer 503acbae54 Bug 600554 - Implement layer group transforms
When transforming layer groups, don't cut out a buffer to transform.
Instead, simply call GimpTransformTool::transform() with
tr_tool->original being NULL, just as when we are transforming a
path. In the transform() implementations, simplify the code to not
look at the type of item to be transformed; instead, simply look at
tr_tool->original and transform it if it exists, otherwise call
gimp_item_transform() which does the right thing for all sorts of
items automatically.
2011-03-17 21:52:43 +01:00
Michael Natterer d3153960df app: rename gimp_transform_tool_doit() to gimp_transform_tool_transform() 2011-03-17 21:39:11 +01:00
Michael Natterer d7c66c66d0 Bug 142697 - Dock separators move between sessions
Removing my old and evil "fix" for the issue from 2004-06-01 seems
to make things work as they should.
2011-03-17 21:03:20 +01:00
Martin Nordholts 0d0ffd1265 Bug 644891 - Ctrl+e crashes gimp
Don't freak out if setting an URI on GimpImage that was getted with
the corresponding getter. Fix by Massimo.
2011-03-17 20:25:43 +01:00
Mukund Sivaraman 584f9a35e7 Use correct format string for size_t args 2011-03-18 00:06:15 +05:30
Mukund Sivaraman 2deb14c9be Use correct format string for size_t args 2011-03-18 00:06:15 +05:30
Mukund Sivaraman 9bbfac5c59 Use correct format string for size_t args 2011-03-18 00:06:14 +05:30
Mukund Sivaraman 56d8850d38 Use a proper int to pointer cast 2011-03-18 00:06:14 +05:30
Michael Natterer bd74617756 Bug 643174 - GIMP fails to execute 'Palette to Gradient' function
Don't call gimp_gradient_segment_range_split_uniform() if num_segments
is 1 (which happens on a palette with two colors).
2011-03-17 19:21:07 +01:00
Michael Natterer ac5cd62af5 plug-ins: don't use %ld to print simple integer values
I have no clue why %ld was used here, the values are really small...
2011-03-17 15:58:46 +01:00
Michael Natterer e26c2777c5 plug-ins: use GimpImageType instead of GimpImageBaseType in value-propagate
This has been wrong forever.
2011-03-17 15:57:46 +01:00
Michael Natterer d7c1788f2c plug-ins: use gdk_window_get_width/height() on GTK+ >= 2.24 2011-03-17 15:56:53 +01:00
Michael Natterer 98e5c32f00 plug-ins: compare gimp_image_base_type() to GIMP_RGB, not GIMP_RGB_IMAGE
because the latter is from the wrong enum.
2011-03-17 15:44:47 +01:00
Michael Natterer d23c0d3fdf plug-ins: add a typedef for IfsCompose's token enum
and don't treat its values as GTokenType.
2011-03-17 15:29:43 +01:00
Michael Natterer c6e35435ad libgimpwidgets: don't treat -1 as value of enum PangoAttrType 2011-03-17 15:28:41 +01:00
Michael Natterer 075c7d4a4d app: avoid the deprecated gdk_drawable_get_size() on GTK+ >= 2.24
Use gdk_window_get_width/height() instead.
2011-03-17 15:10:17 +01:00
Michael Natterer fdde231869 app: use gtk_widget_get_allocation() instead of gdk_drawable_get_size() 2011-03-17 15:09:19 +01:00
Michael Natterer 42b2498a06 app: add a cast when comparing GdkCursorType with GimpCursorType 2011-03-17 14:42:44 +01:00
Michael Natterer b725eaa682 libgimpwidgets: don't mix GimpWidgetHelpType and GtkWidgetHelpType
Because latest GCC warns about it.
2011-03-17 14:41:34 +01:00
Michael Natterer bdf8d3d776 plug-ins: add some GTK_CHECK_VERSION(2,24,0) and use the new GtkComboBoxText 2011-03-17 14:31:39 +01:00
Alexia Death 41b1bd36da app: Fix smooth intreaction with airbrush 2011-03-16 22:08:19 +02:00
Michael Natterer c07811f0a3 app: remove unused variables in gimp_drawable_duplicate() 2011-03-16 02:06:21 +01:00
Michael Natterer 9f30550f9a app: move drawable->type to private 2011-03-16 02:02:47 +01:00
Marco Ciampa 591f029c67 Updated italian translation 2011-03-16 00:38:41 +01:00
Michael Natterer a62071e9eb app: remove mamber GimpDrawable::bytes
because it's always the same as GIMP_IMAGE_TYPE_BYTES(drawable->type)
2011-03-16 00:16:31 +01:00
Michael Natterer f4b311d558 devel-docs: add newly generated templates to .gitignore 2011-03-15 22:43:49 +01:00
Michael Natterer 54c7725417 app: GimpTextTool: remove disabled testing code 2011-03-14 14:28:08 +01:00
Michael Natterer 22808b996f app: GimpTextOptions: implement GimpToolOptions::reset()
and avoid resetting the rectangle options, so the text box keeps its
position.
2011-03-14 14:12:43 +01:00
Michael Natterer 90058cded7 app: add missing tooltips in the text style overlay widget 2011-03-14 13:05:30 +01:00
Michael Natterer 75548264d0 app: set the text option's unit menu to "plural"
It gets changed to "abbreviation" for the permanently displayed
string automatically.
2011-03-14 12:58:34 +01:00
Claude Paroz 14c4e7cd67 Updated French translation
Contributed by Julien Hardelin and Claude Paroz
2011-03-13 20:14:37 +01:00
Michael Natterer 8184296b3c app: add gimp_container_get_neighbor_of() to GimpContainer
instead of gimp_container_get_neighbor_of_active() in gimp-utils.c.
Move the additional GimpContext logic of the old function into the
callers, but use the new function in more places.
2011-03-13 02:14:44 +01:00
Daniel Korostil 183e1e9aae Uploaded Ukranian 2011-03-11 12:26:07 +02:00
Martin Nordholts ef06dfd096 Revert "Add distdir to POTFILES.skip"
This reverts commit 0656172b3d.
intltool-update doesn't support $buildir/POTFILES.skip :(
2011-03-10 20:55:50 +01:00
Claude Paroz a57b27c2c3 Updated French translation
Contributed by Julien Hardelin and Claude Paroz
2011-03-10 20:28:32 +01:00