Commit Graph

41 Commits

Author SHA1 Message Date
ftang%netscape.com
7dbb611a31 fix bug 12090. Implement nsIKBStateControl for nsMacWindow . Call ResetInputState when mouse down in GoAway or Content.
git-svn-id: svn://10.0.0.236/trunk@53688 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 22:35:02 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
beard%netscape.com
ceb9cf186d changed gInstanceClassName from char[256] to const char* to save space. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@52314 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 04:02:54 +00:00
saari%netscape.com
a9ec68967c Making popups not steal activation on MacOS. r: pinkerton, no bug number that I'm aware of
git-svn-id: svn://10.0.0.236/trunk@51938 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 03:32:35 +00:00
dcone%netscape.com
93ccfc6825 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@48623 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 21:19:03 +00:00
dcone%netscape.com
924b759ef3 Added popup support.
git-svn-id: svn://10.0.0.236/trunk@47132 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 15:05:16 +00:00
danm%netscape.com
caf895916f Landing modal dialogs from JS. More like a feature than stabilization. Apologies. approved: chofmann,don
git-svn-id: svn://10.0.0.236/trunk@43260 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 22:08:17 +00:00
danm%netscape.com
d7d843d99f adding "default" window border type
git-svn-id: svn://10.0.0.236/trunk@42694 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 03:08:24 +00:00
hyatt%netscape.com
44dc756e72 Fixing Pav's bustage. Bad Pav for going to dinner!
git-svn-id: svn://10.0.0.236/trunk@41678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 03:49:25 +00:00
pavlov%netscape.com
3d06577d5b back out previous changes
git-svn-id: svn://10.0.0.236/trunk@41665 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 02:28:56 +00:00
pavlov%netscape.com
46df36a9b1 fix it for real this time...
git-svn-id: svn://10.0.0.236/trunk@41659 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 01:54:26 +00:00
pavlov%netscape.com
02d920528c minimize/maximize/restore code
git-svn-id: svn://10.0.0.236/trunk@41630 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 23:53:17 +00:00
danm%netscape.com
551064e404 implement window creation OS chrome feature flags
git-svn-id: svn://10.0.0.236/trunk@41414 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 03:39:44 +00:00
kmcclusk%netscape.com
4da058a9e8 bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.


git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
pavlov%netscape.com
947d846be6 window creation changes
git-svn-id: svn://10.0.0.236/trunk@41241 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:27:17 +00:00
pinkerton%netscape.com
677e310e85 lots of stuff for d&d, getting the drag service released at the right times, notifying the drag service of the drag action via modifier keys.
git-svn-id: svn://10.0.0.236/trunk@39433 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:56:42 +00:00
pinkerton%netscape.com
859c3542ef early support for eBorderStyle_BorderlessTopLevel.
git-svn-id: svn://10.0.0.236/trunk@37644 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 04:54:29 +00:00
pinkerton%netscape.com
107fd9da10 pipe all drag events into Gecko, not just drop events. Also work with the new nsIDragSessionMac interface.
git-svn-id: svn://10.0.0.236/trunk@31617 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:50:57 +00:00
pinkerton%netscape.com
d570e17373 put code that didn't compile yesterday back in. Now i know that ::Foo doesn't work too well if Foo is a macro.
git-svn-id: svn://10.0.0.236/trunk@31338 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:14:22 +00:00
pinkerton%netscape.com
61a1d89d51 fix bustage.
git-svn-id: svn://10.0.0.236/trunk@31190 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:28:20 +00:00
pinkerton%netscape.com
cecde1eef1 using accessors when required by Carbon. Also adding lots of preliminary macOS drag and drop stuff. Wish I could have separated these into multiple checkins, but not possible.
git-svn-id: svn://10.0.0.236/trunk@31181 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:02:09 +00:00
pierre%netscape.com
2898d7aa35 Landing framesets changes. Made nsMacWindow inherit from nsChildWindow. Approved: choffmann. Bug #2236 et al.
git-svn-id: svn://10.0.0.236/trunk@29837 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 13:54:04 +00:00
pierre%netscape.com
6a1a7a5247 fixed some XPCOM issues (removed spurious nsISupport stuff) / fixed #4780 "[BLOCKER] Mac Borderless top-level windows"
git-svn-id: svn://10.0.0.236/trunk@28218 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:00:40 +00:00
sdagley%netscape.com
3b66cdeb10 Mac specific hack to address bug #3976. Add code to pin bottom of created window to bottom of grayregion so user can grab resize area of window. This should be removed when we have a real cross platform method of addressing this issue.
git-svn-id: svn://10.0.0.236/trunk@26334 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:07:06 +00:00
pierre%netscape.com
54e6394b81 fixed #3085 "Pop-up ads get drawn where you can't close them"
git-svn-id: svn://10.0.0.236/trunk@24801 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 06:45:40 +00:00
pierre%netscape.com
a51a1d37cb removed outdated comments
git-svn-id: svn://10.0.0.236/trunk@21423 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 01:57:48 +00:00
mcmullen%netscape.com
49dab3ddd5 Don't pass "this" to a member class if the member class is going to Addref, and we haven't called NS_INIT_REFCNT first.
git-svn-id: svn://10.0.0.236/trunk@19405 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 03:24:54 +00:00
pierre%netscape.com
321e169adc don't move or resize windows that belong to embedding apps
git-svn-id: svn://10.0.0.236/trunk@19386 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:04:15 +00:00
sfraser%netscape.com
d4ac017acd Changes to avoid using window refCons for raptor data. Store a list of windows in nsMacMessageSink, pass all events to the sink, and return a boolean for handled status. In the window, add and remove raptor windows from the list.
git-svn-id: svn://10.0.0.236/trunk@18746 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:24:26 +00:00
sfraser%netscape.com
1d7ca056f7 Tweak the window size so that the scroll bar is correctly positioned, and create a root Mac control for the window (so that we get control embedding).
git-svn-id: svn://10.0.0.236/trunk@17904 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:40:26 +00:00
pierre%netscape.com
6d4cb77b68 Handle the Raptor windowKind bit
git-svn-id: svn://10.0.0.236/trunk@16804 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 06:37:32 +00:00
pierre%netscape.com
17ee92de4e added OnPaint() to return 'false' and notify nsWindow not to dispatch the Update event
git-svn-id: svn://10.0.0.236/trunk@16407 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:03:09 +00:00
pierre%netscape.com
d4a2037c77 support dialogs
git-svn-id: svn://10.0.0.236/trunk@16397 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:03:10 +00:00
beard%netscape.com
03f544c401 Implemented SetTitle using nsString::ToCString. Will need to revisit when UNICODE window titles are supported.
git-svn-id: svn://10.0.0.236/trunk@15897 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:08:07 +00:00
saari%netscape.com
297d9f5ae5 This is the first in what will probably be a series of checkins addressing rendering on the Mac.
Changed files:
----------------------------------------
mozilla/gfx/src/mac/nsRenderingContextMac.h
mozilla/gfx/src/mac/nsRenderingContextMac.cpp 

- Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet.

To Do:
- Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods
- Some old variables need to be fully obsoleted
- Offscreen GWorlds currently do not work correctly. This will be addressed shortly.

----------------------------------------

mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.


/\/\/\/\/\//\

mozilla/widget/src/mac/nsWindow.h
mozilla/widget/src/mac/nsWindow.cpp
- Added mMacPortRelativeRegion
----------------------------------------
mozilla/widget/src/mac/nsScrollbar.cpp
- Support the new nsWindow constructs
----------------------------------------


git-svn-id: svn://10.0.0.236/trunk@15608 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:42:19 +00:00
pinkerton%netscape.com
7f42b90636 Don't use screenbits.bounds for determining constraints on moving or growing windows. Use bounding rect of GetGrayRgn().
git-svn-id: svn://10.0.0.236/trunk@14825 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:46:22 +00:00
pinkerton%netscape.com
f938f75ace Added specific mac toolbox include files (and helper macros) not covered in the widget prefix file.
git-svn-id: svn://10.0.0.236/trunk@14498 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 05:59:31 +00:00
pierre%netscape.com
a1df98431f Set the coordinates ot the top-level object to (0,0) instead of its global coordinates.
Removed the override of PointInWidget() which became obsolete after the change above.
Changed Move() and Resize() to call the toolbox only when necessary.


git-svn-id: svn://10.0.0.236/trunk@14387 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:40:56 +00:00
pinkerton%netscape.com
3c24dfcac9 fix bug where new windows would not be the active window by calling right toolbox routines.
git-svn-id: svn://10.0.0.236/trunk@13700 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 01:00:33 +00:00
pinkerton%netscape.com
9ffd44c8c4 cleanup constructor/destructor, and use auto_ptr where appropriate.
git-svn-id: svn://10.0.0.236/trunk@13693 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 00:12:37 +00:00
pierre%netscape.com
f3a71182c0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@13650 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 13:55:02 +00:00