Randall Luecke
|
7696b30067
|
Added tests for CPFormatter and Foundation import.
|
2010-07-11 16:57:17 -05:00 |
|
Randall Luecke
|
2a4d3507b8
|
Implementation fix for CPFormatter to conform to documentation.
|
2010-07-07 19:49:16 -05:00 |
|
Randall Luecke
|
a34dfee752
|
CPFormatter implementation.
|
2010-07-06 22:43:30 -05:00 |
|
Nicholas Small
|
f34775b038
|
CPAttributedString should not call its own -beginEditing or -endEditing.
|
2010-06-29 14:02:37 -04:00 |
|
Andreas
|
a6b7d456f4
|
Add isLoaded to CFBundle and CPBundle
|
2010-06-23 20:11:05 -07:00 |
|
Alexander Ljungberg
|
f2c01cbbbd
|
In CPUndoManager, handle the edge cases if an object changes from being an Objective-J object to being just a JS object. Also handle the case where an Objective-J object could theoretically compare equal to nil - CPNull isEqual:.
|
2010-06-16 08:50:42 -07:00 |
|
Alexander Ljungberg
|
c807358216
|
Support non Objective-J objects in CPUndoManager's no-op check for auto undo.
|
2010-06-16 08:50:34 -07:00 |
|
Alexander Ljungberg
|
685c3c9853
|
Don't add no-ops to the undo stack when using automatic undo manager mode. This is necessary when used together with bindings since controls issue reverse binding updates whenever editing ends, which would add a 'do nothing' undo entry on the stack in cases where nothing changed.
|
2010-06-16 08:50:27 -07:00 |
|
Alexander Ljungberg
|
5c5412db67
|
Make didChangeValueForKey work even if willChangeValueForKey was not called.
|
2010-06-11 14:08:07 -07:00 |
|
Scott Kyle
|
1899250a53
|
Semicolons are nice...
|
2010-06-10 16:42:28 -05:00 |
|
Alexander Ljungberg
|
51825db716
|
Fixed: [CPDate description] did not generate a correct date for users in timezones with a negative timezone offset.
|
2010-06-10 10:49:49 -07:00 |
|
Ross Boucher
|
7c3f94dd87
|
Merge remote branch 'klaaspieter/bindings-fixes' into bindings
Conflicts:
AppKit/CPControl.j
Foundation/CPValueTransformer.j
|
2010-05-28 10:23:47 -07:00 |
|
Alexander Ljungberg
|
48fb660e66
|
The problem with initialize in fb5950c82d0124bdebb6e03cb4509306ef4161c8 turned out to be caused by a Cappuccino bug with class methods and arguments named 'name'. Renaming the argument solved the problem so I reverted the initialize change. This fix also fixes valueTransformerForName.
|
2010-05-26 19:49:49 -04:00 |
|
Alexander Ljungberg
|
79ed04e403
|
Fixed: including CPValueTransformer.j causes an infinite loop due to the recent Objective-J (mis?) behavior that every class has to inherit from CPObject. Also, the transformer map failed to initialize properly with the existing setup code for reasons which were not immediately clear. Moving the initialization to a regular + initialize method eliminated the problem.
Fixed: CPKeyValueBinding.j would throw an exception if a named value transformer option was specified, due to CPValueTransformer.j not being imported.
|
2010-05-26 19:47:45 -04:00 |
|
Alexander Ljungberg
|
5ff8ddf5f3
|
Fewer bindings debug log messages.
|
2010-05-26 19:44:14 -04:00 |
|
Alexander Ljungberg
|
5463e5ca55
|
Fixed: CPArray insertObject:inArraySortedByDescriptors: did not return the index into which the object was inserted. This would have broken CPArrayController's addObject code.
|
2010-05-26 19:36:26 -04:00 |
|
Alexander Ljungberg
|
ed2c65dd6f
|
Merge branch 'master' of git://github.com/280north/cappuccino into bindings-merge
Conflicts:
AppKit/CPTableView.j
Foundation/CPArray+KVO.j
Foundation/CPArray.j
|
2010-05-26 19:05:04 -04:00 |
|
cacaodev
|
0062caafdf
|
CPObject -implementsSelector:
|
2010-05-26 10:06:49 -07:00 |
|
Stephen Ierodiaconou
|
b98f0b1427
|
Apply style rules to Foundation
|
2010-05-26 08:53:05 -07:00 |
|
Stephen Ierodiaconou
|
b6a3d2b283
|
Remove import of deprecated CPLog.j
Remove deprecated CPLog.j
|
2010-05-26 08:52:59 -07:00 |
|
Stephen Ierodiaconou
|
0d848e3d93
|
Add test on self in init of CPAttributedString
|
2010-05-26 08:52:46 -07:00 |
|
Stephen Ierodiaconou
|
065197980b
|
CPCoder typo fixes
|
2010-05-26 08:51:58 -07:00 |
|
Klaas Pieter Annema
|
3cd44284c4
|
- added CPValueTransformer to Foundation.j
- made CPValueTransformer import Foundation objects directly
- gave the build in transformers CPValueTransformer as superclass
|
2010-05-26 16:46:44 +02:00 |
|
Klaas Pieter Annema
|
bc0fa6a62e
|
made removeObject on _CPKVCArray work properly
|
2010-05-26 16:45:55 +02:00 |
|
Klaas Pieter Annema
|
0315ad38f9
|
- fixed CPKeyedUnarchiver decodeBytesForKey attempting to access nil (or undefined) data
- improved CPSearchField nib2cib support
|
2010-05-25 11:48:03 -07:00 |
|
Klaas Pieter Annema
|
2a630a7210
|
made CPDictionary call [super valueForKey:] on keys prefixed with @
|
2010-05-25 11:40:45 -07:00 |
|
Randall Luecke
|
359a29874b
|
Return a copy instead of the array itself.
|
2010-05-24 22:44:14 -05:00 |
|
Randall Luecke
|
f9da7f73b3
|
Added missing pathComponents method to CPURL.
|
2010-05-24 21:59:37 -05:00 |
|
Ross Boucher
|
be26ab9201
|
CPDictionary is now KVO compliant.
|
2010-05-24 10:09:39 -07:00 |
|
klaaspieter
|
08b06b8632
|
implemented CPCoding support for CPSortDescriptor and made CPTableColumn decode it's _sortDescriptorPrototype
Conflicts:
AppKit/CPTableColumn.j
Tools/nib2cib/NSTableColumn.j
|
2010-05-20 22:51:01 -05:00 |
|
Randall Luecke
|
a9f970459b
|
Fix for undoManager thowing exception in -canUndo.
|
2010-05-19 01:33:13 -05:00 |
|
Saikat Chakrabarti
|
4520715b5b
|
Making CPURLConnection authentication challenges happen before the delegate gets a response
|
2010-05-15 19:14:57 -07:00 |
|
Alexander Ljungberg
|
791e65c88b
|
Improved CPArray sortUsingDescriptors performance by about 3% by pulling the descriptor count out of the sort function.
|
2010-05-15 12:32:19 -07:00 |
|
Ross Boucher
|
fddcde757f
|
Add a more specific cache header.
Closes #649.
|
2010-05-15 12:22:29 -07:00 |
|
Paul Baumgart
|
bc5a21d545
|
Change objj_exception_throw to manually throw an exception, because objj_exception_throw doesn't exist anymore.
|
2010-05-15 12:19:06 -07:00 |
|
Ross Boucher
|
13a5c7f215
|
indexOf is not a safe operation on arrays.
|
2010-05-12 16:51:28 -07:00 |
|
Francisco Ryan Tolmasky I
|
0ade0e1361
|
Merge branch 'master' of github.com:280north/cappuccino
|
2010-05-11 14:05:51 -07:00 |
|
Ross Boucher
|
0f02e0d8dd
|
Revert "added enumerateWithBlock: to CPArray"
This reverts commit 39bb8e3418.
|
2010-05-11 12:40:37 -07:00 |
|
klaaspieter
|
7c786407a5
|
Merge remote branch 'klaaspieter/column-reordering'
Conflicts:
AppKit/CPTableHeaderView.j
|
2010-05-11 01:18:56 -05:00 |
|
Ross Boucher
|
34ee33aea0
|
Merge commit '6f0ca9d94c217bc5e3c3' into bindings
|
2010-05-06 13:35:00 -07:00 |
|
Klaas Pieter Annema
|
2d93d12cad
|
Made bindings branch jake buildable
|
2010-05-06 13:33:38 -07:00 |
|
Ross Boucher
|
542e491bb4
|
whitespace cleanup.
|
2010-05-06 11:26:56 -07:00 |
|
Klaas Pieter Annema
|
9c9eb519df
|
call willChange* and didChange* methods on the actual classes
|
2010-05-06 11:23:49 -07:00 |
|
Klaas Pieter Annema
|
65362e727a
|
Merge branch 'master' of git://github.com/280north/cappuccino
|
2010-05-05 12:03:51 +02:00 |
|
Francisco Ryan Tolmasky I
|
179ef85f4e
|
Final timer fix.
Reviewed by me.
|
2010-05-04 14:49:31 -07:00 |
|
Francisco Ryan Tolmasky I
|
2c23c0ffa7
|
Disable new timer stuff for CommonJS.
Reviewed by me.
|
2010-05-04 10:09:16 -07:00 |
|
Klaas Pieter Annema
|
fda974458e
|
Merge branch 'master' of git://github.com/280north/cappuccino
|
2010-05-04 15:55:17 +02:00 |
|
Francisco Ryan Tolmasky I
|
032fe7cc0c
|
Fix for timers not working if they are created outside of a run loop.
Reviewed by me.
|
2010-05-04 03:32:16 -07:00 |
|
Ross Boucher
|
2453e403ef
|
Make nil a completely valid object in a CPArray.
Closes #630.
|
2010-04-29 12:04:44 -07:00 |
|
Klaas Pieter Annema
|
015aca9165
|
Merge branch 'master' of git://github.com/280north/cappuccino
|
2010-04-27 10:36:12 +02:00 |
|