[parrot/parrot] a9b26e: re-enable native_pbc

GitHub noreply at github.com
Tue Sep 4 12:34:54 UTC 2012


  Branch: refs/heads/native_pbc
  Home:   https://github.com/parrot/parrot
  Commit: a9b26ee29b76fda6078d1f5947140cd93f5567a2
      https://github.com/parrot/parrot/commit/a9b26ee29b76fda6078d1f5947140cd93f5567a2
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M t/native_pbc/header.t
    M t/native_pbc/integer.t
    M t/native_pbc/integer_5.pbc
    M t/native_pbc/number.t
    M t/native_pbc/number_5.pbc
    M t/native_pbc/string.t
    R t/native_pbc/string_5.pbc
    M t/native_pbc/testdata/string.pasm
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  re-enable native_pbc

use new t/native_pbc/testdata templates to generate pbc's,
change string to use binary and utf8 encodings,
update mk_native_pbc.
TODO: little-endian pbc files missing, preparing a 8_le qemu image to generate them.


  Commit: 99a6e73a6cd7304e8b25b5cdf40371bf729ec1fa
      https://github.com/parrot/parrot/commit/99a6e73a6cd7304e8b25b5cdf40371bf729ec1fa
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M MANIFEST
    A t/native_pbc/Test.pm
    R t/native_pbc/integer.pbc
    M t/native_pbc/integer.t
    R t/native_pbc/integer_2.pbc
    M t/native_pbc/integer_3.pbc
    R t/native_pbc/integer_5.pbc
    R t/native_pbc/integer_7.pbc
    R t/native_pbc/number.pbc
    M t/native_pbc/number.t
    M t/native_pbc/number_3.pbc
    R t/native_pbc/string.pbc
    M t/native_pbc/string.t
    M t/native_pbc/string_3.pbc
    R t/native_pbc/string_7.pbc

  Log Message:
  -----------
  [GH #394] Revamp native_pbc: t/native_pbc/Test.pm

Simplify tests with a common t/native_pbc/Test.pm library.
Delete unneeded pbc files.
Update ppc32 t/native_pbc files.

TODO: endian-conversion fails


  Commit: 883b0eea8cee5ee22bbb55f819ba1ad186d28edf
      https://github.com/parrot/parrot/commit/883b0eea8cee5ee22bbb55f819ba1ad186d28edf
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M MANIFEST
    M lib/Parrot/Test.pm
    M t/native_pbc/Test.pm
    R t/native_pbc/annotations.pbc
    M t/native_pbc/integer.t
    R t/native_pbc/integer_1.pbc
    R t/native_pbc/integer_3.pbc
    R t/native_pbc/integer_4.pbc
    A t/native_pbc/integer_4_be.pbc
    A t/native_pbc/integer_4_le.pbc
    R t/native_pbc/integer_6.pbc
    A t/native_pbc/integer_8_be.pbc
    A t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number.t
    R t/native_pbc/number_1.pbc
    R t/native_pbc/number_2.pbc
    R t/native_pbc/number_3.pbc
    R t/native_pbc/number_4.pbc
    A t/native_pbc/number_4_12_le.pbc
    A t/native_pbc/number_4_8_be.pbc
    A t/native_pbc/number_4_8_le.pbc
    R t/native_pbc/number_5.pbc
    R t/native_pbc/number_6.pbc
    R t/native_pbc/number_7.pbc
    A t/native_pbc/number_8_16_be.pbc
    A t/native_pbc/number_8_16_le.pbc
    A t/native_pbc/number_8_8_be.pbc
    A t/native_pbc/number_8_8_le.pbc
    M t/native_pbc/string.t
    R t/native_pbc/string_1.pbc
    R t/native_pbc/string_3.pbc
    R t/native_pbc/string_4.pbc
    A t/native_pbc/string_4_be.pbc
    A t/native_pbc/string_4_le.pbc
    R t/native_pbc/string_6.pbc
    A t/native_pbc/string_8_be.pbc
    A t/native_pbc/string_8_le.pbc
    R t/native_pbc/testdata/string.pasm
    A t/native_pbc/testdata/string.pir
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  refactor t/native_pbc/ test ids

Parrot::Test had the odd assumption that testing pbc can only be done for
native_pbc tests, and that the tests must be of _<int>++.pbc.
We pass now the filename as first arg to pbc_output_is() and check if it exists.

So we can use now readable test names.


  Commit: 599ff31bc97ae4ecb321050dd5b1dc0f8e4508f5
      https://github.com/parrot/parrot/commit/599ff31bc97ae4ecb321050dd5b1dc0f8e4508f5
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    A t/native_pbc/testdata/annotations.pir
    M tools/dev/mk_packfile_pbc

  Log Message:
  -----------
  mk_packfile_pbc refactor with t/native_pbc/testdata/annotations.pir


  Commit: f7804cfa923d745d15d342f968e1608db1fd663b
      https://github.com/parrot/parrot/commit/f7804cfa923d745d15d342f968e1608db1fd663b
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    A t/native_pbc/testdata/string.pasm
    R t/native_pbc/testdata/string.pir

  Log Message:
  -----------
  mv t/native_pbc/testdata/string.pir t/native_pbc/testdata/string.pasm


  Commit: 769e507308f7a89ead8d60b0c100d094988f9fd7
      https://github.com/parrot/parrot/commit/769e507308f7a89ead8d60b0c100d094988f9fd7
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M docs/project/release_manager_guide.pod
    M t/native_pbc/Test.pm
    M t/native_pbc/integer_4_be.pbc
    M t/native_pbc/integer_4_le.pbc
    M t/native_pbc/integer_8_be.pbc
    M t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number_4_12_le.pbc
    M t/native_pbc/number_4_8_be.pbc
    M t/native_pbc/number_8_16_be.pbc
    M t/native_pbc/number_8_16_le.pbc
    M t/native_pbc/number_8_8_be.pbc
    M t/native_pbc/string_4_be.pbc
    M t/native_pbc/string_4_le.pbc
    M t/native_pbc/string_8_be.pbc
    M t/native_pbc/string_8_le.pbc
    M tools/dev/pbc_header.pl

  Log Message:
  -----------
  Fixed pbc_header.pl, usage docs, improved version tests

Fixed pbc_header.pl to query and update pbc versioninfo in headers.
Improved release manager guide to update native_pbc headers when PBC_COMPAT
was not changed.
Add better skip message to tests when just the Parrot version was bumped, but
bc version matches.
Bumped all native_pbc/*.pbc headers to 4.7.0.


  Commit: 1a5a2756b299b4a627bae967b3dad0be13f50098
      https://github.com/parrot/parrot/commit/1a5a2756b299b4a627bae967b3dad0be13f50098
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M t/native_pbc/Test.pm

  Log Message:
  -----------
  native_pbc: refactor skip messages


  Commit: 84163f0aba87fba859bfbf801adab344fee77a6a
      https://github.com/parrot/parrot/commit/84163f0aba87fba859bfbf801adab344fee77a6a
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M PBC_COMPAT
    M compilers/opsc/Rules.mak
    M compilers/opsc/src/Ops/Emitter.pm
    M compilers/opsc/src/Ops/File.pm
    M config/auto/revision.pm
    M config/gen/config_h/config_h.in
    M config/gen/config_pm.pm
    M config/gen/config_pm/config_lib_pir.in
    M config/gen/makefiles/root.in
    M frontend/pbc_dump/main.c
    M include/parrot/oplib.h
    M include/parrot/oplib/core_ops.h
    M src/ops/core_ops.c
    M src/packfile/segments.c
    M src/pmc/oplib.pmc
    M src/pmc/packfile.pmc
    M t/compilers/opsc/06-opsfile.t
    M t/compilers/opsc/08-emitter.t
    M t/native_pbc/testdata/annotations.pir

  Log Message:
  -----------
  Revive pbc

The parrot utils could not load pbc compatible, but older pbc fils anymore
because opslib directories and the init function hardcoded the parrot version
(even with patch!) and not the PBC_COMPAT version.

Replaced all parrot version triples in the pbc format with the PBC version duple.
parrot utils can now load older but compatible pbc files (again).

Replaced the hardcoded version numbers with c preprocessor macros in the
bootstrapped opslib sources and headers, to be more independent and simplier
implementation. If the ops did not change, the ops do not need to get regenerated
anymore for each version bump.
The Ops::Emitter version method is not used anymore, since bootstrap-ops has
been simplified.

Sanified the Makefile by adding missing dependencies and do proper identation
for depends and commands. Prev. line-broken depends were not visually
indistuingishible from commands, and line-broken commands neither.

Store PBC_MAJOR and PBC_MINOR in the config hash, stored by auto::revision.

Bump PBC_COMPAT to 13.0, the opslib directories store now only two version
numbers, not three.


  Commit: 1a934195b399266a4cd93bb36553567386f63ef4
      https://github.com/parrot/parrot/commit/1a934195b399266a4cd93bb36553567386f63ef4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  fix tools/dev/mk_native_pbc: use new ids


  Commit: fcec6253ea1ae34152c6a8827163fd60823d7955
      https://github.com/parrot/parrot/commit/fcec6253ea1ae34152c6a8827163fd60823d7955
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number_8_16_le.pbc
    M t/native_pbc/string_8_le.pbc
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  regenerate native_pbc for intel 64bit


  Commit: 5ebd7247a45898cc2c87c2333d5362445e5c2302
      https://github.com/parrot/parrot/commit/5ebd7247a45898cc2c87c2333d5362445e5c2302
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  tools/dev/mk_native_pbc comments


Compare: https://github.com/parrot/parrot/compare/cc41bee8bded...5ebd7247a458


More information about the parrot-commits mailing list