Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update missing copyrights #908

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/analysis/expansion.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Merlin contributors"

Not sure what value that holds...


Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

open Std

type t = Trie of (string * Longident.t * t list lazy_t)
Expand Down
26 changes: 26 additions & 0 deletions src/analysis/namespaced_path.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

open Std

module Namespace = struct
Expand Down
26 changes: 26 additions & 0 deletions src/analysis/namespaced_path.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

module Namespace : sig
type t = [
| `Vals
Expand Down
26 changes: 26 additions & 0 deletions src/analysis/polarity_search.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

open Std

type t = Trie of (string * Longident.t * t list lazy_t)
Expand Down
26 changes: 26 additions & 0 deletions src/config/gen_config.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

let ocaml_version_val =
match
Scanf.sscanf Sys.argv.(1) "%s@.%s@.%d" (fun maj min p -> maj, min, p)
Expand Down
26 changes: 26 additions & 0 deletions src/frontend/gen_ccflags.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

let ccomp_type = Sys.argv.(1)
let pre_flags_f = Sys.argv.(2)
let post_flags_f = Sys.argv.(3)
Expand Down
26 changes: 26 additions & 0 deletions src/frontend/lsp/ocamlmerlin_lsp.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

let {Logger. log} = Logger.for_section "ocamlmerlin-lsp"

let initializeInfo: Lsp.Protocol.Initialize.result = {
Expand Down
26 changes: 26 additions & 0 deletions src/frontend/new/new_commands.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

open Std

type command =
Expand Down
26 changes: 26 additions & 0 deletions src/frontend/new/new_commands.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

open Std

type command =
Expand Down
26 changes: 26 additions & 0 deletions src/frontend/new/new_merlin.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

(** {1 Prepare command-line arguments} *)

let usage () =
Expand Down
26 changes: 26 additions & 0 deletions src/frontend/ocamlmerlin_server.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

let merlin_timeout =
try float_of_string (Sys.getenv "MERLIN_TIMEOUT")
with _ -> 600.0
Expand Down
26 changes: 26 additions & 0 deletions src/frontend/old/old_merlin.mli
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

val run : string list -> 'a
26 changes: 26 additions & 0 deletions src/frontend/test/ocamlmerlin_test.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
(* {{{ COPYING *(

This file is part of Merlin, an helper for ocaml editors

Copyright (C) 2013 - 2019 Merlin contributors

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising
from, out of or in connection with the software or the use or other dealings
in the Software.

)* }}} *)

open Std

(* Poor man's test framework *)
Expand Down
Loading