Skip to content

Commit fad24bb

Browse files
committed
update copyright in source files
1 parent dabc8a0 commit fad24bb

File tree

135 files changed

+1475
-1199
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+1475
-1199
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.cpp eol=lf
2+
*.hpp eol=lf
3+
*.js eol=lf
4+
*.cmake eol=lf

.npmignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ node_modules
99
.idea
1010
nbproject
1111
.git
12-
cmake
1312
.gitignore
14-
CMakeLists.txt
15-
bower.json
1613
*.o
1714
*.a
1815
*.exe

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
quantlib [![npm version](https://badge.fury.io/js/quantlib.svg)](http://badge.fury.io/js/quantlib)
2-
========
1+
QuantLibNode [![npm version](https://badge.fury.io/js/quantlib.svg)](http://badge.fury.io/js/quantlib)
2+
============
33

44
QuantLib Async Bindings for Node.js
55

@@ -10,6 +10,21 @@ Getting started
1010
npm install quantlib
1111
```
1212

13+
* Windows
14+
15+
`npm install quantlib` will do everything, including the package and pre-built native addon
16+
17+
* Linux & Mac
18+
19+
Quantlib and QuantLibAddin must be built first, then build QuantLibNode linking to them
20+
21+
Version Matrix
22+
--------------
23+
24+
| QuantLib | QuantLibAddin | Node.js | QuantLibNode |
25+
| -------- | ------------- | ------- | ------------ |
26+
| 1.7.1 | 1.7.0 | 6.9.1 | 0.1.x |
27+
1328
Example
1429
-------
1530

cmake/FindNode.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# NODE_GYP_FOUND - True if node found.
55

66
# Read environment variables to find node_gyp include/lib directories
7-
SET(NODE_GYP_VER "4.4.5")
7+
SET(NODE_GYP_VER "6.9.1")
88
MESSAGE( STATUS "NODE_GYP_VER: " ${NODE_GYP_VER} )
99
SET(NODE_GYP_DIR $ENV{NODE_GYP_DIR}/${NODE_GYP_VER})
1010
MESSAGE( STATUS "NODE_GYP_DIR: " ${NODE_GYP_DIR} )

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "quantlib",
33
"description": "QuantLib Asyn Bindings for Node.js",
4-
"version": "0.1.4",
4+
"version": "0.1.5",
55
"keywords": [
66
"quantlib",
77
"native",

src/abcd.cpp

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// This is a generated file, modify: generate/templates/class_content.cc
1+
/*
2+
Copyright (C) 2016 Jerry Jin
3+
*/
24

35
#include <nan.h>
46
#include <string.h>
@@ -120,7 +122,7 @@ NAN_METHOD(QuantLibNode::AbcdFunction) {
120122
//
121123
//}
122124

123-
//AbcdFunctionWorker::Destroy(){
125+
//void AbcdFunctionWorker::Destroy(){
124126
//
125127
//}
126128

@@ -329,7 +331,7 @@ NAN_METHOD(QuantLibNode::AbcdCalibration) {
329331
//
330332
//}
331333

332-
//AbcdCalibrationWorker::Destroy(){
334+
//void AbcdCalibrationWorker::Destroy(){
333335
//
334336
//}
335337

@@ -419,7 +421,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionInstantaneousValue) {
419421
//
420422
//}
421423

422-
//AbcdFunctionInstantaneousValueWorker::Destroy(){
424+
//void AbcdFunctionInstantaneousValueWorker::Destroy(){
423425
//
424426
//}
425427

@@ -525,7 +527,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionInstantaneousCovariance) {
525527
//
526528
//}
527529

528-
//AbcdFunctionInstantaneousCovarianceWorker::Destroy(){
530+
//void AbcdFunctionInstantaneousCovarianceWorker::Destroy(){
529531
//
530532
//}
531533

@@ -623,7 +625,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionInstantaneousVariance) {
623625
//
624626
//}
625627

626-
//AbcdFunctionInstantaneousVarianceWorker::Destroy(){
628+
//void AbcdFunctionInstantaneousVarianceWorker::Destroy(){
627629
//
628630
//}
629631

@@ -721,7 +723,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionInstantaneousVolatility) {
721723
//
722724
//}
723725

724-
//AbcdFunctionInstantaneousVolatilityWorker::Destroy(){
726+
//void AbcdFunctionInstantaneousVolatilityWorker::Destroy(){
725727
//
726728
//}
727729

@@ -835,7 +837,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionCovariance) {
835837
//
836838
//}
837839

838-
//AbcdFunctionCovarianceWorker::Destroy(){
840+
//void AbcdFunctionCovarianceWorker::Destroy(){
839841
//
840842
//}
841843

@@ -941,7 +943,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionVariance) {
941943
//
942944
//}
943945

944-
//AbcdFunctionVarianceWorker::Destroy(){
946+
//void AbcdFunctionVarianceWorker::Destroy(){
945947
//
946948
//}
947949

@@ -1047,7 +1049,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionVolatility) {
10471049
//
10481050
//}
10491051

1050-
//AbcdFunctionVolatilityWorker::Destroy(){
1052+
//void AbcdFunctionVolatilityWorker::Destroy(){
10511053
//
10521054
//}
10531055

@@ -1108,7 +1110,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionShortTermVolatility) {
11081110
//
11091111
//}
11101112

1111-
//AbcdFunctionShortTermVolatilityWorker::Destroy(){
1113+
//void AbcdFunctionShortTermVolatilityWorker::Destroy(){
11121114
//
11131115
//}
11141116

@@ -1169,7 +1171,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionLongTermVolatility) {
11691171
//
11701172
//}
11711173

1172-
//AbcdFunctionLongTermVolatilityWorker::Destroy(){
1174+
//void AbcdFunctionLongTermVolatilityWorker::Destroy(){
11731175
//
11741176
//}
11751177

@@ -1230,7 +1232,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionMaximumLocation) {
12301232
//
12311233
//}
12321234

1233-
//AbcdFunctionMaximumLocationWorker::Destroy(){
1235+
//void AbcdFunctionMaximumLocationWorker::Destroy(){
12341236
//
12351237
//}
12361238

@@ -1291,7 +1293,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionMaximumVolatility) {
12911293
//
12921294
//}
12931295

1294-
//AbcdFunctionMaximumVolatilityWorker::Destroy(){
1296+
//void AbcdFunctionMaximumVolatilityWorker::Destroy(){
12951297
//
12961298
//}
12971299

@@ -1352,7 +1354,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionA) {
13521354
//
13531355
//}
13541356

1355-
//AbcdFunctionAWorker::Destroy(){
1357+
//void AbcdFunctionAWorker::Destroy(){
13561358
//
13571359
//}
13581360

@@ -1413,7 +1415,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionB) {
14131415
//
14141416
//}
14151417

1416-
//AbcdFunctionBWorker::Destroy(){
1418+
//void AbcdFunctionBWorker::Destroy(){
14171419
//
14181420
//}
14191421

@@ -1474,7 +1476,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionC) {
14741476
//
14751477
//}
14761478

1477-
//AbcdFunctionCWorker::Destroy(){
1479+
//void AbcdFunctionCWorker::Destroy(){
14781480
//
14791481
//}
14801482

@@ -1535,7 +1537,7 @@ NAN_METHOD(QuantLibNode::AbcdFunctionD) {
15351537
//
15361538
//}
15371539

1538-
//AbcdFunctionDWorker::Destroy(){
1540+
//void AbcdFunctionDWorker::Destroy(){
15391541
//
15401542
//}
15411543

@@ -1596,7 +1598,7 @@ NAN_METHOD(QuantLibNode::AbcdDFunction) {
15961598
//
15971599
//}
15981600

1599-
//AbcdDFunctionWorker::Destroy(){
1601+
//void AbcdDFunctionWorker::Destroy(){
16001602
//
16011603
//}
16021604

@@ -1657,7 +1659,7 @@ NAN_METHOD(QuantLibNode::AbcdCalibrationCompute) {
16571659
//
16581660
//}
16591661

1660-
//AbcdCalibrationComputeWorker::Destroy(){
1662+
//void AbcdCalibrationComputeWorker::Destroy(){
16611663
//
16621664
//}
16631665

@@ -1749,7 +1751,7 @@ NAN_METHOD(QuantLibNode::AbcdCalibrationK) {
17491751
//
17501752
//}
17511753

1752-
//AbcdCalibrationKWorker::Destroy(){
1754+
//void AbcdCalibrationKWorker::Destroy(){
17531755
//
17541756
//}
17551757

@@ -1810,7 +1812,7 @@ NAN_METHOD(QuantLibNode::AbcdCalibrationError) {
18101812
//
18111813
//}
18121814

1813-
//AbcdCalibrationErrorWorker::Destroy(){
1815+
//void AbcdCalibrationErrorWorker::Destroy(){
18141816
//
18151817
//}
18161818

@@ -1871,7 +1873,7 @@ NAN_METHOD(QuantLibNode::AbcdCalibrationMaxError) {
18711873
//
18721874
//}
18731875

1874-
//AbcdCalibrationMaxErrorWorker::Destroy(){
1876+
//void AbcdCalibrationMaxErrorWorker::Destroy(){
18751877
//
18761878
//}
18771879

@@ -1937,7 +1939,7 @@ NAN_METHOD(QuantLibNode::AbcdCalibrationEndCriteria) {
19371939
//
19381940
//}
19391941

1940-
//AbcdCalibrationEndCriteriaWorker::Destroy(){
1942+
//void AbcdCalibrationEndCriteriaWorker::Destroy(){
19411943
//
19421944
//}
19431945

@@ -1998,7 +2000,7 @@ NAN_METHOD(QuantLibNode::AbcdCalibrationA) {
19982000
//
19992001
//}
20002002

2001-
//AbcdCalibrationAWorker::Destroy(){
2003+
//void AbcdCalibrationAWorker::Destroy(){
20022004
//
20032005
//}
20042006

@@ -2059,7 +2061,7 @@ NAN_METHOD(QuantLibNode::AbcdCalibrationB) {
20592061
//
20602062
//}
20612063

2062-
//AbcdCalibrationBWorker::Destroy(){
2064+
//void AbcdCalibrationBWorker::Destroy(){
20632065
//
20642066
//}
20652067

@@ -2120,7 +2122,7 @@ NAN_METHOD(QuantLibNode::AbcdCalibrationC) {
21202122
//
21212123
//}
21222124

2123-
//AbcdCalibrationCWorker::Destroy(){
2125+
//void AbcdCalibrationCWorker::Destroy(){
21242126
//
21252127
//}
21262128

@@ -2181,7 +2183,7 @@ NAN_METHOD(QuantLibNode::AbcdCalibrationD) {
21812183
//
21822184
//}
21832185

2184-
//AbcdCalibrationDWorker::Destroy(){
2186+
//void AbcdCalibrationDWorker::Destroy(){
21852187
//
21862188
//}
21872189

src/abcd.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// This is a generated file, modify: generate/templates/class_header.h
1+
/*
2+
Copyright (C) 2016 Jerry Jin
3+
*/
24

35
#ifndef abcd_h
46
#define abcd_h

src/accountingengines.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// This is a generated file, modify: generate/templates/class_content.cc
1+
/*
2+
Copyright (C) 2016 Jerry Jin
3+
*/
24

35
#include <nan.h>
46
#include <string.h>
@@ -123,7 +125,7 @@ NAN_METHOD(QuantLibNode::AccountingEngine) {
123125
//
124126
//}
125127

126-
//AccountingEngineWorker::Destroy(){
128+
//void AccountingEngineWorker::Destroy(){
127129
//
128130
//}
129131

@@ -207,7 +209,7 @@ NAN_METHOD(QuantLibNode::AccountingEngineMultiplePathValues) {
207209
//
208210
//}
209211

210-
//AccountingEngineMultiplePathValuesWorker::Destroy(){
212+
//void AccountingEngineMultiplePathValuesWorker::Destroy(){
211213
//
212214
//}
213215

src/accountingengines.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// This is a generated file, modify: generate/templates/class_header.h
1+
/*
2+
Copyright (C) 2016 Jerry Jin
3+
*/
24

35
#ifndef accountingengines_h
46
#define accountingengines_h

0 commit comments

Comments
 (0)