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
Randall Luecke
05b0abacd4
When dragging horizontally we need to update the location of the header view too
2011-04-22 12:59:16 -04:00
Alexander Ljungberg
ca53e56c19
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-04-21 20:01:53 -04:00
Alexander Ljungberg
dcf1d324a5
Additional test for the previous bug.
2011-04-21 19:03:10 -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
Gerrit Riessen
b249a1db13
test demostrating limitations of CGGradientCreateWithColorComponents
2011-04-20 12:25:24 -04:00
Randall Luecke
561d22168a
Stop references function arguments with arguments["name"] in CG.
2011-04-20 12:19:29 -04:00
Klaas Pieter Annema
da2c360446
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-04-20 16:22:28 +02:00
Klaas Pieter Annema
71d8582f94
make unhandled keyboard events travel past the window
2011-04-20 16:21:28 +02:00
Klaas Pieter Annema
dc264231c8
open menu bar menus directly
2011-04-20 08:58:30 +02:00
Randall Luecke
86e3717222
Fixes for splitview documentation
2011-04-19 01:46:41 -04:00
Alexander Ljungberg
041f2ecf4d
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-04-18 20:16:36 -04:00
Alexander Ljungberg
1db9b6a9d8
Merge branch 'CPTableView-setDropRow_dropOperation-fix' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPTableView-setDropRow_dropOperation-fix
2011-04-18 20:13:59 -04:00
Klaas Pieter Annema
3b6bd5a292
take min and max size from item prototype
2011-04-18 10:36:56 +02:00
Francisco Ryan Tolmasky I
51d8fd512a
Don't traverse subprojects (folders with Jakefiles).
...
Reviewed by me.
2011-04-18 10:36:56 +02:00
Francisco Ryan Tolmasky I
a578d4881d
Don't make IBOutlet a pointer.
...
Reviewed by me.
2011-04-18 10:36:56 +02:00
Francisco Ryan Tolmasky I
2fb58d3ae1
Always convert to pointers, not just with NS classes.
...
Reviewed by me.
2011-04-18 10:36:56 +02:00
Francisco Ryan Tolmasky I
35bbb1a3d5
Handle source files being deleted.
...
Reviewed by me.
2011-04-18 10:36:56 +02:00
Francisco Ryan Tolmasky I
d5355df61c
Fix superclasses in class generation.
...
Reviewed by me.
2011-04-18 10:36:56 +02:00
Francisco Ryan Tolmasky I
222223b847
Minor fix.
...
Reviewed by me.
2011-04-18 10:36:55 +02:00
Francisco Ryan Tolmasky I
9e03df7416
First pass at Xcode 4 support.
...
Reviewed by me.
2011-04-18 10:36:55 +02:00
Francisco Ryan Tolmasky I
26d124d54b
Store type info for ivars when proper flags are set.
...
Reviewed by me.
2011-04-18 10:36:55 +02:00
Aparajita Fishman
635a0d965c
If $CAPP_BUILD is not set or entity is not found in it, look in the narwhal cappuccino package.
2011-04-18 10:36:55 +02:00
Francisco Ryan Tolmasky I
c891418849
Change NibApplication template's slider to be continuous since it makes for a better first experience.
...
Reviewed by me.
2011-04-18 10:36:55 +02:00
Klaas Pieter Annema
39459c9a44
take min and max size from item prototype
2011-04-18 10:34:45 +02:00
Francisco Ryan Tolmasky I
8661625dac
Don't traverse subprojects (folders with Jakefiles).
...
Reviewed by me.
2011-04-15 09:16:25 -07:00
Klaas Pieter Annema
38db22db06
fix a decoding bug with CPBox and it's contentView
2011-04-15 16:01:03 +02:00
Klaas Pieter Annema
722ffeda88
add CPIndexPath to Foundation.j
2011-04-15 16:01:03 +02:00
Klaas Pieter Annema
ca74f32e3b
fix a decoding bug with CPBox and it's contentView
2011-04-15 16:00:18 +02:00
Klaas Pieter Annema
a837b26ac3
add CPIndexPath to Foundation.j
2011-04-15 15:59:59 +02:00
Francisco Ryan Tolmasky I
3b9ed4c1b5
Don't make IBOutlet a pointer.
...
Reviewed by me.
2011-04-14 14:52:36 -07:00
Francisco Ryan Tolmasky I
77b5f0475d
Always convert to pointers, not just with NS classes.
...
Reviewed by me.
2011-04-14 14:47:14 -07:00
Francisco Ryan Tolmasky I
1c5d311ec2
Handle source files being deleted.
...
Reviewed by me.
2011-04-14 14:35:29 -07:00
Francisco Ryan Tolmasky I
7d3768e13d
Fix superclasses in class generation.
...
Reviewed by me.
2011-04-14 13:57:24 -07:00
Francisco Ryan Tolmasky I
e6acc7a7d8
Minor fix.
...
Reviewed by me.
2011-04-14 10:27:24 -07:00
Francisco Ryan Tolmasky I
7099acde2f
First pass at Xcode 4 support.
...
Reviewed by me.
2011-04-14 09:49:34 -07:00
Francisco Ryan Tolmasky I
96e3c4db68
Store type info for ivars when proper flags are set.
...
Reviewed by me.
2011-04-14 09:49:33 -07:00
Alexander Ljungberg
3b35703c2b
Merge branch 'master' of github.com:280north/cappuccino
2011-04-14 11:58:05 -04:00
Alexander Ljungberg
1a0b69c10b
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-04-14 11:54:40 -04:00
Alexander Ljungberg
5564b75ed0
Merge branch 'CPArrayController-arrangedObjects-fix-redux' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPArrayController-arrangedObjects-fix-redux
2011-04-14 11:52:58 -04:00
Brian Donovan
27cf82e1d3
Use our internal setter while initializing to make sure arrangedObjects is properly observable.
...
This fixes both the case I reported earlier (#1174 ) and a new issue I found where attempting to bind to a CPArrayController's arrangedObjects before calling -setContent: would throw this exception:
Uncaught CPInvalidArgumentException: Unsupported method on CPArray
The reason for this exception is that the old implementation set _arrangedObjects to an instance of _CPJavaScriptArray, whereas the new one will set it to a _CPObservableArray.
2011-04-13 21:18:33 -07:00
Aparajita Fishman
025e761929
If $CAPP_BUILD is not set or entity is not found in it, look in the narwhal cappuccino package.
2011-04-13 18:02:08 -04:00
Klaas Pieter Annema
1a99ac7681
Merge branch 'master' of github.com:280north/cappuccino
2011-04-13 17:34:40 +02:00
Francisco Ryan Tolmasky I
1ecbe997df
Change NibApplication template's slider to be continuous since it makes for a better first experience.
...
Reviewed by me.
2011-04-13 17:33:52 +02:00
Klaas Pieter Annema
1d28b120dc
fix CPOutlineView providing the dragged items in reverse order
2011-04-13 17:31:29 +02:00
Klaas Pieter Annema
97289d9070
add CPCoding support to CPIndexPath
2011-04-13 17:31:14 +02:00
Klaas Pieter Annema
a303b3c04f
Merge branch '0.9.1'
2011-04-13 08:27:53 +02:00
Klaas Pieter Annema
c317274a26
Merge branch 'purem-master' into 0.9.1
2011-04-13 08:27:45 +02:00
Klaas Pieter Annema
547e57c014
Merge branch 'master' of https://github.com/purem/cappuccino into purem-master
2011-04-13 08:27:23 +02:00