Andrew Hankinson
56b613ff8a
Tests: Unit tests for CPURLRequest
2014-12-04 18:05:38 -05:00
Andrew Hankinson
cd2e9e29d4
Tests: Fixed tests for withCredentials
2014-12-04 16:37:34 -05:00
Andrew Hankinson
d1917db47e
Fixed: Reworked withCredentials for XMLHTTPRequests
...
Previously, the withCredentials parameter was accessed primarily through the CPURLConnection, which gave limited access to changing the request before it was sent off.
This commit removes withCredentials from CPURLConnection and places it on CPURLRequest so that it may be more easily modified prior to sending the request. This also simplifies the logic in CPURLConnection for creating and establishing connections with credentials.
In this commit, all CFHTTPRequests are assumed to not use withCredentials unless they are explicitly set. Setting [aURLRequest withCredentials] will set the withCredentials property on the underlying XMLHTTPRequest prior to the connection being opened.
2014-12-04 15:29:52 -05:00
Andrew Hankinson
8024f6a804
Fixed: Move CPURLRequest methods to @accessors
...
This commit changes the simple getters/setters from CPURLRequest to use @accessors.
2014-12-04 15:12:11 -05:00
Alexander Ljungberg
b2557c38dd
Merge pull request #2266 from zittix/patch-2
...
Docs: fixed bootstrap.sh URL due to github URL change
2014-11-28 23:20:59 +00:00
Mathieu Monney
c3fc6a087a
Fixed URL, wasn't the tagged released one.
2014-11-27 13:30:31 +01:00
Mathieu Monney
02a47dc7b9
FIXED bootstrap URL due to github URL change.
2014-11-27 13:25:29 +01:00
Antoine Mercadal
5ab346e5d1
Merge pull request #2254 from primalmotion/objj-typedef-and-ivar-checks
...
Objj typedef and ivar checks
2014-11-26 13:40:56 -08:00
Antoine Mercadal
243024e232
Fix broken tests due to new objj type checks
2014-11-26 13:12:39 -08:00
Antoine Mercadal
b0a7fe4079
Merge branch 'master' into objj-typedef-and-ivar-checks
...
+ fixed new warnings from master
Conflicts:
Foundation/CPNotificationCenter.j
2014-11-26 12:00:34 -08:00
Antoine Mercadal
31afae71d1
Typos
2014-11-26 11:52:25 -08:00
Antoine Mercadal
e7ae969c8e
Merge pull request #2261 from Dogild/CPNotificationBlock
...
New: added method addObserverForName:object::usingBlock: in CPNotificationCenter
2014-11-26 11:51:17 -08:00
Alexander Ljungberg
81e6c5c2fa
Merge branch 'master' of github.com:cappuccino/cappuccino
2014-11-26 11:07:57 +00:00
Alexander Ljungberg
e9f73cbb45
Minor formatting.
2014-11-26 11:07:48 +00:00
Alexandre Wilhelm
d481d9cca5
Fixed: added queue to the method addObserverForName:(CPString)aNotificationName object:(id)anObject queue:(id)queue usingBlock:(Function)block
2014-11-20 23:38:53 -08:00
Alexandre Wilhelm
fe25dbd872
New: added method addObserverForName:object::usingBlock: in CPNotificationCenter
...
Previously, the method addObserverForName:object::usingBlock: didn't exist in Cappuccino.
Now it does.
To observe, you need to use the method - (id <CPObject>)addObserverForName:(CPString)aNotificationName object:(id)anObject usingBlock:(Function)block
To unregister observations, you pass the object returned by this method to removeObserver:. You must invoke removeObserver: or removeObserver:name:object:.
Test /Tests/Foundation/CPNotificationCenterTest.j
Fixed #2259
2014-11-20 15:24:23 -08:00
Antoine Mercadal
0dcc645f22
Fix a missing @class declaration
2014-11-20 11:50:18 -08:00
Antoine Mercadal
f3090e7827
Update test cases
2014-11-20 11:44:51 -08:00
Antoine Mercadal
37b9895878
Add check to ensure a @class declaration is not already defined as a type
2014-11-20 11:44:32 -08:00
Antoine Mercadal
d5b4d66272
Merge pull request #2260 from Dogild/MenuCrash
...
Fixed: CPMenu crash when opening a menu with items and then opening the menu without items
2014-11-19 16:29:45 -08:00
Antoine Mercadal
653f706f1b
Update README
2014-11-19 16:29:05 -08:00
Antoine Mercadal
d106e6485b
Add some manual test cases for objj output
2014-11-19 16:23:56 -08:00
Antoine Mercadal
460a60440a
Correctly set the type of datasource in CPComboBox
2014-11-19 14:53:38 -08:00
Antoine Mercadal
9e66c699e1
FIXED: prevent to declare a type that is already declared as a class and vice-versa
2014-11-19 14:35:33 -08:00
Antoine Mercadal
86d2431925
CPWebScriptObject is a class, not a typedef
2014-11-19 14:34:52 -08:00
Alexandre Wilhelm
d30659c37c
Fixed: CPMenu crash when opening a menu with items and then opening the menu without items
...
Previously, when opening a menu with items and then opening another menu without items, Cappuccino simply crashed. Now it works !
2014-11-19 14:27:19 -08:00
Antoine Mercadal
1402133c32
Merge pull request #2164 from daboe01/fixed--CPTextField-&-Bindings--data-updates-even-though-no-editing-has-taken-place
...
Fixed: textField bindings delete data in case of multiple selection after tabbing out with no editing
2014-11-17 12:49:15 -08:00
Antoine Mercadal
5a99e18d7c
Merge pull request #2238 from Dogild/ChainSheetWindow
...
Fixed: unable to chain sheet in a window
2014-11-17 12:42:15 -08:00
Antoine Mercadal
afe326c1c1
Merge pull request #2258 from t00f/fix_controlSize_height
...
Fixed: Enable CPTextField to have a specific height
2014-11-17 12:40:37 -08:00
Antoine Mercadal
e40612a032
Merge pull request #2255 from ahankinson/fix-default-jakefile
...
Fixed: Environment configuration in Jakefile templates
2014-11-17 12:39:43 -08:00
Antoine Mercadal
9c6cca7db6
Merge pull request #2257 from primalmotion/textfield-multiline-support
...
NEW: Support for multiline mode in CPTextField
2014-11-17 12:39:00 -08:00
Christophe Serafin
a5283a26ab
Fixed: Enable CPTextField to have a specific height
...
When setting controlSize, CPTextfield height was forced to min-size height.
Now we check that the frame size is between the min and the max size. It allows to constrain
a CPControl to have a fixed height by specifying a min-size equivalent to the maxsize.
In CPTextField case, we only have a min-size which enable us to have a specific size.
Changes has been made in Aristo2 only.
2014-11-14 13:49:33 -08:00
Antoine Mercadal
e2020fa7f2
Add CPAltEnterTextAreaFeature checking. FF doesn't add a cariage return on textarea when doing alt+enter
2014-11-13 00:17:29 -08:00
Antoine Mercadal
de3f6d3e82
Add manual test
2014-11-13 00:10:37 -08:00
Antoine Mercadal
e7cde2ca5f
Add support for usesMultilineMode and fix wraps and scrolls in nib2cib
2014-11-13 00:10:22 -08:00
Antoine Mercadal
0c7b2ae702
NEW: Support for multiline mode in CPTextField
...
This patch adds support for CPTextField with multiline content. It uses
a DOM textarea when needed, instead of DOM input.
It also disable the spellchecking, fixes a bug where the input element was not
correctly resized when the frame changed, and refactor some code
2014-11-12 23:59:46 -08:00
Antoine Mercadal
0cafb3fac5
FIXED: CPViewController coming from a XIB could call viewDidLoad two times
...
This patch ensure that CPViewController is never calling viewDidLoad more than one time.
2014-11-10 17:03:34 -08:00
Antoine Mercadal
d8718cc20f
Merge pull request #2256 from Dogild/PlatformWindowKey
...
Fixed: CPWindow doesn't take the event when moving from another platformWindow
2014-11-07 16:26:15 -08:00
Antoine Mercadal
c484e4afe5
Merge pull request #2244 from ahankinson/fix-deprecate-nativehost
...
Fixed: NativeHost is no longer built by default
2014-11-07 15:48:50 -08:00
Antoine Mercadal
e155cca65e
Merge pull request #2245 from ahankinson/fix-cleanup-tools-folder
...
Fixed: Removed old CI scripts from the Tools directory
2014-11-07 15:48:25 -08:00
Antoine Mercadal
5cad5b095a
Merge pull request #2250 from Dogild/CursorContentInset
...
Fixed: text cursor for CPTextField class doesn't take content-inset in account
2014-11-07 15:46:39 -08:00
Antoine Mercadal
2dff805d40
Merge pull request #2251 from Dogild/ThemeComboBox
...
Fixed: wrong content-inset for CPComboBox
2014-11-07 15:45:46 -08:00
Antoine Mercadal
0afd65539f
Merge pull request #2253 from Dogild/XcodeCappNotificationXib
...
Fixed: notification xib converted wasn't displayed anymore
2014-11-07 15:43:26 -08:00
Alexandre Wilhelm
664d5777fd
Fixed: CPWindow doesn't take the event when moving from another platformWindow
...
Previously, when moving from platformWindow to another platformWindow, the targeted window didn't get the new event because the keyWindow of the application was still set to the other platformWindow.
This PR fixes another issue about opening panel in a platformWindow. When opening a panel in a platformWindow, cappuccino set the new key window to the wrong platformWindow.
2014-11-07 15:43:18 -08:00
Antoine Mercadal
9a307269ca
FIXED: CPButtonBar was not removing old button set from the view
...
This patch ensure that when we are using setButtons: old buttons are actually removed from the superview
2014-11-07 14:25:35 -08:00
Alexandre Wilhelm
ab2657b795
Fixed compilation warning in nib2cib
2014-11-06 15:11:58 -08:00
Antoine Mercadal
57d435b6db
NEW: .gitignore ignores .tm_properties
2014-11-06 14:59:40 -08:00
Alexandre Wilhelm
ee5e22c574
Merged
2014-11-06 13:30:26 -08:00
Alexandre Wilhelm
1ce6a630d2
Fixed: warnings from objj were displayed several times
2014-11-06 13:29:16 -08:00
Antoine Mercadal
aee89b1f63
NEW: option to define if the reporting window should stay on top
2014-11-06 12:21:23 -08:00