Aparajita Fishman
caed991cb1
Reformat to make it actually readable, fixed a wrong value
2013-02-11 11:05:55 -05:00
Alexander Ljungberg
654cf22f3c
Refs #1743 . Insert button in ArrayController1 test.
...
Also clean up test a little by initialising the array controller in the xib and connecting the buttons there. This is more natural.
Also make each object created in the table numbered to make it easier to see which one was just added.
2013-02-11 11:36:38 +00:00
Alexander Ljungberg
ff7fdaa251
Merge pull request #1743 from ahankinson/fix-issue1723
...
Fix for #1723 : CPArrayController insert
2013-02-11 11:21:43 +00:00
Alexander Ljungberg
5361b787c5
Merge pull request #1744 from stevegeek/master
...
Fix for issue #1720
2013-02-11 11:08:47 +00:00
Andrew Hankinson
5830269fea
Move variable into initialization. Remove unused variable.
2013-02-10 23:57:47 -05:00
Andrew Hankinson
391abe4991
Merge branch 'refs/heads/master' into nib2cib-cpbrowser-compat
2013-02-10 22:45:31 -05:00
Andrew Hankinson
82605f4170
Cause insert: to behave like Cocoa
...
This fix inserts a new object at the current index, rather then the next. This diverges from the Cocoa documentation, but follows the Cocoa behaviour.
2013-02-10 20:58:58 -05:00
Aparajita Fishman
2221d40f47
Log if there is a formatter attached to a text field
2013-02-10 20:05:14 -05:00
Andrew Hankinson
ab49c63840
Fix for #1723 : CPArrayController insert
...
This fix addresses the following problems:
- fixes a bug with add: where it would try to add the sender object, not the represented object
- changes insert: to insert a new represented object after the currently selected object. If no object is currently selected it behaves like add: and adds a new object to the end.
This patch includes tests.
2013-02-10 20:03:41 -05:00
Aparajita Fishman
b6a520e350
Typos, formatting
2013-02-10 20:02:55 -05:00
Alexander Ljungberg
a5e1ed44f4
Refs #1734 . Include pulldown buttons in pop up button manual test.
...
These pulldowns are bound the same way as their corresponding regular popups.
2013-02-10 23:12:21 +00:00
Alexander Ljungberg
a78d69c89e
Merge branch 'aristo2-pulldown-themefix' of https://github.com/ahankinson/cappuccino into ahankinson-aristo2-pulldown-themefix
2013-02-10 23:04:11 +00:00
Alexander Ljungberg
9a7996d40d
Fixed: CPPopUpButtonTest using non-existent methods.
...
There's no `selectedTag` getter for CPPopUpButton (although there's such a binding but that's separate). Also don't call private API that no longer exists - use proper public API instead.
2013-02-10 22:57:43 +00:00
Alexander Ljungberg
fb577f8b70
Merge pull request #1741 from ahankinson/fix-issue1633
...
Fix for #1633 : setRepresentedFilename
2013-02-10 22:43:15 +00:00
Andrew Hankinson
933a1be8e1
Fix for #1633 : setRepresentedFilename
...
Without this fix, CPWindow setRepresentedFilename is set as a string, not a CPURL (as specified by the variable type). (With tests)
2013-02-10 17:39:24 -05:00
Alexander Ljungberg
5f99ebefb1
Merge pull request #1739 from ahankinson/fix-issue224-mainmenu
...
Fix for #224 : Remove un-necssary default menu items
2013-02-10 13:22:07 +00:00
Alexander Ljungberg
16c463f612
Merge branch 'master' of github.com:cappuccino/cappuccino
2013-02-10 13:14:09 +00:00
Alexander Ljungberg
3406cdfb02
Refs #1663 . Whitespace.
2013-02-10 13:13:54 +00:00
Alexander Ljungberg
69915701de
Merge pull request #1663 from BlairDuncan/CPBrowserCursorNavigationFix
...
Fix for left/right cursors in CPBrowser
2013-02-10 13:09:36 +00:00
Alexander Ljungberg
6f4ef18815
Use an icon that exists in manual CPBrowser test.
2013-02-10 13:09:25 +00:00
Antoine Mercadal
ef1c5949f1
Merge branch 'master' of github.mv.usa.alcatel.com:amercada/Cappuccino
2013-02-08 10:36:43 -08:00
Alexander Ljungberg
9a646f856b
Merge pull request #1673 from mrcarlberg/handle_null_in_cp_description_of_object
...
Fixed error in CPDescriptionOfObject when JSON property has null value
Conflicts:
Foundation/CPObject.j
2013-02-08 12:02:05 +00:00
Alexander Ljungberg
21efb90b4c
Refs #1700 . Fixed: setItemPrototype crash.
...
Setting the item prototype without first adding the collection view to a view would cause a crash, as would reloadContent.
This fix makes sure the collection view doesn't try to tile itself unless it has a frame.
2013-02-08 11:46:08 +00:00
Alexander Ljungberg
1248b1fb29
Refs #1700 . Fix unknown class or global warnings.
2013-02-08 11:26:56 +00:00
Alexander Ljungberg
8ed85ede2c
Refs #1700 . Use more macros.
2013-02-08 11:17:45 +00:00
Alexander Ljungberg
6181b75d9f
Refs #1700 . Make reloadContentCachingRemovedItems: a private method.
2013-02-08 11:02:02 +00:00
Alexander Ljungberg
7b1ffb942f
Refs #1700 . Clean up and use macros.
2013-02-08 11:01:19 +00:00
Alexander Ljungberg
61990e764c
Merge pull request #1700 from cacaodev/CPCollectionViewItem-loading
...
CPCollectionView -maxItemSize support, content binding, collection view item loading ... [+4]
2013-02-08 10:52:00 +00:00
Andrew Hankinson
9c0c87d4c2
Fix for #224
...
This commit removes some of the more nonsensical main menu items in the capp NibApplication template.
2013-02-07 23:30:54 -05:00
Alexander Ljungberg
535b8e5fc4
Fixed: orphan token field autocomplete menus.
...
If the parent or grandparent window of a token field which was showing an autocomplete menu was closed, the menu would stick around even that the token field was gone.
This fix makes the token field autocomplete menu a proper child window which should also ensure it moves as needed if the parent window moves.
2013-02-08 00:42:53 +00:00
Alexander Ljungberg
baa69ff3bc
Fixed: "cannot read property '_tokenScrollView' of null."
...
This error could occur when interacting with token fields.
2013-02-08 00:34:25 +00:00
Alexander Ljungberg
4991913f45
Fixes #1716 . Fixed: blurry popovers in Chrome.
2013-02-08 00:29:38 +00:00
Aparajita Fishman
b28ff18918
Adding missing key
2013-02-08 07:48:41 +08:00
Alexandre Wilhelm
c38495de88
Fixed bug with the dividerColor of a standardWindow in Aristo1
2013-02-07 10:56:03 -08:00
Antoine Mercadal
563fb657a4
Change some pixel adjustements to reflect what IB is doing in nib2cib
2013-02-06 17:01:27 -08:00
Alexandre Wilhelm
b516f14f57
updated slices of aristo2
2013-02-06 11:16:24 -08:00
Alexandre Wilhelm
d0ef3c950b
Fixed bug about the border of the dividerColor in a window
2013-02-06 11:15:39 -08:00
Alexandre Wilhelm
67b006f385
Fixed the bug about the dividerColor in a standardView
2013-02-06 10:55:49 -08:00
Alexander Ljungberg
e12285ecfa
Merge branch 'master' of github.com:cappuccino/cappuccino
2013-02-06 16:37:19 +00:00
Alexander Ljungberg
3a92c013eb
Formatting.
2013-02-06 16:37:03 +00:00
Alexander Ljungberg
e376f97b46
- CPShadow set.
2013-02-06 16:36:49 +00:00
Alexander Ljungberg
08ad614611
CPGradient drawInBezierPath:angle:.
2013-02-06 16:36:33 +00:00
Alexander Ljungberg
d1ebf8d697
Make CPShadow mutable.
...
This commit adds the various `CPShadow` setters such as `setShadowColor:`.
2013-02-06 15:02:03 +00:00
Alexander Ljungberg
4680f0fcc6
CPGradient initWithStartingColor:endingColor:.
2013-02-06 15:00:58 +00:00
Aparajita Fishman
0892ca1a2d
Popovers should not overlap the menu bar
...
Also eliminated redundant code in CPMenu -menuBarHeight
2013-02-06 19:24:09 +08:00
Antoine Mercadal
27f498f40a
fix typo
2013-02-05 18:35:59 -08:00
Antoine Mercadal
c8029ee081
Merge branch 'master' of github.mv.usa.alcatel.com:amercada/Cappuccino
2013-02-05 18:24:38 -08:00
Antoine Mercadal
b5e6f888d7
Support for project history and quick switch in XCC
2013-02-05 18:24:32 -08:00
Alexandre Wilhelm
66dfcd3700
Merge branch 'master' of github.mv.usa.alcatel.com:amercada/Cappuccino
2013-02-04 16:33:06 -08:00
Alexandre Wilhelm
114cd51971
Removed useless code in layoutSubviews
2013-02-04 16:32:51 -08:00