• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            我要啦免费统计
            webkit 移植要點

            As i write this blog the webkit is ported to at least 8 platforms like gtk,qt,mac,symbian,haiku,wince,android,efl and many more to come..

            If some one is new to webkit and wants to know where to start porting from I will try and put some basic guidelines to follow.
            First and foremost see if you have what is needed to port on your platform:
            i) Threading -> pthread equivalent API's if you want multi-threading (ENABLE_JSC_MULTIPLE_THREADS turn it OFF if you do not have one)
            ii) Timers -> any platform would have this so it should be fine
            iii) Drawing surface/Graphics Library
            iv) Way to integrate widgets with your drawing surface; put it another way how to provide input to your webpage. Gtk has clean way of doing this, can be followed
            v) Theme for widgets
            vi) Define API layer -> follow QT/GTK/MAC/Android port for defining one.
            vii) Porting JSCore by defining classes PageAllocation/Reservation
            viii) Some other classes/functions are needed like random number function, date etc;
            ix) I am keeping it very brief but you need a way to take care of plugins
            -) Plugin Creation
            -) Plugin Drawing Surface
            x) Networking component like curl,soup
            xi) Need to port the WebCoreSupport classes again follow GTK/QT port for ease
            xii) Image decoders
            After checking if you have got everything { only v) is not mandatory ix) is not mandatory if you do not want plugins}
            Now after getting the first step right second thing to do is getting your build set up:
            Start with javascriptcore, you need to build the source and generate derivedsources and see if you can get it built right. To do this you have to port some functions as I mentioned earlier.
            To test if you got the build right you can run the javscriptcore tests.
            Once this is done you can replicate the same for Webcore, you need to create the stub files/functions for port. Follow one port like GTK/QT for this like create files in WebCore/platform/xyz folder;
            Once this is ready, you need to get this port back into open source as later sync up with the open source is necessity. Follow http://trac.webkit.org/wiki/SuccessfulPortHowTo for creating DRT, automation tests which is needed for getting code back into trunk.
            posted on 2013-04-15 22:46 閱讀(712) 評論(0)  編輯 收藏 引用 所屬分類: life
            国产日韩久久久精品影院首页| 久久精品国产91久久麻豆自制| 久久国产成人亚洲精品影院| 香港aa三级久久三级| 久久国产精品免费一区| 欧美日韩精品久久久久| 久久不见久久见免费视频7| 精品久久综合1区2区3区激情| 大香伊人久久精品一区二区| 99久久99久久| 久久受www免费人成_看片中文 | 99精品伊人久久久大香线蕉| 亚洲日韩欧美一区久久久久我| 久久永久免费人妻精品下载| 久久天天躁狠狠躁夜夜不卡| 久久超乳爆乳中文字幕| 伊人久久大香线蕉综合网站| 国产精品成人无码久久久久久| 97香蕉久久夜色精品国产| 婷婷综合久久狠狠色99h| 99精品久久精品一区二区| 久久久久国产精品麻豆AR影院 | 奇米综合四色77777久久| 国产成人无码精品久久久久免费| 亚洲精品无码久久一线| 精品久久久久久久国产潘金莲| 国产激情久久久久影院小草 | 日本WV一本一道久久香蕉| 国产成人无码精品久久久久免费| 99久久99久久久精品齐齐| 青青草原精品99久久精品66 | 欧洲国产伦久久久久久久 | 久久青青草原精品国产不卡| 久久精品国产精品亚洲精品| 人妻丰满AV无码久久不卡| 亚洲AV日韩精品久久久久久| 伊人久久无码精品中文字幕| 国产精品久久久久久久久软件 | 青青热久久综合网伊人| 国产欧美久久久精品| 久久国产精品久久精品国产|