Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1154
Commits on Dec 29, 2011
  1. Frederic Ye
Commits on Dec 28, 2011
  1. Frederic Ye
Commits on Dec 24, 2011
  1. Frederic Ye
  2. Frederic Ye

    [enhance] WBoostrap: changed WBoostrap.Button API a bit, documented a…

    Aqua-Ye authored Aqua-Ye committed
    … little more
Commits on Dec 23, 2011
  1. [enhance] stdlib: add red icon set

    Ida Swarczewskaja authored
  2. [enhance] stdlib: add orange icon set

    Ida Swarczewskaja authored
  3. [enhance] stdlib: add green icon set

    Ida Swarczewskaja authored
  4. [enhance] stdlib: add blue icon set

    Ida Swarczewskaja authored
  5. [enhance] stdlib: color icons set - apply color to each icon

    Ida Swarczewskaja authored
  6. Rudy Sicard

    [fix] session,memleak,opa2js: client context was not propagated resul…

    OpaOnWindowsNow authored
    …ting in server context
    
    The memory leak concerns non top-level sessions, which following a GET request on xhtml content (i.e. a web page), appeared in the xhtml serialization.
    The situation also implicitly happened when having a non serializable server closure is included in the xhtml (via onclick ...).
    
    In that case, the sessions were not collected when the client quit the web page, and would remains in memory in the server.
  7. Rudy Sicard

    [feature] syntax,classic: loop sugar syntax

    OpaOnWindowsNow authored
    see previous commit
  8. Rudy Sicard

    [feature] syntax,js-like: loop sugar syntax

    OpaOnWindowsNow authored
    f(function (a,b){ a+b })
    
    can be rewrite as : (see previous commit)
    
    f({function (a,b) a+b })
    
    which can be rewrite as
    
    f{function (a,b) a+b }
    
    The purpose is to be able to have loop syntax like in usual langage (Javascrip, C ...).
    
    For instance, let's define the functional for loop in opa:
    
    function for(b,e)(acc)(f){
      recursive function aux(i,acc){
        if(i<=e) aux(i+1,f(i,acc))
        else acc
      }
      aux(b,acc)
    }
    
    Now we can write a for loop very easily:
    v =
    for(1,10)(0){ function(i,acc)
      for(1,10)(acc){ function(j,acc)
        acc + i*j
      }
    }
    
    // to be compare to
    
    // javascript
    var acc = 0
    for(var i=1;i<=10;i++){
      for(var i=1;i<=10;i++){
        acc += i*j
      }
    }
    var v = acc;
    
    // classic syntax
    v =
    for(1,10)(0)(i,acc->
      for(1,10)(acc)(j,acc->
        acc + i*j
      )
    )
    
    //previous js-like situation
    v =
    for(1,10)(0)(function(i,acc){
      for(1,10)(acc)(function(j,acc){
           acc + i*j
          })
        })
  9. Rudy Sicard

    [feature] syntax,js-like: block anonymous function syntax

    OpaOnWindowsNow authored
    function (a,b,c){a+b+c}
    
    can be 'braces delimited' using
    
    {function (a,b,c) a+b+c}
    
    which can be more readable in some code
  10. Rudy Sicard

    [feature] syntax,js-like: multi group of paramaters functions

    OpaOnWindowsNow authored
    function f(a,b,c){
       function (d,e,f){
          a+b+c+d+e+f
       }
    }
    
    can now be more concise with
    
    function f(a,b,c)(d,e,f){
       a+b+c+d+e+f
    }
    
    like in the classic syntax
Commits on Dec 22, 2011
  1. Norman Scaife
  2. Norman Scaife
Commits on Dec 21, 2011
  1. [enhance] gcharts: Gauge chart added with its options

    Nicolas Glondu authored
  2. Rudy Sicard
  3. Rudy Sicard

    [feature] js-like,pretty-printer: some enhancements, mostly unfinished

    OpaOnWindowsNow authored
    disclaimer: the pretty-printer and the syntaxHelper are provided "as is"
    
    if somebody knows how to indent correclty code with Ocaml Format, enjoy and correct this code
    
    what remains to be done:
      -proper indentation
      -sugar for css
      -probably a lot of small tweaks
    
    To use the syntax converter:
    
    -first built it,
    ./build/bld.sh opa/syntaxHelper.native #to build it
    
    -second invoke it,
    ./syntaxHelper.native --parser classic --printer js-like FILE1 FILE2 ... --build-dir DESTINATION_DIRECTORY
    
    TOTO
  4. Rudy Sicard
  5. Rudy Sicard
  6. Quentin Bourgerie Rudy Sicard

    [feature] syntax: syntax helper

    BourgerieQuentin authored OpaOnWindowsNow committed
  7. Quentin Bourgerie Rudy Sicard
  8. Frederic Ye

    [enhance] Email: send functions now also take Email.options, only con…

    Aqua-Ye authored
    …taining custom_headers for the moment
  9. Frederic Ye
  10. Frederic Ye

    [doc] Email: added some doc

    Aqua-Ye authored
Commits on Dec 20, 2011
  1. Frederic Ye

    [cleanup] resource_private: ws

    Aqua-Ye authored
  2. Frederic Ye
  3. Frederic Ye
  4. Frederic Ye
  5. Frederic Ye
  6. Quentin Bourgerie Frederic Ye

    [fix] bslsession: according to closure compiler check (We just need t…

    BourgerieQuentin authored Aqua-Ye committed
    …o define a common prototype)
  7. Frederic Ye
  8. [enhance] help/manpages: global pass for improving help messages of O…

    Mathieu Baudet authored
    …pa binaries
Something went wrong with that request. Please try again.