Klaas Pieter Annema
2eb27a6492
Don't adjust the origin and size of a text field during nib2cib
...
This interferes with Aparajita's auto-sizing of controls in initWithCoder:. Also it's better to calculate the size in initWithCoder: because the theme information is available.
2010-10-19 15:07:01 +02:00
Klaas Pieter Annema
991e213d02
give CPSearchField it's own theme class
...
Before this change it was not possible to theme CPSearchField separately from a CPTextField. Aristo still just uses the rounded theme style.
2010-10-19 14:21:00 +02:00
Joachim Garth and Ross Boucher
834480ff68
Fixed a bug in reverseTransformValue: that caused transformedValue: to be called instead of reverseTransformedValue:
2010-10-18 10:46:13 -07:00
cacaodev and Ross Boucher
678563a970
Accidental globals in CPNotificationCenter and Runtime.js
2010-10-18 10:15:40 -07:00
Randall Luecke
00e638f406
initWithCoder on CPTextField should respect the larger height value if it's set.
2010-10-18 01:30:25 -04:00
Alexander Ljungberg
6b37bae2c2
Fixed: removed the previous CPTimer DOM check - it doesn't work in Foundation.
2010-10-15 16:03:00 -03:00
Alexander Ljungberg
a3a4aed0d2
Merge branch 'master' of github.com:280north/cappuccino
2010-10-15 15:00:40 -03:00
Alexander Ljungberg
8ec78f20d1
Implement _minimumFrameSize for CPTokenField tokens. Also honor min-size width - not used by Aristo but potentially useful for custom themes.
2010-10-15 12:40:09 -03:00
Alexander Ljungberg
a821614939
Clean up code.
2010-10-15 12:36:57 -03:00
Randall Luecke
e13d771560
Performance related fixes for tableview drawing.
2010-10-15 11:09:26 -04:00
Randall Luecke
49a0a3d86e
Fix for parameter type change from a find/replace.
2010-10-15 02:10:29 -04:00
Randall Luecke
56bc94f98c
Merge branch 'tableview-grouprows'
2010-10-15 01:52:57 -04:00
Randall Luecke
f0b527b680
Selection fixes for group rows in the tableview.
2010-10-15 01:52:22 -04:00
Tom Robinson
58494c5c2a
Merge branch 'master' of github.com:280north/cappuccino into integration
2010-10-14 16:38:45 -07:00
Tom Robinson
c72e136370
Require latest versions of all package to eliminate deprecation warnings.
2010-10-14 16:38:06 -07:00
Alexander Ljungberg
b4c8da8f3d
Fix CPTokenField imports.
2010-10-14 20:21:00 -03:00
Alexander Ljungberg
612e8c3f0b
Add DOM checks to CPTimer's window.setTimeout bridge code.
2010-10-14 20:20:20 -03:00
Tom Robinson
9763cef196
Merge branch 'fix-deprecation-warnings' of http://github.com/paulbaumgart/cappuccino into paulbaumgart-fix-deprecation-warnings
2010-10-14 16:16:02 -07:00
Alexander Ljungberg
ebd83b4941
Merge branch 'fix-cptokenfieldtoken-sizetofit' of http://github.com/primalmotion/cappuccino into primalmotion-fix-cptokenfieldtoken-sizetofit
2010-10-14 19:42:33 -03:00
Alexander Ljungberg
48d3ae61c5
Merge branch 'master' of github.com:280north/cappuccino
2010-10-14 19:38:11 -03:00
Alexander Ljungberg
cfba019e3d
CPCoding support for CPResponder menus. This allows context menus to be set for collection view items through the item prototype.
2010-10-14 19:36:48 -03:00
Brian Donovan and Ross Boucher
2037ab9a5e
-[CPScrollView setContentView:] did not allow changing the content view.
2010-10-14 11:25:29 -07:00
Paul Baumgart and Ross Boucher
3287b02816
add script to automatically detect missing @imports and have it run from "jake test-only"
2010-10-13 18:48:46 -07:00
Paul Baumgart and Ross Boucher
12deb6859e
Make CPCompatibility a little more CommonJS friendly.
2010-10-13 18:48:37 -07:00
Paul Baumgart and Ross Boucher
98393c66fc
change a 'self' to a 'super' to fix infinite recursion
2010-10-13 18:41:59 -07:00
Ross Boucher
74bedf6dcd
Add a missing import to the ArrayController test.
2010-10-13 18:39:46 -07:00
Brian Donovan and Ross Boucher
b5d0054f94
-[CPIndexSet shiftIndexesStartingAtIndex:by:] did not properly adjust count.
...
When clipping a range (i.e. some or all of it went below the lower bound) as a result of
calling shiftIndexesStartingAtIndex:by: with a negative delta, the CPIndexSet did not adjust
the index count, which caused calls to -lastIndex to fail.
This caused -[CPArrayController removeObject:] to fail when the object removed was at index 0.
2010-10-13 18:20:20 -07:00
Antoine Mercadal
ca0c68c9bf
fix: CPTokenFieldToken impacted by new CPTextField sizeToFit behaviour
2010-10-13 13:34:37 +02:00
Klaas Pieter Annema
6c663ddf32
nib2cib NSTableColumn dataCell's alignment property
2010-10-12 16:30:14 +02:00
Klaas Pieter Annema
7129094e26
always archive the table column it's dataView when it's set
...
Don't equality check so the data view is always re-archived when it's set. A dataView with a different font size should be re-archived, but will not be if we check for equality.
2010-10-12 13:47:15 +02:00
Klaas Pieter Annema
802d7d53b0
fix multiline bezeled textfields being sized when initialized from coder
2010-10-12 11:26:28 +02:00
Klaas Pieter Annema
c4a074a92d
Merge branch 'CPTextField-height-fix' of http://github.com/aparajita/cappuccino into aparajita-CPTextField-height-fix
2010-10-12 10:54:38 +02:00
Klaas Pieter Annema
fe35823b46
implement NSFormatter nib2cib support
2010-10-11 12:35:45 +02:00
Alexander Ljungberg
8439dc1c0f
CPKeyBinding description message. Decouple CPKeyBinding physical key string parsing from cache setup to make CPKeyBinding more reusable in user code.
2010-10-10 01:35:30 -03:00
Alexander Ljungberg
db8e132ef2
Whitespace and style fixes.
2010-10-09 22:07:57 -04:00
Alexander Ljungberg
7e0c61bef0
Replace a non ASCII character.
2010-10-09 22:02:34 -04:00
Alexander Ljungberg
2c4bb019ba
Add license and creator to _CPCornerView.j.
2010-10-09 22:01:21 -04:00
Alexander Ljungberg
0bd03b8d58
Closes #926 . Don't display a menu when a CPPopUpButton is right clicked, especially not a broken one.
2010-10-09 21:54:19 -04:00
Alexander Ljungberg
e62af384ea
Merge branch 'fix-imports' of http://github.com/paulbaumgart/cappuccino into paulbaumgart-fix-imports
2010-10-09 21:32:58 -04:00
Klaas Pieter Annema
e23c70b5c4
Merge remote branch 'aparajita/NSCell-layout'
2010-10-09 16:25:48 +02:00
Aparajita Fishman
c8639cc8cd
Fixed the attribution
2010-10-08 23:18:48 -04:00
Aparajita Fishman
87c9f9ef03
Added bezeled multi-line field with wrapping
2010-10-08 17:52:47 -04:00
Aparajita Fishman
ab430b3574
Forgot to update sizeToFit documentation.
2010-10-08 10:18:38 -04:00
Aparajita Fishman
b8ae14d3a8
Fixes and more tests:
...
- Fixed _minimumFrameSize to take into account bezel and line break mode.
- Added test to show how sizeToFit was broken for multi-line labels in the old code.
- Added test to verify that behavior is correct for single-line labels.
2010-10-08 10:17:12 -04:00
Randall Luecke
ca0ed0ccb9
Merge branch 'master' of git://github.com/280north/cappuccino
2010-10-08 00:48:40 -04:00
Randall Luecke
99201dc3db
Initial commit for group rows in the TableView. Drawing code still needs to be cleaned up a LOT... still buggy. i.e. after you select a group row, any rows after that which are selected then get selected with a gray highlight color.
2010-10-08 00:44:17 -04:00
Klaas Pieter Annema
5074938437
implement KVO dependent key path support
2010-10-07 21:17:28 +02:00
Aparajita Fishman
637b8bed33
wraps flag was not being calculated correctly, added flags for other layout modes
2010-10-07 10:27:05 -04:00
Klaas Pieter Annema
fcd75d72e0
remove cancel: action from CPResponder
2010-10-07 12:10:42 +02:00
Klaas Pieter Annema
5b82417698
Merge branch 'CPKeyValueObservingOptionInitial-fix' of http://github.com/eventualbuddha/cappuccino into eventualbuddha-CPKeyValueObservingOptionInitial-fix
2010-10-07 10:37:50 +02:00