Nicholas Small
6a8126337c
Added right click responder methods and context menu support.
2010-03-31 15:56:18 -04:00
Ross Boucher
7ab41cf195
If there is no key window or no main window make the first opened window those things.
2010-03-28 09:03:33 -07:00
Ross Boucher
b0e0156880
Fix support for initial first responder.
2010-03-27 13:08:47 -07:00
Ross Boucher
ef7ad8ee8e
A few minor bug fixes for key/main window handling.
2010-03-13 22:49:06 -08:00
Ross Boucher
c514fd7a08
Fix an issue where window levels weren't kept in sync with dom window layers.
...
Closes #507 .
2010-03-06 00:57:59 -08:00
Ross Boucher
29a0de3636
Fix document title's not being synced properly.
2010-03-05 20:09:23 -08:00
Ross Boucher
398d61097c
Typo in miniaturize:
2010-03-02 15:27:40 -08:00
Ross Boucher
4a43e4fda6
Overhaul of the key/main window status, esp. with respect to assigning new values after a window
...
closes or after a window is minimized, and with app activation/deactivation.
2010-03-02 15:16:10 -08:00
Ross Boucher
01aec1f78e
If the mainWindow tries to become main again, just return early.
2010-03-01 18:07:38 -08:00
Francisco Ryan Tolmasky I
c33e2ee51f
Fixed a bug with objj_debug_typecheck incorrectly misidentifying empty string as not a CPString. Also fixed a number of type declarations after running with objj_msgSend_decorate(objj_typecheck_decorator); turned on.
...
Reviewed by me.
2010-02-21 13:37:20 -08:00
Ross Boucher
fb8ba655e1
Do not enforce min/max size in setFrame:display:animate: only do so in the other setFrame* variants.
...
Closes #284 .
2010-02-10 19:55:40 -08:00
Philipe Fatio and Ross Boucher
94ce055bc2
CPWindow's makeFirstResponder: return type was void, changed to BOOL
2010-02-09 10:49:04 -08:00
Alexander Ljungberg and Ross Boucher
2dccee05bc
Fixed: CPWindow setFrame:display: failed with an "unrecognized selector" exception.
2010-02-03 14:58:01 -08:00
Nicholas Small
204df99375
Make CPPanel -becomesKeyOnlyIfNeeded and CPView -needsPanelToBecomeKey work.
2010-01-15 17:23:56 -05:00
Ross Boucher
d78eb4a4e5
Fix an undefined notification variable
2010-01-04 19:11:10 -05:00
Randall Luecke and Ross Boucher
a3d168b646
left unnessisary line... whoops
2010-01-04 10:24:45 -05:00
Randall Luecke and Ross Boucher
5018df511b
fix for window overlapping the menu bar if the user dragged it up there.
2010-01-04 10:24:38 -05:00
Ross Boucher
09345a9d53
Use a notificaiton rather than a direct call for windowDidResize:
...
Closes #393 .
2010-01-04 10:21:16 -05:00
Francisco Ryan Tolmasky I
7acfbb9eed
Added [CPView setSubviews:] which allows you to add multiple subviews, remove multiple subviews, and reorder multple subviews.
...
Reviewed by me.
2009-12-20 13:00:25 -08:00
Francisco Ryan Tolmasky I
eb43e416ae
Added CPProxy class to support better undo proxying in CPUndoManager.
...
Closes #370 .
Closes #371 .
Reviewed by me.
2009-12-11 11:38:26 -08:00
Francisco Ryan Tolmasky I
a401dfddff
Merge branch 'jake' into menus
2009-12-02 20:19:14 -08:00
Ross Boucher
2120e9cf2a
Potential fix for a drawing issue in IE.
2009-12-02 18:27:18 -08:00
Ross Boucher
3002acc895
Change for the way in which we detect full bridge window close
2009-12-02 18:26:55 -08:00
Francisco Ryan Tolmasky I
982ab4b4fa
Merge branch 'jake' into menus
2009-12-02 17:18:11 -08:00
Ross Boucher
56a739655f
A whole bunch of textfield and key event fixes.
2009-12-02 17:14:47 -08:00
Francisco Ryan Tolmasky I
495b774965
A bit of cleanup.
...
Reviewed by me.
2009-12-01 17:49:15 -08:00
Francisco Ryan Tolmasky I
72f80cdbed
Cleaned up menu constraints.
...
Reviewed by me.
2009-11-30 02:01:44 -08:00
Francisco Ryan Tolmasky I
8f1e56e398
Implemented manual validation for toolbar items and fixed a number of toolbar bugs.
...
Closes #43 .
Closes #48 .
Reviewed by me.
2009-11-15 00:35:52 -08:00
Francisco Ryan Tolmasky I
b694437dba
Fix for flash when closing windows.
...
Reviewed by me.
2009-11-14 19:58:40 -08:00
Francisco Ryan Tolmasky I
312a48a3fe
Fix for borderless bridge windows showing and allowing the user to use resize indicator.
...
Reviewed by me.
2009-11-14 14:41:09 -08:00
Francisco Ryan Tolmasky I
9dfdde674f
Fix for off by one error in HTML 5 Safari drag and drop, as well as error when building with Rhino Narwhal.
...
Reviewed by me.
2009-11-13 17:39:16 -08:00
Francisco Ryan Tolmasky I
61c0d33b4d
Made shadows more robust with platform windows.
...
Reviewed by me.
2009-11-12 01:46:10 -08:00
Francisco Ryan Tolmasky I
14ad8f6d6d
Cleaned up key equivalent handling and added support for key equivalents
...
to nib2cib.
Reviewed by me.
2009-10-31 18:32:58 -07:00
Ross Boucher and Francisco Ryan Tolmasky I
bcd8c72ae4
Add an unsaved state affordance to the close button on standard windows.
2009-10-31 18:22:27 -07:00
Ross Boucher
0423546451
Update to the new close/warn stuff to correctly support multiple windows per document and multiple documents per window.
2009-10-29 16:33:56 -07:00
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 Luecke and Ross Boucher
86d5ea6c64
made sheet 10 percent transparent to match Cocoa sheets.
2009-10-25 19:10:15 -07:00
Randall Luecke and Ross 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 Boucher and Francisco 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
cacaodev and Ross Boucher
048bcc1be7
Improved autoresizing mechanism for attached sheets
2009-10-08 12:58:45 -07:00
cacaodev and Ross 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
cacaodev and Ross Boucher
0e55a5d7c4
Added sample app. Corrected style (tabs)
2009-10-08 12:58:29 -07:00
cacaodev and Ross Boucher
c6b934a035
Attached sheet implementation
2009-10-08 12:58:22 -07:00
Ross Boucher and Francisco 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