• <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 閱讀(726) 評(píng)論(0)  編輯 收藏 引用 所屬分類: life
            国产视频久久| 精品久久久久香蕉网| 久久精品国产欧美日韩| 久久人人爽人人爽人人片AV东京热| 久久精品国产亚洲AV不卡| 久久国产劲爆AV内射—百度| 久久se精品一区二区| 日本加勒比久久精品| 97久久天天综合色天天综合色hd| 日韩亚洲国产综合久久久| 久久99热精品| 久久精品无码专区免费东京热| 久久综合久久鬼色| 9久久9久久精品| 伊人久久大香线蕉亚洲五月天| 久久激情五月丁香伊人| 国产亚洲综合久久系列| 国产偷久久久精品专区| 欧美伊人久久大香线蕉综合| 国产无套内射久久久国产| 精品久久一区二区| 国内精品久久久久影院优| 久久亚洲精品无码VA大香大香| 国产毛片久久久久久国产毛片 | 亚洲va久久久噜噜噜久久 | 无码伊人66久久大杳蕉网站谷歌| 久久av免费天堂小草播放| 国产亚洲精品美女久久久| 久久AV无码精品人妻糸列| 亚洲综合久久久| 久久久精品人妻一区二区三区蜜桃| 人妻中文久久久久| 久久久久亚洲av成人网人人软件 | 97久久国产综合精品女不卡 | 香蕉久久夜色精品升级完成| 国产成人综合久久精品红| 亚洲国产小视频精品久久久三级| 日韩美女18网站久久精品| 久久伊人五月丁香狠狠色| 亚洲AV乱码久久精品蜜桃| 久久国产热精品波多野结衣AV|