Changes 102 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269
  1. -*- change-log -*-
  2. Started on CPAN with B-C-1.04_12
  3. The Perl compiler was in CORE from alpha4 until Perl 5.9.4
  4. and worked quite fine with Perl 5.6 and 5.8.
  5. 1.53 2015-12-05 rurban
  6. added 5.22 support, some cperl optimizations and fixed most remaining 5.14 issues
  7. * Bytecode (1.17): removed lastsib bit for 5.21.2-5.21.10, support only moresib op
  8. Add ops for padl, padn, padnl, unop_aux and methop needed for 5.22
  9. * Disassmbler (1.13), Assembler (1.13): support PADNAME and PADNAMELIST for 5.22
  10. * C: fix B::PMOP::precomp for UTF8 (#333, #338, GH#50)
  11. Add 5.22 support with a new unop_aux (multideref) section, methop support,
  12. new support for PADNAME and PADNAMELIST objects.
  13. Removed B::Section which used base. (toddr)
  14. Re-add PL_sv_objcount on cperl
  15. Fixed XSUB CONSTSUB alias (44,45,... PR #228) (atoomic)
  16. and anonymous CVs for 5.22 (#246, #305)
  17. Proper utf8 support for gv_fetchpv, gv_stashpv and cv_get,
  18. cache gv_stashpv calls.
  19. Fix 5.22 for empty hash keys, share_hek("") (272, GH#249)
  20. Fixed refcounts for shared hek's, fixing the notorious unshare_hek assertions
  21. since 5.10 (GH #251, #255). See 1.06: "Had to disable -O1 -fcog (pv_copy_on_grow)
  22. on 5.10 and higher until I find out how to fool S_unshare_hek_or_pvn. This fixes
  23. all C -O1 and -O2 tests. Warn about this."
  24. Fix Inf/NaN support for C (GH#287)
  25. Fix handling of READONLY hashes in 5.22, i.e. use feature (GH#250)
  26. Support custom op Devel_Peek_Dump, added with 5.20 (GH#274)
  27. Defer regex compilation to new init1 for SWASHNEW (GH#273)
  28. Support unicode labels (upstream B bug) (GH#318)
  29. Skip unneeded init-time lexwarn checks,
  30. support optimized cperl PERL_SUPPORT_STATIC_COP (cperl #70)
  31. Fixed overload stringify broken since 5.18 (GH #219)
  32. by adding a mro_isa_changed_in() to the overloaded stash.
  33. Support multiple stash ENAMES, needed since 5.14 (GH #331)
  34. This fixed many old 5.14 limitations.
  35. * CC (1.16_01): Encode unicode labels (GH#318)
  36. * Stackobj (1.12_01): fix Inf/NaN support for CC (GH#287)
  37. 1.52 2014-09-09 rurban
  38. * C: Protect against empty SV ptr in SV magic (\0) with $` with 5.20 (#370)
  39. Save new pmop (?{}) code_list with 5.18 (#372)
  40. Unset PL_use_safe_putenv as in perlmain, which initializes PL_origalen properly,
  41. which fixes setting long a $0 string (#194)
  42. Force Moose when only Class::MOP is loaded to give the needed path hint to XSLoader,
  43. when "Assuming xs loaded $stashname".
  44. * t/test.pl: print @cmd with TEST_VERBOSE
  45. 1.51 2014-08-04 rurban
  46. * C: boot_EV (analog to Coro) SvREADONLY_off its XS symbols (#368)
  47. 1.50 2014-07-23 rurban
  48. * C: fix DBI, special case DBI_MAGIC, call DBI->_install_method to
  49. re-initialize compile-time internal ima pointers (#359)
  50. Skip saving %IO::Handle for *STDOUT, which bloated 5.18 (#361)
  51. Fix XS boot of Class::MOP without Moose, and generalize it to other
  52. xs-loaded modules, which just call bootstrap Module. (#350, #364)
  53. Earlier xs_init for Encode similar to attributes (hack, fixes #32 regression)
  54. Use the system malloc for data being system free'd: cop_warnings,
  55. PMOP->op_pv, sv_debug_file, needed for certain DEBUGGING options.
  56. Fixes Attribute::Handler free errors (#362)
  57. Strip binary BM chunk from comppad names < 5.8.8 (#363)
  58. Save some CvXSUBANY values, esp. relocate any_ptr if possible:
  59. POSIX::is*, DBI, List::MoreUtils::*_iterator.
  60. The any_i32 values are already set in the boot section of the XS.
  61. Fixed initialization of foreign Encodings (#365),
  62. fixed initialization of old Encode versions < 2.58 also (#305)
  63. * CC (1.16): Strip binary BM chunk from comppad names (CC names) < 5.8.8 (#363)
  64. * perlcc (2.20): Strip wrong version-less -I<site_perl> (#366)
  65. * Makefile.PL: Install into archlib on 5.8 and 5.6 (#358)
  66. 1.49 2014-07-12 rurban
  67. * C: Changed IO::Socket::SSL warning to recommend >= 1.995.
  68. 1.996 even has some perlcc specific usage documentation (#317)
  69. Fix PerlIO::scalar XS bootstrap forced by __DATA__ (#360)
  70. We sometimes missed it
  71. 1.48 2014-07-11 rurban
  72. Fixed C walker and 5.18-5.20 Bytecode.
  73. This is the major version which cPanel will use for 5.14.4. With the next
  74. versions we'll start working on -m and buildcc, to split packages into shared libs.
  75. And use B::CC and/or rperl compiled modules selectively.
  76. * C: Make revised -fwalkall the default. Fixes missing dumped method-only packages (#348)
  77. Always save all user-loaded packages. Skip only compiler-loaded packages if
  78. not used by user code. The compiler loads and dumps now additionally only the
  79. heavy parts for utf8 and bytes, and utf8 for m///i, and AnyDBM for dbmopen,
  80. PerlIO::Scalar for __DATA__ handles, and Coro::State::_jit if required, but
  81. nothing else.
  82. Fix for missing RTLD_NOLOAD on BSD, needed for run-time remap of compile-time
  83. XS symbols via dlsym (#351)
  84. Special-case XS loading of Moose.xs from Class::MOP (#350)
  85. Better fix for mult. match once by checking OP_MATCH with ONCE flags in C.xs also (#274)
  86. but there are still some platforms without pmop->op_pmregexp in the C.xs detection runloop
  87. Add op_lastsib bit for 5.21.2
  88. Changed IO::Socket::SSL warning as our patch was rejected upstream.
  89. Need to maintain now a fork cPanel::IO::Socket::SSL to be able to use compiled
  90. IO::Socket::SSL servers. (#317)
  91. * Stackobj (1.12): Harmonize RV checks (fixes cc 105 -O1 and -O2)
  92. * Bytecode (1.16): Replace each %hash with foreach keys in walksymtable also (#307)
  93. Do not store main_cv->START, empty optree since 5.18
  94. Add op_lastsib for 5.21.2, but sort still broken with PERL_OP_PARENT
  95. * Assembler (1.12): error if a PUT method misses an argument
  96. * perlcc (2.19): -B produces again -H bytecode, runnable without -MByteLoader.
  97. Fix default output name from a.outexe to a.exe on a windows-based OS.
  98. * Makefile.PL: fix installation of cc_runtime.h for B::CC
  99. 1.47 2014-06-11 rurban
  100. Fixed Bytecode for 5.18. Fully support 5.18 and 5.20 now.
  101. Greatly reduce code size for C and esp. CC, by including less unneeded dependencies.
  102. * C: detect new Encode >2.58 compile-time usage (#305, RT #94221)
  103. Fix mro maybe::next:: detection (#326)
  104. Fix %INC cleanup logic. Delete packages from %INC only if they were really not saved,
  105. and add packages to %INC which were saved and not just marked for saving. (#340)
  106. Fix lot of skip package logic and consistency parts. Much less packages are now saved
  107. in general which leads to smaller and faster code.
  108. Avoid compile-time compiler internal reloads and redefinitions.
  109. Special-case %warning::Bits on -O3 to not SEGV when changing warnings on run-time loads
  110. on compile-time saved -fconst-string warnings.
  111. Add experimental -fwalkall to add all wanted packages recursively with maxdepth 3.
  112. No tests yet.
  113. Add time and version on top of C source code. Also for CC.
  114. Fix lexical subs for threaded perls (#130, #341)
  115. Add special fixes for Coro: reload Coro jit and SvREADONLY_off some of its XS symbols (#293)
  116. Fix "Eval-group not allowed at runtime" errors since 5.18 (#135),
  117. by settting HINT_RE_EVAL for re-eval groups when compiling the QR
  118. Fix for readonly magic hashes, usually found since 5.20 (#273)
  119. Fix Can't locate object method "bootstrap_inherit" via package "DynaLoader" (#125)
  120. again, as the improved walker now strips DynaLoader from simple one-liners like
  121. 'use Clone' and the DynaLoader detection was too late. Do it now earlier.
  122. * ByteLoader (0.11): fixed filter -H problem with 5.18 (#339)
  123. Disabling the PerlIO_binmode(PL_RSFP, IoTYPE_RDONLY, O_BINARY, 0); hack for [perl #86186]
  124. "Changing filters to be textmode, not binary" fixed the Bytecode problems since 5.18
  125. * perlcc (2.18): Avoid -H for bytecode > 5.18
  126. New --check option
  127. * t/asmdata.t: signicant enhancements
  128. * t/CORE: add mro and re core tests, only mro/isarev.t is unstable, and several re-eval
  129. tests using variables are skipped and unsupported.
  130. 1.46 2014-05-14 rurban
  131. Added global destruction, improved -O4 and CC, fixed mro, @-, $/ $\, Net::DNS, ...
  132. Added mro and re core testsuite.
  133. * C: reset PL_stack_sp on init (was one too far). no effects on code.
  134. Implement global destruction via sv_clean_objs and my_curse on -O3, resp.
  135. prepend static svs PL_sv_arenaroot for sv_clean_objs with a fake sv_list[0].
  136. (#197, #208, #254, #280)
  137. Call DESTROY methods for all our global static SVs (i.e. "global destruction"),
  138. fixes #197, #280, #282
  139. Increment GV->FORM refcounts as they cannot be destructed, analog to CV
  140. Call PL_exitlist functions with -O3
  141. Make the lexical cop_warnings pointer dynamic, because on cv_undef (scope exit,
  142. assign, exit, die, ...) CvROOT and all its kids are freed, ignoring op_latefreed.
  143. The content of the warning is still a static string - and leaks on perl, but
  144. we don't care.
  145. -fwarn-sv is now always set, just not with MSVC on Windows. The warnings are then
  146. directly set, not in a tight loop afterwards, because the value is needed for
  147. the dynamic init.
  148. Fixed lexical warnings on 5.8 (pWARN_STD .. pWARN_NONE)
  149. Improve -O4 by keeping all CvSTART cops
  150. Keep internal packages if used in the source code, e.g. mro (#300)
  151. Fix the order of PerlIO_cleanup, after global destruction (#302, #303)
  152. Since 5.18 padlists are now all dynamic, due to undef issues in non-local exits (#304)
  153. Add -fno-dyn-padlist to -O4 to keep static padlists on 5.18.
  154. Dynamic padlists are needed to prevent from cv_undef crashes on static padlists
  155. when cleaning up the stack on non-local exits, like die or exit or subs on the
  156. compile stack as with Attribute::Handler (#169, #304). Previously only END block
  157. function padlists were dynamic (#298).
  158. Add run-time remap of compile-time XS symbols via dlsym (#305, RT #94069)
  159. Net::DNS includes Encode::XS ascii_encoding, but also init the 3 other encoding ptrs.
  160. Add a fast path for d_dlopen + i_dlfcn systems (i.e. Windows goes the slow init2 route)
  161. Detect new Encode-2.58 which stores encodings better to handle proper
  162. compile-time usage (#305, RT #94221)
  163. Add special SV associations for $/, $@ and $\ (#306, #256)
  164. Save @ISA for all included packages, esp. DynaLoader dependencies (#308)
  165. Replace each %hash with foreach sort keys (#307)
  166. Set ${^GLOBAL_PHASE} with -O3 for END and DESTRUCT (#197, #208)
  167. Do not store invalid GvCV symbols, only cv or &sv_list entries (#313)
  168. Support GvFORM pseudo CVs (B::FM objects) on 5.10 (#149)
  169. Support local $/ = "somestring" (only used empty values before) (#314),
  170. A regression from 1.43
  171. Support local $\ = "somestring" (#318), also a regression from 1.43
  172. Fix special 5.6. associations for $, $\ as they are no SVs there (#306)
  173. Fix wrong caching of internal LEXWARN symbols (#322)
  174. Warn on bad IO::Socket::SSL versions 1.956-1.983 which would SEGV if used as server (#317)
  175. Support __DATA__ blocks in packages without printing wrong warnings (#310)
  176. Support ->(maybe|next)::(method|can) mro method calls (#324, #301)
  177. Support mro c3 (#316)
  178. Support @- @LAST_MATCH_START, the array of the last submatches (#281, #220, #295)
  179. Workaround a 5.18 de-optimization which disabled ++PL_sv_objcount on bless
  180. by adding it if a DESTROY method exists. This will fail since 5.18 if DESTROY
  181. is added at run-time. (#208, #197)
  182. Add new init0 section to initialize -fppaddr ops before init, not afterwards. (#330)
  183. Needed to call utf8::SWASHINIT at init with CALLREGCOMP and /i
  184. Avoid duplicate PL_utf8_tofold ToCf swash initialization with 5.18 (#330)
  185. * CC (1.15): Skip saving non-existing methods analog to B::C 1.43_06 (CC test 50)
  186. Fix failing CopFILE_free and CopSTASH_free in END blocks with threads (#296, CC test 48)
  187. Handle duplicate function names, like multiple END blocks or anon functions (#297)
  188. Replace each %hash with foreach sort keys (#307)
  189. * Bytecode (1.15): Replace each %hash with foreach keys (#307)
  190. * Bblock (1.04): Do not pollute B::CC (find_leaders) with B::Concise
  191. 1.45 2014-02-11 rurban
  192. * t/issue281.t: fix wrong test ($[ vs $])
  193. 1.44 2014-02-10 rurban
  194. added adjusted CORE testsuite for 5.14. passes for 5.14.4-nt, not for 5.18.2-nt
  195. (cPanel code_monkeys)
  196. still missing in general are:
  197. - global destruction (use lexicals!),
  198. - attribute handlers,
  199. - compile-time perlio layers
  200. * C: Fix -O3 with ~ and ~~ formatstrings (#277)
  201. Fix SvLEN and PV ptr for empty shared hash keys (#272)
  202. Use the natural @dl_modules boot order, just put attributes to the front (#259)
  203. Store cop_hints to support lexical numeric hints pragmas,
  204. esp. use bytes and use open attributes
  205. (fixes #81 #152 #174 #176 #180 #185 #224 #235 #238 #241 #245 #253 #255 #256 #277)
  206. Skip saving defined(&cv) subs (#96)
  207. Fix format STDOUT/STDERR (#238, #239, #277, #284, #285, #283)
  208. Save now empty bodyless subs if they exist, for signal handlers,
  209. prototypes declarations and cvrefs (#251, #159, #235, #246, #270, #271, #275, #279)
  210. Fix PVMG PV overwriting the RV, overload sub (#273)
  211. * CC (1.14): Skip saving non-existing methods analog to B::C 1.43_06 (CC test 50)
  212. * perlcc (2.17): Accept -A for -DALLOW_PERL_OPTIONS
  213. * t/testc.sh: Accept -A for -DALLOW_PERL_OPTIONS
  214. 1.43 2014-01-15 rurban
  215. new 5.16, and partial 5.18, 5.20 and windows support.
  216. Many more fixes and testcases.
  217. Bytecode is still broken on 5.18, esp non-threaded. 5.20 looks pretty good though.
  218. * C: Fix -u<module> without file extension.
  219. With hek do not drop FAKE, only for const pv.
  220. Fixed $$ ($PID) to be dynamic, issue 108. Thanks to flexvault for reporting this.
  221. Fixed double precision to 16 digits. The nbody shootout test passes now.
  222. Fixed refcounts of *ENV, issue 111.
  223. Fixed wrong boot_ arg for the xs version check with --staticxs
  224. Better fix for overwriting of @ARGV <O3, test c_argv:1 and c_allow_opts.t:1
  225. Fixed refinition warnings of XS CONSTSUB. Ignore them as they are
  226. loaded later.
  227. Add $dlmodule::VERSION as 2nd arg to boot_$dlmodule resp. $dlmodule::bootstrap
  228. to get rid of the pesky Invalid version format error in xs_version_bootcheck
  229. if the $VERSION had already version magic attached. (no testcase, hard to repro)
  230. perl 5.16.0 shipped a slightly broken B without cop_stashlen. As workaround
  231. we do not support utf8 stashes nor null bytes in stashes on 5.16.0 threaded.
  232. Fixed Null COP storage for 5.16 and 5.17
  233. Fix amagic_generation which was removed with 5.17
  234. Fix ALLOW_PERL_OPTIONS: add -e behind all processed options, not before
  235. Fixed HvAUX init. Previously only with magic hashes, now on all OOK hashes (OOK+SHAREKEYS)
  236. e.g. %warning::Bits
  237. Added support for new PADLIST type since 5.17.4 (with xpadl_id) and 5.17.6 (without)
  238. $^X returns now the real executable name, not just perl or perl.exe
  239. Adjust COW string lengths to hold the COW_REFCNT byte at the end
  240. Fix unicode string CUR and LEN (#142, #162)
  241. Fix unicode hashkeys (HEK) mostly (#200), but not yet testc.sh 2001 (compile-time
  242. stored utf8 heks)
  243. Save HvTOTALKEYS at run-time as max added to the number of run-time added keys (#178)
  244. Fix UV uvuformat on 32bit -Duse64bitint (#145)
  245. op_pmreplstart is now run-time initialized >= 5.10 (#160)
  246. Fixed special usage of magic vars @-,@+,%+,$-,$! (#90)
  247. Fixed wrong REGEXP length for compiled QR data (#143)
  248. Fixed wrong -O3 comparison of strings to numbers (#138,#141, branch new-cog), unified
  249. PV handling, disabled -fcog replaced by -O3 -fconst-strings
  250. Fixed NUL-byte handling in strings by using B::SV->PV instead of PVX (#237)
  251. Storing now bareword filehandles (#148,#149)
  252. Do not create GvGP at all. This also removes the need for newGP() (Windows/AIX)
  253. use Config does not include B anymore, Internals::V now in __ANON__ package
  254. Fixed handling of empty - not successfully autoloaded - CVs (#235, #159, ...)
  255. by storing the SV and XPVCV but ignoring it and defer to run-time get_cv()
  256. Unify handling of static and dynamic strings, use ptr_undef throughout instead
  257. of NULL vs &PL_sv_undef (save_pv_or_rv => savesym, cur, len, pv, static)
  258. Restore $^H, the numeric value of global warnings flags (#193,#207,#243)
  259. Restore more missing globals: ${^UNICODE} ${^UTF8LOCALE} $; $\ $, $/ $" $|
  260. $^A $^L $: $^H $^R $% $- $= if set in a BEGIN block or via cmdline (#256,#231)
  261. Restore even deprecated vars $] $# $* (#171)
  262. Fix HvAUX memory corruption, accessing HvAUX beyond HE fields, esp. with threaded perls.
  263. Initialize now HvAUX backref and mro_meta fields.
  264. Do not boot internal core XS packages twice, refer to internal XS functions dynamically
  265. and do not link to them. Fixes fix Windows/AIX with strict linking.
  266. Defer dynaloaded GvCV initialization after dl_init()
  267. Fixed storage of non-special lexical warnings (#258 warnsize-i258)
  268. Fixed storage of shared heks, support IsCOW_hek (i.e. method names)
  269. Support new ReANY since 5.17.6 (#258 reg_temp_copy)
  270. Support stash symtab magic for PMf_ONCE m?? and reset (#188)
  271. Fixed POSIX overflow constants warnings for DBL_MAX,DBL_MIN,LONG_MIN,LONG_MAX (#262)
  272. Support user-defined static_ext modules, which are already booted from core.
  273. Add more DynaLoader::dl_debug output (set PERL_DL_DEBUG=1)
  274. Enforce -ffold on an ucfirst op or $INC{'unicore/To/Title.pl'} (#242)
  275. Mark empty but overloaded packages (#172). This is merely workaround for reduced testcases.
  276. Set PadnamelistMAXNAMED(comppad_name) needed since 5.19.3 for eval string (#268)
  277. Add new option -fno-delete-pkg to control if to ignore compiler-only dependent packages,
  278. compiler-independent packages are now always saved. Save those package names at Makefile.PL
  279. in @B::C::Flags::deps.
  280. * perlcc (2.14): new option --dryrun, -v5 does not -Dsp,-v
  281. new option -f passthru to C and CC
  282. * perlcc (2.15): fixed default --spawn: use waitpid which was broken for parallel builds.
  283. fixed warning Prototype mismatch: sub main::gettimeofday: none vs () at perlcc line 261
  284. improved --version
  285. added --perlopts to handle -DALLOW_PERL_OPTIONS
  286. * perlcc (2.16): changed output name rules:
  287. Without given output file name we use the name of the input file (in the subdir)
  288. or with -e a.out resp. a.exe and a randomized intermediate C filename.
  289. If the input file is an absolute path on non-windows systems use the basename.
  290. * CC (1.13): Use the B::C integer and double precision logic (ivx, nvx).
  291. Fixed double precision to 16 digits. The nbody shootout is now 2x faster than perl.
  292. Added optimizations: -fno-magic, -fno-autovivify, -faelem
  293. Detect "no autovivification;" pragma.
  294. New -fno-taint, -fomit_taint is deprecated
  295. Fix amagic_generation which was removed with 5.17
  296. Use new perl6 type names: int, num, str. double and string are deprecated.
  297. * Bytecode (1.14): fixed require and op_first, issue 97
  298. Fixed regex_pad offset in threaded perls >= 5.11, issue 68.
  299. New type B::PAD isa B::AV (PADLIST for 5.17.5),
  300. New bytecodes newpadlx, padl_name, padl_sym (PADLIST for 5.17.5)
  301. Fixed CvGV_set causing Attempt to free unreferenced scalar in push_begin (42,43)
  302. Fixed -Do (peek ops)
  303. Renamed option -f to -F for files.
  304. Fixed READONLY magic and restricted hashes, issue 98
  305. Support IsCOW xpvshared strings (>=5.18)
  306. Fixed wrong xpvshared logic (5.10-5.17), issue 138
  307. Optimized away 0=default op and gp flags and pointers
  308. Optimized away default sv_refcnt=1 (GV not), and skip redundant bytecodes
  309. Set PadnamelistMAXNAMED(comppad_name) needed since 5.19.3 for eval string (#268)
  310. * ByteLoader (0.10): set sv_refcnt to 1 in newsv to skip most defaults
  311. * Assembler (1.11): allow "newpadlx 0"
  312. * Disassembler (1.12): use B::Concise op_flags and private_flags
  313. * Stash (1.03): fix compilation for 5.8.8 and below: gv_fetchsv missing
  314. * t/perldoc.t: perlcc fails with 5.8 because Cwd disturbs the
  315. fragile method package finder for File::Spec. Use cc_harness.
  316. 1.42 2012-02-01 rurban
  317. stable up to 5.14
  318. * C: Improved finding methods in parent classes (Warning: method not found),
  319. Save @ISA of those child classes.
  320. Re-implement and simplify my_share_hek, now in terms of share_hek.
  321. PL_strtab hack gone. This fixed the shared_hek destruction
  322. problems.
  323. Turn off CvDYNFILE needed since 5.15.4, use static CvFILE. (DateTime)
  324. * perlcc: perlcc -stash does not hang anymore, renabled t/e_perlcc.t -stash section
  325. * Stash (1.02): '-xs' does not load B anymore.
  326. Now in seperate directory Stash
  327. * Stash/Stash.xs: new with CvIsXSUB() to get rid of B, polluting the stashes.
  328. * Stash/Makefile.PL: new
  329. * Bytecode (1.13): support shared hek (42,43)
  330. * ByteLoader (0.09), ByteLoader/bytecode.h, bytecode.pl: support shared hek (42,43),
  331. added xpvshared
  332. * t/issue95.t: added, isa methods not found
  333. 1.41 2012-01-30 rurban
  334. * t/modules.t: Fixed syntax error
  335. 1.40 2012-01-30 rurban
  336. static PerlIO Layers (e.g. __DATA__)
  337. * C: fixed deferred %INC, %INC is now stored and cleaned up at the end.
  338. Improved __DATA__ handle as PerlIO layer, PerlIO::scalar now
  339. loaded static (test 15).
  340. Defer eval section after dl_init (e.g. for PerlIO::scalar) (test 15)
  341. Check for XSLoader now at the very end (test 27)
  342. Fixed MUTABLE_CV for 5.10.0
  343. Improved 5.8 method lifting for not-found methods a bit (5.8. perldoc.t)
  344. * Bytecode: fixed test 22
  345. Cannot locate object method "fileno" via package "IO::File"
  346. * Makefile.PL: readonly $lib fix for MSWin32
  347. * t/testc.sh: silence ulimit -m warnings + errors
  348. 1.39 2012-01-25 rurban
  349. * C: improved eval AUTOLOAD, avoid some POSIX and Storable .al compile-time
  350. side-effects such as creating files and dirs. First try loading
  351. .al files, only then eval the dangerous AUTOLOAD.
  352. * Makefile.PL: typo in -fav-init2 independent_comalloc detection.
  353. Added LICENSE key, META and the files were not enough to please pause.
  354. 1.38 2012-01-24 rurban
  355. * t/issue93.t: fixed syntax error
  356. 1.37 2012-01-24 rurban
  357. Enabled copy-on-grow strings >= 5.10.
  358. Save %main:: stashes w/o -fno-stash. Switched to git, added github mirror
  359. Fixed hashes and share_hek, when mixed compiled and load-time for >5.8.
  360. Stability: This release is the first which passes almost all tests and
  361. is used in production with --staticxs -O3, but copy-on-grow hek's and
  362. further logical improvements (deferred %INC cleanup) fail so far, so it's
  363. still considered unstable.
  364. * C: save stashes optionally with -fstash, but only values which are also
  365. stashes to avoid a second walker besides savecv, and thus do not
  366. walk into unneeded territory; B::STASHGV (46, issue 79)
  367. New -fno-stash with -O2 to omit stashes which are rarely needed.
  368. Fixed vulnerability to oCERT-2011-003 style DOS attacks. Do not
  369. pre-compute hashes for hv_store(), use fresh random hash seed.
  370. But shared_hek() has a limited API which does not allow this.
  371. UNIVERSAL methods were not correctly stored, which led to method not
  372. found at run-time errors.
  373. New debug option -Dr "runtime" to add debug output to the .c code (as in CC)
  374. New option -Upackage to skip package, mark_skip()
  375. Re-implemented sharepvn via share_hek() and SvLEN=0 (issue 71),
  376. Special FAKE+READONLY handling: LEN = 0 if pv_copy_on_grow or shared_hek.
  377. Fixed !SvIsCOW_shared_hash + FAKE+READONLY conflict (test 13, issue 82).
  378. Shared COW hashkeys which are optimized to static const strings
  379. may not be marked as IsCOW (remove SVf_FAKE).
  380. Re-implemented CORE share_hek with hash=0
  381. Otherwise shared HEK's (post-5.10) come up with duplicate entries
  382. for the same keys; one compile-time created and one run-time created with
  383. a different random hash seed. E.g. observed by such warnings
  384. "Prototype mismatch: sub bytes::length (_) vs (_)"
  385. Added Internals::hv_clear_placeholders XS name exception, similar
  386. to version:: (issue 83)
  387. Store CV prototypes, issue 81 and issue 84 for empty () vs NULL prototypes.
  388. Fixed 5.15.2 hang at hfree_next_entry (issue 78)
  389. Defer writing of READONLY hash keys since 5.15 (issue 88)
  390. Enable -fcog copy-on-grow with static strings for >= 5.10
  391. Improved Errno vs. *main::! and Tie::Hash::NamedCapture vs
  392. *main::+ / - logic (issue 90)
  393. Updated version XS methods, default to noop for (...
  394. Strip version object overload from XS packages (issue 91), XS needs plain PVs
  395. Do not initialize CONSTSUB XS methods twice, boot does it for us
  396. Pass proper cv to XS boot_$name, fixes boot of
  397. Tie::Hash::NamedCapture (issue 86)
  398. Fixed share_hek strings with -O1 (test 13)
  399. Fixed bootstrapping the XS/core part of attributes,
  400. thereby fixed threads tests 41-43.
  401. Fixed most 5.8.[45] problems by ignoring aelemfast SPECIAL pads.
  402. Fixed magic -> PTR when SV (>5.6)
  403. Moved -fsave-sig-hash from -O3 to -O0. You need -fno-save-sig-hash
  404. to disable it.
  405. Removed -fno-stash from -O2, -fno-stash is now the default. You
  406. need -fstash to add stashes. It caused not understood problems.
  407. Fixed saving %SIG signals and more -2 SV magic (issue 92)
  408. Adjusted IO logic, was erronously skipped (issue 59)
  409. inc_cleanup: save only those %INC keys which are stored.
  410. Save ext/mro only if the ext mro methods were loaded, and
  411. utf8_heavy.pl similarly.
  412. Force loading of -u arguments to avoid runtime loading.
  413. Call boot_core_PerlIO, mro, UNIVERSAL and xsutils.
  414. Warn on unsavable IO objects from BEGIN blocks.
  415. Fixed >&STD... handles (issue 93),
  416. i.e. Test::Builder, Test::NoWarnings and parts of the core testing.
  417. See http://blogs.perl.org/users/rurban/2012/01/what-to-avoid-in-begin-blocks.html
  418. Add B::COP::stashflags workaround, >5.15.4 threaded.
  419. Add fix for lost PL_regex_pad, 5.15 threaded.
  420. * CC (1.12): allow overriding of -f<opt> B::C flags.
  421. Skip internal packages with mark_skip (fixes cc_o2 tests).
  422. Move -ftype-attr from -O2 to -O1.
  423. Always define int, double and string package versions, parallel to types.
  424. * Bytecode (1.12): detect Tie::Hash::NamedCapture (issue 90) -
  425. works only partially.
  426. Fixed >&STD... handles (issue 93)
  427. Support -d debugging without -MOd
  428. * Stackobj (1.00_03): add UL or L to overlong integers. doubles
  429. not yet
  430. * perlcc (2.13): added options -O[1-4], -u, -U, --Wc, --Wl, --version,
  431. Keep cfile if output is empty.
  432. Change -o output C file directory and name with -S or -c:
  433. Before in current directory, now in -o directory.
  434. Before with input name, now with -o name.
  435. Add -rpath for all --staticxs libs if supported.
  436. Changed verbosity levels and output wording.
  437. * bytecode.pl: added xio_ifp
  438. * bytecode.h: added BSET_xio_ifp
  439. * META.yml: remove from MANIFEST and repo, let make dist
  440. autogenerate it.
  441. * t/test.pl, t/TESTS: changed test 46 (Exporter:: and other stashes in
  442. %main:: stash) to cover issue 79.
  443. use Exporter; print q(ok) if %main::Exporter::
  444. * t/test.pl: use general comments with optional TODO. Before only TODO
  445. * t/perldoc.t: fixed for 5.8 with manually adding -uFile::Spec -uIO::Handle
  446. * t/issue59.t, t/issue81.t, t/issue90.t, t/issue93.t: added
  447. 1.36 2011-10-19 rurban
  448. lexical warnings and more 5.15 fixes
  449. * C: new B::LEXWARN, fixed representation of lexical warnings which was broken
  450. since 8e01d9a6 5.8.9/5.9.4 (issue 76)
  451. Added section free, use it for lexical cop_warnings (const STRLEN*)
  452. (TODO: static PV, HEK + COPs)
  453. Workaround for utf8::SWASHNEW adjusted to 5.15
  454. PAD* sv flags changed in 5.15.3
  455. XSLoader API changed (HEK in caller i.e.): had to add a
  456. XSLoader::load_file for [perl #101336] >= 5.15.3,
  457. also use mXPUSH for sp instead of 1-arg targ
  458. Set SvLEN=0 for static PVs to skip sv_clear (problem with 13)
  459. Handle overlarge negative 64bit ints, double not yet.
  460. Move -fwarn-sv from -O2 to -O1
  461. Move -fsave-data from -O3 to -O2
  462. Compile *main::DATA IO handle automatically (__DATA__), just package __DATA__
  463. handles need -fsave-data (15)
  464. Die with 5.8.4/5.8.5 threaded with split->pushre on invalid
  465. pmreplroot. This is a core B::walkoptree bug and can not be
  466. easily fixed.
  467. Tests 15 and 103 do not hang anymore, 15 and 29 pass mostly
  468. * C.xs: added -Dts support to runloop to check internal compiler
  469. problems
  470. * t/issue76.t: added
  471. 1.35 2011-10-02 rurban
  472. tested from 5.6.2 until 5.15.3
  473. * C: allow debugging without -MOd=C
  474. improve package_pv detection for methods, two more tests.
  475. detect previously missing packages within the main sourcefile
  476. (50,35,72,73)
  477. -O1 now includes also -fav-init2 and -fppaddr, which are all
  478. stable. -O2 string handling (-fro-inc) still unstable.
  479. added B::REGEXP::save for \$qr (Encode::Alias), issue 71. Still
  480. not fully fixed. Encode::Alias unusable.
  481. fixed empty HV assertions since 5.15, new HV default keys = 7
  482. (3,4,36), but still unsolved 5.15 problem with endless loop in
  483. Perl_hfree_next_entry hv.c:1716 (3,4,36)
  484. workaround 5.15.2 inability to walk with from %INC deleted
  485. stashes, also workaround adding already deleted DynaLoader.
  486. CORE patch [perl #100138] for new 5.15.2-5.15.3 DynaLoader XS_INTERNAL
  487. problem required (16,29,44,45). Fixed with 5.15.4
  488. 0001-Export-DynaLoader-symbols-from-libperl-again.patch
  489. use proper PL_envgv for *main::ENV which is inited in perl_parse
  490. (fixes e.g. CGI apps using run-time values, not compile-time)
  491. * CC (1.11): allow debugging without -MOd=CC
  492. Try to jump from last to unknown label, put labels also onto cxstack.
  493. Fixed cc_last.t test 4, jump out of anonsub, but not across C
  494. functions yet (this is disallowed in C, need to split).
  495. * C.xs: added B::REGEXP::EXTFLAGS (missing from B).
  496. * perlcc (2.12): omit also inc_version_list dirs from perlcc as
  497. leaving them in could lead to unexpected crashes
  498. * t/cc_last.t: Fixed test 2. This works compiled and uncompiled,
  499. but the returned errcode is not compared. Skip if so.
  500. * t/TESTS: add all 5 possible method/sub calls to test 35 =>01234.
  501. See http://blogs.perl.org/users/rurban/2011/06/how-perl-calls-subs-and-methods.html
  502. * t/stash.t: fixed 5.8.8 stashes (overload, threads, ...)
  503. * t/issue71.t: added, but not fixed yet
  504. * ramblings/*.patches: CORE patches added and recommended in README.
  505. * ramblings/blogs-debugging-article[1-4].pod: added to MANIFEST.
  506. * perlcompile.pod, perloptree.pod: improved.
  507. * ramblings/yapceu_2010.pod: added.
  508. 1.34 2011-06-12 rurban
  509. * Makefile.PL: fixed make install < 5.13.7
  510. * issue24.t, test.pl, bytecode.t: TODO more failing tests from cpantesters
  511. 1.33 2011-06-12 rurban
  512. * Makefile.PL: fixed make install > 5.13.7
  513. * test.pl, bytecode.t: TODO more failing tests from cpantesters
  514. * stash.t: fixed freebsd test 4
  515. 1.32 2011-06-10 rurban
  516. more darwin and package scan fixes, Bytecode -i includeall.
  517. all top100 modules can be now be compiled on most perls
  518. * Bytecode.pm (1.11): fixed const xsub xsubany ptr >=5.10 <5.14 (27).
  519. save_cq => save_begin+save_init_end: moved push_begin upfront for the same
  520. init order (44).
  521. add CVf_CVGV_RC flag (refcount) on CV with no backref magic, e.g. END (48)
  522. added option -i includeall which adds no BEGIN require ops, but adds
  523. all included symbols.
  524. better BEGIN block @INC manipulation detection (33)
  525. print newsvx flags if -S or Comment
  526. print hex IV < 8 as int with -S
  527. * C.pm (1.32): check PERL_TRACK_MEMPOOL for AV malloc (25).
  528. fixed init chunk splitting for CV and -fav-init2, if >10000 lines.
  529. fixed overlarge AvFILL=3 of endav. Undefined subroutine &main:: (48)
  530. fixed shared GPs on typeglob assignment. do not gp_free shared GPs,
  531. just set them once.
  532. added try_isa before try_autoload. use mro::get_linear_isa instead of @ISA
  533. mark_package force: detect and fix already discarded packages which
  534. are brought back in directly or by someone else's @ISA. (e.g. Sub::Name
  535. needs DynaLoader::dl_load_flags)
  536. improved method_named package search, still not exact though (LWP)
  537. add manually compiled packages to %INC to avoid a runtime require
  538. special case Config detection, AUTOLOAD = launcher, included by Dynaloader
  539. added -Ds to print all sub names
  540. do not compile any B::C subs, esp. our %SIG handler
  541. add our own Internals::V as it is not exported by libperl
  542. inc the REFCNT of stashes (Path::Class)
  543. * Assembler.pm (1.10): archflag bit 2 for MULTPLICITY
  544. * Disassembler.pm (1.10): archflag bit 2 for MULTPLICITY
  545. use longsize resp. ivsize from .plc not from perl
  546. print newsvx flags
  547. print hex IV < 8 as int
  548. * ByteLoader (0.08): support archflag 2 MULTPLICITY,
  549. [perl #86186] force binary IO for __DATA__ handles, which changed
  550. in core with 5.14
  551. * bytecode.pl: support m for MULTIPLICITY (yet unused)
  552. * Makefile.PL: move cc_runtime.h installation to make install step
  553. (sudo). Tested ok on darwin gcc, does use -I. internally.
  554. * cc_runtime.h: renamed from cc_runtime514.h
  555. * cc_harness: fixed darwin coredir
  556. * perlcc (2.11): fixed darwin coredir.
  557. omit darwin linking to dynamic .bundle - generate .a via libtool
  558. * TESTS: removed END block from test 28, only test run-time require (fixed 28)
  559. added 48 for previous test 28 END block lexvar del_backref failure
  560. added 49 for m//i blowup and -fno-fold testing
  561. added 50 empty @ISA issue 64
  562. * assembler.t: fix for hex->int IV roundtrips
  563. 1.31 2011-03-21 rurban
  564. multiplicity support and more darwin fixes
  565. * C.pm (1.31): replace $ITHREADS by $MULTI (darwin),
  566. my_perl_destruct: disable CopFILE_set NULL and CopSTASHPV_set NULL
  567. on $MULTI, PL_sv_yes|no special on MULTI
  568. * CC.pm (1.10): replace $ITHREADS by $MULTI (darwin)
  569. * t/test.pl, issue34.t, issue35.t: -ofile => -o file (darwin cc)
  570. * cc_harness: -Wl,--warn-once invalid on darwin gcc
  571. * log.modules: encode MULTI without threads as -m
  572. 1.30 2011-03-06 rurban
  573. dbmopen, cc_runtime.h, perlcc, --staticxs
  574. * C.pm (1.30): support dbmopen, fixes issue 24.
  575. fixed xpvmgsect (was xpvsect) !-fcog < 5.10 (YAML, test 41,42,43).
  576. fixed m//i since 5.13.10: swash_init("utf8::Cased").
  577. fixed method_common package_pv detection in most cases.
  578. still two cases open, without tests. PADOP GV NULL 0x20000, GV RV 0x40802.
  579. fixed method_named with >= 1 arg, checking for const PV package_pv (test 35)
  580. support GvCV_set and GvGP_set introduced with 5.13.10. [RT#65630]
  581. implement -staticxs for perlcc --staticxs
  582. either link to found static libs or link to shared lib with
  583. fixed LD_LIBRARY_PATH/PATH (nyi in C, just perlcc).
  584. optimize -fav-init use_av_undef_speedup &PL_sv_undef initialization (again).
  585. reserved -mPackagename (NYI)
  586. added verbose(),module() for CC.
  587. implement outline of -m module, name detection missing.
  588. added -fno-fold recommended since 5.13.9 to omit the huge utf8 tables.
  589. added -fno-warnings, recommended since 5.13.5.
  590. added special workaround for Scalar::Util bootstrapping which did not detect
  591. List::Util, since it is not in its ISA, only required. need a better scan.
  592. fixes test 44.
  593. init XS within Od.
  594. prevent autoloaded STDERR printing on non-debugging perls (e.g. "Storablelogcarp").
  595. * CC.pm (1.09): support dbmopen, issue 24 failing due to XSLoader (test 45)
  596. no pp_name shortnames in embed.h since 5.13.9, use Perl_pp_name(aTHX).
  597. implemented dorassign, fixes issue 45.
  598. fixed XSLoader detection, moved use_xsloader to save_unused_subs()
  599. skip duplicate cc(pp_sub_*) functions (freebsd 45)
  600. added missing END block code (test 28).
  601. added B::C::verbose on -v
  602. fixed B::C::verbose crash by adding B::FAKEOP::fake_ppaddr.
  603. fixed compile_stats
  604. renamed -n module_name to init_name.
  605. check and set -f options from C also.
  606. implement outline of -m module, name detection missing.
  607. added option -fno-name-magic.
  608. added experimental option -ftype-attr.
  609. added TYPES pod section.
  610. added pod for some funcs: load_pad, cc_queue, label.
  611. option -strict only used with DEBUGGING perls.
  612. be less chatty with compiling bblocks.
  613. light layout cleanup of generated code sections.
  614. added Vishal Bhatia <vishal at deja.com> to AUTHORS.
  615. * Bytecode.pm (1.10): support dbmopen, fixes issue 24.
  616. re-added -m, compile as module to .pmc
  617. store AV elems for non-tied AV->MAGICAL >5.6 (i.e. @ISA, ...) (new test 47).
  618. -DA: limcheck PV.
  619. verbosity: added nice1 (condense elements).
  620. name SV indices also.
  621. * Byteloader: support GvCV_set introduced with 5.13.10 [RT#65630]
  622. * perlcc (2.10): fixed -B -r, -B output and run bytecode.
  623. implement --staticxs to workaround DynaLoader problems. use it in t/modules.t
  624. add sopath to PATH on -r. Without -r the sofile should be symlinked so that the
  625. process can find it.
  626. implement --shared and --static, --shared fails on strawberry due to core problems.
  627. implemented getopts bundling: -ScO -e'bla' -v4 -oa is now possible.
  628. disabled some old single-minus switches: -testsuite, -time, -log, ...
  629. requires now double-minus --testsuite, --time, --log, ...
  630. kept legacy handling only for -Wb=.. and -stash.
  631. fixed -B -e'oneliner'.
  632. fixed -B @ARGV, no duplication of @ARGV, c_argv.t 3.
  633. re-added -m|--sharedlib for Bytecode and C (NYI).
  634. print C and CC filtered compiler output.
  635. -v5 adds -v to the compiler options.
  636. -v6 adds -Dfull to the compiler options.
  637. support -Wb= for -B.
  638. fixed -Br for 5.6: add -MByteLoader.
  639. * Stash (1.01): add option xs to print xs modules with -x prefix.
  640. usable via -MO=Stash also.
  641. new option -D for debugging.
  642. omit PerlIO::Layer.
  643. added pod
  644. * Disassembler (1.08): 5.6: fix ldop comments.
  645. add op_type names, add @svnames, add indices, add ldspecsvx type.
  646. * Assembler (0.10): print more flags (as hex) and indices.
  647. better limcheck diagnostics (op,sv,pv).
  648. * cc_runtime514.h: removed from CORE with 5.13.9. [RT#65628]
  649. If so, cp it back. You might need sudo cp. (unchecked)
  650. Renamed not to pollute tests with older perls.
  651. Expanded PERL_MAGIC_taint 't' for 5.6.
  652. * C.xs: added experimental method_cv for the hash-only case, untested.
  653. * t/modules.t: try --staticxs first, try crosscheck without perlcc.
  654. * t/issue24.t: added.
  655. * t/issue45.t: fixed and added 3 more tests.
  656. * t/e_perlcc.t: added to test the new option handling.
  657. * t/testc.sh, t/TESTS: fixed wrong test 39 for 5.8, added 47, 104 (reset), 105 (type-attr).
  658. * t/testplc.sh: added 47.
  659. * t/stash.t: rewritten. allow 5.6, use Test::More, more stable
  660. * t/todomod.pl: added. interactive tool to check log.modules reports and fix TODOs
  661. * status_upd: recommend and fix ./status_upd -f -q -d
  662. -q -d prints only the actual tests
  663. * Changes: added more missing history ca. 1997-2000.
  664. 1.29 2011-01-08 rurban
  665. improve dl_init
  666. * C.pm (1.29):
  667. use DynaLoader::bootstrap_inherit, fixes dl_init when the module has no ISA
  668. DynaLoader. eg. Test::Harness with Time::HiRes
  669. improved CopFILE detection as context for dl_init (test 29)
  670. fix cop_warning cast warnings
  671. print debug messages for beginav and endav
  672. protect against undefined strings, and % in regex
  673. protect against undefined gvcv->GV->EGV (Spiffy)
  674. latefree r-magic regex strings >5.10, fixes a couple of modules
  675. * t/modules.pm: subset use 10 not 11 modules. run tests with -O1
  676. less TODO tests, esp for 5.13
  677. * t/modules.t: fixed binary detection on non-windows (a.out)
  678. * ByteLoader: fixed -Dt for GV
  679. 1.28 2010-12-31 rurban
  680. fixed XSLoader, pmflags, CV and most named methods for 5.14
  681. * Bytecode.pm (1.09):
  682. fixed cv_gv and push_begin del_backref problem (27, ...) > 5.13
  683. special cased op_pmflags: U32 needed since 5.13 (PMf_BASE_SHIFT)
  684. Fixes op_pmflags since 5.12 ((3..4,27..29,31,33), esp. pp_subst
  685. start for Windows 5.12 cop_store_label workaround: Labels disabled for now.
  686. Failed to include CORE hv.c: too large.
  687. mingw 5.12 compiles now again and passes all but 21,33,42..44
  688. Fixed entrytry with Bytecode >= 5.12:
  689. ck_eval upgrades the UNOP entertry to a LOGOP, but B gets us just a
  690. B::OP (BASEOP)
  691. add BEGIN { push|unshift @INC } parts of blocks (test 33)
  692. * Byteloader (0.07):
  693. Support new CvSTASH_set.
  694. Basic op_pmflags U16/U32 support. No version conversion yet.
  695. BSET_gv_fetchpvn_flags: new for empty constant prototypes (fails on 64bit only)
  696. * C.pm: add -fno-destruct (with -O3) with a minimal perl_destruct,
  697. (re-enables -fcog >= 5.10),
  698. add -fro-inc (with -O2) readonly INC and curpad strings,
  699. add -fconst-strings (with -O3) const readonly strings
  700. and const more other fixed strings,
  701. do not boot static core packages (utf8, re, ...),
  702. fixed -O2/-fav-init2: store at wrong avchunk index,
  703. initialise CopFILE and CopSTASHPV static with ITHREADS
  704. improved 5.13 method_named package detection (first and pmreplroot),
  705. in endav still failing (Test::Deep)
  706. fixed overwritten CvSTART for 5.13.x
  707. do not cog/const nullify vars in END blocks
  708. disallow CONST->op_first with CONST_BARE. fixes ExtUtils::Install
  709. better XSLoader::load detection: aliases and defined in END blocks
  710. save XSLoader::load GV (test 46 and modules)
  711. bootstrap also static core packages
  712. add ptr_undef instead of NULL initialization non-threaded
  713. fix many cast warnings
  714. fix AV fill +1
  715. required to run C.xs runloop to find PMOPs for QRs
  716. Fixed entrytry >= 5.12 as in Bytecode:
  717. ck_eval upgrades the UNOP entertry to a LOGOP,
  718. but B gets us just a B::OP (BASEOP)
  719. Fixed XSLoader, loading dynamic modules works now (test 45),
  720. had to set the .pm path in the calling context.
  721. * CC.pm (1.08): many fixes
  722. use new B::C optimizations, new -DF
  723. fixed issue 31 also run C.xs runloop to find PMOPs for QRs,
  724. fixed issue 35 same variable name in different scope (Heinz Knutzen),
  725. fixed issue 36 panic: leaveloop, no cxstack (Heinz Knutzen)
  726. fixed issue 37 orassign (Heinz Knutzen)
  727. fixed issue 38 on and/or return value not just no/yes (Heinz Knutzen)
  728. fixed issue 39 Bizarre copy of ARRAY in leavesub (Heinz Knutzen)
  729. fixed issue 42 remove enter/leave from %no_stack (Heinz Knutzen)
  730. fixed issue 44 aelemfast missing for lexicals (Heinz Knutzen)
  731. fixed issue 47 anonsub in while (Heinz Knutzen)
  732. fixed issue 48 wrong truth value for array assignment in boolean
  733. context (Heinz Knutzen)
  734. fixed issue 49 Can't "last" outside a loop block (Heinz Knutzen)
  735. fixed issue 51 errors on nested if statement with test on multiple variables
  736. (Heinz Knutzen)
  737. fixed issue 52 errors on variable with numeric value used in second
  738. expression of 'and' (Heinz Knutzen)
  739. add labels for alternate ops (e.g. run-time jumps). Not sure yet if the
  740. full alternate subtrees are saved. fixes test 32 (push_label, pop_label),
  741. issue 46. resolve duplicate such labels.
  742. honor $ENV{'PERLMODS'} (by cPanel)
  743. * Disassembler.pm (1.07): read over #! + use Bytecode .plc header.
  744. support pmflags
  745. * Assembler.pm (1.09): support pmflags
  746. * perlcc (2.09): added cc time for --time.
  747. same INC as in caller - omit duplicates
  748. * cc_harness: improve -Bstatic
  749. * t/testc.sh: simplified. Fixed various wrong tests
  750. * t/testm.sh: fixed UAC issues on Win7
  751. * t/test.pl: new faster test functions for the new issues
  752. * t/issue27.t: added (Reported by alexchorny, Apr 25, 2010)
  753. * t/issue29.t: added (Reported by Heinz Knutzen)
  754. * t/issue31.t: added (Reported by Heinz Knutzen)
  755. * t/issue34.t: added (Reported by Heinz Knutzen)
  756. * t/issue35.t: added (Reported and partially fixed by Heinz Knutzen)
  757. * t/issue36.t: added (Reported and fixed by Heinz Knutzen)
  758. * t/issue37.t: added (Reported and fixed by Heinz Knutzen)
  759. * t/issue38.t: added (Reported and fixed by Heinz Knutzen)
  760. * t/issue39.t: added (Reported and fixed by Heinz Knutzen)
  761. * t/issue42.t: added (Reported and fixed by Heinz Knutzen)
  762. * t/issue44.t: added (Reported and fixed by Heinz Knutzen)
  763. * t/issue45.t: added (Reported by Heinz Knutzen), dorassign missing
  764. * t/issue46.t: added (Reported by Heinz Knutzen), fixed by r610
  765. * t/issue47.t: added (Reported and fixed by Heinz Knutzen)
  766. * t/issue48.t: added (Reported and fixed by Heinz Knutzen)
  767. * t/issue49.t: added (Reported and fixed by Heinz Knutzen)
  768. * t/issue50.t: added (Reported by Heinz Knutzen)
  769. * t/issue51.t: added (Reported and fixed by Heinz Knutzen)
  770. * t/issue52.t: added (Reported and fixed by Heinz Knutzen)
  771. * t/issue54.t: added and fixed
  772. 1.27 2010-07-30 rurban
  773. Fixed 1.26 CV regressions for 5.8 and 5.10
  774. * C.pm: add -DF print stringified sv and op flags.
  775. fixed xpvio off-by-one error for 5.10 (test 29)
  776. rewrote XPVCV forwards for >=5.10: (fails before)
  777. 1. only the SV is now forwarded, not the struct.
  778. 2. no duplicate SVs, the CV forward is just a link to one SV (#define CVIX)
  779. removed wrong CVf_ANON check causing CV failures (test 9,10,12). 5.13.3 still failing
  780. fixed CV svsect for 5.8 and 5.10
  781. * Bytecode.pm (1.08): removed wrong CVf_ANON check causing CV failures (test 9,10,12,...)
  782. * perlcc (2.08): added --time, support vprint -1
  783. * t/test.pl, t/bytecode.t: double check failing tests if it works uncompiled
  784. * t/testc.sh: add -D- for no gcc warnings
  785. added -f for testing single optimizations
  786. * t/testm.sh: add -D<args> flags for compiler debugging and link with -g
  787. added -T for perlcc --time
  788. * t/c_argv.t, script/perlcc: properly quote spaces in path of perl and `cwd`/blib
  789. * t/modules.t: add svn rev to B::C::Version
  790. 1.26 2010-07-26 rurban
  791. Start of 5.14 support, CVs broken.
  792. * C.pm: improve -fav-init performance if not usemymalloc: no
  793. calloc, just direct libc malloc.
  794. -O2 uses -fav-init2, i.e. experimental independent_comalloc(),
  795. -O1 uses now -fav-init (Nick Koston + Reini Urban)
  796. Mark a package which is autoloaded from XS.
  797. Fix autoloading of constants AKA const xsubcv via AUTOLOAD [test 27] (Nick Koston)
  798. 5.13.3 support (xpv STASH, MAGIC, ... reorganization), but CVs still failing
  799. Check CVf_ANON when setting cv->GV. Fixes anon subs.
  800. Do not call REGEXP IVX and NVX methods (since 5.11)
  801. * bytecode.pl: CvGv_set since 5.13.3
  802. Fixed byteorder 0x stripping causing wrong bget_swab on 64bit
  803. * B::C::Flags: new. added by Makefile.PL probing independent_comalloc()
  804. * CC.pm: the default -fno-slow-signals adds PERL_ASYNC_CHECK at
  805. the same ops as with 5.13, a major improvement.
  806. * Bytecode.pm (1.07), bytecode.pl: xpvav.xiv_u was removed with 5.13.2 but not
  807. used anymore. read and set av_flags only until 5.12, compile only before 5.10
  808. Check CVv_ANON when setting cv->GV. Fixes anon subs
  809. * bytecode.h: do not PM_SETRE with empty arg. fails since 5.13 debugging
  810. * t/testc.sh, t/TESTS: fail test 44, change threads tests 41-43 to TODO
  811. * perlcc (2.07), cc_harness, t/test.pl: debian specific fixes for their broken
  812. -lperl linker args for ExtUtils::Embed::ldopts.
  813. * t/test.pl: Have complete c/cc TODO/SKIP status in one place.
  814. Fixed killing hangling tests with IPC::Run.
  815. Fixed new cc TODO.
  816. Run CC test 18 even not as AUTHOR
  817. * t/c*.t: make test 27 easier to debug (Nick Koston)
  818. Added test 45 (Nick Koston)
  819. 1.25 2010-04-11 rurban
  820. * C.pm: remove global my_perl, pass it properly around.
  821. * t/c*.t: added test 40 \000 byte in PV failing on ori 5.6.2 (Nick Koston),
  822. added more magic tests for shared vars - n,p,P magic: 39-43. 41 nyi
  823. * t/modules.t: fix -t (run module tests), print header only on full test
  824. * t/modules.pm: do not test core or deprecated modules, esp. do not download perl
  825. Added is_subset.
  826. * t/testm.sh: implement -k
  827. * t/testc.sh, t/TESTS: add 44 for weaken import and magic_killbackrefs #72922
  828. 1.24 2010-02-15 rurban
  829. * C.pm: Fixed off by one array access in magic array init (34)
  830. - valgrind is your friend.
  831. Fixed aelemfast padsv access crash (Text::Tabs on freebsd7)
  832. Fixed wrong stash names in gv_stashpv analog to gv_fetchpv
  833. (Text-Tabs+Wrap t/dandv.t)
  834. * t/testm.sh: implement -s without log file
  835. * t/modules.pm: export skip_modules, silence module scanning STDERR
  836. 1.23 2010-02-14 rurban
  837. * t/testm.sh: chmod +x
  838. * t/modules.t: fix $have_IPC_Run
  839. 1.22 2010-02-14 rurban
  840. Tested with ActivePerl 5.10.0
  841. * bytecode.h: unshare_hek exception for WIN32, not only MINGW
  842. * t/modules.t: Added list of to be skipped modules, which cycle endlessly.
  843. Improve todo message.
  844. * t/testm.sh: add option -s "install skipped modules"
  845. * Makefile.PL, cc_harness, perlcc: fix ldflags for ActivePerl 5.10.0
  846. for MSVC6 (ccversion 12) -opt:ref,icf leads to invalid outfile "pt:ref,icf"
  847. * c+cc test 29 fails on 5.10 randomly. Make it a TODO
  848. 1.21 2010-02-14 rurban
  849. * C.pm: Add missing Nullop for CC on 5.11.4 (cc 12).
  850. Test 38 passes
  851. 1.20 2010-02-14 rurban
  852. * C.pm: #define PERL_CORE broke Null macros on 5.11.4. Define those.
  853. 1.19 2010-02-13 rurban
  854. Almost fixed evaltry (12) with proper cop_seq setup, just solaris and debian
  855. fail sometimes. Tested ok with strawberry 5.10.1
  856. * C.pm: fixed evaltry (test 12) mostly, NVX was shared with 2 xpad_cop_seq ints
  857. which accidently just worked before 1.17 with %s, but not after changing
  858. to the %g representation.
  859. Ignore unused random (overlong) xpviv IV, causing
  860. "warning: this decimal constant is unsigned only in ISO C90"
  861. Defer rv => cv to run-time < 5.10. Fixes ExtUtils::Install
  862. Defer xpvmg->pv init to run-time < 5.10. Fixes MooseX::Types
  863. Check for NV inf. Fixes compilation of DateTime
  864. Defined PERL_CORE: Fxied Windows problems with setjmp undef'ed in XSUB.h
  865. Added Win32 workaround for missing PL_do_undump
  866. Stripped perl_ prefix from perl_get_cv, perl_call_pv, perl_call_method
  867. * CC.pm (1.07): added -fslow-signals.
  868. Disabled inlined pp_enter: Fails on empty cxstack.
  869. Backed out inlining of enterloop: GIMME_V fails on freebsd7
  870. Remove strawberry PerlProc_setjmp definition, #define PERL_CORE fixed that
  871. * Bytecode.pm (1.06): same NVX => xpad_cop_seq fix as in C.pm, added 2 new
  872. bytecodes (cop_seq_low, cop_seq_high), fixed tests 9,10,12. Passes
  873. all tests > 5.6 now.
  874. * bytecode.pl: added cop_seq_low (155), cop_seq_high (156) instead of xnv.
  875. No conversion code for loading older bytecode needed, but fragile (double => 2 int)
  876. * t/modules.t: refactored by Todd Rinaldo (toddr). 4*tests per module:
  877. -s a, exitcode 0, ok, no warnings on stderr
  878. * t/TESTS: added 38, failing on CC (Nick Koston).
  879. added 39, failing everywhere.
  880. * t/test.pl: refactor: Try to timeout on all tests (compiler and exec) if
  881. IPC::Run is installed
  882. * MANIFEST, *.pod: Moved conference pods to ramblings,
  883. removed lib/B/Asmdata.pm again, added t/qr_loaded_module.pm
  884. * t/testm.sh, t/modules.pm: added, -t not working yet though
  885. * t/b.t: $[ => $]
  886. 1.18 2010-02-06 rurban
  887. evaltry (test 12) still broken on most systems.
  888. * C.pm, C.xs: fixed r-magic for 5.6 (ExtUtils::Install,
  889. File::Temp, Template::Stash). need tests for run-time checks (33).
  890. 5.6 misses MG->pregcomp
  891. * t/modules.t: check for a.out (test from toddr)
  892. * Makefile.PL: create lib/B/Asmdata.pm beforehand (toddr)
  893. * ByteLoader: fixed duplicate + missing bl_header for bsd and Darwin
  894. (test from toddr)
  895. * test 37 added - AV self-refs, analog to HVs (never failed, just to
  896. be sure).
  897. Removed -qq from 5.6 tests.
  898. 1.17 2010-02-03 rurban
  899. Fixed now most module failures, non-threaded at least: bootstrap was in
  900. the way. strawberry perl fixes. Fixed test 29, broke evaltry test 12
  901. * C.pm: Added option -Dfull for all full debugging info, set all options.
  902. Skip saving XS bootstrap. Fixes most XS module failures. i.e.
  903. Digest::MD5, Data::Dumper, ..
  904. Fail: Attribute::Handlers, B::Hooks::EndOfScope, YAML, MooseX::Types
  905. 4 for 5.8.9-nt from the top100, and 3 for 5.11.4-nt: Attribute::Handlers,
  906. File::Temp, ExtUtils::Install.
  907. Fixed AV self-references causing endless loops, analog to HVs (test 27)
  908. Fixed Getopt::Long crash with AV D magic (regdata),
  909. save_magic returns now the magic types as string.
  910. Fixed unescaped savere (test ExtUtils::Install).
  911. Fixed GvSTASH "initializer element is not constant" (Test::Harness)
  912. Fixed xrv_list "initializer element is not constant" (Class::MOP < 5.10)
  913. * CC.pm (1.06): Added missing unexported definitions for MSWin32,
  914. >=5.10: newGP, vivify_ref, prepare_SV_for_RV (tests 18, 29).
  915. PerlProc_setjmp, PerlProc_longjmp (tests 12, 32).
  916. Fixed cxinc for 5.11.0
  917. * t/bytecode.t: mixed up 32 with 33.
  918. * t/modules.t, t/top100: new module test, see also the log.modules*
  919. results in the svn repo.
  920. * t/mymodules: added as reference, executed optionally.
  921. * script/cc_harness: ldopts -std if no -B<opt>
  922. 1.16 2010-01-27 rurban
  923. use Moose and benchmark still fails. IO even a regression.
  924. * C.pm: Fixed braces warning for empty xpvcv startfield (Nullany),
  925. register int for warn_sv loop
  926. Fixed hv init for magic hashes, pre-allocate array and xpvhv_aux. (test 34)
  927. Fixed method_named (CPAN #53889, test 35) for B::C, better fix than for B::CC.
  928. Added -DH for HV debuggging.
  929. Fixed HV self-references causing endless loops, i.e. with use Moose, test 36.
  930. * CC.pm (1.05): added experimental -finline-ops. Always on. Can be removed if
  931. it works okay for the new inlined versions.
  932. Inlined pp_enter, pp_reset, pp_regcreset, pp_stringify.
  933. Fixed pp_padsv DEREF for 5.10.
  934. Documented test coverage for each op.
  935. Fixed wrong $PERL511 definition.
  936. Added Opcodes support (no_stack), on CPAN as 0.01.
  937. added pp_pushmark pp_break pp_continue to no_stack handling.
  938. Fixed method_named (CPAN #53889, test 35) assuming there is only const
  939. before method_named. No counter examples found so far.
  940. Changed new OBJ => OBJ->new
  941. More curcop->write_back protection.
  942. * Stackobj.pm (1.00_02): RV fix for 5.11.
  943. * t/testc.sh, t/test.pl: added CC specific tests to increase CC op coverage
  944. after 100.
  945. Switched test 32->101 (arith) with 33->32 (evaltry catch die) as it fails
  946. with 5.11.3.
  947. Added new qr test 33 (Nick Koston), test 34 for magic hashes, test 35 for
  948. broken methodcall syntax (method_named), test 36 for HV self-references.
  949. * TESTS: added test 32 (evaltry catch die): Fails on 5.11.3 C/CC only,
  950. <5.11.3 it works okay. Also tests 33, 34, 35, 36.
  951. * ByteLoader/Makefile.PL: removed cygwin gcc specific stack-protector removal.
  952. It was a bug of mine.
  953. Added more AUTHOR gcc -ansi warnings, just -pedantic not.
  954. * Makefile.PL: Added more AUTHOR gcc warnings, also -pedantic.
  955. Added optional Opcodes PREREQ_PM
  956. 1.15 2010-01-03 rurban
  957. * t/test.pl: Fixed MSWin32 tests again. Lost the 1.13 patches with 1.14.
  958. 1.14 2010-01-02 rurban
  959. * CC.pm (1.04): Fixed entereval/leaveeval for 5.10. Fixes eval "", test 12.
  960. The end of the string CALLRUNOPS needed to be nullified, as in 5.8.
  961. 5.11 CORE also needs a patch for this.
  962. Optimized away SP save/restore for %no_stack ops. Need to read this
  963. from opcode.pl eventually.
  964. PERL_ASYNC_CHECK (pending signals) added after every basic blocks with -O1
  965. and every loop.
  966. * C.pm: More 5.10 union braces.
  967. * Stackobj.pm (1.00_01): Added iv and nv to peek.
  968. Added documentation.
  969. * Bblock.pm (1.03_01): Print the argument (sub) to inspect.
  970. Added missing documentation.
  971. * t/testcore.t: improved. added -fail and a list of failing tests.
  972. C now always with -O3.
  973. * t/c_allow_opts.t: Added for -DALLOW_PERL_OPTIONS.
  974. 1.13 2009-12-31 rurban
  975. Tested with MSVC (MSVC compiles test29 and bigger examples awfully slow!
  976. 7:30min, 30MB mem, 98% CPU, 2GHz)
  977. * C.pm: MSVC fix for "(OP*)Nullany" i.e "(OP*){0}" => "{0}". Fixes
  978. test 27 on MSVC. CC test 12 broken on MSVC AS 5.8
  979. * bytecode.pl: Restore C strictness, printf before declaration.
  980. Undefine debop for MSVC also. Fixed [cpan #53228].
  981. * t/test.pl: Cleanup intermediate MSVC .obj. Skip too slow tests 29
  982. on MSVC, only c.t
  983. Remove >nul for test results on Win32.
  984. More run_cc_perl fixes for Win32.
  985. Be more quiet on MSWin32 also (no 2>/dev/null)
  986. Skip stderr redirection to stdout on cmd.exe tests, t/o.t 5,9.
  987. * t/bytecode.pl: ditto.
  988. * t/TESTS: Fixed 28 for MSWin32 MSVC
  989. 1.12 2009-12-31 rurban
  990. __DATA__ handles work now. Also more Bytecode fixes.
  991. * t/testplc.sh: Added -S: skip all but -S and Concise
  992. * Bytecode.pm (1.05): Adapt RV 5.11 change from SV to IV, detect ROK at
  993. B::IV::bsave analog to C.pm. Fixes test 16.
  994. Set prototype sv_flags at first, so it cannot assert. Fixes tests 27 and 29.
  995. More work on 5.6 compat.
  996. * bytecode.pl: Fixed 5.6 %alias_to sizes.
  997. * bytecode.h: Fix BSET_cop_label for 5.11. Fixes test 21.
  998. * t/bytecode.t: Added DEBUGGING to the mix. 5.11 is now completely the
  999. same as 5.10. Remaining failures are now 9,10,12 for DEBUGGING (or
  1000. non-threaded?).
  1001. * C.pm: Added xpvuv (coverage in 5.6.2 test 21).
  1002. Added PMOP->pmstash/pmstashpv (no coverage yet).
  1003. Checked against -Wall -Wextra:
  1004. Added missing pmop->stash for 5.8.
  1005. Added missing cop->cop_io for 5.8.
  1006. Added braces to union inits (MSVC Todo).
  1007. Remove unused dTARG and dSP.
  1008. Fixed CC test 29 on 5.6.2, not checked why.
  1009. Fixed __DATA__ test 15 on 5.10 and 5.11.
  1010. * TESTS: Updated with 5.10.1 CORE results
  1011. 1.11 2009-12-29 rurban
  1012. Fixed 5.11 RVs, added C optimizations to CC
  1013. * C.pm: Adapt RV 5.11 change from SV to IV, detect ROK at B::IV::save.
  1014. Fixes test 16.
  1015. Added -DW for walk, together with -Dp only.
  1016. Forced fullname optimization scalars for B::CC.
  1017. Export save_sig and fixup_ppaddr for CC.
  1018. * CC.pm (1.03): Fixed Perl_gv_SVadd cast warning.
  1019. Added most B::C optimizations. This fixes all threaded tests 15 >= 5.10.
  1020. Call save_sig, fixup_ppaddr not yet.
  1021. * t/test.pl: simplified (and fixed) keep logic
  1022. * t/c_argv.t: cleanup
  1023. 1.10 2009-12-29 rurban
  1024. Fixed @ARGV
  1025. * C.pm: fixed couple of minor bugs detected with new t/testcore.t:
  1026. t/CORE/comp/retainedlines.t => Use of uninitialized value $len, save_hek
  1027. Use of uninitialized value $i in printf at C.pm line 49
  1028. Undefined value assigned to typeglob at C.pm line 2901
  1029. Do not overwrite run-time @ARGV on >= 5.10 (GP and AV). Fixes test c_argv.t
  1030. * t/testcore.t: added
  1031. * t/c_argv.t: added. test @ARGV and perlcc
  1032. * perlcc (2.06): grab_stash only via new -stash, not automatically;
  1033. B::C is better.
  1034. ldopts -std only when modules are given.
  1035. fix for empty options.
  1036. add -sharedxs, -sharedlib; -shared is now for shared linkage,
  1037. -sharedlib to create a shared lib (was -shared before but never worked),
  1038. -sharedxs to also link shared xsubs, no run-time DynaLoader/XSLoader needed.
  1039. 1.09 2009-12-27 rurban
  1040. * C.pm: Cut down the number of AUTOLOAD'ed optrees, search only on
  1041. empty gv->cv (31).
  1042. Added very unsafe -O4/-fcop to eliminate most cops and file + line numbers.
  1043. Added faster -fav-init to -O2, less unneeded av_extend().
  1044. Get rid of fbm_compile (11). Only 5.8.9 is broken.
  1045. * CC.pm (1.02): partially fix eval "" for >=5.8.9, wrong CORE cc_runtime.h
  1046. definition. (test 29 - eval "")
  1047. * t/test.pl, t/c*.t: Simplify C/CC testsuite.
  1048. * t/testc.sh: fixed -E
  1049. Added -o for orig, no -Mblib
  1050. * t/c_o3.t, t/c_o4.t: added
  1051. 1.08 2009-12-23 rurban
  1052. Adapt coding guidelines, add C and cperl coda. Reformat sources.
  1053. * C.pm: Detect AUTOLOAD and CLONE (test 27 and 31).
  1054. 5.10 is now the best release for unoptimized B::C. 5.8 is faster optimized,
  1055. but misses some autoloaded xsubs.
  1056. Simplify PVMG exclusion; all non-magical, not just PAD_OUR, as in Bytecode.
  1057. * Bytecode.pm (1.04): Add missing BM logic to GV >= 5.10. Fixes test 11.
  1058. Fixed op_pmflags logic for 5.10 threaded only, no += 2. Fixes test 2.
  1059. Protect empty match from setting op_reflags. Fixes test 20.
  1060. Add perlversion to the -S generated header.
  1061. Document more options -TI, -TF, -u<package>
  1062. * perlcc: improve help. use Pod::Usage as module, not via cmdline.
  1063. fix previous installation quirks.
  1064. * assemble: improve pod. make it installable.
  1065. * disassemble: make it installable.
  1066. * cc_harness: ditto.
  1067. * Makefile.PL: added script/* as EXE_FILES to install them.
  1068. * t/TESTS, t/testc.sh, t/testplc.sh: test 31 non-xs AUTOLOAD added
  1069. * ByteLoader/Makefile: tuning, bytecode.h triggers now byterun.c
  1070. * bytecode.h: Specialize pregcomp on 5.10; add PL_regex_pad[0] for
  1071. pregcomp if missing. fixes tests 3,4,5,7,31 on 5.10.
  1072. 1.07 2009-12-19 rurban
  1073. * C.pm: fix fbm_compile (INDEX) for >= 5.10. gv_list is already a pointer.
  1074. rewrite PVGV (ie PVBM) init for >= 5.10. (test 11)
  1075. Added CV->save_magic (untested)
  1076. Fixed two wrong my decelarations detected by the new Od debugger.
  1077. * README: Clarify DIFFERENCES section for CC only. Esp. the
  1078. Context of ".." section. New test 30
  1079. * t/TESTS, t/testc.sh, t/testplc.sh: test 30 added for Context of ".."
  1080. * t/testc.sh: fix -k logic, keep .pl for -O tests
  1081. 1.06 2009-12-18 rurban
  1082. Going public on the Perl birthday
  1083. The first public compiler re-release since it was removed from CORE.
  1084. * C.pm: Had to disable -O1 -fcog (pv_copy_on_grow) on 5.10 and higher
  1085. until I find out how to fool S_unshare_hek_or_pvn. This fixes all C
  1086. -O1 and -O2 tests. Warn about this.
  1087. Fix wrong RV init on *5.10* for test 29 also, as with 5.11.
  1088. Simplify __DATA__ handling. Warn when -O3 or -fsava-data is missing.
  1089. Enable working -fsava-data on 5.8 and 5.10 threaded. Fixes couple of tests 15.
  1090. Fix 5.8/5.10 PVMG pv = &PL_sv_undef for empty comppadnames
  1091. * t/testc.sh: -k keep added. Delete temporaries on PASS as new default.
  1092. -E added. Dump preprocessed source file with cc -E as _E.c (was default before)
  1093. * Version bump to official:
  1094. B::C 1.06 (1.05 is in 5.8.9)
  1095. B::CC 1.01
  1096. B::Bytecode 1.03
  1097. B::Asmdata 1.03
  1098. B::Assembler 0.09
  1099. B::Disassembler 1.06
  1100. B::Bblock 1.03
  1101. ByteLoader 0.07
  1102. 1.04_33 2009-12-17 rurban
  1103. * t/cc*.t: skip some memory eating failing tests.
  1104. * MANIFEST: dummy lib/B/Asmdata.pm added to fix cpan smokes on BSD.
  1105. Thanks to Slaven Rezic.
  1106. * C.pm: fix tests 14,16,23 on >=5.10, missing AV magic for
  1107. CV main::a, protect PVMG from SvPAD_OUR.
  1108. fix wrong RV init on 5.11 for test 29
  1109. * CC.pm: fix ARGS >=5.10 (in require, test 28).
  1110. Enable quiet. No -q for quiet, just -v (verbose) or any -D switch turns
  1111. on verbose.
  1112. * t/testc.sh: Added test 27 (import), test 28 (require), test 29 (use)
  1113. [Nick Koston]
  1114. 1.04_32 2009-12-14 rurban
  1115. Only two 5.10 B::C bugs remaining!
  1116. * C.pm: added missing FBM logic to GV >= 5.10 (test 11).
  1117. Forbid MAGIC on non-magival SVs >= 5.10 (tests 14 + 23).
  1118. Special PVMG PL_sv_undef string. (namesv problem on 10,14,23)
  1119. 1.04_31 2009-12-14 rurban
  1120. * C.pm: fix test 21 on 5.10 "Bad free() ignored". Dynamically
  1121. allocate CopLABEL.
  1122. * Makefile.PL: fix the make depend section > 5.9
  1123. * t/testc.sh: fix -D option
  1124. 1.04_30 2009-12-13 rurban
  1125. Better 5.6 support, but Bytecode compiler still disabled.
  1126. Not even the Byteloader works for 5.6 assembled code. The Disassembler
  1127. does not stop at ret. Fixed several C tests.
  1128. * bytecode.pl: renumbering policy: <= 5.6 squeeze, >= 5.8 fixed
  1129. to force exact bytecode numbering as with 5.8.
  1130. Allow float versions, such as 10.001 for subreleases.
  1131. Add perlversion to header.
  1132. Add byteorder check logic.
  1133. Added logic to include all possible unsupported ops, all holes.
  1134. bytecode table checked for 5.6.1, 5.6.2, 5.8.0, 5.8.1-5.11
  1135. Note, that I found official and contradicting 5.6.1 releases.
  1136. ActiveState 5.6.1.626 had no op_children, the unix release tarball
  1137. with 5.6.1 (called Trial 1) still has it.
  1138. * ByteLoader.pm (1.06_06): better bytecode numbering.
  1139. * Asmdata.pm (1.02_02): strict numbering along 5.8.
  1140. Unsupported ops are now also included, with PUT method 0.
  1141. * Assembler.pm (0.07_07): Add perlversion to header
  1142. * Disassembler.pm (1.05_04): Add perlversion to header.
  1143. Print header only for existing.
  1144. * BcVersions/Asm*.pm, BcVersions.pod: added for most versions with the
  1145. CORE compiler.
  1146. * disassemble: Make it work with the older Disassembler.
  1147. Make it work with older bytecode >= 5.8 via Asmdata unsupported ops.
  1148. * i386.xs, jitcompiler.pl: removed (seperate module)
  1149. * bytecode.h, C.xs: Fixed for 5.6, tested with 5.6.1 with MSVC.
  1150. * bytecode.h, byterun.c: add static int force = 0. Override it to 1 to
  1151. try out executing older bytecodes.
  1152. * C.pm: fix test 16 on 5.10 again, non-threaded only (GVAV magic).
  1153. first fix in 1.04_24, broken in 1.04_28. On 5.11 I have a broken
  1154. RV handling here.
  1155. Remove version and Regexp::DESTROY from the automatic methods
  1156. (experimental).
  1157. First attempts with pv and hek consting failed.
  1158. * t/testc.sh, t/testplc.sh: support proper cmdline arguments, add -h for
  1159. help
  1160. Fixed test 5 by fixing the wrong test.
  1161. * perloptree.pod: renamed from perloptreeguts.pod. Added links.
  1162. 1.04_29 2009-12-07 rurban
  1163. Disable the Bytecode compiler for 5.6. Fixed besides the __DATA__ handle
  1164. (test 15) all remaining 5.8 C bugs.
  1165. * C.pm: assign the PVX of GV also for empty stashes (main::) to avoid
  1166. destruction failures at Perl_pad_undef() SvPVX_const(namesv) == '&'.
  1167. Fixes tests 14 and 23
  1168. * byterun.c: No assert on empty bs_sv, it is &PL_sv_undef.
  1169. Map missing -Dv on 5.6 to -Df i.e. -D256
  1170. Added better debugging output: setter values.
  1171. * STATUS: re-run CORE tests, list cmdlines, update status
  1172. * Disassembler.pm: added gen_header_hash() for gen_header output.
  1173. add to documentation.
  1174. * Bytecode.pm: -S uses gen_header_hash for gen_header output.
  1175. 1.04_28 2009-12-06 rurban
  1176. * C.pm: fix -fcog (Copy on Grow with -O1 and -O2) for >= 5.10 by a new
  1177. SVPV.
  1178. Statically initialize PVs with a union layout trick. Use char* as first
  1179. union member.
  1180. Revert xpvcv+svsect changes to pre-initialize those structs against
  1181. gvcv recursion.
  1182. * t/b.t, t/o.t, t/stash.t: fix tests for 5.6.2
  1183. * bytecode.c: byteorder swab only if same length.
  1184. 1234 => 4321, 12345678 => 87654321.
  1185. Skip a 0x prefix for byteorder in the header. Perl 5.6 had this.
  1186. * Assembler.pm (0.07_06): 5.6 byteorder fix: until 5.6 the
  1187. $Config{byteorder} was falsely dependent on ivsize, we need longsize.
  1188. Add 0x to byteorder in header again, as with 5.6.
  1189. * t/testc.sh: do not run old leftovers. some 5.6 optimizations
  1190. * t/c_o1.t, t/c_o2.t, t/cc_o2.t, t/cc_o2.t: added
  1191. * t/test.pl: support -O1 and -O2
  1192. * broke ByteLoader
  1193. 1.04_27 2009-12-04 rurban
  1194. * CC.pm (1.02_03): fixed endless loop in optimized sort. The sortcv
  1195. cmp needed a return NULL (test 19).
  1196. * c.t, cc.t: add failing tests as TODOs
  1197. 1.04_26 2009-12-02 rurban
  1198. * C.pm: remove nv->IVX for 5.10 (Can't locate object method "IVX" via
  1199. package "B::NV").
  1200. protect mg->OBJ when SCALAR (Can't call method "save" on unblessed
  1201. reference).
  1202. fix NV isa IV, to fix test 23 (Nick Koston).
  1203. fix CopLABEL for 5.11 (test 21)
  1204. fix PMOP extflags, esp. for split on >= 5.10 (test 5 + 7)
  1205. add fbm_compile() to BM::save >= 5.8 (test 11) (Nick Koston)
  1206. * t/c.t, t/testc.sh: added tests 23, 24 (Nick Koston)
  1207. * Bytecode.pm (1.02_04), bytecode.h: store and set PMOP reflags
  1208. as U32. Fixes tests 2-4,7
  1209. Start of backporting Perl 5.6
  1210. 1.04_25 2009-11-30 rurban
  1211. * C.pm: fixed IO for 5.11: LINES => IVX.
  1212. specialize GvLINES = -1 and protect against U32 signed-ness.
  1213. fixed test 8 main::AUTOLOAD (unoptimized only)
  1214. * t/test.pl: enable -Mblib for all Perl versions.
  1215. fix 5.6.2 ldopts by explicit checking of (-lperl|CORE\/libperl5).
  1216. make test works now for 5.6.2
  1217. * t/cc.t: adapt TODOs
  1218. * t/c.t: add TODOs 15 for 5.6
  1219. * script/perlcc: a.exe for cygwin also
  1220. 1.04_24 2009-11-29 rurban
  1221. * C.pm: fixed more CV basics (test 9), just stash for autoload missing
  1222. (test 8).
  1223. PVLV adjusted, but no testcase yet.
  1224. IO adjusted. Fixes test 4.
  1225. re-enabled Perl 5.6, all tests but 8,15 pass with t/testc.sh. make test not.
  1226. added option -DO, more OP info than with -Do.
  1227. added saving "main::" CVs. Fixes test 16.
  1228. Fixed PMOP op_pmreplroot for >= 5.10 (for SUBST). No test
  1229. * t/TESTS, t/testc.sh: added 20 for qr// bug in 5.10
  1230. * t/c.t: remove TODO status from tests 14-16
  1231. 1.04_23 2009-11-22 rurban
  1232. * yapc_bratislava08.pod: title fix
  1233. * SIGNATURE: added
  1234. * C.pm: GvGP handling improved. added more sect comments.
  1235. added -u option "unused" not to print verbose debugging info
  1236. for unused subs.
  1237. Fixed CV XPVCVIX initialisation - off-by-one error, wrong CvFLAGS.
  1238. Fixes test 6.
  1239. * run perltidy -i=2
  1240. 1.04_22 2009-11-16 rurban
  1241. * C.pm, CC.pm: fixed illegal pad in ASSERT_CURPAD_ACTIVE("pad_sv")
  1242. with DEBUGGING. Simply forgot to set PL_comppad
  1243. 1.04_21 2009-11-07 rurban
  1244. * yapc_bratislava08.pod: added
  1245. * C.pm: fixed CALLREGCOMP >=5.10 by using dynamic newSVpvn as in ByteLoader
  1246. 1.04_20 2008-06-25 rurban
  1247. * t/TESTS: numbered.
  1248. * t/TESTS: added sub FETCHSIZE to test 16. required now
  1249. * C.pm, CC.pm: change debug globals to hash.
  1250. * C.pm: Fix B::RV::save for 5.10
  1251. * CC.pm: 5.10 fixed GvSV to GvSVn (PERL_DONT_CREATE_GVSV), fix cc test 3+4 crash
  1252. * Artistic, Copying: added. Clarified perl license.
  1253. * Bytecode.pm: fixed IO=>PVNV problem in test 15.
  1254. * bytecode.pl, bytecode.h: rewrote gp_sv and gp_file setters
  1255. with x (special setters). Fixes unshare hek assert in test 15, and force
  1256. creation of GVSV.
  1257. * Assembler.pm 0.07_05: cygwin text-mount fixes with \r\n
  1258. * t/testplc.sh, t/testc.sh: require bash, accept testnumber args
  1259. * Asmdata.pm: fix PORTABILITY docs
  1260. * t/testc.sh: -Bdynamic: link to shared libperl
  1261. * cc_harness: simplify. fixed for -Bdynamic -E
  1262. 1.04_19 2008-06-08 rurban
  1263. * CC.pm: CXt_LOOP check rewrite, use now CxTYPE_no_LOOP()
  1264. * CC.pm, t/*.t: useithreads, not usethreads
  1265. * bytecode.t, test.pl: TODO handling: do not print "ok 1 #"
  1266. * b.t: fixed skip logic, better skip message
  1267. * Bblock: fixed to work without B::Concise (5.6.2)
  1268. * C.xs: add PM_GETRE for 5.6.2 and earlier
  1269. * CC.pm: Fix PP_EVAL hack from 1.04_18
  1270. * Bytecode: fixed IO::SUBPROCESS error (test 15)
  1271. * cc_harness: check static libperl.a, else try dynamic. Support -E
  1272. * ByteLoader: support different byteorders (Disassembler not yet)
  1273. * ByteLoader, Assembler, bytecode.pl: add archflags to header, relax
  1274. platform strictness.
  1275. * t/stash.t fixed for 5.10
  1276. * Disassembler: added hashref return for get_header in scalar context.
  1277. * Bytecode: fixed compiler crash/assertions for GV without GP (test 11)
  1278. 1.04_18 2008-06-04 rurban
  1279. * Fixed t/assembler.t on 5.6.2
  1280. * Added ByteLoader::unimport (from 5.6.2)
  1281. * ByteLoader: Fixed bytecode crashes for 5.10+5.11 in 2-5,7 by
  1282. removing PMf_COMPILETIME from op_pmflags. Reason: empty
  1283. check_substr in INTUIT. (6 still failing)
  1284. * ByteLoader: Fixes for 5.11 by using PM_SETRE (test 7 still failing)
  1285. * Bytecode: removed op_reflags. pregcomp with op_pmflags alone
  1286. is enough to reconstruct it.
  1287. * C,CC: enabled static_ext + DynaLoader boot section again. Fixed in
  1288. cygperl.
  1289. * CC: fixed Bug#55302 PP_EVAL by adding PP_EVAL_thr for threaded perl.
  1290. cc_runtime.h was always wrong on this!
  1291. 1.04_17 2008-04-20 rurban
  1292. Added Fedora Core 1 as test system (5.6.2, 5.8.3, 5.11.0@33708 + valgrind)
  1293. * ByteLoader: Fixed broken BYTEORDER check (for 32int)
  1294. * ByteLoader: Remove allowing older versions until we have
  1295. an opcode table for older versions.
  1296. * ByteLoader: Fixed SIGSEGV with older gcc (3.3.2) at
  1297. bstate->bs_obj_list[0] = NULL
  1298. * ByteLoader, C.xs: Newx() support and more for older perl's.
  1299. Tested with 5.8.3
  1300. * bytecode.pl: Fixed <11 op_reflags (double definition)
  1301. * bytecode.pl: Support 8-10 version syntax (op_pmstash, cop_io)
  1302. * Makefile.PL: added MKPATH blib/bin
  1303. * added ByteLoader/ppport.h
  1304. * fixed t/stash.t for 5.11
  1305. 1.04_16 2008-04-14 rurban
  1306. * ByteLoader: Fix PL_tokenbuf for older perls without PL_parser
  1307. * B::C: walkoptree_slow for verbose statistics op_count.
  1308. * Consistent in -v verbose and not verbose.
  1309. * Workaround for invalid pad in save_context.
  1310. * Added -Dp for verbose package cache printing.
  1311. * -v verbose adds more generated comments: op struct fields
  1312. * Fixed cop_label for 5.11 (Change #33656)
  1313. * Fixed make subdirs-test error in 5.8.8
  1314. * Fixed RT#52920 "invalid cop_free of nullified cop" for B::C
  1315. 1.04_15 2008-04-11 rurban
  1316. Highlights: bytecode and ByteLoader portability preparation and
  1317. commented disassembler output. PVGV and new REGEX still broken.
  1318. Fixes for no ithreads.
  1319. * Fixed verbose Bytecode for old B::Concise (5.8.8). t/testplc.sh
  1320. failed before.
  1321. * ByteLoader: Work on portability (different arch, version and sizes).
  1322. Added bl_header.
  1323. Changed macro BYTECODE_HEADER_CHECK to function bytecode_header_check().
  1324. Fixes for no threads.
  1325. * bytecode.h: pregcomp fix for 5.10 w/o threads
  1326. (Thanks to david@cantrell.org.uk for his cpantest for netbsd).
  1327. use xpv_cur and not xpv_len for the rx length (len - 1) to strip off
  1328. the ending nul byte.
  1329. 5.10: new minlen check aborts
  1330. * ByteLoader security: added strconst maxsize flag to bytecode.pl
  1331. for buffer overflow checks.
  1332. * Bytecode -DA for devel assertions of absolute or probably wrong opindex
  1333. pointers (nyi)
  1334. * disassemble, B::Assembler: commented output, similar to -MO=Bytecode,-S
  1335. Added backwards option --bare for older assemblers.
  1336. * assemble, disassemble: added pod
  1337. * B::Disassembler:
  1338. Provide default printers print_insn (commented) and print_insn_bare.
  1339. Portability: Use the header settings from the .plc and not the current
  1340. perl settings.
  1341. * B::Assembler 0.07_03, B::Disassembler 1.05_02, ByteLoader 0.06_03:
  1342. Added longsize to the bytecode header, just for xcv_depth.
  1343. * B::Debug 1.05_03: Fixes for no threads.
  1344. * Makefile.PL: Fixed script/perlcc.PL dependency
  1345. make: *** No rule to make target `script/perlcc', needed by
  1346. `blib/bin/perlcc'.
  1347. (Thanks to david@cantrell.org.uk for his cpantest for solaris)
  1348. * Added test TODO's, Added perloptreeguts.pod
  1349. 1.04_14 2008-03-24 rurban
  1350. * Fixed some 1.04_13 +x executable permissions in docs. Windows habits.
  1351. 1.04_13 2008-03-24 rurban
  1352. * Fixed B::C pv init in 5.10. Forgot refcnt and flags.
  1353. * Added "Other perl to exe compilers" section to perlcompile.pod.
  1354. This is even a FAQ.
  1355. * Added the NOTES to perlcompile.pod
  1356. * Added temp. perloptreeguts.pod. In work, also at the wiki.
  1357. * Fixed Bytecode op_pmflags assertions.
  1358. * Added orangesect for enough regexp space in RE's sv_any.
  1359. Engine not initialized though.
  1360. * Hangs in C/CC executables at an op_free(PL_main_root) trying to free
  1361. the static op structs because the earlier op_seq -1 hack is gone now,
  1362. and opt_static was replaced by opt_latefree. Set now opt_latefree = 1.
  1363. This fixed tests 1 and 13. Slowly making progress step by step.
  1364. 1.04_12 2008-03-16 rurban (first upload)
  1365. * Fixed bug #40435 CC: Can't locate object method "_save_common_middle"
  1366. via package "B::FAKEOP"
  1367. * move tests from [bc]*.t into shared TESTS file.
  1368. * fixed remaining ugly Bytecode bug in B::AV::bsave
  1369. $_ = $_->ix for @array.
  1370. Now we are at the same state as with 5.9.4
  1371. * fixed wrong bc cop_warning cast for 5.8
  1372. * fixed CC pmreplroot and pmreplstart fields
  1373. * make C and CC less verbose, honor -v, -q ignored.
  1374. 1.04_11 2008-03-09 rurban
  1375. * removed Jit and Asm stuff. Maybe as seperate packages somewhen.
  1376. But targeting PIR makes more sense.
  1377. * added STATUS
  1378. * added old Changes from the new git clone repo by Sam Vilain
  1379. * fix C cop
  1380. * fix C savepvn apparently
  1381. * work on HV init - crashes at invalid entry
  1382. * use run_cc_test
  1383. 1.04_10 2008-02-26 rurban
  1384. * change bc pvx access
  1385. dummy struct bytestate_xpv, so pv has the same fields as with 5.8,
  1386. seperated from the sv. The sv is seperated from the pv.
  1387. TODO: different strategy for B::C, must link xpv to sv
  1388. * add and parse Assembler comments
  1389. * add Bytecode comments to -S output unless -q
  1390. * change op_reflags from U16 to U32
  1391. * guarantee ByteLoader backwards compatibility: Accept lower versions also.
  1392. 1.04_09 2008-02-25 rurban
  1393. * restored 5.8 backwards compatibility, mainly for test comparison.
  1394. CPAN installation will abort.
  1395. * make t/test*.sh PERL independent
  1396. * fixed B::C GV init crashes (SvPOK assertion)
  1397. * added B::C RE section
  1398. * fixed B::C xpvcv and xpvnv section
  1399. * comment Bytecode -S nice ops to re-assemble them without errors
  1400. * added new asm opcode op_reflags
  1401. * removed Bytecode cop_arybase for 5.10
  1402. * 5.8 compatibility: fixed bytecode.pl versioning, Asmdata creation
  1403. (exact same for 5.8.8), asmdata.t, b.t tests
  1404. * improved make clean
  1405. * add ByteLoader -Dt and -Dv debugging
  1406. * don't link against jit code against possible sideeffects
  1407. * fixed c.t and cc.t tests
  1408. 1.04_08 2008-02-22 rurban
  1409. * fixed t/b.t tests for 5.11 (REGEXP, ref RV => IV)
  1410. * fixed Makefile.PL deps to ignore the interim .pl files
  1411. * added PMOP reflags
  1412. * added madprop to B-1.18_01 and B::C (if provided by B)
  1413. * enhanced B::Debug 1.05_02
  1414. * fixed B::C PL_cshlen (already initialized since 5.10)
  1415. * fixed B::C GvFILE
  1416. * fixed various (SV)xpv list casts and inits,
  1417. * fixed B::C xpvnv_list for 5.10
  1418. * fixed B::C xpvio_list for 5.10
  1419. * fixed B::C pmopsect for 5.11
  1420. * bootstrap also all $Config{static_ext}, not only dynamic stashes
  1421. 1.04_07 2008-02-20 rurban
  1422. * moved bstate->bs_pv.xpv_pv slot to bs_pv.xiv_u.xivu_p1
  1423. * fixed pv_free
  1424. * added op_pmflags 2 to match PMOP
  1425. * moved B into lib/B
  1426. * fixed ByteLoader Makefile deps
  1427. * added -DM flag to Bytecode backend
  1428. * added perlcompile.pod and Perl_5_Internals.htm
  1429. 1.04_06 2008-02-19 rurban
  1430. * no crashes anymore for 5.10, just op_pmflags & PMf_ONCE assertions.
  1431. * blead@32980 crashes in tests 11,16,17,18
  1432. * enhanced B::Debug (no version bump)
  1433. * fixed general op_list inits, and specials for av, hv
  1434. * almost fixed pv within sv handling
  1435. * added -O=C,-DS for SV debugging
  1436. 1.04_05 2008-02-18 rurban
  1437. * added t/test.pl and t/test*.sh to MANIFEST.
  1438. * fixed ByteLoader reading from the <DATA> filter.
  1439. * fixed -H .plc header parsing
  1440. * updated Bytecode options in NOTES and pod
  1441. * added -O=Bytecode,-v option
  1442. * fixed PL_preprocess and SvREPADTMP_off for 5.11
  1443. 1.04_04 2008-02-08 rurban
  1444. * added jitcompiler macros
  1445. 1.04_03 2008-02-05 rurban
  1446. * added Jit and Asm layout, fixed Makefile deps
  1447. 1.04_02 2008-01-22 rurban (never uploaded)
  1448. * removed from CORE, now on CPAN.
  1449. * added byteorder to bytecode header.
  1450. * added support for 5.10 (NOT WORKING!), 5.9.5 not tested.
  1451. up to 5.8.x already in CORE, so disabled.
  1452. add back support later, when C/CC is improved or more features
  1453. are added.
  1454. * added type hekindex
  1455. * added c.t and cc.t tests
  1456. * extended bytecode.pl format: added version logic
  1457. to have strictly consecutive indices
  1458. 1.04_01 2008-01-15 rurban (never uploaded)
  1459. * first package layout for all now non-CORE packages.
  1460. ===================================================================
  1461. B::C was at 1.05 when removed from core with 5.9.4.
  1462. Nicholas Clark <nwc10+p5p4@colon.colondot.net> 2007-05-07 15:35:56
  1463. bytecode.pl: Exterminate!
  1464. ext/B/B/Asmdata.pm: Exterminate!
  1465. Nicholas Clark <nwc10+p5p4@colon.colondot.net> 2007-05-07 14:53:05
  1466. Given that @optype and @specialsv_name are hard coded tables, it seems
  1467. more logical for them to be in B.pm, rather than in the "boilerplate"
  1468. for the machine generated B/Asmdata.pm
  1469. Marcus Holland-Moritz <mhx-perl@gmx.net> 2004-08-29 13:22:48
  1470. Fix typo in B::Assembler.
  1471. Marcus Holland-Moritz <mhx-perl@gmx.net> 2004-08-29 13:21:50
  1472. Skip ext/B/t/assembler.t when configured without B.
  1473. Rafael Garcia-Suarez <rgarciasuarez@gmail.com> 2003-08-09 21:13:27
  1474. Remove ByteLoader from the list of modules whose compilability should
  1475. be tested : it's loaded (at runtime) by ext/B/t/bytecode.t (as Enache
  1476. pointed out.)
  1477. chromatic <chromatic@rmci.net> 2002-05-10 07:43:25
  1478. added ext/B/t/o.t
  1479. Mattia Barbon <mbarbon@dsi.unive.it> 2002-01-12 00:29:48
  1480. @14216 B::C, perlcc.PL, B.xs, B.pm, t/TEST, C.xs
  1481. Message-ID: <3C3F756C.4581.2E2A938@localhost>
  1482. B::C (1.01): added B::C::InitSection, ...
  1483. Mattia Barbon <mbarbon@dsi.unive.it> 2002-01-06 12:44:30
  1484. @14104 B, B::C, perlcc, t/TEST
  1485. Message-ID: <3C38389E.7831.493570@localhost>
  1486. Jarkko Hietaniemi <jhi@iki.fi> 2001-12-21 14:42:31
  1487. @13830 packing I32 with L is not nice, need l; from Wolfgang Laun.
  1488. Jarkko Hietaniemi <jhi@iki.fi> 2001-12-19 16:59:02
  1489. @13807 One more embedded (?sx) de-embedded, from Wolfgang Laun.
  1490. Jarkko Hietaniemi <jhi@iki.fi> 2001-12-19 15:25:27
  1491. @13802 B::Assembler/B::Disassembler patches and test;
  1492. from Wolfgang Laun.
  1493. TODO: getting perlcc working.
  1494. Michael G. Schwern <schwern@pobox.com> 2001-12-14 20:59:13
  1495. @13697 BBlock: Some weak docs
  1496. Message-ID: <20011215005913.GC28596@blackrider>
  1497. Michael G. Schwern <schwern@pobox.com> 2001-12-14 20:14:14
  1498. @13695 Adding B::Asmdata docs
  1499. Message-ID: <20011215001414.GA25077@blackrider>
  1500. Jarkko Hietaniemi <jhi@iki.fi> 2001-11-29 02:22:02
  1501. @13346 Change $=, $., $*, $%, and $- to be IVs instead of longs.
  1502. Jarkko Hietaniemi <jhi@iki.fi> 2001-11-16 01:38:41
  1503. @13034 Add the fruits of Larry Shatzer's version verifying script.
  1504. (There are some straddlers, but they will be fixed in the
  1505. upcoming releases of the modules.)
  1506. (Stamped with v1.00)
  1507. Jarkko Hietaniemi <jhi@iki.fi> 2001-09-16 22:36:58
  1508. @12040 Stamp B::Assembler with v0.03
  1509. Jarkko Hietaniemi <jhi@iki.fi> 2001-07-01 17:20:38
  1510. @11061 Make 'compile' target a little less broken.
  1511. Still very broken, though: -Wall warnings from
  1512. the generated code, boot_Foo prototypes missing,
  1513. can't autoload Fcntl::SEEK_CUR et alia, ...
  1514. Jarkko Hietaniemi <jhi@iki.fi> 2001-06-27 13:36:40
  1515. @10979 "lose the looses", from Abhijit Menon-Sen
  1516. Richard Soderberg <p5-authors@crystalflame.net> 2001-06-21 09:01:22
  1517. @10780 Step 2: Use the new PM_GETRE/SETRE macros everywhere.
  1518. Message-ID: <Pine.LNX.4.21.0106210657400.1693-100000@oregonnet.com>
  1519. Gurusamy Sarathy <gsar@cpan.org> 2001-03-19 08:07:09
  1520. Subject: Re: sync sync sync: have I missed any patches?
  1521. Replace djSP with dSP.
  1522. Mark-Jason Dominus <mjd@plover.com> 2001-01-16 14:43:18
  1523. Subject: [PATCH @8436] Eliminate op_children
  1524. (Replaced by #8448) Traces of op_children (cleanup of #8442)
  1525. (Replaced by #8448) More op_children traces (cleanup of #8442).
  1526. Subject: [PATCH #3 @8436] Re: Eliminate op_children
  1527. Replace #8444 and #8445.
  1528. Gurusamy Sarathy <gsar@cpan.org> 2001-01-30 14:20:24
  1529. integrate changes#7984,7987,8010 from mainline (gets rid of
  1530. dTHR which has been a noop for a while now, except for the
  1531. compatibility definition in thread.h)
  1532. @8010 remove dTHR;
  1533. Gurusamy Sarathy <gsar@cpan.org> 2000-12-18 03:37:02
  1534. @7518 UNIVERSAL::can
  1535. Gurusamy Sarathy <gsar@cpan.org> 2000-12-18 00:03:38
  1536. Fix a couple of compiler-noted nits in #7235.
  1537. Fix of sorts for bug id 20000901.092. There seems to be no trace
  1538. of a 'pmshort' anywhere in the B, so the offending line was simply
  1539. removed.
  1540. Gurusamy Sarathy <gsar@cpan.org> 2000-12-17 22:49:13
  1541. Subject: [ID 20000928.002] perlcc & ByteCode.pm option mismatch
  1542. Did not apply cleanly, manual intervention was needed.
  1543. Subject: [ID 20001003.006] B::Debug not -w clean
  1544. Test harness update to sync with the new perlcc,
  1545. from Simon Cozens.
  1546. Gurusamy Sarathy <gsar@cpan.org> 2000-11-27 18:11:21
  1547. Bytecompiler patches from Benjamin Stuhl.
  1548. More bytecompiler.
  1549. Subject: [PATCH blead] B:: missing dependency
  1550. Byteloader 0.04
  1551. Gurusamy Sarathy <gsar@cpan.org> 2000-11-27 13:53:18
  1552. U8->U16 CvFLAGS(cv)
  1553. Jarkko Hietaniemi <jhi@iki.fi> 2001-10-25 18:07:58
  1554. * make re, Opcode, File::Glob and B threadsafe
  1555. * include XS_VERSION in MY_CXT_KEY (tweak for change#12652)
  1556. Jarkko Hietaniemi <jhi@iki.fi> 2001-04-05 04:00:33
  1557. Integrate changes #9544,9547,9549(perlio),9550,9551 from
  1558. maintperl into mainline.
  1559. "double" should be "NV"; standard typemap is missing entry
  1560. for NV
  1561. bailey <bailey@bailey_vms> 2000-02-09 09:09:45
  1562. Resync with mainline
  1563. Gurusamy Sarathy <gsar@cpan.org> 2000-02-25 02:50:04
  1564. @5250 more Compiler tweaks for useithreads
  1565. Gurusamy Sarathy <gsar@cpan.org> 2000-02-21 08:02:16
  1566. @5178 get Compiler "working" under useithreads
  1567. Gurusamy Sarathy <gsar@cpan.org> 2000-02-19 18:33:05
  1568. @5150 more B fixups to cope with empty GVs (these can only happen in pads)
  1569. Gurusamy Sarathy <gsar@cpan.org> 2000-02-18 04:57:43
  1570. @5125 Compiler fixups from Jan Dubois
  1571. Gurusamy Sarathy <gsar@cpan.org> 2000-01-27 04:56:48
  1572. @4910 various pod nits identified by installhtml (all fixed except
  1573. unresolved links)
  1574. Gurusamy Sarathy <gsar@cpan.org> 2000-01-26 20:10:26
  1575. @4905 s/STOP/CHECK/ blocks
  1576. bailey <bailey@bailey_vms> 2000-01-20 00:25:30
  1577. @4821 Quick integration of mainline changes to date
  1578. Gurusamy Sarathy <gsar@cpan.org> 2000-01-06 11:51:07
  1579. @4763 fix various C-backend shenanigans
  1580. Gurusamy Sarathy <gsar@cpan.org> 1999-12-08 00:16:21
  1581. @4662 typos in change#4546
  1582. Gurusamy Sarathy <gsar@cpan.org> 1999-12-03 07:52:50
  1583. @4631 support -a switch to append bytecode to an existing file and make
  1584. perlcc use it (from Tom Hughes <tom@compton.nu>)
  1585. Gurusamy Sarathy <gsar@cpan.org> 1999-12-01 02:00:09
  1586. @4602 more complete pseudo-fork() support for Windows
  1587. Gurusamy Sarathy <gsar@cpan.org> 1999-11-11 11:32:54
  1588. @4546 avoid stash pointers in optree under USE_ITHREADS
  1589. Gurusamy Sarathy <gsar@cpan.org> 1999-11-11 07:04:20
  1590. @4545 another change towards a shareable optree: avoid pointer to filegv
  1591. in COP; revert parts of change#4485 and s/xcv_filegv/xcv_file/
  1592. (CvFILE() may yet come in handy somewhere); adjust compiler doodads
  1593. to suit
  1594. Gurusamy Sarathy <gsar@cpan.org> 1999-11-04 19:25:45
  1595. @4516 change#4485 didn't do the right thing for B::Bytecode
  1596. Gurusamy Sarathy <gsar@cpan.org> 1999-11-04 18:28:29
  1597. @4515 implement STOP blocks and fix compiler to use them (minimally
  1598. tested)
  1599. Gurusamy Sarathy <gsar@cpan.org> 1999-10-29 08:08:50
  1600. @4485 more cleanup: avoid unused knowledge of "file GV" notion in CV and GV
  1601. Gurusamy Sarathy <gsar@cpan.org> 1999-10-29 05:00:21
  1602. @4484 usurp GVOP slot for new PADOP (one small step to making optree
  1603. shareable across interpreters)
  1604. Vishal Bhatia <vishal@deja.com> 1999-09-30 01:27:28
  1605. @4254 [patch _61] Minor corrections in C.pm
  1606. Message-ID: <Pine.LNX.4.10.9909292326280.5599-100000@localhost.localdomain>
  1607. Charles Bailey <bailey@newman.upenn.edu> 1999-09-29 04:21:31
  1608. @4249 resync with mainline 5.05_61
  1609. ($handle_VC_problem, @4198: $sv->REFCNT - 1)
  1610. Vishal Bhatia <vishal@deja.com> 1999-08-25 02:31:33
  1611. @4198 add arenas for managing allocations of remaining xpv*v structures
  1612. Message-ID: <Pine.LNX.4.10.9908250031000.11727-100000@localhost.localdomain>
  1613. Subject: [PATCH 5.005_60] removing extra ref count (compiler)
  1614. Doug MacEachern <dougm@covalent.net> 1999-07-25 17:49:00
  1615. @4129 B::clearsym
  1616. Vishal Bhatia <vishal@deja.com> 1999-08-11 03:43:28
  1617. @4095 applied suggested patch with suitable test to detect MSVC
  1618. Message-ID: <GFCJELIOGEENAAAA@my-deja.com>
  1619. Subject: compiler on win32
  1620. Gurusamy Sarathy <gsar@cpan.org> 1999-09-06 22:16:58
  1621. @4092 support bytecode and C backends in perlcc (patch suggested
  1622. by Tom Hughes <tom@compton.au>); s/-opt/-noopt/ and make the
  1623. C backend the default; describe new switches in pod; introduce
  1624. PERLCC_OPTS and s/COMPILE_TIMEOUT/PERLCC_TIMEOUT/;
  1625. s/COMPILE_TEST/HARNESS_COMPILE_TEST/; document these %ENV
  1626. entries
  1627. Nick Ing-Simmons <nik@tiuk.ti.com> 1999-08-08 15:53:57
  1628. @3925 Will now correctly re-call
  1629. bootstrap "Foo";
  1630. if requested. This should allow build on Win32 and other
  1631. platforms where you cannot link to loadables directly.
  1632. Nick Ing-Simmons <nik@tiuk.ti.com> 1999-08-07 14:23:55
  1633. @3934 Vishal Bhatia <vishalb@my-deja.com>
  1634. [PATCH 5.005_60] fix for some obscure bugs (compiler)
  1635. Message-ID: <HLPEBPHPAKHKAAAA@my-deja.com>
  1636. Nick Ing-Simmons <nik@tiuk.ti.com> 1999-08-07 14:19:46
  1637. @3933 B::C changes to get simple Tk app. compiling again
  1638. Nathan Torkington <gnat@frii.com> 1999-08-05 23:25:47
  1639. @3927 Fix for Nathan's fix (#3920) from Guy Decoux.
  1640. Subject: Bugfix for my bugfix
  1641. Message-ID: <14250.21947.765134.940583@localhost.frii.com>
  1642. Nathan Torkington <gnat@frii.com> 1999-08-04 13:24:56
  1643. @3920 [5.005_60 PATCH] Make B::Bytecode work
  1644. Vishal Bhatia <vishal@deja.com> 1999-07-31 21:08:33
  1645. @3869 "use constant" in the compiler
  1646. Nathan Torkington <gnat@frii.com> 1999-08-01 11:23:35
  1647. @3859 ext/B/B/Disassembler.pm patch
  1648. Message-ID: <14244.33431.739419.806927@localhost.frii.com>
  1649. Gurusamy Sarathy <gsar@cpan.org> 1999-08-01 20:34:41
  1650. @3848 fix defined(@foo) encarpments
  1651. Gurusamy Sarathy <gsar@cpan.org> 1999-07-27 05:56:17
  1652. @3784 change#3762 wasn't needed
  1653. Gurusamy Sarathy <gsar@cpan.org> 1999-07-26 10:59:47
  1654. @3762 setstate stop-gap from Vishal Bhatia
  1655. Gurusamy Sarathy <gsar@cpan.org> 1999-07-26 10:06:39
  1656. @3761 patch for pp_foo -> Perl_pp_foo changes from Vishal Bhatia
  1657. Gurusamy Sarathy <gsar@cpan.org> 1999-07-17 22:43:27
  1658. @3687 make CC.pm use a distinct CCPP() macro rather than PP()
  1659. (suggested by Vishal Bhatia <vishalb@my-deja.com>)
  1660. Vishal Bhatia <vishal@deja.com> 1999-06-30 16:02:42
  1661. @3644 Compiler and XSUBS
  1662. Stephen McCamant <smcc@mit.edu> 1999-06-25 15:38:44
  1663. @3637 Eliminate CONDOPs
  1664. Vishal Bhatia <vishal@deja.com> 1999-06-20 19:17:17
  1665. @3630 Minor bug fix in pp_require
  1666. Vishal Bhatia <vishal@deja.com> 1999-06-12 10:23:59
  1667. @3622 applied patch after demunging headers with appropriate paths
  1668. Message-ID: <JIHEJPFDFKIBDAAA@my-deja.com>
  1669. Subject: [Patch 5.005_57] unsigned arithmetic (Compiler)
  1670. Vishal Bhatia <vishal@deja.com> 1999-06-05 10:42:17
  1671. @3593 applied parts not duplicated by previous patches
  1672. Message-ID: <JAMCAJKJEJDPAAAA@my-deja.com>
  1673. Subject: Fwd: [PATCH 5.005_57] consolidated compiler changes
  1674. Vishal Bhatia <vishal@deja.com> 1999-06-03 02:57:48
  1675. @3584 [PATCH 5.005_57] pp_sort sorted out
  1676. Gurusamy Sarathy <gsar@cpan.org> 1999-06-10 10:38:00
  1677. @3526 fix small nits (ARGS => aTHX)
  1678. Gurusamy Sarathy <gsar@cpan.org> 1999-06-02 06:47:10
  1679. @3518 remove _() non-ansism
  1680. Tom Hughes <tom@compton.nu> 1999-05-27 01:59:49
  1681. @3499 ByteLoader mark 2
  1682. To: perl5-porters@perl.org
  1683. Message-ID: <bf337a0849.tom@compton.compton.nu>
  1684. plus resolve tiny conflict with #3479
  1685. plus regen_headers.
  1686. Gurusamy Sarathy <gsar@cpan.org> 1999-05-11 11:34:13
  1687. @3367 various fixes for clean build and test on win32; configpm broken,
  1688. needed to open myconfig.SH rather than myconfig; sundry adjustments
  1689. to bytecode stuff; tweaks to DYNAMIC_ENV_FETCH code to make it
  1690. work under win32; getenv_sv() changed to getenv_len() since SVs
  1691. aren't visible in the lower echelons; remove bogus exports from
  1692. config.sym; PERL_OBJECT-ness for C++ exception support; null out
  1693. IoDIRP in filter_del() or sv_free() will attempt to close it
  1694. Gurusamy Sarathy <gsar@cpan.org> 1999-05-10 09:49:26
  1695. @3359 more Compiler patches from Vishal Bhatia <vishalb@my-dejanews.com>
  1696. Date: Tue, 27 Apr 1999 23:47:24 PDT
  1697. Message-ID: <19990428064724.95244.qmail@hotmail.com>
  1698. Subject: [PATCH 5.005_56] Saving Tied hashes ( C.pm)
  1699. --
  1700. Date: Thu, 29 Apr 1999 18:21:06 -0700
  1701. Message-ID: <GEFPBFDJADFJBAAA@my-dejanews.com>
  1702. Subject: [PATCH 5.005_56] double constants ( C.pm)
  1703. --
  1704. Date: Mon, 03 May 1999 20:21:31 PDT
  1705. Message-ID: <19990504032131.81113.qmail@hotmail.com>
  1706. Subject: [PATCH 5.005_56] Overloading implementation ( Compiler)
  1707. --
  1708. Date: Thu, 06 May 1999 17:57:09 -0700
  1709. Message-ID: <FCJELBLAJBOBAAAA@my-dejanews.com>
  1710. Subject: Stash.pm
  1711. Tom Hughes <tom@compton.nu> 1999-04-24 20:11:59
  1712. @3356 applied suggested patch, with win32 and PERL_OBJECT additions
  1713. Message-ID: <609bdff748.tom@compton.compton.nu>
  1714. Subject: ByteLoader patch
  1715. Gurusamy Sarathy <gsar@cpan.org> 1999-05-06 10:01:23
  1716. @3314 compiler fixes from Vishal Bhatia <vishalb@hotmail.com>
  1717. Date: Tue, 30 Mar 1999 23:40:34 PST
  1718. Message-ID: <19990331074034.6117.qmail@hotmail.com>
  1719. Subject: [PATCH 5.005_56] pp_entersub and pp_leavewrite(CC.pm)
  1720. --
  1721. Date: Wed, 07 Apr 1999 00:28:23 -0800
  1722. Message-ID: <FGBNLNPOEELFAAAA@my-dejanews.com>
  1723. Subject: [PATCH 5.005_56] function prototypes(B.pm)
  1724. --
  1725. Date: Thu, 22 Apr 1999 23:40:52 -0700
  1726. Message-ID: <OEAOMKBMLDADCAAA@my-dejanews.com>
  1727. Subject: [PATCH 5.005_56 ] discarding worthless padsvs
  1728. --
  1729. Date: Tue, 27 Apr 1999 01:14:49 PDT
  1730. Message-ID: <19990427081449.28615.qmail@hotmail.com>
  1731. Subject: [PATCH 5.005_56] pp_ncmp implementation ( CC.pm)
  1732. Vishal Bhatia <vishal@deja.com> 1999-03-23 17:21:43
  1733. @3168 applied needful parts of suggested patch
  1734. Message-ID: <OOOKJGFMLFLHBAAA@my-dejanews.com>
  1735. Subject: [PATCH 5.005_56] pp_formline correction
  1736. Gurusamy Sarathy <gsar@cpan.org> 1999-03-25 07:21:05
  1737. @3165 fix refcnt on PL_main_cv (variant of suggestion by Vishal Bhatia
  1738. <vishalb@hotmail.com>)
  1739. Vishal Bhatia <vishal@deja.com> 1999-03-11 08:40:27
  1740. @3142 applied suggested patch, modulo bogus hunk
  1741. Message-ID: <19990311154027.25891.qmail@hotmail.com>
  1742. Subject: [PATCH 5.005_56] Minor fixes in perlcc
  1743. Vishal Bhatia <vishal@deja.com> 1999-03-03 00:27:25
  1744. @3066 updates to compiler modules
  1745. Message-ID: <19990303072725.779.qmail@hotmail.com>
  1746. Subject: PATCH 5.005_56 + Test procedure
  1747. Vishal Bhatia <vishal@deja.com> 1999-02-08 02:14:41
  1748. @2940 enable dynaloading in C.pm-compiled programs (non-conflicting part
  1749. of suggested patch)
  1750. Message-ID: <DHIDFFOPMEFDBAAA@my-dejanews.com>
  1751. Subject: [PATCH 5.005_54] some pending C.pm stuff
  1752. Gurusamy Sarathy <gsar@cpan.org> 1999-02-12 12:09:27
  1753. @2894 add missing hunk in change#2657 from Vishal Bhatia <vishal@deja.com>
  1754. Vishal Bhatia <vishal@deja.com> 1999-01-18 02:32:31
  1755. @2657 pp_mapstart & pp_grepstart return val (CC.pm)
  1756. To: perl5-porters@perl.org
  1757. Message-ID: <19990118093231.18443.qmail@hotmail.com>
  1758. Vishal Bhatia <vishal@deja.com> 1999-01-17 17:41:10
  1759. @2639 Duplicate saved ops (CC.pm)
  1760. Message-Id: <19990118004111.29667.qmail@hotmail.com>
  1761. Gurusamy Sarathy <gsar@cpan.org> 1999-01-17 10:12:42
  1762. @2621 fix change#2602 to not used hard coded constants
  1763. Vishal Bhatia <vishal@deja.com> 1999-01-11 09:02:41
  1764. @2602 B::MAGIC::PTR doesnot check for valid length.
  1765. Lines: 134
  1766. Message-ID: <MLIST_19990111052126.27966.qmail@hotmail.com>
  1767. Vishal Bhatia <vishal@deja.com> 1999-01-08 13:43:36
  1768. @2600 B::CC::pp_rv2cv problem
  1769. To: perl5-porters@perl.org
  1770. Message-ID: <MLIST_19990108101557.4481.qmail@hotmail.com>
  1771. Vishal Bhatia <vishal@deja.com> 1998-12-16 04:17:03
  1772. @2525 More minor Fixes in CC.pm/C.pm
  1773. To: perl5-porters@perl.org
  1774. Message-ID: <MLIST_199812160055.QAA06272@f10.hotmail.com>
  1775. Vishal Bhatia <vishal@deja.com> 1998-12-10 09:30:02
  1776. @2524 Re:perlcc -e 'my $x = shift; print +($x ?...' failure
  1777. To: perl5-porters@perl.org
  1778. Cc: rmb1@cise.npl.co.uk, nick@ni-s.u-net.com
  1779. Message-ID: <MLIST_19981210061651.29891.qmail@hotmail.com>
  1780. (Nick's part was applied earlier, in change #2460)
  1781. Vishal Bhatia <vishal@deja.com> 1998-12-09 07:50:30
  1782. @2523 return value of perlcc/B::CC generated functions.
  1783. To: nick@ni-s.u-net.com
  1784. Cc: perl5-porters@perl.org
  1785. Message-ID: <MLIST_19981209043146.16829.qmail@hotmail.com>
  1786. Vishal Bhatia <vishal@deja.com> 1998-12-20 20:03:25
  1787. @2492 pp_next/pp_last/pp_redo problems
  1788. To: perl5-porters@perl.org
  1789. Message-ID: <19981221030326.27660.qmail@hotmail.com>
  1790. (slightly reformatted)
  1791. Nick Ing-Simmons <nick@ing-simmons.net> 1999-01-02 14:06:30
  1792. @2551 Export constant subs from B.xs for op.h, cop.h and a few others.
  1793. Use them in various B::* rather than have local defs.
  1794. Nick Ing-Simmons <nick@ing-simmons.net> 1999-01-02 10:04:02
  1795. @2550 Integrate ext/B changes from //depot/cfgperl
  1796. 'copy in' ext/B/B.xs
  1797. (@2460..) 'merge in' ext/B/B/C.pm ext/B/B/CC.pm
  1798. ext/B/B/Stackobj.pm (@2524..)
  1799. Nick Ing-Simmons <nick@ing-simmons.net> 1999-01-02 10:04:02
  1800. @2491 Integrate ext/B changes from //depot/cfgperl
  1801. Gurusamy Sarathy <gsar@cpan.org> 1998-09-23 09:52:46
  1802. B::Asmdata define PUT_svindex(), PUT_opindex()
  1803. Nick Ing-Simmons <nick@ing-simmons.net> 1998-12-20 14:21:29
  1804. @2491 Save _all_ GV's which have SV, AV or HV set.
  1805. Vishal Bhatia <vishal@deja.com> 1998-12-09 23:16:50
  1806. @2461 1. Fixes the bug reported by Robin Barker <rmb1@cise.npl.co.uk>
  1807. 2. Fixes the bug regarding return value of c-functions generated out
  1808. of perl subs. ( Just includes the patch I sent earlier)
  1809. 3. Incorporates the other changes that need to be done to get CC.pm
  1810. use ISA search for packages and methods on the same lines as C.pm
  1811. Vishal would appreciate comments about B::Stackobj changes from
  1812. someone knowing that module well.
  1813. Nick Ing-Simmons <nik@tiuk.ti.com> 1998-12-05 17:14:42
  1814. @2453 Avoid hard-coding op numbers
  1815. Update CC.pm to save %INC, and to co-exist with new C.pm
  1816. Nick Ing-Simmons <nik@tiuk.ti.com> 1998-12-05 11:44:28
  1817. @2452 B.xs had its own code to calculate hash() which differed from
  1818. PERL_HASH in hv.h - so all saved HV's were mangled - including %INC
  1819. which meant that run-time require was re-done.
  1820. Removed some debug from C.pm
  1821. Nick Ing-Simmons <nik@tiuk.ti.com> 1998-12-04 22:58:49
  1822. @2451 Snapshot of re-worked B::C which compiles Tk apps at least as
  1823. well as _54, but with pre-scan for classes and save the ISA scheme.
  1824. Vishal Bhatia <vishal@deja.com> 1998-12-04 18:58:44
  1825. @2450 Vishal Bhatia's patch as a basis.
  1826. Nick Ing-Simmons <nik@tiuk.ti.com> 1998-11-28 23:46:57
  1827. @2378 More C.pm tweaks
  1828. Save globs even if we have saved cv itself before - may be imported.
  1829. While we don't save "bootstrap" CV we need to provide a stub,
  1830. so that if we require it later we don't fall through and attempt
  1831. to DynaLoad module again.
  1832. Attempt to save %INC so that "require" does not reload things
  1833. we have compiled-in (does not work right yet - seems to be due
  1834. to PL_incgv being created in perl_parse() current scheme setting
  1835. GvHV() is "better" than saving the glob, but still does not
  1836. work as I expect).
  1837. Nick Ing-Simmons <nik@tiuk.ti.com> 1998-11-27 22:10:27
  1838. @2332 Handle INIT list in C.pm
  1839. 1. Provide init_av() from B.xs
  1840. 2. Export it in B.pm
  1841. 3. Use it in C.pm
  1842. Also disable some pruning in savecv() which seems to undo
  1843. my previous patch.
  1844. Experimental feature - save pathnames of .so files in easily
  1845. grep-able form for use in wrapper to feed to linker.
  1846. Gurusamy Sarathy <gsar@cpan.org> 1998-11-27 15:41:38
  1847. @2324 B::C tweaks to allow Tk compiles from Nick Ing-Simmons
  1848. Vishal Bhatia <vishal@deja.com> 1998-10-29 00:45:32
  1849. @2146 hand-apply whitespace-mutiliated patch
  1850. Message-ID: <19981029074534.2334.qmail@hotmail.com>
  1851. Subject: [PATCH 5.005_52]Compiling modules,more bugfixes for B
  1852. Vishal Bhatia <vishal@deja.com> 1998-10-22 00:59:03
  1853. @2072 implement C<goto &func> and other fixes (via private mail)
  1854. Message-Id: <19981022055904.20083.qmail@hotmail.com>
  1855. Subject: [PATCH 5.005_52] More fixes for B
  1856. Vishal Bhatia <vishal@deja.com> 1998-10-11 20:41:38
  1857. @1993 fix bug in B::CC::pp_sassign()
  1858. Message-ID: <19981012014139.19614.qmail@hotmail.com>
  1859. Subject: B::CC problems with pp_sassign routine
  1860. Jarkko Hietaniemi <jhi@iki.fi> 1998-10-17 15:17:19
  1861. @2005 Integrate mainperl.
  1862. Gurusamy Sarathy <gsar@cpan.org> 1998-09-23 11:52:46
  1863. @1842 define PUT_svindex(), PUT_opindex()
  1864. Gurusamy Sarathy <gsar@cpan.org> 1998-08-02 07:09:35
  1865. @1708 fixes for pod noises
  1866. Gurusamy Sarathy <gsar@cpan.org> 1998-07-22 02:08:00
  1867. @1618 fix up B modules for PL_* changes
  1868. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-07-21 18:13:16
  1869. @1617 Compiler docs for 5.005
  1870. Message-Id: <199807211713.SAA20735@sable.ox.ac.uk>
  1871. Gurusamy Sarathy <gsar@cpan.org> 1998-07-22 01:29:09
  1872. @1616 s/PL_sv/PL_bytecode_sv/ etc., so we have unique, case-insensitive
  1873. names
  1874. Gurusamy Sarathy <gsar@cpan.org> 1998-07-21 07:12:00
  1875. @1611 fix bytecode.pl with moved var names
  1876. Gurusamy Sarathy <gsar@cpan.org> 1998-07-21 05:31:13
  1877. @1608 part 2 of PERL_OBJECT fixes (globals in bytecode.h moved to intrpvar.h)
  1878. Gurusamy Sarathy <gsar@cpan.org> 1998-07-21 05:29:10
  1879. @1607 part 1 of PERL_OBJECT fixes for new var names
  1880. Gurusamy Sarathy <gsar@cpan.org> 1998-07-20 09:38:39
  1881. @1578 complete s/foo/PL_foo/ changes (all escaped cases identified with
  1882. brute force search script). Result builds and passes all tests on
  1883. Solaris. win32 and PERL_OBJECT are still untested.
  1884. Nick Ing-Simmons <nick@ing-simmons.net> 1998-07-18 13:53:03
  1885. PL_ prefix to all perlvars, part1
  1886. Builds and passes all tests at one limit i.e. -DPERL_GLOBAL_STRUCT
  1887. Ilya Zakharevich <ilya@math.ohio-state.edu> 1998-07-15 06:10:36
  1888. @1548 Minor improvements to perlcc
  1889. Message-Id: <199807151010.GAA11270@monk.mps.ohio-state.edu>
  1890. Gurusamy Sarathy <gsar@cpan.org> 1998-07-15 10:01:41
  1891. @1516 add stub docs for ext/B, other minor tweaks
  1892. Gurusamy Sarathy <gsar@cpan.org> 1998-07-09 05:37:48
  1893. get it building again on win32
  1894. Gurusamy Sarathy <gsar@cpan.org> 1998-07-04 05:02:01
  1895. @1292 fix perlcc to not rm output file, and other -w(arts)
  1896. Stephen McCamant <alias@mcs.com> 1998-06-22 21:19:43
  1897. @1200 Inheritance of B:: classes
  1898. Message-Id: <m0yoIgR-000EP2C@alias-2.pr.mcs.net>
  1899. Gurusamy Sarathy <gsar@cpan.org> 1998-06-19 17:22:23
  1900. update repository copy of Asmdata.pm after `perl bytecode.pl`
  1901. Gurusamy Sarathy <gsar@cpan.org> 1998-06-11 02:59:23
  1902. @1113 fix outdated bytecode.pl
  1903. Nick Ing-Simmons <nick@ing-simmons.net> 1998-05-14 18:09:01
  1904. @972 Changes to allow compiler with gcc-2.8.1 in C++ mode,
  1905. Remove K&R style functions, avoid struct/typedef clash.
  1906. Ed Peschko <epeschko@den-mdev1> 1998-04-29 21:02:36
  1907. @963 [ PATCH 5.004_64 ] Integrated regression tests for compiler
  1908. added perlcc.PL
  1909. Ilya Zakharevich <ilya@math.ohio-state.edu> 1998-04-08 03:21:03
  1910. @942 Subject: [PATCH 5.004_64] Cryptic error from B::CC
  1911. Date: Sat, 11 Apr 1998 19:52:25 -0400 (EDT)
  1912. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-04-14 16:22:51
  1913. @888 [compiler] CC did "<<" instead of ">>" for right-shift on ints.
  1914. Charles Bailey <bailey@newman.upenn.edu> 1998-03-02 01:48:27
  1915. Miscellaneous minor fixes
  1916. Spider Boardman <spider@orb.nashua.nh.us> 1998-03-01 02:02:47
  1917. Almost OK: 5.004_61 (threads, perlio)
  1918. Andrew Cohen <cohen@andy.bu.edu> 1998-02-27 20:03:29
  1919. Change getc/fread to PerlIO_getc/fread in bytecode.h:
  1920. Subject: [PATCH 5.004_61] bunch of small patches
  1921. Nick Ing-Simmons <nick@ing-simmons.net> 1998-02-28 11:31:15
  1922. Missed FREAD in bytecode.h
  1923. Cannot export svref_mutex in non-threaded perl
  1924. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-27 18:35:27
  1925. Change FREAD/FGETC to BGET_FREAD/BGET_FGETC to avoid clash with
  1926. preprocessor symbol on Digital UNIX.
  1927. Gurusamy Sarathy <gsar@cpan.org> 1998-02-26 03:56:19
  1928. @589 [win32] various cleanups so that B can be built as "just another extension"
  1929. - export symbols needed for building B
  1930. - bset_obj_store() is needed by byterun(), so define it there instead
  1931. of at B.xs, and export it
  1932. - freadpv() is only used in B.xs, so move it there
  1933. - byte*.h are now included by perl.h
  1934. - regenerate embed*.h
  1935. Gurusamy Sarathy <gsar@cpan.org> 1998-02-22 02:40:56
  1936. @568 [win32] get compiler building under win32 (needed Makefile.PL
  1937. hacks that could be applicable to other platforms)
  1938. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-25 17:44:34
  1939. @585 More compiler tweaks.
  1940. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-20 18:23:47
  1941. @565 Remove compiler files from their old lib/B locations. The compiler
  1942. now builds by default (without the byteperl executable so far) and
  1943. seems to work at least minimally.
  1944. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-20 18:05:33
  1945. @564 Move lib/B/... and lib/[BO].pm over to where they should be,
  1946. under ext/B.
  1947. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-20 17:54:58
  1948. @563 Start getting compiler to work when built with the core.
  1949. [Still won't work as of this change.]
  1950. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-20 16:42:13
  1951. * Merge perlext/Compiler/... into mainline. Some files move to
  1952. ext/B/..., some to lib/B/..., O.pm and B.pm go in lib and some
  1953. move to the base perl directory (e.g. headers). Will need some
  1954. cleaning up before it builds properly, I would guess.
  1955. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-20 16:39:38
  1956. * [compiler] Win32 changes from Sarathy, tweaked slightly by me.
  1957. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-17 17:50:50
  1958. * Assorted changes to the compiler
  1959. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-12-17 10:59:40
  1960. * Fix typo in compiler B/C.pm.
  1961. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-12-10 18:33:53
  1962. Alpha5
  1963. * Start overhauling compiler. It was working at least minimally
  1964. right up until the final tweak of B.xs to add threadsv_names
  1965. at which point building it provokes a seg fault in perl while
  1966. doing the xsubpp :-(.
  1967. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-09-03 12:31:48
  1968. * Make compiler build/work with devel 5.005
  1969. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-07-05 11:58:05
  1970. * Change %lx to %x in B::CV::save to prevent some CV
  1971. fields becoming 0 in the init section. Add missing
  1972. write_back in B::Stackobj::Padsv::load_double to fix
  1973. test 22 of op/my.t.
  1974. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-07-05 11:58:05
  1975. * B::CC::pp_padsv must cope with vivify_ref (5.004)
  1976. as well as provide_ref (5.003)
  1977. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-05-03 14:47:06
  1978. Alpha 4
  1979. * initial check in of compiler
  1980. from version Alpha a3 to a4