Randall Luecke
47afb96c4c
Drawing fixes for the tableview gradient.
2011-01-17 23:30:04 -05:00
Randall Luecke
467dc3c2d5
OutlineView docs.
2011-01-17 20:13:54 -05:00
Randall Luecke
7e3079add6
Magic enable to outlineview variable item height
2011-01-17 20:07:15 -05:00
Francisco Ryan Tolmasky I
9796f5d5d7
Fix CPPopUpButton menu support.
...
- Added enumerateObjectsUsingBlock: to CPArray
- Fixed a remaining case of [] being used instead of objectAtIndex: in CPMutableArray.
- Added KVO support for menu items array in menus.
- Changed CPPopUpButton to use KVO to sync up with menu instead of notifications.
- Removed extra menu encoding in CPPopUpButton.
- Removed extra mainMenu object from CPApplication.
- Use setters in CPResponder instead of direct ivar access in initWithCoder:.
Closes #298 .
Closes $1059.
Reviewed by me.
v0.9.1-RC2
v0.9.0-RC2
0.9.0-RC2
2011-01-17 01:31:15 -08:00
Stephen Ierodiaconou
37323b811c
Merge branch 'master' of git://github.com/280north/cappuccino into imports
...
Conflicts:
Foundation/CPDecimalNumber.j
Foundation/CPPredicate/CPComparisonPredicate.j
Foundation/CPPredicate/CPCompoundPredicate.j
Foundation/CPPredicate/CPExpression.j
Foundation/CPPredicate/CPExpression_aggregate.j
Foundation/CPPredicate/CPExpression_constant.j
Foundation/CPPredicate/CPExpression_function.j
Foundation/CPPredicate/CPExpression_keypath.j
Foundation/CPPredicate/CPExpression_self.j
Foundation/CPPredicate/CPExpression_set.j
Foundation/CPPredicate/CPExpression_subquery.j
Foundation/CPPredicate/CPExpression_variable.j
Foundation/CPPredicate/CPPredicate.j
2011-01-16 10:03:42 +02:00
Randall Luecke
8720a952b0
Fix for scrollview flashing while uniformly resizing columns. Closes #1075
2011-01-16 00:23:14 -05:00
Randall Luecke
bf4724d401
Fix for textfield jumping when textfield wasn't the right size or the vertical alignment was something other than center.
2011-01-15 23:15:55 -05:00
Randall Luecke
c73e2e1a91
Fix for nib2cib'd textfields jumping when editing
2011-01-15 21:45:37 -05:00
Randall Luecke
630cd121a6
Typo in docs
2011-01-15 20:40:24 -05:00
Randall Luecke
5d88ffbe66
Merge branch 'decimal' of https://github.com/stevegeek/cappuccino into stevegeek-decimal
2011-01-15 20:32:24 -05:00
Randall Luecke
bd5aa1c959
Merge branch 'CPPredicate' of https://github.com/cacaodev/cappuccino into cacaodev-CPPredicate
2011-01-15 18:50:12 -05:00
Stephen Ierodiaconou
c65bfd22a2
Use native javascript array for mantissa for big performance increase
2011-01-16 01:47:14 +02:00
Randall Luecke
e656e0561b
removeTableColumn: on the outlineview shouldn't allow removal of outlineTableColumn per cocoa.
2011-01-15 18:31:41 -05:00
Randall Luecke
ddbba22533
Only set the outlineview column if it's the first column added.
2011-01-15 18:10:28 -05:00
Randall Luecke
91b5596034
Merge branch 'cacaodev-CPOutlineView'
2011-01-15 17:59:13 -05:00
Stephen Ierodiaconou
e0185a0eff
Documentation for CPDecimalNumber
2011-01-15 21:58:47 +02:00
Stephen Ierodiaconou
2fe8845842
CPDecimalString returns NaN for a NaN and Fix Compare of NaNs and Cocoa compatable handling of overflow/underflows when no exception
2011-01-15 19:29:55 +02:00
Stephen Ierodiaconou
c02128a1fd
Instantiate default number handler lazily and fix CPDecimalNumberHandler initialisers and CPDecimalNumberHandler docs
2011-01-15 18:50:47 +02:00
Stephen Ierodiaconou
27ad98e160
Initialiser fixes and docs
...
Fix tests for new initialisers
2011-01-15 16:40:11 +02:00
Stephen Ierodiaconou
fc746db70f
Cocoa compatible constructors for CPDecimals
2011-01-15 16:12:06 +02:00
Stephen Ierodiaconou
6a6256bdb4
CPCoding support for CPDecimalNumber and test
2011-01-15 14:15:31 +02:00
Stephen Ierodiaconou
5a0cfc1595
Make default number hanler file global only and Improvements and optimisations for CPDecimalNumber
2011-01-15 11:49:20 +02:00
Stephen Ierodiaconou
32107ab650
Improvements to CPDecimalNumberHandler including docs and archiving/unarchiving and associated test.
2011-01-15 09:38:31 +02:00
Stephen Ierodiaconou
494f615aaa
Merge branch 'master' into imports
...
Conflicts:
Foundation/CPScanner.j
2011-01-15 09:11:46 +02:00
Francisco Ryan Tolmasky I
5c2ebd546c
Don't include a delegate class entry in Info.plist for nib application templates.
...
Reviewed by me.
2011-01-14 15:42:23 -08:00
cacaodev
72b8ed2faf
CPOutlineView: If nil, set outlineTableColumn when the first column is added.
...
nib2cib: handle indentationPerLevel when the key is not in the xib.
CPoutlineViewCibTest
2011-01-15 00:39:38 +01:00
Alexander Ljungberg
6b8c85df7c
Additional testing for outline view archiving.
2011-01-14 19:59:25 -03:00
Alexander Ljungberg
cce4e3ded8
Fixed: manual CPBrowser test's click handler threw an exception.
2011-01-14 14:46:37 -03:00
Alexander Ljungberg
0240c648aa
Encode delegate when archiving CPBrowser.
2011-01-14 14:36:57 -03:00
Alexander Ljungberg
6019ff9107
Fixed: archiving 'undefined' would cause an exception.
2011-01-14 14:25:11 -03:00
Alexander Ljungberg
c4ee83e4c1
Basic CPBrowser CPCoding support.
2011-01-14 13:34:18 -03:00
Alexander Ljungberg
61b0cbb1af
Test CPBrowser data loading.
2011-01-14 12:42:38 -03:00
Alexander Ljungberg
af30e96b7b
Cleanup.
2011-01-14 12:16:51 -03:00
Alexander Ljungberg
b7bdec189a
Fixed: when an outline view node was expanded, selections below it would not stick to their items if the newly expanded node also had previously expanded children.
2011-01-14 12:10:52 -03:00
Alexander Ljungberg
2a27a87ae6
Fixed: CPOutlineView could not be archived with CPCoding. Closes #1093 .
...
This fixes the exception "[_CPOutlineViewTableViewDataSource encodeWithCoder:] unrecognized selector sent to instance".
2011-01-13 22:18:05 -03:00
Alexander Ljungberg
31ac84f683
Fix non ASCII codes in documentation.
2011-01-13 20:59:28 -03:00
Alexander Ljungberg
c41defe864
Merge branch 'master' of github.com:280north/cappuccino
2011-01-13 20:56:58 -03:00
Alexander Ljungberg
6bc109f7fc
Optimised: outline view expandItem:expandChildren:YES sent repeated selection change notifications.
2011-01-13 20:51:43 -03:00
Alexander Ljungberg
2d603df83c
Fixed: outline view's collapseItem sent up selection notifications in triplicate, each of them at the wrong time.
2011-01-13 20:03:06 -03:00
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