Alexander Ljungberg
|
9b8cadb91c
|
Fixed some additional accidental globals. Very addictive this.
|
2010-09-15 17:41:58 -04:00 |
|
 Aparajita FishmanandAlexander Ljungberg
|
18696e6bc2
|
Ensure CPControl -performClick unhighlights the button if the action throws.
|
2010-08-27 15:58:35 -04:00 |
|
 Klaas Pieter AnnemaandRoss Boucher
|
78fd972312
|
only reverse set the binding on end editing
|
2010-07-26 22:48:40 -07:00 |
|
Ross Boucher
|
19d5431f60
|
Revert "slightly delay triggering the action in CPControl performClick: to make sure the click is always visible"
This reverts commit eaf4fa240f.
|
2010-06-16 08:54:30 -07:00 |
|
Klaas Pieter Annema
|
eaf4fa240f
|
slightly delay triggering the action in CPControl performClick: to make sure the click is always visible
|
2010-06-16 14:16:17 +02:00 |
|
Randall Luecke
|
d5ee07fe1b
|
CPControl should not be allowed to performClick: if it's disabled.
|
2010-06-02 20:43:09 -05:00 |
|
Ross Boucher
|
8fd564b034
|
Minor cleanup to the current test cases.
|
2010-05-28 10:54:45 -07:00 |
|
Ross Boucher
|
7c3f94dd87
|
Merge remote branch 'klaaspieter/bindings-fixes' into bindings
Conflicts:
AppKit/CPControl.j
Foundation/CPValueTransformer.j
|
2010-05-28 10:23:47 -07:00 |
|
Klaas Pieter Annema
|
084da71420
|
exposed more bindings on CPControl
|
2010-05-27 15:22:40 +02:00 |
|
Alexander Ljungberg
|
ef9d2d1775
|
Reverse update value binding when control editing stops, not only when the action fires. This causes tabbing out of a text field to update the binding source. Based on the description of the bindings option NSContinuouslyUpdatesValueBindingOption this is the right thing to do: if NSContinuouslyUpdatesValueBindingOption is on, update on every character; "otherwise the update is made only when the user interface item resigns as the responder."
|
2010-05-26 19:51:51 -04:00 |
|
Alexander Ljungberg
|
be13a14330
|
Hack to make [textField bind:CPValueBinding ...] work. Without this, any observed change leads to a [textField setValue:X forKey:"value"] which in turn leads to a direct ivar access changing the value in textField._value. This means the text field has no idea the value changed and it doesn't update to show the new text. I'm not sure what the right solution should be here. It looks like _replacementKeyPathForBinding should play into this and change the end result to [textField setValue:X forKey:"objectValue"] which would work fine. But currently _replacementKeyPathForBinding applies to the observed key path, not the bound one.
|
2010-05-26 19:51:28 -04:00 |
|
Klaas Pieter Annema
|
51c90223fc
|
exposed enabled binding on CPControl and made sure CPControl's bindings are only exposed once
|
2010-05-26 16:44:55 +02:00 |
|
Klaas Pieter Annema
|
6f0ca9d94c
|
Merge branch 'master' into bindings
Conflicts:
AppKit/CPTableView.j
AppKit/_CPCornerView.j
Foundation/CPArray.j
Foundation/CPKeyValueCoding.j
Foundation/CPKeyValueObserving.j
|
2010-04-15 10:57:46 +02:00 |
|
Ross Boucher
|
91681d7846
|
Move more constants to CPControl.j
|
2010-02-17 17:06:09 -08:00 |
|
Ross Boucher
|
1328bc732f
|
Move around some imports and constant declarations.
|
2010-02-17 16:29:57 -08:00 |
|
Ross Boucher
|
02cdee6c75
|
Fix a missing import.
|
2010-02-17 16:08:11 -08:00 |
|
Francisco Ryan Tolmasky I
|
bc53288fca
|
Fix for failing CPAttributedString test.
Reviewed by me.
|
2010-02-13 16:14:18 -08:00 |
|
Ross Boucher
|
0e558d54e5
|
Move CPControl constants to that file (from CPTextField).
Respect line break mode in NSControl nib2cib.
Closes #420.
|
2010-02-12 21:16:44 -08:00 |
|
 luddepandRoss Boucher
|
fe2599eb35
|
buttons now momentarily go the the pressed state when clicked programmatically. Closes #187
|
2010-01-07 22:17:05 -08:00 |
|
Ross Boucher
|
648fbe1b10
|
Add sendsActionOnEndEditing to the CPCoding methods for CPControl
|
2009-12-18 15:54:44 -05:00 |
|
Ross Boucher
|
f612683dfb
|
Taking this out for now.
|
2009-11-17 10:26:58 -08:00 |
|
Ross Boucher
|
11e6ad2153
|
Adding a simple way to set a function for the target/action
|
2009-11-17 09:28:44 -08:00 |
|
Ross Boucher
|
ba84e6d3e2
|
Support for sendsActionOnEndEditing in CPControl. Only works for textfields right now.
|
2009-10-28 00:12:03 -07:00 |
|
 cacaodevandRoss Boucher
|
5b531b2005
|
Improved autoresizing mechanism for attached sheets
|
2009-10-08 12:13:55 -07:00 |
|
Ross Boucher
|
3635d0ec26
|
Bindings Checkpoint.
|
2009-09-21 13:27:50 -07:00 |
|
Ross Boucher
|
b63e50dacb
|
Fix for the objectValue/value thing in bindings. Removed unnecessary code in CPControl
|
2009-09-20 19:33:03 -07:00 |
|
Ross Boucher
|
417b5c8b97
|
Merge branch 'master' into bindings
|
2009-09-20 18:14:17 -07:00 |
|
Ross Boucher
|
7aa58fa98a
|
Include default methods for nextState and setState
|
2009-09-12 20:48:44 -04:00 |
|
 lowell vizonandFrancisco 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 |
|
Francisco Ryan Tolmasky I
|
4ad2c2221f
|
Merge branch 'master' into bindings
Conflicts:
AppKit/CPControl.j
AppKit/CPSlider.j
Foundation/CPArray+KVO.j
|
2009-07-22 16:41:58 -07:00 |
|
Francisco Ryan Tolmasky I
|
8b25240d04
|
Cleaned up CPControl ephemeral views code and got rid of some dead code in cib logic.
Reviewed by me.
|
2009-06-10 11:49:16 -07:00 |
|
Ross Boucher
|
7f60bdec4f
|
Update the documentation of methods define with the BRIDGE macro
|
2009-06-01 10:01:44 -07:00 |
|
Francisco Ryan Tolmasky I
|
6d8e1705b8
|
Cleaned up button's sizeToFit.
Reviewed by me.
|
2009-05-19 12:02:10 -07:00 |
|
Ross Boucher
|
850125b8ab
|
Add documentation groups
|
2009-05-18 15:43:36 -07:00 |
|
Francisco Tolmasky
|
b23d62190d
|
Further cleanup of encoding/decoding for AppKit classes.
Reviewed by me.
|
2009-05-16 17:39:22 -07:00 |
|
Francisco Tolmasky
|
862af9cbae
|
First stab at fixing Themeing API.
Reviewed by me.
|
2009-05-10 13:04:02 -07:00 |
|
Ross Boucher
|
0c63a5aba4
|
Add defaultButton to CPWindow, set up default key bindings
|
2009-04-13 21:22:32 -07:00 |
|
Francisco Tolmasky
|
880e4dfb3a
|
Merge branch 'master' into tolmasky
Conflicts:
AppKit/CPControl.j
AppKit/CPTextField.j
|
2009-03-18 17:41:17 -07:00 |
|
Ross Boucher
|
19d26f148f
|
Reverting the tooltip change, fixes bug in CPToolbar.
|
2009-03-10 11:50:31 -07:00 |
|
 cacaodevandRoss Boucher
|
faac82287f
|
Fixed bug in previous commit of setToolTip:
|
2009-03-05 14:46:25 -08:00 |
|
Ross Boucher
|
0fdfd8919f
|
Remove the tabs.
|
2009-03-05 14:45:34 -08:00 |
|
 M ESCOandRoss Boucher
|
55fa6024db
|
Added tooltip support
|
2009-03-05 14:40:56 -08:00 |
|
Francisco Tolmasky
|
6a0958f9c1
|
Some scroll view nib fixes.
Reviewed by me.
|
2009-02-21 17:17:29 -08:00 |
|
Francisco Tolmasky
|
51ad4b2b06
|
Further work on CPTextField.
Reviewed by me.
|
2009-02-18 13:06:56 -08:00 |
|
Francisco Tolmasky
|
6ad037e469
|
Fix for major theme state bug.
Reviewed by me.
|
2009-02-18 02:22:10 -08:00 |
|
Ross Boucher
|
4de3a34a3e
|
CPObjectController now works, as do bindings and CPControls.
|
2009-02-16 00:37:50 -08:00 |
|
Francisco Tolmasky
|
699550c879
|
Fixes to Cib support.
Reviewed by me.
|
2009-02-13 14:45:18 -08:00 |
|
Francisco Tolmasky
|
50baf5fd50
|
Further improvements.
Reviewed by me.
|
2009-02-10 01:12:34 -08:00 |
|
Ross Boucher
|
c028425f14
|
More bindings fixes.
|
2009-02-09 17:35:25 -08:00 |
|
Francisco Tolmasky
|
abd86c676b
|
Theming for CPScroller.
Reviewed by me.
|
2009-02-07 18:38:34 -08:00 |
|