Commit Graph

100 Commits

Author SHA1 Message Date
danm%netscape.com
05dc1ac4bb new method GetExtantDocument. bug 36016 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@113748 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:48:20 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
gerv%gerv.net
612ee840db License changes, take 2. Bug 98089. mozilla/dom/.
git-svn-id: svn://10.0.0.236/trunk@103755 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:43:09 +00:00
jst%netscape.com
43eee52859 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.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
arik%netscape.com
bcd9840f81 moved SizeToContent from nsIDOMWindowInternal to nsIDOMWindow and updated existing code. Fixes bug 69922, r=dr, sr=brendan, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@93361 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 02:42:23 +00:00
dr%netscape.com
58190bba57 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
git-svn-id: svn://10.0.0.236/trunk@92667 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 06:06:31 +00:00
hyatt%netscape.com
08d078d3c5 Fix for my 0.9 focus issues. r=saari, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@92626 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 01:41:20 +00:00
hyatt%netscape.com
cb6f2a2121 Adding support for advancing and rewinding the focus using the command dispatcher. r=saari, sr=jst
git-svn-id: svn://10.0.0.236/trunk@91934 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 03:05:42 +00:00
waterson%netscape.com
ddfc4562a7 Bug 61339. Change idlc to generate NS_DEFINE_STATIC_IID_ACCESSOR() macro instead of 'hand rolled' GetIID(). r=jst, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@83924 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 00:41:00 +00:00
waterson%netscape.com
ca188f5e4b Bug 61424. Use NS_NO_VTABLE for all idlc-generated interfaces. r=jst, sr=jband
git-svn-id: svn://10.0.0.236/trunk@83861 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:08:55 +00:00
hyatt%netscape.com
132d0db472 Patch for 55595. r=joki, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82895 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 07:55:20 +00:00
hyatt%netscape.com
61b754fcae Fix for 54203. r=saari, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82310 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 08:21:20 +00:00
hyatt%netscape.com
0e0805138e 48758. r=ben,saari, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79836 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:02:20 +00:00
mjudge%netscape.com
2fc6190bef 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
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
locka%iol.ie
54d214147e Added scrollByLines, scrollByPages methods to DOM window object. b=46858,r=valeski
git-svn-id: svn://10.0.0.236/trunk@79017 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 13:06:07 +00:00
jst%netscape.com
ee563d6288 Fixing nsbeta3+ bug 45389. Adding support for window.location.assign('xxx');. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78503 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 07:29:54 +00:00
vidur%netscape.com
b08f2fe835 Adding new file to fix bustage...
git-svn-id: svn://10.0.0.236/trunk@77831 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 02:18:29 +00:00
vidur%netscape.com
b10d4adc57 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
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
vidur%netscape.com
cabe6c06b8 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
git-svn-id: svn://10.0.0.236/trunk@77423 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:14:23 +00:00
jst%netscape.com
7e0575bfee 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
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
jst%netscape.com
9baadc5225 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
git-svn-id: svn://10.0.0.236/trunk@76541 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 05:56:44 +00:00
jst%netscape.com
c69109493c Backing out changes that should've been checked onto a branch. Sorry about that.
git-svn-id: svn://10.0.0.236/trunk@76159 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 22:10:35 +00:00
jst%netscape.com
82c4f10195 DOM API string changes...
git-svn-id: svn://10.0.0.236/trunk@76150 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:41:59 +00:00
dougt%netscape.com
33a8ac965d Renaming GetPrompt() to GetPrompter in nsIDOMWindow. This avoids a namespace
r=vidur@netscape.com (47889)


git-svn-id: svn://10.0.0.236/trunk@75904 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 21:12:21 +00:00
saari%netscape.com
847a699deb 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


git-svn-id: svn://10.0.0.236/trunk@75803 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:19:03 +00:00
dougt%netscape.com
5a21fded10 Adding GetPrompt() method to nsIDOMWindow.
r=vidur@netscape.com (47889)


git-svn-id: svn://10.0.0.236/trunk@75723 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:55:36 +00:00
mcafee%netscape.com
cabdf873fd Fixing comment within comment warnings, duh. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@74076 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:35:59 +00:00
ericb%neoplanet.com
ecef542f84 resizers and titlebars r:hyatt a:hyatt
git-svn-id: svn://10.0.0.236/trunk@74047 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:34:44 +00:00
saari%netscape.com
0bf1559e41 adding GetRootCommandDispatcher to nsPIDOMWindow for utility.
Needed for beta2+ bug 38673. r=hyatt


git-svn-id: svn://10.0.0.236/trunk@73004 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:42:21 +00:00
danm%netscape.com
0d626426f0 changing name of window.content to _content. bug 33650. r=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72855 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:42:34 +00:00
danm%netscape.com
74c728c82a 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
git-svn-id: svn://10.0.0.236/trunk@71833 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:14:44 +00:00
joki%netscape.com
ec91adc761 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
javi%netscape.com
81b3e073e7 Public headers for getting crypto object into the window object. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69231 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:18:44 +00:00
jst%netscape.com
8623a07062 DOM Level 2 exception updates.
git-svn-id: svn://10.0.0.236/trunk@68536 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 13:35:53 +00:00
jst%netscape.com
df6e86a955 Checking in DOM JS glue and stub implemetation for getComputedStyle().
git-svn-id: svn://10.0.0.236/trunk@68073 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 13:03:17 +00:00
jst%netscape.com
9e95d487bb Adding header for the DOM Level 2 interface ViewCSS, not used yet.
git-svn-id: svn://10.0.0.236/trunk@68072 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 12:30:05 +00:00
jst%netscape.com
a51e761fc4 Hooking up window.getSelection() to return a selection object.
git-svn-id: svn://10.0.0.236/trunk@67528 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:02:29 +00:00
jst%netscape.com
e7caf2b7ff Landing DOM Level 2 CSS and Views interfaces and implementation.
git-svn-id: svn://10.0.0.236/trunk@67227 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 13:58:56 +00:00
joki%netscape.com
8aabc79a05 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.


git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
jst%netscape.com
be8e9d04c6 Regenerating the DOM JS glue now that idlc knows about the new nsString API's, also updated nsGlobalWindow.cpp to use the new API.
git-svn-id: svn://10.0.0.236/trunk@66752 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:36:26 +00:00
pinkerton%netscape.com
e6b0f66500 Adding top and left to screen object.
git-svn-id: svn://10.0.0.236/trunk@66497 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:59:24 +00:00
tbogard%aol.net
8f256d3ee5 Changed nsPIDOMWindow::GetXPConnectObject to GetObjectProperty and the same change to Set.
git-svn-id: svn://10.0.0.236/trunk@64739 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:26:02 +00:00
tbogard%aol.net
25d2d618a0 Removed the nsIDOMWindow::GetXPConnectObject, AddXPConnectObject, and RemoveXPConnectObject methods. This feature can be done through properties or through nsPIDOMWindow::GetXPConnectObject.
git-svn-id: svn://10.0.0.236/trunk@64706 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 06:59:30 +00:00
tbogard%aol.net
e6a3bc342c 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.
git-svn-id: svn://10.0.0.236/trunk@64681 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 03:33:49 +00:00
tbogard%aol.net
7286e61a81 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.
git-svn-id: svn://10.0.0.236/trunk@63942 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:11:48 +00:00
tbogard%aol.net
bf74c53128 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.
git-svn-id: svn://10.0.0.236/trunk@63824 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:23:26 +00:00
valeski%netscape.com
36b71dc717 r=jst. 30067. we now expose OSCPU, vendor and product attributes of the user agent string through the JS navigator object.
git-svn-id: svn://10.0.0.236/trunk@63633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:39:54 +00:00
rginda%netscape.com
4631d4dfb4 DOM fixes for bug 20721, r=vidur
git-svn-id: svn://10.0.0.236/trunk@61099 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:13:59 +00:00
hyatt%netscape.com
e636e32edb Fix for 20471. Basic focus memory framework being checked in as well.
git-svn-id: svn://10.0.0.236/trunk@60357 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:57:54 +00:00
tbogard%aol.net
c416db8338 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
git-svn-id: svn://10.0.0.236/trunk@60129 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 13:40:10 +00:00