Alexander Ljungberg
124a63736f
Made CPTokenField themeable. Todo: the autocomplete drop-down is still hardcoded and Aristo style images are needed.
2010-10-02 19:36:24 -04:00
Alexander Ljungberg
656e0eb28e
Whitespace cleanup in preparation for the next merge.
2010-10-02 19:19:51 -04:00
Alexander Ljungberg
688c46c793
Fixed some typos in the previous CPTokenField commit.
2010-10-02 15:36:35 -04:00
Alexander Ljungberg
ee2228a83c
Fixed: if [CPTokenField setObjectValue:X] was called while the token field was the first responder, the input value would be set to a string version of the object value due to CPTextField's setObjectValue method.
2010-10-02 15:36:29 -04:00
Klaas Pieter Annema and Alexander Ljungberg
9f4dd3c2b8
added various hacks to make the cptokenfield work with the new enstore admin
2010-10-02 15:36:24 -04:00
Klaas Pieter Annema and Alexander Ljungberg
c80a28077a
fixed some tokenfield issues
2010-10-02 15:36:19 -04:00
Klaas Pieter Annema and Alexander Ljungberg
47c631c58e
added CPTokenField
2010-10-02 15:36:11 -04:00
Alexander Ljungberg
ed4235d2f9
Fixed: setting any binding on a text field - even on an attribute like 'hidden' - would clear its placeholder string.
2010-10-02 14:42:06 -04:00
Alexander Ljungberg
16e9fce5b5
Unit test exposing a new bug: setting a binding on a text field causes it to lose its placeholder string.
2010-10-02 14:38:34 -04:00
Alexander Ljungberg
2e22a0d5e8
Merge branch 'master' of github.com:280north/cappuccino
2010-10-01 17:30:17 -04:00
Alexander Ljungberg
1ae31c9374
Style fixes.
2010-10-01 17:28:55 -04:00
Klaas Pieter Annema
973c43843d
improve multiple selection login in CPCollectionView
2010-10-01 11:31:59 +02:00
Alexander Ljungberg
90709156c6
Merge branch '_CPImageAndTextView-tweaks' of http://github.com/aparajita/cappuccino
2010-09-30 23:52:27 -04:00
Alexander Ljungberg
0d15e59d0a
CPSlider code cleanup.
2010-09-30 23:51:12 -04:00
Aparajita Fishman
60fcb24159
De-lint, whitespace cleanup, typos
2010-09-30 21:14:47 -04:00
Aparajita Fishman
a175e71906
- Fixed type of _textSize.
...
- Changed NULL to nil.
2010-09-30 17:30:58 -04:00
Aparajita Fishman
c3b5dc747a
CPButton bezelRectForBounds and contentRectForBounds were modifying the bounds parameter in place without copying it.
2010-09-30 17:27:06 -04:00
Klaas Pieter Annema
e527c7e19f
fix another bug introduced in my last commit
2010-09-30 18:58:40 +02:00
Klaas Pieter Annema
790327fbe8
revert d18bba6b03, it had unexpected side effect
2010-09-30 18:44:00 +02:00
Klaas Pieter Annema
d18bba6b03
make sure CPScrollView always sets up it's corner and header view when initializing from coder
2010-09-30 18:40:45 +02:00
Aparajita Fishman
0a752be53c
Moved methods defined by BRIDGE into real method declarations so they will be included in doxygen docs, lint cleanup.
2010-09-30 08:37:36 -04:00
Klaas Pieter Annema
b221cc1853
properly decode allows multiple selection in CPCollectionView
2010-09-30 13:54:34 +02:00
Klaas Pieter Annema
2935651578
only nib2cib bundle if bundle path is set in nib
2010-09-30 13:13:18 +02:00
Paul Baumgart
ca2ae22f15
Fix non-ASCII characters in CPDictionary.j and CPFormatter.j
2010-09-29 18:21:10 -07:00
Paul Baumgart
2cc6c54fbf
Start index for var-args needs to be 2, not 0. I only got lucky that it worked anyway.
2010-09-29 15:19:20 -07:00
Mike Fellows
1c597eb0df
Fix regression in CPBox's setBorder
2010-09-29 00:05:15 -07:00
Alexander Ljungberg
28dd74444f
Fixed a string of accidental globals in CPScroller.
2010-09-28 19:50:20 -04:00
Alexander Ljungberg
28cf834e0b
Merge branch 'CGGradientCreateWithColorComponents-location-fix' of http://github.com/eventualbuddha/cappuccino
2010-09-28 19:29:46 -04:00
Alexander Ljungberg
4dc102a3cf
Applied coding standards.
2010-09-28 19:00:59 -04:00
Brian Donovan
23a654d57a
Allow null locations per Quartz 2D documentation.
...
See http://developer.apple.com/library/ios/#DOCUMENTATION/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_shadings/dq_shadings.html%23//apple_ref/doc/uid/TP30001066-CH207-TPXREF101
2010-09-28 08:22:09 -07:00
Klaas Pieter Annema
ffcbf87858
add basic support for drawing separators to CPBox
2010-09-28 14:50:20 +02:00
Ross Boucher
32a0e950fe
Allow comparators to return any value > 1 to indicate CPOrderedDescending.
2010-09-28 16:46:39 +05:30
Randall Luecke
f21ec37531
Fix for NativeHost windows becoming inactive when then go to the background.
2010-09-28 00:18:02 -04:00
Paul Baumgart and Randall Luecke
a8d02f43e2
minor CPTableView clean-ups-- fix missing semi-colon, missing parameter type, and missing space
2010-09-27 22:43:58 -04:00
Paul Baumgart and Randall Luecke
7e863e7e96
selectTabViewItemAtIndex does not look up the TabViewItem to send to the delegate, which causes a JS ReferenceError; this commit fixes that
2010-09-27 22:42:55 -04:00
Randall Luecke
588577bd96
try to use setLocalStorageDatabasePath or use _setLocalStorageDatabasePath if not
...
Conflicts:
Tools/NativeHost/AppController.m
2010-09-27 22:38:32 -04:00
Randall Luecke
ee64c5d832
Proper decoding of delegate and datasource for the tableview.
2010-09-27 17:56:48 -04:00
Antoine Mercadal and Randall Luecke
e55cbbdc0e
Support for localstorage in NativeHost
2010-09-27 16:27:04 -04:00
Klaas Pieter Annema
65c48004ba
properly handle key events manually in the tableview
...
Commit cf6dc3fa5e was wrong. This commit should fix that.
2010-09-27 15:56:00 +02:00
Klaas Pieter Annema
4211abd0b0
handle tab key as early as possible in CPWindow sendEvent:
2010-09-27 11:53:07 +02:00
Klaas Pieter Annema
cf6dc3fa5e
Manually handle key events in CPTableView
2010-09-27 11:50:23 +02:00
Klaas Pieter Annema
fb3da5c5bd
don't handle key events directly in CPScrollView
...
In stead CPScrollView will just pass the keyDown: event up the responder chain. If the event reaches the window, the window will send the correct action back to the first responder, if no responder before CPScrollView in the chain handles the event, CPScrollView will.
2010-09-27 11:50:23 +02:00
Klaas Pieter Annema
e6bd921746
fix CPWindow to only sent certain not handled keys as actions
...
In Cocoa CPWindow will only send moveDown: (down arrow), moveUp: (up arrow), moveLeft: (left arrow), moveRight: (right arrow), pageUp: (page up), pageDown: (page down) and complete: (escape) down the responder chain. This commits makes us fully compatible with Cocoa except that we send scrollPageDown: and scrollPageUp: in stead of pageUp: and pageDown:.
2010-09-27 11:50:23 +02:00
Francisco Ryan Tolmasky I
40dcfbd72c
Merge branch 'master' of github.com:280north/cappuccino
2010-09-27 06:49:18 +05:30
Francisco Ryan Tolmasky I
48d14840ee
Fix file encoding for CPTableView.j.
...
Reviewed by me.
2010-09-26 15:40:36 +05:30
Paul Baumgart
e62fd3cf40
Add a test case to test some reductions of regexes that current cause errors in the Preprocessor.
2010-09-24 16:46:31 -07:00
Paul Baumgart
8cc61cccfd
add behavior tests for methods, ivars, and inheritance; currently, one of the ivar tests fails due to bug #498
2010-09-24 15:10:06 -07:00
Paul Baumgart
0802b80c35
Make local param shadowing detection print a warning instead of throwing a SyntaxError. This way it's easier to test that particular scenario, since this is actually a bug in the Preprocessor.
2010-09-24 15:03:22 -07:00
Paul Baumgart
8de508381a
re-organize directory structure of preprocessor tests
2010-09-24 15:02:07 -07:00
Klaas Pieter Annema
c9e0ab654f
test observations during setSelectionIndexes
2010-09-23 10:59:00 +02:00