Aparajita Fishman
e17d8ca302
Pin ranges to valid values.
2011-05-26 14:31:13 -07:00
Klaas Pieter Annema
9b3926cada
Merge branch '0.9.1b'
2011-05-24 12:30:07 +02:00
Klaas Pieter Annema
815e64356d
implement _minimumFrameSize in CPButton
2011-05-24 12:29:23 +02:00
Klaas Pieter Annema
249a63af95
don't use remove method for removeMany selector
2011-05-24 12:28:25 +02:00
Klaas Pieter Annema
8520247605
Merge pull request #1247 from primalmotion/bundletask-option-preventsnib2cib
...
add setPreventsNib2Cib to bundletask.js
2011-05-23 22:45:42 -07:00
Alexander Ljungberg
686bce00d9
Merge branch '0.9.1b'
2011-05-23 13:49:09 -04:00
Alexander Ljungberg
8ae94c2745
Put CPBox in the right documentation module and add some basic documentation.
2011-05-23 13:46:09 -04:00
Klaas Pieter Annema
8feb5b5cee
Merge branch 'right-command-key-fix' of https://github.com/aparajita/cappuccino into aparajita-right-command-key-fix
2011-05-23 11:14:12 +02:00
cacaodev and Klaas Pieter Annema
2b52f7d8da
- Fixed a bug where the right control was incorrectly recreated with a default value when switching operators.
...
- As per cocoa, the predicate is recomputed when you send the right control action, not when you change text. Update-as-you-type can be turned ON by subclassing -_sendsActionOnIncompleteTextChange method. Default is NO.
- Rewrote _reconfigureSubviews method, should be faster.
2011-05-23 10:59:44 +02:00
cacaodev and Klaas Pieter Annema
ea660e3dd4
CPPredicateEditorRowtemplate:
...
Fixed a bug when menu item titles and their corresponding keypath expressions where different and templates created in IB.
Fixed a bug appearing in Xcode4 IB when titles and keypath where identical.
2011-05-23 10:59:43 +02:00
cacaodev and Klaas Pieter Annema
ca1a1b43f1
CPRuleEditor & CPPredicateEditor & CPPredicateEditorRowtemplate implementations with theming, nib2cib support.
...
Tests: CPRuleEditorCibTest, CPPredicateEditorCibTest, SmartFoldersDemo: a real world usage of CPPredicateEditor.
Documentation for these 3 new classes.
2011-05-23 10:59:43 +02:00
Ross Boucher
6c6ac4bd2e
Merge pull request #1276 from hammerdr/Documentation
...
Elaborate what setItemPrototype expects and does in CPCollectionView.
2011-05-22 17:17:04 -07:00
Aparajita Fishman
59e5689d1a
On WebKit (at least on Mac), right Command key code is 93, not 91. This was not being interpreted correctly.
2011-05-22 17:07:49 -07:00
Derek Hammer
7194a6961a
Forgot a forward slash to end the pre tag.
2011-05-22 17:58:25 -05:00
Derek Hammer
e404217e8b
Elaborate what setItemPrototype expects and does in CPCollectionView.
2011-05-22 17:55:17 -05:00
Randy Luecke
f419629ce4
Merge pull request #1260 from aparajita/cpmenu-remove-all
...
Added CPMenu -removeAll
2011-05-21 18:21:15 -07:00
Randy Luecke
35f958f1a7
Merge pull request #1273 from aparajita/cornerview-fix
...
CPTableView does not remove corner view if header view is removed
2011-05-21 18:20:43 -07:00
Alexander Ljungberg
64f9309994
Merge pull request #1268 from primalmotion/cappuccino
...
---
This patch makes nib2cib dealing with NSButtons much more better by setting particular offsets
according to the the kind of button.
Here is a screenshot of what I have done in IB :
<http://img839.imageshack.us/img839/4379/19894787.png >
This is the rendering of nib2cib without this patch:
<http://img263.imageshack.us/img263/1708/without.png >
This is the rendering of nib2cib with this patch:
<http://img263.imageshack.us/img263/1097/with.png >
2011-05-19 21:54:12 -04:00
Alexander Ljungberg
1c201d7dba
Refs #1270 . Fix a typo.
2011-05-19 21:50:30 -04:00
Alexander Ljungberg
e1cd4d0f6e
Merge pull request #1270 from aparajita/cappuccino
...
---
- Worked around a major bug in doxygen. It turns out that doxygen would not generate documentation for the first method -- or sometimes all methods (e.g. CPPredicate) -- if the ivar block for a class was missing or empty. This is solved now by inserting a dummy __doxygen__ ivar block.
- Missed a text substitution
- Darkened up the method header a bit to make it easier for the eye to anchor on.
- Changed to centered, fixed-width layout, it results in shorter line lengths which reads more easily.
- Moved support files to separate support directory.
- Removed blank lines at end of multi-parameter method prototypes.
- Fixed font declaration so fonts are correct in FireFox.
- Added spacing between parameter descriptions in method prototype.
- Fixed formatting of class description for CPPredicate.
- Added a missing @endverbatim to CPExpression.j.
2011-05-19 21:44:49 -04:00
Alexander Ljungberg
8fcbf3ce0c
Merge branch '0.9.1'
2011-05-19 21:39:18 -04:00
Antoine Mercadal and Alexander Ljungberg
915867e296
update the CPToolTip manual test
2011-05-19 21:33:36 -04:00
Antoine Mercadal and Alexander Ljungberg
ac24b9ee68
Fix Firefox problem. close #1271
...
This patch fix the blink problem with FF, by changing the positionning of tooltips, which by the way reflects more the Cocoa behaviour.
2011-05-19 21:33:25 -04:00
Aparajita Fishman
aa7345935d
Oops, accessor methods weren't being synthesized, removed some cruft
2011-05-19 17:10:50 -07:00
Aparajita Fishman
3937e66e06
Major fix to documentation generation:
...
- It turns out doxygen would not generate documentation for the first method in a file (or sometimes any methods at all) if there was no ivar block or an empty ivar block. Now a dummy __doxygen__ ivar is inserted in empty blocks to force correct behavior.
- Added a missing @endverbatim to CPExpression.j.
- Tweaked class documentation for CPPredicate.j.
2011-05-19 16:47:11 -07:00
Aparajita Fishman
634fa7b850
Stupid Uber Glory bundle duplicated the file a few times when stripping whitespace.
2011-05-18 17:33:30 -07:00
Aparajita Fishman
f132ec5a50
Fixed formatting of lists and code in class description. The code did not change, I don't know why git says it did.
2011-05-18 16:55:43 -07:00
Aparajita Fishman
896f91215e
Whitespace cleanup
2011-05-18 16:54:21 -07:00
Alexander Ljungberg
b3d3f742f1
Merge pull request #1272 from primalmotion/cappuccino
...
---
This patch fix the blink problem with FF, by changing the positionning of tooltips, which by the way reflects more the Cocoa behaviour.
2011-05-18 14:50:53 -04:00
Antoine Mercadal
bf516b5fc5
update the CPToolTip manual test
2011-05-18 19:33:01 +02:00
Aparajita Fishman
4ab69ebb68
If there is no header view, there should be no corner view. This is what Cocoa does. Also for correctness -enclosingScrollView should be used to get the table's scrollview. Test app included.
2011-05-18 10:30:43 -07:00
Antoine Mercadal
5a7c38d6eb
Fix Firefox problem. close #1271
...
This patch fix the blink problem with FF, by changing the positionning of tooltips, which by the way reflects more the Cocoa behaviour.
2011-05-18 19:30:16 +02:00
Aparajita Fishman
6d962bc51a
More documentation enhancements...
...
- Changed to centered, fixed-width layout, it results in shorter line lengths which reads more easily.
- Moved support files to separate support directory.
- Removed blank lines at end of multi-parameter method prototypes.
2011-05-18 07:50:27 -07:00
Antoine Mercadal
e8a38e0bc0
add small visual test project
2011-05-18 08:51:05 +02:00
Aparajita Fishman
800e32edad
Missed a text substitution, darkened up the method header a bit
2011-05-17 21:14:01 -07:00
Antoine Mercadal
4acb757aec
adjust CPTextField positioning. Offsets changed since the usage of the new Aristo Art
2011-05-17 23:02:25 +02:00
Antoine Mercadal
9708985901
Make CPPopUpButton positionning pixel perfect
2011-05-17 22:16:26 +02:00
Ross Boucher
27a1c5e9a4
Merge pull request #1269 from aparajita/CPScrollView-doc-tweak
...
CPScrollView documentation tweak
2011-05-17 12:40:24 -07:00
Aparajita Fishman
d7ef31c4f5
Documentation tweak
2011-05-17 10:54:52 -07:00
Antoine Mercadal
fde18bba2e
Correct button positionning.
...
This patch makes nib2cib dealing with NSButtons much more better by setting particular offsets
according the the kind of button.
2011-05-17 19:30:42 +02:00
Alexander Ljungberg
f7a2a2e6fd
Merge branch '0.9.1'
...
Conflicts:
Tools/nib2cib/NSFont.j
2011-05-17 01:18:56 -04:00
Alexander Ljungberg
fb07e2ae06
Refs #1266 . Simple manual/visual test for font conversion.
2011-05-17 01:17:38 -04:00
Alexander Ljungberg
f414ed2e8d
Refs #1266 . Still convert default font size in nib2cib even if the default font is bold.
...
(E.g. Lucida Grande 13 Bold should become Arial 12 Bold, not Arial 13 Bold.)
2011-05-17 01:16:03 -04:00
Alexander Ljungberg
86f3cc1831
Refs #1266 . Minor optimisation.
2011-05-17 00:45:36 -04:00
Antoine Mercadal and Alexander Ljungberg
e77c706c38
nib2cib now takes care of bold and italic
...
This allows to set bold and italic in IB even if the size of the font is the default one
2011-05-17 00:45:28 -04:00
Alexander Ljungberg
8bdb0f6215
Replace extremely outdated and defunct NibApp manual test with a new one based on current templates, preserving and fixing the good parts of NibApp.
2011-05-17 00:40:41 -04:00
Alexander Ljungberg
ec5c0e361d
Refs #1266 . Minor optimisation.
2011-05-17 00:38:39 -04:00
Alexander Ljungberg
533dbbfc69
Merge branch 'master' of github.com:280north/cappuccino
2011-05-17 00:12:08 -04:00
Alexander Ljungberg
0e04f7cae3
Merge pull request #1266 from primalmotion/cappuccino
...
---
This allows to set bold and italic in IB even if the size of the font is the default one
2011-05-17 00:11:57 -04:00
Antoine Mercadal
e4c708efde
nib2cib now takes care of bold and italic
...
This allows to set bold and italic in IB even if the size of the font is the default one
2011-05-17 00:28:33 +02:00