Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - drop internally operator "qw" by rewriting qw(...) into a list of strings | Pascal Rigaux | 2003-12-16 | 1 | -2/+2 | |
| | | | | | | - as a side effect "foo" . qw(bar boo) is now detected - allow pop(@l) (with explicit parentheses) | |||||
* | - pop behaves just like shift | Pascal Rigaux | 2003-12-16 | 1 | -2/+8 | |
| | | | | | - check that the parameter to pop & shift is an array, and not more parameters are given | |||||
* | fix checking value is dropped in tuple | Pascal Rigaux | 2003-12-16 | 1 | -1/+2 | |
| | ||||||
* | - add the tuple(...) context | Pascal Rigaux | 2003-12-16 | 1 | -10/+32 | |
| | | | | | | - check that the value xxx in "... or xxx" is dropped - handle "... or ..., ..." | |||||
* | check what is on the left side of "xxx =~ s///" | Pascal Rigaux | 2003-12-15 | 1 | -2/+8 | |
| | ||||||
* | - check the context on left side of =~ | Pascal Rigaux | 2003-12-15 | 1 | -0/+4 | |
| | | | | | - !xx has the new context bool | |||||
* | - specify the return context for N() and N_() | Pascal Rigaux | 2003-12-15 | 1 | -1/+2 | |
| | | | | | - more precise position for warning "value is dropped" | |||||
* | allow to specify the return context of functions instead of always saying ↵ | Pascal Rigaux | 2003-12-15 | 1 | -9/+10 | |
| | | | | M_unknown | |||||
* | update "faking a normal lexbuf" code for new ocaml's parsing.ml | Pascal Rigaux | 2003-12-15 | 1 | -3/+3 | |
| | ||||||
* | - correctly handle "shift" with no parameter at toplevel | Pascal Rigaux | 2003-12-15 | 1 | -2/+1 | |
| | | | | | - remove (hopefully) unused code rewriting shift -> shift(@_) | |||||
* | in the generated .pot, try to use relative filenames (so that the .pot doesn't | Pascal Rigaux | 2003-11-10 | 1 | -1/+1 | |
| | | | | | change at each build) | |||||
* | new warning: you can replace "member($xxx, keys %yyy)" with "exists $yyy{$xxx}" | Pascal Rigaux | 2003-11-10 | 1 | -0/+7 | |
| | ||||||
* | also disallow map {...} %xxx | Pascal Rigaux | 2003-10-01 | 1 | -2/+9 | |
| | ||||||
* | warn: foreach (%xxx) { ... } | Pascal Rigaux | 2003-10-01 | 1 | -0/+2 | |
| | ||||||
* | new warning: N_("xxx") . "yyy" is dumb since the string "xxx" will never get ↵ | Pascal Rigaux | 2003-09-30 | 1 | -0/+3 | |
| | | | | translated | |||||
* | - allow $_o_XXX parameter name which is both unused and optional (same for ↵ | Pascal Rigaux | 2003-08-11 | 1 | -2/+5 | |
| | | | | | | | | | | | | $_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) | |||||
* | - disallow return(...), prefering return ... | Pascal Rigaux | 2003-05-27 | 1 | -13/+25 | |
| | | | | | - P_call_no_paren has a lower priority than P_comma | |||||
* | better warning for: print $a . 'foo' | Pascal Rigaux | 2003-05-26 | 1 | -1/+5 | |
| | ||||||
* | add a special case to handle "arch => 1" without going through word_alone() | Pascal Rigaux | 2003-05-26 | 1 | -4/+4 | |
| | ||||||
* | - warn things like: if ($a = 1) { ... } | Pascal Rigaux | 2003-05-26 | 1 | -0/+6 | |
| | | | | | - undef is always false | |||||
* | check for "0 or ..." | Pascal Rigaux | 2003-05-26 | 1 | -0/+5 | |
| | ||||||
* | suggest using the functional map instead of the imperative foreach when | Pascal Rigaux | 2003-05-23 | 1 | -0/+12 | |
| | | | | | possible | |||||
* | fix detection of grep in scalar context | Pascal Rigaux | 2003-05-23 | 1 | -3/+4 | |
| | ||||||
* | add warning: you can replace "map { if_(..., $_) }" with "grep { ... }" | Pascal Rigaux | 2003-05-23 | 1 | -0/+4 | |
| | ||||||
* | - suggest any instead of grep in scalar context | Pascal Rigaux | 2003-05-23 | 1 | -0/+6 | |
| | | | | | - suggest foreach instead of map in empty context | |||||
* | correctly warn about the missing space in "my ($a,$b, $c);" | Pascal Rigaux | 2003-05-16 | 1 | -1/+2 | |
| | ||||||
* | map and grep do not return a scalar | Pascal Rigaux | 2003-04-30 | 1 | -0/+2 | |
| | ||||||
* | allow "*foo = sub {}" with no prototype | Pascal Rigaux | 2003-04-30 | 1 | -6/+6 | |
| | ||||||
* | ensure return values are used | Pascal Rigaux | 2003-04-29 | 1 | -15/+70 | |
| | ||||||
* | - handle empty prototypes | Pascal Rigaux | 2003-04-24 | 1 | -7/+11 | |
| | | | | | | | - check number of parameters in method calls (ignoring empty overloaded methods) - allow non-empty prototypes for methods not using @_ | |||||
* | basic "number of arguments" checking | Pascal Rigaux | 2003-04-17 | 1 | -1/+2 | |
| | ||||||
* | forbid "unless (...) { ... } else { ... }" and "unless (...) { ... } elsif ↵ | Pascal Rigaux | 2003-04-15 | 1 | -0/+4 | |
| | | | | (...) { ... } | |||||
* | add basic "type" checking (using a very liberal lattice) | Pascal Rigaux | 2003-04-15 | 1 | -20/+144 | |
| | ||||||
* | use new types to have stricter type checking (prior to adding maybe_context) | Pascal Rigaux | 2003-04-13 | 1 | -164/+174 | |
| | ||||||
* | warn things like: ($foo) ||= ... | Pascal Rigaux | 2003-04-11 | 1 | -0/+4 | |
| | ||||||
* | enhance non_scalar case for some operators using is_not_a_scalar | Pascal Rigaux | 2003-04-10 | 1 | -10/+20 | |
| | ||||||
* | correctly (in Perl way) handle priority for some special unary functions ↵ | Pascal Rigaux | 2003-04-10 | 1 | -7/+2 | |
| | | | | (length, exists, ref) | |||||
* | warn xxx == "ia64", xxx eq 2 | Pascal Rigaux | 2003-04-10 | 1 | -0/+18 | |
| | ||||||
* | better error message ("please remove the space before the function call" | Pascal Rigaux | 2003-04-10 | 1 | -1/+3 | |
| | | | | | instead of "can't handle this nicely") | |||||
* | warn when using a regexp terminated with .* or .*$ (which is useless) | Pascal Rigaux | 2003-04-10 | 1 | -1/+9 | |
| | ||||||
* | 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 | 1 | -2/+11 | |
| | | | | | - warn "grep(&f, ...)", use "grep { f } ..." instead | |||||
* | - warn !($var =~ /.../) | Pascal Rigaux | 2003-04-01 | 1 | -0/+12 | |
| | | | | | | - 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 | 1 | -1/+27 | |
| | | | | | | | | | - 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 | 1 | -4/+4 | |
| | | | | | | | put the -PO comment in any case (more precisely, it concatenates all the -PO comments) | |||||
* | set the POT-Creation-Date to the current date | Pascal Rigaux | 2003-02-24 | 1 | -3/+3 | |
| | ||||||
* | "$!" 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! |