Jürgen Kartnaller
3e79d8324d
Fix check for allowsReverseTransformation in reverseTransformedValue
2011-01-25 08:46:40 +01:00
Alexander Ljungberg
f2c53c9f52
Documentation tweaks.
2011-01-24 14:00:15 -03:00
Stephen Ierodiaconou
6a942630e4
Fixing spelling mistakes
2011-01-24 11:05:48 +02:00
Francisco Ryan Tolmasky I
aada884cff
A few import fixes.
...
Reviewed by me.
2011-01-23 08:43:46 -08:00
Francisco Ryan Tolmasky I
3fe505b8e5
Merge branch 'master' of github.com:280north/cappuccino
2011-01-18 13:26:14 -08:00
Francisco Ryan Tolmasky I
00915083d4
Quick fix for initWithCapacity: not working on CPMutableArray.
...
Reviewed by me.
2011-01-18 13:25:43 -08:00
Klaas Pieter Annema
e4f6214005
Merge branch 'imports' of https://github.com/stevegeek/cappuccino into stevegeek-imports
2011-01-18 09:52:40 +01:00
Francisco Ryan Tolmasky I
9796f5d5d7
Fix CPPopUpButton menu support.
...
- Added enumerateObjectsUsingBlock: to CPArray
- Fixed a remaining case of [] being used instead of objectAtIndex: in CPMutableArray.
- Added KVO support for menu items array in menus.
- Changed CPPopUpButton to use KVO to sync up with menu instead of notifications.
- Removed extra menu encoding in CPPopUpButton.
- Removed extra mainMenu object from CPApplication.
- Use setters in CPResponder instead of direct ivar access in initWithCoder:.
Closes #298 .
Closes $1059.
Reviewed by me.
2011-01-17 01:31:15 -08:00
Stephen Ierodiaconou
37323b811c
Merge branch 'master' of git://github.com/280north/cappuccino into imports
...
Conflicts:
Foundation/CPDecimalNumber.j
Foundation/CPPredicate/CPComparisonPredicate.j
Foundation/CPPredicate/CPCompoundPredicate.j
Foundation/CPPredicate/CPExpression.j
Foundation/CPPredicate/CPExpression_aggregate.j
Foundation/CPPredicate/CPExpression_constant.j
Foundation/CPPredicate/CPExpression_function.j
Foundation/CPPredicate/CPExpression_keypath.j
Foundation/CPPredicate/CPExpression_self.j
Foundation/CPPredicate/CPExpression_set.j
Foundation/CPPredicate/CPExpression_subquery.j
Foundation/CPPredicate/CPExpression_variable.j
Foundation/CPPredicate/CPPredicate.j
2011-01-16 10:03:42 +02:00
Randall Luecke
630cd121a6
Typo in docs
2011-01-15 20:40:24 -05:00
Randall Luecke
5d88ffbe66
Merge branch 'decimal' of https://github.com/stevegeek/cappuccino into stevegeek-decimal
2011-01-15 20:32:24 -05:00
Randall Luecke
bd5aa1c959
Merge branch 'CPPredicate' of https://github.com/cacaodev/cappuccino into cacaodev-CPPredicate
2011-01-15 18:50:12 -05:00
Stephen Ierodiaconou
c65bfd22a2
Use native javascript array for mantissa for big performance increase
2011-01-16 01:47:14 +02:00
Stephen Ierodiaconou
e0185a0eff
Documentation for CPDecimalNumber
2011-01-15 21:58:47 +02:00
Stephen Ierodiaconou
2fe8845842
CPDecimalString returns NaN for a NaN and Fix Compare of NaNs and Cocoa compatable handling of overflow/underflows when no exception
2011-01-15 19:29:55 +02:00
Stephen Ierodiaconou
c02128a1fd
Instantiate default number handler lazily and fix CPDecimalNumberHandler initialisers and CPDecimalNumberHandler docs
2011-01-15 18:50:47 +02:00
Stephen Ierodiaconou
27ad98e160
Initialiser fixes and docs
...
Fix tests for new initialisers
2011-01-15 16:40:11 +02:00
Stephen Ierodiaconou
fc746db70f
Cocoa compatible constructors for CPDecimals
2011-01-15 16:12:06 +02:00
Stephen Ierodiaconou
6a6256bdb4
CPCoding support for CPDecimalNumber and test
2011-01-15 14:15:31 +02:00
Stephen Ierodiaconou
5a0cfc1595
Make default number hanler file global only and Improvements and optimisations for CPDecimalNumber
2011-01-15 11:49:20 +02:00
Stephen Ierodiaconou
32107ab650
Improvements to CPDecimalNumberHandler including docs and archiving/unarchiving and associated test.
2011-01-15 09:38:31 +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
cacaodev
9c6476615d
Allow parsing of functions with multiple arguments like multiply:by:(5,2) or FUNCTION('method:arg:', arg1, arg2)
...
Added a missing CPDate.j import in CPExpression_function that was causing an 'unknown variable CPDate' error in deploy builds.
Added documentation for +expressionForSubquery:...
Added licence headers with credits.
2011-01-12 18:43:09 +01:00
Francisco Ryan Tolmasky I
f69e2e8d8f
Merge branch 'master' of github.com:280north/cappuccino
2011-01-12 08:41:26 -08:00
Francisco Ryan Tolmasky I
5fd470acea
Fix for adding a js object to a CPArray and associated tests.
...
Reviewed by me.
2011-01-12 08:41:02 -08:00
Alexander Ljungberg
28e660c295
Merge branch 'master' of github.com:280north/cappuccino
2011-01-12 11:02:33 -03:00
Alexander Ljungberg
9a76b4451f
Cleanup.
2011-01-12 10:54:47 -03:00
Alexander Ljungberg
b50f955cfd
Standardise source file header.
2011-01-12 10:52:35 -03:00
Francisco Ryan Tolmasky I
1f5ad49591
CPMutableArray fixes and tests.
...
Reviewed by me.
2011-01-11 15:27:35 -08:00
Francisco Ryan Tolmasky I
3e45c7895c
More tests and bug fixes for CPArray family.
...
Reviewed by me.
2011-01-11 12:08:00 -08:00
Francisco Ryan Tolmasky I
29301f440e
Fixed a few bugs in CPArray and added many new tests for CPArray.
...
Reviewed by me.
2011-01-11 10:12:26 -08:00
Francisco Ryan Tolmasky I
2f86c0d9d2
Slight initWithArray:shouldCopyItems: fix.
...
Reviewed by me.
2011-01-10 09:21:46 -08:00
Francisco Ryan Tolmasky I
5af66b60e1
Better -copy implementations for KVC arrays and sets.
...
Reviewed by me.
2011-01-09 03:46:29 -08:00
Francisco Ryan Tolmasky I
028a4fe5b2
Merge branch 'CPKeyValueCodingArray-copy' of https://github.com/cacaodev/cappuccino into cacaodev-CPKeyValueCodingArray-copy
2011-01-09 03:29:51 -08:00
Ilya Kulakov
0d5ae63013
The isSubsetOfSet looking for objects inside itself instead of provided set
2011-01-07 02:03:11 +06:00
Francisco Ryan Tolmasky I
aa60a7b975
Use stubbed out Array methods instead of relying on them existing on the object.
...
Reviewed by me.
2011-01-06 10:28:24 -08:00
Francisco Ryan Tolmasky I
c071569f3c
Fix for @import loop when pressing.
...
Reviewed by me.
2011-01-05 18:24:42 -08:00
cacaodev
92fb183c22
CPKeyValueCodingArray/Set -copy. Fetch all objects through accessors, that's what cocoa does.
2011-01-05 19:21:13 +01:00
Klaas Pieter Annema
f7bc2b6d06
add a description to CPSortDescriptor
2011-01-05 12:47:36 +01:00
Randall Luecke
a292936d55
Extra bracket.
2011-01-04 23:01:44 -06:00
Randall Luecke
a000687a42
Fix for CPArray and _CPJavaScriptArray -copy
2011-01-04 22:59:33 -06:00
Alexander Ljungberg
be71d957e1
Fixed: indexOfObject:inSortedRange: searched 1 index too far when a range was applied.
2011-01-04 17:00:48 -03:00
Ilya Kulakov and Alexander Ljungberg
db6608571a
Refs #1071 . indexOfObject:inSortedRange:options:usingComparator is incorrectly implemented.
...
Add more tests to cover more features of the indexOfObject:inSortedRange:options:usingComparator method
2011-01-04 13:37:06 -03:00
Alexander Ljungberg
9e92947b2c
Cleanup, fix accidental global in the average operator.
2011-01-02 11:42:40 -03:00
Alexey Borzenkov
4678efff72
Fix #1063 [CPDate description] returns incorrect timezone + tests
2010-12-28 23:42:06 +03:00
Francisco Ryan Tolmasky I
e39fa44cdb
Fix for typo in new KVC code.
...
Reviewed by me.
2010-12-27 10:40:27 -08:00
Francisco Ryan Tolmasky I
06b8636817
Removed remaining references to isKeyObserved.
...
Reviewed by me.
2010-12-27 10:38:10 -08:00
Francisco Ryan Tolmasky I
ab6609282d
Some reorganization.
...
Reviewed by me.
2010-12-27 03:02:00 -08:00
Francisco Ryan Tolmasky I
6ff21692f1
Fix for incorrectly installing KVO if all the mutation methods aren't implemented.
...
Reviewed by me.
2010-12-27 02:18:52 -08:00