Alexander Ljungberg
1f8555ffd2
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-05-10 00:19:49 +01:00
Alexander Ljungberg
4218c49a7e
Refs #1529 . Verify that the actual issue error is gone.
2012-05-10 00:17:25 +01:00
Alexander Ljungberg
82e2c7a0e8
Refs #1529 . Simpler test: 11/11.
2012-05-10 00:02:44 +01:00
Alexander Ljungberg
27fa01648f
Code formatting, delete stray */.
2012-05-10 00:01:03 +01:00
Alexander Ljungberg
ab25408429
Refs #1529 . Unit test exposing division error.
2012-05-09 23:39:11 +01:00
Alexander Ljungberg
d896baf38b
Code formatting.
2012-05-09 19:09:35 +01:00
Blair Duncan
934691fffb
nib2cib all of current test files xib's
2012-05-04 20:10:55 -04:00
Alexander Ljungberg
6bc26eb0cc
Test app to verify CPProgressIndicator rendering, nib2cib and coding.
2012-05-03 20:42:41 +01:00
Adam Radabaugh
2078d0e23b
Restore copywrite info in headers.
2012-05-01 15:16:44 -06:00
Adam Radabaugh
ea0107f67f
Enable additional button types in CPButton with manual test.
2012-05-01 15:11:34 -06:00
cacaodev
d1dd177bfd
CPImageView: support for CPDataBinding. Test.
2012-04-28 17:12:22 +02:00
cacaodev
5e3d9df81a
In CPTableViewLionCibTest, use valueURL binding for image views; general capp lint.
2012-04-28 10:09:39 +02:00
cacaodev
a0d52d415b
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-04-28 09:00:53 +02:00
cacaodev
6fe3d53a13
Merge remote-tracking branch 'upstream/master' into CPRulePredicateEditor
2012-04-26 20:34:18 +02:00
Alexander Ljungberg
a0c7305334
Fixed: collection views cleared their selection whenever the content was changed.
...
This was unlike Cocoa and prevented CPArrayController's selectsInsertedObjects from working.
2012-04-26 15:19:18 +01:00
cacaodev
3ab2ebf71f
Merge remote-tracking branch 'upstream/master' into CPRulePredicateEditor
...
Conflicts:
AppKit/CPRuleEditor/CPRuleEditor.j
2012-04-26 15:38:30 +02:00
Blair Duncan
9ef9bf9f42
CPFlashView a few minor fixes, includes Test file
2012-04-25 17:07:13 -04:00
Blair Duncan
5b5034da63
CPEvent - send a valid timestamp for periodic events
2012-04-23 18:19:37 -04:00
Blair Duncan
5b6779a3a9
Fix for menu selection that was broken with the change to CPEvent timestamp
2012-04-23 16:51:10 -04:00
Aparajita Fishman
bd691d5307
Hopefully finally fixed the problem with CPScrollView/CPScroller initialization. Fixes #1485 .
2012-04-23 01:12:24 +02:00
Aparajita Fishman
48ef639408
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-04-22 23:14:18 +02:00
Aparajita Fishman
9830b2b115
Subviews may not be accessed during initWithCoder. Fixes #1485 .
2012-04-22 23:13:58 +02:00
Blair Duncan
ca381029f1
updated background image for sample test file
2012-04-22 11:57:56 -04:00
Alexander Ljungberg
21a34f88b2
Fixed: don't crash when removing objects from an array controller which has its arrangedObjects.@count observed.
2012-04-20 15:12:59 +01:00
cacaodev
99798ffea7
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-04-17 22:13:24 +02:00
aparajita
f96c113065
Merge pull request #1509 from cacaodev/CPData-bytes-base64
...
CFData: completed bytes(), base64() and adds CPData +dataWithBytes and +dataWithBase64:
2012-04-17 10:44:53 -07:00
cacaodev
7fe576163d
CFData: Adds lazy getters bytes(), base64().
...
CPData: Adds +dataWithBytes and +dataWithBase64:
Tests.
2012-04-17 19:08:29 +02:00
Aparajita Fishman
5763ebdf2b
Fixed CPEvent -timestamp to return seconds since startup, as documented in Cocoa.
...
Miscellaneous cleanup of timestamp usage as well.
2012-04-15 11:30:27 -04:00
cacaodev
22f75fa9cd
Very minor UI changes
2012-04-15 09:52:57 +02:00
cacaodev
a76fbb0073
nib2cibed CPOutlineViewCibTest
2012-04-13 22:27:47 +02:00
cacaodev
a41ff7f2d0
TableView Example: fix row selection after drop
...
make editable textfield bordered
Finished CPOutlineView view-based. With example
2012-04-13 09:19:36 +02:00
cacaodev
b11294d9cf
Updated Cib test with the table content binding feature
2012-04-13 09:19:36 +02:00
cacaodev
fda6694e0f
merge content binding feature
2012-04-13 09:19:35 +02:00
cacaodev
0b5f0e5e61
CPTableView: Fixed a bug where an error was thrown when trying to edit a view-based cell. View-based cells don't need their editing to be handle by the table (begin or end), instead they are edited directly. Added an editable textfield on the right column view. values are commited via bindings. Focus not shown when you edit because of a bug in CPTextField
2012-04-13 09:19:35 +02:00
cacaodev
f87dbec170
Add performance tests for the loadDataViewsInRows:columns: in view-based examples and in cell-based example CPTableCibTest. You need to re-build the fmw if you want to compare before/after view-based API.
2012-04-13 09:19:35 +02:00
cacaodev
67f7649f6c
CPTableView with Lion's view-based API
...
Added : -makeViewWithIdentifier:owner:
-rowForView: columnForView: less performant tahn cocoa because we cycle through all visible rows. But these methods are generally used once when editing manually.
Added identifier property to CPView.
retro and forward (in IB) compatible with the existing API. You can use IB table view based without the new API. Existing table views / Nib won't break.
CPTableView view based example. Featuring: IB made data views, different views in the same column, subviews binding in IB
When the view is found automatically in the cib, instantiate with _delegate as the owner (cocoa behavior).
2012-04-13 09:19:23 +02:00
cacaodev
487d38fd21
Merge remote-tracking branch 'upstream/master' into CPImageView-bindings
2012-04-12 23:12:09 +02:00
cacaodev
925a922d90
Remove first row in the plist
2012-04-12 21:41:26 +02:00
Aparajita Fishman
aeb2671fc0
CPImageView enhancements
...
- Changed from deprecated image scaling constants to new ones.
- Added support for CPImageScaleProportionallyUpOrDown (thanks BlairDuncan).
- Cleaned up image layout code.
2012-04-12 14:55:46 -04:00
Aparajita Fishman
502edbd152
nib2cib enhancements
...
- Added support for User Defined Runtime Attributes in IB.
- Added support for userland NS classes in IB.
- Added support for file-based nib2cib configuration.
- Converted nib2cib to Objective-J from straight Javascript.
- Updated man page for new features.
- Test app.
2012-04-12 12:09:24 -04:00
Aparajita Fishman
5fed81e1dc
CFURL/CPURL fixes/enhancements
...
- Fixed bizarre bug where local variable path was being set as attribute of object in CPURL -pathComponents.
- Added CPURL -URLByDeletingLastPathComponent.
- Linted CFURL.js.
- CFURL constructor should copy when passed a CFURL.
- Added CFURL.createCopyDeletingLastPathComponent.
- Added test for URLByDeletingLastPathComponent.
2012-04-12 10:45:01 -04:00
Blair Duncan
ed2e637219
Merge branch 'master' of git://github.com/cappuccino/cappuccino into afterDocumentLoadFix
2012-04-11 06:53:53 -04:00
Blair Duncan
3649b0ed9c
Added test
2012-04-10 19:28:00 -04:00
Aparajita Fishman
5c0e079873
CPBinder: In reverseSetValueFor:, suspend observation to avoid unwanted setValueFor:
...
isssue #1463
Manual test and ojtest.
2012-04-10 17:28:20 -04:00
cacaodev
d649fc2413
Merge remote-tracking branch 'upstream/master' into CPImageView-bindings
2012-04-10 22:26:23 +02: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
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
cacaodev
b6a173cc0c
CPImageView: support CPValueURLBinding and CPValuePathBinding. Readonly. With test.
2012-04-07 13:16:16 +02: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 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