Skip to content

Commit

Permalink
rename node-rdp to node-rdpjs
Browse files Browse the repository at this point in the history
  • Loading branch information
citronneur committed Jul 6, 2015
1 parent 6953ea0 commit 9718adb
Show file tree
Hide file tree
Showing 31 changed files with 161 additions and 111 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
node-rdp
node-rdpjs
========

Remote Desktop Protocol for Node.js

node-rdp is a pure implementation of the Microsoft RDP (Remote Desktop Protocol) protocol (client and server side). node-rdp support only SSL security layer.
node-rdpjs is a pure implementation of the Microsoft RDP (Remote Desktop Protocol) protocol (client and server side). node-rdpjs support only SSL security layer.

## Install

You can install last release node-rdp through npm :
You can install last release node-rdpjs through npm :

```
npm install node-rdp
npm install node-rdpjs
```

Or work with dev branch :

```
git clone https://github.com/citronneur/node-rdp.git
cd node-rdp
git clone https://github.com/citronneur/node-rdpjs.git
cd node-rdpjs
npm install
```

Expand Down Expand Up @@ -120,7 +120,7 @@ client.sendKeyEventUnicode(code, isPressed);

## Project

Please see [**mstsc.js**](https://github.com/citronneur/mstsc.js) project page to watch an exemple of node-rdp.
Please see [**mstsc.js**](https://github.com/citronneur/mstsc.js) project page to watch an exemple of node-rdpjs.

## Roadmap

Expand Down
4 changes: 2 additions & 2 deletions lib/asn1/ber.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/asn1/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/asn1/spec.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/asn1/univ.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/core/error.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/core/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/core/layer.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
6 changes: 3 additions & 3 deletions lib/core/log.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand All @@ -18,7 +18,7 @@
*/

function log(level, message) {
console.log("[node-rdp] " + level + ":\t" + message);
console.log("[node-rdpjs] " + level + ":\t" + message);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/core/type.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/cert.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/pdu/caps.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
6 changes: 3 additions & 3 deletions lib/protocol/pdu/data.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down Expand Up @@ -389,7 +389,7 @@ function demandActivePDU(capabilities, opt) {
lengthCombinedCapabilities : new type.UInt16Le(function() {
return self.numberCapabilities.size() + self.pad2Octets.size() + self.capabilitySets.size();
}),
sourceDescriptor : new type.BinaryString(new Buffer('node-rdp', 'binary'), { readLength : new type.CallableValue(function() {
sourceDescriptor : new type.BinaryString(new Buffer('node-rdpjs', 'binary'), { readLength : new type.CallableValue(function() {
return self.lengthSourceDescriptor.value
}) }),
numberCapabilities : new type.UInt16Le(function() {
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/pdu/global.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/pdu/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/pdu/lic.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/pdu/sec.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
6 changes: 3 additions & 3 deletions lib/protocol/rdp.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down Expand Up @@ -31,7 +31,7 @@ var pdu = require('./pdu');

/**
* decompress bitmap from RLE algorithm
* @param bitmap {object} bitmap object of bitmap event of node-rdp
* @param bitmap {object} bitmap object of bitmap event of node-rdpjs
*/
function decompress (bitmap) {
var fName = null;
Expand Down
6 changes: 3 additions & 3 deletions lib/protocol/t125/gcc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down Expand Up @@ -270,7 +270,7 @@ function clientCoreData(opt) {
sasSequence : new type.UInt16Le(SEQUENCE.RNS_UD_SAS_DEL),
kbdLayout : new type.UInt32Le(KEYBOARD_LAYOUT.FR),
clientBuild : new type.UInt32Le(3790),
clientName : new type.BinaryString(new Buffer('speyrefitte-Vir\x00', 'ucs2'), { readLength : new type.CallableValue(32) }),
clientName : new type.BinaryString(new Buffer('node-rdpjs\x00\x00\x00\x00\x00\x00', 'ucs2'), { readLength : new type.CallableValue(32) }),
keyboardType : new type.UInt32Le(KEYBOARD_TYPE.IBM_101_102_KEYS),
keyboardSubType : new type.UInt32Le(0),
keyboardFnKeys : new type.UInt32Le(12),
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/t125/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/t125/mcs.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/t125/per.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions lib/protocol/tpkt.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
6 changes: 3 additions & 3 deletions lib/protocol/x224.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down Expand Up @@ -55,7 +55,7 @@ var Protocols = {

/**
* Use to negotiate security layer of RDP stack
* In node-rdp only ssl is available
* In node-rdpjs only ssl is available
* @param opt {object} component type options
* @see request -> http://msdn.microsoft.com/en-us/library/cc240500.aspx
* @see response -> http://msdn.microsoft.com/en-us/library/cc240506.aspx
Expand Down
4 changes: 2 additions & 2 deletions lib/security/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2014-2015 Sylvain Peyrefitte
*
* This file is part of node-rdp.
* This file is part of node-rdpjs.
*
* node-rdp is free software: you can redistribute it and/or modify
* node-rdpjs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand Down
Loading

0 comments on commit 9718adb

Please sign in to comment.