Commit Graph
62 Commits
Author SHA1 Message Date
Ross Boucher b2d994bd66 Adds support for warning before closing documents that have unsaved changes.
Includes changes to the multiple documents per window controller stuff.
2009-10-27 17:36:46 -07:00
Ross Boucher 82404265fb Warn when closing an unsaved document. 2009-10-26 22:18:58 -07:00
Francisco Ryan Tolmasky I b457119925 Added shadow drawing styles.
Reviewed by me.
2009-10-25 23:11:00 -07:00
Randall LueckeandRoss Boucher 86d5ea6c64 made sheet 10 percent transparent to match Cocoa sheets. 2009-10-25 19:10:15 -07:00
Randall LueckeandRoss Boucher 424611e7c7 fixed frameRectForContentRect:styleMask: so the styleMask argument is actually used and the method no longer outputs an error when called 2009-10-25 19:09:15 -07:00
Francisco Ryan Tolmasky I 6076185da7 Added application activation.
Reviewed by me.
2009-10-18 17:35:53 -07:00
Ross BoucherandFrancisco Ryan Tolmasky I 2338ca2fa2 Add support for minimization. 2009-10-10 12:20:02 -04:00
Ross Boucher 9b948dcac7 CPAnimation: cubic bezier curves - the real, working equation
Conflicts:

	AppKit/CPAnimation.j
2009-10-08 13:20:10 -07:00
Ross Boucher 1fb9c973fe More sheets. 2009-10-08 13:12:30 -07:00
cacaodevandRoss Boucher 048bcc1be7 Improved autoresizing mechanism for attached sheets 2009-10-08 12:58:45 -07:00
cacaodevandRoss Boucher 1d8cebd5be CPWindow : Added missing declarations for _isSheet and _parentView
sheet's subviews autoresizingMask is now correctly restored when the sheet is open or ended.
           Added CPWindow(WillBegin/DidEnd)SheetNotification globals

	   To do : support for maxSize and minSize
2009-10-08 12:58:37 -07:00
cacaodevandRoss Boucher 0e55a5d7c4 Added sample app. Corrected style (tabs) 2009-10-08 12:58:29 -07:00
cacaodevandRoss Boucher c6b934a035 Attached sheet implementation 2009-10-08 12:58:22 -07:00
Ross BoucherandFrancisco Ryan Tolmasky I 1d76ac1b91 Addes initial support for window shadow styles.
Reviewed by tolmasky.
2009-09-30 07:03:55 +01:00
Francisco Ryan Tolmasky I 1862eacc27 Change frame setting behavior to match immediacy of Cocoa/GNUStep.
Reviewed by me.
2009-09-15 14:51:07 -07:00
Francisco Ryan Tolmasky I 20d14d2f81 Added beginnings of tabbed documents support.
Reviewed by me.
2009-09-14 00:51:43 -07:00
Ross Boucher d00197b1f7 This forces a recalculation at the point where autorecalculation is turned off (only if it was dirty).
From what I can tell, this brings it into line with how Cocoa handles the situation.

Closes issue #250.
2009-09-10 12:05:55 -04:00
Francisco Ryan Tolmasky IandTom Robinson 35fa76064c CPWindow centering 2009-08-20 19:15:31 -07:00
Francisco Ryan Tolmasky I e8dd56bda7 Added HTML 5 drag and drop support for WebKit/Safari.
Reviewed by me.
2009-08-17 03:50:52 -07:00
Francisco Ryan Tolmasky I ab8add681e A number of fixes and improvements to the platform window subsystem.
Reviewed by me.
2009-08-17 03:50:51 -07:00
lowell vizonandFrancisco Ryan Tolmasky I 377f331b47 Documentation Edits: Replaced <code> and <pre> tags with \c; this allows monospaced text to be displayed with formatted text without needing a new line. See AppKit/CPView after generating documentation for examples. Also added - and + signs to the above changes when referring to either an -instanceMethod or a +classMethod. --lowell@cocoastep
Signed-off-by: Francisco Ryan Tolmasky I <francisco@280north.com>
2009-08-08 03:50:50 +08:00
Francisco Ryan Tolmasky I fbf559043e Fixed accidentally committed #if 0.
Reviewed by me.
2009-07-28 21:10:16 -07:00
Francisco Ryan Tolmasky I 6a9804939e More removal of "bridge".
Reviewed by me.
2009-07-27 22:43:01 -07:00
Francisco Ryan Tolmasky I 2e37945b4f Removed remaining references to CPDOMWindowBridge.
Reviewed by me.
2009-07-27 12:06:07 -07:00
Francisco Ryan Tolmasky I 92594a7ef9 Removed references from CPWindow and CPPlatformWindow to CPDOMWindowBridge.
Reviewed by me.
2009-07-27 12:06:07 -07:00
Francisco Ryan Tolmasky I 4d179b1db7 Remove global references to first window.
Reviewed by me.
2009-07-27 12:06:07 -07:00
Francisco Ryan Tolmasky I d2b1df88e8 FIx for drag and drop without CPDOMWindowBridge.
Reviewed by me.
2009-07-27 12:06:07 -07:00
Francisco Ryan Tolmasky I d53207efd5 Furhter platform window support.
Reviewed by me.
2009-07-26 12:52:24 -07:00
Francisco Ryan Tolmasky I e69d770583 Further deprecation of CPDOMWindowBridge.
Reviewed by me.
2009-07-25 17:10:48 -07:00
Francisco Ryan Tolmasky I 8382bb1ae8 Beginnings of Platform reorg.
Reviewed by me.
2009-07-25 16:47:30 -07:00
Francisco Ryan Tolmasky I 761e32a847 Fix for updating window background color to match crushed png.
Reviewed by me.
2009-07-05 21:04:08 -07:00
Saikat ChakrabartiandFrancisco Ryan Tolmasky I 7d158de356 Fix for incorrect chain received mouseEntered events.
Closes #199.

Reviewed by me.
2009-06-20 17:12:03 -07:00
Francisco Ryan Tolmasky I b4abc5a99d Further key handling fixes.
Reviewed by me.
2009-06-15 12:33:16 -07:00
Francisco Ryan Tolmasky I 1e3b79de17 Fix for superview's not remaining mouseEntered when mouse moves over subviews.
Closes #126.

Reviewed by me.
2009-06-13 14:50:38 -07:00
Francisco Ryan Tolmasky I 1f0e4b0eca Fix for window returning a direct reference to its frame instead of a copy.
Reviewed by me.
2009-06-10 13:17:09 -07:00
Ross Boucher 850125b8ab Add documentation groups 2009-05-18 15:43:36 -07:00
Ross Boucher bd3895e6c1 make windows not white by default 2009-05-17 13:00:06 -07:00
Ross Boucher 2825560c1f keep key view loops established in interface builder 2009-05-08 14:37:31 -07:00
Ross Boucher 6cd92e1278 Force windows to stay within the bounds of the browser window 2009-05-04 21:54:02 -07:00
Ross Boucher b6b3e7f492 Make setting initial first responder in IB work 2009-04-14 22:20:22 -07:00
Ross Boucher 4ce0bbe1c0 run recalculateKeyViewLoop automatically when a window is created 2009-04-14 22:10:50 -07:00
Ross Boucher d2b5a7362e support for autorecalculateskeyviewloop 2009-04-14 20:42:44 -07:00
Ross Boucher db6c70215a Next key view support, plus text field support 2009-04-14 15:40:12 -07:00
Ross Boucher acb1929b49 Add default button style 2009-04-14 01:32:14 -07:00
Ross Boucher 0c63a5aba4 Add defaultButton to CPWindow, set up default key bindings 2009-04-13 21:22:32 -07:00
nciagraandRoss Boucher 3bc50c1c3b Allow _CPWindowView to set its own toolbarItem labelShadowColor. 2009-04-06 21:19:46 -07:00
Francisco Tolmasky 390208d16a Fixed a bug where registerForDraggedTypes: replaced current drag types instead of appending to them.
Reviewed by me.
2009-03-27 17:32:53 -07:00
Francisco Tolmasky 0638de200b Use visibleFrame for full bridge windows, not contentBounds.
Reviewed by me.
2009-03-22 12:20:18 -07:00
nciagraand280 North, Inc. 8dc6500649 Fix for setting toolbar on bridge window losing its origin.
Signed-off-by: 280 North, Inc. <admin+280north@280north.com>
2009-03-23 02:47:25 +08:00
Tom Robinson 8b36cddd9c Init _isFullBridge and cast too BOOL in setFullBridge: 2009-02-21 21:56:24 -08:00