Aparajita Fishman
7ab84ca607
Fixed a bunch of bugs in CGContextCanvas and CGPath.
...
- With canvas, we have to track ourselves whether the context has a path or not.
- All shapes except rects may not be added to a path with no context.
- CGPath was not setting the start and current point correctly in some cases.
- CGContextAddPath was not moving to the path's start point at the beginning.
Sorry, I am not going to spend the time to port these fixes to VML!
2013-02-21 21:44:16 -05:00
Aparajita Fishman
7c033f75ea
Eliminated dead code
2013-02-21 17:02:55 -05:00
Aparajita Fishman
9007cab02c
Removed another alert
2013-02-21 08:58:01 -05:00
Aparajita Fishman
d473a82715
Formatting, replaced alert with warning
2013-02-21 08:52:58 -05:00
Aparajita Fishman
fb01ceb2a9
Formatting
2013-02-21 07:39:57 -05:00
Aparajita Fishman
109f59ab6c
Merge branch 'autosaveTableColumnsFix'
2013-02-21 07:37:09 -05:00
Alexander Ljungberg
169f8eaad1
Merge branch 'master' of github.com:cappuccino/cappuccino
2013-02-20 19:57:24 +00:00
Alexander Ljungberg
854780a22a
Fixes #1754 . Fixed: CPAlert ignoring keyboard interaction, not movable by background.
...
Without this fix, a CPAlert window couldn't actually become the key window which meant it couldn't receive keyboard events such as using the escape key to close the alert or hitting enter to activate the default button.
Furthermore the window could not be moved by clicking its background and dragging.
This fix makes CPAlert windows into CPPanels instead, which can become key windows and is more appropriate since panels are meant for auxiliary windows.
2013-02-20 19:56:23 +00:00
Alexander Ljungberg
b1883d7204
Refs #1754 . Crisp, pixel perfect CPAlert warning triangle.
2013-02-20 18:31:43 +00:00
Alexander Ljungberg
74be583fbb
Refs #1754 . Fixed: pixelated corners on Aristo 2 HUD windows.
2013-02-20 18:19:25 +00:00
Alexander Ljungberg
4bc54c45a3
Refs #1754 . Fixed: wrong button text shadow direction in Aristo 2 HUD theme.
2013-02-20 16:39:09 +00:00
Alexander Ljungberg
5d08ddadfa
CPView _setThemeIncludingDescendants:.
...
This method makes it possible to e.g. switch a whole window to the HUD theme.
It's internal for now.
2013-02-20 16:33:28 +00:00
cacaodev
cd54687f41
CPTableColumnHeaderView: when a column is pressed and is the _editingColumn, make the table view first responder
2013-02-20 17:19:47 +01:00
cacaodev
3aadc958eb
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
Foundation/CPURLConnection.j
Tests/Manual/CPOutlineViewCibTest/Resources/MainMenu.cib
Tests/Manual/TableTest/TableBindings/Resources/MainMenu.cib
2013-02-20 17:15:24 +01:00
Aparajita Fishman
7d8e9dfc60
Formatting
2013-02-20 03:00:20 -05:00
aparajita
e623776f5d
Merge pull request #1787 from BlairDuncan/CPDictionaryController
...
minor optimization so that newObject and includedKeys use the same code
2013-02-19 23:55:11 -08:00
aparajita
230988b90d
Merge pull request #1785 from aradabaugh/cgcanvascontext
...
Fixes #1403 w/formatting and style for missing CGCanvasContext functions. Also...
2013-02-19 18:01:11 -08:00
aparajita
a6f4e20078
Merge pull request #1786 from ahankinson/fix-issue1745
...
Fix #1745 : Rename Progress bar images in HUD theme
2013-02-19 14:34:54 -08:00
Aparajita Fishman
02b7198e9b
Added action bindings to CPMenuItem
...
Updated MultipleValueBindings app to use action bindings in About and Help menu items.
2013-02-19 17:25:29 -05:00
Andrew Hankinson
64cb4ddb14
Fix #1745 : Rename Progress bar images in HUD theme
...
This is a partial fix that should resolve #1745 .
-- It removes an extra "-bar" from the progress bar images in the HUD theme.
-- It removes an older "-bar-regular" from file names to match the file names in the regular theme
-- It corrects a misspelled "indeterminate" in the progress indicator
2013-02-19 17:15:40 -05:00
Adam Radabaugh
a774e52988
Fixes formatting and style for missing CGCanvasContext functions. Adds CGCanvasContext test.
2013-02-19 14:10:39 -07:00
Blair Duncan
b6feecae70
minor optimization so that newObject and includedKeys use the same code
2013-02-19 12:06:48 -05:00
aparajita
84d8e1ceb7
Merge pull request #1478 from cacaodev/CPTableView-dragging-perf
...
CPTableView: make dragged views reusable when dragging ends
2013-02-19 07:33:29 -08:00
aparajita
23d3cef52e
Merge pull request #1517 from BlairDuncan/FlashViewFix
...
CPFlashView a few minor fixes, includes Test file
2013-02-19 07:16:28 -08:00
Aparajita Fishman
6a5b6a70b5
I was wrong, a single value binding for CPTextField does have default placeholders. Updated MultipleValueBindings app to display a single value binding as well.
2013-02-19 10:07:21 -05:00
Aparajita Fishman
dc366809c8
Merge branch 'CPCollectionView-maxNumberOfRows' of https://github.com/cacaodev/cappuccino
2013-02-19 09:38:10 -05:00
aparajita
ceeaab70fc
Merge pull request #1679 from mrcarlberg/scroll_before_focus_text_field
...
Make sure the text field is visible before focus
2013-02-19 06:14:42 -08:00
aparajita
3cfa81bdea
Merge pull request #1773 from BlairDuncan/CPPasteboardAvailableTypesFromArrayFix
...
CPPasteboard availableTypeFromArray fix issue #1683
2013-02-19 06:09:59 -08:00
aparajita
9e99676b66
Merge pull request #1777 from BlairDuncan/CPDictionaryController
...
CPDictionaryController [+1]
2013-02-19 05:22:29 -08:00
Alexander Ljungberg
a63f185ba9
Refs #1778 . Store clockwise parameter with right name.
...
The name has to match what we ultimately use in CGContextCanvas and CGContextVML.
2013-02-19 11:50:47 +00:00
Alexander Ljungberg
4a0dd80c5a
Merge pull request #1778 from ahankinson/partial-fix-issue578
...
This fix adds a missing `isClockwise` property
2013-02-19 11:38:46 +00:00
Alexander Ljungberg
62c62062e0
Formatting, tighten comparisons.
2013-02-19 10:49:25 +00:00
Andrew Hankinson
b9a97931c8
Formatting CGPath.j
2013-02-18 23:26:15 -05:00
Andrew Hankinson
4ec3b5e387
This fix adds a missing isClockwise property
...
Without this fix, the isClockwise property is not stored for use in CGPathAddPath.
C.F. https://github.com/cappuccino/cappuccino/blob/master/AppKit/CoreGraphics/CGPath.j#L195
This is a partial fix for #578 .
2013-02-18 23:02:28 -05:00
Blair Duncan
8eb59d97b2
replaced setContest with setContentDictionary in test
...
enabled "prepairs content" in xib to show key, key1 etc when added
2013-02-18 22:54:42 -05:00
Blair Duncan
14dff27b97
decode included and excluded keys from xibs
...
removed default sort descriptors
2013-02-18 16:53:54 -05:00
Alexander Ljungberg
e03622be9c
+ CPBezierPath bezierPathWithRoundedRect:xRadius:yRadius:.
2013-02-18 18:18:28 +00:00
Aparajita Fishman
3239337c1c
CPScroller fixes
...
- Get the scroller orientation from the xib.
- Fix the nonsensical calculation of _isVertical when given bounds.
- Since orientation comes from the xib, had to re-nib2cib everything to be safe.
2013-02-18 11:03:51 -05:00
cacaodev
9a58efaa07
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2013-02-18 13:09:46 +01:00
cacaodev
3319f578ba
_CPCibCustomView : set the identifier property on the replacement view
2013-02-18 13:05:12 +01:00
cacaodev
3e942dbdbd
Added CPCib import in CPTableView.j
...
Fix warning in NSNib.j
2013-02-18 12:59:47 +01:00
Randall Luecke
5427e9a402
Fixed column drag and drop in the tableview.
2013-02-18 04:00:40 -05:00
Aparajita Fishman
4a09feed59
Make sure cursor is reset before calling event handlers, misc. formatting
2013-02-18 03:34:42 -05:00
Blair Duncan
7ff8bda52a
CPDictionaryController initial commit
2013-02-18 01:04:59 -05:00
Aparajita Fishman
1c6d2f7fa4
Don't change the platform window's title unless the Cappuccino window is full platform.
2013-02-18 00:43:37 -05:00
Randall Luecke
041f21d117
Small fix to the CPWindow docs so we dont suggest using "window" as a param name.
2013-02-17 15:23:03 -05:00
Randall Luecke
f4ba2d68cd
Cache the scroller used by the class methods to get the various theme values.
...
-scrollerOverlay is called in -reflectScrolledClipRect and creating this new
object is VERY expensive, according to my profiling.
This should speed up scrolling across the board!
2013-02-17 02:09:07 -05:00
Blair Duncan
20263e44ba
CPPasteboard availableTypeFromArray fix issue #1683
2013-02-16 19:09:41 -05:00
Aparajita Fishman
347270a8b8
Formatting
2013-02-16 18:09:04 -05:00
Blair Duncan
9c4317783b
main menubar looping cursor navigation
2013-02-16 17:26:19 -05:00