Randall Luecke
561d22168a
Stop references function arguments with arguments["name"] in CG.
2011-04-20 12:19:29 -04:00
Klaas Pieter Annema
da2c360446
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-04-20 16:22:28 +02:00
Klaas Pieter Annema
71d8582f94
make unhandled keyboard events travel past the window
2011-04-20 16:21:28 +02:00
Klaas Pieter Annema
dc264231c8
open menu bar menus directly
2011-04-20 08:58:30 +02:00
Randall Luecke
86e3717222
Fixes for splitview documentation
2011-04-19 01:46:41 -04:00
Alexander Ljungberg
041f2ecf4d
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-04-18 20:16:36 -04:00
Alexander Ljungberg
1db9b6a9d8
Merge branch 'CPTableView-setDropRow_dropOperation-fix' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPTableView-setDropRow_dropOperation-fix
2011-04-18 20:13:59 -04:00
Klaas Pieter Annema
3b6bd5a292
take min and max size from item prototype
2011-04-18 10:36:56 +02:00
Klaas Pieter Annema
39459c9a44
take min and max size from item prototype
2011-04-18 10:34:45 +02:00
Klaas Pieter Annema
38db22db06
fix a decoding bug with CPBox and it's contentView
2011-04-15 16:01:03 +02:00
Klaas Pieter Annema
ca74f32e3b
fix a decoding bug with CPBox and it's contentView
2011-04-15 16:00:18 +02:00
Alexander Ljungberg
1a0b69c10b
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-04-14 11:54:40 -04:00
Alexander Ljungberg
5564b75ed0
Merge branch 'CPArrayController-arrangedObjects-fix-redux' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPArrayController-arrangedObjects-fix-redux
2011-04-14 11:52:58 -04:00
Brian Donovan
27cf82e1d3
Use our internal setter while initializing to make sure arrangedObjects is properly observable.
...
This fixes both the case I reported earlier (#1174 ) and a new issue I found where attempting to bind to a CPArrayController's arrangedObjects before calling -setContent: would throw this exception:
Uncaught CPInvalidArgumentException: Unsupported method on CPArray
The reason for this exception is that the old implementation set _arrangedObjects to an instance of _CPJavaScriptArray, whereas the new one will set it to a _CPObservableArray.
2011-04-13 21:18:33 -07:00
Klaas Pieter Annema
1d28b120dc
fix CPOutlineView providing the dragged items in reverse order
2011-04-13 17:31:29 +02:00
Brian Donovan
f79203f5d5
Fix feedback view when retargeting the drop row & operation.
...
CPTableView was inappropriately preserving the retargeted drop row & operation as the drag operation continued, causing the data source call to - tableView:validateDrop:proposedRow:proposedDropOperation: to echo any row and operation set by the first call to -setDropRow:dropOperation:, making it impossible for the data source to determine new values for -setDropRow:dropOperation:, making the feedback view stay in the same place it was initially drawn.
2011-04-11 15:00:20 -07:00
Alexander Ljungberg
ff7f469f9f
Fixed: CPColor colorWithCSSString did not properly handle the alpha component of the CSS rbga() syntax. Fixes #687 .
2011-04-10 22:16:28 -04:00
Alexander Ljungberg
b40f920ec6
Fixed: don't crash on the first mouse move event after merge #1211 . Fixes #1221 .
2011-04-10 18:33:57 -04:00
Randall Luecke
b9533386b4
Merge branch 'natemartinsf-master' into 0.9.1
2011-04-08 09:32:14 -04:00
Randall Luecke
ae5359f953
Merge branch '0.9.1' of git://github.com/280north/cappuccino into 0.9.1
2011-04-08 09:26:55 -04:00
Mike Fellows and Randall Luecke
4a57f6a1c4
Better inset bounds to improve autoscrolling while dragging in a scrollview.
2011-04-08 09:26:04 -04:00
Nathaniel Martin
9b1eac1923
deltaX and deltaY now set on mousemoved, based on last mouse event
2011-04-07 22:00:09 -07:00
Nathaniel Martin
875dbaa78f
Fix for issue 1210
2011-04-06 23:16:13 -07:00
Klaas Pieter Annema
327d796653
implement outlineViewDeleteKeyPressed
2011-04-06 08:14:29 +02:00
Alexander Ljungberg
f0bba44e45
Completed CPTabView documentation.
2011-04-03 17:56:31 -04:00
Alexander Ljungberg
7107adfe16
Minor doc formatting.
2011-04-03 17:45:53 -04:00
Alexander Ljungberg
f29dcc9c6b
Document CPScreen.
2011-04-03 16:12:27 -04:00
Alexander Ljungberg
2952070698
Whitespace, comment tweak.
2011-04-03 00:56:28 -04:00
Alexander Ljungberg
9fc10260fb
Merge branch 'fonts' of https://github.com/aparajita/cappuccino into aparajita-fonts
2011-04-02 22:26:21 -04:00
Alexander Ljungberg
fa1a10730e
Fixed: an array controller with a bound contentArray would sometimes fail when add:, remove: and similar methods were called.
...
In particular the AC would fail when a _CPKeyValueCodingArray proxy was required (the destination implements insertObject:in<key>AtIndex etc.). The previous commit by cacaodev is the larger part of this fix as it enables use of mutableArrayValueForKeyPath properly. This commit merely fixes an error exposed by the previous commit where e.g. add: would apparently add two objects rather than one. This was caused by the AC observing and reacting to its own change even that it already had an optimised path to update arrangedObjects.
2011-04-02 18:03:21 -04:00
cacaodev and Alexander Ljungberg
e91bc3eeef
Adds a binder subclass for CPArrayController's contentArray binding. This binder allows destination.keypath who are kvc compliant, still works if they're not (through _CPKVCArray). Fixes addObject: error when contentArray is bound to a kvc array, a bug visible in ArrayController1 manual test.
2011-04-01 21:29:37 -04:00
Alexander Ljungberg
76400ecca9
Make table column internal bindings support methods private.
2011-03-31 20:48:51 -04:00
Alexander Ljungberg
dae36cda56
Bindings support for inline table view cell editing.
2011-03-31 20:26:56 -04:00
Alexander Ljungberg
2532c760ea
Closes #1202 . Test that CPEvent deltaX, deltaY and deltaZ do work. Also initialise deltas to 0 instead of nil.
2011-03-31 11:11:57 -04:00
Alexander Ljungberg
094b798765
Fixed: when table view grid lines were active they did not draw on top of selection highlights like in Cocoa.
2011-03-29 00:45:25 -04:00
Alexander Ljungberg
89974796b1
Fixed: table view's rectOfColumn: method returned a rect reduced by the intercell spacing. It should return the rect of the entire column. Fixed: when a column was selected the column selection colour would not cover the whole column. Fixed: in recent builds, table view header divider lines did not line up with body divider lines.
...
Ultimately, intercell spacing is only applied, as the name implies, inside of cells. It is not applied in the header, nor at the column or row level. Only data views inside of cells are offset.
2011-03-29 00:33:32 -04:00
Aparajita Fishman
044a605e47
Added font methods so that nib2cib can do font substitution
2011-03-28 23:51:45 -04:00
Aparajita Fishman
7d62b6e1eb
Made the defaults global constants
2011-03-28 23:50:56 -04:00
Alexander Ljungberg
539ea2e589
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-03-28 22:14:32 -04:00
Alexander Ljungberg
4f6d939634
Minor table view cleanup.
2011-03-28 22:14:11 -04:00
Alexander Ljungberg
d68d84cfdf
Merge branch '0.9.1' of github.com:280north/cappuccino into 0.9.1
2011-03-28 21:24:45 -04:00
Alexander Ljungberg
430a74735b
Fixed: CPSliders always became continuous when archived/unarchived through CPCoding.
2011-03-28 21:18:47 -04:00
Randall Luecke
de08addfa1
Fix for grid lines not being drawn in the headers of table columns which were not originally exposed.
2011-03-28 21:10:59 -04:00
Alexander Ljungberg
26003365bc
Fixed: CPSlider isContinuous disagreed with setContinuous.
2011-03-28 21:06:07 -04:00
Alexander Ljungberg
11ab9a77ad
Minor performance improvement to CPContinuouslyUpdatesValueBindingOption.
2011-03-28 20:12:32 -04:00
Aparajita Fishman
2599f820c7
Merge branch 'font-fun' into fonts
...
Conflicts:
Tools/nib2cib/NSButton.j
2011-03-28 18:51:10 -04:00
Alexander Ljungberg
110d75b1e5
Text field support for CPContinuouslyUpdatesValueBindingOption.
2011-03-28 18:20:19 -04:00
Alexander Ljungberg
79ec12e2a2
Added support for the CPNullPlaceholderBindingOption for bound text fields.
2011-03-28 18:02:52 -04:00
Klaas Pieter Annema
425401c049
Merge branch 'keyview' of https://github.com/aparajita/cappuccino into aparajita-keyview
2011-03-28 20:12:45 +02:00
Alexander Ljungberg
7b3ae56031
CPObjectController automaticallyPreparesContent support.
2011-03-28 11:06:12 -04:00