| 1 |
1.021 2025-07-31 |
| 2 |
|
| 3 |
- use three-argument open() everywhere |
| 4 |
- PAR::FAQ is severely outdated, remove it |
| 5 |
- README: remove https://groups.google.com/g/perl.par |
| 6 |
as an archive for [email protected] (as it will not be updated anymore) |
| 7 |
|
| 8 |
1.020 2024-03-04 |
| 9 |
|
| 10 |
- restructure _extract_inc(): always add XS DLLs in |
| 11 |
PAR_TEMP/inc to PAR::Heavy::FullCache, ie. even if PAR_TEMP/inc |
| 12 |
already exists (hence we don't need to extract the zip), cf. #11 |
| 13 |
|
| 14 |
- bump minimum perl version to 5.8.9 everywhere |
| 15 |
|
| 16 |
1.019 2023-11-01 |
| 17 |
|
| 18 |
- register XS DLLs extracted into $PAR_TEMP/inc with %PAR::Heavy::FullCache |
| 19 |
|
| 20 |
This solves the problems mentioned in GitHub PR #8 |
| 21 |
("Special case Gtk related dlls to dl_load from the unpacked inc dir") |
| 22 |
with applications using modules Gtk2, Pango, Cairo and others (this is |
| 23 |
a Windows only problem) |
| 24 |
|
| 25 |
- Heavy.pm: use strict; use warnings |
| 26 |
Thanks @shawnlaffan |
| 27 |
|
| 28 |
1.018 2022-09-28 |
| 29 |
|
| 30 |
- Fix #6: PAR fails to test its build on MSWin32 with Perl-5.36.0 |
| 31 |
|
| 32 |
Makefile.PL: Quote t/gen-hello-par.pl for Windows |
| 33 |
Merge PR #5 by Tim Hoke <[email protected]> |
| 34 |
|
| 35 |
1.017 2021-01-13 |
| 36 |
|
| 37 |
- change bugtracker to GitHub issues |
| 38 |
|
| 39 |
- remove obsolete stuff from tutorial |
| 40 |
|
| 41 |
1.016 2019-05-20 |
| 42 |
|
| 43 |
- Fix #129312: Code signing for OSX |
| 44 |
|
| 45 |
Avoid Archive::Zip::Archive error "can't find EOCD signature" for pp'ed |
| 46 |
executables with lots of stuff appended (e.g. by OSX codesign): |
| 47 |
temporarily increase Archive::Zip::ChunkSize around the call to |
| 48 |
Archive::Zip::readFromFileHandle(). |
| 49 |
|
| 50 |
Note this is prerequisite for the corresponding fix in PAR::Packer. |
| 51 |
|
| 52 |
- Fix: Archive::Unzip::Burst::unzip result is ignored and _extract_inc |
| 53 |
does always the slow way, too |
| 54 |
|
| 55 |
PR from Vit Spinka <[email protected]>, thanks! |
| 56 |
|
| 57 |
- Show debug messages if $ENV{PERL_DL_DEBUG} is true |
| 58 |
|
| 59 |
1.015 2017-04-13 |
| 60 |
|
| 61 |
- Fix RT#120722 (Reason for Module::Signature dependency unclear since 2008) |
| 62 |
- "require" a non-broken version of Digest::SHA |
| 63 |
- remove other crypto related "recommends" |
| 64 |
|
| 65 |
- Switch from Module::Install to ExtUtils::MakeMaker |
| 66 |
- avoids the hassle with Module::Install for Perl without "." in @INC |
| 67 |
- add some resources cf META.json |
| 68 |
|
| 69 |
1.014 2016-12-18 |
| 70 |
|
| 71 |
- Fix RT#119224: "Issue about Can't locate loadable object for module" |
| 72 |
drop "use" statements in PAR/Heavy.pm added in edf5f24d |
| 73 |
|
| 74 |
- Fix RT#119010: "Wrong license link" |
| 75 |
always refer to the included LICENSE file |
| 76 |
|
| 77 |
- generate hello.par in Makefile target "pure_all" |
| 78 |
|
| 79 |
1.013 2016-11-27 |
| 80 |
|
| 81 |
- Fix a crucial typo, hopefully fixes RT#118981 "Tests fail (with PAR 1.012?)" |
| 82 |
|
| 83 |
- Build t/hello.par at "make" time |
| 84 |
|
| 85 |
1.012 2016-11-25 |
| 86 |
|
| 87 |
- Guard against concurrent extraction attempts of zip into "inc" |
| 88 |
|
| 89 |
- use a file lock to protect the extraction of the complete zip into "inc" |
| 90 |
|
| 91 |
- _run_member_*(), _tempfile(), _dl_extract(): |
| 92 |
make the "persistent" filename only visible when the file |
| 93 |
has been completely written |
| 94 |
|
| 95 |
- Make build and test work if @INC does not include "." |
| 96 |
|
| 97 |
- Upgrade to Module::Install 1.17 |
| 98 |
|
| 99 |
1.011 2016-09-18 |
| 100 |
|
| 101 |
- Move to GitHub. Thanks, OpenFoundry, for years of service. |
| 102 |
|
| 103 |
- Suppress warning "Use of uninitialized value in do "file" ..." |
| 104 |
|
| 105 |
- Put a description of its purpose into the canary file |
| 106 |
|
| 107 |
- Remove all traces of Internals::PAR::CLEARSTACK |
| 108 |
|
| 109 |
- Remove all references to http://par.perl.org/, doesn't exist anymore |
| 110 |
|
| 111 |
|
| 112 |
1.010 2015-07-13 |
| 113 |
|
| 114 |
- Fix #101800 "[PATCH] Reinstate files to inc dir if deleted by external process" |
| 115 |
Periodic temp directory cleaning programs (eg. "tmpwatch") may remove some |
| 116 |
(older) files from $PAR_TEMP/inc, but keep others. This causes the packed |
| 117 |
program to fail. |
| 118 |
|
| 119 |
- When extracting a .par file to $PAR_TEMP/inc do NOT restore the original |
| 120 |
modified timestamps of the file (so that the extracted files have |
| 121 |
the time of extraction as their modified time). |
| 122 |
|
| 123 |
- Add a "canary" file in $PAR_TEMP and back-date it 1 day. Hence any process |
| 124 |
removing files in $PAR_TEMP based on timestamps should remove |
| 125 |
the "canary" before others. |
| 126 |
|
| 127 |
- If the canary file is missing, extract the .par to $PAR_TEMP/inc |
| 128 |
as previously was done only when $PAR_TEMP/inc was missing. |
| 129 |
|
| 130 |
1.009 2015-04-22 |
| 131 |
|
| 132 |
- Fix 103861 for PAR-Packer: Adding local directories to @INC for a pp executable fails |
| 133 |
|
| 134 |
- Get rid of included PerlIO.pm, parent.pm, obsolete |
| 135 |
Module::Install::Include and included Test::More. |
| 136 |
|
| 137 |
1.008 2015-01-24 |
| 138 |
|
| 139 |
- Fix #101662: Prevent shared libs from being cached in memory on AIX |
| 140 |
applied patch from [email protected], thanks. |
| 141 |
Note: this is one half of the fix, the other is in PAR::Packer |
| 142 |
|
| 143 |
- Fix #86178: dll files not extracted to shlib subfolder when using -l or to other folder when using -a |
| 144 |
extract all files from the zip, including all DLLs |
| 145 |
|
| 146 |
- Fix #86014: [PATCH] POD fix |
| 147 |
applied Debian patch from gregor herrmann <[email protected]>, thanks! |
| 148 |
while we're at it fix two bad L<> hyperlinks reported by podchecker |
| 149 |
|
| 150 |
- Fix RT #86650: typo fixes |
| 151 |
|
| 152 |
- reformat ChangeLog file according to CPAN::Changes::Spec |
| 153 |
and rename it to Changes |
| 154 |
|
| 155 |
- Update to Module::Build 1.14 |
| 156 |
|
| 157 |
1.007 2012-10-22 |
| 158 |
- Hopefully fix "pp -C ..." for any modules that assume an |
| 159 |
actual tree of files, e.g. looking for all installed modules Foo::Bar::*; |
| 160 |
call _extract_inc even when $ENV{PAR_CLEAN} is true |
| 161 |
- update to Module::Install 1.06 |
| 162 |
|
| 163 |
1.006 2012-10-15 |
| 164 |
- Fix RT #78633: PAR::import ignores url => $repo_client_object |
| 165 |
applied patch from KENO, thanks! |
| 166 |
- Fix RT #73491: cache directory naming problem |
| 167 |
In PAR::SetupTemp::_get_par_user_tempdir (actually _find_username) |
| 168 |
we try to sanitize username (so that there are no problematic |
| 169 |
characters in the name of the per-user cache directory), but the |
| 170 |
strategy fails miserably for some charset encodings. |
| 171 |
E.g. for EUC-KR or CP949 (as in the bug report) we may produce an |
| 172 |
illegal sequence of bytes; in other cases we may cause collisions |
| 173 |
(different usernames mapping to the same directory name). |
| 174 |
Fix the problem once and for all by encoding the username |
| 175 |
(bytewise) as 2 hex digits. |
| 176 |
|
| 177 |
1.005 2011-12-02 |
| 178 |
- bump Perl version requirement to 5.8.1 (Schwern: The End Of 5.6 Is Nigh!) |
| 179 |
- run all tests using a nonce PAR_TMPDIR (otherwise CPAN Testers |
| 180 |
goes crazy as top level /tmp/par-USER directories (or similar) |
| 181 |
from previous tests may now be considered "unsafe") |
| 182 |
|
| 183 |
1.004 2011-11-30 |
| 184 |
- back out r1241: it causes errors in PAR::Packer's test suite |
| 185 |
- change "unsafe directory" error message to match the wording |
| 186 |
used by PAR::Packer |
| 187 |
- remove "debian" sub directory: it isn't released to CPAN and |
| 188 |
Debian will supply its own anyway |
| 189 |
- remove some cruft from MANIFEST.SKIP |
| 190 |
|
| 191 |
1.003 2011-11-28 |
| 192 |
- RT #69560/CVE-2011-4114: PAR packed files are extracted to unsafe |
| 193 |
and predictable temporary directories |
| 194 |
(Note: this bug was originally reported against PAR::Packer, but |
| 195 |
it applies to PAR as well) |
| 196 |
- create parent of cache directory (i.e. /tmp/par-USER) with mode 0700 |
| 197 |
- if it already exists, make sure that (and bail out if not) |
| 198 |
- it's not a symlink |
| 199 |
- it's mode 0700 |
| 200 |
- it's owned by USER |
| 201 |
- Fix a problem packing XML::LibXSLT on Windows (see the thread starting |
| 202 |
with http://www.nntp.perl.org/group/perl.par/2011/02/msg4919.html) |
| 203 |
- Die (with a hopefully useful message) if any error is encountered |
| 204 |
during an Archive::Zip extract operation |
| 205 |
|
| 206 |
1.002 2010-07-25 |
| 207 |
- Fixes to VERSIONs of PAR::Setup*. |
| 208 |
- No change in behaviour since 1.001 |
| 209 |
|
| 210 |
1.001 2010-07-25 |
| 211 |
- RT #57399: extract everything (including DLLs) in File::ShareDir |
| 212 |
directories. Module::ScanDeps classifies everything in |
| 213 |
File::ShareDir directories as "data", but PAR uses it's own |
| 214 |
heuristics what to extract from a .par. |
| 215 |
- Previous release was missing META.yml. |
| 216 |
- Upgrade Module::Install to 1.00 |
| 217 |
|
| 218 |
1.000 2010-04-10 |
| 219 |
- Fix defined(%hash) deprecation warning in PAR::Heavy |
| 220 |
|
| 221 |
0.994 2009-07-23 |
| 222 |
- Fix for the PAR::Heavy fix to the INC priority handling. |
| 223 |
|
| 224 |
0.993 2009-07-19 |
| 225 |
- The priority (fallback=>0) repositories should look at @PAR_INC |
| 226 |
for the loaded PARs instead of @PAR_INC_LAST. |
| 227 |
- Don't reload from a downloaded .par file after installing it |
| 228 |
via "upgrade". |
| 229 |
- Band-aid fix for the loading priority of shared librares from |
| 230 |
PAR files: Try PAR's first, the local stuff, then fallback-PARs. |
| 231 |
- Initial support for running external perl scripts from a packaged |
| 232 |
interpreter. |
| 233 |
|
| 234 |
0.992 2009-04-05 |
| 235 |
- Support for non-fallback repositories. |
| 236 |
|
| 237 |
0.991 2009-03-10 |
| 238 |
- Promote previous release to stable release. |
| 239 |
|
| 240 |
0.989_01 2009-03-02 |
| 241 |
[Bug fixes, etc.] |
| 242 |
- Track the locations of all archives that have been extracted to |
| 243 |
$ENV{PAR_TEMP}/inc in this run. |
| 244 |
|
| 245 |
0.988 2009-03-01 |
| 246 |
- Promote previous release to stable release. |
| 247 |
|
| 248 |
0.987_01 2009-02-20 |
| 249 |
[New features] |
| 250 |
- Better cleanup of the $TMPDIR/par-$USER/temp-$$ directories |
| 251 |
that are typically used as caches in the "use PAR 'foo.par'" use case. |
| 252 |
|
| 253 |
[Bug fixes, etc.] |
| 254 |
- Very slightly more careful handling of PAR-specific environment |
| 255 |
variables. |
| 256 |
- Cleanup of PAR::SetupTemp |
| 257 |
|
| 258 |
0.986 2009-02-19 |
| 259 |
- Promote to stable release. |
| 260 |
|
| 261 |
0.985_01 2009-02-02 |
| 262 |
[New features] |
| 263 |
- Support for the brand new static dependency resolution |
| 264 |
of PAR::Repository::Client 0.23. |
| 265 |
|
| 266 |
[Bug fixes, etc.] |
| 267 |
- Fix issue with running scripts from repositories: |
| 268 |
The INC hooks used to be set up too late for this to |
| 269 |
automatically pick up dependencies. |
| 270 |
|
| 271 |
0.984 2009-01-25 |
| 272 |
[New features] |
| 273 |
- Implemented the auto-upgrading option for loading and installing |
| 274 |
from PAR::Repositories. |
| 275 |
|
| 276 |
[Bug fixes, etc.] |
| 277 |
- Fix issue with PAR::Repository::Client development versions. |
| 278 |
|
| 279 |
0.983 2008-09-12 |
| 280 |
[Dependencies] |
| 281 |
- Require AutoLoader 5.67 which contains a PAR-related |
| 282 |
bug-fix. |
| 283 |
- Require PAR::Dist 0.32. |
| 284 |
|
| 285 |
[Internal changes] |
| 286 |
- The full extraction process _extract_inc |
| 287 |
(which is triggered when a non--clean pp packaged |
| 288 |
executable is run) can now be forced to do the |
| 289 |
extraction (instead of doing if !-d). |
| 290 |
- That same extraction routine now accepts Archive::Zip |
| 291 |
handles or file names. |
| 292 |
- When, during the full extraction, the extracted paths |
| 293 |
are to be added to @INC, we now make sure they're not |
| 294 |
in @INC yet. |
| 295 |
|
| 296 |
0.982 2008-08-10 |
| 297 |
[New features] |
| 298 |
- Moved the routines that setup the PAR_TEMP environment variable |
| 299 |
to a separate module in the distribution so it's possible to |
| 300 |
use PAR::Repository::Client without loading all of PAR. |
| 301 |
- Same for the function that sets up PAR_PROGNAME. |
| 302 |
|
| 303 |
[Bug fixes, etc.] |
| 304 |
- Upgrade to Module::Install 0.77 |
| 305 |
- Fix for running scripts from repositories. |
| 306 |
|
| 307 |
0.980 2008-05-22 |
| 308 |
[Bug fixes, etc.] |
| 309 |
- The function PAR::get_filehandle() that was introduced in 0.979 |
| 310 |
is really broken because Archive::Zip is broken. Turns out calling |
| 311 |
Archive::Zip::Member->fh() returns a file handle to the zip file, |
| 312 |
not a virtual/tied/whatever file handle to the member file. |
| 313 |
Therefore, the get_filehandle() function has been removed again until |
| 314 |
we work around this issue. |
| 315 |
- Upgrade to Module::Install 0.73 |
| 316 |
|
| 317 |
0.979 2008-05-13 |
| 318 |
[New features] |
| 319 |
- New function PAR::get_filehandle() returns a file handle for a file |
| 320 |
in any open .par files. Similar to read_file(). |
| 321 |
|
| 322 |
0.977 2007-10-19 |
| 323 |
[Bug fixes, etc.] |
| 324 |
- HPUX doesn't like shared libraries being unlinked while in use. So don't |
| 325 |
try to do this even in clean mode. (Workaround will be in par.pl) |
| 326 |
(Scott Stanton) |
| 327 |
- Fix DLL extraction file name matching in PAR::Heavy. |
| 328 |
- Save two system calls per DLL during DLL extraction in PAR::Heavy. |
| 329 |
|
| 330 |
0.976 2007-07-29 |
| 331 |
[New features] |
| 332 |
- Use Archive::Unzip::Burst for unpacking binary executables if |
| 333 |
available. (This yields a significant startup speed-up.) |
| 334 |
|
| 335 |
[Bug fixes, etc.] |
| 336 |
- Removed the auto_install feature from Makefile.PL. auto_install |
| 337 |
is conceptually broken. |
| 338 |
|
| 339 |
0.973 2007-02-03 |
| 340 |
[New features] |
| 341 |
- A new option for the "use PAR { ... };" use case: |
| 342 |
"no_shlib_unpack" signals that for this particular .par file, |
| 343 |
shared libraries that were added with the --lib option should |
| 344 |
not be extracted. This allows users to do their own cache |
| 345 |
handling for these libraries. |
| 346 |
- PAR no longer unpacks *all* shared libraries by default but only |
| 347 |
those in the shlib/ directory (i.e. added with --lib). |
| 348 |
The shared libraries in auto/ should be picked up by the DynaLoader |
| 349 |
hack. |
| 350 |
- If available, the prefork.pm module will be used to declare |
| 351 |
run-time dependencies for better memory use in forking |
| 352 |
environments. |
| 353 |
- PAR now uses a caching mechanism to speed up the extraction process. |
| 354 |
This should particularly impact users of the "use PAR {file =>...}" |
| 355 |
form. |
| 356 |
|
| 357 |
[Bug fixes, etc.] |
| 358 |
- Applied an optimization of the unpacking process on case insensitive |
| 359 |
file systems. |
| 360 |
|
| 361 |
0.972 2007-01-16 |
| 362 |
[Bug fixes, etc.] |
| 363 |
- Removed PAR::AutoLoaderFix again. It wasn't working as expected |
| 364 |
all the time. |
| 365 |
- To fix the problem AutoLoaderFix was supposed to fix, we now |
| 366 |
require AutoLoader 5.62 or newer which was just recently released |
| 367 |
to CPAN. (Previously only available from blead perl.) |
| 368 |
|
| 369 |
0.971 2007-01-12 |
| 370 |
[Bug fixes, etc.] |
| 371 |
- Fixed typo in the POD. (Jerrad Pierce) |
| 372 |
- Included fix for a bug in AutoLoader.pm as shipped with all |
| 373 |
perl versions up to and including 5.8.8 as PAR::AutoLoaderFix. |
| 374 |
This cures a problem of endless looping when the %INC entry of a |
| 375 |
module doesn't point to a file of the same name. |
| 376 |
This may happen during "use PAR 'foo.par'". |
| 377 |
|
| 378 |
0.970 2006-12-03 |
| 379 |
[This release introduces some rather radical changes, so read carefully:] |
| 380 |
[All PAR::Packer related logic has been moved to a separate distribution,] |
| 381 |
PAR-Packer. This includes pp, parl and all packaging tools. This way, |
| 382 |
PAR becomes a pure-Perl distribution that can be most easily installed by |
| 383 |
users of software which requires PAR. |
| 384 |
Developers who want to use the PAR packager, pp, need to install the |
| 385 |
PAR-Packer distribution from CPAN. |
| 386 |
|
| 387 |
0.961 2006-11-23 |
| 388 |
[Bug fixes, etc.] |
| 389 |
- PAR::StrippedPARL::Base->write_parl() failed to work if the @INC |
| 390 |
directories contained spaces in 0.960. (Steven Mackenzie) |
| 391 |
- Much improved documentation of the environment variables |
| 392 |
(Glenn Linderman) |
| 393 |
- Fix for a spaces-in-pathname problem on Windows for |
| 394 |
t/30-current_exec.t. (Malcolm Nooning) |
| 395 |
|
| 396 |
0.960 2006-11-21 |
| 397 |
[Bug fixes, etc.] |
| 398 |
- myldr/Makefile.PL fix: Clean up myldr/usernamefrompwuid.h. |
| 399 |
- Silence warning in myldr/internals.c. |
| 400 |
- Silence warnings seen on Irix from myldr/env.c. |
| 401 |
- Skip most tests in 10-parl-generation.t if there is no parl. |
| 402 |
- Skip loading ActiveState Perl's "sitecustomize.pl" in par.pl. |
| 403 |
- Load modules via require and other files via do. |
| 404 |
- The parl-regeneration-for-every-pp-call addition of the 0.958 release |
| 405 |
should now also work for static perls. |
| 406 |
|
| 407 |
[New features] |
| 408 |
- Adressing RT ticket #6612: Now using getpwuid() to determine the |
| 409 |
user name if supported by the OS. |
| 410 |
|
| 411 |
0.959 2006-11-12 |
| 412 |
[This is just a hotfix release because 0.958 lacked META.yml. One day, I will] |
| 413 |
switch from Module::Install to Module::Build... |
| 414 |
|
| 415 |
0.958 2006-10-25 |
| 416 |
[Bug fixes, etc.] |
| 417 |
- myldr/Makefile.PL fix: make static.o depend on mktmpdir.c, my_perl.c, |
| 418 |
my_par.c. (Roderich Schupp) |
| 419 |
- Modules included with the -M option to pp were previously scanned |
| 420 |
for dependencies but not mapped through the |
| 421 |
%Module::ScanDeps::Preload hash for custom dependencies. That's |
| 422 |
fixed now. |
| 423 |
- $ENV{PAR_RUN} isn't set by PAR::Packer any more because nothing in |
| 424 |
the PAR sources uses it. $ENV{PAR_RUN} is no longer used by PAR |
| 425 |
at all. |
| 426 |
- Unified the environment variables which are looked at for |
| 427 |
finding the system's temporary directory. |
| 428 |
|
| 429 |
[New features] |
| 430 |
- During the build process, PAR appends stripped down copies of parl |
| 431 |
(and parldyn if applicable) to the data classes |
| 432 |
PAR::StrippedPARL::Static and ::Dynamic. These |
| 433 |
parls-without-embedded-modules are used for packaging so the formerly |
| 434 |
embedded modules are now packaged from the packaging system. (Instead |
| 435 |
of stemming from the system where PAR/parl was built.) |
| 436 |
- The "use PAR { repository => $url };" syntax now also supports |
| 437 |
the use of user-constructed PAR::Repository::Client objects instead |
| 438 |
of an URL. |
| 439 |
- The -F (module code filter) option now supports selective filtering |
| 440 |
of modules. The syntax is "-F FILTER=REGEX" or - as before - |
| 441 |
"-F FILTER". The regular expression is applied to the *file name*, |
| 442 |
of the module inside the PAR (e.g. Foo/Bar.pm). This behaviour was |
| 443 |
chosen over matching against the module name (e.g. Foo::Bar) because |
| 444 |
the filters can be applied to module-like and script files as well |
| 445 |
(.pl, .al, etc.). |
| 446 |
- Updated PAR/FAQ.pod with the new FAQ's from the PAR wiki. |
| 447 |
- Added a POD file PAR/Environment.pod which is intended to become |
| 448 |
an index of all environment variables PAR uses of its own or |
| 449 |
recognizes from its users. Still mostly a stub. |
| 450 |
|
| 451 |
0.957 2006-10-24 |
| 452 |
[Bug fixes, etc.] |
| 453 |
- Fix executable PARs top properly detect embedded scripts |
| 454 |
named the same as the executable. (Jesse Vincent) |
| 455 |
- Comment out the call to par_current_exec_proc (in the C loader) |
| 456 |
which breaks the use of symlinks to pp-ed executables when not |
| 457 |
called with a path. (I.e. using a search in $PATH). |
| 458 |
|
| 459 |
0.956 2006-10-03 |
| 460 |
[Bug fixes, etc.] |
| 461 |
- This is another hotfix release. Fixed a mindless bug introduced in 0.955. |
| 462 |
|
| 463 |
0.955 2006-10-03 |
| 464 |
[Bug fixes, etc.] |
| 465 |
- 0.952 introduced removal of system module search paths if -B is in |
| 466 |
effect. This resulted in some valid PAR-related paths being removed |
| 467 |
as well. Fixed. Upgrading from 0.952 and 0.954 is suggested. |
| 468 |
- Changed the use of hard-coded '/' as path-separator to using File::Spec. |
| 469 |
|
| 470 |
0.954 2006-09-26 |
| 471 |
- This release is equivalent to 0.953. The 0.953 CPAN upload is broken! |
| 472 |
|
| 473 |
0.953 2006-09-18 |
| 474 |
[Bug fixes, etc.] |
| 475 |
- Added optional POD tests. |
| 476 |
- Modified -B so that if -B is in effect, all entries are stripped |
| 477 |
out of @INC except for the PAR hooks. This happens right before |
| 478 |
the script contained in the pp-ed binary is executed. |
| 479 |
|
| 480 |
0.952 2006-08-22 |
| 481 |
|
| 482 |
[New features] |
| 483 |
- Added the "install" option to the PAR loading syntax. |
| 484 |
If specified, the contents of the PAR distribution are |
| 485 |
permanently installed. |
| 486 |
This requires PAR::Repository::Client 0.04. |
| 487 |
|
| 488 |
[Bug fixes, etc.] |
| 489 |
- Fixed broken META.yml in 0.951. |
| 490 |
|
| 491 |
0.951 2006-08-12 |
| 492 |
(This includes any changes up to 0.950.) |
| 493 |
|
| 494 |
[New features] |
| 495 |
|
| 496 |
- Introduced new PAR loading syntax and semantics: |
| 497 |
use PAR { file => 'path/to/par/or/URL' }; |
| 498 |
==> equivalent to "use PAR 'path/to/par/or/URL';" |
| 499 |
- Introduced the 'fallback' option: (default = 0) |
| 500 |
use PAR { file => 'foo.par', fallback => 1 }; |
| 501 |
==> Loads modules from the PAR file only if loading |
| 502 |
them from @INC did not succeed. |
| 503 |
- Introduced the 'run' option which executes a script |
| 504 |
in a PAR archive just like |
| 505 |
perl -MPAR foo.par script.pl |
| 506 |
- If PAR::Repository::Client is installed, you can add a |
| 507 |
repository of .par distributions to your library search path |
| 508 |
as follows: |
| 509 |
use PAR { repository => 'http://foo' }; |
| 510 |
- Of course, 'run' also works with repositories: |
| 511 |
use PAR { repository => 'http://foo', run => 'my_app' }; |
| 512 |
(This searches the repository for any distributions that have a |
| 513 |
my_app script.) |
| 514 |
--> For details on repositories, have a look at the |
| 515 |
PAR::Repository::Client module. |
| 516 |
|
| 517 |
- Bug fixes, etc. |
| 518 |
|
| 519 |
- Commented a couple of the routines in PAR.pm. (Yay!) |
| 520 |
- New test script for the new fallback loading feature. |
| 521 |
- Fixed a bug in the Spreadsheet::ParseExcel handling in |
| 522 |
PatchContent.pm. |
| 523 |
|
| 524 |
0.942 2006-07-22 |
| 525 |
|
| 526 |
[Bug fixes, etc.] |
| 527 |
|
| 528 |
- Better support for diagnostics.pm (in conjunction with |
| 529 |
Module::ScanDeps 0.62.) |
| 530 |
- Now requiring Module::ScanDeps 0.62. |
| 531 |
|
| 532 |
0.941 2006-06-20 |
| 533 |
(No, PAR isn't stagnating. It's just that 1.00 would draw close if |
| 534 |
we continued with 0.01 increases.) |
| 535 |
|
| 536 |
[Bug fixes, etc.] |
| 537 |
|
| 538 |
- Version 0.94 of PAR would use the same cache area for all pp-ed |
| 539 |
applications due to a faulty hotfix for Digest::SHA. This applies |
| 540 |
to PAR 0.94 only. Think of 0.941 being PAR 0.94 done right. |
| 541 |
|
| 542 |
0.94 2006-06-01 |
| 543 |
|
| 544 |
[New Features] |
| 545 |
|
| 546 |
- Added support for reading options to pp from a file using a |
| 547 |
'@filename' argument to pp: pp -o foo --gui @filename foo.pl |
| 548 |
|
| 549 |
[Bug fixes, etc.] |
| 550 |
|
| 551 |
- Workaround for a bug in Digest::SHA 5.38 and 5.39 that would prevent |
| 552 |
PAR from being built. |
| 553 |
- Fixed details in the 2-pp.t test file. |
| 554 |
- Now recognizes text files that aren't picked up by the -T operator |
| 555 |
but by the "file" tool. |
| 556 |
- Applied Roderich Schupp's patch to 30-current_exec.t to fix a |
| 557 |
path issue. |
| 558 |
- Now requiring Module::ScanDeps 0.60 which fixes a couple of bugs |
| 559 |
which might be observed as PAR bugs. |
| 560 |
- Now working well with Spreadsheet::ParseExcel which uses an invalid |
| 561 |
POD section to comment out a code block. This wasn't recognized by |
| 562 |
PAR::Filter::PodStrip as POD and hence partly left in... |
| 563 |
- If the output directory doesn't exist, we create it now and output |
| 564 |
a meaningful error message if that failed. |
| 565 |
|
| 566 |
0.93 2006-05-19 |
| 567 |
|
| 568 |
[New Features] |
| 569 |
|
| 570 |
- Added support for PAR_TMPDIR (PAR_GLOBAL_TMPDIR) so that the |
| 571 |
temp directory can be controlled for just the PAR file bits. |
| 572 |
(Leolo) |
| 573 |
- Added par_current_exec_proc() which finds the file of the current |
| 574 |
executable in /proc, if possible. (Leolo) |
| 575 |
- Added par_current_exec() which finds he file of the current |
| 576 |
executable, if possible on this OS. (Leolo) |
| 577 |
- par_findprog() now uses par_current_exec() if possible. |
| 578 |
|
| 579 |
[Bug Fixes, etc.] |
| 580 |
|
| 581 |
- Upgraded to Module::Install 0.62+ (Audrey Tang, Steffen Mueller) |
| 582 |
- Document a strange interaction with chdir() and relative |
| 583 |
paths. (Chris Dolan) |
| 584 |
- Documented the bits that make up PAR_TEMP. (Leolo) |
| 585 |
- Fixed the call to par_findprog. path (aka val) was set to |
| 586 |
tmpdir. (Leolo) |
| 587 |
- Documented the CACHE name at the end of a self-executing |
| 588 |
PAR. (Leolo) |
| 589 |
- myldr/Makefile.PL now generates some dependencies for |
| 590 |
main.c (Leolo) |
| 591 |
- Applied patch from RT ticket. (tsee) |
| 592 |
https://rt.cpan.org/Ticket/Display.html?id=13959 |
| 593 |
- Applied Ivan Kudryavtsev's patch that fixes a couple of calls |
| 594 |
to PAR subroutines in PatchContent filtered code. (tsee) |
| 595 |
|
| 596 |
0.92 2006-02-22 |
| 597 |
|
| 598 |
[Bug Fixes] |
| 599 |
|
| 600 |
- Now requiring Module::ScanDeps 0.56 which handles autouse |
| 601 |
correctly. |
| 602 |
- Now shipping with a correct SIGNATURE. (Which was broken for |
| 603 |
0.91.) |
| 604 |
|
| 605 |
0.91 2006-02-13 |
| 606 |
|
| 607 |
[Bug Fixes] |
| 608 |
|
| 609 |
- Applied Alan Stewart's patch which fixes @ARGV pollution in |
| 610 |
daughter programs. See also |
| 611 |
http://www.nntp.perl.org/group/perl.par/2152 |
| 612 |
- Now mentioning the ENV var "PAR_VERBATIM" in the documentation. |
| 613 |
See also http://www.nntp.perl.org/group/perl.par/2196 |
| 614 |
- Applied Malcolm Nooning's fix for the test suite. We used to get |
| 615 |
failed tests on Windows because of spaces in path names. |
| 616 |
- Applied Roderich Schupp's and Malcolm Nooning's patches to |
| 617 |
the test suite fixing problems with Cygwin. |
| 618 |
- Applied Vincent Ladeuil's patch to PAR::Filter::Bleach to return a |
| 619 |
true value for modules that loaded okay. |
| 620 |
- Changed 'PAR_BASE' in the Makefile.PL to 'SMUELLER'. |
| 621 |
|
| 622 |
0.90 2005-11-25 |
| 623 |
|
| 624 |
[Bug Fixes] |
| 625 |
|
| 626 |
- When compiling with static libperl, myldr/ may fail "make" |
| 627 |
due to sha1.c not generated properly. |
| 628 |
|
| 629 |
- Pod stripping could fail on __DATA__ sections for files |
| 630 |
with CRLF line endings. |
| 631 |
|
| 632 |
- The documentation erroneously referred to the PAR_TEMP |
| 633 |
environment variable, whereas it should be PAR_GLOBAL_TEMP. |
| 634 |
|
| 635 |
- Compilation fixes for MinGW/MSYS. |
| 636 |
|
| 637 |
0.89 2005-06-10 |
| 638 |
|
| 639 |
[Bug Fixes] |
| 640 |
|
| 641 |
- Stop static.c from pulling in Perl header files, otherwise |
| 642 |
parl.exe ends up depending on the Perl DLL on Win32 when |
| 643 |
Perl is built without PERL_IMPLICIT_SYS. |
| 644 |
|
| 645 |
- With *nix and File::Path 1.06, par.pl's avoidance of loading |
| 646 |
Cwd.pm caused syntax errors. |
| 647 |
|
| 648 |
0.88 2005-06-07 |
| 649 |
|
| 650 |
[Bug Fixes] |
| 651 |
|
| 652 |
- Extracted .pl files should be loadable via the coderef-in-@INC too, |
| 653 |
just like .pm files and autosplit files. This makes PAR work with |
| 654 |
Perl 5.8.7 on Win32. |
| 655 |
|
| 656 |
- Fix the build with GCC 4.0. |
| 657 |
|
| 658 |
- If $ENV{PWD} is not defined, fallback to use `pwd` to obtain the |
| 659 |
working directory for invoking. |
| 660 |
|
| 661 |
0.87 2005-01-31 |
| 662 |
|
| 663 |
[Bug Fixes] |
| 664 |
|
| 665 |
- On Win32, some versions of File::Spec::Win32 contains explicit |
| 666 |
"use Cwd;" lines, which renders parl.exe unusable. |
| 667 |
|
| 668 |
- Executable made by "pp" may fail when invoked as "./a.out" or |
| 669 |
"../a.out", due to incorrect PWD handling logic. |
| 670 |
|
| 671 |
0.86 2004-12-11 |
| 672 |
|
| 673 |
[New Features] |
| 674 |
|
| 675 |
- New "pp -z" (--compress) option to set compression level (0-9). |
| 676 |
|
| 677 |
- New "pp -T" (--tempcache) option to override the per-executable |
| 678 |
directory name; it defaults to a hash of the executable, computed at |
| 679 |
compile time. This makes startup much faster for large executables. |
| 680 |
|
| 681 |
- The hash algorithm described above now prefers Digest::SHA if installed, |
| 682 |
otherwise Digest::SHA1, then fallbacks to Digest::MD5. |
| 683 |
|
| 684 |
- Functionality of "pp -X" is now extended: if the argument after -X is a |
| 685 |
zip or par file, files in it are excluded from the produced executable, |
| 686 |
and the executable will "use" the zip/par instead. For multiple -X args, |
| 687 |
successive args are only "use"d if they contain additional unique files. |
| 688 |
|
| 689 |
- "pp -l" now searches for libraries in "." and PATH in Win32. |
| 690 |
|
| 691 |
- "pp -l" shared libraries are now added to %skip, so it will not |
| 692 |
be included in both shlib/ and lib/. |
| 693 |
|
| 694 |
- "pp -l" now chases symbolic links. For example, if "libsomelib.so" |
| 695 |
is a symlink to "libsomelib.so.1", which is another symlink to |
| 696 |
"libsomelib.so.1.2", pp now follows these symlinks and add the real |
| 697 |
file the par, rather than "libsomelib.so". |
| 698 |
|
| 699 |
- New contributed code in "contrib/stdio/": Useful Tk console for |
| 700 |
"pp -g" users. |
| 701 |
|
| 702 |
- New contributed tutorial documents, currently in "contrib/docs/", |
| 703 |
which will eventually be turned into POD documents. |
| 704 |
|
| 705 |
- Running "perl Makefile.PL" with $ENV{DEBUG} set to true now produces |
| 706 |
"parl" with debug symbols. |
| 707 |
|
| 708 |
- Remove Cwd.pm (and Cwd.so) from the bundled dependencies. |
| 709 |
|
| 710 |
[Bug Fixes] |
| 711 |
|
| 712 |
- More robust probing for case-insensitive file systems. |
| 713 |
|
| 714 |
- PodStrip now attempts to match "standard" pod start before =cut, |
| 715 |
otherwise =cut gets removed by itself. |
| 716 |
|
| 717 |
- Win32 slashes are now normalized in privlib and archlib directories. |
| 718 |
|
| 719 |
- Don't extract shared libraries to inc/, since they were extracted |
| 720 |
in $PAR_TEMP already. |
| 721 |
|
| 722 |
- Don't re-extract shared libraries in subdirectories, since they |
| 723 |
are picked up by corresponding "use". |
| 724 |
|
| 725 |
- Tk now exits properly with a non-zero exit() value. |
| 726 |
|
| 727 |
- Fix libperl probing problem on Debian and Gentoo that manifests as a |
| 728 |
"libperl5.8.so not found" error during runtime. |
| 729 |
|
| 730 |
- gpp: Fixed typo in options with multiple filenames; cleaned up |
| 731 |
pp parameters. |
| 732 |
|
| 733 |
- When PAR_TEMP is set, shlib/ was not correctly added to the dynamic |
| 734 |
load path environment variables. |
| 735 |
|
| 736 |
- PAR now builds with Win32 VC++ without CVTRES.EXE available. |
| 737 |
|
| 738 |
- Detection of cl.exe, gcc.exe and cc.exe is now case-insensitive. |
| 739 |
|
| 740 |
0.85 2004-07-02 |
| 741 |
|
| 742 |
[New Features] |
| 743 |
|
| 744 |
- New version of "gpp"; see contrib/gui_pp/gpp_readme.txt for details. |
| 745 |
|
| 746 |
[Bug Fixes] |
| 747 |
|
| 748 |
- MANIFEST and META.yml were not properly updated by PAR::Packer. |
| 749 |
|
| 750 |
- Setting directory aliases with "pp -a"/"pp -A" was broken. |
| 751 |
Fixed, and tests were added for it. |
| 752 |
|
| 753 |
- Statically-built executables was needlessly extracting libperl |
| 754 |
each time it runs; now it is eliminated and hence much faster. |
| 755 |
|
| 756 |
0.83 2004-05-29 |
| 757 |
|
| 758 |
[New Features] |
| 759 |
|
| 760 |
- Revamped PAR::FAQ and sychronized with par.perl.org. |
| 761 |
|
| 762 |
- In pp-generated programs, $0 is now set to the pathname leading |
| 763 |
to the invoked executable. Use $ENV{PAR_0} instead to get the |
| 764 |
filename that contains the main perl program. |
| 765 |
|
| 766 |
- Updated "contrib/gui_pp/gpp" to support PAR::Packer options. |
| 767 |
|
| 768 |
[Bug Fixes] |
| 769 |
|
| 770 |
- Core XS modules, such as Data::Dumper, were skipped by "pp". |
| 771 |
|
| 772 |
- Fix t/2-pp.t for Cygwin by probing $Config{_exe} rather than uname(). |
| 773 |
|
| 774 |
- Scripts made by "pp -P", when invoked as "perl scriptname", |
| 775 |
should not search for the same-named programs in PATH. |
| 776 |
|
| 777 |
- Correctly remove leading slash and drive letters from absolute |
| 778 |
filenames passed to "pp -a". Also normalized blackslahes to slashes. |
| 779 |
|
| 780 |
- The PP_OPTS environment variable was not recognized. |
| 781 |
|
| 782 |
- "pp -a dirname;diralias" was broken. |
| 783 |
|
| 784 |
- "pp -f" and "pp -F" were broken. |
| 785 |
|
| 786 |
0.82 2004-05-24 |
| 787 |
|
| 788 |
[New Features] |
| 789 |
|
| 790 |
- New module PAR::Packer provides an OO interface to "pp"'s |
| 791 |
functionality; "pp" is now merely a thin wrapper for it. |
| 792 |
|
| 793 |
- New module App::Packer::PAR is a modified version of |
| 794 |
App::Packer, designed to work with PAR::Packer, and will |
| 795 |
hopefully be merged back to App::Packer. |
| 796 |
|
| 797 |
- The old, procedural "pp" is moved to contrib/; end-users |
| 798 |
should notice no changes in "pp"'s behaviour. |
| 799 |
|
| 800 |
- New options "pp -a" and "pp -A" (--addfile/--addlist) provides |
| 801 |
ways to include extra files and directories in the package. |
| 802 |
|
| 803 |
- The long option name for "pp -M" is changed from --add to |
| 804 |
--module. The old name is still recognized but no longer |
| 805 |
documented. Using "pp -M" to include non-library files |
| 806 |
is now deprecated; use "pp -a" instead. |
| 807 |
|
| 808 |
- par.pl and parl now writes messages to STDOUT, instead of |
| 809 |
STDERR. As a consequence, t/2-pp.t no longer prints extra |
| 810 |
warnings during "make test". |
| 811 |
|
| 812 |
[Bug Fixes] |
| 813 |
|
| 814 |
- On Non-Win32 platforms, perl 5.8.0 and earlier versions produced |
| 815 |
pp-generated executables that immediately segfaults. |
| 816 |
|
| 817 |
- Running pp-generated executables with absolute pathname failed |
| 818 |
on statically-built perls. |
| 819 |
|
| 820 |
- Tests were failing due to a missing pipe_a_command.pm in MANIFEST. |
| 821 |
|
| 822 |
- Add the missing myldr/win32.coff for building on Cygwin/MinGW. |
| 823 |
|
| 824 |
- If the "perl" in path is different from the perl interpreter used |
| 825 |
for "make test", t/2-pp.t is known to fail and is now skipped. |
| 826 |
|
| 827 |
- Cygwin failed t/2-pp.t because "parl" is spelled as "parl.exe" there. |
| 828 |
|
| 829 |
0.81 2004-05-23 |
| 830 |
|
| 831 |
[New Features] |
| 832 |
|
| 833 |
- Regained support for Win9x, Cygwin and MinGW. |
| 834 |
|
| 835 |
- PAR now supports 64-bit platforms, such as Tru64 and AIX. |
| 836 |
|
| 837 |
- Cygwin and MinGW can now build EXEs with icons, too; MinGW can update |
| 838 |
the icons, but Cygwin cannot. |
| 839 |
|
| 840 |
- Newly supported modules: Pod::Usage, DBIx::SearchBuilder, |
| 841 |
DBIx::ReportBuilder, SVK::Command, SVN::Core, and the ':encoding()' |
| 842 |
IO discipline. |
| 843 |
|
| 844 |
[Bug Fixes] |
| 845 |
|
| 846 |
- On non-Win32 systems, invoking pp-generated executable from PATH |
| 847 |
did not work. |
| 848 |
|
| 849 |
- Standalone executables were clobbered by existing perl environments |
| 850 |
with an identical "auto/IO" libpath as the author's environment. |
| 851 |
|
| 852 |
- Standalone executables did not work on systems with an unset |
| 853 |
dynamic load path environment variable (eg. LD_LIBRARY_PATH). |
| 854 |
|
| 855 |
- "pp -p -o multi.par 1.pl 2.pl; parl multi.par 1.pl" now works. |
| 856 |
|
| 857 |
- $ENV{PATH} and $ENV{TEMP} were truncated at first path delimiter. |
| 858 |
|
| 859 |
- "pp -f Bleach" did not work for ActivePerl on Win32. |
| 860 |
|
| 861 |
- Windows 9x systems were generating invalid cache directory names. |
| 862 |
|
| 863 |
- $ENV{path} is also recognized as $ENV{PATH} for Win32. |
| 864 |
|
| 865 |
0.80 2004-03-17 |
| 866 |
|
| 867 |
[New Features] |
| 868 |
|
| 869 |
- A comprehensive test suite for pp in contrib/automated_pp_test/. |
| 870 |
It is run as part of the "make test" process from t/2-pp.t. |
| 871 |
|
| 872 |
- Much better support for "pp -i" and "pp -N" (--icon/--info) |
| 873 |
using the Win32::Exe module. You may now use EXE and DLL as |
| 874 |
icon files. |
| 875 |
|
| 876 |
- If PAR_GLOBAL_CLEAN (-C, --clean) is not set, we now preemptively |
| 877 |
extracts files under the cache directory. That made POSIX.pm |
| 878 |
and other modules that depends on %INC pointing to real files |
| 879 |
work correctly. |
| 880 |
|
| 881 |
- Now uses SHA-1 to create temporary directories and files, |
| 882 |
instead of mtime. |
| 883 |
|
| 884 |
- Verbosity level is now 1..3, not 0..5; "pp -v" now takes |
| 885 |
an optional integer, so "pp -v input.pl" is no longer an error. |
| 886 |
|
| 887 |
- New flags "-vv" and "-vvv", as shorthands for "-v 2" and "-v 3". |
| 888 |
|
| 889 |
- The user-settable PAR_CLEAN and PAR_TEMP environment variables has |
| 890 |
been renamed to PAR_GLOBAL_CLEAN and PAR_GLOBAL_TEMP; the original |
| 891 |
variables are still accessible within the program. This is so that a |
| 892 |
pp-generated program can exec() or system() another one without |
| 893 |
crippling its environment variables. |
| 894 |
|
| 895 |
- File lookups are now case-insensitive on case-insensitive filesystems. |
| 896 |
|
| 897 |
- Another Tk-based GUI in contrib/gui_pp/; not installed by default. |
| 898 |
|
| 899 |
- OOified "pp" in contrib/object_oriented_pp/; not installed by default. |
| 900 |
|
| 901 |
[Bug Fixes] |
| 902 |
|
| 903 |
- "pp -d" (--dependent) prevented "pp -C" (--clean) from working. |
| 904 |
|
| 905 |
- The "pp -m" (--multiarch) option was implemented incorrectly |
| 906 |
and thus broken. |
| 907 |
|
| 908 |
- Many documentation tweaks. |
| 909 |
|
| 910 |
- Previously, "pp -M" (--module) did not add the module itself, |
| 911 |
only its dependencies. |
| 912 |
|
| 913 |
- Suppress a bogus warning when $ENV{$Config{ldlibpthname}} is empty. |
| 914 |
|
| 915 |
- "parl -v" without Module::Signature installed could delete all |
| 916 |
files within the current directory. Oops. |
| 917 |
|
| 918 |
- On *nix systems, pp-generated executables erroneously linked to |
| 919 |
libperl even if "pp -d" (--dependent) is not set. |
| 920 |
|
| 921 |
- Spurious =cut directives in source files is now handled gracefully |
| 922 |
by PAR::Filter::PodStrip. |
| 923 |
|
| 924 |
- "pp -L" (--log) now logs all output messages to the log file, |
| 925 |
not just the ones printed by "pp" itself. |
| 926 |
|
| 927 |
|
| 928 |
0.79 2004-01-08 |
| 929 |
|
| 930 |
[Bug Fixes] |
| 931 |
|
| 932 |
- Setting PAR_CLEAN had the reversed effect. Oops. |
| 933 |
|
| 934 |
- Dynamic libraries in cached directories was not detected |
| 935 |
properly, resulting in "permission denied" errors during |
| 936 |
certain race conditions. |
| 937 |
|
| 938 |
0.78 2004-01-07 |
| 939 |
|
| 940 |
[New Features] |
| 941 |
|
| 942 |
- By default, executables generated by "pp" will now store |
| 943 |
extracted files in cache directories. You may override |
| 944 |
this by setting the PAR_CLEAN environment variable to "1", |
| 945 |
or generate executables using "pp -C". |
| 946 |
|
| 947 |
- New "pp -C" (--clean) option to make the generated executable |
| 948 |
clean up temporary directories after each run. |
| 949 |
|
| 950 |
- PAR_CLEARTEMP is renamed to PAR_CLEAN. |
| 951 |
|
| 952 |
[Bug Fixes] |
| 953 |
|
| 954 |
- On Win32, temporary directories containing shared libraries |
| 955 |
was not being properly cleaned up. |
| 956 |
|
| 957 |
- If no suitable temporary directories are found, use the current |
| 958 |
directory (".") instead of the root directory ("/"). |
| 959 |
|
| 960 |
0.77 2004-01-01 |
| 961 |
|
| 962 |
[New Features] |
| 963 |
|
| 964 |
- New "pp -c" and "pp -x" (--compile/--execute) options run the |
| 965 |
script with "perl -c" to check for dependencies. |
| 966 |
|
| 967 |
- Also, the new "pp -n" (--noscan) command skips the default |
| 968 |
static scanning altogether. |
| 969 |
|
| 970 |
- Added support for "pp -c/-x/-n" to tkpp. |
| 971 |
|
| 972 |
- For dynamically-built perls, pp-generated .exe files will now |
| 973 |
appear in the process table with the same name as it was launched, |
| 974 |
instead of "par.exe". |
| 975 |
|
| 976 |
- New filter "Obfuscate", which uses B::Deobfuscate to strip away |
| 977 |
PODs and comments, as well as mangling variable names. |
| 978 |
|
| 979 |
- Merged tkpp 1.1 from Doug Gruber. |
| 980 |
|
| 981 |
- OS/2 is now supported. |
| 982 |
|
| 983 |
- External Zlib is no longer required to run pp-generated binaries. |
| 984 |
|
| 985 |
[Bug Fixes] |
| 986 |
|
| 987 |
- Makefile.PL was failing if $Config{cc} contains spaces. |
| 988 |
|
| 989 |
- No longer needs setting "Windows 95 compatible mode" to run on WinXP. |
| 990 |
|
| 991 |
- On Win9x with Perl 5.6.1, "nmake" was failing due to extra "@[...]" |
| 992 |
symbols in Makefile. It should be fixed now. |
| 993 |
|
| 994 |
- The "bad signature" problem with newer Archive::Zip versions is fixed. |
| 995 |
|
| 996 |
- App::Packer::Backend::PAR was misplaced into App/Packer/PAR. |
| 997 |
|
| 998 |
- Signature tests were failing under new ExtUtils::MakeMaker versions. |
| 999 |
|
| 1000 |
- ActiveState's PPM building machine was having problem with PAR; |
| 1001 |
a ".pdb" entry in MANIFEST.SKIP is added to fix that. |
| 1002 |
|
| 1003 |
- Some self-built PAR instances on Windows were failing due to |
| 1004 |
mismatching short and long pathnames. |
| 1005 |
|
| 1006 |
0.76 2003-10-28 |
| 1007 |
|
| 1008 |
[New Features] |
| 1009 |
|
| 1010 |
- Input filters. "pp --filter Bleach" now obfuscates the incoming |
| 1011 |
script with PAR::Filter::Bleach; "pp --modfilter Bleach" applies |
| 1012 |
Bleach to all packed modules. |
| 1013 |
|
| 1014 |
- Two previously built-in filters, PodStrip and PatchContent, |
| 1015 |
are refactored out as PAR::Filter subclasses. |
| 1016 |
|
| 1017 |
- Two new filters, Bleach and Bytecode, are added for source-hiding |
| 1018 |
purporses. |
| 1019 |
|
| 1020 |
- New utility, "tkpp", provides a GUI frontend to "pp". |
| 1021 |
|
| 1022 |
- New option, "pp --perlscript", to generate stand-alone scripts. |
| 1023 |
|
| 1024 |
- The old "PAR::Intro" documentation has been replaced by two |
| 1025 |
new ones: "PAR::Tutorial" and "PAR::FAQ". |
| 1026 |
|
| 1027 |
- Tk pixmap (.xpm) files can now be packed with "pp --add". |
| 1028 |
|
| 1029 |
[Bug Fixes] |
| 1030 |
|
| 1031 |
- Perl 5.8.1 has an off-by-one bug that prevents "parl" to |
| 1032 |
function properly. We have now provided a workaround; |
| 1033 |
this bug should also be fixed in Perl 5.8.2. |
| 1034 |
|
| 1035 |
- Fixed https support for LWP via the new Module::ScapDeps. |
| 1036 |
|
| 1037 |
0.75 2003-09-21 |
| 1038 |
|
| 1039 |
[New Features] |
| 1040 |
|
| 1041 |
- "pp -o file.exe file.par" now packs file.par into file.exe; |
| 1042 |
this means you can hand-tweak PAR files generated by "pp -p" |
| 1043 |
before packing it into an executable. |
| 1044 |
|
| 1045 |
[Bug Fixes] |
| 1046 |
|
| 1047 |
- Packing multiple programs by "pp script1.pl script2.pl" was |
| 1048 |
producing syntax errors; fixed. |
| 1049 |
|
| 1050 |
- "pp -M datafile" now works. |
| 1051 |
|
| 1052 |
- Exit code from pp-packed executables now properly propagates out. |
| 1053 |
|
| 1054 |
- Fixed "use base" detection, Math::BigInt support and spurious |
| 1055 |
signature warnings, by updated versions of Module::ScapDeps |
| 1056 |
and Module::Signature. |
| 1057 |
|
| 1058 |
- On Win32, the PE info headers no longer show PAR_XXXXXXXXXXX. |
| 1059 |
|
| 1060 |
0.74 2003-08-20 |
| 1061 |
|
| 1062 |
[New Features] |
| 1063 |
|
| 1064 |
- pp now has a set of "PatchContent" rules, dealing with |
| 1065 |
non-PAR-compatible modules: Tk, Tk::Widget, Win32::API::Type, |
| 1066 |
Win32::SystemInfo, SQL::Parser, diagnostics. These rules may |
| 1067 |
get refactored back to PAR.pm in the future. |
| 1068 |
|
| 1069 |
- New function, PAR::reload_libs(), to reload currently used |
| 1070 |
libraries inside PAR files. |
| 1071 |
|
| 1072 |
- PAR.pm itself is now never packed into pp-generated files, |
| 1073 |
to perserve interface compatibility and reduce bloat. |
| 1074 |
|
| 1075 |
- PAR.pm now handles "use PAR 'othercode.par'" called from |
| 1076 |
program or modules inside PAR files, even recursively. |
| 1077 |
|
| 1078 |
- A new icon for Win32 that is hopefully prettier. |
| 1079 |
|
| 1080 |
[Bug Fixes] |
| 1081 |
|
| 1082 |
- All data after __DATA__ are preserved for included libraries. |
| 1083 |
This helps self-reading modules like Net::LDAP::Constants. |
| 1084 |
|
| 1085 |
- PAR::read_file() was broken. It now works. |
| 1086 |
|
| 1087 |
- "use PAR" inside pp-generated executables was failing with |
| 1088 |
'file too short' errors due the mishandling of seek/tell. |
| 1089 |
|
| 1090 |
- Occasional crashes on Win32 due to rmdir() called too early |
| 1091 |
with DLLs still open is fixed; however, "pp -d" executables |
| 1092 |
may still exhibit this problem. |
| 1093 |
|
| 1094 |
- "pp -X" used to only take full pathnames as arguments. |
| 1095 |
It now also takes "Module::Name" and "Module/Name.pm". |
| 1096 |
|
| 1097 |
- Dynamically built Perl under Cygwin failed to build, because |
| 1098 |
libperl.dll.a was not found. |
| 1099 |
|
| 1100 |
- Eliminated "callback called on exit" warnings, and the related |
| 1101 |
"access violation" error on Win32. |
| 1102 |
|
| 1103 |
0.73 2003-08-06 |
| 1104 |
|
| 1105 |
[New Features] |
| 1106 |
|
| 1107 |
- The PAR Homepage is now online at http://par.perl.org/. |
| 1108 |
Documentations have been changed to link to it. |
| 1109 |
|
| 1110 |
[Bug Fixes] |
| 1111 |
|
| 1112 |
- Tk applications can now properly access xpm/xbm files |
| 1113 |
with Tk->findINC. |
| 1114 |
|
| 1115 |
- On Win32, pp-generated executables could not start from |
| 1116 |
Explorer, if its path contains space characters. Fixed. |
| 1117 |
|
| 1118 |
- On Win32, pp-generated executables used to leave around an |
| 1119 |
empty directory in $ENV{TEMP}. It is now properly rmdir'ed. |
| 1120 |
|
| 1121 |
- Some systems (notably OpenBSD and Debian) does not put their |
| 1122 |
libperl.so in the default location, which breaks the build |
| 1123 |
process; now searches inside $ENV{$Config{ldlibpthname}} and |
| 1124 |
$Config{libpth} to find it. |
| 1125 |
|
| 1126 |
0.72 2003-08-02 |
| 1127 |
|
| 1128 |
[New Features] |
| 1129 |
|
| 1130 |
- CHECK and INIT blocks in programs inside PAR are now supported. |
| 1131 |
|
| 1132 |
[Bug Fixes] |
| 1133 |
|
| 1134 |
- Two debug statements were mistakenly left in the source, |
| 1135 |
resulting in "trying to get rid of /tmp/par_priv.xxxx.tmp" |
| 1136 |
messages. |
| 1137 |
|
| 1138 |
- Building on Linux with GCC 3.2.2 was failing due to massive |
| 1139 |
heap required for my_perl.c. Fixed by splitting it into 3k |
| 1140 |
chunks. |
| 1141 |
|
| 1142 |
- Depends on Module::ScanDeps 0.21; it supports utf8 on Perl 5.6.1 |
| 1143 |
and can significantly reduce executable file size by eliminating |
| 1144 |
unneccessary shared libraries. |
| 1145 |
|
| 1146 |
0.71 2003-07-30 |
| 1147 |
|
| 1148 |
[Bug Fixes] |
| 1149 |
|
| 1150 |
- A nasty data-loss bug has been uncovered immediately after the |
| 1151 |
previous release; it only affects Windows platforms, and may |
| 1152 |
cause all files to be erased under the current root (\) directory. |
| 1153 |
|
| 1154 |
- Building on Red Hat linux was failing, with error message that |
| 1155 |
says "my_perl not declared". This has since been fixed. |
| 1156 |
|
| 1157 |
0.70 2003-07-29 |
| 1158 |
|
| 1159 |
[New Features] |
| 1160 |
|
| 1161 |
- On machines with shared libperl, "pp" now makes truly stand-alone |
| 1162 |
executables; the old behaviour is available with "pp --dependent". |
| 1163 |
|
| 1164 |
- Under Windows NT/2000/XP, "pp --icon=name.ico" now changes the icon |
| 1165 |
for the generated executable; otherwise, a default "white camel" |
| 1166 |
icon is used. |
| 1167 |
|
| 1168 |
- "use PAR 'http://example.com/foo.par'" now works, as does |
| 1169 |
"perl -MPAR -Ihttp://example.com/foo.par". |
| 1170 |
|
| 1171 |
- PAR::Dist is now a mandatory prerequisite, which provides |
| 1172 |
functions to turn any CPAN distribution into a PAR distribution, |
| 1173 |
as well as to install, uninstall, sign and verify such files. |
| 1174 |
|
| 1175 |
- Integrated PAR::Dist into "par.pl" and "parl". For example, |
| 1176 |
"parl -i Foo-0.01-i386-freebsd-5.8.0.par" installs a PAR |
| 1177 |
distribution; "parl -v out.exe" verifies a digitally signed |
| 1178 |
executable generated by "pp --sign". |
| 1179 |
|
| 1180 |
- A new option, "pp --multiarch", lets you generate PAR files |
| 1181 |
that can work on several architectures. |
| 1182 |
|
| 1183 |
- "pp --sign" now adds digital signatures to generated executables |
| 1184 |
and PAR files. |
| 1185 |
|
| 1186 |
- PAR files may now (recursively) contain other PAR files inside |
| 1187 |
their par/ directories. |
| 1188 |
|
| 1189 |
- shlib/ and par/ directories inside PAR files can now contain |
| 1190 |
architecture- and perl-version-specific subdirectories. |
| 1191 |
|
| 1192 |
- The "Cross-Platform Packaging and Deployment with PAR" tutorial |
| 1193 |
is now online as http://www.autrijus.org/par-tutorial/. |
| 1194 |
|
| 1195 |
[Bug Fixes] |
| 1196 |
|
| 1197 |
- MANIFEST.SKIP was broken on Win32. |
| 1198 |
|
| 1199 |
- C compilers that doesn't handle long line well can now |
| 1200 |
compile PAR. |
| 1201 |
|
| 1202 |
- DLL files inside the same auto/ library as XS modules |
| 1203 |
was not properly extracted and loaded. This specifically |
| 1204 |
affects Win32. |
| 1205 |
|
| 1206 |
- Because parl's @INC is '.', pp-generated executables may |
| 1207 |
miss IO.dll and other shared libraries since they couldn't |
| 1208 |
be correctly found in @INC. |
| 1209 |
|
| 1210 |
0.69 2003-05-31 |
| 1211 |
|
| 1212 |
[New Features] |
| 1213 |
|
| 1214 |
- Under Perl 5.8, "pp -p" now works with Apache::PAR. |
| 1215 |
See http://aut.dyndns.org/par-tutorial/slide018.html for |
| 1216 |
a simple example. |
| 1217 |
|
| 1218 |
- "pp -M filename" now adds "filename" to /, not /lib/, |
| 1219 |
unless filename ends in (pm|ix|al). This makes it |
| 1220 |
possible to bundle "web.conf" needed by Apache::PAR. |
| 1221 |
|
| 1222 |
- "pp -l" now searchs in system library paths, and |
| 1223 |
appends "lib" / prepends ".$dl_ext" where necessary. |
| 1224 |
|
| 1225 |
[Bug Fixes] |
| 1226 |
|
| 1227 |
- PAR segfaults on some Unix platforms due to a NULL pointer |
| 1228 |
used in mktmpdir.c. Fixed. |
| 1229 |
|
| 1230 |
- "pp -o out.par -p -e '...'" now honors -o; previously |
| 1231 |
it used "a.out.par" anyway. |
| 1232 |
|
| 1233 |
- Inhibited spurious uninitialized warnings under -w in the |
| 1234 |
POD-stripping code. |
| 1235 |
|
| 1236 |
- Win32 did not properly cleans up PAR_TEMP directory, resulting |
| 1237 |
in failure for executables that reused the same PID. Fixed. |
| 1238 |
|
| 1239 |
0.68 2003-05-26 |
| 1240 |
|
| 1241 |
[New Features] |
| 1242 |
|
| 1243 |
- New 'pp -l' option to pack additional shared libraries (DLLs). |
| 1244 |
|
| 1245 |
- POD-stripped libraries inside PAR files now have #line directives |
| 1246 |
inserted, so they report the original line numbers on failure. |
| 1247 |
|
| 1248 |
- PAR files generated by 'pp' now has a MANIFEST file that can be |
| 1249 |
viewed by Gecko-based browsers with Javascript turned on, e.g.: |
| 1250 |
jar:http://aut.dyndns.org/par/test.par!/MANIFEST |
| 1251 |
|
| 1252 |
[Bug Fixes] |
| 1253 |
|
| 1254 |
- Each pp-executable instance now creates its own PAR_TEMP directory; |
| 1255 |
this avoids permission errors when multiple users run the same binary. |
| 1256 |
As a consequence, PAR_CLEARTEMP is now set to "1" by default. |
| 1257 |
|
| 1258 |
- Newer versions of shared Zlib library no longer causes "pp" to |
| 1259 |
generate broken executables. |
| 1260 |
|
| 1261 |
- Fixed dynamic loading on Cygwin was failing due to missing +x mode. |
| 1262 |
|
| 1263 |
- Like "use lib", "use PAR 'name.par'" now unshift()s instead of push()es |
| 1264 |
into @INC. Same applies for "par.pl -A" and "parl -A". |
| 1265 |
|
| 1266 |
- Fixed building on ActivePerl 626 and below due to a missing $Config{ld}. |
| 1267 |
|
| 1268 |
0.67 2003-04-01 |
| 1269 |
|
| 1270 |
[New Features] |
| 1271 |
|
| 1272 |
- PAR now works on Cygwin and MinGW/MSYS. |
| 1273 |
|
| 1274 |
- Globbing support in PAR::import(): use PAR "/path/*.pm"; |
| 1275 |
|
| 1276 |
- New license clarification messages added to POD and 'pp -V'. |
| 1277 |
|
| 1278 |
- All 'pp' options now has a short form (-o) and a long form (--output). |
| 1279 |
|
| 1280 |
- Revamped documentation for 'pp'. |
| 1281 |
|
| 1282 |
- New -g (--gui) flag for 'pp' to build console-less Win32 executables. |
| 1283 |
|
| 1284 |
[Bug Fixes] |
| 1285 |
|
| 1286 |
- Building on Darwin Perl 5.6.0 was broken with 'cc -s'. |
| 1287 |
|
| 1288 |
- Building on 5.6.0 was broken due to bad 'base.pm'. |
| 1289 |
|
| 1290 |
- Win32 Tk::Widget autoloading was broken due to a binmode() bug. |
| 1291 |
|
| 1292 |
- IPC::Run was pod-stripped incorrectly. Fixed. |
| 1293 |
|
| 1294 |
- Depends on Module::ScanDeps 0.19, which supports utf8 and .ph files. |
| 1295 |
|
| 1296 |
- Better AutoInstall support, which uses 'sudo' where necessary. |
| 1297 |
|
| 1298 |
0.66 2003-03-20 |
| 1299 |
|
| 1300 |
[New Features] |
| 1301 |
|
| 1302 |
- Adds PAR::Intro, a PODified version of the online presentation. |
| 1303 |
|
| 1304 |
- Adds App::Packer::Backend::PAR, a bridge between PAR and App::Packer. |
| 1305 |
|
| 1306 |
- Scripts and modules are now searched in "/" last, instead of first. |
| 1307 |
|
| 1308 |
- Experimental patch for packing shared libraries via "pp -l". |
| 1309 |
|
| 1310 |
- HTTP fetching of precompiled packages in addition to FTP. |
| 1311 |
|
| 1312 |
[Bug Fixes] |
| 1313 |
|
| 1314 |
- Makefile.PL now downloads precompiled packages only if needed. |
| 1315 |
|
| 1316 |
- AutoInstall has been made to work for an easier installation. |
| 1317 |
|
| 1318 |
- The redundant "parl.exe.bat" is no longer created on Win32. |
| 1319 |
- Pre-0.63 PARs used to leave broken .dll in TEMP; now they're cleaned. |
| 1320 |
|
| 1321 |
- "pp c:\something.pl" no longer treats c: as a relative path. |
| 1322 |
|
| 1323 |
- "pp -I dir" now searches 'dir' first, instead of last. |
| 1324 |
|
| 1325 |
- "pp" was broken on Perl 5.6.0 due to => stringification bugs. |
| 1326 |
|
| 1327 |
- Support for Tk::Widget autoloading has been added. |
| 1328 |
|
| 1329 |
- "parl" was not stripped if "gcc" was invoked as "cc"; fixed. |
| 1330 |
|
| 1331 |
- On a machine with multiple "parl"s, "pp" now uses the correct one. |
| 1332 |
|
| 1333 |
- File::Temp was missing as a dependency. |
| 1334 |
|
| 1335 |
[Known Issues] |
| 1336 |
|
| 1337 |
- Cygwin support is still broken. |
| 1338 |
|
| 1339 |
- PAR does not include utf8_heavy.pl nor unicore/* for scripts that |
| 1340 |
has "use utf8;". This has since been fixed by Module::ScanDeps 0.18. |
| 1341 |
|
| 1342 |
0.65 2003-03-09 |
| 1343 |
|
| 1344 |
This release comes with several significant improvements: |
| 1345 |
|
| 1346 |
[Automatic binary installation] |
| 1347 |
|
| 1348 |
Previously, users without a C compiler cannot build the 'parl' |
| 1349 |
executable, and is therefore unable to create self-contained |
| 1350 |
binaries using 'pp'. |
| 1351 |
|
| 1352 |
Now, if there is a binary package available for that architecture |
| 1353 |
under my CPAN directory, the Makefile.PL script will automatically |
| 1354 |
fetch it, unpack into blib/, and the installation will continue as |
| 1355 |
normal, resulting in a fully-functional 'pp'. |
| 1356 |
|
| 1357 |
This feature is part of the soon-to-be-released Module::Install |
| 1358 |
framework; it will greatly benefit all CPAN authors with non-pure-perl |
| 1359 |
distributions. |
| 1360 |
|
| 1361 |
[POD stripping] |
| 1362 |
|
| 1363 |
Packages generated with 'pp' will now strip POD sections from all |
| 1364 |
packed dependencies (your own scripts is unaffected); all binary |
| 1365 |
executables will save at least 276732 bytes, with additional ~20% |
| 1366 |
saving in additional packed dependencies. |
| 1367 |
|
| 1368 |
You can turn off this feature with the PAR_VERBATIM environment |
| 1369 |
variable. |
| 1370 |
|
| 1371 |
[XS Incompatibility solved] |
| 1372 |
|
| 1373 |
Because 'pp'-generated executables includes some fixed version of |
| 1374 |
shared libraries (IO, Zlib, etc), they used to break when the |
| 1375 |
target system has different version of shared libraries. |
| 1376 |
|
| 1377 |
Now PAR::Heavy intercepts DynaLoader::dl_expandspec to always prefer |
| 1378 |
the library inside the PAR file, so this issue is resolved. |
| 1379 |
|
| 1380 |
[5.6.1 Reclaimed] |
| 1381 |
|
| 1382 |
Thanks to Sisyphus and various others, building on Perl 5.6.1 |
| 1383 |
(with its old ExtUtils::MakeMaker and lack of PTHREAD_ATFORK) |
| 1384 |
now works again. |
| 1385 |
|
| 1386 |
0.64 2003-03-02 |
| 1387 |
|
| 1388 |
[New Features] |
| 1389 |
|
| 1390 |
- The t/0-signature.t test is re-enabled for people using my |
| 1391 |
Module::Signature to verify the module's OpenPGP signature. |
| 1392 |
|
| 1393 |
- This release is the first distribution on CPAN to use the |
| 1394 |
Module::Install framework, which is a stand-alone, extensible |
| 1395 |
drop-in replacement for ExtUtils::MakeMaker that needs no |
| 1396 |
extra action/prerequisites for end users. |
| 1397 |
|
| 1398 |
[Bug Fixes] |
| 1399 |
|
| 1400 |
- Dynamic loading on Win32 was broken, due to a binmode() bug |
| 1401 |
reported by Bill Atkins, D. Menzel and others. |
| 1402 |
|
| 1403 |
- Building on Win32 in directory names that contain spaces |
| 1404 |
did not work. |
| 1405 |
|
| 1406 |
0.63 2003-02-06 |
| 1407 |
|
| 1408 |
[Bug Fixes] |
| 1409 |
|
| 1410 |
- The 'parl' binary (which replaces the old 'par' or 'par.exe') |
| 1411 |
didn't work properly when bundling perl modules for self- |
| 1412 |
contained executables, rendering 'pp' useless on machines |
| 1413 |
without core perl. |