David Richardson
24052e6369
Improve inline documentation, code formatting
2024-07-03 13:05:07 -06:00
David Richardson
a5094e0acc
Update nib2cib's Converter.j to handle xib files with deployment targets of Xcode 11 or later
2024-07-02 16:39:17 -06:00
Martin Carlberg
edfba15d6f
Merge branch 'master' into node
2022-03-21 15:55:08 +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
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
Martin Carlberg
472b59ef80
Fixed: Allow space in path to .xib/.cib file
2022-01-04 14:51:43 +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
9c2f37b43f
Fixed: The Tool nib2cib will give information of used Resource directory.
2021-09-02 12:44:48 +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
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
2ecea40fdc
lots of Node fixes
2021-08-19 10:56:13 +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
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
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
Martin Carlberg
f74fed5ee0
Fixed: CPTextView now handles more options from Interface Builder
...
The new options are:
1. Resizable Horizontally
2. Resizable Vertically
3. Max Size
Also two options from the Text Container is recognized:
1. Tracks text view width
2. Tracks text view height
The last two are needed to allow the text view to recalculate
the size of its content if the frame size is changed.
2020-12-16 11:29:11 +01:00
Didier Korthoudt and GitHub
3aba03eb28
Fixed: Missing call to super in NSTabView.j ( #2956 )
2020-11-22 11:01:14 +01:00
Didier Korthoudt and GitHub
1107195ab6
Fixed: Modern Cocoa behavior, new theme parameters, Aristo3 CSS theme ready for CPTabView ( #2936 )
2020-11-20 08:33:56 +01:00
Didier Korthoudt and GitHub
35420732d1
Fixed: Modern Cocoa behavior and Aristo3 CSS theme ready for CPDatePicker ( #2935 )
...
Also, clock hands can be manipulated
2020-11-06 16:27:07 +01:00
Didier Korthoudt and GitHub
5110c5706f
Fixed: Compilation warnings ( #2950 )
2020-11-06 07:25:21 +01:00
Didier Korthoudt and GitHub
633511acda
Fixed: Before this PR, placing a CPTableView in a CPBox would break nib2cib ( #2949 )
2020-10-31 17:56:13 +01:00
Didier Korthoudt and GitHub
5c4107835b
New: Aristo3 improvements for CPSearchField ( #2934 )
...
New theme parameters
Animations
Modern Cocoa behavior
Aristo3 CSS theme ready
2020-10-23 09:05:33 +02:00
Didier Korthoudt and GitHub
5f6df95e30
New: Modern Cocoa behavior and methods, ticked sliders and Aristo3 CSS theme ready ( #2926 )
2020-10-09 11:47:18 +02:00
Didier Korthoudt and GitHub
9145e27009
Fixed: Aristo3 CSS theme ready and replaces setTextFieldBackgroundColor by setBackgroundColor for CPTextField ( #2925 )
2020-10-02 14:47:50 +02:00
Didier Korthoudt and GitHub
7bde091f1b
FIXED: when using a custom view with subviews, subviews were presented in the reversed order ( #2913 )
2020-10-02 13:31:45 +02:00
Didier Korthoudt and GitHub
412baf7872
Fixed: Aristo3 ready and modern Cocoa behavior for CPBox ( #2924 )
2020-10-02 13:28:06 +02:00
Didier Korthoudt and GitHub
6c7d8df565
Aristo3: CPButton ( #2920 )
2020-10-02 12:59:32 +02:00
Didier Korthoudt and GitHub
e13cebaa3a
NEW: Material icon image ( #2909 )
2020-10-02 12:13:00 +02:00
Didier Korthoudt and GitHub
89b70843c7
Fixed: Nib2cib was using hard coded frame adjustment for CPBox ( #2761 )
2020-04-06 09:17:05 +02:00
Didier Korthoudt and GitHub
a4ef18ddab
FIXED: Before this PR, only CPControl could use nib2cib-adjustment-frame. ( #2831 )
2020-03-11 10:17:14 +01:00
Didier Korthoudt and GitHub
ba6350e24d
NEW: CPSplitView modern Cocoa behavior implementation ( #2876 )
2020-02-21 14:32:53 +01:00
Martin Carlberg and GitHub
1c866931f3
New: The compiler will now create warnings for variables that are never read ( #2871 )
...
This new warning adds a lot of warnings in the Cappuccino frameworks. I have turned off
the warning in the Jakefiles when compiling most of the Cappuccino frameworks. But it is
on as default for any user projects.
So there is also a new feature to turn off/on warnings as a compiler flag.
These flags are (all flags are on as default):
-Wunused-but-set-variable Warning when a local variable is never read.
-Wshadow-ivar Warning when a local variable is shadowing an instance variable for the class.
-Wcreate-global-inside-function-or-method Warning when creating a global variable inside a function or method.
-Wunknown-class-or-global Warning when a class or global variable is not known.
-Wunknown-ivar-type Warning when the type for an instance variable is not known.
To turn off a flag add a 'no-' prefix. Example: -Wno-unused-but-set-variable
For an example how to use it in a Jakefile please look at the Jakefiles in this commit.
2020-02-21 14:29:48 +01:00