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
4a7c2a96db
compense the y placement
2011-05-17 01:24:54 +02:00
Antoine Mercadal
0b09ada144
Do not truncate bold labels
...
When label with default size are bold, letter like p, g, q etc,
are truncated like in http://gyazo.com/d6c25af20574a96f9af0f288a7bd802a.png
This commit fix this.
2011-05-17 01:02:53 +02: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
Francisco Ryan Tolmasky I
28bd18fab6
Merge pull request #1265 from aparajita/NSColorWell-enabled
...
NSColorWell was not setting its enabled state
2011-05-16 12:28:29 -07:00
Aparajita Fishman
c9faea8753
NSColorWell was not setting its enabled state
2011-05-16 11:16:22 -07:00
Alexander Ljungberg
24c5b5f6c9
Merge branch '0.9.1'
2011-05-15 19:48:32 -04:00
Alexander Ljungberg
868201b492
Merge pull request #1033 from jlujan/cappuccino
...
---
The expression in the while loop in setParameters results in the wrong value being assigned to "key" which results in malformed param tags that look like the following:
<param name="[object HTMLObjectElement]" >
Also, _params is not checked before assignment in setParameters which will overwrite flashvars if setFlashVars was called before setParameters.
Addresses issues #1031 and #1032
2011-05-15 19:47:43 -04:00
Alexander Ljungberg
8db94c0849
Merge branch '0.9.1'
2011-05-15 19:37:10 -04:00
Alexander Ljungberg
f8984ced97
Refs #903 . Comment out failing tests until Obj-J 2 fixes them.
2011-05-15 19:36:04 -04:00
Alexander Ljungberg
7539b5b06d
Merge pull request #903 from paulbaumgart/cappuccino
...
---
Some OJTestCases for the Preprocessor to help make sure it still works as expected when it gets revamped to remove with() from method code generation.
Note that this adds a test case which the current Preprocessor fails: http://github.com/paulbaumgart/cappuccino/commit/8cc61cccfd78debe96eba96a7b332938e6d5377e#L1R81
2011-05-15 19:25:10 -04:00
Alexander Ljungberg
4ae47ed7c4
Merge branch 'master' of github.com:280north/cappuccino
2011-05-15 19:06:26 -04:00
Alexander Ljungberg
23cc507b12
Refs #1264 . Make tooltip delay a constant and reduce it to 1.0 second to match Cocoa a little more closely.
...
Perhaps we should implement something like [[CPToolTipManager sharedToolTipManager] setInitialToolTipDelay:X] for completeness.
2011-05-15 19:01:26 -04:00
Alexander Ljungberg
e9cfc806b6
Refs #1264 . Size to fit small tooltips to remove empty whitespace on right side.
2011-05-15 18:58:01 -04:00
Alexander Ljungberg
5994c48d5f
Refs #1264 . Fix accidental global, cleanup.
2011-05-15 18:36:21 -04:00
Alexander Ljungberg
bba0de3306
Merge pull request #1264 from primalmotion/cappuccino
...
---
These commits make the tooltips looking like cocoa ones.
- More simple implementation (only one file added _CPToolTips.j)
- Removal of CPAttachedWindow and CPAttachedWindowView
- Placement is based on mouse position (just like cocoa)
- It will try to find the best placement in case of a lake of space
Here is a screenshot : http://twitpic.com/4x401t
2011-05-15 18:29:51 -04:00
Francisco Ryan Tolmasky I
55937daa20
Merge pull request #1263 from aparajita/CPMenuManager-cleanup
...
_CPMenuManager style cleanup
2011-05-15 13:37:08 -07:00
Antoine Mercadal
fe53f2503b
let a fancy padding in case of placement forcing due to a lack of space
2011-05-15 22:36:33 +02:00
Antoine Mercadal
9058857403
style
2011-05-15 22:17:11 +02:00
Antoine Mercadal
c7517d81c7
remove useless variables
2011-05-15 22:17:11 +02:00
Antoine Mercadal
b8f46565ef
make CPToolTip a framework private class
2011-05-15 22:17:11 +02:00
Antoine Mercadal
10940ace13
improve CPToolTips. Make them more cocoa like. Remove usage of CPAttachedWindow
2011-05-15 22:15:37 +02:00
Antoine Mercadal
c57842d125
move Tooltips to CPView
2011-05-15 22:14:44 +02:00
Aparajita Fishman
bb3ed30b4e
Style cleanup
2011-05-15 12:15:00 -07:00
Alexander Ljungberg
1b1bd039c9
Merge branch '0.9.1'
2011-05-14 13:32:22 -04:00
Alexander Ljungberg
3fe907f007
Merge remote branch 'aparajita/better-docs' into 0.9.1
2011-05-14 13:28:19 -04:00
Alexander Ljungberg
c784a2a1ca
Merge branch '0.9.1'
2011-05-14 13:14:04 -04:00
Alexander Ljungberg
d4d01d9686
Refs #1261 . Clean up README.html tmp build file when jake docs is done.
2011-05-14 13:10:49 -04:00
Alexander Ljungberg
7ca8d0fb01
Whitespace cleanup.
2011-05-14 13:05:07 -04:00
Aparajita Fishman
b985081184
Tweak the class list page
2011-05-12 23:16:50 -04:00
Aparajita Fishman
02f61fa413
Lightened up box around method prototype
2011-05-12 16:56:28 -04:00
Alexander Ljungberg
1a8808a4fd
Merge pull request #1261 from aparajita/cappuccino
...
---
- Added generic facility for pre- and post-processor scripts to be run.
- Added support utility script for inclusion by processors.
- Totally overhauled css to make the pages more readable (I hope).
- Fixed some doc errors in CPTableView.
- Dont generate XML.
- Added colorize() and colorPrint() functions to common.jake.
- Added docs-no-frame task for generating docs without a sidebar frame.
2011-05-12 15:02:57 -04:00
Aparajita Fishman
be5bbdcb32
Another overhaul of doc generation.
...
- Added generic facility for pre- and post-processor scripts to be run.
- Added support utility script for inclusion by processors.
- Totally overhauled css to make the pages more readable (I hope).
- Fixed some doc errors in CPTableView.
- Don't generate XML.
- Added colorize() and colorPrint() functions to common.jake.
- Added docs-no-frame task for generating docs without a sidebar frame.
2011-05-12 14:41:54 -04:00
Aparajita Fishman
1e9798eead
Whitespace cleanup
2011-05-11 23:59:43 -04:00
Aparajita Fishman
3242e35250
Added CPMenu -removeAll method, removed unused internal _itemIsHighlighted method, test app
2011-05-11 23:59:33 -04:00
Alexander Ljungberg
864c4495c3
Merge branch '0.9.1'
2011-05-11 21:39:58 -04:00
Alexander Ljungberg
1c0f679f50
Refs #1245 . Fixed: setToolTip: belongs in CPView, not CPControl.
2011-05-11 21:36:49 -04:00
Alexander Ljungberg
71763d041b
Merge branch '0.9.1'
2011-05-11 21:04:47 -04:00
Alexander Ljungberg
345d48e224
Refs #1245 . Make CPToolTip and CPAttachedWindow internal since they're not part of the Cocoa API. Refactored some code from CPControl to CPToolTip.
2011-05-11 20:35:13 -04:00
Alexander Ljungberg
bb97c107c9
Refs #1245 . Minor clean up.
2011-05-11 20:02:08 -04:00
Alexander Ljungberg
37cad2f59a
Merge pull request #1245 from primalmotion/cappuccino
...
---
This is a basic merge of the TNKits tooltip system in Cappuccino.
2011-05-11 19:30:41 -04:00