Commit Graph

113 Commits

Author SHA1 Message Date
Alexandre Prokoudine fbf0d33323 Mark user-visible messages for translation 2017-09-28 03:59:44 +03:00
Jehan ad4564e527 plug-ins: do not use stock IDs.
They are to be deprecated in future GTK+ and we don't use them anymore
anywhere else in our code.
See also commit 7da7bab0.
2017-08-23 21:47:14 +02:00
Ell 497fb9b0c3 plug-ins: in metedata-editor.c, don't use initial declarations
... in for loops
2017-08-21 11:41:33 -04:00
Ben Touchette 97c9a99339 Regression fix for metadata viewer allows to view all tags.
Partially revert commit 8c2ca36ac7, so
that unlabeled tags are not hidden.
2017-08-05 09:14:59 -04:00
draekko 619a05a688 Bug 785265 - Patch for localization for combotext in metadata editor
Mark string constants in arrays with N_() and call gettext() on them.
2017-07-24 12:28:02 +02:00
Michael Natterer d315cc1034 Bug 761170 - Warnings building with clang
Fix clang warnings along with some other minor stuff, no logic changes.
2017-07-14 12:26:10 +02:00
Michael Natterer 8de3e69e88 plug-ins: fix a tab in metadata/Makefile.am 2017-07-09 16:30:36 +02:00
draekko 84b099342c Bug 784700 - Bug fix for crash with metadata editor when some fields are empty 2017-07-08 19:55:43 +02:00
Ell 8c2ca36ac7 Bug 769112 - The metadata windows takes a lot of CPU.
The new metadata viewer is based on a version of the old metadata
plugin that still contained this bug, and a few other bugs that've
been fixed since then.  Reapply those fixes to the new plugin.

This is essentially an adaptation of commits
f8e291bf31,
ce9e7feabd,
38c79600f1,
and 801bd8fb3f.
2017-07-08 08:55:02 -04:00
Michael Natterer 5ff921853a plug-ins: add all metadata sources to SOURCES 2017-07-08 09:47:35 +02:00
Michael Natterer a5fe6b8372 Clean up metadata menu stuff: capitalization, separator, indentation 2017-07-08 09:39:31 +02:00
Michael Natterer 6b80104aeb plug-ins: factor out set_tag_string() utility in metadata-exitor.c 2017-07-08 09:29:04 +02:00
Alexandre Prokoudine c68239e937 Make new Metadata submenu and new dialogs' captions translatable.
Adjust the tooltip for the Edit Metadata menu item.
2017-07-08 03:16:41 +03:00
Michael Natterer 486e0f3d88 plug-ins: lots and lots of cleanup in metadata/ 2017-07-07 23:54:25 +02:00
Michael Natterer a10b07e398 plug-ins: fix some warnings in metadata/ 2017-07-07 19:14:47 +02:00
Ben Touchette dc9856cfe1 Bug 769820 - Cannot enter Iptc information when no metadata is available...
...and fails to write it to file when it is

Completely redo metadata editor and viewer code, adds support for
Xmp.xmpMM.History and more.
2017-07-07 18:11:39 +02:00
Michael Natterer ce2822d58f plug-ins: remove the old metadata plug-in 2013-10-27 01:15:37 +02:00
Michael Natterer ec786816bb */Makefile.am: merge INCLUDES into AM_CPPFLAGS
automake-1.13 finally warns about this anachronism.
2013-06-05 20:48:37 +02:00
Michael Natterer 66ff5dd70b Remove all calls to g_type_init(), it's deprecated
The type system is initialized automatically now.
2013-05-25 22:44:20 +02:00
Ville Skyttä 6b0d1038cc Bug 692641 - Various spelling fixes 2013-01-27 18:59:02 +01:00
Michael Natterer 95d7edf72b Bug 675069 - "Value" in po-plug-ins/ja.po is conflicted
Add a translation context to "Value" in the metadata plug-in.
2013-01-19 22:48:31 +01:00
Michael Natterer 2eae4c42e8 metadata: indentation in interface.c 2013-01-19 22:46:14 +01:00
Michael Natterer 908f727f0a Chain up unconditionally in GObject::constructed()
It's supported since GLib 2.28.
2012-11-12 21:51:22 +01:00
Kevin Cozens a2e037fb00 Corrected spelling errors spotted by Ari Pollak (Mostly fixes bug #683694)
Still need to address the "allows to" grammatical error.
2012-09-10 12:22:12 -04:00
Michael Natterer aecef113ab Bug 655684 - After saving an image with geotags you cannot...
Apply patch from Hartmut Kuhse which fixes encoding of
XMP_TYPE_GPS_COORDINATE.
2012-09-09 00:54:49 +02:00
Michael Natterer c207e395fd Bug 680432 - metadata.exe keeps dying
Based on a patch by Hartmut Kuhse, run all strings through
gimp_any_to_utf8() which always returns something that's UTF-8, even
if it's only "(invalid UTF-8 String)". Better than crashing.
2012-07-31 15:14:20 +02:00
Mikael Magnusson a4cd8637af metadata: fix length passed to base64 decoder 2012-06-13 02:12:27 +02:00
Øyvind Kolås d1ced11415 plug-ins: add GEGL_CFLAGS to many Makefile.am's 2012-05-02 17:46:08 +02:00
Mukund Sivaraman 018cdc7a99 metadata: Change sign of data type 2011-10-27 14:46:46 +05:30
Mukund Sivaraman 7ebcf3f755 metadata: Use glib base64 decoder instead of local copy 2011-10-06 20:22:27 +05:30
Mukund Sivaraman b3337ee865 metadata: Delete dead assignment and move variable to local block 2011-10-06 19:24:56 +05:30
Mukund Sivaraman ea12d8da4d metadata: Remove ns_prefix decl (it is conditionally used) 2011-10-03 12:55:10 +05:30
Michael Natterer 8c4d99f883 Bug 645456 - Inconsistent window (role) naming scheme
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
2011-04-08 20:31:34 +02:00
Mukund Sivaraman 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
Michael Natterer 87646e9ace libgimp: deprecate and rename the image parasite functions
in exactly the way the drawable functios were turned into item ones.
2011-03-08 13:19:21 +01:00
Michael Natterer 0a1a2915d0 plug-ins: implement GObject::constructed() instead of ::constructor() 2011-01-14 09:38:46 +01:00
Michael Schumacher e77dd90fc0 Bug 574018 - Add a manifest to executables
Created a resource file for plug-ins and a rule to link it to them.
The application icon file is smaller than the default one, there's no
point in doubling the size of a plug-in executable just for an icon.

If no problems turn up, this will close the bug.
2010-09-01 08:24:45 +02:00
Roman Joost a4ccfcee72 Default XMP_TYPE_LANG_ALT to "x-default" according to spec.
To prevent a crash of the meta-data plug-in during export, the encoding
process now falls back to x-default for XMP_TYPE_LANG_ALT properties.
2010-05-24 21:44:51 +10:00
Roman Joost 45a8d2c63c Make use of the XMPModel widget interface.
The GtkEntry is re-factored to use the XMPModel based interface.
2010-05-14 18:11:53 +10:00
Roman Joost b124fe6de6 New GtkTextView widget based on the XMPModel widget.
The new widget provides editing capabilities for the description and
keywords. It uses the new interface for XMPModel widgets.
2010-05-14 18:11:53 +10:00
Roman Joost c628c1e949 New interface for XMPModel-based gtkwidgets.
The new interface provides a common set of methods used by other gtk
widgets (e.g. GtkEntry). This interface is bound to the XMPModel
allowing writing/reading to and from the XMPModel utilised by the
widgets.
2010-05-14 18:11:53 +10:00
Sven Neumann f0348aff40 some minor code cleanups 2009-12-27 13:28:14 +01:00
Roman Joost 3749f2c62c Revamped the GimpXmpModelEntry object initialisation.
It is now possible to create an entry widget by using g_object_new and
provide three parameters: the schema_uri, the property name you want to
subscribe and an instance of an xmp-model.
2009-12-27 10:03:30 +01:00
Roman Joost 1c8255de59 Code cleanup.
I changed the name of the GimpXMPModelEntry, which reads now better as
GimpXmpModelEntry. I removed functions in the interface, which are not
in use anymore, because of the code improvements in the entry widget and
the XMPModel. The new entry widget is not build as a library anymore.
2009-12-27 10:03:28 +01:00
Roman Joost 9578088ce8 Set the correct icons if the entry changed a property in the XMPModel and use the new EntryWidget for the caption writer as well. 2009-12-27 10:03:26 +01:00
Roman Joost 3705c85e1e Implemented better signal handling for property-changed events.
The XMPModel listens now on the row-changed event and checks if the row
belong to a property or schema change. If a property change occured a
detailed property-changed signal is emitted. A detailed schema-changed
signal is currently not emitted, because not implemented.
2009-12-27 10:03:23 +01:00
Roman Joost a13e4692fb Registered new GimpXMPModelEntry, connected it with the XMPModel.
The new entry widget now makes use of the detailed signal from the
XMPModel.
2009-12-27 10:03:19 +01:00
Manish Singh 15497c1d68 Explicit shared lib deps to support gold 2009-09-09 17:41:20 -07:00
Sven Neumann a22d72971a Bug 593485 - the metadata plugin crashes
Remove xmp_model_free() and instead do the work in the GObject:finalize
method. Call g_object_unref() where xmp_model_free() used to be used.
2009-09-01 09:40:41 +02:00
Sven Neumann e032ad3b8e metadata: formatting 2009-08-16 12:06:54 +02:00