summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/tree.ml
Commit message (Collapse)AuthorAgeFilesLines
* various detection of join() misusePascal Rigaux2004-04-281-1/+1
|
* get_pos_from_expr() (previously named get_pos_from_tree()) is useful, even ↵Pascal Rigaux2004-04-281-35/+1
| | | | in parser_helper
* no more internal_error "from_qw_raw" (which doesn't tell much about where it ↵Pascal Rigaux2004-04-281-6/+39
| | | | goes wrong)
* handle "use Foo X.X" (where X.X is a version number requested)Pascal Rigaux2004-04-091-1/+5
|
* replace the information "a variable is accessed" with the more precisePascal Rigaux2004-01-221-6/+8
| | | | | | Access_none | Access_write_only | Access_various so that we can say either "variable unused" or "variable assigned but not read"
* use a float to save the mtime since int overflows.Pascal Rigaux2004-01-131-1/+1
| | | | | this fixes the cache being used partially
* always print "can't find package" warning, even with restrict-to-filesPascal Rigaux2004-01-091-0/+1
|
* - drop internally operator "qw" by rewriting qw(...) into a list of stringsPascal Rigaux2003-12-161-2/+0
| | | | | | - as a side effect "foo" . qw(bar boo) is now detected - allow pop(@l) (with explicit parentheses)
* have a special debugging buildPascal Rigaux2003-12-151-1/+1
| | | | | (esp. to disable closing pipe which disallow debugging back in time)
* display relative file names when nicerPascal Rigaux2003-09-301-3/+3
|
* use absolute directories in Tree.use_libPascal Rigaux2003-09-301-2/+2
|
* re-organize to handle cleanly multi packages per filePascal Rigaux2003-09-291-17/+33
| | | | | => fixes cache coherency
* - allow $_o_XXX parameter name which is both unused and optional (same for ↵Pascal Rigaux2003-08-111-1/+4
| | | | | | | | | | | | $_b_XXX) - shift is a ONE_SCALAR_PARA so that $box->pack_start(shift @l, 0, 0, 4) is parsed correctly - in arrange_global_vars_declared(), don't keep anything in global_vars_declared, better create shadow packages to contain them - much better merging of multiple files defining functions in the same package. This fixes the bad behaviour when using the cache (esp. do_pkgs, but it was even worse with things in ugtk2.pm)
* - reverse the order of packages found in a file (so that perl_checker doesn'tPascal Rigaux2003-08-041-1/+2
| | | | | | think ugtk2.pm's basedir is ".." (since it defines "package Gtk2::Entry")) - in verbose mode, tell when using a .so
* more robust from_qw_rawPascal Rigaux2003-05-271-0/+1
|
* handle use foo() and use foo ("x", "y")Pascal Rigaux2003-05-261-1/+9
|
* check prototype coherence: disallow ($a, @b, $c) or ($a, $o_b, $c)Pascal Rigaux2003-05-261-2/+9
|
* allow "*foo = sub {}" with no prototypePascal Rigaux2003-04-301-3/+3
|
* - handle empty prototypesPascal Rigaux2003-04-241-14/+20
| | | | | | | - check number of parameters in method calls (ignoring empty overloaded methods) - allow non-empty prototypes for methods not using @_
* basic "number of arguments" checkingPascal Rigaux2003-04-171-11/+29
|
* handle "local $_ = ..." at toplevelPascal Rigaux2003-04-021-0/+1
|
* handle ${foo} (including "${foo}bar")Pascal Rigaux2003-02-121-8/+6
|
* new features including checking methods being available and unused functionsPascal Rigaux2002-12-181-362/+142
|
* - perl_checker: print on stdout, not stderrPascal Rigaux2002-12-061-4/+4
| | | | | - perl_checker: add option --restrict-to-files (mainly for perl_checko the Clean Keeper)
* ignore unknown functions coming from XS bootstrap when we can't use the .cPascal Rigaux2002-12-051-5/+13
| | | | | to know the list of functions provided by the XS extension
* perl_checker now checks usage of $_Pascal Rigaux2002-12-051-11/+38
|
* handle "use lib qw(...)"Pascal Rigaux2002-12-041-1/+5
|
* add "unused variable" detectionPascal Rigaux2002-12-041-20/+49
|
* *** empty log message ***Pascal Rigaux2002-11-281-1/+1
|
* *** empty log message ***Pascal Rigaux2002-11-281-132/+191
|
* *** empty log message ***Pascal Rigaux2002-11-261-49/+80
|
* *** empty log message ***Pascal Rigaux2002-11-261-39/+41
|
* *** empty log message ***Pascal Rigaux2002-11-251-12/+22
|
* *** empty log message ***Pascal Rigaux2002-11-241-0/+424