1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00
Commit graph

44 commits

Author SHA1 Message Date
jules
9fa0d49be7 Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc. 2016-09-16 12:03:02 +01:00
hogliux
1f2eaeb47f Added support for accessing the properties of a javascript object via the subscript operator 2016-09-08 10:49:31 +01:00
jules
300485a147 Added a Javascript array indexOf method 2016-07-03 10:43:27 +01:00
jules
37cffb74ce Added a Javascript array splice method 2016-06-23 12:25:05 +01:00
jules
0d96a8b47f Avoided some false negatives in the JSON unit tests 2016-05-09 10:26:14 +01:00
jules
a0835a5ea9 Added a parseFloat method to the Javascript parser 2016-05-03 17:24:04 +01:00
jules
d9e3cdac16 Removed a few references to var::null 2016-04-28 10:10:00 +01:00
jules
6fc4d5aac6 Fixed a bug in the Javascript parser involving array dereferencing 2016-04-18 10:58:32 +01:00
jules
396d73a989 Fix for precedence of Javascript typeof operator 2016-03-10 10:54:35 +00:00
jules
190a985003 Added typeof operator to javascript parser 2016-02-25 12:39:59 +00:00
jules
90ff2369e2 Fixed a javascript return-else-statement parsing problem 2016-02-25 11:26:30 +00:00
jules
a48d70010f Added support for javascript Array.push method 2016-01-18 15:59:23 +00:00
jules
4583fa3fbf Used the ignoreUnused() function to tidy up some old code 2015-12-23 16:27:50 +00:00
jules
99de06cf2c Javascript parser: Fixed the fact that Math.PI and E were methods instead of properties 2015-12-01 15:11:22 +00:00
jules
88ca15e6f2 Added override specifiers to unit test classes 2015-08-10 16:21:16 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
a49cc0fca5 Added methods degreesToRadians and radiansToDegrees 2015-07-07 15:22:00 +01:00
jules
d8bc6c52c7 A couple more optimisations of Identifier object passing. 2015-06-21 19:09:05 +01:00
jules
efb40313b4 Avoided a false alarm unit test failure. 2015-05-20 10:00:19 +01:00
jules
06f279856c Added support to the Javascript parser for invoking custom methods via DynamicObject::invokeMethod 2015-04-27 11:14:05 +01:00
jules
710aec4503 Fixed a couple of broken unit tests 2015-03-23 13:01:43 +00:00
jules
827e02862c Tweaks to avoid an obscure compiler warning. 2015-02-05 15:10:27 +00:00
jules
efd45ca032 Added access to the root object's properties in JavascriptEngine 2014-10-09 09:39:43 +01:00
jules
df1483fb49 Minor refactoring in JS parser. 2014-09-29 09:45:25 +01:00
jules
671f5fbbdc Added a fix to make sure that javascript division always uses floating point. 2014-08-28 21:43:53 +01:00
jules
e12823a10f Added Math.ceil and Math.floor to the javascript parser. 2014-08-19 15:35:36 +01:00
jules
a5fc9b34ec Fixed javascript parser to handle for statements without iterator terms. 2014-08-19 09:39:06 +01:00
jules
705492a800 Avoided division-by-zero problems in the javascript interpreter. 2014-07-24 09:31:46 +01:00
jules
2f1ef234ce Tightened up a few places where numeric conversion warnings could happen. 2014-07-10 18:57:24 +01:00
jules
4317f60173 Refactored the StringPool and Identifier classes to store the identifiers as Strings, so that they can be shared with other classes like XmlElement without creating temporary or copied String objects. Also added garbage collection for the pooled strings, and changed XmlElement to pool all of the strings it uses, to reduce memory footprint in large XML trees with many identical names. Also refactored NamedValueSet to use an array instead of a linked list. 2014-05-27 17:02:34 +01:00
jules
d909b5aa2a Added some base class initialisers to keep gcc 4.8.2 happy 2014-04-27 14:04:32 +01:00
jules
0530b6b01a Added a JSON::fromString method. 2014-01-20 10:06:13 +00:00
jules
585164f4ad javascript 'continue' fix. 2013-12-05 14:23:01 +00:00
jules
28cdb20040 Whitespace cleanups. 2013-12-03 11:33:45 +00:00
jules
a316bd5f6f Removed a few more places where static objects could cause problems for people who do unwise amounts of work in their static constructors. 2013-12-02 09:44:17 +00:00
jules
a4e611222d Various build housekeeping. 2013-11-12 10:28:29 +00:00
jules
d4a50a8de1 A couple of javascript fixes. 2013-11-02 14:05:59 +00:00
jules
4f5fd4daa7 Fix for javascript invocation of object methods. 2013-11-01 22:09:26 +00:00
jules
62b6f4691d Fix to javascript operator precedence. 2013-10-28 18:30:08 +00:00
jules
98ef0eb4a5 Fix for utf-32 builds. 2013-10-25 13:10:27 +01:00
jules
61d1e1b7ba Avoiding a few MSVC warnings 2013-10-22 19:29:04 +01:00
jules
fb4912ac1f Added a method JavascriptEngine::callFunction(), and tweaked the way timeouts are specified. 2013-10-17 16:34:09 +01:00
jules
a074bfeea2 Workarounds for javascript code in non-C++11 compilers. 2013-10-17 14:32:00 +01:00
jules
6c5c461d73 New class: JavascriptEngine! 2013-10-16 12:49:12 +01:00