Aparajita Fishman
eb6cdfe97c
Typo: fixed spelling in comment
2013-03-09 14:35:16 -05:00
Aparajita Fishman
a01de54b65
Fixed: optimize access to object property
...
Accessing a property via dot notation is faster than indexing via a string.
2013-03-09 14:34:58 -05:00
aparajita
5c7e26c176
Merge pull request #1826 from stewa/non-string-markers
...
New: use dedicated class instead of CPString for selection markers
Previously, selection markers were strings, which allowed the possibility that user data could be mistaken for a selection marker.
With this commit, selection markers are global instances of a private class, removing the possibility of clashes with user data.
2013-03-09 08:59:37 -08:00
aparajita
4da1c67d18
Merge pull request #1837 from BlairDuncan/keyViewLoopInfinateLoopFix
...
Fixed: views from other windows cannot be next/previous key views
Previously, a view from another window could be set as the next/previous key view, which would result in unexpected behavior, including an infinite loop.
This commit ensures the proposed next/previous view belongs to the same window as the view to which it will be chained.
2013-03-09 08:17:52 -08:00
aparajita
f3d0cdbddc
Merge pull request #1836 from kerusan/cpruleeditor_tooltip_localization
...
Fixed: CPRuleEditor tooltips were not localized
Tooltip text was hardcoded in English. Now they use the localizer.
2013-03-09 07:56:44 -08:00
Andrew Hankinson
5fd241f7d7
Fix #1284 : Update Emacs documentation
...
Small fix to update documentation for emacs. Fixes #1284 .
2013-03-08 23:04:23 -05:00
Christophe Serafin
159941696d
changed condition order for optimization
2013-03-08 19:35:10 +01:00
Blair Duncan
7fab8d9782
don't allow views from another window to be next/previouskeyViews
2013-03-08 12:27:19 -05:00
Christophe Serafin
152fd66bbe
fixed reordering column with a restriction on a targeted column
2013-03-08 18:11:27 +01:00
Christophe Serafin
ae4c77a6d4
Merge branch 'master' of https://github.com/cappuccino/cappuccino
2013-03-08 16:53:07 +01:00
Andrew Hankinson and Aparajita Fishman
5fac631f6f
New: minimum/maximum support for CPNumberFormatter
...
Previously, minimum and maximum were not supported in CPNumberFormatter.
This commit adds support for these in IB and via code. Updated unit tests included.
Fixes #1829
2013-03-08 09:30:31 -05:00
cacaodev and Aparajita Fishman
72c277d9ee
New: CPSegmentedControl segment selection bindings support
...
This commit adds support for the segment selection bindings: selectedIndex, selectedLabel, and selectedTag.
Sample app included.
2013-03-08 08:54:00 -05:00
Aparajita Fishman
0fdf648e1b
Formatting: added missing whitespace
2013-03-08 08:35:16 -05:00
aparajita
ba1fc13eed
Merge pull request #1827 from stewa/issue1499-simple
...
Fixed: null placeholder is set correctly when using bindings
2013-03-08 05:32:01 -08:00
Kjell Nilsson
197decc842
Changed tooltip word to lowercase to follow other tooltip formatting
2013-03-08 13:47:46 +01:00
aparajita
9e5aa39781
Merge pull request #1835 from BlairDuncan/undoManagerFix
...
Fixed: initialize _undoCount to 0 so comparison tests work correctly
2013-03-08 04:19:22 -08:00
Kjell Nilsson
c381672aee
Added localization of tooltips with the standard localizer
2013-03-08 09:52:55 +01:00
Blair Duncan
62670a4fa4
improved as per aparajita
2013-03-07 22:18:59 -05:00
Aparajita Fishman
4469046b3b
Revert "Fix #357 : Fix resizeWithOldSuperviewSize to work more like Cocoa"
...
This reverts commit 4605130a53 , which is breaking sheets.
2013-03-07 16:49:25 -05:00
Blair Duncan
7d51a34d11
fix for undoManager isUndoRegistrationEnabled
2013-03-07 16:21:37 -05:00
Stefan Wallström
5cbe94ba66
CPTextField: Optimization: Only restore null placeholder when setting null values through binders.
2013-03-07 20:32:57 +01:00
Antoine Mercadal
f690d672a2
Merge pull request #1832 from mrcarlberg/compiler_build_capital_j_extension
...
Fix #1822 : Will compile or issue correct error message when wrong case is used...
2013-03-07 11:20:05 -08:00
Aparajita Fishman
cdb9777e96
Fixed: "Remove" button did not move with window resize
...
In the Manual/TableTest/DataView test app, the remove button did not pin to the right edge of the window when it resized.
2013-03-07 12:16:22 -05:00
aparajita
2bc5efe641
Merge pull request #1815 from cacaodev/CPTableView-issue1814
...
CPTableView fix for #1814 .
2013-03-07 09:13:33 -08:00
Martin Carlberg
5481ce25b2
Fixed: Will compiler or issue correct error message when wrong case is used in filename on @import statements
2013-03-07 17:48:21 +01:00
Stefan Wallström
bd269501ac
Fixed parameter type for _placeholderForMarker:
2013-03-07 12:49:19 +01:00
Stefan Wallström
455ff57eec
Fixed return type for _placeholderForMarker:
2013-03-07 12:39:04 +01:00
Stefan Wallström
51e682335b
Use UID instead of hash.
2013-03-07 12:37:35 +01:00
Alexander Ljungberg
2ca20dea23
Merge pull request #1828 from ahankinson/cpdecimal-allow_leading_zeros
...
Allow CPDecimal to handle decimal numbers with leading zeros
2013-03-07 10:56:21 +00:00
Andrew Hankinson
7bef84e4e9
Allow CPDecimal to handle decimal numbers with leading zeros
...
Without this fix, CPDecimal will return NaN for numbers that have leading zeros, e.g., 0123.
This fix changes the matching regex to allow leading zeros to pass. This is then converted to a proper number later on, e.g., "0123" => 123. This is in line with Cocoa behaviour.
This commit also includes updated unit tests.
2013-03-07 00:26:02 -05:00
Stefan Wallström
11c6b667fb
Fixed: Wrong placeholder string in CPTextField when using bindings
2013-03-06 20:44:09 +01:00
Stefan Wallström
262bd5b7c1
Use dedicated class, _CPStateMarker, instead of CPString for selection markers.
2013-03-06 19:30:17 +01:00
Aparajita Fishman
e2580bda05
Fixed: objj_backtrace_print is not available in release frameworks
...
objj_backtrace_print is only available in debug frameworks. Previously we were not ensuring that objj_backtrace_print was available, which caused an error when running with release frameworks.
Now objj_backtrace_print is checked for availability.
2013-03-06 10:30:54 -05:00
Aparajita Fishman
3364733bd6
Typo
2013-03-06 10:19:26 -05:00
Aparajita Fishman
7461407140
Merge branch 'refs/heads/CPDictionary_deprecate_nil'
2013-03-06 08:53:44 -05:00
Martin Carlberg and Aparajita Fishman
0b1805d96f
Fixed: Temporary removed test case asserting throw when creating CPDictionary with nil object
2013-03-06 07:57:23 -05:00
Martin Carlberg and Aparajita Fishman
cfe099bb30
Fixed: Broken test case
2013-03-06 07:57:18 -05:00
Martin Carlberg and Aparajita Fishman
b98b301089
Fixed: Removed deprecated warning when creating CPDictionary with nil object
2013-03-06 07:56:50 -05:00
Aparajita Fishman
4b0b19aec7
Formatting, refactoring, use separate message for nil key
2013-03-06 07:49:18 -05:00
Aparajita Fishman
af142a5ccc
Merge branch 'refs/heads/cpdictionary_throw_on_nil' into temp
2013-03-05 15:50:41 -05:00
aparajita
e3384d98b7
Merge pull request #1810 from ahankinson/fix-issue1184
...
Fix #1184 : Add missing argument to .apply()
2013-03-05 12:40:27 -08:00
Alexander Ljungberg
f4b08a9ce2
New: - CPObject performSelector:withObject:afterDelay:.
...
Also - CPObject cancelPreviousPerformWithTarget: and other related methods.
2013-03-05 18:52:06 +00:00
aparajita
21595cdebc
Merge pull request #1821 from ahankinson/fix-issue357
...
Fix #357 : Fix resizeWithOldSuperviewSize to work more like Cocoa
2013-03-05 05:30:13 -08:00
cacaodev
ac3a45aec5
CPTableView: force the mask to CPViewNotSizable for IB made CPTableCellView.
...
Added documentation for tableView:dataViewForTableColum:row: delegate method. Document other cases, when we expect the data view to have a CPViewNotSizable mask.
ViewBasedCib example: added variable row heights.
2013-03-04 20:03:20 +01:00
Andrew Hankinson
4605130a53
Fix #357 : Fix resizeWithOldSuperviewSize to work more like Cocoa
...
Without this fix, CPView's resizeWithOldSuperviewSize: would simply resize subviews at the rate of 1 pixel for every 2 pixel change.
This change introduces a new method of resizing views to a ratio of the size of the superview.
Patch contributed by @davidkhess
2013-03-02 16:40:00 -05:00
Randy Luecke
89c943f755
Merge pull request #1820 from BlairDuncan/TableViewCursorInfinateLoopFix
...
fix for issue #1819 tableview infinate loop
2013-03-01 14:20:34 -08:00
Blair Duncan
9730e066b8
fix for issue #1819 tableview infinate loop
2013-03-01 17:00:38 -05:00
Christophe Serafin
77d2ebbda0
adds shouldReorderColumn to CPTableView delegate methods
2013-03-01 11:57:24 +01:00
Alexander Ljungberg
8668911593
Merge pull request #1817 from gildegoma/travis-ci_use_build_dir_variable
...
Travis CI: Use new $TRAVIS_BUILD_DIR environment variable
2013-03-01 10:57:02 +00:00
Martin Carlberg
34843a70b9
Merge branch 'master' of https://github.com/cappuccino/cappuccino into cpdictionary_throw_on_nil
2013-03-01 10:50:22 +01:00