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
Fixed instances of: PackFile_new, PackFile_destroy, Parrot_io_putps, Parrot_io_open_handle, Parrot_io_close_handle, Parrot_io_readline, PackFile_unpack, Parrot_io_flush_handle, Parrot_io_puts Add Parrot_pf_unpack. Also fix some format strings.
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.
…es. A program with ASSERT_ARGS is an even happier program.
…is a happy program.
…path for it. That way every time we have a PackfileView we've made a best effort to fill in all fields. Add a get_packfile() method to Sub to get the packfile that owns it. This exposes some subtle errors
…kip some green threads tests on windows since we don't have green threads on windows, yet. I got a test failure in nci.t, but that may be spurious
…ister from the current context
…ew uses that were left of them. These uses are mostly in the various frontends. TT #1910
…iler can clearly see the PMC_IS_NULL macro, but claims the PMCNULL variable is not defined. They are defined in the same file
…rtesy of doughera++
…ect_serialization.c:Parrot_pf_verify_image_string which performs a basic sanity check of an image string before thawing. This image moved from src/global_setup.c where it didn't belong
…s part of that frontend