Commit Graph

2798 Commits

Author SHA1 Message Date
brendan%mozilla.org
63f8bf1ffe Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com). 1999-11-29 20:44:36 +00:00
hyatt%netscape.com
9d73ef65cc More skin work. r=pavlov 1999-11-29 06:51:24 +00:00
tbogard%aol.net
85b5334721 nsXULDocument now uses the nsIBaseWindow interface for windowing stuff on webshell instead of nsIWebShell. This paves the way for the new docshell object to move in. 1999-11-29 06:04:15 +00:00
brendan%mozilla.org
62ebb4b490 Whitespace/comment police. 1999-11-28 10:32:13 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net
305e287b28 nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. 1999-11-27 03:11:10 +00:00
shaver%netscape.com
89607b7de2 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
norris%netscape.com
51842ef45e Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.

I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.

Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.

r=joki

There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.

r=jband
1999-11-25 05:28:18 +00:00
kvisco%ziplink.net
bc747e5bab Added preliminary DocumentHandler.h
Added changes from Bob Miller (kbob@oblix.com) which fix some
memory leaks.
1999-11-25 03:03:07 +00:00
shaver%netscape.com
fdc109612c use explicit |.get()| for Unix compilers, a=leaf 1999-11-25 01:02:52 +00:00
vidur%netscape.com
2f89fad454 Changed signature of AddScriptEventListener. Event handlers that are attributes of XUL elements are now compiled only when first invoked. R=joki 1999-11-25 00:06:10 +00:00
vidur%netscape.com
dd88339f19 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 1999-11-25 00:05:21 +00:00
waterson%netscape.com
dd7c188516 More random flailing to fix gcc-2.7.2.3 1999-11-24 23:39:34 +00:00
waterson%netscape.com
1260e2100c Random flailing to fix gcc-2.7.2.3 bustage. 1999-11-24 23:19:52 +00:00
waterson%netscape.com
1eb45f5c91 Expose nsIXULDocument and nsIXULPrototypeDocument as public interfaces. Properly implement nsIXULDocument::CreateFromPrototype(). 1999-11-24 22:46:09 +00:00
waterson%netscape.com
42f49b9da2 Add methods to individually flush prototypes and style sheets. 1999-11-24 22:44:52 +00:00
waterson%netscape.com
47352eeda1 Bug 20036. Fix style sheet ordering. 1999-11-24 22:43:45 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
waqar%netscape.com
91eea99324 # 15904, 19582
r vidur@netscape.com
d Fixes the problem with memory leak in AppendData node when manipulating
  comment nodes.
1999-11-23 23:13:03 +00:00
dcone%netscape.com
fb46865127 Initialize the mEnableRendering in other constructor... so print preview will show document. r=rods 1999-11-23 21:45:36 +00:00
tbogard%aol.net
9de401c5e3 Enabled nsHTMLFrameElement and nsHTMLIFrameElement to implement the nsIChromeEventHandler interface. r=hyatt 1999-11-23 09:42:49 +00:00
tbogard%aol.net
214c6f7a18 Enabled nsXULElement to implement the nsIChromeEventHandler interface. r=hyatt 1999-11-23 09:36:39 +00:00
warren%netscape.com
6d07de8143 Minor cleanup. 1999-11-23 07:05:53 +00:00
rjc%netscape.com
7b8ef00a40 One less loop (figured out what was preventing this). 1999-11-23 05:37:33 +00:00
rjc%netscape.com
08110eb10f Get rid of a warning. 1999-11-23 04:47:38 +00:00
rjc%netscape.com
2cba0e8647 Get rid of another signed/unsigned warning. 1999-11-23 04:44:52 +00:00
rjc%netscape.com
8c4f250de4 Get rid of a signed/unsigned warning. 1999-11-23 04:43:01 +00:00
rjc%netscape.com
f2baa21b51 Speed up sorting by reducing the # of times we loop over the list of nodes. Now, we loop over once to build up a flat array of nodes [qsort needs a flat array] and remove them from the content model, then we sort, then we loop again to re-add the now-sorted nodes, and finally we loop to check if any of the nodes is a container with children such that we need to recursively sort on it. [Note: I tried to combine the final two loops but the tree widget didn't like that. Oh well... its still a lot better than before.] 1999-11-23 04:39:29 +00:00
rjc%netscape.com
4fceaba909 When sorting, only set found="true" attribute if not a natural order sort. 1999-11-23 02:27:03 +00:00
rjc%netscape.com
895bfe63f8 Set some sorting hints on the root of the tree (allows for faster insertion sort, due to not having to look around for treecol tags; also makes it pretty easy for drag&drop code to determine if a sort is currently being imposed.) 1999-11-23 01:51:46 +00:00
waterson%netscape.com
eb971c4df2 Bug 19421. Brendan's fixes for brutal sharing of script, plus a 'placeholder channel' that ensures we don't fire the EndDocumentLoad() before the prototype walk completes. r=brendan 1999-11-23 01:44:51 +00:00
pierre%netscape.com
5d2edcd002 8862 "listStyleImage not directly updated". Changing the className causes recreation of frames for the element. Suggested although not formally reviewed by vidur. 1999-11-23 01:08:44 +00:00
pierre%netscape.com
096c23050e 12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge. 1999-11-23 01:07:56 +00:00
pierre%netscape.com
cf8d1c8fe2 12737: removed the 'moz-fixed' NavQuirk 1999-11-23 01:07:26 +00:00
rjc%netscape.com
12d6f261c0 Better handling of natural order calculation on RDF sequences; add support for sorting in-between separators. 1999-11-23 01:02:55 +00:00
sfraser%netscape.com
2b2403eb47 Include stdio.h using system paths, not user paths. r=syd,akk, shaver. no bug (so bite me) 1999-11-22 23:46:30 +00:00
joki%netscape.com
e51265f992 Fix for 17683, add key events for alt+numpad character generation. r:vidur 1999-11-22 19:45:13 +00:00
rickg%netscape.com
e5c3b91656 landing update for harishd r=rickg 1999-11-22 06:16:25 +00:00
bryner%uiuc.edu
8c66e61d94 These changes will enable scrolling with the mouse wheel (currently only
for unix).  r=saari.
1999-11-21 01:46:41 +00:00
rjc%netscape.com
dc4a206fff Better handling of natural order calculate on RDF sequences. Makes drag&drop work fairly well in natural order. 1999-11-20 08:46:22 +00:00
waterson%netscape.com
f4acc98b16 Bug 12734. Make check for duplicate insertions debug-only. Thanks to zee@northrock.bm 1999-11-20 07:13:25 +00:00
sfraser%netscape.com
5065e2a283 Workaround for bug 19421 -- no menus on mac. This is a problem with brutal sharing of overlays that waterson needs to fix. For now, turn off brutal sharing of scripts. r=brendan, saari. 1999-11-20 06:42:24 +00:00
brendan%mozilla.org
e291840c27 Followup to my last checkin: get list-unlink vs. ResumeWalk order right (r=waterson@netscape.com) 1999-11-20 03:10:42 +00:00
buster%netscape.com
86541b4c40 fixed bug 19381. previously, I had added 2 interfaces onto this class, but I
forgot to add those classes in the QueryInterface method.  god, i wish we
had a macro for that!
r=kmcclusk.  thanks, kevin
1999-11-19 21:33:21 +00:00
rods%netscape.com
72b3dd4e85 added boolean in DoneAddingContent method 1999-11-19 16:09:32 +00:00
rods%netscape.com
f64b7ae035 removed select initialization code r=dcone bug 18241 1999-11-19 15:42:06 +00:00
rods%netscape.com
be77076de6 added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241 1999-11-19 15:41:30 +00:00
buster%netscape.com
45693ed36c fixed a typo that compiles on win32 but not on linux 1999-11-19 08:30:02 +00:00
buster%netscape.com
fdbc16704a bug 12022, r=rickg 1999-11-19 08:26:56 +00:00
buster%netscape.com
93551f1751 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
buster%netscape.com
2c36996496 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur
1999-11-19 07:24:15 +00:00
harishd%netscape.com
c836a3ed47 Fix for bug 18328
r=vidur
1999-11-19 04:02:23 +00:00
bienvenu%netscape.com
2d8cd89204 small performance tweak for null id xul elements r=waterson 1999-11-19 01:31:36 +00:00
waterson%netscape.com
3c3b7dbdca Clean up some timing printfs. 1999-11-18 05:47:51 +00:00
brendan%mozilla.org
4849241687 Brutal JS script sharing (15146, r=waterson@netscape.com). 1999-11-18 02:25:33 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
waterson%netscape.com
3af1eee9aa Fix build bustage: disambiguate nsXULDocument::State from nsForwardReference::State by renaming to nsForwardReference::Phase. 1999-11-17 03:20:03 +00:00
waterson%netscape.com
b20b076a88 Bug 13378. Make sure that we hook up any broadcasters that arrive in overlay subtrees. r=hyatt 1999-11-17 02:45:46 +00:00
rjc%netscape.com
d4c8bb0b9c Trim out some crufty/old unused code, and speed up sorting a bit by reducing the number of string copies. Review: me 1999-11-17 02:03:46 +00:00
vidur%netscape.com
3b0f268fc3 fix for bug 18693. Event handler default actions shouldn't be done in the capture phase. R=joki. 1999-11-17 01:01:12 +00:00
vidur%netscape.com
e45ce5d5e4 Fix for bug 10173. Attributes that are enumerated values are returned with the first letter upper-cased. R=troy 1999-11-16 23:09:31 +00:00
waterson%netscape.com
6ba54713f1 Bug 10469. Remove 'natural order position' stuff. Make sure that nsXULSortService::InsertContainerNode() does the right thing when presented with an unsorted tree. r=rjc 1999-11-16 05:34:13 +00:00
norris%netscape.com
5b4b0169aa * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
saari%netscape.com
233ce14385 Bring back, bring back, bring back the caret to me, to me...
The return of the text caret. Simple change, start dispatching content
focus events to the window (what I checked in) *and* the document (the
way it worked before, what editor relied upon). Discussed with joki, but not
technically reviewed.
1999-11-16 00:04:55 +00:00
tbogard%aol.net
8c8bbce9a7 Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
tbogard%aol.net
4fffbc4bf8 Changed interfaces to take nsISupports for the container instead of nsIContentViewerContainer. nsXULDocument was for some reason holding on to this interface (as a weak reference) but was never using it. I have therefore gotten rid of this member variable. r=dp 1999-11-15 22:14:37 +00:00
putterman%netscape.com
7a6702f1b0 Partial fix for 10208. When adding items to a container, update the empty attribute. reviewed by
waterson.
1999-11-15 20:58:39 +00:00
don%netscape.com
1a4cd9e0a6 Checked in saari fix for bug #18876 to help re-open tree. r:saari 1999-11-15 20:09:37 +00:00
rods%netscape.com
3989b4018f It will now mask out any focus events that may be generated because of native windows
r=buster, bug 17196
1999-11-15 15:13:12 +00:00
rods%netscape.com
1cbaf268cf added the call DoneAddingContent for the select after it has been created.
r=dcone,bug 18784,16821
1999-11-15 15:11:33 +00:00
nisheeth%netscape.com
66bd062119 Checkin not part of build. New version of Transformiix from Keith Visco (kvisco@ziplink.net) 1999-11-15 07:13:17 +00:00
rjc%netscape.com
10a6f091ce XUL templates can now be specified via attribute instead of a child node of the root. Also, sorting info can now be specified on the root node, so now any RDF-generated content can be sorted (not just trees). Review: me 1999-11-14 11:10:34 +00:00
tbogard%aol.net
d855c6540f Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov 1999-11-14 10:12:21 +00:00
rickg%netscape.com
1694cf9261 force rebuild of this file 1999-11-14 08:41:36 +00:00
beard%netscape.com
65a3476676 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
rods%netscape.com
9908d1fd0b Should always return true, the caching of the "true" value is most important. Failing on getting the
preshell or frames should not be passed back.
r=self, bug 18784
1999-11-14 00:35:35 +00:00
rods%netscape.com
744098909e Added notification to the select in CreateElemenet to tell it it is complete.
r=vidur(sort iof, we talked about this change on friday) bug 18784
1999-11-14 00:34:15 +00:00
law%netscape.com
41d554cbdd Fix bustage by backing out some CallQueryInterface calls (for Travis); r=travis@netscape.com 1999-11-13 08:20:53 +00:00
tbogard%aol.net
131348416b Changed storage of of the container to hold simply nsISupports as the mContainer instead of nsIContentViewerContainer. Changed calls to QueryCapability to use the nsIInterfaceRequestor::GetInterface(). r=scc 1999-11-13 07:36:28 +00:00
saari%netscape.com
1cfbe7d9a6 Landing focus changes. R: joki 1999-11-13 05:16:33 +00:00
vidur%netscape.com
5c6aaac40c Fix for bug 18040. Removed spurious UMR. Added macro for turning off incremental notification. R=buster, pollmann. 1999-11-12 02:07:54 +00:00
vidur%netscape.com
d04f1c5fe8 Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann. 1999-11-12 02:06:54 +00:00
vidur%netscape.com
375a018914 Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann. 1999-11-12 02:06:09 +00:00
pinkerton%netscape.com
e4bbb475eb don't generate drag exit events until _after_ drop event has been processed. move from PreHandleEvent to PostHandleEvent. r=saari. 1999-11-12 01:02:14 +00:00
buster%netscape.com
7e811ce71a removed a bogus assert. 1999-11-11 22:24:19 +00:00
rods%netscape.com
0e5779e8b4 notifies the select content when all the children content is there
r=vidur, bug 17965
1999-11-11 22:15:02 +00:00
rods%netscape.com
717706a90f Added method "DoneAddingContent" to notify the select that all the chiild are there
it also caches this state so it can be asked whether they have been added
Added method: IsDoneAddingContent(PRBool * aIsDone)
r=vidur, bug 17965
1999-11-11 22:13:20 +00:00
rods%netscape.com
5ea1ca4cf6 Added method "DoneAddingContent" to notify the select that all the chiild are there
r=vidur, bug 17965
1999-11-11 22:13:17 +00:00
jdunn%netscape.com
0c7a249849 removing ';' from the end of the macros, since the macro in nsTimer.h
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
pinkerton%netscape.com
6dbf140c84 reworking of toolbar d&d impl and tree d&d impl (r=hyatt). 1999-11-11 05:10:38 +00:00
waqar%netscape.com
a09c3ecc45 # 16610
r vidur
d Javascript should throw an execption on index size error. DOM now throws
an execption for size error.
1999-11-11 01:48:25 +00:00
waqar%netscape.com
84c24cbc5a # 6071, 15904
r vidur
d Fixes the problem with comment delimiters.
1999-11-11 01:28:32 +00:00
putterman%netscape.com
7a34491281 Use get() instead of == 1999-11-11 01:22:59 +00:00
rjc%netscape.com
537f64c3da Add support for secondary key sort. Convert over to using nsCOMPtrs. Review: me 1999-11-10 23:50:34 +00:00
ftang%netscape.com
6d97a605ce fix 16808. change hard coded utf-8'to UTF-8', get charset hint from webshell. r=nhotta 1999-11-10 05:50:10 +00:00
nisheeth%netscape.com
ecf204e501 a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
sspitzer%netscape.com
3c1562a510 fix warning. 1999-11-10 00:09:32 +00:00
waterson%netscape.com
819d8c8c97 Bug 18066. Only addref the listener if it isn't already in our set of listeners. r=joki, a=chofmann 1999-11-09 23:37:08 +00:00
pinkerton%netscape.com
4095510e3a fix for #17664 (crash in drag code when css destroys the frame when clicking on link). small fix for when target is null on mouseMove events (say when mouse is in menu bar on MacOS). (r=saari). 1999-11-09 07:10:46 +00:00
joki%netscape.com
ddb9aacbff Fix for bug 17618, null out current event target frame after processing event. a:chofmann, r:vidur 1999-11-08 21:30:22 +00:00
waterson%netscape.com
1d36d9329e Bug 18102. Consolidate element map, command dispatcher, and broadcaster hookup into AddSubtreeToDocument(). Fixes over-eager hookup of broadcast listeners into unresolved overlay elements, which left a dangling pointer. r=saari, a=chofmann 1999-11-08 19:07:13 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +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
0aa1e7650e Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur 1999-11-05 23:37:40 +00:00
waterson%netscape.com
87b8e4a574 Bug 18058. Remove 'commandDispatcher' from interface; obsolete, and leaky. r=hyatt, a=chofmann 1999-11-05 05:31:15 +00:00
waterson%netscape.com
dfd9dd6eaa Bug 18058. Remove 'commandDispatcher' from interface; obsolete. r=hyatt, a=chofmann 1999-11-05 05:30:56 +00:00
waterson%netscape.com
f9b4723956 Bug 17955. Don't unnecessarily add script event listeners to temporary nodes used for overlay hookup. r=hyatt, a=chofmann 1999-11-04 19:43:43 +00:00
waterson%netscape.com
2728cb5577 Bug 17847. Fix 'commandupdater' hookup for master document. r=hyatt, a=chofmann 1999-11-04 18:37:58 +00:00
beard%netscape.com
932ec344f4 bug #17847, fix clobbering of mSlots->mAttributes in GetAttributes(). r=waterson, a=chofmann 1999-11-04 02:56:54 +00:00
hyatt%netscape.com
2da1dc5d17 Partial fix for 17848. Part 1 of 2. 2nd part will be checked in by hangas. r=hangas, a=brendan 1999-11-04 01:59:04 +00:00
waterson%netscape.com
a2dfa5b9b1 Bug 17024. Fix mClassList leak; add bloaty stats for nsClassList. r=hyatt a=chofmann 1999-11-04 01:50:47 +00:00
waterson%netscape.com
55489d1b93 Bug 15146. Don't eagerly create a <xul:menu>'s contents. r=hyatt a=brendan 1999-11-04 01:49:34 +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
waterson%netscape.com
d2c5bedf2e Bug 13252. Build content for current template before recursing to build content for children. r=alecf. 1999-11-03 06:59:49 +00:00
akkana%netscape.com
e3cc1232e1 Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana 1999-11-03 03:08:04 +00:00
nisheeth%netscape.com
83c519bf89 r=vidur. Fix for bug 9075. Return NS_OK instead of NS_ERROR_NOT_IMPLEMENTED from nsXMLDocument::GetDocType(). This allows script parsing to continue after a document.doctype JS statement is encountered. 1999-11-03 01:48:54 +00:00
norris%netscape.com
0871585c3d Fix
10194 Possible security vulnerability in "chrome:" protocol - acce
14979 "chrome" protocol allows accessing arbitrary files on the lo
r=vidur
1999-11-02 23:44:27 +00:00
kipp%netscape.com
8d5f3c2d2d r=troy; Added a new frame property atom 1999-11-02 23:42:13 +00:00
pollmann%netscape.com
056ef7fb35 Bug 7554: HTML Labels now pass JS events to form element the label is for
r=harishd
1999-11-02 23:38:17 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
alecf%netscape.com
4033a6f681 fix for #12703 - don't hold onto XULElements after they have been removed from the tree - don't bother checking mDocument because it will be null when the content has been removed from the document
r=hyatt
1999-11-02 23:30:33 +00:00
warren%netscape.com
332749d6fa Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre 1999-11-02 06:49:44 +00:00
waterson%netscape.com
050ad45bf2 remove CTOR and DTOR counters, because the descendant classes will all
account for this space. r=warren
1999-11-02 06:21:07 +00:00
nisheeth%netscape.com
9d79a81d45 r=nisheeth. Fix for bug 12323. Thanks to Ian Hickson (py8ieh=bugzilla@bath.ac.uk) for the patch. Only lowercase chars are accepted in the stylesheet PI. 1999-11-02 05:49:57 +00:00
warren%netscape.com
e78a953005 Fix for bad refcount tracing. r=buster,nisheeth 1999-11-02 05:37:04 +00:00
pinkerton%netscape.com
fa65c1d6e2 fix for #16463 (crash when frames involved in a drag went away) and nsCOMPtrizing a lot of things (r=saari). 1999-11-02 03:55:14 +00:00
pinkerton%netscape.com
ae1c574569 add new drop area attribute for identifying subframes of a toolbar where the real content is. 1999-11-02 03:53:58 +00:00
waterson%netscape.com
22be6e4c41 Fix manky nsCOMPtr asserts. 1999-11-02 02:02:27 +00:00
pinkerton%netscape.com
1dc332f58b allow mouse event coordinates to be accessed with d&d events in addition to mouse events, since d&d events have the same structure as mouse events. (r=joki). 1999-11-02 01:38:01 +00:00
pinkerton%netscape.com
b235ede1ff fix for bug 17381 where leaving the frame before a drag gesture was began caused the event target to be set incorrectly. (r=saari). 1999-11-02 01:34:16 +00:00
waterson%netscape.com
676716c335 Bug 15146. Brutal sharing, Phase III. Turn on protoype, script, and style sheet caching. r=hyatt 1999-11-02 01:14:07 +00:00
kipp%netscape.com
2ac80aba87 Added address information to the dump content diagnostic code 1999-11-01 15:38:05 +00:00
kipp%netscape.com
1fe14ebeaa Added address information to the dump content diagnostic code 1999-11-01 15:23:06 +00:00
kipp%netscape.com
be3c86d804 Added another frame property 1999-11-01 15:22:25 +00:00
jfrancis%netscape.com
fa661ac6d1 fix for bugs: 16724, 16855; r=sfraser 1999-11-01 15:15:56 +00:00
brendan%mozilla.org
f81d5969c6 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
beard%netscape.com
6b91420f5a MLK: fixed nsICSSDeclaration leak, bug=15380, r=kipp 1999-10-30 20:17:40 +00:00
buster%netscape.com
01db582cb9 added DOM notification up to frame system for text control value changes
part of  bug 14727
r=rods
1999-10-30 16:30:33 +00:00
buster%netscape.com
3dc0567e83 added pseudo-style for single line text controls. bug 14727 1999-10-30 16:29:32 +00:00
troy%netscape.com
a12c3d6c5d Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
mjudge%netscape.com
f503e16496 reviewed by hyatt bug of someone elses but in my code. dont know number. simple check for null 1999-10-29 23:12:44 +00:00
waterson%netscape.com
b672b00381 Pull script object and event listener list out of slots and into delegate to avoid faulting a heavyweight element. Fix EnsureSlots() to _not_ do a bunch of extra work that is already being done when we create an element from its prototype. Use nsCOMPtr's in nsXULAttributes to avoid leak of nsIStyleRule. r=hyatt 1999-10-29 22:09:20 +00:00
vidur%netscape.com
da899667a9 Fix for double frame creation for scripts that document.write content that causes sink context creation. Fix that allows the last children of a body to be flushed. R=harishd 1999-10-29 19:07:24 +00:00
waterson%netscape.com
daab7b6c46 Fix SizeOf() operation. 1999-10-29 03:07:38 +00:00
waterson%netscape.com
ada7441247 Bug 15146. Brutal content model sharing, Phase II. XUL content sink now constructs prototype documents; 'real' content model constructed from walking prototype. Landed XUL_SHARING_19991027_BRANCH (derived from XUL_SHARING_19991022_BRANCH). See branch comments for details. r=hyatt. 1999-10-29 01:21:15 +00:00
pepper%netscape.com
b5b2656f52 Added a newline to the end of file so that AIX and HP compilers are happy.
r=mgleeson
1999-10-28 22:17:43 +00:00
braddr%puremagic.com
ea13be0a26 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
nisheeth%netscape.com
ff14b7a0cf r=nisheeth. Fix for bug 9781 submitted by Johnny Stenbeck (jst@citec.fi). Thanks Johnny. 1999-10-28 01:50:37 +00:00
kipp%netscape.com
6ca5b769c8 r=troy; fixed bug #17346 - the nsTextFormatter self test code found a bug in the nsTextFragment ctor code... 1999-10-27 23:01:16 +00:00
braddr%puremagic.com
341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00