• <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 移植要點(diǎn)

            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 閱讀(720) 評論(0)  編輯 收藏 引用 所屬分類: life
            久久久久黑人强伦姧人妻| 久久久久亚洲av无码专区喷水 | 蜜桃麻豆WWW久久囤产精品| 久久夜色精品国产| 伊人久久综合精品无码AV专区| 一本色综合网久久| 亚洲嫩草影院久久精品| 色狠狠久久综合网| 亚洲天堂久久精品| 久久精品国产亚洲αv忘忧草 | 国产精品成人久久久| 久久国产精品久久久| 久久人人爽人人爽人人片AV不| av无码久久久久不卡免费网站| 综合久久国产九一剧情麻豆| 老司机国内精品久久久久| 久久精品夜夜夜夜夜久久| 久久久久99精品成人片三人毛片| 99久久国产精品免费一区二区| 亚洲精品国产成人99久久| 韩国免费A级毛片久久| 狠狠色丁香久久婷婷综合图片| 99久久婷婷国产一区二区| 人妻精品久久无码区| 久久精品毛片免费观看| 久久精品视频一| 日韩十八禁一区二区久久| 欧美粉嫩小泬久久久久久久 | 少妇久久久久久被弄到高潮| www.久久99| 国产精品免费久久久久久久久| 精品久久人妻av中文字幕| 亚洲色欲久久久久综合网| 亚洲色婷婷综合久久| 亚洲国产日韩综合久久精品| 久久黄视频| 亚洲国产精品狼友中文久久久 | 久久久久女人精品毛片| 中文字幕日本人妻久久久免费| 久久久久久免费视频| 中文字幕亚洲综合久久菠萝蜜|