Martin Carlberg and GitHub
7dc77ed609
Fixed: Make sure we handle undefined when testing for nil values ( #2862 )
2020-01-31 13:43:58 +01:00
cacaodev
14ebd58c96
Move CFRunLoopObserver to CPRunLoop.j as a global function
2017-03-02 10:30:05 +01:00
cacaodev
6fd2d12d3f
Merge remote-tracking branch 'cappuccino/master' into CPAnimationContext
2016-03-12 23:29:46 +01:00
Alexandre Wilhelm
4d1dc0c949
New: added the method performBlock in CPRunLoop
...
Previously, we could only give a selector and a target for perform in the runLoop. Now we can give a block.
This feature is used in the CPTextField class. Previously, when we wanted to call a function at the end of the stack we used window.setTimeout, however due to HTML5 specifications this wasn't called just at the end of the stack but at least 4ms (more information here https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/setTimeout#Minimum_delay_and_timeout_nesting ). Now we give a block to perform, and this block will be performed in the next runloop.
Unittest has been added in Tests/Foundation/CPRunLoopTest.j
2015-10-26 15:36:13 -07:00
cacaodev
e5d883f97e
CAKeyframeAnimation
...
CPAnimatablePropertyContainer protocol (CPView)
CPAnimationContext
_CPObjectAnimator CPViewAnimator
CSS Animations wrapper
CPAnimatablePropertyContainerTest : animations of views with custom Layout / Regular Layout / Custom DrawRect: / No DrawRect: / Subviews / No Subviews and combinations of these situations.
controls animation (text field, button, popup, slider ...). They animate their size via their action.
2013-04-13 16:29:43 +02:00
Alexander Ljungberg
f4b08a9ce2
New: - CPObject performSelector:withObject:afterDelay:.
...
Also - CPObject cancelPreviousPerformWithTarget: and other related methods.
2013-03-05 18:52:06 +00:00
Aparajita Fishman
8d68e805f4
Fix CPWindow -canBecomeKeyWindow and -canBecomeMainWindow to match Cocoa behavior (and misleading documentation)
...
Minor code formatting cleanup as well
2013-01-06 16:21:10 +08:00
Aparajita Fishman
cae5486ec6
Added missing class checks in +initialize, regularized checking code
2012-06-28 12:05:18 -07:00
Stephen Ierodiaconou
b70018bd80
Import fixes and lint
2010-12-26 01:34:37 +02:00
Stephen Ierodiaconou and Ross Boucher
b98f0b1427
Apply style rules to Foundation
2010-05-26 08:53:05 -07:00
Ross Boucher
13a5c7f215
indexOf is not a safe operation on arrays.
2010-05-12 16:51:28 -07:00
Francisco Ryan Tolmasky I
179ef85f4e
Final timer fix.
...
Reviewed by me.
2010-05-04 14:49:31 -07:00
Francisco Ryan Tolmasky I
2c23c0ffa7
Disable new timer stuff for CommonJS.
...
Reviewed by me.
2010-05-04 10:09:16 -07:00
Francisco Ryan Tolmasky I
032fe7cc0c
Fix for timers not working if they are created outside of a run loop.
...
Reviewed by me.
2010-05-04 03:32:16 -07:00
Ross Boucher
7d4c2840eb
All Foundation classes briefed
...
Conflicts:
Foundation/CPSet.j
Foundation/CPTimer.j
Foundation/CPURLConnection.j
2009-05-30 13:46:42 -07:00
Ross Boucher
850125b8ab
Add documentation groups
2009-05-18 15:43:36 -07:00
Francisco Ryan Tolmasky I
d361cffc75
Fixed a typo "_arguments" instead of "_argument".
...
Reviewed by me.
2009-01-04 15:38:36 -08:00
Francisco Ryan Tolmasky I
5ecb83aafa
Fix for menus in IE.
...
Reviewed by me.
2008-12-10 23:41:25 -08:00
Francisco Ryan Tolmasky I
2d9d9f3e93
Fix for timer issue in firefox.
...
Reviewed by me.
2008-12-10 11:24:19 -08:00
Francisco Tolmasky
cf5fa034b9
Fix for textfields no longer working with new timers -- timers firing before one native run loop has occured.
...
[#154 state:resolved]
Reviewed by me.
2008-12-05 20:42:12 -08:00
Nick Takayama and Francisco Ryan Tolmasky I
4c8d7b0f1c
Timers.
...
[#116 state:resolved]
Reviewed by ross and me.
2008-11-18 02:09:35 -08:00
Francisco Ryan Tolmasky I
5144a5a579
Added @accessor support, @import, and fixed spacing bug with @selector.
...
Reviewed by ross.
2008-10-26 00:48:49 -07:00
Ross Boucher
f228934e54
Initial conversion to Doxygen style comments.
2008-10-12 15:57:01 -07:00
Ross Boucher
a40fbd7961
Add the first draft of documentation inline.
2008-09-10 15:11:37 -07:00
Francisco Ryan Tolmasky I
a97bb72800
Initial commit.
...
Reviewed by francisco, ross and tom.
2008-09-04 03:52:20 -07:00