Changes 100 KB

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