Permalink
Commits on Dec 12, 2011
  1. [feature] Int.t: introducing 64-bit integer type.

    This type provides 64-bits (not 63, like int); also on 32-bit
    architectures. It should be used instead of int for all values
    that may exceed 32-bits to ensure that everything works fine
    for the 32-bit port of Opa.
    akoprow committed Dec 12, 2011
Commits on Dec 8, 2011
  1. [enhance] Dom.bind_with_option: do not add a new argument for propaga…

    …tion_handler, use the options list
    Aqua-Ye committed Dec 8, 2011
  2. [enhance] bind_with_options: extended this function to handle how the…

    … event is propagated
    Aqua-Ye committed with Aqua-Ye Dec 8, 2011
  3. [fix] stdlib: bootstrap icon cross

    Ida Swarczewskaja committed Dec 8, 2011
Commits on Dec 7, 2011
  1. [enhance] gcharts: New options

    Nicolas Glondu committed Dec 6, 2011
  2. [enhance] installation_helper.sh: prefere original source links inste…

    …ad of debian servers
    Aqua-Ye committed Dec 7, 2011
Commits on Dec 6, 2011
  1. [fix] jsimp: Fixing "Object.prototype leaks into Opa land", Credit:Bu…

    …g reported by Erling Ellingsen <reg.opa@alf.nu>
    
    Original bug report:
    
    Opa records are represented as ordinary JS objects on the client, with
    the property names used as-is -- this might end up causing some
    interesting bugs given that even simple JS objects made with {} come
    with a set of default properties inherited from Object.prototype.
    
    // using build 1025
    
    type dummy = int;
    type holder('in, 'out) = { dummy constructor, 'out val } or { 'in val };
    
    client function 'out cast('in v) {
     holder('in, 'out) h = {val:v};
     match(h) {
     case { constructor:_, val:x }: x;
     default: error("Not so much.");
     }
    }
    
    client function dummy getconstructor(holder('a,'b) h) {
     match(h) {
     case { constructor:c, val:_ }: c;
     default: error("Not so much.");
     }
    }
    
    client function string eval(string code) {
     cast(getconstructor(cast(cast)))(code)();
    }
    
    function page() {
     <div id=here onclick={function(_) { #here = <p>{eval("alert('Hello');
    return 2+2;")}</p> }}>
       click me
     </div>
    }
    BourgerieQuentin committed Dec 6, 2011
Commits on Dec 5, 2011
Commits on Dec 4, 2011
  1. [fix] Crypto.Base64.encode: fixed server-side behavior.

    Following Alok Menghrajani's bug report.
    akoprow committed Dec 4, 2011
Commits on Dec 3, 2011
Commits on Dec 2, 2011
  1. [feature] stdlib: Update Server.handler (simple handler is now really…

    … simple, and adding register handler + typo)
    BourgerieQuentin committed Dec 2, 2011
  2. [enhance] Server.start: Adding Sever.start({dispatch: ...})

    as a simple variant of Server.start({dispatch:..., filter:...})
    with an empty filter.
    akoprow committed Dec 2, 2011
  3. [enhance] gcharts: More options

    Nicolas Glondu committed Dec 2, 2011
Commits on Dec 1, 2011
  1. [fix] server: The 'server =' analysis is useless an opa programm shou…

    …ld not be have different behaviour if encountered a 'server =' declaration
    BourgerieQuentin committed with OpaOnWindowsNow Dec 1, 2011
  2. [feature] stdlib: Change design for starting the server. Define a new…

    … central way to starting a server.
    BourgerieQuentin committed with OpaOnWindowsNow Dec 1, 2011