forked from rschupp/Module-ScanDeps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChanges
1053 lines (680 loc) · 30.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.31 2021-04-21
- Try to match more PerlIO ":layer(args)" in open() or binmode()
e.g. Spreadsheet::ParseODS uses ":gzip(none)";
Thanks, @shawnlaffan, for the suggestion (cf. PR #12)
- XML::Twig::XPath needs either XML::XPathEngine or XML::XPath
XML::Twig may use URI if present
- Moo may use Class::XSAccessor if present
- Fixes #10 "Support IUP.pm Module"
1.30 2021-01-13
- change bugtracker to GitHub issues
- guard against trailing slashes for paths in @INC
- interprete more common "use lib" idioms
1.29 2020-08-16
- implement interpretation of stuff like
use FindBin;
use lib "$FindBin/../lib";
1.28 2020-08-06
- placate cperl ("Attempt to change hash while iterating over it.")
- make _find_encoding() more robust
1.27 2019-01-15
- fixes by Shawn Laffan <[email protected]>
- Process lines like "{ package foo; use if 1, "warnings"; } (#8)
- Also handle 'do {use module; ...}'
- some clean ups
- scandeps.pl: sort output by module name
- add_deps(): use _gettype() instead of inline code
- _compile_or_execute(): require DynaLoader _before_ accessing
its variables
- t/7-check-dynaloader.t: improve diagnostics
- drop Cwd from the list of potential XS modules
- suppress warnings in some ancient Perls
1.26 2018-12-12
- Glue DLLs of XS modules should have type "shared" rather than "data"
Detection broke on Windows where nowadays $Config{dlext} = "xs.dll"
(i.e. it's not a simple suffix)
- Mention some other modules: Module::ExtractUse and Perl::PrereqScanner::* family
- Add %Preload rules for:
- JSON::MaybeXS
- HTTP::Entity::Parser
- FFI::Platypus
1.25 2018-08-18
- Merge pull request #2 from shawnlaffan/master, thanx Shawn!
continue scanning one-liners when use if, autouse or >5.010 found
- Fix how data obtained from compiling or executing a file
is incorporated (_info2rv).
Sanitize all pathnames to use slash (instead of backslash):
- members of @INC
- keys and values of %INC
- members of @dl_shared_objects
This should make stripping @INC prefixes finally work.
- Add %Preload rule for FFI::Platypus
- Add bugtracker to META.yml
1.24 2017-06-28
- Merge pull request from Salvador Fandiño (salva), thx!
Specio::PartialDump uses unicore
- Fix RT#119737: Problems with detecting DateTime::Format::Natural dependencies
... by adding a %Preload rule
1.23 2016-11-16
- add %Preload rules for List::SomeUtils and Pod::Simple::Transcode
- get rid of Module::Install, use ExtUtils::MakeMaker
1.22 2016-09-17
- Fix RT#117887: Not parsing new release of Net::DNS::Resolver
add %Preload rule for Net/DNS/Resolver.pm
- Move to GitHub. Thanks, OpenFoundry, for years of service.
1.21 2016-04-05
- %Preload: add rules for List::MoreUtils and Log::Dispatch
- %Preload: make the following modules require the unicore stuff:
charnames.pm
Unicode/Normalize.pm
Unicode/UCD.pm
- add helper _glob_in_inc_1()
- remove all references to http://par.perl.org/, doesn't exist anymore
1.20 2015-10-04
- Fix RT #107304: Newer versions of File::Path cause warning "_Inline for _Inline: No such file or directory at Module/ScanDeps.pm line 1339."
- drop the dubious call to rmtree()
- Fix RT106142: Preload dependencies for PDL and PDL::NiceSlice
- adopted from a patch by Shawn Laffan, thanks Shawn!
- Fix RT#106144: Preload dependencies for File::BOM)
- adopted from a patch by Shawn Laffan, thanks Shawn!
- Revise our stance on utf8.pm:
- A line of "use utf8;" just means "this file is encoded in UTF-8"
and should _not_ result in scanning utf8.pm which will pull in
the whole Unicode shebang (propery tables and what not).
Yes, utf8.pm *does* contain "require utf8_heavy.pl", but only inside
an AUTOLOAD() that is *not* triggered by calling functions
like utf8::is_utf8().
- OTOH the innocently looking one-liner
perl -ne 'print if /\pN/'
implicitly loads utf8.pm and triggers the AUTOLAD().
- So prevent utf8.pm from being scanned and make utf8_heavy.pl
the indicator for "I need the Unicode stuff" instead.
- Cache the results of _get_preload('utf8_heavy.pl').
- Make %Preload "transitive" so that given
my %Preload = (
'Foo.pm' => [ 'Bar.pm' ],
'Bar.pm' => [ 'Quux.pm' ],
...
);
scan_deps_static() registers a dependency on Bar.pm _and_
Quux.pm when it has seen "use Foo;"
- Minor changes:
- drop dubious %Preload of utf8.pm for SOAP::Lite and XML::Parser::Expat
- drop code for Perl < 5.008 as we require 5.8.1 already
- rework the implementation of -x/-c
- add add_preload_rule() to dynamically add a %Preload rule
- recognize constructs like "open FH, '<:via(Foo)', ..."
- upgrade to Module::Install 1.16
1.19 2015-05-27
- add %Preload rule for LWP::MediaTypes: data file LWP/media.types
- add %Preload entry for MIME::Types: data file MIME/types.db
- add %Preload rule for AnyEvent
- always add Encode.pm when fix encountering constructs like
decode("klingon", ...)
open FH, "<:encoding(klingon)", ..
- add license
- update OpenFoundry repository URL
1.18 2015-01-19
- Fix RT #101569: Incorrect module parsing if Moose is included
1.17 2014-10-31
- scandeps.pl: die if an option is not recognized
- Reformat Changes file according to CPAN::Changes::Spec
- Modify %Preload rule: let Unicode::UCD explicitly imply utf8.pm.
This fixes PAR::Packer's self test.
Previously Unicode::UCD implied utf8.pm implicitly because
it contains calls to some utf8::foo() functions.
- Add %Preload rule: Mozilla::CA requires its cacert.pem file
- Recognize "do filename" constructs even if "do" isn't at the start
of a chunk.
- Upgrade to Module::Install 1.14
1.16 2014-09-28
- Fix RT#98938: recognize Module::Runtime module-loading functions
- Fix a nasty typo that broke scandeps.pl option -E
$ scandeps -E "some string"
Unknown option: E
Can't open some string: No such file or directory at scandeps.pl line 49.
- also scandeps.pl: die if an option is not recognized
- Remove some overzealous heuristics from scan_chunk()
- they were looking for
Foo::Bar->something
Foo::Bar::whatever(...)
_anywhere_ in programs to infer a dependency on Foo/Bar.pm.
BEWARE: This might break some use cases, i.e. missing some dependencies.
On the other hand, this causes hard to investigate problems like the one
starting at http://www.mail-archive.com/[email protected]/msg05531.html.
While the former can easily be worked around by the user itself (just
add a missing dependecy explicitly, e.g. using "pp -M ...") and
typically can be solved in general by adding a %Preload rule,
the latter just wastes people's times.
- Recognize Test::More require_ok() and use_ok()
- makes 3-static_oo_interface_real.t pass again (fallout from the above)
- Upgrade to Module::Install 1.12
- Add option -T to request information from CPAN
- don't access CPAN behind the user's back just because they have
CPANPLUS installed (it was in the Perl core from 5.10 to 5.18) -
it might not even have been configured (e.g. in a corporate internet)
- only do this when explicitly requested
1.15 2014-08-23
- Fix RT #98203: Migrate from deprecated Module::Build::ModuleInfo to Module::Metadata
- thanx Petr Pisar ([email protected]) for the hint
- add long option names to scandeps.pl
- implement option --xargs for scandeps.pl
- fix wrong version numbers in Changes
1.14 2014-08-03
- Fix RT #92860 (t/7-check-dynaloader.t doesn't handle systems with mod2fname),
also RT #97519 (Fix for t/7-check-dynaloader.t on systems with DynaLoader::mod2fname)
- applied patch from Brian Fraser ([email protected]), thanks!
- lib/Module/ScanDeps/DataFeed.pm: apply here, too
1.13 2013-12-21
- Fix recognition of (open() arguments) "<:encoding(klingon)",
implies modules PerlIO and PerlIO::encoding.
1.12 2013-12-01
- Fix RT #90869: Use of uninitialized value $module in substitution (s///)
- Fix RT #87775: typo fixes, thanks [email protected]
- new %Preload rule for B::Hooks::EndOfScope
- new %Preload rule for Pod::Usage
- add a fake %Preload rule that warns if use of Module::Implementation
or Module::Runtime is detected (coz' they're doing runtime loading)
- change some tests to use Test::Requires instead of homegrown stuff;
hence add it to "test_requires"
- clean up some uses of Test::More
1.11 2013-09-28
- Fix RT #89000: test broken by indirect base.pm disuse
- delete base.pm from list of expected deps,
patch by Andrew Main ([email protected])
- new %Preload rule for Net::HTTPS (e.g. used by LWP::Protocol::https)
- look for IO::Socket::SSL or Net::SSL
- new %Preload rule for YAML::Any
- try to figure out what YAML::Any would have used
(using YAML::Any->implementation)
- as fallback, include anything below YAML
1.10 2012-10-20
- add %Preload rule for Params::Validate to detect
its PP and XS implementations
- Fix RT #80276 Module DateTime::Format::ISO8601 generates error
after being packaged
- caused by failing to pack DateTime::Format::Builder::Parser::XXX modules
needed by DateTime::Format::Builder::Parser
- add a corresponding %Preload rule
- update to Module::Install 1.06
1.09 2012-09-09
- teach Module::ScanDeps about "use if ..." constructs
- fixes CPAN Testers failures for PAR::Packer with perl 5.17.1 and up
(Roderich Schupp)
- RT #79003: t/7-check-dynaloader.t failing when /usr/lib != /usr/lib64
- scrap the test for "$entry{file} starts with $expected_prefix" as
its assumptions are flawed (Roderich Schupp)
- Mojo::Base is a loader (Alexandr Ciornii)
- Special case for Class::Load (Alexandr Ciornii)
1.08 2012-02-21
- RT #73785: scandeps -c fails on modules that depend on Getopt::Euclid
- for "scandeps -c ..." switch from an INIT block to a CHECK block
and call the augmented script with "perl -c" instaed of "perl"
- RT#72954 ":encoding(UTF-8)" doesn't imply a dependency on Encode.pm
- if scan_chunk sees ":encoding(FOO)" or similar, it goes to some
length to find the "external" Encode module to handle FOO; but it
forgets that Encode.pm itself is needed at runtime (esp. if FOO
is an encoding "internally" handled by Encode.pm, e.g. "UTF-8")
- %Preload: add rules for Gtk2.pm and Pango.pm
- %Preload: fix a problem with Image::ExifTool
1.07 2011-11-29
- RT #72796: dynaloader test fails when the .so files are in the
system lib dirs and local::lib is involved?
Relax a check in t/7-check-dynaloader.t
- Update Module::Install to 1.04
1.06 2011-11-28
- RT #72211: pp includes way too much modules (when using 'use strict;')?
Rework regexes to detect "use MODULE ...":
the following line from unicore/mktables
my $unihan = 'Unihan properties are by default not enabled in the Perl core. Instead use CPAN: Unicode::Unihan';
would erroneously detect a dependency on CPAN.pm (which will in turn
pull in a lot of modules)
- Bump Perl version requirement to 5.8.1 (Schwern: The End Of 5.6 Is Nigh!)
- Rewrite t/7-check-dynaloader.t to look for more candidates of dynamic modules
that might be used as test cases
1.05 2011-11-02
- RT #72082: $FindBin::Bin issue on Moudel::ScanDeps 1.04
Make FindBin work (at least with option -c or -x) by spoofing $0
in the temp script generated for M:SD::DataFeed
- RT #70134: patch suggestions for Module::ScanDeps 1.04: additional preload
rules, used_via_preload attribute
Add suggested %Preload rules from the attached patch (thanks, Markus Jansen)
- Add %Preload rules for MozRepl
- Special case for Package::Stash (Alexandr Ciornii)
- Special case for Moose (Alexandr Ciornii)
1.04 2011-07-21
- Brown paper bag bug: fix option -x (execute) (broken by changes for -c)
- While we're at it: honor option -I with -c
1.03 2011-07-18
- RT #69213: ScanDeps incompatible with AnyEvent (Perl 5.14, AnyEvent 5.34, PAR 1.00.2)
For option -c (compile) M:SD used to wrap the file in one big sub and
appended an END block where it dumps %INC etc; the outer sub causes problems
with certain contructs. Instead we now use an INIT block prepended
to the file.
- RT #69471: Problem with "eval { require SomeModule }" constructions
Module::ScanDeps::DataFeed now omits %INC pairs with an undefined value
(these may be created by an unsuccessful "require" under certain conditions).
Also omit CODE refs from @INC.
- Fix for failing CPAN Testers report
http://www.cpantesters.org/cpan/report/4208fa16-a5d1-11e0-a0bc-c71a7862a918:
Perl 5.15.0 got rid of Shell.pm
- Fix for failing CPAN Testers report
http://www.cpantesters.org/cpan/report/772147dc-6c1f-1014-baf2-318eb63ba09a:
- regex meta characters in filenames break consistency check
- Simplify Module::ScanDeps::DataFeed somewhat by localizing %INC
around "require Module::ScanDeps::DataFeed" and by using Data::Dumper
for the actual dump.
- Don't create the tempfiles for DataFeed in the working directory.
- Purge all pod from Module::ScanDeps::DataFeed, advise the CPAN
indexer not to bother with it; same for Module::ScanDeps::Cache.
1.02 2011-04-03
- %Preload: add _all_ *.pl file below .../unicore for utf8.pm
1.01 2011-03-26
- %Preload: add "unicore/version" for Unicode/UCD.pm
(because it contains a call openunicode(..., "version"))
1.00 2011-02-19
- RT #65855: Special handling for POSIX requested (Roderich Schupp)
- RT #65252: Temp files left when execute fails (Roderich Schupp)
- add a %Preload rule for Log::Report::Dispatcher (Roderich Schupp)
cf. http://www.nntp.perl.org/group/perl.par/2011/01/msg4871.html
- add %Preload rule for Date::Manip (Roderich Schupp)
- speed up scanning *significantly* by not re-constructing regexen
for every line of input and reducing the no. of sub calls (Steffen Mueller)
- add Eric Roode to AUTHORS (Steffen Mueller)
- RT #61027: "use lib" does not work (Roderich Schupp)
scan_line(): When handling "use lib '/some/dir'" we add "/some/dir/ARCHNAME",
"/some/dir/VER" and "/some/dir/VER/ARCHNAME", but forgot
to add "/some/dir" itself.
While we're at it, improve parsing the argument list of "use lib".
Simply eval the string, this should at least make all forms of
quoted strings work correctly.
- fix URI special case (clkao)
- fix a regression reported by CPAN Testers (Roderich Schupp)
- finally: bump version to 1.00
0.98 2010-07-26
- Make %Preload entry for "utf8.pm" lazy (Roderich Schupp)
- Upgrade to Module::Install 1.00 (Roderich Schupp)
- RT #58093: Par-Packer not including all dependencies (unicore/Heavy.pl) (Roderich Schupp)
- Add %Preload rule for RPC::XML (Roderich Schupp)
- RT #57494: add %Preload rule for JSON.pm (Roderich Schupp)
0.97 2010-04-10
- Pack the content of module/distribution sharedirs is automatically. (kmx)
- RT #56020 - add data files used by Unicode::UCD (Roderich Schupp)
- RT #55746 - remove bogus "... if %Config::Config" condition (Roderich Schupp)
- Add special case for CGI::Application::Plugin::AutoRunmode (Alexandr Ciornii)
- Add special case for CGI::Application::Plugin::Authentication (Alexandr Ciornii)
- Add special case for DBIx::Perlish (Alexandr Ciornii)
0.96 2009-11-13
- perl 5.6.1 compatibility (Alexandr Ciornii)
- Test for "use module version;" (Alexandr Ciornii)
0.95 2009-10-16
- Fix "uninitialized value" warnings (Dave Rolsky)
- Add special case for Perl::Critic (Alexandr Ciornii)
- Add special case for Event (Alexandr Ciornii)
- Add special case for Wx.pm (Alexandr Ciornii)
- Add special case for Log::Any
0.94 2009-08-10
- Add tests for scan_line (Alexandr Ciornii)
- RT#48151 fixed, "require __PACKAGE__" should not die (Alexandr Ciornii)
- OS/2 fixes (Ilya Zakharevich)
0.93 2009-07-19
- Implement caching of dependencies (Christoph Lamprecht)
0.92 2009-07-19
- Fix bug with {type} being set to unexpected values in some cases (Christoph Lamprecht)
- Add tests for scan_chunk (Alexandr Ciornii)
- Add special case for parent.pm (Alexandr Ciornii)
- Fix for "use parent::something" (Alexandr Ciornii)
- Add special case for Catalyst.pm (Alexandr Ciornii)
0.91 2009-06-22
- Add special case for Tk's setPalette call (Christoph Lamprecht)
0.90 2009-05-09
- Add special case for DateTime::Locale
- Add special case for PAR::Repository and PAR::Repository::Client
0.89 2008-11-03
- Distribution fixes.
- Do not use base Exporter.
- Detection of 'asa' and 'only::matching'.
0.88 2008-10-28
- Add special case for File::HomeDir.
0.87 2008-10-28
- Add special case for PPI.
0.86 2008-10-23
- Fix the 'use prefork "Foo"' static detection.
- Fix the detection of any of the module-loader modules such as
prefork, autouse, etc. if invoked as 'use prefork"Foo"' (note
the lack of a space).
- Slightly refactor the loader-module scanning. (see above)
- Support for "use maybe 'foo';"
- Use (arch|priv)libexp instead of (arch|priv)lib
in scandeps.pl (Mark Stosberg)
- Update to Module::Install 0.77
0.85 2008-08-01
- Add special case for Net::Server.
0.84 2008-05-13
- Add special case for Class::MethodMaker.
0.83 2008-03-23
- Add special case for Image::ExifTool.
0.82 2008-01-08
- Add Test::More to build requirements (Alexandr Ciornii)
- Add dependency on version.pm
- Now correctly identifies feature.pm as a dependency if
"use 5.10.0;" (and up) is found.
0.81 2007-12-07
- Fix for the case-insensitive-file-system-test.
0.80 2007-11-30
- Fix to avoid duplicated entries arising from used_by references with
case differences.
- Do not report input files themselves as dependencies.
(Regression from 0.74 onwards)
- Remove warning from ScanFileRE tests.
0.78 2007-11-17
- Fix ScanFileRE heuristics to allow for scanning files without
suffixes.
0.77 2007-09-20
- Add support for prefork.pm (similar to how base.pm is detected).
- Added uses field to hash descriptions returned by scan_deps +
tests (Adrian Issott)
- Added ScanFileRE to restrict the files scanned to .pl, .pm, .al and
.t but allow the user to override + tests (Adrian Issott)
0.76 2007-07-21
- Fix special case for Term::ReadLine (should not rope in Tk)
- New special case for Tcl::Tk (should not rope in Tk either!)
- New special case for threads::shared ==> rope in attributes.pm
- Fix to avoid duplicated entries that can arise due to case
differences that don't actually matter on case-tolerant
systems (Adrian Issott)
- M::SD warnings now go to STDERR not STDOUT (Adrian Issott)
- Fixed bug #24162: scandeps.(bat|pl) doesn't correctly identify Core
Modules on Windows (Adrian Issott)
- Now finds shared libraries for modules specified as input files.
- Tests for finding shared libraries.
0.75 2007-06-24
- Fix special cases for POE. (Roderich Schupp)
- Added exported path_to_inc_name subroutine (Adrian Issott)
- Added Module::Build::ModuleInfo dependency (Adrian Issott)
- Fixed bug where input files weren't scoped properly
- Add new "check-for-dynaloader" test. (Eric Wilhelm)
0.74 2007-04-26
- Same as 0.73_01, but not a developer release.
0.73_01 2007-03-28
- Fixed bug "scan_deps doesn't show ALL the dependencies"
- Ensured all file entries are given by absolute paths
- Added a number of test artificial dependency trees as test data
mainly for "scan_deps doesn't show ALL the dependencies" bug
- Added tests for scandeps recurse option (all pass)
- Added tests for scandeps skip option (all pass)
- Added tests to show a duplicated dependency is in fact only shown
once (all pass)
- Added Utils.pm test module containing generic_scandeps_rv_test and
compare_scandeps_rvs subroutines (Adrian Issott)
0.73 2007-03-25
- Now being a little cleverer for detecting globs in diamond operators.
(Requiring a meta character within the <>.)
0.72 2007-02-03
- Case-insensitive @INC removal for case-insensitive
filesystems (Eric Wilhelm)
0.71 2007-01-04
- Added special cases for
Catalyst
Class::MakeMethods
Config::Any
DBIx::Class
Email::Send
Log::Log4perl
SQL::Translator
- print() the "# Legend..." line instead of warn()ing it.
0.70 2006-11-21
- Added special case for Image::Info.
0.69 2006-11-07
- Additional corner cases for LWP::UserAgent and LWP::Parallel::UserAgent and
friends.
0.68 2006-10-25
- Added special case for PerlIO.pm. If PerlIO.pm is needed, require
PerlIO::scalar, too, because it can be used "under the hood".
(Roderich Schupp)
- Added some File::Spec'ness. (Steffen Mueller)
- Refactored the %Preload mapping code into _get_preload so that
the PAR -M %Preload fix would work. (Steffen Mueller)
0.67 2006-10-24
- Added @IncludeLibs which is used alongside @INC for searching modules.
(David Romano)
- Won't pick up Tk as a dependency for Term::ReadLine any more.
You can stop laughing now!
0.66 2006-09-24
- Fixed another bug in Module::ScanDeps::Datafeed which would break
run- and compile-time dependency scanners if $ENV{PERL5LIB} entries
had trailing backslashes. Thanks to Steven Mackenzie for pointing
this out.
- Added some documentation and comments to M::SD::Datafeed for the sake of
future maintainers.
0.65 2006-09-24
- Fixed bug in Module::ScanDeps::Datafeed which would die() in 0.64.
0.64 2006-09-22
- Upgraded to Module::Install 0.64
- Added warning of missing modules when -V is in effect (scandeps.pl).
- Added warning of missing modules if "warn_missing=>1" specified as
an option to scan_deps.
0.63 2006-08-27
- Upgraded to Module::Install 0.63
0.62 2006-07-16
- Better diagnostics.pm support for searching the related
.pod file.
0.61 2006-06-30
- Now presenting more helpful (and correct) error messages when
multiple versions of a module (files) are found.
- Corrected a POD error.
- Added test for POD correctness.
0.60 2006-05-23
- Fixed bug that prevented "use encoding 'utf-8';" from being
picked up. This was because the -8 was stripped and thus, the
encoding wasn't recognized.
0.59 2006-05-03
- Recovering 5.005 compatibility. (Hopefully!)
- Using Module::Install 0.62
- Added a dependency on File::Temp for pre 5.6 perls.
- Fixed broken Module::Pluggable support.
0.58 2006-04-16
- Added dependency for Test::Deep
- Added dependency for Math::Symbolic
0.57 2006-03-03
- Applied Stephen Schulze's patch which fixes the problem that modules are
reported as depended upon only once.
0.56 2006-02-20
- Added special dependency for Tk::Getopt. Suggested by Slaven Rezic.
0.55 2006-02-17
- Applied Roderich Schupp's patch to fix a problem with 'autouse'.
- Now using Module::Install 0.56
0.54 2006-01-11
- Switch to File::Temp::tempfile() for more robust temporary file creation.
Contributed by: Jesse Vincent
- Update to latest Module::Install _again_ to fix Cygwin installation.
Reported by: Matt S Trout
0.53 2006-01-10
- Update to latest Module::Install; no functional changes.
0.52 2005-12-12
- Support for autouse.pm.
- Support for Tk::DragDrop. Reported by: Renee Baecker.
0.51 2005-01-08
- scandeps.pl is now usable without CPANPLUS.pm installed.
Reported by: Rafael Garcia-Suarez
0.50 2004-10-03
- LWP::Authen::* is now bundled with LWP::UserAgent.
Reported by: Marcus Rueckert
- Properly sign the release with newer EU::MM.
0.49 2004-09-26
- Adds Class::Autouse support, as requested by Adam Kennedy.
0.48 2004-09-07
- Skip auto/ files too if explicitly specified.
- Also check for lower-cased keys in %skip, if operating under a
case-insensitive file system.
0.47 2004-09-07
- First version under svk management.
- Support for Mail::Audit plugins; prompted by Andrew Lee.
- Support for modules that use Module::Plugin; prompted by Brian Cassidy.
- scandeps.pl now reports module versions, courtesy of Dan Friedman.
- Delayed loading of CPANPLUS on scandeps.pl.
0.46 2004-07-02
- Doc fixes; update signature test; add Alan to authors.
- add POE heuristics from:
http://search.cpan.org/dist/POE/lib/POE/Preprocessor.pm
0.44 2004-06-08
- Consistently recognize .ph files and upper-cased .p[mh]
files.
- Support for PDF::Writer.
- Patfch from Roderich Shupps to fix absolute filename
detection on non-Unix systems.
0.43 2004-06-02
- Add preliminary support for BioPerl, as suggested by
Nathan Haigh.
- Support for Net::SSH::Perl was incorrectly specified.
- Add some support for PDF::API2 -- note you still have
to explicitly require "PDF::API2::Basic::TTF::Font"
to get TrueType support.
- add heuristics for Devel::ParallelPort, as reported by
Jouke Visser.
0.42 2004-04-30
- add support for DBIx::SearchBuilder and
DBIx::ReportBuilder.
- oops, typo
- add PerlIO.pm to :encoding.
0.41 2004-04-18
- correctly handle SVN::Core, courtesy of Robert Spiers.
- handles SVK::Command properly.
- add support for Parse::Binary-based modules
0.40 2004-02-23
- Malcolm Nooning noticed that _execute() and _compile()
checks were failing under directories that contain spaces,
due to a qw() misuse.
- Add heuristics for XML::SAX and XML::Parser::Expat,
reported by Darek Adamkiewicz and Iain Cass.
0.39 2004-01-25
- Merged Edward's patch to make DataFeed.pm work with
pre-5.8.3 perl versions.
0.38 2004-01-08
- Switching back to ExtUtils::MakeMaker,
hoping to make ActiveState's cpanrun happy.
0.37 2003-12-31
- Win32 does not take Cwd::abs_path() for filenames.
- Detection for __END__ blocks was wrong in _compile().
0.36 2003-12-31
- sorry, "scandeps.pl -r" should be "-x".
0.35 2003-12-31
- New "-c" and "-r" flags to scandeps.pl for additional
compile- and runtime-checking of dependencies.
- New "compile" and "execute" flags to scan_deps() for
runtime scanning, using scan_deps_runtime().
- integrated Edward S. Peschko's massive runtime detection
patch, as scan_deps_runtime().
0.34 2003-12-30
- changes.
0.33 2003-12-21
- Upgrades to Module::Install 0.30 framework.
- Nik's got a CPAN ID.
0.32 2003-10-26
- Support for Locale::Maketext::Guts, reported by Jouke
Visser.
- Support for XML::Parser, reported by Jan Dubois.
- Support for :encoding(), encoding.pm, and
encode()/decode().
0.31 2003-10-17
- Jesse Schoch reports that LWP::Protocol::https is not properly detected.
0.30 2003-09-20
- "use base" was still incorrectly parsed.
0.29 2003-09-17
- Simon Andrews points out that Math::BigInt's heuristics
is badly coded. Fixed, and added heuristics for Math::BigFloat.
- More defense against hash randomisation by sorting all keys() and values().
0.28 2003-08-17
- Move ScanDeps.pm to lib/Module/.
- Suggestion from Matt Sergeant to recognize A::B from
A::B::C only on functions like A::B::C().
- This be 0.27 for real.
- "use base" was improperly detected.
0.27 2003-08-16
- more patch from Roderich Schupp: handles "use base" and fixed Tk::Scrolled.
- add $SeenTk to control Tk-specific heuristics.
- add_deps now takes (skip => \%skip) properly.
- scan_chunk() can now return more than one files in list
context.
- bump version.
0.26 2003-08-11
- add link to http://par.perl.org/ and the mailing list.
- don't append ".pm" to require '' lines if it already has an extension.
(this is required for Win32API::Registry to work with .pc files.)
0.25 2003-08-10
- tidy up the source a little.
- POD and END sections was also scanned. bad.
- PAR::read_file() should not imply dependency on PAR.pm.
0.24 2003-08-10
- Add support for SOAP::Lite, XMLRPC::Lite and
Win32::SystemInfo.
0.23 2003-08-08
- @File::Spec::ISA was crippled during scanning, thanks
to Roderich Schupp for pointing out.
0.22 2003-08-07
- huge patch to include almost all heuristics deducible from PerlApp:
Authen::SASL, Crypt::Random, DBI, File::Spec,
HTTP::Message, Math::BigInt, MIME::Decoder, Net::DNS::RR,
Net::FTP, Net::SSH::Perl, SQL::Parser, Template,
Term::ReadLine, URI, XML::Parser::Expat, diagnostics.
- now accepts uppercased "DBI:" in DSN strings.
- fixed a typo on Tk::FBox's xpm file.
0.21 2003-07-30
- Jouke reports that Win32.pm pulls all Win32::* DLLs.
- oops.
- scandeps.pl now take -e to scan a perl expression
- anydbm implies SDBM.
- Bruce Winter says that this fix for SerialJunks is needed
on his Red Hat Linux oh well.
0.19 2003-03-22
- Jess Robinson reported that the fix was not -w safe.
0.18 2003-03-20
- added logic for "utf8" and "charnames" needed by Germain Garand.
- added logic for "Devel::SerialPort" needed by Bruce Winter.
- POSIX.pm no longer pulls in utf8.pm anymore.
- .ph files are now fully supported.
- take unshift/push @INC into account, too.
- add Nik to authors.
- Nik Clayton's patch to properly handle 'use lib'.
- IO.pm dependencies, courtesy of Jerry Veldhuis.
0.14 2003-01-19
- s/UNIVERSA/UNIVERSAL/;
- test explicitly for a hashref for safety.
- try to fix D.H.'s bug report about broken 5.6 and pseudohashfications.
- add lathos and obra to authors.
- mention scandeps.pl earlier in pod.
0.13 2003-01-18
- much more improved scandeps, as suggested by jesse