Alexander Ljungberg
b0a56f1690
Fixed: removing selected CPPopUpButton item.
...
When the selected item of a `CPPopUpButton` is removed the first item should become selected. This matches Cocoa's behaviour.
2012-07-18 19:21:20 +01:00
Aparajita Fishman
8444f808f6
By default controls will track the system font size
...
Use current system font size elsewhere
2012-07-18 09:53:09 -07:00
Aparajita Fishman
b959f13a0c
Merge branch 'master' of github.com:cappuccino/cappuccino into upstream
2012-07-17 15:11:13 -07:00
Aparajita Fishman
f0163e13c9
Added CGInsetMakeInvertedCopy
2012-07-17 15:10:58 -07:00
Alexander Ljungberg
a89ca14abe
Merge pull request #1622 from slevenbits/tableview-column-move-notify
...
Notify when a `CPTableView` column moves.
2012-07-17 22:59:53 +01:00
Alexander Ljungberg
9b77f1b7ac
Notify when a CPTableView column moves.
...
Both through `CPNotificationCenter` and to the delegate.
2012-07-17 22:57:36 +01:00
Alexander Ljungberg
e68077d159
Merge pull request #1621 from slevenbits/cpdictionary-enumerate
...
`CPDictionary enumerateKeysAndObjectsUsingBlock:`.
2012-07-17 20:51:22 +01:00
Alexander Ljungberg
5724dfe21d
CPDictionary enumerateKeysAndObjectsUsingBlock:.
2012-07-17 20:48:52 +01:00
ggsato
364208e029
fixed a bug that removeObject shows empty selection if an object at index 0 was removed
2012-07-17 15:36:18 +09:00
Alexander Ljungberg
fea0299033
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-07-16 03:16:31 +01:00
Alexander Ljungberg
c1dd821c6e
Merge pull request #1618 from slevenbits/fontmanager
...
New `CPFontManager` methods.
2012-07-16 03:16:21 +01:00
Alexander Ljungberg
6a67243460
CPFontManager convertFont:toFace:.
2012-07-16 03:11:21 +01:00
Alexander Ljungberg
7f1b396ce8
CPFontManager weightOfFont: and traitsOfFont:.
2012-07-15 23:39:29 +01:00
Alexander Ljungberg
1e5bccd48e
CPFontManager convertFont:, convertFont:toHaveTrait: and addFontTrait:.
2012-07-15 23:38:32 +01:00
Alexander Ljungberg
d016e8a5e8
CPFontManager setSelectedFont:isMultiple: and other basic properties.
2012-07-15 21:45:50 +01:00
cacaodev
d01a0e1b2d
Set default theme color to black for textfields in a selected row when they are bordered or editing.
2012-07-15 22:39:47 +02:00
cacaodev
2d8681dbd4
CPOutlineViewViewBasedCibTest & TableBindings: cleanup zombie outlets & image in xib.
...
CPOutlineViewViewBasedCibTest: button expand/collapse item and tracks item state.#
2012-07-15 22:36:07 +02:00
cacaodev
2bd5696d99
Add info message when converting NSTableCellView nib to plist
2012-07-15 22:33:46 +02:00
Alexander Ljungberg
fc49574947
Test CPFontManager.
2012-07-15 21:01:29 +01:00
aparajita
2c0cf72a60
Merge pull request #1617 from slevenbits/dictionary-key-methods
...
CPDictionary key methods
keysOfEntriesPassingTest:
keysOfEntriesWithOptions:passingTest:
keysSortedByValueUsingComparator:
2012-07-15 09:30:31 -07:00
Aparajita Fishman
c4dc9c8bdb
CPDictionary key methods
...
keysOfEntriesPassingTest:
keysOfEntriesWithOptions:passingTest:
keysSortedByValueUsingComparator:
2012-07-15 09:27:04 -07:00
Aparajita Fishman
dec7ca1e19
Make NSClipView obey the Draw Background checkbox in IB
2012-07-14 10:32:21 -07:00
Alexander Ljungberg
ccb6b3b4a2
Code formatting.
2012-07-14 14:11:38 +01:00
Alexander Ljungberg
5658ea2c1e
Merge pull request #1616 from slevenbits/kvo-willchange-fix-2
...
Fix crash if an observer is set between willChange…/didChange…
2012-07-14 13:58:18 +01:00
Ilya Kulakov
3886f27acd
Fix crash if an observer is set between willChange…/didChange…
...
When you add an observer to an object first time, its class is
implicitly changed to a KVO_originalClassName (subclass of original
class). This subclass adds willChange…/didChange… methods for
observable properties.
If you send willChange… before you add an observer, it does nothing.
But if you send didChange… just after, the app will crash, because
new KVO_originalClassName nerver receives willChange…
The idea is to maintain counter of all received willChange… messages
(per key) and decrease it in didChange…
When KVO_originalClassName is created and didChange… is received
(without opening willChange… to new class), exception is not thrown
immediately, but the counter is checked first.
If it's greater than 0, then didChange… just closes
an unboserved willChange… Otherwise exception is thrown, as expected.
2012-07-14 19:32:25 +07:00
cacaodev
0b1d67116d
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-07-14 09:35:26 +02:00
aparajita
76738a0208
Merge pull request #1615 from slevenbits/text-size-theming
...
Text size and theming enhancements
- _CPImageAndTextView adds extra pixels to allow for fractional pixels in -sizeToFit.
- NSButton now allows buttons that are not fixed height, if the theme allows it.
- Documented the mapping between bezel style constants and their IB style names.
2012-07-13 21:04:41 -07:00
Aparajita Fishman
32dc0826cb
Text size and theming enhancements
...
- _CPImageAndTextView adds extra pixels to allow for fractional pixels in -sizeToFit.
- NSButton now allows buttons that are not fixed height, if the theme allows it.
- Documented the mapping between bezel style constants and their IB style names.
2012-07-13 21:00:02 -07:00
Aparajita Fishman
590b7ec704
format strings was not set in the xib
2012-07-13 20:26:57 -07:00
Aparajita Fishman
98b735b185
Install imagesize binary in both debug/release so that it works when install-debug-symlinks is used
2012-07-13 20:07:25 -07:00
Aparajita Fishman
dd686a0fca
Fixed spelling error in test app
2012-07-13 18:23:08 -07:00
cacaodev
de04c72767
CPDictionary -initWithObjectsAndKeys: skip a nil key instead of breaking
2012-07-13 21:47:39 +02:00
aparajita
3fe2e4487e
Merge pull request #1571 from tancred/xcodecapp_fix_wrong_format_specifier
...
Corrected the format specifier for a logging statement in XcodeCapp.
2012-07-13 07:51:07 -07:00
cacaodev and Aparajita Fishman
2cf9fdf0d0
Check for sendsActionOnEndEditing
2012-07-13 07:45:08 -07:00
cacaodev and Aparajita Fishman
7c01f14bfe
Fix for #1593
2012-07-13 07:44:48 -07:00
cacaodev
da99b7b455
Remove temp merge files from previous commit. Added a view based table example to TableBindings
2012-07-13 16:41:57 +02:00
Alexander Ljungberg
716c340825
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-07-13 15:11:46 +01:00
aparajita
625e47a725
Merge pull request #1591 from claimable/master
...
Fix for CPPredicateEditor Action Bug
Make sure the predicate value editor sends its action when resigning, so the predicate is updated.
2012-07-13 07:07:25 -07:00
Alexander Ljungberg
2ca3f657f9
Refs #1530 . Fix CPTableViewTest to work regardless of #1530 decision.
2012-07-13 13:24:43 +01:00
Alexander Ljungberg
b038b6baf6
Fixed: browser propagation control when not in browser.
...
This would lead to a `[CPPlatformWindow _willPropagateCurrentDOMEvent] unrecognized selector sent to instance` error if an event was sent in a non DOM environment.
2012-07-13 12:41:26 +01:00
cacaodev
f29f39d427
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Renamed Test apps.
Conflicts:
AppKit/CPTableView.j
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.cib
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.xib
2012-07-13 13:38:49 +02:00
Alexander Ljungberg
9abb79d191
Merge pull request #1612 from slevenbits/cpgeometry-improvements
...
Cpgeometry improvements
2012-07-13 11:37:02 +01:00
Malte Tancred
c3740c548d
Corrected the corrected format specifier for the flags variable.
2012-07-13 08:11:24 +02:00
aparajita
629f12a851
Merge pull request #1543 from cacaodev/CPTableView-content-binding
...
Added support for using bindings with CPTableView content (as opposed to CPTableColumn value bindings)
2012-07-12 19:58:12 -07:00
aparajita
e4de525a09
Merge pull request #1552 from mrcarlberg/outlineview_disclosure_width
...
Width of disclosure button determined by current disclosure control
2012-07-12 19:38:52 -07:00
aparajita
1a4e5a345d
Merge pull request #1576 from ggsato/fixForOpeningExistingDocument
...
fixed needsUntitled evaluation
An untitled window will only open if ALL documents fail to load.
2012-07-12 19:29:07 -07:00
Alexander Ljungberg
a4ae36929b
Fix CPGeometry.j import.
...
CPGeometry.j is now in Foundation.
2012-07-13 01:29:01 +01:00
Alexander Ljungberg
b9b98a39bb
Avoid Foundation depending on AppKit.
...
CPGeometry.j and CGGeometry.j now share their implementation in two private API classes in the lower layer Foundation.
2012-07-13 01:28:38 +01:00
Alexander Ljungberg
ae4b7cb58e
Sort imports.
2012-07-13 01:26:14 +01:00
Aparajita Fishman
f7d67e4b87
Cleanup, documented hacks
2012-07-12 17:20:30 -07:00