daboe01
b6461ba4fb
fixed: tests
2025-06-29 20:28:43 +02:00
daboe01
25708554fd
fixed: typo
2025-06-29 20:22:38 +02:00
daboe01
74f204e6fa
fixed: tests and implementation
2025-06-29 20:20:58 +02:00
daboe01
263ec36d80
fixed: test
2025-06-29 19:42:12 +02:00
daboe01
bb6b738fc7
fixed: CPTimeZone initWithName: does not return the timeZone with the good daylight saving
2025-06-29 19:34:56 +02:00
daboe01 and GitHub
85f7125f22
New: for..of iteration for CPSet ( #3114 )
2025-06-18 10:22:41 +02:00
Martin Carlberg and GitHub
86d595b086
Fixed: Make the isa property on classes not enumerable. ( #3100 )
...
As we have a tool-free bridges between many classes and JavaScript types by setting the isa property on the type, for example CPArray and Array. Using the for...in enumeration the isa property will be included in the loop if the property is enumerable (this is the default behavior). This commit set the property as not enumerable.
Also added test case for check that the isa property on classes are not enumerable using a for...in loop.
2025-05-14 10:09:01 +02:00
daboe01 and GitHub
2f563fb870
New: give nil values the chance to be transformed to true via CPNegateBoolean ( #3103 )
2025-04-28 15:40:57 +02:00
daboe01 and GitHub
c58c5554f9
Merge pull request #2018 from vidinoti/patch-1
...
Changing a CALayer in a menu callback doesn't trigger re-draw
2024-12-30 13:57:56 +01:00
Alfred Wärnsäter
9a88f9c324
Added ES2022 as compile option
2022-08-25 15:32:43 +02:00
Alfred Wärnsäter
747ea627c9
Removed debugger statement
2022-08-25 15:30:02 +02:00
Martin Carlberg
edfba15d6f
Merge branch 'master' into node
2022-03-21 15:55:08 +01:00
daboe01 and GitHub
1282f1ac0e
Removed: Flash support ( #2903 )
2022-03-21 15:46:54 +01:00
Didier Korthoudt and GitHub
3d514b5010
Fixed: Aristo3 - Various _CPImageAndTextView bugs ( #2914 )
2022-03-21 14:28:21 +01:00
daboe01 and GitHub
f21555bb6c
Fixed: Width of text sizing was slightly off in chrome due to a Chrome bug ( #2975 )
...
This is a real bug in chrome. see https://bugs.chromium.org/p/chromium/issues/detail?id=1192834
Also fixed: ellipsis clipping in segmented controls
and
fixed: tooltip wrapping issues from fractional pixels
2022-03-21 14:08:45 +01:00
David Richardson and GitHub
9e8d51c94d
New: Add additional manual test for scaleUnitSquareToSize ( #2979 )
...
Currently failing to match behaviour of Objective-C equivalent.
2022-03-21 13:37:24 +01:00
daboe01 and GitHub
22dc587a8f
Fixed: caret was blinking in non-editable text in CPTextView ( #3022 )
2022-03-21 13:00:40 +01:00
Martin Carlberg
9e6f1e0dc3
Fixed: Timezone abbreviation was not working with the latest changes on all setups.
...
This is still not 100% but looks like it works a little bit better
2021-09-21 15:38:51 +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
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
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
2a0a6449e5
Fixed: Converting the test cases in ToolTest.j to Node
2021-09-15 17:33:21 +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
e608e0dbf3
Fixed: Partly adapted Tooltest for Node
2021-09-10 15:56:12 +02:00
Martin Carlberg
51ffa256ca
Fixed: Preprocessor Output test adapted for Node
2021-09-10 15:55:01 +02:00
Martin Carlberg
a893f3f5c1
Fixed: The tool ojtest now works with the new Node version.
2021-09-03 14:31:11 +02:00
daboe01
677076b89d
fixed: some cib files have been outdated
2021-04-01 18:04:06 +02:00
cacaodev
77c9b99f74
Manual test exposing issue #2970
2021-03-07 20:46:44 +01:00
Martin Carlberg
01e295084c
New: Unit test to illustrate multiple value bindings on radio buttons
2020-12-14 13:11:24 +01:00
Didier Korthoudt and GitHub
ef779c346e
New: Support modern Cocoa behavior regarding radio buttons groups. ( #2941 )
2020-10-09 09:35:56 +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
6c7d8df565
Aristo3: CPButton ( #2920 )
2020-10-02 12:59:32 +02:00
daboe01
9c95c9c6e9
formatting
2020-07-13 20:37:52 +02:00
daboe01
4b052e74f1
test whether range restriction works
2020-07-05 16:06:04 +02:00
daboe01
bd6b8e4b7f
fixed: comparison between wrong objects
2020-07-03 21:27:48 +02:00
daboe01
26e8432bb0
debugging
2020-07-03 19:55:51 +02:00
daboe01
05f9fd22fe
formatting
2020-07-03 19:36:06 +02:00
daboe01
8f5bde2797
new: unittest for replaceOccurrencesOfString:withString:options:range:
2020-07-02 19:38:34 +02:00
daboe01 and GitHub
77fe16faec
Fixed: background color attribute was ignored by CPTextView ( #2899 )
2020-07-01 16:33:07 +02: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