fa9453eea1
app: add gimp_prop_icon_picker_new()
...
and use it in GimpTemplateEditor instead of handling the icon picker
manually.
2011-03-22 15:20:03 +01:00
ab9cb53be8
app: gimp_tool_preset_new(): ignore the passed name
...
and use GimpToolInfo's blurb, so new presets are by default called
"Blend", "Paintbrush" etc. and not simply "Untitled".
2011-03-22 15:08:11 +01:00
28aa26fb28
Bug 635038 - Fails to build on GNU/Hurd
...
Apply patch from Ari Pollak that tries harder to get a value for
PATH_MAX.
2011-03-21 23:40:05 +01:00
569299523e
Bug 641529 - Image Map plugin. The name of 2 buttons are not too clear
...
It can't hurt to have more obvious tooltips.
Changed to "Move Area to Top/Bottom".
2011-03-21 22:58:59 +01:00
33dd20750f
Bug 645456 - Inconsistent window (role) naming scheme
...
"preferences" -> "gimp-preferences"
2011-03-21 21:49:08 +01:00
ee6a029040
Add -fno-common to CFLAGS
...
Also fix the errors that were discovered by it. Multiple
definitions of global variables are no longer silently combined by
the linker, and will be reported as errors.
If you see GIMP crash strangely (i.e, apart from the usual crashes),
please go see a head doctor.
2011-03-21 22:51:30 +05:30
cc04620b96
Adjust Bug 559716 bugfix to not test exact double equality
2011-03-21 16:53:35 +01:00
ec1108d62a
Bug 559716 - Changing crop size in Crop Tool Options can make UI unresponsive
...
In gimp_rectangle_tool_update_options(), freeze()/thaw() notifications
around setting setting x, y, width, height, so all values are
up-to-date when "notify" is emitted. Also, only set the values that
have actually changed so we don't process notifications when no change
was done.
2011-03-21 14:38:26 +01:00
a90961ef4a
app: make GimpTextStyleEditor look a bit nicer
...
Add some spacing and move the color button to the bottom.
2011-03-21 01:00:37 +01:00
38287ba9f4
app: GimpTextTool: use the highlight color for the selected text
2011-03-20 23:59:19 +01:00
a7d62a11b5
Updated Spanish translation
2011-03-20 21:08:39 +01:00
6378e9fc4d
app: rename member GimpImageMapTool->shell to ->dialog
...
"shell" has confused me once too often today...
2011-03-20 18:27:11 +01:00
4149452279
Bug 643155 - Tool dialogs don't stay on top of the image window
...
Change the "GtkWidget *parent" parameter of GimpToolDialog to
"GimpDisplayShell". Also add API gimp_tool_dialog_set_shell() so an
existing dialog can be used on different images. Make sure the dialog
closes when the shell is unmapped (like when switching tabs in SWM),
and make the dialog transient for the toplevel GimpImageWindow.
Change all tool dialog users accordingly.
2011-03-20 18:15:42 +01:00
13bedf69e2
app: minor cleanups in GimpColorPickerTool
2011-03-20 16:57:23 +01:00
1f5e180334
app: move GimpToolDialog from app/widgets/ to app/display/
...
Zero logic changes yet, just a rename.
2011-03-20 13:34:03 +01:00
384689b761
libgimpwidgets: add a private struct to GimpDialog and use it for help stuff
...
and remove all g_object_get/set_data() hacks.
2011-03-20 13:21:59 +01:00
c469dbb206
libgimpwidgets: turn GimpDialog's "parent" into a property
...
and remove the parent peoperty from GimpViewableDialog.
2011-03-20 12:44:03 +01:00
6d97fd3887
app: use a size entry instead of a spinbutton in GimpTextStyleEditor
...
so it's finally clear what unit the text size has.
2011-03-20 12:37:01 +01:00
5f546938b6
app: Fix whitespace in last commit
2011-03-19 23:27:08 +02:00
6d6ab78d2a
app: Fix stroking brush size to brush default
2011-03-19 23:26:34 +02:00
ce606d9561
app: Fix a dynamics leak from new pdb fix
2011-03-19 22:48:17 +02:00
5d5430e110
app: Fix pdb size and dynamics brush stuff
...
[ Mikael: deduplicated brush size setting and fixed some whitespace ]
2011-03-19 18:39:02 +01:00
b3a597c7de
Revert "app: Fix pdb size and dynamics issues"
...
This reverts commit 9bae2a15cb .
2011-03-19 16:43:09 +01:00
bb80dfdc8e
Revert "app: Fix pdb properly this time"
...
This reverts commit 1a8edd7d1d .
2011-03-19 16:42:53 +01:00
1a8edd7d1d
app: Fix pdb properly this time
2011-03-19 17:12:14 +02:00
9bae2a15cb
app: Fix pdb size and dynamics issues
2011-03-19 15:14:23 +02:00
4f62bdf436
app: paint the text cursor in the highlight color
...
so it can be distinguished from the text box rectangle more easily.
2011-03-19 10:11:47 +01:00
0789ee2669
app: add a 1px FG border around overlay frames
...
so they work on any background. Also remove disabled bling code.
2011-03-18 22:57:13 +01:00
28b6057b1a
themes: remove the experimental dark style for overlay widgets
2011-03-18 22:56:37 +01:00
140c9aae91
Bug 625273 - Insert Font and font-size into the Texteditor's Menubar
...
If the cursor position (or the current selection), doesn't contain any
font, font-size or color tags, display the default values from the
GimpText object instead of "nothing". Still display nothing if the
selection contains different fonts, sizes or colors.
2011-03-18 22:13:34 +01:00
f09360ba80
app: GimpTextLayout: use the unit conversion functions from gimpunit.[ch]
...
instead of duplicating them. Multiply by PANGO_SCALE in the callers
and ceil() fixed text box pixel extents so we don't cut off stuff by
fractions of a pixel.
2011-03-18 21:39:28 +01:00
caa3b9f4bf
libgimpbase: add gimp_units_to_points()
...
because points is used in quite some external APIs (like Pango), and
having one conversion from gimp units is better than duplicating the
code.
2011-03-18 21:34:27 +01:00
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
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
f47645dc51
Add some extra compiler warnings to CFLAGS
2011-03-18 22:18:31 +05:30
61aa1854fd
app: make GimpSpinScale's slow part change the value 10x slower than the fast part
2011-03-18 15:42:50 +01:00
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
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
6e45d788f8
plug-ins: undeprecate most of file-xjt
2011-03-18 09:27:54 +01:00
422248d42a
Fixed cut and paste error that put R5RS fix before the setting of a variable.
2011-03-17 21:43:48 -04:00
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
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
94fa7a0471
file-jpeg: Validate ExifRational.denominator before division
2011-03-18 03:44:08 +05:30
9538f4d61f
file-jpeg: Bug #594282 - Set image resolution from EXIF if available
2011-03-18 03:39:05 +05:30
97bf01569a
Minor R5RS compatibility fix for the expt procedure.
2011-03-17 17:47:45 -04:00
5c07d3b52d
Added a getenv procedure to the ftx extension of Script-Fu.
2011-03-17 17:47:44 -04:00
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
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
d3153960df
app: rename gimp_transform_tool_doit() to gimp_transform_tool_transform()
2011-03-17 21:39:11 +01:00
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