Skip to content

Commit

Permalink
Item13535: add mappings for weba, webm, webp
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Jul 17, 2015
1 parent 97998a8 commit 02ba8cc
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 11 deletions.
9 changes: 9 additions & 0 deletions .gitignore
@@ -0,0 +1,9 @@
*.swp
*.gz
MimeIconPlugin.md5
MimeIconPlugin.sha1
MimeIconPlugin.tgz
MimeIconPlugin.txt
MimeIconPlugin.zip
MimeIconPlugin_installer
MimeIconPlugin_installer.pl
15 changes: 8 additions & 7 deletions data/System/MimeIconPlugin.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="micha" comment="reprev" date="1369210565" format="1.1" reprev="3" version="3"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437155075" format="1.1" version="1"}%
---+!! %TOPIC%
%SHORTDESCRIPTION%

Expand Down Expand Up @@ -56,17 +56,18 @@ file extension is totally unknown.
<!--
* Set SHORTDESCRIPTION = Icon sets for mimetypes
-->
| Author(s): | Michael Daum|
| Copyright: | &copy; 2010-2013 Michael Daum http://michaeldaumconsulting.com |
| Author(s): | Michael Daum |
| Copyright: | &copy; 2010-2015 Michael Daum http://michaeldaumconsulting.com |
| License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]] |
| Release: | %$RELEASE% |
| Version: | %$VERSION% |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 2013-05-22: | (1.20) only ship icons covered by a mapping |
| 2011-11-16: | (1.10) fixed mapping in oxygen icon set; fix to make sure the icon mapping is read in properly |
| 17 Jul 2015: | (1.30) added support for google file formats webp, weba, webm |
| 22 May 2013: | (1.20) only ship icons covered by a mapping |
| 16 Dec 2011: | (1.10) fixed mapping in oxygen icon set; fix to make sure the icon mapping is read in properly |
| Dependencies: | %$DEPENDENCIES% |
| Home page: | Foswiki:Extensions/%TOPIC% |
| Support: | Foswiki:Support/%TOPIC% |

%META:FILEATTACHMENT{name="MimeIconPluginSnap2.png" attachment="MimeIconPluginSnap2.png" attr="" comment="" date="1369210411" size="41588" user="micha" version="1"}%
%META:FILEATTACHMENT{name="MimeIconPluginSnap1.png" attachment="MimeIconPluginSnap3.png" attr="" comment="" date="1369210410" moveby="micha" movedto="System.MimeIconPlugin.MimeIconPluginSnap1.png" movedwhen="1369210422" movefrom="System.MimeIconPlugin.MimeIconPluginSnap3.png" size="18836" user="micha" version="1"}%
%META:FILEATTACHMENT{name="MimeIconPluginSnap2.png" attachment="MimeIconPluginSnap2.png" attr="" comment="" date="1437155075" size="41588" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="MimeIconPluginSnap1.png" attachment="MimeIconPluginSnap3.png" attr="" comment="" date="1437155075" moveby="micha" movedto="System.MimeIconPlugin.MimeIconPluginSnap1.png" movedwhen="1369210422" movefrom="System.MimeIconPlugin.MimeIconPluginSnap3.png" size="18836" user="ProjectContributor" version="1"}%
2 changes: 1 addition & 1 deletion data/System/VarMIMEICON.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1290097184" format="1.1" reprev="1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437155075" format="1.1" version="1"}%
%META:TOPICPARENT{name="MimeIconPlugin"}%
#VarMIMEICON
---+++ MIMEICON{"filename"} -- return a meaningful icon for this filename
Expand Down
6 changes: 3 additions & 3 deletions lib/Foswiki/Plugins/MimeIconPlugin.pm
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
# MimeIconPlugin is Copyright (C) 2010-2013 Michael Daum http://michaeldaumconsulting.com
# MimeIconPlugin is Copyright (C) 2010-2015 Michael Daum http://michaeldaumconsulting.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand All @@ -26,8 +26,8 @@ use warnings;

use Foswiki::Func ();

our $VERSION = '1.20';
our $RELEASE = '1.20';
our $VERSION = '1.30';
our $RELEASE = '17 Jul 2015';
our $SHORTDESCRIPTION = 'Icon sets for mimetypes';
our $NO_PREFS_IN_TOPIC = 1;
our $baseWeb;
Expand Down
3 changes: 3 additions & 0 deletions pub/System/MimeIconPlugin/crystal/mapping.txt
Expand Up @@ -40,6 +40,7 @@ java=java_src.png
jpeg=images.png
jpe=images.png
jpg=images.png
webp=images.png
j=source_j.png
kar=midi.png
log=log.png
Expand All @@ -64,6 +65,7 @@ mpe=video.png
mpg=video.png
mpv2=video.png
mpv=video.png
webm=video.png
msc=misc.png
msg=message.png
news=news.png
Expand Down Expand Up @@ -123,6 +125,7 @@ vcard=vcard.png
vectorgfx=vectorgfx.png
vid=video.png
wav=sound.png
weba=sound.png
xcf=xcf.png
xla=spreadsheet_document.png
xlb=spreadsheet_document.png
Expand Down
3 changes: 3 additions & 0 deletions pub/System/MimeIconPlugin/oxygen/mapping.txt
Expand Up @@ -194,6 +194,7 @@ m4a=audio-x-generic.png
pls=audio-x-generic.png
sd2=audio-x-generic.png
wax=audio-x-generic.png
weba=audio-x-generic.png
wma=audio-x-generic.png
# =audio-x-monkey.png
spx=audio-x-speex+ogg.png
Expand Down Expand Up @@ -235,6 +236,7 @@ ras=image-x-generic.png
rgb=image-x-generic.png
tiff=image-x-generic.png
tif=image-x-generic.png
webp=image-x-generic.png
wbmp=image-x-generic.png
xbm=image-x-generic.png
xcf=image-x-generic.png
Expand Down Expand Up @@ -345,6 +347,7 @@ mpv=video-x-generic.png
mxu=video-x-generic.png
ogv=video-x-generic.png
qt=video-x-generic.png
webm=video-x-generic.png
wm=video-x-generic.png
wmv=video-x-generic.png
wmx=video-x-generic.png
Expand Down

0 comments on commit 02ba8cc

Please sign in to comment.