Martin Carlberg and GitHub
86d595b086
Fixed: Make the isa property on classes not enumerable. ( #3100 )
...
As we have a tool-free bridges between many classes and JavaScript types by setting the isa property on the type, for example CPArray and Array. Using the for...in enumeration the isa property will be included in the loop if the property is enumerable (this is the default behavior). This commit set the property as not enumerable.
Also added test case for check that the isa property on classes are not enumerable using a for...in loop.
2025-05-14 10:09:01 +02:00
Antoine Mercadal
8e16e6266e
Fix a bug where CPURL was not encoding self._baseURL and self._string
2013-01-07 16:04:08 -08:00
Aparajita Fishman
5fed81e1dc
CFURL/CPURL fixes/enhancements
...
- Fixed bizarre bug where local variable path was being set as attribute of object in CPURL -pathComponents.
- Added CPURL -URLByDeletingLastPathComponent.
- Linted CFURL.js.
- CFURL constructor should copy when passed a CFURL.
- Added CFURL.createCopyDeletingLastPathComponent.
- Added test for URLByDeletingLastPathComponent.
2012-04-12 10:45:01 -04:00
Alexander Ljungberg
10ec8b528c
Correct return type for [CPURL staticResourceData].
2011-04-27 13:14:44 -04:00
Klaas Pieter Annema
38f896d018
fix CPURL equality check
2011-03-28 18:56:25 +02: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
Alexander Ljungberg
251ba407be
Implement CPURL isEqualToURL:.
2010-12-15 11:08:28 +01:00
Alexander Ljungberg
c65726fb12
Fixed: CPURL isEqual threw an exception if the argument was not a CPURL.
2010-12-14 23:49:24 +01:00
Francisco Ryan Tolmasky I
d69f46f7ee
More capp_linting.
...
Reviewed by me.
2010-12-09 13:45:29 -08:00
Derek Hammer
fc545ed995
Adding support for CPURL
2010-09-06 14:18:53 -05:00
Stephen Ierodiaconou and Ross Boucher
b98f0b1427
Apply style rules to Foundation
2010-05-26 08:53:05 -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
Francisco Ryan Tolmasky I
deba653661
Fix for unrecognized selector in CPURL's initWithCoder:.
...
Reviewed by me.
2010-03-26 01:30:50 -07:00
Francisco Ryan Tolmasky I
89bd5f5b93
Fixed remaining failing CPURL tests and removed prints from CFURL tests.
...
Reviewed by me.
2010-03-06 12:10:57 -08:00
Francisco Ryan Tolmasky I
ae25f489ad
Add back in accidentally removed "baseURL".
...
Reviewed by me.
2010-03-06 11:40:24 -08:00
Francisco Ryan Tolmasky I
b2ffe7e509
Further cleaning and bringing CPURL up to speed with CFURL.
...
Reviewed by me.
2010-03-05 21:11:53 -08:00
Francisco Ryan Tolmasky I
eb57d14673
Further migration from file paths to CFURLs.
...
Reviewed by me.
2010-03-03 01:04:25 -08:00
Tom Robinson
7defbce1dd
Fix more incorrect type annotations
2010-02-24 22:45:34 -08:00
Francisco Ryan Tolmasky I
b5ad030e40
Further blend work.
...
Reviewed by me.
2010-01-29 08:04:00 -08:00
Francisco Ryan Tolmasky I
c8ed0f5436
Changed usages of string paths to CPURL objects.
...
Reviewed by me.
2009-09-14 01:01:05 -07:00
Francisco Ryan Tolmasky I
a32368f89a
Simply added constants to top of CPURL.j.
...
Reviewed by me.
2009-09-12 12:09:51 -07:00
Tom Robinson
4f1d9fe836
CPURL -description
2009-09-11 19:46:09 -07:00
Tom Robinson
98df1859af
Inital CPURL
2009-09-11 19:46:09 -07:00