Alexander Ljungberg
e44ffdc7f4
CPString subtringWithRange: and rangeOfString:options:range now throws CPRangeException for out of bounds ranges.
2011-04-10 21:20:22 -04:00
Alexander Ljungberg
91ef6bf925
Fixed: CPString rangeOfString:options:range returned locations relative to the passed-in range instead of the full string.
2011-04-10 21:05:43 -04:00
Alexander Ljungberg
a33dd51d8e
Fixed: searching a string for @"" with CPString rangeOfString returned results other than CPNotFound.
2011-04-10 20:38:51 -04:00
Alexander Ljungberg
2166fc1d51
Fixed: CPString rangeOfString: anchored backwards search did not work.
2011-04-10 20:19:04 -04:00
Alexander Ljungberg
b29e722132
Fixed: CPString rangeOfString: backwards search did not work. Fixes #1065 .
2011-04-10 20:12:33 -04:00
Ross Boucher
31dbd208f4
We don't need to copy the string since strings are immutable in javascript.
2011-03-02 13:26:49 -08:00
Stephen Ierodiaconou
6a942630e4
Fixing spelling mistakes
2011-01-24 11:05:48 +02:00
Stephen Ierodiaconou
494f615aaa
Merge branch 'master' into imports
...
Conflicts:
Foundation/CPScanner.j
2011-01-15 09:11:46 +02:00
Alexander Ljungberg
9a76b4451f
Cleanup.
2011-01-12 10:54:47 -03:00
Stephen Ierodiaconou
4aa4f1a62a
Some more missing imports
2010-12-26 01:47:26 +02:00
Francisco Ryan Tolmasky I
3c8619db5d
Merge branch 'fixes' of https://github.com/stevegeek/cappuccino into stevegeek-fixes
...
Conflicts:
Foundation/CPValueTransformer.j
2010-12-20 11:13:54 -08:00
Francisco Ryan Tolmasky I
4372edb7c4
Fix for remaining reference to objj_standardize_path.
...
Closes #1040 .
Reviewed by me.
2010-12-16 09:51:44 -08:00
Stephen Ierodiaconou
fd812f25a5
Imports additions
...
Import fixes and clean up
Missing import
Missing imports
Missing import
Remove uncessary comments
2010-12-16 19:16:33 +02:00
Francisco Ryan Tolmasky I
d69f46f7ee
More capp_linting.
...
Reviewed by me.
2010-12-09 13:45:29 -08:00
Ross Boucher
1e2fdc3e1b
Remove tabs; Update some of the toll free bridging code.
2010-12-08 15:44:28 -08:00
Ross Boucher
a767d2199d
Merge branch 'tollfreefix' of https://github.com/hammerdr/cappuccino into hammerdr-tollfreefix
2010-12-08 13:35:22 -08:00
Derek Hammer
d4d831b9ac
Fixing a bug caused by the function inline.
2010-12-01 20:12:12 -08:00
cacaodev
3b35219beb
Fix [[string copy] isEqual:[string copy]] == NO
2010-11-07 21:43:02 +01:00
Derek Hammer
ae5d56471f
Inlining function, fixing a style issue.
2010-10-14 19:31:04 -05:00
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
Derek Hammer
4e1766485f
Updating CPDictionary and CPString to both actually subclass.. not just create a new object without inherited properties.
2010-09-06 13:46:27 -05:00
Derek Hammer
a09878dcb4
Adding self checks in toll free bridged objects so that they are subclassable.
2010-09-06 12:07:50 -05: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