- 更新日時:
- 2008/08/09 01:28:26 (4 年 前)
- パス:
- trunk
- ファイル:
-
- 11 変更
- 2 コピー
-
chrome.manifest (変更) (1 diff)
-
chrome/content/about.xul (変更) (1 diff)
-
chrome/content/osy_hatyunemiku.gif (コピー) (コピー元: tags/0.1pre3/chrome/content/osy_hatyunemiku.gif)
-
chrome/content/osy_hatyunemiku.png (コピー) (コピー元: tags/0.1pre3/chrome/content/osy_hatyunemiku.png)
-
chrome/content/overlay.css (変更) (2 diff)
-
chrome/content/update.js (変更) (7 diff)
-
chrome/content/vocalofx.js (変更) (4 diff)
-
chrome/locale/en-US/vocalofx.dtd (変更) (1 diff)
-
chrome/locale/en-US/vocalofx.properties (変更) (1 diff)
-
chrome/locale/ja/vocalofx.dtd (変更) (1 diff)
-
chrome/locale/ja/vocalofx.properties (変更) (1 diff)
-
defaults/preferences/vocalofx.js (変更) (1 diff)
-
install.rdf (変更) (1 diff)
凡例:
- 変更なし
- 追加
- 削除
-
trunk/chrome.manifest
r2 r10 9 9 override chrome://branding/content/icon48.png chrome://vocalofx/content/Firemiku_icon48.png 10 10 override chrome://branding/content/icon64.png chrome://vocalofx/content/Firemiku_icon64.png 11 override chrome://browser/skin/Throbber-small.png chrome://vocalofx/content/osy_hatyunemiku.png 12 override chrome://global/skin/throbber/Throbber-small.gif chrome://vocalofx/content/osy_hatyunemiku.gif 13 override chrome://global/skin/icons/notloading_16.png chrome://vocalofx/content/osy_hatyunemiku.png 14 override chrome://global/skin/icons/loading_16.gif chrome://vocalofx/content/osy_hatyunemiku.gif 15 override chrome://global/skin/icons/loading_16_grey.gif chrome://vocalofx/content/osy_hatyunemiku.gif -
trunk/chrome/content/about.xul
r7 r10 55 55 </hbox> 56 56 <hbox id="creatorBox" class="indent"> 57 <label id="extensionCreator" flex="1" crop="right" value="&vocalofx.creator.osayo.name;"/> 58 <label id="extensionHomepage" onclick="loadHomepage(event);" 59 class="text-link" value="&homepage.label;" 60 homepageURL="&vocalofx.creator.osayo.homepage;" 61 tooltiptext="&vocalofx.creator.osayo.homepage;"/> 62 </hbox> 63 <hbox id="creatorBox" class="indent"> 57 64 <label id="extensionCreator" flex="1" crop="right" value="&vocalofx.creator.yuki.name;"/> 58 65 <label id="extensionHomepage" onclick="loadHomepage(event);" -
trunk/chrome/content/overlay.css
r7 r10 43 43 } 44 44 45 #navigator-throbber[busy="true"] 46 { 47 opacity: 1 !important; 48 } 49 45 50 #main-window 46 51 , #main-window toolbarbutton … … 50 55 , #history-panel #viewButton 51 56 , #urlbar, .searchbar-textbox 57 , .tabbrowser-tabs 52 58 , .tabbrowser-strip 53 59 { -
trunk/chrome/content/update.js
r7 r10 4 4 em: null, 5 5 addon: null, 6 appinfo: null, 7 macskin: null, 6 8 brand: null, 7 9 vocalofx_properties: null, … … 10 12 skinAlert_timeoutID: null, 11 13 macAlert_timeoutID: null, 14 15 /* 0.1pre3 16 user_pref("extensions.vocalofx.skin_category", "miku"); 17 user_pref("extensions.vocalofx.skin_image", "chrome://vocalofx/content/skin/nagamon_miku.png"); 18 user_pref("extensions.vocalofx.skin_pallet", "miku"); 19 user_pref("extensions.vocalofx.skin_pallet.miku", "miku"); 20 user_pref("extensions.vocalofx.skin_pallet_alert", false); 21 user_pref("extensions.vocalofx.skin_position", "160,2"); 22 user_pref("extensions.vocalofx.tool.position.fullmiku", "1033,272"); 23 user_pref("extensions.vocalofx.tool.startup.fullmiku", true); 24 user_pref("extensions.vocalofx.version", "0.1pre3"); 25 */ 26 initVocalofxPref: function(){ 27 var image_id = vocalofx.DEFAULT_SKIN; 28 var position = skin_properties.getString(image_id + ".position"); 29 pref.setCharPref(vocalofx.SKIN_PROPERTY_IMAGE, vocalofx.CHROME_SKIN + image_id + ".png"); 30 pref.setCharPref(vocalofx.SKIN_PROPERTY_POSITION, position); 31 32 var pallet = vocalofx.DEFAULT_PALLET; 33 var category = pallet; 34 pref.setCharPref(vocalofx.SKIN_PROPERTY_CATEGORY, category); 35 pref.setCharPref(vocalofx.SKIN_PROPERTY_PALLET + "." + category, pallet); 36 pref.setCharPref(vocalofx.SKIN_PROPERTY_PALLET, pallet); 37 }, 12 38 13 39 /* 0.1pre2 … … 29 55 user_pref("extensions.vocalofx.tool.startup.fullmiku", false); 30 56 */ 31 32 57 update_0_1pre: function(){ 33 58 try{ … … 62 87 pref = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); 63 88 em = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager); 89 appinfo = Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULAppInfo); 64 90 addon = em.getItemForID("vocalofx@rayflood.org"); 91 macskin = em.getItemForID("vocalofx-macskin@rayflood.org"); 65 92 brand = document.getElementById("bundle_brand"); 66 93 vocalofx_properties = document.getElementById("vocalofx-properties"); … … 73 100 } 74 101 catch(e){ 75 // nop 102 try{ 103 pref.getCharPref(vocalofx.SKIN_PROPERTY_CATEGORY); 104 } 105 catch(e){ 106 version = "init"; 107 } 76 108 } 77 109 … … 81 113 } 82 114 83 var macskin = em.getItemForID("vocalofx-macskin@rayflood.org");84 if(!macskin.version && navigator.platform.match(/^Mac/)){115 if(navigator.platform.match(/^Mac/) && appinfo.platformVersion.match(/^1.8.1/) 116 && (macskin == null || !macskin.version)){ 85 117 macAlert_timeoutID = window.setTimeout("update.macAlert();", 1000); 86 118 } … … 91 123 92 124 pref.setCharPref(this.VOCALOFX_PROPERTY_VERSION, addon.version); 93 if(version == "0.1pre"){ 125 if(version == "init"){ 126 this.initVocalofxPref(); 127 } 128 else if(version == "0.1pre"){ 94 129 this.update_0_1pre(); 95 130 } -
trunk/chrome/content/vocalofx.js
r7 r10 4 4 SKIN_PROPERTY_POSITION: "extensions.vocalofx.skin_position", 5 5 SKIN_PROPERTY_PALLET: "extensions.vocalofx.skin_pallet", 6 SKIN_PROPERTY_PALLET_ALERT: "extensions.vocalofx.skin_pallet_alert", 6 7 SKIN_PROPERTY_CATEGORY: "extensions.vocalofx.skin_category", 7 8 TOOL_PROPERTY_POSITION: "extensions.vocalofx.tool.position", … … 17 18 DEFAULT_PALLET: "miku", 18 19 pref: null, 20 brand: null, 19 21 main_window: null, 20 22 sidebar: null, … … 62 64 pref.setCharPref(this.SKIN_PROPERTY_PALLET + "." + category, pallet); 63 65 pref.setCharPref(this.SKIN_PROPERTY_PALLET, pallet); 66 67 if(pref.getBoolPref(this.SKIN_PROPERTY_PALLET_ALERT)){ 68 if(window.confirm(vocalofx_properties.getFormattedString("vocalofx.palletAlert", [brand.getString("brandShortName")]))){ 69 pref.setBoolPref(this.SKIN_PROPERTY_PALLET_ALERT, false); 70 } 71 } 64 72 }, 65 73 … … 228 236 229 237 pref = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); 238 brand = document.getElementById("bundle_brand"); 230 239 main_window = document.getElementById("main-window"); 231 240 sidebar = document.getElementById("sidebar"); -
trunk/chrome/locale/en-US/vocalofx.dtd
r7 r10 18 18 <!ENTITY vocalofx.creator.tomoyoshi.name "tomoyoshi"> 19 19 <!ENTITY vocalofx.creator.tomoyoshi.homepage "http://piapro.jp/tomoyoshi_ohta"> 20 <!ENTITY vocalofx.creator.osayo.name "osayo"> 21 <!ENTITY vocalofx.creator.osayo.homepage "http://www.din.or.jp/~osayo/"> 20 22 <!ENTITY vocalofx.creator.yuki.name "yuki"> 21 23 <!ENTITY vocalofx.creator.yuki.homepage "http://rayflood.org/archive/"> -
trunk/chrome/locale/en-US/vocalofx.properties
r7 r10 3 3 vocalofx.skinAlert=%S default theme is not selected.\nMaybe %S skin don't work. 4 4 vocalofx.macAlert=On MacOS X, Please Install\nVocaloFx Option Pack for MacOS X. 5 vocalofx.palletAlert=Pallet changes incompletely. Please restart %S.\nTo don't this message. Click OK. 5 6 vocalofx.skin.sanari_miku=saNari 6 7 vocalofx.skin.hachune_miku=tamago -
trunk/chrome/locale/ja/vocalofx.dtd
r7 r10 18 18 <!ENTITY vocalofx.creator.tomoyoshi.name "ともよしさん"> 19 19 <!ENTITY vocalofx.creator.tomoyoshi.homepage "http://piapro.jp/tomoyoshi_ohta"> 20 <!ENTITY vocalofx.creator.osayo.name "¢お小夜さん"> 21 <!ENTITY vocalofx.creator.osayo.homepage "http://www.din.or.jp/~osayo/"> 20 22 <!ENTITY vocalofx.creator.yuki.name "祐希"> 21 23 <!ENTITY vocalofx.creator.yuki.homepage "http://rayflood.org/archive/"> -
trunk/chrome/locale/ja/vocalofx.properties
r7 r10 3 3 vocalofx.skinAlert=%Sデフォルト以外のテーマが選択されています。\n%Sのスキンが正しく表示されないかもしれません。 4 4 vocalofx.macAlert=MacOS X環境でご使用の場合は、\nぼかろFx MacOS Xオプションパックを\nインストールしてください。 5 vocalofx.palletAlert=配色が切り替わってない部分がある場合は%Sを再起動してください。\n以降このメッセージを出さない場合はOKを押してください。 5 6 vocalofx.skin.sanari_miku=さなり 6 7 vocalofx.skin.hachune_miku=たまご -
trunk/defaults/preferences/vocalofx.js
r2 r10 1 1 pref("extensions.vocalofx@rayflood.org.name", "chrome://vocalofx/locale/vocalofx.properties"); 2 2 pref("extensions.vocalofx@rayflood.org.description", "chrome://vocalofx/locale/vocalofx.properties"); 3 pref("extensions.vocalofx.skin_pallet_alert", true); -
trunk/install.rdf
r7 r10 3 3 <Description about="urn:mozilla:install-manifest"> 4 4 <em:id>vocalofx@rayflood.org</em:id> 5 <em:version>0.1pre 2</em:version>5 <em:version>0.1pre3</em:version> 6 6 <em:type>2</em:type> 7 7
