Paul Baumgart
ca2ae22f15
Fix non-ASCII characters in CPDictionary.j and CPFormatter.j
2010-09-29 18:21:10 -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
Klaas Pieter Annema
c9e0ab654f
test observations during setSelectionIndexes
2010-09-23 10:59:00 +02:00
Klaas Pieter Annema
d8c0d2da8e
don't reverse set binding if textfield is showing a bindings placeholder
2010-09-23 10:35:42 +02:00
Klaas Pieter Annema
e59f20668b
don't set objectValue in resignFirstResponder if it didn't change
...
This change makes sure that the textfield doesn't sent change notifications if the value didn't actually changed when resigning first responder.
2010-09-23 10:35:41 +02:00
Klaas Pieter Annema
8fe67b73da
implement _setCurrentValueIsPlaceholder in CPTextField
...
CPKeyValueBinding will sent _setCurrentValueIsPlaceholder: to indicate to an object that current value is a placeholder and should be displayed as such. This commit implements the method for CPTextField and adds a unit test to test the behavior.
2010-09-23 10:35:41 +02:00
Klaas Pieter Annema
2fba03dc75
fix style issues in CPTextField and CPKeyValueBindingTest
2010-09-23 10:35:41 +02:00
Klaas Pieter Annema
71f8d1db74
call selectionWill and didChange when setting selection indexes
2010-09-23 10:35:41 +02:00
Klaas Pieter Annema
098131e252
coding guideline improvements for CPArrayController
2010-09-23 10:35:41 +02:00
Klaas Pieter Annema
afc5b72092
made setting binding placeholder values slightly less hacky
2010-09-23 10:35:41 +02:00
Klaas Pieter Annema
14f494a25d
Properly set multiple value placeholders on textfields.
...
Previously CPKeyValueBinding would just set the binding marker placeholder values as the stringValue of the textfield. This commit fixes that and properly sets those values as the placeholder value.
2010-09-23 10:35:41 +02:00
Francisco Ryan Tolmasky I
8bc665f355
Merge branch 'master' of github.com:280north/cappuccino
2010-09-23 10:43:08 +05:30
Brian Donovan and Ross Boucher
6dd872f2d2
Fix CPScrollView -contentSize return type.
2010-09-21 21:43:28 +05:30
Mike Fellows and Randall Luecke
461bb65263
Set vertical slider disabled track-color to the proper background images, stop overwriting the horizontal slider disabled track-color background images with those meant for the vertical slider - fixes issue #737
2010-09-20 01:37:03 -04:00
Derek Hammer and Randall Luecke
266bed7dc9
Use include instead of push to increase performance of jake.
2010-09-20 01:33:36 -04:00
Randall Luecke
9777e4c52f
Added a missing import to the new CPTabView, and fixed the import for the test.
2010-09-20 01:28:57 -04:00
Derek Hammer and Randall Luecke
dd89a98242
Renaming class to CPTabView from CPTabView2. Also doing a little clean up for style.
2010-09-20 01:21:45 -04:00
Derek Hammer and Randall Luecke
9b57d04181
Tabs to spaces
2010-09-20 01:20:58 -04:00
Derek Hammer and Randall Luecke
8e74418a5c
Replacing CPTabView with new one
2010-09-20 01:20:48 -04:00
Derek Hammer and Randall Luecke
3350579675
Patch to fix error. :(
2010-09-20 01:20:40 -04:00
Derek Hammer and Randall Luecke
46c14f3766
Adding the real skeleton
...
Copying previous constants
Removing unnecessary constants
Borrowing initialization from my old implementation.
Refactoring the initialization method and adding setBackgroundColor: override.
Removing +initialize (no theming support yet) and -viewDidMoveToWindow (not sure why this was there?)
Implement the bulk of the new CPTabView
Adding delegate selectors. Don't think this is complete, though. What about when a user clicks on a segmented tab control?!
Adding delegate
Think I may have fixed the delegate blocking for selected segment control items
Adding tests. Fixing a bug by reverting to old way. Delegates still broken.
Cleaning up the test.
Resolving delegate issues (thanks Saikat!).
Switching tab appearance based on type enum. Updating tests to slightly test this.
Conflicts:
AppKit/CPTabView2.j
2010-09-20 01:20:31 -04:00
Randall Luecke
0aa65de6df
Fix for CPCookie not working after DOM checks.
2010-09-19 23:26:52 -04:00
Francisco Ryan Tolmasky I
06bb1a96f3
Fix for objjc not compiling.
...
Reviewed by me.
2010-09-19 15:21:01 -07:00
Francisco Ryan Tolmasky I
70e4dd16df
A few more parser tests and reorg of tests.
...
Reviewed by me.
2010-09-19 08:18:54 -07:00
Francisco Ryan Tolmasky I
b66034ef38
First couple of Objective-J language spec tests.
...
Reviewed by me.
2010-09-18 23:50:06 -07:00
Francisco Ryan Tolmasky I
d3c86aeefd
Cleanup for previous undo patch and added a few test cases.
...
Reviewed by me.
2010-09-18 21:47:43 -07:00
Blair Duncan and Francisco Ryan Tolmasky I
212feff636
CPUndoManager -added support for setActionName to enable the undo/redo menu to automatically update with the value passed as the action name. Test file included.
2010-09-18 20:30:43 -07:00
Alexander Ljungberg
b1b0cea27e
Merge remote branch 'hammerdr/clean_fix'
2010-09-17 21:25:05 -04:00
Alexander Ljungberg
5742608595
Recreated Aparajita Fishman's documentation related Jakefile change from 345343ef52.
2010-09-17 21:21:40 -04:00
Aparajita Fishman and Alexander Ljungberg
f46f97f8b6
Implemented doxygen parsing of @accessors synthesized methods, moved @accessors declarations in .h files to a comment to prevent improper parsing.
2010-09-17 21:19:02 -04:00
Alexander Ljungberg
7692f80f64
Additional fixes of inadvertent globals.
2010-09-17 16:48:00 -04:00