Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | simplify handling of variables declared in "if (...) ..." to meet perl's way. | Pascal Rigaux | 2003-04-02 | 1 | -4/+2 |
| | | | | | | | | | | | | | | eg: if (my $i = foo()) { } else { $i; # accessing $i here is allowed } if (my $i = foo()) { } elsif ($i = bar()) { # don't use "my" for $i since it's already in scope } | ||||
* | enhance warning "... =~ /^foo$/" is better written "... eq 'foo'" | Pascal Rigaux | 2003-04-02 | 1 | -1/+1 |
| | |||||
* | fix error message for grep not used with a block | Pascal Rigaux | 2003-04-01 | 1 | -1/+1 |
| | |||||
* | - $foo =~ /^dhcp$/ is better written $foo eq 'dhcp' | Pascal Rigaux | 2003-04-01 | 3 | -4/+14 |
| | | | | | - warn "grep(&f, ...)", use "grep { f } ..." instead | ||||
* | - warn !($var =~ /.../) | Pascal Rigaux | 2003-04-01 | 4 | -5/+19 |
| | | | | | | - warn $a & 0xff == $b better written $a & (0xff == $b) - "not" should not be used, use "!" instead | ||||
* | warn "map(&f, ...)", use "map { f } ..." instead | Pascal Rigaux | 2003-04-01 | 1 | -0/+6 |
| | |||||
* | - warn <always true> || ... (eg: 1 || foo()) | Pascal Rigaux | 2003-04-01 | 3 | -7/+40 |
| | | | | | | | | | - warn <always false> || ... - warn <always true> && ... - warn <always false> && ... - suggest @$foo instead of @{$foo} - suggest $foo->[0] instead of ${$foo}[0] | ||||
* | when a #-PO comment on a same translated string is present twice, it should ↵ | Pascal Rigaux | 2003-04-01 | 2 | -6/+4 |
| | | | | | | | put the -PO comment in any case (more precisely, it concatenates all the -PO comments) | ||||
* | - make "please don't use prototype pre-declaration" a warning | Pascal Rigaux | 2003-04-01 | 1 | -2/+11 |
| | | | | | - make a warning for unary plus instead of a "syntax error" | ||||
* | set the POT-Creation-Date to the current date | Pascal Rigaux | 2003-02-24 | 1 | -3/+3 |
| | |||||
* | allow "use foo()" | Pascal Rigaux | 2003-02-24 | 1 | -0/+1 |
| | |||||
* | "$!" is NOT better written without the double quotes | Pascal Rigaux | 2003-02-18 | 1 | -1/+1 |
| | |||||
* | don't suggest to replace "@foo ? @foo : @bar" with "@foo || @bar", this is ↵ | Pascal Rigaux | 2003-02-14 | 1 | -8/+18 |
| | | | | wrong! | ||||
* | add getgrent | Pascal Rigaux | 2003-02-14 | 1 | -1/+1 |
| | |||||
* | check use of variables with name _XXX (reserved for unused variables) | Pascal Rigaux | 2003-02-13 | 1 | -1/+4 |
| | |||||
* | handle ${foo} (including "${foo}bar") | Pascal Rigaux | 2003-02-12 | 4 | -13/+33 |
| | |||||
* | warn when "ref" priority is badly handled by perl_checker | Pascal Rigaux | 2003-02-12 | 2 | -2/+6 |
| | |||||
* | handle "\x{hex}" | Pascal Rigaux | 2003-02-06 | 1 | -6/+14 |
| | |||||
* | warn when using $l[$#l], advice $l[-1] instead | Pascal Rigaux | 2003-02-05 | 3 | -11/+21 |
| | |||||
* | allow -x with no parameter, but advise not to use it | Pascal Rigaux | 2003-02-05 | 3 | -1/+9 |
| | |||||
* | add "$." | Pascal Rigaux | 2003-01-29 | 1 | -1/+1 |
| | |||||
* | - perl_checker: | Pascal Rigaux | 2003-01-16 | 3 | -6/+20 |
| | | | | | | - check occurences of "$foo ? $foo : $bar" - disallow "fq::f args" when args is not parenthesized | ||||
* | perl_checker: when generating pot, add an header and fake line numbers to ↵ | Pascal Rigaux | 2003-01-15 | 1 | -2/+21 |
| | | | | please msgmerge | ||||
* | find, every and any are grep-like (ie. use $_) | Pascal Rigaux | 2003-01-06 | 1 | -1/+2 |
| | |||||
* | basename is not perl standard | Pascal Rigaux | 2003-01-06 | 1 | -1/+1 |
| | |||||
* | - perl_checker: add some more Gtk2 functions | Pascal Rigaux | 2002-12-28 | 2 | -3/+3 |
| | | | | | | - MDK::Common::File: mkdir_p, rm_rf and cp_af returns 1 on success (allowing "eval { mkdir_p() } or ...") | ||||
* | various | Pascal Rigaux | 2002-12-19 | 1 | -4/+4 |
| | |||||
* | - perl_checker: many new features including | Pascal Rigaux | 2002-12-19 | 8 | -19/+31 |
| | | | | | | | | - checking methods being available - checking unused functions - saving parsed file in .perl_checker.cache - new instruction "Basedir .." in .perl_checker (useful for gi/perl-install/standalone/.perl_checker) | ||||
* | new features including checking methods being available and unused functions | Pascal Rigaux | 2002-12-18 | 18 | -436/+797 |
| | |||||
* | add option "-t" enabling titi to precise tab-width=4 | Pascal Rigaux | 2002-12-11 | 4 | -7/+12 |
| | | | | | fix a bug in getting exported functions (fixes "unknown function gtkshow") | ||||
* | check the c-format conformity of translated strings | Pascal Rigaux | 2002-12-10 | 1 | -31/+47 |
| | |||||
* | oops, expand_tabs default is _true_, not false | Pascal Rigaux | 2002-12-10 | 1 | -1/+1 |
| | |||||
* | perl_checker: new --generate-pot feature | Pascal Rigaux | 2002-12-10 | 9 | -11/+91 |
| | |||||
* | - perl_checker: print on stdout, not stderr | Pascal Rigaux | 2002-12-06 | 5 | -12/+24 |
| | | | | | - 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 .c | Pascal Rigaux | 2002-12-05 | 2 | -7/+18 |
| | | | | | to know the list of functions provided by the XS extension | ||||
* | perl_checker now checks usage of $_ | Pascal Rigaux | 2002-12-05 | 7 | -35/+78 |
| | |||||
* | handle "use lib qw(...)" | Pascal Rigaux | 2002-12-04 | 3 | -2/+7 |
| | |||||
* | add "unused variable" detection | Pascal Rigaux | 2002-12-04 | 4 | -30/+55 |
| | |||||
* | more restricted detection of non-use of if_()-like exprs | Pascal Rigaux | 2002-12-04 | 4 | -20/+33 |
| | |||||
* | - warn use of "cond ? list : ()" (use if_(cond, list) instead) | Pascal Rigaux | 2002-12-04 | 3 | -7/+27 |
| | | | | | - adapt MDK::Common::* to this (using @{[]} instead of () to avoid the warning) | ||||
* | *** empty log message *** | Pascal Rigaux | 2002-12-02 | 4 | -6/+20 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-28 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-28 | 1 | -0/+5 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-28 | 10 | -325/+606 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-26 | 7 | -70/+115 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-26 | 5 | -46/+49 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-25 | 6 | -75/+175 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-24 | 16 | -273/+925 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-20 | 8 | -229/+407 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-18 | 4 | -16/+30 |
| |