Alexandre Wilhelm
a9d6176fd2
New: added command objj2objskeleton. This feature is now not available from the command objj
2015-05-11 11:33:52 -07:00
cacaodev
1b0aa2a9b1
FIXED: test app merge issue with cib. Regenerated cib.
2015-05-11 10:37:00 +02:00
cacaodev
a49c230bb2
FiXED: animatorClass when the receiver is a CPView custom subclass.
2015-05-11 10:34:12 +02:00
cacaodev
b65749cf70
FIXED : setObject:nil in test app
2015-05-11 10:32:33 +02:00
cacaodev
0cf54a6a03
Fix a 'duplicate class' build error
2015-05-11 10:31:27 +02:00
cacaodev
4d77277f2d
Merge branch 'master' of git://github.com/cappuccino/cappuccino into CPAnimationContext
2015-05-11 08:44:20 +02:00
daboe01
8b81506ed3
fix aWidth usecase
2015-05-11 05:56:52 +02:00
cacaodev
24c6509a61
FIXED: build error 'CPDictionary nil object'
...
CPViewAnimator : default mapping between css and capp props is now
lazily computed instead of a class var.
This was causing a build error because some values were not ready to be
read.
2015-05-10 19:23:41 +02:00
daboe01
3c32c4160d
formatting
2015-05-10 18:03:42 +02:00
daboe01
1f912d86e1
small speed improvement
...
avoid the covering method send
2015-05-10 17:59:26 +02:00
daboe01
9c93ab0b6d
fixed confusion between font an cssString
2015-05-10 15:30:40 +02:00
daboe01
6646a20a5d
DOM protection
2015-05-10 15:22:56 +02:00
daboe01
92f471c476
move fontHeight to where it is needed
2015-05-10 15:19:26 +02:00
daboe01
4c7ce97650
measureText return type
2015-05-10 15:16:12 +02:00
daboe01
4d1fc994c0
refactor private sizing method to sizeWithFont:
2015-05-10 15:12:31 +02:00
daboe01
c4310c554e
make DOM sizing faster
2015-05-10 13:37:36 +02:00
Antoine Mercadal
c603326e58
Use try/finally to ensure popen streams are always closed
2015-05-09 10:22:13 -07:00
Alexandre Wilhelm
a93e04a44e
New: added option --objc to objj to generate objc files from a .j file
...
The command objj has now the option -c or --objc to generate objective-c files. The first arg is the file and the second the destination folder.
The objective-c class generated are basic and only contains IBOutlet and IBAction. To do that, the objective-c-parser is used. This parser is also used in xCodeCapp.
2015-05-08 23:05:58 -07:00
cacaodev
db9e649f6e
FIXED: missing return stmt in -indexOfTabViewItemWithIdenfier;
...
Refactored delegate notifications.
CPTabViewItem style.
Tests: All delegate methods are tested in CPTabViewNib manual test.
2015-05-07 22:35:02 +02:00
Alexandre Wilhelm
c26aca4686
Fixed: memory leaks in CPSplitView with delegate
2015-05-04 16:43:37 -07:00
Alexandre Wilhelm
f822268ae1
Test: updated manual test CPSplitViewTest
2015-05-04 16:43:13 -07:00
Alexandre Wilhelm
4ebcf40619
Fixed: make travis happy with DOM elements in CPTextView
2015-05-04 14:03:33 -07:00
Alexandre Wilhelm
a884b94ac0
Test: fixe global var in CPTextViewTest.j
2015-05-04 14:02:46 -07:00
Alexandre Wilhelm
194e705982
Test: comment future test for CPTextView
2015-05-01 16:09:08 -07:00
Alexandre Wilhelm
c77ec3bf20
Fixed: added coder for delegate of a CPTextView
2015-05-01 16:08:49 -07:00
Alexandre Wilhelm
0a1857249b
Test: updated manual test CPTextViewCibTest
2015-05-01 16:08:30 -07:00
Alexandre Wilhelm
3be3a1f2e6
Merge pull request #2329 from daboe01/fix-issue-10
...
Added documentation for CPArray's hash method
2015-05-01 14:05:19 -07:00
Alexandre Wilhelm
62f9488829
New: added property baseWritingDirection in CPControl
...
This PR adds the support for baseWritingDirection in CPControl.
Support of nib2cib has been added as well.
Test app in Tests/Manual/CPTextFieldEditingStyleTest/
2015-05-01 12:11:03 -07:00
Antoine Mercadal
9bcaef192c
Merge branch 'master' into fix-popen
2015-04-23 16:50:56 -07:00
Antoine Mercadal
bcb1630f20
FIXED: Closes all streams after a OS.popen()
...
Previously, when popen was called, the 3 streams (stdin, stderr and stdourt) where never closed. This was the reason of the having an impossible number of open files.
This patch ensure all streams are closed after using them. This means that the ulimit trick is no more necessary
2015-04-23 16:46:01 -07:00
Alexandre Wilhelm
5f7922d7fd
Fixed: crash in CPCib.j due to previous refactoring refs #c5b250236fa662e3da04e442f4414f95d64d9308
2015-04-22 16:21:24 -07:00
Alexandre Wilhelm
66b1d297ba
Test: added unit test CPBundleTest
2015-04-22 15:11:47 -07:00
Alexandre Wilhelm
eb4780a952
New: added protocol CPBundleDelegate
2015-04-22 15:11:19 -07:00
Alexandre Wilhelm
34f724a4a4
Fixed: capp_lint fixes
2015-04-22 11:22:44 -07:00
Alexandre Wilhelm
c5b250236f
New: support of base localization and nib localization
2015-04-21 18:26:28 -07:00
Alexandre Wilhelm
e5b122ee61
New: added methods pathForResource:ofType, pathForResource:ofType:inDirectory: pathForResource:oftype:inDirectory:forLocalizations:
2015-04-21 18:25:58 -07:00
Alexandre Wilhelm
3b20021981
Test: updated test CPLocalizationTest
2015-04-21 18:24:50 -07:00
Alexandre Wilhelm
a7d1f180a4
Test: updated manual test CPLocalizationTest to have base localization in the xib
2015-04-21 14:29:21 -07:00
Alexandre Wilhelm
68374e7c62
Fixed: fix minor issue with methods CPLocalizedStringFromTable and comment
2015-04-21 10:54:09 -07:00
Alexandre Wilhelm
ba26a97ddc
Test: updated test CPLocalizationTest
2015-04-21 10:53:36 -07:00
Alexandre Wilhelm
2db7ce8da1
New: added the methods CPLocalizedString CPLocalizedStringFromTable CPCopyLocalizedStringFromTableInBundle
2015-04-20 18:53:51 -07:00
Alexandre Wilhelm
6958da1adb
Test: added manual test CPLocalizationTest
2015-04-20 18:53:17 -07:00
Alexandre Wilhelm
cf48cd0ae5
Fixed: changed copyright of _CPLocalizableString.j
2015-04-20 10:15:05 -07:00
Alexandre Wilhelm
b1b3966d41
Fixed compiling issue in CFBundle.js
2015-04-17 20:40:48 -07:00
Alexandre Wilhelm
c171a37f24
New: first work on localization
2015-04-17 17:16:11 -07:00
Alexandre Wilhelm
c13f1991c9
Fixed: removed stupid merging typo...
2015-04-13 16:18:46 -07:00
Alexandre Wilhelm
da15cc4de7
Fixed: wrong nextValidKeyView in a CPScrollView
...
Previously, the nextValidKeyView was wrong when the views were in a scrollView. Cappuccino did not take in account the possibility of scrolling, the lowest views were considered as outside of the platformWindow.
Now, it works as cocoa! The nextValidKeyView is the good one in a scrollView.
This pull request fixes another issue as well. A CPTextField can now become firstResponder even if the textField is not visible (as in cocoa). Previously a jump of the (html)window occurred to the textField. Now, cappuccino will internally scroll if needed to the element, focus it and then go back to previous scrolling position.
2015-04-13 16:10:44 -07:00
Alexandre Wilhelm
44c686f494
Merge pull request #2323 from mrcarlberg/scroll_rect_to_visible_with_large_rect
...
Fixed: Method scrollRectToVisible:(CGRect)aRect in CPView didn’t work...
2015-04-13 13:12:27 -07:00
cacaodev
03bd5ad426
Fixed merge issue
2015-04-11 19:26:30 +02:00
cacaodev
914a3d71c2
Merge pull request #2342 from cacaodev/CPSegmentedControl-ni2cib
...
FIXED: segmented control height in nib2cib. Fixes #2341 .
2015-04-11 10:03:50 +02:00