Commit Graph

25553 Commits

Author SHA1 Message Date
a7bca9407d Bug 569661 – Import from PDF throws errors when entering resolution in pixels per millimetre
Fix calculation of dpi value.
2009-07-07 17:09:21 +02:00
34ccca92a5 Bug 567262 – Black pixels appear in "Spread" filter preview
The plug-in makes use of a GimpPixelFetcher to access the source image.
And a GimpPixelFetcher in its default state only returns pixels inside
the bounding box of the selection. Setting its edge-mode to whatever
but GIMP_PIXEL_FETCHER_EDGE_NONE allows to read pixels outside of the
selection.
2009-07-07 17:07:12 +02:00
5be4f235a3 Bug 554658 – Path Dialog: Path preview pics not to see constantly
Always initialize the 'status' member of a newly allocated cairo_path_t
to the value CAIRO_STATUS_SUCCESS as required to successively call
cairo_append_path().
2009-07-07 17:05:42 +02:00
c837f25b40 Bug 167604 – gimp_gradient_get_color_at() may return out-of-bounds values
This is not a problem of gimp_gradient_get_color_at(), but a typo
in gradient_editor_right_color_update().
2009-07-07 17:02:32 +02:00
669011b07d Updated Swedish translation 2009-07-07 16:55:32 +02:00
75484699da Disabled the build of the metadata plugin if libexif is disabled.
Relates to Bug 587172 - Merge Exif data with XMP model.
2009-07-07 12:01:03 +10:00
7a4b05d93d Bug 587710 – PAT file specification seems to have a wrong magic number
Fix magic number of the GIMP pattern file format in the documentation.
2009-07-06 22:11:38 +02:00
fe09f320f8 remove trailing whitespace 2009-07-06 15:29:45 +02:00
27f12b2505 app: Cleanup gimp_display_shell_format_filename() 2009-07-05 23:58:55 +02:00
073d026f6c app: Show "(overwritten)" and "(exported)" status of image
When an import source has been overwritten with File -> Overwrite
<file.png>, or exported by whatever means, reflect this status in the
title bar of the image window. Do this by adding some string building
logic to gimp_display_shell_format_filename().
2009-07-05 09:28:52 +02:00
1662ff2523 app: Keep track of GimpImage export dirtiness
Since save and export are separate activities we need to keep track of
image dirtiness for both of them. For this purpose, add a
'export_dirty' member to GimpImage which has the same semantics as
'dirty', but for export. Set it to clean whenever a document is
exported by whatever means. Do this with a new function
gimp_image_export_clean_all(). Also add gimp_image_is_export_dirty().
2009-07-05 09:28:52 +02:00
c4601b298d app: Make 'Overwrite foo.png' work
In File -> Overwrite, we need to use the import source as the export
URI since there is no explicit export target given yet.
2009-07-05 09:28:52 +02:00
31fe420b82 Updated Tamil translation 2009-07-05 11:44:34 +05:30
7ae06f8a8f Updated Tamil translation 2009-07-05 11:39:31 +05:30
7829b0e23b Added ta translation 2009-07-05 11:31:44 +05:30
70c86d4e11 Updated Tamil translation 2009-07-05 11:31:44 +05:30
c181f4eb05 app: Add and use gimp_image_is_dirty() 2009-07-03 21:11:21 +02:00
0959414cd2 app: Simplify file_actions_update() 2009-07-03 08:20:40 +02:00
a307ee2cc6 menus: Untabify image-menu.xml.in 2009-07-03 08:18:20 +02:00
46cdf8b16c app: Put 'Export to' above 'Export...' 2009-07-03 08:16:08 +02:00
7deab857b4 app: Update default save name according to spec
Update default save name according to the spec which is
http://gui.gimp.org/index.php/Save_%2B_export_specification in case
someone forgot.
2009-07-02 22:17:36 +02:00
631e128ddd app: Forget import source after saving as XCF
Forget the import source after save. We interpret a save as that the
user is not interested in being able to quickly export back to the
original any longer. The effect of this is that if we have an
'Overwrite' menu item, it becomes insensitive and set to 'Export to'.
2009-07-02 22:17:36 +02:00
8a1e826d99 app: Show "Overwrite <filename>" in File menu
With no export target but with an import source, show
"Overwrite <filename>" in the File menu. This also means we can't set
GIMP_FILE_EXPORT_TO_URI_KEY along with import source any longer.
2009-07-02 22:17:36 +02:00
ed9c12d1e7 app: Put "[<filename>] (imported)" in window title for imported files
Put "[<filename>] (imported)" in window title for imported files
instead of "Untitled (imported from <filename>)".
2009-07-02 22:17:35 +02:00
d9136aec3f app: Support NULL ext to file_utils_uri_with_new_ext() 2009-07-02 22:17:35 +02:00
e4976d8ad2 Bump GEGL and BABL versions here too 2009-07-02 12:24:13 +02:00
e6e40af9ab update the GEGL and babl requirements 2009-07-01 22:33:38 +02:00
f07d89de2a Bug 587543 – crash in GNU Image Manipulation Program: Pressing shift+-
Not all actions have procedures associated with them, for example
unused "plug-in-recent-[N]" actions, so check for NULL before we
invoke the plug-in action
2009-07-01 21:45:33 +02:00
7df1c1fc9d Require babl 0.1.0 and GEGL 0.1.0 2009-07-01 20:41:14 +02:00
bc8683fe72 Merge branch 'roman-metadata_editor' 2009-07-01 10:41:31 +10:00
05537763ef Bug 567393 – Rectangle select tool size shrinks to 0 if size is larger than
the image and the up or down arrow is pressed.

Applied patch from Massimo as found in bug #567393. This changes ROUND()
to RINT() to correct rounding for negative numbers. Also did this change
in gimp_rectangle_tool_adjust_coord().
2009-06-30 23:19:13 +02:00
f804f6932a And some more format fixes to dz.po files, now in po/ 2009-06-30 22:12:28 +03:00
6a72138290 Fixes to another translation formating error in dz.po, this time in po-plug-ins 2009-06-30 22:06:23 +03:00
6391f76f19 Fixing formating errors in dz.po 2009-06-30 22:00:22 +03:00
5bc14cdc96 Reformatted source code and removed unused prototypes. 2009-06-30 18:41:38 +10:00
46ad0f6c2a Replace open by save button in the export dialog.
The interface.c was retabbed before to remove existing tabs and replace
them with spaces.
2009-06-30 18:27:01 +10:00
e0fddee128 Set scalar properties for XMP (exif). 2009-06-30 18:27:01 +10:00
7230d2673c Merges the exif-data to the xmp-model.
Added a function to merge the Exif data into the xmp model. The function
is using the image id and to access the Exif data parasite. For each
Exif property a corresponding value in the XMP model is created.
2009-06-30 18:22:29 +10:00
b2c20bdbda Fixed Czech translation
Fixes bug #586465. Thanks goes to David Jasa.
2009-06-29 00:58:21 +02:00
4c5c158bfa Fix corner case of text tool up/down navigation
(gimp_text_tool_move_cursor): really go to the beginning/end of the
buffer when there are no further lines to go up/down to.
2009-06-28 17:27:02 +02:00
66cc3e5f22 Check for automake-1.11 2009-06-28 11:12:16 +02:00
780404699e plug-ins: Add missing #include<X11/Xlib.h> that is breaking build 2009-06-28 11:12:16 +02:00
bcfaed96d2 Simplify and clean up text tool clipboard handling. 2009-06-27 21:51:52 +02:00
8e09c53637 Some more text tool cleanup
- keep around more local "buffer" variables to improve readability
- fix all comparisons between coordinates and bounding boxes,
  they were off-by-one on one or both sides.
2009-06-27 21:31:06 +02:00
afb8d07fcf Use PANGO_WRAP_WORD_CHAR so we don't cut off words which are wider than the layer 2009-06-27 21:10:34 +02:00
6d3522c737 Make up/down work within wrapped lines
(gimp_text_tool_move_cursor): use PangoLayoutLines and byte indices to
calculate x positions when moving the cursor up or down. text_tool->x_pos
is not in terms of device units within a PangoLayoutLine.
2009-06-27 15:38:30 +02:00
285c25a257 Some minor cleanup 2009-06-27 14:55:45 +02:00
51f81bd15e app: Reuse the GeglProcessor
Reuse the GeglProcessor instead of creating a new one in each call to
gimp_projection_construct_gegl(). Requires at least 0ed57a05da of
GEGL. Does not seem to give any performance improvement at all
unfortunately :(
2009-06-26 08:17:48 +02:00
1a2136408e Implement overwrite-mode in the text tool
* app/widgets/gimptextproxy.c: also swallow the "toggle-overwrite"
signal.

* app/tools/gimpdrawtool. [ch] (gimp_draw_tool_draw_text_cursor): add
"gboolean overwrite" which causes the cursor to be drawn as block.

* app/tools/gimptexttool.[ch]: implement overwriting, toggling it,
and changing the text cursor accordingly.
2009-06-25 13:22:25 +02:00
0ecf3b24d6 Some text tool code cleanup
- add some local "buffer" variables to avoid writing text_tool->text_buffer
  all the time.
- text_tool->text_buffer always exists, no need to check for it.
2009-06-25 10:45:06 +02:00