Граф коммитов

172 Коммитов

Автор SHA1 Сообщение Дата
jst%mozilla.jstenback.com b3f4390257 Fixinb build warning. sr=bryner@brianryner.com 2004-05-04 01:36:49 +00:00
bryner%brianryner.com 7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
danm-moz%comcast.net bde0b60e2a add methods to track whether window was opened as a popup. bug 197919 r=bryner,jst 2004-02-03 02:22:02 +00:00
bryner%brianryner.com e85dd2b8a9 Fix focus not being restored correctly after unminimizing a window on Win32 (bug 212556). r=ere@atp.fi, sr=jst@netscape.com, a=asa. 2003-08-12 06:43:48 +00:00
bryner%netscape.com ea46c1aca6 Remove #include "nsIScriptContext.h" from nsPIDOMWindow.h, because this (among other things) creates a dependency on js headers, which is breaking Camino. Bug 210704, r+sr=jst. 2003-06-26 00:41:23 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
mstoltz%netscape.com 4ccdb6f4c5 Bug 159424 - Don't clear scope of global object when loading the first document in a window, if the document has the same origin as the calling script. r=heikki, sr=jst, a=asa 2003-05-05 20:55:37 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
bryner%netscape.com 7dafb891cc Removing unused NS_DOM/_IMPL_NS_DOM and NS_INTL/_IMPL_NS_INTL defines (bugs 160248 and 160253). Patch for 160248 by walk84@yahoo.com, r=me&cls; patch for 160253 by me, r=cls. 2002-07-31 20:53:46 +00:00
mjudge%netscape.com 47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
saari%netscape.com b8de96a1d8 win32 only fix for 82534. focus goes wonky after minimizing a window. r=bryner, sr=jag 2002-06-20 04:55:13 +00:00
jst%netscape.com cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
hyatt%netscape.com 6aebadf6da Fix for 136985, add api for finding out if a global window is running a timeout or still loading, r=jst, sr=blake 2002-04-12 02:15:43 +00:00
timeless%mac.com a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com 020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
dbaron%fas.harvard.edu f8dee50514 Make nsIFocusController.h build without nsAString.h included first to prevent future bustage of the same type. b=131899 2002-03-24 00:27:42 +00:00
dbaron%fas.harvard.edu 6cdcd7ef3a Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
danm%netscape.com 56835e0fd7 new method GetExtantDocument. bug 36016 r=hyatt,pinkerton 2002-02-06 03:48:20 +00:00
dbaron%fas.harvard.edu 8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
gerv%gerv.net 1b8510e564 License changes, take 2. Bug 98089. mozilla/dom/. 2001-09-25 22:43:09 +00:00
jst%netscape.com ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
arik%netscape.com 96627cc8b7 moved SizeToContent from nsIDOMWindowInternal to nsIDOMWindow and updated existing code. Fixes bug 69922, r=dr, sr=brendan, a=blizzard. 2001-04-28 02:42:23 +00:00
dr%netscape.com 2e8fbd1253 64313 (Implement cmd_copyLink, cmd_copyImageLocation, cmd_copyImageContents). Implement the commands, hook them up in the navigator and mailnews frontends, provide hooks for embedding. r=hyatt, sr=waterson 2001-04-18 06:06:31 +00:00
hyatt%netscape.com 174428fb65 Fix for my 0.9 focus issues. r=saari, sr=brendan 2001-04-18 01:41:20 +00:00
hyatt%netscape.com 26a2d9444e Adding support for advancing and rewinding the focus using the command dispatcher. r=saari, sr=jst 2001-04-11 03:05:42 +00:00
waterson%netscape.com 660fe70daf Bug 61339. Change idlc to generate NS_DEFINE_STATIC_IID_ACCESSOR() macro instead of 'hand rolled' GetIID(). r=jst, sr=brendan 2000-12-21 00:41:00 +00:00
waterson%netscape.com f6c22a683c Bug 61424. Use NS_NO_VTABLE for all idlc-generated interfaces. r=jst, sr=jband 2000-12-19 21:08:55 +00:00
hyatt%netscape.com d9f3df81f0 Patch for 55595. r=joki, a=brendan 2000-11-27 07:55:20 +00:00
hyatt%netscape.com fae32fdbd7 Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +00:00
hyatt%netscape.com ac2865c3c4 48758. r=ben,saari, a=waterson 2000-09-22 05:02:20 +00:00
mjudge%netscape.com e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
locka%iol.ie 8c8e34e146 Added scrollByLines, scrollByPages methods to DOM window object. b=46858,r=valeski 2000-09-13 13:06:07 +00:00
jst%netscape.com 7919a7f85b Fixing nsbeta3+ bug 45389. Adding support for window.location.assign('xxx');. r=nisheeth@netscape.com 2000-09-08 07:29:54 +00:00
vidur%netscape.com 0e09fe7f98 Adding new file to fix bustage... 2000-09-01 02:18:29 +00:00
vidur%netscape.com e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
vidur%netscape.com a6fa8885ba Fix for bug 43902. The DOM glue now streamlines the Get/SetProperty methods for the window class. Window.location and title and document.title are now part of the idlc interfaces, rather than special-cased. r=jst@netscape.com 2000-08-29 00:14:23 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
jst%netscape.com 30c383feb6 Fixing nsbeta3+ bug 43327. Make window.history act like an array to be compatible with 4.x, and add proper security checks for DOM array access. r=mstoltz@netscape.com 2000-08-17 05:56:44 +00:00
jst%netscape.com 53a23bf142 Backing out changes that should've been checked onto a branch. Sorry about that. 2000-08-11 22:10:35 +00:00
jst%netscape.com 8b61ed0444 DOM API string changes... 2000-08-11 21:41:59 +00:00
dougt%netscape.com f1a427503d Renaming GetPrompt() to GetPrompter in nsIDOMWindow. This avoids a namespace
r=vidur@netscape.com (47889)
2000-08-09 21:12:21 +00:00
saari%netscape.com 77a47fdee1 Beginnings of massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:19:03 +00:00
dougt%netscape.com 2e7c2fd23d Adding GetPrompt() method to nsIDOMWindow.
r=vidur@netscape.com (47889)
2000-08-07 20:55:36 +00:00
mcafee%netscape.com 63958d5e40 Fixing comment within comment warnings, duh. r=pavlov 2000-07-12 02:35:59 +00:00
ericb%neoplanet.com ed3ff3ad8b resizers and titlebars r:hyatt a:hyatt 2000-07-11 23:34:44 +00:00
saari%netscape.com 537596e625 adding GetRootCommandDispatcher to nsPIDOMWindow for utility.
Needed for beta2+ bug 38673. r=hyatt
2000-06-23 00:42:21 +00:00
danm%netscape.com 7491482e25 changing name of window.content to _content. bug 33650. r=hyatt@netscape.com 2000-06-22 00:42:34 +00:00
danm%netscape.com cadb12d58a window.prompt() returns jsval instead of string, allowing it to return null when required. wants to be changed back to a string once the DOM APIs support this same thing. bug 12021. r=jst@netscape.com 2000-06-09 00:14:44 +00:00
joki%netscape.com a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
javi%netscape.com 1d0ef43775 Public headers for getting crypto object into the window object. r=jst@netscape.com 2000-05-11 19:18:44 +00:00
jst%netscape.com 7673c27ca3 DOM Level 2 exception updates. 2000-05-06 13:35:53 +00:00
jst%netscape.com f2c84f284b Checking in DOM JS glue and stub implemetation for getComputedStyle(). 2000-05-03 13:03:17 +00:00
jst%netscape.com 04667519c6 Adding header for the DOM Level 2 interface ViewCSS, not used yet. 2000-05-03 12:30:05 +00:00
jst%netscape.com 2e5aeec95e Hooking up window.getSelection() to return a selection object. 2000-04-28 14:02:29 +00:00
jst%netscape.com af8646bbb5 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
joki%netscape.com bbb0086bfe fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
jst%netscape.com 9fc5b3a994 Regenerating the DOM JS glue now that idlc knows about the new nsString API's, also updated nsGlobalWindow.cpp to use the new API. 2000-04-21 21:36:26 +00:00
pinkerton%netscape.com 4a35c96f6d Adding top and left to screen object. 2000-04-20 01:59:24 +00:00
tbogard%aol.net a154678139 Changed nsPIDOMWindow::GetXPConnectObject to GetObjectProperty and the same change to Set. 2000-03-31 09:26:02 +00:00
tbogard%aol.net 092d752c7a Removed the nsIDOMWindow::GetXPConnectObject, AddXPConnectObject, and RemoveXPConnectObject methods. This feature can be done through properties or through nsPIDOMWindow::GetXPConnectObject. 2000-03-31 06:59:30 +00:00
tbogard%aol.net f382be7ec2 Removed GetDocShell from nsPIDOMWindow as it can be retrieved using nsIScriptGlobalObject. Added SetXPConnectObject and GetXPConnectObject which hooks up or retrieves an xpconnect object to a property on the dom window. Removed some old XXXEMBEDDING comments as they were wrong. The old methods on nsIDOMWindow for adding and getting an object now call through to the property code. Those methods will soon be removed. 2000-03-31 03:33:49 +00:00
tbogard%aol.net 572cbf3733 Provided implementation for GetXPConnectObject, AddXPConnectObject and RemoveXPConnectObject. Changed RemoveXPConnectObject to only take the id since taking the pointer as well was useless. Also fixed an error in nsGlobalWindow.cpp with signed against unsigned of string lengths. 2000-03-24 00:11:48 +00:00
tbogard%aol.net a02a62b0ad Adding new methods to domwindow to be able to set and get at XPConnect Objects based on an ID. This allows attaching an object from JS to the window and then retrieving and calling it from C++. This is just the specification for the interfaces. The implementation is not yet fully there. 2000-03-23 04:23:26 +00:00
valeski%netscape.com d4b0de78fc r=jst. 30067. we now expose OSCPU, vendor and product attributes of the user agent string through the JS navigator object. 2000-03-21 22:39:54 +00:00
rginda%netscape.com 37085fc3fd DOM fixes for bug 20721, r=vidur 2000-02-16 07:13:59 +00:00
hyatt%netscape.com 38b667748a Fix for 20471. Basic focus memory framework being checked in as well. 2000-02-11 00:57:54 +00:00
tbogard%aol.net 840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
hyatt%netscape.com b697933700 Getting rid of createPopup on the DOM window. 2000-01-28 03:02:04 +00:00
saari%netscape.com c2981cef58 fix for 14346, 21854, 24380 and other caret bugs. r= hyatt, brade for the mac menu stuff. 2000-01-26 22:41:43 +00:00
vidur%netscape.com 41d1ed74ad Cleanup - dealing with people modifying the idl generator and not checking in the generated file or vice-versa. r=pollmann. 2000-01-18 23:41:27 +00:00
vidur%netscape.com 61085e3a2a Fix for bug 22594. Implemented window.escape() and unescape(). R=ftang 2000-01-15 02:26:10 +00:00
vidur%netscape.com d37c5c5323 Fix for bug 16787. Added navigator.cookieEnabled. Removed warnings. a=don r=waqar 1999-12-22 22:42:06 +00:00
syd%netscape.com 9ad549aeef Change calls to Flash(void) in nsIWidget, nsWindow to GetAttention().
r=sdagley a=chofmann. Add support for GetAttention API to nsIDOMWindow.
r=vidur, a=chofmann. To do, make call to WebShell from nsIDOMWindow,
this will come once travis lands some webshell code.
1999-12-17 06:11:45 +00:00
akkana%netscape.com 54aa51a733 Fixing build bustage on Linux 1999-12-14 00:55:37 +00:00
davidm%netscape.com 231d707531 #ifdef out code for controller. Checkin to unblock mjudge and other r= mjudge 1999-12-13 23:13:33 +00:00
hyatt%netscape.com 074f2362e4 More skin goodness. r=gimpy 1999-11-30 09:29:43 +00:00
vidur%netscape.com 0d4cde9c06 Added window.scroll(). Reverted back to NPL 1.1. R=joki 1999-11-24 23:58:43 +00:00
norris%netscape.com 24778bda71 Modify generated dom code to use a enum rather than a string for codesize
and efficiency.
Tighten checks on document properties and node properties. Should resolve
several bugs:
18965 document.firstChild vulnerability
19043 document.childNodes vulnerability
19044 document.lastChild vulnerability
r=mstoltz
1999-11-20 07:28:34 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
joki%netscape.com 1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
vidur%netscape.com 8cd8f396d0 Added a version of window.close, which when alled from script that defers actual closure if it is invoked from the script context of the window itself. Fixes bug 15261. R=joki. 1999-10-28 14:12:56 +00:00
hyatt%netscape.com b2a4325241 Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++) 1999-10-14 10:58:25 +00:00
vidur%netscape.com a7de12ea66 Added window.scrollBy/scrollTo/scrollX/scrollY. Scopus bug 361046. R=troy 1999-10-06 22:07:42 +00:00
joki%netscape.com 7304187269 Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_* 1999-09-21 14:18:52 +00:00
vidur%netscape.com e0f91ac778 Corrected signature of History::Go() 1999-09-21 05:48:45 +00:00
briano%netscape.com 1d66d27e7a General cleanup. 1999-09-11 00:59:11 +00:00
vidur%netscape.com cb561f35bc Added JS exceptions to DOM glue. Added implementation for nsIDOMDOMException. Added nsIScriptContextOwner::ReportScriptError. 1999-09-08 23:14:30 +00:00
danm%netscape.com e68f60f671 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
cyeh%netscape.com 34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
vidur%netscape.com e1502c33a7 jsval can now be a parameter or return type. Got rid of unused variable warnings. Fixed secMan leak. Removed nsIDOMHTMLBlockQuote.h 1999-08-27 06:11:39 +00:00
vidur%netscape.com 5104a33513 Relative URLs specified for window.location.href are now resolved relative to the calling location. 1999-08-03 23:16:48 +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
danm%netscape.com b4fcbcd0b1 added 'content' property to JS window 1999-06-26 21:48:29 +00:00
waterson%netscape.com 3309c5b828 Remove Window.Equals() hack. 1999-06-16 02:06:48 +00:00
vidur%netscape.com e43183b897 Added confirm and prompt to window object. 1999-06-11 23:57:25 +00:00
danm%netscape.com d9c9adbd3d add Bar properties to DOMWindow 1999-06-09 19:04:18 +00:00