• <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 閱讀(720) 評論(0)  編輯 收藏 引用 所屬分類: life
            久久国产美女免费观看精品| 久久久青草青青国产亚洲免观| 国产精品久久久久久久久久影院| 久久久久99精品成人片三人毛片| 久久99精品久久久久久齐齐| 日韩精品久久无码人妻中文字幕| 国产一级做a爰片久久毛片| 久久99精品九九九久久婷婷| 婷婷久久综合| 久久93精品国产91久久综合| 亚洲欧洲精品成人久久奇米网| 狠狠色丁香婷婷久久综合不卡| 久久国产影院| 91久久精品91久久性色| 无码国内精品久久人妻| 久久综合成人网| 精品少妇人妻av无码久久| 中文字幕乱码久久午夜| 99久久做夜夜爱天天做精品| 蜜桃麻豆www久久| 色综合久久精品中文字幕首页| 亚洲人成无码网站久久99热国产| 久久精品嫩草影院| 久久国产亚洲高清观看| 久久亚洲精品无码VA大香大香| yellow中文字幕久久网| 国产精品无码久久久久| 国产精品一区二区久久不卡| 精品久久久无码21p发布| 久久66热人妻偷产精品9| 一本久道久久综合狠狠躁AV| 久久久久香蕉视频| 久久精品国产99国产精品| 91秦先生久久久久久久| 久久一区二区三区免费| 久久国产精品-久久精品| 狠狠色丁香久久综合婷婷| 久久久婷婷五月亚洲97号色| 日韩人妻无码精品久久免费一 | 91麻豆精品国产91久久久久久| 久久久久无码精品国产|