grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.6k stars 326 forks source link

remote paths in faust/architecture/httpdlib/src/html/htmlpage.cpp are outdated #171

Open giuliomoro opened 6 years ago

giuliomoro commented 6 years ago

I am talking of:

    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/jquerysvg/jquery.svg.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/jquerysvg/jquery.svgdom.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/faust_proto.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/faust_jquery_svg_backend.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/faust_mobile.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/faust_ui_inits.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/faust_load_external_file.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/faust_ui_objects.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/faust_ui_builder.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/faust_ui_interact.js"></script>
    <script type="text/javascript" src="http://www.mikesolomon.org/faust/svg/faust_server_communication.js"></script>
    <link rel="stylesheet" type="text/css" href="http://www.mikesolomon.org/faust/svg/faust_css.css"></link>

Why does it not point to the local files in faust/architecture/httpdlib/html/js/svg/ instead?

sletz commented 6 years ago

This code does not seem to be used at all.

giuliomoro commented 6 years ago

true, but then when using libHTTPDFaust one has to define stylesheet_len, stylesheet, jsscripts_len, jsscripts and I cannot find any info on what should go in there

giuliomoro commented 6 years ago

so the current workaround to get this to work is to point the paths to the files that come with the repo and #define LOADSCRIPTS