• <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
            久久精品国产久精国产| 久久精品中文字幕一区| 色综合久久无码五十路人妻| 区亚洲欧美一级久久精品亚洲精品成人网久久久久 | 久久亚洲精品人成综合网| 99久久这里只精品国产免费 | 亚洲伊人久久大香线蕉苏妲己| 99精品久久久久久久婷婷| 日韩精品国产自在久久现线拍| 久久久精品视频免费观看| 亚洲国产成人久久综合碰碰动漫3d| 精品蜜臀久久久久99网站| 久久精品成人欧美大片| 久久综合九色综合久99| 色综合久久天天综线观看| 免费精品久久久久久中文字幕| 亚洲中文字幕无码久久2020| 思思久久好好热精品国产| 伊人精品久久久久7777| 无码超乳爆乳中文字幕久久 | 欧美一级久久久久久久大| 一级A毛片免费观看久久精品| 国产高潮国产高潮久久久91| 久久国产精品久久| 国产精品va久久久久久久| 国产真实乱对白精彩久久| 成人a毛片久久免费播放| 亚洲综合久久久| 亚洲狠狠婷婷综合久久久久 | AV无码久久久久不卡蜜桃| 久久精品国产69国产精品亚洲| 亚洲国产成人久久精品影视| 97久久精品人人澡人人爽| 色婷婷狠狠久久综合五月| 久久免费国产精品| 韩国三级大全久久网站| 国内精品人妻无码久久久影院| 日本亚洲色大成网站WWW久久| 中文字幕无码免费久久| 热久久国产欧美一区二区精品| 一本久久久久久久|