[parrot/parrot] 2638f9: update cm0 to encode cli arguments as M0 strings

GitHub noreply at github.com
Wed May 2 07:13:21 UTC 2012


  Branch: refs/heads/m0
  Home:   https://github.com/parrot/parrot
  Commit: 2638f9f96feb99f7292ed38867a86c884f43448c
      https://github.com/parrot/parrot/commit/2638f9f96feb99f7292ed38867a86c884f43448c
  Author: Christoph Otto <christoph_github at mksig.org>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

  Changed paths:
    M src/m0/c/m0_interp.c
    M t/m0/integration/m0_args.m0
    A t/m0/integration/m0_args_basic.m0

  Log Message:
  -----------
  update cm0 to encode cli arguments as M0 strings

The code emits a warning and needs a bit of cleanup, but the new
args_basic test successfully prints out its first arg.  Issues with the
m0_args.t are probably due a bug in that test.


  Commit: 525be621c64014867e7865f001895953f248d7a8
      https://github.com/parrot/parrot/commit/525be621c64014867e7865f001895953f248d7a8
  Author: Christoph Otto <christoph_github at mksig.org>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

  Changed paths:
    M src/m0/perl5/m0_interp.pl

  Log Message:
  -----------
  remove a stray newline from the p5 m0 interp


  Commit: 6811dd3a6285dd32a0000790337ce228ed006336
      https://github.com/parrot/parrot/commit/6811dd3a6285dd32a0000790337ce228ed006336
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

  Changed paths:
    M src/m0/c/m0_interp.c

  Log Message:
  -----------
  Use 32 bit integers for the string length and encoding


  Commit: c571a6548af17a68a732c49083ead7ba7c39691c
      https://github.com/parrot/parrot/commit/c571a6548af17a68a732c49083ead7ba7c39691c
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

  Changed paths:
    M src/m0/c/m0_interp.c

  Log Message:
  -----------
  Make interp_argv be uint64_t* instead of char**
The pointers in interp_argv need to be uniformly 8 bytes each. This will
make m0_args_basic access the correct argument.


  Commit: 6618c48e18273eb29a06e7728610ee74da07d106
      https://github.com/parrot/parrot/commit/6618c48e18273eb29a06e7728610ee74da07d106
  Author: Christoph Otto <christoph_github at mksig.org>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

  Changed paths:
    R t/m0/integration/m0_args_basic.m0

  Log Message:
  -----------
  remove bogus test.  m0_args tests this more effectively


  Commit: 5140899c419ecc1ebb2517b3928b712c3634e6cf
      https://github.com/parrot/parrot/commit/5140899c419ecc1ebb2517b3928b712c3634e6cf
  Author: Christoph Otto <christoph_github at mksig.org>
  Date:   2012-05-01 (Tue, 01 May 2012)

  Changed paths:
    M src/m0/c/m0_ops.c

  Log Message:
  -----------
  macroize op invocations to make debugging a bit less painful


  Commit: 827748e9e5d759d24fc7510cec01c97f03ba5185
      https://github.com/parrot/parrot/commit/827748e9e5d759d24fc7510cec01c97f03ba5185
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2012-05-01 (Tue, 01 May 2012)

  Changed paths:
    M t/m0/integration/m0_args.m0

  Log Message:
  -----------
  Fail m0_args if argv[1] doesn't have the right number of bytes


  Commit: e6473c6fb8df4aa3fd1943d5a90b1791c3a44655
      https://github.com/parrot/parrot/commit/e6473c6fb8df4aa3fd1943d5a90b1791c3a44655
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2012-05-01 (Tue, 01 May 2012)

  Changed paths:
    M t/m0/integration/m0_args.m0

  Log Message:
  -----------
  Treat argv[1] as an m0 string instead of a C string


  Commit: 9d8bde2b0a225627aeea5eb5a419ee3d34431b37
      https://github.com/parrot/parrot/commit/9d8bde2b0a225627aeea5eb5a419ee3d34431b37
  Author: Christoph Otto <christoph_github at mksig.org>
  Date:   2012-05-01 (Tue, 01 May 2012)

  Changed paths:
    M src/m0/perl5/m0_interp.pl

  Log Message:
  -----------
  fix perl5-m0's encoding of cli arguments


  Commit: 07708ab2987293b8afb3d9a1e60dc4b13990ae34
      https://github.com/parrot/parrot/commit/07708ab2987293b8afb3d9a1e60dc4b13990ae34
  Author: Christoph Otto <christoph_github at mksig.org>
  Date:   2012-05-01 (Tue, 01 May 2012)

  Changed paths:
    M src/m0/c/m0_ops.c

  Log Message:
  -----------
  add a debugging macro for c-m0


  Commit: 273be9f1dd21aa25a2bccf198f16730c39364745
      https://github.com/parrot/parrot/commit/273be9f1dd21aa25a2bccf198f16730c39364745
  Author: Christoph Otto <christoph_github at mksig.org>
  Date:   2012-05-01 (Tue, 01 May 2012)

  Changed paths:
    M t/m0/integration/m0_args.m0

  Log Message:
  -----------
  fix the args test, add some disabled debugging code


Compare: https://github.com/parrot/parrot/compare/50bf1d7...273be9f


More information about the parrot-commits mailing list