Alexander Ljungberg
dcf440396d
Fixed: the outline view was temporarily inconsistent to outside observers while expanding a node.
...
In particular, a selection did change notification was sent before the rows the selection referred to had had a chance to be loaded.
2011-01-13 18:57:36 -03:00
Randall Luecke
1dc10440b7
Documentaion of CPObjectController.
2011-01-13 00:57:07 -05:00
Randall Luecke
0ef2557ec3
Documentation of CPArrayController.
2011-01-13 00:30:50 -05:00
Randall Luecke
05e69c85c7
More documentation of the tableview, outlineview, and table columns. Wrapped formatted documenation in <pre> tags and added sample code for using custom dataviews
2011-01-12 23:40:28 -05:00
cacaodev
9c6476615d
Allow parsing of functions with multiple arguments like multiply:by:(5,2) or FUNCTION('method:arg:', arg1, arg2)
...
Added a missing CPDate.j import in CPExpression_function that was causing an 'unknown variable CPDate' error in deploy builds.
Added documentation for +expressionForSubquery:...
Added licence headers with credits.
2011-01-12 18:43:09 +01:00
Randall Luecke
b393d0597f
If selectedRow no longer exists when numberOfRows change reset it to CPNotFound. Closes #1089 .
2011-01-12 11:49:36 -05:00
Francisco Ryan Tolmasky I
f69e2e8d8f
Merge branch 'master' of github.com:280north/cappuccino
2011-01-12 08:41:26 -08:00
Francisco Ryan Tolmasky I
5fd470acea
Fix for adding a js object to a CPArray and associated tests.
...
Reviewed by me.
2011-01-12 08:41:02 -08:00
Alexander Ljungberg
28e660c295
Merge branch 'master' of github.com:280north/cappuccino
2011-01-12 11:02:33 -03:00
Alexander Ljungberg
9a76b4451f
Cleanup.
2011-01-12 10:54:47 -03:00
Alexander Ljungberg
b50f955cfd
Standardise source file header.
2011-01-12 10:52:35 -03:00
Francisco Ryan Tolmasky I
0aa2e2b298
0.9.0 RC 1.
...
Reviewed by me.
v0.9.0-RC1
0.9.0-RC1
2011-01-11 16:12:30 -08:00
Francisco Ryan Tolmasky I
1f5ad49591
CPMutableArray fixes and tests.
...
Reviewed by me.
2011-01-11 15:27:35 -08:00
Francisco Ryan Tolmasky I
3e45c7895c
More tests and bug fixes for CPArray family.
...
Reviewed by me.
2011-01-11 12:08:00 -08:00
Francisco Ryan Tolmasky I
29301f440e
Fixed a few bugs in CPArray and added many new tests for CPArray.
...
Reviewed by me.
2011-01-11 10:12:26 -08:00
Francisco Ryan Tolmasky I
2f86c0d9d2
Slight initWithArray:shouldCopyItems: fix.
...
Reviewed by me.
2011-01-10 09:21:46 -08:00
Klaas Pieter Annema
e7dbd5a5cc
add test for CPButton setObjectValue: behavior
2011-01-10 09:32:18 +01:00
Francisco Ryan Tolmasky I
62c00bb7f5
Fix for press removing all files.
...
Reviewed by me.
2011-01-10 00:19:34 -08:00
Aparajita Fishman
12f0d2a867
Fixes to content-inset bugs introduced by b80c48886a
2011-01-09 19:04:12 -05:00
Francisco Ryan Tolmasky I
5af66b60e1
Better -copy implementations for KVC arrays and sets.
...
Reviewed by me.
2011-01-09 03:46:29 -08:00
Francisco Ryan Tolmasky I
028a4fe5b2
Merge branch 'CPKeyValueCodingArray-copy' of https://github.com/cacaodev/cappuccino into cacaodev-CPKeyValueCodingArray-copy
2011-01-09 03:29:51 -08:00
Francisco Ryan Tolmasky I
fa6e711c2f
Merge branch 'master' of github.com:280north/cappuccino
2011-01-09 03:27:46 -08:00
Francisco Ryan Tolmasky I
c620c7bf39
Fix for %% being broken in sprintf (minor bugfix for press message showing undefined, larger press bugs remain).
...
Reviewed by me.
2011-01-09 03:25:59 -08:00
Derek Hammer
f3066594fe
Tests for Pull Request 1085
2011-01-08 22:12:20 -06:00
Francisco Ryan Tolmasky I
4db1e28677
Merge branch 'trunk' of https://github.com/meelash/cappuccino into meelash-trunk
2011-01-08 15:27:34 -08:00
meelash
d6cbc52790
Fix for issue #302 CPTabViewItem _tabView is not set. Closes #302
2011-01-08 15:15:13 -05:00
Alexander Ljungberg
0943065498
Merge branch 'master' of github.com:280north/cappuccino into eventualbuddha-CPTokenField-sendAction-fix
...
Conflicts:
AppKit/CPTokenField.j
2011-01-07 18:53:44 -03:00
Alexander Ljungberg
42cc3f309f
Manual test for token field action sending.
2011-01-07 18:52:18 -03:00
Alexander Ljungberg
6d7dc24775
Merge branch 'CPTokenField-sendAction-fix' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPTokenField-sendAction-fix
2011-01-07 18:14:17 -03:00
Klaas Pieter Annema
8faa17ad33
reset allow mixed state when bound
2011-01-07 15:20:12 +01:00
Klaas Pieter Annema
3d5232b308
give objects a chance to change their binder class
...
- make every object calling getBinding:forObject: aware of this change
- implement _CPCheckBoxValueBinder to handle binding to the value of a checkbox Closes : #1083
- re-implement CPTextField's behavior for controller markers using the new binder class
- disabled some tests that are not compliant with Cocoa
2011-01-07 14:14:19 +01:00
Klaas Pieter Annema
c2bab5b369
fix [CPButton setObjectValue:CPOnState]
2011-01-07 14:14:19 +01:00
Klaas Pieter Annema
eee1dcef13
restore the original placeholder when unbinding
2011-01-07 14:14:19 +01:00
Randall Luecke
8254543da7
Fix for scrollColumnToVisisble also scrolling in the Y direction. Also fixed headerview not being scrolled. Closes #1081
2011-01-06 15:22:18 -06:00
Randall Luecke
2028efabc3
Fix for scrollRowToVisible changing the X value instead of just the Y. Closes #1082
2011-01-06 15:08:35 -06:00
Randall Luecke
011c033478
Merge branch 'master' of git://github.com/280north/cappuccino
2011-01-06 14:51:16 -06:00
Randall Luecke
477e9f85be
Fix for variable row heights when initial setup of the tableview had zero rows
2011-01-06 14:50:40 -06:00
Ilya Kulakov
0d5ae63013
The isSubsetOfSet looking for objects inside itself instead of provided set
2011-01-07 02:03:11 +06:00
Francisco Ryan Tolmasky I
aa60a7b975
Use stubbed out Array methods instead of relying on them existing on the object.
...
Reviewed by me.
2011-01-06 10:28:24 -08:00
Francisco Ryan Tolmasky I
c071569f3c
Fix for @import loop when pressing.
...
Reviewed by me.
2011-01-05 18:24:42 -08:00
Alexander Ljungberg
1d717ffe99
Merge branch 'flllow-outlineview-selection'
2011-01-05 21:30:34 -03:00
Alexander Ljungberg
c53fff058b
Preserve selection when expanding items in an outline view.
2011-01-05 21:25:57 -03:00
Alexander Ljungberg
c836bd48e0
Preserve selection when collapsing items in an outline view.
...
This fixes the error where if a row was selected below a certain item and that item was collapsed, the row selection would remain fixed in place even while the item it was highlighting moved upwards.
2011-01-05 21:09:19 -03:00
Alexander Ljungberg
ec675a5662
Deselect outline view items when their ancestor is collapsed.
2011-01-05 20:41:26 -03:00
Alexander Ljungberg
02e72493ef
Unit test outline view data loading and item collapse.
2011-01-05 20:40:30 -03:00
Alexander Ljungberg
dd2ad410b8
Cleanup.
2011-01-05 17:45:51 -03:00
cacaodev
92fb183c22
CPKeyValueCodingArray/Set -copy. Fetch all objects through accessors, that's what cocoa does.
2011-01-05 19:21:13 +01:00
Klaas Pieter Annema
46eca09d69
determine sorted column in setSortDescriptors:
...
Closes #1079
2011-01-05 12:48:19 +01:00
Klaas Pieter Annema
f7bc2b6d06
add a description to CPSortDescriptor
2011-01-05 12:47:36 +01:00
Klaas Pieter Annema
c87cb4bacd
properly fix CPThemeStateNormal behavior
...
- revert the previous fix
- explicitly check for CPThemeStateNormal in hasThemeState:
- update the test case
2011-01-05 12:30:14 +01:00