Aparajita Fishman
4fff92f3ee
Ignore NS_*.j userland NS classes in XcodeCapp
2012-04-13 08:25:19 -04:00
cacaodev
a41ff7f2d0
TableView Example: fix row selection after drop
...
make editable textfield bordered
Finished CPOutlineView view-based. With example
2012-04-13 09:19:36 +02:00
cacaodev
b11294d9cf
Updated Cib test with the table content binding feature
2012-04-13 09:19:36 +02:00
cacaodev
fda6694e0f
merge content binding feature
2012-04-13 09:19:35 +02:00
cacaodev
399734fad4
CPTableView -_dragViewForColumn:event:offset:
...
Set the dragView frame before dataviews are added to it. Otherwise, dataviews will be expanded depending on their autoresize mask and appear cropped on the right.
2012-04-13 09:19:35 +02:00
cacaodev
0b5f0e5e61
CPTableView: Fixed a bug where an error was thrown when trying to edit a view-based cell. View-based cells don't need their editing to be handle by the table (begin or end), instead they are edited directly. Added an editable textfield on the right column view. values are commited via bindings. Focus not shown when you edit because of a bug in CPTextField
2012-04-13 09:19:35 +02:00
cacaodev
f87dbec170
Add performance tests for the loadDataViewsInRows:columns: in view-based examples and in cell-based example CPTableCibTest. You need to re-build the fmw if you want to compare before/after view-based API.
2012-04-13 09:19:35 +02:00
cacaodev
67f7649f6c
CPTableView with Lion's view-based API
...
Added : -makeViewWithIdentifier:owner:
-rowForView: columnForView: less performant tahn cocoa because we cycle through all visible rows. But these methods are generally used once when editing manually.
Added identifier property to CPView.
retro and forward (in IB) compatible with the existing API. You can use IB table view based without the new API. Existing table views / Nib won't break.
CPTableView view based example. Featuring: IB made data views, different views in the same column, subviews binding in IB
When the view is found automatically in the cib, instantiate with _delegate as the owner (cocoa behavior).
2012-04-13 09:19:23 +02:00
cacaodev
c2cad3cca3
nib2cib NSNib support. NSNib are represented as data inside nib files. We need to extract them, write, nib2cib, feed CPCib with the data.
2012-04-13 09:19:23 +02:00
cacaodev
5a99011feb
nib2cib support for CPView identifier property.
2012-04-13 09:19:23 +02:00
cacaodev
392702cc18
nib2cib Converter.j : Add a flag to disable ibtool step in case the input is already compiled. Set SharedConverter class var in init (not a singleton, represents the current Converter).
2012-04-13 09:18:54 +02:00
cacaodev
0c8715dd8d
Merge remote-tracking branch 'upstream/master' into CPImageView-bindings
2012-04-12 23:26:11 +02:00
cacaodev
487d38fd21
Merge remote-tracking branch 'upstream/master' into CPImageView-bindings
2012-04-12 23:12:09 +02:00
Aparajita Fishman
c028c0ad26
Fixed infinite loop when finished editing a tableview cell.
2012-04-12 17:09:20 -04:00
cacaodev
925a922d90
Remove first row in the plist
2012-04-12 21:41:26 +02:00
Aparajita Fishman
aeb2671fc0
CPImageView enhancements
...
- Changed from deprecated image scaling constants to new ones.
- Added support for CPImageScaleProportionallyUpOrDown (thanks BlairDuncan).
- Cleaned up image layout code.
2012-04-12 14:55:46 -04:00
Aparajita Fishman
502edbd152
nib2cib enhancements
...
- Added support for User Defined Runtime Attributes in IB.
- Added support for userland NS classes in IB.
- Added support for file-based nib2cib configuration.
- Converted nib2cib to Objective-J from straight Javascript.
- Updated man page for new features.
- Test app.
2012-04-12 12:09:24 -04:00
Aparajita Fishman
5fed81e1dc
CFURL/CPURL fixes/enhancements
...
- Fixed bizarre bug where local variable path was being set as attribute of object in CPURL -pathComponents.
- Added CPURL -URLByDeletingLastPathComponent.
- Linted CFURL.js.
- CFURL constructor should copy when passed a CFURL.
- Added CFURL.createCopyDeletingLastPathComponent.
- Added test for URLByDeletingLastPathComponent.
2012-04-12 10:45:01 -04:00
Blair Duncan
ed2e637219
Merge branch 'master' of git://github.com/cappuccino/cappuccino into afterDocumentLoadFix
2012-04-11 06:53:53 -04:00
Aparajita Fishman
6293380406
Let jake proceed if a man page cannot be copied
2012-04-10 22:42:46 -04:00
Blair Duncan
3649b0ed9c
Added test
2012-04-10 19:28:00 -04:00
Antoine Mercadal
73641cb726
Merge remote-tracking branch 'upstream/master'
2012-04-10 16:10:14 -07:00
Antoine Mercadal
71cfeae5f1
fix typo preventing the highlighting color to be draw.
2012-04-10 16:08:17 -07:00
Aparajita Fishman
c40aaa04f6
Merge branch 'master' of github.com:cappuccino/cappuccino into cappuccino
2012-04-10 18:42:43 -04:00
Aparajita Fishman
f4f4554cde
Fixed test of result of sudo()
2012-04-10 18:42:26 -04:00
aparajita
1b0fa21f28
Merge pull request #1498 from BlairDuncan/unnecessaryGlobals
...
Unnecessary globals
2012-04-10 14:57:40 -07:00
Aparajita Fishman
5c0e079873
CPBinder: In reverseSetValueFor:, suspend observation to avoid unwanted setValueFor:
...
isssue #1463
Manual test and ojtest.
2012-04-10 17:28:20 -04:00
Blair Duncan
6ede1ccb04
Unnecessary globals
2012-04-10 17:25:46 -04:00
aparajita
7173d3c866
Merge pull request #1496 from BlairDuncan/testBranch
...
Fix for issue 1425 CPOutlineView expand all items
2012-04-10 14:15:10 -07:00
cacaodev
c989c30e00
Use new CPBinder methods from #1495
2012-04-10 22:57:20 +02:00
Blair Duncan
13fbfb6cac
fix to enables the startup loader to continue if dynamically loaded
2012-04-10 16:55:42 -04:00
cacaodev
d649fc2413
Merge remote-tracking branch 'upstream/master' into CPImageView-bindings
2012-04-10 22:26:23 +02:00
aparajita
8015106976
Merge pull request #1495 from cacaodev/CPBinder
...
CPBinder: consolidate setValueFor: with placeholders management
2012-04-10 13:22:23 -07:00
Blair Duncan
6b6c44c4d5
Fix for issue 1425 CPOutlineView expand all items when option key is pressed while clicking the disclosure triangle
2012-04-10 16:11:31 -04:00
cacaodev
742bfcb0e7
Fix non-applicable syntax
2012-04-10 22:06:50 +02:00
cacaodev
f222d7bfe7
CPBinder: move placeholder handling to superclass, add 2 subclassable methods for appying the regular value or a placeholder value.
...
Update binder subclasses for CPTextField, CPCheckBox, CPColorWeel.
2012-04-10 21:48:09 +02:00
Aparajita Fishman
f6bdf06e45
Fix _CPFormatLogMessage to do something intelligent if aLevel and/or aTitle is empty or not passed
2012-04-10 15:07:39 -04:00
Aparajita Fishman
c04f188adc
Fix for dump_theme failing without admin rights, common.jake linting
2012-04-10 14:26:00 -04:00
Antoine Mercadal
1e2964ad8f
Fix a crash do to calling non-existing selector
...
That said, the popover is not moving correctly with the
attached view as it did. Patch in a following commit
2012-04-09 19:20:47 -07:00
Aparajita Fishman
dd63174493
Merge branch 'master' of github.com:cappuccino/cappuccino into cappuccino
2012-04-09 15:53:53 -04:00
Aparajita Fishman
91642080d6
Eliminate flashing of insertion point when becoming first responder due to double setTimeout
2012-04-09 15:53:31 -04:00
cacaodev
ccf18bb9cb
CPPredicateEditorRowNode formatting
2012-04-09 19:54:00 +02:00
Antoine Mercadal
64a74d9ac6
Merge branch 'master' of https://github.com/cappuccino/cappuccino
2012-04-09 10:28:02 -07:00
Aparajita Fishman
bc8dc10ac3
Fix for #1433
2012-04-09 13:25:38 -04:00
Antoine Mercadal
324e75650d
code style cleaning
2012-04-09 10:24:39 -07:00
Antoine Mercadal
8c205faf2d
Merge https://github.com/rvanzon/cappuccino into rvanzon-xcc
2012-04-09 10:23:59 -07:00
Richard van Zon
d56a15db83
Using fm instance and ignore errors
2012-04-09 08:06:53 +02:00
Aparajita Fishman
342bde7767
Started linting CPRuleEditor classes
2012-04-09 01:56:59 -04:00
Aparajita Fishman
ec80a4c9e6
Add some missing imports
2012-04-09 00:59:57 -04:00
aparajita
2a1af53d79
Merge pull request #1456 from cacaodev/CPTabView
...
CPTabView: Do not track the segment when the delegate disallows item selection
2012-04-08 21:38:53 -07:00