Aparajita Fishman
76bdbb660e
clickedRow should be -1 initially, remove leftover setTheme.
2011-05-30 23:31:28 -07:00
Aparajita Fishman
a7929e6c1e
Enable escape as key equivalent.
2011-05-30 23:18:43 -07:00
Aparajita Fishman
b3cbc7e362
Test app and unit test to validate pinned ranges in beginsWith/endsWith predicate comparison.
2011-05-26 14:29:51 -07:00
Aparajita Fishman
d6b3efaae8
Pin ranges to valid values.
2011-05-26 13:00:46 -07:00
Aparajita Fishman
33345f65ce
Restored space, backspace and escape as key equivalents, but only if the first responder is not a CPTextField. Updated test app to show clearly the effect of this change.
2011-05-23 16:31:15 -07:00
Aparajita Fishman
3fe5ec5d6d
Fixed set of keys that can be considered a key equivalent, removed redundant call to performKeyEquivalent, test app
2011-05-22 18:05:08 -07:00
Aparajita Fishman
142b982577
Documentation tweaks
2011-05-22 17:19:06 -07:00
Aparajita Fishman
147c65b962
On WebKit (at least on Mac), right Command key code is 93, not 91. This was not being interpreted correctly.
2011-05-22 17:06:25 -07:00
Aparajita Fishman
89dbccd74e
Use CPLog instead of console.log
2011-05-20 08:01:22 -07:00
Aparajita Fishman
a4647f2b82
CPColor and CPImage enhancements
...
- Enhanced -description method of CPImage and CPColor to show the exact content, especially for pattern colors.
- Added CPColorWithImages() convenience function, analogous to PatternColor() function used in theme descriptors.
- Added @cond/@endcond in CPColor to ignore local variables.
- Sample app included.
2011-05-20 00:23:17 -07:00
Aparajita Fishman
94336ebcbb
Merge remote branch 'refs/remotes/280north/master'
...
Conflicts:
Tools/Documentation/preprocess/003.make_headers.rb
2011-05-19 23:19:08 -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
5dfa43ce5f
Oops, accessor methods weren't being synthesized, removed some cruft
2011-05-19 17:10:26 -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
ff7774976e
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:46:41 -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
a435e54a67
Stupid Uber Glory bundle duplicated the file a few times when stripping whitespace.
2011-05-18 17:32:59 -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
852597f11d
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:15 -07:00
Aparajita Fishman
896f91215e
Whitespace cleanup
2011-05-18 16:54:21 -07:00
Aparajita Fishman
806fea9222
Whitespace cleanup
2011-05-18 16:53:51 -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
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
972bb4100f
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:29:54 -07: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
Aparajita Fishman
6a6b83635f
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:49:52 -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
Aparajita Fishman
d8f202fc1f
Missed a text substitution, darkened up the method header a bit
2011-05-17 21:11:31 -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
Aparajita Fishman
2322743252
Documentation tweak
2011-05-17 10:51:09 -07:00
Aparajita Fishman
8b3f9c5557
Merge remote branch 'refs/remotes/280north/master'
...
Conflicts:
Tools/Documentation/doxygen.css
Tools/Documentation/processor_setup.sh
2011-05-17 10:48:22 -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