Aparajita Fishman
3364733bd6
Typo
2013-03-06 10:19:26 -05:00
Martin Carlberg and Aparajita Fishman
0b1805d96f
Fixed: Temporary removed test case asserting throw when creating CPDictionary with nil object
2013-03-06 07:57:23 -05:00
Martin Carlberg and Aparajita Fishman
cfe099bb30
Fixed: Broken test case
2013-03-06 07:57:18 -05:00
Alexander Ljungberg
f4b08a9ce2
New: - CPObject performSelector:withObject:afterDelay:.
...
Also - CPObject cancelPreviousPerformWithTarget: and other related methods.
2013-03-05 18:52:06 +00:00
Alexander Ljungberg
9ce5c1c4d7
Fixed: alignment in CPGrahicsTest.
...
Refs #1801 .
2013-02-26 16:28:15 +00:00
Alexander Ljungberg
1aa57ca11b
Test: expose errors in CGPathMoveToPoint.
...
This test highlights the problem described by issue #1801 , and exposes that CGPathMoveToPoint is in fact not working correctly after the fix either.
2013-02-26 16:27:54 +00:00
cacaodev
10d120ccfd
Removed tracing in test apps. Added CPTrace.j in Tests/Manual/, available for any app who wants to import and use it. Added utility function computing moving average.
2013-02-26 16:06:02 +01:00
cacaodev
7d03483210
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
AppKit/CPView.j
2013-02-26 11:56:18 +01:00
aparajita
6a8cba521b
Merge pull request #1627 from ggsato/CPArrayControllerFirstSelectionTest
...
a suggested fix for CPArrayController selection binding failure in retri...
2013-02-25 18:16:04 -08:00
Alexander Ljungberg
5b05dc92a1
More dictionary literals.
2013-02-25 18:27:44 +00:00
Alexander Ljungberg
8bcbeb0aa9
Improve code readability with dictionary literals.
2013-02-25 17:02:36 +00:00
Alexander Ljungberg
472848da91
New: array literals in Objective-J 2.0.
...
Array literals look like `@[a, b, c]`.
This syntax is supported for completeness and source compatibility, but are not terribly useful since standard JavaScript arrays are toll-free bridged to CPArray.
Array literals could be handy if you're replacing CPArray with your own implementation.
2013-02-25 14:57:05 +00:00
Alexander Ljungberg
5200f945fe
New: dictionary literals in Objective-J 2.0.
2013-02-25 14:24:29 +00:00
Alexander Ljungberg
00f60ccaa4
Merge branch 'master' of github.com:cappuccino/cappuccino
2013-02-24 23:54:56 +00:00
Alexander Ljungberg
6d1c4a9570
Fixed: - CPMutableArray removeObjectIdenticalTo did not remove all instances, was documented incorrectly.
...
Contrary to what the previous documentation said, removeObjectIdenticalTo: should remove all instances of the argument from the receiver, not just the first one.
2013-02-24 23:51:48 +00:00
Aparajita Fishman
c6a0e209ad
Using a new naming scheme for tests
2013-02-24 18:51:22 -05:00
Alexander Ljungberg
c4370240f8
Fixed: subclasses of CPMutableArray had broken removeObject:.
...
The `removeObject:` default provided in CPMutableArray would not work in subclasses because it relied on the class having a .length property.
2013-02-24 23:43:20 +00:00
aparajita
fd0bdcba67
Merge pull request #1797 from cacaodev/issue1357
...
Fix for issue #1357
2013-02-24 15:42:58 -08:00
cacaodev
bf1e720ebc
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2013-02-24 23:01:43 +01:00
cacaodev
d2143844e3
Fix for issue #1357
2013-02-24 18:47:37 +01:00
Alexander Ljungberg
0268f9865c
Faster CPMutableArray removeObjectIdenticalTo:.
...
About 6-8X speedup by skipping all the `indexOfObjectIdenticalTo:` calls and going straight to JS `indexOf`.
2013-02-24 15:19:00 +00:00
aparajita
c401e3b55e
Merge pull request #1497 from BlairDuncan/afterDocumentLoadFix
...
fix to enables the startup loader to continue if dynamically loaded
2013-02-23 18:01:28 -08:00
Aparajita Fishman
3dad330a59
Font metrics calculations were broken, now fixed.
...
Updated FontMetricsExplorer application to modernize html files.
2013-02-23 16:02:05 -05:00
cacaodev
fb3fe24567
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
Tests/Manual/CPOutlineViewCibTest/Resources/MainMenu.cib
2013-02-23 20:55:54 +01:00
Aparajita Fishman
a011596231
CGContext fixes/enhancements
...
- NEW: Retrieve the underlying Image element from a CPImage with -image.
- NEW: You can now render any arbitrary drawing to a pattern context and use that as a fill or stroke pattern. See CGContextCreatePatternContext, CGContextSetFillPattern and CGContextSetStrokePattern. Works in all canvas-enabled browsers, including IE 9+.
- NEW: An example of using a custom rendered pattern is in Tests/Manual/PatternFillTest.
- NEW: Test if a CPImage is a single image (vs. three/nine part) with -isSingleImage.
- FIXED: With canvas, we have to track ourselves whether the context has a path or not.
- FIXED: All shapes except rects may not be added to a path with no context. If you attempt to do so, an error is logged.
- FIXED: CGPath was not setting the start and current point correctly in some cases.
- FIXED: CGContextAddPath was not moving to the path's start point at the beginning.
- FIXED: Removed superfluous CGContextClosePath commands, fixed some drawing sequences.
- FIXED: Misc. formatting.
Sorry, these changes are canvas only (including IE 9+)! I am not going to spend the time to port these fixes to VML (IE 8).
2013-02-23 13:53:20 -05:00
Blair Duncan
ac5a4b88d2
updated the testfile
2013-02-23 10:24:29 -05:00
cacaodev
12e743f9dc
nib2cibed viewBasedCib example to resurrect scrollers
2013-02-23 14:52:38 +01:00
cacaodev
16bb194019
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.cib
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.xib
2013-02-23 10:55:08 +01:00
Aparajita Fishman
a9952a28a4
CPRadioGroup enhancements
...
- You may now bind radio groups to selectedValue, selectedTag, selectedIndex, enabled, and hidden. enabled and hidden are multiple value bindings.
- Added some API to CPRadioGroup that parallels NSMatrix: selectRadioAtIndex:, selectRadioWithTag:
- Added setEnabled/setHidden, they operate on all of the radios in the group.
- Sample app to demonstrate all new features.
2013-02-23 00:01:19 -05:00
Aparajita Fishman
7c677de10a
Fixed bugs in CPColorWithImages and CPImageInBundle
2013-02-22 21:58:12 -05:00
Blair Duncan
5c3d3bbc2e
updated added a menu to tablebindings test and doxygen comments
2013-02-22 09:45:26 -05:00
Andrew Hankinson
b0e307bdd0
NSBrowserTest initial commit
2013-02-21 14:07:01 -05:00
Aparajita Fishman
fb01ceb2a9
Formatting
2013-02-21 07:39:57 -05:00
Aparajita Fishman
109f59ab6c
Merge branch 'autosaveTableColumnsFix'
2013-02-21 07:37:09 -05:00
Alexander Ljungberg
169f8eaad1
Merge branch 'master' of github.com:cappuccino/cappuccino
2013-02-20 19:57:24 +00:00
Alexander Ljungberg
56ec9dbb10
Feature to open the attached sheet test window in HUD mode.
...
This is not a bad kitchen sink test for HUD widgets and windows.
2013-02-20 16:35:09 +00:00
cacaodev
899cd22999
Fix local hidding global variable in CPOutlineViewCibTest
2013-02-20 17:16:40 +01:00
cacaodev
3aadc958eb
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
Foundation/CPURLConnection.j
Tests/Manual/CPOutlineViewCibTest/Resources/MainMenu.cib
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.cib
2013-02-20 17:15:24 +01:00
Alexander Ljungberg
79dde7bb9b
Use HUD style buttons in HUD style test window.
2013-02-20 14:39:50 +00:00
aparajita
230988b90d
Merge pull request #1785 from aradabaugh/cgcanvascontext
...
Fixes #1403 w/formatting and style for missing CGCanvasContext functions. Also...
2013-02-19 18:01:11 -08:00
Aparajita Fishman
02b7198e9b
Added action bindings to CPMenuItem
...
Updated MultipleValueBindings app to use action bindings in About and Help menu items.
2013-02-19 17:25:29 -05:00
Aparajita Fishman
ba372029f9
Update MultipleValueBindings app to use a button that binds to a target with no arguments
2013-02-19 16:22:58 -05:00
Adam Radabaugh
a774e52988
Fixes formatting and style for missing CGCanvasContext functions. Adds CGCanvasContext test.
2013-02-19 14:10:39 -07:00
aparajita
23d3cef52e
Merge pull request #1517 from BlairDuncan/FlashViewFix
...
CPFlashView a few minor fixes, includes Test file
2013-02-19 07:16:28 -08:00
Aparajita Fishman
6a5b6a70b5
I was wrong, a single value binding for CPTextField does have default placeholders. Updated MultipleValueBindings app to display a single value binding as well.
2013-02-19 10:07:21 -05:00
Aparajita Fishman
b6f0a29f8f
Merge branch 'CPURLConnection-sendSynchronousRequest' of https://github.com/cacaodev/cappuccino
2013-02-19 09:47:40 -05:00
Aparajita Fishman
dc366809c8
Merge branch 'CPCollectionView-maxNumberOfRows' of https://github.com/cacaodev/cappuccino
2013-02-19 09:38:10 -05:00
aparajita
9e99676b66
Merge pull request #1777 from BlairDuncan/CPDictionaryController
...
CPDictionaryController [+1]
2013-02-19 05:22:29 -08:00
Blair Duncan
8eb59d97b2
replaced setContest with setContentDictionary in test
...
enabled "prepairs content" in xib to show key, key1 etc when added
2013-02-18 22:54:42 -05:00
Blair Duncan
35b54117e0
xib
2013-02-18 17:14:32 -05:00