Commits on Aug 15, 2011
  1. MachMsg: improve get and put methods

    The get and put methods are made more flexible, numerous and consistent.
    The nomenclature mirrors the relative get and put methods in ByteBuffer.
    committed Aug 15, 2011
Commits on Aug 14, 2011
Commits on Aug 8, 2011
  1. MachMsgType:

    committed Aug 8, 2011
Commits on Jul 26, 2011
  1. MachMsgType: make it a class, not an enum

    The reason is that we will need to read type descriptors even when we don't
    know what they are in advance, for instance for deallocating partly read
    messages.
    committed Jul 26, 2011
  2. Split out MachMsgType and TypeCheckException

    MachMsg is big enough as it is.
    committed Jul 26, 2011
Commits on Jul 12, 2011
  1. @tschwinge

    Makefile: Make OpenJDK happy.

    (And keep GCJ happy, too.)
    tschwinge committed with Jul 12, 2011
  2. @tschwinge
  3. safety adjustments

    committed Jul 12, 2011
  4. switch to Doxygen

    committed Jul 9, 2011
Commits on Jul 8, 2011
Commits on Jul 6, 2011
  1. remove expried TODOs

    committed Jul 6, 2011
  2. Reduce the amount of JNI code

    The methods which manipulates integer port name and message buffers directly
    are marked with "throws Unsafe" to prevent them from being used advertently.
    Methods which encapsulate the low-level code and expose only type-safe
    abstractions to the user catch the Unsafe pseudo-exception.
    
    This is similar in principle to the "semantic regimes" of org.vmmagic.
    
    Unfortunately using a pseudo-exception in this way introduces some quirks,
    as we have to silence compiler warning and "handle" the exception which is
    never actually thrown. Ideally this would be done with annotations instead
    (@Unsafe, @AssertSafe) and checked by a custom annotation processor.
    
    A third option would be to simply make unsafe methods package-private.
    Drawbacks are disallowing users access to these methods (even if they know
    what they're doing), and the lack of check for encapsulation of low-level
    abstractions.
    committed Jul 6, 2011
Commits on Jul 5, 2011
Commits on Jul 3, 2011
  1. MachMsg: fix doc

    committed Jul 3, 2011
Commits on Jun 30, 2011