Aparajita Fishman
ca9d09134f
Multiple fixes...
...
1. CPRadio should not draw its background color by default when created from a nib.
2. Substituted named constants for magic number bit flags.
3. Don't set the matrix view background color unless the nib said to draw its background.
4. NIB_CONNECTION_EQUIVALENCY_TABLE wants UIDs, changed self -> [self UID].
2010-08-12 01:12:21 -04:00
Aparajita Fishman
29c857b1e9
Have to send -reloadData to force the dataview frames to be recalculated.
2010-08-12 00:54:30 -04:00
Aparajita Fishman
d5dc03fb2f
-setIntercellSpacing should update the header as well as the table, per Cocoa (and common sense)
2010-08-11 22:39:57 -04:00
Aparajita Fishman
cbdfc1add9
The Cocoa default is always to draw column lines, this wasn't being set in CPTableColumnView.
2010-08-11 19:00:44 -04:00
Aparajita Fishman
f6d09557af
Revert this change, it breaks text labels >12pt
2010-08-11 18:37:39 -04:00
Aparajita Fishman
8dfdf63c65
Reverting to original
2010-08-11 16:38:13 -04:00
Aparajita Fishman
8a835c287f
Fix for issue #820 (horizontal grid drawn incorrectly with no rows)
2010-08-11 15:29:28 -04:00
Aparajita Fishman
1e3958652a
Merge branch 'refs/heads/master' into my_master
...
Conflicts:
AppKit/CPSearchField.j
AppKit/CPTableView.j
AppKit/CPTextField.j
Jakefile
Tools/nib2cib/NSTableView.j
2010-08-11 10:27:35 -04:00
Randall Luecke
5837533678
Use a default TableView.
2010-08-10 20:58:04 -05:00
Randall Luecke
20ec557655
Initial reorganization of CPTableView testing.
2010-08-10 20:53:43 -05:00
cacaodev
b7d1dfa75f
CPArray sorting: improve performance by 40% (JSC) replacing native js sort() with the merge-sort algorithm.
...
Test with ojunit CPArrayPerformance.j
2010-08-10 18:16:03 -05:00
Randall Luecke
33e4a082d6
Some visual changes to column dragging to make it a bit more like cocoa.
2010-08-09 18:43:11 -05:00
Randall Luecke
dd49ef51d5
Merge branch 'master' of git://github.com/280north/cappuccino
2010-08-09 17:37:49 -05:00
Randall Luecke
13b2a886f3
Changed CPRect and CPPoint functions to _CG
2010-08-09 17:36:33 -05:00
Alexander Ljungberg
c1dfb315a9
Merge branch 'master' of github.com:280north/cappuccino
2010-08-09 18:31:51 -04:00
Randall Luecke
96958d26c7
Accidental globals.
2010-08-09 17:22:14 -05:00
Alexander Ljungberg
8d635c7a5a
Moved ArrayController1 test into the Manual folder.
2010-08-09 18:21:16 -04:00
Aparajita Fishman
627c300b4a
Switched to using bit mask constants
2010-08-09 18:02:40 -04:00
Aparajita Fishman
00812025c2
Fix for issue #818 (NSView does not read hidden flag)
2010-08-09 18:02:32 -04:00
Alexander Ljungberg
0b21b8bab1
Merge branch 'master' of github.com:280north/cappuccino
2010-08-09 17:54:30 -04:00
Alexander Ljungberg
271bb00147
Marginally faster filter and sort in CPArrayController's arrangeObjects (4% in the performance tester.) Reduced memory usage when both a filter and a sort order are applied. Cleanup of the tester and a filter only test run.
2010-08-09 17:31:36 -04:00
Aparajita Fishman
661c9a9de1
Made sure to remove the .doc directories first, fixed exec
2010-08-09 15:41:00 -04:00
Randall Luecke
b346d761d8
Fix bug so we can drag items below the last child index in the outlineView.
2010-08-09 14:13:04 -05:00
Randall Luecke
21614e15b2
Draw column header lines by default.
2010-08-09 14:05:58 -05:00
Alexander Ljungberg
998c2f19cf
Performance tester for CPArrayController.
2010-08-09 14:21:22 -04:00
Aparajita Fishman
e7c8174717
Switched to using bit mask constants
2010-08-09 14:19:37 -04:00
Aparajita Fishman
814c0a4830
Fix for issue #818 (NSView does not read hidden flag)
2010-08-09 12:19:30 -04:00
Aparajita Fishman
dc6e7aefe4
Fix for issue #817 (Support for alignment and line break mode in NSTextField/CPTextField)
2010-08-09 10:16:36 -04:00
Aparajita Fishman
0adfd30ea3
Fix for issue #816 (NSTableView/CPTableView do not read selection highlight style and column resizing style)
2010-08-09 09:59:57 -04:00
Aparajita Fishman
82ad1bb30e
Merge branch 'my_master' of github.com:aparajita/cappuccino into my_master
2010-08-08 15:13:51 -04:00
Aparajita Fishman
107a041efe
Remove @import statements from source files, doxygen doesn't parse them correctly.
2010-08-08 15:12:00 -04:00
cacaodev
750cd3c258
CPComparisonPredicate :
...
Fixed a bug where *lhs custom_selector: nil* was always returning false.
Test nil on left and/or right with some operators.
2010-08-05 16:18:18 -04:00
Alexander Ljungberg
df358ccc42
Fix failing CPPredicate unit tests: comment out test for unimplemented expressionForSubquery, finish CPExpression_unionset and fix typo in CPExpression expressionForIntersectSet.
2010-08-04 21:27:01 -04:00
Alexander Ljungberg
1b5efdfc5b
Fixed with CPPredicate tests: [CPArray arrayWithObjects] don't take a final nil anymore in Cappuccino.
2010-08-04 20:50:55 -04:00
Alexander Ljungberg
63dfb8a227
CPPredicate optimization: early out in failing AND expression.
2010-08-04 20:50:36 -04:00
Alexander Ljungberg
a3c0590218
Fixed with CPPredicate: [CPArray arrayWithObjects:...] should no longer be terminated with a nil in Cappuccino.
2010-08-04 20:50:07 -04:00
cacaodev
c694c96a32
CPPredicate & co style cleaning
2010-08-04 20:45:06 -04:00
Alexander Ljungberg
30bc304a20
Whitespace and style fixes.
2010-08-04 20:23:35 -04:00
cacaodev
974cf64e1d
CPPredicate &al implementation. OJUnit test.
2010-08-04 19:53:44 -04:00
cacaodev
fce726a031
CPScanner implementation
2010-08-04 19:48:51 -04:00
cacaodev
7187ba3074
CPCharacterSet implementation
2010-08-04 19:48:27 -04:00
cacaodev
bfbf8fb841
Support for diacritics aware strings comparison
2010-08-04 19:48:06 -04:00
Alexander Ljungberg
4ea0d4d043
CPNull is equal to CPNull. Unit test included.
2010-08-04 16:43:04 -04:00
Aparajita Fishman
6e24bba8a3
Made the new theming mechanism generic (see ecbbe57)
2010-08-03 15:58:37 -04:00
Aparajita Fishman
12f1cdd005
Made the new theming mechanism generic (see ecbbe57)
2010-08-03 15:45:41 -04:00
Alexander Ljungberg
8c13204afa
Save some memory and time in CPTableViewFirstColumnOnlyAutoresizingStyle mode.
2010-08-02 23:28:40 -04:00
Alexander Ljungberg
e4c79d2101
Closes #809 . End editing of a text field if it is disabled or made uneditable. Manual test included.
2010-08-02 23:13:06 -04:00
Aparajita Fishman
cba7d25e52
Merge branch 'my_master' of github.com:aparajita/cappuccino into my_master
...
Conflicts:
AppKit/Themes/Aristo/ThemeDescriptors.j
2010-08-02 18:24:58 -04:00
Aparajita Fishman
ecbbe57709
Radically simplified the whole theming mechanism. Theming can now be done declaratively with less typing, better readability, easier maintenance.
...
Also fixed some oversights in the existing themes: text was not dimmed in disabled state for segmented controls, text was not dimmed for default buttons in disabled state in HUD (IIRC).
2010-08-02 18:17:02 -04:00
Aparajita Fishman
fe2f331ce9
Radically simplified the whole theming mechanism. Theming can now be done declaratively with less typing, better readability, easier maintenance.
...
Also fixed some oversights in the existing themes: text was not dimmed in disabled state for segmented controls, text was not dimmed for default buttons in disabled state in HUD (IIRC).
2010-08-02 17:52:59 -04:00