Francisco Ryan Tolmasky I
2f0de57c92
Merge branch 'master' into @each
...
Conflicts:
Foundation/CPArray.j
2010-09-19 15:06:16 -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
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
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
f7c68736f0
Ctrl+click only sends right click on Mac.
2010-09-17 12:21:57 -04:00
Mike Fellows
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
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
Alexander Ljungberg
bce89ca75b
Merge branch 'master' of github.com:280north/cappuccino
2010-09-14 15:39:23 -04:00
Alexander Ljungberg
7204e73c22
Minor code cleanup.
2010-09-14 15:38:45 -04:00
Alexander Ljungberg
541f5b8948
Test editable text field text selection in a modal window.
2010-09-14 15:38:45 -04:00
Alexander Ljungberg
c5d471b31b
Fixed: if a text field in a modal window was clicked, it would become deselected. This prevented text selection by dragging or by double click. The problem was that the DOM event guard was always enabled when a modal window was on screen and this prevented the normal mouse event pass through to the text field input element.
2010-09-14 15:38:45 -04:00
Klaas Pieter Annema
ac26827f32
make CPTableHeaderView divider color theme-able
2010-09-14 14:47:10 +02:00
Klaas Pieter Annema
677cb4638f
fix bug where CPViewController viewDidLoad is called to early
...
The bug was caused by connections (outlets) being defined in undefined order. Sometimes the view connection was decoded and connected before other connections, because setView: would automatically call viewDidLoad the first time a view was set viewDidLoad was called before the entire view was actually loaded.
ViewDidLoad is now only called from setView: if the _view === nil and no view is currently being loaded.
2010-09-14 12:58:47 +02:00
Klaas Pieter Annema
32348148b8
fixed typos in CPViewController documentation
2010-09-14 12:12:50 +02:00
Klaas Pieter Annema
f79edc7bfb
fix scroller being offset 1 pixel when headerview had the same height as corner view
2010-09-14 12:05:39 +02:00
Klaas Pieter Annema
f7c7ee447d
set proper autoresizing for ScrollviewTheming test color well
2010-09-14 12:05:39 +02:00
Tom Robinson
1220555936
Fix for CPProxy not returning the return value
2010-09-13 16:44:45 -07:00
Sami Samhuri
032639234e
Use CPTextFields for RGB, HSB, and hex inputs in CPSliderColorPicker
...
The old DOM based fields only accepted a few characters. Backspace and
other expected functionality was broken. Switching to CPTextFields
makes them behave as expected.
2010-09-13 15:20:26 +02:00
Saikat Chakrabarti
cdf9a8c2a7
Adding a DOM check for CPCookie
2010-09-13 01:30:46 -04:00
Aparajita Fishman
6fbdf7b400
Support for NSBox in nib2cib and some fixes to CPDrawTiledRects/CPDrawColorTiledRects.
...
- The default box background color is now clear, that is what Cocoa does.
- Bezel drawing uses CPDrawTiledRects, obeys border width.
- CPDrawTiledRects/CPDrawColorTiledRects explicitly sets the line width and saves/restores the graphics state.
- Whitespace cleanup in CPBox.
2010-09-10 20:35:38 -04:00
Alexander Ljungberg
4983e97884
Use CPNotFound instead of -1 in CPTableView editedRow and editedColumn for clarity.
2010-09-10 20:27:22 -04:00
Alexander Ljungberg
cc7d50f505
Fixed: CPTableView editedRow returned the edited column, not the edited row.
2010-09-10 20:26:01 -04:00
Alexander Ljungberg
f2f737fcd3
Merge remote branch 'hammerdr/subclassable'
2010-09-10 20:18:30 -04:00
cacaodev
c47e6af6e4
nib2cib: Fix a bug where a view's tag of 0 in Interface Builder was decoded as -1 in capp. This is the default when instancing in code, not when unarchiving a Nib. Testing: in Tests/Manual/NibApp, just logging a textfield's tag
2010-09-10 20:03:28 -04:00
Alexander Ljungberg
5e6485b622
Merge remote branch 'samsonjs/rightclick'
2010-09-10 19:26:12 -04:00
Alexander Ljungberg
bb2ec9098b
Merge remote branch 'aparajita/CPLog-formatter'
2010-09-10 19:15:21 -04:00
Alexander Ljungberg
4e4cc65645
Style and whitespace cleanup.
2010-09-10 19:07:48 -04:00
Arkadiusz Młynarczyk
ddfac8d717
- moved componentsSeparatedByCharactersInSet: into CPCharacterSetAdditions CPString category
...
- added tests for componentsSeparatedByCharactersInSet:
- ensured Cocoa compatibility of componentsSeparatedByCharactersInSet:
- added new test for CPString boolValue
- fixed CPString boolValue (" ++01" should return NO as in Cocoa, previously it returned YES)
2010-09-10 18:58:18 -04:00
Arkadiusz Młynarczyk
009683ddd4
- Exception raising in componentsSeparatedByCharactersInSet: when separator parameter is nil
...
- Added support for edge cases (string is empty or string doesn't contain characters from separator set).
2010-09-10 18:58:10 -04:00
Arkadiusz Młynarczyk
8eefb90944
- implemented componentsSeparatedByCharactersInSet:
2010-09-10 18:58:02 -04:00
Klaas Pieter Annema
6bc8a53618
Merge branch 'scrollview-theming'
2010-09-10 14:37:51 +02:00
Klaas Pieter Annema
de73c05316
add colorwell to change bordercolor to Scrollview theming test
2010-09-10 14:28:09 +02:00
Klaas Pieter Annema
fba8b85c90
theming changes to CPScrollView
...
- Add bottom corner view and make it's background color a theme property
- Make the border color themeable
2010-09-10 14:20:19 +02:00
Klaas Pieter Annema
20557190d9
make the scroller width themeable
2010-09-10 14:20:18 +02:00
Klaas Pieter Annema
4e4e7ae015
properly position the vertical scrollbar
...
The vertical scrollbar would be one pixel of if there was:
- no headerview (overlapping the border)
- a headerview, but no cornerview
2010-09-10 14:20:18 +02:00
Klaas Pieter Annema
36c3c94d3b
add the ability to turn header view on and off in ScrollviewTheming test
2010-09-10 14:20:18 +02:00