Alexander Ljungberg
8aaf298466
Fixes #1529 . Fixed: Incorrect CPDecimalNumber result for 220000/220.
...
And in general divisions where the quotient had fewer digits than the dividend when disregarding exponent would fail.
We want to stop dividing when we've gone over all the digits in the dividend and the remainder is 0.
2012-05-10 00:16:56 +01:00
Alexander Ljungberg
82e2c7a0e8
Refs #1529 . Simpler test: 11/11.
2012-05-10 00:02:44 +01:00
Alexander Ljungberg
27fa01648f
Code formatting, delete stray */.
2012-05-10 00:01:03 +01:00
Alexander Ljungberg
ab25408429
Refs #1529 . Unit test exposing division error.
2012-05-09 23:39:11 +01:00
Alexander Ljungberg
d896baf38b
Code formatting.
2012-05-09 19:09:35 +01:00
Darrell Walisser
53798c1545
-allow any window to become a sheet
2012-05-06 12:07:02 -04:00
Darrell Walisser
1e6f0090da
-allow any window to become a sheet
2012-05-06 12:06:23 -04:00
aparajita
0dcca6d388
Merge pull request #1527 from BlairDuncan/reNib2cibTestFiles
...
ran nib2cib on all of current test files xib's
2012-05-04 18:04:55 -07:00
Blair Duncan
934691fffb
nib2cib all of current test files xib's
2012-05-04 20:10:55 -04:00
Alexander Ljungberg
6bc26eb0cc
Test app to verify CPProgressIndicator rendering, nib2cib and coding.
2012-05-03 20:42:41 +01:00
Alexander Ljungberg
bdcc1539ac
Use an ephemeral subview for the bar of a progress indicator.
...
This is clearer code and avoids encoding the 'pill view' automatically.
2012-05-03 20:40:50 +01:00
Alexander Ljungberg
6715fbbce2
nib2cib support for CPProgressIndicator size. Fixed: a regular size spinner in IB became twice as large in Cappuccino.
2012-05-03 20:27:05 +01:00
Alexander Ljungberg
da055f83b3
Fixed: CPProgressIndicator encoder wasted space and caused errors.
...
The errors would cause exceptions such as "Not allowed to load local resource: file:///<some local path from the machine that ran nib2cib>" when loading cib driven app through a web server.
2012-05-03 19:45:12 +01:00
Alexander Ljungberg
1476efce90
Minor formatting.
2012-05-03 01:36:17 +01:00
Adam Radabaugh
2078d0e23b
Restore copywrite info in headers.
2012-05-01 15:16:44 -06:00
Adam Radabaugh
ea0107f67f
Enable additional button types in CPButton with manual test.
2012-05-01 15:11:34 -06:00
Darrell Walisser
c71f5baef2
-implement orderOut: to control sheet dismissal
...
-lots of comments and a few debug prints
2012-04-28 20:36:10 -04:00
Darrell Walisser
66f55df44a
-use _endSheet to end sheets
...
-do not call orderFront: if the sheet is already visible
2012-04-28 20:32:13 -04:00
Darrell Walisser
8fd5f30b87
-call orderOut: to dismiss the alert sheet
2012-04-28 20:28:09 -04:00
Darrell Walisser
8bc4a287a6
-update docs for sheet notifications
2012-04-28 11:31:01 -04:00
cacaodev
d1dd177bfd
CPImageView: support for CPDataBinding. Test.
2012-04-28 17:12:22 +02:00
cacaodev
80b6788638
CPImage -initWithData:
2012-04-28 17:11:37 +02:00
Darrell Walisser
ce6444c30e
-implement CPWindow sheet notifications on delegate
...
-raise error when window already has a sheet, or attaching sheet to a sheet
2012-04-28 10:13:02 -04:00
cacaodev
5e3d9df81a
In CPTableViewLionCibTest, use valueURL binding for image views; general capp lint.
2012-04-28 10:09:39 +02:00
cacaodev
a0d52d415b
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-04-28 09:00:53 +02:00
Alexander Ljungberg
c437537749
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-04-27 01:19:56 +01:00
Alexander Ljungberg
c16c0309c8
Fixed: CPOutlineView setMenu: was not effective.
...
A CPOutlineView without a delegate `outlineView:menuForTableColumn:item` method, would not display its context menu as specified by `setMenu:` or in IB.
2012-04-27 01:19:47 +01:00
aparajita
1dcd380bb2
Merge pull request #1283 from cacaodev/CPRulePredicateEditor
...
CPRuleEditor & CPPredicateEditor fixes and enhancements
2012-04-26 12:02:07 -07:00
cacaodev
6fe3d53a13
Merge remote-tracking branch 'upstream/master' into CPRulePredicateEditor
2012-04-26 20:34:18 +02:00
cacaodev
92cdda1d22
capplinted CPRuleEditor/*.j
2012-04-26 20:34:09 +02:00
Aparajita Fishman
3eb4155489
Switched to /usr/bin/env bash for better cross-platform compatibility
2012-04-26 19:11:05 +02:00
Aparajita Fishman
e657e7a684
Make capp_lint use a single code base for command line and SublimeLinter
2012-04-26 18:14:06 +02:00
Alexander Ljungberg
5446bedfcc
Fixes #1519 . Fixed: capp_lint __init__ takes at least 2 arguments error.
...
Some SublimeLinter specific bits appear to have made it into the standalone capp_lint.
2012-04-26 16:02:41 +01:00
Alexander Ljungberg
be36803570
Fixed: CPPredicateEditor "Display value must be…" exception in recent revisions.
2012-04-26 15:35:55 +01:00
Alexander Ljungberg
998bdb550b
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-04-26 15:25:59 +01:00
Alexander Ljungberg
a0c7305334
Fixed: collection views cleared their selection whenever the content was changed.
...
This was unlike Cocoa and prevented CPArrayController's selectsInsertedObjects from working.
2012-04-26 15:19:18 +01:00
cacaodev
edb86ebeeb
CPPredicateEditorValueBinder cleaning, conforms to recent CPBinder updates
2012-04-26 16:09:32 +02:00
cacaodev
bfe53a1d54
Merge branch 'CPPredicateEditorRowNode-formatting' into CPRulePredicateEditor
2012-04-26 15:39:16 +02:00
cacaodev
3ab2ebf71f
Merge remote-tracking branch 'upstream/master' into CPRulePredicateEditor
...
Conflicts:
AppKit/CPRuleEditor/CPRuleEditor.j
2012-04-26 15:38:30 +02:00
Darrell Walisser
0f43cdee00
-sheet attached to modal window runs in modal context
...
-events in modal run loop get passed to sheet's parent window, so it can move and resize
2012-04-25 21:04:38 -04:00
Blair Duncan
9ef9bf9f42
CPFlashView a few minor fixes, includes Test file
2012-04-25 17:07:13 -04:00
Antoine Mercadal
b04dbb647b
Typo in method name + make some methods private
2012-04-25 12:41:22 -07:00
aparajita
72092732f3
Merge pull request #1516 from zittix/Xcodecapp_mising_help_fix
...
Add missing help file in XcodeCapp to avoid startup crash
2012-04-25 08:10:26 -07:00
zittix
7f0ff5fd0a
Add missing help file in XcodeCapp
2012-04-25 16:25:58 +02:00
Antoine Mercadal
0318d23ab6
Fix stupid error in tooltips management when initializing from a coder
2012-04-24 18:10:33 -07:00
Antoine Mercadal
8fdf78cf67
Move the tooltip code into the CPView code (remove category). Fix problem with tooltips not working when using deploy
2012-04-24 17:57:05 -07:00
Darrell Walisser
06348bbe0b
-keep parent window behind sheet when orderFront: on sheet or left mouse down on parent window
2012-04-24 20:54:09 -04:00
Antoine Mercadal
3ec4d3e374
Encode/Decode tooltip in CPView
2012-04-24 16:27:36 -07:00
Antoine Mercadal
9866bf19a4
Support for setting ToolTips right from IB
2012-04-24 16:13:37 -07:00
Aparajita Fishman
1e3c668c9b
Added instructions for using pre-commit hook
2012-04-24 10:37:40 +02:00