Commits on Sep 19, 2009
  1. Complete rewrite; version 1.1.0

    laverdet committed Sep 19, 2009
    Summary: I deleted most of XHP and started over. Points of interest:
             - Compatibility with at least PHP 5.3, likely up to PHP 6.0.
             - Uses PHP's parser instead the one I wrote
             - Rewritten scanner. The scanner now returns code_rope's with the
             actual code that was scanned, along with line numbers.
             - Separate the XHP parser and extension code
             - Further improved build process
             - No new features
    Reviewed By: epriestley
    Other Commenters: iproctor
    Test Plan: marcel@dev050 ~/alpaca $ php ./lib/init/script.php 
               marcel@dev050 ~/alpaca
               More testing will be done before committing this to APE.
    Revert: OK
    DiffCamp Revision: 64717
Commits on Aug 20, 2009
  1. Support the reflection API getting docblocks

    laverdet committed Aug 20, 2009
    Summary: XHP strips comments which means the Reflection API can no longer
             glean whatever information it needs from docblocks. This code
             memoizes docblocks and spits them back out in the rewritten code in
             random locations.
             This doesn't include reflection for class constants and stuff
             because those are hard and nobody probably cares anyway. Also if
             you make a habit of embedding docblocks in between every semantic
             token you will likely get back unexpected results while using XHP.
             Included is a half-hearted unit-test directory which includes my
             reflection test that half passes.
    Reviewed By: epriestley
    Test Plan: See unit-text/reflection.php
               Class properties fail.
               Also this:
                 /** comment7a */ class /** comment7b */ BarClass /** comment7c
               */ extends /** comment7d */ FooClass /** comment7e */ {
               Returns comment7e instead of comment7d. Deal with it.
    Revert: OK
    DiffCamp Revision: 60448
Commits on Jun 22, 2009
  1. Quick checkin

    laverdet committed Jun 22, 2009
    Summary: I just want a checkin of this somewhere that's not my dev server.
    Test Plan: None