Skip to content

Commit

Permalink
Merge pull request #636 from zeromq/license-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Jun 20, 2024
2 parents 73e6ad0 + 6040e66 commit f9ee2a3
Show file tree
Hide file tree
Showing 31 changed files with 14 additions and 53 deletions.
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Copyright 2019-2024 Amin Yahyaabadi
Copyright 2017-2019 Rolf Timmermans
Copyright 2011 TJ Holowaychuk
Copyright 2010, 2011 Justin Tulloss

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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@
"napi"
],
"license": "MIT",
"author": "Rolf Timmermans <rolf@zxcv.nl>"
"author": "Amin Yahyaabadi <aminyahyaabadi74@gmail.com>, Rolf Timmermans <rolf@zxcv.nl>"
}
27 changes: 3 additions & 24 deletions src/compat.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
/* The API of the compatibility layer and parts of the implementation has been
adapted from the original ZeroMQ.js version (up to 5.x) for which the license
and copyright notice is reproduced below.
Copyright (c) 2017-2019 Rolf Timmermans
Copyright (c) 2011 TJ Holowaychuk
Copyright (c) 2010, 2011 Justin Tulloss
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.
/*
The API of the compatibility layer and parts of the implementation has been
adapted from the original ZeroMQ.js version (up to 5.x)
*/

import {EventEmitter} from "events"
Expand Down
2 changes: 1 addition & 1 deletion src/context.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */

#include "./context.h"

#include "./module.h"
Expand Down
1 change: 0 additions & 1 deletion src/context.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <napi.h>
Expand Down
2 changes: 1 addition & 1 deletion src/incoming_msg.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */

#include "./incoming_msg.h"

#include <cassert>
Expand Down
1 change: 0 additions & 1 deletion src/incoming_msg.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <napi.h>
Expand Down
2 changes: 1 addition & 1 deletion src/module.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */

#include "./module.h"

#include "./context.h"
Expand Down
1 change: 0 additions & 1 deletion src/module.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <cstdio>
Expand Down
2 changes: 1 addition & 1 deletion src/observer.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */

#include "./observer.h"

#include "./context.h"
Expand Down
1 change: 0 additions & 1 deletion src/observer.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <napi.h>
Expand Down
2 changes: 1 addition & 1 deletion src/outgoing_msg.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */

#include "./outgoing_msg.h"

#include "./module.h"
Expand Down
1 change: 0 additions & 1 deletion src/outgoing_msg.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <napi.h>
Expand Down
1 change: 0 additions & 1 deletion src/poller.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include "util/uvhandle.h"
Expand Down
2 changes: 1 addition & 1 deletion src/proxy.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */

#include "./proxy.h"

#include "./context.h"
Expand Down
1 change: 0 additions & 1 deletion src/proxy.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <napi.h>
Expand Down
2 changes: 1 addition & 1 deletion src/socket.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */


#define NOMINMAX // prevent minwindef.h from defining max macro in the debug build

Expand Down
1 change: 0 additions & 1 deletion src/socket.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <optional>
Expand Down
1 change: 0 additions & 1 deletion src/util/arguments.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <napi.h>
Expand Down
1 change: 0 additions & 1 deletion src/util/async_scope.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <napi.h>
Expand Down
1 change: 0 additions & 1 deletion src/util/error.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <errno.h>
Expand Down
1 change: 0 additions & 1 deletion src/util/object.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <napi.h>
Expand Down
1 change: 0 additions & 1 deletion src/util/reaper.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <cassert>
Expand Down
1 change: 0 additions & 1 deletion src/util/take.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <optional>
Expand Down
1 change: 0 additions & 1 deletion src/util/to_string.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <string>
Expand Down
1 change: 0 additions & 1 deletion src/util/trash.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <deque>
Expand Down
1 change: 0 additions & 1 deletion src/util/uvdelayed.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include "uvhandle.h"
Expand Down
1 change: 0 additions & 1 deletion src/util/uvhandle.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <uv.h>
Expand Down
1 change: 0 additions & 1 deletion src/util/uvloop.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <napi.h>
Expand Down
1 change: 0 additions & 1 deletion src/util/uvwork.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include "uvloop.h"
Expand Down
1 change: 0 additions & 1 deletion src/zmq_inc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once

#include <zmq.h> // IWYU pragma: export
Expand Down

0 comments on commit f9ee2a3

Please sign in to comment.