Randall Luecke
95364b1d31
Tableview fixes including setMaxWidth reset on columns, added grid line to cornerview, cleaned up width validation in sizeLastColumnToFit, and cleaned up TableTest.
2010-02-16 03:00:49 -05:00
Ross Boucher
3e40deba5f
Fix a lot of style issues.
...
Change a 1px value.
Closes #444 .
2010-02-15 21:27:27 -08:00
Ross Boucher
8617990206
Add much better support for CPTableView to nib2cib.
2010-02-15 17:28:35 -08:00
Randall Luecke
4237000fc9
TableView:
...
Set a CPThemeStateHighlighted for both selecting and sorting.
Do not change sort descriptors when selecting with a modifier flag.
Conflicts:
AppKit/CPTableView.j
2010-02-14 21:33:20 -05:00
cacaodev and Randall Luecke
5131aff352
Column sorting : Sort descriptors, sort indicator image, highlighted column.
...
Column resizing : Fixed bug where last column could not be resized.
Left arrow cursor when reaching maxWidth.
Moved table selection code to CPTableView.
Disable automatic resizing when user is resizing column
Partially fixed uniform resizing not prop. to columns width.
2010-02-14 21:32:07 -05:00
Ross Boucher
c37c80771c
Fix broken tests with CPData.
2010-02-12 14:17:58 -08:00
Francisco Ryan Tolmasky I
3a35ab449b
Fixed failing KVO tests.
...
Reviewed by me.
2010-02-12 13:46:26 -08:00
Ross Boucher
da84964a33
Fix two problems with KVC:
...
- valueForKeyPath: looped over individual components, which meant classes couldn't override valueForKeyPath: to do multi-part keys (needed for operators)
- CPArray's valueForKeyPath: implementation was incorrectly parsing the operator if it was a simple key
2010-02-12 12:53:15 -08:00
Ross Boucher
fb8ba655e1
Do not enforce min/max size in setFrame:display:animate: only do so in the other setFrame* variants.
...
Closes #284 .
2010-02-10 19:55:40 -08:00
Alexander Ljungberg and Ross Boucher
f89c2e0ba9
Fixed: CPDates compared equal to nil and CPNull.
2010-02-09 10:59:59 -08:00
Francisco Ryan Tolmasky I
9f847e5a24
Merge branch 'jake' into loader
2010-02-09 01:03:37 -08:00
Alexander Ljungberg and Randall Luecke
a3f9b65501
Implemented [CPDate copy] with unit test. Also whitespace cleanup in CPDate.
2010-02-09 01:57:24 -05:00
Nicholas Small
1f7afe7a49
Merge branch 'jake' of github.com:280north/cappuccino into loader
2010-02-08 10:51:30 -05:00
cacaodev and Randall Luecke
36a85e935b
TableView : Column resizing. Works with column resizingMasks.
...
TODO: Automatic table resizing should only resize columns marked with TableColumnAutoresizingMask.
TODO: When implemented, use CPTrackingArea instead of mouse moved events.
2010-02-08 01:19:10 -05:00
Ross Boucher
4f05657236
Merge branch 'jake' into loader
...
Conflicts:
Objective-J/Preprocessor.js
2010-02-04 11:10:39 -08:00
Randall Luecke
2b87b9f3fc
Styled the test for the tableview headers, also added more rows to tabletest for performance testing.
2010-02-03 22:34:13 -05:00
Francisco Ryan Tolmasky I
21ef259e1f
Fix for being too strict when accepting PLISTs and also fixes a regression with erroring when parsing code with shebangs(!).
...
Closes #69 .
Reviewed by me.
2010-02-03 00:31:37 -08:00
Francisco Ryan Tolmasky I
8284498722
Merge branch 'jake' into loader
...
Conflicts:
AppKit/Platform/DOM/CPPlatformString.j
2010-02-01 20:19:20 -08:00
cacaodev and Randall Luecke
35a7456302
Fixes rows drawing when alternatingRowBackgroundColors > 2. TableTest showing 3 row colors
2010-02-01 10:59:23 -05:00
Ross Boucher
6a9040989d
Merge branch 'jake' into loader
2010-01-31 12:32:41 -08:00
cacaodev and Randall Luecke
86fa759f9f
CPTableHeaderView.j: Gradient headers for canvas capable browsers | Bg images for others. Column selection with pressed state.
...
AppController.j: Modified left table in TestTable to test column selection.
CPTableView.j: Added missing ivar; Fixed -deselectRow|Column:
2010-01-30 13:05:48 -05:00
Francisco Ryan Tolmasky I
59660032e1
nib2cib fixes.
...
Reviewed by me.
2010-01-29 13:22:44 -08:00
Francisco Ryan Tolmasky I
794d8a754c
Make blendtask work with new system.
...
Reviewed by me.
2010-01-28 16:24:18 -08:00
Randall Luecke
dd4735026a
Reset position of the tableview in tabletest
2010-01-24 02:31:01 -05:00
cacaodev and Randall Luecke
e40696a7af
CPTableView: drag & drop improvements
...
- Default dragView containing dragged rows, works with discrete rows
- scroll-as-you-drag feature
- draggingEntered returns a drag operation. Rearranged a bit the code.
- fixed dragPoint/target row
- Modified test app so you can drag in both ways and also move indexes internally
2010-01-23 02:56:59 -05:00
Ross Boucher
7ce72a31c5
Rather than throwing out the entire cappuccino body, throw out a specific div if that div is available.
...
("cappuccino-body"). This let's external libraries, esp. flash ones, add things to the body without
Cappuccino getting rid of them as soon as the page loads.
Closes #421 .
2010-01-22 19:40:33 -08:00
Tom Robinson
a5a6c07b08
Move manual tests to Manual sub dir
2010-01-19 13:16:16 -08:00
luddep
34a6389a92
CPFont now supports multiple font families. Closes #255 .
2010-01-08 18:05:33 +01:00
Randall Luecke
64063fb77d
Support for drag and drop in TableTest
2010-01-07 18:31:59 -06:00
Ross Boucher
6cbaa35849
Add CPOperation to Foundation
2009-12-23 11:30:10 -05:00
Ross Boucher
a1e24a3f95
Fix a bug where keyPaths which had a component evaluating to self would send notifications containing the wrong keypath in the observation.
...
Includes test case.
2009-12-19 17:47:02 -05:00
Ross Boucher
11cff29916
Merge branch 'jake' of git@github.com:280north/cappuccino into jake
2009-12-19 15:32:52 -05:00
Ross Boucher
f184b9bcc4
Add a few KVO tests around arrays
2009-12-19 15:32:23 -05:00
aburkhalter and tlrobinson
deed92cff7
Toll-free bridge Error to CPException. Add rhinoException in objj_exception for better error reporting.
2009-12-19 03:49:22 -08:00
Francisco Ryan Tolmasky I
403277ed06
Further refined KVO tests.
...
Reviewed by me.
2009-12-11 11:16:17 -08:00
Francisco Ryan Tolmasky I
7edb7266f2
Added test for old dependent values in KVO.
...
Reviewed by me.
2009-12-11 10:54:17 -08:00
cacaodev and Ross Boucher
c36c750c5d
CPCursor implementation tested in WebKit/FF/IE/Opera. See comments in the file for more details.
2009-12-04 11:02:57 -08:00
cacaodev and Ross Boucher
01d60ad4e9
CPSearchField changes from issue #194
2009-12-03 19:24:43 -08:00
Abhinav Gupta and Ross Boucher
0575e96b60
Added commonPrefixWithString method to CPString and tests for it.
2009-11-26 18:13:01 -05:00
Ross Boucher
44fbf8afe2
Add support for encoding dates, courtesy of luddep.
2009-11-24 23:02:38 -05:00
Alexander Ljungberg and Ross Boucher
b7da92d225
CPDate initWithString: now takes proper international format strings like NSDate. Similarly CPDate description generates such strings.
2009-11-24 22:42:02 -05:00
Ross Boucher
f2608998f9
Fixes a typo in CPRectContainsRect by simply calling out to CGRectContainsRect. We should explore simply removing this method entirely. Includes test cases. Closes #345 .
2009-11-24 18:30:31 -05:00
Ross Boucher
ffb08d32ce
Fix an issue with storing 0 in a CPSet. Includes test cases. Closes #337 .
2009-11-24 16:06:32 -05:00
Ross Boucher
229debc2b7
Fixes a bug in testHasSuffix, adds test cases for hasSuffix and hasPrefix.
2009-11-09 13:11:04 +01:00
Seth Buntin and Ross Boucher
891d2a28c1
implement CPException tests
2009-10-22 10:05:58 -07:00
Ross Boucher
666ac4acd1
Added test for 09858caaedfdc9211b7ee7355e104890b67d0d5e
...
Conflicts:
Tests/AppKit/CPCollectionViewTest.j
2009-10-16 14:37:58 -07:00
Andreas Falk and Ross Boucher
ea15b247d3
Made the item prototype test in the CPCollectionView test check for identity instead of equality
2009-10-16 14:34:49 -07:00
Ross Boucher
ea252323d2
Cleaned up the test to better fit the xUnit standard
...
Conflicts:
Tests/AppKit/CPCollectionViewTest.j
2009-10-16 14:34:35 -07:00
Ross Boucher
f2e95f7e63
Fix a broken import which caused all tests to fail.
2009-10-15 23:27:15 -07:00
Seth Buntin and Ross Boucher
3055522645
implement CPDictionary Tests
2009-10-15 20:53:21 -07:00