Antoine Mercadal
f9275a70af
FIXED: New warnings reveleaded by ivar type checking
...
This patch fixes all new warnings
2014-11-06 10:17:05 -08:00
Andrew Hankinson
32657793c8
Formatting: CPURLConnection
2014-06-23 16:13:36 -04:00
Andrew Hankinson
63eb88c6ae
Merge branch 'fix-cfhttp-cpurl-2141-2138' of github.com:ahankinson/cappuccino into fix-cfhttp-cpurl-2141-2138
2014-06-23 15:51:31 -04:00
Andrew Hankinson
28520cc493
Formatting: Cleaning up CPURLConnection
...
Removed some extra whitespace and added a newline at the end of the file.
2014-06-23 15:51:13 -04:00
Ryan Bannon
8be05b404c
Fixed: change variable name
...
Changed "returnValue" to "connection" - more descriptive.
Ref: https://github.com/cappuccino/cappuccino/pull/2144#commitcomment-6769088
2014-06-23 15:47:40 -04:00
Ryan Bannon
ba9eac3ea4
Working #2144 : Reintegrated changes from #2138 and fixed test fail.
...
Now using instance variables for withCredentials. Also fixed test failure.
2014-06-23 13:08:36 -04:00
Andrew Hankinson
ffcef907b3
Fixed: CPURLConnection now accepts withCredentials
...
From the original PR:
CPURLConnection was modified to reduce the withCredentials flag to a file-scope member. This has been done to facilitate use of withCredentials when a developer cannot modify the CPURLConnection manually (e.g. https://github.com/wireload/Ratatosk/blob/master/WLRemoteLink.j , line 466).
Refs #1296 , #2138
2014-06-21 20:36:12 -04:00
Aparajita Fishman
0bd670b2a3
Fixed: extraneous colon in https scheme test.
...
And whitespace formatting.
2013-07-20 13:23:05 -04:00
Aparajita Fishman
b6f0a29f8f
Merge branch 'CPURLConnection-sendSynchronousRequest' of https://github.com/cacaodev/cappuccino
2013-02-19 09:47:40 -05:00
Martin Carlberg
ed6c35a59f
Merge branch 'master' of https://github.com/cappuccino/cappuccino into objj_compiler2
...
Conflicts:
AppKit/CPWindow/CPWindow.j
2013-01-11 20:40:35 +01:00
Alexander Ljungberg
7485c4eb7a
New: -CPHTTPURLResponse allHeaderFields.
...
When a CPURLConnection response is of the CPHTTPURLResponse type, the raw HTTP headers can now be retrieved through the allHeaderFields message.
2013-01-11 10:53:42 +00:00
Martin Carlberg
c297e926f9
Compiler now works with jake and can compiler the whole Cappuccino framework. A lot of test cases still fail
2012-12-16 17:38:47 +01:00
cacaodev
1c3d658ca1
CPURLConnection -sendSynchronousRequest: return nil if CPHTTPRequest failed.
2012-07-27 20:11:59 +02:00
Aparajita Fishman
e2ead56256
Collection KVC fixes, nextObject correctness
...
- Moved common CPArray/CPSet collection KVC operators to _CPCollectionKVCOperators.
- Implemented KVC operator dispatch using Objective-J.
- Fixed infinite loop with empty collection in @min, @max and @sum operators.
- Correctly return valueForUndefinedKey when necessary.
- valueForUndefinedKey reason uses raw description for consistency, class' overridden description may not helpful at all.
- Don't create a forwarder for @ operators with property paths.
- Fixed CPSet -valueForKeyPath to correctly deal with nil/undefined/empty values.
- Added tests for collection KVC operators.
- enumerator -nextObject should always compare against nil for clarity, correctness, and consistency.
2012-04-03 22:16:55 -07:00
Aparajita Fishman
1c2a304ee5
Assignment of function is a statement and should be semicolon terminated. Some miscellaneous linting as well.
2012-01-05 17:51:37 -10: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
Stephen Ierodiaconou and Ross Boucher
b98f0b1427
Apply style rules to Foundation
2010-05-26 08:53:05 -07:00
Saikat Chakrabarti and Ross Boucher
4520715b5b
Making CPURLConnection authentication challenges happen before the delegate gets a response
2010-05-15 19:14:57 -07:00
Francisco Ryan Tolmasky I
272f938f2e
Fix for CPData naming issues, added test cases, and fixed isEqual: for CPDictionary.
...
Reviewed by me.
2010-02-21 23:29:41 -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
474d4281f1
Actual fix for pasteboard exception for strings.
...
Reviewed by me.
2010-02-13 14:39:44 -08:00
Ross Boucher
632251b16c
Infinite recursion error.
2010-02-06 18:31:20 -08:00
Francisco Ryan Tolmasky I
b5ad030e40
Further blend work.
...
Reviewed by me.
2010-01-29 08:04:00 -08:00
Ross Boucher
58c6db0a8f
Fix the logic behind CPURLConnection's _isLocalFileConnection
2009-12-20 13:12:29 -05: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
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
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
8fb0abd3d6
Added briefs to all Foundation and made some cleanups to docs
...
Conflicts:
Foundation/CPArray.j
Foundation/CPBundle.j
Foundation/CPCountedSet.j
Foundation/CPIndexSet.j
Foundation/CPTimer.j
Foundation/CPURLConnection.j
2009-05-30 13:45:26 -07:00
Ross Boucher
b9cbf8274e
Make url connection delegate methods optional
2009-05-19 00:35:51 -07:00
Ross Boucher
850125b8ab
Add documentation groups
2009-05-18 15:43:36 -07:00
Tom Robinson
1d39235a45
Added support for app: protocol in CPURLConnection, for use with Titanium
2009-05-18 01:07:05 -07:00
Thomas Balthazar and Ross Boucher
a4b75b0132
CPURLConnection calls didFailWithError instead of didReceiveResponse for successful HTTP responses other than 200
2009-05-12 16:12:07 -07:00
Francisco Ryan Tolmasky I
e05e8788d6
Fix for CPDocument not opening with file local URLs.
...
Reviewed by me.
2009-01-17 13:50:37 -08:00
Francisco Ryan Tolmasky I
e926aad568
Fixed an issue where local documents could not be opened by Cappuccino's document-apps.
...
Reviewed by me.
2009-01-17 13:31:07 -08:00
Nick Takayama and Francisco Ryan Tolmasky I
4c8d7b0f1c
Timers.
...
[#116 state:resolved]
Reviewed by ross and me.
2008-11-18 02:09:35 -08:00
Ross Boucher
add1776125
Fix for local CPURLConnection requests (file:///)
2008-11-10 23:16:29 -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
a40fbd7961
Add the first draft of documentation inline.
2008-09-10 15:11:37 -07:00
Francisco Ryan Tolmasky I
a97bb72800
Initial commit.
...
Reviewed by francisco, ross and tom.
2008-09-04 03:52:20 -07:00