チェンジセット 10 : trunk

差分発生行の前後
無視リスト:
更新日時:
2008/08/09 01:28:26 (4 年 前)
更新者:
h
ログメッセージ:

0.1pre3をマージ

パス:
trunk
ファイル:
11 変更
2 コピー

凡例:

変更なし
追加
削除
  • trunk/chrome.manifest

    r2 r10  
    99override chrome://branding/content/icon48.png chrome://vocalofx/content/Firemiku_icon48.png 
    1010override chrome://branding/content/icon64.png chrome://vocalofx/content/Firemiku_icon64.png 
     11override chrome://browser/skin/Throbber-small.png chrome://vocalofx/content/osy_hatyunemiku.png 
     12override chrome://global/skin/throbber/Throbber-small.gif chrome://vocalofx/content/osy_hatyunemiku.gif 
     13override chrome://global/skin/icons/notloading_16.png chrome://vocalofx/content/osy_hatyunemiku.png 
     14override chrome://global/skin/icons/loading_16.gif chrome://vocalofx/content/osy_hatyunemiku.gif 
     15override chrome://global/skin/icons/loading_16_grey.gif chrome://vocalofx/content/osy_hatyunemiku.gif 
  • trunk/chrome/content/about.xul

    r7 r10  
    5555                </hbox> 
    5656                <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"> 
    5764                        <label id="extensionCreator" flex="1" crop="right" value="&vocalofx.creator.yuki.name;"/> 
    5865                        <label id="extensionHomepage" onclick="loadHomepage(event);" 
  • trunk/chrome/content/overlay.css

    r7 r10  
    4343} 
    4444 
     45#navigator-throbber[busy="true"] 
     46{ 
     47        opacity: 1 !important; 
     48} 
     49 
    4550#main-window 
    4651, #main-window toolbarbutton 
     
    5055, #history-panel #viewButton 
    5156, #urlbar, .searchbar-textbox 
     57, .tabbrowser-tabs 
    5258, .tabbrowser-strip 
    5359{ 
  • trunk/chrome/content/update.js

    r7 r10  
    44        em: null, 
    55        addon: null, 
     6        appinfo: null, 
     7        macskin: null, 
    68        brand: null, 
    79        vocalofx_properties: null, 
     
    1012        skinAlert_timeoutID: null, 
    1113        macAlert_timeoutID: null, 
     14 
     15/* 0.1pre3 
     16user_pref("extensions.vocalofx.skin_category", "miku"); 
     17user_pref("extensions.vocalofx.skin_image", "chrome://vocalofx/content/skin/nagamon_miku.png"); 
     18user_pref("extensions.vocalofx.skin_pallet", "miku"); 
     19user_pref("extensions.vocalofx.skin_pallet.miku", "miku"); 
     20user_pref("extensions.vocalofx.skin_pallet_alert", false); 
     21user_pref("extensions.vocalofx.skin_position", "160,2"); 
     22user_pref("extensions.vocalofx.tool.position.fullmiku", "1033,272"); 
     23user_pref("extensions.vocalofx.tool.startup.fullmiku", true); 
     24user_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        }, 
    1238 
    1339/* 0.1pre2 
     
    2955user_pref("extensions.vocalofx.tool.startup.fullmiku", false); 
    3056*/ 
    31  
    3257        update_0_1pre: function(){ 
    3358                try{ 
     
    6287                pref = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); 
    6388                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); 
    6490                addon = em.getItemForID("vocalofx@rayflood.org"); 
     91                macskin = em.getItemForID("vocalofx-macskin@rayflood.org"); 
    6592                brand = document.getElementById("bundle_brand"); 
    6693                vocalofx_properties = document.getElementById("vocalofx-properties"); 
     
    73100                } 
    74101                catch(e){ 
    75                         // nop 
     102                        try{ 
     103                                pref.getCharPref(vocalofx.SKIN_PROPERTY_CATEGORY); 
     104                        } 
     105                        catch(e){ 
     106                                version = "init"; 
     107                        } 
    76108                } 
    77109 
     
    81113                } 
    82114 
    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)){ 
    85117                        macAlert_timeoutID = window.setTimeout("update.macAlert();", 1000); 
    86118                } 
     
    91123 
    92124                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"){ 
    94129                        this.update_0_1pre(); 
    95130                } 
  • trunk/chrome/content/vocalofx.js

    r7 r10  
    44        SKIN_PROPERTY_POSITION: "extensions.vocalofx.skin_position", 
    55        SKIN_PROPERTY_PALLET: "extensions.vocalofx.skin_pallet", 
     6        SKIN_PROPERTY_PALLET_ALERT: "extensions.vocalofx.skin_pallet_alert", 
    67        SKIN_PROPERTY_CATEGORY: "extensions.vocalofx.skin_category", 
    78        TOOL_PROPERTY_POSITION: "extensions.vocalofx.tool.position", 
     
    1718        DEFAULT_PALLET: "miku", 
    1819        pref: null, 
     20        brand: null, 
    1921        main_window: null, 
    2022        sidebar: null, 
     
    6264                pref.setCharPref(this.SKIN_PROPERTY_PALLET + "." + category, pallet); 
    6365                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                } 
    6472        }, 
    6573 
     
    228236 
    229237                pref = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); 
     238                brand = document.getElementById("bundle_brand"); 
    230239                main_window = document.getElementById("main-window"); 
    231240                sidebar = document.getElementById("sidebar"); 
  • trunk/chrome/locale/en-US/vocalofx.dtd

    r7 r10  
    1818<!ENTITY vocalofx.creator.tomoyoshi.name "tomoyoshi"> 
    1919<!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/"> 
    2022<!ENTITY vocalofx.creator.yuki.name "yuki"> 
    2123<!ENTITY vocalofx.creator.yuki.homepage "http://rayflood.org/archive/"> 
  • trunk/chrome/locale/en-US/vocalofx.properties

    r7 r10  
    33vocalofx.skinAlert=%S default theme is not selected.\nMaybe %S skin don't work. 
    44vocalofx.macAlert=On MacOS X, Please Install\nVocaloFx Option Pack for MacOS X. 
     5vocalofx.palletAlert=Pallet changes incompletely. Please restart %S.\nTo don't this message. Click OK. 
    56vocalofx.skin.sanari_miku=saNari 
    67vocalofx.skin.hachune_miku=tamago 
  • trunk/chrome/locale/ja/vocalofx.dtd

    r7 r10  
    1818<!ENTITY vocalofx.creator.tomoyoshi.name "ともよしさん"> 
    1919<!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/"> 
    2022<!ENTITY vocalofx.creator.yuki.name "祐希"> 
    2123<!ENTITY vocalofx.creator.yuki.homepage "http://rayflood.org/archive/"> 
  • trunk/chrome/locale/ja/vocalofx.properties

    r7 r10  
    33vocalofx.skinAlert=%Sデフォルト以外のテーマが選択されています。\n%Sのスキンが正しく表示されないかもしれません。 
    44vocalofx.macAlert=MacOS X環境でご使用の場合は、\nぼかろFx MacOS Xオプションパックを\nインストールしてください。 
     5vocalofx.palletAlert=配色が切り替わってない部分がある場合は%Sを再起動してください。\n以降このメッセージを出さない場合はOKを押してください。 
    56vocalofx.skin.sanari_miku=さなり 
    67vocalofx.skin.hachune_miku=たまご 
  • trunk/defaults/preferences/vocalofx.js

    r2 r10  
    11pref("extensions.vocalofx@rayflood.org.name", "chrome://vocalofx/locale/vocalofx.properties"); 
    22pref("extensions.vocalofx@rayflood.org.description", "chrome://vocalofx/locale/vocalofx.properties"); 
     3pref("extensions.vocalofx.skin_pallet_alert", true); 
  • trunk/install.rdf

    r7 r10  
    33        <Description about="urn:mozilla:install-manifest"> 
    44                <em:id>vocalofx@rayflood.org</em:id> 
    5                 <em:version>0.1pre2</em:version> 
     5                <em:version>0.1pre3</em:version> 
    66                <em:type>2</em:type> 
    77