Closed ikarienator closed 11 years ago
I also set up a demo at: http://twbs.in:7261/editor/src/render/Program.ts#0,0
This is awesome, thanks! Demo site seems to have gone down for me unfortunately. I'll have a play with it tomorrow.
@aclement Yeah I put too many contents on the VPS. I restarted it just now.
@aclement I check the log and found this you may be interested:
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Socket.EventEmitter.addListener (events.js:160:15)
at Socket.Readable.on (_stream_readable.js:653:33)
at Socket.EventEmitter.once (events.js:179:8)
at TCP.onread (net.js:527:26)
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Socket.EventEmitter.addListener (events.js:160:15)
at Socket.Readable.on (_stream_readable.js:653:33)
at Socket.EventEmitter.once (events.js:179:8)
at TCP.onread (net.js:527:26)
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Socket.EventEmitter.addListener (events.js:160:15)
at Socket.Readable.on (_stream_readable.js:653:33)
at Socket.EventEmitter.once (events.js:179:8)
at TCP.onread (net.js:527:26)
FATAL ERROR: Evacuation Allocation failed - process out of memory
Sorry I didn't get to this sooner, I was at EclipseCon last week and tied up with so much stuff. I'll be taking a look this week
I'll take a look at this.
This is some great work. Thanks for contributing some great functionality that really should be in scripted. Before we can proceed with merging, I would like some clarifications and changes:
Licensing and IP questions:
Please include license headers on all files that do not have them yet. They should be made available under an EPL license using a header like this (but use your own name and affiliation):
/*******************************************************************************
* @license
* Copyright (c) 2013 VMware, Inc. All Rights Reserved.
* THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
* CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
* You can obtain a current copy of the Eclipse Public License from
* http://www.opensource.org/licenses/eclipse-1.0.php
*
* Contributors:
* Andrew Eisenberg
******************************************************************************/
Functionality questions:
user
and the entire first line is highlighted:
var user = "Jane User"; user
Implementation questions:
Not all of these problems need to be fixed before we can merge. At a minimum, we need to have the ip issues resolved, as well as ensure the build step is seamless. Thanks again for your work.
Many thanks for the review!
We don't need to work on all of the performance issues before this can be merged, but I do fear that the plugin would be unusable for any real files and projects without a more asynchronous and background compilation step.
You do need to add proper license headers for each file. Licensing is quite a tricky thing to do properly. EPL does allow you to use and create derivative works, but the license header must remain in tact and the source code must always be available. Furthermore, there needs to be some due diligence done to ensure that the code was not borrowed from a proprietary source (note- I am NOT accusing you of doing anything nefarious, these are just standard procedures for many open source projects).
Also, mixing code with different licenses is problematic since they have different restrictions on what you are allowed to do. So, we will not commit the MIT or ASL-licensed code into the repository. This is standard practice for most open source projects.
What this means for you is this, before I can integrate your patch:
Once this is available, I can merge this request.
Thanks for the explanation! I will be working on that soon. BTW, do I need to add headers to generated files as well? If we do, I will edit the build script to add it.
The included typescriptServices.js and typescriptServices.d.ts are compiled from the source code found here: https://typescript.codeplex.com/releases/view/98308 It can also be found in the npm package typescript 0.8.3.
All files to be checked into the repo require a license header. So, yes, the generated files need them as well since we will likely check them into the repo. And please include the build script.
I'll take a look at the npm scripts. We actually use bower for our client side dependency management, so I'll see if it is already in the bower repo. If not, I can add it.
On Thu, Apr 4, 2013 at 9:21 PM, Bei Zhang - Ikari Enator < notifications@github.com> wrote:
Thanks for the explanation! I will be working on that soon. BTW, do I need to add headers to generated files as well? If we do, I will edit the build script to add it.
The included typescriptServices.js and typescriptServices.d.ts are compiled from the source code found here: https://typescript.codeplex.com/releases/view/98308 It can also be found in the npm package typescript 0.8.3.
— Reply to this email directly or view it on GitHubhttps://github.com/scripted-editor/scripted/pull/266#issuecomment-15938347 .
I'll close this PR for now. Will create another PR soon as I finished it.
@ikarienator it would be great to see your TypeScript support in scripted. I hope you'll have time to finish it :+1:
Concerning Feature request: TypeScript support Supports: