• <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
            日本福利片国产午夜久久| 久久无码中文字幕东京热| 国产精品久久久久…| 亚洲国产成人久久综合一| 漂亮人妻被中出中文字幕久久| 国产偷久久久精品专区| 青青青青久久精品国产h| 久久久久亚洲AV片无码下载蜜桃| 午夜精品久久久久久99热| 精品久久久久久国产牛牛app| 久久AV无码精品人妻糸列| 久久99热狠狠色精品一区| 久久综合久久伊人| 国产精品久久久久久久久鸭| 久久综合九色欧美综合狠狠 | 99久久99久久| 麻豆久久久9性大片| 精品久久久久久无码国产| 精品国际久久久久999波多野| 欧美精品九九99久久在观看| 久久精品国产亚洲网站| 久久久噜噜噜久久熟女AA片| 日韩欧美亚洲国产精品字幕久久久 | 99久久国产综合精品网成人影院| 亚洲AV日韩精品久久久久久久| 色8激情欧美成人久久综合电| 国产精品伦理久久久久久| 久久久久久久综合日本亚洲| 久久久久亚洲av无码专区 | 韩国三级大全久久网站| 乱亲女H秽乱长久久久| 亚洲国产精品无码久久98| 婷婷综合久久中文字幕蜜桃三电影| 国色天香久久久久久久小说| 久久精品中文字幕大胸| 四虎影视久久久免费| 香港aa三级久久三级老师2021国产三级精品三级在 | 亚洲AV伊人久久青青草原| 老司机午夜网站国内精品久久久久久久久 | 午夜人妻久久久久久久久| 久久亚洲精品国产精品|