Skip to content

Commit

Permalink
spring cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
pqwy committed Jul 5, 2017
1 parent 53f5946 commit 4de8747
Show file tree
Hide file tree
Showing 25 changed files with 70 additions and 116 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016 David Kaloper Meršinjak
Copyright (c) 2016-2017 David Kaloper Meršinjak

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down
3 changes: 3 additions & 0 deletions benchmarks/speed.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

open Notty
open Notty_unix

Expand Down
115 changes: 0 additions & 115 deletions doc/style.css

This file was deleted.

3 changes: 3 additions & 0 deletions examples/colors.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(**
* Demonstrates text attributes.
*)
Expand Down
3 changes: 3 additions & 0 deletions examples/common.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

open Notty

let pow n e = int_of_float (float n ** float e)
Expand Down
3 changes: 3 additions & 0 deletions examples/common_lwt.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

open Notty
open Lwt.Infix

Expand Down
3 changes: 3 additions & 0 deletions examples/crops.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(**
* Demonstrates edge-case behavior of functions that produce rectangle-like
* things.
Expand Down
3 changes: 3 additions & 0 deletions examples/cursor.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

open Notty
open Notty_unix
open Common
Expand Down
3 changes: 3 additions & 0 deletions examples/cuts.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(**
* Demonstrates text cropping, particularly of grapheme clusters and wide
* characters.
Expand Down
3 changes: 3 additions & 0 deletions examples/keys.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(**
* Demonstrates input parsing.
*)
Expand Down
3 changes: 3 additions & 0 deletions examples/letters.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(**
* Dancing letters.
*)
Expand Down
3 changes: 3 additions & 0 deletions examples/life.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(*
* Game of Life with some ZX spectrum kitsch.
*)
Expand Down
3 changes: 3 additions & 0 deletions examples/linear.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(*
* Elementary Cellular Automata
*)
Expand Down
3 changes: 3 additions & 0 deletions examples/mouse.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(**
* Demonstrates mouse input.
*)
Expand Down
3 changes: 3 additions & 0 deletions examples/runes.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(**
* Demonstrates geometry computation with various scripts. A few of those will
* usually break.
Expand Down
3 changes: 3 additions & 0 deletions examples/sierpinski.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(**
* A classic example in combinatory graphics.
*
Expand Down
3 changes: 3 additions & 0 deletions examples/sierpinski_lwt.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(**
* Demonstrates Lwt interaction.
*)
Expand Down
3 changes: 3 additions & 0 deletions examples/testpatterns.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(**
* A few images that exercise image composition, cropping, and padding. This
* test is a good canary.
Expand Down
3 changes: 3 additions & 0 deletions examples/thisbig.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

open Notty
open Notty_unix

Expand Down
3 changes: 3 additions & 0 deletions lwt/notty_lwt.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

open Lwt.Infix

open Notty
Expand Down
3 changes: 3 additions & 0 deletions lwt/notty_lwt.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(** [Notty] IO [Lwt] on [Unix].
This is an IO module for {!Notty}.
Expand Down
3 changes: 3 additions & 0 deletions src/notty.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

type uchar = int

let (&.) f g x = f (g x)
Expand Down
3 changes: 3 additions & 0 deletions src/notty.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(** Declaring terminals.
Notty is a terminal library that revolves around construction and
Expand Down
3 changes: 3 additions & 0 deletions unix/notty_unix.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

open Notty

external c_winsize : Unix.file_descr -> int = "caml_notty_winsize" [@@noalloc]
Expand Down
3 changes: 3 additions & 0 deletions unix/notty_unix.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
(* Copyright (c) 2016-2017 David Kaloper Meršinjak. All rights reserved.
See LICENSE.md. *)

(** [Notty] IO for pure [Unix].
This is an IO module for {!Notty}.
Expand Down

0 comments on commit 4de8747

Please sign in to comment.