-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathChanges
1406 lines (972 loc) · 48.3 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1.020 2024-03-04
- restructure _extract_inc(): always add XS DLLs in
PAR_TEMP/inc to PAR::Heavy::FullCache, ie. even if PAR_TEMP/inc
already exists (hence we don't need to extract the zip), cf. #11
- bump minimum perl version to 5.8.9 everywhere
1.019 2023-11-01
- register XS DLLs extracted into $PAR_TEMP/inc with %PAR::Heavy::FullCache
This solves the problems mentioned in GitHub PR #8
("Special case Gtk related dlls to dl_load from the unpacked inc dir")
with applications using modules Gtk2, Pango, Cairo and others (this is
a Windows only problem)
- Heavy.pm: use strict; use warnings
Thanks @shawnlaffan
1.018 2022-09-28
- Fix #6: PAR fails to test its build on MSWin32 with Perl-5.36.0
Makefile.PL: Quote t/gen-hello-par.pl for Windows
Merge PR #5 by Tim Hoke <[email protected]>
1.017 2021-01-13
- change bugtracker to GitHub issues
- remove obsolete stuff from tutorial
1.016 2019-05-20
- Fix #129312: Code signing for OSX
Avoid Archive::Zip::Archive error "can't find EOCD signature" for pp'ed
executables with lots of stuff appended (e.g. by OSX codesign):
temporarily increase Archive::Zip::ChunkSize around the call to
Archive::Zip::readFromFileHandle().
Note this is prerequisite for the corresponding fix in PAR::Packer.
- Fix: Archive::Unzip::Burst::unzip result is ignored and _extract_inc
does always the slow way, too
PR from Vit Spinka <[email protected]>, thanks!
- Show debug messages if $ENV{PERL_DL_DEBUG} is true
1.015 2017-04-13
- Fix RT#120722 (Reason for Module::Signature dependency unclear since 2008)
- "require" a non-broken version of Digest::SHA
- remove other crypto related "recommends"
- Switch from Module::Install to ExtUtils::MakeMaker
- avoids the hassle with Module::Install for Perl without "." in @INC
- add some resources cf META.json
1.014 2016-12-18
- Fix RT#119224: "Issue about Can't locate loadable object for module"
drop "use" statements in PAR/Heavy.pm added in edf5f24d
- Fix RT#119010: "Wrong license link"
always refer to the included LICENSE file
- generate hello.par in Makefile target "pure_all"
1.013 2016-11-27
- Fix a crucial typo, hopefully fixes RT#118981 "Tests fail (with PAR 1.012?)"
- Build t/hello.par at "make" time
1.012 2016-11-25
- Guard against concurrent extraction attempts of zip into "inc"
- use a file lock to protect the extraction of the complete zip into "inc"
- _run_member_*(), _tempfile(), _dl_extract():
make the "persistent" filename only visible when the file
has been completely written
- Make build and test work if @INC does not include "."
- Upgrade to Module::Install 1.17
1.011 2016-09-18
- Move to GitHub. Thanks, OpenFoundry, for years of service.
- Suppress warning "Use of uninitialized value in do "file" ..."
- Put a description of its purpose into the canary file
- Remove all traces of Internals::PAR::CLEARSTACK
- Remove all references to http://par.perl.org/, doesn't exist anymore
1.010 2015-07-13
- Fix #101800 "[PATCH] Reinstate files to inc dir if deleted by external process"
Periodic temp directory cleaning programs (eg. "tmpwatch") may remove some
(older) files from $PAR_TEMP/inc, but keep others. This causes the packed
program to fail.
- When extracting a .par file to $PAR_TEMP/inc do NOT restore the original
modified timestamps of the file (so that the extracted files have
the time of extraction as their modified time).
- Add a "canary" file in $PAR_TEMP and back-date it 1 day. Hence any process
removing files in $PAR_TEMP based on timestamps should remove
the "canary" before others.
- If the canary file is missing, extract the .par to $PAR_TEMP/inc
as previously was done only when $PAR_TEMP/inc was missing.
1.009 2015-04-22
- Fix 103861 for PAR-Packer: Adding local directories to @INC for a pp executable fails
- Get rid of included PerlIO.pm, parent.pm, obsolete
Module::Install::Include and included Test::More.
1.008 2015-01-24
- Fix #101662: Prevent shared libs from being cached in memory on AIX
applied patch from [email protected], thanks.
Note: this is one half of the fix, the other is in PAR::Packer
- Fix #86178: dll files not extracted to shlib subfolder when using -l or to other folder when using -a
extract all files from the zip, including all DLLs
- Fix #86014: [PATCH] POD fix
applied Debian patch from gregor herrmann <[email protected]>, thanks!
while we're at it fix two bad L<> hyperlinks reported by podchecker
- Fix RT #86650: typo fixes
- reformat ChangeLog file according to CPAN::Changes::Spec
and rename it to Changes
- Update to Module::Build 1.14
1.007 2012-10-22
- Hopefully fix "pp -C ..." for any modules that assume an
actual tree of files, e.g. looking for all installed modules Foo::Bar::*;
call _extract_inc even when $ENV{PAR_CLEAN} is true
- update to Module::Install 1.06
1.006 2012-10-15
- Fix RT #78633: PAR::import ignores url => $repo_client_object
applied patch from KENO, thanks!
- Fix RT #73491: cache directory naming problem
In PAR::SetupTemp::_get_par_user_tempdir (actually _find_username)
we try to sanitize username (so that there are no problematic
characters in the name of the per-user cache directory), but the
strategy fails miserably for some charset encodings.
E.g. for EUC-KR or CP949 (as in the bug report) we may produce an
illegal sequence of bytes; in other cases we may cause collisions
(different usernames mapping to the same directory name).
Fix the problem once and for all by encoding the username
(bytewise) as 2 hex digits.
1.005 2011-12-02
- bump Perl version requirement to 5.8.1 (Schwern: The End Of 5.6 Is Nigh!)
- run all tests using a nonce PAR_TMPDIR (otherwise CPAN Testers
goes crazy as top level /tmp/par-USER directories (or similar)
from previous tests may now be considered "unsafe")
1.004 2011-11-30
- back out r1241: it causes errors in PAR::Packer's test suite
- change "unsafe directory" error message to match the wording
used by PAR::Packer
- remove "debian" sub directory: it isn't released to CPAN and
Debian will supply its own anyway
- remove some cruft from MANIFEST.SKIP
1.003 2011-11-28
- RT #69560/CVE-2011-4114: PAR packed files are extracted to unsafe
and predictable temporary directories
(Note: this bug was originally reported against PAR::Packer, but
it applies to PAR as well)
- create parent of cache directory (i.e. /tmp/par-USER) with mode 0700
- if it already exists, make sure that (and bail out if not)
- it's not a symlink
- it's mode 0700
- it's owned by USER
- Fix a problem packing XML::LibXSLT on Windows (see the thread starting
with http://www.nntp.perl.org/group/perl.par/2011/02/msg4919.html)
- Die (with a hopefully useful message) if any error is encountered
during an Archive::Zip extract operation
1.002 2010-07-25
- Fixes to VERSIONs of PAR::Setup*.
- No change in behaviour since 1.001
1.001 2010-07-25
- RT #57399: extract everything (including DLLs) in File::ShareDir
directories. Module::ScanDeps classifies everything in
File::ShareDir directories as "data", but PAR uses it's own
heuristics what to extract from a .par.
- Previous release was missing META.yml.
- Upgrade Module::Install to 1.00
1.000 2010-04-10
- Fix defined(%hash) deprecation warning in PAR::Heavy
0.994 2009-07-23
- Fix for the PAR::Heavy fix to the INC priority handling.
0.993 2009-07-19
- The priority (fallback=>0) repositories should look at @PAR_INC
for the loaded PARs instead of @PAR_INC_LAST.
- Don't reload from a downloaded .par file after installing it
via "upgrade".
- Band-aid fix for the loading priority of shared librares from
PAR files: Try PAR's first, the local stuff, then fallback-PARs.
- Initial support for running external perl scripts from a packaged
interpreter.
0.992 2009-04-05
- Support for non-fallback repositories.
0.991 2009-03-10
- Promote previous release to stable release.
0.989_01 2009-03-02
[Bug fixes, etc.]
- Track the locations of all archives that have been extracted to
$ENV{PAR_TEMP}/inc in this run.
0.988 2009-03-01
- Promote previous release to stable release.
0.987_01 2009-02-20
[New features]
- Better cleanup of the $TMPDIR/par-$USER/temp-$$ directories
that are typically used as caches in the "use PAR 'foo.par'" use case.
[Bug fixes, etc.]
- Very slightly more careful handling of PAR-specific environment
variables.
- Cleanup of PAR::SetupTemp
0.986 2009-02-19
- Promote to stable release.
0.985_01 2009-02-02
[New features]
- Support for the brand new static dependency resolution
of PAR::Repository::Client 0.23.
[Bug fixes, etc.]
- Fix issue with running scripts from repositories:
The INC hooks used to be set up too late for this to
automatically pick up dependencies.
0.984 2009-01-25
[New features]
- Implemented the auto-upgrading option for loading and installing
from PAR::Repositories.
[Bug fixes, etc.]
- Fix issue with PAR::Repository::Client development versions.
0.983 2008-09-12
[Dependencies]
- Require AutoLoader 5.67 which contains a PAR-related
bug-fix.
- Require PAR::Dist 0.32.
[Internal changes]
- The full extraction process _extract_inc
(which is triggered when a non--clean pp packaged
executable is run) can now be forced to do the
extraction (instead of doing if !-d).
- That same extraction routine now accepts Archive::Zip
handles or file names.
- When, during the full extraction, the extracted paths
are to be added to @INC, we now make sure they're not
in @INC yet.
0.982 2008-08-10
[New features]
- Moved the routines that setup the PAR_TEMP environment variable
to a separate module in the distribution so it's possible to
use PAR::Repository::Client without loading all of PAR.
- Same for the function that sets up PAR_PROGNAME.
[Bug fixes, etc.]
- Upgrade to Module::Install 0.77
- Fix for running scripts from repositories.
0.980 2008-05-22
[Bug fixes, etc.]
- The function PAR::get_filehandle() that was introduced in 0.979
is really broken because Archive::Zip is broken. Turns out calling
Archive::Zip::Member->fh() returns a file handle to the zip file,
not a virtual/tied/whatever file handle to the member file.
Therefore, the get_filehandle() function has been removed again until
we work around this issue.
- Upgrade to Module::Install 0.73
0.979 2008-05-13
[New features]
- New function PAR::get_filehandle() returns a file handle for a file
in any open .par files. Similar to read_file().
0.977 2007-10-19
[Bug fixes, etc.]
- HPUX doesn't like shared libraries being unlinked while in use. So don't
try to do this even in clean mode. (Workaround will be in par.pl)
(Scott Stanton)
- Fix DLL extraction file name matching in PAR::Heavy.
- Save two system calls per DLL during DLL extraction in PAR::Heavy.
0.976 2007-07-29
[New features]
- Use Archive::Unzip::Burst for unpacking binary executables if
available. (This yields a significant startup speed-up.)
[Bug fixes, etc.]
- Removed the auto_install feature from Makefile.PL. auto_install
is conceptually broken.
0.973 2007-02-03
[New features]
- A new option for the "use PAR { ... };" use case:
"no_shlib_unpack" signals that for this particular .par file,
shared libraries that were added with the --lib option should
not be extracted. This allows users to do their own cache
handling for these libraries.
- PAR no longer unpacks *all* shared libraries by default but only
those in the shlib/ directory (i.e. added with --lib).
The shared libraries in auto/ should be picked up by the DynaLoader
hack.
- If available, the prefork.pm module will be used to declare
run-time dependencies for better memory use in forking
environments.
- PAR now uses a caching mechanism to speed up the extraction process.
This should particularly impact users of the "use PAR {file =>...}"
form.
[Bug fixes, etc.]
- Applied an optimization of the unpacking process on case insensitive
file systems.
0.972 2007-01-16
[Bug fixes, etc.]
- Removed PAR::AutoLoaderFix again. It wasn't working as expected
all the time.
- To fix the problem AutoLoaderFix was supposed to fix, we now
require AutoLoader 5.62 or newer which was just recently released
to CPAN. (Previously only available from blead perl.)
0.971 2007-01-12
[Bug fixes, etc.]
- Fixed typo in the POD. (Jerrad Pierce)
- Included fix for a bug in AutoLoader.pm as shipped with all
perl versions up to and including 5.8.8 as PAR::AutoLoaderFix.
This cures a problem of endless looping when the %INC entry of a
module doesn't point to a file of the same name.
This may happen during "use PAR 'foo.par'".
0.970 2006-12-03
[This release introduces some rather radical changes, so read carefully:]
[All PAR::Packer related logic has been moved to a separate distribution,]
PAR-Packer. This includes pp, parl and all packaging tools. This way,
PAR becomes a pure-Perl distribution that can be most easily installed by
users of software which requires PAR.
Developers who want to use the PAR packager, pp, need to install the
PAR-Packer distribution from CPAN.
0.961 2006-11-23
[Bug fixes, etc.]
- PAR::StrippedPARL::Base->write_parl() failed to work if the @INC
directories contained spaces in 0.960. (Steven Mackenzie)
- Much improved documentation of the environment variables
(Glenn Linderman)
- Fix for a spaces-in-pathname problem on Windows for
t/30-current_exec.t. (Malcolm Nooning)
0.960 2006-11-21
[Bug fixes, etc.]
- myldr/Makefile.PL fix: Clean up myldr/usernamefrompwuid.h.
- Silence warning in myldr/internals.c.
- Silence warnings seen on Irix from myldr/env.c.
- Skip most tests in 10-parl-generation.t if there is no parl.
- Skip loading ActiveState Perl's "sitecustomize.pl" in par.pl.
- Load modules via require and other files via do.
- The parl-regeneration-for-every-pp-call addition of the 0.958 release
should now also work for static perls.
[New features]
- Adressing RT ticket #6612: Now using getpwuid() to determine the
user name if supported by the OS.
0.959 2006-11-12
[This is just a hotfix release because 0.958 lacked META.yml. One day, I will]
switch from Module::Install to Module::Build...
0.958 2006-10-25
[Bug fixes, etc.]
- myldr/Makefile.PL fix: make static.o depend on mktmpdir.c, my_perl.c,
my_par.c. (Roderich Schupp)
- Modules included with the -M option to pp were previously scanned
for dependencies but not mapped through the
%Module::ScanDeps::Preload hash for custom dependencies. That's
fixed now.
- $ENV{PAR_RUN} isn't set by PAR::Packer any more because nothing in
the PAR sources uses it. $ENV{PAR_RUN} is no longer used by PAR
at all.
- Unified the environment variables which are looked at for
finding the system's temporary directory.
[New features]
- During the build process, PAR appends stripped down copies of parl
(and parldyn if applicable) to the data classes
PAR::StrippedPARL::Static and ::Dynamic. These
parls-without-embedded-modules are used for packaging so the formerly
embedded modules are now packaged from the packaging system. (Instead
of stemming from the system where PAR/parl was built.)
- The "use PAR { repository => $url };" syntax now also supports
the use of user-constructed PAR::Repository::Client objects instead
of an URL.
- The -F (module code filter) option now supports selective filtering
of modules. The syntax is "-F FILTER=REGEX" or - as before -
"-F FILTER". The regular expression is applied to the *file name*,
of the module inside the PAR (e.g. Foo/Bar.pm). This behaviour was
chosen over matching against the module name (e.g. Foo::Bar) because
the filters can be applied to module-like and script files as well
(.pl, .al, etc.).
- Updated PAR/FAQ.pod with the new FAQ's from the PAR wiki.
- Added a POD file PAR/Environment.pod which is intended to become
an index of all environment variables PAR uses of its own or
recognizes from its users. Still mostly a stub.
0.957 2006-10-24
[Bug fixes, etc.]
- Fix executable PARs top properly detect embedded scripts
named the same as the executable. (Jesse Vincent)
- Comment out the call to par_current_exec_proc (in the C loader)
which breaks the use of symlinks to pp-ed executables when not
called with a path. (I.e. using a search in $PATH).
0.956 2006-10-03
[Bug fixes, etc.]
- This is another hotfix release. Fixed a mindless bug introduced in 0.955.
0.955 2006-10-03
[Bug fixes, etc.]
- 0.952 introduced removal of system module search paths if -B is in
effect. This resulted in some valid PAR-related paths being removed
as well. Fixed. Upgrading from 0.952 and 0.954 is suggested.
- Changed the use of hard-coded '/' as path-separator to using File::Spec.
0.954 2006-09-26
- This release is equivalent to 0.953. The 0.953 CPAN upload is broken!
0.953 2006-09-18
[Bug fixes, etc.]
- Added optional POD tests.
- Modified -B so that if -B is in effect, all entries are stripped
out of @INC except for the PAR hooks. This happens right before
the script contained in the pp-ed binary is executed.
0.952 2006-08-22
[New features]
- Added the "install" option to the PAR loading syntax.
If specified, the contents of the PAR distribution are
permanently installed.
This requires PAR::Repository::Client 0.04.
[Bug fixes, etc.]
- Fixed broken META.yml in 0.951.
0.951 2006-08-12
(This includes any changes up to 0.950.)
[New features]
- Introduced new PAR loading syntax and semantics:
use PAR { file => 'path/to/par/or/URL' };
==> equivalent to "use PAR 'path/to/par/or/URL';"
- Introduced the 'fallback' option: (default = 0)
use PAR { file => 'foo.par', fallback => 1 };
==> Loads modules from the PAR file only if loading
them from @INC did not succeed.
- Introduced the 'run' option which executes a script
in a PAR archive just like
perl -MPAR foo.par script.pl
- If PAR::Repository::Client is installed, you can add a
repository of .par distributions to your library search path
as follows:
use PAR { repository => 'http://foo' };
- Of course, 'run' also works with repositories:
use PAR { repository => 'http://foo', run => 'my_app' };
(This searches the repository for any distributions that have a
my_app script.)
--> For details on repositories, have a look at the
PAR::Repository::Client module.
- Bug fixes, etc.
- Commented a couple of the routines in PAR.pm. (Yay!)
- New test script for the new fallback loading feature.
- Fixed a bug in the Spreadsheet::ParseExcel handling in
PatchContent.pm.
0.942 2006-07-22
[Bug fixes, etc.]
- Better support for diagnostics.pm (in conjunction with
Module::ScanDeps 0.62.)
- Now requiring Module::ScanDeps 0.62.
0.941 2006-06-20
(No, PAR isn't stagnating. It's just that 1.00 would draw close if
we continued with 0.01 increases.)
[Bug fixes, etc.]
- Version 0.94 of PAR would use the same cache area for all pp-ed
applications due to a faulty hotfix for Digest::SHA. This applies
to PAR 0.94 only. Think of 0.941 being PAR 0.94 done right.
0.94 2006-06-01
[New Features]
- Added support for reading options to pp from a file using a
'@filename' argument to pp: pp -o foo --gui @filename foo.pl
[Bug fixes, etc.]
- Workaround for a bug in Digest::SHA 5.38 and 5.39 that would prevent
PAR from being built.
- Fixed details in the 2-pp.t test file.
- Now recognizes text files that aren't picked up by the -T operator
but by the "file" tool.
- Applied Roderich Schupp's patch to 30-current_exec.t to fix a
path issue.
- Now requiring Module::ScanDeps 0.60 which fixes a couple of bugs
which might be observed as PAR bugs.
- Now working well with Spreadsheet::ParseExcel which uses an invalid
POD section to comment out a code block. This wasn't recognized by
PAR::Filter::PodStrip as POD and hence partly left in...
- If the output directory doesn't exist, we create it now and output
a meaningful error message if that failed.
0.93 2006-05-19
[New Features]
- Added support for PAR_TMPDIR (PAR_GLOBAL_TMPDIR) so that the
temp directory can be controlled for just the PAR file bits.
(Leolo)
- Added par_current_exec_proc() which finds the file of the current
executable in /proc, if possible. (Leolo)
- Added par_current_exec() which finds he file of the current
executable, if possible on this OS. (Leolo)
- par_findprog() now uses par_current_exec() if possible.
[Bug Fixes, etc.]
- Upgraded to Module::Install 0.62+ (Audrey Tang, Steffen Mueller)
- Document a strange interaction with chdir() and relative
paths. (Chris Dolan)
- Documented the bits that make up PAR_TEMP. (Leolo)
- Fixed the call to par_findprog. path (aka val) was set to
tmpdir. (Leolo)
- Documented the CACHE name at the end of a self-executing
PAR. (Leolo)
- myldr/Makefile.PL now generates some dependencies for
main.c (Leolo)
- Applied patch from RT ticket. (tsee)
https://rt.cpan.org/Ticket/Display.html?id=13959
- Applied Ivan Kudryavtsev's patch that fixes a couple of calls
to PAR subroutines in PatchContent filtered code. (tsee)
0.92 2006-02-22
[Bug Fixes]
- Now requiring Module::ScanDeps 0.56 which handles autouse
correctly.
- Now shipping with a correct SIGNATURE. (Which was broken for
0.91.)
0.91 2006-02-13
[Bug Fixes]
- Applied Alan Stewart's patch which fixes @ARGV pollution in
daughter programs. See also
http://www.nntp.perl.org/group/perl.par/2152
- Now mentioning the ENV var "PAR_VERBATIM" in the documentation.
See also http://www.nntp.perl.org/group/perl.par/2196
- Applied Malcolm Nooning's fix for the test suite. We used to get
failed tests on Windows because of spaces in path names.
- Applied Roderich Schupp's and Malcolm Nooning's patches to
the test suite fixing problems with Cygwin.
- Applied Vincent Ladeuil's patch to PAR::Filter::Bleach to return a
true value for modules that loaded okay.
- Changed 'PAR_BASE' in the Makefile.PL to 'SMUELLER'.
0.90 2005-11-25
[Bug Fixes]
- When compiling with static libperl, myldr/ may fail "make"
due to sha1.c not generated properly.
- Pod stripping could fail on __DATA__ sections for files
with CRLF line endings.
- The documentation erroneously referred to the PAR_TEMP
environment variable, whereas it should be PAR_GLOBAL_TEMP.
- Compilation fixes for MinGW/MSYS.
0.89 2005-06-10
[Bug Fixes]
- Stop static.c from pulling in Perl header files, otherwise
parl.exe ends up depending on the Perl DLL on Win32 when
Perl is built without PERL_IMPLICIT_SYS.
- With *nix and File::Path 1.06, par.pl's avoidance of loading
Cwd.pm caused syntax errors.
0.88 2005-06-07
[Bug Fixes]
- Extracted .pl files should be loadable via the coderef-in-@INC too,
just like .pm files and autosplit files. This makes PAR work with
Perl 5.8.7 on Win32.
- Fix the build with GCC 4.0.
- If $ENV{PWD} is not defined, fallback to use `pwd` to obtain the
working directory for invoking.
0.87 2005-01-31
[Bug Fixes]
- On Win32, some versions of File::Spec::Win32 contains explicit
"use Cwd;" lines, which renders parl.exe unusable.
- Executable made by "pp" may fail when invoked as "./a.out" or
"../a.out", due to incorrect PWD handling logic.
0.86 2004-12-11
[New Features]
- New "pp -z" (--compress) option to set compression level (0-9).
- New "pp -T" (--tempcache) option to override the per-executable
directory name; it defaults to a hash of the executable, computed at
compile time. This makes startup much faster for large executables.
- The hash algorithm described above now prefers Digest::SHA if installed,
otherwise Digest::SHA1, then fallbacks to Digest::MD5.
- Functionality of "pp -X" is now extended: if the argument after -X is a
zip or par file, files in it are excluded from the produced executable,
and the executable will "use" the zip/par instead. For multiple -X args,
successive args are only "use"d if they contain additional unique files.
- "pp -l" now searches for libraries in "." and PATH in Win32.
- "pp -l" shared libraries are now added to %skip, so it will not
be included in both shlib/ and lib/.
- "pp -l" now chases symbolic links. For example, if "libsomelib.so"
is a symlink to "libsomelib.so.1", which is another symlink to
"libsomelib.so.1.2", pp now follows these symlinks and add the real
file the par, rather than "libsomelib.so".
- New contributed code in "contrib/stdio/": Useful Tk console for
"pp -g" users.
- New contributed tutorial documents, currently in "contrib/docs/",
which will eventually be turned into POD documents.
- Running "perl Makefile.PL" with $ENV{DEBUG} set to true now produces
"parl" with debug symbols.
- Remove Cwd.pm (and Cwd.so) from the bundled dependencies.
[Bug Fixes]
- More robust probing for case-insensitive file systems.
- PodStrip now attempts to match "standard" pod start before =cut,
otherwise =cut gets removed by itself.
- Win32 slashes are now normalized in privlib and archlib directories.
- Don't extract shared libraries to inc/, since they were extracted
in $PAR_TEMP already.
- Don't re-extract shared libraries in subdirectories, since they
are picked up by corresponding "use".
- Tk now exits properly with a non-zero exit() value.
- Fix libperl probing problem on Debian and Gentoo that manifests as a
"libperl5.8.so not found" error during runtime.
- gpp: Fixed typo in options with multiple filenames; cleaned up
pp parameters.
- When PAR_TEMP is set, shlib/ was not correctly added to the dynamic
load path environment variables.
- PAR now builds with Win32 VC++ without CVTRES.EXE available.
- Detection of cl.exe, gcc.exe and cc.exe is now case-insensitive.
0.85 2004-07-02
[New Features]
- New version of "gpp"; see contrib/gui_pp/gpp_readme.txt for details.
[Bug Fixes]
- MANIFEST and META.yml were not properly updated by PAR::Packer.
- Setting directory aliases with "pp -a"/"pp -A" was broken.
Fixed, and tests were added for it.
- Statically-built executables was needlessly extracting libperl
each time it runs; now it is eliminated and hence much faster.
0.83 2004-05-29
[New Features]
- Revamped PAR::FAQ and sychronized with par.perl.org.
- In pp-generated programs, $0 is now set to the pathname leading
to the invoked executable. Use $ENV{PAR_0} instead to get the
filename that contains the main perl program.
- Updated "contrib/gui_pp/gpp" to support PAR::Packer options.
[Bug Fixes]
- Core XS modules, such as Data::Dumper, were skipped by "pp".
- Fix t/2-pp.t for Cygwin by probing $Config{_exe} rather than uname().
- Scripts made by "pp -P", when invoked as "perl scriptname",
should not search for the same-named programs in PATH.
- Correctly remove leading slash and drive letters from absolute
filenames passed to "pp -a". Also normalized blackslahes to slashes.
- The PP_OPTS environment variable was not recognized.
- "pp -a dirname;diralias" was broken.
- "pp -f" and "pp -F" were broken.
0.82 2004-05-24
[New Features]
- New module PAR::Packer provides an OO interface to "pp"'s
functionality; "pp" is now merely a thin wrapper for it.
- New module App::Packer::PAR is a modified version of
App::Packer, designed to work with PAR::Packer, and will
hopefully be merged back to App::Packer.
- The old, procedural "pp" is moved to contrib/; end-users
should notice no changes in "pp"'s behaviour.
- New options "pp -a" and "pp -A" (--addfile/--addlist) provides
ways to include extra files and directories in the package.
- The long option name for "pp -M" is changed from --add to
--module. The old name is still recognized but no longer
documented. Using "pp -M" to include non-library files
is now deprecated; use "pp -a" instead.
- par.pl and parl now writes messages to STDOUT, instead of
STDERR. As a consequence, t/2-pp.t no longer prints extra
warnings during "make test".
[Bug Fixes]
- On Non-Win32 platforms, perl 5.8.0 and earlier versions produced
pp-generated executables that immediately segfaults.
- Running pp-generated executables with absolute pathname failed
on statically-built perls.
- Tests were failing due to a missing pipe_a_command.pm in MANIFEST.
- Add the missing myldr/win32.coff for building on Cygwin/MinGW.
- If the "perl" in path is different from the perl interpreter used
for "make test", t/2-pp.t is known to fail and is now skipped.
- Cygwin failed t/2-pp.t because "parl" is spelled as "parl.exe" there.
0.81 2004-05-23
[New Features]
- Regained support for Win9x, Cygwin and MinGW.
- PAR now supports 64-bit platforms, such as Tru64 and AIX.
- Cygwin and MinGW can now build EXEs with icons, too; MinGW can update
the icons, but Cygwin cannot.
- Newly supported modules: Pod::Usage, DBIx::SearchBuilder,
DBIx::ReportBuilder, SVK::Command, SVN::Core, and the ':encoding()'
IO discipline.
[Bug Fixes]
- On non-Win32 systems, invoking pp-generated executable from PATH
did not work.
- Standalone executables were clobbered by existing perl environments
with an identical "auto/IO" libpath as the author's environment.
- Standalone executables did not work on systems with an unset
dynamic load path environment variable (eg. LD_LIBRARY_PATH).
- "pp -p -o multi.par 1.pl 2.pl; parl multi.par 1.pl" now works.
- $ENV{PATH} and $ENV{TEMP} were truncated at first path delimiter.
- "pp -f Bleach" did not work for ActivePerl on Win32.
- Windows 9x systems were generating invalid cache directory names.
- $ENV{path} is also recognized as $ENV{PATH} for Win32.
0.80 2004-03-17
[New Features]
- A comprehensive test suite for pp in contrib/automated_pp_test/.
It is run as part of the "make test" process from t/2-pp.t.
- Much better support for "pp -i" and "pp -N" (--icon/--info)
using the Win32::Exe module. You may now use EXE and DLL as
icon files.
- If PAR_GLOBAL_CLEAN (-C, --clean) is not set, we now preemptively
extracts files under the cache directory. That made POSIX.pm
and other modules that depends on %INC pointing to real files
work correctly.
- Now uses SHA-1 to create temporary directories and files,
instead of mtime.
- Verbosity level is now 1..3, not 0..5; "pp -v" now takes
an optional integer, so "pp -v input.pl" is no longer an error.
- New flags "-vv" and "-vvv", as shorthands for "-v 2" and "-v 3".
- The user-settable PAR_CLEAN and PAR_TEMP environment variables has
been renamed to PAR_GLOBAL_CLEAN and PAR_GLOBAL_TEMP; the original
variables are still accessible within the program. This is so that a
pp-generated program can exec() or system() another one without
crippling its environment variables.
- File lookups are now case-insensitive on case-insensitive filesystems.
- Another Tk-based GUI in contrib/gui_pp/; not installed by default.
- OOified "pp" in contrib/object_oriented_pp/; not installed by default.
[Bug Fixes]
- "pp -d" (--dependent) prevented "pp -C" (--clean) from working.
- The "pp -m" (--multiarch) option was implemented incorrectly
and thus broken.
- Many documentation tweaks.
- Previously, "pp -M" (--module) did not add the module itself,
only its dependencies.
- Suppress a bogus warning when $ENV{$Config{ldlibpthname}} is empty.
- "parl -v" without Module::Signature installed could delete all
files within the current directory. Oops.
- On *nix systems, pp-generated executables erroneously linked to
libperl even if "pp -d" (--dependent) is not set.
- Spurious =cut directives in source files is now handled gracefully
by PAR::Filter::PodStrip.
- "pp -L" (--log) now logs all output messages to the log file,
not just the ones printed by "pp" itself.
0.79 2004-01-08
[Bug Fixes]
- Setting PAR_CLEAN had the reversed effect. Oops.
- Dynamic libraries in cached directories was not detected
properly, resulting in "permission denied" errors during
certain race conditions.
0.78 2004-01-07
[New Features]
- By default, executables generated by "pp" will now store
extracted files in cache directories. You may override
this by setting the PAR_CLEAN environment variable to "1",
or generate executables using "pp -C".
- New "pp -C" (--clean) option to make the generated executable
clean up temporary directories after each run.
- PAR_CLEARTEMP is renamed to PAR_CLEAN.
[Bug Fixes]
- On Win32, temporary directories containing shared libraries
was not being properly cleaned up.
- If no suitable temporary directories are found, use the current
directory (".") instead of the root directory ("/").
0.77 2004-01-01
[New Features]
- New "pp -c" and "pp -x" (--compile/--execute) options run the
script with "perl -c" to check for dependencies.
- Also, the new "pp -n" (--noscan) command skips the default
static scanning altogether.
- Added support for "pp -c/-x/-n" to tkpp.
- For dynamically-built perls, pp-generated .exe files will now
appear in the process table with the same name as it was launched,
instead of "par.exe".
- New filter "Obfuscate", which uses B::Deobfuscate to strip away
PODs and comments, as well as mangling variable names.
- Merged tkpp 1.1 from Doug Gruber.
- OS/2 is now supported.
- External Zlib is no longer required to run pp-generated binaries.
[Bug Fixes]
- Makefile.PL was failing if $Config{cc} contains spaces.
- No longer needs setting "Windows 95 compatible mode" to run on WinXP.
- On Win9x with Perl 5.6.1, "nmake" was failing due to extra "@[...]"
symbols in Makefile. It should be fixed now.
- The "bad signature" problem with newer Archive::Zip versions is fixed.
- App::Packer::Backend::PAR was misplaced into App/Packer/PAR.
- Signature tests were failing under new ExtUtils::MakeMaker versions.
- ActiveState's PPM building machine was having problem with PAR;
a ".pdb" entry in MANIFEST.SKIP is added to fix that.
- Some self-built PAR instances on Windows were failing due to
mismatching short and long pathnames.
0.76 2003-10-28