Commit Graph

632 Commits

Author SHA1 Message Date
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
mccabe%netscape.com
e880402830 Support for magically detecting whether an argument to an XPConnect'ed function is a dom node with a native nsISupports, and unwrapping it properly.
This'll go live as soon as I can persuade joki or vidur to rebuild the DOM stubs.
1999-05-12 02:05:48 +00:00
vidur%netscape.com
417f6825aa Added IsValidFragment to nsIDOMNSRange interface and CreateRange to nsIDOMNSDocument. 1999-05-11 20:20:40 +00:00
beard%netscape.com
27ea6630c3 fixed breakage on platforms not defining OJI (linux?) 1999-05-08 17:24:43 +00:00
beard%netscape.com
420b774709 implemented NavigatorImpl::JavaEnabled() 1999-05-08 16:37:53 +00:00
law%netscape.com
f07d111666 Tweaking initializer code so it still works with appcores 1999-05-07 19:37:21 +00:00
hyatt%netscape.com
506f0d810d Changes to support AppRunner's window.open 1999-05-04 23:27:57 +00:00
vidur%netscape.com
5a0ff8598d Added use of the nsIJSNativeInitializer interface in constructors. Work in progress for unknown keyword. 1999-05-04 20:48:50 +00:00
vidur%netscape.com
18d2335318 Added Option constructor and nsIJSNativeIntializer.h interface. DOM glue code now uses the nsIJSNativeIntializer interface to initialize newly constructed instances. 1999-05-04 20:48:16 +00:00
vidur%netscape.com
84919aed9a Added Option constructor and resultant nsIDOMOption interface 1999-05-04 20:47:00 +00:00
waterson%netscape.com
0e6d8ebdba Bug 5679. Fix leak from XPConnect glue. 1999-05-04 03:32:12 +00:00
tague%netscape.com
83e78f89e5 Fixed bug #5527 (Editor is not able to accumulate successive Japanese input) 1999-05-03 22:57:48 +00:00
sspitzer%netscape.com
ce5400e2b7 fix for bug #3812
home button now goes to where ever the "browser.startup.homepage" pref is set.
(if it isn't set, we go to http://www.mozilla.org)
throbber goes to http://www.mozilla.org.  this value is set in navigator.xul.
previously, the throbber was hard wired to do what home did.
r=alecf
a=cyeh
1999-04-28 20:33:43 +00:00
vidur%netscape.com
9a86a33fe8 Added nsIDOMNSRange method with InsertFragment method. 1999-04-27 22:15:32 +00:00
waterson%netscape.com
a37bdc108b Fixed a problems with XPIDL parameters and return values ('out' params are stills broken). Got rid of the XPIDL_JS_STUBS defines, as they are obsolete. 1999-04-27 06:14:08 +00:00
waterson%netscape.com
b6bd7f337e Land RDF_19990426_BRANCH, which extracted some static C++ routines for manipulating RDF containers into bona fide interfaces. 1999-04-27 05:54:18 +00:00
waterson%netscape.com
8d826b09e0 Added nsJSUtils::nsConvertJSValtoXPCObject to handle 'in xpidl' parameters. 1999-04-27 04:17:17 +00:00
waterson%netscape.com
4dac3b7dc6 The Great Cursor Excorcism. Removed cursors in favor of enumerators. Misc updates to purge the xpidl stubs stuff in preparation for XPConnect. Details on RDF_19990422_BRANCH. 1999-04-24 02:41:02 +00:00
waterson%netscape.com
e00ff30ebf Modified JSStubGen to spit out correct code from XPConnect. 1999-04-24 02:38:05 +00:00
waterson%netscape.com
8b683492b5 Added XPConnect hooks. 1999-04-24 02:37:41 +00:00
kipp%netscape.com
086ef5283e Work around crash bug; eliminate bad argument to a JS method 1999-04-23 19:52:04 +00:00
hyatt%netscape.com
7f8fb78632 window.open lives. 1999-04-20 22:35:11 +00:00
amusil%netscape.com
595e5e9462 Win32 compiler doesn't like var dec inside for loop dec 1999-04-20 20:32:06 +00:00
beard%netscape.com
cb697ded62 implementing GetMimeTypes(), GetPlugins() in terms of MimeTypeArrayImpl, PluginArrayImpl. 1999-04-20 19:41:17 +00:00
beard%netscape.com
0defe02269 added nsPluginArray.cpp, nsMimeTypeArray.cpp. 1999-04-20 19:38:54 +00:00
beard%netscape.com
b546b154cf First Checked In. 1999-04-20 19:18:51 +00:00
hyatt%netscape.com
c685c48002 Altering the window.open call so that it can supply info for a webshell
to be created asynchronously.
1999-04-19 21:08:12 +00:00
hyatt%netscape.com
2e18d944e3 Changing the browser window retriever method so that it can cross the chrome/content boundary. 1999-04-16 18:39:18 +00:00
waterson%netscape.com
d8d4c56bd4 Bug 5182. Use whitespace instead of ## in NS_FORWARD macros. 1999-04-16 18:08:43 +00:00
waterson%netscape.com
5358fd04f6 Bug 5182. Use whitespace instead of ## in NS_FORWARD macros. a=vidur. 1999-04-16 18:08:20 +00:00
waterson%netscape.com
816c6b6d99 Removed extra newline in makefile. 1999-04-16 17:37:16 +00:00
sfraser%netscape.com
75b7070b1d Fix weird linkage stuff with stubs for the missing symbols. 1999-04-16 01:26:36 +00:00