Aparajita Fishman
bc8dc10ac3
Fix for #1433
2012-04-09 13:25:38 -04:00
Antoine Mercadal
324e75650d
code style cleaning
2012-04-09 10:24:39 -07:00
Antoine Mercadal
8c205faf2d
Merge https://github.com/rvanzon/cappuccino into rvanzon-xcc
2012-04-09 10:23:59 -07:00
Richard van Zon
d56a15db83
Using fm instance and ignore errors
2012-04-09 08:06:53 +02:00
Aparajita Fishman
342bde7767
Started linting CPRuleEditor classes
2012-04-09 01:56:59 -04:00
Aparajita Fishman
ec80a4c9e6
Add some missing imports
2012-04-09 00:59:57 -04:00
aparajita
2a1af53d79
Merge pull request #1456 from cacaodev/CPTabView
...
CPTabView: Do not track the segment when the delegate disallows item selection
2012-04-08 21:38:53 -07:00
Alexander Ljungberg
c528563421
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-04-08 18:51:15 +02:00
Alexander Ljungberg
a3a01c2419
Missing semicolons, whitespace.
2012-04-08 18:50:54 +02:00
Alexander Ljungberg
40d30459b8
Missing semicolons.
2012-04-08 18:10:54 +02:00
Alexander Ljungberg
b746824933
Formatting.
2012-04-08 18:10:41 +02:00
cacaodev
1e9958c4c7
Handle CPValueBinding in the custom binder. Added a CPImageView with CPValueBinding to the test app.
...
Removed setBackgroundColor:gray for placeholders because it's a bad idea (non cocoa and need to restore bg when the value != placeholder).
2012-04-08 10:01:04 +02:00
aparajita
3230ea2519
Merge pull request #1492 from daboe01/master
...
fix for issue 1451
2012-04-07 13:25:39 -07:00
aparajita
22fc8337a3
Merge pull request #1257 from aparajita/_CPImageAndTextView-API
...
Add textFrame method to locate the text within the view
2012-04-07 10:51:10 -07:00
Aparajita Fishman
86d5818c0f
Revert "Use /var/tmp, in Lion /tmp is not world writable"
...
This reverts commit e9d076adcd .
2012-04-07 10:42:27 -07:00
cacaodev
b6a173cc0c
CPImageView: support CPValueURLBinding and CPValuePathBinding. Readonly. With test.
2012-04-07 13:16:16 +02:00
daboe01
ec9c682052
Small progress indicator images fixed ( http://www.preloaders.net/en/terms_of_use )
2012-04-06 13:56:06 +02:00
Aparajita Fishman
e9d076adcd
Use /var/tmp, in Lion /tmp is not world writable
2012-04-05 20:28:14 -07:00
Aparajita Fishman
d59bc012b6
Added dump_theme tool
2012-04-05 20:25:14 -07:00
Aparajita Fishman
eb292e6d87
Factored image creation code so -description can be added
2012-04-05 19:57:30 -07:00
Aparajita Fishman
129a8cb411
Added ability to specify bundle, which makes this usable with non-main bundle images.
2012-04-05 19:42:23 -07:00
Aparajita Fishman
d76706b865
Cocoa always sends NSControlTextDidEndEditingNotification and the action when resigning, whether or not editing had begun.
2012-04-05 18:04:10 -07:00
aparajita
159c5c7342
Merge pull request #1253 from aparajita/better-theme-template
...
Improvements to the ThemeDescriptor capp template
2012-04-05 17:07:40 -07:00
Aparajita Fishman
4d50eea29b
capp templates
...
- Small comment tweaks
2012-04-05 17:06:15 -07:00
daboe01
0ec10515cd
Small progress indicator images
2012-04-05 20:45:19 +02:00
Aparajita Fishman
c2f20c21e6
Added CGInsetUnion and CGInsetDifference
2012-04-04 23:17:24 -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
029e45d027
Use === when possible, made it clearer where the ternary operator ends
2012-04-03 17:17:26 -07:00
Aparajita Fishman
93cc97002a
Cocoa conformance and bug fixes
...
- showRelativeToRect:ofView:preferredEdge: must take provide a view, and if the rect is empty it defaults to the view's bounds.
- If If showRelativeToRect is called while a popover is closing, it is ignored.
- If showRelativeToRect is called when the popover is already open, it should just reposition the existing popover.
- close should NOT consult the delegate's popoverShouldClose. Only performClose should do that.
- If a window is closed, all of its popovers immediately order out.
- Updated demo app to cover more cases.
- Note that child popovers are currently not supported, as this requires support for child windows in CPWindow.
2012-03-31 18:40:47 -07:00
Aparajita Fishman
8fed89164f
Add the appkit_tag_dom_elements flag to the NibApplication index-debug.html template
2012-03-30 11:19:40 -07:00
Aparajita Fishman
48b9f3198f
Methods that return CGPoint should always copy!
2012-03-30 10:53:00 -07:00
Aparajita Fishman
5893b33962
Merge branch 'master' of github.com:cappuccino/cappuccino into cappuccino
2012-03-27 16:29:51 -07:00
Alexander Ljungberg
d2f3ceaf67
Documentation.
2012-03-27 23:45:18 +01:00
Alexander Ljungberg
271b935ba2
+ (BOOL)automaticallyNotifiesObserversOf<Key> support.
2012-03-27 23:42:17 +01:00
Aparajita Fishman
3ddab9e26a
Added configurable list of source directories for framework Jakefile
2012-03-27 11:20:31 -07:00
Aparajita Fishman
d68278e41f
Use isMenuBar instead of testing class
2012-03-27 11:19:41 -07:00
Alexander Ljungberg
25676b4460
Fixed: reverse value transformations were not applied for table view bindings.
2012-03-27 13:56:25 +01:00
Alexander Ljungberg
56c7e1991e
Fixed: check box binding value transformers were ignored.
2012-03-27 13:53:32 +01:00
Alexander Ljungberg
ff68ccdeab
Fix CPPopUpButtonTest.
2012-03-27 13:51:52 +01:00
Alexander Ljungberg
4acbfd5587
Formatters are a part of Foundation.
2012-03-27 10:37:15 +01:00
Alexander Ljungberg
8df2e608ab
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-03-27 10:02:52 +01:00
Alexander Ljungberg
38f8b1a931
Raise an exception if a view is added to itself as a subview.
...
This is better than a DOM node exception.
2012-03-27 10:02:27 +01:00
Alexander Ljungberg
099ee1e249
RC1 bootstrap.
v0.9.6-RC1
2012-03-26 21:09:37 +01:00
Aparajita Fishman
9e8f659faf
Stop generating useless XML from doxygen.
2012-03-26 12:47:05 -07:00
Aparajita Fishman
cd148c36c9
Menu tracking fixes:
...
- Finally fixed #1457 .
- Fixed case where mouse is dragged and then released over a submenu, which should release the menu.
- Fixed case where clicking without dragging, then clicking again on a menu title would not close the menu.
2012-03-26 12:38:50 -07:00
Alexander Ljungberg
aba7fd5527
Make CPPopUpButton selectedTag private API to match Cocoa.
2012-03-26 19:55:50 +01:00
Alexander Ljungberg
68c794bf9d
This will be Cappuccino 0.9.6.
2012-03-26 19:55:17 +01:00
Alexander Ljungberg
ca9b3a7dbf
Demonstrate that pop up button test is using tags.
2012-03-25 22:01:16 +01:00
Alexander Ljungberg
4eba585286
Fix manual pop up button test.
2012-03-25 21:40:52 +01:00
Alexander Ljungberg
4172ecfdf2
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-03-25 14:15:39 +01:00