• <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 閱讀(726) 評論(0)  編輯 收藏 引用 所屬分類: life
            国产成人久久精品一区二区三区 | 久久夜色精品国产| 久久国产成人午夜aⅴ影院 | 精品久久久久久无码免费| 欧美性大战久久久久久| 久久综合精品国产二区无码| 九九久久精品无码专区| 欧美精品乱码99久久蜜桃| 精品久久久久久| 久久99精品久久久大学生| 国产成人精品久久亚洲高清不卡 国产成人精品久久亚洲高清不卡 国产成人精品久久亚洲 | 国产69精品久久久久久人妻精品| 久久精品无码一区二区无码| 久久久久国色AV免费看图片| 日本人妻丰满熟妇久久久久久| 国内精品久久久久久不卡影院| 2019久久久高清456| 色婷婷综合久久久久中文字幕| 日韩亚洲欧美久久久www综合网 | 国产成年无码久久久免费| 久久久久婷婷| 国产精品青草久久久久福利99| 久久久久亚洲Av无码专| 久久久无码精品亚洲日韩蜜臀浪潮| 久久免费美女视频| 精品国产乱码久久久久久郑州公司| 亚洲精品久久久www| 久久精品免费大片国产大片| 精品一区二区久久| 好久久免费视频高清| 国内精品九九久久久精品| 久久99精品久久久大学生| 久久精品国产亚洲AV香蕉| 人妻少妇精品久久| 欧美伊人久久大香线蕉综合69| 品成人欧美大片久久国产欧美... 品成人欧美大片久久国产欧美 | 久久99精品国产麻豆不卡| 99久久精品无码一区二区毛片 | 久久久久久国产精品免费无码 | 久久精品a亚洲国产v高清不卡| 日韩精品无码久久久久久|