• <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
            久久免费线看线看| 久久频这里精品99香蕉久| 精品久久久久成人码免费动漫| 国产成人精品久久免费动漫| 国产精品99久久99久久久| 久久午夜伦鲁片免费无码| 日韩欧美亚洲综合久久| 中文精品久久久久人妻| 国产99久久久国产精品小说| 亚洲婷婷国产精品电影人久久| 久久久亚洲精品蜜桃臀| 亚洲国产高清精品线久久| 三级三级久久三级久久| 色欲综合久久中文字幕网| 久久精品国产亚洲AV高清热| 国产精品美女久久久久| 亚洲精品高清久久| 久久99热这里只有精品国产| 久久综合九色综合欧美就去吻| 亚洲国产日韩欧美综合久久| 久久免费看黄a级毛片| 久久亚洲精品无码AV红樱桃| 国产精品18久久久久久vr| 成人a毛片久久免费播放| 久久精品中文字幕第23页| 久久国产免费直播| 国产69精品久久久久777| 久久精品成人免费观看97| 亚洲乱码日产精品a级毛片久久| 久久精品国产清自在天天线 | 久久九色综合九色99伊人| 香蕉久久影院| 久久免费的精品国产V∧| 国产激情久久久久影院老熟女免费 | 欧美激情精品久久久久久久| 久久无码国产专区精品| 久久国产亚洲精品无码| 精品久久久久久无码中文野结衣| 香蕉久久夜色精品国产2020| 久久亚洲国产欧洲精品一| 精品久久久无码21p发布|