Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on May 4, 2015
  1. @aryx

    Merge pull request #118 from mutantzombie/multiple_patterns

    aryx authored
    Multiple patterns from a file.
  2. @aryx

    Merge pull request #119 from mutantzombie/not_a_string

    aryx authored
    Support "!..." as not-a-string pattern.
  3. @aryx

    Merge pull request #117 from mutantzombie/php_boolean_vs_int

    aryx authored
    Enable sgrep to match Booleans and Ints in PHP.
Commits on Apr 29, 2015
  1. @aryx

    * main_codemap.ml: xix filter

    aryx authored
Commits on Apr 24, 2015
  1. @aryx
  2. @aryx
  3. @aryx

    * lang_nw/parsing/lexer_nw.mll: bugfix on parsing code using <<

    aryx authored
    which are not chunknames
  4. @aryx

    * main_codeslicer.ml: misc

    aryx authored
Commits on Apr 18, 2015
  1. @aryx

    cm/cg: fix Gtk warning Critical bla bla Remove xxx

    aryx authored
    thx to efuns
Commits on Apr 17, 2015
  1. @aryx

    * .gitignore:

    aryx authored
Commits on Apr 16, 2015
  1. @aryx

    * Makefile: install-bin

    aryx authored
  2. @aryx
  3. @aryx

    * main_scheck.ml: todo

    aryx authored
Commits on Apr 14, 2015
  1. @aryx
  2. @aryx

    many more META files for findlib

    aryx authored
  3. @aryx

    * Makefile: more install-findlib

    aryx authored
  4. @aryx
  5. @aryx
  6. @aryx
  7. @aryx
  8. @aryx
  9. @aryx

    * main_scheck.ml: todos

    aryx authored
  10. @int3

    Parse `super` constraints

    int3 authored
    Test Plan:
      ./pfff -parse_php tests/php/parsing/super_constraint.php
    
    I'm having trouble getting `make test` to pass even on the unmodified
    master code. Most of them seem to be issues wrt locating the prolog
    library though
    
    Reviewers: eletuchy, pieter
    
    Reviewed By: pieter
    
    Differential Revision: https://phabricator.fb.com/D1987119
    
    Signature: t1:1987119:1428955397:8b05572793cdf1f8cef0f7b229a4d9e0ce3cbc44
Commits on Apr 8, 2015
  1. Support "!..." as not-a-string pattern.

    Mike Shema authored
Commits on Apr 3, 2015
  1. Enable sgrep to match Booleans and Ints in PHP.

    Mike Shema authored
Commits on Mar 29, 2015
  1. @phooji

    [pfff] export abstract_interpreter_php_helpers

    phooji authored
    Summary:
    
    Similar to previous changes; export the cmi for this explicitly
    even though it lacks an mli.
    
    Test Plan:
    
      ocamlfind remove pfff-lang_php-analyze-foundation
      make install-findlib
    
    Reviewers: pieter
    
    Reviewed By: pieter
    
    CC:
    
    Task ID: #
    
    Blame Rev:
Commits on Mar 20, 2015
  1. @aryx
  2. @aryx
  3. @aryx

    * main_codeslicer.ml: misc

    aryx authored
Commits on Mar 3, 2015
  1. @phooji

    [pfff] support type constant definitions/declarations

    phooji authored
    Summary:
    This is diff 2/2; it adds support for declaring type consts in classes. I'm
    reusing some of the AST constructs for `type` and `newtype`, and wrapping
    them in a new type of const declaration.
    
    This also adds one or two `%left` precedence thingies, these seem to
    give ocamlyacc the right idea about "these are not the shift/reduce
    conflicts you're looking for." It takes us from 5 reported conflicts
    in the grammar to just the original 1. I'll need to test this change
    separately to make sure it doesn't cause sadness.
    
    Depends on D1880752.
    
    Test Plan:
      make tests
      # this fails if I add an intentional parse error to good_tconst_decl.php
    
    This test case should also cover the syntax introduced in D1880752; please
    let me know if something looks inadequately covered.
    
    Will run this on www when I get to the office.
    
    Reviewers: dominik, dreeves
    
    Reviewed By: dreeves
    
    Subscribers: dominik
    
    Differential Revision: https://phabricator.fb.com/D1880760
    
    Tasks: 6358822
    
    Signature: t1:1880760:1425321537:0d8da37962d49d524431d9d04106c5055c8d4ed8
  2. @phooji

    [pfff] add support for parsing `::` inside type expressions

    phooji authored
    Summary:
    Diff 1/2 for adding typeconst support. This makes it possible to refer
    to types of the form `MyClass::my_named_tconst`.
    
    There are some AST changes here, so propagate those through as well.
    
    Test Plan:
      make tests # doesn't break anything
    
    Diff 2/2 will add some testcases that exercise both tconst definitions
    and tconst usages.
    
    Reviewers: dominik, dreeves
    
    Reviewed By: dreeves
    
    Subscribers: dominik
    
    Differential Revision: https://phabricator.fb.com/D1880752
    
    Tasks: 6358822
    
    Signature: t1:1880752:1425321719:ad278426e6f78cd6ccc611e1b5c4cc84f3e78aba
  3. @phooji

    [pfff] export symbols for env_interpreter_php

    phooji authored
    Summary:
    
    Another one-off.
    
    Test Plan:
    
      ocamlfind remove pfff-lang_php-analyze-foundation
      make install-findlib
    
    Reviewers: pieter
    
    Reviewed By: pieter
    
    CC:
    
    Task ID: #
    
    Blame Rev:
Commits on Feb 27, 2015
  1. @phooji

    [pfff][lexer fix]

    phooji authored
    Summary:
    This seems to fix the issue of dealing with complex expressions
    directly following `...` in a function call (see testcase); looks like
    the special token isn't really needed.
    
    Test Plan:
    make tests # succeeds 124, 2 skipped
    
    in `flib`:
    
      $ find . -name '*.php' -exec bash -c ">&2 ~/pfff/pfff.opt -dump_php {} && echo \"0 {}\" || echo \"1 {}\"" \; > out.txt
    
      $ grep '^[^0]' ./out.txt
      1 ./thrift/lib/fbcode/adsatlas/api/extif/atlas_api.thrift/atlas_api_types.php
      1 ./third-party/php-openid/Auth/OpenID/Server.php
      1 ./third-party/php-openid/Auth/OpenID/TrustRoot.php
    
    Reviewers: michalburger1, eletuchy
    
    Reviewed By: eletuchy
    
    Subscribers: dominik, jezng
    
    Differential Revision: https://phabricator.fb.com/D1869317
    
    Signature: t1:1869317:1424897321:945d693f4afdf783875bf9d85ea345f4f5aa56b7
Something went wrong with that request. Please try again.