Commit Graph

663 Commits

Author SHA1 Message Date
hyatt%netscape.com
e421c746a4 Adding a menu listener to the DOM for XUL menus and popups. 1999-07-26 09:18:00 +00:00
arielb%netscape.com
8dad60d09d Fix to the caps security module. I removed the nsPrincipal struct, from now
on you can access principals by their xpcomed interface nsIPrincipal.
1999-07-24 03:58:23 +00:00
gordon%netscape.com
07f7e5f6a2 Added nsJSProtocolHandler.h 1999-07-23 05:26:03 +00:00
gordon%netscape.com
892efccd4f If XP_MAC and NECKO are defined, we include nsJSProtocolHandler.cpp instead of using the rest of this file. This is to work around the fact we can't conditionally link against files without creating addition targets in the project. Once NECKO has landed, I'll change the project file and jsurl.cpp will go away. 1999-07-23 05:23:00 +00:00
briano%netscape.com
1aa9b24b4f Cleanup, in the vain hope that this might clear up the freaky Sol/x86 .L_T7158 undefined symbol problem. 1999-07-23 00:22:57 +00:00
briano%netscape.com
2fc1cb5617 Cleaned it up in the vague hope that this might help Solaris/x86 builds overcome their mysterious relocation problem. 1999-07-22 23:58:51 +00:00
danm%netscape.com
b4e60f5b6c removing IsMenuBarVisible -- it was a mistake, and unused 1999-07-22 23:41:50 +00:00
waterson%netscape.com
911c81f859 Fix missing cast in XPC case. 1999-07-22 21:57:29 +00:00
gagan%netscape.com
e37d05ffaa Necko only changes for the setting relative path. 1999-07-22 21:17:11 +00:00
nisheeth%netscape.com
280fbabbc4 Fix for bug 6886. The innerwidth/innerheight and outerwidth/outerheight properties on a window object now return correct values for (i)frames. Earlier, they were returning the values of the window even when queried on an (i)frame. 1999-07-22 07:07:50 +00:00
danm%netscape.com
5b90e50be0 make window.open windows visible 1999-07-21 06:37:58 +00:00
mjudge%netscape.com
c6b01f14a4 fixing bad idl on my part. adding method until idlizing can be completed 1999-07-21 01:14:05 +00:00
akkana%netscape.com
b6a67a9c1c Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h 1999-07-21 00:12:23 +00:00
akkana%netscape.com
27f2d89ea5 Hand-edit to make one parameter to ContainsNode an address -- apparently there's a bug in idlc 1999-07-21 00:10:11 +00:00
akkana%netscape.com
37cbc4d66a Argh, there's stuff in here that doesn't come from the idl! Fix build bustage 1999-07-20 23:29:02 +00:00
akkana%netscape.com
d45c51b9af Add new ContainsNode method to nsIDOMSelection 1999-07-20 23:08:22 +00:00
joki%netscape.com
d752334449 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
mjudge%netscape.com
c0b1525970 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
ramiro%netscape.com
ba8ba82cc6 Landing timer move on windows. 1999-07-17 15:52:01 +00:00
ramiro%netscape.com
a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
ramiro%netscape.com
9bd19ea821 Fixing mismatched deallocator errors. 1999-07-17 13:08:45 +00:00
slamm%netscape.com
e33e65a165 Fix build warnings. 1999-07-16 20:06:37 +00:00
hyatt%netscape.com
472c4051c6 Added support for window.title (setting and getting). 1999-07-16 01:14:59 +00:00
norris%netscape.com
9e63f9ce7e Remove cvs removed file from MANIFEST. 1999-07-15 23:54:21 +00:00
norris%netscape.com
f64740e501 Move several security files into idl. (Create idl directory in caps module.)
Implement methods of nsIXPCSecurityManager.
Fix random errors in DOM JS security.
1999-07-15 23:23:16 +00:00
mjudge%netscape.com
21700e5d88 checkin for carpool for multiple seleciton/ime selection and api changes 1999-07-15 18:19:20 +00:00
warren%netscape.com
4c6bea8a70 Changed back to a warning since I now know this is non-critical for necko. 1999-07-14 20:50:02 +00:00
andreas.otte%primus-online.de
a6747fa713 NECKO only: fix build bustage when doing a clobber build 1999-07-14 20:47:55 +00:00
mcafee%netscape.com
b7fb6b3ce3 Fixing Linux bustage, NECKO build only. 1999-07-13 07:33:19 +00:00
warren%netscape.com
4ef7533a6e Added start of javascript: protocol handler for necko. 1999-07-12 23:46:40 +00:00
brendan%mozilla.org
46037e4fbc Support Unicode strings in setTimeout/setInterval exprs (8155, vidur). 1999-07-12 23:40:01 +00:00
andreas.otte%primus-online.de
838f5a972b NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
warren%netscape.com
5fe24074f1 Changed warning to assertion because this is the next thing we need to fix. 1999-07-10 11:08:09 +00:00
vidur%netscape.com
6b9a068304 A window can now be closed from a timeout. A reference to the script context is temporarily held until the timeout completes. Approved by chofmann, reviewed by nisheeth. 1999-07-08 23:02:07 +00:00
hyatt%netscape.com
57180ac859 Fix for the disappearing menu bar problem. 1999-07-08 02:04:32 +00:00
warren%netscape.com
dbf21d5d9e Fixed ToString for necko. 1999-07-07 10:05:59 +00:00
mcafee%netscape.com
9fd93518a9 Fixing linux bustage 1999-07-07 08:04:11 +00:00
norris%netscape.com
06317a54b3 Tom Pixley's code for the beginnings of DOM security, with a fix for the previous Mac link failure. 1999-07-07 07:50:03 +00:00
danm%netscape.com
025f4c708c delay showing intrinsically sized windows 1999-07-07 00:29:05 +00:00
slamm%netscape.com
452b0e1ce7 Remove unused variable, rBool, and its compiler warnings 1999-07-06 23:42:00 +00:00
slamm%netscape.com
19579def51 Remove unused variable (and compiler warning) 1999-07-06 23:38:33 +00:00
danm%netscape.com
89545a8ee9 don't resize or move while 'opening' an extant window 1999-07-06 23:13:10 +00:00
andreas.otte%primus-online.de
001ff1afea NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
sspitzer%netscape.com
ca20b32c35 fix warning 1999-07-06 22:40:54 +00:00
sspitzer%netscape.com
5da2cb9d67 add debugging printf 1999-07-06 22:40:20 +00:00
hyatt%netscape.com
2336371f60 Making sure dialogs really look like dialogs. 1999-07-05 19:38:43 +00:00
hyatt%netscape.com
73b08a974d Checking in support for intrinsic sizing of chrome. 1999-07-04 04:09:54 +00:00
vidur%netscape.com
f84be079ba fixed prototype/method return type mismatch. Thanks to Glen Nakamura for the patch. 1999-07-02 22:49:29 +00:00
tague%netscape.com
0b7a782118 Added TEXTRANGE_CARETPOSITION support for Input Methods to nsIDOMTextRange and nsGUIEvents 1999-07-02 22:21:03 +00:00
joki%netscape.com
f550a8be68 New focus stuff for getting focus to the content area of the apprunner window. 1999-07-02 19:43:26 +00:00
rods%netscape.com
85a74becef Add or changed GetIID to use NS_DEFINE_STATIC_IID_ACCESSOR macro 1999-07-02 19:27:36 +00:00
dveditz%netscape.com
9bc612bf52 makeile cleanups 1999-07-02 13:38:47 +00:00
ramiro%netscape.com
f41e67c622 Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.
1999-07-02 13:06:48 +00:00
dveditz%netscape.com
17864a291d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
warren%netscape.com
b6a160abc6 necko changes 1999-07-01 19:38:49 +00:00
joki%netscape.com
37a6739ec1 Backing out js security changes. 1999-07-01 13:03:35 +00:00
joki%netscape.com
b77831bb90 chaning module name again. 1999-07-01 12:37:43 +00:00
joki%netscape.com
914987210b hacking in temp fix for mac build. 1999-07-01 12:31:59 +00:00
joki%netscape.com
19148a1d22 Fixing module name. 1999-07-01 11:46:08 +00:00
joki%netscape.com
00cb8b346d Typo in makefile. 1999-07-01 10:57:48 +00:00
joki%netscape.com
ccd5375141 New JavaScript/DOM security stuff. 1999-07-01 10:38:26 +00:00
sspitzer%netscape.com
e805c42050 fix warning. remove unused variable 1999-07-01 07:49:09 +00:00
pinkerton%netscape.com
358bcc130a Changing CreatePopup to return the popup. Adding a bunch of stuff for tooltips to the popup code. Fixing some bugs in webshell with loading malformed popups. Renamed "popup" to "popupElement" in the document and added "tooltipElement" as well. 1999-07-01 00:07:41 +00:00
vidur%netscape.com
41d9c08f41 Added static GetIID accessor to DOM interfaces 1999-06-29 23:42:51 +00:00
tague%netscape.com
353d857fed Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
tague%netscape.com
ca31701108 Added clause range and selection support for Input Methods. 1999-06-29 20:30:42 +00:00
scc%netscape.com
4973918df6 Added |GetIID()| 1999-06-29 20:28:56 +00:00
valeski%netscape.com
02e4b13a9a NECKO build fix. added proper args to nsIWebShell::Reload(). 1999-06-28 12:31:56 +00:00
warren%netscape.com
fbc735f510 Last of the necko ifdefs. Now we link with necko. 1999-06-28 10:35:57 +00:00
mcafee%netscape.com
e140d3c2d3 BeOS changes 1999-06-27 09:34:52 +00:00
mcafee%netscape.com
9004f2c1df BeOS changes 1999-06-27 09:28:16 +00:00
danm%netscape.com
b4fcbcd0b1 added 'content' property to JS window 1999-06-26 21:48:29 +00:00
warren%netscape.com
15272e93b7 More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string. 1999-06-23 19:55:21 +00:00
warren%netscape.com
89b9ded2af Necko changes. 1999-06-23 06:12:02 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
davidm%netscape.com
1669f6172b Bring window to the front before giving it focus 1999-06-22 03:11:15 +00:00
sfraser%netscape.com
0cfa2606ff Preliminary fix for 8555; JS contexts not properly cleaned up on window close. 1999-06-19 22:18:52 +00:00
sfraser%netscape.com
358bd7c116 Lots of leak fixing. 1999-06-19 22:15:14 +00:00
valeski%netscape.com
e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
beard%netscape.com
6605e55ca3 bug #5352: navigator.javaEnabled() now returns false if the "security.enable_java" preference is undefined, which it is if the "Advanced" preferences dialog has never been run, or you're running under viewer. a=chofmann, r=vidur 1999-06-16 23:40:41 +00:00
pollmann%netscape.com
77b957c693 Bug 2195: select[n] == select.options[n], new idlc-generated glue for nonstandard DOM interface 1999-06-16 05:20:00 +00:00
pollmann%netscape.com
ba5f073a74 Bug 2195: select[n] == select.options[n], new nonstandard DOM interface 1999-06-16 05:15:30 +00:00
pollmann%netscape.com
e2a75f1d5d Bug 2195: select[n] == select.options[n], new header for nonstandard DOM interface 1999-06-16 05:02:21 +00:00
waterson%netscape.com
3309c5b828 Remove Window.Equals() hack. 1999-06-16 02:06:48 +00:00
danm%netscape.com
c8c8b90335 fix hidden virtual function bustage 1999-06-16 00:14:04 +00:00
pollmann%netscape.com
e335d3d54f Bug 2195: Make select[n] == select.options[n] (idlc bugfix courtesy of Vidur) 1999-06-15 23:41:30 +00:00
vidur%netscape.com
4864fdaa6a More graceful handling of the orphaned window case. 1999-06-15 03:25:41 +00:00
vidur%netscape.com
de45c1e44d Changed reference counting rules for nsGlobalWindow - now its JSObject maintains a reference to it. The root for the global JSObject is now removed in SetWebShell when we're going away. Lots of null checks so that standalone global window doesn't crash. 1999-06-15 03:17:11 +00:00
beard%netscape.com
a9efb9dc76 bug #7018: conditionally initializing LiveConnect classes only if Java is truly enabled. 1999-06-14 06:41:09 +00:00
vidur%netscape.com
e43183b897 Added confirm and prompt to window object. 1999-06-11 23:57:25 +00:00
vidur%netscape.com
51f68b19fb JS_GetPrivate calls now go through a nsJSUtils wrapper that checks up the prototype chain. This is useful for applets where the JSClass instance is set as the proto of the LiveConnect-generated object. 1999-06-11 22:38:35 +00:00
vidur%netscape.com
f51c4ade16 Fixes for bug 927. JS timer code can deal with the window closing in a timer callback. NamedItem gets called for unknown integer property values as well. Added nsCOMPtr generation option to idlc. Fixed warnings in generated code. 1999-06-11 21:49:41 +00:00
davidm%netscape.com
3aead0a8dd Bug 1877 implimented some of the screen object functions 1999-06-11 21:19:24 +00:00
sfraser%netscape.com
8f1f1f50fe Add stubs for range and selection interfaces 1999-06-11 18:57:54 +00:00
danm%netscape.com
ce860be60f adding show/hide support for interior chrome and menubars 1999-06-10 01:27:47 +00:00
danm%netscape.com
d9c9adbd3d add Bar properties to DOMWindow 1999-06-09 19:04:18 +00:00
danm%netscape.com
65be2563be adding domwindow barproperty object 1999-06-09 18:59:04 +00:00
hyatt%netscape.com
3c9cbf513e Altering the args for createPopup. 1999-06-09 08:36:06 +00:00
hyatt%netscape.com
81885da6d4 Altering the idl for createPopup. 1999-06-09 08:25:07 +00:00
joki%netscape.com
25aab9fee5 Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names. 1999-06-09 07:38:26 +00:00
hyatt%netscape.com
58cba873bf More content model tweaks. 1999-06-09 05:45:15 +00:00
hyatt%netscape.com
2ae117dc39 Woo woo. Focus implementation. 1999-06-08 21:58:55 +00:00
joki%netscape.com
7e2352ba3a Adding new method to nsIDOMNSUIEvent to give event pos as range offset. 1999-06-08 02:19:26 +00:00
waterson%netscape.com
b71ffc7f9d Add Equals() method to Window class to support comparison of XPConnect-wrapped nsIDOMWindow and idlc Window. 1999-06-07 07:16:01 +00:00
danm%netscape.com
d4a7918972 removing nsIDOMSelection.h and nsIDOMSelectionListener.h: these have been moved to ../range 1999-06-04 03:50:48 +00:00
akkana%netscape.com
b0031e0a99 Vidur's initial implementation of Insert HTML Fragment 1999-06-03 22:38:38 +00:00
alecf%netscape.com
a221e30fdf export DOM XPIDL stubs on windows 1999-06-03 22:16:57 +00:00
warren%netscape.com
c777f81791 Left over from mozilla/base/src. 1999-06-03 21:50:54 +00:00
ducarroz%netscape.com
31cd360b8c First Checked In. 1999-06-03 20:57:17 +00:00
waterson%netscape.com
d6f990755a Remove dependency from clobber rule. 1999-06-03 20:48:13 +00:00
waterson%netscape.com
4287b83347 Single public include directory on Win32. 1999-06-03 18:34:27 +00:00
alecf%netscape.com
ffdede6d64 add DOM XPIDL stubs so that we can pass these DOM objects through XPConnect
(the stubs are needed to associate interface names with IIDs)
1999-06-03 04:36:19 +00:00
jband%netscape.com
56cfb667a4 notify xpconnect before destroying a JSContext 1999-06-01 02:43:41 +00:00
hyatt%netscape.com
cfd6d1f384 Adding the focus tracker to the XUL document. 1999-05-28 20:24:58 +00:00
hyatt%netscape.com
7ae81ff69f Temporary hack to avoid crashing. 1999-05-28 04:39:59 +00:00
sfraser%netscape.com
260b72a64d Fix hyatt's checking with a null test, so that you don't crash when closing windows. 1999-05-28 02:57:20 +00:00
mang%subcarrier.org
872ca0acf2 documented existence of -g flag 1999-05-28 01:25:31 +00:00
vidur%netscape.com
f6bc249d9d Added noscript qualifier to HTMLDocument::Open, Write and Writeln and moved the JS-specific versions over to NSHTMLDocument. 1999-05-28 00:18:48 +00:00
vidur%netscape.com
20cf0c3a50 Added support for noscript qualifier to attributes and methods. When this qualifier is used, the corresponding attribute or method is not reflected in the glue. 1999-05-28 00:17:38 +00:00
sfraser%netscape.com
e765c0b709 Add GetIID() methods. 1999-05-27 21:47:38 +00:00
sfraser%netscape.com
884ac5319b Add GetIID() method. 1999-05-27 21:16:03 +00:00
hyatt%netscape.com
73c0eaeb2e Teaching windows to check their enclosing chrome documents for capture
(and bubbling).
1999-05-27 21:06:51 +00:00
sspitzer%netscape.com
3316a6441b don't compare url (and prefs) to nsnull. check that !url (and !prefs) is true 1999-05-26 21:43:42 +00:00
joki%netscape.com
0faca774dd Beginnings of JavaScript security bits. 1999-05-26 21:43:28 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
beard%netscape.com
924eb4c58d bug #5352: navigator.javaEnabled() now looks at "security.enable_java" preference. a=chofmann, r=matt 1999-05-24 16:41:55 +00:00
dp%netscape.com
83356e617d Revering previous checkin. It should have happned on the XPCOM20_BRANCH 1999-05-19 05:58:54 +00:00
dp%netscape.com
64fad3d480 Removing gmbase 1999-05-19 05:54:34 +00:00
danm%netscape.com
fbda7ea0d9 adding partial (for DOM elements) chromemask support to apprunner 1999-05-19 04:11:54 +00:00
joki%netscape.com
2ab82ba91a added files: mozilla/dom/src/events/nsJSUIEvent.cpp 1999-05-18 23:51:30 +00:00
joki%netscape.com
71e96012a3 Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent. 1999-05-18 23:51:04 +00:00
joki%netscape.com
95924ddc48 Breaking nsIDOMEvent interface into nsIDOMEvent and nsIDOMUIEvent to be up to spec with DOM Lvl2 1999-05-18 23:41:49 +00:00
danm%netscape.com
74e0d43359 removing debugging cruft accidentally left in 1999-05-18 21:41:41 +00:00
hyatt%netscape.com
05c0e4129e Seems pretty basic to me. Not sure what the heck this function was trying
to be before.
1999-05-18 10:27:31 +00:00
hyatt%netscape.com
f784eff961 GetIID. ARGH! 1999-05-18 08:37:54 +00:00
danm%netscape.com
2b4484ce26 renaming mFirstLoadKludge. Vidur says it's not a kludge, so it gets an upgraded name. 1999-05-17 21:39:35 +00:00
vidur%netscape.com
a171b103b6 added files: mozilla/dom/src/html/nsJSHTMLLayerElement.cpp 1999-05-17 21:15:58 +00:00
vidur%netscape.com
63ba4f6bd4 Added layers interface. 1999-05-17 21:15:06 +00:00
danm%netscape.com
820718a1ac more window.openDialog: moved creation of JS context earlier, stopped its destruction on first doc load 1999-05-17 18:52:21 +00:00
hyatt%netscape.com
394ff5e3e1 Added an arg to createPopup, so I could tell what the originating window was. 1999-05-16 07:46:34 +00:00
hyatt%netscape.com
e0323b8d8a Added support for document.popup, so that event handlers in popup content
can refer to the popup's originating element.
1999-05-15 08:46:14 +00:00
hyatt%netscape.com
4cfc030dfc Linking up global window to call webshell container's createPopup. 1999-05-15 00:48:39 +00:00
hyatt%netscape.com
76e89d2a22 Added another createPopup method to handle anchoring. 1999-05-14 21:16:51 +00:00
beard%netscape.com
bd2feb503c added nsGetNativeThis(), which searches the prototype chain for the first object that is tagged as having an nsISupports in its private field. 1999-05-14 20:27:00 +00:00
hyatt%netscape.com
c20770ab30 Added a createPopup method to the window object. 1999-05-14 18:54:25 +00:00
hyatt%netscape.com
96c16fc673 Adding a GetIID method so I can actually use an nsCOMPtr with this
interface.
1999-05-14 05:35:56 +00:00
danm%netscape.com
811c474467 added window.openDialog. a:brendan 1999-05-14 03:10:51 +00:00
joki%netscape.com
4ed8f7a8eb New JSClass flag for indicating DOM elements to COMConnect 1999-05-13 01:20:50 +00:00
vidur%netscape.com
a2fea3cbd3 Fix for bug 4435. Creating the right type of script object for blockquote. 1999-05-12 23:22:36 +00:00
hyatt%netscape.com
1b41f77bb5 Teaching window.open how to open chrome. 1999-05-12 23:17:40 +00:00