Aparajita Fishman
f57755ce46
Merge remote branch 'refs/remotes/280north/master'
2011-07-06 12:01:47 -07:00
Alexander Ljungberg
da61da392b
Fixed: initialise CPNumberFormatter maximumFractionalDigits to 3.
2011-07-06 14:08:44 -04:00
Aparajita Fishman
9038b7cfa9
Merge remote branch 'refs/remotes/280north/master'
...
Conflicts:
Tools/nib2cib/main.j
2011-07-05 16:04:20 -07:00
Alexander Ljungberg
42220e057b
CPNumberFormatter maximum fractional digits support. Optimise by only creating CPDecimalNumberHandler when needed and caching the result.
2011-06-13 23:19:06 -07:00
Alexander Ljungberg
91509e7d36
CPFormatter support for CPControl which actually works.
2011-06-13 18:39:17 -07:00
Alexander Ljungberg
3758c86d20
CPFormatter support for CPControl.
2011-06-11 03:59:33 -07:00
Alexander Ljungberg
ada547a79d
Temporary numberFromString:.
2011-06-11 03:36:44 -07:00
Alexander Ljungberg
445adcb47f
CPNumberFormatter rounding mode support.
2011-06-10 11:41:23 -07:00
Alexander Ljungberg
4e9b975ca8
Simple CPNumberFormatter stringFromNumber for CPNumberFormatterDecimalStyle.
2011-06-10 11:23:36 -07:00
Alexander Ljungberg
0f5eee0258
nib2cib compatible CPNumberFormatter skeleton.
2011-06-05 19:27:21 -04:00
Alexander Ljungberg
0e890e19ea
Fixed: during CPUserDefault change notifications, objectForKey: could return the value from prior to the change.
2011-06-05 17:32:56 -04:00
Aparajita Fishman
a74267e937
Merge remote branch 'refs/remotes/280north/master'
2011-06-04 16:20:50 -07:00
Aparajita Fishman
5f85f7bef1
Removed unused variable, fixed typo
2011-06-03 18:08:33 -07:00
Alexander Ljungberg
0a9c9741e8
CPArray mutableCopy.
2011-06-02 15:09:54 -04:00
Aparajita Fishman
c87d96676c
Merge remote branch 'refs/remotes/280north/master'
2011-06-01 12:21:27 -07:00
Francisco Ryan Tolmasky I
33e4fea0ec
Fix forwarding in Objective-J (and many infinite recursions, such as when there is no superclass):
...
1. Fix infinite recursion when no superclass and method isn't implemented. Closes #469 .
2. Fix infinite recursion when coercing an object without description implemented into a string. Closes #1289 .
3. Add -forwardingTargetForSelector: support.
Reviewed by @tolmasky.
2011-05-31 00:44:16 -07:00
Aparajita Fishman
a5c06c8f27
Merge remote branch 'refs/remotes/280north/master'
...
Conflicts:
AppKit/CPTableView.j
2011-05-30 23:37:16 -07:00
Alexander Ljungberg
669c6d4ac0
Merge branch '0.9.1b'
2011-05-28 02:08:03 -04:00
Alexander Ljungberg
6eb4bf6656
Add temporary @ref and @deref analogs.
2011-05-26 23:59:08 -04:00
Aparajita Fishman
d6b3efaae8
Pin ranges to valid values.
2011-05-26 13:00:46 -07:00
Klaas Pieter Annema
249a63af95
don't use remove method for removeMany selector
2011-05-24 12:28:25 +02:00
Aparajita Fishman
3937e66e06
Major fix to documentation generation:
...
- It turns out doxygen would not generate documentation for the first method in a file (or sometimes any methods at all) if there was no ivar block or an empty ivar block. Now a dummy __doxygen__ ivar is inserted in empty blocks to force correct behavior.
- Added a missing @endverbatim to CPExpression.j.
- Tweaked class documentation for CPPredicate.j.
2011-05-19 16:47:11 -07:00
Aparajita Fishman
ff7774976e
Major fix to documentation generation:
...
- It turns out doxygen would not generate documentation for the first method in a file (or sometimes any methods at all) if there was no ivar block or an empty ivar block. Now a dummy __doxygen__ ivar is inserted in empty blocks to force correct behavior.
- Added a missing @endverbatim to CPExpression.j.
- Tweaked class documentation for CPPredicate.j.
2011-05-19 16:46:41 -07:00
Aparajita Fishman
634fa7b850
Stupid Uber Glory bundle duplicated the file a few times when stripping whitespace.
2011-05-18 17:33:30 -07:00
Aparajita Fishman
a435e54a67
Stupid Uber Glory bundle duplicated the file a few times when stripping whitespace.
2011-05-18 17:32:59 -07:00
Aparajita Fishman
f132ec5a50
Fixed formatting of lists and code in class description. The code did not change, I don't know why git says it did.
2011-05-18 16:55:43 -07:00
Aparajita Fishman
852597f11d
Fixed formatting of lists and code in class description. The code did not change, I don't know why git says it did.
2011-05-18 16:55:15 -07:00
Aparajita Fishman
4cdefcc2c7
Merge remote branch 'refs/remotes/280north/master'
2011-05-10 11:12:05 -04:00
Aparajita Fishman
ea958160dc
Although it is not directly documented, CPMutableSet -addObject should raise with nil or undefined.
2011-05-09 15:49:44 -04:00
Aparajita Fishman
e22faa0d79
Added distinctUnionOfObjects and unionOfObjects object operators.
2011-05-09 15:31:12 -04:00
Klaas Pieter Annema
21a50b990f
fix 2 bugs in CPIndexPath
...
1. we didn't return a copy of the indexes
2. indexPathByRemovingLastIndex didn't remove the last index
2011-05-04 19:07:06 +02:00
Klaas Pieter Annema
ead6e4a592
implement CPDictionary's keysSortedByValueUsingSelector
2011-04-28 14:01:04 +02:00
Alexander Ljungberg
9cf664fe7b
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-04-27 13:16:49 -04:00
Alexander Ljungberg
10ec8b528c
Correct return type for [CPURL staticResourceData].
2011-04-27 13:14:44 -04:00
Klaas Pieter Annema
03e7d81ffa
fail more gracefully when attempting to remove the same observer twice
...
Before this commit we would fail gracefully for single keys. For key paths an application would crash because we would try to get the forwarder property of an undefined object. This commit makes sure we don't attempt any removal and logs a warning (just like Cocoa) about the attempt to remove an unregistered observer.
2011-04-26 11:34:40 +02:00
Randall Luecke
26afe7c0d8
Fix return type on sortUsingDescriptors in CPMutableArray.
2011-04-24 22:28:41 -04:00
Alexander Ljungberg
27211db0cc
Fixed: JS objects 'randomly' failed to unarchive.
...
The problem was that if the same JS object was decoded twice as part of a more complex object, the first decoded version was cached in its unwrapped state and not properly unwrapped the second time. This caused very hard to debug theming errors where e.g. a CPTextField's custom inset would decode fine, but a subclass of a CPTextField otherwise exactly the same would fail to decode the inset.
2011-04-21 18:59:30 -04:00
Klaas Pieter Annema
a837b26ac3
add CPIndexPath to Foundation.j
2011-04-15 15:59:59 +02:00
Klaas Pieter Annema
97289d9070
add CPCoding support to CPIndexPath
2011-04-13 17:31:14 +02:00
Alexander Ljungberg
e44ffdc7f4
CPString subtringWithRange: and rangeOfString:options:range now throws CPRangeException for out of bounds ranges.
2011-04-10 21:20:22 -04:00
Alexander Ljungberg
91ef6bf925
Fixed: CPString rangeOfString:options:range returned locations relative to the passed-in range instead of the full string.
2011-04-10 21:05:43 -04:00
Alexander Ljungberg
a33dd51d8e
Fixed: searching a string for @"" with CPString rangeOfString returned results other than CPNotFound.
2011-04-10 20:38:51 -04:00
Alexander Ljungberg
2166fc1d51
Fixed: CPString rangeOfString: anchored backwards search did not work.
2011-04-10 20:19:04 -04:00
Alexander Ljungberg
b29e722132
Fixed: CPString rangeOfString: backwards search did not work. Fixes #1065 .
2011-04-10 20:12:33 -04:00
Aparajita Fishman
e3abd4e407
Fixed timezone calculation in initWithString.
2011-04-08 09:29:45 -04:00
Alexander Ljungberg
370960418f
Better formatting, clickable links and basic code styling for the Doxygen docs front page. This look will resemble that of the GitHub front page.
...
The README file was converted to Markdown which is nice to read in the terminal and automatically formatted by GitHub. For Doxygen, the markdown is first converted to HTML.
2011-04-03 14:34:20 -04:00
Alexander Ljungberg
ccf9225773
Minor KVO optimisation.
2011-04-02 18:10:13 -04:00
Klaas Pieter Annema
38f896d018
fix CPURL equality check
2011-03-28 18:56:25 +02:00
Klaas Pieter Annema
42c60913c6
add firstObject method to CPArray
2011-03-28 13:14:25 +02:00
Aparajita Fishman
ea25d22628
Cocoa docs state that if unarchiver:didDecodeObject: returns nil, the original object should be used, no replacement should be done.
2011-03-23 21:45:53 -04:00