• <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 閱讀(712) 評論(0)  編輯 收藏 引用 所屬分類: life
            日本精品一区二区久久久| 日日躁夜夜躁狠狠久久AV| 国产午夜精品理论片久久| 狠狠人妻久久久久久综合| 国内精品伊人久久久影院 | 国产精品免费久久久久影院| 国产香蕉97碰碰久久人人| 久久99这里只有精品国产| 99久久精品午夜一区二区| 国产精品丝袜久久久久久不卡 | 久久热这里只有精品在线观看| 亚洲欧美成人综合久久久| 丰满少妇人妻久久久久久4| 狠狠色婷婷久久综合频道日韩| 狠狠88综合久久久久综合网| 欧美久久综合九色综合| 国内精品久久久久久野外| 狠狠色丁香婷婷久久综合| 久久精品国产99国产精品| 国产99精品久久| 亚洲精品午夜国产VA久久成人| 品成人欧美大片久久国产欧美| 久久久久人妻精品一区二区三区 | 无码专区久久综合久中文字幕 | 品成人欧美大片久久国产欧美| 亚洲色欲久久久综合网东京热| 要久久爱在线免费观看| 国产精品丝袜久久久久久不卡| 久久91精品国产91久久小草| 久久无码人妻一区二区三区| 精品久久人人爽天天玩人人妻| 久久99热这里只有精品66| 武侠古典久久婷婷狼人伊人| 久久久久久毛片免费看| 久久影院久久香蕉国产线看观看| 国产精品va久久久久久久| 久久99精品久久久久久噜噜| 久久久久亚洲av毛片大| 久久久受www免费人成| 人妻系列无码专区久久五月天| 午夜精品久久影院蜜桃|