Skip to content
Commits on Jan 5, 2012
  1. @akoprow

    [enhance] Markdown: added hierarchical model of the document.

    And a function to analyze the markdown content and build a
    hierarchical model (tree; akin to a table of contents) out of it.
    akoprow committed Jan 5, 2012
  2. @gregmak
  3. @cedricss
  4. @Aqua-Ye

    [enhance] Email: improved email.trx a bit, added Content-Disposition …

    …header into mail, some format, cleanup and doc
    Aqua-Ye committed Jan 3, 2012
  5. @Aqua-Ye
  6. @Aqua-Ye
  7. @Aqua-Ye

    [cleanup] smtpClient: indent

    Aqua-Ye committed Jan 3, 2012
  8. @Aqua-Ye

    [cleanup] MailServe: removed mailServe.ml file, and imported some fun…

    …ctions to smtpClient.ml
    Aqua-Ye committed Jan 3, 2012
  9. @Aqua-Ye

    [cleanup] SmtpServer: cleanup

    Aqua-Ye committed Jan 2, 2012
  10. @Aqua-Ye

    [cleanup] Email: format

    Aqua-Ye committed Jan 2, 2012
  11. @Aqua-Ye

    [enhance] Email: big commit, see details below

              - ability to give custom To: or Cc: addresses (in Email.options)
              - bug: when sending an email, the To: field is not necessarily the recipient
              - better error handling for mx_resolution, especially when no MX found (retry)
              - files are now in Email.options, and not directly as a function parameter
              - some cleanup, format and doc
    Aqua-Ye committed Jan 2, 2012
Commits on Jan 4, 2012
  1. @BourgerieQuentin
  2. @jlmess77 @BourgerieQuentin

    [fix] build: Use the makebinary from config.ml instead of a hardcore …

    …of "make" to allow it uses "gmake"
    
    correct on FreeBSD.
    jlmess77 committed with BourgerieQuentin Jan 3, 2012
Commits on Jan 3, 2012
  1. @Aqua-Ye
Commits on Jan 1, 2012
  1. @Aqua-Ye
  2. @Aqua-Ye
Commits on Dec 29, 2011
  1. @Aqua-Ye
Commits on Dec 28, 2011
  1. @Aqua-Ye
Commits on Dec 24, 2011
  1. @Aqua-Ye
  2. @Aqua-Ye
Commits on Dec 23, 2011
  1. [enhance] stdlib: add red icon set

    Ida Swarczewskaja committed Dec 23, 2011
  2. [enhance] stdlib: add orange icon set

    Ida Swarczewskaja committed Dec 23, 2011
  3. [enhance] stdlib: add green icon set

    Ida Swarczewskaja committed Dec 23, 2011
  4. [enhance] stdlib: add blue icon set

    Ida Swarczewskaja committed Dec 23, 2011
  5. [enhance] stdlib: color icons set - apply color to each icon

    Ida Swarczewskaja committed Dec 23, 2011
  6. @OpaOnWindowsNow

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

    …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.
    OpaOnWindowsNow committed Dec 22, 2011
  7. @OpaOnWindowsNow

    [feature] syntax,classic: loop sugar syntax

    see previous commit
    OpaOnWindowsNow committed Dec 22, 2011
  8. @OpaOnWindowsNow

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

    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
          })
        })
    OpaOnWindowsNow committed Dec 22, 2011
  9. @OpaOnWindowsNow

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

    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
    OpaOnWindowsNow committed Dec 22, 2011
  10. @OpaOnWindowsNow

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

    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
    OpaOnWindowsNow committed Dec 22, 2011
Commits on Dec 22, 2011
  1. @nrs135
  2. @nrs135
Commits on Dec 21, 2011
  1. [enhance] gcharts: Gauge chart added with its options

    Nicolas Glondu committed Dec 21, 2011
  2. @OpaOnWindowsNow
  3. @OpaOnWindowsNow

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

    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
    OpaOnWindowsNow committed Dec 20, 2011
Something went wrong with that request. Please try again.