daboe01
00ebc265d8
make _targetRect an ivar
2015-01-02 19:35:09 +01:00
daboe01
5995b42872
fixed: popover positioning
2014-12-25 17:37:18 +01:00
Antoine Mercadal
3aa8eb9533
Merge pull request #2267 from ahankinson/fix-zindex-on-body
...
Fixed: z-index of -1000 caused a blank screen in some browsers [+1]
2014-12-19 08:19:47 -08:00
Antoine Mercadal
c4fbef2dd3
Merge pull request #2280 from Dogild/RuleEditorDragging
...
Fixed: crash when dragging the first line of a RuleEditor above the field Any
2014-12-09 19:37:29 -08:00
Alexandre Wilhelm
92b997fb78
Fixed: crash when dragging the first line of a RuleEditor above the field Any
...
Previously, cappuccino crashed when dragging the first line of a CPRuleEditor above the field any.
Now we make sure, we can not drag over this limit.
2014-12-09 19:04:12 -08:00
Antoine Mercadal
05d602c313
Merge pull request #2279 from Dogild/CPDatePickerEnter
...
Fixed: CPDatePicker takes key code CPReturnKeyCode all the time
2014-12-09 18:11:38 -08:00
Antoine Mercadal
e1d92bd630
Merge pull request #2265 from Dogild/FocusRingDatePicker
...
Fixed: CPDatePicker doesn't have a focusRing when editing
2014-12-09 17:42:59 -08:00
Antoine Mercadal
373951a75e
Merge pull request #2275 from Dogild/ButtonBarRemove
...
Fixed: button are always removed from the superview in layoutSubviews
2014-12-09 17:40:27 -08:00
Antoine Mercadal
f17898d43d
Merge pull request #2276 from Dogild/PopoverWindowObserver
...
Fixed: wrong option for the observer in _CPPopoverWindow
2014-12-09 17:39:52 -08:00
Antoine Mercadal
129eef79a3
Merge pull request #2274 from kevin-xu/vim-typedef-supported
...
New: Highlighted "@typedef" in VIM.
2014-12-09 17:39:11 -08:00
Antoine Mercadal
e3988e7b84
Merge pull request #2277 from t00f/cppredicate_editor
...
Fix controls' heights that are displayed in CPPredicateEditor
2014-12-09 17:38:53 -08:00
Alexandre Wilhelm
9174338140
Fixed: CPDatePicker takes key code CPReturnKeyCode all the time
...
Previously, the CPDatePicker took the key code CPReturnKeyCode all the time. It means, the key event wasn't redistributed to the other component, for example a defaultButton in a window.
Now instead of returning YES, it returns [super performKeyEquivalent:anEvent]
2014-12-09 17:26:02 -08:00
Christophe Serafin
1016c3e22f
Fix controls' heights that are displayed in CPPredicateEditor
...
Lastly, we removed the usage of max-size to enable some controls like CPTextField to have
a specific height. This may caused a CPTextField to have a wrong height.
As all controls in a CPPredicateEditor have a CPControlSize to small, we now force their height to the minimum size.
2014-12-08 18:54:35 -08:00
Alexandre Wilhelm
b74d49b0bf
Fixed: changed option for observer in _CPPopoverWindow.j
2014-12-08 15:54:25 -08:00
Alexandre Wilhelm
8b29369b7e
Fixed: wrong option for the observer in _CPPopoverWindow
...
Previously the option of the observer in _CPPopoverWindow were set to 0, now it's set to CPKeyValueObservingOptionNew.
This PR fix also another issue, the popoverWindow registered the observer in the wrong order. It firstly observed the frame of the sender and then removed it directly. Now it register when ordering front the popover and remove it when closing the popover
2014-12-08 15:36:31 -08:00
Alexandre Wilhelm
cb5fe06e58
Fixed: button are always removed from the superview in layoutSubviews
...
Previously, the button of a CPButtonBar were always removed and readded in the method layoutSubviews.
Now we only remove the hidden button.
2014-12-08 15:29:28 -08:00
kevin-xu
4ebb2baf06
New: Highlighted "@typedef" in VIM.
...
"@typedef" should be highlighted since #2254 .
2014-12-08 22:00:02 +08: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
Alexandre Wilhelm
77f962eed4
Style: removed comment in CPDatePicker
2014-11-28 09:58:44 -08:00
Andrew Hankinson
18a6ecc79a
Fixed: z-index of -1000 caused a blank screen in some browsers
...
Previously, a z-index value of -1000 caused some browsers to not display certain UI elements correctly. Setting this value to 0 instead seems to fix this.
This commit changes the default value in the templates generated by `capp gen`.
Fixes #2232 , Refs #2194
2014-11-27 11:22:40 -05: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
Alexandre Wilhelm
4fd3ce606a
Merge branch 'FocusRingDatePicker' of https://github.com/Dogild/cappuccino into FocusRingDatePicker
2014-11-26 12:04:39 -08:00
Alexandre Wilhelm
ad364b6184
Fixed: CPDatePicker doesn't have a focusRing when editing
...
Previously, the CPDatePicker didn't have a focus ring when an user was editing it.
Now it does. It works for Aristo1 and Aristo2.
Test App in Tests/Manual/CPDatePickerTest
Fixed #2263
2014-11-26 12:04:00 -08:00
Alexandre Wilhelm
3269ba10ec
Fixed: CPDatePicker doesn't have a focusRing when editing
...
Previously, the CPDatePicker didn't have a focus ring when an user was editing it.
Now it does. It works for Aristo1 and Aristo2.
Test App in Tests/Manual/CPDatePickerTest
2014-11-26 12:01:40 -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