Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-6187: Android: Re-enable Fastdev for V8 / Rhino #713

Merged
merged 10 commits into from Nov 21, 2011

Conversation

marshall
Copy link
Contributor

http://jira.appcelerator.org/browse/TIMOB-6187

Testing instructions are on the JIRA issue

into KrollAssetHelper.readAsset, moved some dependencies
into kroll-common. TIMOB-6187
… timob-6187

Conflicts:
	android/titanium/src/java/org/appcelerator/titanium/util/TiDownloadManager.java
@nataliehuynh
Copy link
Contributor

Pull Accepted:
Ran smoke level test, also made sure that fastdev can be turned off in tiapp.xml. Ran with v8 and rhino


totalCount += count;
if (out != null) {
out.write(buffer, 0, count);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, you could technically be writing beyond byteCount. Example: total stream is 1030 bytes, bufferSize is 1024 bytes and byteCount (the desired number of bytes) is 1028. The second iteration of this loop would grab 1025-1030 and put it in out, even though only up to 1028 was desired.

@billdawson
Copy link
Contributor

Code review + functional test accepted

… timob-6187

Conflicts:
	android/runtime/common/src/java/org/appcelerator/kroll/KrollApplication.java
readDeployData(deployData);

if (enabled && fastDevSocket != null)
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move curly onto the same line as the "if" statement.

@rusticphilosopher
Copy link
Contributor

Code reviewed and accepted PENDING resolution of comments for TiFastDev::102 and KrollStreamHelper::65

@joshthecoder
Copy link
Contributor

Code reviewed. accepted

joshthecoder added a commit that referenced this pull request Nov 21, 2011
TIMOB-6187: Android: Re-enable Fastdev for V8 / Rhino
@joshthecoder joshthecoder merged commit 4bd7337 into tidev:master Nov 21, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants