diff --git a/piqi/piqi-lang.piqi b/piqi/piqi-lang.piqi index 9057ce86..b7de4773 100644 --- a/piqi/piqi-lang.piqi +++ b/piqi/piqi-lang.piqi @@ -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 language specification % % This file contains specificaiton for the Piqi language which is an extension @@ -5,8 +20,6 @@ % % 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 ] diff --git a/piqi/piqi.getopt.piqi b/piqi/piqi.getopt.piqi index a4e772c5..9d75f5c8 100644 --- a/piqi/piqi.getopt.piqi +++ b/piqi/piqi.getopt.piqi @@ -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 ] diff --git a/piqi/piqi.json.piqi b/piqi/piqi.json.piqi index d7d9b4a2..472b9ecf 100644 --- a/piqi/piqi.json.piqi +++ b/piqi/piqi.json.piqi @@ -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 ] diff --git a/piqi/piqi.piq.piqi b/piqi/piqi.piq.piqi index 62a7fcff..4b7605b8 100644 --- a/piqi/piqi.piq.piqi +++ b/piqi/piqi.piq.piqi @@ -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 ] diff --git a/piqi/piqi.piqi b/piqi/piqi.piqi index ff60f2e1..68a89bd5 100644 --- a/piqi/piqi.piqi +++ b/piqi/piqi.piqi @@ -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 diff --git a/piqi/piqi.piqic.piqi b/piqi/piqi.piqic.piqi index 76a3493f..d997c10b 100644 --- a/piqi/piqi.piqic.piqi +++ b/piqi/piqi.piqic.piqi @@ -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 ] diff --git a/piqi/piqi.protobuf.piqi b/piqi/piqi.protobuf.piqi index 6a10ac1f..992d8c8c 100644 --- a/piqi/piqi.protobuf.piqi +++ b/piqi/piqi.protobuf.piqi @@ -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: @@ -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" diff --git a/piqilib/gen_piqi_boot.ml b/piqilib/gen_piqi_boot.ml index 48fe0c24..cf398809 100644 --- a/piqilib/gen_piqi_boot.ml +++ b/piqilib/gen_piqi_boot.ml @@ -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 diff --git a/piqilib/piqi-impl.piqi b/piqilib/piqi-impl.piqi index 81b1e5b0..78e91fa8 100644 --- a/piqilib/piqi-impl.piqi +++ b/piqilib/piqi-impl.piqi @@ -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 ] diff --git a/piqilib/piqi-lang.ocaml.piqi b/piqilib/piqi-lang.ocaml.piqi index 27b58d74..53fc9553 100644 --- a/piqilib/piqi-lang.ocaml.piqi +++ b/piqilib/piqi-lang.ocaml.piqi @@ -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 ] diff --git a/piqilib/piqi-lang.piqi b/piqilib/piqi-lang.piqi index ede0b282..8a7b9fc4 100644 --- a/piqilib/piqi-lang.piqi +++ b/piqilib/piqi-lang.piqi @@ -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 ] diff --git a/piqilib/piqi.ocaml.piqi b/piqilib/piqi.ocaml.piqi index 330cacc1..7f0673b7 100644 --- a/piqilib/piqi.ocaml.piqi +++ b/piqilib/piqi.ocaml.piqi @@ -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 ] diff --git a/piqilib/piqi.piqi b/piqilib/piqi.piqi index 7e187bb7..41395a67 100644 --- a/piqilib/piqi.piqi +++ b/piqilib/piqi.piqi @@ -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 ] diff --git a/src/descriptor.ocaml.piqi b/src/descriptor.ocaml.piqi index 4c155eea..d7722292 100644 --- a/src/descriptor.ocaml.piqi +++ b/src/descriptor.ocaml.piqi @@ -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 ] diff --git a/src/piqi_rpc.piqi b/src/piqi_rpc.piqi index d359a54b..ac6a3159 100644 --- a/src/piqi_rpc.piqi +++ b/src/piqi_rpc.piqi @@ -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. diff --git a/src/piqi_tools.piqi b/src/piqi_tools.piqi index 50612219..77eb31a6 100644 --- a/src/piqi_tools.piqi +++ b/src/piqi_tools.piqi @@ -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