Klaas Pieter Annema
97289d9070
add CPCoding support to CPIndexPath
2011-04-13 17:31:14 +02:00
Klaas Pieter Annema
c317274a26
Merge branch 'purem-master' into 0.9.1
2011-04-13 08:27:45 +02:00
Klaas Pieter Annema
547e57c014
Merge branch 'master' of https://github.com/purem/cappuccino into purem-master
2011-04-13 08:27:23 +02:00
purem
d7fe42387c
Edited bootstrap to find zsh's configuration file ~/.zshrc by default
2011-04-11 11:16:10 -07:00
Alexander Ljungberg
ff7f469f9f
Fixed: CPColor colorWithCSSString did not properly handle the alpha component of the CSS rbga() syntax. Fixes #687 .
2011-04-10 22:16:28 -04:00
Alexander Ljungberg
e44ffdc7f4
CPString subtringWithRange: and rangeOfString:options:range now throws CPRangeException for out of bounds ranges.
2011-04-10 21:20:22 -04:00
Alexander Ljungberg
91ef6bf925
Fixed: CPString rangeOfString:options:range returned locations relative to the passed-in range instead of the full string.
2011-04-10 21:05:43 -04:00
Alexander Ljungberg
a33dd51d8e
Fixed: searching a string for @"" with CPString rangeOfString returned results other than CPNotFound.
2011-04-10 20:38:51 -04:00
Alexander Ljungberg
2166fc1d51
Fixed: CPString rangeOfString: anchored backwards search did not work.
2011-04-10 20:19:04 -04:00
Alexander Ljungberg
b29e722132
Fixed: CPString rangeOfString: backwards search did not work. Fixes #1065 .
2011-04-10 20:12:33 -04:00
Alexander Ljungberg
06122bba19
Test CPString rangeOfString: in CPCaseInsensitiveSearch | CPBackwardsSearch mode.
2011-04-10 20:10:08 -04:00
Alexander Ljungberg
b40f920ec6
Fixed: don't crash on the first mouse move event after merge #1211 . Fixes #1221 .
2011-04-10 18:33:57 -04:00
Alexander Ljungberg
e327c39776
Code formatting.
2011-04-10 17:26:22 -04:00
Alexander Ljungberg
c7a1717ebe
Added CPDate test which catches mishandling of timezones in initWithString.
...
(Unfortunately the test is rather crude and only works when your current timezone offset is not 0 (UTC).)
2011-04-10 17:24:18 -04:00
Randall Luecke
b9533386b4
Merge branch 'natemartinsf-master' into 0.9.1
2011-04-08 09:32:14 -04:00
Mike Fellows and Randall Luecke
69d27364d5
Trivial fix, add missing spinner.gif from manual scroll view test
2011-04-08 09:30:56 -04:00
Aparajita Fishman and Randall Luecke
e3abd4e407
Fixed timezone calculation in initWithString.
2011-04-08 09:29:45 -04:00
Mike Fellows and Randall Luecke
2f501ad736
Add a manual test for drag and drop in a CPTableView
2011-04-08 09:28:30 -04:00
Randall Luecke
ae5359f953
Merge branch '0.9.1' of git://github.com/280north/cappuccino into 0.9.1
2011-04-08 09:26:55 -04:00
Mike Fellows and Randall Luecke
4a57f6a1c4
Better inset bounds to improve autoscrolling while dragging in a scrollview.
2011-04-08 09:26:04 -04:00
Nathaniel Martin
9b1eac1923
deltaX and deltaY now set on mousemoved, based on last mouse event
2011-04-07 22:00:09 -07:00
Nathaniel Martin
875dbaa78f
Fix for issue 1210
2011-04-06 23:16:13 -07:00
Klaas Pieter Annema
6b64291690
Merge branch 'aparajita-nib2cib-man'
2011-04-06 11:55:17 +02:00
Aparajita Fishman
52ce4c1ebf
Properly documented the -F option, some formatting tweaks
2011-04-06 05:15:52 -04:00
Aparajita Fishman
a7161e3ca7
Changed comparison in initial check to <=, a cib with an equal mtime could not have been converted from an IB file, it would have a later mtime.
2011-04-06 04:40:05 -04:00
Aparajita Fishman
73746e00b0
Fixes and enhancements...
...
- If an IB file is deleted, the corresponding cib is no longer deleted.
- In watch mode, the first time through no conversion is done if an IB file has a corresponding cib file with a later mtime.
- In watch mode, an add does not convert if there is a corresponding cib file with a later mtime.
- When catching exceptions, deal correctly with both CPException and strings.
2011-04-06 04:34:56 -04:00
Klaas Pieter Annema
327d796653
implement outlineViewDeleteKeyPressed
2011-04-06 08:14:29 +02:00
Aparajita Fishman
af6d38fd16
Fixes and enhancements
...
- When a xib/nib is deleted, the corresponding cib is deleted.
- Fixed the calculation of the output path when given a relative path.
- Works with .nib files now.
- Works with -R option now. NSCustomResource was assuming an image path would always be relative to cwd().
- The Resources directory is always inferred from the input path, so the -R option is usually unnecessary.
- Added --default-theme option.
- Multiple extra themes can be specified with the --theme option.
- Verbose mode displays the inferred application and resources paths, and the source theme used when doing font substitutions.
- Added a man page.
- Themes are read using StaticResource instead of parsing the file myself.
- Error message tweaks.
2011-04-05 16:57:16 -04:00
Klaas Pieter Annema
ab105e7273
Merge branch 'capp-man' of https://github.com/aparajita/cappuccino into aparajita-capp-man
2011-04-05 13:53:02 +02:00
Alexander Ljungberg
6115acea05
Merge branch '0.9.1'
2011-04-04 23:58:13 -04:00
Alexander Ljungberg
0d8bd95c86
Fixed: systems without xcodebuild would fail jake clean and jake clobber.
2011-04-04 23:56:30 -04:00
Klaas Pieter Annema
40bfb55b64
don't resolve nib2cib output path
2011-04-04 14:23:36 +02:00
Alexander Ljungberg
f0bba44e45
Completed CPTabView documentation.
2011-04-03 17:56:31 -04:00
Alexander Ljungberg
7107adfe16
Minor doc formatting.
2011-04-03 17:45:53 -04:00
Alexander Ljungberg
501c15775e
Use bsdtar explicitly for 'jake docs' in case the user has GNU tar installed through e.g. fink.
...
This enables the -s parameter to work.
2011-04-03 16:58:39 -04:00
Alexander Ljungberg
f29dcc9c6b
Document CPScreen.
2011-04-03 16:12:27 -04:00
Alexander Ljungberg
370960418f
Better formatting, clickable links and basic code styling for the Doxygen docs front page. This look will resemble that of the GitHub front page.
...
The README file was converted to Markdown which is nice to read in the terminal and automatically formatted by GitHub. For Doxygen, the markdown is first converted to HTML.
2011-04-03 14:34:20 -04:00
Aparajita Fishman
c9fb862ee2
Tweak
2011-04-03 07:56:16 -04:00
Antoine Mercadal
6e1acf1f06
fix wrong AGPL header in CPUserDefaultTest.j
2011-04-03 11:41:56 +02:00
Alexander Ljungberg
2952070698
Whitespace, comment tweak.
2011-04-03 00:56:28 -04:00
Alexander Ljungberg
dbb10f69f6
Merge branch 'aparajita-fonts' into 0.9.1
2011-04-02 23:32:59 -04:00
Alexander Ljungberg
9fc10260fb
Merge branch 'fonts' of https://github.com/aparajita/cappuccino into aparajita-fonts
2011-04-02 22:26:21 -04:00
Alexander Ljungberg
2fbd54521d
Fix up and restore all functionality to ArrayController manual test.
2011-04-02 20:08:36 -04:00
Alexander Ljungberg
ae3780c0cf
Recreated and cleaned up ArrayController1 since MainMenu.xib was missing.
2011-04-02 19:43:51 -04:00
Alexander Ljungberg
ccf9225773
Minor KVO optimisation.
2011-04-02 18:10:13 -04:00
Alexander Ljungberg
8aaa5fe07f
Test array controller KVC binding correctness.
...
This change splits the insertObjectAtArrangedObjectIndex:, addObject:, and removeObject: tests into two versions: one for a regular AC setContent: setup and one for when the AC is bound to an array-like destination implementing KVC.
2011-04-02 18:09:16 -04:00
Alexander Ljungberg
fa1a10730e
Fixed: an array controller with a bound contentArray would sometimes fail when add:, remove: and similar methods were called.
...
In particular the AC would fail when a _CPKeyValueCodingArray proxy was required (the destination implements insertObject:in<key>AtIndex etc.). The previous commit by cacaodev is the larger part of this fix as it enables use of mutableArrayValueForKeyPath properly. This commit merely fixes an error exposed by the previous commit where e.g. add: would apparently add two objects rather than one. This was caused by the AC observing and reacting to its own change even that it already had an optimised path to update arrangedObjects.
2011-04-02 18:03:21 -04:00
cacaodev and Alexander Ljungberg
e91bc3eeef
Adds a binder subclass for CPArrayController's contentArray binding. This binder allows destination.keypath who are kvc compliant, still works if they're not (through _CPKVCArray). Fixes addObject: error when contentArray is bound to a kvc array, a bug visible in ArrayController1 manual test.
2011-04-01 21:29:37 -04:00
Alexander Ljungberg
76400ecca9
Make table column internal bindings support methods private.
2011-03-31 20:48:51 -04:00
Alexander Ljungberg
9a0cf2b37d
Manual test for bindings based table view editing.
2011-03-31 20:35:11 -04:00