Alexander Ljungberg
025a43ea4e
New: CPThemeStateKeyWindow for CPView.
...
Every view in the key window now takes on the 'key window' theme state. This makes it easy to theme everything in inactive windows in more muted colours. Also, combined with the first responder theme state of the previous commit we can have visuals like "first responder but in an inactive window" for text views and such things.
2014-05-11 15:51:17 +01:00
Alexander Ljungberg
050fcf2ab8
New: CPThemeStateFirstResponder for CPView.
...
When a CPView becomes the first responder it now takes on the 'first responder' theme state, as does all its subviews. This allows it to naturally change appearance when it has the keyboard focus, such as with focus rings and brighter colour schemes.
2014-05-11 15:48:37 +01:00
Alexander Ljungberg
4f9d9d7a1d
Merge pull request #2071 from krodelin/feature-CPLevelIndicator
...
New: Added bidirectional CPLevelIndicator behaviour
2014-05-09 22:55:12 +01:00
Andrew Hankinson
26d6450f0a
Fixed: Variable scope in CPSegmentedControl.j
...
Previously, an errant semicolon resulted in improperly scoped variables in CPSegmentedControl.
This fix removes the semicolon in favour of a comma.
Fixes #2117
2014-05-09 13:15:47 -04:00
Aparajita Fishman
5923f7d859
Fixed: oops, it should have been single backslashes.
2014-05-08 17:40:51 -04:00
Aparajita Fishman
57f6a5ca8c
Tweak: use continuation lines so the tmLanguage symbol parser works correctly.
2014-05-08 17:08:27 -04:00
Antoine Mercadal
59a97272bb
FIXED: Crash due to tooltip trying to be attached to a window that is gone
...
Previously, _CPToolTip was not testing if the view and so parentWindow was still here. During the timer, it might be gone, which would cause crash. This patch ensure the window is still there before showing the tooltip
2014-05-07 10:52:57 -07:00
Antoine Mercadal
584955caa8
FIXED: updateFrameWithSize: was always assuming the popver was open
2014-05-05 13:23:44 -07:00
Antoine Mercadal
951e81158c
FIXED: popverWillShow was called to early and contentSize was returning 0,0 if popover was hidden
2014-05-05 13:22:55 -07:00
Antoine Mercadal
2a88e598ff
FIXED: Crash when using setContentSize: on a popover that is not shown.
2014-05-05 12:52:58 -07:00
Antoine Mercadal
5bf5388552
FIXED: setContentSize: to work when no window is initialized yet
2014-04-30 17:05:51 -07:00
Antoine Mercadal
c19ed471ca
Merge branch 'PopoverContentSize' of https://github.com/Dogild/cappuccino into Dogild-PopoverContentSize
2014-04-30 17:03:50 -07:00
Alexandre Wilhelm
9d694a1589
Fixed: setContentSize doesn't work when called several times
...
Previously when calling setContentSize several times, the final frame of the view was wrong.
I removed the animation as well. This doesn't work, and need a lot more of implementation.
2014-04-30 16:23:00 -07:00
Alexandre Wilhelm
4dadf0cb95
Fixed: CPPopover doesn't change his frame when with setContentSize
...
Previously when we changed the contentSize of an open popover, nothing happens.
Now, we the frame change and it's animated if needed
2014-04-30 15:38:13 -07:00
Alexandre Wilhelm
de4bc67159
Fixed: the way to add the tooltip's window is wrong
...
Previously when adding a tooltip, we added it to the platformWindow.
Now we add id to the window of the targeted view.
Fixed #2110
2014-04-30 13:24:18 -07:00
Alexandre Wilhelm
af37616e48
Fixed: CPToolTip still shown when closing window asynchronous …
...
When closing a windows asynchronous, the tooltip of views of the window could stay shown.
Fixed #2110
2014-04-29 16:43:32 -07:00
Antoine Mercadal
07f7ad0a05
FIXED: Crash when hit CMD+Z on a control in a CPPopover
...
Previously, there were collision in addition delegate bitmask identifiers between CPWindow and _CPPopoverWindow.
This patch fixes this collision
2014-04-23 11:28:41 -07:00
Antoine Mercadal
3e187df75b
FIXED: CPPopover transitionend not correctly called in random cases with Chrome 34
...
There are some weird race conditions happening in Chrome 34 regarding the transitionend event. Setting the timeout to 10ms is not noticealble for the user, and seems to fix the issue.
2014-04-14 15:19:49 -07:00
Antoine Mercadal
af83065df5
FIXED: Warning due to use of aDOMEvent.returnValue
...
This patch fixes a warning thrown by recent versions of Chrome about IE ways of doing. It simply uses aDOMEvent.returnValue if aDOMEvent.preventDefault() and aDOMEvent.cancelBubble if aDOMEvent.stopPropagation are not avavailable
2014-04-08 11:41:45 -07:00
Antoine Mercadal
1557c567d4
FIXED: crash due to wrong delegate bitmask
2014-04-03 15:56:04 -07:00
Antoine Mercadal
8bdaeab998
FIXED: Selection behavior when implementing selectionIndexesForProposedSelection
...
Previously, when delegates implemented tableView:selectionIndexesForProposedSelection:, the selection with arrow were broken. This patch ensure to try to select next/previous row if the current row cannot be selected.
It also cleans up the selection indexes when sending selectAll: as Cocoa does.
2014-04-03 14:10:00 -07:00
Antoine Mercadal
4602549ec8
STYLE: fix coding style issue
2014-04-03 11:34:33 -07:00
Antoine Mercadal
a7b2df2450
Merge pull request #2082 from zittix/patch-2
...
FIXED: CPSegementedControl with nib2cib crashes
2014-04-03 11:33:27 -07:00
Antoine Mercadal
7ac37b75f3
Merge pull request #2097 from Asriwi/fix-textfield-placeholder
...
Fixed: show placeholder string while editing empty CPTextField
2014-04-03 10:50:05 -07:00
Antoine Mercadal
b1e6d57bf1
Merge pull request #2096 from daboe01/fix-text-clobbering-multiple-windows
...
Fixed: editing textFields on different windows can clobber each others contents
2014-04-03 10:45:12 -07:00
Antoine Mercadal
f19c6a0a5b
Merge pull request #2100 from Dogild/TableViewWillRemoveView
...
New: Added delegate tableView:willRemoveView:forTableColumn:row
2014-04-03 10:44:35 -07:00
Antoine Mercadal
789279fe76
Merge pull request #2098 from Dogild/CPBrowserDelegate
...
New: Added CPBrowserDelegate protocol
2014-04-03 10:43:37 -07:00
Antoine Mercadal
39a8d8803a
Merge pull request #2095 from Dogild/CPControlDelegate
...
New: Added CPControlTextEditingDelegate and CPTextFieldDelegate protocol
2014-04-03 10:43:13 -07:00
Antoine Mercadal
f4ce73fc0d
Merge pull request #2094 from Dogild/CPWindowDelegateProtocol
...
New: Added CPWindowDelegate protocol
2014-04-03 10:42:44 -07:00
Antoine Mercadal
cac9d9266c
Merge pull request #2093 from Dogild/CPTokenFieldDelegate
...
New: Added CPTokenFieldDelegate protocol.
2014-04-03 10:42:27 -07:00
Antoine Mercadal
7e94d02fb7
Merge pull request #2092 from Dogild/CPRuleEditorDelegate
...
New: Added CPRuleEditorDelegate protocol
2014-04-03 10:42:10 -07:00
Antoine Mercadal
f3913b1dd2
Merge pull request #2091 from Dogild/CPComboBoxDelegate
...
New: Added CPComboDelegate protocol
2014-04-03 10:41:40 -07:00
Antoine Mercadal
50fc716c15
Merge pull request #2090 from Dogild/CPMenuDelegateProtocol
...
New: Added protocol CPMenuDelegate
2014-04-03 10:41:21 -07:00
Antoine Mercadal
50412392f8
Merge pull request #2089 from Dogild/CPImageDelegateProtocol
...
New: Added protocol CPImageDelegate
2014-04-03 10:40:59 -07:00
Antoine Mercadal
1b80859022
Merge pull request #2088 from Dogild/CPSoundDelegateProtocole
...
New: Added protocol CPSoundDelegate
2014-04-03 10:40:42 -07:00
Antoine Mercadal
c6bd758793
Merge pull request #2087 from Dogild/CPAnimationDelegateProtocol
...
New: Added protocol CPAnimationDelegate
2014-04-03 10:40:07 -07:00
Antoine Mercadal
cd4d657815
Merge pull request #2086 from Dogild/SplitViewDelegateProtocol
...
New: Added CPSplitViewDelegate protocol
2014-04-03 10:39:28 -07:00
Antoine Mercadal
a4852b7a21
Merge pull request #2085 from Dogild/CPPopoverDelegateProtocole
...
New: Added CPPopoverDelegate protocole
2014-04-03 10:39:07 -07:00
Antoine Mercadal
0b3c06abc0
Merge pull request #2083 from Dogild/CPDatePickerAltCommandButton
...
New: Graphical CPDatePicker clicking on the arrows with key mask Command/Control/Alternate
2014-04-03 10:38:35 -07:00
Alexander Ljungberg
1b351ad5bb
New: + CPColor checkerBoardColor for debug use.
...
This color has a standard 'transparency' checkerboard pattern which is especially useful for our scrolling tests where it makes scrolling easy to visualise.
Refs #2078 , #2079 .
2014-04-03 11:38:11 +01:00
Alexander Ljungberg
1a1fc3ef21
Merge pull request #2079 from mockingbird/fix-osx-scrolling
...
Fix OS X scrolling issue. Closes #2078 .
2014-04-03 10:52:24 +01:00
Alexandre Wilhelm
904454d737
New: added delegate outlineView:willRemoveView:forTableColumn:item: in CPOUtlineView
2014-04-02 19:27:40 -07:00
Alexandre Wilhelm
c1fb54ecad
New: Added delegate tableView:willRemoveView:forTableColumn:row
...
Added delegate tableView:willRemoveView:forTableColumn:row in CPTableView
2014-04-02 13:55:39 -07:00
Alexandre Wilhelm
2513cf0969
New: Added CPBrowserDelegate protocol
...
Added CPBrowserDelegate protocol
Also, now, delegate methods are called as we are used to do it in Cappuccino
2014-03-30 18:27:12 -07:00
daboe01
15e16d86e4
fix for text clobbering when switching windows
2014-03-29 20:19:16 +01:00
Alexandre Wilhelm
26118ee881
New: Added CPControlTextEditingDelegate and CPTextFieldDelegate protocol
...
Added CPControlTextEditingDelegate and CPTextFieldDelegate protocol
2014-03-28 11:49:18 -07:00
Alexandre Wilhelm
232cf69006
Fixed: wonrd params for the method _sendDelegateWindowWillReturnUndoManager
2014-03-27 19:54:15 -07:00
Alexandre Wilhelm
9d2fba308d
New: Added CPWindowDelegate protocol
...
Added CPWindowDelegate protocol
Also, now, delegate methods are called as we are used to do it in Cappuccino
2014-03-27 19:52:06 -07:00
Alexandre Wilhelm
1171c9a0b2
New: Added CPTokenFieldDelegate protocol.
...
Added CPTokenFieldDelegate protocol.
Also, now, delegate methods are called as we are used to do it in Cappuccino
2014-03-27 17:43:07 -07:00
Alexandre Wilhelm
9b397245f8
New: Added CPRuleEditorDelegate protocol
...
Added CPRuleEditorDelegate protocol.
Also, now, delegate methods are called as we are used to do it in Cappuccino
2014-03-27 15:25:38 -07:00