Martin Carlberg
6456809a72
Fixed: Use semicolon on last line in #included files. The new preprocessor might think that the statement will continue on the next line.
...
Due to Javascript don’t need to have semicolon at end of statement there are times when the parser thinks the line continues on the next line.
For example we have a file.js:
var f = function(x)
{
return x + x;
}
Now in another file we do:
#include file.js
(function(exports) {
a = 42;
})(exports.b)
There will be two different behaviors if the ’file.js’ has a semicolon at the end of the last line. This commit make sure we have the right behavior.
2017-06-26 15:45:02 +02:00
Alexander Ljungberg
8c43f4f628
Fixed: theoretical error while skipping whitespace in XML plists.
...
This fix ensures the PLIST_FIRST_CHILD() code gets to run both statements in the XML parsing while loop.
There's no obvious way to trigger an error due to this bug, but better correct than wrong.
Refs #2051 .
2014-03-06 14:13:22 +00:00
cacaodev
9ef95e1f68
Support for decoding date type in XML 1.0, with test.
2012-03-23 22:28:42 +01:00
Alexander Ljungberg
eada36af26
More minor formatting.
2012-03-12 21:01:27 +00:00
cacaodev
3897f422fe
Use setter
2012-03-09 15:22:19 +01:00
cacaodev
9d785d1a3c
CFPropertyList typo: CFData has _bytes, not bytes. In nib2cib, this typo was preventing from decoding base64 data included in nib files
2012-03-09 14:39:53 +01:00
Alexander Ljungberg
71364c9b1a
Fixed: very large numbers written to 280north1 plist files would be read back as very small numbers.
...
This affected nib2cib and cib files in particular.
2011-05-30 00:51:35 -04:00
Alexander Ljungberg
a34155da61
Whitespace cleanup.
2011-05-30 00:43:07 -04:00
Francisco Ryan Tolmasky I
91d28cbbdd
Fix for FireFox plists breaking with text over 4096 bytes.
...
Closes #842 .
Reviewed by me.
2010-12-11 11:29:49 -08:00
Ross Boucher
421ae6b316
Make CPButton archive its key equivalents, and make nib2cib support the feature.
2010-06-10 10:41:15 -07:00
Tom Robinson
67bcc29baf
NativeHost.
2010-04-25 22:33:31 -07:00
Ross Boucher
c3ac076d13
Remove base64 globals, move to CFData. Update tests.
2010-03-07 17:22:29 -08:00
Francisco Ryan Tolmasky I
272f938f2e
Fix for CPData naming issues, added test cases, and fixed isEqual: for CPDictionary.
...
Reviewed by me.
2010-02-21 23:29:41 -08:00
Francisco Ryan Tolmasky I
20637fc5e0
Added missing licenses and removed a bit of unused code.
...
Reviewed by me.
2010-02-21 13:52:51 -08:00
Francisco Ryan Tolmasky I
3968d35cac
Once again fix for Fix for accounting for non-Cappuccino libraries placing things on
...
Object.prototype and Don't recreate sprited resources every time, and fix a bug where two
bundle tasks in the same jakefile would conflict when creating sprited
resources.
Reviewed by me.
2010-02-20 02:24:54 -08:00
Francisco Ryan Tolmasky I
841ed9ea89
Major cleanup of globals and exports. Removed many accidental globals and no more need for eval in the initialization process. Also fixes Theme Showcase.
...
Reviewed by me.
2010-02-20 01:04:17 -08:00
Francisco Ryan Tolmasky I
7819e174f1
Added setString: to CPData which sits on top of setSerializedPlistObject:.
...
Reviewed by me.
2010-02-19 00:42:23 -08:00
Francisco Ryan Tolmasky I
94d3053232
Added CommonJS extensions to CFPropertyList.
...
Reviewed by me.
2010-02-18 15:28:30 -08:00
Francisco Ryan Tolmasky I
474d4281f1
Actual fix for pasteboard exception for strings.
...
Reviewed by me.
2010-02-13 14:39:44 -08:00
Francisco Ryan Tolmasky I
95ba648dae
Fix for keys being wrong in cplutil conversion, and making sure to use the right radix with parseInt when reading plists.
...
Reviewed by me.
2010-02-09 02:18:52 -08:00
Ross Boucher
e6a0caa164
cplutil wasn't converting.
...
CFPropertyList couldn't output XML correctly.
2010-02-06 17:46:32 -08:00
Francisco Ryan Tolmasky I
21ef259e1f
Fix for being too strict when accepting PLISTs and also fixes a regression with erroring when parsing code with shebangs(!).
...
Closes #69 .
Reviewed by me.
2010-02-03 00:31:37 -08:00
Francisco Ryan Tolmasky I
0942f9fac3
Replaced instances of non-compressable words.
...
Reviewed by me.
2010-01-31 13:14:51 -08:00
Francisco Ryan Tolmasky I
ca5dd0071c
Various IE fixes.
...
Reviewed by me.
2010-01-30 18:08:19 -08:00
Francisco Ryan Tolmasky I
0bcf8a6626
Trailing comma fix.
...
Reviewed by me.
2010-01-30 01:14:32 -08:00
Francisco Ryan Tolmasky I
4b7310d0cb
More consistent naming scheme.
...
Reviewed by me.
2010-01-29 15:16:22 -08:00