2057 Commits

Author SHA1 Message Date
Remy Sharp
d321cdc56c Update roadmap.md 2013-07-20 17:15:22 +01:00
Remy Sharp
8dff274e41 Merge pull request #723 from remy/fix/loop-rewrite-with-brackets
Fixes #721 - loop with brackets inside conditional
2013-07-20 07:45:10 -07:00
Remy Sharp
36de005a4e Fixes #715
Walks characters forward counting open brackets so the code doesn't accidentally insert *inside* the for loop. Added test too.
2013-07-20 15:36:28 +01:00
Remy Sharp
724c188db6 if no email from github, use empty string, not null 2013-07-20 12:47:25 +01:00
Remy Sharp
4702a4c962 return error to user notice when github auth fails 2013-07-20 12:44:17 +01:00
Remy Sharp
f742c3db0c 3.4.9 v3.4.9 2013-07-18 22:31:40 +01:00
Remy Sharp
f99beff12a new loop test - currently failing 2013-07-18 22:30:53 +01:00
Remy Sharp
a7bf4f836a 3.4.8 v3.4.8 2013-07-17 11:08:29 +01:00
Remy Sharp
e5ff63c275 Fixed line number for loop detect 2013-07-17 11:08:21 +01:00
Remy Sharp
481b145d89 Merge branch 'master' of github.com:remy/jsbin 2013-07-17 11:02:39 +01:00
Remy Sharp
b787c3eef6 rewrote the loop detect logic to walk characters to parse JavaScript properly and defend against loops 2013-07-17 11:02:28 +01:00
Remy Sharp
be277adba1 Merge pull request #711 from gyoshev/lib/kendoui-2013-q2
Add Kendo UI Q2.2013, remove Q3.2012
2013-07-17 02:03:09 -07:00
Alex Gyoshev
9f1f1a4cb9 Remove Kendo UI Q3.2012, add Q2.2013 2013-07-17 10:07:51 +03:00
Remy Sharp
e5ab65b57f 3.4.7 v3.4.7 2013-07-16 19:45:38 +01:00
Remy Sharp
df6ef2dfe7 Fixed #710. Added new tests to get rewrite to pass 2013-07-16 19:44:29 +01:00
Remy Sharp
d75504549a 3.4.6 v3.4.6 2013-07-16 15:36:27 +01:00
Remy Sharp
2fca1a3fc6 helper url for issues 2013-07-16 15:36:19 +01:00
Remy Sharp
6e2e2e44da Merge pull request #709 from remy/fix/640-css-replacement
Fixed #640 and render %css% tag.
2013-07-16 07:35:07 -07:00
Remy Sharp
ceaf33c0c9 Fixed #640 and render %css% tag. Also removed scriptOffset as not used anymore 2013-07-16 15:34:10 +01:00
Remy Sharp
9677fd77cf Move analytics to head. Closes #667. 2013-07-15 20:07:48 +01:00
Remy Sharp
ee0929f9a9 reserve bug urls 2013-07-15 20:02:48 +01:00
Remy Sharp
cc6160271d Merge branch 'master' of github.com:remy/jsbin 2013-07-15 20:02:30 +01:00
Tom Ashworth
cfbe0332ba Reset the loop counters before every render. 2013-07-15 15:58:50 +01:00
Remy Sharp
276f0adcbb 3.4.5 v3.4.5 2013-07-15 15:51:06 +01:00
Remy Sharp
47c0167c1e Merge branch 'master' of github.com:remy/jsbin 2013-07-15 15:51:00 +01:00
Remy Sharp
a69ec4cb9f jshint tidy 2013-07-15 15:50:51 +01:00
Remy Sharp
e52af727f1 Merge pull request #708 from remy/fix/loop-protection-702
Fix loop protection
2013-07-15 07:50:05 -07:00
Tom Ashworth
b35d186cda Use 100ms timeout on infinite loop protection, and don't mess with HTML or CSS. 2013-07-15 15:40:43 +01:00
Tom Ashworth
cac74a4861 Merge branch 'master' into fix/loop-protection-702 2013-07-15 15:24:02 +01:00
Tom Ashworth
42dc3a388b Make render.js its own module. 2013-07-15 15:19:58 +01:00
Remy Sharp
87ebd146b6 Merge pull request #706 from remy/fix/console-falsey-values-698
Fix console not logging falsey values in array.
2013-07-15 07:16:19 -07:00
Remy Sharp
9d409475d2 Merge pull request #705 from remy/fix/runner-window-undefined-679
Fix attaching runnerWindow in firefox.
2013-07-15 06:53:28 -07:00
Remy Sharp
d1edef8c82 Made 2 minute guide even more obvious... 2013-07-15 14:25:10 +01:00
Tom Ashworth
cd0049e984 Fix console not logging falsey values in array. 2013-07-15 12:55:48 +01:00
Tom Ashworth
dcc1776089 Fix spelling. 2013-07-15 12:49:55 +01:00
Tom Ashworth
349bff066a Fix attaching runnerWindow in firefox. 2013-07-15 12:42:08 +01:00
Remy Sharp
97b9059f75 3.4.4 v3.4.4 2013-07-14 12:05:15 +01:00
Remy Sharp
cad1f7c5b8 break runner up in to modules so they can be tested, and fixed loop detect to reset on beginning of loop 2013-07-14 12:00:32 +01:00
Remy Sharp
04018fae13 3.4.3 v3.4.3 2013-07-14 10:44:08 +01:00
Remy Sharp
7cfcaf4ac8 Merge pull request #696 from waltervascarvalho/master
Updating Libraries: Ember.js + Handlebars.js
2013-07-14 01:56:21 -07:00
Remy Sharp
574661894f Merge pull request #699 from remy/fix/infinite-loops
Fix infinite loops
2013-07-14 01:56:07 -07:00
Remy Sharp
a34680e3dd removed loop test file - need to move to dep 2013-07-14 09:55:55 +01:00
Remy Sharp
33bade3d2f Remove all but active iframe on runner. Fixes #687
The old code was expecting a single irame to exist. Because it was only listening to the window.onload, we could render many times but only a single load event would fire. So code changed to search for all iframes, and remove all from the DOM except for 'sandbox.active'.
2013-07-13 23:46:45 +01:00
Remy Sharp
b4e3db625e Prevent infinite loops in jsbin editor.
This is done by rewriting loop code with a test to see how many times the test has been called.

In general, JS is going to run pretty quick, so an infinite loop can rack up 100,000 iterations pretty quickly. If we hit that limit, we break out of the loop and console.error (note: I'd like to echo this back to the user in the UI somehow - probably the linter notice).

This way the code continues, it's a little slow, but it *doesn't* crash the browser.
2013-07-13 23:44:32 +01:00
Walter Carvalho
69b0040655 Updated Libraries
* Ember.js
*	Now auto-loading v1.0.0-rc.3 of handlebars.js by default, as it is a dependency.
*		http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js
* 	Now loading v1.0.0-rc.6 of ember.min.js
*		http://cdnjs.cloudflare.com/ajax/libs/ember.js/1.0.0-rc.6/ember.min.js
* Handlebars.js
*	Now loading v1.0.0-rc.3
*		http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js
2013-07-11 23:37:04 +01:00
Remy Sharp
c39e92ca2b Adding more stuff to roadmap that's been sitting in my head 2013-07-05 22:41:00 +01:00
Remy Sharp
4f2c953e5d mysql was not returning the bin number - just true or false 2013-07-04 18:51:53 +01:00
Remy Sharp
636d4fffa2 Merge branch 'master' of github.com:remy/jsbin 2013-07-04 18:39:32 +01:00
Remy Sharp
605a1910a8 Fixed server exploding - too few parameters given
MySQL was expecting the github data, but not being pass it - and it was causing the node process to crash and restart - mayhem.
2013-07-04 18:37:52 +01:00
Remy Sharp
852f687901 Merge pull request #678 from remy/fix/github-login
Add better errors for user to github login.
2013-07-04 07:22:32 -07:00