daboe01
df71fb42ac
remove duplicate code
2016-05-10 22:41:08 +02:00
daboe01
fe81a354a3
formatting
2016-05-10 22:28:35 +02:00
daboe01
67ba2e49c3
workaround for FF crash in very large documents
2016-05-10 22:27:21 +02:00
daboe01
8dec42f295
fix missing font panel in manual test of CPTextView
2016-05-10 20:35:16 +02:00
daboe01
5942553370
make selection handling more mac like
2016-05-10 19:40:27 +02:00
Martin Carlberg and cacaodev
ae5d31746e
Dependent key paths use a relationship ( #2431 )
...
Fixed: When dependent key paths use a relationship, only the first added observer will observe the attribute for the relationship object.
Also, an optimisation on when the willChange… chain is running, there is no need to replace the observers as no new values are set yet. That will be done when the didChange… chain is running.
2016-05-09 22:14:20 +02:00
cacaodev
1c1976abbf
Simple cucapp test for the CPViewController isViewLoaded property in async mode
2016-05-09 09:45:18 +02:00
cacaodev
b3465ddf89
Fixed: CPViewController -isViewLoaded property was always NO in async mode (loadViewWithCompletionHandler:).
...
The async mode calls the completionHandler whereas the sync mode calls the -viewDidLoad method.
Both are now run within the will/did change block of the isViewLoaded property.
2016-05-08 23:09:50 +02:00
Alexandre Wilhelm
f67fafdb8e
Merge pull request #2446 from cacaodev/CPCollectionView-fixes
...
CPCollectionView content binding & minor code refactor
2016-05-08 11:16:34 -07:00
cacaodev
ffcac677e0
Fixed: Manual test SmartFoldersDemo
...
The sheet was not closing when asked.
2016-05-07 21:14:35 +02:00
cacaodev
a9d643aa55
OJTest for CPCollectionView selectionIndexes, CPCollectionViewItem isSelected, CPSelectionIndexesBinding and CPContentBinding.
2016-05-03 21:51:10 +02:00
cacaodev
fa3647e8e5
Refactor selection with modern code.
...
Handle out of range errors when reflecting selection.
2016-05-03 21:50:41 +02:00
cacaodev
db839f6d6d
Rename _lockResizing to _inLiveResize
...
_inLiveResize is a CPView flag.
2016-05-03 21:50:20 +02:00
cacaodev
3a85d5b89f
CPCollectionView content binding support
2016-05-03 21:50:20 +02:00
cacaodev
1575c2bc10
CPTableView ViewBasedCib test app: a bug in CPBox decoding was crashing the app. Remove the box until this bug is fixed.
2016-05-03 19:09:32 +02:00
cacaodev
57189183d6
Merge pull request #2444 from cacaodev/fixed-deprecated-getPropertyCSSValue
...
FIXED: in CPAnimationContext, 'Unknown function getPropertyCSSValue' error in chrome
2016-04-24 13:24:12 +02:00
cacaodev
01c5cf98df
FIXED: Unknown function getPropertyCSSValue in Chrome
...
getPropertyCSSValue have been deprecated in chrome. Replacing with
getPropertyValue supported by all browsers.
2016-04-23 10:54:22 +02:00
Martin Carlberg
9ad2995168
Fixed: Some Javascript minifiers will convert ”\u2028” to a string with the actual line separator inside. It is not valid Javascript to have the actual character inside a string literal.
...
Instead of fixing bugs in different minifiers it is easier to rewrite this small function. The same applies to \u2029
2016-04-07 10:32:47 +02:00
Martin Carlberg
51fc6518e1
Fixed: Removed some trailing white spaces
2016-04-07 10:32:46 +02:00
Martin Carlberg
530db4e904
Fixed: Merged in the same parser and compiler that is used in the objj-runtime that is running on node.
...
The life will be easier to have the same in both environments.
Warnings and errors now don’t use read only properties for line and column information. So the test cases in Toolstest.j now work in modern JS engines.
It is also easier to set options for the compiler.
2016-04-07 10:32:46 +02:00
Alexandre Wilhelm
cd92ebd69c
Merge pull request #2437 from mrcarlberg/cpobjectcontroller_set_entity_name_from_code
...
Fixed: Setting entity name from code does not work
2016-04-06 18:15:23 -07:00
Alexandre Wilhelm
5c58552d91
Merge pull request #2438 from mrcarlberg/cppopupbutton_binding_select_is_done_before_content
...
Fixed: First popup item is always selected if selected binding value is set before content binding value
2016-04-06 18:14:53 -07:00
Antoine Mercadal
584aebf76b
FIXED: used the master of cappuccino-base
2016-04-06 09:55:38 -07:00
Antoine Mercadal
43a2480699
Merge pull request #2430 from herbatnik/master
...
FIXED: Cursor key binding methods do not fire in IE11 #2365
2016-04-06 08:35:14 -07:00
Martin Carlberg
699503042f
Fixed: First item is always selected if selected binding value is set before content binding value.
...
Test case is provided.
2016-04-05 23:22:29 +02:00
Martin Carlberg
02e71c23de
Merge branch 'master' of https://github.com/cappuccino/cappuccino
2016-04-05 23:12:07 +02:00
Martin Carlberg
c24c3868bb
Merge pull request #2434 from Dogild/TrackingAreaTableViewHeader
...
Fixed: crash when having a CPTableViewHeader without a CPTableView
2016-04-05 19:49:27 +02:00
Martin Carlberg
5c60819668
Merge pull request #2432 from Dogild/CacheURLRequest
...
Fixed: cache control was not set properly in CPURLRequest
2016-04-05 19:05:59 +02:00
Martin Carlberg
480a125a20
Fixed: When setting entity name from code the _managedProxy will be null and the name will not be stored
2016-04-05 18:43:32 +02:00
Antoine Mercadal
598a6ebaed
Merge pull request #2278 from cacaodev/CPAnimationContext
...
Animations: CPAnimationContext & animator
2016-04-04 09:57:55 -07:00
Alexandre Wilhelm
185ad5e747
Fixed: crash when having a CPTableViewHeader without a CPTableView
...
Previously, when having a CPTableViewHeader without a CPTableView, cappuccino just crashed.
We now check if _tableView is set before iterating on the tableview's columns.
2016-04-04 06:48:26 -07:00
Alexander Ljungberg
42d7e4312b
Formatting of CPCache.
2016-04-02 01:20:23 +01:00
Alexander Ljungberg
41a741724f
New: Sweden / Swedish as a possible locale.
2016-04-01 23:47:13 +01:00
Alexander Ljungberg
087e811586
Bump XcodeCapp copyright year.
v0.9.9
2016-04-01 22:44:23 +01:00
Alexander Ljungberg
fa07bc143e
Fixed: missed some version number bumps in the 0.9.9 release.
2016-04-01 22:25:21 +01:00
Alexander Ljungberg
e13f5ed730
Fixed: CPNumber intValue did not return an integer.
...
We expect this method to return a whole number like in Objective-C. This also goes for the related methods, `shortValue`, `longValue` and `longLongValue`.
Also adds more tests (in addition to the existing, already failing test).
2016-04-01 22:22:03 +01:00
Alexander Ljungberg
48108cebc9
Merge branch '0.9.9'
2016-04-01 01:05:40 +02:00
Alexander Ljungberg
ecac17a00a
This will be Cappuccino 0.9.9.
2016-03-29 23:32:12 +01:00
Alexandre Wilhelm
3ba215887c
Merge pull request #2426 from mrcarlberg/source_url_fix
...
Fixed: //@ sourceURL=... is deprecated since many years ago.
2016-03-28 23:43:45 -07:00
Alexandre Wilhelm
edbc1baf32
Merge pull request #2427 from cacaodev/cpbutton-image-scaling
...
NEW: nib2cib support for CPButton -imageScaling.
2016-03-28 23:43:22 -07:00
Alexandre Wilhelm
500fa7f314
Fixed: cache control was not set properly in CPURLRequest
2016-03-28 23:32:48 -07:00
Alexandre Wilhelm
a10dfa4ab4
Merge pull request #2429 from mrcarlberg/integer_value
...
Fixed: Added ’integerValue’ method for CPNumber and CPString.
2016-03-27 09:20:12 -07:00
Martin Carlberg
b208571ed7
Fixed: Formatting
2016-03-23 10:17:15 +01:00
Martin Carlberg
c1ec27045c
Fixed: Rhino does not support numbers starting with ’0’
2016-03-23 09:35:19 +01:00
Martin Carlberg
111b12161c
Added: test cases for ’intValue’ and ’integerValue’ methods on CPString and CPNumber
2016-03-23 09:02:09 +01:00
daboe01
d23d18933c
altgr fix for recent FF
2016-03-22 20:39:28 +01:00
Marek Kresnicki
f0e736962d
FIXED: Cursor key binding methods do not fire in IE11 #2365
2016-03-21 11:23:51 +00:00
Alexandre Wilhelm
b12d1491d4
Merge pull request #2415 from cacaodev/CPViewController-loadviewAsynchronously
...
NEW: CPViewController -loadViewAsynchronously:(Function/*view, error*/)
2016-03-20 19:40:20 -07:00
Alexandre Wilhelm
6d1a094b15
Merge pull request #2428 from cacaodev/CPSearchField-indentationLevel
...
CPSearchField: use CPMenuItem -setIndentationLevel:
2016-03-20 19:35:48 -07:00
daboe01
88d14792a4
do not select all on setString
2016-03-20 20:29:16 +01:00