Alexandre Wilhelm
de2397fa05
Fixed: path is wrong with local copy
...
Previously when using a local copy to install Cappuccino, we used to copy the local capp-base at /usr/local/narwhal and then we tried to move /usr/local/narwhal/cappuccino-cappuccino-base*/* to /usr/local/narwhal/. .
Now we move /usr/local/narwhal/cappuccino-base*/* to /usr/local/narwhal/. .
2014-04-01 18:09:14 -07:00
Antoine Mercadal
23f04b3d09
Merge pull request #2080 from Dogild/CPButtonStateBezelStyleRoundRect-Theme
...
Fixed: CPRoundRectBezelStyle gives a CPNull ThemeState
2014-03-20 16:45:09 -07:00
Antoine Mercadal
050e3e86e3
Merge branch 'master' of https://github.com/cappuccino/cappuccino
2014-03-20 16:35:12 -07:00
Antoine Mercadal
c21d0c64a0
FIXED: dependency to tusk
...
Previously, jake install was calling tusk to ensure installed packages are up to date, and was used to install the new build. As tusk and all that narwhal suite is deprecated and causes more and more problems, this patch:
- removes the up-to-date check: it's very likely that no package will never be updated anymore
- uses a local function to install the freshly build
2014-03-20 16:28:57 -07:00
Antoine Mercadal
9e918cc717
NEW: Ability to perform offline bootstraping
...
Previously, bootstrap.sh was always trying to fetch cappuccino-base from github. This patch provides a new option "--copy-local [PATH]" that will let the user give a path of a local copy of the cappuccino-base zip. This can be pretty useful in an automated build system that cannot always access the internet.
2014-03-20 15:23:47 -07:00
Alexandre Wilhelm
86f07245d4
Fixed: CPRoundRectBezelStyle gives a CPNull ThemeState
...
Previously with the CPRoundRectBezelStyle we got a CPNull themeState. Now we get an instance of ThemeState with the theme CPButtonStateBezelStyleRoundRect. CPButtonStateBezelStyleRoundRect is equal to CPThemeState("roundRect").
2014-03-11 13:18:26 -07:00
Alexander Ljungberg
d51f179c2d
Fixed: error when running some XML tests with rhino.
...
This problem causes error in Travis that are not errors with JSC.
2014-03-10 22:44:00 +00:00
Alexander Ljungberg
31d17cada7
Merge pull request #2077 from mockingbird/fix-cpcheckbutton-theme-bug
...
Fix bug with unsetThemeState + more tests.
2014-03-10 19:27:04 +00:00
Saikat Chakrabarti
647686e68e
Fix CPViewTest
2014-03-10 12:17:23 -07:00
Alexander Ljungberg
959212a95f
Merge pull request #2077 from mockingbird/fix-cpcheckbutton-theme-bug
...
Fix bug with unsetThemeState + more tests.
2014-03-10 17:55:03 +00:00
Saikat Chakrabarti
45df8c0f74
Fix bug with unsetThemeState + more tests.
2014-03-09 15:15:11 -07:00
Alexander Ljungberg
1dbd41a746
Fixed: error in Internet Explorer if Info.plist was served with wrong content type.
...
Without this fix, in Internet Explorer the plist parser would only receive an empty XML document for the main Info.plist (and any other such loaded documents) if the server did not provide the content type "text/xml".
This fix parses the XML correctly even if there is no such content type.
Fixes #2051 .
2014-03-06 14:16:00 +00:00
Alexander Ljungberg
8c43f4f628
Fixed: theoretical error while skipping whitespace in XML plists.
...
This fix ensures the PLIST_FIRST_CHILD() code gets to run both statements in the XML parsing while loop.
There's no obvious way to trigger an error due to this bug, but better correct than wrong.
Refs #2051 .
2014-03-06 14:13:22 +00:00
Alexander Ljungberg
633445883e
Test: CFPropertyList.propertyListFromXML.
...
These tests validate some basic edge cases with the parsing of XML plists.
Refs #2051 .
2014-03-06 14:09:18 +00:00
Alexander Ljungberg
e6acc3c336
Fixed: missing var, minor tweaks.
...
Refs #2073 .
2014-03-06 14:03:46 +00:00
Alexander Ljungberg
90b947a7da
Merge pull request #2073 from mockingbird/set-backed-cptheme
...
Change CPThemes to use sets instead of bitmasks. Closes #2015 .
2014-03-06 12:25:47 +00:00
Saikat Chakrabarti
b6b4015a82
Introduce .and and .without syntax for ThemeStates.
2014-03-01 23:26:20 -08:00
Saikat Chakrabarti
2fd8940c02
Allow array arguments to various methods that take ThemeStates
2014-03-01 23:11:24 -08:00
Saikat Chakrabarti
7408710761
Move placement of CPThemeStates cache to above the cache method for clarity.
2014-02-28 11:14:46 -08:00
Alexander Ljungberg
e4a4dd3219
Merge pull request #2073 from mockingbird/set-backed-cptheme
...
Change CPThemes to use sets instead of bitmasks. Closes #2015 .
2014-02-28 16:56:20 +00:00
Saikat Chakrabarti
745ad7cc34
Clean up the interface a bit to consolidate ThemeState methods onto one object. Keep CPThemeState as just a helper function.
2014-02-26 13:11:43 -08:00
Saikat Chakrabarti
b0d90bb612
ThemeState is a string now instead of an int on a CPView
2014-02-23 16:03:56 -08:00
Saikat Chakrabarti
68952b273b
Add a bunch of unit tests for CPTheme.j
2014-02-21 14:30:09 -08:00
Saikat Chakrabarti
df148e4946
Fix a small typo in CPTheme.j themestate caching
2014-02-21 14:29:31 -08:00
Saikat Chakrabarti
8b2f2fe24d
Add new unit tests for CPView
2014-02-21 13:11:08 -08:00
Saikat Chakrabarti
cf99a7bf18
Fix bug that was turning dictionary keys into objects
2014-02-20 18:14:01 -08:00
Saikat Chakrabarti
727b519750
Remove unused method in CPTheme
2014-02-20 18:09:47 -08:00
Saikat Chakrabarti
861d093d80
All ThemeStates always have at least one state - the normal state
2014-02-20 17:52:16 -08:00
Saikat Chakrabarti
c3d2decdec
Fix bugs with CPThemeAttribute encoding and decoding
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
d862d701f3
Add note to ThemeState object about it being private
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
883c4a185d
Some cleanup of CPSegmentedControl.j
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
7eb35ef33d
Clarify documentation for CPThemeState()
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
1563b0bf55
Get all tests to pass
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
bad731c86f
Fix subtracting theme states
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
5309cc5916
Change CPTheme implementation to fix how searching for a matching theme works
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
f8ef6ab397
Fix accidental semicolon
2014-02-20 17:30:27 -08:00
Saikat Chakrabarti
9e61991ad2
Fix bug when setting themeStates in a themeAttribute
2014-02-20 17:30:27 -08:00
Saikat Chakrabarti
c644e8a30f
Change CPTheme to be hash-backed to make it a bit faster
2014-02-20 17:30:27 -08:00
Saikat Chakrabarti
45a237af16
Handle null inputs for subtracting CPThemes.
2014-02-20 17:30:27 -08:00
Saikat Chakrabarti
0450fdb542
Get jaking working
2014-02-20 17:30:27 -08:00
Saikat Chakrabarti
7d304fbd51
First round of changes to change theming system to use arrays and not bitmasks as their underlying datatype
2014-02-20 17:30:27 -08:00
Antoine Mercadal
33df895709
Merge pull request #2070 from primalmotion/doxygen-theme-refresh
...
NEW: Doxygen theme refresh [+3]
2014-02-20 12:25:20 -08:00
Antoine Mercadal
22ef6ca56a
Merge pull request #2067 from Dogild/DatePickerOneDigit
...
Fixed: Textual CPDatePicker issue with number of digit
2014-02-17 15:34:26 -08:00
Antoine Mercadal
2e015c9816
NEW: Doxygen theme refresh
...
See screenshots attached to the PR for example.
2014-02-17 15:15:57 -08:00
Alexander Ljungberg
77ea0d3ea6
Merge pull request #2069 from Dogild/PreprocessBrew
...
Fixed: Wrong link to install homebrew
2014-02-13 22:34:32 +00:00
Alexandre Wilhelm
23ff035eb3
Fixed: Wrong link to install homebrew
...
Previously the link to install homebrew was wrong.
2014-02-13 13:38:36 -08:00
Alexander Ljungberg
9906173a3f
Merge pull request #2066 from CarlRosell/master
...
Fixed: Broken Documentation.
2014-02-13 12:48:21 +00:00
Alexander Ljungberg
c6dd18ce40
Fixed: typo.
2014-02-13 12:41:20 +00:00
Alexander Ljungberg
a31ad2c367
Fixed: CPAttributedString isEqual: despite attribute differences.
...
As soon as a range reached the end of the string the equality test would end with a YES, without even comparing the final attribute dict.
2014-02-13 12:41:14 +00:00
Alexander Ljungberg
7e20422e20
Test: CPAttributedString coding.
2014-02-13 12:17:55 +00:00