Alexander Ljungberg
026c210e64
Toolbar CPToolbarDisplayModeIconOnly support.
2012-06-12 23:05:16 +01:00
Alexander Ljungberg
3bc1849041
Improve toolbar item layout.
...
The height of all items is determined by the tallest item, like in Cocoa. But unlike Cocoa our toolbar is presently fixed height so in order to make this look well for small or large items, the whole row of items is now vertically centred, making the allocation of margin above and below automatic.
Furthermore if a toolbar item has a small view or a small icon, it is now centred within the available space above the label. For example, for a tiny icon in one item next to a normal size icon the tiny icon would be centre aligned with the larger icon.
2012-06-12 23:04:33 +01:00
Alexander Ljungberg
2a955884b8
Fix header.
2012-06-11 13:14:00 +01:00
Alexander Ljungberg
ad5403b538
Setting the shadow style just once will do.
2012-06-11 13:13:36 +01:00
cacaodev
299a664b9c
CPTableView -selectedColumn : missing return statement
2012-06-06 14:24:28 +02:00
aparajita
954ec26e80
Merge pull request #1551 from ggsato/subclassingDocController
...
fixed shared CPDocumentController instantiation and added its test
2012-05-26 12:44:18 -07:00
ggsato
fabe1d8991
formatting and now subclassing is tested by Open a document
2012-05-26 11:08:57 +09:00
Alexander Ljungberg
288ec78c3e
Fixed: split view autosave.
...
The fix to prevent incorrect autosaving prevented correct autosaving as well.
2012-05-26 00:04:12 +01:00
Alexander Ljungberg
aa4eff9f8d
Format code, fix accidental global.
2012-05-25 00:04:46 +01:00
Alexander Ljungberg
09d5957c82
Code formatting.
2012-05-24 23:40:15 +01:00
ggsato
2a0ee14130
wrapped window.status clear statement
2012-05-25 01:52:09 +09:00
Alexander Ljungberg
e25394a322
Code formatting.
2012-05-24 17:10:46 +01:00
ggsato
ab1dc15393
moved types declaration
2012-05-24 23:58:59 +09:00
ggsato
3a750591bb
moved types declaration
2012-05-24 23:55:04 +09:00
ggsato
7da9877c5f
fixed shared CPDocumentController instantiation and added its test
2012-05-24 23:12:07 +09:00
Aparajita Fishman
1efc2e3c15
Fixed parsing in CGSizeFromString and CGPointFromString
2012-05-22 12:52:54 -07:00
Aparajita Fishman
d4e460dac5
When popover closes implicitly, popoverShouldClose delegate method should be called.
...
Added extra button popover to test -close method, which does not consult popoverShouldClose.
2012-05-17 17:02:45 -07:00
Blair Duncan
5f7d1e8dc3
controlDidFailToFormatString should send a string not an HTML element
2012-05-15 16:07:56 -04:00
cacaodev
8a10105f48
CPPopover typo: setBehaviour: -> setBehavior:
2012-05-15 21:42:14 +02:00
Alexander Ljungberg
e72093c91e
Merge pull request #1531 from BlairDuncan/cappuccino
...
---
2012-05-10 15:50:10 +01:00
Blair Duncan
74431972d8
added missing LOG math global and replaced any math. with correspoinding global
2012-05-10 08:55:19 -04:00
Alexander Ljungberg
bdcc1539ac
Use an ephemeral subview for the bar of a progress indicator.
...
This is clearer code and avoids encoding the 'pill view' automatically.
2012-05-03 20:40:50 +01:00
Alexander Ljungberg
da055f83b3
Fixed: CPProgressIndicator encoder wasted space and caused errors.
...
The errors would cause exceptions such as "Not allowed to load local resource: file:///<some local path from the machine that ran nib2cib>" when loading cib driven app through a web server.
2012-05-03 19:45:12 +01:00
Alexander Ljungberg
1476efce90
Minor formatting.
2012-05-03 01:36:17 +01:00
Alexander Ljungberg
c437537749
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-04-27 01:19:56 +01:00
Alexander Ljungberg
c16c0309c8
Fixed: CPOutlineView setMenu: was not effective.
...
A CPOutlineView without a delegate `outlineView:menuForTableColumn:item` method, would not display its context menu as specified by `setMenu:` or in IB.
2012-04-27 01:19:47 +01:00
cacaodev
6fe3d53a13
Merge remote-tracking branch 'upstream/master' into CPRulePredicateEditor
2012-04-26 20:34:18 +02:00
cacaodev
92cdda1d22
capplinted CPRuleEditor/*.j
2012-04-26 20:34:09 +02:00
Alexander Ljungberg
be36803570
Fixed: CPPredicateEditor "Display value must be…" exception in recent revisions.
2012-04-26 15:35:55 +01:00
Alexander Ljungberg
998bdb550b
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-04-26 15:25:59 +01:00
Alexander Ljungberg
a0c7305334
Fixed: collection views cleared their selection whenever the content was changed.
...
This was unlike Cocoa and prevented CPArrayController's selectsInsertedObjects from working.
2012-04-26 15:19:18 +01:00
cacaodev
edb86ebeeb
CPPredicateEditorValueBinder cleaning, conforms to recent CPBinder updates
2012-04-26 16:09:32 +02:00
cacaodev
bfe53a1d54
Merge branch 'CPPredicateEditorRowNode-formatting' into CPRulePredicateEditor
2012-04-26 15:39:16 +02:00
cacaodev
3ab2ebf71f
Merge remote-tracking branch 'upstream/master' into CPRulePredicateEditor
...
Conflicts:
AppKit/CPRuleEditor/CPRuleEditor.j
2012-04-26 15:38:30 +02:00
Antoine Mercadal
b04dbb647b
Typo in method name + make some methods private
2012-04-25 12:41:22 -07:00
Antoine Mercadal
0318d23ab6
Fix stupid error in tooltips management when initializing from a coder
2012-04-24 18:10:33 -07:00
Antoine Mercadal
8fdf78cf67
Move the tooltip code into the CPView code (remove category). Fix problem with tooltips not working when using deploy
2012-04-24 17:57:05 -07:00
Antoine Mercadal
3ec4d3e374
Encode/Decode tooltip in CPView
2012-04-24 16:27:36 -07:00
Antoine Mercadal
9866bf19a4
Support for setting ToolTips right from IB
2012-04-24 16:13:37 -07:00
Aparajita Fishman
36bfc7c675
Fixed decode methods to return the correct defaults, removed unnecessary containsValueForKey and || with defaults
2012-04-24 10:15:19 +02:00
Aparajita Fishman
1077294e9a
Added missing -adjustSubviews method, code cleanup.
2012-04-23 12:08:12 +02:00
Aparajita Fishman
bd691d5307
Hopefully finally fixed the problem with CPScrollView/CPScroller initialization. Fixes #1485 .
2012-04-23 01:12:24 +02:00
Aparajita Fishman
48ef639408
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-04-22 23:14:18 +02:00
Aparajita Fishman
9830b2b115
Subviews may not be accessed during initWithCoder. Fixes #1485 .
2012-04-22 23:13:58 +02:00
Alexander Ljungberg
7efc8230a2
Fixed: a collection view wouldn't become the first responder when its items were clicked.
2012-04-20 17:30:17 +01:00
Alexander Ljungberg
21a34f88b2
Fixed: don't crash when removing objects from an array controller which has its arrangedObjects.@count observed.
2012-04-20 15:12:59 +01:00
Aparajita Fishman
5763ebdf2b
Fixed CPEvent -timestamp to return seconds since startup, as documented in Cocoa.
...
Miscellaneous cleanup of timestamp usage as well.
2012-04-15 11:30:27 -04:00
aparajita
3f58c4ea6f
Merge pull request #1494 from cacaodev/CPImageView-bindings
...
CPImageView: support CPValueURLBinding and CPValuePathBinding.
2012-04-15 05:52:22 -07:00
Randall Luecke
340b86e97f
CPAlert shouldn't use 'alert' as a variable name
2012-04-13 10:59:30 -04:00
cacaodev
0c8715dd8d
Merge remote-tracking branch 'upstream/master' into CPImageView-bindings
2012-04-12 23:26:11 +02:00