Commit Graph

33665 Commits

Author SHA1 Message Date
Michael Natterer 59ab6e1e5a devel-docs: #include <gio/gio.h> in devel-docs/tools/units.c 2013-10-27 01:33:02 +02:00
Michael Natterer a86b1bf6ae po-plug-ins: remove the old metadata files from POTFILES.in 2013-10-27 01:16:50 +02:00
Michael Natterer ce2822d58f plug-ins: remove the old metadata plug-in 2013-10-27 01:15:37 +02:00
Hartmut Kuhse 21bed1e2fb Completely rewrite metadata handling using gexiv2
Based on original patches from Hartmut Kuhse and modified
by Michael Natterer. Changes include:

- remove libexif dependency and add a hard dependency on gexiv2
- typedef GExiv2Metadata to GimpMetadata to avoid having to
  include gexiv2 globally
- add basic GimpMetadata handling functions to libgimpbase
- add image and image file specific metadata functions to libgimp,
  including the exif orientation image rotate dialog
- port plug-ins to use the new APIs
- port file-tiff-save's UI to GtkBuilder
- add new plug-in "metadata" to view the image's metadata
- keep metadata around as GimpImage member in the core
- update the image's metadata on image size, resolution and precision
  changes
- obsolete the old metadata parasites
- migrate the old parasites to new GimpMetadata object on XCF load
2013-10-27 01:02:17 +02:00
Marco Ciampa c51ce66f1b Updated italian translation. 2013-10-26 22:50:38 +02:00
Jehan 8267220651 app: the "Tabs Position" menu should only be active in single window mode.
Thanks to Téo for pointing this out.
2013-10-25 14:50:04 +13:00
Piotr Drąg 80ed1a7407 Updated Polish translation 2013-10-24 18:45:09 +02:00
Jehan 1ea2e7f588 po: add app/text/gimptextlayout.c to POTFILES.in 2013-10-25 00:33:11 +13:00
Jehan 2aabbbd9c7 Bug 662787 - Segfaults when trying to set a large text size
If a font size is too big for cairo or pango to deal with, nicely back
up from rendering and alert the user via an error dialog.
2013-10-24 20:23:51 +13:00
Michael Natterer 30a389866a plug-ins: use image/jp2 for JPEG 2000, procedures can only have one mime-type 2013-10-22 20:36:12 +02:00
Michael Natterer 6e3495ff69 app: treat an empty ("" not NULL) plug-in proc_install->menu_path as NULL
gimp_plug_in_handle_proc_install(): don't set the new procedure's menu
path nor its menu label if proc_install->menu_path is "", so we don't
run into action and menu creating confusion later. Do it here and not
later so the "" string never enters the system.
2013-10-20 18:28:13 +02:00
Daniel Sabo 71bddaa23c app: Remove deprecated "babl-tolerance" setting 2013-10-19 17:02:04 -07:00
Michael Natterer 33f361f634 app: include gimp-gegl-nodes.h in gimpchannel.c 2013-10-20 00:35:20 +02:00
Michael Natterer d4790a74fb app: always disable CL before GEGL is initialized
This way we only enable if wanted in gimprc, instead of always
enabling, and then disabling again if wanted in gimprc.
2013-10-20 00:34:18 +02:00
Michael Natterer a6a07dd29e plug-ins: allow non-optional extra libs in plug-ins/common
Don't make adding extra libs defined in 'libs => foo' depend
on 'optional => 1'.
2013-10-19 18:30:29 +02:00
Michael Natterer 41c92af49b app: add gimp_gegl_node_set_color() and use it in GimpChannel 2013-10-19 17:31:56 +02:00
Michael Natterer e0c64a817d Bug 701232 - Painting tools still slow when used in Quick Mask mode
Set the format of GimpChannel's gegl:color node depending on whether
the buffer is linear or gamma-corrected.
2013-10-18 01:01:26 +02:00
Michael Henning 33d840346a build/win: Upgrade atk to 2.10.0 2013-10-16 20:07:34 -04:00
Michael Natterer a80146c84b plug-ins: follow policy and only include <libgimp/gimp.h> in help 2013-10-15 22:41:45 +02:00
Jehan fe481275e2 Bug 675554 - fix overriden language environment variables on Windows.
If any of the locale environment variables used for UI language is set
(LANGUAGE, LC_ALL, LC_MESSAGES and LANG), do not let Windows' default UI
language override these.
Language set in GIMP preferences still have higher priority.
2013-10-16 00:33:17 +13:00
Michael Natterer 697572ccc0 app,libgimp*: fix includes to follow our include policy
- don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
- instead, include it in many .c files instead of <glib-object.h>,
  finally acknowledging the fact that app/ depends on gdk-pixbuf almost
  globally
- fix up includes as if libgimpbase depended in GIO, which it soon will
2013-10-15 01:58:39 +02:00
Michael Henning 22b6cb4833 build/win: Upgrade gtk2 to 2.24.22 2013-10-14 11:03:28 -04:00
Michael Henning 7e2c50d370 build/win: Upgrade glib2 to 2.38.0 2013-10-13 11:11:49 -04:00
Jehan f4d676c8bb tests: sessionrc-expected* updated with new (tabs-position) settings.
3 tests were failing on a `make distcheck` because of this.
2013-10-13 22:22:21 +13:00
Michael Natterer f473653889 libgimpbase: add gimp_unit_is_metric()
which currently returns TRUE if the unit has a factor that matches mm,
cm, dm or m. Incomplete, but at least now extendable in one place,
just need to use the new function everywhere.
2013-10-12 18:54:34 +02:00
Michael Natterer 54ead10b57 plug-ins: simplify the file-jpeg file size displaying code
and display errors returned by g_file_query_info().
2013-10-12 18:53:03 +02:00
Michael Natterer 96f5254324 Bug 709398 - All layer compositing treated as "Normal" on load or undo
gimp_filter_stack_reorder(): really fix setting of "is-last-node".
2013-10-12 00:07:53 +02:00
Michael Natterer 72227435d5 app: use "on the $side" not "to the $side" in the tab position actions 2013-10-11 23:54:29 +02:00
Michael Natterer 47ec9e2e1a app: handle an index of -1 generically in GimpContainer::reorder()
by turning the -1 into n_children - 1 directly in gimp_container_reorder()
instead of having all subclasses deal with the -1 separately. Remove -1
handling from gimp_list_reorder().

Also, optimize reordering to the same index away without increasing
the function's cost (it was doing a gimp_container_have() before, now
it doees gimp_container_get_child_index(), which both have the same
cost).
2013-10-11 23:09:30 +02:00
Michael Natterer 5466caa064 libgimpwidgets: return an opaque color from gimp_pick_button_pick()'s OSX code
and fiddle with whitespace a bit.
2013-10-11 22:52:38 +02:00
Daniel Sabo e6ed0a4c50 Use the Quartz core graphics API to implement gimp_pick_button_pick when building with GDK Quartz.
Signed-off-by: Clayton Walker <clayton.m.walker@gmail.com>
2013-10-11 13:57:49 -06:00
Jehan c15f9799c1 app: tabs position saved in sessionrc and only 1 HELP-ID is enough.
The settings was saved both in sessionrc and gimprc!
2013-10-12 04:30:30 +13:00
Jehan b2e40c4ca7 Bug 667169 - Single window mode: allow tabs position setting. 2013-10-11 23:16:29 +13:00
Jehan 6ee77e5635 Bug 709878 - test-session-* skipped when xvfb-run is unavailable.
Also add a GIMP_EXIT_TEST_SKIPPED #define, to return the SKIP exit value
documented by automake.
2013-10-11 21:57:42 +13:00
Téo Mazars f3d40dceec plug-ins,pdb: Add a compatibility wrapper for lens-distortion
... and remove the old plug-in
2013-10-11 08:48:09 +02:00
Téo Mazars 786b21ee10 app,pdb: Sort compatibility wrappers in alphabetical order 2013-10-11 08:03:51 +02:00
Alexandre Prokoudine 7be0e1c747 Fix syntaxis in user-visible messages
Phrases starting with "When enabled" should have a comma.
2013-10-11 06:32:04 +04:00
Michael Natterer 3617e4fde9 app: port all URI comparisons in test-save-and-export.c to g_file_equal()
so they keep succeeding when code gets ported to GFile/GIO which
canonicalizes URIs.
2013-10-09 21:35:23 +02:00
Daniel Sabo afa4bf48aa Update authors.xml
Add myself and teo.
2013-10-09 01:33:06 -07:00
Michael Natterer cd7322fd87 app: port XCF loading/saving to GIO
but for now restrict it to local files (see bug #709432).
Thanks to Jehan and Sven for testing.
2013-10-08 21:22:14 +02:00
Michael Henning fdc5dc3132 build/win: Upgrade libpng to 1.6.6 2013-10-06 16:33:38 -04:00
Jehan 008a40b877 pdbgen: fix trailing whitespaces in generated C doc in empty lines. 2013-10-05 19:48:39 +13:00
Michael Natterer 1f21a28770 Bug 703065 - Jpeg file size preview error is back
Use GIO to get the file size.
2013-10-05 00:14:14 +02:00
Michael Natterer 7de6bb8173 plug-ins: fix progress fractions in file-pat-save 2013-10-04 18:36:27 +02:00
Jehan 1351226c80 pdb: gimp-image-new's doc updated.
Add the precision that indexed images must be set a colormap after
creation, otherwise colors won't be right.
2013-10-05 01:47:05 +13:00
Michael Natterer 7e536e4465 app: remove unused variables and some cleanup in sanity_check_gegl_ops() 2013-10-04 14:43:18 +02:00
Jehan e78c3bf3da plug-ins: the frame image in animation-play is always in RGB.
We don't care what the original image type is, because non-RGB images
(in particular indexed ones) render very badly.
gimp_layer_new_from_drawable() will automatically convert the original
layer's type to the destination image's type (RGB) while copying.
2013-10-04 23:53:03 +13:00
Jehan 7b638d72f6 plug-ins: animation-play gets the image palette for no reason. 2013-10-04 21:33:18 +13:00
Michael Natterer 01db58f6d0 plug-ins: cleanup in file-pnm 2013-10-03 22:06:24 +02:00
Michael Natterer aa7e9edc36 plug-ins: port file-p*m-save to GIO 2013-10-03 21:44:24 +02:00