Skip to content

Commit

Permalink
Add missing copyright headers and license information
Browse files Browse the repository at this point in the history
  • Loading branch information
alavrik committed Oct 13, 2014
1 parent 687a238 commit ec20c29
Show file tree
Hide file tree
Showing 16 changed files with 240 additions and 17 deletions.
17 changes: 15 additions & 2 deletions piqi/piqi-lang.piqi
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


% Piqi language specification
%
% This file contains specificaiton for the Piqi language which is an extension
% of Piqi-spec (piqi.piqi).
%
% Basically, Piqi-lang = Piqi-spec + includes, extensions and typedefs embeeded
% in function parameters.
%
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik


.include [ .module piqi ]
Expand Down
20 changes: 16 additions & 4 deletions piqi/piqi.getopt.piqi
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


% Piqi extensions for getopt
%
% This file defines extensions to the base Piqi self-specification for
% command-line arguement parsing.
%
%
% Copyright 2009, 2010, 2011, 2012, 2013 Anton Lavrik
% command-line argument parsing.


.include [ .module piqi ]
Expand Down
17 changes: 15 additions & 2 deletions piqi/piqi.json.piqi
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


% JSON-specific extensions for Piqi self-spec
%
% This file defines some extensions to base Piqi specification enabling fields
% specific to JSON
%
% Copyright 2009, 2010, 2011, 2012, 2013 Anton Lavrik


.include [ .module piqi ]
Expand Down
17 changes: 15 additions & 2 deletions piqi/piqi.piq.piqi
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


% Piq-specific extensions for Piqi self-spec
%
% This file defines some extensions to the base Piqi specification enabling
% properties specific to the Piq data representation format
%
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik


.include [ .module piqi ]
Expand Down
17 changes: 15 additions & 2 deletions piqi/piqi.piqi
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


% The current Piqi self-specification
%
% This file contains defintion of the Piqi self-specification
%
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik


% aliases for built-in types; these definitions are automatically included in
Expand Down
17 changes: 15 additions & 2 deletions piqi/piqi.piqic.piqi
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
% Piqic (piqi compiler) extensions for Piqi self-spec
%
% Copyright 2009, 2010, 2011, 2012, 2013 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


% piqic (piqi compiler) extensions for Piqi self-spec


.include [ .module piqi ]
Expand Down
18 changes: 15 additions & 3 deletions piqi/piqi.protobuf.piqi
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
% Copyright 2009, 2010, 2011, 2012, 2013 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


% Google Protocol Buffers extension for Piqi self-spec
%
% This file defines two kinds of extensions to the base Piqi self-specification:
Expand All @@ -12,9 +27,6 @@
% The document describing Protocol Buffers binary "wire" format:
%
% https://developers.google.com/protocol-buffers/docs/encoding
%
%
% Copyright 2009, 2010, 2011, 2012, 2013 Anton Lavrik


.protobuf-package "piqi_org.piqi"
Expand Down
16 changes: 16 additions & 0 deletions piqilib/gen_piqi_boot.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
(*
Copyright 2014 Anton Lavrik
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*)


let load_file fname =
let ch = open_in fname in
Expand Down
14 changes: 14 additions & 0 deletions piqilib/piqi-impl.piqi
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


.include [ .module piqi/piqi-lang ]

Expand Down
14 changes: 14 additions & 0 deletions piqilib/piqi-lang.ocaml.piqi
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


.include [ .module piqi/piqi-lang ]

Expand Down
15 changes: 15 additions & 0 deletions piqilib/piqi-lang.piqi
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


.include [ .module piqi/piqi-lang ]
14 changes: 14 additions & 0 deletions piqilib/piqi.ocaml.piqi
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


.include [ .module piqi ]

Expand Down
15 changes: 15 additions & 0 deletions piqilib/piqi.piqi
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


.include [ piqi/piqi ]
16 changes: 16 additions & 0 deletions src/descriptor.ocaml.piqi
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


% OCaml-specific extension of descriptor.proto.piqi (which is converted from
% descriptor.proto -- see Makefile for details)


.include [ .module descriptor ]


Expand Down
15 changes: 15 additions & 0 deletions src/piqi_rpc.piqi
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


% Piqi RPC
%
% This file contains definitions for Piqi RPC request and response types.
Expand Down
15 changes: 15 additions & 0 deletions src/piqi_tools.piqi
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
% Copyright 2009, 2010, 2011, 2012, 2013, 2014 Anton Lavrik
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.


% Piqi Tools
%
% This file contains definitions for Piqi-RPC server that exposes Piqi Tools
Expand Down

0 comments on commit ec20c29

Please sign in to comment.