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
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
Paul Baumgart
086fa29d78
Objective-J Preprocessor Tests: fix scoping bug that caused only the last file in FILENAMES to be tested.
2010-09-22 00:50:15 -07:00
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
Alexander Ljungberg
bb811238f3
Fixed a number of inadvertent globals and improved code style.
2010-09-17 16:46:55 -04:00
Derek Hammer
68c657eb66
Adding the $CAPP_BUILD directory to the "jake clean" and "jake clobber" commands so that they act as expected.
2010-09-17 13:03:50 -05:00
Nicholas Small
b5bae40a0c
Fix the short circuit in CPCollectionView -setSelectionIndexes:
2010-09-17 12:23:36 -04:00
Michael Villar and Nicholas Small
f7c68736f0
Ctrl+click only sends right click on Mac.
2010-09-17 12:21:57 -04:00
Klaas Pieter Annema
c481d55976
fix hovered state being removed when the mouse leaves a subview of a control
2010-09-17 13:21:54 +02:00
Klaas Pieter Annema
7aa7d61984
Implement hover states.
...
- Set CPWindow _acceptsMouseMovedEvents default to YES
- Add CPThemeStateHovered to CPTheme
- Add hovered logic to CPControl is hovered
2010-09-17 12:06:01 +02:00
Mike Fellows and Klaas Pieter Annema
7d855a9c09
Fix minor typos, some accidental globals, missing coma and missing semicolon
2010-09-17 11:03:32 +02:00
Nicholas Small
d59d141302
Fix a bool that's supposed to be an int in CPUndoManager -groupingLevel.
2010-09-16 13:26:17 -04:00
Aparajita Fishman and Klaas Pieter Annema
0c4ce1e756
Additions to the theme API to open it up to developers and provide access to theme attributes defined in ThemeDescriptors.j:
...
- Current theme blend is available via CPApplication -themeBlend.
- List of themes is available via CPApplication -themes.
- CPThemeBlend adds the following methods:
themes
themeNames
- CPTheme adds a number of methods to access theme attributes:
classNames
attributesForClass:
attributeNamesForClass:
attributeWithName:forClass: (was _attributeWithName:forClass:)
valueForAttributeWithName:forClass
valueForAttributeWithName:inState:forClass:
- _CPThemeAttribute -values was added to access the dictionary of attribute values.
- Theme browser application that demonstrates the API.
- In the course of making the test app, added the function CGInsetEqualToInset().
2010-09-16 10:28:06 +02:00
Alexander Ljungberg
9b8cadb91c
Fixed some additional accidental globals. Very addictive this.
2010-09-15 17:41:58 -04:00
Alexander Ljungberg
9c9d6a7fdc
Merge branch 'master' of github.com:280north/cappuccino
2010-09-15 17:25:54 -04:00
Alexander Ljungberg
fb31267cc1
Fixed two accidental globals found while testing Aparajita Fishman's capp_check utility.
2010-09-15 17:23:48 -04:00
Alexander Ljungberg
b194d407d3
Whitespace cleanup.
2010-09-15 17:19:45 -04:00
Klaas Pieter Annema
57813ea3fb
change CPButton imageOffset theme property to image-offset
2010-09-15 12:34:16 +02:00