Ross Boucher
e586273a3f
Fix accidental global.
2010-07-28 14:13:12 -07:00
Ross Boucher
d4a0f0cd21
Merge remote branch 'klaaspieter/fix/787-cptablecolumn-editability'
2010-07-28 14:12:49 -07:00
Klaas Pieter Annema and Ross Boucher
8cfba4c242
only offset a nib2cib'ed textfield if it has a bezel
2010-07-28 14:09:11 -07:00
Aparajita Fishman and Ross Boucher
cce13b4b45
NSMenuItem is not reading the tag for some reason
2010-07-28 14:07:45 -07:00
Alexander Ljungberg and Ross Boucher
05e435633f
Fixed: if a custom CPTableView header view was used for a column, such as a CPImageView, sorting by that column would cause an exception as CPTableView tried to send _setIndicatorImage: to the view. The fix is to only send the message if the view supports it.
2010-07-28 13:57:49 -07:00
Mike Fellows and Ross Boucher
6ff3fa0e52
Fix for issue #769 , allow ctrl/cmd keys and F1-F12 keys to propagate to the browser unless they are blacklisted
2010-07-28 13:52:01 -07:00
Aparajita Fishman and Ross Boucher
c3c996f1f7
Don't substitute the font if the textfield is not editable (a label)
2010-07-28 13:50:52 -07:00
Klaas Pieter Annema and Ross Boucher
90e9b86497
match CPTableView's alternating row colors with Aristo's
2010-07-26 22:48:58 -07:00
Klaas Pieter Annema and Ross Boucher
560ea75a25
added CPArrayController to AppKit.j
2010-07-26 22:48:40 -07:00
Klaas Pieter Annema and Ross Boucher
78fd972312
only reverse set the binding on end editing
2010-07-26 22:48:40 -07:00
Klaas Pieter Annema and Ross Boucher
d947c849c8
made _accessorForKey slightly faster by inlining it as a function
2010-07-26 22:48:40 -07:00
Klaas Pieter Annema and Ross Boucher
8ce63a244c
store accessors in a javascript object not a CPDictionary, for slight performance improvement
2010-07-26 22:48:39 -07:00
Klaas Pieter Annema and Ross Boucher
0306c35b54
don't copy the selection indexes in setContent:
2010-07-26 22:48:39 -07:00
Klaas Pieter Annema and Ross Boucher
ff8e5ae42e
save _replacedKeys on the class in stead of the object instance
...
reviewed: Ross
2010-07-26 22:48:39 -07:00
Randall Luecke
51f780b5f5
Merge branch 'master' of github.com:280north/cappuccino
2010-07-22 00:21:51 -05:00
Randall Luecke
cffbf86351
TableView theming
2010-07-22 00:21:02 -05:00
Ross Boucher
709a9b3c61
Merge remote branch 'klaaspieter/fix-758-cpdate-isequal'
2010-07-21 15:04:10 -07:00
Ross Boucher
c35621b669
Merge remote branch 'klaaspieter/fix-756-cpstring-isequal'
2010-07-21 15:03:43 -07:00
Alexander Ljungberg and Ross Boucher
4d1baac4db
Fixed: first clearing a \r keqyEquivalent from one button and then setting it on another would result in an exception.
2010-07-21 14:57:52 -07:00
Alexander Ljungberg and Ross Boucher
474623feb3
Added support for punctuation based key equivalents such as Cmd-' or Cmd-;. Fixed: [event characters] would contain Þ when Cmd-' was pressed and º for Cmd-; since the key codes for punctuation do not match the ASCII codes and String.fromCharCode does not work. Manual test included.
2010-07-21 14:52:05 -07:00
Ross Boucher
85f3691432
Don't add a "Shift" if it's not required.
2010-07-19 16:27:44 -07:00
Klaas Pieter Annema
2ae8d25d18
don't use === for date equality checking
...
Apparently this will return false for equal dates, reverted the actual equality check to what was already in Cappuccino before my fix !(date < otherDate || date > otherDate)
2010-07-19 13:10:15 +02:00
Randall Luecke
a2e6f8f964
Initial theming of TableView header.
2010-07-15 22:32:00 -05:00
Klaas Pieter Annema
564668587c
fix CPDate isEqual: and isEqualToDate:
2010-07-15 14:42:48 +02:00
Klaas Pieter Annema
023cf46041
check for nil in CPString isEqual:
2010-07-15 14:39:24 +02:00
Klaas Pieter Annema
36bb41a945
implemented isEqual: on CPString
2010-07-15 12:49:52 +02:00
Randall Luecke
0cbdb3b2d1
Fix for redrawing issues in tableview. Closes #627
2010-07-12 21:14:48 -05:00
Randall Luecke
70f2d86b58
Fixes for adding and removing columns to the tableview after the tableview has already been displayed... There are still issues though.
2010-07-12 20:45:30 -05:00
Randall Luecke
7696b30067
Added tests for CPFormatter and Foundation import.
2010-07-11 16:57:17 -05:00
Randall Luecke
2a4d3507b8
Implementation fix for CPFormatter to conform to documentation.
2010-07-07 19:49:16 -05:00
Randall Luecke
78a75924de
selectedRowIndexes should return a copy, closes #605
2010-07-07 16:46:48 -05:00
Randall Luecke
a34dfee752
CPFormatter implementation.
2010-07-06 22:43:30 -05:00
Randall Luecke
5ca9b4f370
Merge branch 'master' of git://github.com/280north/cappuccino
2010-07-06 22:43:15 -05:00
Randall Luecke
2a2b320be3
Added image support for overflow toolbaritems. Also disabled the menu items if the toolbar is disabled.
2010-07-06 22:37:58 -05:00
Nicholas Small
071ab7d555
Only use CPView -display* methods while in DOM.
2010-07-02 14:58:23 -04:00
Nicholas Small
e385321f95
CPArrayController -selectedObjects returns a CPObservableArray.
2010-06-30 22:28:02 -04:00
Nicholas Small
21a9ae4c45
Make CPTableView work with selectionIndexes binding.
2010-06-30 12:03:03 -04:00
Nicholas Small
6a689dc3df
Fix for asking the wrong object for -_replacementKeyPathForBinding: when creating a new binding.
2010-06-30 12:00:20 -04:00
Nicholas Small
f34775b038
CPAttributedString should not call its own -beginEditing or -endEditing.
2010-06-29 14:02:37 -04:00
Klaas Pieter Annema
f73d8a55de
implemented isEditable nib2cib support for CPTableColumn
2010-06-29 17:47:36 +02:00
Randall Luecke
9a302328c6
Move the new close button a little to the right to confrom with the Aristo art.
2010-06-26 23:35:33 -05:00
Randall Luecke
cdb1ac32fa
Use the new Aristo HUD window art.
2010-06-26 23:22:24 -05:00
Alexander Ljungberg and Randall Luecke
74af0dc93a
Fixed: Shift + Arrow Keys in allowsMultipleSelection CPTableViews did not expand the selection anymore after the recent key binding updates.
2010-06-26 00:10:30 -05:00
Alexander Ljungberg and Randall Luecke
2da1dc31fb
Simplify CPCollectionView keyboard selection code, eliminate some redundancy.
2010-06-26 00:10:21 -05:00
Alexander Ljungberg and Randall Luecke
6b55c81462
Fixed: Shift + Arrow Keys in allowsMultipleSelection CPCollectionViews did not expand the selection anymore after the recent key binding updates.
2010-06-26 00:10:12 -05:00
Alexander Ljungberg and Randall Luecke
07630964c1
Reverse bindings support for CPCollectionView selectionIndexes. This enables binding a CPCollectionView's selectionIndexes to a CPArrayController.
2010-06-26 00:09:54 -05:00
Andreas and Ross Boucher
a6b7d456f4
Add isLoaded to CFBundle and CPBundle
2010-06-23 20:11:05 -07:00
Ross Boucher
7c5a07f709
Fix the issue where CPSecureTextField would sometimes cause all other text fields to go crazy afterwards.
2010-06-23 19:58:43 -07:00
Ross Boucher
7e25166ce1
Revert the fixed frame size assumption for now.
2010-06-23 19:13:56 -07:00
Randall Luecke
10c067e44f
When dragging over a tableview row we should jump to the next row at the bottom 30% of the row, not 50%... otherwise it gets really really bad with large row heights.
2010-06-21 22:32:18 -05:00