Antoine Mercadal
7bf46cb40b
Add support for disabling sudo action
...
you can set CAPP_NOSUDO=1 in your environment to disable any sudo action.
This means that if a command failed as current user, jake
will not try to run it with sudo,and will simply return the error code
2012-10-10 12:24:36 -07:00
Aparajita Fishman
385de88e2f
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-10-08 17:30:40 -04:00
Aparajita Fishman
c2da96e311
CPWebView should be converted to WebView* in the shadow header
2012-10-08 17:30:28 -04:00
Antoine Mercadal
8bbb3d30b2
Merge branch 'master' of https://github.com/cappuccino/cappuccino
2012-10-05 17:59:57 -07:00
Antoine Mercadal
1edcc511d6
Allow custom action for search button
...
If there is no menu, and search button has a target/action, then
send the action.
2012-10-05 17:58:54 -07:00
aparajita
9b22b33616
Merge pull request #1682 from slevenbits/clickedColumn
...
Implemented CPTableView -clickedColumn
2012-10-02 14:21:51 -07:00
Aparajita Fishman
3fd8d3e5be
Implemented CPTableView -clickedColumn
2012-10-02 17:20:39 -04:00
Aparajita Fishman
ce167cf92d
Removed unused variable
2012-10-02 08:41:57 -04:00
Aparajita Fishman
3ccaa4de50
Button types can be set in IB, no need for code
2012-09-28 18:04:31 -04:00
aparajita
5cd137b745
Merge pull request #1680 from slevenbits/tag-fix
...
Fix tag reading from IB
2012-09-28 14:46:35 -07:00
Aparajita Fishman
95246d73c1
Fixed xib to work correctly with smaller screens
2012-09-28 17:44:56 -04:00
Aparajita Fishman
8ff2a32b47
Fix tag reading from IB
...
Both controls and cells can have tags in IB, but Cappuccino has no cells. If the control has a tag, that takes precedence. Tag reading was moved to NSControl from NSView, since NSView does not have a tag in Cocoa.
2012-09-28 16:20:55 -04:00
Aparajita Fishman
90d52a8bb4
Don't show environment vars when building
2012-09-28 14:55:33 -04:00
Alexander Ljungberg
a337bc28f9
Reduce number of divs used by typical apps.
...
Without this optimisation nil or 0x0 sized image slices in three part and nine part images result in useless empty divs.
Eliminating these divs should improve performance and reduce memory usage.
Although exact memory usage is hard to measure, in a large app the number of divs on screen went from 1012 to 984, a reduction of about 2.7%.
2012-09-26 12:32:09 +01:00
Alexander Ljungberg
8a5923527f
Mention our trailing whitespace policy.
2012-09-24 17:14:37 +01:00
Alexander Ljungberg
59ad8499df
Refs #1676 . Whitespace.
2012-09-24 17:05:35 +01:00
Alexander Ljungberg
566cd6c6e8
Merge pull request #1676 from deltaprojects/master
...
CPNumberFormatterPercentStyle and CPTableView hidden column bug fix
2012-09-24 16:56:18 +01:00
Johan Stille
02a885eb09
Added test for initially hidden table column fix.
2012-09-24 14:22:39 +02:00
Johan Stille
632fba9dd5
Null check when laying out columns in CPTableView.
reborn-20120924
2012-09-24 13:17:24 +02:00
Johan Stille
eb2bb24c19
Added support for CPNumberFormatterPercentStyle in CPNumberFormatter.
2012-09-24 12:08:31 +02:00
Alexander Ljungberg
c8a37b4f99
Improve readability.
2012-09-17 19:46:36 +01:00
Alexander Ljungberg
117d946ed3
Contributing guidelines.
...
These will be shown in GitHub: https://github.com/blog/1184-contributing-guidelines .
2012-09-17 18:54:25 +01:00
Antoine Mercadal
d4b0e2a124
fix some paths using non unicode chars causing xcc_general_include.h import problems
2012-09-15 12:17:43 -07:00
Antoine Mercadal
4acda0c447
fix and update css for documentation when using doxygen 1.8
2012-09-14 14:33:13 -07:00
Antoine Mercadal
a7b40a5cdd
XcodeCapp now uses both .m and .h shadow files in addition of the general include .h. Seems to fix most of the problems + refactoring
2012-09-13 19:07:46 -07:00
Antoine Mercadal
ad5b9b658e
take care of the .h and .m
2012-09-13 19:06:34 -07:00
Antoine Mercadal
df28a4696e
parser.j now generate both header and implementation files
2012-09-13 19:06:00 -07:00
Antoine Mercadal
c30a6fb843
import the general include file to allow XCode to understand custom class inheritance
2012-09-13 14:09:30 -07:00
Antoine Mercadal
2e7afc3ca1
when managin the project, create a file containing includes of all projects files
2012-09-13 14:09:02 -07:00
Antoine Mercadal
2f428fa389
test item visibility when expanding/collapsing items
2012-09-10 15:19:32 -07:00
Antoine Mercadal
0a189906cd
notify delegate that item did collapse after reloading them
2012-09-10 15:17:45 -07:00
Antoine Mercadal
e4a6d8520c
CPOutlineView notify for items expanded after having reloaded them
2012-09-10 13:49:40 -07:00
Alexander Ljungberg
fe138be7ae
Merge pull request #1668 from BlairDuncan/SelectionCompatibility
...
Windows selection compatibility. Fix for issue 1390
2012-09-04 13:45:31 +01:00
Alexander Ljungberg
ff51263671
Merge pull request #1669 from slevenbits/cpscrollview-frame
...
Fix frame of CPScrollView is calculated incorrectly.
2012-09-04 13:34:08 +01:00
Blair Duncan
04f650dde7
Windows selection compatibility. Fix for issue 1390
2012-09-03 23:47:11 -04:00
Alexander Ljungberg
48e797a80d
Minor hit test optimisation.
2012-09-03 20:20:23 +01:00
Alexander Ljungberg
bf3a152946
Whitespace.
2012-09-03 20:20:05 +01:00
Alexander Ljungberg
7264692a0a
Optimise CPSegmentedButton setEnabled:forSegment:.
...
Don't relayout the segmented button if the enabled state of a segment is not changed.
2012-09-02 23:33:56 +01:00
Alexander Ljungberg
b5776445ec
Significantly optimise CPToolbar validation.
...
Avoid sending notifications about toolbar items' enabled state needlessly.
Tiling is expensive, but even if the toolbar item ignores redundant `setEnabled:` calls, the cost of notifications alone can really add up when there are many toolbar items.
2012-09-02 23:08:14 +01:00
Ilya Kulakov
ee1c5478b1
Fix frame of CPScrollView is calculated incorrectly.
2012-09-03 03:41:14 +07:00
Alexander Ljungberg
63bad1dae0
Setting _data just once is enough.
2012-09-02 17:28:34 +01:00
Alexander Ljungberg
d0fa16b96b
Fix NSPopUpButton in previous commit.
2012-08-31 23:19:24 +01:00
Alexander Ljungberg
3dacb4a5ef
Fix nib2cib alignment ofCPColorWell, CPComboBox, CPPopUpButton and CPSegmentedControl.
2012-08-31 22:31:40 +01:00
Alexander Ljungberg
ce80ee1739
Merge pull request #1667 from slevenbits/stepper-visuals
...
Visual `CPStepper` fixes.
2012-08-31 22:11:19 +01:00
Alexander Ljungberg
4e6b9978ce
Adjust size in NSStepper to CPStepper.
2012-08-31 22:09:11 +01:00
Alexander Ljungberg
31d5ddb20a
Improve CPStepper graphics.
...
* Disabled `CPStepper` looked larger than the regular stepper due to the outline becoming white.
* Wrong pixels at bottom corners.
2012-08-31 22:08:25 +01:00
Alexander Ljungberg
2355b7a38b
Fixes #1666 : since 5763ebd extremely slow double clicks would be accepted.
...
`CPEvent timestamp` is now in seconds so the double click delay has to be adjusted. Also slightly increased double click interval to account for lower precision.
2012-08-31 13:56:14 +01:00
Alexander Ljungberg
0e68729d7f
Fixed: dragged table view columns ignored custom column header views.
2012-08-29 16:41:43 +01:00
Alexander Ljungberg
b33763caeb
Fixed: popovers could only properly open relative to views in the main window.
...
This would make the popover open with the wrong coordinates if the positioning view was in a window different than the main window, such as a utility window which can't become the main window.
2012-08-28 16:25:41 +01:00
Alexander Ljungberg
5b19c967f4
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-08-28 14:33:45 +01:00