Commit Graph
3010 Commits
Author SHA1 Message Date
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
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
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
Aparajita Fishman 10c12e7e4d Better diff with previous version 2010-08-02 14:35:44 -04:00
Aparajita Fishman c2b73a0146 Merge commit '5f3baa519b387086429b2ff60bfa64f7d574230e' into my_master 2010-08-02 12:43:33 -04:00
Randall Luecke 4b9c5e0d64 Removed gradient stuff that has been moved to the theme. 2010-08-02 12:40:46 -04:00
Alexander Ljungberg 2d6f343098 Closes #806. Fixed: if a selected row was removed from a table view, the selection remained and would show up again if a new row was later added. 2010-08-02 12:40:40 -04:00
Alexander Ljungberg a35a67e7f7 Switch to the standard macros in _resizeAllColumnUniformlyWithOldSize as originally intended by Randy Luecke. 2010-08-02 12:40:34 -04:00
Alexander Ljungberg efa2d30737 Eliminated some accidental globals in uniform table column resizing. 2010-08-02 12:40:28 -04:00
Alexander Ljungberg 372ce1e37a Fixed: after the intercell spacing commit, table column auto resizing on the first or last column would result in a total column width wider than the scroll width of the table. This would appear as the rightmost column sticking out and the table showing a horizontal scrollbar. 2010-08-02 12:40:15 -04:00
Alexander Ljungberg d9162d1d8d Clean up code in table column resizing paths in preparation for fixing it. 2010-08-02 12:40:06 -04:00
Alexander Ljungberg 9e2a7ea776 Fixed: calling CPTabView setTabViewType:CPNoTabsNoBorder before the first insertTabViewItem would cause an error. Fixed: if a tab item was added in CPNoTabsNoBorder mode, and the mode was later switched to CPTopTabsBezelBorder, that previously added tab item would have no label/tab. The solution is to maintain _labelsView in either mode; since in CPNoTabsNoBorder mode _labelsView is not in the view hierarchy anyhow the performance impact should be minimal. 2010-08-02 12:39:28 -04:00
Alexander Ljungberg ac42809a2b Fixed with CPTabView: don't remove the content and auxiliary views if the new views are the same as the old ones. This prevents flickering and needless redraws when the currently selected tab is reselected. 2010-08-02 12:39:19 -04:00
Alexander Ljungberg a7a8ee7c6c Implemented NSView viewDidHide and viewDidUnhide. 2010-08-02 12:39:06 -04:00
Randall Luecke 8bb2d49267 Sheets should be assigned to the platform window of the window it is attached to. 2010-08-02 12:38:15 -04:00
Randall Luecke 444e48dbf8 some fixes to default buttons to make them more cocoa compliant... 2010-08-02 12:37:10 -04:00
Aparajita Fishman 5f3baa519b Fix for issue #807 (NSTextField sets text color unconditionally, which causes theme lookup failure later) 2010-08-02 12:06:06 -04:00
Aparajita Fishman 69860f220d Fixes/enhancements to jake docs:
- We now have class hierarchy information! Don't remove generated headers before doxygen runs so it can generate class hierarchies. Now the headers are cleaned up separately.

- Added inline collapsible class hierarchy diagrams within each class.

- Enabled the built-in search! It's awesome!

- Changed image format to gif, dot is generated invalid png on Mac OS X.

- Explicitly turned off generation of to do and bug list.

- Turned off most warnings, most of them are useless warnings arising from the fact that we are pretending Objective-J is Objective-C.

- Doxyfile format updated to 1.7.1.
2010-07-31 18:18:40 -04:00
Aparajita Fishman 50103d64b0 Fix for issue #804 (doxygen fails to generate class references), also did a bit of formatting cleanup in CPColor.j 2010-07-30 16:29:58 -04:00
Aparajita Fishman e9a738643b Fix for issue #803 (jake docs doesn't use Doxygen.app on Mac OS X) 2010-07-30 15:56:20 -04:00
Aparajita Fishman da61e52f1d Merge branch 'my_master' of github.com:aparajita/cappuccino into my_master 2010-07-28 19:07:30 -04:00
Aparajita Fishman ad2c8519b7 Fix and test case for issue #746 2010-07-28 19:05:43 -04:00
Aparajita Fishman fdd7a8d2bc Fix for issue #782 (CPIndexSet shiftIndexesStartingAtIndex:by: bug) 2010-07-28 19:03:43 -04:00
Aparajita Fishman cdb2013427 Forgot to commit this with the intercell spacing stuff 2010-07-28 18:51:04 -04:00
Aparajita Fishman 5a1afc5896 Another fix for issue #782, uses class variable for the empty image placeholder. 2010-07-28 18:45:55 -04:00
Aparajita Fishman 4f663aaa6e Fixes to 30004c5e93:
- Switched to _CG inline macros

- Cleanup up and fixed -drawRect
2010-07-28 18:34:59 -04:00
Aparajita Fishman 470fcaf13e Full support for intercell spacing (issue #797) 2010-07-28 17:51:05 -04:00
Aparajita Fishman ff4f22a8a4 CPSearchField fixes/enhancements to commit 5b763928fe:
- Added more documentation for -defaultSearchTemplate.

- Capitalized the text of the menu items in the default template.

- Adding a separator before no recents menu item if there are items before it.

- Updated the test app to use the default template and then modify it.

- Updated the test app to maintain the state of the custom items.
2010-07-28 15:02:51 -04:00
Aparajita Fishman 5b763928fe Fixes to commit 69273259a5:
- No longer setting the search menu template to the default, but -defaultSearchMenuTemplate was made public.

- Action and target for clear recents item is always set to CPSearchField -_searchFieldClearRecents: since that is a built-in type.

- Action and target for recents item is always set to CPSearchField -_searchFieldSearch: since that is a built-in type.

- Template menu items are copied via CPMenuItem -copy (which is now implemented), so all state is maintained.
2010-07-28 14:30:20 -04:00
Aparajita Fishman ce40536578 NSMenuItem is not reading the tag for some reason 2010-07-27 16:49:30 -04:00
Aparajita Fishman 8bfedd3c28 Don't substitute the font if the textfield is not editable (a label) 2010-07-27 16:48:54 -04:00
Aparajita Fishman 6be1b89428 Full support for all NSScrollView border types, beginnings of a new tableview tester that shows dynamic changing of border type. 2010-07-27 16:42:50 -04:00
Aparajita Fishman 92897a91ed Added -isBold accessor, fixel documentation to indicate font size is actually in css pixels, not points. 2010-07-27 16:37:13 -04:00
Aparajita Fishman 1d8ab840dc Another shot at fixing #776 2010-07-27 14:14:45 -04:00
Aparajita Fishman a8b0e7eee2 Merge branch 'master' of http://github.com/280north/cappuccino into my_master 2010-07-27 07:37:23 -04:00
Klaas Pieter Annema 90e9b86497 match CPTableView's alternating row colors with Aristo's 2010-07-26 22:48:58 -07:00
Klaas Pieter Annema 560ea75a25 added CPArrayController to AppKit.j 2010-07-26 22:48:40 -07:00
Klaas Pieter Annema 78fd972312 only reverse set the binding on end editing 2010-07-26 22:48:40 -07:00
Klaas Pieter Annema d947c849c8 made _accessorForKey slightly faster by inlining it as a function 2010-07-26 22:48:40 -07:00
Klaas Pieter Annema 8ce63a244c store accessors in a javascript object not a CPDictionary, for slight performance improvement 2010-07-26 22:48:39 -07:00
Klaas Pieter Annema 0306c35b54 don't copy the selection indexes in setContent: 2010-07-26 22:48:39 -07:00
Klaas Pieter Annema ff8e5ae42e save _replacedKeys on the class in stead of the object instance
reviewed: Ross
2010-07-26 22:48:39 -07:00
Aparajita Fishman e8cd9c15fb Another try at fixing issue #782 2010-07-26 19:58:13 -04:00
Aparajita Fishman 848abf116d Cleaned up the state indicator (it was a little uneven) and centered it more horizontally in the state column. 2010-07-26 14:44:55 -04:00
Aparajita Fishman 7e0ade21e1 Forgot to update NSFont with aparajita@fad96880eb4d68edd60714b697ab6a3d3531100d 2010-07-26 14:32:13 -04:00