Coder Social home page Coder Social logo

pathorn / awesomium Goto Github PK

View Code? Open in Web Editor NEW
44.0 6.0 17.0 336 KB

Unofficial Awesomium GIT repo (based off version 1.08)

Home Page: http://www.princeofcode.com/awesomium.php

License: GNU Lesser General Public License v2.1

Objective-C 0.05% JavaScript 35.74% C++ 64.21%

awesomium's People

Contributors

danielrh avatar ewencp avatar pathorn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

awesomium's Issues

Stable chromium revision

Hey,

I am looking for a stable chromium/awesomium revision to work with on windows. I have encountered issues with every single combination I have tried so far:
r19929 - Couldn't get it to compile on windows
r24066 - Compiled ok, but couldn't seem to submit forms.

I am perfectly ok with an old revision on chromium. The Awesomium 1.08 binaries work well for me, and are good enough as a baseline to add my extra features. Does anyone know which revision of chromium the initial Jun 22 was compiled with?

Thanks!

  • Shlomo

Missing unit test html files and demo app media files

Hi,
In particular I am looking for "tests/EvalJavascript.html" and other files in the same folder.
I think the tests folder should be in the media folder.
It's contents that are used by the demo app are also missing.
I'm trying to get awesomium and chromium to compile on windows but different combinations are producing different errors
Working unit tests and a working demo app would help greatly in isolating problems.
Thanks,
Eoin.

Debug on Windows

Hi,

I am trying to get Awesomium up and running on Windows. Here's my config:
XPSP2, Visual Studio 2008 SP1, Windows SDK 7.0.

The Release version compiles and runs ok (with minor adjustments).

The Debug version crashes soon after startup. It's in a different spot depending on which revision you're trying, but I think it's centered around isMainThread(). For example in one test, it failed the Assert() in ActiveDOMObject.cpp on this bit:

#if ENABLE(WORKERS)
ASSERT((m_scriptExecutionContext->isDocument() && isMainThread())
    || (m_scriptExecutionContext->isWorkerContext() && currentThread() == static_cast<WorkerContext*>(m_scriptExecutionContext)->thread()->threadID()));
#endif

Has anyone succesfully run the Debug version on Windows?

Cant compile on windows

Hey,

I downloaded chromium build 26068 and compiled it fine. Had to fix a couple of build issues in Awesomium but it failed to link.

1>WebCore.obj : error LNK2019: unresolved external symbol "public: __thiscall ChildThread::ChildThread(void)" (??0ChildThread@@QAE@XZ) referenced in function "public: __thiscall Awesomium::WebCore::WebCore(enum Awesomium::LogLevel,bool,enum Awesomium::PixelFormat)" (??0WebCore@Awesomium@@QAE@W4LogLevel@1@_NW4PixelFormat@1@@z)
1>WebCore.obj : error LNK2019: unresolved external symbol "public: __thiscall ChildProcess::ChildProcess(void)" (??0ChildProcess@@QAE@XZ) referenced in function "public: __thiscall Awesomium::WebCore::WebCore(enum Awesomium::LogLevel,bool,enum Awesomium::PixelFormat)" (??0WebCore@Awesomium@@QAE@W4LogLevel@1@_NW4PixelFormat@1@@z)
1>glue.lib(webkit_glue.obj) : error LNK2019: unresolved external symbol "void __cdecl webkit_glue::AppendToLog(char const *,int,char const *)" (?AppendToLog@webkit_glue@@YAXPBDH0@Z) referenced in function "void __cdecl webkit_glue::DumpLeakedObject(char const *,int,char const *,int)" (?DumpLeakedObject@webkit_glue@@YAXPBDH0H@Z)
1>glue.lib(media_resource_loader_bridge_factory.obj) : error LNK2019: unresolved external symbol "public: static class webkit_glue::ResourceLoaderBridge * __cdecl webkit_glue::ResourceLoaderBridge::Create(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class GURL const &,class GURL const &,class GURL const &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &,int,int,enum ResourceType::Type,int,int)" (?Create@ResourceLoaderBridge@webkit_glue@@SAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@ABVGURL@@11000HHW4Type@ResourceType@@hh@Z) referenced in function "public: virtual class webkit_glue::ResourceLoaderBridge * __thiscall webkit_glue::MediaResourceLoaderBridgeFactory::CreateBridge(class GURL const &,int,__int64,__int64)" (?CreateBridge@MediaResourceLoaderBridgeFactory@webkit_glue@@UAEPAVResourceLoaderBridge@2@ABVGURL@@H_J1@Z)
1>glue.lib(weburlloader_impl.obj) : error LNK2001: unresolved external symbol "public: static class webkit_glue::ResourceLoaderBridge * __cdecl webkit_glue::ResourceLoaderBridge::Create(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class GURL const &,class GURL const &,class GURL const &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &,int,int,enum ResourceType::Type,int,int)" (?Create@ResourceLoaderBridge@webkit_glue@@SAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@ABVGURL@@11000HHW4Type@ResourceType@@hh@Z)
1>glue.lib(webkitclient_impl.obj) : error LNK2019: unresolved external symbol "void __cdecl webkit_glue::GetPlugins(bool,class std::vector<struct WebPluginInfo,class std::allocator > *)" (?GetPlugins@webkit_glue@@YAX_NPAV?$vector@UWebPluginInfo@@v?$allocator@UWebPluginInfo@@@std@@@std@@@z) referenced in function "public: virtual void __thiscall webkit_glue::WebKitClientImpl::getPluginList(bool,class WebKit::WebPluginListBuilder *)" (?getPluginList@WebKitClientImpl@webkit_glue@@UAEX_NPAVWebPluginListBuilder@WebKit@@@z)
1>glue.lib(webkitclient_impl.obj) : error LNK2019: unresolved external symbol "class base::StringPiece __cdecl webkit_glue::GetDataResource(int)" (?GetDataResource@webkit_glue@@ya?AVStringPiece@base@@h@Z) referenced in function "public: virtual class WebKit::WebData __thiscall webkit_glue::WebKitClientImpl::loadResource(char const *)" (?loadResource@WebKitClientImpl@webkit_glue@@UAE?AVWebData@WebKit@@pbd@Z)
1>glue.lib(debugger_agent_impl.obj) : error LNK2001: unresolved external symbol "class base::StringPiece __cdecl webkit_glue::GetDataResource(int)" (?GetDataResource@webkit_glue@@ya?AVStringPiece@base@@h@Z)
1>glue.lib(webkitclient_impl.obj) : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits,class std::allocator > __cdecl webkit_glue::GetUIResourceProtocol(void)" (?GetUIResourceProtocol@webkit_glue@@ya?AV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@xz) referenced in function "public: virtual class WebCore::String __thiscall webkit_glue::WebKitClientImpl::uiResourceProtocol(void)" (?uiResourceProtocol@WebKitClientImpl@webkit_glue@@UAE?AVString@WebCore@@xz)
1>glue.lib(plugin_list_win.obj) : error LNK2019: unresolved external symbol "bool __cdecl webkit_glue::GetApplicationDirectory(class FilePath *)" (?GetApplicationDirectory@webkit_glue@@YA_NPAVFilePath@@@z) referenced in function "void __cdecl anonymous namespace'::GetAppDirectory(class std::set<class FilePath,struct std::less<class FilePath>,class std::allocator<class FilePath> > *)" (?GetAppDirectory@?A0x72dcdb65@@YAXPAV?$set@VFilePath@@U?$less@VFilePath@@@std@@V?$allocator@VFilePath@@@3@@std@@@Z) 1>glue.lib(plugin_list_win.obj) : error LNK2019: unresolved external symbol "bool __cdecl webkit_glue::GetExeDirectory(class FilePath *)" (?GetExeDirectory@webkit_glue@@YA_NPAVFilePath@@@Z) referenced in function "void __cdeclanonymous namespace'::GetExeDirectory(class std::set<class FilePath,struct std::less,class std::allocator > *)" (?GetExeDirectory@?A0x72dcdb65@@YAXPAV?$set@VFilePath@@U?$less@VFilePath@@@std@@v?$allocator@VFilePath@@@3@@std@@@z)
1>media.lib(ffmpeg_audio_decoder.obj) : error LNK2019: unresolved external symbol _av_malloc referenced in function "protected: virtual bool __thiscall media::FFmpegAudioDecoder::OnInitialize(class media::DemuxerStream *)" (?OnInitialize@FFmpegAudioDecoder@media@@MAE_NPAVDemuxerStream@2@@z)
1>media.lib(ffmpeg_audio_decoder.obj) : error LNK2019: unresolved external symbol _avcodec_open referenced in function "protected: virtual bool __thiscall media::FFmpegAudioDecoder::OnInitialize(class media::DemuxerStream *)" (?OnInitialize@FFmpegAudioDecoder@media@@MAE_NPAVDemuxerStream@2@@z)
1>media.lib(ffmpeg_video_decoder.obj) : error LNK2001: unresolved external symbol _avcodec_open
1>media.lib(ffmpeg_audio_decoder.obj) : error LNK2019: unresolved external symbol _avcodec_find_decoder referenced in function "protected: virtual bool __thiscall media::FFmpegAudioDecoder::OnInitialize(class media::DemuxerStream *)" (?OnInitialize@FFmpegAudioDecoder@media@@MAE_NPAVDemuxerStream@2@@z)
1>media.lib(ffmpeg_video_decoder.obj) : error LNK2001: unresolved external symbol _avcodec_find_decoder
1>media.lib(ffmpeg_audio_decoder.obj) : error LNK2019: unresolved external symbol _av_get_bits_per_sample_format referenced in function "protected: virtual bool __thiscall media::FFmpegAudioDecoder::OnInitialize(class media::DemuxerStream *)" (?OnInitialize@FFmpegAudioDecoder@media@@MAE_NPAVDemuxerStream@2@@z)
1>media.lib(ffmpeg_audio_decoder.obj) : error LNK2019: unresolved external symbol _avcodec_flush_buffers referenced in function "protected: virtual void __thiscall media::FFmpegAudioDecoder::OnSeek(class base::TimeDelta)" (?OnSeek@FFmpegAudioDecoder@media@@MAEXVTimeDelta@base@@@z)
1>media.lib(ffmpeg_video_decoder.obj) : error LNK2001: unresolved external symbol _avcodec_flush_buffers
1>media.lib(ffmpeg_audio_decoder.obj) : error LNK2019: unresolved external symbol _avcodec_decode_audio3 referenced in function "protected: virtual void __thiscall media::FFmpegAudioDecoder::OnDecode(class media::Buffer *)" (?OnDecode@FFmpegAudioDecoder@media@@MAEXPAVBuffer@2@@z)
1>media.lib(ffmpeg_audio_decoder.obj) : error LNK2019: unresolved external symbol _av_init_packet referenced in function "protected: virtual void __thiscall media::FFmpegAudioDecoder::OnDecode(class media::Buffer *)" (?OnDecode@FFmpegAudioDecoder@media@@MAEXPAVBuffer@2@@z)
1>media.lib(ffmpeg_video_decoder.obj) : error LNK2001: unresolved external symbol _av_init_packet
1>media.lib(ffmpeg_audio_decoder.obj) : error LNK2019: unresolved external symbol _av_free referenced in function "public: void __thiscall media::ScopedPtrAVFree::operator()(void *)const " (??RScopedPtrAVFree@media@@QBEXPAX@Z)
1>media.lib(ffmpeg_video_decoder.obj) : error LNK2001: unresolved external symbol _av_free
1>media.lib(ffmpeg_demuxer.obj) : error LNK2019: unresolved external symbol _av_free_packet referenced in function "public: virtual __thiscall media::AVPacketBuffer::~AVPacketBuffer(void)" (??1AVPacketBuffer@media@@UAE@XZ)
1>media.lib(ffmpeg_demuxer.obj) : error LNK2019: unresolved external symbol _av_rescale_q referenced in function "private: class base::TimeDelta __thiscall media::FFmpegDemuxerStream::ConvertTimestamp(__int64)" (?ConvertTimestamp@FFmpegDemuxerStream@media@@aae?AVTimeDelta@base@@_J@Z)
1>media.lib(ffmpeg_video_decoder.obj) : error LNK2001: unresolved external symbol _av_rescale_q
1>media.lib(ffmpeg_demuxer.obj) : error LNK2019: unresolved external symbol _av_close_input_file referenced in function "private: virtual __thiscall media::FFmpegDemuxer::~FFmpegDemuxer(void)" (??1FFmpegDemuxer@media@@eae@XZ)
1>media.lib(ffmpeg_demuxer.obj) : error LNK2019: unresolved external symbol _avcodec_close referenced in function "private: virtual __thiscall media::FFmpegDemuxer::~FFmpegDemuxer(void)" (??1FFmpegDemuxer@media@@eae@XZ)
1>media.lib(ffmpeg_demuxer.obj) : error LNK2019: unresolved external symbol _av_find_stream_info referenced in function "private: void __thiscall media::FFmpegDemuxer::InitializeTask(class media::DataSource *,class CallbackRunner *)" (?InitializeTask@FFmpegDemuxer@media@@AAEXPAVDataSource@2@PAV?$CallbackRunner@UTuple0@@@@@z)
1>media.lib(ffmpeg_demuxer.obj) : error LNK2019: unresolved external symbol _av_open_input_file referenced in function "private: void __thiscall media::FFmpegDemuxer::InitializeTask(class media::DataSource *,class CallbackRunner *)" (?InitializeTask@FFmpegDemuxer@media@@AAEXPAVDataSource@2@PAV?$CallbackRunner@UTuple0@@@@@z)
1>media.lib(ffmpeg_demuxer.obj) : error LNK2019: unresolved external symbol _av_seek_frame referenced in function "private: void __thiscall media::FFmpegDemuxer::SeekTask(class base::TimeDelta,class CallbackRunner *)" (?SeekTask@FFmpegDemuxer@media@@AAEXVTimeDelta@base@@pav?$CallbackRunner@UTuple0@@@@@z)
1>media.lib(ffmpeg_demuxer.obj) : error LNK2019: unresolved external symbol _av_dup_packet referenced in function "private: void __thiscall media::FFmpegDemuxer::DemuxTask(void)" (?DemuxTask@FFmpegDemuxer@media@@AAEXXZ)
1>media.lib(ffmpeg_demuxer.obj) : error LNK2019: unresolved external symbol _av_read_frame referenced in function "private: void __thiscall media::FFmpegDemuxer::DemuxTask(void)" (?DemuxTask@FFmpegDemuxer@media@@AAEXXZ)
1>media.lib(ffmpeg_video_decoder.obj) : error LNK2019: unresolved external symbol _avcodec_thread_init referenced in function "protected: virtual bool __thiscall media::FFmpegVideoDecoder::OnInitialize(class media::DemuxerStream *)" (?OnInitialize@FFmpegVideoDecoder@media@@MAE_NPAVDemuxerStream@2@@z)
1>media.lib(ffmpeg_video_decoder.obj) : error LNK2019: unresolved external symbol _avcodec_alloc_frame referenced in function "protected: virtual void __thiscall media::FFmpegVideoDecoder::OnDecode(class media::Buffer *)" (?OnDecode@FFmpegVideoDecoder@media@@MAEXPAVBuffer@2@@z)
1>media.lib(ffmpeg_video_decoder.obj) : error LNK2019: unresolved external symbol _avcodec_decode_video2 referenced in function "private: virtual bool __thiscall media::FFmpegVideoDecoder::DecodeFrame(class media::Buffer const &,struct AVCodecContext *,struct AVFrame *)" (?DecodeFrame@FFmpegVideoDecoder@media@@EAE_NABVBuffer@2@PAUAVCodecContext@@PAUAVFrame@@@z)
1>media.lib(ffmpeg_glue.obj) : error LNK2019: unresolved external symbol _av_register_all referenced in function "private: __thiscall media::FFmpegGlue::FFmpegGlue(void)" (??0FFmpegGlue@media@@aae@XZ)
1>media.lib(ffmpeg_glue.obj) : error LNK2019: unresolved external symbol _av_register_protocol referenced in function "private: __thiscall media::FFmpegGlue::FFmpegGlue(void)" (??0FFmpegGlue@media@@aae@XZ)
%0

Blank white screen in Vista

I am working on Vista SP1 under VS2008 SP1
I failed to compile Awesomium 2ab93fe and Chromium 19929 due to many errors
I have compiled Awesomium 296621e and Chromium 19929 after finding missing files, etc.
Unfortunately when I run the demo app I get a blank white screen but no obvious errors
When I run the unit tests Test 1 fails.
Any ideas appreciated!
What I am actually hoping to do is load the Google Earth API plugin into Awesomium.
This works for Chromium, but if Awesomium does not support the Chromium plug in system then things ma y be more difficult.
Any advice in this area greatly appreciated.

Thanks,
Eoin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.