jst%citec.fi
57a7c3b745
Make context menus work on XML pages ( #15713 ). r=vidur@netscape.com,joki@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@60235 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 13:58:26 +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
f2c41d8947
Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy
...
git-svn-id: svn://10.0.0.236/trunk@60016 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:12:59 +00:00
vidur%netscape.com
09a857de06
Fix for bug 24306. The DocumentViewer now cleans up dangling webshell references in the PresContext. nsGenericElement::TriggerLink deals with a nonexistent handler (it might have been deleted already as part of event processing). r=buster, joki
...
git-svn-id: svn://10.0.0.236/trunk@59566 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:40:22 +00:00
valeski%netscape.com
74da69ea18
r=norris. we now pass url creation failure's into the onclick handers
...
git-svn-id: svn://10.0.0.236/trunk@59556 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:02:59 +00:00
sfraser%netscape.com
f5c799d682
Avoid crashing when mousing over links in teh composer window. r=brade
...
git-svn-id: svn://10.0.0.236/trunk@59318 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:00:17 +00:00
vidur%netscape.com
825e97e024
Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
...
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
warren%netscape.com
94953b11eb
Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
...
git-svn-id: svn://10.0.0.236/trunk@59032 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:55:27 +00:00
norris%netscape.com
e4653042f2
Files:
...
caps/include/nsScriptSecurityManager.h
caps/src/nsScriptSecurityManager.cpp
modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson
Files:
dom/src/base/nsGlobalWindow.cpp
layout/base/src/nsDocument.cpp
layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.
Files:
dom/src/jsurl/nsJSProtocolHandler.cpp
webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth
Files:
layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
git-svn-id: svn://10.0.0.236/trunk@58429 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 04:23:14 +00:00
norris%netscape.com
5c8d9b369d
Fix warning.
...
git-svn-id: svn://10.0.0.236/trunk@57463 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 23:55:18 +00:00
norris%netscape.com
02d0724222
Fix
...
858 [Feature] JavaScript auto-disable per-domain RFE
13023 Users must be able to disable Java and JavaScript (for JS in mail)
21923 Executing functions in "chrome:" protocol - #2 .
r=mstoltz
(Checked in with red on Mac; Wan-Teh says his changes are localized so
it shouldn't interfere with his fixing bustage.)
git-svn-id: svn://10.0.0.236/trunk@57214 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:51:54 +00:00
vidur%netscape.com
a423e0e3c7
Fix for bug 9779. Element::normalize() now combines more than 2 nodes. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@56333 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:54:04 +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
danm%netscape.com
ba5552a03c
check for null context in SetDocument. part of fix for bug 19302. r:hyatt a:chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56014 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 02:15:57 +00:00
tbogard%aol.net
067920c238
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
shaver%netscape.com
fa23ac7310
use explicit |.get()| for Unix compilers, a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@54469 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 01:02:52 +00:00
vidur%netscape.com
29607952c0
Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
...
git-svn-id: svn://10.0.0.236/trunk@54457 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:05:21 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +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
acb57210c3
Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur
...
git-svn-id: svn://10.0.0.236/trunk@52886 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 23:37:40 +00:00
cls%seawood.org
3e1a9ca95a
Removed unused NECKO ifdefs.
...
a=leaf
git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
kipp%netscape.com
333bf3d48a
Added address information to the dump content diagnostic code
...
git-svn-id: svn://10.0.0.236/trunk@52384 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:23:06 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
peterl%netscape.com
bba68903df
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
git-svn-id: svn://10.0.0.236/trunk@50888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:16:45 +00:00
kipp%netscape.com
53b538cfc8
Support SizeOf methods
...
git-svn-id: svn://10.0.0.236/trunk@49891 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:47:46 +00:00
waterson%netscape.com
0db46fd24d
Bug 15511. Make sure container element sets 'parent' backpointer to null before releasing child; prevents dangling references if child is still referenced from elsewhere. r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@49790 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 03:20:57 +00:00
saari%netscape.com
ffd3eb70d8
A better fix for blocker #14464 . Reviewed by Hyatt w. permission from leaf/choffman
...
git-svn-id: svn://10.0.0.236/trunk@48889 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 02:31:37 +00:00
saari%netscape.com
9b2b7e5175
Fix for blocker bug #14464 . Reviewed by Hyatt, checkin permission by leaf.
...
git-svn-id: svn://10.0.0.236/trunk@48886 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 01:55:41 +00:00
kipp%netscape.com
8ebf1dd75a
Squish a warning or two
...
git-svn-id: svn://10.0.0.236/trunk@48002 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:16:37 +00:00
alecf%netscape.com
09083e9ef5
fix scrollbar crash
...
git-svn-id: svn://10.0.0.236/trunk@47923 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 05:15:00 +00:00
kipp%netscape.com
741d1860b8
formatting sillyness
...
git-svn-id: svn://10.0.0.236/trunk@47637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:30:36 +00:00
vidur%netscape.com
bb6ee90548
Reporting better nsresults to DOM methods.
...
git-svn-id: svn://10.0.0.236/trunk@46440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 23:18:27 +00:00
nisheeth%netscape.com
9a418f414b
Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state.
...
git-svn-id: svn://10.0.0.236/trunk@45321 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 10:06:17 +00:00
joki%netscape.com
25eb777ec4
Adding new onselect event. Also slight modification to ender text widget focus behavior
...
git-svn-id: svn://10.0.0.236/trunk@42676 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 23:18:35 +00:00
kin%netscape.com
c89294e709
Fixes for bug #10231 (crash making list after select all)
...
and bug #10815 (Crash deleting selected text and table)
mozilla/editor/base/nsHTMLEditRules.cpp
- Added check, in WillDeleteSelection(), to see if
endpoints of the range are in the body before calling
GetBlockNodeParent(). (Bug #10231 )
- Modified GetPromotedPoint() to check for NULL in the
case where aWhere == kEnd and GetChildAt() returns NULL.
(Bug #10815 )
mozilla/layout/base/src/nsGenericElement.cpp
- Modified RangeAdd() so that it doesn't add
a range if it's already in the list. (Bug #10231 )
mozilla/layout/base/src/nsRangeList.cpp
- Modified GetPrimaryFrameForFocusNode() to
initialize aReturnFrame and to return a failure
if ChildAt() returns NULL. (Bug #10231 )
git-svn-id: svn://10.0.0.236/trunk@42152 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 18:36:19 +00:00
nisheeth%netscape.com
16aa5a29e7
Fix for bug 10028. We handle mixed case mailto urls properly now.
...
git-svn-id: svn://10.0.0.236/trunk@40723 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 22:34:28 +00:00
joki%netscape.com
065c158182
Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods.
...
git-svn-id: svn://10.0.0.236/trunk@40134 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 19:54:34 +00:00
peterl%netscape.com
adaefc3b26
cleanup string usage
...
git-svn-id: svn://10.0.0.236/trunk@39932 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:15:22 +00:00
kipp%netscape.com
5703a15016
Removed a compiler warning
...
git-svn-id: svn://10.0.0.236/trunk@39709 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:40:39 +00:00
warren%netscape.com
85bce23814
Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
...
git-svn-id: svn://10.0.0.236/trunk@38664 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:19:38 +00:00
andreas.otte%primus-online.de
03e69d05c3
NECKO only: replacing GetBuffer with ToNewCString and some error checking
...
git-svn-id: svn://10.0.0.236/trunk@38458 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:08:16 +00:00
radha%netscape.com
ff8c27a18d
Don't use the values returned by NS_MakeAbsURL to pass it to link handler, when
...
a mailto: url is clicked. This is because netlib doesn't understand mailto: urls yet.
This will be fixed the right way after NECKO lands
git-svn-id: svn://10.0.0.236/trunk@38336 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 23:48:06 +00:00
andreas.otte%primus-online.de
722e2bb4b3
NECKO only: fixing MakeAbsolute when loading images, cleanup
...
git-svn-id: svn://10.0.0.236/trunk@38326 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 22:23:38 +00:00
andreas.otte%primus-online.de
ea2f6c0267
NECKO only: fixing MakeAbsolute when using link
...
git-svn-id: svn://10.0.0.236/trunk@38325 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 20:56:29 +00:00
warren%netscape.com
06d707be48
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
...
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
valeski%netscape.com
4fa4e2e84d
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.
...
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
jfrancis%netscape.com
a84649ba07
bug 8287; rvd sfraser; aprvd buster; aprvd chofmann
...
git-svn-id: svn://10.0.0.236/trunk@35735 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:38:51 +00:00
peterl%netscape.com
6d72b15356
added code to ignore unknown namespace prefix for attributes
...
(actually the parser should've rejected it before here)
git-svn-id: svn://10.0.0.236/trunk@34560 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:18:46 +00:00
vidur%netscape.com
d13be20ae5
Bug fix from Citec for clearing out parameter when an attribute doesn't exist
...
git-svn-id: svn://10.0.0.236/trunk@30197 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:51:42 +00:00