Commits on Oct 28, 2010
  1. Make all port operations synchroneous "port ! msg" is now a synchrone…

    …ous call; and all port-operations are non-Pausable. (BIG DIFF).
    krestenkrab committed Oct 28, 2010
Commits on Oct 27, 2010
  1. Add support to call erlang from java using,f,a). To…

    … do this, we added a bif called rpc:call_from_java/4, and a special pseudo term mbox representing the caller's mbox which is where to send the result, one of: {ok,Value} or {error,CatchValue}.
    krestenkrab committed Oct 27, 2010
  2. Update JavaObject: add getRealObject method, and also make sure that …

    …testBitString will succeed with <<"">> if all the other type tests fails.
    krestenkrab committed Oct 27, 2010
  3. Update ej/ejc commands

    krestenkrab committed Oct 27, 2010
Commits on Oct 26, 2010
  1. Remove unused module

    krestenkrab committed Oct 26, 2010
Commits on Oct 14, 2010
  1. Add support for +S (#schedulers) and +A (#async threads) flags to mai…

    …n erjang launcher. Previously, these were not separate. Best performance is achieved with a low +S value (at present), +A threads are needed for I/O
    krestenkrab committed Oct 14, 2010
Commits on Oct 13, 2010
Commits on Oct 12, 2010
  1. Replace clojure dependency with clj-ds (

    …). clj-ds is a clone of clojure's persistent data structures adapted by Karl Krukow.
    krestenkrab committed Oct 12, 2010
  2. Remove unused code.

    krestenkrab committed Oct 12, 2010
Commits on Sep 30, 2010
Commits on Sep 29, 2010
  1. Make ets:repair_continuation/2 a BIF so it overrides the implementati…

    …on in ets.erl; Erjang's ETS continuations look different from BEAMs.
    krestenkrab committed Sep 29, 2010
  2. Make erlang:open_port have the owner link to the port. Ports were not…

    … receiving exit signals properly.
    krestenkrab committed Sep 29, 2010
  3. Fixes for tcp_inet driver: When the owner dies make sure the connecti…

    …on is closed (implement the stop() driver callback). Secondly, there was a bug was a case where the main reading logic tcp_recv was "reading ahead"; limit reads to current packet size / requested read size.
    krestenkrab committed Sep 29, 2010
  4. Fixes for efile driver: Make FILE_OPEN return the actual file descrip…

    …tor (int), and implement FILE_SETOPT as a no-op.
    krestenkrab committed Sep 29, 2010
  5. Fix NIO selector issues. There was a problem with select requests app…

    …earing out of order because there was a separate mqueue for set and unset requests. Now both are tunneled through the same inbox.
    krestenkrab committed Sep 29, 2010
Commits on Sep 24, 2010
  1. Fix erlang:binary_to_list/3 BIF; it was not using the last Stop argum…

    …ent correctly. Also add some extra badarg checking.
    krestenkrab committed Sep 24, 2010
  2. Make compiled regexps be more well-behaved. They now appear as a {com…

    …piled_re, <<"">>} if printed. Also; all pseudo terms (binary match states, compiled match specs, ets continuations, and external java objects, and lazy exception traces) now print as and match <<"">> by default.
    krestenkrab committed Sep 24, 2010
  3. Fix naming of lambda EFuns so that __N suffix of class names correspo…

    …nd to the actual arity. This problem triggered a bug in ets:tab2file, in the kilim codegen.
    Explanation: Inside the BEAM file format, a lambda's arity is given as #args + #freevars. When naming the class that implements a lambda, this fix makes it so that such classes __N suffix corresponds to #args, and not (#args+#freevars).  This allows "parsing" such class names properly.
    krestenkrab committed Sep 24, 2010
  4. Mark beam instruction try_case_end as "terminal", i.e. it will return…

    … or throw an exception. Fixes an issue with type inference.
    krestenkrab committed Sep 24, 2010
Commits on Sep 23, 2010