Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 25, 2012
  1. @bapt

    Install pkg-stats.8

    bapt authored
  2. @bapt
  3. @bapt

    Prepare for beta16

    bapt authored
  4. @rg1 @bdrewery

    Detect invalid keys

    rg1 authored bdrewery committed
Commits on Jun 24, 2012
  1. @rg1 @bapt
  2. @bapt
  3. @rg1 @bapt

    fix %G output.

    rg1 authored bapt committed
  4. @rg1 @bapt

    add some missing newlines to error messages.

    rg1 authored bapt committed
  5. @rg1 @bapt

    implement query expression %#[drCFODLUGB] to query number of elements…

    rg1 authored bapt committed
    … of information.
    
    Conflicts:
    
    	pkg/query.c
  6. @rg1 @bapt

    add some missing newlines to error messages.

    rg1 authored bapt committed
    Conflicts:
    
    	pkg/query.c
  7. @rg1 @bapt

    add argument to format_sql_condition telling it if the query will be …

    rg1 authored bapt committed
    …used for the local or a remote repository.
    
    The latter doesn't have some fields (so don't accept to query them). Also, the successive code is passing the sql statement through sprintf, so % (percent) characters need to be escaped.
  8. @bapt

    Fix links of pkg and pkg-static

    bapt authored
  9. @bapt

    Merge pull request #271 from infracaninophile/static-compile

    bapt authored
    Fix spelling: not staticly, but statically.
  10. @bapt

    Fix typo

    bapt authored
  11. @infracaninophile
  12. @bapt

    Merge pull request #270 from infracaninophile/static-compile

    bapt authored
    Update man pages -- document difference in behaviour between pkg and pkg-static
  13. @infracaninophile
  14. @bapt

    Merge pull request #269 from infracaninophile/static-compile

    bapt authored
    dlopen() cannot be used in a staticly linked application
  15. @infracaninophile

    dlopen() cannot be used in a staticly linked application

    infracaninophile authored
    Add a CPP #define when compiling for static linkage.  Bail out early
    from the function calling dlopen() conditionally on that.
  16. @bapt

    Merge pull request #264 from DragonSA/lock-scope

    bapt authored
    Separate the package creation and package query stages.
  17. @rg1 @bapt

    Don't insist on a space after an integer.

    rg1 authored bapt committed
    Forcing a space before the closing bracket in a call like
    pkg query -e '(%s>1000 && %s<2000)' '%o %sb'
    looks/feels awkward.
    
    Conflicts:
    
    	pkg/query.c
  18. @rg1 @bapt

    Improve expression parsing so that only valid expressions are accepted.

    rg1 authored bapt committed
    I believe this will now catch all possible expression errors and generate only correct sql. Please let me know if you disagree, preferably with an example.
  19. @rg1 @bapt

    move the type_t enum directly to the format_sql_condition function, w…

    rg1 authored bapt committed
    …hich is the only place it should ever be used, and rename it to state_t.
  20. @rg1 @bapt

    Don't copy whitespace into the sql query.

    rg1 authored bapt committed
    IMHO it doesn't make sense. It's just extra calls and extra stuff for sqlite to parse. Plus we're putting our own whitespace where it's needed.
    
    Conflicts:
    
    	pkg/query.c
  21. @rg1 @bapt

    Don't arbitrarily disallow semicolons in query strings.

    rg1 authored bapt committed
    If you're trying to guard against sql injection, this is not the way (and there would still be statements that don't need a semicolon to work). However, with the string quoting patch I'm quite confident that there can be no sql injection.
  22. @rg1 @bapt

    Emit error message for unknown operators instead of silently ignoring…

    rg1 authored bapt committed
    … any unexpected characters.
  23. @rg1 @bapt

    Extend the evaluation format documentation.

    rg1 authored bapt committed
    Caveat: I'm not a writer, nor a native speaker. But imho any documentation is better than none ;)
  24. @rg1 @bapt

    Improve error message for bad/incomplete expression.

    rg1 authored bapt committed
    It's still possible to generate an invalid expression with a non-matching number of opening and closing brackets.
  25. @rg1 @bapt

    SQL strings need to be quoted in single quotes and single quotes need…

    rg1 authored bapt committed
    … to be doubled.
    
    The fact that sqlite also accepts double quotes if it can't find a
    corresponding field as strings doesn't change that. for fun (and proof), try
    pkg query -e '%n=name' '%o'
    on a non-empty installation ;)
    
    Conflicts:
    
    	pkg/query.c
  26. @bdrewery

    Add pkg-stats and sort

    bdrewery authored
  27. @bdrewery

    Fix importing deleted ports

    bdrewery authored
  28. @bdrewery

    Document -q for pkg-stats

    bdrewery authored
  29. @bdrewery
  30. @bdrewery

    Remove excess whitespace

    bdrewery authored
  31. @dnaeon
Something went wrong with that request. Please try again.