• <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| 久久久久久无码Av成人影院 | 久久精品国产半推半就| 国产精品99久久久久久人| 久久久国产精华液| 66精品综合久久久久久久| 国产精品青草久久久久婷婷 | 国内精品九九久久久精品| 91精品国产高清久久久久久io| 久久精品国产亚洲欧美| 国产一级做a爰片久久毛片| 精品久久综合1区2区3区激情| 无码国内精品久久综合88| 久久天天躁狠狠躁夜夜躁2O2O| 中文字幕亚洲综合久久2| 一本一道久久a久久精品综合| 1000部精品久久久久久久久| 久久夜色精品国产www| 国产人久久人人人人爽| 久久99精品国产麻豆宅宅| 丁香久久婷婷国产午夜视频| 77777亚洲午夜久久多人| 欧美激情精品久久久久久久九九九 | 久久国产综合精品五月天| 亚洲国产精品无码久久SM| 久久精品综合网| 久久精品国产国产精品四凭| 国产精品久久久久久搜索| 亚洲va久久久噜噜噜久久男同| 日韩影院久久| 久久久网中文字幕| 欧美激情精品久久久久久久| 国产成人精品久久亚洲| 99久久99久久精品国产片| 久久精品国产亚洲网站| 久久最新精品国产| 亚洲午夜久久久精品影院| 夜夜亚洲天天久久| 久久夜色撩人精品国产小说| 中文精品99久久国产| 精品久久人人爽天天玩人人妻|