Martin Carlberg
edfba15d6f
Merge branch 'master' into node
2022-03-21 15:55:08 +01:00
Kris and GitHub
ee2fb61fdd
Fixed: Changed Cappuccino.doxygen EXCLUDE_PATTERNS to exclude nothing. ( #2680 )
...
Classes such as CPArray are no longer shown in the generated documentation
This should fix #1956
2022-03-21 15:42:46 +01:00
Martin Carlberg and GitHub
3cf3b76446
Fixed: Correct init of CPTextView when running nib2cib ( #3014 )
2022-03-21 15:24:34 +01:00
Didier Korthoudt and GitHub
93fc8d29cc
Fixed: Before this PR, imagesize would provide image size in points (that is, taking care of the image resolution) instead of pixels ( #2965 )
2022-03-21 14:12:51 +01:00
Didier Korthoudt and GitHub
145bf65542
Fixed: Before this PR, outlet connection decoding was done before views are ready ( #2959 )
2022-03-21 14:10:53 +01:00
Martin Carlberg and GitHub
be072a283f
Fixed: Basic support for on/off/mixed state images for menuitems from the Interface Builder ( #2991 )
2022-03-21 13:38:39 +01:00
Michael Bach and GitHub
7c1fdbc720
Fixed: Modernise "document.write" in «index.html» to "innerHTML" ( #2998 )
2022-03-21 13:26:11 +01:00
Martin Carlberg
044b0bb0d2
Fixed: NibApplication template for 'capp' to use correct build dir
2022-01-04 14:51:43 +01:00
Martin Carlberg
472b59ef80
Fixed: Allow space in path to .xib/.cib file
2022-01-04 14:51:43 +01:00
Martin Carlberg
d72a52b9ce
Merge branch 'master' into node
2021-12-03 12:36:27 +01:00
David Richardson and GitHub
3179d56879
Fixed: Include commented code to hide mainMenu ( #3008 )
...
Add commented-out code to capp gen NibApplication template.
The technique itself is easy to forget and not obvious to newcomers.
It is included in the standard capp gen application template
and added here for completeness.
2021-11-23 13:41:30 +01:00
Martin Carlberg and GitHub
7c36fa3f56
Fixed: "capp gen" template for NApplication uses environment variable CAPP_BUILD
2021-11-09 10:14:37 +01:00
Martin Carlberg and GitHub
642e254522
Fixed: Use upper case ENV variable
2021-11-09 10:07:35 +01:00
Martin Carlberg
d9791673df
Fixed: Make sure we can build on Linux. Tested on Ubuntu 20.04
2021-11-07 13:41:01 +00:00
David Richardson and GitHub
a49a20e2c2
Fixed: nib2cib under Xcode 13 ( #3006 )
...
Backwards-compatible changes to accommodate different ibtool output from Xcode 13 onwards
2021-10-19 08:31:54 +02:00
Martin Carlberg
c9e8b2970b
Fixed: Moved out nib2cib functions to correct scope so they can be accessed by catch
2021-10-04 12:51:12 +02:00
Martin Carlberg
3d8ecfad47
Fixed: Use unique temp directory for each run with nib2cib
2021-09-21 16:04:10 +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
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
fdff92e5c8
Fixed: Ask Node for a temporary directory instead of using '/tmp'
2021-09-17 09:38:29 +02:00
Martin Carlberg
b7c04d7d16
Fixed: Converted the tool 'objj2objcskeleton' for Node
2021-09-15 17:32: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
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
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
Alfred Wärnsäter
ddaf575719
fixed --version option in nib2cib
2021-08-20 09:29:34 +02:00
Alfred Wärnsäter
7226019b6a
use npm prefix for install path
2021-08-19 13:30:40 +02:00
Alfred Wärnsäter
2ecea40fdc
lots of Node fixes
2021-08-19 10:56:13 +02:00
Alfred Wärnsäter
4a43e376ed
modified capp to work with node
2021-08-10 12:27:50 +02:00
Alfred Wärnsäter
1924cd1822
removed fs-extra dependancy
2021-08-06 11:02:55 +02:00
Alfred Wärnsäter
730b2dd874
removed glob dependancy
2021-08-06 10:36:04 +02:00
Alfred Wärnsäter
1c2b383838
removed uuid dependancy
2021-08-06 09:43:49 +02:00
Alfred Wärnsäter
dc5b3f48e8
fixed watch functionality in nib2cib
2021-08-05 16:22:36 +02:00
Alfred Wärnsäter
d17671c99e
added parsing of command line arguments
2021-08-04 15:19:10 +02:00
Alfred Wärnsäter
472f859bd8
basic support for nib2cib
2021-08-03 13:39:54 +02:00
Alfred Wärnsäter
e64c9d9cd4
starting to port the capp tool to node
2021-07-30 14:09:11 +02:00
Alfred Wärnsäter
87a1c6621c
ported nib2cib from narwhal to node, it now build using objj-jake
2021-07-29 13:20:30 +02:00
Alfred Wärnsäter
5e9d479cef
AppKit and Themes are now buildable
2021-07-27 08:59:05 +02:00
Alfred Wärnsäter
441e5fbc05
ported nib2cib to node the node api
2021-07-01 16:00:32 +02:00
Alfred Wärnsäter
c238ebeef4
major changes, very much WIP, experimenting with async
2021-06-22 14:04:31 +02:00