• <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 閱讀(720) 評論(0)  編輯 收藏 引用 所屬分類: life
            色婷婷狠狠久久综合五月| 国产高潮国产高潮久久久| 久久久久久a亚洲欧洲aⅴ| 伊人久久免费视频| 理论片午午伦夜理片久久| 亚洲精品无码久久久影院相关影片| 久久亚洲国产最新网站| 亚洲AV无码久久精品色欲 | 久久综合久久伊人| 亚洲午夜无码久久久久小说 | 久久99久久99小草精品免视看| 久久精品国产亚洲综合色| 久久久久国产| 久久精品国产亚洲av麻豆小说| 亚洲国产高清精品线久久 | 久久精品成人免费国产片小草| 日本WV一本一道久久香蕉| 国产精品久久一区二区三区| 九九热久久免费视频| 久久久噜噜噜久久中文福利| 无码人妻久久一区二区三区蜜桃| 久久这里只精品国产99热| 久久无码人妻一区二区三区午夜| 亚洲天堂久久久| 欧美精品丝袜久久久中文字幕| 国产∨亚洲V天堂无码久久久| 精品国产乱码久久久久软件 | 国产精品一区二区久久精品涩爱 | 久久婷婷色香五月综合激情| 久久久久国产一级毛片高清版| 国产精品对白刺激久久久| 香蕉aa三级久久毛片| 久久久免费观成人影院 | 伊人精品久久久久7777| 久久久精品久久久久特色影视| 国产精品美女久久久网AV| 久久99国产精品久久久| 高清免费久久午夜精品| 久久精品国产91久久麻豆自制| 国产91久久综合| 国产精品xxxx国产喷水亚洲国产精品无码久久一区 |