• <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
            久久精品嫩草影院| 亚洲精品高清国产一线久久| 久久久精品人妻一区二区三区蜜桃| 久久免费视频观看| 久久精品人人槡人妻人人玩AV | 精品久久久久久亚洲精品 | 久久99国产精品久久99| 久久人人爽人人人人片av| 久久久久亚洲av综合波多野结衣| 久久精品中文字幕一区| 欧美国产成人久久精品| 久久久久久久亚洲精品| 久久男人中文字幕资源站| 国产福利电影一区二区三区,免费久久久久久久精 | 亚洲精品NV久久久久久久久久| 久久久久国产一级毛片高清板| 久久久WWW成人免费毛片| 日日狠狠久久偷偷色综合0| 无码国内精品久久人妻麻豆按摩| 老司机午夜网站国内精品久久久久久久久 | 久久人做人爽一区二区三区| 亚洲性久久久影院| 久久精品国产色蜜蜜麻豆| 99久久精品国产一区二区| 国产精品9999久久久久| 99久久精品国产毛片| 久久久精品国产亚洲成人满18免费网站| 久久国产视频99电影| 久久AV无码精品人妻糸列| 国产精品禁18久久久夂久 | 成人免费网站久久久| 99久久精品免费看国产免费| 久久精品三级视频| 无码人妻久久一区二区三区免费| 国产一区二区精品久久| 国产精品久久久久a影院| 久久国产色AV免费观看| 亚洲精品成人网久久久久久| 97久久精品无码一区二区| 久久综合九色欧美综合狠狠 | 久久精品aⅴ无码中文字字幕重口 久久精品a亚洲国产v高清不卡 |