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
d46b51fa9a
Fixed: In Rhino a function must be declared before it is used even if it is in the same scope.
2017-06-26 17:58:13 +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
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
e45e31d223
Fixed: Introduce ’jake install-inline’ task to generate the cappuccino framework with objj_msgSend function inlined. Also introduced options in ’index-debug.html’ templates to allow inline of objj_msgSend function when compiling in browser.
2015-10-06 13:34:28 +02:00
Aparajita Fishman
fa86c54fff
Fixed: missing semicolon.
2013-08-15 10:21:45 -04:00
Martin Carlberg
5481ce25b2
Fixed: Will compiler or issue correct error message when wrong case is used in filename on @import statements
2013-03-07 17:48:21 +01:00
Martin Carlberg
d49e78c43e
Removal of old compiler
2013-01-07 20:29:56 +01:00
Martin Carlberg
9cb14d6db3
Added new faster compiler based on acorn parser
2013-01-07 09:59:10 +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
803c8ce6b5
A little code clean up.
2012-12-17 17:14:33 +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
Tom Robinson
50e779ef5a
Add CFHTTPRequest and FileExecutable hooks for inlining files and module functions (for flatten). Removed hook used by flatten.
2010-03-13 21:35:15 -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
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
eb57d14673
Further migration from file paths to CFURLs.
...
Reviewed by me.
2010-03-03 01:04:25 -08:00
Francisco Ryan Tolmasky I
fbcc81056b
Merge branch 'master' into URL
...
Conflicts:
Objective-J/FileExecutable.js
2010-02-25 13:59:00 -08:00
Tom Robinson
555b83a359
"flatten" now inlines functions
2010-02-25 00:57:21 -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
7defdd2a00
Fix for some files showing up as anonymous.
...
Reviewed by tlrobinson.
2010-02-22 14:27:30 -08:00
Francisco Ryan Tolmasky I
7d7281480a
Typo in last commit and forgot one change.
...
Reviewed by me.
2010-02-20 02:42:57 -08:00
Francisco Ryan Tolmasky I
666e2c0190
Updated press for changed names.
...
Reviewed by me.
2010-02-20 02:36:14 -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
Ross Boucher
1961829414
Correct a use of global. to be GLOBAL_NAMESPACE. at least until we have a better solution.
2010-02-17 19:31:11 -08:00
Francisco Ryan Tolmasky I
df895b9529
Treat extensionless files as Objective-J.
...
Reviewed by ross.
2010-02-16 19:31:31 -08:00
Francisco Ryan Tolmasky I
fb9cd1ef93
Don't Objective-J preprocess non-.j files.
...
Reviewed by me.
2010-02-16 16:23:03 -08:00
Francisco Ryan Tolmasky I
f12b4520f6
Some renaming.
...
Reviewed by me.
2010-02-14 19:17:50 -08:00
Tom Robinson
0d9d60466d
It's alive! press appears to be working completely (minus removed --flatten feature)
2010-02-10 00:31:00 -08:00
Tom Robinson
b907ea59f4
Export a few more properties from Objective-J for use in "press"
2010-02-08 23:45:59 -08:00
Francisco Ryan Tolmasky I
38fd675f51
Performance improvements and bug fixes.
...
Reviewed by me.
2010-01-27 02:55:56 -08:00
Francisco Ryan Tolmasky I
ec210c49c5
Beginnings of new loader.
...
Reviewed by me.
2010-01-27 00:43:54 -08:00