[parrot/parrot] a6ef19: Deprecate all exported non Parrot_ functions, #112...

GitHub noreply at github.com
Sun Jan 11 22:19:19 UTC 2015


  Branch: refs/heads/smoke-me/exports+depr-gh1122
  Home:   https://github.com/parrot/parrot
  Commit: a6ef194c0de9795a373a08a8619f42796818b64c
      https://github.com/parrot/parrot/commit/a6ef194c0de9795a373a08a8619f42796818b64c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-11 (Sun, 11 Jan 2015)

  Changed paths:
    M api.yaml
    M compilers/imcc/optimizer.c
    M compilers/opsc/src/Ops/Emitter.pm
    M frontend/parrot_debugger/main.c
    M include/parrot/call.h
    M include/parrot/library.h
    M include/parrot/runcore_api.h
    M include/parrot/warnings.h
    M src/call/ops.c
    M src/debug.c
    M src/dynext.c
    M src/library.c
    M src/ops/core_ops.c
    M src/packfile/api.c
    M src/platform/win32/file.c
    M src/runcore/main.c
    M src/warnings.c

  Log Message:
  -----------
  Deprecate all exported non Parrot_ functions, #1122

All remaining exported functions with non Parrot_, PDB_, imcc_, and mem_
prefixes got now Parrot_> prefixes, and the old functions are deprecated.

* PackFile_               => Parrot_pf_ (some)
* dynop_register          => Parrot_dynop_register
* new_runloop_jump_point  => Parrot_runloop_new_jump_point
* free_runloop_jump_point => Parrot_runloop_free_jump_point
* parrot_split_path_ext   => Parrot_split_path_ext
* print_pbc_location      => Parrot_print_pbc_location

See GH #1122

Missing is clone_interpreter from parrotinterpreter.pmc,
and several Packfile_ functions. Only Packfile_destroy is yet deprecated


  Commit: 52866fc8cebfa91ae3622b7a77a84279acff394b
      https://github.com/parrot/parrot/commit/52866fc8cebfa91ae3622b7a77a84279acff394b
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-11 (Sun, 11 Jan 2015)

  Changed paths:
    M compilers/imcc/pbc.c
    M examples/c/pbc_info.c
    M examples/compilers/japhc.c
    M frontend/pbc_dump/main.c
    M frontend/pbc_merge/main.c
    M include/parrot/packfile.h
    M src/debug.c
    M src/ops/core.ops
    M src/ops/core_ops.c
    M src/packfile/api.c
    M src/packfile/segments.c
    M src/pmc/callcontext.pmc
    M src/pmc/continuation.pmc
    M src/pmc/coroutine.pmc
    M src/pmc/exception.pmc
    M src/pmc/exceptionhandler.pmc
    M src/pmc/parrotinterpreter.pmc
    M src/pmc/sub.pmc
    M src/runcore/profiling.c
    M src/runcore/subprof.c
    M src/runcore/trace.c
    M src/thread.c

  Log Message:
  -----------
  PackFile API refactor => Parrot_pf_. See GH #1170

See #1122 and TT #2140

static the unused PackFile_ functions.
rename and deprecate the PackFile_ functions, which are not static.
move the segments functions to segments.c

PackFile_new             => Parrot_pf_new
Parrot_new_debug_seg     => Parrot_pf_new_debug_segment
PackFile_Segment_new_seg => Parrot_pf_new_segment
Parrot_switch_to_cs      => Parrot_pf_switch_to_cs
Parrot_debug_add_mapping => Parrot_pf_debug_add_mapping
PackFile_destroy         => Parrot_pf_destroy
Parrot_fixup_subs        => Parrot_pf_fixup_subs
Parrot_debug_pc_to_filename => Parrot_pf_debug_pc_to_filename

PackFile_Annotations_lookup    => Parrot_pf_annotations_lookup
PackFile_Annotations_add_entry => Parrot_pf_annotations_add_entry

PackFile_Segment_destroy   => Parrot_pf_destroy_segment
PackFile_add_segment       =>
PackFile_map_segments      =>
PackFile_find_segment      => Parrot_pf_find_segment

unexport:

PackFile_Annotations_new
PackFile_ConstTable_*
PackFile_funcs_register


  Commit: 24d0eeff466621bcee678d6447c94c0b00114d4c
      https://github.com/parrot/parrot/commit/24d0eeff466621bcee678d6447c94c0b00114d4c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-11 (Sun, 11 Jan 2015)

  Changed paths:
    M ChangeLog
    M api.yaml
    M compilers/imcc/main.c
    M compilers/imcc/pbc.c
    M docs/embed.pod
    M examples/compilers/japhc.c
    M frontend/pbc_dump/main.c
    M frontend/pbc_dump/packdump.c
    M frontend/pbc_merge/main.c
    M include/parrot/packfile.h
    M include/parrot/warnings.h
    M src/packfile/api.c
    M src/packfile/output.c
    M src/packfile/segments.c
    M src/pmc/coroutine.pmc
    M src/pmc/imageiofreeze.pmc
    M src/pmc/imageiosize.pmc
    M src/pmc/packfileannotations.pmc
    M src/pmc/packfiledirectory.pmc
    M src/pmc/sub.pmc
    M src/sub.c
    M src/warnings.c
    M t/src/warnings.t

  Log Message:
  -----------
  PackFile API refactor part 2. See GH #1170

Finish the PackFile deprecation refactor.

Deprecated:
  PackFile_ConstTable_*
Removed:
  PackFile_Annotations_*, PackFile_ConstTable_*, PackFile_funcs_register,
  PackFile_Segment_*, PackFile_Constant_pack.


Compare: https://github.com/parrot/parrot/compare/a6ef194c0de9^...24d0eeff4666


More information about the parrot-commits mailing list