65 Commits

Author SHA1 Message Date
saari%netscape.com
14b6e00383 fix for bug #4562
> 
mozilla/widget/src/mac/nsMacEventHandler.cpp
- commented out 3 lines
 
mozilla/xpfe/appshell/src/nsWebShellWindow.cpp
- Added 2 #ifdef XP_MAC changes that should go away by
M5.
 
The problem is that the nsMenuBar class doesn't know when it is through building a menubar from XUL since nsWebShellWindow actually does the construction today.
That will change when menus build themselves, which needs to be done for M5's dynamic menu construction.

So the hack would go away sometime soon.

Previously, the nsMacEventHandler would get a deactivate event before bringing up a dialog or another window... why this isn't happening anymore, I don't know.
Perhaps this is a bug in itself, but I was the only one relying on the behavior, and that reliance was a hack to begin with.


git-svn-id: svn://10.0.0.236/trunk@26797 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 04:29:37 +00:00
law%netscape.com
f8ccb27904 File download; approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@26796 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 04:21:15 +00:00
radha%netscape.com
a31cdf46e3 Webshellwindow implements the new nsIDocumentLoderObserver.
git-svn-id: svn://10.0.0.236/trunk@26530 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:01:51 +00:00
danm%netscape.com
ed3052a24c simple ability to at least specify a size for the window in XUL
git-svn-id: svn://10.0.0.236/trunk@25658 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:21:05 +00:00
danm%netscape.com
b461216cd7 set window title from XUL
git-svn-id: svn://10.0.0.236/trunk@25503 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:57:18 +00:00
rpotts%netscape.com
1a51c28082 Added more methods to nsIDocumentLoaderObserver in the first stage toward unifying *all* of the different notification mechanisms in the WebShell...
git-svn-id: svn://10.0.0.236/trunk@25448 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 09:21:01 +00:00
mcmullen%netscape.com
7ff0de82ed Rearrange the code so that windows can be closed programmatically, and deregistration etc all happens, in a more foolproof way.
git-svn-id: svn://10.0.0.236/trunk@25259 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:09:04 +00:00
ramiro%netscape.com
a9f68d1bae Fix indiscriminate debug comment spewage.
git-svn-id: svn://10.0.0.236/trunk@25208 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 11:34:21 +00:00
danm%netscape.com
b061e09932 closer to having a modal dialog loop on the Mac
git-svn-id: svn://10.0.0.236/trunk@24971 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:42:21 +00:00
danm%netscape.com
86c085c3c6 initial modal dialogs checkin (windows-only, UI thread only)
git-svn-id: svn://10.0.0.236/trunk@24578 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:13:09 +00:00
saari%netscape.com
baec19559b missing file
git-svn-id: svn://10.0.0.236/trunk@24571 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:56:03 +00:00
danm%netscape.com
61eba8993a Added and used Close() method to nsWebShellWindow. Part of fix for bug 3676 (again) and 3900. Wants to be part of M3 build. r:sdagley,pierre. a:chofmann,cyeh.
git-svn-id: svn://10.0.0.236/trunk@24305 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 19:08:36 +00:00
rpotts%netscape.com
7bbc87b3d0 fix for bug #2343 - Preferences are not initialized in the apprunner...
git-svn-id: svn://10.0.0.236/trunk@24206 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 07:25:43 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
danm%netscape.com
5a423eb9bb changed name of onConstruction event to onload
git-svn-id: svn://10.0.0.236/trunk@22925 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:23:19 +00:00
pinkerton%netscape.com
b76c4a887f fix for bug #3449 (onClick should be onclick).
git-svn-id: svn://10.0.0.236/trunk@22917 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:18:59 +00:00
scc%netscape.com
a6ad86bdb2 fix for nsCOMPtr: no construction/assignment from raw COM interface pointers
git-svn-id: svn://10.0.0.236/trunk@22615 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:44:55 +00:00
saari%netscape.com
dc6c858162 make LoadMenus() less nsWebShellWindow specific
git-svn-id: svn://10.0.0.236/trunk@22396 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 11:14:34 +00:00
peterl%netscape.com
0f5602af49 added content state change
git-svn-id: svn://10.0.0.236/trunk@22348 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:34:06 +00:00
saari%netscape.com
4103384808 Comment out SetLabel in LoadMenuItem
SetLabel should be called by the call to Create, to which I added the name back in the call.


git-svn-id: svn://10.0.0.236/trunk@22037 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:50:09 +00:00
danm%netscape.com
6a2e3f3bea adding C XUL window construction callback
git-svn-id: svn://10.0.0.236/trunk@22029 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:22:42 +00:00
saari%netscape.com
377ff86635 nsWebShellWindow.cpp
nsWebShellWindow.h

Broke up more of menu loading code into functions for readablity and to allow hierarchical menu loading.


git-svn-id: svn://10.0.0.236/trunk@21582 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:52:14 +00:00
rods%netscape.com
0a40cda128 MOved XULCommand to src and it is now acting like a menu delegate,
all that reminas is to rename it.


git-svn-id: svn://10.0.0.236/trunk@21444 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 21:04:21 +00:00
mcafee%netscape.com
430ad20c2f Solaris: adding do_QueryInterface() wrapper as part of scc's nsCOMPtr carpool. a=scc
git-svn-id: svn://10.0.0.236/trunk@21301 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:27:19 +00:00
rods%netscape.com
7f9d9e2cbd Completed work on -width and -height for specifying the initial size of the window
git-svn-id: svn://10.0.0.236/trunk@21186 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:52:27 +00:00
rods%netscape.com
d18115acba Added temporary menu delegate code. This enables menus to invoke JavaScript
BUT it menus can't observe changes or broadcasts


git-svn-id: svn://10.0.0.236/trunk@21152 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:13:30 +00:00
rods%netscape.com
522f7e6d93 Status bar is now hooked up.
git-svn-id: svn://10.0.0.236/trunk@21146 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:39:32 +00:00
rods%netscape.com
ebb56bf41c Added a little code to find the menus and load them.
They aren't hooked up yet.


git-svn-id: svn://10.0.0.236/trunk@21143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:32:44 +00:00
hyatt%netscape.com
4ab66b66a5 Commented out some code I shouldn't have in the menu code.
git-svn-id: svn://10.0.0.236/trunk@21133 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:18:18 +00:00
hyatt%netscape.com
6369b8df24 Checking in the new appRunner.
git-svn-id: svn://10.0.0.236/trunk@21129 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:01:03 +00:00
rods%netscape.com
1dbd117587 Added separators
git-svn-id: svn://10.0.0.236/trunk@20974 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:49:14 +00:00
rods%netscape.com
42420a8c97 Added temporary menu hook up as an experiement
git-svn-id: svn://10.0.0.236/trunk@20967 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:12:10 +00:00
mcafee%netscape.com
8e4341cd89 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar
git-svn-id: svn://10.0.0.236/trunk@20851 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:08:00 +00:00
danm%netscape.com
2cf50fdc88 added beginnings of toolkit dialog factory
git-svn-id: svn://10.0.0.236/trunk@20723 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 05:38:15 +00:00
rods%netscape.com
076ccff595 compare build error fixed
git-svn-id: svn://10.0.0.236/trunk@20595 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:58:39 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
rods%netscape.com
4a805d6b49 Fixed loading of commands and toolbars now that we don't have nested windows
Removed UpdateButtons method


git-svn-id: svn://10.0.0.236/trunk@20553 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 15:56:54 +00:00
rods%netscape.com
cbf3244393 Added some more debugging
git-svn-id: svn://10.0.0.236/trunk@20434 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:42:09 +00:00
rods%netscape.com
90bade3f9e Added XULCommand back in fixed commands
git-svn-id: svn://10.0.0.236/trunk@20408 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:14:34 +00:00
rods%netscape.com
829f95d1e4 It now implements nsIDocumentLoaderObserver
git-svn-id: svn://10.0.0.236/trunk@20255 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:32:55 +00:00
rods%netscape.com
2e186fb37f fixed error checking for command creation.
git-svn-id: svn://10.0.0.236/trunk@19920 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 06:09:53 +00:00
saari%netscape.com
d4910aea39 moving nsIXULCommand.h, nsXULCommand.h, and nsXULCommand.cpp to widget dll from appshell
git-svn-id: svn://10.0.0.236/trunk@19841 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 08:52:39 +00:00
saari%netscape.com
ba3bb11729 ... this file should be happy with the nsIMenuListener change now...
git-svn-id: svn://10.0.0.236/trunk@19640 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:42:07 +00:00
rods%netscape.com
ccd26fd185 Fixed up some debug
git-svn-id: svn://10.0.0.236/trunk@19447 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:48:55 +00:00
pinkerton%netscape.com
95d4a15403 Fix solaris bustage by including headers instead of using forward class decl's for nsCOMPtr'd interfaces in a header file.
git-svn-id: svn://10.0.0.236/trunk@19326 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:09:44 +00:00
sar%netscape.com
c14e26a9fe fixing build breakage.
git-svn-id: svn://10.0.0.236/trunk@19074 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 03:53:39 +00:00
mcmullen%netscape.com
5fd97d3fa6 Hooked up menus to commands (just like toolbar buttons) converted to nsCOMPtr everywhere.
git-svn-id: svn://10.0.0.236/trunk@19059 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:39:25 +00:00
pinkerton%netscape.com
739ca68f58 fix win32 compiler errors (can't do (nsnull != foop) where foop is a nsCOMPtr, which is fine by me) and fix command hookup code to actually work for multiple toolbars. I dunno what I was smoking with the last checkin.
git-svn-id: svn://10.0.0.236/trunk@18889 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 02:26:27 +00:00
pinkerton%netscape.com
e86bfb00bf now hookup commands to multiple toolbars and fix compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@18871 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:30:38 +00:00
pinkerton%netscape.com
4859c3f41a fix the dom dredging code to handle the presense of a xul namespace in the xml file and clean up things with nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@18834 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:21:12 +00:00