Commit Graph

180 Commits

Author SHA1 Message Date
saari%netscape.com
3e1dc6727f Fix PDT+ 28467, windows jumping z-order to front on load. r=hyatt a=jar
git-svn-id: svn://10.0.0.236/trunk@61711 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 00:58:12 +00:00
mjudge%netscape.com
c657f5e264 r=jfrancis, a=jar Part of checkin including layout/base/src/nsRangeList.cpp to fix caret issues
git-svn-id: svn://10.0.0.236/trunk@61650 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 04:29:28 +00:00
pollmann%netscape.com
a3b50445fa Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
git-svn-id: svn://10.0.0.236/trunk@61543 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 00:08:00 +00:00
pollmann%netscape.com
3a06ba4766 Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
git-svn-id: svn://10.0.0.236/trunk@61524 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:38:00 +00:00
vidur%netscape.com
bbd2782803 Fix for bug 27775. Introduced idl keyword 'replaceable' and marked some of the newer window properties with it. Fixes pages like www.oracle.com that have define window-scoped variables with the same name. r=rginda, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@61441 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 22:08:36 +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
joki%netscape.com
dcc35666e8 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann
git-svn-id: svn://10.0.0.236/trunk@61096 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:59:07 +00:00
vidur%netscape.com
a47da2699c Fix for bug 9844. Added offsetTop/Left/Width/Height/Parent to nsIDOMHTMLElement. It should go on a new interface - to avoid the cost of new interface (a new vtable pointer per content instance), it's temporarily on the standard interface.r=pollmann
git-svn-id: svn://10.0.0.236/trunk@61026 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 02:25:27 +00:00
hyatt%netscape.com
50e68e7dc5 Fix for bug #20764.
git-svn-id: svn://10.0.0.236/trunk@60594 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 10:08:52 +00:00
hyatt%netscape.com
d5a072fbac Fix for bug #25675. More focus memory framework being checked in for the
command dispatcher as well.


git-svn-id: svn://10.0.0.236/trunk@60359 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:59:32 +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
mjudge%netscape.com
bbbd081d63 adding remove range for table selection and for completeness. 26460 r=cmanske
git-svn-id: svn://10.0.0.236/trunk@60315 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 09:17:02 +00:00
mjudge%netscape.com
44c8697114 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
joki%netscape.com
bcf5da502c Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@60037 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:05:57 +00:00
vidur%netscape.com
d55b639f5b Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@59576 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:25:53 +00:00
hyatt%netscape.com
d7d3d3496c Getting rid of createPopup on the DOM window.
git-svn-id: svn://10.0.0.236/trunk@59004 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:02:04 +00:00
hyatt%netscape.com
d58696d355 Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
git-svn-id: svn://10.0.0.236/trunk@58568 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 06:35:27 +00:00
vidur%netscape.com
4755c2cf84 Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58156 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:35:47 +00:00
vidur%netscape.com
99dee8a876 Fix for bug 22594. Implemented window.escape() and unescape(). R=ftang
git-svn-id: svn://10.0.0.236/trunk@57891 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:26:10 +00:00
tao%netscape.com
ecd98e520f bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur.
git-svn-id: svn://10.0.0.236/trunk@57887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:01:05 +00:00
pollmann%netscape.com
4683451aa5 Bug 14419 (2 of 4): Make option text read/write (idl) r=harishd
git-svn-id: svn://10.0.0.236/trunk@57876 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:45:02 +00:00
alecf%netscape.com
abb8b4f61a expose the form controls in a XUL document in the "controls" DOM attribute
this will make prefs and wizards much faster
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@57613 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 02:59:08 +00:00
hyatt%netscape.com
2c9879296b adding behavior property to CSS. r=brendan
git-svn-id: svn://10.0.0.236/trunk@57347 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 03:40:41 +00:00
vidur%netscape.com
c28ff08497 Fix for bug 23074. Implemented image.complete. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57036 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:41:14 +00:00
alecf%netscape.com
3ac59169d3 add new method to ensure that tree content is visible: go through all the presentation shells, and call EnsureRowIsVisible for each tree.
also expose a method to get the visible row for a tree - I needed it anyway, figured I might as well expose it from JS.
other half of fix for #12895
r=bryner


git-svn-id: svn://10.0.0.236/trunk@56942 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 07:54:43 +00:00
vidur%netscape.com
7c01ae18c1 Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann
git-svn-id: svn://10.0.0.236/trunk@56919 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:15:55 +00:00
vidur%netscape.com
c5ff7d0ca4 Fix for bug 16787. Added navigator.cookieEnabled. Removed warnings. a=don r=waqar
git-svn-id: svn://10.0.0.236/trunk@56440 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:42:06 +00:00
vidur%netscape.com
e8816c32e3 Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann
git-svn-id: svn://10.0.0.236/trunk@56330 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:48:47 +00:00
jband%netscape.com
191411b358 Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
syd%netscape.com
a9c6930f9b 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.


git-svn-id: svn://10.0.0.236/trunk@56140 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 06:11:45 +00:00
syd%netscape.com
efe16b543a Window.idl was not being built if you did this on Linux (Makefile.in
rot). r=vidur, a=brendan (related to but does not fix PDT+ 18518).


git-svn-id: svn://10.0.0.236/trunk@56000 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:48:08 +00:00
vidur%netscape.com
07427518d4 Fix for bug 9787. Implemented a stub version of document.clear. Fix necessary for getting in 20737. a=chofmann r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55998 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:32:26 +00:00
hyatt%netscape.com
aba17d157e Massive rewrite of the key binding system and the command dispatcher. Key
bindings are now fully hierarchical.  In addition, DOM windows, input fields
and textareas can pull their key bindings from a separate XUL file.  This
allows configurable key bindings.

Massive rewrite of the command dispatcher system.  The command dispatcher now
deals with DOM windows in addition to DOM elements.  It now tracks both
successfully and works in conjunction with the new focus/blur architecture.

r=saari


git-svn-id: svn://10.0.0.236/trunk@55718 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:56:56 +00:00
vidur%netscape.com
0389d17f64 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55706 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:52:01 +00:00
buster%netscape.com
a5b61285a7 bug 2253. added controller to html text input
r = kmcclusk, norris


git-svn-id: svn://10.0.0.236/trunk@54909 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 15:11:33 +00:00
vidur%netscape.com
97136e7647 Added window.scroll(). Reverted back to NPL 1.1. R=joki
git-svn-id: svn://10.0.0.236/trunk@54452 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 23:58:43 +00:00
buster%netscape.com
0914a1cddd DOM extension for exposing text areas to XUL
bug 12022, r=rickg


git-svn-id: svn://10.0.0.236/trunk@53971 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:18:25 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
joki%netscape.com
e151377558 Reverting key set to previous version. Fixes 17887. a:chofmann r:brade.
git-svn-id: svn://10.0.0.236/trunk@52728 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 20:40:35 +00:00
joki%netscape.com
c79e9c67d2 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
git-svn-id: svn://10.0.0.236/trunk@52691 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:11:45 +00:00
vidur%netscape.com
1173466bfc 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.
git-svn-id: svn://10.0.0.236/trunk@52080 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 14:12:56 +00:00
hyatt%netscape.com
9259952dca Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++)
git-svn-id: svn://10.0.0.236/trunk@50672 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 10:58:25 +00:00
vidur%netscape.com
d46c14654b Added window.scrollBy/scrollTo/scrollX/scrollY. Scopus bug 361046. R=troy
git-svn-id: svn://10.0.0.236/trunk@50038 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 22:07:42 +00:00
vidur%netscape.com
f614c92aba Added document.width/document.height to nsIDOMNSDocument. Bug 961. R: troy
git-svn-id: svn://10.0.0.236/trunk@50007 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 20:33:58 +00:00
norris%netscape.com
c3494a9ffb Fix the following bugs:
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.


git-svn-id: svn://10.0.0.236/trunk@49647 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 03:41:37 +00:00
law%netscape.com
95488ac240 Fixes for context menus; a=hyatt (I just pressed the keys he told me to :-)
git-svn-id: svn://10.0.0.236/trunk@48820 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 06:27:28 +00:00
joki%netscape.com
1042dd0a3f Adding support for event.clickCount, obsoleting old dblclick event.
git-svn-id: svn://10.0.0.236/trunk@48743 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 02:29:33 +00:00
joki%netscape.com
62ad116aae Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_*
git-svn-id: svn://10.0.0.236/trunk@48572 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:18:52 +00:00
vidur%netscape.com
17f4dc0814 Corrected signature of History::Go()
git-svn-id: svn://10.0.0.236/trunk@48496 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 05:11:55 +00:00
cmanske%netscape.com
20157bae56 Adding CollapseToStart and CollapseToEnd methods to selection
git-svn-id: svn://10.0.0.236/trunk@48470 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:27:59 +00:00