├── .gitignore ├── .meta └── example.gif ├── .ocamlformat ├── CHANGES.md ├── LICENSE ├── Makefile ├── README.md ├── docs ├── fonts │ ├── JetBrainsMono-Regular.ttf │ ├── JetBrainsMono-Regular.woff │ ├── JetBrainsMono-Regular.woff2 │ ├── lato-v17-latin-700.woff2 │ ├── lato-v17-latin-italic.woff2 │ └── lato-v17-latin-regular.woff2 └── odoc.css ├── dune ├── dune-project ├── examples ├── bar_styles.ml ├── bar_styles.mli ├── cargo.ml ├── cargo.mli ├── download.ml ├── download.mli ├── dune ├── interject.ml ├── interject.mli ├── main.ml ├── main.mli ├── readme.ml ├── readme.mli ├── spinners.ml ├── spinners.mli ├── utils.ml ├── utils.mli ├── yarn.ml └── yarn.mli ├── progress.opam ├── src ├── progress │ ├── dune │ ├── engine │ │ ├── config.ml │ │ ├── dune │ │ ├── duration.ml │ │ ├── duration.mli │ │ ├── flow_meter.ml │ │ ├── flow_meter.mli │ │ ├── import.ml │ │ ├── integer.ml │ │ ├── line.ml │ │ ├── line.mli │ │ ├── line_buffer.ml │ │ ├── line_buffer.mli │ │ ├── line_intf.ml │ │ ├── line_primitives.ml │ │ ├── line_primitives.mli │ │ ├── line_primitives_intf.ml │ │ ├── multi.ml │ │ ├── multi.mli │ │ ├── multi_intf.ml │ │ ├── platform.ml │ │ ├── printer.ml │ │ ├── printer.mli │ │ ├── progress_engine.ml │ │ ├── progress_engine.mli │ │ ├── progress_engine_intf.ml │ │ ├── pvector.dynarray.ml │ │ ├── pvector.vector.ml │ │ ├── renderer.ml │ │ ├── renderer.mli │ │ ├── renderer_intf.ml │ │ ├── stdlib_ext.ml │ │ ├── units.ml │ │ └── units.mli │ ├── progress.ml │ ├── progress.mli │ ├── terminal_width.ml │ └── tests │ │ ├── common.ml │ │ ├── dune │ │ ├── test.ml │ │ ├── test.mli │ │ ├── test_flow_meter.ml │ │ ├── test_flow_meter.mli │ │ ├── test_printers.ml │ │ ├── test_printers.mli │ │ ├── test_units.ml │ │ └── test_units.mli └── terminal │ ├── ansi │ ├── ansi.ml │ ├── color.ml │ ├── dune │ ├── import.ml │ ├── style.ml │ ├── terminal_ansi.ml │ └── terminal_ansi.mli │ ├── dune │ ├── terminal.ml │ ├── terminal.mli │ ├── terminal_stubs.c │ └── tests │ ├── common.ml │ ├── dune │ ├── test.ml │ ├── test_colours.ml │ ├── test_colours.mli │ ├── test_width.ml │ └── test_width.mli └── terminal.opam /.gitignore: -------------------------------------------------------------------------------- 1 | _build/ 2 | _opam 3 | *~ 4 | \.\#* 5 | \#*# 6 | *.install 7 | .merlin 8 | -------------------------------------------------------------------------------- /.meta/example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/.meta/example.gif -------------------------------------------------------------------------------- /.ocamlformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/.ocamlformat -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/CHANGES.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/README.md -------------------------------------------------------------------------------- /docs/fonts/JetBrainsMono-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/docs/fonts/JetBrainsMono-Regular.ttf -------------------------------------------------------------------------------- /docs/fonts/JetBrainsMono-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/docs/fonts/JetBrainsMono-Regular.woff -------------------------------------------------------------------------------- /docs/fonts/JetBrainsMono-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/docs/fonts/JetBrainsMono-Regular.woff2 -------------------------------------------------------------------------------- /docs/fonts/lato-v17-latin-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/docs/fonts/lato-v17-latin-700.woff2 -------------------------------------------------------------------------------- /docs/fonts/lato-v17-latin-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/docs/fonts/lato-v17-latin-italic.woff2 -------------------------------------------------------------------------------- /docs/fonts/lato-v17-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/docs/fonts/lato-v17-latin-regular.woff2 -------------------------------------------------------------------------------- /docs/odoc.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/docs/odoc.css -------------------------------------------------------------------------------- /dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/dune -------------------------------------------------------------------------------- /dune-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/dune-project -------------------------------------------------------------------------------- /examples/bar_styles.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/bar_styles.ml -------------------------------------------------------------------------------- /examples/bar_styles.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/bar_styles.mli -------------------------------------------------------------------------------- /examples/cargo.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/cargo.ml -------------------------------------------------------------------------------- /examples/cargo.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/cargo.mli -------------------------------------------------------------------------------- /examples/download.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/download.ml -------------------------------------------------------------------------------- /examples/download.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/download.mli -------------------------------------------------------------------------------- /examples/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/dune -------------------------------------------------------------------------------- /examples/interject.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/interject.ml -------------------------------------------------------------------------------- /examples/interject.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/interject.mli -------------------------------------------------------------------------------- /examples/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/main.ml -------------------------------------------------------------------------------- /examples/main.mli: -------------------------------------------------------------------------------- 1 | (* Intentionally empty *) 2 | -------------------------------------------------------------------------------- /examples/readme.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/readme.ml -------------------------------------------------------------------------------- /examples/readme.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/readme.mli -------------------------------------------------------------------------------- /examples/spinners.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/spinners.ml -------------------------------------------------------------------------------- /examples/spinners.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/spinners.mli -------------------------------------------------------------------------------- /examples/utils.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/utils.ml -------------------------------------------------------------------------------- /examples/utils.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/utils.mli -------------------------------------------------------------------------------- /examples/yarn.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/yarn.ml -------------------------------------------------------------------------------- /examples/yarn.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/examples/yarn.mli -------------------------------------------------------------------------------- /progress.opam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/progress.opam -------------------------------------------------------------------------------- /src/progress/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/dune -------------------------------------------------------------------------------- /src/progress/engine/config.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/config.ml -------------------------------------------------------------------------------- /src/progress/engine/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/dune -------------------------------------------------------------------------------- /src/progress/engine/duration.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/duration.ml -------------------------------------------------------------------------------- /src/progress/engine/duration.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/duration.mli -------------------------------------------------------------------------------- /src/progress/engine/flow_meter.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/flow_meter.ml -------------------------------------------------------------------------------- /src/progress/engine/flow_meter.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/flow_meter.mli -------------------------------------------------------------------------------- /src/progress/engine/import.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/import.ml -------------------------------------------------------------------------------- /src/progress/engine/integer.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/integer.ml -------------------------------------------------------------------------------- /src/progress/engine/line.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/line.ml -------------------------------------------------------------------------------- /src/progress/engine/line.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/line.mli -------------------------------------------------------------------------------- /src/progress/engine/line_buffer.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/line_buffer.ml -------------------------------------------------------------------------------- /src/progress/engine/line_buffer.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/line_buffer.mli -------------------------------------------------------------------------------- /src/progress/engine/line_intf.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/line_intf.ml -------------------------------------------------------------------------------- /src/progress/engine/line_primitives.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/line_primitives.ml -------------------------------------------------------------------------------- /src/progress/engine/line_primitives.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/line_primitives.mli -------------------------------------------------------------------------------- /src/progress/engine/line_primitives_intf.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/line_primitives_intf.ml -------------------------------------------------------------------------------- /src/progress/engine/multi.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/multi.ml -------------------------------------------------------------------------------- /src/progress/engine/multi.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/multi.mli -------------------------------------------------------------------------------- /src/progress/engine/multi_intf.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/multi_intf.ml -------------------------------------------------------------------------------- /src/progress/engine/platform.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/platform.ml -------------------------------------------------------------------------------- /src/progress/engine/printer.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/printer.ml -------------------------------------------------------------------------------- /src/progress/engine/printer.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/printer.mli -------------------------------------------------------------------------------- /src/progress/engine/progress_engine.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/progress_engine.ml -------------------------------------------------------------------------------- /src/progress/engine/progress_engine.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/progress_engine.mli -------------------------------------------------------------------------------- /src/progress/engine/progress_engine_intf.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/progress_engine_intf.ml -------------------------------------------------------------------------------- /src/progress/engine/pvector.dynarray.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/pvector.dynarray.ml -------------------------------------------------------------------------------- /src/progress/engine/pvector.vector.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/pvector.vector.ml -------------------------------------------------------------------------------- /src/progress/engine/renderer.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/renderer.ml -------------------------------------------------------------------------------- /src/progress/engine/renderer.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/renderer.mli -------------------------------------------------------------------------------- /src/progress/engine/renderer_intf.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/renderer_intf.ml -------------------------------------------------------------------------------- /src/progress/engine/stdlib_ext.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/stdlib_ext.ml -------------------------------------------------------------------------------- /src/progress/engine/units.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/units.ml -------------------------------------------------------------------------------- /src/progress/engine/units.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/engine/units.mli -------------------------------------------------------------------------------- /src/progress/progress.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/progress.ml -------------------------------------------------------------------------------- /src/progress/progress.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/progress.mli -------------------------------------------------------------------------------- /src/progress/terminal_width.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/terminal_width.ml -------------------------------------------------------------------------------- /src/progress/tests/common.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/tests/common.ml -------------------------------------------------------------------------------- /src/progress/tests/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/tests/dune -------------------------------------------------------------------------------- /src/progress/tests/test.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/tests/test.ml -------------------------------------------------------------------------------- /src/progress/tests/test.mli: -------------------------------------------------------------------------------- 1 | (* intentionally empty *) 2 | -------------------------------------------------------------------------------- /src/progress/tests/test_flow_meter.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/tests/test_flow_meter.ml -------------------------------------------------------------------------------- /src/progress/tests/test_flow_meter.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/tests/test_flow_meter.mli -------------------------------------------------------------------------------- /src/progress/tests/test_printers.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/tests/test_printers.ml -------------------------------------------------------------------------------- /src/progress/tests/test_printers.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/tests/test_printers.mli -------------------------------------------------------------------------------- /src/progress/tests/test_units.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/tests/test_units.ml -------------------------------------------------------------------------------- /src/progress/tests/test_units.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/progress/tests/test_units.mli -------------------------------------------------------------------------------- /src/terminal/ansi/ansi.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/ansi/ansi.ml -------------------------------------------------------------------------------- /src/terminal/ansi/color.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/ansi/color.ml -------------------------------------------------------------------------------- /src/terminal/ansi/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/ansi/dune -------------------------------------------------------------------------------- /src/terminal/ansi/import.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/ansi/import.ml -------------------------------------------------------------------------------- /src/terminal/ansi/style.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/ansi/style.ml -------------------------------------------------------------------------------- /src/terminal/ansi/terminal_ansi.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/ansi/terminal_ansi.ml -------------------------------------------------------------------------------- /src/terminal/ansi/terminal_ansi.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/ansi/terminal_ansi.mli -------------------------------------------------------------------------------- /src/terminal/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/dune -------------------------------------------------------------------------------- /src/terminal/terminal.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/terminal.ml -------------------------------------------------------------------------------- /src/terminal/terminal.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/terminal.mli -------------------------------------------------------------------------------- /src/terminal/terminal_stubs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/terminal_stubs.c -------------------------------------------------------------------------------- /src/terminal/tests/common.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/tests/common.ml -------------------------------------------------------------------------------- /src/terminal/tests/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/tests/dune -------------------------------------------------------------------------------- /src/terminal/tests/test.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/tests/test.ml -------------------------------------------------------------------------------- /src/terminal/tests/test_colours.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/tests/test_colours.ml -------------------------------------------------------------------------------- /src/terminal/tests/test_colours.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/tests/test_colours.mli -------------------------------------------------------------------------------- /src/terminal/tests/test_width.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/tests/test_width.ml -------------------------------------------------------------------------------- /src/terminal/tests/test_width.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/src/terminal/tests/test_width.mli -------------------------------------------------------------------------------- /terminal.opam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigfe/progress/HEAD/terminal.opam --------------------------------------------------------------------------------