Alexander Ljungberg
e25394a322
Code formatting.
2012-05-24 17:10:46 +01:00
Antoine Mercadal
9866bf19a4
Support for setting ToolTips right from IB
2012-04-24 16:13:37 -07:00
Aparajita Fishman
36bfc7c675
Fixed decode methods to return the correct defaults, removed unnecessary containsValueForKey and || with defaults
2012-04-24 10:15:19 +02: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
eb292e6d87
Factored image creation code so -description can be added
2012-04-05 19:57:30 -07:00
Aparajita Fishman
129a8cb411
Added ability to specify bundle, which makes this usable with non-main bundle images.
2012-04-05 19:42:23 -07:00
Aparajita Fishman
e2ead56256
Collection KVC fixes, nextObject correctness
...
- Moved common CPArray/CPSet collection KVC operators to _CPCollectionKVCOperators.
- Implemented KVC operator dispatch using Objective-J.
- Fixed infinite loop with empty collection in @min, @max and @sum operators.
- Correctly return valueForUndefinedKey when necessary.
- valueForUndefinedKey reason uses raw description for consistency, class' overridden description may not helpful at all.
- Don't create a forwarder for @ operators with property paths.
- Fixed CPSet -valueForKeyPath to correctly deal with nil/undefined/empty values.
- Added tests for collection KVC operators.
- enumerator -nextObject should always compare against nil for clarity, correctness, and consistency.
2012-04-03 22:16:55 -07:00
Alexander Ljungberg
757a2bf400
nib2cib support for CPWindow autorecalculatesKeyViewLoop.
2012-03-08 12:05:12 +00:00
Alexander Ljungberg
3cee00323c
Don't separate statements by commas.
2011-11-10 12:31:16 +00:00
Alexander Ljungberg
b4b54e5744
Partial button image support in nib2cib covering NSAddTemplate and NSRemoveTemplate (standard plus and minus buttons).
2011-05-30 22:16:42 -04:00
Klaas Pieter Annema
8e3c26c313
implement CPMenu user interface validation
2011-04-20 10:38:22 +02:00
Alexander Ljungberg
dedf3cd90f
More AppKit coding standards.
2011-02-28 23:55:29 -03:00
Alexander Ljungberg
651d6a7ed8
Linting AppKit.
2011-02-28 23:48:34 -03:00
Alexander Ljungberg
ef326dbbb4
Fix an accidental global, whitespace.
2011-01-20 22:33:42 -03:00
Alexander Ljungberg
af30e96b7b
Cleanup.
2011-01-14 12:16:51 -03:00
Francisco Ryan Tolmasky I
ffea2de826
Style fixes.
...
Reviewed by me.
2010-12-09 13:00:52 -08:00
Francisco Ryan Tolmasky I
1cbaea0e3d
Further capp_linting - removing accidental global.
...
Reviewed by me.
2010-12-02 12:11:57 -08:00
Alexander Ljungberg
5a2c401e05
Cleanup.
2010-11-19 00:07:37 -03:00
Alexander Ljungberg
75427973f0
More bindings nib2cib fixes.
2010-11-19 00:06:55 -03:00
Ross Boucher
63d5c442a3
Bug fixes.
2010-11-18 16:52:41 -08:00
Ross Boucher
45f74386b8
Add bindings support to nib2cib
2010-11-18 15:52:54 -08:00
Francisco Ryan Tolmasky I
52f7844aee
Made it so .h files are automatically included in AppKit (avoiding needing to manually include Platform.h, etc.).
...
Also changed a bunch of <AppKit/*> imports to "*" imports.
Reviewed by me.
2010-11-01 11:10:01 -07:00
Paul Baumgart
01852d8075
Fix a bunch of missing @imports.
...
All classes (excluding the ones prefixed with underscores) in Foundation
and AppKit can now be loaded individually except CPOpenPanel and
CPSavePanel. These two classes have some sort of dependency cycle
that seems impossible to resolve without forward declarations (which
we don't have).
2010-10-05 15:54:25 -07:00
Aparajita Fishman and Klaas Pieter Annema
6680a1f2a7
Overhaul of CPButton and supporting classes to support image positioning the way Cocoa does
2010-09-08 22:13:39 +02:00
Aparajita Fishman and Ross Boucher
0a26288d88
Fix for issue #804 (doxygen fails to generate class references), also did a bit of formatting cleanup in CPColor.j
2010-07-30 15:48:06 -07:00
Scott Kyle and Randall Luecke
1899250a53
Semicolons are nice...
2010-06-10 16:42:28 -05:00
Ross Boucher
1545f7b60a
Return the cib created in CibLoading.j methods.
2010-04-29 15:38:33 -07:00
Francisco Ryan Tolmasky I
8f4b2a7cfd
Fail more gracefully when main cib is not found.
...
Reviewed by me.
2010-03-29 23:20:31 -07:00
Francisco Ryan Tolmasky I
68ae1af13f
Some performance improvements in CPKeyedUnarchiver.
...
Reviewed by me.
2010-03-07 12:24:59 -08:00
Nicholas Small
67f35c7b74
Update deprecated sendSynchronousRequest:returningResponse:error: to sendSynchronousRequest:returningResponse:
2010-03-01 17:03:00 -05:00
Francisco Ryan Tolmasky I
272f938f2e
Fix for CPData naming issues, added test cases, and fixed isEqual: for CPDictionary.
...
Reviewed by me.
2010-02-21 23:29:41 -08:00
Francisco Ryan Tolmasky I
d52ab34421
Better Cib loading that doesn't make assumptions about the asynchronisity of the load.
...
Reviewed by me.
2010-02-14 12:23:47 -08:00
Ross Boucher
c88f781509
Fix for Cib connections not being available in IE.
2010-01-30 19:23:45 -08:00
Francisco Ryan Tolmasky I
b5ad030e40
Further blend work.
...
Reviewed by me.
2010-01-29 08:04:00 -08:00
Francisco Ryan Tolmasky I
5352d062d5
Fix for boundsOrigin and boundsSize being affected by bounds. Also changed UID to return a string instead of a Number.
...
Reviewed by me.
2009-12-20 17:02:06 -08:00
Francisco Ryan Tolmasky I
7acfbb9eed
Added [CPView setSubviews:] which allows you to add multiple subviews, remove multiple subviews, and reorder multple subviews.
...
Reviewed by me.
2009-12-20 13:00:25 -08:00
Ross Boucher
bca25d0f5f
Fix for windows being super floaty
2009-12-04 16:48:43 -08:00
Francisco Ryan Tolmasky I
315e0eac0c
Removed remaining references to full bridge in window template.
...
Reviewed by me.
2009-10-27 14:55:06 -07:00
Francisco Ryan Tolmasky I
dba418a93d
Fix for:
...
- misindented items in outline view
- switched window controller to use synchronous cibs.
- typo in cibloading.
Reviewed by me.
2009-09-12 23:37:44 -07:00
Francisco Ryan Tolmasky I
58e06142b9
Added support for external objects in cibs.
...
Reviewed by me.
2009-09-06 11:49:25 -07:00
Francisco Ryan Tolmasky I
78fe93be68
Imrpoved identifying main menus in cibs.
...
Reviewed by me.
2009-09-04 12:37:38 -07:00
Francisco Ryan Tolmasky I
efcc5d1054
Fixed a bug that could cause CPAccordionView to infinitely re-layout (due to autoresizing flags in child views), and added option to synchronously load cibs.
...
Reviewed by me.
2009-08-31 01:22:08 -07:00
Francisco Ryan Tolmasky I
58ac49e0b0
Fix for out of memory errors when building clean.
...
Reviewed by me.
2009-08-25 19:55:21 -07:00
Francisco Ryan Tolmasky I
b369aa6aff
Made CPCibConnector, CPCibOutletConnector, and CPCibControlConnector public classes.
...
Reviewed by me.
2009-08-24 00:21:15 -07:00
Francisco Ryan Tolmasky I
ab8add681e
A number of fixes and improvements to the platform window subsystem.
...
Reviewed by me.
2009-08-17 03:50:51 -07:00
Francisco Ryan Tolmasky I
12d03a5128
Fix for custom objects.
...
Reviewed by me.
2009-07-22 19:34:44 -07:00
Francisco Ryan Tolmasky I
b8046c479f
Fix for creating outlets and actions that don't exist in interface builder.
...
Reviewed by me.
2009-07-04 06:49:55 -07:00
Francisco Ryan Tolmasky I
35a9305347
Add setters/getters to cib custom objects/view/windows.
...
Reviewed by me.
2009-06-16 17:21:52 -07:00
Francisco Ryan Tolmasky I
b4abc5a99d
Further key handling fixes.
...
Reviewed by me.
2009-06-15 12:33:16 -07:00
Francisco Ryan Tolmasky I
8b25240d04
Cleaned up CPControl ephemeral views code and got rid of some dead code in cib logic.
...
Reviewed by me.
2009-06-10 11:49:16 -07:00