Aparajita Fishman
3242e35250
Added CPMenu -removeAll method, removed unused internal _itemIsHighlighted method, test app
2011-05-11 23:59:33 -04:00
Alexander Ljungberg
864c4495c3
Merge branch '0.9.1'
2011-05-11 21:39:58 -04:00
Alexander Ljungberg
1c0f679f50
Refs #1245 . Fixed: setToolTip: belongs in CPView, not CPControl.
2011-05-11 21:36:49 -04:00
Alexander Ljungberg
71763d041b
Merge branch '0.9.1'
2011-05-11 21:04:47 -04:00
Alexander Ljungberg
345d48e224
Refs #1245 . Make CPToolTip and CPAttachedWindow internal since they're not part of the Cocoa API. Refactored some code from CPControl to CPToolTip.
2011-05-11 20:35:13 -04:00
Alexander Ljungberg
bb97c107c9
Refs #1245 . Minor clean up.
2011-05-11 20:02:08 -04:00
Alexander Ljungberg
37cad2f59a
Merge pull request #1245 from primalmotion/cappuccino
...
---
This is a basic merge of the TNKits tooltip system in Cappuccino.
2011-05-11 19:30:41 -04:00
Alexander Ljungberg
4ccbd592b2
Merge branch '0.9.1'
2011-05-11 19:28:34 -04:00
Alexander Ljungberg
8f5fe55dea
Manual test for continuous buttons.
2011-05-11 19:28:01 -04:00
Alexander Ljungberg
a51a051cee
Fixed: if a button was unarchived it would have no continuous push delay and a 0 interval.
2011-05-11 19:15:44 -04:00
Alexander Ljungberg
abd32f5abc
Renamed CPButtonImageTest to CPButtonTest to reuse it for non image related tests.
...
Having fewer but slightly wider manual tests reduces the number of individual apps which need testing when changes are made.
2011-05-11 19:03:21 -04:00
Alexander Ljungberg
d869350a56
Merge branch 'master' of github.com:280north/cappuccino
2011-05-11 18:54:50 -04:00
Alexander Ljungberg
a3cd47b57c
Merge pull request #1100 from MCF/cappuccino
...
---
Move the functionality from CPSteppers _CPContinuousButton object into CPButton. Now any button can be made continuous instead of just the buttons for CPStepper.
2011-05-11 18:40:07 -04:00
Aparajita Fishman
329baa1719
Added license to header, SYS var
2011-05-11 11:39:18 -04:00
Aparajita Fishman
85080f5c58
Made colorPrint function local
2011-05-11 09:02:05 -04:00
Francisco Ryan Tolmasky I
019acb76a3
Very minor style change.
...
Reviewed by me.
2011-05-10 21:34:34 -07:00
Francisco Ryan Tolmasky I
4509df3c2a
Merge pull request #1259 from masonmark/fix-test-for-leopard-sdk
...
Fix build-time test for presence of Mac OS X 10.5 SDK
2011-05-10 21:33:25 -07:00
Mason Mark
7059dd63b7
Use code style similar to other code in file
2011-05-11 13:26:18 +09:00
Mason Mark
402c82801b
Extra newline typo
2011-05-11 13:23:09 +09:00
Mason Mark
b84d721887
Fix build-time test for presence of Mac OS X 10.5 SDK
...
Some jake build tasks test whether the 10.5 SDK is present, and if so, they build using it. However, the path to the SDK is not necessarily consistent across installations, so testing for path existence is not the best way to check whether the SDK is present. Doing it that way caused build failures on machines with both Xcode 3 and Xcode 4 installed. In this fix, we now ask xcodebuild what SDKs are present, and only fall back on the path existence test if the local copy of xcodebuild does not support listing SDKs (as is the case for old versions of xcodebuild).
2011-05-11 13:15:12 +09:00
Randy Luecke
48ccbb8883
Merge pull request #1258 from aparajita/performKeyEquivalent-docs
...
Correct -performKeyEquivalent docs.
2011-05-10 16:23:38 -07:00
Aparajita Fishman
23a5b83ea6
Corrected and added -performKeyEquivalent docs.
2011-05-10 19:20:37 -04:00
Aparajita Fishman
910f02ea50
Removed duplicate productName
2011-05-10 12:20:26 -04:00
Alexander Ljungberg
5a2e5a7de3
Fixed CPColor isEqual: for pattern images.
2011-05-09 21:38:32 -04:00
Aparajita Fishman
bfd8eefa0e
Added textFrame method to locate the text within the view
2011-05-09 21:15:12 -04:00
Alexander Ljungberg
3db05c94ab
Closes #682 . Fix CPColor isEqual:.
2011-05-09 20:59:38 -04:00
Alexander Ljungberg
1ba69aee91
Refs #1254 . Updated unit test to account for, and verify that CPSet addObject:nil/undefined throws an exception.
2011-05-09 20:03:09 -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
Alexander Ljungberg
3d614b38c1
Merge branch '0.9.1'
2011-05-09 14:54:54 -04:00
Alexander Ljungberg
d51921d4f3
Closes #664 . Fixed: web view sizing bug when loading contents prior to adding the view to the display tree.
2011-05-09 14:54:30 -04:00
Alexander Ljungberg
eb8d9775aa
[CPView _isVisible] convenience method.
2011-05-09 14:54:24 -04:00
Alexander Ljungberg
d5a0469333
Closes #664 . Fixed: web view sizing bug when loading contents prior to adding the view to the display tree.
2011-05-09 14:38:17 -04:00
Alexander Ljungberg
d5f281320f
[CPView _isVisible] convenience method.
2011-05-09 14:37:54 -04:00
Alexander Ljungberg
1e49072763
Merge branch '0.9.1'
2011-05-09 01:37:29 -04:00
Alexander Ljungberg
d6c7fecf64
Closes #684 . Cleaned up, added attribution and instructions for the CPWebView2 manual test.
2011-05-09 01:36:23 -04:00
Alexander Ljungberg
1392714896
Manual test which tests the effectiveness of both of the previous fixes.
...
The test also includes a URL based web view to show it works before and after the fixes.
2011-05-09 01:24:33 -04:00
Alexander Ljungberg
2563cb5dc1
Refs #684 . Handle content reflows and associated scroll updates when unhiding a CPWebViewScrollAppKit webview.
2011-05-09 01:13:57 -04:00
Alexander Ljungberg
c42295f0c7
Refs #684 . Fixed: sizing problem when revealing hidden CPWebView.
2011-05-09 00:59:45 -04:00
Alexander Ljungberg
cc9bcabf38
Remove apparently unused CPWebView ivar _scrollSize and code.
...
_scrollSize was never set anywhere in Cappuccino, yet it only had an effect if set.
2011-05-09 00:46:25 -04:00
Alexander Ljungberg
6d98583fa6
Merge branch '0.9.1'
2011-05-09 00:34:22 -04:00
Alexander Ljungberg
6f869cebc1
Closes #688 . Unit test verifying that the CPColor hexString weakness described in issue 688 has been resolved.
2011-05-09 00:29:43 -04:00
Aparajita Fishman
2d96fcf87f
Improvements to the ThemeDescriptor capp template:
...
- New/improved jake tasks: debug, release, all, clean, clobber, test, test-release, help.
- help task shows comprehensive, formatted documentation for the available tasks.
- BlendKit is automatically symlinked into the Frameworks directory if necessary as part of the build process, so that the showcase will always work.
- User can easily change the build directory by changing one line.
- Fixed incorrect placeholders in main.j.
2011-05-07 13:12:12 -04:00
Francisco Ryan Tolmasky I
5c10615c9f
Fix for could not load theme errors in nib2cib. CFBundle was using Image to determine if the platform in question supported image spriting. On Rhino, the Image object doesn't exist, throwing an exception and causing everything to break from that point forward.
...
Reviewed by me.
2011-05-06 12:40:09 -07:00
Klaas Pieter Annema
1a842b2a6f
add manual test case for previous commit
2011-05-05 13:21:50 +02:00
Klaas Pieter Annema
9842640474
add more CPMenuItem keyEquivalent mappings
2011-05-05 13:15:38 +02:00
Ross Boucher
1b1bd4f972
Merge pull request #1249 from aparajita/shared-image-fix.
...
Ensure multiple _CPImageAndTextViews sharing the same image are notified
2011-05-04 11:10:58 -07:00
Klaas Pieter Annema
d8a09722c6
Merge branch '0.9.1'
2011-05-04 19:08:42 +02: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
Aparajita Fishman
739c844b10
Make sure multiple _CPImageAndTextViews sharing the same image are all notified when it is loaded.
2011-05-04 12:16:43 -04:00
Randall Luecke
cd05d30f86
Fix for setting a new platform window on a visisble window throwing a DOM exception.
2011-05-01 21:01:13 -04:00