Skip to content

Commit 33b5924

Browse files
authored
Merge pull request #255 from pylonide/development
v2.8.0 Release
2 parents 1fe4b83 + b1118d3 commit 33b5924

10 files changed

Lines changed: 321 additions & 199 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [12.x, 13.x, 14.x, 15.x, 16.x]
13+
node-version: [12.x, 13.x, 14.x, 15.x, 16.x, 17.x]
1414
steps:
1515
- uses: actions/checkout@v1
1616
- name: Use Node.js ${{ matrix.node-version }}

History.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
v2.8.0
2+
======
3+
* Remediates security vulnerabilities reported in 3rd party packages.
4+
* Notable upgrades to: passport, engine.io, xterm, yargs, jsdav, vfs, ace, xmldom
5+
* iOS: Preferences page is not scrollable #41
6+
17
v2.7.0
28
======
39
* Cutting the support for Node.js v10 #192

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
[![Build Status](https://travis-ci.org/pylonide/pylon.svg?branch=master)](https://travis-ci.org/pylonide/pylon)
1+
[![Build Status](https://travis-ci.com/pylonide/pylon.svg?branch=master)](https://travis-ci.com/pylonide/pylon)
22
[![Master Dependency Status](https://snyk.io/test/github/pylonide/pylon/badge.svg)](https://snyk.io/test/github/pylonide/pylon)
33
[![Development Dependency Status](https://snyk.io/test/github/pylonide/pylon/development/badge.svg)](https://snyk.io/test/github/pylonide/pylon/development)
44
[![Bitcoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://commerce.coinbase.com/checkout/5f3b0455-32ba-4b85-b299-00fe739d8b10 "One-time donation to keep this project alive")
5+
[![€ donate button](https://img.shields.io/badge/€-donate-brightgreen.svg)](http://warp.pylon.id "One-time donation to keep this project alive, choose the amount at checkout")
56

67
# Pylon IDE
78

package-lock.json

Lines changed: 287 additions & 173 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pln",
33
"description": "Pylon IDE",
4-
"version": "2.7.0",
4+
"version": "2.8.0",
55
"license": "GPL-3.0",
66
"homepage": "https://github.com/pylonide/pylon",
77
"engines": {
@@ -29,36 +29,36 @@
2929
"urlrouter": "~0.5.4",
3030
"qs": "~6.10.1",
3131
"parseurl": "~1.3.2",
32-
"passport": "~0.4.0",
32+
"passport": "~0.5.0",
3333
"passport-http": "~0.3.0",
3434
"passport-local": "~1.0.0",
3535
"msgpack-js-browser": "~0.1.4",
36-
"engine.io": "~5.2.1",
37-
"engine.io-client": "~5.1.1",
36+
"engine.io": "~6.1.0",
37+
"engine.io-client": "~6.1.0",
3838
"amd-loader": "~0.0.8",
3939
"http-error": "~0.0.6",
4040
"simple-template": "~0.0.1",
4141
"netutil": "~0.0.2",
4242
"architect": "~0.1.13",
4343
"node-pty": "0.10.1",
44-
"xterm": "~4.13.0",
44+
"xterm": "~4.18.0",
4545
"xterm-addon-fit": "~0.5.0",
4646
"vary": "^1.1.2",
4747
"asyncjs": "~0.0.13",
48-
"yargs": "~17.0.1",
48+
"yargs": "~17.3.1",
4949
"@pylonide/architect-build": "~0.1.3",
5050
"@pylonide/dryice": "^0.5.2",
51-
"@pylonide/jsdav": "~0.4.2",
51+
"@pylonide/jsdav": "~0.6.0",
5252
"@pylonide/smith": "~0.1.24",
5353
"@pylonide/treehugger": "~0.1.0",
5454
"@pylonide/v8debug": "~0.1.3",
55-
"@pylonide/vfs-architect": "~0.2.0",
56-
"@pylonide/vfs-nodefs-adapter": "~0.4.0",
57-
"ace": "https://github.com/ajaxorg/ace/tarball/v1.4.12"
55+
"@pylonide/vfs-architect": "~0.4.0",
56+
"@pylonide/vfs-nodefs-adapter": "~0.5.0",
57+
"ace": "https://github.com/ajaxorg/ace/tarball/v1.4.14"
5858
},
5959
"devDependencies": {
6060
"rimraf": "~3.0.0",
61-
"xmldom": "~0.6.0",
61+
"@xmldom/xmldom": "~0.8.0",
6262
"xpath": "~0.0.27"
6363
},
6464
"repository": {

plugins-client/ext.settings/skin.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
<a:bar name="bar-preferences">
44
<a:style><![CDATA[
55
.bar-preferences {
6-
position : relative;
7-
overflow-y : hidden;
8-
overflow-x : hidden;
6+
position : absolute;
7+
overflow : auto;
98
color : #202020;
109
font-family : Tahoma, Arial;
1110
font-size : 12px;

plugins-client/ext.terminal/tty.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ define(function(require) {
6666
* Open
6767
*/
6868

69-
var ENGINE_IO = require("engine.io");
69+
var ENGINE_IO_Socket = require("engine.io");
7070

7171
tty.open = function () {
7272
if (document.location.pathname) {
@@ -81,9 +81,9 @@ define(function(require) {
8181
server = 'ws://';
8282

8383
server = server + window.location.href.split("\/")[2];
84-
tty.socket = new ENGINE_IO.Socket(server, {resource: resource});
84+
tty.socket = new ENGINE_IO_Socket(server, {resource: resource});
8585
} else {
86-
tty.socket = new ENGINE_IO.Socket();
86+
tty.socket = new ENGINE_IO_Socket();
8787
}
8888

8989
tty.windows = [];
@@ -481,7 +481,9 @@ define(function(require) {
481481

482482
self.resize(x, y);
483483

484-
el.style.width = '';
484+
// Starting with xterm.js v4.14.1 the viewport overflows with scroll-bar unless we correct the window size accordingly
485+
el.style.width = el.getElementsByClassName('xterm-viewport')[0].clientWidth + 'px';
486+
485487
el.style.height = '';
486488

487489
el.style.overflow = '';
@@ -662,6 +664,8 @@ define(function(require) {
662664
this.hookMouse();
663665

664666
win.tabs.push(this);
667+
// Starting with xterm.js v4.14.1 the viewport overflows with scroll-bar part unless we correct the window size during creation
668+
win.element.style.width = win.element.getElementsByClassName('xterm-viewport')[0].clientWidth + 15 + 'px';
665669

666670
if (!resume) {
667671
this.socket.send(JSON.stringify({cmd: 'create', cols: cols, rows: rows}));

plugins-client/ext.tree/tree.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,7 @@ module.exports = ext.register("ext/tree/tree", {
245245
var _self = this;
246246
trFiles.setAttribute("model", this.model);
247247

248-
if(ppc.isIphone) {
249-
trFiles.$ext.style.overflow = "auto";
250-
}
248+
trFiles.$ext.style.overflow = "auto";
251249

252250
if (this.loadedSettings === 1) {
253251
if (ide.inited) {

plugins-server/pylon.smith.io/www/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
define(function(require, exports, module) {
33

4-
var ENGINE_IO = require("engine.io");
4+
var ENGINE_IO_Socket = require("engine.io");
55
var SMITH = require("smith");
66
var EVENTS = require("smith/events-amd");
77

@@ -141,7 +141,7 @@ define(function(require, exports, module) {
141141
}, delay);
142142
}
143143

144-
_self.socket = new ENGINE_IO.Socket(_self.options);
144+
_self.socket = new ENGINE_IO_Socket(_self.options);
145145

146146
_self.socket.on("error", function (err) {
147147
if (_self.debug) {

ppc/ppc-package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// used by ppc-node below
22
XPath = require('xpath');
3-
DOMParser = require('xmldom').DOMParser;
3+
DOMParser = require('@xmldom/xmldom').DOMParser;
44

55
var Fs = require("fs");
66

0 commit comments

Comments
 (0)