bedalton and GitHub
6eab438778
Fixed: CPKeyedArchiver method call does not match selector tested ( #2904 )
...
Delegate methods described on lines 76 and 85 are not the selectors
checked on lines 305 and line 302, but are the methods actually called
on the delegate on lines 195 and 225. This fix updates the method
selectors checked on the delegate, to match those defined and called
within the CPKeyedArchiver class.
Fixes #2679
2020-10-02 13:52:42 +02:00
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
65dee154f7
Remove ignored argument _
2016-02-06 20:39:49 +01:00
cacaodev
095a978120
Replace loops with arrayByApplyingBlock:
2016-01-17 20:54:43 +01:00
Martin Carlberg
64fb0934a4
Fixed: Do not setObject: forKey: when object or key is nil
2013-02-28 22:59:11 +01:00
Alexander Ljungberg
5b05dc92a1
More dictionary literals.
2013-02-25 18:27:44 +00:00
Alexander Ljungberg
8bcbeb0aa9
Improve code readability with dictionary literals.
2013-02-25 17:02:36 +00:00
Aparajita Fishman
cc0503c8a4
Fixed missing import, deprecated CP functions, misnamed ivar
2013-01-21 12:07:03 +07:00
Martin Carlberg
458fa9d02e
Fixed a lot of small bugs found by new warning message from compiler
2013-01-18 14:24:37 +01:00
Alexander Ljungberg
63bad1dae0
Setting _data just once is enough.
2012-09-02 17:28:34 +01:00
Aparajita Fishman
cae5486ec6
Added missing class checks in +initialize, regularized checking code
2012-06-28 12:05:18 -07:00
Aparajita Fishman
e2ead56256
Collection KVC fixes, nextObject correctness
...
- Moved common CPArray/CPSet collection KVC operators to _CPCollectionKVCOperators.
- Implemented KVC operator dispatch using Objective-J.
- Fixed infinite loop with empty collection in @min, @max and @sum operators.
- Correctly return valueForUndefinedKey when necessary.
- valueForUndefinedKey reason uses raw description for consistency, class' overridden description may not helpful at all.
- Don't create a forwarder for @ operators with property paths.
- Fixed CPSet -valueForKeyPath to correctly deal with nil/undefined/empty values.
- Added tests for collection KVC operators.
- enumerator -nextObject should always compare against nil for clarity, correctness, and consistency.
2012-04-03 22:16:55 -07:00
Aparajita Fishman
1c2a304ee5
Assignment of function is a statement and should be semicolon terminated. Some miscellaneous linting as well.
2012-01-05 17:51:37 -10:00
Aparajita Fishman
1c44dc1052
Removed unused variable, fixed typo
2011-06-03 18:09:57 -07:00
Stephen Ierodiaconou
6a942630e4
Fixing spelling mistakes
2011-01-24 11:05:48 +02:00
Stephen Ierodiaconou
494f615aaa
Merge branch 'master' into imports
...
Conflicts:
Foundation/CPScanner.j
2011-01-15 09:11:46 +02:00
Alexander Ljungberg
6019ff9107
Fixed: archiving 'undefined' would cause an exception.
2011-01-14 14:25:11 -03:00
Francisco Ryan Tolmasky I
37931f08b5
First pass at CPArray class cluster.
...
Reviewed by me.
2010-12-25 16:07:30 -08:00
Stephen Ierodiaconou
b70018bd80
Import fixes and lint
2010-12-26 01:34:37 +02:00
Francisco Ryan Tolmasky I
1d39299a7d
Fix for missing imports and incorrect variable.
...
Reviewed by me.
2010-12-24 23:36:53 -08:00
Alexander Ljungberg
e4f5d9b32f
Fixed some comments referencing NS* classes.
2010-11-11 13:42:25 -03:00
Stephen Ierodiaconou and Ross Boucher
b98f0b1427
Apply style rules to Foundation
2010-05-26 08:53:05 -07:00
Francisco Ryan Tolmasky I
272f938f2e
Fix for CPData naming issues, added test cases, and fixed isEqual: for CPDictionary.
...
Reviewed by me.
2010-02-21 23:29:41 -08:00
Francisco Ryan Tolmasky I
d4f3f83212
Fix for nib2cib not working with new loader.
...
Reviewed by me.
2010-01-31 17:28:51 -08:00
Francisco Ryan Tolmasky I
794d8a754c
Make blendtask work with new system.
...
Reviewed by me.
2010-01-28 16:24:18 -08:00
lowell vizon and Francisco Ryan Tolmasky I
377f331b47
Documentation Edits: Replaced <code> and <pre> tags with \c; this allows monospaced text to be displayed with formatted text without needing a new line. See AppKit/CPView after generating documentation for examples. Also added - and + signs to the above changes when referring to either an -instanceMethod or a +classMethod. --lowell@cocoastep
...
Signed-off-by: Francisco Ryan Tolmasky I <francisco@280north.com >
2009-08-08 03:50:50 +08:00
Francisco Ryan Tolmasky I
c74642b641
Replacing several instances of -hash with the new -UID method. Partial fix for http://github.com/280north/cappuccino/issues#issue/10 .
...
Reviewed by andrew.
2009-06-07 15:47:21 -07:00
Ross Boucher
f46aa870a7
adding briefs and unifying class header structure
...
Conflicts:
Foundation/CPArray.j
Foundation/CPAttributedString.j
Foundation/CPBundle.j
Foundation/CPCountedSet.j
Foundation/CPIndexSet.j
Foundation/CPJSONPConnection.j
2009-05-30 13:49:10 -07:00
Ross Boucher
850125b8ab
Add documentation groups
2009-05-18 15:43:36 -07:00
Francisco Tolmasky
864c62b6e0
Fix for replacementObjectForKeyedArchiver: not working properly (incorrect decoding class).
...
Closes #111 .
Reviewed by me.
2009-05-06 01:34:00 -07:00
Francisco Tolmasky
2664e30a8b
A number of changes.
...
Reviewed by me.
2009-03-08 20:40:11 -07:00
Francisco Ryan Tolmasky I
4a24923edb
Fixed a number of subtle bugs introduced with the last keyed archiver change.
...
Reviewed by me.
2009-01-08 18:26:12 -08:00
Francisco Tolmasky and 280north
f5963ecc30
Fix for CPKeyedArchiver
...
Signed-off-by: 280north <admin+280north@280north.com >
2009-01-05 06:42:01 +08:00
Ross Boucher
5823db8319
Fix for bug in CPKeyedArchiver (typo aNuumber).
2008-10-28 18:35:02 -07: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