After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619920 - Add more Properties in ImageTag
Add more Properties in ImageTag
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: Metadata
GIT
Other All
: Normal normal
: 0.7.1
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks: 619921
 
 
Reported: 2010-05-28 09:13 UTC by Mike Gemünde
Modified: 2010-06-14 14:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
JpegComment need not to be terminated by 0 (1.30 KB, patch)
2010-05-28 09:14 UTC, Mike Gemünde
none Details | Review
JpegComment need not to be terminated by 0 (1.30 KB, patch)
2010-05-28 09:30 UTC, Mike Gemünde
committed Details | Review
Add some properties which are usefull for image tags (15.85 KB, patch)
2010-05-28 09:30 UTC, Mike Gemünde
committed Details | Review
Add more flexible PropertyModificationValidator (9.30 KB, patch)
2010-05-28 09:30 UTC, Mike Gemünde
committed Details | Review
Add Test to ensure that the ImageTag properties work correctly (6.80 KB, patch)
2010-05-28 09:30 UTC, Mike Gemünde
committed Details | Review
Add Function which ensures that all possible image tags for an image file are in place (1.30 KB, patch)
2010-05-28 09:30 UTC, Mike Gemünde
committed Details | Review
Remove CommentTest for jpeg test without metadata (1.27 KB, patch)
2010-05-28 09:30 UTC, Mike Gemünde
committed Details | Review

Description Mike Gemünde 2010-05-28 09:13:58 UTC
This patches introduces some properties for common used stuff in
ImageTag. Some others are reused from Audio/Video. Some implementations
for the existing tags are also provided.
Comment 1 Mike Gemünde 2010-05-28 09:14:01 UTC
Created attachment 162183 [details] [review]
JpegComment need not to be terminated by 0

Some programs set an jpeg comment which is not terminated by a 0. Therfore,
we cannot remove the last character in every case. Rather, check for
a terminated string.
Comment 2 Mike Gemünde 2010-05-28 09:30:08 UTC
Created attachment 162184 [details] [review]
JpegComment need not to be terminated by 0

Some programs set an jpeg comment which is not terminated by a 0. Therfore,
we cannot remove the last character in every case. Rather, check for
a terminated string.
Comment 3 Mike Gemünde 2010-05-28 09:30:13 UTC
Created attachment 162185 [details] [review]
Add some properties which are usefull for image tags

The property Creator is added to ImageTag. The properties
Copyright, Comment and Title are implemented in CombinedImageTag
to reuse them from Audio/Video.
Comment 4 Mike Gemünde 2010-05-28 09:30:25 UTC
Created attachment 162186 [details] [review]
Add more flexible PropertyModificationValidator

The new class PropertyModificationValidator allows to test modifications for
every property defined in ImageTag. This makes it more flexible to test them
all.
Comment 5 Mike Gemünde 2010-05-28 09:30:30 UTC
Created attachment 162187 [details] [review]
Add Test to ensure that the ImageTag properties work correctly
Comment 6 Mike Gemünde 2010-05-28 09:30:35 UTC
Created attachment 162188 [details] [review]
Add Function which ensures that all possible image tags for an image file are in place
Comment 7 Mike Gemünde 2010-05-28 09:30:40 UTC
Created attachment 162189 [details] [review]
Remove CommentTest for jpeg test without metadata

It does not make sense to have that test here, because a comment
cannot be added, when no tag is present. And it is against the current
taglib policy to add tags without a request from the user.
Comment 8 Ruben Vermeersch 2010-05-30 20:55:12 UTC
Attachment 162184 [details] pushed as 19d9b41 - JpegComment need not to be terminated by 0
Attachment 162185 [details] pushed as f952828 - Add some properties which are usefull for image tags
Attachment 162186 [details] pushed as 8e6071d - Add more flexible PropertyModificationValidator
Attachment 162187 [details] pushed as 3d56b3e - Add Test to ensure that the ImageTag properties work correctly
Attachment 162188 [details] pushed as 2906dac - Add Function which ensures that all possible image tags for an image file are in place
Attachment 162189 [details] pushed as 514d270 - Remove CommentTest for jpeg test without metadata


Great stuff, merged!