Martin Carlberg
6430463b5d
Fixed: Included the latest binaries into the dist folder.
2021-09-21 12:31:45 +02:00
Martin Carlberg
d9e27e549f
Fixed: Removed compiler warnings in test case
2021-09-21 11:11:57 +02:00
Martin Carlberg
9f14dac5d2
Fixed: Cleanup of the output from our test cases
2021-09-21 11:11:25 +02:00
Martin Carlberg
d70199ca58
Fixed: Asynchronous and output changes from the new Terser compressor
2021-09-21 11:09:09 +02:00
Martin Carlberg
6b1cdbd19c
Fixed: Removed compiler warnings from test cases
2021-09-21 10:58:03 +02:00
Martin Carlberg
5b99757a0d
Fixed: The compiler might inline the 'message send' call so we do it manually in these test cases.
2021-09-21 10:56:10 +02:00
Martin Carlberg
6c49116c68
Fixed: Use date string that is not as old as the previous one.
...
JavaScript now handles time a lot better. Times from before around 1900 is different in different
parts of the world so we just changed this test case to be a bit more modern.
2021-09-21 10:55:16 +02:00
Martin Carlberg
68f0cf27df
Fixed: Bundle test cases must run asynchronous as a bundle will also load asynchronous in Node.
...
Also removed some compilation warnings from the test cases.
2021-09-21 10:51:17 +02:00
Martin Carlberg
89757e35e6
Fixed: Class Swapper should convert NSView -> CPView.
...
This is needed when a plain NSView is use without a Custom class name as it will otherwise try to create a NSView.
Also the Class Swapper is only used when the 'Instantiation' is check for 'Prefer code' under
the 'Runtime Behavior' header in the Document tab in Xcode. If this is not checked the '_CPCibCustomView'
is used instead of the Class Swapper.
2021-09-21 10:46:18 +02:00
Martin Carlberg
24bf09b70c
Fixed: Abbreviation for a timezone is not handled in JavaScript. This changes makes it better but not perfect.
2021-09-21 10:30:26 +02:00
Martin Carlberg
0ed2709124
Fixed: Better message when loading a cib file and the class swapper doesn't find a class
2021-09-21 10:26:33 +02:00
Martin Carlberg
a835202db1
Fixed: Adjusted test cases for Node. XMLHttpRequest now demands a protocol.
2021-09-20 11:00:37 +02:00
Martin Carlberg
830fbbab26
Fixed: Removed old Rhino adjustments in test cases
2021-09-20 10:51:14 +02:00
Martin Carlberg
119e11cfe2
Fixed: Allow 'await' for loading a bundle with the method 'loadWithDelegate:'
2021-09-20 09:19:05 +02:00
Martin Carlberg
511e18b44f
Fixed: Wait for the bundle load to finish with the new async bundle load function
2021-09-17 21:55:48 +02:00
Martin Carlberg
2f00d93b22
Fixed: Must check in Node if path exists when doing 'fs.lstatSync' as it will throw if not.
2021-09-17 10:39:11 +02:00
Martin Carlberg
973fa1b978
Fixed: Misspelled function name
2021-09-17 10:37:03 +02:00
Martin Carlberg
79f40d24ae
Fixed: Replace soft link to the directory 'node_modules' when it is already there.
2021-09-17 09:39:37 +02:00
Martin Carlberg
fdff92e5c8
Fixed: Ask Node for a temporary directory instead of using '/tmp'
2021-09-17 09:38:29 +02:00
Martin Carlberg
653dd07162
Fixed: Include the tool 'objj2objcskeleton' in the installed binaries
2021-09-15 17:38:24 +02:00
Martin Carlberg
b7968ca4a7
Fixed: Make sure output from the tool 'ojtest' gets to the terminal.
...
Also suspend stack trace etc. when the tests fails with a try ... catch.
2021-09-15 17:37:04 +02:00
Martin Carlberg
2a0a6449e5
Fixed: Converting the test cases in ToolTest.j to Node
2021-09-15 17:33:21 +02:00
Martin Carlberg
b7c04d7d16
Fixed: Converted the tool 'objj2objcskeleton' for Node
2021-09-15 17:32:31 +02:00
Martin Carlberg
ab4c87e69f
Fixed: Removed warnings and cleanup for test cases when converting to Node
2021-09-15 17:31:20 +02:00
Martin Carlberg
8257632706
Fixed: When creating a method the function name can't start with '0_'
2021-09-15 17:28:07 +02:00
Martin Carlberg
3f8821b43b
Fixed: Adjust arguments for the tool objj
...
This has changed now when running on Node.
2021-09-15 17:26:40 +02:00
Martin Carlberg
f6b8bc0c45
Fixed: Include source files when compiling ojtest
2021-09-15 17:25:36 +02:00
Martin Carlberg
0618fa9bb2
Fixed: Added protocol to data source and delegate for outline view
2021-09-15 17:24:31 +02:00
Martin Carlberg
2e5a483dce
Fixed: Added examples how to add macros in the 'capp gen' templates index[-debug].html files
2021-09-13 09:38:02 +02:00
Martin Carlberg
e608e0dbf3
Fixed: Partly adapted Tooltest for Node
2021-09-10 15:56:12 +02:00
Martin Carlberg
a88e316a94
Fixed: Compile OJTest with source map for easier debugging
2021-09-10 15:55:40 +02:00
Martin Carlberg
51ffa256ca
Fixed: Preprocessor Output test adapted for Node
2021-09-10 15:55:01 +02:00
Martin Carlberg
52bd654850
Fixed: The new script for the ojtest tool must be in the dist/cappuccino/bin directory
2021-09-04 09:15:24 +02:00
Martin Carlberg
0518d479d3
Fixed: Included ojtest as binary in the package.json file
2021-09-03 16:28:23 +02:00
Martin Carlberg
a893f3f5c1
Fixed: The tool ojtest now works with the new Node version.
2021-09-03 14:31:11 +02:00
Martin Carlberg
9c2f37b43f
Fixed: The Tool nib2cib will give information of used Resource directory.
2021-09-02 12:44:48 +02:00
Martin Carlberg
0289ba17f1
Fixed: Add test task for Framework template used by the tool capp gen
...
Plus some minor bugfixes
2021-09-02 11:23:32 +02:00
Martin Carlberg
5db94e1e52
Fixed: Cleanup of the Jakefile template for Application and Framework used by the tool "capp gen"
2021-09-01 16:28:55 +02:00
Martin Carlberg
a4bc08c29e
Fixed: Moved enquote function to utils package.
...
This function was originally in the Narwhal package OS
2021-09-01 16:27:16 +02:00
Martin Carlberg
b638d8e904
Fixed: From around Xcode 12.5.1 ibtool starts to create a folder with two files.
...
We have to check for this and take action. We don't know of this is a temporary thing as Apple has no
information about this change.
2021-08-30 16:29:43 +02:00
Martin Carlberg
251ce7fdad
Fixed: Info.plist file with just whitespaces is not treated as an empty file in Node. Trim it and check length.
2021-08-27 09:08:19 +02:00
Martin Carlberg
a2337a2969
Fixed: Can't use generic array of numbers when writing to file with Node
2021-08-27 09:04:51 +02:00
Martin Carlberg
0c803e26ca
Fixed: Must expand path to absolute to be able to get application name. Was translated to wrong Node function when converting from Narwhal.
2021-08-27 09:03:58 +02:00
Martin Carlberg
ab25fadb1e
Fixed: Function for imagesize used wrong and non declared argument
2021-08-27 09:02:26 +02:00
Martin Carlberg
e697f4eca7
Fixed: Better debugging experience
2021-08-27 09:01:19 +02:00
Martin Carlberg
80158a8982
Fixed: Cleanup of fontinfo and imagesize Jakefile
2021-08-27 08:59:45 +02:00
Martin Carlberg
55bcfacf3b
Fixed: Moved common function used in Jakefiles that was declared all over the place to a file.js in @objj/utils. Also some general cleanup.
2021-08-25 09:32:58 +02:00
Martin Carlberg
52b7a82b4d
Fixed: Cleanup of Jakefiles for better Node adaption
2021-08-24 10:58:12 +02:00
Martin Carlberg
471e605871
Fixed: removed debug log message
2021-08-23 11:14:12 +02:00
Alfred Wärnsäter
5c635f17a7
require node 14 as minimum
2021-08-20 14:22:11 +02:00