daboe01
c2d07b7b06
Merge pull request #3120 from daboe01/nil-in-cpviewcontroller-fix
...
fixed: subview's window setting did not happen BEFORE _setSuperview
2025-07-17 19:27:36 +02:00
daboe01
e9dddaad20
new: manual test
2025-07-06 10:58:19 +02:00
daboe01
e9022d045c
Merge pull request #3123 from daboe01/new-viewcontroller-responder-chain-issue
...
fixed: CPViewController doesn't participate fully in responder chain
2025-07-05 16:41:23 +02:00
daboe01
c70ea739ec
fixed: unittest was overambitious
2025-07-05 16:39:10 +02:00
daboe01
85da0164ba
fixed: designated initialiser was not used
2025-07-05 16:32:22 +02:00
daboe01
2add37983d
new: unittest for responderchain
2025-07-05 15:56:44 +02:00
daboe01
c41307dc37
Merge branch 'main' into fixed-CPTimeZone-initWithName-does-not-return-the-timeZone-with-the-good-daylight-saving-
2025-07-05 12:58:01 +02:00
daboe01
0e8ee2f7d5
Merge pull request #3130 from daboe01/fixed-NSDateFormatter-unable-to-parse-dates-in-Javascript-Date.toISOString-format
...
fixed: NSDateFormatter was unable to parse dates in Javascript Date.toISOString format
2025-07-01 16:21:30 +02:00
daboe01
4b22d67f42
Merge pull request #3117 from daboe01/null-marker-versus-nil-issue
...
fixed: CPObjectController returns 'null marker' instead of nil
2025-07-01 16:19:58 +02:00
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
fb1c2732ac
fixed test
2025-06-29 18:00:19 +02:00
daboe01
1fb42fc119
fixed: NSDateFormatter was unable to parse dates in Javascript Date.toISOString format
2025-06-29 17:51:08 +02:00
daboe01
bae78b5055
formatting
2025-06-22 21:52:57 +02:00
daboe01
c0705448cd
new: testcase
2025-06-22 21:47:26 +02:00
daboe01
feb8ea0316
new: test case for the new timezone abbreviation logic
2025-06-22 19:33:13 +02:00
daboe01
3a9db70426
fixed: CPObjectController returns 'null marker' instead of nil
2025-06-22 11:04:46 +02:00
daboe01
85f7125f22
New: for..of iteration for CPSet ( #3114 )
2025-06-18 10:22:41 +02:00
Martin Carlberg
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
2f563fb870
New: give nil values the chance to be transformed to true via CPNegateBoolean ( #3103 )
2025-04-28 15:40:57 +02:00
daboe01
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
1282f1ac0e
Removed: Flash support ( #2903 )
2022-03-21 15:46:54 +01:00
Didier Korthoudt
3d514b5010
Fixed: Aristo3 - Various _CPImageAndTextView bugs ( #2914 )
2022-03-21 14:28:21 +01:00
daboe01
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
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
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