Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 7, 2012
  1. @mjambon

    Import of missing signatures from `batStd.mli` into `batPervasives.mli`

    mjambon authored
    -----------------------------------------------------------------------
    
    The following used to be invisible to ocamldoc. They still are, using
    (**/**):
    
    ```ocaml
    val input_lines : Pervasives.in_channel -> string BatEnum.t
    val input_chars : Pervasives.in_channel -> char BatEnum.t
    val input_list : Pervasives.in_channel -> string list
    val input_all : Pervasives.in_channel -> string
    ```
    
    The following two functions were added to `batPervasives.mli`
    with their original names. Their names however are not consistent
    with other functions of `BatPervasives`. One would expect `input_file`
    and `output_file` to operate
    on channels (`BatIO.input`/`output`) rather than file names:
    
    ```ocaml
    val input_file : ?bin:bool -> string -> string
    val output_file : filename:string -> text:string -> unit
    ```
    
    `print` became `print_any` because there was already a (deprecated)
    function named `print`. Also, its type has changed:
    
    ```ocaml
    (* before, in BatStd: *)
    val print : 'a -> unit
    
    (* after, in BatPervasives: *)
    val print_any : 'b BatIO.output -> 'a -> unit
    ```
    
    I also added the following signatures that hadn't been copied from
    `batStd.mli`:
    
    ```ocaml
    val forever : ('a -> 'b) -> 'a -> unit
    val ignore_exceptions : ('a -> 'b) -> 'a -> unit
    val ignore_ok : ('a, exn) result -> unit
    val ok : ('a, exn) result -> 'a
    val wrap : ('a -> 'b) -> 'a -> ('b, exn) result
    ```
Commits on Mar 5, 2012
  1. @sliquister

    test_file: deleting files when testing is done

    sliquister authored
    instead of when the program exits, because when the program segfaults
    it leaks 10000 files, and you quickly reach hundreds of thousands of
    garbage files
Commits on Mar 4, 2012
  1. @sliquister

    global: ignoring everything for code coverage

    sliquister authored
    because, well, I fail to see how anything could be wrong in here
  2. @sliquister

    global: reindent

    sliquister authored
  3. @sliquister

    float: 100% coverage

    sliquister authored
  4. @sliquister

    test_sequence: some more tests of dynarray

    sliquister authored
    80% coverage now
  5. @sliquister
Commits on Mar 3, 2012
  1. @sliquister
  2. @sliquister

    test_container: testing of_enum with a non countable enum

    sliquister authored
    because several containers have different behaviours depending
    on whether the count is known in advance or not
  3. @sliquister

    dynarray: cleanup

    sliquister authored
  4. @sliquister

    dllist: indent

    sliquister authored
  5. @sliquister
  6. @sliquister

    buffer: 100% overage

    sliquister authored
  7. @sliquister

    digest: 100% coverage

    sliquister authored
  8. @sliquister

    digest: indent

    sliquister authored
Commits on Feb 26, 2012
  1. @sliquister
  2. @sliquister

    deque: 100% coverage

    sliquister authored
  3. @thelema
Commits on Feb 25, 2012
  1. @sliquister
  2. @sliquister

    complex: 100% coverage

    sliquister authored
    + bug fix in modulo that would raise an exception too early
    + rewrite of of_string that was completely broken
    + defining an efficient compare
    + defining an equal function
    + adding a little documentation
    + adding spaces in to_string because 1+ i2 is not even remotely as readable
      1 + i 2
Commits on Feb 24, 2012
  1. @sliquister

    array: the cloning operation of the enumerations was _very_ slow

    sliquister authored
    why would you copy a structure, especially when the specification
    explicitely allows you to avoid that??
    
    it makes test_container twice as fast
    (because it clones a lot)
  2. @sliquister

    bigarray: adding more tests

    sliquister authored
  3. @sliquister

    bool: 100% coverage

    sliquister authored
  4. @sliquister

    more tests of sequences

    sliquister authored
Commits on Feb 23, 2012
  1. @sliquister
  2. @sliquister

    removing many warnings

    sliquister authored
  3. @sliquister

    testing: adding a generic test for iterations on containers

    sliquister authored
    + bug fix in dynarray
  4. @thelema

    Move lots of functionality out of BatInnerIO - Printf moves to BatPri…

    thelema authored
    …ntf, and buffer functions move to BatBuffer
  5. @thelema
  6. @thelema
  7. @thelema
  8. @thelema
  9. @thelema
  10. @sliquister

    queue: reindent

    sliquister authored
  11. @sliquister

    queue: 100% coverage

    sliquister authored
Something went wrong with that request. Please try again.