Arkadiusz Młynarczyk and Alexander Ljungberg
ddfac8d717
- moved componentsSeparatedByCharactersInSet: into CPCharacterSetAdditions CPString category
...
- added tests for componentsSeparatedByCharactersInSet:
- ensured Cocoa compatibility of componentsSeparatedByCharactersInSet:
- added new test for CPString boolValue
- fixed CPString boolValue (" ++01" should return NO as in Cocoa, previously it returned YES)
2010-09-10 18:58:18 -04:00
Arkadiusz Młynarczyk and Alexander Ljungberg
009683ddd4
- Exception raising in componentsSeparatedByCharactersInSet: when separator parameter is nil
...
- Added support for edge cases (string is empty or string doesn't contain characters from separator set).
2010-09-10 18:58:10 -04:00
Arkadiusz Młynarczyk and Alexander Ljungberg
8eefb90944
- implemented componentsSeparatedByCharactersInSet:
2010-09-10 18:58:02 -04:00
cacaodev and Alexander Ljungberg
bfbf8fb841
Support for diacritics aware strings comparison
2010-08-04 19:48:06 -04:00
Klaas Pieter Annema
023cf46041
check for nil in CPString isEqual:
2010-07-15 14:39:24 +02:00
Klaas Pieter Annema
36bb41a945
implemented isEqual: on CPString
2010-07-15 12:49:52 +02:00
Stephen Ierodiaconou and Ross Boucher
b98f0b1427
Apply style rules to Foundation
2010-05-26 08:53:05 -07:00
Ross Boucher
db3c6c1463
A few minor updates to the pathExtension patch.
2010-03-27 13:25:44 -07:00
Emmanuel Maillard and Ross Boucher
65a669a9a1
- correct pathExtension and stringByDeletingPathExtension
2010-03-27 13:23:55 -07:00
Emmanuel Maillard and Ross Boucher
33f56bb203
- implement stringByDeletingPathExtension
2010-03-27 13:23:32 -07:00
Ross Boucher
e3dc9fd96b
Make sprintf no longer global, instead ObjectiveJ.sprintf.
2010-03-07 17:41:33 -08:00
Francisco Ryan Tolmasky I
841ed9ea89
Major cleanup of globals and exports. Removed many accidental globals and no more need for eval in the initialization process. Also fixes Theme Showcase.
...
Reviewed by me.
2010-02-20 01:04:17 -08:00
Francisco Ryan Tolmasky I
a4eec5fef8
Fix for UID returning different values every time for CPString.
...
Reviewed by me.
2010-02-09 01:02:49 -08:00
Francisco Ryan Tolmasky I
ec210c49c5
Beginnings of new loader.
...
Reviewed by me.
2010-01-27 00:43:54 -08:00
Ross Boucher
a4d5165a3d
Fix for style issues.
2009-11-26 19:53:36 -05:00
Abhinav Gupta and Ross Boucher
4fdddfb585
Fixed CPString's commonPrefixWithString to be faster.
2009-11-26 19:49:41 -05: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
229debc2b7
Fixes a bug in testHasSuffix, adds test cases for hasSuffix and hasPrefix.
2009-11-09 13:11:04 +01:00
lowell vizon and Francisco Ryan Tolmasky I
377f331b47
Documentation Edits: Replaced <code> and <pre> tags with \c; this allows monospaced text to be displayed with formatted text without needing a new line. See AppKit/CPView after generating documentation for examples. Also added - and + signs to the above changes when referring to either an -instanceMethod or a +classMethod. --lowell@cocoastep
...
Signed-off-by: Francisco Ryan Tolmasky I <francisco@280north.com >
2009-08-08 03:50:50 +08:00
Ross Boucher
b50067e39e
Add a trim function to CPString.
2009-07-27 22:41:47 -07:00
Tom Robinson
7c305c45fc
Merge branch 'master' of git@github.com:280north/cappuccino
2009-06-02 15:04:09 -07:00
Tom Robinson
cfda93d1e3
Update JSON support to json2.js, added in Objective-J. Deprecate CPJSObjectCreateJSON and CPJSObjectCreateWithJSON.
2009-06-02 15:02:25 -07:00
Francisco Ryan Tolmasky I
b1c410d42c
Merge branch 'master' of git@github.com:280north/cappuccino
2009-05-30 23:16:57 -07:00
Francisco Ryan Tolmasky I
f4b4d38165
Coat tailed CPEvents on native DOM events if they exist, saving the creation of many objects.
...
Reviewed by me.
2009-05-30 23:16:18 -07:00
Ross Boucher
7d4c2840eb
All Foundation classes briefed
...
Conflicts:
Foundation/CPSet.j
Foundation/CPTimer.j
Foundation/CPURLConnection.j
2009-05-30 13:46:42 -07:00
Ross Boucher
377107d63a
Fix for stringByReplacingOccurrencesOfString: not working with strings that have regex control characters in them.
2009-05-25 16:12:27 -07:00
Ross Boucher
850125b8ab
Add documentation groups
2009-05-18 15:43:36 -07:00
Ross Boucher
b747cd339a
Closes 123.
2009-05-13 11:33:44 -07:00
tlrobinson
9e7ca719d8
Merge branch 'master' of git@github.com:280north/cappuccino
2009-03-17 18:38:47 -07:00
tlrobinson
b7b0ca40b0
Fixed CPString pathComponents and lastPathComponent to match Cocoa. Added tests.
2009-03-17 18:38:14 -07:00
Ross Boucher
6750b90671
Fixes for some new CPString tests.
2009-02-26 21:30:54 -08:00
Ross Boucher
c29b5f2fef
Use cached math library functions in UUID.
2009-02-04 14:37:48 -07:00
nciagra and Ross Boucher
1758e18bd2
Added UUID generator method to CPString.
2009-02-04 14:27:30 -07:00
Ross Boucher
490ad97f7b
Make stringWithHash: not use sprintf, for performance reasons.
2009-01-20 17:29:27 -08:00
Tom Robinson and Tom Robinson
1a56d10bef
Better JSON method names.
...
Signed-off-by: Tom Robinson <yachttom@gmail.com >
2009-01-07 15:27:27 +08:00
Tom Robinson and Tom Robinson
b3c71fef9e
Simpler JSON APIs as CPString class/instance methods.
...
Signed-off-by: Tom Robinson <yachttom@gmail.com >
2009-01-07 15:27:24 +08:00
Tom Robinson
79ba2af699
Added utilities.js in Objective-J with Base64 encoding/decoding, sprintf moved from CPString. Tests for base64 and sprintf utilities.
2008-12-11 05:23:47 -08:00
Tom Robinson
10db0dab7e
Add %b specifier to sprintf for printing in binary.
2008-12-04 22:11:25 -08:00
Tom Robinson
3b65f460d6
Simplified stringWithHash
2008-11-18 19:28:55 -08:00
Ross Boucher
88f12bad93
implement NSString compare:options:range
...
Thanks to Cacaodev for the ticket and initial stab at this.
[#105 state:resolved milestone:0.6]
2008-11-10 10:29:46 -08:00
Sam McDonald and Francisco Ryan Tolmasky I
9f9cc4c22c
Fix for stringByDeletingLastPathComponent.
...
[#126 state:resolved]
Reviewed by tolmasky
2008-11-08 13:53:53 -08:00
Francisco Ryan Tolmasky I
5144a5a579
Added @accessor support, @import, and fixed spacing bug with @selector.
...
Reviewed by ross.
2008-10-26 00:48:49 -07:00
Ross Boucher
f7aa5c15c9
New style for documentation (/*! vs. /*).
...
Enabled doxygen support.
Merge branch 'documentation'
Conflicts:
AppKit/CPTextField.j
2008-10-20 16:14:09 -07:00
Ross Boucher
42a68812a9
Missing import in CPString
2008-10-20 01:56:24 -07:00
Tom Robinson
abe4dd7abc
sprintf and related functions support for "%@" format specifier
2008-10-19 20:39:04 -07:00
Nick Takayama and Ross Boucher
fc9e5b3a4c
implementing CPString compare: so that sorting will work with default selector
2008-10-17 14:43:43 -07:00
Ross Boucher
847118c35b
Addendum to previous commit.
...
Thanks to Jake MacMullin for this fix.
[#99 state:resolved]
2008-10-12 21:23:19 -07:00
Jake MacMullin and Ross Boucher
5a086243f5
Implemented missing methods on CPString:
...
stringByReplacingOccurrencesOfString:target withString:replacement options:options range:searchRange
stringByReplacingCharactersInRange:range withString:replacement
Signed-off-by: Jake MacMullin <jmacmullin@mac.com >
2008-10-12 21:05:56 -07:00
Ross Boucher
f228934e54
Initial conversion to Doxygen style comments.
2008-10-12 15:57:01 -07:00
Tom Robinson
bf28b8bbc6
CPString -capitalizedString fixed
...
Reviewed by me.
[#90 state:resolved responsible:tlrobinson]
2008-10-05 18:15:36 -07:00