Martin Carlberg and GitHub
47ab94b5bc
Fixed: If sourcemap is available include it when building with a nondebug version of the tools. ( #2850 )
...
The sourcemap was not included when building from command line with the release (the default) version of the tools.
2019-06-13 16:15:48 +02:00
Martin Carlberg and GitHub
378f87a634
Fixed: Temporary fix so finding the compiler can work both in the Narwhal and Node world ( #2793 )
2019-06-13 16:06:15 +02:00
Martin Carlberg
94a5995197
New: We now support source maps when compiling both from command line and in browsers.
...
To add source maps add the ”-S” flag to the Jake file when compiling from command line. In the browser you need to add the compiler option into your index.html file. It should look something like this:
OBJJ_COMPILER_FLAGS = [... , "SourceMap"];
All browsers has support for source maps but currently Chrome works best.
2017-09-11 12:49:59 +02:00
Martin Carlberg
dd1dfdcfeb
Fixed: Added a comment on tricky code line
2017-06-26 16:25:44 +02:00
Martin Carlberg
195b109a36
New: Added ’#include’ to the preprocessor, compiler and Cappuccino load system. Also a lot of bug fixes in the preprocessor
2017-06-26 16:19:56 +02:00
Martin Carlberg
a8ec5cf5e9
New: Support to create source maps for the frameworks and applications
2017-06-26 16:03:20 +02:00
Martin Carlberg
024c0a3186
Fixed: Handle source maps if source-map.js is included from the index.html file.
...
To create source maps the compiler flag ”SourceMap” has to be added in the OBJJ_COMPILER_FLAGS array in the index.html file.
2017-06-22 11:05:16 +02:00
Frank Rehwinkel
a0f6b815e8
Removed an unused variable: cachedSearchResults.
...
It is polluting the global namespace.
Seven years ago this line was added and even then the variable wasn't
being used but it was a local variable so would have been hard to spot
unless a linter should catch things like that.
Then some four years ago it was accidently converted to a global
variable because the line above it ended in a semicolon rather than
a comma. 'use strict' didn't exist at the time this file was created
and hasn't been added in general yet.
2017-05-04 16:03:11 -04:00
Martin Carlberg
530db4e904
Fixed: Merged in the same parser and compiler that is used in the objj-runtime that is running on node.
...
The life will be easier to have the same in both environments.
Warnings and errors now don’t use read only properties for line and column information. So the test cases in Toolstest.j now work in modern JS engines.
It is also easier to set options for the compiler.
2016-04-07 10:32:46 +02:00
Martin Carlberg
e38d6c9f9e
Fixed: //@ sourceURL=... is deprecated since many years ago.
...
We have not changed it for support of older browsers.
Chrome version 51 and above writes a warning about it
in the console so it is time now.
2016-03-07 13:44:29 +01:00
Martin Carlberg
201c7637f6
Fixed new compiler to output better formatted error messages
2013-01-22 15:38:02 +01:00
Alexander Ljungberg
e7f0400580
Formatting.
2013-01-20 18:24:48 +00:00
Martin Carlberg
8100cdb17f
Fixed "Can't find variable: ObjJCompiler" error
2013-01-07 23:13:54 +01:00
Martin Carlberg
9cb14d6db3
Added new faster compiler based on acorn parser
2013-01-07 09:59:10 +01:00
Martin Carlberg
619f90c677
Removed debug stuff
2012-12-20 15:20:12 +01:00
Martin Carlberg
0f3d5f4b10
Added support to choose which compiler should be used when compiling in the browser. Default is old compiler but add "ObjJCompilerSetUsedVersion("objj_compiler2");" in the index.html (and/or index-debug.html) to use new compiler in browser.
2012-12-20 14:26:49 +01:00
Martin Carlberg
26be5bf264
Better error message when importing file that is not found
2012-12-20 14:23:54 +01:00
Martin Carlberg
897adf27f0
Fixed import statements in nib2cib, bug in load system and some more fixes to test cases
2012-12-17 14:57:18 +01:00
Martin Carlberg
c297e926f9
Compiler now works with jake and can compiler the whole Cappuccino framework. A lot of test cases still fail
2012-12-16 17:38:47 +01:00
Martin Carlberg
59fa5c27b6
Added support for new compiler when loading objj files in the browsers
2012-12-15 23:35:36 +01:00
Alexander Ljungberg
357212bff7
Missing semicolons.
2011-11-10 11:34:26 +00:00
Tom Robinson
9c342ca19c
Fix objj_eval (used in objj REPL, etc).
2010-03-16 22:38:30 -07:00
Francisco Ryan Tolmasky I
3ae4b1cf19
Fix for classes declared in subfolders reporting wrong bundle (fictional).
...
Reviewed by me.
2010-03-08 18:22:53 -08:00
Francisco Ryan Tolmasky I
33b4b94426
Fix for loading bundles generating multiple did load callbacks.
...
Reviewed by me.
2010-03-08 01:03:52 -08:00
Francisco Ryan Tolmasky I
a377e15368
Added display names to Executables and FileExecutables.
...
Reviewed by me.
2010-03-07 15:51:49 -08:00
Francisco Ryan Tolmasky I
0881d86998
A number of performance improvements in the loader.
...
Reviewed by me.
2010-03-07 03:58:21 -08:00
Francisco Ryan Tolmasky I
981c184c20
A few performance improvements in Objective-J loading.
...
Reviewed by me.
2010-03-06 16:01:03 -08:00
Francisco Ryan Tolmasky I
5afe6fea3c
Better support for exotic main file locations.
...
Reviewed by me.
2010-03-05 21:54:22 -08:00
Francisco Ryan Tolmasky I
b2ffe7e509
Further cleaning and bringing CPURL up to speed with CFURL.
...
Reviewed by me.
2010-03-05 21:11:53 -08:00
Francisco Ryan Tolmasky I
4bd6aca0c0
Cache URLs for performance improvement.
...
Reviewed by me.
2010-03-03 02:36:40 -08:00
Francisco Ryan Tolmasky I
eb57d14673
Further migration from file paths to CFURLs.
...
Reviewed by me.
2010-03-03 01:04:25 -08:00
Francisco Ryan Tolmasky I
1ba828da18
Beginning transition from string paths to CFURLs.
...
Reviewed by me.
2010-02-23 15:11:10 -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
b078169adf
Fix for slight name change.
...
Reviewed by me.
2010-02-18 14:05:33 -08:00
Francisco Ryan Tolmasky I
38c4dd408c
Fix for CPBundle loading all code. Fixes external frameworks with nib2cib.
...
Reviewed by me.
2010-02-18 13:55:30 -08:00
Francisco Ryan Tolmasky I
8d63c059c5
Fixed scope issues when running Cappuccino under CommonJS.
...
Reviewed by me.
2010-02-13 16:57:09 -08:00
Tom Robinson
04529897dc
Add setCode to Executable; use toMarkedString() in compiler; more robust function wrapper stripping in compressor
2010-02-09 14:55:50 -08:00
Tom Robinson
7837e1ad81
Fixed Executable's toMarkedString()
2010-02-09 14:49:54 -08:00
Francisco Ryan Tolmasky I
c7c60b2b94
Added toMarkedString to Executable.
...
Reviewed by me.
2010-02-09 13:57:47 -08:00
Tom Robinson
8bc1c7445d
export fileExecuterForPath (and use exports.fileExecuterForPath internally so it can be overridden for press, etc)
2010-02-03 23:50:16 -08:00
Francisco Ryan Tolmasky I
cd98bce331
Turned off logging by default, removed unecessary logs, and fixed bug where turning of logs broke the build.
...
Reviewed by me.
2010-01-31 23:59:58 -08:00
Francisco Ryan Tolmasky I
e64a9a7ab9
Fix for objj command line tool not working.
...
Reviewed by me.
2010-01-31 18:36:36 -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
d735cd98e7
Fix for FireFox not working.
...
Reviewed by me.
2010-01-30 00:35:59 -08:00
Francisco Ryan Tolmasky I
4b7310d0cb
More consistent naming scheme.
...
Reviewed by me.
2010-01-29 15:16:22 -08:00
Francisco Ryan Tolmasky I
59660032e1
nib2cib fixes.
...
Reviewed by me.
2010-01-29 13:22:44 -08:00
Francisco Ryan Tolmasky I
794d8a754c
Make blendtask work with new system.
...
Reviewed by me.
2010-01-28 16:24:18 -08:00
Francisco Ryan Tolmasky I
06261559fc
Improvements for CommonJS.
...
Reviewed by me.
2010-01-28 14:19:23 -08:00
Francisco Ryan Tolmasky I
fcfeb29be5
Changed #define from RHINO to COMMONJS. Re-enabled recently added document-load-waiting.
...
Reviewed by me.
2010-01-27 03:58:49 -08:00
Francisco Ryan Tolmasky I
96eebc7d1d
Fix for accidentally removing Executable.fileDependencies.
...
Reviewed by me.
2010-01-27 03:16:46 -08:00